@brumaombra/ui-vintage 0.6.6 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AlertDialogTitle.vue_vue_type_script_setup_true_lang-_UW48pv7.js → AlertDialogTitle.vue_vue_type_script_setup_true_lang-DhRDOi2d.js} +1 -1
- package/dist/Badge.vue_vue_type_script_setup_true_lang-DH_klSVA.js +33 -0
- package/dist/{Busy-DRHkNObd.js → Busy-BOXgYrox.js} +2 -2
- package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-D4jkKsDX.js → CalendarPrevButton.vue_vue_type_script_setup_true_lang-C6OtvF0h.js} +3 -3
- package/dist/{Card.vue_vue_type_script_setup_true_lang-DwBhZuSq.js → Card.vue_vue_type_script_setup_true_lang-CZhFtxSD.js} +1 -1
- package/dist/{CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js → CardContent.vue_vue_type_script_setup_true_lang-BxI0-dse.js} +1 -1
- package/dist/{CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js → CardFooter.vue_vue_type_script_setup_true_lang-LFjBZHcl.js} +1 -1
- package/dist/{CardText.vue_vue_type_script_setup_true_lang-CJ66un34.js → CardText.vue_vue_type_script_setup_true_lang-zUPNe9HY.js} +1 -1
- package/dist/{DatePicker.vue_vue_type_script_setup_true_lang-C_bocxOu.js → DatePicker.vue_vue_type_script_setup_true_lang-CzMhKnrj.js} +4 -4
- package/dist/{DialogTitle.vue_vue_type_script_setup_true_lang-B79YbKSf.js → DialogTitle.vue_vue_type_script_setup_true_lang-D0Ephm9c.js} +1 -1
- package/dist/{EmptyStateCard.vue_vue_type_script_setup_true_lang-B2-mxoaA.js → EmptyStateCard.vue_vue_type_script_setup_true_lang-CH3ODMDF.js} +3 -3
- package/dist/{Input.vue_vue_type_script_setup_true_lang-KQETSF2I.js → Input.vue_vue_type_script_setup_true_lang-BGGOqKHs.js} +1 -1
- package/dist/{Label.vue_vue_type_script_setup_true_lang-BzHEIagR.js → Label.vue_vue_type_script_setup_true_lang-BzD7wUHQ.js} +1 -1
- package/dist/{LandingContent.vue_vue_type_script_setup_true_lang-Wgtl_yeD.js → LandingContent.vue_vue_type_script_setup_true_lang-BySDoKff.js} +1 -1
- package/dist/{LandingFooter.vue_vue_type_script_setup_true_lang-Dxc03HyK.js → LandingFooter.vue_vue_type_script_setup_true_lang-D1_ZjIFj.js} +2 -2
- package/dist/{LandingNavbar.vue_vue_type_script_setup_true_lang-DDB1dSjS.js → LandingNavbar.vue_vue_type_script_setup_true_lang-Cu_ksJtE.js} +1 -1
- package/dist/{LandingShell.vue_vue_type_script_setup_true_lang-B1PnJ78g.js → LandingShell.vue_vue_type_script_setup_true_lang-D6n-hLum.js} +1 -1
- package/dist/{LoadMoreButton.vue_vue_type_script_setup_true_lang-DkaLgfxc.js → LoadMoreButton.vue_vue_type_script_setup_true_lang-Be0obsa3.js} +1 -1
- package/dist/{LoadingStateCard.vue_vue_type_script_setup_true_lang-BSErG9UN.js → LoadingStateCard.vue_vue_type_script_setup_true_lang-CwCrRir_.js} +3 -3
- package/dist/{MessageToast-DBztWhRL.js → MessageToast-CMvpwf2m.js} +1 -1
- package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-CNcUI9Yh.js → NativeSelectOption.vue_vue_type_script_setup_true_lang-CcnlTqUN.js} +2 -2
- package/dist/{PopoverTrigger.vue_vue_type_script_setup_true_lang-Cf33q_yT.js → PopoverTrigger.vue_vue_type_script_setup_true_lang-Bu5YDhSO.js} +1 -1
- package/dist/{Progress.vue_vue_type_script_setup_true_lang-BDJfyW-d.js → Progress.vue_vue_type_script_setup_true_lang-ZKUFAYop.js} +1 -1
- package/dist/{Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js → Separator.vue_vue_type_script_setup_true_lang-BDH2gelV.js} +1 -1
- package/dist/{SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js → SheetTitle.vue_vue_type_script_setup_true_lang-DZ-80X9J.js} +1 -1
- package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js → Skeleton.vue_vue_type_script_setup_true_lang-CK-Q0Oxk.js} +1 -1
- package/dist/{Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js → Slider.vue_vue_type_script_setup_true_lang-Cz1oQX11.js} +1 -1
- package/dist/{Switch.vue_vue_type_script_setup_true_lang-C8mqOepU.js → Switch.vue_vue_type_script_setup_true_lang-BzUQzI2p.js} +1 -1
- package/dist/TableHeader.vue_vue_type_script_setup_true_lang-BMHYThM4.js +123 -0
- package/dist/{TimePicker.vue_vue_type_script_setup_true_lang-CwuwDICo.js → TimePicker.vue_vue_type_script_setup_true_lang-C3Ww9XT5.js} +2 -2
- package/dist/{TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.js → TooltipTrigger.vue_vue_type_script_setup_true_lang-CIBac9lA.js} +1 -1
- package/dist/alert-dialog.js +3 -3
- package/dist/alert.js +2 -2
- package/dist/badge.js +2 -31
- package/dist/blog.js +938 -0
- package/dist/breadcrumb.js +2 -2
- package/dist/busy-indicator.js +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.js +2 -2
- package/dist/calendar.js +1 -1
- package/dist/card-grid.js +4 -4
- package/dist/card.js +7 -7
- package/dist/chip.js +2 -2
- package/dist/command.js +3 -3
- package/dist/components/blog/index.d.ts +13 -0
- package/dist/components/content/index.d.ts +3 -0
- package/dist/components/info-card/InfoCard.vue.d.ts +2 -2
- package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +1 -1
- package/dist/components/single-value-card/SingleValueCard.vue.d.ts +2 -2
- package/dist/confirm-dialog.js +2 -2
- package/dist/content.js +210 -0
- package/dist/dashboard-shell.js +2 -2
- package/dist/data-list.js +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/date-time-picker.js +4 -4
- package/dist/dialog.js +2 -2
- package/dist/empty-state-card.js +1 -1
- package/dist/error-page.js +5 -5
- package/dist/field.js +6 -6
- package/dist/i18n/de.json.d.ts +24 -0
- package/dist/i18n/en.json.d.ts +24 -0
- package/dist/i18n/es.json.d.ts +24 -0
- package/dist/i18n/fr.json.d.ts +24 -0
- package/dist/i18n/it.json.d.ts +24 -0
- package/dist/i18n/ja.json.d.ts +24 -0
- package/dist/i18n/pt.json.d.ts +24 -0
- package/dist/i18n/ru.json.d.ts +24 -0
- package/dist/i18n/zh.json.d.ts +24 -0
- package/dist/i18n.js +216 -0
- package/dist/{index-FpH8cK6B.js → index-DDurQzrB.js} +1 -1
- package/dist/index.min-CUZWqaEQ.js +32 -0
- package/dist/info-card.js +3 -3
- package/dist/input.js +1 -1
- package/dist/label.js +1 -1
- package/dist/landing-content.js +1 -1
- package/dist/landing-footer.js +1 -1
- package/dist/landing-navbar.js +1 -1
- package/dist/landing-shell.js +1 -1
- package/dist/landing.js +4 -4
- package/dist/language-selector.js +2 -2
- package/dist/lib/i18n.d.ts +432 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/load-more-button.js +1 -1
- package/dist/loading-state-card.js +1 -1
- package/dist/message-dialog.js +2 -2
- package/dist/message-toast.js +1 -1
- package/dist/native-select.js +2 -2
- package/dist/popover.js +2 -2
- package/dist/progress-component.js +1 -1
- package/dist/progress.js +1 -1
- package/dist/scroll-area.js +1 -1
- package/dist/select.js +2 -2
- package/dist/separator.js +1 -1
- package/dist/sheet.js +2 -2
- package/dist/sidebar.js +8 -8
- package/dist/single-value-card.js +2 -2
- package/dist/skeleton.js +1 -1
- package/dist/slider-form-component.js +2 -2
- package/dist/slider.js +1 -1
- package/dist/style.css +593 -8
- package/dist/switch-form-component.js +10 -10
- package/dist/switch.js +1 -1
- package/dist/table.js +18 -129
- package/dist/tabs.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/theme-selector.js +2 -2
- package/dist/time-picker.js +1 -1
- package/dist/tooltip.js +2 -2
- package/dist/{utils-Bz4m9VPB.js → utils-DbYZ4xaD.js} +13 -1
- package/dist/utils.js +3 -2
- package/package.json +9 -1
- package/dist/index.min-CZ9FIOXr.js +0 -23
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as _sfc_main$2 } from "./Switch.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
const _hoisted_1 = { class: "
|
|
2
|
+
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-CZhFtxSD.js";
|
|
3
|
+
import { _ as _sfc_main$2 } from "./Switch.vue_vue_type_script_setup_true_lang-BzUQzI2p.js";
|
|
4
|
+
const _hoisted_1 = { class: "flex items-center justify-between gap-4" };
|
|
5
5
|
const _hoisted_2 = { class: "text-sm font-semibold" };
|
|
6
6
|
const _hoisted_3 = { class: "text-xs text-muted-foreground" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -17,17 +17,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
const props = __props;
|
|
18
18
|
const emits = __emit;
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createBlock(unref(_sfc_main$1), { class: "flex flex-
|
|
20
|
+
return openBlock(), createBlock(unref(_sfc_main$1), { class: "flex flex-col gap-2 sm:!gap-3 px-4 py-3" }, {
|
|
21
21
|
default: withCtx(() => [
|
|
22
22
|
createElementVNode("div", _hoisted_1, [
|
|
23
23
|
createElementVNode("div", _hoisted_2, toDisplayString(props.label), 1),
|
|
24
|
-
|
|
24
|
+
createVNode(unref(_sfc_main$2), {
|
|
25
|
+
id: props.id,
|
|
26
|
+
"model-value": props.modelValue,
|
|
27
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emits("update:modelValue", $event))
|
|
28
|
+
}, null, 8, ["id", "model-value"])
|
|
25
29
|
]),
|
|
26
|
-
|
|
27
|
-
id: props.id,
|
|
28
|
-
"model-value": props.modelValue,
|
|
29
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emits("update:modelValue", $event))
|
|
30
|
-
}, null, 8, ["id", "model-value"])
|
|
30
|
+
createElementVNode("div", _hoisted_3, toDisplayString(props.description), 1)
|
|
31
31
|
]),
|
|
32
32
|
_: 1
|
|
33
33
|
});
|
package/dist/switch.js
CHANGED
package/dist/table.js
CHANGED
|
@@ -1,47 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c
|
|
1
|
+
import { b as _sfc_main$3, e as _sfc_main$4 } from "./TableHeader.vue_vue_type_script_setup_true_lang-BMHYThM4.js";
|
|
2
|
+
import { _, d, c, a } from "./TableHeader.vue_vue_type_script_setup_true_lang-BMHYThM4.js";
|
|
3
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createBlock, withCtx, createVNode, mergeProps, createElementVNode } from "vue";
|
|
4
|
+
import { c as cn } from "./utils-DbYZ4xaD.js";
|
|
3
5
|
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
4
|
-
const
|
|
5
|
-
"data-slot": "table-container",
|
|
6
|
-
class: "relative w-full overflow-auto"
|
|
7
|
-
};
|
|
8
|
-
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "Table",
|
|
10
|
-
props: {
|
|
11
|
-
class: {}
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
return (_ctx, _cache) => {
|
|
16
|
-
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
17
|
-
createElementVNode("table", {
|
|
18
|
-
"data-slot": "table",
|
|
19
|
-
class: normalizeClass(unref(cn)("w-full caption-bottom text-sm", props.class))
|
|
20
|
-
}, [
|
|
21
|
-
renderSlot(_ctx.$slots, "default")
|
|
22
|
-
], 2)
|
|
23
|
-
]);
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
28
|
-
__name: "TableBody",
|
|
29
|
-
props: {
|
|
30
|
-
class: {}
|
|
31
|
-
},
|
|
32
|
-
setup(__props) {
|
|
33
|
-
const props = __props;
|
|
34
|
-
return (_ctx, _cache) => {
|
|
35
|
-
return openBlock(), createElementBlock("tbody", {
|
|
36
|
-
"data-slot": "table-body",
|
|
37
|
-
class: normalizeClass(unref(cn)("[&_tr:last-child]:border-0", props.class))
|
|
38
|
-
}, [
|
|
39
|
-
renderSlot(_ctx.$slots, "default")
|
|
40
|
-
], 2);
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
6
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
45
7
|
__name: "TableCaption",
|
|
46
8
|
props: {
|
|
47
9
|
class: {}
|
|
@@ -58,47 +20,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
58
20
|
};
|
|
59
21
|
}
|
|
60
22
|
});
|
|
61
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
62
|
-
__name: "TableCell",
|
|
63
|
-
props: {
|
|
64
|
-
class: {}
|
|
65
|
-
},
|
|
66
|
-
setup(__props) {
|
|
67
|
-
const props = __props;
|
|
68
|
-
return (_ctx, _cache) => {
|
|
69
|
-
return openBlock(), createElementBlock("td", {
|
|
70
|
-
"data-slot": "table-cell",
|
|
71
|
-
class: normalizeClass(
|
|
72
|
-
unref(cn)(
|
|
73
|
-
"px-2 py-3 max-w-[300px] text-xs md:text-sm align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
74
|
-
props.class
|
|
75
|
-
)
|
|
76
|
-
)
|
|
77
|
-
}, [
|
|
78
|
-
renderSlot(_ctx.$slots, "default")
|
|
79
|
-
], 2);
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
84
|
-
__name: "TableRow",
|
|
85
|
-
props: {
|
|
86
|
-
class: {}
|
|
87
|
-
},
|
|
88
|
-
setup(__props) {
|
|
89
|
-
const props = __props;
|
|
90
|
-
return (_ctx, _cache) => {
|
|
91
|
-
return openBlock(), createElementBlock("tr", {
|
|
92
|
-
"data-slot": "table-row",
|
|
93
|
-
class: normalizeClass(unref(cn)("hover:bg-muted/50 data-[state=selected]:bg-muted border-b border-border transition-colors", props.class))
|
|
94
|
-
}, [
|
|
95
|
-
renderSlot(_ctx.$slots, "default")
|
|
96
|
-
], 2);
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
23
|
const _hoisted_1 = { class: "flex items-center justify-center py-10" };
|
|
101
|
-
const _sfc_main$
|
|
24
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
102
25
|
__name: "TableEmpty",
|
|
103
26
|
props: {
|
|
104
27
|
class: {},
|
|
@@ -108,9 +31,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
108
31
|
const props = __props;
|
|
109
32
|
const delegatedProps = reactiveOmit(props, "class");
|
|
110
33
|
return (_ctx, _cache) => {
|
|
111
|
-
return openBlock(), createBlock(_sfc_main$
|
|
34
|
+
return openBlock(), createBlock(_sfc_main$3, null, {
|
|
112
35
|
default: withCtx(() => [
|
|
113
|
-
createVNode(_sfc_main$
|
|
36
|
+
createVNode(_sfc_main$4, mergeProps({
|
|
114
37
|
class: unref(cn)(
|
|
115
38
|
"p-4 whitespace-nowrap align-middle text-sm text-foreground",
|
|
116
39
|
props.class
|
|
@@ -129,7 +52,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
129
52
|
};
|
|
130
53
|
}
|
|
131
54
|
});
|
|
132
|
-
const _sfc_main
|
|
55
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
133
56
|
__name: "TableFooter",
|
|
134
57
|
props: {
|
|
135
58
|
class: {}
|
|
@@ -146,48 +69,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
146
69
|
};
|
|
147
70
|
}
|
|
148
71
|
});
|
|
149
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
150
|
-
__name: "TableHead",
|
|
151
|
-
props: {
|
|
152
|
-
class: {}
|
|
153
|
-
},
|
|
154
|
-
setup(__props) {
|
|
155
|
-
const props = __props;
|
|
156
|
-
return (_ctx, _cache) => {
|
|
157
|
-
return openBlock(), createElementBlock("th", {
|
|
158
|
-
"data-slot": "table-head",
|
|
159
|
-
class: normalizeClass(unref(cn)("text-foreground h-10 px-2 max-w-[300px] text-left align-middle font-semibold whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", props.class))
|
|
160
|
-
}, [
|
|
161
|
-
renderSlot(_ctx.$slots, "default")
|
|
162
|
-
], 2);
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
167
|
-
__name: "TableHeader",
|
|
168
|
-
props: {
|
|
169
|
-
class: {}
|
|
170
|
-
},
|
|
171
|
-
setup(__props) {
|
|
172
|
-
const props = __props;
|
|
173
|
-
return (_ctx, _cache) => {
|
|
174
|
-
return openBlock(), createElementBlock("thead", {
|
|
175
|
-
"data-slot": "table-header",
|
|
176
|
-
class: normalizeClass(unref(cn)("[&_tr]:border-b [&_tr]:border-border", props.class))
|
|
177
|
-
}, [
|
|
178
|
-
renderSlot(_ctx.$slots, "default")
|
|
179
|
-
], 2);
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
72
|
export {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
_sfc_main$
|
|
187
|
-
_sfc_main$
|
|
188
|
-
_sfc_main$
|
|
189
|
-
_sfc_main
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
_sfc_main$
|
|
73
|
+
_ as Table,
|
|
74
|
+
d as TableBody,
|
|
75
|
+
_sfc_main$2 as TableCaption,
|
|
76
|
+
_sfc_main$4 as TableCell,
|
|
77
|
+
_sfc_main$1 as TableEmpty,
|
|
78
|
+
_sfc_main as TableFooter,
|
|
79
|
+
c as TableHead,
|
|
80
|
+
a as TableHeader,
|
|
81
|
+
_sfc_main$3 as TableRow
|
|
193
82
|
};
|
package/dist/tabs.js
CHANGED
|
@@ -6,7 +6,7 @@ import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
|
|
|
6
6
|
import { u as useId } from "./useId-CF6wz41D.js";
|
|
7
7
|
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
8
8
|
import { a as useVModel } from "./index-Dw56kNV0.js";
|
|
9
|
-
import { c as cn } from "./utils-
|
|
9
|
+
import { c as cn } from "./utils-DbYZ4xaD.js";
|
|
10
10
|
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
11
11
|
import { P as Presence_default } from "./Presence-CTmUEdMR.js";
|
|
12
12
|
import { u as useCollection } from "./Collection-4P3HQ4uU.js";
|
package/dist/textarea.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, withDirectives, openBlock, createElementBlock, normalizeClass, unref, isRef, vModelText } from "vue";
|
|
2
2
|
import { a as useVModel } from "./index-Dw56kNV0.js";
|
|
3
|
-
import { c as cn } from "./utils-
|
|
3
|
+
import { c as cn } from "./utils-DbYZ4xaD.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "Textarea",
|
|
6
6
|
props: {
|
package/dist/theme-selector.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, onUnmounted, openBlock, createBlock, unref, withCtx, createVNode, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, normalizeClass } from "vue";
|
|
2
2
|
import { useI18n } from "vue-i18n";
|
|
3
|
-
import { T as TWr, s as spr, c as bD, e as bV } from "./index.min-
|
|
3
|
+
import { T as TWr, s as spr, c as bD, e as bV } from "./index.min-CUZWqaEQ.js";
|
|
4
4
|
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
5
5
|
import { Button as _sfc_main$3 } from "./button.js";
|
|
6
6
|
import { Command as _sfc_main$5, CommandList as _sfc_main$6, CommandGroup as _sfc_main$7, CommandItem as _sfc_main$8 } from "./command.js";
|
|
7
|
-
import { _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$4 } from "./PopoverTrigger.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$4 } from "./PopoverTrigger.vue_vue_type_script_setup_true_lang-Bu5YDhSO.js";
|
|
8
8
|
const _hoisted_1 = { class: "flex-1" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "ThemeSelector",
|
package/dist/time-picker.js
CHANGED
package/dist/tooltip.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TooltipProvider_default } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _, a, b } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { T as TooltipProvider_default } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-CIBac9lA.js";
|
|
2
|
+
import { _, a, b } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-CIBac9lA.js";
|
|
3
3
|
import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "TooltipProvider",
|
|
@@ -3186,7 +3186,19 @@ const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
|
|
|
3186
3186
|
function cn(...inputs) {
|
|
3187
3187
|
return twMerge(clsx(inputs));
|
|
3188
3188
|
}
|
|
3189
|
+
function formatDateLongItalyTimezone(date, locale) {
|
|
3190
|
+
if (!date) return "";
|
|
3191
|
+
const parsedDate = typeof date === "string" && /^\d+$/.test(date) ? new Date(Number(date)) : new Date(date);
|
|
3192
|
+
if (isNaN(parsedDate.getTime())) return "";
|
|
3193
|
+
return new Intl.DateTimeFormat(locale, {
|
|
3194
|
+
year: "numeric",
|
|
3195
|
+
month: "long",
|
|
3196
|
+
day: "numeric",
|
|
3197
|
+
timeZone: "Europe/Rome"
|
|
3198
|
+
}).format(parsedDate);
|
|
3199
|
+
}
|
|
3189
3200
|
export {
|
|
3190
3201
|
clsx as a,
|
|
3191
|
-
cn as c
|
|
3202
|
+
cn as c,
|
|
3203
|
+
formatDateLongItalyTimezone as f
|
|
3192
3204
|
};
|
package/dist/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brumaombra/ui-vintage",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
4
4
|
"description": "Vue 3 component library with shadcn-style primitives, app shells, dialogs, and shared theme tokens.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Mauro Brambilla",
|
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
"types": "./dist/components/ui/badge/index.d.ts",
|
|
49
49
|
"import": "./dist/badge.js"
|
|
50
50
|
},
|
|
51
|
+
"./blog": {
|
|
52
|
+
"types": "./dist/components/blog/index.d.ts",
|
|
53
|
+
"import": "./dist/blog.js"
|
|
54
|
+
},
|
|
51
55
|
"./busy": {
|
|
52
56
|
"types": "./dist/components/ui/busy/index.d.ts",
|
|
53
57
|
"import": "./dist/busy.js"
|
|
@@ -116,6 +120,10 @@
|
|
|
116
120
|
"types": "./dist/components/confirm-dialog/index.d.ts",
|
|
117
121
|
"import": "./dist/confirm-dialog.js"
|
|
118
122
|
},
|
|
123
|
+
"./content": {
|
|
124
|
+
"types": "./dist/components/content/index.d.ts",
|
|
125
|
+
"import": "./dist/content.js"
|
|
126
|
+
},
|
|
119
127
|
"./message-dialog": {
|
|
120
128
|
"types": "./dist/components/message-dialog/index.d.ts",
|
|
121
129
|
"import": "./dist/message-dialog.js"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const $o = [["circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 8V12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }]], dn = [["path", { d: "M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], mn = [["path", { d: "M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], Nn = [["path", { d: "M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], CC = [["path", { d: "M17.9998 15C17.9998 15 13.5809 9.00001 11.9998 9C10.4187 8.99999 5.99985 15 5.99985 15", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], cL = [["path", { d: "M16 2V6M8 2V6", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M3 10H21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M12.1258 14H12.0008M12.1258 18H12.0008M7.625 14H7.5M7.625 18H7.5M16.625 14H16.5M12.2508 14C12.2508 14.1381 12.1389 14.25 12.0008 14.25C11.8628 14.25 11.7508 14.1381 11.7508 14C11.7508 13.8619 11.8628 13.75 12.0008 13.75C12.1389 13.75 12.2508 13.8619 12.2508 14ZM12.2508 18C12.2508 18.1381 12.1389 18.25 12.0008 18.25C11.8628 18.25 11.7508 18.1381 11.7508 18C11.7508 17.8619 11.8628 17.75 12.0008 17.75C12.1389 17.75 12.2508 17.8619 12.2508 18ZM7.75 14C7.75 14.1381 7.63807 14.25 7.5 14.25C7.36193 14.25 7.25 14.1381 7.25 14C7.25 13.8619 7.36193 13.75 7.5 13.75C7.63807 13.75 7.75 13.8619 7.75 14ZM7.75 18C7.75 18.1381 7.63807 18.25 7.5 18.25C7.36193 18.25 7.25 18.1381 7.25 18C7.25 17.8619 7.36193 17.75 7.5 17.75C7.63807 17.75 7.75 17.8619 7.75 18ZM16.75 14C16.75 14.1381 16.6381 14.25 16.5 14.25C16.3619 14.25 16.25 14.1381 16.25 14C16.25 13.8619 16.3619 13.75 16.5 13.75C16.6381 13.75 16.75 13.8619 16.75 14Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }]], dp = [["path", { d: "M18 6L6.00081 17.9992M17.9992 18L6 6.00085", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], Ay = [["path", { d: "M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z", stroke: "currentColor", strokeWidth: "1.5", key: "0" }], ["path", { d: "M8 12.5L10.5 15L16 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], bV = [["path", { d: "M6 17H8", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 17H18", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M10 3H14C15.8692 3 16.8038 3 17.5 3.40192C17.9561 3.66523 18.3348 4.04394 18.5981 4.5C19 5.19615 19 6.13077 19 8C19 9.86923 19 10.8038 18.5981 11.5C18.3348 11.9561 17.9561 12.3348 17.5 12.5981C16.8038 13 15.8692 13 14 13H10C8.13077 13 7.19615 13 6.5 12.5981C6.04394 12.3348 5.66523 11.9561 5.40192 11.5C5 10.8038 5 9.86923 5 8C5 6.13077 5 5.19615 5.40192 4.5C5.66523 4.04394 6.04394 3.66523 6.5 3.40192C7.19615 3 8.13077 3 10 3Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M6 13H18C18.93 13 19.395 13 19.7765 13.1022C20.8117 13.3796 21.6204 14.1883 21.8978 15.2235C22 15.605 22 16.07 22 17C22 17.93 22 18.395 21.8978 18.7765C21.6204 19.8117 20.8117 20.6204 19.7765 20.8978C19.395 21 18.93 21 18 21H6C5.07003 21 4.60504 21 4.22354 20.8978C3.18827 20.6204 2.37962 19.8117 2.10222 18.7765C2 18.395 2 17.93 2 17C2 16.07 2 15.605 2.10222 15.2235C2.37962 14.1883 3.18827 13.3796 4.22354 13.1022C4.60504 13 5.07003 13 6 13Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }]], DB = [["path", { d: "M10.4107 19.9677C7.58942 17.858 2 13.0348 2 8.69444C2 5.82563 4.10526 3.5 7 3.5C8.5 3.5 10 4 12 6C14 4 15.5 3.5 17 3.5C19.8947 3.5 22 5.82563 22 8.69444C22 13.0348 16.4106 17.858 13.5893 19.9677C12.6399 20.6776 11.3601 20.6776 10.4107 19.9677Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], bD = [["path", { d: "M20.5 14.469C19.3635 15.0758 18.0654 15.4199 16.687 15.4199C12.2097 15.4199 8.58014 11.7903 8.58014 7.31302C8.58014 5.9346 8.92416 4.63654 9.53102 3.5C5.50093 4.44451 2.5 8.0617 2.5 12.3798C2.5 17.4167 6.58325 21.5 11.6202 21.5C15.9383 21.5 19.5555 18.4991 20.5 14.469Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M21.5 12C21.5 6.75329 17.2467 2.5 12 2.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], AE = [["circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 16V12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }]], SK = [["path", { d: "M12 3V6", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 18V21", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M21 12L18 12", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M6 12L3 12", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "3" }], ["path", { d: "M18.3635 5.63672L16.2422 7.75804", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "4" }], ["path", { d: "M7.75804 16.2422L5.63672 18.3635", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "5" }], ["path", { d: "M18.3635 18.3635L16.2422 16.2422", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "6" }], ["path", { d: "M7.75804 7.75804L5.63672 5.63672", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "7" }]], K1 = [["path", { d: "M6.00449 12.5V12M18.0045 12.5V12M12.0045 12.5V12M7.00449 12.5C7.00449 11.9477 6.55677 11.5 6.00449 11.5C5.4522 11.5 5.00449 11.9477 5.00449 12.5C5.00449 13.0523 5.4522 13.5 6.00449 13.5C6.55677 13.5 7.00449 13.0523 7.00449 12.5ZM19.0045 12.5C19.0045 11.9477 18.5568 11.5 18.0045 11.5C17.4522 11.5 17.0045 11.9477 17.0045 12.5C17.0045 13.0523 17.4522 13.5 18.0045 13.5C18.5568 13.5 19.0045 13.0523 19.0045 12.5ZM13.0045 12.5C13.0045 11.9477 12.5568 11.5 12.0045 11.5C11.4522 11.5 11.0045 11.9477 11.0045 12.5C11.0045 13.0523 11.4522 13.5 12.0045 13.5C12.5568 13.5 13.0045 13.0523 13.0045 12.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], u7 = [["path", { d: "M12 22C11.1818 22 10.4002 21.6698 8.83693 21.0095C4.94564 19.3657 3 18.5438 3 17.1613C3 16.7742 3 10.0645 3 7M12 22C12.8182 22 13.5998 21.6698 15.1631 21.0095C19.0544 19.3657 21 18.5438 21 17.1613V7M12 22L12 11.3548", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M8.32592 9.69138L5.40472 8.27785C3.80157 7.5021 3 7.11423 3 6.5C3 5.88577 3.80157 5.4979 5.40472 4.72215L8.32592 3.30862C10.1288 2.43621 11.0303 2 12 2C12.9697 2 13.8712 2.4362 15.6741 3.30862L18.5953 4.72215C20.1984 5.4979 21 5.88577 21 6.5C21 7.11423 20.1984 7.5021 18.5953 8.27785L15.6741 9.69138C13.8712 10.5638 12.9697 11 12 11C11.0303 11 10.1288 10.5638 8.32592 9.69138Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M6 12L8 13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M17 4L7 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }]], m7 = [["path", { d: "M13 3H11C7.22876 3 5.34315 3 4.17157 4.17157C3 5.34315 3 7.22876 3 11V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H13C16.7712 21 18.6569 21 19.8284 19.8284C21 18.6569 21 16.7712 21 13V11C21 7.22876 21 5.34315 19.8284 4.17157C18.6569 3 16.7712 3 13 3Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M9 3V21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], Ser = [["path", { d: "M20.0092 2V5.13219C20.0092 5.42605 19.6418 5.55908 19.4537 5.33333C17.6226 3.2875 14.9617 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], pkr = [["path", { d: "M17 17L21 21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], spr = [["path", { d: "M16.9991 12C16.9991 14.7614 14.7605 17 11.9991 17C9.23766 17 6.99908 14.7614 6.99908 12C6.99908 9.23858 9.23766 7 11.9991 7C14.7605 7 16.9991 9.23858 16.9991 12Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12.1247 3.25H11.9997M12.1242 20.75H11.9992M20.75 12.125V12M3.25 12.125V12M18.2752 5.90098L18.1868 5.81259M5.90051 18.275L5.81212 18.1866M18.0987 18.2756L18.187 18.1872M5.72429 5.9012L5.81267 5.81282M12.2497 3.25C12.2497 3.38807 12.1378 3.5 11.9997 3.5C11.8616 3.5 11.7497 3.38807 11.7497 3.25C11.7497 3.11193 11.8616 3 11.9997 3C12.1378 3 12.2497 3.11193 12.2497 3.25ZM12.2492 20.75C12.2492 20.8881 12.1373 21 11.9992 21C11.8611 21 11.7492 20.8881 11.7492 20.75C11.7492 20.6119 11.8611 20.5 11.9992 20.5C12.1373 20.5 12.2492 20.6119 12.2492 20.75ZM20.75 12.25C20.6119 12.25 20.5 12.1381 20.5 12C20.5 11.8619 20.6119 11.75 20.75 11.75C20.8881 11.75 21 11.8619 21 12C21 12.1381 20.8881 12.25 20.75 12.25ZM3.25 12.25C3.11193 12.25 3 12.1381 3 12C3 11.8619 3.11193 11.75 3.25 11.75C3.38807 11.75 3.5 11.8619 3.5 12C3.5 12.1381 3.38807 12.25 3.25 12.25ZM18.3636 5.98937C18.266 6.087 18.1077 6.087 18.01 5.98937C17.9124 5.89174 17.9124 5.73345 18.01 5.63582C18.1077 5.53819 18.266 5.53819 18.3636 5.63582C18.4612 5.73345 18.4612 5.89174 18.3636 5.98937ZM5.9889 18.3634C5.89127 18.461 5.73297 18.461 5.63534 18.3634C5.53771 18.2658 5.53771 18.1075 5.63534 18.0099C5.73297 17.9122 5.89127 17.9122 5.9889 18.0099C6.08653 18.1075 6.08653 18.2658 5.9889 18.3634ZM18.0103 18.364C17.9126 18.2663 17.9126 18.108 18.0103 18.0104C18.1079 17.9128 18.2662 17.9128 18.3638 18.0104C18.4614 18.108 18.4614 18.2663 18.3638 18.364C18.2662 18.4616 18.1079 18.4616 18.0103 18.364ZM5.6359 5.98959C5.53827 5.89196 5.53827 5.73367 5.6359 5.63604C5.73353 5.53841 5.89182 5.53841 5.98945 5.63604C6.08708 5.73367 6.08708 5.89196 5.98945 5.98959C5.89182 6.08722 5.73353 6.08722 5.6359 5.98959Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], TWr = [["path", { d: "M5 14L8.5 17.5L19 6.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]];
|
|
2
|
-
export {
|
|
3
|
-
$o as $,
|
|
4
|
-
AE as A,
|
|
5
|
-
CC as C,
|
|
6
|
-
DB as D,
|
|
7
|
-
K1 as K,
|
|
8
|
-
Nn as N,
|
|
9
|
-
Ser as S,
|
|
10
|
-
TWr as T,
|
|
11
|
-
dn as a,
|
|
12
|
-
SK as b,
|
|
13
|
-
bD as c,
|
|
14
|
-
dp as d,
|
|
15
|
-
bV as e,
|
|
16
|
-
cL as f,
|
|
17
|
-
Ay as g,
|
|
18
|
-
m7 as h,
|
|
19
|
-
mn as m,
|
|
20
|
-
pkr as p,
|
|
21
|
-
spr as s,
|
|
22
|
-
u7 as u
|
|
23
|
-
};
|