@kroo-web/design-system 1.22.4 → 1.22.5
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/dist/components/Divider/Divider.stories.d.ts +7 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/index.js +39 -39
- package/dist/index.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/HorizontalRule/HorizontalRule.stories.d.ts +0 -7
- package/dist/components/HorizontalRule/index.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Divider: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,9 +8,9 @@ export * from './Columns';
|
|
|
8
8
|
export * from './ComboBox';
|
|
9
9
|
export * from './DatePicker';
|
|
10
10
|
export * from './Disclosure';
|
|
11
|
+
export * from './Divider';
|
|
11
12
|
export * from './Form';
|
|
12
13
|
export * from './Heading';
|
|
13
|
-
export * from './HorizontalRule';
|
|
14
14
|
export * from './Icon';
|
|
15
15
|
export * from './Link';
|
|
16
16
|
export * from './Loading';
|
package/dist/index.js
CHANGED
|
@@ -16819,9 +16819,11 @@ const F3 = {
|
|
|
16819
16819
|
variants: F3,
|
|
16820
16820
|
children: e
|
|
16821
16821
|
}
|
|
16822
|
-
), L3 = "
|
|
16823
|
-
|
|
16824
|
-
}, S9 = ({
|
|
16822
|
+
), L3 = "_divider_9m0s8_1", V3 = {
|
|
16823
|
+
divider: L3
|
|
16824
|
+
}, S9 = () => /* @__PURE__ */ w("hr", { className: V3.divider }), K3 = "_form_1m3m6_1", H3 = {
|
|
16825
|
+
form: K3
|
|
16826
|
+
}, P9 = ({
|
|
16825
16827
|
children: e,
|
|
16826
16828
|
methods: t,
|
|
16827
16829
|
onSubmit: n,
|
|
@@ -16829,32 +16831,32 @@ const F3 = {
|
|
|
16829
16831
|
}) => /* @__PURE__ */ w(L0, { ...t, children: /* @__PURE__ */ w(
|
|
16830
16832
|
"form",
|
|
16831
16833
|
{
|
|
16832
|
-
className:
|
|
16834
|
+
className: H3.form,
|
|
16833
16835
|
onSubmit: t.handleSubmit((r) => n(r)),
|
|
16834
16836
|
...o,
|
|
16835
16837
|
children: e
|
|
16836
16838
|
}
|
|
16837
|
-
) }),
|
|
16838
|
-
root:
|
|
16839
|
-
inter:
|
|
16840
|
-
brygada:
|
|
16841
|
-
xxl:
|
|
16842
|
-
xl:
|
|
16843
|
-
lg:
|
|
16844
|
-
md:
|
|
16845
|
-
sm:
|
|
16846
|
-
xs:
|
|
16847
|
-
regular:
|
|
16848
|
-
medium:
|
|
16849
|
-
bold:
|
|
16850
|
-
},
|
|
16839
|
+
) }), U3 = "_root_i7wil_2", j3 = "_inter_i7wil_7", W3 = "_brygada_i7wil_11", Q3 = "_xxl_i7wil_15", z3 = "_xl_i7wil_21", q3 = "_lg_i7wil_27", G3 = "_md_i7wil_33", Y3 = "_sm_i7wil_39", Z3 = "_xs_i7wil_45", X3 = "_regular_i7wil_51", J3 = "_medium_i7wil_52", $3 = "_bold_i7wil_53", Ur = {
|
|
16840
|
+
root: U3,
|
|
16841
|
+
inter: j3,
|
|
16842
|
+
brygada: W3,
|
|
16843
|
+
xxl: Q3,
|
|
16844
|
+
xl: z3,
|
|
16845
|
+
lg: q3,
|
|
16846
|
+
md: G3,
|
|
16847
|
+
sm: Y3,
|
|
16848
|
+
xs: Z3,
|
|
16849
|
+
regular: X3,
|
|
16850
|
+
medium: J3,
|
|
16851
|
+
bold: $3
|
|
16852
|
+
}, _3 = {
|
|
16851
16853
|
1: "xxl",
|
|
16852
16854
|
2: "xl",
|
|
16853
16855
|
3: "lg",
|
|
16854
16856
|
4: "md",
|
|
16855
16857
|
5: "sm",
|
|
16856
16858
|
6: "xs"
|
|
16857
|
-
},
|
|
16859
|
+
}, e5 = Le(
|
|
16858
16860
|
({
|
|
16859
16861
|
children: e,
|
|
16860
16862
|
className: t,
|
|
@@ -16864,7 +16866,7 @@ const F3 = {
|
|
|
16864
16866
|
weight: i = "bold",
|
|
16865
16867
|
...s
|
|
16866
16868
|
}, a) => {
|
|
16867
|
-
const l = `h${o}`, u = r ||
|
|
16869
|
+
const l = `h${o}`, u = r || _3[o];
|
|
16868
16870
|
return process.env.NODE_ENV === "development" && o > 2 && n === "brygada" && console.warn(
|
|
16869
16871
|
`[Design System]: Font 'brygada' is only allowed on levels 1 and 2. You used level ${o}.`
|
|
16870
16872
|
), /* @__PURE__ */ w(
|
|
@@ -16884,10 +16886,8 @@ const F3 = {
|
|
|
16884
16886
|
);
|
|
16885
16887
|
}
|
|
16886
16888
|
);
|
|
16887
|
-
|
|
16888
|
-
const
|
|
16889
|
-
horizontalRule: _3
|
|
16890
|
-
}, P9 = () => /* @__PURE__ */ w("hr", { className: e5.horizontalRule }), t5 = "_link_1bcin_1", n5 = {
|
|
16889
|
+
e5.displayName = "Heading";
|
|
16890
|
+
const t5 = "_link_1bcin_1", n5 = {
|
|
16891
16891
|
link: t5
|
|
16892
16892
|
}, T9 = ({
|
|
16893
16893
|
as: e,
|
|
@@ -23537,25 +23537,25 @@ const UR = "_list_24s9t_2", jR = "_trigger_24s9t_8", g0 = {
|
|
|
23537
23537
|
Content: n7,
|
|
23538
23538
|
Icon: je,
|
|
23539
23539
|
Root: t7
|
|
23540
|
-
}, o7 = "
|
|
23540
|
+
}, o7 = "_root_1ywi1_1", r7 = "_label_1ywi1_74", i7 = "_helper_1ywi1_80", s7 = "_overline_1ywi1_86", a7 = "_tag_1ywi1_93", l7 = "_light_1ywi1_101", u7 = "_regular_1ywi1_102", pa = {
|
|
23541
23541
|
root: o7,
|
|
23542
|
-
"body-lead": "_body-
|
|
23543
|
-
"body-xl": "_body-
|
|
23544
|
-
"body-lg": "_body-
|
|
23545
|
-
"body-md": "_body-
|
|
23546
|
-
"body-sm": "_body-
|
|
23547
|
-
"body-xs": "_body-
|
|
23548
|
-
"button-md": "_button-
|
|
23549
|
-
"button-sm": "_button-
|
|
23550
|
-
"input-regular": "_input-
|
|
23551
|
-
"input-semi-bold": "_input-semi-
|
|
23542
|
+
"body-lead": "_body-lead_1ywi1_8",
|
|
23543
|
+
"body-xl": "_body-xl_1ywi1_14",
|
|
23544
|
+
"body-lg": "_body-lg_1ywi1_20",
|
|
23545
|
+
"body-md": "_body-md_1ywi1_26",
|
|
23546
|
+
"body-sm": "_body-sm_1ywi1_32",
|
|
23547
|
+
"body-xs": "_body-xs_1ywi1_38",
|
|
23548
|
+
"button-md": "_button-md_1ywi1_45",
|
|
23549
|
+
"button-sm": "_button-sm_1ywi1_51",
|
|
23550
|
+
"input-regular": "_input-regular_1ywi1_59",
|
|
23551
|
+
"input-semi-bold": "_input-semi-bold_1ywi1_66",
|
|
23552
23552
|
label: r7,
|
|
23553
23553
|
helper: i7,
|
|
23554
23554
|
overline: s7,
|
|
23555
23555
|
tag: a7,
|
|
23556
23556
|
light: l7,
|
|
23557
23557
|
regular: u7,
|
|
23558
|
-
"semi-bold": "_semi-
|
|
23558
|
+
"semi-bold": "_semi-bold_1ywi1_103"
|
|
23559
23559
|
}, Y9 = (e) => {
|
|
23560
23560
|
const {
|
|
23561
23561
|
as: t,
|
|
@@ -24174,10 +24174,10 @@ export {
|
|
|
24174
24174
|
C9 as ComboBox,
|
|
24175
24175
|
x9 as DatePicker,
|
|
24176
24176
|
E9 as Disclosure,
|
|
24177
|
+
S9 as Divider,
|
|
24177
24178
|
P3 as Field,
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
P9 as HorizontalRule,
|
|
24179
|
+
P9 as Form,
|
|
24180
|
+
e5 as Heading,
|
|
24181
24181
|
je as Icon,
|
|
24182
24182
|
D3 as Item,
|
|
24183
24183
|
T9 as Link,
|