@qualtrics/ui-react 2.56.0 → 2.58.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/__shared/cjs/{index-055534a9.js → index-31552f0f.js} +133 -133
  3. package/dist/__shared/cjs/{index-e7eb4a52.js → index-573f7374.js} +3 -3
  4. package/dist/components/Accordion/Accordion2.js +3 -3
  5. package/dist/components/Button/Button.js +3 -3
  6. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  7. package/dist/components/Checkbox/Checkbox2.js +3 -3
  8. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  9. package/dist/components/Combobox/Combobox2.js +3 -3
  10. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  11. package/dist/components/Divider/Divider2.js +3 -3
  12. package/dist/components/Dropdown/Dropdown2.js +3 -3
  13. package/dist/components/FilePicker/FilePicker2.js +3 -3
  14. package/dist/components/FormField/Caption.js +3 -3
  15. package/dist/components/FormField/FormField2.js +3 -3
  16. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  17. package/dist/components/IconButton/IconButton2.js +3 -3
  18. package/dist/components/InlineInput/InlineInput2.js +3 -3
  19. package/dist/components/Input/Input2.js +3 -3
  20. package/dist/components/InputGroup/InputGroup2.js +3 -3
  21. package/dist/components/Label/Label2.js +3 -3
  22. package/dist/components/Link/Link2.js +3 -3
  23. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  24. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  25. package/dist/components/Modal/Modal2.js +3 -3
  26. package/dist/components/NewMenu/NewMenu.js +3 -3
  27. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  28. package/dist/components/PageLayout/PageLayout.js +3 -3
  29. package/dist/components/Pagination/Pagination2.js +3 -3
  30. package/dist/components/Popover/Popover2.js +3 -3
  31. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  32. package/dist/components/Radio/Radio2.js +3 -3
  33. package/dist/components/SearchInput/SearchInput2.js +3 -3
  34. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  35. package/dist/components/Slider/Slider2.js +3 -3
  36. package/dist/components/Switch/Switch2.js +3 -3
  37. package/dist/components/Table/Table2.js +3 -3
  38. package/dist/components/Tabs/Tabs2.js +3 -3
  39. package/dist/components/Tooltip/Tooltip2.js +3 -3
  40. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  41. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  42. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  43. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  44. package/dist/design-tokens/css/typography.css +54 -0
  45. package/dist/design-tokens/less/typography.js +3 -3
  46. package/dist/design-tokens/less/typography.less +54 -0
  47. package/dist/design-tokens/scss/typography.scss +54 -0
  48. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  49. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  50. package/dist/icons/Icon.js +3 -3
  51. package/dist/icons/index.js +1 -1
  52. package/dist/index.es.js +1 -1
  53. package/dist/index.js +3 -3
  54. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  55. package/dist/next/Chat/ChatMessage.css.js +10 -4
  56. package/dist/next/Chat/ChatMessage.css.ts.vanilla.js +3 -3
  57. package/dist/next/Chat/ChatMessage.js +49 -8
  58. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  59. package/dist/next/Combobox/Combobox2.js +3 -3
  60. package/dist/next/Drawer/Drawer2.js +3 -3
  61. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  62. package/dist/next/Form/FormFields/InputField.js +3 -3
  63. package/dist/next/Input/Input2.js +3 -3
  64. package/dist/next/Menu/Menu2.js +3 -3
  65. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  66. package/dist/next/Select/Select2.js +3 -3
  67. package/dist/next/SplitButton/SplitButton2.js +3 -3
  68. package/dist/next/TimePicker/TimePicker2.js +3 -3
  69. package/dist/next/ToggleButton/styles.js +3 -3
  70. package/dist/next/index.d.ts +9 -0
  71. package/dist/next/index.js +98 -54
  72. package/dist/utils/Flyout/Flyout2.js +3 -3
  73. package/icons/package.json +1 -1
  74. package/next/package.json +2 -2
  75. package/package.json +11 -27
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._RipgQ{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}._ih-uB{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}._ih-uB._nfNzq._ih-uB:hover,._ih-uB._Wly6M{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._ih-uB._UgzoH{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._ih-uB._UgzoH._nfNzq._ih-uB._UgzoH:hover,._ih-uB._UgzoH._Wly6M{background-color:#e4effa}._ih-uB:active:not(._UgzoH):not([aria-disabled=true]){background-color:#e8e9e9}._qWyiW ._Bk75w{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}._qWyiW ._4vXwu{display:none}._qWyiW:not(:first-child) ._4vXwu{display:block;margin:3.5px 0}._ZRubO{width:100%;height:40px}";
4
- var styles = {"flyout":"_RipgQ","flyoutOption":"_ih-uB","highlighted":"_Wly6M","hoverHighlight":"_nfNzq","selected":"_UgzoH","flyoutHeader":"_qWyiW","headerContent":"_Bk75w","headerDivider":"_4vXwu","flyoutSpinner":"_ZRubO"};
5
- var stylesheet="._RipgQ{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}._ih-uB{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}._ih-uB._nfNzq._ih-uB:hover,._ih-uB._Wly6M{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._ih-uB._UgzoH{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._ih-uB._UgzoH._nfNzq._ih-uB._UgzoH:hover,._ih-uB._UgzoH._Wly6M{background-color:#e4effa}._ih-uB:active:not(._UgzoH):not([aria-disabled=true]){background-color:#e8e9e9}._qWyiW ._Bk75w{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}._qWyiW ._4vXwu{display:none}._qWyiW:not(:first-child) ._4vXwu{display:block;margin:3.5px 0}._ZRubO{width:100%;height:40px}";
3
+ var css_248z = "._ZPu-B{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}._8zex6{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}._8zex6._2Kj6N,._8zex6._uXkan._8zex6:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._8zex6._4VHFe{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._8zex6._4VHFe._2Kj6N,._8zex6._4VHFe._uXkan._8zex6._4VHFe:hover{background-color:#e4effa}._8zex6:active:not(._4VHFe):not([aria-disabled=true]){background-color:#e8e9e9}._BU-nx ._Ytwpd{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}._BU-nx ._cEnFg{display:none}._BU-nx:not(:first-child) ._cEnFg{display:block;margin:3.5px 0}._XygHv{width:100%;height:40px}";
4
+ var styles = {"flyout":"_ZPu-B","flyoutOption":"_8zex6","highlighted":"_2Kj6N","hoverHighlight":"_uXkan","selected":"_4VHFe","flyoutHeader":"_BU-nx","headerContent":"_Ytwpd","headerDivider":"_cEnFg","flyoutSpinner":"_XygHv"};
5
+ var stylesheet="._ZPu-B{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}._8zex6{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}._8zex6._2Kj6N,._8zex6._uXkan._8zex6:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._8zex6._4VHFe{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._8zex6._4VHFe._2Kj6N,._8zex6._4VHFe._uXkan._8zex6._4VHFe:hover{background-color:#e4effa}._8zex6:active:not(._4VHFe):not([aria-disabled=true]){background-color:#e8e9e9}._BU-nx ._Ytwpd{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}._BU-nx ._cEnFg{display:none}._BU-nx:not(:first-child) ._cEnFg{display:block;margin:3.5px 0}._XygHv{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 };
@@ -15,7 +15,7 @@
15
15
  "@vanilla-extract/css": "^1.15.3",
16
16
  "classnames": "^2.5.1",
17
17
  "core-js": "^3.37.1",
18
- "libphonenumber-js": "^1.9.50",
18
+ "libphonenumber-js": "1.11.20",
19
19
  "react-aria": "^3.33.1",
20
20
  "react-focus-lock": "^2.12.1",
21
21
  "react-input-mask": "^2.0.4",
package/next/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "@vanilla-extract/css": "^1.15.3",
16
16
  "classnames": "^2.5.1",
17
17
  "core-js": "^3.37.1",
18
- "libphonenumber-js": "^1.9.50",
18
+ "libphonenumber-js": "1.11.20",
19
19
  "react-aria": "^3.33.1",
20
20
  "react-focus-lock": "^2.12.1",
21
21
  "react-input-mask": "^2.0.4",
@@ -25,6 +25,6 @@
25
25
  "uuid": "^8.3.2"
26
26
  },
27
27
  "peerDependencies": {
28
- "@qualtrics/ui-react": "2.56.0"
28
+ "@qualtrics/ui-react": "2.58.0"
29
29
  }
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qualtrics/ui-react",
3
- "version": "2.56.0",
3
+ "version": "2.58.0",
4
4
  "description": "Official Qualtrics UI component library designed for React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,29 +54,21 @@
54
54
  "prettier": "prettier --check .",
55
55
  "prettier:fix": "prettier --write .",
56
56
  "start": "rollup -c -w",
57
- "precypress": "sh fix-cypress-reporter.sh && npm run test:cypress:clean",
58
- "cypress": "./run-cypress-docker.sh",
59
57
  "test": "NODE_ENV=test npm run test:unit && npm run test:postbuild",
60
58
  "test:ci": "NODE_ENV=test npm run test:unit:ci",
61
- "test:unit": "jest",
59
+ "test:unit": "jest -w 3",
62
60
  "test:unit:ci": "npm run test:unit -- --silent",
63
61
  "test:postbuild": "jest --config jest.postbuild.config.js",
64
- "test:postbuild:ci": "npm run test:postbuild -- --silent",
62
+ "test:postbuild:ci": "npm run test:postbuild",
65
63
  "test:postbuild:rerun": "RERUN=1 jest --config jest.postbuild.config.js",
66
64
  "test:postbuild:update": "RERUN=1 SNAPSHOTUPDATE=1 jest --config jest.postbuild.config.js -u",
67
65
  "test:postbuild:forceupdate": "RERUN=1 FORCESNAPSHOTUPDATE=1 jest --config jest.postbuild.config.js -u",
68
- "test:cypress": "npm run cypress run --component --config-file cypress.config.ci.js --headless --browser chrome",
69
- "test:cypress:interactive": "sh fix-cypress-reporter.sh && cypress open --component --config-file cypress.config.ui.js --browser chrome",
70
- "test:cypress:ci": "sh fix-cypress-reporter.sh && CI_ENV=1 NO_COLOR=1 cypress run --component --config-file cypress.config.ci.js --headless --browser chrome",
71
- "test:cypress:visual": "npx cypress run --component --config-file cypress.config.visual.js --headless --browser chrome",
72
- "test:cypress:visual:update": "npx cypress run --component --config-file cypress.config.update.js --headless --browser chrome",
73
- "test:cypress:clean": "rimraf cypress/snapshots/actual/* && rimraf cypress/snapshots/diff/*",
74
- "test:playwright:ci": "CI=true npm run test:playwright:functional & npm run test:playwright:visual",
66
+ "test:playwright:ci": "CI=true npm run test:playwright:functional && npm run test:playwright:visual && npm run test:playwright:e2e && npm run test:playwright:a11y",
75
67
  "test:playwright:update-snapshots": "npx playwright test -c playwright-viz.config.ts --tsconfig=./playwright/tsconfig.json --update-snapshots",
76
68
  "test:playwright:functional": "npx playwright test -c playwright-ct.config.ts --tsconfig=./playwright/tsconfig.json",
77
69
  "test:playwright:visual": "npx playwright test -c playwright-viz.config.ts --tsconfig=./playwright/tsconfig.json",
78
70
  "test:playwright:a11y": "npx playwright test -c playwright-a11y.config.ts --tsconfig=./playwright/tsconfig.json",
79
- "test:playwright:e2e": "npx playwright test -c playwright-e2e.config.ts --trace on",
71
+ "test:playwright:e2e": "npx playwright test -c playwright-e2e.config.ts",
80
72
  "types": "run-s types:generate types:build types:replace-react-jsx-namespace types:clean",
81
73
  "types:generate": "run-p types:generate:*",
82
74
  "types:generate:tsc": "tsc",
@@ -117,7 +109,7 @@
117
109
  "@vanilla-extract/css": "^1.15.3",
118
110
  "classnames": "^2.5.1",
119
111
  "core-js": "^3.37.1",
120
- "libphonenumber-js": "^1.9.50",
112
+ "libphonenumber-js": "1.11.20",
121
113
  "react-aria": "^3.33.1",
122
114
  "react-focus-lock": "^2.12.1",
123
115
  "react-input-mask": "^2.0.4",
@@ -134,12 +126,10 @@
134
126
  "@babel/preset-env": "^7.24.7",
135
127
  "@babel/preset-react": "^7.24.7",
136
128
  "@babel/preset-typescript": "^7.24.7",
137
- "@cypress/code-coverage": "^3.12.45",
138
- "@cypress/react18": "^2.0.1",
139
- "@cypress/webpack-dev-server": "^3.10.1",
140
129
  "@microsoft/api-extractor": "^7.19.4",
141
- "@playwright/experimental-ct-react": "^1.49.1",
142
- "@playwright/test": "^1.49.1",
130
+ "@playwright/experimental-ct-react": "1.51.0",
131
+ "@playwright/test": "1.51.0",
132
+ "@qualtrics/base-styles": "0.4.1",
143
133
  "@qualtrics-translations/qualtricsdesignsystemui": "^0.6.28735",
144
134
  "@qualtrics-translations/qualtricsdesignsystemuicountries": "^0.6.27625",
145
135
  "@rollup/plugin-babel": "^5.0.2",
@@ -147,7 +137,6 @@
147
137
  "@rollup/plugin-json": "^4.0.3",
148
138
  "@rollup/plugin-node-resolve": "^13.3.0",
149
139
  "@rollup/plugin-replace": "^3.0.0",
150
- "@testing-library/cypress": "^10.0.2",
151
140
  "@testing-library/jest-dom": "^6.4.6",
152
141
  "@testing-library/react": "^16.0.0",
153
142
  "@testing-library/user-event": "^14.5.2",
@@ -170,16 +159,11 @@
170
159
  "css-loader": "^6.5.1",
171
160
  "cssnano": "^4.1.11",
172
161
  "csstype": "^3.0.10",
173
- "cypress": "^13.13.0",
174
- "cypress-mochawesome-reporter": "^3.8.2",
175
- "cypress-real-events": "^1.7.0",
176
- "cypress-visual-regression": "^5.0.4",
177
162
  "eslint": "^8.57.0",
178
163
  "eslint-config-airbnb": "^19.0.4",
179
164
  "eslint-config-prettier": "^9.1.0",
180
165
  "eslint-plugin-babel": "^5.3.0",
181
166
  "eslint-plugin-compat": "^4.0.0",
182
- "eslint-plugin-cypress": "^2.12.1",
183
167
  "eslint-plugin-import": "^2.25.3",
184
168
  "eslint-plugin-jsx-a11y": "^6.5.1",
185
169
  "eslint-plugin-playwright": "^2.1.0",
@@ -211,8 +195,8 @@
211
195
  "shelljs": "^0.8.5",
212
196
  "style-loader": "^3.3.1",
213
197
  "ts-node": "^10.9.2",
214
- "typedoc": "0.27.2",
215
- "typedoc-plugin-missing-exports": "^3.0.0",
198
+ "typedoc": "0.26.3",
199
+ "typedoc-plugin-missing-exports": "3.0.0",
216
200
  "typescript": "^5.5.3",
217
201
  "webpack": "^5.58.0",
218
202
  "webpack-cli": "^4.9.1",