@kakadu/components 2.0.0 → 2.0.2
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/datum.d.ts +2 -1
- package/build/components/input.d.ts +13 -7
- package/build/components/input.js +2 -2
- package/build/components/input.mjs +148 -144
- package/build/components/kakadu-academy-logo.d.ts +2 -0
- package/build/components/kakadu-academy-logo.js +1 -0
- package/build/components/kakadu-academy-logo.mjs +43 -0
- package/build/components.css +1 -1
- package/build/index.d.ts +2 -0
- package/build/index.js +1 -1
- package/build/index.mjs +159 -157
- package/package.json +1 -1
package/build/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FontFamilyHead as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as l, lightBackgroundColor as d, nonInteractiveEffectStyles as
|
|
1
|
+
import { FontFamilyHead as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as l, lightBackgroundColor as d, nonInteractiveEffectStyles as u, overflowProtectionStyles as s, default as p } from "./theme.mjs";
|
|
2
2
|
import { default as x, ariaTextStyles as n } from "./components/aria-text.mjs";
|
|
3
|
-
import { default as
|
|
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
6
|
import { default as k, ButtonVariant as L, buttonDangerStyles as C, buttonSecondaryStyles as B, buttonSuccessStyles as I, buttonWarningStyles as w } from "./components/button.mjs";
|
|
7
7
|
import { default as A, ButtonTooltipPosition as G } from "./components/button-tooltip.mjs";
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
8
|
+
import { default as K } from "./components/card.mjs";
|
|
9
|
+
import { default as P } from "./components/click-ripples.mjs";
|
|
10
10
|
import { default as N } from "./components/collapsible.mjs";
|
|
11
11
|
import { default as F } from "./components/datum.mjs";
|
|
12
12
|
import { default as V } from "./components/dnb-logo.mjs";
|
|
@@ -18,104 +18,105 @@ import { default as _ } from "./components/gjensidige-logo.mjs";
|
|
|
18
18
|
import { default as ee } from "./components/header.mjs";
|
|
19
19
|
import { default as te, normalBlendStyles as ae } from "./components/hover-gradient.mjs";
|
|
20
20
|
import { default as fe, IconButtonVariant as le } from "./components/icon-button.mjs";
|
|
21
|
-
import { default as
|
|
21
|
+
import { default as ue, Select as se, errorParagraph as pe } from "./components/input.mjs";
|
|
22
22
|
import { default as xe } from "./components/kakadu-guide-icon.mjs";
|
|
23
|
-
import { default as
|
|
23
|
+
import { default as ge, KakaduGuideLogoSvg as Se, KakaduGuideLogoVariant as ie } from "./components/kakadu-guide-logo.mjs";
|
|
24
24
|
import { default as ce } from "./components/kakadu-index-logo.mjs";
|
|
25
|
-
import { default as ye } from "./components/kakadu-logo.mjs";
|
|
26
|
-
import { default as ke
|
|
27
|
-
import { default as Ie } from "./components/
|
|
28
|
-
import { default as be } from "./components/moving-
|
|
29
|
-
import { default as Ge
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as Xe } from "./components/
|
|
35
|
-
import {
|
|
36
|
-
import { default as eo } from "./components/
|
|
37
|
-
import { default as to } from "./components/
|
|
38
|
-
import {
|
|
39
|
-
import { default as go,
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as Io } from "./components/
|
|
42
|
-
import { default as bo
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as Eo } from "./icons/kakadu-guide-
|
|
46
|
-
import { default as Ho } from "./icons/
|
|
47
|
-
import { default as Uo } from "./icons/
|
|
48
|
-
import { default as jo } from "./icons/
|
|
49
|
-
import { default as qo } from "./icons/
|
|
50
|
-
import { default as Jo } from "./icons/
|
|
51
|
-
import { default as Xo } from "./icons/
|
|
52
|
-
import { default as Zo } from "./icons/chevron-
|
|
53
|
-
import { default as $o } from "./icons/chevron-
|
|
54
|
-
import { default as ot } from "./icons/chevron-
|
|
55
|
-
import { default as at } from "./icons/
|
|
56
|
-
import { default as ft } from "./icons/caret-
|
|
57
|
-
import { default as dt } from "./icons/caret-
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as mt } from "./icons/
|
|
60
|
-
import { default as nt } from "./icons/arrow-
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as vt } from "./icons/arrow-
|
|
63
|
-
import { default as ht } from "./icons/
|
|
64
|
-
import { default as Tt } from "./icons/anchor-
|
|
65
|
-
import { default as Lt } from "./icons/
|
|
66
|
-
import { default as Bt } from "./icons/
|
|
67
|
-
import { default as wt } from "./icons/
|
|
68
|
-
import { default as At } from "./icons/
|
|
69
|
-
import { default as Dt } from "./icons/
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as Et } from "./icons/
|
|
73
|
-
import { default as Ht } from "./icons/
|
|
74
|
-
import { default as Ut } from "./icons/
|
|
75
|
-
import { default as jt } from "./icons/
|
|
76
|
-
import { default as qt } from "./icons/
|
|
77
|
-
import { default as Jt } from "./
|
|
78
|
-
import { default as Xt } from "./
|
|
79
|
-
import { default as Zt } from "./utilities/
|
|
80
|
-
import { default as $t } from "./utilities/
|
|
25
|
+
import { default as ye } from "./components/kakadu-academy-logo.mjs";
|
|
26
|
+
import { default as ke } from "./components/kakadu-logo.mjs";
|
|
27
|
+
import { default as Ce, useModal as Be, useModalContext as Ie } from "./components/modal.mjs";
|
|
28
|
+
import { default as be } from "./components/moving-gradients.mjs";
|
|
29
|
+
import { default as Ge } from "./components/moving-stars.mjs";
|
|
30
|
+
import { default as Ke, NoticeType as Me, NoticeType as Pe } from "./components/notice.mjs";
|
|
31
|
+
import { default as Ne, NotificationProvider as Ee, useCreateNotification as Fe } from "./components/notification.mjs";
|
|
32
|
+
import { default as Ve, useRevealer as Ue } from "./components/revealer.mjs";
|
|
33
|
+
import { default as je, SeparatorLabel as Qe, SmallSeparator as qe, VerticalSeparator as ze } from "./components/separator.mjs";
|
|
34
|
+
import { default as Oe, SkeletonInstance as Xe } from "./components/skeleton.mjs";
|
|
35
|
+
import { default as Ze } from "./components/sparebank1-logo.mjs";
|
|
36
|
+
import { RevealSpinner as $e, default as eo } from "./components/spinner.mjs";
|
|
37
|
+
import { default as to } from "./components/sto-logo.mjs";
|
|
38
|
+
import { default as ro } from "./components/storebrand-logo.mjs";
|
|
39
|
+
import { AnchorHeading as lo, Heading as uo, Hero as so, Label as po, Paragraph as mo, Span as xo, default as no, spanStyles as go, textShadowStyles as So } from "./components/text.mjs";
|
|
40
|
+
import { default as vo, TextButtonVariant as co } from "./components/text-button.mjs";
|
|
41
|
+
import { default as yo, getThemePreference as To, setThemePreference as ko, themePreferences as Lo, useIsDarkMode as Co, useIsLightMode as Bo, useTheme as Io } from "./components/theme-setter.mjs";
|
|
42
|
+
import { default as bo } from "./components/veil.mjs";
|
|
43
|
+
import { default as Go, WrapperWidth as Do } from "./components/wrapper.mjs";
|
|
44
|
+
import { default as Mo, IconType as Po, iconShadowStyles as Ro } from "./icons/icon.mjs";
|
|
45
|
+
import { default as Eo } from "./icons/kakadu-guide-icon.mjs";
|
|
46
|
+
import { default as Ho } from "./icons/kakadu-guide-glyph.mjs";
|
|
47
|
+
import { default as Uo } from "./icons/dots.mjs";
|
|
48
|
+
import { default as jo } from "./icons/menu.mjs";
|
|
49
|
+
import { default as qo } from "./icons/check.mjs";
|
|
50
|
+
import { default as Jo } from "./icons/plus.mjs";
|
|
51
|
+
import { default as Xo } from "./icons/times.mjs";
|
|
52
|
+
import { default as Zo } from "./icons/chevron-up.mjs";
|
|
53
|
+
import { default as $o } from "./icons/chevron-right.mjs";
|
|
54
|
+
import { default as ot } from "./icons/chevron-down.mjs";
|
|
55
|
+
import { default as at } from "./icons/chevron-left.mjs";
|
|
56
|
+
import { default as ft } from "./icons/caret-up.mjs";
|
|
57
|
+
import { default as dt } from "./icons/caret-right.mjs";
|
|
58
|
+
import { default as st } from "./icons/caret-down.mjs";
|
|
59
|
+
import { default as mt } from "./icons/caret-left.mjs";
|
|
60
|
+
import { default as nt } from "./icons/arrow-up.mjs";
|
|
61
|
+
import { default as St } from "./icons/arrow-right.mjs";
|
|
62
|
+
import { default as vt } from "./icons/arrow-down.mjs";
|
|
63
|
+
import { default as ht } from "./icons/arrow-left.mjs";
|
|
64
|
+
import { default as Tt } from "./icons/anchor-up.mjs";
|
|
65
|
+
import { default as Lt } from "./icons/anchor-down.mjs";
|
|
66
|
+
import { default as Bt } from "./icons/trend-up.mjs";
|
|
67
|
+
import { default as wt } from "./icons/edit.mjs";
|
|
68
|
+
import { default as At } from "./icons/copy.mjs";
|
|
69
|
+
import { default as Dt } from "./icons/select.mjs";
|
|
70
|
+
import { default as Mt } from "./icons/test.mjs";
|
|
71
|
+
import { default as Rt } from "./icons/share.mjs";
|
|
72
|
+
import { default as Et } from "./icons/external.mjs";
|
|
73
|
+
import { default as Ht } from "./icons/exclamation-triangle.mjs";
|
|
74
|
+
import { default as Ut } from "./icons/sparkle.mjs";
|
|
75
|
+
import { default as jt } from "./icons/trash.mjs";
|
|
76
|
+
import { default as qt } from "./icons/chrome-browser-logo.mjs";
|
|
77
|
+
import { default as Jt } from "./icons/edge-browser-logo.mjs";
|
|
78
|
+
import { default as Xt } from "./hooks/use-media-query.mjs";
|
|
79
|
+
import { default as Zt } from "./utilities/copy-to-clipboard.mjs";
|
|
80
|
+
import { default as $t } from "./utilities/generate-random-id.mjs";
|
|
81
|
+
import { default as oa } from "./utilities/scale.mjs";
|
|
81
82
|
export {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
Lt as AnchorDownSvg,
|
|
84
|
+
lo as AnchorHeading,
|
|
85
|
+
Tt as AnchorUpSvg,
|
|
85
86
|
x as AriaText,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
vt as ArrowDownSvg,
|
|
88
|
+
ht as ArrowLeftSvg,
|
|
89
|
+
St as ArrowRightSvg,
|
|
90
|
+
nt as ArrowUpSvg,
|
|
91
|
+
S as Atom,
|
|
91
92
|
c as BankidLogo,
|
|
92
93
|
y as Box,
|
|
93
94
|
k as Button,
|
|
94
95
|
A as ButtonTooltip,
|
|
95
96
|
G as ButtonTooltipPosition,
|
|
96
97
|
L as ButtonVariant,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
98
|
+
K as Card,
|
|
99
|
+
st as CaretDownSvg,
|
|
100
|
+
mt as CaretLeftSvg,
|
|
101
|
+
dt as CaretRightSvg,
|
|
102
|
+
ft as CaretUpSvg,
|
|
103
|
+
qo as CheckSvg,
|
|
104
|
+
ot as ChevronDownSvg,
|
|
105
|
+
at as ChevronLeftSvg,
|
|
106
|
+
$o as ChevronRightSvg,
|
|
107
|
+
Zo as ChevronUpSvg,
|
|
108
|
+
qt as ChromeBrowserLogoSvg,
|
|
109
|
+
P as ClickRipples,
|
|
109
110
|
N as Collapsible,
|
|
110
|
-
|
|
111
|
+
At as CopySvg,
|
|
111
112
|
F as Datum,
|
|
112
113
|
V as DnbLogo,
|
|
113
114
|
W as Dot,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
Uo as DotsSvg,
|
|
116
|
+
Jt as EdgeBrowserLogoSvg,
|
|
117
|
+
wt as EditSvg,
|
|
118
|
+
Ht as ExclamationTriangleSvg,
|
|
119
|
+
Et as ExternalSvg,
|
|
119
120
|
Q as Flex,
|
|
120
121
|
q as FlexAlignment,
|
|
121
122
|
t as FontFamilyHead,
|
|
@@ -124,93 +125,94 @@ export {
|
|
|
124
125
|
Y as Gauge,
|
|
125
126
|
_ as GjensidigeLogo,
|
|
126
127
|
ee as Header,
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
uo as Heading,
|
|
129
|
+
so as Hero,
|
|
129
130
|
te as HoverGradient,
|
|
130
|
-
|
|
131
|
+
Mo as Icon,
|
|
131
132
|
fe as IconButton,
|
|
132
133
|
le as IconButtonVariant,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
Po as IconType,
|
|
135
|
+
ue as Input,
|
|
136
|
+
ye as KakaduAcademyLogo,
|
|
137
|
+
Ho as KakaduGuideGlyphSvg,
|
|
136
138
|
xe as KakaduGuideIcon,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
Eo as KakaduGuideIconSvg,
|
|
140
|
+
ge as KakaduGuideLogo,
|
|
141
|
+
Se as KakaduGuideLogoSvg,
|
|
140
142
|
ie as KakaduGuideLogoVariant,
|
|
141
143
|
ce as KakaduIndexLogo,
|
|
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
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
144
|
+
ke as KakaduLogo,
|
|
145
|
+
po as Label,
|
|
146
|
+
jo as MenuSvg,
|
|
147
|
+
Ce as Modal,
|
|
148
|
+
be as MovingGradients,
|
|
149
|
+
Ge as MovingStars,
|
|
150
|
+
Ke as Notice,
|
|
151
|
+
Me as NoticeType,
|
|
152
|
+
Ne as Notification,
|
|
153
|
+
Ee as NotificationProvider,
|
|
154
|
+
Pe as NotificationType,
|
|
155
|
+
mo as Paragraph,
|
|
156
|
+
Jo as PlusSvg,
|
|
157
|
+
$e as RevealSpinner,
|
|
158
|
+
Ve as Revealer,
|
|
159
|
+
se as Select,
|
|
160
|
+
Dt as SelectSvg,
|
|
161
|
+
je as Separator,
|
|
162
|
+
Qe as SeparatorLabel,
|
|
163
|
+
Rt as ShareSvg,
|
|
164
|
+
Oe as Skeleton,
|
|
165
|
+
Xe as SkeletonInstance,
|
|
166
|
+
qe as SmallSeparator,
|
|
167
|
+
xo as Span,
|
|
168
|
+
Ze as Sparebank1Logo,
|
|
169
|
+
Ut as SparkleSvg,
|
|
170
|
+
eo as Spinner,
|
|
171
|
+
to as StoLogo,
|
|
172
|
+
ro as StorebrandLogo,
|
|
173
|
+
Mt as TestSvg,
|
|
174
|
+
no as Text,
|
|
175
|
+
vo as TextButton,
|
|
176
|
+
co as TextButtonVariant,
|
|
177
|
+
yo as ThemeSetter,
|
|
178
|
+
Xo as TimesSvg,
|
|
179
|
+
jt as TrashSvg,
|
|
180
|
+
Bt as TrendUpSvg,
|
|
181
|
+
bo as Veil,
|
|
182
|
+
ze as VerticalSeparator,
|
|
183
|
+
Go as Wrapper,
|
|
184
|
+
Do as WrapperWidth,
|
|
183
185
|
n as ariaTextStyles,
|
|
184
186
|
C as buttonDangerStyles,
|
|
185
187
|
a as buttonResetStyles,
|
|
186
188
|
B as buttonSecondaryStyles,
|
|
187
189
|
I as buttonSuccessStyles,
|
|
188
190
|
w as buttonWarningStyles,
|
|
189
|
-
|
|
191
|
+
Zt as copyToClipboard,
|
|
190
192
|
r as darkBackgroundColor,
|
|
191
193
|
i as defaultAtomElementType,
|
|
192
194
|
f as effectStyles,
|
|
193
195
|
pe as errorParagraph,
|
|
194
196
|
l as font,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
197
|
+
$t as generateRandomId,
|
|
198
|
+
To as getThemePreference,
|
|
199
|
+
Ro as iconShadowStyles,
|
|
198
200
|
d as lightBackgroundColor,
|
|
199
|
-
|
|
201
|
+
u as nonInteractiveEffectStyles,
|
|
200
202
|
ae as normalBlendStyles,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
s as overflowProtectionStyles,
|
|
204
|
+
oa as scale,
|
|
205
|
+
ko as setThemePreference,
|
|
206
|
+
go as spanStyles,
|
|
207
|
+
So as textShadowStyles,
|
|
206
208
|
p as theme,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
209
|
+
Lo as themePreferences,
|
|
210
|
+
Fe as useCreateNotification,
|
|
211
|
+
Co as useIsDarkMode,
|
|
212
|
+
Bo as useIsLightMode,
|
|
213
|
+
Xt as useMediaQuery,
|
|
214
|
+
Be as useModal,
|
|
215
|
+
Ie as useModalContext,
|
|
216
|
+
Ue as useRevealer,
|
|
217
|
+
Io as useTheme
|
|
216
218
|
};
|