Compare commits

...
Author SHA1 Message Date
github-actions[bot]andgithub-actions[bot] c8375ba46f Version Packages (#2002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-25 12:36:22 +02:00
Ken 288cef591a Timeline viser popover på hover (#1995) 2023-05-25 12:25:26 +02:00
Ken aa3b4c22d6 🎨 Mulighet for manuell sortering av elementer i grunnleggende-sidebar 2023-05-24 18:26:38 +02:00
github-actions[bot]andgithub-actions[bot] 46af5defd9 Version Packages (#2001)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-24 15:32:35 +02:00
Ken 30eee0dac4 🐛 Fikset htmlSize-prop for <Search /> (#2000) 2023-05-24 14:36:34 +02:00
Ken 76b3a65572 Update README.md 2023-05-23 12:39:10 +02:00
github-actions[bot]andgithub-actions[bot] cb7a78e20c Version Packages (#1999)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-22 16:43:10 +02:00
Ken 475e994f49 🐛 DatepickerInput button refactor (#1993) 2023-05-22 16:36:33 +02:00
Ken 53c98181c3 🎨 Oppdatert ikoner (#1998) 2023-05-22 16:34:49 +02:00
Ken 444e905e01 🎨 xsmall variant for CopyButton (#1994) 2023-05-22 16:29:25 +02:00
Ken b7a97339f8 🚚 Flyttet Hva er aksel under 'Om nettstedet' i footer 2023-05-22 10:51:35 +02:00
Ken 1ac0f25420 ⬆️ Oppdatert sanity (#1992) 2023-05-22 09:09:11 +02:00
github-actions[bot]andgithub-actions[bot] 29ddcd59e7 Version Packages (#1990)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-19 09:47:18 +02:00
Ken 6d6267fe01 🔥 Fjernet use-client directive fra copybutton 2023-05-19 09:43:37 +02:00
Ken ee38a55837 🐛 Fikset tekst i internal-header 2023-05-16 14:22:30 +02:00
Ken b86ccc4f7f 🐛 Fikset aksel-eksempler 2023-05-16 13:24:02 +02:00
73 changed files with 1412 additions and 362 deletions

No files matched your search

+17
View File
@@ -1,5 +1,22 @@
# @navikt/aksel-icons
## 3.3.0
## 3.2.4
## 3.2.3
### Patch Changes
- [#1998](https://github.com/navikt/aksel/pull/1998) [`53c98181c`](https://github.com/navikt/aksel/commit/53c98181c327ead3406bec3487c10232af7d463a) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: Nye ikoner!
- :sparkles: FileParagraph
- :sparkles: FilePlus
## 3.2.2
## 3.2.1
## 3.2.0
## 3.1.3
+1 -1
View File
@@ -15,5 +15,5 @@ keywords:
- skråning
- helning
variant: Stroke
updated_at: 08.03.2023
updated_at: 22.05.2023
created_at: 07.03.2023
@@ -11,5 +11,5 @@ keywords:
- handel
- økonomi
variant: Stroke
updated_at: 08.03.2023
updated_at: 16.05.2023
created_at: 07.03.2023
+1 -1
View File
@@ -7,5 +7,5 @@ keywords:
- lukket
- hidden
variant: Stroke
updated_at: 08.03.2023
updated_at: 05.05.2023
created_at: 07.03.2023
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.75 4.75V19.25H17.25V8.75H14.5C13.8096 8.75 13.25 8.19036 13.25 7.5V4.75H6.75ZM14.75 5.81066L16.1893 7.25H14.75V5.81066ZM5.25 4.5C5.25 3.80964 5.80964 3.25 6.5 3.25H14C14.1989 3.25 14.3897 3.32902 14.5303 3.46967L18.5303 7.46967C18.671 7.61032 18.75 7.80109 18.75 8V19.5C18.75 20.1904 18.1904 20.75 17.5 20.75H6.5C5.80964 20.75 5.25 20.1904 5.25 19.5V4.5ZM9.96599 11.0256C9.96599 9.906 10.8749 9 11.9927 9C12.5664 9 13.0857 9.23917 13.4539 9.62112C13.7414 9.91932 13.7327 10.3941 13.4345 10.6816C13.1363 10.9691 12.6615 10.9604 12.3741 10.6622C12.2767 10.5613 12.1424 10.5 11.9927 10.5C11.7016 10.5 11.466 10.7362 11.466 11.0256C11.466 11.2386 11.5945 11.4305 11.7915 11.5116L13.7023 12.2984C14.5828 12.661 15.039 13.6373 14.7523 14.5454C14.6107 14.9939 14.3133 15.3485 13.9395 15.57C13.9933 15.7527 14.0218 15.9449 14.0218 16.1418C14.0218 17.2614 13.1128 18.1674 11.995 18.1674C11.0546 18.1674 10.264 17.5278 10.0337 16.6602C9.92739 16.2599 10.1658 15.8492 10.5661 15.7429C10.9665 15.6366 11.3772 15.875 11.4835 16.2753C11.5434 16.5012 11.7509 16.6674 11.995 16.6674C12.2862 16.6674 12.5218 16.4312 12.5218 16.1418C12.5218 15.9288 12.3932 15.7369 12.1963 15.6558L10.2855 14.869C9.40497 14.5065 8.9487 13.5301 9.23544 12.6221C9.37709 12.1735 9.67447 11.8189 10.0483 11.5974C9.99448 11.4147 9.96599 11.2225 9.96599 11.0256ZM10.8566 13.482L12.6473 14.2194C12.6562 14.2222 12.6651 14.2252 12.6739 14.2284L12.8915 14.3067C13.0695 14.3708 13.265 14.274 13.3219 14.0937C13.374 13.9287 13.2911 13.7513 13.1311 13.6854L11.3404 12.9481C11.3315 12.9452 11.3227 12.9422 11.3138 12.939L11.0962 12.8607C10.9183 12.7966 10.7228 12.8934 10.6658 13.0738C10.6137 13.2387 10.6966 13.4161 10.8566 13.482Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -0,0 +1,17 @@
name: FileParagraph
category: Files and application
sub_category: Files
keywords:
- document
- dokument
- fil
- file
- error
- feil
- feilmelding
- corrupt
- bad file
- korrupt fil
variant: Stroke
updated_at: 22.05.2023
created_at: 22.05.2023
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.25 7.5V3.5C13.25 3.36193 13.1381 3.25 13 3.25H6.5C5.80964 3.25 5.25 3.80964 5.25 4.5V19.5C5.25 20.1904 5.80964 20.75 6.5 20.75H17.5C18.1904 20.75 18.75 20.1904 18.75 19.5V9C18.75 8.86193 18.6381 8.75 18.5 8.75H14.5C13.8096 8.75 13.25 8.19036 13.25 7.5ZM15 7.25C14.8619 7.25 14.75 7.13807 14.75 7V4.29289C14.75 4.07017 15.0193 3.95863 15.1768 4.11612L17.8839 6.82322C18.0414 6.98071 17.9298 7.25 17.7071 7.25H15ZM9.96599 11.0256C9.96599 9.906 10.8749 9 11.9927 9C12.5664 9 13.0857 9.23917 13.4539 9.62112C13.7414 9.91932 13.7327 10.3941 13.4345 10.6816C13.1363 10.9691 12.6615 10.9604 12.3741 10.6622C12.2767 10.5613 12.1424 10.5 11.9927 10.5C11.7016 10.5 11.466 10.7362 11.466 11.0256C11.466 11.2386 11.5945 11.4305 11.7915 11.5116L13.7023 12.2984C14.5828 12.661 15.039 13.6373 14.7523 14.5454C14.6318 14.927 14.3985 15.2407 14.1012 15.4622C14.0095 15.5306 13.9637 15.6466 13.9853 15.7589C14.0093 15.8836 14.0218 16.0117 14.0218 16.1418C14.0218 17.2614 13.1128 18.1674 11.995 18.1674C11.0546 18.1674 10.264 17.5278 10.0337 16.6602C9.92739 16.2599 10.1658 15.8492 10.5661 15.7429C10.9665 15.6366 11.3772 15.875 11.4835 16.2753C11.5434 16.5012 11.7509 16.6674 11.995 16.6674C12.2862 16.6674 12.5218 16.4312 12.5218 16.1418C12.5218 15.9288 12.3932 15.7369 12.1963 15.6558L10.2855 14.869C9.40497 14.5065 8.9487 13.5301 9.23544 12.6221C9.35598 12.2404 9.58928 11.9267 9.8865 11.7052C9.97822 11.6368 10.024 11.5208 10.0024 11.4085C9.97844 11.2838 9.96599 11.1557 9.96599 11.0256ZM10.8566 13.482L12.6473 14.2194C12.6562 14.2222 12.6651 14.2252 12.6739 14.2284L12.8915 14.3067C13.0695 14.3708 13.265 14.274 13.3219 14.0937C13.374 13.9287 13.2911 13.7513 13.1311 13.6854L11.3404 12.9481C11.3315 12.9452 11.3227 12.9422 11.3138 12.939L11.0962 12.8607C10.9183 12.7966 10.7228 12.8934 10.6658 13.0738C10.6137 13.2387 10.6966 13.4161 10.8566 13.482Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -0,0 +1,17 @@
name: FileParagraphFill
category: Files and application
sub_category: Files
keywords:
- document
- dokument
- fil
- file
- error
- feil
- feilmelding
- corrupt
- bad file
- korrupt fil
variant: Fill
updated_at: 22.05.2023
created_at: 22.05.2023
+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.75 19.25V4.75H13.25V7.5C13.25 8.19036 13.8096 8.75 14.5 8.75H17.25V19.25H6.75ZM16.1893 7.25L14.75 5.81066V7.25H16.1893ZM6.5 3.25C5.80964 3.25 5.25 3.80964 5.25 4.5V19.5C5.25 20.1904 5.80964 20.75 6.5 20.75H17.5C18.1904 20.75 18.75 20.1904 18.75 19.5V8C18.75 7.80109 18.671 7.61032 18.5303 7.46967L14.5303 3.46967C14.3897 3.32902 14.1989 3.25 14 3.25H6.5ZM9.12868 14C9.12868 13.5858 9.46447 13.25 9.87868 13.25H11.25V11.8787C11.25 11.4645 11.5858 11.1287 12 11.1287C12.4142 11.1287 12.75 11.4645 12.75 11.8787V13.25H14.1213C14.5355 13.25 14.8713 13.5858 14.8713 14C14.8713 14.4142 14.5355 14.75 14.1213 14.75H12.75V16.1213C12.75 16.5355 12.4142 16.8713 12 16.8713C11.5858 16.8713 11.25 16.5355 11.25 16.1213V14.75H9.87868C9.46447 14.75 9.12868 14.4142 9.12868 14Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 936 B

+17
View File
@@ -0,0 +1,17 @@
name: FilePlus
category: Files and application
sub_category: Files
keywords:
- document
- dokument
- fil
- file
- error
- feil
- feilmelding
- corrupt
- bad file
- korrupt fil
variant: Stroke
updated_at: 22.05.2023
created_at: 22.05.2023
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.25 7.5V3.5C13.25 3.36193 13.1381 3.25 13 3.25H6.5C5.80964 3.25 5.25 3.80964 5.25 4.5V19.5C5.25 20.1904 5.80964 20.75 6.5 20.75H17.5C18.1904 20.75 18.75 20.1904 18.75 19.5V9C18.75 8.86193 18.6381 8.75 18.5 8.75H14.5C13.8096 8.75 13.25 8.19036 13.25 7.5ZM15 7.25C14.8619 7.25 14.75 7.13807 14.75 7V4.29289C14.75 4.07017 15.0193 3.95863 15.1768 4.11612L17.8839 6.82322C18.0414 6.98071 17.9298 7.25 17.7071 7.25H15ZM12.0001 11.1287C12.4143 11.1287 12.7501 11.4645 12.7501 11.8787V13C12.7501 13.1381 12.862 13.25 13.0001 13.25H14.1214C14.5356 13.25 14.8714 13.5858 14.8714 14C14.8714 14.4142 14.5356 14.75 14.1214 14.75H13.0001C12.862 14.75 12.7501 14.8619 12.7501 15V16.1213C12.7501 16.5355 12.4143 16.8713 12.0001 16.8713C11.5858 16.8713 11.2501 16.5355 11.2501 16.1213V15C11.2501 14.8619 11.1381 14.75 11.0001 14.75H9.87874C9.46453 14.75 9.12874 14.4142 9.12874 14C9.12874 13.5858 9.46453 13.25 9.87874 13.25H11.0001C11.1381 13.25 11.2501 13.1381 11.2501 13V11.8787C11.2501 11.4645 11.5858 11.1287 12.0001 11.1287Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1,17 @@
name: FilePlusFill
category: Files and application
sub_category: Files
keywords:
- document
- dokument
- fil
- file
- error
- feil
- feilmelding
- corrupt
- bad file
- korrupt fil
variant: Fill
updated_at: 22.05.2023
created_at: 22.05.2023
@@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 3.25C3.58579 3.25 3.25 3.58579 3.25 4V20C3.25 20.4142 3.58579 20.75 4 20.75H20C20.4142 20.75 20.75 20.4142 20.75 20V4C20.75 3.58579 20.4142 3.25 20 3.25H4ZM4.75 19.25V4.75H19.25V19.25H4.75ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9C12.5523 9 13 8.55228 13 8C13 7.44772 12.5523 7 12 7ZM10.5 10.25C10.0858 10.25 9.75 10.5858 9.75 11C9.75 11.4142 10.0858 11.75 10.5 11.75H11.25V15.75H10.5C10.0858 15.75 9.75 16.0858 9.75 16.5C9.75 16.9142 10.0858 17.25 10.5 17.25H12H13.5C13.9142 17.25 14.25 16.9142 14.25 16.5C14.25 16.0858 13.9142 15.75 13.5 15.75H12.75V11C12.75 10.5858 12.4142 10.25 12 10.25H10.5Z" fill="#262626"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 3.25C3.58579 3.25 3.25 3.58579 3.25 4V20C3.25 20.4142 3.58579 20.75 4 20.75H20C20.4142 20.75 20.75 20.4142 20.75 20V4C20.75 3.58579 20.4142 3.25 20 3.25H4ZM4.75 19.25V4.75H19.25V19.25H4.75ZM12 6.75C11.4477 6.75 11 7.19772 11 7.75C11 8.30228 11.4477 8.75 12 8.75C12.5523 8.75 13 8.30228 13 7.75C13 7.19772 12.5523 6.75 12 6.75ZM10.5 10C10.0858 10 9.75 10.3358 9.75 10.75C9.75 11.1642 10.0858 11.5 10.5 11.5H11.25V15.5H10.5C10.0858 15.5 9.75 15.8358 9.75 16.25C9.75 16.6642 10.0858 17 10.5 17H12H13.5C13.9142 17 14.25 16.6642 14.25 16.25C14.25 15.8358 13.9142 15.5 13.5 15.5H12.75V10.75C12.75 10.3358 12.4142 10 12 10H10.5Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 787 B

After

Width:  |  Height:  |  Size: 795 B

@@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.25 4C3.25 3.58579 3.58579 3.25 4 3.25H20C20.4142 3.25 20.75 3.58579 20.75 4V20C20.75 20.4142 20.4142 20.75 20 20.75H4C3.58579 20.75 3.25 20.4142 3.25 20V4ZM11 8C11 7.44772 11.4477 7 12 7C12.5523 7 13 7.44772 13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8ZM9.75 11C9.75 10.5858 10.0858 10.25 10.5 10.25H12C12.4142 10.25 12.75 10.5858 12.75 11V15.75H13.5C13.9142 15.75 14.25 16.0858 14.25 16.5C14.25 16.9142 13.9142 17.25 13.5 17.25H12H10.5C10.0858 17.25 9.75 16.9142 9.75 16.5C9.75 16.0858 10.0858 15.75 10.5 15.75H11.25V11.75H10.5C10.0858 11.75 9.75 11.4142 9.75 11Z" fill="#262626"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.25 4C3.25 3.58579 3.58579 3.25 4 3.25H20C20.4142 3.25 20.75 3.58579 20.75 4V20C20.75 20.4142 20.4142 20.75 20 20.75H4C3.58579 20.75 3.25 20.4142 3.25 20V4ZM11 7.75C11 7.19772 11.4477 6.75 12 6.75C12.5523 6.75 13 7.19772 13 7.75C13 8.30228 12.5523 8.75 12 8.75C11.4477 8.75 11 8.30228 11 7.75ZM9.75 10.75C9.75 10.3358 10.0858 10 10.5 10H12C12.4142 10 12.75 10.3358 12.75 10.75V15.5H13.5C13.9142 15.5 14.25 15.8358 14.25 16.25C14.25 16.6642 13.9142 17 13.5 17H12H10.5C10.0858 17 9.75 16.6642 9.75 16.25C9.75 15.8358 10.0858 15.5 10.5 15.5H11.25V11.5H10.5C10.0858 11.5 9.75 11.1642 9.75 10.75Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 764 B

+1 -1
View File
@@ -5,5 +5,5 @@ keywords:
- "%"
- prosent
variant: Stroke
updated_at: 08.03.2023
updated_at: 05.05.2023
created_at: 07.03.2023
+1 -1
View File
@@ -15,5 +15,5 @@ keywords:
- strand
- natur
variant: Stroke
updated_at: 08.03.2023
updated_at: 08.05.2023
created_at: 07.03.2023
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/aksel-icons",
"version": "3.2.0",
"version": "3.3.0",
"author": "Aksel | NAV",
"homepage": "https://aksel.nav.no/ikoner",
"repository": {
+35
View File
@@ -1,5 +1,40 @@
# @navikt/aksel
## 3.3.0
### Patch Changes
- Updated dependencies []:
- @navikt/ds-css@3.3.0
## 3.2.4
### Patch Changes
- Updated dependencies [[`30eee0dac`](https://github.com/navikt/aksel/commit/30eee0dac4e3e5a1379033283a6885e646e80458)]:
- @navikt/ds-css@3.2.4
## 3.2.3
### Patch Changes
- Updated dependencies [[`475e994f4`](https://github.com/navikt/aksel/commit/475e994f494b2080ffc05eb1684b6a244e3e2969), [`444e905e0`](https://github.com/navikt/aksel/commit/444e905e01965fd5cac40ff20c5225b072e67221)]:
- @navikt/ds-css@3.2.3
## 3.2.2
### Patch Changes
- Updated dependencies []:
- @navikt/ds-css@3.2.2
## 3.2.1
### Patch Changes
- Updated dependencies []:
- @navikt/ds-css@3.2.1
## 3.2.0
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/aksel",
"version": "3.2.0",
"version": "3.3.0",
"description": "Aksel command line interface. Handles css-imports, codemods and more",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
@@ -29,7 +29,7 @@
},
"homepage": "https://aksel.nav.no/grunnleggende/kode/kommandolinje",
"dependencies": {
"@navikt/ds-css": "3.2.0",
"@navikt/ds-css": "3.3.0",
"axios": "1.3.6",
"chalk": "4.1.0",
"clipboardy": "^2.3.0",
+10
View File
@@ -1,5 +1,15 @@
# @navikt/ds-codemod
## 3.3.0
## 3.2.4
## 3.2.3
## 3.2.2
## 3.2.1
## 3.2.0
## 3.1.3
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-codemod",
"version": "3.2.0",
"version": "3.3.0",
"description": "Aksel codemods for NAVs designsystem",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
+2 -2
View File
@@ -40,8 +40,8 @@
"build-pict": "svgr --silent --index-template index-template.js --out-dir src/pictograms pictograms"
},
"dependencies": {
"@navikt/ds-icons": "^3.2.0",
"@navikt/ds-react": "^3.2.0",
"@navikt/ds-icons": "^3.3.0",
"@navikt/ds-react": "^3.3.0",
"clsx": "^1.1.1"
},
"devDependencies": {
+24
View File
@@ -1,5 +1,29 @@
# @navikt/ds-css
## 3.3.0
## 3.2.4
### Patch Changes
- [#2000](https://github.com/navikt/aksel/pull/2000) [`30eee0dac`](https://github.com/navikt/aksel/commit/30eee0dac4e3e5a1379033283a6885e646e80458) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Search støtter nå htmlSize-prop
## 3.2.3
### Patch Changes
- [#1993](https://github.com/navikt/aksel/pull/1993) [`475e994f4`](https://github.com/navikt/aksel/commit/475e994f494b2080ffc05eb1684b6a244e3e2969) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Fikset small-variant av datepicker-input
- :recycle: Refactored Datepicker.Input-button for bugfix
- [#1994](https://github.com/navikt/aksel/pull/1994) [`444e905e0`](https://github.com/navikt/aksel/commit/444e905e01965fd5cac40ff20c5225b072e67221) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: CopyButton har nå en `xsmall`-variant
- Kan nå lettere brukes i tabeller
## 3.2.2
## 3.2.1
## 3.2.0
### Minor Changes
+22
View File
@@ -27,6 +27,12 @@
min-height: 2rem;
}
.navds-copybutton--xsmall {
--__ac-copybutton-padding: var(--a-spacing-05) var(--a-spacing-2);
min-height: 1.5rem;
}
.navds-copybutton--icon-only {
--__ac-copybutton-padding: var(--a-spacing-3);
}
@@ -35,6 +41,14 @@
--__ac-copybutton-padding: var(--a-spacing-1);
}
.navds-copybutton--xsmall.navds-copybutton--icon-only {
--__ac-copybutton-padding: var(--a-spacing-05);
}
.navds-copybutton--xsmall .navds-copybutton__icon {
font-size: 1.25rem;
}
.navds-copybutton__icon {
font-size: 1.5rem;
display: flex;
@@ -45,6 +59,10 @@
margin: 0;
}
:where(.navds-copybutton--small, .navds-copybutton--xsmall):where(:not(:only-child)) {
margin: -2px;
}
.navds-copybutton:focus-visible {
outline: none;
box-shadow: var(--a-shadow-focus);
@@ -108,6 +126,10 @@
gap: var(--a-spacing-2);
}
.navds-copybutton--xsmall > .navds-copybutton__content {
gap: var(--a-spacing-1);
}
.navds-copybutton--active > .navds-copybutton__content {
animation: var(--ac-copybutton-animation, akselCopyButtonAnimation 0.4s linear);
}
+35 -8
View File
@@ -198,11 +198,11 @@
}
.navds-date__field-input {
padding-right: var(--a-spacing-12);
padding-right: var(--a-spacing-14);
}
.navds-form-field--small .navds-date__field-input {
padding-right: var(--a-spacing-8);
padding-right: var(--a-spacing-10);
}
/* Error-handling */
@@ -223,24 +223,51 @@
.navds-date__field-button {
position: absolute;
right: var(--a-spacing-2);
right: 1px;
top: 50%;
transform: translateY(-50%);
color: var(--ac-date-input-button-text, var(--a-text-default));
display: inline-flex;
cursor: pointer;
margin: 0;
text-decoration: none;
border: none;
background: none;
border-radius: 3px;
padding: var(--a-spacing-3);
align-items: center;
justify-content: center;
font-size: 1.5rem;
height: calc(100% - 2px);
border-start-start-radius: 0;
border-end-start-radius: 0;
}
.navds-form-field--small .navds-date__field-button {
right: var(--a-spacing-2);
height: 1.5rem;
width: 1.5rem;
padding: var(--a-spacing-1);
}
.navds-form-field--small .navds-date__field-button svg {
font-size: var(--a-font-size-medium);
.navds-date__field-button:hover:where(:not([disabled])) {
color: var(--ac-date-input-button-hover-text, var(--a-text-action-on-action-subtle));
background-color: var(--ac-date-input-button-hover-bg, var(--a-surface-action-subtle-hover));
}
.navds-form-field--disabled .navds-date__field-button {
opacity: 1;
cursor: not-allowed;
}
.navds-date__field-button:focus-visible {
outline: none;
box-shadow: var(--a-shadow-focus);
border-radius: var(--a-border-radius-medium);
}
@supports not selector(:focus-visible) {
.navds-date__field-button:focus {
outline: none;
box-shadow: var(--a-shadow-focus);
}
}
.navds-date__caption__year {
+4
View File
@@ -17,6 +17,10 @@
width: 100%;
}
.navds-search--with-size :where(.navds-search__wrapper-inner) {
width: inherit;
}
.navds-search__wrapper {
display: inline-flex;
align-items: center;
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-css",
"version": "3.2.0",
"version": "3.3.0",
"description": "CSS for NAV Designsystem",
"author": "Aksel | NAV designsystem team",
"keywords": [
@@ -27,7 +27,7 @@
"css:get-version": "node config/get-version.js"
},
"devDependencies": {
"@navikt/ds-tokens": "^3.2.0",
"@navikt/ds-tokens": "^3.3.0",
"cssnano": "6.0.0",
"fast-glob": "3.2.11",
"lodash": "4.17.21",
+3 -1
View File
@@ -131,7 +131,9 @@
"--ac-date-today-border": "--a-border-action-selected",
"--ac-date-caption-text": "--a-text-default",
"--ac-date-input-error-border": "--a-border-danger",
"--ac-date-input-button-text": "--a-text-default"
"--ac-date-input-button-text": "--a-text-default",
"--ac-date-input-button-hover-text": "--a-text-action-on-action-subtle",
"--ac-date-input-button-hover-bg": "--a-surface-action-subtle-hover"
},
"expansioncard": {
"--ac-expansioncard-bg": "--a-surface-default",
+53
View File
@@ -1,5 +1,58 @@
# @navikt/ds-react
## 3.3.0
### Patch Changes
- [#1995](https://github.com/navikt/aksel/pull/1995) [`288cef591`](https://github.com/navikt/aksel/commit/288cef591abb0557295e50cf6e696d7a51607c32) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: Timeline viser nå popover/tooltip på hover.
- Popover vises nå ikke lengre ved klikk.
- Period og Pin bruker nå begge ny popover.
- Kode og styling for Popover er nå inlinet i Timeline, og bruker ikke `@navikt/ds-react` sin versjon.
- Updated dependencies []:
- @navikt/aksel-icons@3.3.0
## 3.2.4
### Patch Changes
- [#2000](https://github.com/navikt/aksel/pull/2000) [`30eee0dac`](https://github.com/navikt/aksel/commit/30eee0dac4e3e5a1379033283a6885e646e80458) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Search støtter nå htmlSize-prop
- Updated dependencies []:
- @navikt/aksel-icons@3.2.4
## 3.2.3
### Patch Changes
- [#1993](https://github.com/navikt/aksel/pull/1993) [`475e994f4`](https://github.com/navikt/aksel/commit/475e994f494b2080ffc05eb1684b6a244e3e2969) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Fikset small-variant av datepicker-input
- :recycle: Refactored Datepicker.Input-button for bugfix
- [#1994](https://github.com/navikt/aksel/pull/1994) [`444e905e0`](https://github.com/navikt/aksel/commit/444e905e01965fd5cac40ff20c5225b072e67221) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: CopyButton har nå en `xsmall`-variant
- Kan nå lettere brukes i tabeller
- Updated dependencies [[`53c98181c`](https://github.com/navikt/aksel/commit/53c98181c327ead3406bec3487c10232af7d463a)]:
- @navikt/aksel-icons@3.2.3
## 3.2.2
### Patch Changes
- [`6d6267fe0`](https://github.com/navikt/aksel/commit/6d6267fe01f438f3bd67e1b4266ca3e82709561c) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :fire: Fjernet use-client directive fra copybutton
- Updated dependencies []:
- @navikt/aksel-icons@3.2.2
## 3.2.1
### Patch Changes
- Updated dependencies []:
- @navikt/aksel-icons@3.2.1
## 3.2.0
### Minor Changes
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-react",
"version": "3.2.0",
"version": "3.3.0",
"description": "Aksel react-components for NAV designsystem",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
@@ -37,8 +37,8 @@
"test": "TZ=UTC jest"
},
"dependencies": {
"@floating-ui/react": "0.17.0",
"@navikt/aksel-icons": "^3.2.0",
"@floating-ui/react": "0.24.1",
"@navikt/aksel-icons": "^3.3.0",
"@radix-ui/react-tabs": "1.0.0",
"@radix-ui/react-toggle-group": "1.0.0",
"clsx": "^1.2.1",
@@ -1,4 +1,3 @@
"use client";
import { CheckmarkIcon, FilesIcon } from "@navikt/aksel-icons";
import cl from "clsx";
import React, {
@@ -15,8 +14,9 @@ export interface CopyButtonProps
extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
/**
* @default "medium"
* xsmall should only be used in tables/
*/
size?: "medium" | "small";
size?: "medium" | "small" | "xsmall";
/**
* @default "neutral"
*/
@@ -11,7 +11,7 @@ export default {
size: {
defaultValue: "medium",
control: { type: "radio" },
options: ["small", "medium"],
options: ["small", "medium", "xsmall"],
},
variant: {
defaultValue: undefined,
@@ -85,6 +85,22 @@ export const Sizes = {
text="Kopier"
/>
</div>
<div className="rowgap">
<CopyButton size="xsmall" copyText="3.14" variant="action" />
<CopyButton size="xsmall" copyText="3.14" variant="neutral" />
<CopyButton
size="xsmall"
copyText="3.14"
variant="action"
text="Kopier"
/>
<CopyButton
size="xsmall"
copyText="3.14"
variant="neutral"
text="Kopier"
/>
</div>
</div>
),
};
@@ -107,6 +123,14 @@ export const Texts = {
activeText="Kopierte XYZ"
/>
</div>
<div>
<CopyButton
copyText="3.14"
size="xsmall"
text="Kopier XYZ"
activeText="Kopierte XYZ"
/>
</div>
</div>
),
};
@@ -129,6 +153,14 @@ export const Icons = {
activeIcon={<ThumbUpIcon title="Kopiert" />}
/>
</div>
<div>
<CopyButton
copyText="3.14"
size="xsmall"
icon={<LinkIcon title="Kopier" />}
activeIcon={<ThumbUpIcon title="Kopiert" />}
/>
</div>
</div>
),
};
+16 -18
View File
@@ -1,7 +1,7 @@
import { CalendarIcon } from "@navikt/aksel-icons";
import cl from "clsx";
import React, { forwardRef, InputHTMLAttributes } from "react";
import { BodyShort, Button, ErrorMessage, Label, omit } from "..";
import { BodyShort, ErrorMessage, Label, omit } from "..";
import { FormFieldProps, useFormField } from "../form/useFormField";
import { useDateInputContext } from "./context";
@@ -115,24 +115,22 @@ const DateInput: DateInputType = forwardRef<HTMLInputElement, DateInputProps>(
)}
size={14}
/>
<Button
variant="tertiary"
type="button"
size="small"
onClick={() => onOpen()}
className="navds-date__field-button"
tabIndex={open ? -1 : 0}
<button
disabled={inputProps.disabled}
icon={
<CalendarIcon
title={
open
? conditionalVariables.iconTitle.close
: conditionalVariables.iconTitle.open
}
/>
}
/>
tabIndex={open ? -1 : 0}
onClick={() => onOpen()}
type="button"
className="navds-date__field-button"
>
<CalendarIcon
pointerEvents="none"
title={
open
? conditionalVariables.iconTitle.close
: conditionalVariables.iconTitle.open
}
/>
</button>
</div>
<div
className="navds-form-field__error"
@@ -324,3 +324,22 @@ export const defaultShownMonth = () => {
</div>
);
};
export const Size = () => {
const { datepickerProps, inputProps } = UNSAFE_useDatepicker({
fromDate: new Date("Aug 23 2019"),
toDate: new Date("Feb 23 2024"),
onDateChange: console.log,
});
return (
<div style={{ display: "flex", gap: "1rem" }}>
<DatePicker {...datepickerProps} dropdownCaption>
<DatePicker.Input size="medium" {...inputProps} label="Velg dato" />
</DatePicker>
<DatePicker {...datepickerProps} dropdownCaption>
<DatePicker.Input size="small" {...inputProps} label="Velg dato" />
</DatePicker>
</div>
);
};
@@ -67,6 +67,10 @@ export interface SearchProps
* @default "primary"
*/
variant?: "primary" | "secondary" | "simple";
/**
* Exposes the HTML size attribute
*/
htmlSize?: number | string;
}
interface SearchComponent
@@ -112,6 +116,7 @@ export const Search = forwardRef<HTMLInputElement, SearchProps>(
defaultValue,
onChange,
onSearchClick,
htmlSize,
...rest
} = props;
@@ -164,9 +169,11 @@ export const Search = forwardRef<HTMLInputElement, SearchProps>(
"navds-form-field",
`navds-form-field--${size}`,
"navds-search",
{
"navds-search--error": hasError,
"navds-search--disabled": !!inputProps.disabled,
"navds-search--with-size": !!htmlSize,
}
)}
>
@@ -215,6 +222,7 @@ export const Search = forwardRef<HTMLInputElement, SearchProps>(
"navds-body-short",
`navds-body-${size}`
)}
{...(htmlSize ? { size: Number(htmlSize) } : {})}
/>
{(value ?? internalValue) && clearButton && (
<button
@@ -164,3 +164,28 @@ export const NoClearButton = () => (
/>
</div>
);
export const HtmlSize = () => (
<div className="colgap">
<Search
label="Lorem ipsum dolor sit amet"
description="Saepe laborum delectus officia perferendis quaerat excepturi possimus hic enim dicta assumenda."
hideLabel={false}
htmlSize="20"
/>
<Search
label="Lorem ipsum dolor sit amet"
description="Saepe laborum delectus officia perferendis quaerat excepturi possimus hic enim dicta assumenda."
hideLabel={false}
htmlSize="20"
variant="secondary"
/>
<Search
label="Lorem ipsum dolor sit amet"
description="Saepe laborum delectus officia perferendis quaerat excepturi possimus hic enim dicta assumenda."
hideLabel={false}
htmlSize="20"
variant="simple"
/>
</div>
);
+3 -5
View File
@@ -102,8 +102,6 @@ export const Popover = forwardRef<HTMLDivElement, PopoverProps>(
const {
x,
y,
reference,
floating,
strategy,
context,
update,
@@ -129,12 +127,12 @@ export const Popover = forwardRef<HTMLDivElement, PopoverProps>(
]);
useClientLayoutEffect(() => {
reference(anchorEl);
refs.setReference(anchorEl);
}, [anchorEl]);
const floatingRef = useMemo(
() => mergeRefs([floating, ref]),
[floating, ref]
() => mergeRefs([refs.setFloating, ref]),
[refs.setFloating, ref]
);
useClientLayoutEffect(() => {
+5 -6
View File
@@ -101,8 +101,6 @@ export const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(
const {
x,
y,
reference,
floating,
strategy,
context,
placement,
@@ -110,6 +108,7 @@ export const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(
arrow: { x: arrowX, y: arrowY } = {},
hide: { referenceHidden } = {},
},
refs,
} = useFloating({
placement: _placement,
open: userOpen ?? open,
@@ -132,12 +131,12 @@ export const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(
const ariaId = useId(id);
const mergedRef = useMemo(
() => mergeRefs([ref, floating]),
[floating, ref]
() => mergeRefs([ref, refs.setFloating]),
[refs.setFloating, ref]
);
const childMergedRef = useMemo(
() => mergeRefs([(children as any).ref, reference]),
[children, reference]
() => mergeRefs([(children as any).ref, refs.setReference]),
[children, refs.setReference]
);
if (
+10
View File
@@ -1,5 +1,15 @@
# @navikt/ds-tailwind
## 3.3.0
## 3.2.4
## 3.2.3
## 3.2.2
## 3.2.1
## 3.2.0
## 3.1.3
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-tailwind",
"version": "3.2.0",
"version": "3.3.0",
"description": "Tailwind config based on @navikt/ds-tokens",
"author": "Aksel | NAV designsystem team",
"keywords": [
@@ -22,7 +22,7 @@
"directory": "@navikt/core/tailwind"
},
"devDependencies": {
"@navikt/ds-tokens": "^3.2.0",
"@navikt/ds-tokens": "^3.3.0",
"@types/jest": "^29.0.0",
"color": "4.2.3",
"jest": "^29.0.0",
+10
View File
@@ -1,5 +1,15 @@
# @navikt/ds-tokens
## 3.3.0
## 3.2.4
## 3.2.3
## 3.2.2
## 3.2.1
## 3.2.0
## 3.1.3
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-tokens",
"version": "3.2.0",
"version": "3.3.0",
"description": "Design-tokens for NAV designsystem",
"author": "Aksel | NAV designsystem team",
"keywords": [
+10
View File
@@ -1,5 +1,15 @@
# @navikt/ds-icons
## 3.3.0
## 3.2.4
## 3.2.3
## 3.2.2
## 3.2.1
## 3.2.0
## 3.1.3
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-icons",
"version": "3.2.0",
"version": "3.3.0",
"description": "Aksel icons for NAV",
"author": "Aksel | NAV designsystem team",
"repository": {
+18
View File
@@ -1,5 +1,23 @@
# @navikt/ds-css-internal
## 3.3.0
### Minor Changes
- [#1995](https://github.com/navikt/aksel/pull/1995) [`288cef591`](https://github.com/navikt/aksel/commit/288cef591abb0557295e50cf6e696d7a51607c32) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: Timeline viser nå popover/tooltip på hover.
- Popover vises nå ikke lengre ved klikk.
- Period og Pin bruker nå begge ny popover.
- Kode og styling for Popover er nå inlinet i Timeline, og bruker ikke `@navikt/ds-react` sin versjon.
## 3.2.4
## 3.2.3
## 3.2.2
## 3.2.1
## 3.2.0
## 3.1.3
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-css-internal",
"version": "3.2.0",
"version": "3.3.0",
"description": "CSS for NAV internal Designsystem-components",
"author": "Aksel | NAV designsystem team",
"keywords": [
+53 -1
View File
@@ -74,7 +74,7 @@
}
.navdsi-timeline__period--inner {
margin: 0 var(--a-spacing-1) 0 var(--a-spacing-2);
margin: 0 var(--a-spacing-1);
overflow: hidden;
white-space: nowrap;
text-overflow: clip;
@@ -321,3 +321,55 @@
padding-right: 6px;
}
}
/**
* Timeline Popover
*/
.navds-timeline__popover {
z-index: var(--a-z-index-popover);
background-color: var(--ac-popover-bg, var(--a-surface-default));
box-shadow: var(--a-shadow-medium);
border: 1px solid;
border-color: var(--ac-popover-border, var(--a-border-default));
border-radius: var(--a-border-radius-medium);
}
.navds-timeline__popover:focus {
outline: none;
}
.navds-timeline__popover-content {
padding: var(--a-spacing-3);
}
.navds-timeline__popover-arrow {
position: absolute;
z-index: -1;
transform: rotate(45deg);
background-color: var(--ac-popover-bg, var(--a-surface-default));
border: 1px solid;
border-color: var(--ac-popover-border, var(--a-border-default));
width: 1rem;
height: 1rem;
}
.navds-timeline__popover[data-placement^="top"] > .navds-timeline__popover-arrow {
border-left-color: transparent;
border-top-color: transparent;
}
.navds-timeline__popover[data-placement^="bottom"] > .navds-timeline__popover-arrow {
border-bottom-color: transparent;
border-right-color: transparent;
}
.navds-timeline__popover[data-placement^="left"] > .navds-timeline__popover-arrow {
border-left-color: transparent;
border-bottom-color: transparent;
}
.navds-timeline__popover[data-placement^="right"] > .navds-timeline__popover-arrow {
border-right-color: transparent;
border-top-color: transparent;
}
+50
View File
@@ -1,5 +1,55 @@
# @navikt/ds-react-internal
## 3.3.0
### Minor Changes
- [#1995](https://github.com/navikt/aksel/pull/1995) [`288cef591`](https://github.com/navikt/aksel/commit/288cef591abb0557295e50cf6e696d7a51607c32) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: Timeline viser nå popover/tooltip på hover.
- Popover vises nå ikke lengre ved klikk.
- Period og Pin bruker nå begge ny popover.
- Kode og styling for Popover er nå inlinet i Timeline, og bruker ikke `@navikt/ds-react` sin versjon.
### Patch Changes
- Updated dependencies [[`288cef591`](https://github.com/navikt/aksel/commit/288cef591abb0557295e50cf6e696d7a51607c32)]:
- @navikt/ds-react@3.3.0
- @navikt/aksel-icons@3.3.0
## 3.2.4
### Patch Changes
- Updated dependencies [[`30eee0dac`](https://github.com/navikt/aksel/commit/30eee0dac4e3e5a1379033283a6885e646e80458)]:
- @navikt/ds-react@3.2.4
- @navikt/aksel-icons@3.2.4
## 3.2.3
### Patch Changes
- Updated dependencies [[`475e994f4`](https://github.com/navikt/aksel/commit/475e994f494b2080ffc05eb1684b6a244e3e2969), [`53c98181c`](https://github.com/navikt/aksel/commit/53c98181c327ead3406bec3487c10232af7d463a), [`444e905e0`](https://github.com/navikt/aksel/commit/444e905e01965fd5cac40ff20c5225b072e67221)]:
- @navikt/ds-react@3.2.3
- @navikt/aksel-icons@3.2.3
## 3.2.2
### Patch Changes
- Updated dependencies [[`6d6267fe0`](https://github.com/navikt/aksel/commit/6d6267fe01f438f3bd67e1b4266ca3e82709561c)]:
- @navikt/ds-react@3.2.2
- @navikt/aksel-icons@3.2.2
## 3.2.1
### Patch Changes
- :bug: Fikset tekst i Internal-header
- Updated dependencies []:
- @navikt/ds-react@3.2.1
- @navikt/aksel-icons@3.2.1
## 3.2.0
### Minor Changes
+4 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-react-internal",
"version": "3.2.0",
"version": "3.3.0",
"description": "Aksel react components for internal UIs in NAV",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
@@ -36,8 +36,9 @@
"watch": "tsc --watch -p tsconfig.esm.json"
},
"dependencies": {
"@navikt/aksel-icons": "^3.2.0",
"@navikt/ds-react": "^3.2.0",
"@floating-ui/react": "0.24.1",
"@navikt/aksel-icons": "^3.3.0",
"@navikt/ds-react": "^3.3.0",
"clsx": "^1.1.1",
"copy-to-clipboard": "^3.3.1"
},
@@ -33,7 +33,6 @@ export const HeaderUserButton: HeaderUserButtonType = forwardRef(
<div>
<BodyShort size="small" as="div">
{name}
ass
</BodyShort>
{description && <Detail as="div">{description}</Detail>}
</div>
+116 -14
View File
@@ -1,11 +1,31 @@
import { mergeRefs, Popover } from "@navikt/ds-react";
import {
autoUpdate,
arrow as flArrow,
flip,
offset,
safePolygon,
shift,
useDismiss,
useFloating,
useFocus,
useHover,
useInteractions,
} from "@floating-ui/react";
import { mergeRefs, useEventListener } from "@navikt/ds-react";
import { format } from "date-fns";
import React, { forwardRef, useMemo, useRef, useState } from "react";
import React, {
forwardRef,
useCallback,
useMemo,
useRef,
useState,
} from "react";
import { useTimelineContext } from "./hooks/useTimelineContext";
import { position } from "./utils/calc";
import { TimelineComponentTypes } from "./utils/types.internal";
export interface TimelinePinProps {
export interface TimelinePinProps
extends React.HTMLAttributes<HTMLButtonElement> {
/**
* Date position for the pin.
*/
@@ -27,9 +47,64 @@ export const Pin = forwardRef<HTMLButtonElement, TimelinePinProps>(
({ date, children, ...rest }, ref) => {
const { startDate, endDate, direction } = useTimelineContext();
const [open, setOpen] = useState(false);
const arrowRef = useRef<HTMLDivElement | null>(null);
const buttonRef = useRef<HTMLButtonElement | null>(null);
const mergedRef = useMemo(() => mergeRefs([buttonRef, ref]), [ref]);
const {
context,
placement,
middlewareData: { arrow: { x: arrowX, y: arrowY } = {} },
refs,
floatingStyles,
} = useFloating({
placement: "top",
open: open,
onOpenChange: setOpen,
middleware: [
offset(16),
shift(),
flip({ padding: 5, fallbackPlacements: ["bottom", "top"] }),
flArrow({ element: arrowRef, padding: 5 }),
],
whileElementsMounted: autoUpdate,
});
const { getFloatingProps, getReferenceProps } = useInteractions([
useHover(context, {
handleClose: safePolygon(),
restMs: 25,
delay: { open: 1000 },
}),
useFocus(context),
useDismiss(context),
]);
const mergedRef = useMemo(
() => mergeRefs([refs.setReference, ref]),
[ref, refs.setReference]
);
useEventListener(
"focusin",
useCallback(
(e: FocusEvent) => {
if (
![refs.domReference.current, refs?.floating?.current].some(
(element) => element?.contains(e.target as Node)
)
) {
open && setOpen(false);
}
},
[open, refs.domReference, refs?.floating]
)
);
const staticSide = {
top: "bottom",
right: "left",
bottom: "top",
left: "right",
}[placement.split("-")[0]];
return (
<>
@@ -41,21 +116,48 @@ export const Pin = forwardRef<HTMLButtonElement, TimelinePinProps>(
{...rest}
ref={mergedRef}
className="navdsi-timeline__pin-button"
onClick={() => setOpen(!open)}
aria-label={`pin:${format(date, "dd.MM.yyyy")}`}
aria-expanded={open}
type="button"
aria-expanded={children ? open : undefined}
{...getReferenceProps({
onKeyDown: (e) => {
rest?.onKeyDown?.(e as React.KeyboardEvent<HTMLButtonElement>);
if (e.key === "Enter") {
setOpen((prev) => !prev);
} else if (e.key === " ") {
setOpen(false);
}
},
})}
/>
</div>
{children && (
<Popover
open={open}
onClose={() => setOpen(false)}
anchorEl={buttonRef.current}
offset={18}
<div
className="navds-timeline__popover"
data-placement={placement}
aria-hidden={!open}
ref={refs.setFloating}
{...getFloatingProps({
tabIndex: -1,
})}
style={{
...floatingStyles,
display: open ? undefined : "none",
}}
>
<Popover.Content>{children}</Popover.Content>
</Popover>
<div className="navds-timeline__popover-content">{children}</div>
<div
ref={(node) => {
arrowRef.current = node;
}}
style={{
...(arrowX != null ? { left: arrowX } : {}),
...(arrowY != null ? { top: arrowY } : {}),
...(staticSide ? { [staticSide]: "-0.5rem" } : {}),
}}
className="navds-timeline__popover-arrow"
/>
</div>
)}
</>
);
@@ -1,6 +1,19 @@
import { mergeRefs, Popover } from "@navikt/ds-react";
import {
autoUpdate,
arrow as flArrow,
flip,
offset,
safePolygon,
shift,
useDismiss,
useFloating,
useFocus,
useHover,
useInteractions,
} from "@floating-ui/react";
import { mergeRefs, useEventListener } from "@navikt/ds-react";
import cl from "clsx";
import React, { useMemo, useRef, useState } from "react";
import React, { useCallback, useMemo, useRef, useState } from "react";
import { usePeriodContext } from "../hooks/usePeriodContext";
import { useRowContext } from "../hooks/useRowContext";
import { useTimelineContext } from "../hooks/useTimelineContext";
@@ -8,7 +21,9 @@ import { ariaLabel, getConditionalClasses } from "../utils/period";
import { PeriodProps } from "./index";
interface TimelineClickablePeriodProps extends PeriodProps {
onSelectPeriod?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
onSelectPeriod?: (
e: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>
) => void;
isActive?: boolean;
periodRef: React.ForwardedRef<HTMLButtonElement>;
}
@@ -30,17 +45,69 @@ const ClickablePeriod = React.memo(
restProps,
periodRef,
}: TimelineClickablePeriodProps) => {
const buttonRef = useRef<HTMLButtonElement | null>(null);
const [selected, setSelected] = useState(false);
const [open, setOpen] = useState(false);
const { index } = useRowContext();
const { firstFocus } = usePeriodContext();
const { initiate, addFocusable } = useTimelineContext();
const arrowRef = useRef<HTMLDivElement | null>(null);
const {
context,
placement,
middlewareData: { arrow: { x: arrowX, y: arrowY } = {} },
refs,
floatingStyles,
} = useFloating({
placement: "top",
open: open,
onOpenChange: setOpen,
middleware: [
offset(16),
shift(),
flip({ padding: 5, fallbackPlacements: ["bottom", "top"] }),
flArrow({ element: arrowRef, padding: 5 }),
],
whileElementsMounted: autoUpdate,
});
const { getFloatingProps, getReferenceProps } = useInteractions([
useHover(context, {
handleClose: safePolygon(),
restMs: 25,
delay: { open: 1000 },
}),
useFocus(context),
useDismiss(context),
]);
const mergedRef = useMemo(
() => mergeRefs([buttonRef, periodRef]),
[periodRef]
() => mergeRefs([refs.setReference, periodRef]),
[periodRef, refs.setReference]
);
useEventListener(
"focusin",
useCallback(
(e: FocusEvent) => {
if (
![refs.domReference.current, refs?.floating?.current].some(
(element) => element?.contains(e.target as Node)
)
) {
open && setOpen(false);
}
},
[open, refs.domReference, refs?.floating]
)
);
const staticSide = {
top: "bottom",
right: "left",
bottom: "top",
left: "right",
}[placement.split("-")[0]];
return (
<>
<button
@@ -50,10 +117,6 @@ const ClickablePeriod = React.memo(
firstFocus && addFocusable(r, index);
mergedRef(r);
}}
onClick={(e) => {
children && setSelected((x) => !x);
onSelectPeriod?.(e);
}}
aria-label={ariaLabel(start, end, status, statusLabel)}
className={cl(
"navdsi-timeline__period--clickable",
@@ -63,26 +126,64 @@ const ClickablePeriod = React.memo(
"navdsi-timeline__period--selected": isActive,
}
)}
style={{
width: `${width}%`,
[direction]: `${left}%`,
}}
aria-expanded={children ? selected : undefined}
onFocus={() => {
initiate(index);
}}
aria-expanded={children ? open : undefined}
aria-current={isActive || undefined}
{...getReferenceProps({
onFocus: () => {
initiate(index);
},
onKeyDown: (e) => {
restProps?.onKeydown?.(e);
if (e.key === "Enter") {
setOpen((prev) => !prev);
}
if (e.key === " ") {
onSelectPeriod?.(e);
setOpen(false);
}
},
style: {
width: `${width}%`,
[direction]: `${left}%`,
},
onClick: (e) => {
restProps?.onClick?.(e);
if (e.detail === 0) {
return;
}
onSelectPeriod?.(e);
},
})}
>
<span className="navdsi-timeline__period--inner">{icon}</span>
</button>
{children && (
<Popover
open={selected}
onClose={() => setSelected(false)}
anchorEl={buttonRef.current}
strategy="fixed"
<div
className="navds-timeline__popover"
data-placement={placement}
aria-hidden={!open}
ref={refs.setFloating}
{...getFloatingProps({
tabIndex: -1,
})}
style={{
...floatingStyles,
display: open ? undefined : "none",
}}
>
<Popover.Content>{children}</Popover.Content>
</Popover>
<div className="navds-timeline__popover-content">{children}</div>
<div
ref={(node) => {
arrowRef.current = node;
}}
style={{
...(arrowX != null ? { left: arrowX } : {}),
...(arrowY != null ? { top: arrowY } : {}),
...(staticSide ? { [staticSide]: "-0.5rem" } : {}),
}}
className="navds-timeline__popover-arrow"
/>
</div>
)}
</>
);
@@ -256,6 +256,7 @@ export const ActivePeriod = () => {
onSelectPeriod={() => {
setActivePeriod(p);
p?.onSelectPeriod?.();
console.log("PERIOD SELECTED!");
}}
icon={p.icon}
isActive={activePeriod.id === p.id}
@@ -357,3 +358,87 @@ export const WithYearLabels = () => {
</div>
);
};
export const ContentDemo = () => {
const [activePeriod, setActivePeriod] = useState<any>(undefined);
return (
<div style={{ width: "80vw" }}>
<Timeline>
<Timeline.Pin date={new Date("Apr 15 2022")}>Pin 1</Timeline.Pin>
<Timeline.Pin date={new Date("Jun 12 2022")}>
Pin 2 <button>test</button>
</Timeline.Pin>
<Timeline.Pin date={new Date("Jul 28 2022")}>Pin 3</Timeline.Pin>
<Timeline.Row
label="Rad 1"
icon={<CheckmarkCircleFillIcon aria-hidden />}
>
{row1.map((p: any, i) => {
return (
<Timeline.Period
key={p.id}
start={p.start}
end={p.end}
status={p.status}
onSelectPeriod={() => {
setActivePeriod(p);
p?.onSelectPeriod?.();
console.log("PERIOD SELECTED!");
}}
icon={p.icon}
isActive={activePeriod?.id === p.id}
statusLabel={p.statusLabel}
aria-controls={
activePeriod?.id === p.id ? "timeline-data" : undefined
}
id={p.id}
>
{p.children}
</Timeline.Period>
);
})}
</Timeline.Row>
<Timeline.Row label="Rad 2">
{row2.map((p: any, i) => {
return (
<Timeline.Period
key={p.id}
start={p.start}
end={p.end}
status={p.status}
onSelectPeriod={() => {
setActivePeriod(p);
p?.onSelectPeriod?.();
}}
icon={p.icon}
isActive={activePeriod?.id === p.id}
statusLabel={p.statusLabel}
aria-controls={
activePeriod?.id === p.id ? "timeline-data" : undefined
}
id={p.id}
>
{p.children}
</Timeline.Period>
);
})}
</Timeline.Row>
<Timeline.Row label="Rad 3">
<Timeline.Period
start={new Date("Jan 1 2022")}
end={new Date("Aug 20 2022")}
status="info"
icon={<CheckmarkCircleFillIcon aria-hidden />}
/>
</Timeline.Row>
</Timeline>
{activePeriod && (
<div id="timeline-data" aria-controls={activePeriod.id}>
<h2>Period-data</h2>
<p>{`Periode:${activePeriod.id}, dato:${activePeriod.start}`}</p>
</div>
)}
</div>
);
};
+1 -1
View File
@@ -15,7 +15,7 @@
<img src="https://img.shields.io/badge/PRs-welcome-green.svg?color=%23262626"" />
</a>
</div>
<div><a href="https://www.npmjs.com/package/@navikt/ds-css"><img alt="npm" src="https://img.shields.io/npm/v/@navikt/ds-css?label=%40navikt%2Fds-*"></a></div>
<div><a href="https://www.npmjs.com/package/@navikt/ds-css"><img alt="npm" src="https://img.shields.io/npm/v/@navikt/ds-css?label=version"></a></div>
<br/>
<a href="https://aksel.nav.no">Nettside</a> | <a href="https://github.com/navikt/aksel/issues">Issues</a>
<br/>
+9 -9
View File
@@ -15,15 +15,15 @@
"website"
],
"dependencies": {
"@navikt/aksel-icons": "^3.2.0",
"@navikt/ds-codemod": "^3.2.0",
"@navikt/ds-css": "^3.2.0",
"@navikt/ds-css-internal": "^3.2.0",
"@navikt/ds-icons": "^3.2.0",
"@navikt/ds-react": "^3.2.0",
"@navikt/ds-react-internal": "^3.2.0",
"@navikt/ds-tailwind": "^3.2.0",
"@navikt/ds-tokens": "^3.2.0"
"@navikt/aksel-icons": "^3.3.0",
"@navikt/ds-codemod": "^3.3.0",
"@navikt/ds-css": "^3.3.0",
"@navikt/ds-css-internal": "^3.3.0",
"@navikt/ds-icons": "^3.3.0",
"@navikt/ds-react": "^3.3.0",
"@navikt/ds-react-internal": "^3.3.0",
"@navikt/ds-tailwind": "^3.3.0",
"@navikt/ds-tokens": "^3.3.0"
},
"devDependencies": {
"prettier-plugin-tailwindcss": "^0.2.3"
@@ -43,9 +43,6 @@ function Snarveier() {
Snarveier
</Heading>
<BodyShort as="ul" className="mt-3 grid gap-3">
<FooterLink href="/god-praksis/artikler/om-aksel">
Hva er Aksel?
</FooterLink>
<FooterLink href="/god-praksis/artikler/skriv-for-aksel">
Skriv for Aksel
</FooterLink>
@@ -94,6 +91,9 @@ function SideLenker() {
Om nettstedet
</Heading>
<BodyShort as="ul" className="mt-3 grid gap-3">
<FooterLink href="/god-praksis/artikler/om-aksel">
Hva er Aksel?
</FooterLink>
<FooterLink href="/side/personvernerklaering">
Personvernserklæring
</FooterLink>
@@ -152,6 +152,16 @@ export const Sidebar = ({
return -1;
}
if (a.sidebarindex !== null || b.sidebarindex !== null) {
if (a.sidebarindex !== null && b.sidebarindex !== null) {
return a.sidebarindex - b.sidebarindex;
} else if (a.sidebarindex !== null) {
return -1;
} else {
return 1;
}
}
return a?.heading.localeCompare(b?.heading);
}),
}))
+8 -9
View File
@@ -27,15 +27,15 @@
},
"dependencies": {
"@sanity/block-content-to-react": "^3.0.0",
"@sanity/client": "^5.4.2",
"@sanity/code-input": "4.1.0",
"@sanity/color-input": "^3.0.2",
"@sanity/client": "^6.1.1",
"@sanity/code-input": "4.1.1",
"@sanity/color-input": "^3.1.0",
"@sanity/icons": "2.3.1",
"@sanity/image-url": "1.0.2",
"@sanity/preview-kit": "^1.4.0",
"@sanity/preview-kit": "^1.5.3",
"@sanity/table": "1.0.1",
"@sanity/ui": "^1.3.2",
"@sanity/vision": "3.9.1",
"@sanity/ui": "^1.3.3",
"@sanity/vision": "3.11.1",
"@svgr/webpack": "^5.5.0",
"amplitude-js": "^8.21.5",
"boring-avatars": "1.7.0",
@@ -46,7 +46,7 @@
"fuse.js": "^6.6.2",
"lodash": "^4.17.21",
"next": "^13.2.1",
"next-sanity": "^4.1.7",
"next-sanity": "^4.3.2",
"prism-react-renderer": "^1.3.0",
"prismjs": "^1.27.0",
"react": "^18.0.0",
@@ -54,7 +54,7 @@
"react-modal": "3.15.1",
"react-responsive-masonry": "^2.1.7",
"recharts": "^2.2.0",
"sanity": "3.9.1",
"sanity": "3.11.1",
"sanity-plugin-asset-source-unsplash": "^1.0.6",
"sanity-plugin-iframe-pane": "^2.3.0",
"sanity-plugin-media": "^2.0.5",
@@ -71,7 +71,6 @@
"@next/bundle-analyzer": "^12.1.0",
"@next/eslint-plugin-next": "^12.2.0",
"@playwright/test": "^1.30.0",
"@sanity-codegen/types": "1.0.0-alpha.13",
"@testing-library/jest-dom": "^5.16.0",
"@testing-library/react": "^13.3.0",
"@types/jest": "^29.0.0",
@@ -7,7 +7,7 @@ const Example = () => {
<span>Flere statsborgerskap: Norge, Danmark, Finland</span>
<span>/</span>
<span className="flex items-center gap-1">
17029645183 <CopyButton size="small" copyText="17029645183" />
1709230141 <CopyButton size="small" copyText="1709230141" />
</span>
<span>/</span>
<span>Gift</span>
@@ -26,7 +26,7 @@ export const args = {
};
const Hr = () => (
<span className="border-t-1 border-t-border-divider my-1 w-full" />
<div className="border-t-border-divider my-1 h-[1px] w-full border-t" />
);
const Row = ({ children, text }: any) => (
@@ -12,5 +12,5 @@ const Example = () => {
export default withDsExample(Example, "inverted");
export const args = {
index: 6,
index: 7,
};
@@ -21,5 +21,5 @@ export const Demo = {
};
export const args = {
index: 5,
index: 6,
};
@@ -0,0 +1,26 @@
import { Search } from "@navikt/ds-react";
import { withDsExample } from "components/website-modules/examples/withDsExample";
const Example = () => {
return (
<form>
<Search
label="Hva er artikkelnummeret til denne varen?"
description="Art.nr. finner du på varens produktside eller i katalogen."
hideLabel={false}
htmlSize="12"
/>
</form>
);
};
export default withDsExample(Example);
/* Storybook story */
export const Demo = {
render: Example,
};
export const args = {
index: 5,
};
@@ -11,7 +11,7 @@ import { withDsExample } from "components/website-modules/examples/withDsExample
import { useState } from "react";
const Example = () => {
const [activePeriod, setActivePeriod] = useState();
const [activePeriod, setActivePeriod] = useState<any>();
return (
<div className="min-w-[800px] overflow-x-auto">
@@ -27,6 +27,8 @@ const Example = () => {
icon={p.icon}
onSelectPeriod={() => setActivePeriod(p.id)}
isActive={activePeriod && activePeriod === p.id}
aria-controls="timeline-panel"
id={p.id}
/>
);
})}
@@ -42,13 +44,19 @@ const Example = () => {
icon={p.icon}
onSelectPeriod={() => setActivePeriod(p.id)}
isActive={activePeriod && activePeriod === p.id}
aria-controls="timeline-panel"
id={p.id}
/>
);
})}
</Timeline.Row>
</Timeline>
{activePeriod && (
<div className="mt-8">{`${activePeriod}: ${
<div
aria-controls={activePeriod.id}
id="timeline-panel"
className="mt-8"
>{`${activePeriod}: ${
[...person, ...jobb].find((x) => x.id === activePeriod).start
}`}</div>
)}
@@ -0,0 +1,159 @@
import {
VirusIcon,
PencilIcon,
HospitalIcon,
PiggybankIcon,
PersonGroupIcon,
ParasolBeachIcon,
} from "@navikt/aksel-icons";
import { Timeline } from "@navikt/ds-react-internal";
import { withDsExample } from "components/website-modules/examples/withDsExample";
import { useState } from "react";
const Example = () => {
const [activePeriod, setActivePeriod] = useState<any>();
return (
<div className="min-w-[800px] overflow-x-auto">
<Timeline>
<Timeline.Pin date={new Date("Mar 15 2022")}>
<p>Utbetalt: 12 345 kr</p>
</Timeline.Pin>
<Timeline.Row label="Person" icon={<PersonGroupIcon aria-hidden />}>
{person.map((p: any, i) => {
return (
<Timeline.Period
key={i}
start={p.start}
end={p.end}
status={p.status}
icon={p.icon}
onSelectPeriod={() => setActivePeriod(p.id)}
isActive={activePeriod && activePeriod === p.id}
aria-controls="timeline-panel"
id={p.id}
>
{p?.children ?? null}
</Timeline.Period>
);
})}
</Timeline.Row>
<Timeline.Row label="Sykehus A" icon={<HospitalIcon aria-hidden />}>
{jobb.map((p: any, i) => {
return (
<Timeline.Period
key={i}
start={p.start}
end={p.end}
status={p.status}
icon={p.icon}
onSelectPeriod={() => setActivePeriod(p.id)}
isActive={activePeriod && activePeriod === p.id}
aria-controls="timeline-panel"
id={p.id}
>
{p?.children ?? null}
</Timeline.Period>
);
})}
</Timeline.Row>
</Timeline>
{activePeriod && (
<div
aria-controls={activePeriod.id}
id="timeline-panel"
className="mt-8"
>{`${activePeriod}: ${
[...person, ...jobb].find((x) => x.id === activePeriod).start
}`}</div>
)}
</div>
);
};
const person = [
{
start: new Date("Jan 1 2022"),
end: new Date("Jan 31 2022"),
status: "warning",
icon: <PencilIcon aria-hidden />,
statusLabel: "Sykemeldt",
children: <div>50% sykemeldt</div>,
id: 1,
},
{
start: new Date("Apr 1 2022"),
end: new Date("Apr 30 2022"),
status: "neutral",
icon: <ParasolBeachIcon aria-hidden />,
label: "test",
statusLabel: "Ferie",
id: 2,
},
{
start: new Date("Jul 1 2022"),
end: new Date("Jul 31 2022"),
status: "warning",
icon: <PencilIcon aria-hidden />,
statusLabel: "Sykemeldt",
id: 3,
},
{
start: new Date("Aug 1 2022"),
end: new Date("Aug 30 2022"),
status: "warning",
icon: <VirusIcon aria-hidden />,
statusLabel: "Stønad korona",
id: 4,
},
];
const jobb = [
{
start: new Date("Feb 2 2022"),
end: new Date("Mar 1 2022"),
status: "success",
statusLabel: "Utbetaling",
icon: <PiggybankIcon aria-hidden />,
children: <div>100% utbetaling</div>,
id: 11,
},
{
start: new Date("Mar 2 2022"),
end: new Date("Apr 1 2022"),
status: "success",
statusLabel: "Utbetaling",
icon: <PiggybankIcon aria-hidden />,
children: <div>100% utbetaling</div>,
id: 22,
},
{
start: new Date("May 2 2022"),
end: new Date("June 1 2022"),
status: "success",
statusLabel: "Utbetaling",
icon: <PiggybankIcon aria-hidden />,
children: <div>100% utbetaling</div>,
id: 33,
},
{
start: new Date("June 2 2022"),
end: new Date("July 1 2022"),
status: "success",
statusLabel: "Utbetaling",
icon: <PiggybankIcon aria-hidden />,
id: 44,
},
];
export default withDsExample(Example);
/* Storybook story */
export const Demo = {
render: Example,
};
export const args = {
index: 0,
desc: "Vi anbefaler å bruke 'aria-controls' begge veier mellom aktive perioder og panelet det refererer til. Dette gir brukere av enkelte skjermlesere keyboard-shortcuts for å hoppe mellom perioder og panelet.",
};
@@ -6,6 +6,7 @@ export const sanityClient = createClient({
...clientConfig,
token: process.env.SANITY_PRIVATE_NO_DRAFTS,
ignoreBrowserTokenWarning: process.env.NODE_ENV === "test",
useCdn: true,
});
// Set up a preview client with serverless authentication for drafts
@@ -180,6 +180,7 @@ export const sidebarQuery = `"sidebar": *[_type == $type && defined(kategori)] {
"slug": slug.current,
kategori,
"tag": status.tag,
"sidebarindex": sidebarindex,
}`;
export const landingPageQuery = (t) => {
@@ -20,11 +20,7 @@ export const PanesWithCount = async (
)
.child(
S.documentList()
.title(
`${title} (${
ids.filter((x) => x?.kategori === x.value).length ?? 0
})`
)
.title(title)
.schemaType(docType)
.filter(`_type == $docType && $kat == kategori`)
.params({ kat: value, docType })
@@ -68,6 +68,14 @@ export const GrunnleggendeArtikkel = defineType({
collapsed: false,
},
}),
defineField({
title: "Sidebar-index",
description:
"Overstyrer sortering av artikler i sidebar. Hvis feltet er tomt, sorteres den alfabetisk.",
name: "sidebarindex",
type: "number",
group: "settings",
}),
defineField({
title: "Innhold",
description:
+1 -6
View File
@@ -15,12 +15,7 @@
"jsx": "preserve",
"noImplicitAny": false,
"incremental": true,
"types": [
"node",
"jest",
"@testing-library/jest-dom",
"@sanity-codegen/types"
],
"types": ["node", "jest", "@testing-library/jest-dom"],
"baseUrl": ".",
"paths": {
"@/components": ["components/index.ts"],
@@ -141,6 +141,7 @@ export type AkselSidebarT = Array<{
slug: string;
kategori: typeof komponentKategorier[number]["value"];
tag: "beta" | "new" | "ready" | "deprecated";
sidebarindex: number | null;
}>;
export type ArticleListT = Array<{
+2 -2
View File
@@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@navikt/ds-css": "3.2.0",
"@navikt/ds-react": "3.2.0",
"@navikt/ds-css": "3.3.0",
"@navikt/ds-react": "3.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
+267 -212
View File
@@ -3174,6 +3174,13 @@ __metadata:
languageName: node
linkType: hard
"@floating-ui/core@npm:^1.2.6":
version: 1.2.6
resolution: "@floating-ui/core@npm:1.2.6"
checksum: e4aa96c435277f1720d4bc939e17a79b1e1eebd589c20b622d3c646a5273590ff889b8c6e126f7be61873cf8c4d7db7d418895986ea19b8b0d0530de32504c3a
languageName: node
linkType: hard
"@floating-ui/dom@npm:^1.0.1, @floating-ui/dom@npm:^1.1.1":
version: 1.2.0
resolution: "@floating-ui/dom@npm:1.2.0"
@@ -3192,6 +3199,15 @@ __metadata:
languageName: node
linkType: hard
"@floating-ui/dom@npm:^1.2.7":
version: 1.2.8
resolution: "@floating-ui/dom@npm:1.2.8"
dependencies:
"@floating-ui/core": ^1.2.6
checksum: 02894774475a17baa498c86cd25d2825598e7de0734b8c08f7b8797b19c0bec13c4c726e529feb8bf26c6dee219c153ac1f90d8530a93534f765b3c04cfa3b4a
languageName: node
linkType: hard
"@floating-ui/react-dom@npm:1.1.1":
version: 1.1.1
resolution: "@floating-ui/react-dom@npm:1.1.1"
@@ -3204,7 +3220,7 @@ __metadata:
languageName: node
linkType: hard
"@floating-ui/react-dom@npm:1.2.2, @floating-ui/react-dom@npm:^1.2.0":
"@floating-ui/react-dom@npm:1.2.2":
version: 1.2.2
resolution: "@floating-ui/react-dom@npm:1.2.2"
dependencies:
@@ -3216,17 +3232,29 @@ __metadata:
languageName: node
linkType: hard
"@floating-ui/react@npm:0.17.0":
version: 0.17.0
resolution: "@floating-ui/react@npm:0.17.0"
"@floating-ui/react-dom@npm:^2.0.0":
version: 2.0.0
resolution: "@floating-ui/react-dom@npm:2.0.0"
dependencies:
"@floating-ui/react-dom": ^1.2.0
"@floating-ui/dom": ^1.2.7
peerDependencies:
react: ">=16.8.0"
react-dom: ">=16.8.0"
checksum: c5dd02b7babf9c26d5e11b8ebe58411131b37844f7d6362a767cd1eedfb506ca6db3228fb192e0a5822c9289a5b500e2ef31e069dce28a0fbec4722f22bcdd95
languageName: node
linkType: hard
"@floating-ui/react@npm:0.24.1":
version: 0.24.1
resolution: "@floating-ui/react@npm:0.24.1"
dependencies:
"@floating-ui/react-dom": ^2.0.0
aria-hidden: ^1.1.3
tabbable: ^6.0.1
peerDependencies:
react: ">=16.8.0"
react-dom: ">=16.8.0"
checksum: e9729a7825a612df88f588a2299375d4ce7f64a810b32e9f38be4c5f5332c164e24c346e101321ca33c3171afbeced554f7cdbaea19bf67cf31b4af811d433eb
checksum: 89e525412a5f71be1437ce74a3a76f4a6c771074e1dca62dddf11062dd9eca7b967091906c369427a0c8f9c9a7c6c7ae06525917e6809d60d832443a4acfc3f3
languageName: node
linkType: hard
@@ -3898,7 +3926,7 @@ __metadata:
languageName: node
linkType: hard
"@navikt/aksel-icons@^3.1.3, @navikt/aksel-icons@workspace:@navikt/aksel-icons":
"@navikt/aksel-icons@^3.2.4, @navikt/aksel-icons@workspace:@navikt/aksel-icons":
version: 0.0.0-use.local
resolution: "@navikt/aksel-icons@workspace:@navikt/aksel-icons"
dependencies:
@@ -3925,7 +3953,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@navikt/aksel@workspace:@navikt/aksel"
dependencies:
"@navikt/ds-css": 3.1.3
"@navikt/ds-css": 3.2.4
"@types/inquirer": ^9.0.3
"@types/jest": ^29.0.0
axios: 1.3.6
@@ -3949,7 +3977,7 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-codemod@^3.1.3, @navikt/ds-codemod@workspace:@navikt/codemod":
"@navikt/ds-codemod@^3.2.4, @navikt/ds-codemod@workspace:@navikt/codemod":
version: 0.0.0-use.local
resolution: "@navikt/ds-codemod@workspace:@navikt/codemod"
dependencies:
@@ -3976,7 +4004,7 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-css-internal@^3.1.3, @navikt/ds-css-internal@workspace:@navikt/internal/css":
"@navikt/ds-css-internal@^3.2.4, @navikt/ds-css-internal@workspace:@navikt/internal/css":
version: 0.0.0-use.local
resolution: "@navikt/ds-css-internal@workspace:@navikt/internal/css"
dependencies:
@@ -3987,11 +4015,11 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-css@3.1.3, @navikt/ds-css@^3.1.3, @navikt/ds-css@workspace:@navikt/core/css":
"@navikt/ds-css@3.2.4, @navikt/ds-css@^3.2.4, @navikt/ds-css@workspace:@navikt/core/css":
version: 0.0.0-use.local
resolution: "@navikt/ds-css@workspace:@navikt/core/css"
dependencies:
"@navikt/ds-tokens": ^3.1.3
"@navikt/ds-tokens": ^3.2.4
cssnano: 6.0.0
fast-glob: 3.2.11
lodash: 4.17.21
@@ -4004,7 +4032,7 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-icons@^3.1.3, @navikt/ds-icons@workspace:@navikt/icons":
"@navikt/ds-icons@^3.2.4, @navikt/ds-icons@workspace:@navikt/icons":
version: 0.0.0-use.local
resolution: "@navikt/ds-icons@workspace:@navikt/icons"
dependencies:
@@ -4040,8 +4068,8 @@ __metadata:
"@babel/preset-env": 7.19.4
"@babel/preset-react": 7.18.6
"@babel/preset-typescript": 7.18.6
"@navikt/ds-icons": ^3.1.3
"@navikt/ds-react": ^3.1.3
"@navikt/ds-icons": ^3.2.4
"@navikt/ds-react": ^3.2.4
"@rollup/plugin-babel": 6.0.2
"@rollup/plugin-commonjs": 23.0.2
"@rollup/plugin-node-resolve": ^15.0.1
@@ -4066,12 +4094,13 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-react-internal@^3.1.3, @navikt/ds-react-internal@workspace:@navikt/internal/react":
"@navikt/ds-react-internal@^3.2.4, @navikt/ds-react-internal@workspace:@navikt/internal/react":
version: 0.0.0-use.local
resolution: "@navikt/ds-react-internal@workspace:@navikt/internal/react"
dependencies:
"@navikt/aksel-icons": ^3.1.3
"@navikt/ds-react": ^3.1.3
"@floating-ui/react": 0.24.1
"@navikt/aksel-icons": ^3.2.4
"@navikt/ds-react": ^3.2.4
clsx: ^1.1.1
concurrently: 7.2.1
copy-to-clipboard: ^3.3.1
@@ -4087,12 +4116,12 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-react@3.1.3, @navikt/ds-react@^3.1.3, @navikt/ds-react@workspace:@navikt/core/react":
"@navikt/ds-react@3.2.4, @navikt/ds-react@^3.2.4, @navikt/ds-react@workspace:@navikt/core/react":
version: 0.0.0-use.local
resolution: "@navikt/ds-react@workspace:@navikt/core/react"
dependencies:
"@floating-ui/react": 0.17.0
"@navikt/aksel-icons": ^3.1.3
"@floating-ui/react": 0.24.1
"@navikt/aksel-icons": ^3.2.4
"@radix-ui/react-tabs": 1.0.0
"@radix-ui/react-toggle-group": 1.0.0
"@testing-library/dom": 8.13.0
@@ -4128,11 +4157,11 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-tailwind@^3.1.3, @navikt/ds-tailwind@workspace:@navikt/core/tailwind":
"@navikt/ds-tailwind@^3.2.4, @navikt/ds-tailwind@workspace:@navikt/core/tailwind":
version: 0.0.0-use.local
resolution: "@navikt/ds-tailwind@workspace:@navikt/core/tailwind"
dependencies:
"@navikt/ds-tokens": ^3.1.3
"@navikt/ds-tokens": ^3.2.4
"@types/jest": ^29.0.0
color: 4.2.3
jest: ^29.0.0
@@ -4143,7 +4172,7 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-tokens@^3.1.3, @navikt/ds-tokens@workspace:@navikt/core/tokens":
"@navikt/ds-tokens@^3.2.4, @navikt/ds-tokens@workspace:@navikt/core/tokens":
version: 0.0.0-use.local
resolution: "@navikt/ds-tokens@workspace:@navikt/core/tokens"
dependencies:
@@ -4758,13 +4787,6 @@ __metadata:
languageName: node
linkType: hard
"@sanity-codegen/types@npm:1.0.0-alpha.13":
version: 1.0.0-alpha.13
resolution: "@sanity-codegen/types@npm:1.0.0-alpha.13"
checksum: f9055026ba9a11e937c28b0607feb43dcbae98f33512bbdf5211f4e40b461bbc82da7ea7bb3dfcaea88bf5d7a090a0378772e561b1f71f3774519d36b5c1534b
languageName: node
linkType: hard
"@sanity/asset-utils@npm:^1.2.5":
version: 1.3.0
resolution: "@sanity/asset-utils@npm:1.3.0"
@@ -4806,42 +4828,32 @@ __metadata:
languageName: node
linkType: hard
"@sanity/block-tools@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/block-tools@npm:3.9.1"
"@sanity/block-tools@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/block-tools@npm:3.11.1"
dependencies:
get-random-values-esm: ^1.0.0
lodash: ^4.17.21
checksum: aa9020e11ffcfbe63121737d7a6aff909eb410b14792e7a90df65f6b51e1f47ea89470a61d91c6b8dfbbe653112d89f0d085993f92c52da128ad577ad2dfbcd8
checksum: cb682b128606e1549e55ffd6341c0bf205c074f85f3ca67139fcad5449017b2a7e4c9e8fdf3cd1c7eaf6aba0e46a03f69cc24e32365fc7cb000a3a981268bf0a
languageName: node
linkType: hard
"@sanity/cli@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/cli@npm:3.9.1"
"@sanity/cli@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/cli@npm:3.11.1"
dependencies:
"@babel/traverse": ^7.19.0
"@vercel/frameworks": 1.3.4
"@vercel/fs-detectors": 3.8.9
"@vercel/frameworks": 1.4.2
"@vercel/fs-detectors": 3.9.2
chalk: ^4.1.2
esbuild: ^0.16.5
esbuild-register: ^3.4.1
get-it: ^8.0.9
golden-fleece: ^1.0.9
pkg-dir: ^5.0.0
bin:
sanity: bin/sanity
checksum: 896dd194ccdebc91168fbce3b4c11716e4a1753b97b22e6cd92cadfd273b3e5410b859b5bc64a247e5bf4b1f90d8329a760dabe7e8b3a92b160fea4a50c72375
languageName: node
linkType: hard
"@sanity/client@npm:5, @sanity/client@npm:^5.4.2":
version: 5.4.2
resolution: "@sanity/client@npm:5.4.2"
dependencies:
"@sanity/eventsource": 5
get-it: ^8.1
rxjs: 7
checksum: 289e83b7c12eb0789f59b546b68f12e5f36b67acd780d454b6d16cc9b9740940e6a899cf005bc93c143dde163cba8d671b8b9a73a4309d14ca07442093ea46ef
checksum: 4654e64fc20f9bb1af553c59e91d1ca180b163d958d890c487143f69229293ac646c459d61d8c6e7d7fe5196b421c66455c70b7ce6b50dd0931c088f3feb7ad6
languageName: node
linkType: hard
@@ -4856,9 +4868,20 @@ __metadata:
languageName: node
linkType: hard
"@sanity/code-input@npm:4.1.0":
version: 4.1.0
resolution: "@sanity/code-input@npm:4.1.0"
"@sanity/client@npm:^6.0.0, @sanity/client@npm:^6.1.1":
version: 6.1.1
resolution: "@sanity/client@npm:6.1.1"
dependencies:
"@sanity/eventsource": ^5.0.0
get-it: ^8.1.0
rxjs: ^7.0.0
checksum: 7a9924f47e19f276bb1a6e616e200156750ad04d9f418dd3e42daa5091fea0eeed37b43d87de087cb0606d0d0adb03603cb6e8c53191fdc5705c12b7befedf26
languageName: node
linkType: hard
"@sanity/code-input@npm:4.1.1":
version: 4.1.1
resolution: "@sanity/code-input@npm:4.1.1"
dependencies:
"@codemirror/autocomplete": ^6.1.0
"@codemirror/commands": ^6.0.1
@@ -4886,13 +4909,13 @@ __metadata:
react-dom: ^18
sanity: ^3
styled-components: ^5.2
checksum: 39c3f3edcd8f326d52a73f41f52398c383fc6c56f9903f80a6b9526038112cc426a559b0499695914dd4f915e8bbc5c982269c33f35f6cf46d1b7b6efcf59a61
checksum: feaae2573e8a36ec7a844f391a3cf5fee5079528637b41406be7c3433e2de4bc9f9d7918fa4ac694a40eea1214952185dbaf7866599dd31feaeb4eae5513b0c3
languageName: node
linkType: hard
"@sanity/color-input@npm:^3.0.2":
version: 3.0.2
resolution: "@sanity/color-input@npm:3.0.2"
"@sanity/color-input@npm:^3.1.0":
version: 3.1.0
resolution: "@sanity/color-input@npm:3.1.0"
dependencies:
"@sanity/icons": ^2.0.0
"@sanity/incompatible-plugin": ^1.0.4
@@ -4903,7 +4926,7 @@ __metadata:
react: ^18
sanity: ^3
styled-components: ^5.2
checksum: fd386a3dd11564c9fb4db57688c2ff96037d61eaebe2e18d274bd0bb525a33924a410bc80e856c118ce67590737005a587a32232839a43afa43b8f1b397cbe9a
checksum: 071551c1e52e8a2f759ddba7590159ae7ec398d941bfe6ff0186366d2e1582b20235e7311b7f3a9e7eaa8064f895739ca2273b977f6f3cdee0057ca9d4e0df70
languageName: node
linkType: hard
@@ -4921,12 +4944,12 @@ __metadata:
languageName: node
linkType: hard
"@sanity/diff@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/diff@npm:3.9.1"
"@sanity/diff@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/diff@npm:3.11.1"
dependencies:
diff-match-patch: ^1.0.4
checksum: c009e9d0889868fa27f03424e2084dce7db5b322ad016fe0b1027fb8a8a6f929e90f31c216654f2e5796fa2cd13ace924198e0e6c31362f5faba93995d07f637
checksum: b658f348a18746b720f86747bb6adcc016929f00c6c5b2b718da6e45ddbb4814c991e9d0717b8d8d1e5982d9c3315c444138ee6d50502363296e36c8c3ef1b5b
languageName: node
linkType: hard
@@ -4952,9 +4975,9 @@ __metadata:
languageName: node
linkType: hard
"@sanity/export@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/export@npm:3.9.1"
"@sanity/export@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/export@npm:3.11.1"
dependencies:
archiver: ^5.0.0
debug: ^3.2.7
@@ -4964,7 +4987,7 @@ __metadata:
p-queue: ^2.3.0
rimraf: ^3.0.2
split2: ^3.2.2
checksum: 4b5e7215579051c51a33e23055f7ef4d07cb24b6ce02d406429304339353ddddc283107e39df7d1222db111b45d86741bb78a4d7ad34cd2886cf5fb97dc1f62b
checksum: c9931f075e9712dc6d682cd03988233f42b650a1be54770fe06e02638daaebaa99f7c55a7a9dcae246b7e1a5d54b748fbf247275f78f882178f8501d9785ebdf
languageName: node
linkType: hard
@@ -4982,7 +5005,7 @@ __metadata:
languageName: node
linkType: hard
"@sanity/groq-store@npm:2.1.0":
"@sanity/groq-store@npm:^2.1.0":
version: 2.1.0
resolution: "@sanity/groq-store@npm:2.1.0"
dependencies:
@@ -5040,13 +5063,13 @@ __metadata:
languageName: node
linkType: hard
"@sanity/import@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/import@npm:3.9.1"
"@sanity/import@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/import@npm:3.11.1"
dependencies:
"@sanity/asset-utils": ^1.2.5
"@sanity/generate-help-url": ^3.0.0
"@sanity/mutator": 3.9.1
"@sanity/mutator": 3.11.1
"@sanity/uuid": ^3.0.1
debug: ^3.2.7
file-url: ^2.0.2
@@ -5062,7 +5085,7 @@ __metadata:
rimraf: ^3.0.2
split2: ^3.2.2
tar-fs: ^2.1.1
checksum: 0aa9f2b1dba15a61b4d24d03a06bfb0d328d9f810f867b876e0aaeb1ebc7370cb677a7d840bbf789012b180e6fd29da1d968f0b856c683b533262ed85867fb3d
checksum: 0607d1de5946d80e58d8524317c577152fa4d683bc9d187bea612e6c71c43702345cdc10f0a2bad196c71fcd8776223637e50e9d3565db47b45089b3bf2e2c9e
languageName: node
linkType: hard
@@ -5089,28 +5112,28 @@ __metadata:
languageName: node
linkType: hard
"@sanity/mutator@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/mutator@npm:3.9.1"
"@sanity/mutator@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/mutator@npm:3.11.1"
dependencies:
"@sanity/uuid": ^3.0.1
"@types/diff-match-patch": ^1.0.32
debug: ^3.2.7
diff-match-patch: ^1.0.4
lodash: ^4.17.21
checksum: 2aacc5541ab24884ccfc947a63e846725157d8a76f5d71c79afb80a98d271b2e2aac78db19fb83bacf63a16c474b51c85d541d7509d85f80f7a78c06e26b978f
checksum: 3ee9fcb8ce61e560444540dd3a8e439796ac733d196c3180f82bc097e8920a5e6cf82c5666c38f68d0e83518a52b3382167ac58195112ec36b5c4423893f068a
languageName: node
linkType: hard
"@sanity/portable-text-editor@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/portable-text-editor@npm:3.9.1"
"@sanity/portable-text-editor@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/portable-text-editor@npm:3.11.1"
dependencies:
"@sanity/block-tools": 3.9.1
"@sanity/schema": 3.9.1
"@sanity/block-tools": 3.11.1
"@sanity/schema": 3.11.1
"@sanity/slate-react": 2.30.1
"@sanity/types": 3.9.1
"@sanity/util": 3.9.1
"@sanity/types": 3.11.1
"@sanity/util": 3.11.1
debug: ^3.2.7
is-hotkey: ^0.1.6
lodash: ^4.17.21
@@ -5119,35 +5142,39 @@ __metadata:
react: ^16.9 || ^17 || ^18
rxjs: ^7
styled-components: ^5.2
checksum: b972e1269a251a1f20fcb55f8cf67c59407b22e9d95ef48aea14cf3bdd085542f27aefa95315fc3cda6b1d76398a11ee038b022b036ee2466ae0a76b7a201e1a
checksum: 2d15c5df115a25be543fd0a9d2ea1b4c834fdff7f1ad9675a3d9a8a4b5ed3c2200dfb3fd2ab414644f04309c5fbb7453dc8c70fbe480a4925b26d476f09e7743
languageName: node
linkType: hard
"@sanity/preview-kit@npm:1.4.0, @sanity/preview-kit@npm:^1.4.0":
version: 1.4.0
resolution: "@sanity/preview-kit@npm:1.4.0"
"@sanity/preview-kit@npm:^1.5.0, @sanity/preview-kit@npm:^1.5.3":
version: 1.5.3
resolution: "@sanity/preview-kit@npm:1.5.3"
dependencies:
"@sanity/eventsource": 5
"@sanity/groq-store": 2.1.0
suspend-react: 0.0.9
"@sanity/client": ^6.1.1
"@sanity/eventsource": ^5.0.0
"@sanity/groq-store": ^2.1.0
"@vercel/stega": ^0.0.4
lodash.isplainobject: ^4.0.6
suspend-react: ^0.0.10
tiny-invariant: ^1.3.1
peerDependencies:
react: ^18
checksum: e407650b2ab5229ec397a0a9ff1b441b73b11271dcd9cbab80bedff63ba93d13351e626a1355460a50f387c792e88de0d7bc9203564bf80d2d0271b6759ea0ac
react: ^18.0.0
checksum: 2d7b4edeba277dd61b48dd43f267ea74973a6bac03f9d62665d7c55a0974f2eb10effa5424c29eb7d7f77b5c5be2c3709931bff79d1805a721fd2233e10836e9
languageName: node
linkType: hard
"@sanity/schema@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/schema@npm:3.9.1"
"@sanity/schema@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/schema@npm:3.11.1"
dependencies:
"@sanity/generate-help-url": ^3.0.0
"@sanity/types": 3.9.1
"@sanity/types": 3.11.1
arrify: ^1.0.1
humanize-list: ^1.0.1
leven: ^3.1.0
lodash: ^4.17.21
object-inspect: ^1.6.0
checksum: 92dc50c9f1da3582af0ccbe76bcb3a48846f09af5573b48152ee8eb1d0e0533363cbd97706a196a8cf2d55e71cdd227a0013bd2a1d39c127687b10b1653375a6
checksum: b1759aabc8b8b5b047fef5c5c8e6538a6c5242214190ca86904f7b05d8c7e6c2061a2fe4989eb68578d98bf9971180e1067f0e9cfd4c76b2ca2a4b6a9114eb03
languageName: node
linkType: hard
@@ -5196,13 +5223,13 @@ __metadata:
languageName: node
linkType: hard
"@sanity/types@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/types@npm:3.9.1"
"@sanity/types@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/types@npm:3.11.1"
dependencies:
"@sanity/client": ^5.2.0
"@sanity/client": ^6.0.0
"@types/react": ^18.0.25
checksum: 13d5a83ea004c20cb1c010045a3282260c1e33985a135493d405071d81e18d9229893acc046ae94a6f612cde06d7a35c9c145785e5e0cd0a93f028dbef587db0
checksum: 71fc5269fc72ce3092dec1a276e843d93279a7cf31acfed087acd9d89ce4358581d5b242e765ed3fbd900c88cbfd49aa546e4f40221936538aed4f69ee0c8139
languageName: node
linkType: hard
@@ -5244,9 +5271,9 @@ __metadata:
languageName: node
linkType: hard
"@sanity/ui@npm:^1.3.2":
version: 1.3.2
resolution: "@sanity/ui@npm:1.3.2"
"@sanity/ui@npm:^1.3.3":
version: 1.3.3
resolution: "@sanity/ui@npm:1.3.3"
dependencies:
"@floating-ui/react-dom": 1.1.1
"@sanity/color": ^2.2.3
@@ -5259,18 +5286,18 @@ __metadata:
react-dom: ^18
react-is: ^18
styled-components: ^5.2
checksum: b2c7cadb2a2b851b232594a18ee49e9a0e77930d40fc705e7ae5a6fa8e9d60504abbb39df33d58532a3a0283ad94ee874b2fe6b4575544a9f3f59acb5525e1a9
checksum: 31d9971f2086d559bf7d177f70cd91eb132fd3acc529c1f10ba6033c925c9dad7d1abd37065ef1c1578e7f82967909fcd3dddde888a4cab8b8a7402c0c99739e
languageName: node
linkType: hard
"@sanity/util@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/util@npm:3.9.1"
"@sanity/util@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/util@npm:3.11.1"
dependencies:
"@sanity/types": 3.9.1
"@sanity/types": 3.11.1
get-random-values-esm: ^1.0.0
moment: ^2.29.4
checksum: 8c77f66963265022b9442d3279b8d508c4addcd6fa19a0fd372305765213bfaa12dabb254e317691081d067194597cbeb659fe4aa92f6f4d591217f6b8d38d9e
checksum: 776f52bdc7f50b4daae8df7743621c39c9ed1d5e052d284a8ae114b5346f09d5be4cc5534080189eb68491992628fdca85b3d9cc1c21fac2a7c4fb5755e43e4a
languageName: node
linkType: hard
@@ -5284,21 +5311,21 @@ __metadata:
languageName: node
linkType: hard
"@sanity/validation@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/validation@npm:3.9.1"
"@sanity/validation@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/validation@npm:3.11.1"
dependencies:
"@sanity/types": 3.9.1
"@sanity/types": 3.11.1
date-fns: ^2.26.1
lodash: ^4.17.21
rxjs: ^7.8.0
checksum: f4d5576062f0f63dc79a644f1c40a90f45a5d3dc05e6e87b6d39fe3954a08c319105a9fda4419683c78b92c2465159ae33ddd5a60523936053d6c6effafec275
checksum: fee46543208470dd73458c76b64be9aca1f240cae7d1b2657812f7a6caaaeec83e13e85dd6070e86935f7dbe212a242413141f58d33c33bffc600264201ca400
languageName: node
linkType: hard
"@sanity/vision@npm:3.9.1":
version: 3.9.1
resolution: "@sanity/vision@npm:3.9.1"
"@sanity/vision@npm:3.11.1":
version: 3.11.1
resolution: "@sanity/vision@npm:3.11.1"
dependencies:
"@codemirror/autocomplete": ^6.1.0
"@codemirror/commands": ^6.0.1
@@ -5312,7 +5339,7 @@ __metadata:
"@rexxars/react-split-pane": ^0.1.93
"@sanity/color": ^2.1.20
"@sanity/icons": ^2.3.0
"@sanity/ui": ^1.3.0
"@sanity/ui": ^1.3.3
"@uiw/react-codemirror": ^4.11.4
hashlru: ^2.3.0
is-hotkey: ^0.1.6
@@ -5321,11 +5348,11 @@ __metadata:
peerDependencies:
react: ^18
styled-components: ^5.2
checksum: 1b2b96aa8d8a4b931c53e4ad6001b57b3a74c243f892705562107592cc161cb5a92c9e6256da9cb52ae7467d4c2668b9ec6bad7926e6b50cbe9c87d764f2b136
checksum: aa366a2cac07a1fd9dadec101178352759549c48f5820e41d62f1d09165fb347d4b8fbbce4ce7dcf2b08e737feff51f99506fb745c9845417aa6fa3d585e1bf6
languageName: node
linkType: hard
"@sanity/webhook@npm:2":
"@sanity/webhook@npm:^2.0.0":
version: 2.0.0
resolution: "@sanity/webhook@npm:2.0.0"
dependencies:
@@ -7966,49 +7993,56 @@ __metadata:
languageName: node
linkType: hard
"@vercel/error-utils@npm:1.0.9":
version: 1.0.9
resolution: "@vercel/error-utils@npm:1.0.9"
checksum: 6bb51a95a85244e2b4bcf3c68ee506ba22959db12ddc2298d07007b19ad11dc652d37d2e2060eea4e2adec6773441007116c3360323d14ecf65ce359f7fffc69
"@vercel/error-utils@npm:1.0.10":
version: 1.0.10
resolution: "@vercel/error-utils@npm:1.0.10"
checksum: 84d8233b1912b1fc5e83ba27230c70df10c41f558c70f5b8509e19b0fab72c396e7eea03886c9fa1e81dcc19acad30a07730c4c30fa366d9827bdaccfd0383a5
languageName: node
linkType: hard
"@vercel/frameworks@npm:1.3.4":
version: 1.3.4
resolution: "@vercel/frameworks@npm:1.3.4"
"@vercel/frameworks@npm:1.4.2":
version: 1.4.2
resolution: "@vercel/frameworks@npm:1.4.2"
dependencies:
"@iarna/toml": 2.2.3
js-yaml: 3.13.1
checksum: cfb2166220725018bb0473240cdd115adc3c5b3755a627f2d535884c1d26f0f29b5cab7118f9aff0088298067482dbff815f3840262164321b563184b846f52b
checksum: 4edc4ec6487a98c1a2862d786b3c3847f54ec05f46e73ab09aefe75e52d5fd5a39806b5f838825decfc21493b91f0ece409fa4072554c80134ccad1d0075f120
languageName: node
linkType: hard
"@vercel/fs-detectors@npm:3.8.9":
version: 3.8.9
resolution: "@vercel/fs-detectors@npm:3.8.9"
"@vercel/fs-detectors@npm:3.9.2":
version: 3.9.2
resolution: "@vercel/fs-detectors@npm:3.9.2"
dependencies:
"@vercel/error-utils": 1.0.9
"@vercel/frameworks": 1.3.4
"@vercel/routing-utils": 2.2.0
"@vercel/error-utils": 1.0.10
"@vercel/frameworks": 1.4.2
"@vercel/routing-utils": 2.2.1
glob: 8.0.3
js-yaml: 4.1.0
json5: 2.2.2
minimatch: 3.1.2
semver: 6.1.1
checksum: a877ce9de22d9726d5fdb58102478d5b96573fee337b817f335438b5b49a3ca24e69bdba9602532b8747a2924df8f732fb0466c1f8cb869ca1221ea765e138b0
checksum: d96f8400dff8a4d74af2e41929c78cf6cf55693a1f4bcff39bf428afeeb81e615fdfd3d607b00adfff170e954d43071115d0f5821c6c2fbf2cc550a92f1afa22
languageName: node
linkType: hard
"@vercel/routing-utils@npm:2.2.0":
version: 2.2.0
resolution: "@vercel/routing-utils@npm:2.2.0"
"@vercel/routing-utils@npm:2.2.1":
version: 2.2.1
resolution: "@vercel/routing-utils@npm:2.2.1"
dependencies:
ajv: ^6.0.0
path-to-regexp: 6.1.0
dependenciesMeta:
ajv:
optional: true
checksum: cf61d8081e6bb0ff7d4c306c3c2ed240314573fac59976b31210a3469119f9b43996cdab388d1e40635ccca027bc1faf9b767e4c9b9095fe1ea86b304336c51d
checksum: b56ef0fa3f3c6c931f5b716697ef1dd604b67f5a32c76dc3f2a90c73c8d9b5839daffebceb03f548147ec9a18d5036873c6f6d21d3ca8c9bc2f4dd573166a58c
languageName: node
linkType: hard
"@vercel/stega@npm:^0.0.4":
version: 0.0.4
resolution: "@vercel/stega@npm:0.0.4"
checksum: af1f156d6384d1ae089769163e1c556c5b1e2144e539e25240c50a23d00bffec992b8721d7336b3cda8bf8184c29ab53ec6c5ff2037292d43537577042fc5746
languageName: node
linkType: hard
@@ -8297,15 +8331,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "aksel.nav.no@workspace:aksel.nav.no"
dependencies:
"@navikt/aksel-icons": ^3.1.3
"@navikt/ds-codemod": ^3.1.3
"@navikt/ds-css": ^3.1.3
"@navikt/ds-css-internal": ^3.1.3
"@navikt/ds-icons": ^3.1.3
"@navikt/ds-react": ^3.1.3
"@navikt/ds-react-internal": ^3.1.3
"@navikt/ds-tailwind": ^3.1.3
"@navikt/ds-tokens": ^3.1.3
"@navikt/aksel-icons": ^3.2.4
"@navikt/ds-codemod": ^3.2.4
"@navikt/ds-css": ^3.2.4
"@navikt/ds-css-internal": ^3.2.4
"@navikt/ds-icons": ^3.2.4
"@navikt/ds-react": ^3.2.4
"@navikt/ds-react-internal": ^3.2.4
"@navikt/ds-tailwind": ^3.2.4
"@navikt/ds-tokens": ^3.2.4
prettier-plugin-tailwindcss: ^0.2.3
languageName: unknown
linkType: soft
@@ -14423,9 +14457,9 @@ __metadata:
languageName: node
linkType: hard
"get-it@npm:^8.1":
version: 8.1.1
resolution: "get-it@npm:8.1.1"
"get-it@npm:^8.1.0":
version: 8.1.3
resolution: "get-it@npm:8.1.3"
dependencies:
debug: ^4.3.4
decompress-response: ^7.0.0
@@ -14437,7 +14471,7 @@ __metadata:
parse-headers: ^2.0.5
progress-stream: ^2.0.0
tunnel-agent: ^0.6.0
checksum: 90c3aa14947546326d01c3f487d523fee56898bc5bdee9ee48833085eefcafb80d9072ce7324213c9911dceb90d40271de17e8be0f21c0689952939b77c6e74a
checksum: c2bd056f6e6ecda78bf14c64c1f36f3a8eef6dbb53430a4de90e57e9e7fe4deba40428adb2af0cb63012790bcb52ec1a2974f8d888d9e509d8f3ec0ce8e16f17
languageName: node
linkType: hard
@@ -14885,6 +14919,13 @@ __metadata:
languageName: node
linkType: hard
"golden-fleece@npm:^1.0.9":
version: 1.0.9
resolution: "golden-fleece@npm:1.0.9"
checksum: 7f4c3245dfc0272a39d528909911053767d028a9f3dd5b5d13744797a41664d9ada001bbdbab8b67ef323b79cd609d46364db7eacff11d8bdc8b902f00ea5acf
languageName: node
linkType: hard
"gopd@npm:^1.0.1":
version: 1.0.1
resolution: "gopd@npm:1.0.1"
@@ -14955,6 +14996,13 @@ __metadata:
languageName: node
linkType: hard
"groq@npm:^3.0.0":
version: 3.11.1
resolution: "groq@npm:3.11.1"
checksum: 47e87b4f028e0e5001f5e8a42b045f156bb5da2d5ef5307e6e8c86b37e8c22cfea12559eb45b3a47e1c782d098b61fade58a5e180c7fb89df4219748a1b3603d
languageName: node
linkType: hard
"gunzip-maybe@npm:^1.4.1, gunzip-maybe@npm:^1.4.2":
version: 1.4.2
resolution: "gunzip-maybe@npm:1.4.2"
@@ -18855,23 +18903,24 @@ __metadata:
languageName: node
linkType: hard
"next-sanity@npm:^4.1.7":
version: 4.1.7
resolution: "next-sanity@npm:4.1.7"
"next-sanity@npm:^4.3.2":
version: 4.3.2
resolution: "next-sanity@npm:4.3.2"
dependencies:
"@sanity/client": 5
"@sanity/preview-kit": 1.4.0
"@sanity/webhook": 2
groq: 3
"@sanity/client": ^6.0.0
"@sanity/preview-kit": ^1.5.0
"@sanity/webhook": ^2.0.0
groq: ^3.0.0
peerDependencies:
"@sanity/icons": 2
"@sanity/types": 3
"@sanity/ui": 1
next: 13
react: 18
sanity: 3
styled-components: ^5.2
checksum: ee25185ad62c14c2b2f33db2b2c7ff9301780db7f919308aa1c0a808172e29505536532e7c85a1bcc695a6a19db0044db0a60fb57ce023e9aee870da36bde17e
"@sanity/icons": ^2.0.0
"@sanity/types": ^3.0.0
"@sanity/ui": ^1.0.0
"@types/styled-components": ^5.1.0
next: ^13.0.0
react: ^18.0.0
sanity: ^3.0.0
styled-components: ^5.2.0
checksum: ac9b98fab9c2c662d6d8158fdba3a5bd72d96524aaab71fd0c88b071d2c062c65cb32ec5d020b1caf09a39cc019f11d21bec5c266202db5b6cd81c3caa7c5fb6
languageName: node
linkType: hard
@@ -22864,15 +22913,6 @@ __metadata:
languageName: node
linkType: hard
"rxjs@npm:7, rxjs@npm:^7, rxjs@npm:^7.0.0, rxjs@npm:^7.2.0, rxjs@npm:^7.5.5, rxjs@npm:^7.8.0":
version: 7.8.0
resolution: "rxjs@npm:7.8.0"
dependencies:
tslib: ^2.1.0
checksum: 61b4d4fd323c1043d8d6ceb91f24183b28bcf5def4f01ca111511d5c6b66755bc5578587fe714ef5d67cf4c9f2e26f4490d4e1d8cabf9bd5967687835e9866a2
languageName: node
linkType: hard
"rxjs@npm:^6.4.0, rxjs@npm:^6.6.0, rxjs@npm:^6.6.3":
version: 6.6.7
resolution: "rxjs@npm:6.6.7"
@@ -22882,6 +22922,15 @@ __metadata:
languageName: node
linkType: hard
"rxjs@npm:^7, rxjs@npm:^7.0.0, rxjs@npm:^7.2.0, rxjs@npm:^7.5.5, rxjs@npm:^7.8.0":
version: 7.8.0
resolution: "rxjs@npm:7.8.0"
dependencies:
tslib: ^2.1.0
checksum: 61b4d4fd323c1043d8d6ceb91f24183b28bcf5def4f01ca111511d5c6b66755bc5578587fe714ef5d67cf4c9f2e26f4490d4e1d8cabf9bd5967687835e9866a2
languageName: node
linkType: hard
"sade@npm:1.8.1":
version: 1.8.1
resolution: "sade@npm:1.8.1"
@@ -23025,9 +23074,9 @@ __metadata:
languageName: node
linkType: hard
"sanity@npm:3.9.1":
version: 3.9.1
resolution: "sanity@npm:3.9.1"
"sanity@npm:3.11.1":
version: 3.11.1
resolution: "sanity@npm:3.11.1"
dependencies:
"@dnd-kit/core": ^6.0.5
"@dnd-kit/modifiers": ^6.0.0
@@ -23039,26 +23088,26 @@ __metadata:
"@rexxars/react-json-inspector": ^8.0.1
"@sanity/asset-utils": ^1.2.5
"@sanity/bifur-client": ^0.3.1
"@sanity/block-tools": 3.9.1
"@sanity/cli": 3.9.1
"@sanity/client": ^5.2.0
"@sanity/block-tools": 3.11.1
"@sanity/cli": 3.11.1
"@sanity/client": ^6.0.0
"@sanity/color": ^2.1.20
"@sanity/diff": 3.9.1
"@sanity/diff": 3.11.1
"@sanity/eventsource": ^5.0.0
"@sanity/export": 3.9.1
"@sanity/export": 3.11.1
"@sanity/generate-help-url": ^3.0.0
"@sanity/icons": ^2.3.0
"@sanity/image-url": ^1.0.2
"@sanity/import": 3.9.1
"@sanity/import": 3.11.1
"@sanity/logos": ^2.0.2
"@sanity/mutator": 3.9.1
"@sanity/portable-text-editor": 3.9.1
"@sanity/schema": 3.9.1
"@sanity/types": 3.9.1
"@sanity/ui": ^1.3.0
"@sanity/util": 3.9.1
"@sanity/mutator": 3.11.1
"@sanity/portable-text-editor": 3.11.1
"@sanity/schema": 3.11.1
"@sanity/types": 3.11.1
"@sanity/ui": ^1.3.3
"@sanity/util": 3.11.1
"@sanity/uuid": ^3.0.1
"@sanity/validation": 3.9.1
"@sanity/validation": 3.11.1
"@tanstack/react-virtual": 3.0.0-beta.53
"@types/is-hotkey": ^0.1.7
"@types/react-copy-to-clipboard": ^5.0.2
@@ -23139,7 +23188,7 @@ __metadata:
styled-components: ^5.2
bin:
sanity: bin/sanity
checksum: 92cc658d88b2af5011eacdc805dc533d8949241a9af3fba83e4c014877ef7632ee38e216a1eb6be0d89f302c0752e5cd3565d60380804f3558fa12e8271461ae
checksum: 83c55f466a6762014cee6e10321a1d4456e4bf611ad524694197ab3416be3f5796a5119a11550c3efaba70cd6d6500796008b17e431d915d27eaa7be88f98cfc
languageName: node
linkType: hard
@@ -23340,8 +23389,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "shadow-dom@workspace:examples/shadow-dom"
dependencies:
"@navikt/ds-css": 3.1.3
"@navikt/ds-react": 3.1.3
"@navikt/ds-css": 3.2.4
"@navikt/ds-react": 3.2.4
"@types/react": ^18.0.0
"@types/react-dom": ^18.0.0
"@vitejs/plugin-react": ^2.1.0
@@ -24532,12 +24581,12 @@ __metadata:
languageName: node
linkType: hard
"suspend-react@npm:0.0.9":
version: 0.0.9
resolution: "suspend-react@npm:0.0.9"
"suspend-react@npm:^0.0.10":
version: 0.0.10
resolution: "suspend-react@npm:0.0.10"
peerDependencies:
react: ">=17.0"
checksum: cad7348dc2d13b909201a6a7909f1528596ff2114eeb1bfa0f3556b4acda55dc966f1d2c53ad5ba0201fe301abdfed5f55446e6bd3c61faee4c4a8f4b415e1d9
checksum: 2b6d792bb98ef0de08958dd44212068cd165e00f16d7dcc186e3dece9e12d93b58495a1d77718a47de0b84c39c8eb8d276995f12116e61b76ce06277b00a5800
languageName: node
linkType: hard
@@ -24897,6 +24946,13 @@ __metadata:
languageName: node
linkType: hard
"tiny-invariant@npm:^1.3.1":
version: 1.3.1
resolution: "tiny-invariant@npm:1.3.1"
checksum: 872dbd1ff20a21303a2fd20ce3a15602cfa7fcf9b228bd694a52e2938224313b5385a1078cb667ed7375d1612194feaca81c4ecbe93121ca1baebe344de4f84c
languageName: node
linkType: hard
"tiny-warning@npm:^1.0.3":
version: 1.0.3
resolution: "tiny-warning@npm:1.0.3"
@@ -26222,17 +26278,16 @@ __metadata:
"@next/bundle-analyzer": ^12.1.0
"@next/eslint-plugin-next": ^12.2.0
"@playwright/test": ^1.30.0
"@sanity-codegen/types": 1.0.0-alpha.13
"@sanity/block-content-to-react": ^3.0.0
"@sanity/client": ^5.4.2
"@sanity/code-input": 4.1.0
"@sanity/color-input": ^3.0.2
"@sanity/client": ^6.1.1
"@sanity/code-input": 4.1.1
"@sanity/color-input": ^3.1.0
"@sanity/icons": 2.3.1
"@sanity/image-url": 1.0.2
"@sanity/preview-kit": ^1.4.0
"@sanity/preview-kit": ^1.5.3
"@sanity/table": 1.0.1
"@sanity/ui": ^1.3.2
"@sanity/vision": 3.9.1
"@sanity/ui": ^1.3.3
"@sanity/vision": 3.11.1
"@svgr/webpack": ^5.5.0
"@testing-library/jest-dom": ^5.16.0
"@testing-library/react": ^13.3.0
@@ -26255,7 +26310,7 @@ __metadata:
json5: 2.2.1
lodash: ^4.17.21
next: ^13.2.1
next-sanity: ^4.1.7
next-sanity: ^4.3.2
postcss: ^8.4.0
postcss-import: ^14.1.0
postcss-loader: 7.0.0
@@ -26266,7 +26321,7 @@ __metadata:
react-modal: 3.15.1
react-responsive-masonry: ^2.1.7
recharts: ^2.2.0
sanity: 3.9.1
sanity: 3.11.1
sanity-plugin-asset-source-unsplash: ^1.0.6
sanity-plugin-iframe-pane: ^2.3.0
sanity-plugin-media: ^2.0.5