@brumaombra/ui-vintage 0.6.6 → 0.6.7

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/card.js CHANGED
@@ -31,7 +31,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
31
31
  return (_ctx, _cache) => {
32
32
  return openBlock(), createElementBlock("p", {
33
33
  "data-slot": "card-description",
34
- class: normalizeClass(unref(cn)("text-muted-foreground text-xs sm:text-sm", props.class))
34
+ class: normalizeClass(unref(cn)("text-muted-foreground text-xs sm:text-sm leading-5", props.class))
35
35
  }, [
36
36
  renderSlot(_ctx.$slots, "default")
37
37
  ], 2);
@@ -48,7 +48,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48
48
  return (_ctx, _cache) => {
49
49
  return openBlock(), createElementBlock("div", {
50
50
  "data-slot": "card-header",
51
- class: normalizeClass(unref(cn)("@container/card-header grid auto-rows-min items-start px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", props.class))
51
+ class: normalizeClass(unref(cn)("@container/card-header grid auto-rows-min items-start px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6 gap-2", props.class))
52
52
  }, [
53
53
  renderSlot(_ctx.$slots, "default")
54
54
  ], 2);
package/dist/field.js CHANGED
@@ -58,7 +58,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
58
58
  return openBlock(), createElementBlock("p", {
59
59
  "data-slot": "field-description",
60
60
  class: normalizeClass(unref(cn)(
61
- "text-xs leading-6 font-normal text-(--text-secondary-light) dark:text-(--text-secondary-dark) group-has-[[data-orientation=horizontal]]/field:text-balance",
61
+ "!text-xs sm:!text-xs leading-5 font-normal text-(--text-secondary-light) dark:text-(--text-secondary-dark) group-has-[[data-orientation=horizontal]]/field:text-balance",
62
62
  "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",
63
63
  "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
64
64
  props.class
@@ -102,7 +102,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
102
102
  key: 0,
103
103
  role: "alert",
104
104
  "data-slot": "field-error",
105
- class: normalizeClass(unref(cn)("text-destructive text-sm font-normal", props.class))
105
+ class: normalizeClass(unref(cn)("text-destructive text-xs font-normal", props.class))
106
106
  }, [
107
107
  _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : typeof content.value === "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
108
108
  createTextVNode(toDisplayString(content.value), 1)
package/dist/style.css CHANGED
@@ -1383,12 +1383,6 @@
1383
1383
  margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
1384
1384
  }
1385
1385
 
1386
- :where(.space-y-6 > :not(:last-child)) {
1387
- --tw-space-y-reverse: 0;
1388
- margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
1389
- margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
1390
- }
1391
-
1392
1386
  :where(.space-y-8 > :not(:last-child)) {
1393
1387
  --tw-space-y-reverse: 0;
1394
1388
  margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
@@ -1878,6 +1872,11 @@
1878
1872
  vertical-align: top;
1879
1873
  }
1880
1874
 
1875
+ .\!text-xs {
1876
+ font-size: var(--text-xs) !important;
1877
+ line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
1878
+ }
1879
+
1881
1880
  .text-2xl {
1882
1881
  font-size: var(--text-2xl);
1883
1882
  line-height: var(--tw-leading, var(--text-2xl--line-height));
@@ -3541,6 +3540,10 @@
3541
3540
  justify-content: flex-start;
3542
3541
  }
3543
3542
 
3543
+ .sm\:\!gap-3 {
3544
+ gap: calc(var(--spacing) * 3) !important;
3545
+ }
3546
+
3544
3547
  .sm\:\!gap-6 {
3545
3548
  gap: calc(var(--spacing) * 6) !important;
3546
3549
  }
@@ -3615,6 +3618,11 @@
3615
3618
  text-align: left;
3616
3619
  }
3617
3620
 
3621
+ .sm\:\!text-xs {
3622
+ font-size: var(--text-xs) !important;
3623
+ line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
3624
+ }
3625
+
3618
3626
  .sm\:text-base {
3619
3627
  font-size: var(--text-base);
3620
3628
  line-height: var(--tw-leading, var(--text-base--line-height));
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString, createVNode } from "vue";
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
- const _hoisted_1 = { class: "space-y-2" };
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-row items-center justify-between gap-4 px-4 py-3" }, {
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
- createElementVNode("div", _hoisted_3, toDisplayString(props.description), 1)
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
- createVNode(unref(_sfc_main$2), {
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brumaombra/ui-vintage",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
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",