@tellescope/react-components 1.140.0 → 1.142.0

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.140.0",
3
+ "version": "1.142.0",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -38,7 +38,7 @@
38
38
  "@types/react-window": "^1.8.5",
39
39
  "babel-loader": "^8.2.3",
40
40
  "react-native": "0.68.0",
41
- "typescript": "^4.4.3"
41
+ "typescript": "4.9.3"
42
42
  },
43
43
  "dependencies": {
44
44
  "@emotion/css": "^11.9.0",
@@ -47,12 +47,13 @@
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.140.0",
51
- "@tellescope/sdk": "^1.140.0",
52
- "@tellescope/types-client": "^1.140.0",
53
- "@tellescope/types-models": "^1.140.0",
54
- "@tellescope/types-utilities": "^1.69.3",
55
- "@tellescope/utilities": "^1.140.0",
50
+ "@tellescope/constants": "^1.142.0",
51
+ "@tellescope/sdk": "^1.142.0",
52
+ "@tellescope/types-client": "^1.142.0",
53
+ "@tellescope/types-models": "^1.142.0",
54
+ "@tellescope/types-utilities": "^1.142.0",
55
+ "@tellescope/utilities": "^1.142.0",
56
+ "@tellescope/validation": "^1.142.0",
56
57
  "@typescript-eslint/eslint-plugin": "^4.33.0",
57
58
  "@typescript-eslint/parser": "^4.33.0",
58
59
  "css-to-react-native": "^3.0.0",
@@ -79,7 +80,7 @@
79
80
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
80
81
  "react-native": "^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.71.0"
81
82
  },
82
- "gitHead": "96366a4b190c7b432fbefd3469f0f9ade17ac589",
83
+ "gitHead": "26fa2efe5b68af7f3b0f18b4dc0b1746572b11a0",
83
84
  "publishConfig": {
84
85
  "access": "public"
85
86
  }
@@ -29,6 +29,7 @@ import {
29
29
  convert_CSS_to_RNStyles
30
30
  } from "./mui.native"
31
31
 
32
+ // @ts-ignore
32
33
  import NativeVideo from 'react-native-video';
33
34
 
34
35
  export const IN_REACT_WEB = false
package/src/table.tsx CHANGED
@@ -180,7 +180,7 @@ export const TableHeader = <T extends Item>({
180
180
  ? (
181
181
  <Autocomplete size={'small'}
182
182
  disablePortal multiple
183
- options={filterSuggestions?.[fields[openFilter]?.key?.toString()] || []}
183
+ options={(filterSuggestions?.[fields[openFilter]?.key?.toString()] || []).sort()}
184
184
  freeSolo autoSelect // allow any input and select it on change
185
185
  onChange={(e, values=[]) => {
186
186
  setLocalFilters(fs => fs.map((f, i) => i === openFilter ? { query: '', values } : f))
@@ -197,7 +197,7 @@ export const TableHeader = <T extends Item>({
197
197
  ) : (
198
198
  <Autocomplete size={'small'}
199
199
  disablePortal
200
- options={filterSuggestions?.[fields[openFilter]?.key?.toString()] || []}
200
+ options={(filterSuggestions?.[fields[openFilter]?.key?.toString()] || []).sort()}
201
201
  freeSolo autoSelect // allow any input and select it on change
202
202
  onChange={(e, _query) => {
203
203
  const query = _query || ''