@wrdagency/blockout 0.0.19 → 0.1.1

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 (166) hide show
  1. package/dist/2NBKRL7C-BAzCMGOw.js +85 -0
  2. package/dist/2RSXSRCN-qt84MtKs.js +61 -0
  3. package/dist/4CMBR7SL-BAGv8IL2.js +308 -0
  4. package/dist/5JTVDSTH-CG1NL6Fw.js +174 -0
  5. package/dist/5VQZOHHZ-CscZGerP.js +59 -0
  6. package/dist/6VRAQV3D-2rb_aClP.js +201 -0
  7. package/dist/7PRQYBBV-91wrWGjk.js +17 -0
  8. package/dist/ArrowRight.es-xyNbtVOa.js +60 -0
  9. package/dist/DG5U6ZEL-CVj-Czp2.js +17 -0
  10. package/dist/F5MUBM3I-87B2_4WK.js +54 -0
  11. package/dist/LMDWO4NN--KEvZePp.js +610 -0
  12. package/dist/MTZPJQMC-DyCWBG18.js +14 -0
  13. package/dist/P7GR5CS5-BoOYUfSQ.js +19 -0
  14. package/dist/PFRGBC2K-BEg8ahbY.js +303 -0
  15. package/dist/RS7LB2H4-D0fWv5qu.js +15 -0
  16. package/dist/RZ4GPYOB-13-5LlEb.js +37 -0
  17. package/dist/S43UC3DV-Dn8EFLaT.js +22 -0
  18. package/dist/Square.es-KJLdY11q.js +72 -0
  19. package/dist/T7VMP3TM-DeRMoW8g.js +77 -0
  20. package/dist/TP7N7UIH-BHb1rEeb.js +34 -0
  21. package/dist/UQQRIHDV-Bu8e1bYU.js +69 -0
  22. package/dist/UYGDZTLQ-DcCmv5SE.js +12 -0
  23. package/dist/VIIRIBF3-D5DmZNtI.js +26 -0
  24. package/dist/WMYDSCNQ-Dy1O-Kdl.js +2405 -0
  25. package/dist/WYCIER3C-DRn904Gy.js +175 -0
  26. package/dist/YV4JVR4I-kvospPUa.js +351 -0
  27. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  28. package/dist/assets/button.css +1 -1
  29. package/dist/assets/index.css +1 -1
  30. package/dist/assets/index10.css +1 -1
  31. package/dist/assets/index11.css +1 -1
  32. package/dist/assets/index12.css +1 -1
  33. package/dist/assets/index13.css +1 -1
  34. package/dist/assets/index14.css +1 -0
  35. package/dist/assets/index15.css +1 -0
  36. package/dist/assets/index16.css +1 -0
  37. package/dist/assets/index17.css +1 -0
  38. package/dist/assets/index18.css +1 -0
  39. package/dist/assets/index2.css +1 -1
  40. package/dist/assets/index3.css +1 -1
  41. package/dist/assets/index4.css +1 -1
  42. package/dist/assets/index5.css +1 -1
  43. package/dist/assets/index6.css +1 -1
  44. package/dist/assets/index7.css +1 -1
  45. package/dist/assets/index8.css +1 -1
  46. package/dist/assets/index9.css +1 -1
  47. package/dist/assets/style.css +1 -1
  48. package/dist/assets/style2.css +1 -0
  49. package/dist/assets/style3.css +1 -0
  50. package/dist/assets/style4.css +1 -0
  51. package/dist/assets/styles.css +1 -1
  52. package/dist/components/block-editor/editor.d.ts +5 -0
  53. package/dist/components/block-editor/editor.js +6 -0
  54. package/dist/components/block-editor/index.d.ts +1 -0
  55. package/dist/components/block-editor/index.js +4 -0
  56. package/dist/components/breadcrumbs/index.js +87 -31
  57. package/dist/components/button/button.d.ts +1 -1
  58. package/dist/components/button/button.js +5 -5
  59. package/dist/components/button/icon.d.ts +1 -2
  60. package/dist/components/button/icon.js +10 -3
  61. package/dist/components/button/index.d.ts +4 -0
  62. package/dist/components/controls/base-control/affix.js +7 -7
  63. package/dist/components/controls/base-control/index.js +11 -11
  64. package/dist/components/controls/base-popover-control/index.d.ts +9 -0
  65. package/dist/components/controls/base-popover-control/index.js +47 -0
  66. package/dist/components/controls/checkbox-control/index.d.ts +8 -0
  67. package/dist/components/controls/checkbox-control/index.js +57 -0
  68. package/dist/components/controls/choice-control/choice.js +13 -11
  69. package/dist/components/controls/choice-control/index.js +1 -1
  70. package/dist/components/controls/index.d.ts +4 -1
  71. package/dist/components/controls/index.js +25 -16
  72. package/dist/components/controls/number-control/index.js +29 -27
  73. package/dist/components/controls/password-control/index.js +1 -1
  74. package/dist/components/controls/recurrence-control/index.d.ts +8 -0
  75. package/dist/components/controls/recurrence-control/index.js +208 -0
  76. package/dist/components/controls/select-control/component.d.ts +12 -0
  77. package/dist/components/controls/select-control/component.js +1879 -0
  78. package/dist/components/controls/select-control/index.d.ts +2 -12
  79. package/dist/components/controls/select-control/index.js +5 -1860
  80. package/dist/components/controls/select-control/options.d.ts +7 -0
  81. package/dist/components/controls/select-control/options.js +9 -0
  82. package/dist/components/controls/textarea-control/index.js +1 -1
  83. package/dist/components/controls/toggle-control/index.js +11 -9
  84. package/dist/components/controls/toggle-group-control/index.d.ts +19 -0
  85. package/dist/components/controls/toggle-group-control/index.js +50 -0
  86. package/dist/components/data-table/column.js +1 -1
  87. package/dist/components/data-table/header.js +120 -171
  88. package/dist/components/data-table/index.js +1 -1
  89. package/dist/components/filesystem/file.d.ts +7 -0
  90. package/dist/components/filesystem/file.js +44 -0
  91. package/dist/components/filesystem/folder.d.ts +6 -0
  92. package/dist/components/filesystem/folder.js +160 -0
  93. package/dist/components/filesystem/icon.d.ts +7 -0
  94. package/dist/components/filesystem/icon.js +908 -0
  95. package/dist/components/filesystem/index.js +14 -0
  96. package/dist/components/filesystem/list.d.ts +4 -0
  97. package/dist/components/filesystem/list.js +18 -0
  98. package/dist/components/filesystem/root.d.ts +3 -0
  99. package/dist/components/filesystem/root.js +7 -0
  100. package/dist/components/form/components/index.js +12 -12
  101. package/dist/components/form/components/pagination.js +23 -16
  102. package/dist/components/form/components/progress.d.ts +3 -2
  103. package/dist/components/index.d.ts +4 -0
  104. package/dist/components/index.js +48 -31
  105. package/dist/components/menu/index.js +24 -23
  106. package/dist/components/menu/item.js +1 -1
  107. package/dist/components/menu/items/action.js +1 -1
  108. package/dist/components/menu/items/spacer.js +14 -42
  109. package/dist/components/menu/items/submenu.js +2 -2
  110. package/dist/components/menu/items/toggle.js +25 -91
  111. package/dist/components/progress/index.d.ts +5 -3
  112. package/dist/components/progress/index.js +44 -27
  113. package/dist/components/tabs/index.js +12 -0
  114. package/dist/components/tabs/list.d.ts +7 -0
  115. package/dist/components/tabs/list.js +42 -0
  116. package/dist/components/tabs/panel.d.ts +8 -0
  117. package/dist/components/tabs/panel.js +132 -0
  118. package/dist/components/tabs/root.d.ts +9 -0
  119. package/dist/components/tabs/root.js +173 -0
  120. package/dist/components/tabs/tab.d.ts +7 -0
  121. package/dist/components/tabs/tab.js +81 -0
  122. package/dist/components/toolbar/index.js +27 -0
  123. package/dist/components/toolbar/root.d.ts +6 -0
  124. package/dist/components/toolbar/root.js +6 -0
  125. package/dist/composite-provider-DNftbE5U.js +10 -0
  126. package/dist/hooks/state.d.ts +4 -0
  127. package/dist/hooks/state.js +7 -0
  128. package/dist/hooks/theme.js +7 -38
  129. package/dist/index-1AjPIqTN.js +73 -0
  130. package/dist/index-Cgx3BqdJ.js +388 -0
  131. package/dist/index.js +61 -40
  132. package/dist/{item-D9r2-3fk.js → item-B1ugJ7YQ.js} +240 -234
  133. package/dist/options-Cfoqhxw2.js +96 -0
  134. package/dist/primitives/index.d.ts +2 -0
  135. package/dist/primitives/index.js +4 -0
  136. package/dist/primitives/resizable/index.js +1 -1
  137. package/dist/primitives/scroll-area/index.d.ts +7 -0
  138. package/dist/primitives/scroll-area/index.js +777 -0
  139. package/dist/primitives/truncate/index.d.ts +7 -0
  140. package/dist/primitives/truncate/index.js +46 -0
  141. package/dist/primitives/visually-hidden/index.d.ts +2 -2
  142. package/dist/primitives/visually-hidden/index.js +13 -3
  143. package/dist/root-CaKPdqzv.js +73 -0
  144. package/dist/types/date.d.ts +39 -0
  145. package/dist/types/date.js +1778 -0
  146. package/dist/types/options.d.ts +8 -6
  147. package/dist/utils/components.d.ts +5 -0
  148. package/dist/utils/components.js +14 -0
  149. package/dist/utils/date.d.ts +1 -0
  150. package/dist/utils/date.js +15 -0
  151. package/dist/utils/string.d.ts +4 -0
  152. package/dist/utils/string.js +18 -0
  153. package/package.json +4 -2
  154. package/dist/2NBKRL7C-D-Q0qGRV.js +0 -81
  155. package/dist/P7GR5CS5-qyeuZVEs.js +0 -640
  156. package/dist/T7VMP3TM-BxgFbvdx.js +0 -2106
  157. package/dist/UQQRIHDV-BGs025hb.js +0 -1046
  158. package/dist/VIIRIBF3-D9clDhln.js +0 -21
  159. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  160. package/dist/components/markdown/formats.d.ts +0 -11
  161. package/dist/components/markdown/formats.js +0 -318
  162. package/dist/components/markdown/index.d.ts +0 -7
  163. package/dist/components/markdown/index.js +0 -25845
  164. package/dist/components/markdown/types/format.d.ts +0 -27
  165. package/dist/components/markdown/types/format.js +0 -4
  166. package/dist/floating-ui.dom-9sqP7IwC.js +0 -1512
@@ -0,0 +1,14 @@
1
+ import { File as o } from "./file.js";
2
+ import { Folder as r } from "./folder.js";
3
+ import { Icon as m } from "./icon.js";
4
+ import { List as t } from "./list.js";
5
+ import { Root as i } from "./root.js";
6
+ import '../../assets/index10.css';const l = Object.assign(i, {
7
+ List: t,
8
+ File: o,
9
+ Folder: r,
10
+ Icon: m
11
+ });
12
+ export {
13
+ l as Filesystem
14
+ };
@@ -0,0 +1,4 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ export interface ListProps extends ComponentPropsWithoutRef<"div"> {
3
+ }
4
+ export declare const List: import('react').ForwardRefExoticComponent<ListProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,18 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { cn as e } from "../../utils/css.js";
3
+ import { forwardRef as s } from "react";
4
+ import { C as i } from "../../5JTVDSTH-CG1NL6Fw.js";
5
+ const c = s(
6
+ ({ className: r, ...m }, t) => /* @__PURE__ */ o(
7
+ i,
8
+ {
9
+ className: e("component-filesystem__list", r),
10
+ ref: t,
11
+ ...m,
12
+ render: /* @__PURE__ */ o("ol", {})
13
+ }
14
+ )
15
+ );
16
+ export {
17
+ c as List
18
+ };
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { ListProps } from './list';
3
+ export declare const Root: FC<ListProps>;
@@ -0,0 +1,7 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { List as t } from "./list.js";
3
+ import { C as i } from "../../composite-provider-DNftbE5U.js";
4
+ const p = ({ ...r }) => /* @__PURE__ */ o(i, { orientation: "vertical", children: /* @__PURE__ */ o(t, { ...r }) });
5
+ export {
6
+ p as Root
7
+ };
@@ -1,17 +1,17 @@
1
1
  import { FormDescription as o } from "./description.js";
2
- import { FormPagination as r } from "./pagination.js";
3
- import { FormProgress as m } from "./progress.js";
4
- import { FormStep as i } from "./step.js";
5
- import { FormTitle as t } from "./title.js";
6
- import { Form as p } from "./form.js";
7
- import { FormRow as e } from "./row.js";
8
- const P = Object.assign(p, {
9
- Title: t,
2
+ import { Form as r } from "./form.js";
3
+ import { FormPagination as m } from "./pagination.js";
4
+ import { FormProgress as i } from "./progress.js";
5
+ import { FormRow as t } from "./row.js";
6
+ import { FormStep as p } from "./step.js";
7
+ import { FormTitle as e } from "./title.js";
8
+ const P = Object.assign(r, {
9
+ Title: e,
10
10
  Description: o,
11
- Pagination: r,
12
- Progress: m,
13
- Step: i,
14
- Row: e
11
+ Pagination: m,
12
+ Progress: i,
13
+ Step: p,
14
+ Row: t
15
15
  });
16
16
  export {
17
17
  P as Form
@@ -1,27 +1,31 @@
1
- import { jsxs as m, jsx as n } from "react/jsx-runtime";
2
- import { Button as i } from "../../button/index.js";
1
+ import { jsxs as n, jsx as i } from "react/jsx-runtime";
2
+ import { Button as o } from "../../button/index.js";
3
3
  import { cn as l } from "../../../utils/css.js";
4
- import { useForm as u } from "../types/form.js";
5
- const f = ({
6
- className: o,
4
+ import { o as u, a as s } from "../../../ArrowRight.es-xyNbtVOa.js";
5
+ import { useForm as p } from "../types/form.js";
6
+ const h = ({
7
+ className: a,
7
8
  submitText: c = "Submit",
8
- ...a
9
+ ...m
9
10
  }) => {
10
- const { step: t } = u(), r = t.all[t.current - 2], e = t.all[t.current];
11
- return /* @__PURE__ */ m("nav", { className: l("component-form-pagination", o), ...a, children: [
11
+ const { step: t } = p(), r = t.all[t.current - 2], e = t.all[t.current];
12
+ return /* @__PURE__ */ n("nav", { className: l("component-form-pagination", a), ...m, children: [
12
13
  /* @__PURE__ */ n(
13
- i,
14
+ o,
14
15
  {
15
16
  wide: !0,
16
17
  variant: "quiet",
17
18
  disabled: t.current === 1,
18
19
  onClick: t.back,
19
- children: `Back${r != null && r.title ? `: ${r.title}` : ""}`
20
+ children: [
21
+ /* @__PURE__ */ i(u, {}),
22
+ `Back${r != null && r.title ? `: ${r.title}` : ""}`
23
+ ]
20
24
  },
21
25
  t.current + "back"
22
26
  ),
23
- t.current === t.max ? /* @__PURE__ */ n(
24
- i,
27
+ t.current === t.max ? /* @__PURE__ */ i(
28
+ o,
25
29
  {
26
30
  wide: !0,
27
31
  variant: "primary",
@@ -30,17 +34,20 @@ const f = ({
30
34
  },
31
35
  t.current + "next"
32
36
  ) : /* @__PURE__ */ n(
33
- i,
37
+ o,
34
38
  {
35
39
  wide: !0,
36
- variant: "primary",
40
+ variant: "neutral",
37
41
  onClick: t.next,
38
- children: `Next${e != null && e.title ? `: ${e.title}` : ""}`
42
+ children: [
43
+ `Next${e != null && e.title ? `: ${e.title}` : ""}`,
44
+ /* @__PURE__ */ i(s, {})
45
+ ]
39
46
  },
40
47
  t.current + "next"
41
48
  )
42
49
  ] });
43
50
  };
44
51
  export {
45
- f as FormPagination
52
+ h as FormPagination
46
53
  };
@@ -1,5 +1,6 @@
1
- import { FC, ProgressHTMLAttributes } from 'react';
2
- interface FormProgressProps extends ProgressHTMLAttributes<HTMLProgressElement> {
1
+ import { ProgressProps } from '../../progress';
2
+ import { FC } from 'react';
3
+ interface FormProgressProps extends Omit<ProgressProps, "value" | "min" | "max"> {
3
4
  }
4
5
  export declare const FormProgress: FC<FormProgressProps>;
5
6
  export {};
@@ -1,7 +1,11 @@
1
+ export * from './block-editor';
1
2
  export { Breadcrumbs } from './breadcrumbs';
2
3
  export { Button } from './button';
3
4
  export * from './controls';
4
5
  export { DataTable, ExampleDataTable } from './data-table';
6
+ export { Filesystem } from './filesystem';
5
7
  export { createForm, Form } from './form';
6
8
  export { Menu } from './menu';
7
9
  export { Progress } from './progress';
10
+ export { Tabs } from './tabs';
11
+ export { Toolbar } from './toolbar';
@@ -1,33 +1,50 @@
1
- import { Breadcrumbs as e } from "./breadcrumbs/index.js";
2
- import { Button as m } from "./button/index.js";
3
- import { BaseControl as p } from "./controls/base-control/index.js";
4
- import { ChoiceControl as a } from "./controls/choice-control/index.js";
5
- import { NumberControl as n } from "./controls/number-control/index.js";
6
- import { PasswordControl as s } from "./controls/password-control/index.js";
7
- import { SelectControl as b } from "./controls/select-control/index.js";
8
- import { TextControl as u } from "./controls/text-control/index.js";
9
- import { TextareaControl as B } from "./controls/textarea-control/index.js";
10
- import { ToggleControl as D } from "./controls/toggle-control/index.js";
11
- import { DataTable as P, ExampleDataTable as h } from "./data-table/index.js";
12
- import { Form as w } from "./form/components/index.js";
13
- import { createForm as M } from "./form/types/form.js";
14
- import { Menu as S } from "./menu/index.js";
15
- import { Progress as k } from "./progress/index.js";
1
+ import { Editor as t } from "./block-editor/editor.js";
2
+ import { Breadcrumbs as p } from "./breadcrumbs/index.js";
3
+ import { Button as f } from "./button/index.js";
4
+ import { BaseControl as a } from "./controls/base-control/index.js";
5
+ import { CheckboxControl as C } from "./controls/checkbox-control/index.js";
6
+ import { ChoiceControl as T } from "./controls/choice-control/index.js";
7
+ import { NumberControl as c } from "./controls/number-control/index.js";
8
+ import { PasswordControl as g } from "./controls/password-control/index.js";
9
+ import { RecurrenceControl as d } from "./controls/recurrence-control/index.js";
10
+ import '../assets/style.css';/* empty css */
11
+ import { SelectControl as F } from "./controls/select-control/component.js";
12
+ import { o as D } from "../options-Cfoqhxw2.js";
13
+ import { TextControl as P } from "./controls/text-control/index.js";
14
+ import { TextareaControl as w } from "./controls/textarea-control/index.js";
15
+ import { ToggleControl as G } from "./controls/toggle-control/index.js";
16
+ import { ToggleGroupControl as N } from "./controls/toggle-group-control/index.js";
17
+ import { DataTable as R, ExampleDataTable as S } from "./data-table/index.js";
18
+ import { Filesystem as q } from "./filesystem/index.js";
19
+ import { Form as z } from "./form/components/index.js";
20
+ import { createForm as H } from "./form/types/form.js";
21
+ import { Menu as J } from "./menu/index.js";
22
+ import { Progress as L } from "./progress/index.js";
23
+ import { Tabs as U } from "./tabs/index.js";
24
+ import { Toolbar as W } from "./toolbar/index.js";
16
25
  export {
17
- p as BaseControl,
18
- e as Breadcrumbs,
19
- m as Button,
20
- a as ChoiceControl,
21
- P as DataTable,
22
- h as ExampleDataTable,
23
- w as Form,
24
- S as Menu,
25
- n as NumberControl,
26
- s as PasswordControl,
27
- k as Progress,
28
- b as SelectControl,
29
- u as TextControl,
30
- B as TextareaControl,
31
- D as ToggleControl,
32
- M as createForm
26
+ a as BaseControl,
27
+ p as Breadcrumbs,
28
+ f as Button,
29
+ C as CheckboxControl,
30
+ T as ChoiceControl,
31
+ R as DataTable,
32
+ t as Editor,
33
+ S as ExampleDataTable,
34
+ q as Filesystem,
35
+ z as Form,
36
+ J as Menu,
37
+ c as NumberControl,
38
+ D as Options,
39
+ g as PasswordControl,
40
+ L as Progress,
41
+ d as RecurrenceControl,
42
+ F as SelectControl,
43
+ U as Tabs,
44
+ P as TextControl,
45
+ w as TextareaControl,
46
+ G as ToggleControl,
47
+ N as ToggleGroupControl,
48
+ W as Toolbar,
49
+ H as createForm
33
50
  };
@@ -1,18 +1,19 @@
1
1
  import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
2
  import { cn as E } from "../../utils/css.js";
3
- import { M as V, a as C, b as R, c as z } from "../../item-D9r2-3fk.js";
4
- import { a as H } from "../../VIIRIBF3-D9clDhln.js";
5
- import { d as P, _, q as I, i as O, r as j, j as L, k as f, s as T, t as U, v as B, w as D, m as q, f as k, e as x } from "../../P7GR5CS5-qyeuZVEs.js";
6
- import { u as y } from "../../UQQRIHDV-BGs025hb.js";
3
+ import { M as V, a as C, b as R, c as z } from "../../item-B1ugJ7YQ.js";
4
+ import { u as H } from "../../VIIRIBF3-D5DmZNtI.js";
5
+ import { u as I } from "../../MTZPJQMC-DyCWBG18.js";
6
+ import { a as P } from "../../YV4JVR4I-kvospPUa.js";
7
+ import { a as _, _ as x, i as O, s as j, m as L, o as f, n as T, v as U, b as B, a1 as D, r as q, f as y, q as k } from "../../LMDWO4NN--KEvZePp.js";
7
8
  import { useMemo as w, useState as Z } from "react";
8
- import '../../assets/index10.css';var g = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z", F = "div", h = 30, s = h / 2, G = {
9
+ import '../../assets/index16.css';var g = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z", F = "div", h = 30, s = h / 2, G = {
9
10
  top: `rotate(180 ${s} ${s})`,
10
11
  right: `rotate(-90 ${s} ${s})`,
11
12
  bottom: `rotate(0 ${s} ${s})`,
12
13
  left: `rotate(90 ${s} ${s})`
13
14
  };
14
15
  function J(o) {
15
- const [r, t] = Z(), e = y(o, "contentElement");
16
+ const [r, t] = Z(), e = P(o, "contentElement");
16
17
  return B(() => {
17
18
  if (!e) return;
18
19
  const u = D(e).getComputedStyle(e);
@@ -23,13 +24,13 @@ function K(o) {
23
24
  var r;
24
25
  return o ? (r = o.getPropertyValue("box-shadow").match(/0px 0px 0px ([^0]+px)/)) == null ? void 0 : r[1] : void 0;
25
26
  }
26
- var M = P(
27
+ var M = _(
27
28
  function(r) {
28
29
  var t = r, {
29
30
  store: e,
30
31
  size: i = h,
31
32
  borderWidth: u
32
- } = t, c = _(t, [
33
+ } = t, c = x(t, [
33
34
  "store",
34
35
  "size",
35
36
  "borderWidth"
@@ -39,17 +40,17 @@ var M = P(
39
40
  e,
40
41
  process.env.NODE_ENV !== "production" && "PopoverArrow must be wrapped in a Popover component."
41
42
  );
42
- const d = y(
43
+ const p = P(
43
44
  e,
44
- (p) => p.currentPlacement.split("-")[0]
45
- ), l = j(), n = J(e), S = (n == null ? void 0 : n.getPropertyValue("background-color")) || "none", W = (n == null ? void 0 : n.getPropertyValue(`border-${d}-color`)) || "none", A = w(() => {
45
+ (d) => d.currentPlacement.split("-")[0]
46
+ ), l = j(), n = J(e), S = (n == null ? void 0 : n.getPropertyValue("background-color")) || "none", W = (n == null ? void 0 : n.getPropertyValue(`border-${p}-color`)) || "none", A = w(() => {
46
47
  if (u != null) return u;
47
48
  if (!n) return 0;
48
- const p = K(n);
49
- if (p) return Number.parseInt(p);
50
- const b = n.getPropertyValue(`border-${d}-width`);
49
+ const d = K(n);
50
+ if (d) return Number.parseInt(d);
51
+ const b = n.getPropertyValue(`border-${p}-width`);
51
52
  return b ? Number.parseInt(b) : 0;
52
- }, [u, n, d]) * 2 * (h / i), v = G[d], N = w(
53
+ }, [u, n, p]) * 2 * (h / i), v = G[p], N = w(
53
54
  () => /* @__PURE__ */ a("svg", { display: "block", viewBox: "0 0 30 30", children: /* @__PURE__ */ m("g", { transform: v, children: [
54
55
  /* @__PURE__ */ a("path", { fill: "none", d: g, mask: `url(#${l})` }),
55
56
  /* @__PURE__ */ a("path", { stroke: "none", d: g }),
@@ -86,22 +87,22 @@ var M = P(
86
87
  }
87
88
  );
88
89
  q(
89
- k(function(r) {
90
+ y(function(r) {
90
91
  const t = M(r);
91
- return x(F, t);
92
+ return k(F, t);
92
93
  })
93
94
  );
94
- var Q = "div", X = P(
95
+ var Q = "div", X = _(
95
96
  function(r) {
96
- var t = r, { store: e } = t, i = _(t, ["store"]);
97
+ var t = r, { store: e } = t, i = x(t, ["store"]);
97
98
  const u = H();
98
99
  return e = e || u, M(f({ store: e }, i));
99
100
  }
100
- ), Y = k(function(r) {
101
+ ), Y = y(function(r) {
101
102
  const t = X(r);
102
- return x(Q, t);
103
+ return k(Q, t);
103
104
  });
104
- const ue = ({ className: o, items: r, children: t }) => /* @__PURE__ */ m(V, { children: [
105
+ const ce = ({ className: o, items: r, children: t }) => /* @__PURE__ */ m(V, { children: [
105
106
  /* @__PURE__ */ a(C, { className: E("component-menu__button", o), children: t }),
106
107
  /* @__PURE__ */ m(
107
108
  R,
@@ -127,5 +128,5 @@ const ue = ({ className: o, items: r, children: t }) => /* @__PURE__ */ m(V, { c
127
128
  )
128
129
  ] });
129
130
  export {
130
- ue as Menu
131
+ ce as Menu
131
132
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "./items/action.js";
3
3
  import "./items/spacer.js";
4
- import { c as e } from "../../item-D9r2-3fk.js";
4
+ import { c as e } from "../../item-B1ugJ7YQ.js";
5
5
  import "./items/toggle.js";
6
6
  export {
7
7
  e as MenuItem
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { EmptyIcon as c } from "../icon.js";
3
- import { M as t } from "../../../2NBKRL7C-D-Q0qGRV.js";
3
+ import { M as t } from "../../../2NBKRL7C-BAzCMGOw.js";
4
4
  const l = ({ item: n }) => {
5
5
  const m = n.icon || c;
6
6
  return /* @__PURE__ */ o(
@@ -1,46 +1,18 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { a as l } from "../../../VIIRIBF3-D9clDhln.js";
3
- import { d as s, _ as p, k as i, f as u, e as m, p as h, i as C, j as d } from "../../../P7GR5CS5-qyeuZVEs.js";
4
- var x = "hr", c = s(
5
- function(o) {
6
- var r = o, { orientation: e = "horizontal" } = r, t = p(r, ["orientation"]);
7
- return t = i({
8
- role: "separator",
9
- "aria-orientation": e
10
- }, t), t;
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { u } from "../../../VIIRIBF3-D5DmZNtI.js";
3
+ import { u as p } from "../../../TP7N7UIH-BHb1rEeb.js";
4
+ import { f as m, a as c, q as f, _, o as i } from "../../../LMDWO4NN--KEvZePp.js";
5
+ var M = "hr", S = c(
6
+ function(e) {
7
+ var r = e, { store: o } = r, a = _(r, ["store"]);
8
+ const s = u();
9
+ return o = o || s, a = p(i({ store: o }, a)), a;
11
10
  }
12
- );
13
- u(function(o) {
14
- const r = c(o);
15
- return m(x, r);
11
+ ), l = m(function(e) {
12
+ const r = S(e);
13
+ return f(M, r);
16
14
  });
17
- var M = "hr", v = s(function(o) {
18
- var r = o, { store: e } = r, t = p(r, ["store"]);
19
- const n = h();
20
- e = e || n, C(
21
- e,
22
- process.env.NODE_ENV !== "production" && "CompositeSeparator must be wrapped in a Composite component."
23
- );
24
- const S = e.useState(
25
- (_) => _.orientation === "horizontal" ? "vertical" : "horizontal"
26
- );
27
- return t = c(d(i({}, t), { orientation: S })), t;
28
- });
29
- u(function(o) {
30
- const r = v(o);
31
- return m(M, r);
32
- });
33
- var N = "hr", b = s(
34
- function(o) {
35
- var r = o, { store: e } = r, t = p(r, ["store"]);
36
- const n = l();
37
- return e = e || n, t = v(i({ store: e }, t)), t;
38
- }
39
- ), P = u(function(o) {
40
- const r = b(o);
41
- return m(N, r);
42
- });
43
- const E = () => /* @__PURE__ */ f(P, { className: "component-menu__separator" });
15
+ const h = () => /* @__PURE__ */ n(l, { className: "component-menu__separator" });
44
16
  export {
45
- E as SeparatorMenuItem
17
+ h as SeparatorMenuItem
46
18
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
- import { S as p } from "../../../item-D9r2-3fk.js";
2
+ import { S as p } from "../../../item-B1ugJ7YQ.js";
3
3
  import "../icon.js";
4
- import "../../../2NBKRL7C-D-Q0qGRV.js";
4
+ import "../../../2NBKRL7C-BAzCMGOw.js";
5
5
  export {
6
6
  p as SubmenuMenuItem
7
7
  };
@@ -1,109 +1,43 @@
1
- import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
- import { cn as d } from "../../../utils/css.js";
3
- import * as e from "react";
4
- import { w as H } from "../../../SSRBase.es-BUXS72ra.js";
5
- import { EmptyIcon as h } from "../icon.js";
6
- import { M as i } from "../../../2NBKRL7C-D-Q0qGRV.js";
7
- const s = /* @__PURE__ */ new Map([
8
- [
9
- "bold",
10
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M79.51,144.49a12,12,0,1,1,17-17L112,143l47.51-47.52a12,12,0,0,1,17,17l-56,56a12,12,0,0,1-17,0ZM228,48V208a20,20,0,0,1-20,20H48a20,20,0,0,1-20-20V48A20,20,0,0,1,48,28H208A20,20,0,0,1,228,48Zm-24,4H52V204H204Z" }))
11
- ],
12
- [
13
- "duotone",
14
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
15
- "path",
16
- {
17
- d: "M216,48V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",
18
- opacity: "0.2"
19
- }
20
- ), /* @__PURE__ */ e.createElement("path", { d: "M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM208,208V48H48V208H208Z" }))
21
- ],
22
- [
23
- "fill",
24
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm-34.34,77.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z" }))
25
- ],
26
- [
27
- "light",
28
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM222,48V208a14,14,0,0,1-14,14H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34H208A14,14,0,0,1,222,48Zm-12,0a2,2,0,0,0-2-2H48a2,2,0,0,0-2,2V208a2,2,0,0,0,2,2H208a2,2,0,0,0,2-2Z" }))
29
- ],
30
- [
31
- "regular",
32
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM208,208V48H48V208H208Z" }))
33
- ],
34
- [
35
- "thin",
36
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM220,48V208a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36H208A12,12,0,0,1,220,48Zm-8,0a4,4,0,0,0-4-4H48a4,4,0,0,0-4,4V208a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4Z" }))
37
- ]
38
- ]), _ = e.forwardRef((a, n) => /* @__PURE__ */ e.createElement(H, { ref: n, ...a, weights: s }));
39
- _.displayName = "CheckSquareIcon";
40
- const u = /* @__PURE__ */ new Map([
41
- [
42
- "bold",
43
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28Zm-4,176H52V52H204Z" }))
44
- ],
45
- [
46
- "duotone",
47
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
48
- "path",
49
- {
50
- d: "M216,48V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",
51
- opacity: "0.2"
52
- }
53
- ), /* @__PURE__ */ e.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,176H48V48H208V208Z" }))
54
- ],
55
- [
56
- "fill",
57
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Z" }))
58
- ],
59
- [
60
- "light",
61
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34Zm2,174a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z" }))
62
- ],
63
- [
64
- "regular",
65
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,176H48V48H208V208Z" }))
66
- ],
67
- [
68
- "thin",
69
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36Zm4,172a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z" }))
70
- ]
71
- ]), p = e.forwardRef((a, n) => /* @__PURE__ */ e.createElement(H, { ref: n, ...a, weights: u }));
72
- p.displayName = "SquareIcon";
73
- const f = ({ item: a }) => {
74
- const n = a.icon || h, V = () => {
75
- var m, o, r;
76
- const c = !a.checked;
77
- (m = a.onToggle) == null || m.call(a, c), c ? (o = a.onCheck) == null || o.call(a) : (r = a.onUncheck) == null || r.call(a);
1
+ import { jsxs as o, jsx as n } from "react/jsx-runtime";
2
+ import { cn as i } from "../../../utils/css.js";
3
+ import { r as a, a as p } from "../../../Square.es-KJLdY11q.js";
4
+ import "react";
5
+ import { EmptyIcon as r } from "../icon.js";
6
+ import { M as d } from "../../../2NBKRL7C-BAzCMGOw.js";
7
+ const x = ({ item: e }) => {
8
+ const l = e.icon || r, s = () => {
9
+ var _, m, t;
10
+ const c = !e.checked;
11
+ (_ = e.onToggle) == null || _.call(e, c), c ? (m = e.onCheck) == null || m.call(e) : (t = e.onUncheck) == null || t.call(e);
78
12
  };
79
- return /* @__PURE__ */ l(
80
- i,
13
+ return /* @__PURE__ */ o(
14
+ d,
81
15
  {
82
16
  hideOnClick: !1,
83
- className: d(
17
+ className: i(
84
18
  "component-menu__item component-menu__item--toggle",
85
- a.checked && "component-menu__item--toggle--checked"
19
+ e.checked && "component-menu__item--toggle--checked"
86
20
  ),
87
- onClick: V,
21
+ onClick: s,
88
22
  children: [
89
- /* @__PURE__ */ t(n, { className: "component-menu__item__icon component-menu__item__icon--pictoral" }),
90
- /* @__PURE__ */ l("div", { className: "component-menu__item__text", children: [
91
- /* @__PURE__ */ l("div", { className: "component-menu__item__text__header", children: [
92
- /* @__PURE__ */ t("div", { className: "component-menu__item__label", children: a.label }),
93
- a.checked ? /* @__PURE__ */ t(
94
- _,
23
+ /* @__PURE__ */ n(l, { className: "component-menu__item__icon component-menu__item__icon--pictoral" }),
24
+ /* @__PURE__ */ o("div", { className: "component-menu__item__text", children: [
25
+ /* @__PURE__ */ o("div", { className: "component-menu__item__text__header", children: [
26
+ /* @__PURE__ */ n("div", { className: "component-menu__item__label", children: e.label }),
27
+ e.checked ? /* @__PURE__ */ n(
28
+ a,
95
29
  {
96
30
  weight: "fill",
97
31
  className: "component-menu__item__icon component-menu__item__icon--checkbox"
98
32
  }
99
- ) : /* @__PURE__ */ t(p, { className: "component-menu__item__icon component-menu__item__icon--checkbox" })
33
+ ) : /* @__PURE__ */ n(p, { className: "component-menu__item__icon component-menu__item__icon--checkbox" })
100
34
  ] }),
101
- /* @__PURE__ */ t("p", { className: "component-menu__item__description", children: a.description })
35
+ /* @__PURE__ */ n("p", { className: "component-menu__item__description", children: e.description })
102
36
  ] })
103
37
  ]
104
38
  }
105
39
  );
106
40
  };
107
41
  export {
108
- f as ToggleMenuItem
42
+ x as ToggleMenuItem
109
43
  };
@@ -1,7 +1,9 @@
1
- import { FC, ProgressHTMLAttributes } from 'react';
2
- interface ProgressProps extends ProgressHTMLAttributes<HTMLProgressElement> {
1
+ import { FC } from 'react';
2
+ export interface ProgressProps {
3
+ className?: string;
3
4
  steps?: number;
4
5
  value?: number;
6
+ min?: number;
7
+ max?: number;
5
8
  }
6
9
  export declare const Progress: FC<ProgressProps>;
7
- export {};