@pathscale/ui 0.0.11 → 0.0.12

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 (171) hide show
  1. package/README.md +53 -0
  2. package/dist/{Autocomplete-BLKN_nG8.d.ts → Autocomplete-gLkjMHrc.d.ts} +1 -1
  3. package/dist/Avatar-Dkd_kPlV.d.ts +40 -0
  4. package/dist/CollapseTitle-BNxog3is.d.ts +12 -0
  5. package/dist/{Field-DfUn85_1.d.ts → Field-DI2PA30N.d.ts} +1 -1
  6. package/dist/Mask-CPb596Mg.d.ts +16 -0
  7. package/dist/Menu-DgO4SHmA.d.ts +45 -0
  8. package/dist/{Progress-gN0xqhAF.d.ts → Progress-ChF4ior8.d.ts} +2 -2
  9. package/dist/Steps-Dk-UPL6r.d.ts +38 -0
  10. package/dist/{Tabs-BNR3p92D.d.ts → Tabs-WiUU0xsM.d.ts} +1 -1
  11. package/dist/chunk/2OJYONJ3.js +40 -0
  12. package/dist/chunk/2VQ2762Z.js +80 -0
  13. package/dist/chunk/2XPPNBYK.js +164 -0
  14. package/dist/chunk/3I23P4TJ.js +33 -0
  15. package/dist/chunk/5HG7XWVC.jsx +2956 -0
  16. package/dist/chunk/5IJ7WEIF.js +43 -0
  17. package/dist/chunk/5O6WC3OB.jsx +67 -0
  18. package/dist/chunk/6P5JIKPF.jsx +51 -0
  19. package/dist/chunk/BHLLVOVR.js +46 -0
  20. package/dist/chunk/DJI5XKAV.js +31 -0
  21. package/dist/chunk/DN3P54J2.jsx +43 -0
  22. package/dist/chunk/DVFQAAZR.js +43 -0
  23. package/dist/chunk/EDDBK4J6.js +42 -0
  24. package/dist/chunk/FZRQDGPD.jsx +54 -0
  25. package/dist/chunk/G5UEZ2VC.js +49 -0
  26. package/dist/chunk/GL7JG772.js +114 -0
  27. package/dist/chunk/HEOKGP5U.js +55 -0
  28. package/dist/chunk/HUHXQCKK.js +16 -0
  29. package/dist/chunk/I36LHZUY.jsx +31 -0
  30. package/dist/chunk/IG323YKF.jsx +50 -0
  31. package/dist/chunk/JQ4HSRDP.js +142 -0
  32. package/dist/chunk/JSQBKK7L.jsx +50 -0
  33. package/dist/chunk/K3WO7SRD.js +1 -0
  34. package/dist/chunk/KQ3RAWCE.jsx +57 -0
  35. package/dist/chunk/KXJZKDJX.jsx +0 -0
  36. package/dist/chunk/L4A67X7S.js +7 -0
  37. package/dist/chunk/LGDDR242.jsx +159 -0
  38. package/dist/chunk/MM2DZQL3.js +46 -0
  39. package/dist/chunk/MZWBWFDD.js +151 -0
  40. package/dist/chunk/O7LDJCQS.jsx +18 -0
  41. package/dist/chunk/Q4442PU4.js +42 -0
  42. package/dist/chunk/R5G3PODL.jsx +11 -0
  43. package/dist/chunk/R6ZBT7CY.jsx +55 -0
  44. package/dist/chunk/RHEFVSMJ.jsx +52 -0
  45. package/dist/chunk/STFCLC5R.js +2954 -0
  46. package/dist/chunk/SVJIYMYJ.jsx +156 -0
  47. package/dist/chunk/SYWB4UN3.jsx +64 -0
  48. package/dist/chunk/UNKDNDT3.js +62 -0
  49. package/dist/chunk/XM3KF5LV.jsx +179 -0
  50. package/dist/chunk/XQCSYRVP.jsx +168 -0
  51. package/dist/chunk/YWIT2MRI.jsx +43 -0
  52. package/dist/chunk/ZYEP35R3.jsx +60 -0
  53. package/dist/components/Progress/index.d.ts +1 -1
  54. package/dist/components/accordion/index.d.ts +17 -5
  55. package/dist/components/accordion/index.js +1 -1
  56. package/dist/components/accordion/index.jsx +6 -4
  57. package/dist/components/autocomplete/index.d.ts +2 -2
  58. package/dist/components/avatar/index.d.ts +4 -4
  59. package/dist/components/avatar/index.js +1 -1
  60. package/dist/components/avatar/index.jsx +3 -2
  61. package/dist/components/badge/index.d.ts +17 -0
  62. package/dist/components/badge/index.js +1 -0
  63. package/dist/components/badge/index.jsx +8 -0
  64. package/dist/components/breadcrumbs/index.d.ts +9 -0
  65. package/dist/components/breadcrumbs/index.js +1 -0
  66. package/dist/components/breadcrumbs/index.jsx +7 -0
  67. package/dist/components/button/index.d.ts +28 -6
  68. package/dist/components/button/index.js +1 -1
  69. package/dist/components/button/index.jsx +5 -5
  70. package/dist/components/checkbox/index.d.ts +13 -5
  71. package/dist/components/checkbox/index.js +1 -1
  72. package/dist/components/checkbox/index.jsx +5 -4
  73. package/dist/components/collapse/index.d.ts +15 -0
  74. package/dist/components/collapse/index.js +1 -0
  75. package/dist/components/collapse/index.jsx +14 -0
  76. package/dist/components/field/index.d.ts +1 -1
  77. package/dist/components/fileinput/index.d.ts +16 -0
  78. package/dist/components/fileinput/index.js +1 -0
  79. package/dist/components/fileinput/index.jsx +8 -0
  80. package/dist/components/input/index.d.ts +13 -8
  81. package/dist/components/input/index.js +1 -1
  82. package/dist/components/input/index.jsx +5 -6
  83. package/dist/components/join/index.d.ts +11 -0
  84. package/dist/components/join/index.js +1 -0
  85. package/dist/components/join/index.jsx +9 -0
  86. package/dist/components/mask/index.d.ts +7 -0
  87. package/dist/components/mask/index.js +1 -0
  88. package/dist/components/mask/index.jsx +8 -0
  89. package/dist/components/menu/index.d.ts +6 -64
  90. package/dist/components/menu/index.js +1 -1
  91. package/dist/components/menu/index.jsx +4 -7
  92. package/dist/components/pagination/index.d.ts +6 -6
  93. package/dist/components/pagination/index.js +1 -1
  94. package/dist/components/pagination/index.jsx +6 -4
  95. package/dist/components/polymorphic/index.d.ts +1 -1
  96. package/dist/components/select/index.d.ts +12 -5
  97. package/dist/components/select/index.js +1 -1
  98. package/dist/components/select/index.jsx +5 -4
  99. package/dist/components/steps/index.d.ts +3 -4
  100. package/dist/components/steps/index.js +1 -1
  101. package/dist/components/steps/index.jsx +3 -2
  102. package/dist/components/tabs/index.d.ts +2 -2
  103. package/dist/components/textarea/index.d.ts +12 -5
  104. package/dist/components/textarea/index.js +1 -1
  105. package/dist/components/textarea/index.jsx +5 -4
  106. package/dist/components/toggle/index.d.ts +15 -0
  107. package/dist/components/toggle/index.js +1 -0
  108. package/dist/components/toggle/index.jsx +8 -0
  109. package/dist/components/tooltip/index.d.ts +14 -5
  110. package/dist/components/tooltip/index.js +1 -1
  111. package/dist/components/tooltip/index.jsx +5 -4
  112. package/dist/index.d.ts +24 -19
  113. package/dist/index.js +23 -20
  114. package/dist/index.jsx +81 -66
  115. package/dist/types-CUG9pToa.d.ts +15 -0
  116. package/package.json +4 -2
  117. package/dist/Accordion-nwuRbRRw.d.ts +0 -27
  118. package/dist/Avatar-CzIirpVq.d.ts +0 -33
  119. package/dist/Button-B50OLXuV.d.ts +0 -63
  120. package/dist/Checkbox-CzeDsQLA.d.ts +0 -32
  121. package/dist/Input-X4gwIB-F.d.ts +0 -42
  122. package/dist/Pagination-CJtlFMHy.d.ts +0 -43
  123. package/dist/Select-CP-TUHJv.d.ts +0 -44
  124. package/dist/Steps-1miUeyCD.d.ts +0 -34
  125. package/dist/Switch-CW6QtO1Y.d.ts +0 -76
  126. package/dist/Tag-BPrhn-Ne.d.ts +0 -42
  127. package/dist/Textarea-Cpdk7m6S.d.ts +0 -37
  128. package/dist/Tooltip-BfPongoz.d.ts +0 -53
  129. package/dist/Upload-CRljD5jf.d.ts +0 -39
  130. package/dist/chunk/3VOILEMN.js +0 -187
  131. package/dist/chunk/C4745OZS.jsx +0 -101
  132. package/dist/chunk/CJZGTNJZ.js +0 -115
  133. package/dist/chunk/DBQ7IOPU.js +0 -189
  134. package/dist/chunk/EB7KXR65.js +0 -102
  135. package/dist/chunk/EE4HXMKA.js +0 -165
  136. package/dist/chunk/ELRAUORW.jsx +0 -179
  137. package/dist/chunk/F33TSIEQ.jsx +0 -181
  138. package/dist/chunk/GWFGP2JQ.jsx +0 -179
  139. package/dist/chunk/LAQPAV5I.jsx +0 -187
  140. package/dist/chunk/LI3HCFL7.jsx +0 -132
  141. package/dist/chunk/LMPV5G35.jsx +0 -228
  142. package/dist/chunk/MI773TMC.js +0 -107
  143. package/dist/chunk/MMTAND25.jsx +0 -126
  144. package/dist/chunk/NZKPDBTE.js +0 -118
  145. package/dist/chunk/O2IMHWMY.js +0 -159
  146. package/dist/chunk/OMRJVDZV.js +0 -173
  147. package/dist/chunk/OYAKKETQ.js +0 -111
  148. package/dist/chunk/PF47YREI.js +0 -214
  149. package/dist/chunk/PNPC2OI3.jsx +0 -156
  150. package/dist/chunk/QHJOIUYT.jsx +0 -117
  151. package/dist/chunk/QONDPQ2I.jsx +0 -105
  152. package/dist/chunk/R6COBCN7.jsx +0 -100
  153. package/dist/chunk/T7IZ26YC.jsx +0 -194
  154. package/dist/chunk/TT2JYGLU.js +0 -218
  155. package/dist/chunk/V6Y5E7BL.js +0 -133
  156. package/dist/chunk/WB6NEEQV.jsx +0 -107
  157. package/dist/chunk/WYHYWDOM.js +0 -164
  158. package/dist/chunk/XD34JKSU.jsx +0 -201
  159. package/dist/chunk/YDEDUOFM.js +0 -102
  160. package/dist/components/breadcrumb/index.d.ts +0 -47
  161. package/dist/components/breadcrumb/index.js +0 -1
  162. package/dist/components/breadcrumb/index.jsx +0 -9
  163. package/dist/components/switch/index.d.ts +0 -8
  164. package/dist/components/switch/index.js +0 -1
  165. package/dist/components/switch/index.jsx +0 -7
  166. package/dist/components/tag/index.d.ts +0 -8
  167. package/dist/components/tag/index.js +0 -1
  168. package/dist/components/tag/index.jsx +0 -7
  169. package/dist/components/upload/index.d.ts +0 -8
  170. package/dist/components/upload/index.js +0 -1
  171. package/dist/components/upload/index.jsx +0 -7
@@ -0,0 +1,43 @@
1
+ import { clsx } from './HUHXQCKK.js';
2
+ import { twMerge } from './STFCLC5R.js';
3
+ import { template, spread, mergeProps, insert } from 'solid-js/web';
4
+ import { splitProps } from 'solid-js';
5
+
6
+ var _tmpl$ = /* @__PURE__ */ template(`<select>`);
7
+ var Select = (props) => {
8
+ const [local, others] = splitProps(props, ["color", "size", "dataTheme", "class", "className", "style"]);
9
+ const classes = () => twMerge("select", local.class, local.className, clsx({
10
+ "select-xl": local.size === "xl",
11
+ "select-lg": local.size === "lg",
12
+ "select-md": local.size === "md",
13
+ "select-sm": local.size === "sm",
14
+ "select-xs": local.size === "xs",
15
+ "select-primary": local.color === "primary",
16
+ "select-secondary": local.color === "secondary",
17
+ "select-accent": local.color === "accent",
18
+ "select-ghost": local.color === "ghost",
19
+ "select-info": local.color === "info",
20
+ "select-success": local.color === "success",
21
+ "select-warning": local.color === "warning",
22
+ "select-error": local.color === "error"
23
+ }));
24
+ return (() => {
25
+ var _el$ = _tmpl$();
26
+ spread(_el$, mergeProps(others, {
27
+ get ["data-theme"]() {
28
+ return local.dataTheme;
29
+ },
30
+ get ["class"]() {
31
+ return classes();
32
+ },
33
+ get style() {
34
+ return local.style;
35
+ }
36
+ }), false, true);
37
+ insert(_el$, () => props.children);
38
+ return _el$;
39
+ })();
40
+ };
41
+ var Select_default = Select;
42
+
43
+ export { Select_default };
@@ -0,0 +1,67 @@
1
+ import {
2
+ clsx
3
+ } from "./O7LDJCQS.jsx";
4
+ import {
5
+ twMerge
6
+ } from "./5HG7XWVC.jsx";
7
+
8
+ // src/components/mask/Mask.tsx
9
+ import { splitProps } from "solid-js";
10
+ function maskClassName({
11
+ className,
12
+ variant
13
+ } = {}) {
14
+ return twMerge(
15
+ "mask",
16
+ className,
17
+ clsx({
18
+ "mask-squircle": variant === "squircle",
19
+ "mask-heart": variant === "heart",
20
+ "mask-hexagon": variant === "hexagon",
21
+ "mask-hexagon-2": variant === "hexagon-2",
22
+ "mask-decagon": variant === "decagon",
23
+ "mask-pentagon": variant === "pentagon",
24
+ "mask-diamond": variant === "diamond",
25
+ "mask-square": variant === "square",
26
+ "mask-circle": variant === "circle",
27
+ "mask-star": variant === "star",
28
+ "mask-star-2": variant === "star-2",
29
+ "mask-triangle": variant === "triangle",
30
+ "mask-triangle-2": variant === "triangle-2",
31
+ "mask-triangle-3": variant === "triangle-3",
32
+ "mask-triangle-4": variant === "triangle-4",
33
+ "mask-half-1": variant === "half-1",
34
+ "mask-half-2": variant === "half-2"
35
+ })
36
+ );
37
+ }
38
+ var Mask = (props) => {
39
+ const [local, others] = splitProps(props, [
40
+ "src",
41
+ "variant",
42
+ "dataTheme",
43
+ "class",
44
+ "className",
45
+ "style"
46
+ ]);
47
+ const classes = () => maskClassName({
48
+ className: local.class ?? local.className,
49
+ variant: local.variant
50
+ });
51
+ return <img
52
+ {...others}
53
+ src={local.src}
54
+ data-theme={local.dataTheme}
55
+ class={classes()}
56
+ style={local.style}
57
+ />;
58
+ };
59
+ Mask.className = maskClassName;
60
+ var Mask_default = Mask;
61
+
62
+ // src/components/mask/index.ts
63
+ var mask_default = Mask_default;
64
+
65
+ export {
66
+ mask_default
67
+ };
@@ -0,0 +1,51 @@
1
+ import {
2
+ clsx
3
+ } from "./O7LDJCQS.jsx";
4
+ import {
5
+ twMerge
6
+ } from "./5HG7XWVC.jsx";
7
+
8
+ // src/components/toggle/Toggle.tsx
9
+ import { splitProps } from "solid-js";
10
+ var Toggle = (props) => {
11
+ const [local, others] = splitProps(props, [
12
+ "color",
13
+ "size",
14
+ "dataTheme",
15
+ "class",
16
+ "className",
17
+ "style"
18
+ ]);
19
+ const classes = () => twMerge(
20
+ "toggle",
21
+ local.class,
22
+ local.className,
23
+ clsx({
24
+ "toggle-xl": local.size === "xl",
25
+ "toggle-lg": local.size === "lg",
26
+ "toggle-md": local.size === "md",
27
+ "toggle-sm": local.size === "sm",
28
+ "toggle-xs": local.size === "xs",
29
+ "toggle-neutral": local.color === "neutral",
30
+ "toggle-primary": local.color === "primary",
31
+ "toggle-secondary": local.color === "secondary",
32
+ "toggle-accent": local.color === "accent",
33
+ "toggle-info": local.color === "info",
34
+ "toggle-success": local.color === "success",
35
+ "toggle-warning": local.color === "warning",
36
+ "toggle-error": local.color === "error"
37
+ })
38
+ );
39
+ return <input
40
+ {...others}
41
+ type="checkbox"
42
+ data-theme={local.dataTheme}
43
+ class={classes()}
44
+ style={local.style}
45
+ />;
46
+ };
47
+ var Toggle_default = Toggle;
48
+
49
+ export {
50
+ Toggle_default
51
+ };
@@ -0,0 +1,46 @@
1
+ import { clsx } from './HUHXQCKK.js';
2
+ import { twMerge } from './STFCLC5R.js';
3
+ import { template, use, spread, mergeProps } from 'solid-js/web';
4
+ import { splitProps } from 'solid-js';
5
+
6
+ var _tmpl$ = /* @__PURE__ */ template(`<input>`);
7
+ var FileInput = (props) => {
8
+ const [local, others] = splitProps(props, ["size", "color", "bordered", "dataTheme", "class", "className", "style"]);
9
+ const classes = () => twMerge("file-input", local.class, local.className, clsx({
10
+ "file-input-xl": local.size === "xl",
11
+ "file-input-lg": local.size === "lg",
12
+ "file-input-md": local.size === "md",
13
+ "file-input-sm": local.size === "sm",
14
+ "file-input-xs": local.size === "xs",
15
+ "file-input-primary": local.color === "primary",
16
+ "file-input-secondary": local.color === "secondary",
17
+ "file-input-accent": local.color === "accent",
18
+ "file-input-ghost": local.color === "ghost",
19
+ "file-input-info": local.color === "info",
20
+ "file-input-success": local.color === "success",
21
+ "file-input-warning": local.color === "warning",
22
+ "file-input-error": local.color === "error",
23
+ "file-input-bordered": local.bordered
24
+ }));
25
+ return (() => {
26
+ var _el$ = _tmpl$();
27
+ var _ref$ = others.ref;
28
+ typeof _ref$ === "function" ? use(_ref$, _el$) : others.ref = _el$;
29
+ spread(_el$, mergeProps(others, {
30
+ "type": "file",
31
+ get ["data-theme"]() {
32
+ return local.dataTheme;
33
+ },
34
+ get ["class"]() {
35
+ return classes();
36
+ },
37
+ get style() {
38
+ return local.style;
39
+ }
40
+ }), false, false);
41
+ return _el$;
42
+ })();
43
+ };
44
+ var FileInput_default = FileInput;
45
+
46
+ export { FileInput_default };
@@ -0,0 +1,31 @@
1
+ import { twMerge } from './STFCLC5R.js';
2
+ import { template, spread, mergeProps, insert } from 'solid-js/web';
3
+ import { splitProps } from 'solid-js';
4
+
5
+ var _tmpl$ = /* @__PURE__ */ template(`<div><ul>`);
6
+ var Breadcrumbs = (props) => {
7
+ const [local, others] = splitProps(props, ["dataTheme", "class", "className", "style", "innerProps"]);
8
+ const classes = () => twMerge("breadcrumbs text-sm", local.class, local.className);
9
+ return (() => {
10
+ var _el$ = _tmpl$(), _el$2 = _el$.firstChild;
11
+ spread(_el$, mergeProps(others, {
12
+ "role": "navigation",
13
+ "aria-label": "Breadcrumbs",
14
+ get ["data-theme"]() {
15
+ return local.dataTheme;
16
+ },
17
+ get ["class"]() {
18
+ return classes();
19
+ },
20
+ get style() {
21
+ return local.style;
22
+ }
23
+ }), false, true);
24
+ spread(_el$2, mergeProps(() => local.innerProps), false, true);
25
+ insert(_el$2, () => props.children);
26
+ return _el$;
27
+ })();
28
+ };
29
+ var Breadcrumbs_default = Breadcrumbs;
30
+
31
+ export { Breadcrumbs_default };
@@ -0,0 +1,43 @@
1
+ import {
2
+ clsx
3
+ } from "./O7LDJCQS.jsx";
4
+ import {
5
+ twMerge
6
+ } from "./5HG7XWVC.jsx";
7
+
8
+ // src/components/join/Join.tsx
9
+ import { splitProps } from "solid-js";
10
+ var Join = (props) => {
11
+ const [local, others] = splitProps(props, [
12
+ "responsive",
13
+ "vertical",
14
+ "horizontal",
15
+ "class",
16
+ "className",
17
+ "dataTheme",
18
+ "style"
19
+ ]);
20
+ const classes = () => twMerge(
21
+ "join",
22
+ clsx({
23
+ "join-vertical": !local.responsive && local.vertical,
24
+ "join-horizontal": !local.responsive && local.horizontal,
25
+ "join-vertical lg:join-horizontal": local.responsive
26
+ }),
27
+ local.class,
28
+ local.className
29
+ );
30
+ return <div
31
+ {...others}
32
+ class={classes()}
33
+ data-theme={local.dataTheme}
34
+ style={local.style}
35
+ >
36
+ {props.children}
37
+ </div>;
38
+ };
39
+ var Join_default = Join;
40
+
41
+ export {
42
+ Join_default
43
+ };
@@ -0,0 +1,43 @@
1
+ import { clsx } from './HUHXQCKK.js';
2
+ import { twMerge } from './STFCLC5R.js';
3
+ import { template, spread, mergeProps } from 'solid-js/web';
4
+ import { splitProps } from 'solid-js';
5
+
6
+ var _tmpl$ = /* @__PURE__ */ template(`<input>`);
7
+ var Toggle = (props) => {
8
+ const [local, others] = splitProps(props, ["color", "size", "dataTheme", "class", "className", "style"]);
9
+ const classes = () => twMerge("toggle", local.class, local.className, clsx({
10
+ "toggle-xl": local.size === "xl",
11
+ "toggle-lg": local.size === "lg",
12
+ "toggle-md": local.size === "md",
13
+ "toggle-sm": local.size === "sm",
14
+ "toggle-xs": local.size === "xs",
15
+ "toggle-neutral": local.color === "neutral",
16
+ "toggle-primary": local.color === "primary",
17
+ "toggle-secondary": local.color === "secondary",
18
+ "toggle-accent": local.color === "accent",
19
+ "toggle-info": local.color === "info",
20
+ "toggle-success": local.color === "success",
21
+ "toggle-warning": local.color === "warning",
22
+ "toggle-error": local.color === "error"
23
+ }));
24
+ return (() => {
25
+ var _el$ = _tmpl$();
26
+ spread(_el$, mergeProps(others, {
27
+ "type": "checkbox",
28
+ get ["data-theme"]() {
29
+ return local.dataTheme;
30
+ },
31
+ get ["class"]() {
32
+ return classes();
33
+ },
34
+ get style() {
35
+ return local.style;
36
+ }
37
+ }), false, false);
38
+ return _el$;
39
+ })();
40
+ };
41
+ var Toggle_default = Toggle;
42
+
43
+ export { Toggle_default };
@@ -0,0 +1,42 @@
1
+ import { clsx } from './HUHXQCKK.js';
2
+ import { twMerge } from './STFCLC5R.js';
3
+ import { template, spread, mergeProps } from 'solid-js/web';
4
+ import { splitProps } from 'solid-js';
5
+
6
+ var _tmpl$ = /* @__PURE__ */ template(`<input>`);
7
+ var Input = (props) => {
8
+ const [local, others] = splitProps(props, ["size", "color", "dataTheme", "class", "className", "style"]);
9
+ const classes = () => twMerge("input", local.class, local.className, clsx({
10
+ "input-xl": local.size === "xl",
11
+ "input-lg": local.size === "lg",
12
+ "input-md": local.size === "md",
13
+ "input-sm": local.size === "sm",
14
+ "input-xs": local.size === "xs",
15
+ "input-primary": local.color === "primary",
16
+ "input-secondary": local.color === "secondary",
17
+ "input-accent": local.color === "accent",
18
+ "input-ghost": local.color === "ghost",
19
+ "input-info": local.color === "info",
20
+ "input-success": local.color === "success",
21
+ "input-warning": local.color === "warning",
22
+ "input-error": local.color === "error"
23
+ }));
24
+ return (() => {
25
+ var _el$ = _tmpl$();
26
+ spread(_el$, mergeProps(others, {
27
+ get ["data-theme"]() {
28
+ return local.dataTheme;
29
+ },
30
+ get ["class"]() {
31
+ return classes();
32
+ },
33
+ get style() {
34
+ return local.style;
35
+ }
36
+ }), false, false);
37
+ return _el$;
38
+ })();
39
+ };
40
+ var Input_default = Input;
41
+
42
+ export { Input_default };
@@ -0,0 +1,54 @@
1
+ import {
2
+ clsx
3
+ } from "./O7LDJCQS.jsx";
4
+ import {
5
+ twMerge
6
+ } from "./5HG7XWVC.jsx";
7
+
8
+ // src/components/fileinput/FileInput.tsx
9
+ import { splitProps } from "solid-js";
10
+ var FileInput = (props) => {
11
+ const [local, others] = splitProps(props, [
12
+ "size",
13
+ "color",
14
+ "bordered",
15
+ "dataTheme",
16
+ "class",
17
+ "className",
18
+ "style"
19
+ ]);
20
+ const classes = () => twMerge(
21
+ "file-input",
22
+ local.class,
23
+ local.className,
24
+ clsx({
25
+ "file-input-xl": local.size === "xl",
26
+ "file-input-lg": local.size === "lg",
27
+ "file-input-md": local.size === "md",
28
+ "file-input-sm": local.size === "sm",
29
+ "file-input-xs": local.size === "xs",
30
+ "file-input-primary": local.color === "primary",
31
+ "file-input-secondary": local.color === "secondary",
32
+ "file-input-accent": local.color === "accent",
33
+ "file-input-ghost": local.color === "ghost",
34
+ "file-input-info": local.color === "info",
35
+ "file-input-success": local.color === "success",
36
+ "file-input-warning": local.color === "warning",
37
+ "file-input-error": local.color === "error",
38
+ "file-input-bordered": local.bordered
39
+ })
40
+ );
41
+ return <input
42
+ {...others}
43
+ ref={others.ref}
44
+ type="file"
45
+ data-theme={local.dataTheme}
46
+ class={classes()}
47
+ style={local.style}
48
+ />;
49
+ };
50
+ var FileInput_default = FileInput;
51
+
52
+ export {
53
+ FileInput_default
54
+ };
@@ -0,0 +1,49 @@
1
+ import { clsx } from './HUHXQCKK.js';
2
+ import { twMerge } from './STFCLC5R.js';
3
+ import { template, spread, mergeProps, insert } from 'solid-js/web';
4
+ import { splitProps } from 'solid-js';
5
+
6
+ var _tmpl$ = /* @__PURE__ */ template(`<div>`);
7
+ var Badge = (props) => {
8
+ const [local, others] = splitProps(props, ["size", "color", "variant", "responsive", "dataTheme", "class", "className", "style"]);
9
+ const classes = () => twMerge("badge", local.class, local.className, clsx({
10
+ "badge-xl": local.size === "xl",
11
+ "badge-lg": local.size === "lg",
12
+ "badge-md": local.size === "md",
13
+ "badge-sm": local.size === "sm",
14
+ "badge-xs": local.size === "xs",
15
+ "badge-soft": local.variant === "soft",
16
+ "badge-dash": local.variant === "dash",
17
+ "badge-outline": local.variant === "outline",
18
+ "badge-neutral": local.color === "neutral",
19
+ "badge-primary": local.color === "primary",
20
+ "badge-secondary": local.color === "secondary",
21
+ "badge-accent": local.color === "accent",
22
+ "badge-ghost": local.color === "ghost",
23
+ "badge-info": local.color === "info",
24
+ "badge-success": local.color === "success",
25
+ "badge-warning": local.color === "warning",
26
+ "badge-error": local.color === "error",
27
+ "badge-xs md:badge-sm lg:badge-md xl:badge-lg": local.responsive
28
+ }));
29
+ return (() => {
30
+ var _el$ = _tmpl$();
31
+ spread(_el$, mergeProps(others, {
32
+ get ["data-theme"]() {
33
+ return local.dataTheme;
34
+ },
35
+ get ["class"]() {
36
+ return classes();
37
+ },
38
+ get style() {
39
+ return local.style;
40
+ },
41
+ "aria-label": "Badge"
42
+ }), false, true);
43
+ insert(_el$, () => props.children);
44
+ return _el$;
45
+ })();
46
+ };
47
+ var Badge_default = Badge;
48
+
49
+ export { Badge_default };
@@ -0,0 +1,114 @@
1
+ import { clsx } from './HUHXQCKK.js';
2
+ import { twMerge } from './STFCLC5R.js';
3
+ import { createComponent, Dynamic, mergeProps } from 'solid-js/web';
4
+ import { splitProps } from 'solid-js';
5
+
6
+ var VoidElementList = ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "keygen", "meta", "param", "source", "track", "wbr"];
7
+ var Step = (props) => {
8
+ const [local, others] = splitProps(props, ["value", "color", "as", "class", "className", "style", "children", "data-theme"]);
9
+ const Tag = local.as || "li";
10
+ const classes = () => twMerge("step", local.class, local.className, clsx({
11
+ "step-neutral": local.color === "neutral",
12
+ "step-primary": local.color === "primary",
13
+ "step-secondary": local.color === "secondary",
14
+ "step-accent": local.color === "accent",
15
+ "step-info": local.color === "info",
16
+ "step-success": local.color === "success",
17
+ "step-warning": local.color === "warning",
18
+ "step-error": local.color === "error"
19
+ }));
20
+ if (VoidElementList.includes(Tag)) {
21
+ return createComponent(Dynamic, mergeProps({
22
+ component: Tag
23
+ }, others, {
24
+ "aria-label": "Step",
25
+ get ["data-theme"]() {
26
+ return local["data-theme"];
27
+ },
28
+ get ["data-content"]() {
29
+ return local.value;
30
+ },
31
+ get ["class"]() {
32
+ return classes();
33
+ },
34
+ get style() {
35
+ return local.style;
36
+ }
37
+ }));
38
+ }
39
+ return createComponent(Dynamic, mergeProps({
40
+ component: Tag
41
+ }, others, {
42
+ "aria-label": "Step",
43
+ get ["data-theme"]() {
44
+ return local["data-theme"];
45
+ },
46
+ get ["data-content"]() {
47
+ return local.value;
48
+ },
49
+ get ["class"]() {
50
+ return classes();
51
+ },
52
+ get style() {
53
+ return local.style;
54
+ },
55
+ get children() {
56
+ return local.children;
57
+ }
58
+ }));
59
+ };
60
+ var Step_default = Step;
61
+
62
+ // src/components/steps/Steps.tsx
63
+ var VoidElementList2 = ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "keygen", "meta", "param", "source", "track", "wbr"];
64
+ var Steps = (props) => {
65
+ const [local, others] = splitProps(props, ["children", "vertical", "horizontal", "as", "class", "className", "style", "data-theme"]);
66
+ const Tag = local.as || "ul";
67
+ const classes = () => twMerge("steps", local.class, local.className, clsx({
68
+ "steps-vertical": local.vertical,
69
+ "steps-horizontal": local.horizontal
70
+ }));
71
+ if (VoidElementList2.includes(Tag)) {
72
+ return createComponent(Dynamic, mergeProps({
73
+ component: Tag
74
+ }, others, {
75
+ role: "group",
76
+ "aria-label": "Steps",
77
+ get ["data-theme"]() {
78
+ return local["data-theme"];
79
+ },
80
+ get ["class"]() {
81
+ return classes();
82
+ },
83
+ get style() {
84
+ return local.style;
85
+ }
86
+ }));
87
+ }
88
+ return createComponent(Dynamic, mergeProps({
89
+ component: Tag
90
+ }, others, {
91
+ role: "group",
92
+ "aria-label": "Steps",
93
+ get ["data-theme"]() {
94
+ return local["data-theme"];
95
+ },
96
+ get ["class"]() {
97
+ return classes();
98
+ },
99
+ get style() {
100
+ return local.style;
101
+ },
102
+ get children() {
103
+ return local.children;
104
+ }
105
+ }));
106
+ };
107
+ var Steps_default = Object.assign(Steps, {
108
+ Step: Step_default
109
+ });
110
+
111
+ // src/components/steps/index.ts
112
+ var steps_default = Steps_default;
113
+
114
+ export { steps_default };
@@ -0,0 +1,55 @@
1
+ import { clsx } from './HUHXQCKK.js';
2
+ import { twMerge } from './STFCLC5R.js';
3
+ import { template, use, spread, mergeProps } from 'solid-js/web';
4
+ import { splitProps, onMount, createEffect } from 'solid-js';
5
+
6
+ var _tmpl$ = /* @__PURE__ */ template(`<input>`);
7
+ var Checkbox = (props) => {
8
+ let inputRef;
9
+ const [local, others] = splitProps(props, ["color", "size", "indeterminate", "dataTheme", "class", "className", "style"]);
10
+ const classes = () => twMerge("checkbox", local.class, local.className, clsx({
11
+ "checkbox-xl": local.size === "xl",
12
+ "checkbox-lg": local.size === "lg",
13
+ "checkbox-md": local.size === "md",
14
+ "checkbox-sm": local.size === "sm",
15
+ "checkbox-xs": local.size === "xs",
16
+ "checkbox-neutral": local.color === "neutral",
17
+ "checkbox-primary": local.color === "primary",
18
+ "checkbox-secondary": local.color === "secondary",
19
+ "checkbox-accent": local.color === "accent",
20
+ "checkbox-info": local.color === "info",
21
+ "checkbox-success": local.color === "success",
22
+ "checkbox-warning": local.color === "warning",
23
+ "checkbox-error": local.color === "error"
24
+ }));
25
+ onMount(() => {
26
+ if (inputRef && local.indeterminate !== void 0) {
27
+ inputRef.indeterminate = local.indeterminate;
28
+ }
29
+ });
30
+ createEffect(() => {
31
+ if (inputRef) {
32
+ inputRef.indeterminate = !!local.indeterminate;
33
+ }
34
+ });
35
+ return (() => {
36
+ var _el$ = _tmpl$();
37
+ use((el) => inputRef = el, _el$);
38
+ spread(_el$, mergeProps(others, {
39
+ "type": "checkbox",
40
+ get ["data-theme"]() {
41
+ return local.dataTheme;
42
+ },
43
+ get ["class"]() {
44
+ return classes();
45
+ },
46
+ get style() {
47
+ return local.style;
48
+ }
49
+ }), false, false);
50
+ return _el$;
51
+ })();
52
+ };
53
+ var Checkbox_default = Checkbox;
54
+
55
+ export { Checkbox_default };
@@ -0,0 +1,16 @@
1
+ // node_modules/clsx/dist/clsx.mjs
2
+ function r(e) {
3
+ var t, f, n = "";
4
+ if ("string" == typeof e || "number" == typeof e) n += e;
5
+ else if ("object" == typeof e) if (Array.isArray(e)) {
6
+ var o = e.length;
7
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
8
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
9
+ return n;
10
+ }
11
+ function clsx() {
12
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
13
+ return n;
14
+ }
15
+
16
+ export { clsx };