@brumaombra/ui-vintage 0.1.0 → 0.2.0

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 (116) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +75 -78
  3. package/dist/{AlertDialogTitle.vue_vue_type_script_setup_true_lang-CWCr2erD.js → AlertDialogTitle.vue_vue_type_script_setup_true_lang-Ca0g2mVz.js} +8 -8
  4. package/dist/{Busy-B65Nd9ec.js → Busy-DSyPtpVD.js} +1 -1
  5. package/dist/BusyIndicator-D-4YHN2L.js +4 -0
  6. package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-C-WnFnvj.js → CalendarPrevButton.vue_vue_type_script_setup_true_lang-Dqz6DIGp.js} +22 -22
  7. package/dist/{Collection-CmOoLBo7.js → Collection-Coi6nyvb.js} +1 -1
  8. package/dist/ConfirmDialog-Zu4m9TY-.js +4 -0
  9. package/dist/{DialogClose-BNlqG4G2.js → DialogClose-DDtZ0Em0.js} +2 -2
  10. package/dist/{x-2_VzbDS9.js → DialogPortal-BTVR2QvT.js} +12 -12
  11. package/dist/{DialogTitle-DXj0nkXn.js → DialogTitle-CLuntLBB.js} +5 -5
  12. package/dist/{DialogTitle.vue_vue_type_script_setup_true_lang-Bw40D4AK.js → DialogTitle.vue_vue_type_script_setup_true_lang-83YQbiAn.js} +4 -4
  13. package/dist/{DialogTrigger-CpyKnu11.js → DialogTrigger-CjJ8QNL_.js} +3 -3
  14. package/dist/{FocusScope-C3mcVwsf.js → FocusScope-DYbCtSNc.js} +4 -4
  15. package/dist/{Input.vue_vue_type_script_setup_true_lang-U778IWa0.js → Input.vue_vue_type_script_setup_true_lang-6SfPeT8d.js} +1 -1
  16. package/dist/{Label.vue_vue_type_script_setup_true_lang-B_fwvfJ-.js → Label.vue_vue_type_script_setup_true_lang-pMIzCHzV.js} +2 -2
  17. package/dist/MessageDialog-ChS4d2qN.js +4 -0
  18. package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-DS87OTLT.js → NativeSelectOption.vue_vue_type_script_setup_true_lang-CWhL2Lw8.js} +2 -2
  19. package/dist/{PopoverTrigger.vue_vue_type_script_setup_true_lang-KTcg6Jnl.js → PopoverTrigger.vue_vue_type_script_setup_true_lang-DFZJvU_P.js} +9 -9
  20. package/dist/{PopperContent-BiM0YLO3.js → PopperContent-h-thLTz8.js} +3 -3
  21. package/dist/{Separator.vue_vue_type_script_setup_true_lang-COrZ60NR.js → Separator.vue_vue_type_script_setup_true_lang-CMRkdntA.js} +1 -1
  22. package/dist/{SheetTitle.vue_vue_type_script_setup_true_lang-DLoXGMbx.js → SheetTitle.vue_vue_type_script_setup_true_lang-fx9jbBwT.js} +4 -4
  23. package/dist/{Slider.vue_vue_type_script_setup_true_lang-D-cAN-4Q.js → Slider.vue_vue_type_script_setup_true_lang-C_CsSGAt.js} +7 -7
  24. package/dist/{Switch.vue_vue_type_script_setup_true_lang-BWKCycMm.js → Switch.vue_vue_type_script_setup_true_lang-BG6nkPSO.js} +5 -5
  25. package/dist/{Teleport-CuUn4UkG.js → Teleport-CV0tKbq5.js} +3 -3
  26. package/dist/{TooltipTrigger.vue_vue_type_script_setup_true_lang-BRyHTWgw.js → TooltipTrigger.vue_vue_type_script_setup_true_lang-DEPKysA_.js} +5 -5
  27. package/dist/{VisuallyHiddenInput-DLAsRwUw.js → VisuallyHiddenInput-1G1IEkBL.js} +1 -1
  28. package/dist/alert-dialog.js +161 -9
  29. package/dist/busy-indicator.js +64 -4
  30. package/dist/busy.js +1 -1
  31. package/dist/calendar.js +1 -1
  32. package/dist/card.js +110 -7
  33. package/dist/command.js +20 -20
  34. package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +1 -1
  35. package/dist/components/ui/button/index.d.ts +1 -1
  36. package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  37. package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  38. package/dist/confirm-dialog.js +228 -7
  39. package/dist/dashboard-shell.js +170 -3
  40. package/dist/date-picker.js +91 -3
  41. package/dist/dialog.js +140 -6
  42. package/dist/field.js +2 -2
  43. package/dist/{index-C1_fxYhb.js → index-Cq9Ekgtb.js} +2 -2
  44. package/dist/{index-Dfi5ESP2.js → index-qGMU40e1.js} +1 -1
  45. package/dist/input.js +1 -1
  46. package/dist/label.js +1 -1
  47. package/dist/message-dialog.js +240 -6
  48. package/dist/native-select.js +1 -1
  49. package/dist/popover.js +62 -5
  50. package/dist/select.js +2122 -12
  51. package/dist/separator.js +1 -1
  52. package/dist/sheet.js +61 -5
  53. package/dist/sidebar.js +6 -6
  54. package/dist/slider-form-component.js +58 -3
  55. package/dist/slider.js +1 -1
  56. package/dist/style.css +4 -4016
  57. package/dist/switch-form-component.js +38 -3
  58. package/dist/switch.js +1 -1
  59. package/dist/tooltip.js +27 -3
  60. package/dist/{useFocusGuards-tgErlvMF.js → useFocusGuards-WYWvpJy2.js} +1 -1
  61. package/dist/{useFormControl-7ytzz-r7.js → useFormControl-CyoJwp9r.js} +1 -1
  62. package/dist/{useForwardExpose-CNVHwdF2.js → useForwardExpose-BiRQH8eO.js} +1 -1
  63. package/dist/{usePrimitiveElement-CijaRBgF.js → usePrimitiveElement-Bk3ZOslv.js} +1 -1
  64. package/dist/{useSize-DO9Z3wC4.js → useSize-BLYTFgnQ.js} +1 -1
  65. package/dist/{useTypeahead-Dqe1QXq1.js → useTypeahead-KTl4-oeq.js} +2 -2
  66. package/dist/{utils-RRmyeqLm.js → utils-BXBXPGDA.js} +1 -1
  67. package/package.json +188 -186
  68. package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-vNwxOYhM.js +0 -158
  69. package/dist/BusyIndicator-CnWzSMDb.js +0 -4
  70. package/dist/BusyIndicator.vue_vue_type_script_setup_true_lang-CYeXMI_V.js +0 -66
  71. package/dist/CardTitle.vue_vue_type_script_setup_true_lang-DVAd7AWF.js +0 -112
  72. package/dist/ConfirmDialog-DEsvF0b_.js +0 -4
  73. package/dist/ConfirmDialog.vue_vue_type_script_setup_true_lang-BAd1l1zF.js +0 -230
  74. package/dist/DashboardShell.vue_vue_type_script_setup_true_lang-CT2SQBXv.js +0 -171
  75. package/dist/DatePicker.vue_vue_type_script_setup_true_lang-D8mev2ha.js +0 -92
  76. package/dist/DialogTrigger.vue_vue_type_script_setup_true_lang-DLrFiCsw.js +0 -141
  77. package/dist/MessageDialog-BrowppID.js +0 -4
  78. package/dist/MessageDialog.vue_vue_type_script_setup_true_lang-Ddih5Isd.js +0 -242
  79. package/dist/PopoverAnchor.vue_vue_type_script_setup_true_lang-CsfybvZp.js +0 -61
  80. package/dist/SelectValue.vue_vue_type_script_setup_true_lang-DGAI4hw5.js +0 -2124
  81. package/dist/SheetTrigger.vue_vue_type_script_setup_true_lang-CE2XJNHy.js +0 -62
  82. package/dist/SliderFormComponent.vue_vue_type_script_setup_true_lang-KPzC_Lmr.js +0 -59
  83. package/dist/SwitchFormComponent.vue_vue_type_script_setup_true_lang-XOBEs3pa.js +0 -39
  84. package/dist/TooltipProvider.vue_vue_type_script_setup_true_lang-DwIfCQjY.js +0 -28
  85. package/dist/alert-dialog.d.ts +0 -2
  86. package/dist/alert.d.ts +0 -2
  87. package/dist/background-grid.d.ts +0 -6
  88. package/dist/busy-indicator.d.ts +0 -2
  89. package/dist/busy.d.ts +0 -2
  90. package/dist/button.d.ts +0 -2
  91. package/dist/calendar.d.ts +0 -2
  92. package/dist/card.d.ts +0 -2
  93. package/dist/command.d.ts +0 -2
  94. package/dist/confirm-dialog.d.ts +0 -2
  95. package/dist/dashboard-shell.d.ts +0 -6
  96. package/dist/date-picker.d.ts +0 -6
  97. package/dist/dialog.d.ts +0 -2
  98. package/dist/field.d.ts +0 -2
  99. package/dist/index.d.ts +0 -28
  100. package/dist/index.js +0 -171
  101. package/dist/input.d.ts +0 -2
  102. package/dist/label.d.ts +0 -2
  103. package/dist/message-dialog.d.ts +0 -2
  104. package/dist/native-select.d.ts +0 -2
  105. package/dist/popover.d.ts +0 -2
  106. package/dist/select.d.ts +0 -2
  107. package/dist/separator.d.ts +0 -2
  108. package/dist/sheet.d.ts +0 -2
  109. package/dist/sidebar.d.ts +0 -2
  110. package/dist/skeleton.d.ts +0 -2
  111. package/dist/slider-form-component.d.ts +0 -6
  112. package/dist/slider.d.ts +0 -2
  113. package/dist/switch-form-component.d.ts +0 -6
  114. package/dist/switch.d.ts +0 -2
  115. package/dist/tooltip.d.ts +0 -2
  116. package/dist/utils.d.ts +0 -2
@@ -1,12 +1,12 @@
1
1
  import { ref, watchEffect, defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, computed, normalizeStyle, createVNode, normalizeProps, guardReactiveProps, toRefs, watch, onMounted, withModifiers, createTextVNode, toDisplayString, resolveDynamicComponent, toHandlers } from "vue";
2
2
  import { c as createContext, a as useForwardProps, u as useForwardPropsEmits } from "./useForwardPropsEmits-DmumnZO5.js";
3
- import { u as useForwardExpose } from "./useForwardExpose-CNVHwdF2.js";
3
+ import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
4
4
  import { P as Primitive } from "./Primitive-D3IcFg81.js";
5
- import { i as injectPopperContentContext, a as PopperRoot_default, b as PopperContent_default, P as PopperAnchor_default } from "./PopperContent-BiM0YLO3.js";
6
- import { d as defu, D as DismissableLayer_default, P as Presence_default, T as Teleport_default, u as useId } from "./Teleport-CuUn4UkG.js";
5
+ import { i as injectPopperContentContext, a as PopperRoot_default, b as PopperContent_default, P as PopperAnchor_default } from "./PopperContent-h-thLTz8.js";
6
+ import { d as defu, D as DismissableLayer_default, P as Presence_default, T as Teleport_default, u as useId } from "./Teleport-CV0tKbq5.js";
7
7
  import { V as VisuallyHidden_default } from "./VisuallyHidden-udQT2Fmo.js";
8
- import { u as useVModel, b as useEventListener } from "./index-C1_fxYhb.js";
9
- import { g as refAutoReset, e as tryOnScopeDispose, o as createEventHook, u as useTimeoutFn, r as reactiveOmit } from "./index-Dfi5ESP2.js";
8
+ import { u as useVModel, b as useEventListener } from "./index-Cq9Ekgtb.js";
9
+ import { g as refAutoReset, e as tryOnScopeDispose, o as createEventHook, u as useTimeoutFn, r as reactiveOmit } from "./index-qGMU40e1.js";
10
10
  import { c as cn } from "./utils-Bz4m9VPB.js";
11
11
  function useGraceArea(triggerElement, containerElement) {
12
12
  const isPointerInTransit = refAutoReset(false, 300);
@@ -1,4 +1,4 @@
1
- import { u as usePrimitiveElement } from "./usePrimitiveElement-CijaRBgF.js";
1
+ import { u as usePrimitiveElement } from "./usePrimitiveElement-Bk3ZOslv.js";
2
2
  import { V as VisuallyHidden_default } from "./VisuallyHidden-udQT2Fmo.js";
3
3
  import { defineComponent, computed, watch, openBlock, createBlock, mergeProps, createElementBlock, Fragment, createCommentVNode, renderList } from "vue";
4
4
  var VisuallyHiddenInputBubble_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
@@ -1,13 +1,165 @@
1
- import { _, a, b, c, d, e } from "./AlertDialogTitle.vue_vue_type_script_setup_true_lang-CWCr2erD.js";
2
- import { _ as _2, a as a2, b as b2 } from "./AlertDialogTrigger.vue_vue_type_script_setup_true_lang-vNwxOYhM.js";
1
+ import { i as injectAlertDialogContentContext } from "./AlertDialogTitle.vue_vue_type_script_setup_true_lang-Ca0g2mVz.js";
2
+ import { _, a, d, e, b, c } from "./AlertDialogTitle.vue_vue_type_script_setup_true_lang-Ca0g2mVz.js";
3
+ import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot, onMounted, mergeProps } from "vue";
4
+ import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
5
+ import { D as DialogClose_default } from "./DialogClose-DDtZ0Em0.js";
6
+ import { c as cn } from "./utils-Bz4m9VPB.js";
7
+ import { buttonVariants } from "./button.js";
8
+ import { r as reactiveOmit } from "./index-qGMU40e1.js";
9
+ import { D as DialogTrigger_default } from "./DialogTrigger-CjJ8QNL_.js";
10
+ var AlertDialogAction_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
11
+ __name: "AlertDialogAction",
12
+ props: {
13
+ asChild: {
14
+ type: Boolean,
15
+ required: false
16
+ },
17
+ as: {
18
+ type: null,
19
+ required: false,
20
+ default: "button"
21
+ }
22
+ },
23
+ setup(__props) {
24
+ const props = __props;
25
+ useForwardExpose();
26
+ return (_ctx, _cache) => {
27
+ return openBlock(), createBlock(unref(DialogClose_default), normalizeProps(guardReactiveProps(props)), {
28
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
29
+ _: 3
30
+ }, 16);
31
+ };
32
+ }
33
+ });
34
+ var AlertDialogAction_default = AlertDialogAction_vue_vue_type_script_setup_true_lang_default;
35
+ var AlertDialogCancel_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
36
+ __name: "AlertDialogCancel",
37
+ props: {
38
+ asChild: {
39
+ type: Boolean,
40
+ required: false
41
+ },
42
+ as: {
43
+ type: null,
44
+ required: false,
45
+ default: "button"
46
+ }
47
+ },
48
+ setup(__props) {
49
+ const props = __props;
50
+ const contentContext = injectAlertDialogContentContext();
51
+ const { forwardRef, currentElement } = useForwardExpose();
52
+ onMounted(() => {
53
+ contentContext.onCancelElementChange(currentElement.value);
54
+ });
55
+ return (_ctx, _cache) => {
56
+ return openBlock(), createBlock(unref(DialogClose_default), mergeProps(props, { ref: unref(forwardRef) }), {
57
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
58
+ _: 3
59
+ }, 16);
60
+ };
61
+ }
62
+ });
63
+ var AlertDialogCancel_default = AlertDialogCancel_vue_vue_type_script_setup_true_lang_default;
64
+ var AlertDialogTrigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
65
+ __name: "AlertDialogTrigger",
66
+ props: {
67
+ asChild: {
68
+ type: Boolean,
69
+ required: false
70
+ },
71
+ as: {
72
+ type: null,
73
+ required: false,
74
+ default: "button"
75
+ }
76
+ },
77
+ setup(__props) {
78
+ const props = __props;
79
+ useForwardExpose();
80
+ return (_ctx, _cache) => {
81
+ return openBlock(), createBlock(unref(DialogTrigger_default), normalizeProps(guardReactiveProps(props)), {
82
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
83
+ _: 3
84
+ }, 16);
85
+ };
86
+ }
87
+ });
88
+ var AlertDialogTrigger_default = AlertDialogTrigger_vue_vue_type_script_setup_true_lang_default;
89
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
90
+ __name: "AlertDialogAction",
91
+ props: {
92
+ asChild: { type: Boolean },
93
+ as: {},
94
+ class: {}
95
+ },
96
+ setup(__props) {
97
+ const props = __props;
98
+ const delegatedProps = reactiveOmit(props, "class");
99
+ return (_ctx, _cache) => {
100
+ return openBlock(), createBlock(unref(AlertDialogAction_default), mergeProps(unref(delegatedProps), {
101
+ class: unref(cn)(unref(buttonVariants)(), props.class)
102
+ }), {
103
+ default: withCtx(() => [
104
+ renderSlot(_ctx.$slots, "default")
105
+ ]),
106
+ _: 3
107
+ }, 16, ["class"]);
108
+ };
109
+ }
110
+ });
111
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
112
+ __name: "AlertDialogCancel",
113
+ props: {
114
+ asChild: { type: Boolean },
115
+ as: {},
116
+ class: {}
117
+ },
118
+ setup(__props) {
119
+ const props = __props;
120
+ const delegatedProps = reactiveOmit(props, "class");
121
+ return (_ctx, _cache) => {
122
+ return openBlock(), createBlock(unref(AlertDialogCancel_default), mergeProps(unref(delegatedProps), {
123
+ class: unref(cn)(
124
+ unref(buttonVariants)({ variant: "outline" }),
125
+ "mt-2 sm:mt-0",
126
+ props.class
127
+ )
128
+ }), {
129
+ default: withCtx(() => [
130
+ renderSlot(_ctx.$slots, "default")
131
+ ]),
132
+ _: 3
133
+ }, 16, ["class"]);
134
+ };
135
+ }
136
+ });
137
+ const _sfc_main = /* @__PURE__ */ defineComponent({
138
+ __name: "AlertDialogTrigger",
139
+ props: {
140
+ asChild: { type: Boolean },
141
+ as: {}
142
+ },
143
+ setup(__props) {
144
+ const props = __props;
145
+ return (_ctx, _cache) => {
146
+ return openBlock(), createBlock(unref(AlertDialogTrigger_default), mergeProps({ "data-slot": "alert-dialog-trigger" }, props), {
147
+ default: withCtx(() => [
148
+ renderSlot(_ctx.$slots, "default")
149
+ ]),
150
+ _: 3
151
+ }, 16);
152
+ };
153
+ }
154
+ });
3
155
  export {
4
156
  _ as AlertDialog,
5
- _2 as AlertDialogAction,
6
- a2 as AlertDialogCancel,
157
+ _sfc_main$2 as AlertDialogAction,
158
+ _sfc_main$1 as AlertDialogCancel,
7
159
  a as AlertDialogContent,
8
- b as AlertDialogDescription,
9
- c as AlertDialogFooter,
10
- d as AlertDialogHeader,
11
- e as AlertDialogTitle,
12
- b2 as AlertDialogTrigger
160
+ d as AlertDialogDescription,
161
+ e as AlertDialogFooter,
162
+ b as AlertDialogHeader,
163
+ c as AlertDialogTitle,
164
+ _sfc_main as AlertDialogTrigger
13
165
  };
@@ -1,6 +1,66 @@
1
- import { _, b, s } from "./BusyIndicator.vue_vue_type_script_setup_true_lang-CYeXMI_V.js";
1
+ import { reactive, render, h, defineComponent, openBlock, createBlock, unref, normalizeClass } from "vue";
2
+ import { B as Busy } from "./Busy-DSyPtpVD.js";
3
+ const BUSY_INDICATOR_ROOT_ID = "ui-vintage-busy-indicator-root";
4
+ let busyIndicatorMountPromise = null;
5
+ const busyIndicatorState = reactive({
6
+ show: false,
7
+ label: "Loading...",
8
+ class: void 0,
9
+ overlayClass: void 0
10
+ });
11
+ const ensureBusyIndicatorMounted = () => {
12
+ if (typeof document === "undefined") {
13
+ return Promise.resolve();
14
+ }
15
+ const existingRoot = document.getElementById(BUSY_INDICATOR_ROOT_ID);
16
+ if (existingRoot) {
17
+ return Promise.resolve();
18
+ }
19
+ if (busyIndicatorMountPromise) {
20
+ return busyIndicatorMountPromise;
21
+ }
22
+ busyIndicatorMountPromise = (async () => {
23
+ const { default: BusyIndicator } = await import("./BusyIndicator-D-4YHN2L.js");
24
+ if (document.getElementById(BUSY_INDICATOR_ROOT_ID)) {
25
+ return;
26
+ }
27
+ const container = document.createElement("div");
28
+ container.id = BUSY_INDICATOR_ROOT_ID;
29
+ document.body.appendChild(container);
30
+ render(h(BusyIndicator), container);
31
+ })().finally(() => {
32
+ busyIndicatorMountPromise = null;
33
+ });
34
+ return busyIndicatorMountPromise;
35
+ };
36
+ const setBusy = (show, options = {}) => {
37
+ if (show) {
38
+ busyIndicatorState.label = options.label ?? busyIndicatorState.label ?? "Loading...";
39
+ busyIndicatorState.class = options.class;
40
+ busyIndicatorState.overlayClass = options.overlayClass;
41
+ void ensureBusyIndicatorMounted();
42
+ }
43
+ busyIndicatorState.show = show;
44
+ if (!show) {
45
+ busyIndicatorState.class = void 0;
46
+ busyIndicatorState.overlayClass = void 0;
47
+ }
48
+ };
49
+ const _sfc_main = /* @__PURE__ */ defineComponent({
50
+ __name: "BusyIndicator",
51
+ setup(__props) {
52
+ return (_ctx, _cache) => {
53
+ return openBlock(), createBlock(unref(Busy), {
54
+ show: unref(busyIndicatorState).show,
55
+ label: unref(busyIndicatorState).label,
56
+ class: normalizeClass(unref(busyIndicatorState).class),
57
+ "overlay-class": unref(busyIndicatorState).overlayClass
58
+ }, null, 8, ["show", "label", "class", "overlay-class"]);
59
+ };
60
+ }
61
+ });
2
62
  export {
3
- _ as BusyIndicator,
4
- b as busyIndicatorState,
5
- s as setBusy
63
+ _sfc_main as BusyIndicator,
64
+ busyIndicatorState,
65
+ setBusy
6
66
  };
package/dist/busy.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B } from "./Busy-B65Nd9ec.js";
1
+ import { B } from "./Busy-DSyPtpVD.js";
2
2
  export {
3
3
  B as Busy
4
4
  };
package/dist/calendar.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _, a, b, c, d, e, f, g, h, i, j, k } from "./CalendarPrevButton.vue_vue_type_script_setup_true_lang-C-WnFnvj.js";
1
+ import { _, a, b, c, d, e, f, g, h, i, j, k } from "./CalendarPrevButton.vue_vue_type_script_setup_true_lang-Dqz6DIGp.js";
2
2
  export {
3
3
  _ as Calendar,
4
4
  a as CalendarCell,
package/dist/card.js CHANGED
@@ -1,11 +1,114 @@
1
1
  import { _ } from "./Card.vue_vue_type_script_setup_true_lang-6ol3rxy1.js";
2
- import { _ as _2, a, b, c, d, e } from "./CardTitle.vue_vue_type_script_setup_true_lang-DVAd7AWF.js";
2
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
3
+ import { c as cn } from "./utils-Bz4m9VPB.js";
4
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
5
+ __name: "CardAction",
6
+ props: {
7
+ class: {}
8
+ },
9
+ setup(__props) {
10
+ const props = __props;
11
+ return (_ctx, _cache) => {
12
+ return openBlock(), createElementBlock("div", {
13
+ "data-slot": "card-action",
14
+ class: normalizeClass(unref(cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end", props.class))
15
+ }, [
16
+ renderSlot(_ctx.$slots, "default")
17
+ ], 2);
18
+ };
19
+ }
20
+ });
21
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
22
+ __name: "CardContent",
23
+ props: {
24
+ class: {}
25
+ },
26
+ setup(__props) {
27
+ const props = __props;
28
+ return (_ctx, _cache) => {
29
+ return openBlock(), createElementBlock("div", {
30
+ "data-slot": "card-content",
31
+ class: normalizeClass(unref(cn)("px-6", props.class))
32
+ }, [
33
+ renderSlot(_ctx.$slots, "default")
34
+ ], 2);
35
+ };
36
+ }
37
+ });
38
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
39
+ __name: "CardDescription",
40
+ props: {
41
+ class: {}
42
+ },
43
+ setup(__props) {
44
+ const props = __props;
45
+ return (_ctx, _cache) => {
46
+ return openBlock(), createElementBlock("p", {
47
+ "data-slot": "card-description",
48
+ class: normalizeClass(unref(cn)("text-muted-foreground text-sm", props.class))
49
+ }, [
50
+ renderSlot(_ctx.$slots, "default")
51
+ ], 2);
52
+ };
53
+ }
54
+ });
55
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
56
+ __name: "CardFooter",
57
+ props: {
58
+ class: {}
59
+ },
60
+ setup(__props) {
61
+ const props = __props;
62
+ return (_ctx, _cache) => {
63
+ return openBlock(), createElementBlock("div", {
64
+ "data-slot": "card-footer",
65
+ class: normalizeClass(unref(cn)("flex items-center px-6 [.border-t]:pt-6", props.class))
66
+ }, [
67
+ renderSlot(_ctx.$slots, "default")
68
+ ], 2);
69
+ };
70
+ }
71
+ });
72
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73
+ __name: "CardHeader",
74
+ props: {
75
+ class: {}
76
+ },
77
+ setup(__props) {
78
+ const props = __props;
79
+ return (_ctx, _cache) => {
80
+ return openBlock(), createElementBlock("div", {
81
+ "data-slot": "card-header",
82
+ class: normalizeClass(unref(cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", props.class))
83
+ }, [
84
+ renderSlot(_ctx.$slots, "default")
85
+ ], 2);
86
+ };
87
+ }
88
+ });
89
+ const _sfc_main = /* @__PURE__ */ defineComponent({
90
+ __name: "CardTitle",
91
+ props: {
92
+ class: {}
93
+ },
94
+ setup(__props) {
95
+ const props = __props;
96
+ return (_ctx, _cache) => {
97
+ return openBlock(), createElementBlock("h3", {
98
+ "data-slot": "card-title",
99
+ class: normalizeClass(unref(cn)("leading-none font-semibold", props.class))
100
+ }, [
101
+ renderSlot(_ctx.$slots, "default")
102
+ ], 2);
103
+ };
104
+ }
105
+ });
3
106
  export {
4
107
  _ as Card,
5
- _2 as CardAction,
6
- a as CardContent,
7
- b as CardDescription,
8
- c as CardFooter,
9
- d as CardHeader,
10
- e as CardTitle
108
+ _sfc_main$5 as CardAction,
109
+ _sfc_main$4 as CardContent,
110
+ _sfc_main$3 as CardDescription,
111
+ _sfc_main$2 as CardFooter,
112
+ _sfc_main$1 as CardHeader,
113
+ _sfc_main as CardTitle
11
114
  };
package/dist/command.js CHANGED
@@ -1,21 +1,31 @@
1
1
  import { c as createContext, u as useForwardPropsEmits, a as useForwardProps } from "./useForwardPropsEmits-DmumnZO5.js";
2
2
  import { computed, unref, defineComponent, toRefs, ref, watch, nextTick, openBlock, createBlock, withCtx, renderSlot, createCommentVNode, createVNode, withKeys, withModifiers, watchSyncEffect, onMounted, onUnmounted, mergeProps, withMemo, reactive, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, createElementVNode, createElementBlock, normalizeClass } from "vue";
3
- import { i as isEqual, u as useTypeahead } from "./useTypeahead-Dqe1QXq1.js";
3
+ import { i as isEqual, u as useTypeahead } from "./useTypeahead-KTl4-oeq.js";
4
4
  import { u as useDirection } from "./useDirection-SIyEYNxv.js";
5
- import { u as useFormControl } from "./useFormControl-7ytzz-r7.js";
5
+ import { u as useFormControl } from "./useFormControl-CyoJwp9r.js";
6
6
  import { u as useKbd } from "./useKbd-JjFOu4f7.js";
7
7
  import { P as Primitive } from "./Primitive-D3IcFg81.js";
8
- import { u as usePrimitiveElement } from "./usePrimitiveElement-CijaRBgF.js";
9
- import { u as useCollection } from "./Collection-CmOoLBo7.js";
10
- import { V as VisuallyHiddenInput_default } from "./VisuallyHiddenInput-DLAsRwUw.js";
11
- import { u as useVModel, e as useCurrentElement } from "./index-C1_fxYhb.js";
12
- import { o as createEventHook, g as refAutoReset, r as reactiveOmit } from "./index-Dfi5ESP2.js";
8
+ import { u as usePrimitiveElement } from "./usePrimitiveElement-Bk3ZOslv.js";
9
+ import { u as useCollection } from "./Collection-Coi6nyvb.js";
10
+ import { V as VisuallyHiddenInput_default } from "./VisuallyHiddenInput-1G1IEkBL.js";
11
+ import { u as useVModel, e as useCurrentElement } from "./index-Cq9Ekgtb.js";
12
+ import { o as createEventHook, g as refAutoReset, r as reactiveOmit } from "./index-qGMU40e1.js";
13
13
  import { c as cn } from "./utils-Bz4m9VPB.js";
14
- import { _ as _sfc_main$9, a as _sfc_main$a, c as _sfc_main$b, e as _sfc_main$c, b as _sfc_main$d } from "./DialogTitle.vue_vue_type_script_setup_true_lang-Bw40D4AK.js";
15
- import { u as useId, h as handleAndDispatchCustomEvent } from "./Teleport-CuUn4UkG.js";
14
+ import { _ as _sfc_main$9, a as _sfc_main$a, c as _sfc_main$b, e as _sfc_main$c, b as _sfc_main$d } from "./DialogTitle.vue_vue_type_script_setup_true_lang-83YQbiAn.js";
15
+ import { u as useId, h as handleAndDispatchCustomEvent } from "./Teleport-CV0tKbq5.js";
16
16
  import { c as createLucideIcon } from "./createLucideIcon-CCMB2vDW.js";
17
- import { u as useForwardExpose } from "./useForwardExpose-CNVHwdF2.js";
17
+ import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
18
18
  import { S as Separator_default } from "./Separator-CFm_M4pb.js";
19
+ /**
20
+ * @license lucide-vue-next v1.0.0 - ISC
21
+ *
22
+ * This source code is licensed under the ISC license.
23
+ * See the LICENSE file in the root directory of this source tree.
24
+ */
25
+ const Search = createLucideIcon("search", [
26
+ ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
27
+ ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
28
+ ]);
19
29
  function findValuesBetween(array, start, end) {
20
30
  const startIndex = array.findIndex((i) => isEqual(i, start));
21
31
  const endIndex = array.findIndex((i) => isEqual(i, end));
@@ -712,16 +722,6 @@ var ListboxItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
712
722
  }
713
723
  });
714
724
  var ListboxItem_default = ListboxItem_vue_vue_type_script_setup_true_lang_default;
715
- /**
716
- * @license lucide-vue-next v1.0.0 - ISC
717
- *
718
- * This source code is licensed under the ISC license.
719
- * See the LICENSE file in the root directory of this source tree.
720
- */
721
- const Search = createLucideIcon("search", [
722
- ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
723
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
724
- ]);
725
725
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
726
726
  __name: "Command",
727
727
  props: {
@@ -39,8 +39,8 @@ declare function __VLS_template(): {
39
39
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
40
40
  declare const __VLS_component: import('vue').DefineComponent<DashboardShellProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DashboardShellProps> & Readonly<{}>, {
41
41
  title: string;
42
- description: string;
43
42
  collapsible: "offcanvas" | "icon" | "none";
43
+ description: string;
44
44
  sidebarSections: DashboardSidebarSection[];
45
45
  sidebarLinkComponent: Component | string;
46
46
  showBackground: boolean;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  export { default as Button } from './Button.vue';
3
3
  export declare const buttonVariants: (props?: ({
4
- variant?: "default" | "destructive" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -14,8 +14,8 @@ declare function __VLS_template(): {
14
14
  };
15
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
16
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
- variant: "default" | "outline" | null;
18
17
  size: "default" | "sm" | "lg" | null;
18
+ variant: "default" | "outline" | null;
19
19
  as: import('reka-ui').AsTag | Component;
20
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -17,8 +17,8 @@ declare function __VLS_template(): {
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import('vue').DefineComponent<SidebarMenuButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SidebarMenuButtonProps> & Readonly<{}>, {
20
- variant: "default" | "outline" | null;
21
20
  size: "default" | "sm" | "lg" | null;
21
+ variant: "default" | "outline" | null;
22
22
  as: import('reka-ui').AsTag | import('vue').Component;
23
23
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;