vlite3 1.5.27 → 1.5.28

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 (101) hide show
  1. package/components/Accordion/Accordion.vue.d.ts +8 -1
  2. package/components/Accordion/AccordionContent.vue.d.ts +8 -2
  3. package/components/Accordion/AccordionContent.vue.js +2 -2
  4. package/components/Accordion/AccordionContent2.vue.js +28 -40
  5. package/components/Accordion/AccordionItem.vue.d.ts +8 -1
  6. package/components/Accordion/AccordionItem.vue.js +86 -70
  7. package/components/Accordion/AccordionTrigger.vue.js +13 -12
  8. package/components/Badge.vue.d.ts +1 -1
  9. package/components/Beacon.vue.d.ts +1 -1
  10. package/components/Breadcrumb/Breadcrumb.vue.d.ts +1 -1
  11. package/components/Breadcrumb/BreadcrumbItem.vue.d.ts +1 -1
  12. package/components/Button.vue.d.ts +1 -1
  13. package/components/Button.vue.js +2 -2
  14. package/components/Button2.vue.js +1 -1
  15. package/components/Carousel/Carousel.vue.d.ts +4 -4
  16. package/components/CategoryManager/CategoryManager2.vue.js +3 -3
  17. package/components/Chart/CircleChart.vue.d.ts +1 -1
  18. package/components/Chart/GaugeChart.vue.d.ts +1 -1
  19. package/components/Chart/SpeedometerChart.vue.d.ts +1 -1
  20. package/components/Chip/Chip.vue.d.ts +1 -1
  21. package/components/ChoiceBox/ChoiceBox.vue.d.ts +1 -1
  22. package/components/Clipboard.vue.d.ts +1 -1
  23. package/components/ColorPicker/ColorPicker.vue.d.ts +1 -1
  24. package/components/DataList/DataList.vue.d.ts +1 -1
  25. package/components/DataTable/DataTable.vue.d.ts +1 -1
  26. package/components/DataTable/DataTable.vue.js +2 -2
  27. package/components/DataTable/DataTable2.vue.js +48 -50
  28. package/components/Dropdown/DropdownMenu.vue.js +1 -1
  29. package/components/EditableTitle/EditableTitle.vue.d.ts +11 -11
  30. package/components/Empty/Empty.vue.d.ts +11 -2
  31. package/components/Empty/Empty.vue.js +57 -49
  32. package/components/Empty/index.d.ts +1 -1
  33. package/components/Empty/types.d.ts +13 -0
  34. package/components/Empty/types.js +8 -0
  35. package/components/Empty/variants/Variant1.vue.d.ts +4 -6
  36. package/components/Empty/variants/Variant1.vue.js +56 -20
  37. package/components/Empty/variants/Variant10.vue.d.ts +4 -6
  38. package/components/Empty/variants/Variant10.vue.js +68 -26
  39. package/components/Empty/variants/Variant11.vue.d.ts +4 -6
  40. package/components/Empty/variants/Variant11.vue.js +66 -18
  41. package/components/Empty/variants/Variant12.vue.d.ts +4 -6
  42. package/components/Empty/variants/Variant12.vue.js +67 -25
  43. package/components/Empty/variants/Variant2.vue.d.ts +4 -6
  44. package/components/Empty/variants/Variant2.vue.js +56 -20
  45. package/components/Empty/variants/Variant3.vue.d.ts +4 -6
  46. package/components/Empty/variants/Variant3.vue.js +41 -13
  47. package/components/Empty/variants/Variant4.vue.d.ts +4 -6
  48. package/components/Empty/variants/Variant4.vue.js +65 -21
  49. package/components/Empty/variants/Variant5.vue.d.ts +4 -6
  50. package/components/Empty/variants/Variant5.vue.js +55 -17
  51. package/components/Empty/variants/Variant6.vue.d.ts +4 -6
  52. package/components/Empty/variants/Variant6.vue.js +67 -23
  53. package/components/Empty/variants/Variant7.vue.d.ts +4 -6
  54. package/components/Empty/variants/Variant7.vue.js +81 -25
  55. package/components/Empty/variants/Variant8.vue.d.ts +4 -6
  56. package/components/Empty/variants/Variant8.vue.js +59 -23
  57. package/components/Empty/variants/Variant9.vue.d.ts +4 -6
  58. package/components/Empty/variants/Variant9.vue.js +64 -20
  59. package/components/FilePicker/index.vue.d.ts +1 -1
  60. package/components/FileTree/FileTree.vue.d.ts +2 -0
  61. package/components/FileTree/FileTree.vue.js +4 -4
  62. package/components/FileTree/FileTree2.vue.js +72 -66
  63. package/components/FileTree/FileTreeNode.vue.d.ts +9 -0
  64. package/components/FileTree/FileTreeNode.vue.js +100 -92
  65. package/components/FileTree/types.d.ts +12 -0
  66. package/components/Form/{AccordionView.vue.js → AccordionView2.vue.js} +1 -1
  67. package/components/Form/Form.vue.d.ts +1 -1
  68. package/components/Form/FormField.vue.d.ts +1 -1
  69. package/components/Form/FormFields.vue.d.ts +1 -1
  70. package/components/Form/TableView.vue.d.ts +1 -1
  71. package/components/Form/index.vue.d.ts +1 -1
  72. package/components/Form/index2.vue.js +1 -1
  73. package/components/GoogleLogin.vue.d.ts +1 -1
  74. package/components/Input.vue.d.ts +1 -1
  75. package/components/Input.vue.js +2 -4
  76. package/components/MultiSelect/MultiSelect.vue.d.ts +1 -1
  77. package/components/Navbar/NavbarTabs.vue.d.ts +1 -1
  78. package/components/NumberInput.vue.d.ts +1 -1
  79. package/components/OTPInput/OTPInput.vue.d.ts +1 -1
  80. package/components/ProgressBar/ProgressBar.vue.d.ts +1 -1
  81. package/components/RichTextEditor/RichTextEditor.vue.js +4 -4
  82. package/components/RichTextEditor/RichTextLinkPopover3.vue.js +2 -2
  83. package/components/RichTextEditor/RichTextToolbar3.vue.js +2 -2
  84. package/components/Screen/ScreenFilter.vue.js +3 -3
  85. package/components/Screen/components/ScreenEmptyState.vue.js +12 -12
  86. package/components/Slider.vue.d.ts +1 -1
  87. package/components/Spinner/Spinner.vue.d.ts +1 -1
  88. package/components/Switch.vue.d.ts +1 -1
  89. package/components/Tabes/Tabes.vue.d.ts +1 -1
  90. package/components/TagInput/TagInput.vue.d.ts +6 -6
  91. package/components/Tooltip.vue.d.ts +1 -1
  92. package/core/config.d.ts +2 -2
  93. package/docs/components/accordion.md +35 -0
  94. package/docs/components/empty.md +38 -4
  95. package/docs/components/file-tree.md +67 -16
  96. package/docs-manifest.json +5 -5
  97. package/package.json +1 -1
  98. package/style.css +1 -1
  99. /package/components/Dropdown/{DropdownMenu3.vue.js → DropdownMenu2.vue.js} +0 -0
  100. /package/components/RichTextEditor/{RichTextLinkPopover2.vue.js → RichTextLinkPopover.vue.js} +0 -0
  101. /package/components/RichTextEditor/{RichTextToolbar2.vue.js → RichTextToolbar.vue.js} +0 -0
@@ -8,10 +8,17 @@ declare function __VLS_template(): {
8
8
  open: boolean;
9
9
  toggle: () => void;
10
10
  triggerClass: string;
11
+ triggerId: string;
12
+ contentId: string;
13
+ triggerAttrs: {
14
+ 'aria-expanded': boolean;
15
+ 'aria-controls': string;
16
+ };
11
17
  }): any;
12
18
  content?(_: {
13
19
  close: (id: string) => void;
14
20
  item: import('./types').AccordionItemSchema;
21
+ contentId: string;
15
22
  }): any;
16
23
  };
17
24
  refs: {};
@@ -26,8 +33,8 @@ declare const __VLS_component: import('vue').DefineComponent<AccordionProps, {},
26
33
  "onUpdate:modelValue"?: (value: string | string[]) => any;
27
34
  }>, {
28
35
  class: string;
29
- variant: import('./types').AccordionVariant;
30
36
  size: import('./types').AccordionSize;
37
+ variant: import('./types').AccordionVariant;
31
38
  disabled: boolean;
32
39
  showIndex: boolean;
33
40
  iconVariant: import('./types').IconVariant;
@@ -1,5 +1,10 @@
1
1
  interface Props {
2
2
  class?: string;
3
+ /**
4
+ * Visual expand/collapse only. Body content is always rendered (including
5
+ * SSR) so collapsed FAQ/informational copy stays in the document.
6
+ */
7
+ open?: boolean;
3
8
  }
4
9
  declare function __VLS_template(): {
5
10
  attrs: Partial<{}>;
@@ -7,12 +12,13 @@ declare function __VLS_template(): {
7
12
  default?(_: {}): any;
8
13
  };
9
14
  refs: {};
10
- rootEl: any;
15
+ rootEl: HTMLDivElement;
11
16
  };
12
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
18
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
14
19
  class: string;
15
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ open: boolean;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
16
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
23
  export default _default;
18
24
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import o from "./AccordionContent2.vue.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-294955b5"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ceb7393"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,47 +1,35 @@
1
- import { defineComponent as d, openBlock as h, createBlock as f, Transition as m, withCtx as p, createElementVNode as n, normalizeClass as u, renderSlot as v } from "vue";
2
- const _ = { class: "overflow-hidden text-sm transition-all duration-300 ease-in-out content-wrapper" }, E = /* @__PURE__ */ d({
1
+ import { defineComponent as s, openBlock as l, createElementBlock as r, normalizeStyle as d, normalizeClass as t, createElementVNode as o, renderSlot as i } from "vue";
2
+ const c = ["data-state", "inert"], p = {
3
+ class: "accordion-content-inner",
4
+ style: { "min-height": "0", overflow: "hidden" }
5
+ }, u = /* @__PURE__ */ s({
3
6
  __name: "AccordionContent",
4
7
  props: {
5
- class: { default: "" }
8
+ class: { default: "" },
9
+ open: { type: Boolean, default: !0 }
6
10
  },
7
- setup(o) {
8
- const s = o, r = (t) => {
9
- const e = t;
10
- e.style.height = "0";
11
- }, l = (t) => {
12
- const e = t;
13
- e.style.height = e.scrollHeight + "px";
14
- }, c = (t) => {
15
- const e = t;
16
- e.style.height = "auto";
17
- }, a = (t) => {
18
- const e = t;
19
- e.style.height = e.scrollHeight + "px";
20
- }, i = (t) => {
21
- const e = t;
22
- e.style.height = "0";
23
- };
24
- return (t, e) => (h(), f(m, {
25
- name: "accordion",
26
- onBeforeEnter: r,
27
- onEnter: l,
28
- onAfterEnter: c,
29
- onBeforeLeave: a,
30
- onLeave: i
31
- }, {
32
- default: p(() => [
33
- n("div", _, [
34
- n("div", {
35
- class: u(["pb-4", s.class])
36
- }, [
37
- v(t.$slots, "default", {}, void 0, !0)
38
- ], 2)
39
- ])
40
- ]),
41
- _: 3
42
- }));
11
+ setup(e) {
12
+ const n = e;
13
+ return (a, m) => (l(), r("div", {
14
+ class: t(["text-sm content-wrapper accordion-panel", { "is-open": e.open }]),
15
+ "data-state": e.open ? "open" : "closed",
16
+ inert: e.open ? void 0 : !0,
17
+ style: d({
18
+ display: "grid",
19
+ gridTemplateRows: e.open ? "1fr" : "0fr",
20
+ overflow: "hidden"
21
+ })
22
+ }, [
23
+ o("div", p, [
24
+ o("div", {
25
+ class: t(["pb-4", n.class])
26
+ }, [
27
+ i(a.$slots, "default", {}, void 0, !0)
28
+ ], 2)
29
+ ])
30
+ ], 14, c));
43
31
  }
44
32
  });
45
33
  export {
46
- E as default
34
+ u as default
47
35
  };
@@ -25,10 +25,17 @@ declare function __VLS_template(): {
25
25
  open: boolean;
26
26
  toggle: () => void;
27
27
  triggerClass: string;
28
+ triggerId: string;
29
+ contentId: string;
30
+ triggerAttrs: {
31
+ 'aria-expanded': boolean;
32
+ 'aria-controls': string;
33
+ };
28
34
  }): any;
29
35
  content?(_: {
30
36
  item: AccordionItemSchema;
31
37
  close: () => void;
38
+ contentId: string;
32
39
  }): any;
33
40
  };
34
41
  refs: {};
@@ -41,8 +48,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
41
48
  onToggle?: (id: string) => any;
42
49
  }>, {
43
50
  class: string;
44
- variant: AccordionVariant;
45
51
  size: AccordionSize;
52
+ variant: AccordionVariant;
46
53
  disabled: boolean;
47
54
  showIndex: boolean;
48
55
  attached: boolean;
@@ -1,11 +1,11 @@
1
- import { defineComponent as V, computed as d, markRaw as O, openBlock as c, createElementBlock as m, normalizeClass as u, renderSlot as p, createVNode as v, withCtx as x, createElementVNode as T, toDisplayString as $, createCommentVNode as h, withDirectives as A, createBlock as D, resolveDynamicComponent as P, vShow as N } from "vue";
2
- import S from "./AccordionTrigger.vue.js";
3
- import E from "./AccordionContent.vue.js";
4
- import { $t as C } from "../../utils/i18n.js";
5
- const H = { class: "font-medium" }, L = {
1
+ import { defineComponent as P, computed as s, markRaw as D, useId as N, openBlock as d, createElementBlock as g, normalizeClass as b, renderSlot as x, createBlock as h, withCtx as y, createElementVNode as E, toDisplayString as C, createCommentVNode as I, createVNode as H, resolveDynamicComponent as L } from "vue";
2
+ import M from "./AccordionTrigger.vue.js";
3
+ import S from "./AccordionContent.vue.js";
4
+ import { $t as w } from "../../utils/i18n.js";
5
+ const R = { class: "font-medium" }, j = {
6
6
  key: 0,
7
7
  class: "ml-2 text-sm text-muted-foreground font-normal"
8
- }, M = ["innerHTML"], J = /* @__PURE__ */ V({
8
+ }, q = ["innerHTML"], U = /* @__PURE__ */ P({
9
9
  __name: "AccordionItem",
10
10
  props: {
11
11
  item: {},
@@ -26,97 +26,113 @@ const H = { class: "font-medium" }, L = {
26
26
  class: { default: "" }
27
27
  },
28
28
  emits: ["toggle"],
29
- setup(e, { emit: y }) {
30
- const t = e, w = y, l = () => {
31
- t.item.disabled || t.disabled || w("toggle", t.item.id);
32
- }, I = d(() => {
33
- const { variant: n, attached: a } = t;
29
+ setup(t, { emit: k }) {
30
+ const e = t, B = k, m = () => {
31
+ e.item.disabled || e.disabled || B("toggle", e.item.id);
32
+ }, z = s(() => {
33
+ const { variant: n, attached: a } = e;
34
34
  return a ? "transition-all first:rounded-t-lg last:rounded-b-lg border-b last:border-0" : n === "solid" ? "mb-2 border rounded-lg overflow-hidden transition-all duration-200" : n === "outline" ? "border mb-2 rounded-lg overflow-hidden" : n === "separated" ? "border mb-4 rounded-lg overflow-hidden" : n === "ghost" ? "border-none bg-transparent mb-1 rounded-lg overflow-hidden" : "border-b";
35
- }), g = d(() => {
36
- const { variant: n, size: a, isOpen: r } = t, o = t.triggerClass || "", i = "transition-all duration-200 ease-in-out", s = {
35
+ }), f = s(() => {
36
+ const { variant: n, size: a, isOpen: c } = e, o = e.triggerClass || "", i = "transition-all duration-200 ease-in-out", r = {
37
37
  sm: "px-3.5 py-2.5 text-sm",
38
38
  md: "px-4 py-3 text-base",
39
39
  lg: "px-5 py-4 text-lg"
40
40
  }[a];
41
- return n === "solid" ? `${o} ${s} bg-card ${i}` : n === "ghost" ? r ? `${o} ${s} bg-muted font-medium ${i}` : `${o} ${s} hover:bg-muted/20 bg-transparent ${i}` : n === "outline" || n === "separated" ? r ? `${o} ${s} bg-muted/5 border-b border-border ${i}` : `${o} ${s} hover:bg-muted/5 bg-transparent ${i}` : !t.attached && n === "default" ? `${o} ${{
41
+ return n === "solid" ? `${o} ${r} bg-card ${i}` : n === "ghost" ? c ? `${o} ${r} bg-muted font-medium ${i}` : `${o} ${r} hover:bg-muted/20 bg-transparent ${i}` : n === "outline" || n === "separated" ? c ? `${o} ${r} bg-muted/5 border-b border-border ${i}` : `${o} ${r} hover:bg-muted/5 bg-transparent ${i}` : !e.attached && n === "default" ? `${o} ${{
42
42
  sm: "py-2 text-base",
43
43
  md: "py-3 text-base",
44
44
  lg: "py-4 text-lg"
45
- }[a]} px-0 hover:no-underline ${i}` : `${o} ${s} hover:bg-muted/5 ${i}`;
46
- }), k = d(() => {
47
- const { variant: n, size: a, attached: r } = t, o = t.contentClass || "", i = {
45
+ }[a]} px-0 hover:no-underline ${i}` : `${o} ${r} hover:bg-muted/5 ${i}`;
46
+ }), V = s(() => {
47
+ const { variant: n, size: a, attached: c } = e, o = e.contentClass || "", i = {
48
48
  sm: "px-3.5 pb-3.5 pt-2.5 text-sm",
49
49
  md: "px-4 pb-4 pt-4 text-sm",
50
50
  lg: "px-5 pb-5 pt-5 text-base"
51
51
  };
52
- return n === "solid" || n === "outline" || n === "separated" || n === "ghost" || r ? `${o} ${i[a]}` : `${o} ${{
52
+ return n === "solid" || n === "outline" || n === "separated" || n === "ghost" || c ? `${o} ${i[a]}` : `${o} ${{
53
53
  sm: "pb-3.5 pt-2.5 text-sm",
54
54
  md: "pb-4 pt-4 text-sm",
55
55
  lg: "pb-5 pt-5 text-base"
56
56
  }[a]} px-0`;
57
- }), B = d(
58
- () => t.item.titleI18n ? C(t.item.titleI18n) : t.item.title
59
- ), b = d(
60
- () => t.item.descriptionI18n ? C(t.item.descriptionI18n) : t.item.description
61
- ), f = d(
62
- () => t.item.bodyComponent ? O(t.item.bodyComponent) : null
63
- );
64
- return (n, a) => (c(), m("div", {
65
- class: u([I.value, t.class, t.itemClass])
57
+ }), A = s(
58
+ () => e.item.titleI18n ? w(e.item.titleI18n) : e.item.title
59
+ ), p = s(
60
+ () => e.item.descriptionI18n ? w(e.item.descriptionI18n) : e.item.description
61
+ ), v = s(
62
+ () => e.item.bodyComponent ? D(e.item.bodyComponent) : null
63
+ ), $ = N(), u = `vlite-accordion-trigger-${$}`, l = `vlite-accordion-content-${$}`, O = s(() => ({
64
+ "aria-expanded": e.isOpen,
65
+ "aria-controls": l
66
+ }));
67
+ return (n, a) => (d(), g("div", {
68
+ class: b([z.value, e.class, e.itemClass])
66
69
  }, [
67
- p(n.$slots, "trigger", {
68
- item: e.item,
69
- open: e.isOpen,
70
- toggle: l,
71
- triggerClass: g.value
72
- }, () => [
73
- v(S, {
74
- open: e.isOpen,
75
- size: e.size,
76
- disabled: e.item.disabled || e.disabled,
77
- icon: e.item.icon,
78
- index: e.index,
79
- "show-index": e.showIndex,
80
- "open-icon": e.openIcon,
81
- "close-icon": e.closeIcon,
82
- "icon-variant": e.iconVariant,
83
- "active-icon-variant": e.activeIconVariant,
84
- class: u(g.value),
85
- onClick: l
86
- }, {
87
- default: x(() => [
88
- T("span", H, $(B.value), 1),
89
- b.value ? (c(), m("span", L, $(b.value), 1)) : h("", !0)
90
- ]),
91
- _: 1
92
- }, 8, ["open", "size", "disabled", "icon", "index", "show-index", "open-icon", "close-icon", "icon-variant", "active-icon-variant", "class"])
93
- ]),
94
- A(v(E, {
95
- class: u(k.value)
70
+ n.$slots.trigger ? (d(), g("div", {
71
+ key: 0,
72
+ id: u,
73
+ class: "w-full min-w-0"
74
+ }, [
75
+ x(n.$slots, "trigger", {
76
+ item: t.item,
77
+ open: t.isOpen,
78
+ toggle: m,
79
+ triggerClass: f.value,
80
+ triggerId: u,
81
+ contentId: l,
82
+ triggerAttrs: O.value
83
+ })
84
+ ])) : (d(), h(M, {
85
+ key: 1,
86
+ id: u,
87
+ open: t.isOpen,
88
+ size: t.size,
89
+ disabled: t.item.disabled || t.disabled,
90
+ icon: t.item.icon,
91
+ index: t.index,
92
+ "show-index": t.showIndex,
93
+ "open-icon": t.openIcon,
94
+ "close-icon": t.closeIcon,
95
+ "icon-variant": t.iconVariant,
96
+ "active-icon-variant": t.activeIconVariant,
97
+ class: b(f.value),
98
+ "aria-controls": l,
99
+ onClick: m
96
100
  }, {
97
- default: x(() => [
98
- p(n.$slots, "content", {
99
- item: e.item,
100
- close: l
101
+ default: y(() => [
102
+ E("span", R, C(A.value), 1),
103
+ p.value ? (d(), g("span", j, C(p.value), 1)) : I("", !0)
104
+ ]),
105
+ _: 1
106
+ }, 8, ["open", "size", "disabled", "icon", "index", "show-index", "open-icon", "close-icon", "icon-variant", "active-icon-variant", "class"])),
107
+ H(S, {
108
+ id: l,
109
+ open: t.isOpen,
110
+ role: "region",
111
+ "aria-labelledby": u,
112
+ class: b(V.value)
113
+ }, {
114
+ default: y(() => [
115
+ x(n.$slots, "content", {
116
+ item: t.item,
117
+ close: m,
118
+ contentId: l
101
119
  }, () => [
102
- f.value ? (c(), D(P(f.value), {
120
+ v.value ? (d(), h(L(v.value), {
103
121
  key: 0,
104
- item: e.item,
105
- close: l
106
- }, null, 8, ["item"])) : e.item.content ? (c(), m("div", {
122
+ item: t.item,
123
+ close: m
124
+ }, null, 8, ["item"])) : t.item.content ? (d(), g("div", {
107
125
  key: 1,
108
126
  class: "text-muted-foreground leading-relaxed",
109
- innerHTML: e.item.content
110
- }, null, 8, M)) : h("", !0)
127
+ innerHTML: t.item.content
128
+ }, null, 8, q)) : I("", !0)
111
129
  ])
112
130
  ]),
113
131
  _: 3
114
- }, 8, ["class"]), [
115
- [N, e.isOpen]
116
- ])
132
+ }, 8, ["open", "class"])
117
133
  ], 2));
118
134
  }
119
135
  });
120
136
  export {
121
- J as default
137
+ U as default
122
138
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as w, computed as o, openBlock as r, createElementBlock as a, normalizeClass as s, createElementVNode as m, toDisplayString as z, createCommentVNode as c, createBlock as C, renderSlot as p, createVNode as V } from "vue";
1
+ import { defineComponent as w, computed as o, openBlock as r, createElementBlock as a, normalizeClass as s, createElementVNode as m, toDisplayString as z, createCommentVNode as l, createBlock as C, renderSlot as p, createVNode as V } from "vue";
2
2
  import g from "../Icon.vue.js";
3
- const $ = ["data-state", "disabled"], B = { class: "flex flex-col" }, N = /* @__PURE__ */ w({
3
+ const B = ["aria-expanded", "data-state", "disabled"], $ = { class: "flex flex-col" }, N = /* @__PURE__ */ w({
4
4
  __name: "AccordionTrigger",
5
5
  props: {
6
6
  class: { default: "" },
@@ -17,10 +17,10 @@ const $ = ["data-state", "disabled"], B = { class: "flex flex-col" }, N = /* @__
17
17
  chevron: { type: Boolean, default: !0 }
18
18
  },
19
19
  emits: ["click"],
20
- setup(t, { emit: v }) {
21
- const e = t, x = v, h = (n) => {
22
- e.disabled || x("click", n);
23
- }, b = o(() => e.open && e.openIcon ? e.openIcon : !e.open && e.closeIcon ? e.closeIcon : "lucide:chevron-down"), l = o(() => e.openIcon && e.closeIcon ? "" : e.open ? "rotate-180" : ""), i = o(() => e.open && e.activeIconVariant ? e.activeIconVariant : e.iconVariant), y = o(() => {
20
+ setup(t, { emit: x }) {
21
+ const e = t, v = x, h = (n) => {
22
+ e.disabled || v("click", n);
23
+ }, b = o(() => e.open && e.openIcon ? e.openIcon : !e.open && e.closeIcon ? e.closeIcon : "lucide:chevron-down"), c = o(() => e.openIcon && e.closeIcon ? "" : e.open ? "rotate-180" : ""), i = o(() => e.open && e.activeIconVariant ? e.activeIconVariant : e.iconVariant), y = o(() => {
24
24
  const n = "flex items-center justify-center shrink-0 transition-all duration-300", d = {
25
25
  sm: "h-6.5 w-6.5",
26
26
  md: "h-8 w-8",
@@ -32,7 +32,7 @@ const $ = ["data-state", "disabled"], B = { class: "flex flex-col" }, N = /* @__
32
32
  primary: "text-primary-dark bg-primary-light",
33
33
  ghost: "text-muted-foreground hover:bg-accent bg-transparent"
34
34
  }, k = f[i.value] || f.simple;
35
- return i.value === "simple" ? `text-muted-foreground group-hover:text-foreground ${l.value}` : `${n} ${d[e.size]} rounded-full ${k} ${l.value}`;
35
+ return i.value === "simple" ? `text-muted-foreground group-hover:text-foreground ${c.value}` : `${n} ${d[e.size]} rounded-full ${k} ${c.value}`;
36
36
  }), u = o(() => ({
37
37
  sm: "h-3.5 w-3.5",
38
38
  md: "h-4 w-4",
@@ -45,6 +45,7 @@ const $ = ["data-state", "disabled"], B = { class: "flex flex-col" }, N = /* @__
45
45
  return (n, d) => (r(), a("button", {
46
46
  type: "button",
47
47
  class: s(["group flex flex-1 w-full items-center justify-between text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2", [e.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer", e.class]]),
48
+ "aria-expanded": !!e.open,
48
49
  "data-state": e.open ? "open" : "closed",
49
50
  disabled: e.disabled,
50
51
  onClick: h
@@ -58,7 +59,7 @@ const $ = ["data-state", "disabled"], B = { class: "flex flex-col" }, N = /* @__
58
59
  "flex items-center justify-center rounded-full bg-primary-light text-primary font-bold shrink-0",
59
60
  I.value
60
61
  ])
61
- }, z(t.index), 3)) : c("", !0),
62
+ }, z(t.index), 3)) : l("", !0),
62
63
  t.icon ? (r(), C(g, {
63
64
  key: 1,
64
65
  icon: t.icon,
@@ -66,8 +67,8 @@ const $ = ["data-state", "disabled"], B = { class: "flex flex-col" }, N = /* @__
66
67
  "shrink-0 text-muted-foreground group-hover:text-foreground transition-colors",
67
68
  u.value
68
69
  ])
69
- }, null, 8, ["icon", "class"])) : c("", !0),
70
- m("div", B, [
70
+ }, null, 8, ["icon", "class"])) : l("", !0),
71
+ m("div", $, [
71
72
  p(n.$slots, "default")
72
73
  ])
73
74
  ], 2),
@@ -84,9 +85,9 @@ const $ = ["data-state", "disabled"], B = { class: "flex flex-col" }, N = /* @__
84
85
  i.value !== "simple" ? "rotate-0" : ""
85
86
  ])
86
87
  }, null, 8, ["icon", "class"])
87
- ], 2)) : c("", !0)
88
+ ], 2)) : l("", !0)
88
89
  ])
89
- ], 10, $));
90
+ ], 10, B));
90
91
  }
91
92
  });
92
93
  export {
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
18
18
  class: any;
19
- variant: BadgeVariant | string;
20
19
  size: "xs" | "sm" | "md" | "lg";
20
+ variant: BadgeVariant | string;
21
21
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "full" | string;
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
23
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -7,7 +7,7 @@ interface Props {
7
7
  }
8
8
  declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
9
9
  class: any;
10
- variant: BeaconVariant | string;
11
10
  size: BeaconSize | string;
11
+ variant: BeaconVariant | string;
12
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
13
13
  export default _default;
@@ -20,8 +20,8 @@ declare const __VLS_component: import('vue').DefineComponent<BreadcrumbProps, {}
20
20
  }) => any;
21
21
  }>, {
22
22
  class: string;
23
- variant: BreadcrumbVariant;
24
23
  size: BreadcrumbSize;
24
+ variant: BreadcrumbVariant;
25
25
  separator: BreadcrumbSeparator;
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
27
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -25,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
25
25
  index: number;
26
26
  }) => any;
27
27
  }>, {
28
- variant: string;
29
28
  size: BreadcrumbSize;
29
+ variant: string;
30
30
  isCurrent: boolean;
31
31
  itemIndex: number;
32
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
@@ -17,8 +17,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import('vue').DefineComponent<LocalButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LocalButtonProps> & Readonly<{}>, {
18
18
  type: "button" | "submit" | "reset";
19
19
  class: any;
20
- variant: ButtonVariant;
21
20
  size: ButtonSize;
21
+ variant: ButtonVariant;
22
22
  rounded: ButtonRounded;
23
23
  loading: boolean;
24
24
  dir: import('../types').ButtonDirection;
@@ -1,7 +1,7 @@
1
1
  import o from "./Button2.vue.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8c0db2af"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-62f4c238"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -94,7 +94,7 @@ const P = ["type", "dir", "disabled", "data-testid"], Q = {
94
94
  link: "text-primary underline-offset-4 hover:underline",
95
95
  transparent: ""
96
96
  }, d = {
97
- xs: e.description ? "h-auto py-1.5 px-2" : "h-6.5 px-2",
97
+ xs: e.description ? "h-auto py-1.5 px-2" : "h-6.5 px-2.5",
98
98
  sm: e.description ? "h-auto py-2 px-3" : "h-7.5 px-3",
99
99
  sm2: e.description ? "h-auto py-2 px-3" : "h-8 px-3",
100
100
  md: e.description ? "h-auto py-2.5 px-4" : "h-9 px-4 py-2",
@@ -123,7 +123,7 @@ declare function __VLS_template(): {
123
123
  type: import('vue').PropType<boolean>;
124
124
  };
125
125
  paginationSize: {
126
- type: import('vue').PropType<"sm" | "md" | "lg" | "xl" | "xs">;
126
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl">;
127
127
  default: string;
128
128
  };
129
129
  itemsToShow: {
@@ -304,7 +304,7 @@ declare function __VLS_template(): {
304
304
  type: import('vue').PropType<boolean>;
305
305
  };
306
306
  paginationSize: {
307
- type: import('vue').PropType<"sm" | "md" | "lg" | "xl" | "xs">;
307
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl">;
308
308
  default: string;
309
309
  };
310
310
  itemsToShow: {
@@ -538,7 +538,7 @@ declare const __VLS_component: import('vue').DefineComponent<CarouselProps, {
538
538
  type: import('vue').PropType<boolean>;
539
539
  };
540
540
  paginationSize: {
541
- type: import('vue').PropType<"sm" | "md" | "lg" | "xl" | "xs">;
541
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl">;
542
542
  default: string;
543
543
  };
544
544
  itemsToShow: {
@@ -719,7 +719,7 @@ declare const __VLS_component: import('vue').DefineComponent<CarouselProps, {
719
719
  type: import('vue').PropType<boolean>;
720
720
  };
721
721
  paginationSize: {
722
- type: import('vue').PropType<"sm" | "md" | "lg" | "xl" | "xs">;
722
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl">;
723
723
  default: string;
724
724
  };
725
725
  itemsToShow: {
@@ -22,11 +22,11 @@ import "@vueuse/core";
22
22
  /* empty css */
23
23
  import qe from "../IconPicker.vue.js";
24
24
  /* empty css */
25
- /* empty css */
25
+ /* empty css */
26
26
  /* empty css */
27
27
  /* empty css */
28
- /* empty css */
29
- /* empty css */
28
+ /* empty css */
29
+ /* empty css */
30
30
  import "../../core/config.js";
31
31
  /* empty css */
32
32
  /* empty css */
@@ -31,8 +31,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
31
  declare const __VLS_component: import('vue').DefineComponent<CircleChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CircleChartProps> & Readonly<{}>, {
32
32
  animate: boolean;
33
33
  color: ChartColor;
34
- strokeWidth: number;
35
34
  size: number;
35
+ strokeWidth: number;
36
36
  gradient: boolean;
37
37
  max: number;
38
38
  showValue: boolean;
@@ -97,9 +97,9 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
97
97
  declare const __VLS_component: import('vue').DefineComponent<GaugeChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GaugeChartProps> & Readonly<{}>, {
98
98
  animate: boolean;
99
99
  color: string;
100
+ size: number;
100
101
  strokeWidth: number;
101
102
  variant: GaugeVariant;
102
- size: number;
103
103
  gradient: boolean;
104
104
  min: number;
105
105
  max: number;
@@ -41,8 +41,8 @@ export interface SpeedometerChartProps {
41
41
  declare const _default: import('vue').DefineComponent<SpeedometerChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpeedometerChartProps> & Readonly<{}>, {
42
42
  animate: boolean;
43
43
  color: string;
44
- variant: SpeedometerVariant;
45
44
  size: number;
45
+ variant: SpeedometerVariant;
46
46
  unit: string;
47
47
  min: number;
48
48
  max: number;
@@ -21,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<ExtendedProps, {},
21
21
  }>, {
22
22
  text: string;
23
23
  class: string;
24
- variant: ChipVariant | string;
25
24
  size: import('./types').ChipSize;
25
+ variant: ChipVariant | string;
26
26
  disabled: boolean;
27
27
  appearance: import('./types').ChipAppearance;
28
28
  clickable: boolean;
@@ -62,9 +62,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
62
62
  onChange?: (value: string | number | (string | number)[]) => any;
63
63
  "onUpdate:modelValue"?: (value: string | number | (string | number)[]) => any;
64
64
  }>, {
65
+ size: ChoiceBoxSize;
65
66
  grid: number;
66
67
  variant: ChoiceBoxVariant;
67
- size: ChoiceBoxSize;
68
68
  disabled: boolean;
69
69
  multiple: boolean;
70
70
  modelValue: string | number | (string | number)[] | null;