@kakadu/components 5.0.4 → 5.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/button.js +1 -1
- package/build/components/button.mjs +1 -1
- package/build/components/card.js +1 -1
- package/build/components/card.mjs +28 -27
- package/build/components/icon-button.js +1 -1
- package/build/components/icon-button.mjs +10 -10
- package/build/components/moving-gradients.js +1 -1
- package/build/components/moving-gradients.mjs +40 -36
- package/build/components/moving-stars.js +1 -1
- package/build/components/moving-stars.mjs +57 -53
- package/build/components/popover-menu.js +1 -1
- package/build/components/popover-menu.mjs +87 -87
- package/build/components/text-button.js +1 -1
- package/build/components/text-button.mjs +1 -1
- package/build/hooks/use-is-in-view.d.ts +6 -0
- package/build/hooks/use-is-in-view.js +1 -0
- package/build/hooks/use-is-in-view.mjs +26 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +1 -1
- package/build/index.mjs +71 -68
- package/package.json +1 -1
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import { j as n } from "../jsx-runtime-B4hRZ52C.mjs";
|
|
2
|
-
import { cx as
|
|
3
|
-
import { useMemo as
|
|
4
|
-
import { buttonResetStyles as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
2
|
+
import { cx as I } from "@kuma-ui/core";
|
|
3
|
+
import { useMemo as b, useState as F, useCallback as P, useEffect as V, useRef as B } from "react";
|
|
4
|
+
import { buttonResetStyles as H } from "../theme.mjs";
|
|
5
|
+
import E from "../icons/icon.mjs";
|
|
6
|
+
import R from "../hooks/use-synchronized-value.mjs";
|
|
7
|
+
import T, { PopoverContainer as G, usePopover as U, usePopoverContext as A } from "./popover.mjs";
|
|
8
|
+
import q from "./atom.mjs";
|
|
9
9
|
import { Span as K } from "./text.mjs";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { SkeletonInstance as
|
|
10
|
+
import J, { normalBlendStyles as O } from "./hover-gradient.mjs";
|
|
11
|
+
import Q from "./click-ripples.mjs";
|
|
12
|
+
import W from "./separator.mjs";
|
|
13
|
+
import X from "./decorators.mjs";
|
|
14
|
+
import S from "./spinner.mjs";
|
|
15
|
+
import { SkeletonInstance as D } from "./skeleton.mjs";
|
|
16
16
|
function z() {
|
|
17
17
|
const {
|
|
18
18
|
value: e,
|
|
19
19
|
setValue: o
|
|
20
|
-
} =
|
|
21
|
-
return
|
|
20
|
+
} = R("isKeyboardNavigating");
|
|
21
|
+
return b(() => ({
|
|
22
22
|
isKeyboardNavigating: e,
|
|
23
23
|
setIsKeyboardNavigating: o
|
|
24
24
|
}), [e, o]);
|
|
25
25
|
}
|
|
26
|
-
const
|
|
27
|
-
function
|
|
26
|
+
const ve = "kakadu-components-949294122";
|
|
27
|
+
function Y({
|
|
28
28
|
isLoading: e,
|
|
29
29
|
isDisabled: o,
|
|
30
|
-
label:
|
|
31
|
-
iconLeft:
|
|
30
|
+
label: c,
|
|
31
|
+
iconLeft: m,
|
|
32
32
|
iconRight: a,
|
|
33
|
-
href:
|
|
34
|
-
target:
|
|
33
|
+
href: p,
|
|
34
|
+
target: w,
|
|
35
35
|
shouldCloseOnClick: r = !0,
|
|
36
|
-
decorators:
|
|
37
|
-
submenu:
|
|
38
|
-
className:
|
|
36
|
+
decorators: i = [],
|
|
37
|
+
submenu: u,
|
|
38
|
+
className: d,
|
|
39
39
|
onClick: s,
|
|
40
40
|
...v
|
|
41
41
|
}) {
|
|
42
42
|
const {
|
|
43
|
-
isVisible:
|
|
43
|
+
isVisible: y,
|
|
44
44
|
isPreparingFocus: j,
|
|
45
45
|
isFocused: t,
|
|
46
46
|
close: k
|
|
47
|
-
} =
|
|
47
|
+
} = A(), {
|
|
48
48
|
isKeyboardNavigating: f
|
|
49
|
-
} = z(), x =
|
|
49
|
+
} = z(), x = B(!0), N = P(() => {
|
|
50
50
|
x.current = t;
|
|
51
|
-
}, [t]),
|
|
52
|
-
!f && !x.current || t && (s == null || s(
|
|
53
|
-
}, [f, t, s,
|
|
54
|
-
/* @__PURE__ */ n.jsxs(K, { className:
|
|
55
|
-
|
|
56
|
-
/* @__PURE__ */ n.jsxs("span", { className:
|
|
57
|
-
e ? /* @__PURE__ */ n.jsx(
|
|
58
|
-
/* @__PURE__ */ n.jsx("span", { className: e ? "kakadu-components-543569100" : void 0, children:
|
|
51
|
+
}, [t]), g = P((C) => {
|
|
52
|
+
!f && !x.current || t && (s == null || s(C), u ? u.show() : r && (k == null || k()));
|
|
53
|
+
}, [f, t, s, u, r, k]), l = !y && !j || !!e || !!o, h = p !== void 0 && !e, M = b(() => /* @__PURE__ */ n.jsxs(q, { as: h ? "a" : "button", ...v, "aria-disabled": h && l ? !0 : void 0, type: h ? void 0 : "button", role: "menuitem", href: e ? void 0 : p, target: h ? w : void 0, inert: h ? l : void 0, disabled: h ? void 0 : l, className: I(H, "kakadu-components-1772835671", t && "kakadu-components-3160069815", f ? "kakadu-components-2254977234" : t && !l && "kakadu-components-278139688", l && "kakadu-components-1879666195", d), onClick: l ? void 0 : g, onPointerDownCapture: l ? void 0 : N, children: [
|
|
54
|
+
/* @__PURE__ */ n.jsxs(K, { className: I("kakadu-components-1377252111", e ? "kakadu-components-2409458488" : l && "kakadu-components-532828420"), children: [
|
|
55
|
+
m ? e ? /* @__PURE__ */ n.jsx(S, { size: 12 }) : /* @__PURE__ */ n.jsx(E, { width: 12, height: 12, type: m }) : null,
|
|
56
|
+
/* @__PURE__ */ n.jsxs("span", { className: I("kakadu-components-1590676894", e && "kakadu-components-743909038"), children: [
|
|
57
|
+
e ? /* @__PURE__ */ n.jsx(D, { "aria-hidden": !0, width: "100%", className: "kakadu-components-3950955262" }) : null,
|
|
58
|
+
/* @__PURE__ */ n.jsx("span", { className: e ? "kakadu-components-543569100" : void 0, children: c })
|
|
59
59
|
] }),
|
|
60
|
-
a ? e ?
|
|
60
|
+
a ? e ? m ? /* @__PURE__ */ n.jsx(D, { width: 12, height: 12 }) : /* @__PURE__ */ n.jsx(S, { size: 12 }) : /* @__PURE__ */ n.jsx(E, { width: 12, height: 12, type: a }) : null
|
|
61
61
|
] }),
|
|
62
|
-
f ||
|
|
63
|
-
/* @__PURE__ */ n.jsx(
|
|
64
|
-
/* @__PURE__ */ n.jsx(
|
|
62
|
+
f || l ? null : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
63
|
+
/* @__PURE__ */ n.jsx(Q, { isActive: t, size: 100 }),
|
|
64
|
+
/* @__PURE__ */ n.jsx(J, { isActive: t, size: 150, className: O })
|
|
65
65
|
] })
|
|
66
|
-
] }), [
|
|
67
|
-
return /* @__PURE__ */ n.jsx(
|
|
66
|
+
] }), [h, v, l, p, e, w, d, t, f, g, N, m, c, a]);
|
|
67
|
+
return /* @__PURE__ */ n.jsx(X, { decorators: i, children: u ? /* @__PURE__ */ n.jsx(L, { menu: u.popoverMenu, className: "kakadu-components-1861176543", children: M }) : M });
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Z(e) {
|
|
70
70
|
if ("type" in e) {
|
|
71
71
|
if (e.type === "separator")
|
|
72
|
-
return /* @__PURE__ */ n.jsx(
|
|
72
|
+
return /* @__PURE__ */ n.jsx(W, {});
|
|
73
73
|
if (e.type === "group")
|
|
74
74
|
return /* @__PURE__ */ n.jsx(K, { className: "kakadu-components-1499037363", children: e.label });
|
|
75
75
|
}
|
|
76
|
-
return /* @__PURE__ */ n.jsx(
|
|
76
|
+
return /* @__PURE__ */ n.jsx(Y, { ...e });
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function _({
|
|
79
79
|
items: e
|
|
80
80
|
}) {
|
|
81
81
|
const {
|
|
82
82
|
isFocused: o
|
|
83
|
-
} =
|
|
83
|
+
} = A(), [c, m] = F([]), {
|
|
84
84
|
setIsKeyboardNavigating: a
|
|
85
|
-
} = z(),
|
|
86
|
-
r &&
|
|
87
|
-
}, []),
|
|
85
|
+
} = z(), p = P((r) => {
|
|
86
|
+
r && m((i) => i.includes(r) ? i : [...i, r]);
|
|
87
|
+
}, []), w = P((r) => {
|
|
88
88
|
o && (r.currentTarget.focus(), a(!1));
|
|
89
89
|
}, [o, a]);
|
|
90
|
-
return
|
|
90
|
+
return V(() => {
|
|
91
91
|
if (!o)
|
|
92
92
|
return;
|
|
93
|
-
const r = (
|
|
94
|
-
const
|
|
95
|
-
if (
|
|
93
|
+
const r = (i) => {
|
|
94
|
+
const u = c.filter((t) => t.isConnected), d = u.length;
|
|
95
|
+
if (d === 0)
|
|
96
96
|
return;
|
|
97
97
|
let s, v = 1;
|
|
98
|
-
const
|
|
99
|
-
let j =
|
|
100
|
-
switch (j === -1 && (j = 0),
|
|
98
|
+
const y = document.activeElement;
|
|
99
|
+
let j = y ? u.indexOf(y) : -1;
|
|
100
|
+
switch (j === -1 && (j = 0), i.key) {
|
|
101
101
|
case "ArrowUp":
|
|
102
102
|
v = -1;
|
|
103
103
|
// eslint-disable-next-line no-fallthrough
|
|
104
104
|
case "ArrowDown": {
|
|
105
|
-
s = (j + v +
|
|
105
|
+
s = (j + v + d) % d;
|
|
106
106
|
break;
|
|
107
107
|
}
|
|
108
108
|
case "Home": {
|
|
@@ -110,7 +110,7 @@ function Z({
|
|
|
110
110
|
break;
|
|
111
111
|
}
|
|
112
112
|
case "End": {
|
|
113
|
-
s =
|
|
113
|
+
s = d - 1, v = -1;
|
|
114
114
|
break;
|
|
115
115
|
}
|
|
116
116
|
case "Tab": {
|
|
@@ -119,13 +119,13 @@ function Z({
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
if (s !== void 0) {
|
|
122
|
-
|
|
123
|
-
let t =
|
|
122
|
+
i.preventDefault(), i.stopPropagation();
|
|
123
|
+
let t = u[s];
|
|
124
124
|
if (t) {
|
|
125
125
|
let k = 0;
|
|
126
126
|
const f = (x) => "disabled" in x && x.disabled || "inert" in x && x.inert;
|
|
127
|
-
for (; f(t) && k <
|
|
128
|
-
s = (s + v +
|
|
127
|
+
for (; f(t) && k < d; )
|
|
128
|
+
s = (s + v + d) % d, t = u[s], k += 1;
|
|
129
129
|
t && !f(t) && (t.focus(), a(!0));
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -137,50 +137,50 @@ function Z({
|
|
|
137
137
|
capture: !0
|
|
138
138
|
});
|
|
139
139
|
};
|
|
140
|
-
}, [o,
|
|
141
|
-
|
|
140
|
+
}, [o, c, a]), /* @__PURE__ */ n.jsx(n.Fragment, { children: e.map((r, i) => /* @__PURE__ */ n.jsx(
|
|
141
|
+
Z,
|
|
142
142
|
{
|
|
143
143
|
...r,
|
|
144
|
-
reference:
|
|
145
|
-
onMouseEnter:
|
|
144
|
+
reference: p,
|
|
145
|
+
onMouseEnter: w
|
|
146
146
|
},
|
|
147
|
-
|
|
147
|
+
i
|
|
148
148
|
)) });
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function $({
|
|
151
151
|
items: e,
|
|
152
152
|
...o
|
|
153
153
|
}) {
|
|
154
|
-
return /* @__PURE__ */ n.jsx(
|
|
154
|
+
return /* @__PURE__ */ n.jsx(T, { ...o, as: "nav", role: "menu", innerClassName: "kakadu-components-3600436535", children: /* @__PURE__ */ n.jsx(_, { items: e }) });
|
|
155
155
|
}
|
|
156
|
-
function
|
|
157
|
-
const o =
|
|
156
|
+
function ke(e) {
|
|
157
|
+
const o = b(() => ({
|
|
158
158
|
items: e
|
|
159
159
|
}), [e]), {
|
|
160
|
-
isVisible:
|
|
161
|
-
show:
|
|
160
|
+
isVisible: c,
|
|
161
|
+
show: m,
|
|
162
162
|
close: a,
|
|
163
|
-
popover:
|
|
164
|
-
} =
|
|
165
|
-
return
|
|
166
|
-
isVisible:
|
|
167
|
-
show:
|
|
163
|
+
popover: p
|
|
164
|
+
} = U($, o);
|
|
165
|
+
return b(() => ({
|
|
166
|
+
isVisible: c,
|
|
167
|
+
show: m,
|
|
168
168
|
close: a,
|
|
169
|
-
popoverMenu:
|
|
170
|
-
}), [
|
|
169
|
+
popoverMenu: p
|
|
170
|
+
}), [c, m, a, p]);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function L({
|
|
173
173
|
menu: e,
|
|
174
174
|
className: o,
|
|
175
|
-
children:
|
|
175
|
+
children: c
|
|
176
176
|
}) {
|
|
177
|
-
return /* @__PURE__ */ n.jsxs(
|
|
178
|
-
|
|
177
|
+
return /* @__PURE__ */ n.jsxs(G, { className: o, children: [
|
|
178
|
+
c,
|
|
179
179
|
e
|
|
180
180
|
] });
|
|
181
181
|
}
|
|
182
182
|
export {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
ve as dangerPopoverMenuItemStyles,
|
|
184
|
+
L as default,
|
|
185
|
+
ke as usePopoverMenu
|
|
186
186
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../jsx-runtime-BB_1_6y_.js"),a=require("@kuma-ui/core"),c=require("../icons/icon.js"),_=require("./flex.js"),f=require("./text.js"),h=require("./click-ripples.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../jsx-runtime-BB_1_6y_.js"),a=require("@kuma-ui/core"),c=require("../icons/icon.js"),_=require("./flex.js"),f=require("./text.js"),h=require("./click-ripples.js"),d=require("./hover-gradient.js"),b=require("./button-tooltip.js"),N=require("./aria-text.js"),g=require("./atom.js"),w=require("./skeleton.js"),S=["primary","delete"],T="kakadu-components-356806024";function z({ref:l,iconLeft:n,iconRight:o,variant:m="primary",tooltip:x,tooltipPosition:p,href:i,target:j,rel:k,disabled:E,hasUnderline:v=!0,isSkeleton:u,isSkeletonAnimated:R=!0,className:y,children:t,label:B,...q}){const r=!!E||!!u,s=i!==void 0&&!u;return e.jsxRuntimeExports.jsxs("div",{className:a.cx("kakadu-components-989891841",t&&(n||o)?a.cx(!!n&&"kakadu-components-497190725",!!o&&"kakadu-components-3729381008"):"kakadu-components-3866032606"),children:[e.jsxRuntimeExports.jsxs(g.default,{...q,reference:l,as:s?"a":"button",type:s?void 0:"button",href:s?i:void 0,target:s?j:void 0,rel:s?k:void 0,disabled:s?void 0:r,inert:s?r:void 0,className:a.cx(f.textShadowStyles,"kakadu-components-4279134239",m==="delete"&&T,u&&"kakadu-components-2662775151",y),children:[e.jsxRuntimeExports.jsxs(_.default,{direction:"row",gap:.5,preset:"center",children:[n?e.jsxRuntimeExports.jsx("div",{className:a.cx("kakadu-components-743909038",t?"kakadu-components-1285017646":"kakadu-components-1475172827"),children:typeof n=="string"?e.jsxRuntimeExports.jsx(c.default,{width:14,height:14,type:n}):n}):null,t?e.jsxRuntimeExports.jsx("span",{className:a.cx("kakadu-components-743909038",v&&"kakadu-components-2703794515"),children:t}):e.jsxRuntimeExports.jsx(N.default,{children:B}),o?e.jsxRuntimeExports.jsx("div",{className:a.cx("kakadu-components-743909038",t?"kakadu-components-2421728947":"kakadu-components-1475172827"),children:typeof o=="string"?e.jsxRuntimeExports.jsx(c.default,{width:14,height:14,type:o}):o}):null]}),e.jsxRuntimeExports.jsxs("span",{className:"kakadu-components-1970948853",children:[r?null:e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(h.default,{size:t?void 0:50}),e.jsxRuntimeExports.jsx(d.default,{size:t?void 0:50,className:d.normalBlendStyles})]}),x?e.jsxRuntimeExports.jsx(b.default,{label:x,position:p}):null]})]}),u?e.jsxRuntimeExports.jsx("div",{className:"kakadu-components-1970948853",children:e.jsxRuntimeExports.jsx(w.SkeletonInstance,{width:"100%",height:"100%",isAnimated:R})}):null]})}exports.default=z;exports.textButtonVariants=S;
|
|
@@ -29,7 +29,7 @@ function Q({
|
|
|
29
29
|
label: y,
|
|
30
30
|
...h
|
|
31
31
|
}) {
|
|
32
|
-
const m = !!j || !!r, a = l && !r;
|
|
32
|
+
const m = !!j || !!r, a = l !== void 0 && !r;
|
|
33
33
|
return /* @__PURE__ */ o.jsxs("div", { className: n("kakadu-components-989891841", e && (t || s) ? n(!!t && "kakadu-components-497190725", !!s && "kakadu-components-3729381008") : "kakadu-components-3866032606"), children: [
|
|
34
34
|
/* @__PURE__ */ o.jsxs(C, { ...h, reference: i, as: a ? "a" : "button", type: a ? void 0 : "button", href: a ? l : void 0, target: a ? c : void 0, rel: a ? x : void 0, disabled: a ? void 0 : m, inert: a ? m : void 0, className: n(b, "kakadu-components-4279134239", u === "delete" && F, r && "kakadu-components-2662775151", f), children: [
|
|
35
35
|
/* @__PURE__ */ o.jsxs(N, { direction: "row", gap: 0.5, preset: "center", children: [
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react");function o(n){const[t,i]=s.useState(!1);return s.useEffect(()=>{const e=n.current;if(e){const c=a=>{const[u]=a;u&&i(u.isIntersecting)},r=new IntersectionObserver(c);return r.observe(e),()=>{r.disconnect()}}},[n]),t}function f(n){const[t,i]=s.useState(!1),e=o(n);return s.useEffect(()=>{e&&i(!0)},[e]),s.useMemo(()=>({isInView:e,hasBeenInView:t}),[e,t])}exports.default=o;exports.useHasBeenInView=f;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useState as o, useEffect as c, useMemo as f } from "react";
|
|
2
|
+
function a(n) {
|
|
3
|
+
const [s, t] = o(!1);
|
|
4
|
+
return c(() => {
|
|
5
|
+
const e = n.current;
|
|
6
|
+
if (e) {
|
|
7
|
+
const u = (I) => {
|
|
8
|
+
const [r] = I;
|
|
9
|
+
r && t(r.isIntersecting);
|
|
10
|
+
}, i = new IntersectionObserver(u);
|
|
11
|
+
return i.observe(e), () => {
|
|
12
|
+
i.disconnect();
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}, [n]), s;
|
|
16
|
+
}
|
|
17
|
+
function V(n) {
|
|
18
|
+
const [s, t] = o(!1), e = a(n);
|
|
19
|
+
return c(() => {
|
|
20
|
+
e && t(!0);
|
|
21
|
+
}, [e]), f(() => ({ isInView: e, hasBeenInView: s }), [e, s]);
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
a as default,
|
|
25
|
+
V as useHasBeenInView
|
|
26
|
+
};
|
package/build/index.d.ts
CHANGED
|
@@ -180,6 +180,8 @@ export * from './hooks/use-fetch';
|
|
|
180
180
|
export { default as useFetch } from './hooks/use-fetch';
|
|
181
181
|
export * from './hooks/use-is-document-focused';
|
|
182
182
|
export { default as useIsDocumentFocused } from './hooks/use-is-document-focused';
|
|
183
|
+
export * from './hooks/use-is-in-view';
|
|
184
|
+
export { default as useIsInView } from './hooks/use-is-in-view';
|
|
183
185
|
export * from './hooks/use-media-query';
|
|
184
186
|
export { default as useMediaQuery } from './hooks/use-media-query';
|
|
185
187
|
export * from './hooks/use-synchronized-value';
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./theme.js"),q=require("./components/aria-text.js"),_=require("./components/atom.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./theme.js"),q=require("./components/aria-text.js"),_=require("./components/atom.js"),I=require("./components/bankid-logo.js"),w=require("./components/box.js"),t=require("./components/button.js"),v=require("./components/button-tooltip.js"),P=require("./components/card.js"),B=require("./components/click-ripples.js"),M=require("./components/collapsible.js"),h=require("./components/combobox.js"),D=require("./components/copy-icon-button.js"),G=require("./components/datum.js"),F=require("./components/decorators.js"),R=require("./components/dnb-logo.js"),V=require("./components/dot.js"),c=require("./components/flex.js"),l=require("./components/footer.js"),A=require("./components/gauge.js"),H=require("./components/gjensidige-logo.js"),E=require("./components/header.js"),y=require("./components/hover-gradient.js"),k=require("./components/icon-button.js"),s=require("./components/input.js"),U=require("./components/kakadu-guide-icon.js"),d=require("./components/kakadu-guide-logo.js"),K=require("./components/kakadu-index-logo.js"),W=require("./components/kakadu-academy-logo.js"),N=require("./components/kakadu-logo.js"),r=require("./components/modal.js"),J=require("./components/moving-gradients.js"),j=require("./components/moving-stars.js"),f=require("./components/notice.js"),p=require("./components/notification.js"),g=require("./components/popover-menu.js"),a=require("./components/popover.js"),L=require("./components/revealer.js"),O=require("./components/select.js"),u=require("./components/separator.js"),S=require("./components/skeleton.js"),z=require("./components/sparebank1-logo.js"),b=require("./components/spinner.js"),Q=require("./components/sto-logo.js"),X=require("./components/storebrand-logo.js"),e=require("./components/text.js"),T=require("./components/text-button.js"),n=require("./components/theme-setter.js"),Y=require("./components/veil.js"),C=require("./components/wrapper.js"),m=require("./icons/icon.js"),Z=require("./icons/anchor-down.js"),$=require("./icons/anchor-up.js"),ee=require("./icons/arrow-down.js"),oe=require("./icons/arrow-left.js"),te=require("./icons/arrow-right.js"),ne=require("./icons/arrow-up.js"),re=require("./icons/caret-down.js"),se=require("./icons/caret-left.js"),ae=require("./icons/caret-right.js"),ue=require("./icons/caret-up.js"),ie=require("./icons/check.js"),ce=require("./icons/chevron-down.js"),le=require("./icons/chevron-left.js"),de=require("./icons/chevron-right.js"),fe=require("./icons/chevron-up.js"),pe=require("./icons/cog.js"),ge=require("./icons/copy.js"),Se=require("./icons/document.js"),me=require("./icons/dots.js"),qe=require("./icons/drag.js"),_e=require("./icons/edit.js"),ve=require("./icons/external.js"),he=require("./icons/exclamation-triangle.js"),ye=require("./icons/eye.js"),ke=require("./icons/information.js"),Le=require("./icons/kakadu-guide-glyph.js"),be=require("./icons/kakadu-guide-icon.js"),Te=require("./icons/menu.js"),Ce=require("./icons/package.js"),xe=require("./icons/plus.js"),Ie=require("./icons/select.js"),we=require("./icons/share.js"),Pe=require("./icons/sparkle.js"),Be=require("./icons/test.js"),Me=require("./icons/times.js"),De=require("./icons/trash.js"),Ge=require("./icons/trend-up.js"),Fe=require("./icons/chrome-browser-logo.js"),Re=require("./icons/edge-browser-logo.js"),i=require("./hooks/use-fetch.js"),Ve=require("./hooks/use-is-document-focused.js"),x=require("./hooks/use-is-in-view.js"),Ae=require("./hooks/use-media-query.js"),He=require("./hooks/use-synchronized-value.js"),Ee=require("./hooks/use-throttled.js"),Ue=require("./utilities/clamp.js"),Ke=require("./utilities/copy-to-clipboard.js"),We=require("./utilities/generate-random-id.js"),Ne=require("./utilities/scale.js"),Je=require("./utilities/search.js");exports.FontFamilyHead=o.FontFamilyHead;exports.buttonResetStyles=o.buttonResetStyles;exports.darkBackgroundColor=o.darkBackgroundColor;exports.effectStyles=o.effectStyles;exports.font=o.font;exports.lightBackgroundColor=o.lightBackgroundColor;exports.nonInteractiveEffectStyles=o.nonInteractiveEffectStyles;exports.overflowProtectionStyles=o.overflowProtectionStyles;exports.overlayEffectStyles=o.overlayEffectStyles;exports.theme=o.default;exports.AriaText=q.default;exports.ariaTextStyles=q.ariaTextStyles;exports.Atom=_.default;exports.defaultAtomElementType=_.defaultAtomElementType;exports.BankidLogo=I.default;exports.Box=w.default;exports.Button=t.default;exports.ButtonLoader=t.ButtonLoader;exports.buttonDangerStyles=t.buttonDangerStyles;exports.buttonSecondaryStyles=t.buttonSecondaryStyles;exports.buttonSuccessStyles=t.buttonSuccessStyles;exports.buttonVariants=t.buttonVariants;exports.buttonWarningStyles=t.buttonWarningStyles;exports.ButtonTooltip=v.default;exports.buttonTooltipPositions=v.buttonTooltipPositions;exports.Card=P.default;exports.ClickRipples=B.default;exports.Collapsible=M.default;exports.Combobox=h.default;exports.getComboboxOptionString=h.getComboboxOptionString;exports.CopyIconButton=D.default;exports.Datum=G.default;exports.Decorators=F.default;exports.DnbLogo=R.default;exports.Dot=V.default;exports.Flex=c.default;exports.flexDirections=c.flexDirections;exports.flexPresets=c.flexPresets;exports.Footer=l.default;exports.footerSectionLinks=l.footerSectionLinks;exports.footerSections=l.footerSections;exports.Gauge=A.default;exports.GjensidigeLogo=H.default;exports.Header=E.default;exports.HoverGradient=y.default;exports.normalBlendStyles=y.normalBlendStyles;exports.IconButton=k.default;exports.iconButtonVariants=k.iconButtonVariants;exports.Input=s.default;exports.InputLabel=s.InputLabel;exports.errorParagraph=s.errorParagraph;exports.inputStyles=s.inputStyles;exports.KakaduGuideIcon=U.default;exports.KakaduGuideLogo=d.default;exports.KakaduGuideLogoSvg=d.KakaduGuideLogoSvg;exports.kakaduGuideLogoVariants=d.kakaduGuideLogoVariants;exports.KakaduIndexLogo=K.default;exports.KakaduAcademyLogo=W.default;exports.KakaduLogo=N.default;exports.Modal=r.default;exports.ModalActions=r.ModalActions;exports.ModalContent=r.ModalContent;exports.ModalHeading=r.ModalHeading;exports.useModal=r.useModal;exports.useModalContext=r.useModalContext;exports.MovingGradients=J.default;exports.MovingStars=j.default;exports.Notice=f.default;exports.noticeTypes=f.noticeTypes;exports.notificationTypes=f.noticeTypes;exports.Notification=p.default;exports.NotificationProvider=p.NotificationProvider;exports.useCreateNotification=p.useCreateNotification;exports.PopoverMenu=g.default;exports.dangerPopoverMenuItemStyles=g.dangerPopoverMenuItemStyles;exports.usePopoverMenu=g.usePopoverMenu;exports.Popover=a.default;exports.PopoverContainer=a.PopoverContainer;exports.usePopover=a.usePopover;exports.usePopoverContext=a.usePopoverContext;exports.Revealer=L.default;exports.useRevealer=L.useRevealer;exports.Select=O.default;exports.Separator=u.default;exports.SeparatorLabel=u.SeparatorLabel;exports.SmallSeparator=u.SmallSeparator;exports.VerticalSeparator=u.VerticalSeparator;exports.Skeleton=S.default;exports.SkeletonInstance=S.SkeletonInstance;exports.getDeterministicSkeletonWidth=S.getDeterministicSkeletonWidth;exports.Sparebank1Logo=z.default;exports.RevealSpinner=b.RevealSpinner;exports.Spinner=b.default;exports.StoLogo=Q.default;exports.StorebrandLogo=X.default;exports.AnchorHeading=e.AnchorHeading;exports.Footnote=e.Footnote;exports.Heading=e.Heading;exports.Hero=e.Hero;exports.Label=e.Label;exports.Paragraph=e.Paragraph;exports.Span=e.Span;exports.Text=e.default;exports.defaultHeadingElementType=e.defaultHeadingElementType;exports.spanStyles=e.spanStyles;exports.textShadowStyles=e.textShadowStyles;exports.TextButton=T.default;exports.textButtonVariants=T.textButtonVariants;exports.ThemeSetter=n.default;exports.getThemePreference=n.getThemePreference;exports.setThemePreference=n.setThemePreference;exports.themePreferences=n.themePreferences;exports.useIsDarkMode=n.useIsDarkMode;exports.useIsLightMode=n.useIsLightMode;exports.useTheme=n.useTheme;exports.Veil=Y.default;exports.Wrapper=C.default;exports.wrapperWidths=C.wrapperWidths;exports.Icon=m.default;exports.iconShadowStyles=m.iconShadowStyles;exports.iconTypes=m.iconTypes;exports.AnchorDownSvg=Z.default;exports.AnchorUpSvg=$.default;exports.ArrowDownSvg=ee.default;exports.ArrowLeftSvg=oe.default;exports.ArrowRightSvg=te.default;exports.ArrowUpSvg=ne.default;exports.CaretDownSvg=re.default;exports.CaretLeftSvg=se.default;exports.CaretRightSvg=ae.default;exports.CaretUpSvg=ue.default;exports.CheckSvg=ie.default;exports.ChevronDownSvg=ce.default;exports.ChevronLeftSvg=le.default;exports.ChevronRightSvg=de.default;exports.ChevronUpSvg=fe.default;exports.CogSvg=pe.default;exports.CopySvg=ge.default;exports.DocumentSvg=Se.default;exports.DotsSvg=me.default;exports.DragSvg=qe.default;exports.EditSvg=_e.default;exports.ExternalSvg=ve.default;exports.ExclamationTriangleSvg=he.default;exports.EyeSvg=ye.default;exports.InformationSvg=ke.default;exports.KakaduGuideGlyphSvg=Le.default;exports.KakaduGuideIconSvg=be.default;exports.MenuSvg=Te.default;exports.PackageSvg=Ce.default;exports.PlusSvg=xe.default;exports.SelectSvg=Ie.default;exports.ShareSvg=we.default;exports.SparkleSvg=Pe.default;exports.TestSvg=Be.default;exports.TimesSvg=Me.default;exports.TrashSvg=De.default;exports.TrendUpSvg=Ge.default;exports.ChromeBrowserLogoSvg=Fe.default;exports.EdgeBrowserLogoSvg=Re.default;exports.useFetch=i.default;exports.useFetcher=i.useFetcher;exports.useJsonFetch=i.useJsonFetch;exports.useJsonFetcher=i.useJsonFetcher;exports.useIsDocumentFocused=Ve.default;exports.useHasBeenInView=x.useHasBeenInView;exports.useIsInView=x.default;exports.useMediaQuery=Ae.default;exports.useSynchronizedValue=He.default;exports.useThrottled=Ee.default;exports.clamp=Ue.default;exports.copyToClipboard=Ke.default;exports.generateRandomId=We.default;exports.scale=Ne.default;exports.search=Je.default;
|