@qualtrics/ui-react 2.24.2 → 2.25.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 (87) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/__shared/cjs/{index-8f52588d.js → index-5b3b3406.js} +3 -3
  3. package/dist/__shared/cjs/{index-b7a35c2e.js → index-610a1e02.js} +133 -133
  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/Checkbox/VisualCheckbox2.js +3 -3
  9. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  10. package/dist/components/Combobox/Combobox2.js +3 -3
  11. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  12. package/dist/components/Divider/Divider2.js +3 -3
  13. package/dist/components/Dropdown/Dropdown2.js +3 -3
  14. package/dist/components/FilePicker/FilePicker2.js +3 -3
  15. package/dist/components/FormField/Caption.js +3 -3
  16. package/dist/components/FormField/FormField2.js +3 -3
  17. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  18. package/dist/components/IconButton/IconButton2.js +3 -3
  19. package/dist/components/InlineInput/InlineInput2.js +3 -3
  20. package/dist/components/Input/Input2.js +3 -3
  21. package/dist/components/InputGroup/InputGroup2.js +3 -3
  22. package/dist/components/Label/Label2.js +3 -3
  23. package/dist/components/Link/Link2.js +3 -3
  24. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  25. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  26. package/dist/components/Modal/Modal2.js +3 -3
  27. package/dist/components/NewMenu/NewMenu.js +3 -3
  28. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  29. package/dist/components/PageLayout/PageLayout.js +3 -3
  30. package/dist/components/Pagination/Pagination2.js +3 -3
  31. package/dist/components/Popover/Popover2.js +3 -3
  32. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  33. package/dist/components/Radio/Radio2.js +3 -3
  34. package/dist/components/SearchInput/SearchInput2.js +3 -3
  35. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  36. package/dist/components/Slider/Slider2.js +3 -3
  37. package/dist/components/Switch/Switch2.js +3 -3
  38. package/dist/components/Table/Table2.js +3 -3
  39. package/dist/components/Tabs/Tabs2.js +3 -3
  40. package/dist/components/Tooltip/Tooltip2.js +3 -3
  41. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  42. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  43. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  44. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  45. package/dist/hooks/useOverlay/useOverlay.js +1 -1
  46. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  47. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  48. package/dist/icons/Icon.js +3 -3
  49. package/dist/icons/index.js +1 -1
  50. package/dist/index.d.ts +9 -7
  51. package/dist/index.es.js +2 -1
  52. package/dist/index.js +4 -3
  53. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  54. package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +6 -3
  55. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  56. package/dist/next/Combobox/Combobox2.js +3 -3
  57. package/dist/next/Drawer/Drawer2.js +3 -3
  58. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  59. package/dist/next/Input/Input2.js +3 -3
  60. package/dist/next/Menu/Menu.js +4 -1
  61. package/dist/next/Menu/Menu2.js +3 -3
  62. package/dist/next/Menu/MenuButton.js +5 -2
  63. package/dist/next/Menu/MenuItem.js +19 -4
  64. package/dist/next/Menu/MenuPane.js +48 -32
  65. package/dist/next/Menu/SubMenu.js +49 -21
  66. package/dist/next/Menu/useCSSVariable.js +1 -1
  67. package/dist/next/Menu/usePaneSearch.js +20 -15
  68. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  69. package/dist/next/Select/Select.js +114 -0
  70. package/dist/next/Select/Select2.js +8 -0
  71. package/dist/next/Select/SelectButton.js +46 -0
  72. package/dist/next/Select/SelectContext.js +16 -0
  73. package/dist/next/Select/SelectItem.js +46 -0
  74. package/dist/next/Select/SelectPane.js +43 -0
  75. package/dist/next/Select/SelectedItems.js +45 -0
  76. package/dist/next/Select/SubSelect.js +90 -0
  77. package/dist/next/Select/constants.js +13 -0
  78. package/dist/next/Select/index.js +5 -0
  79. package/dist/next/SplitButton/SplitButton2.js +3 -3
  80. package/dist/next/TimePicker/TimePicker2.js +3 -3
  81. package/dist/next/ToggleButton/styles.js +3 -3
  82. package/dist/next/index.d.ts +54 -6
  83. package/dist/next/index.es.js +6 -0
  84. package/dist/next/index.js +680 -255
  85. package/dist/utils/Flyout/Flyout2.js +3 -3
  86. package/next/package.json +1 -1
  87. package/package.json +3 -2
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._by-hq{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}._TVz7n{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}._TVz7n._YSa5A,._TVz7n._zKnl-._TVz7n:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._TVz7n._aqxw8{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._TVz7n._aqxw8._YSa5A,._TVz7n._aqxw8._zKnl-._TVz7n._aqxw8:hover{background-color:#e4effa}._TVz7n:active:not(._aqxw8):not([aria-disabled=true]){background-color:#e8e9e9}._NY9co ._JvuM2{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}._NY9co ._OOOTD{display:none}._NY9co:not(:first-child) ._OOOTD{display:block;margin:3.5px 0}._aqPkE{width:100%;height:40px}";
4
- var styles = {"flyout":"_by-hq","flyoutOption":"_TVz7n","highlighted":"_YSa5A","hoverHighlight":"_zKnl-","selected":"_aqxw8","flyoutHeader":"_NY9co","headerContent":"_JvuM2","headerDivider":"_OOOTD","flyoutSpinner":"_aqPkE"};
5
- var stylesheet="._by-hq{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}._TVz7n{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}._TVz7n._YSa5A,._TVz7n._zKnl-._TVz7n:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._TVz7n._aqxw8{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._TVz7n._aqxw8._YSa5A,._TVz7n._aqxw8._zKnl-._TVz7n._aqxw8:hover{background-color:#e4effa}._TVz7n:active:not(._aqxw8):not([aria-disabled=true]){background-color:#e8e9e9}._NY9co ._JvuM2{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}._NY9co ._OOOTD{display:none}._NY9co:not(:first-child) ._OOOTD{display:block;margin:3.5px 0}._aqPkE{width:100%;height:40px}";
3
+ var css_248z = "._DEC4o{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}._s3HAi{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}._s3HAi._4AFpg._s3HAi:hover,._s3HAi._-Xpk-{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._s3HAi._Fxza-{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._s3HAi._Fxza-._4AFpg._s3HAi._Fxza-:hover,._s3HAi._Fxza-._-Xpk-{background-color:#e4effa}._s3HAi:active:not(._Fxza-):not([aria-disabled=true]){background-color:#e8e9e9}._CQpH- ._GHNVH{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}._CQpH- ._OEdBI{display:none}._CQpH-:not(:first-child) ._OEdBI{display:block;margin:3.5px 0}._JnrJD{width:100%;height:40px}";
4
+ var styles = {"flyout":"_DEC4o","flyoutOption":"_s3HAi","highlighted":"_-Xpk-","hoverHighlight":"_4AFpg","selected":"_Fxza-","flyoutHeader":"_CQpH-","headerContent":"_GHNVH","headerDivider":"_OEdBI","flyoutSpinner":"_JnrJD"};
5
+ var stylesheet="._DEC4o{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}._s3HAi{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}._s3HAi._4AFpg._s3HAi:hover,._s3HAi._-Xpk-{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._s3HAi._Fxza-{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._s3HAi._Fxza-._4AFpg._s3HAi._Fxza-:hover,._s3HAi._Fxza-._-Xpk-{background-color:#e4effa}._s3HAi:active:not(._Fxza-):not([aria-disabled=true]){background-color:#e8e9e9}._CQpH- ._GHNVH{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}._CQpH- ._OEdBI{display:none}._CQpH-:not(:first-child) ._OEdBI{display:block;margin:3.5px 0}._JnrJD{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/next/package.json CHANGED
@@ -22,6 +22,6 @@
22
22
  "uuid": "^8.3.2"
23
23
  },
24
24
  "peerDependencies": {
25
- "@qualtrics/ui-react": "2.24.2"
25
+ "@qualtrics/ui-react": "2.25.0"
26
26
  }
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qualtrics/ui-react",
3
- "version": "2.24.2",
3
+ "version": "2.25.0",
4
4
  "description": "Official Qualtrics UI component library designed for React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -66,7 +66,7 @@
66
66
  "test:cypress:visual": "npm run cypress -- run-ct --config-file cypress.visual.json",
67
67
  "test:cypress:visual:update": "npm run cypress -- run-ct --config-file cypress.update.json",
68
68
  "test:cypress:clean": "rimraf cypress/snapshots/actual/* && rimraf cypress/snapshots/diff/*",
69
- "types": "run-s types:generate types:build types:clean",
69
+ "types": "run-s types:generate types:build types:replace-react-jsx-namespace types:clean",
70
70
  "types:generate": "run-p types:generate:*",
71
71
  "types:generate:tsc": "tsc",
72
72
  "types:generate:copy": "node scripts/generate-types",
@@ -78,6 +78,7 @@
78
78
  "types:typedoc:dist": "typedoc --options config/typedoc.json",
79
79
  "types:typedoc:next": "typedoc --options config/typedoc.next.json",
80
80
  "types:typedoc:icons": "typedoc --options config/typedoc.icons.json",
81
+ "types:replace-react-jsx-namespace": "node scripts/replace-react-jsx-namespace",
81
82
  "types:clean": "rimraf dist/types"
82
83
  },
83
84
  "peerDependencies": {