@measured/puck-plugin-heading-analyzer 0.13.0-canary.8ef24aa → 0.13.0-canary.9ccbb3c

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 -10
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -70679,11 +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
- }
70686
- return "";
70682
+ return baseClass + styles[`${rootClass}-${descendant}`] || "";
70687
70683
  } else if (modifiers) {
70688
70684
  const prefixedModifiers = {};
70689
70685
  for (let modifier in modifiers) {
@@ -74466,11 +74462,7 @@ var getClassNameFactory = (rootClass, styles, { baseClass = "" } = {}) => (optio
74466
74462
  modifiers = options;
74467
74463
  }
74468
74464
  if (descendant) {
74469
- const style2 = styles[`${rootClass}-${descendant}`];
74470
- if (style2) {
74471
- return baseClass + styles[`${rootClass}-${descendant}`] || "";
74472
- }
74473
- return "";
74465
+ return baseClass + styles[`${rootClass}-${descendant}`] || "";
74474
74466
  } else if (modifiers) {
74475
74467
  const prefixedModifiers = {};
74476
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.8ef24aa",
3
+ "version": "0.13.0-canary.9ccbb3c",
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.8ef24aa",
17
+ "@measured/puck": "^0.13.0-canary.9ccbb3c",
18
18
  "@types/react": "^18.2.0",
19
19
  "@types/react-dom": "^18.2.0",
20
20
  "eslint": "^7.32.0",