@measured/puck-plugin-heading-analyzer 0.14.1-canary.041ca64 → 0.14.1-canary.5c05f94

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 +84 -82
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -74801,7 +74801,7 @@ var require_dist2 = __commonJS({
74801
74801
  );
74802
74802
  };
74803
74803
  init_react_import2();
74804
- 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" };
74804
+ 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" };
74805
74805
  init_react_import2();
74806
74806
  var import_react_spinners6 = (init_esm(), __toCommonJS(esm_exports));
74807
74807
  init_react_import2();
@@ -77018,94 +77018,96 @@ var require_dist2 = __commonJS({
77018
77018
  rightSideBarVisible
77019
77019
  }),
77020
77020
  children: [
77021
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77022
- CustomHeader,
77023
- {
77024
- actions: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
77025
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CustomHeaderActions, {}),
77026
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77027
- Button,
77028
- {
77029
- onClick: () => {
77030
- onPublish && onPublish(data);
77031
- },
77032
- icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Globe, { size: "14px" }),
77033
- children: "Publish"
77034
- }
77035
- )
77036
- ] }),
77037
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("header", { className: getClassName25("header"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerInner"), children: [
77038
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerToggle"), children: [
77039
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("leftSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77040
- IconButton,
77041
- {
77042
- onClick: () => {
77043
- toggleSidebars("left");
77044
- },
77045
- title: "Toggle left sidebar",
77046
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PanelLeft, { focusable: "false" })
77047
- }
77048
- ) }),
77049
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("rightSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77050
- IconButton,
77021
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("layout"), children: [
77022
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77023
+ CustomHeader,
77024
+ {
77025
+ actions: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
77026
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CustomHeaderActions, {}),
77027
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77028
+ Button,
77051
77029
  {
77052
77030
  onClick: () => {
77053
- toggleSidebars("right");
77031
+ onPublish && onPublish(data);
77054
77032
  },
77055
- title: "Toggle right sidebar",
77056
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PanelRight, { focusable: "false" })
77033
+ icon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Globe, { size: "14px" }),
77034
+ children: "Publish"
77057
77035
  }
77058
- ) })
77036
+ )
77059
77037
  ] }),
77060
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("headerTitle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Heading2, { rank: 2, size: "xs", children: [
77061
- headerTitle || rootProps.title || "Page",
77062
- headerPath && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
77063
- " ",
77064
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("code", { className: getClassName25("headerPath"), children: headerPath })
77038
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("header", { className: getClassName25("header"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerInner"), children: [
77039
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerToggle"), children: [
77040
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("leftSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77041
+ IconButton,
77042
+ {
77043
+ onClick: () => {
77044
+ toggleSidebars("left");
77045
+ },
77046
+ title: "Toggle left sidebar",
77047
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PanelLeft, { focusable: "false" })
77048
+ }
77049
+ ) }),
77050
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("rightSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77051
+ IconButton,
77052
+ {
77053
+ onClick: () => {
77054
+ toggleSidebars("right");
77055
+ },
77056
+ title: "Toggle right sidebar",
77057
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PanelRight, { focusable: "false" })
77058
+ }
77059
+ ) })
77060
+ ] }),
77061
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("headerTitle"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Heading2, { rank: 2, size: "xs", children: [
77062
+ headerTitle || rootProps.title || "Page",
77063
+ headerPath && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
77064
+ " ",
77065
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("code", { className: getClassName25("headerPath"), children: headerPath })
77066
+ ] })
77067
+ ] }) }),
77068
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerTools"), children: [
77069
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("menuButton"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77070
+ IconButton,
77071
+ {
77072
+ onClick: () => {
77073
+ return setMenuOpen(!menuOpen);
77074
+ },
77075
+ title: "Toggle menu bar",
77076
+ children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronUp, { focusable: "false" }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronDown, { focusable: "false" })
77077
+ }
77078
+ ) }),
77079
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77080
+ MenuBar,
77081
+ {
77082
+ appState,
77083
+ data,
77084
+ dispatch,
77085
+ onPublish,
77086
+ menuOpen,
77087
+ renderHeaderActions: () => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CustomHeaderActions, {}),
77088
+ setMenuOpen
77089
+ }
77090
+ )
77065
77091
  ] })
77066
- ] }) }),
77067
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("headerTools"), children: [
77068
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("menuButton"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77069
- IconButton,
77070
- {
77071
- onClick: () => {
77072
- return setMenuOpen(!menuOpen);
77073
- },
77074
- title: "Toggle menu bar",
77075
- children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronUp, { focusable: "false" }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronDown, { focusable: "false" })
77076
- }
77077
- ) }),
77078
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77079
- MenuBar,
77080
- {
77081
- appState,
77082
- data,
77083
- dispatch,
77084
- onPublish,
77085
- menuOpen,
77086
- renderHeaderActions: () => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CustomHeaderActions, {}),
77087
- setMenuOpen
77088
- }
77089
- )
77090
- ] })
77091
- ] }) })
77092
- }
77093
- ),
77094
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("leftSideBar"), children: [
77095
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SidebarSection2, { title: "Components", noBorderTop: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Components, {}) }),
77096
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SidebarSection2, { title: "Outline", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Outline, {}) })
77092
+ ] }) })
77093
+ }
77094
+ ),
77095
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getClassName25("leftSideBar"), children: [
77096
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SidebarSection2, { title: "Components", noBorderTop: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Components, {}) }),
77097
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SidebarSection2, { title: "Outline", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Outline, {}) })
77098
+ ] }),
77099
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Canvas, {}),
77100
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("rightSideBar"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77101
+ SidebarSection2,
77102
+ {
77103
+ noPadding: true,
77104
+ noBorderTop: true,
77105
+ showBreadcrumbs: true,
77106
+ title: selectedItem ? (_a = config.components[selectedItem.type]["label"]) != null ? _a : selectedItem.type : "Page",
77107
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Fields, {})
77108
+ }
77109
+ ) })
77097
77110
  ] }),
77098
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Canvas, {}),
77099
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: getClassName25("rightSideBar"), children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77100
- SidebarSection2,
77101
- {
77102
- noPadding: true,
77103
- noBorderTop: true,
77104
- showBreadcrumbs: true,
77105
- title: selectedItem ? (_a = config.components[selectedItem.type]["label"]) != null ? _a : selectedItem.type : "Page",
77106
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Fields, {})
77107
- }
77108
- ) }),
77109
77111
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
77110
77112
  "div",
77111
77113
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.14.1-canary.041ca64",
3
+ "version": "0.14.1-canary.5c05f94",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -18,7 +18,7 @@
18
18
  "dist"
19
19
  ],
20
20
  "devDependencies": {
21
- "@measured/puck": "^0.14.1-canary.041ca64",
21
+ "@measured/puck": "^0.14.1-canary.5c05f94",
22
22
  "@types/react": "^18.2.0",
23
23
  "@types/react-dom": "^18.2.0",
24
24
  "eslint": "^7.32.0",