@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.
- 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.d.ts +5 -1
- package/build/components/text.js +1 -1
- package/build/components/text.mjs +50 -32
- 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 +108 -106
- 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
|
|
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
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as H, FlexAlignment as
|
|
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
|
|
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
|
-
import {
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
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
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
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
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
Xe as AnchorHeading,
|
|
65
|
+
g as AriaText,
|
|
66
|
+
Io as ArrowDown,
|
|
67
|
+
n as Atom,
|
|
67
68
|
se as BankidLogo,
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
y as Box,
|
|
70
|
+
h as Button,
|
|
70
71
|
b as ButtonTooltip,
|
|
71
72
|
L as ButtonVariant,
|
|
72
|
-
|
|
73
|
+
w as Card,
|
|
73
74
|
Go as CaretDown,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
Mo as CaretRight,
|
|
76
|
+
Ko as Check,
|
|
77
|
+
Ro as ChevronDown,
|
|
78
|
+
Fo as ChevronUp,
|
|
78
79
|
Eo as ChromeBrowserLogo,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
D as ClickRipples,
|
|
81
|
+
Vo as Copy,
|
|
82
|
+
P as Datum,
|
|
82
83
|
me as DnbLogo,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
A as Dot,
|
|
85
|
+
Uo as EdgeBrowserLogo,
|
|
86
|
+
jo as Edit,
|
|
87
|
+
zo as ExclamationTriangle,
|
|
87
88
|
H as Flex,
|
|
88
|
-
|
|
89
|
+
E as FlexAlignment,
|
|
89
90
|
t as FontFamilyHeadLink,
|
|
90
|
-
|
|
91
|
+
V as Footer,
|
|
92
|
+
W as FooterLinkItem,
|
|
91
93
|
Q as Gauge,
|
|
92
94
|
xe as GjensidigeLogo,
|
|
93
95
|
q as Header,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
Ye as Heading,
|
|
97
|
+
Ze as Hero,
|
|
96
98
|
J as HoverGradient,
|
|
97
|
-
|
|
99
|
+
To as Icon,
|
|
98
100
|
Y as IconButton,
|
|
99
101
|
Z as IconButtonVariant,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
110
|
-
|
|
111
|
+
_e as Label,
|
|
112
|
+
_o as Menu,
|
|
113
|
+
Le as Modal,
|
|
111
114
|
ve as MovingGradients,
|
|
112
|
-
|
|
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
|
-
|
|
118
|
-
|
|
120
|
+
$e as Paragraph,
|
|
121
|
+
et as Plus,
|
|
119
122
|
ze as RevealSpinner,
|
|
120
|
-
|
|
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
|
-
|
|
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
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
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
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
C as buttonSuccessStyles,
|
|
148
|
+
v as buttonWarningStyles,
|
|
149
|
+
ut as copyToClipboard,
|
|
147
150
|
r as darkBackgroundColor,
|
|
148
|
-
|
|
151
|
+
x as defaultAtomElementType,
|
|
149
152
|
f as effectStyles,
|
|
150
153
|
l as font,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
u as
|
|
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
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
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
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
|
};
|