freemium-ui 1.0.135 → 1.0.136
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/lib/index.cjs.js +2 -1
- package/lib/index.esm.js +2 -1
- package/package.json +1 -1
package/lib/index.cjs.js
CHANGED
|
@@ -18196,13 +18196,14 @@ var BoxedRadioGroup$1 = withDefaults(BoxedRadioGroup, defaultProps$6);
|
|
|
18196
18196
|
BoxedRadio$1.Group = BoxedRadioGroup$1;
|
|
18197
18197
|
|
|
18198
18198
|
const Table = (props) => {
|
|
18199
|
-
const { columns = [], data = [], count = 0, offset = 0, limit = 0, next = false, previous = false, showPagination = true, showSelectAllInTable = false, showActions = true, showSelections = true, showFilters = true, showOptions = true, rowMenuOptions = () => [], onRowSelect, onRowClick, onPrevious, onSelectAll, onNext, onMenuOptionSelect, headerComponent, initialState, filterComponent, } = props;
|
|
18199
|
+
const { columns = [], data = [], count = 0, offset = 0, limit = 0, next = false, previous = false, showPagination = true, showSelectAllInTable = false, showActions = true, showSelections = true, showFilters = true, showOptions = true, rowMenuOptions = () => [], onRowSelect, onRowClick, onPrevious, onSelectAll, onNext, onMenuOptionSelect, headerComponent, initialState, state, filterComponent, } = props;
|
|
18200
18200
|
const [showFilterPane, toggleFilterPane] = React__default.useState(showFilters);
|
|
18201
18201
|
const [anchorEl, setAnchorEl] = React__default.useState(null);
|
|
18202
18202
|
const tableInstance = reactTable.useTable({
|
|
18203
18203
|
columns,
|
|
18204
18204
|
data,
|
|
18205
18205
|
initialState,
|
|
18206
|
+
state,
|
|
18206
18207
|
}, reactTable.useRowSelect, reactTable.useColumnOrder, (hooks) => {
|
|
18207
18208
|
hooks.visibleColumns.push((c) => showSelections
|
|
18208
18209
|
? [
|
package/lib/index.esm.js
CHANGED
|
@@ -18187,13 +18187,14 @@ var BoxedRadioGroup$1 = withDefaults(BoxedRadioGroup, defaultProps$6);
|
|
|
18187
18187
|
BoxedRadio$1.Group = BoxedRadioGroup$1;
|
|
18188
18188
|
|
|
18189
18189
|
const Table = (props) => {
|
|
18190
|
-
const { columns = [], data = [], count = 0, offset = 0, limit = 0, next = false, previous = false, showPagination = true, showSelectAllInTable = false, showActions = true, showSelections = true, showFilters = true, showOptions = true, rowMenuOptions = () => [], onRowSelect, onRowClick, onPrevious, onSelectAll, onNext, onMenuOptionSelect, headerComponent, initialState, filterComponent, } = props;
|
|
18190
|
+
const { columns = [], data = [], count = 0, offset = 0, limit = 0, next = false, previous = false, showPagination = true, showSelectAllInTable = false, showActions = true, showSelections = true, showFilters = true, showOptions = true, rowMenuOptions = () => [], onRowSelect, onRowClick, onPrevious, onSelectAll, onNext, onMenuOptionSelect, headerComponent, initialState, state, filterComponent, } = props;
|
|
18191
18191
|
const [showFilterPane, toggleFilterPane] = React__default.useState(showFilters);
|
|
18192
18192
|
const [anchorEl, setAnchorEl] = React__default.useState(null);
|
|
18193
18193
|
const tableInstance = useTable({
|
|
18194
18194
|
columns,
|
|
18195
18195
|
data,
|
|
18196
18196
|
initialState,
|
|
18197
|
+
state,
|
|
18197
18198
|
}, useRowSelect, useColumnOrder, (hooks) => {
|
|
18198
18199
|
hooks.visibleColumns.push((c) => showSelections
|
|
18199
18200
|
? [
|