@kakadu/components 0.1.4 → 1.0.1

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 (272) hide show
  1. package/build/aria-text.d.ts +5 -1
  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/build/aria-text.d.ts +8 -0
  14. package/build/build/atom.d.ts +9 -0
  15. package/build/build/bankid-logo.d.ts +5 -0
  16. package/build/build/box.d.ts +6 -0
  17. package/build/build/button-tooltip.d.ts +5 -0
  18. package/build/build/button.d.ts +23 -0
  19. package/build/build/card.d.ts +11 -0
  20. package/build/build/click-ripples.d.ts +6 -0
  21. package/build/build/datum.d.ts +6 -0
  22. package/build/build/dnb-logo.d.ts +5 -0
  23. package/build/build/dot.d.ts +4 -0
  24. package/build/build/flex.d.ts +12 -0
  25. package/build/build/footer.d.ts +4 -0
  26. package/build/build/gauge.d.ts +6 -0
  27. package/build/build/gjensidige-logo.d.ts +5 -0
  28. package/build/build/hooks/use-media-query.d.ts +2 -0
  29. package/build/build/hover-gradient.d.ts +8 -0
  30. package/build/build/icon-button.d.ts +10 -0
  31. package/build/build/icon.d.ts +8 -0
  32. package/build/build/icons/arrow-down.d.ts +5 -0
  33. package/build/build/icons/caret-down.d.ts +5 -0
  34. package/build/build/icons/caret-right.d.ts +5 -0
  35. package/build/build/icons/check.d.ts +5 -0
  36. package/build/build/icons/chevron-down.d.ts +5 -0
  37. package/build/build/icons/chevron-up.d.ts +5 -0
  38. package/build/build/icons/chrome-browser-logo.d.ts +5 -0
  39. package/build/build/icons/copy.d.ts +5 -0
  40. package/build/build/icons/edge-browser-logo.d.ts +5 -0
  41. package/build/build/icons/edit.d.ts +5 -0
  42. package/build/build/icons/exclamation-triangle.d.ts +5 -0
  43. package/build/build/icons/kakadu-guide-glyph.d.ts +5 -0
  44. package/build/build/icons/kakadu-guide.d.ts +5 -0
  45. package/build/build/icons/menu.d.ts +5 -0
  46. package/build/build/icons/plus.d.ts +5 -0
  47. package/build/build/icons/test.d.ts +5 -0
  48. package/build/build/icons/times.d.ts +5 -0
  49. package/build/build/jsx-runtime-BB_1_6y_.d.ts +2 -0
  50. package/build/build/kakadu-guide-icon.d.ts +4 -0
  51. package/build/build/kakadu-guide-logo.d.ts +11 -0
  52. package/build/build/kakadu-index-logo.d.ts +5 -0
  53. package/build/build/kakadu-logo.d.ts +5 -0
  54. package/build/build/modal.d.ts +22 -0
  55. package/build/build/moving-gradients.d.ts +8 -0
  56. package/build/build/moving-stars.d.ts +11 -0
  57. package/build/build/notice.d.ts +10 -0
  58. package/build/build/notification.d.ts +15 -0
  59. package/build/build/revealer.d.ts +24 -0
  60. package/build/build/separator.d.ts +10 -0
  61. package/build/build/skeleton.d.ts +16 -0
  62. package/build/build/sparebank1-logo.d.ts +5 -0
  63. package/build/build/spinner.d.ts +11 -0
  64. package/build/build/sto-logo.d.ts +5 -0
  65. package/build/build/storebrand-logo.d.ts +5 -0
  66. package/build/build/text-button.d.ts +12 -0
  67. package/build/build/text.d.ts +30 -0
  68. package/build/build/theme-setter.d.ts +9 -0
  69. package/build/build/theme.d.ts +22 -0
  70. package/build/build/utilities/copy-to-clipboard.d.ts +2 -0
  71. package/build/build/utilities/generate-random-id.d.ts +2 -0
  72. package/build/build/utilities/scale.d.ts +11 -0
  73. package/build/build/veil.d.ts +4 -0
  74. package/build/button-tooltip.d.ts +4 -0
  75. package/build/button-tooltip.js +1 -0
  76. package/build/button-tooltip.mjs +11 -0
  77. package/build/button.d.ts +32 -0
  78. package/build/button.js +1 -0
  79. package/build/button.mjs +69 -0
  80. package/build/card.d.ts +8 -0
  81. package/build/card.js +1 -0
  82. package/build/card.mjs +36 -0
  83. package/build/click-ripples.d.ts +2 -0
  84. package/build/click-ripples.js +1 -0
  85. package/build/click-ripples.mjs +60 -0
  86. package/build/components.css +1 -1
  87. package/build/datum.d.ts +5 -0
  88. package/build/datum.js +1 -0
  89. package/build/datum.mjs +27 -0
  90. package/build/dnb-logo.d.ts +2 -0
  91. package/build/dnb-logo.js +1 -0
  92. package/build/dnb-logo.mjs +31 -0
  93. package/build/dot.d.ts +2 -0
  94. package/build/dot.js +1 -0
  95. package/build/dot.mjs +10 -0
  96. package/build/flex.d.ts +14 -1
  97. package/build/flex.js +1 -1
  98. package/build/flex.mjs +17 -2
  99. package/build/footer.d.ts +3 -0
  100. package/build/footer.js +1 -0
  101. package/build/footer.mjs +65 -0
  102. package/build/gauge.d.ts +6 -1
  103. package/build/gauge.js +1 -1
  104. package/build/gauge.mjs +39 -2
  105. package/build/gjensidige-logo.d.ts +2 -0
  106. package/build/gjensidige-logo.js +1 -0
  107. package/build/gjensidige-logo.mjs +30 -0
  108. package/build/hooks/use-media-query.d.ts +1 -0
  109. package/build/hooks/use-media-query.js +1 -0
  110. package/build/hooks/use-media-query.mjs +20 -0
  111. package/build/hover-gradient.d.ts +5 -0
  112. package/build/hover-gradient.js +1 -0
  113. package/build/hover-gradient.mjs +48 -0
  114. package/build/icon-button.d.ts +13 -0
  115. package/build/icon-button.js +1 -0
  116. package/build/icon-button.mjs +45 -0
  117. package/build/icon.js +1 -0
  118. package/build/icon.mjs +50 -0
  119. package/build/icons/arrow-down.d.ts +2 -0
  120. package/build/icons/arrow-down.js +1 -0
  121. package/build/icons/arrow-down.mjs +24 -0
  122. package/build/icons/caret-down.d.ts +2 -0
  123. package/build/icons/caret-down.js +1 -0
  124. package/build/icons/caret-down.mjs +27 -0
  125. package/build/icons/caret-right.d.ts +2 -0
  126. package/build/icons/caret-right.js +1 -0
  127. package/build/icons/caret-right.mjs +27 -0
  128. package/build/icons/check.d.ts +2 -0
  129. package/build/icons/check.js +1 -0
  130. package/build/icons/check.mjs +27 -0
  131. package/build/icons/chevron-down.d.ts +2 -0
  132. package/build/icons/chevron-down.js +1 -0
  133. package/build/icons/chevron-down.mjs +27 -0
  134. package/build/icons/chevron-up.d.ts +2 -0
  135. package/build/icons/chevron-up.js +1 -0
  136. package/build/icons/chevron-up.mjs +27 -0
  137. package/build/icons/chrome-browser-logo.d.ts +2 -0
  138. package/build/icons/chrome-browser-logo.js +1 -0
  139. package/build/icons/chrome-browser-logo.mjs +24 -0
  140. package/build/icons/copy.d.ts +2 -0
  141. package/build/icons/copy.js +1 -0
  142. package/build/icons/copy.mjs +29 -0
  143. package/build/icons/edge-browser-logo.d.ts +2 -0
  144. package/build/icons/edge-browser-logo.js +1 -0
  145. package/build/icons/edge-browser-logo.mjs +24 -0
  146. package/build/icons/edit.d.ts +2 -0
  147. package/build/icons/edit.js +1 -0
  148. package/build/icons/edit.mjs +27 -0
  149. package/build/icons/exclamation-triangle.d.ts +2 -0
  150. package/build/icons/exclamation-triangle.js +1 -0
  151. package/build/icons/exclamation-triangle.mjs +29 -0
  152. package/build/icons/icon.d.ts +25 -0
  153. package/build/icons/kakadu-guide-glyph.d.ts +2 -0
  154. package/build/icons/kakadu-guide-glyph.js +1 -0
  155. package/build/icons/kakadu-guide-glyph.mjs +24 -0
  156. package/build/icons/kakadu-guide.d.ts +2 -0
  157. package/build/icons/kakadu-guide.js +1 -0
  158. package/build/icons/kakadu-guide.mjs +27 -0
  159. package/build/icons/menu.d.ts +2 -0
  160. package/build/icons/menu.js +1 -0
  161. package/build/icons/menu.mjs +25 -0
  162. package/build/icons/plus.d.ts +2 -0
  163. package/build/icons/plus.js +1 -0
  164. package/build/icons/plus.mjs +27 -0
  165. package/build/icons/test.d.ts +2 -0
  166. package/build/icons/test.js +1 -0
  167. package/build/icons/test.mjs +29 -0
  168. package/build/icons/times.d.ts +2 -0
  169. package/build/icons/times.js +1 -0
  170. package/build/icons/times.mjs +27 -0
  171. package/build/index.html +0 -0
  172. package/build/kakadu-guide-icon.d.ts +3 -0
  173. package/build/kakadu-guide-icon.js +1 -0
  174. package/build/kakadu-guide-icon.mjs +14 -0
  175. package/build/kakadu-guide-logo.d.ts +10 -0
  176. package/build/kakadu-guide-logo.js +1 -0
  177. package/build/kakadu-guide-logo.mjs +59 -0
  178. package/build/kakadu-index-logo.d.ts +2 -0
  179. package/build/kakadu-index-logo.js +1 -0
  180. package/build/kakadu-index-logo.mjs +66 -0
  181. package/build/kakadu-logo.d.ts +2 -0
  182. package/build/kakadu-logo.js +1 -0
  183. package/build/kakadu-logo.mjs +44 -0
  184. package/build/modal.d.ts +28 -0
  185. package/build/modal.js +9 -0
  186. package/build/modal.mjs +1246 -0
  187. package/build/moving-gradients.d.ts +9 -0
  188. package/build/moving-gradients.js +1 -0
  189. package/build/moving-gradients.mjs +86 -0
  190. package/build/moving-stars.d.ts +12 -0
  191. package/build/moving-stars.js +1 -0
  192. package/build/moving-stars.mjs +90 -0
  193. package/build/notice.d.ts +12 -0
  194. package/build/notice.js +1 -0
  195. package/build/notice.mjs +22 -0
  196. package/build/notification.d.ts +17 -0
  197. package/build/notification.js +1 -0
  198. package/build/notification.mjs +84 -0
  199. package/build/revealer.d.ts +20 -0
  200. package/build/revealer.js +1 -0
  201. package/build/revealer.mjs +76 -0
  202. package/build/separator.d.ts +5 -0
  203. package/build/separator.js +1 -0
  204. package/build/separator.mjs +24 -0
  205. package/build/skeleton.d.ts +15 -1
  206. package/build/skeleton.js +1 -1
  207. package/build/skeleton.mjs +38 -3
  208. package/build/sparebank1-logo.d.ts +2 -0
  209. package/build/sparebank1-logo.js +1 -0
  210. package/build/sparebank1-logo.mjs +61 -0
  211. package/build/spinner.d.ts +10 -1
  212. package/build/spinner.js +1 -1
  213. package/build/spinner.mjs +31 -3
  214. package/build/sto-logo.d.ts +2 -0
  215. package/build/sto-logo.js +1 -0
  216. package/build/sto-logo.mjs +53 -0
  217. package/build/storebrand-logo.d.ts +2 -0
  218. package/build/storebrand-logo.js +1 -0
  219. package/build/storebrand-logo.mjs +46 -0
  220. package/build/text-button.d.ts +19 -0
  221. package/build/text-button.js +1 -0
  222. package/build/text-button.mjs +36 -0
  223. package/build/text.d.ts +11 -1
  224. package/build/text.js +1 -1
  225. package/build/text.mjs +49 -5
  226. package/build/theme-setter.d.ts +11 -0
  227. package/build/theme-setter.js +20 -0
  228. package/build/theme-setter.mjs +79 -0
  229. package/build/theme.d.ts +5 -0
  230. package/build/theme.js +1 -1
  231. package/build/theme.mjs +25 -8
  232. package/build/utilities/copy-to-clipboard.d.ts +1 -0
  233. package/build/utilities/copy-to-clipboard.js +1 -0
  234. package/build/utilities/copy-to-clipboard.mjs +26 -0
  235. package/build/utilities/generate-random-id.d.ts +1 -0
  236. package/build/utilities/generate-random-id.js +1 -0
  237. package/build/utilities/generate-random-id.mjs +14 -0
  238. package/build/utilities/scale.d.ts +11 -0
  239. package/build/utilities/scale.js +1 -0
  240. package/build/utilities/scale.mjs +13 -0
  241. package/build/veil.d.ts +3 -0
  242. package/build/veil.js +1 -0
  243. package/build/veil.mjs +17 -0
  244. package/index.d.ts +60 -0
  245. package/package.json +278 -18
  246. package/readme.md +3 -1
  247. package/theme.tsx +151 -27
  248. package/build/atom-B-bW2QKm.js +0 -1
  249. package/build/atom-CqxGy6PS.mjs +0 -12
  250. package/build/box-4_-REPb0.js +0 -1
  251. package/build/box-Cf22bdCb.mjs +0 -13
  252. package/build/components/aria-text.d.ts +0 -5
  253. package/build/components/atom.d.ts +0 -10
  254. package/build/components/box.d.ts +0 -4
  255. package/build/components/flex.d.ts +0 -7
  256. package/build/components/gauge.d.ts +0 -6
  257. package/build/components/skeleton.d.ts +0 -13
  258. package/build/components/spinner.d.ts +0 -10
  259. package/build/components/text.d.ts +0 -7
  260. package/build/flex-C4bEYrMM.mjs +0 -16
  261. package/build/flex-JFSv9GFG.js +0 -1
  262. package/build/gauge-C1CypvvD.mjs +0 -41
  263. package/build/gauge-mog6SjVx.js +0 -1
  264. package/build/index.d.ts +0 -10
  265. package/build/index.js +0 -1
  266. package/build/index.mjs +0 -39
  267. package/build/skeleton-B5bJ732_.js +0 -1
  268. package/build/skeleton-C593Afco.mjs +0 -48
  269. package/build/spinner-DE_Y3sKH.mjs +0 -33
  270. package/build/spinner-DFfE6tSd.js +0 -1
  271. package/build/text-BO7Qt7Lj.js +0 -1
  272. package/build/text-ZYVNxqac.mjs +0 -39
@@ -1 +1,5 @@
1
- export { default } from './components/aria-text';
1
+ import { type AtomElementType, type AtomProperties } from './atom';
2
+ export declare const ariaTextStyles: string;
3
+ type AriaTextProperties<Type extends AtomElementType = 'span'> = AtomProperties<Type>;
4
+ export default function AriaText<Type extends AtomElementType = 'span'>({ as, className, ...properties }: AriaTextProperties<Type>): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./jsx-runtime-BB_1_6y_.js"),u=require("@kuma-ui/core"),o=require("./atom.js"),e="kakadu-components-3440084244";function n({as:t,className:s,...r}){return a.jsxRuntimeExports.jsx(o.default,{as:t??"span",...r,className:u.cx(e,s)})}exports.ariaTextStyles=e;exports.default=n;
@@ -0,0 +1,15 @@
1
+ import { j as r } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { cx as s } from "@kuma-ui/core";
3
+ import m from "./atom.mjs";
4
+ const e = "kakadu-components-3440084244";
5
+ function x({
6
+ as: t,
7
+ className: o,
8
+ ...a
9
+ }) {
10
+ return /* @__PURE__ */ r.jsx(m, { as: t ?? "span", ...a, className: s(e, o) });
11
+ }
12
+ export {
13
+ e as ariaTextStyles,
14
+ x as default
15
+ };
package/build/atom.d.ts CHANGED
@@ -1,2 +1,10 @@
1
- export { default, defaultAtomElementType } from './components/atom';
2
- export type { AtomProperties, DefaultAtomElementType } from './components/atom';
1
+ import { type ElementType, type ComponentPropsWithoutRef, type ComponentRef, type Ref } from 'react';
2
+ export declare const defaultAtomElementType = "div";
3
+ export type AtomElementType = ElementType;
4
+ export type DefaultAtomElementType = typeof defaultAtomElementType;
5
+ export type AtomProperties<Type extends ElementType = DefaultAtomElementType> = ComponentPropsWithoutRef<Type> & {
6
+ readonly as?: Type;
7
+ readonly reference?: Ref<ComponentRef<Type>>;
8
+ readonly className?: string;
9
+ };
10
+ export default function Atom<Type extends ElementType = DefaultAtomElementType>({ as, reference, ...properties }: AtomProperties<Type>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
package/build/atom.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./atom-B-bW2QKm.js");exports.default=e.Atom;exports.defaultAtomElementType=e.defaultAtomElementType;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react"),e="div";function o({as:t,reference:r,...u}){return l.createElement(t??e,{...u,ref:r})}exports.default=o;exports.defaultAtomElementType=e;
package/build/atom.mjs CHANGED
@@ -1,5 +1,12 @@
1
- import { A as a, d } from "./atom-CqxGy6PS.mjs";
1
+ import { createElement as r } from "react";
2
+ const m = "div";
3
+ function f({ as: e, reference: t, ...o }) {
4
+ return r(e ?? m, {
5
+ ...o,
6
+ ref: t
7
+ });
8
+ }
2
9
  export {
3
- a as default,
4
- d as defaultAtomElementType
10
+ f as default,
11
+ m as defaultAtomElementType
5
12
  };
@@ -0,0 +1,2 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export default function BankIdLogoSvg({ 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 t=require("./jsx-runtime-BB_1_6y_.js"),i=require("./utilities/scale.js");function m({fill:h,...s}){const{width:x,height:e}=i.default({originalWidth:401,originalHeight:90,width:s.width,height:s.height});return t.jsxRuntimeExports.jsx("svg",{fill:"none",viewBox:"0 0 401 90",xmlns:"http://www.w3.org/2000/svg",...s,width:x,height:e,children:t.jsxRuntimeExports.jsxs("g",{fill:h??"#39134c",children:[t.jsxRuntimeExports.jsx("path",{d:"m38.13 24.7024h-15.6857c-2.0915 0-3.9215-1.8333-3.9215-3.9286 0-2.0952 1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286 0 2.0953-1.83 3.9286-3.9214 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m38.13 56.131h-15.6857c-2.0915 0-3.9215-1.8334-3.9215-3.9286s1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m38.13 71.8452h-15.6857c-2.0915 0-3.9215-1.8333-3.9215-3.9285 0-2.0953 1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8333 3.9214 3.9286 0 2.0952-1.83 3.9285-3.9214 3.9285z"}),t.jsxRuntimeExports.jsx("path",{d:"m69.5014 40.4167h-15.6857c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m69.5014 56.131h-15.6857c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m100.873 24.7024h-15.6859c-2.0914 0-3.9214-1.8333-3.9214-3.9286 0-2.0952 1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8334 3.921 3.9286 0 2.0953-1.83 3.9286-3.921 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m100.873 40.4167h-15.6859c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8334 3.921 3.9286s-1.83 3.9286-3.921 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m100.873 71.8452h-15.6859c-2.0914 0-3.9214-1.8333-3.9214-3.9285 0-2.0953 1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8333 3.921 3.9286 0 2.0952-1.83 3.9285-3.921 3.9285z"}),t.jsxRuntimeExports.jsx("path",{d:"m138.257 51.1548c0 8.3809 4.706 12.8333 10.196 12.8333 4.967 0 10.457-4.1905 10.457-12.8333 0-8.6429-5.229-12.5715-10.196-12.5715-5.49 0-10.457 3.9286-10.457 12.5715zm0-34.3096v20.4286c2.353-3.6666 6.536-7.3333 13.594-7.3333 7.843 0 17.255 6.5476 17.255 20.9524 0 14.9285-8.889 22.2619-18.039 22.2619-5.228 0-9.673-2.3572-12.548-7.0715v5.7619h-10.196v-55z"}),t.jsxRuntimeExports.jsx("path",{d:"m184.007 51.4167c0 8.6428 5.229 12.5714 10.196 12.5714 5.49 0 10.196-3.6667 10.196-12.5714 0-8.6429-4.706-12.8333-10.196-12.8333-4.706 0-10.196 3.9285-10.196 12.8333zm-9.934-.5238c0-14.1429 9.15-21.2143 18.3-21.2143 4.967 0 9.15 1.8333 12.287 6.2857v-5.2381h9.934v41.1191h-9.934v-5.7619c-2.876 3.9285-7.059 6.8095-13.594 6.8095-7.843 0-16.993-6.8095-16.993-22z"}),t.jsxRuntimeExports.jsx("path",{d:"m234.201 48.5357v23.3096h-9.934v-40.8572h9.934v6.0238c2.876-5.2381 8.105-7.0714 12.549-7.0714 7.059 0 13.856 3.6667 13.856 14.6667v27.2381h-9.935v-23.5715c0-6.8095-3.398-9.4285-7.842-9.4285-4.968.2619-8.628 3.1428-8.628 9.6904z"}),t.jsxRuntimeExports.jsx("path",{d:"m270.017 16.8452v55h9.934v-9.9523l5.49-6.8096 11.242 16.7619h10.98l-16.209-23.8333 14.117-17.0238h-11.241l-14.379 18.8571v-33z"}),t.jsxRuntimeExports.jsx("path",{d:"m327.531 18.6786h-10.195v53.1667h10.195z"}),t.jsxRuntimeExports.jsx("path",{d:"m357.073 18.6786h-19.346v53.1667h19.346c14.378 0 26.404-8.6429 26.404-26.7143 0-17.8096-12.026-26.4524-26.404-26.4524zm0 43.7381h-9.15v-34.3095h9.15c8.366 0 15.424 5.5 15.424 17.2857 0 11.5238-7.058 17.0238-15.424 17.0238z"})]})})}exports.default=m;
@@ -0,0 +1,43 @@
1
+ import { j as h } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import d from "./utilities/scale.mjs";
3
+ function x({
4
+ fill: c,
5
+ ...s
6
+ }) {
7
+ const { width: t, height: m } = d({
8
+ originalWidth: 401,
9
+ originalHeight: 90,
10
+ width: s.width,
11
+ height: s.height
12
+ });
13
+ return /* @__PURE__ */ h.jsx(
14
+ "svg",
15
+ {
16
+ fill: "none",
17
+ viewBox: "0 0 401 90",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ ...s,
20
+ width: t,
21
+ height: m,
22
+ children: /* @__PURE__ */ h.jsxs("g", { fill: c ?? "#39134c", children: [
23
+ /* @__PURE__ */ h.jsx("path", { d: "m38.13 24.7024h-15.6857c-2.0915 0-3.9215-1.8333-3.9215-3.9286 0-2.0952 1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286 0 2.0953-1.83 3.9286-3.9214 3.9286z" }),
24
+ /* @__PURE__ */ h.jsx("path", { d: "m38.13 56.131h-15.6857c-2.0915 0-3.9215-1.8334-3.9215-3.9286s1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z" }),
25
+ /* @__PURE__ */ h.jsx("path", { d: "m38.13 71.8452h-15.6857c-2.0915 0-3.9215-1.8333-3.9215-3.9285 0-2.0953 1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8333 3.9214 3.9286 0 2.0952-1.83 3.9285-3.9214 3.9285z" }),
26
+ /* @__PURE__ */ h.jsx("path", { d: "m69.5014 40.4167h-15.6857c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z" }),
27
+ /* @__PURE__ */ h.jsx("path", { d: "m69.5014 56.131h-15.6857c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z" }),
28
+ /* @__PURE__ */ h.jsx("path", { d: "m100.873 24.7024h-15.6859c-2.0914 0-3.9214-1.8333-3.9214-3.9286 0-2.0952 1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8334 3.921 3.9286 0 2.0953-1.83 3.9286-3.921 3.9286z" }),
29
+ /* @__PURE__ */ h.jsx("path", { d: "m100.873 40.4167h-15.6859c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8334 3.921 3.9286s-1.83 3.9286-3.921 3.9286z" }),
30
+ /* @__PURE__ */ h.jsx("path", { d: "m100.873 71.8452h-15.6859c-2.0914 0-3.9214-1.8333-3.9214-3.9285 0-2.0953 1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8333 3.921 3.9286 0 2.0952-1.83 3.9285-3.921 3.9285z" }),
31
+ /* @__PURE__ */ h.jsx("path", { d: "m138.257 51.1548c0 8.3809 4.706 12.8333 10.196 12.8333 4.967 0 10.457-4.1905 10.457-12.8333 0-8.6429-5.229-12.5715-10.196-12.5715-5.49 0-10.457 3.9286-10.457 12.5715zm0-34.3096v20.4286c2.353-3.6666 6.536-7.3333 13.594-7.3333 7.843 0 17.255 6.5476 17.255 20.9524 0 14.9285-8.889 22.2619-18.039 22.2619-5.228 0-9.673-2.3572-12.548-7.0715v5.7619h-10.196v-55z" }),
32
+ /* @__PURE__ */ h.jsx("path", { d: "m184.007 51.4167c0 8.6428 5.229 12.5714 10.196 12.5714 5.49 0 10.196-3.6667 10.196-12.5714 0-8.6429-4.706-12.8333-10.196-12.8333-4.706 0-10.196 3.9285-10.196 12.8333zm-9.934-.5238c0-14.1429 9.15-21.2143 18.3-21.2143 4.967 0 9.15 1.8333 12.287 6.2857v-5.2381h9.934v41.1191h-9.934v-5.7619c-2.876 3.9285-7.059 6.8095-13.594 6.8095-7.843 0-16.993-6.8095-16.993-22z" }),
33
+ /* @__PURE__ */ h.jsx("path", { d: "m234.201 48.5357v23.3096h-9.934v-40.8572h9.934v6.0238c2.876-5.2381 8.105-7.0714 12.549-7.0714 7.059 0 13.856 3.6667 13.856 14.6667v27.2381h-9.935v-23.5715c0-6.8095-3.398-9.4285-7.842-9.4285-4.968.2619-8.628 3.1428-8.628 9.6904z" }),
34
+ /* @__PURE__ */ h.jsx("path", { d: "m270.017 16.8452v55h9.934v-9.9523l5.49-6.8096 11.242 16.7619h10.98l-16.209-23.8333 14.117-17.0238h-11.241l-14.379 18.8571v-33z" }),
35
+ /* @__PURE__ */ h.jsx("path", { d: "m327.531 18.6786h-10.195v53.1667h10.195z" }),
36
+ /* @__PURE__ */ h.jsx("path", { d: "m357.073 18.6786h-19.346v53.1667h19.346c14.378 0 26.404-8.6429 26.404-26.7143 0-17.8096-12.026-26.4524-26.404-26.4524zm0 43.7381h-9.15v-34.3095h9.15c8.366 0 15.424 5.5 15.424 17.2857 0 11.5238-7.058 17.0238-15.424 17.0238z" })
37
+ ] })
38
+ }
39
+ );
40
+ }
41
+ export {
42
+ x as default
43
+ };
package/build/box.d.ts CHANGED
@@ -1 +1,4 @@
1
- export { default } from './components/box';
1
+ import { type DefaultAtomElementType, type AtomElementType, type AtomProperties } from './atom';
2
+ type BoxProperties<Type extends AtomElementType = DefaultAtomElementType> = AtomProperties<Type>;
3
+ export default function Box<Type extends AtomElementType = DefaultAtomElementType>({ as, className, ...properties }: BoxProperties<Type>): import("react/jsx-runtime").JSX.Element;
4
+ export {};
package/build/box.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./box-4_-REPb0.js");exports.default=e.Box;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./jsx-runtime-BB_1_6y_.js"),s=require("@kuma-ui/core"),e=require("./atom.js");function n({as:t,className:u,...o}){return r.jsxRuntimeExports.jsx(e.default,{as:t??e.defaultAtomElementType,...o,className:s.cx("kakadu-components-202187034",u)})}exports.default=n;
package/build/box.mjs CHANGED
@@ -1,4 +1,13 @@
1
- import { B as f } from "./box-Cf22bdCb.mjs";
1
+ import { j as e } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { cx as r } from "@kuma-ui/core";
3
+ import a, { defaultAtomElementType as s } from "./atom.mjs";
4
+ function u({
5
+ as: o,
6
+ className: t,
7
+ ...m
8
+ }) {
9
+ return /* @__PURE__ */ e.jsx(a, { as: o ?? s, ...m, className: r("kakadu-components-202187034", t) });
10
+ }
2
11
  export {
3
- f as default
12
+ u as default
4
13
  };
@@ -0,0 +1,8 @@
1
+ export { e as ariaTextStyles };
2
+ export default n;
3
+ declare const e: "kakadu-components-3440084244";
4
+ declare function n({ as: t, className: s, ...r }: {
5
+ [x: string]: any;
6
+ as: any;
7
+ className: any;
8
+ }): any;
@@ -0,0 +1,9 @@
1
+ export default o;
2
+ export { e as defaultAtomElementType };
3
+ declare function o({ as: t, reference: r, ...u }: {
4
+ [x: string]: any;
5
+ as: any;
6
+ reference: any;
7
+ }): l.DetailedReactHTMLElement<l.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
8
+ declare const e: "div";
9
+ import l = require("react");
@@ -0,0 +1,5 @@
1
+ export default m;
2
+ declare function m({ fill: h, ...s }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,6 @@
1
+ export default n;
2
+ declare function n({ as: t, className: u, ...o }: {
3
+ [x: string]: any;
4
+ as: any;
5
+ className: any;
6
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default r;
2
+ declare function r({ label: e, className: t }: {
3
+ label: any;
4
+ className: any;
5
+ }): any;
@@ -0,0 +1,23 @@
1
+ export default O;
2
+ declare var k: any;
3
+ declare const S: "kakadu-components-1978976872";
4
+ declare const j: "kakadu-components-2244098950";
5
+ declare const _: "kakadu-components-3923184173";
6
+ declare const y: "kakadu-components-317965671";
7
+ declare function O({ type: s, variant: t, className: a, children: n, label: R, tooltip: c, iconLeft: r, iconRight: i, isLoading: u, hasMovingGradients: b, movingGradientsCount: m, hasMovingStars: f, movingStarsCount: d, ...E }: {
8
+ [x: string]: any;
9
+ type: any;
10
+ variant?: string | undefined;
11
+ className: any;
12
+ children: any;
13
+ label: any;
14
+ tooltip: any;
15
+ iconLeft: any;
16
+ iconRight: any;
17
+ isLoading: any;
18
+ hasMovingGradients?: boolean | undefined;
19
+ movingGradientsCount?: number | undefined;
20
+ hasMovingStars?: boolean | undefined;
21
+ movingStarsCount?: number | undefined;
22
+ }): any;
23
+ export { k as ButtonVariant, S as buttonDangerStyles, j as buttonSecondaryStyles, _ as buttonSuccessStyles, y as buttonWarningStyles };
@@ -0,0 +1,11 @@
1
+ export default R;
2
+ declare function R({ icon: a, title: u, description: c, action: l, href: s, target: x, rel: d, ...m }: {
3
+ [x: string]: any;
4
+ icon: any;
5
+ title: any;
6
+ description: any;
7
+ action: any;
8
+ href: any;
9
+ target: any;
10
+ rel: any;
11
+ }): any;
@@ -0,0 +1,6 @@
1
+ export default y;
2
+ declare function y({ size: s, className: i, ...r }: {
3
+ [x: string]: any;
4
+ size?: number | undefined;
5
+ className: any;
6
+ }): any;
@@ -0,0 +1,6 @@
1
+ export default p;
2
+ declare function p({ title: c, value: l, hasCopyButton: x }: {
3
+ title: any;
4
+ value: any;
5
+ hasCopyButton: any;
6
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default n;
2
+ declare function n({ fill: l, ...e }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,4 @@
1
+ export default s;
2
+ declare function s({ className: e }: {
3
+ className: any;
4
+ }): any;
@@ -0,0 +1,12 @@
1
+ export { a as FlexAlignment };
2
+ export default m;
3
+ declare var a: any;
4
+ declare function m({ as: o, direction: s, alignment: n, gap: e, wrap: u, className: c, ...k }: {
5
+ [x: string]: any;
6
+ as: any;
7
+ direction?: string | undefined;
8
+ alignment: any;
9
+ gap?: number | undefined;
10
+ wrap?: boolean | undefined;
11
+ className: any;
12
+ }): any;
@@ -0,0 +1,4 @@
1
+ export default l;
2
+ declare function l({ isFullWidth: a }: {
3
+ isFullWidth?: boolean | undefined;
4
+ }): any;
@@ -0,0 +1,6 @@
1
+ export default j;
2
+ declare function j({ label: a, size: n, percentage: u }: {
3
+ label: any;
4
+ size: any;
5
+ percentage?: number | undefined;
6
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default m;
2
+ declare function m({ fill: s, ...l }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,2 @@
1
+ export default a;
2
+ declare function a(t: any): boolean | undefined;
@@ -0,0 +1,8 @@
1
+ export default $;
2
+ export { R as normalBlendStyles };
3
+ declare function $({ size: x, className: k, ...E }: {
4
+ [x: string]: any;
5
+ size?: number | undefined;
6
+ className: any;
7
+ }): any;
8
+ declare const R: "kakadu-components-2608453841";
@@ -0,0 +1,10 @@
1
+ export { m as IconButtonVariant };
2
+ export default R;
3
+ declare var m: any;
4
+ declare function R({ icon: e, variant: u, label: a, className: p, ...k }: {
5
+ [x: string]: any;
6
+ icon: any;
7
+ variant?: string | undefined;
8
+ label: any;
9
+ className: any;
10
+ }): any;
@@ -0,0 +1,8 @@
1
+ export default B;
2
+ declare var r: any;
3
+ declare function B({ type: e, ...t }: {
4
+ [x: string]: any;
5
+ type: any;
6
+ }): any;
7
+ declare const x: "kakadu-components-1645965623";
8
+ export { r as IconType, x as iconShadowStyles };
@@ -0,0 +1,5 @@
1
+ export default r;
2
+ declare function r({ fill: t, ...s }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default i;
2
+ declare function i({ fill: t, ...r }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default i;
2
+ declare function i({ fill: t, ...r }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default r;
2
+ declare function r({ fill: t, ...l }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default r;
2
+ declare function r({ fill: t, ...l }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default r;
2
+ declare function r({ fill: t, ...l }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default o;
2
+ declare function o({ fill: t, ...r }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default c;
2
+ declare function c({ fill: t, ...l }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default o;
2
+ declare function o({ fill: t, ...r }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default r;
2
+ declare function r({ fill: t, ...i }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default i;
2
+ declare function i({ fill: l, ...t }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default i;
2
+ declare function i({ fill: t, ...s }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default s;
2
+ declare function s({ fill: t, ...i }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default i;
2
+ declare function i({ fill: e, ...r }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default s;
2
+ declare function s({ fill: t, ...r }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default i;
2
+ declare function i({ fill: t, ...l }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default i;
2
+ declare function i({ fill: t, ...l }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,2 @@
1
+ export { ne as jsxRuntimeExports };
2
+ declare var ne: {};
@@ -0,0 +1,4 @@
1
+ export default i;
2
+ declare function i({ size: e }: {
3
+ size?: number | undefined;
4
+ }): any;
@@ -0,0 +1,11 @@
1
+ export default d;
2
+ declare function x({ fill: c, ...t }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
6
+ declare var i: any;
7
+ declare function d({ variant: c, height: t }: {
8
+ variant?: string | undefined;
9
+ height?: number | undefined;
10
+ }): any;
11
+ export { x as KakaduGuideLogoSvg, i as KakaduGuideLogoVariant };
@@ -0,0 +1,5 @@
1
+ export default e;
2
+ declare function e({ fill: c, ...t }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default n;
2
+ declare function n({ fill: e, ...t }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,22 @@
1
+ export default pt;
2
+ declare function pt({ root: r, maxWidth: e, className: t, isVisible: a, isFullWidth: u, shouldCloseOnOutsideClick: l, shouldCloseOnEscapePress: n, showCloseButton: p, onClose: y, children: E }: {
3
+ root: any;
4
+ maxWidth: any;
5
+ className: any;
6
+ isVisible: any;
7
+ isFullWidth?: boolean | undefined;
8
+ shouldCloseOnOutsideClick?: boolean | undefined;
9
+ shouldCloseOnEscapePress?: boolean | undefined;
10
+ showCloseButton?: boolean | undefined;
11
+ onClose: any;
12
+ children: any;
13
+ }): any;
14
+ declare function bt(r: any, e: any): {
15
+ isVisible: boolean;
16
+ show: () => Promise<any>;
17
+ modal: any;
18
+ };
19
+ declare function De(): {
20
+ isVisible: boolean;
21
+ };
22
+ export { bt as useModal, De as useModalContext };
@@ -0,0 +1,8 @@
1
+ export default O;
2
+ declare function O({ className: S, colors: C, maximumGradientsCount: m, speed: b, opacity: X }: {
3
+ className: any;
4
+ colors?: string[] | undefined;
5
+ maximumGradientsCount?: number | undefined;
6
+ speed?: number | undefined;
7
+ opacity?: number | undefined;
8
+ }): any;
@@ -0,0 +1,11 @@
1
+ export default B;
2
+ declare function B({ color: y, opacity: R, className: W, minimumSize: A, maximumSize: S, maximumStarsCount: x, speed: C, hasMask: j }: {
3
+ color: any;
4
+ opacity: any;
5
+ className: any;
6
+ minimumSize?: number | undefined;
7
+ maximumSize?: number | undefined;
8
+ maximumStarsCount?: number | undefined;
9
+ speed?: number | undefined;
10
+ hasMask?: boolean | undefined;
11
+ }): any;
@@ -0,0 +1,10 @@
1
+ export { r as NoticeType };
2
+ export default p;
3
+ declare var r: any;
4
+ declare function p({ type: s, icon: a, className: u, children: t, ...d }: {
5
+ [x: string]: any;
6
+ type?: string | undefined;
7
+ icon: any;
8
+ className: any;
9
+ children: any;
10
+ }): any;
@@ -0,0 +1,15 @@
1
+ export default x;
2
+ declare function C({ children: n }: {
3
+ children: any;
4
+ }): any;
5
+ declare function x({ type: n, icon: d, index: c, className: u, children: f, onDismiss: o, ...i }: {
6
+ [x: string]: any;
7
+ type: any;
8
+ icon: any;
9
+ index: any;
10
+ className: any;
11
+ children: any;
12
+ onDismiss: any;
13
+ }): any;
14
+ declare function E(): () => never;
15
+ export { C as NotificationProvider, E as useCreateNotification };
@@ -0,0 +1,24 @@
1
+ export default q;
2
+ export { k as useRevealer };
3
+ declare function q({ delay: t, animationDelay: c, duration: n, threshold: l, distance: d, isMoving: r, isCentered: m, shouldReveal: f, children: v, className: a, ...o }: {
4
+ [x: string]: any;
5
+ delay: any;
6
+ animationDelay: any;
7
+ duration: any;
8
+ threshold: any;
9
+ distance: any;
10
+ isMoving: any;
11
+ isCentered: any;
12
+ shouldReveal: any;
13
+ children: any;
14
+ className: any;
15
+ }): any;
16
+ declare function k(t: any, c?: {}): {
17
+ isVisible: boolean;
18
+ style: {
19
+ "--distance": string;
20
+ "--duration": string;
21
+ "--animation-delay": string;
22
+ };
23
+ className: string;
24
+ };
@@ -0,0 +1,10 @@
1
+ export { u as SeparatorLabel };
2
+ export default r;
3
+ declare function u({ label: n, ...t }: {
4
+ [x: string]: any;
5
+ label: any;
6
+ }): any;
7
+ declare function r({ className: n, ...t }: {
8
+ [x: string]: any;
9
+ className: any;
10
+ }): any;
@@ -0,0 +1,16 @@
1
+ export { u as SkeletonInstance };
2
+ export default l;
3
+ declare function u({ label: s, width: t, height: r, className: i, children: n, isAnimated: o, ...c }: {
4
+ [x: string]: any;
5
+ label: any;
6
+ width: any;
7
+ height: any;
8
+ className: any;
9
+ children: any;
10
+ isAnimated?: boolean | undefined;
11
+ }): any;
12
+ declare function l({ label: s, lines: t, isAnimated: r }: {
13
+ label: any;
14
+ lines?: number | undefined;
15
+ isAnimated?: boolean | undefined;
16
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default h;
2
+ declare function h({ fill: s, ...t }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;