@qualtrics/ui-react 2.9.0 → 2.11.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 (85) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/dist/__shared/cjs/{index-3e5149c9.js → index-30148ada.js} +3 -3
  3. package/dist/__shared/cjs/{index-38a79098.js → index-bb7befc3.js} +81 -194
  4. package/dist/components/Accordion/Accordion2.js +3 -3
  5. package/dist/components/Button/Button2.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/Checkbox/VisualCheckbox2.js +3 -3
  9. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  10. package/dist/components/Combobox/Combobox.js +21 -43
  11. package/dist/components/Combobox/Combobox2.js +3 -3
  12. package/dist/components/Combobox/ComboboxInput.js +0 -2
  13. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  14. package/dist/components/Divider/Divider2.js +3 -3
  15. package/dist/components/Dropdown/Dropdown2.js +3 -3
  16. package/dist/components/FilePicker/FilePicker2.js +3 -3
  17. package/dist/components/FormField/Caption.js +3 -3
  18. package/dist/components/FormField/FormField2.js +3 -3
  19. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  20. package/dist/components/IconButton/IconButton2.js +3 -3
  21. package/dist/components/InlineInput/InlineInput.js +7 -3
  22. package/dist/components/InlineInput/InlineInput2.js +3 -3
  23. package/dist/components/Input/Input2.js +3 -3
  24. package/dist/components/InputGroup/InputGroup2.js +3 -3
  25. package/dist/components/Label/Label2.js +3 -3
  26. package/dist/components/Link/Link2.js +3 -3
  27. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  28. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  29. package/dist/components/Modal/Modal.js +2 -1
  30. package/dist/components/Modal/Modal2.js +3 -3
  31. package/dist/components/NewMenu/BaseMenu.js +2 -3
  32. package/dist/components/NewMenu/NewMenu.js +3 -3
  33. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +7 -2
  34. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  35. package/dist/components/PageLayout/PageLayout.js +3 -3
  36. package/dist/components/Pagination/Pagination2.js +3 -3
  37. package/dist/components/Popover/Popover.js +5 -0
  38. package/dist/components/Popover/Popover2.js +3 -3
  39. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  40. package/dist/components/Radio/Radio2.js +3 -3
  41. package/dist/components/SearchInput/SearchInput2.js +3 -3
  42. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  43. package/dist/components/Slider/Slider2.js +3 -3
  44. package/dist/components/Switch/Switch2.js +3 -3
  45. package/dist/components/Table/Table2.js +3 -3
  46. package/dist/components/Tabs/Tabs2.js +3 -3
  47. package/dist/components/Tooltip/Tooltip.js +5 -0
  48. package/dist/components/Tooltip/Tooltip2.js +3 -3
  49. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  50. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  51. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  52. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  53. package/dist/hooks/useOverlay/index.js +1 -0
  54. package/dist/hooks/useOverlay/useOverlay.js +70 -0
  55. package/dist/hooks/useOverlay/useOverlay2.js +8 -0
  56. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  57. package/dist/icons/Icon.js +3 -3
  58. package/dist/icons/index.js +1 -1
  59. package/dist/index.es.js +1 -1
  60. package/dist/index.js +262 -150
  61. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  62. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  63. package/dist/next/Combobox/Combobox2.js +3 -3
  64. package/dist/next/Drawer/Drawer.js +138 -0
  65. package/dist/next/Drawer/Drawer2.js +8 -0
  66. package/dist/next/Drawer/index.js +1 -0
  67. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  68. package/dist/next/Input/Input2.js +3 -3
  69. package/dist/next/Menu/Menu.js +71 -0
  70. package/dist/next/Menu/Menu2.js +8 -0
  71. package/dist/next/Menu/MenuButton.js +41 -0
  72. package/dist/next/Menu/MenuContext.js +41 -0
  73. package/dist/next/Menu/MenuItem.js +49 -0
  74. package/dist/next/Menu/MenuPane.js +64 -0
  75. package/dist/next/Menu/MenuSearch.js +105 -0
  76. package/dist/next/Menu/SubMenu.js +74 -0
  77. package/dist/next/Menu/constants.js +9 -0
  78. package/dist/next/Menu/index.js +5 -0
  79. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  80. package/dist/next/SplitButton/SplitButton2.js +3 -3
  81. package/dist/next/index.d.ts +71 -0
  82. package/dist/next/index.es.js +8 -1
  83. package/dist/next/index.js +697 -133
  84. package/dist/utils/Flyout/Flyout2.js +3 -3
  85. 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 = "._2QyM_{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}._3dYhM{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}._3dYhM._1DG16._3dYhM:hover,._3dYhM._3GfOo{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._3dYhM._2twSn{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._3dYhM._2twSn._1DG16._3dYhM._2twSn:hover,._3dYhM._2twSn._3GfOo{background-color:#e4effa}._3dYhM:active:not(._2twSn):not([aria-disabled=true]){background-color:#e8e9e9}._1cRjg ._2Qa1X{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}._1cRjg ._3wm1C{display:none}._1cRjg:not(:first-child) ._3wm1C{display:block;margin:3.5px 0}._2_cou{width:100%;height:40px}";
4
- var styles = {"flyout":"_2QyM_","flyoutOption":"_3dYhM","highlighted":"_3GfOo","hoverHighlight":"_1DG16","selected":"_2twSn","flyoutHeader":"_1cRjg","headerContent":"_2Qa1X","headerDivider":"_3wm1C","flyoutSpinner":"_2_cou"};
5
- var stylesheet="._2QyM_{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}._3dYhM{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}._3dYhM._1DG16._3dYhM:hover,._3dYhM._3GfOo{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._3dYhM._2twSn{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._3dYhM._2twSn._1DG16._3dYhM._2twSn:hover,._3dYhM._2twSn._3GfOo{background-color:#e4effa}._3dYhM:active:not(._2twSn):not([aria-disabled=true]){background-color:#e8e9e9}._1cRjg ._2Qa1X{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}._1cRjg ._3wm1C{display:none}._1cRjg:not(:first-child) ._3wm1C{display:block;margin:3.5px 0}._2_cou{width:100%;height:40px}";
3
+ var css_248z = "._lXomS{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}._31gh3{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}._31gh3._1wLfG,._31gh3._2c_7I._31gh3:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._31gh3._9DVzX{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._31gh3._9DVzX._1wLfG,._31gh3._9DVzX._2c_7I._31gh3._9DVzX:hover{background-color:#e4effa}._31gh3:active:not(._9DVzX):not([aria-disabled=true]){background-color:#e8e9e9}._1jjmm ._25Ccz{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}._1jjmm ._3dU_a{display:none}._1jjmm:not(:first-child) ._3dU_a{display:block;margin:3.5px 0}._3HRjg{width:100%;height:40px}";
4
+ var styles = {"flyout":"_lXomS","flyoutOption":"_31gh3","highlighted":"_1wLfG","hoverHighlight":"_2c_7I","selected":"_9DVzX","flyoutHeader":"_1jjmm","headerContent":"_25Ccz","headerDivider":"_3dU_a","flyoutSpinner":"_3HRjg"};
5
+ var stylesheet="._lXomS{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}._31gh3{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}._31gh3._1wLfG,._31gh3._2c_7I._31gh3:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._31gh3._9DVzX{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._31gh3._9DVzX._1wLfG,._31gh3._9DVzX._2c_7I._31gh3._9DVzX:hover{background-color:#e4effa}._31gh3:active:not(._9DVzX):not([aria-disabled=true]){background-color:#e8e9e9}._1jjmm ._25Ccz{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}._1jjmm ._3dU_a{display:none}._1jjmm:not(:first-child) ._3dU_a{display:block;margin:3.5px 0}._3HRjg{width:100%;height:40px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qualtrics/ui-react",
3
- "version": "2.9.0",
3
+ "version": "2.11.0",
4
4
  "description": "Official Qualtrics UI component library designed for React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -126,13 +126,13 @@
126
126
  "@rollup/plugin-node-resolve": "^13.3.0",
127
127
  "@rollup/plugin-replace": "^3.0.0",
128
128
  "@testing-library/cypress": "^8.0.1",
129
- "@testing-library/jest-dom": "^5.11.5",
130
- "@testing-library/react": "^11.2.7",
131
- "@testing-library/react-hooks": "^7.0.0",
129
+ "@testing-library/jest-dom": "^5.16.5",
130
+ "@testing-library/react": "^12.1.5",
131
+ "@testing-library/react-hooks": "^8.0.1",
132
132
  "@testing-library/user-event": "^12.2.2",
133
133
  "@types/classnames": "^2.2.6",
134
134
  "@types/estree": "^0.0.52",
135
- "@types/jest": "^26.0.24",
135
+ "@types/jest": "^29.5.0",
136
136
  "@types/node": "^16.11.7",
137
137
  "@types/react": "^17.0.33",
138
138
  "@types/react-dom": "^17.0.10",
@@ -163,12 +163,12 @@
163
163
  "eslint-plugin-react-hooks": "^4.2.0",
164
164
  "html-webpack-plugin": "^5.5.0",
165
165
  "identity-obj-proxy": "^3.0.0",
166
- "jest": "^26.6.3",
167
- "jest-junit": "^13.0.0",
166
+ "jest": "^29.5.0",
167
+ "jest-environment-jsdom": "^29.5.0",
168
+ "jest-junit": "^15.0.0",
168
169
  "less": "3.13.1",
169
170
  "less-loader": "^10.2.0",
170
171
  "memfs": "^3.3.0",
171
- "mocha": "^9.2.2",
172
172
  "npm-run-all": "^4.1.5",
173
173
  "postcss": "^7.0.35",
174
174
  "postcss-modules": "^2.0.0",
@@ -178,7 +178,6 @@
178
178
  "react": "^17.0.2",
179
179
  "react-dom": "^17.0.2",
180
180
  "react-router-dom": "^5.3.3",
181
- "react-test-renderer": "^17.0.2",
182
181
  "rimraf": "^3.0.2",
183
182
  "rollup": "^2.75.6",
184
183
  "rollup-plugin-postcss": "3.1.8",
@@ -240,11 +239,13 @@
240
239
  "statements": 75
241
240
  }
242
241
  },
242
+ "resolver": "./test/resolver.js",
243
243
  "setupFilesAfterEnv": [
244
244
  "./jest.setup.ts"
245
245
  ],
246
246
  "moduleNameMapper": {
247
247
  "\\.(css|less)$": "identity-obj-proxy"
248
- }
248
+ },
249
+ "testEnvironment": "jsdom"
249
250
  }
250
251
  }