@xenterprises/nuxt-x-marketing 1.15.1 → 1.15.2
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/CHANGELOG.md +12 -0
- package/app/app.config.ts +17 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
30
30
|
section and its sample product data were dropped with them. Every other section of the
|
|
31
31
|
demo page is unchanged.
|
|
32
32
|
|
|
33
|
+
## [1.15.2] - 2026-10-19
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- **No more literal `[object Object]` in UButton classes.** The layer's `app.config` overrode
|
|
38
|
+
`ui.button.variants.size.lg` / `xl` with plain strings, but Nuxt UI defines each size as a
|
|
39
|
+
per-part object (`base`, `leadingIcon`, `trailingIcon`, ...). tailwind-variants joined the two
|
|
40
|
+
as `${object} ${string}`, so every lg/xl UButton (XMarkCTA, XMarkHero, any site button) carried
|
|
41
|
+
an `[object Object]` class. The overrides are now per-part objects; `gap-0`, `size-[1em]` icons
|
|
42
|
+
and `size-8 text-base` avatars keep the look pixel-identical to 1.15.1 (home, CTA and button
|
|
43
|
+
grid at 1440/390/375: 0 px difference). HTML class lists of lg/xl buttons change.
|
|
44
|
+
|
|
33
45
|
## [1.15.1] - 2026-10-18
|
|
34
46
|
|
|
35
47
|
### Fixed
|
package/app/app.config.ts
CHANGED
|
@@ -13,9 +13,24 @@ export default defineAppConfig({
|
|
|
13
13
|
base: "font-medium tracking-wide",
|
|
14
14
|
},
|
|
15
15
|
variants: {
|
|
16
|
+
// 1.15.2: Nuxt UI size variants are per-slot objects. tailwind-variants merges an
|
|
17
|
+
// app.config string with the theme object as `${themeObject} ${string}`, which put a
|
|
18
|
+
// literal "[object Object]" in every lg/xl button class (and dropped the theme's lg/xl
|
|
19
|
+
// gap, icon and avatar sizes). Per-slot objects merge cleanly; gap-0, size-[1em] and
|
|
20
|
+
// the md avatar classes keep the look identical to 1.15.1 (no gap, icons at 1em, 32px avatar).
|
|
16
21
|
size: {
|
|
17
|
-
lg:
|
|
18
|
-
|
|
22
|
+
lg: {
|
|
23
|
+
base: "px-8 py-4 text-base gap-0",
|
|
24
|
+
leadingIcon: "size-[1em]",
|
|
25
|
+
trailingIcon: "size-[1em]",
|
|
26
|
+
leadingAvatar: "size-8 text-base",
|
|
27
|
+
},
|
|
28
|
+
xl: {
|
|
29
|
+
base: "px-10 py-5 text-lg gap-0",
|
|
30
|
+
leadingIcon: "size-[1em]",
|
|
31
|
+
trailingIcon: "size-[1em]",
|
|
32
|
+
leadingAvatar: "size-8 text-base",
|
|
33
|
+
},
|
|
19
34
|
},
|
|
20
35
|
},
|
|
21
36
|
},
|