@measured/puck-plugin-heading-analyzer 0.13.0-canary.559fc74 → 0.13.0-canary.57ad171

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 +2 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -70679,10 +70679,7 @@ var require_dist = __commonJS({
70679
70679
  modifiers = options;
70680
70680
  }
70681
70681
  if (descendant) {
70682
- const style2 = styles[`${rootClass}-${descendant}`];
70683
- if (style2) {
70684
- return baseClass + styles[`${rootClass}-${descendant}`] || "";
70685
- }
70682
+ return baseClass + styles[`${rootClass}-${descendant}`] || "";
70686
70683
  } else if (modifiers) {
70687
70684
  const prefixedModifiers = {};
70688
70685
  for (let modifier in modifiers) {
@@ -74465,10 +74462,7 @@ var getClassNameFactory = (rootClass, styles, { baseClass = "" } = {}) => (optio
74465
74462
  modifiers = options;
74466
74463
  }
74467
74464
  if (descendant) {
74468
- const style2 = styles[`${rootClass}-${descendant}`];
74469
- if (style2) {
74470
- return baseClass + styles[`${rootClass}-${descendant}`] || "";
74471
- }
74465
+ return baseClass + styles[`${rootClass}-${descendant}`] || "";
74472
74466
  } else if (modifiers) {
74473
74467
  const prefixedModifiers = {};
74474
74468
  for (let modifier in modifiers) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.13.0-canary.559fc74",
3
+ "version": "0.13.0-canary.57ad171",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "dist"
15
15
  ],
16
16
  "devDependencies": {
17
- "@measured/puck": "^0.13.0-canary.559fc74",
17
+ "@measured/puck": "^0.13.0-canary.57ad171",
18
18
  "@types/react": "^18.2.0",
19
19
  "@types/react-dom": "^18.2.0",
20
20
  "eslint": "^7.32.0",