@measured/puck 0.13.0-canary.d7540e3 → 0.13.0-canary.e0af33e
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
@@ -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) {
|