@okta/odyssey-contribution-tooling 1.50.1 → 1.51.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.
- package/CHANGELOG.md +4 -0
- package/dist/appswitcher/admin-app-default.svg +6 -0
- package/dist/appswitcher/admin-app-selected.svg +6 -0
- package/dist/appswitcher/aerial-default.svg +7 -0
- package/dist/appswitcher/aerial-selected.svg +7 -0
- package/dist/appswitcher/okta-dashboard-default.svg +7 -0
- package/dist/appswitcher/okta-dashboard-selected.svg +7 -0
- package/dist/appswitcher/privileged-access-default.svg +4 -0
- package/dist/appswitcher/privileged-access-selected.svg +4 -0
- package/dist/appswitcher/workflows-default.svg +5 -0
- package/dist/appswitcher/workflows-selected.svg +5 -0
- package/dist/assets/Accordion-B6lMitah.js +1 -0
- package/dist/assets/Accordion.stories-jXyeMqKL.js +85 -0
- package/dist/assets/AccordionSummary-Cqqnyfeq.js +1 -0
- package/dist/assets/AddCircle-DYQ5ipEw.js +1 -0
- package/dist/assets/AlertTitle-BdgyvdT3.js +1 -0
- package/dist/assets/AppSwitcher-BP7OhkNx.js +21 -0
- package/dist/assets/AppSwitcher.stories-BX6iWIVF.js +100 -0
- package/dist/assets/AppTile _labs_.stories-D_lkwc9S.js +136 -0
- package/dist/assets/ArrowDropDown-CSyg-khO.js +1 -0
- package/dist/assets/ArrowRight-D4RDomjP.js +1 -0
- package/dist/assets/Autocomplete-CWMUllEE.js +1 -0
- package/dist/assets/Autocomplete-Ce5vsFXe.js +1 -0
- package/dist/assets/Autocomplete.stories-LgPoixE-.js +316 -0
- package/dist/assets/Badge-CgiaxC_M.js +11 -0
- package/dist/assets/Banner-CiZg662S.js +1 -0
- package/dist/assets/Banner.stories-L9TxJM5n.js +96 -0
- package/dist/assets/BaseButton-CPts8Xl1.js +11 -0
- package/dist/assets/BaseMenuButton-Cg0erRE5.js +1 -0
- package/dist/assets/Box-C-xmRxaS.js +1 -0
- package/dist/assets/Box-DS6ZmQE1.js +11 -0
- package/dist/assets/Box-XLjSpNxK.js +1 -0
- package/dist/assets/Box.stories-DlaC0I8z.js +38 -0
- package/dist/assets/Breadcrumb.stories-CU9cbFv5.js +19 -0
- package/dist/assets/BreadcrumbList.stories-BnLz8AbT.js +77 -0
- package/dist/assets/Breadcrumbs-24mVV2FV.js +6 -0
- package/dist/assets/Bug-BREzSHBD.js +1 -0
- package/dist/assets/Button-NJfX6YsF.js +11 -0
- package/dist/assets/Button-dStBbGjZ.js +1 -0
- package/dist/assets/Button.stories-DyHE1lVq.js +271 -0
- package/dist/assets/ButtonBase-Wolvis_2.js +74 -0
- package/dist/assets/Calendar-Cnn3LZfc.js +1 -0
- package/dist/assets/Call-B2-IhRdM.js +1 -0
- package/dist/assets/Callout-CHhRxeIB.js +1 -0
- package/dist/assets/Callout.stories-Cin_Q8VN.js +250 -0
- package/dist/assets/Card-CW2-4q6G.js +1 -0
- package/dist/assets/Card-HHKQqwm3.js +8 -0
- package/dist/assets/Card.stories-BGl8ssIa.js +56 -0
- package/dist/assets/CardActionArea-CmY1RMSI.js +1 -0
- package/dist/assets/CardActions-BOMzzZ-s.js +1 -0
- package/dist/assets/Checkbox-DGd8S5xK.js +1 -0
- package/dist/assets/Checkbox-LVOv88W2.js +1 -0
- package/dist/assets/Checkbox.stories-D6P6eT12.js +113 -0
- package/dist/assets/CheckboxGroup-BbhvyMBP.js +1 -0
- package/dist/assets/CheckboxGroup.stories-C8yW7qIA.js +89 -0
- package/dist/assets/ChevronRight-BEaWGMzi.js +1 -0
- package/dist/assets/ChevronUp-BclvDZ6e.js +1 -0
- package/dist/assets/Chip-p4lq04qX.js +1 -0
- package/dist/assets/CircularProgress-BOLg_ZK_.js +28 -0
- package/dist/assets/CircularProgress-DxmJkz2B.js +1 -0
- package/dist/assets/CircularProgress.stories-BzOGzmX1.js +44 -0
- package/dist/assets/Clock-dOo7_xs2.js +1 -0
- package/dist/assets/Close-DWj_zrWe.js +1 -0
- package/dist/assets/Code Styling Guidelines-CFH47C47.js +14 -0
- package/dist/assets/Collapse-Bf9rwi0n.js +1 -0
- package/dist/assets/Color-YHDXOIA2-XSMM8EzF.js +1 -0
- package/dist/assets/CssBaseline-BGmj7vII.js +191 -0
- package/dist/assets/CssBaseline.stories-CP5iNADe.js +364 -0
- package/dist/assets/Custom Theming-AWFd82gK.js +135 -0
- package/dist/assets/Custom Theming.stories-C1lIShsm.js +95 -0
- package/dist/assets/DataFilters _labs_-CbOuA1XC.js +55 -0
- package/dist/assets/DataFilters _labs_.stories-6lSpygV-.js +31 -0
- package/dist/assets/DataFilters-B56b7pp1.js +1 -0
- package/dist/assets/DataTable _labs_-DhjIky-X.js +41 -0
- package/dist/assets/DataTable _labs_.stories-SmL2caYK.js +21 -0
- package/dist/assets/DataTable-Dufh-85W.js +404 -0
- package/dist/assets/DataTable-OEqPccZc.js +21 -0
- package/dist/assets/DataTable.stories-B6pas1e4.js +438 -0
- package/dist/assets/DataView _labs_-D-jpJC9O.js +332 -0
- package/dist/assets/DataView _labs_.stories-CEQuFgsA.js +438 -0
- package/dist/assets/DataView-Cdrj2-_S.js +91 -0
- package/dist/assets/DataView.stories-C3-uJ4p2.js +954 -0
- package/dist/assets/DatePicker-BxTRZXpL.js +1 -0
- package/dist/assets/DatePicker-CV_LiOVN.js +11 -0
- package/dist/assets/DatePicker.stories-CybR6XBy.js +133 -0
- package/dist/assets/DateTimePicker-DFQrMMgz.js +1 -0
- package/dist/assets/DateTimePicker.stories-Bx4peuGE.js +158 -0
- package/dist/assets/Design Tokens-iEdY5-4y.js +4 -0
- package/dist/assets/Dialog-B5LWaL0C.js +1 -0
- package/dist/assets/Dialog.stories-M1TA90dU.js +207 -0
- package/dist/assets/DialogContent-DBoG8cPo.js +1 -0
- package/dist/assets/DialogTitle-6m4SWKSG.js +1 -0
- package/dist/assets/Divider-CtIp4StC.js +1 -0
- package/dist/assets/Divider.stories-DjRXEk1s.js +5 -0
- package/dist/assets/DocsRenderer-CFRXHY34-P8M6yttG.js +2 -0
- package/dist/assets/Documentation-D90FkF1l.js +1 -0
- package/dist/assets/Download-xLlaDLdW.js +1 -0
- package/dist/assets/Drawer-D3_c8kSj.js +33 -0
- package/dist/assets/Drawer.stories-D5ZaAWIB.js +95 -0
- package/dist/assets/EmptyState-BRinTaKa.js +11 -0
- package/dist/assets/EmptyState.stories-D-MGLqky.js +11 -0
- package/dist/assets/ExampleButton.stories-lZAq-r_i.js +320 -0
- package/dist/assets/Extending Translations-iDMcBEO1.js +148 -0
- package/dist/assets/ExternalLink-C7UPr4SL.js +1 -0
- package/dist/assets/Fade-DSMklDt3.js +1 -0
- package/dist/assets/Field-BVmhMv9m.js +11 -0
- package/dist/assets/FieldHint-BFs7d7f5.js +1 -0
- package/dist/assets/Fieldset-C7cnRgpz.js +11 -0
- package/dist/assets/Fieldset.stories-QZ3FrfNb.js +15 -0
- package/dist/assets/FileUploader.stories-CAXhIDLt.js +58 -0
- package/dist/assets/Filter-DIh5C0Cq.js +1 -0
- package/dist/assets/Folder-DTgm0zQ0.js +1 -0
- package/dist/assets/Form Field Accessibility-C_uLQOBv.js +18 -0
- package/dist/assets/Form-EZzJYIT7.js +11 -0
- package/dist/assets/Form.stories-D9GPQhfS.js +69 -0
- package/dist/assets/FormControlLabel-0yOoM5iA.js +1 -0
- package/dist/assets/FormGroup-B2pOz0HL.js +1 -0
- package/dist/assets/FormHelperText-CZEj6vhF.js +1 -0
- package/dist/assets/FormLabel-C4KesWyd.js +1 -0
- package/dist/assets/FullScreenOverlay-CbLDrzu3.js +11 -0
- package/dist/assets/Generating Icons-BlpStA4N.js +16 -0
- package/dist/assets/Globe-CLLXW_yR.js +1 -0
- package/dist/assets/Grid-CTO70W_E.js +1 -0
- package/dist/assets/Group-BQH7lDPW.js +1 -0
- package/dist/assets/GroupPicker _labs_.stories-D-jPedqU.js +33 -0
- package/dist/assets/Grow-CbLflC0D.js +1 -0
- package/dist/assets/Hide-E3YBylpY.js +1 -0
- package/dist/assets/Hint-qhf1AEE0.js +11 -0
- package/dist/assets/HintLink.stories-CYlMoTFx.js +44 -0
- package/dist/assets/Home-yAl98ghs.js +1 -0
- package/dist/assets/Icon _icons_.stories-D-AWLuB9.js +16 -0
- package/dist/assets/IconButton-DwJqCevw.js +1 -0
- package/dist/assets/IconWithTooltip _icons_.stories-DE5HwN5H.js +19 -0
- package/dist/assets/InformationCircle-By7rXsxW.js +1 -0
- package/dist/assets/InputAdornment-CrT6j38e.js +1 -0
- package/dist/assets/InputBase-Cc2rXj8N.js +2 -0
- package/dist/assets/Installing odyssey-react-mui-BXo5U9tZ.js +216 -0
- package/dist/assets/Introduction-DJ-EDw1b.js +36 -0
- package/dist/assets/Layout-DfnguYJ3.js +11 -0
- package/dist/assets/Layout.stories-DGtK-sb4.js +285 -0
- package/dist/assets/Legacy Migrations-BvJnbBns.js +86 -0
- package/dist/assets/Link-B0jVOXLw.js +1 -0
- package/dist/assets/Link-CaBVKAGj.js +11 -0
- package/dist/assets/Link-LYj8-DeM.js +1 -0
- package/dist/assets/Link-P2sjP-aD.js +1 -0
- package/dist/assets/Link.stories-i53_1Tpy.js +38 -0
- package/dist/assets/List-BcG-NsbC.js +1 -0
- package/dist/assets/List-DFK8p7ZW.js +1 -0
- package/dist/assets/ListItem-Bv1M9lel.js +1 -0
- package/dist/assets/ListSubheader-CBvKBAKL.js +1 -0
- package/dist/assets/ListSubheader.stories-C_l7xOCL.js +5 -0
- package/dist/assets/Menu-g2Uj1mcn.js +1 -0
- package/dist/assets/MenuButton-BAmmLodS.js +11 -0
- package/dist/assets/MenuButton.stories-CQVVoTy1.js +246 -0
- package/dist/assets/MenuContext-DKMyPMNY.js +11 -0
- package/dist/assets/MenuItem-CJ8f1-Gg.js +1 -0
- package/dist/assets/MenuItem-DR63CY7B.js +1 -0
- package/dist/assets/MenuItem.stories-BOWN4pFz.js +38 -0
- package/dist/assets/MenuList-sllDVDo3.js +1 -0
- package/dist/assets/Modal-D0XtQHFw.js +1 -0
- package/dist/assets/More-CXrgFSVS.js +1 -0
- package/dist/assets/MuiPropsContext-DhRylJZk.js +11 -0
- package/dist/assets/NativeSelect.stories-SugLBKz7.js +173 -0
- package/dist/assets/Notification-08pZljJb.js +1 -0
- package/dist/assets/OdysseyProvider-YUKfsUrL.js +76 -0
- package/dist/assets/OdysseyStorybookThemeDecorator-DsQ8XVOG.js +1 -0
- package/dist/assets/OdysseyThemeProvider-uYQ_l8PJ.js +189 -0
- package/dist/assets/PageHeader.stories-Bl-DdoS-.js +364 -0
- package/dist/assets/PageHeader.stories-CloMCl88.js +57 -0
- package/dist/assets/PageTemplate _labs_-Dm7sBdz9.js +8 -0
- package/dist/assets/PageTemplate _labs_.stories-Cz0PIbrs.js +306 -0
- package/dist/assets/PageTemplate-Bst4OydU.js +21 -0
- package/dist/assets/PageTemplate.stories-CeRObmlQ.js +205 -0
- package/dist/assets/PaginatedTable _labs_.stories-UxmUHrH9.js +65 -0
- package/dist/assets/Pagination-iboAjua_.js +11 -0
- package/dist/assets/Pagination.stories-BCbuKsR4.js +17 -0
- package/dist/assets/Paper-BGSgbZC6.js +1 -0
- package/dist/assets/PasswordField.stories-DKFTzpqb.js +121 -0
- package/dist/assets/Picker _labs_.stories-BPfssL8O.js +18 -0
- package/dist/assets/PickerWithOptionAdornment _labs_.stories-rMUH3rtj.js +70 -0
- package/dist/assets/PlaceholderLogo-JfVvgA23.js +11 -0
- package/dist/assets/Popper-vW9B5iyN.js +1 -0
- package/dist/assets/Portal-ev1Y_qJb.js +1 -0
- package/dist/assets/ProgressBar.stories-VEY_ihAE.js +311 -0
- package/dist/assets/Radio-4dniU8ku.js +1 -0
- package/dist/assets/Radio-CnmlQGNx.js +1 -0
- package/dist/assets/Radio.stories-DyJFXoBq.js +63 -0
- package/dist/assets/RadioGroup-C_VrT_hm.js +10 -0
- package/dist/assets/RadioGroup-DxwohQ69.js +1 -0
- package/dist/assets/RadioGroup-GPUhtH5i.js +1 -0
- package/dist/assets/RadioGroup.stories-pF3uSMSb.js +138 -0
- package/dist/assets/Refresh-djvJkW-o.js +1 -0
- package/dist/assets/ResourceAccessPolicyComponentsStorybookThemeDecorator-CmW-AnrB.js +212 -0
- package/dist/assets/Right-to-Left (RTL)-DpiFoQRN.js +62 -0
- package/dist/assets/ScreenReaderText-CQNs2mcT.js +1 -0
- package/dist/assets/ScreenReaderText-DgymQTv2.js +15 -0
- package/dist/assets/ScreenReaderText.stories-DCOADRMP.js +8 -0
- package/dist/assets/Search-BdL9PIj1.js +1 -0
- package/dist/assets/SearchDropdown _labs_.stories-DISXh7bC.js +53 -0
- package/dist/assets/SearchField-C-y7eHW0.js +1 -0
- package/dist/assets/SearchField.stories-7IOflkmE.js +37 -0
- package/dist/assets/Select-BcdWA_SU.js +1 -0
- package/dist/assets/Select-mT9rgyNE.js +15 -0
- package/dist/assets/Select.stories-CBn0BmaJ.js +233 -0
- package/dist/assets/Server-BjJU0LGG.js +1 -0
- package/dist/assets/Settings-CjZSn0DO.js +1 -0
- package/dist/assets/Setup-B9xdxAqK.js +7 -0
- package/dist/assets/Shadow DOM-DQqEg_OE.js +64 -0
- package/dist/assets/Show-Blc9FMhI.js +1 -0
- package/dist/assets/SideNav-VVxkM7xa.js +85 -0
- package/dist/assets/SideNav-a8fqWzAH.js +131 -0
- package/dist/assets/SideNav.stories-C0ROmHeE.js +207 -0
- package/dist/assets/Skeleton-BSJpuJ78.js +51 -0
- package/dist/assets/Snackbar-BY4-2ak2.js +1 -0
- package/dist/assets/Stack-Co_ZNMgX.js +1 -0
- package/dist/assets/Stack-jRk0Yp6q.js +1 -0
- package/dist/assets/Stack.stories-Dt0hIC8B.js +1 -0
- package/dist/assets/StaticTable _labs_.stories-Dwx7A_WU.js +34 -0
- package/dist/assets/Status-BbCnhdhJ.js +1 -0
- package/dist/assets/Status.stories-DW2Kp-Dt.js +66 -0
- package/dist/assets/Stepper.stories-DDaIDnwk.js +564 -0
- package/dist/assets/Surface-Ceuyc0F6.js +1 -0
- package/dist/assets/Switch.stories-bT5JBB7t.js +72 -0
- package/dist/assets/SwitchBase-DDdOwpAs.js +1 -0
- package/dist/assets/Sync-BUHhhjqx.js +1 -0
- package/dist/assets/Tabs-AOq_ZOqc.js +1 -0
- package/dist/assets/Tabs-DAl04bRj.js +23 -0
- package/dist/assets/Tabs.stories-nDuOOblr.js +100 -0
- package/dist/assets/Tag-DPyljaiU.js +11 -0
- package/dist/assets/Tag.stories-dG5LwGHg.js +96 -0
- package/dist/assets/TagList-DcY5amcr.js +1 -0
- package/dist/assets/TextField-DvELiaRt.js +1 -0
- package/dist/assets/TextField.stories-B8dPipzE.js +177 -0
- package/dist/assets/Toast.stories-CU2mbz7X.js +164 -0
- package/dist/assets/ToastManager.stories-CNHdRjYp.js +196 -0
- package/dist/assets/Tooltip-Bx__kQJp.js +11 -0
- package/dist/assets/Tooltip-gH7ETEPn.js +1 -0
- package/dist/assets/Tooltip.stories-Dh10ZcLO.js +68 -0
- package/dist/assets/TopNav-CwC-Hfu7.js +11 -0
- package/dist/assets/TopNav.stories-CHynTSTq.js +13 -0
- package/dist/assets/TransitionGroupContext-DAL84N7p.js +1 -0
- package/dist/assets/Typography-BIFhmR2K.js +1 -0
- package/dist/assets/Typography-Cy2gjnNe.js +1 -0
- package/dist/assets/Typography-Dl4InsuU.js +9 -0
- package/dist/assets/Typography-gfYWxfhb.js +1 -0
- package/dist/assets/Typography.stories-BBqx1A0N.js +139 -0
- package/dist/assets/Typography.stories-CWHWJK4j.js +73 -0
- package/dist/assets/UiShell.stories-DR8ntSCC.js +558 -0
- package/dist/assets/UiShellProvider-Cr2Lr10c.js +31 -0
- package/dist/assets/Upload-BmwJgpFZ.js +1 -0
- package/dist/assets/User-DR3B8-Pw.js +1 -0
- package/dist/assets/UserProfile-Cra6rpT4.js +11 -0
- package/dist/assets/UserProfile.stories-BHXBhH-A.js +14 -0
- package/dist/assets/UserProfileMenuButton.stories-CbIX2qVe.js +30 -0
- package/dist/assets/Video-BrBarEGj.js +1 -0
- package/dist/assets/WorkflowsComponentsStorybookThemeDecorator-dm_9FhMX.js +197 -0
- package/dist/assets/_commonjsHelpers-gnU0ypJ3.js +1 -0
- package/dist/assets/assertThisInitialized-B9jnkVVz.js +1 -0
- package/dist/assets/axe-4JP0vCEZ.js +30 -0
- package/dist/assets/axeRun-B-LchFqf.js +11 -0
- package/dist/assets/chunk-XP5HYGXS-BpfKkqn7.js +1 -0
- package/dist/assets/client-ByW5HbEz.js +1 -0
- package/dist/assets/colorManipulator-BxsGKdcY.js +1 -0
- package/dist/assets/constants-CGUp4oSR.js +11 -0
- package/dist/assets/constants-CyailK6t.js +11 -0
- package/dist/assets/createBox-emhTu6dS.js +1 -0
- package/dist/assets/createChainedFunction-BO_9K8Jh.js +1 -0
- package/dist/assets/createStyled-B09qmfVW.js +1 -0
- package/dist/assets/createSvgIcon-SdTF6s8l.js +1 -0
- package/dist/assets/createUniqueId-BHjR7HQF.js +11 -0
- package/dist/assets/debounce-Be36O1Ab.js +1 -0
- package/dist/assets/dialogActionsClasses-Dyfou6Pj.js +1 -0
- package/dist/assets/dom.esm-B9r8vBgQ.js +65 -0
- package/dist/assets/emotion-react-jsx-runtime.browser.esm-DyRr7bu9.js +1 -0
- package/dist/assets/entry-preview-8rdU1LSP.js +2 -0
- package/dist/assets/entry-preview-docs-BKXv92OK.js +46 -0
- package/dist/assets/fieldComponentPropsMetaData-kU3Yruac.js +11 -0
- package/dist/assets/getReactElementRef-CYW9xr5m.js +1 -0
- package/dist/assets/getScrollbarSize-Bqq2hMjQ.js +1 -0
- package/dist/assets/i18next-7SyOfhCu.js +1 -0
- package/dist/assets/iconUtils-IdK4hqQS.js +11 -0
- package/dist/assets/iframe-B5wE2ay9.js +211 -0
- package/dist/assets/index-B-lxVbXh.js +1 -0
- package/dist/assets/index-B5xazMy1.js +1 -0
- package/dist/assets/index-BJMTVygn.js +240 -0
- package/dist/assets/index-BJTM6NaI.js +192 -0
- package/dist/assets/index-BeeV6X6A.js +1 -0
- package/dist/assets/index-Bg123T1w.js +1 -0
- package/dist/assets/index-CXQShRbs.js +8 -0
- package/dist/assets/index-DI1lVgTb.js +1 -0
- package/dist/assets/index-DiEiQB-f.js +384 -0
- package/dist/assets/index-DieBXP3Z.js +24 -0
- package/dist/assets/index-DrFu-skq.js +6 -0
- package/dist/assets/index-NdkWRN8K.js +9 -0
- package/dist/assets/index.esm-CSagFIBX.js +138 -0
- package/dist/assets/index.esm-CcYwRB5x.js +1 -0
- package/dist/assets/index.modern-CkASn_bb.js +14 -0
- package/dist/assets/inheritsLoose-6wpAF9yl.js +1 -0
- package/dist/assets/inputUtils-Dbi8XkA6.js +11 -0
- package/dist/assets/isHostComponent-DVu5iVWx.js +1 -0
- package/dist/assets/jsx-runtime-CnH95YSl.js +9 -0
- package/dist/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
- package/dist/assets/ownerDocument-DW-IO8s5.js +1 -0
- package/dist/assets/ownerWindow-HkKU3E4x.js +1 -0
- package/dist/assets/personData-D_hHWF6B.js +1 -0
- package/dist/assets/personData-FNT5LNaA.js +11 -0
- package/dist/assets/pickerComponentPropsMetadata-DrOyW8Hu.js +21 -0
- package/dist/assets/popper-BXFsSIrb.js +1 -0
- package/dist/assets/preview-B0Jk1i10.js +11 -0
- package/dist/assets/preview-B8lJiyuQ.js +34 -0
- package/dist/assets/preview-BBWR9nbA.js +1 -0
- package/dist/assets/preview-BWzBA1C2.js +396 -0
- package/dist/assets/preview-BaoH-L4j.js +1 -0
- package/dist/assets/preview-CYp4EYYZ.js +1 -0
- package/dist/assets/preview-CvbIS5ZJ.js +1 -0
- package/dist/assets/preview-DGUiP6tS.js +7 -0
- package/dist/assets/preview-DHQbi4pV.js +1 -0
- package/dist/assets/preview-DtECuC7p.js +2 -0
- package/dist/assets/preview-MBifGIx_.js +1 -0
- package/dist/assets/preview-nv3jWDyz.js +2 -0
- package/dist/assets/pxToRem-BrMhKUxS.js +11 -0
- package/dist/assets/react-18-u8niHpKc.js +1 -0
- package/dist/assets/renderUiShell.stories-uAoeUcRt.js +872 -0
- package/dist/assets/resolveComponentProps-zX2d3UUb.js +1 -0
- package/dist/assets/tableSortLabelClasses-t0B4WNP1.js +1 -0
- package/dist/assets/test-utils-H9lH7T5D.js +9 -0
- package/dist/assets/uiShellSharedConstants-CvCey4L_.js +11 -0
- package/dist/assets/useAutocomplete-CkesXhEs.js +11 -0
- package/dist/assets/useControlled-NQulfz4l.js +1 -0
- package/dist/assets/useFormControl-BMISTZuX.js +1 -0
- package/dist/assets/useIsFocusVisible-DH0qxT5e.js +1 -0
- package/dist/assets/useMobilePicker-DEUQ7oE6.js +6 -0
- package/dist/assets/useMountLifecycleEffect-CjsUCFhB.js +11 -0
- package/dist/assets/useOdysseyDateFields-_3ZdpiPL.js +61 -0
- package/dist/assets/useScrollIndication-DEbEqkqk.js +31 -0
- package/dist/assets/useSlot-bWb1W-uo.js +1 -0
- package/dist/assets/useStoryArgOrLocalState-CRQAGSTX.js +11 -0
- package/dist/assets/useThemeProps-4A-zY4M2.js +1 -0
- package/dist/assets/useThemeProps-DOJ_m4Vc.js +1 -0
- package/dist/assets/useUniqueId-DUzAQ6pl.js +11 -0
- package/dist/assets/utilities.esm-DpQ0TZP_.js +5 -0
- package/dist/assets/utils-iop7lDec.js +1 -0
- package/dist/assets/utils-uddq32f3.js +1 -0
- package/dist/assets/v4-CtRu48qb.js +1 -0
- package/dist/assets/visuallyHidden-Dan1xhjv.js +1 -0
- package/dist/favicon.svg +1 -0
- package/dist/iframe.html +748 -0
- package/dist/index.cjs +231 -0
- package/dist/index.d.ts +233 -0
- package/dist/index.html +203 -0
- package/dist/index.json +1 -0
- package/dist/index.mjs +229 -0
- package/dist/index.scss +549 -0
- package/dist/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/nunito-sans-bold.woff2 +0 -0
- package/dist/nunito-sans-italic.woff2 +0 -0
- package/dist/nunito-sans-regular.woff2 +0 -0
- package/dist/project.json +1 -0
- package/dist/sb-addons/a11y-3/manager-bundle.js +220 -0
- package/dist/sb-addons/docs-1/manager-bundle.js +242 -0
- package/dist/sb-addons/essentials-actions-5/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-backgrounds-6/manager-bundle.js +12 -0
- package/dist/sb-addons/essentials-controls-4/manager-bundle.js +402 -0
- package/dist/sb-addons/essentials-measure-9/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-outline-10/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-toolbars-8/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-viewport-7/manager-bundle.js +3 -0
- package/dist/sb-addons/interactions-11/manager-bundle.js +222 -0
- package/dist/sb-addons/links-2/manager-bundle.js +3 -0
- package/dist/sb-addons/rtl-12/manager-bundle.js +3 -0
- package/dist/sb-addons/storybook-13/manager-bundle.js +3 -0
- package/dist/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/dist/sb-common-assets/favicon.svg +1 -0
- package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/sb-manager/globals-module-info.js +1052 -0
- package/dist/sb-manager/globals-runtime.js +42127 -0
- package/dist/sb-manager/globals.js +48 -0
- package/dist/sb-manager/runtime.js +12048 -0
- package/package.json +2 -2
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{r as i}from"./index-NdkWRN8K.js";import{O as K}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{d as S,c as O}from"./personData-D_hHWF6B.js";import{M as m}from"./PageTemplate-Bst4OydU.js";import{M as Y}from"./Dialog-B5LWaL0C.js";import{M as o}from"./Button-NJfX6YsF.js";import{M as c}from"./Surface-Ceuyc0F6.js";import{M as P}from"./DataTable-OEqPccZc.js";import{g as J,a as d,f as h,d as k}from"./Typography-gfYWxfhb.js";import{M as Q}from"./MenuButton-BAmmLodS.js";import{M as D}from"./MenuItem-CJ8f1-Gg.js";import{M as N}from"./Drawer-D3_c8kSj.js";import{M as X}from"./Form-EZzJYIT7.js";import{M as j}from"./TextField-DvELiaRt.js";import{u as Z}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{M as n}from"./Box-XLjSpNxK.js";import{M as ee}from"./Checkbox-LVOv88W2.js";import{M as p}from"./Layout-DfnguYJ3.js";const te=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."})]}),ae=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."}),ne={component:m,decorators:[K],parameters:{layout:"fullscreen"},argTypes:{title:{control:"text",description:"The title to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},description:{control:"text",description:"A supplementary description to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},documentationLink:{control:"text",description:"The destination for a documentation `Link` to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},documentationText:{control:"text",description:"The text for a documentation `Link` to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},drawer:{description:"An optional `Drawer` object. Can be of variant 'temporary' or 'persistent'.",table:{type:{summary:"ReactElement<typeof Drawer>"}}},primaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header. Should almost always be of variant `primary`.",table:{type:{summary:"ReactElement<typeof Button>"}}},secondaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header, alongside the `callToActionPrimaryComponent`.",table:{type:{summary:"ReactElement<typeof Button>"}}},tertiaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header, alongside the other two `callToAction` components.",table:{type:{summary:"ReactElement<typeof Button>"}}},children:{description:"The content of the `PageTemplate`. May be a `string` or any other `ReactNode` or array of `ReactNode`s. Will often be `Grid` objects.",table:{type:{summary:"ReactNode"}}},isFullWidth:{control:"boolean",description:"When set to `true`, the `PageTemplate` expands past its max width of 1440px and spans the entire available screen width.",table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}}}},x={args:{title:"Table title",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Documentation",isFullWidth:!1},render:function(t){const[s]=i.useState(S.slice(0,10)),[r,a]=i.useState(!1),[l,u]=i.useState(!1),g=i.useCallback(()=>s,[s]),_=i.useCallback(()=>{a(!0)},[]),w=i.useCallback(()=>{a(!1)},[]),$=i.useCallback(()=>{u(!0)},[]),T=i.useCallback(()=>{u(!1)},[]);return e.jsxs(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,drawer:e.jsx(N,{isOpen:r,onClose:w,primaryCallToActionComponent:e.jsx(o,{label:"Primary",onClick:w,variant:"primary"}),showDividers:!0,title:"Drawer title",variant:"temporary",children:te}),isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:"Open overlay drawer",onClick:r?w:_,variant:"primary"}),secondaryCallToActionComponent:e.jsx(o,{label:"Open dialog",onClick:l?T:$,variant:"secondary"}),tertiaryCallToActionComponent:e.jsx(Q,{buttonLabel:"More actions",children:[e.jsx(D,{children:"View details"},"1"),e.jsx(D,{children:"Edit configuration"},"2"),e.jsx(D,{children:"Launch"},"3")]}),title:t.title,children:[e.jsx(Y,{children:"Consistently named a Leader by major analyst firms. Trusted by 15,000+ customers to secure digital interactions and accelerate innovation.",isOpen:l,onClose:T,primaryCallToActionComponent:e.jsx(o,{label:"Button label",onClick:T,variant:"primary"}),secondaryCallToActionComponent:e.jsx(o,{label:"Cancel",onClick:T,variant:"secondary"}),title:"Dialog title"}),e.jsxs(p,{regions:[3,1],children:[e.jsx(c,{children:e.jsx(P,{columns:O,getData:g,hasFilters:!0,hasSearch:!0,totalRows:10})}),e.jsxs(c,{children:[e.jsx(J,{children:"Some supporting content could go here"}),e.jsx(d,{children:"Lorem ipsum odor amet, consectetuer adipiscing elit. Inceptos turpis mattis; tempor proin per natoque. Ex eu dictum varius tristique himenaeos aenean sem consectetur urna. Curabitur ultricies aptent ac tempus natoque tellus. Rutrum facilisi facilisi ligula aenean sociosqu nec velit parturient id. Egestas viverra tempus non, turpis ad ex penatibus. Scelerisque maximus etiam arcu laoreet nam vitae platea. Non fermentum potenti cursus, varius augue varius. Cubilia imperdiet aptent viverra mus urna. Et netus at ad lorem; hac eu."})]})]})]})}},y={args:{title:"Table title",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Documentation",isFullWidth:!1},render:function(t){const[s]=i.useState(S.slice(0,10)),[r,a]=i.useState(!1),l=i.useCallback(()=>s,[s]),u=i.useCallback(()=>{a(!0)},[]),g=i.useCallback(()=>{a(!1)},[]);return e.jsx(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,drawer:e.jsx(N,{isOpen:r,onClose:g,primaryCallToActionComponent:e.jsx(o,{label:"Primary",onClick:g,variant:"primary"}),showDividers:!0,title:"Drawer title",variant:"persistent",children:ae}),isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:r?"Close embedded drawer":"Open embedded drawer",onClick:r?g:u,variant:"primary"}),title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsx(P,{columns:O,getData:l,hasFilters:!0,hasSearch:!0,totalRows:10})})})})}},f={args:{title:"People",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!1},render:function(t){return e.jsx(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:"Reset passwords",variant:"primary"}),title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsxs(X,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(o,{label:"Reset",variant:"secondary"}),e.jsx(o,{label:"Submit",type:"submit",variant:"primary"})]}),name:"Add Person",title:"Add Person",children:[e.jsx(j,{label:"First name"}),e.jsx(j,{label:"Last name"}),e.jsx(j,{label:"Email"})]})})})})}},b={args:{title:"Account",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!1},render:function(t){const s=[{field:"Company name",value:"ACME Corporation"},{field:"Telephone number",value:"012-345-6789"},{field:"Address 1",value:void 0},{field:"Address 2",value:void 0}],r=[{field:"Technical contact",value:"Add-Min O'Cloudy (admin@okta.com)"},{field:"Support phone",value:"012-345-6789"},{field:"Help link",value:void 0},{field:"End User Help Form",value:void 0}],a=Z();return e.jsxs(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,title:t.title,children:[e.jsxs(p,{regions:[2,1],children:[e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Organization Contact"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsx(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing4,marginTop:a.Spacing4},children:s.map((l,u)=>e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:l.field}),e.jsx(d,{children:l.value})]},u))})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Billing information"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"The billing contact can be contacted by Okta for the purposes of billing inquiries."}),e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:"Billing contact"}),e.jsx(d,{children:"Add-Min O'Cloudy (admin@okta.com)"})]})]})]})]}),e.jsxs(p,{regions:[1,1,1],children:[e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Give Access to Okta Support"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"For troubleshooting purposes, you can let Okta Support login to your account as an administrator."}),e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:"Okta Support access"}),e.jsx(d,{children:"Disabled"})]})]})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"End User Support"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"For troubleshooting purposes, you can let Okta Support login to your account as an administrator."}),r.map((l,u)=>e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:l.field}),e.jsx(d,{children:l.value})]},u))]})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Third-Party Admins"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsx(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",columnGap:a.Spacing8},children:[e.jsx(d,{children:"Manage Third-Party Admins"}),e.jsx(ee,{label:"This org contains third-party admins that need to be fully excluded from all Okta communications, including admin-related system notifications. Once enabled, you can exclude individual admins from communications by editing their admin record."})]})})]})]})]})}},C={args:{title:"Full-width Table",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!0},render:function(t){const[s]=i.useState(S.slice(0,10)),r=i.useCallback(()=>s,[s]);return e.jsx(m,{documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsx(P,{columns:O,getData:r,hasFilters:!0,hasSearch:!0,totalRows:10})})})})}};var A,B,F;x.parameters={...x.parameters,docs:{...(A=x.parameters)==null?void 0:A.docs,source:{originalSource:`{
|
|
2
|
+
args: {
|
|
3
|
+
title: "Table title",
|
|
4
|
+
description: "Optional brief description about the page",
|
|
5
|
+
documentationLink: "https://www.okta.com",
|
|
6
|
+
documentationText: "Documentation",
|
|
7
|
+
isFullWidth: false
|
|
8
|
+
},
|
|
9
|
+
render: function C(args) {
|
|
10
|
+
const [data] = useState<Person[]>(personData.slice(0, 10));
|
|
11
|
+
const [isOverlayDrawerVisible, setIsOverlayVisible] = useState(false);
|
|
12
|
+
const [isDialogVisible, setIsDialogVisible] = useState(false);
|
|
13
|
+
const getData = useCallback(() => {
|
|
14
|
+
return data;
|
|
15
|
+
}, [data]);
|
|
16
|
+
const onOpenOverlayDrawer = useCallback(() => {
|
|
17
|
+
setIsOverlayVisible(true);
|
|
18
|
+
}, []);
|
|
19
|
+
const onCloseOverlayDrawer = useCallback(() => {
|
|
20
|
+
setIsOverlayVisible(false);
|
|
21
|
+
}, []);
|
|
22
|
+
const onOpenDialog = useCallback(() => {
|
|
23
|
+
setIsDialogVisible(true);
|
|
24
|
+
}, []);
|
|
25
|
+
const onCloseDialog = useCallback(() => {
|
|
26
|
+
setIsDialogVisible(false);
|
|
27
|
+
}, []);
|
|
28
|
+
return <PageTemplate description={args.description} documentationLink={args.documentationLink} documentationText={args.documentationText} drawer={<Drawer isOpen={isOverlayDrawerVisible} onClose={onCloseOverlayDrawer} primaryCallToActionComponent={<Button label="Primary" onClick={onCloseOverlayDrawer} variant="primary" />} showDividers title="Drawer title" variant="temporary">
|
|
29
|
+
{drawerLongText}
|
|
30
|
+
</Drawer>} isFullWidth={args.isFullWidth} primaryCallToActionComponent={<Button label="Open overlay drawer" onClick={isOverlayDrawerVisible ? onCloseOverlayDrawer : onOpenOverlayDrawer} variant="primary" />} secondaryCallToActionComponent={<Button label="Open dialog" onClick={isDialogVisible ? onCloseDialog : onOpenDialog} variant="secondary" />} tertiaryCallToActionComponent={<MenuButton buttonLabel="More actions" children={[<MenuItem key="1">View details</MenuItem>, <MenuItem key="2">Edit configuration</MenuItem>, <MenuItem key="3">Launch</MenuItem>]} />} title={args.title}>
|
|
31
|
+
<Dialog children="Consistently named a Leader by major analyst firms. Trusted by 15,000+ customers to secure digital interactions and accelerate innovation." isOpen={isDialogVisible} onClose={onCloseDialog} primaryCallToActionComponent={<Button label="Button label" onClick={onCloseDialog} variant="primary" />} secondaryCallToActionComponent={<Button label="Cancel" onClick={onCloseDialog} variant="secondary" />} title="Dialog title" />
|
|
32
|
+
<Layout regions={[3, 1]}>
|
|
33
|
+
<Surface>
|
|
34
|
+
<DataTable columns={personColumns} getData={getData} hasFilters hasSearch totalRows={10} />
|
|
35
|
+
</Surface>
|
|
36
|
+
<Surface>
|
|
37
|
+
<Heading3>Some supporting content could go here</Heading3>
|
|
38
|
+
<Paragraph>
|
|
39
|
+
Lorem ipsum odor amet, consectetuer adipiscing elit. Inceptos
|
|
40
|
+
turpis mattis; tempor proin per natoque. Ex eu dictum varius
|
|
41
|
+
tristique himenaeos aenean sem consectetur urna. Curabitur
|
|
42
|
+
ultricies aptent ac tempus natoque tellus. Rutrum facilisi
|
|
43
|
+
facilisi ligula aenean sociosqu nec velit parturient id. Egestas
|
|
44
|
+
viverra tempus non, turpis ad ex penatibus. Scelerisque maximus
|
|
45
|
+
etiam arcu laoreet nam vitae platea. Non fermentum potenti cursus,
|
|
46
|
+
varius augue varius. Cubilia imperdiet aptent viverra mus urna. Et
|
|
47
|
+
netus at ad lorem; hac eu.
|
|
48
|
+
</Paragraph>
|
|
49
|
+
</Surface>
|
|
50
|
+
</Layout>
|
|
51
|
+
</PageTemplate>;
|
|
52
|
+
}
|
|
53
|
+
}`,...(F=(B=x.parameters)==null?void 0:B.docs)==null?void 0:F.source}}};var L,M,E;y.parameters={...y.parameters,docs:{...(L=y.parameters)==null?void 0:L.docs,source:{originalSource:`{
|
|
54
|
+
args: {
|
|
55
|
+
title: "Table title",
|
|
56
|
+
description: "Optional brief description about the page",
|
|
57
|
+
documentationLink: "https://www.okta.com",
|
|
58
|
+
documentationText: "Documentation",
|
|
59
|
+
isFullWidth: false
|
|
60
|
+
},
|
|
61
|
+
render: function C(args) {
|
|
62
|
+
const [data] = useState<Person[]>(personData.slice(0, 10));
|
|
63
|
+
const [isEmbeddedDrawerVisible, setIsEmbeddedVisible] = useState(false);
|
|
64
|
+
const getData = useCallback(() => {
|
|
65
|
+
return data;
|
|
66
|
+
}, [data]);
|
|
67
|
+
const onOpenEmbeddedDrawer = useCallback(() => {
|
|
68
|
+
setIsEmbeddedVisible(true);
|
|
69
|
+
}, []);
|
|
70
|
+
const onCloseEmbeddedDrawer = useCallback(() => {
|
|
71
|
+
setIsEmbeddedVisible(false);
|
|
72
|
+
}, []);
|
|
73
|
+
return <PageTemplate description={args.description} documentationLink={args.documentationLink} documentationText={args.documentationText} drawer={<Drawer isOpen={isEmbeddedDrawerVisible} onClose={onCloseEmbeddedDrawer} primaryCallToActionComponent={<Button label="Primary" onClick={onCloseEmbeddedDrawer} variant="primary" />} showDividers title="Drawer title" variant="persistent">
|
|
74
|
+
{drawerShortText}
|
|
75
|
+
</Drawer>} isFullWidth={args.isFullWidth} primaryCallToActionComponent={<Button label={isEmbeddedDrawerVisible ? "Close embedded drawer" : "Open embedded drawer"} onClick={isEmbeddedDrawerVisible ? onCloseEmbeddedDrawer : onOpenEmbeddedDrawer} variant="primary" />} title={args.title}>
|
|
76
|
+
<Layout regions={[1]}>
|
|
77
|
+
<Surface>
|
|
78
|
+
<DataTable columns={personColumns} getData={getData} hasFilters hasSearch totalRows={10} />
|
|
79
|
+
</Surface>
|
|
80
|
+
</Layout>
|
|
81
|
+
</PageTemplate>;
|
|
82
|
+
}
|
|
83
|
+
}`,...(E=(M=y.parameters)==null?void 0:M.docs)==null?void 0:E.source}}};var I,W,V;f.parameters={...f.parameters,docs:{...(I=f.parameters)==null?void 0:I.docs,source:{originalSource:`{
|
|
84
|
+
args: {
|
|
85
|
+
title: "People",
|
|
86
|
+
description: "Optional brief description about the page",
|
|
87
|
+
documentationLink: "https://www.okta.com",
|
|
88
|
+
documentationText: "Help",
|
|
89
|
+
isFullWidth: false
|
|
90
|
+
},
|
|
91
|
+
render: function C(args) {
|
|
92
|
+
return <PageTemplate description={args.description} documentationLink={args.documentationLink} documentationText={args.documentationText} isFullWidth={args.isFullWidth} primaryCallToActionComponent={<Button label="Reset passwords" variant="primary" />} title={args.title}>
|
|
93
|
+
<Layout regions={[1]}>
|
|
94
|
+
<Surface>
|
|
95
|
+
<OdysseyForm formActions={<>
|
|
96
|
+
<Button label="Reset" variant="secondary" />
|
|
97
|
+
<Button label="Submit" type="submit" variant="primary" />
|
|
98
|
+
</>} name="Add Person" title="Add Person">
|
|
99
|
+
<TextField label="First name" />
|
|
100
|
+
<TextField label="Last name" />
|
|
101
|
+
<TextField label="Email" />
|
|
102
|
+
</OdysseyForm>
|
|
103
|
+
</Surface>
|
|
104
|
+
</Layout>
|
|
105
|
+
</PageTemplate>;
|
|
106
|
+
}
|
|
107
|
+
}`,...(V=(W=f.parameters)==null?void 0:W.docs)==null?void 0:V.source}}};var z,H,R;b.parameters={...b.parameters,docs:{...(z=b.parameters)==null?void 0:z.docs,source:{originalSource:`{
|
|
108
|
+
args: {
|
|
109
|
+
title: "Account",
|
|
110
|
+
documentationLink: "https://www.okta.com",
|
|
111
|
+
documentationText: "Help",
|
|
112
|
+
isFullWidth: false
|
|
113
|
+
},
|
|
114
|
+
render: function C(args) {
|
|
115
|
+
const organizationData = [{
|
|
116
|
+
field: "Company name",
|
|
117
|
+
value: "ACME Corporation"
|
|
118
|
+
}, {
|
|
119
|
+
field: "Telephone number",
|
|
120
|
+
value: "012-345-6789"
|
|
121
|
+
}, {
|
|
122
|
+
field: "Address 1",
|
|
123
|
+
value: undefined
|
|
124
|
+
}, {
|
|
125
|
+
field: "Address 2",
|
|
126
|
+
value: undefined
|
|
127
|
+
}];
|
|
128
|
+
const endUserData = [{
|
|
129
|
+
field: "Technical contact",
|
|
130
|
+
value: "Add-Min O'Cloudy (admin@okta.com)"
|
|
131
|
+
}, {
|
|
132
|
+
field: "Support phone",
|
|
133
|
+
value: "012-345-6789"
|
|
134
|
+
}, {
|
|
135
|
+
field: "Help link",
|
|
136
|
+
value: undefined
|
|
137
|
+
}, {
|
|
138
|
+
field: "End User Help Form",
|
|
139
|
+
value: undefined
|
|
140
|
+
}];
|
|
141
|
+
const odysseyDesignTokens = useOdysseyDesignTokens();
|
|
142
|
+
return <PageTemplate description={args.description} documentationLink={args.documentationLink} documentationText={args.documentationText} isFullWidth={args.isFullWidth} title={args.title}>
|
|
143
|
+
<Layout regions={[2, 1]}>
|
|
144
|
+
<Surface>
|
|
145
|
+
<Box sx={{
|
|
146
|
+
display: "flex",
|
|
147
|
+
justifyContent: "space-between",
|
|
148
|
+
alignItems: "flex-end"
|
|
149
|
+
}}>
|
|
150
|
+
<Heading5>Organization Contact</Heading5>
|
|
151
|
+
<Button label="Edit" variant="floating" />
|
|
152
|
+
</Box>
|
|
153
|
+
<Box sx={{
|
|
154
|
+
display: "flex",
|
|
155
|
+
flexDirection: "column",
|
|
156
|
+
rowGap: odysseyDesignTokens.Spacing4,
|
|
157
|
+
marginTop: odysseyDesignTokens.Spacing4
|
|
158
|
+
}}>
|
|
159
|
+
{organizationData.map((data, index) => {
|
|
160
|
+
return <Box key={index} sx={{
|
|
161
|
+
display: "flex",
|
|
162
|
+
justifyContent: "space-between"
|
|
163
|
+
}}>
|
|
164
|
+
<Paragraph>{data.field}</Paragraph>
|
|
165
|
+
<Paragraph>{data.value}</Paragraph>
|
|
166
|
+
</Box>;
|
|
167
|
+
})}
|
|
168
|
+
</Box>
|
|
169
|
+
</Surface>
|
|
170
|
+
<Surface>
|
|
171
|
+
<Box sx={{
|
|
172
|
+
display: "flex",
|
|
173
|
+
justifyContent: "space-between",
|
|
174
|
+
alignItems: "flex-end"
|
|
175
|
+
}}>
|
|
176
|
+
<Heading5>Billing information</Heading5>
|
|
177
|
+
<Button label="Edit" variant="floating" />
|
|
178
|
+
</Box>
|
|
179
|
+
<Box sx={{
|
|
180
|
+
display: "flex",
|
|
181
|
+
flexDirection: "column",
|
|
182
|
+
rowGap: odysseyDesignTokens.Spacing2,
|
|
183
|
+
marginTop: odysseyDesignTokens.Spacing4
|
|
184
|
+
}}>
|
|
185
|
+
<Support>
|
|
186
|
+
The billing contact can be contacted by Okta for the purposes of
|
|
187
|
+
billing inquiries.
|
|
188
|
+
</Support>
|
|
189
|
+
<Box sx={{
|
|
190
|
+
display: "flex",
|
|
191
|
+
justifyContent: "space-between"
|
|
192
|
+
}}>
|
|
193
|
+
<Paragraph>Billing contact</Paragraph>
|
|
194
|
+
<Paragraph>Add-Min O'Cloudy (admin@okta.com)</Paragraph>
|
|
195
|
+
</Box>
|
|
196
|
+
</Box>
|
|
197
|
+
</Surface>
|
|
198
|
+
</Layout>
|
|
199
|
+
<Layout regions={[1, 1, 1]}>
|
|
200
|
+
<Surface>
|
|
201
|
+
<Box sx={{
|
|
202
|
+
display: "flex",
|
|
203
|
+
justifyContent: "space-between",
|
|
204
|
+
alignItems: "flex-end"
|
|
205
|
+
}}>
|
|
206
|
+
<Heading5>Give Access to Okta Support</Heading5>
|
|
207
|
+
<Button label="Edit" variant="floating" />
|
|
208
|
+
</Box>
|
|
209
|
+
<Box sx={{
|
|
210
|
+
display: "flex",
|
|
211
|
+
flexDirection: "column",
|
|
212
|
+
rowGap: odysseyDesignTokens.Spacing2,
|
|
213
|
+
marginTop: odysseyDesignTokens.Spacing4
|
|
214
|
+
}}>
|
|
215
|
+
<Support>
|
|
216
|
+
For troubleshooting purposes, you can let Okta Support login to
|
|
217
|
+
your account as an administrator.
|
|
218
|
+
</Support>
|
|
219
|
+
<Box sx={{
|
|
220
|
+
display: "flex",
|
|
221
|
+
justifyContent: "space-between"
|
|
222
|
+
}}>
|
|
223
|
+
<Paragraph>Okta Support access</Paragraph>
|
|
224
|
+
<Paragraph>Disabled</Paragraph>
|
|
225
|
+
</Box>
|
|
226
|
+
</Box>
|
|
227
|
+
</Surface>
|
|
228
|
+
<Surface>
|
|
229
|
+
<Box sx={{
|
|
230
|
+
display: "flex",
|
|
231
|
+
justifyContent: "space-between",
|
|
232
|
+
alignItems: "flex-end"
|
|
233
|
+
}}>
|
|
234
|
+
<Heading5>End User Support</Heading5>
|
|
235
|
+
<Button label="Edit" variant="floating" />
|
|
236
|
+
</Box>
|
|
237
|
+
<Box sx={{
|
|
238
|
+
display: "flex",
|
|
239
|
+
flexDirection: "column",
|
|
240
|
+
rowGap: odysseyDesignTokens.Spacing2,
|
|
241
|
+
marginTop: odysseyDesignTokens.Spacing4
|
|
242
|
+
}}>
|
|
243
|
+
<Support>
|
|
244
|
+
For troubleshooting purposes, you can let Okta Support login to
|
|
245
|
+
your account as an administrator.
|
|
246
|
+
</Support>
|
|
247
|
+
{endUserData.map((data, index) => {
|
|
248
|
+
return <Box key={index} sx={{
|
|
249
|
+
display: "flex",
|
|
250
|
+
justifyContent: "space-between"
|
|
251
|
+
}}>
|
|
252
|
+
<Paragraph>{data.field}</Paragraph>
|
|
253
|
+
<Paragraph>{data.value}</Paragraph>
|
|
254
|
+
</Box>;
|
|
255
|
+
})}
|
|
256
|
+
</Box>
|
|
257
|
+
</Surface>
|
|
258
|
+
<Surface>
|
|
259
|
+
<Box sx={{
|
|
260
|
+
display: "flex",
|
|
261
|
+
justifyContent: "space-between",
|
|
262
|
+
alignItems: "flex-end"
|
|
263
|
+
}}>
|
|
264
|
+
<Heading5>Third-Party Admins</Heading5>
|
|
265
|
+
<Button label="Edit" variant="floating" />
|
|
266
|
+
</Box>
|
|
267
|
+
<Box sx={{
|
|
268
|
+
display: "flex",
|
|
269
|
+
flexDirection: "column",
|
|
270
|
+
rowGap: odysseyDesignTokens.Spacing2,
|
|
271
|
+
marginTop: odysseyDesignTokens.Spacing4
|
|
272
|
+
}}>
|
|
273
|
+
<Box sx={{
|
|
274
|
+
display: "flex",
|
|
275
|
+
justifyContent: "space-between",
|
|
276
|
+
columnGap: odysseyDesignTokens.Spacing8
|
|
277
|
+
}}>
|
|
278
|
+
<Paragraph>Manage Third-Party Admins</Paragraph>
|
|
279
|
+
<Checkbox label="This org contains third-party admins that need to be fully excluded from all Okta communications, including admin-related system notifications. Once enabled, you can exclude individual admins from communications by editing their admin record." />
|
|
280
|
+
</Box>
|
|
281
|
+
</Box>
|
|
282
|
+
</Surface>
|
|
283
|
+
</Layout>
|
|
284
|
+
</PageTemplate>;
|
|
285
|
+
}
|
|
286
|
+
}`,...(R=(H=b.parameters)==null?void 0:H.docs)==null?void 0:R.source}}};var G,q,U;C.parameters={...C.parameters,docs:{...(G=C.parameters)==null?void 0:G.docs,source:{originalSource:`{
|
|
287
|
+
args: {
|
|
288
|
+
title: "Full-width Table",
|
|
289
|
+
documentationLink: "https://www.okta.com",
|
|
290
|
+
documentationText: "Help",
|
|
291
|
+
isFullWidth: true
|
|
292
|
+
},
|
|
293
|
+
render: function C(args) {
|
|
294
|
+
const [data] = useState<Person[]>(personData.slice(0, 10));
|
|
295
|
+
const getData = useCallback(() => {
|
|
296
|
+
return data;
|
|
297
|
+
}, [data]);
|
|
298
|
+
return <PageTemplate documentationLink={args.documentationLink} documentationText={args.documentationText} isFullWidth={args.isFullWidth} title={args.title}>
|
|
299
|
+
<Layout regions={[1]}>
|
|
300
|
+
<Surface>
|
|
301
|
+
<DataTable columns={personColumns} getData={getData} hasFilters hasSearch totalRows={10} />
|
|
302
|
+
</Surface>
|
|
303
|
+
</Layout>
|
|
304
|
+
</PageTemplate>;
|
|
305
|
+
}
|
|
306
|
+
}`,...(U=(q=C.parameters)==null?void 0:q.docs)==null?void 0:U.source}}};const ie=["KitchenSink","EmbeddedDrawer","Form","Dashboard","FullWidth"],ke=Object.freeze(Object.defineProperty({__proto__:null,Dashboard:b,EmbeddedDrawer:y,Form:f,FullWidth:C,KitchenSink:x,__namedExportsOrder:ie,default:ne},Symbol.toStringTag,{value:"Module"}));export{ke as P};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{u as k,h as r}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as o}from"./index-NdkWRN8K.js";import{b as j,a as D}from"./Typography-gfYWxfhb.js";import{u as M}from"./useMountLifecycleEffect-CjsUCFhB.js";import{j as i}from"./jsx-runtime-CnH95YSl.js";import{L as P}from"./Link-LYj8-DeM.js";import{M as F}from"./Documentation-D90FkF1l.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 H="data-unified-ui-shell",L=()=>{const[e,s]=o.useState(!1);return o.useEffect(()=>{s(!!document.querySelector(`[${H}]`))},[]),e},b=({children:e,href:s,icon:n,target:a})=>i.jsxs(P,{href:s,target:a,children:[n&&i.jsx("span",{className:"Link-icon",children:n}),e]}),g=o.memo(b);g.displayName="DocumentationLink";/*!
|
|
12
|
+
* Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
13
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
14
|
+
*
|
|
15
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
18
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
*
|
|
20
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
21
|
+
*/const v=r("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"&&e!=="hasUiShell"&&e!=="isFullWidth"})(({hasUiShell:e,isFullWidth:s,odysseyDesignTokens:n})=>({maxWidth:s?"100%":`calc(1440px + ${n.Spacing6} + ${n.Spacing6})`,marginInline:s&&!e?n.Spacing6:"auto",padding:e?0:n.Spacing6})),R=r("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})(({odysseyDesignTokens:e})=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:e.Spacing4})),w=r("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})(({odysseyDesignTokens:e})=>({maxWidth:e.TypographyLineLengthMax,".MuiTypography-root:last-child":{marginBlockEnd:"0"}})),z=r("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})(({odysseyDesignTokens:e})=>({alignItems:"flex-end",display:"flex",flexDirection:"column",gap:e.Spacing4,minHeight:e.Spacing7,justifyContent:"center",whiteSpace:"nowrap"})),C=r("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})(({odysseyDesignTokens:e})=>({display:"flex",gap:e.Spacing2})),E=r("div",{shouldForwardProp:e=>!["drawerVariant","isDrawerOpen","isFirstRender","odysseyDesignTokens"].includes(e)})(({drawerVariant:e,isDrawerOpen:s,isFirstRender:n,odysseyDesignTokens:a})=>({"@keyframes animate-drawer-open":{"0%":{gridTemplateColumns:"minmax(0, 1fr) 0"},"100%":{gridTemplateColumns:"minmax(0, 1fr) 360px"}},"@keyframes animate-drawer-close":{"0%":{gridTemplateColumns:"minmax(0, 1fr) 360px"},"100%":{gridTemplateColumns:"minmax(0, 1fr) 0"}},display:"grid",gridGap:e==="persistent"&&!s?0:a.Spacing4,gap:e==="persistent"&&!s?0:a.Spacing4,marginBlock:a.Spacing4,gridTemplateColumns:e==="persistent"?s?"minmax(0, 1fr) 360px":"minmax(0, 1fr) 0":"minmax(0, 1fr)",animation:e==="persistent"&&(!n||s)?`animate-drawer-${s?"open":"close"} 225ms cubic-bezier(0, 0, 0.2, 1)`:void 0})),U=({children:e,description:s,documentationLink:n,documentationText:a,drawer:l,isFullWidth:h=!1,primaryCallToActionComponent:m,secondaryCallToActionComponent:d,tertiaryCallToActionComponent:c,title:p})=>{const t=k(),{isOpen:f,variant:x}=(l==null?void 0:l.props)??{},y=L(),u=o.useRef(!0),S=u.current,T=o.useCallback(()=>{u.current=!1},[]);return M({onMount:T}),i.jsxs(v,{hasUiShell:y,isFullWidth:h,odysseyDesignTokens:t,children:[i.jsxs(R,{odysseyDesignTokens:t,children:[i.jsxs(w,{odysseyDesignTokens:t,children:[p&&i.jsx(j,{children:p}),s&&i.jsx(D,{children:s})]}),i.jsxs(z,{odysseyDesignTokens:t,children:[n&&i.jsx(g,{href:n,icon:i.jsx(F,{}),target:"_blank",children:a}),(m||d||c)&&i.jsxs(C,{odysseyDesignTokens:t,children:[c,d,m]})]})]}),i.jsxs(E,{drawerVariant:x,isDrawerOpen:f,isFirstRender:S,odysseyDesignTokens:t,children:[e,l]})]})},B=o.memo(U);B.displayName="PageTemplate";export{B as M,H as u};
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{u as _,R as G,P as t}from"./ResourceAccessPolicyComponentsStorybookThemeDecorator-CmW-AnrB.js";import{a as C,j as P}from"./emotion-react-jsx-runtime.browser.esm-DyRr7bu9.js";import{h as L}from"./OdysseyThemeProvider-uYQ_l8PJ.js";import{r as s}from"./index-NdkWRN8K.js";import{a as d}from"./index-B-lxVbXh.js";import{O as J}from"./OdysseyStorybookThemeDecorator-DsQ8XVOG.js";import{M as h}from"./Surface-Ceuyc0F6.js";import{M as f}from"./Form-EZzJYIT7.js";import{M as c}from"./TextField-DvELiaRt.js";import{M as n}from"./Button-NJfX6YsF.js";import{B as y}from"./Breadcrumbs-24mVV2FV.js";import{M as I}from"./MenuButton-BAmmLodS.js";import{M as R}from"./MenuItem-CJ8f1-Gg.js";import{M as V}from"./Drawer-D3_c8kSj.js";import{M as x}from"./Layout-DfnguYJ3.js";import"./Typography-Cy2gjnNe.js";import"./Typography-BIFhmR2K.js";import"./Box-C-xmRxaS.js";import"./createBox-emhTu6dS.js";import"./Chip-p4lq04qX.js";import"./createSvgIcon-SdTF6s8l.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./ButtonBase-Wolvis_2.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-6wpAF9yl.js";import"./TransitionGroupContext-DAL84N7p.js";import"./Link-LYj8-DeM.js";import"./Menu-g2Uj1mcn.js";import"./getReactElementRef-CYW9xr5m.js";import"./resolveComponentProps-zX2d3UUb.js";import"./isHostComponent-DVu5iVWx.js";import"./Grow-CbLflC0D.js";import"./utils-uddq32f3.js";import"./index-B5xazMy1.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./index-DieBXP3Z.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./debounce-Be36O1Ab.js";import"./Modal-D0XtQHFw.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-ev1Y_qJb.js";import"./Fade-DSMklDt3.js";import"./Paper-BGSgbZC6.js";import"./MenuList-sllDVDo3.js";import"./List-BcG-NsbC.js";import"./i18next-7SyOfhCu.js";import"./OdysseyProvider-YUKfsUrL.js";import"./v4-CtRu48qb.js";import"./index-BJTM6NaI.js";import"./Typography-gfYWxfhb.js";import"./useUniqueId-DUzAQ6pl.js";import"./createUniqueId-BHjR7HQF.js";import"./Field-BVmhMv9m.js";import"./Box-XLjSpNxK.js";import"./ListItem-Bv1M9lel.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-C4KesWyd.js";import"./ScreenReaderText-CQNs2mcT.js";import"./visuallyHidden-Dan1xhjv.js";import"./FormHelperText-CZEj6vhF.js";import"./FieldHint-BFs7d7f5.js";import"./inputUtils-Dbi8XkA6.js";import"./InputBase-Cc2rXj8N.js";import"./InputAdornment-CrT6j38e.js";import"./BaseButton-CPts8Xl1.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-Bx__kQJp.js";import"./Tooltip-gH7ETEPn.js";import"./useControlled-NQulfz4l.js";import"./Popper-vW9B5iyN.js";import"./popper-BXFsSIrb.js";import"./Button-dStBbGjZ.js";import"./Group-BQH7lDPW.js";import"./User-DR3B8-Pw.js";import"./MenuItem-DR63CY7B.js";import"./Home-yAl98ghs.js";import"./BaseMenuButton-Cg0erRE5.js";import"./MenuContext-DKMyPMNY.js";import"./More-CXrgFSVS.js";import"./FullScreenOverlay-CbLDrzu3.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 K="data-unified-ui-shell",Q=()=>{const[r,a]=s.useState(!1);return s.useEffect(()=>{a(!!document.querySelector(`[${K}]`))},[]),r};/*!
|
|
12
|
+
* Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
13
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
14
|
+
*
|
|
15
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
18
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
*
|
|
20
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
21
|
+
*/const X=({onMount:r,onUpdate:a})=>{const i=s.useRef(!1),o=s.useRef(r);s.useEffect(()=>{var l;i.current?a==null||a():(i.current=!0,(l=o.current)==null||l.call(o))},[a])},Y=L("div",{shouldForwardProp:r=>r!=="odysseyDesignTokens"&&r!=="hasUiShell"&&r!=="isFullWidth"})(({hasUiShell:r,isFullWidth:a,odysseyDesignTokens:i})=>({maxWidth:a?"100%":`calc(1440px + ${i.Spacing6} + ${i.Spacing6})`,marginInline:a&&!r?i.Spacing6:"auto",padding:r?0:i.Spacing6})),Z=L("div",{shouldForwardProp:r=>!["drawerVariant","isDrawerOpen","isFirstRender","odysseyDesignTokens"].includes(r)})(({drawerVariant:r,isDrawerOpen:a,isFirstRender:i,odysseyDesignTokens:o})=>({"@keyframes animate-drawer-open":{"0%":{gridTemplateColumns:"minmax(0, 1fr) 0"},"100%":{gridTemplateColumns:"minmax(0, 1fr) 360px"}},"@keyframes animate-drawer-close":{"0%":{gridTemplateColumns:"minmax(0, 1fr) 360px"},"100%":{gridTemplateColumns:"minmax(0, 1fr) 0"}},display:"grid",gridGap:r==="persistent"&&!a?0:o.Spacing4,gap:r==="persistent"&&!a?0:o.Spacing4,marginBlock:o.Spacing6,gridTemplateColumns:r==="persistent"?a?"minmax(0, 1fr) 360px":"minmax(0, 1fr) 0":"minmax(0, 1fr)",animation:r==="persistent"&&(!i||a)?`animate-drawer-${a?"open":"close"} 225ms cubic-bezier(0, 0, 0.2, 1)`:void 0,"& > div":{minWidth:0}})),U=({headerComponent:r,children:a,drawer:i,isFullWidth:o=!1,testId:l="page-template"})=>{const v=_(),{isOpen:z,variant:W}=(i==null?void 0:i.props)??{},q=Q(),k=s.useRef(!0),N=k.current,$=s.useCallback(()=>{k.current=!1},[]);return X({onMount:$}),C(Y,{"data-testid":l,hasUiShell:q,isFullWidth:o,odysseyDesignTokens:v,children:[r&&P("div",{children:r}),C(Z,{drawerVariant:W,isDrawerOpen:z,isFirstRender:N,odysseyDesignTokens:v,children:[P("div",{children:a}),P("div",{children:i})]},"template-content")]})},m=s.memo(U);m.displayName="PageTemplate";const Ma={component:m,decorators:[J,G],parameters:{layout:"fullscreen"},tags:["autodocs"]},u={render:r=>e.jsx(m,{headerComponent:e.jsxs(t,{children:[e.jsxs(t.Breadcrumbs,{homeHref:"#",children:[e.jsx(y,{href:"#",onClick:d("Page Title click"),children:"Page Title"},"page1"),e.jsx(y,{children:"Current Page"},"current")]},"breadcrumbs"),e.jsx(t.Title,{overline:"OVERLINE",status:{label:"BETA",severity:"info"},children:"Title"},"title"),e.jsx(t.Metadata,{items:["Metadata A","Metadata B","Metadata C"]},"metadata"),e.jsx(t.Description,{children:"Cultellus conforto bos adinventitias compello delibero usitas confugo statim. Tres tenax comes quaerat arguo cibus absorbeo debilito."},"description"),e.jsx(t.Documentation,{href:"#",children:"Documentation"},"documentation"),e.jsxs(t.Actions,{children:[e.jsx(I,{buttonLabel:"Secondary",children:e.jsx(R,{onClick:d("Action click"),children:"Action"})},"secondary"),e.jsx(n,{label:"Primary",onClick:d("primary click"),variant:"primary"},"primary")]},"actions")]}),isFullWidth:r.isFullWidth,children:e.jsx(x,{regions:[1],children:e.jsx(h,{children:e.jsxs(f,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Reset",variant:"secondary"},"reset"),e.jsx(n,{label:"Submit",type:"submit",variant:"primary"},"submit")]}),name:"Add Person",title:"Add Person",children:[e.jsx(c,{label:"First name"}),e.jsx(c,{label:"Last name"}),e.jsx(c,{label:"Email"})]})})})})},p={render:function(){const[a,i]=s.useState(!1),o=s.useCallback(()=>{i(!0)},[]),l=s.useCallback(()=>{i(!1)},[]);return e.jsx(m,{drawer:e.jsx(V,{hasDividers:!0,isOpen:a,onClose:l,primaryCallToActionComponent:e.jsx(n,{label:"Primary",onClick:l,variant:"primary"}),title:"Drawer title",variant:"temporary",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."})}),headerComponent:e.jsxs(t,{children:[e.jsx(t.Title,{children:"Title"},"title"),e.jsx(t.Description,{children:"Cultellus conforto bos adinventitias compello delibero usitas confugo statim. Tres tenax comes quaerat arguo cibus absorbeo debilito."},"description"),e.jsx(t.Documentation,{href:"#",children:"Documentation"},"documentation"),e.jsx(t.Actions,{children:e.jsx(n,{label:a?"Close embedded drawer":"Open embedded drawer",onClick:a?l:o,variant:"primary"})},"actions")]}),children:e.jsx(x,{regions:[1],children:e.jsx(h,{children:e.jsxs(f,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Reset",variant:"secondary"},"reset"),e.jsx(n,{label:"Submit",type:"submit",variant:"primary"},"submit")]}),name:"Add Person",title:"Add Person",children:[e.jsx(c,{label:"First name"}),e.jsx(c,{label:"Last name"}),e.jsx(c,{label:"Email"})]})})})})}},b={render:function(){const[a,i]=s.useState(!1),o=s.useCallback(()=>{i(!0)},[]),l=s.useCallback(()=>{i(!1)},[]);return e.jsx(m,{drawer:e.jsx(V,{hasDividers:!0,isOpen:a,onClose:l,primaryCallToActionComponent:e.jsx(n,{label:"Primary",onClick:l,variant:"primary"}),title:"Drawer title",variant:"persistent",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."})}),headerComponent:e.jsxs(t,{children:[e.jsx(t.Title,{children:"Title"},"title"),e.jsx(t.Description,{children:"Cultellus conforto bos adinventitias compello delibero usitas confugo statim. Tres tenax comes quaerat arguo cibus absorbeo debilito."},"description"),e.jsx(t.Documentation,{href:"#",children:"Documentation"},"documentation"),e.jsx(t.Actions,{children:e.jsx(n,{label:a?"Close embedded drawer":"Open embedded drawer",onClick:a?l:o,variant:"primary"})},"actions")]}),children:e.jsx(x,{regions:[1],children:e.jsx(h,{children:e.jsxs(f,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Reset",variant:"secondary"},"reset"),e.jsx(n,{label:"Submit",type:"submit",variant:"primary"},"submit")]}),name:"Add Person",title:"Add Person",children:[e.jsx(c,{label:"First name"}),e.jsx(c,{label:"Last name"}),e.jsx(c,{label:"Email"})]})})})})}},g={render:()=>e.jsx(m,{headerComponent:e.jsxs(t,{children:[e.jsxs(t.Breadcrumbs,{homeHref:"#",children:[e.jsx(y,{href:"#",onClick:d("Page Title click"),children:"Page Title"},"page1"),e.jsx(y,{children:"Current Page"},"current")]},"breadcrumbs"),e.jsx(t.Title,{overline:"OVERLINE",status:{label:"BETA",severity:"info"},children:"Title"},"title"),e.jsx(t.Metadata,{items:["Metadata A","Metadata B","Metadata C"]},"metadata"),e.jsx(t.Description,{children:"Cultellus conforto bos adinventitias compello delibero usitas confugo statim. Tres tenax comes quaerat arguo cibus absorbeo debilito."},"description"),e.jsx(t.Documentation,{href:"#",children:"Documentation"},"documentation"),e.jsxs(t.Actions,{children:[e.jsx(I,{buttonLabel:"Secondary",children:e.jsx(R,{onClick:d("Action click"),children:"Action"})},"secondary"),e.jsx(n,{label:"Primary",onClick:d("primary click"),variant:"primary"},"primary")]},"actions")]}),isFullWidth:!0,children:e.jsx(x,{regions:[1],children:e.jsx(h,{children:e.jsxs(f,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Reset",variant:"secondary"},"reset"),e.jsx(n,{label:"Submit",type:"submit",variant:"primary"},"submit")]}),name:"Add Person",title:"Add Person",children:[e.jsx(c,{label:"First name"}),e.jsx(c,{label:"Last name"}),e.jsx(c,{label:"Email"})]})})})})};var j,D,A;u.parameters={...u.parameters,docs:{...(j=u.parameters)==null?void 0:j.docs,source:{originalSource:`{
|
|
22
|
+
render: args => <PageTemplate headerComponent={<PageHeader>
|
|
23
|
+
<PageHeader.Breadcrumbs homeHref="#" key="breadcrumbs">
|
|
24
|
+
<Breadcrumb href="#" key="page1" onClick={action("Page Title click")}>
|
|
25
|
+
Page Title
|
|
26
|
+
</Breadcrumb>
|
|
27
|
+
<Breadcrumb key="current">Current Page</Breadcrumb>
|
|
28
|
+
</PageHeader.Breadcrumbs>
|
|
29
|
+
<PageHeader.Title key="title" overline="OVERLINE" status={{
|
|
30
|
+
label: "BETA",
|
|
31
|
+
severity: "info"
|
|
32
|
+
}}>
|
|
33
|
+
Title
|
|
34
|
+
</PageHeader.Title>
|
|
35
|
+
<PageHeader.Metadata items={["Metadata A", "Metadata B", "Metadata C"]} key="metadata" />
|
|
36
|
+
<PageHeader.Description key="description">
|
|
37
|
+
Cultellus conforto bos adinventitias compello delibero usitas
|
|
38
|
+
confugo statim. Tres tenax comes quaerat arguo cibus absorbeo
|
|
39
|
+
debilito.
|
|
40
|
+
</PageHeader.Description>
|
|
41
|
+
<PageHeader.Documentation href="#" key="documentation">
|
|
42
|
+
Documentation
|
|
43
|
+
</PageHeader.Documentation>
|
|
44
|
+
<PageHeader.Actions key="actions">
|
|
45
|
+
<MenuButton buttonLabel="Secondary" key="secondary">
|
|
46
|
+
<MenuItem onClick={action("Action click")}>Action</MenuItem>
|
|
47
|
+
</MenuButton>
|
|
48
|
+
<Button key="primary" label="Primary" onClick={action("primary click")} variant="primary" />
|
|
49
|
+
</PageHeader.Actions>
|
|
50
|
+
</PageHeader>} isFullWidth={args.isFullWidth}>
|
|
51
|
+
<Layout regions={[1]}>
|
|
52
|
+
<Surface>
|
|
53
|
+
<Form formActions={<>
|
|
54
|
+
<Button key="reset" label="Reset" variant="secondary" />
|
|
55
|
+
<Button key="submit" label="Submit" type="submit" variant="primary" />
|
|
56
|
+
</>} name="Add Person" title="Add Person">
|
|
57
|
+
<TextField label="First name" />
|
|
58
|
+
<TextField label="Last name" />
|
|
59
|
+
<TextField label="Email" />
|
|
60
|
+
</Form>
|
|
61
|
+
</Surface>
|
|
62
|
+
</Layout>
|
|
63
|
+
</PageTemplate>
|
|
64
|
+
}`,...(A=(D=u.parameters)==null?void 0:D.docs)==null?void 0:A.source}}};var T,w,H;p.parameters={...p.parameters,docs:{...(T=p.parameters)==null?void 0:T.docs,source:{originalSource:`{
|
|
65
|
+
render: function C() {
|
|
66
|
+
const [isDrawerVisible, setIsDrawerVisible] = useState(false);
|
|
67
|
+
const onOpenEmbeddedDrawer = useCallback(() => {
|
|
68
|
+
setIsDrawerVisible(true);
|
|
69
|
+
}, []);
|
|
70
|
+
const onCloseEmbeddedDrawer = useCallback(() => {
|
|
71
|
+
setIsDrawerVisible(false);
|
|
72
|
+
}, []);
|
|
73
|
+
return <PageTemplate drawer={<Drawer hasDividers isOpen={isDrawerVisible} onClose={onCloseEmbeddedDrawer} primaryCallToActionComponent={<Button label="Primary" onClick={onCloseEmbeddedDrawer} variant="primary" />} title="Drawer title" variant="temporary">
|
|
74
|
+
<div>
|
|
75
|
+
Okta Privileged Access is a Privileged Access Management (PAM)
|
|
76
|
+
solution designed to help customers mitigate the risk of
|
|
77
|
+
unauthorized access to resources, a critical area of security and
|
|
78
|
+
risk management in any organization. Okta Privileged Access builds
|
|
79
|
+
on the current server access control capabilities provided with
|
|
80
|
+
Okta Advanced Server Access and delivers a unified approach to
|
|
81
|
+
managing access to all your privileged accounts. It securely
|
|
82
|
+
connects people, machines, and applications to privileged
|
|
83
|
+
resources such as servers, containers, and enterprise apps.
|
|
84
|
+
</div>
|
|
85
|
+
</Drawer>} headerComponent={<PageHeader>
|
|
86
|
+
<PageHeader.Title key="title">Title</PageHeader.Title>
|
|
87
|
+
<PageHeader.Description key="description">
|
|
88
|
+
Cultellus conforto bos adinventitias compello delibero usitas
|
|
89
|
+
confugo statim. Tres tenax comes quaerat arguo cibus absorbeo
|
|
90
|
+
debilito.
|
|
91
|
+
</PageHeader.Description>
|
|
92
|
+
<PageHeader.Documentation href="#" key="documentation">
|
|
93
|
+
Documentation
|
|
94
|
+
</PageHeader.Documentation>
|
|
95
|
+
<PageHeader.Actions key="actions">
|
|
96
|
+
<Button label={isDrawerVisible ? "Close embedded drawer" : "Open embedded drawer"} onClick={isDrawerVisible ? onCloseEmbeddedDrawer : onOpenEmbeddedDrawer} variant="primary" />
|
|
97
|
+
</PageHeader.Actions>
|
|
98
|
+
</PageHeader>}>
|
|
99
|
+
<Layout regions={[1]}>
|
|
100
|
+
<Surface>
|
|
101
|
+
<Form formActions={<>
|
|
102
|
+
<Button key="reset" label="Reset" variant="secondary" />
|
|
103
|
+
<Button key="submit" label="Submit" type="submit" variant="primary" />
|
|
104
|
+
</>} name="Add Person" title="Add Person">
|
|
105
|
+
<TextField label="First name" />
|
|
106
|
+
<TextField label="Last name" />
|
|
107
|
+
<TextField label="Email" />
|
|
108
|
+
</Form>
|
|
109
|
+
</Surface>
|
|
110
|
+
</Layout>
|
|
111
|
+
</PageTemplate>;
|
|
112
|
+
}
|
|
113
|
+
}`,...(H=(w=p.parameters)==null?void 0:w.docs)==null?void 0:H.source}}};var M,S,B;b.parameters={...b.parameters,docs:{...(M=b.parameters)==null?void 0:M.docs,source:{originalSource:`{
|
|
114
|
+
render: function C() {
|
|
115
|
+
const [isDrawerVisible, setIsDrawerVisible] = useState(false);
|
|
116
|
+
const onOpenEmbeddedDrawer = useCallback(() => {
|
|
117
|
+
setIsDrawerVisible(true);
|
|
118
|
+
}, []);
|
|
119
|
+
const onCloseEmbeddedDrawer = useCallback(() => {
|
|
120
|
+
setIsDrawerVisible(false);
|
|
121
|
+
}, []);
|
|
122
|
+
return <PageTemplate drawer={<Drawer hasDividers isOpen={isDrawerVisible} onClose={onCloseEmbeddedDrawer} primaryCallToActionComponent={<Button label="Primary" onClick={onCloseEmbeddedDrawer} variant="primary" />} title="Drawer title" variant="persistent">
|
|
123
|
+
<div>
|
|
124
|
+
Okta Privileged Access is a Privileged Access Management (PAM)
|
|
125
|
+
solution designed to help customers mitigate the risk of
|
|
126
|
+
unauthorized access to resources, a critical area of security and
|
|
127
|
+
risk management in any organization. Okta Privileged Access builds
|
|
128
|
+
on the current server access control capabilities provided with
|
|
129
|
+
Okta Advanced Server Access and delivers a unified approach to
|
|
130
|
+
managing access to all your privileged accounts. It securely
|
|
131
|
+
connects people, machines, and applications to privileged
|
|
132
|
+
resources such as servers, containers, and enterprise apps.
|
|
133
|
+
</div>
|
|
134
|
+
</Drawer>} headerComponent={<PageHeader>
|
|
135
|
+
<PageHeader.Title key="title">Title</PageHeader.Title>
|
|
136
|
+
<PageHeader.Description key="description">
|
|
137
|
+
Cultellus conforto bos adinventitias compello delibero usitas
|
|
138
|
+
confugo statim. Tres tenax comes quaerat arguo cibus absorbeo
|
|
139
|
+
debilito.
|
|
140
|
+
</PageHeader.Description>
|
|
141
|
+
<PageHeader.Documentation href="#" key="documentation">
|
|
142
|
+
Documentation
|
|
143
|
+
</PageHeader.Documentation>
|
|
144
|
+
<PageHeader.Actions key="actions">
|
|
145
|
+
<Button label={isDrawerVisible ? "Close embedded drawer" : "Open embedded drawer"} onClick={isDrawerVisible ? onCloseEmbeddedDrawer : onOpenEmbeddedDrawer} variant="primary" />
|
|
146
|
+
</PageHeader.Actions>
|
|
147
|
+
</PageHeader>}>
|
|
148
|
+
<Layout regions={[1]}>
|
|
149
|
+
<Surface>
|
|
150
|
+
<Form formActions={<>
|
|
151
|
+
<Button key="reset" label="Reset" variant="secondary" />
|
|
152
|
+
<Button key="submit" label="Submit" type="submit" variant="primary" />
|
|
153
|
+
</>} name="Add Person" title="Add Person">
|
|
154
|
+
<TextField label="First name" />
|
|
155
|
+
<TextField label="Last name" />
|
|
156
|
+
<TextField label="Email" />
|
|
157
|
+
</Form>
|
|
158
|
+
</Surface>
|
|
159
|
+
</Layout>
|
|
160
|
+
</PageTemplate>;
|
|
161
|
+
}
|
|
162
|
+
}`,...(B=(S=b.parameters)==null?void 0:S.docs)==null?void 0:B.source}}};var F,E,O;g.parameters={...g.parameters,docs:{...(F=g.parameters)==null?void 0:F.docs,source:{originalSource:`{
|
|
163
|
+
render: () => <PageTemplate headerComponent={<PageHeader>
|
|
164
|
+
<PageHeader.Breadcrumbs homeHref="#" key="breadcrumbs">
|
|
165
|
+
<Breadcrumb href="#" key="page1" onClick={action("Page Title click")}>
|
|
166
|
+
Page Title
|
|
167
|
+
</Breadcrumb>
|
|
168
|
+
<Breadcrumb key="current">Current Page</Breadcrumb>
|
|
169
|
+
</PageHeader.Breadcrumbs>
|
|
170
|
+
<PageHeader.Title key="title" overline="OVERLINE" status={{
|
|
171
|
+
label: "BETA",
|
|
172
|
+
severity: "info"
|
|
173
|
+
}}>
|
|
174
|
+
Title
|
|
175
|
+
</PageHeader.Title>
|
|
176
|
+
<PageHeader.Metadata items={["Metadata A", "Metadata B", "Metadata C"]} key="metadata" />
|
|
177
|
+
<PageHeader.Description key="description">
|
|
178
|
+
Cultellus conforto bos adinventitias compello delibero usitas
|
|
179
|
+
confugo statim. Tres tenax comes quaerat arguo cibus absorbeo
|
|
180
|
+
debilito.
|
|
181
|
+
</PageHeader.Description>
|
|
182
|
+
<PageHeader.Documentation href="#" key="documentation">
|
|
183
|
+
Documentation
|
|
184
|
+
</PageHeader.Documentation>
|
|
185
|
+
<PageHeader.Actions key="actions">
|
|
186
|
+
<MenuButton buttonLabel="Secondary" key="secondary">
|
|
187
|
+
<MenuItem onClick={action("Action click")}>Action</MenuItem>
|
|
188
|
+
</MenuButton>
|
|
189
|
+
<Button key="primary" label="Primary" onClick={action("primary click")} variant="primary" />
|
|
190
|
+
</PageHeader.Actions>
|
|
191
|
+
</PageHeader>} isFullWidth>
|
|
192
|
+
<Layout regions={[1]}>
|
|
193
|
+
<Surface>
|
|
194
|
+
<Form formActions={<>
|
|
195
|
+
<Button key="reset" label="Reset" variant="secondary" />
|
|
196
|
+
<Button key="submit" label="Submit" type="submit" variant="primary" />
|
|
197
|
+
</>} name="Add Person" title="Add Person">
|
|
198
|
+
<TextField label="First name" />
|
|
199
|
+
<TextField label="Last name" />
|
|
200
|
+
<TextField label="Email" />
|
|
201
|
+
</Form>
|
|
202
|
+
</Surface>
|
|
203
|
+
</Layout>
|
|
204
|
+
</PageTemplate>
|
|
205
|
+
}`,...(O=(E=g.parameters)==null?void 0:E.docs)==null?void 0:O.source}}};const Sa=["Default","OverlayDrawer","EmbeddedDrawer","FullWidth"];export{u as Default,b as EmbeddedDrawer,g as FullWidth,p as OverlayDrawer,Sa as __namedExportsOrder,Ma as default};
|