@okta/odyssey-react-mui 1.55.0 → 1.56.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 (391) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  3. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  4. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  5. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  6. package/dist/index.cjs +231 -0
  7. package/dist/index.d.ts +233 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/{assets/createUniqueId-BHjR7HQF.js → index.js} +15 -1
  10. package/dist/index.mjs +229 -0
  11. package/dist/index.scss +549 -0
  12. package/dist/tsconfig.production.tsbuildinfo +1 -1
  13. package/dist/tsconfig.tsbuildinfo +1 -0
  14. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  15. package/package.json +7 -7
  16. package/dist/appswitcher/admin-app-default.svg +0 -6
  17. package/dist/appswitcher/admin-app-selected.svg +0 -6
  18. package/dist/appswitcher/aerial-default.svg +0 -7
  19. package/dist/appswitcher/aerial-selected.svg +0 -7
  20. package/dist/appswitcher/okta-dashboard-default.svg +0 -7
  21. package/dist/appswitcher/okta-dashboard-selected.svg +0 -7
  22. package/dist/appswitcher/privileged-access-default.svg +0 -4
  23. package/dist/appswitcher/privileged-access-selected.svg +0 -4
  24. package/dist/appswitcher/workflows-default.svg +0 -5
  25. package/dist/appswitcher/workflows-selected.svg +0 -5
  26. package/dist/assets/Accordion-D8MMTGBC.js +0 -1
  27. package/dist/assets/Accordion.stories-BPJnLVeE.js +0 -85
  28. package/dist/assets/AccordionSummary-BpjNF1hZ.js +0 -1
  29. package/dist/assets/AddCircle-DgNpvHvb.js +0 -1
  30. package/dist/assets/AlertTitle-41lhnhsR.js +0 -1
  31. package/dist/assets/AppSwitcher-BlMgsq7d.js +0 -21
  32. package/dist/assets/AppSwitcher.stories-DK6TzLjN.js +0 -100
  33. package/dist/assets/AppTile.stories-D9NfZuTR.js +0 -136
  34. package/dist/assets/ArrowDropDown-CMSB1a5F.js +0 -1
  35. package/dist/assets/ArrowLeft-DKc-rln7.js +0 -1
  36. package/dist/assets/ArrowRight-CQpox1s-.js +0 -1
  37. package/dist/assets/Autocomplete-CcFQPuHI.js +0 -1
  38. package/dist/assets/Autocomplete-DxRs9Djj.js +0 -1
  39. package/dist/assets/Autocomplete.stories-DU9xY7GK.js +0 -316
  40. package/dist/assets/Badge-C9-6xV6N.js +0 -11
  41. package/dist/assets/Banner-BtTBJERs.js +0 -1
  42. package/dist/assets/Banner.stories-BZuwmjR1.js +0 -96
  43. package/dist/assets/BaseButton-BzcWVv73.js +0 -11
  44. package/dist/assets/BaseMenuButton-B2CeKq3v.js +0 -1
  45. package/dist/assets/Box-B-6W36qW.js +0 -1
  46. package/dist/assets/Box-BvtEwOZC.js +0 -1
  47. package/dist/assets/Box-BzR7wZhO.js +0 -11
  48. package/dist/assets/Box-DduJOSF-.js +0 -1
  49. package/dist/assets/Box.stories-vV2di-KJ.js +0 -38
  50. package/dist/assets/Breadcrumb.stories-J2cc8t0d.js +0 -19
  51. package/dist/assets/BreadcrumbList.stories-B6XEafPI.js +0 -81
  52. package/dist/assets/Breadcrumbs-CM2RJrtX.js +0 -6
  53. package/dist/assets/Bug-DbpZDqwO.js +0 -1
  54. package/dist/assets/Button-AqSkJ6Nd.js +0 -1
  55. package/dist/assets/Button-BX9EXxBV.js +0 -11
  56. package/dist/assets/Button-CZuGHFIJ.js +0 -31
  57. package/dist/assets/Button-ZPlYqHUi.js +0 -11
  58. package/dist/assets/Button.stories-Bl7P9tek.js +0 -271
  59. package/dist/assets/Button.stories-vEg3PKz-.js +0 -133
  60. package/dist/assets/ButtonBase-CYIo9Kvv.js +0 -74
  61. package/dist/assets/Calendar-DV1h6Fc3.js +0 -1
  62. package/dist/assets/Call-2_fpBWhr.js +0 -1
  63. package/dist/assets/Callout-BgusP-7-.js +0 -1
  64. package/dist/assets/Callout.stories-CtAYWft1.js +0 -322
  65. package/dist/assets/Card-BosIFVQP.js +0 -8
  66. package/dist/assets/Card-DSV0thOs.js +0 -1
  67. package/dist/assets/Card.stories-ZHXa0-vk.js +0 -56
  68. package/dist/assets/CardActionArea-j218OlRR.js +0 -1
  69. package/dist/assets/CardActions-DEkVEZOo.js +0 -1
  70. package/dist/assets/Checkbox-CtLz3m2I.js +0 -1
  71. package/dist/assets/Checkbox-RASNl40G.js +0 -1
  72. package/dist/assets/Checkbox-_fXckuhm.js +0 -1
  73. package/dist/assets/Checkbox.stories-Bvx8GqiS.js +0 -113
  74. package/dist/assets/Checkbox.stories-qCSW0Q2j.js +0 -43
  75. package/dist/assets/CheckboxGroup-zMSuzeZ6.js +0 -1
  76. package/dist/assets/CheckboxGroup.stories-BHKIdZ7U.js +0 -89
  77. package/dist/assets/CheckboxGroup.stories-BSflT92t.js +0 -64
  78. package/dist/assets/ChevronRight--b1mmNks.js +0 -1
  79. package/dist/assets/ChevronUp-DL24OTkX.js +0 -1
  80. package/dist/assets/Chip-bDORJbkM.js +0 -1
  81. package/dist/assets/CircularProgress-BgZHFbQE.js +0 -28
  82. package/dist/assets/CircularProgress-BoAO9U8M.js +0 -1
  83. package/dist/assets/CircularProgress.stories-CbcXfcmH.js +0 -44
  84. package/dist/assets/Clock-BQK6LLyZ.js +0 -1
  85. package/dist/assets/Close-cbwEd5Sp.js +0 -1
  86. package/dist/assets/Code Styling Guidelines-CRc7Acxy.js +0 -13
  87. package/dist/assets/Collapse-1HAz0LZV.js +0 -1
  88. package/dist/assets/Color-ASIRERSW-CzhPgsf8.js +0 -1
  89. package/dist/assets/CssBaseline-CPKflVp5.js +0 -191
  90. package/dist/assets/CssBaseline.stories-BVbDhIF6.js +0 -364
  91. package/dist/assets/Custom Theming-Dcj0M7qI.js +0 -135
  92. package/dist/assets/Custom Theming.stories-UirQjvOB.js +0 -95
  93. package/dist/assets/DataFilters-Cf-ESeWE.js +0 -55
  94. package/dist/assets/DataFilters-D5ALxX9D.js +0 -1
  95. package/dist/assets/DataFilters.stories-BEQSD0AZ.js +0 -31
  96. package/dist/assets/DataTable-BRz_SDL5.js +0 -41
  97. package/dist/assets/DataTable-DrMdrIcq.js +0 -495
  98. package/dist/assets/DataTable-Duk3yrgE.js +0 -21
  99. package/dist/assets/DataTable.stories-BzrVvUtr.js +0 -21
  100. package/dist/assets/DataTable.stories-CwDiJD8l.js +0 -438
  101. package/dist/assets/DataView-B0q4EyNh.js +0 -332
  102. package/dist/assets/DataView-CjTfaBGG.js +0 -91
  103. package/dist/assets/DataView.stories-B33BDgre.js +0 -439
  104. package/dist/assets/DataView.stories-Dj1si9l-.js +0 -646
  105. package/dist/assets/DatePicker-B5X7dx9Q.js +0 -11
  106. package/dist/assets/DatePicker-BOqWHXdY.js +0 -1
  107. package/dist/assets/DatePicker.stories-Dipl4bQY.js +0 -133
  108. package/dist/assets/DateTimePicker-CIersydJ.js +0 -1
  109. package/dist/assets/DateTimePicker.stories-DjzZocUv.js +0 -158
  110. package/dist/assets/DebugMenu-By3Vj_Nv.js +0 -1
  111. package/dist/assets/Design Tokens-C3WLUx-Q.js +0 -4
  112. package/dist/assets/Dialog-o5O78_b5.js +0 -1
  113. package/dist/assets/Dialog.stories-Dp36WpKI.js +0 -352
  114. package/dist/assets/Dialog.stories-MZqfLw6Z.js +0 -207
  115. package/dist/assets/DialogContent-BOYeFFEd.js +0 -1
  116. package/dist/assets/DialogContentText-D0M3e4sQ.js +0 -1
  117. package/dist/assets/DialogTitle-CIzT7Vz-.js +0 -1
  118. package/dist/assets/Divider-6S-pAD7Z.js +0 -1
  119. package/dist/assets/Divider.stories-CDGskHHm.js +0 -5
  120. package/dist/assets/DocsRenderer-GHJI37HO-BX00v8ne.js +0 -2
  121. package/dist/assets/Documentation-C2_DeFFh.js +0 -1
  122. package/dist/assets/Download-YawXz5G6.js +0 -1
  123. package/dist/assets/Drawer-DG7c2iM4.js +0 -33
  124. package/dist/assets/Drawer.stories-C9ckJovc.js +0 -95
  125. package/dist/assets/EmptyState-Cw97nR9g.js +0 -11
  126. package/dist/assets/EmptyState.stories-DXpOC1wF.js +0 -127
  127. package/dist/assets/EmptyState.stories-DhZwVE6F.js +0 -11
  128. package/dist/assets/ExampleButton.stories-BfAyzgTg.js +0 -11
  129. package/dist/assets/Extending Translations-DyrOgVYP.js +0 -147
  130. package/dist/assets/ExternalLink-DTGSbkQ2.js +0 -1
  131. package/dist/assets/Fade-5EaFioT-.js +0 -1
  132. package/dist/assets/Field-4cI0KUzC.js +0 -11
  133. package/dist/assets/Field-g_717qKv.js +0 -11
  134. package/dist/assets/FieldHint-Bv45kUgg.js +0 -1
  135. package/dist/assets/Fieldset-Bu9pgqLo.js +0 -11
  136. package/dist/assets/Fieldset.stories-DywDyipj.js +0 -15
  137. package/dist/assets/FileUploader.stories-BGXUMzQV.js +0 -58
  138. package/dist/assets/Filter-ColuOFTn.js +0 -1
  139. package/dist/assets/Folder-DtBjBkxy.js +0 -1
  140. package/dist/assets/Form Field Accessibility-4Q_qv-b6.js +0 -17
  141. package/dist/assets/Form-BxpHmQzB.js +0 -11
  142. package/dist/assets/Form.stories-BIv3u1UC.js +0 -69
  143. package/dist/assets/FormControlLabel-CB3xJ6ut.js +0 -1
  144. package/dist/assets/FormGroup-BhjYepGC.js +0 -1
  145. package/dist/assets/FormHelperText--Cp1ogV3.js +0 -1
  146. package/dist/assets/FormLabel-DB_AmiE2.js +0 -1
  147. package/dist/assets/FullScreenOverlay-BtuzG-CQ.js +0 -11
  148. package/dist/assets/Generating Icons-Dr_ZkyrY.js +0 -15
  149. package/dist/assets/Globe-DhuLu1HO.js +0 -1
  150. package/dist/assets/Grid-DT7vGlwm.js +0 -1
  151. package/dist/assets/Group-9XOIBtaE.js +0 -1
  152. package/dist/assets/GroupPicker.stories-Bke7SA6x.js +0 -33
  153. package/dist/assets/Grow-DG6yJWeA.js +0 -1
  154. package/dist/assets/Hide-4CfPQa-Q.js +0 -1
  155. package/dist/assets/Hint-BaHNFCSW.js +0 -11
  156. package/dist/assets/HintLink.stories-BZvK3msS.js +0 -44
  157. package/dist/assets/Home-BD0pfCzQ.js +0 -1
  158. package/dist/assets/Icon.stories-BSXh7e2h.js +0 -16
  159. package/dist/assets/IconButton-BJHIZjwd.js +0 -1
  160. package/dist/assets/IconWithTooltip.stories-D8GpX4_O.js +0 -19
  161. package/dist/assets/IgaComponentsOdysseyStorybookThemeDecorator-CVt9siFq.js +0 -269
  162. package/dist/assets/InformationCircle-C_nheCFB.js +0 -1
  163. package/dist/assets/InputAdornment-CeCSVIa-.js +0 -1
  164. package/dist/assets/InputBase-Bm1MB3pl.js +0 -2
  165. package/dist/assets/Installing odyssey-react-mui-ezN4Xob1.js +0 -216
  166. package/dist/assets/Introduction-Vd2VsZIT.js +0 -46
  167. package/dist/assets/Layout-Bj5b-E-p.js +0 -11
  168. package/dist/assets/Layout.stories-C7EVraBE.js +0 -285
  169. package/dist/assets/Legacy Migrations-D0Ct1uEl.js +0 -85
  170. package/dist/assets/LinearProgress-BcCo3aqG.js +0 -54
  171. package/dist/assets/Link-4r_7nyI-.js +0 -1
  172. package/dist/assets/Link-BXZlWRMJ.js +0 -1
  173. package/dist/assets/Link-C_gwYBxh.js +0 -1
  174. package/dist/assets/Link-CqFkrdZX.js +0 -11
  175. package/dist/assets/Link.stories-VkTe4JmO.js +0 -38
  176. package/dist/assets/List-BcXvgzsa.js +0 -1
  177. package/dist/assets/List-CEPzEOaM.js +0 -1
  178. package/dist/assets/ListItem-B5ux02dQ.js +0 -1
  179. package/dist/assets/ListSubheader-CB8GDLQK.js +0 -1
  180. package/dist/assets/ListSubheader.stories-BrcTqTtL.js +0 -5
  181. package/dist/assets/Menu-BCZiiIwc.js +0 -1
  182. package/dist/assets/MenuButton-ChyskluM.js +0 -11
  183. package/dist/assets/MenuButton-CsX9_3Ov.js +0 -31
  184. package/dist/assets/MenuButton.stories-BQzhE18z.js +0 -246
  185. package/dist/assets/MenuButton.stories-ioM9q6o0.js +0 -75
  186. package/dist/assets/MenuContext-BkYpsFtp.js +0 -11
  187. package/dist/assets/MenuItem-C_SjZMbY.js +0 -1
  188. package/dist/assets/MenuItem-CbPgBBBa.js +0 -1
  189. package/dist/assets/MenuItem-Cu1R78Nk.js +0 -1
  190. package/dist/assets/MenuItem.stories-C0Lk9sD8.js +0 -22
  191. package/dist/assets/MenuItem.stories-DneQgCON.js +0 -38
  192. package/dist/assets/MenuList-BTp-5mcb.js +0 -1
  193. package/dist/assets/Modal-DHgQg0pV.js +0 -1
  194. package/dist/assets/More-D0XSbzen.js +0 -1
  195. package/dist/assets/MuiPropsContext-DICjNBkr.js +0 -11
  196. package/dist/assets/MuiPropsContext-ppLtceHL.js +0 -11
  197. package/dist/assets/NativeSelect.stories-D0uGEhNl.js +0 -114
  198. package/dist/assets/Notification-Dv2xKTFA.js +0 -1
  199. package/dist/assets/OdysseyProvider-Czbz3dwH.js +0 -197
  200. package/dist/assets/OdysseyProvider-n2ocdJ7D.js +0 -76
  201. package/dist/assets/OdysseyStorybookThemeDecorator-Bokwb0ot.js +0 -1
  202. package/dist/assets/OdysseyThemeProvider-DOMFnSU0.js +0 -167
  203. package/dist/assets/PageHeader-W8g920aE.js +0 -6
  204. package/dist/assets/PageHeader.stories-DawNc8la.js +0 -364
  205. package/dist/assets/PageHeader.stories-DbD6NKau.js +0 -17
  206. package/dist/assets/PageHeader.stories-Feg52Fpw.js +0 -364
  207. package/dist/assets/PageTemplate-Ca4rHowX.js +0 -8
  208. package/dist/assets/PageTemplate-Dwh4Xczm.js +0 -21
  209. package/dist/assets/PageTemplate.stories-4X4rSj0y.js +0 -205
  210. package/dist/assets/PageTemplate.stories-DGwPd5VL.js +0 -205
  211. package/dist/assets/PageTemplate.stories-DgqdwkTB.js +0 -306
  212. package/dist/assets/PaginatedTable.stories-SgfUVlw_.js +0 -65
  213. package/dist/assets/Paper-DIvrMKVz.js +0 -1
  214. package/dist/assets/PasswordField.stories-PoPO1_-6.js +0 -121
  215. package/dist/assets/PasswordlessComponentsOdysseyStorybookThemeDecorator-DfT96M4p.js +0 -13
  216. package/dist/assets/Picker.stories-DDz4NbBK.js +0 -44
  217. package/dist/assets/PickerWithOptionAdornment.stories-B7mFcKou.js +0 -93
  218. package/dist/assets/PlaceholderLogo-KL8h77Of.js +0 -11
  219. package/dist/assets/Popper-B9cGJ5Ql.js +0 -1
  220. package/dist/assets/Portal-CznYNzyC.js +0 -1
  221. package/dist/assets/ProgressBar.stories-Zs6E95x7.js +0 -20
  222. package/dist/assets/Radio-B6p2YsBk.js +0 -1
  223. package/dist/assets/Radio-BI2zWqqk.js +0 -1
  224. package/dist/assets/Radio-DRPDZwez.js +0 -1
  225. package/dist/assets/Radio.stories-CjKWmmfC.js +0 -63
  226. package/dist/assets/Radio.stories-DR-V8UW2.js +0 -38
  227. package/dist/assets/RadioGroup-BxX8JmFv.js +0 -1
  228. package/dist/assets/RadioGroup-DDMlZ9Ib.js +0 -1
  229. package/dist/assets/RadioGroup-DpcTcdEf.js +0 -10
  230. package/dist/assets/RadioGroup.stories-B-gDjvcs.js +0 -88
  231. package/dist/assets/RadioGroup.stories-CWqmr1JP.js +0 -138
  232. package/dist/assets/Refresh-4GRZURAB.js +0 -1
  233. package/dist/assets/ResourceAccessPolicyComponentsStorybookThemeDecorator-Bp-cqzBg.js +0 -212
  234. package/dist/assets/Right-to-Left (RTL)-BOiEzeMb.js +0 -61
  235. package/dist/assets/ScopedCssBaseline-CbMqVD26.js +0 -1
  236. package/dist/assets/ScreenReaderText-B0JAp-xP.js +0 -1
  237. package/dist/assets/ScreenReaderText-CEUjhx3k.js +0 -15
  238. package/dist/assets/ScreenReaderText.stories-BozDnS6f.js +0 -8
  239. package/dist/assets/Search-C3XUnqCP.js +0 -1
  240. package/dist/assets/SearchDropdown.stories-DhfVkXGL.js +0 -53
  241. package/dist/assets/SearchField-CyY1AHVm.js +0 -1
  242. package/dist/assets/SearchField.stories-BdFBCS4f.js +0 -37
  243. package/dist/assets/SecureSettingsIndicator.stories-DsTRCtQb.js +0 -19
  244. package/dist/assets/Select-DHIWx9ln.js +0 -1
  245. package/dist/assets/Select-FP2lhUA8.js +0 -15
  246. package/dist/assets/Select.stories-jKzGOaKi.js +0 -233
  247. package/dist/assets/Server-CirxxKai.js +0 -1
  248. package/dist/assets/Settings-DoysZs_u.js +0 -1
  249. package/dist/assets/Setup-SFMR9PGx.js +0 -6
  250. package/dist/assets/Shadow DOM-CNgotzSG.js +0 -63
  251. package/dist/assets/Show-8RSN9YQN.js +0 -1
  252. package/dist/assets/SideNav-DhFZrYzU.js +0 -131
  253. package/dist/assets/SideNav-JzVY3dUV.js +0 -85
  254. package/dist/assets/SideNav.stories-BD_yZ_n7.js +0 -207
  255. package/dist/assets/Skeleton-CxK3bCNC.js +0 -51
  256. package/dist/assets/Snackbar-BecQgiI0.js +0 -1
  257. package/dist/assets/Stack-B9cZmjdi.js +0 -1
  258. package/dist/assets/Stack-Bgh4xems.js +0 -1
  259. package/dist/assets/Stack.stories-C5_9i8Bj.js +0 -1
  260. package/dist/assets/StaticTable.stories-GkTKmzDs.js +0 -34
  261. package/dist/assets/Status-BDUUaZsQ.js +0 -1
  262. package/dist/assets/Status.stories-C_QZmEqw.js +0 -66
  263. package/dist/assets/Stepper.stories-x-eW3EPk.js +0 -486
  264. package/dist/assets/Surface-DIfiwHrw.js +0 -1
  265. package/dist/assets/Switch.stories-DtS0A4PX.js +0 -72
  266. package/dist/assets/SwitchBase-fGL3z_gG.js +0 -1
  267. package/dist/assets/Sync-DbBKVuQB.js +0 -1
  268. package/dist/assets/Tabs-By4ALAid.js +0 -1
  269. package/dist/assets/Tabs-C_TNnT1n.js +0 -23
  270. package/dist/assets/Tabs.stories-Dpxwprx8.js +0 -100
  271. package/dist/assets/Tag-Cam_AAJc.js +0 -11
  272. package/dist/assets/Tag.stories-DHsdO_Ew.js +0 -96
  273. package/dist/assets/TagList-BgRJrZj8.js +0 -1
  274. package/dist/assets/TextField-eTiyghxK.js +0 -1
  275. package/dist/assets/TextField.stories-asnjmcPk.js +0 -177
  276. package/dist/assets/Toast.stories-Cwx6XwLn.js +0 -164
  277. package/dist/assets/ToastManager.stories-UZvhSatu.js +0 -195
  278. package/dist/assets/Tooltip-BMTVRAEn.js +0 -11
  279. package/dist/assets/Tooltip-DVPGLNQs.js +0 -1
  280. package/dist/assets/Tooltip.stories-272_RBTH.js +0 -68
  281. package/dist/assets/TopNav-DXz-GdZX.js +0 -11
  282. package/dist/assets/TopNav.stories-BbNTTN-h.js +0 -13
  283. package/dist/assets/TransitionGroupContext-CTI9LvjA.js +0 -1
  284. package/dist/assets/Typography-B8ZKtxRi.js +0 -1
  285. package/dist/assets/Typography-BcNOcPdV.js +0 -1
  286. package/dist/assets/Typography-D4Laguzq.js +0 -1
  287. package/dist/assets/Typography-DlDlPYOB.js +0 -1
  288. package/dist/assets/Typography-DnTFPtdP.js +0 -9
  289. package/dist/assets/Typography.stories-BLBo_W9U.js +0 -139
  290. package/dist/assets/Typography.stories-BknEcNqq.js +0 -73
  291. package/dist/assets/Typography.stories-Cl9dtqr_.js +0 -73
  292. package/dist/assets/UDComponentsStorybookThemeDecorator-BXzQsObU.js +0 -239
  293. package/dist/assets/UiShell.stories-eL8NYtFG.js +0 -569
  294. package/dist/assets/UiShellProvider-Cd_5esNt.js +0 -31
  295. package/dist/assets/Upload-Cy-cphyA.js +0 -1
  296. package/dist/assets/User-DRi5hhiP.js +0 -1
  297. package/dist/assets/UserProfile-CwV_oL5l.js +0 -11
  298. package/dist/assets/UserProfile.stories-DgRCwF_j.js +0 -14
  299. package/dist/assets/UserProfileMenuButton.stories-B5zb3hp4.js +0 -30
  300. package/dist/assets/Video-DAMdjIe3.js +0 -1
  301. package/dist/assets/WarningFilled-DJX60tUO.js +0 -1
  302. package/dist/assets/WithTooltip-IO6J4KBT-Ccs9TgLm.js +0 -9
  303. package/dist/assets/WorkflowsComponentsStorybookThemeDecorator-BQlPPRvP.js +0 -1
  304. package/dist/assets/WpComponentsStorybookThemeDecorator-CJ_rgsix.js +0 -1
  305. package/dist/assets/ariaDisabledStyles-BnD13Dho.js +0 -11
  306. package/dist/assets/axe-B0QS9Vy6.js +0 -30
  307. package/dist/assets/axeRun-C-zlWaxU.js +0 -11
  308. package/dist/assets/blocks-BI5YpTSd.js +0 -162
  309. package/dist/assets/colorManipulator-BprDRxgx.js +0 -1
  310. package/dist/assets/constants-CGUp4oSR.js +0 -11
  311. package/dist/assets/createChainedFunction-BO_9K8Jh.js +0 -1
  312. package/dist/assets/createStyled-CNzidwe1.js +0 -1
  313. package/dist/assets/createSvgIcon-CoE7vjSC.js +0 -1
  314. package/dist/assets/debounce-Be36O1Ab.js +0 -1
  315. package/dist/assets/dialogActionsClasses-DejbXXRS.js +0 -1
  316. package/dist/assets/fieldComponentPropsMetaData-C9gCwuus.js +0 -11
  317. package/dist/assets/formatter-QJ4M4OGQ-D0ewJSfL.js +0 -1
  318. package/dist/assets/getScrollbarSize-Bqq2hMjQ.js +0 -1
  319. package/dist/assets/i18next-7SyOfhCu.js +0 -1
  320. package/dist/assets/iconUtils-CeRi1WMA.js +0 -11
  321. package/dist/assets/iframe-Cav9rlxr.js +0 -1672
  322. package/dist/assets/index-BQ9nbbSk.js +0 -1
  323. package/dist/assets/index-C5VVYn_U.js +0 -1
  324. package/dist/assets/index-CLFx8Kta.js +0 -39
  325. package/dist/assets/index-Dui69PFe.js +0 -1
  326. package/dist/assets/index.es-0rJMfM0E.js +0 -8
  327. package/dist/assets/index.esm-C_XHPSqo.js +0 -85
  328. package/dist/assets/index.esm-CsYcjPN9.js +0 -1
  329. package/dist/assets/index.modern-DBSGWaP4.js +0 -14
  330. package/dist/assets/inputUtils-BOLvDTmI.js +0 -11
  331. package/dist/assets/isHostComponent-DVu5iVWx.js +0 -1
  332. package/dist/assets/matchers-DMFSMG2O-CAdg16Fl.js +0 -14
  333. package/dist/assets/ownerDocument-DW-IO8s5.js +0 -1
  334. package/dist/assets/ownerWindow-HkKU3E4x.js +0 -1
  335. package/dist/assets/personData-BPEVF-Qf.js +0 -21
  336. package/dist/assets/personData-BoHZtVJF.js +0 -1
  337. package/dist/assets/pickerComponentPropsMetaData-DZI7kYjo.js +0 -75
  338. package/dist/assets/preload-helper-Dp1pzeXC.js +0 -1
  339. package/dist/assets/pxToRem-BrMhKUxS.js +0 -11
  340. package/dist/assets/react-18-DjPF3SW_.js +0 -1
  341. package/dist/assets/renderUiShell.stories-wVSloQJP.js +0 -902
  342. package/dist/assets/resolveComponentProps-m1IywaLB.js +0 -1
  343. package/dist/assets/syntaxhighlighter-IQDEPFLK-Pv8RB4wM.js +0 -6
  344. package/dist/assets/tableRowClasses-DYosAqvx.js +0 -9
  345. package/dist/assets/tableSortLabelClasses-BkDwo_43.js +0 -1
  346. package/dist/assets/uiShellSharedConstants-CvCey4L_.js +0 -11
  347. package/dist/assets/useAutocomplete-f6aTM-6O.js +0 -11
  348. package/dist/assets/useControlled-4m9Fbl4Y.js +0 -1
  349. package/dist/assets/useIsFocusVisible-Cu721A7w.js +0 -1
  350. package/dist/assets/useMobilePicker-0Zj6ZxWR.js +0 -6
  351. package/dist/assets/useMountLifecycleEffect-C7Ycb3_3.js +0 -11
  352. package/dist/assets/useOdysseyDateFields-BbpeJekS.js +0 -61
  353. package/dist/assets/useScrollIndication-4J4XfL4q.js +0 -41
  354. package/dist/assets/useSlot-CvipdriX.js +0 -1
  355. package/dist/assets/useStoryArgOrLocalState-CRQAGSTX.js +0 -11
  356. package/dist/assets/useThemeProps-C9dAJTwo.js +0 -1
  357. package/dist/assets/useThemeProps-CITViJJe.js +0 -1
  358. package/dist/assets/useTranslation-DjB2Li3Q.js +0 -1
  359. package/dist/assets/useUniqueId-CXfTvpAs.js +0 -11
  360. package/dist/assets/useUniqueId-MZzCNWze.js +0 -11
  361. package/dist/assets/utilities.esm-CFtdCfoJ.js +0 -5
  362. package/dist/assets/utils-fJIW_l91.js +0 -1
  363. package/dist/assets/visuallyHidden-Dan1xhjv.js +0 -1
  364. package/dist/favicon-wrapper.svg +0 -46
  365. package/dist/favicon.svg +0 -1
  366. package/dist/iframe.html +0 -768
  367. package/dist/index.html +0 -173
  368. package/dist/index.json +0 -1
  369. package/dist/nunito-sans-bold-italic.woff2 +0 -0
  370. package/dist/nunito-sans-bold.woff2 +0 -0
  371. package/dist/nunito-sans-italic.woff2 +0 -0
  372. package/dist/nunito-sans-regular.woff2 +0 -0
  373. package/dist/project.json +0 -1
  374. package/dist/sb-addons/a11y-3/manager-bundle.js +0 -5
  375. package/dist/sb-addons/docs-1/manager-bundle.js +0 -3
  376. package/dist/sb-addons/links-2/manager-bundle.js +0 -3
  377. package/dist/sb-addons/rtl-4/manager-bundle.js +0 -3
  378. package/dist/sb-addons/storybook-6/manager-bundle.js +0 -786
  379. package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -628
  380. package/dist/sb-addons/tag-badges-5/manager-bundle.js +0 -35
  381. package/dist/sb-common-assets/favicon-wrapper.svg +0 -46
  382. package/dist/sb-common-assets/favicon.svg +0 -1
  383. package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  384. package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  385. package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  386. package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  387. package/dist/sb-manager/globals-runtime.js +0 -75605
  388. package/dist/sb-manager/globals.js +0 -24
  389. package/dist/sb-manager/manager-stores.js +0 -23
  390. package/dist/sb-manager/runtime.js +0 -19717
  391. package/dist/vite-inject-mocker-entry.js +0 -18
@@ -1,271 +0,0 @@
1
- import{j as e}from"./iframe-Cav9rlxr.js";import{a as ja}from"./axeRun-C-zlWaxU.js";import{i as s}from"./iconUtils-CeRi1WMA.js";import{O as Va}from"./OdysseyStorybookThemeDecorator-Bokwb0ot.js";import{b as T,a as k,c as A}from"./BaseButton-BzcWVv73.js";import{M as r}from"./Button-BX9EXxBV.js";import{M as I}from"./index-Dui69PFe.js";import{M as La}from"./Box-B-6W36qW.js";import"./preload-helper-Dp1pzeXC.js";import"./axe-B0QS9Vy6.js";import"./OdysseyThemeProvider-DOMFnSU0.js";import"./index.es-0rJMfM0E.js";import"./tableRowClasses-DYosAqvx.js";import"./WarningFilled-DJX60tUO.js";import"./index-CLFx8Kta.js";import"./OdysseyProvider-n2ocdJ7D.js";import"./ScopedCssBaseline-CbMqVD26.js";import"./MuiPropsContext-ppLtceHL.js";import"./Tooltip-BMTVRAEn.js";import"./Tooltip-DVPGLNQs.js";import"./Grow-DG6yJWeA.js";import"./utils-fJIW_l91.js";import"./TransitionGroupContext-CTI9LvjA.js";import"./index-C5VVYn_U.js";import"./useIsFocusVisible-Cu721A7w.js";import"./Portal-CznYNzyC.js";import"./resolveComponentProps-m1IywaLB.js";import"./isHostComponent-DVu5iVWx.js";import"./useControlled-4m9Fbl4Y.js";import"./Popper-B9cGJ5Ql.js";import"./ownerDocument-DW-IO8s5.js";import"./Button-AqSkJ6Nd.js";import"./ButtonBase-CYIo9Kvv.js";import"./AddCircle-DgNpvHvb.js";import"./Server-CirxxKai.js";import"./List-CEPzEOaM.js";import"./ArrowLeft-DKc-rln7.js";import"./ArrowRight-CQpox1s-.js";import"./Bug-DbpZDqwO.js";import"./Calendar-DV1h6Fc3.js";import"./Call-2_fpBWhr.js";import"./ChevronRight--b1mmNks.js";import"./ChevronUp-DL24OTkX.js";import"./Clock-BQK6LLyZ.js";import"./Upload-Cy-cphyA.js";import"./Documentation-C2_DeFFh.js";import"./Download-YawXz5G6.js";import"./ExternalLink-DTGSbkQ2.js";import"./Filter-ColuOFTn.js";import"./Folder-DtBjBkxy.js";import"./Globe-DhuLu1HO.js";import"./Grid-DT7vGlwm.js";import"./Group-9XOIBtaE.js";import"./Hide-4CfPQa-Q.js";import"./Home-BD0pfCzQ.js";import"./InformationCircle-C_nheCFB.js";import"./Link-C_gwYBxh.js";import"./More-D0XSbzen.js";import"./Notification-Dv2xKTFA.js";import"./Refresh-4GRZURAB.js";import"./Search-C3XUnqCP.js";import"./Settings-DoysZs_u.js";import"./Show-8RSN9YQN.js";import"./Sync-DbBKVuQB.js";import"./User-DRi5hhiP.js";import"./Video-DAMdjIe3.js";import"./Box-DduJOSF-.js";const{expect:Ma,fn:za,userEvent:F,waitFor:Oa,within:Pa}=__STORYBOOK_MODULE_TEST__,an={component:r,decorators:[Va],tags:["autodocs"],argTypes:{endIcon:{control:{type:"select"},options:Object.keys(s),mapping:s,description:"An optional icon to display at the end of the button",table:{category:"Visual",type:{summary:"<Icon />"}}},href:{control:"text",description:"Optional href to render the button as a link",table:{category:"Functional",type:{summary:"string"}}},id:{control:"text",description:"An optional ID for the button",table:{category:"Functional",type:{summary:"string"}}},isDisabled:{control:"boolean",description:"If `true`, the button is disabled",table:{category:"Visual",type:{summary:"boolean"}}},isFullWidth:{control:"boolean",description:"If `true`, the button will take up the full width available",table:{category:"Visual",type:{summary:"boolean"}}},label:{control:"text",description:"The button text. If blank, the button must include an icon.",table:{category:"Visual",type:{summary:"string"}}},onClick:{action:!0,description:"Callback fired when the button is clicked",table:{category:"Functional",type:{summary:"(() => void)"}}},size:{options:A,control:{type:"radio"},description:"The size of the button",table:{category:"Visual",type:{summary:A.join(" | ")},defaultValue:{summary:"medium"}}},startIcon:{control:{type:"select"},options:Object.keys(s),mapping:s,description:"An optional icon to display at the start of the button",table:{category:"Visual",type:{summary:"<Icon />"}}},tooltipText:{control:"text",description:"If defined, the button will include a tooltip that contains the string.",table:{category:"Visual",type:{summary:"string"}}},type:{options:k,control:{type:"radio"},description:"The type of the HTML button element.",table:{category:"Functional",type:{summary:k.join(" | ")},defaultValue:{summary:"button"}}},variant:{options:T,control:{type:"radio"},description:"The color and style of the button",table:{category:"Visual",type:{summary:T.join(" | ")},defaultValue:{summary:"secondary"}},type:{required:!0,name:"other",value:"radio"}}},args:{label:"Button label",onClick:za(),variant:"primary"}},o=({canvasElement:t,step:n})=>async({args:a,actionName:Ea,hoverState:Na})=>{a.label&&await n("hover and click",async()=>{const Wa=Pa(t).getByRole("button",{name:a.label});await F.tab(),await F.click(Wa),Ma(a.onClick).toHaveBeenCalledTimes(1),await ja(Ea),Na||await Oa(()=>F.tab())})},i={name:"Primary",play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Primary",hoverState:!1})}},l={name:"Primary, Disabled",args:{isDisabled:!0,label:"Button label",variant:"primary"}},c={name:"Secondary",args:{label:"Button label",variant:"secondary"},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Secondary",hoverState:!1})}},m={name:"Secondary, Disabled",args:{isDisabled:!0,label:"Button label",variant:"secondary"}},p={name:"Danger",args:{label:"Button label",variant:"danger"},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Danger",hoverState:!1})}},u={name:"Danger Secondary",args:{label:"Button label",variant:"dangerSecondary"}},d={name:"Danger, Disabled",args:{label:"Button label",isDisabled:!0,variant:"danger"}},y={name:"Floating",args:{label:"Button label",variant:"floating"},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Floating",hoverState:!1})}},b={name:"Floating Action",args:{label:"Button label",variant:"floatingAction"},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Floating Action",hoverState:!1})}},g={name:"Floating, Disabled",args:{label:"Button label",isDisabled:!0,variant:"floating"}},B={name:"Button as a link",args:{label:"Visit okta.com",variant:"floatingAction",href:"https://okta.com",onClick:void 0}},v={name:"Small",args:{label:"Button label",size:"small"},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Small",hoverState:!0})}},h={name:"Medium",args:{label:"Button label",size:"medium",variant:"secondary"},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Medium",hoverState:!0})}},S={name:"Large",args:{label:"Button label",size:"large",variant:"danger"},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Large",hoverState:!0})}},f={name:"Full-width",args:{label:"Button label",isFullWidth:!0},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button Fullwidth",hoverState:!0})}},D={name:"Icon",args:{label:"Button label",startIcon:e.jsx(I,{})},play:async({args:t,canvasElement:n,step:a})=>{await o({canvasElement:n,step:a})({args:t,actionName:"Button with Icon",hoverState:!1})}},w={name:"Icon-only",parameters:{docs:{description:{story:"Icon-only buttons should be paired with a Tooltip to provide additional context. A tooltip can be added by setting the `tooltipText` prop on the button to a string."}}},args:{startIcon:e.jsx(I,{}),ariaLabel:"Button label",label:void 0,tooltipText:"Button label"}},x={name:"Kitchen sink",render:()=>e.jsxs(La,{sx:{display:"flex",flexWrap:"wrap",rowGap:2},children:[e.jsx(r,{label:"Primary",variant:"primary"}),e.jsx(r,{label:"Secondary",variant:"secondary"}),e.jsx(r,{label:"Danger Secondary",variant:"dangerSecondary"}),e.jsx(r,{label:"Danger",variant:"danger"}),e.jsx(r,{label:"Floating",variant:"floating"}),e.jsx(r,{label:"Floating Action",variant:"floatingAction"}),e.jsx(r,{ariaLabel:"Add",startIcon:e.jsx(I,{}),variant:"primary"})]})};var E,N,W;i.parameters={...i.parameters,docs:{...(E=i.parameters)==null?void 0:E.docs,source:{originalSource:`{
2
- name: "Primary",
3
- play: async ({
4
- args,
5
- canvasElement,
6
- step
7
- }: playType) => {
8
- await interactWithButton({
9
- canvasElement,
10
- step
11
- })({
12
- args,
13
- actionName: "Button Primary",
14
- hoverState: false
15
- });
16
- }
17
- }`,...(W=(N=i.parameters)==null?void 0:N.docs)==null?void 0:W.source}}};var j,V,L;l.parameters={...l.parameters,docs:{...(j=l.parameters)==null?void 0:j.docs,source:{originalSource:`{
18
- name: "Primary, Disabled",
19
- args: {
20
- isDisabled: true,
21
- label: "Button label",
22
- variant: "primary"
23
- }
24
- }`,...(L=(V=l.parameters)==null?void 0:V.docs)==null?void 0:L.source}}};var M,z,O;c.parameters={...c.parameters,docs:{...(M=c.parameters)==null?void 0:M.docs,source:{originalSource:`{
25
- name: "Secondary",
26
- args: {
27
- label: "Button label",
28
- variant: "secondary"
29
- },
30
- play: async ({
31
- args,
32
- canvasElement,
33
- step
34
- }: playType) => {
35
- await interactWithButton({
36
- canvasElement,
37
- step
38
- })({
39
- args,
40
- actionName: "Button Secondary",
41
- hoverState: false
42
- });
43
- }
44
- }`,...(O=(z=c.parameters)==null?void 0:z.docs)==null?void 0:O.source}}};var P,_,C;m.parameters={...m.parameters,docs:{...(P=m.parameters)==null?void 0:P.docs,source:{originalSource:`{
45
- name: "Secondary, Disabled",
46
- args: {
47
- isDisabled: true,
48
- label: "Button label",
49
- variant: "secondary"
50
- }
51
- }`,...(C=(_=m.parameters)==null?void 0:_.docs)==null?void 0:C.source}}};var K,R,G;p.parameters={...p.parameters,docs:{...(K=p.parameters)==null?void 0:K.docs,source:{originalSource:`{
52
- name: "Danger",
53
- args: {
54
- label: "Button label",
55
- variant: "danger"
56
- },
57
- play: async ({
58
- args,
59
- canvasElement,
60
- step
61
- }: playType) => {
62
- await interactWithButton({
63
- canvasElement,
64
- step
65
- })({
66
- args,
67
- actionName: "Button Danger",
68
- hoverState: false
69
- });
70
- }
71
- }`,...(G=(R=p.parameters)==null?void 0:R.docs)==null?void 0:G.source}}};var H,q,U;u.parameters={...u.parameters,docs:{...(H=u.parameters)==null?void 0:H.docs,source:{originalSource:`{
72
- name: "Danger Secondary",
73
- args: {
74
- label: "Button label",
75
- variant: "dangerSecondary"
76
- }
77
- }`,...(U=(q=u.parameters)==null?void 0:q.docs)==null?void 0:U.source}}};var Y,J,Q;d.parameters={...d.parameters,docs:{...(Y=d.parameters)==null?void 0:Y.docs,source:{originalSource:`{
78
- name: "Danger, Disabled",
79
- args: {
80
- label: "Button label",
81
- isDisabled: true,
82
- variant: "danger"
83
- }
84
- }`,...(Q=(J=d.parameters)==null?void 0:J.docs)==null?void 0:Q.source}}};var X,Z,$;y.parameters={...y.parameters,docs:{...(X=y.parameters)==null?void 0:X.docs,source:{originalSource:`{
85
- name: "Floating",
86
- args: {
87
- label: "Button label",
88
- variant: "floating"
89
- },
90
- play: async ({
91
- args,
92
- canvasElement,
93
- step
94
- }: playType) => {
95
- await interactWithButton({
96
- canvasElement,
97
- step
98
- })({
99
- args,
100
- actionName: "Button Floating",
101
- hoverState: false
102
- });
103
- }
104
- }`,...($=(Z=y.parameters)==null?void 0:Z.docs)==null?void 0:$.source}}};var aa,ta,na;b.parameters={...b.parameters,docs:{...(aa=b.parameters)==null?void 0:aa.docs,source:{originalSource:`{
105
- name: "Floating Action",
106
- args: {
107
- label: "Button label",
108
- variant: "floatingAction"
109
- },
110
- play: async ({
111
- args,
112
- canvasElement,
113
- step
114
- }: playType) => {
115
- await interactWithButton({
116
- canvasElement,
117
- step
118
- })({
119
- args,
120
- actionName: "Button Floating Action",
121
- hoverState: false
122
- });
123
- }
124
- }`,...(na=(ta=b.parameters)==null?void 0:ta.docs)==null?void 0:na.source}}};var ea,oa,ra;g.parameters={...g.parameters,docs:{...(ea=g.parameters)==null?void 0:ea.docs,source:{originalSource:`{
125
- name: "Floating, Disabled",
126
- args: {
127
- label: "Button label",
128
- isDisabled: true,
129
- variant: "floating"
130
- }
131
- }`,...(ra=(oa=g.parameters)==null?void 0:oa.docs)==null?void 0:ra.source}}};var sa,ia,la;B.parameters={...B.parameters,docs:{...(sa=B.parameters)==null?void 0:sa.docs,source:{originalSource:`{
132
- name: "Button as a link",
133
- args: {
134
- label: "Visit okta.com",
135
- variant: "floatingAction",
136
- href: "https://okta.com",
137
- onClick: undefined
138
- }
139
- }`,...(la=(ia=B.parameters)==null?void 0:ia.docs)==null?void 0:la.source}}};var ca,ma,pa;v.parameters={...v.parameters,docs:{...(ca=v.parameters)==null?void 0:ca.docs,source:{originalSource:`{
140
- name: "Small",
141
- args: {
142
- label: "Button label",
143
- size: "small"
144
- },
145
- play: async ({
146
- args,
147
- canvasElement,
148
- step
149
- }: playType) => {
150
- await interactWithButton({
151
- canvasElement,
152
- step
153
- })({
154
- args,
155
- actionName: "Button Small",
156
- hoverState: true
157
- });
158
- }
159
- }`,...(pa=(ma=v.parameters)==null?void 0:ma.docs)==null?void 0:pa.source}}};var ua,da,ya;h.parameters={...h.parameters,docs:{...(ua=h.parameters)==null?void 0:ua.docs,source:{originalSource:`{
160
- name: "Medium",
161
- args: {
162
- label: "Button label",
163
- size: "medium",
164
- variant: "secondary"
165
- },
166
- play: async ({
167
- args,
168
- canvasElement,
169
- step
170
- }: playType) => {
171
- await interactWithButton({
172
- canvasElement,
173
- step
174
- })({
175
- args,
176
- actionName: "Button Medium",
177
- hoverState: true
178
- });
179
- }
180
- }`,...(ya=(da=h.parameters)==null?void 0:da.docs)==null?void 0:ya.source}}};var ba,ga,Ba;S.parameters={...S.parameters,docs:{...(ba=S.parameters)==null?void 0:ba.docs,source:{originalSource:`{
181
- name: "Large",
182
- args: {
183
- label: "Button label",
184
- size: "large",
185
- variant: "danger"
186
- },
187
- play: async ({
188
- args,
189
- canvasElement,
190
- step
191
- }: playType) => {
192
- await interactWithButton({
193
- canvasElement,
194
- step
195
- })({
196
- args,
197
- actionName: "Button Large",
198
- hoverState: true
199
- });
200
- }
201
- }`,...(Ba=(ga=S.parameters)==null?void 0:ga.docs)==null?void 0:Ba.source}}};var va,ha,Sa;f.parameters={...f.parameters,docs:{...(va=f.parameters)==null?void 0:va.docs,source:{originalSource:`{
202
- name: "Full-width",
203
- args: {
204
- label: "Button label",
205
- isFullWidth: true
206
- },
207
- play: async ({
208
- args,
209
- canvasElement,
210
- step
211
- }: playType) => {
212
- await interactWithButton({
213
- canvasElement,
214
- step
215
- })({
216
- args,
217
- actionName: "Button Fullwidth",
218
- hoverState: true
219
- });
220
- }
221
- }`,...(Sa=(ha=f.parameters)==null?void 0:ha.docs)==null?void 0:Sa.source}}};var fa,Da,wa;D.parameters={...D.parameters,docs:{...(fa=D.parameters)==null?void 0:fa.docs,source:{originalSource:`{
222
- name: "Icon",
223
- args: {
224
- label: "Button label",
225
- startIcon: <AddIcon />
226
- },
227
- play: async ({
228
- args,
229
- canvasElement,
230
- step
231
- }: playType) => {
232
- await interactWithButton({
233
- canvasElement,
234
- step
235
- })({
236
- args,
237
- actionName: "Button with Icon",
238
- hoverState: false
239
- });
240
- }
241
- }`,...(wa=(Da=D.parameters)==null?void 0:Da.docs)==null?void 0:wa.source}}};var xa,Fa,Ia;w.parameters={...w.parameters,docs:{...(xa=w.parameters)==null?void 0:xa.docs,source:{originalSource:`{
242
- name: "Icon-only",
243
- parameters: {
244
- docs: {
245
- description: {
246
- story: "Icon-only buttons should be paired with a Tooltip to provide additional context. A tooltip can be added by setting the \`tooltipText\` prop on the button to a string."
247
- }
248
- }
249
- },
250
- args: {
251
- startIcon: <AddIcon />,
252
- ariaLabel: "Button label",
253
- label: undefined,
254
- tooltipText: "Button label"
255
- }
256
- }`,...(Ia=(Fa=w.parameters)==null?void 0:Fa.docs)==null?void 0:Ia.source}}};var Ta,ka,Aa;x.parameters={...x.parameters,docs:{...(Ta=x.parameters)==null?void 0:Ta.docs,source:{originalSource:`{
257
- name: "Kitchen sink",
258
- render: () => <Box sx={{
259
- display: "flex",
260
- flexWrap: "wrap",
261
- rowGap: 2
262
- }}>
263
- <Button label="Primary" variant="primary" />
264
- <Button label="Secondary" variant="secondary" />
265
- <Button label="Danger Secondary" variant="dangerSecondary" />
266
- <Button label="Danger" variant="danger" />
267
- <Button label="Floating" variant="floating" />
268
- <Button label="Floating Action" variant="floatingAction" />
269
- <Button ariaLabel="Add" startIcon={<AddIcon />} variant="primary" />
270
- </Box>
271
- }`,...(Aa=(ka=x.parameters)==null?void 0:ka.docs)==null?void 0:Aa.source}}};const tn=["ButtonPrimary","ButtonPrimaryDisabled","ButtonSecondary","ButtonSecondaryDisabled","ButtonDanger","ButtonDangerSecondary","ButtonDangerDisabled","ButtonFloating","ButtonFloatingAction","ButtonFloatingDisabled","ButtonSecondaryAsLink","ButtonSmall","ButtonMedium","ButtonLarge","ButtonFullWidth","ButtonWithIcon","IconOnly","KitchenSink"];export{p as ButtonDanger,d as ButtonDangerDisabled,u as ButtonDangerSecondary,y as ButtonFloating,b as ButtonFloatingAction,g as ButtonFloatingDisabled,f as ButtonFullWidth,S as ButtonLarge,h as ButtonMedium,i as ButtonPrimary,l as ButtonPrimaryDisabled,c as ButtonSecondary,B as ButtonSecondaryAsLink,m as ButtonSecondaryDisabled,v as ButtonSmall,D as ButtonWithIcon,w as IconOnly,x as KitchenSink,tn as __namedExportsOrder,an as default};
@@ -1,133 +0,0 @@
1
- import{i as e}from"./iconUtils-CeRi1WMA.js";import{u as R,I as G}from"./IgaComponentsOdysseyStorybookThemeDecorator-CVt9siFq.js";import{b as h,a as g,c as D}from"./BaseButton-BzcWVv73.js";import{r as u,d as b}from"./iframe-Cav9rlxr.js";import{s as N}from"./tableRowClasses-DYosAqvx.js";import{g as Y}from"./ariaDisabledStyles-BnD13Dho.js";import{M as T}from"./Button-ZPlYqHUi.js";import"./index-Dui69PFe.js";import"./AddCircle-DgNpvHvb.js";import"./Server-CirxxKai.js";import"./List-CEPzEOaM.js";import"./ArrowLeft-DKc-rln7.js";import"./ArrowRight-CQpox1s-.js";import"./Bug-DbpZDqwO.js";import"./Calendar-DV1h6Fc3.js";import"./Call-2_fpBWhr.js";import"./WarningFilled-DJX60tUO.js";import"./ChevronRight--b1mmNks.js";import"./ChevronUp-DL24OTkX.js";import"./Clock-BQK6LLyZ.js";import"./Upload-Cy-cphyA.js";import"./Documentation-C2_DeFFh.js";import"./Download-YawXz5G6.js";import"./ExternalLink-DTGSbkQ2.js";import"./Filter-ColuOFTn.js";import"./Folder-DtBjBkxy.js";import"./Globe-DhuLu1HO.js";import"./Grid-DT7vGlwm.js";import"./Group-9XOIBtaE.js";import"./Hide-4CfPQa-Q.js";import"./Home-BD0pfCzQ.js";import"./InformationCircle-C_nheCFB.js";import"./Link-C_gwYBxh.js";import"./More-D0XSbzen.js";import"./Notification-Dv2xKTFA.js";import"./Refresh-4GRZURAB.js";import"./Search-C3XUnqCP.js";import"./Settings-DoysZs_u.js";import"./Show-8RSN9YQN.js";import"./Sync-DbBKVuQB.js";import"./User-DRi5hhiP.js";import"./Video-DAMdjIe3.js";import"./Tooltip-DVPGLNQs.js";import"./Grow-DG6yJWeA.js";import"./utils-fJIW_l91.js";import"./TransitionGroupContext-CTI9LvjA.js";import"./index-C5VVYn_U.js";import"./useIsFocusVisible-Cu721A7w.js";import"./Portal-CznYNzyC.js";import"./resolveComponentProps-m1IywaLB.js";import"./isHostComponent-DVu5iVWx.js";import"./useControlled-4m9Fbl4Y.js";import"./Popper-B9cGJ5Ql.js";import"./ownerDocument-DW-IO8s5.js";import"./Button-AqSkJ6Nd.js";import"./ButtonBase-CYIo9Kvv.js";import"./ScopedCssBaseline-CbMqVD26.js";import"./MuiPropsContext-ppLtceHL.js";import"./Tooltip-BMTVRAEn.js";import"./preload-helper-Dp1pzeXC.js";const $=N("div",{shouldForwardProp:t=>!["odysseyDesignTokens","variant"].includes(t)})(({odysseyDesignTokens:t,variant:d})=>({display:"inline-block","& button":Y(t,d)})),J=({ariaDisabled:t,onClick:d,variant:m,...y})=>{const L=R(),q=u.useCallback(a=>{t&&(a.preventDefault(),a.stopPropagation())},[t]),H=u.useCallback(a=>{t&&["Enter"," ","ArrowDown","ArrowUp","ArrowLeft","ArrowRight","Home","End"].includes(a.key)&&(a.preventDefault(),a.stopPropagation())},[t]);return t?b($,{"aria-disabled":"true",odysseyDesignTokens:L,onKeyDownCapture:H,variant:m,children:b(T,{...y,onClick:q,variant:m})}):b(T,{...y,onClick:d,variant:m})},U=u.memo(J);U.displayName="Button";/*!
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{fn:Q}=__STORYBOOK_MODULE_TEST__,ra={component:U,decorators:[G],tags:["autodocs"],argTypes:{ariaDisabled:{control:"boolean",description:"If `true`, the button appears disabled but remains focusable and can show tooltips. Use this instead of `isDisabled` when you need to display a tooltip on a disabled button.",table:{category:"Visual",type:{summary:"boolean"}}},endIcon:{control:{type:"select"},options:Object.keys(e),mapping:e,description:"An optional icon to display at the end of the button",table:{category:"Visual",type:{summary:"<Icon />"}}},isDisabled:{control:"boolean",description:"If `true`, the button is disabled",table:{category:"Visual",type:{summary:"boolean"}}},label:{control:"text",description:"The button text. If blank, the button must include an icon.",table:{category:"Visual",type:{summary:"string"}}},onClick:{action:!0,description:"Callback fired when the button is clicked",table:{category:"Functional",type:{summary:"(() => void)"}}},size:{options:D,control:{type:"radio"},description:"The size of the button",table:{category:"Visual",type:{summary:D.join(" | ")},defaultValue:{summary:"medium"}}},startIcon:{control:{type:"select"},options:Object.keys(e),mapping:e,description:"An optional icon to display at the start of the button",table:{category:"Visual",type:{summary:"<Icon />"}}},tooltipText:{control:"text",description:"If defined, the button will include a tooltip that contains the string.",table:{category:"Visual",type:{summary:"string"}}},type:{options:g,control:{type:"radio"},description:"The type of the HTML button element.",table:{category:"Functional",type:{summary:g.join(" | ")},defaultValue:{summary:"button"}}},variant:{options:h,control:{type:"radio"},description:"The color and style of the button",table:{category:"Visual",type:{summary:h.join(" | ")},defaultValue:{summary:"secondary"}},type:{required:!0,name:"other",value:"radio"}}},args:{label:"Button label",onClick:Q(),variant:"primary"}},i={name:"Disabled with Tooltip",parameters:{docs:{description:{story:"Disabled buttons can display tooltips by using `ariaDisabled` instead of `isDisabled`. This keeps the button accessible and allows the tooltip to show on hover."}},a11y:{config:{rules:[{id:"color-contrast",enabled:!1}]}}},args:{ariaDisabled:!0,label:"Button label",variant:"primary",tooltipText:"This action is currently unavailable"}},o={config:{rules:[{id:"color-contrast",enabled:!1}]}},r={name:"Disabled Primary with Tooltip",parameters:{docs:{description:{story:"Primary button with `ariaDisabled` and tooltip."}},a11y:o},args:{ariaDisabled:!0,label:"Primary",variant:"primary",tooltipText:"This action is currently unavailable"}},n={name:"Disabled Secondary with Tooltip",parameters:{docs:{description:{story:"Secondary button with `ariaDisabled` and tooltip."}},a11y:o},args:{ariaDisabled:!0,label:"Secondary",variant:"secondary",tooltipText:"This action is currently unavailable"}},s={name:"Disabled Danger with Tooltip",parameters:{docs:{description:{story:"Danger button with `ariaDisabled` and tooltip."}},a11y:o},args:{ariaDisabled:!0,label:"Danger",variant:"danger",tooltipText:"This action is currently unavailable"}},l={name:"Disabled Danger Secondary with Tooltip",parameters:{docs:{description:{story:"Danger Secondary button with `ariaDisabled` and tooltip."}},a11y:o},args:{ariaDisabled:!0,label:"Danger Secondary",variant:"dangerSecondary",tooltipText:"This action is currently unavailable"}},p={name:"Disabled Floating with Tooltip",parameters:{docs:{description:{story:"Floating button with `ariaDisabled` and tooltip."}},a11y:o},args:{ariaDisabled:!0,label:"Floating",variant:"floating",tooltipText:"This action is currently unavailable"}},c={name:"Disabled Floating Action with Tooltip",parameters:{docs:{description:{story:"Floating Action button with `ariaDisabled` and tooltip."}},a11y:o},args:{ariaDisabled:!0,label:"Floating Action",variant:"floatingAction",tooltipText:"This action is currently unavailable"}};var f,w,v;i.parameters={...i.parameters,docs:{...(f=i.parameters)==null?void 0:f.docs,source:{originalSource:`{
12
- name: "Disabled with Tooltip",
13
- parameters: {
14
- docs: {
15
- description: {
16
- story: "Disabled buttons can display tooltips by using \`ariaDisabled\` instead of \`isDisabled\`. This keeps the button accessible and allows the tooltip to show on hover."
17
- }
18
- },
19
- // Disable color-contrast check because we intentionally match Odyssey's
20
- // native disabled button styling, which uses low-contrast colors that are
21
- // exempt from WCAG requirements for disabled UI components
22
- a11y: {
23
- config: {
24
- rules: [{
25
- id: "color-contrast",
26
- enabled: false
27
- }]
28
- }
29
- } satisfies A11yParameters
30
- },
31
- args: {
32
- ariaDisabled: true,
33
- label: "Button label",
34
- variant: "primary",
35
- tooltipText: "This action is currently unavailable"
36
- }
37
- }`,...(v=(w=i.parameters)==null?void 0:w.docs)==null?void 0:v.source}}};var S,A,x;r.parameters={...r.parameters,docs:{...(S=r.parameters)==null?void 0:S.docs,source:{originalSource:`{
38
- name: "Disabled Primary with Tooltip",
39
- parameters: {
40
- docs: {
41
- description: {
42
- story: "Primary button with \`ariaDisabled\` and tooltip."
43
- }
44
- },
45
- a11y: ariaDisabledA11yParameters
46
- },
47
- args: {
48
- ariaDisabled: true,
49
- label: "Primary",
50
- variant: "primary",
51
- tooltipText: "This action is currently unavailable"
52
- }
53
- }`,...(x=(A=r.parameters)==null?void 0:A.docs)==null?void 0:x.source}}};var k,F,P;n.parameters={...n.parameters,docs:{...(k=n.parameters)==null?void 0:k.docs,source:{originalSource:`{
54
- name: "Disabled Secondary with Tooltip",
55
- parameters: {
56
- docs: {
57
- description: {
58
- story: "Secondary button with \`ariaDisabled\` and tooltip."
59
- }
60
- },
61
- a11y: ariaDisabledA11yParameters
62
- },
63
- args: {
64
- ariaDisabled: true,
65
- label: "Secondary",
66
- variant: "secondary",
67
- tooltipText: "This action is currently unavailable"
68
- }
69
- }`,...(P=(F=n.parameters)==null?void 0:F.docs)==null?void 0:P.source}}};var V,W,C;s.parameters={...s.parameters,docs:{...(V=s.parameters)==null?void 0:V.docs,source:{originalSource:`{
70
- name: "Disabled Danger with Tooltip",
71
- parameters: {
72
- docs: {
73
- description: {
74
- story: "Danger button with \`ariaDisabled\` and tooltip."
75
- }
76
- },
77
- a11y: ariaDisabledA11yParameters
78
- },
79
- args: {
80
- ariaDisabled: true,
81
- label: "Danger",
82
- variant: "danger",
83
- tooltipText: "This action is currently unavailable"
84
- }
85
- }`,...(C=(W=s.parameters)==null?void 0:W.docs)==null?void 0:C.source}}};var I,B,O;l.parameters={...l.parameters,docs:{...(I=l.parameters)==null?void 0:I.docs,source:{originalSource:`{
86
- name: "Disabled Danger Secondary with Tooltip",
87
- parameters: {
88
- docs: {
89
- description: {
90
- story: "Danger Secondary button with \`ariaDisabled\` and tooltip."
91
- }
92
- },
93
- a11y: ariaDisabledA11yParameters
94
- },
95
- args: {
96
- ariaDisabled: true,
97
- label: "Danger Secondary",
98
- variant: "dangerSecondary",
99
- tooltipText: "This action is currently unavailable"
100
- }
101
- }`,...(O=(B=l.parameters)==null?void 0:B.docs)==null?void 0:O.source}}};var _,j,E;p.parameters={...p.parameters,docs:{...(_=p.parameters)==null?void 0:_.docs,source:{originalSource:`{
102
- name: "Disabled Floating with Tooltip",
103
- parameters: {
104
- docs: {
105
- description: {
106
- story: "Floating button with \`ariaDisabled\` and tooltip."
107
- }
108
- },
109
- a11y: ariaDisabledA11yParameters
110
- },
111
- args: {
112
- ariaDisabled: true,
113
- label: "Floating",
114
- variant: "floating",
115
- tooltipText: "This action is currently unavailable"
116
- }
117
- }`,...(E=(j=p.parameters)==null?void 0:j.docs)==null?void 0:E.source}}};var z,K,M;c.parameters={...c.parameters,docs:{...(z=c.parameters)==null?void 0:z.docs,source:{originalSource:`{
118
- name: "Disabled Floating Action with Tooltip",
119
- parameters: {
120
- docs: {
121
- description: {
122
- story: "Floating Action button with \`ariaDisabled\` and tooltip."
123
- }
124
- },
125
- a11y: ariaDisabledA11yParameters
126
- },
127
- args: {
128
- ariaDisabled: true,
129
- label: "Floating Action",
130
- variant: "floatingAction",
131
- tooltipText: "This action is currently unavailable"
132
- }
133
- }`,...(M=(K=c.parameters)==null?void 0:K.docs)==null?void 0:M.source}}};const na=["DisabledWithTooltip","DisabledPrimaryWithTooltip","DisabledSecondaryWithTooltip","DisabledDangerWithTooltip","DisabledDangerSecondaryWithTooltip","DisabledFloatingWithTooltip","DisabledFloatingActionWithTooltip"];export{l as DisabledDangerSecondaryWithTooltip,s as DisabledDangerWithTooltip,c as DisabledFloatingActionWithTooltip,p as DisabledFloatingWithTooltip,r as DisabledPrimaryWithTooltip,n as DisabledSecondaryWithTooltip,i as DisabledWithTooltip,na as __namedExportsOrder,ra as default};
@@ -1,74 +0,0 @@
1
- import{a as A,_ as ee,d as E,N as $e,b as me,c as te,a2 as ne,f as Ie,aj as _e,ak as Ue}from"./tableRowClasses-DYosAqvx.js";import{r as a,R as W,j as F}from"./iframe-Cav9rlxr.js";import{a as ze,u as ue,b as Oe}from"./useIsFocusVisible-Cu721A7w.js";import{_ as Ke,T as ce,u as H}from"./TransitionGroupContext-CTI9LvjA.js";function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oe(e,s){var r=function(t){return s&&a.isValidElement(t)?s(t):t},l=Object.create(null);return e&&a.Children.map(e,function(n){return n}).forEach(function(n){l[n.key]=r(n)}),l}function Xe(e,s){e=e||{},s=s||{};function r(f){return f in s?s[f]:e[f]}var l=Object.create(null),n=[];for(var t in e)t in s?n.length&&(l[t]=n,n=[]):n.push(t);var o,c={};for(var u in s){if(l[u])for(o=0;o<l[u].length;o++){var p=l[u][o];c[l[u][o]]=r(p)}c[u]=r(u)}for(o=0;o<n.length;o++)c[n[o]]=r(n[o]);return c}function N(e,s,r){return r[s]!=null?r[s]:e.props[s]}function Ye(e,s){return oe(e.children,function(r){return a.cloneElement(r,{onExited:s.bind(null,r),in:!0,appear:N(r,"appear",e),enter:N(r,"enter",e),exit:N(r,"exit",e)})})}function We(e,s,r){var l=oe(e.children),n=Xe(s,l);return Object.keys(n).forEach(function(t){var o=n[t];if(a.isValidElement(o)){var c=t in s,u=t in l,p=s[t],f=a.isValidElement(p)&&!p.props.in;u&&(!c||f)?n[t]=a.cloneElement(o,{onExited:r.bind(null,o),in:!0,exit:N(o,"exit",e),enter:N(o,"enter",e)}):!u&&c&&!f?n[t]=a.cloneElement(o,{in:!1}):u&&c&&a.isValidElement(p)&&(n[t]=a.cloneElement(o,{onExited:r.bind(null,o),in:p.props.in,exit:N(o,"exit",e),enter:N(o,"enter",e)}))}}),n}var He=Object.values||function(e){return Object.keys(e).map(function(s){return e[s]})},Ge={component:"div",childFactory:function(s){return s}},ie=function(e){Ke(s,e);function s(l,n){var t;t=e.call(this,l,n)||this;var o=t.handleExited.bind(Ae(t));return t.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},t}var r=s.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},s.getDerivedStateFromProps=function(n,t){var o=t.children,c=t.handleExited,u=t.firstRender;return{children:u?Ye(n,c):We(n,o,c),firstRender:!1}},r.handleExited=function(n,t){var o=oe(this.props.children);n.key in o||(n.props.onExited&&n.props.onExited(t),this.mounted&&this.setState(function(c){var u=A({},c.children);return delete u[n.key],{children:u}}))},r.render=function(){var n=this.props,t=n.component,o=n.childFactory,c=ee(n,["component","childFactory"]),u=this.state.contextValue,p=He(this.state.children).map(o);return delete c.appear,delete c.enter,delete c.exit,t===null?W.createElement(ce.Provider,{value:u},p):W.createElement(ce.Provider,{value:u},W.createElement(t,c,p))},s}(W.Component);ie.propTypes={};ie.defaultProps=Ge;function qe(e){const{className:s,classes:r,pulsate:l=!1,rippleX:n,rippleY:t,rippleSize:o,in:c,onExited:u,timeout:p}=e,[f,g]=a.useState(!1),b=E(s,r.ripple,r.rippleVisible,l&&r.ripplePulsate),C={width:o,height:o,top:-(o/2)+t,left:-(o/2)+n},h=E(r.child,f&&r.childLeaving,l&&r.childPulsate);return!c&&!f&&g(!0),a.useEffect(()=>{if(!c&&u!=null){const R=setTimeout(u,p);return()=>{clearTimeout(R)}}},[u,c,p]),F.jsx("span",{className:b,style:C,children:F.jsx("span",{className:h})})}const m=$e("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Je=["center","classes","className"];let G=e=>e,pe,de,fe,he;const Z=550,Qe=80,Ze=ne(pe||(pe=G`
2
- 0% {
3
- transform: scale(0);
4
- opacity: 0.1;
5
- }
6
-
7
- 100% {
8
- transform: scale(1);
9
- opacity: 0.3;
10
- }
11
- `)),et=ne(de||(de=G`
12
- 0% {
13
- opacity: 1;
14
- }
15
-
16
- 100% {
17
- opacity: 0;
18
- }
19
- `)),tt=ne(fe||(fe=G`
20
- 0% {
21
- transform: scale(1);
22
- }
23
-
24
- 50% {
25
- transform: scale(0.92);
26
- }
27
-
28
- 100% {
29
- transform: scale(1);
30
- }
31
- `)),nt=te("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ot=te(qe,{name:"MuiTouchRipple",slot:"Ripple"})(he||(he=G`
32
- opacity: 0;
33
- position: absolute;
34
-
35
- &.${0} {
36
- opacity: 0.3;
37
- transform: scale(1);
38
- animation-name: ${0};
39
- animation-duration: ${0}ms;
40
- animation-timing-function: ${0};
41
- }
42
-
43
- &.${0} {
44
- animation-duration: ${0}ms;
45
- }
46
-
47
- & .${0} {
48
- opacity: 1;
49
- display: block;
50
- width: 100%;
51
- height: 100%;
52
- border-radius: 50%;
53
- background-color: currentColor;
54
- }
55
-
56
- & .${0} {
57
- opacity: 0;
58
- animation-name: ${0};
59
- animation-duration: ${0}ms;
60
- animation-timing-function: ${0};
61
- }
62
-
63
- & .${0} {
64
- position: absolute;
65
- /* @noflip */
66
- left: 0px;
67
- top: 0;
68
- animation-name: ${0};
69
- animation-duration: 2500ms;
70
- animation-timing-function: ${0};
71
- animation-iteration-count: infinite;
72
- animation-delay: 200ms;
73
- }
74
- `),m.rippleVisible,Ze,Z,({theme:e})=>e.transitions.easing.easeInOut,m.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,m.child,m.childLeaving,et,Z,({theme:e})=>e.transitions.easing.easeInOut,m.childPulsate,tt,({theme:e})=>e.transitions.easing.easeInOut),it=a.forwardRef(function(s,r){const l=me({props:s,name:"MuiTouchRipple"}),{center:n=!1,classes:t={},className:o}=l,c=ee(l,Je),[u,p]=a.useState([]),f=a.useRef(0),g=a.useRef(null);a.useEffect(()=>{g.current&&(g.current(),g.current=null)},[u]);const b=a.useRef(!1),C=ze(),h=a.useRef(null),R=a.useRef(null),_=a.useCallback(d=>{const{pulsate:M,rippleX:x,rippleY:L,rippleSize:I,cb:z}=d;p(y=>[...y,F.jsx(ot,{classes:{ripple:E(t.ripple,m.ripple),rippleVisible:E(t.rippleVisible,m.rippleVisible),ripplePulsate:E(t.ripplePulsate,m.ripplePulsate),child:E(t.child,m.child),childLeaving:E(t.childLeaving,m.childLeaving),childPulsate:E(t.childPulsate,m.childPulsate)},timeout:Z,pulsate:M,rippleX:x,rippleY:L,rippleSize:I},f.current)]),f.current+=1,g.current=z},[t]),j=a.useCallback((d={},M={},x=()=>{})=>{const{pulsate:L=!1,center:I=n||M.pulsate,fakeElement:z=!1}=M;if((d==null?void 0:d.type)==="mousedown"&&b.current){b.current=!1;return}(d==null?void 0:d.type)==="touchstart"&&(b.current=!0);const y=z?null:R.current,D=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};let v,w,B;if(I||d===void 0||d.clientX===0&&d.clientY===0||!d.clientX&&!d.touches)v=Math.round(D.width/2),w=Math.round(D.height/2);else{const{clientX:S,clientY:V}=d.touches&&d.touches.length>0?d.touches[0]:d;v=Math.round(S-D.left),w=Math.round(V-D.top)}if(I)B=Math.sqrt((2*D.width**2+D.height**2)/3),B%2===0&&(B+=1);else{const S=Math.max(Math.abs((y?y.clientWidth:0)-v),v)*2+2,V=Math.max(Math.abs((y?y.clientHeight:0)-w),w)*2+2;B=Math.sqrt(S**2+V**2)}d!=null&&d.touches?h.current===null&&(h.current=()=>{_({pulsate:L,rippleX:v,rippleY:w,rippleSize:B,cb:x})},C.start(Qe,()=>{h.current&&(h.current(),h.current=null)})):_({pulsate:L,rippleX:v,rippleY:w,rippleSize:B,cb:x})},[n,_,C]),U=a.useCallback(()=>{j({},{pulsate:!0})},[j]),$=a.useCallback((d,M)=>{if(C.clear(),(d==null?void 0:d.type)==="touchend"&&h.current){h.current(),h.current=null,C.start(0,()=>{$(d,M)});return}h.current=null,p(x=>x.length>0?x.slice(1):x),g.current=M},[C]);return a.useImperativeHandle(r,()=>({pulsate:U,start:j,stop:$}),[U,j,$]),F.jsx(nt,A({className:E(m.root,t.root,o),ref:R},c,{children:F.jsx(ie,{component:null,exit:!0,children:u})}))}),st=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],rt=e=>{const{disabled:s,focusVisible:r,focusVisibleClassName:l,classes:n}=e,o=Ie({root:["root",s&&"disabled",r&&"focusVisible"]},_e,n);return r&&l&&(o.root+=` ${l}`),o},at=te("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,s)=>s.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ue.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ft=a.forwardRef(function(s,r){const l=me({props:s,name:"MuiButtonBase"}),{action:n,centerRipple:t=!1,children:o,className:c,component:u="button",disabled:p=!1,disableRipple:f=!1,disableTouchRipple:g=!1,focusRipple:b=!1,LinkComponent:C="a",onBlur:h,onClick:R,onContextMenu:_,onDragLeave:j,onFocus:U,onFocusVisible:$,onKeyDown:d,onKeyUp:M,onMouseDown:x,onMouseLeave:L,onMouseUp:I,onTouchEnd:z,onTouchMove:y,onTouchStart:D,tabIndex:v=0,TouchRippleProps:w,touchRippleRef:B,type:S}=l,V=ee(l,st),O=a.useRef(null),T=a.useRef(null),be=ue(T,B),{isFocusVisibleRef:se,onFocus:ge,onBlur:Re,ref:Me}=Oe(),[k,X]=a.useState(!1);p&&k&&X(!1),a.useImperativeHandle(n,()=>({focusVisible:()=>{X(!0),O.current.focus()}}),[]);const[q,xe]=a.useState(!1);a.useEffect(()=>{xe(!0)},[]);const ye=q&&!f&&!p;a.useEffect(()=>{k&&b&&!f&&q&&T.current.pulsate()},[f,b,k,q]);function P(i,ae,je=g){return H(le=>(ae&&ae(le),!je&&T.current&&T.current[i](le),!0))}const Te=P("start",x),Ee=P("stop",_),Ce=P("stop",j),ve=P("stop",I),Ve=P("stop",i=>{k&&i.preventDefault(),L&&L(i)}),Pe=P("start",D),De=P("stop",z),we=P("stop",y),Be=P("stop",i=>{Re(i),se.current===!1&&X(!1),h&&h(i)},!1),Le=H(i=>{O.current||(O.current=i.currentTarget),ge(i),se.current===!0&&(X(!0),$&&$(i)),U&&U(i)}),J=()=>{const i=O.current;return u&&u!=="button"&&!(i.tagName==="A"&&i.href)},Q=a.useRef(!1),Se=H(i=>{b&&!Q.current&&k&&T.current&&i.key===" "&&(Q.current=!0,T.current.stop(i,()=>{T.current.start(i)})),i.target===i.currentTarget&&J()&&i.key===" "&&i.preventDefault(),d&&d(i),i.target===i.currentTarget&&J()&&i.key==="Enter"&&!p&&(i.preventDefault(),R&&R(i))}),ke=H(i=>{b&&i.key===" "&&T.current&&k&&!i.defaultPrevented&&(Q.current=!1,T.current.stop(i,()=>{T.current.pulsate(i)})),M&&M(i),R&&i.target===i.currentTarget&&J()&&i.key===" "&&!i.defaultPrevented&&R(i)});let Y=u;Y==="button"&&(V.href||V.to)&&(Y=C);const K={};Y==="button"?(K.type=S===void 0?"button":S,K.disabled=p):(!V.href&&!V.to&&(K.role="button"),p&&(K["aria-disabled"]=p));const Ne=ue(r,Me,O),re=A({},l,{centerRipple:t,component:u,disabled:p,disableRipple:f,disableTouchRipple:g,focusRipple:b,tabIndex:v,focusVisible:k}),Fe=rt(re);return F.jsxs(at,A({as:Y,className:E(Fe.root,c),ownerState:re,onBlur:Be,onClick:R,onContextMenu:Ee,onFocus:Le,onKeyDown:Se,onKeyUp:ke,onMouseDown:Te,onMouseLeave:Ve,onMouseUp:ve,onDragLeave:Ce,onTouchEnd:De,onTouchMove:we,onTouchStart:Pe,ref:Ne,tabIndex:p?-1:v,type:S},K,V,{children:[o,ye?F.jsx(it,A({ref:be,center:t},w)):null]}))});export{ft as B,ie as T,Ae as _};
@@ -1 +0,0 @@
1
- import{r,j as e}from"./iframe-Cav9rlxr.js";import{S as a}from"./tableRowClasses-DYosAqvx.js";const l=r.forwardRef((o,n)=>e.jsx(a,{fill:"none",ref:n,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx(e.Fragment,{children:e.jsx("path",{clipRule:"evenodd",d:"M6 .667v2h4v-2h1.333v2h3.334v10a2 2 0 0 1-2 2H3.333a2 2 0 0 1-2-2v-10h3.334v-2H6ZM10 4v1.333h1.333V4h2v2H2.667V4h2v1.333H6V4h4ZM2.667 7.333v5.334c0 .368.298.666.666.666h9.334a.667.667 0 0 0 .666-.666V7.333H2.667Z",fill:"currentColor",fillRule:"evenodd"})})})),s=r.memo(l);s.displayName="CalendarIcon";export{s as M};
@@ -1 +0,0 @@
1
- import{r as a,j as l}from"./iframe-Cav9rlxr.js";import{S as e}from"./tableRowClasses-DYosAqvx.js";const r=a.forwardRef((c,o)=>l.jsx(e,{fill:"none",ref:o,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...c,children:l.jsx(l.Fragment,{children:l.jsx("path",{clipRule:"evenodd",d:"M14 8a6 6 0 0 0-6-6V.667A7.333 7.333 0 0 1 15.333 8H14ZM4.554 4.239a.667.667 0 0 0-.98-.103 8.08 8.08 0 0 0-.249.25 3.333 3.333 0 0 0-.908 2.4v.058c0 .17 0 .238.002.301.031.78.335 1.524.858 2.103.043.047.09.095.21.217l2.916 2.977c.139.142.194.198.248.248a3.333 3.333 0 0 0 2.116.89c.073.003.152.003.35.003h.087l.184-.001a3.333 3.333 0 0 0 2.314-1.012c.075-.072.091-.089.1-.099a.667.667 0 0 0-.085-.982 3.547 3.547 0 0 0-.116-.08l-1.8-1.22-1.115 1.07-.012.01c-.057.055-.125.12-.19.173a1.005 1.005 0 0 1-.344.19 1 1 0 0 1-.617-.012 1.006 1.006 0 0 1-.337-.202 3.29 3.29 0 0 1-.183-.18l-.01-.011-2.27-2.347-.01-.01c-.055-.057-.12-.124-.173-.188a1.005 1.005 0 0 1-.19-.34 1 1 0 0 1 .005-.61c.05-.152.132-.263.194-.337.054-.063.12-.13.175-.184l.01-.011 1.055-1.06-1.15-1.775a3.555 3.555 0 0 0-.084-.127ZM2.687 3.14a2 2 0 0 1 3.06.484l.01.016 1.208 1.866.007.01c.036.055.08.122.114.185.04.075.09.181.114.317a1 1 0 0 1-.056.533 1.01 1.01 0 0 1-.177.287 3.041 3.041 0 0 1-.149.157l-.01.01-1.036 1.042 2.086 2.157 1.097-1.053.01-.009c.046-.045.104-.1.16-.146a1 1 0 0 1 .29-.172 1 1 0 0 1 .536-.046 1 1 0 0 1 .315.121c.062.036.129.08.182.117l.011.008 1.89 1.28.014.01c.064.044.118.08.163.115a2 2 0 0 1 .117 3.085l-.012.012-.007.006a4.667 4.667 0 0 1-3.203 1.382l-.208.001h-.112c-.177 0-.288 0-.396-.005a4.667 4.667 0 0 1-2.962-1.245c-.08-.074-.157-.153-.28-.279l-.013-.012-2.916-2.977-.01-.01c-.106-.11-.173-.177-.236-.246a4.667 4.667 0 0 1-1.2-2.944 8.658 8.658 0 0 1-.005-.34v-.082c0-.1 0-.163.002-.225a4.667 4.667 0 0 1 1.429-3.24l.006-.007.014-.013c.058-.059.108-.109.153-.15ZM8 4.667A3.333 3.333 0 0 1 11.333 8h1.334A4.667 4.667 0 0 0 8 3.333v1.334Z",fill:"currentColor",fillRule:"evenodd"})})})),n=a.memo(r);n.displayName="CallIcon";export{n as M};
@@ -1 +0,0 @@
1
- import{s as x}from"./tableRowClasses-DYosAqvx.js";import{r as g,j as s}from"./iframe-Cav9rlxr.js";import{a as j,u as k}from"./OdysseyThemeProvider-DOMFnSU0.js";import{M as v}from"./Link-BXZlWRMJ.js";import{a as C}from"./Typography-B8ZKtxRi.js";import{u as M}from"./useUniqueId-CXfTvpAs.js";import{A as T,a as D}from"./AlertTitle-41lhnhsR.js";import{B as i}from"./Box-DduJOSF-.js";const q=["status","alert"],F=["success","info","warning","error"],b=x("div",{shouldForwardProp:o=>o!=="odysseyDesignTokens"})(({odysseyDesignTokens:o})=>({"& > * + *":{marginBlockStart:o.Spacing4}})),z=({children:o,linkRel:l,linkTarget:m,linkText:e,linkUrl:c,onLinkClick:d,role:u,severity:a,testId:p,text:r,title:t,translate:y})=>{const{t:h}=j(),f=k(),n=M();return s.jsxs(T,{"aria-label":h(`severity.${a}`),"aria-labelledby":n,"data-se":p,role:u,severity:a,variant:"callout",children:[t&&s.jsx(D,{"aria-hidden":!0,id:n,translate:y,children:t}),s.jsxs(b,{odysseyDesignTokens:f,children:[o&&s.jsx(i,{component:"div",children:o}),r&&s.jsx(C,{children:r}),e&&s.jsx(i,{children:s.jsx(v,{href:c??"#",onClick:d,rel:l,target:m,variant:"monochrome",children:e})})]})]})},A=g.memo(z);A.displayName="Callout";export{A as M,q as a,F as c};