@pingux/astro 1.41.0-alpha.5 → 1.42.0-alpha.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 (486) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +1 -2
  3. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.js +6 -6
  4. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +28 -5
  5. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.test.js +8 -8
  6. package/lib/cjs/components/AccordionGridItem/AccordionGridItem.js +4 -4
  7. package/lib/cjs/components/AccordionGridItem/AccordionGridItemBody.js +4 -4
  8. package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.js +8 -6
  9. package/lib/cjs/components/AccordionGroup/AccordionGroup.js +3 -3
  10. package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +7 -7
  11. package/lib/cjs/components/AccordionGroup/AccordionGroup.test.js +15 -15
  12. package/lib/cjs/components/AccordionItem/AccordionItem.js +10 -8
  13. package/lib/cjs/components/ArrayField/ArrayField.js +20 -18
  14. package/lib/cjs/components/ArrayField/ArrayField.stories.js +4 -4
  15. package/lib/cjs/components/ArrayField/ArrayFieldItem.js +50 -0
  16. package/lib/cjs/components/Box/Box.js +2 -2
  17. package/lib/cjs/components/Bracket/Bracket.js +1 -1
  18. package/lib/cjs/components/Bracket/Bracket.stories.js +6 -7
  19. package/lib/cjs/components/Breadcrumbs/BreadcrumbItem.js +6 -4
  20. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.js +7 -5
  21. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +6 -6
  22. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.test.js +6 -6
  23. package/lib/cjs/components/Button/Button.js +18 -5
  24. package/lib/cjs/components/Button/Button.stories.js +1 -1
  25. package/lib/cjs/components/CheckboxField/CheckboxField.js +19 -14
  26. package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +18 -5
  27. package/lib/cjs/components/{Badge → Chip}/Badge.js +1 -1
  28. package/lib/cjs/components/{Badge → Chip}/Badge.stories.js +26 -29
  29. package/lib/cjs/components/{Badge → Chip}/Badge.test.js +6 -6
  30. package/lib/cjs/components/Chip/Chip.js +58 -0
  31. package/lib/cjs/components/{Badge → Chip}/index.js +2 -2
  32. package/lib/cjs/components/CodeView/CodeView.js +2 -2
  33. package/lib/cjs/components/CodeView/CodeView.stories.js +1 -1
  34. package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.js +9 -7
  35. package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +2 -2
  36. package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelBadge.js +2 -2
  37. package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelContainer.js +4 -4
  38. package/lib/cjs/components/CollapsiblePanelItem/CollapsiblePanelItem.js +1 -1
  39. package/lib/cjs/components/ColorField/ColorField.js +31 -23
  40. package/lib/cjs/components/ColorField/ColorField.stories.js +17 -4
  41. package/lib/cjs/components/ComboBox/ComboBoxInput.js +24 -20
  42. package/lib/cjs/components/ComboBoxField/ComboBoxField.js +14 -10
  43. package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +3 -3
  44. package/lib/cjs/components/CopyText/CopyButton.js +3 -2
  45. package/lib/cjs/components/CopyText/CopyText.js +10 -8
  46. package/lib/cjs/components/DataTable/DataTable.js +26 -46
  47. package/lib/cjs/components/DataTable/DataTable.stories.js +7 -7
  48. package/lib/cjs/components/DataTable/DataTable.styles.js +3 -3
  49. package/lib/cjs/components/DataTable/DataTable.test.js +8 -8
  50. package/lib/cjs/components/DataTable/{DataTableBadge.js → DataTableChip.js} +4 -4
  51. package/lib/cjs/components/DataTable/{DataTableBadge.test.js → DataTableChip.test.js} +1 -1
  52. package/lib/cjs/components/DataTable/index.js +3 -3
  53. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +18 -14
  54. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +23 -23
  55. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +5 -3
  56. package/lib/cjs/components/FieldHelperText/FieldHelperText.js +1 -1
  57. package/lib/cjs/components/FileInputField/FileInputField.js +13 -16
  58. package/lib/cjs/components/FileInputField/FileInputField.stories.js +2 -4
  59. package/lib/cjs/components/FileInputField/FileItem.js +7 -7
  60. package/lib/cjs/components/FileInputField/FileSelect.js +1 -1
  61. package/lib/cjs/components/HelpHint/HelpHint.js +4 -3
  62. package/lib/cjs/components/IconButton/IconButton.js +11 -9
  63. package/lib/cjs/components/IconButton/IconButton.stories.js +2 -2
  64. package/lib/cjs/components/ImageUploadField/ImagePreviewButton.js +8 -6
  65. package/lib/cjs/components/ImageUploadField/ImageUploadField.js +2 -4
  66. package/lib/cjs/components/ImageUploadField/ImageUploadField.stories.js +2 -4
  67. package/lib/cjs/components/ImageUploadField/ImageUploadFieldBase.js +7 -8
  68. package/lib/cjs/components/Link/Link.js +9 -5
  69. package/lib/cjs/components/Link/Link.stories.js +2 -2
  70. package/lib/cjs/components/LinkSelectField/LinkSelectField.js +19 -10
  71. package/lib/cjs/components/LinkSelectField/LinkSelectField.stories.js +9 -10
  72. package/lib/cjs/{styles/themeOverrides/withUiLibraryCss.js → components/List/List.js} +24 -26
  73. package/lib/cjs/components/List/List.stories.js +66 -0
  74. package/lib/cjs/components/List/List.test.js +36 -0
  75. package/lib/cjs/components/List/index.js +18 -0
  76. package/lib/cjs/components/ListBox/ListBox.js +6 -6
  77. package/lib/cjs/components/ListBox/ListBox.test.js +3 -3
  78. package/lib/cjs/components/ListBox/ListBoxSection.js +3 -3
  79. package/lib/cjs/components/ListBox/Option.js +2 -2
  80. package/lib/cjs/components/ListItem/ListItem.js +1 -1
  81. package/lib/cjs/components/ListView/ListView.stories.js +10 -8
  82. package/lib/cjs/components/ListView/ListView.test.js +8 -8
  83. package/lib/cjs/components/ListViewItem/ListViewItem.js +9 -7
  84. package/lib/cjs/components/Menu/Menu.js +9 -7
  85. package/lib/cjs/components/Menu/Menu.stories.js +4 -4
  86. package/lib/cjs/components/MenuItem/MenuItem.js +5 -3
  87. package/lib/cjs/components/Messages/Message.js +3 -3
  88. package/lib/cjs/components/Messages/Messages.js +1 -1
  89. package/lib/cjs/components/Messages/Messages.stories.js +14 -14
  90. package/lib/cjs/components/Messages/Messages.test.js +4 -4
  91. package/lib/cjs/components/Modal/Modal.js +24 -9
  92. package/lib/cjs/components/MultivaluesField/MultivaluesField.js +18 -15
  93. package/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +8 -10
  94. package/lib/cjs/components/MultivaluesField/MultivaluesField.test.js +14 -14
  95. package/lib/cjs/components/NavBar/NavBar.stories.js +1 -1
  96. package/lib/cjs/components/NavBarSection/NavBarItem.js +9 -7
  97. package/lib/cjs/components/NavBarSection/NavBarItemBody.js +1 -1
  98. package/lib/cjs/components/NavBarSection/NavBarItemButton.js +1 -1
  99. package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +1 -1
  100. package/lib/cjs/components/NavBarSection/NavBarItemLink.js +1 -1
  101. package/lib/cjs/components/NavBarSection/NavBarSection.js +2 -2
  102. package/lib/cjs/components/NumberField/NumberField.js +29 -31
  103. package/lib/cjs/components/NumberField/NumberField.stories.js +2 -4
  104. package/lib/cjs/components/OverlayPanel/OverlayPanel.js +4 -4
  105. package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +6 -6
  106. package/lib/cjs/components/PasswordField/PasswordField.js +25 -20
  107. package/lib/cjs/components/PasswordField/PasswordField.stories.js +2 -4
  108. package/lib/cjs/components/PopoverContainer/PopoverContainer.js +31 -7
  109. package/lib/cjs/components/PopoverMenu/PopoverMenu.js +12 -8
  110. package/lib/cjs/components/RadioField/RadioField.js +19 -15
  111. package/lib/cjs/components/RadioGroupField/RadioGroupField.js +8 -12
  112. package/lib/cjs/components/RockerButton/RockerButton.js +5 -5
  113. package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.js +6 -6
  114. package/lib/cjs/components/ScrollBox/ScrollBox.js +3 -3
  115. package/lib/cjs/components/SearchField/SearchField.js +22 -16
  116. package/lib/cjs/components/SearchField/SearchField.stories.js +5 -4
  117. package/lib/cjs/components/SelectField/SelectField.js +9 -5
  118. package/lib/cjs/components/SelectField/SelectField.stories.js +11 -12
  119. package/lib/cjs/components/SelectField/SelectField.test.js +2 -2
  120. package/lib/cjs/components/SelectFieldBase/SelectFieldBase.js +16 -19
  121. package/lib/cjs/components/Separator/Separator.js +2 -2
  122. package/lib/cjs/components/Stepper/Step.js +4 -4
  123. package/lib/cjs/components/Switch/Switch.js +2 -2
  124. package/lib/cjs/components/SwitchField/SwitchField.js +23 -17
  125. package/lib/cjs/components/SwitchField/SwitchField.stories.js +5 -4
  126. package/lib/cjs/components/Tab/Tab.js +11 -7
  127. package/lib/cjs/components/TabPicker/TabPicker.js +5 -5
  128. package/lib/cjs/components/Table/Table.js +1 -1
  129. package/lib/cjs/components/TableBody/TableBody.js +1 -1
  130. package/lib/cjs/components/TableCaption/TableCaption.js +1 -1
  131. package/lib/cjs/components/TableCell/TableCell.js +1 -1
  132. package/lib/cjs/components/TableRow/TableRow.js +1 -1
  133. package/lib/cjs/components/Tabs/Tabs.js +5 -5
  134. package/lib/cjs/components/Tabs/Tabs.stories.js +1 -1
  135. package/lib/cjs/components/TextAreaField/TextAreaField.js +24 -18
  136. package/lib/cjs/components/TextAreaField/TextAreaField.stories.js +5 -4
  137. package/lib/cjs/components/TextField/TextField.js +19 -11
  138. package/lib/cjs/components/TextField/TextField.stories.js +2 -4
  139. package/lib/cjs/components/TimeZonePicker/TimeZonePicker.js +4 -4
  140. package/lib/cjs/components/TooltipTrigger/Tooltip.js +4 -4
  141. package/lib/cjs/components/TooltipTrigger/TooltipTrigger.js +8 -6
  142. package/lib/cjs/components/TooltipTrigger/TooltipTrigger.stories.js +6 -6
  143. package/lib/cjs/hooks/useField/useField.js +20 -43
  144. package/lib/cjs/hooks/useField/useField.test.js +16 -55
  145. package/lib/cjs/hooks/useModalState/useModalState.js +2 -2
  146. package/lib/cjs/hooks/useOverlayPanelState/useOverlayPanelState.js +2 -2
  147. package/lib/cjs/hooks/useOverlayPanelState/useOverlayPanelState.test.js +1 -2
  148. package/lib/cjs/hooks/useSelectField/useSelectField.js +14 -12
  149. package/lib/cjs/index.js +119 -82
  150. package/lib/cjs/recipes/ApplicationSearchDropdown.stories.js +7 -7
  151. package/lib/cjs/recipes/AttributeMappingReadOnlyField.stories.js +4 -4
  152. package/lib/cjs/recipes/CollapsiblePanel.stories.js +3 -3
  153. package/lib/cjs/recipes/ConditionalFilter.stories.js +21 -21
  154. package/lib/cjs/recipes/CountryPicker.stories.js +3 -3
  155. package/lib/cjs/recipes/DatePicker.stories.js +5 -48
  156. package/lib/cjs/recipes/FlippableCaretMenuButton.stories.js +2 -2
  157. package/lib/cjs/recipes/LinkedListView.stories.js +15 -26
  158. package/lib/cjs/recipes/ListAndPanel.stories.js +9 -9
  159. package/lib/cjs/recipes/LogoTabs.stories.js +2 -2
  160. package/lib/cjs/recipes/MaskedValue.stories.js +1 -12
  161. package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +2 -2
  162. package/lib/cjs/recipes/RowLineChart.stories.js +99 -184
  163. package/lib/cjs/recipes/ScrollableListView.stories.js +4 -4
  164. package/lib/cjs/recipes/Slider.stories.js +19 -13
  165. package/lib/cjs/styles/ColorDocumentation.js +2 -2
  166. package/lib/cjs/{components/Checkbox/Checkbox.styles.js → styles/forms/checkbox.js} +0 -0
  167. package/lib/cjs/{components/ColorField/ColorField.styles.js → styles/forms/comboBox.js} +9 -9
  168. package/lib/cjs/styles/forms/index.js +13 -25
  169. package/lib/cjs/{components/Input/Input.styles.js → styles/forms/input.js} +15 -21
  170. package/lib/cjs/{components/Label/Label.styles.js → styles/forms/label.js} +4 -4
  171. package/lib/cjs/{components/ComboBox/ComboBox.styles.js → styles/forms/radio.js} +19 -27
  172. package/lib/cjs/{components/SearchField/Search.styles.js → styles/forms/search.js} +4 -4
  173. package/lib/cjs/{components/SelectField/Select.styles.js → styles/forms/select.js} +6 -6
  174. package/lib/cjs/{components/Switch/Switch.styles.js → styles/forms/switch.js} +2 -2
  175. package/lib/cjs/styles/forms/textarea.js +46 -0
  176. package/lib/cjs/styles/theme.js +3 -3
  177. package/lib/cjs/styles/themeOverrides/uiLibraryOverride.js +52 -69
  178. package/lib/cjs/styles/themes/astro-nano/astro-nano.js +19 -19
  179. package/lib/cjs/styles/variants/accordion.js +92 -0
  180. package/lib/cjs/{components/FieldHelperText/FieldHelperText.styles.js → styles/variants/bidirectionalIconButton.js} +17 -21
  181. package/lib/cjs/styles/variants/boxes.js +439 -0
  182. package/lib/cjs/styles/variants/buttons.js +815 -0
  183. package/lib/cjs/{components/CodeView/CodeView.styles.js → styles/variants/codeView.js} +0 -0
  184. package/lib/cjs/{components/CollapsiblePanel/CollapsiblePanel.styles.js → styles/variants/collapsiblePanel.js} +13 -72
  185. package/lib/cjs/styles/variants/imageUpload.js +29 -0
  186. package/lib/cjs/{components/Image/Image.styles.js → styles/variants/images.js} +0 -0
  187. package/lib/cjs/styles/variants/index.js +22 -51
  188. package/lib/cjs/{components/Link/Link.styles.js → styles/variants/links.js} +3 -3
  189. package/lib/cjs/{components/ListBox/ListBox.styles.js → styles/variants/listBox.js} +3 -11
  190. package/lib/cjs/{components/Loader/Loader.styles.js → styles/variants/loader.js} +0 -0
  191. package/lib/cjs/{components/Menu/Menu.styles.js → styles/variants/menu.js} +0 -0
  192. package/lib/cjs/{components/MenuItem/MenuItem.styles.js → styles/variants/menuItem.js} +0 -0
  193. package/lib/cjs/styles/variants/messages.js +53 -0
  194. package/lib/cjs/{components/Modal/Modal.styles.js → styles/variants/modal.js} +16 -13
  195. package/lib/cjs/{components/NavBar/NavBar.styles.js → styles/variants/navBar.js} +10 -96
  196. package/lib/cjs/{components/NumberField/NumberField.styles.js → styles/variants/numberField.js} +3 -13
  197. package/lib/cjs/{components/OverlayPanel/OverlayPanel.styles.js → styles/variants/overlayPanel.js} +6 -6
  198. package/lib/cjs/{components/PopoverMenu/PopoverMenu.styles.js → styles/variants/popoverMenu.js} +0 -0
  199. package/lib/cjs/styles/variants/rockerbutton.js +25 -0
  200. package/lib/cjs/{components/Separator/Separator.styles.js → styles/variants/separator.js} +0 -0
  201. package/lib/cjs/{components/Stepper/Stepper.styles.js → styles/variants/stepper.js} +4 -4
  202. package/lib/cjs/{components/Table/Table.styles.js → styles/variants/table.js} +15 -15
  203. package/lib/cjs/{components/Tabs/Tabs.style.js → styles/variants/tabs.js} +4 -17
  204. package/lib/cjs/{components/Text/Text.styles.js → styles/variants/text.js} +195 -4
  205. package/lib/cjs/{components/Box/Box.styles.js → styles/variants/tooltip.js} +3 -3
  206. package/lib/cjs/styles/variants/variants.js +46 -70
  207. package/lib/cjs/utils/devUtils/constants/variants.js +4 -4
  208. package/lib/components/AccordionGridGroup/AccordionGridGroup.js +3 -3
  209. package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +25 -2
  210. package/lib/components/AccordionGridGroup/AccordionGridGroup.test.js +1 -1
  211. package/lib/components/AccordionGridItem/AccordionGridItem.js +2 -2
  212. package/lib/components/AccordionGridItem/AccordionGridItemBody.js +2 -2
  213. package/lib/components/AccordionGridItem/AccordionGridItemHeader.js +3 -2
  214. package/lib/components/AccordionGroup/AccordionGroup.js +1 -1
  215. package/lib/components/AccordionGroup/AccordionGroup.stories.js +1 -1
  216. package/lib/components/AccordionGroup/AccordionGroup.test.js +1 -1
  217. package/lib/components/AccordionItem/AccordionItem.js +6 -5
  218. package/lib/components/ArrayField/ArrayField.js +15 -15
  219. package/lib/components/ArrayField/ArrayField.stories.js +1 -1
  220. package/lib/components/ArrayField/ArrayFieldItem.js +31 -0
  221. package/lib/components/Box/Box.js +2 -2
  222. package/lib/components/Bracket/Bracket.js +1 -1
  223. package/lib/components/Bracket/Bracket.stories.js +7 -8
  224. package/lib/components/Breadcrumbs/BreadcrumbItem.js +3 -2
  225. package/lib/components/Breadcrumbs/Breadcrumbs.js +4 -3
  226. package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +2 -2
  227. package/lib/components/Breadcrumbs/Breadcrumbs.test.js +3 -3
  228. package/lib/components/Button/Button.js +13 -2
  229. package/lib/components/Button/Button.stories.js +1 -1
  230. package/lib/components/CheckboxField/CheckboxField.js +18 -12
  231. package/lib/components/CheckboxField/CheckboxField.stories.js +18 -4
  232. package/lib/components/{Badge → Chip}/Badge.js +1 -1
  233. package/lib/components/{Badge → Chip}/Badge.stories.js +31 -34
  234. package/lib/components/{Badge → Chip}/Badge.test.js +6 -6
  235. package/lib/components/Chip/Chip.js +38 -0
  236. package/lib/components/Chip/index.js +1 -0
  237. package/lib/components/CodeView/CodeView.js +2 -2
  238. package/lib/components/CodeView/CodeView.stories.js +1 -1
  239. package/lib/components/CollapsiblePanel/CollapsiblePanel.js +5 -4
  240. package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +3 -3
  241. package/lib/components/CollapsiblePanelContainer/CollapsiblePanelBadge.js +2 -2
  242. package/lib/components/CollapsiblePanelContainer/CollapsiblePanelContainer.js +3 -3
  243. package/lib/components/CollapsiblePanelItem/CollapsiblePanelItem.js +1 -1
  244. package/lib/components/ColorField/ColorField.js +22 -15
  245. package/lib/components/ColorField/ColorField.stories.js +17 -3
  246. package/lib/components/ComboBox/ComboBoxInput.js +20 -17
  247. package/lib/components/ComboBoxField/ComboBoxField.js +6 -4
  248. package/lib/components/ComboBoxField/ComboBoxField.stories.js +2 -2
  249. package/lib/components/CopyText/CopyButton.js +3 -2
  250. package/lib/components/CopyText/CopyText.js +4 -3
  251. package/lib/components/DataTable/DataTable.js +8 -31
  252. package/lib/components/DataTable/DataTable.stories.js +6 -6
  253. package/lib/components/DataTable/DataTable.styles.js +1 -1
  254. package/lib/components/DataTable/DataTable.test.js +1 -1
  255. package/lib/components/DataTable/{DataTableBadge.js → DataTableChip.js} +5 -5
  256. package/lib/components/DataTable/{DataTableBadge.test.js → DataTableChip.test.js} +2 -2
  257. package/lib/components/DataTable/index.js +1 -1
  258. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +10 -8
  259. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +22 -22
  260. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +3 -2
  261. package/lib/components/FieldHelperText/FieldHelperText.js +1 -1
  262. package/lib/components/FileInputField/FileInputField.js +10 -13
  263. package/lib/components/FileInputField/FileInputField.stories.js +2 -3
  264. package/lib/components/FileInputField/FileItem.js +5 -5
  265. package/lib/components/FileInputField/FileSelect.js +1 -1
  266. package/lib/components/HelpHint/HelpHint.js +4 -3
  267. package/lib/components/IconButton/IconButton.js +5 -5
  268. package/lib/components/IconButton/IconButton.stories.js +2 -2
  269. package/lib/components/ImageUploadField/ImagePreviewButton.js +5 -4
  270. package/lib/components/ImageUploadField/ImageUploadField.js +2 -3
  271. package/lib/components/ImageUploadField/ImageUploadField.stories.js +2 -3
  272. package/lib/components/ImageUploadField/ImageUploadFieldBase.js +5 -6
  273. package/lib/components/Link/Link.js +3 -1
  274. package/lib/components/Link/Link.stories.js +1 -1
  275. package/lib/components/LinkSelectField/LinkSelectField.js +19 -9
  276. package/lib/components/LinkSelectField/LinkSelectField.stories.js +5 -5
  277. package/lib/components/List/List.js +26 -0
  278. package/lib/components/List/List.stories.js +43 -0
  279. package/lib/components/List/List.test.js +24 -0
  280. package/lib/components/List/index.js +1 -0
  281. package/lib/components/ListBox/ListBox.js +3 -3
  282. package/lib/components/ListBox/ListBox.test.js +1 -1
  283. package/lib/components/ListBox/ListBoxSection.js +2 -2
  284. package/lib/components/ListBox/Option.js +1 -1
  285. package/lib/components/ListItem/ListItem.js +1 -1
  286. package/lib/components/ListView/ListView.stories.js +4 -3
  287. package/lib/components/ListView/ListView.test.js +2 -2
  288. package/lib/components/ListViewItem/ListViewItem.js +4 -3
  289. package/lib/components/Menu/Menu.js +4 -3
  290. package/lib/components/Menu/Menu.stories.js +1 -1
  291. package/lib/components/MenuItem/MenuItem.js +2 -1
  292. package/lib/components/Messages/Message.js +3 -3
  293. package/lib/components/Messages/Messages.js +1 -1
  294. package/lib/components/Messages/Messages.stories.js +1 -1
  295. package/lib/components/Messages/Messages.test.js +1 -1
  296. package/lib/components/Modal/Modal.js +14 -2
  297. package/lib/components/MultivaluesField/MultivaluesField.js +14 -11
  298. package/lib/components/MultivaluesField/MultivaluesField.stories.js +8 -9
  299. package/lib/components/MultivaluesField/MultivaluesField.test.js +14 -14
  300. package/lib/components/NavBar/NavBar.stories.js +1 -1
  301. package/lib/components/NavBarSection/NavBarItem.js +4 -3
  302. package/lib/components/NavBarSection/NavBarItemBody.js +1 -1
  303. package/lib/components/NavBarSection/NavBarItemButton.js +1 -1
  304. package/lib/components/NavBarSection/NavBarItemHeader.js +1 -1
  305. package/lib/components/NavBarSection/NavBarItemLink.js +1 -1
  306. package/lib/components/NavBarSection/NavBarSection.js +2 -2
  307. package/lib/components/NumberField/NumberField.js +23 -25
  308. package/lib/components/NumberField/NumberField.stories.js +2 -3
  309. package/lib/components/OverlayPanel/OverlayPanel.js +3 -3
  310. package/lib/components/OverlayPanel/OverlayPanel.stories.js +2 -2
  311. package/lib/components/PasswordField/PasswordField.js +24 -18
  312. package/lib/components/PasswordField/PasswordField.stories.js +2 -3
  313. package/lib/components/PopoverContainer/PopoverContainer.js +26 -3
  314. package/lib/components/PopoverMenu/PopoverMenu.js +4 -2
  315. package/lib/components/RadioField/RadioField.js +18 -13
  316. package/lib/components/RadioGroupField/RadioGroupField.js +6 -9
  317. package/lib/components/RockerButton/RockerButton.js +3 -3
  318. package/lib/components/RockerButtonGroup/RockerButtonGroup.js +4 -4
  319. package/lib/components/ScrollBox/ScrollBox.js +3 -3
  320. package/lib/components/SearchField/SearchField.js +18 -11
  321. package/lib/components/SearchField/SearchField.stories.js +5 -3
  322. package/lib/components/SelectField/SelectField.js +9 -4
  323. package/lib/components/SelectField/SelectField.stories.js +5 -5
  324. package/lib/components/SelectField/SelectField.test.js +1 -1
  325. package/lib/components/SelectFieldBase/SelectFieldBase.js +15 -18
  326. package/lib/components/Separator/Separator.js +1 -1
  327. package/lib/components/Stepper/Step.js +2 -2
  328. package/lib/components/Switch/Switch.js +1 -1
  329. package/lib/components/SwitchField/SwitchField.js +20 -13
  330. package/lib/components/SwitchField/SwitchField.stories.js +5 -3
  331. package/lib/components/Tab/Tab.js +4 -2
  332. package/lib/components/TabPicker/TabPicker.js +3 -3
  333. package/lib/components/Table/Table.js +1 -1
  334. package/lib/components/TableBody/TableBody.js +1 -1
  335. package/lib/components/TableCaption/TableCaption.js +1 -1
  336. package/lib/components/TableCell/TableCell.js +1 -1
  337. package/lib/components/TableRow/TableRow.js +1 -1
  338. package/lib/components/Tabs/Tabs.js +2 -2
  339. package/lib/components/Tabs/Tabs.stories.js +2 -2
  340. package/lib/components/TextAreaField/TextAreaField.js +24 -17
  341. package/lib/components/TextAreaField/TextAreaField.stories.js +5 -3
  342. package/lib/components/TextField/TextField.js +19 -10
  343. package/lib/components/TextField/TextField.stories.js +2 -3
  344. package/lib/components/TimeZonePicker/TimeZonePicker.js +4 -4
  345. package/lib/components/TooltipTrigger/Tooltip.js +3 -3
  346. package/lib/components/TooltipTrigger/TooltipTrigger.js +3 -2
  347. package/lib/components/TooltipTrigger/TooltipTrigger.stories.js +4 -4
  348. package/lib/hooks/useField/useField.js +14 -39
  349. package/lib/hooks/useField/useField.test.js +16 -55
  350. package/lib/hooks/useModalState/useModalState.js +1 -1
  351. package/lib/hooks/useOverlayPanelState/useOverlayPanelState.js +1 -1
  352. package/lib/hooks/useOverlayPanelState/useOverlayPanelState.test.js +1 -2
  353. package/lib/hooks/useSelectField/useSelectField.js +6 -6
  354. package/lib/index.js +9 -5
  355. package/lib/recipes/ApplicationSearchDropdown.stories.js +4 -4
  356. package/lib/recipes/AttributeMappingReadOnlyField.stories.js +5 -5
  357. package/lib/recipes/CollapsiblePanel.stories.js +4 -4
  358. package/lib/recipes/ConditionalFilter.stories.js +22 -22
  359. package/lib/recipes/CountryPicker.stories.js +3 -3
  360. package/lib/recipes/DatePicker.stories.js +5 -47
  361. package/lib/recipes/FlippableCaretMenuButton.stories.js +1 -1
  362. package/lib/recipes/LinkedListView.stories.js +10 -22
  363. package/lib/recipes/ListAndPanel.stories.js +2 -2
  364. package/lib/recipes/LogoTabs.stories.js +1 -1
  365. package/lib/recipes/MaskedValue.stories.js +1 -12
  366. package/lib/recipes/OneWayToBidirectionalArrow.stories.js +2 -2
  367. package/lib/recipes/RowLineChart.stories.js +95 -176
  368. package/lib/recipes/ScrollableListView.stories.js +2 -2
  369. package/lib/recipes/Slider.stories.js +7 -4
  370. package/lib/styles/ColorDocumentation.js +1 -1
  371. package/lib/{components/Checkbox/Checkbox.styles.js → styles/forms/checkbox.js} +0 -0
  372. package/lib/{components/ColorField/ColorField.styles.js → styles/forms/comboBox.js} +9 -8
  373. package/lib/styles/forms/index.js +12 -21
  374. package/lib/{components/Input/Input.styles.js → styles/forms/input.js} +12 -18
  375. package/lib/{components/Label/Label.styles.js → styles/forms/label.js} +1 -1
  376. package/lib/{components/FieldHelperText/FieldHelperText.styles.js → styles/forms/radio.js} +15 -21
  377. package/lib/{components/SearchField/Search.styles.js → styles/forms/search.js} +2 -2
  378. package/lib/{components/SelectField/Select.styles.js → styles/forms/select.js} +3 -3
  379. package/lib/{components/Switch/Switch.styles.js → styles/forms/switch.js} +1 -1
  380. package/lib/styles/forms/textarea.js +25 -0
  381. package/lib/styles/theme.js +4 -4
  382. package/lib/styles/themeOverrides/uiLibraryOverride.js +52 -69
  383. package/lib/styles/themes/astro-nano/astro-nano.js +19 -19
  384. package/lib/styles/variants/accordion.js +82 -0
  385. package/lib/{components/ComboBox/ComboBox.styles.js → styles/variants/bidirectionalIconButton.js} +19 -26
  386. package/lib/styles/variants/boxes.js +418 -0
  387. package/lib/styles/variants/buttons.js +792 -0
  388. package/lib/{components/CodeView/CodeView.styles.js → styles/variants/codeView.js} +0 -0
  389. package/lib/{components/CollapsiblePanel/CollapsiblePanel.styles.js → styles/variants/collapsiblePanel.js} +11 -65
  390. package/lib/styles/variants/imageUpload.js +19 -0
  391. package/lib/{components/Image/Image.styles.js → styles/variants/images.js} +0 -0
  392. package/lib/styles/variants/index.js +6 -25
  393. package/lib/{components/Link/Link.styles.js → styles/variants/links.js} +1 -1
  394. package/lib/{components/ListBox/ListBox.styles.js → styles/variants/listBox.js} +1 -9
  395. package/lib/{components/Loader/Loader.styles.js → styles/variants/loader.js} +0 -0
  396. package/lib/{components/Menu/Menu.styles.js → styles/variants/menu.js} +0 -0
  397. package/lib/{components/MenuItem/MenuItem.styles.js → styles/variants/menuItem.js} +0 -0
  398. package/lib/styles/variants/messages.js +43 -0
  399. package/lib/{components/Modal/Modal.styles.js → styles/variants/modal.js} +14 -10
  400. package/lib/{components/NavBar/NavBar.styles.js → styles/variants/navBar.js} +10 -94
  401. package/lib/{components/NumberField/NumberField.styles.js → styles/variants/numberField.js} +3 -12
  402. package/lib/{components/OverlayPanel/OverlayPanel.styles.js → styles/variants/overlayPanel.js} +6 -6
  403. package/lib/{components/PopoverMenu/PopoverMenu.styles.js → styles/variants/popoverMenu.js} +0 -0
  404. package/lib/styles/variants/rockerbutton.js +15 -0
  405. package/lib/{components/Separator/Separator.styles.js → styles/variants/separator.js} +0 -0
  406. package/lib/{components/Stepper/Stepper.styles.js → styles/variants/stepper.js} +3 -3
  407. package/lib/{components/Table/Table.styles.js → styles/variants/table.js} +15 -15
  408. package/lib/{components/Tabs/Tabs.style.js → styles/variants/tabs.js} +2 -12
  409. package/lib/{components/Text/Text.styles.js → styles/variants/text.js} +196 -3
  410. package/lib/styles/variants/tooltip.js +6 -0
  411. package/lib/styles/variants/variants.js +31 -47
  412. package/lib/utils/devUtils/constants/variants.js +2 -2
  413. package/package.json +54 -24
  414. package/lib/cjs/components/AccordionGridGroup/AccordionGrid.styles.js +0 -85
  415. package/lib/cjs/components/AccordionGroup/Accordion.styles.js +0 -86
  416. package/lib/cjs/components/Badge/Badge.styles.js +0 -191
  417. package/lib/cjs/components/Bracket/Bracket.styles.js +0 -19
  418. package/lib/cjs/components/Breadcrumbs/Breadcrumb.styles.js +0 -65
  419. package/lib/cjs/components/Button/Buttons.styles.js +0 -276
  420. package/lib/cjs/components/Card/Card.styles.js +0 -23
  421. package/lib/cjs/components/CopyText/CopyText.styles.js +0 -69
  422. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumb.styles.js +0 -69
  423. package/lib/cjs/components/FileInputField/FileInputField.styles.js +0 -78
  424. package/lib/cjs/components/HelpHint/HelpHint.styles.js +0 -74
  425. package/lib/cjs/components/IconButton/IconButton.styles.js +0 -194
  426. package/lib/cjs/components/ImageUploadField/imageUpload.js +0 -69
  427. package/lib/cjs/components/ListItem/ListItem.styles.js +0 -31
  428. package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +0 -88
  429. package/lib/cjs/components/Messages/Message.styles.js +0 -110
  430. package/lib/cjs/components/Radio/Radio.styles.js +0 -75
  431. package/lib/cjs/components/RockerButton/RockerButton.styles.js +0 -72
  432. package/lib/cjs/components/ScrollBox/ScrollBox.styles.js +0 -53
  433. package/lib/cjs/components/TextArea/TextArea.styles.js +0 -69
  434. package/lib/cjs/components/TimeZonePicker/TimeZone.styles.js +0 -40
  435. package/lib/cjs/components/TooltipTrigger/Tooltip.styles.js +0 -93
  436. package/lib/cjs/styles/theme-ui/ThemeView.js +0 -27
  437. package/lib/cjs/styles/themeOverrides/stories/AccordionGroup.chromatic.stories.js +0 -37
  438. package/lib/cjs/styles/themeOverrides/stories/Button.chromatic.stories.js +0 -72
  439. package/lib/cjs/styles/themeOverrides/stories/EnvironmentBreadcrumb.chromatic.stories.js +0 -145
  440. package/lib/cjs/styles/themeOverrides/stories/IconButton.chromatic.stories.js +0 -49
  441. package/lib/cjs/styles/themeOverrides/stories/Label.chromatic.stories.js +0 -32
  442. package/lib/cjs/styles/themeOverrides/stories/Link.chromatic.stories.js +0 -34
  443. package/lib/cjs/styles/themeOverrides/stories/NavBar.chromatic.stories.js +0 -395
  444. package/lib/cjs/styles/themeOverrides/stories/NumberField.chromatic.stories.js +0 -32
  445. package/lib/cjs/styles/themeOverrides/stories/RockerButtonGroup.chromatic.stories.js +0 -41
  446. package/lib/cjs/styles/themeOverrides/stories/SearchField.chromatic.stories.js +0 -40
  447. package/lib/cjs/styles/themeOverrides/stories/SelectField.chromatic.stories.js +0 -42
  448. package/lib/cjs/utils/devUtils/props/fieldAttributes.js +0 -74
  449. package/lib/components/AccordionGridGroup/AccordionGrid.styles.js +0 -65
  450. package/lib/components/AccordionGroup/Accordion.styles.js +0 -66
  451. package/lib/components/Badge/Badge.styles.js +0 -163
  452. package/lib/components/Badge/index.js +0 -1
  453. package/lib/components/Box/Box.styles.js +0 -6
  454. package/lib/components/Bracket/Bracket.styles.js +0 -9
  455. package/lib/components/Breadcrumbs/Breadcrumb.styles.js +0 -45
  456. package/lib/components/Button/Buttons.styles.js +0 -246
  457. package/lib/components/Card/Card.styles.js +0 -13
  458. package/lib/components/CopyText/CopyText.styles.js +0 -48
  459. package/lib/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumb.styles.js +0 -49
  460. package/lib/components/FileInputField/FileInputField.styles.js +0 -58
  461. package/lib/components/HelpHint/HelpHint.styles.js +0 -53
  462. package/lib/components/IconButton/IconButton.styles.js +0 -164
  463. package/lib/components/ImageUploadField/imageUpload.js +0 -49
  464. package/lib/components/ListItem/ListItem.styles.js +0 -21
  465. package/lib/components/ListViewItem/ListViewItem.styles.js +0 -69
  466. package/lib/components/Messages/Message.styles.js +0 -99
  467. package/lib/components/Radio/Radio.styles.js +0 -55
  468. package/lib/components/RockerButton/RockerButton.styles.js +0 -52
  469. package/lib/components/ScrollBox/ScrollBox.styles.js +0 -43
  470. package/lib/components/TextArea/TextArea.styles.js +0 -47
  471. package/lib/components/TimeZonePicker/TimeZone.styles.js +0 -30
  472. package/lib/components/TooltipTrigger/Tooltip.styles.js +0 -71
  473. package/lib/styles/theme-ui/ThemeView.js +0 -9
  474. package/lib/styles/themeOverrides/stories/AccordionGroup.chromatic.stories.js +0 -17
  475. package/lib/styles/themeOverrides/stories/Button.chromatic.stories.js +0 -37
  476. package/lib/styles/themeOverrides/stories/EnvironmentBreadcrumb.chromatic.stories.js +0 -108
  477. package/lib/styles/themeOverrides/stories/IconButton.chromatic.stories.js +0 -25
  478. package/lib/styles/themeOverrides/stories/Label.chromatic.stories.js +0 -12
  479. package/lib/styles/themeOverrides/stories/Link.chromatic.stories.js +0 -14
  480. package/lib/styles/themeOverrides/stories/NavBar.chromatic.stories.js +0 -367
  481. package/lib/styles/themeOverrides/stories/NumberField.chromatic.stories.js +0 -12
  482. package/lib/styles/themeOverrides/stories/RockerButtonGroup.chromatic.stories.js +0 -21
  483. package/lib/styles/themeOverrides/stories/SearchField.chromatic.stories.js +0 -19
  484. package/lib/styles/themeOverrides/stories/SelectField.chromatic.stories.js +0 -21
  485. package/lib/styles/themeOverrides/withUiLibraryCss.js +0 -28
  486. package/lib/utils/devUtils/props/fieldAttributes.js +0 -52
@@ -23,15 +23,15 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance
23
23
  import _findInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/find";
24
24
  import _Object$values from "@babel/runtime-corejs3/core-js-stable/object/values";
25
25
  import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
26
- import Clear from 'mdi-react/CloseIcon';
27
26
  import PropTypes from 'prop-types';
28
- import { DismissButton, FocusScope, useOverlayPosition } from 'react-aria';
27
+ import Clear from 'mdi-react/CloseIcon';
28
+ import { FocusScope } from '@react-aria/focus';
29
29
  import { useFilter } from '@react-aria/i18n';
30
+ import { DismissButton, useOverlayPosition } from '@react-aria/overlays';
30
31
  import { useLayoutEffect, useResizeObserver } from '@react-aria/utils';
31
32
  import { useListState } from '@react-stately/list';
32
- import { Box, Badge, Icon, IconButton, PopoverContainer, ScrollBox, Text, TextField } from '../../';
33
+ import { Box, Chip, Icon, IconButton, PopoverContainer, ScrollBox, Text, TextField } from '../../';
33
34
  import { ariaAttributesBasePropTypes, getAriaAttributeProps } from '../../utils/devUtils/props/ariaAttributes';
34
- import { inputFieldAttributesBasePropTypes } from '../../utils/devUtils/props/fieldAttributes';
35
35
  import { usePropWarning } from '../../hooks';
36
36
  import ListBox from '../ListBox';
37
37
  import { isIterableProp } from '../../utils/devUtils/props/isIterable';
@@ -347,11 +347,11 @@ var MultivaluesField = /*#__PURE__*/forwardRef(function (props, ref) {
347
347
  });
348
348
 
349
349
  if (item) {
350
- return ___EmotionJSX(Badge, {
350
+ return ___EmotionJSX(Chip, {
351
351
  key: item.key,
352
352
  role: "presentation",
353
353
  label: item.name,
354
- variant: "readOnlyBadge",
354
+ variant: "variants.boxes.readOnlyChip",
355
355
  bg: "white",
356
356
  textProps: {
357
357
  sx: {
@@ -365,10 +365,10 @@ var MultivaluesField = /*#__PURE__*/forwardRef(function (props, ref) {
365
365
  }));
366
366
 
367
367
  var multivaluesFieldChip = function multivaluesFieldChip(item) {
368
- return ___EmotionJSX(Badge, _extends({
368
+ return ___EmotionJSX(Chip, _extends({
369
369
  key: item.key,
370
370
  role: "presentation",
371
- variant: "selectedItemBadge",
371
+ variant: "variants.boxes.selectedItemChip",
372
372
  bg: "active",
373
373
  label: item.name,
374
374
  slots: item.slots
@@ -377,7 +377,7 @@ var MultivaluesField = /*#__PURE__*/forwardRef(function (props, ref) {
377
377
  onPress: function onPress() {
378
378
  return deleteItem(item.key);
379
379
  },
380
- variant: "badge.deleteButton"
380
+ variant: "buttons.chipDeleteButton"
381
381
  }, item.buttonProps), ___EmotionJSX(Icon, {
382
382
  icon: Clear,
383
383
  color: "white",
@@ -473,7 +473,10 @@ var MultivaluesField = /*#__PURE__*/forwardRef(function (props, ref) {
473
473
  style: style
474
474
  }, listbox));
475
475
  });
476
- MultivaluesField.propTypes = _objectSpread(_objectSpread({
476
+ MultivaluesField.propTypes = _objectSpread({
477
+ /** Props object that is spread directly into the root (top-level) Box component. */
478
+ containerProps: PropTypes.shape({}),
479
+
477
480
  /** The initial selected keys in the collection (uncontrolled). */
478
481
  defaultSelectedKeys: isIterableProp,
479
482
 
@@ -596,7 +599,7 @@ MultivaluesField.propTypes = _objectSpread(_objectSpread({
596
599
 
597
600
  /** Determines the input status indicator and helper text styling. */
598
601
  status: PropTypes.oneOf(_Object$values(statuses))
599
- }, ariaAttributesBasePropTypes), inputFieldAttributesBasePropTypes);
602
+ }, ariaAttributesBasePropTypes);
600
603
  MultivaluesField.defaultProps = {
601
604
  direction: 'bottom',
602
605
  isReadOnly: false,
@@ -17,13 +17,12 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
17
17
  import React, { useState } from 'react';
18
18
  import { Box, Item, MultivaluesField, OverlayProvider, Icon } from '../../';
19
19
  import { ariaAttributeBaseArgTypes } from '../../utils/devUtils/props/ariaAttributes';
20
- import { inputFieldAttributeBaseArgTypes } from '../../utils/devUtils/props/fieldAttributes';
21
20
  import statuses from '../../utils/devUtils/constants/statuses';
22
21
  import { jsx as ___EmotionJSX } from "@emotion/react";
23
22
  export default {
24
23
  title: 'Form/MultivaluesField',
25
24
  component: MultivaluesField,
26
- argTypes: _objectSpread(_objectSpread({
25
+ argTypes: _objectSpread({
27
26
  direction: {
28
27
  defaultValue: 'bottom'
29
28
  },
@@ -70,7 +69,7 @@ export default {
70
69
  type: 'text'
71
70
  }
72
71
  }
73
- }, ariaAttributeBaseArgTypes), inputFieldAttributeBaseArgTypes),
72
+ }, ariaAttributeBaseArgTypes),
74
73
  parameters: {
75
74
  docs: {
76
75
  source: {
@@ -215,11 +214,11 @@ var itemsWithSlots = [{
215
214
  name: 'Aardvark',
216
215
  key: 'Aardvark',
217
216
  chipProps: {
218
- variant: 'itemBadgeWithSlot',
217
+ variant: 'variants.boxes.itemChipWithSlot',
219
218
  bg: 'white'
220
219
  },
221
220
  buttonProps: {
222
- variant: 'chipWithSlotDeleteButton'
221
+ variant: 'buttons.chipWithSlotDeleteButton'
223
222
  },
224
223
  slots: {
225
224
  leftIcon: ___EmotionJSX(Icon, {
@@ -232,11 +231,11 @@ var itemsWithSlots = [{
232
231
  name: 'Kangaroo',
233
232
  key: 'Kangaroo',
234
233
  chipProps: {
235
- variant: 'itemBadgeWithSlot',
234
+ variant: 'variants.boxes.itemChipWithSlot',
236
235
  bg: 'white'
237
236
  },
238
237
  buttonProps: {
239
- variant: 'chipWithSlotDeleteButton'
238
+ variant: 'buttons.chipWithSlotDeleteButton'
240
239
  },
241
240
  slots: {
242
241
  leftIcon: ___EmotionJSX(Icon, {
@@ -249,11 +248,11 @@ var itemsWithSlots = [{
249
248
  name: 'Snake',
250
249
  key: 'Snake',
251
250
  chipProps: {
252
- variant: 'itemBadgeWithSlot',
251
+ variant: 'variants.boxes.itemChipWithSlot',
253
252
  bg: 'white'
254
253
  },
255
254
  buttonProps: {
256
- variant: 'chipWithSlotDeleteButton'
255
+ variant: 'buttons.chipWithSlotDeleteButton'
257
256
  },
258
257
  slots: {
259
258
  leftIcon: ___EmotionJSX(Icon, {
@@ -467,10 +467,10 @@ test('default selected keys', function () {
467
467
  });
468
468
  var listbox = screen.queryByRole('listbox');
469
469
  expect(listbox).not.toBeInTheDocument();
470
- var firstBadge = screen.getByText(items[1].name);
471
- expect(firstBadge).toBeInTheDocument();
472
- var secondBadge = screen.getByText(items[2].name);
473
- expect(secondBadge).toBeInTheDocument();
470
+ var firstChip = screen.getByText(items[1].name);
471
+ expect(firstChip).toBeInTheDocument();
472
+ var secondChip = screen.getByText(items[2].name);
473
+ expect(secondChip).toBeInTheDocument();
474
474
  });
475
475
  test('selected keys', function () {
476
476
  getComponent({
@@ -478,10 +478,10 @@ test('selected keys', function () {
478
478
  });
479
479
  var listbox = screen.queryByRole('listbox');
480
480
  expect(listbox).not.toBeInTheDocument();
481
- var firstBadge = screen.getByText(items[1].name);
482
- expect(firstBadge).toBeInTheDocument();
483
- var secondBadge = screen.getByText(items[2].name);
484
- expect(secondBadge).toBeInTheDocument();
481
+ var firstChip = screen.getByText(items[1].name);
482
+ expect(firstChip).toBeInTheDocument();
483
+ var secondChip = screen.getByText(items[2].name);
484
+ expect(secondChip).toBeInTheDocument();
485
485
  });
486
486
  test('should have no accessibility violations', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
487
487
  var _getComponent, container, results;
@@ -512,13 +512,13 @@ test('read only keys', function () {
512
512
  });
513
513
  var listbox = screen.queryByRole('listbox');
514
514
  expect(listbox).not.toBeInTheDocument();
515
- var firstBadge = screen.getByText(items[1].name);
516
- var deleteButton1 = firstBadge.nextSibling;
517
- expect(firstBadge).toBeInTheDocument();
515
+ var firstChip = screen.getByText(items[1].name);
516
+ var deleteButton1 = firstChip.nextSibling;
517
+ expect(firstChip).toBeInTheDocument();
518
518
  expect(deleteButton1).toBeNull();
519
- var secondBadge = screen.getByText(items[2].name);
520
- expect(secondBadge).toBeInTheDocument();
521
- var deleteButton2 = firstBadge.nextSibling;
519
+ var secondChip = screen.getByText(items[2].name);
520
+ expect(secondChip).toBeInTheDocument();
521
+ var deleteButton2 = firstChip.nextSibling;
522
522
  expect(deleteButton2).toBeNull();
523
523
  });
524
524
  test('passing helper text should display it and correct aria attributes on input', function () {
@@ -112,7 +112,7 @@ var data = [{
112
112
  children: [___EmotionJSX(NavBarItemLink, {
113
113
  key: "Dashboard Link Group",
114
114
  id: "Dashboard Link Group",
115
- variant: "variants.navBar.itemButton",
115
+ variant: "buttons.navItemButton",
116
116
  href: "https://pingidentity.com/"
117
117
  }, "Group"), ___EmotionJSX(NavBarItemButton, {
118
118
  key: "Dashboard Link Populations",
@@ -3,8 +3,9 @@ import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectW
3
3
  var _excluded = ["icon", "text", "className", "id", "onPress"];
4
4
  import React, { useRef, forwardRef, useImperativeHandle } from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import { mergeProps, useFocusRing } from 'react-aria';
7
6
  import { useHover, usePress } from '@react-aria/interactions';
7
+ import { mergeProps } from '@react-aria/utils';
8
+ import { useFocusRing } from '@react-aria/focus';
8
9
  import { Box, Icon, Text } from '../../index';
9
10
  import { useStatusClasses, useNavBarPress } from '../../hooks';
10
11
  import { useNavBarContext } from '../../context/NavBarContext';
@@ -66,7 +67,7 @@ var NavBarItem = /*#__PURE__*/forwardRef(function (props, ref) {
66
67
  var color = isSelected ? 'white' : 'neutral.95';
67
68
  return ___EmotionJSX(Box, _extends({
68
69
  id: key,
69
- variant: "navBar.item",
70
+ variant: "navBar.navItem",
70
71
  isRow: true,
71
72
  tabIndex: 0,
72
73
  className: classNames,
@@ -90,7 +91,7 @@ var NavBarItem = /*#__PURE__*/forwardRef(function (props, ref) {
90
91
  fill: color
91
92
  }
92
93
  }), ___EmotionJSX(Text, {
93
- variant: "variants.navBar.headerText"
94
+ variant: "navBarHeaderText"
94
95
  }, text)));
95
96
  });
96
97
  NavBarItem.propTypes = {
@@ -24,7 +24,7 @@ var NavBarItemBody = function NavBarItemBody(_ref) {
24
24
  key: "text".concat(subTitle),
25
25
  ml: "45px",
26
26
  mt: hasSeparator ? '0' : undefined,
27
- variant: "variants.navBar.subtitle"
27
+ variant: "text.navBarSubtitle"
28
28
  }, subTitle));
29
29
  };
30
30
 
@@ -45,7 +45,7 @@ var NavBarItemButton = function NavBarItemButton(props) {
45
45
 
46
46
  return ___EmotionJSX(Button, _extends({
47
47
  id: key,
48
- variant: "variants.navBar.itemButton",
48
+ variant: "navItemButton",
49
49
  onPress: onNavPress,
50
50
  className: classNames,
51
51
  color: isSelected ? 'white' : undefined
@@ -60,7 +60,7 @@ var NavBarItemHeader = function NavBarItemHeader(props) {
60
60
  },
61
61
  "aria-hidden": "true"
62
62
  }), ___EmotionJSX(Text, {
63
- variant: "variants.navBar.headerText"
63
+ variant: "navBarHeaderText"
64
64
  }, heading), ___EmotionJSX(Box, {
65
65
  isRow: true,
66
66
  alignItems: "center",
@@ -44,7 +44,7 @@ var NavBarItemLink = function NavBarItemLink(props) {
44
44
 
45
45
  return ___EmotionJSX(Link, _extends({
46
46
  id: key,
47
- variant: "variants.navBar.itemButton",
47
+ variant: "buttons.navItemButton",
48
48
  className: classNames,
49
49
  onPress: onNavPress,
50
50
  color: isSelected ? 'white' : undefined
@@ -37,7 +37,7 @@ var NavBarSection = function NavBarSection(_ref) {
37
37
  return ___EmotionJSX(React.Fragment, null, hasSeparator && ___EmotionJSX(Separator, {
38
38
  variant: "separator.navBarSeparator"
39
39
  }), title && ___EmotionJSX(Text, {
40
- variant: "variants.navBar.subtitle",
40
+ variant: "text.navBarSubtitle",
41
41
  mt: hasSeparator ? '0' : undefined
42
42
  }, title), ___EmotionJSX("ul", _extends({
43
43
  ref: ref,
@@ -141,7 +141,7 @@ var SectionItem = function SectionItem(_ref2) {
141
141
 
142
142
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Button, _extends({
143
143
  ref: headerButtonRef,
144
- variant: "variants.navBar.sectionButton",
144
+ variant: "navBarSectionButton",
145
145
  onPress: function onPress() {
146
146
  return onExpandedChange(!isExpanded);
147
147
  }
@@ -16,17 +16,17 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (
16
16
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(source), !0)).call(_context2, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context3 = ownKeys(Object(source))).call(_context3, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
17
17
 
18
18
  import React, { forwardRef, useCallback, useImperativeHandle, useMemo } from 'react';
19
- import omit from 'lodash/omit';
20
19
  import PropTypes from 'prop-types';
21
- import MenuDown from 'mdi-react/MenuDownIcon';
22
20
  import MenuUp from 'mdi-react/MenuUpIcon';
23
- import { mergeProps, useNumberField } from 'react-aria';
24
- import { useNumberFieldState } from 'react-stately';
21
+ import MenuDown from 'mdi-react/MenuDownIcon';
22
+ import { useNumberField } from '@react-aria/numberfield';
23
+ import { useNumberFieldState } from '@react-stately/numberfield';
25
24
  import { useLocale } from '@react-aria/i18n';
25
+ import { mergeProps } from '@react-aria/utils';
26
+ import omit from 'lodash/omit';
26
27
  import { v4 as uuid } from 'uuid';
27
28
  import { Box, FieldHelperText, Icon, IconButton, Input, Label } from '../../';
28
29
  import { ariaAttributesBasePropTypes } from '../../utils/devUtils/props/ariaAttributes';
29
- import { inputFieldAttributesBasePropTypes } from '../../utils/devUtils/props/fieldAttributes';
30
30
  import { useField, usePropWarning } from '../../hooks';
31
31
  import statuses from '../../utils/devUtils/constants/statuses';
32
32
  /**
@@ -62,8 +62,7 @@ var NumberField = /*#__PURE__*/forwardRef(function (props, ref) {
62
62
 
63
63
  var _useField = useField(props),
64
64
  fieldContainerProps = _useField.fieldContainerProps,
65
- fieldControlInputProps = _useField.fieldControlInputProps,
66
- fieldControlWrapperProps = _useField.fieldControlWrapperProps,
65
+ fieldControlProps = _useField.fieldControlProps,
67
66
  fieldLabelProps = _useField.fieldLabelProps;
68
67
 
69
68
  usePropWarning(props, 'disabled', 'isDisabled');
@@ -74,7 +73,7 @@ var NumberField = /*#__PURE__*/forwardRef(function (props, ref) {
74
73
  });
75
74
 
76
75
  var ControlArrows = ___EmotionJSX(Box, {
77
- variant: "forms.numberField.arrows"
76
+ variant: "numberField.arrows"
78
77
  }, ___EmotionJSX(IconButton, _extends({}, incrementButtonProps, {
79
78
  ref: decRef,
80
79
  tabIndex: "-1",
@@ -95,20 +94,20 @@ var NumberField = /*#__PURE__*/forwardRef(function (props, ref) {
95
94
 
96
95
  var onInputFocus = useCallback(function (e) {
97
96
  e.persist();
98
- fieldControlInputProps.onFocus(e);
97
+ fieldControlProps.onFocus(e);
99
98
  inputProps.onFocus(e);
100
- }, [fieldControlInputProps, inputProps]);
99
+ }, [fieldControlProps, inputProps]);
101
100
  var onInputBlur = useCallback(function (e) {
102
101
  e.persist();
103
- fieldControlInputProps.onBlur(e);
102
+ fieldControlProps.onBlur(e);
104
103
  inputProps.onBlur(e);
105
- }, [fieldControlInputProps, inputProps]);
106
- var updatedFieldControlInputProps = useMemo(function () {
107
- return _objectSpread(_objectSpread({}, fieldControlInputProps), {}, {
104
+ }, [fieldControlProps, inputProps]);
105
+ var updatedFieldControlProps = useMemo(function () {
106
+ return _objectSpread(_objectSpread({}, fieldControlProps), {}, {
108
107
  onFocus: onInputFocus,
109
108
  onBlur: onInputBlur
110
109
  });
111
- }, [fieldControlInputProps, onInputBlur, onInputFocus]);
110
+ }, [fieldControlProps, onInputBlur, onInputFocus]);
112
111
 
113
112
  var onInputChange = function onInputChange(e) {
114
113
  var _context;
@@ -137,19 +136,18 @@ var NumberField = /*#__PURE__*/forwardRef(function (props, ref) {
137
136
  };
138
137
 
139
138
  inputProps['aria-roledescription'] = null;
140
- var helperTextId = useMemo(function () {
141
- return uuid();
142
- }, []);
139
+ var helperTextId = uuid();
143
140
  return ___EmotionJSX(Box, fieldContainerProps, ___EmotionJSX(Label, mergeProps(fieldLabelProps, labelProps)), ___EmotionJSX(Box, _extends({
144
- variant: "forms.numberField.noDefaultArrows"
145
- }, groupProps), ___EmotionJSX(Box, _extends({
146
- variant: "forms.numberField.arrowsWrapper"
147
- }, fieldControlWrapperProps), ___EmotionJSX(Input, _extends({
141
+ variant: "numberField.noDefaultArrows"
142
+ }, groupProps), ___EmotionJSX(Box, {
143
+ variant: "numberField.arrowsWrapper",
144
+ className: fieldControlProps.className
145
+ }, ___EmotionJSX(Input, _extends({
148
146
  variant: "forms.input.numberField",
149
147
  ref: inputRef // we don't want to merge this props, we want to
150
148
  // overwrite them like defaultValue, value, ect.
151
149
 
152
- }, updatedFieldControlInputProps, omit(inputProps, ['name', 'onFocus', 'onBlur']), {
150
+ }, updatedFieldControlProps, omit(inputProps, ['name', 'onFocus', 'onBlur']), {
153
151
  onChange: onInputChange,
154
152
  "aria-describedby": helperText && helperTextId,
155
153
  role: "textbox"
@@ -159,7 +157,7 @@ var NumberField = /*#__PURE__*/forwardRef(function (props, ref) {
159
157
  }, helperText)));
160
158
  });
161
159
  export default NumberField;
162
- NumberField.propTypes = _objectSpread(_objectSpread({
160
+ NumberField.propTypes = _objectSpread({
163
161
  /** A custom aria-label for the decrement button.
164
162
  * If not provided, the localized string "Decrement" is used. */
165
163
  decrementAriaLabel: PropTypes.string,
@@ -244,4 +242,4 @@ NumberField.propTypes = _objectSpread(_objectSpread({
244
242
 
245
243
  /** The current value (controlled). */
246
244
  value: PropTypes.number
247
- }, ariaAttributesBasePropTypes), inputFieldAttributesBasePropTypes);
245
+ }, ariaAttributesBasePropTypes);
@@ -15,7 +15,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
15
15
 
16
16
  import React, { useState } from 'react';
17
17
  import { ariaAttributeBaseArgTypes } from '../../utils/devUtils/props/ariaAttributes';
18
- import { inputFieldAttributeBaseArgTypes } from '../../utils/devUtils/props/fieldAttributes';
19
18
  import NumberField from './NumberField';
20
19
  import statuses from '../../utils/devUtils/constants/statuses';
21
20
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -29,7 +28,7 @@ export default {
29
28
  }
30
29
  }
31
30
  },
32
- argTypes: _objectSpread(_objectSpread({
31
+ argTypes: _objectSpread({
33
32
  label: {
34
33
  control: {
35
34
  type: 'text'
@@ -102,7 +101,7 @@ export default {
102
101
  type: 'none'
103
102
  }
104
103
  }
105
- }, ariaAttributeBaseArgTypes), inputFieldAttributeBaseArgTypes)
104
+ }, ariaAttributeBaseArgTypes)
106
105
  };
107
106
  export var Default = function Default(args) {
108
107
  return ___EmotionJSX(NumberField, args);
@@ -5,7 +5,7 @@ var _excluded = ["children", "isOpen", "onClose", "className", "state", "size",
5
5
  import _Object$values from "@babel/runtime-corejs3/core-js-stable/object/values";
6
6
  import React, { forwardRef, useRef, useImperativeHandle } from 'react';
7
7
  import PropTypes from 'prop-types';
8
- import { FocusScope } from 'react-aria';
8
+ import { FocusScope } from '@react-aria/focus';
9
9
  import { Box } from '../../';
10
10
  import { useStatusClasses, useOverlayPanelState } from '../../hooks';
11
11
  import { panelSizes } from '../../utils/devUtils/constants/panelSizes';
@@ -56,13 +56,13 @@ var OverlayPanel = /*#__PURE__*/forwardRef(function (props, ref) {
56
56
  return ___EmotionJSX(FocusScope, {
57
57
  autoFocus: true
58
58
  }, ___EmotionJSX(Box, _extends({
59
- variant: "overlayPanel.container",
59
+ variant: "overlayPanel.overlayPanel",
60
60
  ref: overlayPanelRef
61
61
  }, others, {
62
62
  className: classNames,
63
63
  onKeyUp: handleClose
64
64
  }), ___EmotionJSX(Box, {
65
- variant: "overlayPanel.body",
65
+ variant: "overlayPanel.overlayPanelBody",
66
66
  className: classNames
67
67
  }, children)));
68
68
  });
@@ -1,7 +1,7 @@
1
1
  import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
2
2
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
3
3
  import React, { useState, useRef } from 'react';
4
- import { Item } from 'react-stately';
4
+ import { Item } from '@react-stately/collections';
5
5
  import ArrowTopRightBottomLeft from 'mdi-react/ArrowTopRightBottomLeftIcon';
6
6
  import ArrowCollapse from 'mdi-react/ArrowCollapseIcon';
7
7
  import CloseIcon from 'mdi-react/CloseIcon';
@@ -105,7 +105,7 @@ export var InnerPanel = function InnerPanel(_ref2) {
105
105
  };
106
106
 
107
107
  var inner = ___EmotionJSX(React.Fragment, null, innerState.isOpen && ___EmotionJSX(OverlayPanel, _extends({
108
- variant: "overlayPanel.innerPanel" // applies higher z-index
108
+ variant: "overlayPanel.overlayPanelInner" // applies higher z-index
109
109
  ,
110
110
  isOpen: innerState.isOpen
111
111
  }, args, {
@@ -20,14 +20,13 @@ import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
20
20
  import _Array$isArray from "@babel/runtime-corejs3/core-js-stable/array/is-array";
21
21
  import _Object$values from "@babel/runtime-corejs3/core-js-stable/object/values";
22
22
  import React, { forwardRef, useRef, useImperativeHandle, useState, useCallback } from 'react';
23
- import EyeOffIcon from 'mdi-react/EyeOffOutlineIcon';
24
- import EyeIcon from 'mdi-react/EyeOutlineIcon';
25
23
  import PropTypes from 'prop-types';
26
- import { useOverlayPosition } from 'react-aria';
24
+ import EyeIcon from 'mdi-react/EyeOutlineIcon';
25
+ import EyeOffIcon from 'mdi-react/EyeOffOutlineIcon';
26
+ import { useOverlayPosition } from '@react-aria/overlays';
27
27
  import { useLayoutEffect, useResizeObserver } from '@react-aria/utils';
28
28
  import { Box, FieldHelperText, Icon, IconButton, Input, Label, PopoverContainer, RequirementsList } from '../../';
29
29
  import { ariaAttributesBasePropTypes } from '../../utils/devUtils/props/ariaAttributes';
30
- import { inputFieldAttributesBasePropTypes } from '../../utils/devUtils/props/fieldAttributes';
31
30
  import statuses from '../../utils/devUtils/constants/statuses';
32
31
  import * as hooks from '../../hooks';
33
32
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -60,11 +59,10 @@ var PasswordField = /*#__PURE__*/forwardRef(function (props, ref) {
60
59
  status: status
61
60
  }, others)),
62
61
  fieldContainerProps = _hooks$useField.fieldContainerProps,
63
- fieldControlInputProps = _hooks$useField.fieldControlInputProps,
64
- fieldControlWrapperProps = _hooks$useField.fieldControlWrapperProps,
62
+ fieldControlProps = _hooks$useField.fieldControlProps,
65
63
  fieldLabelProps = _hooks$useField.fieldLabelProps;
66
64
 
67
- var isFocused = fieldControlInputProps.isFocused;
65
+ var isFocused = fieldControlProps.isFocused;
68
66
  var inputRef = useRef();
69
67
  var popoverRef = useRef();
70
68
  hooks.usePropWarning(props, 'disabled', 'isDisabled');
@@ -120,7 +118,7 @@ var PasswordField = /*#__PURE__*/forwardRef(function (props, ref) {
120
118
  width: menuWidth
121
119
  }, overlayProps.style);
122
120
 
123
- var _hooks$useStatusClass = hooks.useStatusClasses(fieldControlWrapperProps.className, {
121
+ var _hooks$useStatusClass = hooks.useStatusClasses(fieldControlProps.className, {
124
122
  'is-success': status === statuses.SUCCESS || checkRequirements() && requirements.length > 0
125
123
  }),
126
124
  classNames = _hooks$useStatusClass.classNames;
@@ -142,15 +140,14 @@ var PasswordField = /*#__PURE__*/forwardRef(function (props, ref) {
142
140
  };
143
141
 
144
142
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, _extends({
145
- variant: "forms.input.fieldContainer"
146
- }, fieldContainerProps), ___EmotionJSX(Label, fieldLabelProps), ___EmotionJSX(Box, _extends({
147
- variant: "forms.input.fieldControlWrapper",
148
- isRow: true
149
- }, fieldControlWrapperProps, {
143
+ variant: "forms.input.wrapper"
144
+ }, fieldContainerProps), ___EmotionJSX(Label, fieldLabelProps), ___EmotionJSX(Box, {
145
+ variant: "forms.input.container",
146
+ isRow: true,
150
147
  className: classNames
151
- }), ___EmotionJSX(Input, _extends({
148
+ }, ___EmotionJSX(Input, _extends({
152
149
  ref: inputRef
153
- }, fieldControlInputProps, {
150
+ }, fieldControlProps, {
154
151
  type: isVisible ? 'text' : 'password',
155
152
  sx: {
156
153
  pr: '43px'
@@ -160,7 +157,7 @@ var PasswordField = /*#__PURE__*/forwardRef(function (props, ref) {
160
157
  variant: "forms.input.containedIcon"
161
158
  }, ___EmotionJSX(IconButton, {
162
159
  "aria-label": toggleShowPasswordAriaLabel,
163
- isDisabled: fieldControlInputProps.disabled,
160
+ isDisabled: fieldControlProps.disabled,
164
161
  onPress: handleToggleShowPassword,
165
162
  size: 28
166
163
  }, ___EmotionJSX(Icon, {
@@ -180,7 +177,7 @@ var PasswordField = /*#__PURE__*/forwardRef(function (props, ref) {
180
177
  requirements: requirements
181
178
  })));
182
179
  });
183
- PasswordField.propTypes = _objectSpread(_objectSpread({
180
+ PasswordField.propTypes = _objectSpread({
184
181
  /** The rendered label for the field. */
185
182
  label: PropTypes.node,
186
183
 
@@ -262,6 +259,15 @@ PasswordField.propTypes = _objectSpread(_objectSpread({
262
259
  /** Determines the type of input to use. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdeftype). */
263
260
  type: PropTypes.string,
264
261
 
262
+ /** Props object that is spread directly into the root (top-level) element. */
263
+ containerProps: PropTypes.shape({}),
264
+
265
+ /** Props object that is spread directly into the input element. */
266
+ controlProps: PropTypes.shape({}),
267
+
268
+ /** Props object that is spread directly into the label element. */
269
+ labelProps: PropTypes.shape({}),
270
+
265
271
  /** @ignore Prop that allows testing of the icon button. */
266
272
  viewHiddenIconTestId: PropTypes.string,
267
273
 
@@ -273,7 +279,7 @@ PasswordField.propTypes = _objectSpread(_objectSpread({
273
279
  name: PropTypes.string.isRequired,
274
280
  status: PropTypes.oneOf(['default', 'success', 'warning', 'error'])
275
281
  }))
276
- }, ariaAttributesBasePropTypes), inputFieldAttributesBasePropTypes);
282
+ }, ariaAttributesBasePropTypes);
277
283
  PasswordField.defaultProps = {
278
284
  hasAutoFocus: false,
279
285
  isDisabled: false,
@@ -18,7 +18,6 @@ import React, { useState } from 'react';
18
18
  import isEmpty from 'lodash/isEmpty';
19
19
  import PasswordField from '.';
20
20
  import { ariaAttributeBaseArgTypes } from '../../utils/devUtils/props/ariaAttributes';
21
- import { inputFieldAttributeBaseArgTypes } from '../../utils/devUtils/props/fieldAttributes';
22
21
  import statuses from '../../utils/devUtils/constants/statuses';
23
22
  import { jsx as ___EmotionJSX } from "@emotion/react";
24
23
  export default {
@@ -31,7 +30,7 @@ export default {
31
30
  }
32
31
  }
33
32
  },
34
- argTypes: _objectSpread(_objectSpread({
33
+ argTypes: _objectSpread({
35
34
  status: {
36
35
  control: {
37
36
  type: 'select',
@@ -44,7 +43,7 @@ export default {
44
43
  type: 'text'
45
44
  }
46
45
  }
47
- }, ariaAttributeBaseArgTypes), inputFieldAttributeBaseArgTypes)
46
+ }, ariaAttributeBaseArgTypes)
48
47
  };
49
48
  export var Default = function Default(args) {
50
49
  return ___EmotionJSX(PasswordField, _extends({
@@ -9,7 +9,7 @@ import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object
9
9
  import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
10
10
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
11
11
  import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
12
- var _excluded = ["children"],
12
+ var _excluded = ["children", "placement", "arrowProps", "arrowCrossOffset", "onClose", "isNotClosedOnBlur", "hasNoArrow", "isKeyboardDismissDisabled", "isNonModal", "isDismissable", "width", "direction"],
13
13
  _excluded2 = ["children", "className", "placement", "arrowProps", "arrowCrossOffset", "isOpen", "hasNoArrow", "isNotClosedOnBlur", "isKeyboardDismissDisabled", "isNonModal", "isDismissable", "width", "direction", "sx"],
14
14
  _excluded3 = ["arrowCrossOffset", "sx", "direction"];
15
15
 
@@ -19,7 +19,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
19
19
 
20
20
  import React, { forwardRef, useImperativeHandle, useRef } from 'react';
21
21
  import PropTypes from 'prop-types';
22
- import { mergeProps, OverlayContainer, useModal, useOverlay } from 'react-aria';
22
+ import { useModal, useOverlay, OverlayContainer } from '@react-aria/overlays';
23
+ import { mergeProps } from '@react-aria/utils';
23
24
  import { useStatusClasses } from '../../hooks';
24
25
  import Box from '../Box';
25
26
  /**
@@ -29,10 +30,32 @@ import Box from '../Box';
29
30
  import { jsx as ___EmotionJSX } from "@emotion/react";
30
31
  var PopoverContainer = /*#__PURE__*/forwardRef(function (props, ref) {
31
32
  var children = props.children,
33
+ placement = props.placement,
34
+ arrowProps = props.arrowProps,
35
+ arrowCrossOffset = props.arrowCrossOffset,
36
+ onClose = props.onClose,
37
+ isNotClosedOnBlur = props.isNotClosedOnBlur,
38
+ hasNoArrow = props.hasNoArrow,
39
+ isKeyboardDismissDisabled = props.isKeyboardDismissDisabled,
40
+ isNonModal = props.isNonModal,
41
+ isDismissable = props.isDismissable,
42
+ width = props.width,
43
+ direction = props.direction,
32
44
  others = _objectWithoutProperties(props, _excluded);
33
45
 
34
46
  return ___EmotionJSX(OverlayContainer, null, ___EmotionJSX(PopoverWrapper, _extends({
35
- ref: ref
47
+ ref: ref,
48
+ placement: placement,
49
+ arrowProps: arrowProps,
50
+ onClose: onClose,
51
+ isNotClosedOnBlur: isNotClosedOnBlur,
52
+ isKeyboardDismissDisabled: isKeyboardDismissDisabled,
53
+ hasNoArrow: hasNoArrow,
54
+ isNonModal: isNonModal,
55
+ isDismissable: isDismissable,
56
+ arrowCrossOffset: arrowCrossOffset,
57
+ width: width,
58
+ direction: direction
36
59
  }, others), children));
37
60
  });
38
61
  PopoverContainer.propTypes = {