@measured/puck 0.13.1-canary.4a7801a → 0.13.1-canary.65afdc3

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -29227,7 +29227,7 @@ var Button = ({
29227
29227
  }) => {
29228
29228
  const [loading, setLoading] = (0, import_react2.useState)(loadingProp);
29229
29229
  (0, import_react2.useEffect)(() => setLoading(loadingProp), [loadingProp]);
29230
- const ElementType = href ? "a" : "button";
29230
+ const ElementType = href ? "a" : onClick ? "button" : "div";
29231
29231
  const el = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
29232
29232
  ElementType,
29233
29233
  {
@@ -32568,7 +32568,7 @@ var loadOverrides = ({
32568
32568
  overrides,
32569
32569
  plugins
32570
32570
  }) => {
32571
- const collected = overrides;
32571
+ const collected = __spreadValues({}, overrides);
32572
32572
  plugins.forEach((plugin) => {
32573
32573
  Object.keys(plugin.overrides).forEach((overridesType) => {
32574
32574
  if (overridesType === "fieldTypes") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.13.1-canary.4a7801a",
3
+ "version": "0.13.1-canary.65afdc3",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",