notion-to-jsx 2.0.0 → 2.0.1

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.mjs CHANGED
@@ -764,7 +764,7 @@ var TableRow = memo10(({
764
764
  const isFirstCell = index === 0;
765
765
  const isLastCell = index === cells.length - 1;
766
766
  const isRowHeader = index === rowHeaderIndex;
767
- let cellClasses = [tableCell, cellClassName];
767
+ const cellClasses = [tableCell, cellClassName];
768
768
  if (isFirstCell) cellClasses.push(firstCell);
769
769
  if (isLastCell) cellClasses.push(lastCell);
770
770
  if (isRowHeader) cellClasses.push(hasRowHeader);
@@ -787,7 +787,7 @@ var Table = memo11(({ block }) => {
787
787
  if (!block.table || !block.children) {
788
788
  return null;
789
789
  }
790
- const { table_width, has_column_header, has_row_header } = block.table;
790
+ const { has_column_header, has_row_header } = block.table;
791
791
  const rows = block.children?.filter((child) => child.type === "table_row") || [];
792
792
  return /* @__PURE__ */ jsx14("div", { className: tableContainer, children: /* @__PURE__ */ jsx14("table", { className: table, children: rows.length > 0 && /* @__PURE__ */ jsxs6(Fragment3, { children: [
793
793
  has_column_header && rows[0] && /* @__PURE__ */ jsx14("thead", { children: /* @__PURE__ */ jsx14(TableRow_default, { rowBlock: rows[0], cellClassName: headerCell }) }),
@@ -1015,8 +1015,8 @@ var Cover_default = Cover;
1015
1015
  var container2 = "styles_container__epva5u0";
1016
1016
 
1017
1017
  // src/styles/theme.css.ts
1018
- var darkTheme = "theme_darkTheme__sq3jkb1n";
1019
- var lightTheme = "theme_lightTheme__sq3jkb1m";
1018
+ var darkTheme = "theme_darkTheme__sq3jkb1s";
1019
+ var lightTheme = "theme_lightTheme__sq3jkb1r";
1020
1020
 
1021
1021
  // src/components/Renderer/index.tsx
1022
1022
  import { Fragment as Fragment4, jsx as jsx20, jsxs as jsxs10 } from "react/jsx-runtime";