@pareto-engineering/design-system 4.0.0-alpha.59 → 4.0.0-alpha.61
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/dist/cjs/a/AnimatedBlobs/AnimatedBlobs.js +6 -7
- package/dist/cjs/a/AnimatedGradient/AnimatedGradient.js +9 -9
- package/dist/cjs/a/AppContext/Context.js +3 -4
- package/dist/cjs/a/AppContext/ContextProvider.js +6 -6
- package/dist/cjs/a/AppContext/useTheme.js +2 -3
- package/dist/cjs/a/BlurOverlay/BlurOverlay.js +6 -7
- package/dist/cjs/a/ContentTree/ContentTree.js +8 -7
- package/dist/cjs/a/ContentTree/common/Tree/Tree.js +8 -8
- package/dist/cjs/a/ContentTree/common/useContentTree.js +1 -2
- package/dist/cjs/a/ContentTree/common/useFirstVisibleNode.js +1 -2
- package/dist/cjs/a/Conversation/Context.js +3 -4
- package/dist/cjs/a/Conversation/Conversation.js +8 -7
- package/dist/cjs/a/Conversation/common/Message/Message.js +3 -4
- package/dist/cjs/a/DotInfo/DotInfo.js +6 -7
- package/dist/cjs/a/Figure/Figure.js +6 -7
- package/dist/cjs/a/HamburgerButton/HamburgerButton.js +5 -8
- package/dist/cjs/a/IconList/IconList.js +5 -8
- package/dist/cjs/a/IconList/common/Item/Item.js +3 -4
- package/dist/cjs/a/Label/Label.js +5 -8
- package/dist/cjs/a/LoadingCircle/LoadingCircle.js +6 -7
- package/dist/cjs/a/MetaCard/MetaCard.js +6 -7
- package/dist/cjs/a/People/People.js +8 -7
- package/dist/cjs/a/People/common/Person/Person.js +3 -4
- package/dist/cjs/a/Popover/Popover.js +11 -9
- package/dist/cjs/a/ProgressBar/ProgressBar.js +6 -7
- package/dist/cjs/a/Quote/Quote.js +6 -7
- package/dist/cjs/a/Removable/Removable.js +6 -7
- package/dist/cjs/a/SVG/SVG.js +8 -10
- package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +3 -4
- package/dist/cjs/a/SnapScroller/SnapScroller.js +12 -12
- package/dist/cjs/a/Spinner/Spinner.js +6 -7
- package/dist/cjs/a/TextSteps/TextSteps.js +4 -7
- package/dist/cjs/a/Timestamp/Timestamp.js +12 -12
- package/dist/cjs/a/Tip/Tip.js +6 -7
- package/dist/cjs/a/ToggleSwitch/ToggleSwitch.js +10 -11
- package/dist/cjs/b/Button/Button.js +4 -8
- package/dist/cjs/b/Button/common/Group/Group.js +5 -8
- package/dist/cjs/b/Card/Card.js +6 -7
- package/dist/cjs/b/Card/common/Group/Group.js +5 -8
- package/dist/cjs/b/Card/common/Section/Section.js +3 -4
- package/dist/cjs/b/Logo/Logo.js +9 -9
- package/dist/cjs/b/Page/Context.js +3 -4
- package/dist/cjs/b/Page/Page.js +8 -11
- package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +6 -6
- package/dist/cjs/b/Page/common/Section/Section.js +3 -4
- package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +5 -8
- package/dist/cjs/b/ThemeSelector/ThemeSelector.js +10 -10
- package/dist/cjs/b/Title/Title.js +4 -10
- package/dist/cjs/c/ContentSlides/ContentSlides.js +10 -10
- package/dist/cjs/c/ContentSlides/Context.js +3 -4
- package/dist/cjs/c/ContentSlides/common/HorizontalMenu/HorizontalMenu.js +3 -4
- package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +3 -4
- package/dist/cjs/c/ContentSlides/common/Sidebar/Sidebar.js +3 -4
- package/dist/cjs/c/ContentSlides/common/Slide/Slide.js +3 -4
- package/dist/cjs/c/Modal/Modal.js +6 -7
- package/dist/cjs/c/Modal/common/ModalHeader/ModalHeader.js +3 -4
- package/dist/cjs/c/Shortener/Shortener.js +11 -9
- package/dist/cjs/c/SocialMediaShareButton/SocialMediaShareButton.js +6 -7
- package/dist/cjs/f/FormInput/FormInput.js +7 -9
- package/dist/cjs/f/common/Debugger/Debugger.js +10 -10
- package/dist/cjs/f/common/Description/Description.js +6 -7
- package/dist/cjs/f/common/InputWrapper/InputWrapper.js +6 -7
- package/dist/cjs/f/common/Label/Label.js +6 -7
- package/dist/cjs/f/common/index.js +19 -1
- package/dist/cjs/f/common/utils/index.js +12 -0
- package/dist/cjs/f/common/utils/lookUpInputValueFromFetchedOptions.js +29 -0
- package/dist/cjs/f/fields/Checkbox/Checkbox.js +5 -8
- package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +7 -9
- package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +3 -4
- package/dist/cjs/f/fields/EditorInput/EditorInput.js +11 -8
- package/dist/cjs/f/fields/EditorInput/common/Toolbar.js +17 -17
- package/dist/cjs/f/fields/EditorInput/common/TreeViewPlugin.js +1 -2
- package/dist/cjs/f/fields/LinkInput/LinkInput.js +7 -9
- package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +8 -8
- package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +27 -14
- package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +29 -11
- package/dist/cjs/f/fields/QueryCombobox/common/Menu/Menu.js +3 -4
- package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +30 -12
- package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +8 -8
- package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +11 -9
- package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +3 -4
- package/dist/cjs/f/fields/SelectInput/SelectInput.js +7 -9
- package/dist/cjs/f/fields/TextInput/TextInput.js +7 -9
- package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +7 -9
- package/dist/cjs/r/SwitchRouteMap/SwitchRouteMap.js +3 -4
- package/dist/cjs/r/common/PrivateRoute/PrivateRoute.js +6 -6
- package/dist/cjs/test/QueryLoader/QueryLoader.js +7 -7
- package/dist/cjs/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +3 -4
- package/dist/cjs/utils/hooks/useDynamicPosition.js +1 -2
- package/dist/cjs/utils/hooks/useWindowSize.js +1 -2
- package/dist/es/a/AnimatedBlobs/AnimatedBlobs.js +18 -23
- package/dist/es/a/AnimatedGradient/AnimatedGradient.js +2 -4
- package/dist/es/a/BlurOverlay/BlurOverlay.js +6 -11
- package/dist/es/a/ContentTree/ContentTree.js +1 -4
- package/dist/es/a/Conversation/Conversation.js +11 -16
- package/dist/es/a/DotInfo/DotInfo.js +9 -14
- package/dist/es/a/Figure/Figure.js +10 -15
- package/dist/es/a/HamburgerButton/HamburgerButton.js +13 -18
- package/dist/es/a/IconList/IconList.js +10 -15
- package/dist/es/a/Label/Label.js +6 -11
- package/dist/es/a/LoadingCircle/LoadingCircle.js +32 -37
- package/dist/es/a/MetaCard/MetaCard.js +6 -11
- package/dist/es/a/People/People.js +11 -16
- package/dist/es/a/Popover/Popover.js +2 -4
- package/dist/es/a/ProgressBar/ProgressBar.js +12 -17
- package/dist/es/a/Quote/Quote.js +14 -19
- package/dist/es/a/Removable/Removable.js +13 -18
- package/dist/es/a/SVG/SVG.js +2 -4
- package/dist/es/a/SnapScroller/SnapScroller.js +2 -4
- package/dist/es/a/Spinner/Spinner.js +9 -14
- package/dist/es/a/TextSteps/TextSteps.js +12 -17
- package/dist/es/a/Timestamp/Timestamp.js +3 -5
- package/dist/es/a/Tip/Tip.js +9 -14
- package/dist/es/a/ToggleSwitch/ToggleSwitch.js +20 -25
- package/dist/es/b/Button/Button.js +0 -4
- package/dist/es/b/Button/common/Group/Group.js +6 -11
- package/dist/es/b/Card/Card.js +11 -16
- package/dist/es/b/Card/common/Group/Group.js +1 -4
- package/dist/es/b/Logo/Logo.js +2 -4
- package/dist/es/b/Page/Page.js +2 -6
- package/dist/es/b/SocialMediaButton/SocialMediaButton.js +1 -4
- package/dist/es/b/ThemeSelector/ThemeSelector.js +3 -5
- package/dist/es/b/Title/Title.js +11 -20
- package/dist/es/c/ContentSlides/ContentSlides.js +1 -3
- package/dist/es/c/Modal/Modal.js +13 -18
- package/dist/es/c/Shortener/Shortener.js +2 -4
- package/dist/es/c/SocialMediaShareButton/SocialMediaShareButton.js +1 -4
- package/dist/es/f/FormInput/FormInput.js +2 -4
- package/dist/es/f/common/Debugger/Debugger.js +2 -4
- package/dist/es/f/common/Description/Description.js +1 -4
- package/dist/es/f/common/InputWrapper/InputWrapper.js +10 -15
- package/dist/es/f/common/Label/Label.js +12 -17
- package/dist/es/f/common/index.js +2 -1
- package/dist/es/f/common/utils/index.js +1 -0
- package/dist/es/f/common/utils/lookUpInputValueFromFetchedOptions.js +20 -0
- package/dist/es/f/fields/Checkbox/Checkbox.js +1 -4
- package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +30 -34
- package/dist/es/f/fields/EditorInput/EditorInput.js +2 -4
- package/dist/es/f/fields/LinkInput/LinkInput.js +2 -4
- package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +17 -8
- package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +22 -4
- package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +22 -4
- package/dist/es/f/fields/RatingsInput/RatingsInput.js +2 -4
- package/dist/es/f/fields/SelectInput/SelectInput.js +2 -4
- package/dist/es/f/fields/TextInput/TextInput.js +2 -4
- package/dist/es/f/fields/TextareaInput/TextareaInput.js +2 -4
- package/package.json +4 -3
- package/src/stories/f/QueryCombobox.stories.jsx +18 -0
- package/src/ui/a/AnimatedBlobs/AnimatedBlobs.jsx +25 -31
- package/src/ui/a/AnimatedGradient/AnimatedGradient.jsx +2 -5
- package/src/ui/a/BlurOverlay/BlurOverlay.jsx +18 -24
- package/src/ui/a/ContentTree/ContentTree.jsx +2 -6
- package/src/ui/a/Conversation/Conversation.jsx +26 -32
- package/src/ui/a/DotInfo/DotInfo.jsx +23 -29
- package/src/ui/a/Figure/Figure.jsx +21 -27
- package/src/ui/a/HamburgerButton/HamburgerButton.jsx +27 -33
- package/src/ui/a/IconList/IconList.jsx +22 -28
- package/src/ui/a/Label/Label.jsx +21 -27
- package/src/ui/a/LoadingCircle/LoadingCircle.jsx +43 -49
- package/src/ui/a/MetaCard/MetaCard.jsx +19 -25
- package/src/ui/a/People/People.jsx +25 -31
- package/src/ui/a/Popover/Popover.jsx +3 -5
- package/src/ui/a/ProgressBar/ProgressBar.jsx +25 -31
- package/src/ui/a/Quote/Quote.jsx +26 -32
- package/src/ui/a/Removable/Removable.jsx +22 -29
- package/src/ui/a/SVG/SVG.jsx +3 -5
- package/src/ui/a/SnapScroller/SnapScroller.jsx +2 -4
- package/src/ui/a/Spinner/Spinner.jsx +19 -25
- package/src/ui/a/TextSteps/TextSteps.jsx +27 -34
- package/src/ui/a/Timestamp/Timestamp.jsx +5 -7
- package/src/ui/a/Tip/Tip.jsx +22 -28
- package/src/ui/a/ToggleSwitch/ToggleSwitch.jsx +33 -35
- package/src/ui/b/Button/Button.jsx +0 -5
- package/src/ui/b/Button/common/Group/Group.jsx +18 -24
- package/src/ui/b/Card/Card.jsx +25 -31
- package/src/ui/b/Card/common/Group/Group.jsx +2 -5
- package/src/ui/b/Logo/Logo.jsx +3 -5
- package/src/ui/b/Page/Page.jsx +2 -7
- package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +2 -7
- package/src/ui/b/ThemeSelector/ThemeSelector.jsx +4 -6
- package/src/ui/b/Title/Title.jsx +36 -46
- package/src/ui/c/ContentSlides/ContentSlides.jsx +2 -4
- package/src/ui/c/Modal/Modal.jsx +24 -30
- package/src/ui/c/Shortener/Shortener.jsx +3 -5
- package/src/ui/c/SocialMediaShareButton/SocialMediaShareButton.jsx +2 -6
- package/src/ui/f/FormInput/FormInput.jsx +3 -5
- package/src/ui/f/common/Debugger/Debugger.jsx +3 -5
- package/src/ui/f/common/Description/Description.jsx +2 -6
- package/src/ui/f/common/InputWrapper/InputWrapper.jsx +21 -27
- package/src/ui/f/common/Label/Label.jsx +25 -31
- package/src/ui/f/common/index.js +1 -0
- package/src/ui/f/common/utils/index.js +1 -0
- package/src/ui/f/common/utils/lookUpInputValueFromFetchedOptions.js +23 -0
- package/src/ui/f/fields/Checkbox/Checkbox.jsx +2 -6
- package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +48 -52
- package/src/ui/f/fields/EditorInput/EditorInput.jsx +2 -5
- package/src/ui/f/fields/LinkInput/LinkInput.jsx +2 -5
- package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +21 -11
- package/src/ui/f/fields/QueryCombobox/common/Combobox/Combobox.jsx +18 -2
- package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +18 -1
- package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +3 -5
- package/src/ui/f/fields/SelectInput/SelectInput.jsx +3 -5
- package/src/ui/f/fields/TextInput/TextInput.jsx +3 -5
- package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +3 -5
- package/tests/__snapshots__/Storyshots.test.js.snap +269 -20
- package/dist/cjs/b/Title/styles.scss +0 -16
- package/dist/es/b/Title/styles.scss +0 -16
- package/src/ui/b/Title/styles.scss +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @pareto-engineering/generator-front 1.0.12 */
|
|
2
2
|
import * as React from 'react'
|
|
3
3
|
|
|
4
|
-
import { useState
|
|
4
|
+
import { useState } from 'react'
|
|
5
5
|
|
|
6
6
|
import { useField } from 'formik'
|
|
7
7
|
|
|
@@ -9,6 +9,8 @@ import { useRelayEnvironment, fetchQuery } from 'react-relay'
|
|
|
9
9
|
|
|
10
10
|
import PropTypes from 'prop-types'
|
|
11
11
|
|
|
12
|
+
import './styles.scss'
|
|
13
|
+
|
|
12
14
|
// Local Definitions
|
|
13
15
|
|
|
14
16
|
import { Combobox, MultipleCombobox } from './common'
|
|
@@ -40,12 +42,10 @@ const QueryCombobox = ({
|
|
|
40
42
|
desktopLabelSpan,
|
|
41
43
|
inputSpan,
|
|
42
44
|
desktopInputSpan,
|
|
45
|
+
placeholder,
|
|
46
|
+
promptCreateNewOption,
|
|
43
47
|
// ...otherProps
|
|
44
48
|
}) => {
|
|
45
|
-
useInsertionEffect(() => {
|
|
46
|
-
import('./styles.scss')
|
|
47
|
-
}, [])
|
|
48
|
-
|
|
49
49
|
const [, meta, helpers] = useField({ name, validate })
|
|
50
50
|
|
|
51
51
|
const { setValue, setError } = helpers
|
|
@@ -102,6 +102,7 @@ const QueryCombobox = ({
|
|
|
102
102
|
style,
|
|
103
103
|
options,
|
|
104
104
|
getOptions,
|
|
105
|
+
setOptions,
|
|
105
106
|
debounceMs,
|
|
106
107
|
disabled,
|
|
107
108
|
name,
|
|
@@ -120,6 +121,8 @@ const QueryCombobox = ({
|
|
|
120
121
|
desktopLabelSpan,
|
|
121
122
|
inputSpan,
|
|
122
123
|
desktopInputSpan,
|
|
124
|
+
placeholder,
|
|
125
|
+
promptCreateNewOption,
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
const Input = multiple ? MultipleCombobox : Combobox
|
|
@@ -252,6 +255,12 @@ QueryCombobox.propTypes = {
|
|
|
252
255
|
* The number of columns the input should span on desktop
|
|
253
256
|
*/
|
|
254
257
|
desktopInputSpan:PropTypes.number,
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Whether to prompt the user to create a new option if the search input
|
|
261
|
+
* does not match any of the options
|
|
262
|
+
*/
|
|
263
|
+
promptCreateNewOption:PropTypes.bool,
|
|
255
264
|
}
|
|
256
265
|
|
|
257
266
|
QueryCombobox.defaultProps = {
|
|
@@ -259,12 +268,13 @@ QueryCombobox.defaultProps = {
|
|
|
259
268
|
value :'id',
|
|
260
269
|
getLabel:(node) => node.name,
|
|
261
270
|
},
|
|
262
|
-
multiple
|
|
263
|
-
color
|
|
264
|
-
searchVariable
|
|
265
|
-
transformSearch:(search) => search,
|
|
266
|
-
minLength
|
|
267
|
-
disabled
|
|
271
|
+
multiple :false,
|
|
272
|
+
color :'interactive',
|
|
273
|
+
searchVariable :'search',
|
|
274
|
+
transformSearch :(search) => search,
|
|
275
|
+
minLength :2,
|
|
276
|
+
disabled :false,
|
|
277
|
+
promptCreateNewOption:false,
|
|
268
278
|
}
|
|
269
279
|
|
|
270
280
|
export default QueryCombobox
|
|
@@ -15,7 +15,7 @@ import { Popover, LoadingCircle } from 'ui/a'
|
|
|
15
15
|
|
|
16
16
|
import { Button } from 'ui/b'
|
|
17
17
|
|
|
18
|
-
import { InputWrapper } from '../../../../common'
|
|
18
|
+
import { InputWrapper, lookUpInputValueFromFetchedOptions } from '../../../../common'
|
|
19
19
|
|
|
20
20
|
// Local Definitions
|
|
21
21
|
|
|
@@ -37,6 +37,7 @@ const Combobox = ({
|
|
|
37
37
|
name,
|
|
38
38
|
options:items,
|
|
39
39
|
getOptions,
|
|
40
|
+
setOptions,
|
|
40
41
|
setValue,
|
|
41
42
|
description,
|
|
42
43
|
value,
|
|
@@ -50,6 +51,8 @@ const Combobox = ({
|
|
|
50
51
|
desktopLabelSpan,
|
|
51
52
|
inputSpan,
|
|
52
53
|
desktopInputSpan,
|
|
54
|
+
placeholder,
|
|
55
|
+
promptCreateNewOption,
|
|
53
56
|
// ...otherProps
|
|
54
57
|
}) => {
|
|
55
58
|
const {
|
|
@@ -76,6 +79,14 @@ const Combobox = ({
|
|
|
76
79
|
},
|
|
77
80
|
})
|
|
78
81
|
|
|
82
|
+
useEffect(() => {
|
|
83
|
+
if (promptCreateNewOption) {
|
|
84
|
+
lookUpInputValueFromFetchedOptions({
|
|
85
|
+
items, inputValue, setOptions, minLength,
|
|
86
|
+
})
|
|
87
|
+
}
|
|
88
|
+
}, [inputValue, items, promptCreateNewOption])
|
|
89
|
+
|
|
79
90
|
// If the user has selected an item, we'll set the value of the field
|
|
80
91
|
// or if the combobox state has a selected item, we'll set the value to the formik state
|
|
81
92
|
useEffect(() => {
|
|
@@ -124,7 +135,7 @@ const Combobox = ({
|
|
|
124
135
|
columnSpan={inputSpan}
|
|
125
136
|
desktopColumnSpan={desktopInputSpan}
|
|
126
137
|
>
|
|
127
|
-
<input {...getInputProps()} className="input" disabled={disabled} />
|
|
138
|
+
<input {...getInputProps()} className="input" disabled={disabled} placeholder={placeholder} />
|
|
128
139
|
{isFetching && (
|
|
129
140
|
<LoadingCircle className="x-main" />
|
|
130
141
|
)}
|
|
@@ -262,6 +273,11 @@ Combobox.propTypes = {
|
|
|
262
273
|
* Whether the input is optional or not
|
|
263
274
|
*/
|
|
264
275
|
optional:PropTypes.bool,
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* The placeholder text for the input
|
|
279
|
+
*/
|
|
280
|
+
placeholder:PropTypes.string,
|
|
265
281
|
}
|
|
266
282
|
|
|
267
283
|
Combobox.defaultProps = {
|
|
@@ -15,7 +15,7 @@ import { Popover, LoadingCircle } from 'ui/a'
|
|
|
15
15
|
|
|
16
16
|
import { FormDescription, FormLabel } from 'ui/f'
|
|
17
17
|
|
|
18
|
-
import { InputWrapper } from '../../../../common'
|
|
18
|
+
import { InputWrapper, lookUpInputValueFromFetchedOptions } from '../../../../common'
|
|
19
19
|
|
|
20
20
|
// Local Definitions
|
|
21
21
|
|
|
@@ -60,7 +60,10 @@ const MultipleCombobox = ({
|
|
|
60
60
|
labelSpan,
|
|
61
61
|
desktopLabelSpan,
|
|
62
62
|
inputSpan,
|
|
63
|
+
placeholder,
|
|
63
64
|
desktopInputSpan,
|
|
65
|
+
setOptions,
|
|
66
|
+
promptCreateNewOption,
|
|
64
67
|
// ...otherProps
|
|
65
68
|
}) => {
|
|
66
69
|
const [searchInputValue, setSearchInputValue] = useState('')
|
|
@@ -143,6 +146,14 @@ const MultipleCombobox = ({
|
|
|
143
146
|
}
|
|
144
147
|
}, [selectedItems])
|
|
145
148
|
|
|
149
|
+
useEffect(() => {
|
|
150
|
+
if (promptCreateNewOption) {
|
|
151
|
+
lookUpInputValueFromFetchedOptions({
|
|
152
|
+
items, inputValue, setOptions, minLength,
|
|
153
|
+
})
|
|
154
|
+
}
|
|
155
|
+
}, [inputValue, items, promptCreateNewOption])
|
|
156
|
+
|
|
146
157
|
useEffect(() => {
|
|
147
158
|
if (value?.length > 0 && (
|
|
148
159
|
testIfArraysAreUnique(value, selectedItems)
|
|
@@ -220,6 +231,7 @@ const MultipleCombobox = ({
|
|
|
220
231
|
)}
|
|
221
232
|
className="input"
|
|
222
233
|
disabled={disabled}
|
|
234
|
+
placeholder={placeholder}
|
|
223
235
|
/>
|
|
224
236
|
{isFetching && (
|
|
225
237
|
<LoadingCircle className="x-main" />
|
|
@@ -346,6 +358,11 @@ MultipleCombobox.propTypes = {
|
|
|
346
358
|
* Whether the input is optional or not
|
|
347
359
|
*/
|
|
348
360
|
optional:PropTypes.bool,
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* The placeholder text for the input
|
|
364
|
+
*/
|
|
365
|
+
placeholder:PropTypes.string,
|
|
349
366
|
}
|
|
350
367
|
|
|
351
368
|
MultipleCombobox.defaultProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @pareto-engineering/generator-front 1.0.12 */
|
|
2
2
|
import * as React from 'react'
|
|
3
3
|
|
|
4
|
-
import { useState,
|
|
4
|
+
import { useState, memo } from 'react'
|
|
5
5
|
|
|
6
6
|
import PropTypes from 'prop-types'
|
|
7
7
|
|
|
@@ -12,6 +12,8 @@ import styleNames from '@pareto-engineering/bem/exports'
|
|
|
12
12
|
import { Rating } from './common'
|
|
13
13
|
import { FormLabel, InputWrapper } from '../../common'
|
|
14
14
|
|
|
15
|
+
import './styles.scss'
|
|
16
|
+
|
|
15
17
|
const baseClassName = styleNames.base
|
|
16
18
|
|
|
17
19
|
const componentClassName = 'ratings-input'
|
|
@@ -39,10 +41,6 @@ const RatingsInput = ({
|
|
|
39
41
|
desktopInputSpan,
|
|
40
42
|
// ...otherProps
|
|
41
43
|
}) => {
|
|
42
|
-
useInsertionEffect(() => {
|
|
43
|
-
import('./styles.scss')
|
|
44
|
-
}, [])
|
|
45
|
-
|
|
46
44
|
const [hover, setHover] = useState(null)
|
|
47
45
|
|
|
48
46
|
return (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @pareto-engineering/generator-front 1.0.12 */
|
|
2
2
|
import * as React from 'react'
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { memo } from 'react'
|
|
5
5
|
|
|
6
6
|
import { useField } from 'formik'
|
|
7
7
|
|
|
@@ -13,6 +13,8 @@ import { LoadingCircle } from 'ui/a'
|
|
|
13
13
|
|
|
14
14
|
import { FormLabel, FormDescription, InputWrapper } from '../../common'
|
|
15
15
|
|
|
16
|
+
import './styles.scss'
|
|
17
|
+
|
|
16
18
|
// Local Definitions
|
|
17
19
|
|
|
18
20
|
const baseClassName = styleNames.base
|
|
@@ -43,10 +45,6 @@ const SelectInput = ({
|
|
|
43
45
|
desktopInputSpan,
|
|
44
46
|
// ...otherProps
|
|
45
47
|
}) => {
|
|
46
|
-
useInsertionEffect(() => {
|
|
47
|
-
import('./styles.scss')
|
|
48
|
-
}, [])
|
|
49
|
-
|
|
50
48
|
const [field] = useField({ name, validate })
|
|
51
49
|
|
|
52
50
|
return (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @pareto-engineering/generator-front 1.0.12 */
|
|
2
2
|
import * as React from 'react'
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { memo } from 'react'
|
|
5
5
|
|
|
6
6
|
import PropTypes from 'prop-types'
|
|
7
7
|
|
|
@@ -11,6 +11,8 @@ import { useField } from 'formik'
|
|
|
11
11
|
|
|
12
12
|
import { FormLabel, FormDescription, InputWrapper } from '../../common'
|
|
13
13
|
|
|
14
|
+
import './styles.scss'
|
|
15
|
+
|
|
14
16
|
// Local Definitions
|
|
15
17
|
|
|
16
18
|
const baseClassName = styleNames.base
|
|
@@ -42,10 +44,6 @@ const TextInput = ({
|
|
|
42
44
|
symbol,
|
|
43
45
|
...otherProps
|
|
44
46
|
}) => {
|
|
45
|
-
useInsertionEffect(() => {
|
|
46
|
-
import('./styles.scss')
|
|
47
|
-
}, [])
|
|
48
|
-
|
|
49
47
|
const [field] = useField({ name, validate })
|
|
50
48
|
const symbolStyle = symbol
|
|
51
49
|
? { '--symbol': symbol }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @pareto-engineering/generator-front 1.0.12 */
|
|
2
2
|
import * as React from 'react'
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { memo } from 'react'
|
|
5
5
|
|
|
6
6
|
import PropTypes from 'prop-types'
|
|
7
7
|
|
|
@@ -13,6 +13,8 @@ import { useField } from 'formik'
|
|
|
13
13
|
|
|
14
14
|
import { FormLabel, FormDescription, InputWrapper } from '../../common'
|
|
15
15
|
|
|
16
|
+
import './styles.scss'
|
|
17
|
+
|
|
16
18
|
const baseClassName = styleNames.base
|
|
17
19
|
|
|
18
20
|
const componentClassName = 'text-area-input'
|
|
@@ -42,10 +44,6 @@ const TextareaInput = ({
|
|
|
42
44
|
desktopInputSpan,
|
|
43
45
|
// ...otherProps
|
|
44
46
|
}) => {
|
|
45
|
-
useInsertionEffect(() => {
|
|
46
|
-
import('./styles.scss')
|
|
47
|
-
}, [])
|
|
48
|
-
|
|
49
47
|
const [field] = useField({ name, validate })
|
|
50
48
|
|
|
51
49
|
return (
|
|
@@ -13970,7 +13970,6 @@ exports[`Storyshots b/ThemeSelector Base 1`] = `
|
|
|
13970
13970
|
</span>
|
|
13971
13971
|
<button
|
|
13972
13972
|
className="base toggle-switch"
|
|
13973
|
-
onClick={[Function]}
|
|
13974
13973
|
style={
|
|
13975
13974
|
{
|
|
13976
13975
|
"--size": undefined,
|
|
@@ -13981,6 +13980,7 @@ exports[`Storyshots b/ThemeSelector Base 1`] = `
|
|
|
13981
13980
|
<input
|
|
13982
13981
|
checked={false}
|
|
13983
13982
|
id="switch"
|
|
13983
|
+
onChange={[Function]}
|
|
13984
13984
|
type="checkbox"
|
|
13985
13985
|
/>
|
|
13986
13986
|
<label
|
|
@@ -20127,7 +20127,7 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select With Default Formik S
|
|
|
20127
20127
|
</form>
|
|
20128
20128
|
`;
|
|
20129
20129
|
|
|
20130
|
-
exports[`Storyshots f/fields/QueryCombobox
|
|
20130
|
+
exports[`Storyshots f/fields/QueryCombobox Multiple Select With Prompt For New Options 1`] = `
|
|
20131
20131
|
<form
|
|
20132
20132
|
action="#"
|
|
20133
20133
|
onReset={[Function]}
|
|
@@ -20142,8 +20142,8 @@ exports[`Storyshots f/fields/QueryCombobox On Single Row 1`] = `
|
|
|
20142
20142
|
id="downshift-4-label"
|
|
20143
20143
|
style={
|
|
20144
20144
|
{
|
|
20145
|
-
"--column-span":
|
|
20146
|
-
"--column-span-md":
|
|
20145
|
+
"--column-span": "var(--columns)",
|
|
20146
|
+
"--column-span-md": "var(--columns)",
|
|
20147
20147
|
}
|
|
20148
20148
|
}
|
|
20149
20149
|
>
|
|
@@ -20153,8 +20153,8 @@ exports[`Storyshots f/fields/QueryCombobox On Single Row 1`] = `
|
|
|
20153
20153
|
className="base input-wrapper base multiple-combobox"
|
|
20154
20154
|
style={
|
|
20155
20155
|
{
|
|
20156
|
-
"--column-span":
|
|
20157
|
-
"--column-span-md":
|
|
20156
|
+
"--column-span": "var(--columns)",
|
|
20157
|
+
"--column-span-md": "var(--columns)",
|
|
20158
20158
|
}
|
|
20159
20159
|
}
|
|
20160
20160
|
>
|
|
@@ -20210,7 +20210,7 @@ exports[`Storyshots f/fields/QueryCombobox On Single Row 1`] = `
|
|
|
20210
20210
|
</form>
|
|
20211
20211
|
`;
|
|
20212
20212
|
|
|
20213
|
-
exports[`Storyshots f/fields/QueryCombobox
|
|
20213
|
+
exports[`Storyshots f/fields/QueryCombobox On Single Row 1`] = `
|
|
20214
20214
|
<form
|
|
20215
20215
|
action="#"
|
|
20216
20216
|
onReset={[Function]}
|
|
@@ -20220,25 +20220,24 @@ exports[`Storyshots f/fields/QueryCombobox Optional 1`] = `
|
|
|
20220
20220
|
className="grid"
|
|
20221
20221
|
>
|
|
20222
20222
|
<label
|
|
20223
|
-
className="base form-label x-paragraph"
|
|
20224
|
-
htmlFor="
|
|
20223
|
+
className="base form-label base multiple-combobox x-paragraph"
|
|
20224
|
+
htmlFor="teams"
|
|
20225
20225
|
id="downshift-5-label"
|
|
20226
20226
|
style={
|
|
20227
20227
|
{
|
|
20228
|
-
"--column-span":
|
|
20229
|
-
"--column-span-md":
|
|
20228
|
+
"--column-span": 4,
|
|
20229
|
+
"--column-span-md": 4,
|
|
20230
20230
|
}
|
|
20231
20231
|
}
|
|
20232
20232
|
>
|
|
20233
20233
|
Search for a team
|
|
20234
|
-
(Optional)
|
|
20235
20234
|
</label>
|
|
20236
20235
|
<div
|
|
20237
|
-
className="base input-wrapper base combobox
|
|
20236
|
+
className="base input-wrapper base multiple-combobox"
|
|
20238
20237
|
style={
|
|
20239
20238
|
{
|
|
20240
|
-
"--column-span":
|
|
20241
|
-
"--column-span-md":
|
|
20239
|
+
"--column-span": 4,
|
|
20240
|
+
"--column-span-md": 10,
|
|
20242
20241
|
}
|
|
20243
20242
|
}
|
|
20244
20243
|
>
|
|
@@ -20252,6 +20251,7 @@ exports[`Storyshots f/fields/QueryCombobox Optional 1`] = `
|
|
|
20252
20251
|
id="downshift-5-input"
|
|
20253
20252
|
onBlur={[Function]}
|
|
20254
20253
|
onChange={[Function]}
|
|
20254
|
+
onClick={[Function]}
|
|
20255
20255
|
onKeyDown={[Function]}
|
|
20256
20256
|
value=""
|
|
20257
20257
|
/>
|
|
@@ -20286,14 +20286,14 @@ exports[`Storyshots f/fields/QueryCombobox Optional 1`] = `
|
|
|
20286
20286
|
onClick={[Function]}
|
|
20287
20287
|
type="button"
|
|
20288
20288
|
>
|
|
20289
|
-
|
|
20289
|
+
Add formik values
|
|
20290
20290
|
</button>
|
|
20291
20291
|
</div>
|
|
20292
20292
|
</div>
|
|
20293
20293
|
</form>
|
|
20294
20294
|
`;
|
|
20295
20295
|
|
|
20296
|
-
exports[`Storyshots f/fields/QueryCombobox
|
|
20296
|
+
exports[`Storyshots f/fields/QueryCombobox Optional 1`] = `
|
|
20297
20297
|
<form
|
|
20298
20298
|
action="#"
|
|
20299
20299
|
onReset={[Function]}
|
|
@@ -20314,6 +20314,7 @@ exports[`Storyshots f/fields/QueryCombobox Single Select 1`] = `
|
|
|
20314
20314
|
}
|
|
20315
20315
|
>
|
|
20316
20316
|
Search for a team
|
|
20317
|
+
(Optional)
|
|
20317
20318
|
</label>
|
|
20318
20319
|
<div
|
|
20319
20320
|
className="base input-wrapper base combobox y-interactive"
|
|
@@ -20375,7 +20376,7 @@ exports[`Storyshots f/fields/QueryCombobox Single Select 1`] = `
|
|
|
20375
20376
|
</form>
|
|
20376
20377
|
`;
|
|
20377
20378
|
|
|
20378
|
-
exports[`Storyshots f/fields/QueryCombobox Single Select
|
|
20379
|
+
exports[`Storyshots f/fields/QueryCombobox Single Select 1`] = `
|
|
20379
20380
|
<form
|
|
20380
20381
|
action="#"
|
|
20381
20382
|
onReset={[Function]}
|
|
@@ -20417,6 +20418,88 @@ exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik Sta
|
|
|
20417
20418
|
onBlur={[Function]}
|
|
20418
20419
|
onChange={[Function]}
|
|
20419
20420
|
onKeyDown={[Function]}
|
|
20421
|
+
value=""
|
|
20422
|
+
/>
|
|
20423
|
+
<div
|
|
20424
|
+
className="base popover x-background-near bottom left"
|
|
20425
|
+
>
|
|
20426
|
+
<ul
|
|
20427
|
+
aria-labelledby="downshift-7-label"
|
|
20428
|
+
className="base menu y-interactive"
|
|
20429
|
+
id="downshift-7-menu"
|
|
20430
|
+
onMouseLeave={[Function]}
|
|
20431
|
+
role="listbox"
|
|
20432
|
+
/>
|
|
20433
|
+
</div>
|
|
20434
|
+
</div>
|
|
20435
|
+
<div
|
|
20436
|
+
className="container"
|
|
20437
|
+
>
|
|
20438
|
+
<div
|
|
20439
|
+
className="debugger"
|
|
20440
|
+
>
|
|
20441
|
+
<button
|
|
20442
|
+
className="base button x-main2"
|
|
20443
|
+
onClick={[Function]}
|
|
20444
|
+
type="button"
|
|
20445
|
+
>
|
|
20446
|
+
Open FormDebugger
|
|
20447
|
+
</button>
|
|
20448
|
+
</div>
|
|
20449
|
+
<button
|
|
20450
|
+
className="base button x-main"
|
|
20451
|
+
onClick={[Function]}
|
|
20452
|
+
type="button"
|
|
20453
|
+
>
|
|
20454
|
+
Replace formik value
|
|
20455
|
+
</button>
|
|
20456
|
+
</div>
|
|
20457
|
+
</div>
|
|
20458
|
+
</form>
|
|
20459
|
+
`;
|
|
20460
|
+
|
|
20461
|
+
exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik State 1`] = `
|
|
20462
|
+
<form
|
|
20463
|
+
action="#"
|
|
20464
|
+
onReset={[Function]}
|
|
20465
|
+
onSubmit={[Function]}
|
|
20466
|
+
>
|
|
20467
|
+
<div
|
|
20468
|
+
className="grid"
|
|
20469
|
+
>
|
|
20470
|
+
<label
|
|
20471
|
+
className="base form-label x-paragraph"
|
|
20472
|
+
htmlFor="team"
|
|
20473
|
+
id="downshift-8-label"
|
|
20474
|
+
style={
|
|
20475
|
+
{
|
|
20476
|
+
"--column-span": "var(--columns)",
|
|
20477
|
+
"--column-span-md": "var(--columns)",
|
|
20478
|
+
}
|
|
20479
|
+
}
|
|
20480
|
+
>
|
|
20481
|
+
Search for a team
|
|
20482
|
+
</label>
|
|
20483
|
+
<div
|
|
20484
|
+
className="base input-wrapper base combobox y-interactive"
|
|
20485
|
+
style={
|
|
20486
|
+
{
|
|
20487
|
+
"--column-span": "var(--columns)",
|
|
20488
|
+
"--column-span-md": "var(--columns)",
|
|
20489
|
+
}
|
|
20490
|
+
}
|
|
20491
|
+
>
|
|
20492
|
+
<input
|
|
20493
|
+
aria-autocomplete="list"
|
|
20494
|
+
aria-controls="downshift-8-menu"
|
|
20495
|
+
aria-labelledby="downshift-8-label"
|
|
20496
|
+
autoComplete="off"
|
|
20497
|
+
className="input"
|
|
20498
|
+
disabled={false}
|
|
20499
|
+
id="downshift-8-input"
|
|
20500
|
+
onBlur={[Function]}
|
|
20501
|
+
onChange={[Function]}
|
|
20502
|
+
onKeyDown={[Function]}
|
|
20420
20503
|
value="Apple"
|
|
20421
20504
|
/>
|
|
20422
20505
|
<button
|
|
@@ -20438,9 +20521,175 @@ exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik Sta
|
|
|
20438
20521
|
className="base popover x-background-near bottom left"
|
|
20439
20522
|
>
|
|
20440
20523
|
<ul
|
|
20441
|
-
aria-labelledby="downshift-
|
|
20524
|
+
aria-labelledby="downshift-8-label"
|
|
20442
20525
|
className="base menu y-interactive"
|
|
20443
|
-
id="downshift-
|
|
20526
|
+
id="downshift-8-menu"
|
|
20527
|
+
onMouseLeave={[Function]}
|
|
20528
|
+
role="listbox"
|
|
20529
|
+
/>
|
|
20530
|
+
</div>
|
|
20531
|
+
</div>
|
|
20532
|
+
<div
|
|
20533
|
+
className="container"
|
|
20534
|
+
>
|
|
20535
|
+
<div
|
|
20536
|
+
className="debugger"
|
|
20537
|
+
>
|
|
20538
|
+
<button
|
|
20539
|
+
className="base button x-main2"
|
|
20540
|
+
onClick={[Function]}
|
|
20541
|
+
type="button"
|
|
20542
|
+
>
|
|
20543
|
+
Open FormDebugger
|
|
20544
|
+
</button>
|
|
20545
|
+
</div>
|
|
20546
|
+
<button
|
|
20547
|
+
className="base button x-main"
|
|
20548
|
+
onClick={[Function]}
|
|
20549
|
+
type="button"
|
|
20550
|
+
>
|
|
20551
|
+
Replace formik value
|
|
20552
|
+
</button>
|
|
20553
|
+
</div>
|
|
20554
|
+
</div>
|
|
20555
|
+
</form>
|
|
20556
|
+
`;
|
|
20557
|
+
|
|
20558
|
+
exports[`Storyshots f/fields/QueryCombobox With Placeholder 1`] = `
|
|
20559
|
+
<form
|
|
20560
|
+
action="#"
|
|
20561
|
+
onReset={[Function]}
|
|
20562
|
+
onSubmit={[Function]}
|
|
20563
|
+
>
|
|
20564
|
+
<div
|
|
20565
|
+
className="grid"
|
|
20566
|
+
>
|
|
20567
|
+
<label
|
|
20568
|
+
className="base form-label x-paragraph"
|
|
20569
|
+
htmlFor="team"
|
|
20570
|
+
id="downshift-9-label"
|
|
20571
|
+
style={
|
|
20572
|
+
{
|
|
20573
|
+
"--column-span": "var(--columns)",
|
|
20574
|
+
"--column-span-md": "var(--columns)",
|
|
20575
|
+
}
|
|
20576
|
+
}
|
|
20577
|
+
>
|
|
20578
|
+
Search for a team
|
|
20579
|
+
</label>
|
|
20580
|
+
<div
|
|
20581
|
+
className="base input-wrapper base combobox y-interactive"
|
|
20582
|
+
style={
|
|
20583
|
+
{
|
|
20584
|
+
"--column-span": "var(--columns)",
|
|
20585
|
+
"--column-span-md": "var(--columns)",
|
|
20586
|
+
}
|
|
20587
|
+
}
|
|
20588
|
+
>
|
|
20589
|
+
<input
|
|
20590
|
+
aria-autocomplete="list"
|
|
20591
|
+
aria-controls="downshift-9-menu"
|
|
20592
|
+
aria-labelledby="downshift-9-label"
|
|
20593
|
+
autoComplete="off"
|
|
20594
|
+
className="input"
|
|
20595
|
+
disabled={false}
|
|
20596
|
+
id="downshift-9-input"
|
|
20597
|
+
onBlur={[Function]}
|
|
20598
|
+
onChange={[Function]}
|
|
20599
|
+
onKeyDown={[Function]}
|
|
20600
|
+
placeholder="Search for a team"
|
|
20601
|
+
value=""
|
|
20602
|
+
/>
|
|
20603
|
+
<div
|
|
20604
|
+
className="base popover x-background-near bottom left"
|
|
20605
|
+
>
|
|
20606
|
+
<ul
|
|
20607
|
+
aria-labelledby="downshift-9-label"
|
|
20608
|
+
className="base menu y-interactive"
|
|
20609
|
+
id="downshift-9-menu"
|
|
20610
|
+
onMouseLeave={[Function]}
|
|
20611
|
+
role="listbox"
|
|
20612
|
+
/>
|
|
20613
|
+
</div>
|
|
20614
|
+
</div>
|
|
20615
|
+
<div
|
|
20616
|
+
className="container"
|
|
20617
|
+
>
|
|
20618
|
+
<div
|
|
20619
|
+
className="debugger"
|
|
20620
|
+
>
|
|
20621
|
+
<button
|
|
20622
|
+
className="base button x-main2"
|
|
20623
|
+
onClick={[Function]}
|
|
20624
|
+
type="button"
|
|
20625
|
+
>
|
|
20626
|
+
Open FormDebugger
|
|
20627
|
+
</button>
|
|
20628
|
+
</div>
|
|
20629
|
+
<button
|
|
20630
|
+
className="base button x-main"
|
|
20631
|
+
onClick={[Function]}
|
|
20632
|
+
type="button"
|
|
20633
|
+
>
|
|
20634
|
+
Replace formik value
|
|
20635
|
+
</button>
|
|
20636
|
+
</div>
|
|
20637
|
+
</div>
|
|
20638
|
+
</form>
|
|
20639
|
+
`;
|
|
20640
|
+
|
|
20641
|
+
exports[`Storyshots f/fields/QueryCombobox With Prompt To Create New Option 1`] = `
|
|
20642
|
+
<form
|
|
20643
|
+
action="#"
|
|
20644
|
+
onReset={[Function]}
|
|
20645
|
+
onSubmit={[Function]}
|
|
20646
|
+
>
|
|
20647
|
+
<div
|
|
20648
|
+
className="grid"
|
|
20649
|
+
>
|
|
20650
|
+
<label
|
|
20651
|
+
className="base form-label x-paragraph"
|
|
20652
|
+
htmlFor="team"
|
|
20653
|
+
id="downshift-10-label"
|
|
20654
|
+
style={
|
|
20655
|
+
{
|
|
20656
|
+
"--column-span": "var(--columns)",
|
|
20657
|
+
"--column-span-md": "var(--columns)",
|
|
20658
|
+
}
|
|
20659
|
+
}
|
|
20660
|
+
>
|
|
20661
|
+
Search for a team
|
|
20662
|
+
</label>
|
|
20663
|
+
<div
|
|
20664
|
+
className="base input-wrapper base combobox y-interactive"
|
|
20665
|
+
style={
|
|
20666
|
+
{
|
|
20667
|
+
"--column-span": "var(--columns)",
|
|
20668
|
+
"--column-span-md": "var(--columns)",
|
|
20669
|
+
}
|
|
20670
|
+
}
|
|
20671
|
+
>
|
|
20672
|
+
<input
|
|
20673
|
+
aria-autocomplete="list"
|
|
20674
|
+
aria-controls="downshift-10-menu"
|
|
20675
|
+
aria-labelledby="downshift-10-label"
|
|
20676
|
+
autoComplete="off"
|
|
20677
|
+
className="input"
|
|
20678
|
+
disabled={false}
|
|
20679
|
+
id="downshift-10-input"
|
|
20680
|
+
onBlur={[Function]}
|
|
20681
|
+
onChange={[Function]}
|
|
20682
|
+
onKeyDown={[Function]}
|
|
20683
|
+
placeholder="Search for a team"
|
|
20684
|
+
value=""
|
|
20685
|
+
/>
|
|
20686
|
+
<div
|
|
20687
|
+
className="base popover x-background-near bottom left"
|
|
20688
|
+
>
|
|
20689
|
+
<ul
|
|
20690
|
+
aria-labelledby="downshift-10-label"
|
|
20691
|
+
className="base menu y-interactive"
|
|
20692
|
+
id="downshift-10-menu"
|
|
20444
20693
|
onMouseLeave={[Function]}
|
|
20445
20694
|
role="listbox"
|
|
20446
20695
|
/>
|