@kakadu/components 3.9.0 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/icon-button.js +1 -1
- package/build/components/icon-button.mjs +20 -20
- package/build/components/popover-menu.js +1 -1
- package/build/components/popover-menu.mjs +12 -12
- package/build/components/popover.js +1 -1
- package/build/components/skeleton.d.ts +4 -0
- package/build/components/skeleton.js +1 -1
- package/build/components/skeleton.mjs +33 -25
- package/build/icons/drag.d.ts +2 -0
- package/build/icons/drag.js +1 -0
- package/build/icons/drag.mjs +28 -0
- package/build/icons/icon.d.ts +1 -0
- package/build/icons/icon.js +1 -1
- package/build/icons/icon.mjs +36 -34
- package/build/index.d.ts +2 -0
- package/build/index.js +1 -1
- package/build/index.mjs +135 -132
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../jsx-runtime-BB_1_6y_.js"),s=require("react"),o=require("@kuma-ui/core"),d=require("../icons/icon.js"),g=require("../theme.js"),D=require("./theme-setter.js"),r=require("./button.js"),M=require("./button-tooltip.js"),z=require("./click-ripples.js"),b=require("./hover-gradient.js"),A=require("./skeleton.js"),C=require("./atom.js");var y=(e=>(e.default="default",e.success="success",e.warning="warning",e.danger="danger",e))(y||{});function
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../jsx-runtime-BB_1_6y_.js"),s=require("react"),o=require("@kuma-ui/core"),d=require("../icons/icon.js"),g=require("../theme.js"),D=require("./theme-setter.js"),r=require("./button.js"),M=require("./button-tooltip.js"),z=require("./click-ripples.js"),b=require("./hover-gradient.js"),A=require("./skeleton.js"),C=require("./atom.js");var y=(e=>(e.default="default",e.success="success",e.warning="warning",e.danger="danger",e))(y||{});function O({icon:e,variant:u="default",label:p,tooltipPosition:E,href:f,target:q,rel:w,disabled:_,isLoading:k,isSkeleton:c,isSkeletonAnimated:v=!0,className:N,...I}){const j=s.useId(),T=D.useIsDarkMode(),n=f&&!c,[a,B]=s.useState(e),[h,m]=s.useState(!1),R=s.useRef(e),i=s.useRef(null);s.useEffect(()=>{R.current=e},[e]);const l=s.useCallback(()=>{i.current&&(clearTimeout(i.current),i.current=null)},[]);s.useEffect(()=>{if(a===e){m(S=>S&&!1);return}m(!0),l(),i.current=setTimeout(()=>{m(!1),B(R.current)},370)},[a,e,l]),s.useEffect(()=>()=>{l()},[l]);const x=!!_||!!k||!!c;return t.jsxRuntimeExports.jsxs("div",{className:"kakadu-components-4096632152",children:[t.jsxRuntimeExports.jsxs(C.default,{...I,as:n?"a":"button",type:n?void 0:"button",href:n?f:void 0,target:n?q:void 0,rel:n?w:void 0,"aria-label":p,"aria-describedby":j,disabled:n?void 0:x,inert:n?x:void 0,className:o.cx(g.buttonResetStyles,g.effectStyles,"kakadu-components-2957737620",u==="default"&&o.cx(r.buttonSecondaryStyles,"kakadu-components-1561784812"),u==="success"&&o.cx(r.buttonSuccessStyles,"kakadu-components-1398421429"),u==="warning"&&o.cx(r.buttonWarningStyles,"kakadu-components-1872098090"),u==="danger"&&o.cx(r.buttonDangerStyles,"kakadu-components-2064536093"),c&&"kakadu-components-2662775151",N),children:[t.jsxRuntimeExports.jsxs("span",{"data-theme":u==="default"?T?"dark":"light":"dark",className:"kakadu-components-3040141419",children:[t.jsxRuntimeExports.jsx(d.default,{width:16,height:16,type:a,className:o.cx(d.iconShadowStyles,"kakadu-components-1562914001",h&&"kakadu-components-2360250719")}),a===e?null:t.jsxRuntimeExports.jsx(d.default,{width:16,height:16,type:e,className:o.cx(d.iconShadowStyles,"kakadu-components-1224061930",h&&"kakadu-components-2519520784")})]}),t.jsxRuntimeExports.jsx(r.ButtonLoader,{isLoading:k,size:14}),t.jsxRuntimeExports.jsx(M.default,{id:j,label:p,position:E}),x?null:t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(z.default,{size:50}),t.jsxRuntimeExports.jsx(b.default,{size:50,className:u==="default"?b.normalBlendStyles:void 0})]})]}),c?t.jsxRuntimeExports.jsx("div",{className:"kakadu-components-3422055155",children:t.jsxRuntimeExports.jsx(A.SkeletonInstance,{width:"100%",height:"100%",isAnimated:v})}):null]})}exports.IconButtonVariant=y;exports.default=O;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { j as t } from "../jsx-runtime-B4hRZ52C.mjs";
|
|
2
|
-
import { useId as A, useState as j, useRef as y, useEffect as
|
|
2
|
+
import { useId as A, useState as j, useRef as y, useEffect as i, useCallback as C } from "react";
|
|
3
3
|
import { cx as o } from "@kuma-ui/core";
|
|
4
4
|
import b, { iconShadowStyles as S } from "../icons/icon.mjs";
|
|
5
5
|
import { buttonResetStyles as E, effectStyles as M } from "../theme.mjs";
|
|
6
6
|
import { useIsDarkMode as F } from "./theme-setter.mjs";
|
|
7
|
-
import { ButtonLoader as G, buttonSecondaryStyles as H, buttonSuccessStyles as
|
|
7
|
+
import { ButtonLoader as G, buttonSecondaryStyles as H, buttonSuccessStyles as O, buttonWarningStyles as W, buttonDangerStyles as q } from "./button.mjs";
|
|
8
8
|
import J from "./button-tooltip.mjs";
|
|
9
9
|
import K from "./click-ripples.mjs";
|
|
10
|
-
import L, { normalBlendStyles as
|
|
10
|
+
import L, { normalBlendStyles as P } from "./hover-gradient.mjs";
|
|
11
11
|
import { SkeletonInstance as Q } from "./skeleton.mjs";
|
|
12
12
|
import U from "./atom.mjs";
|
|
13
13
|
var X = /* @__PURE__ */ ((e) => (e.default = "default", e.success = "success", e.warning = "warning", e.danger = "danger", e))(X || {});
|
|
14
|
-
function
|
|
14
|
+
function ce({
|
|
15
15
|
icon: e,
|
|
16
16
|
variant: n = "default",
|
|
17
17
|
label: m,
|
|
18
18
|
tooltipPosition: w,
|
|
19
19
|
href: p,
|
|
20
|
-
target:
|
|
21
|
-
rel:
|
|
20
|
+
target: N,
|
|
21
|
+
rel: v,
|
|
22
22
|
disabled: R,
|
|
23
23
|
isLoading: f,
|
|
24
24
|
isSkeleton: r,
|
|
@@ -26,36 +26,36 @@ function ue({
|
|
|
26
26
|
className: B,
|
|
27
27
|
...D
|
|
28
28
|
}) {
|
|
29
|
-
const k = A(), T = F(), s = p && !r, [a, z] = j(e), [h, d] = j(!1), x = y(e),
|
|
30
|
-
|
|
29
|
+
const k = A(), T = F(), s = p && !r, [a, z] = j(e), [h, d] = j(!1), x = y(e), c = y(null);
|
|
30
|
+
i(() => {
|
|
31
31
|
x.current = e;
|
|
32
32
|
}, [e]);
|
|
33
|
-
const
|
|
34
|
-
|
|
33
|
+
const u = C(() => {
|
|
34
|
+
c.current && (clearTimeout(c.current), c.current = null);
|
|
35
35
|
}, []);
|
|
36
|
-
|
|
36
|
+
i(() => {
|
|
37
37
|
if (a === e) {
|
|
38
38
|
d((g) => g && !1);
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
-
d(!0),
|
|
41
|
+
d(!0), u(), c.current = setTimeout(() => {
|
|
42
42
|
d(!1), z(x.current);
|
|
43
43
|
}, 370);
|
|
44
|
-
}, [a, e,
|
|
45
|
-
|
|
46
|
-
}, [
|
|
47
|
-
const
|
|
44
|
+
}, [a, e, u]), i(() => () => {
|
|
45
|
+
u();
|
|
46
|
+
}, [u]);
|
|
47
|
+
const l = !!R || !!f || !!r;
|
|
48
48
|
return /* @__PURE__ */ t.jsxs("div", { className: "kakadu-components-4096632152", children: [
|
|
49
|
-
/* @__PURE__ */ t.jsxs(U, { ...D, as: s ? "a" : "button", type: s ? void 0 : "button", href: s ? p : void 0, target: s ?
|
|
49
|
+
/* @__PURE__ */ t.jsxs(U, { ...D, as: s ? "a" : "button", type: s ? void 0 : "button", href: s ? p : void 0, target: s ? N : void 0, rel: s ? v : void 0, "aria-label": m, "aria-describedby": k, disabled: s ? void 0 : l, inert: s ? l : void 0, className: o(E, M, "kakadu-components-2957737620", n === "default" && o(H, "kakadu-components-1561784812"), n === "success" && o(O, "kakadu-components-1398421429"), n === "warning" && o(W, "kakadu-components-1872098090"), n === "danger" && o(q, "kakadu-components-2064536093"), r && "kakadu-components-2662775151", B), children: [
|
|
50
50
|
/* @__PURE__ */ t.jsxs("span", { "data-theme": n === "default" ? T ? "dark" : "light" : "dark", className: "kakadu-components-3040141419", children: [
|
|
51
51
|
/* @__PURE__ */ t.jsx(b, { width: 16, height: 16, type: a, className: o(S, "kakadu-components-1562914001", h && "kakadu-components-2360250719") }),
|
|
52
52
|
a === e ? null : /* @__PURE__ */ t.jsx(b, { width: 16, height: 16, type: e, className: o(S, "kakadu-components-1224061930", h && "kakadu-components-2519520784") })
|
|
53
53
|
] }),
|
|
54
54
|
/* @__PURE__ */ t.jsx(G, { isLoading: f, size: 14 }),
|
|
55
55
|
/* @__PURE__ */ t.jsx(J, { id: k, label: m, position: w }),
|
|
56
|
-
|
|
56
|
+
l ? null : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
57
57
|
/* @__PURE__ */ t.jsx(K, { size: 50 }),
|
|
58
|
-
/* @__PURE__ */ t.jsx(L, { size: 50, className: n === "default" ?
|
|
58
|
+
/* @__PURE__ */ t.jsx(L, { size: 50, className: n === "default" ? P : void 0 })
|
|
59
59
|
] })
|
|
60
60
|
] }),
|
|
61
61
|
r ? /* @__PURE__ */ t.jsx("div", { className: "kakadu-components-3422055155", children: /* @__PURE__ */ t.jsx(Q, { width: "100%", height: "100%", isAnimated: I }) }) : null
|
|
@@ -63,5 +63,5 @@ function ue({
|
|
|
63
63
|
}
|
|
64
64
|
export {
|
|
65
65
|
X as IconButtonVariant,
|
|
66
|
-
|
|
66
|
+
ce as default
|
|
67
67
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../jsx-runtime-BB_1_6y_.js"),I=require("@kuma-ui/core"),a=require("react"),N=require("../theme.js"),b=require("../icons/icon.js"),j=require("./popover.js"),S=require("./atom.js"),w=require("./text.js"),y=require("./hover-gradient.js"),_=require("./click-ripples.js"),C=require("./separator.js"),K=require("./decorators.js"),k=new Set;function M(){const[e,n]=a.useState(!1),u=a.useCallback(s=>{n(s);for(const o of k)o(s)},[]);return a.useEffect(()=>{const s=o=>{n(o)};return k.add(s),()=>{k.delete(s)}},[]),a.useMemo(()=>({isKeyboardNavigating:e,setIsKeyboardNavigating:u}),[e,u])}function F({label:e,iconLeft:n,iconRight:u,href:s,shouldCloseOnClick:o=!0,decorators:v=[],submenu:m,className:i,onClick:r,...f}){const{isVisible:
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../jsx-runtime-BB_1_6y_.js"),I=require("@kuma-ui/core"),a=require("react"),N=require("../theme.js"),b=require("../icons/icon.js"),j=require("./popover.js"),S=require("./atom.js"),w=require("./text.js"),y=require("./hover-gradient.js"),_=require("./click-ripples.js"),C=require("./separator.js"),K=require("./decorators.js"),k=new Set;function M(){const[e,n]=a.useState(!1),u=a.useCallback(s=>{n(s);for(const o of k)o(s)},[]);return a.useEffect(()=>{const s=o=>{n(o)};return k.add(s),()=>{k.delete(s)}},[]),a.useMemo(()=>({isKeyboardNavigating:e,setIsKeyboardNavigating:u}),[e,u])}function F({label:e,iconLeft:n,iconRight:u,href:s,shouldCloseOnClick:o=!0,decorators:v=[],submenu:m,className:i,onClick:r,...f}){const{isVisible:d,isPreparingFocus:l,isFocused:c,close:x}=j.usePopoverContext(),{isKeyboardNavigating:p}=M(),E=a.useRef(!0),R=a.useCallback(()=>{E.current=c},[c]),g=a.useCallback(q=>{!p&&!E.current||c&&(r==null||r(q),m?m.show():o&&(x==null||x()))},[p,c,r,m,o,x]),h=a.useMemo(()=>t.jsxRuntimeExports.jsxs(S.default,{as:s?"a":"button",...f,type:s?void 0:"button",role:"menuitem",href:s,inert:!d&&!l,disabled:s?void 0:!d&&!l,className:I.cx(N.buttonResetStyles,"kakadu-components-4075327442",c&&"kakadu-components-3160069815",p?"kakadu-components-2043829669":c&&"kakadu-components-2862719809",i),onClick:g,onPointerDownCapture:R,children:[t.jsxRuntimeExports.jsxs(w.Span,{className:"kakadu-components-1109353535",children:[n?t.jsxRuntimeExports.jsx(b.default,{width:12,height:12,type:n}):null,t.jsxRuntimeExports.jsx("span",{className:"kakadu-components-913703148",children:e}),u?t.jsxRuntimeExports.jsx(b.default,{width:12,height:12,type:u}):null]}),p?null:t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(_.default,{isActive:c,size:100}),t.jsxRuntimeExports.jsx(y.default,{isActive:c,size:150,className:y.normalBlendStyles})]})]}),[s,f,d,l,p,i,g,R,n,e,u,c]);return t.jsxRuntimeExports.jsx(K.default,{decorators:v,children:m?t.jsxRuntimeExports.jsx(P,{menu:m.popoverMenu,className:"kakadu-components-1861176543",children:h}):h})}function A(e){if("type"in e){if(e.type==="separator")return t.jsxRuntimeExports.jsx(C.default,{});if(e.type==="group")return t.jsxRuntimeExports.jsx(w.Span,{className:"kakadu-components-1499037363",children:e.label})}return t.jsxRuntimeExports.jsx(F,{...e})}function D({items:e}){const{isFocused:n}=j.usePopoverContext(),[u,s]=a.useState([]),{setIsKeyboardNavigating:o}=M(),v=a.useCallback(i=>{i&&s(r=>r.includes(i)?r:[...r,i])},[]),m=a.useCallback(i=>{n&&(i.currentTarget.focus(),o(!1))},[n,o]);return a.useEffect(()=>{if(!n)return;const i=r=>{const f=u.filter(p=>p.isConnected),d=f.length;if(d===0)return;let l;const c=document.activeElement;let x=c?f.indexOf(c):-1;switch(x===-1&&(x=0),r.key){case"ArrowDown":{l=(x+1)%d;break}case"ArrowUp":{l=(x-1+d)%d;break}case"Home":{l=0;break}case"End":{l=d-1;break}case"Tab":{o(!0);return}}if(l!==void 0){r.preventDefault(),r.stopPropagation();const p=f[l];p&&(p.focus(),o(!0))}};return window.addEventListener("keydown",i,{capture:!0}),()=>{window.removeEventListener("keydown",i,{capture:!0})}},[n,u,o]),t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:e.map((i,r)=>t.jsxRuntimeExports.jsx(A,{...i,reference:v,onMouseEnter:m},r))})}function T({items:e,...n}){return t.jsxRuntimeExports.jsx(j.default,{...n,as:"nav",role:"menu",innerClassName:"kakadu-components-3600436535",children:t.jsxRuntimeExports.jsx(D,{items:e})})}function z(e){const n=a.useMemo(()=>({items:e}),[e]),{show:u,close:s,popover:o}=j.usePopover(T,n);return a.useMemo(()=>({show:u,close:s,popoverMenu:o}),[u,s,o])}function P({menu:e,className:n,children:u}){return t.jsxRuntimeExports.jsxs(j.PopoverContainer,{className:n,children:[u,e]})}exports.default=P;exports.usePopoverMenu=z;
|
|
@@ -42,17 +42,17 @@ function G({
|
|
|
42
42
|
...f
|
|
43
43
|
}) {
|
|
44
44
|
const {
|
|
45
|
-
isVisible:
|
|
45
|
+
isVisible: m,
|
|
46
46
|
isPreparingFocus: u,
|
|
47
47
|
isFocused: c,
|
|
48
|
-
close:
|
|
48
|
+
close: l
|
|
49
49
|
} = N(), {
|
|
50
50
|
isKeyboardNavigating: d
|
|
51
51
|
} = E(), j = A(!0), h = v(() => {
|
|
52
52
|
j.current = c;
|
|
53
53
|
}, [c]), w = v((S) => {
|
|
54
|
-
!d && !j.current || c && (s == null || s(S), p ? p.show() : r && (
|
|
55
|
-
}, [d, c, s, p, r,
|
|
54
|
+
!d && !j.current || c && (s == null || s(S), p ? p.show() : r && (l == null || l()));
|
|
55
|
+
}, [d, c, s, p, r, l]), y = x(() => /* @__PURE__ */ n.jsxs(R, { as: o ? "a" : "button", ...f, type: o ? void 0 : "button", role: "menuitem", href: o, inert: !m && !u, disabled: o ? void 0 : !m && !u, className: K(C, "kakadu-components-4075327442", c && "kakadu-components-3160069815", d ? "kakadu-components-2043829669" : c && "kakadu-components-2862719809", i), onClick: w, onPointerDownCapture: h, children: [
|
|
56
56
|
/* @__PURE__ */ n.jsxs(M, { className: "kakadu-components-1109353535", children: [
|
|
57
57
|
t ? /* @__PURE__ */ n.jsx(P, { width: 12, height: 12, type: t }) : null,
|
|
58
58
|
/* @__PURE__ */ n.jsx("span", { className: "kakadu-components-913703148", children: e }),
|
|
@@ -62,7 +62,7 @@ function G({
|
|
|
62
62
|
/* @__PURE__ */ n.jsx(T, { isActive: c, size: 100 }),
|
|
63
63
|
/* @__PURE__ */ n.jsx(z, { isActive: c, size: 150, className: L })
|
|
64
64
|
] })
|
|
65
|
-
] }), [o, f,
|
|
65
|
+
] }), [o, f, m, u, d, i, w, h, t, e, a, c]);
|
|
66
66
|
return /* @__PURE__ */ n.jsx(B, { decorators: k, children: p ? /* @__PURE__ */ n.jsx(O, { menu: p.popoverMenu, className: "kakadu-components-1861176543", children: y }) : y });
|
|
67
67
|
}
|
|
68
68
|
function U(e) {
|
|
@@ -90,19 +90,19 @@ function q({
|
|
|
90
90
|
if (!t)
|
|
91
91
|
return;
|
|
92
92
|
const i = (s) => {
|
|
93
|
-
const f = a.filter((d) => d.isConnected),
|
|
94
|
-
if (
|
|
93
|
+
const f = a.filter((d) => d.isConnected), m = f.length;
|
|
94
|
+
if (m === 0)
|
|
95
95
|
return;
|
|
96
96
|
let u;
|
|
97
97
|
const c = document.activeElement;
|
|
98
|
-
let
|
|
99
|
-
switch (
|
|
98
|
+
let l = c ? f.indexOf(c) : -1;
|
|
99
|
+
switch (l === -1 && (l = 0), s.key) {
|
|
100
100
|
case "ArrowDown": {
|
|
101
|
-
u = (
|
|
101
|
+
u = (l + 1) % m;
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
case "ArrowUp": {
|
|
105
|
-
u = (
|
|
105
|
+
u = (l - 1 + m) % m;
|
|
106
106
|
break;
|
|
107
107
|
}
|
|
108
108
|
case "Home": {
|
|
@@ -110,7 +110,7 @@ function q({
|
|
|
110
110
|
break;
|
|
111
111
|
}
|
|
112
112
|
case "End": {
|
|
113
|
-
u =
|
|
113
|
+
u = m - 1;
|
|
114
114
|
break;
|
|
115
115
|
}
|
|
116
116
|
case "Tab": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../jsx-runtime-BB_1_6y_.js"),f=require("@kuma-ui/core"),e=require("react"),K=require("../focus-trap-react-CcpTuiJi.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../jsx-runtime-BB_1_6y_.js"),f=require("@kuma-ui/core"),e=require("react"),K=require("../focus-trap-react-CcpTuiJi.js"),R=require("./atom.js"),$=e.createContext({isVisible:!1,isPreparingFocus:!1,isFocused:!1}),{Provider:Q}=$;function X(){return e.useContext($)}function Y({as:i,className:s,...o}){return n.jsxRuntimeExports.jsx(R.default,{as:i??R.defaultAtomElementType,...o,className:f.cx("kakadu-components-2845019685",s)})}function Z({as:i,isVisible:s,label:o,shouldCloseOnOutsideClick:d=!0,shouldCloseOnEscapePress:a=!0,children:p,className:u,innerClassName:x,onClose:r,...v}){const I=e.useRef(null),S=e.useRef(null),[q,h]=e.useState(!1),[A,k]=e.useState(!1),[C,H]=e.useState(!1),[c,g]=e.useState(!1),[U,j]=e.useState(!1),M=e.useCallback(t=>{I.current=t,g(!1)},[]),E=e.useRef(null),N=e.useCallback(t=>{t&&(E.current=t)},[]),G=e.useMemo(()=>({initialFocus:()=>E.current??void 0,onPostActivate(){var t;k(!0),h(!1),(t=E.current)==null||t.focus()},clickOutsideDeactivates:d,escapeDeactivates:a,onPostUnpause(){k(!0)},onPause(){k(!1)},onDeactivate(){j(!1),g(!1),k(!1)}}),[d,a]),[L,O]=e.useState(s??!1),J=e.useMemo(()=>({isVisible:L,isPreparingFocus:q,isFocused:A,setInitialFocus:N,close:M}),[L,q,A,N,M]),[l,y]=e.useState("center");return e.useEffect(()=>{const t=S.current;if(t){const P=()=>{const D=t.offsetParent,F=D instanceof HTMLElement?D.getBoundingClientRect():null,V=t.getBoundingClientRect();if(!F){y("center");return}const T=16,_=window.innerWidth-T,b=F.left+F.width/2-V.width/2,z=b+V.width,B=b<T,W=z>_;let m="center";if(B&&W){const w=T-b;m=z-_>w?"right":"left"}else W?m="right":B&&(m="left");y(w=>w===m?w:m)};return P(),window.addEventListener("resize",P),()=>{window.removeEventListener("resize",P)}}},[]),e.useEffect(()=>{s&&(H(!0),O(!0))},[s]),e.useEffect(()=>{if(s){const t=setTimeout(()=>{g(!0)},100);return()=>{clearTimeout(t)}}g(!1)},[s]),e.useEffect(()=>{if(!c){j(!1),h(!1);return}h(!0);const t=window.requestAnimationFrame(()=>{j(!0)});return()=>{window.cancelAnimationFrame(t)}},[c]),e.useEffect(()=>{if(C&&!c){const t=setTimeout(()=>{r==null||r(I.current??void 0),O(!1)},370);return()=>{clearTimeout(t)}}},[C,c,r]),n.jsxRuntimeExports.jsx(R.default,{reference:S,as:i??R.defaultAtomElementType,role:"dialog","aria-hidden":!c,"aria-label":o??"Popover",...v,className:f.cx("kakadu-components-3920007758",l==="left"&&"kakadu-components-611400930",l==="right"&&"kakadu-components-944244368",c&&"kakadu-components-1399012551",u),children:n.jsxRuntimeExports.jsxs("div",{className:f.cx("kakadu-components-1118152266",c&&"kakadu-components-231244945"),children:[n.jsxRuntimeExports.jsx("div",{className:f.cx("kakadu-components-1951789226",l==="left"&&"kakadu-components-1495725644",l==="right"&&"kakadu-components-4235689197")}),n.jsxRuntimeExports.jsx(K.focusTrapReactExports.FocusTrap,{active:U,focusTrapOptions:G,children:n.jsxRuntimeExports.jsxs("div",{className:f.cx("kakadu-components-2488426662",x),children:[n.jsxRuntimeExports.jsx(Q,{value:J,children:p}),n.jsxRuntimeExports.jsx("div",{className:f.cx("kakadu-components-3252390100",l==="left"&&"kakadu-components-3754561431",l==="right"&&"kakadu-components-2265262600")})]})})]})})}function ee(i,s){const[o,d]=e.useState(!1),a=e.useRef(void 0),p=e.useCallback(async()=>(d(!0),new Promise(r=>{a.current=r})),[]),u=e.useCallback(r=>{var v;d(!1),(v=a.current)==null||v.call(a,r),a.current=void 0},[]),x=e.useMemo(()=>n.jsxRuntimeExports.jsx(i,{...s,isVisible:o,onClose:u}),[i,s,o,u]);return e.useMemo(()=>({isVisible:o,show:p,close:u,popover:x}),[o,p,u,x])}exports.PopoverContainer=Y;exports.default=Z;exports.usePopover=ee;exports.usePopoverContext=X;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
+
export declare function getDeterministicSkeletonWidth(a: number, b: number, { minimum, maximum }: {
|
|
3
|
+
readonly minimum: number;
|
|
4
|
+
readonly maximum: number;
|
|
5
|
+
}): number;
|
|
2
6
|
type SkeletonProperties = {
|
|
3
7
|
readonly label?: string;
|
|
4
8
|
readonly width?: string | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../jsx-runtime-BB_1_6y_.js"),l=require("react"),x=require("@kuma-ui/core");function h(u,e,{minimum:t,maximum:o}){const n=u*374761393+e*668265263+2147483647,r=Math.imul(n,1274126177),a=o-t+1;return t+Math.abs(r)%a}function i({label:u,width:e,height:t,className:o,children:n,isAnimated:r=!0,...a}){return s.jsxRuntimeExports.jsx("span",{...a,"aria-label":u,className:x.cx("kakadu-components-4254676273",r&&"kakadu-components-574297718",o),style:{width:e,height:t},children:n??s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:" "})})}const c="kakadu-components-3140855657";function m({label:u,lines:e=1,isAnimated:t=!0}){const o=l.useMemo(()=>{const n=[];if(e<=1)return n;for(let r=1;r<e;r+=1)n.push(s.jsxRuntimeExports.jsx(i,{"aria-hidden":!0,width:"100%",height:"1em",isAnimated:t,className:c},r));return n},[e,t]);return e<1?null:e===1?s.jsxRuntimeExports.jsx(i,{"aria-busy":!0,label:u,width:"100%",height:"1em",isAnimated:t,role:"status",className:c}):s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[o,s.jsxRuntimeExports.jsx(i,{"aria-busy":!0,label:u,width:"60%",height:"1em",isAnimated:t,role:"status",className:c})]})}exports.SkeletonInstance=i;exports.default=m;exports.getDeterministicSkeletonWidth=h;
|
|
@@ -1,40 +1,48 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useMemo as
|
|
1
|
+
import { j as s } from "../jsx-runtime-B4hRZ52C.mjs";
|
|
2
|
+
import { useMemo as h } from "react";
|
|
3
3
|
import { cx as l } from "@kuma-ui/core";
|
|
4
|
-
function
|
|
5
|
-
|
|
4
|
+
function k(a, t, {
|
|
5
|
+
minimum: e,
|
|
6
|
+
maximum: o
|
|
7
|
+
}) {
|
|
8
|
+
const r = a * 374761393 + t * 668265263 + 2147483647, n = Math.imul(r, 1274126177), u = o - e + 1;
|
|
9
|
+
return e + Math.abs(n) % u;
|
|
10
|
+
}
|
|
11
|
+
function c({
|
|
12
|
+
label: a,
|
|
6
13
|
width: t,
|
|
7
|
-
height:
|
|
14
|
+
height: e,
|
|
8
15
|
className: o,
|
|
9
|
-
children:
|
|
10
|
-
isAnimated:
|
|
11
|
-
...
|
|
16
|
+
children: r,
|
|
17
|
+
isAnimated: n = !0,
|
|
18
|
+
...u
|
|
12
19
|
}) {
|
|
13
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ s.jsx("span", { ...u, "aria-label": a, className: l("kakadu-components-4254676273", n && "kakadu-components-574297718", o), style: {
|
|
14
21
|
width: t,
|
|
15
|
-
height:
|
|
16
|
-
}, children:
|
|
22
|
+
height: e
|
|
23
|
+
}, children: r ?? /* @__PURE__ */ s.jsx(s.Fragment, { children: " " }) });
|
|
17
24
|
}
|
|
18
|
-
const
|
|
25
|
+
const i = "kakadu-components-3140855657";
|
|
19
26
|
function p({
|
|
20
|
-
label:
|
|
27
|
+
label: a,
|
|
21
28
|
lines: t = 1,
|
|
22
|
-
isAnimated:
|
|
29
|
+
isAnimated: e = !0
|
|
23
30
|
}) {
|
|
24
|
-
const o =
|
|
25
|
-
const
|
|
31
|
+
const o = h(() => {
|
|
32
|
+
const r = [];
|
|
26
33
|
if (t <= 1)
|
|
27
|
-
return
|
|
28
|
-
for (let
|
|
29
|
-
|
|
30
|
-
return
|
|
31
|
-
}, [t,
|
|
32
|
-
return t < 1 ? null : t === 1 ? /* @__PURE__ */
|
|
34
|
+
return r;
|
|
35
|
+
for (let n = 1; n < t; n += 1)
|
|
36
|
+
r.push(/* @__PURE__ */ s.jsx(c, { "aria-hidden": !0, width: "100%", height: "1em", isAnimated: e, className: i }, n));
|
|
37
|
+
return r;
|
|
38
|
+
}, [t, e]);
|
|
39
|
+
return t < 1 ? null : t === 1 ? /* @__PURE__ */ s.jsx(c, { "aria-busy": !0, label: a, width: "100%", height: "1em", isAnimated: e, role: "status", className: i }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
33
40
|
o,
|
|
34
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ s.jsx(c, { "aria-busy": !0, label: a, width: "60%", height: "1em", isAnimated: e, role: "status", className: i })
|
|
35
42
|
] });
|
|
36
43
|
}
|
|
37
44
|
export {
|
|
38
|
-
|
|
39
|
-
p as default
|
|
45
|
+
c as SkeletonInstance,
|
|
46
|
+
p as default,
|
|
47
|
+
k as getDeterministicSkeletonWidth
|
|
40
48
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../jsx-runtime-BB_1_6y_.js");function x({fill:t,...e}){return s.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...e,children:s.jsxRuntimeExports.jsxs("g",{fill:t??"currentColor",children:[s.jsxRuntimeExports.jsx("path",{d:"m162 312c-30.928 0-56-25.072-56-56s25.072-56 56-56 56 25.072 56 56-25.072 56-56 56z"}),s.jsxRuntimeExports.jsx("path",{d:"m162 134c-30.928 0-56-25.072-56-56 0-30.9279 25.072-56 56-56s56 25.0721 56 56c0 30.928-25.072 56-56 56z"}),s.jsxRuntimeExports.jsx("path",{d:"m162 490c-30.928 0-56-25.072-56-56s25.072-56 56-56 56 25.072 56 56-25.072 56-56 56z"}),s.jsxRuntimeExports.jsx("path",{d:"m350 312c-30.928 0-56-25.072-56-56s25.072-56 56-56 56 25.072 56 56-25.072 56-56 56z"}),s.jsxRuntimeExports.jsx("path",{d:"m350 134c-30.928 0-56-25.072-56-56 0-30.9279 25.072-56 56-56s56 25.0721 56 56c0 30.928-25.072 56-56 56z"}),s.jsxRuntimeExports.jsx("path",{d:"m350 490c-30.928 0-56-25.072-56-56s25.072-56 56-56 56 25.072 56 56-25.072 56-56 56z"})]})})}exports.default=x;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { j as s } from "../jsx-runtime-B4hRZ52C.mjs";
|
|
2
|
+
function c({
|
|
3
|
+
fill: t,
|
|
4
|
+
...r
|
|
5
|
+
}) {
|
|
6
|
+
return /* @__PURE__ */ s.jsx(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
fill: "none",
|
|
10
|
+
height: "512",
|
|
11
|
+
viewBox: "0 0 512 512",
|
|
12
|
+
width: "512",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
...r,
|
|
15
|
+
children: /* @__PURE__ */ s.jsxs("g", { fill: t ?? "currentColor", children: [
|
|
16
|
+
/* @__PURE__ */ s.jsx("path", { d: "m162 312c-30.928 0-56-25.072-56-56s25.072-56 56-56 56 25.072 56 56-25.072 56-56 56z" }),
|
|
17
|
+
/* @__PURE__ */ s.jsx("path", { d: "m162 134c-30.928 0-56-25.072-56-56 0-30.9279 25.072-56 56-56s56 25.0721 56 56c0 30.928-25.072 56-56 56z" }),
|
|
18
|
+
/* @__PURE__ */ s.jsx("path", { d: "m162 490c-30.928 0-56-25.072-56-56s25.072-56 56-56 56 25.072 56 56-25.072 56-56 56z" }),
|
|
19
|
+
/* @__PURE__ */ s.jsx("path", { d: "m350 312c-30.928 0-56-25.072-56-56s25.072-56 56-56 56 25.072 56 56-25.072 56-56 56z" }),
|
|
20
|
+
/* @__PURE__ */ s.jsx("path", { d: "m350 134c-30.928 0-56-25.072-56-56 0-30.9279 25.072-56 56-56s56 25.0721 56 56c0 30.928-25.072 56-56 56z" }),
|
|
21
|
+
/* @__PURE__ */ s.jsx("path", { d: "m350 490c-30.928 0-56-25.072-56-56s25.072-56 56-56 56 25.072 56 56-25.072 56-56 56z" })
|
|
22
|
+
] })
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
c as default
|
|
28
|
+
};
|
package/build/icons/icon.d.ts
CHANGED
package/build/icons/icon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../jsx-runtime-BB_1_6y_.js"),s=require("./kakadu-guide-icon.js"),c=require("./kakadu-guide-glyph.js"),n=require("./dots.js"),i=require("./menu.js"),u=require("./check.js"),d=require("./plus.js"),l=require("./times.js"),h=require("./chevron-up.js"),f=require("./chevron-right.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../jsx-runtime-BB_1_6y_.js"),s=require("./kakadu-guide-icon.js"),c=require("./kakadu-guide-glyph.js"),n=require("./dots.js"),i=require("./menu.js"),u=require("./check.js"),d=require("./plus.js"),l=require("./times.js"),h=require("./chevron-up.js"),f=require("./chevron-right.js"),g=require("./chevron-down.js"),w=require("./chevron-left.js"),_=require("./caret-up.js"),q=require("./caret-right.js"),k=require("./caret-down.js"),m=require("./caret-left.js"),L=require("./arrow-up.js"),U=require("./arrow-right.js"),v=require("./arrow-down.js"),D=require("./arrow-left.js"),R=require("./anchor-up.js"),x=require("./anchor-down.js"),G=require("./trend-up.js"),p=require("./eye.js"),B=require("./edit.js"),S=require("./cog.js"),j=require("./copy.js"),b=require("./document.js"),M=require("./drag.js"),C=require("./select.js"),E=require("./test.js"),O=require("./share.js"),P=require("./external.js"),z=require("./exclamation-triangle.js"),A=require("./sparkle.js"),F=require("./trash.js"),H=require("./chrome-browser-logo.js"),J=require("./edge-browser-logo.js"),K=require("./package.js");var t=(e=>(e.kakaduGuide="kakaduGuide",e.kakaduGuideGlyph="kakaduGuideGlyph",e.dots="dots",e.menu="menu",e.check="check",e.plus="plus",e.times="times",e.chevronUp="chevronUp",e.chevronRight="chevronRight",e.chevronDown="chevronDown",e.chevronLeft="chevronLeft",e.caretUp="caretUp",e.caretRight="caretRight",e.caretDown="caretDown",e.caretLeft="caretLeft",e.arrowUp="arrowUp",e.arrowRight="arrowRight",e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.anchorUp="anchorUp",e.anchorDown="anchorDown",e.trendUp="trendUp",e.eye="eye",e.edit="edit",e.cog="cog",e.copy="copy",e.document="document",e.drag="drag",e.select="select",e.test="test",e.share="share",e.package="package",e.external="external",e.exclamationTriangle="exclamationTriangle",e.sparkle="sparkle",e.trash="trash",e.chromeBrowserLogo="chromeBrowserLogo",e.edgeBrowserLogo="edgeBrowserLogo",e))(t||{});const N={kakaduGuide:s.default,kakaduGuideGlyph:c.default,dots:n.default,menu:i.default,check:u.default,plus:d.default,times:l.default,chevronUp:h.default,chevronRight:f.default,chevronDown:g.default,chevronLeft:w.default,caretUp:_.default,caretRight:q.default,caretDown:k.default,caretLeft:m.default,arrowUp:L.default,arrowRight:U.default,arrowDown:v.default,arrowLeft:D.default,anchorUp:R.default,anchorDown:x.default,trendUp:G.default,eye:p.default,edit:B.default,cog:S.default,copy:j.default,document:b.default,drag:M.default,select:C.default,test:E.default,share:O.default,package:K.default,external:P.default,exclamationTriangle:z.default,sparkle:A.default,trash:F.default,chromeBrowserLogo:H.default,edgeBrowserLogo:J.default},Q="kakadu-components-2395643287";function V({type:e,...o}){const r=N[e];return r?a.jsxRuntimeExports.jsx(r,{...o,"aria-hidden":"true"}):null}exports.IconType=t;exports.default=V;exports.iconShadowStyles=Q;
|
package/build/icons/icon.mjs
CHANGED
|
@@ -10,8 +10,8 @@ import s from "./chevron-up.mjs";
|
|
|
10
10
|
import n from "./chevron-right.mjs";
|
|
11
11
|
import p from "./chevron-down.mjs";
|
|
12
12
|
import S from "./chevron-left.mjs";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import d from "./caret-up.mjs";
|
|
14
|
+
import w from "./caret-right.mjs";
|
|
15
15
|
import c from "./caret-down.mjs";
|
|
16
16
|
import u from "./caret-left.mjs";
|
|
17
17
|
import l from "./arrow-up.mjs";
|
|
@@ -25,19 +25,20 @@ import x from "./eye.mjs";
|
|
|
25
25
|
import G from "./edit.mjs";
|
|
26
26
|
import B from "./cog.mjs";
|
|
27
27
|
import A from "./copy.mjs";
|
|
28
|
-
import E from "./
|
|
29
|
-
import j from "./
|
|
30
|
-
import K from "./
|
|
31
|
-
import P from "./
|
|
32
|
-
import M from "./
|
|
33
|
-
import b from "./
|
|
34
|
-
import q from "./
|
|
35
|
-
import z from "./
|
|
36
|
-
import F from "./
|
|
37
|
-
import H from "./
|
|
38
|
-
import J from "./
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
import E from "./document.mjs";
|
|
29
|
+
import j from "./drag.mjs";
|
|
30
|
+
import K from "./select.mjs";
|
|
31
|
+
import P from "./test.mjs";
|
|
32
|
+
import M from "./share.mjs";
|
|
33
|
+
import b from "./external.mjs";
|
|
34
|
+
import q from "./exclamation-triangle.mjs";
|
|
35
|
+
import z from "./sparkle.mjs";
|
|
36
|
+
import F from "./trash.mjs";
|
|
37
|
+
import H from "./chrome-browser-logo.mjs";
|
|
38
|
+
import J from "./edge-browser-logo.mjs";
|
|
39
|
+
import N from "./package.mjs";
|
|
40
|
+
var O = /* @__PURE__ */ ((r) => (r.kakaduGuide = "kakaduGuide", r.kakaduGuideGlyph = "kakaduGuideGlyph", r.dots = "dots", r.menu = "menu", r.check = "check", r.plus = "plus", r.times = "times", r.chevronUp = "chevronUp", r.chevronRight = "chevronRight", r.chevronDown = "chevronDown", r.chevronLeft = "chevronLeft", r.caretUp = "caretUp", r.caretRight = "caretRight", r.caretDown = "caretDown", r.caretLeft = "caretLeft", r.arrowUp = "arrowUp", r.arrowRight = "arrowRight", r.arrowDown = "arrowDown", r.arrowLeft = "arrowLeft", r.anchorUp = "anchorUp", r.anchorDown = "anchorDown", r.trendUp = "trendUp", r.eye = "eye", r.edit = "edit", r.cog = "cog", r.copy = "copy", r.document = "document", r.drag = "drag", r.select = "select", r.test = "test", r.share = "share", r.package = "package", r.external = "external", r.exclamationTriangle = "exclamationTriangle", r.sparkle = "sparkle", r.trash = "trash", r.chromeBrowserLogo = "chromeBrowserLogo", r.edgeBrowserLogo = "edgeBrowserLogo", r))(O || {});
|
|
41
|
+
const Q = {
|
|
41
42
|
kakaduGuide: m,
|
|
42
43
|
kakaduGuideGlyph: a,
|
|
43
44
|
dots: i,
|
|
@@ -49,8 +50,8 @@ const O = {
|
|
|
49
50
|
chevronRight: n,
|
|
50
51
|
chevronDown: p,
|
|
51
52
|
chevronLeft: S,
|
|
52
|
-
caretUp:
|
|
53
|
-
caretRight:
|
|
53
|
+
caretUp: d,
|
|
54
|
+
caretRight: w,
|
|
54
55
|
caretDown: c,
|
|
55
56
|
caretLeft: u,
|
|
56
57
|
arrowUp: l,
|
|
@@ -64,27 +65,28 @@ const O = {
|
|
|
64
65
|
edit: G,
|
|
65
66
|
cog: B,
|
|
66
67
|
copy: A,
|
|
67
|
-
document:
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
68
|
+
document: E,
|
|
69
|
+
drag: j,
|
|
70
|
+
select: K,
|
|
71
|
+
test: P,
|
|
72
|
+
share: M,
|
|
73
|
+
package: N,
|
|
74
|
+
external: b,
|
|
75
|
+
exclamationTriangle: q,
|
|
76
|
+
sparkle: z,
|
|
77
|
+
trash: F,
|
|
78
|
+
chromeBrowserLogo: H,
|
|
79
|
+
edgeBrowserLogo: J
|
|
80
|
+
}, Ar = "kakadu-components-2395643287";
|
|
81
|
+
function Er({
|
|
80
82
|
type: r,
|
|
81
83
|
...t
|
|
82
84
|
}) {
|
|
83
|
-
const o =
|
|
85
|
+
const o = Q[r];
|
|
84
86
|
return o ? /* @__PURE__ */ e.jsx(o, { ...t, "aria-hidden": "true" }) : null;
|
|
85
87
|
}
|
|
86
88
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
O as IconType,
|
|
90
|
+
Er as default,
|
|
91
|
+
Ar as iconShadowStyles
|
|
90
92
|
};
|
package/build/index.d.ts
CHANGED
|
@@ -148,6 +148,8 @@ export * from './icons/copy';
|
|
|
148
148
|
export { default as CopySvg } from './icons/copy';
|
|
149
149
|
export * from './icons/document';
|
|
150
150
|
export { default as DocumentSvg } from './icons/document';
|
|
151
|
+
export * from './icons/drag';
|
|
152
|
+
export { default as DragSvg } from './icons/drag';
|
|
151
153
|
export * from './icons/select';
|
|
152
154
|
export { default as SelectSvg } from './icons/select';
|
|
153
155
|
export * from './icons/test';
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./theme.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./theme.js"),g=require("./components/aria-text.js"),S=require("./components/atom.js"),b=require("./components/bankid-logo.js"),B=require("./components/box.js"),t=require("./components/button.js"),m=require("./components/button-tooltip.js"),P=require("./components/card.js"),x=require("./components/click-ripples.js"),w=require("./components/collapsible.js"),I=require("./components/copy-icon-button.js"),M=require("./components/datum.js"),D=require("./components/decorators.js"),G=require("./components/dnb-logo.js"),A=require("./components/dot.js"),q=require("./components/flex.js"),_=require("./components/footer.js"),F=require("./components/gauge.js"),R=require("./components/gjensidige-logo.js"),H=require("./components/header.js"),v=require("./components/hover-gradient.js"),h=require("./components/icon-button.js"),i=require("./components/input.js"),E=require("./components/kakadu-guide-icon.js"),c=require("./components/kakadu-guide-logo.js"),K=require("./components/kakadu-index-logo.js"),V=require("./components/kakadu-academy-logo.js"),N=require("./components/kakadu-logo.js"),r=require("./components/modal.js"),U=require("./components/moving-gradients.js"),W=require("./components/moving-stars.js"),l=require("./components/notice.js"),d=require("./components/notification.js"),y=require("./components/popover-menu.js"),a=require("./components/popover.js"),k=require("./components/revealer.js"),u=require("./components/separator.js"),p=require("./components/skeleton.js"),J=require("./components/sparebank1-logo.js"),L=require("./components/spinner.js"),j=require("./components/sto-logo.js"),Q=require("./components/storebrand-logo.js"),e=require("./components/text.js"),T=require("./components/text-button.js"),n=require("./components/theme-setter.js"),O=require("./components/veil.js"),C=require("./components/wrapper.js"),f=require("./icons/icon.js"),z=require("./icons/kakadu-guide-icon.js"),X=require("./icons/kakadu-guide-glyph.js"),Y=require("./icons/dots.js"),Z=require("./icons/menu.js"),$=require("./icons/check.js"),ee=require("./icons/plus.js"),oe=require("./icons/times.js"),te=require("./icons/chevron-up.js"),ne=require("./icons/chevron-right.js"),re=require("./icons/chevron-down.js"),ae=require("./icons/chevron-left.js"),ue=require("./icons/caret-up.js"),se=require("./icons/caret-right.js"),ie=require("./icons/caret-down.js"),ce=require("./icons/caret-left.js"),le=require("./icons/arrow-up.js"),de=require("./icons/arrow-right.js"),pe=require("./icons/arrow-down.js"),fe=require("./icons/arrow-left.js"),ge=require("./icons/anchor-up.js"),Se=require("./icons/anchor-down.js"),me=require("./icons/trend-up.js"),qe=require("./icons/eye.js"),_e=require("./icons/edit.js"),ve=require("./icons/cog.js"),he=require("./icons/copy.js"),ye=require("./icons/document.js"),ke=require("./icons/drag.js"),Le=require("./icons/select.js"),Te=require("./icons/test.js"),Ce=require("./icons/share.js"),be=require("./icons/package.js"),Be=require("./icons/external.js"),Pe=require("./icons/exclamation-triangle.js"),xe=require("./icons/sparkle.js"),we=require("./icons/trash.js"),Ie=require("./icons/chrome-browser-logo.js"),Me=require("./icons/edge-browser-logo.js"),De=require("./hooks/use-media-query.js"),s=require("./hooks/use-fetch.js"),Ge=require("./utilities/copy-to-clipboard.js"),Ae=require("./utilities/generate-random-id.js"),Fe=require("./utilities/scale.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.theme=o.default;exports.AriaText=g.default;exports.ariaTextStyles=g.ariaTextStyles;exports.Atom=S.default;exports.defaultAtomElementType=S.defaultAtomElementType;exports.BankidLogo=b.default;exports.Box=B.default;exports.Button=t.default;exports.ButtonLoader=t.ButtonLoader;exports.ButtonVariant=t.ButtonVariant;exports.buttonDangerStyles=t.buttonDangerStyles;exports.buttonSecondaryStyles=t.buttonSecondaryStyles;exports.buttonSuccessStyles=t.buttonSuccessStyles;exports.buttonWarningStyles=t.buttonWarningStyles;exports.ButtonTooltip=m.default;exports.ButtonTooltipPosition=m.ButtonTooltipPosition;exports.Card=P.default;exports.ClickRipples=x.default;exports.Collapsible=w.default;exports.CopyIconButton=I.default;exports.Datum=M.default;exports.Decorators=D.default;exports.DnbLogo=G.default;exports.Dot=A.default;exports.Flex=q.default;exports.FlexAlignment=q.FlexAlignment;exports.Footer=_.default;exports.FooterLinkItem=_.FooterLinkItem;exports.Gauge=F.default;exports.GjensidigeLogo=R.default;exports.Header=H.default;exports.HoverGradient=v.default;exports.normalBlendStyles=v.normalBlendStyles;exports.IconButton=h.default;exports.IconButtonVariant=h.IconButtonVariant;exports.Input=i.default;exports.Select=i.Select;exports.errorParagraph=i.errorParagraph;exports.KakaduGuideIcon=E.default;exports.KakaduGuideLogo=c.default;exports.KakaduGuideLogoSvg=c.KakaduGuideLogoSvg;exports.KakaduGuideLogoVariant=c.KakaduGuideLogoVariant;exports.KakaduIndexLogo=K.default;exports.KakaduAcademyLogo=V.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=U.default;exports.MovingStars=W.default;exports.Notice=l.default;exports.NoticeType=l.NoticeType;exports.NotificationType=l.NoticeType;exports.Notification=d.default;exports.NotificationProvider=d.NotificationProvider;exports.useCreateNotification=d.useCreateNotification;exports.PopoverMenu=y.default;exports.usePopoverMenu=y.usePopoverMenu;exports.Popover=a.default;exports.PopoverContainer=a.PopoverContainer;exports.usePopover=a.usePopover;exports.usePopoverContext=a.usePopoverContext;exports.Revealer=k.default;exports.useRevealer=k.useRevealer;exports.Separator=u.default;exports.SeparatorLabel=u.SeparatorLabel;exports.SmallSeparator=u.SmallSeparator;exports.VerticalSeparator=u.VerticalSeparator;exports.Skeleton=p.default;exports.SkeletonInstance=p.SkeletonInstance;exports.getDeterministicSkeletonWidth=p.getDeterministicSkeletonWidth;exports.Sparebank1Logo=J.default;exports.RevealSpinner=L.RevealSpinner;exports.Spinner=L.default;exports.StoLogo=j.default;exports.StorebrandLogo=Q.default;exports.AnchorHeading=e.AnchorHeading;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.TextButtonVariant=T.TextButtonVariant;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=O.default;exports.Wrapper=C.default;exports.WrapperWidth=C.WrapperWidth;exports.Icon=f.default;exports.IconType=f.IconType;exports.iconShadowStyles=f.iconShadowStyles;exports.KakaduGuideIconSvg=z.default;exports.KakaduGuideGlyphSvg=X.default;exports.DotsSvg=Y.default;exports.MenuSvg=Z.default;exports.CheckSvg=$.default;exports.PlusSvg=ee.default;exports.TimesSvg=oe.default;exports.ChevronUpSvg=te.default;exports.ChevronRightSvg=ne.default;exports.ChevronDownSvg=re.default;exports.ChevronLeftSvg=ae.default;exports.CaretUpSvg=ue.default;exports.CaretRightSvg=se.default;exports.CaretDownSvg=ie.default;exports.CaretLeftSvg=ce.default;exports.ArrowUpSvg=le.default;exports.ArrowRightSvg=de.default;exports.ArrowDownSvg=pe.default;exports.ArrowLeftSvg=fe.default;exports.AnchorUpSvg=ge.default;exports.AnchorDownSvg=Se.default;exports.TrendUpSvg=me.default;exports.EyeSvg=qe.default;exports.EditSvg=_e.default;exports.CogSvg=ve.default;exports.CopySvg=he.default;exports.DocumentSvg=ye.default;exports.DragSvg=ke.default;exports.SelectSvg=Le.default;exports.TestSvg=Te.default;exports.ShareSvg=Ce.default;exports.PackageSvg=be.default;exports.ExternalSvg=Be.default;exports.ExclamationTriangleSvg=Pe.default;exports.SparkleSvg=xe.default;exports.TrashSvg=we.default;exports.ChromeBrowserLogoSvg=Ie.default;exports.EdgeBrowserLogoSvg=Me.default;exports.useMediaQuery=De.default;exports.useFetch=s.default;exports.useFetcher=s.useFetcher;exports.useJsonFetch=s.useJsonFetch;exports.useJsonFetcher=s.useJsonFetcher;exports.copyToClipboard=Ge.default;exports.generateRandomId=Ae.default;exports.scale=Fe.default;
|
package/build/index.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import { default as n, ariaTextStyles as x } from "./components/aria-text.mjs";
|
|
|
3
3
|
import { default as S, defaultAtomElementType as i } from "./components/atom.mjs";
|
|
4
4
|
import { default as c } from "./components/bankid-logo.mjs";
|
|
5
5
|
import { default as y } from "./components/box.mjs";
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
6
|
+
import { default as k, ButtonLoader as T, ButtonVariant as L, buttonDangerStyles as B, buttonSecondaryStyles as P, buttonSuccessStyles as I, buttonWarningStyles as D } from "./components/button.mjs";
|
|
7
|
+
import { default as w, ButtonTooltipPosition as A } from "./components/button-tooltip.mjs";
|
|
8
8
|
import { default as G } from "./components/card.mjs";
|
|
9
9
|
import { default as K } from "./components/click-ripples.mjs";
|
|
10
10
|
import { default as E } from "./components/collapsible.mjs";
|
|
@@ -23,10 +23,10 @@ import { default as pe, IconButtonVariant as me } from "./components/icon-button
|
|
|
23
23
|
import { default as xe, Select as ge, errorParagraph as Se } from "./components/input.mjs";
|
|
24
24
|
import { default as ve } from "./components/kakadu-guide-icon.mjs";
|
|
25
25
|
import { default as he, KakaduGuideLogoSvg as ye, KakaduGuideLogoVariant as Ce } from "./components/kakadu-guide-logo.mjs";
|
|
26
|
-
import { default as
|
|
26
|
+
import { default as Te } from "./components/kakadu-index-logo.mjs";
|
|
27
27
|
import { default as Be } from "./components/kakadu-academy-logo.mjs";
|
|
28
28
|
import { default as Ie } from "./components/kakadu-logo.mjs";
|
|
29
|
-
import { default as
|
|
29
|
+
import { default as Me, ModalActions as we, ModalContent as Ae, ModalHeading as be, useModal as Ge, useModalContext as Fe } from "./components/modal.mjs";
|
|
30
30
|
import { default as Re } from "./components/moving-gradients.mjs";
|
|
31
31
|
import { default as He } from "./components/moving-stars.mjs";
|
|
32
32
|
import { default as Ve, NoticeType as Ue, NoticeType as We } from "./components/notice.mjs";
|
|
@@ -35,103 +35,105 @@ import { default as Oe, usePopoverMenu as Xe } from "./components/popover-menu.m
|
|
|
35
35
|
import { default as Ze, PopoverContainer as _e, usePopover as $e, usePopoverContext as eo } from "./components/popover.mjs";
|
|
36
36
|
import { default as to, useRevealer as ao } from "./components/revealer.mjs";
|
|
37
37
|
import { default as fo, SeparatorLabel as lo, SmallSeparator as uo, VerticalSeparator as so } from "./components/separator.mjs";
|
|
38
|
-
import { default as mo, SkeletonInstance as no } from "./components/skeleton.mjs";
|
|
39
|
-
import { default as
|
|
40
|
-
import { RevealSpinner as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { AnchorHeading as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
38
|
+
import { default as mo, SkeletonInstance as no, getDeterministicSkeletonWidth as xo } from "./components/skeleton.mjs";
|
|
39
|
+
import { default as So } from "./components/sparebank1-logo.mjs";
|
|
40
|
+
import { RevealSpinner as vo, default as co } from "./components/spinner.mjs";
|
|
41
|
+
import { default as yo } from "./components/sto-logo.mjs";
|
|
42
|
+
import { default as ko } from "./components/storebrand-logo.mjs";
|
|
43
|
+
import { AnchorHeading as Lo, Heading as Bo, Hero as Po, Label as Io, Paragraph as Do, Span as Mo, default as wo, defaultHeadingElementType as Ao, spanStyles as bo, textShadowStyles as Go } from "./components/text.mjs";
|
|
44
|
+
import { default as Ko, TextButtonVariant as Ro } from "./components/text-button.mjs";
|
|
45
|
+
import { default as Ho, getThemePreference as No, setThemePreference as Vo, themePreferences as Uo, useIsDarkMode as Wo, useIsLightMode as Jo, useTheme as jo } from "./components/theme-setter.mjs";
|
|
46
|
+
import { default as qo } from "./components/veil.mjs";
|
|
47
|
+
import { default as Oo, WrapperWidth as Xo } from "./components/wrapper.mjs";
|
|
48
|
+
import { default as Zo, IconType as _o, iconShadowStyles as $o } from "./icons/icon.mjs";
|
|
49
|
+
import { default as ot } from "./icons/kakadu-guide-icon.mjs";
|
|
50
|
+
import { default as at } from "./icons/kakadu-guide-glyph.mjs";
|
|
51
|
+
import { default as ft } from "./icons/dots.mjs";
|
|
52
|
+
import { default as ut } from "./icons/menu.mjs";
|
|
53
|
+
import { default as st } from "./icons/check.mjs";
|
|
54
|
+
import { default as mt } from "./icons/plus.mjs";
|
|
55
|
+
import { default as xt } from "./icons/times.mjs";
|
|
56
|
+
import { default as St } from "./icons/chevron-up.mjs";
|
|
57
|
+
import { default as vt } from "./icons/chevron-right.mjs";
|
|
58
|
+
import { default as ht } from "./icons/chevron-down.mjs";
|
|
59
|
+
import { default as Ct } from "./icons/chevron-left.mjs";
|
|
60
60
|
import { default as Tt } from "./icons/caret-up.mjs";
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
61
|
+
import { default as Bt } from "./icons/caret-right.mjs";
|
|
62
|
+
import { default as It } from "./icons/caret-down.mjs";
|
|
63
63
|
import { default as Mt } from "./icons/caret-left.mjs";
|
|
64
64
|
import { default as At } from "./icons/arrow-up.mjs";
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as Ta
|
|
88
|
-
import { default as Ia } from "./
|
|
89
|
-
import { default as wa } from "./utilities/
|
|
90
|
-
import { default as ba } from "./utilities/
|
|
65
|
+
import { default as Gt } from "./icons/arrow-right.mjs";
|
|
66
|
+
import { default as Kt } from "./icons/arrow-down.mjs";
|
|
67
|
+
import { default as Et } from "./icons/arrow-left.mjs";
|
|
68
|
+
import { default as Nt } from "./icons/anchor-up.mjs";
|
|
69
|
+
import { default as Ut } from "./icons/anchor-down.mjs";
|
|
70
|
+
import { default as Jt } from "./icons/trend-up.mjs";
|
|
71
|
+
import { default as Qt } from "./icons/eye.mjs";
|
|
72
|
+
import { default as zt } from "./icons/edit.mjs";
|
|
73
|
+
import { default as Xt } from "./icons/cog.mjs";
|
|
74
|
+
import { default as Zt } from "./icons/copy.mjs";
|
|
75
|
+
import { default as $t } from "./icons/document.mjs";
|
|
76
|
+
import { default as oa } from "./icons/drag.mjs";
|
|
77
|
+
import { default as aa } from "./icons/select.mjs";
|
|
78
|
+
import { default as fa } from "./icons/test.mjs";
|
|
79
|
+
import { default as ua } from "./icons/share.mjs";
|
|
80
|
+
import { default as sa } from "./icons/package.mjs";
|
|
81
|
+
import { default as ma } from "./icons/external.mjs";
|
|
82
|
+
import { default as xa } from "./icons/exclamation-triangle.mjs";
|
|
83
|
+
import { default as Sa } from "./icons/sparkle.mjs";
|
|
84
|
+
import { default as va } from "./icons/trash.mjs";
|
|
85
|
+
import { default as ha } from "./icons/chrome-browser-logo.mjs";
|
|
86
|
+
import { default as Ca } from "./icons/edge-browser-logo.mjs";
|
|
87
|
+
import { default as Ta } from "./hooks/use-media-query.mjs";
|
|
88
|
+
import { default as Ba, useFetcher as Pa, useJsonFetch as Ia, useJsonFetcher as Da } from "./hooks/use-fetch.mjs";
|
|
89
|
+
import { default as wa } from "./utilities/copy-to-clipboard.mjs";
|
|
90
|
+
import { default as ba } from "./utilities/generate-random-id.mjs";
|
|
91
|
+
import { default as Fa } from "./utilities/scale.mjs";
|
|
91
92
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
Ut as AnchorDownSvg,
|
|
94
|
+
Lo as AnchorHeading,
|
|
95
|
+
Nt as AnchorUpSvg,
|
|
95
96
|
n as AriaText,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
Kt as ArrowDownSvg,
|
|
98
|
+
Et as ArrowLeftSvg,
|
|
99
|
+
Gt as ArrowRightSvg,
|
|
99
100
|
At as ArrowUpSvg,
|
|
100
101
|
S as Atom,
|
|
101
102
|
c as BankidLogo,
|
|
102
103
|
y as Box,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
k as Button,
|
|
105
|
+
T as ButtonLoader,
|
|
106
|
+
w as ButtonTooltip,
|
|
107
|
+
A as ButtonTooltipPosition,
|
|
107
108
|
L as ButtonVariant,
|
|
108
109
|
G as Card,
|
|
109
|
-
|
|
110
|
+
It as CaretDownSvg,
|
|
110
111
|
Mt as CaretLeftSvg,
|
|
111
|
-
|
|
112
|
+
Bt as CaretRightSvg,
|
|
112
113
|
Tt as CaretUpSvg,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
st as CheckSvg,
|
|
115
|
+
ht as ChevronDownSvg,
|
|
116
|
+
Ct as ChevronLeftSvg,
|
|
117
|
+
vt as ChevronRightSvg,
|
|
118
|
+
St as ChevronUpSvg,
|
|
119
|
+
ha as ChromeBrowserLogoSvg,
|
|
119
120
|
K as ClickRipples,
|
|
120
|
-
|
|
121
|
+
Xt as CogSvg,
|
|
121
122
|
E as Collapsible,
|
|
122
123
|
N as CopyIconButton,
|
|
123
|
-
|
|
124
|
+
Zt as CopySvg,
|
|
124
125
|
U as Datum,
|
|
125
126
|
J as Decorators,
|
|
126
127
|
Q as DnbLogo,
|
|
127
|
-
|
|
128
|
+
$t as DocumentSvg,
|
|
128
129
|
z as Dot,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
ft as DotsSvg,
|
|
131
|
+
oa as DragSvg,
|
|
132
|
+
Ca as EdgeBrowserLogoSvg,
|
|
133
|
+
zt as EditSvg,
|
|
134
|
+
xa as ExclamationTriangleSvg,
|
|
135
|
+
ma as ExternalSvg,
|
|
136
|
+
Qt as EyeSvg,
|
|
135
137
|
X as Flex,
|
|
136
138
|
Y as FlexAlignment,
|
|
137
139
|
t as FontFamilyHead,
|
|
@@ -140,29 +142,29 @@ export {
|
|
|
140
142
|
oe as Gauge,
|
|
141
143
|
ae as GjensidigeLogo,
|
|
142
144
|
fe as Header,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
+
Bo as Heading,
|
|
146
|
+
Po as Hero,
|
|
145
147
|
ue as HoverGradient,
|
|
146
|
-
|
|
148
|
+
Zo as Icon,
|
|
147
149
|
pe as IconButton,
|
|
148
150
|
me as IconButtonVariant,
|
|
149
|
-
|
|
151
|
+
_o as IconType,
|
|
150
152
|
xe as Input,
|
|
151
153
|
Be as KakaduAcademyLogo,
|
|
152
|
-
|
|
154
|
+
at as KakaduGuideGlyphSvg,
|
|
153
155
|
ve as KakaduGuideIcon,
|
|
154
|
-
|
|
156
|
+
ot as KakaduGuideIconSvg,
|
|
155
157
|
he as KakaduGuideLogo,
|
|
156
158
|
ye as KakaduGuideLogoSvg,
|
|
157
159
|
Ce as KakaduGuideLogoVariant,
|
|
158
|
-
|
|
160
|
+
Te as KakaduIndexLogo,
|
|
159
161
|
Ie as KakaduLogo,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
Io as Label,
|
|
163
|
+
ut as MenuSvg,
|
|
164
|
+
Me as Modal,
|
|
165
|
+
we as ModalActions,
|
|
166
|
+
Ae as ModalContent,
|
|
167
|
+
be as ModalHeading,
|
|
166
168
|
Re as MovingGradients,
|
|
167
169
|
He as MovingStars,
|
|
168
170
|
Ve as Notice,
|
|
@@ -170,79 +172,80 @@ export {
|
|
|
170
172
|
je as Notification,
|
|
171
173
|
Qe as NotificationProvider,
|
|
172
174
|
We as NotificationType,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
175
|
+
sa as PackageSvg,
|
|
176
|
+
Do as Paragraph,
|
|
177
|
+
mt as PlusSvg,
|
|
176
178
|
Ze as Popover,
|
|
177
179
|
_e as PopoverContainer,
|
|
178
180
|
Oe as PopoverMenu,
|
|
179
|
-
|
|
181
|
+
vo as RevealSpinner,
|
|
180
182
|
to as Revealer,
|
|
181
183
|
ge as Select,
|
|
182
|
-
|
|
184
|
+
aa as SelectSvg,
|
|
183
185
|
fo as Separator,
|
|
184
186
|
lo as SeparatorLabel,
|
|
185
|
-
|
|
187
|
+
ua as ShareSvg,
|
|
186
188
|
mo as Skeleton,
|
|
187
189
|
no as SkeletonInstance,
|
|
188
190
|
uo as SmallSeparator,
|
|
189
191
|
Mo as Span,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
192
|
+
So as Sparebank1Logo,
|
|
193
|
+
Sa as SparkleSvg,
|
|
194
|
+
co as Spinner,
|
|
195
|
+
yo as StoLogo,
|
|
196
|
+
ko as StorebrandLogo,
|
|
197
|
+
fa as TestSvg,
|
|
196
198
|
wo as Text,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
199
|
+
Ko as TextButton,
|
|
200
|
+
Ro as TextButtonVariant,
|
|
201
|
+
Ho as ThemeSetter,
|
|
202
|
+
xt as TimesSvg,
|
|
203
|
+
va as TrashSvg,
|
|
204
|
+
Jt as TrendUpSvg,
|
|
205
|
+
qo as Veil,
|
|
204
206
|
so as VerticalSeparator,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
+
Oo as Wrapper,
|
|
208
|
+
Xo as WrapperWidth,
|
|
207
209
|
x as ariaTextStyles,
|
|
208
210
|
B as buttonDangerStyles,
|
|
209
211
|
a as buttonResetStyles,
|
|
210
212
|
P as buttonSecondaryStyles,
|
|
211
213
|
I as buttonSuccessStyles,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
+
D as buttonWarningStyles,
|
|
215
|
+
wa as copyToClipboard,
|
|
214
216
|
r as darkBackgroundColor,
|
|
215
217
|
i as defaultAtomElementType,
|
|
216
218
|
Ao as defaultHeadingElementType,
|
|
217
219
|
f as effectStyles,
|
|
218
220
|
Se as errorParagraph,
|
|
219
221
|
l as font,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
222
|
+
ba as generateRandomId,
|
|
223
|
+
xo as getDeterministicSkeletonWidth,
|
|
224
|
+
No as getThemePreference,
|
|
225
|
+
$o as iconShadowStyles,
|
|
223
226
|
u as lightBackgroundColor,
|
|
224
227
|
d as nonInteractiveEffectStyles,
|
|
225
228
|
de as normalBlendStyles,
|
|
226
229
|
s as overflowProtectionStyles,
|
|
227
|
-
|
|
228
|
-
|
|
230
|
+
Fa as scale,
|
|
231
|
+
Vo as setThemePreference,
|
|
229
232
|
bo as spanStyles,
|
|
230
|
-
|
|
233
|
+
Go as textShadowStyles,
|
|
231
234
|
p as theme,
|
|
232
|
-
|
|
235
|
+
Uo as themePreferences,
|
|
233
236
|
qe as useCreateNotification,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
Ba as useFetch,
|
|
238
|
+
Pa as useFetcher,
|
|
239
|
+
Wo as useIsDarkMode,
|
|
240
|
+
Jo as useIsLightMode,
|
|
241
|
+
Ia as useJsonFetch,
|
|
242
|
+
Da as useJsonFetcher,
|
|
243
|
+
Ta as useMediaQuery,
|
|
241
244
|
Ge as useModal,
|
|
242
245
|
Fe as useModalContext,
|
|
243
246
|
$e as usePopover,
|
|
244
247
|
eo as usePopoverContext,
|
|
245
248
|
Xe as usePopoverMenu,
|
|
246
249
|
ao as useRevealer,
|
|
247
|
-
|
|
250
|
+
jo as useTheme
|
|
248
251
|
};
|