@nldd/design-system 0.19.0 → 0.21.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/custom-elements.json +521 -57
- package/dist/cdn/autoloader.js +181 -0
- package/dist/cdn/chunks/activity-indicator-JglZJ8dh.js +356 -0
- package/dist/cdn/chunks/activity-indicator.i18n-D7mCy6d2.js +3 -0
- package/dist/cdn/chunks/avatar-ASqePVhU.js +308 -0
- package/dist/cdn/chunks/avatar-group-rknt4FBO.js +338 -0
- package/dist/cdn/chunks/avatar-group.i18n-BYw_9wt_.js +7 -0
- package/dist/cdn/chunks/avatar.i18n-CMwQjBkS.js +7 -0
- package/dist/cdn/chunks/badge-Cc2Nufoc.js +323 -0
- package/dist/cdn/chunks/badge.i18n-DqW7hLQj.js +3 -0
- package/dist/cdn/chunks/banner-BLVKM07M.js +325 -0
- package/dist/cdn/chunks/banner.i18n-BOCM9rGN.js +3 -0
- package/dist/cdn/chunks/bar-split-view-Clbg-p9H.js +259 -0
- package/dist/cdn/chunks/base-CfuoYRhN.js +3 -0
- package/dist/cdn/chunks/blockquote-BoOqbGdm.js +189 -0
- package/dist/cdn/chunks/box-WkhyjQVy.js +88 -0
- package/dist/cdn/chunks/breadcrumbs-D9YxZzRj.js +162 -0
- package/dist/cdn/chunks/breadcrumbs.i18n-zmO8jaTO.js +3 -0
- package/dist/cdn/chunks/breakpoints-Cwor8TRP.js +15 -0
- package/dist/cdn/chunks/button-DO90Lo6q.js +863 -0
- package/dist/cdn/chunks/button-bar-Bxgdbyh3.js +225 -0
- package/dist/cdn/chunks/button-group-BYGPPLmZ.js +205 -0
- package/dist/{components/button.i18n-DiDGynnq.js → cdn/chunks/button.i18n-BGFt7Z9u.js} +2 -2
- package/dist/cdn/chunks/card-BP0jfOkS.js +262 -0
- package/dist/cdn/chunks/card.i18n-CpafLm3i.js +8 -0
- package/dist/cdn/chunks/carried-context-DlMSujiJ.js +37 -0
- package/dist/cdn/chunks/cell-BRD2ilQh.js +144 -0
- package/dist/cdn/chunks/checkbox-Cazx8CQn.js +296 -0
- package/dist/cdn/chunks/checkbox-field-DDZ-B6vH.js +157 -0
- package/dist/cdn/chunks/class-map-CXSdNjt8.js +26 -0
- package/dist/cdn/chunks/code-editor-D6Q55oaY.js +286 -0
- package/dist/cdn/chunks/code-viewer-DspLH2T1.js +766 -0
- package/dist/cdn/chunks/code-viewer.i18n-BHfSDRbK.js +13 -0
- package/dist/cdn/chunks/codemirror-input-Db65x22n.js +1232 -0
- package/dist/cdn/chunks/collection-NVtkvDls.js +396 -0
- package/dist/cdn/chunks/collection.i18n-DqWPGnZO.js +8 -0
- package/dist/cdn/chunks/combo-box-DyBQSaQl.js +512 -0
- package/dist/cdn/chunks/combo-box.i18n-BorzYnJ2.js +6 -0
- package/dist/cdn/chunks/container-rrbwk0z4.js +602 -0
- package/dist/cdn/chunks/custom-element-BW8Ua4c7.js +7 -0
- package/dist/cdn/chunks/custom-element-q6NzoL5b.js +301 -0
- package/dist/cdn/chunks/custom-font-size-D7KNr84p.js +57 -0
- package/dist/cdn/chunks/date-field-Clti_wKN.js +654 -0
- package/dist/cdn/chunks/date-field.i18n-BTzc0E9a.js +15 -0
- package/dist/cdn/chunks/date-picker-2TCQLd5D.js +993 -0
- package/dist/cdn/chunks/date-picker.i18n-Dsc_M5QK.js +82 -0
- package/dist/cdn/chunks/decorate-TduJMFD_.js +280 -0
- package/dist/cdn/chunks/defer-focus-F73ud2D9.js +9 -0
- package/dist/cdn/chunks/described-by-mixin-daRE7orX.js +32 -0
- package/dist/cdn/chunks/description-cell-CQwOj_rN.js +166 -0
- package/dist/cdn/chunks/dev-checks-zW_W-hnh.js +2695 -0
- package/dist/cdn/chunks/directive-CwRgozUW.js +27 -0
- package/dist/cdn/chunks/dismiss-from-title-bar-C6mP7sWP.js +5 -0
- package/dist/cdn/chunks/dist-3C80SZN9.js +849 -0
- package/dist/cdn/chunks/dist-A7_1pHX0.js +379 -0
- package/dist/cdn/chunks/dist-BEfLdOvy.js +1346 -0
- package/dist/cdn/chunks/dist-BTUxFM2V.js +268 -0
- package/dist/cdn/chunks/dist-CP3G1pSK.js +1037 -0
- package/dist/cdn/chunks/dist-C_dGY6zR.js +468 -0
- package/dist/{components/dist-B9YBOGFW.js → cdn/chunks/dist-ChmCRv39.js} +109 -153
- package/dist/{components/dist-CJm4tkNC.js → cdn/chunks/dist-D2qap2OY.js} +23 -31
- package/dist/cdn/chunks/dist-DPUBF0MZ.js +1593 -0
- package/dist/{components/dist-4g23YHP0.js → cdn/chunks/dist-DrTzvgE7.js} +291 -404
- package/dist/cdn/chunks/dist-EM4MWLQq.js +385 -0
- package/dist/cdn/chunks/dist-EgIBI-FG.js +293 -0
- package/dist/{components/dist-Bf823YyL.js → cdn/chunks/dist-Rm6FvrSR.js} +272 -551
- package/dist/cdn/chunks/divider-CCNbnplA.js +53 -0
- package/dist/cdn/chunks/document-tab-bar-CUc4WWY3.js +973 -0
- package/dist/cdn/chunks/document-tab-bar.i18n-DKrA9TnB.js +9 -0
- package/dist/cdn/chunks/drag-handle-cell-CbzDYebG.js +206 -0
- package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +3 -0
- package/dist/cdn/chunks/dropdown-DZTZtkm5.js +350 -0
- package/dist/cdn/chunks/element-state-B-44fVqq.js +20 -0
- package/dist/cdn/chunks/file-field-Bff6_1pp.js +1484 -0
- package/dist/cdn/chunks/file-field.i18n-pDM7Utud.js +40 -0
- package/dist/cdn/chunks/floating-ui.dom-B8J1rV2c.js +753 -0
- package/dist/cdn/chunks/focus-target-DSLGcCWq.js +24 -0
- package/dist/cdn/chunks/form-actions-C_7hINq-.js +90 -0
- package/dist/cdn/chunks/form-associated-mixin--GIbl98p.js +62 -0
- package/dist/cdn/chunks/form-field--4nWJ_DK.js +364 -0
- package/dist/cdn/chunks/form-hXLgy_tY.js +84 -0
- package/dist/cdn/chunks/form-section-By-D4un0.js +64 -0
- package/dist/cdn/chunks/full-bleed-section-Dg4sIJG1.js +161 -0
- package/dist/cdn/chunks/gherkin-eseYvsxh.js +29 -0
- package/dist/cdn/chunks/hero-CQQMNCT_.js +761 -0
- package/dist/{components/icon-CrBk3W-t.js → cdn/chunks/icon-BORlalt0.js} +298 -309
- package/dist/cdn/chunks/icon-button-rKiIHs7A.js +632 -0
- package/dist/{components/icon-button.i18n-1_N-wN6x.js → cdn/chunks/icon-button.i18n-DpZOfIS4.js} +2 -4
- package/dist/cdn/chunks/icon-cell-rk4NQid2.js +156 -0
- package/dist/cdn/chunks/identity-Cg1l0HhB.js +187 -0
- package/dist/cdn/chunks/if-defined-CaKKERku.js +4 -0
- package/dist/cdn/chunks/image-DZMW6JgL.js +659 -0
- package/dist/cdn/chunks/image.i18n-ONcm1h7o.js +3 -0
- package/dist/cdn/chunks/implicit-submission-Csbcor_E.js +27 -0
- package/dist/cdn/chunks/inline-dialog-WlqtPBPJ.js +259 -0
- package/dist/cdn/chunks/input-modality-XE0B7yCn.js +42 -0
- package/dist/cdn/chunks/just-in-time-education-DRcb5g7x.js +611 -0
- package/dist/cdn/chunks/just-in-time-education.i18n-CW_dsaxf.js +6 -0
- package/dist/cdn/chunks/kanban-Ca_mfqsA.js +400 -0
- package/dist/cdn/chunks/kanban-column-fgIMc7pw.js +375 -0
- package/dist/cdn/chunks/kanban.i18n-CWqc3e0B.js +11 -0
- package/dist/cdn/chunks/keyboard-shortcut-EknnW7Ub.js +267 -0
- package/dist/cdn/chunks/languages-yKikVFv_.js +8893 -0
- package/dist/cdn/chunks/link-FBSAJ3UC.js +229 -0
- package/dist/cdn/chunks/link-group-90qVfKa0.js +111 -0
- package/dist/cdn/chunks/link-hint-KFhgr5Ng.js +24 -0
- package/dist/cdn/chunks/link-rel-DvrTEfVT.js +8 -0
- package/dist/cdn/chunks/link.i18n-DJPobGmu.js +8 -0
- package/dist/cdn/chunks/list-CaWl3q0Z.js +880 -0
- package/dist/cdn/chunks/list-item-Cagnf6eG.js +802 -0
- package/dist/cdn/chunks/list-item-segment-BRzBF1y_.js +315 -0
- package/dist/cdn/chunks/list-item-segment.i18n-DHnrQL4V.js +8 -0
- package/dist/{components/list-item.i18n-89uqlBMK.js → cdn/chunks/list-item.i18n-Br6J5Ev9.js} +2 -2
- package/dist/cdn/chunks/list-items-Du0RCWsY.js +6 -0
- package/dist/{components/list.i18n-CKqbhFQ_.js → cdn/chunks/list.i18n-C40ltgdI.js} +2 -2
- package/dist/cdn/chunks/loading-tags-DtUr-DR7.js +3 -0
- package/dist/cdn/chunks/menu-BOu_pD1Q.js +719 -0
- package/dist/cdn/chunks/menu-bar-0NFXvq-v.js +253 -0
- package/dist/cdn/chunks/menu-bar-item-DGSC_ETi.js +365 -0
- package/dist/cdn/chunks/menu-bar.i18n-BoMu4Eoz.js +3 -0
- package/dist/cdn/chunks/menu-divider-CLLRgMll.js +15 -0
- package/dist/cdn/chunks/menu-group-BL24ChpR.js +23 -0
- package/dist/cdn/chunks/menu-item-CooKfrFa.js +140 -0
- package/dist/cdn/chunks/menu.i18n-C6uYJsG3.js +10 -0
- package/dist/cdn/chunks/menu.template-C6rbfI-u.js +642 -0
- package/dist/cdn/chunks/modal-dialog-BrUMP4Jm.js +240 -0
- package/dist/cdn/chunks/multi-line-text-field-D7hXhyOn.js +318 -0
- package/dist/cdn/chunks/navigation-split-view-B2ZQhxEb.js +621 -0
- package/dist/cdn/chunks/nl.generated-D6T41jG3.js +112 -0
- package/dist/cdn/chunks/notification-DSGP14d1.js +492 -0
- package/dist/cdn/chunks/notification.i18n-BKUSLN5c.js +6 -0
- package/dist/cdn/chunks/number-field-B8op14Y_.js +301 -0
- package/dist/cdn/chunks/number-field.i18n-BS0bINWY.js +7 -0
- package/dist/cdn/chunks/one-half-one-half-section-ZYmHYf4Q.js +213 -0
- package/dist/cdn/chunks/one-third-two-thirds-section-Ds10K6AS.js +213 -0
- package/dist/cdn/chunks/one-time-code-field-Cgy_tTS4.js +693 -0
- package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +20 -0
- package/dist/cdn/chunks/owned-attribute-x9OCTy_4.js +6 -0
- package/dist/cdn/chunks/owner-form-Cq8tT7ac.js +7 -0
- package/dist/cdn/chunks/page-CBf_Decp.js +431 -0
- package/dist/cdn/chunks/page-footer-CSv1dU7M.js +396 -0
- package/dist/cdn/chunks/page-footer.i18n-pbdr4lN3.js +3 -0
- package/dist/cdn/chunks/page-section-mixin-Dp6X8GKd.js +132 -0
- package/dist/cdn/chunks/pagination-CMUcFB53.js +485 -0
- package/dist/cdn/chunks/pagination.i18n-QQMx14CQ.js +9 -0
- package/dist/cdn/chunks/password-field-C76Vm3rm.js +368 -0
- package/dist/cdn/chunks/password-field.i18n-CzdBn-1b.js +8 -0
- package/dist/cdn/chunks/popover-C-CVVtfl.js +334 -0
- package/dist/cdn/chunks/popover-target-B25dxnmt.js +10 -0
- package/dist/cdn/chunks/popover.i18n-DmFBHUvB.js +3 -0
- package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +30 -0
- package/dist/cdn/chunks/progress-bar-BLiHaRUS.js +674 -0
- package/dist/cdn/chunks/progress-bar.i18n-Cr5miGTx.js +8 -0
- package/dist/cdn/chunks/progress-circle-CjkovRbL.js +667 -0
- package/dist/cdn/chunks/progress-circle.i18n-CRrXuY4V.js +8 -0
- package/dist/cdn/chunks/query-ChDzi9FQ.js +28 -0
- package/dist/cdn/chunks/radio-button-GHyO-GQB.js +338 -0
- package/dist/cdn/chunks/radio-button-field-C-Z6Lnd4.js +192 -0
- package/dist/cdn/chunks/radio-button-group-ChTqBCnQ.js +118 -0
- package/dist/cdn/chunks/radio-position-CXWYAjaz.js +10 -0
- package/dist/cdn/chunks/reflect-non-default-Bu3rpCvg.js +9 -0
- package/dist/cdn/chunks/render-marked-DX_5ISZE.js +37 -0
- package/dist/cdn/chunks/repeat-Ch_5OsXE.js +76 -0
- package/dist/cdn/chunks/return-focus-Xmagtk6r.js +52 -0
- package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +47 -0
- package/dist/cdn/chunks/rich-text.i18n-BlJ68YuU.js +3 -0
- package/dist/cdn/chunks/row-header-mixin-CgqvREoV.js +16 -0
- package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +7 -0
- package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +42 -0
- package/dist/cdn/chunks/search-field-BGNfERhn.js +396 -0
- package/dist/cdn/chunks/search-field.i18n-B_Oc7hc-.js +6 -0
- package/dist/cdn/chunks/segmented-control-BYAG4VRp.js +671 -0
- package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +12 -0
- package/dist/cdn/chunks/sheet-BdVCqm2H.js +340 -0
- package/dist/cdn/chunks/shell-C9rds_D9.js +146 -0
- package/dist/cdn/chunks/shell-DmJOYhyF.js +108 -0
- package/dist/cdn/chunks/side-by-side-split-view-C5oX4c6Z.js +166 -0
- package/dist/cdn/chunks/sidebar-section-DP4jnS7g.js +353 -0
- package/dist/cdn/chunks/sidebar-section.i18n-BuGfRMpD.js +6 -0
- package/dist/cdn/chunks/simple-section-qrCqXeBa.js +192 -0
- package/dist/cdn/chunks/skip-link-DWh4W6-J.js +161 -0
- package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +3 -0
- package/dist/cdn/chunks/slider--hODfOwh.js +772 -0
- package/dist/cdn/chunks/slider.i18n-DVw0c8AG.js +6 -0
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +13 -0
- package/dist/cdn/chunks/spacer-CFzq_JCh.js +237 -0
- package/dist/cdn/chunks/spacer-cell-DuVOgIj8.js +68 -0
- package/dist/cdn/chunks/spacing-scale-SufIjHeN.js +28 -0
- package/dist/cdn/chunks/split-button-BeXnOUTt.js +268 -0
- package/dist/cdn/chunks/split-button.i18n-DtClSMga.js +3 -0
- package/dist/cdn/chunks/split-view-divider-jzcPmnMh.js +100 -0
- package/dist/cdn/chunks/split-view-pane-BLsZz263.js +128 -0
- package/dist/cdn/chunks/stacked-split-view-CcOR8LrJ.js +157 -0
- package/dist/cdn/chunks/static-html-Cf4ccUIg.js +26 -0
- package/dist/cdn/chunks/status-bar-CINbOihq.js +284 -0
- package/dist/cdn/chunks/status-bar-change-CR9l0Gyk.js +3 -0
- package/dist/cdn/chunks/step-bar-6FvZL1Ti.js +474 -0
- package/dist/cdn/chunks/step-bar.i18n-DocExlD7.js +9 -0
- package/dist/cdn/chunks/step-cell-CejRisgS.js +287 -0
- package/dist/cdn/chunks/stepper-CY2rJWOJ.js +223 -0
- package/dist/cdn/chunks/stepper.i18n-COOAkaBl.js +7 -0
- package/dist/cdn/chunks/style-map-DsIw6lkq.js +29 -0
- package/dist/cdn/chunks/style-mod-DGMhzWuk.js +1583 -0
- package/dist/cdn/chunks/swatch-picker-BY3DBIl6.js +430 -0
- package/dist/cdn/chunks/swatch-picker.i18n-_G0nmnGe.js +22 -0
- package/dist/cdn/chunks/switch-DDSsZFwK.js +275 -0
- package/dist/cdn/chunks/switch-field-CMoM9I38.js +137 -0
- package/dist/cdn/chunks/tab-bar-DmslEoPD.js +697 -0
- package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +3 -0
- package/dist/cdn/chunks/table-DwXjCSD5.js +308 -0
- package/dist/cdn/chunks/table.i18n-Bmb_uw_w.js +3 -0
- package/dist/cdn/chunks/tag-DM3APy3B.js +306 -0
- package/dist/cdn/chunks/text-B1CatNR1.js +421 -0
- package/dist/cdn/chunks/text-cell-BkEsGI3g.js +299 -0
- package/dist/cdn/chunks/text-editor-BvTiMeNV.js +3743 -0
- package/dist/cdn/chunks/text-editor.i18n-sJKiRQ4i.js +17 -0
- package/dist/cdn/chunks/text-field-CUyh1-V8.js +398 -0
- package/dist/cdn/chunks/time-field-Cj5WojfO.js +597 -0
- package/dist/cdn/chunks/time-field.i18n-CLH5vmS7.js +11 -0
- package/dist/cdn/chunks/time-picker-W0xYXLy8.js +508 -0
- package/dist/cdn/chunks/time-picker.i18n-BilOCXlS.js +7 -0
- package/dist/cdn/chunks/title-BuT7tWqN.js +437 -0
- package/dist/cdn/chunks/title-bar-label-controller-DSxdKZOg.js +24 -0
- package/dist/cdn/chunks/title-cell-8d8psUBX.js +327 -0
- package/dist/cdn/chunks/toggle-button-DNXWXZpE.js +528 -0
- package/dist/cdn/chunks/toggle-button-group-ByowJYgs.js +156 -0
- package/dist/cdn/chunks/token-CnkEB3hB.js +266 -0
- package/dist/cdn/chunks/token-field-hvDB3l6O.js +664 -0
- package/dist/cdn/chunks/token-field.i18n-BclzoR8F.js +9 -0
- package/dist/cdn/chunks/token.i18n-RGD5zAtl.js +7 -0
- package/dist/cdn/chunks/toml-w97zZfFO.js +27 -0
- package/dist/cdn/chunks/toolbar-iNd1VmuG.js +408 -0
- package/dist/cdn/chunks/toolbar-item-DpPfPxCi.js +50 -0
- package/dist/cdn/chunks/toolbar-title-KBMpfL9d.js +84 -0
- package/dist/cdn/chunks/toolbar.i18n-QwS37CBC.js +8 -0
- package/dist/cdn/chunks/toolbar.styles-BQkG4gVc.js +383 -0
- package/dist/cdn/chunks/tooltip-BsAHJjci.js +325 -0
- package/dist/cdn/chunks/top-navigation-bar-D1hjWIF3.js +925 -0
- package/dist/cdn/chunks/top-navigation-bar.i18n-C-lcH1nB.js +10 -0
- package/dist/cdn/chunks/top-title-bar-iNFB2zQL.js +344 -0
- package/dist/cdn/chunks/translations-wxBSz213.js +8 -0
- package/dist/cdn/chunks/two-thirds-one-third-section-D-UANbHC.js +213 -0
- package/dist/cdn/chunks/validation-list-C5BhHZIG.js +202 -0
- package/dist/cdn/chunks/validation-list.i18n-CM6In8zD.js +12 -0
- package/dist/cdn/chunks/visibility-mixin-COAZ9pON.js +74 -0
- package/dist/cdn/chunks/visually-hidden-BPgATaH0.js +43 -0
- package/dist/cdn/chunks/window-t5iFkMLY.js +227 -0
- package/dist/cdn/chunks/window.i18n-CsEnUPAk.js +3 -0
- package/dist/cdn/chunks/with-translations-XX14GKFh.js +16 -0
- package/dist/components/actions/button/button.d.ts +5 -5
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +6 -6
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +6 -8
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +15 -4
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +7 -1
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +2 -2
- package/dist/components/actions/icon-button/icon-button.d.ts +3 -3
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +4 -4
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +2 -4
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +12 -3
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +27 -6
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +31 -8
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +108 -32
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.pointer.d.ts +7 -0
- package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.pointer.js +17 -0
- package/dist/components/actions/menu/menu.pointer.js.map +1 -1
- package/dist/components/actions/menu/menu.safe-triangle.d.ts +6 -5
- package/dist/components/actions/menu/menu.safe-triangle.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.safe-triangle.js +3 -3
- package/dist/components/actions/menu/menu.safe-triangle.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +6 -0
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +17 -9
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +2 -2
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/content/avatar/avatar.js +1 -1
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +2 -1
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/image/image.js +1 -1
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts +3 -3
- package/dist/components/content/tag/tag.js +3 -3
- package/dist/components/content/tag/tag.template.js +3 -3
- package/dist/components/content/tag/tag.template.js.map +1 -1
- package/dist/components/content/title/title.js +1 -1
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/token/token.d.ts +6 -4
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +6 -4
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +1 -1
- package/dist/components/content/token/token.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +22 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +67 -11
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +1 -1
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -2
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +2 -2
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +2 -2
- package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +2 -2
- package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +1 -1
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +2 -2
- package/dist/components/inputs/toggle-button/toggle-button.js +3 -3
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -10
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +3 -3
- package/dist/components/layout/card/card.js +1 -1
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +3 -1
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +15 -2
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +38 -3
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.js +1 -1
- package/dist/components/layout/container/container.template.js +1 -1
- package/dist/components/layout/container/container.template.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +2 -1
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +3 -2
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +3 -2
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +5 -2
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +5 -2
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +2 -4
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +2 -2
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +2 -2
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +2 -2
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +2 -2
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +4 -4
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -2
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +2 -2
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +1 -2
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +10 -12
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +1 -0
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +6 -1
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/spacer/spacer.js +1 -1
- package/dist/components/layout/spacer/spacer.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +2 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +3 -2
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +1 -0
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +7 -1
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +5 -2
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -4
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +3 -3
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -2
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +2 -2
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +4 -1
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +19 -9
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +30 -14
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +20 -0
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +19 -3
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +6 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +5 -5
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +5 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +2 -4
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +7 -4
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +7 -4
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.template.js +5 -5
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +3 -2
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +18 -2
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +51 -3
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +5 -3
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts +4 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +26 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -2
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +2 -2
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +4 -4
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +4 -4
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +5 -2
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +6 -3
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
- package/dist/css/variables.css +6 -0
- package/dist/nldd.min.js +784 -728
- package/dist/types/react.d.ts +3323 -0
- package/dist/types/vue.d.ts +26 -14
- package/dist/utilities/autoloader.d.ts +33 -0
- package/dist/utilities/autoloader.d.ts.map +1 -0
- package/dist/utilities/autoloader.generated.d.ts +3 -0
- package/dist/utilities/autoloader.generated.d.ts.map +1 -0
- package/dist/utilities/autoloader.generated.js +141 -0
- package/dist/utilities/autoloader.generated.js.map +1 -0
- package/dist/utilities/autoloader.js +94 -0
- package/dist/utilities/autoloader.js.map +1 -0
- package/dist/utilities/dev-checks.d.ts +9 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +45 -3
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +17 -2
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/input-modality.d.ts.map +1 -1
- package/dist/utilities/input-modality.js +4 -2
- package/dist/utilities/input-modality.js.map +1 -1
- package/dist/utilities/loading-tags.d.ts +7 -0
- package/dist/utilities/loading-tags.d.ts.map +1 -0
- package/dist/utilities/loading-tags.js +7 -0
- package/dist/utilities/loading-tags.js.map +1 -0
- package/dist/utilities/owner-form.d.ts +3 -3
- package/dist/utilities/owner-form.d.ts.map +1 -1
- package/dist/utilities/owner-form.js +6 -3
- package/dist/utilities/owner-form.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +10 -4
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +29 -23
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/return-focus.d.ts +44 -0
- package/dist/utilities/return-focus.d.ts.map +1 -0
- package/dist/utilities/return-focus.js +99 -0
- package/dist/utilities/return-focus.js.map +1 -0
- package/dist/utilities/slot-content.d.ts +30 -0
- package/dist/utilities/slot-content.d.ts.map +1 -0
- package/dist/utilities/slot-content.js +38 -0
- package/dist/utilities/slot-content.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/package.json +50 -11
- package/dist/components/breakpoints-DtL62nLI.js +0 -45
- package/dist/components/components.js +0 -67895
- package/dist/components/decorate-C7khEuc7.js +0 -16
- package/dist/components/defer-focus-BQ3c4mzj.js +0 -176
- package/dist/components/dev-checks-lQ-gHUjV.js +0 -2706
- package/dist/components/dist-245LaK9m.js +0 -1479
- package/dist/components/dist-BFZM0YsR.js +0 -15772
- package/dist/components/dist-BNkeFjc3.js +0 -1180
- package/dist/components/dist-CSC1dG3L.js +0 -365
- package/dist/components/dist-CeMOOqgP.js +0 -1509
- package/dist/components/dist-DFjwTlJV.js +0 -624
- package/dist/components/dist-DHhnz3Gv.js +0 -381
- package/dist/components/dist-PeUX4vPq.js +0 -2857
- package/dist/components/dist-m70B83qb.js +0 -463
- package/dist/components/element-state-BnarBv0M.js +0 -42
- package/dist/components/gherkin-DzYbEwDO.js +0 -107
- package/dist/components/icon-button-CfpnGzYQ.js +0 -2308
- package/dist/components/input-modality-CiPLYYMN.js +0 -42
- package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
- package/dist/components/nl.generated-DzZkOgnP.js +0 -64
- package/dist/components/reflect-non-default-B9wQcnne.js +0 -36
- package/dist/components/rolldown-runtime-D8jQpDG7.js +0 -12
- package/dist/components/shadow-resets-BwOyyZFH.js +0 -60
- package/dist/components/shell-Dh5IwHd-.js +0 -222
- package/dist/components/toml-D0Pix_8Q.js +0 -58
- package/dist/components/visibility-mixin-BMtETgjk.js +0 -153
|
@@ -0,0 +1,621 @@
|
|
|
1
|
+
import { a as e, i as t, n, t as r } from "./custom-element-q6NzoL5b.js";
|
|
2
|
+
import { n as i, o as a, r as o, t as s } from "./decorate-TduJMFD_.js";
|
|
3
|
+
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { n as l } from "./input-modality-XE0B7yCn.js";
|
|
5
|
+
import { n as u } from "./breakpoints-Cwor8TRP.js";
|
|
6
|
+
import { n as d, t as f } from "./scroll-mode-controller-COUD1-3P.js";
|
|
7
|
+
import "./split-view-divider-jzcPmnMh.js";
|
|
8
|
+
// src/components/layout/split-views/navigation-split-view/navigation-split-view.styles.ts
|
|
9
|
+
var p = e(u.smMax), m = e(u.mdMin), h = e(u.mdMax), g = e(u.lgMin), _ = t`
|
|
10
|
+
:host {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/* # Host */
|
|
16
|
+
|
|
17
|
+
:host {
|
|
18
|
+
--_navigation-split-view-background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
19
|
+
/* Pane min-widths — read by JS via getComputedStyle in firstUpdated */
|
|
20
|
+
--_navigation-split-view-primary-sidebar-min-width: var(--primitives-area-320);
|
|
21
|
+
--_navigation-split-view-secondary-sidebar-min-width: var(--primitives-area-320);
|
|
22
|
+
--_navigation-split-view-main-min-width: var(--primitives-area-480);
|
|
23
|
+
--_navigation-split-view-inspector-min-width: var(--primitives-area-320);
|
|
24
|
+
|
|
25
|
+
display: flex;
|
|
26
|
+
background-color: var(--_navigation-split-view-background-color);
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 100%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host([hidden]) {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([background="base"]) {
|
|
36
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
37
|
+
--_navigation-split-view-background-color: var(--context-parent-background-color);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host([background="tinted"]) {
|
|
41
|
+
--context-parent-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
42
|
+
--_navigation-split-view-background-color: var(--context-parent-background-color);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Root-scroll mode: flow instead of clipping (see ScrollModeController /
|
|
46
|
+
--context-scroll-mode). Reached in full-stack (one visible pane), so the row
|
|
47
|
+
wrapper and the visible pane stop clipping and let a slotted nldd-page stick
|
|
48
|
+
against the document. */
|
|
49
|
+
:host([data-scroll="root"]) {
|
|
50
|
+
height: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/* # Keyframes */
|
|
55
|
+
|
|
56
|
+
@keyframes navigation-split-view-inspector-slide-in {
|
|
57
|
+
from { transform: translateX(100%); }
|
|
58
|
+
to { transform: translateX(0); }
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes navigation-split-view-inspector-slide-out {
|
|
62
|
+
from { transform: translateX(0); }
|
|
63
|
+
to { transform: translateX(100%); }
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes navigation-split-view-primary-sidebar-slide-in {
|
|
67
|
+
from { transform: translateX(-100%); }
|
|
68
|
+
to { transform: translateX(0); }
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@keyframes navigation-split-view-primary-sidebar-slide-out {
|
|
72
|
+
from { transform: translateX(0); }
|
|
73
|
+
to { transform: translateX(-100%); }
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@keyframes navigation-split-view-slide-in-bottom {
|
|
77
|
+
from { transform: translateY(100%); }
|
|
78
|
+
to { transform: translateY(0); }
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@keyframes navigation-split-view-slide-out-bottom {
|
|
82
|
+
from { transform: translateY(0); }
|
|
83
|
+
to { transform: translateY(100%); }
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
/* # Block */
|
|
88
|
+
|
|
89
|
+
.navigation-split-view {
|
|
90
|
+
display: flex;
|
|
91
|
+
min-width: 0;
|
|
92
|
+
min-height: 0;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
flex-direction: row;
|
|
95
|
+
flex-grow: 1;
|
|
96
|
+
flex-shrink: 1;
|
|
97
|
+
flex-basis: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Root-scroll mode: row-axis wrappers — flex-basis/flex-shrink here are the
|
|
101
|
+
WIDTH (row main axis), so leave them at their nested values; overriding them
|
|
102
|
+
stops the panes shrinking to the viewport and the split-view never stacks.
|
|
103
|
+
Only stop clipping so a descendant page's sticky layers escape. Their height
|
|
104
|
+
comes from the cross-axis stretch of the content-sized main column above. */
|
|
105
|
+
:host([data-scroll="root"]) .navigation-split-view {
|
|
106
|
+
overflow: visible;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/* # Elements */
|
|
111
|
+
|
|
112
|
+
.navigation-split-view__primary-sidebar-pane {
|
|
113
|
+
display: flex;
|
|
114
|
+
min-width: var(--_navigation-split-view-primary-sidebar-min-width);
|
|
115
|
+
min-height: 0;
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
flex-shrink: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.navigation-split-view__secondary-sidebar-pane {
|
|
122
|
+
display: flex;
|
|
123
|
+
min-width: var(--_navigation-split-view-secondary-sidebar-min-width);
|
|
124
|
+
min-height: 0;
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
flex-shrink: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
:host([data-scroll="root"]) .navigation-split-view__primary-sidebar-pane,
|
|
131
|
+
:host([data-scroll="root"]) .navigation-split-view__secondary-sidebar-pane {
|
|
132
|
+
overflow: visible;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.navigation-split-view__main-pane {
|
|
136
|
+
display: flex;
|
|
137
|
+
min-width: var(--_navigation-split-view-main-min-width);
|
|
138
|
+
min-height: 0;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
flex-grow: 1;
|
|
142
|
+
flex-shrink: 1;
|
|
143
|
+
flex-basis: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:host([data-scroll="root"]) .navigation-split-view__main-pane {
|
|
147
|
+
overflow: visible;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* Full-stack: the single visible pane fills the space, no minimum */
|
|
151
|
+
:host(.full-stack) .navigation-split-view__primary-sidebar-pane,
|
|
152
|
+
:host(.full-stack) .navigation-split-view__secondary-sidebar-pane,
|
|
153
|
+
:host(.full-stack) .navigation-split-view__main-pane {
|
|
154
|
+
min-width: 0;
|
|
155
|
+
flex-grow: 1;
|
|
156
|
+
flex-shrink: 1;
|
|
157
|
+
flex-basis: 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Inline sidebar panes suppress their dismiss button */
|
|
161
|
+
.navigation-split-view__primary-sidebar-pane,
|
|
162
|
+
.navigation-split-view__secondary-sidebar-pane {
|
|
163
|
+
--context-dismiss-button-display: none;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.navigation-split-view__inspector-pane {
|
|
167
|
+
/* Inspector is always dismissable as a sheet, not inline */
|
|
168
|
+
--context-dismiss-button-display: none;
|
|
169
|
+
|
|
170
|
+
display: flex;
|
|
171
|
+
min-width: var(--_navigation-split-view-inspector-min-width);
|
|
172
|
+
min-height: 0;
|
|
173
|
+
overflow: hidden;
|
|
174
|
+
flex-direction: column;
|
|
175
|
+
flex-shrink: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.navigation-split-view__inspector-sheet {
|
|
179
|
+
display: flex;
|
|
180
|
+
position: fixed;
|
|
181
|
+
margin: 0;
|
|
182
|
+
outline: none;
|
|
183
|
+
border: none;
|
|
184
|
+
box-shadow: var(--semantics-overlays-box-shadow);
|
|
185
|
+
background: var(--semantics-surfaces-base-background-color);
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
padding: 0;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
|
|
190
|
+
@media (max-width: ${p}) {
|
|
191
|
+
inset: auto 0 0 0;
|
|
192
|
+
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
193
|
+
width: 100%;
|
|
194
|
+
max-width: 100%;
|
|
195
|
+
height: auto;
|
|
196
|
+
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@media (min-width: ${m}) and (max-width: ${h}) {
|
|
200
|
+
inset: var(--semantics-overlays-inset) var(--semantics-overlays-inset) var(--semantics-overlays-inset) auto;
|
|
201
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
202
|
+
width: var(--semantics-sheets-side-md-width);
|
|
203
|
+
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@media (min-width: ${g}) {
|
|
207
|
+
inset: var(--semantics-overlays-inset) var(--semantics-overlays-inset) var(--semantics-overlays-inset) auto;
|
|
208
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
209
|
+
width: var(--semantics-sheets-side-lg-width);
|
|
210
|
+
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
&:focus-visible:not(.is-pointer-focus) {
|
|
214
|
+
outline: var(--semantics-focus-ring-outline);
|
|
215
|
+
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
216
|
+
box-shadow: var(--semantics-focus-ring-box-shadow), var(--semantics-overlays-box-shadow);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&:not([open]) {
|
|
220
|
+
display: none;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&::backdrop {
|
|
224
|
+
background: var(--semantics-overlays-backdrop-color);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&[open] {
|
|
228
|
+
@media (max-width: ${p}) {
|
|
229
|
+
animation: navigation-split-view-slide-in-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@media (min-width: ${m}) {
|
|
233
|
+
animation: navigation-split-view-inspector-slide-in var(--semantics-sheets-side-animation-duration) var(--primitives-transition-easing-default) both;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&.is-closing {
|
|
238
|
+
@media (max-width: ${p}) {
|
|
239
|
+
animation: navigation-split-view-slide-out-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@media (min-width: ${m}) {
|
|
243
|
+
animation: navigation-split-view-inspector-slide-out var(--semantics-sheets-side-animation-duration) var(--primitives-transition-easing-default) both;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.navigation-split-view__inspector-sheet-body {
|
|
249
|
+
display: flex;
|
|
250
|
+
width: 100%;
|
|
251
|
+
min-height: 0;
|
|
252
|
+
flex-direction: column;
|
|
253
|
+
flex-grow: 1;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.navigation-split-view__primary-sidebar-sheet {
|
|
257
|
+
display: flex;
|
|
258
|
+
position: fixed;
|
|
259
|
+
margin: 0;
|
|
260
|
+
outline: none;
|
|
261
|
+
border: none;
|
|
262
|
+
box-shadow: var(--semantics-overlays-box-shadow);
|
|
263
|
+
background: var(--semantics-surfaces-base-background-color);
|
|
264
|
+
overflow: hidden;
|
|
265
|
+
padding: 0;
|
|
266
|
+
flex-direction: column;
|
|
267
|
+
|
|
268
|
+
@media (max-width: ${p}) {
|
|
269
|
+
inset: auto 0 0 0;
|
|
270
|
+
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
271
|
+
width: 100%;
|
|
272
|
+
max-width: 100%;
|
|
273
|
+
height: auto;
|
|
274
|
+
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
@media (min-width: ${m}) and (max-width: ${h}) {
|
|
278
|
+
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
279
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
280
|
+
width: var(--semantics-sheets-side-md-width);
|
|
281
|
+
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@media (min-width: ${g}) {
|
|
285
|
+
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
286
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
287
|
+
width: var(--semantics-sheets-side-lg-width);
|
|
288
|
+
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
&:focus-visible:not(.is-pointer-focus) {
|
|
292
|
+
outline: var(--semantics-focus-ring-outline);
|
|
293
|
+
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
294
|
+
box-shadow: var(--semantics-focus-ring-box-shadow), var(--semantics-overlays-box-shadow);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&:not([open]) {
|
|
298
|
+
display: none;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&::backdrop {
|
|
302
|
+
background: var(--semantics-overlays-backdrop-color);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&[open] {
|
|
306
|
+
@media (max-width: ${p}) {
|
|
307
|
+
animation: navigation-split-view-slide-in-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@media (min-width: ${m}) {
|
|
311
|
+
animation: navigation-split-view-primary-sidebar-slide-in var(--semantics-sheets-side-animation-duration) var(--primitives-transition-easing-default) both;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
&.is-closing {
|
|
316
|
+
@media (max-width: ${p}) {
|
|
317
|
+
animation: navigation-split-view-slide-out-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (min-width: ${m}) {
|
|
321
|
+
animation: navigation-split-view-primary-sidebar-slide-out var(--semantics-sheets-side-animation-duration) var(--primitives-transition-easing-default) both;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.navigation-split-view__primary-sidebar-sheet-body {
|
|
327
|
+
/* Show dismiss button inside primary sidebar sheet */
|
|
328
|
+
--context-dismiss-button-display: block;
|
|
329
|
+
|
|
330
|
+
display: flex;
|
|
331
|
+
width: 100%;
|
|
332
|
+
min-height: 0;
|
|
333
|
+
flex-direction: column;
|
|
334
|
+
flex-grow: 1;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
@media (prefers-reduced-motion: reduce) {
|
|
338
|
+
.navigation-split-view__inspector-sheet[open],
|
|
339
|
+
.navigation-split-view__inspector-sheet.is-closing,
|
|
340
|
+
.navigation-split-view__primary-sidebar-sheet[open],
|
|
341
|
+
.navigation-split-view__primary-sidebar-sheet.is-closing {
|
|
342
|
+
animation: none;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
::slotted(*) {
|
|
347
|
+
min-height: 0;
|
|
348
|
+
flex-grow: 1;
|
|
349
|
+
flex-shrink: 1;
|
|
350
|
+
flex-basis: 0;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* A bottom sheet sizes itself from its content (height: auto), so the pane's
|
|
354
|
+
hypothetical main size IS the sheet's height — and a zero basis fixes that
|
|
355
|
+
at 0. The sheet then opens as a backdrop with nothing on it, while its
|
|
356
|
+
content stays in the DOM and keeps taking focus. At md/lg the sheet has a
|
|
357
|
+
definite height and the zero basis never surfaces, which is why this only
|
|
358
|
+
shows below 641px. The dialog's max-height still caps a long sheet;
|
|
359
|
+
flex-shrink then hands the overflow to the pane's own scroll container. */
|
|
360
|
+
@media (max-width: ${p}) {
|
|
361
|
+
.navigation-split-view__primary-sidebar-sheet-body slot::slotted(*),
|
|
362
|
+
.navigation-split-view__inspector-sheet-body slot::slotted(*) {
|
|
363
|
+
flex-basis: auto;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/* Root-scroll mode: slotted pane content is a COLUMN item of the pane: govern
|
|
368
|
+
its height so it fills a short viewport (flex-grow) but keeps its own height
|
|
369
|
+
when taller (flex-shrink:0), rather than collapsing to a 0 basis. */
|
|
370
|
+
:host([data-scroll="root"]) ::slotted(*) {
|
|
371
|
+
flex-basis: auto;
|
|
372
|
+
flex-shrink: 0;
|
|
373
|
+
}
|
|
374
|
+
`;
|
|
375
|
+
// src/components/layout/split-views/navigation-split-view/navigation-split-view.template.ts
|
|
376
|
+
function v(e) {
|
|
377
|
+
let t = e._showPrimarySidebar, n = e._showSecondarySidebar, r = e._showMain, i = e._showInspector, s = t && (n || r || i), c = n && (r || i), l = i && (t || n || r);
|
|
378
|
+
return a`
|
|
379
|
+
<div class="navigation-split-view">
|
|
380
|
+
${t ? a`
|
|
381
|
+
<div class="navigation-split-view__primary-sidebar-pane">
|
|
382
|
+
<slot name="primary-sidebar"></slot>
|
|
383
|
+
<slot name="sidebar"></slot>
|
|
384
|
+
</div>
|
|
385
|
+
` : o}
|
|
386
|
+
${s ? a`<nldd-split-view-divider orientation="vertical"></nldd-split-view-divider>` : o}
|
|
387
|
+
${n ? a`
|
|
388
|
+
<div class="navigation-split-view__secondary-sidebar-pane">
|
|
389
|
+
<slot name="secondary-sidebar"></slot>
|
|
390
|
+
</div>
|
|
391
|
+
` : o}
|
|
392
|
+
${c ? a`<nldd-split-view-divider orientation="vertical"></nldd-split-view-divider>` : o}
|
|
393
|
+
${r ? a`
|
|
394
|
+
<div class="navigation-split-view__main-pane">
|
|
395
|
+
<slot name="main"></slot>
|
|
396
|
+
</div>
|
|
397
|
+
` : o}
|
|
398
|
+
${i ? a`
|
|
399
|
+
${l ? a`<nldd-split-view-divider orientation="vertical"></nldd-split-view-divider>` : o}
|
|
400
|
+
<div class="navigation-split-view__inspector-pane">
|
|
401
|
+
<slot name="inspector"></slot>
|
|
402
|
+
</div>
|
|
403
|
+
` : e.inspectorAutoHidden || e.inspectorAsSheet ? a`
|
|
404
|
+
<dialog class="navigation-split-view__inspector-sheet"
|
|
405
|
+
aria-label=${e.inspectorAccessibleLabel}
|
|
406
|
+
aria-modal="true"
|
|
407
|
+
@click=${e._handleInspectorSheetClick}
|
|
408
|
+
@cancel=${e._handleInspectorSheetCancel}
|
|
409
|
+
>
|
|
410
|
+
<div class="navigation-split-view__inspector-sheet-body">
|
|
411
|
+
<slot name="inspector"></slot>
|
|
412
|
+
</div>
|
|
413
|
+
</dialog>
|
|
414
|
+
` : o}
|
|
415
|
+
${e._asSheet ? a`
|
|
416
|
+
<dialog class="navigation-split-view__primary-sidebar-sheet"
|
|
417
|
+
aria-label=${e._resolvedPrimarySidebarLabel}
|
|
418
|
+
aria-modal="true"
|
|
419
|
+
@click=${e._handlePrimarySidebarSheetClick}
|
|
420
|
+
@cancel=${e._handlePrimarySidebarSheetCancel}
|
|
421
|
+
>
|
|
422
|
+
<div class="navigation-split-view__primary-sidebar-sheet-body">
|
|
423
|
+
${e._hasSecondarySidebar && e._paneHasContent("secondary-sidebar") ? a`
|
|
424
|
+
<slot name="secondary-sidebar"></slot>
|
|
425
|
+
` : a`
|
|
426
|
+
<slot name="primary-sidebar"></slot>
|
|
427
|
+
<slot name="sidebar"></slot>
|
|
428
|
+
`}
|
|
429
|
+
</div>
|
|
430
|
+
</dialog>
|
|
431
|
+
` : o}
|
|
432
|
+
</div>
|
|
433
|
+
`;
|
|
434
|
+
}
|
|
435
|
+
// src/components/layout/split-views/navigation-split-view/navigation-split-view.ts
|
|
436
|
+
var y = class extends i {
|
|
437
|
+
constructor(...e) {
|
|
438
|
+
super(...e), this._scrollMode = new d(this), this.inspectorAsSheet = !1, this.primarySidebarAsSheet = !1, this.inspectorAccessibleLabel = "Details", this.primarySidebarAccessibleLabel = "Navigatie", this.inspectorAutoHidden = !1, this.sidebarAsSheet = !1, this.sidebarAccessibleLabel = "", this._showPrimarySidebar = !1, this._showSecondarySidebar = !1, this._showMain = !0, this._showInspector = !0, this._mode = "spatial", this._resizeObserver = null, this._paneObserver = null, this._hostObserver = null, this._paneMinWidths = {
|
|
439
|
+
primarySidebar: 320,
|
|
440
|
+
secondarySidebar: 320,
|
|
441
|
+
main: 480,
|
|
442
|
+
inspector: 320
|
|
443
|
+
}, this._layoutScheduled = !1, this._handleDismiss = (e) => {
|
|
444
|
+
e.composedPath().some((e) => e === this._primarySidebarSheet) ? this.hidePrimarySidebarSheet() : (this.inspectorAutoHidden || this.inspectorAsSheet) && this.hideInspectorSheet();
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
get _asSheet() {
|
|
448
|
+
return this.primarySidebarAsSheet || this.sidebarAsSheet;
|
|
449
|
+
}
|
|
450
|
+
get _resolvedPrimarySidebarLabel() {
|
|
451
|
+
return this.sidebarAccessibleLabel || this.primarySidebarAccessibleLabel;
|
|
452
|
+
}
|
|
453
|
+
get _inspectorSheet() {
|
|
454
|
+
return this.shadowRoot?.querySelector(".navigation-split-view__inspector-sheet") ?? null;
|
|
455
|
+
}
|
|
456
|
+
get _primarySidebarSheet() {
|
|
457
|
+
return this.shadowRoot?.querySelector(".navigation-split-view__primary-sidebar-sheet") ?? null;
|
|
458
|
+
}
|
|
459
|
+
get _hasPrimarySidebar() {
|
|
460
|
+
return this.querySelector(":scope > :is([slot=\"primary-sidebar\"], [slot=\"sidebar\"])") !== null;
|
|
461
|
+
}
|
|
462
|
+
get _hasSecondarySidebar() {
|
|
463
|
+
return this.querySelector(":scope > [slot=\"secondary-sidebar\"]") !== null;
|
|
464
|
+
}
|
|
465
|
+
get _hasInspector() {
|
|
466
|
+
return this.querySelector(":scope > [slot=\"inspector\"]") !== null;
|
|
467
|
+
}
|
|
468
|
+
get isSingleColumn() {
|
|
469
|
+
return this._mode === "full-stack";
|
|
470
|
+
}
|
|
471
|
+
_paneHasContent(e) {
|
|
472
|
+
let t = e === "primary-sidebar" ? ":scope > nldd-split-view-pane:is([slot=\"primary-sidebar\"], [slot=\"sidebar\"])" : `:scope > nldd-split-view-pane[slot="${e}"]`;
|
|
473
|
+
return this.querySelector(t)?.hasAttribute("has-content") ?? !1;
|
|
474
|
+
}
|
|
475
|
+
connectedCallback() {
|
|
476
|
+
super.connectedCallback(), this._resizeObserver = new ResizeObserver(() => this._updateLayout()), this._resizeObserver.observe(this), this.addEventListener("dismiss", this._handleDismiss), this._paneObserver = new MutationObserver(() => this._updateLayout()), this._hostObserver = new MutationObserver(() => {
|
|
477
|
+
this._observePanes(), this._updateLayout();
|
|
478
|
+
}), this._hostObserver.observe(this, { childList: !0 }), this._observePanes();
|
|
479
|
+
}
|
|
480
|
+
disconnectedCallback() {
|
|
481
|
+
super.disconnectedCallback(), this._resizeObserver?.disconnect(), this._resizeObserver = null, this._paneObserver?.disconnect(), this._paneObserver = null, this._hostObserver?.disconnect(), this._hostObserver = null, this.removeEventListener("dismiss", this._handleDismiss);
|
|
482
|
+
}
|
|
483
|
+
_observePanes() {
|
|
484
|
+
this._paneObserver?.disconnect(), this.querySelectorAll(":scope > nldd-split-view-pane").forEach((e) => {
|
|
485
|
+
this._paneObserver.observe(e, {
|
|
486
|
+
attributes: !0,
|
|
487
|
+
attributeFilter: ["has-content"]
|
|
488
|
+
});
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
_scheduleLayout() {
|
|
492
|
+
this._layoutScheduled || (this._layoutScheduled = !0, queueMicrotask(() => {
|
|
493
|
+
this._layoutScheduled = !1, this._updateLayout();
|
|
494
|
+
}));
|
|
495
|
+
}
|
|
496
|
+
firstUpdated() {
|
|
497
|
+
queueMicrotask(() => {
|
|
498
|
+
let e = getComputedStyle(this), t = (t) => parseFloat(e.getPropertyValue(t));
|
|
499
|
+
this._paneMinWidths = {
|
|
500
|
+
primarySidebar: t("--_navigation-split-view-primary-sidebar-min-width") || this._paneMinWidths.primarySidebar,
|
|
501
|
+
secondarySidebar: t("--_navigation-split-view-secondary-sidebar-min-width") || this._paneMinWidths.secondarySidebar,
|
|
502
|
+
main: t("--_navigation-split-view-main-min-width") || this._paneMinWidths.main,
|
|
503
|
+
inspector: t("--_navigation-split-view-inspector-min-width") || this._paneMinWidths.inspector
|
|
504
|
+
}, this._updateLayout();
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
updated(e) {
|
|
508
|
+
(e.has("inspectorAsSheet") || e.has("primarySidebarAsSheet") || e.has("sidebarAsSheet")) && this._scheduleLayout(), e.has("inspectorAutoHidden") && !this.inspectorAutoHidden && !this.inspectorAsSheet && this._closeSheetImmediate(this._inspectorSheet);
|
|
509
|
+
}
|
|
510
|
+
_updateLayout() {
|
|
511
|
+
let e = this.getBoundingClientRect().width, { primarySidebar: t, secondarySidebar: n, main: r, inspector: i } = this._paneMinWidths, a = !this._asSheet && this._hasPrimarySidebar, o = !this._asSheet && this._hasSecondarySidebar, s = !0, c = this._hasInspector, l = () => [
|
|
512
|
+
a && t,
|
|
513
|
+
o && n,
|
|
514
|
+
s && r,
|
|
515
|
+
c && i
|
|
516
|
+
].reduce((e, t) => e + (t || 0), 0);
|
|
517
|
+
c && l() > e && (c = !1), a && o && l() > e && (a = !1);
|
|
518
|
+
let u = this._hasPrimarySidebar && this._hasSecondarySidebar && !a && o, d = l() <= e, p;
|
|
519
|
+
p = u && d ? "primary-sidebar-stack" : !u && d ? "spatial" : "full-stack", p === "full-stack" && (a = !1, o = !1, s = !1, c = !1, this._paneHasContent("main") ? s = !0 : this._hasSecondarySidebar && this._paneHasContent("secondary-sidebar") ? o = !0 : this._hasPrimarySidebar && this._paneHasContent("primary-sidebar") ? a = !0 : s = !0), !a && !o && c && !this._paneHasContent("main") && (c = !1), this._showPrimarySidebar = a, this._showSecondarySidebar = o, this._showMain = s, this._showInspector = c && !this.inspectorAsSheet, this.inspectorAutoHidden = this._hasInspector && !c;
|
|
520
|
+
let m = this._mode === "full-stack";
|
|
521
|
+
this._mode = p, this.classList.toggle("full-stack", p === "full-stack"), this.isSingleColumn !== m && this.dispatchEvent(new CustomEvent(f, {
|
|
522
|
+
bubbles: !0,
|
|
523
|
+
composed: !0,
|
|
524
|
+
detail: { singleColumn: this.isSingleColumn }
|
|
525
|
+
})), this._updatePaneBackButtons();
|
|
526
|
+
}
|
|
527
|
+
_updatePaneBackButtons() {
|
|
528
|
+
let e = {
|
|
529
|
+
primarySidebar: this.querySelector(":scope > nldd-split-view-pane:is([slot=\"primary-sidebar\"], [slot=\"sidebar\"])"),
|
|
530
|
+
secondarySidebar: this.querySelector(":scope > nldd-split-view-pane[slot=\"secondary-sidebar\"]"),
|
|
531
|
+
main: this.querySelector(":scope > nldd-split-view-pane[slot=\"main\"]")
|
|
532
|
+
};
|
|
533
|
+
this._asSheet ? (e.secondarySidebar?.removeAttribute("hide-back"), e.main?.setAttribute("hide-back", "")) : this._mode === "spatial" ? (e.secondarySidebar?.setAttribute("hide-back", ""), e.main?.setAttribute("hide-back", "")) : this._mode === "primary-sidebar-stack" ? (e.secondarySidebar?.removeAttribute("hide-back"), e.main?.setAttribute("hide-back", "")) : this._mode === "full-stack" && (e.secondarySidebar?.removeAttribute("hide-back"), e.main?.removeAttribute("hide-back"));
|
|
534
|
+
}
|
|
535
|
+
async showPrimarySidebarSheet() {
|
|
536
|
+
this._asSheet && (await this.updateComplete, this._primarySidebarSheet?.showModal(), this._managePrimarySidebarSheetFocus());
|
|
537
|
+
}
|
|
538
|
+
hidePrimarySidebarSheet() {
|
|
539
|
+
this._hideSheet(this._primarySidebarSheet);
|
|
540
|
+
}
|
|
541
|
+
showSidebarSheet() {
|
|
542
|
+
return this.showPrimarySidebarSheet();
|
|
543
|
+
}
|
|
544
|
+
hideSidebarSheet() {
|
|
545
|
+
this.hidePrimarySidebarSheet();
|
|
546
|
+
}
|
|
547
|
+
_managePrimarySidebarSheetFocus() {
|
|
548
|
+
if (this._hasSecondarySidebar && this._paneHasContent("secondary-sidebar")) {
|
|
549
|
+
let e = (this.shadowRoot?.querySelector("slot[name=\"secondary-sidebar\"]"))?.assignedElements({ flatten: !0 }) ?? [];
|
|
550
|
+
this._manageFocusForSlot(e, this._primarySidebarSheet);
|
|
551
|
+
return;
|
|
552
|
+
}
|
|
553
|
+
let e = this.shadowRoot?.querySelectorAll("slot[name=\"primary-sidebar\"], slot[name=\"sidebar\"]") ?? [], t = Array.from(e).flatMap((e) => e.assignedElements({ flatten: !0 }));
|
|
554
|
+
this._manageFocusForSlot(t, this._primarySidebarSheet);
|
|
555
|
+
}
|
|
556
|
+
_handlePrimarySidebarSheetClick(e) {
|
|
557
|
+
e.target === this._primarySidebarSheet && this.hidePrimarySidebarSheet();
|
|
558
|
+
}
|
|
559
|
+
_handlePrimarySidebarSheetCancel(e) {
|
|
560
|
+
e.preventDefault(), this.hidePrimarySidebarSheet();
|
|
561
|
+
}
|
|
562
|
+
async showInspectorSheet() {
|
|
563
|
+
(this.inspectorAutoHidden || this.inspectorAsSheet) && (await this.updateComplete, this._inspectorSheet?.showModal(), this._manageInspectorSheetFocus());
|
|
564
|
+
}
|
|
565
|
+
hideInspectorSheet() {
|
|
566
|
+
this._hideSheet(this._inspectorSheet);
|
|
567
|
+
}
|
|
568
|
+
_manageInspectorSheetFocus() {
|
|
569
|
+
let e = (this.shadowRoot?.querySelector("slot[name=\"inspector\"]"))?.assignedElements({ flatten: !0 }) ?? [];
|
|
570
|
+
this._manageFocusForSlot(e, this._inspectorSheet);
|
|
571
|
+
}
|
|
572
|
+
_handleInspectorSheetClick(e) {
|
|
573
|
+
e.target === this._inspectorSheet && this.hideInspectorSheet();
|
|
574
|
+
}
|
|
575
|
+
_handleInspectorSheetCancel(e) {
|
|
576
|
+
e.preventDefault(), this.hideInspectorSheet();
|
|
577
|
+
}
|
|
578
|
+
_manageFocusForSlot(e, t) {
|
|
579
|
+
e.some((e) => e.querySelector("[autofocus]")) || t && (t.classList.toggle("is-pointer-focus", l()), t.focus());
|
|
580
|
+
}
|
|
581
|
+
_hideSheet(e) {
|
|
582
|
+
e?.open && e.dataset.closing !== "true" && (e.dataset.closing = "true", e.classList.add("is-closing"), e.addEventListener("animationend", () => {
|
|
583
|
+
e.classList.remove("is-closing"), delete e.dataset.closing, e.close();
|
|
584
|
+
}, { once: !0 }), requestAnimationFrame(() => {
|
|
585
|
+
e.dataset.closing === "true" && getComputedStyle(e).animationName === "none" && (e.classList.remove("is-closing"), delete e.dataset.closing, e.close());
|
|
586
|
+
}));
|
|
587
|
+
}
|
|
588
|
+
_closeSheetImmediate(e) {
|
|
589
|
+
e?.open && (e.classList.remove("is-closing"), e.close());
|
|
590
|
+
}
|
|
591
|
+
render() {
|
|
592
|
+
return v(this);
|
|
593
|
+
}
|
|
594
|
+
}, b = (y.styles = _, y);
|
|
595
|
+
s([n({
|
|
596
|
+
type: Boolean,
|
|
597
|
+
reflect: !0,
|
|
598
|
+
attribute: "inspector-as-sheet"
|
|
599
|
+
})], b.prototype, "inspectorAsSheet", void 0), s([n({
|
|
600
|
+
type: Boolean,
|
|
601
|
+
reflect: !0,
|
|
602
|
+
attribute: "primary-sidebar-as-sheet"
|
|
603
|
+
})], b.prototype, "primarySidebarAsSheet", void 0), s([n({
|
|
604
|
+
type: String,
|
|
605
|
+
attribute: "inspector-accessible-label"
|
|
606
|
+
})], b.prototype, "inspectorAccessibleLabel", void 0), s([n({
|
|
607
|
+
type: String,
|
|
608
|
+
attribute: "primary-sidebar-accessible-label"
|
|
609
|
+
})], b.prototype, "primarySidebarAccessibleLabel", void 0), s([n({
|
|
610
|
+
type: Boolean,
|
|
611
|
+
reflect: !0,
|
|
612
|
+
attribute: "inspector-auto-hidden"
|
|
613
|
+
})], b.prototype, "inspectorAutoHidden", void 0), s([n({
|
|
614
|
+
type: Boolean,
|
|
615
|
+
reflect: !0,
|
|
616
|
+
attribute: "sidebar-as-sheet"
|
|
617
|
+
})], b.prototype, "sidebarAsSheet", void 0), s([n({
|
|
618
|
+
type: String,
|
|
619
|
+
attribute: "sidebar-accessible-label"
|
|
620
|
+
})], b.prototype, "sidebarAccessibleLabel", void 0), s([r()], b.prototype, "_showPrimarySidebar", void 0), s([r()], b.prototype, "_showSecondarySidebar", void 0), s([r()], b.prototype, "_showMain", void 0), s([r()], b.prototype, "_showInspector", void 0), b = s([c("nldd-navigation-split-view")], b);
|
|
621
|
+
export { b as NLDDNavigationSplitView };
|