@tellescope/react-components 1.167.0 → 1.167.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/lib/cjs/inputs_shared.d.ts +1 -0
- package/lib/cjs/inputs_shared.d.ts.map +1 -1
- package/lib/cjs/inputs_shared.js +8 -2
- package/lib/cjs/inputs_shared.js.map +1 -1
- package/lib/esm/CMS/components.d.ts +1 -0
- package/lib/esm/CMS/components.d.ts.map +1 -1
- package/lib/esm/Forms/forms.d.ts +3 -3
- package/lib/esm/Forms/inputs.d.ts +1 -1
- package/lib/esm/Forms/inputs.native.d.ts +1 -0
- package/lib/esm/Forms/inputs.native.d.ts.map +1 -1
- package/lib/esm/controls.d.ts +2 -2
- package/lib/esm/inputs.d.ts +1 -1
- package/lib/esm/inputs_shared.d.ts +1 -0
- package/lib/esm/inputs_shared.d.ts.map +1 -1
- package/lib/esm/inputs_shared.js +8 -2
- package/lib/esm/inputs_shared.js.map +1 -1
- package/lib/esm/layout.d.ts +1 -1
- package/lib/esm/state.d.ts +264 -264
- package/lib/esm/theme.native.d.ts +1 -0
- package/lib/esm/theme.native.d.ts.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/inputs_shared.tsx +13 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tellescope/react-components",
|
|
3
|
-
"version": "1.167.
|
|
3
|
+
"version": "1.167.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"@reduxjs/toolkit": "^1.6.2",
|
|
48
48
|
"@stripe/react-stripe-js": "^2.9.0",
|
|
49
49
|
"@stripe/stripe-js": "^1.52.1",
|
|
50
|
-
"@tellescope/constants": "^1.167.
|
|
51
|
-
"@tellescope/sdk": "^1.167.
|
|
52
|
-
"@tellescope/types-client": "^1.167.
|
|
53
|
-
"@tellescope/types-models": "^1.167.
|
|
54
|
-
"@tellescope/types-utilities": "^1.167.
|
|
55
|
-
"@tellescope/utilities": "^1.167.
|
|
56
|
-
"@tellescope/validation": "^1.167.
|
|
50
|
+
"@tellescope/constants": "^1.167.1",
|
|
51
|
+
"@tellescope/sdk": "^1.167.1",
|
|
52
|
+
"@tellescope/types-client": "^1.167.1",
|
|
53
|
+
"@tellescope/types-models": "^1.167.1",
|
|
54
|
+
"@tellescope/types-utilities": "^1.167.1",
|
|
55
|
+
"@tellescope/utilities": "^1.167.1",
|
|
56
|
+
"@tellescope/validation": "^1.167.1",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
58
58
|
"@typescript-eslint/parser": "^4.33.0",
|
|
59
59
|
"css-to-react-native": "^3.0.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
81
81
|
"react-native": "^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.71.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "3d83827d046d02c02f29f947abf4e447da024553",
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public"
|
|
86
86
|
}
|
package/src/inputs_shared.tsx
CHANGED
|
@@ -896,6 +896,7 @@ export interface UserAndEnduserSelectorProps {
|
|
|
896
896
|
filter?: (e: Enduser | User) => boolean,
|
|
897
897
|
limitToUsers?: User[],
|
|
898
898
|
dontIncludeSelf: boolean,
|
|
899
|
+
virtualizationHeight?: number,
|
|
899
900
|
}
|
|
900
901
|
export const UserAndEnduserSelector: React.JSXElementConstructor<UserAndEnduserSelectorProps> = ({
|
|
901
902
|
titleInput,
|
|
@@ -914,7 +915,8 @@ export const UserAndEnduserSelector: React.JSXElementConstructor<UserAndEnduserS
|
|
|
914
915
|
filter,
|
|
915
916
|
radio,
|
|
916
917
|
limitToUsers,
|
|
917
|
-
dontIncludeSelf
|
|
918
|
+
dontIncludeSelf,
|
|
919
|
+
virtualizationHeight,
|
|
918
920
|
}) => {
|
|
919
921
|
const session = useResolvedSession()
|
|
920
922
|
const [endusersLoading, { loadMore: loadMoreEndusers, doneLoading: doneLoadingEndusers }] = useEndusers()
|
|
@@ -1000,7 +1002,16 @@ export const UserAndEnduserSelector: React.JSXElementConstructor<UserAndEnduserS
|
|
|
1000
1002
|
/>
|
|
1001
1003
|
</Flex>
|
|
1002
1004
|
|
|
1003
|
-
<ScrollingList items={items}
|
|
1005
|
+
<ScrollingList items={items}
|
|
1006
|
+
virtualization={
|
|
1007
|
+
virtualizationHeight ? {
|
|
1008
|
+
virtualize: true,
|
|
1009
|
+
height: virtualizationHeight,
|
|
1010
|
+
rowHeight: 45,
|
|
1011
|
+
width: '100%',
|
|
1012
|
+
hideHorizontalScroll: true,
|
|
1013
|
+
} : undefined
|
|
1014
|
+
}
|
|
1004
1015
|
emptyText={
|
|
1005
1016
|
itemsUnfiltered.length === 0
|
|
1006
1017
|
? "No contacts found"
|