@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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. 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
- return baseClass + styles[`${rootClass}-${descendant}`] || "";
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.13.0-canary.d7540e3",
3
+ "version": "0.13.0-canary.e0af33e",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",