@kakadu/components 1.4.3 → 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.
- package/build/components/box.js +1 -1
- package/build/components/box.mjs +1 -1
- package/build/components/click-ripples.js +1 -1
- package/build/components/click-ripples.mjs +1 -1
- package/build/components/footer.d.ts +7 -1
- package/build/components/footer.js +1 -1
- package/build/components/footer.mjs +50 -44
- package/build/components/gauge.d.ts +2 -1
- package/build/components/gauge.js +1 -1
- package/build/components/gauge.mjs +46 -26
- package/build/components/hover-gradient.js +1 -1
- package/build/components/hover-gradient.mjs +1 -1
- package/build/components/kakadu-guide-icon.js +1 -1
- package/build/components/kakadu-guide-icon.mjs +12 -10
- package/build/components/modal.js +1 -1
- package/build/components/modal.mjs +1 -1
- package/build/components/notice.js +1 -1
- package/build/components/notice.mjs +2 -2
- package/build/components/separator.d.ts +1 -1
- package/build/components/separator.js +1 -1
- package/build/components/separator.mjs +21 -20
- package/build/components/text-button.d.ts +3 -2
- package/build/components/text-button.js +1 -1
- package/build/components/text-button.mjs +32 -30
- package/build/components/text.js +1 -1
- package/build/components/text.mjs +21 -21
- package/build/components/veil.d.ts +2 -1
- package/build/components/veil.js +1 -1
- package/build/components/veil.mjs +12 -10
- package/build/components.css +1 -1
- package/build/index.js +1 -1
- package/build/index.mjs +65 -65
- package/build/theme.d.ts +0 -1
- package/build/theme.js +1 -1
- package/build/theme.mjs +10 -11
- 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,
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default 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 W } from "./components/footer.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
|
+
import { default as b } from "./components/button-tooltip.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";
|
|
@@ -19,33 +19,33 @@ import { default as oe, KakaduGuideLogoSvg as te, KakaduGuideLogoVariant as ae }
|
|
|
19
19
|
import { default as fe } from "./components/kakadu-index-logo.mjs";
|
|
20
20
|
import { default as de } from "./components/kakadu-logo.mjs";
|
|
21
21
|
import { default as se } from "./components/bankid-logo.mjs";
|
|
22
|
-
import { default as
|
|
22
|
+
import { default as me } from "./components/dnb-logo.mjs";
|
|
23
23
|
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
|
-
import { default as
|
|
27
|
-
import { default as Le, useModal as Te, useModalContext as
|
|
26
|
+
import { default as ke } from "./components/storebrand-logo.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
|
|
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
|
|
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
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
37
|
import { default as fo, TextButtonVariant as lo } from "./components/text-button.mjs";
|
|
38
|
-
import { default as so, getThemePreference as po, setThemePreference as
|
|
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
39
|
import { default as co } from "./components/veil.mjs";
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as To, IconType as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
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
|
+
import { default as Go } from "./icons/caret-down.mjs";
|
|
44
44
|
import { default as Mo } from "./icons/caret-right.mjs";
|
|
45
45
|
import { default as Ko } from "./icons/check.mjs";
|
|
46
46
|
import { default as Ro } from "./icons/chevron-down.mjs";
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
47
|
+
import { default as Fo } from "./icons/chevron-up.mjs";
|
|
48
|
+
import { default as Eo } from "./icons/chrome-browser-logo.mjs";
|
|
49
49
|
import { default as Vo } from "./icons/copy.mjs";
|
|
50
50
|
import { default as jo } from "./icons/edit.mjs";
|
|
51
51
|
import { default as Uo } from "./icons/edge-browser-logo.mjs";
|
|
@@ -59,36 +59,37 @@ import { default as rt } from "./icons/times.mjs";
|
|
|
59
59
|
import { default as lt } from "./hooks/use-media-query.mjs";
|
|
60
60
|
import { default as ut } from "./utilities/copy-to-clipboard.mjs";
|
|
61
61
|
import { default as pt } from "./utilities/generate-random-id.mjs";
|
|
62
|
-
import { default as
|
|
62
|
+
import { default as nt } from "./utilities/scale.mjs";
|
|
63
63
|
export {
|
|
64
64
|
Xe as AnchorHeading,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
g as AriaText,
|
|
66
|
+
Io as ArrowDown,
|
|
67
|
+
n as Atom,
|
|
68
68
|
se as BankidLogo,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
y as Box,
|
|
70
|
+
h as Button,
|
|
71
|
+
b as ButtonTooltip,
|
|
72
|
+
L as ButtonVariant,
|
|
73
|
+
w as Card,
|
|
74
|
+
Go as CaretDown,
|
|
75
75
|
Mo as CaretRight,
|
|
76
76
|
Ko as Check,
|
|
77
77
|
Ro as ChevronDown,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
Fo as ChevronUp,
|
|
79
|
+
Eo as ChromeBrowserLogo,
|
|
80
|
+
D as ClickRipples,
|
|
81
81
|
Vo as Copy,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
P as Datum,
|
|
83
|
+
me as DnbLogo,
|
|
84
|
+
A as Dot,
|
|
85
85
|
Uo as EdgeBrowserLogo,
|
|
86
86
|
jo as Edit,
|
|
87
87
|
zo as ExclamationTriangle,
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
H as Flex,
|
|
89
|
+
E as FlexAlignment,
|
|
90
90
|
t as FontFamilyHeadLink,
|
|
91
|
-
|
|
91
|
+
V as Footer,
|
|
92
|
+
W as FooterLinkItem,
|
|
92
93
|
Q as Gauge,
|
|
93
94
|
xe as GjensidigeLogo,
|
|
94
95
|
q as Header,
|
|
@@ -98,7 +99,7 @@ export {
|
|
|
98
99
|
To as Icon,
|
|
99
100
|
Y as IconButton,
|
|
100
101
|
Z as IconButtonVariant,
|
|
101
|
-
|
|
102
|
+
Bo as IconType,
|
|
102
103
|
Oo as KakaduGuide,
|
|
103
104
|
Yo as KakaduGuideGlyph,
|
|
104
105
|
$ as KakaduGuideIcon,
|
|
@@ -111,7 +112,7 @@ export {
|
|
|
111
112
|
_o as Menu,
|
|
112
113
|
Le as Modal,
|
|
113
114
|
ve as MovingGradients,
|
|
114
|
-
|
|
115
|
+
be as MovingStars,
|
|
115
116
|
we as Notice,
|
|
116
117
|
Me as NoticeType,
|
|
117
118
|
Ke as Notification,
|
|
@@ -119,7 +120,7 @@ export {
|
|
|
119
120
|
$e as Paragraph,
|
|
120
121
|
et as Plus,
|
|
121
122
|
ze as RevealSpinner,
|
|
122
|
-
|
|
123
|
+
Fe as Revealer,
|
|
123
124
|
Ne as Separator,
|
|
124
125
|
Ve as SeparatorLabel,
|
|
125
126
|
Qe as Skeleton,
|
|
@@ -129,7 +130,7 @@ export {
|
|
|
129
130
|
ge as Sparebank1Logo,
|
|
130
131
|
Je as Spinner,
|
|
131
132
|
ce as StoLogo,
|
|
132
|
-
|
|
133
|
+
ke as StorebrandLogo,
|
|
133
134
|
tt as Test,
|
|
134
135
|
oo as Text,
|
|
135
136
|
fo as TextButton,
|
|
@@ -137,39 +138,38 @@ export {
|
|
|
137
138
|
so as ThemeSetter,
|
|
138
139
|
rt as Times,
|
|
139
140
|
co as Veil,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
ko as Wrapper,
|
|
142
|
+
ho as WrapperWidth,
|
|
143
|
+
S as ariaTextStyles,
|
|
144
|
+
T as buttonDangerStyles,
|
|
144
145
|
a as buttonResetStyles,
|
|
145
146
|
B as buttonSecondaryStyles,
|
|
146
|
-
|
|
147
|
-
|
|
147
|
+
C as buttonSuccessStyles,
|
|
148
|
+
v as buttonWarningStyles,
|
|
148
149
|
ut as copyToClipboard,
|
|
149
150
|
r as darkBackgroundColor,
|
|
150
|
-
|
|
151
|
+
x as defaultAtomElementType,
|
|
151
152
|
f as effectStyles,
|
|
152
153
|
l as font,
|
|
153
154
|
pt as generateRandomId,
|
|
154
155
|
po as getThemePreference,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
u as
|
|
158
|
-
s as nonInteractiveEffectStyles,
|
|
156
|
+
Co as iconShadowStyles,
|
|
157
|
+
d as lightBackgroundColor,
|
|
158
|
+
u as nonInteractiveEffectStyles,
|
|
159
159
|
O as normalBlendStyles,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
s as overflowProtectionStyles,
|
|
161
|
+
nt as scale,
|
|
162
|
+
mo as setThemePreference,
|
|
163
163
|
to as spanStyles,
|
|
164
164
|
ao as textShadowStyles,
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
p as theme,
|
|
166
|
+
no as themePreferences,
|
|
167
167
|
Re as useCreateNotification,
|
|
168
168
|
xo as useIsDarkMode,
|
|
169
169
|
io as useIsLightMode,
|
|
170
170
|
lt as useMediaQuery,
|
|
171
171
|
Te as useModal,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
Be as useModalContext,
|
|
173
|
+
He as useRevealer,
|
|
174
174
|
go as useTheme
|
|
175
175
|
};
|
package/build/theme.d.ts
CHANGED
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",
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
k as overflowProtectionStyles
|
|
30
|
+
i as lightBackgroundColor,
|
|
31
|
+
u as nonInteractiveEffectStyles,
|
|
32
|
+
m as overflowProtectionStyles
|
|
34
33
|
};
|