@measured/puck 0.14.1-canary.bef3303 → 0.14.2-canary.03ab0bd

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.css CHANGED
@@ -676,70 +676,74 @@
676
676
  }
677
677
 
678
678
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
679
- ._Puck_u70b9_19 {
680
- --puck-frame-width: auto;
681
- --puck-side-bar-width: 0px;
679
+ ._Puck_mowzv_19 {
682
680
  --puck-space-px: 16px;
683
681
  bottom: 0;
684
- display: grid;
685
682
  font-family: var(--puck-font-family);
686
- grid-template-areas: "header header header" "left editor right";
687
- grid-template-columns: 0 var(--puck-frame-width) 0;
688
- grid-template-rows: min-content auto;
689
- height: 100dvh;
690
683
  left: 0;
691
684
  position: fixed;
692
685
  right: 0;
693
686
  top: 0;
694
687
  }
695
- ._Puck--mounted_u70b9_36 {
688
+ ._Puck-layout_mowzv_29 {
689
+ --puck-frame-width: auto;
690
+ --puck-side-bar-width: 0px;
691
+ display: grid;
692
+ grid-template-areas: "header header header" "left editor right";
693
+ grid-template-columns: 0 var(--puck-frame-width) 0;
694
+ grid-template-rows: min-content auto;
695
+ height: 100dvh;
696
+ position: relative;
697
+ z-index: 0;
698
+ }
699
+ ._Puck--mounted_mowzv_41 ._Puck-layout_mowzv_29 {
696
700
  --puck-side-bar-width: 186px;
697
701
  }
698
- ._Puck--leftSideBarVisible_u70b9_40 {
702
+ ._Puck--leftSideBarVisible_mowzv_45 ._Puck-layout_mowzv_29 {
699
703
  grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
700
704
  }
701
- ._Puck--rightSideBarVisible_u70b9_46 {
705
+ ._Puck--rightSideBarVisible_mowzv_51 ._Puck-layout_mowzv_29 {
702
706
  grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
703
707
  }
704
- ._Puck--leftSideBarVisible_u70b9_40._Puck--rightSideBarVisible_u70b9_46 {
708
+ ._Puck--leftSideBarVisible_mowzv_45._Puck--rightSideBarVisible_mowzv_51 ._Puck-layout_mowzv_29 {
705
709
  grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
706
710
  }
707
711
  @media (min-width: 458px) {
708
- ._Puck-mounted_u70b9_59 {
712
+ ._Puck-mounted_mowzv_64 ._Puck-layout_mowzv_29 {
709
713
  --puck-frame-width: minmax(266px, auto);
710
714
  }
711
715
  }
712
716
  @media (min-width: 638px) {
713
- ._Puck_u70b9_19 {
717
+ ._Puck_mowzv_19 ._Puck-layout_mowzv_29 {
714
718
  --puck-side-bar-width: minmax(186px, 250px);
715
719
  }
716
720
  }
717
721
  @media (min-width: 766px) {
718
- ._Puck_u70b9_19 {
722
+ ._Puck_mowzv_19 ._Puck-layout_mowzv_29 {
719
723
  --puck-frame-width: auto;
720
724
  }
721
725
  }
722
726
  @media (min-width: 990px) {
723
- ._Puck_u70b9_19 {
727
+ ._Puck_mowzv_19 ._Puck-layout_mowzv_29 {
724
728
  --puck-side-bar-width: 256px;
725
729
  }
726
730
  }
727
731
  @media (min-width: 1198px) {
728
- ._Puck_u70b9_19 {
732
+ ._Puck_mowzv_19 ._Puck-layout_mowzv_29 {
729
733
  --puck-side-bar-width: 274px;
730
734
  }
731
735
  }
732
736
  @media (min-width: 1398px) {
733
- ._Puck_u70b9_19 {
737
+ ._Puck_mowzv_19 ._Puck-layout_mowzv_29 {
734
738
  --puck-side-bar-width: 290px;
735
739
  }
736
740
  }
737
741
  @media (min-width: 1598px) {
738
- ._Puck_u70b9_19 {
742
+ ._Puck_mowzv_19 ._Puck-layout_mowzv_29 {
739
743
  --puck-side-bar-width: 320px;
740
744
  }
741
745
  }
742
- ._Puck-header_u70b9_100 {
746
+ ._Puck-header_mowzv_105 {
743
747
  background: var(--puck-color-white);
744
748
  border-bottom: 1px solid var(--puck-color-grey-09);
745
749
  color: var(--puck-color-black);
@@ -747,7 +751,7 @@
747
751
  position: relative;
748
752
  max-width: 100vw;
749
753
  }
750
- ._Puck-headerInner_u70b9_109 {
754
+ ._Puck-headerInner_mowzv_114 {
751
755
  align-items: end;
752
756
  display: grid;
753
757
  gap: var(--puck-space-px);
@@ -756,43 +760,43 @@
756
760
  grid-template-rows: auto;
757
761
  padding: var(--puck-space-px);
758
762
  }
759
- ._Puck-headerToggle_u70b9_119 {
763
+ ._Puck-headerToggle_mowzv_124 {
760
764
  color: var(--puck-color-grey-05);
761
765
  display: flex;
762
766
  margin-left: -4px;
763
767
  padding-top: 2px;
764
768
  }
765
- ._Puck--rightSideBarVisible_u70b9_46 ._Puck-rightSideBarToggle_u70b9_126,
766
- ._Puck--leftSideBarVisible_u70b9_40 ._Puck-leftSideBarToggle_u70b9_127 {
769
+ ._Puck--rightSideBarVisible_mowzv_51 ._Puck-rightSideBarToggle_mowzv_131,
770
+ ._Puck--leftSideBarVisible_mowzv_45 ._Puck-leftSideBarToggle_mowzv_132 {
767
771
  color: var(--puck-color-black);
768
772
  }
769
- ._Puck-headerTitle_u70b9_131 {
773
+ ._Puck-headerTitle_mowzv_136 {
770
774
  align-self: center;
771
775
  }
772
- ._Puck-headerPath_u70b9_135 {
776
+ ._Puck-headerPath_mowzv_140 {
773
777
  font-family: var(--puck-font-family-monospaced);
774
778
  font-size: var(--puck-font-size-xxs);
775
779
  font-weight: normal;
776
780
  word-break: break-all;
777
781
  }
778
- ._Puck-headerTools_u70b9_142 {
782
+ ._Puck-headerTools_mowzv_147 {
779
783
  display: flex;
780
784
  gap: 16px;
781
785
  justify-content: flex-end;
782
786
  }
783
- ._Puck-menuButton_u70b9_148 {
787
+ ._Puck-menuButton_mowzv_153 {
784
788
  color: var(--puck-color-grey-05);
785
789
  margin-left: -4px;
786
790
  }
787
- ._Puck--menuOpen_u70b9_153 ._Puck-menuButton_u70b9_148 {
791
+ ._Puck--menuOpen_mowzv_158 ._Puck-menuButton_mowzv_153 {
788
792
  color: var(--puck-color-black);
789
793
  }
790
794
  @media (min-width: 638px) {
791
- ._Puck-menuButton_u70b9_148 {
795
+ ._Puck-menuButton_mowzv_153 {
792
796
  display: none;
793
797
  }
794
798
  }
795
- ._Puck-leftSideBar_u70b9_127 {
799
+ ._Puck-leftSideBar_mowzv_132 {
796
800
  background: var(--puck-color-grey-12);
797
801
  border-right: 1px solid var(--puck-color-grey-09);
798
802
  display: flex;
@@ -800,7 +804,7 @@
800
804
  grid-area: left;
801
805
  overflow-y: auto;
802
806
  }
803
- ._Puck-rightSideBar_u70b9_126 {
807
+ ._Puck-rightSideBar_mowzv_131 {
804
808
  background: var(--puck-color-white);
805
809
  border-left: 1px solid var(--puck-color-grey-09);
806
810
  display: flex;
@@ -808,7 +812,7 @@
808
812
  grid-area: right;
809
813
  overflow-y: auto;
810
814
  }
811
- ._Puck-portal_u70b9_181 {
815
+ ._Puck-portal_mowzv_186 {
812
816
  z-index: 2;
813
817
  }
814
818
 
package/dist/index.js CHANGED
@@ -29296,10 +29296,10 @@ var setupZone = (data, zoneKey) => {
29296
29296
  var getItem = (selector, data, dynamicProps = {}) => {
29297
29297
  if (!selector.zone || selector.zone === rootDroppableId) {
29298
29298
  const item2 = data.content[selector.index];
29299
- return __spreadProps(__spreadValues({}, item2), { props: dynamicProps[item2.props.id] || item2.props });
29299
+ return (item2 == null ? void 0 : item2.props) ? __spreadProps(__spreadValues({}, item2), { props: dynamicProps[item2.props.id] || item2.props }) : void 0;
29300
29300
  }
29301
29301
  const item = setupZone(data, selector.zone).zones[selector.zone][selector.index];
29302
- return __spreadProps(__spreadValues({}, item), { props: dynamicProps[item.props.id] || item.props });
29302
+ return (item == null ? void 0 : item.props) ? __spreadProps(__spreadValues({}, item), { props: dynamicProps[item.props.id] || item.props }) : void 0;
29303
29303
  };
29304
29304
 
29305
29305
  // components/ViewportControls/default-viewports.ts
@@ -31342,7 +31342,7 @@ var MenuBar = ({
31342
31342
 
31343
31343
  // css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css#css-module
31344
31344
  init_react_import();
31345
- var styles_module_default8 = { "Puck": "_Puck_u70b9_19", "Puck--mounted": "_Puck--mounted_u70b9_36", "Puck--leftSideBarVisible": "_Puck--leftSideBarVisible_u70b9_40", "Puck--rightSideBarVisible": "_Puck--rightSideBarVisible_u70b9_46", "Puck-mounted": "_Puck-mounted_u70b9_59", "Puck-header": "_Puck-header_u70b9_100", "Puck-headerInner": "_Puck-headerInner_u70b9_109", "Puck-headerToggle": "_Puck-headerToggle_u70b9_119", "Puck-rightSideBarToggle": "_Puck-rightSideBarToggle_u70b9_126", "Puck-leftSideBarToggle": "_Puck-leftSideBarToggle_u70b9_127", "Puck-headerTitle": "_Puck-headerTitle_u70b9_131", "Puck-headerPath": "_Puck-headerPath_u70b9_135", "Puck-headerTools": "_Puck-headerTools_u70b9_142", "Puck-menuButton": "_Puck-menuButton_u70b9_148", "Puck--menuOpen": "_Puck--menuOpen_u70b9_153", "Puck-leftSideBar": "_Puck-leftSideBar_u70b9_127", "Puck-rightSideBar": "_Puck-rightSideBar_u70b9_126", "Puck-portal": "_Puck-portal_u70b9_181" };
31345
+ var styles_module_default8 = { "Puck": "_Puck_mowzv_19", "Puck-layout": "_Puck-layout_mowzv_29", "Puck--mounted": "_Puck--mounted_mowzv_41", "Puck--leftSideBarVisible": "_Puck--leftSideBarVisible_mowzv_45", "Puck--rightSideBarVisible": "_Puck--rightSideBarVisible_mowzv_51", "Puck-mounted": "_Puck-mounted_mowzv_64", "Puck-header": "_Puck-header_mowzv_105", "Puck-headerInner": "_Puck-headerInner_mowzv_114", "Puck-headerToggle": "_Puck-headerToggle_mowzv_124", "Puck-rightSideBarToggle": "_Puck-rightSideBarToggle_mowzv_131", "Puck-leftSideBarToggle": "_Puck-leftSideBarToggle_mowzv_132", "Puck-headerTitle": "_Puck-headerTitle_mowzv_136", "Puck-headerPath": "_Puck-headerPath_mowzv_140", "Puck-headerTools": "_Puck-headerTools_mowzv_147", "Puck-menuButton": "_Puck-menuButton_mowzv_153", "Puck--menuOpen": "_Puck--menuOpen_mowzv_158", "Puck-leftSideBar": "_Puck-leftSideBar_mowzv_132", "Puck-rightSideBar": "_Puck-rightSideBar_mowzv_131", "Puck-portal": "_Puck-portal_mowzv_186" };
31346
31346
 
31347
31347
  // components/Puck/components/Fields/index.tsx
31348
31348
  init_react_import();
@@ -32535,10 +32535,11 @@ var useComponentList = (config, ui) => {
32535
32535
  children: category.components.map((componentName, i) => {
32536
32536
  var _a2;
32537
32537
  matchedComponents.push(componentName);
32538
+ const componentConf = config.components[componentName] || {};
32538
32539
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
32539
32540
  ComponentList.Item,
32540
32541
  {
32541
- label: (_a2 = config.components[componentName]["label"]) != null ? _a2 : componentName,
32542
+ label: (_a2 = componentConf["label"]) != null ? _a2 : componentName,
32542
32543
  name: componentName,
32543
32544
  index: i
32544
32545
  },
@@ -32562,11 +32563,12 @@ var useComponentList = (config, ui) => {
32562
32563
  title: ((_c = ui.componentList.other) == null ? void 0 : _c.title) || "Other",
32563
32564
  children: remainingComponents.map((componentName, i) => {
32564
32565
  var _a2;
32566
+ const componentConf = config.components[componentName] || {};
32565
32567
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
32566
32568
  ComponentList.Item,
32567
32569
  {
32568
32570
  name: componentName,
32569
- label: (_a2 = config.components[componentName]["label"]) != null ? _a2 : componentName,
32571
+ label: (_a2 = componentConf["label"]) != null ? _a2 : componentName,
32570
32572
  index: i
32571
32573
  },
32572
32574
  componentName
@@ -33158,6 +33160,7 @@ var ViewportControls = ({
33158
33160
  onViewportChange,
33159
33161
  onZoom
33160
33162
  }) => {
33163
+ var _a, _b;
33161
33164
  const { viewports } = useAppContext();
33162
33165
  const defaultsContainAutoZoom = defaultZoomOptions.find(
33163
33166
  (option) => option.value === autoZoom
@@ -33191,7 +33194,7 @@ var ViewportControls = ({
33191
33194
  IconButton,
33192
33195
  {
33193
33196
  title: "Zoom viewport out",
33194
- disabled: zoom <= zoomOptions[0].value,
33197
+ disabled: zoom <= ((_a = zoomOptions[0]) == null ? void 0 : _a.value),
33195
33198
  onClick: (e) => {
33196
33199
  e.stopPropagation();
33197
33200
  onZoom(
@@ -33208,7 +33211,7 @@ var ViewportControls = ({
33208
33211
  IconButton,
33209
33212
  {
33210
33213
  title: "Zoom viewport in",
33211
- disabled: zoom >= zoomOptions[zoomOptions.length - 1].value,
33214
+ disabled: zoom >= ((_b = zoomOptions[zoomOptions.length - 1]) == null ? void 0 : _b.value),
33212
33215
  onClick: (e) => {
33213
33216
  e.stopPropagation();
33214
33217
  onZoom(
@@ -33689,94 +33692,96 @@ function Puck({
33689
33692
  rightSideBarVisible
33690
33693
  }),
33691
33694
  children: [
33692
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33693
- CustomHeader,
33694
- {
33695
- actions: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
33696
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CustomHeaderActions, {}),
33697
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33698
- Button,
33699
- {
33700
- onClick: () => {
33701
- onPublish && onPublish(data);
33702
- },
33703
- icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Globe, { size: "14px" }),
33704
- children: "Publish"
33705
- }
33706
- )
33707
- ] }),
33708
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("header", { className: getClassName25("header"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerInner"), children: [
33709
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerToggle"), children: [
33710
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("leftSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33711
- IconButton,
33712
- {
33713
- onClick: () => {
33714
- toggleSidebars("left");
33715
- },
33716
- title: "Toggle left sidebar",
33717
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PanelLeft, { focusable: "false" })
33718
- }
33719
- ) }),
33720
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("rightSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33721
- IconButton,
33695
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("layout"), children: [
33696
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33697
+ CustomHeader,
33698
+ {
33699
+ actions: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
33700
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CustomHeaderActions, {}),
33701
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33702
+ Button,
33722
33703
  {
33723
33704
  onClick: () => {
33724
- toggleSidebars("right");
33705
+ onPublish && onPublish(data);
33725
33706
  },
33726
- title: "Toggle right sidebar",
33727
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PanelRight, { focusable: "false" })
33707
+ icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Globe, { size: "14px" }),
33708
+ children: "Publish"
33728
33709
  }
33729
- ) })
33710
+ )
33730
33711
  ] }),
33731
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("headerTitle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Heading, { rank: 2, size: "xs", children: [
33732
- headerTitle || rootProps.title || "Page",
33733
- headerPath && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
33734
- " ",
33735
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("code", { className: getClassName25("headerPath"), children: headerPath })
33712
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("header", { className: getClassName25("header"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerInner"), children: [
33713
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerToggle"), children: [
33714
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("leftSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33715
+ IconButton,
33716
+ {
33717
+ onClick: () => {
33718
+ toggleSidebars("left");
33719
+ },
33720
+ title: "Toggle left sidebar",
33721
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PanelLeft, { focusable: "false" })
33722
+ }
33723
+ ) }),
33724
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("rightSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33725
+ IconButton,
33726
+ {
33727
+ onClick: () => {
33728
+ toggleSidebars("right");
33729
+ },
33730
+ title: "Toggle right sidebar",
33731
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PanelRight, { focusable: "false" })
33732
+ }
33733
+ ) })
33734
+ ] }),
33735
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("headerTitle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Heading, { rank: 2, size: "xs", children: [
33736
+ headerTitle || rootProps.title || "Page",
33737
+ headerPath && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
33738
+ " ",
33739
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("code", { className: getClassName25("headerPath"), children: headerPath })
33740
+ ] })
33741
+ ] }) }),
33742
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerTools"), children: [
33743
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("menuButton"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33744
+ IconButton,
33745
+ {
33746
+ onClick: () => {
33747
+ return setMenuOpen(!menuOpen);
33748
+ },
33749
+ title: "Toggle menu bar",
33750
+ children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronUp, { focusable: "false" }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronDown, { focusable: "false" })
33751
+ }
33752
+ ) }),
33753
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33754
+ MenuBar,
33755
+ {
33756
+ appState,
33757
+ data,
33758
+ dispatch,
33759
+ onPublish,
33760
+ menuOpen,
33761
+ renderHeaderActions: () => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CustomHeaderActions, {}),
33762
+ setMenuOpen
33763
+ }
33764
+ )
33736
33765
  ] })
33737
- ] }) }),
33738
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerTools"), children: [
33739
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("menuButton"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33740
- IconButton,
33741
- {
33742
- onClick: () => {
33743
- return setMenuOpen(!menuOpen);
33744
- },
33745
- title: "Toggle menu bar",
33746
- children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronUp, { focusable: "false" }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronDown, { focusable: "false" })
33747
- }
33748
- ) }),
33749
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33750
- MenuBar,
33751
- {
33752
- appState,
33753
- data,
33754
- dispatch,
33755
- onPublish,
33756
- menuOpen,
33757
- renderHeaderActions: () => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CustomHeaderActions, {}),
33758
- setMenuOpen
33759
- }
33760
- )
33761
- ] })
33762
- ] }) })
33763
- }
33764
- ),
33765
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("leftSideBar"), children: [
33766
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SidebarSection, { title: "Components", noBorderTop: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Components, {}) }),
33767
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SidebarSection, { title: "Outline", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Outline, {}) })
33766
+ ] }) })
33767
+ }
33768
+ ),
33769
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("leftSideBar"), children: [
33770
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SidebarSection, { title: "Components", noBorderTop: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Components, {}) }),
33771
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SidebarSection, { title: "Outline", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Outline, {}) })
33772
+ ] }),
33773
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Canvas, {}),
33774
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("rightSideBar"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33775
+ SidebarSection,
33776
+ {
33777
+ noPadding: true,
33778
+ noBorderTop: true,
33779
+ showBreadcrumbs: true,
33780
+ title: selectedItem ? (_a = config.components[selectedItem.type]["label"]) != null ? _a : selectedItem.type : "Page",
33781
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Fields, {})
33782
+ }
33783
+ ) })
33768
33784
  ] }),
33769
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Canvas, {}),
33770
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("rightSideBar"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33771
- SidebarSection,
33772
- {
33773
- noPadding: true,
33774
- noBorderTop: true,
33775
- showBreadcrumbs: true,
33776
- title: selectedItem ? (_a = config.components[selectedItem.type]["label"]) != null ? _a : selectedItem.type : "Page",
33777
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Fields, {})
33778
- }
33779
- ) }),
33780
33785
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
33781
33786
  "div",
33782
33787
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.14.1-canary.bef3303",
3
+ "version": "0.14.2-canary.03ab0bd",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@measured/auto-frame-component": "0.1.1",
63
- "@measured/dnd": "16.6.0-canary.c7c88e8",
63
+ "@measured/dnd": "16.6.0-canary.a2766de",
64
64
  "deep-diff": "^1.0.2",
65
65
  "react-hotkeys-hook": "^4.4.1",
66
66
  "react-spinners": "^0.13.8",