@measured/puck-plugin-heading-analyzer 0.13.1-canary.4a7801a → 0.13.1-canary.7636e53
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 +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -70717,7 +70717,7 @@ var require_dist = __commonJS({
|
|
70717
70717
|
}) => {
|
70718
70718
|
const [loading, setLoading] = (0, import_react22.useState)(loadingProp);
|
70719
70719
|
(0, import_react22.useEffect)(() => setLoading(loadingProp), [loadingProp]);
|
70720
|
-
const ElementType = href ? "a" : "button";
|
70720
|
+
const ElementType = href ? "a" : onClick ? "button" : "div";
|
70721
70721
|
const el = /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
70722
70722
|
ElementType,
|
70723
70723
|
{
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.13.1-canary.
|
3
|
+
"version": "0.13.1-canary.7636e53",
|
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.1-canary.
|
17
|
+
"@measured/puck": "^0.13.1-canary.7636e53",
|
18
18
|
"@types/react": "^18.2.0",
|
19
19
|
"@types/react-dom": "^18.2.0",
|
20
20
|
"eslint": "^7.32.0",
|