@rozie-ui/data-table-solid 0.7.2 → 0.7.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @rozie-ui/data-table-solid
2
2
 
3
+ ## 0.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 67902f8: React and Solid: slot props passed to the component are no longer part of the attribute pass-through spread onto its root element. On Solid a slot render function passed as `<name>Slot` (or a `slots` record) was written to the DOM as an attribute holding the function source; on React the slot members (`render<Name>`, `children`, `slots`) were left in the rest bucket. Regenerated with the compiler fix; no API change.
8
+ - @rozie/runtime-solid@0.9.1
9
+
3
10
  ## 0.7.2
4
11
 
5
12
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -735,7 +735,17 @@ function DataTable(_props) {
735
735
  "onSelectionChange",
736
736
  "onSortChange",
737
737
  "onVisibilityChange",
738
- "onVisibleRangeChange"
738
+ "onVisibleRangeChange",
739
+ "groupBarSlot",
740
+ "selectAllSlot",
741
+ "placeholderSlot",
742
+ "selectCellSlot",
743
+ "detailSlot",
744
+ "colHeaderSlot",
745
+ "filterSlot",
746
+ "cellSlot",
747
+ "editorSlot",
748
+ "slots"
739
749
  ]);
740
750
  const resolved = () => local.children;
741
751
  (0, solid_js.onMount)(() => {
package/dist/index.mjs CHANGED
@@ -708,7 +708,17 @@ function DataTable(_props) {
708
708
  "onSelectionChange",
709
709
  "onSortChange",
710
710
  "onVisibilityChange",
711
- "onVisibleRangeChange"
711
+ "onVisibleRangeChange",
712
+ "groupBarSlot",
713
+ "selectAllSlot",
714
+ "placeholderSlot",
715
+ "selectCellSlot",
716
+ "detailSlot",
717
+ "colHeaderSlot",
718
+ "filterSlot",
719
+ "cellSlot",
720
+ "editorSlot",
721
+ "slots"
712
722
  ]);
713
723
  const resolved = () => local.children;
714
724
  onMount(() => {
@@ -706,7 +706,17 @@ function DataTable(_props) {
706
706
  "onSelectionChange",
707
707
  "onSortChange",
708
708
  "onVisibilityChange",
709
- "onVisibleRangeChange"
709
+ "onVisibleRangeChange",
710
+ "groupBarSlot",
711
+ "selectAllSlot",
712
+ "placeholderSlot",
713
+ "selectCellSlot",
714
+ "detailSlot",
715
+ "colHeaderSlot",
716
+ "filterSlot",
717
+ "cellSlot",
718
+ "editorSlot",
719
+ "slots"
710
720
  ]);
711
721
  const resolved = () => local.children;
712
722
  onMount(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rozie-ui/data-table-solid",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  ],
49
49
  "dependencies": {
50
50
  "@solid-primitives/keyed": "^1.5.3",
51
- "@rozie/runtime-solid": "^0.9.0"
51
+ "@rozie/runtime-solid": "^0.9.1"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "solid-js": "^1.8",
package/src/DataTable.tsx CHANGED
@@ -755,7 +755,7 @@ export interface DataTableHandle {
755
755
 
756
756
  export default function DataTable(_props: DataTableProps): JSX.Element {
757
757
  const _merged = mergeProps({ columns: (() => [])() as any[], selectionMode: 'none', manual: false, rowCount: null, pageCount: null, expandable: false, getRowId: null, getSubRows: null, groupable: false, stickyHeader: false, interactionMode: 'table', singleClickEdit: false, undoable: false, undoLimit: 100, virtual: false, estimateRowHeight: 40, autoMeasure: false, maxHeight: '' }, _props);
758
- const [local, attrs] = splitProps(_merged, ['data', 'columns', 'selectionMode', 'sorting', 'globalFilter', 'columnFilters', 'pagination', 'manual', 'rowCount', 'pageCount', 'expandable', 'expanded', 'getRowId', 'getSubRows', 'groupable', 'grouping', 'rowSelection', 'columnVisibility', 'columnSizing', 'columnOrder', 'columnPinning', 'stickyHeader', 'interactionMode', 'singleClickEdit', 'undoable', 'undoLimit', 'virtual', 'estimateRowHeight', 'autoMeasure', 'maxHeight', 'children', 'ref', 'onActivecellChange', 'onCellEditCommit', 'onExpandChange', 'onFilterChange', 'onGroupChange', 'onHistoryChange', 'onPageChange', 'onPinChange', 'onRangeChange', 'onReorderChange', 'onResizeChange', 'onRowActivate', 'onRowEditCommit', 'onSelectionChange', 'onSortChange', 'onVisibilityChange', 'onVisibleRangeChange']);
758
+ const [local, attrs] = splitProps(_merged, ['data', 'columns', 'selectionMode', 'sorting', 'globalFilter', 'columnFilters', 'pagination', 'manual', 'rowCount', 'pageCount', 'expandable', 'expanded', 'getRowId', 'getSubRows', 'groupable', 'grouping', 'rowSelection', 'columnVisibility', 'columnSizing', 'columnOrder', 'columnPinning', 'stickyHeader', 'interactionMode', 'singleClickEdit', 'undoable', 'undoLimit', 'virtual', 'estimateRowHeight', 'autoMeasure', 'maxHeight', 'children', 'ref', 'onActivecellChange', 'onCellEditCommit', 'onExpandChange', 'onFilterChange', 'onGroupChange', 'onHistoryChange', 'onPageChange', 'onPinChange', 'onRangeChange', 'onReorderChange', 'onResizeChange', 'onRowActivate', 'onRowEditCommit', 'onSelectionChange', 'onSortChange', 'onVisibilityChange', 'onVisibleRangeChange', 'groupBarSlot', 'selectAllSlot', 'placeholderSlot', 'selectCellSlot', 'detailSlot', 'colHeaderSlot', 'filterSlot', 'cellSlot', 'editorSlot', 'slots']);
759
759
  const resolved = () => local.children;
760
760
  onMount(() => { local.ref?.({ sortColumn, clearSorting, toggleRowExpanded, expandAll, collapseAll, getExpandedRows, applyGrouping, clearGrouping, getFacetedUniqueValues, getFacetedMinMaxValues, getColumnDefs, toggleAllRows, clearSelection, getSelectedRows, setPage, setRowsPerPage, toggleColumnVisibility, applyColumnOrder, resetColumnSizing, pinColumn, focusCell, getActiveCell, clearActiveCell, scrollToRow, getScrollElement, getRowIndexRelativeToPage, editCell, commitEditing, editRow, getSelectedRange, cut, undo, redo, canUndo, canRedo, clearHistory }); });
761
761