@brumaombra/ui-vintage 0.6.3 → 0.6.4

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 (46) hide show
  1. package/dist/{Busy-BaCc_Jo8.js → Busy-DRHkNObd.js} +2 -2
  2. package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-DdzS6YGM.js → CalendarPrevButton.vue_vue_type_script_setup_true_lang-D4jkKsDX.js} +3 -3
  3. package/dist/{DatePicker.vue_vue_type_script_setup_true_lang-C2Ug81pX.js → DatePicker.vue_vue_type_script_setup_true_lang-C_bocxOu.js} +1 -1
  4. package/dist/{DialogTitle.vue_vue_type_script_setup_true_lang-CycrzAMT.js → DialogTitle.vue_vue_type_script_setup_true_lang-B79YbKSf.js} +1 -1
  5. package/dist/{Input.vue_vue_type_script_setup_true_lang-BdjbS5s7.js → Input.vue_vue_type_script_setup_true_lang-KQETSF2I.js} +1 -1
  6. package/dist/{Label.vue_vue_type_script_setup_true_lang-CdLIMAdF.js → Label.vue_vue_type_script_setup_true_lang-BzHEIagR.js} +1 -1
  7. package/dist/{LandingFooter.vue_vue_type_script_setup_true_lang-B8TcoKDG.js → LandingFooter.vue_vue_type_script_setup_true_lang-Dxc03HyK.js} +3 -3
  8. package/dist/{LandingNavbar.vue_vue_type_script_setup_true_lang-0jX2tmdb.js → LandingNavbar.vue_vue_type_script_setup_true_lang-DDB1dSjS.js} +4 -0
  9. package/dist/{MessageToast-Bq8GKXzJ.js → MessageToast-DBztWhRL.js} +3 -3
  10. package/dist/{TimePicker.vue_vue_type_script_setup_true_lang-tbOoMfZu.js → TimePicker.vue_vue_type_script_setup_true_lang-CwuwDICo.js} +1 -1
  11. package/dist/badge.js +13 -3
  12. package/dist/busy-indicator.js +1 -1
  13. package/dist/busy.js +1 -1
  14. package/dist/button.js +1 -1
  15. package/dist/calendar.js +1 -1
  16. package/dist/command.js +2 -2
  17. package/dist/components/ui/badge/Badge.vue.d.ts +5 -0
  18. package/dist/components/ui/select/SelectContent.vue.d.ts +3 -0
  19. package/dist/components/ui/sidebar/Sidebar.vue.d.ts +1 -0
  20. package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +2 -0
  21. package/dist/components/ui/sidebar/index.d.ts +1 -0
  22. package/dist/dashboard-shell.js +1 -1
  23. package/dist/data-list.js +1 -1
  24. package/dist/date-picker.js +1 -1
  25. package/dist/date-time-picker.js +3 -3
  26. package/dist/dialog.js +1 -1
  27. package/dist/field.js +4 -4
  28. package/dist/input.js +1 -1
  29. package/dist/label.js +1 -1
  30. package/dist/landing-footer.js +1 -1
  31. package/dist/landing-navbar.js +1 -1
  32. package/dist/landing.js +2 -2
  33. package/dist/message-toast.js +1 -1
  34. package/dist/progress-component.js +2 -2
  35. package/dist/select.js +34 -33
  36. package/dist/sidebar.js +28 -25
  37. package/dist/single-value-card.js +1 -1
  38. package/dist/slider-form-component.js +2 -2
  39. package/dist/style.css +146 -32
  40. package/dist/switch-form-component.js +1 -1
  41. package/dist/table.js +1 -1
  42. package/dist/tabs.js +1 -1
  43. package/dist/text-link.js +1 -1
  44. package/dist/textarea.js +1 -1
  45. package/dist/time-picker.js +1 -1
  46. package/package.json +1 -1
package/dist/sidebar.js CHANGED
@@ -1,11 +1,11 @@
1
1
  var _a;
2
2
  import { c as cva } from "./index-FpH8cK6B.js";
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";
3
+ import { defineComponent, openBlock, createElementBlock, mergeProps, unref, renderSlot, createBlock, withCtx, createVNode, normalizeStyle, createTextVNode, createElementVNode, normalizeClass, normalizeProps, guardReactiveProps, Fragment, toDisplayString, resolveDynamicComponent, createCommentVNode, ref, computed } from "vue";
4
4
  import { c as cn } from "./utils-Bz4m9VPB.js";
5
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-Ja7-gmXd.js";
6
6
  import { c as createContext } from "./createContext-BabAT1K8.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-BdjbS5s7.js";
8
+ import { _ as _sfc_main$t } from "./Input.vue_vue_type_script_setup_true_lang-KQETSF2I.js";
9
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-BMdZRPa3.js";
10
10
  import { _ as _sfc_main$x } from "./Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js";
11
11
  import { g as useMediaQuery, a as useVModel, c as useEventListener, h as defaultDocument } from "./index-Dw56kNV0.js";
@@ -35,6 +35,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
35
35
  side: { default: "left" },
36
36
  variant: { default: "sidebar" },
37
37
  collapsible: { default: "offcanvas" },
38
+ compact: { type: Boolean, default: false },
38
39
  class: {}
39
40
  },
40
41
  setup(__props) {
@@ -50,7 +51,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
50
51
  return _ctx.collapsible === "none" ? (openBlock(), createElementBlock("div", mergeProps({
51
52
  key: 0,
52
53
  "data-slot": "sidebar",
53
- class: unref(cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
54
+ class: unref(cn)("group/sidebar-wrapper bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
54
55
  }, _ctx.$attrs), [
55
56
  renderSlot(_ctx.$slots, "default")
56
57
  ], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$o), mergeProps({
@@ -62,8 +63,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
62
63
  "data-sidebar": "sidebar",
63
64
  "data-slot": "sidebar",
64
65
  "data-mobile": "true",
66
+ "data-compact": props.compact ? "true" : "false",
65
67
  side: _ctx.side,
66
- class: "border-sidebar-border bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
68
+ class: "group/sidebar-wrapper border-sidebar-border bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
67
69
  style: normalizeStyle({
68
70
  "--sidebar-width": unref(SIDEBAR_WIDTH_MOBILE)
69
71
  })
@@ -94,12 +96,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
94
96
  ])
95
97
  ]),
96
98
  _: 3
97
- }, 8, ["side", "style"])
99
+ }, 8, ["data-compact", "side", "style"])
98
100
  ]),
99
101
  _: 3
100
102
  }, 16, ["open", "onUpdate:open"])) : (openBlock(), createElementBlock("div", {
101
103
  key: 2,
102
- class: "group peer text-sidebar-foreground hidden md:block",
104
+ class: "group/sidebar-wrapper group peer text-sidebar-foreground hidden md:block",
103
105
  "data-slot": "sidebar",
104
106
  "data-state": unref(state),
105
107
  "data-collapsible": unref(state) === "collapsed" ? _ctx.collapsible : "",
@@ -142,7 +144,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
142
144
  return openBlock(), createElementBlock("div", {
143
145
  "data-slot": "sidebar-content",
144
146
  "data-sidebar": "content",
145
- class: normalizeClass(unref(cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", props.class))
147
+ class: normalizeClass(unref(cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[collapsible=icon]:overflow-hidden", props.class))
146
148
  }, [
147
149
  renderSlot(_ctx.$slots, "default")
148
150
  ], 2);
@@ -160,7 +162,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
160
162
  return openBlock(), createElementBlock("div", {
161
163
  "data-slot": "sidebar-footer",
162
164
  "data-sidebar": "footer",
163
- class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2", props.class))
165
+ class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2 group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:p-2.5", props.class))
164
166
  }, [
165
167
  renderSlot(_ctx.$slots, "default")
166
168
  ], 2);
@@ -178,7 +180,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
178
180
  return openBlock(), createElementBlock("div", {
179
181
  "data-slot": "sidebar-group",
180
182
  "data-sidebar": "group",
181
- class: normalizeClass(unref(cn)("relative flex w-full min-w-0 flex-col p-2", props.class))
183
+ class: normalizeClass(unref(cn)("relative flex w-full min-w-0 flex-col p-2 group-data-[compact=true]/sidebar-wrapper:p-2.5", props.class))
182
184
  }, [
183
185
  renderSlot(_ctx.$slots, "default")
184
186
  ], 2);
@@ -249,7 +251,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
249
251
  as: _ctx.as,
250
252
  "as-child": _ctx.asChild,
251
253
  class: normalizeClass(unref(cn)(
252
- "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
254
+ "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-semibold outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 group-data-[compact=true]/sidebar-wrapper:h-7 group-data-[compact=true]/sidebar-wrapper:px-1.5 [&>svg]:size-4 [&>svg]:shrink-0",
253
255
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
254
256
  props.class
255
257
  ))
@@ -273,7 +275,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
273
275
  return openBlock(), createElementBlock("div", {
274
276
  "data-slot": "sidebar-header",
275
277
  "data-sidebar": "header",
276
- class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2", props.class))
278
+ class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2 group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:p-2.5", props.class))
277
279
  }, [
278
280
  renderSlot(_ctx.$slots, "default")
279
281
  ], 2);
@@ -292,7 +294,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
292
294
  "data-slot": "sidebar-input",
293
295
  "data-sidebar": "input",
294
296
  class: normalizeClass(unref(cn)(
295
- "bg-background h-8 w-full shadow-none",
297
+ "bg-background h-8 w-full shadow-none group-data-[compact=true]/sidebar-wrapper:h-7 group-data-[compact=true]/sidebar-wrapper:text-xs",
296
298
  props.class
297
299
  ))
298
300
  }, {
@@ -363,6 +365,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
363
365
  "peer-data-[size=sm]/menu-button:top-1",
364
366
  "peer-data-[size=default]/menu-button:top-1.5",
365
367
  "peer-data-[size=lg]/menu-button:top-2.5",
368
+ "group-data-[compact=true]/sidebar-wrapper:top-1",
366
369
  "group-data-[collapsible=icon]:hidden",
367
370
  _ctx.showOnHover && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
368
371
  props.class
@@ -390,11 +393,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
390
393
  "data-slot": "sidebar-menu-badge",
391
394
  "data-sidebar": "menu-badge",
392
395
  class: normalizeClass(unref(cn)(
393
- "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
396
+ "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-semibold tabular-nums select-none",
394
397
  "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
395
398
  "peer-data-[size=sm]/menu-button:top-1",
396
399
  "peer-data-[size=default]/menu-button:top-1.5",
397
400
  "peer-data-[size=lg]/menu-button:top-2.5",
401
+ "group-data-[compact=true]/sidebar-wrapper:top-1",
398
402
  "group-data-[collapsible=icon]:hidden",
399
403
  props.class
400
404
  ))
@@ -507,6 +511,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
507
511
  };
508
512
  }
509
513
  });
514
+ const width = "72%";
510
515
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
511
516
  __name: "SidebarMenuSkeleton",
512
517
  props: {
@@ -515,24 +520,21 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
515
520
  },
516
521
  setup(__props) {
517
522
  const props = __props;
518
- const width = computed(() => {
519
- return `${Math.floor(Math.random() * 40) + 50}%`;
520
- });
521
523
  return (_ctx, _cache) => {
522
524
  return openBlock(), createElementBlock("div", {
523
525
  "data-slot": "sidebar-menu-skeleton",
524
526
  "data-sidebar": "menu-skeleton",
525
- class: normalizeClass(unref(cn)("flex h-8 items-center gap-2 rounded-md px-2", props.class))
527
+ class: normalizeClass(unref(cn)("flex h-8 items-center gap-2 rounded-md px-2 group-data-[compact=true]/sidebar-wrapper:h-7 group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:px-1.5", props.class))
526
528
  }, [
527
529
  _ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$x), {
528
530
  key: 0,
529
- class: "size-4 rounded-md",
531
+ class: "size-4 rounded-md group-data-[compact=true]/sidebar-wrapper:size-3.5",
530
532
  "data-sidebar": "menu-skeleton-icon"
531
533
  })) : createCommentVNode("", true),
532
534
  createVNode(unref(_sfc_main$x), {
533
535
  class: "h-4 max-w-(--skeleton-width) flex-1",
534
536
  "data-sidebar": "menu-skeleton-text",
535
- style: normalizeStyle({ "--skeleton-width": width.value })
537
+ style: normalizeStyle({ "--skeleton-width": width })
536
538
  }, null, 8, ["style"])
537
539
  ], 2);
538
540
  };
@@ -580,10 +582,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
580
582
  "data-size": _ctx.size,
581
583
  "data-active": _ctx.isActive,
582
584
  class: normalizeClass(unref(cn)(
583
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
585
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex min-h-7 min-w-0 -translate-x-px items-center gap-2 rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[compact=true]/sidebar-wrapper:min-h-6 group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:px-1.5 group-data-[compact=true]/sidebar-wrapper:[&>svg]:size-3.5 [&>svg]:size-4 [&>svg]:shrink-0",
584
586
  "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
585
587
  _ctx.size === "sm" && "text-xs",
586
- _ctx.size === "md" && "text-sm",
588
+ _ctx.size === "md" && "text-sm group-data-[compact=true]/sidebar-wrapper:text-xs",
587
589
  "group-data-[collapsible=icon]:hidden",
588
590
  props.class
589
591
  ))
@@ -619,6 +621,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
619
621
  props: {
620
622
  defaultOpen: { type: Boolean, default: !((_a = defaultDocument) == null ? void 0 : _a.cookie.includes(`${SIDEBAR_COOKIE_NAME}=false`)) },
621
623
  open: { type: Boolean, default: void 0 },
624
+ compact: { type: Boolean, default: false },
622
625
  class: {}
623
626
  },
624
627
  emits: ["update:open"],
@@ -756,7 +759,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
756
759
  }
757
760
  });
758
761
  const sidebarMenuButtonVariants = cva(
759
- "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
762
+ "peer/menu-button flex w-full items-center gap-2 rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,min-height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-semibold data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:p-2.5 group-data-[compact=true]/sidebar-wrapper:[&>svg]:size-3.5 [&>svg]:size-4 [&>svg]:shrink-0",
760
763
  {
761
764
  variants: {
762
765
  variant: {
@@ -764,9 +767,9 @@ const sidebarMenuButtonVariants = cva(
764
767
  outline: "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
765
768
  },
766
769
  size: {
767
- default: "h-8 text-sm",
768
- sm: "h-7 text-xs",
769
- lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
770
+ default: "min-h-8 text-sm group-data-[compact=true]/sidebar-wrapper:min-h-7 group-data-[compact=true]/sidebar-wrapper:text-xs",
771
+ sm: "min-h-7 text-xs group-data-[compact=true]/sidebar-wrapper:min-h-6",
772
+ lg: "min-h-12 text-sm group-data-[compact=true]/sidebar-wrapper:min-h-10 group-data-[collapsible=icon]:p-0!"
770
773
  }
771
774
  },
772
775
  defaultVariants: {
@@ -3,7 +3,7 @@ import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
3
3
  import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-DwBhZuSq.js";
4
4
  import { _ as _sfc_main$2 } from "./CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js";
5
5
  const _hoisted_1 = { class: "flex flex-col" };
6
- const _hoisted_2 = { class: "mb-1 text-xs font-medium text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)]" };
6
+ const _hoisted_2 = { class: "mb-1 text-xs font-semibold text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)]" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "SingleValueCard",
9
9
  props: {
@@ -3,12 +3,12 @@ import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-DwB
3
3
  import { _ as _sfc_main$2 } from "./Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js";
4
4
  const _hoisted_1 = { class: "flex items-center justify-between gap-3" };
5
5
  const _hoisted_2 = { class: "space-y-2" };
6
- const _hoisted_3 = { class: "text-sm font-medium" };
6
+ const _hoisted_3 = { class: "text-sm font-semibold" };
7
7
  const _hoisted_4 = {
8
8
  key: 0,
9
9
  class: "text-xs text-muted-foreground"
10
10
  };
11
- const _hoisted_5 = { class: "rounded border border-border bg-background px-2 py-1 text-xs font-medium" };
11
+ const _hoisted_5 = { class: "rounded border border-border bg-background px-2 py-1 text-xs font-semibold" };
12
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  __name: "SliderFormComponent",
14
14
  props: {
package/dist/style.css CHANGED
@@ -1,10 +1,10 @@
1
1
 
2
- .busy-fade-enter-active[data-v-17fe0986],
3
- .busy-fade-leave-active[data-v-17fe0986] {
2
+ .busy-fade-enter-active[data-v-642423ef],
3
+ .busy-fade-leave-active[data-v-642423ef] {
4
4
  transition: opacity 0.3s ease-out;
5
5
  }
6
- .busy-fade-enter-from[data-v-17fe0986],
7
- .busy-fade-leave-to[data-v-17fe0986] {
6
+ .busy-fade-enter-from[data-v-642423ef],
7
+ .busy-fade-leave-to[data-v-642423ef] {
8
8
  opacity: 0;
9
9
  }
10
10
  /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@@ -169,7 +169,6 @@
169
169
  --text-4xl: 2.25rem;
170
170
  --text-4xl--line-height: calc(2.5 / 2.25);
171
171
  --font-weight-normal: 400;
172
- --font-weight-medium: 500;
173
172
  --font-weight-semibold: 600;
174
173
  --font-weight-bold: 700;
175
174
  --tracking-tight: -.025em;
@@ -610,6 +609,10 @@
610
609
  z-index: 50;
611
610
  }
612
611
 
612
+ .z-\[60\] {
613
+ z-index: 60;
614
+ }
615
+
613
616
  .col-start-2 {
614
617
  grid-column-start: 2;
615
618
  }
@@ -987,6 +990,14 @@
987
990
  min-height: calc(var(--spacing) * 4);
988
991
  }
989
992
 
993
+ .min-h-7 {
994
+ min-height: calc(var(--spacing) * 7);
995
+ }
996
+
997
+ .min-h-8 {
998
+ min-height: calc(var(--spacing) * 8);
999
+ }
1000
+
990
1001
  .min-h-9 {
991
1002
  min-height: calc(var(--spacing) * 9);
992
1003
  }
@@ -1318,6 +1329,10 @@
1318
1329
  gap: calc(var(--spacing) * 0);
1319
1330
  }
1320
1331
 
1332
+ .gap-0\.5 {
1333
+ gap: calc(var(--spacing) * .5);
1334
+ }
1335
+
1321
1336
  .gap-1 {
1322
1337
  gap: calc(var(--spacing) * 1);
1323
1338
  }
@@ -1951,11 +1966,6 @@
1951
1966
  font-weight: var(--font-weight-bold);
1952
1967
  }
1953
1968
 
1954
- .font-medium {
1955
- --tw-font-weight: var(--font-weight-medium);
1956
- font-weight: var(--font-weight-medium);
1957
- }
1958
-
1959
1969
  .font-normal {
1960
1970
  --tw-font-weight: var(--font-weight-normal);
1961
1971
  font-weight: var(--font-weight-normal);
@@ -1994,6 +2004,10 @@
1994
2004
  overflow-wrap: break-word;
1995
2005
  }
1996
2006
 
2007
+ .whitespace-normal {
2008
+ white-space: normal;
2009
+ }
2010
+
1997
2011
  .whitespace-nowrap {
1998
2012
  white-space: nowrap;
1999
2013
  }
@@ -2277,8 +2291,8 @@
2277
2291
  transition-duration: var(--tw-duration, var(--default-transition-duration));
2278
2292
  }
2279
2293
 
2280
- .transition-\[width\,height\,padding\] {
2281
- transition-property: width, height, padding;
2294
+ .transition-\[width\,min-height\,padding\] {
2295
+ transition-property: width, min-height, padding;
2282
2296
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
2283
2297
  transition-duration: var(--tw-duration, var(--default-transition-duration));
2284
2298
  }
@@ -2432,6 +2446,48 @@
2432
2446
  translate: var(--tw-translate-x) var(--tw-translate-y);
2433
2447
  }
2434
2448
 
2449
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:top-1:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2450
+ top: calc(var(--spacing) * 1);
2451
+ }
2452
+
2453
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:size-3\.5:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2454
+ width: calc(var(--spacing) * 3.5);
2455
+ height: calc(var(--spacing) * 3.5);
2456
+ }
2457
+
2458
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:h-7:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2459
+ height: calc(var(--spacing) * 7);
2460
+ }
2461
+
2462
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:min-h-6:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2463
+ min-height: calc(var(--spacing) * 6);
2464
+ }
2465
+
2466
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:min-h-7:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2467
+ min-height: calc(var(--spacing) * 7);
2468
+ }
2469
+
2470
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:min-h-10:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2471
+ min-height: calc(var(--spacing) * 10);
2472
+ }
2473
+
2474
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:gap-1\.5:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2475
+ gap: calc(var(--spacing) * 1.5);
2476
+ }
2477
+
2478
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:p-2\.5:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2479
+ padding: calc(var(--spacing) * 2.5);
2480
+ }
2481
+
2482
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:px-1\.5:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2483
+ padding-inline: calc(var(--spacing) * 1.5);
2484
+ }
2485
+
2486
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:text-xs:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) {
2487
+ font-size: var(--text-xs);
2488
+ line-height: var(--tw-leading, var(--text-xs--line-height));
2489
+ }
2490
+
2435
2491
  .group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled="true"] *) {
2436
2492
  pointer-events: none;
2437
2493
  }
@@ -2552,9 +2608,9 @@
2552
2608
  line-height: var(--tw-leading, var(--text-sm--line-height));
2553
2609
  }
2554
2610
 
2555
- .file\:font-medium::file-selector-button {
2556
- --tw-font-weight: var(--font-weight-medium);
2557
- font-weight: var(--font-weight-medium);
2611
+ .file\:font-semibold::file-selector-button {
2612
+ --tw-font-weight: var(--font-weight-semibold);
2613
+ font-weight: var(--font-weight-semibold);
2558
2614
  }
2559
2615
 
2560
2616
  .file\:text-foreground::file-selector-button {
@@ -2814,10 +2870,6 @@
2814
2870
  outline-width: 1px;
2815
2871
  }
2816
2872
 
2817
- .focus-visible\:outline-ring:focus-visible {
2818
- outline-color: var(--ring);
2819
- }
2820
-
2821
2873
  .focus-visible\:outline-none:focus-visible {
2822
2874
  --tw-outline-style: none;
2823
2875
  outline-style: none;
@@ -2979,9 +3031,9 @@
2979
3031
  background-color: var(--sidebar-accent);
2980
3032
  }
2981
3033
 
2982
- .data-\[active\=true\]\:font-medium[data-active="true"] {
2983
- --tw-font-weight: var(--font-weight-medium);
2984
- font-weight: var(--font-weight-medium);
3034
+ .data-\[active\=true\]\:font-semibold[data-active="true"] {
3035
+ --tw-font-weight: var(--font-weight-semibold);
3036
+ font-weight: var(--font-weight-semibold);
2985
3037
  }
2986
3038
 
2987
3039
  .data-\[active\=true\]\:text-\[var\(--text-primary-light\)\][data-active="true"] {
@@ -3327,6 +3379,40 @@
3327
3379
  margin-top: calc(var(--spacing) * -1);
3328
3380
  }
3329
3381
 
3382
+ @media not all and (min-width: 40rem) {
3383
+ .max-sm\:\[display\:-webkit-box\] {
3384
+ display: -webkit-box;
3385
+ }
3386
+
3387
+ .max-sm\:w-\[calc\(100vw-1rem\)\] {
3388
+ width: calc(100vw - 1rem);
3389
+ }
3390
+
3391
+ .max-sm\:max-w-\[calc\(100vw-1rem\)\] {
3392
+ max-width: calc(100vw - 1rem);
3393
+ }
3394
+
3395
+ .max-sm\:min-w-0 {
3396
+ min-width: calc(var(--spacing) * 0);
3397
+ }
3398
+
3399
+ .max-sm\:\[overflow\:hidden\] {
3400
+ overflow: hidden;
3401
+ }
3402
+
3403
+ .max-sm\:\[-webkit-box-orient\:vertical\] {
3404
+ -webkit-box-orient: vertical;
3405
+ }
3406
+
3407
+ .max-sm\:\[-webkit-line-clamp\:2\] {
3408
+ -webkit-line-clamp: 2;
3409
+ }
3410
+
3411
+ .max-sm\:\[-webkit-line-clamp\:3\] {
3412
+ -webkit-line-clamp: 3;
3413
+ }
3414
+ }
3415
+
3330
3416
  @media (min-width: 40rem) {
3331
3417
  .sm\:inset-x-auto {
3332
3418
  inset-inline: auto;
@@ -3360,6 +3446,11 @@
3360
3446
  display: inline;
3361
3447
  }
3362
3448
 
3449
+ .sm\:size-4 {
3450
+ width: calc(var(--spacing) * 4);
3451
+ height: calc(var(--spacing) * 4);
3452
+ }
3453
+
3363
3454
  .sm\:size-9 {
3364
3455
  width: calc(var(--spacing) * 9);
3365
3456
  height: calc(var(--spacing) * 9);
@@ -3394,6 +3485,10 @@
3394
3485
  width: auto;
3395
3486
  }
3396
3487
 
3488
+ .sm\:max-w-\[30rem\] {
3489
+ max-width: 30rem;
3490
+ }
3491
+
3397
3492
  .sm\:max-w-\[350px\] {
3398
3493
  max-width: 350px;
3399
3494
  }
@@ -3462,6 +3557,10 @@
3462
3557
  gap: calc(var(--spacing) * 1);
3463
3558
  }
3464
3559
 
3560
+ .sm\:gap-2 {
3561
+ gap: calc(var(--spacing) * 2);
3562
+ }
3563
+
3465
3564
  .sm\:gap-2\.5 {
3466
3565
  gap: calc(var(--spacing) * 2.5);
3467
3566
  }
@@ -3482,6 +3581,12 @@
3482
3581
  align-self: flex-start;
3483
3582
  }
3484
3583
 
3584
+ .sm\:truncate {
3585
+ text-overflow: ellipsis;
3586
+ white-space: nowrap;
3587
+ overflow: hidden;
3588
+ }
3589
+
3485
3590
  .sm\:px-4 {
3486
3591
  padding-inline: calc(var(--spacing) * 4);
3487
3592
  }
@@ -3523,6 +3628,16 @@
3523
3628
  font-size: var(--text-sm);
3524
3629
  line-height: var(--tw-leading, var(--text-sm--line-height));
3525
3630
  }
3631
+
3632
+ .sm\:text-xs {
3633
+ font-size: var(--text-xs);
3634
+ line-height: var(--tw-leading, var(--text-xs--line-height));
3635
+ }
3636
+
3637
+ .sm\:leading-5 {
3638
+ --tw-leading: calc(var(--spacing) * 5);
3639
+ line-height: calc(var(--spacing) * 5);
3640
+ }
3526
3641
  }
3527
3642
 
3528
3643
  @media (min-width: 48rem) {
@@ -4309,12 +4424,6 @@
4309
4424
  display: none;
4310
4425
  }
4311
4426
 
4312
- .\[\&\>span\:last-child\]\:truncate > span:last-child {
4313
- text-overflow: ellipsis;
4314
- white-space: nowrap;
4315
- overflow: hidden;
4316
- }
4317
-
4318
4427
  .\[\&\>svg\]\:size-3\.5 > svg {
4319
4428
  width: calc(var(--spacing) * 3.5);
4320
4429
  height: calc(var(--spacing) * 3.5);
@@ -4342,6 +4451,11 @@
4342
4451
  color: var(--sidebar-accent-foreground);
4343
4452
  }
4344
4453
 
4454
+ .group-data-\[compact\=true\]\/sidebar-wrapper\:\[\&\>svg\]\:size-3\.5:is(:where(.group\/sidebar-wrapper)[data-compact="true"] *) > svg {
4455
+ width: calc(var(--spacing) * 3.5);
4456
+ height: calc(var(--spacing) * 3.5);
4457
+ }
4458
+
4345
4459
  .\[\&\>tr\]\:last\:border-b-0 > tr:last-child {
4346
4460
  border-bottom-style: var(--tw-border-style);
4347
4461
  border-bottom-width: 0;
@@ -4996,15 +5110,15 @@ body {
4996
5110
  }
4997
5111
  }
4998
5112
 
4999
- .toast-enter-active[data-v-f8ab11a2],
5000
- .toast-leave-active[data-v-f8ab11a2] {
5113
+ .toast-enter-active[data-v-09cd0f70],
5114
+ .toast-leave-active[data-v-09cd0f70] {
5001
5115
  transition: all 0.3s ease-in-out;
5002
5116
  }
5003
- .toast-enter-from[data-v-f8ab11a2] {
5117
+ .toast-enter-from[data-v-09cd0f70] {
5004
5118
  transform: translateY(100%);
5005
5119
  opacity: 0;
5006
5120
  }
5007
- .toast-leave-to[data-v-f8ab11a2] {
5121
+ .toast-leave-to[data-v-09cd0f70] {
5008
5122
  transform: translateY(8px);
5009
5123
  opacity: 0;
5010
5124
  }
@@ -2,7 +2,7 @@ import { defineComponent, openBlock, createBlock, unref, withCtx, createElementV
2
2
  import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-DwBhZuSq.js";
3
3
  import { _ as _sfc_main$2 } from "./Switch.vue_vue_type_script_setup_true_lang-C8mqOepU.js";
4
4
  const _hoisted_1 = { class: "space-y-2" };
5
- const _hoisted_2 = { class: "text-sm font-medium" };
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({
8
8
  __name: "SwitchFormComponent",
package/dist/table.js CHANGED
@@ -139,7 +139,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
139
139
  return (_ctx, _cache) => {
140
140
  return openBlock(), createElementBlock("tfoot", {
141
141
  "data-slot": "table-footer",
142
- class: normalizeClass(unref(cn)("bg-muted/50 border-t border-border font-medium [&>tr]:last:border-b-0", props.class))
142
+ class: normalizeClass(unref(cn)("bg-muted/50 border-t border-border font-semibold [&>tr]:last:border-b-0", props.class))
143
143
  }, [
144
144
  renderSlot(_ctx.$slots, "default")
145
145
  ], 2);
package/dist/tabs.js CHANGED
@@ -638,7 +638,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
638
638
  return openBlock(), createBlock(unref(TabsTrigger_default), mergeProps({
639
639
  "data-slot": "tabs-trigger",
640
640
  class: unref(cn)(
641
- "text-muted-foreground hover:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring inline-flex min-h-9 flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-sm border border-transparent bg-transparent px-4 py-2 text-sm font-medium whitespace-nowrap transition-colors duration-300 ease-in-out focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:cursor-pointer data-[state=active]:border-foreground data-[state=active]:bg-muted data-[state=active]:font-semibold data-[state=active]:outline-1 data-[state=active]:outline-border data-[state=active]:outline-offset-0 data-[state=active]:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
641
+ "text-muted-foreground hover:text-foreground focus-visible:outline-none inline-flex min-h-9 flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-sm border border-transparent bg-transparent px-4 py-2 text-sm font-semibold whitespace-nowrap transition-colors duration-300 ease-in-out disabled:pointer-events-none disabled:opacity-50 data-[state=active]:cursor-pointer data-[state=active]:border-foreground data-[state=active]:bg-muted data-[state=active]:font-semibold data-[state=active]:outline-1 data-[state=active]:outline-border data-[state=active]:outline-offset-0 data-[state=active]:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
642
642
  props.class
643
643
  )
644
644
  }, unref(forwardedProps)), {
package/dist/text-link.js CHANGED
@@ -22,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  };
23
23
  return (_ctx, _cache) => {
24
24
  return openBlock(), createBlock(resolveDynamicComponent(props.linkComponent), mergeProps(getLinkProps(), {
25
- class: "cursor-pointer font-medium text-[var(--text-primary-light)] hover:underline dark:text-[var(--text-primary-dark)]",
25
+ class: "cursor-pointer font-semibold text-[var(--text-primary-light)] hover:underline dark:text-[var(--text-primary-dark)]",
26
26
  onClick: handleClick
27
27
  }), {
28
28
  default: withCtx(() => [
package/dist/textarea.js CHANGED
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
22
22
  "data-slot": "textarea",
23
23
  class: normalizeClass(unref(cn)(
24
- "selection:bg-primary selection:text-primary-foreground flex field-sizing-content min-h-[120px] w-full min-w-0 rounded border border-(--border-light) bg-(--button-secondary-light) px-4 py-3 text-xs font-medium text-(--text-primary-light) outline-none transition-all duration-300 ease-in-out placeholder:text-(--text-secondary-light) placeholder:opacity-60 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-60 dark:border-(--border-dark) dark:bg-(--button-secondary-dark) dark:text-(--text-primary-dark) dark:placeholder:text-(--text-secondary-dark) sm:text-sm",
24
+ "selection:bg-primary selection:text-primary-foreground flex field-sizing-content min-h-[120px] w-full min-w-0 rounded border border-(--border-light) bg-(--button-secondary-light) px-4 py-3 text-xs font-semibold text-(--text-primary-light) outline-none transition-all duration-300 ease-in-out placeholder:text-(--text-secondary-light) placeholder:opacity-60 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-60 dark:border-(--border-dark) dark:bg-(--button-secondary-dark) dark:text-(--text-primary-dark) dark:placeholder:text-(--text-secondary-dark) sm:text-sm",
25
25
  "focus-visible:border-(--border-hover-light) focus-visible:ring-0 dark:focus-visible:border-(--border-hover-dark)",
26
26
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
27
27
  props.class
@@ -1,4 +1,4 @@
1
- import { _, _ as _2 } from "./TimePicker.vue_vue_type_script_setup_true_lang-tbOoMfZu.js";
1
+ import { _, _ as _2 } from "./TimePicker.vue_vue_type_script_setup_true_lang-CwuwDICo.js";
2
2
  export {
3
3
  _ as TimePicker,
4
4
  _2 as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brumaombra/ui-vintage",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
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",