@tellescope/react-components 1.131.0 → 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/lib/cjs/table.d.ts +2 -1
- package/lib/cjs/table.d.ts.map +1 -1
- package/lib/cjs/table.js +2 -2
- package/lib/cjs/table.js.map +1 -1
- package/lib/esm/Forms/form_responses.d.ts +1 -0
- package/lib/esm/Forms/form_responses.d.ts.map +1 -1
- package/lib/esm/Forms/forms.d.ts +3 -3
- package/lib/esm/Forms/hooks.d.ts +1 -0
- package/lib/esm/Forms/hooks.d.ts.map +1 -1
- package/lib/esm/Forms/inputs.d.ts +1 -1
- package/lib/esm/Forms/inputs.native.d.ts +0 -1
- package/lib/esm/Forms/inputs.native.d.ts.map +1 -1
- package/lib/esm/controls.d.ts +2 -2
- package/lib/esm/layout.d.ts +1 -1
- package/lib/esm/state.d.ts +240 -240
- package/lib/esm/table.d.ts +2 -1
- package/lib/esm/table.d.ts.map +1 -1
- package/lib/esm/table.js +2 -2
- package/lib/esm/table.js.map +1 -1
- package/lib/esm/theme.native.d.ts +0 -1
- package/lib/esm/theme.native.d.ts.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/table.tsx +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tellescope/react-components",
|
|
3
|
-
"version": "1.131.
|
|
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.
|
|
51
|
-
"@tellescope/sdk": "^1.131.
|
|
52
|
-
"@tellescope/types-client": "^1.131.
|
|
53
|
-
"@tellescope/types-models": "^1.131.
|
|
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.
|
|
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": "
|
|
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>
|