@measured/puck 0.12.0 → 0.12.1-canary.17bd61c
Sign up to get free protection for your applications and to get access to all the features.
- 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) {
|