@brumaombra/ui-vintage 0.7.1 → 0.7.3

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.1",
3
+ "version": "0.7.3",
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",
@@ -119,11 +119,12 @@
119
119
  "clsx": "2.1.1",
120
120
  "reka-ui": "2.9.2",
121
121
  "tailwind-merge": "3.5.0",
122
- "tailwindcss": "4.1.3",
122
+ "tailwindcss": "4.2.2",
123
123
  "tw-animate-css": "1.4.0"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@types/node": "24.0.0",
127
+ "nuxt": "4.4.4",
127
128
  "typescript": "5.9.3",
128
129
  "vue": "3.5.13",
129
130
  "vue-tsc": "2.2.10"
@@ -48,7 +48,7 @@ if (hasValidFAQs.value) {
48
48
  <!-- Question -->
49
49
  <div class="flex items-center justify-between p-5 gap-4">
50
50
  <!-- Question text -->
51
- <h3 class="text-sm md:text-base font-semibold text-[var(--text-primary-light)] dark:text-[var(--text-primary-dark)] text-left">
51
+ <h3 class="text-sm md:!text-base font-semibold text-[var(--text-primary-light)] dark:text-[var(--text-primary-dark)] text-left">
52
52
  {{ faq.question }}
53
53
  </h3>
54
54
 
@@ -13,7 +13,7 @@ const props = defineProps({
13
13
  </script>
14
14
 
15
15
  <template>
16
- <div class="flex flex-col space-y-6 md:space-y-8">
16
+ <div class="flex flex-col space-y-6 md:!space-y-8">
17
17
  <!-- Badges -->
18
18
  <div v-if="props.badges.length > 0" class="flex flex-wrap gap-3 mb-6 md:mb-8">
19
19
  <Badge v-for="badge in props.badges"
@@ -97,7 +97,7 @@ onUnmounted(() => {
97
97
  </NuxtLink>
98
98
 
99
99
  <!-- Description -->
100
- <p class="text-xs md:text-base text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)] mb-6 line-clamp-2 leading-relaxed">
100
+ <p class="text-xs md:!text-base text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)] mb-6 line-clamp-2 leading-relaxed">
101
101
  {{ post.description }}
102
102
  </p>
103
103
 
@@ -116,7 +116,7 @@ onUnmounted(() => {
116
116
  <button v-for="(_, idx) in props.featuredPosts"
117
117
  :key="idx"
118
118
  @click="goToSlide(idx)"
119
- :class="['h-5 w-5 sm:h-4 sm:w-4 shrink-0 rounded-[2px] transition-all duration-300 cursor-pointer bg-[var(--border-light)] dark:bg-[var(--border-dark)]', currentSlide === idx ? 'w-8 sm:w-7 !bg-[var(--text-primary-light)] dark:!bg-[var(--text-primary-dark)]' : '']"
119
+ :class="['h-5 w-5 sm:!h-4 sm:!w-4 shrink-0 rounded-[2px] transition-all duration-300 cursor-pointer bg-[var(--border-light)] dark:bg-[var(--border-dark)]', currentSlide === idx ? '!w-8 sm:!w-7 !bg-[var(--text-primary-light)] dark:!bg-[var(--text-primary-dark)]' : '']"
120
120
  :aria-label="t('uiVintage.blog.goToSlide', { index: idx + 1 })"
121
121
  :aria-current="currentSlide === idx"
122
122
  role="tab"
@@ -85,12 +85,12 @@ const getHeadingButtonClasses = heading => {
85
85
  <button @click="toggleExpanded" class="flex items-center justify-between w-full p-5 gap-4 text-left cursor-pointer">
86
86
  <div class="flex items-center gap-3 min-w-0">
87
87
  <!-- Icon -->
88
- <div class="flex items-center justify-center w-8 h-8 md:w-10 md:h-10 bg-[var(--bg-card-light)] dark:bg-[var(--bg-card-dark)] border border-[var(--border-light)] dark:border-[var(--border-dark)] rounded-none flex-shrink-0">
88
+ <div class="flex items-center justify-center w-8 h-8 md:!w-10 md:!h-10 bg-[var(--bg-card-light)] dark:bg-[var(--bg-card-dark)] border border-[var(--border-light)] dark:border-[var(--border-dark)] rounded-none flex-shrink-0">
89
89
  <HugeiconsIcon :icon="Bookmark01Icon" class="size-4 text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)]" />
90
90
  </div>
91
91
 
92
92
  <!-- Title -->
93
- <span class="text-sm md:text-base font-semibold text-[var(--text-primary-light)] dark:text-[var(--text-primary-dark)]">
93
+ <span class="text-sm md:!text-base font-semibold text-[var(--text-primary-light)] dark:text-[var(--text-primary-dark)]">
94
94
  {{ t('uiVintage.blog.tableOfContents') }}
95
95
  </span>
96
96
  </div>
@@ -32,7 +32,7 @@ const props = withDefaults(defineProps<LandingNavbarProps>(), {
32
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
33
 
34
34
  <!-- App name -->
35
- <span v-if="props.appName" class="hidden sm:inline text-xl font-bold tracking-tight text-foreground">
35
+ <span v-if="props.appName" class="hidden sm:!inline text-xl font-bold tracking-tight text-foreground">
36
36
  {{ props.appName }}
37
37
  </span>
38
38
  </a>
@@ -19,7 +19,7 @@ const emits = defineEmits<{
19
19
  </script>
20
20
 
21
21
  <template>
22
- <Card class="flex flex-col gap-2 sm:gap-3 px-4 py-3">
22
+ <Card class="flex flex-col gap-2 sm:!gap-3 px-4 py-3">
23
23
  <!-- Switch label and control -->
24
24
  <div class="flex items-center justify-between gap-4">
25
25
  <!-- Switch label -->
@@ -25,7 +25,7 @@ const colorClasses = computed(() => {
25
25
  </script>
26
26
 
27
27
  <template>
28
- <div data-slot="card" :class="cn('flex flex-col gap-4 rounded py-6 transition-colors duration-300 ease-in-out', colorClasses, props.class)">
28
+ <div data-slot="card" :class="cn('flex flex-col gap-4 sm:!gap-6 rounded py-6 transition-colors duration-300 ease-in-out', colorClasses, props.class)">
29
29
  <slot />
30
30
  </div>
31
31
  </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 sm:!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,