@kakadu/components 1.6.1 → 1.6.3
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.mjs +6 -6
- package/build/components/card.mjs +9 -9
- package/build/components/collapsible.js +1 -0
- package/build/components/collapsible.mjs +27 -0
- package/build/components/datum.mjs +1 -1
- package/build/components/icon-button.mjs +10 -10
- package/build/components/input.js +2 -0
- package/build/components/input.mjs +165 -0
- package/build/components/modal.mjs +1 -1
- package/build/components/notice.mjs +1 -1
- package/build/components/text-button.mjs +12 -12
- package/build/components/text.js +1 -1
- package/build/components/text.mjs +1 -1
- package/build/components.css +1 -1
- package/build/{icon-Dz2YJAPU.mjs → icon-Ci3BSxQa.mjs} +2 -2
- package/build/icons/icon.mjs +1 -1
- package/build/index.js +1 -2
- package/build/index.mjs +180 -354
- package/build/theme.js +1 -1
- package/build/theme.mjs +1 -1
- package/package.json +1 -1
package/build/index.mjs
CHANGED
|
@@ -1,356 +1,182 @@
|
|
|
1
|
-
import { buttonResetStyles as
|
|
2
|
-
import {
|
|
3
|
-
import { default as
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import
|
|
10
|
-
import { default as
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import { default as
|
|
26
|
-
import
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { default as
|
|
38
|
-
import {
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import {
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import {
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as ya } from "./icons/kakadu-guide.mjs";
|
|
66
|
-
import { default as va } from "./icons/kakadu-guide-glyph.mjs";
|
|
67
|
-
import { default as ja } from "./icons/menu.mjs";
|
|
68
|
-
import { default as La } from "./icons/plus.mjs";
|
|
69
|
-
import { default as Ia } from "./icons/test.mjs";
|
|
70
|
-
import { default as Ea } from "./icons/times.mjs";
|
|
71
|
-
import { default as Ca } from "./hooks/use-media-query.mjs";
|
|
72
|
-
import { default as Ma } from "./utilities/generate-random-id.mjs";
|
|
73
|
-
import { default as Aa } from "./utilities/scale.mjs";
|
|
74
|
-
function ke({
|
|
75
|
-
as: i,
|
|
76
|
-
isCollapsed: a = !0,
|
|
77
|
-
children: s,
|
|
78
|
-
className: r,
|
|
79
|
-
...h
|
|
80
|
-
}) {
|
|
81
|
-
const t = v(null), [f, l] = b();
|
|
82
|
-
return z(() => {
|
|
83
|
-
if (a)
|
|
84
|
-
l(0);
|
|
85
|
-
else {
|
|
86
|
-
const m = t.current;
|
|
87
|
-
m && l(m.scrollHeight ?? 0);
|
|
88
|
-
}
|
|
89
|
-
}, [a]), /* @__PURE__ */ e.jsx(ie, { as: i ?? "div", ...h, "aria-hidden": a, style: {
|
|
90
|
-
height: f,
|
|
91
|
-
opacity: a ? 0 : 1
|
|
92
|
-
}, className: c("kakadu-components-2223449868", r), children: /* @__PURE__ */ e.jsx("div", { ref: t, className: "kakadu-components-3857562328", children: s }) });
|
|
93
|
-
}
|
|
94
|
-
const he = "kakadu-components-2065792067", ge = "kakadu-components-3551118672", j = "kakadu-components-2161641266", q = "kakadu-components-628401705", ye = c(q, "kakadu-components-3245407458"), Se = c(q, "kakadu-components-1117160492");
|
|
95
|
-
function ve({
|
|
96
|
-
as: i,
|
|
97
|
-
className: a,
|
|
98
|
-
...s
|
|
99
|
-
}) {
|
|
100
|
-
return /* @__PURE__ */ e.jsx(w, { as: i ?? "span", ...s, className: c("kakadu-components-3574036749", a) });
|
|
101
|
-
}
|
|
102
|
-
function J({
|
|
103
|
-
label: i,
|
|
104
|
-
error: a,
|
|
105
|
-
errorId: s,
|
|
106
|
-
warning: r,
|
|
107
|
-
warningId: h,
|
|
108
|
-
footnote: t,
|
|
109
|
-
attachments: f,
|
|
110
|
-
className: l,
|
|
111
|
-
children: m,
|
|
112
|
-
...n
|
|
113
|
-
}) {
|
|
114
|
-
const x = !!a, k = !!r, p = !!t;
|
|
115
|
-
return /* @__PURE__ */ e.jsxs("label", { ...n, className: c(he, l), children: [
|
|
116
|
-
/* @__PURE__ */ e.jsx(w, { className: c(U, ge), children: /* @__PURE__ */ e.jsx("span", { children: i }) }),
|
|
117
|
-
/* @__PURE__ */ e.jsxs("span", { className: "kakadu-components-448077930", children: [
|
|
118
|
-
m,
|
|
119
|
-
p ? /* @__PURE__ */ e.jsx(ve, { className: "kakadu-components-3258753754", children: t }) : null,
|
|
120
|
-
f
|
|
121
|
-
] }),
|
|
122
|
-
x ? /* @__PURE__ */ e.jsx($, { id: s, className: ye, children: a instanceof Error ? a.message : a }) : k ? /* @__PURE__ */ e.jsx($, { id: h, className: Se, children: r instanceof Error ? r.message : r }) : null
|
|
123
|
-
] });
|
|
124
|
-
}
|
|
125
|
-
function De({
|
|
126
|
-
label: i,
|
|
127
|
-
options: a,
|
|
128
|
-
error: s,
|
|
129
|
-
warning: r,
|
|
130
|
-
footnote: h,
|
|
131
|
-
className: t,
|
|
132
|
-
...f
|
|
133
|
-
}) {
|
|
134
|
-
const l = Q(), m = `${l}-error`, n = `${l}-warning`, x = !!s, k = !!r;
|
|
135
|
-
return /* @__PURE__ */ e.jsxs(J, { label: i, error: s, warning: r, footnote: h, children: [
|
|
136
|
-
/* @__PURE__ */ e.jsx("select", { ...f, "aria-invalid": x, "data-warning": k, "aria-describedby": x ? m : k ? n : void 0, className: c(j, "kakadu-components-709108872", t), children: a.map((p) => /* @__PURE__ */ e.jsx("option", { value: p.value, children: p.label }, p.value)) }),
|
|
137
|
-
/* @__PURE__ */ e.jsx(fe, { className: "kakadu-components-1616393393" })
|
|
138
|
-
] });
|
|
139
|
-
}
|
|
140
|
-
const be = 36, O = "kakadu-components-4233741488";
|
|
141
|
-
function Ve({
|
|
142
|
-
type: i,
|
|
143
|
-
label: a,
|
|
144
|
-
error: s,
|
|
145
|
-
warning: r,
|
|
146
|
-
footnote: h,
|
|
147
|
-
suggestion: t,
|
|
148
|
-
hasCopyButton: f,
|
|
149
|
-
hasClearButton: l,
|
|
150
|
-
isMultiline: m,
|
|
151
|
-
onChange: n,
|
|
152
|
-
className: x,
|
|
153
|
-
...k
|
|
154
|
-
}) {
|
|
155
|
-
const p = v(null), N = v(null), L = v(null), C = me(), H = Q(), X = `${H}-error`, Y = `${H}-warning`, {
|
|
156
|
-
value: y
|
|
157
|
-
} = k, [Z, M] = b(""), d = y ?? Z, [_, ee] = b(), te = i === "textarea" || !!m;
|
|
158
|
-
ue(() => {
|
|
159
|
-
typeof d == "string" && L.current && ee(L.current.scrollHeight);
|
|
160
|
-
}, [d]);
|
|
161
|
-
const T = D(() => typeof d == "string" ? `${d} `.split(`
|
|
162
|
-
`) : [], [d]), oe = D(() => T.length, [T]), I = !!s, B = !!r, P = I ? X : B ? Y : void 0;
|
|
163
|
-
z(() => {
|
|
164
|
-
M(typeof y == "string" ? y : "");
|
|
165
|
-
}, [y]);
|
|
166
|
-
const A = S((o) => {
|
|
167
|
-
const {
|
|
168
|
-
value: u
|
|
169
|
-
} = o.target;
|
|
170
|
-
M(u), n == null || n(u, o);
|
|
171
|
-
}, [n]), ae = S(() => {
|
|
172
|
-
typeof d == "string" && (K(d), C({
|
|
173
|
-
type: xe.success,
|
|
174
|
-
children: "Copied to clipboard."
|
|
175
|
-
}));
|
|
176
|
-
}, [d, C]), re = S(() => {
|
|
177
|
-
var u;
|
|
178
|
-
const o = N.current ?? p.current;
|
|
179
|
-
if (n && o) {
|
|
180
|
-
const g = (u = Object.getOwnPropertyDescriptor(o instanceof HTMLTextAreaElement ? HTMLTextAreaElement.prototype : HTMLInputElement.prototype, "value")) == null ? void 0 : u.set;
|
|
181
|
-
if (g) {
|
|
182
|
-
g.call(o, "");
|
|
183
|
-
const E = new Event("input", {
|
|
184
|
-
bubbles: !0
|
|
185
|
-
});
|
|
186
|
-
o.dispatchEvent(E), o.focus();
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}, [n]), [ne, se] = b(""), R = !!t && ne !== t, le = S(() => {
|
|
190
|
-
var u;
|
|
191
|
-
const o = N.current ?? p.current;
|
|
192
|
-
if (t && n && o) {
|
|
193
|
-
const g = (u = Object.getOwnPropertyDescriptor(o instanceof HTMLTextAreaElement ? HTMLTextAreaElement.prototype : HTMLInputElement.prototype, "value")) == null ? void 0 : u.set;
|
|
194
|
-
if (g) {
|
|
195
|
-
g.call(o, t);
|
|
196
|
-
const E = new Event("input", {
|
|
197
|
-
bubbles: !0
|
|
198
|
-
});
|
|
199
|
-
o.dispatchEvent(E), o.focus();
|
|
200
|
-
} else
|
|
201
|
-
K(t);
|
|
202
|
-
se(t);
|
|
203
|
-
}
|
|
204
|
-
}, [t, n]);
|
|
205
|
-
return /* @__PURE__ */ e.jsxs(J, { label: a, error: s, warning: r, footnote: h, attachments: /* @__PURE__ */ e.jsx(ke, { isCollapsed: !R, children: R ? /* @__PURE__ */ e.jsxs("button", { type: "button", className: c(ce, U, "kakadu-components-2355856341"), onClick: le, children: [
|
|
206
|
-
/* @__PURE__ */ e.jsx(de, { label: "Apply suggestion" }),
|
|
207
|
-
/* @__PURE__ */ e.jsx(pe, { width: 13, height: 13, className: "kakadu-components-1021263934" }),
|
|
208
|
-
/* @__PURE__ */ e.jsx(w, { className: "kakadu-components-1585874956", children: t }),
|
|
209
|
-
/* @__PURE__ */ e.jsx(G, { className: "kakadu-components-3448565402" }),
|
|
210
|
-
/* @__PURE__ */ e.jsx(V, {})
|
|
211
|
-
] }) : null }), style: {
|
|
212
|
-
"--button-padding": `${be * ((f ? 1 : 0) + (l ? 1 : 0))}px`
|
|
213
|
-
}, children: [
|
|
214
|
-
/* @__PURE__ */ e.jsxs("div", { className: "kakadu-components-3146929190", children: [
|
|
215
|
-
te ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
216
|
-
/* @__PURE__ */ e.jsxs("span", { ref: L, "aria-hidden": !0, className: c(j, x, "kakadu-components-2033521835"), children: [
|
|
217
|
-
T.map((o, u) => (
|
|
218
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
219
|
-
/* @__PURE__ */ e.jsxs("span", { children: [
|
|
220
|
-
o,
|
|
221
|
-
oe > 1 ? /* @__PURE__ */ e.jsx("br", {}) : null
|
|
222
|
-
] }, u)
|
|
223
|
-
)),
|
|
224
|
-
" "
|
|
225
|
-
] }),
|
|
226
|
-
/* @__PURE__ */ e.jsx("textarea", { ...k, ref: N, rows: 1, "aria-invalid": I, "data-warning": B, "aria-describedby": P, value: d, className: c(j, x, "kakadu-components-2119524139"), style: {
|
|
227
|
-
minHeight: _
|
|
228
|
-
}, onChange: A })
|
|
229
|
-
] }) : /* @__PURE__ */ e.jsx("input", { ...k, ref: p, type: i ?? "text", value: d, "aria-invalid": I, "data-warning": B, "aria-describedby": P, className: c(j, x), onChange: A }),
|
|
230
|
-
/* @__PURE__ */ e.jsx(G, { className: "kakadu-components-1614211948" }),
|
|
231
|
-
/* @__PURE__ */ e.jsx(V, { className: "kakadu-components-1041647916" })
|
|
232
|
-
] }),
|
|
233
|
-
f || l ? /* @__PURE__ */ e.jsxs("div", { className: "kakadu-components-131986363", children: [
|
|
234
|
-
f ? /* @__PURE__ */ e.jsx(W, { iconLeft: F.copy, label: "Copy", tooltip: "Copy", className: O, onClick: ae }) : null,
|
|
235
|
-
l ? /* @__PURE__ */ e.jsx(W, { iconLeft: F.times, label: "Clear", tooltip: "Clear", className: O, onClick: re }) : null
|
|
236
|
-
] }) : null
|
|
237
|
-
] });
|
|
238
|
-
}
|
|
1
|
+
import { FontFamilyHead as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as l, lightBackgroundColor as d, nonInteractiveEffectStyles as s, overflowProtectionStyles as u, default as p } from "./theme.mjs";
|
|
2
|
+
import { default as n, ariaTextStyles as x } from "./components/aria-text.mjs";
|
|
3
|
+
import { default as g, defaultAtomElementType as S } from "./components/atom.mjs";
|
|
4
|
+
import { default as y } from "./components/bankid-logo.mjs";
|
|
5
|
+
import { default as k } from "./components/box.mjs";
|
|
6
|
+
import { default as T, ButtonVariant as C, buttonDangerStyles as B, buttonSecondaryStyles as I, buttonSuccessStyles as b, buttonWarningStyles as v } from "./components/button.mjs";
|
|
7
|
+
import { default as w } from "./components/button-tooltip.mjs";
|
|
8
|
+
import { default as D } from "./components/card.mjs";
|
|
9
|
+
import { default as P } from "./components/click-ripples.mjs";
|
|
10
|
+
import { default as A } from "./components/collapsible.mjs";
|
|
11
|
+
import { default as H } from "./components/datum.mjs";
|
|
12
|
+
import { default as E } from "./components/dnb-logo.mjs";
|
|
13
|
+
import { default as W } from "./components/dot.mjs";
|
|
14
|
+
import { default as Q, FlexAlignment as U } from "./components/flex.mjs";
|
|
15
|
+
import { default as z, FooterLinkItem as J } from "./components/footer.mjs";
|
|
16
|
+
import { default as X } from "./components/gauge.mjs";
|
|
17
|
+
import { default as Z } from "./components/gjensidige-logo.mjs";
|
|
18
|
+
import { default as $ } from "./components/header.mjs";
|
|
19
|
+
import { default as oe, normalBlendStyles as te } from "./components/hover-gradient.mjs";
|
|
20
|
+
import { default as re, IconButtonVariant as fe } from "./components/icon-button.mjs";
|
|
21
|
+
import { default as de, Select as se, errorParagraph as ue } from "./components/input.mjs";
|
|
22
|
+
import { default as me } from "./components/kakadu-guide-icon.mjs";
|
|
23
|
+
import { default as xe, KakaduGuideLogoSvg as ie, KakaduGuideLogoVariant as ge } from "./components/kakadu-guide-logo.mjs";
|
|
24
|
+
import { default as ce } from "./components/kakadu-index-logo.mjs";
|
|
25
|
+
import { default as he } from "./components/kakadu-logo.mjs";
|
|
26
|
+
import { default as Le, useModal as Te, useModalContext as Ce } from "./components/modal.mjs";
|
|
27
|
+
import { default as Ie } from "./components/moving-gradients.mjs";
|
|
28
|
+
import { default as ve } from "./components/moving-stars.mjs";
|
|
29
|
+
import { default as we, NoticeType as Me } from "./components/notice.mjs";
|
|
30
|
+
import { default as Ke, NotificationProvider as Pe, useCreateNotification as Re } from "./components/notification.mjs";
|
|
31
|
+
import { default as Fe, useRevealer as He } from "./components/revealer.mjs";
|
|
32
|
+
import { default as Ee, SeparatorLabel as Ne, SmallSeparator as We, VerticalSeparator as je } from "./components/separator.mjs";
|
|
33
|
+
import { default as Ue, SkeletonInstance as qe } from "./components/skeleton.mjs";
|
|
34
|
+
import { default as Je } from "./components/sparebank1-logo.mjs";
|
|
35
|
+
import { RevealSpinner as Xe, default as Ye } from "./components/spinner.mjs";
|
|
36
|
+
import { default as _e } from "./components/sto-logo.mjs";
|
|
37
|
+
import { default as eo } from "./components/storebrand-logo.mjs";
|
|
38
|
+
import { AnchorHeading as to, Heading as ao, Hero as ro, Label as fo, Paragraph as lo, Span as so, default as uo, spanStyles as po, textShadowStyles as mo } from "./components/text.mjs";
|
|
39
|
+
import { default as xo, TextButtonVariant as io } from "./components/text-button.mjs";
|
|
40
|
+
import { default as So, getThemePreference as co, setThemePreference as yo, themePreferences as ho, useIsDarkMode as ko, useIsLightMode as Lo, useTheme as To } from "./components/theme-setter.mjs";
|
|
41
|
+
import { default as Bo } from "./components/veil.mjs";
|
|
42
|
+
import { default as bo, WrapperWidth as vo } from "./components/wrapper.mjs";
|
|
43
|
+
import { default as wo } from "./icons/arrow-down.mjs";
|
|
44
|
+
import { default as Do } from "./icons/caret-down.mjs";
|
|
45
|
+
import { default as Po } from "./icons/caret-right.mjs";
|
|
46
|
+
import { default as Ao } from "./icons/check.mjs";
|
|
47
|
+
import { default as Ho } from "./icons/chevron-down.mjs";
|
|
48
|
+
import { default as Eo } from "./icons/chevron-up.mjs";
|
|
49
|
+
import { default as Wo } from "./icons/chrome-browser-logo.mjs";
|
|
50
|
+
import { default as Qo } from "./icons/copy.mjs";
|
|
51
|
+
import { default as qo } from "./icons/edit.mjs";
|
|
52
|
+
import { default as Jo } from "./icons/edge-browser-logo.mjs";
|
|
53
|
+
import { default as Xo } from "./icons/exclamation-triangle.mjs";
|
|
54
|
+
import { I as Zo, a as _o, i as $o } from "./icon-Ci3BSxQa.mjs";
|
|
55
|
+
import { default as ot } from "./icons/kakadu-guide.mjs";
|
|
56
|
+
import { default as at } from "./icons/kakadu-guide-glyph.mjs";
|
|
57
|
+
import { default as ft } from "./icons/menu.mjs";
|
|
58
|
+
import { default as dt } from "./icons/plus.mjs";
|
|
59
|
+
import { default as ut } from "./icons/test.mjs";
|
|
60
|
+
import { default as mt } from "./icons/times.mjs";
|
|
61
|
+
import { default as xt } from "./hooks/use-media-query.mjs";
|
|
62
|
+
import { default as gt } from "./utilities/copy-to-clipboard.mjs";
|
|
63
|
+
import { default as ct } from "./utilities/generate-random-id.mjs";
|
|
64
|
+
import { default as ht } from "./utilities/scale.mjs";
|
|
239
65
|
export {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
66
|
+
to as AnchorHeading,
|
|
67
|
+
n as AriaText,
|
|
68
|
+
wo as ArrowDown,
|
|
69
|
+
g as Atom,
|
|
70
|
+
y as BankidLogo,
|
|
71
|
+
k as Box,
|
|
72
|
+
T as Button,
|
|
73
|
+
w as ButtonTooltip,
|
|
74
|
+
C as ButtonVariant,
|
|
75
|
+
D as Card,
|
|
76
|
+
Do as CaretDown,
|
|
77
|
+
Po as CaretRight,
|
|
78
|
+
Ao as Check,
|
|
79
|
+
Ho as ChevronDown,
|
|
80
|
+
Eo as ChevronUp,
|
|
81
|
+
Wo as ChromeBrowserLogo,
|
|
82
|
+
P as ClickRipples,
|
|
83
|
+
A as Collapsible,
|
|
84
|
+
Qo as Copy,
|
|
85
|
+
H as Datum,
|
|
86
|
+
E as DnbLogo,
|
|
87
|
+
W as Dot,
|
|
88
|
+
Jo as EdgeBrowserLogo,
|
|
89
|
+
qo as Edit,
|
|
90
|
+
Xo as ExclamationTriangle,
|
|
91
|
+
Q as Flex,
|
|
92
|
+
U as FlexAlignment,
|
|
93
|
+
t as FontFamilyHead,
|
|
94
|
+
z as Footer,
|
|
95
|
+
J as FooterLinkItem,
|
|
96
|
+
X as Gauge,
|
|
97
|
+
Z as GjensidigeLogo,
|
|
98
|
+
$ as Header,
|
|
99
|
+
ao as Heading,
|
|
100
|
+
ro as Hero,
|
|
101
|
+
oe as HoverGradient,
|
|
102
|
+
Zo as Icon,
|
|
103
|
+
re as IconButton,
|
|
104
|
+
fe as IconButtonVariant,
|
|
105
|
+
_o as IconType,
|
|
106
|
+
de as Input,
|
|
107
|
+
ot as KakaduGuide,
|
|
108
|
+
at as KakaduGuideGlyph,
|
|
109
|
+
me as KakaduGuideIcon,
|
|
110
|
+
xe as KakaduGuideLogo,
|
|
111
|
+
ie as KakaduGuideLogoSvg,
|
|
112
|
+
ge as KakaduGuideLogoVariant,
|
|
113
|
+
ce as KakaduIndexLogo,
|
|
114
|
+
he as KakaduLogo,
|
|
115
|
+
fo as Label,
|
|
116
|
+
ft as Menu,
|
|
117
|
+
Le as Modal,
|
|
118
|
+
Ie as MovingGradients,
|
|
119
|
+
ve as MovingStars,
|
|
120
|
+
we as Notice,
|
|
121
|
+
Me as NoticeType,
|
|
122
|
+
Ke as Notification,
|
|
123
|
+
Pe as NotificationProvider,
|
|
124
|
+
lo as Paragraph,
|
|
125
|
+
dt as Plus,
|
|
126
|
+
Xe as RevealSpinner,
|
|
127
|
+
Fe as Revealer,
|
|
128
|
+
se as Select,
|
|
129
|
+
Ee as Separator,
|
|
130
|
+
Ne as SeparatorLabel,
|
|
131
|
+
Ue as Skeleton,
|
|
132
|
+
qe as SkeletonInstance,
|
|
133
|
+
We as SmallSeparator,
|
|
134
|
+
so as Span,
|
|
135
|
+
Je as Sparebank1Logo,
|
|
136
|
+
Ye as Spinner,
|
|
137
|
+
_e as StoLogo,
|
|
138
|
+
eo as StorebrandLogo,
|
|
139
|
+
ut as Test,
|
|
140
|
+
uo as Text,
|
|
141
|
+
xo as TextButton,
|
|
142
|
+
io as TextButtonVariant,
|
|
143
|
+
So as ThemeSetter,
|
|
144
|
+
mt as Times,
|
|
145
|
+
Bo as Veil,
|
|
146
|
+
je as VerticalSeparator,
|
|
147
|
+
bo as Wrapper,
|
|
148
|
+
vo as WrapperWidth,
|
|
149
|
+
x as ariaTextStyles,
|
|
150
|
+
B as buttonDangerStyles,
|
|
151
|
+
a as buttonResetStyles,
|
|
152
|
+
I as buttonSecondaryStyles,
|
|
153
|
+
b as buttonSuccessStyles,
|
|
154
|
+
v as buttonWarningStyles,
|
|
155
|
+
gt as copyToClipboard,
|
|
156
|
+
r as darkBackgroundColor,
|
|
157
|
+
S as defaultAtomElementType,
|
|
158
|
+
f as effectStyles,
|
|
159
|
+
ue as errorParagraph,
|
|
160
|
+
l as font,
|
|
161
|
+
ct as generateRandomId,
|
|
162
|
+
co as getThemePreference,
|
|
163
|
+
$o as iconShadowStyles,
|
|
164
|
+
d as lightBackgroundColor,
|
|
165
|
+
s as nonInteractiveEffectStyles,
|
|
166
|
+
te as normalBlendStyles,
|
|
167
|
+
u as overflowProtectionStyles,
|
|
168
|
+
ht as scale,
|
|
169
|
+
yo as setThemePreference,
|
|
170
|
+
po as spanStyles,
|
|
171
|
+
mo as textShadowStyles,
|
|
172
|
+
p as theme,
|
|
173
|
+
ho as themePreferences,
|
|
174
|
+
Re as useCreateNotification,
|
|
175
|
+
ko as useIsDarkMode,
|
|
176
|
+
Lo as useIsLightMode,
|
|
177
|
+
xt as useMediaQuery,
|
|
178
|
+
Te as useModal,
|
|
179
|
+
Ce as useModalContext,
|
|
180
|
+
He as useRevealer,
|
|
181
|
+
To as useTheme
|
|
356
182
|
};
|
package/build/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./jsx-runtime-BB_1_6y_.js"),r=require("@kuma-ui/core"),c="#f8fafc",a="#0c0d12",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 l(){return t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[e.preconnect.map(({url:o,crossorigin:n})=>t.jsxRuntimeExports.jsx("link",{href:o,rel:"preconnect",crossOrigin:n?"anonymous":void 0},o)),t.jsxRuntimeExports.jsx("link",{href:e.stylesheet,rel:"stylesheet"})]})}const i="kakadu-components-
|
|
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",a="#0c0d12",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 l(){return t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[e.preconnect.map(({url:o,crossorigin:n})=>t.jsxRuntimeExports.jsx("link",{href:o,rel:"preconnect",crossOrigin:n?"anonymous":void 0},o)),t.jsxRuntimeExports.jsx("link",{href:e.stylesheet,rel:"stylesheet"})]})}const i="kakadu-components-1629905997",u="kakadu-components-4178476647",f="kakadu-components-216224454",s="kakadu-components-352310015",m=r.cx(s,"kakadu-components-1119532724");exports.FontFamilyHead=l;exports.buttonResetStyles=f;exports.darkBackgroundColor=a;exports.default=i;exports.effectStyles=s;exports.font=e;exports.lightBackgroundColor=c;exports.nonInteractiveEffectStyles=m;exports.overflowProtectionStyles=u;
|
package/build/theme.mjs
CHANGED
|
@@ -19,7 +19,7 @@ function f() {
|
|
|
19
19
|
/* @__PURE__ */ t.jsx("link", { href: s.stylesheet, rel: "stylesheet" })
|
|
20
20
|
] });
|
|
21
21
|
}
|
|
22
|
-
const p = "kakadu-components-
|
|
22
|
+
const p = "kakadu-components-1629905997", m = "kakadu-components-4178476647", k = "kakadu-components-216224454", c = "kakadu-components-352310015", u = n(c, "kakadu-components-1119532724");
|
|
23
23
|
export {
|
|
24
24
|
f as FontFamilyHead,
|
|
25
25
|
k as buttonResetStyles,
|