@pathscale/ui 0.0.10 → 0.0.11
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/dist/{Accordion-JZGWxBMK.d.ts → Accordion-nwuRbRRw.d.ts} +1 -1
- package/dist/{Autocomplete-gLkjMHrc.d.ts → Autocomplete-BLKN_nG8.d.ts} +1 -1
- package/dist/{Input-BGHHmBBR.d.ts → Input-X4gwIB-F.d.ts} +1 -1
- package/dist/{Select-CWCDBvec.d.ts → Select-CP-TUHJv.d.ts} +1 -1
- package/dist/{Tabs-BEnRV6GG.d.ts → Tabs-BNR3p92D.d.ts} +1 -1
- package/dist/chunk/{GA2HCFRS.jsx → LMPV5G35.jsx} +1 -1
- package/dist/chunk/{NZZRKP74.js → PF47YREI.js} +1 -1
- package/dist/chunk/{G6RG4LR7.js → SPEY5RMB.js} +2 -5
- package/dist/chunk/{KACNXPUM.jsx → T2LDLYWV.jsx} +2 -4
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/autocomplete/index.d.ts +2 -2
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/index.jsx +2 -2
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/polymorphic/index.d.ts +0 -1
- package/dist/components/polymorphic/index.js +1 -1
- package/dist/components/polymorphic/index.jsx +1 -1
- package/dist/components/select/index.d.ts +2 -2
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/index.jsx +8 -8
- package/package.json +1 -1
- /package/dist/components/{progress → Progress}/index.d.ts +0 -0
- /package/dist/components/{progress → Progress}/index.js +0 -0
- /package/dist/components/{progress → Progress}/index.jsx +0 -0
|
@@ -29,7 +29,7 @@ declare const inputVariants: {
|
|
|
29
29
|
false: string;
|
|
30
30
|
};
|
|
31
31
|
}> & ClassProps) | undefined): string;
|
|
32
|
-
variantKeys: ("
|
|
32
|
+
variantKeys: ("rounded" | "loading" | "color" | "expanded" | "hasLeftIcon" | "hasRightIcon")[];
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
type InputProps = Partial<VariantProps<typeof inputVariants> & ClassProps & ComponentProps<"input">> & {
|
|
@@ -28,7 +28,7 @@ declare const selectVariants: {
|
|
|
28
28
|
false: string;
|
|
29
29
|
};
|
|
30
30
|
}> & ClassProps) | undefined): string;
|
|
31
|
-
variantKeys: ("
|
|
31
|
+
variantKeys: ("size" | "rounded" | "loading" | "color" | "expanded")[];
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
type SelectProps = VariantProps<typeof selectVariants> & ClassProps & ComponentProps<"select"> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PolymorphicButton_default } from './
|
|
1
|
+
import { PolymorphicButton_default } from './SPEY5RMB.js';
|
|
2
2
|
import { cva } from './HKS7ET6T.js';
|
|
3
3
|
import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
|
|
4
4
|
import { mergeProps, splitProps, createMemo } from 'solid-js';
|
|
@@ -63,10 +63,10 @@ function createIsButton(props) {
|
|
|
63
63
|
}
|
|
64
64
|
var PolymorphicButton = (props) => {
|
|
65
65
|
const [ref, setRef] = createSignal(null);
|
|
66
|
-
const [localProps, otherProps] = splitProps(props, ["ref"
|
|
66
|
+
const [localProps, otherProps] = splitProps(props, ["ref"]);
|
|
67
67
|
const isButton2 = createIsButton({
|
|
68
68
|
element: ref,
|
|
69
|
-
type:
|
|
69
|
+
type: props.type
|
|
70
70
|
});
|
|
71
71
|
return createComponent(Polymorphic_default, mergeProps({
|
|
72
72
|
as: "button",
|
|
@@ -74,9 +74,6 @@ var PolymorphicButton = (props) => {
|
|
|
74
74
|
var _ref$ = mergeRefs(setRef, localProps.ref);
|
|
75
75
|
typeof _ref$ === "function" && _ref$(r$);
|
|
76
76
|
},
|
|
77
|
-
get type() {
|
|
78
|
-
return isButton2() ? "button" : void 0;
|
|
79
|
-
},
|
|
80
77
|
get role() {
|
|
81
78
|
return !isButton2() ? "button" : void 0;
|
|
82
79
|
}
|
|
@@ -80,17 +80,15 @@ import {
|
|
|
80
80
|
var PolymorphicButton = (props) => {
|
|
81
81
|
const [ref, setRef] = createSignal(null);
|
|
82
82
|
const [localProps, otherProps] = splitProps2(props, [
|
|
83
|
-
"ref"
|
|
84
|
-
"type"
|
|
83
|
+
"ref"
|
|
85
84
|
]);
|
|
86
85
|
const isButton2 = createIsButton({
|
|
87
86
|
element: ref,
|
|
88
|
-
type:
|
|
87
|
+
type: props.type
|
|
89
88
|
});
|
|
90
89
|
return <Polymorphic_default
|
|
91
90
|
as="button"
|
|
92
91
|
ref={mergeRefs(setRef, localProps.ref)}
|
|
93
|
-
type={isButton2() ? "button" : void 0}
|
|
94
92
|
role={!isButton2() ? "button" : void 0}
|
|
95
93
|
{...otherProps}
|
|
96
94
|
/>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Accordion } from '../../Accordion-
|
|
2
|
-
export { a as AccordionProps } from '../../Accordion-
|
|
1
|
+
import { A as Accordion } from '../../Accordion-nwuRbRRw.js';
|
|
2
|
+
export { a as AccordionProps } from '../../Accordion-nwuRbRRw.js';
|
|
3
3
|
import 'solid-js';
|
|
4
4
|
import '../../classes-B_S9K-9I.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Autocomplete } from '../../Autocomplete-
|
|
2
|
-
export { a as AutocompleteProps } from '../../Autocomplete-
|
|
1
|
+
import { A as Autocomplete } from '../../Autocomplete-BLKN_nG8.js';
|
|
2
|
+
export { a as AutocompleteProps } from '../../Autocomplete-BLKN_nG8.js';
|
|
3
3
|
import 'solid-js';
|
|
4
4
|
import '../../classes-B_S9K-9I.js';
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { button_default as default } from '../../chunk/
|
|
1
|
+
export { button_default as default } from '../../chunk/PF47YREI.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as Input } from '../../Input-
|
|
2
|
-
export { a as InputProps } from '../../Input-
|
|
1
|
+
import { I as Input } from '../../Input-X4gwIB-F.js';
|
|
2
|
+
export { a as InputProps } from '../../Input-X4gwIB-F.js';
|
|
3
3
|
import { Component } from 'solid-js';
|
|
4
4
|
import '../../classes-B_S9K-9I.js';
|
|
5
5
|
|
|
@@ -20,7 +20,6 @@ type ElementOf<T> = T extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMa
|
|
|
20
20
|
|
|
21
21
|
type PolymorphicButtonSharedProps<T extends ValidComponent = "button"> = {
|
|
22
22
|
ref: Ref<ElementOf<T>>;
|
|
23
|
-
type: string | undefined;
|
|
24
23
|
};
|
|
25
24
|
type PolymorphicButtonElementProps = PolymorphicButtonSharedProps & {
|
|
26
25
|
role: "button" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Polymorphic_default as Polymorphic, PolymorphicButton_default as PolymorphicButton } from '../../chunk/
|
|
1
|
+
export { Polymorphic_default as Polymorphic, PolymorphicButton_default as PolymorphicButton } from '../../chunk/SPEY5RMB.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Select } from '../../Select-
|
|
2
|
-
export { a as SelectProps } from '../../Select-
|
|
1
|
+
import { S as Select } from '../../Select-CP-TUHJv.js';
|
|
2
|
+
export { a as SelectProps } from '../../Select-CP-TUHJv.js';
|
|
3
3
|
import 'solid-js';
|
|
4
4
|
import '../../classes-B_S9K-9I.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Tabs } from '../../Tabs-
|
|
2
|
-
export { a as TabsProps } from '../../Tabs-
|
|
1
|
+
import { T as Tabs } from '../../Tabs-BNR3p92D.js';
|
|
2
|
+
export { a as TabsProps } from '../../Tabs-BNR3p92D.js';
|
|
3
3
|
import 'solid-js';
|
|
4
4
|
import '../../classes-B_S9K-9I.js';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export { A as Avatar } from './Avatar-CzIirpVq.js';
|
|
2
2
|
export { B as Button } from './Button-B50OLXuV.js';
|
|
3
|
-
export { I as Input } from './Input-
|
|
3
|
+
export { I as Input } from './Input-X4gwIB-F.js';
|
|
4
4
|
export { T as Textarea } from './Textarea-Cpdk7m6S.js';
|
|
5
5
|
export { P as Progress } from './Progress-gN0xqhAF.js';
|
|
6
6
|
export { U as Upload } from './Upload-CRljD5jf.js';
|
|
7
|
-
export { A as Accordion } from './Accordion-
|
|
7
|
+
export { A as Accordion } from './Accordion-nwuRbRRw.js';
|
|
8
8
|
export { P as Pagination } from './Pagination-CJtlFMHy.js';
|
|
9
|
-
export { T as Tabs } from './Tabs-
|
|
9
|
+
export { T as Tabs } from './Tabs-BNR3p92D.js';
|
|
10
10
|
export { T as Tooltip } from './Tooltip-BfPongoz.js';
|
|
11
11
|
export { T as Tag } from './Tag-BPrhn-Ne.js';
|
|
12
|
-
export { S as Select } from './Select-
|
|
12
|
+
export { S as Select } from './Select-CP-TUHJv.js';
|
|
13
13
|
export { S as Switch } from './Switch-CW6QtO1Y.js';
|
|
14
14
|
export { C as Checkbox } from './Checkbox-CzeDsQLA.js';
|
|
15
15
|
export { Breadcrumb, BreadcrumbItem } from './components/breadcrumb/index.js';
|
|
16
|
-
export { A as Autocomplete } from './Autocomplete-
|
|
16
|
+
export { A as Autocomplete } from './Autocomplete-BLKN_nG8.js';
|
|
17
17
|
export { Dropdown, DropdownItem, DropdownMenu, DropdownTrigger } from './components/dropdown/index.js';
|
|
18
18
|
export { F as Field } from './Field-DfUn85_1.js';
|
|
19
19
|
export { Menu, MenuItem, MenuList } from './components/menu/index.js';
|
package/dist/index.js
CHANGED
|
@@ -6,8 +6,8 @@ export { steps_default as Steps } from './chunk/TT2JYGLU.js';
|
|
|
6
6
|
export { switch_default as Switch } from './chunk/EE4HXMKA.js';
|
|
7
7
|
export { table_default as Table } from './chunk/QYEMOKUG.js';
|
|
8
8
|
export { tabs_default as Tabs } from './chunk/WOT36Q7O.js';
|
|
9
|
-
export { tag_default as Tag } from './chunk/CJZGTNJZ.js';
|
|
10
9
|
export { textarea_default as Textarea } from './chunk/EB7KXR65.js';
|
|
10
|
+
export { tag_default as Tag } from './chunk/CJZGTNJZ.js';
|
|
11
11
|
export { timeline_default as Timeline } from './chunk/WUZETUQR.js';
|
|
12
12
|
export { Dropdown_default as Dropdown, DropdownItem_default as DropdownItem, DropdownMenu_default as DropdownMenu, DropdownTrigger_default as DropdownTrigger } from './chunk/3FBDYV4P.js';
|
|
13
13
|
export { field_default as Field } from './chunk/MAX47D6F.js';
|
|
@@ -20,6 +20,6 @@ export { accordion_default as Accordion } from './chunk/NZKPDBTE.js';
|
|
|
20
20
|
export { autocomplete_default as Autocomplete } from './chunk/MYERRMTM.js';
|
|
21
21
|
export { avatar_default as Avatar } from './chunk/MI773TMC.js';
|
|
22
22
|
export { Breadcrumb_default as Breadcrumb, BreadcrumbItem_default as BreadcrumbItem } from './chunk/V6Y5E7BL.js';
|
|
23
|
-
export { button_default as Button } from './chunk/NZZRKP74.js';
|
|
24
|
-
export { Polymorphic_default as Polymorphic, PolymorphicButton_default as PolymorphicButton } from './chunk/G6RG4LR7.js';
|
|
25
23
|
export { checkbox_default as Checkbox } from './chunk/WYHYWDOM.js';
|
|
24
|
+
export { button_default as Button } from './chunk/PF47YREI.js';
|
|
25
|
+
export { Polymorphic_default as Polymorphic, PolymorphicButton_default as PolymorphicButton } from './chunk/SPEY5RMB.js';
|
package/dist/index.jsx
CHANGED
|
@@ -49,14 +49,14 @@ import {
|
|
|
49
49
|
MenuList_default,
|
|
50
50
|
Menu_default
|
|
51
51
|
} from "./chunk/XD34JKSU.jsx";
|
|
52
|
-
import {
|
|
53
|
-
pagination_default
|
|
54
|
-
} from "./chunk/ELRAUORW.jsx";
|
|
55
52
|
import {
|
|
56
53
|
NavbarDropdown_default,
|
|
57
54
|
NavbarItem_default,
|
|
58
55
|
Navbar_default
|
|
59
56
|
} from "./chunk/55B7Q4NT.jsx";
|
|
57
|
+
import {
|
|
58
|
+
pagination_default
|
|
59
|
+
} from "./chunk/ELRAUORW.jsx";
|
|
60
60
|
import {
|
|
61
61
|
progress_default
|
|
62
62
|
} from "./chunk/STKRVQR6.jsx";
|
|
@@ -66,20 +66,20 @@ import {
|
|
|
66
66
|
import {
|
|
67
67
|
avatar_default
|
|
68
68
|
} from "./chunk/C4745OZS.jsx";
|
|
69
|
-
import {
|
|
70
|
-
autocomplete_default
|
|
71
|
-
} from "./chunk/C4YO33NN.jsx";
|
|
72
69
|
import {
|
|
73
70
|
BreadcrumbItem_default,
|
|
74
71
|
Breadcrumb_default
|
|
75
72
|
} from "./chunk/MMTAND25.jsx";
|
|
73
|
+
import {
|
|
74
|
+
autocomplete_default
|
|
75
|
+
} from "./chunk/C4YO33NN.jsx";
|
|
76
76
|
import {
|
|
77
77
|
button_default
|
|
78
|
-
} from "./chunk/
|
|
78
|
+
} from "./chunk/LMPV5G35.jsx";
|
|
79
79
|
import {
|
|
80
80
|
PolymorphicButton_default,
|
|
81
81
|
Polymorphic_default
|
|
82
|
-
} from "./chunk/
|
|
82
|
+
} from "./chunk/T2LDLYWV.jsx";
|
|
83
83
|
import {
|
|
84
84
|
checkbox_default
|
|
85
85
|
} from "./chunk/T7IZ26YC.jsx";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|