@okta/odyssey-react-mui 1.51.0 → 1.52.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 (461) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/DataTable/DataTable.cjs +1 -2
  3. package/dist/cjs/DataTable/DataTable.cjs.map +1 -1
  4. package/dist/cjs/Dialog.cjs +8 -1
  5. package/dist/cjs/Dialog.cjs.map +1 -1
  6. package/dist/cjs/labs/index.cjs +12 -0
  7. package/dist/cjs/labs/index.cjs.map +1 -1
  8. package/dist/cjs/theme/components.cjs +3 -0
  9. package/dist/cjs/theme/components.cjs.map +1 -1
  10. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +6 -10
  11. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs.map +1 -1
  12. package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs +2 -2
  13. package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs.map +1 -1
  14. package/dist/cjs/ui-shell/SideNav/types.cjs.map +1 -1
  15. package/dist/cjs/ui-shell/UiShell.cjs +5 -1
  16. package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
  17. package/dist/cjs/ui-shell/{SideNav/SideNavLogo.cjs → UiShellLogo.cjs} +6 -6
  18. package/dist/cjs/ui-shell/UiShellLogo.cjs.map +1 -0
  19. package/dist/cjs/ui-shell/index.cjs +12 -0
  20. package/dist/cjs/ui-shell/index.cjs.map +1 -1
  21. package/dist/cjs/ui-shell/uiShellContentTypes.cjs.map +1 -1
  22. package/dist/cjs/useContrastMode.cjs +1 -1
  23. package/dist/cjs/useContrastMode.cjs.map +1 -1
  24. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  25. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  26. package/dist/esm/DataTable/DataTable.js +1 -2
  27. package/dist/esm/DataTable/DataTable.js.map +1 -1
  28. package/dist/esm/Dialog.js +9 -2
  29. package/dist/esm/Dialog.js.map +1 -1
  30. package/dist/esm/labs/index.js +1 -0
  31. package/dist/esm/labs/index.js.map +1 -1
  32. package/dist/esm/theme/components.js +3 -0
  33. package/dist/esm/theme/components.js.map +1 -1
  34. package/dist/esm/ui-shell/NarrowUiShellContent.js +6 -10
  35. package/dist/esm/ui-shell/NarrowUiShellContent.js.map +1 -1
  36. package/dist/esm/ui-shell/SideNav/SideNavHeader.js +2 -2
  37. package/dist/esm/ui-shell/SideNav/SideNavHeader.js.map +1 -1
  38. package/dist/esm/ui-shell/SideNav/types.js.map +1 -1
  39. package/dist/esm/ui-shell/UiShell.js +5 -1
  40. package/dist/esm/ui-shell/UiShell.js.map +1 -1
  41. package/dist/esm/ui-shell/{SideNav/SideNavLogo.js → UiShellLogo.js} +6 -6
  42. package/dist/esm/ui-shell/UiShellLogo.js.map +1 -0
  43. package/dist/esm/ui-shell/index.js +1 -0
  44. package/dist/esm/ui-shell/index.js.map +1 -1
  45. package/dist/esm/ui-shell/uiShellContentTypes.js.map +1 -1
  46. package/dist/esm/useContrastMode.js +1 -1
  47. package/dist/esm/useContrastMode.js.map +1 -1
  48. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  49. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  50. package/dist/index.es.js.map +1 -1
  51. package/dist/index.iife.js.map +1 -1
  52. package/dist/index.umd.cjs.map +1 -1
  53. package/dist/tsconfig.production.tsbuildinfo +1 -1
  54. package/dist/tsconfig.tsbuildinfo +1 -1
  55. package/dist/types/DataTable/DataTable.d.ts.map +1 -1
  56. package/dist/types/Dialog.d.ts +5 -1
  57. package/dist/types/Dialog.d.ts.map +1 -1
  58. package/dist/types/labs/index.d.ts +4 -0
  59. package/dist/types/labs/index.d.ts.map +1 -1
  60. package/dist/types/theme/components.d.ts.map +1 -1
  61. package/dist/types/tsconfig.tsbuildinfo +1 -1
  62. package/dist/types/ui-shell/NarrowUiShellContent.d.ts +2 -2
  63. package/dist/types/ui-shell/NarrowUiShellContent.d.ts.map +1 -1
  64. package/dist/types/ui-shell/SideNav/SideNavHeader.d.ts +6 -2
  65. package/dist/types/ui-shell/SideNav/SideNavHeader.d.ts.map +1 -1
  66. package/dist/types/ui-shell/SideNav/types.d.ts +4 -44
  67. package/dist/types/ui-shell/SideNav/types.d.ts.map +1 -1
  68. package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
  69. package/dist/types/ui-shell/UiShellLogo.d.ts +55 -0
  70. package/dist/types/ui-shell/UiShellLogo.d.ts.map +1 -0
  71. package/dist/types/ui-shell/index.d.ts +1 -0
  72. package/dist/types/ui-shell/index.d.ts.map +1 -1
  73. package/dist/types/ui-shell/uiShellContentTypes.d.ts +7 -0
  74. package/dist/types/ui-shell/uiShellContentTypes.d.ts.map +1 -1
  75. package/dist/types/useContrastMode.d.ts +1 -1
  76. package/dist/types/useContrastMode.d.ts.map +1 -1
  77. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  78. package/package.json +8 -8
  79. package/dist/appswitcher/admin-app-default.svg +0 -6
  80. package/dist/appswitcher/admin-app-selected.svg +0 -6
  81. package/dist/appswitcher/aerial-default.svg +0 -7
  82. package/dist/appswitcher/aerial-selected.svg +0 -7
  83. package/dist/appswitcher/okta-dashboard-default.svg +0 -7
  84. package/dist/appswitcher/okta-dashboard-selected.svg +0 -7
  85. package/dist/appswitcher/privileged-access-default.svg +0 -4
  86. package/dist/appswitcher/privileged-access-selected.svg +0 -4
  87. package/dist/appswitcher/workflows-default.svg +0 -5
  88. package/dist/appswitcher/workflows-selected.svg +0 -5
  89. package/dist/assets/Accordion-B6lMitah.js +0 -1
  90. package/dist/assets/Accordion.stories-jXyeMqKL.js +0 -85
  91. package/dist/assets/AccordionSummary-Cqqnyfeq.js +0 -1
  92. package/dist/assets/AddCircle-DYQ5ipEw.js +0 -1
  93. package/dist/assets/AlertTitle-BdgyvdT3.js +0 -1
  94. package/dist/assets/AppSwitcher-BP7OhkNx.js +0 -21
  95. package/dist/assets/AppSwitcher.stories-BX6iWIVF.js +0 -100
  96. package/dist/assets/AppTile _labs_.stories-D_lkwc9S.js +0 -136
  97. package/dist/assets/ArrowDropDown-CSyg-khO.js +0 -1
  98. package/dist/assets/ArrowRight-D4RDomjP.js +0 -1
  99. package/dist/assets/Autocomplete-CWMUllEE.js +0 -1
  100. package/dist/assets/Autocomplete-Ce5vsFXe.js +0 -1
  101. package/dist/assets/Autocomplete.stories-LgPoixE-.js +0 -316
  102. package/dist/assets/Badge-CgiaxC_M.js +0 -11
  103. package/dist/assets/Banner-CiZg662S.js +0 -1
  104. package/dist/assets/Banner.stories-L9TxJM5n.js +0 -96
  105. package/dist/assets/BaseButton-CPts8Xl1.js +0 -11
  106. package/dist/assets/BaseMenuButton-Cg0erRE5.js +0 -1
  107. package/dist/assets/Box-C-xmRxaS.js +0 -1
  108. package/dist/assets/Box-DS6ZmQE1.js +0 -11
  109. package/dist/assets/Box-XLjSpNxK.js +0 -1
  110. package/dist/assets/Box.stories-DlaC0I8z.js +0 -38
  111. package/dist/assets/Breadcrumb.stories-CU9cbFv5.js +0 -19
  112. package/dist/assets/BreadcrumbList.stories-BnLz8AbT.js +0 -77
  113. package/dist/assets/Breadcrumbs-24mVV2FV.js +0 -6
  114. package/dist/assets/Bug-BREzSHBD.js +0 -1
  115. package/dist/assets/Button-NJfX6YsF.js +0 -11
  116. package/dist/assets/Button-dStBbGjZ.js +0 -1
  117. package/dist/assets/Button.stories-DyHE1lVq.js +0 -271
  118. package/dist/assets/ButtonBase-Wolvis_2.js +0 -74
  119. package/dist/assets/Calendar-Cnn3LZfc.js +0 -1
  120. package/dist/assets/Call-B2-IhRdM.js +0 -1
  121. package/dist/assets/Callout-CHhRxeIB.js +0 -1
  122. package/dist/assets/Callout.stories-Cin_Q8VN.js +0 -250
  123. package/dist/assets/Card-CW2-4q6G.js +0 -1
  124. package/dist/assets/Card-HHKQqwm3.js +0 -8
  125. package/dist/assets/Card.stories-BGl8ssIa.js +0 -56
  126. package/dist/assets/CardActionArea-CmY1RMSI.js +0 -1
  127. package/dist/assets/CardActions-BOMzzZ-s.js +0 -1
  128. package/dist/assets/Checkbox-DGd8S5xK.js +0 -1
  129. package/dist/assets/Checkbox-LVOv88W2.js +0 -1
  130. package/dist/assets/Checkbox.stories-D6P6eT12.js +0 -113
  131. package/dist/assets/CheckboxGroup-BbhvyMBP.js +0 -1
  132. package/dist/assets/CheckboxGroup.stories-C8yW7qIA.js +0 -89
  133. package/dist/assets/ChevronRight-BEaWGMzi.js +0 -1
  134. package/dist/assets/ChevronUp-BclvDZ6e.js +0 -1
  135. package/dist/assets/Chip-p4lq04qX.js +0 -1
  136. package/dist/assets/CircularProgress-BOLg_ZK_.js +0 -28
  137. package/dist/assets/CircularProgress-DxmJkz2B.js +0 -1
  138. package/dist/assets/CircularProgress.stories-BzOGzmX1.js +0 -44
  139. package/dist/assets/Clock-dOo7_xs2.js +0 -1
  140. package/dist/assets/Close-DWj_zrWe.js +0 -1
  141. package/dist/assets/Code Styling Guidelines-CFH47C47.js +0 -14
  142. package/dist/assets/Collapse-Bf9rwi0n.js +0 -1
  143. package/dist/assets/Color-YHDXOIA2-XSMM8EzF.js +0 -1
  144. package/dist/assets/CssBaseline-BGmj7vII.js +0 -191
  145. package/dist/assets/CssBaseline.stories-CP5iNADe.js +0 -364
  146. package/dist/assets/Custom Theming-AWFd82gK.js +0 -135
  147. package/dist/assets/Custom Theming.stories-C1lIShsm.js +0 -95
  148. package/dist/assets/DataFilters _labs_-CbOuA1XC.js +0 -55
  149. package/dist/assets/DataFilters _labs_.stories-6lSpygV-.js +0 -31
  150. package/dist/assets/DataFilters-B56b7pp1.js +0 -1
  151. package/dist/assets/DataTable _labs_-DhjIky-X.js +0 -41
  152. package/dist/assets/DataTable _labs_.stories-SmL2caYK.js +0 -21
  153. package/dist/assets/DataTable-Dufh-85W.js +0 -404
  154. package/dist/assets/DataTable-OEqPccZc.js +0 -21
  155. package/dist/assets/DataTable.stories-B6pas1e4.js +0 -438
  156. package/dist/assets/DataView _labs_-D-jpJC9O.js +0 -332
  157. package/dist/assets/DataView _labs_.stories-CEQuFgsA.js +0 -438
  158. package/dist/assets/DataView-Cdrj2-_S.js +0 -91
  159. package/dist/assets/DataView.stories-C3-uJ4p2.js +0 -954
  160. package/dist/assets/DatePicker-BxTRZXpL.js +0 -1
  161. package/dist/assets/DatePicker-CV_LiOVN.js +0 -11
  162. package/dist/assets/DatePicker.stories-CybR6XBy.js +0 -133
  163. package/dist/assets/DateTimePicker-DFQrMMgz.js +0 -1
  164. package/dist/assets/DateTimePicker.stories-Bx4peuGE.js +0 -158
  165. package/dist/assets/Design Tokens-iEdY5-4y.js +0 -4
  166. package/dist/assets/Dialog-B5LWaL0C.js +0 -1
  167. package/dist/assets/Dialog.stories-M1TA90dU.js +0 -207
  168. package/dist/assets/DialogContent-DBoG8cPo.js +0 -1
  169. package/dist/assets/DialogTitle-6m4SWKSG.js +0 -1
  170. package/dist/assets/Divider-CtIp4StC.js +0 -1
  171. package/dist/assets/Divider.stories-DjRXEk1s.js +0 -5
  172. package/dist/assets/DocsRenderer-CFRXHY34-P8M6yttG.js +0 -2
  173. package/dist/assets/Documentation-D90FkF1l.js +0 -1
  174. package/dist/assets/Download-xLlaDLdW.js +0 -1
  175. package/dist/assets/Drawer-D3_c8kSj.js +0 -33
  176. package/dist/assets/Drawer.stories-D5ZaAWIB.js +0 -95
  177. package/dist/assets/EmptyState-BRinTaKa.js +0 -11
  178. package/dist/assets/EmptyState.stories-D-MGLqky.js +0 -11
  179. package/dist/assets/ExampleButton.stories-lZAq-r_i.js +0 -320
  180. package/dist/assets/Extending Translations-iDMcBEO1.js +0 -148
  181. package/dist/assets/ExternalLink-C7UPr4SL.js +0 -1
  182. package/dist/assets/Fade-DSMklDt3.js +0 -1
  183. package/dist/assets/Field-BVmhMv9m.js +0 -11
  184. package/dist/assets/FieldHint-BFs7d7f5.js +0 -1
  185. package/dist/assets/Fieldset-C7cnRgpz.js +0 -11
  186. package/dist/assets/Fieldset.stories-QZ3FrfNb.js +0 -15
  187. package/dist/assets/FileUploader.stories-CAXhIDLt.js +0 -58
  188. package/dist/assets/Filter-DIh5C0Cq.js +0 -1
  189. package/dist/assets/Folder-DTgm0zQ0.js +0 -1
  190. package/dist/assets/Form Field Accessibility-C_uLQOBv.js +0 -18
  191. package/dist/assets/Form-EZzJYIT7.js +0 -11
  192. package/dist/assets/Form.stories-D9GPQhfS.js +0 -69
  193. package/dist/assets/FormControlLabel-0yOoM5iA.js +0 -1
  194. package/dist/assets/FormGroup-B2pOz0HL.js +0 -1
  195. package/dist/assets/FormHelperText-CZEj6vhF.js +0 -1
  196. package/dist/assets/FormLabel-C4KesWyd.js +0 -1
  197. package/dist/assets/FullScreenOverlay-CbLDrzu3.js +0 -11
  198. package/dist/assets/Generating Icons-BlpStA4N.js +0 -16
  199. package/dist/assets/Globe-CLLXW_yR.js +0 -1
  200. package/dist/assets/Grid-CTO70W_E.js +0 -1
  201. package/dist/assets/Group-BQH7lDPW.js +0 -1
  202. package/dist/assets/GroupPicker _labs_.stories-D-jPedqU.js +0 -33
  203. package/dist/assets/Grow-CbLflC0D.js +0 -1
  204. package/dist/assets/Hide-E3YBylpY.js +0 -1
  205. package/dist/assets/Hint-qhf1AEE0.js +0 -11
  206. package/dist/assets/HintLink.stories-CYlMoTFx.js +0 -44
  207. package/dist/assets/Home-yAl98ghs.js +0 -1
  208. package/dist/assets/Icon _icons_.stories-D-AWLuB9.js +0 -16
  209. package/dist/assets/IconButton-DwJqCevw.js +0 -1
  210. package/dist/assets/IconWithTooltip _icons_.stories-DE5HwN5H.js +0 -19
  211. package/dist/assets/InformationCircle-By7rXsxW.js +0 -1
  212. package/dist/assets/InputAdornment-CrT6j38e.js +0 -1
  213. package/dist/assets/InputBase-Cc2rXj8N.js +0 -2
  214. package/dist/assets/Installing odyssey-react-mui-BXo5U9tZ.js +0 -216
  215. package/dist/assets/Introduction-DJ-EDw1b.js +0 -36
  216. package/dist/assets/Layout-DfnguYJ3.js +0 -11
  217. package/dist/assets/Layout.stories-DGtK-sb4.js +0 -285
  218. package/dist/assets/Legacy Migrations-BvJnbBns.js +0 -86
  219. package/dist/assets/Link-B0jVOXLw.js +0 -1
  220. package/dist/assets/Link-CaBVKAGj.js +0 -11
  221. package/dist/assets/Link-LYj8-DeM.js +0 -1
  222. package/dist/assets/Link-P2sjP-aD.js +0 -1
  223. package/dist/assets/Link.stories-i53_1Tpy.js +0 -38
  224. package/dist/assets/List-BcG-NsbC.js +0 -1
  225. package/dist/assets/List-DFK8p7ZW.js +0 -1
  226. package/dist/assets/ListItem-Bv1M9lel.js +0 -1
  227. package/dist/assets/ListSubheader-CBvKBAKL.js +0 -1
  228. package/dist/assets/ListSubheader.stories-C_l7xOCL.js +0 -5
  229. package/dist/assets/Menu-g2Uj1mcn.js +0 -1
  230. package/dist/assets/MenuButton-BAmmLodS.js +0 -11
  231. package/dist/assets/MenuButton.stories-CQVVoTy1.js +0 -246
  232. package/dist/assets/MenuContext-DKMyPMNY.js +0 -11
  233. package/dist/assets/MenuItem-CJ8f1-Gg.js +0 -1
  234. package/dist/assets/MenuItem-DR63CY7B.js +0 -1
  235. package/dist/assets/MenuItem.stories-BOWN4pFz.js +0 -38
  236. package/dist/assets/MenuList-sllDVDo3.js +0 -1
  237. package/dist/assets/Modal-D0XtQHFw.js +0 -1
  238. package/dist/assets/More-CXrgFSVS.js +0 -1
  239. package/dist/assets/MuiPropsContext-DhRylJZk.js +0 -11
  240. package/dist/assets/NativeSelect.stories-SugLBKz7.js +0 -173
  241. package/dist/assets/Notification-08pZljJb.js +0 -1
  242. package/dist/assets/OdysseyProvider-YUKfsUrL.js +0 -76
  243. package/dist/assets/OdysseyStorybookThemeDecorator-DsQ8XVOG.js +0 -1
  244. package/dist/assets/OdysseyThemeProvider-uYQ_l8PJ.js +0 -189
  245. package/dist/assets/PageHeader.stories-Bl-DdoS-.js +0 -364
  246. package/dist/assets/PageHeader.stories-CloMCl88.js +0 -57
  247. package/dist/assets/PageTemplate _labs_-Dm7sBdz9.js +0 -8
  248. package/dist/assets/PageTemplate _labs_.stories-Cz0PIbrs.js +0 -306
  249. package/dist/assets/PageTemplate-Bst4OydU.js +0 -21
  250. package/dist/assets/PageTemplate.stories-CeRObmlQ.js +0 -205
  251. package/dist/assets/PaginatedTable _labs_.stories-UxmUHrH9.js +0 -65
  252. package/dist/assets/Pagination-iboAjua_.js +0 -11
  253. package/dist/assets/Pagination.stories-BCbuKsR4.js +0 -17
  254. package/dist/assets/Paper-BGSgbZC6.js +0 -1
  255. package/dist/assets/PasswordField.stories-DKFTzpqb.js +0 -121
  256. package/dist/assets/Picker _labs_.stories-BPfssL8O.js +0 -18
  257. package/dist/assets/PickerWithOptionAdornment _labs_.stories-rMUH3rtj.js +0 -70
  258. package/dist/assets/PlaceholderLogo-JfVvgA23.js +0 -11
  259. package/dist/assets/Popper-vW9B5iyN.js +0 -1
  260. package/dist/assets/Portal-ev1Y_qJb.js +0 -1
  261. package/dist/assets/ProgressBar.stories-VEY_ihAE.js +0 -311
  262. package/dist/assets/Radio-4dniU8ku.js +0 -1
  263. package/dist/assets/Radio-CnmlQGNx.js +0 -1
  264. package/dist/assets/Radio.stories-DyJFXoBq.js +0 -63
  265. package/dist/assets/RadioGroup-C_VrT_hm.js +0 -10
  266. package/dist/assets/RadioGroup-DxwohQ69.js +0 -1
  267. package/dist/assets/RadioGroup-GPUhtH5i.js +0 -1
  268. package/dist/assets/RadioGroup.stories-pF3uSMSb.js +0 -138
  269. package/dist/assets/Refresh-djvJkW-o.js +0 -1
  270. package/dist/assets/ResourceAccessPolicyComponentsStorybookThemeDecorator-CmW-AnrB.js +0 -212
  271. package/dist/assets/Right-to-Left (RTL)-DpiFoQRN.js +0 -62
  272. package/dist/assets/ScreenReaderText-CQNs2mcT.js +0 -1
  273. package/dist/assets/ScreenReaderText-DgymQTv2.js +0 -15
  274. package/dist/assets/ScreenReaderText.stories-DCOADRMP.js +0 -8
  275. package/dist/assets/Search-BdL9PIj1.js +0 -1
  276. package/dist/assets/SearchDropdown _labs_.stories-DISXh7bC.js +0 -53
  277. package/dist/assets/SearchField-C-y7eHW0.js +0 -1
  278. package/dist/assets/SearchField.stories-7IOflkmE.js +0 -37
  279. package/dist/assets/Select-BcdWA_SU.js +0 -1
  280. package/dist/assets/Select-mT9rgyNE.js +0 -15
  281. package/dist/assets/Select.stories-CBn0BmaJ.js +0 -233
  282. package/dist/assets/Server-BjJU0LGG.js +0 -1
  283. package/dist/assets/Settings-CjZSn0DO.js +0 -1
  284. package/dist/assets/Setup-B9xdxAqK.js +0 -7
  285. package/dist/assets/Shadow DOM-DQqEg_OE.js +0 -64
  286. package/dist/assets/Show-Blc9FMhI.js +0 -1
  287. package/dist/assets/SideNav-VVxkM7xa.js +0 -85
  288. package/dist/assets/SideNav-a8fqWzAH.js +0 -131
  289. package/dist/assets/SideNav.stories-C0ROmHeE.js +0 -207
  290. package/dist/assets/Skeleton-BSJpuJ78.js +0 -51
  291. package/dist/assets/Snackbar-BY4-2ak2.js +0 -1
  292. package/dist/assets/Stack-Co_ZNMgX.js +0 -1
  293. package/dist/assets/Stack-jRk0Yp6q.js +0 -1
  294. package/dist/assets/Stack.stories-Dt0hIC8B.js +0 -1
  295. package/dist/assets/StaticTable _labs_.stories-Dwx7A_WU.js +0 -34
  296. package/dist/assets/Status-BbCnhdhJ.js +0 -1
  297. package/dist/assets/Status.stories-DW2Kp-Dt.js +0 -66
  298. package/dist/assets/Stepper.stories-DDaIDnwk.js +0 -564
  299. package/dist/assets/Surface-Ceuyc0F6.js +0 -1
  300. package/dist/assets/Switch.stories-bT5JBB7t.js +0 -72
  301. package/dist/assets/SwitchBase-DDdOwpAs.js +0 -1
  302. package/dist/assets/Sync-BUHhhjqx.js +0 -1
  303. package/dist/assets/Tabs-AOq_ZOqc.js +0 -1
  304. package/dist/assets/Tabs-DAl04bRj.js +0 -23
  305. package/dist/assets/Tabs.stories-nDuOOblr.js +0 -100
  306. package/dist/assets/Tag-DPyljaiU.js +0 -11
  307. package/dist/assets/Tag.stories-dG5LwGHg.js +0 -96
  308. package/dist/assets/TagList-DcY5amcr.js +0 -1
  309. package/dist/assets/TextField-DvELiaRt.js +0 -1
  310. package/dist/assets/TextField.stories-B8dPipzE.js +0 -177
  311. package/dist/assets/Toast.stories-CU2mbz7X.js +0 -164
  312. package/dist/assets/ToastManager.stories-CNHdRjYp.js +0 -196
  313. package/dist/assets/Tooltip-Bx__kQJp.js +0 -11
  314. package/dist/assets/Tooltip-gH7ETEPn.js +0 -1
  315. package/dist/assets/Tooltip.stories-Dh10ZcLO.js +0 -68
  316. package/dist/assets/TopNav-CwC-Hfu7.js +0 -11
  317. package/dist/assets/TopNav.stories-CHynTSTq.js +0 -13
  318. package/dist/assets/TransitionGroupContext-DAL84N7p.js +0 -1
  319. package/dist/assets/Typography-BIFhmR2K.js +0 -1
  320. package/dist/assets/Typography-Cy2gjnNe.js +0 -1
  321. package/dist/assets/Typography-Dl4InsuU.js +0 -9
  322. package/dist/assets/Typography-gfYWxfhb.js +0 -1
  323. package/dist/assets/Typography.stories-BBqx1A0N.js +0 -139
  324. package/dist/assets/Typography.stories-CWHWJK4j.js +0 -73
  325. package/dist/assets/UiShell.stories-DR8ntSCC.js +0 -558
  326. package/dist/assets/UiShellProvider-Cr2Lr10c.js +0 -31
  327. package/dist/assets/Upload-BmwJgpFZ.js +0 -1
  328. package/dist/assets/User-DR3B8-Pw.js +0 -1
  329. package/dist/assets/UserProfile-Cra6rpT4.js +0 -11
  330. package/dist/assets/UserProfile.stories-BHXBhH-A.js +0 -14
  331. package/dist/assets/UserProfileMenuButton.stories-CbIX2qVe.js +0 -30
  332. package/dist/assets/Video-BrBarEGj.js +0 -1
  333. package/dist/assets/WorkflowsComponentsStorybookThemeDecorator-dm_9FhMX.js +0 -197
  334. package/dist/assets/_commonjsHelpers-gnU0ypJ3.js +0 -1
  335. package/dist/assets/assertThisInitialized-B9jnkVVz.js +0 -1
  336. package/dist/assets/axe-4JP0vCEZ.js +0 -30
  337. package/dist/assets/axeRun-B-LchFqf.js +0 -11
  338. package/dist/assets/chunk-XP5HYGXS-BpfKkqn7.js +0 -1
  339. package/dist/assets/client-ByW5HbEz.js +0 -1
  340. package/dist/assets/colorManipulator-BxsGKdcY.js +0 -1
  341. package/dist/assets/constants-CGUp4oSR.js +0 -11
  342. package/dist/assets/constants-CyailK6t.js +0 -11
  343. package/dist/assets/createBox-emhTu6dS.js +0 -1
  344. package/dist/assets/createChainedFunction-BO_9K8Jh.js +0 -1
  345. package/dist/assets/createStyled-B09qmfVW.js +0 -1
  346. package/dist/assets/createSvgIcon-SdTF6s8l.js +0 -1
  347. package/dist/assets/createUniqueId-BHjR7HQF.js +0 -11
  348. package/dist/assets/debounce-Be36O1Ab.js +0 -1
  349. package/dist/assets/dialogActionsClasses-Dyfou6Pj.js +0 -1
  350. package/dist/assets/dom.esm-B9r8vBgQ.js +0 -65
  351. package/dist/assets/emotion-react-jsx-runtime.browser.esm-DyRr7bu9.js +0 -1
  352. package/dist/assets/entry-preview-8rdU1LSP.js +0 -2
  353. package/dist/assets/entry-preview-docs-BKXv92OK.js +0 -46
  354. package/dist/assets/fieldComponentPropsMetaData-kU3Yruac.js +0 -11
  355. package/dist/assets/getReactElementRef-CYW9xr5m.js +0 -1
  356. package/dist/assets/getScrollbarSize-Bqq2hMjQ.js +0 -1
  357. package/dist/assets/i18next-7SyOfhCu.js +0 -1
  358. package/dist/assets/iconUtils-IdK4hqQS.js +0 -11
  359. package/dist/assets/iframe-B5wE2ay9.js +0 -211
  360. package/dist/assets/index-B-lxVbXh.js +0 -1
  361. package/dist/assets/index-B5xazMy1.js +0 -1
  362. package/dist/assets/index-BJMTVygn.js +0 -240
  363. package/dist/assets/index-BJTM6NaI.js +0 -192
  364. package/dist/assets/index-BeeV6X6A.js +0 -1
  365. package/dist/assets/index-Bg123T1w.js +0 -1
  366. package/dist/assets/index-CXQShRbs.js +0 -8
  367. package/dist/assets/index-DI1lVgTb.js +0 -1
  368. package/dist/assets/index-DiEiQB-f.js +0 -384
  369. package/dist/assets/index-DieBXP3Z.js +0 -24
  370. package/dist/assets/index-DrFu-skq.js +0 -6
  371. package/dist/assets/index-NdkWRN8K.js +0 -9
  372. package/dist/assets/index.esm-CSagFIBX.js +0 -138
  373. package/dist/assets/index.esm-CcYwRB5x.js +0 -1
  374. package/dist/assets/index.modern-CkASn_bb.js +0 -14
  375. package/dist/assets/inheritsLoose-6wpAF9yl.js +0 -1
  376. package/dist/assets/inputUtils-Dbi8XkA6.js +0 -11
  377. package/dist/assets/isHostComponent-DVu5iVWx.js +0 -1
  378. package/dist/assets/jsx-runtime-CnH95YSl.js +0 -9
  379. package/dist/assets/matchers-7Z3WT2CE-T3xScrR7.js +0 -14
  380. package/dist/assets/ownerDocument-DW-IO8s5.js +0 -1
  381. package/dist/assets/ownerWindow-HkKU3E4x.js +0 -1
  382. package/dist/assets/personData-D_hHWF6B.js +0 -1
  383. package/dist/assets/personData-FNT5LNaA.js +0 -11
  384. package/dist/assets/pickerComponentPropsMetadata-DrOyW8Hu.js +0 -21
  385. package/dist/assets/popper-BXFsSIrb.js +0 -1
  386. package/dist/assets/preview-B0Jk1i10.js +0 -11
  387. package/dist/assets/preview-B8lJiyuQ.js +0 -34
  388. package/dist/assets/preview-BBWR9nbA.js +0 -1
  389. package/dist/assets/preview-BWzBA1C2.js +0 -396
  390. package/dist/assets/preview-BaoH-L4j.js +0 -1
  391. package/dist/assets/preview-CYp4EYYZ.js +0 -1
  392. package/dist/assets/preview-CvbIS5ZJ.js +0 -1
  393. package/dist/assets/preview-DGUiP6tS.js +0 -7
  394. package/dist/assets/preview-DHQbi4pV.js +0 -1
  395. package/dist/assets/preview-DtECuC7p.js +0 -2
  396. package/dist/assets/preview-MBifGIx_.js +0 -1
  397. package/dist/assets/preview-nv3jWDyz.js +0 -2
  398. package/dist/assets/pxToRem-BrMhKUxS.js +0 -11
  399. package/dist/assets/react-18-u8niHpKc.js +0 -1
  400. package/dist/assets/renderUiShell.stories-uAoeUcRt.js +0 -872
  401. package/dist/assets/resolveComponentProps-zX2d3UUb.js +0 -1
  402. package/dist/assets/tableSortLabelClasses-t0B4WNP1.js +0 -1
  403. package/dist/assets/test-utils-H9lH7T5D.js +0 -9
  404. package/dist/assets/uiShellSharedConstants-CvCey4L_.js +0 -11
  405. package/dist/assets/useAutocomplete-CkesXhEs.js +0 -11
  406. package/dist/assets/useControlled-NQulfz4l.js +0 -1
  407. package/dist/assets/useFormControl-BMISTZuX.js +0 -1
  408. package/dist/assets/useIsFocusVisible-DH0qxT5e.js +0 -1
  409. package/dist/assets/useMobilePicker-DEUQ7oE6.js +0 -6
  410. package/dist/assets/useMountLifecycleEffect-CjsUCFhB.js +0 -11
  411. package/dist/assets/useOdysseyDateFields-_3ZdpiPL.js +0 -61
  412. package/dist/assets/useScrollIndication-DEbEqkqk.js +0 -31
  413. package/dist/assets/useSlot-bWb1W-uo.js +0 -1
  414. package/dist/assets/useStoryArgOrLocalState-CRQAGSTX.js +0 -11
  415. package/dist/assets/useThemeProps-4A-zY4M2.js +0 -1
  416. package/dist/assets/useThemeProps-DOJ_m4Vc.js +0 -1
  417. package/dist/assets/useUniqueId-DUzAQ6pl.js +0 -11
  418. package/dist/assets/utilities.esm-DpQ0TZP_.js +0 -5
  419. package/dist/assets/utils-iop7lDec.js +0 -1
  420. package/dist/assets/utils-uddq32f3.js +0 -1
  421. package/dist/assets/v4-CtRu48qb.js +0 -1
  422. package/dist/assets/visuallyHidden-Dan1xhjv.js +0 -1
  423. package/dist/cjs/ui-shell/SideNav/SideNavLogo.cjs.map +0 -1
  424. package/dist/esm/ui-shell/SideNav/SideNavLogo.js.map +0 -1
  425. package/dist/favicon.svg +0 -1
  426. package/dist/iframe.html +0 -748
  427. package/dist/index.cjs +0 -231
  428. package/dist/index.html +0 -203
  429. package/dist/index.json +0 -1
  430. package/dist/index.mjs +0 -229
  431. package/dist/index.scss +0 -549
  432. package/dist/nunito-sans-bold-italic.woff2 +0 -0
  433. package/dist/nunito-sans-bold.woff2 +0 -0
  434. package/dist/nunito-sans-italic.woff2 +0 -0
  435. package/dist/nunito-sans-regular.woff2 +0 -0
  436. package/dist/project.json +0 -1
  437. package/dist/sb-addons/a11y-3/manager-bundle.js +0 -220
  438. package/dist/sb-addons/docs-1/manager-bundle.js +0 -242
  439. package/dist/sb-addons/essentials-actions-5/manager-bundle.js +0 -3
  440. package/dist/sb-addons/essentials-backgrounds-6/manager-bundle.js +0 -12
  441. package/dist/sb-addons/essentials-controls-4/manager-bundle.js +0 -402
  442. package/dist/sb-addons/essentials-measure-9/manager-bundle.js +0 -3
  443. package/dist/sb-addons/essentials-outline-10/manager-bundle.js +0 -3
  444. package/dist/sb-addons/essentials-toolbars-8/manager-bundle.js +0 -3
  445. package/dist/sb-addons/essentials-viewport-7/manager-bundle.js +0 -3
  446. package/dist/sb-addons/interactions-11/manager-bundle.js +0 -222
  447. package/dist/sb-addons/links-2/manager-bundle.js +0 -3
  448. package/dist/sb-addons/rtl-12/manager-bundle.js +0 -3
  449. package/dist/sb-addons/storybook-13/manager-bundle.js +0 -3
  450. package/dist/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
  451. package/dist/sb-common-assets/favicon.svg +0 -1
  452. package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  453. package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  454. package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  455. package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  456. package/dist/sb-manager/globals-module-info.js +0 -1052
  457. package/dist/sb-manager/globals-runtime.js +0 -42127
  458. package/dist/sb-manager/globals.js +0 -48
  459. package/dist/sb-manager/runtime.js +0 -12048
  460. package/dist/types/ui-shell/SideNav/SideNavLogo.d.ts +0 -15
  461. package/dist/types/ui-shell/SideNav/SideNavLogo.d.ts.map +0 -1
@@ -1,11 +0,0 @@
1
- import{r as g}from"./index-NdkWRN8K.js";import{M as m}from"./Box-XLjSpNxK.js";import{u as h}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{j as f}from"./jsx-runtime-CnH95YSl.js";/*!
2
- * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
- * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
- *
5
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
- * Unless required by applicable law or agreed to in writing, software
7
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
- *
10
- * See the License for the specific language governing permissions and limitations under the License.
11
- */const T=[10,20,30,40,50,60,70,80,90,100],s=t=>({default:{background:t.HueNeutral200,font:t.TypographyColorBody},attention:{background:t.PalettePrimaryMain,font:t.TypographyColorInverse},danger:{background:t.PaletteDangerMain,font:t.TypographyColorInverse}}),y=({badgeContent:t,badgeContentMax:n=100,testId:e,translate:i,type:r="default"})=>{const o=h();return g.useMemo(()=>{const a=n>0?n:1,l=a>999?999:a,p=t>l,d=`${a}+`,c=p?d:t.toString(),u={display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:`calc(${o.Spacing4} + ${o.Spacing1})`,height:`calc(${o.Spacing4} + ${o.Spacing1})`,minHeight:`calc(${o.Spacing4} + ${o.Spacing1})`,padding:"0 6px",backgroundColor:s(o)[r].background,color:s(o)[r].font,borderRadius:c.length>1?`${o.BorderRadiusOuter}`:"50%",fontSize:`${o.TypographyScale0}`,fontFamily:`${o.TypographyFamilyMono}`,fontWeight:`${o.TypographyWeightBodyBold}`,lineHeight:1,transitionDuration:`${o.TransitionDurationMain}`,transitionProperty:"background-color, color"};return t&&t>0?f.jsx(m,{sx:u,testId:e,translate:i,children:c}):null},[t,n,o,e,i,r])},M=g.memo(y);M.displayName="Badge";export{M,T as b};
@@ -1 +0,0 @@
1
- import{r as f}from"./index-NdkWRN8K.js";import{K as x}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{M as u}from"./Link-P2sjP-aD.js";import{M as h}from"./ScreenReaderText-CQNs2mcT.js";import{j as r}from"./jsx-runtime-CnH95YSl.js";import{A as j,a as M}from"./AlertTitle-BdgyvdT3.js";const C=["status","alert"],E=["success","info","warning","error"],b=({linkRel:n,linkTarget:o,linkText:a,linkUrl:t,onClose:i,onLinkClick:m,role:l,severity:s,testId:c,text:d,translate:e})=>{const{t:p}=x();return r.jsxs(j,{"data-se":c,onClose:i,role:l,severity:s,variant:"banner",children:[r.jsx(h,{translate:e,children:p(`severity.${s}`)}),r.jsx(M,{translate:e,children:d}),a&&r.jsx(u,{href:t??"#",onClick:m,rel:n,target:o,translate:e,variant:"monochrome",children:a})]})},v=f.memo(b);v.displayName="Banner";export{v as M,C as a,E as b};
@@ -1,96 +0,0 @@
1
- import{f as W,w as u,e as n,u as y}from"./index-BJMTVygn.js";import{a as N}from"./axeRun-B-LchFqf.js";import{O}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{b as g,a as h,M as _}from"./Banner-CiZg662S.js";import"./axe-4JP0vCEZ.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./jsx-runtime-CnH95YSl.js";import"./index-NdkWRN8K.js";import"./OdysseyThemeProvider-uYQ_l8PJ.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-YUKfsUrL.js";import"./Link-P2sjP-aD.js";import"./Link-LYj8-DeM.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./Typography-BIFhmR2K.js";import"./ExternalLink-C7UPr4SL.js";import"./ScreenReaderText-CQNs2mcT.js";import"./Box-C-xmRxaS.js";import"./createBox-emhTu6dS.js";import"./visuallyHidden-Dan1xhjv.js";import"./AlertTitle-BdgyvdT3.js";import"./useSlot-bWb1W-uo.js";import"./resolveComponentProps-zX2d3UUb.js";import"./isHostComponent-DVu5iVWx.js";import"./createSvgIcon-SdTF6s8l.js";import"./Close-DWj_zrWe.js";import"./IconButton-DwJqCevw.js";import"./ButtonBase-Wolvis_2.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-6wpAF9yl.js";import"./TransitionGroupContext-DAL84N7p.js";import"./Paper-BGSgbZC6.js";/*!
2
- * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
- * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
- *
5
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
- * Unless required by applicable law or agreed to in writing, software
7
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
- *
10
- * See the License for the specific language governing permissions and limitations under the License.
11
- */const xe={component:_,decorators:[O],tags:["autodocs"],argTypes:{linkRel:{control:"text",description:"The rel attribute defines the relationship between a linked resource and the current document.",table:{type:{summary:"string"}}},linkTarget:{control:"text",description:"The target property of the `HTMLAnchorElement` interface is a string that indicates where to display the linked resource.",table:{type:{summary:"string"}}},linkText:{control:"text",description:"If linkUrl is defined, this is the text of the link. If left blank, it defaults to 'Learn more'. Note that linkText does nothing if linkUrl is not defined",table:{type:{summary:"string"}}},linkUrl:{control:"text",description:"If defined, the alert will include a link to the URL",table:{type:{summary:"string"}}},onClose:{description:"The function that's fired when the user clicks the close button. If undefined, the close button will not be shown",table:{type:{summary:"func"}}},role:{options:h,control:{type:"radio"},description:"Sets the ARIA role of the alert ('status' for something that dynamically updates, 'alert' for errors, null for something unchanging)",table:{type:{summary:h.join(" | ")}}},severity:{options:g,control:{type:"radio"},description:"Determine the color and icon of the alert",table:{type:{summary:g.join(" | ")}},type:{required:!0,name:"other",value:"radio"}},text:{control:"text",description:"The text content of the alert",table:{type:{summary:"string"}},type:{required:!0,name:"string"}}},args:{severity:"info",text:"The mission to Sagittarius A is set for January 7.",onClose:void 0}},i={args:{severity:"info",text:"The mission to Sagittarius A is set for January 7."}},s={args:{role:"status",severity:"error",text:"An unidentified flying object compromised Hangar 18."}},c={args:{role:"status",severity:"warning",text:"Severe solar winds detected. Local system flights may be delayed."}},l={args:{linkText:"View report",linkUrl:"#anchor",role:"status",severity:"error",text:"An unidentified flying object compromised Hangar 18."},play:async({canvasElement:r,step:a})=>{await a("check for the link text",async()=>{const t=u(r).getByText("View report");await n(t==null?void 0:t.tagName).toBe("A"),await n(t==null?void 0:t.href).toBe(`${t==null?void 0:t.baseURI}#anchor`)})}},m={args:{linkText:"View report",onLinkClick:W(),role:"status",severity:"error",text:"An unidentified flying object compromised Hangar 18."},play:async({args:r,canvasElement:a,step:o})=>{await o("check for the link text and click it",async()=>{const e=u(a).getByText("View report");await n(e==null?void 0:e.tagName).toBe("A"),await n(e==null?void 0:e.href).toBe(`${e==null?void 0:e.baseURI}#`),await y.click(e),await n(r.onLinkClick).toHaveBeenCalled()})}},p={args:{linkTarget:"_blank",linkText:"View report",linkUrl:"#anchor",role:"status",severity:"error",text:"An unidentified flying object compromised Hangar 18."}},d={args:{onClose:W()},play:async({args:r,canvasElement:a,step:o})=>{await o("dismiss the banner on click",async()=>{const e=u(a).getByTitle("Close");await y.click(e),await y.tab(),await n(r.onClose).toHaveBeenCalled(),await N("Dismissible Banner")})}};var f,k,w;i.parameters={...i.parameters,docs:{...(f=i.parameters)==null?void 0:f.docs,source:{originalSource:`{
12
- args: {
13
- severity: "info",
14
- text: "The mission to Sagittarius A is set for January 7."
15
- }
16
- }`,...(w=(k=i.parameters)==null?void 0:k.docs)==null?void 0:w.source}}};var x,b,v;s.parameters={...s.parameters,docs:{...(x=s.parameters)==null?void 0:x.docs,source:{originalSource:`{
17
- args: {
18
- role: "status",
19
- severity: "error",
20
- text: "An unidentified flying object compromised Hangar 18."
21
- }
22
- }`,...(v=(b=s.parameters)==null?void 0:b.docs)==null?void 0:v.source}}};var T,B,A;c.parameters={...c.parameters,docs:{...(T=c.parameters)==null?void 0:T.docs,source:{originalSource:`{
23
- args: {
24
- role: "status",
25
- severity: "warning",
26
- text: "Severe solar winds detected. Local system flights may be delayed."
27
- }
28
- }`,...(A=(B=c.parameters)==null?void 0:B.docs)==null?void 0:A.source}}};var L,C,E;l.parameters={...l.parameters,docs:{...(L=l.parameters)==null?void 0:L.docs,source:{originalSource:`{
29
- args: {
30
- linkText: "View report",
31
- linkUrl: "#anchor",
32
- role: "status",
33
- severity: "error",
34
- text: "An unidentified flying object compromised Hangar 18."
35
- },
36
- play: async ({
37
- canvasElement,
38
- step
39
- }: PlayType) => {
40
- await step("check for the link text", async () => {
41
- const canvas = within(canvasElement);
42
- const link = canvas.getByText<HTMLAnchorElement>("View report");
43
- await expect(link?.tagName).toBe("A");
44
- await expect(link?.href).toBe(\`\${link?.baseURI}#anchor\`);
45
- });
46
- }
47
- }`,...(E=(C=l.parameters)==null?void 0:C.docs)==null?void 0:E.source}}};var H,S,U;m.parameters={...m.parameters,docs:{...(H=m.parameters)==null?void 0:H.docs,source:{originalSource:`{
48
- args: {
49
- linkText: "View report",
50
- onLinkClick: fn(),
51
- role: "status",
52
- severity: "error",
53
- text: "An unidentified flying object compromised Hangar 18."
54
- },
55
- play: async ({
56
- args,
57
- canvasElement,
58
- step
59
- }: PlayType) => {
60
- await step("check for the link text and click it", async () => {
61
- const canvas = within(canvasElement);
62
- const link = canvas.getByText<HTMLAnchorElement>("View report");
63
- await expect(link?.tagName).toBe("A");
64
- await expect(link?.href).toBe(\`\${link?.baseURI}#\`);
65
- await userEvent.click(link);
66
- await expect(args.onLinkClick).toHaveBeenCalled();
67
- });
68
- }
69
- }`,...(U=(S=m.parameters)==null?void 0:S.docs)==null?void 0:U.source}}};var V,I,j;p.parameters={...p.parameters,docs:{...(V=p.parameters)==null?void 0:V.docs,source:{originalSource:`{
70
- args: {
71
- linkTarget: "_blank",
72
- linkText: "View report",
73
- linkUrl: "#anchor",
74
- role: "status",
75
- severity: "error",
76
- text: "An unidentified flying object compromised Hangar 18."
77
- }
78
- }`,...(j=(I=p.parameters)==null?void 0:I.docs)==null?void 0:j.source}}};var R,D,M;d.parameters={...d.parameters,docs:{...(R=d.parameters)==null?void 0:R.docs,source:{originalSource:`{
79
- args: {
80
- onClose: fn()
81
- },
82
- play: async ({
83
- args,
84
- canvasElement,
85
- step
86
- }: PlayType) => {
87
- await step("dismiss the banner on click", async () => {
88
- const canvas = within(canvasElement);
89
- const button = canvas.getByTitle("Close");
90
- await userEvent.click(button);
91
- await userEvent.tab();
92
- await expect(args.onClose).toHaveBeenCalled();
93
- await axeRun("Dismissible Banner");
94
- });
95
- }
96
- }`,...(M=(D=d.parameters)==null?void 0:D.docs)==null?void 0:M.source}}};const be=["Info","Error","Warning","Linked","LinkedWithOnLinkClick","LinkWithTarget","Dismissible"];export{d as Dismissible,s as Error,i as Info,p as LinkWithTarget,l as Linked,m as LinkedWithOnLinkClick,c as Warning,be as __namedExportsOrder,xe as default};
@@ -1,11 +0,0 @@
1
- import{r as e}from"./index-NdkWRN8K.js";import{u as E,M as N}from"./MuiPropsContext-DhRylJZk.js";import{M as q}from"./Tooltip-Bx__kQJp.js";import{j as s}from"./jsx-runtime-CnH95YSl.js";import{B as w}from"./Button-dStBbGjZ.js";/*!
2
- * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
- * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
- *
5
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
- * Unless required by applicable law or agreed to in writing, software
7
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
- *
10
- * See the License for the specific language governing permissions and limitations under the License.
11
- */const G=e.createContext({isFullWidth:!1}),H=()=>e.useContext(G),Y=["small","medium","large"],Z=["button","submit","reset"],_=["primary","secondary","danger","dangerSecondary","floating","floatingAction"],I=({ariaControls:a,ariaDescribedBy:r,ariaExpanded:u,ariaHasPopup:c,ariaLabel:i,ariaLabelledBy:l,buttonRef:k,children:d,endIcon:f,href:m,id:x,isDisabled:B,isFullWidth:b,label:p="",onClick:h,size:y="medium",startIcon:M,tabIndex:C,testId:g,tooltipText:j,translate:W,type:F="button",variant:V})=>{const A=E(),v=V==="tertiary"?"secondary":V,z=e.useRef(null),n=H(),R=e.useMemo(()=>n.isFullWidth?n.isFullWidth:b,[n,b]);e.useImperativeHandle(k,()=>({focus:()=>{var t;(t=z.current)==null||t.focus()}}),[]);const S=e.useCallback(t=>s.jsx(w,{...t,"aria-controls":a,"aria-describedby":r,"aria-expanded":u,"aria-haspopup":c,"aria-label":i,"aria-labelledby":l,"data-se":g,disabled:B,endIcon:f,fullWidth:R,href:m,id:x,onClick:h,ref:o=>{var T;o&&(z.current=o,(T=t==null?void 0:t.ref)==null||T.call(t,o))},size:y,startIcon:M,tabIndex:C,translate:W,type:F,variant:v,children:d??p}),[a,r,u,c,i,l,f,m,x,B,R,p,d,h,y,M,C,g,W,F,v]);return j?s.jsx(q,{ariaType:"description",placement:"top",text:j,children:s.jsx(N.Consumer,{children:S})}):S(A)},J=e.memo(I);J.displayName="BaseButton";export{G as B,J as M,Z as a,_ as b,Y as c};
@@ -1 +0,0 @@
1
- import{u as w,N,h as S}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as o}from"./index-NdkWRN8K.js";import{M as q}from"./Box-XLjSpNxK.js";import{u as H}from"./useUniqueId-DUzAQ6pl.js";import{M as A}from"./BaseButton-CPts8Xl1.js";import{M as F}from"./MenuContext-DKMyPMNY.js";import{j as e}from"./jsx-runtime-CnH95YSl.js";import{M as R}from"./More-CXrgFSVS.js";import{M as U,P as G}from"./Menu-g2Uj1mcn.js";const se=["left","right"],re=["start","end"],J=S("div",{shouldForwardProp:n=>n!=="hasVerticalDivider"&&n!=="odysseyDesignTokens"&&n!=="verticalDividerAlignment"})(({hasVerticalDivider:n,odysseyDesignTokens:s,verticalDividerAlignment:r})=>({position:"relative",...n&&{display:"inline-block","&:before":{position:"absolute",top:"50%",left:0,width:1,height:s.Spacing6,backgroundColor:s.HueNeutral300,content:'""',transform:"translate3d(0, -50%, 0)",transition:"opacity 200ms",...r==="end"&&{left:"unset",right:0}},":has(> button:hover)":{"&:before":{opacity:0}},":dir(rtl)":{"&:before":{left:"unset",right:0,...r==="end"&&{right:"unset",left:0}}}}})),K=({ariaLabel:n,ariaLabelledBy:s,ariaDescribedBy:r,buttonChildren:v,buttonLabel:x="",buttonVariant:y="secondary",children:c,popoverContent:m,endIcon:p,hasVerticalDivider:B=!1,id:j,isDisabled:D,isOverflow:k,menuAlignment:i="left",omitEndIcon:z=!1,shouldCloseOnSelect:f=!0,size:C,testId:E,tooltipText:I,translate:O,verticalDividerAlignment:P="start"})=>{const h=w(),[d,M]=o.useState(null),a=!!d,l=o.useCallback(()=>{M(null)},[]),u=o.useCallback($=>{M($.currentTarget)},[]),t=H(j),T=o.useMemo(()=>({"aria-labelledby":`${t}-button`}),[t]),V=o.useMemo(()=>({closeMenu:l,openMenu:u,shouldCloseOnSelect:f}),[l,u,f]),L=z?void 0:p||(k?e.jsx(R,{}):e.jsx(N,{})),b=o.useMemo(()=>({horizontal:i,vertical:"bottom"}),[i]),g=o.useMemo(()=>({horizontal:i,vertical:"top"}),[i]);return e.jsxs(J,{hasVerticalDivider:B,odysseyDesignTokens:h,verticalDividerAlignment:P,children:[e.jsx(A,{ariaControls:a?`${t}-menu`:void 0,ariaDescribedBy:r,ariaExpanded:a?"true":void 0,ariaHasPopup:"true",ariaLabel:n,ariaLabelledBy:s,children:v,endIcon:L,id:`${t}-button`,isDisabled:D,label:x,onClick:u,size:C,testId:E,tooltipText:I,translate:O,variant:y}),c&&e.jsx(U,{anchorEl:d,anchorOrigin:b,id:`${t}-menu`,MenuListProps:T,onClose:l,open:a,transformOrigin:g,children:e.jsx(F.Provider,{value:V,children:c})}),m&&e.jsx(G,{anchorEl:d,anchorOrigin:b,onClose:l,open:a,transformOrigin:g,children:e.jsx(q,{sx:{padding:h.Spacing4},children:m})})]})},Q=o.memo(K);Q.displayName="BaseMenuButton";export{Q as M,se as m,re as v};
@@ -1 +0,0 @@
1
- import{W as e,ae as a,Y as s,a9 as t}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{c as o}from"./createBox-emhTu6dS.js";const r=e("MuiBox",["root"]),m=t(),c=o({themeId:s,defaultTheme:m,defaultClassName:r.root,generateClassName:a.generate});export{c as B};
@@ -1,11 +0,0 @@
1
- import{j as t}from"./jsx-runtime-CnH95YSl.js";import{useMDXComponents as n}from"./index-BeeV6X6A.js";import"./index-DI1lVgTb.js";import{M as p,T as s,S as m,D as a,P as c,a as d,b as x}from"./index-DiEiQB-f.js";import{B as i}from"./Box.stories-DlaC0I8z.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./preview-nv3jWDyz.js";import"./iframe-B5wE2ay9.js";import"./DocsRenderer-CFRXHY34-P8M6yttG.js";import"./client-ByW5HbEz.js";import"./index-DieBXP3Z.js";import"./index-BJTM6NaI.js";import"./index-B5xazMy1.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./index-BJMTVygn.js";import"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import"./OdysseyThemeProvider-uYQ_l8PJ.js";import"./OdysseyProvider-YUKfsUrL.js";import"./Box-XLjSpNxK.js";import"./Box-C-xmRxaS.js";import"./createBox-emhTu6dS.js";import"./TextField-DvELiaRt.js";import"./Field-BVmhMv9m.js";import"./List-BcG-NsbC.js";import"./ListItem-Bv1M9lel.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-C4KesWyd.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./isHostComponent-DVu5iVWx.js";import"./ButtonBase-Wolvis_2.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-6wpAF9yl.js";import"./TransitionGroupContext-DAL84N7p.js";import"./ScreenReaderText-CQNs2mcT.js";import"./visuallyHidden-Dan1xhjv.js";import"./FormHelperText-CZEj6vhF.js";import"./FieldHint-BFs7d7f5.js";import"./Typography-gfYWxfhb.js";import"./Typography-BIFhmR2K.js";import"./useUniqueId-DUzAQ6pl.js";import"./createUniqueId-BHjR7HQF.js";import"./inputUtils-Dbi8XkA6.js";import"./InputBase-Cc2rXj8N.js";import"./ownerWindow-HkKU3E4x.js";import"./ownerDocument-DW-IO8s5.js";import"./debounce-Be36O1Ab.js";import"./InputAdornment-CrT6j38e.js";function e(r){const o={a:"a",code:"code",p:"p",...n(),...r.components};return t.jsxs(t.Fragment,{children:[t.jsx(p,{of:i}),`
2
- `,t.jsx(s,{of:i}),`
3
- `,t.jsx(m,{of:i}),`
4
- `,t.jsx(a,{of:i}),`
5
- `,t.jsx(c,{of:i}),`
6
- `,t.jsxs(o.p,{children:[t.jsx(o.code,{children:"<Box>"})," is a utility component that renders a simple HTML ",t.jsx(o.code,{children:"<div>"}),`, which can then be used for styling or layout. CSS properties
7
- can be set using the `,t.jsx(o.code,{children:"sx"})," prop, as detailed in the ",t.jsxs(o.a,{href:"https://mui.com/system/getting-started/the-sx-prop/",rel:"nofollow",children:["MUI documentation on ",t.jsx(o.code,{children:"sx"})]}),`.
8
- The component can also be set to render another element besides `,t.jsx(o.code,{children:"<div>"}),"."]}),`
9
- `,t.jsxs(o.p,{children:[t.jsx(o.code,{children:"<Box>"}),' is useful as an "escape hatch" when you need to create a layout or pattern not yet supported by Odyssey.']}),`
10
- `,t.jsx(d,{}),`
11
- `,t.jsx(x,{})]})}function at(r={}){const{wrapper:o}={...n(),...r.components};return o?t.jsx(o,{...r,children:t.jsx(e,{...r})}):e(r)}export{at as default};
@@ -1 +0,0 @@
1
- import{r as o}from"./index-NdkWRN8K.js";import{j as p}from"./jsx-runtime-CnH95YSl.js";import{B as n}from"./Box-C-xmRxaS.js";const d=o.forwardRef(({children:r,component:e,id:s,role:t,sx:a,testId:m,translate:x},i)=>p.jsx(n,{children:r,component:e,"data-se":m,id:s,ref:i,role:t,sx:a,translate:x})),f=o.memo(d);f.displayName="Box";export{f as M};
@@ -1,38 +0,0 @@
1
- import{j as e}from"./jsx-runtime-CnH95YSl.js";import{w as x,e as b}from"./index-BJMTVygn.js";import{O as y}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{M as g}from"./Box-XLjSpNxK.js";import{M as n}from"./TextField-DvELiaRt.js";const T={component:g,decorators:[y],argTypes:{children:{description:"The content of the component, whether text or other components.",table:{type:{summary:"ReactNode"}}},component:{description:"The HTML element the component should render, if different from the default.",table:{type:{summary:"ElementType"}}},id:{control:"text",description:"An optional id for the HTML elemenet rendered by the component.",table:{type:{summary:"string"}}},sx:{control:"object",description:"The system prop that allows defining system overrides as well as additional CSS styles. See the [MUI `sx` page](https://mui.com/system/getting-started/the-sx-prop/) for more details.",table:{type:{summary:"object"}}}},args:{children:"This is the tab content. This tab happens to be about stars."}},t={args:{children:"This is the content of the box.",sx:{borderColor:"lightGray",borderStyle:"dashed",borderWidth:2,p:3},id:"container-id"},play:async({canvasElement:c,step:p})=>{await p("Box Id",({args:m})=>{const h=x(c).getByText("This is the content of the box.");b(h).toHaveAttribute("id",m.id)})}},o={args:{children:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Field One"}),e.jsx(n,{label:"Field Two"}),e.jsx(n,{label:"Field Three"})]}),sx:{display:"flex",alignItems:"start",gap:3,p:3}}};var r,s,a;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{
2
- args: {
3
- children: "This is the content of the box.",
4
- sx: {
5
- borderColor: "lightGray",
6
- borderStyle: "dashed",
7
- borderWidth: 2,
8
- p: 3
9
- },
10
- id: "container-id"
11
- },
12
- play: async ({
13
- canvasElement,
14
- step
15
- }) => {
16
- await step("Box Id", ({
17
- args
18
- }) => {
19
- const canvas = within(canvasElement);
20
- const box = canvas.getByText("This is the content of the box.");
21
- expect(box).toHaveAttribute("id", args.id);
22
- });
23
- }
24
- }`,...(a=(s=t.parameters)==null?void 0:s.docs)==null?void 0:a.source}}};var i,d,l;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{
25
- args: {
26
- children: <>
27
- <TextField label="Field One" />
28
- <TextField label="Field Two" />
29
- <TextField label="Field Three" />
30
- </>,
31
- sx: {
32
- display: "flex",
33
- alignItems: "start",
34
- gap: 3,
35
- p: 3
36
- }
37
- }
38
- }`,...(l=(d=o.parameters)==null?void 0:d.docs)==null?void 0:l.source}}};const f=["Simple","Layout"],M=Object.freeze(Object.defineProperty({__proto__:null,Layout:o,Simple:t,__namedExportsOrder:f,default:T},Symbol.toStringTag,{value:"Module"}));export{M as B};
@@ -1,19 +0,0 @@
1
- import{j as i}from"./jsx-runtime-CnH95YSl.js";import{a as B}from"./index-B-lxVbXh.js";import{O as k}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{B as e}from"./Breadcrumbs-24mVV2FV.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./v4-CtRu48qb.js";import"./OdysseyThemeProvider-uYQ_l8PJ.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-YUKfsUrL.js";import"./Typography-gfYWxfhb.js";import"./Typography-BIFhmR2K.js";import"./Group-BQH7lDPW.js";import"./User-DR3B8-Pw.js";import"./MenuItem-DR63CY7B.js";import"./List-BcG-NsbC.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./ButtonBase-Wolvis_2.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-6wpAF9yl.js";import"./TransitionGroupContext-DAL84N7p.js";import"./createSvgIcon-SdTF6s8l.js";import"./getReactElementRef-CYW9xr5m.js";import"./resolveComponentProps-zX2d3UUb.js";import"./isHostComponent-DVu5iVWx.js";import"./Home-yAl98ghs.js";import"./Menu-g2Uj1mcn.js";import"./Grow-CbLflC0D.js";import"./utils-uddq32f3.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./debounce-Be36O1Ab.js";import"./Modal-D0XtQHFw.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-ev1Y_qJb.js";import"./Fade-DSMklDt3.js";import"./Paper-BGSgbZC6.js";import"./MenuList-sllDVDo3.js";const cr={component:e,decorators:[k],tags:["autodocs"],parameters:{docs:{description:{component:"`Breadcrumb` composes `BreadcrumbList`. It is not supported as a standalone Odyssey component."}}},argTypes:{children:{control:"text",description:"Label text displayed for the breadcrumb",table:{category:"Visual",type:{summary:"string"}}},href:{control:"text",description:"Target URL when the breadcrumb renders as a link",table:{category:"Functional",type:{summary:"string"}}},iconName:{control:{type:"radio"},options:["group","user"],description:"Optional leading icon that represents the destination",table:{category:"Visual",type:{summary:'"group" | "user"'}}},onClick:{control:!1,description:"Callback fired when the breadcrumb is activated. Only used when `href` is provided",table:{category:"Functional",type:{summary:"MouseEventHandler"}}}},args:{children:"Breadcrumb label"}},o={render:r=>i.jsx(e,{...r})},t={args:{href:"#anchor"},render:r=>i.jsx(e,{...r})},a={args:{href:"#anchor",onClick:B("Breadcrumb clicked")},render:r=>i.jsx(e,{...r})},s={args:{iconName:"group"},render:r=>i.jsx(e,{...r})};var m,c,n;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{
2
- render: (args: BreadcrumbProps) => <Breadcrumb {...args} />
3
- }`,...(n=(c=o.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};var p,d,u;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{
4
- args: {
5
- href: "#anchor"
6
- },
7
- render: (args: BreadcrumbProps) => <Breadcrumb {...args} />
8
- }`,...(u=(d=t.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var l,g,b;a.parameters={...a.parameters,docs:{...(l=a.parameters)==null?void 0:l.docs,source:{originalSource:`{
9
- args: {
10
- href: "#anchor",
11
- onClick: action("Breadcrumb clicked")
12
- },
13
- render: (args: BreadcrumbProps) => <Breadcrumb {...args} />
14
- }`,...(b=(g=a.parameters)==null?void 0:g.docs)==null?void 0:b.source}}};var h,y,f;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{
15
- args: {
16
- iconName: "group"
17
- },
18
- render: (args: BreadcrumbProps) => <Breadcrumb {...args} />
19
- }`,...(f=(y=s.parameters)==null?void 0:y.docs)==null?void 0:f.source}}};const nr=["Default","Link","WithClick","Icon"];export{o as Default,s as Icon,t as Link,a as WithClick,nr as __namedExportsOrder,cr as default};
@@ -1,77 +0,0 @@
1
- import{j as e}from"./jsx-runtime-CnH95YSl.js";import{a as L}from"./index-B-lxVbXh.js";import{w as N,e as O}from"./index-BJMTVygn.js";import{O as k}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{M as n,B as r}from"./Breadcrumbs-24mVV2FV.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./v4-CtRu48qb.js";import"./OdysseyThemeProvider-uYQ_l8PJ.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-YUKfsUrL.js";import"./Typography-gfYWxfhb.js";import"./Typography-BIFhmR2K.js";import"./Group-BQH7lDPW.js";import"./User-DR3B8-Pw.js";import"./MenuItem-DR63CY7B.js";import"./List-BcG-NsbC.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./ButtonBase-Wolvis_2.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-6wpAF9yl.js";import"./TransitionGroupContext-DAL84N7p.js";import"./createSvgIcon-SdTF6s8l.js";import"./getReactElementRef-CYW9xr5m.js";import"./resolveComponentProps-zX2d3UUb.js";import"./isHostComponent-DVu5iVWx.js";import"./Home-yAl98ghs.js";import"./Menu-g2Uj1mcn.js";import"./Grow-CbLflC0D.js";import"./utils-uddq32f3.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./debounce-Be36O1Ab.js";import"./Modal-D0XtQHFw.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-ev1Y_qJb.js";import"./Fade-DSMklDt3.js";import"./Paper-BGSgbZC6.js";import"./MenuList-sllDVDo3.js";const ye={component:n,decorators:[k],tags:["autodocs"],parameters:{docs:{description:{component:"`BreadcrumbList` arranges [Breadcrumb](../?path=/docs/odyssey-core-page-structures-breadcrumbs-breadcrumb--docs) items to describe the user's location. Use these components together to ensure correct styling and accessibility behavior."}}},argTypes:{children:{control:!1,description:"Multiple Breadcrumb components. See [Breadcrumb](../?path=/docs/odyssey-core-page-structures-breadcrumbs-breadcrumb--docs) for usage and available props",table:{category:"Visual",type:{summary:"Breadcrumb"}}},homeHref:{control:"text",description:'URL used for the automatically rendered "Home" breadcrumb with icon',table:{category:"Visual",type:{summary:"string"}}},maxVisibleItems:{control:{type:"number"},description:"Number of breadcrumbs shown before older ones collapse into the overflow menu",table:{category:"Visual",type:{summary:"number"},defaultValue:{summary:"5"}}},testId:{control:"text",description:"Adds a legacy `data-se` attribute. Prefer semantic queries in new tests",table:{category:"Functional",type:{summary:"string"}}},translate:{control:{type:"radio"},options:["yes","no"],description:"Sets the HTML `translate` attribute to opt the breadcrumb trail in or out of machine translation",table:{category:"Functional",type:{summary:'"yes" | "no"'}}}},args:{maxVisibleItems:5}},o={args:{homeHref:"#home"},render:a=>e.jsxs(n,{...a,children:[e.jsx(r,{href:"#one",children:"One"}),e.jsx(r,{href:"#two",children:"Two"}),e.jsx(r,{href:"#three",iconName:"user",children:"Three"}),e.jsx(r,{href:"#four",children:"Four"}),e.jsx(r,{href:"#five",iconName:"group",children:"Five"}),e.jsx(r,{href:"#six",children:"Six"}),e.jsx(r,{href:"#seven",children:"Seven"}),e.jsx(r,{href:"#eight",children:"Eight"}),e.jsx(r,{href:"#nine",children:"Nine"}),e.jsx(r,{href:"#ten",children:"Ten"})]}),play:async({canvasElement:a,step:T})=>{await T("Breadcrumbs Home Link",({args:S})=>{const H=N(a).getByLabelText("Home");O(H).toHaveAttribute("href",S.homeHref)})}},t={args:{homeHref:"#home"},render:a=>e.jsxs(n,{...a,children:[e.jsx(r,{href:"#one",children:"This is a very long title that should be truncated"}),e.jsx(r,{href:"#two",children:"Two"}),e.jsx(r,{href:"#three",iconName:"user",children:"This is a very long title with an icon"}),e.jsx(r,{href:"#four",children:"Four"}),e.jsx(r,{href:"#five",iconName:"group",children:"Five"}),e.jsx(r,{href:"#six",children:"Six"}),e.jsx(r,{href:"#seven",children:"Seven"}),e.jsx(r,{href:"#eight",children:"Eight"}),e.jsx(r,{href:"#nine",children:"Nine"}),e.jsx(r,{href:"#ten",children:"Ten"})]})},s={args:{children:[e.jsx(r,{href:"#one",children:"One"}),e.jsx(r,{href:"#two",children:"Two"})]},render:a=>e.jsx(n,{...a})},c={args:{homeHref:"#home"},render:a=>e.jsxs(n,{...a,children:[e.jsx(r,{onClick:L("onClick"),children:"One"}),e.jsx(r,{href:"#two",children:"Two"})]})},i={args:{homeHref:"#home"},render:a=>e.jsxs(n,{...a,children:[e.jsx(r,{children:"One"}),e.jsx(r,{href:"#two",children:"Two"}),e.jsx(r,{href:"#three",children:"Three"})]})};var m,d,u;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{
2
- args: {
3
- homeHref: "#home"
4
- },
5
- render: args => <BreadcrumbList {...args}>
6
- <Breadcrumb href="#one">One</Breadcrumb>
7
- <Breadcrumb href="#two">Two</Breadcrumb>
8
- <Breadcrumb href="#three" iconName="user">
9
- Three
10
- </Breadcrumb>
11
- <Breadcrumb href="#four">Four</Breadcrumb>
12
- <Breadcrumb href="#five" iconName="group">
13
- Five
14
- </Breadcrumb>
15
- <Breadcrumb href="#six">Six</Breadcrumb>
16
- <Breadcrumb href="#seven">Seven</Breadcrumb>
17
- <Breadcrumb href="#eight">Eight</Breadcrumb>
18
- <Breadcrumb href="#nine">Nine</Breadcrumb>
19
- <Breadcrumb href="#ten">Ten</Breadcrumb>
20
- </BreadcrumbList>,
21
- play: async ({
22
- canvasElement,
23
- step
24
- }) => {
25
- await step("Breadcrumbs Home Link", ({
26
- args
27
- }) => {
28
- const canvas = within(canvasElement);
29
- const box = canvas.getByLabelText("Home");
30
- expect(box).toHaveAttribute("href", args.homeHref);
31
- });
32
- }
33
- }`,...(u=(d=o.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var h,b,p;t.parameters={...t.parameters,docs:{...(h=t.parameters)==null?void 0:h.docs,source:{originalSource:`{
34
- args: {
35
- homeHref: "#home"
36
- },
37
- render: args => <BreadcrumbList {...args}>
38
- <Breadcrumb href="#one">
39
- This is a very long title that should be truncated
40
- </Breadcrumb>
41
- <Breadcrumb href="#two">Two</Breadcrumb>
42
- <Breadcrumb href="#three" iconName="user">
43
- This is a very long title with an icon
44
- </Breadcrumb>
45
- <Breadcrumb href="#four">Four</Breadcrumb>
46
- <Breadcrumb href="#five" iconName="group">
47
- Five
48
- </Breadcrumb>
49
- <Breadcrumb href="#six">Six</Breadcrumb>
50
- <Breadcrumb href="#seven">Seven</Breadcrumb>
51
- <Breadcrumb href="#eight">Eight</Breadcrumb>
52
- <Breadcrumb href="#nine">Nine</Breadcrumb>
53
- <Breadcrumb href="#ten">Ten</Breadcrumb>
54
- </BreadcrumbList>
55
- }`,...(p=(b=t.parameters)==null?void 0:b.docs)==null?void 0:p.source}}};var l,f,B;s.parameters={...s.parameters,docs:{...(l=s.parameters)==null?void 0:l.docs,source:{originalSource:`{
56
- args: {
57
- children: [<Breadcrumb href="#one">One</Breadcrumb>, <Breadcrumb href="#two">Two</Breadcrumb>]
58
- },
59
- render: args => <BreadcrumbList {...args} />
60
- }`,...(B=(f=s.parameters)==null?void 0:f.docs)==null?void 0:B.source}}};var g,x,y;c.parameters={...c.parameters,docs:{...(g=c.parameters)==null?void 0:g.docs,source:{originalSource:`{
61
- args: {
62
- homeHref: "#home"
63
- },
64
- render: args => <BreadcrumbList {...args}>
65
- <Breadcrumb onClick={action("onClick")}>One</Breadcrumb>
66
- <Breadcrumb href="#two">Two</Breadcrumb>
67
- </BreadcrumbList>
68
- }`,...(y=(x=c.parameters)==null?void 0:x.docs)==null?void 0:y.source}}};var j,v,w;i.parameters={...i.parameters,docs:{...(j=i.parameters)==null?void 0:j.docs,source:{originalSource:`{
69
- args: {
70
- homeHref: "#home"
71
- },
72
- render: args => <BreadcrumbList {...args}>
73
- <Breadcrumb>One</Breadcrumb>
74
- <Breadcrumb href="#two">Two</Breadcrumb>
75
- <Breadcrumb href="#three">Three</Breadcrumb>
76
- </BreadcrumbList>
77
- }`,...(w=(v=i.parameters)==null?void 0:v.docs)==null?void 0:w.source}}};const je=["Default","Truncation","Simple","WithOnClick","Subordinate"];export{o as Default,s as Simple,i as Subordinate,t as Truncation,c as WithOnClick,je as __namedExportsOrder,ye as default};
@@ -1,6 +0,0 @@
1
- import{_ as R,s as M,b,n as w,W as A,V as N,c as U,d as V,f as _,K as W,h as H}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as a}from"./index-NdkWRN8K.js";import{c as z}from"./Typography-gfYWxfhb.js";import{j as r}from"./jsx-runtime-CnH95YSl.js";import{M as O}from"./Group-BQH7lDPW.js";import{M as D}from"./User-DR3B8-Pw.js";import{M as F}from"./MenuItem-DR63CY7B.js";import{B as j}from"./ButtonBase-Wolvis_2.js";import{c as q}from"./createSvgIcon-SdTF6s8l.js";import{u as G}from"./getReactElementRef-CYW9xr5m.js";import{T as K}from"./Typography-BIFhmR2K.js";import{M as J}from"./Home-yAl98ghs.js";import{M as Q}from"./Menu-g2Uj1mcn.js";const X=q(r.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),Y=["slots","slotProps"],Z=M(j,{name:"MuiBreadcrumbCollapsed"})(({theme:e})=>b({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":b({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":b({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:w.emphasize(e.palette.grey[200],.12)}:{backgroundColor:w.emphasize(e.palette.grey[600],.12)})})),ee=M(X)({width:24,height:16});function re(e){const{slots:s={},slotProps:c={}}=e,n=R(e,Y),t=e;return r.jsx("li",{children:r.jsx(Z,b({focusRipple:!0},n,{ownerState:t,children:r.jsx(ee,b({as:s.CollapsedIcon,ownerState:t},c.collapsedIcon))}))})}function se(e){return N("MuiBreadcrumbs",e)}const oe=A("MuiBreadcrumbs",["root","ol","li","separator"]),te=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],ae=e=>{const{classes:s}=e;return _({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},se,s)},ne=M(K,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,s)=>[{[`& .${oe.li}`]:s.li},s.root]})({}),le=M("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,s)=>s.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),ce=M("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,s)=>s.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function ie(e,s,c,n){return e.reduce((t,u,l)=>(l<e.length-1?t=t.concat(u,r.jsx(ce,{"aria-hidden":!0,className:s,ownerState:n,children:c},`separator-${l}`)):t.push(u),t),[])}const ue=a.forwardRef(function(s,c){const n=U({props:s,name:"MuiBreadcrumbs"}),{children:t,className:u,component:l="nav",slots:m={},slotProps:x={},expandText:p="Show path",itemsAfterCollapse:f=1,itemsBeforeCollapse:g=1,maxItems:o=8,separator:i="/"}=n,T=R(n,te),[v,E]=a.useState(!1),h=b({},n,{component:l,expanded:v,expandText:p,itemsAfterCollapse:f,itemsBeforeCollapse:g,maxItems:o,separator:i}),B=ae(h),L=G({elementType:m.CollapsedIcon,externalSlotProps:x.collapsedIcon,ownerState:h}),S=a.useRef(null),$=d=>{const P=()=>{E(!0);const k=S.current.querySelector("a[href],button,[tabindex]");k&&k.focus()};return g+f>=d.length?d:[...d.slice(0,g),r.jsx(re,{"aria-label":p,slots:{CollapsedIcon:m.CollapsedIcon},slotProps:{collapsedIcon:L},onClick:P},"ellipsis"),...d.slice(d.length-f,d.length)]},I=a.Children.toArray(t).filter(d=>a.isValidElement(d)).map((d,P)=>r.jsx("li",{className:B.li,children:d},`child-${P}`));return r.jsx(ne,b({ref:c,component:l,color:"text.secondary",className:V(B.root,u),ownerState:h},T,{children:r.jsx(le,{className:B.ol,ref:S,ownerState:h,children:ie(v||o&&I.length<=o?I:$(I),B.separator,i,h)})}))}),C=a.createContext({breadcrumbType:"listItem"}),de=H.span`
2
- white-space: nowrap;
3
- overflow: hidden;
4
- max-width: 10rem;
5
- text-overflow: ellipsis;
6
- `,ke=({children:e,href:s,iconName:c,onClick:n})=>{const{breadcrumbType:t}=a.useContext(C),u=a.useCallback(m=>{n&&(m.preventDefault(),m.stopPropagation(),n(m))},[n]),l=r.jsxs(r.Fragment,{children:[c==="group"?r.jsx(O,{}):c==="user"?r.jsx(D,{}):null,r.jsx(de,{children:e})]});return s?t==="menuItem"?r.jsx(F,{component:"a",href:s,onClick:u,children:l}):t==="currentPage"?r.jsx(z,{ariaCurrent:"page",color:"textPrimary",children:l}):r.jsx(j,{href:s,onClick:u,children:l}):r.jsx(z,{color:"textPrimary",children:l})},y={currentPage:{breadcrumbType:"currentPage"},listItem:{breadcrumbType:"listItem"},menuItem:{breadcrumbType:"menuItem"}},me=5,pe=({children:e,homeHref:s,maxVisibleItems:c=me,testId:n,translate:t})=>{const{t:u}=W(),[l,m]=a.useState(null),x=a.useMemo(()=>Math.min(Math.max(c,0),e.length),[c,e]),p=a.useMemo(()=>{if(e.length<=x)return{beforeMenu:[],insideMenu:[],remainingBreadcrumbs:e};{const o=Math.floor(x/2),i=e.length-x;return{beforeMenu:e.slice(0,o),insideMenu:e.slice(o,o+i),remainingBreadcrumbs:e.slice(o+i)}}},[e,x]),f=a.useCallback(o=>m(o.currentTarget),[]),g=a.useCallback(()=>{m(null)},[]);return r.jsxs(ue,{"aria-label":u("breadcrumbs.label.text"),"data-se":n,maxItems:e.length+1,translate:t,children:[s&&r.jsx(j,{"aria-label":u("breadcrumbs.home.text"),href:s,children:r.jsx(J,{})}),p.beforeMenu.map((o,i)=>r.jsx(C.Provider,{value:y.listItem,children:o},i)),p.insideMenu.length>0&&r.jsxs(r.Fragment,{children:[r.jsx(j,{onClick:f,children:"..."}),r.jsx(Q,{anchorEl:l,anchorOrigin:{horizontal:"left",vertical:"bottom"},MenuListProps:{sx:{minWidth:180}},onClose:g,open:!!l,children:r.jsx(C.Provider,{value:y.menuItem,children:p.insideMenu})})]}),p.remainingBreadcrumbs.map((o,i)=>i===p.remainingBreadcrumbs.length-1?r.jsx(C.Provider,{value:y.currentPage,children:o},i):r.jsx(C.Provider,{value:y.listItem,children:o},i))]})},be=a.memo(pe);be.displayName="BreadcrumbList";export{ke as B,be as M,ue as a};
@@ -1 +0,0 @@
1
- import{r}from"./index-NdkWRN8K.js";import{j as o}from"./jsx-runtime-CnH95YSl.js";import{S as n}from"./OdysseyThemeProvider-uYQ_l8PJ.js";const a=r.forwardRef((e,l)=>o.jsx(n,{fill:"none",ref:l,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...e,children:o.jsx(o.Fragment,{children:o.jsx("path",{clipRule:"evenodd",d:"M11.333 10.667V5.333H8.667v8.6a3.334 3.334 0 0 0 2.666-3.266Zm-4-5.334H4.667v5.334a3.334 3.334 0 0 0 2.666 3.266v-8.6Zm-4 0v2.922L1.035 9.404l.596 1.192 1.702-.85v.92c0 .7.154 1.365.43 1.96l-1.568 1.57.943.942 1.373-1.373A4.655 4.655 0 0 0 8 15.333a4.655 4.655 0 0 0 3.49-1.568l1.372 1.373.943-.943-1.569-1.568a4.65 4.65 0 0 0 .43-1.96v-.922l1.702.851.597-1.192-2.298-1.15v-2.92h2.666V4h-4a3.333 3.333 0 1 0-6.666 0h-4v1.333h2.666Zm4-1.333H10a2 2 0 1 0-4 0h1.333Z",fill:"currentColor",fillRule:"evenodd"})})})),m=r.memo(a);m.displayName="BugIcon";export{m as M};
@@ -1,11 +0,0 @@
1
- import{r as o}from"./index-NdkWRN8K.js";import{M as r}from"./BaseButton-CPts8Xl1.js";import{j as m}from"./jsx-runtime-CnH95YSl.js";/*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
- * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
- *
5
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
- * Unless required by applicable law or agreed to in writing, software
7
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
- *
10
- * See the License for the specific language governing permissions and limitations under the License.
11
- */const s=t=>m.jsx(r,{...t}),e=o.memo(s);e.displayName="Button";export{e as M};
@@ -1 +0,0 @@
1
- import{af as M,c as F,_ as L,b as r,s as C,d as R,e as n,f as G,al as D,r as H,am as v,n as u}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as p}from"./index-NdkWRN8K.js";import{j as g}from"./jsx-runtime-CnH95YSl.js";import{B as U}from"./ButtonBase-Wolvis_2.js";const A=p.createContext({}),m=p.createContext(void 0),q=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],J=o=>{const{color:a,disableElevation:i,fullWidth:t,size:s,variant:l,classes:c}=o,x={root:["root",l,`${l}${n(a)}`,`size${n(s)}`,`${l}Size${n(s)}`,`color${n(a)}`,i&&"disableElevation",t&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${n(s)}`],endIcon:["icon","endIcon",`iconSize${n(s)}`]},b=G(x,D,c);return r({},c,b)},k=o=>r({},o.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},o.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},o.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),K=C(U,{shouldForwardProp:o=>H(o)||o==="classes",name:"MuiButton",slot:"Root",overridesResolver:(o,a)=>{const{ownerState:i}=o;return[a.root,a[i.variant],a[`${i.variant}${n(i.color)}`],a[`size${n(i.size)}`],a[`${i.variant}Size${n(i.size)}`],i.color==="inherit"&&a.colorInherit,i.disableElevation&&a.disableElevation,i.fullWidth&&a.fullWidth]}})(({theme:o,ownerState:a})=>{var i,t;const s=o.palette.mode==="light"?o.palette.grey[300]:o.palette.grey[800],l=o.palette.mode==="light"?o.palette.grey.A100:o.palette.grey[700];return r({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":r({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:u.alpha(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},a.variant==="text"&&a.color!=="inherit"&&{backgroundColor:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:u.alpha(o.palette[a.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},a.variant==="outlined"&&a.color!=="inherit"&&{border:`1px solid ${(o.vars||o).palette[a.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:u.alpha(o.palette[a.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},a.variant==="contained"&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},a.variant==="contained"&&a.color!=="inherit"&&{backgroundColor:(o.vars||o).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[a.color].main}}),"&:active":r({},a.variant==="contained"&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${v.focusVisible}`]:r({},a.variant==="contained"&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${v.disabled}`]:r({color:(o.vars||o).palette.action.disabled},a.variant==="outlined"&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},a.variant==="contained"&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},a.variant==="text"&&{padding:"6px 8px"},a.variant==="text"&&a.color!=="inherit"&&{color:(o.vars||o).palette[a.color].main},a.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},a.variant==="outlined"&&a.color!=="inherit"&&{color:(o.vars||o).palette[a.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[a.color].mainChannel} / 0.5)`:`1px solid ${u.alpha(o.palette[a.color].main,.5)}`},a.variant==="contained"&&{color:o.vars?o.vars.palette.text.primary:(i=(t=o.palette).getContrastText)==null?void 0:i.call(t,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:s,boxShadow:(o.vars||o).shadows[2]},a.variant==="contained"&&a.color!=="inherit"&&{color:(o.vars||o).palette[a.color].contrastText,backgroundColor:(o.vars||o).palette[a.color].main},a.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},a.size==="small"&&a.variant==="text"&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},a.size==="large"&&a.variant==="text"&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},a.size==="small"&&a.variant==="outlined"&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},a.size==="large"&&a.variant==="outlined"&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},a.size==="small"&&a.variant==="contained"&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},a.size==="large"&&a.variant==="contained"&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},a.fullWidth&&{width:"100%"})},({ownerState:o})=>o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}}),Q=C("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(o,a)=>{const{ownerState:i}=o;return[a.startIcon,a[`iconSize${n(i.size)}`]]}})(({ownerState:o})=>r({display:"inherit",marginRight:8,marginLeft:-4},o.size==="small"&&{marginLeft:-2},k(o))),X=C("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(o,a)=>{const{ownerState:i}=o;return[a.endIcon,a[`iconSize${n(i.size)}`]]}})(({ownerState:o})=>r({display:"inherit",marginRight:-4,marginLeft:8},o.size==="small"&&{marginRight:-2},k(o))),oo=p.forwardRef(function(a,i){const t=p.useContext(A),s=p.useContext(m),l=M(t,a),c=F({props:l,name:"MuiButton"}),{children:x,color:b="primary",component:f="button",className:h,disabled:z=!1,disableElevation:E=!1,disableFocusRipple:y=!1,endIcon:$,focusVisibleClassName:N,fullWidth:P=!1,size:W="medium",startIcon:B,type:I,variant:T="text"}=c,j=L(c,q),e=r({},c,{color:b,component:f,disabled:z,disableElevation:E,disableFocusRipple:y,fullWidth:P,size:W,type:I,variant:T}),d=J(e),O=B&&g.jsx(Q,{className:d.startIcon,ownerState:e,children:B}),V=$&&g.jsx(X,{className:d.endIcon,ownerState:e,children:$}),_=s||"";return g.jsxs(K,r({ownerState:e,className:R(t.className,d.root,h,_),component:f,disabled:z,focusRipple:!y,focusVisibleClassName:R(d.focusVisible,N),ref:i,type:I},j,{classes:d,children:[O,x,V]}))});export{oo as B};