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

[V6 minor] Oppdatert exports av komponenter for å støtte nextjs app router #2745

Merged
merged 56 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
850eafb
:truck: Oppdatert names-exports for expansioncard
KenAJoh Feb 20, 2024
7cfdf8d
:truck: Accordion
KenAJoh Feb 20, 2024
b612e71
:truck: Alert
KenAJoh Feb 20, 2024
2f5bf79
:truck: Button
KenAJoh Feb 20, 2024
f5b0379
:truck: Chat
KenAJoh Feb 20, 2024
3cb09b4
:truck: Chips
KenAJoh Feb 20, 2024
2248c2c
:truck: CopyButton
KenAJoh Feb 20, 2024
47f7e70
:truck: Date components
KenAJoh Feb 20, 2024
205fae8
:truck: Dropdown
KenAJoh Feb 20, 2024
617ecc5
:truck: Guidepanel
KenAJoh Feb 20, 2024
6eb66d1
:truck: Helptext
KenAJoh Feb 20, 2024
7aebd7c
:truck: InternalHeader
KenAJoh Feb 20, 2024
6d68d1e
:truck: Primitives
KenAJoh Feb 20, 2024
cd449d8
:truck: Link
KenAJoh Feb 20, 2024
31149cb
:truck: LinkPanel
KenAJoh Feb 20, 2024
ded74fd
:truck: List
KenAJoh Feb 20, 2024
de085aa
:truck: Loader
KenAJoh Feb 20, 2024
52ed34c
:truck: Modal
KenAJoh Feb 20, 2024
0c2349c
:truck: Portal
KenAJoh Feb 20, 2024
c139c2c
:truck: Pagination
KenAJoh Feb 20, 2024
c3a4fdf
:truck: Popover
KenAJoh Feb 20, 2024
83366ce
:truck: Provider
KenAJoh Feb 20, 2024
4c31104
:truck: ReadMore
KenAJoh Feb 20, 2024
f960c34
:truck: Skeleton
KenAJoh Feb 20, 2024
e700f4c
:truck: Stepper
KenAJoh Feb 20, 2024
23a4e34
:truck: Table
KenAJoh Feb 20, 2024
4512357
:truck: Tag
KenAJoh Feb 20, 2024
2acc691
:truck: Timeline
KenAJoh Feb 20, 2024
3798046
:truck: ToggleGroup
KenAJoh Feb 20, 2024
2945a0c
:truck: Tooltip
KenAJoh Feb 20, 2024
ea744aa
:truck: Typography
KenAJoh Feb 20, 2024
595a4c6
:truck: Utils
KenAJoh Feb 20, 2024
da1ca20
:truck: Flyttet forms-komponenter inn i egne mapper
KenAJoh Feb 20, 2024
74a3a45
:truck: Oppdatert exports for alle skjemakomponenter
KenAJoh Feb 20, 2024
72cf9ae
:memo: Oppdatert exports av forms i package.json
KenAJoh Feb 20, 2024
83f73b8
:bug: Fikset regresjoner etter flytting av filer og exports
KenAJoh Feb 20, 2024
7edafbf
:bug: Manglet export av errorsummaryitem
KenAJoh Feb 20, 2024
0d9c1ff
:bug: Manglet export av search.button
KenAJoh Feb 20, 2024
6077b4f
:bug: Stories manglet riktig import
KenAJoh Feb 20, 2024
484ee87
:memo: changeset
KenAJoh Feb 20, 2024
98c7436
:bug: Tester var ikke oppdatert med imports
KenAJoh Feb 20, 2024
6343144
Update .storybook/main.ts
KenAJoh Feb 20, 2024
2afc3ac
:memo: Oppdatert package.json description
KenAJoh Feb 20, 2024
8adb226
:art: Oppdatert export til default-export
KenAJoh Feb 20, 2024
b3fb78f
:bug: Exports av komponenter brakk for utils, combobox
KenAJoh Feb 21, 2024
9fc4262
:art: Oppdatert eksempler for next appdir
KenAJoh Feb 21, 2024
b857bf9
:art: Oppdatert astro-eksempel
KenAJoh Feb 21, 2024
7fb03aa
Merge branch 'main' into v6-dotnotation-import
KenAJoh Feb 21, 2024
9d913a7
:memo: Client component test i use client scope
KenAJoh Feb 21, 2024
abb5f18
:memo: Changelogs skrev use client feil
KenAJoh Feb 21, 2024
682568b
:bug: rename fieldset
KenAJoh Feb 21, 2024
b96cd88
:bug: rename Fieldset -> fieldset
KenAJoh Feb 21, 2024
021b804
:bug: Merge fra main brakk combobox tester og stories med feil import
KenAJoh Feb 21, 2024
d864a45
Update .changeset/silent-meals-watch-copy.md
HalvorHaugan Feb 21, 2024
e9b496c
Merge branch 'main' into v6-dotnotation-import
KenAJoh Feb 21, 2024
b09fb13
Merge branch 'v6-dotnotation-import' of https://github.com/navikt/aks…
KenAJoh Feb 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/silent-meals-watch-copy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-react": minor
---

Komponenter med dot-notasjon (f.eks `Accordion.Item`) kan oppdateres til ` import { AccordionItem } from "@navikt/ds-react/Accordion";` for bruk i nextjs app-router.
HalvorHaugan marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 5 additions & 0 deletions .changeset/silent-meals-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-react": minor
---

Komponenter støtter nå lokal import `@navikt/ds-react/Button`.
6 changes: 6 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ export default {

async viteFinal(config, { configType }) {
return mergeConfig(config, {
onwarn(warning, warn) {
if (warning.code === "MODULE_LEVEL_DIRECTIVE") {
return;
}
warn(warning);
},
KenAJoh marked this conversation as resolved.
Show resolved Hide resolved
plugins:
configType === "PRODUCTION"
? [
Expand Down
Loading