@datawheel/bespoke 0.1.33 → 0.1.34

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6376,6 +6376,7 @@ function OptionsModal(props) {
6376
6376
  return /* @__PURE__ */ jsx("div", { className: "cms-section-options-modal", children: open && /* @__PURE__ */ jsx(
6377
6377
  Modal,
6378
6378
  {
6379
+ className: "bespoke-options-modal",
6379
6380
  opened: true,
6380
6381
  onClose: () => onEnds(),
6381
6382
  size: "xl",
@@ -7140,7 +7141,7 @@ function Section({ section }) {
7140
7141
  columnSettings,
7141
7142
  sx: { flexBasis: `${100 / colsQty}%` },
7142
7143
  children: Object.values(column).sort((a, b) => orderSort(a, b, "blockrow")).map((item) => {
7143
- if (!item.id || !status[item.id].allowed)
7144
+ if (!item.id || !status[item.id].allowed && item.type !== BLOCK_TYPES.NAV)
7144
7145
  return null;
7145
7146
  const { settings: settings2, type } = blockRecords[item.id];
7146
7147
  const blockWidth = settings2.width && !settings2.width.stretch && settings2.width.unit ? formatters[settings2.width.unit](settings2.width.value) : settings2.display === "inline" ? "auto" : "100%";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datawheel/bespoke",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "Content management system for creating automated data reports",
5
5
  "exports": {
6
6
  ".": {