@brumaombra/ui-vintage 0.6.4 → 0.6.5

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.
@@ -24,6 +24,7 @@ interface DashboardShellProps {
24
24
  title?: string;
25
25
  description?: string;
26
26
  collapsible?: "offcanvas" | "icon" | "none";
27
+ compact?: boolean;
27
28
  sidebarSections?: DashboardSidebarSection[];
28
29
  sidebarLinkComponent?: Component | string;
29
30
  showBackground?: boolean;
@@ -49,6 +50,7 @@ declare const __VLS_component: import('vue').DefineComponent<DashboardShellProps
49
50
  title: string;
50
51
  description: string;
51
52
  collapsible: "offcanvas" | "icon" | "none";
53
+ compact: boolean;
52
54
  appName: string;
53
55
  appLogo: string;
54
56
  appLinkTo: string;
@@ -36,6 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  title: { default: "" },
37
37
  description: { default: "" },
38
38
  collapsible: { default: "offcanvas" },
39
+ compact: { type: Boolean, default: false },
39
40
  sidebarSections: { default: () => [] },
40
41
  sidebarLinkComponent: { default: "a" },
41
42
  showBackground: { type: Boolean, default: true },
@@ -62,7 +63,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
63
  return openBlock(), createBlock(unref(_sfc_main$1), null, {
63
64
  default: withCtx(() => [
64
65
  createVNode(unref(_sfc_main$2), {
65
- collapsible: props.collapsible
66
+ collapsible: props.collapsible,
67
+ compact: props.compact
66
68
  }, {
67
69
  default: withCtx(() => [
68
70
  props.appName || _ctx.$slots["sidebar-header"] ? (openBlock(), createBlock(unref(_sfc_main$3), {
@@ -183,7 +185,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
183
185
  })) : createCommentVNode("", true)
184
186
  ]),
185
187
  _: 3
186
- }, 8, ["collapsible"]),
188
+ }, 8, ["collapsible", "compact"]),
187
189
  createVNode(unref(_sfc_main$c), {
188
190
  class: normalizeClass(unref(cn)("relative min-h-screen min-w-0 bg-background text-foreground", props.insetClass))
189
191
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brumaombra/ui-vintage",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
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",