@qualtrics/ui-react 2.53.0 → 2.54.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 (66) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/__shared/cjs/{index-51403e5e.js → index-25c1e427.js} +133 -133
  3. package/dist/__shared/cjs/{index-4d434a01.js → index-fedfd2ec.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/hooks/useOverlay/useOverlay2.js +3 -3
  45. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  46. package/dist/icons/Icon.js +3 -3
  47. package/dist/icons/index.js +1 -1
  48. package/dist/index.es.js +1 -1
  49. package/dist/index.js +3 -3
  50. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  51. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  52. package/dist/next/Combobox/Combobox2.js +3 -3
  53. package/dist/next/Drawer/Drawer2.js +3 -3
  54. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  55. package/dist/next/Form/FormFields/InputField.js +3 -3
  56. package/dist/next/Input/Input2.js +3 -3
  57. package/dist/next/Menu/Menu2.js +3 -3
  58. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  59. package/dist/next/Select/Select2.js +3 -3
  60. package/dist/next/SplitButton/SplitButton2.js +3 -3
  61. package/dist/next/TimePicker/TimePicker2.js +3 -3
  62. package/dist/next/ToggleButton/styles.js +3 -3
  63. package/dist/next/index.js +38 -38
  64. package/dist/utils/Flyout/Flyout2.js +3 -3
  65. package/next/package.json +1 -1
  66. package/package.json +18 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qualtrics/ui-react",
3
- "version": "2.53.0",
3
+ "version": "2.54.0",
4
4
  "description": "Official Qualtrics UI component library designed for React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,6 +54,8 @@
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",
57
59
  "test": "NODE_ENV=test npm run test:unit && npm run test:postbuild",
58
60
  "test:ci": "NODE_ENV=test npm run test:unit:ci",
59
61
  "test:unit": "jest",
@@ -63,14 +65,17 @@
63
65
  "test:postbuild:rerun": "RERUN=1 jest --config jest.postbuild.config.js",
64
66
  "test:postbuild:update": "RERUN=1 SNAPSHOTUPDATE=1 jest --config jest.postbuild.config.js -u",
65
67
  "test:postbuild:forceupdate": "RERUN=1 FORCESNAPSHOTUPDATE=1 jest --config jest.postbuild.config.js -u",
66
- "precypress": "sh fix-cypress-reporter.sh && npm run test:cypress:clean",
67
- "cypress": "./run-cypress-docker.sh",
68
68
  "test:cypress": "npm run cypress run --component --config-file cypress.config.ci.js --headless --browser chrome",
69
69
  "test:cypress:interactive": "sh fix-cypress-reporter.sh && cypress open --component --config-file cypress.config.ui.js --browser chrome",
70
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
71
  "test:cypress:visual": "npx cypress run --component --config-file cypress.config.visual.js --headless --browser chrome",
72
72
  "test:cypress:visual:update": "npx cypress run --component --config-file cypress.config.update.js --headless --browser chrome",
73
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",
75
+ "test:playwright:update-snapshots": "npx playwright test -c playwright-viz.config.ts --tsconfig=./playwright/tsconfig.json --update-snapshots",
76
+ "test:playwright:functional": "npx playwright test -c playwright-ct.config.ts --tsconfig=./playwright/tsconfig.json",
77
+ "test:playwright:visual": "npx playwright test -c playwright-viz.config.ts --tsconfig=./playwright/tsconfig.json",
78
+ "test:playwright:e2e": "npx playwright test -c playwright-e2e.config.ts",
74
79
  "types": "run-s types:generate types:build types:replace-react-jsx-namespace types:clean",
75
80
  "types:generate": "run-p types:generate:*",
76
81
  "types:generate:tsc": "tsc",
@@ -131,6 +136,8 @@
131
136
  "@cypress/react18": "^2.0.1",
132
137
  "@cypress/webpack-dev-server": "^3.10.1",
133
138
  "@microsoft/api-extractor": "^7.19.4",
139
+ "@playwright/experimental-ct-react": "^1.49.1",
140
+ "@playwright/test": "^1.49.1",
134
141
  "@qualtrics-translations/qualtricsdesignsystemui": "^0.6.28735",
135
142
  "@qualtrics-translations/qualtricsdesignsystemuicountries": "^0.6.27625",
136
143
  "@rollup/plugin-babel": "^5.0.2",
@@ -173,6 +180,7 @@
173
180
  "eslint-plugin-cypress": "^2.12.1",
174
181
  "eslint-plugin-import": "^2.25.3",
175
182
  "eslint-plugin-jsx-a11y": "^6.5.1",
183
+ "eslint-plugin-playwright": "^2.1.0",
176
184
  "eslint-plugin-react": "^7.24.0",
177
185
  "eslint-plugin-react-hooks": "^4.6.2",
178
186
  "generic-names": "^4.0.0",
@@ -195,18 +203,18 @@
195
203
  "react-router-dom": "^6.3.0",
196
204
  "rimraf": "^3.0.2",
197
205
  "rollup": "^2.75.6",
206
+ "rollup-plugin-copy": "^3.5.0",
198
207
  "rollup-plugin-postcss": "3.1.8",
199
208
  "rollup-plugin-rename-node-modules": "^1.3.1",
200
- "rollup-plugin-copy": "^3.5.0",
201
209
  "shelljs": "^0.8.5",
202
210
  "style-loader": "^3.3.1",
203
- "typedoc": "0.26.3",
211
+ "ts-node": "^10.9.2",
212
+ "typedoc": "0.27.2",
204
213
  "typedoc-plugin-missing-exports": "^3.0.0",
205
214
  "typescript": "^5.5.3",
206
215
  "webpack": "^5.58.0",
207
216
  "webpack-cli": "^4.9.1",
208
- "webpack-dev-server": "^4.15.2",
209
- "ts-node": "^10.9.2"
217
+ "webpack-dev-server": "^4.15.2"
210
218
  },
211
219
  "sideEffects": [
212
220
  "**/*.vanilla.js"
@@ -247,6 +255,9 @@
247
255
  }
248
256
  ]
249
257
  ],
258
+ "modulePathIgnorePatterns": [
259
+ "/playwright"
260
+ ],
250
261
  "testTimeout": 8000,
251
262
  "coverageReporters": [
252
263
  "cobertura",