@measured/puck 0.13.0-canary.d7540e3 → 0.13.0-canary.e0af33e
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
@@ -29187,7 +29187,11 @@ var getClassNameFactory = (rootClass, styles, { baseClass = "" } = {}) => (optio
|
|
29187
29187
|
modifiers = options;
|
29188
29188
|
}
|
29189
29189
|
if (descendant) {
|
29190
|
-
|
29190
|
+
const style = styles[`${rootClass}-${descendant}`];
|
29191
|
+
if (style) {
|
29192
|
+
return baseClass + styles[`${rootClass}-${descendant}`] || "";
|
29193
|
+
}
|
29194
|
+
return "";
|
29191
29195
|
} else if (modifiers) {
|
29192
29196
|
const prefixedModifiers = {};
|
29193
29197
|
for (let modifier in modifiers) {
|