@kakadu/components 3.3.0 → 3.4.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/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { FontFamilyHead as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as u, lightBackgroundColor as l, nonInteractiveEffectStyles as s, overflowProtectionStyles as d, default as p } from "./theme.mjs";
2
- import { default as n, ariaTextStyles as x } from "./components/aria-text.mjs";
2
+ import { default as x, ariaTextStyles as n } 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 L, ButtonLoader as T, ButtonVariant as k, buttonDangerStyles as B, buttonSecondaryStyles as I, buttonSuccessStyles as P, buttonWarningStyles as w } from "./components/button.mjs";
6
+ import { default as k, ButtonLoader as L, ButtonVariant as T, buttonDangerStyles as B, buttonSecondaryStyles as P, buttonSuccessStyles as I, buttonWarningStyles as w } from "./components/button.mjs";
7
7
  import { default as A, ButtonTooltipPosition as D } from "./components/button-tooltip.mjs";
8
8
  import { default as M } from "./components/card.mjs";
9
9
  import { default as K } from "./components/click-ripples.mjs";
@@ -20,12 +20,12 @@ import { default as ae } from "./components/gjensidige-logo.mjs";
20
20
  import { default as fe } from "./components/header.mjs";
21
21
  import { default as le, normalBlendStyles as se } from "./components/hover-gradient.mjs";
22
22
  import { default as pe, IconButtonVariant as me } from "./components/icon-button.mjs";
23
- import { default as xe, Select as ge, errorParagraph as Se } from "./components/input.mjs";
23
+ import { default as ne, 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 Te } from "./components/kakadu-index-logo.mjs";
26
+ import { default as Le } from "./components/kakadu-index-logo.mjs";
27
27
  import { default as Be } from "./components/kakadu-academy-logo.mjs";
28
- import { default as Pe } from "./components/kakadu-logo.mjs";
28
+ import { default as Ie } from "./components/kakadu-logo.mjs";
29
29
  import { default as be, useModal as Ae, useModalContext as De } from "./components/modal.mjs";
30
30
  import { default as Me } from "./components/moving-gradients.mjs";
31
31
  import { default as Ke } from "./components/moving-stars.mjs";
@@ -37,10 +37,10 @@ import { default as $e, useRevealer as eo } from "./components/revealer.mjs";
37
37
  import { default as to, SeparatorLabel as ao, SmallSeparator as ro, VerticalSeparator as fo } from "./components/separator.mjs";
38
38
  import { default as lo, SkeletonInstance as so } from "./components/skeleton.mjs";
39
39
  import { default as mo } from "./components/sparebank1-logo.mjs";
40
- import { RevealSpinner as xo, default as go } from "./components/spinner.mjs";
40
+ import { RevealSpinner as no, default as go } from "./components/spinner.mjs";
41
41
  import { default as io } from "./components/sto-logo.mjs";
42
42
  import { default as co } from "./components/storebrand-logo.mjs";
43
- import { AnchorHeading as yo, Heading as Co, Hero as Lo, Label as To, Paragraph as ko, Span as Bo, default as Io, spanStyles as Po, textShadowStyles as wo } from "./components/text.mjs";
43
+ import { AnchorHeading as yo, Heading as Co, Hero as ko, Label as Lo, Paragraph as To, Span as Bo, default as Po, spanStyles as Io, textShadowStyles as wo } from "./components/text.mjs";
44
44
  import { default as Ao, TextButtonVariant as Do } from "./components/text-button.mjs";
45
45
  import { default as Mo, getThemePreference as Fo, setThemePreference as Ko, themePreferences as Ro, useIsDarkMode as Eo, useIsLightMode as No, useTheme as Ho } from "./components/theme-setter.mjs";
46
46
  import { default as Uo } from "./components/veil.mjs";
@@ -54,14 +54,14 @@ import { default as rt } from "./icons/check.mjs";
54
54
  import { default as ut } from "./icons/plus.mjs";
55
55
  import { default as st } from "./icons/times.mjs";
56
56
  import { default as pt } from "./icons/chevron-up.mjs";
57
- import { default as nt } from "./icons/chevron-right.mjs";
57
+ import { default as xt } from "./icons/chevron-right.mjs";
58
58
  import { default as gt } from "./icons/chevron-down.mjs";
59
59
  import { default as it } from "./icons/chevron-left.mjs";
60
60
  import { default as ct } from "./icons/caret-up.mjs";
61
61
  import { default as yt } from "./icons/caret-right.mjs";
62
- import { default as Lt } from "./icons/caret-down.mjs";
63
- import { default as kt } from "./icons/caret-left.mjs";
64
- import { default as It } from "./icons/arrow-up.mjs";
62
+ import { default as kt } from "./icons/caret-down.mjs";
63
+ import { default as Tt } from "./icons/caret-left.mjs";
64
+ import { default as Pt } from "./icons/arrow-up.mjs";
65
65
  import { default as wt } from "./icons/arrow-right.mjs";
66
66
  import { default as At } from "./icons/arrow-down.mjs";
67
67
  import { default as Gt } from "./icons/arrow-left.mjs";
@@ -72,48 +72,50 @@ import { default as Vt } from "./icons/eye.mjs";
72
72
  import { default as Wt } from "./icons/edit.mjs";
73
73
  import { default as jt } from "./icons/cog.mjs";
74
74
  import { default as qt } from "./icons/copy.mjs";
75
- import { default as Ot } from "./icons/select.mjs";
76
- import { default as Yt } from "./icons/test.mjs";
77
- import { default as _t } from "./icons/share.mjs";
78
- import { default as ea } from "./icons/external.mjs";
79
- import { default as ta } from "./icons/exclamation-triangle.mjs";
80
- import { default as ra } from "./icons/sparkle.mjs";
81
- import { default as ua } from "./icons/trash.mjs";
82
- import { default as sa } from "./icons/chrome-browser-logo.mjs";
83
- import { default as pa } from "./icons/edge-browser-logo.mjs";
84
- import { default as na } from "./hooks/use-media-query.mjs";
85
- import { default as ga, useFetcher as Sa, useJsonFetch as ia, useJsonFetcher as va } from "./hooks/use-fetch.mjs";
86
- import { default as ha } from "./utilities/copy-to-clipboard.mjs";
87
- import { default as Ca } from "./utilities/generate-random-id.mjs";
88
- import { default as Ta } from "./utilities/scale.mjs";
75
+ import { default as Ot } from "./icons/document.mjs";
76
+ import { default as Yt } from "./icons/select.mjs";
77
+ import { default as _t } from "./icons/test.mjs";
78
+ import { default as ea } from "./icons/share.mjs";
79
+ import { default as ta } from "./icons/package.mjs";
80
+ import { default as ra } from "./icons/external.mjs";
81
+ import { default as ua } from "./icons/exclamation-triangle.mjs";
82
+ import { default as sa } from "./icons/sparkle.mjs";
83
+ import { default as pa } from "./icons/trash.mjs";
84
+ import { default as xa } from "./icons/chrome-browser-logo.mjs";
85
+ import { default as ga } from "./icons/edge-browser-logo.mjs";
86
+ import { default as ia } from "./hooks/use-media-query.mjs";
87
+ import { default as ca, useFetcher as ha, useJsonFetch as ya, useJsonFetcher as Ca } from "./hooks/use-fetch.mjs";
88
+ import { default as La } from "./utilities/copy-to-clipboard.mjs";
89
+ import { default as Ba } from "./utilities/generate-random-id.mjs";
90
+ import { default as Ia } from "./utilities/scale.mjs";
89
91
  export {
90
92
  Rt as AnchorDownSvg,
91
93
  yo as AnchorHeading,
92
94
  Ft as AnchorUpSvg,
93
- n as AriaText,
95
+ x as AriaText,
94
96
  At as ArrowDownSvg,
95
97
  Gt as ArrowLeftSvg,
96
98
  wt as ArrowRightSvg,
97
- It as ArrowUpSvg,
99
+ Pt as ArrowUpSvg,
98
100
  S as Atom,
99
101
  c as BankidLogo,
100
102
  y as Box,
101
- L as Button,
102
- T as ButtonLoader,
103
+ k as Button,
104
+ L as ButtonLoader,
103
105
  A as ButtonTooltip,
104
106
  D as ButtonTooltipPosition,
105
- k as ButtonVariant,
107
+ T as ButtonVariant,
106
108
  M as Card,
107
- Lt as CaretDownSvg,
108
- kt as CaretLeftSvg,
109
+ kt as CaretDownSvg,
110
+ Tt as CaretLeftSvg,
109
111
  yt as CaretRightSvg,
110
112
  ct as CaretUpSvg,
111
113
  rt as CheckSvg,
112
114
  gt as ChevronDownSvg,
113
115
  it as ChevronLeftSvg,
114
- nt as ChevronRightSvg,
116
+ xt as ChevronRightSvg,
115
117
  pt as ChevronUpSvg,
116
- sa as ChromeBrowserLogoSvg,
118
+ xa as ChromeBrowserLogoSvg,
117
119
  K as ClickRipples,
118
120
  jt as CogSvg,
119
121
  E as Collapsible,
@@ -122,12 +124,13 @@ export {
122
124
  U as Datum,
123
125
  J as Decorators,
124
126
  Q as DnbLogo,
127
+ Ot as DocumentSvg,
125
128
  z as Dot,
126
129
  et as DotsSvg,
127
- pa as EdgeBrowserLogoSvg,
130
+ ga as EdgeBrowserLogoSvg,
128
131
  Wt as EditSvg,
129
- ta as ExclamationTriangleSvg,
130
- ea as ExternalSvg,
132
+ ua as ExclamationTriangleSvg,
133
+ ra as ExternalSvg,
131
134
  Vt as EyeSvg,
132
135
  X as Flex,
133
136
  Y as FlexAlignment,
@@ -138,13 +141,13 @@ export {
138
141
  ae as GjensidigeLogo,
139
142
  fe as Header,
140
143
  Co as Heading,
141
- Lo as Hero,
144
+ ko as Hero,
142
145
  le as HoverGradient,
143
146
  qo as Icon,
144
147
  pe as IconButton,
145
148
  me as IconButtonVariant,
146
149
  zo as IconType,
147
- xe as Input,
150
+ ne as Input,
148
151
  Be as KakaduAcademyLogo,
149
152
  _o as KakaduGuideGlyphSvg,
150
153
  ve as KakaduGuideIcon,
@@ -152,9 +155,9 @@ export {
152
155
  he as KakaduGuideLogo,
153
156
  ye as KakaduGuideLogoSvg,
154
157
  Ce as KakaduGuideLogoVariant,
155
- Te as KakaduIndexLogo,
156
- Pe as KakaduLogo,
157
- To as Label,
158
+ Le as KakaduIndexLogo,
159
+ Ie as KakaduLogo,
160
+ Lo as Label,
158
161
  tt as MenuSvg,
159
162
  be as Modal,
160
163
  Me as MovingGradients,
@@ -164,72 +167,73 @@ export {
164
167
  Ue as Notification,
165
168
  We as NotificationProvider,
166
169
  He as NotificationType,
167
- ko as Paragraph,
170
+ ta as PackageSvg,
171
+ To as Paragraph,
168
172
  ut as PlusSvg,
169
173
  Oe as Popover,
170
174
  Xe as PopoverContainer,
171
175
  Qe as PopoverMenu,
172
- xo as RevealSpinner,
176
+ no as RevealSpinner,
173
177
  $e as Revealer,
174
178
  ge as Select,
175
- Ot as SelectSvg,
179
+ Yt as SelectSvg,
176
180
  to as Separator,
177
181
  ao as SeparatorLabel,
178
- _t as ShareSvg,
182
+ ea as ShareSvg,
179
183
  lo as Skeleton,
180
184
  so as SkeletonInstance,
181
185
  ro as SmallSeparator,
182
186
  Bo as Span,
183
187
  mo as Sparebank1Logo,
184
- ra as SparkleSvg,
188
+ sa as SparkleSvg,
185
189
  go as Spinner,
186
190
  io as StoLogo,
187
191
  co as StorebrandLogo,
188
- Yt as TestSvg,
189
- Io as Text,
192
+ _t as TestSvg,
193
+ Po as Text,
190
194
  Ao as TextButton,
191
195
  Do as TextButtonVariant,
192
196
  Mo as ThemeSetter,
193
197
  st as TimesSvg,
194
- ua as TrashSvg,
198
+ pa as TrashSvg,
195
199
  Nt as TrendUpSvg,
196
200
  Uo as Veil,
197
201
  fo as VerticalSeparator,
198
202
  Jo as Wrapper,
199
203
  jo as WrapperWidth,
200
- x as ariaTextStyles,
204
+ n as ariaTextStyles,
201
205
  B as buttonDangerStyles,
202
206
  a as buttonResetStyles,
203
- I as buttonSecondaryStyles,
204
- P as buttonSuccessStyles,
207
+ P as buttonSecondaryStyles,
208
+ I as buttonSuccessStyles,
205
209
  w as buttonWarningStyles,
206
- ha as copyToClipboard,
210
+ La as copyToClipboard,
207
211
  r as darkBackgroundColor,
208
212
  i as defaultAtomElementType,
209
213
  f as effectStyles,
210
214
  Se as errorParagraph,
211
215
  u as font,
212
- Ca as generateRandomId,
216
+ Ba as generateRandomId,
213
217
  Fo as getThemePreference,
214
218
  Oo as iconShadowStyles,
215
219
  l as lightBackgroundColor,
216
220
  s as nonInteractiveEffectStyles,
217
221
  se as normalBlendStyles,
218
222
  d as overflowProtectionStyles,
219
- Ta as scale,
223
+ Ia as scale,
220
224
  Ko as setThemePreference,
221
- Po as spanStyles,
225
+ Io as spanStyles,
222
226
  wo as textShadowStyles,
223
227
  p as theme,
224
228
  Ro as themePreferences,
225
229
  Je as useCreateNotification,
226
- ga as useFetch,
227
- Sa as useFetcher,
230
+ ca as useFetch,
231
+ ha as useFetcher,
228
232
  Eo as useIsDarkMode,
229
233
  No as useIsLightMode,
230
- ia as useJsonFetch,
231
- va as useJsonFetcher,
232
- na as useMediaQuery,
234
+ ya as useJsonFetch,
235
+ Ca as useJsonFetcher,
236
+ ia as useMediaQuery,
233
237
  Ae as useModal,
234
238
  De as useModalContext,
235
239
  Ye as usePopover,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kakadu/components",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "Kakadu components library",
5
5
  "license": "MIT",
6
6
  "main": "./build/index.js",