@okta/odyssey-react-mui 1.72.0 → 1.73.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 (693) hide show
  1. package/README.md +15 -5
  2. package/dist/cjs/Accordion.cjs +1 -1
  3. package/dist/cjs/AnimationContext.cjs +1 -1
  4. package/dist/cjs/Autocomplete.cjs +1 -1
  5. package/dist/cjs/Badge.cjs +1 -1
  6. package/dist/cjs/Banner.cjs +1 -1
  7. package/dist/cjs/Box.cjs +1 -1
  8. package/dist/cjs/Breadcrumbs.cjs +1 -1
  9. package/dist/cjs/Buttons/BaseButton.cjs +1 -1
  10. package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
  11. package/dist/cjs/Buttons/Button.cjs +1 -1
  12. package/dist/cjs/Buttons/MenuButton.cjs +1 -1
  13. package/dist/cjs/Buttons/MenuItem.cjs +1 -1
  14. package/dist/cjs/Callout.cjs +1 -1
  15. package/dist/cjs/Card.cjs +1 -1
  16. package/dist/cjs/CircularProgress.cjs +1 -1
  17. package/dist/cjs/ConditionalWrapper.cjs +1 -1
  18. package/dist/cjs/DataTable/DataTable.cjs +1 -1
  19. package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
  20. package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
  21. package/dist/cjs/DatePickers/DateField.cjs +1 -1
  22. package/dist/cjs/DatePickers/DateFieldActionBar.cjs +1 -1
  23. package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs +1 -1
  24. package/dist/cjs/DatePickers/DatePicker.cjs +1 -1
  25. package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
  26. package/dist/cjs/Dialog.cjs +1 -1
  27. package/dist/cjs/Drawer.cjs +2 -1
  28. package/dist/cjs/Drawer.cjs.map +1 -1
  29. package/dist/cjs/EmptyState.cjs +1 -1
  30. package/dist/cjs/ErrorMessageList.cjs +1 -1
  31. package/dist/cjs/Field.cjs +1 -1
  32. package/dist/cjs/FieldError.cjs +1 -1
  33. package/dist/cjs/FieldHint.cjs +1 -1
  34. package/dist/cjs/FieldLabel.cjs +1 -1
  35. package/dist/cjs/Fields/Checkbox.cjs +1 -1
  36. package/dist/cjs/Fields/CheckboxGroup.cjs +1 -1
  37. package/dist/cjs/Fields/Radio.cjs +1 -1
  38. package/dist/cjs/Fields/RadioGroup.cjs +1 -1
  39. package/dist/cjs/Fieldset.cjs +1 -1
  40. package/dist/cjs/FileUploader/FileUploadIllustration.cjs +1 -1
  41. package/dist/cjs/FileUploader/FileUploadPreview.cjs +1 -1
  42. package/dist/cjs/FileUploader/FileUploader.cjs +1 -1
  43. package/dist/cjs/Form.cjs +1 -1
  44. package/dist/cjs/FullScreenOverlay.cjs +4 -1
  45. package/dist/cjs/FullScreenOverlay.cjs.map +1 -1
  46. package/dist/cjs/FullScreenOverlayContext.cjs +1 -1
  47. package/dist/cjs/HintLink.cjs +1 -1
  48. package/dist/cjs/IconWithTooltip.cjs +1 -1
  49. package/dist/cjs/Link.cjs +1 -1
  50. package/dist/cjs/MuiPropsChild.cjs +1 -1
  51. package/dist/cjs/NativeSelect.cjs +1 -1
  52. package/dist/cjs/OdysseyCacheProvider.cjs +11 -2
  53. package/dist/cjs/OdysseyCacheProvider.cjs.map +1 -1
  54. package/dist/cjs/OdysseyProvider.cjs +8 -1
  55. package/dist/cjs/OdysseyProvider.cjs.map +1 -1
  56. package/dist/cjs/OdysseyThemeProvider.cjs +61 -28
  57. package/dist/cjs/OdysseyThemeProvider.cjs.map +1 -1
  58. package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
  59. package/dist/cjs/OdysseyThemeProviderPropsContext.cjs.map +1 -1
  60. package/dist/cjs/Pagination/Pagination.cjs +37 -35
  61. package/dist/cjs/Pagination/Pagination.cjs.map +1 -1
  62. package/dist/cjs/PasswordField.cjs +1 -1
  63. package/dist/cjs/ScreenReaderText.cjs +1 -1
  64. package/dist/cjs/SearchField.cjs +1 -1
  65. package/dist/cjs/Select.cjs +1 -1
  66. package/dist/cjs/Stack.cjs +1 -1
  67. package/dist/cjs/Status.cjs +1 -1
  68. package/dist/cjs/Surface.cjs +1 -1
  69. package/dist/cjs/Switch.cjs +3 -3
  70. package/dist/cjs/Switch.cjs.map +1 -1
  71. package/dist/cjs/Tabs.cjs +1 -1
  72. package/dist/cjs/Tag.cjs +31 -23
  73. package/dist/cjs/Tag.cjs.map +1 -1
  74. package/dist/cjs/TagList.cjs +1 -1
  75. package/dist/cjs/TextField.cjs +1 -1
  76. package/dist/cjs/Toast.cjs +1 -1
  77. package/dist/cjs/ToastStack.cjs +1 -1
  78. package/dist/cjs/Tooltip.cjs +1 -1
  79. package/dist/cjs/Typography.cjs +12 -12
  80. package/dist/cjs/charts/BarChart.cjs +1 -1
  81. package/dist/cjs/charts/LineChart.cjs +1 -1
  82. package/dist/cjs/charts/components/ChartError.cjs +1 -1
  83. package/dist/cjs/charts/components/ChartFrame.cjs +1 -1
  84. package/dist/cjs/charts/components/ChartPopoverContent.cjs +1 -1
  85. package/dist/cjs/fullscreen/FullscreenButton.cjs +1 -1
  86. package/dist/cjs/fullscreen/FullscreenRegion.cjs +1 -1
  87. package/dist/cjs/{getTypedObjectKeys.cjs → getActionTintChannel.cjs} +7 -6
  88. package/dist/cjs/getActionTintChannel.cjs.map +1 -0
  89. package/dist/cjs/getColorSchemeDesignTokensOverride.cjs +33 -0
  90. package/dist/cjs/getColorSchemeDesignTokensOverride.cjs.map +1 -0
  91. package/dist/cjs/getDropShadowFilter.cjs +22 -0
  92. package/dist/cjs/getDropShadowFilter.cjs.map +1 -0
  93. package/dist/cjs/icons.generated/Add.cjs +1 -1
  94. package/dist/cjs/icons.generated/AddCircle.cjs +1 -1
  95. package/dist/cjs/icons.generated/Apps.cjs +1 -1
  96. package/dist/cjs/icons.generated/AppsSelected.cjs +1 -1
  97. package/dist/cjs/icons.generated/ArrowBottom.cjs +1 -1
  98. package/dist/cjs/icons.generated/ArrowDown.cjs +1 -1
  99. package/dist/cjs/icons.generated/ArrowLeft.cjs +1 -1
  100. package/dist/cjs/icons.generated/ArrowLowerLeft.cjs +1 -1
  101. package/dist/cjs/icons.generated/ArrowLowerRight.cjs +1 -1
  102. package/dist/cjs/icons.generated/ArrowRight.cjs +1 -1
  103. package/dist/cjs/icons.generated/ArrowTop.cjs +1 -1
  104. package/dist/cjs/icons.generated/ArrowUnsorted.cjs +1 -1
  105. package/dist/cjs/icons.generated/ArrowUp.cjs +1 -1
  106. package/dist/cjs/icons.generated/ArrowUpperLeft.cjs +1 -1
  107. package/dist/cjs/icons.generated/ArrowUpperRight.cjs +1 -1
  108. package/dist/cjs/icons.generated/Bug.cjs +1 -1
  109. package/dist/cjs/icons.generated/Calendar.cjs +1 -1
  110. package/dist/cjs/icons.generated/Call.cjs +1 -1
  111. package/dist/cjs/icons.generated/Chat.cjs +1 -1
  112. package/dist/cjs/icons.generated/Check.cjs +1 -1
  113. package/dist/cjs/icons.generated/CheckCircleFilled.cjs +1 -1
  114. package/dist/cjs/icons.generated/ChevronDown.cjs +1 -1
  115. package/dist/cjs/icons.generated/ChevronLeft.cjs +1 -1
  116. package/dist/cjs/icons.generated/ChevronRight.cjs +1 -1
  117. package/dist/cjs/icons.generated/ChevronUp.cjs +1 -1
  118. package/dist/cjs/icons.generated/Clock.cjs +1 -1
  119. package/dist/cjs/icons.generated/Close.cjs +1 -1
  120. package/dist/cjs/icons.generated/CloseCircleFilled.cjs +1 -1
  121. package/dist/cjs/icons.generated/CollapseLeft.cjs +1 -1
  122. package/dist/cjs/icons.generated/CollapseRight.cjs +1 -1
  123. package/dist/cjs/icons.generated/Copy.cjs +1 -1
  124. package/dist/cjs/icons.generated/Customizations.cjs +1 -1
  125. package/dist/cjs/icons.generated/CustomizationsSelected.cjs +1 -1
  126. package/dist/cjs/icons.generated/DangerDiamond.cjs +1 -1
  127. package/dist/cjs/icons.generated/DangerDiamondFilled.cjs +1 -1
  128. package/dist/cjs/icons.generated/Delete.cjs +1 -1
  129. package/dist/cjs/icons.generated/Deny.cjs +1 -1
  130. package/dist/cjs/icons.generated/Devices.cjs +1 -1
  131. package/dist/cjs/icons.generated/Directory.cjs +1 -1
  132. package/dist/cjs/icons.generated/DirectorySelected.cjs +1 -1
  133. package/dist/cjs/icons.generated/Documentation.cjs +1 -1
  134. package/dist/cjs/icons.generated/Download.cjs +1 -1
  135. package/dist/cjs/icons.generated/DragIndicator.cjs +1 -1
  136. package/dist/cjs/icons.generated/Edit.cjs +1 -1
  137. package/dist/cjs/icons.generated/ExpandLeft.cjs +1 -1
  138. package/dist/cjs/icons.generated/ExpandRight.cjs +1 -1
  139. package/dist/cjs/icons.generated/ExternalLink.cjs +1 -1
  140. package/dist/cjs/icons.generated/Filter.cjs +1 -1
  141. package/dist/cjs/icons.generated/Folder.cjs +1 -1
  142. package/dist/cjs/icons.generated/FullscreenEnter.cjs +1 -1
  143. package/dist/cjs/icons.generated/FullscreenExit.cjs +1 -1
  144. package/dist/cjs/icons.generated/Globe.cjs +1 -1
  145. package/dist/cjs/icons.generated/Grid.cjs +1 -1
  146. package/dist/cjs/icons.generated/Group.cjs +1 -1
  147. package/dist/cjs/icons.generated/Happy.cjs +1 -1
  148. package/dist/cjs/icons.generated/Hide.cjs +1 -1
  149. package/dist/cjs/icons.generated/Home.cjs +1 -1
  150. package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
  151. package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
  152. package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
  153. package/dist/cjs/icons.generated/InformationCircle.cjs +1 -1
  154. package/dist/cjs/icons.generated/InformationCircleFilled.cjs +1 -1
  155. package/dist/cjs/icons.generated/Link.cjs +1 -1
  156. package/dist/cjs/icons.generated/List.cjs +1 -1
  157. package/dist/cjs/icons.generated/Lock.cjs +1 -1
  158. package/dist/cjs/icons.generated/Menu.cjs +1 -1
  159. package/dist/cjs/icons.generated/More.cjs +1 -1
  160. package/dist/cjs/icons.generated/Neutral.cjs +1 -1
  161. package/dist/cjs/icons.generated/Notification.cjs +1 -1
  162. package/dist/cjs/icons.generated/Pause.cjs +1 -1
  163. package/dist/cjs/icons.generated/QuestionCircle.cjs +1 -1
  164. package/dist/cjs/icons.generated/QuestionCircleFilled.cjs +1 -1
  165. package/dist/cjs/icons.generated/Refresh.cjs +1 -1
  166. package/dist/cjs/icons.generated/Reports.cjs +1 -1
  167. package/dist/cjs/icons.generated/ReportsSelected.cjs +1 -1
  168. package/dist/cjs/icons.generated/Reset.cjs +1 -1
  169. package/dist/cjs/icons.generated/Resume.cjs +1 -1
  170. package/dist/cjs/icons.generated/Sad.cjs +1 -1
  171. package/dist/cjs/icons.generated/Same.cjs +1 -1
  172. package/dist/cjs/icons.generated/Search.cjs +1 -1
  173. package/dist/cjs/icons.generated/Security.cjs +1 -1
  174. package/dist/cjs/icons.generated/SecuritySelected.cjs +1 -1
  175. package/dist/cjs/icons.generated/Send.cjs +1 -1
  176. package/dist/cjs/icons.generated/Server.cjs +1 -1
  177. package/dist/cjs/icons.generated/Settings.cjs +1 -1
  178. package/dist/cjs/icons.generated/SettingsSelected.cjs +1 -1
  179. package/dist/cjs/icons.generated/Show.cjs +1 -1
  180. package/dist/cjs/icons.generated/Sparkle.cjs +1 -1
  181. package/dist/cjs/icons.generated/Subtract.cjs +1 -1
  182. package/dist/cjs/icons.generated/Sync.cjs +1 -1
  183. package/dist/cjs/icons.generated/ThumbsDown.cjs +1 -1
  184. package/dist/cjs/icons.generated/ThumbsUp.cjs +1 -1
  185. package/dist/cjs/icons.generated/Unlock.cjs +1 -1
  186. package/dist/cjs/icons.generated/Upload.cjs +1 -1
  187. package/dist/cjs/icons.generated/User.cjs +1 -1
  188. package/dist/cjs/icons.generated/Video.cjs +1 -1
  189. package/dist/cjs/icons.generated/Warning.cjs +1 -1
  190. package/dist/cjs/icons.generated/WarningFilled.cjs +1 -1
  191. package/dist/cjs/icons.generated/Workflows.cjs +1 -1
  192. package/dist/cjs/icons.generated/WorkflowsSelected.cjs +1 -1
  193. package/dist/cjs/index.cjs +46 -0
  194. package/dist/cjs/index.cjs.map +1 -1
  195. package/dist/cjs/labs/AppTile.cjs +1 -1
  196. package/dist/cjs/labs/DataFilters.cjs +2 -2
  197. package/dist/cjs/labs/DataTablePagination.cjs +1 -1
  198. package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +1 -1
  199. package/dist/cjs/labs/DataView/CardLayoutContent.cjs +2 -2
  200. package/dist/cjs/labs/DataView/DataCard.cjs +1 -1
  201. package/dist/cjs/labs/DataView/DataTable.cjs +1 -1
  202. package/dist/cjs/labs/DataView/DataView.cjs +1 -1
  203. package/dist/cjs/labs/DataView/DetailPanel.cjs +1 -1
  204. package/dist/cjs/labs/DataView/LayoutSwitcher.cjs +1 -1
  205. package/dist/cjs/labs/DataView/RowActions.cjs +1 -1
  206. package/dist/cjs/labs/DataView/TableLayoutContent.cjs +1 -1
  207. package/dist/cjs/labs/DataView/TableSettings.cjs +1 -1
  208. package/dist/cjs/labs/DatePickers/DateTimeField.cjs +1 -1
  209. package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +1 -1
  210. package/dist/cjs/labs/GroupPicker.cjs +1 -0
  211. package/dist/cjs/labs/GroupPicker.cjs.map +1 -1
  212. package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +1 -1
  213. package/dist/cjs/labs/OdysseyPickers/Picker.cjs +1 -1
  214. package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs +1 -1
  215. package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs +1 -1
  216. package/dist/cjs/labs/OdysseyPickers/SearchDropdown.cjs +1 -1
  217. package/dist/cjs/labs/PageTemplate/DocumentationLink.cjs +1 -1
  218. package/dist/cjs/labs/PageTemplate/Layout.cjs +1 -1
  219. package/dist/cjs/labs/PageTemplate/PageTemplate.cjs +1 -1
  220. package/dist/cjs/labs/PaginatedTable.cjs +1 -1
  221. package/dist/cjs/labs/StaticTable.cjs +1 -1
  222. package/dist/cjs/labs/UserProfile.cjs +1 -1
  223. package/dist/cjs/labs/UserProfileMenuButton.cjs +1 -1
  224. package/dist/cjs/logos.generated/Duo.cjs +1 -1
  225. package/dist/cjs/logos.generated/GoogleAuth.cjs +1 -1
  226. package/dist/cjs/logos.generated/OktaVerify.cjs +1 -1
  227. package/dist/cjs/logos.generated/Persona.cjs +1 -1
  228. package/dist/cjs/logos.generated/SymantecVip.cjs +1 -1
  229. package/dist/cjs/logos.generated/Yubikey.cjs +1 -1
  230. package/dist/cjs/message-bus/messageGuards.cjs +1 -5
  231. package/dist/cjs/message-bus/messageGuards.cjs.map +1 -1
  232. package/dist/cjs/properties/ts/odyssey-react-mui.cjs +2 -0
  233. package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
  234. package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs +2 -0
  235. package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs.map +1 -1
  236. package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs +2 -0
  237. package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs.map +1 -1
  238. package/dist/cjs/remUtils.cjs +1 -3
  239. package/dist/cjs/remUtils.cjs.map +1 -1
  240. package/dist/cjs/resolveColorSchemeDesignTokens.cjs +43 -0
  241. package/dist/cjs/resolveColorSchemeDesignTokens.cjs.map +1 -0
  242. package/dist/cjs/test-selectors/index.cjs.map +1 -1
  243. package/dist/cjs/test-selectors/sanityChecks.cjs +1 -19
  244. package/dist/cjs/test-selectors/sanityChecks.cjs.map +1 -1
  245. package/dist/cjs/theme/components/Button.cjs +7 -6
  246. package/dist/cjs/theme/components/Button.cjs.map +1 -1
  247. package/dist/cjs/theme/components/Checkbox.cjs +1 -1
  248. package/dist/cjs/theme/components/Checkbox.cjs.map +1 -1
  249. package/dist/cjs/theme/components/Chip.cjs +3 -1
  250. package/dist/cjs/theme/components/Chip.cjs.map +1 -1
  251. package/dist/cjs/theme/components/Dialog.cjs +6 -2
  252. package/dist/cjs/theme/components/Dialog.cjs.map +1 -1
  253. package/dist/cjs/theme/components/Paper.cjs +3 -0
  254. package/dist/cjs/theme/components/Paper.cjs.map +1 -1
  255. package/dist/cjs/theme/components/Tabs.cjs +7 -11
  256. package/dist/cjs/theme/components/Tabs.cjs.map +1 -1
  257. package/dist/cjs/theme/components/types.cjs.map +1 -1
  258. package/dist/cjs/theme/createOdysseyMuiTheme.cjs +3 -0
  259. package/dist/cjs/theme/createOdysseyMuiTheme.cjs.map +1 -1
  260. package/dist/cjs/theme/palette.cjs +14 -9
  261. package/dist/cjs/theme/palette.cjs.map +1 -1
  262. package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs +10 -1
  263. package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs.map +1 -1
  264. package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -1
  265. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +1 -1
  266. package/dist/cjs/ui-shell/SideNav/NavAccordion.cjs +1 -1
  267. package/dist/cjs/ui-shell/SideNav/SideNav.cjs +1 -1
  268. package/dist/cjs/ui-shell/SideNav/SideNavFooterContent.cjs +1 -1
  269. package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs +1 -1
  270. package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs +2 -2
  271. package/dist/cjs/ui-shell/SideNav/SideNavItemLinkContent.cjs +1 -1
  272. package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs +1 -1
  273. package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs +3 -3
  274. package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs.map +1 -1
  275. package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
  276. package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
  277. package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
  278. package/dist/cjs/ui-shell/UiShell.cjs +7 -2
  279. package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
  280. package/dist/cjs/ui-shell/UiShellLogo.cjs +24 -2
  281. package/dist/cjs/ui-shell/UiShellLogo.cjs.map +1 -1
  282. package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
  283. package/dist/cjs/ui-shell/renderUiShell.cjs +15 -0
  284. package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
  285. package/dist/cjs/useColorScheme.cjs +36 -0
  286. package/dist/cjs/useColorScheme.cjs.map +1 -0
  287. package/dist/cjs/useContrastMode.cjs +5 -4
  288. package/dist/cjs/useContrastMode.cjs.map +1 -1
  289. package/dist/cjs/useThemeCache.cjs +22 -14
  290. package/dist/cjs/useThemeCache.cjs.map +1 -1
  291. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  292. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  293. package/dist/esm/Accordion.js +1 -1
  294. package/dist/esm/AnimationContext.js +1 -1
  295. package/dist/esm/Autocomplete.js +1 -1
  296. package/dist/esm/Badge.js +1 -1
  297. package/dist/esm/Banner.js +1 -1
  298. package/dist/esm/Box.js +1 -1
  299. package/dist/esm/Breadcrumbs.js +1 -1
  300. package/dist/esm/Buttons/BaseButton.js +1 -1
  301. package/dist/esm/Buttons/BaseMenuButton.js +1 -1
  302. package/dist/esm/Buttons/Button.js +1 -1
  303. package/dist/esm/Buttons/MenuButton.js +1 -1
  304. package/dist/esm/Buttons/MenuItem.js +1 -1
  305. package/dist/esm/Callout.js +1 -1
  306. package/dist/esm/Card.js +1 -1
  307. package/dist/esm/CircularProgress.js +1 -1
  308. package/dist/esm/ConditionalWrapper.js +1 -1
  309. package/dist/esm/DataTable/DataTable.js +1 -1
  310. package/dist/esm/DataTable/DataTableRowActions.js +1 -1
  311. package/dist/esm/DataTable/DataTableSettings.js +1 -1
  312. package/dist/esm/DatePickers/DateField.js +1 -1
  313. package/dist/esm/DatePickers/DateFieldActionBar.js +1 -1
  314. package/dist/esm/DatePickers/DateFieldLocalizationProvider.js +1 -1
  315. package/dist/esm/DatePickers/DatePicker.js +1 -1
  316. package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
  317. package/dist/esm/Dialog.js +1 -1
  318. package/dist/esm/Drawer.js +2 -1
  319. package/dist/esm/Drawer.js.map +1 -1
  320. package/dist/esm/EmptyState.js +1 -1
  321. package/dist/esm/ErrorMessageList.js +1 -1
  322. package/dist/esm/Field.js +1 -1
  323. package/dist/esm/FieldError.js +1 -1
  324. package/dist/esm/FieldHint.js +1 -1
  325. package/dist/esm/FieldLabel.js +1 -1
  326. package/dist/esm/Fields/Checkbox.js +1 -1
  327. package/dist/esm/Fields/CheckboxGroup.js +1 -1
  328. package/dist/esm/Fields/Radio.js +1 -1
  329. package/dist/esm/Fields/RadioGroup.js +1 -1
  330. package/dist/esm/Fieldset.js +1 -1
  331. package/dist/esm/FileUploader/FileUploadIllustration.js +1 -1
  332. package/dist/esm/FileUploader/FileUploadPreview.js +1 -1
  333. package/dist/esm/FileUploader/FileUploader.js +1 -1
  334. package/dist/esm/Form.js +1 -1
  335. package/dist/esm/FullScreenOverlay.js +4 -1
  336. package/dist/esm/FullScreenOverlay.js.map +1 -1
  337. package/dist/esm/FullScreenOverlayContext.js +1 -1
  338. package/dist/esm/HintLink.js +1 -1
  339. package/dist/esm/IconWithTooltip.js +1 -1
  340. package/dist/esm/Link.js +1 -1
  341. package/dist/esm/MuiPropsChild.js +1 -1
  342. package/dist/esm/NativeSelect.js +1 -1
  343. package/dist/esm/OdysseyCacheProvider.js +12 -3
  344. package/dist/esm/OdysseyCacheProvider.js.map +1 -1
  345. package/dist/esm/OdysseyProvider.js +8 -1
  346. package/dist/esm/OdysseyProvider.js.map +1 -1
  347. package/dist/esm/OdysseyThemeProvider.js +61 -26
  348. package/dist/esm/OdysseyThemeProvider.js.map +1 -1
  349. package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
  350. package/dist/esm/OdysseyThemeProviderPropsContext.js.map +1 -1
  351. package/dist/esm/Pagination/Pagination.js +37 -35
  352. package/dist/esm/Pagination/Pagination.js.map +1 -1
  353. package/dist/esm/PasswordField.js +1 -1
  354. package/dist/esm/ScreenReaderText.js +1 -1
  355. package/dist/esm/SearchField.js +1 -1
  356. package/dist/esm/Select.js +1 -1
  357. package/dist/esm/Stack.js +1 -1
  358. package/dist/esm/Status.js +1 -1
  359. package/dist/esm/Surface.js +1 -1
  360. package/dist/esm/Switch.js +3 -3
  361. package/dist/esm/Switch.js.map +1 -1
  362. package/dist/esm/Tabs.js +1 -1
  363. package/dist/esm/Tag.js +31 -23
  364. package/dist/esm/Tag.js.map +1 -1
  365. package/dist/esm/TagList.js +1 -1
  366. package/dist/esm/TextField.js +1 -1
  367. package/dist/esm/Toast.js +1 -1
  368. package/dist/esm/ToastStack.js +1 -1
  369. package/dist/esm/Tooltip.js +1 -1
  370. package/dist/esm/Typography.js +12 -12
  371. package/dist/esm/charts/BarChart.js +1 -1
  372. package/dist/esm/charts/LineChart.js +1 -1
  373. package/dist/esm/charts/components/ChartError.js +1 -1
  374. package/dist/esm/charts/components/ChartFrame.js +1 -1
  375. package/dist/esm/charts/components/ChartPopoverContent.js +1 -1
  376. package/dist/esm/fullscreen/FullscreenButton.js +1 -1
  377. package/dist/esm/fullscreen/FullscreenRegion.js +1 -1
  378. package/dist/esm/{getTypedObjectKeys.js → getActionTintChannel.js} +5 -5
  379. package/dist/esm/getActionTintChannel.js.map +1 -0
  380. package/dist/esm/getColorSchemeDesignTokensOverride.js +27 -0
  381. package/dist/esm/getColorSchemeDesignTokensOverride.js.map +1 -0
  382. package/dist/{types/getTypedObjectKeys.d.ts → esm/getDropShadowFilter.js} +6 -4
  383. package/dist/esm/getDropShadowFilter.js.map +1 -0
  384. package/dist/esm/icons.generated/Add.js +1 -1
  385. package/dist/esm/icons.generated/AddCircle.js +1 -1
  386. package/dist/esm/icons.generated/Apps.js +1 -1
  387. package/dist/esm/icons.generated/AppsSelected.js +1 -1
  388. package/dist/esm/icons.generated/ArrowBottom.js +1 -1
  389. package/dist/esm/icons.generated/ArrowDown.js +1 -1
  390. package/dist/esm/icons.generated/ArrowLeft.js +1 -1
  391. package/dist/esm/icons.generated/ArrowLowerLeft.js +1 -1
  392. package/dist/esm/icons.generated/ArrowLowerRight.js +1 -1
  393. package/dist/esm/icons.generated/ArrowRight.js +1 -1
  394. package/dist/esm/icons.generated/ArrowTop.js +1 -1
  395. package/dist/esm/icons.generated/ArrowUnsorted.js +1 -1
  396. package/dist/esm/icons.generated/ArrowUp.js +1 -1
  397. package/dist/esm/icons.generated/ArrowUpperLeft.js +1 -1
  398. package/dist/esm/icons.generated/ArrowUpperRight.js +1 -1
  399. package/dist/esm/icons.generated/Bug.js +1 -1
  400. package/dist/esm/icons.generated/Calendar.js +1 -1
  401. package/dist/esm/icons.generated/Call.js +1 -1
  402. package/dist/esm/icons.generated/Chat.js +1 -1
  403. package/dist/esm/icons.generated/Check.js +1 -1
  404. package/dist/esm/icons.generated/CheckCircleFilled.js +1 -1
  405. package/dist/esm/icons.generated/ChevronDown.js +1 -1
  406. package/dist/esm/icons.generated/ChevronLeft.js +1 -1
  407. package/dist/esm/icons.generated/ChevronRight.js +1 -1
  408. package/dist/esm/icons.generated/ChevronUp.js +1 -1
  409. package/dist/esm/icons.generated/Clock.js +1 -1
  410. package/dist/esm/icons.generated/Close.js +1 -1
  411. package/dist/esm/icons.generated/CloseCircleFilled.js +1 -1
  412. package/dist/esm/icons.generated/CollapseLeft.js +1 -1
  413. package/dist/esm/icons.generated/CollapseRight.js +1 -1
  414. package/dist/esm/icons.generated/Copy.js +1 -1
  415. package/dist/esm/icons.generated/Customizations.js +1 -1
  416. package/dist/esm/icons.generated/CustomizationsSelected.js +1 -1
  417. package/dist/esm/icons.generated/DangerDiamond.js +1 -1
  418. package/dist/esm/icons.generated/DangerDiamondFilled.js +1 -1
  419. package/dist/esm/icons.generated/Delete.js +1 -1
  420. package/dist/esm/icons.generated/Deny.js +1 -1
  421. package/dist/esm/icons.generated/Devices.js +1 -1
  422. package/dist/esm/icons.generated/Directory.js +1 -1
  423. package/dist/esm/icons.generated/DirectorySelected.js +1 -1
  424. package/dist/esm/icons.generated/Documentation.js +1 -1
  425. package/dist/esm/icons.generated/Download.js +1 -1
  426. package/dist/esm/icons.generated/DragIndicator.js +1 -1
  427. package/dist/esm/icons.generated/Edit.js +1 -1
  428. package/dist/esm/icons.generated/ExpandLeft.js +1 -1
  429. package/dist/esm/icons.generated/ExpandRight.js +1 -1
  430. package/dist/esm/icons.generated/ExternalLink.js +1 -1
  431. package/dist/esm/icons.generated/Filter.js +1 -1
  432. package/dist/esm/icons.generated/Folder.js +1 -1
  433. package/dist/esm/icons.generated/FullscreenEnter.js +1 -1
  434. package/dist/esm/icons.generated/FullscreenExit.js +1 -1
  435. package/dist/esm/icons.generated/Globe.js +1 -1
  436. package/dist/esm/icons.generated/Grid.js +1 -1
  437. package/dist/esm/icons.generated/Group.js +1 -1
  438. package/dist/esm/icons.generated/Happy.js +1 -1
  439. package/dist/esm/icons.generated/Hide.js +1 -1
  440. package/dist/esm/icons.generated/Home.js +1 -1
  441. package/dist/esm/icons.generated/HomeSelected.js +1 -1
  442. package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
  443. package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
  444. package/dist/esm/icons.generated/InformationCircle.js +1 -1
  445. package/dist/esm/icons.generated/InformationCircleFilled.js +1 -1
  446. package/dist/esm/icons.generated/Link.js +1 -1
  447. package/dist/esm/icons.generated/List.js +1 -1
  448. package/dist/esm/icons.generated/Lock.js +1 -1
  449. package/dist/esm/icons.generated/Menu.js +1 -1
  450. package/dist/esm/icons.generated/More.js +1 -1
  451. package/dist/esm/icons.generated/Neutral.js +1 -1
  452. package/dist/esm/icons.generated/Notification.js +1 -1
  453. package/dist/esm/icons.generated/Pause.js +1 -1
  454. package/dist/esm/icons.generated/QuestionCircle.js +1 -1
  455. package/dist/esm/icons.generated/QuestionCircleFilled.js +1 -1
  456. package/dist/esm/icons.generated/Refresh.js +1 -1
  457. package/dist/esm/icons.generated/Reports.js +1 -1
  458. package/dist/esm/icons.generated/ReportsSelected.js +1 -1
  459. package/dist/esm/icons.generated/Reset.js +1 -1
  460. package/dist/esm/icons.generated/Resume.js +1 -1
  461. package/dist/esm/icons.generated/Sad.js +1 -1
  462. package/dist/esm/icons.generated/Same.js +1 -1
  463. package/dist/esm/icons.generated/Search.js +1 -1
  464. package/dist/esm/icons.generated/Security.js +1 -1
  465. package/dist/esm/icons.generated/SecuritySelected.js +1 -1
  466. package/dist/esm/icons.generated/Send.js +1 -1
  467. package/dist/esm/icons.generated/Server.js +1 -1
  468. package/dist/esm/icons.generated/Settings.js +1 -1
  469. package/dist/esm/icons.generated/SettingsSelected.js +1 -1
  470. package/dist/esm/icons.generated/Show.js +1 -1
  471. package/dist/esm/icons.generated/Sparkle.js +1 -1
  472. package/dist/esm/icons.generated/Subtract.js +1 -1
  473. package/dist/esm/icons.generated/Sync.js +1 -1
  474. package/dist/esm/icons.generated/ThumbsDown.js +1 -1
  475. package/dist/esm/icons.generated/ThumbsUp.js +1 -1
  476. package/dist/esm/icons.generated/Unlock.js +1 -1
  477. package/dist/esm/icons.generated/Upload.js +1 -1
  478. package/dist/esm/icons.generated/User.js +1 -1
  479. package/dist/esm/icons.generated/Video.js +1 -1
  480. package/dist/esm/icons.generated/Warning.js +1 -1
  481. package/dist/esm/icons.generated/WarningFilled.js +1 -1
  482. package/dist/esm/icons.generated/Workflows.js +1 -1
  483. package/dist/esm/icons.generated/WorkflowsSelected.js +1 -1
  484. package/dist/esm/index.js +4 -0
  485. package/dist/esm/index.js.map +1 -1
  486. package/dist/esm/labs/AppTile.js +1 -1
  487. package/dist/esm/labs/DataFilters.js +2 -2
  488. package/dist/esm/labs/DataTablePagination.js +1 -1
  489. package/dist/esm/labs/DataView/BulkActionsMenu.js +1 -1
  490. package/dist/esm/labs/DataView/CardLayoutContent.js +2 -2
  491. package/dist/esm/labs/DataView/DataCard.js +1 -1
  492. package/dist/esm/labs/DataView/DataTable.js +1 -1
  493. package/dist/esm/labs/DataView/DataView.js +1 -1
  494. package/dist/esm/labs/DataView/DetailPanel.js +1 -1
  495. package/dist/esm/labs/DataView/LayoutSwitcher.js +1 -1
  496. package/dist/esm/labs/DataView/RowActions.js +1 -1
  497. package/dist/esm/labs/DataView/TableLayoutContent.js +1 -1
  498. package/dist/esm/labs/DataView/TableSettings.js +1 -1
  499. package/dist/esm/labs/DatePickers/DateTimeField.js +1 -1
  500. package/dist/esm/labs/DatePickers/DateTimePicker.js +1 -1
  501. package/dist/esm/labs/GroupPicker.js +1 -0
  502. package/dist/esm/labs/GroupPicker.js.map +1 -1
  503. package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +1 -1
  504. package/dist/esm/labs/OdysseyPickers/Picker.js +1 -1
  505. package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js +1 -1
  506. package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js +1 -1
  507. package/dist/esm/labs/OdysseyPickers/SearchDropdown.js +1 -1
  508. package/dist/esm/labs/PageTemplate/DocumentationLink.js +1 -1
  509. package/dist/esm/labs/PageTemplate/Layout.js +1 -1
  510. package/dist/esm/labs/PageTemplate/PageTemplate.js +1 -1
  511. package/dist/esm/labs/PaginatedTable.js +1 -1
  512. package/dist/esm/labs/StaticTable.js +1 -1
  513. package/dist/esm/labs/UserProfile.js +1 -1
  514. package/dist/esm/labs/UserProfileMenuButton.js +1 -1
  515. package/dist/esm/logos.generated/Duo.js +1 -1
  516. package/dist/esm/logos.generated/GoogleAuth.js +1 -1
  517. package/dist/esm/logos.generated/OktaVerify.js +1 -1
  518. package/dist/esm/logos.generated/Persona.js +1 -1
  519. package/dist/esm/logos.generated/SymantecVip.js +1 -1
  520. package/dist/esm/logos.generated/Yubikey.js +1 -1
  521. package/dist/esm/message-bus/messageGuards.js +0 -2
  522. package/dist/esm/message-bus/messageGuards.js.map +1 -1
  523. package/dist/esm/properties/ts/odyssey-react-mui.js +2 -0
  524. package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
  525. package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js +2 -0
  526. package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -1
  527. package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js +2 -0
  528. package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -1
  529. package/dist/esm/remUtils.js +0 -1
  530. package/dist/esm/remUtils.js.map +1 -1
  531. package/dist/esm/resolveColorSchemeDesignTokens.js +37 -0
  532. package/dist/esm/resolveColorSchemeDesignTokens.js.map +1 -0
  533. package/dist/esm/test-selectors/index.js.map +1 -1
  534. package/dist/esm/test-selectors/sanityChecks.js +0 -15
  535. package/dist/esm/test-selectors/sanityChecks.js.map +1 -1
  536. package/dist/esm/theme/components/Button.js +7 -6
  537. package/dist/esm/theme/components/Button.js.map +1 -1
  538. package/dist/esm/theme/components/Checkbox.js +1 -1
  539. package/dist/esm/theme/components/Checkbox.js.map +1 -1
  540. package/dist/esm/theme/components/Chip.js +3 -1
  541. package/dist/esm/theme/components/Chip.js.map +1 -1
  542. package/dist/esm/theme/components/Dialog.js +6 -2
  543. package/dist/esm/theme/components/Dialog.js.map +1 -1
  544. package/dist/esm/theme/components/Paper.js +3 -0
  545. package/dist/esm/theme/components/Paper.js.map +1 -1
  546. package/dist/esm/theme/components/Tabs.js +7 -11
  547. package/dist/esm/theme/components/Tabs.js.map +1 -1
  548. package/dist/esm/theme/components/types.js.map +1 -1
  549. package/dist/esm/theme/createOdysseyMuiTheme.js +3 -0
  550. package/dist/esm/theme/createOdysseyMuiTheme.js.map +1 -1
  551. package/dist/esm/theme/palette.js +14 -9
  552. package/dist/esm/theme/palette.js.map +1 -1
  553. package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js +10 -1
  554. package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js.map +1 -1
  555. package/dist/esm/ui-shell/InnerAppContainer.js +1 -1
  556. package/dist/esm/ui-shell/NarrowUiShellContent.js +1 -1
  557. package/dist/esm/ui-shell/SideNav/NavAccordion.js +1 -1
  558. package/dist/esm/ui-shell/SideNav/SideNav.js +1 -1
  559. package/dist/esm/ui-shell/SideNav/SideNavFooterContent.js +1 -1
  560. package/dist/esm/ui-shell/SideNav/SideNavHeader.js +1 -1
  561. package/dist/esm/ui-shell/SideNav/SideNavItemContent.js +2 -2
  562. package/dist/esm/ui-shell/SideNav/SideNavItemLinkContent.js +1 -1
  563. package/dist/esm/ui-shell/SideNav/SideNavSortableList.js +1 -1
  564. package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js +3 -3
  565. package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js.map +1 -1
  566. package/dist/esm/ui-shell/SkipToContent.js +1 -1
  567. package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
  568. package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
  569. package/dist/esm/ui-shell/UiShell.js +7 -2
  570. package/dist/esm/ui-shell/UiShell.js.map +1 -1
  571. package/dist/esm/ui-shell/UiShellLogo.js +23 -2
  572. package/dist/esm/ui-shell/UiShellLogo.js.map +1 -1
  573. package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
  574. package/dist/esm/ui-shell/renderUiShell.js +15 -0
  575. package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
  576. package/dist/esm/useColorScheme.js +30 -0
  577. package/dist/esm/useColorScheme.js.map +1 -0
  578. package/dist/esm/useContrastMode.js +5 -4
  579. package/dist/esm/useContrastMode.js.map +1 -1
  580. package/dist/esm/useThemeCache.js +22 -14
  581. package/dist/esm/useThemeCache.js.map +1 -1
  582. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  583. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  584. package/dist/tsconfig.production.tsbuildinfo +1 -1
  585. package/dist/types/FullScreenOverlay.d.ts.map +1 -1
  586. package/dist/types/OdysseyCacheProvider.d.ts +6 -1
  587. package/dist/types/OdysseyCacheProvider.d.ts.map +1 -1
  588. package/dist/types/OdysseyDesignTokensContext.d.ts +3 -0
  589. package/dist/types/OdysseyDesignTokensContext.d.ts.map +1 -1
  590. package/dist/types/OdysseyProvider.d.ts +2 -2
  591. package/dist/types/OdysseyProvider.d.ts.map +1 -1
  592. package/dist/types/OdysseyThemeProvider.d.ts +9 -1
  593. package/dist/types/OdysseyThemeProvider.d.ts.map +1 -1
  594. package/dist/types/OdysseyThemeProviderPropsContext.d.ts +10 -2
  595. package/dist/types/OdysseyThemeProviderPropsContext.d.ts.map +1 -1
  596. package/dist/types/Pagination/Pagination.d.ts.map +1 -1
  597. package/dist/types/Tag.d.ts.map +1 -1
  598. package/dist/types/getActionTintChannel.d.ts +18 -0
  599. package/dist/types/getActionTintChannel.d.ts.map +1 -0
  600. package/dist/types/getColorSchemeDesignTokensOverride.d.ts +46 -0
  601. package/dist/types/getColorSchemeDesignTokensOverride.d.ts.map +1 -0
  602. package/dist/types/getDropShadowFilter.d.ts +17 -0
  603. package/dist/types/getDropShadowFilter.d.ts.map +1 -0
  604. package/dist/types/i18n.generated/i18n.d.ts +4 -0
  605. package/dist/types/i18n.generated/i18n.d.ts.map +1 -1
  606. package/dist/types/i18n.generated/i18n.resources.d.ts +6 -0
  607. package/dist/types/i18n.generated/i18n.resources.d.ts.map +1 -1
  608. package/dist/types/index.d.ts +4 -0
  609. package/dist/types/index.d.ts.map +1 -1
  610. package/dist/types/labs/GroupPicker.d.ts +2 -1
  611. package/dist/types/labs/GroupPicker.d.ts.map +1 -1
  612. package/dist/types/message-bus/messageGuards.d.ts +0 -8
  613. package/dist/types/message-bus/messageGuards.d.ts.map +1 -1
  614. package/dist/types/properties/ts/odyssey-react-mui.d.ts +2 -0
  615. package/dist/types/properties/ts/odyssey-react-mui.d.ts.map +1 -1
  616. package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts +2 -0
  617. package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -1
  618. package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts +2 -0
  619. package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -1
  620. package/dist/types/remUtils.d.ts +0 -4
  621. package/dist/types/remUtils.d.ts.map +1 -1
  622. package/dist/types/resolveColorSchemeDesignTokens.d.ts +25 -0
  623. package/dist/types/resolveColorSchemeDesignTokens.d.ts.map +1 -0
  624. package/dist/types/test-selectors/index.d.ts +1 -1
  625. package/dist/types/test-selectors/sanityChecks.d.ts +0 -3
  626. package/dist/types/test-selectors/sanityChecks.d.ts.map +1 -1
  627. package/dist/types/theme/components/Button.d.ts +1 -1
  628. package/dist/types/theme/components/Button.d.ts.map +1 -1
  629. package/dist/types/theme/components/Chip.d.ts +1 -1
  630. package/dist/types/theme/components/Chip.d.ts.map +1 -1
  631. package/dist/types/theme/components/Dialog.d.ts.map +1 -1
  632. package/dist/types/theme/components/Paper.d.ts.map +1 -1
  633. package/dist/types/theme/components/Tabs.d.ts +1 -1
  634. package/dist/types/theme/components/Tabs.d.ts.map +1 -1
  635. package/dist/types/theme/components/types.d.ts +5 -0
  636. package/dist/types/theme/components/types.d.ts.map +1 -1
  637. package/dist/types/theme/createOdysseyMuiTheme.d.ts +8 -1
  638. package/dist/types/theme/createOdysseyMuiTheme.d.ts.map +1 -1
  639. package/dist/types/theme/palette.d.ts +3 -1
  640. package/dist/types/theme/palette.d.ts.map +1 -1
  641. package/dist/types/ui-shell/AppSwitcher/AppSwitcher.d.ts.map +1 -1
  642. package/dist/types/ui-shell/UiShell.d.ts +8 -1
  643. package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
  644. package/dist/types/ui-shell/UiShellLogo.d.ts.map +1 -1
  645. package/dist/types/ui-shell/renderUiShell.d.ts +12 -1
  646. package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
  647. package/dist/types/useColorScheme.d.ts +41 -0
  648. package/dist/types/useColorScheme.d.ts.map +1 -0
  649. package/dist/types/useContrastMode.d.ts +16 -5
  650. package/dist/types/useContrastMode.d.ts.map +1 -1
  651. package/dist/types/useThemeCache.d.ts +15 -6
  652. package/dist/types/useThemeCache.d.ts.map +1 -1
  653. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  654. package/package.json +16 -20
  655. package/src/properties/odyssey-react-mui.properties +2 -0
  656. package/src/properties/translations/odyssey-react-mui_ok_PL.properties +2 -0
  657. package/src/properties/translations/odyssey-react-mui_ok_SK.properties +2 -0
  658. package/src/properties/ts/odyssey-react-mui.ts +1 -1
  659. package/src/properties/ts/odyssey-react-mui_ok_PL.ts +1 -1
  660. package/src/properties/ts/odyssey-react-mui_ok_SK.ts +1 -1
  661. package/dist/cjs/getTypedObjectKeys.cjs.map +0 -1
  662. package/dist/cjs/labs/DataTable.cjs +0 -485
  663. package/dist/cjs/labs/DataTable.cjs.map +0 -1
  664. package/dist/cjs/test-utils/getControlledElement.cjs +0 -48
  665. package/dist/cjs/test-utils/getControlledElement.cjs.map +0 -1
  666. package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs +0 -47
  667. package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs.map +0 -1
  668. package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs +0 -43
  669. package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs.map +0 -1
  670. package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs +0 -137
  671. package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs.map +0 -1
  672. package/dist/esm/getTypedObjectKeys.js.map +0 -1
  673. package/dist/esm/labs/DataTable.js +0 -478
  674. package/dist/esm/labs/DataTable.js.map +0 -1
  675. package/dist/esm/test-utils/getControlledElement.js +0 -41
  676. package/dist/esm/test-utils/getControlledElement.js.map +0 -1
  677. package/dist/esm/test-utils/renderWithOdysseyProvider.js +0 -42
  678. package/dist/esm/test-utils/renderWithOdysseyProvider.js.map +0 -1
  679. package/dist/esm/ui-shell/TopNav/TopNavLinksList.js +0 -37
  680. package/dist/esm/ui-shell/TopNav/TopNavLinksList.js.map +0 -1
  681. package/dist/esm/ui-shell/TopNav/TopNavListItem.js +0 -131
  682. package/dist/esm/ui-shell/TopNav/TopNavListItem.js.map +0 -1
  683. package/dist/types/getTypedObjectKeys.d.ts.map +0 -1
  684. package/dist/types/labs/DataTable.d.ts +0 -186
  685. package/dist/types/labs/DataTable.d.ts.map +0 -1
  686. package/dist/types/test-utils/getControlledElement.d.ts +0 -26
  687. package/dist/types/test-utils/getControlledElement.d.ts.map +0 -1
  688. package/dist/types/test-utils/renderWithOdysseyProvider.d.ts +0 -37
  689. package/dist/types/test-utils/renderWithOdysseyProvider.d.ts.map +0 -1
  690. package/dist/types/ui-shell/TopNav/TopNavLinksList.d.ts +0 -44
  691. package/dist/types/ui-shell/TopNav/TopNavLinksList.d.ts.map +0 -1
  692. package/dist/types/ui-shell/TopNav/TopNavListItem.d.ts +0 -41
  693. package/dist/types/ui-shell/TopNav/TopNavListItem.d.ts.map +0 -1
@@ -225,6 +225,6 @@ const DatePicker = ({
225
225
  });
226
226
  };
227
227
  const MemoizedDatePicker = memo(DatePicker);
228
- MemoizedDatePicker.displayName = "DatePicker::pkg=odyssey&odysseyV=1.72.0";
228
+ MemoizedDatePicker.displayName = "DatePicker::pkg=odyssey&odysseyV=1.73.0";
229
229
  export { MemoizedDatePicker as DatePicker };
230
230
  //# 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.72.0";
35
+ MemoizedTimeZonePicker.displayName = "TimeZonePicker::pkg=odyssey&odysseyV=1.73.0";
36
36
  export { MemoizedTimeZonePicker as TimeZonePicker };
37
37
  //# sourceMappingURL=TimeZonePicker.js.map
@@ -140,6 +140,6 @@ const Dialog = ({
140
140
  });
141
141
  };
142
142
  const MemoizedDialog = memo(Dialog);
143
- MemoizedDialog.displayName = "Dialog::pkg=odyssey&odysseyV=1.72.0";
143
+ MemoizedDialog.displayName = "Dialog::pkg=odyssey&odysseyV=1.73.0";
144
144
  export { MemoizedDialog as Dialog };
145
145
  //# sourceMappingURL=Dialog.js.map
@@ -184,6 +184,7 @@ const Drawer = ({
184
184
  odysseyDesignTokens: odysseyDesignTokens,
185
185
  translate: translate,
186
186
  children: [_jsx(Heading5, {
187
+ overflowWrap: "anywhere",
187
188
  children: title
188
189
  }), _jsx(Button, {
189
190
  ariaLabel: ariaLabel || t("close.text"),
@@ -212,6 +213,6 @@ const Drawer = ({
212
213
  }) : muiDrawerComponent;
213
214
  };
214
215
  const MemoizedDrawer = memo(Drawer);
215
- MemoizedDrawer.displayName = "Drawer::pkg=odyssey&odysseyV=1.72.0";
216
+ MemoizedDrawer.displayName = "Drawer::pkg=odyssey&odysseyV=1.73.0";
216
217
  export { MemoizedDrawer as Drawer };
217
218
  //# sourceMappingURL=Drawer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.js","names":["styled","buttonClasses","useTheme","typographyClasses","memo","useCallback","useEffect","useMemo","useRef","useState","Button","FullScreenOverlay","useTranslation","CloseIcon","useOdysseyDesignTokens","Heading5","useStackedBackdropProps","jsx","_jsx","jsxs","_jsxs","variantValues","DrawerHeader","shouldForwardProp","prop","odysseyDesignTokens","Spacing4","Spacing5","HueNeutral900","HueNeutralWhite","hasDividers","HueNeutral200","root","DrawerContentWrapper","display","gridTemplateAreas","gridTemplateRows","overflow","DrawerContent","DrawerFooter","Spacing2","Drawer","ariaLabel","children","hasDividersProp","isOpen","onClose","primaryCallToActionComponent","secondaryCallToActionComponent","showDividers","tertiaryCallToActionComponent","testId","title","translate","variant","isContentScrollable","setIsContentScrollable","drawerContentRef","i18n","t","anchorDirection","dir","frameId","handleContentScroll","drawerContentElement","current","cancelAnimationFrame","scrollHeight","clientHeight","requestAnimationFrame","dividersVisible","hasFooter","handleCloseButtonClick","event","muiTheme","stackedBackdropProps","Boolean","layer","zIndex","drawer","slotProps","backdrop","muiDrawerComponent","_Drawer","anchor","open","sx","transition","onClick","size","startIcon","tabIndex","ref","MemoizedDrawer","displayName"],"sources":["../../src/Drawer.tsx"],"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\nimport styled from \"@emotion/styled\";\nimport {\n Drawer as MuiDrawer,\n DrawerProps as MuiDrawerProps,\n} from \"@mui/material\";\nimport { buttonClasses } from \"@mui/material/Button\";\nimport { useTheme } from \"@mui/material/styles\";\nimport { typographyClasses } from \"@mui/material/Typography\";\nimport {\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 { FullScreenOverlay } from \"./FullScreenOverlay.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { CloseIcon } from \"./icons.generated/index.js\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"./OdysseyDesignTokensContext.js\";\nimport { Heading5 } from \"./Typography.js\";\nimport { useStackedBackdropProps } from \"./useStackedBackdropProps.js\";\n\ntype MuiOnCloseEvent = Parameters<Required<MuiDrawerProps>[\"onClose\"]>[0];\ntype MuiOnCloseReason = Parameters<Required<MuiDrawerProps>[\"onClose\"]>[1];\nexport type DrawerOnCloseReason = MuiOnCloseReason | \"closeButtonClick\";\n\nexport const variantValues = [\"temporary\", \"persistent\"] as const;\n\nexport type DrawerProps = {\n /**\n * The content of the Drawer. May be a `string` or any other `ReactNode` or array of `ReactNode`s.\n */\n children?: ReactNode;\n /**\n * If `true`, the drawer is visible.\n */\n isOpen?: boolean;\n /**\n * Called when the drawer is dismissed. Receives the event and the reason for closing.\n */\n onClose: (event: MuiOnCloseEvent, reason: DrawerOnCloseReason) => void;\n /**\n * An optional Button object to be situated in the Drawer footer. Should almost always be of variant `primary`.\n */\n primaryCallToActionComponent?: ReactElement<typeof Button>;\n /**\n * An optional Button object to be situated in the Drawer footer, alongside the `callToActionPrimaryComponent`.\n */\n secondaryCallToActionComponent?: ReactElement<typeof Button>;\n /**\n * An optional Button object to be situated in the Drawer footer, alongside the other two `callToAction` components.\n */\n tertiaryCallToActionComponent?: ReactElement<typeof Button>;\n /**\n * Heading text displayed at the top of the drawer.\n */\n title?: string;\n /**\n * Controls how the Drawer positions relative to page content.\n * - If `'temporary'`, overlays content and dismisses when the user clicks the backdrop.\n * - If `'persistent'`, pushes the page layout to the side and stays open until explicitly closed.\n *\n * A `'temporary'` Drawer spans the full viewport width at 400 pixels and below. A `'persistent'` Drawer keeps its width of about 360 pixels at every viewport size.\n * @default \"temporary\"\n */\n variant?: (typeof variantValues)[number];\n} & Pick<HtmlProps, \"ariaLabel\" | \"testId\" | \"translate\"> &\n (\n | {\n /**\n * If `true`, renders divider lines separating the header, content, and footer sections.\n * @default false\n */\n hasDividers?: never;\n /**\n * @deprecated use `hasDividers` instead.\n *\n * If `true`, shows divider lines separating header, content, and footer. Use `hasDividers` instead.\n * @default false\n */\n showDividers: boolean;\n }\n | {\n /**\n * If `true`, renders divider lines separating the header, content, and footer sections.\n * @default false\n */\n hasDividers: boolean;\n /**\n * @deprecated use `hasDividers` instead.\n *\n * If `true`, shows divider lines separating header, content, and footer. Use `hasDividers` instead.\n * @default false\n */\n showDividers?: never;\n }\n );\n\ntype DrawerStyleProps = {\n hasDividers: boolean;\n odysseyDesignTokens: DesignTokens;\n};\n\nconst DrawerHeader = styled(\"div\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && prop !== \"hasDividers\",\n})<DrawerStyleProps>`\n grid-area: header;\n position: sticky;\n top: 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n padding: ${({ odysseyDesignTokens }) => odysseyDesignTokens.Spacing4}\n ${({ odysseyDesignTokens }) => odysseyDesignTokens.Spacing5};\n color: ${({ odysseyDesignTokens }) => odysseyDesignTokens.HueNeutral900};\n background-color: ${({ odysseyDesignTokens }) =>\n odysseyDesignTokens.HueNeutralWhite};\n border-bottom: ${({ hasDividers, odysseyDesignTokens }) =>\n hasDividers ? `1px solid ${odysseyDesignTokens.HueNeutral200}` : \"none\"};\n /* Target the MUI classes, not the tag. Odyssey Typography and Button accept\n no className, so these styles cannot move onto the components themselves,\n and a tag selector stops applying after a change of heading level. */\n & > .${typographyClasses.root} {\n margin-bottom: 0;\n min-width: 0;\n }\n & > .${buttonClasses.root} {\n flex-shrink: 0;\n }\n`;\n\nconst DrawerContentWrapper = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>({\n display: \"grid\",\n gridTemplateAreas: `\n \"header\"\n \"content\"\n \"footer\"\n `,\n gridTemplateRows: \"auto 1fr auto\",\n overflow: \"hidden\",\n});\n\nconst DrawerContent = styled(\"div\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && prop !== \"hasDividers\",\n})<DrawerStyleProps>`\n grid-area: content;\n overflow-y: auto;\n padding: ${({ hasDividers, odysseyDesignTokens }) =>\n hasDividers\n ? `${odysseyDesignTokens.Spacing5}`\n : `0 ${odysseyDesignTokens.Spacing5}`};\n`;\n\nconst DrawerFooter = styled(\"div\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && prop !== \"hasDividers\",\n})<DrawerStyleProps>`\n grid-area: footer;\n position: sticky;\n bottom: 0;\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n align-content: center;\n row-gap: ${({ odysseyDesignTokens }) => odysseyDesignTokens.Spacing2};\n padding: ${({ odysseyDesignTokens }) => odysseyDesignTokens.Spacing4};\n border-top: ${({ hasDividers, odysseyDesignTokens }) =>\n hasDividers ? `1px solid ${odysseyDesignTokens.HueNeutral200}` : \"none\"};\n background-color: ${({ odysseyDesignTokens }) =>\n odysseyDesignTokens.HueNeutralWhite};\n`;\n\n/**\n * A panel that slides in from the edge of the screen to display supplementary content or actions without navigating away from the current page.\n */\nconst Drawer = ({\n ariaLabel,\n children,\n hasDividers: hasDividersProp = false,\n isOpen,\n onClose,\n primaryCallToActionComponent,\n secondaryCallToActionComponent,\n showDividers = false,\n tertiaryCallToActionComponent,\n testId,\n title,\n translate,\n variant = \"temporary\",\n}: DrawerProps) => {\n const [isContentScrollable, setIsContentScrollable] = useState(false);\n const drawerContentRef = useRef<HTMLDivElement>(null);\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n const hasDividers = hasDividersProp || showDividers;\n\n //If RTL is set in the theme, align the drawer on the left side of the screen, uses right by default.\n const { i18n, t } = useTranslation();\n const anchorDirection = i18n.dir() === \"rtl\" ? \"left\" : \"right\";\n\n useEffect(() => {\n let frameId: number;\n\n const handleContentScroll = () => {\n const drawerContentElement = drawerContentRef.current;\n if (drawerContentElement) {\n cancelAnimationFrame(frameId);\n setIsContentScrollable(\n drawerContentElement.scrollHeight > drawerContentElement.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 dividersVisible = useMemo(() => {\n return hasDividers || isContentScrollable;\n }, [hasDividers, isContentScrollable]);\n\n const hasFooter = useMemo(\n () =>\n primaryCallToActionComponent ||\n secondaryCallToActionComponent ||\n tertiaryCallToActionComponent,\n [\n primaryCallToActionComponent,\n secondaryCallToActionComponent,\n tertiaryCallToActionComponent,\n ],\n );\n\n const handleCloseButtonClick = useCallback<\n NonNullable<ButtonProps[\"onClick\"]>\n >((event) => onClose(event, \"closeButtonClick\"), [onClose]);\n\n const muiTheme = useTheme();\n\n const stackedBackdropProps = useStackedBackdropProps({\n isOpen: Boolean(isOpen) && variant === \"temporary\",\n layer: muiTheme.zIndex.drawer,\n });\n\n const slotProps = useMemo<MuiDrawerProps[\"slotProps\"]>(\n () => ({ backdrop: stackedBackdropProps }),\n [stackedBackdropProps],\n );\n\n const muiDrawerComponent = useMemo(\n () => (\n <MuiDrawer\n anchor={anchorDirection}\n data-se={testId}\n onClose={onClose}\n open={isOpen}\n slotProps={slotProps}\n sx={{\n //Overrides default MUI inline style\n ...(variant === \"persistent\" && {\n \"& .MuiDrawer-paper\": {\n transition: \"none\",\n },\n }),\n }}\n variant={variant}\n >\n <DrawerContentWrapper odysseyDesignTokens={odysseyDesignTokens}>\n <DrawerHeader\n hasDividers={dividersVisible}\n odysseyDesignTokens={odysseyDesignTokens}\n translate={translate}\n >\n <Heading5>{title}</Heading5>\n <Button\n ariaLabel={ariaLabel || t(\"close.text\")}\n onClick={handleCloseButtonClick}\n size=\"small\"\n startIcon={<CloseIcon />}\n variant=\"floating\"\n />\n </DrawerHeader>\n <DrawerContent\n {...(isContentScrollable && {\n //Sets tabIndex on content element if scrollable so content is easier to navigate with the keyboard\n tabIndex: 0,\n })}\n hasDividers={dividersVisible}\n odysseyDesignTokens={odysseyDesignTokens}\n ref={drawerContentRef}\n >\n {children}\n </DrawerContent>\n {hasFooter && (\n <DrawerFooter\n hasDividers={dividersVisible}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {tertiaryCallToActionComponent}\n {secondaryCallToActionComponent}\n {primaryCallToActionComponent}\n </DrawerFooter>\n )}\n </DrawerContentWrapper>\n </MuiDrawer>\n ),\n [\n anchorDirection,\n ariaLabel,\n children,\n dividersVisible,\n handleCloseButtonClick,\n hasFooter,\n isContentScrollable,\n isOpen,\n odysseyDesignTokens,\n onClose,\n primaryCallToActionComponent,\n secondaryCallToActionComponent,\n slotProps,\n t,\n tertiaryCallToActionComponent,\n testId,\n title,\n translate,\n variant,\n ],\n );\n\n return variant === \"temporary\" ? (\n <FullScreenOverlay>{muiDrawerComponent}</FullScreenOverlay>\n ) : (\n muiDrawerComponent\n );\n};\n\nconst MemoizedDrawer = memo(Drawer);\nMemoizedDrawer.displayName = \"Drawer\";\n\nexport { MemoizedDrawer as Drawer };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,MAAM,MAAM,iBAAiB;AAKpC,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,QAAQ,QAAQ,sBAAsB;AAC/C,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,SACEC,IAAI,EAGJC,WAAW,EACXC,SAAS,EACTC,OAAO,EACPC,MAAM,EACNC,QAAQ,QACH,OAAO;AAId,SAASC,MAAM,QAAqB,qBAAqB;AACzD,SAASC,iBAAiB,QAAQ,wBAAwB;AAC1D,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,SAAS,QAAQ,4BAA4B;AACtD,SAEEC,sBAAsB,QACjB,iCAAiC;AACxC,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,uBAAuB,QAAQ,8BAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMvE,OAAO,MAAMC,aAAa,GAAG,CAAC,WAAW,EAAE,YAAY,CAAU;AA6EjE,MAAMC,YAAY,GAAGtB,MAAM,CAAC,KAAK,EAAE;EACjCuB,iBAAiB,EAAGC,IAAI,IACtBA,IAAI,KAAK,qBAAqB,IAAIA,IAAI,KAAK;AAC/C,CAAC,CAAmB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,CAAC;EAAEC;AAAoB,CAAC,KAAKA,mBAAmB,CAAC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Ae,EACfE,sBAAsB,EACtBD,SAAS,EACThB,mBAAmB,EACnBV,MAAM,EACNpB,mBAAmB,EACnBqB,OAAO,EACPC,4BAA4B,EAC5BC,8BAA8B,EAC9BgC,SAAS,EACTrB,CAAC,EACDT,6BAA6B,EAC7BC,MAAM,EACNC,KAAK,EACLC,SAAS,EACTC,OAAO,CAEX,CAAC;EAED,OAAOA,OAAO,KAAK,WAAW,GAC5BpC,IAAA,CAACP,iBAAiB;IAAAgC,QAAA,EAAEuC;EAAkB,CAAoB,CAAC,GAE3DA,kBACD;AACH,CAAC;AAED,MAAMW,cAAc,GAAGzF,IAAI,CAACqC,MAAM,CAAC;AACnCoD,cAAc,CAACC,WAAW,wCAAW;AAErC,SAASD,cAAc,IAAIpD,MAAM","ignoreList":[]}
1
+ {"version":3,"file":"Drawer.js","names":["styled","buttonClasses","useTheme","typographyClasses","memo","useCallback","useEffect","useMemo","useRef","useState","Button","FullScreenOverlay","useTranslation","CloseIcon","useOdysseyDesignTokens","Heading5","useStackedBackdropProps","jsx","_jsx","jsxs","_jsxs","variantValues","DrawerHeader","shouldForwardProp","prop","odysseyDesignTokens","Spacing4","Spacing5","HueNeutral900","HueNeutralWhite","hasDividers","HueNeutral200","root","DrawerContentWrapper","display","gridTemplateAreas","gridTemplateRows","overflow","DrawerContent","DrawerFooter","Spacing2","Drawer","ariaLabel","children","hasDividersProp","isOpen","onClose","primaryCallToActionComponent","secondaryCallToActionComponent","showDividers","tertiaryCallToActionComponent","testId","title","translate","variant","isContentScrollable","setIsContentScrollable","drawerContentRef","i18n","t","anchorDirection","dir","frameId","handleContentScroll","drawerContentElement","current","cancelAnimationFrame","scrollHeight","clientHeight","requestAnimationFrame","dividersVisible","hasFooter","handleCloseButtonClick","event","muiTheme","stackedBackdropProps","Boolean","layer","zIndex","drawer","slotProps","backdrop","muiDrawerComponent","_Drawer","anchor","open","sx","transition","overflowWrap","onClick","size","startIcon","tabIndex","ref","MemoizedDrawer","displayName"],"sources":["../../src/Drawer.tsx"],"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\nimport styled from \"@emotion/styled\";\nimport {\n Drawer as MuiDrawer,\n DrawerProps as MuiDrawerProps,\n} from \"@mui/material\";\nimport { buttonClasses } from \"@mui/material/Button\";\nimport { useTheme } from \"@mui/material/styles\";\nimport { typographyClasses } from \"@mui/material/Typography\";\nimport {\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 { FullScreenOverlay } from \"./FullScreenOverlay.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { CloseIcon } from \"./icons.generated/index.js\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"./OdysseyDesignTokensContext.js\";\nimport { Heading5 } from \"./Typography.js\";\nimport { useStackedBackdropProps } from \"./useStackedBackdropProps.js\";\n\ntype MuiOnCloseEvent = Parameters<Required<MuiDrawerProps>[\"onClose\"]>[0];\ntype MuiOnCloseReason = Parameters<Required<MuiDrawerProps>[\"onClose\"]>[1];\nexport type DrawerOnCloseReason = MuiOnCloseReason | \"closeButtonClick\";\n\nexport const variantValues = [\"temporary\", \"persistent\"] as const;\n\nexport type DrawerProps = {\n /**\n * The content of the Drawer. May be a `string` or any other `ReactNode` or array of `ReactNode`s.\n */\n children?: ReactNode;\n /**\n * If `true`, the drawer is visible.\n */\n isOpen?: boolean;\n /**\n * Called when the drawer is dismissed. Receives the event and the reason for closing.\n */\n onClose: (event: MuiOnCloseEvent, reason: DrawerOnCloseReason) => void;\n /**\n * An optional Button object to be situated in the Drawer footer. Should almost always be of variant `primary`.\n */\n primaryCallToActionComponent?: ReactElement<typeof Button>;\n /**\n * An optional Button object to be situated in the Drawer footer, alongside the `callToActionPrimaryComponent`.\n */\n secondaryCallToActionComponent?: ReactElement<typeof Button>;\n /**\n * An optional Button object to be situated in the Drawer footer, alongside the other two `callToAction` components.\n */\n tertiaryCallToActionComponent?: ReactElement<typeof Button>;\n /**\n * Heading text displayed at the top of the drawer.\n */\n title?: string;\n /**\n * Controls how the Drawer positions relative to page content.\n * - If `'temporary'`, overlays content and dismisses when the user clicks the backdrop.\n * - If `'persistent'`, pushes the page layout to the side and stays open until explicitly closed.\n *\n * A `'temporary'` Drawer spans the full viewport width at 400 pixels and below. A `'persistent'` Drawer keeps its width of about 360 pixels at every viewport size.\n * @default \"temporary\"\n */\n variant?: (typeof variantValues)[number];\n} & Pick<HtmlProps, \"ariaLabel\" | \"testId\" | \"translate\"> &\n (\n | {\n /**\n * If `true`, renders divider lines separating the header, content, and footer sections.\n * @default false\n */\n hasDividers?: never;\n /**\n * @deprecated use `hasDividers` instead.\n *\n * If `true`, shows divider lines separating header, content, and footer. Use `hasDividers` instead.\n * @default false\n */\n showDividers: boolean;\n }\n | {\n /**\n * If `true`, renders divider lines separating the header, content, and footer sections.\n * @default false\n */\n hasDividers: boolean;\n /**\n * @deprecated use `hasDividers` instead.\n *\n * If `true`, shows divider lines separating header, content, and footer. Use `hasDividers` instead.\n * @default false\n */\n showDividers?: never;\n }\n );\n\ntype DrawerStyleProps = {\n hasDividers: boolean;\n odysseyDesignTokens: DesignTokens;\n};\n\nconst DrawerHeader = styled(\"div\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && prop !== \"hasDividers\",\n})<DrawerStyleProps>`\n grid-area: header;\n position: sticky;\n top: 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n padding: ${({ odysseyDesignTokens }) => odysseyDesignTokens.Spacing4}\n ${({ odysseyDesignTokens }) => odysseyDesignTokens.Spacing5};\n color: ${({ odysseyDesignTokens }) => odysseyDesignTokens.HueNeutral900};\n background-color: ${({ odysseyDesignTokens }) =>\n odysseyDesignTokens.HueNeutralWhite};\n border-bottom: ${({ hasDividers, odysseyDesignTokens }) =>\n hasDividers ? `1px solid ${odysseyDesignTokens.HueNeutral200}` : \"none\"};\n /* Target the MUI classes, not the tag. Odyssey Typography and Button accept\n no className, so these styles cannot move onto the components themselves,\n and a tag selector stops applying after a change of heading level. */\n & > .${typographyClasses.root} {\n margin-bottom: 0;\n min-width: 0;\n }\n & > .${buttonClasses.root} {\n flex-shrink: 0;\n }\n`;\n\nconst DrawerContentWrapper = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"odysseyDesignTokens\",\n})<{\n odysseyDesignTokens: DesignTokens;\n}>({\n display: \"grid\",\n gridTemplateAreas: `\n \"header\"\n \"content\"\n \"footer\"\n `,\n gridTemplateRows: \"auto 1fr auto\",\n overflow: \"hidden\",\n});\n\nconst DrawerContent = styled(\"div\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && prop !== \"hasDividers\",\n})<DrawerStyleProps>`\n grid-area: content;\n overflow-y: auto;\n padding: ${({ hasDividers, odysseyDesignTokens }) =>\n hasDividers\n ? `${odysseyDesignTokens.Spacing5}`\n : `0 ${odysseyDesignTokens.Spacing5}`};\n`;\n\nconst DrawerFooter = styled(\"div\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && prop !== \"hasDividers\",\n})<DrawerStyleProps>`\n grid-area: footer;\n position: sticky;\n bottom: 0;\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n align-content: center;\n row-gap: ${({ odysseyDesignTokens }) => odysseyDesignTokens.Spacing2};\n padding: ${({ odysseyDesignTokens }) => odysseyDesignTokens.Spacing4};\n border-top: ${({ hasDividers, odysseyDesignTokens }) =>\n hasDividers ? `1px solid ${odysseyDesignTokens.HueNeutral200}` : \"none\"};\n background-color: ${({ odysseyDesignTokens }) =>\n odysseyDesignTokens.HueNeutralWhite};\n`;\n\n/**\n * A panel that slides in from the edge of the screen to display supplementary content or actions without navigating away from the current page.\n */\nconst Drawer = ({\n ariaLabel,\n children,\n hasDividers: hasDividersProp = false,\n isOpen,\n onClose,\n primaryCallToActionComponent,\n secondaryCallToActionComponent,\n showDividers = false,\n tertiaryCallToActionComponent,\n testId,\n title,\n translate,\n variant = \"temporary\",\n}: DrawerProps) => {\n const [isContentScrollable, setIsContentScrollable] = useState(false);\n const drawerContentRef = useRef<HTMLDivElement>(null);\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n const hasDividers = hasDividersProp || showDividers;\n\n //If RTL is set in the theme, align the drawer on the left side of the screen, uses right by default.\n const { i18n, t } = useTranslation();\n const anchorDirection = i18n.dir() === \"rtl\" ? \"left\" : \"right\";\n\n useEffect(() => {\n let frameId: number;\n\n const handleContentScroll = () => {\n const drawerContentElement = drawerContentRef.current;\n if (drawerContentElement) {\n cancelAnimationFrame(frameId);\n setIsContentScrollable(\n drawerContentElement.scrollHeight > drawerContentElement.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 dividersVisible = useMemo(() => {\n return hasDividers || isContentScrollable;\n }, [hasDividers, isContentScrollable]);\n\n const hasFooter = useMemo(\n () =>\n primaryCallToActionComponent ||\n secondaryCallToActionComponent ||\n tertiaryCallToActionComponent,\n [\n primaryCallToActionComponent,\n secondaryCallToActionComponent,\n tertiaryCallToActionComponent,\n ],\n );\n\n const handleCloseButtonClick = useCallback<\n NonNullable<ButtonProps[\"onClick\"]>\n >((event) => onClose(event, \"closeButtonClick\"), [onClose]);\n\n const muiTheme = useTheme();\n\n const stackedBackdropProps = useStackedBackdropProps({\n isOpen: Boolean(isOpen) && variant === \"temporary\",\n layer: muiTheme.zIndex.drawer,\n });\n\n const slotProps = useMemo<MuiDrawerProps[\"slotProps\"]>(\n () => ({ backdrop: stackedBackdropProps }),\n [stackedBackdropProps],\n );\n\n const muiDrawerComponent = useMemo(\n () => (\n <MuiDrawer\n anchor={anchorDirection}\n data-se={testId}\n onClose={onClose}\n open={isOpen}\n slotProps={slotProps}\n sx={{\n //Overrides default MUI inline style\n ...(variant === \"persistent\" && {\n \"& .MuiDrawer-paper\": {\n transition: \"none\",\n },\n }),\n }}\n variant={variant}\n >\n <DrawerContentWrapper odysseyDesignTokens={odysseyDesignTokens}>\n <DrawerHeader\n hasDividers={dividersVisible}\n odysseyDesignTokens={odysseyDesignTokens}\n translate={translate}\n >\n <Heading5 overflowWrap=\"anywhere\">{title}</Heading5>\n <Button\n ariaLabel={ariaLabel || t(\"close.text\")}\n onClick={handleCloseButtonClick}\n size=\"small\"\n startIcon={<CloseIcon />}\n variant=\"floating\"\n />\n </DrawerHeader>\n <DrawerContent\n {...(isContentScrollable && {\n //Sets tabIndex on content element if scrollable so content is easier to navigate with the keyboard\n tabIndex: 0,\n })}\n hasDividers={dividersVisible}\n odysseyDesignTokens={odysseyDesignTokens}\n ref={drawerContentRef}\n >\n {children}\n </DrawerContent>\n {hasFooter && (\n <DrawerFooter\n hasDividers={dividersVisible}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {tertiaryCallToActionComponent}\n {secondaryCallToActionComponent}\n {primaryCallToActionComponent}\n </DrawerFooter>\n )}\n </DrawerContentWrapper>\n </MuiDrawer>\n ),\n [\n anchorDirection,\n ariaLabel,\n children,\n dividersVisible,\n handleCloseButtonClick,\n hasFooter,\n isContentScrollable,\n isOpen,\n odysseyDesignTokens,\n onClose,\n primaryCallToActionComponent,\n secondaryCallToActionComponent,\n slotProps,\n t,\n tertiaryCallToActionComponent,\n testId,\n title,\n translate,\n variant,\n ],\n );\n\n return variant === \"temporary\" ? (\n <FullScreenOverlay>{muiDrawerComponent}</FullScreenOverlay>\n ) : (\n muiDrawerComponent\n );\n};\n\nconst MemoizedDrawer = memo(Drawer);\nMemoizedDrawer.displayName = \"Drawer\";\n\nexport { MemoizedDrawer as Drawer };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,MAAM,MAAM,iBAAiB;AAKpC,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,QAAQ,QAAQ,sBAAsB;AAC/C,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,SACEC,IAAI,EAGJC,WAAW,EACXC,SAAS,EACTC,OAAO,EACPC,MAAM,EACNC,QAAQ,QACH,OAAO;AAId,SAASC,MAAM,QAAqB,qBAAqB;AACzD,SAASC,iBAAiB,QAAQ,wBAAwB;AAC1D,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,SAAS,QAAQ,4BAA4B;AACtD,SAEEC,sBAAsB,QACjB,iCAAiC;AACxC,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,uBAAuB,QAAQ,8BAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMvE,OAAO,MAAMC,aAAa,GAAG,CAAC,WAAW,EAAE,YAAY,CAAU;AA6EjE,MAAMC,YAAY,GAAGtB,MAAM,CAAC,KAAK,EAAE;EACjCuB,iBAAiB,EAAGC,IAAI,IACtBA,IAAI,KAAK,qBAAqB,IAAIA,IAAI,KAAK;AAC/C,CAAC,CAAmB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,CAAC;EAAEC;AAAoB,CAAC,KAAKA,mBAAmB,CAACC,QAAQ;AACtE,MAAM,CAAC;EAAED;AAAoB,CAAC,KAAKA,mBAAmB,CAACE,QAAQ;AAC/D,WAAW,CAAC;EAAEF;AAAoB,CAAC,KAAKA,mBAAmB,CAACG,aAAa;AACzE,s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BgC,SAAS,EACTrB,CAAC,EACDT,6BAA6B,EAC7BC,MAAM,EACNC,KAAK,EACLC,SAAS,EACTC,OAAO,CAEX,CAAC;EAED,OAAOA,OAAO,KAAK,WAAW,GAC5BpC,IAAA,CAACP,iBAAiB;IAAAgC,QAAA,EAAEuC;EAAkB,CAAoB,CAAC,GAE3DA,kBACD;AACH,CAAC;AAED,MAAMY,cAAc,GAAG1F,IAAI,CAACqC,MAAM,CAAC;AACnCqD,cAAc,CAACC,WAAW,wCAAW;AAErC,SAASD,cAAc,IAAIrD,MAAM","ignoreList":[]}
@@ -61,7 +61,7 @@ const EmptyState = ({
61
61
  });
62
62
  };
63
63
  const MemoizedEmptyState = memo(EmptyState);
64
- MemoizedEmptyState.displayName = "EmptyState::pkg=odyssey&odysseyV=1.72.0";
64
+ MemoizedEmptyState.displayName = "EmptyState::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
42
+ MemoizedErrorMessageList.displayName = "ErrorMessageList::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
89
+ MemoizedField.displayName = "Field::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
46
+ MemoizedFieldError.displayName = "FieldError::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
51
+ MemoizedFieldHint.displayName = "FieldHint::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
47
+ MemoizedFieldLabel.displayName = "FieldLabel::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
156
+ MemoizedCheckbox.displayName = "Checkbox::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
70
+ MemoizedCheckboxGroup.displayName = "CheckboxGroup::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
118
+ MemoizedRadio.displayName = "Radio::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
91
+ MemoizedRadioGroup.displayName = "RadioGroup::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
67
+ MemoizedFieldset.displayName = "Fieldset::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
51
+ MemoizedFileUploadIllustration.displayName = "FileUploadIllustration::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
107
+ MemoizedFileUploadPreview.displayName = "FileUploadPreview::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
196
+ MemoizedFileUploader.displayName = "FileUploader::pkg=odyssey&odysseyV=1.73.0";
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.72.0";
95
+ MemoizedForm.displayName = "Form::pkg=odyssey&odysseyV=1.73.0";
96
96
  export { MemoizedForm as Form };
97
97
  //# sourceMappingURL=Form.js.map
@@ -14,6 +14,7 @@ import { memo } from "react";
14
14
  import { FullScreenOverlayContext, useFullScreenOverlayContext } from "./FullScreenOverlayContext.js";
15
15
  import { OdysseyCacheProvider } from "./OdysseyCacheProvider.js";
16
16
  import { OdysseyThemeProvider } from "./OdysseyThemeProvider.js";
17
+ import { useColorScheme } from "./useColorScheme.js";
17
18
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
18
19
  const withinOverlayContextValue = {
19
20
  isWithinOverlay: true
@@ -26,7 +27,9 @@ const FullScreenOverlay = ({
26
27
  overlayEmotionRootElement,
27
28
  overlayShadowRootElement
28
29
  } = useFullScreenOverlayContext();
30
+ const colorScheme = useColorScheme();
29
31
  return overlayShadowRootElement && !isWithinOverlay ? _jsx(OdysseyCacheProvider, {
32
+ colorScheme: colorScheme,
30
33
  emotionRootElement: overlayEmotionRootElement,
31
34
  children: _jsx(OdysseyThemeProvider, {
32
35
  hasWrapperElement: false,
@@ -41,6 +44,6 @@ const FullScreenOverlay = ({
41
44
  });
42
45
  };
43
46
  const MemoizedFullScreenOverlay = memo(FullScreenOverlay);
44
- MemoizedFullScreenOverlay.displayName = "FullScreenOverlay::pkg=odyssey&odysseyV=1.72.0";
47
+ MemoizedFullScreenOverlay.displayName = "FullScreenOverlay::pkg=odyssey&odysseyV=1.73.0";
45
48
  export { MemoizedFullScreenOverlay as FullScreenOverlay };
46
49
  //# sourceMappingURL=FullScreenOverlay.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FullScreenOverlay.js","names":["memo","FullScreenOverlayContext","useFullScreenOverlayContext","OdysseyCacheProvider","OdysseyThemeProvider","jsx","_jsx","Fragment","_Fragment","withinOverlayContextValue","isWithinOverlay","FullScreenOverlay","children","overlayEmotionRootElement","overlayShadowRootElement","emotionRootElement","hasWrapperElement","shadowRootElement","Provider","value","MemoizedFullScreenOverlay","displayName"],"sources":["../../src/FullScreenOverlay.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2025-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 { memo, type ReactNode } from \"react\";\n\nimport {\n FullScreenOverlayContext,\n type FullScreenOverlayContextType,\n type OverlayType,\n useFullScreenOverlayContext,\n} from \"./FullScreenOverlayContext.js\";\nimport { OdysseyCacheProvider } from \"./OdysseyCacheProvider.js\";\nimport { OdysseyThemeProvider } from \"./OdysseyThemeProvider.js\";\n\nexport type FullScreenOverlayProps = {\n children: ReactNode;\n /**\n * @deprecated Every overlay renders into the app's one overlay container, which is always labeled `data-odyssey-react-overlay-component`, so this no longer has any effect.\n */\n overlayType?: OverlayType;\n};\n\n// Marks everything inside an overlay, so a dialog opened from a drawer renders into the app's overlay container next to the drawer, not into a container of the drawer's own. One container per app is what Selenium selectors and `fullScreenOverlayId` expect.\nconst withinOverlayContextValue: FullScreenOverlayContextType = {\n isWithinOverlay: true,\n};\n\nconst FullScreenOverlay = ({ children }: FullScreenOverlayProps) => {\n const {\n isWithinOverlay,\n overlayEmotionRootElement,\n overlayShadowRootElement,\n } = useFullScreenOverlayContext();\n\n // Only the style cache and theme move into the overlay container. A whole `OdysseyProvider` here would append another container to `<body>` for every overlay on the page, open or closed, and reset the app's animation setting.\n return overlayShadowRootElement && !isWithinOverlay ? (\n <OdysseyCacheProvider emotionRootElement={overlayEmotionRootElement}>\n <OdysseyThemeProvider\n hasWrapperElement={false}\n shadowRootElement={overlayShadowRootElement}\n >\n <FullScreenOverlayContext.Provider value={withinOverlayContextValue}>\n {children}\n </FullScreenOverlayContext.Provider>\n </OdysseyThemeProvider>\n </OdysseyCacheProvider>\n ) : (\n <>{children}</>\n );\n};\n\nconst MemoizedFullScreenOverlay = memo(FullScreenOverlay);\nMemoizedFullScreenOverlay.displayName = \"FullScreenOverlay\";\n\nexport { MemoizedFullScreenOverlay as FullScreenOverlay };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,QAAwB,OAAO;AAE5C,SACEC,wBAAwB,EAGxBC,2BAA2B,QACtB,+BAA+B;AACtC,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,oBAAoB,QAAQ,2BAA2B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAWjE,MAAMC,yBAAuD,GAAG;EAC9DC,eAAe,EAAE;AACnB,CAAC;AAED,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC;AAAiC,CAAC,KAAK;EAClE,MAAM;IACJF,eAAe;IACfG,yBAAyB;IACzBC;EACF,CAAC,GAAGZ,2BAA2B,CAAC,CAAC;EAGjC,OAAOY,wBAAwB,IAAI,CAACJ,eAAe,GACjDJ,IAAA,CAACH,oBAAoB;IAACY,kBAAkB,EAAEF,yBAA0B;IAAAD,QAAA,EAClEN,IAAA,CAACF,oBAAoB;MACnBY,iBAAiB,EAAE,KAAM;MACzBC,iBAAiB,EAAEH,wBAAyB;MAAAF,QAAA,EAE5CN,IAAA,CAACL,wBAAwB,CAACiB,QAAQ;QAACC,KAAK,EAAEV,yBAA0B;QAAAG,QAAA,EACjEA;MAAQ,CACwB;IAAC,CAChB;EAAC,CACH,CAAC,GAEvBN,IAAA,CAAAE,SAAA;IAAAI,QAAA,EAAGA;EAAQ,CAAG,CACf;AACH,CAAC;AAED,MAAMQ,yBAAyB,GAAGpB,IAAI,CAACW,iBAAiB,CAAC;AACzDS,yBAAyB,CAACC,WAAW,mDAAsB;AAE3D,SAASD,yBAAyB,IAAIT,iBAAiB","ignoreList":[]}
1
+ {"version":3,"file":"FullScreenOverlay.js","names":["memo","FullScreenOverlayContext","useFullScreenOverlayContext","OdysseyCacheProvider","OdysseyThemeProvider","useColorScheme","jsx","_jsx","Fragment","_Fragment","withinOverlayContextValue","isWithinOverlay","FullScreenOverlay","children","overlayEmotionRootElement","overlayShadowRootElement","colorScheme","emotionRootElement","hasWrapperElement","shadowRootElement","Provider","value","MemoizedFullScreenOverlay","displayName"],"sources":["../../src/FullScreenOverlay.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2025-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 { memo, type ReactNode } from \"react\";\n\nimport {\n FullScreenOverlayContext,\n type FullScreenOverlayContextType,\n type OverlayType,\n useFullScreenOverlayContext,\n} from \"./FullScreenOverlayContext.js\";\nimport { OdysseyCacheProvider } from \"./OdysseyCacheProvider.js\";\nimport { OdysseyThemeProvider } from \"./OdysseyThemeProvider.js\";\nimport { useColorScheme } from \"./useColorScheme.js\";\n\nexport type FullScreenOverlayProps = {\n children: ReactNode;\n /**\n * @deprecated Every overlay renders into the app's one overlay container, which is always labeled `data-odyssey-react-overlay-component`, so this no longer has any effect.\n */\n overlayType?: OverlayType;\n};\n\n// Marks everything inside an overlay, so a dialog opened from a drawer renders into the app's overlay container next to the drawer, not into a container of the drawer's own. One container per app is what Selenium selectors and `fullScreenOverlayId` expect.\nconst withinOverlayContextValue: FullScreenOverlayContextType = {\n isWithinOverlay: true,\n};\n\nconst FullScreenOverlay = ({ children }: FullScreenOverlayProps) => {\n const {\n isWithinOverlay,\n overlayEmotionRootElement,\n overlayShadowRootElement,\n } = useFullScreenOverlayContext();\n const colorScheme = useColorScheme();\n\n // Only the style cache and theme move into the overlay container. A whole `OdysseyProvider` here would append another container to `<body>` for every overlay on the page, open or closed, and reset the app's animation setting.\n return overlayShadowRootElement && !isWithinOverlay ? (\n <OdysseyCacheProvider\n colorScheme={colorScheme}\n emotionRootElement={overlayEmotionRootElement}\n >\n <OdysseyThemeProvider\n hasWrapperElement={false}\n shadowRootElement={overlayShadowRootElement}\n >\n <FullScreenOverlayContext.Provider value={withinOverlayContextValue}>\n {children}\n </FullScreenOverlayContext.Provider>\n </OdysseyThemeProvider>\n </OdysseyCacheProvider>\n ) : (\n <>{children}</>\n );\n};\n\nconst MemoizedFullScreenOverlay = memo(FullScreenOverlay);\nMemoizedFullScreenOverlay.displayName = \"FullScreenOverlay\";\n\nexport { MemoizedFullScreenOverlay as FullScreenOverlay };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,QAAwB,OAAO;AAE5C,SACEC,wBAAwB,EAGxBC,2BAA2B,QACtB,+BAA+B;AACtC,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,cAAc,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAWrD,MAAMC,yBAAuD,GAAG;EAC9DC,eAAe,EAAE;AACnB,CAAC;AAED,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC;AAAiC,CAAC,KAAK;EAClE,MAAM;IACJF,eAAe;IACfG,yBAAyB;IACzBC;EACF,CAAC,GAAGb,2BAA2B,CAAC,CAAC;EACjC,MAAMc,WAAW,GAAGX,cAAc,CAAC,CAAC;EAGpC,OAAOU,wBAAwB,IAAI,CAACJ,eAAe,GACjDJ,IAAA,CAACJ,oBAAoB;IACnBa,WAAW,EAAEA,WAAY;IACzBC,kBAAkB,EAAEH,yBAA0B;IAAAD,QAAA,EAE9CN,IAAA,CAACH,oBAAoB;MACnBc,iBAAiB,EAAE,KAAM;MACzBC,iBAAiB,EAAEJ,wBAAyB;MAAAF,QAAA,EAE5CN,IAAA,CAACN,wBAAwB,CAACmB,QAAQ;QAACC,KAAK,EAAEX,yBAA0B;QAAAG,QAAA,EACjEA;MAAQ,CACwB;IAAC,CAChB;EAAC,CACH,CAAC,GAEvBN,IAAA,CAAAE,SAAA;IAAAI,QAAA,EAAGA;EAAQ,CAAG,CACf;AACH,CAAC;AAED,MAAMS,yBAAyB,GAAGtB,IAAI,CAACY,iBAAiB,CAAC;AACzDU,yBAAyB,CAACC,WAAW,mDAAsB;AAE3D,SAASD,yBAAyB,IAAIV,iBAAiB","ignoreList":[]}
@@ -93,6 +93,6 @@ const FullScreenOverlayProvider = ({
93
93
  });
94
94
  };
95
95
  const MemoizedFullScreenOverlayProvider = memo(FullScreenOverlayProvider);
96
- MemoizedFullScreenOverlayProvider.displayName = "FullScreenOverlayProvider::pkg=odyssey&odysseyV=1.72.0";
96
+ MemoizedFullScreenOverlayProvider.displayName = "FullScreenOverlayProvider::pkg=odyssey&odysseyV=1.73.0";
97
97
  export { MemoizedFullScreenOverlayProvider as FullScreenOverlayProvider };
98
98
  //# sourceMappingURL=FullScreenOverlayContext.js.map
@@ -18,6 +18,6 @@ const HintLink = props => _jsx(Link, {
18
18
  variant: "monochrome"
19
19
  });
20
20
  const MemoizedHintLink = memo(HintLink);
21
- MemoizedHintLink.displayName = "HintLink::pkg=odyssey&odysseyV=1.72.0";
21
+ MemoizedHintLink.displayName = "HintLink::pkg=odyssey&odysseyV=1.73.0";
22
22
  export { MemoizedHintLink as HintLink };
23
23
  //# sourceMappingURL=HintLink.js.map
@@ -60,6 +60,6 @@ const IconWithTooltip = ({
60
60
  });
61
61
  };
62
62
  const MemoizedIconWithTooltip = memo(IconWithTooltip);
63
- MemoizedIconWithTooltip.displayName = "IconWithTooltip::pkg=odyssey&odysseyV=1.72.0";
63
+ MemoizedIconWithTooltip.displayName = "IconWithTooltip::pkg=odyssey&odysseyV=1.73.0";
64
64
  export { MemoizedIconWithTooltip as IconWithTooltip };
65
65
  //# sourceMappingURL=IconWithTooltip.js.map
package/dist/esm/Link.js CHANGED
@@ -74,6 +74,6 @@ const Link = ({
74
74
  });
75
75
  };
76
76
  const MemoizedLink = memo(Link);
77
- MemoizedLink.displayName = "Link::pkg=odyssey&odysseyV=1.72.0";
77
+ MemoizedLink.displayName = "Link::pkg=odyssey&odysseyV=1.73.0";
78
78
  export { MemoizedLink as Link };
79
79
  //# sourceMappingURL=Link.js.map
@@ -27,6 +27,6 @@ const MuiPropsChild = forwardRef(({
27
27
  });
28
28
  });
29
29
  const MemoizedMuiPropsChild = memo(MuiPropsChild);
30
- MemoizedMuiPropsChild.displayName = "MuiPropsChild::pkg=odyssey&odysseyV=1.72.0";
30
+ MemoizedMuiPropsChild.displayName = "MuiPropsChild::pkg=odyssey&odysseyV=1.73.0";
31
31
  export { MemoizedMuiPropsChild as MuiPropsChild };
32
32
  //# sourceMappingURL=MuiPropsChild.js.map
@@ -101,6 +101,6 @@ const NativeSelect = forwardRef(({
101
101
  });
102
102
  });
103
103
  const MemoizedNativeSelect = memo(NativeSelect);
104
- MemoizedNativeSelect.displayName = "NativeSelect::pkg=odyssey&odysseyV=1.72.0";
104
+ MemoizedNativeSelect.displayName = "NativeSelect::pkg=odyssey&odysseyV=1.73.0";
105
105
  export { MemoizedNativeSelect as NativeSelect };
106
106
  //# sourceMappingURL=NativeSelect.js.map
@@ -12,11 +12,12 @@
12
12
 
13
13
  import createCache from "@emotion/cache";
14
14
  import { CacheProvider } from "@emotion/react";
15
- import { memo, useMemo } from "react";
15
+ import { memo, useLayoutEffect, useMemo, useRef } from "react";
16
16
  import { useUniqueAlphabeticalId } from "./useUniqueAlphabeticalId.js";
17
17
  import { jsx as _jsx } from "react/jsx-runtime";
18
18
  const OdysseyCacheProvider = ({
19
19
  children,
20
+ colorScheme,
20
21
  emotionRoot,
21
22
  emotionRootElement,
22
23
  nonce,
@@ -34,13 +35,21 @@ const OdysseyCacheProvider = ({
34
35
  ...(stylisPlugins && {
35
36
  stylisPlugins
36
37
  })
37
- }), [emotionRoot, emotionRootElement, nonce, stylisPlugins, uniqueAlphabeticalId]);
38
+ }), [colorScheme, emotionRoot, emotionRootElement, nonce, stylisPlugins, uniqueAlphabeticalId]);
39
+ const previousEmotionCacheRef = useRef(undefined);
40
+ useLayoutEffect(() => {
41
+ const previousEmotionCache = previousEmotionCacheRef.current;
42
+ previousEmotionCacheRef.current = emotionCache;
43
+ if (previousEmotionCache && previousEmotionCache !== emotionCache) {
44
+ previousEmotionCache.sheet.flush();
45
+ }
46
+ }, [emotionCache]);
38
47
  return _jsx(CacheProvider, {
39
48
  value: emotionCache,
40
49
  children: children
41
50
  });
42
51
  };
43
52
  const MemoizedOdysseyCacheProvider = memo(OdysseyCacheProvider);
44
- MemoizedOdysseyCacheProvider.displayName = "OdysseyCacheProvider::pkg=odyssey&odysseyV=1.72.0";
53
+ MemoizedOdysseyCacheProvider.displayName = "OdysseyCacheProvider::pkg=odyssey&odysseyV=1.73.0";
45
54
  export { MemoizedOdysseyCacheProvider as OdysseyCacheProvider };
46
55
  //# sourceMappingURL=OdysseyCacheProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OdysseyCacheProvider.js","names":["createCache","CacheProvider","memo","useMemo","useUniqueAlphabeticalId","jsx","_jsx","OdysseyCacheProvider","children","emotionRoot","emotionRootElement","nonce","stylisPlugins","uniqueAlphabeticalId","emotionCache","container","key","globalThis","cspNonce","prepend","speedy","value","MemoizedOdysseyCacheProvider","displayName"],"sources":["../../src/OdysseyCacheProvider.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\ndeclare global {\n var cspNonce: string; // Adding types to `globalThis` requires we use `var`.\n}\n\nimport createCache, { StylisPlugin } from \"@emotion/cache\";\nimport { CacheProvider } from \"@emotion/react\";\nimport { memo, ReactNode, useMemo } from \"react\";\n\nimport { useUniqueAlphabeticalId } from \"./useUniqueAlphabeticalId.js\";\n\nexport type OdysseyCacheProviderProps = {\n children: ReactNode;\n /**\n * @deprecated Use `EmotionRootElement` instead. This was incorrectly configured as an `HTMLStyleElement`, but then we're rendering `<style>` inside `<style>`. We need this to be a `<div>` instead.\n *\n * Emotion caches styles into the style element.\n * When enabling this prop, Emotion caches the styles at this element, rather than in <head>.\n */\n emotionRoot?: HTMLStyleElement;\n /**\n * Emotion adds `<style>` elements into this DOM node. Normally, Emotion puts these in `document.head`. This is useful if you want to render into a Shadow DOM or iframe.\n */\n emotionRootElement?: HTMLElement;\n /**\n * @deprecated No longer necessary.\n *\n * Required to know if a Shadow DOM is in use. This tells Emotion to change its cache configuration.\n */\n hasShadowDom?: boolean;\n /**\n * A cryptographic nonce (\"number used once\") that allows `<style>` tags injected by Emotion to pass a Content Security Policy that restricts inline styles.\n */\n nonce?: string;\n /**\n * @deprecated No longer necessary.\n *\n * Emotion renders into this HTML element.\n * When enabling this prop, Emotion renders at the top of this component rather than the bottom like it does in the HTML `<head>`.\n */\n shadowDomElement?: HTMLDivElement | HTMLElement;\n /** Custom Stylis plugins applied to Emotion's CSS processing pipeline. */\n stylisPlugins?: StylisPlugin[];\n};\n\n/**\n * Configures Emotion's style cache for Odyssey components. Wrap your application in this provider when you need to render into a Shadow DOM, iframe, or non-`<head>` target element, or when your CSP requires a nonce on injected `<style>` tags.\n */\nconst OdysseyCacheProvider = ({\n children,\n emotionRoot,\n emotionRootElement,\n nonce,\n stylisPlugins,\n}: OdysseyCacheProviderProps) => {\n const uniqueAlphabeticalId = useUniqueAlphabeticalId();\n\n const emotionCache = useMemo(\n () =>\n createCache({\n ...((emotionRootElement || emotionRoot) && {\n container: emotionRootElement || emotionRoot,\n }),\n key: uniqueAlphabeticalId,\n nonce: nonce ?? globalThis.cspNonce,\n prepend: true,\n speedy: true,\n ...(stylisPlugins && { stylisPlugins }),\n }),\n [\n emotionRoot,\n emotionRootElement,\n nonce,\n stylisPlugins,\n uniqueAlphabeticalId,\n ],\n );\n\n return <CacheProvider value={emotionCache}>{children}</CacheProvider>;\n};\n\nconst MemoizedOdysseyCacheProvider = memo(OdysseyCacheProvider);\nMemoizedOdysseyCacheProvider.displayName = \"OdysseyCacheProvider\";\n\nexport { MemoizedOdysseyCacheProvider as OdysseyCacheProvider };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAOA,WAAW,MAAwB,gBAAgB;AAC1D,SAASC,aAAa,QAAQ,gBAAgB;AAC9C,SAASC,IAAI,EAAaC,OAAO,QAAQ,OAAO;AAEhD,SAASC,uBAAuB,QAAQ,8BAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAuCvE,MAAMC,oBAAoB,GAAGA,CAAC;EAC5BC,QAAQ;EACRC,WAAW;EACXC,kBAAkB;EAClBC,KAAK;EACLC;AACyB,CAAC,KAAK;EAC/B,MAAMC,oBAAoB,GAAGT,uBAAuB,CAAC,CAAC;EAEtD,MAAMU,YAAY,GAAGX,OAAO,CAC1B,MACEH,WAAW,CAAC;IACV,IAAI,CAACU,kBAAkB,IAAID,WAAW,KAAK;MACzCM,SAAS,EAAEL,kBAAkB,IAAID;IACnC,CAAC,CAAC;IACFO,GAAG,EAAEH,oBAAoB;IACzBF,KAAK,EAAEA,KAAK,IAAIM,UAAU,CAACC,QAAQ;IACnCC,OAAO,EAAE,IAAI;IACbC,MAAM,EAAE,IAAI;IACZ,IAAIR,aAAa,IAAI;MAAEA;IAAc,CAAC;EACxC,CAAC,CAAC,EACJ,CACEH,WAAW,EACXC,kBAAkB,EAClBC,KAAK,EACLC,aAAa,EACbC,oBAAoB,CAExB,CAAC;EAED,OAAOP,IAAA,CAACL,aAAa;IAACoB,KAAK,EAAEP,YAAa;IAAAN,QAAA,EAAEA;EAAQ,CAAgB,CAAC;AACvE,CAAC;AAED,MAAMc,4BAA4B,GAAGpB,IAAI,CAACK,oBAAoB,CAAC;AAC/De,4BAA4B,CAACC,WAAW,sDAAyB;AAEjE,SAASD,4BAA4B,IAAIf,oBAAoB","ignoreList":[]}
1
+ {"version":3,"file":"OdysseyCacheProvider.js","names":["createCache","CacheProvider","memo","useLayoutEffect","useMemo","useRef","useUniqueAlphabeticalId","jsx","_jsx","OdysseyCacheProvider","children","colorScheme","emotionRoot","emotionRootElement","nonce","stylisPlugins","uniqueAlphabeticalId","emotionCache","container","key","globalThis","cspNonce","prepend","speedy","previousEmotionCacheRef","undefined","previousEmotionCache","current","sheet","flush","value","MemoizedOdysseyCacheProvider","displayName"],"sources":["../../src/OdysseyCacheProvider.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\ndeclare global {\n var cspNonce: string; // Adding types to `globalThis` requires we use `var`.\n}\n\nimport createCache, { type EmotionCache, StylisPlugin } from \"@emotion/cache\";\nimport { CacheProvider } from \"@emotion/react\";\nimport { memo, ReactNode, useLayoutEffect, useMemo, useRef } from \"react\";\n\nimport { type ResolvedColorScheme } from \"./useColorScheme.js\";\nimport { useUniqueAlphabeticalId } from \"./useUniqueAlphabeticalId.js\";\n\nexport type OdysseyCacheProviderProps = {\n children: ReactNode;\n /**\n * The color scheme rendered inside this cache. Changing it replaces the cache, so the new scheme's styles are inserted in the same order as a first render.\n */\n colorScheme?: ResolvedColorScheme;\n /**\n * @deprecated Use `EmotionRootElement` instead. This was incorrectly configured as an `HTMLStyleElement`, but then we're rendering `<style>` inside `<style>`. We need this to be a `<div>` instead.\n *\n * Emotion caches styles into the style element.\n * When enabling this prop, Emotion caches the styles at this element, rather than in <head>.\n */\n emotionRoot?: HTMLStyleElement;\n /**\n * Emotion adds `<style>` elements into this DOM node. Normally, Emotion puts these in `document.head`. This is useful if you want to render into a Shadow DOM or iframe.\n */\n emotionRootElement?: HTMLElement;\n /**\n * @deprecated No longer necessary.\n *\n * Required to know if a Shadow DOM is in use. This tells Emotion to change its cache configuration.\n */\n hasShadowDom?: boolean;\n /**\n * A cryptographic nonce (\"number used once\") that allows `<style>` tags injected by Emotion to pass a Content Security Policy that restricts inline styles.\n */\n nonce?: string;\n /**\n * @deprecated No longer necessary.\n *\n * Emotion renders into this HTML element.\n * When enabling this prop, Emotion renders at the top of this component rather than the bottom like it does in the HTML `<head>`.\n */\n shadowDomElement?: HTMLDivElement | HTMLElement;\n /** Custom Stylis plugins applied to Emotion's CSS processing pipeline. */\n stylisPlugins?: StylisPlugin[];\n};\n\n/**\n * Configures Emotion's style cache for Odyssey components. Wrap your application in this provider when you need to render into a Shadow DOM, iframe, or non-`<head>` target element, or when your CSP requires a nonce on injected `<style>` tags.\n */\nconst OdysseyCacheProvider = ({\n children,\n colorScheme,\n emotionRoot,\n emotionRootElement,\n nonce,\n stylisPlugins,\n}: OdysseyCacheProviderProps) => {\n const uniqueAlphabeticalId = useUniqueAlphabeticalId();\n\n // Emotion resolves equal-specificity rules by insertion order. Switching the color scheme regenerates every class built from color tokens and appends it after the classes that did not change, so an ancestor's rule can start beating a descendant's override that won on the first render. A fresh cache per scheme keeps first-render order.\n const emotionCache = useMemo(\n () =>\n createCache({\n ...((emotionRootElement || emotionRoot) && {\n container: emotionRootElement || emotionRoot,\n }),\n key: uniqueAlphabeticalId,\n nonce: nonce ?? globalThis.cspNonce,\n prepend: true,\n speedy: true,\n ...(stylisPlugins && { stylisPlugins }),\n }),\n // `colorScheme` is not read in the factory. It is a dependency so a scheme change builds a new cache.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n colorScheme,\n emotionRoot,\n emotionRootElement,\n nonce,\n stylisPlugins,\n uniqueAlphabeticalId,\n ],\n );\n\n const previousEmotionCacheRef = useRef<EmotionCache>(undefined);\n\n // The replaced cache's `<style>` tags stay in the DOM until flushed. This runs before paint so the old rules never apply alongside the new ones, and it compares against the previous cache rather than flushing on cleanup, because Strict Mode's simulated unmount would otherwise flush the cache still in use.\n useLayoutEffect(() => {\n const previousEmotionCache = previousEmotionCacheRef.current;\n\n previousEmotionCacheRef.current = emotionCache;\n\n if (previousEmotionCache && previousEmotionCache !== emotionCache) {\n previousEmotionCache.sheet.flush();\n }\n }, [emotionCache]);\n\n return <CacheProvider value={emotionCache}>{children}</CacheProvider>;\n};\n\nconst MemoizedOdysseyCacheProvider = memo(OdysseyCacheProvider);\nMemoizedOdysseyCacheProvider.displayName = \"OdysseyCacheProvider\";\n\nexport { MemoizedOdysseyCacheProvider as OdysseyCacheProvider };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAOA,WAAW,MAA2C,gBAAgB;AAC7E,SAASC,aAAa,QAAQ,gBAAgB;AAC9C,SAASC,IAAI,EAAaC,eAAe,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AAGzE,SAASC,uBAAuB,QAAQ,8BAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AA2CvE,MAAMC,oBAAoB,GAAGA,CAAC;EAC5BC,QAAQ;EACRC,WAAW;EACXC,WAAW;EACXC,kBAAkB;EAClBC,KAAK;EACLC;AACyB,CAAC,KAAK;EAC/B,MAAMC,oBAAoB,GAAGV,uBAAuB,CAAC,CAAC;EAGtD,MAAMW,YAAY,GAAGb,OAAO,CAC1B,MACEJ,WAAW,CAAC;IACV,IAAI,CAACa,kBAAkB,IAAID,WAAW,KAAK;MACzCM,SAAS,EAAEL,kBAAkB,IAAID;IACnC,CAAC,CAAC;IACFO,GAAG,EAAEH,oBAAoB;IACzBF,KAAK,EAAEA,KAAK,IAAIM,UAAU,CAACC,QAAQ;IACnCC,OAAO,EAAE,IAAI;IACbC,MAAM,EAAE,IAAI;IACZ,IAAIR,aAAa,IAAI;MAAEA;IAAc,CAAC;EACxC,CAAC,CAAC,EAGJ,CACEJ,WAAW,EACXC,WAAW,EACXC,kBAAkB,EAClBC,KAAK,EACLC,aAAa,EACbC,oBAAoB,CAExB,CAAC;EAED,MAAMQ,uBAAuB,GAAGnB,MAAM,CAAeoB,SAAS,CAAC;EAG/DtB,eAAe,CAAC,MAAM;IACpB,MAAMuB,oBAAoB,GAAGF,uBAAuB,CAACG,OAAO;IAE5DH,uBAAuB,CAACG,OAAO,GAAGV,YAAY;IAE9C,IAAIS,oBAAoB,IAAIA,oBAAoB,KAAKT,YAAY,EAAE;MACjES,oBAAoB,CAACE,KAAK,CAACC,KAAK,CAAC,CAAC;IACpC;EACF,CAAC,EAAE,CAACZ,YAAY,CAAC,CAAC;EAElB,OAAOT,IAAA,CAACP,aAAa;IAAC6B,KAAK,EAAEb,YAAa;IAAAP,QAAA,EAAEA;EAAQ,CAAgB,CAAC;AACvE,CAAC;AAED,MAAMqB,4BAA4B,GAAG7B,IAAI,CAACO,oBAAoB,CAAC;AAC/DsB,4BAA4B,CAACC,WAAW,sDAAyB;AAEjE,SAASD,4BAA4B,IAAItB,oBAAoB","ignoreList":[]}
@@ -18,12 +18,14 @@ import { FullScreenOverlayProvider } from "./FullScreenOverlayContext.js";
18
18
  import { TranslationProvider as OdysseyTranslationProvider } from "./i18n.generated/i18n.js";
19
19
  import { OdysseyCacheProvider } from "./OdysseyCacheProvider.js";
20
20
  import { OdysseyThemeProvider } from "./OdysseyThemeProvider.js";
21
+ import { useResolvedColorScheme } from "./useColorScheme.js";
21
22
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
23
  const scopedCssBaselineStyles = {
23
24
  height: "inherit"
24
25
  };
25
26
  const OdysseyProvider = ({
26
27
  children,
28
+ colorScheme,
27
29
  contrastMode,
28
30
  designTokensOverride,
29
31
  emotionRoot,
@@ -49,11 +51,16 @@ const OdysseyProvider = ({
49
51
  translationOverrides: translationOverrides,
50
52
  children: children
51
53
  }), [languageCode, translationOverrides]);
54
+ const resolvedColorScheme = useResolvedColorScheme({
55
+ colorScheme
56
+ });
52
57
  return _jsx(OdysseyCacheProvider, {
58
+ colorScheme: resolvedColorScheme,
53
59
  emotionRootElement: emotionRootElement || emotionRoot,
54
60
  nonce: nonce,
55
61
  stylisPlugins: stylisPlugins,
56
62
  children: _jsx(OdysseyThemeProvider, {
63
+ colorScheme: colorScheme,
57
64
  contrastMode: contrastMode,
58
65
  designTokensOverride: designTokensOverride,
59
66
  hasWrapperElement: hasWrapperElement,
@@ -80,6 +87,6 @@ const OdysseyProvider = ({
80
87
  });
81
88
  };
82
89
  const MemoizedOdysseyProvider = memo(OdysseyProvider);
83
- MemoizedOdysseyProvider.displayName = "OdysseyProvider::pkg=odyssey&odysseyV=1.72.0";
90
+ MemoizedOdysseyProvider.displayName = "OdysseyProvider::pkg=odyssey&odysseyV=1.73.0";
84
91
  export { MemoizedOdysseyProvider as OdysseyProvider };
85
92
  //# sourceMappingURL=OdysseyProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OdysseyProvider.js","names":["memo","useMemo","AnimationProvider","ConditionalWrapper","CssBaseline","FullScreenOverlayProvider","TranslationProvider","OdysseyTranslationProvider","OdysseyCacheProvider","OdysseyThemeProvider","jsx","_jsx","jsxs","_jsxs","scopedCssBaselineStyles","height","OdysseyProvider","children","contrastMode","designTokensOverride","emotionRoot","emotionRootElement","fullScreenOverlayId","hasAnimations","hasCssBaseline","hasGlobalCss","hasScopedCssBaseline","hasTranslationProvider","hasWrapperElement","languageCode","nonce","overlayParentElement","overlayType","shadowDomElement","shadowRootElement","stylisPlugins","themeOverride","translationOverrides","TranslationWrapper","isWrapped","Wrapper","hasShadowDom","Boolean","_ScopedCssBaseline","sx","MemoizedOdysseyProvider","displayName"],"sources":["../../src/OdysseyProvider.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 { ScopedCssBaseline } from \"@mui/material\";\nimport { memo, ReactNode, useMemo } from \"react\";\n\nimport { AnimationProvider } from \"./AnimationContext.js\";\nimport {\n ConditionalWrapper,\n ConditionalWrapperProps,\n} from \"./ConditionalWrapper.js\";\nimport { CssBaseline } from \"./CssBaseline.js\";\nimport {\n FullScreenOverlayProvider,\n FullScreenOverlayProviderProps,\n} from \"./FullScreenOverlayContext.js\";\nimport {\n type DefaultSupportedLanguages,\n TranslationProvider as OdysseyTranslationProvider,\n type TranslationProviderProps as OdysseyTranslationProviderProps,\n} from \"./i18n.generated/i18n.js\";\nimport {\n OdysseyCacheProvider,\n OdysseyCacheProviderProps,\n} from \"./OdysseyCacheProvider.js\";\nimport {\n OdysseyThemeProvider,\n OdysseyThemeProviderProps,\n} from \"./OdysseyThemeProvider.js\";\n\nconst scopedCssBaselineStyles = {\n height: \"inherit\",\n};\n\nexport type OdysseyProviderProps<\n SupportedLanguages extends string = DefaultSupportedLanguages,\n> = Omit<OdysseyCacheProviderProps, \"hasShadowDom\"> &\n FullScreenOverlayProviderProps &\n OdysseyThemeProviderProps &\n OdysseyTranslationProviderProps<SupportedLanguages> & {\n /** The content to render within the Odyssey context providers. */\n children: ReactNode;\n /**\n * If `true`, Odyssey components may animate unless the user prefers reduced motion.\n * @default true\n */\n hasAnimations?: boolean;\n /**\n * If `true`, emits global CssBaseline reset styles.\n * @default true\n */\n hasCssBaseline?: boolean;\n /**\n * If `true`, wraps children in a ScopedCssBaseline element. Note that this adds an extra `div` to the DOM.\n * @default true\n */\n hasScopedCssBaseline?: boolean;\n /**\n * If `true`, wraps children with OdysseyTranslationProvider. Set to `false` only when a translation provider already exists higher in the tree.\n * @default true\n */\n hasTranslationProvider?: boolean;\n };\n\n/**\n * Root provider for Odyssey. Composes theme, cache, translation, and full-screen overlay contexts in a single wrapper. Every application using Odyssey must render this provider at or near the tree root.\n */\nconst OdysseyProvider = <SupportedLanguages extends string>({\n children,\n contrastMode,\n designTokensOverride,\n emotionRoot,\n emotionRootElement,\n fullScreenOverlayId,\n hasAnimations = true,\n hasCssBaseline: hasGlobalCss,\n hasScopedCssBaseline = true,\n hasTranslationProvider = true,\n hasWrapperElement,\n languageCode,\n nonce,\n overlayParentElement,\n overlayType,\n shadowDomElement,\n shadowRootElement,\n stylisPlugins,\n themeOverride,\n translationOverrides,\n}: OdysseyProviderProps<SupportedLanguages>) => {\n const TranslationWrapper = useMemo<ConditionalWrapperProps[\"Wrapper\"]>(\n () => (children) => (\n <OdysseyTranslationProvider<SupportedLanguages>\n languageCode={languageCode}\n translationOverrides={translationOverrides}\n >\n {children}\n </OdysseyTranslationProvider>\n ),\n [languageCode, translationOverrides],\n );\n\n return (\n <OdysseyCacheProvider\n emotionRootElement={emotionRootElement || emotionRoot}\n nonce={nonce}\n stylisPlugins={stylisPlugins}\n >\n <OdysseyThemeProvider\n contrastMode={contrastMode}\n designTokensOverride={designTokensOverride}\n hasWrapperElement={hasWrapperElement}\n shadowRootElement={shadowRootElement ?? shadowDomElement}\n themeOverride={themeOverride}\n >\n <AnimationProvider hasAnimations={hasAnimations}>\n <ConditionalWrapper\n isWrapped={hasTranslationProvider}\n Wrapper={TranslationWrapper}\n >\n <FullScreenOverlayProvider\n fullScreenOverlayId={fullScreenOverlayId}\n hasShadowDom={Boolean(shadowRootElement || shadowDomElement)}\n overlayParentElement={overlayParentElement}\n overlayType={overlayType}\n >\n {hasGlobalCss && <CssBaseline />}\n\n {hasScopedCssBaseline ? (\n <ScopedCssBaseline sx={scopedCssBaselineStyles}>\n {children}\n </ScopedCssBaseline>\n ) : (\n children\n )}\n </FullScreenOverlayProvider>\n </ConditionalWrapper>\n </AnimationProvider>\n </OdysseyThemeProvider>\n </OdysseyCacheProvider>\n );\n};\n\nconst MemoizedOdysseyProvider = memo(OdysseyProvider);\nMemoizedOdysseyProvider.displayName = \"OdysseyProvider\";\n\nexport { MemoizedOdysseyProvider as OdysseyProvider };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,EAAaC,OAAO,QAAQ,OAAO;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C3CS,iBAAiB,EAAEA,iBAAkB;MACrCM,iBAAiB,EAAEA,iBAAiB,IAAID,gBAAiB;MACzDG,aAAa,EAAEA,aAAc;MAAAnB,QAAA,EAE7BN,IAAA,CAACT,iBAAiB;QAACqB,aAAa,EAAEA,aAAc;QAAAN,QAAA,EAC9CN,IAAA,CAACR,kBAAkB;UACjBoC,SAAS,EAAEZ,sBAAuB;UAClCa,OAAO,EAAEF,kBAAmB;UAAArB,QAAA,EAE5BJ,KAAA,CAACR,yBAAyB;YACxBiB,mBAAmB,EAAEA,mBAAoB;YACzCmB,YAAY,EAAEC,OAAO,CAACR,iBAAiB,IAAID,gBAAgB,CAAE;YAC7DF,oBAAoB,EAAEA,oBAAqB;YAC3CC,WAAW,EAAEA,WAAY;YAAAf,QAAA,GAExBQ,YAAY,IAAId,IAAA,CAACP,WAAW,IAAE,CAAC,EAE/BsB,oBAAoB,GACnBf,IAAA,CAAAgC,kBAAA;cAAmBC,EAAE,EAAE9B,uBAAwB;cAAAG,QAAA,EAC5CA;YAAQ,CACQ,CAAC,GAEpBA,QACD;UAAA,CACwB;QAAC,CACV;MAAC,CACJ;IAAC,CACA;EAAC,CACH,CAAC;AAE3B,CAAC;AAED,MAAM4B,uBAAuB,GAAG7C,IAAI,CAACgB,eAAe,CAAC;AACrD6B,uBAAuB,CAACC,WAAW,iDAAoB;AAEvD,SAASD,uBAAuB,IAAI7B,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"OdysseyProvider.js","names":["memo","useMemo","AnimationProvider","ConditionalWrapper","CssBaseline","FullScreenOverlayProvider","TranslationProvider","OdysseyTranslationProvider","OdysseyCacheProvider","OdysseyThemeProvider","useResolvedColorScheme","jsx","_jsx","jsxs","_jsxs","scopedCssBaselineStyles","height","OdysseyProvider","children","colorScheme","contrastMode","designTokensOverride","emotionRoot","emotionRootElement","fullScreenOverlayId","hasAnimations","hasCssBaseline","hasGlobalCss","hasScopedCssBaseline","hasTranslationProvider","hasWrapperElement","languageCode","nonce","overlayParentElement","overlayType","shadowDomElement","shadowRootElement","stylisPlugins","themeOverride","translationOverrides","TranslationWrapper","resolvedColorScheme","isWrapped","Wrapper","hasShadowDom","Boolean","_ScopedCssBaseline","sx","MemoizedOdysseyProvider","displayName"],"sources":["../../src/OdysseyProvider.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 { ScopedCssBaseline } from \"@mui/material\";\nimport { memo, ReactNode, useMemo } from \"react\";\n\nimport { AnimationProvider } from \"./AnimationContext.js\";\nimport {\n ConditionalWrapper,\n ConditionalWrapperProps,\n} from \"./ConditionalWrapper.js\";\nimport { CssBaseline } from \"./CssBaseline.js\";\nimport {\n FullScreenOverlayProvider,\n FullScreenOverlayProviderProps,\n} from \"./FullScreenOverlayContext.js\";\nimport {\n type DefaultSupportedLanguages,\n TranslationProvider as OdysseyTranslationProvider,\n type TranslationProviderProps as OdysseyTranslationProviderProps,\n} from \"./i18n.generated/i18n.js\";\nimport {\n OdysseyCacheProvider,\n OdysseyCacheProviderProps,\n} from \"./OdysseyCacheProvider.js\";\nimport {\n OdysseyThemeProvider,\n OdysseyThemeProviderProps,\n} from \"./OdysseyThemeProvider.js\";\nimport { useResolvedColorScheme } from \"./useColorScheme.js\";\n\nconst scopedCssBaselineStyles = {\n height: \"inherit\",\n};\n\nexport type OdysseyProviderProps<\n SupportedLanguages extends string = DefaultSupportedLanguages,\n> = Omit<OdysseyCacheProviderProps, \"colorScheme\" | \"hasShadowDom\"> &\n FullScreenOverlayProviderProps &\n OdysseyThemeProviderProps &\n OdysseyTranslationProviderProps<SupportedLanguages> & {\n /** The content to render within the Odyssey context providers. */\n children: ReactNode;\n /**\n * If `true`, Odyssey components may animate unless the user prefers reduced motion.\n * @default true\n */\n hasAnimations?: boolean;\n /**\n * If `true`, emits global CssBaseline reset styles.\n * @default true\n */\n hasCssBaseline?: boolean;\n /**\n * If `true`, wraps children in a ScopedCssBaseline element. Note that this adds an extra `div` to the DOM.\n * @default true\n */\n hasScopedCssBaseline?: boolean;\n /**\n * If `true`, wraps children with OdysseyTranslationProvider. Set to `false` only when a translation provider already exists higher in the tree.\n * @default true\n */\n hasTranslationProvider?: boolean;\n };\n\n/**\n * Root provider for Odyssey. Composes theme, cache, translation, and full-screen overlay contexts in a single wrapper. Every application using Odyssey must render this provider at or near the tree root.\n */\nconst OdysseyProvider = <SupportedLanguages extends string>({\n children,\n colorScheme,\n contrastMode,\n designTokensOverride,\n emotionRoot,\n emotionRootElement,\n fullScreenOverlayId,\n hasAnimations = true,\n hasCssBaseline: hasGlobalCss,\n hasScopedCssBaseline = true,\n hasTranslationProvider = true,\n hasWrapperElement,\n languageCode,\n nonce,\n overlayParentElement,\n overlayType,\n shadowDomElement,\n shadowRootElement,\n stylisPlugins,\n themeOverride,\n translationOverrides,\n}: OdysseyProviderProps<SupportedLanguages>) => {\n const TranslationWrapper = useMemo<ConditionalWrapperProps[\"Wrapper\"]>(\n () => (children) => (\n <OdysseyTranslationProvider<SupportedLanguages>\n languageCode={languageCode}\n translationOverrides={translationOverrides}\n >\n {children}\n </OdysseyTranslationProvider>\n ),\n [languageCode, translationOverrides],\n );\n\n const resolvedColorScheme = useResolvedColorScheme({ colorScheme });\n\n return (\n <OdysseyCacheProvider\n colorScheme={resolvedColorScheme}\n emotionRootElement={emotionRootElement || emotionRoot}\n nonce={nonce}\n stylisPlugins={stylisPlugins}\n >\n <OdysseyThemeProvider\n colorScheme={colorScheme}\n contrastMode={contrastMode}\n designTokensOverride={designTokensOverride}\n hasWrapperElement={hasWrapperElement}\n shadowRootElement={shadowRootElement ?? shadowDomElement}\n themeOverride={themeOverride}\n >\n <AnimationProvider hasAnimations={hasAnimations}>\n <ConditionalWrapper\n isWrapped={hasTranslationProvider}\n Wrapper={TranslationWrapper}\n >\n <FullScreenOverlayProvider\n fullScreenOverlayId={fullScreenOverlayId}\n hasShadowDom={Boolean(shadowRootElement || shadowDomElement)}\n overlayParentElement={overlayParentElement}\n overlayType={overlayType}\n >\n {hasGlobalCss && <CssBaseline />}\n\n {hasScopedCssBaseline ? (\n <ScopedCssBaseline sx={scopedCssBaselineStyles}>\n {children}\n </ScopedCssBaseline>\n ) : (\n children\n )}\n </FullScreenOverlayProvider>\n </ConditionalWrapper>\n </AnimationProvider>\n </OdysseyThemeProvider>\n </OdysseyCacheProvider>\n );\n};\n\nconst MemoizedOdysseyProvider = memo(OdysseyProvider);\nMemoizedOdysseyProvider.displayName = \"OdysseyProvider\";\n\nexport { MemoizedOdysseyProvider as OdysseyProvider };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,EAAaC,OAAO,QAAQ,OAAO;AAEhD,SAASC,iBAAiB,QAAQ,uBAAuB;AACzD,SACEC,kBAAkB,QAEb,yBAAyB;AAChC,SAASC,WAAW,QAAQ,kBAAkB;AAC9C,SACEC,yBAAyB,QAEpB,+BAA+B;AACtC,SAEEC,mBAAmB,IAAIC,0BAA0B,QAE5C,0BAA0B;AACjC,SACEC,oBAAoB,QAEf,2BAA2B;AAClC,SACEC,oBAAoB,QAEf,2BAA2B;AAClC,SAASC,sBAAsB,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE7D,MAAMC,uBAAuB,GAAG;EAC9BC,MAAM,EAAE;AACV,CAAC;AAmCD,MAAMC,eAAe,GAAGA,CAAoC;EAC1DC,QAAQ;EACRC,WAAW;EACXC,YAAY;EACZC,oBAAoB;EACpBC,WAAW;EACXC,kBA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