@kakadu/components 1.0.0 → 1.0.2

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 (69) hide show
  1. package/build/build/aria-text.d.ts +8 -0
  2. package/build/build/atom.d.ts +9 -0
  3. package/build/build/bankid-logo.d.ts +5 -0
  4. package/build/build/box.d.ts +6 -0
  5. package/build/build/button-tooltip.d.ts +5 -0
  6. package/build/build/button.d.ts +23 -0
  7. package/build/build/card.d.ts +11 -0
  8. package/build/build/click-ripples.d.ts +6 -0
  9. package/build/build/datum.d.ts +6 -0
  10. package/build/build/dnb-logo.d.ts +5 -0
  11. package/build/build/dot.d.ts +4 -0
  12. package/build/build/flex.d.ts +12 -0
  13. package/build/build/footer.d.ts +4 -0
  14. package/build/build/gauge.d.ts +6 -0
  15. package/build/build/gjensidige-logo.d.ts +5 -0
  16. package/build/build/hooks/use-media-query.d.ts +2 -0
  17. package/build/build/hover-gradient.d.ts +8 -0
  18. package/build/build/icon-button.d.ts +10 -0
  19. package/build/build/icon.d.ts +8 -0
  20. package/build/build/icons/arrow-down.d.ts +5 -0
  21. package/build/build/icons/caret-down.d.ts +5 -0
  22. package/build/build/icons/caret-right.d.ts +5 -0
  23. package/build/build/icons/check.d.ts +5 -0
  24. package/build/build/icons/chevron-down.d.ts +5 -0
  25. package/build/build/icons/chevron-up.d.ts +5 -0
  26. package/build/build/icons/chrome-browser-logo.d.ts +5 -0
  27. package/build/build/icons/copy.d.ts +5 -0
  28. package/build/build/icons/edge-browser-logo.d.ts +5 -0
  29. package/build/build/icons/edit.d.ts +5 -0
  30. package/build/build/icons/exclamation-triangle.d.ts +5 -0
  31. package/build/build/icons/kakadu-guide-glyph.d.ts +5 -0
  32. package/build/build/icons/kakadu-guide.d.ts +5 -0
  33. package/build/build/icons/menu.d.ts +5 -0
  34. package/build/build/icons/plus.d.ts +5 -0
  35. package/build/build/icons/test.d.ts +5 -0
  36. package/build/build/icons/times.d.ts +5 -0
  37. package/build/build/jsx-runtime-BB_1_6y_.d.ts +2 -0
  38. package/build/build/kakadu-guide-icon.d.ts +4 -0
  39. package/build/build/kakadu-guide-logo.d.ts +11 -0
  40. package/build/build/kakadu-index-logo.d.ts +5 -0
  41. package/build/build/kakadu-logo.d.ts +5 -0
  42. package/build/build/modal.d.ts +22 -0
  43. package/build/build/moving-gradients.d.ts +8 -0
  44. package/build/build/moving-stars.d.ts +11 -0
  45. package/build/build/notice.d.ts +10 -0
  46. package/build/build/notification.d.ts +15 -0
  47. package/build/build/revealer.d.ts +24 -0
  48. package/build/build/separator.d.ts +10 -0
  49. package/build/build/skeleton.d.ts +16 -0
  50. package/build/build/sparebank1-logo.d.ts +5 -0
  51. package/build/build/spinner.d.ts +11 -0
  52. package/build/build/sto-logo.d.ts +5 -0
  53. package/build/build/storebrand-logo.d.ts +5 -0
  54. package/build/build/text-button.d.ts +12 -0
  55. package/build/build/text.d.ts +30 -0
  56. package/build/build/theme-setter.d.ts +9 -0
  57. package/build/build/theme.d.ts +22 -0
  58. package/build/build/utilities/copy-to-clipboard.d.ts +2 -0
  59. package/build/build/utilities/generate-random-id.d.ts +2 -0
  60. package/build/build/utilities/scale.d.ts +11 -0
  61. package/build/build/veil.d.ts +4 -0
  62. package/build/footer.js +1 -1
  63. package/build/footer.mjs +13 -13
  64. package/build/theme.d.ts +1 -0
  65. package/build/theme.js +1 -1
  66. package/build/theme.mjs +24 -12
  67. package/index.d.ts +179 -0
  68. package/package.json +16 -3
  69. package/theme.tsx +18 -0
@@ -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;
@@ -0,0 +1,11 @@
1
+ export { x as RevealSpinner };
2
+ export default i;
3
+ declare function x({ isVisible: e, ...o }: {
4
+ [x: string]: any;
5
+ isVisible: any;
6
+ }): any;
7
+ declare function i({ size: e, strokeWidth: o, isAnimated: c }: {
8
+ size?: number | undefined;
9
+ strokeWidth?: number | undefined;
10
+ isAnimated?: boolean | undefined;
11
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default n;
2
+ declare function n({ fill: s, ...e }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,5 @@
1
+ export default v;
2
+ declare function v({ fill: h, ...t }: {
3
+ [x: string]: any;
4
+ fill: any;
5
+ }): any;
@@ -0,0 +1,12 @@
1
+ export { u as TextButtonVariant };
2
+ export default f;
3
+ declare var u: any;
4
+ declare function f({ icon: t, variant: i, tooltip: n, className: l, children: s, label: x, ...c }: {
5
+ [x: string]: any;
6
+ icon: any;
7
+ variant?: string | undefined;
8
+ tooltip: any;
9
+ className: any;
10
+ children: any;
11
+ label: any;
12
+ }): any;
@@ -0,0 +1,30 @@
1
+ export default i;
2
+ declare function d({ reference: e, as: t, className: s, ...x }: {
3
+ [x: string]: any;
4
+ reference: any;
5
+ as: any;
6
+ className: any;
7
+ }): any;
8
+ declare function k({ as: e, className: t, ...s }: {
9
+ [x: string]: any;
10
+ as: any;
11
+ className: any;
12
+ }): any;
13
+ declare function m({ as: e, className: t, ...s }: {
14
+ [x: string]: any;
15
+ as: any;
16
+ className: any;
17
+ }): any;
18
+ declare function p({ as: e, className: t, ...s }: {
19
+ [x: string]: any;
20
+ as: any;
21
+ className: any;
22
+ }): any;
23
+ declare function i({ as: e, className: t, ...s }: {
24
+ [x: string]: any;
25
+ as: any;
26
+ className: any;
27
+ }): any;
28
+ declare const r: string;
29
+ declare const u: "kakadu-components-1538322784";
30
+ export { d as Heading, k as Hero, m as Paragraph, p as Span, r as spanStyles, u as textShadowStyles };
@@ -0,0 +1,9 @@
1
+ export default E;
2
+ declare function E(): any;
3
+ declare function d(): string;
4
+ declare function y(e: any): void;
5
+ declare const o: string[];
6
+ declare function g(e: any): boolean;
7
+ declare function l(e: any): boolean;
8
+ declare function u(e: any): string;
9
+ export { d as getThemePreference, y as setThemePreference, o as themePreferences, g as useIsDarkMode, l as useIsLightMode, u as useTheme };
@@ -0,0 +1,22 @@
1
+ export default u;
2
+ declare function i(): any;
3
+ declare const m: "kakadu-components-216224454";
4
+ declare const l: "#0c0d12";
5
+ declare const u: "kakadu-components-2735574809";
6
+ declare const n: "kakadu-components-352310015";
7
+ declare namespace e {
8
+ let family: string;
9
+ let stylesheet: string;
10
+ let preconnect: ({
11
+ url: string;
12
+ crossorigin?: undefined;
13
+ } | {
14
+ url: string;
15
+ crossorigin: boolean;
16
+ })[];
17
+ }
18
+ declare const a: "#4ca486";
19
+ declare const c: "#f8fafc";
20
+ declare const p: string;
21
+ declare const f: "kakadu-components-4178476647";
22
+ export { i as FontFamilyHeadLink, m as buttonResetStyles, l as darkBackgroundColor, n as effectStyles, e as font, a as greenColor, c as lightBackgroundColor, p as nonInteractiveEffectStyles, f as overflowProtectionStyles };
@@ -0,0 +1,2 @@
1
+ export default a;
2
+ declare function a(t: any): Promise<void>;
@@ -0,0 +1,2 @@
1
+ export default n;
2
+ declare function n(): string;
@@ -0,0 +1,11 @@
1
+ export default m;
2
+ declare function m({ originalWidth: u, originalHeight: s, size: n, width: e, height: t }: {
3
+ originalWidth: any;
4
+ originalHeight: any;
5
+ size: any;
6
+ width: any;
7
+ height: any;
8
+ }): {
9
+ width: any;
10
+ height: any;
11
+ };
@@ -0,0 +1,4 @@
1
+ export default a;
2
+ declare function a({ hasMovingStars: r }: {
3
+ hasMovingStars?: boolean | undefined;
4
+ }): any;
package/build/footer.js CHANGED
@@ -1 +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;
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"),o=require("./kakadu-logo.js"),x=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:"https://utforsk.kakadu.no",children:"Case studies"})}),s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx("a",{href:"https://utforsk.kakadu.no",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:"https://utforsk.kakadu.no",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:"https://utforsk.kakadu.no/personvernerklaering",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(o.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(x.default,{})]})}exports.default=l;
package/build/footer.mjs CHANGED
@@ -1,18 +1,18 @@
1
1
  import { j as s } from "./jsx-runtime-B4hRZ52C.mjs";
2
2
  import { cx as t } from "@kuma-ui/core";
3
- import o from "./theme.mjs";
3
+ import i from "./theme.mjs";
4
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";
5
+ import { Paragraph as a, Span as l } from "./text.mjs";
6
+ import c from "./kakadu-logo.mjs";
7
7
  import d from "./moving-stars.mjs";
8
8
  import h from "./aria-text.mjs";
9
9
  const n = "kakadu-components-975968984";
10
10
  function N({
11
- isFullWidth: i = !0
11
+ isFullWidth: o = !0
12
12
  }) {
13
- return /* @__PURE__ */ s.jsxs(e, { as: "footer", "data-theme": "dark", gap: 3, className: t(o, "kakadu-components-2077625773"), children: [
13
+ return /* @__PURE__ */ s.jsxs(e, { as: "footer", "data-theme": "dark", gap: 3, className: t(i, "kakadu-components-2077625773"), children: [
14
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: [
15
+ /* @__PURE__ */ s.jsxs(e, { direction: "row", gap: 4, className: t("kakadu-components-555302578", o && "kakadu-components-1177815273"), children: [
16
16
  /* @__PURE__ */ s.jsxs(e, { direction: "column", alignment: r.start, gap: 0.5, children: [
17
17
  /* @__PURE__ */ s.jsx(a, { children: /* @__PURE__ */ s.jsx("strong", { children: "Products" }) }),
18
18
  /* @__PURE__ */ s.jsxs(a, { as: "ul", className: n, children: [
@@ -23,14 +23,14 @@ function N({
23
23
  /* @__PURE__ */ s.jsxs(e, { direction: "column", alignment: r.start, gap: 0.5, children: [
24
24
  /* @__PURE__ */ s.jsx(a, { children: /* @__PURE__ */ s.jsx("strong", { children: "Results" }) }),
25
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" }) })
26
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no", children: "Case studies" }) }),
27
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no", children: "Impact measurement" }) })
28
28
  ] })
29
29
  ] }),
30
30
  /* @__PURE__ */ s.jsxs(e, { direction: "column", alignment: r.start, gap: 0.5, children: [
31
31
  /* @__PURE__ */ s.jsx(a, { children: /* @__PURE__ */ s.jsx("strong", { children: "About us" }) }),
32
32
  /* @__PURE__ */ s.jsxs(a, { as: "ul", className: n, children: [
33
- /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "#", children: "Our story" }) }),
33
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no", children: "Our story" }) }),
34
34
  /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no/kontakt-oss", children: "Contact" }) }),
35
35
  /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { target: "_blank", rel: "noopener noreferrer", href: "https://kakadu.instatus.com", children: "Status" }) })
36
36
  ] })
@@ -40,17 +40,17 @@ function N({
40
40
  /* @__PURE__ */ s.jsxs(a, { as: "ul", className: n, children: [
41
41
  /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no/personvernerklaering", children: "Privacy" }) }),
42
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" }) })
43
+ /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("a", { href: "https://utforsk.kakadu.no/personvernerklaering", children: "Security" }) })
44
44
  ] })
45
45
  ] }),
46
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
47
  ] }),
48
- /* @__PURE__ */ s.jsxs(e, { direction: "row", gap: 1, className: t("kakadu-components-1513483626", i && "kakadu-components-1177815273"), children: [
48
+ /* @__PURE__ */ s.jsxs(e, { direction: "row", gap: 1, className: t("kakadu-components-1513483626", o && "kakadu-components-1177815273"), children: [
49
49
  /* @__PURE__ */ s.jsxs("a", { href: "https://kakadu.no", children: [
50
50
  /* @__PURE__ */ s.jsx(h, { children: "Kakadu.no" }),
51
- /* @__PURE__ */ s.jsx(l, { width: 90, className: "kakadu-components-3103582715" })
51
+ /* @__PURE__ */ s.jsx(c, { width: 90, className: "kakadu-components-3103582715" })
52
52
  ] }),
53
- /* @__PURE__ */ s.jsxs(c, { className: "kakadu-components-3713786292", children: [
53
+ /* @__PURE__ */ s.jsxs(l, { className: "kakadu-components-3713786292", children: [
54
54
  "© ",
55
55
  (/* @__PURE__ */ new Date()).getFullYear(),
56
56
  " Kakadu Ignite AS"
package/build/theme.d.ts CHANGED
@@ -12,6 +12,7 @@ export declare const font: {
12
12
  crossorigin: boolean;
13
13
  })[];
14
14
  };
15
+ export declare function FontFamilyHeadLink(): import("react/jsx-runtime").JSX.Element;
15
16
  declare const theme: string;
16
17
  export default theme;
17
18
  export declare const overflowProtectionStyles: string;
package/build/theme.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("@kuma-ui/core"),e="#f8fafc",s="#0c0d12",n="#4ca486",c={family:"Inter, sans-serif",stylesheet:"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",preconnect:[{url:"https://fonts.googleapis.com"},{url:"https://fonts.gstatic.com",crossorigin:!0}]},r="kakadu-components-2735574809",a="kakadu-components-4178476647",l="kakadu-components-216224454",t="kakadu-components-352310015",f=o.cx(t,"kakadu-components-1119532724");exports.buttonResetStyles=l;exports.darkBackgroundColor=s;exports.default=r;exports.effectStyles=t;exports.font=c;exports.greenColor=n;exports.lightBackgroundColor=e;exports.nonInteractiveEffectStyles=f;exports.overflowProtectionStyles=a;
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"),c="#f8fafc",l="#0c0d12",a="#4ca486",e={family:"Inter, sans-serif",stylesheet:"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",preconnect:[{url:"https://fonts.googleapis.com"},{url:"https://fonts.gstatic.com",crossorigin:!0}]};function i(){return t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[e.preconnect.map(({url:o,crossorigin:s})=>t.jsxRuntimeExports.jsx("link",{href:o,rel:"preconnect",crossOrigin:s?"anonymous":void 0},o)),t.jsxRuntimeExports.jsx("link",{href:e.stylesheet,rel:"stylesheet"})]})}const u="kakadu-components-2735574809",f="kakadu-components-4178476647",m="kakadu-components-216224454",n="kakadu-components-352310015",p=r.cx(n,"kakadu-components-1119532724");exports.FontFamilyHeadLink=i;exports.buttonResetStyles=m;exports.darkBackgroundColor=l;exports.default=u;exports.effectStyles=n;exports.font=e;exports.greenColor=a;exports.lightBackgroundColor=c;exports.nonInteractiveEffectStyles=p;exports.overflowProtectionStyles=f;
package/build/theme.mjs CHANGED
@@ -1,5 +1,6 @@
1
- import { cx as t } from "@kuma-ui/core";
2
- const n = "#f8fafc", e = "#0c0d12", c = "#4ca486", a = {
1
+ import { j as t } from "./jsx-runtime-B4hRZ52C.mjs";
2
+ import { cx as n } from "@kuma-ui/core";
3
+ const l = "#f8fafc", i = "#0c0d12", f = "#4ca486", s = {
3
4
  family: "Inter, sans-serif",
4
5
  stylesheet: "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",
5
6
  preconnect: [{
@@ -8,15 +9,26 @@ const n = "#f8fafc", e = "#0c0d12", c = "#4ca486", a = {
8
9
  url: "https://fonts.gstatic.com",
9
10
  crossorigin: !0
10
11
  }]
11
- }, r = "kakadu-components-2735574809", l = "kakadu-components-4178476647", f = "kakadu-components-216224454", o = "kakadu-components-352310015", p = t(o, "kakadu-components-1119532724");
12
+ };
13
+ function p() {
14
+ return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
15
+ s.preconnect.map(({
16
+ url: o,
17
+ crossorigin: e
18
+ }) => /* @__PURE__ */ t.jsx("link", { href: o, rel: "preconnect", crossOrigin: e ? "anonymous" : void 0 }, o)),
19
+ /* @__PURE__ */ t.jsx("link", { href: s.stylesheet, rel: "stylesheet" })
20
+ ] });
21
+ }
22
+ const m = "kakadu-components-2735574809", k = "kakadu-components-4178476647", u = "kakadu-components-216224454", c = "kakadu-components-352310015", d = n(c, "kakadu-components-1119532724");
12
23
  export {
13
- f as buttonResetStyles,
14
- e as darkBackgroundColor,
15
- r as default,
16
- o as effectStyles,
17
- a as font,
18
- c as greenColor,
19
- n as lightBackgroundColor,
20
- p as nonInteractiveEffectStyles,
21
- l as overflowProtectionStyles
24
+ p as FontFamilyHeadLink,
25
+ u as buttonResetStyles,
26
+ i as darkBackgroundColor,
27
+ m as default,
28
+ c as effectStyles,
29
+ s as font,
30
+ f as greenColor,
31
+ l as lightBackgroundColor,
32
+ d as nonInteractiveEffectStyles,
33
+ k as overflowProtectionStyles
22
34
  };
package/index.d.ts ADDED
@@ -0,0 +1,179 @@
1
+ export * from './build/atom';
2
+ export {default} from './build/atom';
3
+
4
+ export * from './build/aria-text';
5
+ export {default} from './build/aria-text';
6
+
7
+ export * from './build/box';
8
+ export {default} from './build/box';
9
+
10
+ export * from './build/button';
11
+ export {default} from './build/button';
12
+
13
+ export * from './build/button-tooltip';
14
+ export {default} from './build/button-tooltip';
15
+
16
+ export * from './build/card';
17
+ export {default} from './build/card';
18
+
19
+ export * from './build/click-ripples';
20
+ export {default} from './build/click-ripples';
21
+
22
+ export * from './build/datum';
23
+ export {default} from './build/datum';
24
+
25
+ export * from './build/dot';
26
+ export {default} from './build/dot';
27
+
28
+ export * from './build/flex';
29
+ export {default} from './build/flex';
30
+
31
+ export * from './build/footer';
32
+ export {default} from './build/footer';
33
+
34
+ export * from './build/gauge';
35
+ export {default} from './build/gauge';
36
+
37
+ export * from './build/hover-gradient';
38
+ export {default} from './build/hover-gradient';
39
+
40
+ export * from './build/icon-button';
41
+ export {default} from './build/icon-button';
42
+
43
+ export * from './build/kakadu-guide-icon';
44
+ export {default} from './build/kakadu-guide-icon';
45
+
46
+ export * from './build/kakadu-guide-logo';
47
+ export {default} from './build/kakadu-guide-logo';
48
+
49
+ export * from './build/kakadu-index-logo';
50
+ export {default} from './build/kakadu-index-logo';
51
+
52
+ export * from './build/kakadu-logo';
53
+ export {default} from './build/kakadu-logo';
54
+
55
+ export * from './build/bankid-logo';
56
+ export {default} from './build/bankid-logo';
57
+
58
+ export * from './build/dnb-logo';
59
+ export {default} from './build/dnb-logo';
60
+
61
+ export * from './build/gjensidige-logo';
62
+ export {default} from './build/gjensidige-logo';
63
+
64
+ export * from './build/sparebank1-logo';
65
+ export {default} from './build/sparebank1-logo';
66
+
67
+ export * from './build/sto-logo';
68
+ export {default} from './build/sto-logo';
69
+
70
+ export * from './build/storebrand-logo';
71
+ export {default} from './build/storebrand-logo';
72
+
73
+ export * from './build/modal';
74
+ export {default} from './build/modal';
75
+
76
+ export * from './build/moving-gradients';
77
+ export {default} from './build/moving-gradients';
78
+
79
+ export * from './build/moving-stars';
80
+ export {default} from './build/moving-stars';
81
+
82
+ export * from './build/notice';
83
+ export {default} from './build/notice';
84
+
85
+ export * from './build/notification';
86
+ export {default} from './build/notification';
87
+
88
+ export * from './build/revealer';
89
+ export {default} from './build/revealer';
90
+
91
+ export * from './build/separator';
92
+ export {default} from './build/separator';
93
+
94
+ export * from './build/skeleton';
95
+ export {default} from './build/skeleton';
96
+
97
+ export * from './build/spinner';
98
+ export {default} from './build/spinner';
99
+
100
+ export * from './build/text';
101
+ export {default} from './build/text';
102
+
103
+ export * from './build/text-button';
104
+ export {default} from './build/text-button';
105
+
106
+ export * from './build/theme-setter';
107
+ export {default} from './build/theme-setter';
108
+
109
+ export * from './build/veil';
110
+ export {default} from './build/veil';
111
+
112
+ export * from './build/theme';
113
+ export {default} from './build/theme';
114
+
115
+ export * from './build/icon';
116
+ export {default} from './build/icon';
117
+
118
+ export * from './build/icons/kakadu-guide';
119
+ export {default} from './build/icons/kakadu-guide';
120
+
121
+ export * from './build/icons/kakadu-guide-glyph';
122
+ export {default} from './build/icons/kakadu-guide-glyph';
123
+
124
+ export * from './build/icons/menu';
125
+ export {default} from './build/icons/menu';
126
+
127
+ export * from './build/icons/check';
128
+ export {default} from './build/icons/check';
129
+
130
+ export * from './build/icons/plus';
131
+ export {default} from './build/icons/plus';
132
+
133
+ export * from './build/icons/times';
134
+ export {default} from './build/icons/times';
135
+
136
+ export * from './build/icons/chevron-down';
137
+ export {default} from './build/icons/chevron-down';
138
+
139
+ export * from './build/icons/chevron-up';
140
+ export {default} from './build/icons/chevron-up';
141
+
142
+ export * from './build/icons/caret-down';
143
+ export {default} from './build/icons/caret-down';
144
+
145
+ export * from './build/icons/caret-right';
146
+ export {default} from './build/icons/caret-right';
147
+
148
+ export * from './build/icons/arrow-down';
149
+ export {default} from './build/icons/arrow-down';
150
+
151
+ export * from './build/icons/edit';
152
+ export {default} from './build/icons/edit';
153
+
154
+ export * from './build/icons/copy';
155
+ export {default} from './build/icons/copy';
156
+
157
+ export * from './build/icons/test';
158
+ export {default} from './build/icons/test';
159
+
160
+ export * from './build/icons/exclamation-triangle';
161
+ export {default} from './build/icons/exclamation-triangle';
162
+
163
+ export * from './build/icons/chrome-browser-logo';
164
+ export {default} from './build/icons/chrome-browser-logo';
165
+
166
+ export * from './build/icons/edge-browser-logo';
167
+ export {default} from './build/icons/edge-browser-logo';
168
+
169
+ export * from './build/hooks/use-media-query';
170
+ export {default} from './build/hooks/use-media-query';
171
+
172
+ export * from './build/utilities/copy-to-clipboard';
173
+ export {default} from './build/utilities/copy-to-clipboard';
174
+
175
+ export * from './build/utilities/generate-random-id';
176
+ export {default} from './build/utilities/generate-random-id';
177
+
178
+ export * from './build/utilities/scale';
179
+ export {default} from './build/utilities/scale';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kakadu/components",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Kakadu components library",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -27,9 +27,13 @@
27
27
  "test": "vitest run",
28
28
  "test:watch": "vitest",
29
29
  "test:coverage": "vitest run --coverage",
30
- "prepublishOnly": "npm test && npm run build"
30
+ "prepublishOnly": "npm test && npm run build",
31
+ "chromatic": "npx chromatic --project-token=chpt_52149863cf0ae20"
31
32
  },
32
33
  "exports": {
34
+ ".": {
35
+ "types": "./index.d.ts"
36
+ },
33
37
  "./atom": {
34
38
  "types": "./build/atom.d.ts",
35
39
  "import": "./build/atom.mjs",
@@ -339,7 +343,8 @@
339
343
  },
340
344
  "files": [
341
345
  "build",
342
- "theme.tsx"
346
+ "theme.tsx",
347
+ "index.d.ts"
343
348
  ],
344
349
  "publishConfig": {
345
350
  "access": "public"
@@ -347,6 +352,13 @@
347
352
  "sideEffects": [
348
353
  "**/*.css"
349
354
  ],
355
+ "typesVersions": {
356
+ "*": {
357
+ "*": [
358
+ "./build/*"
359
+ ]
360
+ }
361
+ },
350
362
  "peerDependencies": {
351
363
  "@kuma-ui/core": "^1.6.3",
352
364
  "react": "^19.0.0",
@@ -373,6 +385,7 @@
373
385
  "@vitejs/plugin-react": "^5.1.0",
374
386
  "@vitest/browser-playwright": "^4.0.4",
375
387
  "@vitest/coverage-v8": "^4.0.4",
388
+ "chromatic": "^13.3.5",
376
389
  "dotenv": "^17.2.3",
377
390
  "eslint-config-xo-react": "^0.27.0",
378
391
  "eslint-plugin-storybook": "^10.0.0",
package/theme.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import {css, cx} from '@kuma-ui/core';
2
3
 
3
4
  export const lightBackgroundColor = '#f8fafc';
@@ -13,6 +14,23 @@ export const font = {
13
14
  ],
14
15
  };
15
16
 
17
+ export function FontFamilyHeadLink() {
18
+ return (
19
+ <>
20
+ {font.preconnect.map(({url, crossorigin}) => (
21
+ <link
22
+ key={url}
23
+ href={url}
24
+ rel="preconnect"
25
+ crossOrigin={crossorigin ? 'anonymous' : undefined}
26
+ />
27
+ ))}
28
+
29
+ <link href={font.stylesheet} rel="stylesheet" />
30
+ </>
31
+ );
32
+ }
33
+
16
34
  const theme = css`
17
35
  --light-color: #f8fafc;
18
36
  --dark-color: #0c0d12;