@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.
@@ -12,7 +12,7 @@ declare const accordionContainerVariants: {
12
12
  false: string;
13
13
  };
14
14
  }> & ClassProps) | undefined): string;
15
- variantKeys: ("expanded" | "disabled")[];
15
+ variantKeys: ("disabled" | "expanded")[];
16
16
  };
17
17
 
18
18
  type AccordionProps = {
@@ -13,7 +13,7 @@ declare const inputBoxClass: {
13
13
  lg: string;
14
14
  };
15
15
  }> & ClassProps) | undefined): string;
16
- variantKeys: ("size" | "state")[];
16
+ variantKeys: ("state" | "size")[];
17
17
  };
18
18
 
19
19
  type AutocompleteProps = {
@@ -29,7 +29,7 @@ declare const inputVariants: {
29
29
  false: string;
30
30
  };
31
31
  }> & ClassProps) | undefined): string;
32
- variantKeys: ("expanded" | "rounded" | "loading" | "color" | "hasLeftIcon" | "hasRightIcon")[];
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: ("expanded" | "size" | "rounded" | "loading" | "color")[];
31
+ variantKeys: ("size" | "rounded" | "loading" | "color" | "expanded")[];
32
32
  };
33
33
 
34
34
  type SelectProps = VariantProps<typeof selectVariants> & ClassProps & ComponentProps<"select"> & {
@@ -24,7 +24,7 @@ declare const tabsNavVariants: {
24
24
  false: string;
25
25
  };
26
26
  }> & ClassProps) | undefined): string;
27
- variantKeys: ("expanded" | "size" | "type" | "alignment")[];
27
+ variantKeys: ("size" | "type" | "expanded" | "alignment")[];
28
28
  };
29
29
 
30
30
  type TabItem = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PolymorphicButton_default
3
- } from "./KACNXPUM.jsx";
3
+ } from "./T2LDLYWV.jsx";
4
4
  import {
5
5
  cva
6
6
  } from "./P7WPLZNA.jsx";
@@ -1,4 +1,4 @@
1
- import { PolymorphicButton_default } from './G6RG4LR7.js';
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", "type"]);
66
+ const [localProps, otherProps] = splitProps(props, ["ref"]);
67
67
  const isButton2 = createIsButton({
68
68
  element: ref,
69
- type: localProps.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: localProps.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-JZGWxBMK.js';
2
- export { a as AccordionProps } from '../../Accordion-JZGWxBMK.js';
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-gLkjMHrc.js';
2
- export { a as AutocompleteProps } from '../../Autocomplete-gLkjMHrc.js';
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/NZZRKP74.js';
1
+ export { button_default as default } from '../../chunk/PF47YREI.js';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  button_default
3
- } from "../../chunk/GA2HCFRS.jsx";
4
- import "../../chunk/KACNXPUM.jsx";
3
+ } from "../../chunk/LMPV5G35.jsx";
4
+ import "../../chunk/T2LDLYWV.jsx";
5
5
  import "../../chunk/P7WPLZNA.jsx";
6
6
  export {
7
7
  button_default as default
@@ -1,5 +1,5 @@
1
- import { I as Input } from '../../Input-BGHHmBBR.js';
2
- export { a as InputProps } from '../../Input-BGHHmBBR.js';
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
 
@@ -34,7 +34,7 @@ declare const itemVariants: {
34
34
  false: string;
35
35
  };
36
36
  }> & ClassProps) | undefined): string;
37
- variantKeys: ("expanded" | "disabled" | "active")[];
37
+ variantKeys: ("disabled" | "expanded" | "active")[];
38
38
  };
39
39
 
40
40
  type MenuProps = {
@@ -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/G6RG4LR7.js';
1
+ export { Polymorphic_default as Polymorphic, PolymorphicButton_default as PolymorphicButton } from '../../chunk/SPEY5RMB.js';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PolymorphicButton_default,
3
3
  Polymorphic_default
4
- } from "../../chunk/KACNXPUM.jsx";
4
+ } from "../../chunk/T2LDLYWV.jsx";
5
5
  export {
6
6
  Polymorphic_default as Polymorphic,
7
7
  PolymorphicButton_default as PolymorphicButton
@@ -1,5 +1,5 @@
1
- import { S as Select } from '../../Select-CWCDBvec.js';
2
- export { a as SelectProps } from '../../Select-CWCDBvec.js';
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-BEnRV6GG.js';
2
- export { a as TabsProps } from '../../Tabs-BEnRV6GG.js';
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-BGHHmBBR.js';
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-JZGWxBMK.js';
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-BEnRV6GG.js';
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-CWCDBvec.js';
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-gLkjMHrc.js';
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/GA2HCFRS.jsx";
78
+ } from "./chunk/LMPV5G35.jsx";
79
79
  import {
80
80
  PolymorphicButton_default,
81
81
  Polymorphic_default
82
- } from "./chunk/KACNXPUM.jsx";
82
+ } from "./chunk/T2LDLYWV.jsx";
83
83
  import {
84
84
  checkbox_default
85
85
  } from "./chunk/T7IZ26YC.jsx";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",
File without changes