@kakadu/components 2.3.3 → 2.3.5
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.d.ts +4 -0
- package/build/components/button.js +1 -1
- package/build/components/button.mjs +53 -46
- package/build/components/icon-button.d.ts +2 -1
- package/build/components/icon-button.js +1 -1
- package/build/components/icon-button.mjs +36 -32
- package/build/components/popover.js +1 -1
- package/build/components/popover.mjs +78 -68
- package/build/components.css +1 -1
- package/build/index.js +1 -1
- package/build/index.mjs +202 -201
- package/package.json +1 -1
package/build/index.mjs
CHANGED
|
@@ -3,228 +3,229 @@ 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 T, ButtonVariant as k, buttonDangerStyles as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
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
|
|
6
|
+
import { default as L, ButtonLoader as T, ButtonVariant as k, buttonDangerStyles as B, buttonSecondaryStyles as I, buttonSuccessStyles as P, buttonWarningStyles as w } from "./components/button.mjs";
|
|
7
|
+
import { default as A, ButtonTooltipPosition as G } from "./components/button-tooltip.mjs";
|
|
8
|
+
import { default as D } from "./components/card.mjs";
|
|
9
|
+
import { default as R } from "./components/click-ripples.mjs";
|
|
10
|
+
import { default as N } from "./components/collapsible.mjs";
|
|
11
|
+
import { default as H } from "./components/copy-icon-button.mjs";
|
|
12
|
+
import { default as U } from "./components/datum.mjs";
|
|
13
|
+
import { default as j } from "./components/dnb-logo.mjs";
|
|
14
|
+
import { default as q } from "./components/dot.mjs";
|
|
15
|
+
import { default as J, FlexAlignment as O } from "./components/flex.mjs";
|
|
16
|
+
import { default as Y, FooterLinkItem as Z } from "./components/footer.mjs";
|
|
17
|
+
import { default as $ } from "./components/gauge.mjs";
|
|
18
|
+
import { default as oe } from "./components/gjensidige-logo.mjs";
|
|
19
|
+
import { default as ae } from "./components/header.mjs";
|
|
20
|
+
import { default as fe, normalBlendStyles as le } from "./components/hover-gradient.mjs";
|
|
21
|
+
import { default as de, IconButtonVariant as se } from "./components/icon-button.mjs";
|
|
22
|
+
import { default as me, Select as ne, errorParagraph as xe } from "./components/input.mjs";
|
|
23
|
+
import { default as Se } from "./components/kakadu-guide-icon.mjs";
|
|
24
|
+
import { default as ve, KakaduGuideLogoSvg as ce, KakaduGuideLogoVariant as he } from "./components/kakadu-guide-logo.mjs";
|
|
25
|
+
import { default as Ce } from "./components/kakadu-index-logo.mjs";
|
|
26
26
|
import { default as Te } from "./components/kakadu-academy-logo.mjs";
|
|
27
|
-
import { default as
|
|
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 { RevealSpinner as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { AnchorHeading as
|
|
43
|
-
import { default 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
|
|
27
|
+
import { default as Be } from "./components/kakadu-logo.mjs";
|
|
28
|
+
import { default as Pe, useModal as we, useModalContext as be } from "./components/modal.mjs";
|
|
29
|
+
import { default as Ge } from "./components/moving-gradients.mjs";
|
|
30
|
+
import { default as De } from "./components/moving-stars.mjs";
|
|
31
|
+
import { default as Re, NoticeType as Fe, NoticeType as Ne } from "./components/notice.mjs";
|
|
32
|
+
import { default as He, NotificationProvider as Ve, useCreateNotification as Ue } from "./components/notification.mjs";
|
|
33
|
+
import { default as je, usePopoverMenu as Qe } from "./components/popover-menu.mjs";
|
|
34
|
+
import { default as ze, PopoverContainer as Je, usePopover as Oe, usePopoverContext as Xe } from "./components/popover.mjs";
|
|
35
|
+
import { default as Ze, useRevealer as _e } from "./components/revealer.mjs";
|
|
36
|
+
import { default as eo, SeparatorLabel as oo, SmallSeparator as to, VerticalSeparator as ao } from "./components/separator.mjs";
|
|
37
|
+
import { default as fo, SkeletonInstance as lo } from "./components/skeleton.mjs";
|
|
38
|
+
import { default as so } from "./components/sparebank1-logo.mjs";
|
|
39
|
+
import { RevealSpinner as mo, default as no } from "./components/spinner.mjs";
|
|
40
|
+
import { default as go } from "./components/sto-logo.mjs";
|
|
41
|
+
import { default as io } from "./components/storebrand-logo.mjs";
|
|
42
|
+
import { AnchorHeading as co, Heading as ho, Hero as yo, Label as Co, Paragraph as Lo, Span as To, default as ko, spanStyles as Bo, textShadowStyles as Io } from "./components/text.mjs";
|
|
43
|
+
import { default as wo, TextButtonVariant as bo } from "./components/text-button.mjs";
|
|
44
|
+
import { default as Go, getThemePreference as Mo, setThemePreference as Do, themePreferences as Ko, useIsDarkMode as Ro, useIsLightMode as Fo, useTheme as No } from "./components/theme-setter.mjs";
|
|
45
|
+
import { default as Ho } from "./components/veil.mjs";
|
|
46
|
+
import { default as Uo, WrapperWidth as Wo } from "./components/wrapper.mjs";
|
|
47
|
+
import { default as Qo, IconType as qo, iconShadowStyles as zo } from "./icons/icon.mjs";
|
|
48
|
+
import { default as Oo } from "./icons/kakadu-guide-icon.mjs";
|
|
49
|
+
import { default as Yo } from "./icons/kakadu-guide-glyph.mjs";
|
|
50
|
+
import { default as _o } from "./icons/dots.mjs";
|
|
51
|
+
import { default as et } from "./icons/menu.mjs";
|
|
52
|
+
import { default as tt } from "./icons/check.mjs";
|
|
53
|
+
import { default as rt } from "./icons/plus.mjs";
|
|
54
|
+
import { default as lt } from "./icons/times.mjs";
|
|
55
|
+
import { default as dt } from "./icons/chevron-up.mjs";
|
|
56
|
+
import { default as pt } from "./icons/chevron-right.mjs";
|
|
57
|
+
import { default as nt } from "./icons/chevron-down.mjs";
|
|
58
|
+
import { default as gt } from "./icons/chevron-left.mjs";
|
|
59
|
+
import { default as it } from "./icons/caret-up.mjs";
|
|
60
|
+
import { default as ct } from "./icons/caret-right.mjs";
|
|
61
|
+
import { default as yt } from "./icons/caret-down.mjs";
|
|
62
|
+
import { default as Lt } from "./icons/caret-left.mjs";
|
|
63
63
|
import { default as kt } from "./icons/arrow-up.mjs";
|
|
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
|
|
64
|
+
import { default as It } from "./icons/arrow-right.mjs";
|
|
65
|
+
import { default as wt } from "./icons/arrow-down.mjs";
|
|
66
|
+
import { default as At } from "./icons/arrow-left.mjs";
|
|
67
|
+
import { default as Mt } from "./icons/anchor-up.mjs";
|
|
68
|
+
import { default as Kt } from "./icons/anchor-down.mjs";
|
|
69
|
+
import { default as Ft } from "./icons/trend-up.mjs";
|
|
70
|
+
import { default as Et } from "./icons/edit.mjs";
|
|
71
|
+
import { default as Vt } from "./icons/copy.mjs";
|
|
72
|
+
import { default as Wt } from "./icons/select.mjs";
|
|
73
|
+
import { default as Qt } from "./icons/test.mjs";
|
|
74
|
+
import { default as zt } from "./icons/share.mjs";
|
|
75
|
+
import { default as Ot } from "./icons/external.mjs";
|
|
76
|
+
import { default as Yt } from "./icons/exclamation-triangle.mjs";
|
|
77
|
+
import { default as _t } from "./icons/sparkle.mjs";
|
|
78
|
+
import { default as ea } from "./icons/trash.mjs";
|
|
79
|
+
import { default as ta } from "./icons/chrome-browser-logo.mjs";
|
|
80
|
+
import { default as ra } from "./icons/edge-browser-logo.mjs";
|
|
81
|
+
import { default as la } from "./hooks/use-media-query.mjs";
|
|
82
|
+
import { default as da } from "./hooks/use-fetch.mjs";
|
|
83
|
+
import { default as pa } from "./utilities/copy-to-clipboard.mjs";
|
|
84
|
+
import { default as na } from "./utilities/generate-random-id.mjs";
|
|
85
|
+
import { default as ga } from "./utilities/scale.mjs";
|
|
86
86
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
Kt as AnchorDownSvg,
|
|
88
|
+
co as AnchorHeading,
|
|
89
|
+
Mt as AnchorUpSvg,
|
|
90
90
|
n as AriaText,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
wt as ArrowDownSvg,
|
|
92
|
+
At as ArrowLeftSvg,
|
|
93
|
+
It as ArrowRightSvg,
|
|
94
94
|
kt as ArrowUpSvg,
|
|
95
95
|
S as Atom,
|
|
96
96
|
c as BankidLogo,
|
|
97
97
|
y as Box,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
A as
|
|
98
|
+
L as Button,
|
|
99
|
+
T as ButtonLoader,
|
|
100
|
+
A as ButtonTooltip,
|
|
101
|
+
G as ButtonTooltipPosition,
|
|
101
102
|
k as ButtonVariant,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
103
|
+
D as Card,
|
|
104
|
+
yt as CaretDownSvg,
|
|
105
|
+
Lt as CaretLeftSvg,
|
|
106
|
+
ct as CaretRightSvg,
|
|
107
|
+
it as CaretUpSvg,
|
|
108
|
+
tt as CheckSvg,
|
|
109
|
+
nt as ChevronDownSvg,
|
|
110
|
+
gt as ChevronLeftSvg,
|
|
111
|
+
pt as ChevronRightSvg,
|
|
112
|
+
dt as ChevronUpSvg,
|
|
113
|
+
ta as ChromeBrowserLogoSvg,
|
|
114
|
+
R as ClickRipples,
|
|
115
|
+
N as Collapsible,
|
|
116
|
+
H as CopyIconButton,
|
|
117
|
+
Vt as CopySvg,
|
|
118
|
+
U as Datum,
|
|
119
|
+
j as DnbLogo,
|
|
120
|
+
q as Dot,
|
|
121
|
+
_o as DotsSvg,
|
|
122
|
+
ra as EdgeBrowserLogoSvg,
|
|
123
|
+
Et as EditSvg,
|
|
124
|
+
Yt as ExclamationTriangleSvg,
|
|
125
|
+
Ot as ExternalSvg,
|
|
126
|
+
J as Flex,
|
|
127
|
+
O as FlexAlignment,
|
|
127
128
|
t as FontFamilyHead,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
129
|
+
Y as Footer,
|
|
130
|
+
Z as FooterLinkItem,
|
|
131
|
+
$ as Gauge,
|
|
132
|
+
oe as GjensidigeLogo,
|
|
133
|
+
ae as Header,
|
|
134
|
+
ho as Heading,
|
|
135
|
+
yo as Hero,
|
|
136
|
+
fe as HoverGradient,
|
|
137
|
+
Qo as Icon,
|
|
138
|
+
de as IconButton,
|
|
139
|
+
se as IconButtonVariant,
|
|
140
|
+
qo as IconType,
|
|
141
|
+
me as Input,
|
|
141
142
|
Te as KakaduAcademyLogo,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
143
|
+
Yo as KakaduGuideGlyphSvg,
|
|
144
|
+
Se as KakaduGuideIcon,
|
|
145
|
+
Oo as KakaduGuideIconSvg,
|
|
146
|
+
ve as KakaduGuideLogo,
|
|
147
|
+
ce as KakaduGuideLogoSvg,
|
|
148
|
+
he as KakaduGuideLogoVariant,
|
|
149
|
+
Ce as KakaduIndexLogo,
|
|
150
|
+
Be as KakaduLogo,
|
|
151
|
+
Co as Label,
|
|
152
|
+
et as MenuSvg,
|
|
153
|
+
Pe as Modal,
|
|
154
|
+
Ge as MovingGradients,
|
|
155
|
+
De as MovingStars,
|
|
156
|
+
Re as Notice,
|
|
157
|
+
Fe as NoticeType,
|
|
158
|
+
He as Notification,
|
|
159
|
+
Ve as NotificationProvider,
|
|
160
|
+
Ne as NotificationType,
|
|
161
|
+
Lo as Paragraph,
|
|
162
|
+
rt as PlusSvg,
|
|
163
|
+
ze as Popover,
|
|
164
|
+
Je as PopoverContainer,
|
|
165
|
+
je as PopoverMenu,
|
|
166
|
+
mo as RevealSpinner,
|
|
167
|
+
Ze as Revealer,
|
|
168
|
+
ne as Select,
|
|
169
|
+
Wt as SelectSvg,
|
|
170
|
+
eo as Separator,
|
|
171
|
+
oo as SeparatorLabel,
|
|
172
|
+
zt as ShareSvg,
|
|
173
|
+
fo as Skeleton,
|
|
174
|
+
lo as SkeletonInstance,
|
|
175
|
+
to as SmallSeparator,
|
|
175
176
|
To as Span,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
so as Sparebank1Logo,
|
|
178
|
+
_t as SparkleSvg,
|
|
179
|
+
no as Spinner,
|
|
180
|
+
go as StoLogo,
|
|
181
|
+
io as StorebrandLogo,
|
|
182
|
+
Qt as TestSvg,
|
|
182
183
|
ko as Text,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
184
|
+
wo as TextButton,
|
|
185
|
+
bo as TextButtonVariant,
|
|
186
|
+
Go as ThemeSetter,
|
|
187
|
+
lt as TimesSvg,
|
|
188
|
+
ea as TrashSvg,
|
|
189
|
+
Ft as TrendUpSvg,
|
|
190
|
+
Ho as Veil,
|
|
191
|
+
ao as VerticalSeparator,
|
|
192
|
+
Uo as Wrapper,
|
|
193
|
+
Wo as WrapperWidth,
|
|
193
194
|
x as ariaTextStyles,
|
|
194
|
-
|
|
195
|
+
B as buttonDangerStyles,
|
|
195
196
|
a as buttonResetStyles,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
I as buttonSecondaryStyles,
|
|
198
|
+
P as buttonSuccessStyles,
|
|
199
|
+
w as buttonWarningStyles,
|
|
200
|
+
pa as copyToClipboard,
|
|
200
201
|
r as darkBackgroundColor,
|
|
201
202
|
i as defaultAtomElementType,
|
|
202
203
|
f as effectStyles,
|
|
203
|
-
|
|
204
|
+
xe as errorParagraph,
|
|
204
205
|
l as font,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
na as generateRandomId,
|
|
207
|
+
Mo as getThemePreference,
|
|
208
|
+
zo as iconShadowStyles,
|
|
208
209
|
u as lightBackgroundColor,
|
|
209
210
|
d as nonInteractiveEffectStyles,
|
|
210
|
-
|
|
211
|
+
le as normalBlendStyles,
|
|
211
212
|
s as overflowProtectionStyles,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
ga as scale,
|
|
214
|
+
Do as setThemePreference,
|
|
215
|
+
Bo as spanStyles,
|
|
216
|
+
Io as textShadowStyles,
|
|
216
217
|
p as theme,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
218
|
+
Ko as themePreferences,
|
|
219
|
+
Ue as useCreateNotification,
|
|
220
|
+
da as useFetch,
|
|
221
|
+
Ro as useIsDarkMode,
|
|
222
|
+
Fo as useIsLightMode,
|
|
223
|
+
la as useMediaQuery,
|
|
224
|
+
we as useModal,
|
|
225
|
+
be as useModalContext,
|
|
226
|
+
Oe as usePopover,
|
|
227
|
+
Xe as usePopoverContext,
|
|
228
|
+
Qe as usePopoverMenu,
|
|
229
|
+
_e as useRevealer,
|
|
230
|
+
No as useTheme
|
|
230
231
|
};
|