@ballistix.digital/react-components 0.4.9 → 0.4.10
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.d.ts +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -16897,7 +16897,7 @@ var styles$8 = {
|
|
|
16897
16897
|
};
|
|
16898
16898
|
|
|
16899
16899
|
var TableList = function (props) {
|
|
16900
|
-
var id = props.id, columns = props.columns, data = props.data, page = props.page, children = props.children, defaultOrder = props.defaultOrder, _a = props.type, type = _a === void 0 ? 'normal' : _a, _b = props.isStriped, isStriped = _b === void 0 ? false : _b, _c = props.hasStickyHeader, hasStickyHeader = _c === void 0 ? false : _c, _d = props.hasVerticalSeparators, hasVerticalSeparators = _d === void 0 ? false : _d, _e = props.areControlsVisible, areControlsVisible = _e === void 0 ? true : _e, stylesOverrides = props.styles, onChange = props.onChange;
|
|
16900
|
+
var id = props.id, columns = props.columns, data = props.data, page = props.page, children = props.children, defaultOrder = props.defaultOrder, _a = props.type, type = _a === void 0 ? 'normal' : _a, _b = props.isStriped, isStriped = _b === void 0 ? false : _b, _c = props.hasStickyHeader, hasStickyHeader = _c === void 0 ? false : _c, _d = props.hasVerticalSeparators, hasVerticalSeparators = _d === void 0 ? false : _d, _e = props.areControlsVisible, areControlsVisible = _e === void 0 ? true : _e, stylesOverrides = props.styles, onChange = props.onChange, onPaginate = props.onPaginate;
|
|
16901
16901
|
var write = useExcel().write;
|
|
16902
16902
|
var handleGenerateStyle = function () {
|
|
16903
16903
|
var result = deepCopyObject(styles$7.base);
|
|
@@ -17050,7 +17050,7 @@ var TableList = function (props) {
|
|
|
17050
17050
|
'border-b border-gray-200') }, { children: flexRender(cell.column.columnDef.cell, cell.getContext()) }), cell.id));
|
|
17051
17051
|
}) }), row.id)); }) }))] })) })) })) })) })), jsx(PanelPaginationNavigation, __assign({ max: page.total, styles: (stylesOverrides === null || stylesOverrides === void 0 ? void 0 : stylesOverrides.components.panelPaginationNavigation)
|
|
17052
17052
|
? stylesOverrides === null || stylesOverrides === void 0 ? void 0 : stylesOverrides.components.panelPaginationNavigation
|
|
17053
|
-
: { container: 'mt-4' } }, { children: children }))] })) }));
|
|
17053
|
+
: { container: 'mt-4' }, onChange: onPaginate }, { children: children }))] })) }));
|
|
17054
17054
|
};
|
|
17055
17055
|
|
|
17056
17056
|
var base$6 = {
|
package/dist/index.js
CHANGED
|
@@ -16907,7 +16907,7 @@ var styles$8 = {
|
|
|
16907
16907
|
};
|
|
16908
16908
|
|
|
16909
16909
|
var TableList = function (props) {
|
|
16910
|
-
var id = props.id, columns = props.columns, data = props.data, page = props.page, children = props.children, defaultOrder = props.defaultOrder, _a = props.type, type = _a === void 0 ? 'normal' : _a, _b = props.isStriped, isStriped = _b === void 0 ? false : _b, _c = props.hasStickyHeader, hasStickyHeader = _c === void 0 ? false : _c, _d = props.hasVerticalSeparators, hasVerticalSeparators = _d === void 0 ? false : _d, _e = props.areControlsVisible, areControlsVisible = _e === void 0 ? true : _e, stylesOverrides = props.styles, onChange = props.onChange;
|
|
16910
|
+
var id = props.id, columns = props.columns, data = props.data, page = props.page, children = props.children, defaultOrder = props.defaultOrder, _a = props.type, type = _a === void 0 ? 'normal' : _a, _b = props.isStriped, isStriped = _b === void 0 ? false : _b, _c = props.hasStickyHeader, hasStickyHeader = _c === void 0 ? false : _c, _d = props.hasVerticalSeparators, hasVerticalSeparators = _d === void 0 ? false : _d, _e = props.areControlsVisible, areControlsVisible = _e === void 0 ? true : _e, stylesOverrides = props.styles, onChange = props.onChange, onPaginate = props.onPaginate;
|
|
16911
16911
|
var write = useExcel().write;
|
|
16912
16912
|
var handleGenerateStyle = function () {
|
|
16913
16913
|
var result = deepCopyObject(styles$7.base);
|
|
@@ -17060,7 +17060,7 @@ var TableList = function (props) {
|
|
|
17060
17060
|
'border-b border-gray-200') }, { children: reactTable.flexRender(cell.column.columnDef.cell, cell.getContext()) }), cell.id));
|
|
17061
17061
|
}) }), row.id)); }) }))] })) })) })) })) })), jsxRuntime.jsx(PanelPaginationNavigation, __assign({ max: page.total, styles: (stylesOverrides === null || stylesOverrides === void 0 ? void 0 : stylesOverrides.components.panelPaginationNavigation)
|
|
17062
17062
|
? stylesOverrides === null || stylesOverrides === void 0 ? void 0 : stylesOverrides.components.panelPaginationNavigation
|
|
17063
|
-
: { container: 'mt-4' } }, { children: children }))] })) }));
|
|
17063
|
+
: { container: 'mt-4' }, onChange: onPaginate }, { children: children }))] })) }));
|
|
17064
17064
|
};
|
|
17065
17065
|
|
|
17066
17066
|
var base$6 = {
|