@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.
- package/README.md +53 -0
- package/dist/{Autocomplete-BLKN_nG8.d.ts → Autocomplete-gLkjMHrc.d.ts} +1 -1
- 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-BNR3p92D.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/64ESNXN4.js +1 -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/H2Q3L5KM.js +48 -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/O7LDJCQS.jsx +18 -0
- package/dist/chunk/PFB27MP3.jsx +0 -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/STFCLC5R.js +2954 -0
- package/dist/chunk/SVJIYMYJ.jsx +156 -0
- package/dist/chunk/SYWB4UN3.jsx +64 -0
- package/dist/chunk/T324HUIT.jsx +57 -0
- package/dist/chunk/T5LDPSFV.jsx +122 -0
- package/dist/chunk/UNKDNDT3.js +62 -0
- package/dist/chunk/XM3KF5LV.jsx +179 -0
- package/dist/chunk/YWIT2MRI.jsx +43 -0
- package/dist/chunk/ZH7DKMMN.js +109 -0
- package/dist/chunk/ZYEP35R3.jsx +60 -0
- package/dist/components/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/autocomplete/index.d.ts +2 -2
- 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 +6 -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/loading/index.d.ts +11 -0
- package/dist/components/loading/index.js +1 -0
- package/dist/components/loading/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 -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 +25 -19
- package/dist/index.js +23 -19
- package/dist/index.jsx +87 -67
- package/dist/types-CUG9pToa.d.ts +15 -0
- package/package.json +4 -2
- package/dist/Accordion-nwuRbRRw.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-X4gwIB-F.d.ts +0 -42
- package/dist/Pagination-CJtlFMHy.d.ts +0 -43
- package/dist/Select-CP-TUHJv.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/GWFGP2JQ.jsx +0 -179
- package/dist/chunk/LAQPAV5I.jsx +0 -187
- package/dist/chunk/LI3HCFL7.jsx +0 -132
- package/dist/chunk/LMPV5G35.jsx +0 -228
- package/dist/chunk/MI773TMC.js +0 -107
- package/dist/chunk/MMTAND25.jsx +0 -126
- package/dist/chunk/NZKPDBTE.js +0 -118
- package/dist/chunk/O2IMHWMY.js +0 -159
- package/dist/chunk/OMRJVDZV.js +0 -173
- package/dist/chunk/OYAKKETQ.js +0 -111
- package/dist/chunk/PF47YREI.js +0 -214
- 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
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clsx
|
|
3
|
+
} from "./O7LDJCQS.jsx";
|
|
4
|
+
import {
|
|
5
|
+
twMerge
|
|
6
|
+
} from "./5HG7XWVC.jsx";
|
|
7
|
+
|
|
8
|
+
// src/components/tooltip/Tooltip.tsx
|
|
9
|
+
import { splitProps } from "solid-js";
|
|
10
|
+
var Tooltip = (props) => {
|
|
11
|
+
const [local, others] = splitProps(props, [
|
|
12
|
+
"message",
|
|
13
|
+
"open",
|
|
14
|
+
"color",
|
|
15
|
+
"position",
|
|
16
|
+
"dataTheme",
|
|
17
|
+
"class",
|
|
18
|
+
"className",
|
|
19
|
+
"style"
|
|
20
|
+
]);
|
|
21
|
+
const classes = () => twMerge(
|
|
22
|
+
"tooltip",
|
|
23
|
+
local.class,
|
|
24
|
+
local.className,
|
|
25
|
+
clsx({
|
|
26
|
+
"tooltip-open": local.open,
|
|
27
|
+
"tooltip-primary": local.color === "primary",
|
|
28
|
+
"tooltip-secondary": local.color === "secondary",
|
|
29
|
+
"tooltip-accent": local.color === "accent",
|
|
30
|
+
"tooltip-info": local.color === "info",
|
|
31
|
+
"tooltip-success": local.color === "success",
|
|
32
|
+
"tooltip-warning": local.color === "warning",
|
|
33
|
+
"tooltip-error": local.color === "error",
|
|
34
|
+
"tooltip-top": local.position === "top",
|
|
35
|
+
"tooltip-bottom": local.position === "bottom",
|
|
36
|
+
"tooltip-left": local.position === "left",
|
|
37
|
+
"tooltip-right": local.position === "right"
|
|
38
|
+
})
|
|
39
|
+
);
|
|
40
|
+
return <div
|
|
41
|
+
{...others}
|
|
42
|
+
role="tooltip"
|
|
43
|
+
data-theme={local.dataTheme}
|
|
44
|
+
data-tip={local.message}
|
|
45
|
+
class={classes()}
|
|
46
|
+
style={local.style}
|
|
47
|
+
>
|
|
48
|
+
{props.children}
|
|
49
|
+
</div>;
|
|
50
|
+
};
|
|
51
|
+
var Tooltip_default = Tooltip;
|
|
52
|
+
|
|
53
|
+
export {
|
|
54
|
+
Tooltip_default
|
|
55
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clsx
|
|
3
|
+
} from "./O7LDJCQS.jsx";
|
|
4
|
+
import {
|
|
5
|
+
twMerge
|
|
6
|
+
} from "./5HG7XWVC.jsx";
|
|
7
|
+
|
|
8
|
+
// src/components/select/Select.tsx
|
|
9
|
+
import { splitProps } from "solid-js";
|
|
10
|
+
var Select = (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
|
+
"select",
|
|
21
|
+
local.class,
|
|
22
|
+
local.className,
|
|
23
|
+
clsx({
|
|
24
|
+
"select-xl": local.size === "xl",
|
|
25
|
+
"select-lg": local.size === "lg",
|
|
26
|
+
"select-md": local.size === "md",
|
|
27
|
+
"select-sm": local.size === "sm",
|
|
28
|
+
"select-xs": local.size === "xs",
|
|
29
|
+
"select-primary": local.color === "primary",
|
|
30
|
+
"select-secondary": local.color === "secondary",
|
|
31
|
+
"select-accent": local.color === "accent",
|
|
32
|
+
"select-ghost": local.color === "ghost",
|
|
33
|
+
"select-info": local.color === "info",
|
|
34
|
+
"select-success": local.color === "success",
|
|
35
|
+
"select-warning": local.color === "warning",
|
|
36
|
+
"select-error": local.color === "error"
|
|
37
|
+
})
|
|
38
|
+
);
|
|
39
|
+
return <select
|
|
40
|
+
{...others}
|
|
41
|
+
data-theme={local.dataTheme}
|
|
42
|
+
class={classes()}
|
|
43
|
+
style={local.style}
|
|
44
|
+
>
|
|
45
|
+
{props.children}
|
|
46
|
+
</select>;
|
|
47
|
+
};
|
|
48
|
+
var Select_default = Select;
|
|
49
|
+
|
|
50
|
+
export {
|
|
51
|
+
Select_default
|
|
52
|
+
};
|