@kakadu/components 1.4.2 → 1.4.4

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.
Files changed (37) hide show
  1. package/build/components/box.js +1 -1
  2. package/build/components/box.mjs +1 -1
  3. package/build/components/click-ripples.js +1 -1
  4. package/build/components/click-ripples.mjs +1 -1
  5. package/build/components/footer.d.ts +7 -1
  6. package/build/components/footer.js +1 -1
  7. package/build/components/footer.mjs +50 -44
  8. package/build/components/gauge.d.ts +2 -1
  9. package/build/components/gauge.js +1 -1
  10. package/build/components/gauge.mjs +46 -26
  11. package/build/components/hover-gradient.js +1 -1
  12. package/build/components/hover-gradient.mjs +1 -1
  13. package/build/components/kakadu-guide-icon.js +1 -1
  14. package/build/components/kakadu-guide-icon.mjs +12 -10
  15. package/build/components/modal.js +1 -1
  16. package/build/components/modal.mjs +1 -1
  17. package/build/components/notice.js +1 -1
  18. package/build/components/notice.mjs +2 -2
  19. package/build/components/separator.d.ts +1 -1
  20. package/build/components/separator.js +1 -1
  21. package/build/components/separator.mjs +21 -20
  22. package/build/components/text-button.d.ts +3 -2
  23. package/build/components/text-button.js +1 -1
  24. package/build/components/text-button.mjs +32 -30
  25. package/build/components/text.d.ts +5 -1
  26. package/build/components/text.js +1 -1
  27. package/build/components/text.mjs +50 -32
  28. package/build/components/veil.d.ts +2 -1
  29. package/build/components/veil.js +1 -1
  30. package/build/components/veil.mjs +12 -10
  31. package/build/components.css +1 -1
  32. package/build/index.js +1 -1
  33. package/build/index.mjs +108 -106
  34. package/build/theme.d.ts +0 -1
  35. package/build/theme.js +1 -1
  36. package/build/theme.mjs +10 -11
  37. package/package.json +1 -1
package/build/index.mjs CHANGED
@@ -1,15 +1,15 @@
1
- import { FontFamilyHeadLink as t, buttonResetStyles as a, darkBackgroundColor as r, effectStyles as f, font as l, greenColor as d, lightBackgroundColor as u, nonInteractiveEffectStyles as s, overflowProtectionStyles as p, default as m } from "./theme.mjs";
2
- import { default as x, defaultAtomElementType as i } from "./components/atom.mjs";
3
- import { default as S, ariaTextStyles as c } from "./components/aria-text.mjs";
4
- import { default as k } from "./components/box.mjs";
5
- import { default as T, ButtonVariant as L, buttonDangerStyles as C, buttonSecondaryStyles as B, buttonSuccessStyles as v, buttonWarningStyles as G } from "./components/button.mjs";
1
+ import { FontFamilyHeadLink 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
+ import { default as n, defaultAtomElementType as x } from "./components/atom.mjs";
3
+ import { default as g, ariaTextStyles as S } from "./components/aria-text.mjs";
4
+ import { default as y } from "./components/box.mjs";
5
+ import { default as h, ButtonVariant as L, buttonDangerStyles as T, buttonSecondaryStyles as B, buttonSuccessStyles as C, buttonWarningStyles as v } from "./components/button.mjs";
6
6
  import { default as b } from "./components/button-tooltip.mjs";
7
- import { default as M } from "./components/card.mjs";
8
- import { default as K } from "./components/click-ripples.mjs";
9
- import { default as R } from "./components/datum.mjs";
10
- import { default as E } from "./components/dot.mjs";
11
- import { default as H, FlexAlignment as N } from "./components/flex.mjs";
12
- import { default as W } from "./components/footer.mjs";
7
+ import { default as w } from "./components/card.mjs";
8
+ import { default as D } from "./components/click-ripples.mjs";
9
+ import { default as P } from "./components/datum.mjs";
10
+ import { default as A } from "./components/dot.mjs";
11
+ import { default as H, FlexAlignment as E } from "./components/flex.mjs";
12
+ import { default as V, FooterLinkItem as W } from "./components/footer.mjs";
13
13
  import { default as Q } from "./components/gauge.mjs";
14
14
  import { default as q } from "./components/header.mjs";
15
15
  import { default as J, normalBlendStyles as O } from "./components/hover-gradient.mjs";
@@ -24,150 +24,152 @@ import { default as xe } from "./components/gjensidige-logo.mjs";
24
24
  import { default as ge } from "./components/sparebank1-logo.mjs";
25
25
  import { default as ce } from "./components/sto-logo.mjs";
26
26
  import { default as ke } from "./components/storebrand-logo.mjs";
27
- import { default as Te, useModal as Le, useModalContext as Ce } from "./components/modal.mjs";
27
+ import { default as Le, useModal as Te, useModalContext as Be } from "./components/modal.mjs";
28
28
  import { default as ve } from "./components/moving-gradients.mjs";
29
- import { default as Ie } from "./components/moving-stars.mjs";
29
+ import { default as be } from "./components/moving-stars.mjs";
30
30
  import { default as we, NoticeType as Me } from "./components/notice.mjs";
31
31
  import { default as Ke, NotificationProvider as Pe, useCreateNotification as Re } from "./components/notification.mjs";
32
- import { default as Ee, useRevealer as Fe } from "./components/revealer.mjs";
32
+ import { default as Fe, useRevealer as He } from "./components/revealer.mjs";
33
33
  import { default as Ne, SeparatorLabel as Ve, SmallSeparator as We } from "./components/separator.mjs";
34
34
  import { default as Qe, SkeletonInstance as Ue } from "./components/skeleton.mjs";
35
35
  import { RevealSpinner as ze, default as Je } from "./components/spinner.mjs";
36
- import { Heading as Xe, Hero as Ye, Paragraph as Ze, Span as _e, default as $e, spanStyles as eo, textShadowStyles as oo } from "./components/text.mjs";
37
- import { default as ao, TextButtonVariant as ro } from "./components/text-button.mjs";
38
- import { default as lo, getThemePreference as uo, setThemePreference as so, themePreferences as po, useIsDarkMode as mo, useIsLightMode as no, useTheme as xo } from "./components/theme-setter.mjs";
39
- import { default as go } from "./components/veil.mjs";
40
- import { default as co, WrapperWidth as yo } from "./components/wrapper.mjs";
41
- import { default as ho, IconType as To, iconShadowStyles as Lo } from "./icons/icon.mjs";
42
- import { default as Bo } from "./icons/arrow-down.mjs";
36
+ import { AnchorHeading as Xe, Heading as Ye, Hero as Ze, Label as _e, Paragraph as $e, Span as eo, default as oo, spanStyles as to, textShadowStyles as ao } from "./components/text.mjs";
37
+ import { default as fo, TextButtonVariant as lo } from "./components/text-button.mjs";
38
+ import { default as so, getThemePreference as po, setThemePreference as mo, themePreferences as no, useIsDarkMode as xo, useIsLightMode as io, useTheme as go } from "./components/theme-setter.mjs";
39
+ import { default as co } from "./components/veil.mjs";
40
+ import { default as ko, WrapperWidth as ho } from "./components/wrapper.mjs";
41
+ import { default as To, IconType as Bo, iconShadowStyles as Co } from "./icons/icon.mjs";
42
+ import { default as Io } from "./icons/arrow-down.mjs";
43
43
  import { default as Go } from "./icons/caret-down.mjs";
44
- import { default as bo } from "./icons/caret-right.mjs";
45
- import { default as Mo } from "./icons/check.mjs";
46
- import { default as Ko } from "./icons/chevron-down.mjs";
47
- import { default as Ro } from "./icons/chevron-up.mjs";
44
+ import { default as Mo } from "./icons/caret-right.mjs";
45
+ import { default as Ko } from "./icons/check.mjs";
46
+ import { default as Ro } from "./icons/chevron-down.mjs";
47
+ import { default as Fo } from "./icons/chevron-up.mjs";
48
48
  import { default as Eo } from "./icons/chrome-browser-logo.mjs";
49
- import { default as Ho } from "./icons/copy.mjs";
50
- import { default as Vo } from "./icons/edit.mjs";
51
- import { default as jo } from "./icons/edge-browser-logo.mjs";
52
- import { default as Uo } from "./icons/exclamation-triangle.mjs";
53
- import { default as zo } from "./icons/kakadu-guide.mjs";
54
- import { default as Oo } from "./icons/kakadu-guide-glyph.mjs";
55
- import { default as Yo } from "./icons/menu.mjs";
56
- import { default as _o } from "./icons/plus.mjs";
57
- import { default as et } from "./icons/test.mjs";
58
- import { default as tt } from "./icons/times.mjs";
59
- import { default as rt } from "./hooks/use-media-query.mjs";
60
- import { default as lt } from "./utilities/copy-to-clipboard.mjs";
61
- import { default as ut } from "./utilities/generate-random-id.mjs";
62
- import { default as pt } from "./utilities/scale.mjs";
49
+ import { default as Vo } from "./icons/copy.mjs";
50
+ import { default as jo } from "./icons/edit.mjs";
51
+ import { default as Uo } from "./icons/edge-browser-logo.mjs";
52
+ import { default as zo } from "./icons/exclamation-triangle.mjs";
53
+ import { default as Oo } from "./icons/kakadu-guide.mjs";
54
+ import { default as Yo } from "./icons/kakadu-guide-glyph.mjs";
55
+ import { default as _o } from "./icons/menu.mjs";
56
+ import { default as et } from "./icons/plus.mjs";
57
+ import { default as tt } from "./icons/test.mjs";
58
+ import { default as rt } from "./icons/times.mjs";
59
+ import { default as lt } from "./hooks/use-media-query.mjs";
60
+ import { default as ut } from "./utilities/copy-to-clipboard.mjs";
61
+ import { default as pt } from "./utilities/generate-random-id.mjs";
62
+ import { default as nt } from "./utilities/scale.mjs";
63
63
  export {
64
- S as AriaText,
65
- Bo as ArrowDown,
66
- x as Atom,
64
+ Xe as AnchorHeading,
65
+ g as AriaText,
66
+ Io as ArrowDown,
67
+ n as Atom,
67
68
  se as BankidLogo,
68
- k as Box,
69
- T as Button,
69
+ y as Box,
70
+ h as Button,
70
71
  b as ButtonTooltip,
71
72
  L as ButtonVariant,
72
- M as Card,
73
+ w as Card,
73
74
  Go as CaretDown,
74
- bo as CaretRight,
75
- Mo as Check,
76
- Ko as ChevronDown,
77
- Ro as ChevronUp,
75
+ Mo as CaretRight,
76
+ Ko as Check,
77
+ Ro as ChevronDown,
78
+ Fo as ChevronUp,
78
79
  Eo as ChromeBrowserLogo,
79
- K as ClickRipples,
80
- Ho as Copy,
81
- R as Datum,
80
+ D as ClickRipples,
81
+ Vo as Copy,
82
+ P as Datum,
82
83
  me as DnbLogo,
83
- E as Dot,
84
- jo as EdgeBrowserLogo,
85
- Vo as Edit,
86
- Uo as ExclamationTriangle,
84
+ A as Dot,
85
+ Uo as EdgeBrowserLogo,
86
+ jo as Edit,
87
+ zo as ExclamationTriangle,
87
88
  H as Flex,
88
- N as FlexAlignment,
89
+ E as FlexAlignment,
89
90
  t as FontFamilyHeadLink,
90
- W as Footer,
91
+ V as Footer,
92
+ W as FooterLinkItem,
91
93
  Q as Gauge,
92
94
  xe as GjensidigeLogo,
93
95
  q as Header,
94
- Xe as Heading,
95
- Ye as Hero,
96
+ Ye as Heading,
97
+ Ze as Hero,
96
98
  J as HoverGradient,
97
- ho as Icon,
99
+ To as Icon,
98
100
  Y as IconButton,
99
101
  Z as IconButtonVariant,
100
- To as IconType,
101
- zo as KakaduGuide,
102
- Oo as KakaduGuideGlyph,
102
+ Bo as IconType,
103
+ Oo as KakaduGuide,
104
+ Yo as KakaduGuideGlyph,
103
105
  $ as KakaduGuideIcon,
104
106
  oe as KakaduGuideLogo,
105
107
  te as KakaduGuideLogoSvg,
106
108
  ae as KakaduGuideLogoVariant,
107
109
  fe as KakaduIndexLogo,
108
110
  de as KakaduLogo,
109
- Yo as Menu,
110
- Te as Modal,
111
+ _e as Label,
112
+ _o as Menu,
113
+ Le as Modal,
111
114
  ve as MovingGradients,
112
- Ie as MovingStars,
115
+ be as MovingStars,
113
116
  we as Notice,
114
117
  Me as NoticeType,
115
118
  Ke as Notification,
116
119
  Pe as NotificationProvider,
117
- Ze as Paragraph,
118
- _o as Plus,
120
+ $e as Paragraph,
121
+ et as Plus,
119
122
  ze as RevealSpinner,
120
- Ee as Revealer,
123
+ Fe as Revealer,
121
124
  Ne as Separator,
122
125
  Ve as SeparatorLabel,
123
126
  Qe as Skeleton,
124
127
  Ue as SkeletonInstance,
125
128
  We as SmallSeparator,
126
- _e as Span,
129
+ eo as Span,
127
130
  ge as Sparebank1Logo,
128
131
  Je as Spinner,
129
132
  ce as StoLogo,
130
133
  ke as StorebrandLogo,
131
- et as Test,
132
- $e as Text,
133
- ao as TextButton,
134
- ro as TextButtonVariant,
135
- lo as ThemeSetter,
136
- tt as Times,
137
- go as Veil,
138
- co as Wrapper,
139
- yo as WrapperWidth,
140
- c as ariaTextStyles,
141
- C as buttonDangerStyles,
134
+ tt as Test,
135
+ oo as Text,
136
+ fo as TextButton,
137
+ lo as TextButtonVariant,
138
+ so as ThemeSetter,
139
+ rt as Times,
140
+ co as Veil,
141
+ ko as Wrapper,
142
+ ho as WrapperWidth,
143
+ S as ariaTextStyles,
144
+ T as buttonDangerStyles,
142
145
  a as buttonResetStyles,
143
146
  B as buttonSecondaryStyles,
144
- v as buttonSuccessStyles,
145
- G as buttonWarningStyles,
146
- lt as copyToClipboard,
147
+ C as buttonSuccessStyles,
148
+ v as buttonWarningStyles,
149
+ ut as copyToClipboard,
147
150
  r as darkBackgroundColor,
148
- i as defaultAtomElementType,
151
+ x as defaultAtomElementType,
149
152
  f as effectStyles,
150
153
  l as font,
151
- ut as generateRandomId,
152
- uo as getThemePreference,
153
- d as greenColor,
154
- Lo as iconShadowStyles,
155
- u as lightBackgroundColor,
156
- s as nonInteractiveEffectStyles,
154
+ pt as generateRandomId,
155
+ po as getThemePreference,
156
+ Co as iconShadowStyles,
157
+ d as lightBackgroundColor,
158
+ u as nonInteractiveEffectStyles,
157
159
  O as normalBlendStyles,
158
- p as overflowProtectionStyles,
159
- pt as scale,
160
- so as setThemePreference,
161
- eo as spanStyles,
162
- oo as textShadowStyles,
163
- m as theme,
164
- po as themePreferences,
160
+ s as overflowProtectionStyles,
161
+ nt as scale,
162
+ mo as setThemePreference,
163
+ to as spanStyles,
164
+ ao as textShadowStyles,
165
+ p as theme,
166
+ no as themePreferences,
165
167
  Re as useCreateNotification,
166
- mo as useIsDarkMode,
167
- no as useIsLightMode,
168
- rt as useMediaQuery,
169
- Le as useModal,
170
- Ce as useModalContext,
171
- Fe as useRevealer,
172
- xo as useTheme
168
+ xo as useIsDarkMode,
169
+ io as useIsLightMode,
170
+ lt as useMediaQuery,
171
+ Te as useModal,
172
+ Be as useModalContext,
173
+ He as useRevealer,
174
+ go as useTheme
173
175
  };
package/build/theme.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export declare const lightBackgroundColor = "#f8fafc";
2
2
  export declare const darkBackgroundColor = "#0c0d12";
3
- export declare const greenColor = "#4ca486";
4
3
  export declare const font: {
5
4
  family: string;
6
5
  stylesheet: string;
package/build/theme.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./jsx-runtime-BB_1_6y_.js"),r=require("@kuma-ui/core"),c="#f8fafc",l="#0c0d12",a="#4ca486",e={family:"Inter, sans-serif",stylesheet:"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",preconnect:[{url:"https://fonts.googleapis.com"},{url:"https://fonts.gstatic.com",crossorigin:!0}]};function i(){return t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[e.preconnect.map(({url:o,crossorigin:s})=>t.jsxRuntimeExports.jsx("link",{href:o,rel:"preconnect",crossOrigin:s?"anonymous":void 0},o)),t.jsxRuntimeExports.jsx("link",{href:e.stylesheet,rel:"stylesheet"})]})}const u="kakadu-components-2735574809",f="kakadu-components-4178476647",m="kakadu-components-216224454",n="kakadu-components-352310015",p=r.cx(n,"kakadu-components-1119532724");exports.FontFamilyHeadLink=i;exports.buttonResetStyles=m;exports.darkBackgroundColor=l;exports.default=u;exports.effectStyles=n;exports.font=e;exports.greenColor=a;exports.lightBackgroundColor=c;exports.nonInteractiveEffectStyles=p;exports.overflowProtectionStyles=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./jsx-runtime-BB_1_6y_.js"),r=require("@kuma-ui/core"),c="#f8fafc",a="#0c0d12",e={family:"Inter, sans-serif",stylesheet:"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",preconnect:[{url:"https://fonts.googleapis.com"},{url:"https://fonts.gstatic.com",crossorigin:!0}]};function l(){return t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[e.preconnect.map(({url:o,crossorigin:s})=>t.jsxRuntimeExports.jsx("link",{href:o,rel:"preconnect",crossOrigin:s?"anonymous":void 0},o)),t.jsxRuntimeExports.jsx("link",{href:e.stylesheet,rel:"stylesheet"})]})}const i="kakadu-components-973047807",u="kakadu-components-4178476647",f="kakadu-components-216224454",n="kakadu-components-352310015",m=r.cx(n,"kakadu-components-1119532724");exports.FontFamilyHeadLink=l;exports.buttonResetStyles=f;exports.darkBackgroundColor=a;exports.default=i;exports.effectStyles=n;exports.font=e;exports.lightBackgroundColor=c;exports.nonInteractiveEffectStyles=m;exports.overflowProtectionStyles=u;
package/build/theme.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { j as t } from "./jsx-runtime-B4hRZ52C.mjs";
2
2
  import { cx as n } from "@kuma-ui/core";
3
- const l = "#f8fafc", i = "#0c0d12", f = "#4ca486", s = {
3
+ const i = "#f8fafc", l = "#0c0d12", s = {
4
4
  family: "Inter, sans-serif",
5
5
  stylesheet: "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",
6
6
  preconnect: [{
@@ -10,7 +10,7 @@ const l = "#f8fafc", i = "#0c0d12", f = "#4ca486", s = {
10
10
  crossorigin: !0
11
11
  }]
12
12
  };
13
- function p() {
13
+ function f() {
14
14
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
15
15
  s.preconnect.map(({
16
16
  url: o,
@@ -19,16 +19,15 @@ function p() {
19
19
  /* @__PURE__ */ t.jsx("link", { href: s.stylesheet, rel: "stylesheet" })
20
20
  ] });
21
21
  }
22
- const m = "kakadu-components-2735574809", k = "kakadu-components-4178476647", u = "kakadu-components-216224454", c = "kakadu-components-352310015", d = n(c, "kakadu-components-1119532724");
22
+ const p = "kakadu-components-973047807", m = "kakadu-components-4178476647", k = "kakadu-components-216224454", c = "kakadu-components-352310015", u = n(c, "kakadu-components-1119532724");
23
23
  export {
24
- p as FontFamilyHeadLink,
25
- u as buttonResetStyles,
26
- i as darkBackgroundColor,
27
- m as default,
24
+ f as FontFamilyHeadLink,
25
+ k as buttonResetStyles,
26
+ l as darkBackgroundColor,
27
+ p as default,
28
28
  c as effectStyles,
29
29
  s as font,
30
- f as greenColor,
31
- l as lightBackgroundColor,
32
- d as nonInteractiveEffectStyles,
33
- k as overflowProtectionStyles
30
+ i as lightBackgroundColor,
31
+ u as nonInteractiveEffectStyles,
32
+ m as overflowProtectionStyles
34
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kakadu/components",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "Kakadu components library",
5
5
  "license": "MIT",
6
6
  "main": "./build/index.js",