@qualtrics/ui-react 2.42.0 → 2.44.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 +33 -0
- package/dist/__shared/cjs/{index-2f9f9a05.js → index-b20c6dcb.js} +282 -180
- package/dist/__shared/cjs/{index-ec90a05b.js → index-c4cfd8bd.js} +19 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Accordion/AccordionPanel.js +24 -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/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 +6 -2
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownOption.js +6 -9
- package/dist/components/Dropdown/DropdownSearch.js +31 -7
- 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 +4 -0
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input.js +41 -15
- 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/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +1 -1
- package/dist/components/NewMenu/parts/MenuItem.js +1 -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/Pagination/PaginationPageInput.js +5 -6
- 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 +1 -1
- 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/components/DashboardSpotCheckIcon.js +6 -0
- package/dist/icons/components/EditTableViewIcon.js +6 -0
- package/dist/icons/components/PictureInAPictureIcon.js +6 -0
- package/dist/icons/components/WorkflowIcon.js +6 -0
- package/dist/icons/index.d.ts +8 -0
- package/dist/icons/index.es.js +4 -0
- package/dist/icons/index.js +5 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +38 -12
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/Chat/ChatInput.css.js +4 -1
- package/dist/next/Chat/ChatInput.css.ts.vanilla.js +3 -3
- package/dist/next/Chat/ChatInput.js +44 -7
- 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/Input.js +32 -4
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuItem.js +1 -0
- package/dist/next/Menu/SubMenu.js +1 -0
- 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/Tooltip/Tooltip.js +10 -0
- package/dist/next/Tooltip/index.js +1 -0
- package/dist/next/index.d.ts +67 -1
- package/dist/next/index.es.js +2 -0
- package/dist/next/index.js +131 -58
- package/dist/translations-en.js +2 -0
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +7 -4
package/dist/translations-en.js
CHANGED
|
@@ -7,6 +7,8 @@ var FALLBACK_LOCALIZED_TEXT = {
|
|
|
7
7
|
"chat.loaderLabel": "Loading",
|
|
8
8
|
"chat.cancelButtonLabel": "Cancel request",
|
|
9
9
|
"chat.accessibleMessageLabel": "{{actorLabel}}. {{messageText}}",
|
|
10
|
+
"chat.maxCharacterLimit": "Max character limit reached",
|
|
11
|
+
"chat.inputHelperText": "Describe your request in {{max}} characters or less",
|
|
10
12
|
"filePicker.single": "Choose file",
|
|
11
13
|
"filePicker.multiple": "Choose files",
|
|
12
14
|
"logicEditor.all": "All of the following are true",
|
|
@@ -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 = "._kMIFU{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}._G-YOR{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}._G-YOR._iEinh._G-YOR:hover,._G-YOR._rKwOK{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._G-YOR._yTqrc{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._G-YOR._yTqrc._iEinh._G-YOR._yTqrc:hover,._G-YOR._yTqrc._rKwOK{background-color:#e4effa}._G-YOR:active:not(._yTqrc):not([aria-disabled=true]){background-color:#e8e9e9}._sW-0v ._g9Bn2{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}._sW-0v ._LQuHp{display:none}._sW-0v:not(:first-child) ._LQuHp{display:block;margin:3.5px 0}._cyDgM{width:100%;height:40px}";
|
|
4
|
+
var styles = {"flyout":"_kMIFU","flyoutOption":"_G-YOR","highlighted":"_rKwOK","hoverHighlight":"_iEinh","selected":"_yTqrc","flyoutHeader":"_sW-0v","headerContent":"_g9Bn2","headerDivider":"_LQuHp","flyoutSpinner":"_cyDgM"};
|
|
5
|
+
var stylesheet="._kMIFU{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}._G-YOR{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}._G-YOR._iEinh._G-YOR:hover,._G-YOR._rKwOK{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._G-YOR._yTqrc{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._G-YOR._yTqrc._iEinh._G-YOR._yTqrc:hover,._G-YOR._yTqrc._rKwOK{background-color:#e4effa}._G-YOR:active:not(._yTqrc):not([aria-disabled=true]){background-color:#e8e9e9}._sW-0v ._g9Bn2{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}._sW-0v ._LQuHp{display:none}._sW-0v:not(:first-child) ._LQuHp{display:block;margin:3.5px 0}._cyDgM{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.150.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",
|
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.150.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",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"uuid": "^8.3.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@qualtrics/ui-react": "2.
|
|
28
|
+
"@qualtrics/ui-react": "2.44.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualtrics/ui-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.44.0",
|
|
4
4
|
"description": "Official Qualtrics UI component library designed for React",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,9 +38,10 @@
|
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"alpha": "npm version prerelease --preid=alpha && npm publish --tag=alpha",
|
|
41
|
-
"prebuild": "npm run generate-translations",
|
|
41
|
+
"prebuild": "npm run generate-translations && npm run generate-design-tokens",
|
|
42
42
|
"build": "npm run clean && run-p types build:rollup",
|
|
43
43
|
"generate-translations": "node scripts/generate-translations.js",
|
|
44
|
+
"generate-design-tokens": "ts-node src/design-tokens/generate/generate-all.ts",
|
|
44
45
|
"build:rollup": "rollup -c",
|
|
45
46
|
"clean": "rimraf dist/* && rimraf icons/* && rimraf next/*",
|
|
46
47
|
"icons": "node scripts/build-icons",
|
|
@@ -97,7 +98,7 @@
|
|
|
97
98
|
"@babel/runtime-corejs3": "^7.24.7",
|
|
98
99
|
"@juggle/resize-observer": "^3.4.0",
|
|
99
100
|
"@popperjs/core": "^2.10.2",
|
|
100
|
-
"@qualtrics/component-styles": "0.
|
|
101
|
+
"@qualtrics/component-styles": "0.150.0",
|
|
101
102
|
"@radix-ui/react-dropdown-menu": "2.0.6",
|
|
102
103
|
"@react-aria/interactions": "^3.15.1",
|
|
103
104
|
"@react-hook/resize-observer": "^1.2.6",
|
|
@@ -192,6 +193,7 @@
|
|
|
192
193
|
"rollup": "^2.75.6",
|
|
193
194
|
"rollup-plugin-postcss": "3.1.8",
|
|
194
195
|
"rollup-plugin-rename-node-modules": "^1.3.1",
|
|
196
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
195
197
|
"shelljs": "^0.8.5",
|
|
196
198
|
"style-loader": "^3.3.1",
|
|
197
199
|
"typedoc": "0.25.4",
|
|
@@ -199,7 +201,8 @@
|
|
|
199
201
|
"typescript": "^4.4.4",
|
|
200
202
|
"webpack": "^5.58.0",
|
|
201
203
|
"webpack-cli": "^4.9.1",
|
|
202
|
-
"webpack-dev-server": "^4.15.2"
|
|
204
|
+
"webpack-dev-server": "^4.15.2",
|
|
205
|
+
"ts-node": "^10.9.2"
|
|
203
206
|
},
|
|
204
207
|
"sideEffects": [
|
|
205
208
|
"**/*.vanilla.js"
|