@kakadu/components 6.1.1 → 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.
Files changed (104) hide show
  1. package/build/components/aria-text.d.ts +2 -1
  2. package/build/components/box.d.ts +2 -1
  3. package/build/components/button-tooltip.d.ts +2 -1
  4. package/build/components/button.d.ts +3 -3
  5. package/build/components/button.js +1 -1
  6. package/build/components/button.mjs +27 -25
  7. package/build/components/card.d.ts +2 -2
  8. package/build/components/click-ripples.d.ts +2 -2
  9. package/build/components/collapsible.d.ts +2 -2
  10. package/build/components/combobox.d.ts +2 -2
  11. package/build/components/copy-icon-button.d.ts +2 -1
  12. package/build/components/datum.d.ts +2 -2
  13. package/build/components/dot.d.ts +2 -2
  14. package/build/components/flex.d.ts +2 -1
  15. package/build/components/footer.d.ts +2 -2
  16. package/build/components/gauge.d.ts +2 -1
  17. package/build/components/header.d.ts +2 -1
  18. package/build/components/hover-gradient.d.ts +2 -2
  19. package/build/components/icon-button.d.ts +2 -2
  20. package/build/components/input.d.ts +3 -3
  21. package/build/components/input.js +2 -2
  22. package/build/components/input.mjs +21 -21
  23. package/build/components/logos/akt-logo.d.ts +2 -2
  24. package/build/components/logos/amedia-logo.d.ts +2 -2
  25. package/build/components/logos/bankaxept-logo.d.ts +2 -2
  26. package/build/components/logos/bankid-logo.d.ts +2 -2
  27. package/build/components/logos/dnb-logo.d.ts +2 -2
  28. package/build/components/logos/entur-logo.d.ts +2 -2
  29. package/build/components/logos/gjensidige-logo.d.ts +2 -2
  30. package/build/components/logos/kakadu-academy-logo.d.ts +2 -2
  31. package/build/components/logos/kakadu-guide-icon.d.ts +2 -1
  32. package/build/components/logos/kakadu-guide-logo.d.ts +3 -3
  33. package/build/components/logos/kakadu-index-logo.d.ts +2 -2
  34. package/build/components/logos/kakadu-logo.d.ts +2 -2
  35. package/build/components/logos/kakadu-play-logo.d.ts +2 -2
  36. package/build/components/logos/kolumbus-logo.d.ts +2 -2
  37. package/build/components/logos/nordea-logo.d.ts +2 -2
  38. package/build/components/logos/norsk-tipping-logo.d.ts +2 -2
  39. package/build/components/logos/ruter-logo.d.ts +2 -2
  40. package/build/components/logos/senteret-for-et-aldersvennlig-norge-logo.d.ts +2 -2
  41. package/build/components/logos/sparebank1-logo.d.ts +2 -2
  42. package/build/components/logos/sparebanken-norge-logo.d.ts +2 -2
  43. package/build/components/logos/sto-logo.d.ts +2 -2
  44. package/build/components/logos/storebrand-logo.d.ts +2 -2
  45. package/build/components/modal.d.ts +6 -6
  46. package/build/components/notice.d.ts +2 -2
  47. package/build/components/notification.d.ts +8 -6
  48. package/build/components/notification.js +1 -1
  49. package/build/components/notification.mjs +87 -71
  50. package/build/components/popover-menu.d.ts +3 -3
  51. package/build/components/popover.d.ts +4 -4
  52. package/build/components/revealer.d.ts +2 -2
  53. package/build/components/select.d.ts +2 -2
  54. package/build/components/separator.d.ts +5 -5
  55. package/build/components/skeleton.d.ts +3 -2
  56. package/build/components/spinner.d.ts +3 -2
  57. package/build/components/text-button.d.ts +2 -2
  58. package/build/components/text.d.ts +9 -8
  59. package/build/components/theme-setter.d.ts +2 -2
  60. package/build/components/veil.d.ts +2 -1
  61. package/build/components/wrapper.d.ts +2 -2
  62. package/build/components.css +1 -1
  63. package/build/icons/anchor-down.d.ts +2 -2
  64. package/build/icons/anchor-up.d.ts +2 -2
  65. package/build/icons/arrow-down.d.ts +2 -2
  66. package/build/icons/arrow-left.d.ts +2 -2
  67. package/build/icons/arrow-right.d.ts +2 -2
  68. package/build/icons/arrow-up.d.ts +2 -2
  69. package/build/icons/caret-down.d.ts +2 -2
  70. package/build/icons/caret-left.d.ts +2 -2
  71. package/build/icons/caret-right.d.ts +2 -2
  72. package/build/icons/caret-up.d.ts +2 -2
  73. package/build/icons/check.d.ts +2 -2
  74. package/build/icons/chevron-down.d.ts +2 -2
  75. package/build/icons/chevron-left.d.ts +2 -2
  76. package/build/icons/chevron-right.d.ts +2 -2
  77. package/build/icons/chevron-up.d.ts +2 -2
  78. package/build/icons/chrome-browser-logo.d.ts +2 -2
  79. package/build/icons/cog.d.ts +2 -2
  80. package/build/icons/copy.d.ts +2 -2
  81. package/build/icons/document.d.ts +2 -2
  82. package/build/icons/dots.d.ts +2 -2
  83. package/build/icons/drag.d.ts +2 -2
  84. package/build/icons/edge-browser-logo.d.ts +2 -2
  85. package/build/icons/edit.d.ts +2 -2
  86. package/build/icons/exclamation-triangle.d.ts +2 -2
  87. package/build/icons/external.d.ts +2 -2
  88. package/build/icons/eye.d.ts +2 -2
  89. package/build/icons/icon.d.ts +2 -2
  90. package/build/icons/information.d.ts +2 -2
  91. package/build/icons/kakadu-guide-glyph.d.ts +2 -2
  92. package/build/icons/kakadu-guide-icon.d.ts +2 -2
  93. package/build/icons/menu.d.ts +2 -2
  94. package/build/icons/package.d.ts +2 -2
  95. package/build/icons/plus.d.ts +2 -2
  96. package/build/icons/select.d.ts +2 -2
  97. package/build/icons/share.d.ts +2 -2
  98. package/build/icons/sparkle.d.ts +2 -2
  99. package/build/icons/test.d.ts +2 -2
  100. package/build/icons/times.d.ts +2 -2
  101. package/build/icons/trash.d.ts +2 -2
  102. package/build/icons/trend-up.d.ts +2 -2
  103. package/build/theme.d.ts +2 -1
  104. package/package.json +16 -22
@@ -1,2 +1,2 @@
1
- import { type ComponentPropsWithoutRef } from 'react';
2
- export default function TimesSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
1
+ import React, { type ComponentPropsWithoutRef } from 'react';
2
+ export default function TimesSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type ComponentPropsWithoutRef } from 'react';
2
- export default function TrashSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
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'>): import("react/jsx-runtime").JSX.Element;
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(): import("react/jsx-runtime").JSX.Element;
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.1.1",
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.7"
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.0.0",
72
- "@storybook/addon-docs": "^10.0.0",
73
- "@storybook/addon-vitest": "^10.0.0",
74
- "@storybook/nextjs-vite": "^10.0.0",
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.0.0",
88
+ "eslint-plugin-storybook": "^10.4.6",
89
89
  "jsdom": "^27.2.0",
90
- "playwright": "^1.60.0",
91
- "prettier": "^3.6.2",
92
- "react": "^19.2.0",
93
- "react-dom": "^19.2.0",
94
- "storybook": "^10.0.0",
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.0.0",
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"