@kakadu/components 0.1.3 → 1.0.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 (209) hide show
  1. package/build/aria-text.d.ts +5 -0
  2. package/build/aria-text.js +1 -0
  3. package/build/aria-text.mjs +15 -0
  4. package/build/atom.d.ts +10 -2
  5. package/build/atom.js +1 -1
  6. package/build/atom.mjs +10 -3
  7. package/build/bankid-logo.d.ts +2 -0
  8. package/build/bankid-logo.js +1 -0
  9. package/build/bankid-logo.mjs +43 -0
  10. package/build/box.d.ts +4 -1
  11. package/build/box.js +1 -1
  12. package/build/box.mjs +11 -2
  13. package/build/button-tooltip.d.ts +4 -0
  14. package/build/button-tooltip.js +1 -0
  15. package/build/button-tooltip.mjs +11 -0
  16. package/build/button.d.ts +32 -0
  17. package/build/button.js +1 -0
  18. package/build/button.mjs +69 -0
  19. package/build/card.d.ts +8 -0
  20. package/build/card.js +1 -0
  21. package/build/card.mjs +36 -0
  22. package/build/click-ripples.d.ts +2 -0
  23. package/build/click-ripples.js +1 -0
  24. package/build/click-ripples.mjs +60 -0
  25. package/build/components.css +1 -1
  26. package/build/datum.d.ts +5 -0
  27. package/build/datum.js +1 -0
  28. package/build/datum.mjs +27 -0
  29. package/build/dnb-logo.d.ts +2 -0
  30. package/build/dnb-logo.js +1 -0
  31. package/build/dnb-logo.mjs +31 -0
  32. package/build/dot.d.ts +2 -0
  33. package/build/dot.js +1 -0
  34. package/build/dot.mjs +10 -0
  35. package/build/flex.d.ts +14 -2
  36. package/build/flex.js +1 -1
  37. package/build/flex.mjs +17 -2
  38. package/build/footer.d.ts +3 -0
  39. package/build/footer.js +1 -0
  40. package/build/footer.mjs +65 -0
  41. package/build/gauge.d.ts +6 -2
  42. package/build/gauge.js +1 -1
  43. package/build/gauge.mjs +39 -2
  44. package/build/gjensidige-logo.d.ts +2 -0
  45. package/build/gjensidige-logo.js +1 -0
  46. package/build/gjensidige-logo.mjs +30 -0
  47. package/build/hooks/use-media-query.d.ts +1 -0
  48. package/build/hooks/use-media-query.js +1 -0
  49. package/build/hooks/use-media-query.mjs +20 -0
  50. package/build/hover-gradient.d.ts +5 -0
  51. package/build/hover-gradient.js +1 -0
  52. package/build/hover-gradient.mjs +48 -0
  53. package/build/icon-button.d.ts +13 -0
  54. package/build/icon-button.js +1 -0
  55. package/build/icon-button.mjs +45 -0
  56. package/build/icon.js +1 -0
  57. package/build/icon.mjs +50 -0
  58. package/build/icons/arrow-down.d.ts +2 -0
  59. package/build/icons/arrow-down.js +1 -0
  60. package/build/icons/arrow-down.mjs +24 -0
  61. package/build/icons/caret-down.d.ts +2 -0
  62. package/build/icons/caret-down.js +1 -0
  63. package/build/icons/caret-down.mjs +27 -0
  64. package/build/icons/caret-right.d.ts +2 -0
  65. package/build/icons/caret-right.js +1 -0
  66. package/build/icons/caret-right.mjs +27 -0
  67. package/build/icons/check.d.ts +2 -0
  68. package/build/icons/check.js +1 -0
  69. package/build/icons/check.mjs +27 -0
  70. package/build/icons/chevron-down.d.ts +2 -0
  71. package/build/icons/chevron-down.js +1 -0
  72. package/build/icons/chevron-down.mjs +27 -0
  73. package/build/icons/chevron-up.d.ts +2 -0
  74. package/build/icons/chevron-up.js +1 -0
  75. package/build/icons/chevron-up.mjs +27 -0
  76. package/build/icons/chrome-browser-logo.d.ts +2 -0
  77. package/build/icons/chrome-browser-logo.js +1 -0
  78. package/build/icons/chrome-browser-logo.mjs +24 -0
  79. package/build/icons/copy.d.ts +2 -0
  80. package/build/icons/copy.js +1 -0
  81. package/build/icons/copy.mjs +29 -0
  82. package/build/icons/edge-browser-logo.d.ts +2 -0
  83. package/build/icons/edge-browser-logo.js +1 -0
  84. package/build/icons/edge-browser-logo.mjs +24 -0
  85. package/build/icons/edit.d.ts +2 -0
  86. package/build/icons/edit.js +1 -0
  87. package/build/icons/edit.mjs +27 -0
  88. package/build/icons/exclamation-triangle.d.ts +2 -0
  89. package/build/icons/exclamation-triangle.js +1 -0
  90. package/build/icons/exclamation-triangle.mjs +29 -0
  91. package/build/icons/icon.d.ts +25 -0
  92. package/build/icons/kakadu-guide-glyph.d.ts +2 -0
  93. package/build/icons/kakadu-guide-glyph.js +1 -0
  94. package/build/icons/kakadu-guide-glyph.mjs +24 -0
  95. package/build/icons/kakadu-guide.d.ts +2 -0
  96. package/build/icons/kakadu-guide.js +1 -0
  97. package/build/icons/kakadu-guide.mjs +27 -0
  98. package/build/icons/menu.d.ts +2 -0
  99. package/build/icons/menu.js +1 -0
  100. package/build/icons/menu.mjs +25 -0
  101. package/build/icons/plus.d.ts +2 -0
  102. package/build/icons/plus.js +1 -0
  103. package/build/icons/plus.mjs +27 -0
  104. package/build/icons/test.d.ts +2 -0
  105. package/build/icons/test.js +1 -0
  106. package/build/icons/test.mjs +29 -0
  107. package/build/icons/times.d.ts +2 -0
  108. package/build/icons/times.js +1 -0
  109. package/build/icons/times.mjs +27 -0
  110. package/build/index.html +0 -0
  111. package/build/kakadu-guide-icon.d.ts +3 -0
  112. package/build/kakadu-guide-icon.js +1 -0
  113. package/build/kakadu-guide-icon.mjs +14 -0
  114. package/build/kakadu-guide-logo.d.ts +10 -0
  115. package/build/kakadu-guide-logo.js +1 -0
  116. package/build/kakadu-guide-logo.mjs +59 -0
  117. package/build/kakadu-index-logo.d.ts +2 -0
  118. package/build/kakadu-index-logo.js +1 -0
  119. package/build/kakadu-index-logo.mjs +66 -0
  120. package/build/kakadu-logo.d.ts +2 -0
  121. package/build/kakadu-logo.js +1 -0
  122. package/build/kakadu-logo.mjs +44 -0
  123. package/build/modal.d.ts +28 -0
  124. package/build/modal.js +9 -0
  125. package/build/modal.mjs +1246 -0
  126. package/build/moving-gradients.d.ts +9 -0
  127. package/build/moving-gradients.js +1 -0
  128. package/build/moving-gradients.mjs +86 -0
  129. package/build/moving-stars.d.ts +12 -0
  130. package/build/moving-stars.js +1 -0
  131. package/build/moving-stars.mjs +90 -0
  132. package/build/notice.d.ts +12 -0
  133. package/build/notice.js +1 -0
  134. package/build/notice.mjs +22 -0
  135. package/build/notification.d.ts +17 -0
  136. package/build/notification.js +1 -0
  137. package/build/notification.mjs +84 -0
  138. package/build/revealer.d.ts +20 -0
  139. package/build/revealer.js +1 -0
  140. package/build/revealer.mjs +76 -0
  141. package/build/separator.d.ts +5 -0
  142. package/build/separator.js +1 -0
  143. package/build/separator.mjs +24 -0
  144. package/build/skeleton.d.ts +15 -1
  145. package/build/skeleton.js +1 -1
  146. package/build/skeleton.mjs +38 -3
  147. package/build/sparebank1-logo.d.ts +2 -0
  148. package/build/sparebank1-logo.js +1 -0
  149. package/build/sparebank1-logo.mjs +61 -0
  150. package/build/spinner.d.ts +10 -1
  151. package/build/spinner.js +1 -1
  152. package/build/spinner.mjs +31 -2
  153. package/build/sto-logo.d.ts +2 -0
  154. package/build/sto-logo.js +1 -0
  155. package/build/sto-logo.mjs +53 -0
  156. package/build/storebrand-logo.d.ts +2 -0
  157. package/build/storebrand-logo.js +1 -0
  158. package/build/storebrand-logo.mjs +46 -0
  159. package/build/text-button.d.ts +19 -0
  160. package/build/text-button.js +1 -0
  161. package/build/text-button.mjs +36 -0
  162. package/build/text.d.ts +11 -1
  163. package/build/text.js +1 -1
  164. package/build/text.mjs +49 -5
  165. package/build/theme-setter.d.ts +11 -0
  166. package/build/theme-setter.js +20 -0
  167. package/build/theme-setter.mjs +79 -0
  168. package/build/theme.d.ts +4 -0
  169. package/build/theme.js +1 -1
  170. package/build/theme.mjs +13 -8
  171. package/build/utilities/copy-to-clipboard.d.ts +1 -0
  172. package/build/utilities/copy-to-clipboard.js +1 -0
  173. package/build/utilities/copy-to-clipboard.mjs +26 -0
  174. package/build/utilities/generate-random-id.d.ts +1 -0
  175. package/build/utilities/generate-random-id.js +1 -0
  176. package/build/utilities/generate-random-id.mjs +14 -0
  177. package/build/utilities/scale.d.ts +11 -0
  178. package/build/utilities/scale.js +1 -0
  179. package/build/utilities/scale.mjs +13 -0
  180. package/build/veil.d.ts +3 -0
  181. package/build/veil.js +1 -0
  182. package/build/veil.mjs +17 -0
  183. package/package.json +278 -19
  184. package/readme.md +14 -12
  185. package/theme.tsx +133 -27
  186. package/build/atom-B-bW2QKm.js +0 -1
  187. package/build/atom-CqxGy6PS.mjs +0 -12
  188. package/build/box-BdUR8k49.js +0 -1
  189. package/build/box-DmpGO-yx.mjs +0 -13
  190. package/build/components/atom.d.ts +0 -10
  191. package/build/components/box.d.ts +0 -4
  192. package/build/components/flex.d.ts +0 -7
  193. package/build/components/gauge.d.ts +0 -6
  194. package/build/components/skeleton.d.ts +0 -13
  195. package/build/components/spinner.d.ts +0 -5
  196. package/build/components/text.d.ts +0 -7
  197. package/build/flex-C4bEYrMM.mjs +0 -16
  198. package/build/flex-JFSv9GFG.js +0 -1
  199. package/build/gauge-C1CypvvD.mjs +0 -41
  200. package/build/gauge-mog6SjVx.js +0 -1
  201. package/build/index.d.ts +0 -11
  202. package/build/index.js +0 -1
  203. package/build/index.mjs +0 -26
  204. package/build/skeleton-B5bJ732_.js +0 -1
  205. package/build/skeleton-C593Afco.mjs +0 -48
  206. package/build/spinner-BWIY_fuB.mjs +0 -14
  207. package/build/spinner-Ci3vM4Cv.js +0 -1
  208. package/build/text-BO7Qt7Lj.js +0 -1
  209. package/build/text-ZYVNxqac.mjs +0 -39
@@ -0,0 +1,31 @@
1
+ import { j as l } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import o from "./utilities/scale.mjs";
3
+ function g({
4
+ fill: t,
5
+ ...a
6
+ }) {
7
+ const { width: i, height: h } = o({
8
+ originalWidth: 93.0362,
9
+ originalHeight: 64,
10
+ width: a.width,
11
+ height: a.height
12
+ });
13
+ return /* @__PURE__ */ l.jsx(
14
+ "svg",
15
+ {
16
+ viewBox: "0 0 93.0362 64",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ ...a,
19
+ width: i,
20
+ height: h,
21
+ children: /* @__PURE__ */ l.jsxs("g", { fill: t ?? "#007272", fillRule: "evenodd", children: [
22
+ /* @__PURE__ */ l.jsx("path", { d: "M89.668 31.9442a10.6487 10.6487 0 0 0-1.8465-1.2184l-.178-.0887.1554-.1337a8.7063 8.7063 0 0 0 2.7652-6.848c-.006-3.3331-1.1437-5.82-3.413-7.3936-1.9135-1.3528-4.5588-2.0142-8.092-2.0079l-10.1326.0182a1.081 1.081 0 0 0-1.0645 1.0685l.0597 33.2203a1.0667 1.0667 0 0 0 1.0685 1.0646l11.577-.0208c3.644-.0065 6.5758-.7897 8.684-2.3266a8.6558 8.6558 0 0 0 2.7937-3.4054 11.2675 11.2675 0 0 0 .9913-4.868 8.967 8.967 0 0 0-3.3681-7.0605zM71.1547 17.5795l7.9106-.0142q4.1997-.0076 6.202 1.3885c.8454.5985 2.003 1.752 2.0083 4.7074.0095 5.2883-4.1672 5.7179-5.4338 5.7201l-10.6659.0192zm9.4066 28.7366l-9.355.0168-.0244-13.6438 10.6659-.0191c4.6219-.0083 7.8707 2.6072 7.8774 6.3407.0033 1.8.0131 7.289-9.1639 7.3054z" }),
23
+ /* @__PURE__ */ l.jsx("path", { d: "M22.4948 19.6221a14.0642 14.0642 0 0 0-5.5848-4.101 16.8443 16.8443 0 0 0-6.2238-1.1443l-9.6215.0173A1.086 1.086 0 0 0 0 15.4853L.0597 48.683a1.0668 1.0668 0 0 0 1.0686 1.0646l9.6214-.0173a16.3939 16.3939 0 0 0 6.2197-1.1667 13.8015 13.8015 0 0 0 5.57-4.0994c3.3924-4.1833 3.894-9.4508 3.889-12.2284-.0043-2.3544-.3927-8.2876-3.9336-12.6136zm-2.5144 22.758a11.615 11.615 0 0 1-9.2366 4.0615l-7.3773.0133-.0516-28.7535 7.3772-.0132a11.5412 11.5412 0 0 1 9.2512 4.0271c2.9396 3.5948 3.1714 8.9716 3.1742 10.5264.0042 2.3338-.3878 6.7559-3.137 10.1384z" }),
24
+ /* @__PURE__ */ l.jsx("path", { d: "M59.9016 0l.0877 48.7976a.9801.9801 0 0 1-.6872.956.7852.7852 0 0 1-.311.0678 1.011 1.011 0 0 1-.8229-.4217L36.3643 21.7303l.076 42.2638L33.1294 64l-.0879-48.9083a.9989.9989 0 0 1 .7094-.956.706.706 0 0 1 .311-.045 1.0218 1.0218 0 0 1 .8229.3978l21.8038 27.6922L56.6128.0059z" })
25
+ ] })
26
+ }
27
+ );
28
+ }
29
+ export {
30
+ g as default
31
+ };
package/build/dot.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import { type HTMLProps } from 'react';
2
+ export default function Dot({ className }: HTMLProps<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
package/build/dot.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./jsx-runtime-BB_1_6y_.js"),r=require("@kuma-ui/core");function s({className:e}){return t.jsxRuntimeExports.jsx("span",{className:r.cx("kakadu-components-2022754336",e),children:"•"})}exports.default=s;
package/build/dot.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { j as t } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { cx as r } from "@kuma-ui/core";
3
+ function n({
4
+ className: o
5
+ }) {
6
+ return /* @__PURE__ */ t.jsx("span", { className: r("kakadu-components-2022754336", o), children: "•" });
7
+ }
8
+ export {
9
+ n as default
10
+ };
package/build/flex.d.ts CHANGED
@@ -1,2 +1,14 @@
1
- export { default } from './components/flex';
2
- export type { FlexProperties } from './components/flex';
1
+ import { type AtomElementType, type AtomProperties, type DefaultAtomElementType } from './atom';
2
+ export declare enum FlexAlignment {
3
+ start = "start",
4
+ center = "center",
5
+ space_between = "space-between",
6
+ end = "end"
7
+ }
8
+ export type FlexProperties<Type extends AtomElementType = DefaultAtomElementType> = AtomProperties<Type> & {
9
+ readonly direction?: 'row' | 'column';
10
+ readonly alignment?: FlexAlignment;
11
+ readonly gap?: 0 | 0.25 | 0.375 | 0.5 | 0.75 | 1 | 1.5 | 2 | 2.25 | 3 | 4;
12
+ readonly wrap?: boolean;
13
+ };
14
+ export default function Flex<Type extends AtomElementType = DefaultAtomElementType>({ as, direction, alignment, gap, wrap, className, ...properties }: FlexProperties<Type>): import("react/jsx-runtime").JSX.Element;
package/build/flex.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./flex-JFSv9GFG.js");exports.default=e.Flex;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./jsx-runtime-BB_1_6y_.js"),r=require("@kuma-ui/core"),t=require("./atom.js");var a=(o=>(o.start="start",o.center="center",o.space_between="space-between",o.end="end",o))(a||{});function m({as:o,direction:s="column",alignment:n,gap:e=1,wrap:u=!1,className:c,...k}){return d.jsxRuntimeExports.jsx(t.default,{as:o??t.defaultAtomElementType,...k,className:r.cx("kakadu-components-563258661",s==="column"&&"kakadu-components-1546485850",n==="start"&&"kakadu-components-223643817",n==="center"&&"kakadu-components-4038850420",n==="space-between"&&"kakadu-components-317611484",n==="end"&&"kakadu-components-2767496155",e===.25&&"kakadu-components-2276234075",e===.375&&"kakadu-components-739568937",e===.5&&"kakadu-components-3438335458",e===.75&&"kakadu-components-3350948469",e===1&&"kakadu-components-3993051137",e===1.5&&"kakadu-components-4186556816",e===2&&"kakadu-components-1435205015",e===2.25&&"kakadu-components-4251546321",e===3&&"kakadu-components-1168734547",e===4&&"kakadu-components-1543861259",u&&"kakadu-components-3545808562",c)})}exports.FlexAlignment=a;exports.default=m;
package/build/flex.mjs CHANGED
@@ -1,4 +1,19 @@
1
- import { F as f } from "./flex-C4bEYrMM.mjs";
1
+ import { j as c } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { cx as u } from "@kuma-ui/core";
3
+ import m, { defaultAtomElementType as d } from "./atom.mjs";
4
+ var r = /* @__PURE__ */ ((e) => (e.start = "start", e.center = "center", e.space_between = "space-between", e.end = "end", e))(r || {});
5
+ function j({
6
+ as: e,
7
+ direction: a = "column",
8
+ alignment: n,
9
+ gap: o = 1,
10
+ wrap: t = !1,
11
+ className: k,
12
+ ...s
13
+ }) {
14
+ return /* @__PURE__ */ c.jsx(m, { as: e ?? d, ...s, className: u("kakadu-components-563258661", a === "column" && "kakadu-components-1546485850", n === "start" && "kakadu-components-223643817", n === "center" && "kakadu-components-4038850420", n === "space-between" && "kakadu-components-317611484", n === "end" && "kakadu-components-2767496155", o === 0.25 && "kakadu-components-2276234075", o === 0.375 && "kakadu-components-739568937", o === 0.5 && "kakadu-components-3438335458", o === 0.75 && "kakadu-components-3350948469", o === 1 && "kakadu-components-3993051137", o === 1.5 && "kakadu-components-4186556816", o === 2 && "kakadu-components-1435205015", o === 2.25 && "kakadu-components-4251546321", o === 3 && "kakadu-components-1168734547", o === 4 && "kakadu-components-1543861259", t && "kakadu-components-3545808562", k) });
15
+ }
2
16
  export {
3
- f as default
17
+ r as FlexAlignment,
18
+ j as default
4
19
  };
@@ -0,0 +1,3 @@
1
+ export default function Footer({ isFullWidth, }: {
2
+ readonly isFullWidth?: boolean;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./jsx-runtime-BB_1_6y_.js"),n=require("@kuma-ui/core"),i=require("./theme.js"),e=require("./flex.js"),t=require("./text.js"),x=require("./kakadu-logo.js"),o=require("./moving-stars.js"),u=require("./aria-text.js"),r="kakadu-components-975968984";function l({isFullWidth:a=!0}){return s.jsxRuntimeExports.jsxs(e.default,{as:"footer","data-theme":"dark",gap:3,className:n.cx(i.default,"kakadu-components-2077625773"),children:[s.jsxRuntimeExports.jsxs(e.default,{gap:3,className:"kakadu-components-2688329595",children:[s.jsxRuntimeExports.jsxs(e.default,{direction:"row",gap:4,className:n.cx("kakadu-components-555302578",a&&"kakadu-components-1177815273"),children:[s.jsxRuntimeExports.jsxs(e.default,{direction:"column",alignment:e.FlexAlignment.start,gap:.5,children:[s.jsxRuntimeExports.jsx(t.Paragraph,{children:s.jsxRuntimeExports.jsx("strong",{children:"Products"})}),s.jsxRuntimeExports.jsxs(t.Paragraph,{as:"ul",className:r,children:[s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"https://guide.kakadu.no",children:"Kakadu Guide"})}),s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"https://utforsk.kakadu.no/kakadu-start",children:"Kakadu Kolibri"})})]})]}),s.jsxRuntimeExports.jsxs(e.default,{direction:"column",alignment:e.FlexAlignment.start,gap:.5,children:[s.jsxRuntimeExports.jsx(t.Paragraph,{children:s.jsxRuntimeExports.jsx("strong",{children:"Results"})}),s.jsxRuntimeExports.jsxs(t.Paragraph,{as:"ul",className:r,children:[s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"#",children:"Case studies"})}),s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"#",children:"Impact measurement"})})]})]}),s.jsxRuntimeExports.jsxs(e.default,{direction:"column",alignment:e.FlexAlignment.start,gap:.5,children:[s.jsxRuntimeExports.jsx(t.Paragraph,{children:s.jsxRuntimeExports.jsx("strong",{children:"About us"})}),s.jsxRuntimeExports.jsxs(t.Paragraph,{as:"ul",className:r,children:[s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"#",children:"Our story"})}),s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"https://utforsk.kakadu.no/kontakt-oss",children:"Contact"})}),s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{target:"_blank",rel:"noopener noreferrer",href:"https://kakadu.instatus.com",children:"Status"})})]})]}),s.jsxRuntimeExports.jsxs(e.default,{direction:"column",alignment:e.FlexAlignment.start,gap:.5,children:[s.jsxRuntimeExports.jsx(t.Paragraph,{children:s.jsxRuntimeExports.jsx("strong",{children:"Compliance"})}),s.jsxRuntimeExports.jsxs(t.Paragraph,{as:"ul",className:r,children:[s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"https://utforsk.kakadu.no/personvernerklaering",children:"Privacy"})}),s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"https://utforsk.kakadu.no/etiske-retningslinjer",children:"Ethical guidelines"})}),s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"#",children:"Security"})})]})]}),s.jsxRuntimeExports.jsx(e.default,{className:"kakadu-components-1446644085",children:s.jsxRuntimeExports.jsx("a",{href:"https://businessnorway.com/made-in-norway",target:"_blank",rel:"noopener noreferrer",className:"kakadu-components-57855717",children:s.jsxRuntimeExports.jsx("img",{alt:"Made in Norway",src:"https://cdn.prod.website-files.com/65a686387a785640fecc9b9d/68f09646a6d6e62b6839c38c_made_in_norway_logo.png",width:76,className:"kakadu-components-3273287095"})})})]}),s.jsxRuntimeExports.jsxs(e.default,{direction:"row",gap:1,className:n.cx("kakadu-components-1513483626",a&&"kakadu-components-1177815273"),children:[s.jsxRuntimeExports.jsxs("a",{href:"https://kakadu.no",children:[s.jsxRuntimeExports.jsx(u.default,{children:"Kakadu.no"}),s.jsxRuntimeExports.jsx(x.default,{width:90,className:"kakadu-components-3103582715"})]}),s.jsxRuntimeExports.jsxs(t.Span,{className:"kakadu-components-3713786292",children:["© ",new Date().getFullYear()," Kakadu Ignite AS"]})]})]}),s.jsxRuntimeExports.jsx(o.default,{})]})}exports.default=l;
@@ -0,0 +1,65 @@
1
+ import { j as s } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { cx as t } from "@kuma-ui/core";
3
+ import o from "./theme.mjs";
4
+ import e, { FlexAlignment as r } from "./flex.mjs";
5
+ import { Paragraph as a, Span as c } from "./text.mjs";
6
+ import l from "./kakadu-logo.mjs";
7
+ import d from "./moving-stars.mjs";
8
+ import h from "./aria-text.mjs";
9
+ const n = "kakadu-components-975968984";
10
+ function N({
11
+ isFullWidth: i = !0
12
+ }) {
13
+ return /* @__PURE__ */ s.jsxs(e, { as: "footer", "data-theme": "dark", gap: 3, className: t(o, "kakadu-components-2077625773"), children: [
14
+ /* @__PURE__ */ s.jsxs(e, { gap: 3, className: "kakadu-components-2688329595", children: [
15
+ /* @__PURE__ */ s.jsxs(e, { direction: "row", gap: 4, className: t("kakadu-components-555302578", i && "kakadu-components-1177815273"), children: [
16
+ /* @__PURE__ */ s.jsxs(e, { direction: "column", alignment: r.start, gap: 0.5, children: [
17
+ /* @__PURE__ */ s.jsx(a, { children: /* @__PURE__ */ s.jsx("strong", { children: "Products" }) }),
18
+ /* @__PURE__ */ s.jsxs(a, { as: "ul", className: n, children: [
19
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://guide.kakadu.no", children: "Kakadu Guide" }) }),
20
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no/kakadu-start", children: "Kakadu Kolibri" }) })
21
+ ] })
22
+ ] }),
23
+ /* @__PURE__ */ s.jsxs(e, { direction: "column", alignment: r.start, gap: 0.5, children: [
24
+ /* @__PURE__ */ s.jsx(a, { children: /* @__PURE__ */ s.jsx("strong", { children: "Results" }) }),
25
+ /* @__PURE__ */ s.jsxs(a, { as: "ul", className: n, children: [
26
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "#", children: "Case studies" }) }),
27
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "#", children: "Impact measurement" }) })
28
+ ] })
29
+ ] }),
30
+ /* @__PURE__ */ s.jsxs(e, { direction: "column", alignment: r.start, gap: 0.5, children: [
31
+ /* @__PURE__ */ s.jsx(a, { children: /* @__PURE__ */ s.jsx("strong", { children: "About us" }) }),
32
+ /* @__PURE__ */ s.jsxs(a, { as: "ul", className: n, children: [
33
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "#", children: "Our story" }) }),
34
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no/kontakt-oss", children: "Contact" }) }),
35
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { target: "_blank", rel: "noopener noreferrer", href: "https://kakadu.instatus.com", children: "Status" }) })
36
+ ] })
37
+ ] }),
38
+ /* @__PURE__ */ s.jsxs(e, { direction: "column", alignment: r.start, gap: 0.5, children: [
39
+ /* @__PURE__ */ s.jsx(a, { children: /* @__PURE__ */ s.jsx("strong", { children: "Compliance" }) }),
40
+ /* @__PURE__ */ s.jsxs(a, { as: "ul", className: n, children: [
41
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no/personvernerklaering", children: "Privacy" }) }),
42
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no/etiske-retningslinjer", children: "Ethical guidelines" }) }),
43
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "#", children: "Security" }) })
44
+ ] })
45
+ ] }),
46
+ /* @__PURE__ */ s.jsx(e, { className: "kakadu-components-1446644085", children: /* @__PURE__ */ s.jsx("a", { href: "https://businessnorway.com/made-in-norway", target: "_blank", rel: "noopener noreferrer", className: "kakadu-components-57855717", children: /* @__PURE__ */ s.jsx("img", { alt: "Made in Norway", src: "https://cdn.prod.website-files.com/65a686387a785640fecc9b9d/68f09646a6d6e62b6839c38c_made_in_norway_logo.png", width: 76, className: "kakadu-components-3273287095" }) }) })
47
+ ] }),
48
+ /* @__PURE__ */ s.jsxs(e, { direction: "row", gap: 1, className: t("kakadu-components-1513483626", i && "kakadu-components-1177815273"), children: [
49
+ /* @__PURE__ */ s.jsxs("a", { href: "https://kakadu.no", children: [
50
+ /* @__PURE__ */ s.jsx(h, { children: "Kakadu.no" }),
51
+ /* @__PURE__ */ s.jsx(l, { width: 90, className: "kakadu-components-3103582715" })
52
+ ] }),
53
+ /* @__PURE__ */ s.jsxs(c, { className: "kakadu-components-3713786292", children: [
54
+ "© ",
55
+ (/* @__PURE__ */ new Date()).getFullYear(),
56
+ " Kakadu Ignite AS"
57
+ ] })
58
+ ] })
59
+ ] }),
60
+ /* @__PURE__ */ s.jsx(d, {})
61
+ ] });
62
+ }
63
+ export {
64
+ N as default
65
+ };
package/build/gauge.d.ts CHANGED
@@ -1,2 +1,6 @@
1
- export { default } from './components/gauge';
2
- export type { GaugeProperties } from './components/gauge';
1
+ export type GaugeProperties = {
2
+ readonly label: string;
3
+ readonly size?: 'small' | 'medium' | 'large';
4
+ readonly percentage?: number;
5
+ };
6
+ export default function Gauge({ label, size, percentage }: GaugeProperties): import("react/jsx-runtime").JSX.Element;
package/build/gauge.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./gauge-mog6SjVx.js");exports.default=e.Gauge;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./jsx-runtime-BB_1_6y_.js"),t=require("react"),k=require("@kuma-ui/core"),m={0:["#D60D43"],15:["#D60D43","#FFCD45"],30:["#D6460D","#ffda54"],50:["#D6860D","#F1DC3B","#CEE838"],65:["#D6BE0D","#FFD045","#6DE838"],80:["#D9E838","#93E838","#3EE838"],100:["#55EB62","#38E99A","#5EEA52"]},E=Object.keys(m).map(a=>Number.parseInt(a,10)).sort((a,n)=>n-a);function j({label:a,size:n,percentage:u=0}){const e=t.useMemo(()=>Math.max(0,Math.min(100,u)),[u]),l=t.useMemo(()=>e/100,[e]),s=t.useMemo(()=>{for(const r of E)if(e>=r)return m[r];return[]},[e]),c=t.useMemo(()=>s.length,[s]),i=t.useMemo(()=>s.at(0),[s]),d=t.useMemo(()=>s.at(-1),[s]),x=t.useMemo(()=>s.map((r,p)=>`${r} ${Math.round(p/c*100)}%`).join(", "),[s,c]);return o.jsxRuntimeExports.jsxs("div",{style:{"--percentage":`${e}%`,"--percentage-factor":l,"--gradient":x,"--start-color":i,"--end-color":d},role:"meter","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,className:k.cx("kakadu-components-2176404336",n==="small"&&"kakadu-components-3162945807",n==="large"&&"kakadu-components-2977513648"),children:[e>0?o.jsxRuntimeExports.jsx("div",{className:"kakadu-components-707327569"}):null,o.jsxRuntimeExports.jsx("div",{className:"kakadu-components-2636723344",children:o.jsxRuntimeExports.jsx("div",{className:"kakadu-components-2810161405"})}),o.jsxRuntimeExports.jsx("div",{className:"kakadu-components-1913523229",children:e}),e>0&&e<100?o.jsxRuntimeExports.jsx("div",{className:"kakadu-components-967240013",children:o.jsxRuntimeExports.jsx("div",{className:"kakadu-components-3225063030"})}):null]})}exports.default=j;
package/build/gauge.mjs CHANGED
@@ -1,4 +1,41 @@
1
- import { G as f } from "./gauge-C1CypvvD.mjs";
1
+ import { j as s } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { useMemo as e } from "react";
3
+ import { cx as D } from "@kuma-ui/core";
4
+ const m = {
5
+ /* eslint-disable @typescript-eslint/naming-convention */
6
+ 0: ["#D60D43"],
7
+ 15: ["#D60D43", "#FFCD45"],
8
+ 30: ["#D6460D", "#ffda54"],
9
+ 50: ["#D6860D", "#F1DC3B", "#CEE838"],
10
+ 65: ["#D6BE0D", "#FFD045", "#6DE838"],
11
+ 80: ["#D9E838", "#93E838", "#3EE838"],
12
+ 100: ["#55EB62", "#38E99A", "#5EEA52"]
13
+ /* eslint-enable @typescript-eslint/naming-convention */
14
+ }, x = Object.keys(m).map((n) => Number.parseInt(n, 10)).sort((n, t) => t - n);
15
+ function v({
16
+ label: n,
17
+ size: t,
18
+ percentage: c = 0
19
+ }) {
20
+ const a = e(() => Math.max(0, Math.min(100, c)), [c]), d = e(() => a / 100, [a]), o = e(() => {
21
+ for (const r of x)
22
+ if (a >= r)
23
+ return m[r];
24
+ return [];
25
+ }, [a]), l = e(() => o.length, [o]), u = e(() => o.at(0), [o]), i = e(() => o.at(-1), [o]), k = e(() => o.map((r, p) => `${r} ${Math.round(p / l * 100)}%`).join(", "), [o, l]);
26
+ return /* @__PURE__ */ s.jsxs("div", { style: {
27
+ "--percentage": `${a}%`,
28
+ "--percentage-factor": d,
29
+ "--gradient": k,
30
+ "--start-color": u,
31
+ "--end-color": i
32
+ }, role: "meter", "aria-valuenow": a, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": n, className: D("kakadu-components-2176404336", t === "small" && "kakadu-components-3162945807", t === "large" && "kakadu-components-2977513648"), children: [
33
+ a > 0 ? /* @__PURE__ */ s.jsx("div", { className: "kakadu-components-707327569" }) : null,
34
+ /* @__PURE__ */ s.jsx("div", { className: "kakadu-components-2636723344", children: /* @__PURE__ */ s.jsx("div", { className: "kakadu-components-2810161405" }) }),
35
+ /* @__PURE__ */ s.jsx("div", { className: "kakadu-components-1913523229", children: a }),
36
+ a > 0 && a < 100 ? /* @__PURE__ */ s.jsx("div", { className: "kakadu-components-967240013", children: /* @__PURE__ */ s.jsx("div", { className: "kakadu-components-3225063030" }) }) : null
37
+ ] });
38
+ }
2
39
  export {
3
- f as default
40
+ v as default
4
41
  };
@@ -0,0 +1,2 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export default function GjensidigeLogoSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./jsx-runtime-BB_1_6y_.js"),e=require("./utilities/scale.js");function m({fill:s,...l}){const{width:h,height:t}=e.default({originalWidth:1549,originalHeight:385,width:l.width,height:l.height});return c.jsxRuntimeExports.jsx("svg",{viewBox:"0 0 1549 385",xmlns:"http://www.w3.org/2000/svg",...l,width:h,height:t,children:c.jsxRuntimeExports.jsxs("g",{fill:s??"#060948",fillRule:"evenodd",children:[c.jsxRuntimeExports.jsx("path",{d:"m1548.5 193c0 92.6-65.2 169.7-152.2 188.4l-9.7-8.3s-3.6-12.4-3.6-13.6c0-1.5 10-15.7 10-15.7h3.3c1.3 0 6.6-18.6 8.2-24.7 8-.5 19.9-1.8 24.4-4 .6-1.8.2-8-.5-15.5 10.2.7 26.1 1.6 26.5 1.6.3 0 5.1-3.8 5.1-3.8.1-38.7 0-40.1 0-41.8 0-.5-7.3-4.2-11.7-6.4 1.4-1.6 2.4-4 2.4-6.5 0-.6-.2-1.1-.2-1.7 3.1-1.8 6-4.2 6-7.1 0-2.5-4-10.2-5.5-13.3 0 0-.9-26.8-1.8-27.6-.7-.5-4.2.4-4.2.4l-11.9-23.3s-8.9-41.3-11.8-43.1c-2.4-1.5-16.6-10.2-20.6-12.6-.6-1.3-.9-2.4-.9-2.7 0-1.7.7-8.8.7-11.9s-6.2-13.1-6.2-14.8c0 0 .5-18 .5-19.9 0-1.8-4.7-6.7-10.2-7.8-1.6-.4-14.4-.9-16 .2-3 1.8-14.1 9.3-14.6 11.3-.4 1.3-.2 14.6-1 17.3-.9 2.8-4.7 6.2-4.9 8.1-.3 2.5-1.6 12.7-1.8 14.9-.2.6-.5 1.1-1.1 1.8-5.7 2.6-19.5 8.8-20.8 9.5-4.9 2.9-22.3 26.3-22.3 26.3-.1 0-6.2-1.8-9.6-2.7.7-1.1 1.1-2.2.9-3.1-.4-1.7-4-10.4-4.9-11.7-.4-.4-2.8-.4-5.7 0l-7.1-111.9c24.4-11.1 51.4-17.3 80.1-17.3 106.4 0 192.7 86.3 192.7 193zm-106.2 67.4.1.3-6.2 12.3h-.3l-7-12.6.2-.4zm-10 17.3v.4l-7.7 13.5-.1-.2-1-28.8.2-.2zm17 15.5-9.1-14.8v-.3l9.3-16.8.2.2v31.4zm-28.7-86.9s-1.5 1.8-1.5 3.1c-.1 1.5 7.7 10 9.5 12.6.4.7.8 1.3.9 1.6-1.2 2.6-.9 13.2-.3 14.3.5.9 3.8 1.3 4.4 1.4-.2.9-.4 1.9-.4 3 0 2.3.7 4.5 2 6.2l-13.5 6.7s-10.8-50.9-12.2-53.3l-4-7.1s-.4-8.7-.6-13.9h.4zm-81 129.8 5.8 31-.2 10.8-4.2 6.7c-14.7-1.1-29-3.8-42.7-8l-12.5-198.9c3.1 1.8 9.3 5.3 14.9 5.8 8 1 32.3-23 33.2-23h.7c.2 5.7.4 28.9 0 30-.3 1.3-4.9 4.7-5.8 6-1.4 2-19.9 114.2-17.9 116.6 1.9 2.2 8.6 3.5 23 4.7.2 3.1 1.7 15.5 1.8 16.3.4.9 3.9 2 3.9 2zm91-43.1v-.2l5.5-8.9h.2l6.4 9.8-.2.4zm-160.2-126.4 12.9 205.2c-71.7-28.1-122.4-97.6-122.4-179.1 0-73 40.5-136.5 100.4-169.2l6.9 108c-1.6.6-2.7 1.1-3.1 1.5-1.1 2-4.7 8.4-4.9 13.9-.4 5.8 4 15.7 6.4 17.8.9 1 2.3 1.5 3.8 1.9z"}),c.jsxRuntimeExports.jsx("path",{d:"m610.4 130.1c-8 0-14.5-6.5-14.5-14.5s6.5-14.5 14.5-14.5 14.5 6.5 14.5 14.5-6.5 14.5-14.5 14.5zm-11.1 28.6c0-2.1 1.9-4.2 4.1-4.2h13.8c2.2 0 4.2 1.9 4.2 4.2v105.3h-18c-2.2 0-4.1-1.8-4.1-4.2zm203.9-28.6c-8 0-14.5-6.5-14.5-14.5s6.5-14.5 14.5-14.5c8.1 0 14.5 6.5 14.5 14.5s-6.4 14.5-14.5 14.5zm-11 28.6c0-2.2 1.8-4.2 4.2-4.2h13.9c2.1 0 4.2 1.9 4.2 4.2v105.3h-18.1c-2.2 0-4.2-1.8-4.2-4.2zm-34.3-55.8v161.1h-17.3c-2.4 0-4.2-2-4.2-4.2v-5.8c-9 8-20.8 12.4-33.8 12.4-9.7 0-19.9-3-27.4-7.3-16.6-9.9-27.9-27.9-27.9-49.8s11.5-40.2 28.1-50c7.5-4.4 16.6-7 26.8-7 11.9 0 23.8 3.7 33.6 11.9v-61.3c0-2.4 2-4.2 4.2-4.2h13.9c2.2 0 4.2 1.8 4 4.2zm-21.9 85.7c-6.7-8.7-17.9-15.5-31.2-15.5-21.3 0-35.2 17-35.2 36.2 0 19.5 15.1 36.1 36.3 36.1 11.3 0 22.6-5.7 30.1-15.7zm215.1-29.9v100.5c0 16.2-2.2 27.2-6.6 35.8-8.9 16.9-25.5 27-47.2 27-28.5 0-46.4-14.4-53.3-25.4l12.8-11.8s.2-.2.3-.4c1.5-1.3 3.7-1.5 5.2-.2 7.4 9.3 17.5 16.8 33.7 16.8 11.9 0 21.2-4.4 26.5-12.6 3.8-6 6-14.4 6-28.1v-6c-8.8 7.6-20.1 11.8-33 11.8-9.7 0-19.9-2.9-27.4-7.3-16.6-9.8-27.9-27.9-27.9-49.8s11.7-40.1 28.1-50c7.5-4.3 16.6-6.9 26.8-6.9 12.4 0 24.3 3.8 34.3 12.4v-5.8c0-2.4 2-4.2 4.2-4.2h13.1c2.2 0 4 1.8 4.4 4.2zm-22.6 70.9v-41c-6.8-8.8-17.9-15.5-31.2-15.5-21.2 0-35 17-35 36.1 0 19.5 15.1 36.1 36.3 36.1 11.3 0 22.6-5.6 30.1-15.7zm-593.4-19.5c-.1 2-2.1 3.7-4.3 3.7h-80.1c1.2 18.4 16.2 33 35.4 33 13.6 0 22-5.5 28.1-11.5 0 0 .7-.7 1.2-1.1 1.3-.7 3-.9 4.4 0l12.1 11.5c-8.3 10.4-23.9 20.4-46.2 20.4-31.9 0-56.6-24.2-56.6-56.9 0-32.6 22.3-56.9 53.3-56.9 30.5 0 52.6 24.6 52.6 56.9 0 .2 0 .9.1.9zm-23.3-14.9c-3.3-13.9-15.9-23.8-28.8-23.8-14.1 0-27 9.5-30.7 23.8zm770.5 14.9c-.2 2-2.2 3.7-4.4 3.7h-80.1c1.1 18.4 16.3 33 35.4 33 13.9 0 22.1-5.5 28.1-11.5 0 0 .7-.7 1.3-1.1 1.3-.7 2.9-.9 4.4 0l12 11.5c-8 10.4-23.7 20.4-46 20.4-31.9 0-56.5-24.2-56.5-56.9 0-32.6 22.2-56.9 53.3-56.9 30.4 0 52.5 24.6 52.5 56.9zm-23.2-14.9c-3.3-13.9-15.7-23.8-28.8-23.8-14.2 0-27 9.5-30.7 23.8zm-867-65.2c-8.1 0-14.6-6.5-14.6-14.5s6.5-14.5 14.6-14.5c8 0 14.5 6.5 14.5 14.5s-6.5 14.5-14.5 14.5zm11 143.3c0 14.6-2 23.7-6.9 30.6-7.9 11.5-21 18.3-35.8 18.3-4.7 0-10-.8-13-1.7l3.7-16.2c.5-2.2 2.7-3.7 4.9-3.3l4 .2c6.2 0 13-2.8 16.8-7.7 3.1-4 4.2-9.5 4.2-19.5v-115.3c0-2.2 1.8-4.2 4.2-4.2h13.9c2.2 0 4.2 1.8 4.2 4.2v110.4zm263.6-62.6v53.4h-17.9c-2.3 0-4.2-2-4.2-4.2v-46.5l-.1-4c0-14.1-2.6-20.4-6.6-25.4-5.1-6.5-13.5-10.7-22.6-10.7-14.4 0-24.8 7.6-31.4 15.5v71c0 2.3-2 4.2-4.2 4.2h-13.9c-2.4 0-4.2-2.1-4.2-4.2v-101.1c0-2.4 2-4.2 4.2-4.2h13.2c2.1 0 4 2 4 4.2v6.2c5.8-5.7 16.9-12.8 32.8-12.8 16.1 0 30.5 7.5 39.8 19.3 6.9 9 10.7 20.1 11.1 39.3zm31.6 27c1.4-1.7 4-1.8 5.6-.6 9.3 6.2 19.2 9.5 28.9 9.5 9.6 0 19.1-5.1 19.1-13.7 0-12.6-18.2-13.3-34.3-18.6-13.3-4.4-25.2-12.7-25.2-28.1 0-23.3 21-34.1 40.5-34.1 13.9 0 24.7 3.8 32.9 9.5l.5.5c1.7 1.7 1.9 3.7.2 5.9l-.4.5-5.8 8.1c-1.3 1.8-3.8 2.3-5.8 1.2-6-3.8-12.6-6.4-20.1-6.4-10.8 0-19.9 5.2-19.9 13.7 0 7.5 8.6 10.1 19.5 12.8 17.2 4.4 39.8 12 39.8 34.7 0 20.8-19.3 33.5-40.7 33.5-17.3 0-32.1-5.2-44.1-15.1zm-350.5-1.8c-14.1 17.7-38.1 30.3-63.3 30.3-48.7 0-84.5-35.6-84.5-83.8 0-47.1 35.4-83.7 82.3-84.1 21.9 0 42.5 8.4 56.7 22.3v.1c.2.2.2.4.4.6 1.1 1.6.9 3.6-.4 5.1-.2 0-.2.2-.2.2l-9.8 9.6h.2s0 .2-.2.2c-1.6 1.3-4 1.3-5.5-.2-9.8-8.9-25.2-15.5-41-15.5-33.2 0-59.1 26.5-59.1 61.7 0 36.7 26.4 61.7 61.1 61.7 17.1 0 31.4-6.6 39.9-15.2v-41.9h-42.5c-2 0-3.8-1.7-4-3.9v-18.2h65.7c2.4 0 4.2 2 4.2 4.2zm350.3 2q.3 0 0 0z"})]})})}exports.default=m;
@@ -0,0 +1,30 @@
1
+ import { j as c } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import v from "./utilities/scale.mjs";
3
+ function t({
4
+ fill: l,
5
+ ...h
6
+ }) {
7
+ const { width: m, height: s } = v({
8
+ originalWidth: 1549,
9
+ originalHeight: 385,
10
+ width: h.width,
11
+ height: h.height
12
+ });
13
+ return /* @__PURE__ */ c.jsx(
14
+ "svg",
15
+ {
16
+ viewBox: "0 0 1549 385",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ ...h,
19
+ width: m,
20
+ height: s,
21
+ children: /* @__PURE__ */ c.jsxs("g", { fill: l ?? "#060948", fillRule: "evenodd", children: [
22
+ /* @__PURE__ */ c.jsx("path", { d: "m1548.5 193c0 92.6-65.2 169.7-152.2 188.4l-9.7-8.3s-3.6-12.4-3.6-13.6c0-1.5 10-15.7 10-15.7h3.3c1.3 0 6.6-18.6 8.2-24.7 8-.5 19.9-1.8 24.4-4 .6-1.8.2-8-.5-15.5 10.2.7 26.1 1.6 26.5 1.6.3 0 5.1-3.8 5.1-3.8.1-38.7 0-40.1 0-41.8 0-.5-7.3-4.2-11.7-6.4 1.4-1.6 2.4-4 2.4-6.5 0-.6-.2-1.1-.2-1.7 3.1-1.8 6-4.2 6-7.1 0-2.5-4-10.2-5.5-13.3 0 0-.9-26.8-1.8-27.6-.7-.5-4.2.4-4.2.4l-11.9-23.3s-8.9-41.3-11.8-43.1c-2.4-1.5-16.6-10.2-20.6-12.6-.6-1.3-.9-2.4-.9-2.7 0-1.7.7-8.8.7-11.9s-6.2-13.1-6.2-14.8c0 0 .5-18 .5-19.9 0-1.8-4.7-6.7-10.2-7.8-1.6-.4-14.4-.9-16 .2-3 1.8-14.1 9.3-14.6 11.3-.4 1.3-.2 14.6-1 17.3-.9 2.8-4.7 6.2-4.9 8.1-.3 2.5-1.6 12.7-1.8 14.9-.2.6-.5 1.1-1.1 1.8-5.7 2.6-19.5 8.8-20.8 9.5-4.9 2.9-22.3 26.3-22.3 26.3-.1 0-6.2-1.8-9.6-2.7.7-1.1 1.1-2.2.9-3.1-.4-1.7-4-10.4-4.9-11.7-.4-.4-2.8-.4-5.7 0l-7.1-111.9c24.4-11.1 51.4-17.3 80.1-17.3 106.4 0 192.7 86.3 192.7 193zm-106.2 67.4.1.3-6.2 12.3h-.3l-7-12.6.2-.4zm-10 17.3v.4l-7.7 13.5-.1-.2-1-28.8.2-.2zm17 15.5-9.1-14.8v-.3l9.3-16.8.2.2v31.4zm-28.7-86.9s-1.5 1.8-1.5 3.1c-.1 1.5 7.7 10 9.5 12.6.4.7.8 1.3.9 1.6-1.2 2.6-.9 13.2-.3 14.3.5.9 3.8 1.3 4.4 1.4-.2.9-.4 1.9-.4 3 0 2.3.7 4.5 2 6.2l-13.5 6.7s-10.8-50.9-12.2-53.3l-4-7.1s-.4-8.7-.6-13.9h.4zm-81 129.8 5.8 31-.2 10.8-4.2 6.7c-14.7-1.1-29-3.8-42.7-8l-12.5-198.9c3.1 1.8 9.3 5.3 14.9 5.8 8 1 32.3-23 33.2-23h.7c.2 5.7.4 28.9 0 30-.3 1.3-4.9 4.7-5.8 6-1.4 2-19.9 114.2-17.9 116.6 1.9 2.2 8.6 3.5 23 4.7.2 3.1 1.7 15.5 1.8 16.3.4.9 3.9 2 3.9 2zm91-43.1v-.2l5.5-8.9h.2l6.4 9.8-.2.4zm-160.2-126.4 12.9 205.2c-71.7-28.1-122.4-97.6-122.4-179.1 0-73 40.5-136.5 100.4-169.2l6.9 108c-1.6.6-2.7 1.1-3.1 1.5-1.1 2-4.7 8.4-4.9 13.9-.4 5.8 4 15.7 6.4 17.8.9 1 2.3 1.5 3.8 1.9z" }),
23
+ /* @__PURE__ */ c.jsx("path", { d: "m610.4 130.1c-8 0-14.5-6.5-14.5-14.5s6.5-14.5 14.5-14.5 14.5 6.5 14.5 14.5-6.5 14.5-14.5 14.5zm-11.1 28.6c0-2.1 1.9-4.2 4.1-4.2h13.8c2.2 0 4.2 1.9 4.2 4.2v105.3h-18c-2.2 0-4.1-1.8-4.1-4.2zm203.9-28.6c-8 0-14.5-6.5-14.5-14.5s6.5-14.5 14.5-14.5c8.1 0 14.5 6.5 14.5 14.5s-6.4 14.5-14.5 14.5zm-11 28.6c0-2.2 1.8-4.2 4.2-4.2h13.9c2.1 0 4.2 1.9 4.2 4.2v105.3h-18.1c-2.2 0-4.2-1.8-4.2-4.2zm-34.3-55.8v161.1h-17.3c-2.4 0-4.2-2-4.2-4.2v-5.8c-9 8-20.8 12.4-33.8 12.4-9.7 0-19.9-3-27.4-7.3-16.6-9.9-27.9-27.9-27.9-49.8s11.5-40.2 28.1-50c7.5-4.4 16.6-7 26.8-7 11.9 0 23.8 3.7 33.6 11.9v-61.3c0-2.4 2-4.2 4.2-4.2h13.9c2.2 0 4.2 1.8 4 4.2zm-21.9 85.7c-6.7-8.7-17.9-15.5-31.2-15.5-21.3 0-35.2 17-35.2 36.2 0 19.5 15.1 36.1 36.3 36.1 11.3 0 22.6-5.7 30.1-15.7zm215.1-29.9v100.5c0 16.2-2.2 27.2-6.6 35.8-8.9 16.9-25.5 27-47.2 27-28.5 0-46.4-14.4-53.3-25.4l12.8-11.8s.2-.2.3-.4c1.5-1.3 3.7-1.5 5.2-.2 7.4 9.3 17.5 16.8 33.7 16.8 11.9 0 21.2-4.4 26.5-12.6 3.8-6 6-14.4 6-28.1v-6c-8.8 7.6-20.1 11.8-33 11.8-9.7 0-19.9-2.9-27.4-7.3-16.6-9.8-27.9-27.9-27.9-49.8s11.7-40.1 28.1-50c7.5-4.3 16.6-6.9 26.8-6.9 12.4 0 24.3 3.8 34.3 12.4v-5.8c0-2.4 2-4.2 4.2-4.2h13.1c2.2 0 4 1.8 4.4 4.2zm-22.6 70.9v-41c-6.8-8.8-17.9-15.5-31.2-15.5-21.2 0-35 17-35 36.1 0 19.5 15.1 36.1 36.3 36.1 11.3 0 22.6-5.6 30.1-15.7zm-593.4-19.5c-.1 2-2.1 3.7-4.3 3.7h-80.1c1.2 18.4 16.2 33 35.4 33 13.6 0 22-5.5 28.1-11.5 0 0 .7-.7 1.2-1.1 1.3-.7 3-.9 4.4 0l12.1 11.5c-8.3 10.4-23.9 20.4-46.2 20.4-31.9 0-56.6-24.2-56.6-56.9 0-32.6 22.3-56.9 53.3-56.9 30.5 0 52.6 24.6 52.6 56.9 0 .2 0 .9.1.9zm-23.3-14.9c-3.3-13.9-15.9-23.8-28.8-23.8-14.1 0-27 9.5-30.7 23.8zm770.5 14.9c-.2 2-2.2 3.7-4.4 3.7h-80.1c1.1 18.4 16.3 33 35.4 33 13.9 0 22.1-5.5 28.1-11.5 0 0 .7-.7 1.3-1.1 1.3-.7 2.9-.9 4.4 0l12 11.5c-8 10.4-23.7 20.4-46 20.4-31.9 0-56.5-24.2-56.5-56.9 0-32.6 22.2-56.9 53.3-56.9 30.4 0 52.5 24.6 52.5 56.9zm-23.2-14.9c-3.3-13.9-15.7-23.8-28.8-23.8-14.2 0-27 9.5-30.7 23.8zm-867-65.2c-8.1 0-14.6-6.5-14.6-14.5s6.5-14.5 14.6-14.5c8 0 14.5 6.5 14.5 14.5s-6.5 14.5-14.5 14.5zm11 143.3c0 14.6-2 23.7-6.9 30.6-7.9 11.5-21 18.3-35.8 18.3-4.7 0-10-.8-13-1.7l3.7-16.2c.5-2.2 2.7-3.7 4.9-3.3l4 .2c6.2 0 13-2.8 16.8-7.7 3.1-4 4.2-9.5 4.2-19.5v-115.3c0-2.2 1.8-4.2 4.2-4.2h13.9c2.2 0 4.2 1.8 4.2 4.2v110.4zm263.6-62.6v53.4h-17.9c-2.3 0-4.2-2-4.2-4.2v-46.5l-.1-4c0-14.1-2.6-20.4-6.6-25.4-5.1-6.5-13.5-10.7-22.6-10.7-14.4 0-24.8 7.6-31.4 15.5v71c0 2.3-2 4.2-4.2 4.2h-13.9c-2.4 0-4.2-2.1-4.2-4.2v-101.1c0-2.4 2-4.2 4.2-4.2h13.2c2.1 0 4 2 4 4.2v6.2c5.8-5.7 16.9-12.8 32.8-12.8 16.1 0 30.5 7.5 39.8 19.3 6.9 9 10.7 20.1 11.1 39.3zm31.6 27c1.4-1.7 4-1.8 5.6-.6 9.3 6.2 19.2 9.5 28.9 9.5 9.6 0 19.1-5.1 19.1-13.7 0-12.6-18.2-13.3-34.3-18.6-13.3-4.4-25.2-12.7-25.2-28.1 0-23.3 21-34.1 40.5-34.1 13.9 0 24.7 3.8 32.9 9.5l.5.5c1.7 1.7 1.9 3.7.2 5.9l-.4.5-5.8 8.1c-1.3 1.8-3.8 2.3-5.8 1.2-6-3.8-12.6-6.4-20.1-6.4-10.8 0-19.9 5.2-19.9 13.7 0 7.5 8.6 10.1 19.5 12.8 17.2 4.4 39.8 12 39.8 34.7 0 20.8-19.3 33.5-40.7 33.5-17.3 0-32.1-5.2-44.1-15.1zm-350.5-1.8c-14.1 17.7-38.1 30.3-63.3 30.3-48.7 0-84.5-35.6-84.5-83.8 0-47.1 35.4-83.7 82.3-84.1 21.9 0 42.5 8.4 56.7 22.3v.1c.2.2.2.4.4.6 1.1 1.6.9 3.6-.4 5.1-.2 0-.2.2-.2.2l-9.8 9.6h.2s0 .2-.2.2c-1.6 1.3-4 1.3-5.5-.2-9.8-8.9-25.2-15.5-41-15.5-33.2 0-59.1 26.5-59.1 61.7 0 36.7 26.4 61.7 61.1 61.7 17.1 0 31.4-6.6 39.9-15.2v-41.9h-42.5c-2 0-3.8-1.7-4-3.9v-18.2h65.7c2.4 0 4.2 2 4.2 4.2zm350.3 2q.3 0 0 0z" })
24
+ ] })
25
+ }
26
+ );
27
+ }
28
+ export {
29
+ t as default
30
+ };
@@ -0,0 +1 @@
1
+ export default function useMediaQuery(query: string): boolean | undefined;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react");function a(t){const[r,n]=i.useState(()=>{if(typeof window<"u")return window.matchMedia(t).matches});return i.useEffect(()=>{const e=window.matchMedia(t);n(e.matches);const s=()=>{n(e.matches)};return e.addEventListener("change",s),()=>{e.removeEventListener("change",s)}},[t]),r}exports.default=a;
@@ -0,0 +1,20 @@
1
+ import { useState as c, useEffect as i } from "react";
2
+ function o(t) {
3
+ const [s, n] = c(() => {
4
+ if (typeof window < "u")
5
+ return window.matchMedia(t).matches;
6
+ });
7
+ return i(() => {
8
+ const e = window.matchMedia(t);
9
+ n(e.matches);
10
+ const a = () => {
11
+ n(e.matches);
12
+ };
13
+ return e.addEventListener("change", a), () => {
14
+ e.removeEventListener("change", a);
15
+ };
16
+ }, [t]), s;
17
+ }
18
+ export {
19
+ o as default
20
+ };
@@ -0,0 +1,5 @@
1
+ import { type HTMLProps } from 'react';
2
+ export declare const normalBlendStyles: string;
3
+ export default function HoverGradient({ size, className, ...properties }: HTMLProps<HTMLDivElement> & {
4
+ readonly size?: number;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const v=require("./jsx-runtime-BB_1_6y_.js"),t=require("react"),p=require("@kuma-ui/core"),R="kakadu-components-2608453841";function $({size:x=200,className:k,...E}){const i=t.useRef(null),n=t.useRef(null),[g,u]=t.useState(!1),[s,b]=t.useState();return t.useEffect(()=>{const c=i.current;if(!c)return;n.current||(n.current=c.parentElement);const e=n.current;if(!e)return;const l=m=>{const j=m.target;if(!e.contains(j))return;const S=e.getBoundingClientRect(),{clientX:o,clientY:r}=m,{left:d,right:y,top:f,bottom:L}=S;o>d&&o<y&&r>f&&r<L&&(u(!0),b([o-d,r-f]))},a=()=>{u(!1)};return e.addEventListener("mousemove",l),e.addEventListener("mouseleave",a),()=>{e.removeEventListener("mousemove",l),e.removeEventListener("mouseleave",a)}},[]),v.jsxRuntimeExports.jsx("div",{...E,ref:i,className:p.cx("kakadu-components-1001443553",k),children:s?v.jsxRuntimeExports.jsx("div",{style:{"--size":`${x}px`,"--offset-x":`${s[0]}px`,"--offset-y":`${s[1]}px`},className:p.cx("kakadu-components-611160091",g&&"kakadu-components-3627966847")}):null})}exports.default=$;exports.normalBlendStyles=R;
@@ -0,0 +1,48 @@
1
+ import { j as d } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { useRef as p, useState as v, useEffect as B } from "react";
3
+ import { cx as x } from "@kuma-ui/core";
4
+ const V = "kakadu-components-2608453841";
5
+ function z({
6
+ size: k = 200,
7
+ className: E,
8
+ ...g
9
+ }) {
10
+ const r = p(null), t = p(null), [L, i] = v(!1), [n, b] = v();
11
+ return B(() => {
12
+ const c = r.current;
13
+ if (!c)
14
+ return;
15
+ t.current || (t.current = c.parentElement);
16
+ const e = t.current;
17
+ if (!e)
18
+ return;
19
+ const a = (u) => {
20
+ const j = u.target;
21
+ if (!e.contains(j))
22
+ return;
23
+ const y = e.getBoundingClientRect(), {
24
+ clientX: s,
25
+ clientY: o
26
+ } = u, {
27
+ left: m,
28
+ right: $,
29
+ top: f,
30
+ bottom: h
31
+ } = y;
32
+ s > m && s < $ && o > f && o < h && (i(!0), b([s - m, o - f]));
33
+ }, l = () => {
34
+ i(!1);
35
+ };
36
+ return e.addEventListener("mousemove", a), e.addEventListener("mouseleave", l), () => {
37
+ e.removeEventListener("mousemove", a), e.removeEventListener("mouseleave", l);
38
+ };
39
+ }, []), /* @__PURE__ */ d.jsx("div", { ...g, ref: r, className: x("kakadu-components-1001443553", E), children: n ? /* @__PURE__ */ d.jsx("div", { style: {
40
+ "--size": `${k}px`,
41
+ "--offset-x": `${n[0]}px`,
42
+ "--offset-y": `${n[1]}px`
43
+ }, className: x("kakadu-components-611160091", L && "kakadu-components-3627966847") }) : null });
44
+ }
45
+ export {
46
+ z as default,
47
+ V as normalBlendStyles
48
+ };
@@ -0,0 +1,13 @@
1
+ import { type HTMLProps } from 'react';
2
+ import { type IconType } from '../icons/icon';
3
+ export declare enum IconButtonVariant {
4
+ default = "default",
5
+ success = "success",
6
+ warning = "warning",
7
+ danger = "danger"
8
+ }
9
+ export default function IconButton({ icon, variant, label, className, ...properties }: {
10
+ readonly icon: IconType;
11
+ readonly variant?: IconButtonVariant;
12
+ readonly label: string;
13
+ } & HTMLProps<HTMLButtonElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./jsx-runtime-BB_1_6y_.js"),c=require("react"),s=require("@kuma-ui/core"),o=require("./icon.js"),l=require("./theme.js"),j=require("./theme-setter.js"),r=require("./button.js"),g=require("./aria-text.js"),y=require("./button-tooltip.js"),q=require("./click-ripples.js"),x=require("./hover-gradient.js");var m=(e=>(e.default="default",e.success="success",e.warning="warning",e.danger="danger",e))(m||{});function R({icon:e,variant:u="default",label:a,className:p,...k}){const f=j.useIsDarkMode(),[n,S]=c.useState(e),[i,d]=c.useState(!1);return c.useEffect(()=>{if(n!==e){d(!0);const h=setTimeout(()=>{d(!1),S(e)},370);return()=>{clearTimeout(h)}}},[n,e]),t.jsxRuntimeExports.jsxs("button",{...k,type:"button",className:s.cx(l.buttonResetStyles,l.effectStyles,"kakadu-components-3057735296",u==="default"&&s.cx(r.buttonSecondaryStyles,"kakadu-components-2089159949"),u==="success"&&s.cx(r.buttonSuccessStyles,"kakadu-components-1463468148"),u==="warning"&&s.cx(r.buttonWarningStyles,"kakadu-components-2686186037"),u==="danger"&&s.cx(r.buttonDangerStyles,"kakadu-components-2463905722"),p),children:[t.jsxRuntimeExports.jsxs("span",{"data-theme":u==="default"?f?"dark":"light":"dark",className:"kakadu-components-2197738751",children:[t.jsxRuntimeExports.jsx(o.default,{width:16,height:16,type:n,className:s.cx(o.iconShadowStyles,"kakadu-components-1309118222",i&&"kakadu-components-3602476657")}),n===e?null:t.jsxRuntimeExports.jsx(o.default,{width:16,height:16,type:e,className:s.cx(o.iconShadowStyles,"kakadu-components-2883440801",i&&"kakadu-components-1406924214")})]}),t.jsxRuntimeExports.jsx(g.default,{children:a}),t.jsxRuntimeExports.jsx(y.default,{label:a}),t.jsxRuntimeExports.jsx(q.default,{size:50}),t.jsxRuntimeExports.jsx(x.default,{size:50,className:u==="default"?x.normalBlendStyles:void 0})]})}exports.IconButtonVariant=m;exports.default=R;
@@ -0,0 +1,45 @@
1
+ import { j as t } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { useState as u, useEffect as h } from "react";
3
+ import { cx as s } from "@kuma-ui/core";
4
+ import c, { iconShadowStyles as d } from "./icon.mjs";
5
+ import { buttonResetStyles as S, effectStyles as g } from "./theme.mjs";
6
+ import { useIsDarkMode as x } from "./theme-setter.mjs";
7
+ import { buttonSecondaryStyles as y, buttonSuccessStyles as j, buttonWarningStyles as w, buttonDangerStyles as b } from "./button.mjs";
8
+ import N from "./aria-text.mjs";
9
+ import T from "./button-tooltip.mjs";
10
+ import D from "./click-ripples.mjs";
11
+ import I, { normalBlendStyles as R } from "./hover-gradient.mjs";
12
+ var z = /* @__PURE__ */ ((e) => (e.default = "default", e.success = "success", e.warning = "warning", e.danger = "danger", e))(z || {});
13
+ function F({
14
+ icon: e,
15
+ variant: o = "default",
16
+ label: a,
17
+ className: i,
18
+ ...l
19
+ }) {
20
+ const p = x(), [n, f] = u(e), [r, m] = u(!1);
21
+ return h(() => {
22
+ if (n !== e) {
23
+ m(!0);
24
+ const k = setTimeout(() => {
25
+ m(!1), f(e);
26
+ }, 370);
27
+ return () => {
28
+ clearTimeout(k);
29
+ };
30
+ }
31
+ }, [n, e]), /* @__PURE__ */ t.jsxs("button", { ...l, type: "button", className: s(S, g, "kakadu-components-3057735296", o === "default" && s(y, "kakadu-components-2089159949"), o === "success" && s(j, "kakadu-components-1463468148"), o === "warning" && s(w, "kakadu-components-2686186037"), o === "danger" && s(b, "kakadu-components-2463905722"), i), children: [
32
+ /* @__PURE__ */ t.jsxs("span", { "data-theme": o === "default" ? p ? "dark" : "light" : "dark", className: "kakadu-components-2197738751", children: [
33
+ /* @__PURE__ */ t.jsx(c, { width: 16, height: 16, type: n, className: s(d, "kakadu-components-1309118222", r && "kakadu-components-3602476657") }),
34
+ n === e ? null : /* @__PURE__ */ t.jsx(c, { width: 16, height: 16, type: e, className: s(d, "kakadu-components-2883440801", r && "kakadu-components-1406924214") })
35
+ ] }),
36
+ /* @__PURE__ */ t.jsx(N, { children: a }),
37
+ /* @__PURE__ */ t.jsx(T, { label: a }),
38
+ /* @__PURE__ */ t.jsx(D, { size: 50 }),
39
+ /* @__PURE__ */ t.jsx(I, { size: 50, className: o === "default" ? R : void 0 })
40
+ ] });
41
+ }
42
+ export {
43
+ z as IconButtonVariant,
44
+ F as default
45
+ };
package/build/icon.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./jsx-runtime-BB_1_6y_.js"),n=require("./icons/kakadu-guide.js"),u=require("./icons/kakadu-guide-glyph.js"),s=require("./icons/check.js"),c=require("./icons/plus.js"),a=require("./icons/times.js"),d=require("./icons/chevron-down.js"),l=require("./icons/chevron-up.js"),h=require("./icons/caret-down.js"),w=require("./icons/caret-right.js"),g=require("./icons/arrow-down.js"),k=require("./icons/edit.js"),m=require("./icons/copy.js"),f=require("./icons/test.js"),_=require("./icons/exclamation-triangle.js"),q=require("./icons/edge-browser-logo.js"),D=require("./icons/chrome-browser-logo.js"),G=require("./icons/menu.js");var r=(e=>(e.kakaduGuide="kakaduGuide",e.kakaduGuideGlyph="kakaduGuideGlyph",e.menu="menu",e.check="check",e.plus="plus",e.times="times",e.chevronDown="chevronDown",e.chevronUp="chevronUp",e.caretDown="caretDown",e.caretRight="caretRight",e.arrowDown="arrowDown",e.edit="edit",e.copy="copy",e.test="test",e.exclamationTriangle="exclamationTriangle",e.chromeBrowserLogo="chromeBrowserLogo",e.edgeBrowserLogo="edgeBrowserLogo",e))(r||{});const v={kakaduGuide:n.default,kakaduGuideGlyph:u.default,menu:G.default,check:s.default,plus:c.default,times:a.default,chevronDown:d.default,chevronUp:l.default,caretDown:h.default,caretRight:w.default,arrowDown:g.default,edit:k.default,copy:m.default,test:f.default,exclamationTriangle:_.default,chromeBrowserLogo:D.default,edgeBrowserLogo:q.default},x="kakadu-components-1645965623";function B({type:e,...t}){const o=v[e];return o?i.jsxRuntimeExports.jsx(o,{...t}):null}exports.IconType=r;exports.default=B;exports.iconShadowStyles=x;
package/build/icon.mjs ADDED
@@ -0,0 +1,50 @@
1
+ import { j as t } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import m from "./icons/kakadu-guide.mjs";
3
+ import i from "./icons/kakadu-guide-glyph.mjs";
4
+ import a from "./icons/check.mjs";
5
+ import g from "./icons/plus.mjs";
6
+ import n from "./icons/times.mjs";
7
+ import s from "./icons/chevron-down.mjs";
8
+ import u from "./icons/chevron-up.mjs";
9
+ import d from "./icons/caret-down.mjs";
10
+ import v from "./icons/caret-right.mjs";
11
+ import h from "./icons/arrow-down.mjs";
12
+ import w from "./icons/edit.mjs";
13
+ import c from "./icons/copy.mjs";
14
+ import p from "./icons/test.mjs";
15
+ import f from "./icons/exclamation-triangle.mjs";
16
+ import k from "./icons/edge-browser-logo.mjs";
17
+ import l from "./icons/chrome-browser-logo.mjs";
18
+ import S from "./icons/menu.mjs";
19
+ var D = /* @__PURE__ */ ((o) => (o.kakaduGuide = "kakaduGuide", o.kakaduGuideGlyph = "kakaduGuideGlyph", o.menu = "menu", o.check = "check", o.plus = "plus", o.times = "times", o.chevronDown = "chevronDown", o.chevronUp = "chevronUp", o.caretDown = "caretDown", o.caretRight = "caretRight", o.arrowDown = "arrowDown", o.edit = "edit", o.copy = "copy", o.test = "test", o.exclamationTriangle = "exclamationTriangle", o.chromeBrowserLogo = "chromeBrowserLogo", o.edgeBrowserLogo = "edgeBrowserLogo", o))(D || {});
20
+ const G = {
21
+ kakaduGuide: m,
22
+ kakaduGuideGlyph: i,
23
+ menu: S,
24
+ check: a,
25
+ plus: g,
26
+ times: n,
27
+ chevronDown: s,
28
+ chevronUp: u,
29
+ caretDown: d,
30
+ caretRight: v,
31
+ arrowDown: h,
32
+ edit: w,
33
+ copy: c,
34
+ test: p,
35
+ exclamationTriangle: f,
36
+ chromeBrowserLogo: l,
37
+ edgeBrowserLogo: k
38
+ }, N = "kakadu-components-1645965623";
39
+ function O({
40
+ type: o,
41
+ ...e
42
+ }) {
43
+ const r = G[o];
44
+ return r ? /* @__PURE__ */ t.jsx(r, { ...e }) : null;
45
+ }
46
+ export {
47
+ D as IconType,
48
+ O as default,
49
+ N as iconShadowStyles
50
+ };
@@ -0,0 +1,2 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export default function ArrowDownSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../jsx-runtime-BB_1_6y_.js");function r({fill:t,...s}){return e.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...s,children:e.jsxRuntimeExports.jsxs("g",{fill:t??"currentColor",children:[e.jsxRuntimeExports.jsx("path",{d:"m303 122.504v106.984 103.512h-94v-103.512-106.984c0-19.052 14.032-34.504 31.333-34.504h31.334c17.308.0078 31.333 15.452 31.333 34.504z"}),e.jsxRuntimeExports.jsx("path",{d:"m410 243c6.934 0 13.117 3.209 17.149 8.222 3.35 3.122 4.846 7.899 4.84 13.119.007.219.011.438.011.659 0 1.659-.186 3.275-.534 4.829-1.172 6.32-4.252 12.676-8.677 17.101l-144.163 144.163c-12.497 12.496-32.757 12.496-45.254 0l-144.163-144.163c-5.65-5.655-9.3178-14.03-9.1992-21.279-.0063-.216-.0098-.433-.0098-.651 0-12.15 9.8497-22 22-22z"})]})})}exports.default=r;
@@ -0,0 +1,24 @@
1
+ import { j as r } from "../jsx-runtime-B4hRZ52C.mjs";
2
+ function l({
3
+ fill: t,
4
+ ...o
5
+ }) {
6
+ return /* @__PURE__ */ r.jsx(
7
+ "svg",
8
+ {
9
+ fill: "none",
10
+ height: "512",
11
+ viewBox: "0 0 512 512",
12
+ width: "512",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ ...o,
15
+ children: /* @__PURE__ */ r.jsxs("g", { fill: t ?? "currentColor", children: [
16
+ /* @__PURE__ */ r.jsx("path", { d: "m303 122.504v106.984 103.512h-94v-103.512-106.984c0-19.052 14.032-34.504 31.333-34.504h31.334c17.308.0078 31.333 15.452 31.333 34.504z" }),
17
+ /* @__PURE__ */ r.jsx("path", { d: "m410 243c6.934 0 13.117 3.209 17.149 8.222 3.35 3.122 4.846 7.899 4.84 13.119.007.219.011.438.011.659 0 1.659-.186 3.275-.534 4.829-1.172 6.32-4.252 12.676-8.677 17.101l-144.163 144.163c-12.497 12.496-32.757 12.496-45.254 0l-144.163-144.163c-5.65-5.655-9.3178-14.03-9.1992-21.279-.0063-.216-.0098-.433-.0098-.651 0-12.15 9.8497-22 22-22z" })
18
+ ] })
19
+ }
20
+ );
21
+ }
22
+ export {
23
+ l as default
24
+ };
@@ -0,0 +1,2 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export default function CaretDownSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../jsx-runtime-BB_1_6y_.js");function i({fill:t,...r}){return e.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:e.jsxRuntimeExports.jsx("path",{d:"m410 181c6.934 0 13.117 3.209 17.149 8.222 3.35 3.122 4.846 7.899 4.84 13.119.007.219.011.438.011.659 0 1.659-.186 3.275-.534 4.829-1.172 6.32-4.252 12.676-8.677 17.101l-144.163 144.163c-12.497 12.496-32.757 12.496-45.254 0l-144.163-144.163c-5.65-5.655-9.3178-14.03-9.1992-21.279-.0063-.216-.0098-.433-.0098-.651 0-12.15 9.8497-22 22-22z",fill:t??"currentColor"})})}exports.default=i;
@@ -0,0 +1,27 @@
1
+ import { j as t } from "../jsx-runtime-B4hRZ52C.mjs";
2
+ function l({
3
+ fill: r,
4
+ ...o
5
+ }) {
6
+ return /* @__PURE__ */ t.jsx(
7
+ "svg",
8
+ {
9
+ fill: "none",
10
+ height: "512",
11
+ viewBox: "0 0 512 512",
12
+ width: "512",
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ ...o,
15
+ children: /* @__PURE__ */ t.jsx(
16
+ "path",
17
+ {
18
+ d: "m410 181c6.934 0 13.117 3.209 17.149 8.222 3.35 3.122 4.846 7.899 4.84 13.119.007.219.011.438.011.659 0 1.659-.186 3.275-.534 4.829-1.172 6.32-4.252 12.676-8.677 17.101l-144.163 144.163c-12.497 12.496-32.757 12.496-45.254 0l-144.163-144.163c-5.65-5.655-9.3178-14.03-9.1992-21.279-.0063-.216-.0098-.433-.0098-.651 0-12.15 9.8497-22 22-22z",
19
+ fill: r ?? "currentColor"
20
+ }
21
+ )
22
+ }
23
+ );
24
+ }
25
+ export {
26
+ l as default
27
+ };
@@ -0,0 +1,2 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export default function CaretRightSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../jsx-runtime-BB_1_6y_.js");function i({fill:t,...r}){return e.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:e.jsxRuntimeExports.jsx("path",{d:"m188.268 109.732c0-6.933 3.209-13.1166 8.221-17.149 3.123-3.3495 7.9-4.8456 13.119-4.8398.219-.0065.439-.0108.66-.0108 1.659 0 3.275.1861 4.829.5342 6.32 1.172 12.675 4.252 17.1 8.6768l144.163 144.1626c12.497 12.497 12.497 32.758 0 45.254l-144.163 144.163c-5.654 5.65-14.029 9.318-21.278 9.2-.216.006-.434.009-.651.009-12.151 0-22-9.849-22-22z",fill:t??"currentColor"})})}exports.default=i;