@okta/odyssey-react-mui 1.73.1 → 1.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (923) hide show
  1. package/README.md +13 -0
  2. package/dist/cjs/Accordion.cjs +1 -1
  3. package/dist/cjs/AnimationContext.cjs +1 -1
  4. package/dist/cjs/Autocomplete.cjs +2 -1
  5. package/dist/cjs/Autocomplete.cjs.map +1 -1
  6. package/dist/cjs/Badge.cjs +1 -1
  7. package/dist/cjs/Banner.cjs +2 -1
  8. package/dist/cjs/Banner.cjs.map +1 -1
  9. package/dist/cjs/Box.cjs +1 -1
  10. package/dist/cjs/Breadcrumbs.cjs +1 -1
  11. package/dist/cjs/Buttons/BaseButton.cjs +1 -1
  12. package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
  13. package/dist/cjs/Buttons/Button.cjs +1 -1
  14. package/dist/cjs/Buttons/MenuButton.cjs +1 -1
  15. package/dist/cjs/Buttons/MenuItem.cjs +1 -1
  16. package/dist/cjs/Callout.cjs +1 -1
  17. package/dist/cjs/Card.cjs +1 -1
  18. package/dist/cjs/CircularProgress.cjs +1 -1
  19. package/dist/cjs/ConditionalWrapper.cjs +1 -1
  20. package/dist/cjs/DataTable/DataTable.cjs +7 -3
  21. package/dist/cjs/DataTable/DataTable.cjs.map +1 -1
  22. package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
  23. package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
  24. package/dist/cjs/DataTable/reorderDataRowsLocally.cjs +16 -3
  25. package/dist/cjs/DataTable/reorderDataRowsLocally.cjs.map +1 -1
  26. package/dist/cjs/DataTable/useRowReordering.cjs +26 -8
  27. package/dist/cjs/DataTable/useRowReordering.cjs.map +1 -1
  28. package/dist/cjs/DatePickers/DateField.cjs +1 -1
  29. package/dist/cjs/DatePickers/DateFieldActionBar.cjs +1 -1
  30. package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs +1 -1
  31. package/dist/cjs/DatePickers/DatePicker.cjs +1 -1
  32. package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
  33. package/dist/cjs/Dialog.cjs +1 -1
  34. package/dist/cjs/Drawer.cjs +1 -1
  35. package/dist/cjs/EmptyState.cjs +1 -1
  36. package/dist/cjs/ErrorMessageList.cjs +1 -1
  37. package/dist/cjs/Field.cjs +1 -1
  38. package/dist/cjs/FieldError.cjs +1 -1
  39. package/dist/cjs/FieldHint.cjs +1 -1
  40. package/dist/cjs/FieldLabel.cjs +1 -1
  41. package/dist/cjs/Fields/Checkbox.cjs +1 -1
  42. package/dist/cjs/Fields/CheckboxGroup.cjs +1 -1
  43. package/dist/cjs/Fields/Radio.cjs +1 -1
  44. package/dist/cjs/Fields/RadioGroup.cjs +1 -1
  45. package/dist/cjs/Fieldset.cjs +1 -1
  46. package/dist/cjs/FileUploader/FileUploadIllustration.cjs +1 -1
  47. package/dist/cjs/FileUploader/FileUploadPreview.cjs +1 -1
  48. package/dist/cjs/FileUploader/FileUploader.cjs +1 -1
  49. package/dist/cjs/Form.cjs +1 -1
  50. package/dist/cjs/FullScreenOverlay.cjs +1 -1
  51. package/dist/cjs/FullScreenOverlayContext.cjs +1 -1
  52. package/dist/cjs/HintLink.cjs +1 -1
  53. package/dist/cjs/IconWithTooltip.cjs +1 -1
  54. package/dist/cjs/Link.cjs +1 -1
  55. package/dist/cjs/MuiPropsChild.cjs +1 -1
  56. package/dist/cjs/NativeSelect.cjs +1 -1
  57. package/dist/cjs/OdysseyCacheProvider.cjs +1 -1
  58. package/dist/cjs/OdysseyProvider.cjs +1 -1
  59. package/dist/cjs/OdysseyThemeProvider.cjs +1 -1
  60. package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
  61. package/dist/cjs/Pagination/Pagination.cjs +1 -1
  62. package/dist/cjs/PasswordField.cjs +1 -1
  63. package/dist/cjs/ScreenReaderText.cjs +1 -1
  64. package/dist/cjs/SearchField.cjs +1 -1
  65. package/dist/cjs/Select.cjs +7 -3
  66. package/dist/cjs/Select.cjs.map +1 -1
  67. package/dist/cjs/Stack.cjs +1 -1
  68. package/dist/cjs/Status.cjs +1 -1
  69. package/dist/cjs/Surface.cjs +1 -1
  70. package/dist/cjs/Switch.cjs +2 -2
  71. package/dist/cjs/Tabs.cjs +1 -1
  72. package/dist/cjs/Tag.cjs +3 -7
  73. package/dist/cjs/Tag.cjs.map +1 -1
  74. package/dist/cjs/TagList.cjs +14 -11
  75. package/dist/cjs/TagList.cjs.map +1 -1
  76. package/dist/cjs/TextField.cjs +1 -1
  77. package/dist/cjs/Toast.cjs +1 -1
  78. package/dist/cjs/ToastStack.cjs +1 -1
  79. package/dist/cjs/Tooltip.cjs +1 -1
  80. package/dist/cjs/Typography.cjs +12 -12
  81. package/dist/cjs/__internal.cjs +71 -0
  82. package/dist/cjs/__internal.cjs.map +1 -1
  83. package/dist/cjs/charts/index.cjs +3 -4
  84. package/dist/cjs/charts/index.cjs.map +1 -1
  85. package/dist/cjs/charts/{utils/useStableValue.cjs → movedToOdysseyLabs.cjs} +17 -14
  86. package/dist/cjs/charts/movedToOdysseyLabs.cjs.map +1 -0
  87. package/dist/cjs/createUniqueId.cjs +40 -4
  88. package/dist/cjs/createUniqueId.cjs.map +1 -1
  89. package/dist/cjs/fullscreen/FullscreenButton.cjs +1 -1
  90. package/dist/cjs/fullscreen/FullscreenRegion.cjs +1 -1
  91. package/dist/cjs/icons.generated/Add.cjs +1 -1
  92. package/dist/cjs/icons.generated/AddCircle.cjs +1 -1
  93. package/dist/cjs/icons.generated/Apps.cjs +1 -1
  94. package/dist/cjs/icons.generated/AppsSelected.cjs +1 -1
  95. package/dist/cjs/icons.generated/ArrowBottom.cjs +1 -1
  96. package/dist/cjs/icons.generated/ArrowDown.cjs +1 -1
  97. package/dist/cjs/icons.generated/ArrowLeft.cjs +1 -1
  98. package/dist/cjs/icons.generated/ArrowLowerLeft.cjs +1 -1
  99. package/dist/cjs/icons.generated/ArrowLowerRight.cjs +1 -1
  100. package/dist/cjs/icons.generated/ArrowRight.cjs +1 -1
  101. package/dist/cjs/icons.generated/ArrowTop.cjs +1 -1
  102. package/dist/cjs/icons.generated/ArrowUnsorted.cjs +1 -1
  103. package/dist/cjs/icons.generated/ArrowUp.cjs +1 -1
  104. package/dist/cjs/icons.generated/ArrowUpperLeft.cjs +1 -1
  105. package/dist/cjs/icons.generated/ArrowUpperRight.cjs +1 -1
  106. package/dist/cjs/icons.generated/Bug.cjs +1 -1
  107. package/dist/cjs/icons.generated/Calendar.cjs +1 -1
  108. package/dist/cjs/icons.generated/Call.cjs +1 -1
  109. package/dist/cjs/icons.generated/Chat.cjs +1 -1
  110. package/dist/cjs/icons.generated/Check.cjs +1 -1
  111. package/dist/cjs/icons.generated/CheckCircleFilled.cjs +1 -1
  112. package/dist/cjs/icons.generated/ChevronDown.cjs +1 -1
  113. package/dist/cjs/icons.generated/ChevronLeft.cjs +1 -1
  114. package/dist/cjs/icons.generated/ChevronRight.cjs +1 -1
  115. package/dist/cjs/icons.generated/ChevronUp.cjs +1 -1
  116. package/dist/cjs/icons.generated/Clock.cjs +1 -1
  117. package/dist/cjs/icons.generated/Close.cjs +1 -1
  118. package/dist/cjs/icons.generated/CloseCircleFilled.cjs +1 -1
  119. package/dist/cjs/icons.generated/CollapseLeft.cjs +1 -1
  120. package/dist/cjs/icons.generated/CollapseRight.cjs +1 -1
  121. package/dist/cjs/icons.generated/Copy.cjs +1 -1
  122. package/dist/cjs/icons.generated/Customizations.cjs +1 -1
  123. package/dist/cjs/icons.generated/CustomizationsSelected.cjs +1 -1
  124. package/dist/cjs/icons.generated/DangerDiamond.cjs +1 -1
  125. package/dist/cjs/icons.generated/DangerDiamondFilled.cjs +1 -1
  126. package/dist/cjs/icons.generated/Delete.cjs +1 -1
  127. package/dist/cjs/icons.generated/Deny.cjs +1 -1
  128. package/dist/cjs/icons.generated/Devices.cjs +1 -1
  129. package/dist/cjs/icons.generated/Directory.cjs +1 -1
  130. package/dist/cjs/icons.generated/DirectorySelected.cjs +1 -1
  131. package/dist/cjs/icons.generated/Documentation.cjs +1 -1
  132. package/dist/cjs/icons.generated/Download.cjs +1 -1
  133. package/dist/cjs/icons.generated/DragIndicator.cjs +1 -1
  134. package/dist/cjs/icons.generated/Edit.cjs +1 -1
  135. package/dist/cjs/icons.generated/ExpandLeft.cjs +1 -1
  136. package/dist/cjs/icons.generated/ExpandRight.cjs +1 -1
  137. package/dist/cjs/icons.generated/ExternalLink.cjs +1 -1
  138. package/dist/cjs/icons.generated/Filter.cjs +1 -1
  139. package/dist/cjs/icons.generated/Folder.cjs +1 -1
  140. package/dist/cjs/icons.generated/FullscreenEnter.cjs +1 -1
  141. package/dist/cjs/icons.generated/FullscreenExit.cjs +1 -1
  142. package/dist/cjs/icons.generated/Globe.cjs +1 -1
  143. package/dist/cjs/icons.generated/Grid.cjs +1 -1
  144. package/dist/cjs/icons.generated/Group.cjs +1 -1
  145. package/dist/cjs/icons.generated/Happy.cjs +1 -1
  146. package/dist/cjs/icons.generated/Hide.cjs +1 -1
  147. package/dist/cjs/icons.generated/Home.cjs +1 -1
  148. package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
  149. package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
  150. package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
  151. package/dist/cjs/icons.generated/InformationCircle.cjs +1 -1
  152. package/dist/cjs/icons.generated/InformationCircleFilled.cjs +1 -1
  153. package/dist/cjs/icons.generated/Link.cjs +1 -1
  154. package/dist/cjs/icons.generated/List.cjs +1 -1
  155. package/dist/cjs/icons.generated/Lock.cjs +1 -1
  156. package/dist/cjs/icons.generated/Menu.cjs +1 -1
  157. package/dist/cjs/icons.generated/More.cjs +1 -1
  158. package/dist/cjs/icons.generated/Neutral.cjs +1 -1
  159. package/dist/cjs/icons.generated/Notification.cjs +1 -1
  160. package/dist/cjs/icons.generated/Pause.cjs +1 -1
  161. package/dist/cjs/icons.generated/QuestionCircle.cjs +1 -1
  162. package/dist/cjs/icons.generated/QuestionCircleFilled.cjs +1 -1
  163. package/dist/cjs/icons.generated/Refresh.cjs +1 -1
  164. package/dist/cjs/icons.generated/Reports.cjs +1 -1
  165. package/dist/cjs/icons.generated/ReportsSelected.cjs +1 -1
  166. package/dist/cjs/icons.generated/Reset.cjs +1 -1
  167. package/dist/cjs/icons.generated/Resume.cjs +1 -1
  168. package/dist/cjs/icons.generated/Sad.cjs +1 -1
  169. package/dist/cjs/icons.generated/Same.cjs +1 -1
  170. package/dist/cjs/icons.generated/Search.cjs +1 -1
  171. package/dist/cjs/icons.generated/Security.cjs +1 -1
  172. package/dist/cjs/icons.generated/SecuritySelected.cjs +1 -1
  173. package/dist/cjs/icons.generated/Send.cjs +1 -1
  174. package/dist/cjs/icons.generated/Server.cjs +1 -1
  175. package/dist/cjs/icons.generated/Settings.cjs +1 -1
  176. package/dist/cjs/icons.generated/SettingsSelected.cjs +1 -1
  177. package/dist/cjs/icons.generated/Show.cjs +1 -1
  178. package/dist/cjs/icons.generated/Sparkle.cjs +1 -1
  179. package/dist/cjs/icons.generated/Subtract.cjs +1 -1
  180. package/dist/cjs/icons.generated/Sync.cjs +1 -1
  181. package/dist/cjs/icons.generated/ThumbsDown.cjs +1 -1
  182. package/dist/cjs/icons.generated/ThumbsUp.cjs +1 -1
  183. package/dist/cjs/icons.generated/Unlock.cjs +1 -1
  184. package/dist/cjs/icons.generated/Upload.cjs +1 -1
  185. package/dist/cjs/icons.generated/User.cjs +1 -1
  186. package/dist/cjs/icons.generated/Video.cjs +1 -1
  187. package/dist/cjs/icons.generated/Warning.cjs +1 -1
  188. package/dist/cjs/icons.generated/WarningFilled.cjs +1 -1
  189. package/dist/cjs/icons.generated/Workflows.cjs +1 -1
  190. package/dist/cjs/icons.generated/WorkflowsSelected.cjs +1 -1
  191. package/dist/cjs/index.cjs.map +1 -1
  192. package/dist/cjs/labs/AppTile.cjs +1 -1
  193. package/dist/cjs/labs/DataFilters.cjs +2 -2
  194. package/dist/cjs/labs/DataTablePagination.cjs +16 -8
  195. package/dist/cjs/labs/DataTablePagination.cjs.map +1 -1
  196. package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +9 -6
  197. package/dist/cjs/labs/DataView/BulkActionsMenu.cjs.map +1 -1
  198. package/dist/cjs/labs/DataView/CardLayoutContent.cjs +31 -9
  199. package/dist/cjs/labs/DataView/CardLayoutContent.cjs.map +1 -1
  200. package/dist/cjs/labs/DataView/DataCard.cjs +1 -1
  201. package/dist/cjs/labs/DataView/DataTable.cjs +1 -1
  202. package/dist/cjs/labs/DataView/DataView.cjs +14 -8
  203. package/dist/cjs/labs/DataView/DataView.cjs.map +1 -1
  204. package/dist/cjs/labs/DataView/DetailPanel.cjs +1 -1
  205. package/dist/cjs/labs/DataView/LayoutSwitcher.cjs +1 -1
  206. package/dist/cjs/labs/DataView/RowActions.cjs +11 -9
  207. package/dist/cjs/labs/DataView/RowActions.cjs.map +1 -1
  208. package/dist/cjs/labs/DataView/TableLayoutContent.cjs +15 -8
  209. package/dist/cjs/labs/DataView/TableLayoutContent.cjs.map +1 -1
  210. package/dist/cjs/labs/DataView/TableSettings.cjs +1 -1
  211. package/dist/cjs/labs/DatePickers/DateTimeField.cjs +1 -1
  212. package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +1 -1
  213. package/dist/cjs/labs/GroupPicker.cjs +10 -1
  214. package/dist/cjs/labs/GroupPicker.cjs.map +1 -1
  215. package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +2 -1
  216. package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs.map +1 -1
  217. package/dist/cjs/labs/OdysseyPickers/Picker.cjs +1 -1
  218. package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs +1 -1
  219. package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs +1 -1
  220. package/dist/cjs/labs/OdysseyPickers/SearchDropdown.cjs +1 -1
  221. package/dist/cjs/labs/PageTemplate/DocumentationLink.cjs +1 -1
  222. package/dist/cjs/labs/PageTemplate/Layout.cjs +1 -1
  223. package/dist/cjs/labs/PageTemplate/PageTemplate.cjs +1 -1
  224. package/dist/cjs/labs/PaginatedTable.cjs +4 -1
  225. package/dist/cjs/labs/PaginatedTable.cjs.map +1 -1
  226. package/dist/cjs/labs/StaticTable.cjs +4 -1
  227. package/dist/cjs/labs/StaticTable.cjs.map +1 -1
  228. package/dist/cjs/labs/UserProfile.cjs +1 -1
  229. package/dist/cjs/labs/UserProfileMenuButton.cjs +1 -1
  230. package/dist/cjs/logos.generated/Duo.cjs +1 -1
  231. package/dist/cjs/logos.generated/GoogleAuth.cjs +1 -1
  232. package/dist/cjs/logos.generated/OktaVerify.cjs +1 -1
  233. package/dist/cjs/logos.generated/Persona.cjs +1 -1
  234. package/dist/cjs/logos.generated/SymantecVip.cjs +1 -1
  235. package/dist/cjs/logos.generated/Yubikey.cjs +1 -1
  236. package/dist/cjs/message-bus/fullscreen/createFullscreenId.cjs +3 -1
  237. package/dist/cjs/message-bus/fullscreen/createFullscreenId.cjs.map +1 -1
  238. package/dist/cjs/properties/ts/odyssey-react-mui.cjs +39 -5
  239. package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
  240. package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +0 -4
  241. package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
  242. package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +0 -4
  243. package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
  244. package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +0 -4
  245. package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
  246. package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +0 -4
  247. package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
  248. package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +0 -4
  249. package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs.map +1 -1
  250. package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs +0 -4
  251. package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs.map +1 -1
  252. package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs +0 -4
  253. package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
  254. package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +0 -4
  255. package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
  256. package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +0 -4
  257. package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
  258. package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs +0 -4
  259. package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs.map +1 -1
  260. package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs +0 -4
  261. package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs.map +1 -1
  262. package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs +0 -4
  263. package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs.map +1 -1
  264. package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs +0 -4
  265. package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
  266. package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +0 -4
  267. package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs.map +1 -1
  268. package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs +0 -4
  269. package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs.map +1 -1
  270. package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs +0 -4
  271. package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
  272. package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +0 -4
  273. package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs.map +1 -1
  274. package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs +39 -5
  275. package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs.map +1 -1
  276. package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs +39 -5
  277. package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs.map +1 -1
  278. package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs +0 -4
  279. package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs.map +1 -1
  280. package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs +0 -4
  281. package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs.map +1 -1
  282. package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs +0 -4
  283. package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs.map +1 -1
  284. package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs +0 -4
  285. package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
  286. package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +0 -4
  287. package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs.map +1 -1
  288. package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs +0 -4
  289. package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs.map +1 -1
  290. package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs +0 -4
  291. package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs.map +1 -1
  292. package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs +0 -4
  293. package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
  294. package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +0 -4
  295. package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
  296. package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +0 -4
  297. package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs.map +1 -1
  298. package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs +0 -4
  299. package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
  300. package/dist/cjs/theme/components/Alert.cjs +26 -15
  301. package/dist/cjs/theme/components/Alert.cjs.map +1 -1
  302. package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs +1 -1
  303. package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -1
  304. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +1 -1
  305. package/dist/cjs/ui-shell/SideNav/NavAccordion.cjs +1 -1
  306. package/dist/cjs/ui-shell/SideNav/SideNav.cjs +1 -1
  307. package/dist/cjs/ui-shell/SideNav/SideNavFooterContent.cjs +1 -1
  308. package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs +1 -1
  309. package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs +2 -2
  310. package/dist/cjs/ui-shell/SideNav/SideNavItemLinkContent.cjs +1 -1
  311. package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs +1 -1
  312. package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs +2 -2
  313. package/dist/cjs/ui-shell/SideNav/SortableList/SortableItem.cjs +6 -0
  314. package/dist/cjs/ui-shell/SideNav/SortableList/SortableItem.cjs.map +1 -1
  315. package/dist/cjs/ui-shell/SideNav/SortableList/SortableList.cjs +3 -0
  316. package/dist/cjs/ui-shell/SideNav/SortableList/SortableList.cjs.map +1 -1
  317. package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
  318. package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
  319. package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
  320. package/dist/cjs/ui-shell/UiShell.cjs +1 -1
  321. package/dist/cjs/ui-shell/UiShellLogo.cjs +1 -1
  322. package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
  323. package/dist/cjs/useMaterialReactTableLocalization.cjs +74 -0
  324. package/dist/cjs/useMaterialReactTableLocalization.cjs.map +1 -0
  325. package/dist/cjs/useStableCallback.cjs +12 -5
  326. package/dist/cjs/useStableCallback.cjs.map +1 -1
  327. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  328. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  329. package/dist/esm/Accordion.js +1 -1
  330. package/dist/esm/AnimationContext.js +1 -1
  331. package/dist/esm/Autocomplete.js +2 -1
  332. package/dist/esm/Autocomplete.js.map +1 -1
  333. package/dist/esm/Badge.js +1 -1
  334. package/dist/esm/Banner.js +2 -1
  335. package/dist/esm/Banner.js.map +1 -1
  336. package/dist/esm/Box.js +1 -1
  337. package/dist/esm/Breadcrumbs.js +1 -1
  338. package/dist/esm/Buttons/BaseButton.js +1 -1
  339. package/dist/esm/Buttons/BaseMenuButton.js +1 -1
  340. package/dist/esm/Buttons/Button.js +1 -1
  341. package/dist/esm/Buttons/MenuButton.js +1 -1
  342. package/dist/esm/Buttons/MenuItem.js +1 -1
  343. package/dist/esm/Callout.js +1 -1
  344. package/dist/esm/Card.js +1 -1
  345. package/dist/esm/CircularProgress.js +1 -1
  346. package/dist/esm/ConditionalWrapper.js +1 -1
  347. package/dist/esm/DataTable/DataTable.js +7 -3
  348. package/dist/esm/DataTable/DataTable.js.map +1 -1
  349. package/dist/esm/DataTable/DataTableRowActions.js +1 -1
  350. package/dist/esm/DataTable/DataTableSettings.js +1 -1
  351. package/dist/esm/DataTable/reorderDataRowsLocally.js +13 -2
  352. package/dist/esm/DataTable/reorderDataRowsLocally.js.map +1 -1
  353. package/dist/esm/DataTable/useRowReordering.js +27 -9
  354. package/dist/esm/DataTable/useRowReordering.js.map +1 -1
  355. package/dist/esm/DatePickers/DateField.js +1 -1
  356. package/dist/esm/DatePickers/DateFieldActionBar.js +1 -1
  357. package/dist/esm/DatePickers/DateFieldLocalizationProvider.js +1 -1
  358. package/dist/esm/DatePickers/DatePicker.js +1 -1
  359. package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
  360. package/dist/esm/Dialog.js +1 -1
  361. package/dist/esm/Drawer.js +1 -1
  362. package/dist/esm/EmptyState.js +1 -1
  363. package/dist/esm/ErrorMessageList.js +1 -1
  364. package/dist/esm/Field.js +1 -1
  365. package/dist/esm/FieldError.js +1 -1
  366. package/dist/esm/FieldHint.js +1 -1
  367. package/dist/esm/FieldLabel.js +1 -1
  368. package/dist/esm/Fields/Checkbox.js +1 -1
  369. package/dist/esm/Fields/CheckboxGroup.js +1 -1
  370. package/dist/esm/Fields/Radio.js +1 -1
  371. package/dist/esm/Fields/RadioGroup.js +1 -1
  372. package/dist/esm/Fieldset.js +1 -1
  373. package/dist/esm/FileUploader/FileUploadIllustration.js +1 -1
  374. package/dist/esm/FileUploader/FileUploadPreview.js +1 -1
  375. package/dist/esm/FileUploader/FileUploader.js +1 -1
  376. package/dist/esm/Form.js +1 -1
  377. package/dist/esm/FullScreenOverlay.js +1 -1
  378. package/dist/esm/FullScreenOverlayContext.js +1 -1
  379. package/dist/esm/HintLink.js +1 -1
  380. package/dist/esm/IconWithTooltip.js +1 -1
  381. package/dist/esm/Link.js +1 -1
  382. package/dist/esm/MuiPropsChild.js +1 -1
  383. package/dist/esm/NativeSelect.js +1 -1
  384. package/dist/esm/OdysseyCacheProvider.js +1 -1
  385. package/dist/esm/OdysseyProvider.js +1 -1
  386. package/dist/esm/OdysseyThemeProvider.js +1 -1
  387. package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
  388. package/dist/esm/Pagination/Pagination.js +1 -1
  389. package/dist/esm/PasswordField.js +1 -1
  390. package/dist/esm/ScreenReaderText.js +1 -1
  391. package/dist/esm/SearchField.js +1 -1
  392. package/dist/esm/Select.js +7 -3
  393. package/dist/esm/Select.js.map +1 -1
  394. package/dist/esm/Stack.js +1 -1
  395. package/dist/esm/Status.js +1 -1
  396. package/dist/esm/Surface.js +1 -1
  397. package/dist/esm/Switch.js +2 -2
  398. package/dist/esm/Tabs.js +1 -1
  399. package/dist/esm/Tag.js +4 -8
  400. package/dist/esm/Tag.js.map +1 -1
  401. package/dist/esm/TagList.js +12 -11
  402. package/dist/esm/TagList.js.map +1 -1
  403. package/dist/esm/TextField.js +1 -1
  404. package/dist/esm/Toast.js +1 -1
  405. package/dist/esm/ToastStack.js +1 -1
  406. package/dist/esm/Tooltip.js +1 -1
  407. package/dist/esm/Typography.js +12 -12
  408. package/dist/esm/__internal.js +3 -0
  409. package/dist/esm/__internal.js.map +1 -1
  410. package/dist/esm/charts/index.js +1 -2
  411. package/dist/esm/charts/index.js.map +1 -1
  412. package/dist/{cjs/charts/utils/resolveChartLocale.cjs → esm/charts/movedToOdysseyLabs.js} +16 -17
  413. package/dist/esm/charts/movedToOdysseyLabs.js.map +1 -0
  414. package/dist/esm/createUniqueId.js +37 -3
  415. package/dist/esm/createUniqueId.js.map +1 -1
  416. package/dist/esm/fullscreen/FullscreenButton.js +1 -1
  417. package/dist/esm/fullscreen/FullscreenRegion.js +1 -1
  418. package/dist/esm/icons.generated/Add.js +1 -1
  419. package/dist/esm/icons.generated/AddCircle.js +1 -1
  420. package/dist/esm/icons.generated/Apps.js +1 -1
  421. package/dist/esm/icons.generated/AppsSelected.js +1 -1
  422. package/dist/esm/icons.generated/ArrowBottom.js +1 -1
  423. package/dist/esm/icons.generated/ArrowDown.js +1 -1
  424. package/dist/esm/icons.generated/ArrowLeft.js +1 -1
  425. package/dist/esm/icons.generated/ArrowLowerLeft.js +1 -1
  426. package/dist/esm/icons.generated/ArrowLowerRight.js +1 -1
  427. package/dist/esm/icons.generated/ArrowRight.js +1 -1
  428. package/dist/esm/icons.generated/ArrowTop.js +1 -1
  429. package/dist/esm/icons.generated/ArrowUnsorted.js +1 -1
  430. package/dist/esm/icons.generated/ArrowUp.js +1 -1
  431. package/dist/esm/icons.generated/ArrowUpperLeft.js +1 -1
  432. package/dist/esm/icons.generated/ArrowUpperRight.js +1 -1
  433. package/dist/esm/icons.generated/Bug.js +1 -1
  434. package/dist/esm/icons.generated/Calendar.js +1 -1
  435. package/dist/esm/icons.generated/Call.js +1 -1
  436. package/dist/esm/icons.generated/Chat.js +1 -1
  437. package/dist/esm/icons.generated/Check.js +1 -1
  438. package/dist/esm/icons.generated/CheckCircleFilled.js +1 -1
  439. package/dist/esm/icons.generated/ChevronDown.js +1 -1
  440. package/dist/esm/icons.generated/ChevronLeft.js +1 -1
  441. package/dist/esm/icons.generated/ChevronRight.js +1 -1
  442. package/dist/esm/icons.generated/ChevronUp.js +1 -1
  443. package/dist/esm/icons.generated/Clock.js +1 -1
  444. package/dist/esm/icons.generated/Close.js +1 -1
  445. package/dist/esm/icons.generated/CloseCircleFilled.js +1 -1
  446. package/dist/esm/icons.generated/CollapseLeft.js +1 -1
  447. package/dist/esm/icons.generated/CollapseRight.js +1 -1
  448. package/dist/esm/icons.generated/Copy.js +1 -1
  449. package/dist/esm/icons.generated/Customizations.js +1 -1
  450. package/dist/esm/icons.generated/CustomizationsSelected.js +1 -1
  451. package/dist/esm/icons.generated/DangerDiamond.js +1 -1
  452. package/dist/esm/icons.generated/DangerDiamondFilled.js +1 -1
  453. package/dist/esm/icons.generated/Delete.js +1 -1
  454. package/dist/esm/icons.generated/Deny.js +1 -1
  455. package/dist/esm/icons.generated/Devices.js +1 -1
  456. package/dist/esm/icons.generated/Directory.js +1 -1
  457. package/dist/esm/icons.generated/DirectorySelected.js +1 -1
  458. package/dist/esm/icons.generated/Documentation.js +1 -1
  459. package/dist/esm/icons.generated/Download.js +1 -1
  460. package/dist/esm/icons.generated/DragIndicator.js +1 -1
  461. package/dist/esm/icons.generated/Edit.js +1 -1
  462. package/dist/esm/icons.generated/ExpandLeft.js +1 -1
  463. package/dist/esm/icons.generated/ExpandRight.js +1 -1
  464. package/dist/esm/icons.generated/ExternalLink.js +1 -1
  465. package/dist/esm/icons.generated/Filter.js +1 -1
  466. package/dist/esm/icons.generated/Folder.js +1 -1
  467. package/dist/esm/icons.generated/FullscreenEnter.js +1 -1
  468. package/dist/esm/icons.generated/FullscreenExit.js +1 -1
  469. package/dist/esm/icons.generated/Globe.js +1 -1
  470. package/dist/esm/icons.generated/Grid.js +1 -1
  471. package/dist/esm/icons.generated/Group.js +1 -1
  472. package/dist/esm/icons.generated/Happy.js +1 -1
  473. package/dist/esm/icons.generated/Hide.js +1 -1
  474. package/dist/esm/icons.generated/Home.js +1 -1
  475. package/dist/esm/icons.generated/HomeSelected.js +1 -1
  476. package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
  477. package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
  478. package/dist/esm/icons.generated/InformationCircle.js +1 -1
  479. package/dist/esm/icons.generated/InformationCircleFilled.js +1 -1
  480. package/dist/esm/icons.generated/Link.js +1 -1
  481. package/dist/esm/icons.generated/List.js +1 -1
  482. package/dist/esm/icons.generated/Lock.js +1 -1
  483. package/dist/esm/icons.generated/Menu.js +1 -1
  484. package/dist/esm/icons.generated/More.js +1 -1
  485. package/dist/esm/icons.generated/Neutral.js +1 -1
  486. package/dist/esm/icons.generated/Notification.js +1 -1
  487. package/dist/esm/icons.generated/Pause.js +1 -1
  488. package/dist/esm/icons.generated/QuestionCircle.js +1 -1
  489. package/dist/esm/icons.generated/QuestionCircleFilled.js +1 -1
  490. package/dist/esm/icons.generated/Refresh.js +1 -1
  491. package/dist/esm/icons.generated/Reports.js +1 -1
  492. package/dist/esm/icons.generated/ReportsSelected.js +1 -1
  493. package/dist/esm/icons.generated/Reset.js +1 -1
  494. package/dist/esm/icons.generated/Resume.js +1 -1
  495. package/dist/esm/icons.generated/Sad.js +1 -1
  496. package/dist/esm/icons.generated/Same.js +1 -1
  497. package/dist/esm/icons.generated/Search.js +1 -1
  498. package/dist/esm/icons.generated/Security.js +1 -1
  499. package/dist/esm/icons.generated/SecuritySelected.js +1 -1
  500. package/dist/esm/icons.generated/Send.js +1 -1
  501. package/dist/esm/icons.generated/Server.js +1 -1
  502. package/dist/esm/icons.generated/Settings.js +1 -1
  503. package/dist/esm/icons.generated/SettingsSelected.js +1 -1
  504. package/dist/esm/icons.generated/Show.js +1 -1
  505. package/dist/esm/icons.generated/Sparkle.js +1 -1
  506. package/dist/esm/icons.generated/Subtract.js +1 -1
  507. package/dist/esm/icons.generated/Sync.js +1 -1
  508. package/dist/esm/icons.generated/ThumbsDown.js +1 -1
  509. package/dist/esm/icons.generated/ThumbsUp.js +1 -1
  510. package/dist/esm/icons.generated/Unlock.js +1 -1
  511. package/dist/esm/icons.generated/Upload.js +1 -1
  512. package/dist/esm/icons.generated/User.js +1 -1
  513. package/dist/esm/icons.generated/Video.js +1 -1
  514. package/dist/esm/icons.generated/Warning.js +1 -1
  515. package/dist/esm/icons.generated/WarningFilled.js +1 -1
  516. package/dist/esm/icons.generated/Workflows.js +1 -1
  517. package/dist/esm/icons.generated/WorkflowsSelected.js +1 -1
  518. package/dist/esm/index.js.map +1 -1
  519. package/dist/esm/labs/AppTile.js +1 -1
  520. package/dist/esm/labs/DataFilters.js +2 -2
  521. package/dist/esm/labs/DataTablePagination.js +17 -9
  522. package/dist/esm/labs/DataTablePagination.js.map +1 -1
  523. package/dist/esm/labs/DataView/BulkActionsMenu.js +9 -6
  524. package/dist/esm/labs/DataView/BulkActionsMenu.js.map +1 -1
  525. package/dist/esm/labs/DataView/CardLayoutContent.js +31 -9
  526. package/dist/esm/labs/DataView/CardLayoutContent.js.map +1 -1
  527. package/dist/esm/labs/DataView/DataCard.js +1 -1
  528. package/dist/esm/labs/DataView/DataTable.js +1 -1
  529. package/dist/esm/labs/DataView/DataView.js +14 -8
  530. package/dist/esm/labs/DataView/DataView.js.map +1 -1
  531. package/dist/esm/labs/DataView/DetailPanel.js +1 -1
  532. package/dist/esm/labs/DataView/LayoutSwitcher.js +1 -1
  533. package/dist/esm/labs/DataView/RowActions.js +11 -9
  534. package/dist/esm/labs/DataView/RowActions.js.map +1 -1
  535. package/dist/esm/labs/DataView/TableLayoutContent.js +15 -8
  536. package/dist/esm/labs/DataView/TableLayoutContent.js.map +1 -1
  537. package/dist/esm/labs/DataView/TableSettings.js +1 -1
  538. package/dist/esm/labs/DatePickers/DateTimeField.js +1 -1
  539. package/dist/esm/labs/DatePickers/DateTimePicker.js +1 -1
  540. package/dist/esm/labs/GroupPicker.js +10 -1
  541. package/dist/esm/labs/GroupPicker.js.map +1 -1
  542. package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +2 -1
  543. package/dist/esm/labs/OdysseyPickers/ComposablePicker.js.map +1 -1
  544. package/dist/esm/labs/OdysseyPickers/Picker.js +1 -1
  545. package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js +1 -1
  546. package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js +1 -1
  547. package/dist/esm/labs/OdysseyPickers/SearchDropdown.js +1 -1
  548. package/dist/esm/labs/PageTemplate/DocumentationLink.js +1 -1
  549. package/dist/esm/labs/PageTemplate/Layout.js +1 -1
  550. package/dist/esm/labs/PageTemplate/PageTemplate.js +1 -1
  551. package/dist/esm/labs/PaginatedTable.js +4 -1
  552. package/dist/esm/labs/PaginatedTable.js.map +1 -1
  553. package/dist/esm/labs/StaticTable.js +4 -1
  554. package/dist/esm/labs/StaticTable.js.map +1 -1
  555. package/dist/esm/labs/UserProfile.js +1 -1
  556. package/dist/esm/labs/UserProfileMenuButton.js +1 -1
  557. package/dist/esm/logos.generated/Duo.js +1 -1
  558. package/dist/esm/logos.generated/GoogleAuth.js +1 -1
  559. package/dist/esm/logos.generated/OktaVerify.js +1 -1
  560. package/dist/esm/logos.generated/Persona.js +1 -1
  561. package/dist/esm/logos.generated/SymantecVip.js +1 -1
  562. package/dist/esm/logos.generated/Yubikey.js +1 -1
  563. package/dist/esm/message-bus/fullscreen/createFullscreenId.js +3 -1
  564. package/dist/esm/message-bus/fullscreen/createFullscreenId.js.map +1 -1
  565. package/dist/esm/properties/ts/odyssey-react-mui.js +39 -5
  566. package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
  567. package/dist/esm/properties/ts/odyssey-react-mui_cs.js +0 -4
  568. package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
  569. package/dist/esm/properties/ts/odyssey-react-mui_da.js +0 -4
  570. package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
  571. package/dist/esm/properties/ts/odyssey-react-mui_de.js +0 -4
  572. package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
  573. package/dist/esm/properties/ts/odyssey-react-mui_el.js +0 -4
  574. package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
  575. package/dist/esm/properties/ts/odyssey-react-mui_es.js +0 -4
  576. package/dist/esm/properties/ts/odyssey-react-mui_es.js.map +1 -1
  577. package/dist/esm/properties/ts/odyssey-react-mui_eu.js +0 -4
  578. package/dist/esm/properties/ts/odyssey-react-mui_eu.js.map +1 -1
  579. package/dist/esm/properties/ts/odyssey-react-mui_fi.js +0 -4
  580. package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
  581. package/dist/esm/properties/ts/odyssey-react-mui_fr.js +0 -4
  582. package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
  583. package/dist/esm/properties/ts/odyssey-react-mui_ht.js +0 -4
  584. package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
  585. package/dist/esm/properties/ts/odyssey-react-mui_hu.js +0 -4
  586. package/dist/esm/properties/ts/odyssey-react-mui_hu.js.map +1 -1
  587. package/dist/esm/properties/ts/odyssey-react-mui_id.js +0 -4
  588. package/dist/esm/properties/ts/odyssey-react-mui_id.js.map +1 -1
  589. package/dist/esm/properties/ts/odyssey-react-mui_it.js +0 -4
  590. package/dist/esm/properties/ts/odyssey-react-mui_it.js.map +1 -1
  591. package/dist/esm/properties/ts/odyssey-react-mui_ja.js +0 -4
  592. package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
  593. package/dist/esm/properties/ts/odyssey-react-mui_ko.js +0 -4
  594. package/dist/esm/properties/ts/odyssey-react-mui_ko.js.map +1 -1
  595. package/dist/esm/properties/ts/odyssey-react-mui_ms.js +0 -4
  596. package/dist/esm/properties/ts/odyssey-react-mui_ms.js.map +1 -1
  597. package/dist/esm/properties/ts/odyssey-react-mui_nb.js +0 -4
  598. package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
  599. package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +0 -4
  600. package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -1
  601. package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js +39 -5
  602. package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -1
  603. package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js +39 -5
  604. package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -1
  605. package/dist/esm/properties/ts/odyssey-react-mui_pl.js +0 -4
  606. package/dist/esm/properties/ts/odyssey-react-mui_pl.js.map +1 -1
  607. package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js +0 -4
  608. package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
  609. package/dist/esm/properties/ts/odyssey-react-mui_ro.js +0 -4
  610. package/dist/esm/properties/ts/odyssey-react-mui_ro.js.map +1 -1
  611. package/dist/esm/properties/ts/odyssey-react-mui_ru.js +0 -4
  612. package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
  613. package/dist/esm/properties/ts/odyssey-react-mui_sv.js +0 -4
  614. package/dist/esm/properties/ts/odyssey-react-mui_sv.js.map +1 -1
  615. package/dist/esm/properties/ts/odyssey-react-mui_th.js +0 -4
  616. package/dist/esm/properties/ts/odyssey-react-mui_th.js.map +1 -1
  617. package/dist/esm/properties/ts/odyssey-react-mui_tr.js +0 -4
  618. package/dist/esm/properties/ts/odyssey-react-mui_tr.js.map +1 -1
  619. package/dist/esm/properties/ts/odyssey-react-mui_uk.js +0 -4
  620. package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
  621. package/dist/esm/properties/ts/odyssey-react-mui_vi.js +0 -4
  622. package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
  623. package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +0 -4
  624. package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -1
  625. package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js +0 -4
  626. package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
  627. package/dist/esm/theme/components/Alert.js +26 -13
  628. package/dist/esm/theme/components/Alert.js.map +1 -1
  629. package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js +1 -1
  630. package/dist/esm/ui-shell/InnerAppContainer.js +1 -1
  631. package/dist/esm/ui-shell/NarrowUiShellContent.js +1 -1
  632. package/dist/esm/ui-shell/SideNav/NavAccordion.js +1 -1
  633. package/dist/esm/ui-shell/SideNav/SideNav.js +1 -1
  634. package/dist/esm/ui-shell/SideNav/SideNavFooterContent.js +1 -1
  635. package/dist/esm/ui-shell/SideNav/SideNavHeader.js +1 -1
  636. package/dist/esm/ui-shell/SideNav/SideNavItemContent.js +2 -2
  637. package/dist/esm/ui-shell/SideNav/SideNavItemLinkContent.js +1 -1
  638. package/dist/esm/ui-shell/SideNav/SideNavSortableList.js +1 -1
  639. package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js +2 -2
  640. package/dist/esm/ui-shell/SideNav/SortableList/SortableItem.js +6 -0
  641. package/dist/esm/ui-shell/SideNav/SortableList/SortableItem.js.map +1 -1
  642. package/dist/esm/ui-shell/SideNav/SortableList/SortableList.js +3 -0
  643. package/dist/esm/ui-shell/SideNav/SortableList/SortableList.js.map +1 -1
  644. package/dist/esm/ui-shell/SkipToContent.js +1 -1
  645. package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
  646. package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
  647. package/dist/esm/ui-shell/UiShell.js +1 -1
  648. package/dist/esm/ui-shell/UiShellLogo.js +1 -1
  649. package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
  650. package/dist/esm/useMaterialReactTableLocalization.js +69 -0
  651. package/dist/esm/useMaterialReactTableLocalization.js.map +1 -0
  652. package/dist/esm/useStableCallback.js +12 -3
  653. package/dist/esm/useStableCallback.js.map +1 -1
  654. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  655. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  656. package/dist/tsconfig.production.tsbuildinfo +1 -1
  657. package/dist/types/Autocomplete.d.ts.map +1 -1
  658. package/dist/types/Banner.d.ts.map +1 -1
  659. package/dist/types/DataTable/DataTable.d.ts.map +1 -1
  660. package/dist/types/DataTable/reorderDataRowsLocally.d.ts +30 -7
  661. package/dist/types/DataTable/reorderDataRowsLocally.d.ts.map +1 -1
  662. package/dist/types/DataTable/useRowReordering.d.ts +11 -1
  663. package/dist/types/DataTable/useRowReordering.d.ts.map +1 -1
  664. package/dist/types/Select.d.ts.map +1 -1
  665. package/dist/types/Tag.d.ts.map +1 -1
  666. package/dist/types/TagList.d.ts +1 -1
  667. package/dist/types/TagList.d.ts.map +1 -1
  668. package/dist/types/__internal.d.ts +3 -0
  669. package/dist/types/__internal.d.ts.map +1 -1
  670. package/dist/types/charts/index.d.ts +1 -4
  671. package/dist/types/charts/index.d.ts.map +1 -1
  672. package/dist/types/charts/movedToOdysseyLabs.d.ts +26 -0
  673. package/dist/types/charts/movedToOdysseyLabs.d.ts.map +1 -0
  674. package/dist/types/createUniqueId.d.ts +31 -1
  675. package/dist/types/createUniqueId.d.ts.map +1 -1
  676. package/dist/types/i18n.generated/i18n.d.ts +76 -8
  677. package/dist/types/i18n.generated/i18n.d.ts.map +1 -1
  678. package/dist/types/i18n.generated/i18n.resources.d.ts +114 -124
  679. package/dist/types/i18n.generated/i18n.resources.d.ts.map +1 -1
  680. package/dist/types/index.d.ts +1 -1
  681. package/dist/types/index.d.ts.map +1 -1
  682. package/dist/types/labs/DataTablePagination.d.ts.map +1 -1
  683. package/dist/types/labs/DataView/BulkActionsMenu.d.ts.map +1 -1
  684. package/dist/types/labs/DataView/CardLayoutContent.d.ts +7 -0
  685. package/dist/types/labs/DataView/CardLayoutContent.d.ts.map +1 -1
  686. package/dist/types/labs/DataView/DataView.d.ts.map +1 -1
  687. package/dist/types/labs/DataView/RowActions.d.ts +6 -1
  688. package/dist/types/labs/DataView/RowActions.d.ts.map +1 -1
  689. package/dist/types/labs/DataView/TableLayoutContent.d.ts +7 -0
  690. package/dist/types/labs/DataView/TableLayoutContent.d.ts.map +1 -1
  691. package/dist/types/labs/GroupPicker.d.ts.map +1 -1
  692. package/dist/types/labs/OdysseyPickers/ComposablePicker.d.ts.map +1 -1
  693. package/dist/types/labs/PaginatedTable.d.ts.map +1 -1
  694. package/dist/types/labs/StaticTable.d.ts.map +1 -1
  695. package/dist/types/message-bus/fullscreen/createFullscreenId.d.ts +1 -1
  696. package/dist/types/message-bus/fullscreen/createFullscreenId.d.ts.map +1 -1
  697. package/dist/types/properties/ts/odyssey-react-mui.d.ts +38 -4
  698. package/dist/types/properties/ts/odyssey-react-mui.d.ts.map +1 -1
  699. package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts +0 -4
  700. package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -1
  701. package/dist/types/properties/ts/odyssey-react-mui_da.d.ts +0 -4
  702. package/dist/types/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
  703. package/dist/types/properties/ts/odyssey-react-mui_de.d.ts +0 -4
  704. package/dist/types/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
  705. package/dist/types/properties/ts/odyssey-react-mui_el.d.ts +0 -4
  706. package/dist/types/properties/ts/odyssey-react-mui_el.d.ts.map +1 -1
  707. package/dist/types/properties/ts/odyssey-react-mui_es.d.ts +0 -4
  708. package/dist/types/properties/ts/odyssey-react-mui_es.d.ts.map +1 -1
  709. package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts +0 -4
  710. package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts.map +1 -1
  711. package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts +0 -4
  712. package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
  713. package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts +0 -4
  714. package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
  715. package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts +0 -4
  716. package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts.map +1 -1
  717. package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts +0 -4
  718. package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -1
  719. package/dist/types/properties/ts/odyssey-react-mui_id.d.ts +0 -4
  720. package/dist/types/properties/ts/odyssey-react-mui_id.d.ts.map +1 -1
  721. package/dist/types/properties/ts/odyssey-react-mui_it.d.ts +0 -4
  722. package/dist/types/properties/ts/odyssey-react-mui_it.d.ts.map +1 -1
  723. package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts +0 -4
  724. package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -1
  725. package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts +0 -4
  726. package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
  727. package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts +0 -4
  728. package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -1
  729. package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts +0 -4
  730. package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
  731. package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts +0 -4
  732. package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -1
  733. package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts +38 -4
  734. package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -1
  735. package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts +38 -4
  736. package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -1
  737. package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts +0 -4
  738. package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -1
  739. package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts +0 -4
  740. package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -1
  741. package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts +0 -4
  742. package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -1
  743. package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts +0 -4
  744. package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
  745. package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts +0 -4
  746. package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -1
  747. package/dist/types/properties/ts/odyssey-react-mui_th.d.ts +0 -4
  748. package/dist/types/properties/ts/odyssey-react-mui_th.d.ts.map +1 -1
  749. package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts +0 -4
  750. package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -1
  751. package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts +0 -4
  752. package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -1
  753. package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts +0 -4
  754. package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -1
  755. package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts +0 -4
  756. package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -1
  757. package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts +0 -4
  758. package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
  759. package/dist/types/theme/components/Alert.d.ts.map +1 -1
  760. package/dist/types/ui-shell/SideNav/SortableList/SortableItem.d.ts.map +1 -1
  761. package/dist/types/ui-shell/SideNav/SortableList/SortableList.d.ts.map +1 -1
  762. package/dist/types/useMaterialReactTableLocalization.d.ts +21 -0
  763. package/dist/types/useMaterialReactTableLocalization.d.ts.map +1 -0
  764. package/dist/types/useStableCallback.d.ts +1 -1
  765. package/dist/types/useStableCallback.d.ts.map +1 -1
  766. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  767. package/package.json +8 -10
  768. package/src/properties/odyssey-react-mui.properties +38 -4
  769. package/src/properties/translations/odyssey-react-mui_cs.properties +0 -4
  770. package/src/properties/translations/odyssey-react-mui_da.properties +0 -4
  771. package/src/properties/translations/odyssey-react-mui_de.properties +0 -4
  772. package/src/properties/translations/odyssey-react-mui_el.properties +0 -4
  773. package/src/properties/translations/odyssey-react-mui_es.properties +0 -4
  774. package/src/properties/translations/odyssey-react-mui_eu.properties +0 -4
  775. package/src/properties/translations/odyssey-react-mui_fi.properties +0 -4
  776. package/src/properties/translations/odyssey-react-mui_fr.properties +0 -4
  777. package/src/properties/translations/odyssey-react-mui_ht.properties +0 -4
  778. package/src/properties/translations/odyssey-react-mui_hu.properties +0 -4
  779. package/src/properties/translations/odyssey-react-mui_id.properties +0 -4
  780. package/src/properties/translations/odyssey-react-mui_it.properties +0 -4
  781. package/src/properties/translations/odyssey-react-mui_ja.properties +0 -4
  782. package/src/properties/translations/odyssey-react-mui_ko.properties +0 -4
  783. package/src/properties/translations/odyssey-react-mui_ms.properties +0 -4
  784. package/src/properties/translations/odyssey-react-mui_nb.properties +0 -4
  785. package/src/properties/translations/odyssey-react-mui_nl_NL.properties +0 -4
  786. package/src/properties/translations/odyssey-react-mui_ok_PL.properties +38 -4
  787. package/src/properties/translations/odyssey-react-mui_ok_SK.properties +38 -4
  788. package/src/properties/translations/odyssey-react-mui_pl.properties +0 -4
  789. package/src/properties/translations/odyssey-react-mui_pt_BR.properties +0 -4
  790. package/src/properties/translations/odyssey-react-mui_ro.properties +0 -4
  791. package/src/properties/translations/odyssey-react-mui_ru.properties +0 -4
  792. package/src/properties/translations/odyssey-react-mui_sv.properties +0 -4
  793. package/src/properties/translations/odyssey-react-mui_th.properties +0 -4
  794. package/src/properties/translations/odyssey-react-mui_tr.properties +0 -4
  795. package/src/properties/translations/odyssey-react-mui_uk.properties +0 -4
  796. package/src/properties/translations/odyssey-react-mui_vi.properties +0 -4
  797. package/src/properties/translations/odyssey-react-mui_zh_CN.properties +0 -4
  798. package/src/properties/translations/odyssey-react-mui_zh_TW.properties +0 -4
  799. package/src/properties/ts/odyssey-react-mui.ts +1 -1
  800. package/src/properties/ts/odyssey-react-mui_cs.ts +1 -1
  801. package/src/properties/ts/odyssey-react-mui_da.ts +1 -1
  802. package/src/properties/ts/odyssey-react-mui_de.ts +1 -1
  803. package/src/properties/ts/odyssey-react-mui_el.ts +1 -1
  804. package/src/properties/ts/odyssey-react-mui_es.ts +1 -1
  805. package/src/properties/ts/odyssey-react-mui_eu.ts +1 -1
  806. package/src/properties/ts/odyssey-react-mui_fi.ts +1 -1
  807. package/src/properties/ts/odyssey-react-mui_fr.ts +1 -1
  808. package/src/properties/ts/odyssey-react-mui_ht.ts +1 -1
  809. package/src/properties/ts/odyssey-react-mui_hu.ts +1 -1
  810. package/src/properties/ts/odyssey-react-mui_id.ts +1 -1
  811. package/src/properties/ts/odyssey-react-mui_it.ts +1 -1
  812. package/src/properties/ts/odyssey-react-mui_ja.ts +1 -1
  813. package/src/properties/ts/odyssey-react-mui_ko.ts +1 -1
  814. package/src/properties/ts/odyssey-react-mui_ms.ts +1 -1
  815. package/src/properties/ts/odyssey-react-mui_nb.ts +1 -1
  816. package/src/properties/ts/odyssey-react-mui_nl_NL.ts +1 -1
  817. package/src/properties/ts/odyssey-react-mui_ok_PL.ts +1 -1
  818. package/src/properties/ts/odyssey-react-mui_ok_SK.ts +1 -1
  819. package/src/properties/ts/odyssey-react-mui_pl.ts +1 -1
  820. package/src/properties/ts/odyssey-react-mui_pt_BR.ts +1 -1
  821. package/src/properties/ts/odyssey-react-mui_ro.ts +1 -1
  822. package/src/properties/ts/odyssey-react-mui_ru.ts +1 -1
  823. package/src/properties/ts/odyssey-react-mui_sv.ts +1 -1
  824. package/src/properties/ts/odyssey-react-mui_th.ts +1 -1
  825. package/src/properties/ts/odyssey-react-mui_tr.ts +1 -1
  826. package/src/properties/ts/odyssey-react-mui_uk.ts +1 -1
  827. package/src/properties/ts/odyssey-react-mui_vi.ts +1 -1
  828. package/src/properties/ts/odyssey-react-mui_zh_CN.ts +1 -1
  829. package/src/properties/ts/odyssey-react-mui_zh_TW.ts +1 -1
  830. package/dist/cjs/TagListContext.cjs +0 -23
  831. package/dist/cjs/TagListContext.cjs.map +0 -1
  832. package/dist/cjs/charts/BarChart.cjs +0 -223
  833. package/dist/cjs/charts/BarChart.cjs.map +0 -1
  834. package/dist/cjs/charts/LineChart.cjs +0 -242
  835. package/dist/cjs/charts/LineChart.cjs.map +0 -1
  836. package/dist/cjs/charts/components/ChartContainer.cjs +0 -32
  837. package/dist/cjs/charts/components/ChartContainer.cjs.map +0 -1
  838. package/dist/cjs/charts/components/ChartError.cjs +0 -73
  839. package/dist/cjs/charts/components/ChartError.cjs.map +0 -1
  840. package/dist/cjs/charts/components/ChartFrame.cjs +0 -114
  841. package/dist/cjs/charts/components/ChartFrame.cjs.map +0 -1
  842. package/dist/cjs/charts/components/ChartPopoverContent.cjs +0 -123
  843. package/dist/cjs/charts/components/ChartPopoverContent.cjs.map +0 -1
  844. package/dist/cjs/charts/useChartAnimation.cjs +0 -27
  845. package/dist/cjs/charts/useChartAnimation.cjs.map +0 -1
  846. package/dist/cjs/charts/utils/chartTokens.cjs +0 -162
  847. package/dist/cjs/charts/utils/chartTokens.cjs.map +0 -1
  848. package/dist/cjs/charts/utils/chartTypes.cjs +0 -6
  849. package/dist/cjs/charts/utils/chartTypes.cjs.map +0 -1
  850. package/dist/cjs/charts/utils/formatChartValue.cjs +0 -38
  851. package/dist/cjs/charts/utils/formatChartValue.cjs.map +0 -1
  852. package/dist/cjs/charts/utils/getChartSeriesPointData.cjs +0 -52
  853. package/dist/cjs/charts/utils/getChartSeriesPointData.cjs.map +0 -1
  854. package/dist/cjs/charts/utils/hasDuplicateSeries.cjs +0 -21
  855. package/dist/cjs/charts/utils/hasDuplicateSeries.cjs.map +0 -1
  856. package/dist/cjs/charts/utils/resolveChartLocale.cjs.map +0 -1
  857. package/dist/cjs/charts/utils/useChartValueFormatter.cjs +0 -35
  858. package/dist/cjs/charts/utils/useChartValueFormatter.cjs.map +0 -1
  859. package/dist/cjs/charts/utils/useStableValue.cjs.map +0 -1
  860. package/dist/esm/TagListContext.js +0 -17
  861. package/dist/esm/TagListContext.js.map +0 -1
  862. package/dist/esm/charts/BarChart.js +0 -220
  863. package/dist/esm/charts/BarChart.js.map +0 -1
  864. package/dist/esm/charts/LineChart.js +0 -239
  865. package/dist/esm/charts/LineChart.js.map +0 -1
  866. package/dist/esm/charts/components/ChartContainer.js +0 -28
  867. package/dist/esm/charts/components/ChartContainer.js.map +0 -1
  868. package/dist/esm/charts/components/ChartError.js +0 -70
  869. package/dist/esm/charts/components/ChartError.js.map +0 -1
  870. package/dist/esm/charts/components/ChartFrame.js +0 -110
  871. package/dist/esm/charts/components/ChartFrame.js.map +0 -1
  872. package/dist/esm/charts/components/ChartPopoverContent.js +0 -118
  873. package/dist/esm/charts/components/ChartPopoverContent.js.map +0 -1
  874. package/dist/esm/charts/useChartAnimation.js +0 -22
  875. package/dist/esm/charts/useChartAnimation.js.map +0 -1
  876. package/dist/esm/charts/utils/chartTokens.js +0 -153
  877. package/dist/esm/charts/utils/chartTokens.js.map +0 -1
  878. package/dist/esm/charts/utils/chartTypes.js +0 -2
  879. package/dist/esm/charts/utils/chartTypes.js.map +0 -1
  880. package/dist/esm/charts/utils/formatChartValue.js +0 -33
  881. package/dist/esm/charts/utils/formatChartValue.js.map +0 -1
  882. package/dist/esm/charts/utils/getChartSeriesPointData.js +0 -45
  883. package/dist/esm/charts/utils/getChartSeriesPointData.js.map +0 -1
  884. package/dist/esm/charts/utils/hasDuplicateSeries.js +0 -14
  885. package/dist/esm/charts/utils/hasDuplicateSeries.js.map +0 -1
  886. package/dist/esm/charts/utils/resolveChartLocale.js +0 -21
  887. package/dist/esm/charts/utils/resolveChartLocale.js.map +0 -1
  888. package/dist/esm/charts/utils/useChartValueFormatter.js +0 -30
  889. package/dist/esm/charts/utils/useChartValueFormatter.js.map +0 -1
  890. package/dist/esm/charts/utils/useStableValue.js +0 -25
  891. package/dist/esm/charts/utils/useStableValue.js.map +0 -1
  892. package/dist/types/TagListContext.d.ts +0 -17
  893. package/dist/types/TagListContext.d.ts.map +0 -1
  894. package/dist/types/charts/BarChart.d.ts +0 -24
  895. package/dist/types/charts/BarChart.d.ts.map +0 -1
  896. package/dist/types/charts/LineChart.d.ts +0 -24
  897. package/dist/types/charts/LineChart.d.ts.map +0 -1
  898. package/dist/types/charts/components/ChartContainer.d.ts +0 -16
  899. package/dist/types/charts/components/ChartContainer.d.ts.map +0 -1
  900. package/dist/types/charts/components/ChartError.d.ts +0 -21
  901. package/dist/types/charts/components/ChartError.d.ts.map +0 -1
  902. package/dist/types/charts/components/ChartFrame.d.ts +0 -45
  903. package/dist/types/charts/components/ChartFrame.d.ts.map +0 -1
  904. package/dist/types/charts/components/ChartPopoverContent.d.ts +0 -75
  905. package/dist/types/charts/components/ChartPopoverContent.d.ts.map +0 -1
  906. package/dist/types/charts/useChartAnimation.d.ts +0 -16
  907. package/dist/types/charts/useChartAnimation.d.ts.map +0 -1
  908. package/dist/types/charts/utils/chartTokens.d.ts +0 -279
  909. package/dist/types/charts/utils/chartTokens.d.ts.map +0 -1
  910. package/dist/types/charts/utils/chartTypes.d.ts +0 -108
  911. package/dist/types/charts/utils/chartTypes.d.ts.map +0 -1
  912. package/dist/types/charts/utils/formatChartValue.d.ts +0 -72
  913. package/dist/types/charts/utils/formatChartValue.d.ts.map +0 -1
  914. package/dist/types/charts/utils/getChartSeriesPointData.d.ts +0 -38
  915. package/dist/types/charts/utils/getChartSeriesPointData.d.ts.map +0 -1
  916. package/dist/types/charts/utils/hasDuplicateSeries.d.ts +0 -22
  917. package/dist/types/charts/utils/hasDuplicateSeries.d.ts.map +0 -1
  918. package/dist/types/charts/utils/resolveChartLocale.d.ts +0 -20
  919. package/dist/types/charts/utils/resolveChartLocale.d.ts.map +0 -1
  920. package/dist/types/charts/utils/useChartValueFormatter.d.ts +0 -27
  921. package/dist/types/charts/utils/useChartValueFormatter.d.ts.map +0 -1
  922. package/dist/types/charts/utils/useStableValue.d.ts +0 -20
  923. package/dist/types/charts/utils/useStableValue.d.ts.map +0 -1
@@ -166,6 +166,9 @@ const SortableItem = ({
166
166
  label,
167
167
  children
168
168
  }) => {
169
+ const {
170
+ t
171
+ } = (0, _i18n.useTranslation)();
169
172
  const {
170
173
  attributes,
171
174
  isDragging,
@@ -175,6 +178,9 @@ const SortableItem = ({
175
178
  transform,
176
179
  transition
177
180
  } = (0, _sortable.useSortable)({
181
+ attributes: {
182
+ roleDescription: t("navigation.drag.handle.roledescription")
183
+ },
178
184
  id
179
185
  });
180
186
  const context = (0, _react.useMemo)(() => ({
@@ -1 +1 @@
1
- {"version":3,"file":"SortableItem.cjs","names":["_sortable","require","_utilities","_styled","_interopRequireDefault","_react","_i18n","_OdysseyDesignTokensContext","_UiShellProvider","_SortableOverlay","_jsxRuntime","e","__esModule","default","SortableItemContext","createContext","attributes","listeners","undefined","ref","createRef","StyledSortableListItem","styled","shouldForwardProp","prop","odysseyDesignTokens","isSelected","sideNavContrastColors","position","button","top","left","Spacing2","transform","svg","path","fill","fontColor","opacity","outlineWidth","TypographyColorAction","getFocusRingStyles","focusRingColor","outline","boxShadow","HueNeutralWhite","PalettePrimaryMain","StyledDragHandleButton","isGrabbed","padding","border","borderRadius","BorderRadiusMain","backgroundColor","cursor","display","HueBlue100","HueNeutral200","borderColor","HueBlue600","color","DragHandle","label","useContext","useOdysseyDesignTokens","t","useTranslation","uiShellContext","useUiShellContext","useDragOverlayContext","jsx","children","height","viewBox","width","xmlns","clipRule","d","fillRule","exports","SortableItem","id","isDisabled","isSortable","isDragging","setNodeRef","setActivatorNodeRef","transition","useSortable","context","useMemo","style","CSS","Translate","toString","Provider","value","jsxs"],"sources":["../../../../../src/ui-shell/SideNav/SortableList/SortableItem.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type {\n DraggableSyntheticListeners,\n UniqueIdentifier,\n} from \"@dnd-kit/core\";\n\nimport { useSortable } from \"@dnd-kit/sortable\";\nimport { CSS } from \"@dnd-kit/utilities\";\nimport styled from \"@emotion/styled\";\nimport {\n createContext,\n createRef,\n CSSProperties,\n PropsWithChildren,\n RefObject,\n useContext,\n useMemo,\n} from \"react\";\n\nimport { ContrastColors } from \"../../../createContrastColors.js\";\nimport { useTranslation } from \"../../../i18n.generated/i18n.js\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../../../OdysseyDesignTokensContext.js\";\nimport {\n UiShellColors,\n useUiShellContext,\n} from \"../../../ui-shell/UiShellProvider.js\";\nimport { useDragOverlayContext } from \"./SortableOverlay.js\";\n\ntype ItemProps = {\n id: UniqueIdentifier;\n isDisabled?: boolean;\n isSelected?: boolean;\n isSortable?: boolean;\n label: string;\n};\n\nexport type SortableItemContextType = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n attributes: Record<string, any>;\n listeners: DraggableSyntheticListeners;\n ref: RefObject<HTMLButtonElement>;\n};\n\nconst SortableItemContext = createContext<SortableItemContextType>({\n attributes: {},\n listeners: undefined,\n ref: createRef<HTMLButtonElement>(),\n});\n\nconst StyledSortableListItem = styled(\"li\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" &&\n prop !== \"isSelected\" &&\n prop !== \"sideNavContrastColors\",\n})<{\n isSelected?: boolean;\n odysseyDesignTokens: DesignTokens;\n sideNavContrastColors: UiShellColors[\"sideNavContrastColors\"];\n}>(({ odysseyDesignTokens, isSelected, sideNavContrastColors }) => ({\n position: \"relative\",\n\n button: {\n top: \"50%\",\n left: odysseyDesignTokens.Spacing2,\n transform: \"translateY(-50%)\",\n },\n\n svg: {\n path: {\n fill: \"currentColor\",\n ...(sideNavContrastColors?.fontColor && {\n fill: sideNavContrastColors.fontColor,\n }),\n },\n },\n\n \"&:has(a:hover, button:hover, a:focus, button:focus, a:focus-visible, button:focus-visible, [role='button']:hover, [role='button']:focus, [role='button']:focus-visible)\":\n {\n button: {\n opacity: 1,\n outlineWidth: 0,\n },\n },\n\n ...(isSelected && {\n svg: {\n path: {\n fill: odysseyDesignTokens.TypographyColorAction,\n\n ...(sideNavContrastColors?.fontColor && {\n fill: sideNavContrastColors.fontColor,\n }),\n },\n },\n }),\n}));\n\nconst getFocusRingStyles = ({\n focusRingColor,\n odysseyDesignTokens,\n}: {\n focusRingColor: ContrastColors[\"focusRingColor\"];\n odysseyDesignTokens: DesignTokens;\n}) => ({\n outline: \"2px solid transparent\",\n boxShadow: `0 0 0 2px ${odysseyDesignTokens.HueNeutralWhite}, 0 0 0 4px ${focusRingColor || odysseyDesignTokens.PalettePrimaryMain}`,\n});\n\nconst StyledDragHandleButton = styled(\"button\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" &&\n prop !== \"isGrabbed\" &&\n prop !== \"isSelected\" &&\n prop !== \"focusRingColor\",\n})<{\n focusRingColor: ContrastColors[\"focusRingColor\"];\n isGrabbed?: boolean;\n isSelected?: boolean;\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens, isGrabbed, isSelected, focusRingColor }) => ({\n position: \"absolute\",\n opacity: 0,\n padding: odysseyDesignTokens.Spacing2,\n // Transparent 1px border by default so toggling to the HueBlue600 grabbed border does not shift the icon.\n border: \"1px solid transparent\",\n borderRadius: odysseyDesignTokens.BorderRadiusMain,\n backgroundColor: \"transparent\",\n cursor: `${isGrabbed ? \"grabbing\" : \"grab\"}`,\n outline: \"none\",\n\n svg: {\n display: \"flex\",\n },\n\n // hover state, only applied when not actively grabbing/dragging the handle\n ...(!isGrabbed && {\n \"&:hover\": {\n backgroundColor: isSelected\n ? odysseyDesignTokens.HueBlue100\n : odysseyDesignTokens.HueNeutral200,\n },\n }),\n\n // Focus ring for a resting handle (keyboard focus). Excludes the actively grabbed handle via aria-pressed so the isGrabbed block styles that state.\n \"&:focus-visible:not([aria-pressed='true'])\": getFocusRingStyles({\n focusRingColor,\n odysseyDesignTokens,\n }),\n\n // grabbed (overlay)\n ...(isGrabbed && {\n opacity: 1,\n borderColor: odysseyDesignTokens.HueBlue600,\n // icon fills with currentColor, so `color` recolors it to match the border\n color: odysseyDesignTokens.HueBlue600,\n ...getFocusRingStyles({ focusRingColor, odysseyDesignTokens }),\n }),\n}));\n\ntype DragHandleProps = {\n isDisabled?: boolean;\n isSelected?: boolean;\n label: string;\n};\n\nexport const DragHandle = ({ isSelected, label }: DragHandleProps) => {\n const { attributes, listeners, ref } = useContext(SortableItemContext);\n const odysseyDesignTokens: DesignTokens = useOdysseyDesignTokens();\n const { t } = useTranslation();\n const uiShellContext = useUiShellContext();\n // True only for the overlay copy that follows the pointer.\n const { isGrabbed } = useDragOverlayContext();\n\n return (\n <StyledDragHandleButton\n {...attributes}\n {...listeners}\n aria-label={\n label\n ? t(\"navigation.drag.handle.label\", { label })\n : t(\"navigation.drag.handle\")\n }\n focusRingColor={uiShellContext?.sideNavContrastColors?.focusRingColor}\n isGrabbed={isGrabbed}\n isSelected={isSelected}\n odysseyDesignTokens={odysseyDesignTokens}\n ref={ref}\n >\n <svg\n fill=\"none\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n width=\"16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n clipRule=\"evenodd\"\n d=\"M6 2.33331C6 2.8856 5.55228 3.33331 5 3.33331C4.44772 3.33331 4 2.8856 4 2.33331C4 1.78103 4.44772 1.33331 5 1.33331C5.55228 1.33331 6 1.78103 6 2.33331ZM11 3.33331C11.5523 3.33331 12 2.8856 12 2.33331C12 1.78103 11.5523 1.33331 11 1.33331C10.4477 1.33331 10 1.78103 10 2.33331C10 2.8856 10.4477 3.33331 11 3.33331ZM11 7.11109C11.5523 7.11109 12 6.66338 12 6.11109C12 5.55881 11.5523 5.11109 11 5.11109C10.4477 5.11109 10 5.55881 10 6.11109C10 6.66338 10.4477 7.11109 11 7.11109ZM12 9.88887C12 10.4412 11.5523 10.8889 11 10.8889C10.4477 10.8889 10 10.4412 10 9.88887C10 9.33659 10.4477 8.88887 11 8.88887C11.5523 8.88887 12 9.33659 12 9.88887ZM11 14.6666C11.5523 14.6666 12 14.2189 12 13.6666C12 13.1144 11.5523 12.6666 11 12.6666C10.4477 12.6666 10 13.1144 10 13.6666C10 14.2189 10.4477 14.6666 11 14.6666ZM5 7.11109C5.55228 7.11109 6 6.66338 6 6.11109C6 5.55881 5.55228 5.11109 5 5.11109C4.44772 5.11109 4 5.55881 4 6.11109C4 6.66338 4.44772 7.11109 5 7.11109ZM6 9.88888C6 10.4412 5.55228 10.8889 5 10.8889C4.44772 10.8889 4 10.4412 4 9.88888C4 9.33659 4.44772 8.88888 5 8.88888C5.55228 8.88888 6 9.33659 6 9.88888ZM5 14.6666C5.55228 14.6666 6 14.2189 6 13.6666C6 13.1144 5.55228 12.6666 5 12.6666C4.44772 12.6666 4 13.1144 4 13.6666C4 14.2189 4.44772 14.6666 5 14.6666Z\"\n fill=\"#3F59E4\"\n fillRule=\"evenodd\"\n />\n </svg>\n </StyledDragHandleButton>\n );\n};\n\nexport const SortableItem = ({\n id,\n isDisabled,\n isSelected,\n isSortable = true,\n label,\n children,\n}: PropsWithChildren<ItemProps>) => {\n const {\n attributes,\n isDragging,\n listeners,\n setNodeRef,\n setActivatorNodeRef,\n transform,\n transition,\n } = useSortable({ id });\n\n const context: SortableItemContextType = useMemo(\n () => ({\n attributes,\n listeners,\n // This library gives us a legacy ref function, and I can't change it, so I had to override the type. --Kevin Ghadyani\n ref: setActivatorNodeRef as unknown as RefObject<HTMLButtonElement>,\n }),\n [attributes, listeners, setActivatorNodeRef],\n );\n\n const style: CSSProperties = {\n opacity: isDragging ? 0.4 : undefined,\n transform: CSS.Translate.toString(transform),\n transition,\n };\n\n const uiShellContext = useUiShellContext();\n const odysseyDesignTokens: DesignTokens = useOdysseyDesignTokens();\n\n return (\n <SortableItemContext.Provider value={context}>\n <StyledSortableListItem\n isSelected={isSelected}\n odysseyDesignTokens={odysseyDesignTokens}\n ref={setNodeRef}\n sideNavContrastColors={uiShellContext?.sideNavContrastColors}\n style={style}\n >\n {!isDisabled && isSortable && (\n <DragHandle isSelected={isSelected} label={label} />\n )}\n {children}\n </StyledSortableListItem>\n </SortableItemContext.Provider>\n );\n};\n"],"mappings":";;;;;;AAiBA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAWA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,2BAAA,GAAAN,OAAA;AAIA,IAAAO,gBAAA,GAAAP,OAAA;AAIA,IAAAQ,gBAAA,GAAAR,OAAA;AAA6D,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAG,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAxC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA+CA,MAAMG,mBAAmB,GAAG,IAAAC,oBAAa,EAA0B;EACjEC,UAAU,EAAE,CAAC,CAAC;EACdC,SAAS,EAAE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ACnBrD,SAAS;IACTsD;EACF,CAAC,GAAG,IAAAC,qBAAW,EAAC;IAAEP;EAAG,CAAC,CAAC;EAEvB,MAAMQ,OAAgC,GAAG,IAAAC,cAAO,EAC9C,OAAO;IACL1E,UAAU;IACVC,SAAS;IAETE,GAAG,EAAEmE;EACP,CAAC,CAAC,EACF,CAACtE,UAAU,EAAEC,SAAS,EAAEqE,mBAAmB,CAC7C,CAAC;EAED,MAAMK,KAAoB,GAAG;IAC3BrD,OAAO,EAAE8C,UAAU,GAAG,GAAG,GAAGlE,SAAS;IACrCe,SAAS,EAAE2D,cAAG,CAACC,SAAS,CAACC,QAAQ,CAAC7D,SAAS,CAAC;IAC5CsD;EACF,CAAC;EAED,MAAMpB,cAAc,GAAG,IAAAC,kCAAiB,EAAC,CAAC;EAC1C,MAAM3C,mBAAiC,GAAG,IAAAuC,kDAAsB,EAAC,CAAC;EAElE,OACE,IAAAtD,WAAA,CAAA4D,GAAA,EAACxD,mBAAmB,CAACiF,QAAQ;IAACC,KAAK,EAAEP,OAAQ;IAAAlB,QAAA,EAC3C,IAAA7D,WAAA,CAAAuF,IAAA,EAAC5E,sBAAsB;MACrBK,UAAU,EAAEA,UAAW;MACvBD,mBAAmB,EAAEA,mBAAoB;MACzCN,GAAG,EAAEkE,UAAW;MAChB1D,qBAAqB,EAAEwC,cAAc,EAAExC,qBAAsB;MAC7DgE,KAAK,EAAEA,KAAM;MAAApB,QAAA,GAEZ,CAACW,UAAU,IAAIC,UAAU,IACxB,IAAAzE,WAAA,CAAA4D,GAAA,EAACT,UAAU;QAACnC,UAAU,EAAEA,UAAW;QAACoC,KAAK,EAAEA;MAAM,CAAE,CACpD,EACAS,QAAQ;IAAA,CACa;EAAC,CACG,CAAC;AAEnC,CAAC;AAACQ,OAAA,CAAAC,YAAA,GAAAA,YAAA","ignoreList":[]}
1
+ {"version":3,"file":"SortableItem.cjs","names":["_sortable","require","_utilities","_styled","_interopRequireDefault","_react","_i18n","_OdysseyDesignTokensContext","_UiShellProvider","_SortableOverlay","_jsxRuntime","e","__esModule","default","SortableItemContext","createContext","attributes","listeners","undefined","ref","createRef","StyledSortableListItem","styled","shouldForwardProp","prop","odysseyDesignTokens","isSelected","sideNavContrastColors","position","button","top","left","Spacing2","transform","svg","path","fill","fontColor","opacity","outlineWidth","TypographyColorAction","getFocusRingStyles","focusRingColor","outline","boxShadow","HueNeutralWhite","PalettePrimaryMain","StyledDragHandleButton","isGrabbed","padding","border","borderRadius","BorderRadiusMain","backgroundColor","cursor","display","HueBlue100","HueNeutral200","borderColor","HueBlue600","color","DragHandle","label","useContext","useOdysseyDesignTokens","t","useTranslation","uiShellContext","useUiShellContext","useDragOverlayContext","jsx","children","height","viewBox","width","xmlns","clipRule","d","fillRule","exports","SortableItem","id","isDisabled","isSortable","isDragging","setNodeRef","setActivatorNodeRef","transition","useSortable","roleDescription","context","useMemo","style","CSS","Translate","toString","Provider","value","jsxs"],"sources":["../../../../../src/ui-shell/SideNav/SortableList/SortableItem.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type {\n DraggableSyntheticListeners,\n UniqueIdentifier,\n} from \"@dnd-kit/core\";\n\nimport { useSortable } from \"@dnd-kit/sortable\";\nimport { CSS } from \"@dnd-kit/utilities\";\nimport styled from \"@emotion/styled\";\nimport {\n createContext,\n createRef,\n CSSProperties,\n PropsWithChildren,\n RefObject,\n useContext,\n useMemo,\n} from \"react\";\n\nimport { ContrastColors } from \"../../../createContrastColors.js\";\nimport { useTranslation } from \"../../../i18n.generated/i18n.js\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../../../OdysseyDesignTokensContext.js\";\nimport {\n UiShellColors,\n useUiShellContext,\n} from \"../../../ui-shell/UiShellProvider.js\";\nimport { useDragOverlayContext } from \"./SortableOverlay.js\";\n\ntype ItemProps = {\n id: UniqueIdentifier;\n isDisabled?: boolean;\n isSelected?: boolean;\n isSortable?: boolean;\n label: string;\n};\n\nexport type SortableItemContextType = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n attributes: Record<string, any>;\n listeners: DraggableSyntheticListeners;\n ref: RefObject<HTMLButtonElement>;\n};\n\nconst SortableItemContext = createContext<SortableItemContextType>({\n attributes: {},\n listeners: undefined,\n ref: createRef<HTMLButtonElement>(),\n});\n\nconst StyledSortableListItem = styled(\"li\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" &&\n prop !== \"isSelected\" &&\n prop !== \"sideNavContrastColors\",\n})<{\n isSelected?: boolean;\n odysseyDesignTokens: DesignTokens;\n sideNavContrastColors: UiShellColors[\"sideNavContrastColors\"];\n}>(({ odysseyDesignTokens, isSelected, sideNavContrastColors }) => ({\n position: \"relative\",\n\n button: {\n top: \"50%\",\n left: odysseyDesignTokens.Spacing2,\n transform: \"translateY(-50%)\",\n },\n\n svg: {\n path: {\n fill: \"currentColor\",\n ...(sideNavContrastColors?.fontColor && {\n fill: sideNavContrastColors.fontColor,\n }),\n },\n },\n\n \"&:has(a:hover, button:hover, a:focus, button:focus, a:focus-visible, button:focus-visible, [role='button']:hover, [role='button']:focus, [role='button']:focus-visible)\":\n {\n button: {\n opacity: 1,\n outlineWidth: 0,\n },\n },\n\n ...(isSelected && {\n svg: {\n path: {\n fill: odysseyDesignTokens.TypographyColorAction,\n\n ...(sideNavContrastColors?.fontColor && {\n fill: sideNavContrastColors.fontColor,\n }),\n },\n },\n }),\n}));\n\nconst getFocusRingStyles = ({\n focusRingColor,\n odysseyDesignTokens,\n}: {\n focusRingColor: ContrastColors[\"focusRingColor\"];\n odysseyDesignTokens: DesignTokens;\n}) => ({\n outline: \"2px solid transparent\",\n boxShadow: `0 0 0 2px ${odysseyDesignTokens.HueNeutralWhite}, 0 0 0 4px ${focusRingColor || odysseyDesignTokens.PalettePrimaryMain}`,\n});\n\nconst StyledDragHandleButton = styled(\"button\", {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" &&\n prop !== \"isGrabbed\" &&\n prop !== \"isSelected\" &&\n prop !== \"focusRingColor\",\n})<{\n focusRingColor: ContrastColors[\"focusRingColor\"];\n isGrabbed?: boolean;\n isSelected?: boolean;\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens, isGrabbed, isSelected, focusRingColor }) => ({\n position: \"absolute\",\n opacity: 0,\n padding: odysseyDesignTokens.Spacing2,\n // Transparent 1px border by default so toggling to the HueBlue600 grabbed border does not shift the icon.\n border: \"1px solid transparent\",\n borderRadius: odysseyDesignTokens.BorderRadiusMain,\n backgroundColor: \"transparent\",\n cursor: `${isGrabbed ? \"grabbing\" : \"grab\"}`,\n outline: \"none\",\n\n svg: {\n display: \"flex\",\n },\n\n // hover state, only applied when not actively grabbing/dragging the handle\n ...(!isGrabbed && {\n \"&:hover\": {\n backgroundColor: isSelected\n ? odysseyDesignTokens.HueBlue100\n : odysseyDesignTokens.HueNeutral200,\n },\n }),\n\n // Focus ring for a resting handle (keyboard focus). Excludes the actively grabbed handle via aria-pressed so the isGrabbed block styles that state.\n \"&:focus-visible:not([aria-pressed='true'])\": getFocusRingStyles({\n focusRingColor,\n odysseyDesignTokens,\n }),\n\n // grabbed (overlay)\n ...(isGrabbed && {\n opacity: 1,\n borderColor: odysseyDesignTokens.HueBlue600,\n // icon fills with currentColor, so `color` recolors it to match the border\n color: odysseyDesignTokens.HueBlue600,\n ...getFocusRingStyles({ focusRingColor, odysseyDesignTokens }),\n }),\n}));\n\ntype DragHandleProps = {\n isDisabled?: boolean;\n isSelected?: boolean;\n label: string;\n};\n\nexport const DragHandle = ({ isSelected, label }: DragHandleProps) => {\n const { attributes, listeners, ref } = useContext(SortableItemContext);\n const odysseyDesignTokens: DesignTokens = useOdysseyDesignTokens();\n const { t } = useTranslation();\n const uiShellContext = useUiShellContext();\n // True only for the overlay copy that follows the pointer.\n const { isGrabbed } = useDragOverlayContext();\n\n return (\n <StyledDragHandleButton\n {...attributes}\n {...listeners}\n aria-label={\n label\n ? t(\"navigation.drag.handle.label\", { label })\n : t(\"navigation.drag.handle\")\n }\n focusRingColor={uiShellContext?.sideNavContrastColors?.focusRingColor}\n isGrabbed={isGrabbed}\n isSelected={isSelected}\n odysseyDesignTokens={odysseyDesignTokens}\n ref={ref}\n >\n <svg\n fill=\"none\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n width=\"16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n clipRule=\"evenodd\"\n d=\"M6 2.33331C6 2.8856 5.55228 3.33331 5 3.33331C4.44772 3.33331 4 2.8856 4 2.33331C4 1.78103 4.44772 1.33331 5 1.33331C5.55228 1.33331 6 1.78103 6 2.33331ZM11 3.33331C11.5523 3.33331 12 2.8856 12 2.33331C12 1.78103 11.5523 1.33331 11 1.33331C10.4477 1.33331 10 1.78103 10 2.33331C10 2.8856 10.4477 3.33331 11 3.33331ZM11 7.11109C11.5523 7.11109 12 6.66338 12 6.11109C12 5.55881 11.5523 5.11109 11 5.11109C10.4477 5.11109 10 5.55881 10 6.11109C10 6.66338 10.4477 7.11109 11 7.11109ZM12 9.88887C12 10.4412 11.5523 10.8889 11 10.8889C10.4477 10.8889 10 10.4412 10 9.88887C10 9.33659 10.4477 8.88887 11 8.88887C11.5523 8.88887 12 9.33659 12 9.88887ZM11 14.6666C11.5523 14.6666 12 14.2189 12 13.6666C12 13.1144 11.5523 12.6666 11 12.6666C10.4477 12.6666 10 13.1144 10 13.6666C10 14.2189 10.4477 14.6666 11 14.6666ZM5 7.11109C5.55228 7.11109 6 6.66338 6 6.11109C6 5.55881 5.55228 5.11109 5 5.11109C4.44772 5.11109 4 5.55881 4 6.11109C4 6.66338 4.44772 7.11109 5 7.11109ZM6 9.88888C6 10.4412 5.55228 10.8889 5 10.8889C4.44772 10.8889 4 10.4412 4 9.88888C4 9.33659 4.44772 8.88888 5 8.88888C5.55228 8.88888 6 9.33659 6 9.88888ZM5 14.6666C5.55228 14.6666 6 14.2189 6 13.6666C6 13.1144 5.55228 12.6666 5 12.6666C4.44772 12.6666 4 13.1144 4 13.6666C4 14.2189 4.44772 14.6666 5 14.6666Z\"\n fill=\"#3F59E4\"\n fillRule=\"evenodd\"\n />\n </svg>\n </StyledDragHandleButton>\n );\n};\n\nexport const SortableItem = ({\n id,\n isDisabled,\n isSelected,\n isSortable = true,\n label,\n children,\n}: PropsWithChildren<ItemProps>) => {\n const { t } = useTranslation();\n const {\n attributes,\n isDragging,\n listeners,\n setNodeRef,\n setActivatorNodeRef,\n transform,\n transition,\n } = useSortable({\n attributes: {\n roleDescription: t(\"navigation.drag.handle.roledescription\"),\n },\n id,\n });\n\n const context: SortableItemContextType = useMemo(\n () => ({\n attributes,\n listeners,\n // This library gives us a legacy ref function, and I can't change it, so I had to override the type. --Kevin Ghadyani\n ref: setActivatorNodeRef as unknown as RefObject<HTMLButtonElement>,\n }),\n [attributes, listeners, setActivatorNodeRef],\n );\n\n const style: CSSProperties = {\n opacity: isDragging ? 0.4 : undefined,\n transform: CSS.Translate.toString(transform),\n transition,\n };\n\n const uiShellContext = useUiShellContext();\n const odysseyDesignTokens: DesignTokens = useOdysseyDesignTokens();\n\n return (\n <SortableItemContext.Provider value={context}>\n <StyledSortableListItem\n isSelected={isSelected}\n odysseyDesignTokens={odysseyDesignTokens}\n ref={setNodeRef}\n sideNavContrastColors={uiShellContext?.sideNavContrastColors}\n style={style}\n >\n {!isDisabled && isSortable && (\n <DragHandle isSelected={isSelected} label={label} />\n )}\n {children}\n </StyledSortableListItem>\n </SortableItemContext.Provider>\n );\n};\n"],"mappings":";;;;;;AAiBA,IAAAA,SAAA,GAAAC,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AElE,OACE,IAAAtD,WAAA,CAAA4D,GAAA,EAACxD,mBAAmB,CAACkF,QAAQ;IAACC,KAAK,EAAEP,OAAQ;IAAAnB,QAAA,EAC3C,IAAA7D,WAAA,CAAAwF,IAAA,EAAC7E,sBAAsB;MACrBK,UAAU,EAAEA,UAAW;MACvBD,mBAAmB,EAAEA,mBAAoB;MACzCN,GAAG,EAAEkE,UAAW;MAChB1D,qBAAqB,EAAEwC,cAAc,EAAExC,qBAAsB;MAC7DiE,KAAK,EAAEA,KAAM;MAAArB,QAAA,GAEZ,CAACW,UAAU,IAAIC,UAAU,IACxB,IAAAzE,WAAA,CAAA4D,GAAA,EAACT,UAAU;QAACnC,UAAU,EAAEA,UAAW;QAACoC,KAAK,EAAEA;MAAM,CAAE,CACpD,EACAS,QAAQ;IAAA,CACa;EAAC,CACG,CAAC;AAEnC,CAAC;AAACQ,OAAA,CAAAC,YAAA,GAAAA,YAAA","ignoreList":[]}
@@ -84,6 +84,9 @@ const SortableList = ({
84
84
  return (0, _jsxRuntime.jsxs)(_core.DndContext, {
85
85
  accessibility: {
86
86
  announcements,
87
+ screenReaderInstructions: {
88
+ draggable: t("sortable.list.drag.instructions")
89
+ },
87
90
  container: typeof document !== "undefined" ? document.body : undefined
88
91
  },
89
92
  onDragCancel: () => {
@@ -1 +1 @@
1
- {"version":3,"file":"SortableList.cjs","names":["_core","require","_sortable","_react","_i18n","_SortableItem","_SortableOverlay","_jsxRuntime","SortableList","parentId","items","onChange","renderItem","active","setActive","useState","activeItem","useMemo","find","item","id","sensors","useSensors","useSensor","PointerSensor","KeyboardSensor","coordinateGetter","sortableKeyboardCoordinates","t","useTranslation","announcements","onDragStart","activeId","onDragOver","over","overId","onDragEnd","onDragCancel","jsxs","DndContext","accessibility","container","document","body","undefined","activeIndex","findIndex","overIndex","isSortable","children","jsx","SortableContext","map","Fragment","SortableOverlay","exports","Item","SortableItem"],"sources":["../../../../../src/ui-shell/SideNav/SortableList/SortableList.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { ReactNode } from \"react\";\n\nimport {\n Active,\n Announcements,\n DndContext,\n KeyboardSensor,\n PointerSensor,\n UniqueIdentifier,\n useSensor,\n useSensors,\n} from \"@dnd-kit/core\";\nimport {\n SortableContext,\n sortableKeyboardCoordinates,\n} from \"@dnd-kit/sortable\";\nimport { Fragment, useMemo, useState } from \"react\";\n\nimport { useTranslation } from \"../../../i18n.generated/i18n.js\";\nimport { SortableItem } from \"./SortableItem.js\";\nimport { SortableOverlay } from \"./SortableOverlay.js\";\n\nexport interface BaseItem {\n id: UniqueIdentifier;\n isDisabled: boolean | undefined;\n isSelected: boolean | undefined;\n isSortable: boolean | undefined;\n /**\n * The item's visible label, used to give its drag handle a unique accessible name (e.g. \"Drag handle for Work\") so screen-reader users can distinguish handles that otherwise share the same name.\n */\n label: string;\n navItem: ReactNode;\n}\n\ninterface ListProps<T extends BaseItem> {\n items: T[];\n onChange: (\n parentId: string,\n activeId: UniqueIdentifier,\n activeIndex: number,\n overIndex: number,\n ) => void;\n parentId: string;\n renderItem: (item: T) => ReactNode;\n}\n\nexport const SortableList = <T extends BaseItem>({\n parentId,\n items,\n onChange,\n renderItem,\n}: ListProps<T>) => {\n const [active, setActive] = useState<Active | null>(null);\n\n const activeItem = useMemo(\n () => items.find((item) => item.id === active?.id),\n [active, items],\n );\n const sensors = useSensors(\n useSensor(PointerSensor),\n useSensor(KeyboardSensor, {\n coordinateGetter: sortableKeyboardCoordinates,\n }),\n );\n\n const { t } = useTranslation();\n const announcements: Announcements = useMemo(\n () => ({\n onDragStart: ({ active }) => {\n return `${t(\"sortable.list.drag.start\", { activeId: active.id })}`;\n },\n onDragOver: ({ active, over }) => {\n if (over) {\n return `${t(\"sortable.list.drag.moved.over\", { activeId: active.id, overId: over.id })}`;\n }\n return `${t(\"sortable.list.drag.nolonger.over\", { activeId: active.id })}`;\n },\n onDragEnd: ({ active, over }) => {\n if (over) {\n return `${t(\"sortable.list.drag.end.dropped.over\", { activeId: active.id, overId: over.id })}`;\n }\n return `${t(\"sortable.list.drag.end.dropped\", { activeId: active.id })}`;\n },\n onDragCancel: ({ active }) => {\n return `${t(\"sortable.list.drag.cancel\", { activeId: active.id })}`;\n },\n }),\n [t],\n );\n\n return (\n <DndContext\n accessibility={{\n announcements,\n // Portal the drag live region to the document body: SortableList renders inside a semantic <ul>, and an inline role=\"status\" element would be an invalid non-<li> child, breaking the list's accessibility semantics.\n container: typeof document !== \"undefined\" ? document.body : undefined,\n }}\n onDragCancel={() => {\n setActive(null);\n }}\n onDragEnd={({ active, over }) => {\n if (over && active.id !== over?.id) {\n const activeIndex = items.findIndex(({ id }) => id === active.id);\n const overIndex = items.findIndex(({ id }) => id === over.id);\n // allow sorting by default except when isSortable is set to false explicitly\n if (items[overIndex].isSortable !== false) {\n onChange(parentId, active.id, activeIndex, overIndex);\n }\n }\n setActive(null);\n }}\n onDragStart={({ active }) => {\n setActive(active);\n }}\n sensors={sensors}\n >\n <SortableContext items={items}>\n {items.map((item) => (\n <Fragment key={item.id}>{renderItem(item)}</Fragment>\n ))}\n </SortableContext>\n <SortableOverlay>\n {activeItem ? renderItem(activeItem) : null}\n </SortableOverlay>\n </DndContext>\n );\n};\n\nSortableList.Item = SortableItem;\n"],"mappings":";;;;;;AAcA,IAAAA,KAAA,GAAAC,OAAA;AAUA,IAAAC,SAAA,GAAAD,OAAA;AAIA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;A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1B;QAAG,CAAC,KAAKA,EAAE,KAAKc,IAAI,CAACd,EAAE,CAAC;QAE7D,IAAIV,KAAK,CAACqC,SAAS,CAAC,CAACC,UAAU,KAAK,KAAK,EAAE;UACzCrC,QAAQ,CAACF,QAAQ,EAAEI,MAAM,CAACO,EAAE,EAAEyB,WAAW,EAAEE,SAAS,CAAC;QACvD;MACF;MACAjC,SAAS,CAAC,IAAI,CAAC;IACjB,CAAE;IACFiB,WAAW,EAAEA,CAAC;MAAElB;IAAO,CAAC,KAAK;MAC3BC,SAAS,CAACD,MAAM,CAAC;IACnB,CAAE;IACFQ,OAAO,EAAEA,OAAQ;IAAA4B,QAAA,GAEjB,IAAA1C,WAAA,CAAA2C,GAAA,EAAChD,SAAA,CAAAiD,eAAe;MAACzC,KAAK,EAAEA,KAAM;MAAAuC,QAAA,EAC3BvC,KAAK,CAAC0C,GAAG,CAAEjC,IAAI,IACd,IAAAZ,WAAA,CAAA2C,GAAA,EAAC/C,MAAA,CAAAkD,QAAQ;QAAAJ,QAAA,EAAgBrC,UAAU,CAACO,IAAI;MAAC,GAA1BA,IAAI,CAACC,EAAgC,CACrD;IAAC,CACa,CAAC,EAClB,IAAAb,WAAA,CAAA2C,GAAA,EAAC5C,gBAAA,CAAAgD,eAAe;MAAAL,QAAA,EACbjC,UAAU,GAAGJ,UAAU,CAACI,UAAU,CAAC,GAAG;IAAI,CAC5B,CAAC;EAAA,CACR,CAAC;AAEjB,CAAC;AAACuC,OAAA,CAAA/C,YAAA,GAAAA,YAAA;AAEFA,YAAY,CAACgD,IAAI,GAAGC,0BAAY","ignoreList":[]}
1
+ {"version":3,"file":"SortableList.cjs","names":["_core","require","_sortable","_react","_i18n","_SortableItem","_SortableOverlay","_jsxRuntime","SortableList","parentId","items","onChange","renderItem","active","setActive","useState","activeItem","useMemo","find","item","id","sensors","useSensors","useSensor","PointerSensor","KeyboardSensor","coordinateGetter","sortableKeyboardCoordinates","t","useTranslation","announcements","onDragStart","activeId","onDragOver","over","overId","onDragEnd","onDragCancel","jsxs","DndContext","accessibility","screenReaderInstructions","draggable","container","document","body","undefined","activeIndex","findIndex","overIndex","isSortable","children","jsx","SortableContext","map","Fragment","SortableOverlay","exports","Item","SortableItem"],"sources":["../../../../../src/ui-shell/SideNav/SortableList/SortableList.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { ReactNode } from \"react\";\n\nimport {\n Active,\n Announcements,\n DndContext,\n KeyboardSensor,\n PointerSensor,\n UniqueIdentifier,\n useSensor,\n useSensors,\n} from \"@dnd-kit/core\";\nimport {\n SortableContext,\n sortableKeyboardCoordinates,\n} from \"@dnd-kit/sortable\";\nimport { Fragment, useMemo, useState } from \"react\";\n\nimport { useTranslation } from \"../../../i18n.generated/i18n.js\";\nimport { SortableItem } from \"./SortableItem.js\";\nimport { SortableOverlay } from \"./SortableOverlay.js\";\n\nexport interface BaseItem {\n id: UniqueIdentifier;\n isDisabled: boolean | undefined;\n isSelected: boolean | undefined;\n isSortable: boolean | undefined;\n /**\n * The item's visible label, used to give its drag handle a unique accessible name (e.g. \"Drag handle for Work\") so screen-reader users can distinguish handles that otherwise share the same name.\n */\n label: string;\n navItem: ReactNode;\n}\n\ninterface ListProps<T extends BaseItem> {\n items: T[];\n onChange: (\n parentId: string,\n activeId: UniqueIdentifier,\n activeIndex: number,\n overIndex: number,\n ) => void;\n parentId: string;\n renderItem: (item: T) => ReactNode;\n}\n\nexport const SortableList = <T extends BaseItem>({\n parentId,\n items,\n onChange,\n renderItem,\n}: ListProps<T>) => {\n const [active, setActive] = useState<Active | null>(null);\n\n const activeItem = useMemo(\n () => items.find((item) => item.id === active?.id),\n [active, items],\n );\n const sensors = useSensors(\n useSensor(PointerSensor),\n useSensor(KeyboardSensor, {\n coordinateGetter: sortableKeyboardCoordinates,\n }),\n );\n\n const { t } = useTranslation();\n const announcements: Announcements = useMemo(\n () => ({\n onDragStart: ({ active }) => {\n return `${t(\"sortable.list.drag.start\", { activeId: active.id })}`;\n },\n onDragOver: ({ active, over }) => {\n if (over) {\n return `${t(\"sortable.list.drag.moved.over\", { activeId: active.id, overId: over.id })}`;\n }\n return `${t(\"sortable.list.drag.nolonger.over\", { activeId: active.id })}`;\n },\n onDragEnd: ({ active, over }) => {\n if (over) {\n return `${t(\"sortable.list.drag.end.dropped.over\", { activeId: active.id, overId: over.id })}`;\n }\n return `${t(\"sortable.list.drag.end.dropped\", { activeId: active.id })}`;\n },\n onDragCancel: ({ active }) => {\n return `${t(\"sortable.list.drag.cancel\", { activeId: active.id })}`;\n },\n }),\n [t],\n );\n\n return (\n <DndContext\n accessibility={{\n announcements,\n screenReaderInstructions: {\n draggable: t(\"sortable.list.drag.instructions\"),\n },\n // Portal the drag live region to the document body: SortableList renders inside a semantic <ul>, and an inline role=\"status\" element would be an invalid non-<li> child, breaking the list's accessibility semantics.\n container: typeof document !== \"undefined\" ? document.body : undefined,\n }}\n onDragCancel={() => {\n setActive(null);\n }}\n onDragEnd={({ active, over }) => {\n if (over && active.id !== over?.id) {\n const activeIndex = items.findIndex(({ id }) => id === active.id);\n const overIndex = items.findIndex(({ id }) => id === over.id);\n // allow sorting by default except when isSortable is set to false explicitly\n if (items[overIndex].isSortable !== false) {\n onChange(parentId, active.id, activeIndex, overIndex);\n }\n }\n setActive(null);\n }}\n onDragStart={({ active }) => {\n setActive(active);\n }}\n sensors={sensors}\n >\n <SortableContext items={items}>\n {items.map((item) => (\n <Fragment key={item.id}>{renderItem(item)}</Fragment>\n ))}\n </SortableContext>\n <SortableOverlay>\n {activeItem ? renderIt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CAAAjD,YAAA,GAAAA,YAAA;AAEFA,YAAY,CAACkD,IAAI,GAAGC,0BAAY","ignoreList":[]}
@@ -121,5 +121,5 @@ const SkipToContent = ({
121
121
  });
122
122
  };
123
123
  const MemoizedSkipToContent = exports.SkipToContent = (0, _react.memo)(SkipToContent);
124
- MemoizedSkipToContent.displayName = "SkipToContent::pkg=odyssey&odysseyV=1.73.1";
124
+ MemoizedSkipToContent.displayName = "SkipToContent::pkg=odyssey&odysseyV=1.74.0";
125
125
  //# sourceMappingURL=SkipToContent.cjs.map
@@ -33,5 +33,5 @@ var _jsxRuntime = require("react/jsx-runtime");
33
33
  });
34
34
  });
35
35
  const MemoizedHamburgerMenuIcon = exports.HamburgerMenuIcon = (0, _react.memo)(HamburgerMenuIcon);
36
- MemoizedHamburgerMenuIcon.displayName = "HamburgerMenuIcon::pkg=odyssey&odysseyV=1.73.1";
36
+ MemoizedHamburgerMenuIcon.displayName = "HamburgerMenuIcon::pkg=odyssey&odysseyV=1.74.0";
37
37
  //# sourceMappingURL=HamburgerMenuIcon.cjs.map
@@ -69,5 +69,5 @@ const TopNav = ({
69
69
  });
70
70
  };
71
71
  const MemoizedTopNav = exports.TopNav = (0, _react.memo)(TopNav);
72
- MemoizedTopNav.displayName = "TopNav::pkg=odyssey&odysseyV=1.73.1";
72
+ MemoizedTopNav.displayName = "TopNav::pkg=odyssey&odysseyV=1.74.0";
73
73
  //# sourceMappingURL=TopNav.cjs.map
@@ -144,5 +144,5 @@ const UiShell = ({
144
144
  });
145
145
  };
146
146
  const MemoizedUiShell = exports.UiShell = (0, _react.memo)(UiShell);
147
- MemoizedUiShell.displayName = "UiShell::pkg=odyssey&odysseyV=1.73.1";
147
+ MemoizedUiShell.displayName = "UiShell::pkg=odyssey&odysseyV=1.74.0";
148
148
  //# sourceMappingURL=UiShell.cjs.map
@@ -94,5 +94,5 @@ const UiShellLogo = ({
94
94
  });
95
95
  };
96
96
  const MemoizedUiShellLogo = exports.UiShellLogo = (0, _react.memo)(UiShellLogo);
97
- MemoizedUiShellLogo.displayName = "UiShellLogo::pkg=odyssey&odysseyV=1.73.1";
97
+ MemoizedUiShellLogo.displayName = "UiShellLogo::pkg=odyssey&odysseyV=1.74.0";
98
98
  //# sourceMappingURL=UiShellLogo.cjs.map
@@ -216,5 +216,5 @@ const WideUiShellContent = ({
216
216
  });
217
217
  };
218
218
  const MemoizedWideUiShellContent = exports.WideUiShellContent = (0, _react.memo)(WideUiShellContent);
219
- MemoizedWideUiShellContent.displayName = "WideUiShellContent::pkg=odyssey&odysseyV=1.73.1";
219
+ MemoizedWideUiShellContent.displayName = "WideUiShellContent::pkg=odyssey&odysseyV=1.74.0";
220
220
  //# sourceMappingURL=WideUiShellContent.cjs.map
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useMaterialReactTableLocalization = void 0;
7
+ var _react = require("react");
8
+ var _i18n = require("./i18n.generated/i18n.cjs");
9
+ /*!
10
+ * Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
11
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
12
+ *
13
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ *
18
+ * See the License for the specific language governing permissions and limitations under the License.
19
+ */const useMaterialReactTableLocalization = () => {
20
+ const {
21
+ t
22
+ } = (0, _i18n.useTranslation)();
23
+ return (0, _react.useMemo)(() => ({
24
+ clearFilter: t("table.mrt.clearfilter"),
25
+ clearSearch: t("table.mrt.clearsearch"),
26
+ clearSelection: t("table.mrt.clearselection"),
27
+ collapse: t("table.rowexpansion.collapse"),
28
+ columnActions: t("table.mrt.columnactions"),
29
+ expand: t("table.rowexpansion.expand"),
30
+ filterByColumn: t("table.mrt.filterbycolumn", {
31
+ column: "{column}"
32
+ }),
33
+ goToNextPage: t("table.mrt.gotonextpage"),
34
+ goToPreviousPage: t("table.mrt.gotopreviouspage"),
35
+ hideAll: t("table.mrt.hideall"),
36
+ hideColumn: t("table.mrt.hidecolumn", {
37
+ column: "{column}"
38
+ }),
39
+ noRecordsToDisplay: t("table.mrt.norecordstodisplay"),
40
+ noResultsFound: t("table.mrt.noresultsfound"),
41
+ of: t("table.mrt.of"),
42
+ rowsPerPage: t("table.mrt.rowsperpage"),
43
+ search: t("table.mrt.search"),
44
+ select: t("table.mrt.select"),
45
+ selectedCountOfRowCountRowsSelected: t("table.mrt.selectedcountofrowcountrowsselected", {
46
+ selectedCount: "{selectedCount}",
47
+ rowCount: "{rowCount}"
48
+ }),
49
+ showAll: t("table.mrt.showall"),
50
+ showAllColumns: t("table.mrt.showallcolumns"),
51
+ showHideColumns: t("table.mrt.showhidecolumns"),
52
+ showHideFilters: t("table.mrt.showhidefilters"),
53
+ showHideSearch: t("table.mrt.showhidesearch"),
54
+ sortByColumnAsc: t("table.mrt.sortbycolumnasc", {
55
+ column: "{column}"
56
+ }),
57
+ sortByColumnDesc: t("table.mrt.sortbycolumndesc", {
58
+ column: "{column}"
59
+ }),
60
+ sortedByColumnAsc: t("table.mrt.sortedbycolumnasc", {
61
+ column: "{column}"
62
+ }),
63
+ sortedByColumnDesc: t("table.mrt.sortedbycolumndesc", {
64
+ column: "{column}"
65
+ }),
66
+ toggleDensity: t("table.mrt.toggledensity"),
67
+ toggleFullScreen: t("table.mrt.togglefullscreen"),
68
+ toggleSelectAll: t("table.mrt.toggleselectall"),
69
+ toggleSelectRow: t("table.mrt.toggleselectrow"),
70
+ toggleVisibility: t("table.mrt.togglevisibility")
71
+ }), [t]);
72
+ };
73
+ exports.useMaterialReactTableLocalization = useMaterialReactTableLocalization;
74
+ //# sourceMappingURL=useMaterialReactTableLocalization.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMaterialReactTableLocalization.cjs","names":["_react","require","_i18n","useMaterialReactTableLocalization","t","useTranslation","useMemo","clearFilter","clearSearch","clearSelection","collapse","columnActions","expand","filterByColumn","column","goToNextPage","goToPreviousPage","hideAll","hideColumn","noRecordsToDisplay","noResultsFound","of","rowsPerPage","search","select","selectedCountOfRowCountRowsSelected","selectedCount","rowCount","showAll","showAllColumns","showHideColumns","showHideFilters","showHideSearch","sortByColumnAsc","sortByColumnDesc","sortedByColumnAsc","sortedByColumnDesc","toggleDensity","toggleFullScreen","toggleSelectAll","toggleSelectRow","toggleVisibility","exports"],"sources":["../../src/useMaterialReactTableLocalization.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-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 { MRT_Localization } from \"material-react-table\";\n\nimport { useMemo } from \"react\";\n\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\n\n/**\n * Material React Table falls back to built-in English for every string it renders unless `localization` is passed, so each Odyssey table passes this.\n *\n * It covers only the strings an Odyssey table can show. `DataTable` and `DataView` turn off MRT's toolbars, filters, column menus, and pagination, and set their own drag handle and actions column labels. The deprecated `PaginatedTable` and `StaticTable` keep MRT's toolbars, which is where most of these come from. Translating the other MRT strings would give translators work nobody sees. Nothing fails when a table starts showing a string this leaves out, so a change that turns on an MRT feature adds that feature's strings here. See `docs/decisions/2026-11-16-translate-only-mrt-strings-a-table-shows.md`.\n *\n * MRT substitutes its own `{column}`-style placeholders after it receives these strings, so each placeholder is passed back to i18next as its literal token.\n */\nexport const useMaterialReactTableLocalization =\n (): Partial<MRT_Localization> => {\n const { t } = useTranslation();\n\n return useMemo(\n () => ({\n clearFilter: t(\"table.mrt.clearfilter\"),\n clearSearch: t(\"table.mrt.clearsearch\"),\n clearSelection: t(\"table.mrt.clearselection\"),\n collapse: t(\"table.rowexpansion.collapse\"),\n columnActions: t(\"table.mrt.columnactions\"),\n expand: t(\"table.rowexpansion.expand\"),\n filterByColumn: t(\"table.mrt.filterbycolumn\", { column: \"{column}\" }),\n goToNextPage: t(\"table.mrt.gotonextpage\"),\n goToPreviousPage: t(\"table.mrt.gotopreviouspage\"),\n hideAll: t(\"table.mrt.hideall\"),\n hideColumn: t(\"table.mrt.hidecolumn\", { column: \"{column}\" }),\n noRecordsToDisplay: t(\"table.mrt.norecordstodisplay\"),\n noResultsFound: t(\"table.mrt.noresultsfound\"),\n of: t(\"table.mrt.of\"),\n rowsPerPage: t(\"table.mrt.rowsperpage\"),\n search: t(\"table.mrt.search\"),\n select: t(\"table.mrt.select\"),\n selectedCountOfRowCountRowsSelected: t(\n \"table.mrt.selectedcountofrowcountrowsselected\",\n { selectedCount: \"{selectedCount}\", rowCount: \"{rowCount}\" },\n ),\n showAll: t(\"table.mrt.showall\"),\n showAllColumns: t(\"table.mrt.showallcolumns\"),\n showHideColumns: t(\"table.mrt.showhidecolumns\"),\n showHideFilters: t(\"table.mrt.showhidefilters\"),\n showHideSearch: t(\"table.mrt.showhidesearch\"),\n sortByColumnAsc: t(\"table.mrt.sortbycolumnasc\", { column: \"{column}\" }),\n sortByColumnDesc: t(\"table.mrt.sortbycolumndesc\", {\n column: \"{column}\",\n }),\n sortedByColumnAsc: t(\"table.mrt.sortedbycolumnasc\", {\n column: \"{column}\",\n }),\n sortedByColumnDesc: t(\"table.mrt.sortedbycolumndesc\", {\n column: \"{column}\",\n }),\n toggleDensity: t(\"table.mrt.toggledensity\"),\n toggleFullScreen: t(\"table.mrt.togglefullscreen\"),\n toggleSelectAll: t(\"table.mrt.toggleselectall\"),\n toggleSelectRow: t(\"table.mrt.toggleselectrow\"),\n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AC7BqB,mCAAmC,EAAErB,CAAC,CACpC,+CAA+C,EAC/C;MAAEsB,aAAa,EAAE,iBAAiB;MAAEC,QAAQ,EAAE;IAAa,CAC7D,CAAC;IACDC,OAAO,EAAExB,CAAC,CAAC,mBAAmB,CAAC;IAC/ByB,cAAc,EAAEzB,CAAC,CAAC,0BAA0B,CAAC;IAC7C0B,eAAe,EAAE1B,CAAC,CAAC,2BAA2B,CAAC;IAC/C2B,eAAe,EAAE3B,CAAC,CAAC,2BAA2B,CAAC;IAC/C4B,cAAc,EAAE5B,CAAC,CAAC,0BAA0B,CAAC;IAC7C6B,eAAe,EAAE7B,CAAC,CAAC,2BAA2B,EAAE;MAAEU,MAAM,EAAE;IAAW,CAAC,CAAC;IACvEoB,gBAAgB,EAAE9B,CAAC,CAAC,4BAA4B,EAAE;MAChDU,MAAM,EAAE;IACV,CAAC,CAAC;IACFqB,iBAAiB,EAAE/B,CAAC,CAAC,6BAA6B,EAAE;MAClDU,MAAM,EAAE;IACV,CAAC,CAAC;IACFsB,kBAAkB,EAAEhC,CAAC,CAAC,8BAA8B,EAAE;MACpDU,MAAM,EAAE;IACV,CAAC,CAAC;IACFuB,aAAa,EAAEjC,CAAC,CAAC,yBAAyB,CAAC;IAC3CkC,gBAAgB,EAAElC,CAAC,CAAC,4BAA4B,CAAC;IACjDmC,eAAe,EAAEnC,CAAC,CAAC,2BAA2B,CAAC;IAC/CoC,eAAe,EAAEpC,CAAC,CAAC,2BAA2B,CAAC;IAC/CqC,gBAAgB,EAAErC,CAAC,CAAC,4BAA4B;EAClD,CAAC,CAAC,EACF,CAACA,CAAC,CACJ,CAAC;AACH,CAAC;AAACsC,OAAA,CAAAvC,iCAAA,GAAAA,iCAAA","ignoreList":[]}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.useStableCallback = void 0;
7
- var _utils = require("@mui/utils");
7
+ var _react = require("react");
8
8
  /*!
9
9
  * Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.
10
10
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
@@ -15,9 +15,16 @@ var _utils = require("@mui/utils");
15
15
  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  *
17
17
  * See the License for the specific language governing permissions and limitations under the License.
18
- */
19
-
20
- const noop = () => undefined;
21
- const useStableCallback = callback => (0, _utils.unstable_useEventCallback)(callback ?? noop);
18
+ */const useIsomorphicLayoutEffect = typeof window === "undefined" ? _react.useEffect : _react.useLayoutEffect;
19
+ const useStableCallback = callback => {
20
+ const latestCallbackReference = (0, _react.useRef)(callback);
21
+ useIsomorphicLayoutEffect(() => {
22
+ latestCallbackReference.current = callback;
23
+ });
24
+ return (0, _react.useRef)((...callbackArguments) => {
25
+ const latestCallback = latestCallbackReference.current;
26
+ return latestCallback?.(...callbackArguments);
27
+ }).current;
28
+ };
22
29
  exports.useStableCallback = useStableCallback;
23
30
  //# sourceMappingURL=useStableCallback.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useStableCallback.cjs","names":["_utils","require","noop","undefined","useStableCallback","callback","unstable_useEventCallback","exports"],"sources":["../../src/useStableCallback.ts"],"sourcesContent":["/*!\n * Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { unstable_useEventCallback } from \"@mui/utils\";\n\nconst noop = () => undefined;\n\n/**\n * Returns a callback with a permanent identity that always invokes the most recent version of `callback`.\n *\n * Use this for any consumer-supplied callback a component notifies from a `useEffect`. Consumers routinely pass an inline arrow function, which has a new identity on every render. Listing that identity in an effect's dependency array makes the effect run on renders where nothing it reports actually changed, and it then reports values captured before the latest commit. When the consumer feeds a reported value back in as a prop, the prop and the component's internal state can swap values on every commit and never settle.\n *\n * The returned callback is safe to omit from dependency arrays, so the effect can depend only on the state it reports:\n *\n * ```tsx\n * const stableOnPaginationChange = useStableCallback(onPaginationChange);\n *\n * useEffect(() => {\n * stableOnPaginationChange(pagination);\n * }, [pagination, stableOnPaginationChange]);\n * ```\n *\n * The latest `callback` is captured in a layout effect, so the returned callback must not be invoked during render. Invoke it from an effect or an event handler.\n *\n * Passing `undefined` is supported and yields a callback that does nothing, which removes the need for optional-call syntax at every call site.\n *\n * @param callback The callback to stabilize, typically a component prop.\n */\nexport const useStableCallback = <\n CallbackArguments extends unknown[],\n CallbackReturn,\n>(\n callback?: (...callbackArguments: CallbackArguments) => CallbackReturn,\n) =>\n unstable_useEventCallback<CallbackArguments, CallbackReturn | undefined>(\n callback ?? noop,\n );\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,MAAMC,IAAI,GAAGA,CAAA,KAAMC,SAAS;AAuBrB,MAAMC,iBAAiB,GAI5BC,QAAsE,IAEtE,IAAAC,gCAAyB,EACvBD,QAAQ,IAAIH,IACd,CAAC;AAACK,OAAA,CAAAH,iBAAA,GAAAA,iBAAA","ignoreList":[]}
1
+ {"version":3,"file":"useStableCallback.cjs","names":["_react","require","useIsomorphicLayoutEffect","window","useEffect","useLayoutEffect","useStableCallback","callback","latestCallbackReference","useRef","current","callbackArguments","latestCallback","exports"],"sources":["../../src/useStableCallback.ts"],"sourcesContent":["/*!\n * Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { useEffect, useLayoutEffect, useRef } from \"react\";\n\n/**\n * `useLayoutEffect` prints a warning when it runs on the server, because the server has no layout to read.\n */\nconst useIsomorphicLayoutEffect =\n typeof window === \"undefined\" ? useEffect : useLayoutEffect;\n\n/**\n * Returns a callback with a permanent identity that always invokes the most recent version of `callback`.\n *\n * Use this for any consumer-supplied callback a component notifies from a `useEffect`. Consumers routinely pass an inline arrow function, which has a new identity on every render. Listing that identity in an effect's dependency array makes the effect run on renders where nothing it reports actually changed, and it then reports values captured before the latest commit. When the consumer feeds a reported value back in as a prop, the prop and the component's internal state can swap values on every commit and never settle.\n *\n * The returned callback is safe to omit from dependency arrays, so the effect can depend only on the state it reports:\n *\n * ```tsx\n * const stableOnPaginationChange = useStableCallback(onPaginationChange);\n *\n * useEffect(() => {\n * stableOnPaginationChange(pagination);\n * }, [pagination, stableOnPaginationChange]);\n * ```\n *\n * The latest `callback` is captured in a layout effect, so the returned callback must not be invoked during render. Invoke it from an effect or an event handler.\n *\n * Passing `undefined` is supported and yields a callback that does nothing, which removes the need for optional-call syntax at every call site.\n *\n * @param callback The callback to stabilize, typically a component prop.\n */\nexport const useStableCallback = <\n CallbackArguments extends unknown[],\n CallbackReturn,\n>(\n callback?: (...callbackArguments: CallbackArguments) => CallbackReturn,\n) => {\n const latestCallbackReference = useRef(callback);\n\n useIsomorphicLayoutEffect(() => {\n latestCallbackReference.current = callback;\n });\n\n return useRef(\n (...callbackArguments: CallbackArguments): CallbackReturn | undefined => {\n // Read the callback into a variable first, so the call does not bind `this` to the ref.\n const latestCallback = latestCallbackReference.current;\n\n return latestCallback?.(...callbackArguments);\n },\n ).current;\n};\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAOA,MAAMC,yBAAyB,GAC7B,OAAOC,MAAM,KAAK,WAAW,GAAGC,gBAAS,GAAGC,sBAAe;AAuBtD,MAAMC,iBAAiB,GAI5BC,QAAsE,IACnE;EACH,MAAMC,uBAAuB,GAAG,IAAAC,aAAM,EAACF,QAAQ,CAAC;EAEhDL,yBAAyB,CAAC,MAAM;IAC9BM,uBAAuB,CAACE,OAAO,GAAGH,QAAQ;EAC5C,CAAC,CAAC;EAEF,OAAO,IAAAE,aAAM,EACX,CAAC,GAAGE,iBAAoC,KAAiC;IAEvE,MAAMC,cAAc,GAAGJ,uBAAuB,CAACE,OAAO;IAEtD,OAAOE,cAAc,GAAG,GAAGD,iBAAiB,CAAC;EAC/C,CACF,CAAC,CAACD,OAAO;AACX,CAAC;AAACG,OAAA,CAAAP,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -15,5 +15,5 @@ exports.default = void 0;
15
15
  *
16
16
  * See the License for the specific language governing permissions and limitations under the License.
17
17
  */
18
- var _default = exports.default = "1-73-1";
18
+ var _default = exports.default = "1-74-0";
19
19
  //# sourceMappingURL=odysseyWebComponentVersion.generated.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"odysseyWebComponentVersion.generated.cjs","names":["_default","exports","default"],"sources":["../../../src/web-component/odysseyWebComponentVersion.generated.ts"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\n/**\n * DO NOT UPDATE THIS FILE MANUALLY\n * This file is managed by scripts/updateWebComponentVersion.ts and any changes made will be overwritten\n * This script only needs to be run during release, and shouldn't be used during local development.\n */\n\nexport default \"1-73-1\";\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVA,IAAAA,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAkBe,QAAQ","ignoreList":[]}
1
+ {"version":3,"file":"odysseyWebComponentVersion.generated.cjs","names":["_default","exports","default"],"sources":["../../../src/web-component/odysseyWebComponentVersion.generated.ts"],"sourcesContent":["/*!\n * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\n/**\n * DO NOT UPDATE THIS FILE MANUALLY\n * This file is managed by scripts/updateWebComponentVersion.ts and any changes made will be overwritten\n * This script only needs to be run during release, and shouldn't be used during local development.\n */\n\nexport default \"1-74-0\";\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVA,IAAAA,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAkBe,QAAQ","ignoreList":[]}
@@ -57,6 +57,6 @@ const Accordion = ({
57
57
  });
58
58
  };
59
59
  const MemoizedAccordion = memo(Accordion);
60
- MemoizedAccordion.displayName = "Accordion::pkg=odyssey&odysseyV=1.73.1";
60
+ MemoizedAccordion.displayName = "Accordion::pkg=odyssey&odysseyV=1.74.0";
61
61
  export { MemoizedAccordion as Accordion };
62
62
  //# sourceMappingURL=Accordion.js.map
@@ -30,7 +30,7 @@ const AnimationProvider = ({
30
30
  });
31
31
  };
32
32
  const MemoizedAnimationProvider = memo(AnimationProvider);
33
- MemoizedAnimationProvider.displayName = "AnimationProvider::pkg=odyssey&odysseyV=1.73.1";
33
+ MemoizedAnimationProvider.displayName = "AnimationProvider::pkg=odyssey&odysseyV=1.74.0";
34
34
  export { MemoizedAnimationProvider as AnimationProvider };
35
35
  export const useAnimation = () => useContext(AnimationContext).hasAnimations;
36
36
  //# sourceMappingURL=AnimationContext.js.map
@@ -92,6 +92,7 @@ const Autocomplete = ({
92
92
  id: idOverride,
93
93
  isOptionEqualToValue: getIsOptionEqualToValue,
94
94
  loading: isLoading,
95
+ loadingText: t("autocomplete.loading"),
95
96
  multiple: hasMultipleChoices,
96
97
  noOptionsText: noOptionsText || t("autocomplete.nooptions"),
97
98
  onBlur: onBlur,
@@ -106,6 +107,6 @@ const Autocomplete = ({
106
107
  });
107
108
  };
108
109
  const MemoizedAutocomplete = memo(Autocomplete);
109
- MemoizedAutocomplete.displayName = "Autocomplete::pkg=odyssey&odysseyV=1.73.1";
110
+ MemoizedAutocomplete.displayName = "Autocomplete::pkg=odyssey&odysseyV=1.74.0";
110
111
  export { MemoizedAutocomplete as Autocomplete };
111
112
  //# sourceMappingURL=Autocomplete.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.js","names":["memo","createElement","_createElement","useTranslation","PickerVirtualizationListBox","useAutocomplete","Autocomplete","ariaDescribedBy","defaultValue","errorMessage","errorMessageList","filterOptions","getIsOptionEqualToValue","getOptionLabel","hasMultipleChoices","hint","HintLinkComponent","id","idOverride","inputValue","isCustomValueAllowed","isDisabled","isFullWidth","isLoading","isOptional","isReadOnly","isVirtualized","label","name","nameOverride","noOptionsText","onBlur","onChange","onFocus","onInputChange","options","testId","translate","value","t","inputValueProp","isVirtualizedRef","renderInput","valueProps","_Autocomplete","key","current","ListboxComponent","clearText","closeText","disableCloseOnSelect","disabled","filterSelectedOptions","freeSolo","fullWidth","isOptionEqualToValue","loading","multiple","openText","readOnly","MemoizedAutocomplete","displayName"],"sources":["../../src/Autocomplete.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 Autocomplete as MuiAutocomplete,\n AutocompleteProps as MuiAutocompleteProps,\n UseAutocompleteProps as MuiUseAutocompleteProps,\n} from \"@mui/material\";\nimport { memo } from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { FieldComponentProps } from \"./FieldComponentProps.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { PickerVirtualizationListBox } from \"./labs/OdysseyPickers/PickerVirtualizationListBox.js\";\nimport { useAutocomplete } from \"./useAutocomplete.js\";\n\nexport type AutocompleteProps<\n OptionType,\n HasMultipleChoices extends boolean | undefined,\n IsCustomValueAllowed extends boolean | undefined,\n> = {\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"defaultValue\"];\n /**\n * Determines the filtered options to display when typing in the input. Defaults to MUI's client-side substring match against `getOptionLabel`. Override this (e.g. `(options) => options`) when `options` is already filtered server-side, to avoid MUI re-filtering already-matching results away.\n */\n filterOptions?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"filterOptions\"];\n /**\n * Used to determine if the option represents the given value. Uses strict equality by default if none provided. Both arguments need to be handled, an option can only match with one value. option: the option to test value: the value to test against\n *\n * You will need to implement this function if your `option` items are objects.\n */\n getIsOptionEqualToValue?: (option: OptionType, value: OptionType) => boolean;\n\n /**\n * Used to determine the string value for a given option. It's used to fill the input (and the list box options if renderOption is not provided). If used in free solo mode, it must accept both the type of the options and a string.\n *\n * `function(option: Value) => string`\n */\n getOptionLabel?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"getOptionLabel\"];\n /**\n * Whether multiple options can be selected simultaneously.\n */\n hasMultipleChoices?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"multiple\"];\n /**\n * The value for the input\n */\n inputValue?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"inputValue\"];\n /**\n * If `true`, the user can type a custom value not present in the options list.\n */\n isCustomValueAllowed?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"freeSolo\"];\n /**\n * If `true`, the Autocomplete input is disabled.\n */\n isDisabled?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"disabled\"];\n /**\n * If `true`, a loading indicator is shown in place of the options list.\n */\n isLoading?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"loading\"];\n /**\n * If `true`, the Autocomplete input is read-only.\n */\n isReadOnly?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"readOnly\"];\n /**\n * If `true`, renders the options list using virtualization. Recommended when the list contains hundreds of items or more.\n */\n isVirtualized?: boolean;\n /**\n * The label text for the autocomplete input\n */\n label: string;\n /**\n * The text to display when no options are available.\n * @default \"No options\"\n */\n noOptionsText?: string;\n /**\n * Called when the Autocomplete loses focus.\n */\n onBlur?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"onBlur\"];\n /**\n * Called when the selected value changes.\n */\n onChange?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"onChange\"];\n /**\n * Called when the Autocomplete gains focus.\n */\n onFocus?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"onFocus\"];\n /**\n * Called when the text input value changes. Receives the new input string.\n */\n onInputChange?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"onInputChange\"];\n /**\n * The options for the Autocomplete input\n */\n options: ReadonlyArray<OptionType>;\n /**\n * The value of the Autocomplete input\n */\n value?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"value\"];\n} & Pick<\n FieldComponentProps,\n | \"errorMessage\"\n | \"errorMessageList\"\n | \"hint\"\n | \"HintLinkComponent\"\n | \"id\"\n | \"isFullWidth\"\n | \"isOptional\"\n | \"name\"\n> &\n Pick<HtmlProps, \"ariaDescribedBy\" | \"testId\" | \"translate\">;\n\n/**\n * An input field with a dropdown list of selectable options that supports filtering, multi-select, and free-text entry. Use when users need to search or choose from a potentially large set of values.\n */\nconst Autocomplete = <\n OptionType,\n HasMultipleChoices extends boolean | undefined,\n IsCustomValueAllowed extends boolean | undefined,\n>({\n ariaDescribedBy,\n defaultValue,\n errorMessage,\n errorMessageList,\n filterOptions,\n getIsOptionEqualToValue,\n getOptionLabel,\n hasMultipleChoices,\n hint,\n HintLinkComponent,\n id: idOverride,\n inputValue,\n isCustomValueAllowed,\n isDisabled,\n isFullWidth = false,\n isLoading,\n isOptional = false,\n isReadOnly,\n isVirtualized = false,\n label,\n name: nameOverride,\n noOptionsText,\n onBlur,\n onChange,\n onFocus,\n onInputChange,\n options,\n testId,\n translate,\n value,\n}: AutocompleteProps<OptionType, HasMultipleChoices, IsCustomValueAllowed>) => {\n const { t } = useTranslation();\n const { inputValueProp, isVirtualizedRef, renderInput, valueProps } =\n useAutocomplete<OptionType, HasMultipleChoices, IsCustomValueAllowed>({\n ariaDescribedBy,\n defaultValue,\n errorMessage,\n errorMessageList,\n hasMultipleChoices,\n hint,\n HintLinkComponent,\n inputValue,\n isFullWidth,\n isOptional,\n isReadOnly,\n isVirtualized,\n label,\n name: nameOverride,\n testId,\n value,\n });\n\n return (\n <MuiAutocomplete\n {...valueProps}\n {...inputValueProp}\n // MUI's value type is incompatible between single (null) and multiple (array) modes. Changing `multiple` on a live instance causes a null.length crash, so we force a remount when the mode changes. This resets internal UI state.\n key={hasMultipleChoices ? \"multiple\" : \"single\"}\n // conditionally provide the ListboxComponent if this needs to be virtualized\n {...(isVirtualizedRef.current && {\n ListboxComponent: PickerVirtualizationListBox,\n })}\n // AutoComplete is wrapped in a div within MUI which does not get the disabled attr. So this aria-disabled gets set in the div\n aria-disabled={isDisabled}\n clearText={t(\"clear.text\")}\n closeText={t(\"close.text\")}\n disableCloseOnSelect={hasMultipleChoices}\n disabled={isDisabled}\n filterOptions={filterOptions}\n filterSelectedOptions={true}\n freeSolo={isCustomValueAllowed}\n fullWidth={isFullWidth}\n getOptionLabel={getOptionLabel}\n id={idOverride}\n isOptionEqualToValue={getIsOptionEqualToValue}\n loading={isLoading}\n multiple={hasMultipleChoices}\n noOptionsText={noOptionsText || t(\"autocomplete.nooptions\")}\n onBlur={onBlur}\n onChange={onChange}\n onFocus={onFocus}\n onInputChange={onInputChange}\n openText={t(\"open.text\")}\n options={options}\n readOnly={isReadOnly}\n renderInput={renderInput}\n translate={translate}\n />\n );\n};\n\nconst MemoizedAutocomplete = memo(Autocomplete) as typeof Autocomplete & {\n displayName?: string;\n};\nMemoizedAutocomplete.displayName = \"Autocomplete\";\n\nexport { MemoizedAutocomplete as Autocomplete };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAOA,SAASA,IAAI,EAAAC,aAAA,IAAAC,cAAA,QAAQ,OAAO;AAK5B,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,2BAA2B,QAAQ,sDAAsD;AAClG,SAASC,eAAe,QAAQ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,kBAAmB;IACzCqC,QAAQ,EAAE9B,UAAW;IACrBV,aAAa,EAAEA,aAAc;IAC7ByC,qBAAqB,EAAE,IAAK;IAC5BC,QAAQ,EAAEjC,oBAAqB;IAC/BkC,SAAS,EAAEhC,WAAY;IACvBT,cAAc,EAAEA,cAAe;IAC/BI,EAAE,EAAEC,UAAW;IACfqC,oBAAoB,EAAE3C,uBAAwB;IAC9C4C,OAAO,EAAEjC,SAAU;IACnBkC,QAAQ,EAAE3C,kBAAmB;IAC7BgB,aAAa,EAAEA,aAAa,IAAIS,CAAC,CAAC,wBAAwB,CAAE;IAC5DR,MAAM,EAAEA,MAAO;IACfC,QAAQ,EAAEA,QAAS;IACnBC,OAAO,EAAEA,OAAQ;IACjBC,aAAa,EAAEA,aAAc;IAC7BwB,QAAQ,EAAEnB,CAAC,CAAC,WAAW,CAAE;IACzBJ,OAAO,EAAEA,OAAQ;IACjBwB,QAAQ,EAAElC,UAAW;IACrBiB,WAAW,EAAEA,WAAY;IACzBL,SAAS,EAAEA;EAAU,CACtB,CAAC;AAEN,CAAC;AAED,MAAMuB,oBAAoB,GAAG5D,IAAI,CAACM,YAAY,CAE7C;AACDsD,oBAAoB,CAACC,WAAW,8CAAiB;AAEjD,SAASD,oBAAoB,IAAItD,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"Autocomplete.js","names":["memo","createElement","_createElement","useTranslation","PickerVirtualizationListBox","useAutocomplete","Autocomplete","ariaDescribedBy","defaultValue","errorMessage","errorMessageList","filterOptions","getIsOptionEqualToValue","getOptionLabel","hasMultipleChoices","hint","HintLinkComponent","id","idOverride","inputValue","isCustomValueAllowed","isDisabled","isFullWidth","isLoading","isOptional","isReadOnly","isVirtualized","label","name","nameOverride","noOptionsText","onBlur","onChange","onFocus","onInputChange","options","testId","translate","value","t","inputValueProp","isVirtualizedRef","renderInput","valueProps","_Autocomplete","key","current","ListboxComponent","clearText","closeText","disableCloseOnSelect","disabled","filterSelectedOptions","freeSolo","fullWidth","isOptionEqualToValue","loading","loadingText","multiple","openText","readOnly","MemoizedAutocomplete","displayName"],"sources":["../../src/Autocomplete.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 Autocomplete as MuiAutocomplete,\n AutocompleteProps as MuiAutocompleteProps,\n UseAutocompleteProps as MuiUseAutocompleteProps,\n} from \"@mui/material\";\nimport { memo } from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { FieldComponentProps } from \"./FieldComponentProps.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { PickerVirtualizationListBox } from \"./labs/OdysseyPickers/PickerVirtualizationListBox.js\";\nimport { useAutocomplete } from \"./useAutocomplete.js\";\n\nexport type AutocompleteProps<\n OptionType,\n HasMultipleChoices extends boolean | undefined,\n IsCustomValueAllowed extends boolean | undefined,\n> = {\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"defaultValue\"];\n /**\n * Determines the filtered options to display when typing in the input. Defaults to MUI's client-side substring match against `getOptionLabel`. Override this (e.g. `(options) => options`) when `options` is already filtered server-side, to avoid MUI re-filtering already-matching results away.\n */\n filterOptions?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"filterOptions\"];\n /**\n * Used to determine if the option represents the given value. Uses strict equality by default if none provided. Both arguments need to be handled, an option can only match with one value. option: the option to test value: the value to test against\n *\n * You will need to implement this function if your `option` items are objects.\n */\n getIsOptionEqualToValue?: (option: OptionType, value: OptionType) => boolean;\n\n /**\n * Used to determine the string value for a given option. It's used to fill the input (and the list box options if renderOption is not provided). If used in free solo mode, it must accept both the type of the options and a string.\n *\n * `function(option: Value) => string`\n */\n getOptionLabel?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"getOptionLabel\"];\n /**\n * Whether multiple options can be selected simultaneously.\n */\n hasMultipleChoices?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"multiple\"];\n /**\n * The value for the input\n */\n inputValue?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"inputValue\"];\n /**\n * If `true`, the user can type a custom value not present in the options list.\n */\n isCustomValueAllowed?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"freeSolo\"];\n /**\n * If `true`, the Autocomplete input is disabled.\n */\n isDisabled?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"disabled\"];\n /**\n * If `true`, a loading indicator is shown in place of the options list.\n */\n isLoading?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"loading\"];\n /**\n * If `true`, the Autocomplete input is read-only.\n */\n isReadOnly?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"readOnly\"];\n /**\n * If `true`, renders the options list using virtualization. Recommended when the list contains hundreds of items or more.\n */\n isVirtualized?: boolean;\n /**\n * The label text for the autocomplete input\n */\n label: string;\n /**\n * The text to display when no options are available.\n * @default \"No options\"\n */\n noOptionsText?: string;\n /**\n * Called when the Autocomplete loses focus.\n */\n onBlur?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"onBlur\"];\n /**\n * Called when the selected value changes.\n */\n onChange?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"onChange\"];\n /**\n * Called when the Autocomplete gains focus.\n */\n onFocus?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"onFocus\"];\n /**\n * Called when the text input value changes. Receives the new input string.\n */\n onInputChange?: MuiAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"onInputChange\"];\n /**\n * The options for the Autocomplete input\n */\n options: ReadonlyArray<OptionType>;\n /**\n * The value of the Autocomplete input\n */\n value?: MuiUseAutocompleteProps<\n OptionType,\n HasMultipleChoices,\n undefined,\n IsCustomValueAllowed\n >[\"value\"];\n} & Pick<\n FieldComponentProps,\n | \"errorMessage\"\n | \"errorMessageList\"\n | \"hint\"\n | \"HintLinkComponent\"\n | \"id\"\n | \"isFullWidth\"\n | \"isOptional\"\n | \"name\"\n> &\n Pick<HtmlProps, \"ariaDescribedBy\" | \"testId\" | \"translate\">;\n\n/**\n * An input field with a dropdown list of selectable options that supports filtering, multi-select, and free-text entry. Use when users need to search or choose from a potentially large set of values.\n */\nconst Autocomplete = <\n OptionType,\n HasMultipleChoices extends boolean | undefined,\n IsCustomValueAllowed extends boolean | undefined,\n>({\n ariaDescribedBy,\n defaultValue,\n errorMessage,\n errorMessageList,\n filterOptions,\n getIsOptionEqualToValue,\n getOptionLabel,\n hasMultipleChoices,\n hint,\n HintLinkComponent,\n id: idOverride,\n inputValue,\n isCustomValueAllowed,\n isDisabled,\n isFullWidth = false,\n isLoading,\n isOptional = false,\n isReadOnly,\n isVirtualized = false,\n label,\n name: nameOverride,\n noOptionsText,\n onBlur,\n onChange,\n onFocus,\n onInputChange,\n options,\n testId,\n translate,\n value,\n}: AutocompleteProps<OptionType, HasMultipleChoices, IsCustomValueAllowed>) => {\n const { t } = useTranslation();\n const { inputValueProp, isVirtualizedRef, renderInput, valueProps } =\n useAutocomplete<OptionType, HasMultipleChoices, IsCustomValueAllowed>({\n ariaDescribedBy,\n defaultValue,\n errorMessage,\n errorMessageList,\n hasMultipleChoices,\n hint,\n HintLinkComponent,\n inputValue,\n isFullWidth,\n isOptional,\n isReadOnly,\n isVirtualized,\n label,\n name: nameOverride,\n testId,\n value,\n });\n\n return (\n <MuiAutocomplete\n {...valueProps}\n {...inputValueProp}\n // MUI's value type is incompatible between single (null) and multiple (array) modes. Changing `multiple` on a live instance causes a null.length crash, so we force a remount when the mode changes. This resets internal UI state.\n key={hasMultipleChoices ? \"multiple\" : \"single\"}\n // conditionally provide the ListboxComponent if this needs to be virtualized\n {...(isVirtualizedRef.current && {\n ListboxComponent: PickerVirtualizationListBox,\n })}\n // AutoComplete is wrapped in a div within MUI which does not get the disabled attr. So this aria-disabled gets set in the div\n aria-disabled={isDisabled}\n clearText={t(\"clear.text\")}\n closeText={t(\"close.text\")}\n disableCloseOnSelect={hasMultipleChoices}\n disabled={isDisabled}\n filterOptions={filterOptions}\n filterSelectedOptions={true}\n freeSolo={isCustomValueAllowed}\n fullWidth={isFullWidth}\n getOptionLabel={getOptionLabel}\n id={idOverride}\n isOptionEqualToValue={getIsOptionEqualToValue}\n loading={isLoading}\n loadingText={t(\"autocomplete.loading\")}\n multiple={hasMultipleChoices}\n noOptionsText={noOptionsText || t(\"autocomplete.nooptions\")}\n onBlur={onBlur}\n onChange={onChange}\n onFocus={onFocus}\n onInputChange={onInputChange}\n openText={t(\"open.text\")}\n options={options}\n readOnly={isReadOnly}\n renderInput={renderInput}\n translate={translate}\n />\n );\n};\n\nconst MemoizedAutocomplete = memo(Autocomplete) as typeof Autocomplete & {\n displayName?: string;\n};\nMemoizedAutocomplete.displayName = \"Autocomplete\";\n\nexport { MemoizedAutocomplete as Autocomplete };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAOA,SAASA,IAAI,E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,iBAAeiB,UAAW;IAC1B2B,SAAS,EAAET,CAAC,CAAC,YAAY,CAAE;IAC3BU,SAAS,EAAEV,CAAC,CAAC,YAAY,CAAE;IAC3BW,oBAAoB,EAAEpC,kBAAmB;IACzCqC,QAAQ,EAAE9B,UAAW;IACrBV,aAAa,EAAEA,aAAc;IAC7ByC,qBAAqB,EAAE,IAAK;IAC5BC,QAAQ,EAAEjC,oBAAqB;IAC/BkC,SAAS,EAAEhC,WAAY;IACvBT,cAAc,EAAEA,cAAe;IAC/BI,EAAE,EAAEC,UAAW;IACfqC,oBAAoB,EAAE3C,uBAAwB;IAC9C4C,OAAO,EAAEjC,SAAU;IACnBkC,WAAW,EAAElB,CAAC,CAAC,sBAAsB,CAAE;IACvCmB,QAAQ,EAAE5C,kBAAmB;IAC7BgB,aAAa,EAAEA,aAAa,IAAIS,CAAC,CAAC,wBAAwB,CAAE;IAC5DR,MAAM,EAAEA,MAAO;IACfC,QAAQ,EAAEA,QAAS;IACnBC,OAAO,EAAEA,OAAQ;IACjBC,aAAa,EAAEA,aAAc;IAC7ByB,QAAQ,EAAEpB,CAAC,CAAC,WAAW,CAAE;IACzBJ,OAAO,EAAEA,OAAQ;IACjByB,QAAQ,EAAEnC,UAAW;IACrBiB,WAAW,EAAEA,WAAY;IACzBL,SAAS,EAAEA;EAAU,CACtB,CAAC;AAEN,CAAC;AAED,MAAMwB,oBAAoB,GAAG7D,IAAI,CAACM,YAAY,CAE7C;AACDuD,oBAAoB,CAACC,WAAW,8CAAiB;AAEjD,SAASD,oBAAoB,IAAIvD,YAAY","ignoreList":[]}
package/dist/esm/Badge.js CHANGED
@@ -73,6 +73,6 @@ const Badge = ({
73
73
  return renderBadge;
74
74
  };
75
75
  const MemoizedBadge = memo(Badge);
76
- MemoizedBadge.displayName = "Badge::pkg=odyssey&odysseyV=1.73.1";
76
+ MemoizedBadge.displayName = "Badge::pkg=odyssey&odysseyV=1.74.0";
77
77
  export { MemoizedBadge as Badge };
78
78
  //# sourceMappingURL=Badge.js.map
@@ -35,6 +35,7 @@ const Banner = ({
35
35
  t
36
36
  } = useTranslation();
37
37
  return _jsxs(_Alert, {
38
+ closeText: t("close.text"),
38
39
  "data-se": testId,
39
40
  onClose: onClose,
40
41
  role: role,
@@ -58,6 +59,6 @@ const Banner = ({
58
59
  });
59
60
  };
60
61
  const MemoizedBanner = memo(Banner);
61
- MemoizedBanner.displayName = "Banner::pkg=odyssey&odysseyV=1.73.1";
62
+ MemoizedBanner.displayName = "Banner::pkg=odyssey&odysseyV=1.74.0";
62
63
  export { MemoizedBanner as Banner };
63
64
  //# sourceMappingURL=Banner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.js","names":["memo","useTranslation","Link","ScreenReaderText","jsx","_jsx","jsxs","_jsxs","bannerRoleValues","bannerSeverityValues","Banner","linkRel","linkTarget","linkText","linkUrl","onClose","onLinkClick","role","severity","testId","text","translate","t","_Alert","variant","children","_AlertTitle","href","onClick","rel","target","MemoizedBanner","displayName"],"sources":["../../src/Banner.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, AlertColor, AlertProps, AlertTitle } from \"@mui/material\";\nimport { memo } from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { Link, LinkProps } from \"./Link.js\";\nimport { ScreenReaderText } from \"./ScreenReaderText.js\";\n\nexport const bannerRoleValues = [\"status\", \"alert\"] as const;\nexport const bannerSeverityValues: AlertColor[] = [\n \"success\",\n \"info\",\n \"warning\",\n \"error\",\n];\n\nexport type BannerProps = {\n /**\n * Called when the user clicks the close button. When undefined, the close button is not shown.\n */\n onClose?: AlertProps[\"onClose\"];\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 bannerRoleValues)[number];\n /**\n * Visual severity level that controls the banner's color and icon.\n */\n severity: (typeof bannerSeverityValues)[number];\n /**\n * Primary message text displayed inside the banner.\n */\n text: string;\n} & Pick<HtmlProps, \"testId\" | \"translate\"> &\n // if linkText is provided, either linkUrl or onLinkClick must be provided\n (\n | {\n /** The `rel` attribute of the action link. */\n linkRel?: LinkProps[\"rel\"];\n /** The `target` attribute of the action link (e.g., `\"_blank\"`). */\n linkTarget?: LinkProps[\"target\"];\n /** Visible label for the action link rendered after the banner text. */\n linkText: string;\n /** The URL the action link navigates to. Required when `onLinkClick` is not provided. */\n linkUrl: LinkProps[\"href\"];\n onLinkClick?: never;\n }\n | {\n linkRel?: never;\n linkTarget?: never;\n /** Visible label for the action link rendered after the banner text. */\n linkText: string;\n linkUrl?: never;\n /** Click handler for the action link. Required when `linkUrl` is not provided. */\n onLinkClick: LinkProps[\"onClick\"];\n }\n | {\n linkRel?: never;\n linkTarget?: never;\n linkText?: never;\n linkUrl?: never;\n onLinkClick?: never;\n }\n );\n\n/**\n * A full-width alert strip displayed at the top of a page or section to communicate high-priority information such as errors, warnings, or status updates.\n */\nconst Banner = ({\n linkRel,\n linkTarget,\n linkText,\n linkUrl,\n onClose,\n onLinkClick,\n role,\n severity,\n testId,\n text,\n translate,\n}: BannerProps) => {\n const { t } = useTranslation();\n\n return (\n <Alert\n data-se={testId}\n onClose={onClose}\n role={role}\n severity={severity}\n variant=\"banner\"\n >\n <ScreenReaderText translate={translate}>\n {t(`severity.${severity}`)}\n </ScreenReaderText>\n <AlertTitle translate={translate}>{text}</AlertTitle>\n {linkText && (\n <Link\n href={linkUrl ?? \"#\"}\n onClick={onLinkClick}\n rel={linkRel}\n target={linkTarget}\n translate={translate}\n variant=\"monochrome\"\n >\n {linkText}\n </Link>\n )}\n </Alert>\n );\n};\n\nconst MemoizedBanner = memo(Banner);\nMemoizedBanner.displayName = \"Banner\";\n\nexport { MemoizedBanner as Banner };\n"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,QAAQ,OAAO;AAI5B,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,IAAI,QAAmB,WAAW;AAC3C,SAASC,gBAAgB,QAAQ,uBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEzD,OAAO,MAAMC,gBAAgB,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU;AAC5D,OAAO,MAAMC,oBAAkC,GAAG,CAChD,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,CACR;AAwDD,MAAMC,MAAM,GAAGA,CAAC;EACdC,OAAO;EACPC,UAAU;EACVC,QAAQ;EACRC,OAAO;EACPC,OAAO;EACPC,WAAW;EACXC,IAAI;EACJC,QAAQ;EACRC,MAAM;EACNC,IAAI;EACJC;AACW,CAAC,KAAK;EACjB,MAAM;IAAEC;EAAE,CAAC,GAAGrB,cAAc,CAAC,CAAC;EAE9B,OACEM,KAAA,CAAAgB,MAAA;IACE,WAASJ,MAAO;IAChBJ,OAAO,EAAEA,OAAQ;IACjBE,IAAI,EAAEA,IAAK;IACXC,QAAQ,EAAEA,QAAS;IACnBM,OAAO,EAAC,QAAQ;IAAAC,QAAA,GAEhBpB,IAAA,CAACF,gBAAgB;MAACkB,SAAS,EAAEA,SAAU;MAAAI,QAAA,EACpCH,CAAC,CAAC,YAAYJ,QAAQ,EAAE;IAAC,CACV,CAAC,EACnBb,IAAA,CAAAqB,WAAA;MAAYL,SAAS,EAAEA,SAAU;MAAAI,QAAA,EAAEL;IAAI,CAAa,CAAC,EACpDP,QAAQ,IACPR,IAAA,CAACH,IAAI;MACHyB,IAAI,EAAEb,OAAO,IAAI,GAAI;MACrBc,OAAO,EAAEZ,WAAY;MACrBa,GAAG,EAAElB,OAAQ;MACbmB,MAAM,EAAElB,UAAW;MACnBS,SAAS,EAAEA,SAAU;MACrBG,OAAO,EAAC,YAAY;MAAAC,QAAA,EAEnBZ;IAAQ,CACL,CACP;EAAA,CACI,CAAC;AAEZ,CAAC;AAED,MAAMkB,cAAc,GAAG/B,IAAI,CAACU,MAAM,CAAC;AACnCqB,cAAc,CAACC,WAAW,wCAAW;AAErC,SAASD,cAAc,IAAIrB,MAAM","ignoreList":[]}
1
+ {"version":3,"file":"Banner.js","names":["memo","useTranslation","Link","ScreenReaderText","jsx","_jsx","jsxs","_jsxs","bannerRoleValues","bannerSeverityValues","Banner","linkRel","linkTarget","linkText","linkUrl","onClose","onLinkClick","role","severity","testId","text","translate","t","_Alert","closeText","variant","children","_AlertTitle","href","onClick","rel","target","MemoizedBanner","displayName"],"sources":["../../src/Banner.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, AlertColor, AlertProps, AlertTitle } from \"@mui/material\";\nimport { memo } from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { Link, LinkProps } from \"./Link.js\";\nimport { ScreenReaderText } from \"./ScreenReaderText.js\";\n\nexport const bannerRoleValues = [\"status\", \"alert\"] as const;\nexport const bannerSeverityValues: AlertColor[] = [\n \"success\",\n \"info\",\n \"warning\",\n \"error\",\n];\n\nexport type BannerProps = {\n /**\n * Called when the user clicks the close button. When undefined, the close button is not shown.\n */\n onClose?: AlertProps[\"onClose\"];\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 bannerRoleValues)[number];\n /**\n * Visual severity level that controls the banner's color and icon.\n */\n severity: (typeof bannerSeverityValues)[number];\n /**\n * Primary message text displayed inside the banner.\n */\n text: string;\n} & Pick<HtmlProps, \"testId\" | \"translate\"> &\n // if linkText is provided, either linkUrl or onLinkClick must be provided\n (\n | {\n /** The `rel` attribute of the action link. */\n linkRel?: LinkProps[\"rel\"];\n /** The `target` attribute of the action link (e.g., `\"_blank\"`). */\n linkTarget?: LinkProps[\"target\"];\n /** Visible label for the action link rendered after the banner text. */\n linkText: string;\n /** The URL the action link navigates to. Required when `onLinkClick` is not provided. */\n linkUrl: LinkProps[\"href\"];\n onLinkClick?: never;\n }\n | {\n linkRel?: never;\n linkTarget?: never;\n /** Visible label for the action link rendered after the banner text. */\n linkText: string;\n linkUrl?: never;\n /** Click handler for the action link. Required when `linkUrl` is not provided. */\n onLinkClick: LinkProps[\"onClick\"];\n }\n | {\n linkRel?: never;\n linkTarget?: never;\n linkText?: never;\n linkUrl?: never;\n onLinkClick?: never;\n }\n );\n\n/**\n * A full-width alert strip displayed at the top of a page or section to communicate high-priority information such as errors, warnings, or status updates.\n */\nconst Banner = ({\n linkRel,\n linkTarget,\n linkText,\n linkUrl,\n onClose,\n onLinkClick,\n role,\n severity,\n testId,\n text,\n translate,\n}: BannerProps) => {\n const { t } = useTranslation();\n\n return (\n <Alert\n closeText={t(\"close.text\")}\n data-se={testId}\n onClose={onClose}\n role={role}\n severity={severity}\n variant=\"banner\"\n >\n <ScreenReaderText translate={translate}>\n {t(`severity.${severity}`)}\n </ScreenReaderText>\n <AlertTitle translate={translate}>{text}</AlertTitle>\n {linkText && (\n <Link\n href={linkUrl ?? \"#\"}\n onClick={onLinkClick}\n rel={linkRel}\n target={linkTarget}\n translate={translate}\n variant=\"monochrome\"\n >\n {linkText}\n </Link>\n )}\n </Alert>\n );\n};\n\nconst MemoizedBanner = memo(Banner);\nMemoizedBanner.displayName = \"Banner\";\n\nexport { MemoizedBanner as Banner };\n"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,QAAQ,OAAO;AAI5B,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,IAAI,QAAmB,WAAW;AAC3C,SAASC,gBAAgB,QAAQ,uBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEzD,OAAO,MAAMC,gBAAgB,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU;AAC5D,OAAO,MAAMC,oBAAkC,GAAG,CAChD,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,CACR;AAwDD,MAAMC,MAAM,GAAGA,CAAC;EACdC,OAAO;EACPC,UAAU;EACVC,QAAQ;EACRC,OAAO;EACPC,OAAO;EACPC,WAAW;EACXC,IAAI;EACJC,QAAQ;EACRC,MAAM;EACNC,IAAI;EACJC;AACW,CAAC,KAAK;EACjB,MAAM;IAAEC;EAAE,CAAC,GAAGrB,cAAc,CAAC,CAAC;EAE9B,OACEM,KAAA,CAAAgB,MAAA;IACEC,SAAS,EAAEF,CAAC,CAAC,YAAY,CAAE;IAC3B,WAASH,MAAO;IAChBJ,OAAO,EAAEA,OAAQ;IACjBE,IAAI,EAAEA,IAAK;IACXC,QAAQ,EAAEA,QAAS;IACnBO,OAAO,EAAC,QAAQ;IAAAC,QAAA,GAEhBrB,IAAA,CAACF,gBAAgB;MAACkB,SAAS,EAAEA,SAAU;MAAAK,QAAA,EACpCJ,CAAC,CAAC,YAAYJ,QAAQ,EAAE;IAAC,CACV,CAAC,EACnBb,IAAA,CAAAsB,WAAA;MAAYN,SAAS,EAAEA,SAAU;MAAAK,QAAA,EAAEN;IAAI,CAAa,CAAC,EACpDP,QAAQ,IACPR,IAAA,CAACH,IAAI;MACH0B,IAAI,EAAEd,OAAO,IAAI,GAAI;MACrBe,OAAO,EAAEb,WAAY;MACrBc,GAAG,EAAEnB,OAAQ;MACboB,MAAM,EAAEnB,UAAW;MACnBS,SAAS,EAAEA,SAAU;MACrBI,OAAO,EAAC,YAAY;MAAAC,QAAA,EAEnBb;IAAQ,CACL,CACP;EAAA,CACI,CAAC;AAEZ,CAAC;AAED,MAAMmB,cAAc,GAAGhC,IAAI,CAACU,MAAM,CAAC;AACnCsB,cAAc,CAACC,WAAW,wCAAW;AAErC,SAASD,cAAc,IAAItB,MAAM","ignoreList":[]}
package/dist/esm/Box.js CHANGED
@@ -31,6 +31,6 @@ const Box = forwardRef(({
31
31
  translate: translate
32
32
  }));
33
33
  const MemoizedBox = memo(Box);
34
- MemoizedBox.displayName = "Box::pkg=odyssey&odysseyV=1.73.1";
34
+ MemoizedBox.displayName = "Box::pkg=odyssey&odysseyV=1.74.0";
35
35
  export { MemoizedBox as Box };
36
36
  //# sourceMappingURL=Box.js.map
@@ -175,6 +175,6 @@ const BreadcrumbList = ({
175
175
  });
176
176
  };
177
177
  const MemoizedBreadcrumbList = memo(BreadcrumbList);
178
- MemoizedBreadcrumbList.displayName = "BreadcrumbList::pkg=odyssey&odysseyV=1.73.1";
178
+ MemoizedBreadcrumbList.displayName = "BreadcrumbList::pkg=odyssey&odysseyV=1.74.0";
179
179
  export { MemoizedBreadcrumbList as BreadcrumbList };
180
180
  //# sourceMappingURL=Breadcrumbs.js.map
@@ -119,6 +119,6 @@ const BaseButton = ({
119
119
  return renderButton(muiProps);
120
120
  };
121
121
  const MemoizedBaseButton = memo(BaseButton);
122
- MemoizedBaseButton.displayName = "BaseButton::pkg=odyssey&odysseyV=1.73.1";
122
+ MemoizedBaseButton.displayName = "BaseButton::pkg=odyssey&odysseyV=1.74.0";
123
123
  export { MemoizedBaseButton as BaseButton };
124
124
  //# sourceMappingURL=BaseButton.js.map
@@ -165,6 +165,6 @@ const BaseMenuButton = ({
165
165
  });
166
166
  };
167
167
  const MemoizedBaseMenuButton = memo(BaseMenuButton);
168
- MemoizedBaseMenuButton.displayName = "BaseMenuButton::pkg=odyssey&odysseyV=1.73.1";
168
+ MemoizedBaseMenuButton.displayName = "BaseMenuButton::pkg=odyssey&odysseyV=1.74.0";
169
169
  export { MemoizedBaseMenuButton as BaseMenuButton };
170
170
  //# sourceMappingURL=BaseMenuButton.js.map
@@ -19,6 +19,6 @@ const Button = props => {
19
19
  });
20
20
  };
21
21
  const MemoizedButton = memo(Button);
22
- MemoizedButton.displayName = "Button::pkg=odyssey&odysseyV=1.73.1";
22
+ MemoizedButton.displayName = "Button::pkg=odyssey&odysseyV=1.74.0";
23
23
  export { MemoizedButton as Button };
24
24
  //# sourceMappingURL=Button.js.map
@@ -19,6 +19,6 @@ const MenuButton = props => {
19
19
  });
20
20
  };
21
21
  const MemoizedMenuButton = memo(MenuButton);
22
- MemoizedMenuButton.displayName = "MenuButton::pkg=odyssey&odysseyV=1.73.1";
22
+ MemoizedMenuButton.displayName = "MenuButton::pkg=odyssey&odysseyV=1.74.0";
23
23
  export { MemoizedMenuButton as MenuButton };
24
24
  //# sourceMappingURL=MenuButton.js.map