@qualtrics/ui-react 2.40.0 → 2.42.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/CHANGELOG.md +29 -0
- package/dist/__shared/cjs/{index-a0cddeb7.js → index-2f9f9a05.js} +269 -193
- package/dist/__shared/cjs/{index-65202875.js → index-ec90a05b.js} +7 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- 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 +4 -5
- 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/Dropdown.js +12 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownOption.js +8 -5
- package/dist/components/Dropdown/DropdownSearch.js +7 -31
- 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/Icon/IconTypes.js +1 -0
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- 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/Modal.js +10 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +4 -3
- 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/Tooltip.js +4 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/UIProvider/A11yHelpersContext.js +81 -0
- package/dist/components/UIProvider/UIProvider.js +4 -2
- 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/hooks/useOverlay/useOverlay.js +2 -0
- 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/components/CloudUploadIcon.js +6 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.es.js +1 -0
- package/dist/icons/index.js +2 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.es.js +1 -1
- package/dist/index.js +4 -4
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/Chat/ChatMessage.js +4 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- 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/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuItem.js +3 -5
- package/dist/next/Menu/MenuPane.js +4 -3
- package/dist/next/Menu/SubMenu.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- 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 +4 -4
- package/dist/next/index.js +53 -51
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +2 -1
- package/next/package.json +3 -2
- package/package.json +11 -10
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"default":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._-NFHB{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._cleNm{background-color:rgba(50,54,58,.08)}._L-r-O{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._Mv6-5{color:rgba(81,85,89,.4);cursor:not-allowed}._5HReO{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._tOoqE{color:#085caf;border-color:#085caf}._tOoqE,._vWo1a{background:rgba(11,110,208,.11)}._vWo1a{color:#0854a1;border-color:#0854a1}._2gLJk{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._xhoWT{position:relative;display:inline-grid}._xhoWT svg{fill:currentColor}._xhoWT ._awu2J{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._xhoWT ._awu2J+._yBtZo{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._xhoWT ._awu2J+._yBtZo._NzVxp{padding:5px;max-width:36px;min-width:36px}._xhoWT ._awu2J+._yBtZo._AZrHx{padding:0 16px}._xhoWT ._awu2J+._yBtZo._-6KCI{padding:0 16px 0 12px}._xhoWT ._awu2J:hover+._yBtZo{background-color:rgba(50,54,58,.08)}._xhoWT ._awu2J:disabled+._yBtZo{color:rgba(81,85,89,.4);cursor:not-allowed}._xhoWT ._awu2J:active+._yBtZo,._xhoWT ._awu2J:focus:active+._yBtZo{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._xhoWT ._awu2J:checked+._yBtZo{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._xhoWT ._awu2J:checked:hover+._yBtZo{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._xhoWT ._awu2J:checked:disabled+._yBtZo{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._xhoWT ._awu2J:checked:active+._yBtZo,._xhoWT ._awu2J:checked:focus:active+._yBtZo{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._cvY23{display:inline-flex;position:relative}._cvY23:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._cvY23>*{flex-shrink:0;flex-grow:0}._1Z6Mj{border:none;margin:0;padding:0}._1Z6Mj legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._xhoWT ._awu2J.focus-visible,._xhoWT ._awu2J:focus-visible{outline:none}._xhoWT ._awu2J.focus-visible+._yBtZo,._xhoWT ._awu2J:focus-visible+._yBtZo{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"default":"_-NFHB","hovered":"_cleNm","pressed":"_L-r-O","disabled":"_Mv6-5","selectedDefault":"_5HReO","selectedHovered":"_tOoqE","selectedPressed":"_vWo1a","selectedDisabled":"_2gLJk","toggleContainer":"_xhoWT","toggleInput":"_awu2J","toggleButton":"_yBtZo","iconOnly":"_NzVxp","text":"_AZrHx","iconText":"_-6KCI","toggleButtonGroup":"_cvY23","toggleButtonGroupFieldset":"_1Z6Mj"};
|
|
5
|
+
var stylesheet="._-NFHB{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._cleNm{background-color:rgba(50,54,58,.08)}._L-r-O{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._Mv6-5{color:rgba(81,85,89,.4);cursor:not-allowed}._5HReO{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._tOoqE{color:#085caf;border-color:#085caf}._tOoqE,._vWo1a{background:rgba(11,110,208,.11)}._vWo1a{color:#0854a1;border-color:#0854a1}._2gLJk{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._xhoWT{position:relative;display:inline-grid}._xhoWT svg{fill:currentColor}._xhoWT ._awu2J{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._xhoWT ._awu2J+._yBtZo{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._xhoWT ._awu2J+._yBtZo._NzVxp{padding:5px;max-width:36px;min-width:36px}._xhoWT ._awu2J+._yBtZo._AZrHx{padding:0 16px}._xhoWT ._awu2J+._yBtZo._-6KCI{padding:0 16px 0 12px}._xhoWT ._awu2J:hover+._yBtZo{background-color:rgba(50,54,58,.08)}._xhoWT ._awu2J:disabled+._yBtZo{color:rgba(81,85,89,.4);cursor:not-allowed}._xhoWT ._awu2J:active+._yBtZo,._xhoWT ._awu2J:focus:active+._yBtZo{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._xhoWT ._awu2J:checked+._yBtZo{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._xhoWT ._awu2J:checked:hover+._yBtZo{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._xhoWT ._awu2J:checked:disabled+._yBtZo{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._xhoWT ._awu2J:checked:active+._yBtZo,._xhoWT ._awu2J:checked:focus:active+._yBtZo{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._cvY23{display:inline-flex;position:relative}._cvY23:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._cvY23>*{flex-shrink:0;flex-grow:0}._1Z6Mj{border:none;margin:0;padding:0}._1Z6Mj legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._xhoWT ._awu2J.focus-visible,._xhoWT ._awu2J:focus-visible{outline:none}._xhoWT ._awu2J.focus-visible+._yBtZo,._xhoWT ._awu2J:focus-visible+._yBtZo{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
package/dist/next/index.d.ts
CHANGED
|
@@ -231,7 +231,7 @@ export declare interface ChatInputProps {
|
|
|
231
231
|
placeholderText?: string;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
export declare const ChatMessage: React_2.ForwardRefExoticComponent<ChatMessageProps & React_2.RefAttributes<HTMLLIElement>>;
|
|
234
|
+
export declare const ChatMessage: React_2.ForwardRefExoticComponent<ChatMessageProps & React_2.RefAttributes<HTMLLIElement> & React_2.RefAttributes<unknown>>;
|
|
235
235
|
|
|
236
236
|
export declare const ChatMessageList: React_2.ForwardRefExoticComponent<ChatMessageListProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
237
237
|
|
|
@@ -715,7 +715,7 @@ export declare interface MenuButtonProps extends Omit<AllHTMLAttributes<HTMLButt
|
|
|
715
715
|
children: React_2.ReactNode;
|
|
716
716
|
}
|
|
717
717
|
|
|
718
|
-
export declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
718
|
+
export declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement> & React_2.RefAttributes<unknown>>;
|
|
719
719
|
|
|
720
720
|
export declare interface MenuItemProps extends AllHTMLAttributes<HTMLDivElement> {
|
|
721
721
|
/** Disables the item
|
|
@@ -734,7 +734,7 @@ export declare interface MenuItemProps extends AllHTMLAttributes<HTMLDivElement>
|
|
|
734
734
|
label?: string;
|
|
735
735
|
}
|
|
736
736
|
|
|
737
|
-
export declare const MenuPane: React_2.ForwardRefExoticComponent<MenuPaneProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
737
|
+
export declare const MenuPane: React_2.ForwardRefExoticComponent<MenuPaneProps & React_2.RefAttributes<HTMLDivElement> & React_2.RefAttributes<unknown>>;
|
|
738
738
|
|
|
739
739
|
export declare interface MenuPaneProps extends AllHTMLAttributes<HTMLDivElement> {
|
|
740
740
|
/** Defines where to prioritize placement of the pane. A demo of this behavior is available [here](https://popper.js.org/).
|
|
@@ -1099,7 +1099,7 @@ export declare interface StackItemProps {
|
|
|
1099
1099
|
'data-testid'?: string;
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
|
-
export declare const SubMenu: React_2.ForwardRefExoticComponent<SubMenuProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1102
|
+
export declare const SubMenu: React_2.ForwardRefExoticComponent<SubMenuProps & React_2.RefAttributes<HTMLDivElement> & React_2.RefAttributes<unknown>>;
|
|
1103
1103
|
|
|
1104
1104
|
export declare interface SubMenuProps extends Omit<AllHTMLAttributes<HTMLDivElement>, 'label'> {
|
|
1105
1105
|
/** The label used on the trigger */
|