@raystack/apsara 0.10.6 → 0.10.7

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
@@ -11610,8 +11610,8 @@ const cell$1 = cva(styles$6.cell, {
11610
11610
  },
11611
11611
  },
11612
11612
  });
11613
- const SidebarNavigationCell = ({ leadingIcon, trailingIcon, active, disabled, children, href = "#", }) => {
11614
- return (jsxRuntimeExports.jsxs(Link, { className: cell$1({ active, disabled }), href: href, children: [jsxRuntimeExports.jsxs(Flex, { gap: "small", children: [leadingIcon, jsxRuntimeExports.jsx(Text, { className: styles$6.cellText, children: children })] }), trailingIcon] }));
11613
+ const SidebarNavigationCell = ({ leadingIcon, trailingIcon, active, disabled, children, onClick, }) => {
11614
+ return (jsxRuntimeExports.jsxs(Flex, { className: cell$1({ active, disabled }), onClick: onClick, children: [jsxRuntimeExports.jsxs(Flex, { gap: "small", children: [leadingIcon, jsxRuntimeExports.jsx(Text, { className: styles$6.cellText, children: children })] }), trailingIcon] }));
11615
11615
  };
11616
11616
  const SidebarFooter = ({ children, action }) => {
11617
11617
  return (jsxRuntimeExports.jsxs(Flex, { className: styles$6.footer, gap: "small", justify: "between", children: [jsxRuntimeExports.jsx(Text, { children: children }), action] }));
@@ -15308,8 +15308,8 @@ function DataTableGloabalSearch(props) {
15308
15308
  return (jsxRuntimeExports.jsx(TextField, { placeholder: "Filter tasks...", value: globalFilter ?? "", onChange: (event) => onGlobalFilterChange(String(event.target.value)), ...props }));
15309
15309
  }
15310
15310
 
15311
- function DataTableToolbar({ children, }) {
15312
- return (jsxRuntimeExports.jsx(Flex, { direction: "column", className: styles$4.toolbar, children: children }));
15311
+ function DataTableToolbar({ children, ...props }) {
15312
+ return (jsxRuntimeExports.jsx(Flex, { direction: "column", className: styles$4.toolbar, ...props, children: children }));
15313
15313
  }
15314
15314
 
15315
15315
  function DataTableViewOptions({ children, ...props }) {