@open-xamu-co/ui-components-vue 3.1.0 → 4.0.0-next.2

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.
Files changed (98) hide show
  1. package/CHANGELOG.md +26 -60
  2. package/dist/components/action/Button.stories.d.ts +6 -12
  3. package/dist/components/action/Button.vue.d.ts +7 -11
  4. package/dist/components/action/ButtonLink.stories.d.ts +4 -10
  5. package/dist/components/action/ButtonLink.vue.d.ts +17 -19
  6. package/dist/components/action/ButtonToggle.stories.d.ts +4 -10
  7. package/dist/components/action/ButtonToggle.vue.d.ts +7 -11
  8. package/dist/components/action/Link.stories.d.ts +4 -10
  9. package/dist/components/action/Link.vue.d.ts +7 -11
  10. package/dist/components/base/Action.vue.d.ts +7 -11
  11. package/dist/components/base/Box.vue.d.ts +7 -11
  12. package/dist/components/base/BrowserOnly.vue.d.ts +9 -12
  13. package/dist/components/base/ErrorBoundary.vue.d.ts +11 -14
  14. package/dist/components/base/Img.vue.d.ts +2 -1
  15. package/dist/components/base/Input.vue.d.ts +11 -15
  16. package/dist/components/base/Select.vue.d.ts +2 -1
  17. package/dist/components/base/Wrapper.vue.d.ts +9 -13
  18. package/dist/components/box/Action.stories.d.ts +4 -11
  19. package/dist/components/box/Action.vue.d.ts +2 -1
  20. package/dist/components/box/Message.stories.d.ts +4 -10
  21. package/dist/components/box/Message.vue.d.ts +7 -11
  22. package/dist/components/collapse/Simple.stories.d.ts +4 -11
  23. package/dist/components/collapse/Simple.vue.d.ts +7 -11
  24. package/dist/components/dropdown/Simple.stories.d.ts +3 -9
  25. package/dist/components/dropdown/Simple.vue.d.ts +37 -41
  26. package/dist/components/form/Input.stories.d.ts +3 -2
  27. package/dist/components/form/Input.vue.d.ts +2 -1
  28. package/dist/components/form/InputCountriesAPI.vue.d.ts +10 -14
  29. package/dist/components/form/InputLoop.vue.d.ts +12 -7
  30. package/dist/components/form/InputNValues.vue.d.ts +11 -6
  31. package/dist/components/form/InputOptions.vue.d.ts +19 -23
  32. package/dist/components/form/Simple.stories.d.ts +4 -2
  33. package/dist/components/form/Simple.vue.d.ts +14 -9
  34. package/dist/components/form/Stages.stories.d.ts +4 -62
  35. package/dist/components/form/Stages.vue.d.ts +29 -28
  36. package/dist/components/icon/Fa.stories.d.ts +4 -10
  37. package/dist/components/icon/Fa.vue.d.ts +2 -1
  38. package/dist/components/icon/Simple.stories.d.ts +4 -8
  39. package/dist/components/icon/Simple.vue.d.ts +7 -11
  40. package/dist/components/input/Color.stories.d.ts +3 -7
  41. package/dist/components/input/Color.vue.d.ts +2 -1
  42. package/dist/components/input/File.stories.d.ts +4 -10
  43. package/dist/components/input/File.vue.d.ts +2 -1
  44. package/dist/components/input/Text.stories.d.ts +4 -11
  45. package/dist/components/input/Text.vue.d.ts +2 -1
  46. package/dist/components/input/Toggle.stories.d.ts +4 -10
  47. package/dist/components/input/Toggle.vue.d.ts +7 -11
  48. package/dist/components/loader/Content.stories.d.ts +4 -8
  49. package/dist/components/loader/Content.vue.d.ts +7 -11
  50. package/dist/components/loader/ContentFetch.stories.d.ts +5 -8
  51. package/dist/components/loader/ContentFetch.vue.d.ts +16 -11
  52. package/dist/components/loader/Simple.stories.d.ts +4 -8
  53. package/dist/components/loader/Simple.vue.d.ts +7 -11
  54. package/dist/components/modal/Simple.stories.d.ts +3 -15
  55. package/dist/components/modal/Simple.vue.d.ts +53 -53
  56. package/dist/components/pagination/Content.stories.d.ts +4 -7
  57. package/dist/components/pagination/Content.vue.d.ts +19 -11
  58. package/dist/components/pagination/ContentTable.stories.d.ts +4 -7
  59. package/dist/components/pagination/ContentTable.vue.d.ts +23 -15
  60. package/dist/components/pagination/Simple.stories.d.ts +5 -21
  61. package/dist/components/pagination/Simple.vue.d.ts +12 -7
  62. package/dist/components/select/Choice.stories.d.ts +3 -9
  63. package/dist/components/select/Choice.vue.d.ts +2 -1
  64. package/dist/components/select/Filter.stories.d.ts +3 -9
  65. package/dist/components/select/Filter.vue.d.ts +2 -1
  66. package/dist/components/select/Simple.stories.d.ts +4 -11
  67. package/dist/components/select/Simple.vue.d.ts +2 -1
  68. package/dist/components/slider/Simple.stories.d.ts +4 -8
  69. package/dist/components/slider/Simple.vue.d.ts +50 -0
  70. package/dist/components/table/Body.vue.d.ts +18 -11
  71. package/dist/components/table/HeadActions.vue.d.ts +12 -7
  72. package/dist/components/table/HeadContent.vue.d.ts +10 -5
  73. package/dist/components/table/Simple.stories.d.ts +4 -52
  74. package/dist/components/table/Simple.vue.d.ts +23 -15
  75. package/dist/components/value/Complex.stories.d.ts +4 -8
  76. package/dist/components/value/Complex.vue.d.ts +2 -1
  77. package/dist/components/value/List.stories.d.ts +4 -27
  78. package/dist/components/value/List.vue.d.ts +2 -12
  79. package/dist/components/value/Simple.stories.d.ts +5 -10
  80. package/dist/components/value/Simple.vue.d.ts +10 -5
  81. package/dist/index-C46FseEI.js +7098 -0
  82. package/dist/index-w1g0Tp05.cjs +4 -0
  83. package/dist/index.cjs +1 -0
  84. package/dist/index.js +45 -1
  85. package/dist/plugin.cjs +1 -0
  86. package/dist/plugin.js +902 -1
  87. package/dist/theme.cjs +1 -0
  88. package/dist/theme.js +7 -1
  89. package/dist/types/props.d.ts +1 -1
  90. package/dist/types/storybook.d.ts +10 -0
  91. package/package.json +37 -31
  92. package/dist/index-BeKPWN3w.js +0 -4
  93. package/dist/index-DPLrKbNp.mjs +0 -8400
  94. package/dist/index.mjs +0 -45
  95. package/dist/plugin.mjs +0 -884
  96. package/dist/theme.mjs +0 -7
  97. /package/dist/{theme-CChhGSbE.js → theme-CChhGSbE.cjs} +0 -0
  98. /package/dist/{theme-DWMJmaKP.mjs → theme-DWMJmaKP.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,78 +1,44 @@
1
1
  Xamu UI
2
2
 
3
- # [@open-xamu-co/ui-components-vue-v3.1.0](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v3.0.1...@open-xamu-co/ui-components-vue-v3.1.0) (2025-12-16)
3
+ # [@open-xamu-co/ui-components-vue-v4.0.0-next.2](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.1...@open-xamu-co/ui-components-vue-v4.0.0-next.2) (2025-12-30)
4
+
5
+
6
+ ### Features
7
+
8
+ * conditionally hide content table pagination ([5b29ef4](https://github.com/xamu-co/ui/commit/5b29ef4828fc4247b6f55609737ccee265668701))
9
+
10
+
11
+
12
+
13
+
14
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.2"
15
+ Updating "nuxt"
16
+ Succesfully updated "nuxt" package
17
+
18
+ # [@open-xamu-co/ui-components-vue-v4.0.0-next.1](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v3.1.0-next.36...@open-xamu-co/ui-components-vue-v4.0.0-next.1) (2025-12-17)
4
19
 
5
20
 
6
21
  ### Bug Fixes
7
22
 
8
- * accept union theme at box action ([bfd9e8e](https://github.com/xamu-co/ui/commit/bfd9e8e1b4975cb36db2c76059e0f647a9e671cb))
9
- * actually hide hidden input type ([fc264e0](https://github.com/xamu-co/ui/commit/fc264e08b72e57eee2db424567e9701e32858527))
10
- * always show id for tables with children ([340b5f7](https://github.com/xamu-co/ui/commit/340b5f7ae4a4d7a0da31b6196d62af4d30e9da1c))
11
- * capture issue ios ([e491cb8](https://github.com/xamu-co/ui/commit/e491cb8d3143d3bf44695a12e637ef1842653daf))
12
- * debounce text inputs events ([a862ad1](https://github.com/xamu-co/ui/commit/a862ad1506dfe4d3df558a3a9e776f654e8c318a))
13
- * do not use key at teleport ([a5600f9](https://github.com/xamu-co/ui/commit/a5600f94bceebe3e862dc1a26f56e2cf55f389c9))
14
- * emit change event on base inout ([20cf8b1](https://github.com/xamu-co/ui/commit/20cf8b17ba841a3d56bf6a2fc1a405d652110cd9))
15
- * expose table head scope in paginated table ([5b465cf](https://github.com/xamu-co/ui/commit/5b465cf22cbc939aeb70299ce29a25a202422c60))
16
- * file thumbnail aligment ([8c1eacc](https://github.com/xamu-co/ui/commit/8c1eacc4b6fc77ab9e9b508b26ae832793bcb83b))
17
- * form make as union ([305a7e4](https://github.com/xamu-co/ui/commit/305a7e48b3e524754db36bbfba53c73b53ffc869))
18
- * generate thumbnails of file model ([ec07489](https://github.com/xamu-co/ui/commit/ec074898c419ac39d0a505c2cd771afa8a3789b9))
19
- * handle nuxt hydration behavior ([7d1cd53](https://github.com/xamu-co/ui/commit/7d1cd53b0a0a0ffa4d4dde9f36e60cf45a871412))
20
- * handle undefined edges ([8eb7215](https://github.com/xamu-co/ui/commit/8eb7215de8239ba223df4c34f19c57b4fbc799a3))
21
- * hydration issue with loader fetch payload ([43723f0](https://github.com/xamu-co/ui/commit/43723f073dda6a7c5aa0932946c4f539344c5d9e))
22
- * improve url matching ([c45c804](https://github.com/xamu-co/ui/commit/c45c804095b8cbac25248f3b78a4044a6c399c69))
23
- * invert table head theme ([d1f5860](https://github.com/xamu-co/ui/commit/d1f5860227f0ab969c1df936500dafa4957604d0))
24
- * inverted condition on pagination text ([21ab2e8](https://github.com/xamu-co/ui/commit/21ab2e8b7922ae70c3ea27b4cda52bfd0505687c))
25
- * location input not rendering if missing data ([237b595](https://github.com/xamu-co/ui/commit/237b59562e3f9a71944a1e7604d352050ae81279))
26
- * no black page on loader fetch ([07e90cc](https://github.com/xamu-co/ui/commit/07e90cc813ace8a366b165d3b61e79ae55031aff))
27
- * no transition on loader ([1b00eb3](https://github.com/xamu-co/ui/commit/1b00eb37b39712716a59915b11a62c70d31643ba))
28
- * optimize table visibility ([b09b97d](https://github.com/xamu-co/ui/commit/b09b97de0aae068e9589449c86198917c19064a5))
29
- * optional icon size on box action ([31e5d4f](https://github.com/xamu-co/ui/commit/31e5d4fa0a0062a7206769a62aa944b2a7d9891e))
30
- * pass unmapped node to table functions ([c07cabb](https://github.com/xamu-co/ui/commit/c07cabbde027d06996dbf82d1fb87a0652cf6faa))
31
- * prefer button on mobile file loading ([cebdaf2](https://github.com/xamu-co/ui/commit/cebdaf2bad01043ce3ab3cf8fea9b89b23d5d6b2))
32
- * prefer ofetch ([b97fe6c](https://github.com/xamu-co/ui/commit/b97fe6c82f4158a519e5b80e0d2730e8217a36cc))
33
- * prevent hydration duplication on pagination table content ([0319b83](https://github.com/xamu-co/ui/commit/0319b83a778e17280571b1266db4078810457059))
34
- * property on body value ([ed4514d](https://github.com/xamu-co/ui/commit/ed4514d201ddd1ab1c45358fb9bcc2fe2b510a75))
35
- * remove unnecesary padding on table ([774d88c](https://github.com/xamu-co/ui/commit/774d88ce2c59900b6dc7582a7072a28d6d0f93e2))
36
- * require protocol on image url ([ba8513e](https://github.com/xamu-co/ui/commit/ba8513e2bd289425c712bf306a93c42f4e0d3702))
37
- * reset at on first change ([5c318d6](https://github.com/xamu-co/ui/commit/5c318d6e0a1044dd1e24ccefa3fb9a7277a72206))
38
- * reset pagination on first page ([2bd449b](https://github.com/xamu-co/ui/commit/2bd449bd4a852dc3de4ffc2552d74ce0c2b865bb))
39
- * restore external pagination table head ([ea4d277](https://github.com/xamu-co/ui/commit/ea4d2771e096869148ebb17f79e0805e6d5c8e9c))
40
- * shorter file input text ([a85d5ee](https://github.com/xamu-co/ui/commit/a85d5ee2e4d8791e72342345ec7769390abd7e6a))
41
- * show partial cell value on hover ([4e8703b](https://github.com/xamu-co/ui/commit/4e8703bfeac04922ea46f18b6358b9c0acd031c6))
42
- * table item counting ([17097a5](https://github.com/xamu-co/ui/commit/17097a58037e611ddce8da42a36a1ad28b233122))
43
- * unasuming pagination table defaults ([71f9d00](https://github.com/xamu-co/ui/commit/71f9d00bef64f417b8621ce81a376d9626571f0e))
44
- * unmapped node always ([6f38d54](https://github.com/xamu-co/ui/commit/6f38d5420f3d13fad6685b6ca27310dd0c725772))
45
- * use box on table to match theme ([7c8a04b](https://github.com/xamu-co/ui/commit/7c8a04b2b8b01ae356f615f51bb217e0f726541b))
46
- * use count key with mapped node & node ([9685af0](https://github.com/xamu-co/ui/commit/9685af0c07eab096924a9022fd0ca2cb957ccf2b))
47
- * use global ([fc17577](https://github.com/xamu-co/ui/commit/fc1757767b93b288c7460a5173f90a13c4e0657a))
48
- * use key on pagination table content ([1f40232](https://github.com/xamu-co/ui/commit/1f40232b1a568421a2924921e21d0589d055e587))
49
- * wrap box action label ([8a121c7](https://github.com/xamu-co/ui/commit/8a121c70c0141f733cc265bfb44fb591b4a298c5))
50
- * wrap file input text ([e8a3b38](https://github.com/xamu-co/ui/commit/e8a3b38ca978f8dacd7f61de62766e51f07a6d1c))
51
- * zindex table fix ([936a694](https://github.com/xamu-co/ui/commit/936a6943ba3c51ee8fc0c68e43ed5ce0acb78d7d))
52
- * **vue:** redo faulty fallback fix ([cfc06f8](https://github.com/xamu-co/ui/commit/cfc06f81a16f099816292d08bf683a681a91e7cf))
53
- * **vue:** show content no matter what if fallback us provided ([42ebfd0](https://github.com/xamu-co/ui/commit/42ebfd0159ca10d0e08360478c9110f6263a3dee))
23
+ * direct types on stories meta ([2f3609b](https://github.com/xamu-co/ui/commit/2f3609b7109851cac845fe343c20bdc459ddf5a4))
24
+ * table layout ([f90b338](https://github.com/xamu-co/ui/commit/f90b338207a13a7ece14e19e71a8e593d2911a46))
54
25
 
55
26
 
56
27
  ### Features
57
28
 
58
- * **vue:** table autoincrement by page ([f96c956](https://github.com/xamu-co/ui/commit/f96c95605e5e082ab7e54d88490ab8c282d1633a))
59
- * color picker on input ([88ad4c2](https://github.com/xamu-co/ui/commit/88ad4c2503b68b7a71e2a6c0a1cc69060217307a))
60
- * conditional image placeholder ([6a93593](https://github.com/xamu-co/ui/commit/6a935939bdac87bbb66ea656dbaead813e6b902f))
61
- * image load events ([67b857c](https://github.com/xamu-co/ui/commit/67b857c58334a6306522812ceac1a20b81dbdfcb))
62
- * omit properties from being cloned ([09bf62a](https://github.com/xamu-co/ui/commit/09bf62a3a7a0fd56177a08ac429a4a183e29185f))
63
- * onUpdatedValue as promise ([752c9ac](https://github.com/xamu-co/ui/commit/752c9acfe9cdee11930db380bd6c43bd5eb6cdab))
64
- * opaque table ([4e69e86](https://github.com/xamu-co/ui/commit/4e69e86e892f3566068e7d536282036bcc80b482))
65
- * pagination content table ([703652b](https://github.com/xamu-co/ui/commit/703652bc0ba569678392405a214f4cfc9bbfa09a))
66
- * rotate gallery ([0b562b2](https://github.com/xamu-co/ui/commit/0b562b2deee0cab854b23c0c50cf2aeeb22566c3))
67
- * support granular hydration ([1feb11f](https://github.com/xamu-co/ui/commit/1feb11fffd8829045c3d092614d7624cf79ba878))
68
- * toggle tooltip ([a728a72](https://github.com/xamu-co/ui/commit/a728a722b971123824e4883c4b4d98db4ec1b83e))
69
- * with pageNumber ([976d81c](https://github.com/xamu-co/ui/commit/976d81c11c167d18a2e13326525ff23f7a9c3ea4))
29
+ * invert table children divider for better ux ([eb237c1](https://github.com/xamu-co/ui/commit/eb237c1300c6f5b10e15baa132ce5fc46a9bfa91))
30
+ * setup vue test with 40% coverage ([618545e](https://github.com/xamu-co/ui/commit/618545e30439ec1c8e03e4469e4b21585c6f2a23))
31
+
32
+
33
+ ### BREAKING CHANGES
34
+
35
+ * no-overrides to no-theme-override
70
36
 
71
37
 
72
38
 
73
39
 
74
40
 
75
- Updating dependant packages with "@open-xamu-co/ui-components-vue" version "3.1.0"
41
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.1"
76
42
  Updating "nuxt"
77
43
  Succesfully updated "nuxt" package
78
44
 
@@ -1,15 +1,9 @@
1
- import type { StoryObj } from "@storybook/vue3";
2
- import ButtonComponent from "./Button.vue";
3
- declare const meta: {
4
- title: string;
5
- component: Record<keyof typeof ButtonComponent, unknown>;
6
- args: {
7
- default: string;
8
- };
9
- };
10
- type Story = StoryObj<typeof ButtonComponent>;
1
+ import { type Meta, type StoryObj } from "@storybook/vue3-vite";
2
+ import ActionButton from "./Button.vue";
3
+ declare const meta: Meta<typeof ActionButton>;
4
+ type Story = StoryObj<typeof meta>;
11
5
  export declare const Sample: Story;
12
6
  export declare const ActiveWithAlert: Story;
13
- export declare const Vertical: Story;
14
- export declare const VerticalActiveWithAlert: Story;
7
+ export declare const VerticalDanger: Story;
8
+ export declare const VerticalDangerActiveWithAlert: Story;
15
9
  export default meta;
@@ -9,19 +9,15 @@ interface iActionButtonProps extends iActionProps, iUseModifiersProps, iUseState
9
9
  */
10
10
  vertical?: boolean;
11
11
  }
12
- declare function __VLS_template(): {
13
- attrs: Partial<{}>;
14
- slots: {
15
- default?(_: {}): any;
16
- };
17
- refs: {};
18
- rootEl: any;
12
+ declare var __VLS_8: {};
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_8) => any;
19
15
  };
20
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import("vue").DefineComponent<iActionButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ declare const __VLS_base: import("vue").DefineComponent<iActionButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
23
19
  export default _default;
24
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
25
21
  new (): {
26
22
  $slots: S;
27
23
  };
@@ -1,12 +1,6 @@
1
- import type { StoryObj } from "@storybook/vue3";
2
- import ButtonLink from "./ButtonLink.vue";
3
- declare const meta: {
4
- title: string;
5
- component: Record<keyof typeof ButtonLink, unknown>;
6
- args: {
7
- default: string;
8
- };
9
- };
10
- type Story = StoryObj<typeof ButtonLink>;
1
+ import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
+ import ActionButtonLink from "./ButtonLink.vue";
3
+ declare const meta: Meta<typeof ActionButtonLink>;
4
+ type Story = StoryObj<typeof meta>;
11
5
  export declare const Sample: Story;
12
6
  export default meta;
@@ -9,27 +9,25 @@ interface iActionButtonLinkProps extends iActionProps, iUseModifiersProps, iUseS
9
9
  */
10
10
  linkButton?: boolean;
11
11
  }
12
- declare function __VLS_template(): {
13
- attrs: Partial<{}>;
14
- slots: {
15
- default?(_: {
16
- isButton: true;
17
- }): any;
18
- default?(_: {
19
- isButton: true;
20
- }): any;
21
- default?(_: {
22
- isButton: false;
23
- }): any;
24
- };
25
- refs: {};
26
- rootEl: any;
12
+ declare var __VLS_8: {
13
+ isButton: true;
14
+ }, __VLS_17: {
15
+ isButton: true;
16
+ }, __VLS_26: {
17
+ isButton: false;
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_8) => any;
21
+ } & {
22
+ default?: (props: typeof __VLS_17) => any;
23
+ } & {
24
+ default?: (props: typeof __VLS_26) => any;
27
25
  };
28
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
- declare const __VLS_component: import("vue").DefineComponent<iActionButtonLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionButtonLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ declare const __VLS_base: import("vue").DefineComponent<iActionButtonLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionButtonLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
31
29
  export default _default;
32
- type __VLS_WithTemplateSlots<T, S> = T & {
30
+ type __VLS_WithSlots<T, S> = T & {
33
31
  new (): {
34
32
  $slots: S;
35
33
  };
@@ -1,13 +1,7 @@
1
- import type { StoryObj } from "@storybook/vue3";
2
- import ButtonToggle from "./ButtonToggle.vue";
3
- declare const meta: {
4
- title: string;
5
- component: Record<keyof typeof ButtonToggle, unknown>;
6
- args: {
7
- default: string;
8
- };
9
- };
10
- type Story = StoryObj<typeof ButtonToggle>;
1
+ import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
+ import ActionButtonToggle from "./ButtonToggle.vue";
3
+ declare const meta: Meta<typeof ActionButtonToggle>;
4
+ type Story = StoryObj<typeof meta>;
11
5
  export declare const Sample: Story;
12
6
  export declare const Active: Story;
13
7
  export declare const WithIcon: Story;
@@ -1,19 +1,15 @@
1
1
  import type { iUseModifiersProps, iUseStateProps, iUseThemeProps, iActionProps, iUseThemeTooltipProps } from "../../types/props";
2
2
  interface iActionButtonToggleProps extends iActionProps, iUseModifiersProps, iUseStateProps, iUseThemeProps, iUseThemeTooltipProps {
3
3
  }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
4
+ declare var __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
11
7
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import("vue").DefineComponent<iActionButtonToggleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionButtonToggleProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
8
+ declare const __VLS_base: import("vue").DefineComponent<iActionButtonToggleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionButtonToggleProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
15
11
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
17
13
  new (): {
18
14
  $slots: S;
19
15
  };
@@ -1,12 +1,6 @@
1
- import type { StoryObj } from "@storybook/vue3";
2
- import Link from "./Link.vue";
3
- declare const meta: {
4
- title: string;
5
- component: Record<keyof typeof Link, unknown>;
6
- args: {
7
- default: string;
8
- };
9
- };
10
- type Story = StoryObj<typeof Link>;
1
+ import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
+ import ActionLink from "./Link.vue";
3
+ declare const meta: Meta<typeof ActionLink>;
4
+ type Story = StoryObj<typeof meta>;
11
5
  export declare const Sample: Story;
12
6
  export default meta;
@@ -1,19 +1,15 @@
1
1
  import type { iUseModifiersProps, iUseStateProps, iUseThemeProps, iActionProps, iUseThemeTooltipProps } from "../../types/props";
2
2
  interface iActionLinkProps extends iActionProps, iUseModifiersProps, iUseStateProps, iUseThemeProps, iUseThemeTooltipProps {
3
3
  }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
4
+ declare var __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
11
7
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import("vue").DefineComponent<iActionLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
8
+ declare const __VLS_base: import("vue").DefineComponent<iActionLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
15
11
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
17
13
  new (): {
18
14
  $slots: S;
19
15
  };
@@ -1,17 +1,13 @@
1
1
  import type { iActionProps } from "../../types/props";
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
2
+ declare var __VLS_8: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_8) => any;
9
5
  };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import("vue").DefineComponent<iActionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
+ declare const __VLS_base: import("vue").DefineComponent<iActionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iActionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
+ declare const _default: typeof __VLS_export;
13
9
  export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
10
+ type __VLS_WithSlots<T, S> = T & {
15
11
  new (): {
16
12
  $slots: S;
17
13
  };
@@ -20,19 +20,15 @@ interface iBaseBoxProps extends iUseModifiersProps, iUseStateProps, iUseThemePro
20
20
  */
21
21
  square?: boolean;
22
22
  }
23
- declare function __VLS_template(): {
24
- attrs: Partial<{}>;
25
- slots: {
26
- default?(_: {}): any;
27
- };
28
- refs: {};
29
- rootEl: any;
23
+ declare var __VLS_8: {};
24
+ type __VLS_Slots = {} & {
25
+ default?: (props: typeof __VLS_8) => any;
30
26
  };
31
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
32
- declare const __VLS_component: import("vue").DefineComponent<iBaseBoxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iBaseBoxProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ declare const __VLS_base: import("vue").DefineComponent<iBaseBoxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iBaseBoxProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
34
30
  export default _default;
35
- type __VLS_WithTemplateSlots<T, S> = T & {
31
+ type __VLS_WithSlots<T, S> = T & {
36
32
  new (): {
37
33
  $slots: S;
38
34
  };
@@ -1,17 +1,14 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- fallback?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
1
+ declare var __VLS_1: {}, __VLS_3: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ fallback?: (props: typeof __VLS_3) => any;
9
6
  };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
7
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
13
10
  export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
11
+ type __VLS_WithSlots<T, S> = T & {
15
12
  new (): {
16
13
  $slots: S;
17
14
  };
@@ -7,22 +7,19 @@ interface iErrorBoundaryProps extends iUseThemeProps {
7
7
  at?: string;
8
8
  errorMessage?: string;
9
9
  }
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- fallback?(_: {
14
- errors: any;
15
- }): any;
16
- default?(_: {}): any;
17
- };
18
- refs: {};
19
- rootEl: any;
10
+ declare var __VLS_1: {
11
+ errors: any;
12
+ }, __VLS_9: {};
13
+ type __VLS_Slots = {} & {
14
+ fallback?: (props: typeof __VLS_1) => any;
15
+ } & {
16
+ default?: (props: typeof __VLS_9) => any;
20
17
  };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import("vue").DefineComponent<iErrorBoundaryProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iErrorBoundaryProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ declare const __VLS_base: import("vue").DefineComponent<iErrorBoundaryProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iErrorBoundaryProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
24
21
  export default _default;
25
- type __VLS_WithTemplateSlots<T, S> = T & {
22
+ type __VLS_WithSlots<T, S> = T & {
26
23
  new (): {
27
24
  $slots: S;
28
25
  };
@@ -12,7 +12,7 @@ type __VLS_Props = {
12
12
  */
13
13
  placeholder?: string;
14
14
  };
15
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
16
  error: (...args: any[]) => void;
17
17
  load: (...args: any[]) => void;
18
18
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -21,4 +21,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
21
21
  }>, {
22
22
  loading: "eager" | "lazy";
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: typeof __VLS_export;
24
25
  export default _default;
@@ -6,29 +6,25 @@ interface iBaseInputProps extends iInputProps {
6
6
  */
7
7
  modelValue?: unknown;
8
8
  }
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- default?(_: {
13
- id: string;
14
- name: string | undefined;
15
- modelValue: unknown;
16
- }): any;
17
- };
18
- refs: {};
19
- rootEl: any;
9
+ declare var __VLS_9: {
10
+ id: string;
11
+ name: string | undefined;
12
+ modelValue: unknown;
13
+ };
14
+ type __VLS_Slots = {} & {
15
+ default?: (props: typeof __VLS_9) => any;
20
16
  };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import("vue").DefineComponent<iBaseInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare const __VLS_base: import("vue").DefineComponent<iBaseInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
18
  "update:model-value": (...args: any[]) => void;
24
19
  change: (...args: any[]) => void;
25
20
  }, string, import("vue").PublicProps, Readonly<iBaseInputProps> & Readonly<{
26
21
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
27
22
  onChange?: ((...args: any[]) => any) | undefined;
28
23
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
30
26
  export default _default;
31
- type __VLS_WithTemplateSlots<T, S> = T & {
27
+ type __VLS_WithSlots<T, S> = T & {
32
28
  new (): {
33
29
  $slots: S;
34
30
  };
@@ -6,9 +6,10 @@ interface iBaseSelectProps extends iSelectProps {
6
6
  */
7
7
  modelValue?: string | number;
8
8
  }
9
- declare const _default: import("vue").DefineComponent<iBaseSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ declare const __VLS_export: import("vue").DefineComponent<iBaseSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  "update:model-value": (...args: any[]) => void;
11
11
  }, string, import("vue").PublicProps, Readonly<iBaseSelectProps> & Readonly<{
12
12
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
13
13
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
@@ -6,23 +6,19 @@ type __VLS_Props = {
6
6
  /** Component or tag to render as wrapper */
7
7
  wrapper?: vComponent | typeof Teleport | string;
8
8
  };
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: Readonly<{
12
- default(v: Record<string, any>): void;
13
- }> & {
14
- default(v: Record<string, any>): void;
15
- };
16
- refs: {};
17
- rootEl: any;
9
+ /**
10
+ * TODO: improve type safety for scoped slots in wrapper
11
+ */
12
+ type __VLS_Slots = {
13
+ default(v: Record<string, any>): void;
18
14
  };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
16
  wrapper: vComponent | typeof Teleport | string;
22
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
24
20
  export default _default;
25
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
26
22
  new (): {
27
23
  $slots: S;
28
24
  };
@@ -1,13 +1,6 @@
1
- import type { StoryObj } from "@storybook/vue3";
2
- import Action from "./Action.vue";
3
- declare const meta: {
4
- title: string;
5
- component: Record<keyof typeof Action, unknown>;
6
- args: {
7
- label: string;
8
- icon: "cubes";
9
- };
10
- };
11
- type Story = StoryObj<typeof Action>;
1
+ import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
+ import BoxAction from "./Action.vue";
3
+ declare const meta: Meta<typeof BoxAction>;
4
+ type Story = StoryObj<typeof meta>;
12
5
  export declare const Sample: Story;
13
6
  export default meta;
@@ -25,5 +25,6 @@ interface iBoxActionProps extends iActionProps, iUseModifiersProps, iUseStatePro
25
25
  */
26
26
  imagePlaceholder?: string;
27
27
  }
28
- declare const _default: import("vue").DefineComponent<iBoxActionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iBoxActionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: import("vue").DefineComponent<iBoxActionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iBoxActionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: typeof __VLS_export;
29
30
  export default _default;
@@ -1,12 +1,6 @@
1
- import type { StoryObj } from "@storybook/vue3";
2
- import Message from "./Message.vue";
3
- declare const meta: {
4
- title: string;
5
- component: Record<keyof typeof Message, unknown>;
6
- args: {
7
- text: string;
8
- };
9
- };
10
- type Story = StoryObj<typeof Message>;
1
+ import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
+ import BoxMessage from "./Message.vue";
3
+ declare const meta: Meta<typeof BoxMessage>;
4
+ type Story = StoryObj<typeof meta>;
11
5
  export declare const Sample: Story;
12
6
  export default meta;
@@ -5,19 +5,15 @@ interface iBoxMessageProps extends iActionProps, iUseModifiersProps, iUseStatePr
5
5
  */
6
6
  text?: string;
7
7
  }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- default?(_: {}): any;
12
- };
13
- refs: {};
14
- rootEl: any;
8
+ declare var __VLS_7: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_7) => any;
15
11
  };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: import("vue").DefineComponent<iBoxMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iBoxMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ declare const __VLS_base: import("vue").DefineComponent<iBoxMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<iBoxMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
19
15
  export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
16
+ type __VLS_WithSlots<T, S> = T & {
21
17
  new (): {
22
18
  $slots: S;
23
19
  };