Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ny komponent] Stack, Spacer #2040

Merged
merged 25 commits into from
Aug 4, 2023
Merged

[Ny komponent] Stack, Spacer #2040

merged 25 commits into from
Aug 4, 2023

Conversation

KenAJoh
Copy link
Collaborator

@KenAJoh KenAJoh commented Jun 8, 2023

https://github.com/orgs/navikt/projects/49?query=is%3Aopen+sort%3Aupdated-desc&pane=issue&itemId=24132980
Closes aksel#189

Stack bruker nå gap for spacing. Dette brakk bruk av <Spacer /> som da endte opp med å gi dobbel gap mellom elementene. Ble løst med å bruke "bleed"-teknikk på spacer.

Diskusjon

  • Bør wrap være default true?
  • Bør CSS fra "layout"-komponenter grupperes og tilgjengeliggjøres på samme måte som form? Da at man får all layout styling ved å laste bare layout.css. Dette vil være mest relevant for "superbrukere" som ikke bare laster inn hele CSS-en fra Aksel, men bare de delene de mener er relevante

@changeset-bot
Copy link

changeset-bot bot commented Jun 8, 2023

🦋 Changeset detected

Latest commit: bdb4ab1

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

This PR includes changesets to release 7 packages
Name Type
@navikt/ds-css Minor
@navikt/ds-react Minor
@navikt/aksel-stylelint Minor
@navikt/aksel Minor
@navikt/ds-tokens Minor
@navikt/ds-tailwind Minor
@navikt/aksel-icons 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

@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2023

Endringer til review: 10

95b3b59b1 | 47 komponenter | 298 stories

@KenAJoh KenAJoh marked this pull request as ready for review June 20, 2023 13:06
@KenAJoh KenAJoh changed the title [Ny komponent] Stack [Ny komponent] Stack, Spacer Jun 20, 2023
JulianNymark
JulianNymark previously approved these changes Jun 29, 2023
Copy link
Contributor

@JulianNymark JulianNymark left a comment

Choose a reason for hiding this comment

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

Da jeg testet så jeg ikke noe galt! 🎉 , nice med Layout componenter. Eneste er om vi burde legge til mer en placeholder firkanter? Er kanskje greit slik det er 🤔 (utviklere skjønner det nok). Evt. en story control / demo eksempel for å bytte ut placeholder med en <TextField> eller <BodyLong>. Nå har vi jo <Skeleton> vi kunne brukt for å dra fokus vekk i fra "content" (Lorem) og mer på selve layout! 💡

@KenAJoh KenAJoh merged commit 8a82e1c into main Aug 4, 2023
3 checks passed
@KenAJoh KenAJoh deleted the stack-0306 branch August 4, 2023 11:13
@github-actions github-actions bot mentioned this pull request Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants