Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thokra-nav committed Jan 25, 2024
1 parent a4b579b commit aa95ebd
Show file tree
Hide file tree
Showing 12 changed files with 779 additions and 540 deletions.
Binary file modified bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/ds-svelte-community-preprocess-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@
"svelte": "^3.59.0 || ^4.0.0-0"
},
"devDependencies": {
"bun-types": "^1.0.23",
"prettier": "^3.2.2",
"bun-types": "^1.0.25",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
},
"type": "module",
"dependencies": {
"svelte": "^4.2.8"
"svelte": "^4.2.9"
}
}
54 changes: 27 additions & 27 deletions packages/ds-svelte-community/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,51 +98,51 @@
"svelte-floating-ui": "^1.5.8"
},
"devDependencies": {
"@happy-dom/global-registrator": "^13.1.4",
"@happy-dom/global-registrator": "^13.3.1",
"@nais/ds-svelte-community-preprocess-svelte": "workspace:*",
"@navikt/aksel-icons": "^5.14.0",
"@navikt/ds-react": "^5.14.0",
"@navikt/ds-tailwind": "^5.14.0",
"@storybook/addon-a11y": "7.6.8",
"@storybook/addon-essentials": "7.6.8",
"@storybook/addon-interactions": "7.6.8",
"@storybook/addon-links": "7.6.8",
"@storybook/addon-storysource": "7.6.8",
"@navikt/aksel-icons": "^5.15.1",
"@navikt/ds-react": "^5.15.1",
"@navikt/ds-tailwind": "^5.15.1",
"@storybook/addon-a11y": "7.6.10",
"@storybook/addon-essentials": "7.6.10",
"@storybook/addon-interactions": "7.6.10",
"@storybook/addon-links": "7.6.10",
"@storybook/addon-storysource": "7.6.10",
"@storybook/addon-svelte-csf": "4.1.0",
"@storybook/blocks": "7.6.8",
"@storybook/svelte": "7.6.8",
"@storybook/sveltekit": "7.6.8",
"@storybook/theming": "^7.6.8",
"@sveltejs/adapter-auto": "^3.1.0",
"@sveltejs/kit": "^2.3.2",
"@sveltejs/package": "^2.2.5",
"@storybook/blocks": "7.6.10",
"@storybook/svelte": "7.6.10",
"@storybook/sveltekit": "7.6.10",
"@storybook/theming": "^7.6.10",
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/kit": "^2.4.3",
"@sveltejs/package": "^2.2.6",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@testing-library/svelte": "^4.0.5",
"@testing-library/svelte": "^4.0.6",
"@types/diff": "^5.0.9",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"autoprefixer": "^10.4.16",
"bun-types": "^1.0.23",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"autoprefixer": "^10.4.17",
"bun-types": "^1.0.25",
"clsx": "^2.1.0",
"diff": "^5.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-svelte": "^2.35.1",
"eslint": "^8.56.0",
"file-system-cache": "2.4.4",
"jsdom": "^23.2.0",
"jsdom": "^24.0.0",
"normalize.css": "^8.0.1",
"postcss": "^8.4.33",
"prettier-plugin-svelte": "^3.1.2",
"prettier": "^3.2.2",
"prettier": "^3.2.4",
"publint": "^0.2.7",
"react-dom": "^18.2.0",
"react": "^18.2.0",
"storybook": "7.6.8",
"storybook": "7.6.10",
"svelte-check": "^3.6.3",
"svelte-floating-ui": "^1.5.8",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svgo": "3.0.3",
"tailwindcss": "^3.4.1",
"totalist": "^3.0.1",
Expand All @@ -154,8 +154,8 @@
"types": "./dist/index.d.ts",
"type": "module",
"dependencies": {
"@navikt/ds-css": "^5.14.0",
"@navikt/ds-tokens": "^5.14.0"
"@navikt/ds-css": "^5.15.1",
"@navikt/ds-tokens": "^5.15.1"
},
"overrides": {
"@storybook/cli": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<script lang="ts" context="module">
import newUniqueId from "$lib/components/local-unique-id";
import type { SVGAttributes } from "svelte/elements";
</script>

<script lang="ts">
/**
* Title of the icon, used for accessibility
*/
export let title = "";
type $$Props = SVGAttributes<SVGElement> & {
title?: string;
};
const id = newUniqueId();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
fill="none"
focusable="false"
role="img"
viewBox="0 0 24 24"
aria-labelledby={title ? id : undefined}
{...$$restProps}
>
{#if title}
<title {id}>{title}</title>
{/if}
<slot />
<path
fill="currentColor"
fill-rule="evenodd"
d="M11 2.25a.75.75 0 0 0-.75.75v7.5c0 .138.112.25.25.25H13A2.25 2.25 0 0 1 15.25 13v8.5c0 .138.112.25.25.25H21a.75.75 0 0 0 .75-.75V3a.75.75 0 0 0-.75-.75H11Zm7 2.5a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0v-1a.75.75 0 0 1 .75-.75Zm.75 4.75a.75.75 0 0 0-1.5 0v1a.75.75 0 0 0 1.5 0v-1ZM18 12.75a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0v-1a.75.75 0 0 1 .75-.75Zm-15-.5a.75.75 0 0 0-.75.75v8c0 .414.336.75.75.75h10a.75.75 0 0 0 .75-.75v-8a.75.75 0 0 0-.75-.75H3Zm2.5 3a.75.75 0 0 0 0 1.5h1a.75.75 0 0 0 0-1.5h-1Zm2.25.75a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75Z"
clip-rule="evenodd"
/>
</svg>
40 changes: 40 additions & 0 deletions packages/ds-svelte-community/src/lib/icons/Buildings2Icon.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<script lang="ts" context="module">
import newUniqueId from "$lib/components/local-unique-id";
import type { SVGAttributes } from "svelte/elements";
</script>

<script lang="ts">
/**
* Title of the icon, used for accessibility
*/
export let title = "";
type $$Props = SVGAttributes<SVGElement> & {
title?: string;
};
const id = newUniqueId();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
fill="none"
focusable="false"
role="img"
viewBox="0 0 24 24"
aria-labelledby={title ? id : undefined}
{...$$restProps}
>
{#if title}
<title {id}>{title}</title>
{/if}
<slot />
<path
fill="currentColor"
fill-rule="evenodd"
d="M10.25 3a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 .75.75v18a.75.75 0 0 1-.75.75H3a.75.75 0 0 1-.75-.75v-8a.75.75 0 0 1 .75-.75h7.25V3Zm3.5 10a.75.75 0 0 0-.75-.75h-1.25v-8.5h8.5v16.5h-6.5V13Zm-1.5.75v6.5h-8.5v-6.5h8.5Zm6.5-8.25a.75.75 0 0 0-1.5 0v1a.75.75 0 0 0 1.5 0v-1ZM5.5 15.25a.75.75 0 0 0 0 1.5h1a.75.75 0 0 0 0-1.5h-1Zm2.25.75a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75Zm11-6.5a.75.75 0 0 0-1.5 0v1a.75.75 0 0 0 1.5 0v-1ZM18 12.75a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0v-1a.75.75 0 0 1 .75-.75Z"
clip-rule="evenodd"
/>
</svg>
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<script lang="ts" context="module">
import newUniqueId from "$lib/components/local-unique-id";
import type { SVGAttributes } from "svelte/elements";
</script>

<script lang="ts">
/**
* Title of the icon, used for accessibility
*/
export let title = "";
type $$Props = SVGAttributes<SVGElement> & {
title?: string;
};
const id = newUniqueId();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
fill="none"
focusable="false"
role="img"
viewBox="0 0 24 24"
aria-labelledby={title ? id : undefined}
{...$$restProps}
>
{#if title}
<title {id}>{title}</title>
{/if}
<slot />
<path
fill="currentColor"
fill-rule="evenodd"
d="M7 2.25a.75.75 0 0 0-.75.75v18c0 .414.336.75.75.75h10a.75.75 0 0 0 .75-.75V3a.75.75 0 0 0-.75-.75H7Zm3.75 4.25a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2ZM13 5.75a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75Zm-2.25 6.75a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2Zm2.25-.75a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75Zm-8.5-2.5a.25.25 0 0 1 .25.25v12a.25.25 0 0 1-.25.25H3a.75.75 0 0 1-.75-.75V10A.75.75 0 0 1 3 9.25h1.5Zm15 12.5a.25.25 0 0 1-.25-.25v-12a.25.25 0 0 1 .25-.25H21a.75.75 0 0 1 .75.75v11a.75.75 0 0 1-.75.75h-1.5Z"
clip-rule="evenodd"
/>
</svg>
40 changes: 40 additions & 0 deletions packages/ds-svelte-community/src/lib/icons/Buildings3Icon.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<script lang="ts" context="module">
import newUniqueId from "$lib/components/local-unique-id";
import type { SVGAttributes } from "svelte/elements";
</script>

<script lang="ts">
/**
* Title of the icon, used for accessibility
*/
export let title = "";
type $$Props = SVGAttributes<SVGElement> & {
title?: string;
};
const id = newUniqueId();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
fill="none"
focusable="false"
role="img"
viewBox="0 0 24 24"
aria-labelledby={title ? id : undefined}
{...$$restProps}
>
{#if title}
<title {id}>{title}</title>
{/if}
<slot />
<path
fill="currentColor"
fill-rule="evenodd"
d="M6.25 3A.75.75 0 0 1 7 2.25h10a.75.75 0 0 1 .75.75v6.25H21a.75.75 0 0 1 .75.75v11a.75.75 0 0 1-.75.75H3a.75.75 0 0 1-.75-.75V10A.75.75 0 0 1 3 9.25h3.25V3Zm11.5 17.25v-9.5h2.5v9.5h-2.5Zm-1.5-16.5v16.5h-8.5V3.75h8.5Zm-10 7v9.5h-2.5v-9.5h2.5Zm3.75-5a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75Zm3 0a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75Zm-2.25 6.75a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2Zm2.25-.75a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75Z"
clip-rule="evenodd"
/>
</svg>
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<path
fill="currentColor"
fill-rule="evenodd"
d="M7 2.25a.75.75 0 0 0-.75.75v18c0 .414.336.75.75.75h10a.75.75 0 0 0 .75-.75V3a.75.75 0 0 0-.75-.75H7Zm3.75 4.25a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2ZM13 5.75a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75Zm-2.25 6.75a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2Zm2.25-.75a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75Zm-8.5-2.5a.25.25 0 0 1 .25.25v12a.25.25 0 0 1-.25.25H3a.75.75 0 0 1-.75-.75V10A.75.75 0 0 1 3 9.25h1.5Zm15 12.5a.25.25 0 0 1-.25-.25v-12a.25.25 0 0 1 .25-.25H21a.75.75 0 0 1 .75.75v11a.75.75 0 0 1-.75.75h-1.5Z"
d="M11 2.25a.75.75 0 0 0-.75.75v7.5c0 .138.112.25.25.25H13A2.25 2.25 0 0 1 15.25 13v8.5c0 .138.112.25.25.25H21a.75.75 0 0 0 .75-.75V3a.75.75 0 0 0-.75-.75H11Zm7 2.5a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0v-1a.75.75 0 0 1 .75-.75Zm.75 4.75a.75.75 0 0 0-1.5 0v1a.75.75 0 0 0 1.5 0v-1ZM18 12.75a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0v-1a.75.75 0 0 1 .75-.75Zm-15-.5a.75.75 0 0 0-.75.75v8c0 .414.336.75.75.75h10a.75.75 0 0 0 .75-.75v-8a.75.75 0 0 0-.75-.75H3Zm2.5 3a.75.75 0 0 0 0 1.5h1a.75.75 0 0 0 0-1.5h-1Zm2.25.75a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75Z"
clip-rule="evenodd"
/>
</svg>
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<script lang="ts" context="module">
import newUniqueId from "$lib/components/local-unique-id";
import type { SVGAttributes } from "svelte/elements";
</script>

<script lang="ts">
/**
* Title of the icon, used for accessibility
*/
export let title = "";
type $$Props = SVGAttributes<SVGElement> & {
title?: string;
};
const id = newUniqueId();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
fill="none"
focusable="false"
role="img"
viewBox="0 0 24 24"
aria-labelledby={title ? id : undefined}
{...$$restProps}
>
{#if title}
<title {id}>{title}</title>
{/if}
<slot />
<path
fill="currentColor"
fill-rule="evenodd"
d="M12 6.25a3.25 3.25 0 1 0 0 6.5 3.25 3.25 0 0 0 0-6.5Zm-2.5 7a.75.75 0 0 0-.75.75v4c0 .414.336.75.75.75h.75V21a.75.75 0 0 0 1.5 0v-2.25h.5V21a.75.75 0 0 0 1.5 0v-2.25h.75a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 0-.75-.75h-5Z"
clip-rule="evenodd"
/>
</svg>
40 changes: 40 additions & 0 deletions packages/ds-svelte-community/src/lib/icons/FigureChildIcon.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<script lang="ts" context="module">
import newUniqueId from "$lib/components/local-unique-id";
import type { SVGAttributes } from "svelte/elements";
</script>

<script lang="ts">
/**
* Title of the icon, used for accessibility
*/
export let title = "";
type $$Props = SVGAttributes<SVGElement> & {
title?: string;
};
const id = newUniqueId();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
fill="none"
focusable="false"
role="img"
viewBox="0 0 24 24"
aria-labelledby={title ? id : undefined}
{...$$restProps}
>
{#if title}
<title {id}>{title}</title>
{/if}
<slot />
<path
fill="currentColor"
fill-rule="evenodd"
d="M10.25 9.5a1.75 1.75 0 1 1 3.5 0 1.75 1.75 0 0 1-3.5 0ZM12 6.25a3.25 3.25 0 1 0 0 6.5 3.25 3.25 0 0 0 0-6.5Zm-2.5 7a.75.75 0 0 0-.75.75v4c0 .414.336.75.75.75h.75V21a.75.75 0 0 0 1.5 0v-3a.75.75 0 0 0-.75-.75h-.75v-2.5h3.5v2.5H13a.75.75 0 0 0-.75.75v3a.75.75 0 0 0 1.5 0v-2.25h.75a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 0-.75-.75h-5Z"
clip-rule="evenodd"
/>
</svg>
6 changes: 6 additions & 0 deletions packages/ds-svelte-community/src/lib/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ export { default as BucketMopFillIcon } from "./BucketMopFillIcon.svelte";
export { default as BucketMopIcon } from "./BucketMopIcon.svelte";
export { default as BugFillIcon } from "./BugFillIcon.svelte";
export { default as BugIcon } from "./BugIcon.svelte";
export { default as Buildings2FillIcon } from "./Buildings2FillIcon.svelte";
export { default as Buildings2Icon } from "./Buildings2Icon.svelte";
export { default as Buildings3FillIcon } from "./Buildings3FillIcon.svelte";
export { default as Buildings3Icon } from "./Buildings3Icon.svelte";
export { default as Buldings2FillIcon } from "./Buldings2FillIcon.svelte";
export { default as Buldings2Icon } from "./Buldings2Icon.svelte";
export { default as Buldings3FillIcon } from "./Buldings3FillIcon.svelte";
Expand Down Expand Up @@ -303,6 +307,8 @@ export { default as FaceSmileFillIcon } from "./FaceSmileFillIcon.svelte";
export { default as FaceSmileIcon } from "./FaceSmileIcon.svelte";
export { default as FeedingBottleFillIcon } from "./FeedingBottleFillIcon.svelte";
export { default as FeedingBottleIcon } from "./FeedingBottleIcon.svelte";
export { default as FigureChildFillIcon } from "./FigureChildFillIcon.svelte";
export { default as FigureChildIcon } from "./FigureChildIcon.svelte";
export { default as FigureCombinationFillIcon } from "./FigureCombinationFillIcon.svelte";
export { default as FigureCombinationIcon } from "./FigureCombinationIcon.svelte";
export { default as FigureFillIcon } from "./FigureFillIcon.svelte";
Expand Down
Loading

0 comments on commit aa95ebd

Please sign in to comment.