@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.
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Divider } from '.';
3
+
4
+ declare const _default: Meta<typeof Divider>;
5
+ export default _default;
6
+ type Story = StoryObj<typeof Divider>;
7
+ export declare const GeneralUsage: Story;
@@ -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 = "_form_1m3m6_1", V3 = {
16823
- form: L3
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: V3.form,
16834
+ className: H3.form,
16833
16835
  onSubmit: t.handleSubmit((r) => n(r)),
16834
16836
  ...o,
16835
16837
  children: e
16836
16838
  }
16837
- ) }), K3 = "_root_78siu_2", H3 = "_inter_78siu_7", U3 = "_brygada_78siu_11", j3 = "_xxl_78siu_15", W3 = "_xl_78siu_21", Q3 = "_lg_78siu_27", z3 = "_md_78siu_33", q3 = "_sm_78siu_39", G3 = "_xs_78siu_45", Y3 = "_regular_78siu_51", Z3 = "_medium_78siu_52", X3 = "_bold_78siu_53", Ur = {
16838
- root: K3,
16839
- inter: H3,
16840
- brygada: U3,
16841
- xxl: j3,
16842
- xl: W3,
16843
- lg: Q3,
16844
- md: z3,
16845
- sm: q3,
16846
- xs: G3,
16847
- regular: Y3,
16848
- medium: Z3,
16849
- bold: X3
16850
- }, J3 = {
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
- }, $3 = Le(
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 || J3[o];
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
- $3.displayName = "Heading";
16888
- const _3 = "_horizontalRule_18khc_1", e5 = {
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 = "_root_174g4_1", r7 = "_label_174g4_74", i7 = "_helper_174g4_80", s7 = "_overline_174g4_86", a7 = "_tag_174g4_93", l7 = "_light_174g4_101", u7 = "_regular_174g4_102", pa = {
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-lead_174g4_8",
23543
- "body-xl": "_body-xl_174g4_14",
23544
- "body-lg": "_body-lg_174g4_20",
23545
- "body-md": "_body-md_174g4_26",
23546
- "body-sm": "_body-sm_174g4_32",
23547
- "body-xs": "_body-xs_174g4_38",
23548
- "button-md": "_button-md_174g4_45",
23549
- "button-sm": "_button-sm_174g4_51",
23550
- "input-regular": "_input-regular_174g4_59",
23551
- "input-semi-bold": "_input-semi-bold_174g4_66",
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-bold_174g4_103"
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
- S9 as Form,
24179
- $3 as Heading,
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,