@qualtrics/ui-react 2.79.1 → 2.81.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 (361) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/__node_modules/@radix-ui/primitive/dist/index.js +5 -6
  3. package/dist/__node_modules/@radix-ui/react-arrow/dist/index.js +8 -7
  4. package/dist/__node_modules/@radix-ui/react-collection/dist/index.js +71 -63
  5. package/dist/__node_modules/@radix-ui/react-context/dist/index.js +10 -14
  6. package/dist/__node_modules/@radix-ui/react-direction/dist/index.js +2 -4
  7. package/dist/__node_modules/@radix-ui/react-dismissable-layer/dist/index.js +22 -15
  8. package/dist/__node_modules/@radix-ui/react-dropdown-menu/dist/index.js +89 -89
  9. package/dist/__node_modules/@radix-ui/react-focus-scope/dist/index.js +26 -19
  10. package/dist/__node_modules/@radix-ui/react-id/dist/index.js +5 -2
  11. package/dist/__node_modules/@radix-ui/react-menu/dist/index.js +165 -129
  12. package/dist/__node_modules/@radix-ui/react-popper/dist/index.js +139 -106
  13. package/dist/__node_modules/@radix-ui/react-portal/dist/index.js +9 -5
  14. package/dist/__node_modules/@radix-ui/react-presence/dist/index.js +27 -20
  15. package/dist/__node_modules/@radix-ui/react-primitive/dist/index.js +4 -5
  16. package/dist/__node_modules/@radix-ui/react-roving-focus/dist/index.js +61 -38
  17. package/dist/__node_modules/@radix-ui/react-slot/dist/index.js +8 -12
  18. package/dist/__node_modules/@radix-ui/react-use-controllable-state/dist/index.js +40 -35
  19. package/dist/__node_modules/@radix-ui/react-use-size/dist/index.js +5 -2
  20. package/dist/__shared/cjs/{index-91d2f6f8.js → index-2272eaad.js} +15 -9
  21. package/dist/__shared/cjs/{index-d4ec6b6f.js → index-7fd3ddfe.js} +2829 -2634
  22. package/dist/components/Accordion/Accordion.js +27 -21
  23. package/dist/components/Accordion/Accordion2.js +3 -3
  24. package/dist/components/Accordion/AccordionContext.js +6 -8
  25. package/dist/components/Accordion/AccordionHeader.js +13 -17
  26. package/dist/components/Accordion/AccordionPanel.js +7 -11
  27. package/dist/components/Accordion/AccordionSection.js +14 -11
  28. package/dist/components/Banner/Banner.js +10 -11
  29. package/dist/components/Banner/BannerBody.js +1 -3
  30. package/dist/components/Banner/BannerFooter.js +1 -3
  31. package/dist/components/Banner/BannerTitle.js +1 -3
  32. package/dist/components/BreakpointSwitch/Breakpoint.js +2 -5
  33. package/dist/components/BreakpointSwitch/BreakpointContext.js +3 -4
  34. package/dist/components/BreakpointSwitch/BreakpointSwitch.js +1 -3
  35. package/dist/components/Button/Button.js +3 -3
  36. package/dist/components/Button/Button2.js +19 -13
  37. package/dist/components/ButtonGroup/ButtonGroup.js +7 -7
  38. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  39. package/dist/components/Checkbox/Check.js +8 -6
  40. package/dist/components/Checkbox/Checkbox.js +31 -28
  41. package/dist/components/Checkbox/Checkbox2.js +3 -3
  42. package/dist/components/Checkbox/CheckboxField.js +14 -13
  43. package/dist/components/ColorPicker/Alpha.js +8 -12
  44. package/dist/components/ColorPicker/ColorPicker.js +67 -48
  45. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  46. package/dist/components/ColorPicker/ColorPickerFlyout.js +23 -24
  47. package/dist/components/ColorPicker/ColorPickerFlyoutInputs.js +27 -22
  48. package/dist/components/ColorPicker/ColorPickerWIthNoColor.js +11 -7
  49. package/dist/components/ColorPicker/Hue.js +9 -13
  50. package/dist/components/ColorPicker/Palette.js +23 -21
  51. package/dist/components/ColorPicker/Saturation.js +11 -15
  52. package/dist/components/ColorPicker/utils/hexToHsv.js +4 -5
  53. package/dist/components/ColorPicker/utils/hsvToHex.js +3 -5
  54. package/dist/components/ColorPicker/utils/rgbToHex.js +3 -5
  55. package/dist/components/Combobox/Combobox.js +166 -133
  56. package/dist/components/Combobox/Combobox2.js +3 -3
  57. package/dist/components/Combobox/ComboboxContext.js +3 -4
  58. package/dist/components/Combobox/ComboboxHeader.js +6 -6
  59. package/dist/components/Combobox/ComboboxIcon.js +14 -14
  60. package/dist/components/Combobox/ComboboxInput.js +41 -43
  61. package/dist/components/Combobox/ComboboxList.js +20 -20
  62. package/dist/components/Combobox/ComboboxOption.js +9 -10
  63. package/dist/components/ConfigPane/ConfigPane.js +52 -36
  64. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  65. package/dist/components/Divider/Divider.js +4 -4
  66. package/dist/components/Divider/Divider2.js +3 -3
  67. package/dist/components/Dropdown/ChildIndexContext/index.js +7 -9
  68. package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +18 -21
  69. package/dist/components/Dropdown/Dropdown.js +68 -43
  70. package/dist/components/Dropdown/Dropdown2.js +3 -3
  71. package/dist/components/Dropdown/DropdownButton.js +53 -47
  72. package/dist/components/Dropdown/DropdownContext.js +3 -4
  73. package/dist/components/Dropdown/DropdownHeader.js +12 -9
  74. package/dist/components/Dropdown/DropdownHeaderContext.js +3 -4
  75. package/dist/components/Dropdown/DropdownList.js +32 -32
  76. package/dist/components/Dropdown/DropdownOption.js +32 -30
  77. package/dist/components/Dropdown/DropdownSearch.js +12 -14
  78. package/dist/components/FilePicker/FilePicker.js +30 -25
  79. package/dist/components/FilePicker/FilePicker2.js +3 -3
  80. package/dist/components/FormField/Caption.js +3 -3
  81. package/dist/components/FormField/ErrorText.js +5 -5
  82. package/dist/components/FormField/FormField.js +27 -14
  83. package/dist/components/FormField/FormField2.js +3 -3
  84. package/dist/components/FormField/FormFieldContext.js +6 -13
  85. package/dist/components/FormField/HelperText.js +5 -5
  86. package/dist/components/FormField/ReadOnlyText.js +4 -6
  87. package/dist/components/FullScreenTakeover/FullScreenTakeover.js +22 -15
  88. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  89. package/dist/components/Icon/Icon.js +6 -5
  90. package/dist/components/Icon/IconTypes.js +1 -0
  91. package/dist/components/IconButton/IconButton.js +25 -16
  92. package/dist/components/IconButton/IconButton2.js +3 -3
  93. package/dist/components/InlineInput/InlineInput.js +25 -14
  94. package/dist/components/InlineInput/InlineInput2.js +3 -3
  95. package/dist/components/Input/Input.js +42 -29
  96. package/dist/components/Input/Input2.js +3 -3
  97. package/dist/components/Input/InputField.js +26 -21
  98. package/dist/components/InputGroup/InputGroup.js +7 -7
  99. package/dist/components/InputGroup/InputGroup2.js +3 -3
  100. package/dist/components/InputGroup/InputGroupAddon.js +7 -6
  101. package/dist/components/InputGroup/InputGroupProvider.js +5 -8
  102. package/dist/components/Label/Label.js +8 -9
  103. package/dist/components/Label/Label2.js +3 -3
  104. package/dist/components/Link/Link.js +9 -7
  105. package/dist/components/Link/Link2.js +3 -3
  106. package/dist/components/LoadingSpinner/LoadingSpinner.js +22 -17
  107. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  108. package/dist/components/LogicEditor/ConditionContainer.js +8 -10
  109. package/dist/components/LogicEditor/ConditionSet.js +16 -21
  110. package/dist/components/LogicEditor/Controls.js +17 -20
  111. package/dist/components/LogicEditor/LogicEditor.js +33 -24
  112. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  113. package/dist/components/LogicEditor/LogicEditorContext.js +3 -4
  114. package/dist/components/LogicEditor/utils.js +5 -9
  115. package/dist/components/Modal/Modal.js +63 -49
  116. package/dist/components/Modal/Modal2.js +3 -3
  117. package/dist/components/Modal/ModalBody.js +5 -5
  118. package/dist/components/Modal/ModalContext.js +3 -4
  119. package/dist/components/Modal/ModalFooter.js +5 -5
  120. package/dist/components/Modal/ModalHeader.js +10 -12
  121. package/dist/components/NewMenu/BaseMenu.js +83 -54
  122. package/dist/components/NewMenu/Menu/Menu.js +10 -12
  123. package/dist/components/NewMenu/NewMenu.js +3 -3
  124. package/dist/components/NewMenu/SelectMenu/SelectMenu.js +6 -7
  125. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +35 -30
  126. package/dist/components/NewMenu/parts/MenuAnchor.js +15 -16
  127. package/dist/components/NewMenu/parts/MenuContext.js +3 -4
  128. package/dist/components/NewMenu/parts/MenuItem.js +23 -17
  129. package/dist/components/NewMenu/parts/MenuSearchBox.js +4 -6
  130. package/dist/components/NewMenu/parts/SubmenuAnchor.js +5 -5
  131. package/dist/components/NumberStepper/NumberStepper.js +42 -37
  132. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  133. package/dist/components/NumberStepper/NumberStepperContext.js +3 -4
  134. package/dist/components/NumberStepper/NumberStepperDecrement.js +13 -15
  135. package/dist/components/NumberStepper/NumberStepperIncrement.js +13 -15
  136. package/dist/components/NumberStepper/NumberStepperInput.js +28 -30
  137. package/dist/components/PageLayout/MainContent.js +4 -4
  138. package/dist/components/PageLayout/PageContainer.js +4 -4
  139. package/dist/components/PageLayout/PageHeader.js +4 -4
  140. package/dist/components/PageLayout/PageLayout.js +3 -3
  141. package/dist/components/Pagination/Pagination.js +20 -16
  142. package/dist/components/Pagination/Pagination2.js +3 -3
  143. package/dist/components/Pagination/PaginationContext.js +3 -4
  144. package/dist/components/Pagination/PaginationNextButton.js +15 -17
  145. package/dist/components/Pagination/PaginationPageInput.js +24 -24
  146. package/dist/components/Pagination/PaginationPreviousButton.js +14 -16
  147. package/dist/components/Popover/Popover.js +27 -18
  148. package/dist/components/Popover/Popover2.js +3 -3
  149. package/dist/components/QuickSearch/QuickSearch.js +23 -16
  150. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  151. package/dist/components/QuickSearch/QuickSearchInput.js +33 -23
  152. package/dist/components/Radio/Radio.js +26 -28
  153. package/dist/components/Radio/Radio2.js +3 -3
  154. package/dist/components/Radio/RadioGroup.js +15 -16
  155. package/dist/components/Radio/RadioGroupContext.js +3 -4
  156. package/dist/components/Radio/RadioOption.js +11 -10
  157. package/dist/components/SearchInput/SearchInput.js +32 -25
  158. package/dist/components/SearchInput/SearchInput2.js +3 -3
  159. package/dist/components/SidebarNav/ExpandCollapseButton.js +4 -6
  160. package/dist/components/SidebarNav/SidebarNav.js +19 -13
  161. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  162. package/dist/components/SidebarNav/SidebarNavContext.js +3 -4
  163. package/dist/components/SidebarNav/SidebarNavLink.js +7 -10
  164. package/dist/components/Slider/RangeSlider.js +36 -24
  165. package/dist/components/Slider/Slider.js +29 -20
  166. package/dist/components/Slider/Slider2.js +3 -3
  167. package/dist/components/Slider/SliderButton.js +26 -17
  168. package/dist/components/Switch/Switch.js +19 -19
  169. package/dist/components/Switch/Switch2.js +3 -3
  170. package/dist/components/Switch/SwitchField.js +13 -13
  171. package/dist/components/Table/Table.js +5 -5
  172. package/dist/components/Table/Table2.js +3 -3
  173. package/dist/components/Table/TableBody.js +5 -5
  174. package/dist/components/Table/TableCell.js +5 -5
  175. package/dist/components/Table/TableHead.js +5 -5
  176. package/dist/components/Table/TableHeaderCell.js +5 -5
  177. package/dist/components/Table/TableRow.js +5 -5
  178. package/dist/components/Tabs/Tab.js +12 -13
  179. package/dist/components/Tabs/TabContextProvider.js +10 -13
  180. package/dist/components/Tabs/TabList.js +17 -13
  181. package/dist/components/Tabs/TabPanel.js +10 -11
  182. package/dist/components/Tabs/TabPanels.js +1 -3
  183. package/dist/components/Tabs/Tabs.js +20 -12
  184. package/dist/components/Tabs/Tabs2.js +3 -3
  185. package/dist/components/Tooltip/Tooltip.js +51 -29
  186. package/dist/components/Tooltip/Tooltip2.js +3 -3
  187. package/dist/components/UIProvider/A11yHelpersContext.js +3 -9
  188. package/dist/components/UIProvider/PortalTargetContext.js +6 -8
  189. package/dist/components/UIProvider/UIProvider.js +4 -5
  190. package/dist/components/deprecated_ColorPicker/Alpha.js +7 -7
  191. package/dist/components/deprecated_ColorPicker/ColorPicker.js +24 -13
  192. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  193. package/dist/components/deprecated_ColorPicker/HexInput.js +16 -9
  194. package/dist/components/deprecated_ColorPicker/Hue.js +6 -6
  195. package/dist/components/deprecated_ColorPicker/Saturation.js +14 -16
  196. package/dist/components/deprecated_ColorPicker/Swatch.js +7 -6
  197. package/dist/components/deprecated_ColorPicker/useMouseDrag.js +5 -1
  198. package/dist/components/deprecated_NumberStepper/NumberStepper.js +34 -25
  199. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  200. package/dist/components/deprecated_NumberStepper/NumberStepperContext.js +3 -4
  201. package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +14 -16
  202. package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +14 -16
  203. package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +32 -34
  204. package/dist/components/deprecated_Tabs/Tab.js +8 -9
  205. package/dist/components/deprecated_Tabs/TabContextProvider.js +3 -4
  206. package/dist/components/deprecated_Tabs/Tabs.js +13 -9
  207. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  208. package/dist/components/deprecated_Toolbar/IconButtonWithLabel.js +6 -6
  209. package/dist/components/deprecated_Toolbar/Toolbar.js +16 -11
  210. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  211. package/dist/components/deprecated_Toolbar/ToolbarContext.js +3 -4
  212. package/dist/components/deprecated_Toolbar/ToolbarPanel.js +16 -16
  213. package/dist/components/deprecated_Toolbar/ToolbarPanels.js +44 -29
  214. package/dist/components/deprecated_Toolbar/ToolbarTab.js +19 -20
  215. package/dist/components/deprecated_Toolbar/ToolbarTabs.js +34 -24
  216. package/dist/design-tokens/less/typography.js +3 -3
  217. package/dist/hooks/useBreakpoints/useBreakpoints.js +12 -4
  218. package/dist/hooks/useClickOutside/useClickOutside.js +1 -3
  219. package/dist/hooks/useClickOutsidePortals/useClickOutsidePortals.js +3 -3
  220. package/dist/hooks/useControllableState/useControllableState.js +5 -2
  221. package/dist/hooks/useEventListener/useEventListener.js +6 -5
  222. package/dist/hooks/useFocusSequence/useFocusSequence.js +12 -12
  223. package/dist/hooks/useId/useId.js +4 -1
  224. package/dist/hooks/useIsFocused/useIsFocused.js +5 -1
  225. package/dist/hooks/useIsHovered/useIsHovered.js +5 -1
  226. package/dist/hooks/useIsTruncated/useIsTruncated.js +11 -16
  227. package/dist/hooks/useMouseDrag/useMouseDrag.js +5 -1
  228. package/dist/hooks/useOverlay/useOverlay.js +10 -10
  229. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  230. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +9 -2
  231. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  232. package/dist/icons/Icon.js +3 -3
  233. package/dist/icons/components/FrontlineEmployeeVoiceIcon.js +6 -0
  234. package/dist/icons/createIconComponent.js +7 -6
  235. package/dist/icons/index.d.ts +2 -0
  236. package/dist/icons/index.es.js +1 -0
  237. package/dist/icons/index.js +3 -1
  238. package/dist/index.d.ts +1 -0
  239. package/dist/index.es.js +1 -1
  240. package/dist/index.js +7 -3
  241. package/dist/next/AdvancedTable/AdvancedTable.js +192 -173
  242. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  243. package/dist/next/AdvancedTable/AdvancedTableCell.js +30 -25
  244. package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +12 -15
  245. package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +83 -65
  246. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +25 -30
  247. package/dist/next/AdvancedTable/AdvancedTableColumnHeaders.js +10 -9
  248. package/dist/next/AdvancedTable/AdvancedTableDnDContext.js +12 -10
  249. package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +4 -7
  250. package/dist/next/AdvancedTable/AdvancedTableHiddenDescription.js +4 -7
  251. package/dist/next/AdvancedTable/AdvancedTablePagination.js +9 -13
  252. package/dist/next/AdvancedTable/AdvancedTableRow.js +16 -16
  253. package/dist/next/AdvancedTable/AdvancedTableRowExpandButton.js +7 -11
  254. package/dist/next/AdvancedTable/useAdvancedTableDragAndDrop.js +32 -36
  255. package/dist/next/AdvancedTable/useDragAndDropConfig.js +44 -53
  256. package/dist/next/Chat/Chat.js +5 -6
  257. package/dist/next/Chat/ChatContext.js +3 -4
  258. package/dist/next/Chat/ChatInput.js +24 -20
  259. package/dist/next/Chat/ChatMessage.js +16 -20
  260. package/dist/next/Chat/ChatMessageList.js +11 -10
  261. package/dist/next/Chat/ChatMessageText.js +1 -3
  262. package/dist/next/Chat/Loader.js +6 -9
  263. package/dist/next/Chat/MessageContext.js +3 -4
  264. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +28 -18
  265. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  266. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInputIconButton.js +8 -8
  267. package/dist/next/CollectionGrid/CollectionGrid.js +14 -12
  268. package/dist/next/CollectionGrid/CollectionGridItem.js +4 -5
  269. package/dist/next/Combobox/Combobox.js +48 -37
  270. package/dist/next/Combobox/Combobox2.js +3 -3
  271. package/dist/next/Combobox/ComboboxContext.js +3 -4
  272. package/dist/next/Combobox/ComboboxFlyout.js +12 -15
  273. package/dist/next/Combobox/ComboboxGroup.js +10 -14
  274. package/dist/next/Combobox/ComboboxGroupContext.js +9 -10
  275. package/dist/next/Combobox/ComboboxInput.js +37 -39
  276. package/dist/next/Combobox/ComboboxOption.js +15 -19
  277. package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +9 -4
  278. package/dist/next/Combobox/hooks/useComboboxLoadingState/useComboboxLoadingState.js +2 -3
  279. package/dist/next/Combobox/hooks/useComboboxValue/useComboboxValue.js +10 -5
  280. package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/useListboxFlyoutDimensions.js +12 -5
  281. package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/useShouldRenderGroupHeader.js +5 -1
  282. package/dist/next/Drawer/Drawer.js +52 -27
  283. package/dist/next/Drawer/Drawer2.js +3 -3
  284. package/dist/next/FilterAnchor/FilterAnchor.js +21 -19
  285. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  286. package/dist/next/Form/FormFields/FormFieldWrapper.js +11 -11
  287. package/dist/next/Form/FormFields/InputField.js +3 -3
  288. package/dist/next/Form/useForm.js +25 -30
  289. package/dist/next/Form/useFormField.js +3 -4
  290. package/dist/next/Form/utils/createFormInstance.js +7 -9
  291. package/dist/next/Form/utils/useFormContext.js +3 -4
  292. package/dist/next/Indicator/Indicator.js +12 -8
  293. package/dist/next/Indicator/Indicator2.js +3 -3
  294. package/dist/next/Input/Input.js +49 -35
  295. package/dist/next/Input/Input2.js +3 -3
  296. package/dist/next/LayoutGrid/LayoutGrid.js +11 -12
  297. package/dist/next/LayoutGrid/LayoutGridItem.js +5 -6
  298. package/dist/next/LoadingSpinner/LoadingSpinner.js +22 -17
  299. package/dist/next/LoadingSpinner/LoadingSpinner2.js +3 -3
  300. package/dist/next/Menu/Hooks/useFocusVirtualBoundary.js +7 -4
  301. package/dist/next/Menu/Hooks/useMaskDimensions.js +6 -7
  302. package/dist/next/Menu/Hooks/usePaneSearch.js +50 -39
  303. package/dist/next/Menu/Menu.js +28 -15
  304. package/dist/next/Menu/Menu2.js +3 -3
  305. package/dist/next/Menu/MenuButton.js +17 -18
  306. package/dist/next/Menu/MenuContext.js +13 -18
  307. package/dist/next/Menu/MenuItem.js +28 -29
  308. package/dist/next/Menu/MenuPane.js +74 -61
  309. package/dist/next/Menu/MenuSearch.js +10 -10
  310. package/dist/next/Menu/PaneChildren.js +10 -15
  311. package/dist/next/Menu/SubMenu.js +91 -76
  312. package/dist/next/Pagination/Pagination.js +40 -31
  313. package/dist/next/Pagination/RowDisplayCount.js +6 -7
  314. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +49 -47
  315. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  316. package/dist/next/Select/Select.js +27 -30
  317. package/dist/next/Select/Select2.js +3 -3
  318. package/dist/next/Select/SelectButton.js +16 -15
  319. package/dist/next/Select/SelectContext.js +3 -4
  320. package/dist/next/Select/SelectItem.js +12 -13
  321. package/dist/next/Select/SelectPane.js +13 -14
  322. package/dist/next/Select/SelectedItems.js +16 -10
  323. package/dist/next/Select/SubSelect.js +21 -18
  324. package/dist/next/SplitButton/SplitButton.js +30 -22
  325. package/dist/next/SplitButton/SplitButton2.js +3 -3
  326. package/dist/next/SplitButton/SplitButtonOption.js +6 -6
  327. package/dist/next/Stack/Stack.js +26 -26
  328. package/dist/next/Stack/StackItem.js +12 -14
  329. package/dist/next/TimePicker/TimeDropdown.js +18 -18
  330. package/dist/next/TimePicker/TimeInput.js +38 -42
  331. package/dist/next/TimePicker/TimePicker.js +46 -25
  332. package/dist/next/TimePicker/TimePicker2.js +3 -3
  333. package/dist/next/TimePicker/TimePickerIcon.js +5 -7
  334. package/dist/next/TimePicker/utils.js +34 -13
  335. package/dist/next/ToggleButton/ToggleButton.js +14 -13
  336. package/dist/next/ToggleButton/ToggleButtonGroup.js +8 -10
  337. package/dist/next/ToggleButton/ToggleButtonGroupContext.js +3 -4
  338. package/dist/next/ToggleButton/styles.js +3 -3
  339. package/dist/next/Tooltip/Tooltip.js +5 -4
  340. package/dist/next/Typography/Typography.js +8 -7
  341. package/dist/next/index.d.ts +12 -2
  342. package/dist/next/index.js +2395 -2199
  343. package/dist/utils/Flyout/Flyout.js +14 -13
  344. package/dist/utils/Flyout/Flyout2.js +3 -3
  345. package/dist/utils/Flyout/FlyoutHeader.js +6 -6
  346. package/dist/utils/Flyout/FlyoutOption.js +11 -8
  347. package/dist/utils/GridChildrenWrapper/GridChildrenWrapper.js +4 -6
  348. package/dist/utils/Popper/Popper.js +71 -61
  349. package/dist/utils/Popper/PopperContext.js +5 -6
  350. package/dist/utils/Portal/Portal.js +7 -5
  351. package/dist/utils/Text/Text.js +10 -8
  352. package/dist/utils/TextOverflowTooltip/TextOverflowTooltip.js +10 -6
  353. package/dist/utils/Translation/Translate.js +4 -7
  354. package/dist/utils/Translation/TranslationProvider.js +10 -14
  355. package/dist/utils/Translation/containsComponentOrElement.js +3 -1
  356. package/dist/utils/Translation/useTranslation.js +2 -3
  357. package/dist/utils/VirtuosoTestWrapper/VirtuosoTestWrapper.js +1 -3
  358. package/dist/utils/filterChildren/filterChildren.js +4 -4
  359. package/icons/package.json +1 -1
  360. package/next/package.json +2 -2
  361. package/package.json +4 -4
@@ -1,14 +1,14 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
3
  import React__default from 'react';
3
4
  import classNames from 'classnames';
4
5
  import styles from './Caption.js';
5
6
 
7
+ const _excluded = ["children", "className"];
6
8
  const HelperText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
7
- let {
8
- children,
9
- className,
10
- ...rest
11
- } = _ref;
9
+ let children = _ref.children,
10
+ className = _ref.className,
11
+ rest = _objectWithoutProperties(_ref, _excluded);
12
12
  const classes = classNames(className, styles.caption, styles.helperText);
13
13
  return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
14
14
  ref: ref,
@@ -1,3 +1,4 @@
1
+ import _objectDestructuringEmpty from '@babel/runtime-corejs3/helpers/objectDestructuringEmpty';
1
2
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
3
  import React__default from 'react';
3
4
  import classNames from 'classnames';
@@ -8,13 +9,10 @@ import useTranslation from '../../utils/Translation/useTranslation.js';
8
9
  import LockIcon from '../../icons/components/LockIcon.js';
9
10
 
10
11
  const ReadOnlyText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11
- let {
12
- ...rest
13
- } = _ref;
12
+ let rest = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
14
13
  const classes = classNames(styles.caption, styles.helperText);
15
- const {
16
- translate
17
- } = useTranslation();
14
+ const _useTranslation = useTranslation(),
15
+ translate = _useTranslation.translate;
18
16
  return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
19
17
  ref: ref,
20
18
  className: classes,
@@ -1,3 +1,4 @@
1
+ import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
1
2
  import React__default, { forwardRef, useRef, useState, useEffect } from 'react';
2
3
  import ReactFocusLock from 'react-focus-lock';
3
4
  import classNames from 'classnames';
@@ -9,22 +10,28 @@ import Portal from '../../utils/Portal/Portal.js';
9
10
  import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
10
11
 
11
12
  const FullScreenTakeover = /*#__PURE__*/forwardRef((_ref, ref) => {
12
- let {
13
- isOpen,
14
- onClose,
15
- children,
16
- elementRefToFocusOnOpen,
17
- elementRefToFocusOnClose,
18
- zIndex = 1000,
19
- dangerouslyDisableFocusLock = false,
20
- 'aria-labelledby': ariaLabelledBy,
21
- 'aria-label': ariaLabel,
22
- 'aria-describedby': ariaDescribedBy,
23
- 'data-testid': dataTestId
24
- } = _ref;
13
+ let isOpen = _ref.isOpen,
14
+ onClose = _ref.onClose,
15
+ children = _ref.children,
16
+ elementRefToFocusOnOpen = _ref.elementRefToFocusOnOpen,
17
+ elementRefToFocusOnClose = _ref.elementRefToFocusOnClose,
18
+ _ref$zIndex = _ref.zIndex,
19
+ zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
20
+ _ref$dangerouslyDisab = _ref.dangerouslyDisableFocusLock,
21
+ dangerouslyDisableFocusLock = _ref$dangerouslyDisab === void 0 ? false : _ref$dangerouslyDisab,
22
+ ariaLabelledBy = _ref['aria-labelledby'],
23
+ ariaLabel = _ref['aria-label'],
24
+ ariaDescribedBy = _ref['aria-describedby'],
25
+ dataTestId = _ref['data-testid'];
25
26
  const dialogRef = useRef(null);
26
- const [focusedElementWhenDialogOpened, setFocusedElementWhenDialogOpened] = useState();
27
- const [isInDOM, setIsInDOM] = useState(isOpen);
27
+ const _useState = useState(),
28
+ _useState2 = _slicedToArray(_useState, 2),
29
+ focusedElementWhenDialogOpened = _useState2[0],
30
+ setFocusedElementWhenDialogOpened = _useState2[1];
31
+ const _useState3 = useState(isOpen),
32
+ _useState4 = _slicedToArray(_useState3, 2),
33
+ isInDOM = _useState4[0],
34
+ setIsInDOM = _useState4[1];
28
35
  const classes = classNames(styles.dialog, {
29
36
  [styles.transitionIn]: isOpen,
30
37
  [styles.transitionOut]: !isOpen
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._cbU-g{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _BQzSe{0%{transform:scale3d(.7,.7,.7);opacity:0}}._0PqSf{animation:_BQzSe both;animation-duration:.2s}@keyframes _fuswF{to{transform:scale3d(.7,.7,.7);opacity:0}}._-iYSc{animation:_fuswF both;animation-duration:.2s}";
4
- var styles = {"dialog":"_cbU-g","transitionIn":"_0PqSf","showAnimation":"_BQzSe","transitionOut":"_-iYSc","hideAnimation":"_fuswF"};
5
- var stylesheet="._cbU-g{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _BQzSe{0%{transform:scale3d(.7,.7,.7);opacity:0}}._0PqSf{animation:_BQzSe both;animation-duration:.2s}@keyframes _fuswF{to{transform:scale3d(.7,.7,.7);opacity:0}}._-iYSc{animation:_fuswF both;animation-duration:.2s}";
3
+ var css_248z = "._nyV3A{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _woxRk{0%{transform:scale3d(.7,.7,.7);opacity:0}}._5kOEK{animation:_woxRk both;animation-duration:.2s}@keyframes _0s-Tz{to{transform:scale3d(.7,.7,.7);opacity:0}}._65nPN{animation:_0s-Tz both;animation-duration:.2s}";
4
+ var styles = {"dialog":"_nyV3A","transitionIn":"_5kOEK","showAnimation":"_woxRk","transitionOut":"_65nPN","hideAnimation":"_0s-Tz"};
5
+ var stylesheet="._nyV3A{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _woxRk{0%{transform:scale3d(.7,.7,.7);opacity:0}}._5kOEK{animation:_woxRk both;animation-duration:.2s}@keyframes _0s-Tz{to{transform:scale3d(.7,.7,.7);opacity:0}}._65nPN{animation:_0s-Tz both;animation-duration:.2s}";
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 };
@@ -1,7 +1,9 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
3
  import React__default from 'react';
3
4
  import { IconData } from '@qualtrics/component-styles';
4
5
 
6
+ const _excluded = ["type", "size"];
5
7
  const IconSizes = {
6
8
  small: 16,
7
9
  medium: 24,
@@ -25,11 +27,10 @@ function deprecationWarning(type) {
25
27
  }
26
28
  }
27
29
  const Icon = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
28
- let {
29
- type,
30
- size = 'medium',
31
- ...rest
32
- } = _ref;
30
+ let type = _ref.type,
31
+ _ref$size = _ref.size,
32
+ size = _ref$size === void 0 ? 'medium' : _ref$size,
33
+ rest = _objectWithoutProperties(_ref, _excluded);
33
34
  // eslint-disable-next-line no-console
34
35
  console.warn("<Icon> component is deprecated! Use individual icon components from the @qualtrics/ui-react/icons import path instead", type);
35
36
  deprecationWarning(type);
@@ -235,6 +235,7 @@ var IconTypes = {
235
235
  FormField: 'FormField',
236
236
  FreezeFirstColumn: 'FreezeFirstColumn',
237
237
  FreezeFirstRow: 'FreezeFirstRow',
238
+ FrontlineEmployeeVoice: 'FrontlineEmployeeVoice',
238
239
  Gallery: 'Gallery',
239
240
  GaugeChart: 'GaugeChart',
240
241
  GlobalCalendarIcon: 'GlobalCalendarIcon',
@@ -1,28 +1,37 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
3
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
4
  import React__default from 'react';
3
5
  import classNames from 'classnames';
4
6
  import iconButtonStyles from './IconButton2.js';
5
7
  import '../Tooltip/index.js';
6
8
  import Tooltip from '../Tooltip/Tooltip.js';
7
9
 
10
+ const _excluded = ["children", "disabled", "aria-disabled", "className", "type", "tooltipContent", "tooltipPlacement", "isTooltipADescription", "onClick", "onKeyDown", "onKeyUp", "tooltipProps"];
8
11
  const sizePropInIconErrorMessage = 'Warning: The `Icon` prop `size` is invalid when used as a child of `IconButton`.';
9
12
  const IconButton = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
10
- let {
11
- children,
12
- disabled = false,
13
- 'aria-disabled': ariaDisabled = disabled,
14
- className = '',
15
- type = 'button',
16
- tooltipContent,
17
- tooltipPlacement,
18
- isTooltipADescription = false,
19
- onClick,
20
- onKeyDown,
21
- onKeyUp,
22
- tooltipProps,
23
- ...rest
24
- } = _ref;
25
- const [isActive, setIsActive] = React__default.useState(false);
13
+ let children = _ref.children,
14
+ _ref$disabled = _ref.disabled,
15
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
16
+ _ref$ariaDisabled = _ref['aria-disabled'],
17
+ ariaDisabled = _ref$ariaDisabled === void 0 ? disabled : _ref$ariaDisabled,
18
+ _ref$className = _ref.className,
19
+ className = _ref$className === void 0 ? '' : _ref$className,
20
+ _ref$type = _ref.type,
21
+ type = _ref$type === void 0 ? 'button' : _ref$type,
22
+ tooltipContent = _ref.tooltipContent,
23
+ tooltipPlacement = _ref.tooltipPlacement,
24
+ _ref$isTooltipADescri = _ref.isTooltipADescription,
25
+ isTooltipADescription = _ref$isTooltipADescri === void 0 ? false : _ref$isTooltipADescri,
26
+ onClick = _ref.onClick,
27
+ onKeyDown = _ref.onKeyDown,
28
+ onKeyUp = _ref.onKeyUp,
29
+ tooltipProps = _ref.tooltipProps,
30
+ rest = _objectWithoutProperties(_ref, _excluded);
31
+ const _React$useState = React__default.useState(false),
32
+ _React$useState2 = _slicedToArray(_React$useState, 2),
33
+ isActive = _React$useState2[0],
34
+ setIsActive = _React$useState2[1];
26
35
  const classes = classNames(className, iconButtonStyles.button, {
27
36
  [iconButtonStyles.disabled]: disabled,
28
37
  [iconButtonStyles.active]: isActive
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._8RsnE{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._8RsnE:focus{outline:none}._8RsnE:hover:not(._6D8mZ){background-color:rgba(50,54,58,.08)}._8RsnE._E1JS8:not(._6D8mZ),._8RsnE:active:not(._6D8mZ){background-color:rgba(50,54,58,.11);stroke-width:2}._8RsnE._6D8mZ{cursor:not-allowed;fill:rgba(81,85,89,.6)}._8RsnE.focus-visible,._8RsnE:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var iconButtonStyles = {"button":"_8RsnE","disabled":"_6D8mZ","active":"_E1JS8"};
5
- var stylesheet="._8RsnE{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._8RsnE:focus{outline:none}._8RsnE:hover:not(._6D8mZ){background-color:rgba(50,54,58,.08)}._8RsnE._E1JS8:not(._6D8mZ),._8RsnE:active:not(._6D8mZ){background-color:rgba(50,54,58,.11);stroke-width:2}._8RsnE._6D8mZ{cursor:not-allowed;fill:rgba(81,85,89,.6)}._8RsnE.focus-visible,._8RsnE:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._Sa4-w{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._Sa4-w:focus{outline:none}._Sa4-w:hover:not(._tp6GE){background-color:rgba(50,54,58,.08)}._Sa4-w._WXetT:not(._tp6GE),._Sa4-w:active:not(._tp6GE){background-color:rgba(50,54,58,.11);stroke-width:2}._Sa4-w._tp6GE{cursor:not-allowed;fill:rgba(81,85,89,.6)}._Sa4-w.focus-visible,._Sa4-w:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var iconButtonStyles = {"button":"_Sa4-w","disabled":"_tp6GE","active":"_WXetT"};
5
+ var stylesheet="._Sa4-w{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._Sa4-w:focus{outline:none}._Sa4-w:hover:not(._tp6GE){background-color:rgba(50,54,58,.08)}._Sa4-w._WXetT:not(._tp6GE),._Sa4-w:active:not(._tp6GE){background-color:rgba(50,54,58,.11);stroke-width:2}._Sa4-w._tp6GE{cursor:not-allowed;fill:rgba(81,85,89,.6)}._Sa4-w.focus-visible,._Sa4-w:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6
6
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
7
7
 
8
8
  export { iconButtonStyles as default, stylesheet };
@@ -1,4 +1,6 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
3
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
4
  import React__default, { forwardRef, useRef, useState } from 'react';
3
5
  import classNames from 'classnames';
4
6
  import styles from './InlineInput2.js';
@@ -10,22 +12,31 @@ import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
10
12
  import useEventListener from '../../hooks/useEventListener/useEventListener.js';
11
13
  import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
12
14
 
15
+ const _excluded = ["className", "defaultValue", "onChange", "onBlur", "onFocus", "onKeyDown", "onMouseDown", "tabIndex"];
13
16
  const InlineInput = /*#__PURE__*/forwardRef((_ref, ref) => {
14
- let {
15
- className,
16
- defaultValue,
17
- onChange,
18
- onBlur,
19
- onFocus,
20
- onKeyDown,
21
- onMouseDown,
22
- tabIndex = 0,
23
- ...rest
24
- } = _ref;
17
+ let className = _ref.className,
18
+ defaultValue = _ref.defaultValue,
19
+ onChange = _ref.onChange,
20
+ onBlur = _ref.onBlur,
21
+ onFocus = _ref.onFocus,
22
+ onKeyDown = _ref.onKeyDown,
23
+ onMouseDown = _ref.onMouseDown,
24
+ _ref$tabIndex = _ref.tabIndex,
25
+ tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,
26
+ rest = _objectWithoutProperties(_ref, _excluded);
25
27
  const internalRef = useRef(null);
26
- const [lastVal, setLastVal] = useState(defaultValue);
27
- const [isEditing, setIsEditing] = useState(false);
28
- const [focusRef, isFocused] = useIsFocused();
28
+ const _useState = useState(defaultValue),
29
+ _useState2 = _slicedToArray(_useState, 2),
30
+ lastVal = _useState2[0],
31
+ setLastVal = _useState2[1];
32
+ const _useState3 = useState(false),
33
+ _useState4 = _slicedToArray(_useState3, 2),
34
+ isEditing = _useState4[0],
35
+ setIsEditing = _useState4[1];
36
+ const _useIsFocused = useIsFocused(),
37
+ _useIsFocused2 = _slicedToArray(_useIsFocused, 2),
38
+ focusRef = _useIsFocused2[0],
39
+ isFocused = _useIsFocused2[1];
29
40
  const handleChange = useEventCallback(e => {
30
41
  const newVal = e.target.innerText;
31
42
  if (newVal !== lastVal) {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._SML7D{display:inline-block}._XvW67{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._XvW67::-moz-selection{background-color:rgba(11,110,208,.11)}._XvW67::selection{background-color:rgba(11,110,208,.11)}._XvW67:focus,._XvW67:hover{background-color:#f5f5f5}._XvW67:focus{border:2px solid #0a3f88;padding:3px}._XvW67:focus._Efs-g{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
4
- var styles = {"container":"_SML7D","inlineInput":"_XvW67","isEditing":"_Efs-g"};
5
- var stylesheet="._SML7D{display:inline-block}._XvW67{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._XvW67::-moz-selection{background-color:rgba(11,110,208,.11)}._XvW67::selection{background-color:rgba(11,110,208,.11)}._XvW67:focus,._XvW67:hover{background-color:#f5f5f5}._XvW67:focus{border:2px solid #0a3f88;padding:3px}._XvW67:focus._Efs-g{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
3
+ var css_248z = "._MPQir{display:inline-block}._n055n{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._n055n::-moz-selection{background-color:rgba(11,110,208,.11)}._n055n::selection{background-color:rgba(11,110,208,.11)}._n055n:focus,._n055n:hover{background-color:#f5f5f5}._n055n:focus{border:2px solid #0a3f88;padding:3px}._n055n:focus._xeFTP{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
4
+ var styles = {"container":"_MPQir","inlineInput":"_n055n","isEditing":"_xeFTP"};
5
+ var stylesheet="._MPQir{display:inline-block}._n055n{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._n055n::-moz-selection{background-color:rgba(11,110,208,.11)}._n055n::selection{background-color:rgba(11,110,208,.11)}._n055n:focus,._n055n:hover{background-color:#f5f5f5}._n055n:focus{border:2px solid #0a3f88;padding:3px}._n055n:focus._xeFTP{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
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 };
@@ -1,4 +1,6 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
3
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
4
  import React__default, { useState, useMemo, useCallback } from 'react';
3
5
  import classNames from 'classnames';
4
6
  import styles from './Input2.js';
@@ -7,32 +9,44 @@ import { useFormFieldContext } from '../FormField/FormFieldContext.js';
7
9
  import '../../utils/index.js';
8
10
  import concatIds from '../../utils/concatIds/concatIds.js';
9
11
 
12
+ const _excluded = ["className", "value", "defaultValue", "disabled", "full", "invalid", "multiline", "onChange", "onBlur", "rows", "small", "type", "aria-describedby", "readOnly", "onCompositionStart", "onCompositionEnd", "allowDecimalNumbers", "min", "max"];
10
13
  const Input = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11
- let {
12
- className,
13
- value,
14
- defaultValue,
15
- disabled = false,
16
- full = false,
17
- invalid = false,
18
- multiline,
19
- onChange,
20
- onBlur,
21
- rows = 2,
22
- small = false,
23
- type = 'text',
24
- 'aria-describedby': externalAriaDescribedBy,
25
- readOnly,
26
- onCompositionStart,
27
- onCompositionEnd,
28
- allowDecimalNumbers = true,
29
- min,
30
- max,
31
- ...rest
32
- } = _ref;
14
+ let className = _ref.className,
15
+ value = _ref.value,
16
+ defaultValue = _ref.defaultValue,
17
+ _ref$disabled = _ref.disabled,
18
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
19
+ _ref$full = _ref.full,
20
+ full = _ref$full === void 0 ? false : _ref$full,
21
+ _ref$invalid = _ref.invalid,
22
+ invalid = _ref$invalid === void 0 ? false : _ref$invalid,
23
+ multiline = _ref.multiline,
24
+ onChange = _ref.onChange,
25
+ onBlur = _ref.onBlur,
26
+ _ref$rows = _ref.rows,
27
+ rows = _ref$rows === void 0 ? 2 : _ref$rows,
28
+ _ref$small = _ref.small,
29
+ small = _ref$small === void 0 ? false : _ref$small,
30
+ _ref$type = _ref.type,
31
+ type = _ref$type === void 0 ? 'text' : _ref$type,
32
+ externalAriaDescribedBy = _ref['aria-describedby'],
33
+ readOnly = _ref.readOnly,
34
+ onCompositionStart = _ref.onCompositionStart,
35
+ onCompositionEnd = _ref.onCompositionEnd,
36
+ _ref$allowDecimalNumb = _ref.allowDecimalNumbers,
37
+ allowDecimalNumbers = _ref$allowDecimalNumb === void 0 ? true : _ref$allowDecimalNumb,
38
+ min = _ref.min,
39
+ max = _ref.max,
40
+ rest = _objectWithoutProperties(_ref, _excluded);
33
41
  const inputGroupContext = useInputGroupContext();
34
- const [compositionLock, setCompositionLock] = useState(false);
35
- const [inputValue, setInputValue] = useState(defaultValue !== null && defaultValue !== void 0 ? defaultValue : '');
42
+ const _useState = useState(false),
43
+ _useState2 = _slicedToArray(_useState, 2),
44
+ compositionLock = _useState2[0],
45
+ setCompositionLock = _useState2[1];
46
+ const _useState3 = useState(defaultValue !== null && defaultValue !== void 0 ? defaultValue : ''),
47
+ _useState4 = _slicedToArray(_useState3, 2),
48
+ inputValue = _useState4[0],
49
+ setInputValue = _useState4[1];
36
50
  const inputRegex = useMemo(() => /^(?!-?\d+$).+$/, []);
37
51
  const minValue = useMemo(() => min !== undefined && min !== null ? Number(min) : undefined, [min]);
38
52
  const maxValue = useMemo(() => max !== undefined && max !== null ? Number(max) : undefined, [max]);
@@ -79,11 +93,10 @@ const Input = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
79
93
  setInputValue('');
80
94
  }
81
95
  }, [onCompositionEnd, onChange, value]);
82
- const {
83
- helperTextId: formFieldHelperTextId,
84
- errorTextId: formFieldErrorTextId,
85
- isReadOnly: formFieldIsReadOnly
86
- } = useFormFieldContext();
96
+ const _useFormFieldContext = useFormFieldContext(),
97
+ formFieldHelperTextId = _useFormFieldContext.helperTextId,
98
+ formFieldErrorTextId = _useFormFieldContext.errorTextId,
99
+ formFieldIsReadOnly = _useFormFieldContext.isReadOnly;
87
100
  const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId);
88
101
  const classes = classNames(styles.input, inputGroupContext.className, inputGroupContext.inputClassName, {
89
102
  [styles.full]: inputGroupContext.applyFull(full),
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._nrQa1{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._nrQa1::-moz-placeholder{color:#515559;opacity:1}._nrQa1::placeholder{color:#515559;opacity:1}._nrQa1:hover{cursor:pointer;background-color:#f5f5f5}._nrQa1:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._nrQa1._n-uHn{border-color:#b00}._nrQa1._n-uHn:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._nrQa1:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._nrQa1:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._nrQa1:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._nrQa1._rS-kb{height:auto}._nrQa1._rS-kb::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._nrQa1._8f2X2{display:block;width:100%}._nrQa1._TXcEs{padding:4px 8px}input._nrQa1._TXcEs{height:26px;min-height:26px}[type=number]._nrQa1{-moz-appearance:textfield}[type=number]._nrQa1::-webkit-inner-spin-button,[type=number]._nrQa1::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._7FfJR{line-height:20px;color:#515559;display:flex;flex-direction:column;align-items:flex-start}._7FfJR:hover{cursor:pointer}._7FfJR._5IK8d{color:#0b6ed0}._wIav2{margin-top:4px}";
4
- var styles = {"input":"_nrQa1","invalid":"_n-uHn","multiline":"_rS-kb","full":"_8f2X2","small":"_TXcEs","label":"_7FfJR","focused":"_5IK8d","wrappedInput":"_wIav2"};
5
- var stylesheet="._nrQa1{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._nrQa1::-moz-placeholder{color:#515559;opacity:1}._nrQa1::placeholder{color:#515559;opacity:1}._nrQa1:hover{cursor:pointer;background-color:#f5f5f5}._nrQa1:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._nrQa1._n-uHn{border-color:#b00}._nrQa1._n-uHn:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._nrQa1:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._nrQa1:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._nrQa1:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._nrQa1._rS-kb{height:auto}._nrQa1._rS-kb::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._nrQa1._8f2X2{display:block;width:100%}._nrQa1._TXcEs{padding:4px 8px}input._nrQa1._TXcEs{height:26px;min-height:26px}[type=number]._nrQa1{-moz-appearance:textfield}[type=number]._nrQa1::-webkit-inner-spin-button,[type=number]._nrQa1::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._7FfJR{line-height:20px;color:#515559;display:flex;flex-direction:column;align-items:flex-start}._7FfJR:hover{cursor:pointer}._7FfJR._5IK8d{color:#0b6ed0}._wIav2{margin-top:4px}";
3
+ var css_248z = "._0gLgC{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._0gLgC::-moz-placeholder{color:#515559;opacity:1}._0gLgC::placeholder{color:#515559;opacity:1}._0gLgC:hover{cursor:pointer;background-color:#f5f5f5}._0gLgC:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._0gLgC._N7v5u{border-color:#b00}._0gLgC._N7v5u:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._0gLgC:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._0gLgC:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0gLgC:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0gLgC._Z3geS{height:auto}._0gLgC._Z3geS::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._0gLgC._-qt0L{display:block;width:100%}._0gLgC._f5b-m{padding:4px 8px}input._0gLgC._f5b-m{height:26px;min-height:26px}[type=number]._0gLgC{-moz-appearance:textfield}[type=number]._0gLgC::-webkit-inner-spin-button,[type=number]._0gLgC::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._tNVgW{line-height:20px;color:#515559;display:flex;flex-direction:column;align-items:flex-start}._tNVgW:hover{cursor:pointer}._tNVgW._Faj6j{color:#0b6ed0}._8H4DL{margin-top:4px}";
4
+ var styles = {"input":"_0gLgC","invalid":"_N7v5u","multiline":"_Z3geS","full":"_-qt0L","small":"_f5b-m","label":"_tNVgW","focused":"_Faj6j","wrappedInput":"_8H4DL"};
5
+ var stylesheet="._0gLgC{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._0gLgC::-moz-placeholder{color:#515559;opacity:1}._0gLgC::placeholder{color:#515559;opacity:1}._0gLgC:hover{cursor:pointer;background-color:#f5f5f5}._0gLgC:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._0gLgC._N7v5u{border-color:#b00}._0gLgC._N7v5u:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._0gLgC:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._0gLgC:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0gLgC:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0gLgC._Z3geS{height:auto}._0gLgC._Z3geS::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._0gLgC._-qt0L{display:block;width:100%}._0gLgC._f5b-m{padding:4px 8px}input._0gLgC._f5b-m{height:26px;min-height:26px}[type=number]._0gLgC{-moz-appearance:textfield}[type=number]._0gLgC::-webkit-inner-spin-button,[type=number]._0gLgC::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._tNVgW{line-height:20px;color:#515559;display:flex;flex-direction:column;align-items:flex-start}._tNVgW:hover{cursor:pointer}._tNVgW._Faj6j{color:#0b6ed0}._8H4DL{margin-top:4px}";
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 };
@@ -1,4 +1,6 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
3
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
4
  import React__default, { useState } from 'react';
3
5
  import classNames from 'classnames';
4
6
  import styles from './Input2.js';
@@ -7,28 +9,31 @@ import '../Label/index.js';
7
9
  import { useFormFieldType } from '../FormField/FormFieldContext.js';
8
10
  import Label from '../Label/Label.js';
9
11
 
12
+ const _excluded = ["label", "className", "style", "data-testid", "id", "onFocus", "onBlur", "labelProps", "inputProps"],
13
+ _excluded2 = ["className"],
14
+ _excluded3 = ["className"];
10
15
  const InputField = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11
- let {
12
- label,
13
- className,
14
- style = {},
15
- 'data-testid': dataTestId,
16
- id,
17
- onFocus,
18
- onBlur,
19
- labelProps = {},
20
- inputProps = {},
21
- ...rest
22
- } = _ref;
23
- const {
24
- className: labelClassName,
25
- ...labelPropsWithoutClass
26
- } = labelProps;
27
- const {
28
- className: inputClassName,
29
- ...inputPropsWithoutClass
30
- } = inputProps;
31
- const [focused, setFocused] = useState(false);
16
+ let label = _ref.label,
17
+ className = _ref.className,
18
+ _ref$style = _ref.style,
19
+ style = _ref$style === void 0 ? {} : _ref$style,
20
+ dataTestId = _ref['data-testid'],
21
+ id = _ref.id,
22
+ onFocus = _ref.onFocus,
23
+ onBlur = _ref.onBlur,
24
+ _ref$labelProps = _ref.labelProps,
25
+ labelProps = _ref$labelProps === void 0 ? {} : _ref$labelProps,
26
+ _ref$inputProps = _ref.inputProps,
27
+ inputProps = _ref$inputProps === void 0 ? {} : _ref$inputProps,
28
+ rest = _objectWithoutProperties(_ref, _excluded);
29
+ const labelClassName = labelProps.className,
30
+ labelPropsWithoutClass = _objectWithoutProperties(labelProps, _excluded2);
31
+ const inputClassName = inputProps.className,
32
+ inputPropsWithoutClass = _objectWithoutProperties(inputProps, _excluded3);
33
+ const _useState = useState(false),
34
+ _useState2 = _slicedToArray(_useState, 2),
35
+ focused = _useState2[0],
36
+ setFocused = _useState2[1];
32
37
  useFormFieldType('input');
33
38
  function handleFocus(e) {
34
39
  setFocused(true);
@@ -1,17 +1,17 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
3
  import React__default from 'react';
3
4
  import classNames from 'classnames';
4
5
  import styles from './InputGroup2.js';
5
6
  import { InputGroupProvider } from './InputGroupProvider.js';
6
7
 
8
+ const _excluded = ["children", "className", "full", "small"];
7
9
  const InputGroup = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
8
- let {
9
- children,
10
- className,
11
- full,
12
- small,
13
- ...rest
14
- } = _ref;
10
+ let children = _ref.children,
11
+ className = _ref.className,
12
+ full = _ref.full,
13
+ small = _ref.small,
14
+ rest = _objectWithoutProperties(_ref, _excluded);
15
15
  const context = {
16
16
  small,
17
17
  overrideFull: true,
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._IVLFo{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._IVLFo._IStcA{height:26px;min-height:26px;padding:5px 8px}._RaHKL{display:flex;align-items:stretch}._RaHKL._TQ51I{width:100%}._RaHKL ._R19Ng{margin:0;position:relative;flex-shrink:0;z-index:10}._RaHKL ._R19Ng:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._RaHKL ._R19Ng:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._RaHKL ._R19Ng:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._RaHKL ._R19Ng:last-child,._RaHKL ._R19Ng:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._RaHKL ._R19Ng:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._RaHKL ._R19Ng._0R8bK{flex-shrink:1;min-width:40px;z-index:0}._RaHKL ._R19Ng._0R8bK._TQ51I{flex-grow:1}._RaHKL ._R19Ng:focus{z-index:20}";
4
- var styles = {"addon":"_IVLFo","small":"_IStcA","inputGroup":"_RaHKL","full":"_TQ51I","inputGroupElement":"_R19Ng","input":"_0R8bK"};
5
- var stylesheet="._IVLFo{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._IVLFo._IStcA{height:26px;min-height:26px;padding:5px 8px}._RaHKL{display:flex;align-items:stretch}._RaHKL._TQ51I{width:100%}._RaHKL ._R19Ng{margin:0;position:relative;flex-shrink:0;z-index:10}._RaHKL ._R19Ng:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._RaHKL ._R19Ng:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._RaHKL ._R19Ng:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._RaHKL ._R19Ng:last-child,._RaHKL ._R19Ng:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._RaHKL ._R19Ng:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._RaHKL ._R19Ng._0R8bK{flex-shrink:1;min-width:40px;z-index:0}._RaHKL ._R19Ng._0R8bK._TQ51I{flex-grow:1}._RaHKL ._R19Ng:focus{z-index:20}";
3
+ var css_248z = "._bWBsp{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._bWBsp._O0VI9{height:26px;min-height:26px;padding:5px 8px}._hEZHJ{display:flex;align-items:stretch}._hEZHJ._kps-E{width:100%}._hEZHJ ._YGMny{margin:0;position:relative;flex-shrink:0;z-index:10}._hEZHJ ._YGMny:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._hEZHJ ._YGMny:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._hEZHJ ._YGMny:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._hEZHJ ._YGMny:last-child,._hEZHJ ._YGMny:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._hEZHJ ._YGMny:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._hEZHJ ._YGMny._zouJu{flex-shrink:1;min-width:40px;z-index:0}._hEZHJ ._YGMny._zouJu._kps-E{flex-grow:1}._hEZHJ ._YGMny:focus{z-index:20}";
4
+ var styles = {"addon":"_bWBsp","small":"_O0VI9","inputGroup":"_hEZHJ","full":"_kps-E","inputGroupElement":"_YGMny","input":"_zouJu"};
5
+ var stylesheet="._bWBsp{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._bWBsp._O0VI9{height:26px;min-height:26px;padding:5px 8px}._hEZHJ{display:flex;align-items:stretch}._hEZHJ._kps-E{width:100%}._hEZHJ ._YGMny{margin:0;position:relative;flex-shrink:0;z-index:10}._hEZHJ ._YGMny:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._hEZHJ ._YGMny:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._hEZHJ ._YGMny:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._hEZHJ ._YGMny:last-child,._hEZHJ ._YGMny:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._hEZHJ ._YGMny:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._hEZHJ ._YGMny._zouJu{flex-shrink:1;min-width:40px;z-index:0}._hEZHJ ._YGMny._zouJu._kps-E{flex-grow:1}._hEZHJ ._YGMny:focus{z-index:20}";
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 };
@@ -1,16 +1,17 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
3
  import React__default from 'react';
3
4
  import classNames from 'classnames';
4
5
  import styles from './InputGroup2.js';
5
6
  import { useInputGroupContext } from './InputGroupProvider.js';
6
7
 
8
+ const _excluded = ["children", "className", "small"];
7
9
  const InputGroupAddon = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
8
- let {
9
- children,
10
- className,
11
- small = false,
12
- ...rest
13
- } = _ref;
10
+ let children = _ref.children,
11
+ className = _ref.className,
12
+ _ref$small = _ref.small,
13
+ small = _ref$small === void 0 ? false : _ref$small,
14
+ rest = _objectWithoutProperties(_ref, _excluded);
14
15
  const inputGroupContext = useInputGroupContext();
15
16
  return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
16
17
  ref: ref,
@@ -15,15 +15,12 @@ function createContextValue(value) {
15
15
  }
16
16
  };
17
17
  }
18
- const {
19
- Provider: InputGroupContextProvider,
20
- useContext: useInputGroupContext
21
- } = createContextUtilities(createContextValue({}));
18
+ const _createContextUtiliti = createContextUtilities(createContextValue({})),
19
+ InputGroupContextProvider = _createContextUtiliti.Provider,
20
+ useInputGroupContext = _createContextUtiliti.useContext;
22
21
  const InputGroupProvider = _ref => {
23
- let {
24
- children,
25
- value
26
- } = _ref;
22
+ let children = _ref.children,
23
+ value = _ref.value;
27
24
  const context = createContextValue(value);
28
25
  return /*#__PURE__*/React__default.createElement(InputGroupContextProvider, {
29
26
  value: context
@@ -1,19 +1,18 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
2
3
  import React__default from 'react';
3
4
  import classNames from 'classnames';
4
5
  import styles from './Label2.js';
5
6
  import { useFormFieldLabel } from '../FormField/FormFieldContext.js';
6
7
 
8
+ const _excluded = ["children", "className"];
7
9
  const Label = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
8
- let {
9
- children,
10
- className,
11
- ...rest
12
- } = _ref;
13
- const {
14
- isFocused,
15
- hasControl
16
- } = useFormFieldLabel();
10
+ let children = _ref.children,
11
+ className = _ref.className,
12
+ rest = _objectWithoutProperties(_ref, _excluded);
13
+ const _useFormFieldLabel = useFormFieldLabel(),
14
+ isFocused = _useFormFieldLabel.isFocused,
15
+ hasControl = _useFormFieldLabel.hasControl;
17
16
  const classes = classNames(styles.label, className, {
18
17
  [styles.control]: hasControl,
19
18
  [styles.focused]: isFocused
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._r82i5{font-size:14px}._xNWf3{color:#515559;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._BWDfX{color:#0b6ed0}";
4
- var styles = {"label":"_r82i5","control":"_xNWf3","focused":"_BWDfX"};
5
- var stylesheet="._r82i5{font-size:14px}._xNWf3{color:#515559;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._BWDfX{color:#0b6ed0}";
3
+ var css_248z = "._ATwpH{font-size:14px}._uZFam{color:#515559;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._kK7fz{color:#0b6ed0}";
4
+ var styles = {"label":"_ATwpH","control":"_uZFam","focused":"_kK7fz"};
5
+ var stylesheet="._ATwpH{font-size:14px}._uZFam{color:#515559;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._kK7fz{color:#0b6ed0}";
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 };