@pathscale/ui 0.0.10 → 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.
- package/README.md +53 -0
- package/dist/Avatar-Dkd_kPlV.d.ts +40 -0
- package/dist/CollapseTitle-BNxog3is.d.ts +12 -0
- package/dist/{Field-DfUn85_1.d.ts → Field-DI2PA30N.d.ts} +1 -1
- package/dist/Mask-CPb596Mg.d.ts +16 -0
- package/dist/Menu-DgO4SHmA.d.ts +45 -0
- package/dist/{Progress-gN0xqhAF.d.ts → Progress-ChF4ior8.d.ts} +2 -2
- package/dist/Steps-Dk-UPL6r.d.ts +38 -0
- package/dist/{Tabs-BEnRV6GG.d.ts → Tabs-WiUU0xsM.d.ts} +1 -1
- package/dist/chunk/2OJYONJ3.js +40 -0
- package/dist/chunk/2VQ2762Z.js +80 -0
- package/dist/chunk/2XPPNBYK.js +164 -0
- package/dist/chunk/3I23P4TJ.js +33 -0
- package/dist/chunk/5HG7XWVC.jsx +2956 -0
- package/dist/chunk/5IJ7WEIF.js +43 -0
- package/dist/chunk/5O6WC3OB.jsx +67 -0
- package/dist/chunk/6P5JIKPF.jsx +51 -0
- package/dist/chunk/BHLLVOVR.js +46 -0
- package/dist/chunk/DJI5XKAV.js +31 -0
- package/dist/chunk/DN3P54J2.jsx +43 -0
- package/dist/chunk/DVFQAAZR.js +43 -0
- package/dist/chunk/EDDBK4J6.js +42 -0
- package/dist/chunk/FZRQDGPD.jsx +54 -0
- package/dist/chunk/G5UEZ2VC.js +49 -0
- package/dist/chunk/GL7JG772.js +114 -0
- package/dist/chunk/HEOKGP5U.js +55 -0
- package/dist/chunk/HUHXQCKK.js +16 -0
- package/dist/chunk/I36LHZUY.jsx +31 -0
- package/dist/chunk/IG323YKF.jsx +50 -0
- package/dist/chunk/JQ4HSRDP.js +142 -0
- package/dist/chunk/JSQBKK7L.jsx +50 -0
- package/dist/chunk/K3WO7SRD.js +1 -0
- package/dist/chunk/KQ3RAWCE.jsx +57 -0
- package/dist/chunk/KXJZKDJX.jsx +0 -0
- package/dist/chunk/L4A67X7S.js +7 -0
- package/dist/chunk/LGDDR242.jsx +159 -0
- package/dist/chunk/MM2DZQL3.js +46 -0
- package/dist/chunk/MZWBWFDD.js +151 -0
- package/dist/chunk/O7LDJCQS.jsx +18 -0
- package/dist/chunk/Q4442PU4.js +42 -0
- package/dist/chunk/R5G3PODL.jsx +11 -0
- package/dist/chunk/R6ZBT7CY.jsx +55 -0
- package/dist/chunk/RHEFVSMJ.jsx +52 -0
- package/dist/chunk/{G6RG4LR7.js → SPEY5RMB.js} +2 -5
- package/dist/chunk/STFCLC5R.js +2954 -0
- package/dist/chunk/SVJIYMYJ.jsx +156 -0
- package/dist/chunk/SYWB4UN3.jsx +64 -0
- package/dist/chunk/{KACNXPUM.jsx → T2LDLYWV.jsx} +2 -4
- package/dist/chunk/UNKDNDT3.js +62 -0
- package/dist/chunk/XM3KF5LV.jsx +179 -0
- package/dist/chunk/XQCSYRVP.jsx +168 -0
- package/dist/chunk/YWIT2MRI.jsx +43 -0
- package/dist/chunk/ZYEP35R3.jsx +60 -0
- package/dist/components/{progress → Progress}/index.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +17 -5
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.jsx +6 -4
- package/dist/components/avatar/index.d.ts +4 -4
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +3 -2
- package/dist/components/badge/index.d.ts +17 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/badge/index.jsx +8 -0
- package/dist/components/breadcrumbs/index.d.ts +9 -0
- package/dist/components/breadcrumbs/index.js +1 -0
- package/dist/components/breadcrumbs/index.jsx +7 -0
- package/dist/components/button/index.d.ts +28 -6
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/index.jsx +5 -5
- package/dist/components/checkbox/index.d.ts +13 -5
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.jsx +5 -4
- package/dist/components/collapse/index.d.ts +15 -0
- package/dist/components/collapse/index.js +1 -0
- package/dist/components/collapse/index.jsx +14 -0
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/fileinput/index.d.ts +16 -0
- package/dist/components/fileinput/index.js +1 -0
- package/dist/components/fileinput/index.jsx +8 -0
- package/dist/components/input/index.d.ts +13 -8
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/index.jsx +5 -6
- package/dist/components/join/index.d.ts +11 -0
- package/dist/components/join/index.js +1 -0
- package/dist/components/join/index.jsx +9 -0
- package/dist/components/mask/index.d.ts +7 -0
- package/dist/components/mask/index.js +1 -0
- package/dist/components/mask/index.jsx +8 -0
- package/dist/components/menu/index.d.ts +6 -64
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.jsx +4 -7
- package/dist/components/pagination/index.d.ts +6 -6
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +6 -4
- package/dist/components/polymorphic/index.d.ts +1 -2
- package/dist/components/polymorphic/index.js +1 -1
- package/dist/components/polymorphic/index.jsx +1 -1
- package/dist/components/select/index.d.ts +12 -5
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.jsx +5 -4
- package/dist/components/steps/index.d.ts +3 -4
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.jsx +3 -2
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/textarea/index.d.ts +12 -5
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/textarea/index.jsx +5 -4
- package/dist/components/toggle/index.d.ts +15 -0
- package/dist/components/toggle/index.js +1 -0
- package/dist/components/toggle/index.jsx +8 -0
- package/dist/components/tooltip/index.d.ts +14 -5
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +5 -4
- package/dist/index.d.ts +23 -18
- package/dist/index.js +23 -20
- package/dist/index.jsx +80 -65
- package/dist/types-CUG9pToa.d.ts +15 -0
- package/package.json +4 -2
- package/dist/Accordion-JZGWxBMK.d.ts +0 -27
- package/dist/Avatar-CzIirpVq.d.ts +0 -33
- package/dist/Button-B50OLXuV.d.ts +0 -63
- package/dist/Checkbox-CzeDsQLA.d.ts +0 -32
- package/dist/Input-BGHHmBBR.d.ts +0 -42
- package/dist/Pagination-CJtlFMHy.d.ts +0 -43
- package/dist/Select-CWCDBvec.d.ts +0 -44
- package/dist/Steps-1miUeyCD.d.ts +0 -34
- package/dist/Switch-CW6QtO1Y.d.ts +0 -76
- package/dist/Tag-BPrhn-Ne.d.ts +0 -42
- package/dist/Textarea-Cpdk7m6S.d.ts +0 -37
- package/dist/Tooltip-BfPongoz.d.ts +0 -53
- package/dist/Upload-CRljD5jf.d.ts +0 -39
- package/dist/chunk/3VOILEMN.js +0 -187
- package/dist/chunk/C4745OZS.jsx +0 -101
- package/dist/chunk/CJZGTNJZ.js +0 -115
- package/dist/chunk/DBQ7IOPU.js +0 -189
- package/dist/chunk/EB7KXR65.js +0 -102
- package/dist/chunk/EE4HXMKA.js +0 -165
- package/dist/chunk/ELRAUORW.jsx +0 -179
- package/dist/chunk/F33TSIEQ.jsx +0 -181
- package/dist/chunk/GA2HCFRS.jsx +0 -228
- package/dist/chunk/GWFGP2JQ.jsx +0 -179
- package/dist/chunk/LAQPAV5I.jsx +0 -187
- package/dist/chunk/LI3HCFL7.jsx +0 -132
- package/dist/chunk/MI773TMC.js +0 -107
- package/dist/chunk/MMTAND25.jsx +0 -126
- package/dist/chunk/NZKPDBTE.js +0 -118
- package/dist/chunk/NZZRKP74.js +0 -214
- package/dist/chunk/O2IMHWMY.js +0 -159
- package/dist/chunk/OMRJVDZV.js +0 -173
- package/dist/chunk/OYAKKETQ.js +0 -111
- package/dist/chunk/PNPC2OI3.jsx +0 -156
- package/dist/chunk/QHJOIUYT.jsx +0 -117
- package/dist/chunk/QONDPQ2I.jsx +0 -105
- package/dist/chunk/R6COBCN7.jsx +0 -100
- package/dist/chunk/T7IZ26YC.jsx +0 -194
- package/dist/chunk/TT2JYGLU.js +0 -218
- package/dist/chunk/V6Y5E7BL.js +0 -133
- package/dist/chunk/WB6NEEQV.jsx +0 -107
- package/dist/chunk/WYHYWDOM.js +0 -164
- package/dist/chunk/XD34JKSU.jsx +0 -201
- package/dist/chunk/YDEDUOFM.js +0 -102
- package/dist/components/breadcrumb/index.d.ts +0 -47
- package/dist/components/breadcrumb/index.js +0 -1
- package/dist/components/breadcrumb/index.jsx +0 -9
- package/dist/components/switch/index.d.ts +0 -8
- package/dist/components/switch/index.js +0 -1
- package/dist/components/switch/index.jsx +0 -7
- package/dist/components/tag/index.d.ts +0 -8
- package/dist/components/tag/index.js +0 -1
- package/dist/components/tag/index.jsx +0 -7
- package/dist/components/upload/index.d.ts +0 -8
- package/dist/components/upload/index.js +0 -1
- package/dist/components/upload/index.jsx +0 -7
- /package/dist/components/{progress → Progress}/index.js +0 -0
- /package/dist/components/{progress → Progress}/index.jsx +0 -0
|
@@ -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 };
|
package/dist/Input-BGHHmBBR.d.ts
DELETED
|
@@ -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: ("expanded" | "rounded" | "loading" | "color" | "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: ("expanded" | "size" | "rounded" | "loading" | "color")[];
|
|
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 };
|
package/dist/Steps-1miUeyCD.d.ts
DELETED
|
@@ -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 };
|
package/dist/Tag-BPrhn-Ne.d.ts
DELETED
|
@@ -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 };
|