@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.
- package/LICENSE +20 -20
- package/README.md +75 -78
- package/dist/{AlertDialogTitle.vue_vue_type_script_setup_true_lang-CWCr2erD.js → AlertDialogTitle.vue_vue_type_script_setup_true_lang-Ca0g2mVz.js} +8 -8
- package/dist/{Busy-B65Nd9ec.js → Busy-DSyPtpVD.js} +1 -1
- package/dist/BusyIndicator-D-4YHN2L.js +4 -0
- 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
- package/dist/{Collection-CmOoLBo7.js → Collection-Coi6nyvb.js} +1 -1
- package/dist/ConfirmDialog-Zu4m9TY-.js +4 -0
- package/dist/{DialogClose-BNlqG4G2.js → DialogClose-DDtZ0Em0.js} +2 -2
- package/dist/{x-2_VzbDS9.js → DialogPortal-BTVR2QvT.js} +12 -12
- package/dist/{DialogTitle-DXj0nkXn.js → DialogTitle-CLuntLBB.js} +5 -5
- package/dist/{DialogTitle.vue_vue_type_script_setup_true_lang-Bw40D4AK.js → DialogTitle.vue_vue_type_script_setup_true_lang-83YQbiAn.js} +4 -4
- package/dist/{DialogTrigger-CpyKnu11.js → DialogTrigger-CjJ8QNL_.js} +3 -3
- package/dist/{FocusScope-C3mcVwsf.js → FocusScope-DYbCtSNc.js} +4 -4
- package/dist/{Input.vue_vue_type_script_setup_true_lang-U778IWa0.js → Input.vue_vue_type_script_setup_true_lang-6SfPeT8d.js} +1 -1
- 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
- package/dist/MessageDialog-ChS4d2qN.js +4 -0
- package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-DS87OTLT.js → NativeSelectOption.vue_vue_type_script_setup_true_lang-CWhL2Lw8.js} +2 -2
- 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
- package/dist/{PopperContent-BiM0YLO3.js → PopperContent-h-thLTz8.js} +3 -3
- package/dist/{Separator.vue_vue_type_script_setup_true_lang-COrZ60NR.js → Separator.vue_vue_type_script_setup_true_lang-CMRkdntA.js} +1 -1
- package/dist/{SheetTitle.vue_vue_type_script_setup_true_lang-DLoXGMbx.js → SheetTitle.vue_vue_type_script_setup_true_lang-fx9jbBwT.js} +4 -4
- 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
- package/dist/{Switch.vue_vue_type_script_setup_true_lang-BWKCycMm.js → Switch.vue_vue_type_script_setup_true_lang-BG6nkPSO.js} +5 -5
- package/dist/{Teleport-CuUn4UkG.js → Teleport-CV0tKbq5.js} +3 -3
- package/dist/{TooltipTrigger.vue_vue_type_script_setup_true_lang-BRyHTWgw.js → TooltipTrigger.vue_vue_type_script_setup_true_lang-DEPKysA_.js} +5 -5
- package/dist/{VisuallyHiddenInput-DLAsRwUw.js → VisuallyHiddenInput-1G1IEkBL.js} +1 -1
- package/dist/alert-dialog.js +161 -9
- package/dist/busy-indicator.js +64 -4
- package/dist/busy.js +1 -1
- package/dist/calendar.js +1 -1
- package/dist/card.js +110 -7
- package/dist/command.js +20 -20
- package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +1 -1
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +1 -1
- package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
- package/dist/confirm-dialog.js +228 -7
- package/dist/dashboard-shell.js +170 -3
- package/dist/date-picker.js +91 -3
- package/dist/dialog.js +140 -6
- package/dist/field.js +2 -2
- package/dist/{index-C1_fxYhb.js → index-Cq9Ekgtb.js} +2 -2
- package/dist/{index-Dfi5ESP2.js → index-qGMU40e1.js} +1 -1
- package/dist/input.js +1 -1
- package/dist/label.js +1 -1
- package/dist/message-dialog.js +240 -6
- package/dist/native-select.js +1 -1
- package/dist/popover.js +62 -5
- package/dist/select.js +2122 -12
- package/dist/separator.js +1 -1
- package/dist/sheet.js +61 -5
- package/dist/sidebar.js +6 -6
- package/dist/slider-form-component.js +58 -3
- package/dist/slider.js +1 -1
- package/dist/style.css +4 -4016
- package/dist/switch-form-component.js +38 -3
- package/dist/switch.js +1 -1
- package/dist/tooltip.js +27 -3
- package/dist/{useFocusGuards-tgErlvMF.js → useFocusGuards-WYWvpJy2.js} +1 -1
- package/dist/{useFormControl-7ytzz-r7.js → useFormControl-CyoJwp9r.js} +1 -1
- package/dist/{useForwardExpose-CNVHwdF2.js → useForwardExpose-BiRQH8eO.js} +1 -1
- package/dist/{usePrimitiveElement-CijaRBgF.js → usePrimitiveElement-Bk3ZOslv.js} +1 -1
- package/dist/{useSize-DO9Z3wC4.js → useSize-BLYTFgnQ.js} +1 -1
- package/dist/{useTypeahead-Dqe1QXq1.js → useTypeahead-KTl4-oeq.js} +2 -2
- package/dist/{utils-RRmyeqLm.js → utils-BXBXPGDA.js} +1 -1
- package/package.json +188 -186
- package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-vNwxOYhM.js +0 -158
- package/dist/BusyIndicator-CnWzSMDb.js +0 -4
- package/dist/BusyIndicator.vue_vue_type_script_setup_true_lang-CYeXMI_V.js +0 -66
- package/dist/CardTitle.vue_vue_type_script_setup_true_lang-DVAd7AWF.js +0 -112
- package/dist/ConfirmDialog-DEsvF0b_.js +0 -4
- package/dist/ConfirmDialog.vue_vue_type_script_setup_true_lang-BAd1l1zF.js +0 -230
- package/dist/DashboardShell.vue_vue_type_script_setup_true_lang-CT2SQBXv.js +0 -171
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-D8mev2ha.js +0 -92
- package/dist/DialogTrigger.vue_vue_type_script_setup_true_lang-DLrFiCsw.js +0 -141
- package/dist/MessageDialog-BrowppID.js +0 -4
- package/dist/MessageDialog.vue_vue_type_script_setup_true_lang-Ddih5Isd.js +0 -242
- package/dist/PopoverAnchor.vue_vue_type_script_setup_true_lang-CsfybvZp.js +0 -61
- package/dist/SelectValue.vue_vue_type_script_setup_true_lang-DGAI4hw5.js +0 -2124
- package/dist/SheetTrigger.vue_vue_type_script_setup_true_lang-CE2XJNHy.js +0 -62
- package/dist/SliderFormComponent.vue_vue_type_script_setup_true_lang-KPzC_Lmr.js +0 -59
- package/dist/SwitchFormComponent.vue_vue_type_script_setup_true_lang-XOBEs3pa.js +0 -39
- package/dist/TooltipProvider.vue_vue_type_script_setup_true_lang-DwIfCQjY.js +0 -28
- package/dist/alert-dialog.d.ts +0 -2
- package/dist/alert.d.ts +0 -2
- package/dist/background-grid.d.ts +0 -6
- package/dist/busy-indicator.d.ts +0 -2
- package/dist/busy.d.ts +0 -2
- package/dist/button.d.ts +0 -2
- package/dist/calendar.d.ts +0 -2
- package/dist/card.d.ts +0 -2
- package/dist/command.d.ts +0 -2
- package/dist/confirm-dialog.d.ts +0 -2
- package/dist/dashboard-shell.d.ts +0 -6
- package/dist/date-picker.d.ts +0 -6
- package/dist/dialog.d.ts +0 -2
- package/dist/field.d.ts +0 -2
- package/dist/index.d.ts +0 -28
- package/dist/index.js +0 -171
- package/dist/input.d.ts +0 -2
- package/dist/label.d.ts +0 -2
- package/dist/message-dialog.d.ts +0 -2
- package/dist/native-select.d.ts +0 -2
- package/dist/popover.d.ts +0 -2
- package/dist/select.d.ts +0 -2
- package/dist/separator.d.ts +0 -2
- package/dist/sheet.d.ts +0 -2
- package/dist/sidebar.d.ts +0 -2
- package/dist/skeleton.d.ts +0 -2
- package/dist/slider-form-component.d.ts +0 -6
- package/dist/slider.d.ts +0 -2
- package/dist/switch-form-component.d.ts +0 -6
- package/dist/switch.d.ts +0 -2
- package/dist/tooltip.d.ts +0 -2
- package/dist/utils.d.ts +0 -2
package/dist/separator.js
CHANGED
package/dist/sheet.js
CHANGED
|
@@ -1,12 +1,68 @@
|
|
|
1
|
-
import { _, a, b, c, d } from "./SheetTitle.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import {
|
|
1
|
+
import { _, a, b, c, d } from "./SheetTitle.vue_vue_type_script_setup_true_lang-fx9jbBwT.js";
|
|
2
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, normalizeClass } from "vue";
|
|
3
|
+
import { D as DialogClose_default } from "./DialogClose-DDtZ0Em0.js";
|
|
4
|
+
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
5
|
+
import { D as DialogTrigger_default } from "./DialogTrigger-CjJ8QNL_.js";
|
|
6
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "SheetClose",
|
|
8
|
+
props: {
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
return openBlock(), createBlock(unref(DialogClose_default), mergeProps({ "data-slot": "sheet-close" }, props), {
|
|
16
|
+
default: withCtx(() => [
|
|
17
|
+
renderSlot(_ctx.$slots, "default")
|
|
18
|
+
]),
|
|
19
|
+
_: 3
|
|
20
|
+
}, 16);
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
25
|
+
__name: "SheetFooter",
|
|
26
|
+
props: {
|
|
27
|
+
class: {}
|
|
28
|
+
},
|
|
29
|
+
setup(__props) {
|
|
30
|
+
const props = __props;
|
|
31
|
+
return (_ctx, _cache) => {
|
|
32
|
+
return openBlock(), createElementBlock("div", {
|
|
33
|
+
"data-slot": "sheet-footer",
|
|
34
|
+
class: normalizeClass(unref(cn)("mt-auto flex flex-col gap-2 p-4", props.class))
|
|
35
|
+
}, [
|
|
36
|
+
renderSlot(_ctx.$slots, "default")
|
|
37
|
+
], 2);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
|
+
__name: "SheetTrigger",
|
|
43
|
+
props: {
|
|
44
|
+
asChild: { type: Boolean },
|
|
45
|
+
as: {}
|
|
46
|
+
},
|
|
47
|
+
setup(__props) {
|
|
48
|
+
const props = __props;
|
|
49
|
+
return (_ctx, _cache) => {
|
|
50
|
+
return openBlock(), createBlock(unref(DialogTrigger_default), mergeProps({ "data-slot": "sheet-trigger" }, props), {
|
|
51
|
+
default: withCtx(() => [
|
|
52
|
+
renderSlot(_ctx.$slots, "default")
|
|
53
|
+
]),
|
|
54
|
+
_: 3
|
|
55
|
+
}, 16);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
3
59
|
export {
|
|
4
60
|
_ as Sheet,
|
|
5
|
-
|
|
61
|
+
_sfc_main$2 as SheetClose,
|
|
6
62
|
a as SheetContent,
|
|
7
63
|
b as SheetDescription,
|
|
8
|
-
|
|
64
|
+
_sfc_main$1 as SheetFooter,
|
|
9
65
|
c as SheetHeader,
|
|
10
66
|
d as SheetTitle,
|
|
11
|
-
|
|
67
|
+
_sfc_main as SheetTrigger
|
|
12
68
|
};
|
package/dist/sidebar.js
CHANGED
|
@@ -2,17 +2,17 @@ var _a;
|
|
|
2
2
|
import { c as cva } from "./index-FpH8cK6B.js";
|
|
3
3
|
import { defineComponent, openBlock, createElementBlock, mergeProps, unref, renderSlot, createBlock, withCtx, createVNode, normalizeStyle, createTextVNode, createElementVNode, normalizeClass, normalizeProps, guardReactiveProps, Fragment, toDisplayString, resolveDynamicComponent, computed, createCommentVNode, ref } from "vue";
|
|
4
4
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
5
|
-
import { _ as _sfc_main$o, a as _sfc_main$p, c as _sfc_main$q, d as _sfc_main$r, b as _sfc_main$s } from "./SheetTitle.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as _sfc_main$o, a as _sfc_main$p, c as _sfc_main$q, d as _sfc_main$r, b as _sfc_main$s } from "./SheetTitle.vue_vue_type_script_setup_true_lang-fx9jbBwT.js";
|
|
6
6
|
import { c as createContext } from "./useForwardPropsEmits-DmumnZO5.js";
|
|
7
7
|
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
8
|
-
import { _ as _sfc_main$t } from "./Input.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as _sfc_main$u, b as _sfc_main$v, a as _sfc_main$w, T as TooltipProvider_default } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as _sfc_main$t } from "./Input.vue_vue_type_script_setup_true_lang-6SfPeT8d.js";
|
|
9
|
+
import { _ as _sfc_main$u, b as _sfc_main$v, a as _sfc_main$w, T as TooltipProvider_default } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-DEPKysA_.js";
|
|
10
10
|
import { _ as _sfc_main$x } from "./Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js";
|
|
11
|
-
import { f as useMediaQuery, u as useVModel, b as useEventListener, g as defaultDocument } from "./index-
|
|
12
|
-
import { _ as _sfc_main$y } from "./Separator.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { f as useMediaQuery, u as useVModel, b as useEventListener, g as defaultDocument } from "./index-Cq9Ekgtb.js";
|
|
12
|
+
import { _ as _sfc_main$y } from "./Separator.vue_vue_type_script_setup_true_lang-CMRkdntA.js";
|
|
13
13
|
import { Button as _sfc_main$z } from "./button.js";
|
|
14
14
|
import { c as createLucideIcon } from "./createLucideIcon-CCMB2vDW.js";
|
|
15
|
-
import { r as reactiveOmit } from "./index-
|
|
15
|
+
import { r as reactiveOmit } from "./index-qGMU40e1.js";
|
|
16
16
|
/**
|
|
17
17
|
* @license lucide-vue-next v1.0.0 - ISC
|
|
18
18
|
*
|
|
@@ -1,5 +1,60 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString, createElementBlock, createCommentVNode, createVNode } from "vue";
|
|
2
|
+
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-6ol3rxy1.js";
|
|
3
|
+
import { _ as _sfc_main$2 } from "./Slider.vue_vue_type_script_setup_true_lang-C_CsSGAt.js";
|
|
4
|
+
const _hoisted_1 = { class: "flex items-center justify-between gap-3" };
|
|
5
|
+
const _hoisted_2 = { class: "space-y-2" };
|
|
6
|
+
const _hoisted_3 = { class: "text-sm font-medium" };
|
|
7
|
+
const _hoisted_4 = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "text-xs text-muted-foreground"
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_5 = { class: "rounded border border-border bg-background px-2 py-1 text-xs font-medium" };
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
|
+
__name: "SliderFormComponent",
|
|
14
|
+
props: {
|
|
15
|
+
id: { default: void 0 },
|
|
16
|
+
label: {},
|
|
17
|
+
description: { default: "" },
|
|
18
|
+
modelValue: {},
|
|
19
|
+
min: { default: 0 },
|
|
20
|
+
max: { default: 100 },
|
|
21
|
+
step: { default: 1 },
|
|
22
|
+
valueText: { default: "" }
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:modelValue"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const emits = __emit;
|
|
28
|
+
const sliderValue = computed(() => [props.modelValue]);
|
|
29
|
+
const resolvedValueText = computed(() => props.valueText || String(props.modelValue));
|
|
30
|
+
const handleUpdateModelValue = (value) => {
|
|
31
|
+
emits("update:modelValue", (value == null ? void 0 : value[0]) ?? props.min);
|
|
32
|
+
};
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return openBlock(), createBlock(unref(_sfc_main$1), { class: "space-y-3 px-4 py-4" }, {
|
|
35
|
+
default: withCtx(() => [
|
|
36
|
+
createElementVNode("div", _hoisted_1, [
|
|
37
|
+
createElementVNode("div", _hoisted_2, [
|
|
38
|
+
createElementVNode("div", _hoisted_3, toDisplayString(props.label), 1),
|
|
39
|
+
props.description ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(props.description), 1)) : createCommentVNode("", true)
|
|
40
|
+
]),
|
|
41
|
+
createElementVNode("span", _hoisted_5, toDisplayString(resolvedValueText.value), 1)
|
|
42
|
+
]),
|
|
43
|
+
createVNode(unref(_sfc_main$2), {
|
|
44
|
+
id: props.id,
|
|
45
|
+
"model-value": sliderValue.value,
|
|
46
|
+
min: props.min,
|
|
47
|
+
max: props.max,
|
|
48
|
+
step: props.step,
|
|
49
|
+
"onUpdate:modelValue": handleUpdateModelValue
|
|
50
|
+
}, null, 8, ["id", "model-value", "min", "max", "step"])
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
2
57
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
58
|
+
_sfc_main as SliderFormComponent,
|
|
59
|
+
_sfc_main as default
|
|
5
60
|
};
|
package/dist/slider.js
CHANGED