@okta/odyssey-react-mui 1.65.0 → 1.65.1

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/dist/cjs/Accordion.cjs +1 -1
  2. package/dist/cjs/Autocomplete.cjs +1 -1
  3. package/dist/cjs/Badge.cjs +1 -1
  4. package/dist/cjs/Banner.cjs +1 -1
  5. package/dist/cjs/Box.cjs +1 -1
  6. package/dist/cjs/Breadcrumbs.cjs +1 -1
  7. package/dist/cjs/Buttons/BaseButton.cjs +1 -1
  8. package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
  9. package/dist/cjs/Buttons/Button.cjs +1 -1
  10. package/dist/cjs/Buttons/MenuButton.cjs +1 -1
  11. package/dist/cjs/Buttons/MenuItem.cjs +1 -1
  12. package/dist/cjs/Callout.cjs +1 -6
  13. package/dist/cjs/Callout.cjs.map +1 -1
  14. package/dist/cjs/Card.cjs +1 -1
  15. package/dist/cjs/CircularProgress.cjs +1 -1
  16. package/dist/cjs/ConditionalWrapper.cjs +1 -1
  17. package/dist/cjs/DataTable/DataTable.cjs +1 -1
  18. package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
  19. package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
  20. package/dist/cjs/DatePickers/DateField.cjs +1 -1
  21. package/dist/cjs/DatePickers/DateFieldActionBar.cjs +1 -1
  22. package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs +1 -1
  23. package/dist/cjs/DatePickers/DatePicker.cjs +1 -1
  24. package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
  25. package/dist/cjs/Dialog.cjs +8 -1
  26. package/dist/cjs/Dialog.cjs.map +1 -1
  27. package/dist/cjs/Drawer.cjs +1 -1
  28. package/dist/cjs/EmptyState.cjs +1 -1
  29. package/dist/cjs/ErrorMessageList.cjs +1 -1
  30. package/dist/cjs/Field.cjs +1 -1
  31. package/dist/cjs/FieldError.cjs +1 -1
  32. package/dist/cjs/FieldHint.cjs +1 -1
  33. package/dist/cjs/FieldLabel.cjs +1 -1
  34. package/dist/cjs/Fields/Checkbox.cjs +1 -1
  35. package/dist/cjs/Fields/CheckboxGroup.cjs +1 -1
  36. package/dist/cjs/Fields/Radio.cjs +1 -1
  37. package/dist/cjs/Fields/RadioGroup.cjs +1 -1
  38. package/dist/cjs/Fieldset.cjs +1 -1
  39. package/dist/cjs/FileUploader/FileUploadIllustration.cjs +1 -1
  40. package/dist/cjs/FileUploader/FileUploadPreview.cjs +1 -1
  41. package/dist/cjs/FileUploader/FileUploader.cjs +1 -1
  42. package/dist/cjs/Form.cjs +1 -1
  43. package/dist/cjs/FullScreenOverlay.cjs +1 -1
  44. package/dist/cjs/FullScreenOverlayContext.cjs +1 -1
  45. package/dist/cjs/HintLink.cjs +1 -1
  46. package/dist/cjs/IconWithTooltip.cjs +1 -1
  47. package/dist/cjs/Link.cjs +1 -1
  48. package/dist/cjs/MuiPropsChild.cjs +1 -1
  49. package/dist/cjs/NativeSelect.cjs +1 -1
  50. package/dist/cjs/OdysseyCacheProvider.cjs +1 -1
  51. package/dist/cjs/OdysseyProvider.cjs +1 -1
  52. package/dist/cjs/OdysseyThemeProvider.cjs +1 -1
  53. package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
  54. package/dist/cjs/Pagination/Pagination.cjs +1 -1
  55. package/dist/cjs/PasswordField.cjs +1 -1
  56. package/dist/cjs/ScreenReaderText.cjs +1 -1
  57. package/dist/cjs/SearchField.cjs +1 -1
  58. package/dist/cjs/Select.cjs +1 -1
  59. package/dist/cjs/Stack.cjs +1 -1
  60. package/dist/cjs/Status.cjs +1 -1
  61. package/dist/cjs/Surface.cjs +1 -1
  62. package/dist/cjs/Switch.cjs +2 -2
  63. package/dist/cjs/Tabs.cjs +1 -1
  64. package/dist/cjs/Tag.cjs +1 -1
  65. package/dist/cjs/TagList.cjs +1 -1
  66. package/dist/cjs/TextField.cjs +1 -1
  67. package/dist/cjs/Toast.cjs +1 -1
  68. package/dist/cjs/ToastStack.cjs +1 -1
  69. package/dist/cjs/Tooltip.cjs +1 -1
  70. package/dist/cjs/Typography.cjs +12 -12
  71. package/dist/cjs/icons.generated/Add.cjs +1 -1
  72. package/dist/cjs/icons.generated/AddCircle.cjs +1 -1
  73. package/dist/cjs/icons.generated/Apps.cjs +1 -1
  74. package/dist/cjs/icons.generated/AppsSelected.cjs +1 -1
  75. package/dist/cjs/icons.generated/ArrowBottom.cjs +1 -1
  76. package/dist/cjs/icons.generated/ArrowDown.cjs +1 -1
  77. package/dist/cjs/icons.generated/ArrowLeft.cjs +1 -1
  78. package/dist/cjs/icons.generated/ArrowLowerLeft.cjs +1 -1
  79. package/dist/cjs/icons.generated/ArrowLowerRight.cjs +1 -1
  80. package/dist/cjs/icons.generated/ArrowRight.cjs +1 -1
  81. package/dist/cjs/icons.generated/ArrowTop.cjs +1 -1
  82. package/dist/cjs/icons.generated/ArrowUnsorted.cjs +1 -1
  83. package/dist/cjs/icons.generated/ArrowUp.cjs +1 -1
  84. package/dist/cjs/icons.generated/ArrowUpperLeft.cjs +1 -1
  85. package/dist/cjs/icons.generated/ArrowUpperRight.cjs +1 -1
  86. package/dist/cjs/icons.generated/Bug.cjs +1 -1
  87. package/dist/cjs/icons.generated/Calendar.cjs +1 -1
  88. package/dist/cjs/icons.generated/Call.cjs +1 -1
  89. package/dist/cjs/icons.generated/Chat.cjs +1 -1
  90. package/dist/cjs/icons.generated/Check.cjs +1 -1
  91. package/dist/cjs/icons.generated/CheckCircleFilled.cjs +1 -1
  92. package/dist/cjs/icons.generated/ChevronDown.cjs +1 -1
  93. package/dist/cjs/icons.generated/ChevronLeft.cjs +1 -1
  94. package/dist/cjs/icons.generated/ChevronRight.cjs +1 -1
  95. package/dist/cjs/icons.generated/ChevronUp.cjs +1 -1
  96. package/dist/cjs/icons.generated/Clock.cjs +1 -1
  97. package/dist/cjs/icons.generated/Close.cjs +1 -1
  98. package/dist/cjs/icons.generated/CloseCircleFilled.cjs +1 -1
  99. package/dist/cjs/icons.generated/CollapseLeft.cjs +1 -1
  100. package/dist/cjs/icons.generated/CollapseRight.cjs +1 -1
  101. package/dist/cjs/icons.generated/Copy.cjs +1 -1
  102. package/dist/cjs/icons.generated/Customizations.cjs +1 -1
  103. package/dist/cjs/icons.generated/CustomizationsSelected.cjs +1 -1
  104. package/dist/cjs/icons.generated/DangerDiamond.cjs +1 -1
  105. package/dist/cjs/icons.generated/DangerDiamondFilled.cjs +1 -1
  106. package/dist/cjs/icons.generated/Delete.cjs +1 -1
  107. package/dist/cjs/icons.generated/Deny.cjs +1 -1
  108. package/dist/cjs/icons.generated/Devices.cjs +1 -1
  109. package/dist/cjs/icons.generated/Directory.cjs +1 -1
  110. package/dist/cjs/icons.generated/DirectorySelected.cjs +1 -1
  111. package/dist/cjs/icons.generated/Documentation.cjs +1 -1
  112. package/dist/cjs/icons.generated/Download.cjs +1 -1
  113. package/dist/cjs/icons.generated/DragIndicator.cjs +1 -1
  114. package/dist/cjs/icons.generated/Edit.cjs +1 -1
  115. package/dist/cjs/icons.generated/ExpandLeft.cjs +1 -1
  116. package/dist/cjs/icons.generated/ExpandRight.cjs +1 -1
  117. package/dist/cjs/icons.generated/ExternalLink.cjs +1 -1
  118. package/dist/cjs/icons.generated/Filter.cjs +1 -1
  119. package/dist/cjs/icons.generated/Folder.cjs +1 -1
  120. package/dist/cjs/icons.generated/Globe.cjs +1 -1
  121. package/dist/cjs/icons.generated/Grid.cjs +1 -1
  122. package/dist/cjs/icons.generated/Group.cjs +1 -1
  123. package/dist/cjs/icons.generated/Happy.cjs +1 -1
  124. package/dist/cjs/icons.generated/Hide.cjs +1 -1
  125. package/dist/cjs/icons.generated/Home.cjs +1 -1
  126. package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
  127. package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
  128. package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
  129. package/dist/cjs/icons.generated/InformationCircle.cjs +1 -1
  130. package/dist/cjs/icons.generated/InformationCircleFilled.cjs +1 -1
  131. package/dist/cjs/icons.generated/Link.cjs +1 -1
  132. package/dist/cjs/icons.generated/List.cjs +1 -1
  133. package/dist/cjs/icons.generated/Lock.cjs +1 -1
  134. package/dist/cjs/icons.generated/Menu.cjs +1 -1
  135. package/dist/cjs/icons.generated/More.cjs +1 -1
  136. package/dist/cjs/icons.generated/Neutral.cjs +1 -1
  137. package/dist/cjs/icons.generated/Notification.cjs +1 -1
  138. package/dist/cjs/icons.generated/Pause.cjs +1 -1
  139. package/dist/cjs/icons.generated/QuestionCircle.cjs +1 -1
  140. package/dist/cjs/icons.generated/QuestionCircleFilled.cjs +1 -1
  141. package/dist/cjs/icons.generated/Refresh.cjs +1 -1
  142. package/dist/cjs/icons.generated/Reports.cjs +1 -1
  143. package/dist/cjs/icons.generated/ReportsSelected.cjs +1 -1
  144. package/dist/cjs/icons.generated/Reset.cjs +1 -1
  145. package/dist/cjs/icons.generated/Resume.cjs +1 -1
  146. package/dist/cjs/icons.generated/Sad.cjs +1 -1
  147. package/dist/cjs/icons.generated/Same.cjs +1 -1
  148. package/dist/cjs/icons.generated/Search.cjs +1 -1
  149. package/dist/cjs/icons.generated/Security.cjs +1 -1
  150. package/dist/cjs/icons.generated/SecuritySelected.cjs +1 -1
  151. package/dist/cjs/icons.generated/Send.cjs +1 -1
  152. package/dist/cjs/icons.generated/Server.cjs +1 -1
  153. package/dist/cjs/icons.generated/Settings.cjs +1 -1
  154. package/dist/cjs/icons.generated/SettingsSelected.cjs +1 -1
  155. package/dist/cjs/icons.generated/Show.cjs +1 -1
  156. package/dist/cjs/icons.generated/Sparkle.cjs +1 -1
  157. package/dist/cjs/icons.generated/Subtract.cjs +1 -1
  158. package/dist/cjs/icons.generated/Sync.cjs +1 -1
  159. package/dist/cjs/icons.generated/ThumbsDown.cjs +1 -1
  160. package/dist/cjs/icons.generated/ThumbsUp.cjs +1 -1
  161. package/dist/cjs/icons.generated/Unlock.cjs +1 -1
  162. package/dist/cjs/icons.generated/Upload.cjs +1 -1
  163. package/dist/cjs/icons.generated/User.cjs +1 -1
  164. package/dist/cjs/icons.generated/Video.cjs +1 -1
  165. package/dist/cjs/icons.generated/Warning.cjs +1 -1
  166. package/dist/cjs/icons.generated/WarningFilled.cjs +1 -1
  167. package/dist/cjs/icons.generated/Workflows.cjs +1 -1
  168. package/dist/cjs/icons.generated/WorkflowsSelected.cjs +1 -1
  169. package/dist/cjs/index.cjs +48 -0
  170. package/dist/cjs/index.cjs.map +1 -1
  171. package/dist/cjs/labs/AppTile.cjs +1 -1
  172. package/dist/cjs/labs/DataFilters.cjs +2 -2
  173. package/dist/cjs/labs/DataTable.cjs +1 -1
  174. package/dist/cjs/labs/DataTablePagination.cjs +1 -1
  175. package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +1 -1
  176. package/dist/cjs/labs/DataView/CardLayoutContent.cjs +2 -2
  177. package/dist/cjs/labs/DataView/DataCard.cjs +1 -1
  178. package/dist/cjs/labs/DataView/DataTable.cjs +1 -1
  179. package/dist/cjs/labs/DataView/DataView.cjs +1 -1
  180. package/dist/cjs/labs/DataView/DetailPanel.cjs +1 -1
  181. package/dist/cjs/labs/DataView/LayoutSwitcher.cjs +1 -1
  182. package/dist/cjs/labs/DataView/RowActions.cjs +1 -1
  183. package/dist/cjs/labs/DataView/TableLayoutContent.cjs +1 -1
  184. package/dist/cjs/labs/DataView/TableSettings.cjs +1 -1
  185. package/dist/cjs/labs/DatePickers/DateTimeField.cjs +1 -1
  186. package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +1 -1
  187. package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +1 -1
  188. package/dist/cjs/labs/OdysseyPickers/Picker.cjs +1 -1
  189. package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs +1 -1
  190. package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs +1 -1
  191. package/dist/cjs/labs/OdysseyPickers/SearchDropdown.cjs +1 -1
  192. package/dist/cjs/labs/PageTemplate/DocumentationLink.cjs +1 -1
  193. package/dist/cjs/labs/PageTemplate/Layout.cjs +1 -1
  194. package/dist/cjs/labs/PageTemplate/PageTemplate.cjs +1 -1
  195. package/dist/cjs/labs/PaginatedTable.cjs +1 -1
  196. package/dist/cjs/labs/StaticTable.cjs +1 -1
  197. package/dist/cjs/labs/UserProfile.cjs +1 -1
  198. package/dist/cjs/labs/UserProfileMenuButton.cjs +1 -1
  199. package/dist/cjs/logos.generated/Duo.cjs +1 -1
  200. package/dist/cjs/logos.generated/GoogleAuth.cjs +1 -1
  201. package/dist/cjs/logos.generated/OktaVerify.cjs +1 -1
  202. package/dist/cjs/logos.generated/Persona.cjs +1 -1
  203. package/dist/cjs/logos.generated/SymantecVip.cjs +1 -1
  204. package/dist/cjs/logos.generated/Yubikey.cjs +1 -1
  205. package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs +2 -3
  206. package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs.map +1 -1
  207. package/dist/cjs/test-utils/viewportTestSizes.cjs +21 -0
  208. package/dist/cjs/test-utils/viewportTestSizes.cjs.map +1 -0
  209. package/dist/cjs/theme/components/Dialog.cjs +6 -2
  210. package/dist/cjs/theme/components/Dialog.cjs.map +1 -1
  211. package/dist/cjs/theme/useMediaQuery.cjs +34 -13
  212. package/dist/cjs/theme/useMediaQuery.cjs.map +1 -1
  213. package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs +1 -1
  214. package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -1
  215. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +1 -1
  216. package/dist/cjs/ui-shell/SideNav/NavAccordion.cjs +1 -1
  217. package/dist/cjs/ui-shell/SideNav/SideNav.cjs +10 -2
  218. package/dist/cjs/ui-shell/SideNav/SideNav.cjs.map +1 -1
  219. package/dist/cjs/ui-shell/SideNav/SideNavFooterContent.cjs +1 -1
  220. package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs +1 -1
  221. package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs +4 -3
  222. package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs.map +1 -1
  223. package/dist/cjs/ui-shell/SideNav/SideNavItemLinkContent.cjs +1 -1
  224. package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs +1 -1
  225. package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs +2 -2
  226. package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
  227. package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
  228. package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
  229. package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs +1 -1
  230. package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs +1 -1
  231. package/dist/cjs/ui-shell/UiShell.cjs +1 -1
  232. package/dist/cjs/ui-shell/UiShellLogo.cjs +1 -1
  233. package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
  234. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  235. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  236. package/dist/esm/Accordion.js +1 -1
  237. package/dist/esm/Autocomplete.js +1 -1
  238. package/dist/esm/Badge.js +1 -1
  239. package/dist/esm/Banner.js +1 -1
  240. package/dist/esm/Box.js +1 -1
  241. package/dist/esm/Breadcrumbs.js +1 -1
  242. package/dist/esm/Buttons/BaseButton.js +1 -1
  243. package/dist/esm/Buttons/BaseMenuButton.js +1 -1
  244. package/dist/esm/Buttons/Button.js +1 -1
  245. package/dist/esm/Buttons/MenuButton.js +1 -1
  246. package/dist/esm/Buttons/MenuItem.js +1 -1
  247. package/dist/esm/Callout.js +1 -6
  248. package/dist/esm/Callout.js.map +1 -1
  249. package/dist/esm/Card.js +1 -1
  250. package/dist/esm/CircularProgress.js +1 -1
  251. package/dist/esm/ConditionalWrapper.js +1 -1
  252. package/dist/esm/DataTable/DataTable.js +1 -1
  253. package/dist/esm/DataTable/DataTableRowActions.js +1 -1
  254. package/dist/esm/DataTable/DataTableSettings.js +1 -1
  255. package/dist/esm/DatePickers/DateField.js +1 -1
  256. package/dist/esm/DatePickers/DateFieldActionBar.js +1 -1
  257. package/dist/esm/DatePickers/DateFieldLocalizationProvider.js +1 -1
  258. package/dist/esm/DatePickers/DatePicker.js +1 -1
  259. package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
  260. package/dist/esm/Dialog.js +8 -1
  261. package/dist/esm/Dialog.js.map +1 -1
  262. package/dist/esm/Drawer.js +1 -1
  263. package/dist/esm/EmptyState.js +1 -1
  264. package/dist/esm/ErrorMessageList.js +1 -1
  265. package/dist/esm/Field.js +1 -1
  266. package/dist/esm/FieldError.js +1 -1
  267. package/dist/esm/FieldHint.js +1 -1
  268. package/dist/esm/FieldLabel.js +1 -1
  269. package/dist/esm/Fields/Checkbox.js +1 -1
  270. package/dist/esm/Fields/CheckboxGroup.js +1 -1
  271. package/dist/esm/Fields/Radio.js +1 -1
  272. package/dist/esm/Fields/RadioGroup.js +1 -1
  273. package/dist/esm/Fieldset.js +1 -1
  274. package/dist/esm/FileUploader/FileUploadIllustration.js +1 -1
  275. package/dist/esm/FileUploader/FileUploadPreview.js +1 -1
  276. package/dist/esm/FileUploader/FileUploader.js +1 -1
  277. package/dist/esm/Form.js +1 -1
  278. package/dist/esm/FullScreenOverlay.js +1 -1
  279. package/dist/esm/FullScreenOverlayContext.js +1 -1
  280. package/dist/esm/HintLink.js +1 -1
  281. package/dist/esm/IconWithTooltip.js +1 -1
  282. package/dist/esm/Link.js +1 -1
  283. package/dist/esm/MuiPropsChild.js +1 -1
  284. package/dist/esm/NativeSelect.js +1 -1
  285. package/dist/esm/OdysseyCacheProvider.js +1 -1
  286. package/dist/esm/OdysseyProvider.js +1 -1
  287. package/dist/esm/OdysseyThemeProvider.js +1 -1
  288. package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
  289. package/dist/esm/Pagination/Pagination.js +1 -1
  290. package/dist/esm/PasswordField.js +1 -1
  291. package/dist/esm/ScreenReaderText.js +1 -1
  292. package/dist/esm/SearchField.js +1 -1
  293. package/dist/esm/Select.js +1 -1
  294. package/dist/esm/Stack.js +1 -1
  295. package/dist/esm/Status.js +1 -1
  296. package/dist/esm/Surface.js +1 -1
  297. package/dist/esm/Switch.js +2 -2
  298. package/dist/esm/Tabs.js +1 -1
  299. package/dist/esm/Tag.js +1 -1
  300. package/dist/esm/TagList.js +1 -1
  301. package/dist/esm/TextField.js +1 -1
  302. package/dist/esm/Toast.js +1 -1
  303. package/dist/esm/ToastStack.js +1 -1
  304. package/dist/esm/Tooltip.js +1 -1
  305. package/dist/esm/Typography.js +12 -12
  306. package/dist/esm/icons.generated/Add.js +1 -1
  307. package/dist/esm/icons.generated/AddCircle.js +1 -1
  308. package/dist/esm/icons.generated/Apps.js +1 -1
  309. package/dist/esm/icons.generated/AppsSelected.js +1 -1
  310. package/dist/esm/icons.generated/ArrowBottom.js +1 -1
  311. package/dist/esm/icons.generated/ArrowDown.js +1 -1
  312. package/dist/esm/icons.generated/ArrowLeft.js +1 -1
  313. package/dist/esm/icons.generated/ArrowLowerLeft.js +1 -1
  314. package/dist/esm/icons.generated/ArrowLowerRight.js +1 -1
  315. package/dist/esm/icons.generated/ArrowRight.js +1 -1
  316. package/dist/esm/icons.generated/ArrowTop.js +1 -1
  317. package/dist/esm/icons.generated/ArrowUnsorted.js +1 -1
  318. package/dist/esm/icons.generated/ArrowUp.js +1 -1
  319. package/dist/esm/icons.generated/ArrowUpperLeft.js +1 -1
  320. package/dist/esm/icons.generated/ArrowUpperRight.js +1 -1
  321. package/dist/esm/icons.generated/Bug.js +1 -1
  322. package/dist/esm/icons.generated/Calendar.js +1 -1
  323. package/dist/esm/icons.generated/Call.js +1 -1
  324. package/dist/esm/icons.generated/Chat.js +1 -1
  325. package/dist/esm/icons.generated/Check.js +1 -1
  326. package/dist/esm/icons.generated/CheckCircleFilled.js +1 -1
  327. package/dist/esm/icons.generated/ChevronDown.js +1 -1
  328. package/dist/esm/icons.generated/ChevronLeft.js +1 -1
  329. package/dist/esm/icons.generated/ChevronRight.js +1 -1
  330. package/dist/esm/icons.generated/ChevronUp.js +1 -1
  331. package/dist/esm/icons.generated/Clock.js +1 -1
  332. package/dist/esm/icons.generated/Close.js +1 -1
  333. package/dist/esm/icons.generated/CloseCircleFilled.js +1 -1
  334. package/dist/esm/icons.generated/CollapseLeft.js +1 -1
  335. package/dist/esm/icons.generated/CollapseRight.js +1 -1
  336. package/dist/esm/icons.generated/Copy.js +1 -1
  337. package/dist/esm/icons.generated/Customizations.js +1 -1
  338. package/dist/esm/icons.generated/CustomizationsSelected.js +1 -1
  339. package/dist/esm/icons.generated/DangerDiamond.js +1 -1
  340. package/dist/esm/icons.generated/DangerDiamondFilled.js +1 -1
  341. package/dist/esm/icons.generated/Delete.js +1 -1
  342. package/dist/esm/icons.generated/Deny.js +1 -1
  343. package/dist/esm/icons.generated/Devices.js +1 -1
  344. package/dist/esm/icons.generated/Directory.js +1 -1
  345. package/dist/esm/icons.generated/DirectorySelected.js +1 -1
  346. package/dist/esm/icons.generated/Documentation.js +1 -1
  347. package/dist/esm/icons.generated/Download.js +1 -1
  348. package/dist/esm/icons.generated/DragIndicator.js +1 -1
  349. package/dist/esm/icons.generated/Edit.js +1 -1
  350. package/dist/esm/icons.generated/ExpandLeft.js +1 -1
  351. package/dist/esm/icons.generated/ExpandRight.js +1 -1
  352. package/dist/esm/icons.generated/ExternalLink.js +1 -1
  353. package/dist/esm/icons.generated/Filter.js +1 -1
  354. package/dist/esm/icons.generated/Folder.js +1 -1
  355. package/dist/esm/icons.generated/Globe.js +1 -1
  356. package/dist/esm/icons.generated/Grid.js +1 -1
  357. package/dist/esm/icons.generated/Group.js +1 -1
  358. package/dist/esm/icons.generated/Happy.js +1 -1
  359. package/dist/esm/icons.generated/Hide.js +1 -1
  360. package/dist/esm/icons.generated/Home.js +1 -1
  361. package/dist/esm/icons.generated/HomeSelected.js +1 -1
  362. package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
  363. package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
  364. package/dist/esm/icons.generated/InformationCircle.js +1 -1
  365. package/dist/esm/icons.generated/InformationCircleFilled.js +1 -1
  366. package/dist/esm/icons.generated/Link.js +1 -1
  367. package/dist/esm/icons.generated/List.js +1 -1
  368. package/dist/esm/icons.generated/Lock.js +1 -1
  369. package/dist/esm/icons.generated/Menu.js +1 -1
  370. package/dist/esm/icons.generated/More.js +1 -1
  371. package/dist/esm/icons.generated/Neutral.js +1 -1
  372. package/dist/esm/icons.generated/Notification.js +1 -1
  373. package/dist/esm/icons.generated/Pause.js +1 -1
  374. package/dist/esm/icons.generated/QuestionCircle.js +1 -1
  375. package/dist/esm/icons.generated/QuestionCircleFilled.js +1 -1
  376. package/dist/esm/icons.generated/Refresh.js +1 -1
  377. package/dist/esm/icons.generated/Reports.js +1 -1
  378. package/dist/esm/icons.generated/ReportsSelected.js +1 -1
  379. package/dist/esm/icons.generated/Reset.js +1 -1
  380. package/dist/esm/icons.generated/Resume.js +1 -1
  381. package/dist/esm/icons.generated/Sad.js +1 -1
  382. package/dist/esm/icons.generated/Same.js +1 -1
  383. package/dist/esm/icons.generated/Search.js +1 -1
  384. package/dist/esm/icons.generated/Security.js +1 -1
  385. package/dist/esm/icons.generated/SecuritySelected.js +1 -1
  386. package/dist/esm/icons.generated/Send.js +1 -1
  387. package/dist/esm/icons.generated/Server.js +1 -1
  388. package/dist/esm/icons.generated/Settings.js +1 -1
  389. package/dist/esm/icons.generated/SettingsSelected.js +1 -1
  390. package/dist/esm/icons.generated/Show.js +1 -1
  391. package/dist/esm/icons.generated/Sparkle.js +1 -1
  392. package/dist/esm/icons.generated/Subtract.js +1 -1
  393. package/dist/esm/icons.generated/Sync.js +1 -1
  394. package/dist/esm/icons.generated/ThumbsDown.js +1 -1
  395. package/dist/esm/icons.generated/ThumbsUp.js +1 -1
  396. package/dist/esm/icons.generated/Unlock.js +1 -1
  397. package/dist/esm/icons.generated/Upload.js +1 -1
  398. package/dist/esm/icons.generated/User.js +1 -1
  399. package/dist/esm/icons.generated/Video.js +1 -1
  400. package/dist/esm/icons.generated/Warning.js +1 -1
  401. package/dist/esm/icons.generated/WarningFilled.js +1 -1
  402. package/dist/esm/icons.generated/Workflows.js +1 -1
  403. package/dist/esm/icons.generated/WorkflowsSelected.js +1 -1
  404. package/dist/esm/index.js +1 -1
  405. package/dist/esm/index.js.map +1 -1
  406. package/dist/esm/labs/AppTile.js +1 -1
  407. package/dist/esm/labs/DataFilters.js +2 -2
  408. package/dist/esm/labs/DataTable.js +1 -1
  409. package/dist/esm/labs/DataTablePagination.js +1 -1
  410. package/dist/esm/labs/DataView/BulkActionsMenu.js +1 -1
  411. package/dist/esm/labs/DataView/CardLayoutContent.js +2 -2
  412. package/dist/esm/labs/DataView/DataCard.js +1 -1
  413. package/dist/esm/labs/DataView/DataTable.js +1 -1
  414. package/dist/esm/labs/DataView/DataView.js +1 -1
  415. package/dist/esm/labs/DataView/DetailPanel.js +1 -1
  416. package/dist/esm/labs/DataView/LayoutSwitcher.js +1 -1
  417. package/dist/esm/labs/DataView/RowActions.js +1 -1
  418. package/dist/esm/labs/DataView/TableLayoutContent.js +1 -1
  419. package/dist/esm/labs/DataView/TableSettings.js +1 -1
  420. package/dist/esm/labs/DatePickers/DateTimeField.js +1 -1
  421. package/dist/esm/labs/DatePickers/DateTimePicker.js +1 -1
  422. package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +1 -1
  423. package/dist/esm/labs/OdysseyPickers/Picker.js +1 -1
  424. package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js +1 -1
  425. package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js +1 -1
  426. package/dist/esm/labs/OdysseyPickers/SearchDropdown.js +1 -1
  427. package/dist/esm/labs/PageTemplate/DocumentationLink.js +1 -1
  428. package/dist/esm/labs/PageTemplate/Layout.js +1 -1
  429. package/dist/esm/labs/PageTemplate/PageTemplate.js +1 -1
  430. package/dist/esm/labs/PaginatedTable.js +1 -1
  431. package/dist/esm/labs/StaticTable.js +1 -1
  432. package/dist/esm/labs/UserProfile.js +1 -1
  433. package/dist/esm/labs/UserProfileMenuButton.js +1 -1
  434. package/dist/esm/logos.generated/Duo.js +1 -1
  435. package/dist/esm/logos.generated/GoogleAuth.js +1 -1
  436. package/dist/esm/logos.generated/OktaVerify.js +1 -1
  437. package/dist/esm/logos.generated/Persona.js +1 -1
  438. package/dist/esm/logos.generated/SymantecVip.js +1 -1
  439. package/dist/esm/logos.generated/Yubikey.js +1 -1
  440. package/dist/esm/test-utils/renderWithOdysseyProvider.js +2 -3
  441. package/dist/esm/test-utils/renderWithOdysseyProvider.js.map +1 -1
  442. package/dist/esm/test-utils/viewportTestSizes.js +17 -0
  443. package/dist/esm/test-utils/viewportTestSizes.js.map +1 -0
  444. package/dist/esm/theme/components/Dialog.js +6 -2
  445. package/dist/esm/theme/components/Dialog.js.map +1 -1
  446. package/dist/esm/theme/useMediaQuery.js +32 -10
  447. package/dist/esm/theme/useMediaQuery.js.map +1 -1
  448. package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js +1 -1
  449. package/dist/esm/ui-shell/InnerAppContainer.js +1 -1
  450. package/dist/esm/ui-shell/NarrowUiShellContent.js +1 -1
  451. package/dist/esm/ui-shell/SideNav/NavAccordion.js +1 -1
  452. package/dist/esm/ui-shell/SideNav/SideNav.js +10 -2
  453. package/dist/esm/ui-shell/SideNav/SideNav.js.map +1 -1
  454. package/dist/esm/ui-shell/SideNav/SideNavFooterContent.js +1 -1
  455. package/dist/esm/ui-shell/SideNav/SideNavHeader.js +1 -1
  456. package/dist/esm/ui-shell/SideNav/SideNavItemContent.js +4 -3
  457. package/dist/esm/ui-shell/SideNav/SideNavItemContent.js.map +1 -1
  458. package/dist/esm/ui-shell/SideNav/SideNavItemLinkContent.js +1 -1
  459. package/dist/esm/ui-shell/SideNav/SideNavSortableList.js +1 -1
  460. package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js +2 -2
  461. package/dist/esm/ui-shell/SkipToContent.js +1 -1
  462. package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
  463. package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
  464. package/dist/esm/ui-shell/TopNav/TopNavLinksList.js +1 -1
  465. package/dist/esm/ui-shell/TopNav/TopNavListItem.js +1 -1
  466. package/dist/esm/ui-shell/UiShell.js +1 -1
  467. package/dist/esm/ui-shell/UiShellLogo.js +1 -1
  468. package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
  469. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  470. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  471. package/dist/tsconfig.production.tsbuildinfo +1 -1
  472. package/dist/types/Callout.d.ts.map +1 -1
  473. package/dist/types/Dialog.d.ts.map +1 -1
  474. package/dist/types/index.d.ts +1 -1
  475. package/dist/types/index.d.ts.map +1 -1
  476. package/dist/types/test-utils/renderWithOdysseyProvider.d.ts +14 -1
  477. package/dist/types/test-utils/renderWithOdysseyProvider.d.ts.map +1 -1
  478. package/dist/types/test-utils/viewportTestSizes.d.ts +16 -0
  479. package/dist/types/test-utils/viewportTestSizes.d.ts.map +1 -0
  480. package/dist/types/theme/components/Dialog.d.ts.map +1 -1
  481. package/dist/types/theme/useMediaQuery.d.ts +63 -0
  482. package/dist/types/theme/useMediaQuery.d.ts.map +1 -1
  483. package/dist/types/ui-shell/SideNav/SideNav.d.ts.map +1 -1
  484. package/dist/types/ui-shell/SideNav/SideNavItemContent.d.ts.map +1 -1
  485. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  486. package/package.json +7 -7
@@ -133,5 +133,5 @@ const TopNavListItem = ({
133
133
  });
134
134
  };
135
135
  const MemoizedTopNavListItem = exports.TopNavListItem = (0, _react.memo)(TopNavListItem);
136
- MemoizedTopNavListItem.displayName = "TopNavListItem::pkg=odyssey&odysseyV=1.65.0";
136
+ MemoizedTopNavListItem.displayName = "TopNavListItem::pkg=odyssey&odysseyV=1.65.1";
137
137
  //# sourceMappingURL=TopNavListItem.cjs.map
@@ -129,5 +129,5 @@ const UiShell = ({
129
129
  });
130
130
  };
131
131
  const MemoizedUiShell = exports.UiShell = (0, _react.memo)(UiShell);
132
- MemoizedUiShell.displayName = "UiShell::pkg=odyssey&odysseyV=1.65.0";
132
+ MemoizedUiShell.displayName = "UiShell::pkg=odyssey&odysseyV=1.65.1";
133
133
  //# sourceMappingURL=UiShell.cjs.map
@@ -72,5 +72,5 @@ const UiShellLogo = ({
72
72
  });
73
73
  };
74
74
  const MemoizedUiShellLogo = exports.UiShellLogo = (0, _react.memo)(UiShellLogo);
75
- MemoizedUiShellLogo.displayName = "UiShellLogo::pkg=odyssey&odysseyV=1.65.0";
75
+ MemoizedUiShellLogo.displayName = "UiShellLogo::pkg=odyssey&odysseyV=1.65.1";
76
76
  //# sourceMappingURL=UiShellLogo.cjs.map
@@ -177,5 +177,5 @@ const WideUiShellContent = ({
177
177
  });
178
178
  };
179
179
  const MemoizedWideUiShellContent = exports.WideUiShellContent = (0, _react.memo)(WideUiShellContent);
180
- MemoizedWideUiShellContent.displayName = "WideUiShellContent::pkg=odyssey&odysseyV=1.65.0";
180
+ MemoizedWideUiShellContent.displayName = "WideUiShellContent::pkg=odyssey&odysseyV=1.65.1";
181
181
  //# sourceMappingURL=WideUiShellContent.cjs.map
@@ -15,5 +15,5 @@ exports.default = void 0;
15
15
  *
16
16
  * See the License for the specific language governing permissions and limitations under the License.
17
17
  */
18
- var _default = exports.default = "1-65-0";
18
+ var _default = exports.default = "1-65-1";
19
19
  //# sourceMappingURL=odysseyWebComponentVersion.generated.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"odysseyWebComponentVersion.generated.cjs","names":["_default","exports","default"],"sources":["../../../src/web-component/odysseyWebComponentVersion.generated.ts"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\n/**\n * DO NOT UPDATE THIS FILE MANUALLY\n * This file is managed by scripts/updateWebComponentVersion.ts and any changes made will be overwritten\n * This script only needs to be run during release, and shouldn't be used during local development.\n */\n\nexport default \"1-65-0\";\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVA,IAAAA,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAkBe,QAAQ","ignoreList":[]}
1
+ {"version":3,"file":"odysseyWebComponentVersion.generated.cjs","names":["_default","exports","default"],"sources":["../../../src/web-component/odysseyWebComponentVersion.generated.ts"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\n/**\n * DO NOT UPDATE THIS FILE MANUALLY\n * This file is managed by scripts/updateWebComponentVersion.ts and any changes made will be overwritten\n * This script only needs to be run during release, and shouldn't be used during local development.\n */\n\nexport default \"1-65-1\";\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVA,IAAAA,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAkBe,QAAQ","ignoreList":[]}
@@ -57,6 +57,6 @@ const Accordion = ({
57
57
  });
58
58
  };
59
59
  const MemoizedAccordion = memo(Accordion);
60
- MemoizedAccordion.displayName = "Accordion::pkg=odyssey&odysseyV=1.65.0";
60
+ MemoizedAccordion.displayName = "Accordion::pkg=odyssey&odysseyV=1.65.1";
61
61
  export { MemoizedAccordion as Accordion };
62
62
  //# sourceMappingURL=Accordion.js.map
@@ -104,6 +104,6 @@ const Autocomplete = ({
104
104
  });
105
105
  };
106
106
  const MemoizedAutocomplete = memo(Autocomplete);
107
- MemoizedAutocomplete.displayName = "Autocomplete::pkg=odyssey&odysseyV=1.65.0";
107
+ MemoizedAutocomplete.displayName = "Autocomplete::pkg=odyssey&odysseyV=1.65.1";
108
108
  export { MemoizedAutocomplete as Autocomplete };
109
109
  //# sourceMappingURL=Autocomplete.js.map
package/dist/esm/Badge.js CHANGED
@@ -73,6 +73,6 @@ const Badge = ({
73
73
  return renderBadge;
74
74
  };
75
75
  const MemoizedBadge = memo(Badge);
76
- MemoizedBadge.displayName = "Badge::pkg=odyssey&odysseyV=1.65.0";
76
+ MemoizedBadge.displayName = "Badge::pkg=odyssey&odysseyV=1.65.1";
77
77
  export { MemoizedBadge as Badge };
78
78
  //# sourceMappingURL=Badge.js.map
@@ -58,6 +58,6 @@ const Banner = ({
58
58
  });
59
59
  };
60
60
  const MemoizedBanner = memo(Banner);
61
- MemoizedBanner.displayName = "Banner::pkg=odyssey&odysseyV=1.65.0";
61
+ MemoizedBanner.displayName = "Banner::pkg=odyssey&odysseyV=1.65.1";
62
62
  export { MemoizedBanner as Banner };
63
63
  //# sourceMappingURL=Banner.js.map
package/dist/esm/Box.js CHANGED
@@ -31,6 +31,6 @@ const Box = forwardRef(({
31
31
  translate: translate
32
32
  }));
33
33
  const MemoizedBox = memo(Box);
34
- MemoizedBox.displayName = "Box::pkg=odyssey&odysseyV=1.65.0";
34
+ MemoizedBox.displayName = "Box::pkg=odyssey&odysseyV=1.65.1";
35
35
  export { MemoizedBox as Box };
36
36
  //# sourceMappingURL=Box.js.map
@@ -175,6 +175,6 @@ const BreadcrumbList = ({
175
175
  });
176
176
  };
177
177
  const MemoizedBreadcrumbList = memo(BreadcrumbList);
178
- MemoizedBreadcrumbList.displayName = "BreadcrumbList::pkg=odyssey&odysseyV=1.65.0";
178
+ MemoizedBreadcrumbList.displayName = "BreadcrumbList::pkg=odyssey&odysseyV=1.65.1";
179
179
  export { MemoizedBreadcrumbList as BreadcrumbList };
180
180
  //# sourceMappingURL=Breadcrumbs.js.map
@@ -97,6 +97,6 @@ const BaseButton = ({
97
97
  return renderButton(muiProps);
98
98
  };
99
99
  const MemoizedBaseButton = memo(BaseButton);
100
- MemoizedBaseButton.displayName = "BaseButton::pkg=odyssey&odysseyV=1.65.0";
100
+ MemoizedBaseButton.displayName = "BaseButton::pkg=odyssey&odysseyV=1.65.1";
101
101
  export { MemoizedBaseButton as BaseButton };
102
102
  //# sourceMappingURL=BaseButton.js.map
@@ -165,6 +165,6 @@ const BaseMenuButton = ({
165
165
  });
166
166
  };
167
167
  const MemoizedBaseMenuButton = memo(BaseMenuButton);
168
- MemoizedBaseMenuButton.displayName = "BaseMenuButton::pkg=odyssey&odysseyV=1.65.0";
168
+ MemoizedBaseMenuButton.displayName = "BaseMenuButton::pkg=odyssey&odysseyV=1.65.1";
169
169
  export { MemoizedBaseMenuButton as BaseMenuButton };
170
170
  //# sourceMappingURL=BaseMenuButton.js.map
@@ -19,6 +19,6 @@ const Button = props => {
19
19
  });
20
20
  };
21
21
  const MemoizedButton = memo(Button);
22
- MemoizedButton.displayName = "Button::pkg=odyssey&odysseyV=1.65.0";
22
+ MemoizedButton.displayName = "Button::pkg=odyssey&odysseyV=1.65.1";
23
23
  export { MemoizedButton as Button };
24
24
  //# sourceMappingURL=Button.js.map
@@ -19,6 +19,6 @@ const MenuButton = props => {
19
19
  });
20
20
  };
21
21
  const MemoizedMenuButton = memo(MenuButton);
22
- MemoizedMenuButton.displayName = "MenuButton::pkg=odyssey&odysseyV=1.65.0";
22
+ MemoizedMenuButton.displayName = "MenuButton::pkg=odyssey&odysseyV=1.65.1";
23
23
  export { MemoizedMenuButton as MenuButton };
24
24
  //# sourceMappingURL=MenuButton.js.map
@@ -50,6 +50,6 @@ const MenuItem = ({
50
50
  });
51
51
  };
52
52
  const MemoizedMenuItem = memo(MenuItem);
53
- MemoizedMenuItem.displayName = "MenuItem::pkg=odyssey&odysseyV=1.65.0";
53
+ MemoizedMenuItem.displayName = "MenuItem::pkg=odyssey&odysseyV=1.65.1";
54
54
  export { MemoizedMenuItem as MenuItem };
55
55
  //# sourceMappingURL=MenuItem.js.map
@@ -19,7 +19,6 @@ import { useTranslation } from "./i18n.generated/i18n.js";
19
19
  import { Link } from "./Link.js";
20
20
  import { useOdysseyDesignTokens } from "./OdysseyDesignTokensContext.js";
21
21
  import { Paragraph } from "./Typography.js";
22
- import { useUniqueId } from "./useUniqueId.js";
23
22
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  export const calloutRoleValues = ["status", "alert"];
25
24
  export const calloutSeverityValues = ["success", "info", "warning", "error"];
@@ -50,17 +49,13 @@ const Callout = ({
50
49
  t
51
50
  } = useTranslation();
52
51
  const odysseyDesignTokens = useOdysseyDesignTokens();
53
- const titleId = useUniqueId();
54
52
  return _jsxs(_Alert, {
55
53
  "aria-label": t(`severity.${severity}`),
56
- "aria-labelledby": titleId,
57
54
  "data-se": testId,
58
55
  role: role,
59
56
  severity: severity,
60
57
  variant: "callout",
61
58
  children: [title && _jsx(_AlertTitle, {
62
- "aria-hidden": true,
63
- id: titleId,
64
59
  translate: translate,
65
60
  children: title
66
61
  }), _jsxs(ContentContainer, {
@@ -84,6 +79,6 @@ const Callout = ({
84
79
  });
85
80
  };
86
81
  const MemoizedCallout = memo(Callout);
87
- MemoizedCallout.displayName = "Callout::pkg=odyssey&odysseyV=1.65.0";
82
+ MemoizedCallout.displayName = "Callout::pkg=odyssey&odysseyV=1.65.1";
88
83
  export { MemoizedCallout as Callout };
89
84
  //# sourceMappingURL=Callout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Callout.js","names":["styled","memo","useTranslation","Link","useOdysseyDesignTokens","Paragraph","useUniqueId","jsx","_jsx","jsxs","_jsxs","calloutRoleValues","calloutSeverityValues","ContentContainer","shouldForwardProp","prop","odysseyDesignTokens","marginBlockStart","Spacing4","Callout","children","linkRel","linkTarget","linkText","linkUrl","onLinkClick","role","severity","testId","text","title","translate","t","titleId","_Alert","variant","_AlertTitle","id","_Box","component","href","onClick","rel","target","MemoizedCallout","displayName"],"sources":["../../src/Callout.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport styled from \"@emotion/styled\";\nimport { Alert, AlertTitle, Box } from \"@mui/material\";\nimport { memo, ReactNode } from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { Link, LinkProps } from \"./Link.js\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"./OdysseyDesignTokensContext.js\";\nimport { Paragraph } from \"./Typography.js\";\nimport { useUniqueId } from \"./useUniqueId.js\";\n\nexport const calloutRoleValues = [\"status\", \"alert\"] as const;\nexport const calloutSeverityValues = [\n \"success\",\n \"info\",\n \"warning\",\n \"error\",\n] as const;\n\nexport type CalloutProps = {\n /**\n * Supplementary content rendered inside the callout body, typically a list or structured markup.\n */\n children?: ReactNode;\n /**\n * Sets the ARIA live-region role.\n * - If `'status'`, announces updates politely; use for non-critical dynamic messages.\n * - If `'alert'`, announces updates assertively; use for errors or urgent information.\n */\n role?: (typeof calloutRoleValues)[number];\n /**\n * Visual severity level that controls the callout's color and icon.\n */\n severity: (typeof calloutSeverityValues)[number];\n /**\n * Primary message text displayed inside the callout body.\n */\n text?: string;\n /**\n * Heading text displayed at the top of the callout, above the body content.\n */\n title?: string;\n} & (\n | {\n children?: never;\n text: string;\n }\n | {\n children: ReactNode;\n text?: never;\n }\n) &\n // if linkText is provided, either linkUrl or onLinkClick must be provided\n (| {\n /** The `rel` attribute forwarded to the action link. */\n linkRel?: LinkProps[\"rel\"];\n /** The `target` attribute forwarded to the action link. */\n linkTarget?: LinkProps[\"target\"];\n /** Visible label for the action link rendered below the Callout content. */\n linkText: string;\n /** URL the action link navigates to. Required when `onLinkClick` is not provided. */\n linkUrl: LinkProps[\"href\"];\n onLinkClick?: never;\n }\n | {\n linkRel?: never;\n linkTarget?: never;\n /** Visible label for the action link rendered below the Callout content. */\n linkText: string;\n linkUrl?: never;\n /** Click handler for the action link. Required when `linkUrl` is not provided. */\n onLinkClick: LinkProps[\"onClick\"];\n }\n | {\n linkRel?: never;\n linkTarget?: never;\n linkText?: never;\n linkUrl?: never;\n onLinkClick?: never;\n }\n ) &\n Pick<HtmlProps, \"testId\" | \"translate\">;\n\nconst ContentContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{ odysseyDesignTokens: DesignTokens }>(({ odysseyDesignTokens }) => ({\n \"& > * + *\": {\n marginBlockStart: odysseyDesignTokens.Spacing4,\n },\n}));\n\n/**\n * A non-dismissible inline message that draws attention to important contextual information. Use\n * Callout to surface status, warnings, errors, or supplementary guidance within a page or form.\n */\nconst Callout = ({\n children,\n linkRel,\n linkTarget,\n linkText,\n linkUrl,\n onLinkClick,\n role,\n severity,\n testId,\n text,\n title,\n translate,\n}: CalloutProps) => {\n const { t } = useTranslation();\n const odysseyDesignTokens = useOdysseyDesignTokens();\n const titleId = useUniqueId();\n\n return (\n <Alert\n aria-label={t(`severity.${severity}`)}\n aria-labelledby={titleId}\n data-se={testId}\n role={role}\n severity={severity}\n variant=\"callout\"\n >\n {title && (\n <AlertTitle aria-hidden id={titleId} translate={translate}>\n {title}\n </AlertTitle>\n )}\n\n <ContentContainer odysseyDesignTokens={odysseyDesignTokens}>\n {children && <Box component=\"div\">{children}</Box>}\n {text && <Paragraph>{text}</Paragraph>}\n {linkText && (\n <Box>\n <Link\n href={linkUrl ?? \"#\"}\n onClick={onLinkClick}\n rel={linkRel}\n target={linkTarget}\n variant=\"monochrome\"\n >\n {linkText}\n </Link>\n </Box>\n )}\n </ContentContainer>\n </Alert>\n );\n};\n\nconst MemoizedCallout = memo(Callout);\nMemoizedCallout.displayName = \"Callout\";\n\nexport { MemoizedCallout as Callout };\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,MAAM,MAAM,iBAAiB;AAEpC,SAASC,IAAI,QAAmB,OAAO;AAIvC,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,IAAI,QAAmB,WAAW;AAC3C,SAEEC,sBAAsB,QACjB,iCAAiC;AACxC,SAASC,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,WAAW,QAAQ,kBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE/C,OAAO,MAAMC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU;AAC7D,OAAO,MAAMC,qBAAqB,GAAG,CACnC,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,CACC;AAkEV,MAAMC,gBAAgB,GAAGb,MAAM,CAAC,KAAK,EAAE;EACrCc,iBAAiB,EAAGC,IAAI,IAAKA,IAAI,KAAK;AACxC,CAAC,CAAC,CAAwC,CAAC;EAAEC;AAAoB,CAAC,MAAM;EACtE,WAAW,EAAE;IACXC,gBAA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,OAAO,EAAC,YAAY;UAAAf,QAAA,EAEnBG;QAAQ,CACL;MAAC,CACJ,CACN;IAAA,CACe,CAAC;EAAA,CACd,CAAC;AAEZ,CAAC;AAED,MAAMqB,eAAe,GAAG3C,IAAI,CAACkB,OAAO,CAAC;AACrCyB,eAAe,CAACC,WAAW,yCAAY;AAEvC,SAASD,eAAe,IAAIzB,OAAO","ignoreList":[]}
1
+ {"version":3,"file":"Callout.js","names":["styled","memo","useTranslation","Link","useOdysseyDesignTokens","Paragraph","jsx","_jsx","jsxs","_jsxs","calloutRoleValues","calloutSeverityValues","ContentContainer","shouldForwardProp","prop","odysseyDesignTokens","marginBlockStart","Spacing4","Callout","children","linkRel","linkTarget","linkText","linkUrl","onLinkClick","role","severity","testId","text","title","translate","t","_Alert","variant","_AlertTitle","_Box","component","href","onClick","rel","target","MemoizedCallout","displayName"],"sources":["../../src/Callout.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport styled from \"@emotion/styled\";\nimport { Alert, AlertTitle, Box } from \"@mui/material\";\nimport { memo, ReactNode } from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { Link, LinkProps } from \"./Link.js\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"./OdysseyDesignTokensContext.js\";\nimport { Paragraph } from \"./Typography.js\";\n\nexport const calloutRoleValues = [\"status\", \"alert\"] as const;\nexport const calloutSeverityValues = [\n \"success\",\n \"info\",\n \"warning\",\n \"error\",\n] as const;\n\nexport type CalloutProps = {\n /**\n * Supplementary content rendered inside the callout body, typically a list or structured markup.\n */\n children?: ReactNode;\n /**\n * Sets the ARIA live-region role.\n * - If `'status'`, announces updates politely; use for non-critical dynamic messages.\n * - If `'alert'`, announces updates assertively; use for errors or urgent information.\n */\n role?: (typeof calloutRoleValues)[number];\n /**\n * Visual severity level that controls the callout's color and icon.\n */\n severity: (typeof calloutSeverityValues)[number];\n /**\n * Primary message text displayed inside the callout body.\n */\n text?: string;\n /**\n * Heading text displayed at the top of the callout, above the body content.\n */\n title?: string;\n} & (\n | {\n children?: never;\n text: string;\n }\n | {\n children: ReactNode;\n text?: never;\n }\n) &\n // if linkText is provided, either linkUrl or onLinkClick must be provided\n (| {\n /** The `rel` attribute forwarded to the action link. */\n linkRel?: LinkProps[\"rel\"];\n /** The `target` attribute forwarded to the action link. */\n linkTarget?: LinkProps[\"target\"];\n /** Visible label for the action link rendered below the Callout content. */\n linkText: string;\n /** URL the action link navigates to. Required when `onLinkClick` is not provided. */\n linkUrl: LinkProps[\"href\"];\n onLinkClick?: never;\n }\n | {\n linkRel?: never;\n linkTarget?: never;\n /** Visible label for the action link rendered below the Callout content. */\n linkText: string;\n linkUrl?: never;\n /** Click handler for the action link. Required when `linkUrl` is not provided. */\n onLinkClick: LinkProps[\"onClick\"];\n }\n | {\n linkRel?: never;\n linkTarget?: never;\n linkText?: never;\n linkUrl?: never;\n onLinkClick?: never;\n }\n ) &\n Pick<HtmlProps, \"testId\" | \"translate\">;\n\nconst ContentContainer = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{ odysseyDesignTokens: DesignTokens }>(({ odysseyDesignTokens }) => ({\n \"& > * + *\": {\n marginBlockStart: odysseyDesignTokens.Spacing4,\n },\n}));\n\n/**\n * A non-dismissible inline message that draws attention to important contextual information. Use\n * Callout to surface status, warnings, errors, or supplementary guidance within a page or form.\n */\nconst Callout = ({\n children,\n linkRel,\n linkTarget,\n linkText,\n linkUrl,\n onLinkClick,\n role,\n severity,\n testId,\n text,\n title,\n translate,\n}: CalloutProps) => {\n const { t } = useTranslation();\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n return (\n <Alert\n aria-label={t(`severity.${severity}`)}\n data-se={testId}\n role={role}\n severity={severity}\n variant=\"callout\"\n >\n {title && <AlertTitle translate={translate}>{title}</AlertTitle>}\n\n <ContentContainer odysseyDesignTokens={odysseyDesignTokens}>\n {children && <Box component=\"div\">{children}</Box>}\n {text && <Paragraph>{text}</Paragraph>}\n {linkText && (\n <Box>\n <Link\n href={linkUrl ?? \"#\"}\n onClick={onLinkClick}\n rel={linkRel}\n target={linkTarget}\n variant=\"monochrome\"\n >\n {linkText}\n </Link>\n </Box>\n )}\n </ContentContainer>\n </Alert>\n );\n};\n\nconst MemoizedCallout = memo(Callout);\nMemoizedCallout.displayName = \"Callout\";\n\nexport { MemoizedCallout as Callout };\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,MAAM,MAAM,iBAAiB;AAEpC,SAASC,IAAI,QAAmB,OAAO;AAIvC,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,IAAI,QAAmB,WAAW;AAC3C,SAEEC,sBAAsB,QACjB,iCAAiC;AACxC,SAASC,SAAS,QAAQ,iBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE5C,OAAO,MAAMC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU;AAC7D,OAAO,MAAMC,qBAAqB,GAAG,CACnC,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,CACC;AAkEV,MAAMC,gBAAgB,GAAGZ,MAAM,CAAC,KAAK,EAAE;EACrCa,iBAAiB,EAAGC,IAAI,IAAKA,IAAI,KAAK;AACxC,CAAC,CAAC,CAAwC,CAAC;EAAEC;AAAoB,CAAC,MAAM;EACtE,WAAW,EAAE;I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AC;AAEZ,CAAC;AAED,MAAMmB,eAAe,GAAGxC,IAAI,CAACiB,OAAO,CAAC;AACrCuB,eAAe,CAACC,WAAW,yCAAY;AAEvC,SAASD,eAAe,IAAIvB,OAAO","ignoreList":[]}
package/dist/esm/Card.js CHANGED
@@ -331,6 +331,6 @@ const Card = ({
331
331
  });
332
332
  };
333
333
  const MemoizedCard = memo(Card);
334
- MemoizedCard.displayName = "Card::pkg=odyssey&odysseyV=1.65.0";
334
+ MemoizedCard.displayName = "Card::pkg=odyssey&odysseyV=1.65.1";
335
335
  export { MemoizedCard as Card };
336
336
  //# sourceMappingURL=Card.js.map
@@ -23,6 +23,6 @@ const CircularProgress = ({
23
23
  variant: value ? "determinate" : "indeterminate"
24
24
  });
25
25
  const MemoizedCircularProgress = memo(CircularProgress);
26
- MemoizedCircularProgress.displayName = "CircularProgress::pkg=odyssey&odysseyV=1.65.0";
26
+ MemoizedCircularProgress.displayName = "CircularProgress::pkg=odyssey&odysseyV=1.65.1";
27
27
  export { MemoizedCircularProgress as CircularProgress };
28
28
  //# sourceMappingURL=CircularProgress.js.map
@@ -20,6 +20,6 @@ const ConditionalWrapper = ({
20
20
  children: children
21
21
  });
22
22
  const MemoizedConditionalWrapper = memo(ConditionalWrapper);
23
- MemoizedConditionalWrapper.displayName = "ConditionalWrapper::pkg=odyssey&odysseyV=1.65.0";
23
+ MemoizedConditionalWrapper.displayName = "ConditionalWrapper::pkg=odyssey&odysseyV=1.65.1";
24
24
  export { MemoizedConditionalWrapper as ConditionalWrapper };
25
25
  //# sourceMappingURL=ConditionalWrapper.js.map
@@ -576,6 +576,6 @@ const DataTable = ({
576
576
  });
577
577
  };
578
578
  const MemoizedDataTable = memo(DataTable);
579
- MemoizedDataTable.displayName = "DataTable::pkg=odyssey&odysseyV=1.65.0";
579
+ MemoizedDataTable.displayName = "DataTable::pkg=odyssey&odysseyV=1.65.1";
580
580
  export { MemoizedDataTable as DataTable };
581
581
  //# sourceMappingURL=DataTable.js.map
@@ -100,6 +100,6 @@ const DataTableRowActions = ({
100
100
  });
101
101
  };
102
102
  const MemoizedDataTableRowActions = memo(DataTableRowActions);
103
- MemoizedDataTableRowActions.displayName = "DataTableRowActions::pkg=odyssey&odysseyV=1.65.0";
103
+ MemoizedDataTableRowActions.displayName = "DataTableRowActions::pkg=odyssey&odysseyV=1.65.1";
104
104
  export { MemoizedDataTableRowActions as DataTableRowActions };
105
105
  //# sourceMappingURL=DataTableRowActions.js.map
@@ -77,6 +77,6 @@ const DataTableSettings = ({
77
77
  });
78
78
  };
79
79
  const MemoizedDataTableSettings = memo(DataTableSettings);
80
- MemoizedDataTableSettings.displayName = "DataTableSettings::pkg=odyssey&odysseyV=1.65.0";
80
+ MemoizedDataTableSettings.displayName = "DataTableSettings::pkg=odyssey&odysseyV=1.65.1";
81
81
  export { MemoizedDataTableSettings as DataTableSettings };
82
82
  //# sourceMappingURL=DataTableSettings.js.map
@@ -161,6 +161,6 @@ const DateField = ({
161
161
  });
162
162
  };
163
163
  const MemoizedDateField = memo(DateField);
164
- MemoizedDateField.displayName = "DateField::pkg=odyssey&odysseyV=1.65.0";
164
+ MemoizedDateField.displayName = "DateField::pkg=odyssey&odysseyV=1.65.1";
165
165
  export { MemoizedDateField as DateField };
166
166
  //# sourceMappingURL=DateField.js.map
@@ -50,6 +50,6 @@ const DateFieldActionBar = ({
50
50
  return null;
51
51
  };
52
52
  const MemoizedDateFieldActionBar = memo(DateFieldActionBar);
53
- MemoizedDateFieldActionBar.displayName = "DateFieldActionBar::pkg=odyssey&odysseyV=1.65.0";
53
+ MemoizedDateFieldActionBar.displayName = "DateFieldActionBar::pkg=odyssey&odysseyV=1.65.1";
54
54
  export { MemoizedDateFieldActionBar as DateFieldActionBar };
55
55
  //# sourceMappingURL=DateFieldActionBar.js.map
@@ -27,6 +27,6 @@ const DateFieldLocalizationProvider = ({
27
27
  });
28
28
  };
29
29
  const MemoizedDateFieldLocalizationProvider = memo(DateFieldLocalizationProvider);
30
- MemoizedDateFieldLocalizationProvider.displayName = "DateFieldLocalizationProvider::pkg=odyssey&odysseyV=1.65.0";
30
+ MemoizedDateFieldLocalizationProvider.displayName = "DateFieldLocalizationProvider::pkg=odyssey&odysseyV=1.65.1";
31
31
  export { MemoizedDateFieldLocalizationProvider as DateFieldLocalizationProvider };
32
32
  //# sourceMappingURL=DateFieldLocalizationProvider.js.map
@@ -226,6 +226,6 @@ const DatePicker = ({
226
226
  });
227
227
  };
228
228
  const MemoizedDatePicker = memo(DatePicker);
229
- MemoizedDatePicker.displayName = "DatePicker::pkg=odyssey&odysseyV=1.65.0";
229
+ MemoizedDatePicker.displayName = "DatePicker::pkg=odyssey&odysseyV=1.65.1";
230
230
  export { MemoizedDatePicker as DatePicker };
231
231
  //# sourceMappingURL=DatePicker.js.map
@@ -32,6 +32,6 @@ const TimeZonePicker = ({
32
32
  });
33
33
  };
34
34
  const MemoizedTimeZonePicker = memo(TimeZonePicker);
35
- MemoizedTimeZonePicker.displayName = "TimeZonePicker::pkg=odyssey&odysseyV=1.65.0";
35
+ MemoizedTimeZonePicker.displayName = "TimeZonePicker::pkg=odyssey&odysseyV=1.65.1";
36
36
  export { MemoizedTimeZonePicker as TimeZonePicker };
37
37
  //# sourceMappingURL=TimeZonePicker.js.map
@@ -21,6 +21,7 @@ import { createOdysseyStyledComponent } from "./createOdysseyStyledComponent.js"
21
21
  import { FullScreenOverlay } from "./FullScreenOverlay.js";
22
22
  import { useTranslation } from "./i18n.generated/i18n.js";
23
23
  import { CloseIcon } from "./icons.generated/index.js";
24
+ import { useCompactViewportMatches } from "./theme/useMediaQuery.js";
24
25
  import { useUniqueId } from "./useUniqueId.js";
25
26
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
26
27
  const DialogTitleContainer = createOdysseyStyledComponent({
@@ -38,6 +39,7 @@ const DialogTitleContainer = createOdysseyStyledComponent({
38
39
  paddingInline: odysseyDesignTokens.Spacing6,
39
40
  fontFamily: odysseyDesignTokens.TypographyFamilyHeading,
40
41
  [`& > .${buttonClasses.root}`]: {
42
+ alignSelf: "baseline",
41
43
  marginInlineEnd: `-${odysseyDesignTokens.Spacing3}`,
42
44
  flexShrink: 0
43
45
  }
@@ -90,13 +92,18 @@ const Dialog = ({
90
92
  variant: variant
91
93
  }
92
94
  }), [variant]);
95
+ const {
96
+ isWithinCompactWidthOrHeight
97
+ } = useCompactViewportMatches();
93
98
  return _jsx(FullScreenOverlay, {
94
99
  overlayType: "dialog",
95
100
  children: _jsxs(_Dialog, {
96
101
  "aria-labelledby": dialogLabelId,
97
102
  "data-se": testId,
103
+ fullScreen: isWithinCompactWidthOrHeight,
98
104
  onClose: onClose,
99
105
  open: isOpen,
106
+ scroll: isWithinCompactWidthOrHeight ? "body" : "paper",
100
107
  slotProps: slotProps,
101
108
  children: [_jsxs(DialogTitleContainer, {
102
109
  children: [_jsx(_DialogTitle, {
@@ -126,6 +133,6 @@ const Dialog = ({
126
133
  });
127
134
  };
128
135
  const MemoizedDialog = memo(Dialog);
129
- MemoizedDialog.displayName = "Dialog::pkg=odyssey&odysseyV=1.65.0";
136
+ MemoizedDialog.displayName = "Dialog::pkg=odyssey&odysseyV=1.65.1";
130
137
  export { MemoizedDialog as Dialog };
131
138
  //# sourceMappingURL=Dialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.js","names":["buttonClasses","cloneElement","memo","useCallback","useEffect","useMemo","useRef","useState","Button","createOdysseyStyledComponent","FullScreenOverlay","useTranslation","CloseIcon","useUniqueId","jsx","_jsx","jsxs","_jsxs","DialogTitleContainer","tag","odysseyDesignTokens","display","justifyContent","alignItems","marginBlockEnd","padding","paddingBlockStart","Spacing5","paddingBlockEnd","Spacing4","paddingInline","Spacing6","fontFamily","TypographyFamilyHeading","root","marginInlineEnd","Spacing3","flexShrink","Dialog","primaryCallToActionComponent","secondaryCallToActionComponent","tertiaryCallToActionComponent","callToActionFirstComponent","callToActionSecondComponent","callToActionLastComponent","children","isOpen","onClose","testId","title","translate","variant","t","isContentScrollable","setIsContentScrollable","dialogContentRef","dialogLabelId","frameId","handleContentScroll","dialogContentElement","current","cancelAnimationFrame","scrollHeight","clientHeight","requestAnimationFrame","content","_DialogContentText","actionButtons","filter","Boolean","handleCloseButtonClick","event","slotProps","backdrop","overlayType","_Dialog","open","_DialogTitle","id","ariaLabel","onClick","size","startIcon","_DialogContent","tabIndex","dividers","ref","length","_DialogActions","map","actionButton","index","key","MemoizedDialog","displayName"],"sources":["../../src/Dialog.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport {\n Dialog as MuiDialog,\n DialogActions as MuiDialogActions,\n DialogContent as MuiDialogContent,\n DialogContentText as MuiDialogContentText,\n DialogProps as MuiDialogProps,\n DialogTitle as MuiDialogTitle,\n} from \"@mui/material\";\nimport { buttonClasses } from \"@mui/material/Button\";\nimport {\n cloneElement,\n memo,\n ReactElement,\n ReactNode,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { Button, ButtonProps } from \"./Buttons/Button.js\";\nimport { createOdysseyStyledComponent } from \"./createOdysseyStyledComponent.js\";\nimport { FullScreenOverlay } from \"./FullScreenOverlay.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { CloseIcon } from \"./icons.generated/index.js\";\nimport { useUniqueId } from \"./useUniqueId.js\";\n\ntype MuiOnCloseEvent = Parameters<Required<MuiDialogProps>[\"onClose\"]>[0];\ntype MuiOnCloseReason = Parameters<Required<MuiDialogProps>[\"onClose\"]>[1];\nexport type DialogOnCloseReason = MuiOnCloseReason | \"closeButtonClick\";\n\nexport type DialogProps = {\n /**\n * @deprecated `aria-label` for close button comes from translation file\n */\n ariaLabel?: string;\n\n /**\n * @deprecated Will be removed in a future Odyssey version. Use\n * `primaryCallToActionComponent` instead.\n */\n callToActionFirstComponent?: ReactElement<typeof Button>;\n /**\n * @deprecated Will be removed in a future Odyssey version. Use\n * `tertiaryCallToActionComponent` instead.\n */\n callToActionLastComponent?: ReactElement<typeof Button>;\n /**\n * @deprecated Will be removed in a future Odyssey version. Use\n * `secondaryCallToActionComponent` instead.\n */\n callToActionSecondComponent?: ReactElement<typeof Button>;\n /**\n * The content of the Dialog. May be a `string` or any other `ReactNode` or array of `ReactNode`s.\n */\n children: ReactNode;\n /**\n * If `true`, the dialog is visible.\n */\n isOpen: boolean;\n /**\n * Called when the dialog is dismissed. Receives the event and the reason for closing.\n */\n onClose: (event: MuiOnCloseEvent, reason: DialogOnCloseReason) => void;\n /**\n * An optional Button object to be situated in the Dialog footer as the primary call to action.\n */\n primaryCallToActionComponent?: ReactElement<typeof Button>;\n /**\n * An optional Button object to be situated in the Dialog footer as the\n * secondary call to action, alongside the `primaryCallToActionComponent`.\n */\n secondaryCallToActionComponent?: ReactElement<typeof Button>;\n\n /**\n * An optional Button object to be situated in the Dialog footer as the\n * tertiary call to action, alongside the other `callToAction` components.\n */\n tertiaryCallToActionComponent?: ReactElement<typeof Button>;\n\n /**\n * The title of the Dialog.\n */\n title: string;\n\n /**\n * Controls the opacity of the Dialog backdrop.\n * - If `'default'`, semi-transparent backdrop.\n * - If `'security'`, fully opaque backdrop, used for security-sensitive dialogs.\n * @default \"default\"\n */\n variant?: \"default\" | \"security\";\n} & Pick<HtmlProps, \"testId\" | \"translate\">;\n\nconst DialogTitleContainer = createOdysseyStyledComponent({ tag: \"div\" })(\n ({ odysseyDesignTokens }) => ({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n marginBlockEnd: 0,\n padding: 0,\n paddingBlockStart: odysseyDesignTokens.Spacing5,\n paddingBlockEnd: odysseyDesignTokens.Spacing4,\n paddingInline: odysseyDesignTokens.Spacing6,\n fontFamily: odysseyDesignTokens.TypographyFamilyHeading,\n\n [`& > .${buttonClasses.root}`]: {\n // Pull close button by inline padding amount\n marginInlineEnd: `-${odysseyDesignTokens.Spacing3}`,\n flexShrink: 0,\n },\n }),\n);\n\n/**\n * A modal overlay that interrupts the user to present critical information,\n * collect input, or require confirmation before proceeding.\n */\nconst Dialog = ({\n primaryCallToActionComponent,\n secondaryCallToActionComponent,\n tertiaryCallToActionComponent,\n callToActionFirstComponent,\n callToActionSecondComponent,\n callToActionLastComponent,\n children,\n isOpen,\n onClose,\n testId,\n title,\n translate,\n variant = \"default\",\n}: DialogProps) => {\n const { t } = useTranslation();\n\n const [isContentScrollable, setIsContentScrollable] = useState(false);\n const dialogContentRef = useRef<HTMLDivElement>(null);\n const dialogLabelId = useUniqueId();\n\n useEffect(() => {\n let frameId: number;\n\n const handleContentScroll = () => {\n const dialogContentElement = dialogContentRef.current;\n if (dialogContentElement) {\n cancelAnimationFrame(frameId);\n setIsContentScrollable(\n dialogContentElement.scrollHeight > dialogContentElement.clientHeight,\n );\n }\n frameId = requestAnimationFrame(handleContentScroll);\n };\n\n if (isOpen) {\n frameId = requestAnimationFrame(handleContentScroll);\n }\n\n return () => {\n cancelAnimationFrame(frameId);\n };\n }, [isOpen]);\n\n const content =\n typeof children === \"string\" ? (\n <MuiDialogContentText>{children}</MuiDialogContentText>\n ) : (\n children\n );\n\n // Prioritize new action button format (|| used as a fallback)\n const actionButtons = [\n tertiaryCallToActionComponent || callToActionLastComponent,\n secondaryCallToActionComponent || callToActionSecondComponent,\n primaryCallToActionComponent || callToActionFirstComponent,\n ].filter(Boolean);\n\n const handleCloseButtonClick = useCallback<\n NonNullable<ButtonProps[\"onClick\"]>\n >((event) => onClose(event, \"closeButtonClick\"), [onClose]);\n\n const slotProps = useMemo<MuiDialogProps[\"slotProps\"]>(\n () => ({\n backdrop: { variant: variant },\n }),\n [variant],\n );\n\n return (\n <FullScreenOverlay overlayType=\"dialog\">\n <MuiDialog\n aria-labelledby={dialogLabelId}\n data-se={testId}\n onClose={onClose}\n open={isOpen}\n slotProps={slotProps}\n >\n <DialogTitleContainer>\n <MuiDialogTitle id={dialogLabelId} translate={translate}>\n {title}\n </MuiDialogTitle>\n <Button\n ariaLabel={t(\"close.text\")}\n onClick={handleCloseButtonClick}\n size=\"small\"\n startIcon={<CloseIcon />}\n variant=\"floating\"\n />\n </DialogTitleContainer>\n\n <MuiDialogContent\n {...(isContentScrollable && {\n // Sets tabIndex on content element if scrollable so content is easier to navigate with the keyboard\n tabIndex: 0,\n })}\n dividers={isContentScrollable}\n ref={dialogContentRef}\n >\n {content}\n </MuiDialogContent>\n\n {actionButtons.length > 0 && (\n <MuiDialogActions>\n {actionButtons.map((actionButton, index) =>\n actionButton ? cloneElement(actionButton, { key: index }) : null,\n )}\n </MuiDialogActions>\n )}\n </MuiDialog>\n </FullScreenOverlay>\n );\n};\n\nconst MemoizedDialog = memo(Dialog);\nMemoizedDialog.displayName = \"Dialog\";\n\nexport { MemoizedDialog as Dialog };\n"],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAUA,SAASA,aAAa,QAAQ,sBAAsB;AACpD,SACEC,YAAY,EACZC,IAAI,EAGJC,WAAW,EACXC,SAAS,EACTC,OAAO,EACPC,MAAM,EACNC,QAAQ,QACH,OAAO;AAId,SAASC,MAAM,QAAqB,qBAAqB;AACzD,SAASC,4BAA4B,QAAQ,mCAAmC;AAChF,SAASC,iBAAiB,QAAQ,wBAAwB;AAC1D,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,SAAS,QAAQ,4BAA4B;AACtD,SAASC,WAAW,QAAQ,kBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAqE/C,MAAMC,oBAA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8D,YAAA;UAAgBC,EAAE,EAAEtB,aAAc;UAACN,SAAS,EAAEA,SAAU;UAAAL,QAAA,EACrDI;QAAK,CACQ,CAAC,EACjBlC,IAAA,CAACP,MAAM;UACLuE,SAAS,EAAE3B,CAAC,CAAC,YAAY,CAAE;UAC3B4B,OAAO,EAAEV,sBAAuB;UAChCW,IAAI,EAAC,OAAO;UACZC,SAAS,EAAEnE,IAAA,CAACH,SAAS,IAAE,CAAE;UACzBuC,OAAO,EAAC;QAAU,CACnB,CAAC;MAAA,CACkB,CAAC,EAEvBpC,IAAA,CAAAoE,cAAA;QAAA,IACO9B,mBAAmB,IAAI;UAE1B+B,QAAQ,EAAE;QACZ,CAAC;QACDC,QAAQ,EAAEhC,mBAAoB;QAC9BiC,GAAG,EAAE/B,gBAAiB;QAAAV,QAAA,EAErBoB;MAAO,CACQ,CAAC,EAElBE,aAAa,CAACoB,MAAM,GAAG,CAAC,IACvBxE,IAAA,CAAAyE,cAAA;QAAA3C,QAAA,EACGsB,aAAa,CAACsB,GAAG,CAAC,CAACC,YAAY,EAAEC,KAAK,KACrCD,YAAY,GAAGzF,YAAY,CAACyF,YAAY,EAAE;UAAEE,GAAG,EAAED;QAAM,CAAC,CAAC,GAAG,IAC9D;MAAC,CACe,CACnB;IAAA,CACQ;EAAC,CACK,CAAC;AAExB,CAAC;AAED,MAAME,cAAc,GAAG3F,IAAI,CAACoC,MAAM,CAAC;AACnCuD,cAAc,CAACC,WAAW,wCAAW;AAErC,SAASD,cAAc,IAAIvD,MAAM","ignoreList":[]}
1
+ {"version":3,"file":"Dialog.js","names":["buttonClasses","cloneElement","memo","useCallback","useEffect","useMemo","useRef","useState","Button","createOdysseyStyledComponent","FullScreenOverlay","useTranslation","CloseIcon","useCompactViewportMatches","useUniqueId","jsx","_jsx","jsxs","_jsxs","DialogTitleContainer","tag","odysseyDesignTokens","display","justifyContent","alignItems","marginBlockEnd","padding","paddingBlockStart","Spacing5","paddingBlockEnd","Spacing4","paddingInline","Spacing6","fontFamily","TypographyFamilyHeading","root","alignSelf","marginInlineEnd","Spacing3","flexShrink","Dialog","primaryCallToActionComponent","secondaryCallToActionComponent","tertiaryCallToActionComponent","callToActionFirstComponent","callToActionSecondComponent","callToActionLastComponent","children","isOpen","onClose","testId","title","translate","variant","t","isContentScrollable","setIsContentScrollable","dialogContentRef","dialogLabelId","frameId","handleContentScroll","dialogContentElement","current","cancelAnimationFrame","scrollHeight","clientHeight","requestAnimationFrame","content","_DialogContentText","actionButtons","filter","Boolean","handleCloseButtonClick","event","slotProps","backdrop","isWithinCompactWidthOrHeight","overlayType","_Dialog","fullScreen","open","scroll","_DialogTitle","id","ariaLabel","onClick","size","startIcon","_DialogContent","tabIndex","dividers","ref","length","_DialogActions","map","actionButton","index","key","MemoizedDialog","displayName"],"sources":["../../src/Dialog.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport {\n Dialog as MuiDialog,\n DialogActions as MuiDialogActions,\n DialogContent as MuiDialogContent,\n DialogContentText as MuiDialogContentText,\n DialogProps as MuiDialogProps,\n DialogTitle as MuiDialogTitle,\n} from \"@mui/material\";\nimport { buttonClasses } from \"@mui/material/Button\";\nimport {\n cloneElement,\n memo,\n ReactElement,\n ReactNode,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { Button, ButtonProps } from \"./Buttons/Button.js\";\nimport { createOdysseyStyledComponent } from \"./createOdysseyStyledComponent.js\";\nimport { FullScreenOverlay } from \"./FullScreenOverlay.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { CloseIcon } from \"./icons.generated/index.js\";\nimport { useCompactViewportMatches } from \"./theme/useMediaQuery.js\";\nimport { useUniqueId } from \"./useUniqueId.js\";\n\ntype MuiOnCloseEvent = Parameters<Required<MuiDialogProps>[\"onClose\"]>[0];\ntype MuiOnCloseReason = Parameters<Required<MuiDialogProps>[\"onClose\"]>[1];\nexport type DialogOnCloseReason = MuiOnCloseReason | \"closeButtonClick\";\n\nexport type DialogProps = {\n /**\n * @deprecated `aria-label` for close button comes from translation file\n */\n ariaLabel?: string;\n\n /**\n * @deprecated Will be removed in a future Odyssey version. Use\n * `primaryCallToActionComponent` instead.\n */\n callToActionFirstComponent?: ReactElement<typeof Button>;\n /**\n * @deprecated Will be removed in a future Odyssey version. Use\n * `tertiaryCallToActionComponent` instead.\n */\n callToActionLastComponent?: ReactElement<typeof Button>;\n /**\n * @deprecated Will be removed in a future Odyssey version. Use\n * `secondaryCallToActionComponent` instead.\n */\n callToActionSecondComponent?: ReactElement<typeof Button>;\n /**\n * The content of the Dialog. May be a `string` or any other `ReactNode` or array of `ReactNode`s.\n */\n children: ReactNode;\n /**\n * If `true`, the dialog is visible.\n */\n isOpen: boolean;\n /**\n * Called when the dialog is dismissed. Receives the event and the reason for closing.\n */\n onClose: (event: MuiOnCloseEvent, reason: DialogOnCloseReason) => void;\n /**\n * An optional Button object to be situated in the Dialog footer as the primary call to action.\n */\n primaryCallToActionComponent?: ReactElement<typeof Button>;\n /**\n * An optional Button object to be situated in the Dialog footer as the\n * secondary call to action, alongside the `primaryCallToActionComponent`.\n */\n secondaryCallToActionComponent?: ReactElement<typeof Button>;\n\n /**\n * An optional Button object to be situated in the Dialog footer as the\n * tertiary call to action, alongside the other `callToAction` components.\n */\n tertiaryCallToActionComponent?: ReactElement<typeof Button>;\n\n /**\n * The title of the Dialog.\n */\n title: string;\n\n /**\n * Controls the opacity of the Dialog backdrop.\n * - If `'default'`, semi-transparent backdrop.\n * - If `'security'`, fully opaque backdrop, used for security-sensitive dialogs.\n * @default \"default\"\n */\n variant?: \"default\" | \"security\";\n} & Pick<HtmlProps, \"testId\" | \"translate\">;\n\nconst DialogTitleContainer = createOdysseyStyledComponent({ tag: \"div\" })(\n ({ odysseyDesignTokens }) => ({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n marginBlockEnd: 0,\n padding: 0,\n paddingBlockStart: odysseyDesignTokens.Spacing5,\n paddingBlockEnd: odysseyDesignTokens.Spacing4,\n paddingInline: odysseyDesignTokens.Spacing6,\n fontFamily: odysseyDesignTokens.TypographyFamilyHeading,\n\n [`& > .${buttonClasses.root}`]: {\n alignSelf: \"baseline\",\n // Pull close button by inline padding amount\n marginInlineEnd: `-${odysseyDesignTokens.Spacing3}`,\n flexShrink: 0,\n },\n }),\n);\n\n/**\n * A modal overlay that interrupts the user to present critical information,\n * collect input, or require confirmation before proceeding.\n */\nconst Dialog = ({\n primaryCallToActionComponent,\n secondaryCallToActionComponent,\n tertiaryCallToActionComponent,\n callToActionFirstComponent,\n callToActionSecondComponent,\n callToActionLastComponent,\n children,\n isOpen,\n onClose,\n testId,\n title,\n translate,\n variant = \"default\",\n}: DialogProps) => {\n const { t } = useTranslation();\n\n const [isContentScrollable, setIsContentScrollable] = useState(false);\n const dialogContentRef = useRef<HTMLDivElement>(null);\n const dialogLabelId = useUniqueId();\n\n useEffect(() => {\n let frameId: number;\n\n const handleContentScroll = () => {\n const dialogContentElement = dialogContentRef.current;\n if (dialogContentElement) {\n cancelAnimationFrame(frameId);\n setIsContentScrollable(\n dialogContentElement.scrollHeight > dialogContentElement.clientHeight,\n );\n }\n frameId = requestAnimationFrame(handleContentScroll);\n };\n\n if (isOpen) {\n frameId = requestAnimationFrame(handleContentScroll);\n }\n\n return () => {\n cancelAnimationFrame(frameId);\n };\n }, [isOpen]);\n\n const content =\n typeof children === \"string\" ? (\n <MuiDialogContentText>{children}</MuiDialogContentText>\n ) : (\n children\n );\n\n // Prioritize new action button format (|| used as a fallback)\n const actionButtons = [\n tertiaryCallToActionComponent || callToActionLastComponent,\n secondaryCallToActionComponent || callToActionSecondComponent,\n primaryCallToActionComponent || callToActionFirstComponent,\n ].filter(Boolean);\n\n const handleCloseButtonClick = useCallback<\n NonNullable<ButtonProps[\"onClick\"]>\n >((event) => onClose(event, \"closeButtonClick\"), [onClose]);\n\n const slotProps = useMemo<MuiDialogProps[\"slotProps\"]>(\n () => ({\n backdrop: { variant: variant },\n }),\n [variant],\n );\n\n const { isWithinCompactWidthOrHeight } = useCompactViewportMatches();\n\n return (\n <FullScreenOverlay overlayType=\"dialog\">\n <MuiDialog\n aria-labelledby={dialogLabelId}\n data-se={testId}\n fullScreen={isWithinCompactWidthOrHeight}\n onClose={onClose}\n open={isOpen}\n scroll={isWithinCompactWidthOrHeight ? \"body\" : \"paper\"}\n slotProps={slotProps}\n >\n <DialogTitleContainer>\n <MuiDialogTitle id={dialogLabelId} translate={translate}>\n {title}\n </MuiDialogTitle>\n <Button\n ariaLabel={t(\"close.text\")}\n onClick={handleCloseButtonClick}\n size=\"small\"\n startIcon={<CloseIcon />}\n variant=\"floating\"\n />\n </DialogTitleContainer>\n\n <MuiDialogContent\n {...(isContentScrollable && {\n // Sets tabIndex on content element if scrollable so content is easier to navigate with the keyboard\n tabIndex: 0,\n })}\n dividers={isContentScrollable}\n ref={dialogContentRef}\n >\n {content}\n </MuiDialogContent>\n\n {actionButtons.length > 0 && (\n <MuiDialogActions>\n {actionButtons.map((actionButton, index) =>\n actionButton ? cloneElement(actionButton, { key: index }) : null,\n )}\n </MuiDialogActions>\n )}\n </MuiDialog>\n </FullScreenOverlay>\n );\n};\n\nconst MemoizedDialog = memo(Dialog);\nMemoizedDialog.displayName = \"Dialog\";\n\nexport { MemoizedDialog as Dialog };\n"],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAUA,SAASA,aAAa,QAAQ,sBAAsB;A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,GAAG,CAAC,CAACC,YAAY,EAAEC,KAAK,KACrCD,YAAY,GAAG9F,YAAY,CAAC8F,YAAY,EAAE;UAAEE,GAAG,EAAED;QAAM,CAAC,CAAC,GAAG,IAC9D;MAAC,CACe,CACnB;IAAA,CACQ;EAAC,CACK,CAAC;AAExB,CAAC;AAED,MAAME,cAAc,GAAGhG,IAAI,CAACsC,MAAM,CAAC;AACnC0D,cAAc,CAACC,WAAW,wCAAW;AAErC,SAASD,cAAc,IAAI1D,MAAM","ignoreList":[]}
@@ -188,6 +188,6 @@ const Drawer = ({
188
188
  }) : muiDrawerComponent;
189
189
  };
190
190
  const MemoizedDrawer = memo(Drawer);
191
- MemoizedDrawer.displayName = "Drawer::pkg=odyssey&odysseyV=1.65.0";
191
+ MemoizedDrawer.displayName = "Drawer::pkg=odyssey&odysseyV=1.65.1";
192
192
  export { MemoizedDrawer as Drawer };
193
193
  //# sourceMappingURL=Drawer.js.map
@@ -61,7 +61,7 @@ const EmptyState = ({
61
61
  });
62
62
  };
63
63
  const MemoizedEmptyState = memo(EmptyState);
64
- MemoizedEmptyState.displayName = "EmptyState::pkg=odyssey&odysseyV=1.65.0";
64
+ MemoizedEmptyState.displayName = "EmptyState::pkg=odyssey&odysseyV=1.65.1";
65
65
  export { MemoizedEmptyState as EmptyState };
66
66
  export { MemoizedEmptyState as DataTableEmptyState };
67
67
  //# sourceMappingURL=EmptyState.js.map
@@ -39,6 +39,6 @@ const ErrorMessageList = ({
39
39
  });
40
40
  };
41
41
  const MemoizedErrorMessageList = memo(ErrorMessageList);
42
- MemoizedErrorMessageList.displayName = "ErrorMessageList::pkg=odyssey&odysseyV=1.65.0";
42
+ MemoizedErrorMessageList.displayName = "ErrorMessageList::pkg=odyssey&odysseyV=1.65.1";
43
43
  export { MemoizedErrorMessageList as ErrorMessageList };
44
44
  //# sourceMappingURL=ErrorMessageList.js.map
package/dist/esm/Field.js CHANGED
@@ -86,6 +86,6 @@ const Field = ({
86
86
  });
87
87
  };
88
88
  const MemoizedField = memo(Field);
89
- MemoizedField.displayName = "Field::pkg=odyssey&odysseyV=1.65.0";
89
+ MemoizedField.displayName = "Field::pkg=odyssey&odysseyV=1.65.1";
90
90
  export { MemoizedField as Field };
91
91
  //# sourceMappingURL=Field.js.map
@@ -43,6 +43,6 @@ const FieldError = ({
43
43
  });
44
44
  };
45
45
  const MemoizedFieldError = memo(FieldError);
46
- MemoizedFieldError.displayName = "FieldError::pkg=odyssey&odysseyV=1.65.0";
46
+ MemoizedFieldError.displayName = "FieldError::pkg=odyssey&odysseyV=1.65.1";
47
47
  export { MemoizedFieldError as FieldError };
48
48
  //# sourceMappingURL=FieldError.js.map
@@ -48,6 +48,6 @@ const FieldHint = ({
48
48
  });
49
49
  };
50
50
  const MemoizedFieldHint = memo(FieldHint);
51
- MemoizedFieldHint.displayName = "FieldHint::pkg=odyssey&odysseyV=1.65.0";
51
+ MemoizedFieldHint.displayName = "FieldHint::pkg=odyssey&odysseyV=1.65.1";
52
52
  export { MemoizedFieldHint as FieldHint };
53
53
  //# sourceMappingURL=FieldHint.js.map
@@ -44,6 +44,6 @@ const FieldLabel = ({
44
44
  });
45
45
  };
46
46
  const MemoizedFieldLabel = memo(FieldLabel);
47
- MemoizedFieldLabel.displayName = "FieldLabel::pkg=odyssey&odysseyV=1.65.0";
47
+ MemoizedFieldLabel.displayName = "FieldLabel::pkg=odyssey&odysseyV=1.65.1";
48
48
  export { MemoizedFieldLabel as FieldLabel };
49
49
  //# sourceMappingURL=FieldLabel.js.map
@@ -153,6 +153,6 @@ const Checkbox = ({
153
153
  });
154
154
  };
155
155
  const MemoizedCheckbox = memo(Checkbox);
156
- MemoizedCheckbox.displayName = "Checkbox::pkg=odyssey&odysseyV=1.65.0";
156
+ MemoizedCheckbox.displayName = "Checkbox::pkg=odyssey&odysseyV=1.65.1";
157
157
  export { MemoizedCheckbox as Checkbox };
158
158
  //# sourceMappingURL=Checkbox.js.map
@@ -67,6 +67,6 @@ const CheckboxGroup = ({
67
67
  });
68
68
  };
69
69
  const MemoizedCheckboxGroup = memo(CheckboxGroup);
70
- MemoizedCheckboxGroup.displayName = "CheckboxGroup::pkg=odyssey&odysseyV=1.65.0";
70
+ MemoizedCheckboxGroup.displayName = "CheckboxGroup::pkg=odyssey&odysseyV=1.65.1";
71
71
  export { MemoizedCheckboxGroup as CheckboxGroup };
72
72
  //# sourceMappingURL=CheckboxGroup.js.map
@@ -115,6 +115,6 @@ const Radio = ({
115
115
  });
116
116
  };
117
117
  const MemoizedRadio = memo(Radio);
118
- MemoizedRadio.displayName = "Radio::pkg=odyssey&odysseyV=1.65.0";
118
+ MemoizedRadio.displayName = "Radio::pkg=odyssey&odysseyV=1.65.1";
119
119
  export { MemoizedRadio as Radio };
120
120
  //# sourceMappingURL=Radio.js.map
@@ -88,6 +88,6 @@ const RadioGroup = ({
88
88
  });
89
89
  };
90
90
  const MemoizedRadioGroup = memo(RadioGroup);
91
- MemoizedRadioGroup.displayName = "RadioGroup::pkg=odyssey&odysseyV=1.65.0";
91
+ MemoizedRadioGroup.displayName = "RadioGroup::pkg=odyssey&odysseyV=1.65.1";
92
92
  export { MemoizedRadioGroup as RadioGroup };
93
93
  //# sourceMappingURL=RadioGroup.js.map
@@ -64,6 +64,6 @@ const Fieldset = ({
64
64
  });
65
65
  };
66
66
  const MemoizedFieldset = memo(Fieldset);
67
- MemoizedFieldset.displayName = "Fieldset::pkg=odyssey&odysseyV=1.65.0";
67
+ MemoizedFieldset.displayName = "Fieldset::pkg=odyssey&odysseyV=1.65.1";
68
68
  export { MemoizedFieldset as Fieldset };
69
69
  //# sourceMappingURL=Fieldset.js.map
@@ -48,6 +48,6 @@ const FileUploadIllustration = () => {
48
48
  });
49
49
  };
50
50
  const MemoizedFileUploadIllustration = memo(FileUploadIllustration);
51
- MemoizedFileUploadIllustration.displayName = "FileUploadIllustration::pkg=odyssey&odysseyV=1.65.0";
51
+ MemoizedFileUploadIllustration.displayName = "FileUploadIllustration::pkg=odyssey&odysseyV=1.65.1";
52
52
  export { MemoizedFileUploadIllustration as FileUploadIllustration };
53
53
  //# sourceMappingURL=FileUploadIllustration.js.map
@@ -104,6 +104,6 @@ const FileUploadPreview = ({
104
104
  });
105
105
  };
106
106
  const MemoizedFileUploadPreview = memo(FileUploadPreview);
107
- MemoizedFileUploadPreview.displayName = "FileUploadPreview::pkg=odyssey&odysseyV=1.65.0";
107
+ MemoizedFileUploadPreview.displayName = "FileUploadPreview::pkg=odyssey&odysseyV=1.65.1";
108
108
  export { MemoizedFileUploadPreview as FileUploadPreview };
109
109
  //# sourceMappingURL=FileUploadPreview.js.map
@@ -193,6 +193,6 @@ const FileUploader = ({
193
193
  });
194
194
  };
195
195
  const MemoizedFileUploader = memo(FileUploader);
196
- MemoizedFileUploader.displayName = "FileUploader::pkg=odyssey&odysseyV=1.65.0";
196
+ MemoizedFileUploader.displayName = "FileUploader::pkg=odyssey&odysseyV=1.65.1";
197
197
  export { MemoizedFileUploader as FileUpload, MemoizedFileUploader as FileUploader };
198
198
  //# sourceMappingURL=FileUploader.js.map
package/dist/esm/Form.js CHANGED
@@ -92,6 +92,6 @@ const Form = ({
92
92
  });
93
93
  };
94
94
  const MemoizedForm = memo(Form);
95
- MemoizedForm.displayName = "Form::pkg=odyssey&odysseyV=1.65.0";
95
+ MemoizedForm.displayName = "Form::pkg=odyssey&odysseyV=1.65.1";
96
96
  export { MemoizedForm as Form };
97
97
  //# sourceMappingURL=Form.js.map
@@ -35,6 +35,6 @@ const FullScreenOverlay = ({
35
35
  });
36
36
  };
37
37
  const MemoizedFullScreenOverlay = memo(FullScreenOverlay);
38
- MemoizedFullScreenOverlay.displayName = "FullScreenOverlay::pkg=odyssey&odysseyV=1.65.0";
38
+ MemoizedFullScreenOverlay.displayName = "FullScreenOverlay::pkg=odyssey&odysseyV=1.65.1";
39
39
  export { MemoizedFullScreenOverlay as FullScreenOverlay };
40
40
  //# sourceMappingURL=FullScreenOverlay.js.map