@okta/odyssey-contribution-tooling 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 (386) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.iife.js.map +1 -1
  4. package/dist/index.umd.cjs.map +1 -1
  5. package/dist/types/tsconfig.tsbuildinfo +1 -1
  6. package/package.json +3 -3
  7. package/dist/appswitcher/admin-app-default.svg +0 -6
  8. package/dist/appswitcher/admin-app-selected.svg +0 -6
  9. package/dist/appswitcher/aerial-default.svg +0 -7
  10. package/dist/appswitcher/aerial-selected.svg +0 -7
  11. package/dist/appswitcher/okta-dashboard-default.svg +0 -7
  12. package/dist/appswitcher/okta-dashboard-selected.svg +0 -7
  13. package/dist/appswitcher/privileged-access-default.svg +0 -4
  14. package/dist/appswitcher/privileged-access-selected.svg +0 -4
  15. package/dist/appswitcher/workflows-default.svg +0 -5
  16. package/dist/appswitcher/workflows-selected.svg +0 -5
  17. package/dist/assets/Accordion-B6lMitah.js +0 -1
  18. package/dist/assets/Accordion.stories-jXyeMqKL.js +0 -85
  19. package/dist/assets/AccordionSummary-Cqqnyfeq.js +0 -1
  20. package/dist/assets/AddCircle-DYQ5ipEw.js +0 -1
  21. package/dist/assets/AlertTitle-BdgyvdT3.js +0 -1
  22. package/dist/assets/AppSwitcher-BP7OhkNx.js +0 -21
  23. package/dist/assets/AppSwitcher.stories-BX6iWIVF.js +0 -100
  24. package/dist/assets/AppTile _labs_.stories-D_lkwc9S.js +0 -136
  25. package/dist/assets/ArrowDropDown-CSyg-khO.js +0 -1
  26. package/dist/assets/ArrowRight-D4RDomjP.js +0 -1
  27. package/dist/assets/Autocomplete-CWMUllEE.js +0 -1
  28. package/dist/assets/Autocomplete-Ce5vsFXe.js +0 -1
  29. package/dist/assets/Autocomplete.stories-LgPoixE-.js +0 -316
  30. package/dist/assets/Badge-CgiaxC_M.js +0 -11
  31. package/dist/assets/Banner-CiZg662S.js +0 -1
  32. package/dist/assets/Banner.stories-L9TxJM5n.js +0 -96
  33. package/dist/assets/BaseButton-CPts8Xl1.js +0 -11
  34. package/dist/assets/BaseMenuButton-Cg0erRE5.js +0 -1
  35. package/dist/assets/Box-C-xmRxaS.js +0 -1
  36. package/dist/assets/Box-DS6ZmQE1.js +0 -11
  37. package/dist/assets/Box-XLjSpNxK.js +0 -1
  38. package/dist/assets/Box.stories-DlaC0I8z.js +0 -38
  39. package/dist/assets/Breadcrumb.stories-CU9cbFv5.js +0 -19
  40. package/dist/assets/BreadcrumbList.stories-BnLz8AbT.js +0 -77
  41. package/dist/assets/Breadcrumbs-24mVV2FV.js +0 -6
  42. package/dist/assets/Bug-BREzSHBD.js +0 -1
  43. package/dist/assets/Button-NJfX6YsF.js +0 -11
  44. package/dist/assets/Button-dStBbGjZ.js +0 -1
  45. package/dist/assets/Button.stories-DyHE1lVq.js +0 -271
  46. package/dist/assets/ButtonBase-Wolvis_2.js +0 -74
  47. package/dist/assets/Calendar-Cnn3LZfc.js +0 -1
  48. package/dist/assets/Call-B2-IhRdM.js +0 -1
  49. package/dist/assets/Callout-CHhRxeIB.js +0 -1
  50. package/dist/assets/Callout.stories-Cin_Q8VN.js +0 -250
  51. package/dist/assets/Card-CW2-4q6G.js +0 -1
  52. package/dist/assets/Card-HHKQqwm3.js +0 -8
  53. package/dist/assets/Card.stories-BGl8ssIa.js +0 -56
  54. package/dist/assets/CardActionArea-CmY1RMSI.js +0 -1
  55. package/dist/assets/CardActions-BOMzzZ-s.js +0 -1
  56. package/dist/assets/Checkbox-DGd8S5xK.js +0 -1
  57. package/dist/assets/Checkbox-LVOv88W2.js +0 -1
  58. package/dist/assets/Checkbox.stories-D6P6eT12.js +0 -113
  59. package/dist/assets/CheckboxGroup-BbhvyMBP.js +0 -1
  60. package/dist/assets/CheckboxGroup.stories-C8yW7qIA.js +0 -89
  61. package/dist/assets/ChevronRight-BEaWGMzi.js +0 -1
  62. package/dist/assets/ChevronUp-BclvDZ6e.js +0 -1
  63. package/dist/assets/Chip-p4lq04qX.js +0 -1
  64. package/dist/assets/CircularProgress-BOLg_ZK_.js +0 -28
  65. package/dist/assets/CircularProgress-DxmJkz2B.js +0 -1
  66. package/dist/assets/CircularProgress.stories-BzOGzmX1.js +0 -44
  67. package/dist/assets/Clock-dOo7_xs2.js +0 -1
  68. package/dist/assets/Close-DWj_zrWe.js +0 -1
  69. package/dist/assets/Code Styling Guidelines-CFH47C47.js +0 -14
  70. package/dist/assets/Collapse-Bf9rwi0n.js +0 -1
  71. package/dist/assets/Color-YHDXOIA2-XSMM8EzF.js +0 -1
  72. package/dist/assets/CssBaseline-BGmj7vII.js +0 -191
  73. package/dist/assets/CssBaseline.stories-CP5iNADe.js +0 -364
  74. package/dist/assets/Custom Theming-AWFd82gK.js +0 -135
  75. package/dist/assets/Custom Theming.stories-C1lIShsm.js +0 -95
  76. package/dist/assets/DataFilters _labs_-CbOuA1XC.js +0 -55
  77. package/dist/assets/DataFilters _labs_.stories-6lSpygV-.js +0 -31
  78. package/dist/assets/DataFilters-B56b7pp1.js +0 -1
  79. package/dist/assets/DataTable _labs_-DhjIky-X.js +0 -41
  80. package/dist/assets/DataTable _labs_.stories-SmL2caYK.js +0 -21
  81. package/dist/assets/DataTable-Dufh-85W.js +0 -404
  82. package/dist/assets/DataTable-OEqPccZc.js +0 -21
  83. package/dist/assets/DataTable.stories-B6pas1e4.js +0 -438
  84. package/dist/assets/DataView _labs_-D-jpJC9O.js +0 -332
  85. package/dist/assets/DataView _labs_.stories-CEQuFgsA.js +0 -438
  86. package/dist/assets/DataView-Cdrj2-_S.js +0 -91
  87. package/dist/assets/DataView.stories-C3-uJ4p2.js +0 -954
  88. package/dist/assets/DatePicker-BxTRZXpL.js +0 -1
  89. package/dist/assets/DatePicker-CV_LiOVN.js +0 -11
  90. package/dist/assets/DatePicker.stories-CybR6XBy.js +0 -133
  91. package/dist/assets/DateTimePicker-DFQrMMgz.js +0 -1
  92. package/dist/assets/DateTimePicker.stories-Bx4peuGE.js +0 -158
  93. package/dist/assets/Design Tokens-iEdY5-4y.js +0 -4
  94. package/dist/assets/Dialog-B5LWaL0C.js +0 -1
  95. package/dist/assets/Dialog.stories-M1TA90dU.js +0 -207
  96. package/dist/assets/DialogContent-DBoG8cPo.js +0 -1
  97. package/dist/assets/DialogTitle-6m4SWKSG.js +0 -1
  98. package/dist/assets/Divider-CtIp4StC.js +0 -1
  99. package/dist/assets/Divider.stories-DjRXEk1s.js +0 -5
  100. package/dist/assets/DocsRenderer-CFRXHY34-P8M6yttG.js +0 -2
  101. package/dist/assets/Documentation-D90FkF1l.js +0 -1
  102. package/dist/assets/Download-xLlaDLdW.js +0 -1
  103. package/dist/assets/Drawer-D3_c8kSj.js +0 -33
  104. package/dist/assets/Drawer.stories-D5ZaAWIB.js +0 -95
  105. package/dist/assets/EmptyState-BRinTaKa.js +0 -11
  106. package/dist/assets/EmptyState.stories-D-MGLqky.js +0 -11
  107. package/dist/assets/ExampleButton.stories-lZAq-r_i.js +0 -320
  108. package/dist/assets/Extending Translations-iDMcBEO1.js +0 -148
  109. package/dist/assets/ExternalLink-C7UPr4SL.js +0 -1
  110. package/dist/assets/Fade-DSMklDt3.js +0 -1
  111. package/dist/assets/Field-BVmhMv9m.js +0 -11
  112. package/dist/assets/FieldHint-BFs7d7f5.js +0 -1
  113. package/dist/assets/Fieldset-C7cnRgpz.js +0 -11
  114. package/dist/assets/Fieldset.stories-QZ3FrfNb.js +0 -15
  115. package/dist/assets/FileUploader.stories-CAXhIDLt.js +0 -58
  116. package/dist/assets/Filter-DIh5C0Cq.js +0 -1
  117. package/dist/assets/Folder-DTgm0zQ0.js +0 -1
  118. package/dist/assets/Form Field Accessibility-C_uLQOBv.js +0 -18
  119. package/dist/assets/Form-EZzJYIT7.js +0 -11
  120. package/dist/assets/Form.stories-D9GPQhfS.js +0 -69
  121. package/dist/assets/FormControlLabel-0yOoM5iA.js +0 -1
  122. package/dist/assets/FormGroup-B2pOz0HL.js +0 -1
  123. package/dist/assets/FormHelperText-CZEj6vhF.js +0 -1
  124. package/dist/assets/FormLabel-C4KesWyd.js +0 -1
  125. package/dist/assets/FullScreenOverlay-CbLDrzu3.js +0 -11
  126. package/dist/assets/Generating Icons-BlpStA4N.js +0 -16
  127. package/dist/assets/Globe-CLLXW_yR.js +0 -1
  128. package/dist/assets/Grid-CTO70W_E.js +0 -1
  129. package/dist/assets/Group-BQH7lDPW.js +0 -1
  130. package/dist/assets/GroupPicker _labs_.stories-D-jPedqU.js +0 -33
  131. package/dist/assets/Grow-CbLflC0D.js +0 -1
  132. package/dist/assets/Hide-E3YBylpY.js +0 -1
  133. package/dist/assets/Hint-qhf1AEE0.js +0 -11
  134. package/dist/assets/HintLink.stories-CYlMoTFx.js +0 -44
  135. package/dist/assets/Home-yAl98ghs.js +0 -1
  136. package/dist/assets/Icon _icons_.stories-D-AWLuB9.js +0 -16
  137. package/dist/assets/IconButton-DwJqCevw.js +0 -1
  138. package/dist/assets/IconWithTooltip _icons_.stories-DE5HwN5H.js +0 -19
  139. package/dist/assets/InformationCircle-By7rXsxW.js +0 -1
  140. package/dist/assets/InputAdornment-CrT6j38e.js +0 -1
  141. package/dist/assets/InputBase-Cc2rXj8N.js +0 -2
  142. package/dist/assets/Installing odyssey-react-mui-BXo5U9tZ.js +0 -216
  143. package/dist/assets/Introduction-DJ-EDw1b.js +0 -36
  144. package/dist/assets/Layout-DfnguYJ3.js +0 -11
  145. package/dist/assets/Layout.stories-DGtK-sb4.js +0 -285
  146. package/dist/assets/Legacy Migrations-BvJnbBns.js +0 -86
  147. package/dist/assets/Link-B0jVOXLw.js +0 -1
  148. package/dist/assets/Link-CaBVKAGj.js +0 -11
  149. package/dist/assets/Link-LYj8-DeM.js +0 -1
  150. package/dist/assets/Link-P2sjP-aD.js +0 -1
  151. package/dist/assets/Link.stories-i53_1Tpy.js +0 -38
  152. package/dist/assets/List-BcG-NsbC.js +0 -1
  153. package/dist/assets/List-DFK8p7ZW.js +0 -1
  154. package/dist/assets/ListItem-Bv1M9lel.js +0 -1
  155. package/dist/assets/ListSubheader-CBvKBAKL.js +0 -1
  156. package/dist/assets/ListSubheader.stories-C_l7xOCL.js +0 -5
  157. package/dist/assets/Menu-g2Uj1mcn.js +0 -1
  158. package/dist/assets/MenuButton-BAmmLodS.js +0 -11
  159. package/dist/assets/MenuButton.stories-CQVVoTy1.js +0 -246
  160. package/dist/assets/MenuContext-DKMyPMNY.js +0 -11
  161. package/dist/assets/MenuItem-CJ8f1-Gg.js +0 -1
  162. package/dist/assets/MenuItem-DR63CY7B.js +0 -1
  163. package/dist/assets/MenuItem.stories-BOWN4pFz.js +0 -38
  164. package/dist/assets/MenuList-sllDVDo3.js +0 -1
  165. package/dist/assets/Modal-D0XtQHFw.js +0 -1
  166. package/dist/assets/More-CXrgFSVS.js +0 -1
  167. package/dist/assets/MuiPropsContext-DhRylJZk.js +0 -11
  168. package/dist/assets/NativeSelect.stories-SugLBKz7.js +0 -173
  169. package/dist/assets/Notification-08pZljJb.js +0 -1
  170. package/dist/assets/OdysseyProvider-YUKfsUrL.js +0 -76
  171. package/dist/assets/OdysseyStorybookThemeDecorator-DsQ8XVOG.js +0 -1
  172. package/dist/assets/OdysseyThemeProvider-uYQ_l8PJ.js +0 -189
  173. package/dist/assets/PageHeader.stories-Bl-DdoS-.js +0 -364
  174. package/dist/assets/PageHeader.stories-CloMCl88.js +0 -57
  175. package/dist/assets/PageTemplate _labs_-Dm7sBdz9.js +0 -8
  176. package/dist/assets/PageTemplate _labs_.stories-Cz0PIbrs.js +0 -306
  177. package/dist/assets/PageTemplate-Bst4OydU.js +0 -21
  178. package/dist/assets/PageTemplate.stories-CeRObmlQ.js +0 -205
  179. package/dist/assets/PaginatedTable _labs_.stories-UxmUHrH9.js +0 -65
  180. package/dist/assets/Pagination-iboAjua_.js +0 -11
  181. package/dist/assets/Pagination.stories-BCbuKsR4.js +0 -17
  182. package/dist/assets/Paper-BGSgbZC6.js +0 -1
  183. package/dist/assets/PasswordField.stories-DKFTzpqb.js +0 -121
  184. package/dist/assets/Picker _labs_.stories-BPfssL8O.js +0 -18
  185. package/dist/assets/PickerWithOptionAdornment _labs_.stories-rMUH3rtj.js +0 -70
  186. package/dist/assets/PlaceholderLogo-JfVvgA23.js +0 -11
  187. package/dist/assets/Popper-vW9B5iyN.js +0 -1
  188. package/dist/assets/Portal-ev1Y_qJb.js +0 -1
  189. package/dist/assets/ProgressBar.stories-VEY_ihAE.js +0 -311
  190. package/dist/assets/Radio-4dniU8ku.js +0 -1
  191. package/dist/assets/Radio-CnmlQGNx.js +0 -1
  192. package/dist/assets/Radio.stories-DyJFXoBq.js +0 -63
  193. package/dist/assets/RadioGroup-C_VrT_hm.js +0 -10
  194. package/dist/assets/RadioGroup-DxwohQ69.js +0 -1
  195. package/dist/assets/RadioGroup-GPUhtH5i.js +0 -1
  196. package/dist/assets/RadioGroup.stories-pF3uSMSb.js +0 -138
  197. package/dist/assets/Refresh-djvJkW-o.js +0 -1
  198. package/dist/assets/ResourceAccessPolicyComponentsStorybookThemeDecorator-CmW-AnrB.js +0 -212
  199. package/dist/assets/Right-to-Left (RTL)-DpiFoQRN.js +0 -62
  200. package/dist/assets/ScreenReaderText-CQNs2mcT.js +0 -1
  201. package/dist/assets/ScreenReaderText-DgymQTv2.js +0 -15
  202. package/dist/assets/ScreenReaderText.stories-DCOADRMP.js +0 -8
  203. package/dist/assets/Search-BdL9PIj1.js +0 -1
  204. package/dist/assets/SearchDropdown _labs_.stories-DISXh7bC.js +0 -53
  205. package/dist/assets/SearchField-C-y7eHW0.js +0 -1
  206. package/dist/assets/SearchField.stories-7IOflkmE.js +0 -37
  207. package/dist/assets/Select-BcdWA_SU.js +0 -1
  208. package/dist/assets/Select-mT9rgyNE.js +0 -15
  209. package/dist/assets/Select.stories-CBn0BmaJ.js +0 -233
  210. package/dist/assets/Server-BjJU0LGG.js +0 -1
  211. package/dist/assets/Settings-CjZSn0DO.js +0 -1
  212. package/dist/assets/Setup-B9xdxAqK.js +0 -7
  213. package/dist/assets/Shadow DOM-DQqEg_OE.js +0 -64
  214. package/dist/assets/Show-Blc9FMhI.js +0 -1
  215. package/dist/assets/SideNav-VVxkM7xa.js +0 -85
  216. package/dist/assets/SideNav-a8fqWzAH.js +0 -131
  217. package/dist/assets/SideNav.stories-C0ROmHeE.js +0 -207
  218. package/dist/assets/Skeleton-BSJpuJ78.js +0 -51
  219. package/dist/assets/Snackbar-BY4-2ak2.js +0 -1
  220. package/dist/assets/Stack-Co_ZNMgX.js +0 -1
  221. package/dist/assets/Stack-jRk0Yp6q.js +0 -1
  222. package/dist/assets/Stack.stories-Dt0hIC8B.js +0 -1
  223. package/dist/assets/StaticTable _labs_.stories-Dwx7A_WU.js +0 -34
  224. package/dist/assets/Status-BbCnhdhJ.js +0 -1
  225. package/dist/assets/Status.stories-DW2Kp-Dt.js +0 -66
  226. package/dist/assets/Stepper.stories-DDaIDnwk.js +0 -564
  227. package/dist/assets/Surface-Ceuyc0F6.js +0 -1
  228. package/dist/assets/Switch.stories-bT5JBB7t.js +0 -72
  229. package/dist/assets/SwitchBase-DDdOwpAs.js +0 -1
  230. package/dist/assets/Sync-BUHhhjqx.js +0 -1
  231. package/dist/assets/Tabs-AOq_ZOqc.js +0 -1
  232. package/dist/assets/Tabs-DAl04bRj.js +0 -23
  233. package/dist/assets/Tabs.stories-nDuOOblr.js +0 -100
  234. package/dist/assets/Tag-DPyljaiU.js +0 -11
  235. package/dist/assets/Tag.stories-dG5LwGHg.js +0 -96
  236. package/dist/assets/TagList-DcY5amcr.js +0 -1
  237. package/dist/assets/TextField-DvELiaRt.js +0 -1
  238. package/dist/assets/TextField.stories-B8dPipzE.js +0 -177
  239. package/dist/assets/Toast.stories-CU2mbz7X.js +0 -164
  240. package/dist/assets/ToastManager.stories-CNHdRjYp.js +0 -196
  241. package/dist/assets/Tooltip-Bx__kQJp.js +0 -11
  242. package/dist/assets/Tooltip-gH7ETEPn.js +0 -1
  243. package/dist/assets/Tooltip.stories-Dh10ZcLO.js +0 -68
  244. package/dist/assets/TopNav-CwC-Hfu7.js +0 -11
  245. package/dist/assets/TopNav.stories-CHynTSTq.js +0 -13
  246. package/dist/assets/TransitionGroupContext-DAL84N7p.js +0 -1
  247. package/dist/assets/Typography-BIFhmR2K.js +0 -1
  248. package/dist/assets/Typography-Cy2gjnNe.js +0 -1
  249. package/dist/assets/Typography-Dl4InsuU.js +0 -9
  250. package/dist/assets/Typography-gfYWxfhb.js +0 -1
  251. package/dist/assets/Typography.stories-BBqx1A0N.js +0 -139
  252. package/dist/assets/Typography.stories-CWHWJK4j.js +0 -73
  253. package/dist/assets/UiShell.stories-DR8ntSCC.js +0 -558
  254. package/dist/assets/UiShellProvider-Cr2Lr10c.js +0 -31
  255. package/dist/assets/Upload-BmwJgpFZ.js +0 -1
  256. package/dist/assets/User-DR3B8-Pw.js +0 -1
  257. package/dist/assets/UserProfile-Cra6rpT4.js +0 -11
  258. package/dist/assets/UserProfile.stories-BHXBhH-A.js +0 -14
  259. package/dist/assets/UserProfileMenuButton.stories-CbIX2qVe.js +0 -30
  260. package/dist/assets/Video-BrBarEGj.js +0 -1
  261. package/dist/assets/WorkflowsComponentsStorybookThemeDecorator-dm_9FhMX.js +0 -197
  262. package/dist/assets/_commonjsHelpers-gnU0ypJ3.js +0 -1
  263. package/dist/assets/assertThisInitialized-B9jnkVVz.js +0 -1
  264. package/dist/assets/axe-4JP0vCEZ.js +0 -30
  265. package/dist/assets/axeRun-B-LchFqf.js +0 -11
  266. package/dist/assets/chunk-XP5HYGXS-BpfKkqn7.js +0 -1
  267. package/dist/assets/client-ByW5HbEz.js +0 -1
  268. package/dist/assets/colorManipulator-BxsGKdcY.js +0 -1
  269. package/dist/assets/constants-CGUp4oSR.js +0 -11
  270. package/dist/assets/constants-CyailK6t.js +0 -11
  271. package/dist/assets/createBox-emhTu6dS.js +0 -1
  272. package/dist/assets/createChainedFunction-BO_9K8Jh.js +0 -1
  273. package/dist/assets/createStyled-B09qmfVW.js +0 -1
  274. package/dist/assets/createSvgIcon-SdTF6s8l.js +0 -1
  275. package/dist/assets/createUniqueId-BHjR7HQF.js +0 -11
  276. package/dist/assets/debounce-Be36O1Ab.js +0 -1
  277. package/dist/assets/dialogActionsClasses-Dyfou6Pj.js +0 -1
  278. package/dist/assets/dom.esm-B9r8vBgQ.js +0 -65
  279. package/dist/assets/emotion-react-jsx-runtime.browser.esm-DyRr7bu9.js +0 -1
  280. package/dist/assets/entry-preview-8rdU1LSP.js +0 -2
  281. package/dist/assets/entry-preview-docs-BKXv92OK.js +0 -46
  282. package/dist/assets/fieldComponentPropsMetaData-kU3Yruac.js +0 -11
  283. package/dist/assets/getReactElementRef-CYW9xr5m.js +0 -1
  284. package/dist/assets/getScrollbarSize-Bqq2hMjQ.js +0 -1
  285. package/dist/assets/i18next-7SyOfhCu.js +0 -1
  286. package/dist/assets/iconUtils-IdK4hqQS.js +0 -11
  287. package/dist/assets/iframe-B5wE2ay9.js +0 -211
  288. package/dist/assets/index-B-lxVbXh.js +0 -1
  289. package/dist/assets/index-B5xazMy1.js +0 -1
  290. package/dist/assets/index-BJMTVygn.js +0 -240
  291. package/dist/assets/index-BJTM6NaI.js +0 -192
  292. package/dist/assets/index-BeeV6X6A.js +0 -1
  293. package/dist/assets/index-Bg123T1w.js +0 -1
  294. package/dist/assets/index-CXQShRbs.js +0 -8
  295. package/dist/assets/index-DI1lVgTb.js +0 -1
  296. package/dist/assets/index-DiEiQB-f.js +0 -384
  297. package/dist/assets/index-DieBXP3Z.js +0 -24
  298. package/dist/assets/index-DrFu-skq.js +0 -6
  299. package/dist/assets/index-NdkWRN8K.js +0 -9
  300. package/dist/assets/index.esm-CSagFIBX.js +0 -138
  301. package/dist/assets/index.esm-CcYwRB5x.js +0 -1
  302. package/dist/assets/index.modern-CkASn_bb.js +0 -14
  303. package/dist/assets/inheritsLoose-6wpAF9yl.js +0 -1
  304. package/dist/assets/inputUtils-Dbi8XkA6.js +0 -11
  305. package/dist/assets/isHostComponent-DVu5iVWx.js +0 -1
  306. package/dist/assets/jsx-runtime-CnH95YSl.js +0 -9
  307. package/dist/assets/matchers-7Z3WT2CE-T3xScrR7.js +0 -14
  308. package/dist/assets/ownerDocument-DW-IO8s5.js +0 -1
  309. package/dist/assets/ownerWindow-HkKU3E4x.js +0 -1
  310. package/dist/assets/personData-D_hHWF6B.js +0 -1
  311. package/dist/assets/personData-FNT5LNaA.js +0 -11
  312. package/dist/assets/pickerComponentPropsMetadata-DrOyW8Hu.js +0 -21
  313. package/dist/assets/popper-BXFsSIrb.js +0 -1
  314. package/dist/assets/preview-B0Jk1i10.js +0 -11
  315. package/dist/assets/preview-B8lJiyuQ.js +0 -34
  316. package/dist/assets/preview-BBWR9nbA.js +0 -1
  317. package/dist/assets/preview-BWzBA1C2.js +0 -396
  318. package/dist/assets/preview-BaoH-L4j.js +0 -1
  319. package/dist/assets/preview-CYp4EYYZ.js +0 -1
  320. package/dist/assets/preview-CvbIS5ZJ.js +0 -1
  321. package/dist/assets/preview-DGUiP6tS.js +0 -7
  322. package/dist/assets/preview-DHQbi4pV.js +0 -1
  323. package/dist/assets/preview-DtECuC7p.js +0 -2
  324. package/dist/assets/preview-MBifGIx_.js +0 -1
  325. package/dist/assets/preview-nv3jWDyz.js +0 -2
  326. package/dist/assets/pxToRem-BrMhKUxS.js +0 -11
  327. package/dist/assets/react-18-u8niHpKc.js +0 -1
  328. package/dist/assets/renderUiShell.stories-uAoeUcRt.js +0 -872
  329. package/dist/assets/resolveComponentProps-zX2d3UUb.js +0 -1
  330. package/dist/assets/tableSortLabelClasses-t0B4WNP1.js +0 -1
  331. package/dist/assets/test-utils-H9lH7T5D.js +0 -9
  332. package/dist/assets/uiShellSharedConstants-CvCey4L_.js +0 -11
  333. package/dist/assets/useAutocomplete-CkesXhEs.js +0 -11
  334. package/dist/assets/useControlled-NQulfz4l.js +0 -1
  335. package/dist/assets/useFormControl-BMISTZuX.js +0 -1
  336. package/dist/assets/useIsFocusVisible-DH0qxT5e.js +0 -1
  337. package/dist/assets/useMobilePicker-DEUQ7oE6.js +0 -6
  338. package/dist/assets/useMountLifecycleEffect-CjsUCFhB.js +0 -11
  339. package/dist/assets/useOdysseyDateFields-_3ZdpiPL.js +0 -61
  340. package/dist/assets/useScrollIndication-DEbEqkqk.js +0 -31
  341. package/dist/assets/useSlot-bWb1W-uo.js +0 -1
  342. package/dist/assets/useStoryArgOrLocalState-CRQAGSTX.js +0 -11
  343. package/dist/assets/useThemeProps-4A-zY4M2.js +0 -1
  344. package/dist/assets/useThemeProps-DOJ_m4Vc.js +0 -1
  345. package/dist/assets/useUniqueId-DUzAQ6pl.js +0 -11
  346. package/dist/assets/utilities.esm-DpQ0TZP_.js +0 -5
  347. package/dist/assets/utils-iop7lDec.js +0 -1
  348. package/dist/assets/utils-uddq32f3.js +0 -1
  349. package/dist/assets/v4-CtRu48qb.js +0 -1
  350. package/dist/assets/visuallyHidden-Dan1xhjv.js +0 -1
  351. package/dist/favicon.svg +0 -1
  352. package/dist/iframe.html +0 -748
  353. package/dist/index.cjs +0 -231
  354. package/dist/index.d.ts +0 -233
  355. package/dist/index.html +0 -203
  356. package/dist/index.json +0 -1
  357. package/dist/index.mjs +0 -229
  358. package/dist/index.scss +0 -549
  359. package/dist/nunito-sans-bold-italic.woff2 +0 -0
  360. package/dist/nunito-sans-bold.woff2 +0 -0
  361. package/dist/nunito-sans-italic.woff2 +0 -0
  362. package/dist/nunito-sans-regular.woff2 +0 -0
  363. package/dist/project.json +0 -1
  364. package/dist/sb-addons/a11y-3/manager-bundle.js +0 -220
  365. package/dist/sb-addons/docs-1/manager-bundle.js +0 -242
  366. package/dist/sb-addons/essentials-actions-5/manager-bundle.js +0 -3
  367. package/dist/sb-addons/essentials-backgrounds-6/manager-bundle.js +0 -12
  368. package/dist/sb-addons/essentials-controls-4/manager-bundle.js +0 -402
  369. package/dist/sb-addons/essentials-measure-9/manager-bundle.js +0 -3
  370. package/dist/sb-addons/essentials-outline-10/manager-bundle.js +0 -3
  371. package/dist/sb-addons/essentials-toolbars-8/manager-bundle.js +0 -3
  372. package/dist/sb-addons/essentials-viewport-7/manager-bundle.js +0 -3
  373. package/dist/sb-addons/interactions-11/manager-bundle.js +0 -222
  374. package/dist/sb-addons/links-2/manager-bundle.js +0 -3
  375. package/dist/sb-addons/rtl-12/manager-bundle.js +0 -3
  376. package/dist/sb-addons/storybook-13/manager-bundle.js +0 -3
  377. package/dist/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
  378. package/dist/sb-common-assets/favicon.svg +0 -1
  379. package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  380. package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  381. package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  382. package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  383. package/dist/sb-manager/globals-module-info.js +0 -1052
  384. package/dist/sb-manager/globals-runtime.js +0 -42127
  385. package/dist/sb-manager/globals.js +0 -48
  386. package/dist/sb-manager/runtime.js +0 -12048
@@ -1,207 +0,0 @@
1
- import{j as e}from"./jsx-runtime-CnH95YSl.js";import{w as R,u as S,s as L}from"./index-BJMTVygn.js";import{O as N}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{u as w}from"./useStoryArgOrLocalState-CRQAGSTX.js";import{M as m,D as n}from"./Dialog-B5LWaL0C.js";import{M as s}from"./Button-NJfX6YsF.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./OdysseyThemeProvider-uYQ_l8PJ.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-YUKfsUrL.js";import"./FullScreenOverlay-CbLDrzu3.js";import"./useUniqueId-DUzAQ6pl.js";import"./createUniqueId-BHjR7HQF.js";import"./Typography-BIFhmR2K.js";import"./DialogContent-DBoG8cPo.js";import"./utils-uddq32f3.js";import"./inheritsLoose-6wpAF9yl.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./TransitionGroupContext-DAL84N7p.js";import"./Paper-BGSgbZC6.js";import"./Fade-DSMklDt3.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./getReactElementRef-CYW9xr5m.js";import"./resolveComponentProps-zX2d3UUb.js";import"./isHostComponent-DVu5iVWx.js";import"./Modal-D0XtQHFw.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-ev1Y_qJb.js";import"./dialogActionsClasses-Dyfou6Pj.js";import"./DialogTitle-6m4SWKSG.js";import"./BaseButton-CPts8Xl1.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-Bx__kQJp.js";import"./Tooltip-gH7ETEPn.js";import"./Grow-CbLflC0D.js";import"./useControlled-NQulfz4l.js";import"./Popper-vW9B5iyN.js";import"./popper-BXFsSIrb.js";import"./Button-dStBbGjZ.js";import"./ButtonBase-Wolvis_2.js";import"./assertThisInitialized-B9jnkVVz.js";const{useCallback:u}=__STORYBOOK_MODULE_PREVIEW_API__,Ie={component:m,decorators:[N],tags:["autodocs"],argTypes:{primaryCallToActionComponent:{control:!1,description:"An optional Button object to be situated in the Dialog footer. Should almost always be of variant `primary`, see [Button](../?path=/docs/odyssey-core-button--docs) for usage and available props",table:{category:"Visual",type:{summary:"<Button />"}}},secondaryCallToActionComponent:{control:!1,description:"An optional Button object to be situated in the Dialog footer, alongside the `primaryCallToActionComponent`, see [Button](../?path=/docs/odyssey-core-button--docs) for usage and available props",table:{category:"Visual",type:{summary:"<Button />"}}},tertiaryCallToActionComponent:{control:!1,description:"An optional Button object to be situated in the Dialog footer, alongside the other two `callToAction` components, see [Button](../?path=/docs/odyssey-core-button--docs) for usage and available props",table:{category:"Visual",type:{summary:"<Button />"}}},children:{control:"text",description:"The content of the Dialog. May be a `string` or any other `ReactNode` or array of `ReactNode`s",table:{category:"Visual",type:{summary:"ReactNode | Array<ReactNode>"}},type:{required:!0,name:"other",value:"ReactNode | Array<ReactNode>"}},isOpen:{control:"boolean",description:"When set to `true`, the Dialog will be visible",table:{category:"Functional",type:{summary:"boolean"}},type:{required:!0,name:"boolean"}},onClose:{control:!1,description:"Callback that controls what happens when the dialog is dismissed",table:{category:"Functional",type:{summary:"func"}}},title:{control:"text",table:{category:"Visual",type:{summary:"string"}},type:{required:!0,name:"string"}}},args:{children:"Description text explaining the consequences and any alternatives. Limit to two lines if possible",isOpen:!1,title:"Dialog title"}},f=async({canvasElement:o,step:t})=>{await t("Check Dialog",async()=>{const a=R(o).getByText("Open dialog");await S.click(a),await L.findByRole("dialog")})},O={render:function(t,c){const{value:a,setValue:i}=w({args:t,context:c,argKey:"isOpen",defaultValue:t.isOpen??!1}),p=u(()=>{i(!0)},[i]),r=u(()=>{i(!1)},[i]);return e.jsxs(e.Fragment,{children:[e.jsx(s,{label:"Open dialog",onClick:p,variant:"primary"}),e.jsx(m,{...t,isOpen:a,onClose:r,primaryCallToActionComponent:e.jsx(s,{label:"Primary action",onClick:r,variant:"primary"}),secondaryCallToActionComponent:e.jsx(s,{label:"Secondary action",onClick:r,variant:"secondary"}),tertiaryCallToActionComponent:e.jsx(s,{label:"Tertiary action",onClick:r,variant:"floating"})})]})}},l={...O,play:async({canvasElement:o,step:t})=>{await f({canvasElement:o,step:t})},tags:["!autodocs"]},d={...O,parameters:{docs:{description:{story:"If the `Dialog` content is longer than the available space, the body will automatically receive top and bottom borders to indicate scrollability"}}},argTypes:{children:{control:!1}},args:{children:e.jsxs(e.Fragment,{children:[e.jsx(n,{children:"For example, a Contributor (the Initial Developer in (a) the power, direct or indirect, to cause the whole must be sufficiently detailed for a particular version of the Work, you may distribute a complete, unmodified copy of the operating system on which the editorial revisions, annotations, elaborations, or other work as a result of any kind, either expressed or implied, including, without limitation, Section 2. Any Modifications that alter or restrict this License incorporates the limitation as if written in the Work that has Contributed a Contribution incorporated within the Work. This license has been advised of the Work. This could, for example, why distributing LaTeX under the GNU Library General Public License from time to time. Each version will be given a distinguishing version number."}),e.jsx(n,{children:"If the Recipient may use this wording to make the derivative work available to such recipients. You are located in the case of each Contributor, changes to the combination of their Contribution(s) alone or when combined with the complete corresponding machine-readable source code, which must be included with each copy of this License Agreement (except that you distribute, to contain a file containing Original Code or Modifications that you include complete instructions on demand or cease distribution within thirty (30) days of becoming aware of the LaTeX Project Public License, either version 2 of the date You accept this license. Provisions that, by their nature, should remain in effect beyond the termination of this Agreement more than fifty percent (50%) of the Source Code or any derivative version, provided, however, that the Source Code of Your Externally Deployed Modifications must be included in the course of creating the Derived Work."}),e.jsx(n,{children:'You distribute the Source Code version of Licensed Product has been generated from a designated place, then offering equivalent access to copy the source code. Distribution Mechanism"). The Source Code of the date that such additional attribution requirements to the following terms are defined when they are first used, and the date it initially became available, or at least the "copyright" line and a pointer to where the Work unless that component is used with the Wikimedia community. Text from external sources may attach additional attribution requirements to the terms of this License Agreement will be guided by the terms under which it was received. In addition, after a new version of the Derivative Works that consist of the use or not licensed at no charge to all third parties, if you received it. Distribution of only part of the Work and reproducing the content of the Work, but excluding communication that is used under "fair use" exemptions, or similar exemptions of copyright (separated by comma, not as a result of any warranty; and give any other trademarks, service marks, logos or trade names "Apple", "Apple Computer", "Mac", "Mac OS", "QuickTime", "QuickTime Streaming Server" or any subsequent version of the Initial Developer or such Contributor by reason of your rights to a patent infringement against Apple; provided that you receive from any Contributor. Disclaimer of Warranty: THE PACKAGE IS PROVIDED "AS IS" BASIS, WITHOUT WARRANTY OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION OF LIABILITY SHALL NOT BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO THE LICENSED PRODUCT IS FREE OF CHARGE, THERE IS NO WARRANTY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY CLAIM, DAMAGES OR OTHER TORTIOUS ACTION, ARISING OUT OF THE POSSIBILITY OF SUCH DAMAGES. GENERAL If any Recipient extracts Embedded Fonts of the Licensed Program.'}),e.jsx(n,{children:"The Recipient may conduct Reproduction and Other Exploitation of the Work, though it does not create potential liability for other Contributors. No hardware per se is licensed hereunder. Recipient understands that although Apple and each Contributor hereby grants You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as part of a Larger Work, in any form other than such Participant's Contributor Version directly or indirectly infringes any patent, then any and all rights granted by this license; they are willing to receive error reports for the physical act of running the Work constitutes direct or indirect, to cause the direction or management of such termination, the Recipient may select either this Agreement , including but not limited to, loss of data, programs or works based on the Program in a more-or-less customary fashion, plus the scripts used to endorse or promote products derived from the contents of a Larger Work, in any medium without restriction, provided that such litigation is filed. All Recipient's rights under this License Agreement."}),e.jsx(n,{children:"ACCEPT CWI LICENSE AGREEMENT is between the Python Software Foundation; All Rights Reserved. In addition, after a new version of this Package in a manner that reasonably allows subsequent Recipients to identify the originator of its contributors may be used to control compilation and installation of the source code. And you must tell them their rights. We protect your rights with two steps: (1) copyright the software, or if you distribute must include a copy of this section do not download or use the Work and Derivative Works as products under any other entity based on or through a hyperlink (where possible) or URL to an alternative, stable online copy which is freely accessible, which conforms with the distribution."}),e.jsx(n,{children:"Neither the name of the Program. Contributors may not be used in advertising or publicity pertaining to distribution of a storage or distribution of the use is attributed and the intellectual property rights or licenses to the community even when you distribute of the Copyright Holder of a part or all of the Derived Work must provide sufficient documentation as part of your own. The scripts and library files supplied as input to or deletion from the Sun Public License. Of course, the commands you use `maintained', as the (new) Current Maintainer."}),e.jsx(n,{children:"You should preferably distribute the Program by such Participant, or (ii) a license of your Derivative Works a copy of this License with respect to disputes in which case the failure of the Work that has contributed code or can get it if you distribute the Executable version or as part of a modification, addition, deletion, replacement or any Contributor that the Source form. Permission for Use and Modification Without Distribution (1) You are permitted provided that you comply with any of the Covered Code which are properly granted shall survive any termination of this License, You may charge fees for other programs. The license agreements of most software are designed to make it enforceable."}),e.jsx(n,{children:"This License to distribute copies of the Package, if it was received. In addition, after a new version of this License. If You distribute or change NetHack. COPYING POLICIES You may Distribute Compiled forms of the Licensed Product, or for a recipient of ordinary skill to be bound by the parties hereto, such provision shall be deemed a waiver of future enforcement of that version. You may distribute Licensed Product under the terms applicable to software source code, to be covered by this License; and You hereby grant to any trademark, service mark, tradename, or logo of the Modified Version."})]}),title:"Cryosleep liability waiver"},play:async({canvasElement:o,step:t})=>{await f({canvasElement:o,step:t})}},h={render:function(t,c){const{value:a,setValue:i}=w({args:t,context:c,argKey:"isOpen",defaultValue:t.isOpen??!1}),p=u(()=>{i(!0)},[i]),r=u(()=>{i(!1)},[i]);return e.jsxs(e.Fragment,{children:[e.jsx(s,{label:"Open dialog",onClick:p,variant:"primary"}),e.jsx(m,{...t,isOpen:a,onClose:r})]})},play:async({canvasElement:o,step:t})=>{await f({canvasElement:o,step:t})}};var y,g,b;l.parameters={...l.parameters,docs:{...(y=l.parameters)==null?void 0:y.docs,source:{originalSource:`{
2
- ...DefaultTemplate,
3
- play: async ({
4
- canvasElement,
5
- step
6
- }: PlaywrightProps<DialogProps>) => {
7
- await findDialogElement({
8
- canvasElement,
9
- step
10
- });
11
- },
12
- tags: ["!autodocs"]
13
- }`,...(b=(g=l.parameters)==null?void 0:g.docs)==null?void 0:b.source}}};var T,E,A;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{
14
- ...DefaultTemplate,
15
- parameters: {
16
- docs: {
17
- description: {
18
- story: "If the \`Dialog\` content is longer than the available space, the body will automatically receive top and bottom borders to indicate scrollability"
19
- }
20
- }
21
- },
22
- argTypes: {
23
- children: {
24
- control: false
25
- }
26
- },
27
- args: {
28
- children: <>
29
- <DialogContentText>
30
- For example, a Contributor (the Initial Developer in (a) the power,
31
- direct or indirect, to cause the whole must be sufficiently detailed
32
- for a particular version of the Work, you may distribute a complete,
33
- unmodified copy of the operating system on which the editorial
34
- revisions, annotations, elaborations, or other work as a result of any
35
- kind, either expressed or implied, including, without limitation,
36
- Section 2. Any Modifications that alter or restrict this License
37
- incorporates the limitation as if written in the Work that has
38
- Contributed a Contribution incorporated within the Work. This license
39
- has been advised of the Work. This could, for example, why
40
- distributing LaTeX under the GNU Library General Public License from
41
- time to time. Each version will be given a distinguishing version
42
- number.
43
- </DialogContentText>
44
- <DialogContentText>
45
- If the Recipient may use this wording to make the derivative work
46
- available to such recipients. You are located in the case of each
47
- Contributor, changes to the combination of their Contribution(s) alone
48
- or when combined with the complete corresponding machine-readable
49
- source code, which must be included with each copy of this License
50
- Agreement (except that you distribute, to contain a file containing
51
- Original Code or Modifications that you include complete instructions
52
- on demand or cease distribution within thirty (30) days of becoming
53
- aware of the LaTeX Project Public License, either version 2 of the
54
- date You accept this license. Provisions that, by their nature, should
55
- remain in effect beyond the termination of this Agreement more than
56
- fifty percent (50%) of the Source Code or any derivative version,
57
- provided, however, that the Source Code of Your Externally Deployed
58
- Modifications must be included in the course of creating the Derived
59
- Work.
60
- </DialogContentText>
61
- <DialogContentText>
62
- You distribute the Source Code version of Licensed Product has been
63
- generated from a designated place, then offering equivalent access to
64
- copy the source code. Distribution Mechanism"). The Source Code of the
65
- date that such additional attribution requirements to the following
66
- terms are defined when they are first used, and the date it initially
67
- became available, or at least the "copyright" line and a pointer to
68
- where the Work unless that component is used with the Wikimedia
69
- community. Text from external sources may attach additional
70
- attribution requirements to the terms of this License Agreement will
71
- be guided by the terms under which it was received. In addition, after
72
- a new version of the Derivative Works that consist of the use or not
73
- licensed at no charge to all third parties, if you received it.
74
- Distribution of only part of the Work and reproducing the content of
75
- the Work, but excluding communication that is used under "fair use"
76
- exemptions, or similar exemptions of copyright (separated by comma,
77
- not as a result of any warranty; and give any other trademarks,
78
- service marks, logos or trade names "Apple", "Apple Computer", "Mac",
79
- "Mac OS", "QuickTime", "QuickTime Streaming Server" or any subsequent
80
- version of the Initial Developer or such Contributor by reason of your
81
- rights to a patent infringement against Apple; provided that you
82
- receive from any Contributor. Disclaimer of Warranty: THE PACKAGE IS
83
- PROVIDED "AS IS" BASIS, WITHOUT WARRANTY OF MERCHANTABILITY AND
84
- FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE WARRANTIES
85
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
86
- IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE TO YOU FOR DAMAGES,
87
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
88
- SO THIS LIMITATION OF LIABILITY SHALL NOT BE LIABLE FOR ANY SPECIAL,
89
- INDIRECT OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO THE
90
- LICENSED PRODUCT IS FREE OF CHARGE, THERE IS NO WARRANTY EXCEPT AS
91
- EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
92
- CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY CLAIM, DAMAGES OR OTHER
93
- TORTIOUS ACTION, ARISING OUT OF THE POSSIBILITY OF SUCH DAMAGES.
94
- GENERAL If any Recipient extracts Embedded Fonts of the Licensed
95
- Program.
96
- </DialogContentText>
97
- <DialogContentText>
98
- The Recipient may conduct Reproduction and Other Exploitation of the
99
- Work, though it does not create potential liability for other
100
- Contributors. No hardware per se is licensed hereunder. Recipient
101
- understands that although Apple and each Contributor hereby grants You
102
- a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
103
- irrevocable (except as part of a Larger Work, in any form other than
104
- such Participant's Contributor Version directly or indirectly
105
- infringes any patent, then any and all rights granted by this license;
106
- they are willing to receive error reports for the physical act of
107
- running the Work constitutes direct or indirect, to cause the
108
- direction or management of such termination, the Recipient may select
109
- either this Agreement , including but not limited to, loss of data,
110
- programs or works based on the Program in a more-or-less customary
111
- fashion, plus the scripts used to endorse or promote products derived
112
- from the contents of a Larger Work, in any medium without restriction,
113
- provided that such litigation is filed. All Recipient's rights under
114
- this License Agreement.
115
- </DialogContentText>
116
- <DialogContentText>
117
- ACCEPT CWI LICENSE AGREEMENT is between the Python Software
118
- Foundation; All Rights Reserved. In addition, after a new version of
119
- this Package in a manner that reasonably allows subsequent Recipients
120
- to identify the originator of its contributors may be used to control
121
- compilation and installation of the source code. And you must tell
122
- them their rights. We protect your rights with two steps: (1)
123
- copyright the software, or if you distribute must include a copy of
124
- this section do not download or use the Work and Derivative Works as
125
- products under any other entity based on or through a hyperlink (where
126
- possible) or URL to an alternative, stable online copy which is freely
127
- accessible, which conforms with the distribution.
128
- </DialogContentText>
129
- <DialogContentText>
130
- Neither the name of the Program. Contributors may not be used in
131
- advertising or publicity pertaining to distribution of a storage or
132
- distribution of the use is attributed and the intellectual property
133
- rights or licenses to the community even when you distribute of the
134
- Copyright Holder of a part or all of the Derived Work must provide
135
- sufficient documentation as part of your own. The scripts and library
136
- files supplied as input to or deletion from the Sun Public License. Of
137
- course, the commands you use \`maintained', as the (new) Current
138
- Maintainer.
139
- </DialogContentText>
140
- <DialogContentText>
141
- You should preferably distribute the Program by such Participant, or
142
- (ii) a license of your Derivative Works a copy of this License with
143
- respect to disputes in which case the failure of the Work that has
144
- contributed code or can get it if you distribute the Executable
145
- version or as part of a modification, addition, deletion, replacement
146
- or any Contributor that the Source form. Permission for Use and
147
- Modification Without Distribution (1) You are permitted provided that
148
- you comply with any of the Covered Code which are properly granted
149
- shall survive any termination of this License, You may charge fees for
150
- other programs. The license agreements of most software are designed
151
- to make it enforceable.
152
- </DialogContentText>
153
- <DialogContentText>
154
- This License to distribute copies of the Package, if it was received.
155
- In addition, after a new version of this License. If You distribute or
156
- change NetHack. COPYING POLICIES You may Distribute Compiled forms of
157
- the Licensed Product, or for a recipient of ordinary skill to be bound
158
- by the parties hereto, such provision shall be deemed a waiver of
159
- future enforcement of that version. You may distribute Licensed
160
- Product under the terms applicable to software source code, to be
161
- covered by this License; and You hereby grant to any trademark,
162
- service mark, tradename, or logo of the Modified Version.
163
- </DialogContentText>
164
- </>,
165
- title: "Cryosleep liability waiver"
166
- },
167
- play: async ({
168
- canvasElement,
169
- step
170
- }: PlaywrightProps<DialogProps>) => {
171
- await findDialogElement({
172
- canvasElement,
173
- step
174
- });
175
- }
176
- }`,...(A=(E=d.parameters)==null?void 0:E.docs)==null?void 0:A.source}}};var C,I,v;h.parameters={...h.parameters,docs:{...(C=h.parameters)==null?void 0:C.docs,source:{originalSource:`{
177
- render: function C(args, context) {
178
- const {
179
- value,
180
- setValue
181
- } = useStoryArgOrLocalState<DialogProps, "isOpen">({
182
- args,
183
- context,
184
- argKey: "isOpen",
185
- defaultValue: args.isOpen ?? false
186
- });
187
- const handleOpen = useCallback(() => {
188
- setValue(true);
189
- }, [setValue]);
190
- const handleClose = useCallback(() => {
191
- setValue(false);
192
- }, [setValue]);
193
- return <>
194
- <Button label="Open dialog" onClick={handleOpen} variant="primary" />
195
- <Dialog {...args} isOpen={value} onClose={handleClose} />
196
- </>;
197
- },
198
- play: async ({
199
- canvasElement,
200
- step
201
- }: PlaywrightProps<DialogProps>) => {
202
- await findDialogElement({
203
- canvasElement,
204
- step
205
- });
206
- }
207
- }`,...(v=(I=h.parameters)==null?void 0:I.docs)==null?void 0:v.source}}};const ve=["Default","Long","NoButtons"];export{l as Default,d as Long,h as NoButtons,ve as __namedExportsOrder,Ie as default};
@@ -1 +0,0 @@
1
- import{W as k,V as W,c as y,_ as M,b as t,A as O,s as g,d as x,e as d,f as S}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as u}from"./index-NdkWRN8K.js";import{u as q}from"./utils-uddq32f3.js";import{j as c}from"./jsx-runtime-CnH95YSl.js";import{P as j}from"./Paper-BGSgbZC6.js";import{F as G}from"./Fade-DSMklDt3.js";import{M as J,B as Q}from"./Modal-D0XtQHFw.js";import{g as Z}from"./dialogActionsClasses-Dyfou6Pj.js";function oo(o){return W("MuiDialog",o)}const v=k("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),eo=u.createContext({}),ao=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],io=g(Q,{name:"MuiDialog",slot:"Backdrop",overrides:(o,e)=>e.backdrop})({zIndex:-1}),to=o=>{const{classes:e,scroll:a,maxWidth:i,fullWidth:r,fullScreen:s}=o,l={root:["root"],container:["container",`scroll${d(a)}`],paper:["paper",`paperScroll${d(a)}`,`paperWidth${d(String(i))}`,r&&"paperFullWidth",s&&"paperFullScreen"]};return S(l,oo,e)},ro=g(J,{name:"MuiDialog",slot:"Root",overridesResolver:(o,e)=>e.root})({"@media print":{position:"absolute !important"}}),so=g("div",{name:"MuiDialog",slot:"Container",overridesResolver:(o,e)=>{const{ownerState:a}=o;return[e.container,e[`scroll${d(a.scroll)}`]]}})(({ownerState:o})=>t({height:"100%","@media print":{height:"auto"},outline:0},o.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},o.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),lo=g(j,{name:"MuiDialog",slot:"Paper",overridesResolver:(o,e)=>{const{ownerState:a}=o;return[e.paper,e[`scrollPaper${d(a.scroll)}`],e[`paperWidth${d(String(a.maxWidth))}`],a.fullWidth&&e.paperFullWidth,a.fullScreen&&e.paperFullScreen]}})(({theme:o,ownerState:e})=>t({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},e.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},e.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!e.maxWidth&&{maxWidth:"calc(100% - 64px)"},e.maxWidth==="xs"&&{maxWidth:o.breakpoints.unit==="px"?Math.max(o.breakpoints.values.xs,444):`max(${o.breakpoints.values.xs}${o.breakpoints.unit}, 444px)`,[`&.${v.paperScrollBody}`]:{[o.breakpoints.down(Math.max(o.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},e.maxWidth&&e.maxWidth!=="xs"&&{maxWidth:`${o.breakpoints.values[e.maxWidth]}${o.breakpoints.unit}`,[`&.${v.paperScrollBody}`]:{[o.breakpoints.down(o.breakpoints.values[e.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},e.fullWidth&&{width:"calc(100% - 64px)"},e.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${v.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Mo=u.forwardRef(function(e,a){const i=y({props:e,name:"MuiDialog"}),r=q(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":n,BackdropComponent:m,BackdropProps:A,children:N,className:F,disableEscapeKeyDown:P=!1,fullScreen:U=!1,fullWidth:_=!1,maxWidth:I="sm",onBackdropClick:$,onClick:B,onClose:b,open:R,PaperComponent:L=j,PaperProps:w={},scroll:E="paper",TransitionComponent:Y=G,transitionDuration:T=s,TransitionProps:X}=i,z=M(i,ao),f=t({},i,{disableEscapeKeyDown:P,fullScreen:U,fullWidth:_,maxWidth:I,scroll:E}),h=to(f),C=u.useRef(),H=p=>{C.current=p.target===p.currentTarget},K=p=>{B&&B(p),C.current&&(C.current=null,$&&$(p),b&&b(p,"backdropClick"))},D=O(n),V=u.useMemo(()=>({titleId:D}),[D]);return c.jsx(ro,t({className:x(h.root,F),closeAfterTransition:!0,components:{Backdrop:io},componentsProps:{backdrop:t({transitionDuration:T,as:m},A)},disableEscapeKeyDown:P,onClose:b,open:R,ref:a,onClick:K,ownerState:f},z,{children:c.jsx(Y,t({appear:!0,in:R,timeout:T,role:"presentation"},X,{children:c.jsx(so,{className:x(h.container),onMouseDown:H,ownerState:f,children:c.jsx(lo,t({as:L,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":D},w,{className:x(h.paper,w.className),ownerState:f,children:c.jsx(eo.Provider,{value:V,children:N})}))})}))}))}),no=["className","disableSpacing"],co=o=>{const{classes:e,disableSpacing:a}=o;return S({root:["root",!a&&"spacing"]},Z,e)},po=g("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:a}=o;return[e.root,!a.disableSpacing&&e.spacing]}})(({ownerState:o})=>t({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!o.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),So=u.forwardRef(function(e,a){const i=y({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:s=!1}=i,l=M(i,no),n=t({},i,{disableSpacing:s}),m=co(n);return c.jsx(po,t({className:x(m.root,r),ownerState:n,ref:a},l))});function uo(o){return W("MuiDialogContent",o)}k("MuiDialogContent",["root","dividers"]);function Po(o){return W("MuiDialogTitle",o)}const go=k("MuiDialogTitle",["root"]),mo=["className","dividers"],xo=o=>{const{classes:e,dividers:a}=o;return S({root:["root",a&&"dividers"]},uo,e)},fo=g("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:a}=o;return[e.root,a.dividers&&e.dividers]}})(({theme:o,ownerState:e})=>t({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},e.dividers?{padding:"16px 24px",borderTop:`1px solid ${(o.vars||o).palette.divider}`,borderBottom:`1px solid ${(o.vars||o).palette.divider}`}:{[`.${go.root} + &`]:{paddingTop:0}})),$o=u.forwardRef(function(e,a){const i=y({props:e,name:"MuiDialogContent"}),{className:r,dividers:s=!1}=i,l=M(i,mo),n=t({},i,{dividers:s}),m=xo(n);return c.jsx(fo,t({className:x(m.root,r),ownerState:n,ref:a},l))});export{eo as D,Mo as a,$o as b,So as c,v as d,Po as g};
@@ -1 +0,0 @@
1
- import{c as m,_ as d,s as u,b as x,d as f,f as g}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as i}from"./index-NdkWRN8K.js";import{D,g as T}from"./DialogContent-DBoG8cPo.js";import{j as h}from"./jsx-runtime-CnH95YSl.js";import{T as y}from"./Typography-BIFhmR2K.js";const C=["className","id"],R=s=>{const{classes:o}=s;return g({root:["root"]},T,o)},j=u(y,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(s,o)=>o.root})({padding:"16px 24px",flex:"0 0 auto"}),w=i.forwardRef(function(o,a){const t=m({props:o,name:"MuiDialogTitle"}),{className:l,id:e}=t,n=d(t,C),r=t,c=R(r),{titleId:p=e}=i.useContext(D);return h.jsx(j,x({component:"h2",className:f(c.root,l),ownerState:r,ref:a,variant:"h6",id:e??p},n))});export{w as D};
@@ -1 +0,0 @@
1
- import{c as A,_ as D,b as e,s as f,d as R,f as C,U as L,n as w}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as W}from"./index-NdkWRN8K.js";import{j as v}from"./jsx-runtime-CnH95YSl.js";const I=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],$=t=>{const{absolute:i,children:r,classes:l,flexItem:s,light:n,orientation:o,textAlign:a,variant:c}=t;return C({root:["root",i&&"absolute",c,n&&"light",o==="vertical"&&"vertical",s&&"flexItem",r&&"withChildren",r&&o==="vertical"&&"withChildrenVertical",a==="right"&&o!=="vertical"&&"textAlignRight",a==="left"&&o!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",o==="vertical"&&"wrapperVertical"]},L,l)},j=f("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,i)=>{const{ownerState:r}=t;return[i.root,r.absolute&&i.absolute,i[r.variant],r.light&&i.light,r.orientation==="vertical"&&i.vertical,r.flexItem&&i.flexItem,r.children&&i.withChildren,r.children&&r.orientation==="vertical"&&i.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&i.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&i.textAlignLeft]}})(({theme:t,ownerState:i})=>e({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},i.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},i.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:w.alpha(t.palette.divider,.08)},i.variant==="inset"&&{marginLeft:72},i.variant==="middle"&&i.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},i.variant==="middle"&&i.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},i.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},i.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>e({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:i})=>e({},i.children&&i.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}),({theme:t,ownerState:i})=>e({},i.children&&i.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:t})=>e({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),T=f("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,i)=>{const{ownerState:r}=t;return[i.wrapper,r.orientation==="vertical"&&i.wrapperVertical]}})(({theme:t,ownerState:i})=>e({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},i.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),B=W.forwardRef(function(i,r){const l=A({props:i,name:"MuiDivider"}),{absolute:s=!1,children:n,className:o,component:a=n?"div":"hr",flexItem:c=!1,light:p=!1,orientation:b="horizontal",role:h=a!=="hr"?"separator":void 0,textAlign:x="center",variant:u="fullWidth"}=l,m=D(l,I),d=e({},l,{absolute:s,component:a,flexItem:c,light:p,orientation:b,role:h,textAlign:x,variant:u}),g=$(d);return v.jsx(j,e({as:a,className:R(g.root,o),role:h,ref:r,ownerState:d},m,{children:n?v.jsx(T,{className:g.wrapper,ownerState:d,children:n}):null}))});B.muiSkipListHighlight=!0;export{B as D};
@@ -1,5 +0,0 @@
1
- import{j as r}from"./jsx-runtime-CnH95YSl.js";import{O as n}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{D as o}from"./Divider-CtIp4StC.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./OdysseyThemeProvider-uYQ_l8PJ.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-YUKfsUrL.js";Object.assign(o,{displayName:"Divider"});const f={component:o,decorators:[n],tags:["autodocs"],parameters:{docs:{description:{component:"`Divider` is provided for use inside `MenuButton` menus to separate related actions. It is not intended to be consumed as a standalone Odyssey component."}}}},e={render:i=>r.jsx("div",{children:r.jsx(o,{...i})})};var s,t,a;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{
2
- render: args => <div>
3
- <Divider {...args} />
4
- </div>
5
- }`,...(a=(t=e.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};const y=["Default"];export{e as Default,y as __namedExportsOrder,f as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BeeV6X6A.js","./index-NdkWRN8K.js","./_commonjsHelpers-gnU0ypJ3.js"])))=>i.map(i=>d[i]);
2
- import{_ as c}from"./iframe-B5wE2ay9.js";import{r as s,e as n}from"./index-NdkWRN8K.js";import{H as p,A as h,i as E,j as d}from"./index-DiEiQB-f.js";import{a as v}from"./client-ByW5HbEz.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./index-BJTM6NaI.js";import"./jsx-runtime-CnH95YSl.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";var i=new Map;function R(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var f=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var w=async(e,t,r)=>{let o=await x(t,r);if(R()){o.render(e);return}let{promise:a,resolve:m}=Promise.withResolvers();return o.render(s.createElement(f,{callback:m},e)),a},_=(e,t)=>{let r=i.get(e);r&&(r.unmount(),i.delete(e))},x=async(e,t)=>{let r=i.get(e);return r||(r=v.createRoot(e,t),i.set(e,r)),r},g={code:E,a:h,...p},y=class extends s.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},F=class{constructor(){this.render=async(e,t,r)=>{let o={...g,...t==null?void 0:t.components},a=d;return new Promise((m,l)=>{c(async()=>{const{MDXProvider:u}=await import("./index-BeeV6X6A.js");return{MDXProvider:u}},__vite__mapDeps([0,1,2]),import.meta.url).then(({MDXProvider:u})=>w(n.createElement(y,{showException:l,key:Math.random()},n.createElement(u,{components:o},n.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>m())})},this.unmount=e=>{_(e)}}};export{F as DocsRenderer,g as defaultComponents};
@@ -1 +0,0 @@
1
- import{r as e}from"./index-NdkWRN8K.js";import{j as o}from"./jsx-runtime-CnH95YSl.js";import{S as m}from"./OdysseyThemeProvider-uYQ_l8PJ.js";const t=e.forwardRef((n,r)=>o.jsx(m,{fill:"none",ref:r,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...n,children:o.jsx(o.Fragment,{children:o.jsx("path",{clipRule:"evenodd",d:"M1.333 2H.667v12h5.111c.729 0 1.335.133 1.78.5l.012.01.042.03.002.002a.675.675 0 0 0 .464.112c.2-.022.33-.128.348-.144l.002-.001c.02-.015.033-.029.039-.033l.011-.011c.341-.325.91-.465 1.655-.465h5.2V2H9.38a1.866 1.866 0 0 0-1.404.635 2.534 2.534 0 0 0-.155-.15A1.91 1.91 0 0 0 6.548 2H1.333Zm6 2.374a1.2 1.2 0 0 0-.4-.894.577.577 0 0 0-.385-.147H2v9.334h3.778c.497 0 1.036.05 1.555.22V4.375Zm0 9.6v.003-.002Zm1.334.005v-.004.004Zm0-1.115c.49-.155 1.006-.197 1.466-.197H14V3.333H9.379a.532.532 0 0 0-.373.153c-.217.212-.34.504-.34.808v8.57ZM6 7.334H3.333V6H6v1.333Zm4 0h2.667V6H10v1.333ZM12.667 10H10V8.667h2.667V10Zm-9.334 0H6V8.667H3.333V10Z",fill:"currentColor",fillRule:"evenodd"})})})),c=e.memo(t);c.displayName="DocumentationIcon";export{c as M};
@@ -1 +0,0 @@
1
- import{r}from"./index-NdkWRN8K.js";import{j as o}from"./jsx-runtime-CnH95YSl.js";import{S as l}from"./OdysseyThemeProvider-uYQ_l8PJ.js";const a=r.forwardRef((e,n)=>o.jsx(l,{fill:"none",ref:n,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:"M3.333 13.333v-2.666H2v2.666a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2.666h-1.333v2.666A.667.667 0 0 1 12 14H4a.667.667 0 0 1-.667-.667Zm8.862-7L8.667 9.862V.805H7.334v9.057l-3.53-3.529-.942.943 4.29 4.29.01.01c.057.057.124.124.188.178a.994.994 0 0 0 .341.197 1 1 0 0 0 .618 0 1 1 0 0 0 .342-.197 3.26 3.26 0 0 0 .187-.177l.01-.011 4.29-4.29-.943-.943Z",fill:"currentColor",fillRule:"evenodd"})})})),t=r.memo(a);t.displayName="DownloadIcon";export{t as M};
@@ -1,33 +0,0 @@
1
- import{_ as L,b as g,V as Q,W as Z,c as ee,z as re,s as W,d as H,e as C,f as te,r as ne,u as oe,K as se,h as I,av as ie}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as a}from"./index-NdkWRN8K.js";import{M as ae}from"./Button-NJfX6YsF.js";import{M as ce}from"./FullScreenOverlay-CbLDrzu3.js";import{f as de}from"./Typography-gfYWxfhb.js";import{j as u}from"./jsx-runtime-CnH95YSl.js";import{u as X,T as le,g as Y,r as pe}from"./utils-uddq32f3.js";import{u as ue}from"./useIsFocusVisible-DH0qxT5e.js";import{g as fe}from"./getReactElementRef-CYW9xr5m.js";import{d as me}from"./debounce-Be36O1Ab.js";import{o as U}from"./ownerWindow-HkKU3E4x.js";import{P as he}from"./Paper-BGSgbZC6.js";import{M as ge}from"./Modal-D0XtQHFw.js";const xe=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ve(e,r,s){const t=r.getBoundingClientRect(),o=s&&s.getBoundingClientRect(),x=U(r);let c;if(r.fakeTransform)c=r.fakeTransform;else{const i=x.getComputedStyle(r);c=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}let v=0,d=0;if(c&&c!=="none"&&typeof c=="string"){const i=c.split("(")[1].split(")")[0].split(",");v=parseInt(i[4],10),d=parseInt(i[5],10)}return e==="left"?o?`translateX(${o.right+v-t.left}px)`:`translateX(${x.innerWidth+v-t.left}px)`:e==="right"?o?`translateX(-${t.right-o.left-v}px)`:`translateX(-${t.left+t.width-v}px)`:e==="up"?o?`translateY(${o.bottom+d-t.top}px)`:`translateY(${x.innerHeight+d-t.top}px)`:o?`translateY(-${t.top-o.top+t.height-d}px)`:`translateY(-${t.top+t.height-d}px)`}function ye(e){return typeof e=="function"?e():e}function N(e,r,s){const t=ye(s),o=ve(e,r,t);o&&(r.style.webkitTransform=o,r.style.transform=o)}const De=a.forwardRef(function(r,s){const t=X(),o={enter:t.transitions.easing.easeOut,exit:t.transitions.easing.sharp},x={enter:t.transitions.duration.enteringScreen,exit:t.transitions.duration.leavingScreen},{addEndListener:c,appear:v=!0,children:d,container:i,direction:p="down",easing:T=o,in:m,onEnter:E,onEntered:z,onEntering:P,onExit:y,onExited:M,onExiting:B,style:b,timeout:h=x,TransitionComponent:j=le}=r,$=L(r,xe),l=a.useRef(null),k=ue(fe(d),l,s),w=n=>f=>{n&&(f===void 0?n(l.current):n(l.current,f))},D=w((n,f)=>{N(p,n,i),pe(n),E&&E(n,f)}),R=w((n,f)=>{const V=Y({timeout:h,style:b,easing:T},{mode:"enter"});n.style.webkitTransition=t.transitions.create("-webkit-transform",g({},V)),n.style.transition=t.transitions.create("transform",g({},V)),n.style.webkitTransform="none",n.style.transform="none",P&&P(n,f)}),F=w(z),S=w(B),K=w(n=>{const f=Y({timeout:h,style:b,easing:T},{mode:"exit"});n.style.webkitTransition=t.transitions.create("-webkit-transform",f),n.style.transition=t.transitions.create("transform",f),N(p,n,i),y&&y(n)}),G=w(n=>{n.style.webkitTransition="",n.style.transition="",M&&M(n)}),J=n=>{c&&c(l.current,n)},A=a.useCallback(()=>{l.current&&N(p,l.current,i)},[p,i]);return a.useEffect(()=>{if(m||p==="down"||p==="right")return;const n=me(()=>{l.current&&N(p,l.current,i)}),f=U(l.current);return f.addEventListener("resize",n),()=>{n.clear(),f.removeEventListener("resize",n)}},[p,m,i]),a.useEffect(()=>{m||A()},[m,A]),u.jsx(j,g({nodeRef:l,onEnter:D,onEntered:F,onEntering:R,onExit:K,onExited:G,onExiting:S,addEndListener:J,appear:v,in:m,timeout:h},$,{children:(n,f)=>a.cloneElement(d,g({ref:k,style:g({visibility:n==="exited"&&!m?"hidden":void 0},b,d.props.style)},f))}))});function ke(e){return Q("MuiDrawer",e)}Z("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const we=["BackdropProps"],Ee=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],q=(e,r)=>{const{ownerState:s}=e;return[r.root,(s.variant==="permanent"||s.variant==="persistent")&&r.docked,r.modal]},Pe=e=>{const{classes:r,anchor:s,variant:t}=e,o={root:["root"],docked:[(t==="permanent"||t==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${C(s)}`,t!=="temporary"&&`paperAnchorDocked${C(s)}`]};return te(o,ke,r)},be=W(ge,{name:"MuiDrawer",slot:"Root",overridesResolver:q})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),_=W("div",{shouldForwardProp:ne,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:q})({flex:"0 0 auto"}),$e=W(he,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.paper,r[`paperAnchor${C(s.anchor)}`],s.variant!=="temporary"&&r[`paperAnchorDocked${C(s.anchor)}`]]}})(({theme:e,ownerState:r})=>g({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},r.anchor==="left"&&{left:0},r.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="right"&&{right:0},r.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="left"&&r.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="top"&&r.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="right"&&r.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="bottom"&&r.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),O={left:"right",right:"left",top:"down",bottom:"up"};function Re(e){return["left","right"].indexOf(e)!==-1}function Te({direction:e},r){return e==="rtl"&&Re(r)?O[r]:r}const Me=a.forwardRef(function(r,s){const t=ee({props:r,name:"MuiDrawer"}),o=X(),x=re(),c={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:v="left",BackdropProps:d,children:i,className:p,elevation:T=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:E}={},onClose:z,open:P=!1,PaperProps:y={},SlideProps:M,TransitionComponent:B=De,transitionDuration:b=c,variant:h="temporary"}=t,j=L(t.ModalProps,we),$=L(t,Ee),l=a.useRef(!1);a.useEffect(()=>{l.current=!0},[]);const k=Te({direction:x?"rtl":"ltr"},v),D=g({},t,{anchor:v,elevation:T,open:P,variant:h},$),R=Pe(D),F=u.jsx($e,g({elevation:h==="temporary"?T:0,square:!0},y,{className:H(R.paper,y.className),ownerState:D,children:i}));if(h==="permanent")return u.jsx(_,g({className:H(R.root,R.docked,p),ownerState:D,ref:s},$,{children:F}));const S=u.jsx(B,g({in:P,direction:O[k],timeout:b,appear:l.current},M,{children:F}));return h==="persistent"?u.jsx(_,g({className:H(R.root,R.docked,p),ownerState:D,ref:s},$,{children:S})):u.jsx(be,g({BackdropProps:g({},d,E,{transitionDuration:b}),className:H(R.root,R.modal,p),open:P,ownerState:D,onClose:z,hideBackdrop:m,ref:s},$,j,{children:S}))}),Ke=["temporary","persistent"],je=I("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"&&e!=="hasDividers"})`
2
- grid-area: header;
3
- position: sticky;
4
- top: 0;
5
- display: flex;
6
- justify-content: space-between;
7
- align-items: center;
8
- margin: 0;
9
- padding: ${({odysseyDesignTokens:e})=>e.Spacing4}
10
- ${({odysseyDesignTokens:e})=>e.Spacing5};
11
- color: ${({odysseyDesignTokens:e})=>e.HueNeutral900};
12
- background-color: ${({odysseyDesignTokens:e})=>e.HueNeutralWhite};
13
- border-bottom: ${({hasDividers:e,odysseyDesignTokens:r})=>e?`1px solid ${r.HueNeutral200}`:"none"};
14
- `,ze=I("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})({display:"grid",gridTemplateAreas:`
15
- "header"
16
- "content"
17
- "footer"
18
- `,gridTemplateRows:"auto 1fr auto",overflow:"hidden"}),Be=I("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"&&e!=="hasDividers"})`
19
- grid-area: content;
20
- overflow-y: auto;
21
- padding: ${({hasDividers:e,odysseyDesignTokens:r})=>e?`${r.Spacing5}`:`0 ${r.Spacing5}`};
22
- `,Fe=I("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"&&e!=="hasDividers"})`
23
- grid-area: footer;
24
- position: sticky;
25
- bottom: 0;
26
- display: flex;
27
- justify-content: flex-end;
28
- align-items: center;
29
- align-content: center;
30
- padding: ${({odysseyDesignTokens:e})=>e.Spacing4};
31
- border-top: ${({hasDividers:e,odysseyDesignTokens:r})=>e?`1px solid ${r.HueNeutral200}`:"none"};
32
- background-color: ${({odysseyDesignTokens:e})=>e.HueNeutralWhite};
33
- `,Se=({ariaLabel:e,children:r,hasDividers:s=!1,isOpen:t,onClose:o,primaryCallToActionComponent:x,secondaryCallToActionComponent:c,showDividers:v=!1,tertiaryCallToActionComponent:d,testId:i,title:p,translate:T,variant:m="temporary"})=>{const[E,z]=a.useState(!1),P=a.useRef(null),y=oe(),M=s||v,{i18n:B}=se(),b=B.dir()==="rtl"?"left":"right";a.useEffect(()=>{let k;const w=()=>{const D=P.current;D&&(cancelAnimationFrame(k),z(D.scrollHeight>D.clientHeight)),k=requestAnimationFrame(w)};return t&&(k=requestAnimationFrame(w)),()=>{cancelAnimationFrame(k)}},[t]);const h=a.useMemo(()=>M||E,[M,E]),j=a.useMemo(()=>x||c||d,[x,c,d]),$=a.useCallback(k=>o(k,"closeButtonClick"),[o]),l=a.useMemo(()=>u.jsx(Me,{anchor:b,"data-se":i,onClose:o,open:t,sx:{...m==="persistent"&&{"& .MuiDrawer-paper":{transition:"none"}}},variant:m,children:u.jsxs(ze,{odysseyDesignTokens:y,children:[u.jsxs(je,{hasDividers:h,odysseyDesignTokens:y,translate:T,children:[u.jsx(de,{children:p}),u.jsx(ae,{ariaLabel:e,onClick:$,size:"small",startIcon:u.jsx(ie,{}),variant:"floating"})]}),u.jsx(Be,{...E&&{tabIndex:0},hasDividers:h,odysseyDesignTokens:y,ref:P,children:r}),j&&u.jsxs(Fe,{hasDividers:h,odysseyDesignTokens:y,children:[d,c,x]})]})}),[b,e,r,h,$,j,E,t,y,o,x,c,d,i,p,T,m]);return m==="temporary"?u.jsx(ce,{overlayType:"drawer",children:l}):l},He=a.memo(Se);He.displayName="Drawer";export{He as M,Ke as v};
@@ -1,95 +0,0 @@
1
- import{j as e}from"./jsx-runtime-CnH95YSl.js";import{w as M,u as V,a as q}from"./index-BJMTVygn.js";import{r as n}from"./index-NdkWRN8K.js";import{a as B}from"./axeRun-B-LchFqf.js";import{O as E}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{v as b,M as u}from"./Drawer-D3_c8kSj.js";import{M as h}from"./Box-XLjSpNxK.js";import{M as i}from"./Button-NJfX6YsF.js";import{M as o}from"./Accordion-B6lMitah.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./axe-4JP0vCEZ.js";import"./OdysseyThemeProvider-uYQ_l8PJ.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-YUKfsUrL.js";import"./FullScreenOverlay-CbLDrzu3.js";import"./Typography-gfYWxfhb.js";import"./Typography-BIFhmR2K.js";import"./utils-uddq32f3.js";import"./inheritsLoose-6wpAF9yl.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./TransitionGroupContext-DAL84N7p.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./getReactElementRef-CYW9xr5m.js";import"./resolveComponentProps-zX2d3UUb.js";import"./isHostComponent-DVu5iVWx.js";import"./debounce-Be36O1Ab.js";import"./ownerWindow-HkKU3E4x.js";import"./ownerDocument-DW-IO8s5.js";import"./Paper-BGSgbZC6.js";import"./Modal-D0XtQHFw.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-ev1Y_qJb.js";import"./Fade-DSMklDt3.js";import"./Box-C-xmRxaS.js";import"./createBox-emhTu6dS.js";import"./BaseButton-CPts8Xl1.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-Bx__kQJp.js";import"./Tooltip-gH7ETEPn.js";import"./Grow-CbLflC0D.js";import"./useControlled-NQulfz4l.js";import"./Popper-vW9B5iyN.js";import"./popper-BXFsSIrb.js";import"./Button-dStBbGjZ.js";import"./ButtonBase-Wolvis_2.js";import"./assertThisInitialized-B9jnkVVz.js";import"./useUniqueId-DUzAQ6pl.js";import"./createUniqueId-BHjR7HQF.js";import"./AccordionSummary-Cqqnyfeq.js";import"./useSlot-bWb1W-uo.js";import"./Collapse-Bf9rwi0n.js";const z=e.jsxs(e.Fragment,{children:[e.jsx(h,{sx:{maxWidth:"850px"},children:"Multifactor authentication (MFA) means that users must verify their identity in two or more ways to gain access to their account. This makes it harder for unauthorized parties to sign in to a user’s account because it’s unlikely that they have access to all of the user’s authentication methods. Adding authenticators with different factor types and method characteristics strengthens your MFA strategy. You can require authenticators for apps or groups of users and specify which ones can be used for account recovery."}),e.jsx("br",{}),e.jsxs("ul",{children:[e.jsx("li",{children:"Device-bound: These authenticators are associated with a specific device."}),e.jsx("li",{children:"Hardware-protected: These authenticators require a physical device to authenticate."}),e.jsx("li",{children:"Phishing-resistant: These authenticators don’t provide any authentication data that a user can share with others. Users therefore can’t be tricked into sharing their credentials in phishing campaigns. See Phishing-resistant authentication and Okta solutions for phishing resistance."}),e.jsx("li",{children:"User presence: These authenticators require human interaction."}),e.jsx("li",{children:"User verifying: These authenticators prove that a specific user is the one who is authenticating."})]})]}),g=e.jsxs(e.Fragment,{children:[e.jsx("div",{children:"Okta Privileged Access is a Privileged Access Management (PAM) solution designed to help customers mitigate the risk of unauthorized access to resources, a critical area of security and risk management in any organization. Okta Privileged Access builds on the current server access control capabilities provided with Okta Advanced Server Access and delivers a unified approach to managing access to all your privileged accounts. It securely connects people, machines, and applications to privileged resources such as servers, containers, and enterprise apps."}),e.jsx("div",{children:"A critical capability that Okta Privileged Access offers is the separation of administrative roles and responsibilities. Management of users and groups, resources, and security are separated, with each administrative role designed to perform a specific function. For example, the management of security policies to access resources is separated and decoupled from the administration of the resources. To meet this requirement, the team that sets the policy is separated from the team that administers the resource. Likewise, the administrator managing users and groups can only perform user and group management tasks and isn't involved in administering resources or creating security policies."}),e.jsx("div",{children:"The level of access within a Okta Privileged Access team depends on the role that you're assigned and the permissions granted to that role. The table below discusses the types of roles, and each has a unique set of permissions and restrictions.To start using Okta Privileged Access, you need to add the Okta Privileged Access OIN application to your Okta org. You can then sync your users and groups from the Okta Universal Directory by configuring SCIM. End users must install the Okta Privileged Access client in their local machine, enroll the client, and then access their dashboard using the link provided by their team administrator."})]}),ze={component:u,decorators:[E],tags:["autodocs"],argTypes:{primaryCallToActionComponent:{description:"An optional Button object to be situated in the Drawer footer. Should almost always be of variant `primary`.",table:{type:{summary:"<Button />"}}},secondaryCallToActionComponent:{description:"An optional Button object to be situated in the Drawer footer, alongside the `callToActionPrimaryComponent`.",table:{type:{summary:"<Button />"}}},tertiaryCallToActionComponent:{description:"An optional Button object to be situated in the Drawer footer, alongside the other two `callToAction` components.",table:{type:{summary:"<Button />"}}},children:{control:"text",description:"The content of the Drawer. May be a `string` or any other `ReactNode` or array of `ReactNode`s.",table:{type:{summary:"ReactNode | Array<ReactNode>"}},type:{required:!0,name:"other",value:"ReactNode | Array<ReactNode>"}},isOpen:{control:"boolean",description:"When set to `true`, the drawer will be visible.",table:{type:{summary:"boolean"}},type:{name:"boolean"}},onClose:{description:"Callback that controls what happens when the drawer is dismissed",table:{type:{summary:"func"}}},showDividers:{control:"text",description:"**Deprecated**: use `hasDividers` instead. <br /> <hr /> Shows divider lines separating header, content, and footer (if using action buttons)",table:{type:{summary:"boolean"},defaultValue:{summary:"false"}},type:{required:!0,name:"string"}},hasDividers:{control:"boolean",description:"Shows divider lines separating header, content, and footer (if using action buttons)",table:{type:{summary:"boolean"},defaultValue:{summary:"false"}},type:{required:!0,name:"boolean"}},title:{control:"text",table:{type:{summary:"string"}},type:{required:!0,name:"string"}},variant:{options:b,control:{type:"radio"},description:"The type of drawer",table:{type:{summary:b.join(" | ")},defaultValue:{summary:"temporary"}},type:{required:!0,name:"string"}},ariaLabel:{type:{required:!0,name:"string"},control:"text"}},args:{children:g,ariaLabel:"close"}},f={args:{},render:function(a){const[t,s]=n.useState(!1),c=n.useCallback(()=>{s(!0)},[]),r=n.useCallback(()=>{s(!1)},[]),F=e.jsxs(h,{sx:{"@keyframes animate-drawer-open":{"0%":{gridTemplateColumns:"minmax(0, 2fr) 0"},"100%":{gridTemplateColumns:"minmax(0, 2fr) 360px"}},"@keyframes animate-drawer-close":{"0%":{gridTemplateColumns:"minmax(0, 2fr) 360px"},"100%":{gridTemplateColumns:"minmax(0, 2fr) 0"}},display:"grid",maxWidth:"1000px",padding:"24px",gridColumnGap:"24px",gridTemplateColumns:"minmax(0, 2fr) auto",animation:t?"animate-drawer-open 225ms cubic-bezier(0, 0, 0.2, 1)":"animate-drawer-close 225ms cubic-bezier(0, 0, 0.2, 1)"},children:[e.jsxs(h,{children:[e.jsx("h2",{children:"CSS Grid Layout"}),z]}),t?e.jsx(h,{children:e.jsx(u,{...a,isOpen:t,onClose:r,primaryCallToActionComponent:e.jsx(i,{label:"Primary",onClick:r,variant:"primary"}),secondaryCallToActionComponent:e.jsx(i,{label:"Secondary",onClick:r,variant:"secondary"})})}):null]});return e.jsx(e.Fragment,{children:a.variant==="persistent"?e.jsxs(e.Fragment,{children:[e.jsx(i,{label:t?"Close drawer":"Open drawer",onClick:()=>{t?r():c()},variant:"primary"}),F]}):e.jsxs(e.Fragment,{children:[e.jsx(i,{label:"Open drawer",onClick:c,variant:"primary"}),e.jsx(u,{...a,isOpen:t,onClose:r,primaryCallToActionComponent:e.jsx(i,{label:"Primary",onClick:r,variant:"primary"}),secondaryCallToActionComponent:e.jsx(i,{label:"Secondary",onClick:r,variant:"secondary"}),tertiaryCallToActionComponent:e.jsx(i,{label:"Cancel",onClick:r,variant:"floating"})})]})})}},l={...f,parameters:{docs:{description:{story:"Overlay blocks all other page actions and sits on top page content."}}},args:{children:g,title:"Okta Privileged Access"},play:async({canvasElement:y,step:a})=>{const t=M(y);await a("open Default Drawer",async()=>{const s=t.getByText("Open drawer");await V.click(s),await q(async()=>{await B("Default Drawer")})})}},d={...f,parameters:{docs:{description:{story:"Persistent is embedded in the content like a dismissable sidebar"}}},args:{variant:"persistent",children:e.jsxs(e.Fragment,{children:[e.jsx(o,{label:"User and resource details",children:"This is the third accordion item."}),e.jsx(o,{label:"First-level review details",children:"This is the fourth accordion item."}),e.jsx(o,{label:"Second-level review details",children:"This is the fifth accordion item."})]}),title:"Profile details"}},m={...f,parameters:{docs:{description:{story:"Persistent Drawer with Dividers lines enabled"}}},args:{variant:"persistent",showDividers:!0,children:e.jsxs(e.Fragment,{children:[e.jsx(o,{label:"User and resource details",children:"This is the third accordion item."}),e.jsx(o,{label:"First-level review details",children:"This is the fourth accordion item."}),e.jsx(o,{label:"Second-level review details",children:"This is the fifth accordion item."})]}),title:"Profile details"}},p={render:function(a){const[t,s]=n.useState(!1),c=n.useCallback(()=>{s(!0)},[]),r=n.useCallback(()=>{s(!1)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(i,{label:"Open drawer",onClick:c,variant:"primary"}),e.jsx(u,{...a,isOpen:t,onClose:r})]})},args:{children:g,title:"Okta Privileged Access"}};var v,w,x;l.parameters={...l.parameters,docs:{...(v=l.parameters)==null?void 0:v.docs,source:{originalSource:`{
2
- ...DefaultTemplate,
3
- parameters: {
4
- docs: {
5
- description: {
6
- story: "Overlay blocks all other page actions and sits on top page content."
7
- }
8
- }
9
- },
10
- args: {
11
- children: drawerLongText,
12
- title: "Okta Privileged Access"
13
- } as DrawerProps,
14
- // This is a hack,
15
- play: async ({
16
- canvasElement,
17
- step
18
- }) => {
19
- const canvas = within(canvasElement);
20
- await step("open Default Drawer", async () => {
21
- const buttonElement = canvas.getByText("Open drawer");
22
- await userEvent.click(buttonElement);
23
- await waitFor(async () => {
24
- await axeRun("Default Drawer");
25
- });
26
- });
27
- }
28
- }`,...(x=(w=l.parameters)==null?void 0:w.docs)==null?void 0:x.source}}};var T,k,C;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{
29
- ...DefaultTemplate,
30
- parameters: {
31
- docs: {
32
- description: {
33
- story: "Persistent is embedded in the content like a dismissable sidebar"
34
- }
35
- }
36
- },
37
- args: {
38
- variant: "persistent",
39
- children: <>
40
- <Accordion label="User and resource details">
41
- This is the third accordion item.
42
- </Accordion>
43
- <Accordion label="First-level review details">
44
- This is the fourth accordion item.
45
- </Accordion>
46
- <Accordion label="Second-level review details">
47
- This is the fifth accordion item.
48
- </Accordion>
49
- </>,
50
- title: "Profile details"
51
- } as DrawerProps // This is a hack,
52
- }`,...(C=(k=d.parameters)==null?void 0:k.docs)==null?void 0:C.source}}};var A,j,O;m.parameters={...m.parameters,docs:{...(A=m.parameters)==null?void 0:A.docs,source:{originalSource:`{
53
- ...DefaultTemplate,
54
- parameters: {
55
- docs: {
56
- description: {
57
- story: "Persistent Drawer with Dividers lines enabled"
58
- }
59
- }
60
- },
61
- args: {
62
- variant: "persistent",
63
- showDividers: true,
64
- children: <>
65
- <Accordion label="User and resource details">
66
- This is the third accordion item.
67
- </Accordion>
68
- <Accordion label="First-level review details">
69
- This is the fourth accordion item.
70
- </Accordion>
71
- <Accordion label="Second-level review details">
72
- This is the fifth accordion item.
73
- </Accordion>
74
- </>,
75
- title: "Profile details"
76
- } as DrawerProps // This is a hack
77
- }`,...(O=(j=m.parameters)==null?void 0:j.docs)==null?void 0:O.source}}};var D,P,S;p.parameters={...p.parameters,docs:{...(D=p.parameters)==null?void 0:D.docs,source:{originalSource:`{
78
- render: function C(props) {
79
- const [isVisible, setIsVisible] = useState(false);
80
- const onOpen = useCallback(() => {
81
- setIsVisible(true);
82
- }, []);
83
- const onClose = useCallback(() => {
84
- setIsVisible(false);
85
- }, []);
86
- return <>
87
- <Button label="Open drawer" onClick={onOpen} variant="primary" />
88
- <Drawer {...props} isOpen={isVisible} onClose={onClose} />
89
- </>;
90
- },
91
- args: {
92
- children: drawerLongText,
93
- title: "Okta Privileged Access"
94
- } as DrawerProps // This is a hack
95
- }`,...(S=(P=p.parameters)==null?void 0:P.docs)==null?void 0:S.source}}};const Ne=["Overlay","Persistent","ShowDividers","NoFooter"];export{p as NoFooter,l as Overlay,d as Persistent,m as ShowDividers,Ne as __namedExportsOrder,ze as default};
@@ -1,11 +0,0 @@
1
- import{u as a,h as r}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as d}from"./index-NdkWRN8K.js";import{M as m}from"./Box-XLjSpNxK.js";import{b as p,a as x}from"./Typography-gfYWxfhb.js";import{j as e}from"./jsx-runtime-CnH95YSl.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 y=r("div",{shouldForwardProp:s=>s!=="odysseyDesignTokens"})(({odysseyDesignTokens:s})=>({display:"flex",flexDirection:"column",marginBlock:s.Spacing9,padding:s.Spacing5,textAlign:"center",width:"100%",alignItems:"center"})),c=r("div",{shouldForwardProp:s=>s!=="odysseyDesignTokens"})(({odysseyDesignTokens:s})=>({maxWidth:s.TypographyLineLengthMax})),g=({heading:s,description:n,PrimaryCallToActionComponent:o,SecondaryCallToActionComponent:t})=>{const i=a();return e.jsxs(y,{odysseyDesignTokens:i,children:[e.jsxs(c,{odysseyDesignTokens:i,children:[e.jsx(p,{children:s}),e.jsx(x,{children:n})]}),(o||t)&&e.jsxs(m,{sx:{marginBlockStart:5},children:[t,o]})]})},h=d.memo(g);h.displayName="EmptyState";export{h as M};
@@ -1,11 +0,0 @@
1
- import{j as o}from"./jsx-runtime-CnH95YSl.js";import{O as m}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{M as n}from"./EmptyState-BRinTaKa.js";import{M as r}from"./Button-NJfX6YsF.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./OdysseyThemeProvider-uYQ_l8PJ.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-YUKfsUrL.js";import"./Box-XLjSpNxK.js";import"./Box-C-xmRxaS.js";import"./createBox-emhTu6dS.js";import"./Typography-gfYWxfhb.js";import"./Typography-BIFhmR2K.js";import"./BaseButton-CPts8Xl1.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-Bx__kQJp.js";import"./Tooltip-gH7ETEPn.js";import"./Grow-CbLflC0D.js";import"./utils-uddq32f3.js";import"./inheritsLoose-6wpAF9yl.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./TransitionGroupContext-DAL84N7p.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./getReactElementRef-CYW9xr5m.js";import"./resolveComponentProps-zX2d3UUb.js";import"./isHostComponent-DVu5iVWx.js";import"./useControlled-NQulfz4l.js";import"./Popper-vW9B5iyN.js";import"./popper-BXFsSIrb.js";import"./ownerDocument-DW-IO8s5.js";import"./Portal-ev1Y_qJb.js";import"./Button-dStBbGjZ.js";import"./ButtonBase-Wolvis_2.js";import"./assertThisInitialized-B9jnkVVz.js";const Q={component:n,decorators:[m],tags:["autodocs"],argTypes:{heading:{control:"text",description:"Main heading of the empty state",type:{required:!0,name:"string"}},description:{control:"text",description:"A descriptive text explaining more context as to why we don't have data",type:{required:!0,name:"string"}},PrimaryCallToActionComponent:{description:"Primary call to action"},SecondaryCallToActionComponent:{description:"Secondary call to action"}}},t={args:{heading:"Start by adding data assets",description:"All relevant data will be displayed and can be searched and filtered",PrimaryCallToActionComponent:o.jsx(r,{label:"Button label",variant:"primary"}),SecondaryCallToActionComponent:o.jsx(r,{label:"Button label",variant:"secondary"})},render:function(p){return o.jsx(n,{...p})}};var e,a,i;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{
2
- args: {
3
- heading: "Start by adding data assets",
4
- description: "All relevant data will be displayed and can be searched and filtered",
5
- PrimaryCallToActionComponent: <Button label="Button label" variant="primary" />,
6
- SecondaryCallToActionComponent: <Button label="Button label" variant="secondary" />
7
- },
8
- render: function C(props) {
9
- return <EmptyState {...props} />;
10
- }
11
- }`,...(i=(a=t.parameters)==null?void 0:a.docs)==null?void 0:i.source}}};const U=["Default"];export{t as Default,U as __namedExportsOrder,Q as default};