@qualtrics/ui-react 2.39.1 → 2.41.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-b634ed40.js → index-de17a028.js} +268 -195
- package/dist/__shared/cjs/{index-f5328e70.js → index-ef29a7f6.js} +4 -4
- 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/Checkbox.js +6 -2
- 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/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 +2 -1
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +4 -3
- package/dist/components/NewMenu/parts/MenuSpinner.js +2 -1
- 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/QuickSearch.js +2 -1
- 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/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/AISpinningTopFilledIcon.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.es.js +1 -1
- package/dist/index.js +4 -4
- package/dist/next/AdvancedTable/AdvancedTable.js +15 -8
- 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/Hooks/usePaneSearch.js +2 -1
- 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 +8 -4
- package/dist/next/index.js +67 -59
- 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 = {"flyout":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._rXPPi{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}._5pWiA{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}._5pWiA._bW6iJ._5pWiA:hover,._5pWiA._SVF8E{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._5pWiA._hxoqz{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._5pWiA._hxoqz._bW6iJ._5pWiA._hxoqz:hover,._5pWiA._hxoqz._SVF8E{background-color:#e4effa}._5pWiA:active:not(._hxoqz):not([aria-disabled=true]){background-color:#e8e9e9}._fVQVt ._mATfR{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}._fVQVt ._bODDa{display:none}._fVQVt:not(:first-child) ._bODDa{display:block;margin:3.5px 0}._aKEB1{width:100%;height:40px}";
|
|
4
|
+
var styles = {"flyout":"_rXPPi","flyoutOption":"_5pWiA","highlighted":"_SVF8E","hoverHighlight":"_bW6iJ","selected":"_hxoqz","flyoutHeader":"_fVQVt","headerContent":"_mATfR","headerDivider":"_bODDa","flyoutSpinner":"_aKEB1"};
|
|
5
|
+
var stylesheet="._rXPPi{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}._5pWiA{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}._5pWiA._bW6iJ._5pWiA:hover,._5pWiA._SVF8E{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._5pWiA._hxoqz{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._5pWiA._hxoqz._bW6iJ._5pWiA._hxoqz:hover,._5pWiA._hxoqz._SVF8E{background-color:#e4effa}._5pWiA:active:not(._hxoqz):not([aria-disabled=true]){background-color:#e8e9e9}._fVQVt ._mATfR{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}._fVQVt ._bODDa{display:none}._fVQVt:not(:first-child) ._bODDa{display:block;margin:3.5px 0}._aKEB1{width:100%;height:40px}";
|
|
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/icons/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"@babel/runtime-corejs3": "^7.24.7",
|
|
7
7
|
"@juggle/resize-observer": "^3.4.0",
|
|
8
8
|
"@popperjs/core": "^2.10.2",
|
|
9
|
-
"@qualtrics/component-styles": "0.
|
|
9
|
+
"@qualtrics/component-styles": "0.148.0",
|
|
10
10
|
"@radix-ui/react-dropdown-menu": "2.0.6",
|
|
11
11
|
"@react-aria/interactions": "^3.15.1",
|
|
12
12
|
"@react-hook/resize-observer": "^1.2.6",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"classnames": "^2.2.6",
|
|
15
15
|
"core-js": "^3.6.5",
|
|
16
16
|
"libphonenumber-js": "^1.9.50",
|
|
17
|
+
"react-aria": "^3.33.1",
|
|
17
18
|
"react-dnd": "^15.1.1",
|
|
18
19
|
"react-dnd-html5-backend": "^15.1.2",
|
|
19
20
|
"react-focus-lock": "^2.11.2",
|
package/next/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"@babel/runtime-corejs3": "^7.24.7",
|
|
7
7
|
"@juggle/resize-observer": "^3.4.0",
|
|
8
8
|
"@popperjs/core": "^2.10.2",
|
|
9
|
-
"@qualtrics/component-styles": "0.
|
|
9
|
+
"@qualtrics/component-styles": "0.148.0",
|
|
10
10
|
"@radix-ui/react-dropdown-menu": "2.0.6",
|
|
11
11
|
"@react-aria/interactions": "^3.15.1",
|
|
12
12
|
"@react-hook/resize-observer": "^1.2.6",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"classnames": "^2.2.6",
|
|
15
15
|
"core-js": "^3.6.5",
|
|
16
16
|
"libphonenumber-js": "^1.9.50",
|
|
17
|
+
"react-aria": "^3.33.1",
|
|
17
18
|
"react-dnd": "^15.1.1",
|
|
18
19
|
"react-dnd-html5-backend": "^15.1.2",
|
|
19
20
|
"react-focus-lock": "^2.11.2",
|
|
@@ -24,6 +25,6 @@
|
|
|
24
25
|
"uuid": "^8.3.2"
|
|
25
26
|
},
|
|
26
27
|
"peerDependencies": {
|
|
27
|
-
"@qualtrics/ui-react": "2.
|
|
28
|
+
"@qualtrics/ui-react": "2.41.0"
|
|
28
29
|
}
|
|
29
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualtrics/ui-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.41.0",
|
|
4
4
|
"description": "Official Qualtrics UI component library designed for React",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"prettier:fix": "prettier --write .",
|
|
51
51
|
"start": "rollup -c -w",
|
|
52
52
|
"test": "npm run test:unit && npm run test:postbuild",
|
|
53
|
-
"test:ci": "npm run test:unit:ci",
|
|
53
|
+
"test:ci": "NODE_ENV=test npm run test:unit:ci",
|
|
54
54
|
"test:unit": "jest",
|
|
55
55
|
"test:unit:ci": "npm run test:unit -- --silent",
|
|
56
56
|
"test:postbuild": "jest --config jest.postbuild.config.js",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"test:postbuild:forceupdate": "RERUN=1 FORCESNAPSHOTUPDATE=1 jest --config jest.postbuild.config.js -u",
|
|
61
61
|
"precypress": "sh fix-cypress-reporter.sh && npm run test:cypress:clean",
|
|
62
62
|
"cypress": "./run-cypress-docker.sh",
|
|
63
|
-
"test:cypress": "npm run cypress run-ct --config-file cypress.ci.json",
|
|
64
|
-
"test:cypress:interactive": "sh fix-cypress-reporter.sh && cypress open-ct --config-file cypress.ui.json",
|
|
65
|
-
"test:cypress:ci": "sh fix-cypress-reporter.sh && CI_ENV=1 NO_COLOR=1 cypress
|
|
66
|
-
"test:cypress:visual": "npm run cypress -- run-ct --config-file cypress.visual.json",
|
|
67
|
-
"test:cypress:visual:update": "npm run cypress -- run-ct --config-file cypress.update.json",
|
|
63
|
+
"test:cypress": "npm run cypress run-ct --config-file cypress.ci.json --headless --browser chrome",
|
|
64
|
+
"test:cypress:interactive": "sh fix-cypress-reporter.sh && cypress open-ct --config-file cypress.ui.json --headless --browser chrome",
|
|
65
|
+
"test:cypress:ci": "sh fix-cypress-reporter.sh && CI_ENV=1 NO_COLOR=1 cypress run-ct --config-file cypress.ci.json --headless --browser chrome",
|
|
66
|
+
"test:cypress:visual": "npm run cypress -- run-ct --config-file cypress.visual.json --headless --browser chrome",
|
|
67
|
+
"test:cypress:visual:update": "npm run cypress -- run-ct --config-file cypress.update.json --headless --browser chrome",
|
|
68
68
|
"test:cypress:clean": "rimraf cypress/snapshots/actual/* && rimraf cypress/snapshots/diff/*",
|
|
69
69
|
"types": "run-s types:generate types:build types:replace-react-jsx-namespace types:clean",
|
|
70
70
|
"types:generate": "run-p types:generate:*",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@babel/runtime-corejs3": "^7.24.7",
|
|
98
98
|
"@juggle/resize-observer": "^3.4.0",
|
|
99
99
|
"@popperjs/core": "^2.10.2",
|
|
100
|
-
"@qualtrics/component-styles": "0.
|
|
100
|
+
"@qualtrics/component-styles": "0.148.0",
|
|
101
101
|
"@radix-ui/react-dropdown-menu": "2.0.6",
|
|
102
102
|
"@react-aria/interactions": "^3.15.1",
|
|
103
103
|
"@react-hook/resize-observer": "^1.2.6",
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
"classnames": "^2.2.6",
|
|
106
106
|
"core-js": "^3.6.5",
|
|
107
107
|
"libphonenumber-js": "^1.9.50",
|
|
108
|
+
"react-aria": "^3.33.1",
|
|
108
109
|
"react-dnd": "^15.1.1",
|
|
109
110
|
"react-dnd-html5-backend": "^15.1.2",
|
|
110
111
|
"react-focus-lock": "^2.11.2",
|
|
@@ -116,6 +117,7 @@
|
|
|
116
117
|
},
|
|
117
118
|
"devDependencies": {
|
|
118
119
|
"@babel/core": "^7.24.7",
|
|
120
|
+
"@babel/eslint-parser": "^7.24.7",
|
|
119
121
|
"@babel/plugin-transform-runtime": "^7.24.7",
|
|
120
122
|
"@babel/preset-env": "^7.24.7",
|
|
121
123
|
"@babel/preset-react": "^7.24.7",
|
|
@@ -149,7 +151,6 @@
|
|
|
149
151
|
"@typescript-eslint/parser": "^5.4.0",
|
|
150
152
|
"@vanilla-extract/integration": "^6.2.1",
|
|
151
153
|
"@vanilla-extract/jest-transform": "^1.1.1",
|
|
152
|
-
"@babel/eslint-parser": "^7.24.7",
|
|
153
154
|
"babel-loader": "^8.2.3",
|
|
154
155
|
"babel-plugin-istanbul": "^6.1.1",
|
|
155
156
|
"css-loader": "^6.5.1",
|
|
@@ -186,7 +187,7 @@
|
|
|
186
187
|
"prettier": "^2.4.1",
|
|
187
188
|
"react": "^17.0.2",
|
|
188
189
|
"react-dom": "^17.0.2",
|
|
189
|
-
"react-router-dom": "^
|
|
190
|
+
"react-router-dom": "^6.3.0",
|
|
190
191
|
"rimraf": "^3.0.2",
|
|
191
192
|
"rollup": "^2.75.6",
|
|
192
193
|
"rollup-plugin-postcss": "3.1.8",
|