@qualtrics/ui-react 2.11.0 → 2.12.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 +28 -0
- package/dist/__shared/cjs/index-1a8585e7.js +13058 -0
- package/dist/__shared/cjs/{index-30148ada.js → index-def941fc.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button2.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- 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/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 +0 -1
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +5 -9
- 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/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 +83 -8442
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/ComboboxInput.js +3 -1
- package/dist/next/Combobox/ComboboxOption.js +1 -0
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimeDropdown.js +78 -0
- package/dist/next/TimePicker/TimeInput.js +87 -0
- package/dist/next/TimePicker/TimePicker.js +247 -0
- package/dist/next/TimePicker/TimePicker2.js +8 -0
- package/dist/next/TimePicker/TimePickerIcon.js +36 -0
- package/dist/next/TimePicker/index.js +1 -0
- package/dist/next/TimePicker/utils.js +229 -0
- package/dist/next/index.d.ts +20 -0
- package/dist/next/index.es.js +2 -0
- package/dist/next/index.js +807 -163
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/keyboardUser/keyboardUser.js +1 -1
- package/package.json +2 -2
- package/dist/__shared/cjs/index-bb7befc3.js +0 -4656
|
@@ -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 = {"flyout":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._28NTv{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._1VhcD{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._1VhcD._1JVD6._1VhcD:hover,._1VhcD._y-GGW{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1VhcD._g5HI1{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._1VhcD._g5HI1._1JVD6._1VhcD._g5HI1:hover,._1VhcD._g5HI1._y-GGW{background-color:#e4effa}._1VhcD:active:not(._g5HI1):not([aria-disabled=true]){background-color:#e8e9e9}._1S7rT ._2cDVY{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._1S7rT ._1uOdb{display:none}._1S7rT:not(:first-child) ._1uOdb{display:block;margin:3.5px 0}._2AgnK{width:100%;height:40px}";
|
|
4
|
+
var styles = {"flyout":"_28NTv","flyoutOption":"_1VhcD","highlighted":"_y-GGW","hoverHighlight":"_1JVD6","selected":"_g5HI1","flyoutHeader":"_1S7rT","headerContent":"_2cDVY","headerDivider":"_1uOdb","flyoutSpinner":"_2AgnK"};
|
|
5
|
+
var stylesheet="._28NTv{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._1VhcD{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._1VhcD._1JVD6._1VhcD:hover,._1VhcD._y-GGW{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1VhcD._g5HI1{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._1VhcD._g5HI1._1JVD6._1VhcD._g5HI1:hover,._1VhcD._g5HI1._y-GGW{background-color:#e4effa}._1VhcD:active:not(._g5HI1):not([aria-disabled=true]){background-color:#e8e9e9}._1S7rT ._2cDVY{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._1S7rT ._1uOdb{display:none}._1S7rT:not(:first-child) ._1uOdb{display:block;margin:3.5px 0}._2AgnK{width:100%;height:40px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -21,7 +21,7 @@ function enableKeyboardUserClass() {
|
|
|
21
21
|
window.keyboardUserListenersAdded = true;
|
|
22
22
|
document.addEventListener('mousedown', () => setIsKeyboardUser(false));
|
|
23
23
|
document.addEventListener('keydown', e => {
|
|
24
|
-
if (e.
|
|
24
|
+
if (e.key === 'Tab') {
|
|
25
25
|
setIsKeyboardUser(true);
|
|
26
26
|
}
|
|
27
27
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualtrics/ui-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "Official Qualtrics UI component library designed for React",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"@testing-library/jest-dom": "^5.16.5",
|
|
130
130
|
"@testing-library/react": "^12.1.5",
|
|
131
131
|
"@testing-library/react-hooks": "^8.0.1",
|
|
132
|
-
"@testing-library/user-event": "^
|
|
132
|
+
"@testing-library/user-event": "^14.4.3",
|
|
133
133
|
"@types/classnames": "^2.2.6",
|
|
134
134
|
"@types/estree": "^0.0.52",
|
|
135
135
|
"@types/jest": "^29.5.0",
|