karsten-design-system 2.0.15 → 2.0.16

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.js CHANGED
@@ -4499,13 +4499,13 @@ function Paginator({ rowsPerPageOptions = [10, 20, 30, 50, 100], onRowsPerPageCh
4499
4499
  });
4500
4500
  },
4501
4501
  RowsPerPageDropdown: (options) => {
4502
- return (jsxs("div", { className: "flex items-center gap-3 ml-4", children: [jsx("span", { className: "text-sm font-roboto text-dark-500 dark:text-light-500", children: lang.rowsPerPage }), jsx(RowsPerPageDropdown, { value: options.value, options: rowsPerPageOptions, onChange: (e) => {
4502
+ return (jsxs("div", { className: "flex items-center gap-3 ml-4", children: [jsx("span", { className: "text-sm font-roboto text-primary dark:text-light-500", children: lang.rowsPerPage }), jsx(RowsPerPageDropdown, { value: options.value, options: rowsPerPageOptions, onChange: (e) => {
4503
4503
  options.onChange(e);
4504
4504
  const customEvent = e;
4505
4505
  if (onRowsPerPageChange && customEvent.rows !== options.value) {
4506
4506
  onRowsPerPageChange(customEvent.rows);
4507
4507
  }
4508
- } }), jsxs("span", { className: "text-sm font-roboto text-dark-500 dark:text-light-500", children: [lang.total, " ", formatNumber(props.totalRecords)] })] }));
4508
+ } }), jsxs("span", { className: "text-sm font-roboto text-primary dark:text-light-500", children: [lang.total, " ", formatNumber(props.totalRecords)] })] }));
4509
4509
  },
4510
4510
  };
4511
4511
  return (jsx(Paginator$1, { ...props, template: template, className: "bg-light-500 dark:bg-dark-100" }));