@seeqdev/qomponents 0.0.11 → 0.0.12
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/Select/Select.d.ts +3 -0
- package/dist/Select/Select.js +1 -0
- package/dist/Select/Select.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.js +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7390,7 +7390,7 @@ const multiValueStyles = [
|
|
|
7390
7390
|
* For ease of testing most of the elements of this select can be identified by classNames prefixed with "spec".
|
|
7391
7391
|
*
|
|
7392
7392
|
*/
|
|
7393
|
-
const Select = ({ options, value, placeholder = 'select', noOptionsMessage = 'no matching options', isSearchable =
|
|
7393
|
+
const Select = ({ options, value, placeholder = 'select', noOptionsMessage = 'no matching options', isSearchable = true, creatable = false, isMulti = false, isClearable = false, closeMenuOnSelect = true, id, inputId, menuPortalTarget, getOptionLabel, getSelectedValueLabel, getOptionValue, onChange, menuIsOpen, menuPlacement = 'auto', extraClassNames, inputGroup, filterConfig, filterOption, small = false, isDisabled = false, showError = false, isLoading = false, formatGroupLabel, onRemove, defaultValue, }) => {
|
|
7394
7394
|
const getOptionOrSelectedLabel = (option, { context }) => {
|
|
7395
7395
|
const getSelectedOptionLabel = getSelectedValueLabel ? getSelectedValueLabel : getOptionLabel;
|
|
7396
7396
|
if (getOptionLabel || getSelectedValueLabel) {
|