@pathscale/ui 0.0.11 → 0.0.13

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 (178) 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/64ESNXN4.js +1 -0
  19. package/dist/chunk/6P5JIKPF.jsx +51 -0
  20. package/dist/chunk/BHLLVOVR.js +46 -0
  21. package/dist/chunk/DJI5XKAV.js +31 -0
  22. package/dist/chunk/DN3P54J2.jsx +43 -0
  23. package/dist/chunk/DVFQAAZR.js +43 -0
  24. package/dist/chunk/EDDBK4J6.js +42 -0
  25. package/dist/chunk/FZRQDGPD.jsx +54 -0
  26. package/dist/chunk/G5UEZ2VC.js +49 -0
  27. package/dist/chunk/GL7JG772.js +114 -0
  28. package/dist/chunk/H2Q3L5KM.js +48 -0
  29. package/dist/chunk/HEOKGP5U.js +55 -0
  30. package/dist/chunk/HUHXQCKK.js +16 -0
  31. package/dist/chunk/I36LHZUY.jsx +31 -0
  32. package/dist/chunk/IG323YKF.jsx +50 -0
  33. package/dist/chunk/JQ4HSRDP.js +142 -0
  34. package/dist/chunk/JSQBKK7L.jsx +50 -0
  35. package/dist/chunk/K3WO7SRD.js +1 -0
  36. package/dist/chunk/KQ3RAWCE.jsx +57 -0
  37. package/dist/chunk/KXJZKDJX.jsx +0 -0
  38. package/dist/chunk/L4A67X7S.js +7 -0
  39. package/dist/chunk/LGDDR242.jsx +159 -0
  40. package/dist/chunk/MM2DZQL3.js +46 -0
  41. package/dist/chunk/O7LDJCQS.jsx +18 -0
  42. package/dist/chunk/PFB27MP3.jsx +0 -0
  43. package/dist/chunk/Q4442PU4.js +42 -0
  44. package/dist/chunk/R5G3PODL.jsx +11 -0
  45. package/dist/chunk/R6ZBT7CY.jsx +55 -0
  46. package/dist/chunk/RHEFVSMJ.jsx +52 -0
  47. package/dist/chunk/STFCLC5R.js +2954 -0
  48. package/dist/chunk/SVJIYMYJ.jsx +156 -0
  49. package/dist/chunk/SYWB4UN3.jsx +64 -0
  50. package/dist/chunk/T324HUIT.jsx +57 -0
  51. package/dist/chunk/T5LDPSFV.jsx +122 -0
  52. package/dist/chunk/UNKDNDT3.js +62 -0
  53. package/dist/chunk/XM3KF5LV.jsx +179 -0
  54. package/dist/chunk/YWIT2MRI.jsx +43 -0
  55. package/dist/chunk/ZH7DKMMN.js +109 -0
  56. package/dist/chunk/ZYEP35R3.jsx +60 -0
  57. package/dist/components/Progress/index.d.ts +1 -1
  58. package/dist/components/accordion/index.d.ts +17 -5
  59. package/dist/components/accordion/index.js +1 -1
  60. package/dist/components/accordion/index.jsx +6 -4
  61. package/dist/components/autocomplete/index.d.ts +2 -2
  62. package/dist/components/avatar/index.d.ts +4 -4
  63. package/dist/components/avatar/index.js +1 -1
  64. package/dist/components/avatar/index.jsx +3 -2
  65. package/dist/components/badge/index.d.ts +17 -0
  66. package/dist/components/badge/index.js +1 -0
  67. package/dist/components/badge/index.jsx +8 -0
  68. package/dist/components/breadcrumbs/index.d.ts +9 -0
  69. package/dist/components/breadcrumbs/index.js +1 -0
  70. package/dist/components/breadcrumbs/index.jsx +7 -0
  71. package/dist/components/button/index.d.ts +28 -6
  72. package/dist/components/button/index.js +1 -1
  73. package/dist/components/button/index.jsx +6 -5
  74. package/dist/components/checkbox/index.d.ts +13 -5
  75. package/dist/components/checkbox/index.js +1 -1
  76. package/dist/components/checkbox/index.jsx +5 -4
  77. package/dist/components/collapse/index.d.ts +15 -0
  78. package/dist/components/collapse/index.js +1 -0
  79. package/dist/components/collapse/index.jsx +14 -0
  80. package/dist/components/field/index.d.ts +1 -1
  81. package/dist/components/fileinput/index.d.ts +16 -0
  82. package/dist/components/fileinput/index.js +1 -0
  83. package/dist/components/fileinput/index.jsx +8 -0
  84. package/dist/components/input/index.d.ts +13 -8
  85. package/dist/components/input/index.js +1 -1
  86. package/dist/components/input/index.jsx +5 -6
  87. package/dist/components/join/index.d.ts +11 -0
  88. package/dist/components/join/index.js +1 -0
  89. package/dist/components/join/index.jsx +9 -0
  90. package/dist/components/loading/index.d.ts +11 -0
  91. package/dist/components/loading/index.js +1 -0
  92. package/dist/components/loading/index.jsx +9 -0
  93. package/dist/components/mask/index.d.ts +7 -0
  94. package/dist/components/mask/index.js +1 -0
  95. package/dist/components/mask/index.jsx +8 -0
  96. package/dist/components/menu/index.d.ts +6 -64
  97. package/dist/components/menu/index.js +1 -1
  98. package/dist/components/menu/index.jsx +4 -7
  99. package/dist/components/pagination/index.d.ts +6 -6
  100. package/dist/components/pagination/index.js +1 -1
  101. package/dist/components/pagination/index.jsx +6 -4
  102. package/dist/components/polymorphic/index.d.ts +1 -1
  103. package/dist/components/select/index.d.ts +12 -5
  104. package/dist/components/select/index.js +1 -1
  105. package/dist/components/select/index.jsx +5 -4
  106. package/dist/components/steps/index.d.ts +3 -4
  107. package/dist/components/steps/index.js +1 -1
  108. package/dist/components/steps/index.jsx +3 -2
  109. package/dist/components/tabs/index.d.ts +2 -2
  110. package/dist/components/textarea/index.d.ts +12 -5
  111. package/dist/components/textarea/index.js +1 -1
  112. package/dist/components/textarea/index.jsx +5 -4
  113. package/dist/components/toggle/index.d.ts +15 -0
  114. package/dist/components/toggle/index.js +1 -0
  115. package/dist/components/toggle/index.jsx +8 -0
  116. package/dist/components/tooltip/index.d.ts +14 -5
  117. package/dist/components/tooltip/index.js +1 -1
  118. package/dist/components/tooltip/index.jsx +5 -4
  119. package/dist/index.d.ts +25 -19
  120. package/dist/index.js +23 -19
  121. package/dist/index.jsx +87 -67
  122. package/dist/types-CUG9pToa.d.ts +15 -0
  123. package/package.json +4 -2
  124. package/dist/Accordion-nwuRbRRw.d.ts +0 -27
  125. package/dist/Avatar-CzIirpVq.d.ts +0 -33
  126. package/dist/Button-B50OLXuV.d.ts +0 -63
  127. package/dist/Checkbox-CzeDsQLA.d.ts +0 -32
  128. package/dist/Input-X4gwIB-F.d.ts +0 -42
  129. package/dist/Pagination-CJtlFMHy.d.ts +0 -43
  130. package/dist/Select-CP-TUHJv.d.ts +0 -44
  131. package/dist/Steps-1miUeyCD.d.ts +0 -34
  132. package/dist/Switch-CW6QtO1Y.d.ts +0 -76
  133. package/dist/Tag-BPrhn-Ne.d.ts +0 -42
  134. package/dist/Textarea-Cpdk7m6S.d.ts +0 -37
  135. package/dist/Tooltip-BfPongoz.d.ts +0 -53
  136. package/dist/Upload-CRljD5jf.d.ts +0 -39
  137. package/dist/chunk/3VOILEMN.js +0 -187
  138. package/dist/chunk/C4745OZS.jsx +0 -101
  139. package/dist/chunk/CJZGTNJZ.js +0 -115
  140. package/dist/chunk/DBQ7IOPU.js +0 -189
  141. package/dist/chunk/EB7KXR65.js +0 -102
  142. package/dist/chunk/EE4HXMKA.js +0 -165
  143. package/dist/chunk/ELRAUORW.jsx +0 -179
  144. package/dist/chunk/F33TSIEQ.jsx +0 -181
  145. package/dist/chunk/GWFGP2JQ.jsx +0 -179
  146. package/dist/chunk/LAQPAV5I.jsx +0 -187
  147. package/dist/chunk/LI3HCFL7.jsx +0 -132
  148. package/dist/chunk/LMPV5G35.jsx +0 -228
  149. package/dist/chunk/MI773TMC.js +0 -107
  150. package/dist/chunk/MMTAND25.jsx +0 -126
  151. package/dist/chunk/NZKPDBTE.js +0 -118
  152. package/dist/chunk/O2IMHWMY.js +0 -159
  153. package/dist/chunk/OMRJVDZV.js +0 -173
  154. package/dist/chunk/OYAKKETQ.js +0 -111
  155. package/dist/chunk/PF47YREI.js +0 -214
  156. package/dist/chunk/PNPC2OI3.jsx +0 -156
  157. package/dist/chunk/QHJOIUYT.jsx +0 -117
  158. package/dist/chunk/QONDPQ2I.jsx +0 -105
  159. package/dist/chunk/R6COBCN7.jsx +0 -100
  160. package/dist/chunk/T7IZ26YC.jsx +0 -194
  161. package/dist/chunk/TT2JYGLU.js +0 -218
  162. package/dist/chunk/V6Y5E7BL.js +0 -133
  163. package/dist/chunk/WB6NEEQV.jsx +0 -107
  164. package/dist/chunk/WYHYWDOM.js +0 -164
  165. package/dist/chunk/XD34JKSU.jsx +0 -201
  166. package/dist/chunk/YDEDUOFM.js +0 -102
  167. package/dist/components/breadcrumb/index.d.ts +0 -47
  168. package/dist/components/breadcrumb/index.js +0 -1
  169. package/dist/components/breadcrumb/index.jsx +0 -9
  170. package/dist/components/switch/index.d.ts +0 -8
  171. package/dist/components/switch/index.js +0 -1
  172. package/dist/components/switch/index.jsx +0 -7
  173. package/dist/components/tag/index.d.ts +0 -8
  174. package/dist/components/tag/index.js +0 -1
  175. package/dist/components/tag/index.jsx +0 -7
  176. package/dist/components/upload/index.d.ts +0 -8
  177. package/dist/components/upload/index.js +0 -1
  178. package/dist/components/upload/index.jsx +0 -7
@@ -0,0 +1,15 @@
1
+ import { JSX } from 'solid-js';
2
+
3
+ interface IComponentBaseProps {
4
+ dataTheme?: string;
5
+ class?: string;
6
+ className?: string;
7
+ style?: JSX.CSSProperties;
8
+ }
9
+ type ComponentSize = "xs" | "sm" | "md" | "lg" | "xl";
10
+ type ComponentShape = "circle" | "square" | "rounded";
11
+ type ComponentColor = "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error" | "ghost";
12
+ type ComponentVariant = "soft" | "dash" | "outline" | "filled" | "ghost" | "outlined";
13
+ type ComponentPosition = "top" | "bottom" | "left" | "right";
14
+
15
+ export type { ComponentSize as C, IComponentBaseProps as I, ComponentShape as a, ComponentColor as b, ComponentVariant as c, ComponentPosition as d };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,9 @@
17
17
  "typescript": "^5.8.3",
18
18
  "vite": "^6.3.5",
19
19
  "vite-plugin-solid": "^2.11.6",
20
- "vite-tsconfig-paths": "^5.1.4"
20
+ "vite-tsconfig-paths": "^5.1.4",
21
+ "clsx": "^2.1.1",
22
+ "tailwind-merge": "^3.3.0"
21
23
  },
22
24
  "peerDependencies": {
23
25
  "solid-js": "^1.8"
@@ -1,27 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const accordionContainerVariants: {
5
- (props?: (ConfigVariants<{
6
- expanded: {
7
- true: string;
8
- false: string;
9
- };
10
- disabled: {
11
- true: string;
12
- false: string;
13
- };
14
- }> & ClassProps) | undefined): string;
15
- variantKeys: ("disabled" | "expanded")[];
16
- };
17
-
18
- type AccordionProps = {
19
- expanded?: boolean;
20
- disabled?: boolean;
21
- headerIsTrigger?: boolean;
22
- header: JSX.Element;
23
- content: JSX.Element;
24
- } & VariantProps<typeof accordionContainerVariants> & JSX.HTMLAttributes<HTMLDivElement>;
25
- declare const Accordion: Component<AccordionProps>;
26
-
27
- export { Accordion as A, type AccordionProps as a };
@@ -1,33 +0,0 @@
1
- import { Component, ComponentProps } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const avatarVariants: {
5
- (props?: (ConfigVariants<{
6
- size: {
7
- sm: string;
8
- md: string;
9
- lg: string;
10
- };
11
- shape: {
12
- circle: string;
13
- rounded: string;
14
- };
15
- variant: {
16
- filled: string;
17
- outlined: string;
18
- ghost: string;
19
- };
20
- }> & ClassProps) | undefined): string;
21
- variantKeys: ("size" | "shape" | "variant")[];
22
- };
23
-
24
- type AvatarVariantProps = VariantProps<typeof avatarVariants>;
25
- type AvatarProps = AvatarVariantProps & ClassProps & ComponentProps<"img"> & {
26
- src?: string;
27
- dataSrc?: string;
28
- alt?: string;
29
- text?: string;
30
- };
31
- declare const Avatar: Component<AvatarProps>;
32
-
33
- export { Avatar as A, type AvatarProps as a, avatarVariants as b };
@@ -1,63 +0,0 @@
1
- import * as solid_js from 'solid-js';
2
- import { ValidComponent } from 'solid-js';
3
- import { PolymorphicProps, PolymorphicButtonSharedProps, PolymorphicButtonElementProps } from './components/polymorphic/index.js';
4
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
5
-
6
- declare const buttonVariants: {
7
- (props?: (ConfigVariants<{
8
- size: {
9
- sm: string;
10
- md: string;
11
- lg: string;
12
- };
13
- color: {
14
- inverse: string;
15
- primary: string;
16
- secondary: string;
17
- tertiary: string;
18
- accent: string;
19
- positive: string;
20
- destructive: string;
21
- };
22
- align: {
23
- start: string;
24
- center: string;
25
- end: string;
26
- };
27
- shape: {
28
- circle: string;
29
- rounded: string;
30
- };
31
- spacing: {
32
- 0: string;
33
- xs: string;
34
- sm: string;
35
- md: string;
36
- lg: string;
37
- };
38
- loading: {
39
- true: string;
40
- false: string;
41
- };
42
- stretched: {
43
- true: string;
44
- false: string;
45
- };
46
- variant: {
47
- fill: string[];
48
- gray: string[];
49
- ghost: string[];
50
- };
51
- }> & ClassProps) | undefined): string;
52
- variantKeys: ("size" | "shape" | "variant" | "loading" | "align" | "color" | "spacing" | "stretched")[];
53
- };
54
-
55
- type ButtonVariantProps = VariantProps<typeof buttonVariants>;
56
- type ButtonSharedProps<T extends ValidComponent = "button"> = PolymorphicButtonSharedProps<T> & ClassProps;
57
- type ButtonElementProps = PolymorphicButtonElementProps & ButtonSharedProps & {
58
- "aria-busy": "true" | undefined;
59
- };
60
- type ButtonProps<T extends ValidComponent = "button"> = Partial<ButtonVariantProps> & Partial<ButtonSharedProps<T>>;
61
- declare const Button: <T extends ValidComponent = "button">(props: PolymorphicProps<T, ButtonProps<T>>) => solid_js.JSX.Element;
62
-
63
- export { Button as B, type ButtonElementProps as a, type ButtonProps as b, type ButtonSharedProps as c, type ButtonVariantProps as d };
@@ -1,32 +0,0 @@
1
- import { Component, ComponentProps, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const checkboxVariants: {
5
- (props?: (ConfigVariants<{
6
- size: {
7
- sm: string;
8
- md: string;
9
- lg: string;
10
- };
11
- color: {
12
- primary: string;
13
- success: string;
14
- warning: string;
15
- danger: string;
16
- };
17
- }> & ClassProps) | undefined): string;
18
- variantKeys: ("size" | "color")[];
19
- };
20
-
21
- type CheckboxProps = VariantProps<typeof checkboxVariants> & ClassProps & Omit<ComponentProps<"input">, "onChange" | "onFocus" | "onBlur"> & {
22
- indeterminate?: boolean;
23
- defaultChecked?: boolean;
24
- disabled?: boolean;
25
- label?: JSX.Element;
26
- onChange?: JSX.EventHandlerUnion<HTMLInputElement, Event>;
27
- onFocus?: JSX.EventHandlerUnion<HTMLInputElement, FocusEvent>;
28
- onBlur?: JSX.EventHandlerUnion<HTMLInputElement, FocusEvent>;
29
- };
30
- declare const Checkbox: Component<CheckboxProps>;
31
-
32
- export { Checkbox as C, type CheckboxProps as a };
@@ -1,42 +0,0 @@
1
- import { ComponentProps, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const inputVariants: {
5
- (props?: (ConfigVariants<{
6
- color: {
7
- danger: string;
8
- success: string;
9
- warning: string;
10
- };
11
- rounded: {
12
- true: string;
13
- false: string;
14
- };
15
- expanded: {
16
- true: string;
17
- false: string;
18
- };
19
- loading: {
20
- true: string;
21
- false: string;
22
- };
23
- hasLeftIcon: {
24
- true: string;
25
- false: string;
26
- };
27
- hasRightIcon: {
28
- true: string;
29
- false: string;
30
- };
31
- }> & ClassProps) | undefined): string;
32
- variantKeys: ("rounded" | "loading" | "color" | "expanded" | "hasLeftIcon" | "hasRightIcon")[];
33
- };
34
-
35
- type InputProps = Partial<VariantProps<typeof inputVariants> & ClassProps & ComponentProps<"input">> & {
36
- leftIcon?: JSX.Element;
37
- rightIcon?: JSX.Element;
38
- passwordReveal?: boolean;
39
- };
40
- declare const Input: (props: InputProps) => JSX.Element;
41
-
42
- export { Input as I, type InputProps as a };
@@ -1,43 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const paginationItemVariants: {
5
- (props?: (ConfigVariants<{
6
- active: {
7
- true: string;
8
- false: string;
9
- };
10
- rounded: {
11
- true: string;
12
- false: string;
13
- };
14
- simple: {
15
- true: string;
16
- false: string;
17
- };
18
- size: {
19
- sm: string;
20
- md: string;
21
- lg: string;
22
- };
23
- disabled: {
24
- true: string;
25
- false: string;
26
- };
27
- }> & ClassProps) | undefined): string;
28
- variantKeys: ("disabled" | "size" | "rounded" | "active" | "simple")[];
29
- };
30
-
31
- type PaginationProps = {
32
- total: number;
33
- perPage?: number;
34
- current: number;
35
- onChange: (page: number) => void;
36
- rangeBefore?: number;
37
- rangeAfter?: number;
38
- simple?: boolean;
39
- children?: JSX.Element;
40
- } & VariantProps<typeof paginationItemVariants> & JSX.HTMLAttributes<HTMLElement>;
41
- declare const Pagination: Component<PaginationProps>;
42
-
43
- export { Pagination as P, type PaginationProps as a };
@@ -1,44 +0,0 @@
1
- import { Component, ComponentProps, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const selectVariants: {
5
- (props?: (ConfigVariants<{
6
- size: {
7
- sm: string;
8
- md: string;
9
- lg: string;
10
- };
11
- color: {
12
- primary: string;
13
- info: string;
14
- success: string;
15
- warning: string;
16
- danger: string;
17
- };
18
- loading: {
19
- true: string;
20
- false: string;
21
- };
22
- expanded: {
23
- true: string;
24
- false: string;
25
- };
26
- rounded: {
27
- true: string;
28
- false: string;
29
- };
30
- }> & ClassProps) | undefined): string;
31
- variantKeys: ("size" | "rounded" | "loading" | "color" | "expanded")[];
32
- };
33
-
34
- type SelectProps = VariantProps<typeof selectVariants> & ClassProps & ComponentProps<"select"> & {
35
- placeholder?: string;
36
- nativeSize?: string | number;
37
- value?: string | number | null;
38
- onChange?: JSX.EventHandlerUnion<HTMLSelectElement, Event>;
39
- onFocus?: JSX.EventHandlerUnion<HTMLSelectElement, FocusEvent>;
40
- onBlur?: JSX.EventHandlerUnion<HTMLSelectElement, FocusEvent>;
41
- };
42
- declare const Select: Component<SelectProps>;
43
-
44
- export { Select as S, type SelectProps as a };
@@ -1,34 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const stepsContainer: {
5
- (props?: (ConfigVariants<{
6
- animated: {
7
- true: string;
8
- false: string;
9
- };
10
- }> & ClassProps) | undefined): string;
11
- variantKeys: "animated"[];
12
- };
13
-
14
- type StepItem = {
15
- title: string;
16
- marker?: string;
17
- subtitle?: string;
18
- clickable?: boolean;
19
- content: JSX.Element;
20
- className?: string;
21
- };
22
- type StepsProps = {
23
- steps: StepItem[];
24
- animated?: boolean;
25
- initial?: number;
26
- /** Controlled active index */
27
- value?: number;
28
- /** Fired on step change */
29
- onStepChange?: (stepIndex: number) => void;
30
- className?: string;
31
- } & VariantProps<typeof stepsContainer>;
32
- declare const Steps: Component<StepsProps>;
33
-
34
- export { Steps as S, type StepItem as a };
@@ -1,76 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const switchVariants: {
5
- (props?: (ConfigVariants<{
6
- size: {
7
- sm: string;
8
- md: string;
9
- lg: string;
10
- };
11
- disabled: {
12
- true: string;
13
- false: string;
14
- };
15
- rounded: {
16
- true: string;
17
- false: string;
18
- };
19
- outlined: {
20
- true: string;
21
- false: string;
22
- };
23
- }> & ClassProps) | undefined): string;
24
- variantKeys: ("disabled" | "size" | "rounded" | "outlined")[];
25
- };
26
- declare const checkVariants: {
27
- (props?: (ConfigVariants<{
28
- size: {
29
- sm: string;
30
- md: string;
31
- lg: string;
32
- };
33
- color: {
34
- primary: string;
35
- success: string;
36
- danger: string;
37
- warning: string;
38
- gray: string;
39
- };
40
- passiveColor: {
41
- primary: string;
42
- success: string;
43
- danger: string;
44
- warning: string;
45
- gray: string;
46
- };
47
- rounded: {
48
- true: string;
49
- false: string;
50
- };
51
- outlined: {
52
- true: string;
53
- false: string;
54
- };
55
- disabled: {
56
- true: string;
57
- false: string;
58
- };
59
- }> & ClassProps) | undefined): string;
60
- variantKeys: ("disabled" | "size" | "rounded" | "outlined" | "color" | "passiveColor")[];
61
- };
62
-
63
- type SwitchProps = {
64
- children?: JSX.Element;
65
- checked?: boolean;
66
- defaultChecked?: boolean;
67
- onChange?: (checked: boolean) => void;
68
- name?: string;
69
- required?: boolean;
70
- disabled?: boolean;
71
- "aria-label"?: string;
72
- "aria-describedby"?: string;
73
- } & VariantProps<typeof switchVariants> & VariantProps<typeof checkVariants> & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "onChange">;
74
- declare const Switch: Component<SwitchProps>;
75
-
76
- export { Switch as S, type SwitchProps as a };
@@ -1,42 +0,0 @@
1
- import { Component, ComponentProps, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const tagVariants: {
5
- (props?: (ConfigVariants<{
6
- size: {
7
- normal: string;
8
- medium: string;
9
- large: string;
10
- };
11
- type: {
12
- primary: string;
13
- info: string;
14
- success: string;
15
- warning: string;
16
- danger: string;
17
- dark: string;
18
- light: string;
19
- };
20
- rounded: {
21
- true: string;
22
- false: string;
23
- };
24
- closable: {
25
- true: string;
26
- false: string;
27
- };
28
- }> & ClassProps) | undefined): string;
29
- variantKeys: ("size" | "rounded" | "type" | "closable")[];
30
- };
31
-
32
- type TagProps = VariantProps<typeof tagVariants> & ClassProps & ComponentProps<"span"> & {
33
- closable?: boolean;
34
- attached?: boolean;
35
- ariaCloseLabel?: string;
36
- onClose?: (e: MouseEvent) => void;
37
- closeIcon?: JSX.Element;
38
- children?: JSX.Element;
39
- };
40
- declare const Tag: Component<TagProps>;
41
-
42
- export { Tag as T, type TagProps as a };
@@ -1,37 +0,0 @@
1
- import { Component, ComponentProps } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const textareaVariants: {
5
- (props?: (ConfigVariants<{
6
- size: {
7
- sm: string;
8
- md: string;
9
- lg: string;
10
- };
11
- color: {
12
- primary: string;
13
- info: string;
14
- success: string;
15
- warning: string;
16
- danger: string;
17
- };
18
- loading: {
19
- true: string;
20
- false: string;
21
- };
22
- resize: {
23
- none: string;
24
- both: string;
25
- x: string;
26
- y: string;
27
- };
28
- }> & ClassProps) | undefined): string;
29
- variantKeys: ("size" | "loading" | "color" | "resize")[];
30
- };
31
-
32
- type TextareaProps = VariantProps<typeof textareaVariants> & ClassProps & ComponentProps<"textarea"> & {
33
- hasCounter?: boolean;
34
- };
35
- declare const Textarea: Component<TextareaProps>;
36
-
37
- export { Textarea as T, type TextareaProps as a };
@@ -1,53 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const tooltipVariants: {
5
- (props?: (ConfigVariants<{
6
- type: {
7
- info: string;
8
- success: string;
9
- warning: string;
10
- danger: string;
11
- primary: string;
12
- gray: string;
13
- };
14
- size: {
15
- sm: string;
16
- md: string;
17
- lg: string;
18
- };
19
- rounded: {
20
- true: string;
21
- false: string;
22
- };
23
- dashed: {
24
- true: string;
25
- false: string;
26
- };
27
- multilined: {
28
- true: string;
29
- false: string;
30
- };
31
- animated: {
32
- true: string;
33
- false: string;
34
- };
35
- position: {
36
- top: string;
37
- bottom: string;
38
- left: string;
39
- right: string;
40
- };
41
- }> & ClassProps) | undefined): string;
42
- variantKeys: ("size" | "rounded" | "type" | "dashed" | "multilined" | "animated" | "position")[];
43
- };
44
-
45
- type TooltipProps = {
46
- label: string;
47
- delay?: number;
48
- always?: boolean;
49
- children?: JSX.Element;
50
- } & VariantProps<typeof tooltipVariants> & JSX.HTMLAttributes<HTMLSpanElement>;
51
- declare const Tooltip: Component<TooltipProps>;
52
-
53
- export { Tooltip as T, type TooltipProps as a };
@@ -1,39 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
3
-
4
- declare const uploadWrapperVariants: {
5
- (props?: (ConfigVariants<{
6
- style: {
7
- boxed: string;
8
- button: string;
9
- };
10
- color: {
11
- primary: string;
12
- success: string;
13
- info: string;
14
- warning: string;
15
- danger: string;
16
- gray: string;
17
- };
18
- size: {
19
- sm: string;
20
- md: string;
21
- lg: string;
22
- };
23
- }> & ClassProps) | undefined): string;
24
- variantKeys: ("size" | "style" | "color")[];
25
- };
26
-
27
- type UploadProps = {
28
- icon?: JSX.Element;
29
- label?: string;
30
- multiple?: boolean;
31
- disabled?: boolean;
32
- accept?: string;
33
- dragDrop?: boolean;
34
- name?: string;
35
- onChange?: (files: File | File[]) => void;
36
- } & VariantProps<typeof uploadWrapperVariants> & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "onChange" | "multiple" | "accept" | "disabled">;
37
- declare const Upload: Component<UploadProps>;
38
-
39
- export { Upload as U, type UploadProps as a };