@measured/puck 0.12.1-canary.562985d → 0.12.1-canary.5e80a10
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.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -30139,7 +30139,11 @@ var getClassNameFactory = (rootClass, styles, { baseClass = "" } = {}) => (optio
|
|
30139
30139
|
modifiers = options;
|
30140
30140
|
}
|
30141
30141
|
if (descendant) {
|
30142
|
-
|
30142
|
+
const style = styles[`${rootClass}-${descendant}`];
|
30143
|
+
if (style) {
|
30144
|
+
return baseClass + styles[`${rootClass}-${descendant}`] || "";
|
30145
|
+
}
|
30146
|
+
return "";
|
30143
30147
|
} else if (modifiers) {
|
30144
30148
|
const prefixedModifiers = {};
|
30145
30149
|
for (let modifier in modifiers) {
|