@raystack/apsara 0.11.0 → 0.11.2

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 CHANGED
@@ -15410,7 +15410,7 @@ function DataTableGloabalSearch(props) {
15410
15410
  // @ts-ignore
15411
15411
  , {
15412
15412
  // @ts-ignore
15413
- leading: jsxRuntimeExports.jsx(MagnifyingGlassIcon, {}), placeholder: "Filter tasks...", value: globalFilter ?? "", onChange: (event) => onGlobalFilterChange(String(event.target.value)), ...props }));
15413
+ leading: jsxRuntimeExports.jsx(MagnifyingGlassIcon, { style: { color: "var(--foreground-base)" } }), placeholder: "Filter tasks...", value: globalFilter ?? "", onChange: (event) => onGlobalFilterChange(String(event.target.value)), ...props }));
15414
15414
  }
15415
15415
 
15416
15416
  function DataTableToolbar({ children, ...props }) {
@@ -15508,6 +15508,7 @@ function DataTableRoot({ columns, data, emptyState, children, parentStyle, Shoul
15508
15508
  globalFilterFn: "auto",
15509
15509
  enableRowSelection: true,
15510
15510
  manualPagination: true,
15511
+ pageCount: -1,
15511
15512
  onGlobalFilterChange: setGlobalFilter,
15512
15513
  onSortingChange: setSorting,
15513
15514
  onColumnFiltersChange: setColumnFilters,
@@ -15527,7 +15528,6 @@ function DataTableRoot({ columns, data, emptyState, children, parentStyle, Shoul
15527
15528
  rowSelection,
15528
15529
  },
15529
15530
  });
15530
- console.log(table.getRowModel().rows?.length);
15531
15531
  return (jsxRuntimeExports.jsx(Flex, { direction: "column", justify: "between", className: styles$3.wrapper, children: jsxRuntimeExports.jsxs(TableContext.Provider, { value: {
15532
15532
  table,
15533
15533
  globalFilter,