@brumaombra/ui-vintage 0.7.4 → 0.7.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brumaombra/ui-vintage",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "description": "Source-published Nuxt UI runtime with shared theme tokens and built-in Nuxt integrations.",
5
5
  "private": false,
6
6
  "author": "Mauro Brambilla",
@@ -120,7 +120,7 @@
120
120
  "clsx": "2.1.1",
121
121
  "reka-ui": "2.9.2",
122
122
  "tailwind-merge": "3.5.0",
123
- "tailwindcss": "4.2.2",
123
+ "tailwindcss": "4.2.4",
124
124
  "tw-animate-css": "1.4.0"
125
125
  },
126
126
  "devDependencies": {
@@ -7,6 +7,7 @@ interface LandingNavbarProps {
7
7
  appName?: string;
8
8
  appLogo?: string;
9
9
  appLinkTo?: string;
10
+ logoClass?: HTMLAttributes["class"];
10
11
  class?: HTMLAttributes["class"];
11
12
  containerClass?: HTMLAttributes["class"];
12
13
  leftClass?: HTMLAttributes["class"];
@@ -29,7 +30,7 @@ const props = withDefaults(defineProps<LandingNavbarProps>(), {
29
30
  <slot name="left">
30
31
  <a :href="props.appLinkTo" class="inline-flex items-center gap-2 transition-opacity hover:opacity-80">
31
32
  <!-- App logo -->
32
- <NuxtImg v-if="props.appLogo" :src="props.appLogo" :alt="`${props.appName} logo`" width="44" height="44" :sizes="{ 320: '44px', 640: '36px' }" loading="eager" fetchpriority="high" preload class="size-11 sm:size-9 shrink-0 object-contain" />
33
+ <NuxtImg v-if="props.appLogo" :src="props.appLogo" :alt="`${props.appName} logo`" width="44" height="44" :sizes="{ 320: '44px', 640: '36px' }" loading="eager" fetchpriority="high" :class="cn('size-11 sm:size-9 shrink-0 object-contain', props.logoClass)" />
33
34
 
34
35
  <!-- App name -->
35
36
  <span v-if="props.appName" class="hidden sm:!inline text-xl font-bold tracking-tight text-foreground">
@@ -39,7 +39,7 @@ const handleUpdateModelValue = (value?: number[]) => {
39
39
  </script>
40
40
 
41
41
  <template>
42
- <Card class="space-y-3 px-4 py-4">
42
+ <Card class="px-4 py-4">
43
43
  <!-- Slider header -->
44
44
  <div class="flex items-center justify-between gap-3">
45
45
  <!-- Label and description block -->
@@ -14,7 +14,7 @@ const props = withDefaults(defineProps<PrimitiveProps & { class?: HTMLAttributes
14
14
  data-slot="breadcrumb-link"
15
15
  :as="as"
16
16
  :as-child="asChild"
17
- :class="cn('hover:text-foreground transition-colors', props.class)"
17
+ :class="cn('text-muted-foreground hover:underline', props.class)"
18
18
  >
19
19
  <slot />
20
20
  </Primitive>
@@ -27,10 +27,10 @@ export const buttonVariants: (props?: ButtonVariants & ClassProp) => string = cv
27
27
  size: {
28
28
  "default": "min-h-12 px-4 py-3 has-[>svg]:px-3",
29
29
  "sm": "min-h-10 gap-1.5 px-3 py-2 has-[>svg]:px-2.5",
30
- "lg": "min-h-12 px-6 py-3 has-[>svg]:px-4",
30
+ "lg": "min-h-[52px] px-4 py-3 has-[>svg]:px-4",
31
31
  "icon": "size-12",
32
32
  "icon-sm": "size-10",
33
- "icon-lg": "size-12",
33
+ "icon-lg": "size-[52px]",
34
34
  },
35
35
  },
36
36
  defaultVariants: {
@@ -13,7 +13,7 @@ const forwardedProps = useForwardProps(delegatedProps)
13
13
  </script>
14
14
 
15
15
  <template>
16
- <DialogDescription data-slot="dialog-description" v-bind="forwardedProps" :class="cn('text-xs sm:text-sm leading-6 text-muted-foreground', props.class)">
16
+ <DialogDescription data-slot="dialog-description" v-bind="forwardedProps" :class="cn('text-xs sm:text-sm leading-5 text-muted-foreground', props.class)">
17
17
  <slot />
18
18
  </DialogDescription>
19
19
  </template>
@@ -9,7 +9,7 @@ const props = defineProps<{
9
9
 
10
10
  <template>
11
11
  <p data-slot="field-description" :class="cn(
12
- '!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',
12
+ 'text-xs leading-5 font-normal text-(--text-secondary-light) dark:text-(--text-secondary-dark) group-has-[[data-orientation=horizontal]]/field:text-balance',
13
13
  'last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5',
14
14
  '[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',
15
15
  props.class,