@kakadu/components 4.3.5 → 4.4.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/button.js +1 -1
- package/build/components/button.mjs +44 -44
- package/build/components/kakadu-guide-icon.js +1 -1
- package/build/components/kakadu-guide-icon.mjs +8 -8
- package/build/components/notice.js +1 -1
- package/build/components/notice.mjs +14 -13
- package/build/components/select.js +1 -1
- package/build/components/select.mjs +1 -1
- package/build/components/text.js +1 -1
- package/build/components/text.mjs +1 -1
- package/build/components.css +1 -1
- package/build/hooks/use-fetch.js +1 -1
- package/build/hooks/use-fetch.mjs +82 -91
- package/build/hooks/use-is-document-focused.d.ts +1 -0
- package/build/hooks/use-is-document-focused.js +1 -0
- package/build/hooks/use-is-document-focused.mjs +24 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +1 -1
- package/build/index.mjs +249 -246
- package/build/theme.d.ts +1 -0
- package/build/theme.js +1 -1
- package/build/theme.mjs +3 -2
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { useState as i, useEffect as s } from "react";
|
|
2
|
+
function c(n = !0) {
|
|
3
|
+
const [u, o] = i(void 0);
|
|
4
|
+
return s(() => {
|
|
5
|
+
if (!n)
|
|
6
|
+
return;
|
|
7
|
+
let t;
|
|
8
|
+
const e = () => {
|
|
9
|
+
if (clearTimeout(t), document.hidden) {
|
|
10
|
+
o(!1);
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
t = setTimeout(() => {
|
|
14
|
+
o(!0);
|
|
15
|
+
}, 0);
|
|
16
|
+
};
|
|
17
|
+
return document.addEventListener("visibilitychange", e), window.addEventListener("focus", e), () => {
|
|
18
|
+
document.removeEventListener("visibilitychange", e), window.removeEventListener("focus", e), clearTimeout(t);
|
|
19
|
+
};
|
|
20
|
+
}, [n]), u;
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
c as default
|
|
24
|
+
};
|
package/build/index.d.ts
CHANGED
|
@@ -178,6 +178,8 @@ export * from './icons/edge-browser-logo';
|
|
|
178
178
|
export { default as EdgeBrowserLogoSvg } from './icons/edge-browser-logo';
|
|
179
179
|
export * from './hooks/use-fetch';
|
|
180
180
|
export { default as useFetch } from './hooks/use-fetch';
|
|
181
|
+
export * from './hooks/use-is-document-focused';
|
|
182
|
+
export { default as useIsDocumentFocused } from './hooks/use-is-document-focused';
|
|
181
183
|
export * from './hooks/use-media-query';
|
|
182
184
|
export { default as useMediaQuery } from './hooks/use-media-query';
|
|
183
185
|
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"),m=require("./components/aria-text.js"),q=require("./components/atom.js"),x=require("./components/bankid-logo.js"),P=require("./components/box.js"),t=require("./components/button.js"),_=require("./components/button-tooltip.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./theme.js"),m=require("./components/aria-text.js"),q=require("./components/atom.js"),x=require("./components/bankid-logo.js"),P=require("./components/box.js"),t=require("./components/button.js"),_=require("./components/button-tooltip.js"),I=require("./components/card.js"),w=require("./components/click-ripples.js"),M=require("./components/collapsible.js"),v=require("./components/combobox.js"),B=require("./components/copy-icon-button.js"),D=require("./components/datum.js"),G=require("./components/decorators.js"),F=require("./components/dnb-logo.js"),R=require("./components/dot.js"),c=require("./components/flex.js"),h=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"),V=require("./components/kakadu-guide-icon.js"),l=require("./components/kakadu-guide-logo.js"),U=require("./components/kakadu-index-logo.js"),K=require("./components/kakadu-academy-logo.js"),W=require("./components/kakadu-logo.js"),r=require("./components/modal.js"),N=require("./components/moving-gradients.js"),J=require("./components/moving-stars.js"),d=require("./components/notice.js"),f=require("./components/notification.js"),p=require("./components/popover-menu.js"),a=require("./components/popover.js"),L=require("./components/revealer.js"),j=require("./components/select.js"),u=require("./components/separator.js"),g=require("./components/skeleton.js"),O=require("./components/sparebank1-logo.js"),b=require("./components/spinner.js"),z=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"),X=require("./components/veil.js"),C=require("./components/wrapper.js"),S=require("./icons/icon.js"),Y=require("./icons/anchor-down.js"),Z=require("./icons/anchor-up.js"),$=require("./icons/arrow-down.js"),ee=require("./icons/arrow-left.js"),oe=require("./icons/arrow-right.js"),te=require("./icons/arrow-up.js"),ne=require("./icons/caret-down.js"),re=require("./icons/caret-left.js"),se=require("./icons/caret-right.js"),ae=require("./icons/caret-up.js"),ue=require("./icons/check.js"),ie=require("./icons/chevron-down.js"),ce=require("./icons/chevron-left.js"),le=require("./icons/chevron-right.js"),de=require("./icons/chevron-up.js"),fe=require("./icons/cog.js"),pe=require("./icons/copy.js"),ge=require("./icons/document.js"),Se=require("./icons/dots.js"),me=require("./icons/drag.js"),qe=require("./icons/edit.js"),_e=require("./icons/external.js"),ve=require("./icons/exclamation-triangle.js"),he=require("./icons/eye.js"),ye=require("./icons/information.js"),ke=require("./icons/kakadu-guide-glyph.js"),Le=require("./icons/kakadu-guide-icon.js"),be=require("./icons/menu.js"),Te=require("./icons/package.js"),Ce=require("./icons/plus.js"),xe=require("./icons/select.js"),Pe=require("./icons/share.js"),Ie=require("./icons/sparkle.js"),we=require("./icons/test.js"),Me=require("./icons/times.js"),Be=require("./icons/trash.js"),De=require("./icons/trend-up.js"),Ge=require("./icons/chrome-browser-logo.js"),Fe=require("./icons/edge-browser-logo.js"),i=require("./hooks/use-fetch.js"),Re=require("./hooks/use-is-document-focused.js"),Ae=require("./hooks/use-media-query.js"),He=require("./hooks/use-synchronized-value.js"),Ee=require("./hooks/use-throttled.js"),Ve=require("./utilities/clamp.js"),Ue=require("./utilities/copy-to-clipboard.js"),Ke=require("./utilities/generate-random-id.js"),We=require("./utilities/scale.js"),Ne=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=m.default;exports.ariaTextStyles=m.ariaTextStyles;exports.Atom=q.default;exports.defaultAtomElementType=q.defaultAtomElementType;exports.BankidLogo=x.default;exports.Box=P.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=_.default;exports.buttonTooltipPositions=_.buttonTooltipPositions;exports.Card=I.default;exports.ClickRipples=w.default;exports.Collapsible=M.default;exports.Combobox=v.default;exports.getComboboxOptionString=v.getComboboxOptionString;exports.CopyIconButton=B.default;exports.Datum=D.default;exports.Decorators=G.default;exports.DnbLogo=F.default;exports.Dot=R.default;exports.Flex=c.default;exports.flexDirections=c.flexDirections;exports.flexPresets=c.flexPresets;exports.Footer=h.default;exports.footerLinkItems=h.footerLinkItems;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=V.default;exports.KakaduGuideLogo=l.default;exports.KakaduGuideLogoSvg=l.KakaduGuideLogoSvg;exports.kakaduGuideLogoVariants=l.kakaduGuideLogoVariants;exports.KakaduIndexLogo=U.default;exports.KakaduAcademyLogo=K.default;exports.KakaduLogo=W.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=N.default;exports.MovingStars=J.default;exports.Notice=d.default;exports.noticeTypes=d.noticeTypes;exports.notificationTypes=d.noticeTypes;exports.Notification=f.default;exports.NotificationProvider=f.NotificationProvider;exports.useCreateNotification=f.useCreateNotification;exports.PopoverMenu=p.default;exports.dangerPopoverMenuItemStyles=p.dangerPopoverMenuItemStyles;exports.usePopoverMenu=p.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=j.default;exports.Separator=u.default;exports.SeparatorLabel=u.SeparatorLabel;exports.SmallSeparator=u.SmallSeparator;exports.VerticalSeparator=u.VerticalSeparator;exports.Skeleton=g.default;exports.SkeletonInstance=g.SkeletonInstance;exports.getDeterministicSkeletonWidth=g.getDeterministicSkeletonWidth;exports.Sparebank1Logo=O.default;exports.RevealSpinner=b.RevealSpinner;exports.Spinner=b.default;exports.StoLogo=z.default;exports.StorebrandLogo=Q.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=X.default;exports.Wrapper=C.default;exports.wrapperWidths=C.wrapperWidths;exports.Icon=S.default;exports.iconShadowStyles=S.iconShadowStyles;exports.iconTypes=S.iconTypes;exports.AnchorDownSvg=Y.default;exports.AnchorUpSvg=Z.default;exports.ArrowDownSvg=$.default;exports.ArrowLeftSvg=ee.default;exports.ArrowRightSvg=oe.default;exports.ArrowUpSvg=te.default;exports.CaretDownSvg=ne.default;exports.CaretLeftSvg=re.default;exports.CaretRightSvg=se.default;exports.CaretUpSvg=ae.default;exports.CheckSvg=ue.default;exports.ChevronDownSvg=ie.default;exports.ChevronLeftSvg=ce.default;exports.ChevronRightSvg=le.default;exports.ChevronUpSvg=de.default;exports.CogSvg=fe.default;exports.CopySvg=pe.default;exports.DocumentSvg=ge.default;exports.DotsSvg=Se.default;exports.DragSvg=me.default;exports.EditSvg=qe.default;exports.ExternalSvg=_e.default;exports.ExclamationTriangleSvg=ve.default;exports.EyeSvg=he.default;exports.InformationSvg=ye.default;exports.KakaduGuideGlyphSvg=ke.default;exports.KakaduGuideIconSvg=Le.default;exports.MenuSvg=be.default;exports.PackageSvg=Te.default;exports.PlusSvg=Ce.default;exports.SelectSvg=xe.default;exports.ShareSvg=Pe.default;exports.SparkleSvg=Ie.default;exports.TestSvg=we.default;exports.TimesSvg=Me.default;exports.TrashSvg=Be.default;exports.TrendUpSvg=De.default;exports.ChromeBrowserLogoSvg=Ge.default;exports.EdgeBrowserLogoSvg=Fe.default;exports.useFetch=i.default;exports.useFetcher=i.useFetcher;exports.useJsonFetch=i.useJsonFetch;exports.useJsonFetcher=i.useJsonFetcher;exports.useIsDocumentFocused=Re.default;exports.useMediaQuery=Ae.default;exports.useSynchronizedValue=He.default;exports.useThrottled=Ee.default;exports.clamp=Ve.default;exports.copyToClipboard=Ue.default;exports.generateRandomId=Ke.default;exports.scale=We.default;exports.search=Ne.default;
|
package/build/index.mjs
CHANGED
|
@@ -1,270 +1,273 @@
|
|
|
1
|
-
import { FontFamilyHead as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as s, lightBackgroundColor as l, nonInteractiveEffectStyles as u, overflowProtectionStyles as d,
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
1
|
+
import { FontFamilyHead as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as s, lightBackgroundColor as l, nonInteractiveEffectStyles as u, overflowProtectionStyles as d, overlayEffectStyles as p, default as m } from "./theme.mjs";
|
|
2
|
+
import { default as x, ariaTextStyles as g } from "./components/aria-text.mjs";
|
|
3
|
+
import { default as S, defaultAtomElementType as v } from "./components/atom.mjs";
|
|
4
|
+
import { default as h } from "./components/bankid-logo.mjs";
|
|
5
|
+
import { default as C } from "./components/box.mjs";
|
|
6
|
+
import { default as L, ButtonLoader as T, buttonDangerStyles as b, buttonSecondaryStyles as P, buttonSuccessStyles as I, buttonVariants as D, buttonWarningStyles as B } from "./components/button.mjs";
|
|
7
|
+
import { default as w, buttonTooltipPositions as A } from "./components/button-tooltip.mjs";
|
|
8
|
+
import { default as F } from "./components/card.mjs";
|
|
9
9
|
import { default as R } from "./components/click-ripples.mjs";
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
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 { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
10
|
+
import { default as K } from "./components/collapsible.mjs";
|
|
11
|
+
import { default as U, getComboboxOptionString as N } from "./components/combobox.mjs";
|
|
12
|
+
import { default as J } from "./components/copy-icon-button.mjs";
|
|
13
|
+
import { default as z } from "./components/datum.mjs";
|
|
14
|
+
import { default as Q } from "./components/decorators.mjs";
|
|
15
|
+
import { default as X } from "./components/dnb-logo.mjs";
|
|
16
|
+
import { default as Z } from "./components/dot.mjs";
|
|
17
|
+
import { default as $, flexDirections as ee, flexPresets as oe } from "./components/flex.mjs";
|
|
18
|
+
import { default as ae, footerLinkItems as re } from "./components/footer.mjs";
|
|
19
|
+
import { default as se } from "./components/gauge.mjs";
|
|
20
|
+
import { default as ue } from "./components/gjensidige-logo.mjs";
|
|
21
|
+
import { default as pe } from "./components/header.mjs";
|
|
22
|
+
import { default as ne, normalBlendStyles as xe } from "./components/hover-gradient.mjs";
|
|
23
|
+
import { default as ie, iconButtonVariants as Se } from "./components/icon-button.mjs";
|
|
24
|
+
import { default as ce, InputLabel as he, errorParagraph as ye, inputStyles as Ce } from "./components/input.mjs";
|
|
25
|
+
import { default as Le } from "./components/kakadu-guide-icon.mjs";
|
|
26
|
+
import { default as be, KakaduGuideLogoSvg as Pe, kakaduGuideLogoVariants as Ie } from "./components/kakadu-guide-logo.mjs";
|
|
27
27
|
import { default as Be } from "./components/kakadu-index-logo.mjs";
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { RevealSpinner as
|
|
28
|
+
import { default as we } from "./components/kakadu-academy-logo.mjs";
|
|
29
|
+
import { default as Ge } from "./components/kakadu-logo.mjs";
|
|
30
|
+
import { default as Ee, ModalActions as Re, ModalContent as He, ModalHeading as Ke, useModal as Ve, useModalContext as Ue } from "./components/modal.mjs";
|
|
31
|
+
import { default as We } from "./components/moving-gradients.mjs";
|
|
32
|
+
import { default as je } from "./components/moving-stars.mjs";
|
|
33
|
+
import { default as Oe, noticeTypes as Qe, noticeTypes as qe } from "./components/notice.mjs";
|
|
34
|
+
import { default as Ye, NotificationProvider as Ze, useCreateNotification as _e } from "./components/notification.mjs";
|
|
35
|
+
import { default as eo, dangerPopoverMenuItemStyles as oo, usePopoverMenu as to } from "./components/popover-menu.mjs";
|
|
36
|
+
import { default as ro, PopoverContainer as fo, usePopover as so, usePopoverContext as lo } from "./components/popover.mjs";
|
|
37
|
+
import { default as po, useRevealer as mo } from "./components/revealer.mjs";
|
|
38
|
+
import { default as xo } from "./components/select.mjs";
|
|
39
|
+
import { default as io, SeparatorLabel as So, SmallSeparator as vo, VerticalSeparator as co } from "./components/separator.mjs";
|
|
40
|
+
import { default as yo, SkeletonInstance as Co, getDeterministicSkeletonWidth as ko } from "./components/skeleton.mjs";
|
|
41
|
+
import { default as To } from "./components/sparebank1-logo.mjs";
|
|
42
|
+
import { RevealSpinner as Po, default as Io } from "./components/spinner.mjs";
|
|
43
43
|
import { default as Bo } from "./components/sto-logo.mjs";
|
|
44
|
-
import { default as
|
|
45
|
-
import { AnchorHeading 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
|
|
44
|
+
import { default as wo } from "./components/storebrand-logo.mjs";
|
|
45
|
+
import { AnchorHeading as Go, Footnote as Fo, Heading as Eo, Hero as Ro, Label as Ho, Paragraph as Ko, Span as Vo, default as Uo, defaultHeadingElementType as No, spanStyles as Wo, textShadowStyles as Jo } from "./components/text.mjs";
|
|
46
|
+
import { default as zo, textButtonVariants as Oo } from "./components/text-button.mjs";
|
|
47
|
+
import { default as qo, getThemePreference as Xo, setThemePreference as Yo, themePreferences as Zo, useIsDarkMode as _o, useIsLightMode as $o, useTheme as et } from "./components/theme-setter.mjs";
|
|
48
|
+
import { default as tt } from "./components/veil.mjs";
|
|
49
|
+
import { default as rt, wrapperWidths as ft } from "./components/wrapper.mjs";
|
|
50
|
+
import { default as lt, iconShadowStyles as ut, iconTypes as dt } from "./icons/icon.mjs";
|
|
51
|
+
import { default as mt } from "./icons/anchor-down.mjs";
|
|
52
|
+
import { default as xt } from "./icons/anchor-up.mjs";
|
|
53
|
+
import { default as it } from "./icons/arrow-down.mjs";
|
|
54
|
+
import { default as vt } from "./icons/arrow-left.mjs";
|
|
55
|
+
import { default as ht } from "./icons/arrow-right.mjs";
|
|
56
|
+
import { default as Ct } from "./icons/arrow-up.mjs";
|
|
57
|
+
import { default as Lt } from "./icons/caret-down.mjs";
|
|
58
|
+
import { default as bt } from "./icons/caret-left.mjs";
|
|
59
|
+
import { default as It } from "./icons/caret-right.mjs";
|
|
60
60
|
import { default as Bt } from "./icons/caret-up.mjs";
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
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
|
|
61
|
+
import { default as wt } from "./icons/check.mjs";
|
|
62
|
+
import { default as Gt } from "./icons/chevron-down.mjs";
|
|
63
|
+
import { default as Et } from "./icons/chevron-left.mjs";
|
|
64
|
+
import { default as Ht } from "./icons/chevron-right.mjs";
|
|
65
|
+
import { default as Vt } from "./icons/chevron-up.mjs";
|
|
66
|
+
import { default as Nt } from "./icons/cog.mjs";
|
|
67
|
+
import { default as Jt } from "./icons/copy.mjs";
|
|
68
|
+
import { default as zt } from "./icons/document.mjs";
|
|
69
|
+
import { default as Qt } from "./icons/dots.mjs";
|
|
70
|
+
import { default as Xt } from "./icons/drag.mjs";
|
|
71
|
+
import { default as Zt } from "./icons/edit.mjs";
|
|
72
|
+
import { default as $t } from "./icons/external.mjs";
|
|
73
|
+
import { default as oa } from "./icons/exclamation-triangle.mjs";
|
|
74
|
+
import { default as aa } from "./icons/eye.mjs";
|
|
75
|
+
import { default as fa } from "./icons/information.mjs";
|
|
76
|
+
import { default as la } from "./icons/kakadu-guide-glyph.mjs";
|
|
77
|
+
import { default as da } from "./icons/kakadu-guide-icon.mjs";
|
|
78
|
+
import { default as ma } from "./icons/menu.mjs";
|
|
79
|
+
import { default as xa } from "./icons/package.mjs";
|
|
80
|
+
import { default as ia } from "./icons/plus.mjs";
|
|
81
|
+
import { default as va } from "./icons/select.mjs";
|
|
82
|
+
import { default as ha } from "./icons/share.mjs";
|
|
83
|
+
import { default as Ca } from "./icons/sparkle.mjs";
|
|
84
|
+
import { default as La } from "./icons/test.mjs";
|
|
85
|
+
import { default as ba } from "./icons/times.mjs";
|
|
86
|
+
import { default as Ia } from "./icons/trash.mjs";
|
|
87
87
|
import { default as Ba } from "./icons/trend-up.mjs";
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
88
|
+
import { default as wa } from "./icons/chrome-browser-logo.mjs";
|
|
89
|
+
import { default as Ga } from "./icons/edge-browser-logo.mjs";
|
|
90
|
+
import { default as Ea, useFetcher as Ra, useJsonFetch as Ha, useJsonFetcher as Ka } from "./hooks/use-fetch.mjs";
|
|
91
|
+
import { default as Ua } from "./hooks/use-is-document-focused.mjs";
|
|
92
|
+
import { default as Wa } from "./hooks/use-media-query.mjs";
|
|
93
|
+
import { default as ja } from "./hooks/use-synchronized-value.mjs";
|
|
94
|
+
import { default as Oa } from "./hooks/use-throttled.mjs";
|
|
95
|
+
import { default as qa } from "./utilities/clamp.mjs";
|
|
96
|
+
import { default as Ya } from "./utilities/copy-to-clipboard.mjs";
|
|
97
|
+
import { default as _a } from "./utilities/generate-random-id.mjs";
|
|
98
|
+
import { default as er } from "./utilities/scale.mjs";
|
|
99
|
+
import { default as tr } from "./utilities/search.mjs";
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
101
|
+
mt as AnchorDownSvg,
|
|
102
|
+
Go as AnchorHeading,
|
|
103
|
+
xt as AnchorUpSvg,
|
|
104
|
+
x as AriaText,
|
|
105
|
+
it as ArrowDownSvg,
|
|
106
|
+
vt as ArrowLeftSvg,
|
|
107
|
+
ht as ArrowRightSvg,
|
|
108
|
+
Ct as ArrowUpSvg,
|
|
109
|
+
S as Atom,
|
|
110
|
+
h as BankidLogo,
|
|
111
|
+
C as Box,
|
|
112
|
+
L as Button,
|
|
113
|
+
T as ButtonLoader,
|
|
114
|
+
w as ButtonTooltip,
|
|
115
|
+
F as Card,
|
|
116
|
+
Lt as CaretDownSvg,
|
|
117
|
+
bt as CaretLeftSvg,
|
|
118
|
+
It as CaretRightSvg,
|
|
118
119
|
Bt as CaretUpSvg,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
wt as CheckSvg,
|
|
121
|
+
Gt as ChevronDownSvg,
|
|
122
|
+
Et as ChevronLeftSvg,
|
|
123
|
+
Ht as ChevronRightSvg,
|
|
124
|
+
Vt as ChevronUpSvg,
|
|
125
|
+
wa as ChromeBrowserLogoSvg,
|
|
125
126
|
R as ClickRipples,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
127
|
+
Nt as CogSvg,
|
|
128
|
+
K as Collapsible,
|
|
129
|
+
U as Combobox,
|
|
130
|
+
J as CopyIconButton,
|
|
131
|
+
Jt as CopySvg,
|
|
132
|
+
z as Datum,
|
|
133
|
+
Q as Decorators,
|
|
134
|
+
X as DnbLogo,
|
|
135
|
+
zt as DocumentSvg,
|
|
136
|
+
Z as Dot,
|
|
137
|
+
Qt as DotsSvg,
|
|
138
|
+
Xt as DragSvg,
|
|
139
|
+
Ga as EdgeBrowserLogoSvg,
|
|
140
|
+
Zt as EditSvg,
|
|
141
|
+
oa as ExclamationTriangleSvg,
|
|
142
|
+
$t as ExternalSvg,
|
|
143
|
+
aa as EyeSvg,
|
|
144
|
+
$ as Flex,
|
|
144
145
|
t as FontFamilyHead,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
146
|
+
ae as Footer,
|
|
147
|
+
Fo as Footnote,
|
|
148
|
+
se as Gauge,
|
|
149
|
+
ue as GjensidigeLogo,
|
|
150
|
+
pe as Header,
|
|
151
|
+
Eo as Heading,
|
|
151
152
|
Ro as Hero,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
153
|
+
ne as HoverGradient,
|
|
154
|
+
lt as Icon,
|
|
155
|
+
ie as IconButton,
|
|
156
|
+
fa as InformationSvg,
|
|
157
|
+
ce as Input,
|
|
158
|
+
he as InputLabel,
|
|
159
|
+
we as KakaduAcademyLogo,
|
|
160
|
+
la as KakaduGuideGlyphSvg,
|
|
161
|
+
Le as KakaduGuideIcon,
|
|
162
|
+
da as KakaduGuideIconSvg,
|
|
163
|
+
be as KakaduGuideLogo,
|
|
164
|
+
Pe as KakaduGuideLogoSvg,
|
|
164
165
|
Be as KakaduIndexLogo,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
Ge as KakaduLogo,
|
|
167
|
+
Ho as Label,
|
|
168
|
+
ma as MenuSvg,
|
|
169
|
+
Ee as Modal,
|
|
169
170
|
Re as ModalActions,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
171
|
+
He as ModalContent,
|
|
172
|
+
Ke as ModalHeading,
|
|
173
|
+
We as MovingGradients,
|
|
174
|
+
je as MovingStars,
|
|
175
|
+
Oe as Notice,
|
|
176
|
+
Ye as Notification,
|
|
177
|
+
Ze as NotificationProvider,
|
|
178
|
+
xa as PackageSvg,
|
|
179
|
+
Ko as Paragraph,
|
|
180
|
+
ia as PlusSvg,
|
|
181
|
+
ro as Popover,
|
|
182
|
+
fo as PopoverContainer,
|
|
183
|
+
eo as PopoverMenu,
|
|
184
|
+
Po as RevealSpinner,
|
|
185
|
+
po as Revealer,
|
|
186
|
+
xo as Select,
|
|
187
|
+
va as SelectSvg,
|
|
188
|
+
io as Separator,
|
|
189
|
+
So as SeparatorLabel,
|
|
190
|
+
ha as ShareSvg,
|
|
191
|
+
yo as Skeleton,
|
|
192
|
+
Co as SkeletonInstance,
|
|
193
|
+
vo as SmallSeparator,
|
|
194
|
+
Vo as Span,
|
|
195
|
+
To as Sparebank1Logo,
|
|
196
|
+
Ca as SparkleSvg,
|
|
197
|
+
Io as Spinner,
|
|
197
198
|
Bo as StoLogo,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
wo as StorebrandLogo,
|
|
200
|
+
La as TestSvg,
|
|
201
|
+
Uo as Text,
|
|
202
|
+
zo as TextButton,
|
|
203
|
+
qo as ThemeSetter,
|
|
204
|
+
ba as TimesSvg,
|
|
205
|
+
Ia as TrashSvg,
|
|
205
206
|
Ba as TrendUpSvg,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
207
|
+
tt as Veil,
|
|
208
|
+
co as VerticalSeparator,
|
|
209
|
+
rt as Wrapper,
|
|
210
|
+
g as ariaTextStyles,
|
|
211
|
+
b as buttonDangerStyles,
|
|
211
212
|
a as buttonResetStyles,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
P as buttonSecondaryStyles,
|
|
214
|
+
I as buttonSuccessStyles,
|
|
215
|
+
A as buttonTooltipPositions,
|
|
216
|
+
D as buttonVariants,
|
|
216
217
|
B as buttonWarningStyles,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
qa as clamp,
|
|
219
|
+
Ya as copyToClipboard,
|
|
220
|
+
oo as dangerPopoverMenuItemStyles,
|
|
220
221
|
r as darkBackgroundColor,
|
|
221
|
-
|
|
222
|
-
|
|
222
|
+
v as defaultAtomElementType,
|
|
223
|
+
No as defaultHeadingElementType,
|
|
223
224
|
f as effectStyles,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
ye as errorParagraph,
|
|
226
|
+
ee as flexDirections,
|
|
227
|
+
oe as flexPresets,
|
|
227
228
|
s as font,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
229
|
+
re as footerLinkItems,
|
|
230
|
+
_a as generateRandomId,
|
|
231
|
+
N as getComboboxOptionString,
|
|
232
|
+
ko as getDeterministicSkeletonWidth,
|
|
233
|
+
Xo as getThemePreference,
|
|
234
|
+
Se as iconButtonVariants,
|
|
235
|
+
ut as iconShadowStyles,
|
|
236
|
+
dt as iconTypes,
|
|
237
|
+
Ce as inputStyles,
|
|
238
|
+
Ie as kakaduGuideLogoVariants,
|
|
238
239
|
l as lightBackgroundColor,
|
|
239
240
|
u as nonInteractiveEffectStyles,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
xe as normalBlendStyles,
|
|
242
|
+
Qe as noticeTypes,
|
|
243
|
+
qe as notificationTypes,
|
|
243
244
|
d as overflowProtectionStyles,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
245
|
+
p as overlayEffectStyles,
|
|
246
|
+
er as scale,
|
|
247
|
+
tr as search,
|
|
248
|
+
Yo as setThemePreference,
|
|
249
|
+
Wo as spanStyles,
|
|
250
|
+
Oo as textButtonVariants,
|
|
251
|
+
Jo as textShadowStyles,
|
|
252
|
+
m as theme,
|
|
253
|
+
Zo as themePreferences,
|
|
254
|
+
_e as useCreateNotification,
|
|
255
|
+
Ea as useFetch,
|
|
254
256
|
Ra as useFetcher,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
Ha as
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
Ve as
|
|
262
|
-
|
|
263
|
-
so as
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
257
|
+
_o as useIsDarkMode,
|
|
258
|
+
Ua as useIsDocumentFocused,
|
|
259
|
+
$o as useIsLightMode,
|
|
260
|
+
Ha as useJsonFetch,
|
|
261
|
+
Ka as useJsonFetcher,
|
|
262
|
+
Wa as useMediaQuery,
|
|
263
|
+
Ve as useModal,
|
|
264
|
+
Ue as useModalContext,
|
|
265
|
+
so as usePopover,
|
|
266
|
+
lo as usePopoverContext,
|
|
267
|
+
to as usePopoverMenu,
|
|
268
|
+
mo as useRevealer,
|
|
269
|
+
ja as useSynchronizedValue,
|
|
270
|
+
et as useTheme,
|
|
271
|
+
Oa as useThrottled,
|
|
272
|
+
ft as wrapperWidths
|
|
270
273
|
};
|
package/build/theme.d.ts
CHANGED