@okta/odyssey-react-mui 1.44.0 → 1.45.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/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-DLG6nIhh.js +1 -0
- package/dist/assets/Accordion.stories-VjVp52QD.js +85 -0
- package/dist/assets/AccordionSummary-xCoGLMoL.js +1 -0
- package/dist/assets/AlertTitle-DlG4YQWR.js +1 -0
- package/dist/assets/AppSwitcher-D7UlQ3S8.js +21 -0
- package/dist/assets/AppSwitcher.stories-Dv0DHDxk.js +100 -0
- package/dist/assets/AppTile _labs_.stories-CgXIqWmJ.js +136 -0
- package/dist/assets/ArrowDropDown-bSngWMh1.js +1 -0
- package/dist/assets/ArrowRight-DCIAiEpA.js +1 -0
- package/dist/assets/Autocomplete-MfScEzbR.js +1 -0
- package/dist/assets/Autocomplete-UE4wqxn0.js +1 -0
- package/dist/assets/Autocomplete.stories-CCtQosYH.js +316 -0
- package/dist/assets/Badge-DL9N0uiE.js +11 -0
- package/dist/assets/Banner-C66lWD3c.js +1 -0
- package/dist/assets/Banner.stories-D6KqnSl2.js +74 -0
- package/dist/assets/BaseButton-B5c4cgt8.js +11 -0
- package/dist/assets/BaseMenuButton-DbGGXXbP.js +1 -0
- package/dist/assets/Box-BCBP3C7Q.js +1 -0
- package/dist/assets/Box-BXOPvc0Q.js +1 -0
- package/dist/assets/Box-C2ekHaOu.js +1 -0
- package/dist/assets/Box-C_Qfmw-_.js +11 -0
- package/dist/assets/Box.stories-uaYeF2xg.js +38 -0
- package/dist/assets/Breadcrumbs-Qzfi3j0j.js +6 -0
- package/dist/assets/Breadcrumbs.stories-CHIGnsjh.js +79 -0
- package/dist/assets/Bug-m6zinguF.js +1 -0
- package/dist/assets/Button-BOzIr8Jh.js +11 -0
- package/dist/assets/Button-BqwcAVQ-.js +1 -0
- package/dist/assets/Button-Cf49fWiK.js +31 -0
- package/dist/assets/Button.stories-Db-QptTh.js +271 -0
- package/dist/assets/ButtonBase-BqXVk-1q.js +74 -0
- package/dist/assets/Calendar-CuqjwSb0.js +1 -0
- package/dist/assets/Callout-CaNoXhaj.js +1 -0
- package/dist/assets/Callout.stories-D2csAs8g.js +105 -0
- package/dist/assets/Card-B5eIV1vH.js +1 -0
- package/dist/assets/Card-Bfg-qZM7.js +8 -0
- package/dist/assets/Card.stories-BTaeWH4V.js +129 -0
- package/dist/assets/CardActionArea-yvoWcAsF.js +1 -0
- package/dist/assets/Check-BmyOKfcL.js +1 -0
- package/dist/assets/Checkbox-BTj1hXUa.js +1 -0
- package/dist/assets/Checkbox-luq82K1t.js +1 -0
- package/dist/assets/Checkbox.stories-ChhXQBH_.js +96 -0
- package/dist/assets/CheckboxGroup-Cgc2chES.js +1 -0
- package/dist/assets/CheckboxGroup.stories-DpGwHWla.js +81 -0
- package/dist/assets/ChevronDown-BnAWuc8V.js +1 -0
- package/dist/assets/ChevronRight-BB0bQIRj.js +1 -0
- package/dist/assets/ChevronUp-B9JV-jmd.js +1 -0
- package/dist/assets/Chip-BOK8DR8m.js +1 -0
- package/dist/assets/CircularProgress-DNk4kmx6.js +28 -0
- package/dist/assets/CircularProgress-Ur28_31H.js +1 -0
- package/dist/assets/CircularProgress.stories-gv9B0XLW.js +44 -0
- package/dist/assets/Clock-Byj5V_49.js +1 -0
- package/dist/assets/Close-DA7fBExu.js +1 -0
- package/dist/assets/Close-DA_Sph0R.js +1 -0
- package/dist/assets/CloseCircleFilled-D2aBlgBe.js +1 -0
- package/dist/assets/Code Styling Guidelines-CAzyRuHZ.js +14 -0
- package/dist/assets/Collapse-P1H1b4lO.js +1 -0
- package/dist/assets/Color-YHDXOIA2-CcHVwBQP.js +1 -0
- package/dist/assets/CssBaseline-C3xNeK8b.js +1 -0
- package/dist/assets/CssBaseline-CUjr0ON2.js +190 -0
- package/dist/assets/CssBaseline.stories-DgXaUmIC.js +402 -0
- package/dist/assets/Custom Theming-CKloJLS_.js +136 -0
- package/dist/assets/Custom Theming.stories-BHdYhCs2.js +93 -0
- package/dist/assets/DataFilters _labs_-D3S2uNi-.js +55 -0
- package/dist/assets/DataFilters _labs_.stories-RwWZVkCe.js +31 -0
- package/dist/assets/DataFilters-DVey1xPT.js +1 -0
- package/dist/assets/DataTable _labs_-CtXARbkP.js +41 -0
- package/dist/assets/DataTable _labs_.stories-U7XFYtR6.js +21 -0
- package/dist/assets/DataTable-CkACYzFJ.js +404 -0
- package/dist/assets/DataTable-CnCWIOTw.js +21 -0
- package/dist/assets/DataTable.stories-Db2HEmax.js +438 -0
- package/dist/assets/DataView _labs_-DZnmSNME.js +332 -0
- package/dist/assets/DataView _labs_.stories-CusuCHkc.js +438 -0
- package/dist/assets/DataView-BQBP0FCs.js +101 -0
- package/dist/assets/DatePicker-DIRg7n4d.js +1 -0
- package/dist/assets/DatePicker.stories-BPWj6DxY.js +143 -0
- package/dist/assets/DateTimePicker-CnXcHc5u.js +1 -0
- package/dist/assets/DateTimePicker.stories-nLmYctur.js +168 -0
- package/dist/assets/DefaultPropsProvider-B7tpShA7.js +9 -0
- package/dist/assets/Design Tokens-BxQ2eYvg.js +4 -0
- package/dist/assets/Dialog-BIM-1Zvj.js +1 -0
- package/dist/assets/Dialog.stories-D2UYs9Hc.js +201 -0
- package/dist/assets/DialogContent-C_FnZ5ZS.js +1 -0
- package/dist/assets/DialogTitle-CLDQZ0bg.js +1 -0
- package/dist/assets/Divider-CsWa3KCo.js +1 -0
- package/dist/assets/DocsRenderer-CFRXHY34-DEwq8OPY.js +2 -0
- package/dist/assets/Documentation-DM1hawvn.js +1 -0
- package/dist/assets/Download-Cp75oFKP.js +1 -0
- package/dist/assets/Drawer-Dg44iOBm.js +27 -0
- package/dist/assets/Drawer.stories-DRGYC84s.js +95 -0
- package/dist/assets/EmptyState-DQoihCwU.js +11 -0
- package/dist/assets/EmptyState.stories-C8kkt-lH.js +11 -0
- package/dist/assets/ExampleButton.stories-BKxnZulW.js +11 -0
- package/dist/assets/Extending Translations-BnOA8j0s.js +146 -0
- package/dist/assets/ExternalLink-DTdulgUc.js +1 -0
- package/dist/assets/Field-ilPS333M.js +11 -0
- package/dist/assets/FieldHint-Cv7aMlpU.js +1 -0
- package/dist/assets/Fieldset-CmtxEykF.js +11 -0
- package/dist/assets/Fieldset.stories-CeV3XwQn.js +15 -0
- package/dist/assets/FileUploader.stories-CmC83k5u.js +58 -0
- package/dist/assets/Filter-BAXcmMyf.js +1 -0
- package/dist/assets/Folder-Ddku_ujr.js +1 -0
- package/dist/assets/Form Field Accessibility-bATJbTW6.js +18 -0
- package/dist/assets/Form-CBnvE26F.js +11 -0
- package/dist/assets/Form.stories-Eg4GUI1C.js +69 -0
- package/dist/assets/FormControlLabel-CxCmH5hv.js +1 -0
- package/dist/assets/FormGroup-BaCH3e06.js +1 -0
- package/dist/assets/FormHelperText-ZkUAjajs.js +1 -0
- package/dist/assets/FormLabel-BLeax9q3.js +1 -0
- package/dist/assets/Generating Icons-CY4QgHRK.js +16 -0
- package/dist/assets/GlobalStyles-BxDN_5FT.js +1 -0
- package/dist/assets/Globe--OQ55RD1.js +1 -0
- package/dist/assets/Grid-B2PgWvdd.js +1 -0
- package/dist/assets/Group-W0XqkWVH.js +1 -0
- package/dist/assets/GroupPicker _labs_.stories-CP9ogL4g.js +33 -0
- package/dist/assets/Grow-CIie3qhp.js +1 -0
- package/dist/assets/Hide-RfKmYLNv.js +1 -0
- package/dist/assets/Home-BXMRmOIu.js +1 -0
- package/dist/assets/Icon _icons_.stories-CfG9aDh6.js +16 -0
- package/dist/assets/IconButton-CK9Do7vj.js +1 -0
- package/dist/assets/IconWithTooltip _icons_.stories-BriwOCod.js +19 -0
- package/dist/assets/InformationCircle-B71JRUfK.js +1 -0
- package/dist/assets/InputAdornment-CFgP75Dd.js +1 -0
- package/dist/assets/InputBase--xDu7aWm.js +2 -0
- package/dist/assets/Installing odyssey-react-mui-FI77Ty6y.js +195 -0
- package/dist/assets/Introduction-B_2OeBP6.js +46 -0
- package/dist/assets/Layout-Bojn6-Uj.js +11 -0
- package/dist/assets/Layout.stories-BN7leK7P.js +217 -0
- package/dist/assets/Legacy Migrations-eiPSj0S4.js +86 -0
- package/dist/assets/Link-ClKgpBXG.js +1 -0
- package/dist/assets/Link-DTvs7F4J.js +11 -0
- package/dist/assets/Link.stories-GP1qln9R.js +43 -0
- package/dist/assets/List-0o0OI1E9.js +1 -0
- package/dist/assets/List-W5kRT_jR.js +1 -0
- package/dist/assets/ListContext-C02XM7tn.js +1 -0
- package/dist/assets/ListItem-CcduKzQu.js +1 -0
- package/dist/assets/ListSubheader-DXKE8lW0.js +1 -0
- package/dist/assets/Menu-CGJO1mMf.js +1 -0
- package/dist/assets/MenuButton-DeZSGuxY.js +9 -0
- package/dist/assets/MenuButton-OjJFnmOD.js +11 -0
- package/dist/assets/MenuButton.stories-C8xNZymc.js +246 -0
- package/dist/assets/MenuContext-DKMyPMNY.js +11 -0
- package/dist/assets/MenuItem-CuP47MJ-.js +1 -0
- package/dist/assets/MenuItem-DjSqFwdt.js +1 -0
- package/dist/assets/MenuItem.stories-Cc5X-FtZ.js +29 -0
- package/dist/assets/MenuList-BboivbXC.js +1 -0
- package/dist/assets/Modal-CW5mOzJG.js +1 -0
- package/dist/assets/More-axx2rGKU.js +1 -0
- package/dist/assets/MuiPropsContext-DhRylJZk.js +11 -0
- package/dist/assets/NativeSelect.stories-D8Y2ITgz.js +173 -0
- package/dist/assets/OdysseyDesignTokensContext-BWQIA5ie.js +11 -0
- package/dist/assets/OdysseyProvider-BQyPcEvx.js +41 -0
- package/dist/assets/OdysseyProvider-BjO4GObW.js +280 -0
- package/dist/assets/OdysseyStorybookThemeDecorator-DginBfEq.js +1 -0
- package/dist/assets/OdysseyThemeProvider-aR5shtx6.js +117 -0
- package/dist/assets/PageHeader.stories-CtAENr0_.js +90 -0
- package/dist/assets/PageHeader.stories-WaRXuLcH.js +17 -0
- package/dist/assets/PageTemplate _labs_-CUXvNJxx.js +8 -0
- package/dist/assets/PageTemplate _labs_.stories-BVKInLfu.js +306 -0
- package/dist/assets/PageTemplate-DOXk_uAG.js +21 -0
- package/dist/assets/PaginatedTable _labs_.stories-Bet6WnQV.js +65 -0
- package/dist/assets/Pagination-CgxBDBwQ.js +11 -0
- package/dist/assets/Pagination.stories-7dUsTYEf.js +17 -0
- package/dist/assets/Paper-DbAuDGNI.js +1 -0
- package/dist/assets/PasswordField.stories-Bclv9Lsw.js +129 -0
- package/dist/assets/Picker _labs_.stories-Dzo7T9_p.js +18 -0
- package/dist/assets/PickerWithOptionAdornment _labs_.stories-C1ftphm9.js +70 -0
- package/dist/assets/PlaceholderLogo-JfVvgA23.js +11 -0
- package/dist/assets/Popper-CwLH-7YW.js +1 -0
- package/dist/assets/Portal-Bvf2g5iG.js +1 -0
- package/dist/assets/Radio-Bi1_KmSD.js +1 -0
- package/dist/assets/Radio-D85jg1Ri.js +1 -0
- package/dist/assets/Radio.stories-BrLSJa7w.js +63 -0
- package/dist/assets/RadioGroup-6XgStuIE.js +10 -0
- package/dist/assets/RadioGroup-BS6oYUQf.js +1 -0
- package/dist/assets/RadioGroup.stories-BcEJF09Q.js +127 -0
- package/dist/assets/Refresh-CPgGX1hz.js +1 -0
- package/dist/assets/Right-to-Left (RTL)-BK9_DI66.js +62 -0
- package/dist/assets/ScopedCssBaseline-FivWKbYZ.js +1 -0
- package/dist/assets/ScreenReaderText-DCDUyE9Y.js +15 -0
- package/dist/assets/ScreenReaderText-vq7_Ob_I.js +1 -0
- package/dist/assets/ScreenReaderText.stories-BZinu6VX.js +8 -0
- package/dist/assets/Search-BvCmvJcV.js +1 -0
- package/dist/assets/SearchDropdown _labs_.stories-CYbt2vgf.js +53 -0
- package/dist/assets/SearchField-jc9ws93I.js +1 -0
- package/dist/assets/SearchField.stories-3apxQKjy.js +37 -0
- package/dist/assets/Select-DVJCNQIV.js +1 -0
- package/dist/assets/Select.stories-Dnr0InYf.js +293 -0
- package/dist/assets/Server-F8KLZq7d.js +1 -0
- package/dist/assets/Settings-DjrryuBd.js +1 -0
- package/dist/assets/Shadow DOM-ErMvgTrT.js +64 -0
- package/dist/assets/Show-qQzUH4Sq.js +1 -0
- package/dist/assets/SideNav-CCPZq2Bh.js +85 -0
- package/dist/assets/SideNav-Duwk1--M.js +125 -0
- package/dist/assets/SideNav.stories-CHEyk4wu.js +207 -0
- package/dist/assets/Skeleton-BJLiCr2o.js +51 -0
- package/dist/assets/Stack-Ba8l39se.js +1 -0
- package/dist/assets/Stack.stories-CBatf2Aw.js +1 -0
- package/dist/assets/StaticTable _labs_.stories-HuypNvo4.js +34 -0
- package/dist/assets/Status-BYBMXN_H.js +1 -0
- package/dist/assets/Status.stories-C3BLGCGc.js +66 -0
- package/dist/assets/SvgIcon-BQAg6Jm7.js +1 -0
- package/dist/assets/Switch.stories-zEk8HMOP.js +61 -0
- package/dist/assets/SwitchBase-Bja5dn-O.js +1 -0
- package/dist/assets/Sync-Bmam4Lr_.js +1 -0
- package/dist/assets/Tabs-BEhcVkzW.js +23 -0
- package/dist/assets/Tabs-Buvkuz1V.js +1 -0
- package/dist/assets/Tabs-ChAj4m0g.js +1 -0
- package/dist/assets/Tabs.stories-BwOqe_a_.js +100 -0
- package/dist/assets/Tag-CjPSrGAL.js +11 -0
- package/dist/assets/Tag.stories-D1YMwKB7.js +96 -0
- package/dist/assets/TagList-BQKiA1TW.js +1 -0
- package/dist/assets/TextField-CZ0hstP2.js +1 -0
- package/dist/assets/TextField.stories-BVJr2VmB.js +149 -0
- package/dist/assets/Toast.stories-aIKtHa18.js +134 -0
- package/dist/assets/ToastManager.stories-Bst-XOOh.js +269 -0
- package/dist/assets/Tooltip-3088PjcT.js +11 -0
- package/dist/assets/Tooltip-B4GIR2eB.js +1 -0
- package/dist/assets/Tooltip.stories-GU5ZWKSu.js +68 -0
- package/dist/assets/TopNav-CWVyy01x.js +11 -0
- package/dist/assets/TopNav.stories-CIdyN7Ai.js +13 -0
- package/dist/assets/Trans-DZ9nii1x.js +1 -0
- package/dist/assets/TransitionGroup-BBx_tHs0.js +9 -0
- package/dist/assets/TransitionGroupContext-BMO0EZjQ.js +9 -0
- package/dist/assets/TransitionGroupContext-twgBS-Q3.js +1 -0
- package/dist/assets/Typography-BTrM-f_f.js +9 -0
- package/dist/assets/Typography-CiNRLenM.js +1 -0
- package/dist/assets/Typography-D7-qxuiy.js +1 -0
- package/dist/assets/Typography.stories-DOm50jIe.js +139 -0
- package/dist/assets/UiShell.stories-CcRPnzQe.js +531 -0
- package/dist/assets/UiShellProvider-D1w1Ocw9.js +31 -0
- package/dist/assets/Upload-DK3nRIto.js +1 -0
- package/dist/assets/User-BBdPovZN.js +1 -0
- package/dist/assets/UserProfile-xXh984n9.js +11 -0
- package/dist/assets/UserProfile.stories-cf7P_USw.js +14 -0
- package/dist/assets/UserProfileMenuButton.stories-DQvKwLs8.js +30 -0
- package/dist/assets/Video-DytabcyM.js +1 -0
- package/dist/assets/WarningFilled-Y3Vw7n_w.js +1 -0
- package/dist/assets/_commonjsHelpers-gnU0ypJ3.js +1 -0
- package/dist/assets/alertTitleClasses-CSPeaunQ.js +1 -0
- package/dist/assets/assertThisInitialized-B9jnkVVz.js +1 -0
- package/dist/assets/autocompleteClasses-Bi4FgC8v.js +1 -0
- package/dist/assets/axe-UFrR6cCR.js +30 -0
- package/dist/assets/axeRun-BfHtukUP.js +40 -0
- package/dist/assets/buttonBaseClasses-CSPKg76d.js +1 -0
- package/dist/assets/buttonClasses-DtIJBSf4.js +1 -0
- package/dist/assets/checkboxClasses-Dtdq1kQG.js +1 -0
- package/dist/assets/chipClasses-BMWKl3Eu.js +1 -0
- package/dist/assets/chunk-XP5HYGXS-BpfKkqn7.js +1 -0
- package/dist/assets/client-akVMpN0m.js +1 -0
- package/dist/assets/colorManipulator-O7SU8zMv.js +1 -0
- package/dist/assets/constants-CyailK6t.js +11 -0
- package/dist/assets/context-D_qJ2zXV.js +1 -0
- package/dist/assets/createChainedFunction-BO_9K8Jh.js +1 -0
- package/dist/assets/createSvgIcon-DiC7XVU3.js +1 -0
- package/dist/assets/createTheme-BmPXDA4p.js +8 -0
- package/dist/assets/createUniqueId-ByTaVY63.js +1 -0
- package/dist/assets/debounce-Be36O1Ab.js +1 -0
- package/dist/assets/emotion-react-jsx-runtime.browser.esm-B2sVIsIq.js +1 -0
- package/dist/assets/emotion-styled.browser.esm-Bcn7fuYX.js +1 -0
- package/dist/assets/entry-preview-4ElqUVRP.js +2 -0
- package/dist/assets/entry-preview-docs-BKXv92OK.js +46 -0
- package/dist/assets/fieldComponentPropsMetaData-BqbNLw6V.js +11 -0
- package/dist/assets/formControlLabelClasses-BtjP4uib.js +1 -0
- package/dist/assets/formGroupClasses-D9ChLj7o.js +1 -0
- package/dist/assets/formLabelClasses-xMgYguuN.js +1 -0
- package/dist/assets/generateUtilityClasses-DYvjsuMV.js +1 -0
- package/dist/assets/getScrollbarSize-Bqq2hMjQ.js +1 -0
- package/dist/assets/i18n-DmkmAJlT.js +11 -0
- package/dist/assets/i18next-DbMy2do-.js +1 -0
- package/dist/assets/iconUtils-Cxr8mVIA.js +11 -0
- package/dist/assets/iframe-C-RQ_TKY.js +211 -0
- package/dist/assets/index-B5xazMy1.js +1 -0
- package/dist/assets/index-B885ELRa.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-BpVuOoKb.js +384 -0
- package/dist/assets/index-BzN0w9dc.js +1 -0
- package/dist/assets/index-CDGerSbe.js +1 -0
- package/dist/assets/index-CXQShRbs.js +8 -0
- package/dist/assets/index-CpbQl8EB.js +1 -0
- package/dist/assets/index-CtY5BB1N.js +1 -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-D7MwfoQM.js +138 -0
- package/dist/assets/index.modern-CkASn_bb.js +14 -0
- package/dist/assets/inheritsLoose-CWawPfk8.js +1 -0
- package/dist/assets/inputAdornmentClasses-DYNxkEwO.js +1 -0
- package/dist/assets/inputBaseClasses-PAjj3ZBN.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/menuItemClasses-DFm3-Sf1.js +1 -0
- package/dist/assets/ownerDocument-DW-IO8s5.js +1 -0
- package/dist/assets/ownerWindow-HkKU3E4x.js +1 -0
- package/dist/assets/personData-CZJz4n06.js +1 -0
- package/dist/assets/personData-Ci-ru1S9.js +11 -0
- package/dist/assets/pickerComponentPropsMetadata-C9L3AhmF.js +21 -0
- package/dist/assets/popper-CMBiYTiD.js +1 -0
- package/dist/assets/preview-B-jDHJEN.js +1 -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-BzLY45Eo.js +2 -0
- package/dist/assets/preview-CYp4EYYZ.js +1 -0
- package/dist/assets/preview-CeHM5zqH.js +2 -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-D_z0Z5cB.js +1 -0
- package/dist/assets/preview-MBifGIx_.js +1 -0
- package/dist/assets/queryOdysseySelector-B27JCf-A.js +151 -0
- package/dist/assets/radioClasses-f3ayyf7y.js +1 -0
- package/dist/assets/react-18-CxBTDaIe.js +1 -0
- package/dist/assets/resolveComponentProps-DMpKAZvD.js +1 -0
- package/dist/assets/tableRowClasses-inqOIkjd.js +1 -0
- package/dist/assets/test-utils-H9lH7T5D.js +9 -0
- package/dist/assets/tooltipClasses-C74HjonW.js +1 -0
- package/dist/assets/typographyClasses-D8vr2n3l.js +1 -0
- package/dist/assets/uiShellSharedConstants-DD9UP82e.js +11 -0
- package/dist/assets/useAutocomplete-C7VK9p4p.js +11 -0
- package/dist/assets/useContrastMode-BthoHtLy.js +21 -0
- package/dist/assets/useControlled-NQulfz4l.js +1 -0
- package/dist/assets/useFormControl-BMISTZuX.js +1 -0
- package/dist/assets/useId-cMcvCE23.js +1 -0
- package/dist/assets/useId-kSseQ0DW.js +1 -0
- package/dist/assets/useIsFocusVisible-DH0qxT5e.js +1 -0
- package/dist/assets/useMobilePicker-CfUl5sFz.js +6 -0
- package/dist/assets/useMountLifecycleEffect-CjsUCFhB.js +11 -0
- package/dist/assets/useOdysseyDateFields-DQkQFY7w.js +61 -0
- package/dist/assets/useScrollIndication-BJW9jXaC.js +31 -0
- package/dist/assets/useSlot-F4Qz2Wzp.js +1 -0
- package/dist/assets/useTheme-C05bJKih.js +1 -0
- package/dist/assets/useThemeProps-BG38P4ul.js +1 -0
- package/dist/assets/useThemeProps-Dy5sAWyz.js +1 -0
- package/dist/assets/useTranslation-vEf1lqoc.js +1 -0
- package/dist/assets/useUniqueId-Bsgqe1tm.js +11 -0
- package/dist/assets/utils-gq6yExow.js +1 -0
- package/dist/assets/utils-iop7lDec.js +1 -0
- package/dist/assets/v4-BOvFkHkt.js +1 -0
- package/dist/assets/visuallyHidden-Dan1xhjv.js +1 -0
- package/dist/cjs/Buttons/BaseButton.cjs.map +1 -1
- package/dist/cjs/Card.cjs +280 -63
- package/dist/cjs/Card.cjs.map +1 -1
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs +60 -44
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs.map +1 -1
- package/dist/cjs/labs/DataView/DataCard.cjs +50 -179
- package/dist/cjs/labs/DataView/DataCard.cjs.map +1 -1
- package/dist/cjs/labs/DataView/componentTypes.cjs.map +1 -1
- package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs +3 -3
- package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs.map +1 -1
- package/dist/cjs/labs/OdysseyPickers/index.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
- package/dist/cjs/theme/components.cjs +0 -4
- package/dist/cjs/theme/components.cjs.map +1 -1
- package/dist/cjs/tools/addSpecificity.cjs.map +1 -0
- package/dist/cjs/tools/bufferLatest.cjs.map +1 -0
- package/dist/cjs/tools/createMessageBus.cjs.map +1 -0
- package/dist/cjs/tools/createStore.cjs.map +1 -0
- package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
- package/dist/cjs/ui-shell/UiShellProvider.cjs +1 -1
- package/dist/cjs/ui-shell/UiShellProvider.cjs.map +1 -1
- package/dist/cjs/ui-shell/renderUiShell.cjs +2 -2
- package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
- package/dist/esm/Buttons/BaseButton.js.map +1 -1
- package/dist/esm/Card.js +281 -63
- package/dist/esm/Card.js.map +1 -1
- package/dist/esm/labs/DataView/CardLayoutContent.js +61 -45
- package/dist/esm/labs/DataView/CardLayoutContent.js.map +1 -1
- package/dist/esm/labs/DataView/DataCard.js +50 -179
- package/dist/esm/labs/DataView/DataCard.js.map +1 -1
- package/dist/esm/labs/DataView/componentTypes.js.map +1 -1
- package/dist/esm/labs/DatePickers/dateTimePickerTheme.js +3 -3
- package/dist/esm/labs/DatePickers/dateTimePickerTheme.js.map +1 -1
- package/dist/esm/labs/OdysseyPickers/index.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_da.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_de.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_el.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_es.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_es.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_eu.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_eu.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_hu.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_hu.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_id.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_id.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_it.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_it.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ms.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ms.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pl.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pl.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ro.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ro.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_th.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_th.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_tr.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_tr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
- package/dist/esm/theme/components.js +0 -4
- package/dist/esm/theme/components.js.map +1 -1
- package/dist/esm/tools/addSpecificity.js.map +1 -0
- package/dist/esm/tools/bufferLatest.js.map +1 -0
- package/dist/esm/tools/createMessageBus.js.map +1 -0
- package/dist/esm/tools/createStore.js.map +1 -0
- package/dist/esm/ui-shell/UiShell.js.map +1 -1
- package/dist/esm/ui-shell/UiShellProvider.js +1 -1
- package/dist/esm/ui-shell/UiShellProvider.js.map +1 -1
- package/dist/esm/ui-shell/renderUiShell.js +2 -2
- package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
- package/dist/favicon.svg +1 -0
- package/dist/iframe.html +747 -0
- package/dist/index.cjs +231 -0
- package/dist/index.d.ts +233 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.html +203 -0
- package/dist/index.js +25 -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/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/Buttons/BaseButton.d.ts +2 -2
- package/dist/types/Buttons/BaseButton.d.ts.map +1 -1
- package/dist/types/Card.d.ts +17 -6
- package/dist/types/Card.d.ts.map +1 -1
- package/dist/types/i18n.d.ts +27 -0
- package/dist/types/i18n.d.ts.map +1 -1
- package/dist/types/labs/DataView/CardLayoutContent.d.ts.map +1 -1
- package/dist/types/labs/DataView/DataCard.d.ts +14 -30
- package/dist/types/labs/DataView/DataCard.d.ts.map +1 -1
- package/dist/types/labs/DataView/componentTypes.d.ts +1 -1
- package/dist/types/labs/DataView/componentTypes.d.ts.map +1 -1
- package/dist/types/labs/OdysseyPickers/index.d.ts +1 -2
- package/dist/types/labs/OdysseyPickers/index.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_da.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_de.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_el.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_el.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_es.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_es.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_id.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_id.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_it.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_it.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_th.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_th.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
- package/dist/types/theme/components.d.ts.map +1 -1
- package/dist/types/tools/addSpecificity.d.ts.map +1 -0
- package/dist/types/tools/bufferLatest.d.ts.map +1 -0
- package/dist/types/tools/createMessageBus.d.ts.map +1 -0
- package/dist/types/tools/createStore.d.ts.map +1 -0
- package/dist/types/ui-shell/UiShell.d.ts +1 -1
- package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
- package/dist/types/ui-shell/UiShellProvider.d.ts +1 -1
- package/dist/types/ui-shell/UiShellProvider.d.ts.map +1 -1
- package/dist/types/ui-shell/renderUiShell.d.ts +2 -2
- package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/package.json +9 -9
- package/dist/cjs/addSpecificity.cjs.map +0 -1
- package/dist/cjs/ui-shell/bufferLatest.cjs.map +0 -1
- package/dist/cjs/ui-shell/createMessageBus.cjs.map +0 -1
- package/dist/cjs/ui-shell/createStore.cjs.map +0 -1
- package/dist/esm/addSpecificity.js.map +0 -1
- package/dist/esm/ui-shell/bufferLatest.js.map +0 -1
- package/dist/esm/ui-shell/createMessageBus.js.map +0 -1
- package/dist/esm/ui-shell/createStore.js.map +0 -1
- package/dist/types/addSpecificity.d.ts.map +0 -1
- package/dist/types/ui-shell/bufferLatest.d.ts.map +0 -1
- package/dist/types/ui-shell/createMessageBus.d.ts.map +0 -1
- package/dist/types/ui-shell/createStore.d.ts.map +0 -1
- /package/dist/cjs/{addSpecificity.cjs → tools/addSpecificity.cjs} +0 -0
- /package/dist/cjs/{ui-shell → tools}/bufferLatest.cjs +0 -0
- /package/dist/cjs/{ui-shell → tools}/createMessageBus.cjs +0 -0
- /package/dist/cjs/{ui-shell → tools}/createStore.cjs +0 -0
- /package/dist/esm/{addSpecificity.js → tools/addSpecificity.js} +0 -0
- /package/dist/esm/{ui-shell → tools}/bufferLatest.js +0 -0
- /package/dist/esm/{ui-shell → tools}/createMessageBus.js +0 -0
- /package/dist/esm/{ui-shell → tools}/createStore.js +0 -0
- /package/dist/types/{addSpecificity.d.ts → tools/addSpecificity.d.ts} +0 -0
- /package/dist/types/{ui-shell → tools}/bufferLatest.d.ts +0 -0
- /package/dist/types/{ui-shell → tools}/createMessageBus.d.ts +0 -0
- /package/dist/types/{ui-shell → tools}/createStore.d.ts +0 -0
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{r as i}from"./index-NdkWRN8K.js";import{d as S,c as O}from"./personData-CZJz4n06.js";import{M as m,a as c}from"./PageTemplate-DOXk_uAG.js";import{g as K,a as d,f as h,d as k}from"./Typography-CiNRLenM.js";import{u as Y}from"./OdysseyDesignTokensContext-BWQIA5ie.js";import{M as J}from"./Dialog-BIM-1Zvj.js";import{M as o}from"./Button-BOzIr8Jh.js";import{M as p}from"./Layout-Bojn6-Uj.js";import{M as P}from"./DataTable-CnCWIOTw.js";import{M as Q}from"./MenuButton-OjJFnmOD.js";import{M as D}from"./MenuItem-CuP47MJ-.js";import{M as N}from"./Drawer-Dg44iOBm.js";import{M as X}from"./Form-CBnvE26F.js";import{M as j}from"./TextField-CZ0hstP2.js";import{M as n}from"./Box-BXOPvc0Q.js";import{M as Z}from"./Checkbox-BTj1hXUa.js";const ee=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."})]}),te=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."}),ae={component:m,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[l]=i.useState(S.slice(0,10)),[s,a]=i.useState(!1),[r,u]=i.useState(!1),g=i.useCallback(()=>l,[l]),_=i.useCallback(()=>{a(!0)},[]),T=i.useCallback(()=>{a(!1)},[]),$=i.useCallback(()=>{u(!0)},[]),w=i.useCallback(()=>{u(!1)},[]);return e.jsxs(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,drawer:e.jsx(N,{isOpen:s,onClose:T,primaryCallToActionComponent:e.jsx(o,{label:"Primary",onClick:T,variant:"primary"}),showDividers:!0,title:"Drawer title",variant:"temporary",children:ee}),isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:s?"Close overlay drawer":"Open overlay drawer",onClick:s?T:_,variant:"primary"}),secondaryCallToActionComponent:e.jsx(o,{label:r?"Close dialog":"Open dialog",onClick:r?w:$,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(J,{children:"Consistently named a Leader by major analyst firms. Trusted by 15,000+ customers to secure digital interactions and accelerate innovation.",isOpen:r,onClose:w,primaryCallToActionComponent:e.jsx(o,{label:"Button label",onClick:w,variant:"primary"}),secondaryCallToActionComponent:e.jsx(o,{label:"Cancel",onClick:w,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(K,{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[l]=i.useState(S.slice(0,10)),[s,a]=i.useState(!1),r=i.useCallback(()=>l,[l]),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:s,onClose:g,primaryCallToActionComponent:e.jsx(o,{label:"Primary",onClick:g,variant:"primary"}),showDividers:!0,title:"Drawer title",variant:"persistent",children:te}),isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:s?"Close embedded drawer":"Open embedded drawer",onClick:s?g:u,variant:"primary"}),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})})})})}},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 l=[{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}],s=[{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=Y();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:l.map((r,u)=>e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:r.field}),e.jsx(d,{children:r.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."}),s.map((r,u)=>e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:r.field}),e.jsx(d,{children:r.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(Z,{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[l]=i.useState(S.slice(0,10)),s=i.useCallback(()=>l,[l]);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:s,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={isOverlayDrawerVisible ? "Close overlay drawer" : "Open overlay drawer"} onClick={isOverlayDrawerVisible ? onCloseOverlayDrawer : onOpenOverlayDrawer} variant="primary" />} secondaryCallToActionComponent={<Button label={isDialogVisible ? "Close dialog" : "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 ne=["KitchenSink","EmbeddedDrawer","Form","Dashboard","FullWidth"],ve=Object.freeze(Object.defineProperty({__proto__:null,Dashboard:b,EmbeddedDrawer:y,Form:f,FullWidth:C,KitchenSink:x,__namedExportsOrder:ne,default:ae},Symbol.toStringTag,{value:"Module"}));export{ve as P};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{n as t}from"./createTheme-BmPXDA4p.js";import{r as i}from"./index-NdkWRN8K.js";import{u as g}from"./OdysseyDesignTokensContext-BWQIA5ie.js";import{M as j}from"./OdysseyThemeProvider-aR5shtx6.js";import{u as M}from"./useContrastMode-BthoHtLy.js";import{j as a}from"./jsx-runtime-CnH95YSl.js";import{P}from"./Paper-DbAuDGNI.js";import{b as D,a as F}from"./Typography-CiNRLenM.js";import{u as b}from"./useMountLifecycleEffect-CjsUCFhB.js";import{L as w}from"./Link-ClKgpBXG.js";import{M as C}from"./Documentation-DM1hawvn.js";const H=t(P,{shouldForwardProp:e=>e!=="odysseyDesignTokens"&&e!=="contrastMode"})(({contrastMode:e,odysseyDesignTokens:s})=>({borderRadius:s.Spacing4,padding:s.Spacing5,border:e==="lowContrast"?`1px solid ${s.HueNeutral100}`:"none",boxShadow:"none"})),v=({children:e})=>{const s=g(),{contrastMode:n}=M();return a.jsx(H,{contrastMode:n,odysseyDesignTokens:s,children:a.jsx(j,{children:e})})},z=i.memo(v);z.displayName="Surface";/*!
|
|
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 L="data-unified-ui-shell",R=()=>{const[e,s]=i.useState(!1);return i.useEffect(()=>{s(!!document.querySelector(`[${L}]`))},[]),e},E=({children:e,href:s,icon:n,target:o})=>a.jsxs(w,{href:s,target:o,children:[n&&a.jsx("span",{className:"Link-icon",children:n}),e]}),f=i.memo(E);f.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 N=t("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})),U=t("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})(({odysseyDesignTokens:e})=>({display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:e.Spacing4})),$=t("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})(({odysseyDesignTokens:e})=>({maxWidth:e.TypographyLineLengthMax,".MuiTypography-root:last-child":{marginBlockEnd:"0"}})),B=t("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})(({odysseyDesignTokens:e})=>({alignItems:"flex-end",display:"flex",flexDirection:"column",gap:e.Spacing4,minHeight:e.Spacing7,justifyContent:"center",whiteSpace:"nowrap"})),I=t("div",{shouldForwardProp:e=>e!=="odysseyDesignTokens"})(({odysseyDesignTokens:e})=>({display:"flex",gap:e.Spacing2})),W=t("div",{shouldForwardProp:e=>!["drawerVariant","isDrawerOpen","isFirstRender","odysseyDesignTokens"].includes(e)})(({drawerVariant:e,isDrawerOpen:s,isFirstRender:n,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:e==="persistent"&&!s?0:o.Spacing4,gap:e==="persistent"&&!s?0:o.Spacing4,marginBlock:o.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})),O=({children:e,description:s,documentationLink:n,documentationText:o,drawer:d,isFullWidth:h=!1,primaryCallToActionComponent:m,secondaryCallToActionComponent:l,tertiaryCallToActionComponent:c,title:p})=>{const r=g(),{isOpen:x,variant:y}=(d==null?void 0:d.props)??{},S=R(),u=i.useRef(!0),T=u.current,k=i.useCallback(()=>{u.current=!1},[]);return b({onMount:k}),a.jsxs(N,{hasUiShell:S,isFullWidth:h,odysseyDesignTokens:r,children:[a.jsxs(U,{odysseyDesignTokens:r,children:[a.jsxs($,{odysseyDesignTokens:r,children:[p&&a.jsx(D,{children:p}),s&&a.jsx(F,{children:s})]}),a.jsxs(B,{odysseyDesignTokens:r,children:[n&&a.jsx(f,{href:n,icon:a.jsx(C,{}),target:"_blank",children:o}),(m||l||c)&&a.jsxs(I,{odysseyDesignTokens:r,children:[c,l,m]})]})]}),a.jsxs(W,{drawerVariant:y,isDrawerOpen:x,isFirstRender:T,odysseyDesignTokens:r,children:[e,d]})]})},q=i.memo(O);q.displayName="PageTemplate";export{q as M,z as a,L as u};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import{j as i}from"./jsx-runtime-CnH95YSl.js";import{f as A}from"./index-BJMTVygn.js";import{r as e}from"./index-NdkWRN8K.js";import{u as pe,M as fe}from"./index.esm-D7MwfoQM.js";import{M as j}from"./Typography-CiNRLenM.js";import{u as Ne}from"./useTranslation-vEf1lqoc.js";import{T as z}from"./Trans-DZ9nii1x.js";import{M as ge}from"./Button-BOzIr8Jh.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./createTheme-BmPXDA4p.js";import"./createSvgIcon-DiC7XVU3.js";import"./SvgIcon-BQAg6Jm7.js";import"./DefaultPropsProvider-B7tpShA7.js";import"./generateUtilityClasses-DYvjsuMV.js";import"./createChainedFunction-BO_9K8Jh.js";import"./debounce-Be36O1Ab.js";import"./ListItem-CcduKzQu.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-BLeax9q3.js";import"./formLabelClasses-xMgYguuN.js";import"./ListContext-C02XM7tn.js";import"./TransitionGroupContext-twgBS-Q3.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./isHostComponent-DVu5iVWx.js";import"./ButtonBase-BqXVk-1q.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CWawPfk8.js";import"./buttonBaseClasses-CSPKg76d.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./useId-cMcvCE23.js";import"./useControlled-NQulfz4l.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./utils-gq6yExow.js";import"./useTheme-C05bJKih.js";import"./Stack-Ba8l39se.js";import"./useThemeProps-Dy5sAWyz.js";import"./Tooltip-B4GIR2eB.js";import"./index-CpbQl8EB.js";import"./tooltipClasses-C74HjonW.js";import"./Grow-CIie3qhp.js";import"./Portal-Bvf2g5iG.js";import"./resolveComponentProps-DMpKAZvD.js";import"./Popper-CwLH-7YW.js";import"./popper-CMBiYTiD.js";import"./Paper-DbAuDGNI.js";import"./Box-C2ekHaOu.js";import"./CircularProgress-DNk4kmx6.js";import"./DialogContent-C_FnZ5ZS.js";import"./Modal-CW5mOzJG.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./DialogTitle-CLDQZ0bg.js";import"./Typography-D7-qxuiy.js";import"./typographyClasses-D8vr2n3l.js";import"./Menu-CGJO1mMf.js";import"./MenuList-BboivbXC.js";import"./List-W5kRT_jR.js";import"./colorManipulator-O7SU8zMv.js";import"./IconButton-CK9Do7vj.js";import"./Radio-Bi1_KmSD.js";import"./SwitchBase-Bja5dn-O.js";import"./radioClasses-f3ayyf7y.js";import"./Checkbox-luq82K1t.js";import"./checkboxClasses-Dtdq1kQG.js";import"./useMobilePicker-CfUl5sFz.js";import"./Select-DVJCNQIV.js";import"./ArrowDropDown-bSngWMh1.js";import"./inputBaseClasses-PAjj3ZBN.js";import"./InputBase--xDu7aWm.js";import"./GlobalStyles-BxDN_5FT.js";import"./FormHelperText-ZkUAjajs.js";import"./useThemeProps-BG38P4ul.js";import"./InputAdornment-CFgP75Dd.js";import"./inputAdornmentClasses-DYNxkEwO.js";import"./Button-BqwcAVQ-.js";import"./buttonClasses-DtIJBSf4.js";import"./Chip-BOK8DR8m.js";import"./chipClasses-BMWKl3Eu.js";import"./tableRowClasses-inqOIkjd.js";import"./MenuItem-DjSqFwdt.js";import"./menuItemClasses-DFm3-Sf1.js";import"./Collapse-P1H1b4lO.js";import"./AlertTitle-DlG4YQWR.js";import"./useSlot-F4Qz2Wzp.js";import"./Close-DA_Sph0R.js";import"./alertTitleClasses-CSPeaunQ.js";import"./Skeleton-BJLiCr2o.js";import"./Divider-CsWa3KCo.js";import"./Autocomplete-MfScEzbR.js";import"./autocompleteClasses-Bi4FgC8v.js";import"./ListSubheader-DXKE8lW0.js";import"./FormControlLabel-CxCmH5hv.js";import"./formControlLabelClasses-BtjP4uib.js";import"./visuallyHidden-Dan1xhjv.js";import"./DateTimePicker-CnXcHc5u.js";import"./Tabs-ChAj4m0g.js";import"./DatePicker-DIRg7n4d.js";import"./context-D_qJ2zXV.js";import"./BaseButton-B5c4cgt8.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-3088PjcT.js";/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/const ye=({columns:t=[],data:r=[],fetchMoreData:o,getRowId:d,hasError:p,hasRowSelection:f,initialState:n,isFetching:w,onGlobalFilterChange:N,onPaginationChange:g,onRowSelectionChange:y,rowsPerPage:ee=10,state:C,ToolbarButtons:E})=>{const{t:L}=Ne(),v=e.useRef(null),[J,te]=e.useState([]),[c,ae]=e.useState();e.useEffect(()=>{c!==void 0&&(N==null||N(c))},[c,N]),e.useEffect(()=>{var s,m;try{(m=(s=v.current)==null?void 0:s.scrollToIndex)==null||m.call(s,0)}catch(u){console.error(u)}},[J,c]);const l=r.length??0,se=e.useCallback(()=>o?i.jsx(j,{children:i.jsx(z,{count:l,i18nKey:"table.fetchedrows.text",values:{totalRows:l}})}):i.jsx(j,{children:i.jsx(z,{count:l,i18nKey:"table.rows.text",values:{totalRows:l}})}),[o,l]),re=e.useCallback(({table:s})=>i.jsx(i.Fragment,{children:E&&i.jsx(E,{table:s})}),[E]),[b,oe]=e.useState({});e.useEffect(()=>{y==null||y(b)},[y,b]);const[a,ie]=e.useState((n==null?void 0:n.pagination)||{pageIndex:0,pageSize:ee}),K=e.useRef(r.length),ne=e.useCallback(s=>{r.length===K.current?ie(m=>s(m)):K.current=r.length},[r.length]);e.useEffect(()=>{const s=Math.floor(r.length/a.pageSize);!w&&a.pageIndex>s-1&&(o==null||o())},[r.length,o,w,a.pageIndex,a.pageSize]),e.useEffect(()=>{g==null||g({pageIndex:a.pageIndex,pageSize:a.pageSize})},[g,a.pageIndex,a.pageSize]);const me=e.useMemo(()=>({pagination:a,...n}),[n,a]),de=e.useMemo(()=>({pagination:{pageIndex:a.pageIndex,pageSize:a.pageSize},rowSelection:b,globalFilter:c,columnFilters:J,...C}),[a.pageIndex,a.pageSize,b,c,J,C]),ce=e.useMemo(()=>p?{children:L("table.error"),severity:"error"}:{},[p,L]),le=e.useMemo(()=>({rowsPerPageOptions:[],showFirstButton:!1,showLastButton:!1}),[]),O=e.useCallback(s=>{var m,u,M,V,B,h,P;return typeof((M=(u=(m=s.components)==null?void 0:m.MuiCheckbox)==null?void 0:u.styleOverrides)==null?void 0:M.root)=="function"?(P=(h=(B=(V=s.components)==null?void 0:V.MuiCheckbox)==null?void 0:B.styleOverrides)==null?void 0:h.root)==null?void 0:P.call(h,{ownerState:{},theme:s}):""},[]),ue=pe({columns:t,data:r,enableMultiRowSelection:f,enablePagination:!0,enableRowSelection:f,enableSorting:!1,getRowId:d,initialState:me,muiSelectAllCheckboxProps:{sx:O},muiSelectCheckboxProps:{sx:O},muiPaginationProps:le,muiToolbarAlertBannerProps:ce,onColumnFiltersChange:te,onGlobalFilterChange:ae,onPaginationChange:ne,onRowSelectionChange:oe,renderBottomToolbarCustomActions:se,renderTopToolbarCustomActions:re,rowVirtualizerInstanceRef:v,rowVirtualizerOptions:{overscan:4},state:de});return i.jsx(fe,{table:ue})},I=e.memo(ye);I.displayName="PaginatedTable";const pa={component:I,argTypes:{columns:{control:"object",type:{required:!0,name:"other",value:"MaterialReactTableProps<TData>"}},data:{control:"object",type:{required:!0,name:"other",value:"MaterialReactTableProps<TData>"}},getRowId:{},fetchMoreData:{},hasError:{control:"boolean"},hasRowSelection:{control:"boolean"},initialState:{control:"object"},isFetching:{control:"boolean"},onGlobalFilterChange:{},onPaginationChange:{},onRowSelectionChange:{},state:{control:"object"},ToolbarButtons:{},rowsPerPage:{table:{defaultValue:{summary:"10"}}}},args:{onPaginationChange:A(),onRowSelectionChange:A()}},T=[{accessorKey:"name.firstName",header:"First Name"},{accessorKey:"name.lastName",header:"Last Name"},{accessorKey:"address",Cell:({cell:t})=>t.getValue().concat(","),header:"Address"},{accessorKey:"city",header:"City"},{accessorKey:"state",header:"State"}],x=[{address:"261 Erdman Ford",city:"East Daphne",id:"234823773",name:{firstName:"John",lastName:"Doe"},state:"Kentucky"},{address:"769 Dominic Grove",city:"Columbus",id:"234823774",name:{firstName:"Jane",lastName:"Doe"},state:"Ohio"},{address:"566 Brakus Inlet",city:"South Linda",id:"234823775",name:{firstName:"Joe",lastName:"Doe"},state:"West Virginia"},{address:"722 Emie Stream",city:"Lincoln",id:"234823776",name:{firstName:"Kevin",lastName:"Vandy"},state:"Nebraska"},{address:"32188 Larkin Turnpike",city:"Omaha",id:"234823777",name:{firstName:"Joshua",lastName:"Rolluffs"},state:"Nebraska"},{address:"261 Erdman Ford",city:"East Daphne",id:"334823773",name:{firstName:"John",lastName:"Doe"},state:"Kentucky"},{address:"769 Dominic Grove",city:"Columbus",id:"334823774",name:{firstName:"Jane",lastName:"Doe"},state:"Ohio"},{address:"566 Brakus Inlet",city:"South Linda",id:"334823775",name:{firstName:"Joe",lastName:"Doe"},state:"West Virginia"},{address:"722 Emie Stream",city:"Lincoln",id:"334823776",name:{firstName:"Kevin",lastName:"Vandy"},state:"Nebraska"},{address:"32188 Larkin Turnpike",city:"Omaha",id:"334823777",name:{firstName:"Joshua",lastName:"Rolluffs"},state:"Nebraska"},{address:"261 Erdman Ford",city:"East Daphne",id:"434823773",name:{firstName:"John",lastName:"Doe"},state:"Kentucky"},{address:"769 Dominic Grove",city:"Columbus",id:"434823774",name:{firstName:"Jane",lastName:"Doe"},state:"Ohio"},{address:"566 Brakus Inlet",city:"South Linda",id:"434823775",name:{firstName:"Joe",lastName:"Doe"},state:"West Virginia"},{address:"722 Emie Stream",city:"Lincoln",id:"434823776",name:{firstName:"Kevin",lastName:"Vandy"},state:"Nebraska"},{address:"32188 Larkin Turnpike",city:"Omaha",id:"434823777",name:{firstName:"Joshua",lastName:"Rolluffs"},state:"Nebraska"},{address:"261 Erdman Ford",city:"East Daphne",id:"534823773",name:{firstName:"John",lastName:"Doe"},state:"Kentucky"},{address:"769 Dominic Grove",city:"Columbus",id:"534823774",name:{firstName:"Jane",lastName:"Doe"},state:"Ohio"},{address:"566 Brakus Inlet",city:"South Linda",id:"534823775",name:{firstName:"Joe",lastName:"Doe"},state:"West Virginia"},{address:"722 Emie Stream",city:"Lincoln",id:"534823776",name:{firstName:"Kevin",lastName:"Vandy"},state:"Nebraska"},{address:"32188 Larkin Turnpike",city:"Omaha",id:"534823777",name:{firstName:"Joshua",lastName:"Rolluffs"},state:"Nebraska"},{address:"261 Erdman Ford",city:"East Daphne",id:"634823773",name:{firstName:"John",lastName:"Doe"},state:"Kentucky"},{address:"769 Dominic Grove",city:"Columbus",id:"634823774",name:{firstName:"Jane",lastName:"Doe"},state:"Ohio"},{address:"566 Brakus Inlet",city:"South Linda",id:"634823775",name:{firstName:"Joe",lastName:"Doe"},state:"West Virginia"},{address:"722 Emie Stream",city:"Lincoln",id:"634823776",name:{firstName:"Kevin",lastName:"Vandy"},state:"Nebraska"},{address:"32188 Larkin Turnpike",city:"Omaha",id:"634823777",name:{firstName:"Joshua",lastName:"Rolluffs"},state:"Nebraska"},{address:"261 Erdman Ford",city:"East Daphne",id:"734823773",name:{firstName:"John",lastName:"Doe"},state:"Kentucky"},{address:"769 Dominic Grove",city:"Columbus",id:"734823774",name:{firstName:"Jane",lastName:"Doe"},state:"Ohio"},{address:"566 Brakus Inlet",city:"South Linda",id:"734823775",name:{firstName:"Joe",lastName:"Doe"},state:"West Virginia"},{address:"722 Emie Stream",city:"Lincoln",id:"734823776",name:{firstName:"Kevin",lastName:"Vandy"},state:"Nebraska"},{address:"32188 Larkin Turnpike",city:"Omaha",id:"734823777",name:{firstName:"Joshua",lastName:"Rolluffs"},state:"Nebraska"},{address:"261 Erdman Ford",city:"East Daphne",id:"834823773",name:{firstName:"John",lastName:"Doe"},state:"Kentucky"},{address:"769 Dominic Grove",city:"Columbus",id:"834823774",name:{firstName:"Jane",lastName:"Doe"},state:"Ohio"},{address:"566 Brakus Inlet",city:"South Linda",id:"834823775",name:{firstName:"Joe",lastName:"Doe"},state:"West Virginia"},{address:"722 Emie Stream",city:"Lincoln",id:"834823776",name:{firstName:"Kevin",lastName:"Vandy"},state:"Nebraska"},{address:"32188 Larkin Turnpike",city:"Omaha",id:"834823777",name:{firstName:"Joshua",lastName:"Rolluffs"},state:"Nebraska"},{address:"261 Erdman Ford",city:"East Daphne",id:"934823773",name:{firstName:"John",lastName:"Doe"},state:"Kentucky"},{address:"769 Dominic Grove",city:"Columbus",id:"934823774",name:{firstName:"Jane",lastName:"Doe"},state:"Ohio"},{address:"566 Brakus Inlet",city:"South Linda",id:"934823775",name:{firstName:"Joe",lastName:"Doe"},state:"West Virginia"},{address:"722 Emie Stream",city:"Lincoln",id:"934823776",name:{firstName:"Kevin",lastName:"Vandy"},state:"Nebraska"},{address:"32188 Larkin Turnpike",city:"Omaha",id:"934823777",name:{firstName:"Joshua",lastName:"Rolluffs"},state:"Nebraska"}],k={args:{columns:T,data:x,getRowId:({id:t})=>t}},S={args:{columns:T,data:x,getRowId:({id:t})=>t},render:function(r){const o=e.useRef(15),d=e.useMemo(()=>r.data??[],[r]),[p,f]=e.useState(d.slice(0,o.current)),n=e.useCallback(()=>{o.current=o.current+10,f(d.slice(0,Math.min(o.current,d.length)))},[d]);return i.jsx(I,{...r,data:p,fetchMoreData:n})}},D={args:{columns:T,data:x,getRowId:({id:t})=>t,hasRowSelection:!0}},R={args:{columns:T,data:x,getRowId:({id:t})=>t,ToolbarButtons:({table:t})=>i.jsx(ge,{label:"New Action",onClick:()=>console.info(t.getState()),variant:"primary"})}};var F,W,G;k.parameters={...k.parameters,docs:{...(F=k.parameters)==null?void 0:F.docs,source:{originalSource:`{
|
|
12
|
+
args: {
|
|
13
|
+
columns,
|
|
14
|
+
data,
|
|
15
|
+
getRowId: ({
|
|
16
|
+
id
|
|
17
|
+
}: {
|
|
18
|
+
id: string;
|
|
19
|
+
}) => id
|
|
20
|
+
}
|
|
21
|
+
}`,...(G=(W=k.parameters)==null?void 0:W.docs)==null?void 0:G.source}}};var q,U,_;S.parameters={...S.parameters,docs:{...(q=S.parameters)==null?void 0:q.docs,source:{originalSource:`{
|
|
22
|
+
args: {
|
|
23
|
+
columns,
|
|
24
|
+
data,
|
|
25
|
+
getRowId: ({
|
|
26
|
+
id
|
|
27
|
+
}: {
|
|
28
|
+
id: string;
|
|
29
|
+
}) => id
|
|
30
|
+
},
|
|
31
|
+
render: function C(args) {
|
|
32
|
+
const countRef = useRef(15);
|
|
33
|
+
const dataArg = useMemo(() => args.data ?? [], [args]);
|
|
34
|
+
const [data, setData] = useState(dataArg.slice(0, countRef.current));
|
|
35
|
+
const fetchMoreData = useCallback(() => {
|
|
36
|
+
countRef.current = countRef.current + 10;
|
|
37
|
+
setData(dataArg.slice(0, Math.min(countRef.current, dataArg.length)));
|
|
38
|
+
}, [dataArg]);
|
|
39
|
+
return <PaginatedTable {...args} data={data} fetchMoreData={fetchMoreData} />;
|
|
40
|
+
}
|
|
41
|
+
}`,...(_=(U=S.parameters)==null?void 0:U.docs)==null?void 0:_.source}}};var H,Q,X;D.parameters={...D.parameters,docs:{...(H=D.parameters)==null?void 0:H.docs,source:{originalSource:`{
|
|
42
|
+
args: {
|
|
43
|
+
columns,
|
|
44
|
+
data,
|
|
45
|
+
getRowId: ({
|
|
46
|
+
id
|
|
47
|
+
}: {
|
|
48
|
+
id: string;
|
|
49
|
+
}) => id,
|
|
50
|
+
hasRowSelection: true
|
|
51
|
+
}
|
|
52
|
+
}`,...(X=(Q=D.parameters)==null?void 0:Q.docs)==null?void 0:X.source}}};var Y,Z,$;R.parameters={...R.parameters,docs:{...(Y=R.parameters)==null?void 0:Y.docs,source:{originalSource:`{
|
|
53
|
+
args: {
|
|
54
|
+
columns,
|
|
55
|
+
data,
|
|
56
|
+
getRowId: ({
|
|
57
|
+
id
|
|
58
|
+
}: {
|
|
59
|
+
id: string;
|
|
60
|
+
}) => id,
|
|
61
|
+
ToolbarButtons: ({
|
|
62
|
+
table
|
|
63
|
+
}) => <Button label="New Action" onClick={() => console.info(table.getState())} variant="primary" />
|
|
64
|
+
}
|
|
65
|
+
}`,...($=(Z=R.parameters)==null?void 0:Z.docs)==null?void 0:$.source}}};const fa=["BasicUsage","Pagination","Selection","CustomToolbar"];export{k as BasicUsage,R as CustomToolbar,S as Pagination,D as Selection,fa as __namedExportsOrder,pa as default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{n as v}from"./createTheme-BmPXDA4p.js";import{r as e}from"./index-NdkWRN8K.js";import{M as E}from"./Box-BXOPvc0Q.js";import{u as te}from"./OdysseyDesignTokensContext-BWQIA5ie.js";import{a as B}from"./Typography-CiNRLenM.js";import{u as F}from"./useTranslation-vEf1lqoc.js";import{j as o}from"./jsx-runtime-CnH95YSl.js";import{M as re,a as se}from"./ArrowRight-DCIAiEpA.js";import{I as ie}from"./InputBase--xDu7aWm.js";import{M as w}from"./Button-BOzIr8Jh.js";/*!
|
|
2
|
+
* Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/const le=({currentRowsCount:n,pageIndex:x,pageSize:M,totalRows:d})=>{const{t:p}=F();return e.useMemo(()=>{const i=M*(x-1)+1,c=i+(n-1),b=n===0?p("pagination.totalrows",{totalRows:0}):d?p("pagination.rowswithtotal",{firstRow:i,lastRow:c,totalRows:d}):p("pagination.rowswithouttotal",{firstRow:i,lastRow:c});return{firstRow:i,lastRow:c,totalRowsLabel:b}},[n,x,M,d,p])},ue=v("nav")({display:"flex",justifyContent:"space-between"}),T=v("div",{shouldForwardProp:n=>n!=="odysseyDesignTokens"})(({odysseyDesignTokens:n})=>({display:"flex",alignItems:"center",gap:n.Spacing4,"& > div":{display:"flex",alignItems:"center",gap:n.Spacing2}})),z=v(ie,{shouldForwardProp:n=>n!=="odysseyDesignTokens"})(({odysseyDesignTokens:n})=>({borderColor:n.HueNeutral200,borderRadius:n.BorderRadiusTight,height:n.Spacing6,width:"4.5714285714rem","&:hover":{borderColor:n.HueNeutral400},"&.Mui-focused:hover":{borderColor:n.PalettePrimaryMain}})),ce=v("div")({"& > *":{marginInlineStart:"0 !important"}}),pe=({currentPageLabel:n,currentRowsCount:x,hasPageInput:M=!0,hasRowCountInput:d=!0,hasRowCountLabel:p=!0,isDisabled:i,isMoreDisabled:c,lastRow:b,loadMoreLabel:D,maxPageIndex:P,maxPageSize:h,nextLabel:A,onPaginationChange:I,pageIndex:g,pageSize:f,previousLabel:H,rowsPerPageLabel:K,totalRows:t,variant:O})=>{const y=te(),{t:m}=F(),[u,C]=e.useState(g),[r,j]=e.useState(f),q=e.useRef(f),k=n??m("pagination.page"),G=D??m("pagination.loadmore"),J=A??m("pagination.next"),Q=H??m("pagination.previous"),L=K??m("pagination.rowsperpage");e.useEffect(()=>{C(g),j(f)},[g,f]);const s=e.useCallback(({pageIndex:a,pageSize:l})=>{I({pageIndex:a,pageSize:l})},[I]),{totalRowsLabel:U}=le({pageIndex:g,pageSize:f,currentRowsCount:x||0,totalRows:t}),N=e.useCallback(()=>{let a=u,l=r;if(t){const S=Math.ceil(t/l);l>t&&(l=t),a>S?a=S:a<1&&(a=1)}s({pageIndex:a,pageSize:l})},[u,r,s,t]),V=e.useCallback(a=>{a.key==="Enter"&&s({pageIndex:Number(a.currentTarget.value),pageSize:r})},[r,s]),W=e.useCallback(a=>{a.key==="Enter"&&s({pageIndex:u,pageSize:Number(a.currentTarget.value)})},[u,s]),X=e.useCallback(a=>{const l=P?Math.min(Number(a.target.value),P):Number(a.target.value);C(Math.max(1,l))},[C,P]),Y=e.useCallback(a=>{const l=h?Math.min(Number(a.target.value),h):Number(a.target.value);j(Math.max(1,l))},[j,h]),Z=e.useCallback(()=>{s({pageIndex:1,pageSize:r+q.current})},[r,s]),_=e.useCallback(()=>{s({pageIndex:u+1,pageSize:r})},[s,u,r]),$=e.useCallback(()=>{s({pageIndex:u-1,pageSize:r})},[s,u,r]),R=e.useMemo(()=>c||(t?r>=t:!1),[c,r,t]),ee=e.useMemo(()=>c||b&&(t?b>=t:!1)||i,[c,t,b,i]),ae=e.useMemo(()=>g<=1||i,[g,i]),ne=e.useMemo(()=>({"aria-label":L,max:h||t}),[h,L,t]),oe=e.useMemo(()=>({"aria-label":k,max:P}),[k,P]);return O==="paged"?o.jsxs(ue,{"aria-label":m("pagination.label"),children:[o.jsxs(T,{odysseyDesignTokens:y,children:[d&&o.jsxs(E,{children:[o.jsx(B,{color:"textSecondary",component:"span",children:L}),o.jsx(z,{disabled:i,inputProps:ne,odysseyDesignTokens:y,onBlur:N,onChange:Y,onKeyDown:W,type:"number",value:r})]}),p&&o.jsx(B,{color:"textSecondary",component:"span",children:U})]}),o.jsxs(T,{odysseyDesignTokens:y,children:[t&&M&&o.jsxs(E,{children:[o.jsx(B,{color:"textSecondary",component:"span",children:k}),o.jsx(z,{disabled:i,inputProps:oe,odysseyDesignTokens:y,onBlur:N,onChange:X,onKeyDown:V,type:"number",value:u})]}),o.jsxs(ce,{children:[o.jsx(w,{ariaLabel:Q,isDisabled:ae,onClick:$,size:"small",startIcon:o.jsx(re,{}),variant:"floating"}),o.jsx(w,{ariaLabel:J,endIcon:o.jsx(se,{}),isDisabled:ee,onClick:_,size:"small",variant:"floating"})]})]})]}):o.jsx(w,{isDisabled:R,label:G,onClick:Z,variant:"secondary"})},ge=e.memo(pe);ge.displayName="Pagination";export{ge as M,le as u};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{j as g}from"./jsx-runtime-CnH95YSl.js";import{p as o}from"./constants-CyailK6t.js";import{M as c}from"./Pagination-CgxBDBwQ.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./createTheme-BmPXDA4p.js";import"./Box-BXOPvc0Q.js";import"./Box-C2ekHaOu.js";import"./generateUtilityClasses-DYvjsuMV.js";import"./useTheme-C05bJKih.js";import"./OdysseyDesignTokensContext-BWQIA5ie.js";import"./Typography-CiNRLenM.js";import"./Typography-D7-qxuiy.js";import"./DefaultPropsProvider-B7tpShA7.js";import"./typographyClasses-D8vr2n3l.js";import"./useTranslation-vEf1lqoc.js";import"./context-D_qJ2zXV.js";import"./ArrowRight-DCIAiEpA.js";import"./SvgIcon-BQAg6Jm7.js";import"./InputBase--xDu7aWm.js";import"./useFormControl-BMISTZuX.js";import"./utils-iop7lDec.js";import"./inputBaseClasses-PAjj3ZBN.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./TransitionGroupContext-twgBS-Q3.js";import"./ownerWindow-HkKU3E4x.js";import"./ownerDocument-DW-IO8s5.js";import"./debounce-Be36O1Ab.js";import"./isHostComponent-DVu5iVWx.js";import"./GlobalStyles-BxDN_5FT.js";import"./Button-BOzIr8Jh.js";import"./BaseButton-B5c4cgt8.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-3088PjcT.js";import"./Tooltip-B4GIR2eB.js";import"./index-CpbQl8EB.js";import"./tooltipClasses-C74HjonW.js";import"./Grow-CIie3qhp.js";import"./utils-gq6yExow.js";import"./inheritsLoose-CWawPfk8.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./Portal-Bvf2g5iG.js";import"./resolveComponentProps-DMpKAZvD.js";import"./useControlled-NQulfz4l.js";import"./useId-cMcvCE23.js";import"./Popper-CwLH-7YW.js";import"./popper-CMBiYTiD.js";import"./Button-BqwcAVQ-.js";import"./buttonClasses-DtIJBSf4.js";import"./ButtonBase-BqXVk-1q.js";import"./assertThisInitialized-B9jnkVVz.js";import"./buttonBaseClasses-CSPKg76d.js";const ge={component:c,argTypes:{pageIndex:{control:{type:"number",min:1},description:"The current page index",type:{required:!0,name:"number"}},pageSize:{control:{type:"number",min:1},description:"The current page size",type:{required:!0,name:"number"}},onPaginationChange:{description:"Page index and page size setter",type:{required:!0,name:"function"}},lastRow:{control:{type:"number",min:1},description:"The current page last row index",type:{required:!0,name:"number"}},totalRows:{control:{type:"number",min:1},description:"Total rows count",type:{name:"number"}},hasPageInput:{control:"boolean",description:"If true, the page input will be visible and the user can directly manipulate which page is visible.",table:{type:{summary:"boolean"},defaultValue:{summary:"true"}}},hasRowCountInput:{control:"boolean",description:"If true, the row count input will be visible and the user can directly manipulate how many rows are visible.",table:{type:{summary:"boolean"},defaultValue:{summary:"true"}}},hasRowCountLabel:{control:"boolean",description:"If true, the pagination controls will be disabled.",table:{type:{summary:"boolean"},defaultValue:{summary:"true"}}},isDisabled:{control:"boolean",description:"If true, the pagination controls will be disabled",type:{required:!0,name:"boolean"}},isMoreDisabled:{control:"boolean",description:"If true, the pagination next/show more button will be disabled",type:{required:!0,name:"boolean"}},variant:{control:{type:"radio"},options:o,description:'The type of pagination controls shown, defaults to next/prev buttons, but can set to a simple Load more button by setting to "loadMore".',type:{name:"other",value:"radio"},table:{defaultValue:{summary:o[0]}}},rowsPerPageLabel:{control:"text",description:"The label that shows how many results are rendered per page",type:{required:!0,name:"string"}},currentPageLabel:{control:"text",description:"The labeled rendered for the current page index",type:{required:!0,name:"string"}},previousLabel:{control:"text",description:"The label for the previous control",type:{required:!0,name:"string"}},nextLabel:{control:"text",description:"The label for the next control",type:{required:!0,name:"string"}},loadMoreLabel:{control:"text",description:'If the pagination is of "loadMore" variant, then this is the the load more label',type:{required:!0,name:"string"}},maxPageIndex:{control:"number",description:"The highest page number allowed to be manually input in pagination.",table:{type:{summary:"number"}}},maxPageSize:{control:"number",description:"The largest number of rows allowed to be shown per page. This only affects the row input in pagination.",table:{type:{summary:"number"}}},currentRowsCount:{control:"number",description:"The number of items currently visible on the page",table:{type:{summary:"number"}}}},args:{pageIndex:1,pageSize:20,lastRow:20,currentRowsCount:20,hasPageInput:!0,hasRowCountInput:!0,hasRowCountLabel:!0,isDisabled:!1,variant:"paged",rowsPerPageLabel:"Rows per page",currentPageLabel:"Page",previousLabel:"Previous page",nextLabel:"Next page",loadMoreLabel:"Show more",totalRows:100},tags:["autodocs"]},e={render:b=>g.jsx(c,{...b})},t={...e,args:{variant:"loadMore"}},r={...e,args:{hasPageInput:!1,hasRowCountInput:!1,hasRowCountLabel:!1}};var a,n,i;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:`{
|
|
2
|
+
render: props => {
|
|
3
|
+
return <Pagination {...props} />;
|
|
4
|
+
}
|
|
5
|
+
}`,...(i=(n=e.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};var p,s,u;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{
|
|
6
|
+
...Default,
|
|
7
|
+
args: {
|
|
8
|
+
variant: "loadMore"
|
|
9
|
+
}
|
|
10
|
+
}`,...(u=(s=t.parameters)==null?void 0:s.docs)==null?void 0:u.source}}};var m,l,d;r.parameters={...r.parameters,docs:{...(m=r.parameters)==null?void 0:m.docs,source:{originalSource:`{
|
|
11
|
+
...Default,
|
|
12
|
+
args: {
|
|
13
|
+
hasPageInput: false,
|
|
14
|
+
hasRowCountInput: false,
|
|
15
|
+
hasRowCountLabel: false
|
|
16
|
+
}
|
|
17
|
+
}`,...(d=(l=r.parameters)==null?void 0:l.docs)==null?void 0:d.source}}};const he=["Default","LoadMore","JustButtons"];export{e as Default,r as JustButtons,t as LoadMore,he as __namedExportsOrder,ge as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g,_ as x,a as s,c as m,d as l}from"./createTheme-BmPXDA4p.js";import{r as P}from"./index-NdkWRN8K.js";import{u as b,s as R,c as $}from"./DefaultPropsProvider-B7tpShA7.js";import{g as y}from"./generateUtilityClasses-DYvjsuMV.js";import{j as C}from"./jsx-runtime-CnH95YSl.js";const v=a=>{let e;return a<1?e=5.11916*a**2:e=4.5*Math.log(a+1)+2,(e/100).toFixed(2)};function M(a){return g("MuiPaper",a)}y("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const k=["className","component","elevation","square","variant"],q=a=>{const{square:e,elevation:o,variant:t,classes:n}=a,r={root:["root",t,!e&&"rounded",t==="elevation"&&`elevation${o}`]};return $(r,M,n)},_=R("div",{name:"MuiPaper",slot:"Root",overridesResolver:(a,e)=>{const{ownerState:o}=a;return[e.root,e[o.variant],!o.square&&e.rounded,o.variant==="elevation"&&e[`elevation${o.elevation}`]]}})(({theme:a,ownerState:e})=>{var o;return s({backgroundColor:(a.vars||a).palette.background.paper,color:(a.vars||a).palette.text.primary,transition:a.transitions.create("box-shadow")},!e.square&&{borderRadius:a.shape.borderRadius},e.variant==="outlined"&&{border:`1px solid ${(a.vars||a).palette.divider}`},e.variant==="elevation"&&s({boxShadow:(a.vars||a).shadows[e.elevation]},!a.vars&&a.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${l.alpha("#fff",v(e.elevation))}, ${l.alpha("#fff",v(e.elevation))})`},a.vars&&{backgroundImage:(o=a.vars.overlays)==null?void 0:o[e.elevation]}))}),A=P.forwardRef(function(e,o){const t=b({props:e,name:"MuiPaper"}),{className:n,component:r="div",elevation:p=1,square:u=!1,variant:d="elevation"}=t,c=x(t,k),i=s({},t,{component:r,elevation:p,square:u,variant:d}),f=q(i);return C.jsx(_,s({as:r,ownerState:i,className:m(f.root,n),ref:o},c))});export{A as P};
|