@gobolt/genesis 0.4.40 → 0.4.41

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.
@@ -6,7 +6,6 @@ export type Groups = {
6
6
  };
7
7
  export interface SecondaryTableControlsRowProps {
8
8
  groups: Groups | null;
9
- totalRecords: number | null;
10
9
  onChange?: Change;
11
10
  infiniteScrollData?: InfiniteScrollChangeEvent;
12
11
  intialRowTotal?: number;
@@ -14,5 +13,5 @@ export interface SecondaryTableControlsRowProps {
14
13
  getCustomIcon?: (title: string) => React.ReactNode | null;
15
14
  filteredResultsCount?: number;
16
15
  }
17
- declare const SecondaryTableControlsRow: ({ groups, totalRecords, onChange, infiniteScrollData, intialRowTotal, hasExternalFilters, getCustomIcon, filteredResultsCount, }: SecondaryTableControlsRowProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const SecondaryTableControlsRow: ({ groups, onChange, infiniteScrollData, intialRowTotal, hasExternalFilters, getCustomIcon, filteredResultsCount, }: SecondaryTableControlsRowProps) => import("react/jsx-runtime").JSX.Element;
18
17
  export default SecondaryTableControlsRow;
package/dist/index.cjs CHANGED
@@ -85797,7 +85797,6 @@ const GroupsRow = ({
85797
85797
  };
85798
85798
  const SecondaryTableControlsRow = ({
85799
85799
  groups,
85800
- totalRecords,
85801
85800
  onChange,
85802
85801
  infiniteScrollData,
85803
85802
  intialRowTotal = 40,
@@ -85880,7 +85879,7 @@ const SecondaryTableControlsRow = ({
85880
85879
  alignItems: "center",
85881
85880
  gap: 4
85882
85881
  },
85883
- children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body3", color: "#30606B;", children: "Clear Filters" })
85882
+ children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "body3", color: "#30606B;", children: "Clear all filters" })
85884
85883
  }
85885
85884
  ) : null
85886
85885
  ]
@@ -85924,7 +85923,6 @@ const TableControls = ({
85924
85923
  SecondaryTableControlsRow,
85925
85924
  {
85926
85925
  groups: secondaryTableRowData.groups,
85927
- totalRecords: secondaryTableRowData.totalRecords,
85928
85926
  onChange: onSecondaryChange,
85929
85927
  infiniteScrollData: secondaryTableRowData.infiniteScrollData,
85930
85928
  hasExternalFilters: secondaryTableRowData.hasExternalFilters,
@@ -86047,7 +86045,6 @@ const TableWithControls = ({
86047
86045
  const mergedSecondaryTableRowData = {
86048
86046
  ...secondaryTableRowData,
86049
86047
  groups: secondaryTableRowData?.groups || null,
86050
- totalRecords: secondaryTableRowData?.totalRecords || null,
86051
86048
  infiniteScrollData: infiniteScrollData.resultsShown > 0 ? infiniteScrollData : secondaryTableRowData?.infiniteScrollData || infiniteScrollData
86052
86049
  };
86053
86050
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
package/dist/index.js CHANGED
@@ -85779,7 +85779,6 @@ const GroupsRow = ({
85779
85779
  };
85780
85780
  const SecondaryTableControlsRow = ({
85781
85781
  groups,
85782
- totalRecords,
85783
85782
  onChange,
85784
85783
  infiniteScrollData,
85785
85784
  intialRowTotal = 40,
@@ -85862,7 +85861,7 @@ const SecondaryTableControlsRow = ({
85862
85861
  alignItems: "center",
85863
85862
  gap: 4
85864
85863
  },
85865
- children: /* @__PURE__ */ jsx(Typography, { variant: "body3", color: "#30606B;", children: "Clear Filters" })
85864
+ children: /* @__PURE__ */ jsx(Typography, { variant: "body3", color: "#30606B;", children: "Clear all filters" })
85866
85865
  }
85867
85866
  ) : null
85868
85867
  ]
@@ -85906,7 +85905,6 @@ const TableControls = ({
85906
85905
  SecondaryTableControlsRow,
85907
85906
  {
85908
85907
  groups: secondaryTableRowData.groups,
85909
- totalRecords: secondaryTableRowData.totalRecords,
85910
85908
  onChange: onSecondaryChange,
85911
85909
  infiniteScrollData: secondaryTableRowData.infiniteScrollData,
85912
85910
  hasExternalFilters: secondaryTableRowData.hasExternalFilters,
@@ -86029,7 +86027,6 @@ const TableWithControls = ({
86029
86027
  const mergedSecondaryTableRowData = {
86030
86028
  ...secondaryTableRowData,
86031
86029
  groups: secondaryTableRowData?.groups || null,
86032
- totalRecords: secondaryTableRowData?.totalRecords || null,
86033
86030
  infiniteScrollData: infiniteScrollData.resultsShown > 0 ? infiniteScrollData : secondaryTableRowData?.infiniteScrollData || infiniteScrollData
86034
86031
  };
86035
86032
  return /* @__PURE__ */ jsxs(Fragment, { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobolt/genesis",
3
- "version": "0.4.40",
3
+ "version": "0.4.41",
4
4
  "description": "genesis design system",
5
5
  "author": "gobolt",
6
6
  "license": "MIT",