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