@measured/puck 0.19.2-canary.cccf9125 → 0.19.2-canary.e99ce1d4
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 +27 -2
- package/dist/index.mjs +27 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3971,6 +3971,7 @@ var ExternalInput = ({
|
|
3971
3971
|
hasFilterFields && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: getClassNameModal("searchActionIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
3972
3972
|
IconButton,
|
3973
3973
|
{
|
3974
|
+
type: "button",
|
3974
3975
|
title: "Toggle filters",
|
3975
3976
|
onClick: (e) => {
|
3976
3977
|
e.preventDefault();
|
@@ -7980,6 +7981,7 @@ var ViewportButton = ({
|
|
7980
7981
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: getClassNameButton({ isActive }), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
7981
7982
|
IconButton,
|
7982
7983
|
{
|
7984
|
+
type: "button",
|
7983
7985
|
title,
|
7984
7986
|
disabled: isActive,
|
7985
7987
|
onClick: (e) => {
|
@@ -8038,6 +8040,7 @@ var ViewportControls = ({
|
|
8038
8040
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
8039
8041
|
IconButton,
|
8040
8042
|
{
|
8043
|
+
type: "button",
|
8041
8044
|
title: "Zoom viewport out",
|
8042
8045
|
disabled: zoom <= ((_a = zoomOptions[0]) == null ? void 0 : _a.value),
|
8043
8046
|
onClick: (e) => {
|
@@ -8055,6 +8058,7 @@ var ViewportControls = ({
|
|
8055
8058
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
8056
8059
|
IconButton,
|
8057
8060
|
{
|
8061
|
+
type: "button",
|
8058
8062
|
title: "Zoom viewport in",
|
8059
8063
|
disabled: zoom >= ((_b = zoomOptions[zoomOptions.length - 1]) == null ? void 0 : _b.value),
|
8060
8064
|
onClick: (e) => {
|
@@ -8526,8 +8530,26 @@ function MenuBar({
|
|
8526
8530
|
},
|
8527
8531
|
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: getClassName26("inner"), children: [
|
8528
8532
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: getClassName26("history"), children: [
|
8529
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
8530
|
-
|
8533
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
8534
|
+
IconButton,
|
8535
|
+
{
|
8536
|
+
type: "button",
|
8537
|
+
title: "undo",
|
8538
|
+
disabled: !hasPast,
|
8539
|
+
onClick: back,
|
8540
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Undo2, { size: 21 })
|
8541
|
+
}
|
8542
|
+
),
|
8543
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
8544
|
+
IconButton,
|
8545
|
+
{
|
8546
|
+
type: "button",
|
8547
|
+
title: "redo",
|
8548
|
+
disabled: !hasFuture,
|
8549
|
+
onClick: forward,
|
8550
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Redo2, { size: 21 })
|
8551
|
+
}
|
8552
|
+
)
|
8531
8553
|
] }),
|
8532
8554
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: renderHeaderActions && renderHeaderActions() })
|
8533
8555
|
] })
|
@@ -8635,6 +8657,7 @@ var HeaderInner = () => {
|
|
8635
8657
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: getClassName27("leftSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
8636
8658
|
IconButton,
|
8637
8659
|
{
|
8660
|
+
type: "button",
|
8638
8661
|
onClick: () => {
|
8639
8662
|
toggleSidebars("left");
|
8640
8663
|
},
|
@@ -8645,6 +8668,7 @@ var HeaderInner = () => {
|
|
8645
8668
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: getClassName27("rightSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
8646
8669
|
IconButton,
|
8647
8670
|
{
|
8671
|
+
type: "button",
|
8648
8672
|
onClick: () => {
|
8649
8673
|
toggleSidebars("right");
|
8650
8674
|
},
|
@@ -8664,6 +8688,7 @@ var HeaderInner = () => {
|
|
8664
8688
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: getClassName27("menuButton"), children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
8665
8689
|
IconButton,
|
8666
8690
|
{
|
8691
|
+
type: "button",
|
8667
8692
|
onClick: () => {
|
8668
8693
|
return setMenuOpen(!menuOpen);
|
8669
8694
|
},
|
package/dist/index.mjs
CHANGED
@@ -3094,6 +3094,7 @@ var ExternalInput = ({
|
|
3094
3094
|
hasFilterFields && /* @__PURE__ */ jsx12("div", { className: getClassNameModal("searchActionIcon"), children: /* @__PURE__ */ jsx12(
|
3095
3095
|
IconButton,
|
3096
3096
|
{
|
3097
|
+
type: "button",
|
3097
3098
|
title: "Toggle filters",
|
3098
3099
|
onClick: (e) => {
|
3099
3100
|
e.preventDefault();
|
@@ -7150,6 +7151,7 @@ var ViewportButton = ({
|
|
7150
7151
|
return /* @__PURE__ */ jsx35("span", { className: getClassNameButton({ isActive }), children: /* @__PURE__ */ jsx35(
|
7151
7152
|
IconButton,
|
7152
7153
|
{
|
7154
|
+
type: "button",
|
7153
7155
|
title,
|
7154
7156
|
disabled: isActive,
|
7155
7157
|
onClick: (e) => {
|
@@ -7208,6 +7210,7 @@ var ViewportControls = ({
|
|
7208
7210
|
/* @__PURE__ */ jsx35(
|
7209
7211
|
IconButton,
|
7210
7212
|
{
|
7213
|
+
type: "button",
|
7211
7214
|
title: "Zoom viewport out",
|
7212
7215
|
disabled: zoom <= ((_a = zoomOptions[0]) == null ? void 0 : _a.value),
|
7213
7216
|
onClick: (e) => {
|
@@ -7225,6 +7228,7 @@ var ViewportControls = ({
|
|
7225
7228
|
/* @__PURE__ */ jsx35(
|
7226
7229
|
IconButton,
|
7227
7230
|
{
|
7231
|
+
type: "button",
|
7228
7232
|
title: "Zoom viewport in",
|
7229
7233
|
disabled: zoom >= ((_b = zoomOptions[zoomOptions.length - 1]) == null ? void 0 : _b.value),
|
7230
7234
|
onClick: (e) => {
|
@@ -7696,8 +7700,26 @@ function MenuBar({
|
|
7696
7700
|
},
|
7697
7701
|
children: /* @__PURE__ */ jsxs18("div", { className: getClassName26("inner"), children: [
|
7698
7702
|
/* @__PURE__ */ jsxs18("div", { className: getClassName26("history"), children: [
|
7699
|
-
/* @__PURE__ */ jsx38(
|
7700
|
-
|
7703
|
+
/* @__PURE__ */ jsx38(
|
7704
|
+
IconButton,
|
7705
|
+
{
|
7706
|
+
type: "button",
|
7707
|
+
title: "undo",
|
7708
|
+
disabled: !hasPast,
|
7709
|
+
onClick: back,
|
7710
|
+
children: /* @__PURE__ */ jsx38(Undo2, { size: 21 })
|
7711
|
+
}
|
7712
|
+
),
|
7713
|
+
/* @__PURE__ */ jsx38(
|
7714
|
+
IconButton,
|
7715
|
+
{
|
7716
|
+
type: "button",
|
7717
|
+
title: "redo",
|
7718
|
+
disabled: !hasFuture,
|
7719
|
+
onClick: forward,
|
7720
|
+
children: /* @__PURE__ */ jsx38(Redo2, { size: 21 })
|
7721
|
+
}
|
7722
|
+
)
|
7701
7723
|
] }),
|
7702
7724
|
/* @__PURE__ */ jsx38(Fragment13, { children: renderHeaderActions && renderHeaderActions() })
|
7703
7725
|
] })
|
@@ -7805,6 +7827,7 @@ var HeaderInner = () => {
|
|
7805
7827
|
/* @__PURE__ */ jsx39("div", { className: getClassName27("leftSideBarToggle"), children: /* @__PURE__ */ jsx39(
|
7806
7828
|
IconButton,
|
7807
7829
|
{
|
7830
|
+
type: "button",
|
7808
7831
|
onClick: () => {
|
7809
7832
|
toggleSidebars("left");
|
7810
7833
|
},
|
@@ -7815,6 +7838,7 @@ var HeaderInner = () => {
|
|
7815
7838
|
/* @__PURE__ */ jsx39("div", { className: getClassName27("rightSideBarToggle"), children: /* @__PURE__ */ jsx39(
|
7816
7839
|
IconButton,
|
7817
7840
|
{
|
7841
|
+
type: "button",
|
7818
7842
|
onClick: () => {
|
7819
7843
|
toggleSidebars("right");
|
7820
7844
|
},
|
@@ -7834,6 +7858,7 @@ var HeaderInner = () => {
|
|
7834
7858
|
/* @__PURE__ */ jsx39("div", { className: getClassName27("menuButton"), children: /* @__PURE__ */ jsx39(
|
7835
7859
|
IconButton,
|
7836
7860
|
{
|
7861
|
+
type: "button",
|
7837
7862
|
onClick: () => {
|
7838
7863
|
return setMenuOpen(!menuOpen);
|
7839
7864
|
},
|
package/package.json
CHANGED