@measured/puck 0.12.1-canary.17bd61c → 0.12.1-canary.1a223ad

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30177,7 +30177,7 @@ var Button = ({
30177
30177
  size = "medium"
30178
30178
  }) => {
30179
30179
  const [loading, setLoading] = (0, import_react2.useState)(false);
30180
- const ElementType = href ? "a" : "button";
30180
+ const ElementType = href ? "a" : onClick ? "button" : "div";
30181
30181
  const el = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
30182
30182
  ElementType,
30183
30183
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.12.1-canary.17bd61c",
3
+ "version": "0.12.1-canary.1a223ad",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",