tailwind-styled-v4 5.1.32 → 5.1.33
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/index.browser.mjs +2 -4
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.d.mts +57 -37
- package/dist/index.d.ts +57 -37
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -855,8 +855,7 @@ function registerSubComponents(component, template, configSub) {
|
|
|
855
855
|
tag
|
|
856
856
|
);
|
|
857
857
|
} else if ("base" in value || "variants" in value) {
|
|
858
|
-
|
|
859
|
-
map[key] = createComponent(explicitTag, value);
|
|
858
|
+
map[key] = createComponent("div", value);
|
|
860
859
|
} else {
|
|
861
860
|
const tag = key;
|
|
862
861
|
for (const [componentName, classesOrConfig] of Object.entries(value)) {
|
|
@@ -868,8 +867,7 @@ function registerSubComponents(component, template, configSub) {
|
|
|
868
867
|
tag
|
|
869
868
|
);
|
|
870
869
|
} else {
|
|
871
|
-
|
|
872
|
-
map[componentName] = createComponent(nestedTag, classesOrConfig);
|
|
870
|
+
map[componentName] = createComponent(tag, classesOrConfig);
|
|
873
871
|
}
|
|
874
872
|
}
|
|
875
873
|
}
|