@okta/odyssey-react-mui 1.48.0 → 1.49.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/assets/{Accordion-MTHvu5cR.js → Accordion-BNJn0pfW.js} +1 -1
- package/dist/assets/{Accordion.stories-DniSJ38i.js → Accordion.stories-DZIjfE-o.js} +1 -1
- package/dist/assets/{AccordionSummary-Byc6MkHu.js → AccordionSummary-BjqT0nEb.js} +1 -1
- package/dist/assets/{AlertTitle-BDkgiA29.js → AlertTitle-q6ff_Zkl.js} +1 -1
- package/dist/assets/{AppSwitcher-mUx_f1r6.js → AppSwitcher-cyyPttJv.js} +1 -1
- package/dist/assets/{AppSwitcher.stories-CENgxWSC.js → AppSwitcher.stories--8DVDaS1.js} +1 -1
- package/dist/assets/AppTile _labs_.stories-D9W_XD90.js +136 -0
- package/dist/assets/ArrowDropDown-DdemyKZU.js +1 -0
- package/dist/assets/{ArrowRight-BquvVn3D.js → ArrowRight-ChWYjNny.js} +1 -1
- package/dist/assets/{Autocomplete-Bh3XRXMy.js → Autocomplete-Cpi_kUVA.js} +1 -1
- package/dist/assets/{Autocomplete-CknstIK_.js → Autocomplete-CxtGbb8j.js} +1 -1
- package/dist/assets/{Autocomplete.stories-DNDWoB5E.js → Autocomplete.stories-CQuaZrwN.js} +3 -3
- package/dist/assets/{Badge-DFZYqSZN.js → Badge-BO7bTIEa.js} +1 -1
- package/dist/assets/{Banner-25ZggH76.js → Banner-K7AM0SJj.js} +1 -1
- package/dist/assets/{Banner.stories-Dz37neYC.js → Banner.stories-BRQINNIu.js} +3 -3
- package/dist/assets/{BaseButton-Cd1oZPsh.js → BaseButton-DYZHKnV3.js} +1 -1
- package/dist/assets/BaseMenuButton-BIietjUB.js +1 -0
- package/dist/assets/{Box-B-R2QRDU.js → Box-1mvP3NLW.js} +1 -1
- package/dist/assets/Box-BcMTQ_R2.js +1 -0
- package/dist/assets/Box-DXoV5_ch.js +11 -0
- package/dist/assets/{Box.stories-BCtoarqr.js → Box.stories-C8EeKXhb.js} +1 -1
- package/dist/assets/Breadcrumbs-Bp-jt6t5.js +6 -0
- package/dist/assets/{Breadcrumbs.stories-BTEZLo9U.js → Breadcrumbs.stories-B_3snTWA.js} +1 -1
- package/dist/assets/{Bug-Z3X3t5xp.js → Bug-CQIUmZ-N.js} +1 -1
- package/dist/assets/{Button-DPUOjyZy.js → Button-BEA5U6Tg.js} +1 -1
- package/dist/assets/{Button-BvUGu5Sm.js → Button-BzIwUmSM.js} +1 -1
- package/dist/assets/{Button.stories-CLRsJ0J2.js → Button.stories-S7v-663i.js} +2 -2
- package/dist/assets/{ButtonBase-CrcIXP69.js → ButtonBase-BNqa2TMD.js} +2 -2
- package/dist/assets/{Calendar-DnwsjheN.js → Calendar-_GPHtaRa.js} +1 -1
- package/dist/assets/{Callout-qkeUDNKn.js → Callout-FZxPpigF.js} +1 -1
- package/dist/assets/Callout.stories-CODSBn6K.js +105 -0
- package/dist/assets/{Card-DL97TZJd.js → Card-C0RGIer3.js} +1 -1
- package/dist/assets/Card-CBiqCoFv.js +8 -0
- package/dist/assets/{Card.stories-ROWJyBI0.js → Card.stories-Cp5cSsvN.js} +1 -1
- package/dist/assets/{CardActionArea-BaL2GhSM.js → CardActionArea-DWrXZntI.js} +1 -1
- package/dist/assets/{CardActions-C1bW_Jqo.js → CardActions-BQdq7Bn0.js} +1 -1
- package/dist/assets/{Checkbox-eGdyySzm.js → Checkbox-DPv3Q9UW.js} +1 -1
- package/dist/assets/{Checkbox-OauVZWc5.js → Checkbox-vZwuXtzm.js} +1 -1
- package/dist/assets/{Checkbox.stories-DwmuFw2j.js → Checkbox.stories-9dZS0JMC.js} +1 -1
- package/dist/assets/{CheckboxGroup-BQ5GiUey.js → CheckboxGroup-Be66QML5.js} +1 -1
- package/dist/assets/CheckboxGroup.stories-Cx6CsE7C.js +92 -0
- package/dist/assets/{ChevronRight-BLkvXBUf.js → ChevronRight-C12ToI7Y.js} +1 -1
- package/dist/assets/{ChevronUp-Br-QC-XK.js → ChevronUp-CfT7Bz8X.js} +1 -1
- package/dist/assets/{Chip-B9WkuA4b.js → Chip-CXnMieIl.js} +1 -1
- package/dist/assets/{CircularProgress-DxY3QwHW.js → CircularProgress-DPxwxglU.js} +1 -1
- package/dist/assets/{CircularProgress-AX8KCiV6.js → CircularProgress-HbIdZLBB.js} +4 -4
- package/dist/assets/{CircularProgress.stories-a_Rse-5m.js → CircularProgress.stories-BCClfpJw.js} +1 -1
- package/dist/assets/{Clock-8HOQy_d4.js → Clock-17ua7UAW.js} +1 -1
- package/dist/assets/{Close-BjXKhBr_.js → Close-OXBt1nIe.js} +1 -1
- package/dist/assets/{Code Styling Guidelines-BkGO8zp-.js → Code Styling Guidelines-CVbofGQK.js } +1 -1
- package/dist/assets/{Collapse-DtQCvyEw.js → Collapse-DfdoVIdP.js} +1 -1
- package/dist/assets/{Color-YHDXOIA2-CcoN0wsl.js → Color-YHDXOIA2-DT4T6TnK.js} +1 -1
- package/dist/assets/{CssBaseline-CI1_OCUX.js → CssBaseline-DpDXOHEK.js} +1 -1
- package/dist/assets/{CssBaseline.stories-BSLs5ScZ.js → CssBaseline.stories-DeSEyTd-.js} +1 -1
- package/dist/assets/{Custom Theming-WlDJkwzT.js → Custom Theming-CmbOHtP1.js } +2 -2
- package/dist/assets/Custom Theming.stories-CxVTbjdx.js +95 -0
- package/dist/assets/{DataFilters _labs_-BIYE5QJU.js → DataFilters _labs_-DvUVhC-g.js } +2 -2
- package/dist/assets/{DataFilters _labs_.stories-BdV81MCI.js → DataFilters _labs_.stories-Ca9tvzkv.js } +1 -1
- package/dist/assets/{DataFilters-KxLw7hL5.js → DataFilters-BnT_U3-o.js} +1 -1
- package/dist/assets/DataTable _labs_-DL8Jc4Hl.js +41 -0
- package/dist/assets/{DataTable _labs_.stories-CTl54dDN.js → DataTable _labs_.stories-C9Tljg4U.js } +1 -1
- package/dist/assets/{DataTable-bZz790ci.js → DataTable-S0xhd1LQ.js} +2 -2
- package/dist/assets/{DataTable-BJQ8WkUd.js → DataTable-XayRBHyP.js} +2 -2
- package/dist/assets/{DataTable.stories-9eBclyx2.js → DataTable.stories-tcZyd507.js} +1 -1
- package/dist/assets/{DataView _labs_-AutzTAhE.js → DataView _labs_-oQPoSKgb.js } +2 -2
- package/dist/assets/{DataView _labs_.stories-CO0XGhOV.js → DataView _labs_.stories-C_xQt04_.js } +1 -1
- package/dist/assets/{DataView-CHGdxu-Z.js → DataView-C5rMFmwA.js} +6 -6
- package/dist/assets/{DataView.stories-6cnSmpm3.js → DataView.stories-oJRHGPAN.js} +3 -3
- package/dist/assets/{DatePicker-BGoHW8Is.js → DatePicker-BwDkz3WT.js} +1 -1
- package/dist/assets/{DatePicker-C6TIvuN7.js → DatePicker-CaivHe9y.js} +2 -2
- package/dist/assets/DatePicker.stories-DbwO66Pf.js +133 -0
- package/dist/assets/{DateTimePicker-DKGE8593.js → DateTimePicker-B7a9bgL6.js} +1 -1
- package/dist/assets/{DateTimePicker.stories-TBpe3AjQ.js → DateTimePicker.stories-DL2oaP7L.js} +6 -6
- package/dist/assets/Design Tokens-CLnoritM.js +4 -0
- package/dist/assets/Dialog-CR4TUjlJ.js +1 -0
- package/dist/assets/{Dialog.stories-BQZpS-f5.js → Dialog.stories-2q37jV4r.js} +1 -1
- package/dist/assets/{DialogContent-B-pM1DP1.js → DialogContent-Cwn-I-C_.js} +1 -1
- package/dist/assets/{DialogTitle-DA2nrmUc.js → DialogTitle-C-K7jEio.js} +1 -1
- package/dist/assets/{Divider-CAwVs6Y1.js → Divider-Ln3VaO81.js} +1 -1
- package/dist/assets/{DocsRenderer-CFRXHY34-kO-n-5EB.js → DocsRenderer-CFRXHY34-CCeAz_jE.js} +1 -1
- package/dist/assets/{Documentation-CBbHUjXC.js → Documentation-DF3oo39e.js} +1 -1
- package/dist/assets/{Download-VHpUH0as.js → Download-Zlhupksh.js} +1 -1
- package/dist/assets/{Drawer-C9M8pytV.js → Drawer-CXQ3piJR.js} +2 -2
- package/dist/assets/Drawer.stories-Dlkg74m1.js +95 -0
- package/dist/assets/{EmptyState-FpIKkMpd.js → EmptyState-CpBEzmap.js} +1 -1
- package/dist/assets/EmptyState.stories-Dl57LvdY.js +11 -0
- package/dist/assets/{ExampleButton.stories-CbAFs20l.js → ExampleButton.stories-Bbj5W6A-.js} +1 -1
- package/dist/assets/{Extending Translations-mp_vyXoH.js → Extending Translations-D38KR8Kn.js } +1 -1
- package/dist/assets/{ExternalLink-lox07hAR.js → ExternalLink-D0l1c5Cz.js} +1 -1
- package/dist/assets/{Fade-CHnXmzFb.js → Fade-dUgBN8rJ.js} +1 -1
- package/dist/assets/{Field-BxkyNVQW.js → Field-DH3L8v09.js} +2 -2
- package/dist/assets/{FieldHint-D5VttvwL.js → FieldHint-B3Jif_Up.js} +1 -1
- package/dist/assets/{Fieldset-Dp9uCwiB.js → Fieldset-D7_59eeI.js} +1 -1
- package/dist/assets/Fieldset.stories-B-NXKKP-.js +15 -0
- package/dist/assets/{FileUploader.stories-CxYwF2DZ.js → FileUploader.stories-C9ua336t.js} +6 -6
- package/dist/assets/{Filter-BiREetkX.js → Filter-DsDJ7si-.js} +1 -1
- package/dist/assets/{Folder-8esChg_E.js → Folder-e-po0U54.js} +1 -1
- package/dist/assets/{Form Field Accessibility-BCFouYXt.js → Form Field Accessibility-D5GmQTjo.js } +1 -1
- package/dist/assets/{Form-CJrxMkwr.js → Form-iTx8DKdm.js} +1 -1
- package/dist/assets/Form.stories-CKX8F-HV.js +69 -0
- package/dist/assets/{FormControlLabel-CoGABX1G.js → FormControlLabel-0BBemR80.js} +1 -1
- package/dist/assets/{FormGroup-D2d8E3Cw.js → FormGroup-HFkGZ983.js} +1 -1
- package/dist/assets/{FormHelperText-Ca69g4Je.js → FormHelperText-CsNAE1E3.js} +1 -1
- package/dist/assets/{FormLabel-EOlXQpGp.js → FormLabel-CiGre9wK.js} +1 -1
- package/dist/assets/{FullScreenOverlay-Bujsxbxh.js → FullScreenOverlay-BTMDlJhE.js} +1 -1
- package/dist/assets/{Generating Icons-pN6RBs4J.js → Generating Icons-B_lqn7WI.js } +1 -1
- package/dist/assets/{Globe-BHk1B5d7.js → Globe-B83Xmd05.js} +1 -1
- package/dist/assets/{Grid-B7XSvQ_X.js → Grid-EpV3TL4a.js} +1 -1
- package/dist/assets/{Group-DWmiPyzE.js → Group-mTVRC79V.js} +1 -1
- package/dist/assets/GroupPicker _labs_.stories-rRod3ZIj.js +33 -0
- package/dist/assets/{Grow-6R6cTzr4.js → Grow-C8kUeGCY.js} +1 -1
- package/dist/assets/{Hide-Bvhl5PVN.js → Hide-TKfOHglI.js} +1 -1
- package/dist/assets/{Hint-DTEjQAxl.js → Hint-DoJneNg9.js} +1 -1
- package/dist/assets/{Home-CUQc6tB8.js → Home-la7Lmt_L.js} +1 -1
- package/dist/assets/Icon _icons_.stories-BmisOf4s.js +16 -0
- package/dist/assets/{IconButton-Wwvz84xG.js → IconButton-5qShmnSr.js} +1 -1
- package/dist/assets/{IconWithTooltip _icons_.stories-BiiIBhOv.js → IconWithTooltip _icons_.stories-C86MVO5n.js } +1 -1
- package/dist/assets/{InformationCircle-DYQV39lt.js → InformationCircle-a2jMUKfL.js} +1 -1
- package/dist/assets/{InputAdornment-Dj-8HF_1.js → InputAdornment-CdR3XT6f.js} +1 -1
- package/dist/assets/{InputBase-6reb9B7r.js → InputBase-DeB4_faH.js} +2 -2
- package/dist/assets/{Installing odyssey-react-mui-DuIfuEaw.js → Installing odyssey-react-mui-BlZZYALn.js } +1 -1
- package/dist/assets/{Introduction-BTH-MnwV.js → Introduction-D6814AO1.js} +6 -6
- package/dist/assets/{Layout-BndkhA1_.js → Layout-DGOs1275.js} +1 -1
- package/dist/assets/{Layout.stories-BwMtW-cW.js → Layout.stories-DE3l510g.js} +2 -2
- package/dist/assets/{Legacy Migrations-BfDwGUg3.js → Legacy Migrations-B9gOEz-l.js } +1 -1
- package/dist/assets/{Link-BQo2zH0c.js → Link-BDoLypER.js} +1 -1
- package/dist/assets/{Link-DcsndbPK.js → Link-DNIf0luC.js} +1 -1
- package/dist/assets/Link-dX7EI1Ct.js +11 -0
- package/dist/assets/{Link.stories-DiVQZsn1.js → Link.stories-DnkjU-5y.js} +1 -1
- package/dist/assets/{List-_p0jkXPM.js → List-CmjR1pNu.js} +1 -1
- package/dist/assets/{List-CNCQEpRl.js → List-UlX1tusJ.js} +1 -1
- package/dist/assets/{ListItem-BLYwuKOG.js → ListItem-C0ExFtXb.js} +1 -1
- package/dist/assets/{ListSubheader-DO359rMr.js → ListSubheader-CQJAAOsd.js} +1 -1
- package/dist/assets/{Menu-CU_mHT7L.js → Menu-K9lpVvDG.js} +1 -1
- package/dist/assets/{MenuButton-DvVmjwMC.js → MenuButton-B3T7c15t.js} +1 -1
- package/dist/assets/MenuButton-hdFGv_9Z.js +9 -0
- package/dist/assets/{MenuButton.stories-rLpv4nq1.js → MenuButton.stories-BRHUGqba.js} +1 -1
- package/dist/assets/{MenuItem-DoUaLmgU.js → MenuItem-CmSG6PNu.js} +1 -1
- package/dist/assets/{MenuItem-oi_JaUho.js → MenuItem-vhp8G-Nb.js} +1 -1
- package/dist/assets/{MenuItem.stories-Ba6BR5kj.js → MenuItem.stories-dOOOz3KO.js} +1 -1
- package/dist/assets/{MenuList-0OHGr5AC.js → MenuList-BMOesnfs.js} +1 -1
- package/dist/assets/{Modal-B12sS2Yh.js → Modal-CSDyCVCf.js} +1 -1
- package/dist/assets/{More-BgQrTkKM.js → More-DLQ2RjWn.js} +1 -1
- package/dist/assets/NativeSelect.stories-DHgms1GM.js +173 -0
- package/dist/assets/{OdysseyProvider-BPLFYiwr.js → OdysseyProvider-qIn9QVYS.js} +2 -2
- package/dist/assets/{OdysseyStorybookThemeDecorator-CGH8visK.js → OdysseyStorybookThemeDecorator-BuDiOG2V.js} +1 -1
- package/dist/assets/{OdysseyThemeProvider-BykOaJq8.js → OdysseyThemeProvider-Bh0Bu-2o.js} +1 -1
- package/dist/assets/{PageHeader.stories-DHDJTskZ.js → PageHeader.stories-MDEEjM1g.js} +2 -2
- package/dist/assets/{PageHeader.stories-Cg0XA0p_.js → PageHeader.stories-eACdVWYK.js} +3 -3
- package/dist/assets/PageTemplate _labs_-BuvgCua7.js +8 -0
- package/dist/assets/{PageTemplate _labs_.stories-DdUcW43S.js → PageTemplate _labs_.stories-C8RdfTqi.js } +1 -1
- package/dist/assets/{PageTemplate-mjLVQesI.js → PageTemplate-D-EQlTUx.js} +1 -1
- package/dist/assets/{PageTemplate.stories-BD8Hafdu.js → PageTemplate.stories-BzgC-WCT.js} +3 -3
- package/dist/assets/{PaginatedTable _labs_.stories-Lt6yWTDo.js → PaginatedTable _labs_.stories-CvpuSFlt.js } +3 -3
- package/dist/assets/{Pagination-BTycGMV-.js → Pagination-CB1wBW8Q.js} +2 -2
- package/dist/assets/Pagination.stories-RoH8O-RA.js +17 -0
- package/dist/assets/{Paper-DwBg74qy.js → Paper-D-_O-EjU.js} +1 -1
- package/dist/assets/PasswordField.stories-BUOy4gYe.js +129 -0
- package/dist/assets/Picker _labs_.stories-BIZmrH82.js +18 -0
- package/dist/assets/{PickerWithOptionAdornment _labs_.stories-BxW5XACd.js → PickerWithOptionAdornment _labs_.stories-CQYX6Af7.js } +3 -3
- package/dist/assets/Popper-BARIxJrI.js +1 -0
- package/dist/assets/{Portal-CsPQSHsR.js → Portal-C6D59xAE.js} +1 -1
- package/dist/assets/ProgressBar.stories-Dyp9UXSp.js +311 -0
- package/dist/assets/{Radio-7iHx2pBU.js → Radio-B4gVvwps.js} +1 -1
- package/dist/assets/{Radio-AD-L5UNl.js → Radio-BdNnpooK.js} +1 -1
- package/dist/assets/{Radio.stories-eZmvoamt.js → Radio.stories-BtiaRnXY.js} +1 -1
- package/dist/assets/{RadioGroup-Mx_cTqVX.js → RadioGroup-BYJZ378_.js} +1 -1
- package/dist/assets/RadioGroup-CtUWSbQc.js +1 -0
- package/dist/assets/RadioGroup-D1k5iqEQ.js +10 -0
- package/dist/assets/{RadioGroup.stories-CackbN0d.js → RadioGroup.stories-kfMrpCQ4.js} +1 -1
- package/dist/assets/{Refresh-CgZVXlSy.js → Refresh-DexPEklu.js} +1 -1
- package/dist/assets/{ResourceAccessPolicyComponentsStorybookThemeDecorator-Xen2vDro.js → ResourceAccessPolicyComponentsStorybookThemeDecorator-Bo_QNpfC.js} +1 -1
- package/dist/assets/{Right-to-Left (RTL)-CALRs8aM.js → Right-to-Left (RTL)-BHFSR1q8.js } +1 -1
- package/dist/assets/{ScreenReaderText-DbrZU7M5.js → ScreenReaderText-CebALBsG.js} +1 -1
- package/dist/assets/{ScreenReaderText-D9dVDvYs.js → ScreenReaderText-DkVEZTIb.js} +2 -2
- package/dist/assets/ScreenReaderText.stories-BuS5WxvE.js +8 -0
- package/dist/assets/{Search-BSlcf4bB.js → Search-C5TVrLyE.js} +1 -1
- package/dist/assets/{SearchDropdown _labs_.stories-CQype98o.js → SearchDropdown _labs_.stories-Bq7Qapoa.js } +3 -3
- package/dist/assets/{SearchField-glDE5e-X.js → SearchField-BdnOrhVM.js} +1 -1
- package/dist/assets/SearchField.stories-IB3f7QOK.js +37 -0
- package/dist/assets/{Select-VvpDulqk.js → Select-DZTigpTO.js} +1 -1
- package/dist/assets/{Select-BWJ6-p1Z.js → Select-KZvejALm.js} +2 -2
- package/dist/assets/{Select.stories-BXXrgt5o.js → Select.stories-5trfU4Ma.js} +2 -2
- package/dist/assets/{Server-DS5iERo2.js → Server-Ch5aeRtt.js} +1 -1
- package/dist/assets/{Settings-SRsJGOHl.js → Settings-2rTKyez8.js} +1 -1
- package/dist/assets/{Setup-Ri7IU42o.js → Setup-BDM9nDVO.js} +1 -1
- package/dist/assets/{Shadow DOM-DK_1Epv_.js → Shadow DOM-DHECKIzr.js } +1 -1
- package/dist/assets/{Show-DXIrBgNq.js → Show-BnmQFsN6.js} +1 -1
- package/dist/assets/{SideNav-QMiST_j6.js → SideNav-5pMdKSEl.js} +1 -1
- package/dist/assets/{SideNav-CUpwLG1e.js → SideNav-bhdOFKbL.js} +2 -2
- package/dist/assets/{SideNav.stories-l5XPKDfB.js → SideNav.stories-ciX1pArE.js} +1 -1
- package/dist/assets/{Skeleton-DAUyPclv.js → Skeleton-BPjIT6NG.js} +5 -5
- package/dist/assets/{Snackbar-DWLMI8Az.js → Snackbar-BM0ZOC4Y.js} +1 -1
- package/dist/assets/{Stack-t9yXrJ7r.js → Stack-B7OGvu7C.js} +1 -1
- package/dist/assets/{Stack.stories-zmhDXY_k.js → Stack.stories-CYylNLHT.js} +1 -1
- package/dist/assets/{StaticTable _labs_.stories-DJCAtW2q.js → StaticTable _labs_.stories-ChL0Cwn4.js } +3 -3
- package/dist/assets/{Status-CdgTiE4c.js → Status-BlOUycBm.js} +1 -1
- package/dist/assets/{Status.stories-D5tSpO2F.js → Status.stories-Dv4b1Z5X.js} +1 -1
- package/dist/assets/{Surface-BCTO1YR-.js → Surface-DTngmQRF.js} +1 -1
- package/dist/assets/{Switch.stories-r3bYAZpt.js → Switch.stories-hjVvL7UR.js} +5 -5
- package/dist/assets/{SwitchBase-CWdXZnig.js → SwitchBase-CefEM0OA.js} +1 -1
- package/dist/assets/{Sync-CCP_JZB8.js → Sync-BbqTDeWk.js} +1 -1
- package/dist/assets/{Tabs-Dxt5P3aJ.js → Tabs-CQz87GHd.js} +1 -1
- package/dist/assets/{Tabs-DCV9oDtT.js → Tabs-gXh7YFSu.js} +2 -2
- package/dist/assets/{Tabs.stories-CmjPJB02.js → Tabs.stories-CRJgQA20.js} +4 -4
- package/dist/assets/{Tag-C_iW2sj3.js → Tag-DwH0t814.js} +1 -1
- package/dist/assets/{Tag.stories-uilRDgPB.js → Tag.stories-CoLnXBke.js} +1 -1
- package/dist/assets/{TagList-cWni94xt.js → TagList-BZGEhGXn.js} +1 -1
- package/dist/assets/{TextField-BIepBlYn.js → TextField-BhK0y2Zt.js} +1 -1
- package/dist/assets/{TextField.stories-DkCMFN0S.js → TextField.stories-DYOK0z5b.js} +2 -2
- package/dist/assets/Toast.stories-BipAY3GN.js +134 -0
- package/dist/assets/{ToastManager.stories-DToM8bFE.js → ToastManager.stories-BWZvSWGT.js} +1 -1
- package/dist/assets/{Tooltip-D_pBGtcj.js → Tooltip-Cq2rQGbD.js} +1 -1
- package/dist/assets/{Tooltip-DQDBPKMu.js → Tooltip-CsVWtVfL.js} +1 -1
- package/dist/assets/{Tooltip.stories-CgIybZDx.js → Tooltip.stories-B6wyATg5.js} +1 -1
- package/dist/assets/{TopNav-Dwo-KfAw.js → TopNav-DEIYDz6v.js} +1 -1
- package/dist/assets/TopNav.stories-DJNZEi08.js +13 -0
- package/dist/assets/{Typography-DBt3ajUl.js → Typography-CkeEfKaM.js} +1 -1
- package/dist/assets/{Typography-CSpPZFTF.js → Typography-ClQ35Rr-.js} +1 -1
- package/dist/assets/{Typography-B7ktrxCD.js → Typography-Cz6D417Y.js} +1 -1
- package/dist/assets/{Typography-CQfngSjD.js → Typography-r6MlG5YM.js} +1 -1
- package/dist/assets/{Typography.stories-CitS-iTX.js → Typography.stories-93RlEwpU.js} +1 -1
- package/dist/assets/{Typography.stories-dzT0O_H3.js → Typography.stories-DRUYEGzH.js} +1 -1
- package/dist/assets/{UiShell.stories-BV5mK0Oz.js → UiShell.stories-HV8yGvd3.js} +3 -3
- package/dist/assets/{UiShellProvider-Bm9plvoZ.js → UiShellProvider-BEcD16AU.js} +1 -1
- package/dist/assets/{Upload-DH1T10x5.js → Upload-CfzP_Muq.js} +1 -1
- package/dist/assets/{User-CvYTA860.js → User-CyxEAfVT.js} +1 -1
- package/dist/assets/{UserProfile-DrnAMPM1.js → UserProfile-B6GSEZPs.js} +1 -1
- package/dist/assets/UserProfile.stories-Cx9GmLsV.js +14 -0
- package/dist/assets/{UserProfileMenuButton.stories-Dhe9t4Oh.js → UserProfileMenuButton.stories-BjxJHNWm.js} +3 -3
- package/dist/assets/{Video-D8qbHdF4.js → Video-DWT3WylB.js} +1 -1
- package/dist/assets/{WorkflowsComponentsStorybookThemeDecorator-DJR9iMBt.js → WorkflowsComponentsStorybookThemeDecorator-CxOFxh0W.js} +1 -1
- package/dist/assets/{colorManipulator-C6C6_xuT.js → colorManipulator-DKifQsuo.js} +1 -1
- package/dist/assets/createBox-Dxawkfow.js +1 -0
- package/dist/assets/{createStyled-B0CJenTX.js → createStyled-D6bTcpHC.js} +1 -1
- package/dist/assets/{createSvgIcon-Bv_3NNsK.js → createSvgIcon-ClUWwDzL.js} +1 -1
- package/dist/assets/{dialogActionsClasses-d6kliu8x.js → dialogActionsClasses-ZEPlxVw-.js} +1 -1
- package/dist/assets/emotion-react-jsx-runtime.browser.esm-DL0BDwaj.js +1 -0
- package/dist/assets/{entry-preview-Bi6MTClg.js → entry-preview-BxxndF3a.js} +1 -1
- package/dist/assets/{getReactElementRef-Bs64nbeG.js → getReactElementRef-DsIevm5t.js} +1 -1
- package/dist/assets/{iconUtils-C1HBA-0w.js → iconUtils-BII10A1q.js} +1 -1
- package/dist/assets/{iframe-C7GWUW76.js → iframe-Cf-Lpz6Y.js} +2 -2
- package/dist/assets/{index-DkrUiDVY.js → index-DB8HwIVZ.js} +1 -1
- package/dist/assets/{index-DfE121Jj.js → index-DLgQDw3r.js} +3 -3
- package/dist/assets/{index-DoKqiSdS.js → index-Ml2UeFXJ.js} +1 -1
- package/dist/assets/index-_dyfSX8u.js +1 -0
- package/dist/assets/{index.esm-BliC9-aw.js → index.esm-CBOWgn41.js} +1 -1
- package/dist/assets/{index.esm-XFhSJO0s.js → index.esm-DTxqsiYY.js} +1 -1
- package/dist/assets/{inheritsLoose-DTTkq0Su.js → inheritsLoose-CJ6Ie9dp.js} +1 -1
- package/dist/assets/{personData-BOnk54P3.js → personData-BYPP3apv.js} +1 -1
- package/dist/assets/{personData-L8dJyb3X.js → personData-CRkmqebZ.js} +1 -1
- package/dist/assets/{pickerComponentPropsMetadata-CozVRRyR.js → pickerComponentPropsMetadata-D10GkMIO.js} +2 -2
- package/dist/assets/{popper-aiaZgC6t.js → popper-BVOCD5jc.js} +1 -1
- package/dist/assets/{preview-DXRUsonv.js → preview-D06dtFvI.js} +2 -2
- package/dist/assets/{preview-NdtsJkHc.js → preview-Dk8DzNBz.js} +1 -1
- package/dist/assets/{renderUiShell.stories-Pp6_Iqzc.js → renderUiShell.stories-CAw-IOS4.js} +4 -4
- package/dist/assets/{resolveComponentProps-TTQVZ4OZ.js → resolveComponentProps-DXQ8X87i.js} +1 -1
- package/dist/assets/{tableSortLabelClasses-C7INAE6Y.js → tableSortLabelClasses-CkKrbp1R.js} +1 -1
- package/dist/assets/{useAutocomplete-CD_GwhMI.js → useAutocomplete-BRetTkpF.js} +1 -1
- package/dist/assets/{useMobilePicker-CRiGjvfW.js → useMobilePicker-DZhX9dEQ.js} +1 -1
- package/dist/assets/{useOdysseyDateFields-D1TYF4ew.js → useOdysseyDateFields-DPSkeXJj.js} +1 -1
- package/dist/assets/{useScrollIndication-Dq_i6CX-.js → useScrollIndication-mYI-g6xa.js} +3 -3
- package/dist/assets/{useSlot-VN2O4BOA.js → useSlot-CvpE2t6D.js} +1 -1
- package/dist/assets/useThemeProps-BPvYx-mf.js +1 -0
- package/dist/assets/useThemeProps-DwvbKxez.js +1 -0
- package/dist/assets/utils-kUZVaD1e.js +1 -0
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.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/iframe.html +1 -1
- package/dist/index.json +1 -1
- package/dist/project.json +1 -1
- package/dist/sb-addons/storybook-13/manager-bundle.js +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/package.json +8 -8
- package/CHANGELOG.md +0 -25
- package/dist/assets/AppTile _labs_.stories-B5BjKm0o.js +0 -136
- package/dist/assets/ArrowDropDown-Dnrg-0Q8.js +0 -1
- package/dist/assets/BaseMenuButton-DCwowxQ6.js +0 -1
- package/dist/assets/Box-B6KmU4_J.js +0 -1
- package/dist/assets/Box-B92Cdrku.js +0 -11
- package/dist/assets/Breadcrumbs-BGJJeoxM.js +0 -6
- package/dist/assets/Callout.stories-DVWATUoj.js +0 -105
- package/dist/assets/Card-DqLPNu4w.js +0 -8
- package/dist/assets/CheckboxGroup.stories-BbHNliqq.js +0 -92
- package/dist/assets/Custom Theming.stories-Kx3noLIn.js +0 -95
- package/dist/assets/DataTable _labs_-D_W9CY5T.js +0 -41
- package/dist/assets/DatePicker.stories-DldeVOlB.js +0 -133
- package/dist/assets/Design Tokens-BnlBB5OL.js +0 -4
- package/dist/assets/Dialog-BkOLgyLu.js +0 -1
- package/dist/assets/Drawer.stories-DpNTQVxG.js +0 -95
- package/dist/assets/EmptyState.stories-CkUF2dIR.js +0 -11
- package/dist/assets/Fieldset.stories-Wa9hG8Z0.js +0 -15
- package/dist/assets/Form.stories-Bc84FwlQ.js +0 -69
- package/dist/assets/GroupPicker _labs_.stories-D0PDtKKA.js +0 -33
- package/dist/assets/Icon _icons_.stories-S2muaIBP.js +0 -16
- package/dist/assets/Link-C5sM1_ZF.js +0 -11
- package/dist/assets/MenuButton-CGRa_Y2p.js +0 -9
- package/dist/assets/NativeSelect.stories-CYtg4GGs.js +0 -173
- package/dist/assets/PageTemplate _labs_-Bi3xwFV2.js +0 -8
- package/dist/assets/Pagination.stories-rN3x32X9.js +0 -17
- package/dist/assets/PasswordField.stories-BdnDY-tl.js +0 -129
- package/dist/assets/Picker _labs_.stories-D3FvB-m5.js +0 -18
- package/dist/assets/Popper-CSwIGEpk.js +0 -1
- package/dist/assets/RadioGroup-C_zn6OtS.js +0 -1
- package/dist/assets/RadioGroup-yPcOJn0w.js +0 -10
- package/dist/assets/ScreenReaderText.stories-CuVJmeWD.js +0 -8
- package/dist/assets/SearchField.stories-B_myC5_S.js +0 -37
- package/dist/assets/Toast.stories-BgAm1BNQ.js +0 -134
- package/dist/assets/TopNav.stories-z9mNMFB3.js +0 -13
- package/dist/assets/UserProfile.stories-C4EJFTV8.js +0 -14
- package/dist/assets/emotion-react-jsx-runtime.browser.esm-Cn-06VTs.js +0 -1
- package/dist/assets/index-6QUE-j0v.js +0 -1
- package/dist/assets/useThemeProps-BgDANuN6.js +0 -1
- package/dist/assets/useThemeProps-DJ3F4KkW.js +0 -1
- package/dist/assets/utils-BdcLUgCD.js +0 -1
- package/dist/index.cjs +0 -231
- package/dist/index.es.js +0 -3173
- package/dist/index.es.js.map +0 -1
- package/dist/index.iife.js +0 -9
- package/dist/index.iife.js.map +0 -1
- package/dist/index.mjs +0 -229
- package/dist/index.scss +0 -549
- package/dist/index.umd.cjs +0 -9
- package/dist/index.umd.cjs.map +0 -1
- package/dist/types/getTranslationServices.browser.test.d.ts +0 -1
- package/dist/types/getTranslationServices.browser.test.js +0 -88
- package/dist/types/getTranslationServices.browser.test.js.map +0 -1
- package/dist/types/getTranslationServices.d.ts +0 -91
- package/dist/types/getTranslationServices.js +0 -77
- package/dist/types/getTranslationServices.js.map +0 -1
- package/dist/types/getTypedObjectEntries.d.ts +0 -1
- package/dist/types/getTypedObjectEntries.js +0 -2
- package/dist/types/getTypedObjectEntries.js.map +0 -1
- package/dist/types/index.js +0 -3
- package/dist/types/index.js.map +0 -1
- package/dist/types/translationServices.types.d.ts +0 -2
- package/dist/types/translationServices.types.js +0 -34
- package/dist/types/translationServices.types.js.map +0 -1
- package/dist/types/tsconfig.tsbuildinfo +0 -1
- package/ok.yaml +0 -1
- package/src/getTranslationServices.browser.test.tsx +0 -173
- package/src/getTranslationServices.tsx +0 -286
- package/src/getTypedObjectEntries.ts +0 -3
- package/src/index.ts +0 -2
- package/src/translationServices.types.ts +0 -36
- package/src/tsconfig.json +0 -7
- package/tsconfig.json +0 -41
- package/vite.config.project.ts +0 -61
- package/vite.config.ts +0 -21
- package/vite.config.ts.bak +0 -33
- package/vitest-browser-setup.ts +0 -14
- package/vitest-jsdom-setup.ts +0 -13
- package/vitest-node-setup.ts +0 -13
- package/vitest.config.project.ts +0 -16
- package/vitest.config.ts +0 -27
- package/vitest.config.ts.bak +0 -27
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{r as n}from"./index-NdkWRN8K.js";import{O as Oe}from"./OdysseyStorybookThemeDecorator-BuDiOG2V.js";import{f as i}from"./fieldComponentPropsMetaData-BqbNLw6V.js";import{M as De}from"./Field-DH3L8v09.js";import{g as Fe,u as He}from"./inputUtils-Dbi8XkA6.js";import{S as Ne}from"./Select-DZTigpTO.js";import{M as Ae}from"./Link-BDoLypER.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./OdysseyThemeProvider-Bh0Bu-2o.js";import"./index-BJTM6NaI.js";import"./OdysseyProvider-qIn9QVYS.js";import"./Box-1mvP3NLW.js";import"./Box-BcMTQ_R2.js";import"./createBox-Dxawkfow.js";import"./List-CmjR1pNu.js";import"./ListItem-C0ExFtXb.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-CiGre9wK.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./isHostComponent-DVu5iVWx.js";import"./ButtonBase-BNqa2TMD.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CJ6Ie9dp.js";import"./TransitionGroupContext-DAL84N7p.js";import"./ScreenReaderText-CebALBsG.js";import"./visuallyHidden-Dan1xhjv.js";import"./FormHelperText-CsNAE1E3.js";import"./FieldHint-B3Jif_Up.js";import"./Typography-Cz6D417Y.js";import"./Typography-ClQ35Rr-.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./Menu-K9lpVvDG.js";import"./getReactElementRef-DsIevm5t.js";import"./resolveComponentProps-DXQ8X87i.js";import"./Grow-C8kUeGCY.js";import"./utils-kUZVaD1e.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./debounce-Be36O1Ab.js";import"./Modal-CSDyCVCf.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-C6D59xAE.js";import"./Fade-dUgBN8rJ.js";import"./Paper-D-_O-EjU.js";import"./MenuList-BMOesnfs.js";import"./useControlled-NQulfz4l.js";import"./ArrowDropDown-DdemyKZU.js";import"./createSvgIcon-ClUWwDzL.js";import"./InputBase-DeB4_faH.js";import"./Link-DNIf0luC.js";import"./ExternalLink-D0l1c5Cz.js";const Ge=n.forwardRef(({ariaDescribedBy:c,autoCompleteType:o,defaultValue:r,errorMessage:l,errorMessageList:s,hasMultipleChoices:a,hint:h,HintLinkComponent:t,id:m,inputRef:Se,isDisabled:Me=!1,isFullWidth:Le=!1,isMultiSelect:w,isOptional:Ee=!1,label:Te,onBlur:k,onChange:v,onFocus:O,testId:D,translate:F,value:H,children:N},A)=>{const Ve=n.useRef(Fe({controlledValue:H,uncontrolledValue:r})),G=n.useRef(null);n.useImperativeHandle(Se,()=>({focus:()=>{var d;(d=G.current)==null||d.focus()}}),[]);const P=He({defaultValue:r,value:H,controlState:Ve.current}),R=n.useCallback((d,V)=>{v==null||v(d,V)},[v]),W=n.useMemo(()=>a===void 0?w:a,[a,w]),we=n.useCallback(({ariaDescribedBy:d,errorMessageElementId:V,labelElementId:ke})=>e.jsx(Ne,{...P,"aria-describedby":d,autoComplete:o,children:N,id:m,inputProps:{"aria-errormessage":V,"aria-labelledby":ke,"data-se":D},inputRef:G,multiple:W,name:m,native:!0,onBlur:k,onChange:R,onFocus:O,ref:A,translate:F}),[o,N,m,P,W,k,R,O,A,D,F]);return e.jsx(De,{ariaDescribedBy:c,errorMessage:l,errorMessageList:s,fieldType:"single",hasVisibleLabel:!0,hint:h,HintLinkComponent:t,id:m,isDisabled:Me,isFullWidth:Le,isOptional:Ee,label:Te,renderFieldComponent:we})}),p=n.memo(Ge);p.displayName="NativeSelect";const Io={component:p,decorators:[Oe],tags:["autodocs"],argTypes:{children:{description:"The options or optgroup elements within the native select component",table:{type:{summary:"ReactElement<'option'> | ReactElement<'optgroup'> | undefined"}}},defaultValue:{control:"text",description:"The default value of the native select component. Only applicable if `value` is not provided",table:{type:{summary:"string | string[] | undefined"}}},errorMessage:i.errorMessage,errorMessageList:i.errorMessageList,hint:i.hint,HintLinkComponent:i.HintLinkComponent,id:i.id,isDisabled:i.isDisabled,isFullWidth:i.isFullWidth,hasMultipleChoices:{control:"boolean",description:"If `true`, the native select component allows multiple selections",table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}},isOptional:i.isOptional,label:{control:"text",description:"The label text for the native select component",table:{type:{summary:"string"}},type:{required:!0,name:"string"}},onBlur:{description:"Callback fired when the native select component loses focus",table:{type:{summary:"func"}}},onChange:{description:"Callback fired when the value of the native select component changes",table:{type:{summary:"func"}}},onFocus:{description:"Callback fired when the native select component gains focus",table:{type:{summary:"func"}}},value:{control:"text",description:"The value or values selected in the native select component",table:{type:{summary:"string | string[]"}}}},args:{isDisabled:!1,hint:"Select your destination in the Sol system.",isOptional:!1,label:"Destination",id:"SolarDestination",defaultValue:""}},u={render:function(o){return e.jsx(p,{...o,children:e.jsxs(e.Fragment,{children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),defaultValue:o.defaultValue,errorMessage:o.errorMessage,errorMessageList:o.errorMessageList,hint:o.hint,id:o.id,isDisabled:o.isDisabled,isMultiSelect:o.isMultiSelect,isOptional:o.isOptional,label:o.label})}},Pe={render:function(o){return e.jsx(p,{...o,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]})})}},g={...u},b={...u,args:{isDisabled:!0}},f={...u,args:{errorMessage:"Select your destination."}},x={...u,args:{errorMessage:"Select your destination.",errorMessageList:["Select 1 planet","Select 1 moon"]}},y={...Pe},j={...u,args:{hasMultipleChoices:!0,defaultValue:[]}},C={...u,args:{isOptional:!0}},S={...u,args:{HintLinkComponent:e.jsx(Ae,{href:"/learn-more",children:"Learn more"})}},M={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for passing `value` to the component and listening for changes with `onChange`"}}},args:{},render:function(o){const[r,l]=n.useState(""),s=n.useCallback(a=>l(a.target.value),[]);return e.jsx(p,{...o,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]}),onChange:s,value:r})}},L={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for passing `value` to the component and listening for changes with `onChange`"}}},render:function(o){const[r,l]=n.useState([""]),s=n.useCallback(a=>{const h=[a.target].filter(t=>t instanceof HTMLOptionElement).filter(t=>t.selected).map(t=>t.value);l(h)},[]);return e.jsx(p,{...o,defaultValue:void 0,hasMultipleChoices:!0,onChange:s,value:r,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]})})}},E={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for passing `value` to the component and listening for changes with `onChange`"}}},args:{},render:function(o){const[r,l]=n.useState("Laconia"),s=n.useCallback(a=>l(a.target.value),[]);return e.jsx(p,{...o,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]}),onChange:s,value:r})}},T={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for passing `value` to the component and listening for changes with `onChange`.\n\nPreselected values are referenced by the value of the `value` attritube on `option` elements."}}},render:function(o){const[r,l]=n.useState(["laconia","new-terra"]),s=n.useCallback(a=>{const h=[a.target].filter(t=>t instanceof HTMLOptionElement).filter(t=>t.selected).map(t=>t.value);l(h)},[]);return e.jsx(p,{...o,defaultValue:void 0,hasMultipleChoices:!0,onChange:s,value:r,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]})})}};var q,z,I;g.parameters={...g.parameters,docs:{...(q=g.parameters)==null?void 0:q.docs,source:{originalSource:`{
|
|
2
|
+
...Template
|
|
3
|
+
}`,...(I=(z=g.parameters)==null?void 0:z.docs)==null?void 0:I.source}}};var B,_,J;b.parameters={...b.parameters,docs:{...(B=b.parameters)==null?void 0:B.docs,source:{originalSource:`{
|
|
4
|
+
...Template,
|
|
5
|
+
args: {
|
|
6
|
+
isDisabled: true
|
|
7
|
+
}
|
|
8
|
+
}`,...(J=(_=b.parameters)==null?void 0:_.docs)==null?void 0:J.source}}};var K,Q,U;f.parameters={...f.parameters,docs:{...(K=f.parameters)==null?void 0:K.docs,source:{originalSource:`{
|
|
9
|
+
...Template,
|
|
10
|
+
args: {
|
|
11
|
+
errorMessage: "Select your destination."
|
|
12
|
+
}
|
|
13
|
+
}`,...(U=(Q=f.parameters)==null?void 0:Q.docs)==null?void 0:U.source}}};var X,Y,Z;x.parameters={...x.parameters,docs:{...(X=x.parameters)==null?void 0:X.docs,source:{originalSource:`{
|
|
14
|
+
...Template,
|
|
15
|
+
args: {
|
|
16
|
+
errorMessage: "Select your destination.",
|
|
17
|
+
errorMessageList: ["Select 1 planet", "Select 1 moon"]
|
|
18
|
+
}
|
|
19
|
+
}`,...(Z=(Y=x.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var $,ee,oe;y.parameters={...y.parameters,docs:{...($=y.parameters)==null?void 0:$.docs,source:{originalSource:`{
|
|
20
|
+
...GroupTemplate
|
|
21
|
+
}`,...(oe=(ee=y.parameters)==null?void 0:ee.docs)==null?void 0:oe.source}}};var ne,te,ae;j.parameters={...j.parameters,docs:{...(ne=j.parameters)==null?void 0:ne.docs,source:{originalSource:`{
|
|
22
|
+
...Template,
|
|
23
|
+
args: {
|
|
24
|
+
hasMultipleChoices: true,
|
|
25
|
+
defaultValue: []
|
|
26
|
+
}
|
|
27
|
+
}`,...(ae=(te=j.parameters)==null?void 0:te.docs)==null?void 0:ae.source}}};var re,le,se;C.parameters={...C.parameters,docs:{...(re=C.parameters)==null?void 0:re.docs,source:{originalSource:`{
|
|
28
|
+
...Template,
|
|
29
|
+
args: {
|
|
30
|
+
isOptional: true
|
|
31
|
+
}
|
|
32
|
+
}`,...(se=(le=C.parameters)==null?void 0:le.docs)==null?void 0:se.source}}};var ie,pe,ce;S.parameters={...S.parameters,docs:{...(ie=S.parameters)==null?void 0:ie.docs,source:{originalSource:`{
|
|
33
|
+
...Template,
|
|
34
|
+
args: {
|
|
35
|
+
HintLinkComponent: <Link href="/learn-more">Learn more</Link>
|
|
36
|
+
}
|
|
37
|
+
}`,...(ce=(pe=S.parameters)==null?void 0:pe.docs)==null?void 0:ce.source}}};var ue,de,he;M.parameters={...M.parameters,docs:{...(ue=M.parameters)==null?void 0:ue.docs,source:{originalSource:`{
|
|
38
|
+
parameters: {
|
|
39
|
+
docs: {
|
|
40
|
+
description: {
|
|
41
|
+
story: "When the component is controlled, the parent component is responsible for passing \`value\` to the component and listening for changes with \`onChange\`"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
args: {},
|
|
46
|
+
render: function C(args) {
|
|
47
|
+
const [localValue, setLocalValue] = useState("");
|
|
48
|
+
const onChange = useCallback((event: SelectChangeEvent<string | string[]>) => setLocalValue(event.target.value as string), []);
|
|
49
|
+
return <NativeSelect {...args} children={<>
|
|
50
|
+
<optgroup label="Sol System">
|
|
51
|
+
<option value="earth">Earth</option>
|
|
52
|
+
<option value="mars">Mars</option>
|
|
53
|
+
<option value="ceres">Ceres</option>
|
|
54
|
+
<option value="eros">Eros</option>
|
|
55
|
+
<option value="tycho-station">Tycho Station</option>
|
|
56
|
+
<option value="phoebe">Phoebe</option>
|
|
57
|
+
<option value="ganymede">Ganymede</option>
|
|
58
|
+
</optgroup>
|
|
59
|
+
<optgroup label="Extrasolar">
|
|
60
|
+
<option value="auberon">Auberon</option>
|
|
61
|
+
<option value="al-halub">Al-Halub</option>
|
|
62
|
+
<option value="freehold">Freehold</option>
|
|
63
|
+
<option value="laconia">Laconia</option>
|
|
64
|
+
<option value="new-terra">New Terra</option>
|
|
65
|
+
</optgroup>
|
|
66
|
+
</>} onChange={onChange} value={localValue} />;
|
|
67
|
+
}
|
|
68
|
+
}`,...(he=(de=M.parameters)==null?void 0:de.docs)==null?void 0:he.source}}};var me,ve,ge;L.parameters={...L.parameters,docs:{...(me=L.parameters)==null?void 0:me.docs,source:{originalSource:`{
|
|
69
|
+
parameters: {
|
|
70
|
+
docs: {
|
|
71
|
+
description: {
|
|
72
|
+
story: "When the component is controlled, the parent component is responsible for passing \`value\` to the component and listening for changes with \`onChange\`"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
render: function C(args) {
|
|
77
|
+
const [localValue, setLocalValue] = useState([""]);
|
|
78
|
+
const onChange = useCallback<Required<NativeSelectProps<typeof localValue, true>>["onChange"]>(event => {
|
|
79
|
+
const selectedOptions = [event.target].filter(option => option instanceof HTMLOptionElement).filter(option => option.selected).map(selectedOption => selectedOption.value);
|
|
80
|
+
setLocalValue(selectedOptions);
|
|
81
|
+
}, []);
|
|
82
|
+
return <NativeSelect {...args} defaultValue={undefined} hasMultipleChoices={true}
|
|
83
|
+
// @ts-expect-error This is going to break because generics aren't passed through.
|
|
84
|
+
onChange={onChange} value={localValue}>
|
|
85
|
+
<>
|
|
86
|
+
<optgroup label="Sol System">
|
|
87
|
+
<option value="earth">Earth</option>
|
|
88
|
+
<option value="mars">Mars</option>
|
|
89
|
+
<option value="ceres">Ceres</option>
|
|
90
|
+
<option value="eros">Eros</option>
|
|
91
|
+
<option value="tycho-station">Tycho Station</option>
|
|
92
|
+
<option value="phoebe">Phoebe</option>
|
|
93
|
+
<option value="ganymede">Ganymede</option>
|
|
94
|
+
</optgroup>
|
|
95
|
+
<optgroup label="Extrasolar">
|
|
96
|
+
<option value="auberon">Auberon</option>
|
|
97
|
+
<option value="al-halub">Al-Halub</option>
|
|
98
|
+
<option value="freehold">Freehold</option>
|
|
99
|
+
<option value="laconia">Laconia</option>
|
|
100
|
+
<option value="new-terra">New Terra</option>
|
|
101
|
+
</optgroup>
|
|
102
|
+
</>
|
|
103
|
+
</NativeSelect>;
|
|
104
|
+
}
|
|
105
|
+
}`,...(ge=(ve=L.parameters)==null?void 0:ve.docs)==null?void 0:ge.source}}};var be,fe,xe;E.parameters={...E.parameters,docs:{...(be=E.parameters)==null?void 0:be.docs,source:{originalSource:`{
|
|
106
|
+
parameters: {
|
|
107
|
+
docs: {
|
|
108
|
+
description: {
|
|
109
|
+
story: "When the component is controlled, the parent component is responsible for passing \`value\` to the component and listening for changes with \`onChange\`"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
args: {},
|
|
114
|
+
render: function C(args) {
|
|
115
|
+
const [localValue, setLocalValue] = useState("Laconia");
|
|
116
|
+
const onChange = useCallback((event: SelectChangeEvent<string | string[]>) => setLocalValue(event.target.value as string), []);
|
|
117
|
+
return <NativeSelect {...args} children={<>
|
|
118
|
+
<optgroup label="Sol System">
|
|
119
|
+
<option value="earth">Earth</option>
|
|
120
|
+
<option value="mars">Mars</option>
|
|
121
|
+
<option value="ceres">Ceres</option>
|
|
122
|
+
<option value="eros">Eros</option>
|
|
123
|
+
<option value="tycho-station">Tycho Station</option>
|
|
124
|
+
<option value="phoebe">Phoebe</option>
|
|
125
|
+
<option value="ganymede">Ganymede</option>
|
|
126
|
+
</optgroup>
|
|
127
|
+
<optgroup label="Extrasolar">
|
|
128
|
+
<option value="auberon">Auberon</option>
|
|
129
|
+
<option value="al-halub">Al-Halub</option>
|
|
130
|
+
<option value="freehold">Freehold</option>
|
|
131
|
+
<option value="laconia">Laconia</option>
|
|
132
|
+
<option value="new-terra">New Terra</option>
|
|
133
|
+
</optgroup>
|
|
134
|
+
</>} onChange={onChange} value={localValue} />;
|
|
135
|
+
}
|
|
136
|
+
}`,...(xe=(fe=E.parameters)==null?void 0:fe.docs)==null?void 0:xe.source}}};var ye,je,Ce;T.parameters={...T.parameters,docs:{...(ye=T.parameters)==null?void 0:ye.docs,source:{originalSource:`{
|
|
137
|
+
parameters: {
|
|
138
|
+
docs: {
|
|
139
|
+
description: {
|
|
140
|
+
story: "When the component is controlled, the parent component is responsible for passing \`value\` to the component and listening for changes with \`onChange\`.\\n\\nPreselected values are referenced by the value of the \`value\` attritube on \`option\` elements."
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
render: function C(args) {
|
|
145
|
+
const [localValue, setLocalValue] = useState(["laconia", "new-terra"]);
|
|
146
|
+
const onChange = useCallback<Required<NativeSelectProps<typeof localValue, true>>["onChange"]>(event => {
|
|
147
|
+
const selectedOptions = [event.target].filter(option => option instanceof HTMLOptionElement).filter(option => option.selected).map(selectedOption => selectedOption.value);
|
|
148
|
+
setLocalValue(selectedOptions);
|
|
149
|
+
}, []);
|
|
150
|
+
return <NativeSelect {...args} defaultValue={undefined} hasMultipleChoices
|
|
151
|
+
// @ts-expect-error This is going to break because generics aren't passed through.
|
|
152
|
+
onChange={onChange} value={localValue}>
|
|
153
|
+
<>
|
|
154
|
+
<optgroup label="Sol System">
|
|
155
|
+
<option value="earth">Earth</option>
|
|
156
|
+
<option value="mars">Mars</option>
|
|
157
|
+
<option value="ceres">Ceres</option>
|
|
158
|
+
<option value="eros">Eros</option>
|
|
159
|
+
<option value="tycho-station">Tycho Station</option>
|
|
160
|
+
<option value="phoebe">Phoebe</option>
|
|
161
|
+
<option value="ganymede">Ganymede</option>
|
|
162
|
+
</optgroup>
|
|
163
|
+
<optgroup label="Extrasolar">
|
|
164
|
+
<option value="auberon">Auberon</option>
|
|
165
|
+
<option value="al-halub">Al-Halub</option>
|
|
166
|
+
<option value="freehold">Freehold</option>
|
|
167
|
+
<option value="laconia">Laconia</option>
|
|
168
|
+
<option value="new-terra">New Terra</option>
|
|
169
|
+
</optgroup>
|
|
170
|
+
</>
|
|
171
|
+
</NativeSelect>;
|
|
172
|
+
}
|
|
173
|
+
}`,...(Ce=(je=T.parameters)==null?void 0:je.docs)==null?void 0:Ce.source}}};const Bo=["Default","DefaultDisabled","DefaultError","ErrorsList","DefaultGrouped","Multi","Optional","HintLink","Controlled","ControlledMultiselect","ControlledPreselected","ControlledPreselectedMultiselect"];export{M as Controlled,L as ControlledMultiselect,E as ControlledPreselected,T as ControlledPreselectedMultiselect,g as Default,b as DefaultDisabled,f as DefaultError,y as DefaultGrouped,x as ErrorsList,S as HintLink,j as Multi,C as Optional,Bo as __namedExportsOrder,Io as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as l}from"./index-NdkWRN8K.js";import{j as a}from"./jsx-runtime-CnH95YSl.js";import{c as h,
|
|
1
|
+
import{r as l}from"./index-NdkWRN8K.js";import{j as a}from"./jsx-runtime-CnH95YSl.js";import{c as h,ad as R,b as p,V as M,W as j,_ as B,s as P,d as w,f as k,aH as A,aI as z,O as F,aJ as N}from"./OdysseyThemeProvider-Bh0Bu-2o.js";const v=(e,o)=>p({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},o&&!e.vars&&{colorScheme:e.palette.mode}),S=e=>p({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),W=(e,o=!1)=>{var t;const n={};o&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([i,c])=>{var d;n[e.getColorSchemeSelector(i).replace(/\s*&/,"")]={colorScheme:(d=c.palette)==null?void 0:d.mode}});let s=p({html:v(e,o),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:p({margin:0},S(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n);const r=(t=e.components)==null||(t=t.MuiCssBaseline)==null?void 0:t.styleOverrides;return r&&(s=[s,r]),s};function I(e){const o=h({props:e,name:"MuiCssBaseline"}),{children:t,enableColorScheme:n=!1}=o;return a.jsxs(l.Fragment,{children:[a.jsx(R,{styles:s=>W(s,n)}),t]})}function _(e){return M("MuiScopedCssBaseline",e)}j("MuiScopedCssBaseline",["root"]);const T=["className","component","enableColorScheme"],U=e=>{const{classes:o}=e;return k({root:["root"]},_,o)},q=P("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,o)=>o.root})(({theme:e,ownerState:o})=>{const t={};return o.enableColorScheme&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([n,s])=>{var r;t[`&${e.getColorSchemeSelector(n).replace(/\s*&/,"")}`]={colorScheme:(r=s.palette)==null?void 0:r.mode}}),p({},v(e,o.enableColorScheme),S(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}},t)}),$=l.forwardRef(function(o,t){const n=h({props:o,name:"MuiScopedCssBaseline"}),{className:s,component:r="div"}=n,i=B(n,T),c=p({},n,{component:r}),d=U(c);return a.jsx(q,p({as:r,className:w(d.root,s),ref:t,ownerState:c},i))}),H=e=>a.jsx(I,{...e});/*!
|
|
2
2
|
* Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
3
|
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
4
|
*
|
|
@@ -63,4 +63,4 @@ import{r as l}from"./index-NdkWRN8K.js";import{j as a}from"./jsx-runtime-CnH95YS
|
|
|
63
63
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
64
64
|
*
|
|
65
65
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
66
|
-
*/const Z=({children:e,emotionRoot:o,emotionRootElement:t,nonce:n,stylisPlugins:s})=>{const r=Y(),i=l.useMemo(()=>A({...(t||o)&&{container:t||o},key:r,nonce:n??globalThis.cspNonce,prepend:!0,speedy:!0,...s&&{stylisPlugins:s}}),[o,t,n,s,r]);return a.jsx(
|
|
66
|
+
*/const Z=({children:e,emotionRoot:o,emotionRootElement:t,nonce:n,stylisPlugins:s})=>{const r=Y(),i=l.useMemo(()=>A({...(t||o)&&{container:t||o},key:r,nonce:n??globalThis.cspNonce,prepend:!0,speedy:!0,...s&&{stylisPlugins:s}}),[o,t,n,s,r]);return a.jsx(z,{value:i,children:e})},f=l.memo(Z);f.displayName="OdysseyCacheProvider";const ee={height:"inherit"},oe=({children:e,contrastMode:o,designTokensOverride:t,emotionRoot:n,emotionRootElement:s,hasCssBaseline:r,hasScopedCssBaseline:i=!0,hasWrapperElement:c,languageCode:d,nonce:m,overlayParentElement:g,shadowDomElement:u,shadowRootElement:y,stylisPlugins:E,themeOverride:x,translationOverrides:O})=>a.jsx(f,{emotionRootElement:s||n,nonce:m,stylisPlugins:E,children:a.jsx(F,{contrastMode:o,designTokensOverride:t,hasWrapperElement:c,shadowRootElement:y??u,themeOverride:x,children:a.jsx(N,{languageCode:d,translationOverrides:O,children:a.jsxs(b,{hasShadowDom:!!(y||u),overlayParentElement:g,children:[r&&a.jsx(H,{}),i?a.jsx($,{sx:ee,children:e}):e]})})})}),te=l.memo(oe);te.displayName="OdysseyProvider";export{H as C,te as M,$ as S,I as a,L as c,J as e,ae as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{
|
|
1
|
+
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{Z as a,$ as t}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{E as r}from"./index-BJTM6NaI.js";import{M as l}from"./OdysseyProvider-qIn9QVYS.js";const n={fontFamily:"'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif"},i=a({odysseyTokens:t}),h=(o,s)=>e.jsx(l,{hasCssBaseline:!0,languageCode:s.globals.locale,children:e.jsx(r,{theme:i,children:e.jsx("div",{lang:s.globals.locale,style:n,children:e.jsx(o,{})})})});export{h as O};
|
|
@@ -186,4 +186,4 @@ import{r as w,R as Na}from"./index-NdkWRN8K.js";import{j as I}from"./jsx-runtime
|
|
|
186
186
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
187
187
|
*
|
|
188
188
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
189
|
-
*/const Yh=Qt("div")({height:"inherit"}),Th=({children:t,contrastMode:e,designTokensOverride:a,hasWrapperElement:r=!0,shadowDomElement:i,shadowRootElement:n,themeOverride:l})=>{const o=Un(),s=a??o.designTokensOverride,c=n??i??o.shadowRootElement,d=l??o.themeOverride,{contrastMode:b,contrastContainerRef:g}=Fh({contrastMode:e}),f=w.useMemo(()=>({...Ei,...s}),[s]),h=w.useMemo(()=>Gh({contrastMode:b,odysseyTokens:f,shadowRootElement:c}),[b,f,c]),p=w.useMemo(()=>pr(be(h,d||{})),[h,d]),v=w.useMemo(()=>({contrastMode:b}),[b]),y=w.useMemo(()=>I.jsx(qn.Provider,{value:v,children:I.jsx(Pg,{theme:p,children:I.jsx(Kn,{designTokensOverride:s,shadowRootElement:c,themeOverride:d,children:I.jsx(An.Provider,{value:f,children:t})})})}),[t,v,p,s,f,c,d]);return r?I.jsx(Yh,{ref:g,children:y}):y},Zh=w.memo(Th);Zh.displayName="OdysseyThemeProvider";export{
|
|
189
|
+
*/const Yh=Qt("div")({height:"inherit"}),Th=({children:t,contrastMode:e,designTokensOverride:a,hasWrapperElement:r=!0,shadowDomElement:i,shadowRootElement:n,themeOverride:l})=>{const o=Un(),s=a??o.designTokensOverride,c=n??i??o.shadowRootElement,d=l??o.themeOverride,{contrastMode:b,contrastContainerRef:g}=Fh({contrastMode:e}),f=w.useMemo(()=>({...Ei,...s}),[s]),h=w.useMemo(()=>Gh({contrastMode:b,odysseyTokens:f,shadowRootElement:c}),[b,f,c]),p=w.useMemo(()=>pr(be(h,d||{})),[h,d]),v=w.useMemo(()=>({contrastMode:b}),[b]),y=w.useMemo(()=>I.jsx(qn.Provider,{value:v,children:I.jsx(Pg,{theme:p,children:I.jsx(Kn,{designTokensOverride:s,shadowRootElement:c,themeOverride:d,children:I.jsx(An.Provider,{value:f,children:t})})})}),[t,v,p,s,f,c,d]);return r?I.jsx(Yh,{ref:g,children:y}):y},Zh=w.memo(Th);Zh.displayName="OdysseyThemeProvider";export{Ei as $,vd as A,xf as B,Ee as C,Ip as D,ba as E,Cu as F,cr as G,$p as H,Be as I,en as J,$f as K,Nn as L,Bn as M,Ja as N,Zh as O,He as P,wt as Q,Sd as R,Ie as S,Pf as T,gf as U,K as V,q as W,mn as X,Jt as Y,Gh as Z,Pe as _,hd as a,Bt as a$,ir as a0,bp as a1,up as a2,Mf as a3,Fn as a4,Ah as a5,Js as a6,kf as a7,pr as a8,be as a9,gt as aA,wf as aB,bt as aC,rf as aD,Eg as aE,lf as aF,Sg as aG,qi as aH,pp as aI,If as aJ,_e as aK,Xe as aL,We as aM,Ae as aN,ke as aO,Gi as aP,Ht as aQ,ar as aR,jn as aS,Dn as aT,_n as aU,Wn as aV,mg as aW,jg as aX,Bg as aY,Ag as aZ,dr as a_,Pg as aa,cf as ab,ae as ac,sf as ad,wd as ae,Da as af,of as ag,ce as ah,Xi as ai,fp as aj,og as ak,pf as al,De as am,Oe as an,tf as ao,rn as ap,ef as aq,At as ar,ca as as,df as at,_t as au,Ln as av,Hf as aw,Hh as ax,Oh as ay,uf as az,O as b,xg as b0,Du as b1,Lu as b2,sn as b3,vf as b4,Sf as b5,Cf as b6,Rf as b7,zf as b8,gn as b9,Ig as c,Rd as d,Ue as e,kd as f,ff as g,Qt as h,Ng as i,mf as j,Fe as k,yf as l,mt as m,Ua as n,Dg as o,Fg as p,Oa as q,Cg as r,Rg as s,Pu as t,Of as u,nf as v,hf as w,Lg as x,bf as y,af as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{R as we,P as r}from"./ResourceAccessPolicyComponentsStorybookThemeDecorator-Xen2vDro.js";import{a as t}from"./index-B-lxVbXh.js";import{O as Ae}from"./OdysseyStorybookThemeDecorator-CGH8visK.js";import{B as n}from"./Breadcrumbs-BGJJeoxM.js";import{M as ve}from"./MenuButton-DvVmjwMC.js";import{M as j}from"./MenuItem-DoUaLmgU.js";import{M as a}from"./Button-DPUOjyZy.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./emotion-react-jsx-runtime.browser.esm-Cn-06VTs.js";import"./OdysseyThemeProvider-BykOaJq8.js";import"./Typography-CQfngSjD.js";import"./Typography-CSpPZFTF.js";import"./Box-B6KmU4_J.js";import"./Chip-B9WkuA4b.js";import"./createSvgIcon-Bv_3NNsK.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./ButtonBase-CrcIXP69.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-DTTkq0Su.js";import"./TransitionGroupContext-DAL84N7p.js";import"./Link-DcsndbPK.js";import"./Menu-CU_mHT7L.js";import"./getReactElementRef-Bs64nbeG.js";import"./resolveComponentProps-TTQVZ4OZ.js";import"./isHostComponent-DVu5iVWx.js";import"./Grow-6R6cTzr4.js";import"./utils-BdcLUgCD.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./debounce-Be36O1Ab.js";import"./Modal-B12sS2Yh.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-CsPQSHsR.js";import"./Fade-CHnXmzFb.js";import"./Paper-DwBg74qy.js";import"./MenuList-0OHGr5AC.js";import"./List-_p0jkXPM.js";import"./i18next-7SyOfhCu.js";import"./OdysseyProvider-BPLFYiwr.js";import"./v4-CtRu48qb.js";import"./index-BJTM6NaI.js";import"./Typography-B7ktrxCD.js";import"./Group-DWmiPyzE.js";import"./User-CvYTA860.js";import"./MenuItem-oi_JaUho.js";import"./Home-CUQc6tB8.js";import"./BaseMenuButton-DCwowxQ6.js";import"./Box-B-R2QRDU.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./BaseButton-Cd1oZPsh.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-DQDBPKMu.js";import"./Tooltip-D_pBGtcj.js";import"./useControlled-NQulfz4l.js";import"./Popper-CSwIGEpk.js";import"./popper-aiaZgC6t.js";import"./Button-BvUGu5Sm.js";import"./MenuContext-DKMyPMNY.js";import"./More-BgQrTkKM.js";const f=["Metadata A","Metadata B","Metadata C"],Vr={component:r,decorators:[Ae,we],tags:["autodocs"]},i={render:Be=>e.jsxs(r,{testId:Be.testId,children:[e.jsxs(r.Breadcrumbs,{homeHref:"#",children:[e.jsx(n,{href:"#",onClick:t("Page Title click"),children:"Page Title"},"page1"),e.jsx(n,{children:"Current Page"},"current")]}),e.jsx(r.Image,{children:e.jsx("span",{style:{fontSize:48},children:"👤"})}),e.jsx(r.Title,{overline:"OVERLINE",status:{label:"BETA",severity:"info"},children:"Page title"}),e.jsx(r.Metadata,{items:f}),e.jsx(r.Description,{children:"Optional brief description about the section or page you are about to encounter below."}),e.jsx(r.Documentation,{href:"#",label:"Documentation"}),e.jsxs(r.Actions,{children:[e.jsx(ve,{buttonLabel:"Secondary",children:e.jsx(j,{onClick:t("Action click"),children:"Action"})}),e.jsx(a,{label:"Primary",onClick:t("primary click"),variant:"primary"})]})]}),parameters:{docs:{description:{story:"Demonstrates the composable API with all features. Components are automatically organized into the correct layout sections regardless of their order in the JSX."}}}},o={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsx(r.Description,{children:"Optional brief description about the section or page you are about to encounter below."})]})},s={render:()=>e.jsxs(r,{children:[e.jsxs(r.Breadcrumbs,{homeHref:"#",children:[e.jsx(n,{href:"#",onClick:t("Page Title click"),children:"Page Title"},"page1"),e.jsx(n,{children:"Current Page"},"current")]}),e.jsx(r.Title,{children:"Page title"})]})},c={render:()=>e.jsxs(r,{children:[e.jsx(r.BackLink,{href:"#",label:"Back to list",onClick:t("Back to list click")}),e.jsx(r.Title,{children:"Page title"})]}),parameters:{docs:{description:{story:"Uses the simple backLink variant (no breadcrumbs or custom navigation provided)."}}}},d={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{status:{label:"BETA",severity:"info"},children:"Page title"}),e.jsx(r.Metadata,{items:f.slice(0,2)})]})},l={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsx(r.Documentation,{href:"#",label:"Documentation"})]}),parameters:{docs:{description:{story:"Shows the documentation link in the top-right corner."}}}},m={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsxs(r.Actions,{children:[e.jsx(a,{label:"Secondary",onClick:t("secondary click"),variant:"secondary"}),e.jsx(a,{label:"Primary",onClick:t("primary click"),variant:"primary"})]})]}),parameters:{docs:{description:{story:"Demonstrates the actions area with React element buttons."}}}},p={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsxs(r.Actions,{children:[e.jsxs(ve,{buttonLabel:"Menu",buttonVariant:"secondary",children:[e.jsx(j,{onClick:t("Option 1 click"),children:"Option 1"}),e.jsx(j,{onClick:t("Option 2 click"),children:"Option 2"})]}),e.jsx(a,{label:"Save",onClick:t("save click"),variant:"primary"})]})]}),parameters:{docs:{description:{story:"Demonstrates mixing different types of React elements (MenuButton and Button) in the actions array."}}}},u={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsxs(r.Actions,{children:[e.jsx(a,{label:"Action 1",onClick:t("action 1"),variant:"secondary"}),e.jsx(a,{label:"Action 2",onClick:t("action 2"),variant:"secondary"}),e.jsx(a,{label:"Action 3",onClick:t("action 3"),variant:"secondary"}),e.jsx(a,{label:"Action 4",onClick:t("action 4"),variant:"primary"}),e.jsx(a,{label:"Action 5",onClick:t("action 5"),variant:"primary"})]})]}),parameters:{docs:{description:{story:"Demonstrates that only the first 3 actions are rendered when more than 3 actions are provided. Actions 4 and 5 are ignored."}}}},h={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{status:{label:"ACTIVE",severity:"success"},children:"Page title"}),e.jsx(r.Metadata,{items:f}),e.jsx(r.Image,{children:e.jsx("span",{style:{fontSize:48},children:"👤"})})]})},g={render:()=>e.jsxs(r,{children:[e.jsx(r.Actions,{children:e.jsx(a,{label:"Action First",variant:"primary"})}),e.jsx(r.Title,{children:"Title comes after actions in code"}),e.jsxs(r.Breadcrumbs,{homeHref:"#",children:[e.jsx(n,{href:"#",children:"Parent"},"parent"),e.jsx(n,{children:"Current"},"current")]}),e.jsx(r.Documentation,{href:"#",label:"Help"})]}),parameters:{docs:{description:{story:"Demonstrates that component order in JSX doesn't matter - they are automatically organized into the correct layout sections."}}}},P={render:()=>e.jsxs(r,{children:[e.jsx(r.Metadata,{items:["Created: 2024","Updated: 2025","Version: 1.0"]}),e.jsx(r.Title,{children:"Title Always Appears First"}),e.jsx(r.Description,{children:"Even when metadata is declared before the title in JSX, the title will always render first."})]}),parameters:{docs:{description:{story:"Demonstrates that title always renders before metadata, regardless of their order in JSX. This ensures consistent visual hierarchy."}}}},y={render:()=>e.jsx(r,{children:e.jsx(r.Title,{children:"Minimal Page"})}),parameters:{docs:{description:{story:"Minimal example with just a title."}}}},x={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{clampLines:2,children:"This Is A Very Long Page Title That Should Be Clamped To Two Lines And Show Ellipsis When It Overflows The Container Width"}),e.jsx(r.Description,{children:"Description text appears below the clamped title."})]})}),parameters:{docs:{description:{story:"Demonstrates using `clampLines` on the title to limit it to 2 lines with ellipsis overflow."}}}},b={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{wordBreak:"break-all",children:"ThisIsAnExtremelyLongWordWithoutSpacesThatWouldNormallyOverflowTheContainer_LikeAVeryLongIdentifierOrURL"}),e.jsx(r.Description,{children:"The title above uses wordBreak to handle long unbroken strings."})]})}),parameters:{docs:{description:{story:"Demonstrates using `wordBreak` on the title to handle long words or identifiers without spaces."}}}},H={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{children:"Resource Details"}),e.jsx(r.Description,{clampLines:3,children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident."}),e.jsx(r.Actions,{children:e.jsx(a,{label:"View More",variant:"secondary"})})]})}),parameters:{docs:{description:{story:"Demonstrates using `clampLines` on the description to truncate long text after 3 lines."}}}},T={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{children:"API Endpoint"}),e.jsx(r.Description,{wordBreak:"break-all",children:"Endpoint URL: https://api.example.com/v1/resources/very-long-resource-identifier/sub-resources/another-long-identifier/actions"})]})}),parameters:{docs:{description:{story:"Demonstrates using `wordBreak` on the description to handle long URLs or paths."}}}},k={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{clampLines:1,wordBreak:"break-word",children:"VeryLongResourceName_WithUnderscores_ThatNeedsToBeHandledProperly"}),e.jsx(r.Metadata,{items:["Created: 2024","Status: Active"]}),e.jsx(r.Description,{clampLines:2,wordBreak:"break-word",children:"This resource has a very long description with URLs like https://example.com/very-long-path/to/resource that need to wrap properly. The description will be clamped to 2 lines with ellipsis."}),e.jsx(r.Actions,{children:e.jsx(a,{label:"Edit",variant:"primary"})})]})}),parameters:{docs:{description:{story:"Demonstrates combining `wordBreak` and `clampLines` on both title and description to handle complex overflow scenarios."}}}};var v,B,w;i.parameters={...i.parameters,docs:{...(v=i.parameters)==null?void 0:v.docs,source:{originalSource:`{
|
|
1
|
+
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{R as we,P as r}from"./ResourceAccessPolicyComponentsStorybookThemeDecorator-Bo_QNpfC.js";import{a as t}from"./index-B-lxVbXh.js";import{O as Ae}from"./OdysseyStorybookThemeDecorator-BuDiOG2V.js";import{B as n}from"./Breadcrumbs-Bp-jt6t5.js";import{M as ve}from"./MenuButton-B3T7c15t.js";import{M as j}from"./MenuItem-CmSG6PNu.js";import{M as a}from"./Button-BEA5U6Tg.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./emotion-react-jsx-runtime.browser.esm-DL0BDwaj.js";import"./OdysseyThemeProvider-Bh0Bu-2o.js";import"./Typography-r6MlG5YM.js";import"./Typography-ClQ35Rr-.js";import"./Box-BcMTQ_R2.js";import"./createBox-Dxawkfow.js";import"./Chip-CXnMieIl.js";import"./createSvgIcon-ClUWwDzL.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./ButtonBase-BNqa2TMD.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CJ6Ie9dp.js";import"./TransitionGroupContext-DAL84N7p.js";import"./Link-DNIf0luC.js";import"./Menu-K9lpVvDG.js";import"./getReactElementRef-DsIevm5t.js";import"./resolveComponentProps-DXQ8X87i.js";import"./isHostComponent-DVu5iVWx.js";import"./Grow-C8kUeGCY.js";import"./utils-kUZVaD1e.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./debounce-Be36O1Ab.js";import"./Modal-CSDyCVCf.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-C6D59xAE.js";import"./Fade-dUgBN8rJ.js";import"./Paper-D-_O-EjU.js";import"./MenuList-BMOesnfs.js";import"./List-CmjR1pNu.js";import"./i18next-7SyOfhCu.js";import"./OdysseyProvider-qIn9QVYS.js";import"./v4-CtRu48qb.js";import"./index-BJTM6NaI.js";import"./Typography-Cz6D417Y.js";import"./Group-mTVRC79V.js";import"./User-CyxEAfVT.js";import"./MenuItem-vhp8G-Nb.js";import"./Home-la7Lmt_L.js";import"./BaseMenuButton-BIietjUB.js";import"./Box-1mvP3NLW.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./BaseButton-DYZHKnV3.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-CsVWtVfL.js";import"./Tooltip-Cq2rQGbD.js";import"./useControlled-NQulfz4l.js";import"./Popper-BARIxJrI.js";import"./popper-BVOCD5jc.js";import"./Button-BzIwUmSM.js";import"./MenuContext-DKMyPMNY.js";import"./More-DLQ2RjWn.js";const f=["Metadata A","Metadata B","Metadata C"],zr={component:r,decorators:[Ae,we],tags:["autodocs"]},i={render:Be=>e.jsxs(r,{testId:Be.testId,children:[e.jsxs(r.Breadcrumbs,{homeHref:"#",children:[e.jsx(n,{href:"#",onClick:t("Page Title click"),children:"Page Title"},"page1"),e.jsx(n,{children:"Current Page"},"current")]}),e.jsx(r.Image,{children:e.jsx("span",{style:{fontSize:48},children:"👤"})}),e.jsx(r.Title,{overline:"OVERLINE",status:{label:"BETA",severity:"info"},children:"Page title"}),e.jsx(r.Metadata,{items:f}),e.jsx(r.Description,{children:"Optional brief description about the section or page you are about to encounter below."}),e.jsx(r.Documentation,{href:"#",label:"Documentation"}),e.jsxs(r.Actions,{children:[e.jsx(ve,{buttonLabel:"Secondary",children:e.jsx(j,{onClick:t("Action click"),children:"Action"})}),e.jsx(a,{label:"Primary",onClick:t("primary click"),variant:"primary"})]})]}),parameters:{docs:{description:{story:"Demonstrates the composable API with all features. Components are automatically organized into the correct layout sections regardless of their order in the JSX."}}}},o={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsx(r.Description,{children:"Optional brief description about the section or page you are about to encounter below."})]})},s={render:()=>e.jsxs(r,{children:[e.jsxs(r.Breadcrumbs,{homeHref:"#",children:[e.jsx(n,{href:"#",onClick:t("Page Title click"),children:"Page Title"},"page1"),e.jsx(n,{children:"Current Page"},"current")]}),e.jsx(r.Title,{children:"Page title"})]})},c={render:()=>e.jsxs(r,{children:[e.jsx(r.BackLink,{href:"#",label:"Back to list",onClick:t("Back to list click")}),e.jsx(r.Title,{children:"Page title"})]}),parameters:{docs:{description:{story:"Uses the simple backLink variant (no breadcrumbs or custom navigation provided)."}}}},d={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{status:{label:"BETA",severity:"info"},children:"Page title"}),e.jsx(r.Metadata,{items:f.slice(0,2)})]})},l={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsx(r.Documentation,{href:"#",label:"Documentation"})]}),parameters:{docs:{description:{story:"Shows the documentation link in the top-right corner."}}}},m={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsxs(r.Actions,{children:[e.jsx(a,{label:"Secondary",onClick:t("secondary click"),variant:"secondary"}),e.jsx(a,{label:"Primary",onClick:t("primary click"),variant:"primary"})]})]}),parameters:{docs:{description:{story:"Demonstrates the actions area with React element buttons."}}}},p={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsxs(r.Actions,{children:[e.jsxs(ve,{buttonLabel:"Menu",buttonVariant:"secondary",children:[e.jsx(j,{onClick:t("Option 1 click"),children:"Option 1"}),e.jsx(j,{onClick:t("Option 2 click"),children:"Option 2"})]}),e.jsx(a,{label:"Save",onClick:t("save click"),variant:"primary"})]})]}),parameters:{docs:{description:{story:"Demonstrates mixing different types of React elements (MenuButton and Button) in the actions array."}}}},u={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{children:"Page title"}),e.jsxs(r.Actions,{children:[e.jsx(a,{label:"Action 1",onClick:t("action 1"),variant:"secondary"}),e.jsx(a,{label:"Action 2",onClick:t("action 2"),variant:"secondary"}),e.jsx(a,{label:"Action 3",onClick:t("action 3"),variant:"secondary"}),e.jsx(a,{label:"Action 4",onClick:t("action 4"),variant:"primary"}),e.jsx(a,{label:"Action 5",onClick:t("action 5"),variant:"primary"})]})]}),parameters:{docs:{description:{story:"Demonstrates that only the first 3 actions are rendered when more than 3 actions are provided. Actions 4 and 5 are ignored."}}}},h={render:()=>e.jsxs(r,{children:[e.jsx(r.Title,{status:{label:"ACTIVE",severity:"success"},children:"Page title"}),e.jsx(r.Metadata,{items:f}),e.jsx(r.Image,{children:e.jsx("span",{style:{fontSize:48},children:"👤"})})]})},g={render:()=>e.jsxs(r,{children:[e.jsx(r.Actions,{children:e.jsx(a,{label:"Action First",variant:"primary"})}),e.jsx(r.Title,{children:"Title comes after actions in code"}),e.jsxs(r.Breadcrumbs,{homeHref:"#",children:[e.jsx(n,{href:"#",children:"Parent"},"parent"),e.jsx(n,{children:"Current"},"current")]}),e.jsx(r.Documentation,{href:"#",label:"Help"})]}),parameters:{docs:{description:{story:"Demonstrates that component order in JSX doesn't matter - they are automatically organized into the correct layout sections."}}}},P={render:()=>e.jsxs(r,{children:[e.jsx(r.Metadata,{items:["Created: 2024","Updated: 2025","Version: 1.0"]}),e.jsx(r.Title,{children:"Title Always Appears First"}),e.jsx(r.Description,{children:"Even when metadata is declared before the title in JSX, the title will always render first."})]}),parameters:{docs:{description:{story:"Demonstrates that title always renders before metadata, regardless of their order in JSX. This ensures consistent visual hierarchy."}}}},y={render:()=>e.jsx(r,{children:e.jsx(r.Title,{children:"Minimal Page"})}),parameters:{docs:{description:{story:"Minimal example with just a title."}}}},x={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{clampLines:2,children:"This Is A Very Long Page Title That Should Be Clamped To Two Lines And Show Ellipsis When It Overflows The Container Width"}),e.jsx(r.Description,{children:"Description text appears below the clamped title."})]})}),parameters:{docs:{description:{story:"Demonstrates using `clampLines` on the title to limit it to 2 lines with ellipsis overflow."}}}},b={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{wordBreak:"break-all",children:"ThisIsAnExtremelyLongWordWithoutSpacesThatWouldNormallyOverflowTheContainer_LikeAVeryLongIdentifierOrURL"}),e.jsx(r.Description,{children:"The title above uses wordBreak to handle long unbroken strings."})]})}),parameters:{docs:{description:{story:"Demonstrates using `wordBreak` on the title to handle long words or identifiers without spaces."}}}},H={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{children:"Resource Details"}),e.jsx(r.Description,{clampLines:3,children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident."}),e.jsx(r.Actions,{children:e.jsx(a,{label:"View More",variant:"secondary"})})]})}),parameters:{docs:{description:{story:"Demonstrates using `clampLines` on the description to truncate long text after 3 lines."}}}},T={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{children:"API Endpoint"}),e.jsx(r.Description,{wordBreak:"break-all",children:"Endpoint URL: https://api.example.com/v1/resources/very-long-resource-identifier/sub-resources/another-long-identifier/actions"})]})}),parameters:{docs:{description:{story:"Demonstrates using `wordBreak` on the description to handle long URLs or paths."}}}},k={render:()=>e.jsx("div",{style:{maxWidth:"600px"},children:e.jsxs(r,{children:[e.jsx(r.Title,{clampLines:1,wordBreak:"break-word",children:"VeryLongResourceName_WithUnderscores_ThatNeedsToBeHandledProperly"}),e.jsx(r.Metadata,{items:["Created: 2024","Status: Active"]}),e.jsx(r.Description,{clampLines:2,wordBreak:"break-word",children:"This resource has a very long description with URLs like https://example.com/very-long-path/to/resource that need to wrap properly. The description will be clamped to 2 lines with ellipsis."}),e.jsx(r.Actions,{children:e.jsx(a,{label:"Edit",variant:"primary"})})]})}),parameters:{docs:{description:{story:"Demonstrates combining `wordBreak` and `clampLines` on both title and description to handle complex overflow scenarios."}}}};var v,B,w;i.parameters={...i.parameters,docs:{...(v=i.parameters)==null?void 0:v.docs,source:{originalSource:`{
|
|
2
2
|
render: args => <PageHeader testId={args.testId}>
|
|
3
3
|
<PageHeader.Breadcrumbs homeHref="#">
|
|
4
4
|
<Breadcrumb href="#" key="page1" onClick={action("Page Title click")}>
|
|
@@ -326,4 +326,4 @@ import{j as e}from"./jsx-runtime-CnH95YSl.js";import{R as we,P as r}from"./Resou
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
}`,...(fe=(je=k.parameters)==null?void 0:je.docs)==null?void 0:fe.source}}};const
|
|
329
|
+
}`,...(fe=(je=k.parameters)==null?void 0:je.docs)==null?void 0:fe.source}}};const Jr=["AllFeatures","Default","WithBreadcrumbs","WithBackLink","WithStatus","WithDocumentation","WithActions","WithMixedActions","WithTooManyActions","WithImage","OrderIndependent","MetadataBeforeTitle","Minimal","TitleWithClampLines","TitleWithWordBreak","DescriptionWithClampLines","DescriptionWithWordBreak","CombinedTitleAndDescriptionOverflow"];export{i as AllFeatures,k as CombinedTitleAndDescriptionOverflow,o as Default,H as DescriptionWithClampLines,T as DescriptionWithWordBreak,P as MetadataBeforeTitle,y as Minimal,g as OrderIndependent,x as TitleWithClampLines,b as TitleWithWordBreak,m as WithActions,c as WithBackLink,s as WithBreadcrumbs,l as WithDocumentation,h as WithImage,p as WithMixedActions,d as WithStatus,u as WithTooManyActions,Jr as __namedExportsOrder,zr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as O,j as B}from"./emotion-react-jsx-runtime.browser.esm-
|
|
1
|
+
import{a as O,j as B}from"./emotion-react-jsx-runtime.browser.esm-DL0BDwaj.js";import{r}from"./index-NdkWRN8K.js";import{u as U,W as X}from"./WorkflowsComponentsStorybookThemeDecorator-CxOFxh0W.js";import{j as m}from"./jsx-runtime-CnH95YSl.js";import{B as Y}from"./Box-BcMTQ_R2.js";import{T as ee}from"./Typography-ClQ35Rr-.js";import{S as oe}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{T as te}from"./Tooltip-Cq2rQGbD.js";import{B as ae}from"./Button-BzIwUmSM.js";import{a as re}from"./index-B-lxVbXh.js";import{O as ne}from"./OdysseyStorybookThemeDecorator-BuDiOG2V.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./i18next-7SyOfhCu.js";import"./OdysseyProvider-qIn9QVYS.js";import"./createBox-Dxawkfow.js";import"./Grow-C8kUeGCY.js";import"./utils-kUZVaD1e.js";import"./inheritsLoose-CJ6Ie9dp.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./TransitionGroupContext-DAL84N7p.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./getReactElementRef-DsIevm5t.js";import"./resolveComponentProps-DXQ8X87i.js";import"./isHostComponent-DVu5iVWx.js";import"./useControlled-NQulfz4l.js";import"./Popper-BARIxJrI.js";import"./popper-BVOCD5jc.js";import"./ownerDocument-DW-IO8s5.js";import"./Portal-C6D59xAE.js";import"./ButtonBase-BNqa2TMD.js";import"./assertThisInitialized-B9jnkVVz.js";import"./v4-CtRu48qb.js";import"./index-BJTM6NaI.js";const ie=r.forwardRef((e,t)=>m.jsx(oe,{fill:"none",ref:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx(m.Fragment,{children:m.jsx("path",{clipRule:"evenodd",d:"M11 13v5h2v-5h5v-2h-5V6h-2v5H6v2h5Z",fill:"currentColor",fillRule:"evenodd"})})})),V=r.memo(ie);V.displayName="AddIcon";const se={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body:"body1",legend:"legend",overline:"overline",subordinate:"subtitle1",support:"subtitle2"},u=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,isPresentational:l,testId:c,translate:h,typographyRef:x,variant:p="body"})=>{const y=r.useMemo(()=>d||(p==="body"||p==="subordinate"||p==="support"||p==="overline"?"p":p),[d,p]),g=r.useRef(null);return r.useImperativeHandle(x,()=>({focus:()=>{var f;(f=g.current)==null||f.focus()}}),[]),m.jsx(ee,{"aria-current":e,"aria-describedby":t,"aria-label":o,"aria-labelledby":n,children:s,color:a,component:y,"data-se":c,id:i,ref:g,role:l?"presentation":void 0,tabIndex:-1,translate:h,variant:se[p]})},de=r.memo(u);de.displayName="Typography";const le=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,isPresentational:l,testId:c,translate:h})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,isPresentational:l,testId:c,translate:h,variant:"h1"}),P=r.memo(le);P.displayName="Heading1";const ce=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c,variant:"h2"}),me=r.memo(ce);me.displayName="Heading2";const pe=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c,variant:"h3"}),ue=r.memo(pe);ue.displayName="Heading3";const be=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c,variant:"h4"}),he=r.memo(be);he.displayName="Heading4";const ye=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c,variant:"h5"}),ge=r.memo(ye);ge.displayName="Heading5";const xe=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c,variant:"h6"}),fe=r.memo(xe);fe.displayName="Heading6";const Be=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c,variant:"body"}),_=r.memo(Be);_.displayName="Paragraph";const Ce=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c,variant:"subordinate"}),Le=r.memo(Ce);Le.displayName="Subordinate";const ve=({ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c})=>m.jsx(u,{ariaCurrent:e,ariaDescribedBy:t,ariaLabel:o,ariaLabelledBy:n,children:s,color:a,component:d,id:i,testId:l,translate:c,variant:"support"}),je=r.memo(ve);je.displayName="Support";const Me=({ariaDescribedBy:e,ariaLabel:t,ariaLabelledBy:o,children:n,color:s,component:a,id:d,testId:i,translate:l})=>m.jsx(u,{ariaDescribedBy:e,ariaLabel:t,ariaLabelledBy:o,children:n,color:s,component:a,id:d,testId:i,translate:l,variant:"legend"}),He=r.memo(Me);He.displayName="Legend";const Ie=({ariaDescribedBy:e,ariaLabel:t,ariaLabelledBy:o,children:n,color:s,component:a,id:d,testId:i,translate:l})=>m.jsx(u,{ariaDescribedBy:e,ariaLabel:t,ariaLabelledBy:o,children:n,color:s,component:a,id:d,testId:i,translate:l,variant:"overline"}),ze=r.memo(Ie);ze.displayName="Overline";const Ne=r.forwardRef(({children:e,component:t,id:o,role:n,sx:s,testId:a,translate:d},i)=>m.jsx(Y,{children:e,component:t,"data-se":a,id:o,ref:i,role:n,sx:s,translate:d})),L=r.memo(Ne);L.displayName="Box";/*!
|
|
2
2
|
* Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
3
|
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
4
|
*
|
|
@@ -48,10 +48,10 @@ import{a as O,j as B}from"./emotion-react-jsx-runtime.browser.esm-Cn-06VTs.js";i
|
|
|
48
48
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
49
49
|
*
|
|
50
50
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
51
|
-
*/const
|
|
51
|
+
*/const Bo={component:K,decorators:[ne,X],tags:["autodocs"],argTypes:{buttonLabel:{control:"text"},buttonVariant:{control:"text"},headingText:{control:"text"},isLookAndFeelEnabled:{control:"boolean"},isResourceCreator:{control:"boolean"},onCreateResource:{action:!0,description:"Callback fired when the button is clicked.",table:{type:{summary:"(() => void)"}}},resourceDescription:{control:"text"},resourceType:{control:"text"}},args:{buttonLabel:"Create Resource",headingText:"Header",isLookAndFeelEnabled:!0}},C={args:{isResourceCreator:!0,onCreateResource:re("onCreateResource"),resourceDescription:"Lorem ipsum."}};var W,$,E;C.parameters={...C.parameters,docs:{...(W=C.parameters)==null?void 0:W.docs,source:{originalSource:`{
|
|
52
52
|
args: {
|
|
53
53
|
isResourceCreator: true,
|
|
54
54
|
onCreateResource: action("onCreateResource"),
|
|
55
55
|
resourceDescription: "Lorem ipsum."
|
|
56
56
|
}
|
|
57
|
-
}`,...(E=($=C.parameters)==null?void 0:$.docs)==null?void 0:E.source}}};const
|
|
57
|
+
}`,...(E=($=C.parameters)==null?void 0:$.docs)==null?void 0:E.source}}};const Co=["Default"];export{C as Default,Co as __namedExportsOrder,Bo as default};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{j as o}from"./jsx-runtime-CnH95YSl.js";import{useMDXComponents as p}from"./index-BeeV6X6A.js";import"./index-_dyfSX8u.js";import{M as e,T as n,S as s,D as a,a as c}from"./index-DLgQDw3r.js";import{P as i}from"./PageTemplate _labs_.stories-C8RdfTqi.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./preview-D06dtFvI.js";import"./iframe-Cf-Lpz6Y.js";import"./DocsRenderer-CFRXHY34-CCeAz_jE.js";import"./client-ByW5HbEz.js";import"./index-DieBXP3Z.js";import"./index-BJTM6NaI.js";import"./index-B5xazMy1.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./OdysseyStorybookThemeDecorator-BuDiOG2V.js";import"./OdysseyThemeProvider-Bh0Bu-2o.js";import"./OdysseyProvider-qIn9QVYS.js";import"./personData-CRkmqebZ.js";import"./Status-BlOUycBm.js";import"./MuiPropsContext-DhRylJZk.js";import"./Chip-CXnMieIl.js";import"./createSvgIcon-ClUWwDzL.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./ButtonBase-BNqa2TMD.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CJ6Ie9dp.js";import"./TransitionGroupContext-DAL84N7p.js";import"./PageTemplate-D-EQlTUx.js";import"./Typography-Cz6D417Y.js";import"./Typography-ClQ35Rr-.js";import"./useMountLifecycleEffect-CjsUCFhB.js";import"./Link-DNIf0luC.js";import"./Documentation-DF3oo39e.js";import"./Dialog-CR4TUjlJ.js";import"./Button-BEA5U6Tg.js";import"./BaseButton-DYZHKnV3.js";import"./Tooltip-CsVWtVfL.js";import"./Tooltip-Cq2rQGbD.js";import"./Grow-C8kUeGCY.js";import"./utils-kUZVaD1e.js";import"./getReactElementRef-DsIevm5t.js";import"./resolveComponentProps-DXQ8X87i.js";import"./isHostComponent-DVu5iVWx.js";import"./useControlled-NQulfz4l.js";import"./Popper-BARIxJrI.js";import"./popper-BVOCD5jc.js";import"./ownerDocument-DW-IO8s5.js";import"./Portal-C6D59xAE.js";import"./Button-BzIwUmSM.js";import"./FullScreenOverlay-BTMDlJhE.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./DialogContent-Cwn-I-C_.js";import"./Paper-D-_O-EjU.js";import"./Fade-dUgBN8rJ.js";import"./Modal-CSDyCVCf.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./ownerWindow-HkKU3E4x.js";import"./createChainedFunction-BO_9K8Jh.js";import"./dialogActionsClasses-ZEPlxVw-.js";import"./DialogTitle-C-K7jEio.js";import"./Surface-DTngmQRF.js";import"./DataTable-XayRBHyP.js";import"./index.esm-DTxqsiYY.js";import"./debounce-Be36O1Ab.js";import"./ListItem-C0ExFtXb.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-CiGre9wK.js";import"./List-CmjR1pNu.js";import"./Stack-B7OGvu7C.js";import"./createStyled-D6bTcpHC.js";import"./useThemeProps-DwvbKxez.js";import"./Box-BcMTQ_R2.js";import"./createBox-Dxawkfow.js";import"./CircularProgress-HbIdZLBB.js";import"./Menu-K9lpVvDG.js";import"./MenuList-BMOesnfs.js";import"./colorManipulator-DKifQsuo.js";import"./IconButton-5qShmnSr.js";import"./Radio-B4gVvwps.js";import"./SwitchBase-CefEM0OA.js";import"./Checkbox-vZwuXtzm.js";import"./useMobilePicker-DZhX9dEQ.js";import"./Select-DZTigpTO.js";import"./ArrowDropDown-DdemyKZU.js";import"./InputBase-DeB4_faH.js";import"./FormHelperText-CsNAE1E3.js";import"./useThemeProps-BPvYx-mf.js";import"./InputAdornment-CdR3XT6f.js";import"./visuallyHidden-Dan1xhjv.js";import"./MenuItem-vhp8G-Nb.js";import"./Collapse-DfdoVIdP.js";import"./AlertTitle-q6ff_Zkl.js";import"./useSlot-CvpE2t6D.js";import"./Close-OXBt1nIe.js";import"./Skeleton-BPjIT6NG.js";import"./Divider-Ln3VaO81.js";import"./Autocomplete-CxtGbb8j.js";import"./ListSubheader-CQJAAOsd.js";import"./tableSortLabelClasses-CkKrbp1R.js";import"./FormControlLabel-0BBemR80.js";import"./DateTimePicker-B7a9bgL6.js";import"./Tabs-CQz87GHd.js";import"./DatePicker-BwDkz3WT.js";import"./Box-1mvP3NLW.js";import"./MenuButton-B3T7c15t.js";import"./BaseMenuButton-BIietjUB.js";import"./MenuContext-DKMyPMNY.js";import"./More-DLQ2RjWn.js";import"./Callout-FZxPpigF.js";import"./Link-BDoLypER.js";import"./ExternalLink-D0l1c5Cz.js";import"./EmptyState-CpBEzmap.js";import"./DataFilters-BnT_U3-o.js";import"./Autocomplete-Cpi_kUVA.js";import"./useAutocomplete-BRetTkpF.js";import"./index.esm-CBOWgn41.js";import"./Field-DH3L8v09.js";import"./ScreenReaderText-CebALBsG.js";import"./FieldHint-B3Jif_Up.js";import"./inputUtils-Dbi8XkA6.js";import"./Checkbox-DPv3Q9UW.js";import"./Hint-DoJneNg9.js";import"./CheckboxGroup-Be66QML5.js";import"./FormGroup-HFkGZ983.js";import"./Radio-BdNnpooK.js";import"./RadioGroup-BYJZ378_.js";import"./RadioGroup-CtUWSbQc.js";import"./SearchField-BdnOrhVM.js";import"./Search-C5TVrLyE.js";import"./Tag-DwH0t814.js";import"./TagList-BZGEhGXn.js";import"./TextField-BhK0y2Zt.js";import"./Filter-DsDJ7si-.js";import"./ChevronRight-C12ToI7Y.js";import"./Pagination-CB1wBW8Q.js";import"./ArrowRight-ChWYjNny.js";import"./MenuItem-CmSG6PNu.js";import"./List-UlX1tusJ.js";import"./Show-BnmQFsN6.js";import"./useScrollIndication-mYI-g6xa.js";import"./Drawer-CXQ3piJR.js";import"./Form-iTx8DKdm.js";import"./Layout-DGOs1275.js";function m(r){const t={a:"a",code:"code",p:"p",...p(),...r.components};return o.jsxs(o.Fragment,{children:[o.jsx(e,{of:i}),`
|
|
2
|
+
`,o.jsx(n,{of:i}),`
|
|
3
|
+
`,o.jsx(s,{of:i}),`
|
|
4
|
+
`,o.jsx(a,{of:i}),`
|
|
5
|
+
`,o.jsxs(t.p,{children:[o.jsx(t.code,{children:"PageTemplate"}),` is a multi-purpose container that enforces Odyssey layout conventions, ensuring that
|
|
6
|
+
your screens look consistent without you doing extra work.`]}),`
|
|
7
|
+
`,o.jsxs(t.p,{children:["If you're an Okta employee, you can see the ",o.jsx(t.a,{href:"https://www.figma.com/design/jMsVlc6QrA5dQXqPEEVT7S/%F0%9F%93%A6-Odyssey-Templates?node-id=1862-40643",rel:"nofollow",children:"Figma here"}),"."]}),`
|
|
8
|
+
`,o.jsx(c,{})]})}function Yt(r={}){const{wrapper:t}={...p(),...r.components};return t?o.jsx(t,{...r,children:o.jsx(m,{...r})}):m(r)}export{Yt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{r as i}from"./index-NdkWRN8K.js";import{O as K}from"./OdysseyStorybookThemeDecorator-CGH8visK.js";import{d as S,c as O}from"./personData-L8dJyb3X.js";import{M as m}from"./PageTemplate-mjLVQesI.js";import{M as Y}from"./Dialog-BkOLgyLu.js";import{M as o}from"./Button-DPUOjyZy.js";import{M as c}from"./Surface-BCTO1YR-.js";import{M as P}from"./DataTable-BJQ8WkUd.js";import{g as J,a as d,f as h,d as k}from"./Typography-B7ktrxCD.js";import{M as Q}from"./MenuButton-DvVmjwMC.js";import{M as D}from"./MenuItem-DoUaLmgU.js";import{M as N}from"./Drawer-C9M8pytV.js";import{M as X}from"./Form-CJrxMkwr.js";import{M as j}from"./TextField-BIepBlYn.js";import{u as Z}from"./OdysseyThemeProvider-BykOaJq8.js";import{M as n}from"./Box-B-R2QRDU.js";import{M as ee}from"./Checkbox-eGdyySzm.js";import{M as p}from"./Layout-BndkhA1_.js";const te=e.jsxs(e.Fragment,{children:[e.jsx("div",{children:"Okta Privileged Access is a Privileged Access Management (PAM) solution designed to help customers mitigate the risk of unauthorized access to resources, a critical area of security and risk management in any organization. Okta Privileged Access builds on the current server access control capabilities provided with Okta Advanced Server Access and delivers a unified approach to managing access to all your privileged accounts. It securely connects people, machines, and applications to privileged resources such as servers, containers, and enterprise apps."}),e.jsx("div",{children:"A critical capability that Okta Privileged Access offers is the separation of administrative roles and responsibilities. Management of users and groups, resources, and security are separated, with each administrative role designed to perform a specific function. For example, the management of security policies to access resources is separated and decoupled from the administration of the resources. To meet this requirement, the team that sets the policy is separated from the team that administers the resource. Likewise, the administrator managing users and groups can only perform user and group management tasks and isn't involved in administering resources or creating security policies."}),e.jsx("div",{children:"The level of access within a Okta Privileged Access team depends on the role that you're assigned and the permissions granted to that role. The table below discusses the types of roles, and each has a unique set of permissions and restrictions.To start using Okta Privileged Access, you need to add the Okta Privileged Access OIN application to your Okta org. You can then sync your users and groups from the Okta Universal Directory by configuring SCIM. End users must install the Okta Privileged Access client in their local machine, enroll the client, and then access their dashboard using the link provided by their team administrator."})]}),ae=e.jsx("div",{children:"Okta Privileged Access is a Privileged Access Management (PAM) solution designed to help customers mitigate the risk of unauthorized access to resources, a critical area of security and risk management in any organization. Okta Privileged Access builds on the current server access control capabilities provided with Okta Advanced Server Access and delivers a unified approach to managing access to all your privileged accounts. It securely connects people, machines, and applications to privileged resources such as servers, containers, and enterprise apps."}),ne={component:m,decorators:[K],parameters:{layout:"fullscreen"},argTypes:{title:{control:"text",description:"The title to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},description:{control:"text",description:"A supplementary description to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},documentationLink:{control:"text",description:"The destination for a documentation `Link` to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},documentationText:{control:"text",description:"The text for a documentation `Link` to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},drawer:{description:"An optional `Drawer` object. Can be of variant 'temporary' or 'persistent'.",table:{type:{summary:"ReactElement<typeof Drawer>"}}},primaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header. Should almost always be of variant `primary`.",table:{type:{summary:"ReactElement<typeof Button>"}}},secondaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header, alongside the `callToActionPrimaryComponent`.",table:{type:{summary:"ReactElement<typeof Button>"}}},tertiaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header, alongside the other two `callToAction` components.",table:{type:{summary:"ReactElement<typeof Button>"}}},children:{description:"The content of the `PageTemplate`. May be a `string` or any other `ReactNode` or array of `ReactNode`s. Will often be `Grid` objects.",table:{type:{summary:"ReactNode"}}},isFullWidth:{control:"boolean",description:"When set to `true`, the `PageTemplate` expands past its max width of 1440px and spans the entire available screen width.",table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}}}},x={args:{title:"Table title",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Documentation",isFullWidth:!1},render:function(t){const[s]=i.useState(S.slice(0,10)),[r,a]=i.useState(!1),[l,u]=i.useState(!1),g=i.useCallback(()=>s,[s]),_=i.useCallback(()=>{a(!0)},[]),w=i.useCallback(()=>{a(!1)},[]),$=i.useCallback(()=>{u(!0)},[]),T=i.useCallback(()=>{u(!1)},[]);return e.jsxs(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,drawer:e.jsx(N,{isOpen:r,onClose:w,primaryCallToActionComponent:e.jsx(o,{label:"Primary",onClick:w,variant:"primary"}),showDividers:!0,title:"Drawer title",variant:"temporary",children:te}),isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:"Open overlay drawer",onClick:r?w:_,variant:"primary"}),secondaryCallToActionComponent:e.jsx(o,{label:"Open dialog",onClick:l?T:$,variant:"secondary"}),tertiaryCallToActionComponent:e.jsx(Q,{buttonLabel:"More actions",children:[e.jsx(D,{children:"View details"},"1"),e.jsx(D,{children:"Edit configuration"},"2"),e.jsx(D,{children:"Launch"},"3")]}),title:t.title,children:[e.jsx(Y,{children:"Consistently named a Leader by major analyst firms. Trusted by 15,000+ customers to secure digital interactions and accelerate innovation.",isOpen:l,onClose:T,primaryCallToActionComponent:e.jsx(o,{label:"Button label",onClick:T,variant:"primary"}),secondaryCallToActionComponent:e.jsx(o,{label:"Cancel",onClick:T,variant:"secondary"}),title:"Dialog title"}),e.jsxs(p,{regions:[3,1],children:[e.jsx(c,{children:e.jsx(P,{columns:O,getData:g,hasFilters:!0,hasSearch:!0,totalRows:10})}),e.jsxs(c,{children:[e.jsx(J,{children:"Some supporting content could go here"}),e.jsx(d,{children:"Lorem ipsum odor amet, consectetuer adipiscing elit. Inceptos turpis mattis; tempor proin per natoque. Ex eu dictum varius tristique himenaeos aenean sem consectetur urna. Curabitur ultricies aptent ac tempus natoque tellus. Rutrum facilisi facilisi ligula aenean sociosqu nec velit parturient id. Egestas viverra tempus non, turpis ad ex penatibus. Scelerisque maximus etiam arcu laoreet nam vitae platea. Non fermentum potenti cursus, varius augue varius. Cubilia imperdiet aptent viverra mus urna. Et netus at ad lorem; hac eu."})]})]})]})}},y={args:{title:"Table title",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Documentation",isFullWidth:!1},render:function(t){const[s]=i.useState(S.slice(0,10)),[r,a]=i.useState(!1),l=i.useCallback(()=>s,[s]),u=i.useCallback(()=>{a(!0)},[]),g=i.useCallback(()=>{a(!1)},[]);return e.jsx(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,drawer:e.jsx(N,{isOpen:r,onClose:g,primaryCallToActionComponent:e.jsx(o,{label:"Primary",onClick:g,variant:"primary"}),showDividers:!0,title:"Drawer title",variant:"persistent",children:ae}),isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:r?"Close embedded drawer":"Open embedded drawer",onClick:r?g:u,variant:"primary"}),title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsx(P,{columns:O,getData:l,hasFilters:!0,hasSearch:!0,totalRows:10})})})})}},f={args:{title:"People",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!1},render:function(t){return e.jsx(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:"Reset passwords",variant:"primary"}),title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsxs(X,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(o,{label:"Reset",variant:"secondary"}),e.jsx(o,{label:"Submit",type:"submit",variant:"primary"})]}),name:"Add Person",title:"Add Person",children:[e.jsx(j,{label:"First name"}),e.jsx(j,{label:"Last name"}),e.jsx(j,{label:"Email"})]})})})})}},b={args:{title:"Account",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!1},render:function(t){const s=[{field:"Company name",value:"ACME Corporation"},{field:"Telephone number",value:"012-345-6789"},{field:"Address 1",value:void 0},{field:"Address 2",value:void 0}],r=[{field:"Technical contact",value:"Add-Min O'Cloudy (admin@okta.com)"},{field:"Support phone",value:"012-345-6789"},{field:"Help link",value:void 0},{field:"End User Help Form",value:void 0}],a=Z();return e.jsxs(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,title:t.title,children:[e.jsxs(p,{regions:[2,1],children:[e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Organization Contact"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsx(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing4,marginTop:a.Spacing4},children:s.map((l,u)=>e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:l.field}),e.jsx(d,{children:l.value})]},u))})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Billing information"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"The billing contact can be contacted by Okta for the purposes of billing inquiries."}),e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:"Billing contact"}),e.jsx(d,{children:"Add-Min O'Cloudy (admin@okta.com)"})]})]})]})]}),e.jsxs(p,{regions:[1,1,1],children:[e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Give Access to Okta Support"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"For troubleshooting purposes, you can let Okta Support login to your account as an administrator."}),e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:"Okta Support access"}),e.jsx(d,{children:"Disabled"})]})]})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"End User Support"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"For troubleshooting purposes, you can let Okta Support login to your account as an administrator."}),r.map((l,u)=>e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:l.field}),e.jsx(d,{children:l.value})]},u))]})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Third-Party Admins"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsx(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",columnGap:a.Spacing8},children:[e.jsx(d,{children:"Manage Third-Party Admins"}),e.jsx(ee,{label:"This org contains third-party admins that need to be fully excluded from all Okta communications, including admin-related system notifications. Once enabled, you can exclude individual admins from communications by editing their admin record."})]})})]})]})]})}},C={args:{title:"Full-width Table",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!0},render:function(t){const[s]=i.useState(S.slice(0,10)),r=i.useCallback(()=>s,[s]);return e.jsx(m,{documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsx(P,{columns:O,getData:r,hasFilters:!0,hasSearch:!0,totalRows:10})})})})}};var A,B,F;x.parameters={...x.parameters,docs:{...(A=x.parameters)==null?void 0:A.docs,source:{originalSource:`{
|
|
1
|
+
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{r as i}from"./index-NdkWRN8K.js";import{O as K}from"./OdysseyStorybookThemeDecorator-BuDiOG2V.js";import{d as S,c as O}from"./personData-CRkmqebZ.js";import{M as m}from"./PageTemplate-D-EQlTUx.js";import{M as Y}from"./Dialog-CR4TUjlJ.js";import{M as o}from"./Button-BEA5U6Tg.js";import{M as c}from"./Surface-DTngmQRF.js";import{M as P}from"./DataTable-XayRBHyP.js";import{g as J,a as d,f as h,d as k}from"./Typography-Cz6D417Y.js";import{M as Q}from"./MenuButton-B3T7c15t.js";import{M as D}from"./MenuItem-CmSG6PNu.js";import{M as N}from"./Drawer-CXQ3piJR.js";import{M as X}from"./Form-iTx8DKdm.js";import{M as j}from"./TextField-BhK0y2Zt.js";import{u as Z}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{M as n}from"./Box-1mvP3NLW.js";import{M as ee}from"./Checkbox-DPv3Q9UW.js";import{M as p}from"./Layout-DGOs1275.js";const te=e.jsxs(e.Fragment,{children:[e.jsx("div",{children:"Okta Privileged Access is a Privileged Access Management (PAM) solution designed to help customers mitigate the risk of unauthorized access to resources, a critical area of security and risk management in any organization. Okta Privileged Access builds on the current server access control capabilities provided with Okta Advanced Server Access and delivers a unified approach to managing access to all your privileged accounts. It securely connects people, machines, and applications to privileged resources such as servers, containers, and enterprise apps."}),e.jsx("div",{children:"A critical capability that Okta Privileged Access offers is the separation of administrative roles and responsibilities. Management of users and groups, resources, and security are separated, with each administrative role designed to perform a specific function. For example, the management of security policies to access resources is separated and decoupled from the administration of the resources. To meet this requirement, the team that sets the policy is separated from the team that administers the resource. Likewise, the administrator managing users and groups can only perform user and group management tasks and isn't involved in administering resources or creating security policies."}),e.jsx("div",{children:"The level of access within a Okta Privileged Access team depends on the role that you're assigned and the permissions granted to that role. The table below discusses the types of roles, and each has a unique set of permissions and restrictions.To start using Okta Privileged Access, you need to add the Okta Privileged Access OIN application to your Okta org. You can then sync your users and groups from the Okta Universal Directory by configuring SCIM. End users must install the Okta Privileged Access client in their local machine, enroll the client, and then access their dashboard using the link provided by their team administrator."})]}),ae=e.jsx("div",{children:"Okta Privileged Access is a Privileged Access Management (PAM) solution designed to help customers mitigate the risk of unauthorized access to resources, a critical area of security and risk management in any organization. Okta Privileged Access builds on the current server access control capabilities provided with Okta Advanced Server Access and delivers a unified approach to managing access to all your privileged accounts. It securely connects people, machines, and applications to privileged resources such as servers, containers, and enterprise apps."}),ne={component:m,decorators:[K],parameters:{layout:"fullscreen"},argTypes:{title:{control:"text",description:"The title to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},description:{control:"text",description:"A supplementary description to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},documentationLink:{control:"text",description:"The destination for a documentation `Link` to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},documentationText:{control:"text",description:"The text for a documentation `Link` to be situated in the `PageTemplate` header",table:{type:{summary:"string"}}},drawer:{description:"An optional `Drawer` object. Can be of variant 'temporary' or 'persistent'.",table:{type:{summary:"ReactElement<typeof Drawer>"}}},primaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header. Should almost always be of variant `primary`.",table:{type:{summary:"ReactElement<typeof Button>"}}},secondaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header, alongside the `callToActionPrimaryComponent`.",table:{type:{summary:"ReactElement<typeof Button>"}}},tertiaryCallToActionComponent:{description:"An optional `Button` object to be situated in the `PageTemplate` header, alongside the other two `callToAction` components.",table:{type:{summary:"ReactElement<typeof Button>"}}},children:{description:"The content of the `PageTemplate`. May be a `string` or any other `ReactNode` or array of `ReactNode`s. Will often be `Grid` objects.",table:{type:{summary:"ReactNode"}}},isFullWidth:{control:"boolean",description:"When set to `true`, the `PageTemplate` expands past its max width of 1440px and spans the entire available screen width.",table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}}}},x={args:{title:"Table title",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Documentation",isFullWidth:!1},render:function(t){const[s]=i.useState(S.slice(0,10)),[r,a]=i.useState(!1),[l,u]=i.useState(!1),g=i.useCallback(()=>s,[s]),_=i.useCallback(()=>{a(!0)},[]),w=i.useCallback(()=>{a(!1)},[]),$=i.useCallback(()=>{u(!0)},[]),T=i.useCallback(()=>{u(!1)},[]);return e.jsxs(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,drawer:e.jsx(N,{isOpen:r,onClose:w,primaryCallToActionComponent:e.jsx(o,{label:"Primary",onClick:w,variant:"primary"}),showDividers:!0,title:"Drawer title",variant:"temporary",children:te}),isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:"Open overlay drawer",onClick:r?w:_,variant:"primary"}),secondaryCallToActionComponent:e.jsx(o,{label:"Open dialog",onClick:l?T:$,variant:"secondary"}),tertiaryCallToActionComponent:e.jsx(Q,{buttonLabel:"More actions",children:[e.jsx(D,{children:"View details"},"1"),e.jsx(D,{children:"Edit configuration"},"2"),e.jsx(D,{children:"Launch"},"3")]}),title:t.title,children:[e.jsx(Y,{children:"Consistently named a Leader by major analyst firms. Trusted by 15,000+ customers to secure digital interactions and accelerate innovation.",isOpen:l,onClose:T,primaryCallToActionComponent:e.jsx(o,{label:"Button label",onClick:T,variant:"primary"}),secondaryCallToActionComponent:e.jsx(o,{label:"Cancel",onClick:T,variant:"secondary"}),title:"Dialog title"}),e.jsxs(p,{regions:[3,1],children:[e.jsx(c,{children:e.jsx(P,{columns:O,getData:g,hasFilters:!0,hasSearch:!0,totalRows:10})}),e.jsxs(c,{children:[e.jsx(J,{children:"Some supporting content could go here"}),e.jsx(d,{children:"Lorem ipsum odor amet, consectetuer adipiscing elit. Inceptos turpis mattis; tempor proin per natoque. Ex eu dictum varius tristique himenaeos aenean sem consectetur urna. Curabitur ultricies aptent ac tempus natoque tellus. Rutrum facilisi facilisi ligula aenean sociosqu nec velit parturient id. Egestas viverra tempus non, turpis ad ex penatibus. Scelerisque maximus etiam arcu laoreet nam vitae platea. Non fermentum potenti cursus, varius augue varius. Cubilia imperdiet aptent viverra mus urna. Et netus at ad lorem; hac eu."})]})]})]})}},y={args:{title:"Table title",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Documentation",isFullWidth:!1},render:function(t){const[s]=i.useState(S.slice(0,10)),[r,a]=i.useState(!1),l=i.useCallback(()=>s,[s]),u=i.useCallback(()=>{a(!0)},[]),g=i.useCallback(()=>{a(!1)},[]);return e.jsx(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,drawer:e.jsx(N,{isOpen:r,onClose:g,primaryCallToActionComponent:e.jsx(o,{label:"Primary",onClick:g,variant:"primary"}),showDividers:!0,title:"Drawer title",variant:"persistent",children:ae}),isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:r?"Close embedded drawer":"Open embedded drawer",onClick:r?g:u,variant:"primary"}),title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsx(P,{columns:O,getData:l,hasFilters:!0,hasSearch:!0,totalRows:10})})})})}},f={args:{title:"People",description:"Optional brief description about the page",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!1},render:function(t){return e.jsx(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,primaryCallToActionComponent:e.jsx(o,{label:"Reset passwords",variant:"primary"}),title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsxs(X,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(o,{label:"Reset",variant:"secondary"}),e.jsx(o,{label:"Submit",type:"submit",variant:"primary"})]}),name:"Add Person",title:"Add Person",children:[e.jsx(j,{label:"First name"}),e.jsx(j,{label:"Last name"}),e.jsx(j,{label:"Email"})]})})})})}},b={args:{title:"Account",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!1},render:function(t){const s=[{field:"Company name",value:"ACME Corporation"},{field:"Telephone number",value:"012-345-6789"},{field:"Address 1",value:void 0},{field:"Address 2",value:void 0}],r=[{field:"Technical contact",value:"Add-Min O'Cloudy (admin@okta.com)"},{field:"Support phone",value:"012-345-6789"},{field:"Help link",value:void 0},{field:"End User Help Form",value:void 0}],a=Z();return e.jsxs(m,{description:t.description,documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,title:t.title,children:[e.jsxs(p,{regions:[2,1],children:[e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Organization Contact"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsx(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing4,marginTop:a.Spacing4},children:s.map((l,u)=>e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:l.field}),e.jsx(d,{children:l.value})]},u))})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Billing information"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"The billing contact can be contacted by Okta for the purposes of billing inquiries."}),e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:"Billing contact"}),e.jsx(d,{children:"Add-Min O'Cloudy (admin@okta.com)"})]})]})]})]}),e.jsxs(p,{regions:[1,1,1],children:[e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Give Access to Okta Support"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"For troubleshooting purposes, you can let Okta Support login to your account as an administrator."}),e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:"Okta Support access"}),e.jsx(d,{children:"Disabled"})]})]})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"End User Support"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsxs(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:[e.jsx(k,{children:"For troubleshooting purposes, you can let Okta Support login to your account as an administrator."}),r.map((l,u)=>e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between"},children:[e.jsx(d,{children:l.field}),e.jsx(d,{children:l.value})]},u))]})]}),e.jsxs(c,{children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-end"},children:[e.jsx(h,{children:"Third-Party Admins"}),e.jsx(o,{label:"Edit",variant:"floating"})]}),e.jsx(n,{sx:{display:"flex",flexDirection:"column",rowGap:a.Spacing2,marginTop:a.Spacing4},children:e.jsxs(n,{sx:{display:"flex",justifyContent:"space-between",columnGap:a.Spacing8},children:[e.jsx(d,{children:"Manage Third-Party Admins"}),e.jsx(ee,{label:"This org contains third-party admins that need to be fully excluded from all Okta communications, including admin-related system notifications. Once enabled, you can exclude individual admins from communications by editing their admin record."})]})})]})]})]})}},C={args:{title:"Full-width Table",documentationLink:"https://www.okta.com",documentationText:"Help",isFullWidth:!0},render:function(t){const[s]=i.useState(S.slice(0,10)),r=i.useCallback(()=>s,[s]);return e.jsx(m,{documentationLink:t.documentationLink,documentationText:t.documentationText,isFullWidth:t.isFullWidth,title:t.title,children:e.jsx(p,{regions:[1],children:e.jsx(c,{children:e.jsx(P,{columns:O,getData:r,hasFilters:!0,hasSearch:!0,totalRows:10})})})})}};var A,B,F;x.parameters={...x.parameters,docs:{...(A=x.parameters)==null?void 0:A.docs,source:{originalSource:`{
|
|
2
2
|
args: {
|
|
3
3
|
title: "Table title",
|
|
4
4
|
description: "Optional brief description about the page",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as k,h as r}from"./OdysseyThemeProvider-
|
|
1
|
+
import{u as k,h as r}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{r as o}from"./index-NdkWRN8K.js";import{b as j,a as D}from"./Typography-Cz6D417Y.js";import{u as M}from"./useMountLifecycleEffect-CjsUCFhB.js";import{j as i}from"./jsx-runtime-CnH95YSl.js";import{L as P}from"./Link-DNIf0luC.js";import{M as F}from"./Documentation-DF3oo39e.js";/*!
|
|
2
2
|
* Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
3
|
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{u as _,R as G,P as t}from"./ResourceAccessPolicyComponentsStorybookThemeDecorator-
|
|
1
|
+
import{j as e}from"./jsx-runtime-CnH95YSl.js";import{u as _,R as G,P as t}from"./ResourceAccessPolicyComponentsStorybookThemeDecorator-Bo_QNpfC.js";import{a as C,j as v}from"./emotion-react-jsx-runtime.browser.esm-DL0BDwaj.js";import{h as L}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{r as s}from"./index-NdkWRN8K.js";import{a as d}from"./index-B-lxVbXh.js";import{O as J}from"./OdysseyStorybookThemeDecorator-BuDiOG2V.js";import{M as h}from"./Surface-DTngmQRF.js";import{M as f}from"./Form-iTx8DKdm.js";import{M as c}from"./TextField-BhK0y2Zt.js";import{M as n}from"./Button-BEA5U6Tg.js";import{B as y}from"./Breadcrumbs-Bp-jt6t5.js";import{M as I}from"./MenuButton-B3T7c15t.js";import{M as R}from"./MenuItem-CmSG6PNu.js";import{M as V}from"./Drawer-CXQ3piJR.js";import{M as x}from"./Layout-DGOs1275.js";import"./Typography-r6MlG5YM.js";import"./Typography-ClQ35Rr-.js";import"./Box-BcMTQ_R2.js";import"./createBox-Dxawkfow.js";import"./Chip-CXnMieIl.js";import"./createSvgIcon-ClUWwDzL.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./ButtonBase-BNqa2TMD.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CJ6Ie9dp.js";import"./TransitionGroupContext-DAL84N7p.js";import"./Link-DNIf0luC.js";import"./Menu-K9lpVvDG.js";import"./getReactElementRef-DsIevm5t.js";import"./resolveComponentProps-DXQ8X87i.js";import"./isHostComponent-DVu5iVWx.js";import"./Grow-C8kUeGCY.js";import"./utils-kUZVaD1e.js";import"./index-B5xazMy1.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./index-DieBXP3Z.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./debounce-Be36O1Ab.js";import"./Modal-CSDyCVCf.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Portal-C6D59xAE.js";import"./Fade-dUgBN8rJ.js";import"./Paper-D-_O-EjU.js";import"./MenuList-BMOesnfs.js";import"./List-CmjR1pNu.js";import"./i18next-7SyOfhCu.js";import"./OdysseyProvider-qIn9QVYS.js";import"./v4-CtRu48qb.js";import"./index-BJTM6NaI.js";import"./Typography-Cz6D417Y.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./Field-DH3L8v09.js";import"./Box-1mvP3NLW.js";import"./ListItem-C0ExFtXb.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-CiGre9wK.js";import"./ScreenReaderText-CebALBsG.js";import"./visuallyHidden-Dan1xhjv.js";import"./FormHelperText-CsNAE1E3.js";import"./FieldHint-B3Jif_Up.js";import"./inputUtils-Dbi8XkA6.js";import"./InputBase-DeB4_faH.js";import"./InputAdornment-CdR3XT6f.js";import"./BaseButton-DYZHKnV3.js";import"./MuiPropsContext-DhRylJZk.js";import"./Tooltip-CsVWtVfL.js";import"./Tooltip-Cq2rQGbD.js";import"./useControlled-NQulfz4l.js";import"./Popper-BARIxJrI.js";import"./popper-BVOCD5jc.js";import"./Button-BzIwUmSM.js";import"./Group-mTVRC79V.js";import"./User-CyxEAfVT.js";import"./MenuItem-vhp8G-Nb.js";import"./Home-la7Lmt_L.js";import"./BaseMenuButton-BIietjUB.js";import"./MenuContext-DKMyPMNY.js";import"./More-DLQ2RjWn.js";import"./FullScreenOverlay-BTMDlJhE.js";/*!
|
|
2
2
|
* Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
3
|
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
4
|
*
|
|
@@ -18,7 +18,7 @@ import{j as e}from"./jsx-runtime-CnH95YSl.js";import{u as _,R as G,P as t}from".
|
|
|
18
18
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
19
|
*
|
|
20
20
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
21
|
-
*/const X=({onMount:r,onUpdate:a})=>{const i=s.useRef(!1),o=s.useRef(r);s.useEffect(()=>{var l;i.current?a==null||a():(i.current=!0,(l=o.current)==null||l.call(o))},[a])},Y=L("div",{shouldForwardProp:r=>r!=="odysseyDesignTokens"&&r!=="hasUiShell"&&r!=="isFullWidth"})(({hasUiShell:r,isFullWidth:a,odysseyDesignTokens:i})=>({maxWidth:a?"100%":`calc(1440px + ${i.Spacing6} + ${i.Spacing6})`,marginInline:a&&!r?i.Spacing6:"auto",padding:r?0:i.Spacing6})),Z=L("div",{shouldForwardProp:r=>!["drawerVariant","isDrawerOpen","isFirstRender","odysseyDesignTokens"].includes(r)})(({drawerVariant:r,isDrawerOpen:a,isFirstRender:i,odysseyDesignTokens:o})=>({"@keyframes animate-drawer-open":{"0%":{gridTemplateColumns:"minmax(0, 1fr) 0"},"100%":{gridTemplateColumns:"minmax(0, 1fr) 360px"}},"@keyframes animate-drawer-close":{"0%":{gridTemplateColumns:"minmax(0, 1fr) 360px"},"100%":{gridTemplateColumns:"minmax(0, 1fr) 0"}},display:"grid",gridGap:r==="persistent"&&!a?0:o.Spacing4,gap:r==="persistent"&&!a?0:o.Spacing4,marginBlock:o.Spacing6,gridTemplateColumns:r==="persistent"?a?"minmax(0, 1fr) 360px":"minmax(0, 1fr) 0":"minmax(0, 1fr)",animation:r==="persistent"&&(!i||a)?`animate-drawer-${a?"open":"close"} 225ms cubic-bezier(0, 0, 0.2, 1)`:void 0,"& > div":{minWidth:0}})),U=({headerComponent:r,children:a,drawer:i,isFullWidth:o=!1,testId:l="page-template"})=>{const P=_(),{isOpen:z,variant:W}=(i==null?void 0:i.props)??{},q=Q(),k=s.useRef(!0),N=k.current,$=s.useCallback(()=>{k.current=!1},[]);return X({onMount:$}),C(Y,{"data-testid":l,hasUiShell:q,isFullWidth:o,odysseyDesignTokens:P,children:[r&&v("div",{children:r}),C(Z,{drawerVariant:W,isDrawerOpen:z,isFirstRender:N,odysseyDesignTokens:P,children:[v("div",{children:a}),v("div",{children:i})]},"template-content")]})},m=s.memo(U);m.displayName="PageTemplate";const
|
|
21
|
+
*/const X=({onMount:r,onUpdate:a})=>{const i=s.useRef(!1),o=s.useRef(r);s.useEffect(()=>{var l;i.current?a==null||a():(i.current=!0,(l=o.current)==null||l.call(o))},[a])},Y=L("div",{shouldForwardProp:r=>r!=="odysseyDesignTokens"&&r!=="hasUiShell"&&r!=="isFullWidth"})(({hasUiShell:r,isFullWidth:a,odysseyDesignTokens:i})=>({maxWidth:a?"100%":`calc(1440px + ${i.Spacing6} + ${i.Spacing6})`,marginInline:a&&!r?i.Spacing6:"auto",padding:r?0:i.Spacing6})),Z=L("div",{shouldForwardProp:r=>!["drawerVariant","isDrawerOpen","isFirstRender","odysseyDesignTokens"].includes(r)})(({drawerVariant:r,isDrawerOpen:a,isFirstRender:i,odysseyDesignTokens:o})=>({"@keyframes animate-drawer-open":{"0%":{gridTemplateColumns:"minmax(0, 1fr) 0"},"100%":{gridTemplateColumns:"minmax(0, 1fr) 360px"}},"@keyframes animate-drawer-close":{"0%":{gridTemplateColumns:"minmax(0, 1fr) 360px"},"100%":{gridTemplateColumns:"minmax(0, 1fr) 0"}},display:"grid",gridGap:r==="persistent"&&!a?0:o.Spacing4,gap:r==="persistent"&&!a?0:o.Spacing4,marginBlock:o.Spacing6,gridTemplateColumns:r==="persistent"?a?"minmax(0, 1fr) 360px":"minmax(0, 1fr) 0":"minmax(0, 1fr)",animation:r==="persistent"&&(!i||a)?`animate-drawer-${a?"open":"close"} 225ms cubic-bezier(0, 0, 0.2, 1)`:void 0,"& > div":{minWidth:0}})),U=({headerComponent:r,children:a,drawer:i,isFullWidth:o=!1,testId:l="page-template"})=>{const P=_(),{isOpen:z,variant:W}=(i==null?void 0:i.props)??{},q=Q(),k=s.useRef(!0),N=k.current,$=s.useCallback(()=>{k.current=!1},[]);return X({onMount:$}),C(Y,{"data-testid":l,hasUiShell:q,isFullWidth:o,odysseyDesignTokens:P,children:[r&&v("div",{children:r}),C(Z,{drawerVariant:W,isDrawerOpen:z,isFirstRender:N,odysseyDesignTokens:P,children:[v("div",{children:a}),v("div",{children:i})]},"template-content")]})},m=s.memo(U);m.displayName="PageTemplate";const Ha={component:m,decorators:[J,G],parameters:{layout:"fullscreen"},tags:["autodocs"]},u={render:r=>e.jsx(m,{headerComponent:e.jsxs(t,{children:[e.jsxs(t.Breadcrumbs,{homeHref:"#",children:[e.jsx(y,{href:"#",onClick:d("Page Title click"),children:"Page Title"},"page1"),e.jsx(y,{children:"Current Page"},"current")]},"breadcrumbs"),e.jsx(t.Title,{overline:"OVERLINE",status:{label:"BETA",severity:"info"},children:"Title"},"title"),e.jsx(t.Metadata,{items:["Metadata A","Metadata B","Metadata C"]},"metadata"),e.jsx(t.Description,{children:"Cultellus conforto bos adinventitias compello delibero usitas confugo statim. Tres tenax comes quaerat arguo cibus absorbeo debilito."},"description"),e.jsx(t.Documentation,{href:"#",label:"Documentation"},"documentation"),e.jsxs(t.Actions,{children:[e.jsx(I,{buttonLabel:"Secondary",children:e.jsx(R,{onClick:d("Action click"),children:"Action"})},"secondary"),e.jsx(n,{label:"Primary",onClick:d("primary click"),variant:"primary"},"primary")]},"actions")]}),isFullWidth:r.isFullWidth,children:e.jsx(x,{regions:[1],children:e.jsx(h,{children:e.jsxs(f,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Reset",variant:"secondary"},"reset"),e.jsx(n,{label:"Submit",type:"submit",variant:"primary"},"submit")]}),name:"Add Person",title:"Add Person",children:[e.jsx(c,{label:"First name"}),e.jsx(c,{label:"Last name"}),e.jsx(c,{label:"Email"})]})})})})},p={render:function(){const[a,i]=s.useState(!1),o=s.useCallback(()=>{i(!0)},[]),l=s.useCallback(()=>{i(!1)},[]);return e.jsx(m,{drawer:e.jsx(V,{hasDividers:!0,isOpen:a,onClose:l,primaryCallToActionComponent:e.jsx(n,{label:"Primary",onClick:l,variant:"primary"}),title:"Drawer title",variant:"temporary",children:e.jsx("div",{children:"Okta Privileged Access is a Privileged Access Management (PAM) solution designed to help customers mitigate the risk of unauthorized access to resources, a critical area of security and risk management in any organization. Okta Privileged Access builds on the current server access control capabilities provided with Okta Advanced Server Access and delivers a unified approach to managing access to all your privileged accounts. It securely connects people, machines, and applications to privileged resources such as servers, containers, and enterprise apps."})}),headerComponent:e.jsxs(t,{children:[e.jsx(t.Title,{children:"Title"},"title"),e.jsx(t.Description,{children:"Cultellus conforto bos adinventitias compello delibero usitas confugo statim. Tres tenax comes quaerat arguo cibus absorbeo debilito."},"description"),e.jsx(t.Documentation,{href:"#",label:"Documentation"},"documentation"),e.jsx(t.Actions,{children:e.jsx(n,{label:a?"Close embedded drawer":"Open embedded drawer",onClick:a?l:o,variant:"primary"})},"actions")]}),children:e.jsx(x,{regions:[1],children:e.jsx(h,{children:e.jsxs(f,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Reset",variant:"secondary"},"reset"),e.jsx(n,{label:"Submit",type:"submit",variant:"primary"},"submit")]}),name:"Add Person",title:"Add Person",children:[e.jsx(c,{label:"First name"}),e.jsx(c,{label:"Last name"}),e.jsx(c,{label:"Email"})]})})})})}},b={render:function(){const[a,i]=s.useState(!1),o=s.useCallback(()=>{i(!0)},[]),l=s.useCallback(()=>{i(!1)},[]);return e.jsx(m,{drawer:e.jsx(V,{hasDividers:!0,isOpen:a,onClose:l,primaryCallToActionComponent:e.jsx(n,{label:"Primary",onClick:l,variant:"primary"}),title:"Drawer title",variant:"persistent",children:e.jsx("div",{children:"Okta Privileged Access is a Privileged Access Management (PAM) solution designed to help customers mitigate the risk of unauthorized access to resources, a critical area of security and risk management in any organization. Okta Privileged Access builds on the current server access control capabilities provided with Okta Advanced Server Access and delivers a unified approach to managing access to all your privileged accounts. It securely connects people, machines, and applications to privileged resources such as servers, containers, and enterprise apps."})}),headerComponent:e.jsxs(t,{children:[e.jsx(t.Title,{children:"Title"},"title"),e.jsx(t.Description,{children:"Cultellus conforto bos adinventitias compello delibero usitas confugo statim. Tres tenax comes quaerat arguo cibus absorbeo debilito."},"description"),e.jsx(t.Documentation,{href:"#",label:"Documentation"},"documentation"),e.jsx(t.Actions,{children:e.jsx(n,{label:a?"Close embedded drawer":"Open embedded drawer",onClick:a?l:o,variant:"primary"})},"actions")]}),children:e.jsx(x,{regions:[1],children:e.jsx(h,{children:e.jsxs(f,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Reset",variant:"secondary"},"reset"),e.jsx(n,{label:"Submit",type:"submit",variant:"primary"},"submit")]}),name:"Add Person",title:"Add Person",children:[e.jsx(c,{label:"First name"}),e.jsx(c,{label:"Last name"}),e.jsx(c,{label:"Email"})]})})})})}},g={render:()=>e.jsx(m,{headerComponent:e.jsxs(t,{children:[e.jsxs(t.Breadcrumbs,{homeHref:"#",children:[e.jsx(y,{href:"#",onClick:d("Page Title click"),children:"Page Title"},"page1"),e.jsx(y,{children:"Current Page"},"current")]},"breadcrumbs"),e.jsx(t.Title,{overline:"OVERLINE",status:{label:"BETA",severity:"info"},children:"Title"},"title"),e.jsx(t.Metadata,{items:["Metadata A","Metadata B","Metadata C"]},"metadata"),e.jsx(t.Description,{children:"Cultellus conforto bos adinventitias compello delibero usitas confugo statim. Tres tenax comes quaerat arguo cibus absorbeo debilito."},"description"),e.jsx(t.Documentation,{href:"#",label:"Documentation"},"documentation"),e.jsxs(t.Actions,{children:[e.jsx(I,{buttonLabel:"Secondary",children:e.jsx(R,{onClick:d("Action click"),children:"Action"})},"secondary"),e.jsx(n,{label:"Primary",onClick:d("primary click"),variant:"primary"},"primary")]},"actions")]}),isFullWidth:!0,children:e.jsx(x,{regions:[1],children:e.jsx(h,{children:e.jsxs(f,{formActions:e.jsxs(e.Fragment,{children:[e.jsx(n,{label:"Reset",variant:"secondary"},"reset"),e.jsx(n,{label:"Submit",type:"submit",variant:"primary"},"submit")]}),name:"Add Person",title:"Add Person",children:[e.jsx(c,{label:"First name"}),e.jsx(c,{label:"Last name"}),e.jsx(c,{label:"Email"})]})})})})};var j,A,D;u.parameters={...u.parameters,docs:{...(j=u.parameters)==null?void 0:j.docs,source:{originalSource:`{
|
|
22
22
|
render: args => <PageTemplate headerComponent={<PageHeader>
|
|
23
23
|
<PageHeader.Breadcrumbs homeHref="#" key="breadcrumbs">
|
|
24
24
|
<Breadcrumb href="#" key="page1" onClick={action("Page Title click")}>
|
|
@@ -194,4 +194,4 @@ import{j as e}from"./jsx-runtime-CnH95YSl.js";import{u as _,R as G,P as t}from".
|
|
|
194
194
|
</Surface>
|
|
195
195
|
</Layout>
|
|
196
196
|
</PageTemplate>
|
|
197
|
-
}`,...(O=(E=g.parameters)==null?void 0:E.docs)==null?void 0:O.source}}};const
|
|
197
|
+
}`,...(O=(E=g.parameters)==null?void 0:E.docs)==null?void 0:O.source}}};const Sa=["Default","OverlayDrawer","EmbeddedDrawer","FullWidth"];export{u as Default,b as EmbeddedDrawer,g as FullWidth,p as OverlayDrawer,Sa as __namedExportsOrder,Ha as default};
|