@qualtrics/ui-react 2.28.0 → 2.29.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 (90) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/__shared/cjs/{index-2ad33b44.js → index-c2d2f188.js} +601 -391
  3. package/dist/__shared/cjs/{index-0c005184.js → index-c9e48360.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/Checkbox.js +54 -10
  8. package/dist/components/Checkbox/Checkbox2.js +3 -3
  9. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  10. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  11. package/dist/components/Combobox/Combobox2.js +3 -3
  12. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  13. package/dist/components/Divider/Divider2.js +3 -3
  14. package/dist/components/Dropdown/Dropdown.js +59 -7
  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/InlineInput2.js +3 -3
  22. package/dist/components/Input/Input2.js +3 -3
  23. package/dist/components/InputGroup/InputGroup2.js +3 -3
  24. package/dist/components/Label/Label2.js +3 -3
  25. package/dist/components/Link/Link2.js +3 -3
  26. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  27. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  28. package/dist/components/Modal/Modal2.js +3 -3
  29. package/dist/components/NewMenu/NewMenu.js +3 -3
  30. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  31. package/dist/components/PageLayout/PageLayout.js +3 -3
  32. package/dist/components/Pagination/Pagination2.js +3 -3
  33. package/dist/components/Popover/Popover2.js +3 -3
  34. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  35. package/dist/components/Radio/Radio.js +25 -5
  36. package/dist/components/Radio/Radio2.js +3 -3
  37. package/dist/components/Radio/RadioGroup.js +16 -3
  38. package/dist/components/SearchInput/SearchInput2.js +3 -3
  39. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  40. package/dist/components/Slider/Slider2.js +3 -3
  41. package/dist/components/Switch/Switch2.js +3 -3
  42. package/dist/components/Table/Table2.js +3 -3
  43. package/dist/components/Tabs/Tabs2.js +3 -3
  44. package/dist/components/Tooltip/Tooltip2.js +3 -3
  45. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  46. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  47. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  48. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  49. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  50. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  51. package/dist/icons/Icon.js +3 -3
  52. package/dist/icons/index.js +1 -1
  53. package/dist/index.d.ts +12 -2
  54. package/dist/index.es.js +1 -1
  55. package/dist/index.js +3 -3
  56. package/dist/next/AdvancedTable/AdvancedTable.js +54 -78
  57. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  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/FormFieldWrapper.js +36 -0
  63. package/dist/next/Form/FormFields/InputField.js +8 -0
  64. package/dist/next/Form/index.js +2 -0
  65. package/dist/next/Form/useForm.js +298 -0
  66. package/dist/next/Form/useFormField.js +25 -0
  67. package/dist/next/Form/utils/createFormInstance.js +32 -0
  68. package/dist/next/Form/utils/useFormContext.js +9 -0
  69. package/dist/next/Input/Input.js +47 -7
  70. package/dist/next/Input/Input2.js +3 -3
  71. package/dist/next/Menu/Menu2.js +3 -3
  72. package/dist/next/Menu/MenuPane.js +2 -2
  73. package/dist/next/Pagination/Pagination.css.js +9 -0
  74. package/dist/next/Pagination/Pagination.css.ts.vanilla.js +8 -0
  75. package/dist/next/Pagination/Pagination.js +166 -0
  76. package/dist/next/Pagination/RowDisplayCount.js +46 -0
  77. package/dist/next/Pagination/index.js +2 -0
  78. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  79. package/dist/next/Select/Select2.js +3 -3
  80. package/dist/next/SplitButton/SplitButton2.js +3 -3
  81. package/dist/next/TimePicker/TimePicker2.js +3 -3
  82. package/dist/next/ToggleButton/ToggleButton.js +2 -2
  83. package/dist/next/ToggleButton/styles.js +3 -3
  84. package/dist/next/index.d.ts +168 -2
  85. package/dist/next/index.es.js +29 -23
  86. package/dist/next/index.js +1962 -1474
  87. package/dist/utils/Flyout/Flyout2.js +3 -3
  88. package/icons/package.json +1 -1
  89. package/next/package.json +2 -2
  90. package/package.json +2 -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 = "._kcPSC{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}._7Kb4P{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}._7Kb4P._eHT6y,._7Kb4P._RCpdR._7Kb4P:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._7Kb4P._gDhMt{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._7Kb4P._gDhMt._eHT6y,._7Kb4P._gDhMt._RCpdR._7Kb4P._gDhMt:hover{background-color:#e4effa}._7Kb4P:active:not(._gDhMt):not([aria-disabled=true]){background-color:#e8e9e9}._zIAPT ._xo9xh{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}._zIAPT ._dNdhx{display:none}._zIAPT:not(:first-child) ._dNdhx{display:block;margin:3.5px 0}._QA3VD{width:100%;height:40px}";
4
- var styles = {"flyout":"_kcPSC","flyoutOption":"_7Kb4P","highlighted":"_eHT6y","hoverHighlight":"_RCpdR","selected":"_gDhMt","flyoutHeader":"_zIAPT","headerContent":"_xo9xh","headerDivider":"_dNdhx","flyoutSpinner":"_QA3VD"};
5
- var stylesheet="._kcPSC{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}._7Kb4P{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}._7Kb4P._eHT6y,._7Kb4P._RCpdR._7Kb4P:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._7Kb4P._gDhMt{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._7Kb4P._gDhMt._eHT6y,._7Kb4P._gDhMt._RCpdR._7Kb4P._gDhMt:hover{background-color:#e4effa}._7Kb4P:active:not(._gDhMt):not([aria-disabled=true]){background-color:#e8e9e9}._zIAPT ._xo9xh{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}._zIAPT ._dNdhx{display:none}._zIAPT:not(:first-child) ._dNdhx{display:block;margin:3.5px 0}._QA3VD{width:100%;height:40px}";
3
+ var css_248z = "._ZdeCm{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}._ipTyz{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}._ipTyz._pQYzh._ipTyz:hover,._ipTyz._WDrbe{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._ipTyz._mOLLr{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._ipTyz._mOLLr._pQYzh._ipTyz._mOLLr:hover,._ipTyz._mOLLr._WDrbe{background-color:#e4effa}._ipTyz:active:not(._mOLLr):not([aria-disabled=true]){background-color:#e8e9e9}._MbvGC ._OpQns{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}._MbvGC ._xhDe8{display:none}._MbvGC:not(:first-child) ._xhDe8{display:block;margin:3.5px 0}._IQ8Kw{width:100%;height:40px}";
4
+ var styles = {"flyout":"_ZdeCm","flyoutOption":"_ipTyz","highlighted":"_WDrbe","hoverHighlight":"_pQYzh","selected":"_mOLLr","flyoutHeader":"_MbvGC","headerContent":"_OpQns","headerDivider":"_xhDe8","flyoutSpinner":"_IQ8Kw"};
5
+ var stylesheet="._ZdeCm{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}._ipTyz{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}._ipTyz._pQYzh._ipTyz:hover,._ipTyz._WDrbe{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._ipTyz._mOLLr{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._ipTyz._mOLLr._pQYzh._ipTyz._mOLLr:hover,._ipTyz._mOLLr._WDrbe{background-color:#e4effa}._ipTyz:active:not(._mOLLr):not([aria-disabled=true]){background-color:#e8e9e9}._MbvGC ._OpQns{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}._MbvGC ._xhDe8{display:none}._MbvGC:not(:first-child) ._xhDe8{display:block;margin:3.5px 0}._IQ8Kw{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 };
@@ -7,7 +7,7 @@
7
7
  "@juggle/resize-observer": "^3.4.0",
8
8
  "@popperjs/core": "^2.10.2",
9
9
  "@qualtrics/component-styles": "0.143.0",
10
- "@radix-ui/react-dropdown-menu": "2.0.5",
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",
13
13
  "@vanilla-extract/css": "^1.9.1",
package/next/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "@juggle/resize-observer": "^3.4.0",
8
8
  "@popperjs/core": "^2.10.2",
9
9
  "@qualtrics/component-styles": "0.143.0",
10
- "@radix-ui/react-dropdown-menu": "2.0.5",
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",
13
13
  "@vanilla-extract/css": "^1.9.1",
@@ -24,6 +24,6 @@
24
24
  "uuid": "^8.3.2"
25
25
  },
26
26
  "peerDependencies": {
27
- "@qualtrics/ui-react": "2.28.0"
27
+ "@qualtrics/ui-react": "2.29.0"
28
28
  }
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qualtrics/ui-react",
3
- "version": "2.28.0",
3
+ "version": "2.29.0",
4
4
  "description": "Official Qualtrics UI component library designed for React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -96,7 +96,7 @@
96
96
  "@juggle/resize-observer": "^3.4.0",
97
97
  "@popperjs/core": "^2.10.2",
98
98
  "@qualtrics/component-styles": "0.143.0",
99
- "@radix-ui/react-dropdown-menu": "2.0.5",
99
+ "@radix-ui/react-dropdown-menu": "2.0.6",
100
100
  "@react-aria/interactions": "^3.15.1",
101
101
  "@react-hook/resize-observer": "^1.2.6",
102
102
  "@vanilla-extract/css": "^1.9.1",