@tellescope/react-components 1.131.1 → 1.131.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tellescope/react-components",
3
- "version": "1.131.1",
3
+ "version": "1.131.2",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -47,12 +47,12 @@
47
47
  "@reduxjs/toolkit": "^1.6.2",
48
48
  "@stripe/react-stripe-js": "^2.1.0",
49
49
  "@stripe/stripe-js": "^1.52.1",
50
- "@tellescope/constants": "^1.131.1",
51
- "@tellescope/sdk": "^1.131.1",
52
- "@tellescope/types-client": "^1.131.1",
53
- "@tellescope/types-models": "^1.131.1",
50
+ "@tellescope/constants": "^1.131.2",
51
+ "@tellescope/sdk": "^1.131.2",
52
+ "@tellescope/types-client": "^1.131.2",
53
+ "@tellescope/types-models": "^1.131.2",
54
54
  "@tellescope/types-utilities": "^1.69.3",
55
- "@tellescope/utilities": "^1.131.1",
55
+ "@tellescope/utilities": "^1.131.2",
56
56
  "@typescript-eslint/eslint-plugin": "^4.33.0",
57
57
  "@typescript-eslint/parser": "^4.33.0",
58
58
  "css-to-react-native": "^3.0.0",
@@ -79,7 +79,7 @@
79
79
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
80
80
  "react-native": "^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.71.0"
81
81
  },
82
- "gitHead": "3ad31b89c1e7e68baed19996d60e52f83e487e9d",
82
+ "gitHead": "6803c17b8a1c9f5db4ed23e64167e22d62144a09",
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  }
package/src/table.tsx CHANGED
@@ -719,6 +719,7 @@ export interface TableProps<T extends Item> extends WithTitle, WithHeader<T>, Wi
719
719
  onExport?: (v: { data: (string | number)[][], labels: string[] }) => void,
720
720
  sort?: SortingField[],
721
721
  loadMoreOptions?: LoadMoreOptions<T>,
722
+ refreshFilterSuggestionsKey?: number,
722
723
  }
723
724
  export const Table = <T extends Item>({
724
725
  items,
@@ -771,6 +772,7 @@ export const Table = <T extends Item>({
771
772
  onExport,
772
773
 
773
774
  sort,
775
+ refreshFilterSuggestionsKey,
774
776
  }: TableProps<T> & Styled) => {
775
777
  const sortingStorageKey = (memoryId ?? '') + 'sorting'
776
778
  const cachedSortString = read_local_storage(sortingStorageKey)
@@ -959,7 +961,7 @@ export const Table = <T extends Item>({
959
961
  }
960
962
 
961
963
  return suggestions
962
- }, [sorted, keyString])
964
+ }, [sorted, keyString, refreshFilterSuggestionsKey])
963
965
 
964
966
  const table = (
965
967
  <Flex column>