@kakadu/components 3.7.3 → 3.8.1
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 +6 -0
- package/build/components/modal.js +1 -1
- package/build/components/modal.mjs +93 -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 +191 -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 A, ButtonTooltipPosition 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 M } from "./components/button.mjs";
|
|
7
|
+
import { default as A, ButtonTooltipPosition as b } 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, useModal 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 { 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 we, ModalActions as Ae, ModalContent as be, ModalHeading as De, useModal as Ge, useModalContext as Fe } from "./components/modal.mjs";
|
|
30
|
+
import { default as Re } from "./components/moving-gradients.mjs";
|
|
31
|
+
import { default as He } from "./components/moving-stars.mjs";
|
|
32
|
+
import { default as Ve, NoticeType as Ue, NoticeType as We } from "./components/notice.mjs";
|
|
33
|
+
import { default as je, NotificationProvider as Qe, useCreateNotification as qe } from "./components/notification.mjs";
|
|
34
|
+
import { default as Oe, usePopoverMenu as Xe } from "./components/popover-menu.mjs";
|
|
35
|
+
import { default as Ze, PopoverContainer as _e, usePopover as $e, usePopoverContext as eo } from "./components/popover.mjs";
|
|
36
|
+
import { default as to, useRevealer as ao } from "./components/revealer.mjs";
|
|
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 go } from "./components/sparebank1-logo.mjs";
|
|
40
|
+
import { RevealSpinner as io, default as vo } from "./components/spinner.mjs";
|
|
41
|
+
import { default as ho } from "./components/sto-logo.mjs";
|
|
42
|
+
import { default as Co } from "./components/storebrand-logo.mjs";
|
|
43
|
+
import { AnchorHeading as ko, Heading as Lo, Hero as Bo, Label as Po, Paragraph as Io, Span as Mo, default as wo, defaultHeadingElementType as Ao, spanStyles as bo, textShadowStyles as Do } from "./components/text.mjs";
|
|
44
|
+
import { default as Fo, TextButtonVariant as Ko } from "./components/text-button.mjs";
|
|
45
|
+
import { default as Eo, getThemePreference as Ho, setThemePreference as No, themePreferences as Vo, useIsDarkMode as Uo, useIsLightMode as Wo, useTheme as Jo } from "./components/theme-setter.mjs";
|
|
46
|
+
import { default as Qo } from "./components/veil.mjs";
|
|
47
|
+
import { default as zo, WrapperWidth as Oo } from "./components/wrapper.mjs";
|
|
48
|
+
import { default as Yo, IconType as Zo, iconShadowStyles as _o } from "./icons/icon.mjs";
|
|
49
|
+
import { default as et } from "./icons/kakadu-guide-icon.mjs";
|
|
50
|
+
import { default as tt } from "./icons/kakadu-guide-glyph.mjs";
|
|
51
|
+
import { default as rt } from "./icons/dots.mjs";
|
|
52
|
+
import { default as lt } from "./icons/menu.mjs";
|
|
53
|
+
import { default as dt } from "./icons/check.mjs";
|
|
54
|
+
import { default as pt } from "./icons/plus.mjs";
|
|
55
|
+
import { default as nt } from "./icons/times.mjs";
|
|
56
|
+
import { default as gt } from "./icons/chevron-up.mjs";
|
|
57
|
+
import { default as it } from "./icons/chevron-right.mjs";
|
|
58
|
+
import { default as ct } from "./icons/chevron-down.mjs";
|
|
59
|
+
import { default as yt } from "./icons/chevron-left.mjs";
|
|
60
|
+
import { default as Tt } from "./icons/caret-up.mjs";
|
|
61
|
+
import { default as Lt } from "./icons/caret-right.mjs";
|
|
62
|
+
import { default as Pt } from "./icons/caret-down.mjs";
|
|
63
|
+
import { default as Mt } from "./icons/caret-left.mjs";
|
|
64
|
+
import { default as At } from "./icons/arrow-up.mjs";
|
|
65
|
+
import { default as Dt } from "./icons/arrow-right.mjs";
|
|
66
|
+
import { default as Ft } from "./icons/arrow-down.mjs";
|
|
67
|
+
import { default as Rt } from "./icons/arrow-left.mjs";
|
|
68
|
+
import { default as Ht } from "./icons/anchor-up.mjs";
|
|
69
|
+
import { default as Vt } from "./icons/anchor-down.mjs";
|
|
70
|
+
import { default as Wt } 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 Ot } from "./icons/cog.mjs";
|
|
74
|
+
import { default as Yt } from "./icons/copy.mjs";
|
|
75
|
+
import { default as _t } from "./icons/document.mjs";
|
|
76
|
+
import { default as ea } from "./icons/select.mjs";
|
|
77
|
+
import { default as ta } from "./icons/test.mjs";
|
|
78
|
+
import { default as ra } from "./icons/share.mjs";
|
|
79
|
+
import { default as la } from "./icons/package.mjs";
|
|
80
|
+
import { default as da } from "./icons/external.mjs";
|
|
81
|
+
import { default as pa } from "./icons/exclamation-triangle.mjs";
|
|
82
|
+
import { default as na } from "./icons/sparkle.mjs";
|
|
83
|
+
import { default as ga } from "./icons/trash.mjs";
|
|
84
|
+
import { default as ia } from "./icons/chrome-browser-logo.mjs";
|
|
85
|
+
import { default as ca } from "./icons/edge-browser-logo.mjs";
|
|
86
|
+
import { default as ya } from "./hooks/use-media-query.mjs";
|
|
87
|
+
import { default as Ta, useFetcher as ka, useJsonFetch as La, useJsonFetcher as Ba } from "./hooks/use-fetch.mjs";
|
|
88
|
+
import { default as Ia } 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
|
+
Vt as AnchorDownSvg,
|
|
93
|
+
ko as AnchorHeading,
|
|
94
|
+
Ht as AnchorUpSvg,
|
|
95
|
+
n as AriaText,
|
|
96
|
+
Ft as ArrowDownSvg,
|
|
97
|
+
Rt as ArrowLeftSvg,
|
|
98
|
+
Dt as ArrowRightSvg,
|
|
99
|
+
At as ArrowUpSvg,
|
|
100
100
|
S as Atom,
|
|
101
101
|
c as BankidLogo,
|
|
102
102
|
y as Box,
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
T as Button,
|
|
104
|
+
k as ButtonLoader,
|
|
105
105
|
A as ButtonTooltip,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
106
|
+
b as ButtonTooltipPosition,
|
|
107
|
+
L as ButtonVariant,
|
|
108
|
+
G as Card,
|
|
109
|
+
Pt as CaretDownSvg,
|
|
110
|
+
Mt as CaretLeftSvg,
|
|
111
|
+
Lt as CaretRightSvg,
|
|
112
|
+
Tt as CaretUpSvg,
|
|
113
|
+
dt as CheckSvg,
|
|
114
|
+
ct as ChevronDownSvg,
|
|
115
|
+
yt as ChevronLeftSvg,
|
|
116
|
+
it as ChevronRightSvg,
|
|
117
|
+
gt as ChevronUpSvg,
|
|
118
|
+
ia as ChromeBrowserLogoSvg,
|
|
119
119
|
K as ClickRipples,
|
|
120
|
-
|
|
120
|
+
Ot as CogSvg,
|
|
121
121
|
E as Collapsible,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
N as CopyIconButton,
|
|
123
|
+
Yt as CopySvg,
|
|
124
124
|
U as Datum,
|
|
125
125
|
J as Decorators,
|
|
126
126
|
Q as DnbLogo,
|
|
127
|
-
|
|
127
|
+
_t as DocumentSvg,
|
|
128
128
|
z as Dot,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
129
|
+
rt as DotsSvg,
|
|
130
|
+
ca as EdgeBrowserLogoSvg,
|
|
131
|
+
qt as EditSvg,
|
|
132
|
+
pa as ExclamationTriangleSvg,
|
|
133
|
+
da as ExternalSvg,
|
|
134
|
+
jt as EyeSvg,
|
|
135
135
|
X as Flex,
|
|
136
136
|
Y as FlexAlignment,
|
|
137
137
|
t as FontFamilyHead,
|
|
@@ -140,105 +140,109 @@ export {
|
|
|
140
140
|
oe as Gauge,
|
|
141
141
|
ae as GjensidigeLogo,
|
|
142
142
|
fe as Header,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
Lo as Heading,
|
|
144
|
+
Bo as Hero,
|
|
145
|
+
ue as HoverGradient,
|
|
146
|
+
Yo as Icon,
|
|
147
147
|
pe as IconButton,
|
|
148
148
|
me as IconButtonVariant,
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
Zo as IconType,
|
|
150
|
+
xe as Input,
|
|
151
151
|
Be as KakaduAcademyLogo,
|
|
152
|
-
|
|
152
|
+
tt as KakaduGuideGlyphSvg,
|
|
153
153
|
ve as KakaduGuideIcon,
|
|
154
|
-
|
|
154
|
+
et 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
|
+
Po as Label,
|
|
161
|
+
lt as MenuSvg,
|
|
162
|
+
we as Modal,
|
|
163
|
+
Ae as ModalActions,
|
|
164
|
+
be as ModalContent,
|
|
165
|
+
De as ModalHeading,
|
|
166
|
+
Re as MovingGradients,
|
|
167
|
+
He as MovingStars,
|
|
168
|
+
Ve as Notice,
|
|
169
|
+
Ue as NoticeType,
|
|
170
|
+
je as Notification,
|
|
171
|
+
Qe as NotificationProvider,
|
|
172
|
+
We as NotificationType,
|
|
173
|
+
la as PackageSvg,
|
|
174
|
+
Io as Paragraph,
|
|
175
|
+
pt as PlusSvg,
|
|
176
|
+
Ze as Popover,
|
|
177
|
+
_e as PopoverContainer,
|
|
178
|
+
Oe as PopoverMenu,
|
|
179
|
+
io as RevealSpinner,
|
|
180
|
+
to as Revealer,
|
|
178
181
|
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
|
-
|
|
182
|
+
ea as SelectSvg,
|
|
183
|
+
fo as Separator,
|
|
184
|
+
lo as SeparatorLabel,
|
|
185
|
+
ra as ShareSvg,
|
|
186
|
+
mo as Skeleton,
|
|
187
|
+
no as SkeletonInstance,
|
|
188
|
+
uo as SmallSeparator,
|
|
189
|
+
Mo as Span,
|
|
190
|
+
go as Sparebank1Logo,
|
|
191
|
+
na as SparkleSvg,
|
|
192
|
+
vo as Spinner,
|
|
193
|
+
ho as StoLogo,
|
|
194
|
+
Co as StorebrandLogo,
|
|
195
|
+
ta as TestSvg,
|
|
196
|
+
wo as Text,
|
|
197
|
+
Fo as TextButton,
|
|
198
|
+
Ko as TextButtonVariant,
|
|
199
|
+
Eo as ThemeSetter,
|
|
200
|
+
nt as TimesSvg,
|
|
201
|
+
ga as TrashSvg,
|
|
202
|
+
Wt as TrendUpSvg,
|
|
203
|
+
Qo as Veil,
|
|
204
|
+
so as VerticalSeparator,
|
|
205
|
+
zo as Wrapper,
|
|
206
|
+
Oo as WrapperWidth,
|
|
207
|
+
x as ariaTextStyles,
|
|
205
208
|
B as buttonDangerStyles,
|
|
206
209
|
a as buttonResetStyles,
|
|
207
210
|
P as buttonSecondaryStyles,
|
|
208
211
|
I as buttonSuccessStyles,
|
|
209
|
-
|
|
210
|
-
|
|
212
|
+
M as buttonWarningStyles,
|
|
213
|
+
Ia as copyToClipboard,
|
|
211
214
|
r as darkBackgroundColor,
|
|
212
215
|
i as defaultAtomElementType,
|
|
216
|
+
Ao as defaultHeadingElementType,
|
|
213
217
|
f as effectStyles,
|
|
214
218
|
Se as errorParagraph,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
219
|
+
l as font,
|
|
220
|
+
wa as generateRandomId,
|
|
221
|
+
Ho as getThemePreference,
|
|
222
|
+
_o as iconShadowStyles,
|
|
223
|
+
u as lightBackgroundColor,
|
|
224
|
+
d as nonInteractiveEffectStyles,
|
|
225
|
+
de as normalBlendStyles,
|
|
226
|
+
s as overflowProtectionStyles,
|
|
227
|
+
ba as scale,
|
|
228
|
+
No as setThemePreference,
|
|
229
|
+
bo as spanStyles,
|
|
230
|
+
Do as textShadowStyles,
|
|
227
231
|
p as theme,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
232
|
+
Vo as themePreferences,
|
|
233
|
+
qe as useCreateNotification,
|
|
234
|
+
Ta as useFetch,
|
|
235
|
+
ka as useFetcher,
|
|
236
|
+
Uo as useIsDarkMode,
|
|
237
|
+
Wo as useIsLightMode,
|
|
238
|
+
La as useJsonFetch,
|
|
239
|
+
Ba as useJsonFetcher,
|
|
240
|
+
ya as useMediaQuery,
|
|
241
|
+
Ge as useModal,
|
|
242
|
+
Fe as useModalContext,
|
|
243
|
+
$e as usePopover,
|
|
244
|
+
eo as usePopoverContext,
|
|
245
|
+
Xe as usePopoverMenu,
|
|
246
|
+
ao as useRevealer,
|
|
247
|
+
Jo as useTheme
|
|
244
248
|
};
|