Skip to content

Conversation

deodorhunter
Copy link
Contributor

@deodorhunter deodorhunter commented Sep 19, 2025

Fixes #67

PR Checklist

  • My branch is up-to-date with the Upstream main branch.
  • The unit tests pass locally with my changes (if applicable).
  • I have added tests that prove my fix is effective or that my feature works (if applicable).
  • I have added necessary documentation (if appropriate).

Short description of what this resolves:

Aggiunto componente sticky

Changes proposed in this Pull Request:

Aggiunto componente sticky

@deodorhunter deodorhunter self-assigned this Sep 19, 2025
Copy link

changeset-bot bot commented Sep 19, 2025

🦋 Changeset detected

Latest commit: 01632ff

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@italia/globals Minor
@italia/sticky Minor
@italia/dev-kit-italia Minor
@italia/button Minor
@italia/chip Minor
@italia/dropdown Minor
@italia/icon Minor
@italia/input Minor
@italia/popover Minor
@italia/section Minor
@italia/video Minor
@italia/i18n Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Sep 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
design-web-components Ready Ready Preview Oct 17, 2025 9:31am

@zetareticoli zetareticoli changed the title Aggiunto componente sticky feat: componente sticky Oct 2, 2025
Copy link
Member

@zetareticoli zetareticoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ho una proposta per questo e altri "componenti" (sticky, affix, dimmer, overlay):

Invece che posizionarli in una sezione "componenti" non sarebbe meglio usare "helpers" (stile bootstrap)?

La preview sull'elemento sticky è inutile, sembra di vedere un pulsante e non ci sono effetti visibili in documentazione. Sarebbe più efficace rimandare ad una pagina di esempio priva di cornice così da poter sperimentare l'effetto.

PS: sposterei gli stessi elementi anche in Bootstrap Italia

/cc @Fupete @astagi

@deodorhunter
Copy link
Contributor Author

Ho una proposta per questo e altri "componenti" (sticky, affix, dimmer, overlay):

Invece che posizionarli in una sezione "componenti" non sarebbe meglio usare "helpers" (stile bootstrap)?

La preview sull'elemento sticky è inutile, sembra di vedere un pulsante e non ci sono effetti visibili in documentazione. Sarebbe più efficace rimandare ad una pagina di esempio priva di cornice così da poter sperimentare l'effetto.

PS: sposterei gli stessi elementi anche in Bootstrap Italia

/cc @Fupete @astagi

Aspettiamo allora una vostra indicazione sul nome della sezione in cui si vuole mettere questo componente.
Per le preview: sono state lasciate per coerenza con bsi e con le altre stories, e per lasciare le versioni copy-pastable del codice associato alla sezione, fateci sapere se volete rimuoverle.
Possiamo valutare di aprire una sub-issue dedicata e mergiare il componente intanto, se si tratta solo di una decisione per nomenclatura e box codice in documentazione?

Nella documentazione sono già presenti diversi link a varie pagine di esempio per testare i vari comportamenti, ie
https://design-web-components-4x95jgaye-dip-trasformazione-digitale.vercel.app/iframe.html?globals=&id=esempi-sticky--stackable-sticky&viewMode=story
https://design-web-components-4x95jgaye-dip-trasformazione-digitale.vercel.app/iframe.html?globals=&id=esempi-sticky--single-sticky&viewMode=story
https://design-web-components-4x95jgaye-dip-trasformazione-digitale.vercel.app/iframe.html?globals=&id=esempi-sticky--fixed-sticky&viewMode=story

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: componente sticky

4 participants