@kakadu/components 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/aria-text.d.ts +2 -1
- package/build/components/box.d.ts +2 -1
- package/build/components/button-tooltip.d.ts +2 -1
- package/build/components/button.d.ts +3 -3
- package/build/components/button.js +1 -1
- package/build/components/button.mjs +27 -25
- package/build/components/card.d.ts +2 -2
- package/build/components/click-ripples.d.ts +2 -2
- package/build/components/collapsible.d.ts +2 -2
- package/build/components/combobox.d.ts +2 -2
- package/build/components/copy-icon-button.d.ts +2 -1
- package/build/components/datum.d.ts +2 -2
- package/build/components/dot.d.ts +2 -2
- package/build/components/flex.d.ts +2 -1
- package/build/components/footer.d.ts +2 -2
- package/build/components/footer.js +1 -1
- package/build/components/footer.mjs +20 -20
- package/build/components/gauge.d.ts +2 -1
- package/build/components/header.d.ts +2 -1
- package/build/components/hover-gradient.d.ts +2 -2
- package/build/components/icon-button.d.ts +2 -2
- package/build/components/input.d.ts +3 -3
- package/build/components/input.js +2 -2
- package/build/components/input.mjs +21 -21
- package/build/components/logos/akt-logo.d.ts +2 -2
- package/build/components/logos/amedia-logo.d.ts +2 -2
- package/build/components/logos/bankaxept-logo.d.ts +2 -2
- package/build/components/logos/bankid-logo.d.ts +2 -2
- package/build/components/logos/dnb-logo.d.ts +2 -2
- package/build/components/logos/entur-logo.d.ts +2 -2
- package/build/components/logos/gjensidige-logo.d.ts +2 -2
- package/build/components/logos/kakadu-academy-logo.d.ts +2 -2
- package/build/components/logos/kakadu-guide-icon.d.ts +2 -1
- package/build/components/logos/kakadu-guide-logo.d.ts +3 -3
- package/build/components/logos/kakadu-index-logo.d.ts +2 -2
- package/build/components/logos/kakadu-logo.d.ts +2 -2
- package/build/components/logos/kakadu-play-logo.d.ts +2 -2
- package/build/components/logos/kolumbus-logo.d.ts +2 -2
- package/build/components/logos/nordea-logo.d.ts +2 -2
- package/build/components/logos/norsk-tipping-logo.d.ts +2 -2
- package/build/components/logos/ruter-logo.d.ts +2 -2
- package/build/components/logos/senteret-for-et-aldersvennlig-norge-logo.d.ts +2 -2
- package/build/components/logos/sparebank1-logo.d.ts +2 -2
- package/build/components/logos/sparebanken-norge-logo.d.ts +2 -2
- package/build/components/logos/sto-logo.d.ts +2 -2
- package/build/components/logos/storebrand-logo.d.ts +2 -2
- package/build/components/modal.d.ts +6 -6
- package/build/components/notice.d.ts +2 -2
- package/build/components/notification.d.ts +8 -6
- package/build/components/notification.js +1 -1
- package/build/components/notification.mjs +87 -71
- package/build/components/popover-menu.d.ts +3 -3
- package/build/components/popover.d.ts +4 -4
- package/build/components/revealer.d.ts +2 -2
- package/build/components/select.d.ts +2 -2
- package/build/components/separator.d.ts +5 -5
- package/build/components/skeleton.d.ts +3 -2
- package/build/components/spinner.d.ts +3 -2
- package/build/components/text-button.d.ts +2 -2
- package/build/components/text.d.ts +9 -8
- package/build/components/theme-setter.d.ts +2 -2
- package/build/components/veil.d.ts +2 -1
- package/build/components/wrapper.d.ts +2 -2
- package/build/components.css +1 -1
- package/build/icons/anchor-down.d.ts +2 -2
- package/build/icons/anchor-up.d.ts +2 -2
- package/build/icons/arrow-down.d.ts +2 -2
- package/build/icons/arrow-left.d.ts +2 -2
- package/build/icons/arrow-right.d.ts +2 -2
- package/build/icons/arrow-up.d.ts +2 -2
- package/build/icons/caret-down.d.ts +2 -2
- package/build/icons/caret-left.d.ts +2 -2
- package/build/icons/caret-right.d.ts +2 -2
- package/build/icons/caret-up.d.ts +2 -2
- package/build/icons/check.d.ts +2 -2
- package/build/icons/chevron-down.d.ts +2 -2
- package/build/icons/chevron-left.d.ts +2 -2
- package/build/icons/chevron-right.d.ts +2 -2
- package/build/icons/chevron-up.d.ts +2 -2
- package/build/icons/chrome-browser-logo.d.ts +2 -2
- package/build/icons/cog.d.ts +2 -2
- package/build/icons/copy.d.ts +2 -2
- package/build/icons/document.d.ts +2 -2
- package/build/icons/dots.d.ts +2 -2
- package/build/icons/drag.d.ts +2 -2
- package/build/icons/edge-browser-logo.d.ts +2 -2
- package/build/icons/edit.d.ts +2 -2
- package/build/icons/exclamation-triangle.d.ts +2 -2
- package/build/icons/external.d.ts +2 -2
- package/build/icons/eye.d.ts +2 -2
- package/build/icons/icon.d.ts +2 -2
- package/build/icons/information.d.ts +2 -2
- package/build/icons/kakadu-guide-glyph.d.ts +2 -2
- package/build/icons/kakadu-guide-icon.d.ts +2 -2
- package/build/icons/menu.d.ts +2 -2
- package/build/icons/package.d.ts +2 -2
- package/build/icons/plus.d.ts +2 -2
- package/build/icons/select.d.ts +2 -2
- package/build/icons/share.d.ts +2 -2
- package/build/icons/sparkle.d.ts +2 -2
- package/build/icons/test.d.ts +2 -2
- package/build/icons/times.d.ts +2 -2
- package/build/icons/trash.d.ts +2 -2
- package/build/icons/trend-up.d.ts +2 -2
- package/build/theme.d.ts +2 -1
- package/package.json +16 -22
package/build/icons/copy.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function CopySvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function CopySvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function DocumentSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function DocumentSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/dots.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function DotsSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function DotsSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/drag.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function DragSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function DragSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function EdgeBrowserLogoSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function EdgeBrowserLogoSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/edit.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function EditSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function EditSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function ExclamationTriangleSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function ExclamationTriangleSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function ExternalSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function ExternalSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/eye.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function EyeSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function EyeSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/icon.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
export declare const iconTypes: readonly ["anchorDown", "anchorUp", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "caretDown", "caretLeft", "caretRight", "caretUp", "check", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "cog", "copy", "document", "dots", "drag", "edit", "external", "exclamationTriangle", "eye", "information", "kakaduGuideGlyph", "kakaduGuide", "menu", "package", "plus", "select", "share", "sparkle", "test", "times", "trash", "trendUp", "chromeBrowserLogo", "edgeBrowserLogo"];
|
|
3
3
|
export type IconType = (typeof iconTypes)[number];
|
|
4
4
|
export type IconProperties = ComponentPropsWithoutRef<'svg'> & {
|
|
@@ -6,4 +6,4 @@ export type IconProperties = ComponentPropsWithoutRef<'svg'> & {
|
|
|
6
6
|
readonly size?: number;
|
|
7
7
|
};
|
|
8
8
|
export declare const iconShadowStyles: string;
|
|
9
|
-
export default function Icon({ type, size, ...properties }: IconProperties):
|
|
9
|
+
export default function Icon({ type, size, ...properties }: IconProperties): React.JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function InformationSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function InformationSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function KakaduGuideGlyphSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function KakaduGuideGlyphSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function KakaduGuideIconSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function KakaduGuideIconSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/menu.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function MenuSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function MenuSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/package.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function PackageSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function PackageSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/plus.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function PlusSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function PlusSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/select.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function SelectSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function SelectSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/share.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function ShareSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function ShareSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/sparkle.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function SparkleSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function SparkleSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/test.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function TestSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function TestSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/times.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function TimesSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function TimesSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/icons/trash.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function TrashSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function TrashSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export default function TrendUpSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>):
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export default function TrendUpSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
package/build/theme.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const lightBackgroundColor = "#f8fafc";
|
|
2
3
|
export declare const darkBackgroundColor = "#0c0d12";
|
|
3
4
|
export declare const font: {
|
|
@@ -8,7 +9,7 @@ export declare const font: {
|
|
|
8
9
|
crossOrigin: boolean;
|
|
9
10
|
}[];
|
|
10
11
|
};
|
|
11
|
-
export declare function FontFamilyHead():
|
|
12
|
+
export declare function FontFamilyHead(): React.JSX.Element;
|
|
12
13
|
declare const theme: string;
|
|
13
14
|
export default theme;
|
|
14
15
|
export declare const overflowProtectionStyles: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kakadu/components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Kakadu components library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -63,46 +63,40 @@
|
|
|
63
63
|
"@kuma-ui/vite": "^1.5.1",
|
|
64
64
|
"fast-levenshtein": "^3.0.0",
|
|
65
65
|
"focus-trap-react": "^11.0.6",
|
|
66
|
-
"next": "^16.2.
|
|
66
|
+
"next": "^16.2.10"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@chromatic-com/storybook": "^4.1.2",
|
|
70
70
|
"@kuma-ui/core": "^1.6.4",
|
|
71
|
-
"@storybook/addon-a11y": "^10.
|
|
72
|
-
"@storybook/addon-docs": "^10.
|
|
73
|
-
"@storybook/addon-vitest": "^10.
|
|
74
|
-
"@storybook/nextjs-vite": "^10.
|
|
71
|
+
"@storybook/addon-a11y": "^10.4.6",
|
|
72
|
+
"@storybook/addon-docs": "^10.4.6",
|
|
73
|
+
"@storybook/addon-vitest": "^10.4.6",
|
|
74
|
+
"@storybook/nextjs-vite": "^10.4.6",
|
|
75
75
|
"@testing-library/jest-dom": "^6.9.1",
|
|
76
76
|
"@testing-library/react": "^16.3.0",
|
|
77
77
|
"@testing-library/user-event": "^14.6.1",
|
|
78
78
|
"@types/fast-levenshtein": "^0.0.4",
|
|
79
|
-
"@types/node": "^20",
|
|
80
|
-
"@types/react": "^19",
|
|
81
|
-
"@types/react-dom": "^19",
|
|
79
|
+
"@types/node": "^20.19.43",
|
|
80
|
+
"@types/react": "^19.2.17",
|
|
81
|
+
"@types/react-dom": "^19.2.3",
|
|
82
82
|
"@vitejs/plugin-react": "^5.1.0",
|
|
83
83
|
"@vitest/browser-playwright": "^4.0.4",
|
|
84
84
|
"@vitest/coverage-v8": "^4.0.4",
|
|
85
85
|
"chromatic": "^13.3.5",
|
|
86
86
|
"dotenv": "^17.2.3",
|
|
87
87
|
"eslint-config-xo-react": "^0.27.0",
|
|
88
|
-
"eslint-plugin-storybook": "^10.
|
|
88
|
+
"eslint-plugin-storybook": "^10.4.6",
|
|
89
89
|
"jsdom": "^27.2.0",
|
|
90
|
-
"playwright": "^1.
|
|
91
|
-
"prettier": "^3.
|
|
92
|
-
"react": "^19.2.
|
|
93
|
-
"react-dom": "^19.2.
|
|
94
|
-
"storybook": "^10.
|
|
90
|
+
"playwright": "^1.61.1",
|
|
91
|
+
"prettier": "^3.9.4",
|
|
92
|
+
"react": "^19.2.7",
|
|
93
|
+
"react-dom": "^19.2.7",
|
|
94
|
+
"storybook": "^10.4.6",
|
|
95
95
|
"typescript": "^5",
|
|
96
|
-
"vite": "^6.
|
|
96
|
+
"vite": "^6.4.3",
|
|
97
97
|
"vitest": "^4.0.4",
|
|
98
98
|
"xo": "^0.59.3"
|
|
99
99
|
},
|
|
100
|
-
"overrides": {
|
|
101
|
-
"react": "^19.2.0",
|
|
102
|
-
"react-dom": "^19.2.0",
|
|
103
|
-
"@types/react": "^19",
|
|
104
|
-
"@types/react-dom": "^19"
|
|
105
|
-
},
|
|
106
100
|
"xo": {
|
|
107
101
|
"extends": [
|
|
108
102
|
"xo-react"
|