@pathscale/ui 0.0.12 → 0.0.14
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/components/accordion/index.html +7 -0
- package/dist/components/accordion/index.html.br +2 -0
- package/dist/components/accordion/index.js +7690 -1
- package/dist/components/accordion/index.js.br +0 -0
- package/dist/components/alert/index.html +7 -0
- package/dist/components/alert/index.html.br +0 -0
- package/dist/components/alert/index.js +7426 -0
- package/dist/components/alert/index.js.br +0 -0
- package/dist/components/autocomplete/index.html +7 -0
- package/dist/components/autocomplete/index.html.br +1 -0
- package/dist/components/autocomplete/index.js +5438 -1
- package/dist/components/autocomplete/index.js.br +0 -0
- package/dist/components/avatar/index.html +7 -0
- package/dist/components/avatar/index.html.br +0 -0
- package/dist/components/avatar/index.js +8795 -1
- package/dist/components/avatar/index.js.br +0 -0
- package/dist/components/badge/index.html +7 -0
- package/dist/components/badge/index.html.br +1 -0
- package/dist/components/badge/index.js +7435 -1
- package/dist/components/badge/index.js.br +0 -0
- package/dist/components/breadcrumbs/index.html +7 -0
- package/dist/components/breadcrumbs/index.html.br +0 -0
- package/dist/components/breadcrumbs/index.js +7434 -1
- package/dist/components/breadcrumbs/index.js.br +0 -0
- package/dist/components/button/index.html +7 -0
- package/dist/components/button/index.html.br +0 -0
- package/dist/components/button/index.js +8771 -1
- package/dist/components/button/index.js.br +0 -0
- package/dist/components/card/index.html +7 -0
- package/dist/components/card/index.html.br +2 -0
- package/dist/components/card/index.js +7536 -0
- package/dist/components/card/index.js.br +0 -0
- package/dist/components/chatbubble/index.html +7 -0
- package/dist/components/chatbubble/index.html.br +0 -0
- package/dist/components/chatbubble/index.js +8991 -0
- package/dist/components/chatbubble/index.js.br +0 -0
- package/dist/components/checkbox/index.html +7 -0
- package/dist/components/checkbox/index.html.br +0 -0
- package/dist/components/checkbox/index.js +7436 -1
- package/dist/components/checkbox/index.js.br +0 -0
- package/dist/components/collapse/index.html +7 -0
- package/dist/components/collapse/index.html.br +0 -0
- package/dist/components/collapse/index.js +7621 -1
- package/dist/components/collapse/index.js.br +0 -0
- package/dist/components/countdown/index.html +7 -0
- package/dist/components/countdown/index.html.br +0 -0
- package/dist/components/countdown/index.js +7378 -0
- package/dist/components/countdown/index.js.br +0 -0
- package/dist/components/diff/index.html +7 -0
- package/dist/components/diff/index.html.br +0 -0
- package/dist/components/diff/index.js +7408 -0
- package/dist/components/diff/index.js.br +0 -0
- package/dist/components/divider/index.html +7 -0
- package/dist/components/divider/index.html.br +0 -0
- package/dist/components/divider/index.js +9852 -0
- package/dist/components/divider/index.js.br +0 -0
- package/dist/components/dock/index.html +7 -0
- package/dist/components/dock/index.html.br +0 -0
- package/dist/components/dock/index.js +7503 -0
- package/dist/components/dock/index.js.br +0 -0
- package/dist/components/dropdown/index.html +7 -0
- package/dist/components/dropdown/index.html.br +0 -0
- package/dist/components/dropdown/index.js +9073 -1
- package/dist/components/dropdown/index.js.br +0 -0
- package/dist/components/field/index.html +7 -0
- package/dist/components/field/index.html.br +2 -0
- package/dist/components/field/index.js +5356 -1
- package/dist/components/field/index.js.br +0 -0
- package/dist/components/fileinput/index.html +7 -0
- package/dist/components/fileinput/index.html.br +2 -0
- package/dist/components/fileinput/index.js +7431 -1
- package/dist/components/fileinput/index.js.br +0 -0
- package/dist/components/indicator/index.html +7 -0
- package/dist/components/indicator/index.html.br +2 -0
- package/dist/components/indicator/index.js +9219 -0
- package/dist/components/indicator/index.js.br +0 -0
- package/dist/components/input/index.html +7 -0
- package/dist/components/input/index.html.br +2 -0
- package/dist/components/input/index.js +7425 -1
- package/dist/components/input/index.js.br +0 -0
- package/dist/components/join/index.html +7 -0
- package/dist/components/join/index.html.br +2 -0
- package/dist/components/join/index.js +7418 -1
- package/dist/components/join/index.js.br +0 -0
- package/dist/components/kbd/index.html +7 -0
- package/dist/components/kbd/index.html.br +2 -0
- package/dist/components/kbd/index.js +7399 -0
- package/dist/components/kbd/index.js.br +0 -0
- package/dist/components/link/index.html +7 -0
- package/dist/components/link/index.html.br +2 -0
- package/dist/components/link/index.js +7422 -0
- package/dist/components/link/index.js.br +0 -0
- package/dist/components/loading/index.html +7 -0
- package/dist/components/loading/index.html.br +0 -0
- package/dist/components/loading/index.js +7432 -0
- package/dist/components/loading/index.js.br +0 -0
- package/dist/components/mask/index.html +7 -0
- package/dist/components/mask/index.html.br +0 -0
- package/dist/components/mask/index.js +7440 -1
- package/dist/components/mask/index.js.br +0 -0
- package/dist/components/menu/index.html +7 -0
- package/dist/components/menu/index.html.br +2 -0
- package/dist/components/menu/index.js +7618 -1
- package/dist/components/menu/index.js.br +0 -0
- package/dist/components/modal/index.html +7 -0
- package/dist/components/modal/index.html.br +3 -0
- package/dist/components/modal/index.js +7599 -0
- package/dist/components/modal/index.js.br +0 -0
- package/dist/components/navbar/index.html +7 -0
- package/dist/components/navbar/index.html.br +2 -0
- package/dist/components/navbar/index.js +7475 -1
- package/dist/components/navbar/index.js.br +0 -0
- package/dist/components/pagination/index.html +7 -0
- package/dist/components/pagination/index.html.br +2 -0
- package/dist/components/pagination/index.js +7426 -1
- package/dist/components/pagination/index.js.br +0 -0
- package/dist/components/polymorphic/index.html +7 -0
- package/dist/components/polymorphic/index.html.br +0 -0
- package/dist/components/polymorphic/index.js +3031 -1
- package/dist/components/polymorphic/index.js.br +0 -0
- package/dist/components/progress/index.html +7 -0
- package/dist/components/progress/index.html.br +0 -0
- package/dist/components/progress/index.js +7413 -0
- package/dist/components/progress/index.js.br +0 -0
- package/dist/components/radialprogress/index.html +7 -0
- package/dist/components/radialprogress/index.html.br +0 -0
- package/dist/components/radialprogress/index.js +7430 -0
- package/dist/components/radialprogress/index.js.br +0 -0
- package/dist/components/radio/index.html +7 -0
- package/dist/components/radio/index.html.br +2 -0
- package/dist/components/radio/index.js +7423 -0
- package/dist/components/radio/index.js.br +0 -0
- package/dist/components/range/index.html +7 -0
- package/dist/components/range/index.html.br +0 -0
- package/dist/components/range/index.js +7462 -0
- package/dist/components/range/index.js.br +0 -0
- package/dist/components/rating/index.html +7 -0
- package/dist/components/rating/index.html.br +0 -0
- package/dist/components/rating/index.js +8858 -0
- package/dist/components/rating/index.js.br +0 -0
- package/dist/components/select/index.html +7 -0
- package/dist/components/select/index.html.br +0 -0
- package/dist/components/select/index.js +7427 -1
- package/dist/components/select/index.js.br +0 -0
- package/dist/components/skeleton/index.html +7 -0
- package/dist/components/skeleton/index.html.br +0 -0
- package/dist/components/skeleton/index.js +7381 -0
- package/dist/components/skeleton/index.js.br +0 -0
- package/dist/components/stack/index.html +7 -0
- package/dist/components/stack/index.html.br +0 -0
- package/dist/components/stack/index.js +8972 -0
- package/dist/components/stack/index.js.br +0 -0
- package/dist/components/stats/index.html +7 -0
- package/dist/components/stats/index.html.br +0 -0
- package/dist/components/stats/index.js +7508 -0
- package/dist/components/stats/index.js.br +0 -0
- package/dist/components/steps/index.html +7 -0
- package/dist/components/steps/index.html.br +0 -0
- package/dist/components/steps/index.js +8732 -1
- package/dist/components/steps/index.js.br +0 -0
- package/dist/components/swap/index.html +7 -0
- package/dist/components/swap/index.html.br +2 -0
- package/dist/components/swap/index.js +7467 -0
- package/dist/components/swap/index.js.br +0 -0
- package/dist/components/table/index.html +7 -0
- package/dist/components/table/index.html.br +2 -0
- package/dist/components/table/index.js +9493 -1
- package/dist/components/table/index.js.br +0 -0
- package/dist/components/tabs/index.html +7 -0
- package/dist/components/tabs/index.html.br +3 -0
- package/dist/components/tabs/index.js +5399 -1
- package/dist/components/tabs/index.js.br +0 -0
- package/dist/components/textarea/index.html +7 -0
- package/dist/components/textarea/index.html.br +0 -0
- package/dist/components/textarea/index.js +7425 -1
- package/dist/components/textarea/index.js.br +0 -0
- package/dist/components/timeline/index.html +7 -0
- package/dist/components/timeline/index.html.br +1 -0
- package/dist/components/timeline/index.js +7600 -1
- package/dist/components/timeline/index.js.br +0 -0
- package/dist/components/toast/index.html +7 -0
- package/dist/components/toast/index.html.br +0 -0
- package/dist/components/toast/index.js +8793 -1
- package/dist/components/toast/index.js.br +0 -0
- package/dist/components/toggle/index.html +7 -0
- package/dist/components/toggle/index.html.br +0 -0
- package/dist/components/toggle/index.js +7426 -1
- package/dist/components/toggle/index.js.br +0 -0
- package/dist/components/tooltip/index.html +7 -0
- package/dist/components/tooltip/index.html.br +0 -0
- package/dist/components/tooltip/index.js +7432 -1
- package/dist/components/tooltip/index.js.br +0 -0
- package/dist/index.css.css +176 -0
- package/dist/index.css.css.br +0 -0
- package/dist/index.css.html +7 -0
- package/dist/index.css.html.br +0 -0
- package/dist/index.css.js +126 -0
- package/dist/index.css.js.br +0 -0
- package/dist/index.html +7 -0
- package/dist/index.html.br +0 -0
- package/dist/index.js +16127 -28
- package/dist/index.js.br +0 -0
- package/package.json +38 -43
- 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/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/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/MZWBWFDD.js +0 -151
- 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/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/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/XQCSYRVP.jsx +0 -168
- package/dist/chunk/YWIT2MRI.jsx +0 -43
- 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.jsx +0 -9
- package/dist/components/autocomplete/index.d.ts +0 -8
- package/dist/components/autocomplete/index.jsx +0 -7
- package/dist/components/avatar/index.d.ts +0 -8
- package/dist/components/avatar/index.jsx +0 -8
- package/dist/components/badge/index.d.ts +0 -17
- package/dist/components/badge/index.jsx +0 -8
- package/dist/components/breadcrumbs/index.d.ts +0 -9
- package/dist/components/breadcrumbs/index.jsx +0 -7
- package/dist/components/button/index.d.ts +0 -31
- package/dist/components/button/index.jsx +0 -8
- package/dist/components/checkbox/index.d.ts +0 -16
- package/dist/components/checkbox/index.jsx +0 -8
- package/dist/components/collapse/index.d.ts +0 -15
- package/dist/components/collapse/index.jsx +0 -14
- package/dist/components/dropdown/index.d.ts +0 -27
- package/dist/components/dropdown/index.jsx +0 -13
- package/dist/components/field/index.d.ts +0 -7
- package/dist/components/field/index.jsx +0 -7
- package/dist/components/fileinput/index.d.ts +0 -16
- package/dist/components/fileinput/index.jsx +0 -8
- package/dist/components/input/index.d.ts +0 -15
- package/dist/components/input/index.jsx +0 -8
- package/dist/components/join/index.d.ts +0 -11
- package/dist/components/join/index.jsx +0 -9
- package/dist/components/mask/index.d.ts +0 -7
- package/dist/components/mask/index.jsx +0 -8
- package/dist/components/menu/index.d.ts +0 -8
- package/dist/components/menu/index.jsx +0 -8
- package/dist/components/navbar/index.d.ts +0 -36
- package/dist/components/navbar/index.jsx +0 -11
- package/dist/components/pagination/index.d.ts +0 -8
- package/dist/components/pagination/index.jsx +0 -9
- package/dist/components/polymorphic/index.d.ts +0 -34
- package/dist/components/polymorphic/index.jsx +0 -8
- package/dist/components/select/index.d.ts +0 -15
- package/dist/components/select/index.jsx +0 -8
- package/dist/components/steps/index.d.ts +0 -7
- package/dist/components/steps/index.jsx +0 -8
- package/dist/components/table/index.d.ts +0 -8
- package/dist/components/table/index.jsx +0 -7
- package/dist/components/tabs/index.d.ts +0 -8
- package/dist/components/tabs/index.jsx +0 -7
- package/dist/components/textarea/index.d.ts +0 -15
- package/dist/components/textarea/index.jsx +0 -8
- package/dist/components/timeline/index.d.ts +0 -7
- package/dist/components/timeline/index.jsx +0 -7
- package/dist/components/toast/index.d.ts +0 -24
- package/dist/components/toast/index.jsx +0 -11
- package/dist/components/toggle/index.d.ts +0 -15
- package/dist/components/toggle/index.jsx +0 -8
- package/dist/components/tooltip/index.d.ts +0 -17
- package/dist/components/tooltip/index.jsx +0 -8
- package/dist/index.css +0 -73
- package/dist/index.d.ts +0 -32
- package/dist/index.jsx +0 -138
- package/dist/types-CUG9pToa.d.ts +0 -15
package/dist/chunk/ZYEP35R3.jsx
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
clsx
|
|
3
|
-
} from "./O7LDJCQS.jsx";
|
|
4
|
-
import {
|
|
5
|
-
twMerge
|
|
6
|
-
} from "./5HG7XWVC.jsx";
|
|
7
|
-
|
|
8
|
-
// src/components/badge/Badge.tsx
|
|
9
|
-
import { splitProps } from "solid-js";
|
|
10
|
-
var Badge = (props) => {
|
|
11
|
-
const [local, others] = splitProps(props, [
|
|
12
|
-
"size",
|
|
13
|
-
"color",
|
|
14
|
-
"variant",
|
|
15
|
-
"responsive",
|
|
16
|
-
"dataTheme",
|
|
17
|
-
"class",
|
|
18
|
-
"className",
|
|
19
|
-
"style"
|
|
20
|
-
]);
|
|
21
|
-
const classes = () => twMerge(
|
|
22
|
-
"badge",
|
|
23
|
-
local.class,
|
|
24
|
-
local.className,
|
|
25
|
-
clsx({
|
|
26
|
-
"badge-xl": local.size === "xl",
|
|
27
|
-
"badge-lg": local.size === "lg",
|
|
28
|
-
"badge-md": local.size === "md",
|
|
29
|
-
"badge-sm": local.size === "sm",
|
|
30
|
-
"badge-xs": local.size === "xs",
|
|
31
|
-
"badge-soft": local.variant === "soft",
|
|
32
|
-
"badge-dash": local.variant === "dash",
|
|
33
|
-
"badge-outline": local.variant === "outline",
|
|
34
|
-
"badge-neutral": local.color === "neutral",
|
|
35
|
-
"badge-primary": local.color === "primary",
|
|
36
|
-
"badge-secondary": local.color === "secondary",
|
|
37
|
-
"badge-accent": local.color === "accent",
|
|
38
|
-
"badge-ghost": local.color === "ghost",
|
|
39
|
-
"badge-info": local.color === "info",
|
|
40
|
-
"badge-success": local.color === "success",
|
|
41
|
-
"badge-warning": local.color === "warning",
|
|
42
|
-
"badge-error": local.color === "error",
|
|
43
|
-
"badge-xs md:badge-sm lg:badge-md xl:badge-lg": local.responsive
|
|
44
|
-
})
|
|
45
|
-
);
|
|
46
|
-
return <div
|
|
47
|
-
{...others}
|
|
48
|
-
data-theme={local.dataTheme}
|
|
49
|
-
class={classes()}
|
|
50
|
-
style={local.style}
|
|
51
|
-
aria-label="Badge"
|
|
52
|
-
>
|
|
53
|
-
{props.children}
|
|
54
|
-
</div>;
|
|
55
|
-
};
|
|
56
|
-
var Badge_default = Badge;
|
|
57
|
-
|
|
58
|
-
export {
|
|
59
|
-
Badge_default
|
|
60
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type ClassArgs = string | number | boolean | null | undefined | ClassArgs[];
|
|
2
|
-
type ClassProps = {
|
|
3
|
-
class?: ClassArgs;
|
|
4
|
-
};
|
|
5
|
-
type OmitUndefined<T> = T extends undefined ? never : T;
|
|
6
|
-
type StringToBoolean<T> = T extends "true" | "false" ? boolean : T;
|
|
7
|
-
type ConfigSchema = Record<string, Record<string, ClassArgs>>;
|
|
8
|
-
type ConfigVariants<T extends ConfigSchema> = {
|
|
9
|
-
[Variant in keyof T]?: StringToBoolean<keyof T[Variant]> | null | undefined;
|
|
10
|
-
};
|
|
11
|
-
type VariantProps<Component extends (...args: []) => unknown> = Omit<OmitUndefined<Parameters<Component>[0]>, "class">;
|
|
12
|
-
|
|
13
|
-
export type { ConfigVariants as C, VariantProps as V, ClassProps as a };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { progress_default as default } from '../../chunk/GMIXRYN3.js';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
import { a as CollapseTitle, C as CollapseContent } from '../../CollapseTitle-BNxog3is.js';
|
|
4
|
-
|
|
5
|
-
type AccordionBaseProps = {
|
|
6
|
-
name?: string;
|
|
7
|
-
icon?: "arrow" | "plus";
|
|
8
|
-
dataTheme?: string;
|
|
9
|
-
class?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: JSX.CSSProperties;
|
|
12
|
-
};
|
|
13
|
-
type AccordionProps = AccordionBaseProps & IComponentBaseProps & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, keyof AccordionBaseProps>;
|
|
14
|
-
declare const Accordion: {
|
|
15
|
-
(props: AccordionProps): JSX.Element;
|
|
16
|
-
Title: typeof CollapseTitle;
|
|
17
|
-
Content: typeof CollapseContent;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { Accordion as default };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { C as ComponentSize, b as ComponentColor, c as ComponentVariant, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type BadgeBaseProps = {
|
|
5
|
-
size?: ComponentSize;
|
|
6
|
-
color?: ComponentColor;
|
|
7
|
-
variant?: ComponentVariant;
|
|
8
|
-
responsive?: boolean;
|
|
9
|
-
dataTheme?: string;
|
|
10
|
-
class?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
style?: JSX.CSSProperties;
|
|
13
|
-
};
|
|
14
|
-
type BadgeProps = BadgeBaseProps & IComponentBaseProps & Omit<JSX.HTMLAttributes<HTMLDivElement>, keyof BadgeBaseProps>;
|
|
15
|
-
declare const Badge: (props: BadgeProps) => JSX.Element;
|
|
16
|
-
|
|
17
|
-
export { Badge as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Component, JSX } from 'solid-js';
|
|
2
|
-
import { I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type BreadcrumbProps = IComponentBaseProps & JSX.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
innerProps?: JSX.HTMLAttributes<HTMLUListElement>;
|
|
6
|
-
};
|
|
7
|
-
declare const Breadcrumbs: Component<BreadcrumbProps>;
|
|
8
|
-
|
|
9
|
-
export { Breadcrumbs as default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { a as ComponentShape, C as ComponentSize, b as ComponentColor, c as ComponentVariant, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type ElementType = keyof JSX.IntrinsicElements;
|
|
5
|
-
type ButtonBaseProps = {
|
|
6
|
-
shape?: ComponentShape;
|
|
7
|
-
size?: ComponentSize;
|
|
8
|
-
color?: ComponentColor;
|
|
9
|
-
variant?: ComponentVariant | "link";
|
|
10
|
-
glass?: boolean;
|
|
11
|
-
wide?: boolean;
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
responsive?: boolean;
|
|
14
|
-
animation?: boolean;
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
active?: boolean;
|
|
17
|
-
startIcon?: JSX.Element;
|
|
18
|
-
endIcon?: JSX.Element;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
as?: ElementType;
|
|
21
|
-
children?: JSX.Element;
|
|
22
|
-
dataTheme?: string;
|
|
23
|
-
class?: string;
|
|
24
|
-
className?: string;
|
|
25
|
-
style?: JSX.CSSProperties;
|
|
26
|
-
};
|
|
27
|
-
type PropsOf<E extends ElementType> = JSX.IntrinsicElements[E];
|
|
28
|
-
type ButtonProps<E extends ElementType = "button"> = Omit<PropsOf<E>, keyof ButtonBaseProps | "color" | "size"> & ButtonBaseProps & IComponentBaseProps;
|
|
29
|
-
declare const Button: <E extends ElementType = "button">(props: ButtonProps<E>) => JSX.Element;
|
|
30
|
-
|
|
31
|
-
export { Button as default };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { b as ComponentColor, C as ComponentSize, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type CheckboxBaseProps = {
|
|
5
|
-
color?: Exclude<ComponentColor, "ghost">;
|
|
6
|
-
size?: ComponentSize;
|
|
7
|
-
indeterminate?: boolean;
|
|
8
|
-
dataTheme?: string;
|
|
9
|
-
class?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: JSX.CSSProperties;
|
|
12
|
-
};
|
|
13
|
-
type CheckboxProps = CheckboxBaseProps & IComponentBaseProps & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, keyof CheckboxBaseProps>;
|
|
14
|
-
declare const Checkbox: (props: CheckboxProps) => JSX.Element;
|
|
15
|
-
|
|
16
|
-
export { Checkbox as default };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { S as Summary } from '../../CollapseTitle-BNxog3is.js';
|
|
2
|
-
export { C as CollapseContent, a as CollapseTitle } from '../../CollapseTitle-BNxog3is.js';
|
|
3
|
-
import { JSX } from 'solid-js';
|
|
4
|
-
import { I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
5
|
-
|
|
6
|
-
type CollapseDetailsProps = JSX.HTMLAttributes<HTMLDetailsElement> & IComponentBaseProps & {
|
|
7
|
-
icon?: "arrow" | "plus";
|
|
8
|
-
open?: boolean;
|
|
9
|
-
};
|
|
10
|
-
declare function CollapseDetails(props: CollapseDetailsProps): JSX.Element;
|
|
11
|
-
declare namespace CollapseDetails {
|
|
12
|
-
var Title: typeof Summary;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { CollapseDetails, Summary };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CollapseContent,
|
|
3
|
-
CollapseDetails,
|
|
4
|
-
CollapseTitle,
|
|
5
|
-
Summary
|
|
6
|
-
} from "../../chunk/KQ3RAWCE.jsx";
|
|
7
|
-
import "../../chunk/O7LDJCQS.jsx";
|
|
8
|
-
import "../../chunk/5HG7XWVC.jsx";
|
|
9
|
-
export {
|
|
10
|
-
CollapseContent,
|
|
11
|
-
CollapseDetails,
|
|
12
|
-
CollapseTitle,
|
|
13
|
-
Summary
|
|
14
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Component, JSX } from 'solid-js';
|
|
2
|
-
|
|
3
|
-
type DropdownProps = {
|
|
4
|
-
children: JSX.Element;
|
|
5
|
-
hoverable?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
position?: "left" | "right" | "top-left" | "top-right";
|
|
8
|
-
};
|
|
9
|
-
declare const Dropdown: Component<DropdownProps>;
|
|
10
|
-
|
|
11
|
-
declare const DropdownTrigger: Component<{
|
|
12
|
-
children: JSX.Element;
|
|
13
|
-
}>;
|
|
14
|
-
|
|
15
|
-
declare const DropdownMenu: Component<{
|
|
16
|
-
children: JSX.Element;
|
|
17
|
-
}>;
|
|
18
|
-
|
|
19
|
-
type DropdownItemProps = {
|
|
20
|
-
children: JSX.Element;
|
|
21
|
-
onClick?: () => void;
|
|
22
|
-
value?: string;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
};
|
|
25
|
-
declare const DropdownItem: Component<DropdownItemProps>;
|
|
26
|
-
|
|
27
|
-
export { Dropdown, DropdownItem, DropdownMenu, DropdownTrigger };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DropdownItem_default,
|
|
3
|
-
DropdownMenu_default,
|
|
4
|
-
DropdownTrigger_default,
|
|
5
|
-
Dropdown_default
|
|
6
|
-
} from "../../chunk/OJRG4ZAB.jsx";
|
|
7
|
-
import "../../chunk/P7WPLZNA.jsx";
|
|
8
|
-
export {
|
|
9
|
-
Dropdown_default as Dropdown,
|
|
10
|
-
DropdownItem_default as DropdownItem,
|
|
11
|
-
DropdownMenu_default as DropdownMenu,
|
|
12
|
-
DropdownTrigger_default as DropdownTrigger
|
|
13
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { C as ComponentSize, b as ComponentColor, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type FileInputBaseProps = {
|
|
5
|
-
size?: ComponentSize;
|
|
6
|
-
color?: ComponentColor;
|
|
7
|
-
bordered?: boolean;
|
|
8
|
-
dataTheme?: string;
|
|
9
|
-
class?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: JSX.CSSProperties;
|
|
12
|
-
};
|
|
13
|
-
type FileInputProps = FileInputBaseProps & IComponentBaseProps & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, keyof FileInputBaseProps>;
|
|
14
|
-
declare const FileInput: (props: FileInputProps) => JSX.Element;
|
|
15
|
-
|
|
16
|
-
export { FileInput as default };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { C as ComponentSize, b as ComponentColor, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type InputBaseProps = {
|
|
5
|
-
size?: ComponentSize;
|
|
6
|
-
color?: ComponentColor;
|
|
7
|
-
dataTheme?: string;
|
|
8
|
-
class?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: JSX.CSSProperties;
|
|
11
|
-
};
|
|
12
|
-
type InputProps = InputBaseProps & IComponentBaseProps & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, keyof InputBaseProps>;
|
|
13
|
-
declare const Input: (props: InputProps) => JSX.Element;
|
|
14
|
-
|
|
15
|
-
export { Input as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js';
|
|
2
|
-
import { I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type JoinProps = IComponentBaseProps & JSX.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
responsive?: boolean;
|
|
6
|
-
vertical?: boolean;
|
|
7
|
-
horizontal?: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare const Join: (props: JoinProps) => JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { type JoinProps, Join as default };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Component, JSX } from 'solid-js';
|
|
2
|
-
import { a as ClassProps } from '../../classes-B_S9K-9I.js';
|
|
3
|
-
|
|
4
|
-
type NavbarProps = {
|
|
5
|
-
color?: "primary" | "info" | "success" | "danger" | "warning" | "light";
|
|
6
|
-
modelValue?: string;
|
|
7
|
-
spaced?: boolean;
|
|
8
|
-
shadow?: boolean;
|
|
9
|
-
transparent?: boolean;
|
|
10
|
-
fixedTop?: boolean;
|
|
11
|
-
fixedBottom?: boolean;
|
|
12
|
-
children?: JSX.Element;
|
|
13
|
-
onChange?: (val: string) => void;
|
|
14
|
-
};
|
|
15
|
-
declare const Navbar: Component<NavbarProps>;
|
|
16
|
-
|
|
17
|
-
type NavbarColor = "primary" | "info" | "success" | "danger" | "warning" | "light";
|
|
18
|
-
type NavbarItemProps = {
|
|
19
|
-
label: string;
|
|
20
|
-
tag?: "a" | "div";
|
|
21
|
-
href?: string;
|
|
22
|
-
children: JSX.Element;
|
|
23
|
-
color?: NavbarColor;
|
|
24
|
-
} & ClassProps;
|
|
25
|
-
declare const NavbarItem: Component<NavbarItemProps>;
|
|
26
|
-
|
|
27
|
-
type NavbarDropdownProps = {
|
|
28
|
-
label: string;
|
|
29
|
-
hoverable?: boolean;
|
|
30
|
-
align?: "left" | "right";
|
|
31
|
-
class?: string;
|
|
32
|
-
children: JSX.Element;
|
|
33
|
-
};
|
|
34
|
-
declare const NavbarDropdown: Component<NavbarDropdownProps>;
|
|
35
|
-
|
|
36
|
-
export { Navbar, NavbarDropdown, NavbarItem };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
NavbarDropdown_default,
|
|
3
|
-
NavbarItem_default,
|
|
4
|
-
Navbar_default
|
|
5
|
-
} from "../../chunk/55B7Q4NT.jsx";
|
|
6
|
-
import "../../chunk/P7WPLZNA.jsx";
|
|
7
|
-
export {
|
|
8
|
-
Navbar_default as Navbar,
|
|
9
|
-
NavbarDropdown_default as NavbarDropdown,
|
|
10
|
-
NavbarItem_default as NavbarItem
|
|
11
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as solid_js from 'solid-js';
|
|
2
|
-
import { JoinProps } from '../join/index.js';
|
|
3
|
-
import '../../types-CUG9pToa.js';
|
|
4
|
-
|
|
5
|
-
type PaginationProps = JoinProps;
|
|
6
|
-
declare const Pagination: (props: JoinProps) => solid_js.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { type PaginationProps, Pagination as default };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as solid_js from 'solid-js';
|
|
2
|
-
import { ValidComponent, JSX, ComponentProps, Ref } from 'solid-js';
|
|
3
|
-
|
|
4
|
-
type OverrideProps<T, P> = Omit<T, keyof P> & P;
|
|
5
|
-
|
|
6
|
-
type PolymorphicAttributes<T extends ValidComponent> = {
|
|
7
|
-
/**
|
|
8
|
-
* Component to render the polymorphic component as.
|
|
9
|
-
* @defaultValue `div`
|
|
10
|
-
*/
|
|
11
|
-
as?: T | keyof JSX.HTMLElementTags;
|
|
12
|
-
};
|
|
13
|
-
type PolymorphicProps<T extends ValidComponent, P extends object> = OverrideProps<ComponentProps<T>, P & PolymorphicAttributes<T>>;
|
|
14
|
-
/**
|
|
15
|
-
* Renders as a div by default and can be overridden with the `as` property.
|
|
16
|
-
*/
|
|
17
|
-
declare const Polymorphic: <ElementProps>(props: PolymorphicAttributes<ValidComponent> & ElementProps) => JSX.Element;
|
|
18
|
-
|
|
19
|
-
type ElementOf<T> = T extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[T] : unknown;
|
|
20
|
-
|
|
21
|
-
type PolymorphicButtonSharedProps<T extends ValidComponent = "button"> = {
|
|
22
|
-
ref: Ref<ElementOf<T>>;
|
|
23
|
-
};
|
|
24
|
-
type PolymorphicButtonElementProps = PolymorphicButtonSharedProps & {
|
|
25
|
-
role: "button" | undefined;
|
|
26
|
-
};
|
|
27
|
-
type PolymorphicButtonProps<T extends ValidComponent = "button"> = Partial<PolymorphicButtonSharedProps<T>>;
|
|
28
|
-
/**
|
|
29
|
-
* An accessible button that sets `type` and `role` properly based on
|
|
30
|
-
* if it's a native button.
|
|
31
|
-
*/
|
|
32
|
-
declare const PolymorphicButton: <T extends ValidComponent = "button">(props: PolymorphicProps<T, PolymorphicButtonProps<T>>) => solid_js.JSX.Element;
|
|
33
|
-
|
|
34
|
-
export { Polymorphic, type PolymorphicAttributes, PolymorphicButton, type PolymorphicButtonElementProps, type PolymorphicButtonProps, type PolymorphicButtonSharedProps, type PolymorphicProps };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Component, JSX } from 'solid-js';
|
|
2
|
-
import { b as ComponentColor, C as ComponentSize, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
|
|
3
|
-
|
|
4
|
-
type SelectBaseProps = {
|
|
5
|
-
color?: ComponentColor;
|
|
6
|
-
size?: ComponentSize;
|
|
7
|
-
dataTheme?: string;
|
|
8
|
-
class?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: JSX.CSSProperties;
|
|
11
|
-
};
|
|
12
|
-
type SelectProps = SelectBaseProps & IComponentBaseProps & Omit<JSX.SelectHTMLAttributes<HTMLSelectElement>, keyof SelectBaseProps>;
|
|
13
|
-
declare const Select: Component<SelectProps>;
|
|
14
|
-
|
|
15
|
-
export { Select as default };
|