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