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