schummar-table 0.10.0 → 0.10.1

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/cjs/index.js CHANGED
@@ -629,7 +629,7 @@ function ClearFiltersButton() {
629
629
  return /* @__PURE__ */ jsxRuntime.jsx("div", {
630
630
  css: tableTheme.defaultClasses.clearFiltersButton,
631
631
  children: /* @__PURE__ */ jsxRuntime.jsx(Button2, {
632
- variant: "text",
632
+ variant: "outlined",
633
633
  onClick: () => {
634
634
  table.update((state) => {
635
635
  state.activeColumns.forEach((column) => {
@@ -2735,28 +2735,28 @@ function SelectFilter(_m) {
2735
2735
  css: {
2736
2736
  marginBottom: "var(--spacing)"
2737
2737
  }
2738
- }), /* @__PURE__ */ jsxRuntime.jsxs("div", {
2738
+ }), /* @__PURE__ */ jsxRuntime.jsx(Button2, {
2739
+ disabled: !(value.size > 0),
2740
+ onClick: () => onChange(/* @__PURE__ */ new Set()),
2741
+ variant: "outlined",
2742
+ css: {
2743
+ justifyContent: "center",
2744
+ width: "100%",
2745
+ marginBottom: "var(--spacing)"
2746
+ },
2747
+ children: deselectAll
2748
+ }), /* @__PURE__ */ jsxRuntime.jsx("div", {
2739
2749
  css: {
2740
2750
  maxHeight: "20em",
2741
2751
  overflowY: "auto"
2742
2752
  },
2743
- children: [/* @__PURE__ */ jsxRuntime.jsx(Button2, {
2744
- disabled: value.size === 0,
2745
- onClick: () => onChange(/* @__PURE__ */ new Set()),
2746
- variant: "outlined",
2747
- css: {
2748
- justifyContent: "center",
2749
- width: "calc(100% - 5px)",
2750
- marginRight: "5px"
2751
- },
2752
- children: deselectAll
2753
- }), filtered.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(FormControlLabel, {
2753
+ children: filtered.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(FormControlLabel, {
2754
2754
  control: /* @__PURE__ */ jsxRuntime.jsx(Checkbox2, {
2755
2755
  checked: value.has(option),
2756
2756
  onChange: () => onChange(toggle(value, option, singleSelect))
2757
2757
  }),
2758
2758
  label: render(option)
2759
- }, index))]
2759
+ }, index))
2760
2760
  }), filtered.length === 0 && /* @__PURE__ */ jsxRuntime.jsx("span", {
2761
2761
  css: {
2762
2762
  textAlign: "center"