@okta/odyssey-react-mui 1.70.1 → 1.71.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1100) hide show
  1. package/README.md +134 -20
  2. package/dist/cjs/@types/react-augment.d.cjs.map +1 -1
  3. package/dist/cjs/Accordion.cjs +1 -1
  4. package/dist/cjs/Accordion.cjs.map +1 -1
  5. package/dist/cjs/AnimationContext.cjs +1 -1
  6. package/dist/cjs/Autocomplete.cjs +1 -1
  7. package/dist/cjs/Autocomplete.cjs.map +1 -1
  8. package/dist/cjs/Badge.cjs +1 -1
  9. package/dist/cjs/Badge.cjs.map +1 -1
  10. package/dist/cjs/Banner.cjs +1 -1
  11. package/dist/cjs/Banner.cjs.map +1 -1
  12. package/dist/cjs/Box.cjs +1 -1
  13. package/dist/cjs/Box.cjs.map +1 -1
  14. package/dist/cjs/Breadcrumbs.cjs +1 -1
  15. package/dist/cjs/Breadcrumbs.cjs.map +1 -1
  16. package/dist/cjs/Buttons/BaseButton.cjs +4 -2
  17. package/dist/cjs/Buttons/BaseButton.cjs.map +1 -1
  18. package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
  19. package/dist/cjs/Buttons/BaseMenuButton.cjs.map +1 -1
  20. package/dist/cjs/Buttons/Button.cjs +1 -1
  21. package/dist/cjs/Buttons/Button.cjs.map +1 -1
  22. package/dist/cjs/Buttons/MenuButton.cjs +1 -1
  23. package/dist/cjs/Buttons/MenuButton.cjs.map +1 -1
  24. package/dist/cjs/Buttons/MenuItem.cjs +1 -1
  25. package/dist/cjs/Buttons/MenuItem.cjs.map +1 -1
  26. package/dist/cjs/Callout.cjs +1 -1
  27. package/dist/cjs/Callout.cjs.map +1 -1
  28. package/dist/cjs/Card.cjs +1 -1
  29. package/dist/cjs/Card.cjs.map +1 -1
  30. package/dist/cjs/CircularProgress.cjs +1 -1
  31. package/dist/cjs/CircularProgress.cjs.map +1 -1
  32. package/dist/cjs/ConditionalWrapper.cjs +1 -1
  33. package/dist/cjs/ConditionalWrapper.cjs.map +1 -1
  34. package/dist/cjs/CssBaseline.cjs.map +1 -1
  35. package/dist/cjs/DataTable/DataTable.cjs +1 -1
  36. package/dist/cjs/DataTable/DataTable.cjs.map +1 -1
  37. package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
  38. package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
  39. package/dist/cjs/DataTable/useRowReordering.cjs.map +1 -1
  40. package/dist/cjs/DatePickers/DateField.cjs +1 -1
  41. package/dist/cjs/DatePickers/DateFieldActionBar.cjs +1 -1
  42. package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs +1 -1
  43. package/dist/cjs/DatePickers/DatePicker.cjs +1 -1
  44. package/dist/cjs/DatePickers/DatePicker.cjs.map +1 -1
  45. package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
  46. package/dist/cjs/DatePickers/TimeZonePicker.cjs.map +1 -1
  47. package/dist/cjs/DatePickers/datePickerTheme.cjs +57 -27
  48. package/dist/cjs/DatePickers/datePickerTheme.cjs.map +1 -1
  49. package/dist/cjs/DatePickers/useOdysseyDateFields.cjs.map +1 -1
  50. package/dist/cjs/Dialog.cjs +1 -1
  51. package/dist/cjs/Dialog.cjs.map +1 -1
  52. package/dist/cjs/Drawer.cjs +1 -1
  53. package/dist/cjs/Drawer.cjs.map +1 -1
  54. package/dist/cjs/EmptyState.cjs +1 -1
  55. package/dist/cjs/EmptyState.cjs.map +1 -1
  56. package/dist/cjs/ErrorMessageList.cjs +1 -1
  57. package/dist/cjs/Field.cjs +1 -1
  58. package/dist/cjs/FieldError.cjs +1 -1
  59. package/dist/cjs/FieldHint.cjs +1 -1
  60. package/dist/cjs/FieldLabel.cjs +1 -1
  61. package/dist/cjs/Fields/Checkbox.cjs +1 -1
  62. package/dist/cjs/Fields/Checkbox.cjs.map +1 -1
  63. package/dist/cjs/Fields/CheckboxGroup.cjs +1 -1
  64. package/dist/cjs/Fields/CheckboxGroup.cjs.map +1 -1
  65. package/dist/cjs/Fields/Hint.cjs.map +1 -1
  66. package/dist/cjs/Fields/Radio.cjs +1 -1
  67. package/dist/cjs/Fields/RadioGroup.cjs +1 -1
  68. package/dist/cjs/Fields/RadioGroup.cjs.map +1 -1
  69. package/dist/cjs/Fieldset.cjs +1 -1
  70. package/dist/cjs/Fieldset.cjs.map +1 -1
  71. package/dist/cjs/FileUploader/FileUploadIllustration.cjs +1 -1
  72. package/dist/cjs/FileUploader/FileUploadPreview.cjs +1 -1
  73. package/dist/cjs/FileUploader/FileUploader.cjs +1 -1
  74. package/dist/cjs/FileUploader/FileUploader.cjs.map +1 -1
  75. package/dist/cjs/Form.cjs +1 -1
  76. package/dist/cjs/Form.cjs.map +1 -1
  77. package/dist/cjs/FormCheckedProps.cjs.map +1 -1
  78. package/dist/cjs/FullScreenOverlay.cjs +1 -1
  79. package/dist/cjs/FullScreenOverlayContext.cjs +1 -1
  80. package/dist/cjs/HintLink.cjs +1 -1
  81. package/dist/cjs/IconWithTooltip.cjs +1 -1
  82. package/dist/cjs/IconWithTooltip.cjs.map +1 -1
  83. package/dist/cjs/Link.cjs +1 -1
  84. package/dist/cjs/Link.cjs.map +1 -1
  85. package/dist/cjs/MuiPropsChild.cjs +1 -1
  86. package/dist/cjs/NativeSelect.cjs +1 -1
  87. package/dist/cjs/NativeSelect.cjs.map +1 -1
  88. package/dist/cjs/OdysseyCacheProvider.cjs +1 -1
  89. package/dist/cjs/OdysseyCacheProvider.cjs.map +1 -1
  90. package/dist/cjs/OdysseyDesignTokensContext.cjs.map +1 -1
  91. package/dist/cjs/OdysseyProvider.cjs +1 -1
  92. package/dist/cjs/OdysseyProvider.cjs.map +1 -1
  93. package/dist/cjs/OdysseyThemeProvider.cjs +1 -1
  94. package/dist/cjs/OdysseyThemeProvider.cjs.map +1 -1
  95. package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
  96. package/dist/cjs/Pagination/Pagination.cjs +1 -1
  97. package/dist/cjs/Pagination/Pagination.cjs.map +1 -1
  98. package/dist/cjs/PasswordField.cjs +1 -1
  99. package/dist/cjs/PasswordField.cjs.map +1 -1
  100. package/dist/cjs/ScreenReaderText.cjs +1 -1
  101. package/dist/cjs/ScreenReaderText.cjs.map +1 -1
  102. package/dist/cjs/SearchField.cjs +1 -1
  103. package/dist/cjs/SearchField.cjs.map +1 -1
  104. package/dist/cjs/Select.cjs +1 -1
  105. package/dist/cjs/Select.cjs.map +1 -1
  106. package/dist/cjs/Stack.cjs +1 -1
  107. package/dist/cjs/Stack.cjs.map +1 -1
  108. package/dist/cjs/Status.cjs +1 -1
  109. package/dist/cjs/Status.cjs.map +1 -1
  110. package/dist/cjs/Surface.cjs +1 -1
  111. package/dist/cjs/Surface.cjs.map +1 -1
  112. package/dist/cjs/Switch.cjs +2 -2
  113. package/dist/cjs/Switch.cjs.map +1 -1
  114. package/dist/cjs/Tabs.cjs +1 -1
  115. package/dist/cjs/Tabs.cjs.map +1 -1
  116. package/dist/cjs/Tag.cjs +1 -1
  117. package/dist/cjs/Tag.cjs.map +1 -1
  118. package/dist/cjs/TagList.cjs +1 -1
  119. package/dist/cjs/TagList.cjs.map +1 -1
  120. package/dist/cjs/TextField.cjs +1 -1
  121. package/dist/cjs/TextField.cjs.map +1 -1
  122. package/dist/cjs/Toast.cjs +1 -1
  123. package/dist/cjs/Toast.cjs.map +1 -1
  124. package/dist/cjs/ToastStack.cjs +1 -1
  125. package/dist/cjs/ToastStack.cjs.map +1 -1
  126. package/dist/cjs/Tooltip.cjs +1 -1
  127. package/dist/cjs/Tooltip.cjs.map +1 -1
  128. package/dist/cjs/Typography.cjs +12 -12
  129. package/dist/cjs/Typography.cjs.map +1 -1
  130. package/dist/cjs/__internal.cjs.map +1 -1
  131. package/dist/cjs/charts/BarChart.cjs +1 -1
  132. package/dist/cjs/charts/BarChart.cjs.map +1 -1
  133. package/dist/cjs/charts/LineChart.cjs +1 -1
  134. package/dist/cjs/charts/LineChart.cjs.map +1 -1
  135. package/dist/cjs/charts/components/ChartContainer.cjs.map +1 -1
  136. package/dist/cjs/charts/components/ChartError.cjs +1 -1
  137. package/dist/cjs/charts/components/ChartError.cjs.map +1 -1
  138. package/dist/cjs/charts/components/ChartFrame.cjs +1 -1
  139. package/dist/cjs/charts/components/ChartFrame.cjs.map +1 -1
  140. package/dist/cjs/charts/components/ChartPopoverContent.cjs +1 -1
  141. package/dist/cjs/charts/components/ChartPopoverContent.cjs.map +1 -1
  142. package/dist/cjs/charts/utils/chartTokens.cjs.map +1 -1
  143. package/dist/cjs/charts/utils/chartTypes.cjs.map +1 -1
  144. package/dist/cjs/charts/utils/formatChartValue.cjs.map +1 -1
  145. package/dist/cjs/charts/utils/getChartSeriesPointData.cjs.map +1 -1
  146. package/dist/cjs/charts/utils/hasDuplicateSeries.cjs.map +1 -1
  147. package/dist/cjs/charts/utils/resolveChartLocale.cjs.map +1 -1
  148. package/dist/cjs/charts/utils/useChartValueFormatter.cjs.map +1 -1
  149. package/dist/cjs/charts/utils/useStableValue.cjs.map +1 -1
  150. package/dist/cjs/createContrastColors.cjs.map +1 -1
  151. package/dist/cjs/createOdysseyStyledComponent.cjs.map +1 -1
  152. package/dist/cjs/fullscreen/FullscreenButton.cjs +55 -0
  153. package/dist/cjs/fullscreen/FullscreenButton.cjs.map +1 -0
  154. package/dist/cjs/fullscreen/FullscreenRegion.cjs +405 -0
  155. package/dist/cjs/fullscreen/FullscreenRegion.cjs.map +1 -0
  156. package/dist/cjs/fullscreen/easeFullscreenTransition.cjs +19 -0
  157. package/dist/cjs/fullscreen/easeFullscreenTransition.cjs.map +1 -0
  158. package/dist/cjs/fullscreen/getBackgroundColorBehindElement.cjs +60 -0
  159. package/dist/cjs/fullscreen/getBackgroundColorBehindElement.cjs.map +1 -0
  160. package/dist/cjs/fullscreen/useFullscreen.cjs +116 -0
  161. package/dist/cjs/fullscreen/useFullscreen.cjs.map +1 -0
  162. package/dist/cjs/fullscreen/useFullscreenId.cjs +21 -0
  163. package/dist/cjs/fullscreen/useFullscreenId.cjs.map +1 -0
  164. package/dist/cjs/getLogicalBoundaries.cjs.map +1 -1
  165. package/dist/cjs/icons.generated/Add.cjs +1 -1
  166. package/dist/cjs/icons.generated/AddCircle.cjs +1 -1
  167. package/dist/cjs/icons.generated/Apps.cjs +1 -1
  168. package/dist/cjs/icons.generated/AppsSelected.cjs +1 -1
  169. package/dist/cjs/icons.generated/ArrowBottom.cjs +1 -1
  170. package/dist/cjs/icons.generated/ArrowDown.cjs +1 -1
  171. package/dist/cjs/icons.generated/ArrowLeft.cjs +1 -1
  172. package/dist/cjs/icons.generated/ArrowLowerLeft.cjs +1 -1
  173. package/dist/cjs/icons.generated/ArrowLowerRight.cjs +1 -1
  174. package/dist/cjs/icons.generated/ArrowRight.cjs +1 -1
  175. package/dist/cjs/icons.generated/ArrowTop.cjs +1 -1
  176. package/dist/cjs/icons.generated/ArrowUnsorted.cjs +1 -1
  177. package/dist/cjs/icons.generated/ArrowUp.cjs +1 -1
  178. package/dist/cjs/icons.generated/ArrowUpperLeft.cjs +1 -1
  179. package/dist/cjs/icons.generated/ArrowUpperRight.cjs +1 -1
  180. package/dist/cjs/icons.generated/Bug.cjs +1 -1
  181. package/dist/cjs/icons.generated/Calendar.cjs +1 -1
  182. package/dist/cjs/icons.generated/Call.cjs +1 -1
  183. package/dist/cjs/icons.generated/Chat.cjs +1 -1
  184. package/dist/cjs/icons.generated/Check.cjs +1 -1
  185. package/dist/cjs/icons.generated/CheckCircleFilled.cjs +1 -1
  186. package/dist/cjs/icons.generated/ChevronDown.cjs +1 -1
  187. package/dist/cjs/icons.generated/ChevronLeft.cjs +1 -1
  188. package/dist/cjs/icons.generated/ChevronRight.cjs +1 -1
  189. package/dist/cjs/icons.generated/ChevronUp.cjs +1 -1
  190. package/dist/cjs/icons.generated/Clock.cjs +1 -1
  191. package/dist/cjs/icons.generated/Close.cjs +1 -1
  192. package/dist/cjs/icons.generated/CloseCircleFilled.cjs +1 -1
  193. package/dist/cjs/icons.generated/CollapseLeft.cjs +1 -1
  194. package/dist/cjs/icons.generated/CollapseRight.cjs +1 -1
  195. package/dist/cjs/icons.generated/Copy.cjs +1 -1
  196. package/dist/cjs/icons.generated/Customizations.cjs +1 -1
  197. package/dist/cjs/icons.generated/CustomizationsSelected.cjs +1 -1
  198. package/dist/cjs/icons.generated/DangerDiamond.cjs +1 -1
  199. package/dist/cjs/icons.generated/DangerDiamondFilled.cjs +1 -1
  200. package/dist/cjs/icons.generated/Delete.cjs +1 -1
  201. package/dist/cjs/icons.generated/Deny.cjs +1 -1
  202. package/dist/cjs/icons.generated/Devices.cjs +1 -1
  203. package/dist/cjs/icons.generated/Directory.cjs +1 -1
  204. package/dist/cjs/icons.generated/DirectorySelected.cjs +1 -1
  205. package/dist/cjs/icons.generated/Documentation.cjs +1 -1
  206. package/dist/cjs/icons.generated/Download.cjs +1 -1
  207. package/dist/cjs/icons.generated/DragIndicator.cjs +1 -1
  208. package/dist/cjs/icons.generated/Edit.cjs +1 -1
  209. package/dist/cjs/icons.generated/ExpandLeft.cjs +1 -1
  210. package/dist/cjs/icons.generated/ExpandRight.cjs +1 -1
  211. package/dist/cjs/icons.generated/ExternalLink.cjs +1 -1
  212. package/dist/cjs/icons.generated/Filter.cjs +1 -1
  213. package/dist/cjs/icons.generated/Folder.cjs +1 -1
  214. package/dist/cjs/icons.generated/FullscreenEnter.cjs +39 -0
  215. package/dist/cjs/icons.generated/FullscreenEnter.cjs.map +1 -0
  216. package/dist/cjs/icons.generated/FullscreenExit.cjs +39 -0
  217. package/dist/cjs/icons.generated/FullscreenExit.cjs.map +1 -0
  218. package/dist/cjs/icons.generated/Globe.cjs +1 -1
  219. package/dist/cjs/icons.generated/Grid.cjs +1 -1
  220. package/dist/cjs/icons.generated/Group.cjs +1 -1
  221. package/dist/cjs/icons.generated/Happy.cjs +1 -1
  222. package/dist/cjs/icons.generated/Hide.cjs +1 -1
  223. package/dist/cjs/icons.generated/Home.cjs +1 -1
  224. package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
  225. package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
  226. package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
  227. package/dist/cjs/icons.generated/InformationCircle.cjs +1 -1
  228. package/dist/cjs/icons.generated/InformationCircleFilled.cjs +1 -1
  229. package/dist/cjs/icons.generated/Link.cjs +1 -1
  230. package/dist/cjs/icons.generated/List.cjs +1 -1
  231. package/dist/cjs/icons.generated/Lock.cjs +1 -1
  232. package/dist/cjs/icons.generated/Menu.cjs +1 -1
  233. package/dist/cjs/icons.generated/More.cjs +1 -1
  234. package/dist/cjs/icons.generated/Neutral.cjs +1 -1
  235. package/dist/cjs/icons.generated/Notification.cjs +1 -1
  236. package/dist/cjs/icons.generated/Pause.cjs +1 -1
  237. package/dist/cjs/icons.generated/QuestionCircle.cjs +1 -1
  238. package/dist/cjs/icons.generated/QuestionCircleFilled.cjs +1 -1
  239. package/dist/cjs/icons.generated/Refresh.cjs +1 -1
  240. package/dist/cjs/icons.generated/Reports.cjs +1 -1
  241. package/dist/cjs/icons.generated/ReportsSelected.cjs +1 -1
  242. package/dist/cjs/icons.generated/Reset.cjs +1 -1
  243. package/dist/cjs/icons.generated/Resume.cjs +1 -1
  244. package/dist/cjs/icons.generated/Sad.cjs +1 -1
  245. package/dist/cjs/icons.generated/Same.cjs +1 -1
  246. package/dist/cjs/icons.generated/Search.cjs +1 -1
  247. package/dist/cjs/icons.generated/Security.cjs +1 -1
  248. package/dist/cjs/icons.generated/SecuritySelected.cjs +1 -1
  249. package/dist/cjs/icons.generated/Send.cjs +1 -1
  250. package/dist/cjs/icons.generated/Server.cjs +1 -1
  251. package/dist/cjs/icons.generated/Settings.cjs +1 -1
  252. package/dist/cjs/icons.generated/SettingsSelected.cjs +1 -1
  253. package/dist/cjs/icons.generated/Show.cjs +1 -1
  254. package/dist/cjs/icons.generated/Sparkle.cjs +1 -1
  255. package/dist/cjs/icons.generated/Subtract.cjs +1 -1
  256. package/dist/cjs/icons.generated/Sync.cjs +1 -1
  257. package/dist/cjs/icons.generated/ThumbsDown.cjs +1 -1
  258. package/dist/cjs/icons.generated/ThumbsUp.cjs +1 -1
  259. package/dist/cjs/icons.generated/Unlock.cjs +1 -1
  260. package/dist/cjs/icons.generated/Upload.cjs +1 -1
  261. package/dist/cjs/icons.generated/User.cjs +1 -1
  262. package/dist/cjs/icons.generated/Video.cjs +1 -1
  263. package/dist/cjs/icons.generated/Warning.cjs +1 -1
  264. package/dist/cjs/icons.generated/WarningFilled.cjs +1 -1
  265. package/dist/cjs/icons.generated/Workflows.cjs +1 -1
  266. package/dist/cjs/icons.generated/WorkflowsSelected.cjs +1 -1
  267. package/dist/cjs/icons.generated/index.cjs +22 -0
  268. package/dist/cjs/icons.generated/index.cjs.map +1 -1
  269. package/dist/cjs/icons.generated/lazyIconDictionary.cjs +6 -0
  270. package/dist/cjs/icons.generated/lazyIconDictionary.cjs.map +1 -1
  271. package/dist/cjs/icons.generated/names.cjs +1 -1
  272. package/dist/cjs/icons.generated/names.cjs.map +1 -1
  273. package/dist/cjs/index.cjs +47 -0
  274. package/dist/cjs/index.cjs.map +1 -1
  275. package/dist/cjs/inputUtils.cjs.map +1 -1
  276. package/dist/cjs/labs/AppTile.cjs +1 -1
  277. package/dist/cjs/labs/AppTile.cjs.map +1 -1
  278. package/dist/cjs/labs/DataFilters.cjs +2 -2
  279. package/dist/cjs/labs/DataFilters.cjs.map +1 -1
  280. package/dist/cjs/labs/DataTable.cjs +1 -1
  281. package/dist/cjs/labs/DataTable.cjs.map +1 -1
  282. package/dist/cjs/labs/DataTablePagination.cjs +1 -1
  283. package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +1 -1
  284. package/dist/cjs/labs/DataView/BulkActionsMenu.cjs.map +1 -1
  285. package/dist/cjs/labs/DataView/CardLayoutContent.cjs +2 -2
  286. package/dist/cjs/labs/DataView/CardLayoutContent.cjs.map +1 -1
  287. package/dist/cjs/labs/DataView/DataCard.cjs +1 -1
  288. package/dist/cjs/labs/DataView/DataCard.cjs.map +1 -1
  289. package/dist/cjs/labs/DataView/DataTable.cjs +1 -1
  290. package/dist/cjs/labs/DataView/DataTable.cjs.map +1 -1
  291. package/dist/cjs/labs/DataView/DataView.cjs +1 -1
  292. package/dist/cjs/labs/DataView/DataView.cjs.map +1 -1
  293. package/dist/cjs/labs/DataView/DetailPanel.cjs +1 -1
  294. package/dist/cjs/labs/DataView/LayoutSwitcher.cjs +1 -1
  295. package/dist/cjs/labs/DataView/RowActions.cjs +1 -1
  296. package/dist/cjs/labs/DataView/RowActions.cjs.map +1 -1
  297. package/dist/cjs/labs/DataView/TableLayoutContent.cjs +1 -1
  298. package/dist/cjs/labs/DataView/TableLayoutContent.cjs.map +1 -1
  299. package/dist/cjs/labs/DataView/TableSettings.cjs +1 -1
  300. package/dist/cjs/labs/DataView/TableSettings.cjs.map +1 -1
  301. package/dist/cjs/labs/DataView/componentTypes.cjs.map +1 -1
  302. package/dist/cjs/labs/DataView/tableConstants.cjs.map +1 -1
  303. package/dist/cjs/labs/DataView/testSupportData.cjs.map +1 -1
  304. package/dist/cjs/labs/DataView/useFilterConversion.cjs.map +1 -1
  305. package/dist/cjs/labs/DatePickers/DateTimeField.cjs +1 -1
  306. package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +2 -2
  307. package/dist/cjs/labs/DatePickers/DateTimePicker.cjs.map +1 -1
  308. package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs +4 -4
  309. package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs.map +1 -1
  310. package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +1 -1
  311. package/dist/cjs/labs/OdysseyPickers/Picker.cjs +1 -1
  312. package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs +1 -1
  313. package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs.map +1 -1
  314. package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs +1 -1
  315. package/dist/cjs/labs/OdysseyPickers/SearchDropdown.cjs +1 -1
  316. package/dist/cjs/labs/PageTemplate/DocumentationLink.cjs +1 -1
  317. package/dist/cjs/labs/PageTemplate/Layout.cjs +1 -1
  318. package/dist/cjs/labs/PageTemplate/Layout.cjs.map +1 -1
  319. package/dist/cjs/labs/PageTemplate/PageTemplate.cjs +1 -1
  320. package/dist/cjs/labs/PaginatedTable.cjs +1 -1
  321. package/dist/cjs/labs/StaticTable.cjs +1 -1
  322. package/dist/cjs/labs/UserProfile.cjs +1 -1
  323. package/dist/cjs/labs/UserProfileMenuButton.cjs +1 -1
  324. package/dist/cjs/logos.generated/Duo.cjs +1 -1
  325. package/dist/cjs/logos.generated/GoogleAuth.cjs +1 -1
  326. package/dist/cjs/logos.generated/OktaVerify.cjs +1 -1
  327. package/dist/cjs/logos.generated/Persona.cjs +1 -1
  328. package/dist/cjs/logos.generated/SymantecVip.cjs +1 -1
  329. package/dist/cjs/logos.generated/Yubikey.cjs +1 -1
  330. package/dist/cjs/message-bus/createBrowserMessageBus.cjs +78 -0
  331. package/dist/cjs/message-bus/createBrowserMessageBus.cjs.map +1 -0
  332. package/dist/cjs/message-bus/createMessageChannel.cjs +38 -0
  333. package/dist/cjs/message-bus/createMessageChannel.cjs.map +1 -0
  334. package/dist/cjs/message-bus/fullscreen/createFullscreenId.cjs +24 -0
  335. package/dist/cjs/message-bus/fullscreen/createFullscreenId.cjs.map +1 -0
  336. package/dist/cjs/message-bus/fullscreen/createFullscreenModeHost.cjs +99 -0
  337. package/dist/cjs/message-bus/fullscreen/createFullscreenModeHost.cjs.map +1 -0
  338. package/dist/cjs/message-bus/fullscreen/createFullscreenModeMessageBus.cjs +76 -0
  339. package/dist/cjs/message-bus/fullscreen/createFullscreenModeMessageBus.cjs.map +1 -0
  340. package/dist/cjs/message-bus/fullscreen/fullscreenMessageChannel.cjs +35 -0
  341. package/dist/cjs/message-bus/fullscreen/fullscreenMessageChannel.cjs.map +1 -0
  342. package/dist/cjs/message-bus/fullscreen/fullscreenState.cjs +60 -0
  343. package/dist/cjs/message-bus/fullscreen/fullscreenState.cjs.map +1 -0
  344. package/dist/cjs/message-bus/fullscreen/watchElementDisconnection.cjs +51 -0
  345. package/dist/cjs/message-bus/fullscreen/watchElementDisconnection.cjs.map +1 -0
  346. package/dist/cjs/message-bus/index.cjs +111 -0
  347. package/dist/cjs/message-bus/index.cjs.map +1 -0
  348. package/dist/cjs/message-bus/messageGuards.cjs +23 -0
  349. package/dist/cjs/message-bus/messageGuards.cjs.map +1 -0
  350. package/dist/cjs/pendingDesignTokens/fullscreenTransitionTokens.cjs +21 -0
  351. package/dist/cjs/pendingDesignTokens/fullscreenTransitionTokens.cjs.map +1 -0
  352. package/dist/cjs/properties/ts/odyssey-react-mui.cjs +4 -0
  353. package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
  354. package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs +4 -0
  355. package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs.map +1 -1
  356. package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs +4 -0
  357. package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs.map +1 -1
  358. package/dist/cjs/test-utils/appendToSandbox.cjs.map +1 -1
  359. package/dist/cjs/test-utils/getControlledElement.cjs.map +1 -1
  360. package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs.map +1 -1
  361. package/dist/cjs/test-utils/viewportTestSizes.cjs.map +1 -1
  362. package/dist/cjs/theme/components/Autocomplete.cjs.map +1 -1
  363. package/dist/cjs/theme/components/Button.cjs.map +1 -1
  364. package/dist/cjs/theme/components/CircularProgress.cjs.map +1 -1
  365. package/dist/cjs/theme/components/Drawer.cjs.map +1 -1
  366. package/dist/cjs/theme/components/Form.cjs.map +1 -1
  367. package/dist/cjs/theme/components/Input.cjs.map +1 -1
  368. package/dist/cjs/theme/components/Table.cjs.map +1 -1
  369. package/dist/cjs/theme/useAppElementContainerQuery.cjs.map +1 -1
  370. package/dist/cjs/theme/useContainerQuery.cjs.map +1 -1
  371. package/dist/cjs/theme/useMediaQuery.cjs.map +1 -1
  372. package/dist/cjs/tools/addSpecificity.cjs.map +1 -1
  373. package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs +1 -1
  374. package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -1
  375. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +32 -2
  376. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs.map +1 -1
  377. package/dist/cjs/ui-shell/SideNav/NavAccordion.cjs +1 -1
  378. package/dist/cjs/ui-shell/SideNav/SideNav.cjs +1 -1
  379. package/dist/cjs/ui-shell/SideNav/SideNav.cjs.map +1 -1
  380. package/dist/cjs/ui-shell/SideNav/SideNavFooterContent.cjs +1 -1
  381. package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs +1 -1
  382. package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs +2 -2
  383. package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs.map +1 -1
  384. package/dist/cjs/ui-shell/SideNav/SideNavItemContentContext.cjs.map +1 -1
  385. package/dist/cjs/ui-shell/SideNav/SideNavItemLinkContent.cjs +1 -1
  386. package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs +1 -1
  387. package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs +2 -2
  388. package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs.map +1 -1
  389. package/dist/cjs/ui-shell/SideNav/SortableList/SortableItem.cjs.map +1 -1
  390. package/dist/cjs/ui-shell/SideNav/SortableList/SortableList.cjs.map +1 -1
  391. package/dist/cjs/ui-shell/SideNav/SortableList/SortableOverlay.cjs.map +1 -1
  392. package/dist/cjs/ui-shell/SideNav/types.cjs.map +1 -1
  393. package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
  394. package/dist/cjs/ui-shell/SkipToContent.cjs.map +1 -1
  395. package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
  396. package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
  397. package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs +1 -1
  398. package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs +1 -1
  399. package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs.map +1 -1
  400. package/dist/cjs/ui-shell/UiShell.cjs +11 -1
  401. package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
  402. package/dist/cjs/ui-shell/UiShellLogo.cjs +1 -1
  403. package/dist/cjs/ui-shell/UiShellProvider.cjs.map +1 -1
  404. package/dist/cjs/ui-shell/WideUiShellContent.cjs +40 -1
  405. package/dist/cjs/ui-shell/WideUiShellContent.cjs.map +1 -1
  406. package/dist/cjs/ui-shell/createUiShellFullscreenState.cjs +66 -0
  407. package/dist/cjs/ui-shell/createUiShellFullscreenState.cjs.map +1 -0
  408. package/dist/cjs/ui-shell/renderUiShell.cjs +23 -0
  409. package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
  410. package/dist/cjs/ui-shell/uiShellContentTypes.cjs.map +1 -1
  411. package/dist/cjs/ui-shell/uiShellSharedConstants.cjs.map +1 -1
  412. package/dist/cjs/ui-shell/useFullscreenChromeCollapse.cjs +74 -0
  413. package/dist/cjs/ui-shell/useFullscreenChromeCollapse.cjs.map +1 -0
  414. package/dist/cjs/useContrastMode.cjs.map +1 -1
  415. package/dist/cjs/useStableCallback.cjs.map +1 -1
  416. package/dist/cjs/useThemeCache.cjs.map +1 -1
  417. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  418. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  419. package/dist/cjs/web-component/renderReactInWebComponent.cjs.map +1 -1
  420. package/dist/esm/@types/react-augment.d.js.map +1 -1
  421. package/dist/esm/Accordion.js +1 -1
  422. package/dist/esm/Accordion.js.map +1 -1
  423. package/dist/esm/AnimationContext.js +1 -1
  424. package/dist/esm/Autocomplete.js +1 -1
  425. package/dist/esm/Autocomplete.js.map +1 -1
  426. package/dist/esm/Badge.js +1 -1
  427. package/dist/esm/Badge.js.map +1 -1
  428. package/dist/esm/Banner.js +1 -1
  429. package/dist/esm/Banner.js.map +1 -1
  430. package/dist/esm/Box.js +1 -1
  431. package/dist/esm/Box.js.map +1 -1
  432. package/dist/esm/Breadcrumbs.js +1 -1
  433. package/dist/esm/Breadcrumbs.js.map +1 -1
  434. package/dist/esm/Buttons/BaseButton.js +4 -2
  435. package/dist/esm/Buttons/BaseButton.js.map +1 -1
  436. package/dist/esm/Buttons/BaseMenuButton.js +1 -1
  437. package/dist/esm/Buttons/BaseMenuButton.js.map +1 -1
  438. package/dist/esm/Buttons/Button.js +1 -1
  439. package/dist/esm/Buttons/Button.js.map +1 -1
  440. package/dist/esm/Buttons/MenuButton.js +1 -1
  441. package/dist/esm/Buttons/MenuButton.js.map +1 -1
  442. package/dist/esm/Buttons/MenuItem.js +1 -1
  443. package/dist/esm/Buttons/MenuItem.js.map +1 -1
  444. package/dist/esm/Callout.js +1 -1
  445. package/dist/esm/Callout.js.map +1 -1
  446. package/dist/esm/Card.js +1 -1
  447. package/dist/esm/Card.js.map +1 -1
  448. package/dist/esm/CircularProgress.js +1 -1
  449. package/dist/esm/CircularProgress.js.map +1 -1
  450. package/dist/esm/ConditionalWrapper.js +1 -1
  451. package/dist/esm/ConditionalWrapper.js.map +1 -1
  452. package/dist/esm/CssBaseline.js.map +1 -1
  453. package/dist/esm/DataTable/DataTable.js +1 -1
  454. package/dist/esm/DataTable/DataTable.js.map +1 -1
  455. package/dist/esm/DataTable/DataTableRowActions.js +1 -1
  456. package/dist/esm/DataTable/DataTableSettings.js +1 -1
  457. package/dist/esm/DataTable/useRowReordering.js.map +1 -1
  458. package/dist/esm/DatePickers/DateField.js +1 -1
  459. package/dist/esm/DatePickers/DateFieldActionBar.js +1 -1
  460. package/dist/esm/DatePickers/DateFieldLocalizationProvider.js +1 -1
  461. package/dist/esm/DatePickers/DatePicker.js +1 -1
  462. package/dist/esm/DatePickers/DatePicker.js.map +1 -1
  463. package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
  464. package/dist/esm/DatePickers/TimeZonePicker.js.map +1 -1
  465. package/dist/esm/DatePickers/datePickerTheme.js +57 -27
  466. package/dist/esm/DatePickers/datePickerTheme.js.map +1 -1
  467. package/dist/esm/DatePickers/useOdysseyDateFields.js.map +1 -1
  468. package/dist/esm/Dialog.js +1 -1
  469. package/dist/esm/Dialog.js.map +1 -1
  470. package/dist/esm/Drawer.js +1 -1
  471. package/dist/esm/Drawer.js.map +1 -1
  472. package/dist/esm/EmptyState.js +1 -1
  473. package/dist/esm/EmptyState.js.map +1 -1
  474. package/dist/esm/ErrorMessageList.js +1 -1
  475. package/dist/esm/Field.js +1 -1
  476. package/dist/esm/FieldError.js +1 -1
  477. package/dist/esm/FieldHint.js +1 -1
  478. package/dist/esm/FieldLabel.js +1 -1
  479. package/dist/esm/Fields/Checkbox.js +1 -1
  480. package/dist/esm/Fields/Checkbox.js.map +1 -1
  481. package/dist/esm/Fields/CheckboxGroup.js +1 -1
  482. package/dist/esm/Fields/CheckboxGroup.js.map +1 -1
  483. package/dist/esm/Fields/Hint.js.map +1 -1
  484. package/dist/esm/Fields/Radio.js +1 -1
  485. package/dist/esm/Fields/RadioGroup.js +1 -1
  486. package/dist/esm/Fields/RadioGroup.js.map +1 -1
  487. package/dist/esm/Fieldset.js +1 -1
  488. package/dist/esm/Fieldset.js.map +1 -1
  489. package/dist/esm/FileUploader/FileUploadIllustration.js +1 -1
  490. package/dist/esm/FileUploader/FileUploadPreview.js +1 -1
  491. package/dist/esm/FileUploader/FileUploader.js +1 -1
  492. package/dist/esm/FileUploader/FileUploader.js.map +1 -1
  493. package/dist/esm/Form.js +1 -1
  494. package/dist/esm/Form.js.map +1 -1
  495. package/dist/esm/FormCheckedProps.js.map +1 -1
  496. package/dist/esm/FullScreenOverlay.js +1 -1
  497. package/dist/esm/FullScreenOverlayContext.js +1 -1
  498. package/dist/esm/HintLink.js +1 -1
  499. package/dist/esm/IconWithTooltip.js +1 -1
  500. package/dist/esm/IconWithTooltip.js.map +1 -1
  501. package/dist/esm/Link.js +1 -1
  502. package/dist/esm/Link.js.map +1 -1
  503. package/dist/esm/MuiPropsChild.js +1 -1
  504. package/dist/esm/NativeSelect.js +1 -1
  505. package/dist/esm/NativeSelect.js.map +1 -1
  506. package/dist/esm/OdysseyCacheProvider.js +1 -1
  507. package/dist/esm/OdysseyCacheProvider.js.map +1 -1
  508. package/dist/esm/OdysseyDesignTokensContext.js.map +1 -1
  509. package/dist/esm/OdysseyProvider.js +1 -1
  510. package/dist/esm/OdysseyProvider.js.map +1 -1
  511. package/dist/esm/OdysseyThemeProvider.js +1 -1
  512. package/dist/esm/OdysseyThemeProvider.js.map +1 -1
  513. package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
  514. package/dist/esm/Pagination/Pagination.js +1 -1
  515. package/dist/esm/Pagination/Pagination.js.map +1 -1
  516. package/dist/esm/PasswordField.js +1 -1
  517. package/dist/esm/PasswordField.js.map +1 -1
  518. package/dist/esm/ScreenReaderText.js +1 -1
  519. package/dist/esm/ScreenReaderText.js.map +1 -1
  520. package/dist/esm/SearchField.js +1 -1
  521. package/dist/esm/SearchField.js.map +1 -1
  522. package/dist/esm/Select.js +1 -1
  523. package/dist/esm/Select.js.map +1 -1
  524. package/dist/esm/Stack.js +1 -1
  525. package/dist/esm/Stack.js.map +1 -1
  526. package/dist/esm/Status.js +1 -1
  527. package/dist/esm/Status.js.map +1 -1
  528. package/dist/esm/Surface.js +1 -1
  529. package/dist/esm/Surface.js.map +1 -1
  530. package/dist/esm/Switch.js +2 -2
  531. package/dist/esm/Switch.js.map +1 -1
  532. package/dist/esm/Tabs.js +1 -1
  533. package/dist/esm/Tabs.js.map +1 -1
  534. package/dist/esm/Tag.js +1 -1
  535. package/dist/esm/Tag.js.map +1 -1
  536. package/dist/esm/TagList.js +1 -1
  537. package/dist/esm/TagList.js.map +1 -1
  538. package/dist/esm/TextField.js +1 -1
  539. package/dist/esm/TextField.js.map +1 -1
  540. package/dist/esm/Toast.js +1 -1
  541. package/dist/esm/Toast.js.map +1 -1
  542. package/dist/esm/ToastStack.js +1 -1
  543. package/dist/esm/ToastStack.js.map +1 -1
  544. package/dist/esm/Tooltip.js +1 -1
  545. package/dist/esm/Tooltip.js.map +1 -1
  546. package/dist/esm/Typography.js +12 -12
  547. package/dist/esm/Typography.js.map +1 -1
  548. package/dist/esm/__internal.js.map +1 -1
  549. package/dist/esm/charts/BarChart.js +1 -1
  550. package/dist/esm/charts/BarChart.js.map +1 -1
  551. package/dist/esm/charts/LineChart.js +1 -1
  552. package/dist/esm/charts/LineChart.js.map +1 -1
  553. package/dist/esm/charts/components/ChartContainer.js.map +1 -1
  554. package/dist/esm/charts/components/ChartError.js +1 -1
  555. package/dist/esm/charts/components/ChartError.js.map +1 -1
  556. package/dist/esm/charts/components/ChartFrame.js +1 -1
  557. package/dist/esm/charts/components/ChartFrame.js.map +1 -1
  558. package/dist/esm/charts/components/ChartPopoverContent.js +1 -1
  559. package/dist/esm/charts/components/ChartPopoverContent.js.map +1 -1
  560. package/dist/esm/charts/utils/chartTokens.js.map +1 -1
  561. package/dist/esm/charts/utils/chartTypes.js.map +1 -1
  562. package/dist/esm/charts/utils/formatChartValue.js.map +1 -1
  563. package/dist/esm/charts/utils/getChartSeriesPointData.js.map +1 -1
  564. package/dist/esm/charts/utils/hasDuplicateSeries.js.map +1 -1
  565. package/dist/esm/charts/utils/resolveChartLocale.js.map +1 -1
  566. package/dist/esm/charts/utils/useChartValueFormatter.js.map +1 -1
  567. package/dist/esm/charts/utils/useStableValue.js.map +1 -1
  568. package/dist/esm/createContrastColors.js.map +1 -1
  569. package/dist/esm/createOdysseyStyledComponent.js.map +1 -1
  570. package/dist/esm/fullscreen/FullscreenButton.js +52 -0
  571. package/dist/esm/fullscreen/FullscreenButton.js.map +1 -0
  572. package/dist/esm/fullscreen/FullscreenRegion.js +402 -0
  573. package/dist/esm/fullscreen/FullscreenRegion.js.map +1 -0
  574. package/dist/esm/fullscreen/easeFullscreenTransition.js +12 -0
  575. package/dist/esm/fullscreen/easeFullscreenTransition.js.map +1 -0
  576. package/dist/esm/fullscreen/getBackgroundColorBehindElement.js +53 -0
  577. package/dist/esm/fullscreen/getBackgroundColorBehindElement.js.map +1 -0
  578. package/dist/esm/fullscreen/useFullscreen.js +110 -0
  579. package/dist/esm/fullscreen/useFullscreen.js.map +1 -0
  580. package/dist/esm/fullscreen/useFullscreenId.js +16 -0
  581. package/dist/esm/fullscreen/useFullscreenId.js.map +1 -0
  582. package/dist/esm/getLogicalBoundaries.js.map +1 -1
  583. package/dist/esm/icons.generated/Add.js +1 -1
  584. package/dist/esm/icons.generated/AddCircle.js +1 -1
  585. package/dist/esm/icons.generated/Apps.js +1 -1
  586. package/dist/esm/icons.generated/AppsSelected.js +1 -1
  587. package/dist/esm/icons.generated/ArrowBottom.js +1 -1
  588. package/dist/esm/icons.generated/ArrowDown.js +1 -1
  589. package/dist/esm/icons.generated/ArrowLeft.js +1 -1
  590. package/dist/esm/icons.generated/ArrowLowerLeft.js +1 -1
  591. package/dist/esm/icons.generated/ArrowLowerRight.js +1 -1
  592. package/dist/esm/icons.generated/ArrowRight.js +1 -1
  593. package/dist/esm/icons.generated/ArrowTop.js +1 -1
  594. package/dist/esm/icons.generated/ArrowUnsorted.js +1 -1
  595. package/dist/esm/icons.generated/ArrowUp.js +1 -1
  596. package/dist/esm/icons.generated/ArrowUpperLeft.js +1 -1
  597. package/dist/esm/icons.generated/ArrowUpperRight.js +1 -1
  598. package/dist/esm/icons.generated/Bug.js +1 -1
  599. package/dist/esm/icons.generated/Calendar.js +1 -1
  600. package/dist/esm/icons.generated/Call.js +1 -1
  601. package/dist/esm/icons.generated/Chat.js +1 -1
  602. package/dist/esm/icons.generated/Check.js +1 -1
  603. package/dist/esm/icons.generated/CheckCircleFilled.js +1 -1
  604. package/dist/esm/icons.generated/ChevronDown.js +1 -1
  605. package/dist/esm/icons.generated/ChevronLeft.js +1 -1
  606. package/dist/esm/icons.generated/ChevronRight.js +1 -1
  607. package/dist/esm/icons.generated/ChevronUp.js +1 -1
  608. package/dist/esm/icons.generated/Clock.js +1 -1
  609. package/dist/esm/icons.generated/Close.js +1 -1
  610. package/dist/esm/icons.generated/CloseCircleFilled.js +1 -1
  611. package/dist/esm/icons.generated/CollapseLeft.js +1 -1
  612. package/dist/esm/icons.generated/CollapseRight.js +1 -1
  613. package/dist/esm/icons.generated/Copy.js +1 -1
  614. package/dist/esm/icons.generated/Customizations.js +1 -1
  615. package/dist/esm/icons.generated/CustomizationsSelected.js +1 -1
  616. package/dist/esm/icons.generated/DangerDiamond.js +1 -1
  617. package/dist/esm/icons.generated/DangerDiamondFilled.js +1 -1
  618. package/dist/esm/icons.generated/Delete.js +1 -1
  619. package/dist/esm/icons.generated/Deny.js +1 -1
  620. package/dist/esm/icons.generated/Devices.js +1 -1
  621. package/dist/esm/icons.generated/Directory.js +1 -1
  622. package/dist/esm/icons.generated/DirectorySelected.js +1 -1
  623. package/dist/esm/icons.generated/Documentation.js +1 -1
  624. package/dist/esm/icons.generated/Download.js +1 -1
  625. package/dist/esm/icons.generated/DragIndicator.js +1 -1
  626. package/dist/esm/icons.generated/Edit.js +1 -1
  627. package/dist/esm/icons.generated/ExpandLeft.js +1 -1
  628. package/dist/esm/icons.generated/ExpandRight.js +1 -1
  629. package/dist/esm/icons.generated/ExternalLink.js +1 -1
  630. package/dist/esm/icons.generated/Filter.js +1 -1
  631. package/dist/esm/icons.generated/Folder.js +1 -1
  632. package/dist/esm/icons.generated/FullscreenEnter.js +34 -0
  633. package/dist/esm/icons.generated/FullscreenEnter.js.map +1 -0
  634. package/dist/esm/icons.generated/FullscreenExit.js +34 -0
  635. package/dist/esm/icons.generated/FullscreenExit.js.map +1 -0
  636. package/dist/esm/icons.generated/Globe.js +1 -1
  637. package/dist/esm/icons.generated/Grid.js +1 -1
  638. package/dist/esm/icons.generated/Group.js +1 -1
  639. package/dist/esm/icons.generated/Happy.js +1 -1
  640. package/dist/esm/icons.generated/Hide.js +1 -1
  641. package/dist/esm/icons.generated/Home.js +1 -1
  642. package/dist/esm/icons.generated/HomeSelected.js +1 -1
  643. package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
  644. package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
  645. package/dist/esm/icons.generated/InformationCircle.js +1 -1
  646. package/dist/esm/icons.generated/InformationCircleFilled.js +1 -1
  647. package/dist/esm/icons.generated/Link.js +1 -1
  648. package/dist/esm/icons.generated/List.js +1 -1
  649. package/dist/esm/icons.generated/Lock.js +1 -1
  650. package/dist/esm/icons.generated/Menu.js +1 -1
  651. package/dist/esm/icons.generated/More.js +1 -1
  652. package/dist/esm/icons.generated/Neutral.js +1 -1
  653. package/dist/esm/icons.generated/Notification.js +1 -1
  654. package/dist/esm/icons.generated/Pause.js +1 -1
  655. package/dist/esm/icons.generated/QuestionCircle.js +1 -1
  656. package/dist/esm/icons.generated/QuestionCircleFilled.js +1 -1
  657. package/dist/esm/icons.generated/Refresh.js +1 -1
  658. package/dist/esm/icons.generated/Reports.js +1 -1
  659. package/dist/esm/icons.generated/ReportsSelected.js +1 -1
  660. package/dist/esm/icons.generated/Reset.js +1 -1
  661. package/dist/esm/icons.generated/Resume.js +1 -1
  662. package/dist/esm/icons.generated/Sad.js +1 -1
  663. package/dist/esm/icons.generated/Same.js +1 -1
  664. package/dist/esm/icons.generated/Search.js +1 -1
  665. package/dist/esm/icons.generated/Security.js +1 -1
  666. package/dist/esm/icons.generated/SecuritySelected.js +1 -1
  667. package/dist/esm/icons.generated/Send.js +1 -1
  668. package/dist/esm/icons.generated/Server.js +1 -1
  669. package/dist/esm/icons.generated/Settings.js +1 -1
  670. package/dist/esm/icons.generated/SettingsSelected.js +1 -1
  671. package/dist/esm/icons.generated/Show.js +1 -1
  672. package/dist/esm/icons.generated/Sparkle.js +1 -1
  673. package/dist/esm/icons.generated/Subtract.js +1 -1
  674. package/dist/esm/icons.generated/Sync.js +1 -1
  675. package/dist/esm/icons.generated/ThumbsDown.js +1 -1
  676. package/dist/esm/icons.generated/ThumbsUp.js +1 -1
  677. package/dist/esm/icons.generated/Unlock.js +1 -1
  678. package/dist/esm/icons.generated/Upload.js +1 -1
  679. package/dist/esm/icons.generated/User.js +1 -1
  680. package/dist/esm/icons.generated/Video.js +1 -1
  681. package/dist/esm/icons.generated/Warning.js +1 -1
  682. package/dist/esm/icons.generated/WarningFilled.js +1 -1
  683. package/dist/esm/icons.generated/Workflows.js +1 -1
  684. package/dist/esm/icons.generated/WorkflowsSelected.js +1 -1
  685. package/dist/esm/icons.generated/index.js +2 -0
  686. package/dist/esm/icons.generated/index.js.map +1 -1
  687. package/dist/esm/icons.generated/lazyIconDictionary.js +6 -0
  688. package/dist/esm/icons.generated/lazyIconDictionary.js.map +1 -1
  689. package/dist/esm/icons.generated/names.js +1 -1
  690. package/dist/esm/icons.generated/names.js.map +1 -1
  691. package/dist/esm/index.js +5 -0
  692. package/dist/esm/index.js.map +1 -1
  693. package/dist/esm/inputUtils.js.map +1 -1
  694. package/dist/esm/labs/AppTile.js +1 -1
  695. package/dist/esm/labs/AppTile.js.map +1 -1
  696. package/dist/esm/labs/DataFilters.js +2 -2
  697. package/dist/esm/labs/DataFilters.js.map +1 -1
  698. package/dist/esm/labs/DataTable.js +1 -1
  699. package/dist/esm/labs/DataTable.js.map +1 -1
  700. package/dist/esm/labs/DataTablePagination.js +1 -1
  701. package/dist/esm/labs/DataView/BulkActionsMenu.js +1 -1
  702. package/dist/esm/labs/DataView/BulkActionsMenu.js.map +1 -1
  703. package/dist/esm/labs/DataView/CardLayoutContent.js +2 -2
  704. package/dist/esm/labs/DataView/CardLayoutContent.js.map +1 -1
  705. package/dist/esm/labs/DataView/DataCard.js +1 -1
  706. package/dist/esm/labs/DataView/DataCard.js.map +1 -1
  707. package/dist/esm/labs/DataView/DataTable.js +1 -1
  708. package/dist/esm/labs/DataView/DataTable.js.map +1 -1
  709. package/dist/esm/labs/DataView/DataView.js +1 -1
  710. package/dist/esm/labs/DataView/DataView.js.map +1 -1
  711. package/dist/esm/labs/DataView/DetailPanel.js +1 -1
  712. package/dist/esm/labs/DataView/LayoutSwitcher.js +1 -1
  713. package/dist/esm/labs/DataView/RowActions.js +1 -1
  714. package/dist/esm/labs/DataView/RowActions.js.map +1 -1
  715. package/dist/esm/labs/DataView/TableLayoutContent.js +1 -1
  716. package/dist/esm/labs/DataView/TableLayoutContent.js.map +1 -1
  717. package/dist/esm/labs/DataView/TableSettings.js +1 -1
  718. package/dist/esm/labs/DataView/TableSettings.js.map +1 -1
  719. package/dist/esm/labs/DataView/componentTypes.js.map +1 -1
  720. package/dist/esm/labs/DataView/tableConstants.js.map +1 -1
  721. package/dist/esm/labs/DataView/testSupportData.js.map +1 -1
  722. package/dist/esm/labs/DataView/useFilterConversion.js.map +1 -1
  723. package/dist/esm/labs/DatePickers/DateTimeField.js +1 -1
  724. package/dist/esm/labs/DatePickers/DateTimePicker.js +2 -2
  725. package/dist/esm/labs/DatePickers/DateTimePicker.js.map +1 -1
  726. package/dist/esm/labs/DatePickers/dateTimePickerTheme.js +4 -4
  727. package/dist/esm/labs/DatePickers/dateTimePickerTheme.js.map +1 -1
  728. package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +1 -1
  729. package/dist/esm/labs/OdysseyPickers/Picker.js +1 -1
  730. package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js +1 -1
  731. package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js.map +1 -1
  732. package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js +1 -1
  733. package/dist/esm/labs/OdysseyPickers/SearchDropdown.js +1 -1
  734. package/dist/esm/labs/PageTemplate/DocumentationLink.js +1 -1
  735. package/dist/esm/labs/PageTemplate/Layout.js +1 -1
  736. package/dist/esm/labs/PageTemplate/Layout.js.map +1 -1
  737. package/dist/esm/labs/PageTemplate/PageTemplate.js +1 -1
  738. package/dist/esm/labs/PaginatedTable.js +1 -1
  739. package/dist/esm/labs/StaticTable.js +1 -1
  740. package/dist/esm/labs/UserProfile.js +1 -1
  741. package/dist/esm/labs/UserProfileMenuButton.js +1 -1
  742. package/dist/esm/logos.generated/Duo.js +1 -1
  743. package/dist/esm/logos.generated/GoogleAuth.js +1 -1
  744. package/dist/esm/logos.generated/OktaVerify.js +1 -1
  745. package/dist/esm/logos.generated/Persona.js +1 -1
  746. package/dist/esm/logos.generated/SymantecVip.js +1 -1
  747. package/dist/esm/logos.generated/Yubikey.js +1 -1
  748. package/dist/esm/message-bus/createBrowserMessageBus.js +72 -0
  749. package/dist/esm/message-bus/createBrowserMessageBus.js.map +1 -0
  750. package/dist/esm/message-bus/createMessageChannel.js +33 -0
  751. package/dist/esm/message-bus/createMessageChannel.js.map +1 -0
  752. package/dist/esm/message-bus/fullscreen/createFullscreenId.js +18 -0
  753. package/dist/esm/message-bus/fullscreen/createFullscreenId.js.map +1 -0
  754. package/dist/esm/message-bus/fullscreen/createFullscreenModeHost.js +92 -0
  755. package/dist/esm/message-bus/fullscreen/createFullscreenModeHost.js.map +1 -0
  756. package/dist/esm/message-bus/fullscreen/createFullscreenModeMessageBus.js +69 -0
  757. package/dist/esm/message-bus/fullscreen/createFullscreenModeMessageBus.js.map +1 -0
  758. package/dist/esm/message-bus/fullscreen/fullscreenMessageChannel.js +29 -0
  759. package/dist/esm/message-bus/fullscreen/fullscreenMessageChannel.js.map +1 -0
  760. package/dist/esm/message-bus/fullscreen/fullscreenState.js +46 -0
  761. package/dist/esm/message-bus/fullscreen/fullscreenState.js.map +1 -0
  762. package/dist/esm/message-bus/fullscreen/watchElementDisconnection.js +44 -0
  763. package/dist/esm/message-bus/fullscreen/watchElementDisconnection.js.map +1 -0
  764. package/dist/esm/message-bus/index.js +22 -0
  765. package/dist/esm/message-bus/index.js.map +1 -0
  766. package/dist/esm/message-bus/messageGuards.js +14 -0
  767. package/dist/esm/message-bus/messageGuards.js.map +1 -0
  768. package/dist/esm/pendingDesignTokens/fullscreenTransitionTokens.js +15 -0
  769. package/dist/esm/pendingDesignTokens/fullscreenTransitionTokens.js.map +1 -0
  770. package/dist/esm/properties/ts/odyssey-react-mui.js +4 -0
  771. package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
  772. package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js +4 -0
  773. package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -1
  774. package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js +4 -0
  775. package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -1
  776. package/dist/esm/test-utils/appendToSandbox.js.map +1 -1
  777. package/dist/esm/test-utils/getControlledElement.js.map +1 -1
  778. package/dist/esm/test-utils/renderWithOdysseyProvider.js.map +1 -1
  779. package/dist/esm/test-utils/viewportTestSizes.js.map +1 -1
  780. package/dist/esm/theme/components/Autocomplete.js.map +1 -1
  781. package/dist/esm/theme/components/Button.js.map +1 -1
  782. package/dist/esm/theme/components/CircularProgress.js.map +1 -1
  783. package/dist/esm/theme/components/Drawer.js.map +1 -1
  784. package/dist/esm/theme/components/Form.js.map +1 -1
  785. package/dist/esm/theme/components/Input.js.map +1 -1
  786. package/dist/esm/theme/components/Table.js.map +1 -1
  787. package/dist/esm/theme/useAppElementContainerQuery.js.map +1 -1
  788. package/dist/esm/theme/useContainerQuery.js.map +1 -1
  789. package/dist/esm/theme/useMediaQuery.js.map +1 -1
  790. package/dist/esm/tools/addSpecificity.js.map +1 -1
  791. package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js +1 -1
  792. package/dist/esm/ui-shell/InnerAppContainer.js +1 -1
  793. package/dist/esm/ui-shell/NarrowUiShellContent.js +32 -2
  794. package/dist/esm/ui-shell/NarrowUiShellContent.js.map +1 -1
  795. package/dist/esm/ui-shell/SideNav/NavAccordion.js +1 -1
  796. package/dist/esm/ui-shell/SideNav/SideNav.js +1 -1
  797. package/dist/esm/ui-shell/SideNav/SideNav.js.map +1 -1
  798. package/dist/esm/ui-shell/SideNav/SideNavFooterContent.js +1 -1
  799. package/dist/esm/ui-shell/SideNav/SideNavHeader.js +1 -1
  800. package/dist/esm/ui-shell/SideNav/SideNavItemContent.js +2 -2
  801. package/dist/esm/ui-shell/SideNav/SideNavItemContent.js.map +1 -1
  802. package/dist/esm/ui-shell/SideNav/SideNavItemContentContext.js.map +1 -1
  803. package/dist/esm/ui-shell/SideNav/SideNavItemLinkContent.js +1 -1
  804. package/dist/esm/ui-shell/SideNav/SideNavSortableList.js +1 -1
  805. package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js +2 -2
  806. package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js.map +1 -1
  807. package/dist/esm/ui-shell/SideNav/SortableList/SortableItem.js.map +1 -1
  808. package/dist/esm/ui-shell/SideNav/SortableList/SortableList.js.map +1 -1
  809. package/dist/esm/ui-shell/SideNav/SortableList/SortableOverlay.js.map +1 -1
  810. package/dist/esm/ui-shell/SideNav/types.js.map +1 -1
  811. package/dist/esm/ui-shell/SkipToContent.js +1 -1
  812. package/dist/esm/ui-shell/SkipToContent.js.map +1 -1
  813. package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
  814. package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
  815. package/dist/esm/ui-shell/TopNav/TopNavLinksList.js +1 -1
  816. package/dist/esm/ui-shell/TopNav/TopNavListItem.js +1 -1
  817. package/dist/esm/ui-shell/TopNav/TopNavListItem.js.map +1 -1
  818. package/dist/esm/ui-shell/UiShell.js +11 -1
  819. package/dist/esm/ui-shell/UiShell.js.map +1 -1
  820. package/dist/esm/ui-shell/UiShellLogo.js +1 -1
  821. package/dist/esm/ui-shell/UiShellProvider.js.map +1 -1
  822. package/dist/esm/ui-shell/WideUiShellContent.js +40 -1
  823. package/dist/esm/ui-shell/WideUiShellContent.js.map +1 -1
  824. package/dist/esm/ui-shell/createUiShellFullscreenState.js +61 -0
  825. package/dist/esm/ui-shell/createUiShellFullscreenState.js.map +1 -0
  826. package/dist/esm/ui-shell/renderUiShell.js +23 -0
  827. package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
  828. package/dist/esm/ui-shell/uiShellContentTypes.js.map +1 -1
  829. package/dist/esm/ui-shell/uiShellSharedConstants.js.map +1 -1
  830. package/dist/esm/ui-shell/useFullscreenChromeCollapse.js +69 -0
  831. package/dist/esm/ui-shell/useFullscreenChromeCollapse.js.map +1 -0
  832. package/dist/esm/useContrastMode.js.map +1 -1
  833. package/dist/esm/useStableCallback.js.map +1 -1
  834. package/dist/esm/useThemeCache.js.map +1 -1
  835. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  836. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  837. package/dist/esm/web-component/renderReactInWebComponent.js.map +1 -1
  838. package/dist/tsconfig.production.tsbuildinfo +1 -1
  839. package/dist/types/Accordion.d.ts.map +1 -1
  840. package/dist/types/Autocomplete.d.ts +5 -17
  841. package/dist/types/Autocomplete.d.ts.map +1 -1
  842. package/dist/types/Badge.d.ts.map +1 -1
  843. package/dist/types/Banner.d.ts.map +1 -1
  844. package/dist/types/Box.d.ts.map +1 -1
  845. package/dist/types/Breadcrumbs.d.ts +4 -8
  846. package/dist/types/Breadcrumbs.d.ts.map +1 -1
  847. package/dist/types/Buttons/BaseButton.d.ts +4 -8
  848. package/dist/types/Buttons/BaseButton.d.ts.map +1 -1
  849. package/dist/types/Buttons/BaseMenuButton.d.ts +1 -2
  850. package/dist/types/Buttons/BaseMenuButton.d.ts.map +1 -1
  851. package/dist/types/Buttons/Button.d.ts.map +1 -1
  852. package/dist/types/Buttons/MenuButton.d.ts.map +1 -1
  853. package/dist/types/Buttons/MenuItem.d.ts.map +1 -1
  854. package/dist/types/Callout.d.ts.map +1 -1
  855. package/dist/types/Card.d.ts.map +1 -1
  856. package/dist/types/CircularProgress.d.ts +1 -2
  857. package/dist/types/CircularProgress.d.ts.map +1 -1
  858. package/dist/types/ConditionalWrapper.d.ts +1 -2
  859. package/dist/types/ConditionalWrapper.d.ts.map +1 -1
  860. package/dist/types/CssBaseline.d.ts +1 -2
  861. package/dist/types/CssBaseline.d.ts.map +1 -1
  862. package/dist/types/DataTable/DataTable.d.ts +9 -19
  863. package/dist/types/DataTable/DataTable.d.ts.map +1 -1
  864. package/dist/types/DataTable/useRowReordering.d.ts.map +1 -1
  865. package/dist/types/DatePickers/DatePicker.d.ts.map +1 -1
  866. package/dist/types/DatePickers/TimeZonePicker.d.ts +1 -2
  867. package/dist/types/DatePickers/TimeZonePicker.d.ts.map +1 -1
  868. package/dist/types/DatePickers/datePickerTheme.d.ts.map +1 -1
  869. package/dist/types/DatePickers/useOdysseyDateFields.d.ts +4 -8
  870. package/dist/types/DatePickers/useOdysseyDateFields.d.ts.map +1 -1
  871. package/dist/types/Dialog.d.ts +5 -10
  872. package/dist/types/Dialog.d.ts.map +1 -1
  873. package/dist/types/Drawer.d.ts +4 -9
  874. package/dist/types/Drawer.d.ts.map +1 -1
  875. package/dist/types/EmptyState.d.ts.map +1 -1
  876. package/dist/types/Fields/Checkbox.d.ts.map +1 -1
  877. package/dist/types/Fields/CheckboxGroup.d.ts.map +1 -1
  878. package/dist/types/Fields/Hint.d.ts.map +1 -1
  879. package/dist/types/Fields/RadioGroup.d.ts.map +1 -1
  880. package/dist/types/Fieldset.d.ts.map +1 -1
  881. package/dist/types/FileUploader/FileUploader.d.ts +2 -4
  882. package/dist/types/FileUploader/FileUploader.d.ts.map +1 -1
  883. package/dist/types/Form.d.ts +6 -13
  884. package/dist/types/Form.d.ts.map +1 -1
  885. package/dist/types/FormCheckedProps.d.ts +4 -8
  886. package/dist/types/FormCheckedProps.d.ts.map +1 -1
  887. package/dist/types/IconWithTooltip.d.ts.map +1 -1
  888. package/dist/types/Link.d.ts.map +1 -1
  889. package/dist/types/NativeSelect.d.ts +2 -4
  890. package/dist/types/NativeSelect.d.ts.map +1 -1
  891. package/dist/types/OdysseyCacheProvider.d.ts +5 -11
  892. package/dist/types/OdysseyCacheProvider.d.ts.map +1 -1
  893. package/dist/types/OdysseyDesignTokensContext.d.ts.map +1 -1
  894. package/dist/types/OdysseyProvider.d.ts +1 -2
  895. package/dist/types/OdysseyProvider.d.ts.map +1 -1
  896. package/dist/types/OdysseyThemeProvider.d.ts +1 -2
  897. package/dist/types/OdysseyThemeProvider.d.ts.map +1 -1
  898. package/dist/types/Pagination/Pagination.d.ts +1 -2
  899. package/dist/types/Pagination/Pagination.d.ts.map +1 -1
  900. package/dist/types/PasswordField.d.ts +2 -14
  901. package/dist/types/PasswordField.d.ts.map +1 -1
  902. package/dist/types/ScreenReaderText.d.ts +1 -2
  903. package/dist/types/ScreenReaderText.d.ts.map +1 -1
  904. package/dist/types/SearchField.d.ts +2 -4
  905. package/dist/types/SearchField.d.ts.map +1 -1
  906. package/dist/types/Select.d.ts.map +1 -1
  907. package/dist/types/Stack.d.ts.map +1 -1
  908. package/dist/types/Status.d.ts.map +1 -1
  909. package/dist/types/Surface.d.ts.map +1 -1
  910. package/dist/types/Switch.d.ts.map +1 -1
  911. package/dist/types/Tabs.d.ts +1 -2
  912. package/dist/types/Tabs.d.ts.map +1 -1
  913. package/dist/types/Tag.d.ts.map +1 -1
  914. package/dist/types/TagList.d.ts.map +1 -1
  915. package/dist/types/TextField.d.ts +6 -12
  916. package/dist/types/TextField.d.ts.map +1 -1
  917. package/dist/types/Toast.d.ts +2 -4
  918. package/dist/types/Toast.d.ts.map +1 -1
  919. package/dist/types/ToastStack.d.ts.map +1 -1
  920. package/dist/types/Tooltip.d.ts.map +1 -1
  921. package/dist/types/Typography.d.ts +3 -6
  922. package/dist/types/Typography.d.ts.map +1 -1
  923. package/dist/types/__internal.d.ts +1 -2
  924. package/dist/types/__internal.d.ts.map +1 -1
  925. package/dist/types/charts/BarChart.d.ts +1 -3
  926. package/dist/types/charts/BarChart.d.ts.map +1 -1
  927. package/dist/types/charts/LineChart.d.ts +1 -3
  928. package/dist/types/charts/LineChart.d.ts.map +1 -1
  929. package/dist/types/charts/components/ChartContainer.d.ts +1 -3
  930. package/dist/types/charts/components/ChartContainer.d.ts.map +1 -1
  931. package/dist/types/charts/components/ChartError.d.ts +1 -3
  932. package/dist/types/charts/components/ChartError.d.ts.map +1 -1
  933. package/dist/types/charts/components/ChartFrame.d.ts +7 -16
  934. package/dist/types/charts/components/ChartFrame.d.ts.map +1 -1
  935. package/dist/types/charts/components/ChartPopoverContent.d.ts +14 -36
  936. package/dist/types/charts/components/ChartPopoverContent.d.ts.map +1 -1
  937. package/dist/types/charts/utils/chartTokens.d.ts +7 -25
  938. package/dist/types/charts/utils/chartTokens.d.ts.map +1 -1
  939. package/dist/types/charts/utils/chartTypes.d.ts +21 -55
  940. package/dist/types/charts/utils/chartTypes.d.ts.map +1 -1
  941. package/dist/types/charts/utils/formatChartValue.d.ts +7 -28
  942. package/dist/types/charts/utils/formatChartValue.d.ts.map +1 -1
  943. package/dist/types/charts/utils/getChartSeriesPointData.d.ts +5 -16
  944. package/dist/types/charts/utils/getChartSeriesPointData.d.ts.map +1 -1
  945. package/dist/types/charts/utils/hasDuplicateSeries.d.ts +1 -3
  946. package/dist/types/charts/utils/hasDuplicateSeries.d.ts.map +1 -1
  947. package/dist/types/charts/utils/resolveChartLocale.d.ts +3 -11
  948. package/dist/types/charts/utils/resolveChartLocale.d.ts.map +1 -1
  949. package/dist/types/charts/utils/useChartValueFormatter.d.ts +3 -10
  950. package/dist/types/charts/utils/useChartValueFormatter.d.ts.map +1 -1
  951. package/dist/types/charts/utils/useStableValue.d.ts +3 -12
  952. package/dist/types/charts/utils/useStableValue.d.ts.map +1 -1
  953. package/dist/types/createContrastColors.d.ts.map +1 -1
  954. package/dist/types/createOdysseyStyledComponent.d.ts +1 -3
  955. package/dist/types/createOdysseyStyledComponent.d.ts.map +1 -1
  956. package/dist/types/fullscreen/FullscreenButton.d.ts +26 -0
  957. package/dist/types/fullscreen/FullscreenButton.d.ts.map +1 -0
  958. package/dist/types/fullscreen/FullscreenRegion.d.ts +25 -0
  959. package/dist/types/fullscreen/FullscreenRegion.d.ts.map +1 -0
  960. package/dist/types/fullscreen/easeFullscreenTransition.d.ts +14 -0
  961. package/dist/types/fullscreen/easeFullscreenTransition.d.ts.map +1 -0
  962. package/dist/types/fullscreen/getBackgroundColorBehindElement.d.ts +22 -0
  963. package/dist/types/fullscreen/getBackgroundColorBehindElement.d.ts.map +1 -0
  964. package/dist/types/fullscreen/useFullscreen.d.ts +68 -0
  965. package/dist/types/fullscreen/useFullscreen.d.ts.map +1 -0
  966. package/dist/types/fullscreen/useFullscreenId.d.ts +18 -0
  967. package/dist/types/fullscreen/useFullscreenId.d.ts.map +1 -0
  968. package/dist/types/getLogicalBoundaries.d.ts +1 -2
  969. package/dist/types/getLogicalBoundaries.d.ts.map +1 -1
  970. package/dist/types/i18n.generated/i18n.d.ts +8 -0
  971. package/dist/types/i18n.generated/i18n.d.ts.map +1 -1
  972. package/dist/types/i18n.generated/i18n.resources.d.ts +12 -0
  973. package/dist/types/i18n.generated/i18n.resources.d.ts.map +1 -1
  974. package/dist/types/icons.generated/FullscreenEnter.d.ts +16 -0
  975. package/dist/types/icons.generated/FullscreenEnter.d.ts.map +1 -0
  976. package/dist/types/icons.generated/FullscreenExit.d.ts +16 -0
  977. package/dist/types/icons.generated/FullscreenExit.d.ts.map +1 -0
  978. package/dist/types/icons.generated/index.d.ts +2 -0
  979. package/dist/types/icons.generated/index.d.ts.map +1 -1
  980. package/dist/types/icons.generated/lazyIconDictionary.d.ts.map +1 -1
  981. package/dist/types/icons.generated/names.d.ts +1 -1
  982. package/dist/types/icons.generated/names.d.ts.map +1 -1
  983. package/dist/types/index.d.ts +5 -0
  984. package/dist/types/index.d.ts.map +1 -1
  985. package/dist/types/inputUtils.d.ts +2 -4
  986. package/dist/types/inputUtils.d.ts.map +1 -1
  987. package/dist/types/labs/AppTile.d.ts.map +1 -1
  988. package/dist/types/labs/DataFilters.d.ts +9 -20
  989. package/dist/types/labs/DataFilters.d.ts.map +1 -1
  990. package/dist/types/labs/DataTable.d.ts +10 -21
  991. package/dist/types/labs/DataTable.d.ts.map +1 -1
  992. package/dist/types/labs/DataView/BulkActionsMenu.d.ts.map +1 -1
  993. package/dist/types/labs/DataView/CardLayoutContent.d.ts +1 -1
  994. package/dist/types/labs/DataView/CardLayoutContent.d.ts.map +1 -1
  995. package/dist/types/labs/DataView/DataCard.d.ts +1 -2
  996. package/dist/types/labs/DataView/DataCard.d.ts.map +1 -1
  997. package/dist/types/labs/DataView/DataTable.d.ts +1 -0
  998. package/dist/types/labs/DataView/DataTable.d.ts.map +1 -1
  999. package/dist/types/labs/DataView/DataView.d.ts +1 -0
  1000. package/dist/types/labs/DataView/DataView.d.ts.map +1 -1
  1001. package/dist/types/labs/DataView/RowActions.d.ts.map +1 -1
  1002. package/dist/types/labs/DataView/TableLayoutContent.d.ts +1 -1
  1003. package/dist/types/labs/DataView/TableLayoutContent.d.ts.map +1 -1
  1004. package/dist/types/labs/DataView/TableSettings.d.ts +1 -1
  1005. package/dist/types/labs/DataView/TableSettings.d.ts.map +1 -1
  1006. package/dist/types/labs/DataView/componentTypes.d.ts +4 -13
  1007. package/dist/types/labs/DataView/componentTypes.d.ts.map +1 -1
  1008. package/dist/types/labs/DataView/tableConstants.d.ts.map +1 -1
  1009. package/dist/types/labs/DataView/testSupportData.d.ts.map +1 -1
  1010. package/dist/types/labs/DataView/useFilterConversion.d.ts.map +1 -1
  1011. package/dist/types/labs/OdysseyPickers/PickerVirtualizationListBox.d.ts.map +1 -1
  1012. package/dist/types/labs/PageTemplate/Layout.d.ts +1 -2
  1013. package/dist/types/labs/PageTemplate/Layout.d.ts.map +1 -1
  1014. package/dist/types/message-bus/createBrowserMessageBus.d.ts +56 -0
  1015. package/dist/types/message-bus/createBrowserMessageBus.d.ts.map +1 -0
  1016. package/dist/types/message-bus/createMessageChannel.d.ts +81 -0
  1017. package/dist/types/message-bus/createMessageChannel.d.ts.map +1 -0
  1018. package/dist/types/message-bus/fullscreen/createFullscreenId.d.ts +22 -0
  1019. package/dist/types/message-bus/fullscreen/createFullscreenId.d.ts.map +1 -0
  1020. package/dist/types/message-bus/fullscreen/createFullscreenModeHost.d.ts +44 -0
  1021. package/dist/types/message-bus/fullscreen/createFullscreenModeHost.d.ts.map +1 -0
  1022. package/dist/types/message-bus/fullscreen/createFullscreenModeMessageBus.d.ts +55 -0
  1023. package/dist/types/message-bus/fullscreen/createFullscreenModeMessageBus.d.ts.map +1 -0
  1024. package/dist/types/message-bus/fullscreen/fullscreenMessageChannel.d.ts +49 -0
  1025. package/dist/types/message-bus/fullscreen/fullscreenMessageChannel.d.ts.map +1 -0
  1026. package/dist/types/message-bus/fullscreen/fullscreenState.d.ts +66 -0
  1027. package/dist/types/message-bus/fullscreen/fullscreenState.d.ts.map +1 -0
  1028. package/dist/types/message-bus/fullscreen/watchElementDisconnection.d.ts +31 -0
  1029. package/dist/types/message-bus/fullscreen/watchElementDisconnection.d.ts.map +1 -0
  1030. package/dist/types/message-bus/index.d.ts +21 -0
  1031. package/dist/types/message-bus/index.d.ts.map +1 -0
  1032. package/dist/types/message-bus/messageGuards.d.ts +24 -0
  1033. package/dist/types/message-bus/messageGuards.d.ts.map +1 -0
  1034. package/dist/types/pendingDesignTokens/fullscreenTransitionTokens.d.ts +21 -0
  1035. package/dist/types/pendingDesignTokens/fullscreenTransitionTokens.d.ts.map +1 -0
  1036. package/dist/types/properties/ts/odyssey-react-mui.d.ts +4 -0
  1037. package/dist/types/properties/ts/odyssey-react-mui.d.ts.map +1 -1
  1038. package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts +4 -0
  1039. package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -1
  1040. package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts +4 -0
  1041. package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -1
  1042. package/dist/types/test-utils/appendToSandbox.d.ts +3 -16
  1043. package/dist/types/test-utils/appendToSandbox.d.ts.map +1 -1
  1044. package/dist/types/test-utils/getControlledElement.d.ts +1 -2
  1045. package/dist/types/test-utils/getControlledElement.d.ts.map +1 -1
  1046. package/dist/types/test-utils/renderWithOdysseyProvider.d.ts.map +1 -1
  1047. package/dist/types/test-utils/viewportTestSizes.d.ts.map +1 -1
  1048. package/dist/types/theme/components/Autocomplete.d.ts.map +1 -1
  1049. package/dist/types/theme/components/Button.d.ts.map +1 -1
  1050. package/dist/types/theme/components/CircularProgress.d.ts.map +1 -1
  1051. package/dist/types/theme/components/Drawer.d.ts.map +1 -1
  1052. package/dist/types/theme/components/Form.d.ts.map +1 -1
  1053. package/dist/types/theme/components/Input.d.ts.map +1 -1
  1054. package/dist/types/theme/components/Table.d.ts.map +1 -1
  1055. package/dist/types/theme/useAppElementContainerQuery.d.ts +1 -7
  1056. package/dist/types/theme/useAppElementContainerQuery.d.ts.map +1 -1
  1057. package/dist/types/theme/useContainerQuery.d.ts +2 -8
  1058. package/dist/types/theme/useContainerQuery.d.ts.map +1 -1
  1059. package/dist/types/theme/useMediaQuery.d.ts +12 -38
  1060. package/dist/types/theme/useMediaQuery.d.ts.map +1 -1
  1061. package/dist/types/tools/addSpecificity.d.ts +1 -2
  1062. package/dist/types/tools/addSpecificity.d.ts.map +1 -1
  1063. package/dist/types/ui-shell/NarrowUiShellContent.d.ts.map +1 -1
  1064. package/dist/types/ui-shell/SideNav/SideNav.d.ts.map +1 -1
  1065. package/dist/types/ui-shell/SideNav/SideNavItemContent.d.ts.map +1 -1
  1066. package/dist/types/ui-shell/SideNav/SideNavItemContentContext.d.ts +1 -3
  1067. package/dist/types/ui-shell/SideNav/SideNavItemContentContext.d.ts.map +1 -1
  1068. package/dist/types/ui-shell/SideNav/SideNavToggleButton.d.ts.map +1 -1
  1069. package/dist/types/ui-shell/SideNav/SortableList/SortableItem.d.ts.map +1 -1
  1070. package/dist/types/ui-shell/SideNav/SortableList/SortableList.d.ts +1 -3
  1071. package/dist/types/ui-shell/SideNav/SortableList/SortableList.d.ts.map +1 -1
  1072. package/dist/types/ui-shell/SideNav/SortableList/SortableOverlay.d.ts.map +1 -1
  1073. package/dist/types/ui-shell/SideNav/types.d.ts +6 -13
  1074. package/dist/types/ui-shell/SideNav/types.d.ts.map +1 -1
  1075. package/dist/types/ui-shell/SkipToContent.d.ts.map +1 -1
  1076. package/dist/types/ui-shell/TopNav/TopNavListItem.d.ts +1 -2
  1077. package/dist/types/ui-shell/TopNav/TopNavListItem.d.ts.map +1 -1
  1078. package/dist/types/ui-shell/UiShell.d.ts +11 -9
  1079. package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
  1080. package/dist/types/ui-shell/UiShellProvider.d.ts +2 -4
  1081. package/dist/types/ui-shell/UiShellProvider.d.ts.map +1 -1
  1082. package/dist/types/ui-shell/WideUiShellContent.d.ts.map +1 -1
  1083. package/dist/types/ui-shell/createUiShellFullscreenState.d.ts +50 -0
  1084. package/dist/types/ui-shell/createUiShellFullscreenState.d.ts.map +1 -0
  1085. package/dist/types/ui-shell/renderUiShell.d.ts +27 -5
  1086. package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
  1087. package/dist/types/ui-shell/uiShellContentTypes.d.ts +1 -2
  1088. package/dist/types/ui-shell/uiShellContentTypes.d.ts.map +1 -1
  1089. package/dist/types/ui-shell/uiShellSharedConstants.d.ts.map +1 -1
  1090. package/dist/types/ui-shell/useFullscreenChromeCollapse.d.ts +29 -0
  1091. package/dist/types/ui-shell/useFullscreenChromeCollapse.d.ts.map +1 -0
  1092. package/dist/types/useContrastMode.d.ts +2 -7
  1093. package/dist/types/useContrastMode.d.ts.map +1 -1
  1094. package/dist/types/useStableCallback.d.ts +5 -16
  1095. package/dist/types/useStableCallback.d.ts.map +1 -1
  1096. package/dist/types/useThemeCache.d.ts.map +1 -1
  1097. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  1098. package/dist/types/web-component/renderReactInWebComponent.d.ts +6 -12
  1099. package/dist/types/web-component/renderReactInWebComponent.d.ts.map +1 -1
  1100. package/package.json +19 -9
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.js","names":["styled","memo","useCallback","useContext","useTranslation","CloseCircleFilledIcon","MuiPropsContext","useOdysseyDesignTokens","TagListContext","useContrastModeContext","jsx","_jsx","tagSizeValues","tagColorVariants","getChipColors","colorVariant","contrastMode","odysseyDesignTokens","colors","default","background","HueNeutral200","text","HueNeutral700","textDisabled","HueNeutral400","HueNeutral100","HueNeutral300","hover","active","border","deleteIcon","HueNeutral500","deleteIconHover","icon","iconDisabled","info","HueBlue200","HueBlue700","HueBlue400","HueBlue100","HueBlue300","HueBlue500","accentOne","HueAccentOne200","HueAccentOne700","HueAccentOne400","HueAccentOne100","HueAccentOne300","HueAccentOne500","accentTwo","HueAccentTwo200","HueAccentTwo800","HueAccentTwo400","HueAccentTwo100","HueAccentTwo700","HueAccentTwo300","HueAccentTwo500","accentThree","HueAccentThree200","HueAccentThree700","HueAccentThree400","HueAccentThree100","HueAccentThree300","HueAccentThree500","accentFour","HueAccentFour200","HueAccentFour700","HueAccentFour400","HueAccentFour100","HueAccentFour300","HueAccentFour500","StyledTag","_Chip","shouldForwardProp","prop","includes","clickable","size","backgroundColor","color","borderColor","paddingBlock","Spacing1","Tag","id","isDisabled","label","onClick","onRemove","testId","translate","t","chipElementType","renderTag","muiProps","undefined","Boolean","component","role","titleAccess","disabled","onDelete","Consumer","children","MemoizedTag","displayName"],"sources":["../../src/Tag.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport styled from \"@emotion/styled\";\nimport { Chip as MuiChip, ChipProps as MuiChipProps } from \"@mui/material\";\nimport {\n type ElementType,\n memo,\n type ReactElement,\n useCallback,\n useContext,\n} from \"react\";\n\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { CloseCircleFilledIcon } from \"./icons.generated/index.js\";\nimport { MuiPropsContext, MuiPropsContextType } from \"./MuiPropsContext.js\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"./OdysseyDesignTokensContext.js\";\nimport { TagListContext } from \"./TagListContext.js\";\nimport { ContrastMode, useContrastModeContext } from \"./useContrastMode.js\";\n\nexport const tagSizeValues = [\"medium\", \"small\"] as const;\n\nexport const tagColorVariants = [\n \"accentFour\",\n \"accentOne\",\n \"accentThree\",\n \"accentTwo\",\n \"default\",\n \"info\",\n] as const;\n\ntype TagColorVariant = (typeof tagColorVariants)[number];\ntype TagSize = (typeof tagSizeValues)[number];\n\nexport type TagProps = {\n /**\n * Color variant of the Tag, affecting its background and text colors.\n * @default \"default\"\n */\n colorVariant?: TagColorVariant;\n /** Optional icon element rendered before the label. */\n icon?: ReactElement;\n /** If `true`, the tag is disabled and cannot be interacted with. */\n isDisabled?: boolean;\n /**\n * The label text for the Tag\n */\n label: string;\n /**\n * Called when the Tag is clicked.\n */\n onClick?: MuiChipProps[\"onClick\"];\n /**\n * Called when the remove button of the Tag is clicked.\n */\n onRemove?: MuiChipProps[\"onDelete\"];\n /**\n * Size variant of the Tag.\n * @default \"medium\"\n */\n size?: TagSize;\n} & Pick<HtmlProps, \"id\" | \"testId\" | \"translate\">;\n\nconst getChipColors = ({\n colorVariant,\n contrastMode,\n odysseyDesignTokens,\n}: {\n colorVariant: TagColorVariant;\n contrastMode: ContrastMode;\n odysseyDesignTokens: DesignTokens;\n}) => {\n const colors = {\n default: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueNeutral200,\n text: odysseyDesignTokens.HueNeutral700,\n textDisabled: odysseyDesignTokens.HueNeutral400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueNeutral100,\n text: odysseyDesignTokens.HueNeutral700,\n textDisabled: odysseyDesignTokens.HueNeutral300,\n }),\n hover: odysseyDesignTokens.HueNeutral200,\n active: odysseyDesignTokens.HueNeutral300,\n border: odysseyDesignTokens.HueNeutral200,\n deleteIcon: odysseyDesignTokens.HueNeutral500,\n deleteIconHover: odysseyDesignTokens.HueNeutral700,\n icon: odysseyDesignTokens.HueNeutral700,\n iconDisabled: odysseyDesignTokens.HueNeutral300,\n },\n info: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueBlue200,\n text: odysseyDesignTokens.HueBlue700,\n textDisabled: odysseyDesignTokens.HueBlue400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueBlue100,\n text: odysseyDesignTokens.HueBlue700,\n textDisabled: odysseyDesignTokens.HueBlue300,\n }),\n hover: odysseyDesignTokens.HueBlue200,\n active: odysseyDesignTokens.HueBlue300,\n border: odysseyDesignTokens.HueBlue200,\n deleteIcon: odysseyDesignTokens.HueBlue500,\n deleteIconHover: odysseyDesignTokens.HueBlue700,\n icon: odysseyDesignTokens.HueBlue700,\n iconDisabled: odysseyDesignTokens.HueBlue300,\n },\n accentOne: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueAccentOne200,\n text: odysseyDesignTokens.HueAccentOne700,\n textDisabled: odysseyDesignTokens.HueAccentOne400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueAccentOne100,\n text: odysseyDesignTokens.HueAccentOne700,\n textDisabled: odysseyDesignTokens.HueAccentOne300,\n }),\n hover: odysseyDesignTokens.HueAccentOne200,\n active: odysseyDesignTokens.HueAccentOne300,\n border: odysseyDesignTokens.HueAccentOne200,\n deleteIcon: odysseyDesignTokens.HueAccentOne500,\n deleteIconHover: odysseyDesignTokens.HueAccentOne700,\n icon: odysseyDesignTokens.HueAccentOne700,\n iconDisabled: odysseyDesignTokens.HueAccentOne300,\n },\n accentTwo: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueAccentTwo200,\n text: odysseyDesignTokens.HueAccentTwo800,\n textDisabled: odysseyDesignTokens.HueAccentTwo400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueAccentTwo100,\n text: odysseyDesignTokens.HueAccentTwo700,\n textDisabled: odysseyDesignTokens.HueAccentTwo300,\n }),\n hover: odysseyDesignTokens.HueAccentTwo200,\n active: odysseyDesignTokens.HueAccentTwo300,\n border: odysseyDesignTokens.HueAccentTwo200,\n deleteIcon: odysseyDesignTokens.HueAccentTwo500,\n deleteIconHover: odysseyDesignTokens.HueAccentTwo700,\n icon: odysseyDesignTokens.HueAccentTwo700,\n iconDisabled: odysseyDesignTokens.HueAccentTwo300,\n },\n accentThree: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueAccentThree200,\n text: odysseyDesignTokens.HueAccentThree700,\n textDisabled: odysseyDesignTokens.HueAccentThree400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueAccentThree100,\n text: odysseyDesignTokens.HueAccentThree700,\n textDisabled: odysseyDesignTokens.HueAccentThree300,\n }),\n hover: odysseyDesignTokens.HueAccentThree200,\n active: odysseyDesignTokens.HueAccentThree300,\n border: odysseyDesignTokens.HueAccentThree200,\n deleteIcon: odysseyDesignTokens.HueAccentThree500,\n deleteIconHover: odysseyDesignTokens.HueAccentThree700,\n icon: odysseyDesignTokens.HueAccentThree700,\n iconDisabled: odysseyDesignTokens.HueAccentThree300,\n },\n accentFour: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueAccentFour200,\n text: odysseyDesignTokens.HueAccentFour700,\n textDisabled: odysseyDesignTokens.HueAccentFour400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueAccentFour100,\n text: odysseyDesignTokens.HueAccentFour700,\n textDisabled: odysseyDesignTokens.HueAccentFour300,\n }),\n hover: odysseyDesignTokens.HueAccentFour200,\n active: odysseyDesignTokens.HueAccentFour300,\n border: odysseyDesignTokens.HueAccentFour200,\n deleteIcon: odysseyDesignTokens.HueAccentFour500,\n deleteIconHover: odysseyDesignTokens.HueAccentFour700,\n icon: odysseyDesignTokens.HueAccentFour700,\n iconDisabled: odysseyDesignTokens.HueAccentFour300,\n },\n };\n\n return colors[colorVariant] || colors.default;\n};\n\nconst StyledTag = styled(MuiChip, {\n shouldForwardProp: (prop) =>\n ![\"colorVariant\", \"contrastMode\", \"odysseyDesignTokens\", \"size\"].includes(\n prop,\n ),\n})<{\n clickable?: boolean;\n colorVariant: TagColorVariant;\n component?: ElementType;\n contrastMode: ContrastMode;\n odysseyDesignTokens: DesignTokens;\n size?: TagSize;\n}>(({ colorVariant, contrastMode, odysseyDesignTokens, clickable, size }) => {\n const colors = getChipColors({\n colorVariant,\n odysseyDesignTokens,\n contrastMode,\n });\n\n return {\n backgroundColor: colors.background,\n color: colors.text,\n\n ...(clickable === true && {\n borderColor: colors.border,\n }),\n\n ...(clickable === false && {\n borderColor: \"transparent\",\n }),\n\n ...(size === \"small\" && {\n paddingBlock: `calc(${odysseyDesignTokens.Spacing1})`,\n }),\n\n \"&.MuiChip-clickable:hover\": {\n backgroundColor: colors.hover,\n },\n\n \"&.MuiChip-clickable:active\": {\n backgroundColor: colors.active,\n },\n\n \"&.Mui-disabled\": {\n color: colors.textDisabled,\n borderColor: colors.border,\n \"& .MuiChip-icon, & .MuiChip-deleteIcon\": {\n color: colors.iconDisabled,\n },\n },\n\n \"& .MuiChip-icon\": {\n color: colors.icon,\n },\n\n \"& .MuiChip-deleteIcon\": {\n color: colors.deleteIcon,\n \"&:hover\": {\n color: colors.deleteIconHover,\n },\n },\n };\n});\n\n/**\n * A compact label used to categorize or annotate content. Supports optional click and\n * remove interactions, color variants, and icons.\n */\nconst Tag = ({\n colorVariant = \"default\",\n icon,\n id,\n isDisabled,\n label,\n onClick,\n onRemove,\n size = \"medium\",\n testId,\n translate,\n}: TagProps) => {\n const { t } = useTranslation();\n const odysseyDesignTokens = useOdysseyDesignTokens();\n const { chipElementType } = useContext(TagListContext);\n const { contrastMode } = useContrastModeContext();\n\n const renderTag = useCallback(\n (muiProps: MuiPropsContextType) => (\n <StyledTag\n {...muiProps}\n aria-disabled={isDisabled}\n aria-keyshortcuts={onRemove && !isDisabled ? \"Backspace\" : undefined}\n clickable={Boolean(onClick)}\n colorVariant={colorVariant}\n component={chipElementType}\n contrastMode={contrastMode}\n data-se={testId}\n deleteIcon={\n <CloseCircleFilledIcon role=\"button\" titleAccess={t(\"tag.remove\")} />\n }\n disabled={isDisabled}\n icon={icon}\n id={id}\n label={label}\n odysseyDesignTokens={odysseyDesignTokens}\n onClick={onClick}\n onDelete={onRemove}\n size={size}\n translate={translate}\n />\n ),\n [\n t,\n chipElementType,\n colorVariant,\n contrastMode,\n icon,\n id,\n isDisabled,\n label,\n odysseyDesignTokens,\n onClick,\n onRemove,\n size,\n testId,\n translate,\n ],\n );\n\n return <MuiPropsContext.Consumer>{renderTag}</MuiPropsContext.Consumer>;\n};\n\nconst MemoizedTag = memo(Tag);\nMemoizedTag.displayName = \"Tag\";\n\nexport { MemoizedTag as Tag };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,MAAM,MAAM,iBAAiB;AAEpC,SAEEC,IAAI,EAEJC,WAAW,EACXC,UAAU,QACL,OAAO;AAGd,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,qBAAqB,QAAQ,4BAA4B;AAClE,SAASC,eAAe,QAA6B,sBAAsB;AAC3E,SAEEC,sBAAsB,QACjB,iCAAiC;AACxC,SAASC,cAAc,QAAQ,qBAAqB;AACpD,SAAuBC,sBAAsB,QAA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AAW,CAACC,WAAW,qCAAQ;AAE/B,SAASD,WAAW,IAAIrB,GAAG","ignoreList":[]}
1
+ {"version":3,"file":"Tag.js","names":["styled","memo","useCallback","useContext","useTranslation","CloseCircleFilledIcon","MuiPropsContext","useOdysseyDesignTokens","TagListContext","useContrastModeContext","jsx","_jsx","tagSizeValues","tagColorVariants","getChipColors","colorVariant","contrastMode","odysseyDesignTokens","colors","default","background","HueNeutral200","text","HueNeutral700","textDisabled","HueNeutral400","HueNeutral100","HueNeutral300","hover","active","border","deleteIcon","HueNeutral500","deleteIconHover","icon","iconDisabled","info","HueBlue200","HueBlue700","HueBlue400","HueBlue100","HueBlue300","HueBlue500","accentOne","HueAccentOne200","HueAccentOne700","HueAccentOne400","HueAccentOne100","HueAccentOne300","HueAccentOne500","accentTwo","HueAccentTwo200","HueAccentTwo800","HueAccentTwo400","HueAccentTwo100","HueAccentTwo700","HueAccentTwo300","HueAccentTwo500","accentThree","HueAccentThree200","HueAccentThree700","HueAccentThree400","HueAccentThree100","HueAccentThree300","HueAccentThree500","accentFour","HueAccentFour200","HueAccentFour700","HueAccentFour400","HueAccentFour100","HueAccentFour300","HueAccentFour500","StyledTag","_Chip","shouldForwardProp","prop","includes","clickable","size","backgroundColor","color","borderColor","paddingBlock","Spacing1","Tag","id","isDisabled","label","onClick","onRemove","testId","translate","t","chipElementType","renderTag","muiProps","undefined","Boolean","component","role","titleAccess","disabled","onDelete","Consumer","children","MemoizedTag","displayName"],"sources":["../../src/Tag.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport styled from \"@emotion/styled\";\nimport { Chip as MuiChip, ChipProps as MuiChipProps } from \"@mui/material\";\nimport {\n type ElementType,\n memo,\n type ReactElement,\n useCallback,\n useContext,\n} from \"react\";\n\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { CloseCircleFilledIcon } from \"./icons.generated/index.js\";\nimport { MuiPropsContext, MuiPropsContextType } from \"./MuiPropsContext.js\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"./OdysseyDesignTokensContext.js\";\nimport { TagListContext } from \"./TagListContext.js\";\nimport { ContrastMode, useContrastModeContext } from \"./useContrastMode.js\";\n\nexport const tagSizeValues = [\"medium\", \"small\"] as const;\n\nexport const tagColorVariants = [\n \"accentFour\",\n \"accentOne\",\n \"accentThree\",\n \"accentTwo\",\n \"default\",\n \"info\",\n] as const;\n\ntype TagColorVariant = (typeof tagColorVariants)[number];\ntype TagSize = (typeof tagSizeValues)[number];\n\nexport type TagProps = {\n /**\n * Color variant of the Tag, affecting its background and text colors.\n * @default \"default\"\n */\n colorVariant?: TagColorVariant;\n /** Optional icon element rendered before the label. */\n icon?: ReactElement;\n /** If `true`, the tag is disabled and cannot be interacted with. */\n isDisabled?: boolean;\n /**\n * The label text for the Tag\n */\n label: string;\n /**\n * Called when the Tag is clicked.\n */\n onClick?: MuiChipProps[\"onClick\"];\n /**\n * Called when the remove button of the Tag is clicked.\n */\n onRemove?: MuiChipProps[\"onDelete\"];\n /**\n * Size variant of the Tag.\n * @default \"medium\"\n */\n size?: TagSize;\n} & Pick<HtmlProps, \"id\" | \"testId\" | \"translate\">;\n\nconst getChipColors = ({\n colorVariant,\n contrastMode,\n odysseyDesignTokens,\n}: {\n colorVariant: TagColorVariant;\n contrastMode: ContrastMode;\n odysseyDesignTokens: DesignTokens;\n}) => {\n const colors = {\n default: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueNeutral200,\n text: odysseyDesignTokens.HueNeutral700,\n textDisabled: odysseyDesignTokens.HueNeutral400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueNeutral100,\n text: odysseyDesignTokens.HueNeutral700,\n textDisabled: odysseyDesignTokens.HueNeutral300,\n }),\n hover: odysseyDesignTokens.HueNeutral200,\n active: odysseyDesignTokens.HueNeutral300,\n border: odysseyDesignTokens.HueNeutral200,\n deleteIcon: odysseyDesignTokens.HueNeutral500,\n deleteIconHover: odysseyDesignTokens.HueNeutral700,\n icon: odysseyDesignTokens.HueNeutral700,\n iconDisabled: odysseyDesignTokens.HueNeutral300,\n },\n info: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueBlue200,\n text: odysseyDesignTokens.HueBlue700,\n textDisabled: odysseyDesignTokens.HueBlue400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueBlue100,\n text: odysseyDesignTokens.HueBlue700,\n textDisabled: odysseyDesignTokens.HueBlue300,\n }),\n hover: odysseyDesignTokens.HueBlue200,\n active: odysseyDesignTokens.HueBlue300,\n border: odysseyDesignTokens.HueBlue200,\n deleteIcon: odysseyDesignTokens.HueBlue500,\n deleteIconHover: odysseyDesignTokens.HueBlue700,\n icon: odysseyDesignTokens.HueBlue700,\n iconDisabled: odysseyDesignTokens.HueBlue300,\n },\n accentOne: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueAccentOne200,\n text: odysseyDesignTokens.HueAccentOne700,\n textDisabled: odysseyDesignTokens.HueAccentOne400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueAccentOne100,\n text: odysseyDesignTokens.HueAccentOne700,\n textDisabled: odysseyDesignTokens.HueAccentOne300,\n }),\n hover: odysseyDesignTokens.HueAccentOne200,\n active: odysseyDesignTokens.HueAccentOne300,\n border: odysseyDesignTokens.HueAccentOne200,\n deleteIcon: odysseyDesignTokens.HueAccentOne500,\n deleteIconHover: odysseyDesignTokens.HueAccentOne700,\n icon: odysseyDesignTokens.HueAccentOne700,\n iconDisabled: odysseyDesignTokens.HueAccentOne300,\n },\n accentTwo: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueAccentTwo200,\n text: odysseyDesignTokens.HueAccentTwo800,\n textDisabled: odysseyDesignTokens.HueAccentTwo400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueAccentTwo100,\n text: odysseyDesignTokens.HueAccentTwo700,\n textDisabled: odysseyDesignTokens.HueAccentTwo300,\n }),\n hover: odysseyDesignTokens.HueAccentTwo200,\n active: odysseyDesignTokens.HueAccentTwo300,\n border: odysseyDesignTokens.HueAccentTwo200,\n deleteIcon: odysseyDesignTokens.HueAccentTwo500,\n deleteIconHover: odysseyDesignTokens.HueAccentTwo700,\n icon: odysseyDesignTokens.HueAccentTwo700,\n iconDisabled: odysseyDesignTokens.HueAccentTwo300,\n },\n accentThree: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueAccentThree200,\n text: odysseyDesignTokens.HueAccentThree700,\n textDisabled: odysseyDesignTokens.HueAccentThree400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueAccentThree100,\n text: odysseyDesignTokens.HueAccentThree700,\n textDisabled: odysseyDesignTokens.HueAccentThree300,\n }),\n hover: odysseyDesignTokens.HueAccentThree200,\n active: odysseyDesignTokens.HueAccentThree300,\n border: odysseyDesignTokens.HueAccentThree200,\n deleteIcon: odysseyDesignTokens.HueAccentThree500,\n deleteIconHover: odysseyDesignTokens.HueAccentThree700,\n icon: odysseyDesignTokens.HueAccentThree700,\n iconDisabled: odysseyDesignTokens.HueAccentThree300,\n },\n accentFour: {\n ...(contrastMode === \"highContrast\" && {\n background: odysseyDesignTokens.HueAccentFour200,\n text: odysseyDesignTokens.HueAccentFour700,\n textDisabled: odysseyDesignTokens.HueAccentFour400,\n }),\n ...(contrastMode === \"lowContrast\" && {\n background: odysseyDesignTokens.HueAccentFour100,\n text: odysseyDesignTokens.HueAccentFour700,\n textDisabled: odysseyDesignTokens.HueAccentFour300,\n }),\n hover: odysseyDesignTokens.HueAccentFour200,\n active: odysseyDesignTokens.HueAccentFour300,\n border: odysseyDesignTokens.HueAccentFour200,\n deleteIcon: odysseyDesignTokens.HueAccentFour500,\n deleteIconHover: odysseyDesignTokens.HueAccentFour700,\n icon: odysseyDesignTokens.HueAccentFour700,\n iconDisabled: odysseyDesignTokens.HueAccentFour300,\n },\n };\n\n return colors[colorVariant] || colors.default;\n};\n\nconst StyledTag = styled(MuiChip, {\n shouldForwardProp: (prop) =>\n ![\"colorVariant\", \"contrastMode\", \"odysseyDesignTokens\", \"size\"].includes(\n prop,\n ),\n})<{\n clickable?: boolean;\n colorVariant: TagColorVariant;\n component?: ElementType;\n contrastMode: ContrastMode;\n odysseyDesignTokens: DesignTokens;\n size?: TagSize;\n}>(({ colorVariant, contrastMode, odysseyDesignTokens, clickable, size }) => {\n const colors = getChipColors({\n colorVariant,\n odysseyDesignTokens,\n contrastMode,\n });\n\n return {\n backgroundColor: colors.background,\n color: colors.text,\n\n ...(clickable === true && {\n borderColor: colors.border,\n }),\n\n ...(clickable === false && {\n borderColor: \"transparent\",\n }),\n\n ...(size === \"small\" && {\n paddingBlock: `calc(${odysseyDesignTokens.Spacing1})`,\n }),\n\n \"&.MuiChip-clickable:hover\": {\n backgroundColor: colors.hover,\n },\n\n \"&.MuiChip-clickable:active\": {\n backgroundColor: colors.active,\n },\n\n \"&.Mui-disabled\": {\n color: colors.textDisabled,\n borderColor: colors.border,\n \"& .MuiChip-icon, & .MuiChip-deleteIcon\": {\n color: colors.iconDisabled,\n },\n },\n\n \"& .MuiChip-icon\": {\n color: colors.icon,\n },\n\n \"& .MuiChip-deleteIcon\": {\n color: colors.deleteIcon,\n \"&:hover\": {\n color: colors.deleteIconHover,\n },\n },\n };\n});\n\n/**\n * A compact label used to categorize or annotate content. Supports optional click and remove interactions, color variants, and icons.\n */\nconst Tag = ({\n colorVariant = \"default\",\n icon,\n id,\n isDisabled,\n label,\n onClick,\n onRemove,\n size = \"medium\",\n testId,\n translate,\n}: TagProps) => {\n const { t } = useTranslation();\n const odysseyDesignTokens = useOdysseyDesignTokens();\n const { chipElementType } = useContext(TagListContext);\n const { contrastMode } = useContrastModeContext();\n\n const renderTag = useCallback(\n (muiProps: MuiPropsContextType) => (\n <StyledTag\n {...muiProps}\n aria-disabled={isDisabled}\n aria-keyshortcuts={onRemove && !isDisabled ? \"Backspace\" : undefined}\n clickable={Boolean(onClick)}\n colorVariant={colorVariant}\n component={chipElementType}\n contrastMode={contrastMode}\n data-se={testId}\n deleteIcon={\n <CloseCircleFilledIcon role=\"button\" titleAccess={t(\"tag.remove\")} />\n }\n disabled={isDisabled}\n icon={icon}\n id={id}\n label={label}\n odysseyDesignTokens={odysseyDesignTokens}\n onClick={onClick}\n onDelete={onRemove}\n size={size}\n translate={translate}\n />\n ),\n [\n t,\n chipElementType,\n colorVariant,\n contrastMode,\n icon,\n id,\n isDisabled,\n label,\n odysseyDesignTokens,\n onClick,\n onRemove,\n size,\n testId,\n translate,\n ],\n );\n\n return <MuiPropsContext.Consumer>{renderTag}</MuiPropsContext.Consumer>;\n};\n\nconst MemoizedTag = memo(Tag);\nMemoizedTag.displayName = \"Tag\";\n\nexport { MemoizedTag as Tag };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,MAAM,MAAM,iBAAiB;AAEpC,SAEEC,IAAI,EAEJC,WAAW,EACXC,UAAU,QACL,OAAO;AAGd,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,qBAAqB,QAAQ,4BAA4B;AAClE,SAASC,eAAe,QAA6B,sBAAsB;AAC3E,SAEEC,sBAAsB,QACjB,iCAAiC;AACxC,SAASC,cAAc,QAAQ,qBAAqB;AACpD,SAAuBC,sBAAsB,QAAQ,sBAAsB;AAAC,SAAAC,GAAA,IAAA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D,WAAW,IAAIrB,GAAG","ignoreList":[]}
@@ -36,6 +36,6 @@ const TagList = ({
36
36
  });
37
37
  };
38
38
  const MemoizedTagList = memo(TagList);
39
- MemoizedTagList.displayName = "TagList::pkg=odyssey&odysseyV=1.70.1";
39
+ MemoizedTagList.displayName = "TagList::pkg=odyssey&odysseyV=1.71.1";
40
40
  export { MemoizedTagList as TagList };
41
41
  //# sourceMappingURL=TagList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TagList.js","names":["memo","useMemo","TagListContext","jsx","_jsx","TagList","ariaLabel","children","testId","providerValue","chipElementType","_Stack","component","direction","flexWrap","spacing","useFlexGap","Provider","value","MemoizedTagList","displayName"],"sources":["../../src/TagList.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 { Stack } from \"@mui/material\";\nimport { memo, ReactElement, useMemo } from \"react\";\n\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { Tag } from \"./Tag.js\";\nimport { ChipElementType, TagListContext } from \"./TagListContext.js\";\n\nexport type TagListProps = {\n /**\n * The Tag or array of Tags within the TagList\n */\n children: ReactElement<typeof Tag> | Array<ReactElement<typeof Tag>>;\n} & Pick<HtmlProps, \"ariaLabel\" | \"testId\">;\n\n/**\n * A horizontal, wrapping list of Tag elements rendered as a semantic `<ul>`. Use to\n * display a collection of tags associated with an item or entity.\n */\nconst TagList = ({ ariaLabel, children, testId }: TagListProps) => {\n const providerValue = useMemo<{\n chipElementType: ChipElementType;\n }>(\n () => ({\n chipElementType: \"li\",\n }),\n [],\n );\n\n return (\n <Stack\n aria-label={ariaLabel}\n component=\"ul\"\n data-se={testId}\n direction=\"row\"\n flexWrap=\"wrap\"\n spacing={2}\n useFlexGap\n >\n <TagListContext.Provider value={providerValue}>\n {children}\n </TagListContext.Provider>\n </Stack>\n );\n};\n\nconst MemoizedTagList = memo(TagList);\nMemoizedTagList.displayName = \"TagList\";\n\nexport { MemoizedTagList as TagList };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,EAAgBC,OAAO,QAAQ,OAAO;AAInD,SAA0BC,cAAc,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAatE,MAAMC,OAAO,GAAGA,CAAC;EAAEC,SAAS;EAAEC,QAAQ;EAAEC;AAAqB,CAAC,KAAK;EACjE,MAAMC,aAAa,GAAGR,OAAO,CAG3B,OAAO;IACLS,eAAe,EAAE;EACnB,CAAC,CAAC,EACF,EACF,CAAC;EAED,OACEN,IAAA,CAAAO,MAAA;IACE,cAAYL,SAAU;IACtBM,SAAS,EAAC,IAAI;IACd,WAASJ,MAAO;IAChBK,SAAS,EAAC,KAAK;IACfC,QAAQ,EAAC,MAAM;IACfC,OAAO,EAAE,CAAE;IACXC,UAAU;IAAAT,QAAA,EAEVH,IAAA,CAACF,cAAc,CAACe,QAAQ;MAACC,KAAK,EAAET,aAAc;MAAAF,QAAA,EAC3CA;IAAQ,CACc;EAAC,CACrB,CAAC;AAEZ,CAAC;AAED,MAAMY,eAAe,GAAGnB,IAAI,CAACK,OAAO,CAAC;AACrCc,eAAe,CAACC,WAAW,yCAAY;AAEvC,SAASD,eAAe,IAAId,OAAO","ignoreList":[]}
1
+ {"version":3,"file":"TagList.js","names":["memo","useMemo","TagListContext","jsx","_jsx","TagList","ariaLabel","children","testId","providerValue","chipElementType","_Stack","component","direction","flexWrap","spacing","useFlexGap","Provider","value","MemoizedTagList","displayName"],"sources":["../../src/TagList.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 { Stack } from \"@mui/material\";\nimport { memo, ReactElement, useMemo } from \"react\";\n\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { Tag } from \"./Tag.js\";\nimport { ChipElementType, TagListContext } from \"./TagListContext.js\";\n\nexport type TagListProps = {\n /**\n * The Tag or array of Tags within the TagList\n */\n children: ReactElement<typeof Tag> | Array<ReactElement<typeof Tag>>;\n} & Pick<HtmlProps, \"ariaLabel\" | \"testId\">;\n\n/**\n * A horizontal, wrapping list of Tag elements rendered as a semantic `<ul>`. Use to display a collection of tags associated with an item or entity.\n */\nconst TagList = ({ ariaLabel, children, testId }: TagListProps) => {\n const providerValue = useMemo<{\n chipElementType: ChipElementType;\n }>(\n () => ({\n chipElementType: \"li\",\n }),\n [],\n );\n\n return (\n <Stack\n aria-label={ariaLabel}\n component=\"ul\"\n data-se={testId}\n direction=\"row\"\n flexWrap=\"wrap\"\n spacing={2}\n useFlexGap\n >\n <TagListContext.Provider value={providerValue}>\n {children}\n </TagListContext.Provider>\n </Stack>\n );\n};\n\nconst MemoizedTagList = memo(TagList);\nMemoizedTagList.displayName = \"TagList\";\n\nexport { MemoizedTagList as TagList };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,EAAgBC,OAAO,QAAQ,OAAO;AAInD,SAA0BC,cAAc,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAYtE,MAAMC,OAAO,GAAGA,CAAC;EAAEC,SAAS;EAAEC,QAAQ;EAAEC;AAAqB,CAAC,KAAK;EACjE,MAAMC,aAAa,GAAGR,OAAO,CAG3B,OAAO;IACLS,eAAe,EAAE;EACnB,CAAC,CAAC,EACF,EACF,CAAC;EAED,OACEN,IAAA,CAAAO,MAAA;IACE,cAAYL,SAAU;IACtBM,SAAS,EAAC,IAAI;IACd,WAASJ,MAAO;IAChBK,SAAS,EAAC,KAAK;IACfC,QAAQ,EAAC,MAAM;IACfC,OAAO,EAAE,CAAE;IACXC,UAAU;IAAAT,QAAA,EAEVH,IAAA,CAACF,cAAc,CAACe,QAAQ;MAACC,KAAK,EAAET,aAAc;MAAAF,QAAA,EAC3CA;IAAQ,CACc;EAAC,CACrB,CAAC;AAEZ,CAAC;AAED,MAAMY,eAAe,GAAGnB,IAAI,CAACK,OAAO,CAAC;AACrCc,eAAe,CAACC,WAAW,yCAAY;AAEvC,SAASD,eAAe,IAAId,OAAO","ignoreList":[]}
@@ -131,6 +131,6 @@ const TextField = forwardRef(({
131
131
  });
132
132
  });
133
133
  const MemoizedTextField = memo(TextField);
134
- MemoizedTextField.displayName = "TextField::pkg=odyssey&odysseyV=1.70.1";
134
+ MemoizedTextField.displayName = "TextField::pkg=odyssey&odysseyV=1.71.1";
135
135
  export { MemoizedTextField as TextField };
136
136
  //# sourceMappingURL=TextField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.js","names":["forwardRef","memo","useCallback","useImperativeHandle","useRef","Field","getControlState","useInputValues","jsx","_jsx","textFieldTypeValues","TextField","ariaDescribedBy","autoCompleteType","defaultValue","hasInitialFocus","endAdornment","errorMessage","errorMessageList","hint","HintLinkComponent","id","idOverride","inputRef","inputMode","isDisabled","isFullWidth","isMultiline","isOptional","isReadOnly","label","max","min","name","nameOverride","onBlur","onChange","onChangeProp","onFocus","placeholder","startAdornment","step","testId","translate","type","value","ref","controlledStateRef","controlledValue","uncontrolledValue","inputValues","controlState","current","localInputRef","focus","event","renderFieldComponent","errorMessageElementId","labelElementId","_InputBase","autoComplete","autoFocus","_InputAdornment","position","children","inputProps","multiline","readOnly","required","fieldType","hasVisibleLabel","MemoizedTextField","displayName"],"sources":["../../src/TextField.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 { InputAdornment, InputBase } from \"@mui/material\";\nimport {\n ChangeEventHandler,\n FocusEventHandler,\n forwardRef,\n InputHTMLAttributes,\n memo,\n ReactElement,\n useCallback,\n useImperativeHandle,\n useRef,\n} from \"react\";\n\nimport { Field } from \"./Field.js\";\nimport {\n FieldComponentProps,\n FieldComponentRenderProps,\n} from \"./FieldComponentProps.js\";\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { FocusHandle, getControlState, useInputValues } from \"./inputUtils.js\";\n\nexport const textFieldTypeValues = [\n \"email\",\n \"number\",\n \"tel\",\n \"text\",\n \"url\",\n] as const;\n\nexport type TextFieldProps = {\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill\n */\n autoCompleteType?: InputHTMLAttributes<HTMLInputElement>[\"autoComplete\"];\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue?: string;\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment?: string | ReactElement;\n /**\n * If `true`, the input receives focus automatically on mount.\n */\n hasInitialFocus?: boolean;\n /**\n * Hints at the type of data that might be entered by the user while editing the\n * element or its contents.\n * @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute\n */\n inputMode?: InputHTMLAttributes<HTMLInputElement>[\"inputMode\"];\n /**\n * Ref attached to the underlying <input> element.\n */\n inputRef?: React.RefObject<FocusHandle>;\n /**\n * If `true`, the input renders as a multiline textarea.\n */\n isMultiline?: boolean;\n /**\n * The label for the `input` element.\n */\n label: string;\n /**\n * The maximum value for a `number` input.\n */\n max?: number;\n /**\n * The minimum value for a `number` input.\n */\n min?: number;\n /**\n * Called when the input loses focus.\n */\n onBlur?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;\n /**\n * Called when the input value changes.\n */\n onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;\n /**\n * Called when the input gains focus.\n */\n onFocus?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder?: string;\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment?: string | ReactElement;\n /**\n * The step interval for a `number` input.\n */\n step?: number;\n /**\n * Type of the `input` element. It should be\n * [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default \"text\"\n */\n type?: (typeof textFieldTypeValues)[number];\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value?: string;\n} & FieldComponentProps &\n Pick<HtmlProps, \"ariaDescribedBy\" | \"testId\" | \"translate\">;\n\ntype FieldRenderProps = Partial<\n Pick<FieldComponentRenderProps, \"ariaDescribedBy\" | \"errorMessageElementId\">\n> &\n Pick<FieldComponentRenderProps, \"id\" | \"labelElementId\">;\n\n/**\n * A single-line or multiline text input field with label, hint, and error support.\n * Use for collecting free-form text input such as names, emails, URLs, or numbers.\n */\nconst TextField = forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n ariaDescribedBy,\n autoCompleteType,\n defaultValue,\n hasInitialFocus,\n endAdornment,\n errorMessage,\n errorMessageList,\n hint,\n HintLinkComponent,\n id: idOverride,\n inputRef,\n inputMode,\n isDisabled = false,\n isFullWidth = false,\n isMultiline = false,\n isOptional = false,\n isReadOnly,\n label,\n max,\n min,\n name: nameOverride,\n onBlur,\n onChange: onChangeProp,\n onFocus,\n placeholder,\n startAdornment,\n step,\n testId,\n translate,\n type = \"text\",\n value: value,\n },\n ref,\n ) => {\n const controlledStateRef = useRef(\n getControlState({\n controlledValue: value,\n uncontrolledValue: defaultValue,\n }),\n );\n const inputValues = useInputValues({\n defaultValue,\n value,\n controlState: controlledStateRef.current,\n });\n\n const localInputRef = useRef<HTMLInputElement>(null);\n useImperativeHandle(inputRef, () => {\n return {\n focus: () => {\n localInputRef.current?.focus();\n },\n };\n }, []);\n\n const onChange = useCallback<\n NonNullable<ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>>\n >(\n (event) => {\n onChangeProp?.(event);\n },\n [onChangeProp],\n );\n\n const renderFieldComponent = useCallback(\n ({\n ariaDescribedBy,\n errorMessageElementId,\n id,\n labelElementId,\n }: FieldRenderProps) => (\n <InputBase\n {...inputValues}\n aria-describedby={ariaDescribedBy}\n autoComplete={autoCompleteType}\n /* eslint-disable-next-line jsx-a11y/no-autofocus */\n autoFocus={hasInitialFocus}\n endAdornment={\n endAdornment && (\n <InputAdornment position=\"end\" translate={translate}>\n {endAdornment}\n </InputAdornment>\n )\n }\n id={id}\n inputProps={{\n \"aria-errormessage\": errorMessageElementId,\n \"aria-labelledby\": labelElementId,\n \"aria-readonly\": isReadOnly,\n \"data-se\": testId,\n inputMode,\n max,\n min,\n step,\n }}\n inputRef={localInputRef}\n multiline={isMultiline}\n name={nameOverride ?? id}\n onBlur={onBlur}\n onChange={onChange}\n onFocus={onFocus}\n placeholder={placeholder}\n readOnly={isReadOnly}\n ref={ref}\n required={!isOptional}\n startAdornment={\n startAdornment && (\n <InputAdornment position=\"start\" translate={translate}>\n {startAdornment}\n </InputAdornment>\n )\n }\n translate={translate}\n type={type}\n />\n ),\n [\n autoCompleteType,\n inputValues,\n hasInitialFocus,\n endAdornment,\n inputMode,\n max,\n min,\n isMultiline,\n nameOverride,\n onBlur,\n onChange,\n onFocus,\n placeholder,\n isOptional,\n isReadOnly,\n ref,\n startAdornment,\n step,\n testId,\n translate,\n type,\n ],\n );\n\n return (\n <Field\n ariaDescribedBy={ariaDescribedBy}\n errorMessage={errorMessage}\n errorMessageList={errorMessageList}\n fieldType=\"single\"\n hasVisibleLabel\n hint={hint}\n HintLinkComponent={HintLinkComponent}\n id={idOverride}\n isDisabled={isDisabled}\n isFullWidth={isFullWidth}\n isOptional={isOptional}\n isReadOnly={isReadOnly}\n label={label}\n renderFieldComponent={renderFieldComponent}\n />\n );\n },\n);\n\nconst MemoizedTextField = memo(TextField);\nMemoizedTextField.displayName = \"TextField\";\n\nexport { MemoizedTextField as TextField };\n"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAGEA,UAAU,EAEVC,IAAI,EAEJC,WAAW,EACXC,mBAAmB,EACnBC,MAAM,QACD,OAAO;AAEd,SAASC,KAAK,QAAQ,YAAY;AAMlC,SAAsBC,eAAe,EAAEC,cAAc,QAAQ,iBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE/E,OAAO,MAAMC,mBAAmB,GAAG,CACjC,OAAO,EACP,QAAQ,EACR,KAAK,EACL,MAAM,EACN,KAAK,CACG;AA6FV,MAAMC,SAAS,GAAGX,UAAU,CAC1B,CACE;EACEY,eAAe;EACfC,gBAAgB;EAChBC,YAAY;EACZC,eAAe;EACfC,YAAY;EACZC,YAAY;EACZC,gBAAgB;EAChBC,IAAI;EACJC,iBAAiB;EACjBC,EAAE,EAAEC,UAAU;EACdC,QAAQ;EACRC,SAAS;EACTC,UAAU,GAAG,KAAK;EAClBC,WAAW,GAAG,KAAK;EACnBC,WAAW,GAAG,KAAK;EACnBC,UAAU,GAAG,KAAK;EAClBC,UAAU;EACVC,KAAK;EACLC,GAAG;EACHC,GAAG;EACHC,IAAI,EAAEC,YAAY;EAClBC,MAAM;EACNC,QAAQ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,EAAEA,UAAW;IACvBC,UAAU,EAAEA,UAAW;IACvBC,KAAK,EAAEA,KAAM;IACb0B,oBAAoB,EAAEA;EAAqB,CAC5C,CAAC;AAEN,CACF,CAAC;AAED,MAAMe,iBAAiB,GAAGtE,IAAI,CAACU,SAAS,CAAC;AACzC4D,iBAAiB,CAACC,WAAW,2CAAc;AAE3C,SAASD,iBAAiB,IAAI5D,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"TextField.js","names":["forwardRef","memo","useCallback","useImperativeHandle","useRef","Field","getControlState","useInputValues","jsx","_jsx","textFieldTypeValues","TextField","ariaDescribedBy","autoCompleteType","defaultValue","hasInitialFocus","endAdornment","errorMessage","errorMessageList","hint","HintLinkComponent","id","idOverride","inputRef","inputMode","isDisabled","isFullWidth","isMultiline","isOptional","isReadOnly","label","max","min","name","nameOverride","onBlur","onChange","onChangeProp","onFocus","placeholder","startAdornment","step","testId","translate","type","value","ref","controlledStateRef","controlledValue","uncontrolledValue","inputValues","controlState","current","localInputRef","focus","event","renderFieldComponent","errorMessageElementId","labelElementId","_InputBase","autoComplete","autoFocus","_InputAdornment","position","children","inputProps","multiline","readOnly","required","fieldType","hasVisibleLabel","MemoizedTextField","displayName"],"sources":["../../src/TextField.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 { InputAdornment, InputBase } from \"@mui/material\";\nimport {\n ChangeEventHandler,\n FocusEventHandler,\n forwardRef,\n InputHTMLAttributes,\n memo,\n ReactElement,\n useCallback,\n useImperativeHandle,\n useRef,\n} from \"react\";\n\nimport { Field } from \"./Field.js\";\nimport {\n FieldComponentProps,\n FieldComponentRenderProps,\n} from \"./FieldComponentProps.js\";\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { FocusHandle, getControlState, useInputValues } from \"./inputUtils.js\";\n\nexport const textFieldTypeValues = [\n \"email\",\n \"number\",\n \"tel\",\n \"text\",\n \"url\",\n] as const;\n\nexport type TextFieldProps = {\n /**\n * This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill.\n * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill\n */\n autoCompleteType?: InputHTMLAttributes<HTMLInputElement>[\"autoComplete\"];\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue?: string;\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment?: string | ReactElement;\n /**\n * If `true`, the input receives focus automatically on mount.\n */\n hasInitialFocus?: boolean;\n /**\n * Hints at the type of data that might be entered by the user while editing the element or its contents.\n * @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute\n */\n inputMode?: InputHTMLAttributes<HTMLInputElement>[\"inputMode\"];\n /**\n * Ref attached to the underlying <input> element.\n */\n inputRef?: React.RefObject<FocusHandle>;\n /**\n * If `true`, the input renders as a multiline textarea.\n */\n isMultiline?: boolean;\n /**\n * The label for the `input` element.\n */\n label: string;\n /**\n * The maximum value for a `number` input.\n */\n max?: number;\n /**\n * The minimum value for a `number` input.\n */\n min?: number;\n /**\n * Called when the input loses focus.\n */\n onBlur?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;\n /**\n * Called when the input value changes.\n */\n onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;\n /**\n * Called when the input gains focus.\n */\n onFocus?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder?: string;\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment?: string | ReactElement;\n /**\n * The step interval for a `number` input.\n */\n step?: number;\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default \"text\"\n */\n type?: (typeof textFieldTypeValues)[number];\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value?: string;\n} & FieldComponentProps &\n Pick<HtmlProps, \"ariaDescribedBy\" | \"testId\" | \"translate\">;\n\ntype FieldRenderProps = Partial<\n Pick<FieldComponentRenderProps, \"ariaDescribedBy\" | \"errorMessageElementId\">\n> &\n Pick<FieldComponentRenderProps, \"id\" | \"labelElementId\">;\n\n/**\n * A single-line or multiline text input field with label, hint, and error support. Use for collecting free-form text input such as names, emails, URLs, or numbers.\n */\nconst TextField = forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n ariaDescribedBy,\n autoCompleteType,\n defaultValue,\n hasInitialFocus,\n endAdornment,\n errorMessage,\n errorMessageList,\n hint,\n HintLinkComponent,\n id: idOverride,\n inputRef,\n inputMode,\n isDisabled = false,\n isFullWidth = false,\n isMultiline = false,\n isOptional = false,\n isReadOnly,\n label,\n max,\n min,\n name: nameOverride,\n onBlur,\n onChange: onChangeProp,\n onFocus,\n placeholder,\n startAdornment,\n step,\n testId,\n translate,\n type = \"text\",\n value: value,\n },\n ref,\n ) => {\n const controlledStateRef = useRef(\n getControlState({\n controlledValue: value,\n uncontrolledValue: defaultValue,\n }),\n );\n const inputValues = useInputValues({\n defaultValue,\n value,\n controlState: controlledStateRef.current,\n });\n\n const localInputRef = useRef<HTMLInputElement>(null);\n useImperativeHandle(inputRef, () => {\n return {\n focus: () => {\n localInputRef.current?.focus();\n },\n };\n }, []);\n\n const onChange = useCallback<\n NonNullable<ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>>\n >(\n (event) => {\n onChangeProp?.(event);\n },\n [onChangeProp],\n );\n\n const renderFieldComponent = useCallback(\n ({\n ariaDescribedBy,\n errorMessageElementId,\n id,\n labelElementId,\n }: FieldRenderProps) => (\n <InputBase\n {...inputValues}\n aria-describedby={ariaDescribedBy}\n autoComplete={autoCompleteType}\n /* eslint-disable-next-line jsx-a11y/no-autofocus */\n autoFocus={hasInitialFocus}\n endAdornment={\n endAdornment && (\n <InputAdornment position=\"end\" translate={translate}>\n {endAdornment}\n </InputAdornment>\n )\n }\n id={id}\n inputProps={{\n \"aria-errormessage\": errorMessageElementId,\n \"aria-labelledby\": labelElementId,\n \"aria-readonly\": isReadOnly,\n \"data-se\": testId,\n inputMode,\n max,\n min,\n step,\n }}\n inputRef={localInputRef}\n multiline={isMultiline}\n name={nameOverride ?? id}\n onBlur={onBlur}\n onChange={onChange}\n onFocus={onFocus}\n placeholder={placeholder}\n readOnly={isReadOnly}\n ref={ref}\n required={!isOptional}\n startAdornment={\n startAdornment && (\n <InputAdornment position=\"start\" translate={translate}>\n {startAdornment}\n </InputAdornment>\n )\n }\n translate={translate}\n type={type}\n />\n ),\n [\n autoCompleteType,\n inputValues,\n hasInitialFocus,\n endAdornment,\n inputMode,\n max,\n min,\n isMultiline,\n nameOverride,\n onBlur,\n onChange,\n onFocus,\n placeholder,\n isOptional,\n isReadOnly,\n ref,\n startAdornment,\n step,\n testId,\n translate,\n type,\n ],\n );\n\n return (\n <Field\n ariaDescribedBy={ariaDescribedBy}\n errorMessage={errorMessage}\n errorMessageList={errorMessageList}\n fieldType=\"single\"\n hasVisibleLabel\n hint={hint}\n HintLinkComponent={HintLinkComponent}\n id={idOverride}\n isDisabled={isDisabled}\n isFullWidth={isFullWidth}\n isOptional={isOptional}\n isReadOnly={isReadOnly}\n label={label}\n renderFieldComponent={renderFieldComponent}\n />\n );\n },\n);\n\nconst MemoizedTextField = memo(TextField);\nMemoizedTextField.displayName = \"TextField\";\n\nexport { MemoizedTextField as TextField };\n"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAGEA,UAAU,EAEVC,IAAI,EAEJC,WAAW,EACXC,mBAAmB,EACnBC,MAAM,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S,EAAEA,SAAU;IACrBC,IAAI,EAAEA;EAAK,CACZ,CACF,EACD,CACE/B,gBAAgB,EAChBqC,WAAW,EACXnC,eAAe,EACfC,YAAY,EACZQ,SAAS,EACTO,GAAG,EACHC,GAAG,EACHL,WAAW,EACXO,YAAY,EACZC,MAAM,EACNC,QAAQ,EACRE,OAAO,EACPC,WAAW,EACXX,UAAU,EACVC,UAAU,EACViB,GAAG,EACHN,cAAc,EACdC,IAAI,EACJC,MAAM,EACNC,SAAS,EACTC,IAAI,CAER,CAAC;EAED,OACEnC,IAAA,CAACJ,KAAK;IACJO,eAAe,EAAEA,eAAgB;IACjCK,YAAY,EAAEA,YAAa;IAC3BC,gBAAgB,EAAEA,gBAAiB;IACnCmD,SAAS,EAAC,QAAQ;IAClBC,eAAe;IACfnD,IAAI,EAAEA,IAAK;IACXC,iBAAiB,EAAEA,iBAAkB;IACrCC,EAAE,EAAEC,UAAW;IACfG,UAAU,EAAEA,UAAW;IACvBC,WAAW,EAAEA,WAAY;IACzBE,UAAU,EAAEA,UAAW;IACvBC,UAAU,EAAEA,UAAW;IACvBC,KAAK,EAAEA,KAAM;IACb0B,oBAAoB,EAAEA;EAAqB,CAC5C,CAAC;AAEN,CACF,CAAC;AAED,MAAMe,iBAAiB,GAAGtE,IAAI,CAACU,SAAS,CAAC;AACzC4D,iBAAiB,CAACC,WAAW,2CAAc;AAE3C,SAASD,iBAAiB,IAAI5D,SAAS","ignoreList":[]}
package/dist/esm/Toast.js CHANGED
@@ -84,6 +84,6 @@ const Toast = ({
84
84
  });
85
85
  };
86
86
  const MemoizedToast = memo(Toast);
87
- MemoizedToast.displayName = "Toast::pkg=odyssey&odysseyV=1.70.1";
87
+ MemoizedToast.displayName = "Toast::pkg=odyssey&odysseyV=1.71.1";
88
88
  export { MemoizedToast as Toast };
89
89
  //# sourceMappingURL=Toast.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.js","names":["memo","useCallback","useEffect","useState","Button","useTranslation","CloseIcon","Link","ScreenReaderText","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","toastRoleValues","toastSeverityValues","ClickAwayListenerProps","onClickAway","Toast","autoHideDuration","isDismissable","linkText","linkUrl","isVisible","isVisibleProp","onHide","onHideProp","role","severity","testId","text","translate","t","setIsVisible","children","_Snackbar","undefined","className","onClose","open","_Alert","action","ariaLabel","onClick","size","startIcon","variant","_AlertTitle","href","MemoizedToast","displayName"],"sources":["../../src/Toast.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 { Alert, AlertTitle, Snackbar } from \"@mui/material\";\nimport { memo, useCallback, useEffect, useState } from \"react\";\n\nimport { Button } from \"./Buttons/Button.js\";\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { CloseIcon } from \"./icons.generated/index.js\";\nimport { Link } from \"./Link.js\";\nimport { ScreenReaderText } from \"./ScreenReaderText.js\";\n\nexport const toastRoleValues = [\"status\", \"alert\"] as const;\nexport const toastSeverityValues = [\n \"success\",\n \"info\",\n \"warning\",\n \"error\",\n] as const;\n\nexport type ToastProps = {\n /**\n * How long the Toast should appear before automatically disappearing, in milliseconds.\n * Only takes effect when the Toast is not dismissible.\n * @default 6000\n */\n autoHideDuration?: number;\n /**\n * If `true`, the toast includes a close button allowing the user to dismiss it manually.\n */\n isDismissable?: boolean;\n /**\n * If `true`, the toast is visible.\n */\n isVisible?: boolean;\n /**\n * The visible label for the link rendered when `linkUrl` is provided. Has no effect\n * without `linkUrl`.\n * @default \"Learn more\"\n */\n linkText?: string;\n /**\n * If defined, the Toast will include a link to the URL\n */\n linkUrl?: string;\n /**\n * Called when the Toast is closed, either automatically or by user dismissal.\n */\n onHide?: () => void;\n /**\n * Sets the ARIA live-region role.\n * - If `'status'`, announces updates politely; use for non-critical dynamic messages.\n * - If `'alert'`, announces updates assertively; use for errors or urgent information.\n */\n role?: (typeof toastRoleValues)[number];\n /**\n * Controls the color and icon of the toast.\n */\n severity: (typeof toastSeverityValues)[number];\n /**\n * The text content of the Toast\n */\n text: string;\n} & Pick<HtmlProps, \"testId\" | \"translate\">;\n\nconst ClickAwayListenerProps = { onClickAway: () => false };\n\n/**\n * A brief, auto-dismissing notification used to communicate non-critical feedback such\n * as confirmations, warnings, or errors. Renders as a Snackbar overlay with optional\n * dismiss and link actions.\n */\nconst Toast = ({\n autoHideDuration = 6000,\n isDismissable,\n linkText,\n linkUrl,\n isVisible: isVisibleProp,\n onHide: onHideProp,\n role,\n severity,\n testId,\n text,\n translate,\n}: ToastProps) => {\n const { t } = useTranslation();\n const [isVisible, setIsVisible] = useState(isVisibleProp);\n\n useEffect(() => {\n setIsVisible(isVisibleProp);\n }, [isVisibleProp]);\n\n const onHide = useCallback(() => {\n setIsVisible(false);\n onHideProp?.();\n }, [onHideProp]);\n\n return (\n <>\n <Snackbar\n autoHideDuration={\n isDismissable || autoHideDuration <= 0 ? undefined : autoHideDuration\n }\n className=\"Toast\"\n ClickAwayListenerProps={ClickAwayListenerProps}\n onClose={onHide}\n open={isVisible}\n >\n <Alert\n action={\n isDismissable === true && (\n <Button\n ariaLabel={t(\"close.text\")}\n onClick={onHide}\n size=\"small\"\n startIcon={<CloseIcon />}\n variant=\"floating\"\n />\n )\n }\n data-se={testId}\n role={role}\n severity={severity}\n variant=\"toast\"\n >\n <AlertTitle translate={translate}>\n <ScreenReaderText translate={translate}>\n {t(`severity.${severity}`)}:\n </ScreenReaderText>\n {text}\n </AlertTitle>\n {linkUrl && (\n <Link href={linkUrl} translate={translate} variant=\"monochrome\">\n {linkText}\n </Link>\n )}\n </Alert>\n </Snackbar>\n </>\n );\n};\n\nconst MemoizedToast = memo(Toast);\nMemoizedToast.displayName = \"Toast\";\n\nexport { MemoizedToast as Toast };\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,EAAEC,WAAW,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAE9D,SAASC,MAAM,QAAQ,qBAAqB;AAE5C,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,SAAS,QAAQ,4BAA4B;AACtD,SAASC,IAAI,QAAQ,WAAW;AAChC,SAASC,gBAAgB,QAAQ,uBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAEzD,OAAO,MAAMC,eAAe,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU;AAC3D,OAAO,MAAMC,mBAAmB,GAAG,CACjC,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,CACC;AA+CV,MAAMC,sBAAsB,GAAG;EAAEC,WAAW,EAAEA,CAAA,KAAM;AAAM,CAAC;AAO3D,MAAMC,KAAK,GAAGA,CAAC;EACbC,gBAAgB,GAAG,IAAI;EACvBC,aAAa;EACbC,QAAQ;EACRC,OAAO;EACPC,SAAS,EAAEC,aAAa;EACxBC,MAAM,EAAEC,UAAU;EAClBC,IAAI;EACJC,QAAQ;EACRC,MAAM;EACNC,IAAI;EACJC;AACU,CAAC,KAAK;EAChB,MAAM;IAAEC;EAAE,CAAC,GAAG5B,cAAc,CAAC,CAAC;EAC9B,MAAM,CAACmB,SAAS,EAAEU,YAAY,CAAC,GAAG/B,QAAQ,CAACsB,aAAa,CAAC;EAEzDvB,SAAS,CAAC,MAAM;IACdgC,YAAY,CAACT,aAAa,CAAC;EAC7B,CAAC,EAAE,CAACA,aAAa,CAAC,CAAC;EAEnB,MAAMC,MA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C,CACA;EAAC,CACX,CAAC;AAEP,CAAC;AAED,MAAM4B,aAAa,GAAGlD,IAAI,CAACmB,KAAK,CAAC;AACjC+B,aAAa,CAACC,WAAW,uCAAU;AAEnC,SAASD,aAAa,IAAI/B,KAAK","ignoreList":[]}
1
+ {"version":3,"file":"Toast.js","names":["memo","useCallback","useEffect","useState","Button","useTranslation","CloseIcon","Link","ScreenReaderText","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","toastRoleValues","toastSeverityValues","ClickAwayListenerProps","onClickAway","Toast","autoHideDuration","isDismissable","linkText","linkUrl","isVisible","isVisibleProp","onHide","onHideProp","role","severity","testId","text","translate","t","setIsVisible","children","_Snackbar","undefined","className","onClose","open","_Alert","action","ariaLabel","onClick","size","startIcon","variant","_AlertTitle","href","MemoizedToast","displayName"],"sources":["../../src/Toast.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 { Alert, AlertTitle, Snackbar } from \"@mui/material\";\nimport { memo, useCallback, useEffect, useState } from \"react\";\n\nimport { Button } from \"./Buttons/Button.js\";\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { CloseIcon } from \"./icons.generated/index.js\";\nimport { Link } from \"./Link.js\";\nimport { ScreenReaderText } from \"./ScreenReaderText.js\";\n\nexport const toastRoleValues = [\"status\", \"alert\"] as const;\nexport const toastSeverityValues = [\n \"success\",\n \"info\",\n \"warning\",\n \"error\",\n] as const;\n\nexport type ToastProps = {\n /**\n * How long the Toast should appear before automatically disappearing, in milliseconds. Only takes effect when the Toast is not dismissible.\n * @default 6000\n */\n autoHideDuration?: number;\n /**\n * If `true`, the toast includes a close button allowing the user to dismiss it manually.\n */\n isDismissable?: boolean;\n /**\n * If `true`, the toast is visible.\n */\n isVisible?: boolean;\n /**\n * The visible label for the link rendered when `linkUrl` is provided. Has no effect without `linkUrl`.\n * @default \"Learn more\"\n */\n linkText?: string;\n /**\n * If defined, the Toast will include a link to the URL\n */\n linkUrl?: string;\n /**\n * Called when the Toast is closed, either automatically or by user dismissal.\n */\n onHide?: () => void;\n /**\n * Sets the ARIA live-region role.\n * - If `'status'`, announces updates politely; use for non-critical dynamic messages.\n * - If `'alert'`, announces updates assertively; use for errors or urgent information.\n */\n role?: (typeof toastRoleValues)[number];\n /**\n * Controls the color and icon of the toast.\n */\n severity: (typeof toastSeverityValues)[number];\n /**\n * The text content of the Toast\n */\n text: string;\n} & Pick<HtmlProps, \"testId\" | \"translate\">;\n\nconst ClickAwayListenerProps = { onClickAway: () => false };\n\n/**\n * A brief, auto-dismissing notification used to communicate non-critical feedback such as confirmations, warnings, or errors. Renders as a Snackbar overlay with optional dismiss and link actions.\n */\nconst Toast = ({\n autoHideDuration = 6000,\n isDismissable,\n linkText,\n linkUrl,\n isVisible: isVisibleProp,\n onHide: onHideProp,\n role,\n severity,\n testId,\n text,\n translate,\n}: ToastProps) => {\n const { t } = useTranslation();\n const [isVisible, setIsVisible] = useState(isVisibleProp);\n\n useEffect(() => {\n setIsVisible(isVisibleProp);\n }, [isVisibleProp]);\n\n const onHide = useCallback(() => {\n setIsVisible(false);\n onHideProp?.();\n }, [onHideProp]);\n\n return (\n <>\n <Snackbar\n autoHideDuration={\n isDismissable || autoHideDuration <= 0 ? undefined : autoHideDuration\n }\n className=\"Toast\"\n ClickAwayListenerProps={ClickAwayListenerProps}\n onClose={onHide}\n open={isVisible}\n >\n <Alert\n action={\n isDismissable === true && (\n <Button\n ariaLabel={t(\"close.text\")}\n onClick={onHide}\n size=\"small\"\n startIcon={<CloseIcon />}\n variant=\"floating\"\n />\n )\n }\n data-se={testId}\n role={role}\n severity={severity}\n variant=\"toast\"\n >\n <AlertTitle translate={translate}>\n <ScreenReaderText translate={translate}>\n {t(`severity.${severity}`)}:\n </ScreenReaderText>\n {text}\n </AlertTitle>\n {linkUrl && (\n <Link href={linkUrl} translate={translate} variant=\"monochrome\">\n {linkText}\n </Link>\n )}\n </Alert>\n </Snackbar>\n </>\n );\n};\n\nconst MemoizedToast = memo(Toast);\nMemoizedToast.displayName = \"Toast\";\n\nexport { MemoizedToast as Toast };\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,EAAEC,WAAW,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAE9D,SAASC,MAAM,QAAQ,qBAAqB;AAE5C,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,SAAS,QAAQ,4BAA4B;AACtD,SAASC,IAAI,QAAQ,WAAW;AAChC,SAASC,gBAAgB,QAAQ,uBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAEzD,OAAO,MAAMC,eAAe,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU;AAC3D,OAAO,MAAMC,mBAAmB,GAAG,CACjC,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,CACC;AA6CV,MAAMC,sBAAsB,GAAG;EAAEC,WAAW,EAAEA,CAAA,KAAM;AAAM,CAAC;AAK3D,MAAMC,KAAK,GAAGA,CAAC;EACbC,gBAAgB,GAAG,IAAI;EACvBC,aAAa;EACbC,QAAQ;EACRC,OAAO;EACPC,SAAS,EAAEC,aAAa;EACxBC,MAAM,EAAEC,UAAU;EAClBC,IAAI;EACJC,QAAQ;EACRC,MAAM;EACNC,IAAI;EACJC;AACU,CAAC,KAAK;EAChB,MAAM;IAAEC;EAAE,CAAC,GAA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7B;UAAA,CAAkB,CAAC,EAClBE,IAAI;QAAA,CACK,CAAC,EACZR,OAAO,IACNb,IAAA,CAACH,IAAI;UAAC0C,IAAI,EAAE1B,OAAQ;UAACS,SAAS,EAAEA,SAAU;UAACe,OAAO,EAAC,YAAY;UAAAZ,QAAA,EAC5Db;QAAQ,CACL,CACP;MAAA,CACI;IAAC,CACA;EAAC,CACX,CAAC;AAEP,CAAC;AAED,MAAM4B,aAAa,GAAGlD,IAAI,CAACmB,KAAK,CAAC;AACjC+B,aAAa,CAACC,WAAW,uCAAU;AAEnC,SAASD,aAAa,IAAI/B,KAAK","ignoreList":[]}
@@ -48,6 +48,6 @@ const ToastStack = ({
48
48
  });
49
49
  };
50
50
  const MemoizedToastStack = memo(ToastStack);
51
- MemoizedToastStack.displayName = "ToastStack::pkg=odyssey&odysseyV=1.70.1";
51
+ MemoizedToastStack.displayName = "ToastStack::pkg=odyssey&odysseyV=1.71.1";
52
52
  export { MemoizedToastStack as ToastStack };
53
53
  //# sourceMappingURL=ToastStack.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToastStack.js","names":["memo","FullScreenOverlay","useOdysseyThemeProviderPropsContext","jsx","_jsx","ToastStackContent","children","shadowRootElement","_Portal","container","_Snackbar","open","_Box","sx","display","flexDirection","gap","ToastStack","overlayType","MemoizedToastStack","displayName"],"sources":["../../src/ToastStack.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 { Box, Portal, Snackbar } from \"@mui/material\";\nimport { memo, ReactElement } from \"react\";\n\nimport { FullScreenOverlay } from \"./FullScreenOverlay.js\";\nimport { useOdysseyThemeProviderPropsContext } from \"./OdysseyThemeProviderPropsContext.js\";\nimport { Toast } from \"./Toast.js\";\n\nexport type ToastListProps = {\n /**\n * The Toast or array of Toasts within the ToastStack\n */\n children: ReactElement<typeof Toast> | Array<ReactElement<typeof Toast>>;\n};\n\n// Inside `FullScreenOverlay`, `shadowRootElement` is the shared overlay root\n// Dialog's Modal also uses. MUI's Snackbar renders inline, so we Portal it\n// there ourselves — placing its DOM (and thus its z-index) in the same\n// stacking context as the Dialog backdrop.\nconst ToastStackContent = ({ children }: ToastListProps) => {\n const { shadowRootElement } = useOdysseyThemeProviderPropsContext();\n\n return (\n <Portal container={shadowRootElement}>\n <Snackbar open={true}>\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column-reverse\",\n gap: 2,\n }}\n >\n {children}\n </Box>\n </Snackbar>\n </Portal>\n );\n};\n\n/**\n * A container that stacks Toast notifications in a fixed position on the screen. Renders\n * its Toast children in a vertically stacked column for simultaneous display.\n */\nconst ToastStack = ({ children }: ToastListProps) => {\n return (\n <FullScreenOverlay overlayType=\"toastStack\">\n <ToastStackContent>{children}</ToastStackContent>\n </FullScreenOverlay>\n );\n};\n\nconst MemoizedToastStack = memo(ToastStack);\nMemoizedToastStack.displayName = \"ToastStack\";\n\nexport { MemoizedToastStack as ToastStack };\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,QAAsB,OAAO;AAE1C,SAASC,iBAAiB,QAAQ,wBAAwB;AAC1D,SAASC,mCAAmC,QAAQ,uCAAuC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAc5F,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC;AAAyB,CAAC,KAAK;EAC1D,MAAM;IAAEC;EAAkB,CAAC,GAAGL,mCAAmC,CAAC,CAAC;EAEnE,OACEE,IAAA,CAAAI,OAAA;IAAQC,SAAS,EAAEF,iBAAkB;IAAAD,QAAA,EACnCF,IAAA,CAAAM,SAAA;MAAUC,IAAI,EAAE,IAAK;MAAAL,QAAA,EACnBF,IAAA,CAAAQ,IAAA;QACEC,EAAE,EAAE;UACFC,OAAO,EAAE,MAAM;UACfC,aAAa,EAAE,gBAAgB;UAC/BC,GAAG,EAAE;QACP,CAAE;QAAAV,QAAA,EAEDA;MAAQ,CACN;IAAC,CACE;EAAC,CACL,CAAC;AAEb,CAAC;AAMD,MAAMW,UAAU,GAAGA,CAAC;EAAEX;AAAyB,CAAC,KAAK;EACnD,OACEF,IAAA,CAACH,iBAAiB;IAACiB,WAAW,EAAC,YAAY;IAAAZ,QAAA,EACzCF,IAAA,CAACC,iBAAiB;MAAAC,QAAA,EAAEA;IAAQ,CAAoB;EAAC,CAChC,CAAC;AAExB,CAAC;AAED,MAAMa,kBAAkB,GAAGnB,IAAI,CAACiB,UAAU,CAAC;AAC3CE,kBAAkB,CAACC,WAAW,4CAAe;AAE7C,SAASD,kBAAkB,IAAIF,UAAU","ignoreList":[]}
1
+ {"version":3,"file":"ToastStack.js","names":["memo","FullScreenOverlay","useOdysseyThemeProviderPropsContext","jsx","_jsx","ToastStackContent","children","shadowRootElement","_Portal","container","_Snackbar","open","_Box","sx","display","flexDirection","gap","ToastStack","overlayType","MemoizedToastStack","displayName"],"sources":["../../src/ToastStack.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 { Box, Portal, Snackbar } from \"@mui/material\";\nimport { memo, ReactElement } from \"react\";\n\nimport { FullScreenOverlay } from \"./FullScreenOverlay.js\";\nimport { useOdysseyThemeProviderPropsContext } from \"./OdysseyThemeProviderPropsContext.js\";\nimport { Toast } from \"./Toast.js\";\n\nexport type ToastListProps = {\n /**\n * The Toast or array of Toasts within the ToastStack\n */\n children: ReactElement<typeof Toast> | Array<ReactElement<typeof Toast>>;\n};\n\n// Inside `FullScreenOverlay`, `shadowRootElement` is the shared overlay root Dialog's Modal also uses. MUI's Snackbar renders inline, so we Portal it there ourselves — placing its DOM (and thus its z-index) in the same stacking context as the Dialog backdrop.\nconst ToastStackContent = ({ children }: ToastListProps) => {\n const { shadowRootElement } = useOdysseyThemeProviderPropsContext();\n\n return (\n <Portal container={shadowRootElement}>\n <Snackbar open={true}>\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column-reverse\",\n gap: 2,\n }}\n >\n {children}\n </Box>\n </Snackbar>\n </Portal>\n );\n};\n\n/**\n * A container that stacks Toast notifications in a fixed position on the screen. Renders its Toast children in a vertically stacked column for simultaneous display.\n */\nconst ToastStack = ({ children }: ToastListProps) => {\n return (\n <FullScreenOverlay overlayType=\"toastStack\">\n <ToastStackContent>{children}</ToastStackContent>\n </FullScreenOverlay>\n );\n};\n\nconst MemoizedToastStack = memo(ToastStack);\nMemoizedToastStack.displayName = \"ToastStack\";\n\nexport { MemoizedToastStack as ToastStack };\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,QAAsB,OAAO;AAE1C,SAASC,iBAAiB,QAAQ,wBAAwB;AAC1D,SAASC,mCAAmC,QAAQ,uCAAuC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAW5F,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC;AAAyB,CAAC,KAAK;EAC1D,MAAM;IAAEC;EAAkB,CAAC,GAAGL,mCAAmC,CAAC,CAAC;EAEnE,OACEE,IAAA,CAAAI,OAAA;IAAQC,SAAS,EAAEF,iBAAkB;IAAAD,QAAA,EACnCF,IAAA,CAAAM,SAAA;MAAUC,IAAI,EAAE,IAAK;MAAAL,QAAA,EACnBF,IAAA,CAAAQ,IAAA;QACEC,EAAE,EAAE;UACFC,OAAO,EAAE,MAAM;UACfC,aAAa,EAAE,gBAAgB;UAC/BC,GAAG,EAAE;QACP,CAAE;QAAAV,QAAA,EAEDA;MAAQ,CACN;IAAC,CACE;EAAC,CACL,CAAC;AAEb,CAAC;AAKD,MAAMW,UAAU,GAAGA,CAAC;EAAEX;AAAyB,CAAC,KAAK;EACnD,OACEF,IAAA,CAACH,iBAAiB;IAACiB,WAAW,EAAC,YAAY;IAAAZ,QAAA,EACzCF,IAAA,CAACC,iBAAiB;MAAAC,QAAA,EAAEA;IAAQ,CAAoB;EAAC,CAChC,CAAC;AAExB,CAAC;AAED,MAAMa,kBAAkB,GAAGnB,IAAI,CAACiB,UAAU,CAAC;AAC3CE,kBAAkB,CAACC,WAAW,4CAAe;AAE7C,SAASD,kBAAkB,IAAIF,UAAU","ignoreList":[]}
@@ -31,6 +31,6 @@ const Tooltip = ({
31
31
  })
32
32
  });
33
33
  const MemoizedTooltip = memo(Tooltip);
34
- MemoizedTooltip.displayName = "Tooltip::pkg=odyssey&odysseyV=1.70.1";
34
+ MemoizedTooltip.displayName = "Tooltip::pkg=odyssey&odysseyV=1.71.1";
35
35
  export { MemoizedTooltip as Tooltip };
36
36
  //# sourceMappingURL=Tooltip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.js","names":["memo","MuiPropsChild","jsx","_jsx","Tooltip","ariaType","children","placement","testId","text","translate","_Tooltip","describeChild","title","MemoizedTooltip","displayName"],"sources":["../../src/Tooltip.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 type { TooltipProps as MuiTooltipProps } from \"@mui/material\";\n\nimport { Tooltip as MuiTooltip } from \"@mui/material\";\nimport { memo, ReactElement } from \"react\";\n\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { MuiPropsChild } from \"./MuiPropsChild.js\";\n\nexport type TooltipProps = {\n /**\n * The type of ARIA attribute to use\n */\n ariaType: \"description\" | \"label\";\n /**\n * The content that triggers the Tooltip when hovered\n */\n children: ReactElement;\n /**\n * The placement of the Tooltip\n * @default \"top\"\n */\n placement?: MuiTooltipProps[\"placement\"];\n /**\n * The text to display in the Tooltip\n */\n text: string;\n} & Pick<HtmlProps, \"testId\" | \"translate\">;\n\n/**\n * A contextual popup that displays a short text label when the user hovers over or\n * focuses its trigger element. Use to surface supplementary information for UI elements\n * where visible label space is limited.\n */\nconst Tooltip = ({\n ariaType,\n children,\n placement = \"top\",\n testId,\n text,\n translate,\n}: TooltipProps) => (\n <MuiTooltip\n data-se={testId}\n describeChild={ariaType === \"description\"}\n placement={placement}\n title={text}\n translate={translate}\n >\n <MuiPropsChild>{children}</MuiPropsChild>\n </MuiTooltip>\n);\n\nconst MemoizedTooltip = memo(Tooltip);\nMemoizedTooltip.displayName = \"Tooltip\";\n\nexport { MemoizedTooltip as Tooltip };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA,SAASA,IAAI,QAAsB,OAAO;AAG1C,SAASC,aAAa,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AA2BnD,MAAMC,OAAO,GAAGA,CAAC;EACfC,QAAQ;EACRC,QAAQ;EACRC,SAAS,GAAG,KAAK;EACjBC,MAAM;EACNC,IAAI;EACJC;AACY,CAAC,KACbP,IAAA,CAAAQ,QAAA;EACE,WAASH,MAAO;EAChBI,aAAa,EAAEP,QAAQ,KAAK,aAAc;EAC1CE,SAAS,EAAEA,SAAU;EACrBM,KAAK,EAAEJ,IAAK;EACZC,SAAS,EAAEA,SAAU;EAAAJ,QAAA,EAErBH,IAAA,CAACF,aAAa;IAAAK,QAAA,EAAEA;EAAQ,CAAgB;AAAC,CAC/B,CACb;AAED,MAAMQ,eAAe,GAAGd,IAAI,CAACI,OAAO,CAAC;AACrCU,eAAe,CAACC,WAAW,yCAAY;AAEvC,SAASD,eAAe,IAAIV,OAAO","ignoreList":[]}
1
+ {"version":3,"file":"Tooltip.js","names":["memo","MuiPropsChild","jsx","_jsx","Tooltip","ariaType","children","placement","testId","text","translate","_Tooltip","describeChild","title","MemoizedTooltip","displayName"],"sources":["../../src/Tooltip.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 type { TooltipProps as MuiTooltipProps } from \"@mui/material\";\n\nimport { Tooltip as MuiTooltip } from \"@mui/material\";\nimport { memo, ReactElement } from \"react\";\n\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { MuiPropsChild } from \"./MuiPropsChild.js\";\n\nexport type TooltipProps = {\n /**\n * The type of ARIA attribute to use\n */\n ariaType: \"description\" | \"label\";\n /**\n * The content that triggers the Tooltip when hovered\n */\n children: ReactElement;\n /**\n * The placement of the Tooltip\n * @default \"top\"\n */\n placement?: MuiTooltipProps[\"placement\"];\n /**\n * The text to display in the Tooltip\n */\n text: string;\n} & Pick<HtmlProps, \"testId\" | \"translate\">;\n\n/**\n * A contextual popup that displays a short text label when the user hovers over or focuses its trigger element. Use to surface supplementary information for UI elements where visible label space is limited.\n */\nconst Tooltip = ({\n ariaType,\n children,\n placement = \"top\",\n testId,\n text,\n translate,\n}: TooltipProps) => (\n <MuiTooltip\n data-se={testId}\n describeChild={ariaType === \"description\"}\n placement={placement}\n title={text}\n translate={translate}\n >\n <MuiPropsChild>{children}</MuiPropsChild>\n </MuiTooltip>\n);\n\nconst MemoizedTooltip = memo(Tooltip);\nMemoizedTooltip.displayName = \"Tooltip\";\n\nexport { MemoizedTooltip as Tooltip };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA,SAASA,IAAI,QAAsB,OAAO;AAG1C,SAASC,aAAa,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAyBnD,MAAMC,OAAO,GAAGA,CAAC;EACfC,QAAQ;EACRC,QAAQ;EACRC,SAAS,GAAG,KAAK;EACjBC,MAAM;EACNC,IAAI;EACJC;AACY,CAAC,KACbP,IAAA,CAAAQ,QAAA;EACE,WAASH,MAAO;EAChBI,aAAa,EAAEP,QAAQ,KAAK,aAAc;EAC1CE,SAAS,EAAEA,SAAU;EACrBM,KAAK,EAAEJ,IAAK;EACZC,SAAS,EAAEA,SAAU;EAAAJ,QAAA,EAErBH,IAAA,CAACF,aAAa;IAAAK,QAAA,EAAEA;EAAQ,CAAgB;AAAC,CAC/B,CACb;AAED,MAAMQ,eAAe,GAAGd,IAAI,CAACI,OAAO,CAAC;AACrCU,eAAe,CAACC,WAAW,yCAAY;AAEvC,SAASD,eAAe,IAAIV,OAAO","ignoreList":[]}
@@ -82,7 +82,7 @@ const Typography = ({
82
82
  });
83
83
  };
84
84
  const MemoizedTypography = memo(Typography);
85
- MemoizedTypography.displayName = "Typography::pkg=odyssey&odysseyV=1.70.1";
85
+ MemoizedTypography.displayName = "Typography::pkg=odyssey&odysseyV=1.71.1";
86
86
  const Heading1 = ({
87
87
  ariaCurrent,
88
88
  ariaDescribedBy,
@@ -112,7 +112,7 @@ const Heading1 = ({
112
112
  variant: "h1"
113
113
  });
114
114
  const MemoizedHeading1 = memo(Heading1);
115
- MemoizedHeading1.displayName = "Heading1::pkg=odyssey&odysseyV=1.70.1";
115
+ MemoizedHeading1.displayName = "Heading1::pkg=odyssey&odysseyV=1.71.1";
116
116
  const Heading2 = ({
117
117
  ariaCurrent,
118
118
  ariaDescribedBy,
@@ -140,7 +140,7 @@ const Heading2 = ({
140
140
  variant: "h2"
141
141
  });
142
142
  const MemoizedHeading2 = memo(Heading2);
143
- MemoizedHeading2.displayName = "Heading2::pkg=odyssey&odysseyV=1.70.1";
143
+ MemoizedHeading2.displayName = "Heading2::pkg=odyssey&odysseyV=1.71.1";
144
144
  const Heading3 = ({
145
145
  ariaCurrent,
146
146
  ariaDescribedBy,
@@ -168,7 +168,7 @@ const Heading3 = ({
168
168
  variant: "h3"
169
169
  });
170
170
  const MemoizedHeading3 = memo(Heading3);
171
- MemoizedHeading3.displayName = "Heading3::pkg=odyssey&odysseyV=1.70.1";
171
+ MemoizedHeading3.displayName = "Heading3::pkg=odyssey&odysseyV=1.71.1";
172
172
  const Heading4 = ({
173
173
  ariaCurrent,
174
174
  ariaDescribedBy,
@@ -196,7 +196,7 @@ const Heading4 = ({
196
196
  variant: "h4"
197
197
  });
198
198
  const MemoizedHeading4 = memo(Heading4);
199
- MemoizedHeading4.displayName = "Heading4::pkg=odyssey&odysseyV=1.70.1";
199
+ MemoizedHeading4.displayName = "Heading4::pkg=odyssey&odysseyV=1.71.1";
200
200
  const Heading5 = ({
201
201
  ariaCurrent,
202
202
  ariaDescribedBy,
@@ -224,7 +224,7 @@ const Heading5 = ({
224
224
  variant: "h5"
225
225
  });
226
226
  const MemoizedHeading5 = memo(Heading5);
227
- MemoizedHeading5.displayName = "Heading5::pkg=odyssey&odysseyV=1.70.1";
227
+ MemoizedHeading5.displayName = "Heading5::pkg=odyssey&odysseyV=1.71.1";
228
228
  const Heading6 = ({
229
229
  ariaCurrent,
230
230
  ariaDescribedBy,
@@ -252,7 +252,7 @@ const Heading6 = ({
252
252
  variant: "h6"
253
253
  });
254
254
  const MemoizedHeading6 = memo(Heading6);
255
- MemoizedHeading6.displayName = "Heading6::pkg=odyssey&odysseyV=1.70.1";
255
+ MemoizedHeading6.displayName = "Heading6::pkg=odyssey&odysseyV=1.71.1";
256
256
  const Paragraph = ({
257
257
  ariaCurrent,
258
258
  ariaDescribedBy,
@@ -280,7 +280,7 @@ const Paragraph = ({
280
280
  variant: "body"
281
281
  });
282
282
  const MemoizedParagraph = memo(Paragraph);
283
- MemoizedParagraph.displayName = "Paragraph::pkg=odyssey&odysseyV=1.70.1";
283
+ MemoizedParagraph.displayName = "Paragraph::pkg=odyssey&odysseyV=1.71.1";
284
284
  const Subordinate = ({
285
285
  ariaCurrent,
286
286
  ariaDescribedBy,
@@ -308,7 +308,7 @@ const Subordinate = ({
308
308
  variant: "subordinate"
309
309
  });
310
310
  const MemoizedSubordinate = memo(Subordinate);
311
- MemoizedSubordinate.displayName = "Subordinate::pkg=odyssey&odysseyV=1.70.1";
311
+ MemoizedSubordinate.displayName = "Subordinate::pkg=odyssey&odysseyV=1.71.1";
312
312
  const Support = ({
313
313
  ariaCurrent,
314
314
  ariaDescribedBy,
@@ -336,7 +336,7 @@ const Support = ({
336
336
  variant: "support"
337
337
  });
338
338
  const MemoizedSupport = memo(Support);
339
- MemoizedSupport.displayName = "Support::pkg=odyssey&odysseyV=1.70.1";
339
+ MemoizedSupport.displayName = "Support::pkg=odyssey&odysseyV=1.71.1";
340
340
  const Legend = ({
341
341
  ariaDescribedBy,
342
342
  ariaLabel,
@@ -362,7 +362,7 @@ const Legend = ({
362
362
  variant: "legend"
363
363
  });
364
364
  const MemoizedLegend = memo(Legend);
365
- MemoizedLegend.displayName = "Legend::pkg=odyssey&odysseyV=1.70.1";
365
+ MemoizedLegend.displayName = "Legend::pkg=odyssey&odysseyV=1.71.1";
366
366
  const Overline = ({
367
367
  ariaDescribedBy,
368
368
  ariaLabel,
@@ -388,6 +388,6 @@ const Overline = ({
388
388
  variant: "overline"
389
389
  });
390
390
  const MemoizedOverline = memo(Overline);
391
- MemoizedOverline.displayName = "Overline::pkg=odyssey&odysseyV=1.70.1";
391
+ MemoizedOverline.displayName = "Overline::pkg=odyssey&odysseyV=1.71.1";
392
392
  export { MemoizedHeading1 as Heading1, MemoizedHeading2 as Heading2, MemoizedHeading3 as Heading3, MemoizedHeading4 as Heading4, MemoizedHeading5 as Heading5, MemoizedHeading6 as Heading6, MemoizedLegend as Legend, MemoizedOverline as Overline, MemoizedParagraph as Paragraph, MemoizedSubordinate as Subordinate, MemoizedSupport as Support, MemoizedTypography as Typography };
393
393
  //# sourceMappingURL=Typography.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.js","names":["memo","useImperativeHandle","useMemo","useRef","jsx","_jsx","typographyVariantMapping","h1","h2","h3","h4","h5","h6","body","legend","overline","subordinate","support","typographyColorValues","typographyOverflowWrapValues","Typography","ariaCurrent","ariaDescribedBy","ariaLabel","ariaLabelledBy","children","color","component","componentProp","id","isPresentational","overflowWrap","testId","translate","typographyRef","variant","localTypographyRef","focus","current","_Typography","ref","role","undefined","style","tabIndex","MemoizedTypography","displayName","Heading1","MemoizedHeading1","Heading2","MemoizedHeading2","Heading3","MemoizedHeading3","Heading4","MemoizedHeading4","Heading5","MemoizedHeading5","Heading6","MemoizedHeading6","Paragraph","MemoizedParagraph","Subordinate","MemoizedSubordinate","Support","MemoizedSupport","Legend","MemoizedLegend","Overline","MemoizedOverline"],"sources":["../../src/Typography.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport {\n Typography as MuiTypography,\n TypographyProps as MuiTypographyProps,\n} from \"@mui/material\";\nimport {\n CSSProperties,\n ElementType,\n memo,\n ReactNode,\n useImperativeHandle,\n useMemo,\n useRef,\n} from \"react\";\n\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { FocusHandle } from \"./inputUtils.js\";\n\nexport type TypographyVariantValue =\n | \"h1\"\n | \"h2\"\n | \"h3\"\n | \"h4\"\n | \"h5\"\n | \"h6\"\n | \"body\"\n | \"legend\"\n | \"overline\"\n | \"subordinate\"\n | \"support\";\n\nexport const typographyVariantMapping: Record<\n TypographyVariantValue,\n MuiTypographyProps[\"variant\"]\n> = {\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n h6: \"h6\",\n body: \"body1\",\n legend: \"legend\",\n overline: \"overline\",\n subordinate: \"subtitle1\",\n support: \"subtitle2\",\n} as const;\n\nexport const typographyColorValues = [\n \"primary\",\n \"textPrimary\",\n \"secondary\",\n \"textSecondary\",\n \"error\",\n] as const;\n\nexport const typographyOverflowWrapValues = [\n \"normal\",\n \"break-word\",\n \"anywhere\",\n] as const satisfies readonly NonNullable<CSSProperties[\"overflowWrap\"]>[];\n\nexport type TypographyOverflowWrapValue =\n (typeof typographyOverflowWrapValues)[number];\n\nexport type TypographyProps = {\n /**\n * The text content of the component.\n */\n children: ReactNode;\n /**\n * Controls the text color.\n * - If `'primary'`, default text color.\n * - If `'textPrimary'`, alias for `'primary'`.\n * - If `'secondary'`, subdued text color.\n * - If `'textSecondary'`, alias for `'secondary'`.\n * - If `'error'`, danger red, for error states.\n */\n color?: (typeof typographyColorValues)[number];\n /**\n * The HTML element the component should render, if different from the default.\n */\n component?: ElementType;\n /**\n * The id of the component.\n */\n id?: string;\n /**\n * If `true`, the element is treated as presentational and ignored by screen readers.\n */\n isPresentational?: boolean;\n /**\n * Controls where the text may break to avoid overflowing its container.\n * - If `'normal'`, breaks only at normal word-break points, so a long unbroken\n * string such as an ID or URL overflows.\n * - If `'break-word'`, breaks inside a word only when the word cannot fit on a\n * line of its own.\n * - If `'anywhere'`, breaks inside a word as soon as it reaches the container\n * edge, and the broken word counts toward the container's `min-content` size.\n * @default \"normal\"\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap\n */\n overflowWrap?: TypographyOverflowWrapValue;\n /**\n * Ref attached to the underlying typography element.\n */\n typographyRef?: React.RefObject<FocusHandle>;\n /**\n * The variant of Typography to render.\n * @default \"body\"\n */\n variant?: keyof typeof typographyVariantMapping;\n} & Pick<\n HtmlProps,\n | \"ariaCurrent\"\n | \"ariaDescribedBy\"\n | \"ariaLabel\"\n | \"ariaLabelledBy\"\n | \"testId\"\n | \"translate\"\n>;\n\n/**\n * Low-level typography primitive that renders styled text using the Odyssey design\n * system. Prefer the semantic variants (Heading1–Heading6, Paragraph, etc.) over this\n * component for most use cases.\n */\nconst Typography = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component: componentProp,\n id,\n isPresentational,\n overflowWrap,\n testId,\n translate,\n typographyRef,\n variant = \"body\",\n}: TypographyProps) => {\n const component = useMemo(() => {\n if (!componentProp) {\n if (\n variant === \"body\" ||\n variant === \"subordinate\" ||\n variant === \"support\" ||\n variant === \"overline\"\n ) {\n return \"p\";\n } else {\n return variant;\n }\n }\n return componentProp;\n }, [componentProp, variant]);\n\n const localTypographyRef = useRef<HTMLElement>(null);\n useImperativeHandle(typographyRef, () => {\n return {\n focus: () => {\n localTypographyRef.current?.focus();\n },\n };\n }, []);\n\n return (\n <MuiTypography\n aria-current={ariaCurrent}\n aria-describedby={ariaDescribedBy}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n data-se={testId}\n id={id}\n ref={localTypographyRef}\n role={isPresentational ? \"presentation\" : undefined}\n style={overflowWrap ? { overflowWrap } : undefined}\n tabIndex={-1}\n translate={translate}\n variant={typographyVariantMapping[variant]}\n />\n );\n};\n\nconst MemoizedTypography = memo(Typography);\nMemoizedTypography.displayName = \"Typography\";\n\n/**\n * Top-level page heading rendered as an `<h1>` element. Use once per page to mark the\n * primary title.\n */\nconst Heading1 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n isPresentational,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n isPresentational={isPresentational}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h1\"\n />\n);\n\nconst MemoizedHeading1 = memo(Heading1);\nMemoizedHeading1.displayName = \"Heading1\";\n\n/**\n * Second-level section heading rendered as an `<h2>` element.\n */\nconst Heading2 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h2\"\n />\n);\n\nconst MemoizedHeading2 = memo(Heading2);\nMemoizedHeading2.displayName = \"Heading2\";\n\n/**\n * Third-level section heading rendered as an `<h3>` element.\n */\nconst Heading3 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h3\"\n />\n);\n\nconst MemoizedHeading3 = memo(Heading3);\nMemoizedHeading3.displayName = \"Heading3\";\n\n/**\n * Fourth-level section heading rendered as an `<h4>` element.\n */\nconst Heading4 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h4\"\n />\n);\n\nconst MemoizedHeading4 = memo(Heading4);\nMemoizedHeading4.displayName = \"Heading4\";\n\n/**\n * Fifth-level section heading rendered as an `<h5>` element.\n */\nconst Heading5 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h5\"\n />\n);\n\nconst MemoizedHeading5 = memo(Heading5);\nMemoizedHeading5.displayName = \"Heading5\";\n\n/**\n * Sixth-level section heading rendered as an `<h6>` element.\n */\nconst Heading6 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h6\"\n />\n);\n\nconst MemoizedHeading6 = memo(Heading6);\nMemoizedHeading6.displayName = \"Heading6\";\n\n/**\n * Body text rendered as a `<p>` element. Use for standard prose content.\n */\nconst Paragraph = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"body\"\n />\n);\n\nconst MemoizedParagraph = memo(Paragraph);\nMemoizedParagraph.displayName = \"Paragraph\";\n\n/**\n * Subordinate text rendered as a `<p>` element with a reduced visual weight. Use for\n * secondary or supporting information that follows primary body copy.\n */\nconst Subordinate = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"subordinate\"\n />\n);\n\nconst MemoizedSubordinate = memo(Subordinate);\nMemoizedSubordinate.displayName = \"Subordinate\";\n\n/**\n * Support text rendered as a `<p>` element at the smallest body scale. Use for helper\n * text, captions, or fine print.\n */\nconst Support = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"support\"\n />\n);\n\nconst MemoizedSupport = memo(Support);\nMemoizedSupport.displayName = \"Support\";\n\n/**\n * Legend text styled for use as a `<fieldset>` legend or form group label.\n */\nconst Legend = ({\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"legend\"\n />\n);\n\nconst MemoizedLegend = memo(Legend);\nMemoizedLegend.displayName = \"Legend\";\n\n/**\n * Overline text rendered as a `<p>` element in an uppercase, small-caps style. Use to\n * label a section or group before a heading.\n */\nconst Overline = ({\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"overline\"\n />\n);\n\nconst MemoizedOverline = memo(Overline);\nMemoizedOverline.displayName = \"Overline\";\n\nexport {\n MemoizedHeading1 as Heading1,\n MemoizedHeading2 as Heading2,\n MemoizedHeading3 as Heading3,\n MemoizedHeading4 as Heading4,\n MemoizedHeading5 as Heading5,\n MemoizedHeading6 as Heading6,\n MemoizedLegend as Legend,\n MemoizedOverline as Overline,\n MemoizedParagraph as Paragraph,\n MemoizedSubordinate as Subordinate,\n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AAK,EAAEA,KAAM;EACbC,SAAS,EAAEA,SAAU;EACrBE,EAAE,EAAEA,EAAG;EACPE,YAAY,EAAEA,YAAa;EAC3BC,MAAM,EAAEA,MAAO;EACfC,SAAS,EAAEA,SAAU;EACrBE,OAAO,EAAC;AAAU,CACnB,CACF;AAED,MAAMiC,gBAAgB,GAAGpE,IAAI,CAACmE,QAAQ,CAAC;AACvCC,gBAAgB,CAACtB,WAAW,0CAAa;AAEzC,SACEE,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BS,cAAc,IAAID,MAAM,EACxBG,gBAAgB,IAAID,QAAQ,EAC5BP,iBAAiB,IAAID,SAAS,EAC9BG,mBAAmB,IAAID,WAAW,EAClCG,eAAe,IAAID,OAAO,EAC1BlB,kBAAkB,IAAIzB,UAAU","ignoreList":[]}
1
+ {"version":3,"file":"Typography.js","names":["memo","useImperativeHandle","useMemo","useRef","jsx","_jsx","typographyVariantMapping","h1","h2","h3","h4","h5","h6","body","legend","overline","subordinate","support","typographyColorValues","typographyOverflowWrapValues","Typography","ariaCurrent","ariaDescribedBy","ariaLabel","ariaLabelledBy","children","color","component","componentProp","id","isPresentational","overflowWrap","testId","translate","typographyRef","variant","localTypographyRef","focus","current","_Typography","ref","role","undefined","style","tabIndex","MemoizedTypography","displayName","Heading1","MemoizedHeading1","Heading2","MemoizedHeading2","Heading3","MemoizedHeading3","Heading4","MemoizedHeading4","Heading5","MemoizedHeading5","Heading6","MemoizedHeading6","Paragraph","MemoizedParagraph","Subordinate","MemoizedSubordinate","Support","MemoizedSupport","Legend","MemoizedLegend","Overline","MemoizedOverline"],"sources":["../../src/Typography.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport {\n Typography as MuiTypography,\n TypographyProps as MuiTypographyProps,\n} from \"@mui/material\";\nimport {\n CSSProperties,\n ElementType,\n memo,\n ReactNode,\n useImperativeHandle,\n useMemo,\n useRef,\n} from \"react\";\n\nimport { HtmlProps } from \"./HtmlProps.js\";\nimport { FocusHandle } from \"./inputUtils.js\";\n\nexport type TypographyVariantValue =\n | \"h1\"\n | \"h2\"\n | \"h3\"\n | \"h4\"\n | \"h5\"\n | \"h6\"\n | \"body\"\n | \"legend\"\n | \"overline\"\n | \"subordinate\"\n | \"support\";\n\nexport const typographyVariantMapping: Record<\n TypographyVariantValue,\n MuiTypographyProps[\"variant\"]\n> = {\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n h6: \"h6\",\n body: \"body1\",\n legend: \"legend\",\n overline: \"overline\",\n subordinate: \"subtitle1\",\n support: \"subtitle2\",\n} as const;\n\nexport const typographyColorValues = [\n \"primary\",\n \"textPrimary\",\n \"secondary\",\n \"textSecondary\",\n \"error\",\n] as const;\n\nexport const typographyOverflowWrapValues = [\n \"normal\",\n \"break-word\",\n \"anywhere\",\n] as const satisfies readonly NonNullable<CSSProperties[\"overflowWrap\"]>[];\n\nexport type TypographyOverflowWrapValue =\n (typeof typographyOverflowWrapValues)[number];\n\nexport type TypographyProps = {\n /**\n * The text content of the component.\n */\n children: ReactNode;\n /**\n * Controls the text color.\n * - If `'primary'`, default text color.\n * - If `'textPrimary'`, alias for `'primary'`.\n * - If `'secondary'`, subdued text color.\n * - If `'textSecondary'`, alias for `'secondary'`.\n * - If `'error'`, danger red, for error states.\n */\n color?: (typeof typographyColorValues)[number];\n /**\n * The HTML element the component should render, if different from the default.\n */\n component?: ElementType;\n /**\n * The id of the component.\n */\n id?: string;\n /**\n * If `true`, the element is treated as presentational and ignored by screen readers.\n */\n isPresentational?: boolean;\n /**\n * Controls where the text may break to avoid overflowing its container.\n * - If `'normal'`, breaks only at normal word-break points, so a long unbroken string such as an ID or URL overflows.\n * - If `'break-word'`, breaks inside a word only when the word cannot fit on a line of its own.\n * - If `'anywhere'`, breaks inside a word as soon as it reaches the container edge, and the broken word counts toward the container's `min-content` size.\n * @default \"normal\"\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap\n */\n overflowWrap?: TypographyOverflowWrapValue;\n /**\n * Ref attached to the underlying typography element.\n */\n typographyRef?: React.RefObject<FocusHandle>;\n /**\n * The variant of Typography to render.\n * @default \"body\"\n */\n variant?: keyof typeof typographyVariantMapping;\n} & Pick<\n HtmlProps,\n | \"ariaCurrent\"\n | \"ariaDescribedBy\"\n | \"ariaLabel\"\n | \"ariaLabelledBy\"\n | \"testId\"\n | \"translate\"\n>;\n\n/**\n * Low-level typography primitive that renders styled text using the Odyssey design system. Prefer the semantic variants (Heading1–Heading6, Paragraph, etc.) over this component for most use cases.\n */\nconst Typography = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component: componentProp,\n id,\n isPresentational,\n overflowWrap,\n testId,\n translate,\n typographyRef,\n variant = \"body\",\n}: TypographyProps) => {\n const component = useMemo(() => {\n if (!componentProp) {\n if (\n variant === \"body\" ||\n variant === \"subordinate\" ||\n variant === \"support\" ||\n variant === \"overline\"\n ) {\n return \"p\";\n } else {\n return variant;\n }\n }\n return componentProp;\n }, [componentProp, variant]);\n\n const localTypographyRef = useRef<HTMLElement>(null);\n useImperativeHandle(typographyRef, () => {\n return {\n focus: () => {\n localTypographyRef.current?.focus();\n },\n };\n }, []);\n\n return (\n <MuiTypography\n aria-current={ariaCurrent}\n aria-describedby={ariaDescribedBy}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n data-se={testId}\n id={id}\n ref={localTypographyRef}\n role={isPresentational ? \"presentation\" : undefined}\n style={overflowWrap ? { overflowWrap } : undefined}\n tabIndex={-1}\n translate={translate}\n variant={typographyVariantMapping[variant]}\n />\n );\n};\n\nconst MemoizedTypography = memo(Typography);\nMemoizedTypography.displayName = \"Typography\";\n\n/**\n * Top-level page heading rendered as an `<h1>` element. Use once per page to mark the primary title.\n */\nconst Heading1 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n isPresentational,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n isPresentational={isPresentational}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h1\"\n />\n);\n\nconst MemoizedHeading1 = memo(Heading1);\nMemoizedHeading1.displayName = \"Heading1\";\n\n/**\n * Second-level section heading rendered as an `<h2>` element.\n */\nconst Heading2 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h2\"\n />\n);\n\nconst MemoizedHeading2 = memo(Heading2);\nMemoizedHeading2.displayName = \"Heading2\";\n\n/**\n * Third-level section heading rendered as an `<h3>` element.\n */\nconst Heading3 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h3\"\n />\n);\n\nconst MemoizedHeading3 = memo(Heading3);\nMemoizedHeading3.displayName = \"Heading3\";\n\n/**\n * Fourth-level section heading rendered as an `<h4>` element.\n */\nconst Heading4 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h4\"\n />\n);\n\nconst MemoizedHeading4 = memo(Heading4);\nMemoizedHeading4.displayName = \"Heading4\";\n\n/**\n * Fifth-level section heading rendered as an `<h5>` element.\n */\nconst Heading5 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h5\"\n />\n);\n\nconst MemoizedHeading5 = memo(Heading5);\nMemoizedHeading5.displayName = \"Heading5\";\n\n/**\n * Sixth-level section heading rendered as an `<h6>` element.\n */\nconst Heading6 = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"h6\"\n />\n);\n\nconst MemoizedHeading6 = memo(Heading6);\nMemoizedHeading6.displayName = \"Heading6\";\n\n/**\n * Body text rendered as a `<p>` element. Use for standard prose content.\n */\nconst Paragraph = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"body\"\n />\n);\n\nconst MemoizedParagraph = memo(Paragraph);\nMemoizedParagraph.displayName = \"Paragraph\";\n\n/**\n * Subordinate text rendered as a `<p>` element with a reduced visual weight. Use for secondary or supporting information that follows primary body copy.\n */\nconst Subordinate = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"subordinate\"\n />\n);\n\nconst MemoizedSubordinate = memo(Subordinate);\nMemoizedSubordinate.displayName = \"Subordinate\";\n\n/**\n * Support text rendered as a `<p>` element at the smallest body scale. Use for helper text, captions, or fine print.\n */\nconst Support = ({\n ariaCurrent,\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaCurrent={ariaCurrent}\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"support\"\n />\n);\n\nconst MemoizedSupport = memo(Support);\nMemoizedSupport.displayName = \"Support\";\n\n/**\n * Legend text styled for use as a `<fieldset>` legend or form group label.\n */\nconst Legend = ({\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"legend\"\n />\n);\n\nconst MemoizedLegend = memo(Legend);\nMemoizedLegend.displayName = \"Legend\";\n\n/**\n * Overline text rendered as a `<p>` element in an uppercase, small-caps style. Use to label a section or group before a heading.\n */\nconst Overline = ({\n ariaDescribedBy,\n ariaLabel,\n ariaLabelledBy,\n children,\n color,\n component,\n id,\n overflowWrap,\n testId,\n translate,\n}: TypographyProps) => (\n <Typography\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={ariaLabelledBy}\n children={children}\n color={color}\n component={component}\n id={id}\n overflowWrap={overflowWrap}\n testId={testId}\n translate={translate}\n variant=\"overline\"\n />\n);\n\nconst MemoizedOverline = memo(Overline);\nMemoizedOverline.displayName = \"Overline\";\n\nexport {\n MemoizedHeading1 as Heading1,\n MemoizedHeading2 as Heading2,\n MemoizedHeading3 as Heading3,\n MemoizedHeading4 as Heading4,\n MemoizedHeading5 as Heading5,\n MemoizedHeading6 as Heading6,\n MemoizedLegend as Legend,\n MemoizedOverline as Overline,\n MemoizedParagraph as Paragraph,\n MemoizedSubordinate as Subordinate,\n MemoizedSupport as Support,\n MemoizedTypography as Typography,\n};\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA,SAGEA,IAAI,EAEJC,mBAAmB,EACnBC,OAAO,EACPC,MAAM,QACD,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAkBf,OAAO,MAAMC,wBAGZ,GAAG;EACFC,EAAE,EAAE,IAAI;EACRC,EAAE,EAAE,IAAI;EACRC,EAAE,EAAE,IAAI;EACRC,EAAE,EAAE,IAAI;EACRC,EAAE,EAAE,IAAI;EACRC,EAAE,EAAE,IAAI;EACRC,IAAI,EAAE,OAAO;EACbC,MAAM,EAAE,QAAQ;EAChBC,QAAQ,EAAE,UAAU;EACpBC,WAAW,EAAE,WAAW;EACxBC,OAAO,EAAE;AACX,CAAU;AAEV,OAAO,MAAMC,qBAAqB,GAAG,CACnC,SAAS,EACT,aAAa,EACb,WAAW,EACX,eAAe,EACf,OAAO,CACC;AAEV,OAAO,MAAMC,4BAA4B,GAAG,CAC1C,QAAQ,EACR,YAAY,EACZ,UAAU,CAC8D;AA8D1E,MAAMC,UAAU,GAAGA,CAAC;EAClBC,WAAW;EACXC,eAAe;EACfC,SAAS;EACTC,cAAc;EACdC,QAAQ;EACRC,KAAK;EACLC,SAAS,EAAEC,aAAa;EACxBC,EAAE;EACFC,gBAAgB;EAChBC,YAAY;EACZC,MAAM;EACNC,SAAS;EACTC,aAAa;EACbC,OAAO,GAAG;AACK,CAAC,KAAK;EACrB,MAAMR,SAAS,GAAGzB,OAAO,CAAC,MAAM;IAC9B,IAAI,CAAC0B,aAAa,EAAE;MAClB,IACEO,OAAO,KAAK,MAAM,IAClBA,OAAO,KAAK,aAAa,IACzBA,OAAO,KAAK,S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AChB5B,IAAA,CAACe,UAAU;EACTE,eAAe,EAAEA,eAAgB;EACjCC,SAAS,EAAEA,SAAU;EACrBC,cAAc,EAAEA,cAAe;EAC/BC,QAAQ,EAAEA,QAAS;EACnBC,KAAK,EAAEA,KAAM;EACbC,SAAS,EAAEA,SAAU;EACrBE,EAAE,EAAEA,EAAG;EACPE,YAAY,EAAEA,YAAa;EAC3BC,MAAM,EAAEA,MAAO;EACfC,SAAS,EAAEA,SAAU;EACrBE,OAAO,EAAC;AAAU,CACnB,CACF;AAED,MAAMiC,gBAAgB,GAAGpE,IAAI,CAACmE,QAAQ,CAAC;AACvCC,gBAAgB,CAACtB,WAAW,0CAAa;AAEzC,SACEE,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BG,gBAAgB,IAAID,QAAQ,EAC5BS,cAAc,IAAID,MAAM,EACxBG,gBAAgB,IAAID,QAAQ,EAC5BP,iBAAiB,IAAID,SAAS,EAC9BG,mBAAmB,IAAID,WAAW,EAClCG,eAAe,IAAID,OAAO,EAC1BlB,kBAAkB,IAAIzB,UAAU","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"__internal.js","names":[],"sources":["../../src/__internal.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\n/**\n * Internal exports for all components, utilities, and types.\n * This module provides access to internal/unexported items for advanced use cases.\n * These exports are not part of the stable public API and may change without notice.\n */\n\nexport * from \"./Field.js\";\nexport * from \"./HtmlProps.js\";\nexport * from \"./inputUtils.js\";\n\n// Badge\nexport * from \"./Badge.js\";\n// Buttons\nexport * from \"./Buttons/BaseButton.js\";\nexport * from \"./Buttons/BaseMenuButton.js\";\n// ConditionalWrapper\nexport * from \"./ConditionalWrapper.js\";\n// DataView & DataTable\nexport * from \"./DataTable/useRowReordering.js\";\nexport * from \"./DataTable/useScrollIndication.js\";\n// DatePickers\nexport * from \"./DatePickers/DateField.js\";\nexport * from \"./DatePickers/DateFieldActionBar.js\";\nexport * from \"./DatePickers/DateFieldLocalizationProvider.js\";\n// FileUploader\nexport * from \"./FileUploader/FileUploader.js\";\nexport * from \"./FileUploader/FileUploadIllustration.js\";\nexport * from \"./FileUploader/FileUploadPreview.js\";\n// FullScreenOverlay\nexport * from \"./FullScreenOverlay.js\";\nexport * from \"./FullScreenOverlayContext.js\";\n// Miscellaneous Labs\nexport * from \"./labs/DataFilters.js\";\nexport * from \"./labs/DataView/BulkActionsMenu.js\";\nexport * from \"./labs/DataView/CardLayoutContent.js\";\nexport * from \"./labs/DataView/constants.js\";\nexport * from \"./labs/DataView/DataCard.js\";\nexport * from \"./labs/DataView/fetchData.js\";\nexport * from \"./labs/DataView/LayoutSwitcher.js\";\nexport * from \"./labs/DataView/RowActions.js\";\nexport * from \"./labs/DataView/tableConstants.js\";\nexport * from \"./labs/DataView/TableLayoutContent.js\";\nexport * from \"./labs/DataView/TableSettings.js\";\nexport * from \"./labs/DataView/testSupportData.js\";\nexport * from \"./labs/DataView/useFilterConversion.js\";\n// Odyssey Pickers\nexport * from \"./labs/OdysseyPickers/ComposablePicker.js\";\n// MuiProps\n// Exported so a component outside this package can be the child of Odyssey's\n// Tooltip: Tooltip wraps its child in MuiPropsChild, which puts MUI's injected\n// hover/focus props and ref into context, and the child has to call useMuiProps\n// to receive them.\nexport * from \"./MuiPropsChild.js\";\nexport * from \"./MuiPropsContext.js\";\n// OdysseyDesignTokensContext\nexport * from \"./OdysseyDesignTokensContext.js\";\n// SearchField\nexport * from \"./SearchField.js\";\nexport * from \"./tools/createMessageBus.js\";\nexport * from \"./web-component/createReactRootElements.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAQA,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,iBAAiB;AAG/B,cAAc,YAAY;AAE1B,cAAc,yBAAyB;AACvC,cAAc,6BAA6B;AAE3C,cAAc,yBAAyB;AAEvC,cAAc,iCAAiC;AAC/C,cAAc,oCAAoC;AAElD,cAAc,4BAA4B;AAC1C,cAAc,qCAAqC;AACnD,cAAc,gDAAgD;AAE9D,cAAc,gCAAgC;AAC9C,cAAc,0CAA0C;AACxD,cAAc,qCAAqC;AAEnD,cAAc,wBAAwB;AACtC,cAAc,+BAA+B;AAE7C,cAAc,uBAAuB;AACrC,cAAc,oCAAoC;AAClD,cAAc,sCAAsC;AACpD,cAAc,8BAA8B;AAC5C,cAAc,6BAA6B;AAC3C,cAAc,8BAA8B;AAC5C,cAAc,mCAAmC;AACjD,cAAc,+BAA+B;AAC7C,cAAc,mCAAmC;AACjD,cAAc,uCAAuC;AACrD,cAAc,kCAAkC;AAChD,cAAc,oCAAoC;AAClD,cAAc,wCAAwC;AAEtD,cAAc,2CAA2C;AAMzD,cAAc,oBAAoB;AAClC,cAAc,sBAAsB;AAEpC,cAAc,iCAAiC;AAE/C,cAAc,kBAAkB;AAChC,cAAc,6BAA6B;AAC3C,cAAc,4CAA4C","ignoreList":[]}
1
+ {"version":3,"file":"__internal.js","names":[],"sources":["../../src/__internal.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\n/**\n * Internal exports for all components, utilities, and types.\n * This module provides access to internal/unexported items for advanced use cases. These exports are not part of the stable public API and may change without notice.\n */\n\nexport * from \"./Field.js\";\nexport * from \"./HtmlProps.js\";\nexport * from \"./inputUtils.js\";\n\n// Badge\nexport * from \"./Badge.js\";\n// Buttons\nexport * from \"./Buttons/BaseButton.js\";\nexport * from \"./Buttons/BaseMenuButton.js\";\n// ConditionalWrapper\nexport * from \"./ConditionalWrapper.js\";\n// DataView & DataTable\nexport * from \"./DataTable/useRowReordering.js\";\nexport * from \"./DataTable/useScrollIndication.js\";\n// DatePickers\nexport * from \"./DatePickers/DateField.js\";\nexport * from \"./DatePickers/DateFieldActionBar.js\";\nexport * from \"./DatePickers/DateFieldLocalizationProvider.js\";\n// FileUploader\nexport * from \"./FileUploader/FileUploader.js\";\nexport * from \"./FileUploader/FileUploadIllustration.js\";\nexport * from \"./FileUploader/FileUploadPreview.js\";\n// FullScreenOverlay\nexport * from \"./FullScreenOverlay.js\";\nexport * from \"./FullScreenOverlayContext.js\";\n// Miscellaneous Labs\nexport * from \"./labs/DataFilters.js\";\nexport * from \"./labs/DataView/BulkActionsMenu.js\";\nexport * from \"./labs/DataView/CardLayoutContent.js\";\nexport * from \"./labs/DataView/constants.js\";\nexport * from \"./labs/DataView/DataCard.js\";\nexport * from \"./labs/DataView/fetchData.js\";\nexport * from \"./labs/DataView/LayoutSwitcher.js\";\nexport * from \"./labs/DataView/RowActions.js\";\nexport * from \"./labs/DataView/tableConstants.js\";\nexport * from \"./labs/DataView/TableLayoutContent.js\";\nexport * from \"./labs/DataView/TableSettings.js\";\nexport * from \"./labs/DataView/testSupportData.js\";\nexport * from \"./labs/DataView/useFilterConversion.js\";\n// Odyssey Pickers\nexport * from \"./labs/OdysseyPickers/ComposablePicker.js\";\n// MuiProps\n// Exported so a component outside this package can be the child of Odyssey's Tooltip: Tooltip wraps its child in MuiPropsChild, which puts MUI's injected hover/focus props and ref into context, and the child has to call useMuiProps to receive them.\nexport * from \"./MuiPropsChild.js\";\nexport * from \"./MuiPropsContext.js\";\n// OdysseyDesignTokensContext\nexport * from \"./OdysseyDesignTokensContext.js\";\n// SearchField\nexport * from \"./SearchField.js\";\nexport * from \"./tools/createMessageBus.js\";\nexport * from \"./web-component/createReactRootElements.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAOA,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,iBAAiB;AAG/B,cAAc,YAAY;AAE1B,cAAc,yBAAyB;AACvC,cAAc,6BAA6B;AAE3C,cAAc,yBAAyB;AAEvC,cAAc,iCAAiC;AAC/C,cAAc,oCAAoC;AAElD,cAAc,4BAA4B;AAC1C,cAAc,qCAAqC;AACnD,cAAc,gDAAgD;AAE9D,cAAc,gCAAgC;AAC9C,cAAc,0CAA0C;AACxD,cAAc,qCAAqC;AAEnD,cAAc,wBAAwB;AACtC,cAAc,+BAA+B;AAE7C,cAAc,uBAAuB;AACrC,cAAc,oCAAoC;AAClD,cAAc,sCAAsC;AACpD,cAAc,8BAA8B;AAC5C,cAAc,6BAA6B;AAC3C,cAAc,8BAA8B;AAC5C,cAAc,mCAAmC;AACjD,cAAc,+BAA+B;AAC7C,cAAc,mCAAmC;AACjD,cAAc,uCAAuC;AACrD,cAAc,kCAAkC;AAChD,cAAc,oCAAoC;AAClD,cAAc,wCAAwC;AAEtD,cAAc,2CAA2C;AAGzD,cAAc,oBAAoB;AAClC,cAAc,sBAAsB;AAEpC,cAAc,iCAAiC;AAE/C,cAAc,kBAAkB;AAChC,cAAc,6BAA6B;AAC3C,cAAc,4CAA4C","ignoreList":[]}
@@ -215,6 +215,6 @@ const BarChart = props => {
215
215
  });
216
216
  };
217
217
  const MemoizedBarChart = memo(BarChart);
218
- MemoizedBarChart.displayName = "BarChart::pkg=odyssey&odysseyV=1.70.1";
218
+ MemoizedBarChart.displayName = "BarChart::pkg=odyssey&odysseyV=1.71.1";
219
219
  export { MemoizedBarChart as BarChart };
220
220
  //# sourceMappingURL=BarChart.js.map