@kakadu/components 3.7.3 → 3.8.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/modal.d.ts +5 -0
- package/build/components/modal.js +1 -1
- package/build/components/modal.mjs +84 -70
- package/build/components/text.d.ts +3 -1
- package/build/components/text.js +1 -1
- package/build/components/text.mjs +24 -23
- package/build/components.css +1 -1
- package/build/hooks/use-fetch.js +1 -1
- package/build/hooks/use-fetch.mjs +74 -71
- package/build/index.js +1 -1
- package/build/index.mjs +190 -187
- package/package.json +1 -1
package/build/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { FontFamilyHead as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as
|
|
2
|
-
import { default as
|
|
1
|
+
import { FontFamilyHead as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as l, lightBackgroundColor as u, nonInteractiveEffectStyles as d, overflowProtectionStyles as s, default as p } from "./theme.mjs";
|
|
2
|
+
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
|
|
8
|
-
import { default as
|
|
6
|
+
import { default as T, ButtonLoader as k, ButtonVariant as L, buttonDangerStyles as B, buttonSecondaryStyles as P, buttonSuccessStyles as I, buttonWarningStyles as w } from "./components/button.mjs";
|
|
7
|
+
import { default as b, ButtonTooltipPosition as A } from "./components/button-tooltip.mjs";
|
|
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";
|
|
11
|
-
import { default as
|
|
11
|
+
import { default as N } from "./components/copy-icon-button.mjs";
|
|
12
12
|
import { default as U } from "./components/datum.mjs";
|
|
13
13
|
import { default as J } from "./components/decorators.mjs";
|
|
14
14
|
import { default as Q } from "./components/dnb-logo.mjs";
|
|
@@ -18,120 +18,120 @@ import { default as _, FooterLinkItem as $ } from "./components/footer.mjs";
|
|
|
18
18
|
import { default as oe } from "./components/gauge.mjs";
|
|
19
19
|
import { default as ae } from "./components/gjensidige-logo.mjs";
|
|
20
20
|
import { default as fe } from "./components/header.mjs";
|
|
21
|
-
import { default as
|
|
21
|
+
import { default as ue, normalBlendStyles as de } from "./components/hover-gradient.mjs";
|
|
22
22
|
import { default as pe, IconButtonVariant as me } from "./components/icon-button.mjs";
|
|
23
|
-
import { default as
|
|
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 ke } 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 be,
|
|
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 { 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
|
|
60
|
-
import { default as
|
|
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
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
29
|
+
import { default as Me, ModalContent as be, ModalHeading as Ae, useModal as De, useModalContext as Ge } from "./components/modal.mjs";
|
|
30
|
+
import { default as Ke } from "./components/moving-gradients.mjs";
|
|
31
|
+
import { default as Ee } from "./components/moving-stars.mjs";
|
|
32
|
+
import { default as Ne, NoticeType as Ve, NoticeType as Ue } from "./components/notice.mjs";
|
|
33
|
+
import { default as Je, NotificationProvider as je, useCreateNotification as Qe } from "./components/notification.mjs";
|
|
34
|
+
import { default as ze, usePopoverMenu as Oe } from "./components/popover-menu.mjs";
|
|
35
|
+
import { default as Ye, PopoverContainer as Ze, usePopover as _e, usePopoverContext as $e } from "./components/popover.mjs";
|
|
36
|
+
import { default as oo, useRevealer as to } from "./components/revealer.mjs";
|
|
37
|
+
import { default as ro, SeparatorLabel as fo, SmallSeparator as lo, VerticalSeparator as uo } from "./components/separator.mjs";
|
|
38
|
+
import { default as po, SkeletonInstance as mo } from "./components/skeleton.mjs";
|
|
39
|
+
import { default as xo } from "./components/sparebank1-logo.mjs";
|
|
40
|
+
import { RevealSpinner as So, default as io } from "./components/spinner.mjs";
|
|
41
|
+
import { default as co } from "./components/sto-logo.mjs";
|
|
42
|
+
import { default as yo } from "./components/storebrand-logo.mjs";
|
|
43
|
+
import { AnchorHeading as To, Heading as ko, Hero as Lo, Label as Bo, Paragraph as Po, Span as Io, default as wo, defaultHeadingElementType as Mo, spanStyles as bo, textShadowStyles as Ao } from "./components/text.mjs";
|
|
44
|
+
import { default as Go, TextButtonVariant as Fo } from "./components/text-button.mjs";
|
|
45
|
+
import { default as Ro, getThemePreference as Eo, setThemePreference as Ho, themePreferences as No, useIsDarkMode as Vo, useIsLightMode as Uo, useTheme as Wo } from "./components/theme-setter.mjs";
|
|
46
|
+
import { default as jo } from "./components/veil.mjs";
|
|
47
|
+
import { default as qo, WrapperWidth as zo } from "./components/wrapper.mjs";
|
|
48
|
+
import { default as Xo, IconType as Yo, iconShadowStyles as Zo } from "./icons/icon.mjs";
|
|
49
|
+
import { default as $o } from "./icons/kakadu-guide-icon.mjs";
|
|
50
|
+
import { default as ot } from "./icons/kakadu-guide-glyph.mjs";
|
|
51
|
+
import { default as at } from "./icons/dots.mjs";
|
|
52
|
+
import { default as ft } from "./icons/menu.mjs";
|
|
53
|
+
import { default as ut } from "./icons/check.mjs";
|
|
54
|
+
import { default as st } from "./icons/plus.mjs";
|
|
55
|
+
import { default as mt } from "./icons/times.mjs";
|
|
56
|
+
import { default as xt } from "./icons/chevron-up.mjs";
|
|
57
|
+
import { default as St } from "./icons/chevron-right.mjs";
|
|
58
|
+
import { default as vt } from "./icons/chevron-down.mjs";
|
|
59
|
+
import { default as ht } from "./icons/chevron-left.mjs";
|
|
60
|
+
import { default as Ct } from "./icons/caret-up.mjs";
|
|
61
|
+
import { default as kt } from "./icons/caret-right.mjs";
|
|
62
|
+
import { default as Bt } from "./icons/caret-down.mjs";
|
|
63
|
+
import { default as It } from "./icons/caret-left.mjs";
|
|
64
|
+
import { default as Mt } from "./icons/arrow-up.mjs";
|
|
65
|
+
import { default as At } from "./icons/arrow-right.mjs";
|
|
66
|
+
import { default as Gt } from "./icons/arrow-down.mjs";
|
|
67
|
+
import { default as Kt } from "./icons/arrow-left.mjs";
|
|
68
|
+
import { default as Et } from "./icons/anchor-up.mjs";
|
|
69
|
+
import { default as Nt } from "./icons/anchor-down.mjs";
|
|
70
|
+
import { default as Ut } from "./icons/trend-up.mjs";
|
|
71
|
+
import { default as Jt } from "./icons/eye.mjs";
|
|
72
|
+
import { default as Qt } from "./icons/edit.mjs";
|
|
73
|
+
import { default as zt } from "./icons/cog.mjs";
|
|
74
|
+
import { default as Xt } from "./icons/copy.mjs";
|
|
75
|
+
import { default as Zt } from "./icons/document.mjs";
|
|
76
|
+
import { default as $t } from "./icons/select.mjs";
|
|
77
|
+
import { default as oa } from "./icons/test.mjs";
|
|
78
|
+
import { default as aa } from "./icons/share.mjs";
|
|
79
|
+
import { default as fa } from "./icons/package.mjs";
|
|
80
|
+
import { default as ua } from "./icons/external.mjs";
|
|
81
|
+
import { default as sa } from "./icons/exclamation-triangle.mjs";
|
|
82
|
+
import { default as ma } from "./icons/sparkle.mjs";
|
|
83
|
+
import { default as xa } from "./icons/trash.mjs";
|
|
84
|
+
import { default as Sa } from "./icons/chrome-browser-logo.mjs";
|
|
85
|
+
import { default as va } from "./icons/edge-browser-logo.mjs";
|
|
86
|
+
import { default as ha } from "./hooks/use-media-query.mjs";
|
|
87
|
+
import { default as Ca, useFetcher as Ta, useJsonFetch as ka, useJsonFetcher as La } from "./hooks/use-fetch.mjs";
|
|
88
|
+
import { default as Pa } from "./utilities/copy-to-clipboard.mjs";
|
|
89
|
+
import { default as wa } from "./utilities/generate-random-id.mjs";
|
|
90
|
+
import { default as ba } from "./utilities/scale.mjs";
|
|
91
91
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
92
|
+
Nt as AnchorDownSvg,
|
|
93
|
+
To as AnchorHeading,
|
|
94
|
+
Et as AnchorUpSvg,
|
|
95
|
+
n as AriaText,
|
|
96
|
+
Gt as ArrowDownSvg,
|
|
97
|
+
Kt as ArrowLeftSvg,
|
|
98
|
+
At as ArrowRightSvg,
|
|
99
|
+
Mt as ArrowUpSvg,
|
|
100
100
|
S as Atom,
|
|
101
101
|
c as BankidLogo,
|
|
102
102
|
y as Box,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
103
|
+
T as Button,
|
|
104
|
+
k as ButtonLoader,
|
|
105
|
+
b as ButtonTooltip,
|
|
106
|
+
A as ButtonTooltipPosition,
|
|
107
|
+
L as ButtonVariant,
|
|
108
|
+
G as Card,
|
|
109
|
+
Bt as CaretDownSvg,
|
|
110
|
+
It as CaretLeftSvg,
|
|
111
|
+
kt as CaretRightSvg,
|
|
112
|
+
Ct as CaretUpSvg,
|
|
113
|
+
ut as CheckSvg,
|
|
114
|
+
vt as ChevronDownSvg,
|
|
115
|
+
ht as ChevronLeftSvg,
|
|
116
|
+
St as ChevronRightSvg,
|
|
117
|
+
xt as ChevronUpSvg,
|
|
118
|
+
Sa as ChromeBrowserLogoSvg,
|
|
119
119
|
K as ClickRipples,
|
|
120
|
-
|
|
120
|
+
zt as CogSvg,
|
|
121
121
|
E as Collapsible,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
N as CopyIconButton,
|
|
123
|
+
Xt as CopySvg,
|
|
124
124
|
U as Datum,
|
|
125
125
|
J as Decorators,
|
|
126
126
|
Q as DnbLogo,
|
|
127
|
-
|
|
127
|
+
Zt as DocumentSvg,
|
|
128
128
|
z as Dot,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
129
|
+
at as DotsSvg,
|
|
130
|
+
va as EdgeBrowserLogoSvg,
|
|
131
|
+
Qt as EditSvg,
|
|
132
|
+
sa as ExclamationTriangleSvg,
|
|
133
|
+
ua as ExternalSvg,
|
|
134
|
+
Jt as EyeSvg,
|
|
135
135
|
X as Flex,
|
|
136
136
|
Y as FlexAlignment,
|
|
137
137
|
t as FontFamilyHead,
|
|
@@ -140,105 +140,108 @@ export {
|
|
|
140
140
|
oe as Gauge,
|
|
141
141
|
ae as GjensidigeLogo,
|
|
142
142
|
fe as Header,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
ko as Heading,
|
|
144
|
+
Lo as Hero,
|
|
145
|
+
ue as HoverGradient,
|
|
146
|
+
Xo as Icon,
|
|
147
147
|
pe as IconButton,
|
|
148
148
|
me as IconButtonVariant,
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
Yo as IconType,
|
|
150
|
+
xe as Input,
|
|
151
151
|
Be as KakaduAcademyLogo,
|
|
152
|
-
|
|
152
|
+
ot as KakaduGuideGlyphSvg,
|
|
153
153
|
ve as KakaduGuideIcon,
|
|
154
|
-
|
|
154
|
+
$o as KakaduGuideIconSvg,
|
|
155
155
|
he as KakaduGuideLogo,
|
|
156
156
|
ye as KakaduGuideLogoSvg,
|
|
157
157
|
Ce as KakaduGuideLogoVariant,
|
|
158
|
-
|
|
158
|
+
ke as KakaduIndexLogo,
|
|
159
159
|
Ie as KakaduLogo,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
160
|
+
Bo as Label,
|
|
161
|
+
ft as MenuSvg,
|
|
162
|
+
Me as Modal,
|
|
163
|
+
be as ModalContent,
|
|
164
|
+
Ae as ModalHeading,
|
|
165
|
+
Ke as MovingGradients,
|
|
166
|
+
Ee as MovingStars,
|
|
167
|
+
Ne as Notice,
|
|
168
|
+
Ve as NoticeType,
|
|
169
|
+
Je as Notification,
|
|
170
|
+
je as NotificationProvider,
|
|
171
|
+
Ue as NotificationType,
|
|
172
|
+
fa as PackageSvg,
|
|
173
|
+
Po as Paragraph,
|
|
174
|
+
st as PlusSvg,
|
|
175
|
+
Ye as Popover,
|
|
176
|
+
Ze as PopoverContainer,
|
|
177
|
+
ze as PopoverMenu,
|
|
178
|
+
So as RevealSpinner,
|
|
179
|
+
oo as Revealer,
|
|
178
180
|
ge as Select,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
181
|
+
$t as SelectSvg,
|
|
182
|
+
ro as Separator,
|
|
183
|
+
fo as SeparatorLabel,
|
|
184
|
+
aa as ShareSvg,
|
|
185
|
+
po as Skeleton,
|
|
186
|
+
mo as SkeletonInstance,
|
|
187
|
+
lo as SmallSeparator,
|
|
188
|
+
Io as Span,
|
|
189
|
+
xo as Sparebank1Logo,
|
|
190
|
+
ma as SparkleSvg,
|
|
191
|
+
io as Spinner,
|
|
192
|
+
co as StoLogo,
|
|
193
|
+
yo as StorebrandLogo,
|
|
194
|
+
oa as TestSvg,
|
|
195
|
+
wo as Text,
|
|
196
|
+
Go as TextButton,
|
|
197
|
+
Fo as TextButtonVariant,
|
|
198
|
+
Ro as ThemeSetter,
|
|
199
|
+
mt as TimesSvg,
|
|
200
|
+
xa as TrashSvg,
|
|
201
|
+
Ut as TrendUpSvg,
|
|
202
|
+
jo as Veil,
|
|
203
|
+
uo as VerticalSeparator,
|
|
204
|
+
qo as Wrapper,
|
|
205
|
+
zo as WrapperWidth,
|
|
206
|
+
x as ariaTextStyles,
|
|
205
207
|
B as buttonDangerStyles,
|
|
206
208
|
a as buttonResetStyles,
|
|
207
209
|
P as buttonSecondaryStyles,
|
|
208
210
|
I as buttonSuccessStyles,
|
|
209
211
|
w as buttonWarningStyles,
|
|
210
|
-
|
|
212
|
+
Pa as copyToClipboard,
|
|
211
213
|
r as darkBackgroundColor,
|
|
212
214
|
i as defaultAtomElementType,
|
|
215
|
+
Mo as defaultHeadingElementType,
|
|
213
216
|
f as effectStyles,
|
|
214
217
|
Se as errorParagraph,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
218
|
+
l as font,
|
|
219
|
+
wa as generateRandomId,
|
|
220
|
+
Eo as getThemePreference,
|
|
221
|
+
Zo as iconShadowStyles,
|
|
222
|
+
u as lightBackgroundColor,
|
|
223
|
+
d as nonInteractiveEffectStyles,
|
|
224
|
+
de as normalBlendStyles,
|
|
225
|
+
s as overflowProtectionStyles,
|
|
226
|
+
ba as scale,
|
|
227
|
+
Ho as setThemePreference,
|
|
228
|
+
bo as spanStyles,
|
|
229
|
+
Ao as textShadowStyles,
|
|
227
230
|
p as theme,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
231
|
+
No as themePreferences,
|
|
232
|
+
Qe as useCreateNotification,
|
|
233
|
+
Ca as useFetch,
|
|
234
|
+
Ta as useFetcher,
|
|
235
|
+
Vo as useIsDarkMode,
|
|
236
|
+
Uo as useIsLightMode,
|
|
237
|
+
ka as useJsonFetch,
|
|
238
|
+
La as useJsonFetcher,
|
|
239
|
+
ha as useMediaQuery,
|
|
240
|
+
De as useModal,
|
|
241
|
+
Ge as useModalContext,
|
|
242
|
+
_e as usePopover,
|
|
243
|
+
$e as usePopoverContext,
|
|
244
|
+
Oe as usePopoverMenu,
|
|
245
|
+
to as useRevealer,
|
|
246
|
+
Wo as useTheme
|
|
244
247
|
};
|