@pathscale/ui 0.0.13 → 0.0.15
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 +44 -39
- package/dist/index.js +7170 -29
- package/package.json +42 -48
- package/dist/Autocomplete-gLkjMHrc.d.ts +0 -28
- package/dist/Avatar-Dkd_kPlV.d.ts +0 -40
- package/dist/CollapseTitle-BNxog3is.d.ts +0 -12
- package/dist/Field-DI2PA30N.d.ts +0 -49
- package/dist/Mask-CPb596Mg.d.ts +0 -16
- package/dist/Menu-DgO4SHmA.d.ts +0 -45
- package/dist/Progress-ChF4ior8.d.ts +0 -64
- package/dist/Steps-Dk-UPL6r.d.ts +0 -38
- package/dist/Table-CGa6Nop3.d.ts +0 -39
- package/dist/Tabs-WiUU0xsM.d.ts +0 -42
- package/dist/Timeline-Bd4SxHMT.d.ts +0 -14
- package/dist/chunk/2OJYONJ3.js +0 -40
- package/dist/chunk/2VQ2762Z.js +0 -80
- package/dist/chunk/2XPPNBYK.js +0 -164
- package/dist/chunk/3FBDYV4P.js +0 -143
- package/dist/chunk/3I23P4TJ.js +0 -33
- package/dist/chunk/55B7Q4NT.jsx +0 -258
- package/dist/chunk/5HG7XWVC.jsx +0 -2956
- package/dist/chunk/5IJ7WEIF.js +0 -43
- package/dist/chunk/5O6WC3OB.jsx +0 -67
- package/dist/chunk/64ESNXN4.js +0 -1
- package/dist/chunk/6P5JIKPF.jsx +0 -51
- package/dist/chunk/BHLLVOVR.js +0 -46
- package/dist/chunk/C4YO33NN.jsx +0 -179
- package/dist/chunk/DJI5XKAV.js +0 -31
- package/dist/chunk/DN3P54J2.jsx +0 -43
- package/dist/chunk/DSTUGZW6.jsx +0 -81
- package/dist/chunk/DVFQAAZR.js +0 -43
- package/dist/chunk/EDDBK4J6.js +0 -42
- package/dist/chunk/FKSQPGOD.jsx +0 -170
- package/dist/chunk/FZRQDGPD.jsx +0 -54
- package/dist/chunk/G5UEZ2VC.js +0 -49
- package/dist/chunk/GL7JG772.js +0 -114
- package/dist/chunk/GMIXRYN3.js +0 -138
- package/dist/chunk/H2Q3L5KM.js +0 -48
- package/dist/chunk/HEOKGP5U.js +0 -55
- package/dist/chunk/HKS7ET6T.js +0 -56
- package/dist/chunk/HUHXQCKK.js +0 -16
- package/dist/chunk/HWAGW5N4.jsx +0 -118
- package/dist/chunk/I36LHZUY.jsx +0 -31
- package/dist/chunk/IG323YKF.jsx +0 -50
- package/dist/chunk/JQ4HSRDP.js +0 -142
- package/dist/chunk/JSQBKK7L.jsx +0 -50
- package/dist/chunk/JWRGKHDO.js +0 -172
- package/dist/chunk/K3WO7SRD.js +0 -1
- package/dist/chunk/KQ3RAWCE.jsx +0 -57
- package/dist/chunk/KV6LTJHI.jsx +0 -175
- package/dist/chunk/KXJZKDJX.jsx +0 -0
- package/dist/chunk/L4A67X7S.js +0 -7
- package/dist/chunk/LGDDR242.jsx +0 -159
- package/dist/chunk/MAX47D6F.js +0 -99
- package/dist/chunk/MM2DZQL3.js +0 -46
- package/dist/chunk/MYERRMTM.js +0 -200
- package/dist/chunk/O7LDJCQS.jsx +0 -18
- package/dist/chunk/OJRG4ZAB.jsx +0 -143
- package/dist/chunk/P653OZ5D.js +0 -224
- package/dist/chunk/P7WPLZNA.jsx +0 -59
- package/dist/chunk/PFB27MP3.jsx +0 -0
- package/dist/chunk/Q4442PU4.js +0 -42
- package/dist/chunk/QYEMOKUG.js +0 -125
- package/dist/chunk/R5G3PODL.jsx +0 -11
- package/dist/chunk/R6ZBT7CY.jsx +0 -55
- package/dist/chunk/RHEFVSMJ.jsx +0 -52
- package/dist/chunk/SPEY5RMB.js +0 -84
- package/dist/chunk/STFCLC5R.js +0 -2954
- package/dist/chunk/STKRVQR6.jsx +0 -130
- package/dist/chunk/SVJIYMYJ.jsx +0 -156
- package/dist/chunk/SYWB4UN3.jsx +0 -64
- package/dist/chunk/T2LDLYWV.jsx +0 -101
- package/dist/chunk/T324HUIT.jsx +0 -57
- package/dist/chunk/T5LDPSFV.jsx +0 -122
- package/dist/chunk/UNKDNDT3.js +0 -62
- package/dist/chunk/VN5BKHA2.jsx +0 -97
- package/dist/chunk/WOT36Q7O.js +0 -166
- package/dist/chunk/WUZETUQR.js +0 -92
- package/dist/chunk/XM3KF5LV.jsx +0 -179
- package/dist/chunk/YWIT2MRI.jsx +0 -43
- package/dist/chunk/ZH7DKMMN.js +0 -109
- package/dist/chunk/ZYEP35R3.jsx +0 -60
- package/dist/classes-B_S9K-9I.d.ts +0 -13
- package/dist/components/Progress/index.d.ts +0 -7
- package/dist/components/Progress/index.js +0 -1
- package/dist/components/Progress/index.jsx +0 -7
- package/dist/components/accordion/index.d.ts +0 -20
- package/dist/components/accordion/index.js +0 -1
- package/dist/components/accordion/index.jsx +0 -9
- package/dist/components/autocomplete/index.d.ts +0 -8
- package/dist/components/autocomplete/index.js +0 -1
- package/dist/components/autocomplete/index.jsx +0 -7
- package/dist/components/avatar/index.d.ts +0 -8
- package/dist/components/avatar/index.js +0 -1
- package/dist/components/avatar/index.jsx +0 -8
- package/dist/components/badge/index.d.ts +0 -17
- package/dist/components/badge/index.js +0 -1
- package/dist/components/badge/index.jsx +0 -8
- package/dist/components/breadcrumbs/index.d.ts +0 -9
- package/dist/components/breadcrumbs/index.js +0 -1
- package/dist/components/breadcrumbs/index.jsx +0 -7
- package/dist/components/button/index.d.ts +0 -31
- package/dist/components/button/index.js +0 -1
- package/dist/components/button/index.jsx +0 -9
- package/dist/components/checkbox/index.d.ts +0 -16
- package/dist/components/checkbox/index.js +0 -1
- package/dist/components/checkbox/index.jsx +0 -8
- package/dist/components/collapse/index.d.ts +0 -15
- package/dist/components/collapse/index.js +0 -1
- package/dist/components/collapse/index.jsx +0 -14
- package/dist/components/dropdown/index.d.ts +0 -27
- package/dist/components/dropdown/index.js +0 -1
- package/dist/components/dropdown/index.jsx +0 -13
- package/dist/components/field/index.d.ts +0 -7
- package/dist/components/field/index.js +0 -1
- package/dist/components/field/index.jsx +0 -7
- package/dist/components/fileinput/index.d.ts +0 -16
- package/dist/components/fileinput/index.js +0 -1
- package/dist/components/fileinput/index.jsx +0 -8
- package/dist/components/input/index.d.ts +0 -15
- package/dist/components/input/index.js +0 -1
- package/dist/components/input/index.jsx +0 -8
- package/dist/components/join/index.d.ts +0 -11
- package/dist/components/join/index.js +0 -1
- package/dist/components/join/index.jsx +0 -9
- package/dist/components/loading/index.d.ts +0 -11
- package/dist/components/loading/index.js +0 -1
- package/dist/components/loading/index.jsx +0 -9
- package/dist/components/mask/index.d.ts +0 -7
- package/dist/components/mask/index.js +0 -1
- package/dist/components/mask/index.jsx +0 -8
- package/dist/components/menu/index.d.ts +0 -8
- package/dist/components/menu/index.js +0 -1
- package/dist/components/menu/index.jsx +0 -8
- package/dist/components/navbar/index.d.ts +0 -36
- package/dist/components/navbar/index.js +0 -1
- package/dist/components/navbar/index.jsx +0 -11
- package/dist/components/pagination/index.d.ts +0 -8
- package/dist/components/pagination/index.js +0 -1
- package/dist/components/pagination/index.jsx +0 -9
- package/dist/components/polymorphic/index.d.ts +0 -34
- package/dist/components/polymorphic/index.js +0 -1
- package/dist/components/polymorphic/index.jsx +0 -8
- package/dist/components/select/index.d.ts +0 -15
- package/dist/components/select/index.js +0 -1
- package/dist/components/select/index.jsx +0 -8
- package/dist/components/steps/index.d.ts +0 -7
- package/dist/components/steps/index.js +0 -1
- package/dist/components/steps/index.jsx +0 -8
- package/dist/components/table/index.d.ts +0 -8
- package/dist/components/table/index.js +0 -1
- package/dist/components/table/index.jsx +0 -7
- package/dist/components/tabs/index.d.ts +0 -8
- package/dist/components/tabs/index.js +0 -1
- package/dist/components/tabs/index.jsx +0 -7
- package/dist/components/textarea/index.d.ts +0 -15
- package/dist/components/textarea/index.js +0 -1
- package/dist/components/textarea/index.jsx +0 -8
- package/dist/components/timeline/index.d.ts +0 -7
- package/dist/components/timeline/index.js +0 -1
- package/dist/components/timeline/index.jsx +0 -7
- package/dist/components/toast/index.d.ts +0 -24
- package/dist/components/toast/index.js +0 -1
- package/dist/components/toast/index.jsx +0 -11
- package/dist/components/toggle/index.d.ts +0 -15
- package/dist/components/toggle/index.js +0 -1
- package/dist/components/toggle/index.jsx +0 -8
- package/dist/components/tooltip/index.d.ts +0 -17
- package/dist/components/tooltip/index.js +0 -1
- package/dist/components/tooltip/index.jsx +0 -8
- package/dist/index.css +0 -73
- package/dist/index.d.ts +0 -33
- package/dist/index.jsx +0 -143
- package/dist/types-CUG9pToa.d.ts +0 -15
package/package.json
CHANGED
|
@@ -1,44 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pathscale/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"author": "pathscale",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/pathscale/ui"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"@biomejs/biome": "1.9.4",
|
|
12
|
-
"@tailwindcss/vite": "^4.1.6",
|
|
13
|
-
"@types/bun": "^1.2.12",
|
|
14
|
-
"esbuild-plugin-solid": "^0.6.0",
|
|
15
|
-
"tailwindcss": "^4.1.6",
|
|
16
|
-
"tsup": "^8.4.0",
|
|
17
|
-
"typescript": "^5.8.3",
|
|
18
|
-
"vite": "^6.3.5",
|
|
19
|
-
"vite-plugin-solid": "^2.11.6",
|
|
20
|
-
"vite-tsconfig-paths": "^5.1.4",
|
|
21
|
-
"clsx": "^2.1.1",
|
|
22
|
-
"tailwind-merge": "^3.3.0"
|
|
23
|
-
},
|
|
24
|
-
"peerDependencies": {
|
|
25
|
-
"solid-js": "^1.8"
|
|
26
|
-
},
|
|
27
|
-
"exports": {
|
|
28
|
-
".": {
|
|
29
|
-
"types": "./dist/index.d.ts",
|
|
30
|
-
"solid": "./dist/index.jsx",
|
|
31
|
-
"default": "./dist/index.js"
|
|
32
|
-
},
|
|
33
|
-
"./*": {
|
|
34
|
-
"types": "./dist/components/*/index.d.ts",
|
|
35
|
-
"solid": "./dist/components/*/index.jsx",
|
|
36
|
-
"default": "./dist/components/*/index.js"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"bugs": {
|
|
40
|
-
"url": "https://github.com/pathscale/ui/issues"
|
|
41
|
-
},
|
|
9
|
+
"license": "MIT",
|
|
42
10
|
"description": "Highly opinionated SolidJS component library — batteries and kitchen sink included, but optimized and shiny.",
|
|
43
11
|
"files": [
|
|
44
12
|
"dist"
|
|
@@ -48,22 +16,48 @@
|
|
|
48
16
|
"solid",
|
|
49
17
|
"solidjs"
|
|
50
18
|
],
|
|
51
|
-
"
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/pathscale/ui/issues"
|
|
21
|
+
},
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@biomejs/biome": "1.9.4",
|
|
27
|
+
"@rsbuild/core": "^1.3.20",
|
|
28
|
+
"@rsbuild/plugin-solid": "^1.0.5",
|
|
29
|
+
"@rslib/core": "^0.9.0",
|
|
30
|
+
"@types/bun": "^1.2.12",
|
|
31
|
+
"babel-preset-solid": "^1.9.6",
|
|
32
|
+
"clsx": "^2.1.1",
|
|
33
|
+
"tailwind-merge": "^3.3.0",
|
|
34
|
+
"typescript": "^5.8.3"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@solid-primitives/event-listener": "^2.3.0",
|
|
38
|
+
"@solid-primitives/intersection-observer": "^2.1.3",
|
|
39
|
+
"@solid-primitives/keyboard": "^1.2.5",
|
|
40
|
+
"@solid-primitives/media": "^2.2.5",
|
|
41
|
+
"@solid-primitives/props": "^3.1.8",
|
|
42
|
+
"@solid-primitives/resize-observer": "^2.0.22",
|
|
43
|
+
"@solid-primitives/scheduled": "^1.4.1",
|
|
44
|
+
"@solid-primitives/scroll": "^2.0.20",
|
|
45
|
+
"@solid-primitives/storage": "^2.1.1",
|
|
46
|
+
"@solid-primitives/utils": "^6.2.1",
|
|
47
|
+
"solid-js": "^1.9.7"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"solid-js": "^1.9"
|
|
51
|
+
},
|
|
52
52
|
"scripts": {
|
|
53
|
-
"build": "
|
|
53
|
+
"build": "rslib build",
|
|
54
|
+
"build:watch": "rslib build --watch",
|
|
55
|
+
"dev": "rslib dev",
|
|
56
|
+
"preview": "rslib preview",
|
|
54
57
|
"clean": "rm -rf dist node_modules",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"lint": "biome lint --write"
|
|
58
|
+
"format": "bun biome format --write",
|
|
59
|
+
"lint": "bun biome lint --write"
|
|
58
60
|
},
|
|
59
61
|
"sideEffects": false,
|
|
60
|
-
"type": "module"
|
|
61
|
-
"types": "./dist/index.d.ts",
|
|
62
|
-
"typesVersions": {
|
|
63
|
-
"*": {
|
|
64
|
-
"*": [
|
|
65
|
-
"./dist/index.d.ts"
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
}
|
|
62
|
+
"type": "module"
|
|
69
63
|
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component } from 'solid-js';
|
|
2
|
-
import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
|
|
3
|
-
|
|
4
|
-
declare const inputBoxClass: {
|
|
5
|
-
(props?: (ConfigVariants<{
|
|
6
|
-
state: {
|
|
7
|
-
default: string;
|
|
8
|
-
disabled: string;
|
|
9
|
-
};
|
|
10
|
-
size: {
|
|
11
|
-
sm: string;
|
|
12
|
-
md: string;
|
|
13
|
-
lg: string;
|
|
14
|
-
};
|
|
15
|
-
}> & ClassProps) | undefined): string;
|
|
16
|
-
variantKeys: ("size" | "state")[];
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
type AutocompleteProps = {
|
|
20
|
-
items: Array<string | number>;
|
|
21
|
-
label?: string;
|
|
22
|
-
value?: string | number;
|
|
23
|
-
onChange?: (val: string | number) => void;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
} & VariantProps<typeof inputBoxClass>;
|
|
26
|
-
declare const Autocomplete: Component<AutocompleteProps>;
|
|
27
|
-
|
|
28
|
-
export { Autocomplete as A, type AutocompleteProps as a };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { I as IComponentBaseProps, C as ComponentSize, a as ComponentShape, b as ComponentColor } from './types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type ElementType$1 = keyof JSX.IntrinsicElements;
|
|
5
|
-
type AvatarGroupBaseProps = {
|
|
6
|
-
/** Custom container tag */
|
|
7
|
-
as?: ElementType$1;
|
|
8
|
-
/** Extra classes */
|
|
9
|
-
class?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
children: JSX.Element[];
|
|
12
|
-
} & IComponentBaseProps;
|
|
13
|
-
type PropsOf$1<E extends ElementType$1> = JSX.IntrinsicElements[E];
|
|
14
|
-
type AvatarGroupProps<E extends ElementType$1 = "div"> = Omit<PropsOf$1<E>, keyof AvatarGroupBaseProps> & AvatarGroupBaseProps;
|
|
15
|
-
|
|
16
|
-
type ElementType = keyof JSX.IntrinsicElements;
|
|
17
|
-
type AvatarBaseProps = {
|
|
18
|
-
src?: string;
|
|
19
|
-
letters?: string;
|
|
20
|
-
size?: ComponentSize | number;
|
|
21
|
-
shape?: ComponentShape;
|
|
22
|
-
color?: Exclude<ComponentColor, "ghost">;
|
|
23
|
-
border?: boolean;
|
|
24
|
-
borderColor?: Exclude<ComponentColor, "ghost">;
|
|
25
|
-
online?: boolean;
|
|
26
|
-
offline?: boolean;
|
|
27
|
-
innerClass?: string;
|
|
28
|
-
as?: ElementType;
|
|
29
|
-
class?: string;
|
|
30
|
-
className?: string;
|
|
31
|
-
style?: JSX.CSSProperties;
|
|
32
|
-
children?: JSX.Element;
|
|
33
|
-
};
|
|
34
|
-
type PropsOf<E extends ElementType> = JSX.IntrinsicElements[E];
|
|
35
|
-
type AvatarProps<E extends ElementType = "div"> = Omit<PropsOf<E>, "color"> & AvatarBaseProps & IComponentBaseProps;
|
|
36
|
-
declare const _default: (<E extends ElementType = "div">(props: AvatarProps<E>) => JSX.Element) & {
|
|
37
|
-
Group: <E extends keyof JSX.IntrinsicElements = "div">(props: AvatarGroupProps<E>) => JSX.Element;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export { type AvatarProps as A, _default as _ };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { I as IComponentBaseProps } from './types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type CollapseContentProps = JSX.HTMLAttributes<HTMLDivElement> & IComponentBaseProps;
|
|
5
|
-
declare function CollapseContent(props: CollapseContentProps): JSX.Element;
|
|
6
|
-
|
|
7
|
-
type CollapseTitleProps<T extends HTMLElement = HTMLDivElement> = JSX.HTMLAttributes<T> & IComponentBaseProps;
|
|
8
|
-
declare function CollapseTitle(props: CollapseTitleProps): JSX.Element;
|
|
9
|
-
type SummaryProps = JSX.HTMLAttributes<HTMLElement> & IComponentBaseProps;
|
|
10
|
-
declare function Summary(props: SummaryProps): JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { CollapseContent as C, Summary as S, CollapseTitle as a };
|
package/dist/Field-DI2PA30N.d.ts
DELETED
|
@@ -1,49 +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 fieldWrapper: {
|
|
5
|
-
(props?: (ConfigVariants<{
|
|
6
|
-
horizontal: {
|
|
7
|
-
true: string;
|
|
8
|
-
false: string;
|
|
9
|
-
};
|
|
10
|
-
size: {
|
|
11
|
-
sm: string;
|
|
12
|
-
md: string;
|
|
13
|
-
lg: string;
|
|
14
|
-
};
|
|
15
|
-
type: {
|
|
16
|
-
default: string;
|
|
17
|
-
danger: string;
|
|
18
|
-
};
|
|
19
|
-
grouped: {
|
|
20
|
-
true: string;
|
|
21
|
-
false: string;
|
|
22
|
-
};
|
|
23
|
-
groupMultiline: {
|
|
24
|
-
true: string;
|
|
25
|
-
false: string;
|
|
26
|
-
};
|
|
27
|
-
}> & ClassProps) | undefined): string;
|
|
28
|
-
variantKeys: ("type" | "size" | "horizontal" | "grouped" | "groupMultiline")[];
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
type FieldProps = {
|
|
32
|
-
/** Label text */
|
|
33
|
-
label?: string;
|
|
34
|
-
/** Helper or error message */
|
|
35
|
-
message?: string;
|
|
36
|
-
/** Visual intent */
|
|
37
|
-
type?: "default" | "danger";
|
|
38
|
-
/** Layout direction */
|
|
39
|
-
horizontal?: boolean;
|
|
40
|
-
/** Font/control size */
|
|
41
|
-
size?: "sm" | "md" | "lg";
|
|
42
|
-
/** Extra wrapper classes */
|
|
43
|
-
className?: string;
|
|
44
|
-
} & VariantProps<typeof fieldWrapper> & ClassProps & Omit<JSX.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
45
|
-
children: JSX.Element;
|
|
46
|
-
};
|
|
47
|
-
declare const Field: Component<FieldProps>;
|
|
48
|
-
|
|
49
|
-
export { Field as F };
|
package/dist/Mask-CPb596Mg.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Component, JSX } from 'solid-js';
|
|
2
|
-
import { I as IComponentBaseProps } from './types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type MaskProps = JSX.ImgHTMLAttributes<HTMLImageElement> & IComponentBaseProps & {
|
|
5
|
-
variant?: "squircle" | "heart" | "hexagon" | "hexagon-2" | "decagon" | "pentagon" | "diamond" | "square" | "circle" | "star" | "star-2" | "triangle" | "triangle-2" | "triangle-3" | "triangle-4" | "half-1" | "half-2";
|
|
6
|
-
class?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
style?: JSX.CSSProperties;
|
|
9
|
-
};
|
|
10
|
-
declare function maskClassName({ className, variant, }?: Pick<MaskProps, "className" | "variant">): string;
|
|
11
|
-
type MaskComponent = Component<MaskProps> & {
|
|
12
|
-
className: typeof maskClassName;
|
|
13
|
-
};
|
|
14
|
-
declare const Mask: MaskComponent;
|
|
15
|
-
|
|
16
|
-
export { Mask as M };
|
package/dist/Menu-DgO4SHmA.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as solid_js from 'solid-js';
|
|
2
|
-
import { JSX } from 'solid-js';
|
|
3
|
-
import { I as IComponentBaseProps, C as ComponentSize } from './types-CUG9pToa.js';
|
|
4
|
-
|
|
5
|
-
type MenuTitleProps = JSX.LiHTMLAttributes<HTMLLIElement> & IComponentBaseProps & {
|
|
6
|
-
class?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
type MenuItemProps = JSX.LiHTMLAttributes<HTMLLIElement> & IComponentBaseProps & {
|
|
11
|
-
focus?: boolean;
|
|
12
|
-
active?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
type MenuDropdownProps = JSX.HTMLAttributes<HTMLSpanElement> & IComponentBaseProps & {
|
|
17
|
-
label: JSX.Element;
|
|
18
|
-
open?: boolean;
|
|
19
|
-
class?: string;
|
|
20
|
-
className?: string;
|
|
21
|
-
style?: JSX.CSSProperties;
|
|
22
|
-
children?: JSX.Element;
|
|
23
|
-
"data-theme"?: string;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
type MenuDetailsProps = JSX.DetailsHtmlAttributes<HTMLDetailsElement> & IComponentBaseProps & {
|
|
27
|
-
label: JSX.Element;
|
|
28
|
-
open?: boolean;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
type MenuProps = JSX.HTMLAttributes<HTMLUListElement> & IComponentBaseProps & {
|
|
32
|
-
vertical?: boolean;
|
|
33
|
-
horizontal?: boolean;
|
|
34
|
-
responsive?: boolean;
|
|
35
|
-
size?: ComponentSize;
|
|
36
|
-
};
|
|
37
|
-
declare const _default: ((props: MenuProps) => JSX.Element) & {
|
|
38
|
-
Title: solid_js.Component<MenuTitleProps>;
|
|
39
|
-
Item: solid_js.Component<MenuItemProps>;
|
|
40
|
-
Dropdown: solid_js.Component<MenuDropdownProps>;
|
|
41
|
-
Details: solid_js.Component<MenuDetailsProps>;
|
|
42
|
-
Menu: (props: MenuProps) => JSX.Element;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export { type MenuProps as M, _default as _ };
|
|
@@ -1,64 +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
|
-
/**
|
|
5
|
-
* The outer flex container. We don’t apply shape or variant here any more —
|
|
6
|
-
* that all goes on the actual track (`progressWrapper`).
|
|
7
|
-
*/
|
|
8
|
-
declare const progressContainer: {
|
|
9
|
-
(props?: (ConfigVariants<{
|
|
10
|
-
size: {
|
|
11
|
-
sm: string;
|
|
12
|
-
md: string;
|
|
13
|
-
lg: string;
|
|
14
|
-
};
|
|
15
|
-
}> & ClassProps) | undefined): string;
|
|
16
|
-
variantKeys: "size"[];
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* The “track” itself: background, height, pill‐shape.
|
|
20
|
-
*/
|
|
21
|
-
declare const progressWrapper: {
|
|
22
|
-
(props?: (ConfigVariants<{
|
|
23
|
-
size: {
|
|
24
|
-
sm: string;
|
|
25
|
-
md: string;
|
|
26
|
-
lg: string;
|
|
27
|
-
};
|
|
28
|
-
shape: {
|
|
29
|
-
rounded: string;
|
|
30
|
-
circle: string;
|
|
31
|
-
};
|
|
32
|
-
}> & ClassProps) | undefined): string;
|
|
33
|
-
variantKeys: ("shape" | "size")[];
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* The colored fill bar.
|
|
37
|
-
*/
|
|
38
|
-
declare const progressFill: {
|
|
39
|
-
(props?: (ConfigVariants<{
|
|
40
|
-
color: {
|
|
41
|
-
default: string;
|
|
42
|
-
danger: string;
|
|
43
|
-
success: string;
|
|
44
|
-
info: string;
|
|
45
|
-
warning: string;
|
|
46
|
-
};
|
|
47
|
-
variant: {
|
|
48
|
-
filled: string;
|
|
49
|
-
outlined: string;
|
|
50
|
-
ghost: string;
|
|
51
|
-
};
|
|
52
|
-
}> & ClassProps) | undefined): string;
|
|
53
|
-
variantKeys: ("color" | "variant")[];
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
interface ProgressProps extends VariantProps<typeof progressContainer>, VariantProps<typeof progressWrapper>, VariantProps<typeof progressFill>, Omit<ComponentProps<"div">, "class" | "color"> {
|
|
57
|
-
value?: number | null;
|
|
58
|
-
showValue?: boolean;
|
|
59
|
-
format?: "percent" | "raw";
|
|
60
|
-
className?: string;
|
|
61
|
-
}
|
|
62
|
-
declare const Progress: Component<ProgressProps>;
|
|
63
|
-
|
|
64
|
-
export { Progress as P };
|
package/dist/Steps-Dk-UPL6r.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { b as ComponentColor, I as IComponentBaseProps } from './types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type ElementType$1 = keyof JSX.IntrinsicElements;
|
|
5
|
-
type StepBaseProps = {
|
|
6
|
-
/** Label for the step indicator */
|
|
7
|
-
value?: string;
|
|
8
|
-
/** Color variant */
|
|
9
|
-
color?: "neutral" | ComponentColor;
|
|
10
|
-
/** Custom element tag */
|
|
11
|
-
as?: ElementType$1;
|
|
12
|
-
class?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
style?: JSX.CSSProperties;
|
|
15
|
-
children?: JSX.Element;
|
|
16
|
-
"data-theme"?: string;
|
|
17
|
-
};
|
|
18
|
-
type PropsOf$1<E extends ElementType$1> = JSX.IntrinsicElements[E];
|
|
19
|
-
type StepProps<E extends ElementType$1 = "li"> = Omit<PropsOf$1<E>, keyof StepBaseProps | "color"> & StepBaseProps & IComponentBaseProps;
|
|
20
|
-
|
|
21
|
-
type ElementType = keyof JSX.IntrinsicElements;
|
|
22
|
-
type StepsBaseProps = {
|
|
23
|
-
vertical?: boolean;
|
|
24
|
-
horizontal?: boolean;
|
|
25
|
-
as?: ElementType;
|
|
26
|
-
class?: string;
|
|
27
|
-
className?: string;
|
|
28
|
-
style?: JSX.CSSProperties;
|
|
29
|
-
children?: JSX.Element;
|
|
30
|
-
"data-theme"?: string;
|
|
31
|
-
};
|
|
32
|
-
type PropsOf<E extends ElementType> = JSX.IntrinsicElements[E];
|
|
33
|
-
type StepsProps<E extends ElementType = "ul"> = Omit<PropsOf<E>, keyof StepsBaseProps> & StepsBaseProps & IComponentBaseProps;
|
|
34
|
-
declare const _default: (<E extends ElementType = "ul">(props: StepsProps<E>) => JSX.Element) & {
|
|
35
|
-
Step: <E extends keyof JSX.IntrinsicElements = "li">(props: StepProps<E>) => JSX.Element;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export { _default as _ };
|
package/dist/Table-CGa6Nop3.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { JSX, 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 tableVariants: {
|
|
5
|
-
(props?: (ConfigVariants<{
|
|
6
|
-
header: {
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
row: {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
cell: {
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
divider: {
|
|
16
|
-
on: string;
|
|
17
|
-
off: string;
|
|
18
|
-
};
|
|
19
|
-
}> & ClassProps) | undefined): string;
|
|
20
|
-
variantKeys: ("header" | "cell" | "row" | "divider")[];
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
type Column<Row> = {
|
|
24
|
-
key: keyof Row;
|
|
25
|
-
header: string;
|
|
26
|
-
sortable?: boolean;
|
|
27
|
-
};
|
|
28
|
-
type TableProps<Row> = {
|
|
29
|
-
columns: Column<Row>[];
|
|
30
|
-
rows: Row[];
|
|
31
|
-
className?: string;
|
|
32
|
-
rowKey: (row: Row) => string | number;
|
|
33
|
-
onSelectionChange?: (selectedKeys: Array<string | number>) => void;
|
|
34
|
-
renderDetail?: (row: Row) => JSX.Element;
|
|
35
|
-
onSort?: (key: keyof Row, direction: "asc" | "desc") => void;
|
|
36
|
-
} & VariantProps<typeof tableVariants> & ComponentProps<"table">;
|
|
37
|
-
declare const Table: <Row extends Record<string, any>>(props: TableProps<Row>) => JSX.Element;
|
|
38
|
-
|
|
39
|
-
export { type Column as C, Table as T, type TableProps as a };
|
package/dist/Tabs-WiUU0xsM.d.ts
DELETED
|
@@ -1,42 +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 tabsNavVariants: {
|
|
5
|
-
(props?: (ConfigVariants<{
|
|
6
|
-
type: {
|
|
7
|
-
basic: string;
|
|
8
|
-
boxed: string;
|
|
9
|
-
toggle: string;
|
|
10
|
-
"toggle-rounded": string;
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
sm: string;
|
|
14
|
-
md: string;
|
|
15
|
-
lg: string;
|
|
16
|
-
};
|
|
17
|
-
alignment: {
|
|
18
|
-
left: string;
|
|
19
|
-
center: string;
|
|
20
|
-
right: string;
|
|
21
|
-
};
|
|
22
|
-
expanded: {
|
|
23
|
-
true: string;
|
|
24
|
-
false: string;
|
|
25
|
-
};
|
|
26
|
-
}> & ClassProps) | undefined): string;
|
|
27
|
-
variantKeys: ("type" | "size" | "alignment" | "expanded")[];
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
type TabItem = {
|
|
31
|
-
label: string;
|
|
32
|
-
content: JSX.Element;
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
};
|
|
35
|
-
type TabsProps = {
|
|
36
|
-
items: TabItem[];
|
|
37
|
-
value?: number;
|
|
38
|
-
onChange?: (index: number) => void;
|
|
39
|
-
} & VariantProps<typeof tabsNavVariants>;
|
|
40
|
-
declare const Tabs: Component<TabsProps>;
|
|
41
|
-
|
|
42
|
-
export { Tabs as T, type TabsProps as a };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component, JSX } from 'solid-js';
|
|
2
|
-
|
|
3
|
-
type TimelineStage = {
|
|
4
|
-
active?: boolean;
|
|
5
|
-
error?: boolean;
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
type TimelineProps<T = TimelineStage> = {
|
|
9
|
-
stages: T[];
|
|
10
|
-
renderStage?: (stage: T, index: number) => JSX.Element;
|
|
11
|
-
};
|
|
12
|
-
declare const Timeline: Component<TimelineProps>;
|
|
13
|
-
|
|
14
|
-
export { Timeline as T, type TimelineProps as a };
|
package/dist/chunk/2OJYONJ3.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { CollapseTitle, CollapseContent } from './2VQ2762Z.js';
|
|
2
|
-
import { clsx } from './HUHXQCKK.js';
|
|
3
|
-
import { twMerge } from './STFCLC5R.js';
|
|
4
|
-
import { template, spread, mergeProps, insert, effect, className, setAttribute, style } from 'solid-js/web';
|
|
5
|
-
import { splitProps } from 'solid-js';
|
|
6
|
-
|
|
7
|
-
var _tmpl$ = /* @__PURE__ */ template(`<div><input type=radio>`);
|
|
8
|
-
var Accordion = (props) => {
|
|
9
|
-
const [local, others] = splitProps(props, ["name", "icon", "dataTheme", "class", "className", "style"]);
|
|
10
|
-
const classes = () => twMerge("collapse", clsx({
|
|
11
|
-
"collapse-arrow": local.icon === "arrow",
|
|
12
|
-
"collapse-plus": local.icon === "plus"
|
|
13
|
-
}), local.class, local.className);
|
|
14
|
-
return (() => {
|
|
15
|
-
var _el$ = _tmpl$(), _el$2 = _el$.firstChild;
|
|
16
|
-
spread(_el$2, mergeProps({
|
|
17
|
-
get name() {
|
|
18
|
-
return local.name ?? "accordion";
|
|
19
|
-
}
|
|
20
|
-
}, others), false, false);
|
|
21
|
-
insert(_el$, () => props.children, null);
|
|
22
|
-
effect((_p$) => {
|
|
23
|
-
var _v$ = classes(), _v$2 = local.dataTheme, _v$3 = local.style;
|
|
24
|
-
_v$ !== _p$.e && className(_el$, _p$.e = _v$);
|
|
25
|
-
_v$2 !== _p$.t && setAttribute(_el$, "data-theme", _p$.t = _v$2);
|
|
26
|
-
_p$.a = style(_el$, _v$3, _p$.a);
|
|
27
|
-
return _p$;
|
|
28
|
-
}, {
|
|
29
|
-
e: void 0,
|
|
30
|
-
t: void 0,
|
|
31
|
-
a: void 0
|
|
32
|
-
});
|
|
33
|
-
return _el$;
|
|
34
|
-
})();
|
|
35
|
-
};
|
|
36
|
-
Accordion.Title = CollapseTitle;
|
|
37
|
-
Accordion.Content = CollapseContent;
|
|
38
|
-
var Accordion_default = Accordion;
|
|
39
|
-
|
|
40
|
-
export { Accordion_default };
|
package/dist/chunk/2VQ2762Z.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { clsx } from './HUHXQCKK.js';
|
|
2
|
-
import { twMerge } from './STFCLC5R.js';
|
|
3
|
-
import { template, spread, mergeProps, insert } from 'solid-js/web';
|
|
4
|
-
|
|
5
|
-
var _tmpl$ = /* @__PURE__ */ template(`<div>`);
|
|
6
|
-
function CollapseContent(props) {
|
|
7
|
-
const classes = twMerge("collapse-content", props.class);
|
|
8
|
-
return (() => {
|
|
9
|
-
var _el$ = _tmpl$();
|
|
10
|
-
spread(_el$, mergeProps(props, {
|
|
11
|
-
"class": classes
|
|
12
|
-
}), false, false);
|
|
13
|
-
return _el$;
|
|
14
|
-
})();
|
|
15
|
-
}
|
|
16
|
-
var _tmpl$2 = /* @__PURE__ */ template(`<div>`);
|
|
17
|
-
var _tmpl$22 = /* @__PURE__ */ template(`<summary>`);
|
|
18
|
-
var classesFn = ({
|
|
19
|
-
className
|
|
20
|
-
}) => twMerge("collapse-title", className);
|
|
21
|
-
function CollapseTitle(props) {
|
|
22
|
-
return (() => {
|
|
23
|
-
var _el$ = _tmpl$2();
|
|
24
|
-
spread(_el$, mergeProps(props, {
|
|
25
|
-
get ["class"]() {
|
|
26
|
-
return classesFn({
|
|
27
|
-
className: props.class
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
}), false, false);
|
|
31
|
-
return _el$;
|
|
32
|
-
})();
|
|
33
|
-
}
|
|
34
|
-
function Summary(props) {
|
|
35
|
-
return (() => {
|
|
36
|
-
var _el$2 = _tmpl$22();
|
|
37
|
-
spread(_el$2, mergeProps(props, {
|
|
38
|
-
get ["class"]() {
|
|
39
|
-
return classesFn({
|
|
40
|
-
className: props.class
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
}), false, false);
|
|
44
|
-
return _el$2;
|
|
45
|
-
})();
|
|
46
|
-
}
|
|
47
|
-
var _tmpl$3 = /* @__PURE__ */ template(`<details>`);
|
|
48
|
-
function classesFn2({
|
|
49
|
-
className,
|
|
50
|
-
icon,
|
|
51
|
-
open
|
|
52
|
-
}) {
|
|
53
|
-
return twMerge("collapse", className, clsx({
|
|
54
|
-
"collapse-arrow": icon === "arrow",
|
|
55
|
-
"collapse-plus": icon === "plus",
|
|
56
|
-
"collapse-open": open === true,
|
|
57
|
-
"collapse-close": open === false
|
|
58
|
-
}));
|
|
59
|
-
}
|
|
60
|
-
function CollapseDetails(props) {
|
|
61
|
-
const classes = classesFn2({
|
|
62
|
-
className: props.class,
|
|
63
|
-
icon: props.icon,
|
|
64
|
-
open: props.open
|
|
65
|
-
});
|
|
66
|
-
return (() => {
|
|
67
|
-
var _el$ = _tmpl$3();
|
|
68
|
-
spread(_el$, mergeProps(props, {
|
|
69
|
-
"class": classes,
|
|
70
|
-
get open() {
|
|
71
|
-
return props.open;
|
|
72
|
-
}
|
|
73
|
-
}), false, true);
|
|
74
|
-
insert(_el$, () => props.children);
|
|
75
|
-
return _el$;
|
|
76
|
-
})();
|
|
77
|
-
}
|
|
78
|
-
CollapseDetails.Title = Summary;
|
|
79
|
-
|
|
80
|
-
export { CollapseContent, CollapseDetails, CollapseTitle, Summary };
|