@qualtrics/ui-react 2.84.0 → 2.85.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/CHANGELOG.md +586 -3161
- package/dist/__shared/cjs/{index-96630e36.js → index-21aa4d43.js} +157 -145
- package/dist/__shared/cjs/{index-af2d3af2.js → index-e3d48e21.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Banner/Banner.css.ts.vanilla.js +2 -2
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox.js +13 -4
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input.js +4 -1
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +1 -1
- package/dist/components/NewMenu/Menu/Menu.js +3 -2
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/SelectMenu/SelectMenu.js +3 -2
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/design-tokens/less/typography.js +3 -3
- package/dist/hooks/useOverlay/useOverlay.js +2 -1
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/Chat/ChatMessage.css.ts.vanilla.js +2 -2
- package/dist/next/Chat/Loader.css.ts.vanilla.js +2 -2
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +12 -12
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Indicator/Indicator2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/next/Menu/Hooks/usePaneSearch.js +12 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Pagination/Pagination.css.ts.vanilla.js +2 -2
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select.js +7 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/Select/SelectButton.js +3 -2
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +14 -6
- package/dist/next/index.js +87 -74
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +12 -11
package/dist/next/index.d.ts
CHANGED
|
@@ -1209,10 +1209,14 @@ export declare interface SelectPaneProps extends AllHTMLAttributes<HTMLDivElemen
|
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
1211
|
export declare interface SelectProps {
|
|
1212
|
-
/** Allows for the selection of multiple items.
|
|
1212
|
+
/** Allows for the selection of multiple items. Pass an object with `kind: 'single'`
|
|
1213
|
+
* to configure single-selection behavior instead, such as `allowUnselect`.
|
|
1213
1214
|
* @defaultValue false
|
|
1214
1215
|
*/
|
|
1215
|
-
multiselect?: boolean
|
|
1216
|
+
multiselect?: boolean | {
|
|
1217
|
+
kind: 'single';
|
|
1218
|
+
allowUnselect?: boolean;
|
|
1219
|
+
};
|
|
1216
1220
|
/** Forwarded to all component parts with the following suffixes:
|
|
1217
1221
|
* - `SelectButton`: `-selectbutton`
|
|
1218
1222
|
* - `SelectPane`: `-selectpane`
|
|
@@ -1234,10 +1238,14 @@ export declare interface SelectProps {
|
|
|
1234
1238
|
* @defaultValue false
|
|
1235
1239
|
*/
|
|
1236
1240
|
isDisabled?: boolean;
|
|
1237
|
-
/** Handler to be called whenever `value` should change
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
+
/** Handler to be called whenever `value` should change. Called with `null`
|
|
1242
|
+
* when `allowUnselect` clears the current single-select value — `null` is
|
|
1243
|
+
* used instead of `undefined` so a controlled `value` doesn't look
|
|
1244
|
+
* uncontrolled to `useControllableState` once cleared. */
|
|
1245
|
+
onChange?: (value: string | number | (string | number)[] | null) => void;
|
|
1246
|
+
/** Controls the selected value. Pass `null` to represent no selection
|
|
1247
|
+
* when using `allowUnselect`. */
|
|
1248
|
+
value?: string | number | (string | number)[] | null;
|
|
1241
1249
|
/** Styles the component as invalid
|
|
1242
1250
|
* @defaultValue false
|
|
1243
1251
|
*/
|