@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/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 s, overflowProtectionStyles as u, default as p } from "./theme.mjs";
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 g, defaultAtomElementType as i } from "./components/atom.mjs";
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 M } from "./components/card.mjs";
9
- import { default as R } from "./components/click-ripples.mjs";
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 se, Select as ue, errorParagraph as pe } from "./components/input.mjs";
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 Se, KakaduGuideLogoSvg as ge, KakaduGuideLogoVariant as ie } from "./components/kakadu-guide-logo.mjs";
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, useModal as Le, useModalContext as Ce } from "./components/modal.mjs";
27
- import { default as Ie } from "./components/moving-gradients.mjs";
28
- import { default as be } from "./components/moving-stars.mjs";
29
- import { default as Ge, NoticeType as De, NoticeType as Me } from "./components/notice.mjs";
30
- import { default as Re, NotificationProvider as Ke, useCreateNotification as Ne } from "./components/notification.mjs";
31
- import { default as Fe, useRevealer as He } from "./components/revealer.mjs";
32
- import { default as Ue, SeparatorLabel as We, SmallSeparator as je, VerticalSeparator as Qe } from "./components/separator.mjs";
33
- import { default as ze, SkeletonInstance as Je } from "./components/skeleton.mjs";
34
- import { default as Xe } from "./components/sparebank1-logo.mjs";
35
- import { RevealSpinner as Ze, default as _e } from "./components/spinner.mjs";
36
- import { default as eo } from "./components/sto-logo.mjs";
37
- import { default as to } from "./components/storebrand-logo.mjs";
38
- import { AnchorHeading as ro, Heading as fo, Hero as lo, Label as so, Paragraph as uo, Span as po, default as mo, spanStyles as xo, textShadowStyles as no } from "./components/text.mjs";
39
- import { default as go, TextButtonVariant as io } from "./components/text-button.mjs";
40
- import { default as co, getThemePreference as ho, setThemePreference as yo, themePreferences as To, useIsDarkMode as ko, useIsLightMode as Lo, useTheme as Co } from "./components/theme-setter.mjs";
41
- import { default as Io } from "./components/veil.mjs";
42
- import { default as bo, WrapperWidth as Ao } from "./components/wrapper.mjs";
43
- import { default as Do, IconType as Mo, iconShadowStyles as Po } from "./icons/icon.mjs";
44
- import { default as Ko } from "./icons/kakadu-guide-icon.mjs";
45
- import { default as Eo } from "./icons/kakadu-guide-glyph.mjs";
46
- import { default as Ho } from "./icons/dots.mjs";
47
- import { default as Uo } from "./icons/menu.mjs";
48
- import { default as jo } from "./icons/check.mjs";
49
- import { default as qo } from "./icons/plus.mjs";
50
- import { default as Jo } from "./icons/times.mjs";
51
- import { default as Xo } from "./icons/chevron-up.mjs";
52
- import { default as Zo } from "./icons/chevron-right.mjs";
53
- import { default as $o } from "./icons/chevron-down.mjs";
54
- import { default as ot } from "./icons/chevron-left.mjs";
55
- import { default as at } from "./icons/caret-up.mjs";
56
- import { default as ft } from "./icons/caret-right.mjs";
57
- import { default as dt } from "./icons/caret-down.mjs";
58
- import { default as ut } from "./icons/caret-left.mjs";
59
- import { default as mt } from "./icons/arrow-up.mjs";
60
- import { default as nt } from "./icons/arrow-right.mjs";
61
- import { default as gt } from "./icons/arrow-down.mjs";
62
- import { default as vt } from "./icons/arrow-left.mjs";
63
- import { default as ht } from "./icons/anchor-up.mjs";
64
- import { default as Tt } from "./icons/anchor-down.mjs";
65
- import { default as Lt } from "./icons/trend-up.mjs";
66
- import { default as Bt } from "./icons/edit.mjs";
67
- import { default as wt } from "./icons/copy.mjs";
68
- import { default as At } from "./icons/select.mjs";
69
- import { default as Dt } from "./icons/test.mjs";
70
- import { default as Pt } from "./icons/share.mjs";
71
- import { default as Kt } from "./icons/external.mjs";
72
- import { default as Et } from "./icons/exclamation-triangle.mjs";
73
- import { default as Ht } from "./icons/sparkle.mjs";
74
- import { default as Ut } from "./icons/trash.mjs";
75
- import { default as jt } from "./icons/chrome-browser-logo.mjs";
76
- import { default as qt } from "./icons/edge-browser-logo.mjs";
77
- import { default as Jt } from "./hooks/use-media-query.mjs";
78
- import { default as Xt } from "./utilities/copy-to-clipboard.mjs";
79
- import { default as Zt } from "./utilities/generate-random-id.mjs";
80
- import { default as $t } from "./utilities/scale.mjs";
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
- Tt as AnchorDownSvg,
83
- ro as AnchorHeading,
84
- ht as AnchorUpSvg,
83
+ Lt as AnchorDownSvg,
84
+ lo as AnchorHeading,
85
+ Tt as AnchorUpSvg,
85
86
  x as AriaText,
86
- gt as ArrowDownSvg,
87
- vt as ArrowLeftSvg,
88
- nt as ArrowRightSvg,
89
- mt as ArrowUpSvg,
90
- g as Atom,
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
- M as Card,
98
- dt as CaretDownSvg,
99
- ut as CaretLeftSvg,
100
- ft as CaretRightSvg,
101
- at as CaretUpSvg,
102
- jo as CheckSvg,
103
- $o as ChevronDownSvg,
104
- ot as ChevronLeftSvg,
105
- Zo as ChevronRightSvg,
106
- Xo as ChevronUpSvg,
107
- jt as ChromeBrowserLogoSvg,
108
- R as ClickRipples,
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
- wt as CopySvg,
111
+ At as CopySvg,
111
112
  F as Datum,
112
113
  V as DnbLogo,
113
114
  W as Dot,
114
- Ho as DotsSvg,
115
- qt as EdgeBrowserLogoSvg,
116
- Bt as EditSvg,
117
- Et as ExclamationTriangleSvg,
118
- Kt as ExternalSvg,
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
- fo as Heading,
128
- lo as Hero,
128
+ uo as Heading,
129
+ so as Hero,
129
130
  te as HoverGradient,
130
- Do as Icon,
131
+ Mo as Icon,
131
132
  fe as IconButton,
132
133
  le as IconButtonVariant,
133
- Mo as IconType,
134
- se as Input,
135
- Eo as KakaduGuideGlyphSvg,
134
+ Po as IconType,
135
+ ue as Input,
136
+ ye as KakaduAcademyLogo,
137
+ Ho as KakaduGuideGlyphSvg,
136
138
  xe as KakaduGuideIcon,
137
- Ko as KakaduGuideIconSvg,
138
- Se as KakaduGuideLogo,
139
- ge as KakaduGuideLogoSvg,
139
+ Eo as KakaduGuideIconSvg,
140
+ ge as KakaduGuideLogo,
141
+ Se as KakaduGuideLogoSvg,
140
142
  ie as KakaduGuideLogoVariant,
141
143
  ce as KakaduIndexLogo,
142
- ye as KakaduLogo,
143
- so as Label,
144
- Uo as MenuSvg,
145
- ke as Modal,
146
- Ie as MovingGradients,
147
- be as MovingStars,
148
- Ge as Notice,
149
- De as NoticeType,
150
- Re as Notification,
151
- Ke as NotificationProvider,
152
- Me as NotificationType,
153
- uo as Paragraph,
154
- qo as PlusSvg,
155
- Ze as RevealSpinner,
156
- Fe as Revealer,
157
- ue as Select,
158
- At as SelectSvg,
159
- Ue as Separator,
160
- We as SeparatorLabel,
161
- Pt as ShareSvg,
162
- ze as Skeleton,
163
- Je as SkeletonInstance,
164
- je as SmallSeparator,
165
- po as Span,
166
- Xe as Sparebank1Logo,
167
- Ht as SparkleSvg,
168
- _e as Spinner,
169
- eo as StoLogo,
170
- to as StorebrandLogo,
171
- Dt as TestSvg,
172
- mo as Text,
173
- go as TextButton,
174
- io as TextButtonVariant,
175
- co as ThemeSetter,
176
- Jo as TimesSvg,
177
- Ut as TrashSvg,
178
- Lt as TrendUpSvg,
179
- Io as Veil,
180
- Qe as VerticalSeparator,
181
- bo as Wrapper,
182
- Ao as WrapperWidth,
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
- Xt as copyToClipboard,
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
- Zt as generateRandomId,
196
- ho as getThemePreference,
197
- Po as iconShadowStyles,
197
+ $t as generateRandomId,
198
+ To as getThemePreference,
199
+ Ro as iconShadowStyles,
198
200
  d as lightBackgroundColor,
199
- s as nonInteractiveEffectStyles,
201
+ u as nonInteractiveEffectStyles,
200
202
  ae as normalBlendStyles,
201
- u as overflowProtectionStyles,
202
- $t as scale,
203
- yo as setThemePreference,
204
- xo as spanStyles,
205
- no as textShadowStyles,
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
- To as themePreferences,
208
- Ne as useCreateNotification,
209
- ko as useIsDarkMode,
210
- Lo as useIsLightMode,
211
- Jt as useMediaQuery,
212
- Le as useModal,
213
- Ce as useModalContext,
214
- He as useRevealer,
215
- Co as useTheme
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kakadu/components",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Kakadu components library",
5
5
  "license": "MIT",
6
6
  "main": "./build/index.js",