@canvas-components/react-list-table 0.3.5 → 0.3.7

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 CHANGED
@@ -858,6 +858,7 @@ function ColumnVisibilityMenu(props) {
858
858
  offset: 2,
859
859
  minWidth: 220,
860
860
  onOpenChange: setOpen,
861
+ surfaceClassName: "canvas-react-scrollbar",
861
862
  surfaceStyle: {
862
863
  ...CONTEXT_MENU_SURFACE_STYLE,
863
864
  maxHeight: 360,
@@ -963,6 +964,7 @@ function ColumnVisibilityItem(props) {
963
964
  offset: 2,
964
965
  minWidth: 220,
965
966
  onOpenChange: setOpen,
967
+ surfaceClassName: "canvas-react-scrollbar",
966
968
  surfaceStyle: {
967
969
  ...CONTEXT_MENU_SURFACE_STYLE,
968
970
  maxHeight: 320,
@@ -1793,7 +1795,7 @@ function FormatChoiceList(props) {
1793
1795
  children: props.label
1794
1796
  }
1795
1797
  ),
1796
- /* @__PURE__ */ jsx("div", { style: moreFormatChoiceListStyle, children: props.options.map((option) => {
1798
+ /* @__PURE__ */ jsx("div", { className: "canvas-react-scrollbar", style: moreFormatChoiceListStyle, children: props.options.map((option) => {
1797
1799
  const value = typeof option === "string" ? option : option.value;
1798
1800
  const label = typeof option === "string" ? option : option.label;
1799
1801
  return /* @__PURE__ */ jsx(
@@ -3484,7 +3486,7 @@ function ReactTableToolbar(props) {
3484
3486
  /* @__PURE__ */ jsx("span", { style: { marginLeft: "auto" }, children: config.columnSettingHeaderExtra }),
3485
3487
  /* @__PURE__ */ jsx("button", { type: "button", onClick: props.onResetColumns, children: "\u91CD\u7F6E" })
3486
3488
  ] }),
3487
- /* @__PURE__ */ jsx("div", { className: "react-list-table-column-setting-body", children: /* @__PURE__ */ jsx(
3489
+ /* @__PURE__ */ jsx("div", { className: "react-list-table-column-setting-body canvas-react-scrollbar", children: /* @__PURE__ */ jsx(
3488
3490
  SortableList,
3489
3491
  {
3490
3492
  items: flattenColumns(props.columns),