@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,259 @@
|
|
|
1
|
+
import { i as e, n as t, t as n } from "./custom-element-q6NzoL5b.js";
|
|
2
|
+
import { n as r, o as i, r as a, t as o } from "./decorate-TduJMFD_.js";
|
|
3
|
+
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
+
import { t as l } from "./class-map-CXSdNjt8.js";
|
|
6
|
+
import { r as u, t as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
+
import { n as f } from "./scroll-mode-controller-COUD1-3P.js";
|
|
8
|
+
import "./split-view-divider-jzcPmnMh.js";
|
|
9
|
+
// src/components/layout/split-views/bar-split-view/bar-split-view.styles.ts
|
|
10
|
+
var p = e`
|
|
11
|
+
:host {
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/* # Host */
|
|
17
|
+
|
|
18
|
+
:host {
|
|
19
|
+
--_bar-split-view-background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
20
|
+
|
|
21
|
+
display: flex;
|
|
22
|
+
background-color: var(--_bar-split-view-background-color);
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([hidden]) {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([background="base"]) {
|
|
33
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
34
|
+
--_bar-split-view-background-color: var(--context-parent-background-color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:host([background="tinted"]) {
|
|
38
|
+
--context-parent-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
39
|
+
--_bar-split-view-background-color: var(--context-parent-background-color);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Root-scroll mode: the document scrolls (ScrollModeController /
|
|
43
|
+
--context-scroll-mode). Bars become sticky layers that stay put while the
|
|
44
|
+
main content scrolls under them; their measured heights are published into
|
|
45
|
+
--context-inset-top/bottom (see bar-split-view.ts) so a descendant
|
|
46
|
+
nldd-page's sticky header/footer stack below/above them. The sticky insets
|
|
47
|
+
and those offsets are set by JS; bars paint above the content. */
|
|
48
|
+
:host([data-scroll="root"]) {
|
|
49
|
+
height: auto;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/* # Block */
|
|
54
|
+
|
|
55
|
+
.bar-split-view {
|
|
56
|
+
display: flex;
|
|
57
|
+
min-width: 0;
|
|
58
|
+
min-height: 0;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
flex-grow: 1;
|
|
61
|
+
flex-shrink: 1;
|
|
62
|
+
flex-basis: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Root-scroll mode: flow wrappers must be content-sized (not flex-basis:0) so
|
|
66
|
+
their border box spans the whole document. Otherwise a sticky bar's
|
|
67
|
+
containing block is only as tall as the initial viewport fill and the bar
|
|
68
|
+
un-sticks partway down. */
|
|
69
|
+
:host([data-scroll="root"]) .bar-split-view {
|
|
70
|
+
flex-basis: auto;
|
|
71
|
+
flex-shrink: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
/* # Elements */
|
|
76
|
+
|
|
77
|
+
.bar-split-view__bar {
|
|
78
|
+
display: flex;
|
|
79
|
+
min-width: 0;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:host([data-scroll="root"]) .bar-split-view__bar {
|
|
86
|
+
overflow: visible;
|
|
87
|
+
/* Sticky bars sit over the scrolling document, so they need an opaque
|
|
88
|
+
background to occlude the content passing beneath them. */
|
|
89
|
+
background-color: var(--_bar-split-view-background-color);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Root-scroll mode: top/bottom bars stick; JS sets their top/bottom insets. */
|
|
93
|
+
:host([data-scroll="root"]) .bar-split-view__bar--top,
|
|
94
|
+
:host([data-scroll="root"]) .bar-split-view__bar--bottom {
|
|
95
|
+
position: sticky;
|
|
96
|
+
z-index: 3;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.bar-split-view__divider {
|
|
100
|
+
flex-shrink: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Root-scroll mode: the seam divider sticks too, riding with its bar instead
|
|
104
|
+
of scrolling away with the content. */
|
|
105
|
+
:host([data-scroll="root"]) .bar-split-view__divider {
|
|
106
|
+
position: sticky;
|
|
107
|
+
z-index: 3;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.bar-split-view__main {
|
|
111
|
+
display: flex;
|
|
112
|
+
min-width: 0;
|
|
113
|
+
min-height: 0;
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
flex-grow: 1;
|
|
117
|
+
flex-shrink: 1;
|
|
118
|
+
flex-basis: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:host([data-scroll="root"]) .bar-split-view__main {
|
|
122
|
+
overflow: visible;
|
|
123
|
+
flex-basis: auto;
|
|
124
|
+
flex-shrink: 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Only the main pane grows to fill remaining space; bar panes size to
|
|
128
|
+
* their content. Without this scoping a bar's slotted content gets
|
|
129
|
+
* flex-basis: 0 and collapses (the old 'flex: 1' shorthand expanded
|
|
130
|
+
* to 'flex: 1 1 0%', where % resolved to 'auto' inside the
|
|
131
|
+
* height-indeterminate bar wrapper — the longhand conversion lost
|
|
132
|
+
* that nuance, hence this rule). */
|
|
133
|
+
::slotted([slot="main"]) {
|
|
134
|
+
min-height: 0;
|
|
135
|
+
flex-grow: 1;
|
|
136
|
+
flex-shrink: 1;
|
|
137
|
+
flex-basis: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* Root-scroll mode: the slotted main layer (a split-view or page) is a COLUMN
|
|
141
|
+
item of the main column: give it a real content height (flex-basis:auto)
|
|
142
|
+
that it keeps on tall pages (flex-shrink:0), otherwise its 0 basis collapses
|
|
143
|
+
the main box and the sticky bars' containing block never spans the document. */
|
|
144
|
+
:host([data-scroll="root"]) ::slotted([slot="main"]) {
|
|
145
|
+
flex-basis: auto;
|
|
146
|
+
flex-shrink: 0;
|
|
147
|
+
}
|
|
148
|
+
`;
|
|
149
|
+
// src/components/layout/split-views/bar-split-view/bar-split-view.template.ts
|
|
150
|
+
function m(e) {
|
|
151
|
+
let t = e._getSortedChildren().map((e) => ({
|
|
152
|
+
slot: e.slot,
|
|
153
|
+
isMain: e.slot === "main"
|
|
154
|
+
}));
|
|
155
|
+
t.some((e) => e.isMain) || t.push({
|
|
156
|
+
slot: "main",
|
|
157
|
+
isMain: !0
|
|
158
|
+
});
|
|
159
|
+
let n = t.findIndex((e) => e.isMain);
|
|
160
|
+
return i`
|
|
161
|
+
<div class="bar-split-view">
|
|
162
|
+
${t.map((e, r) => {
|
|
163
|
+
let o = t[r + 1], s = o ? e.isMain !== o.isMain : !1;
|
|
164
|
+
return i`
|
|
165
|
+
<div class=${l({
|
|
166
|
+
"bar-split-view__main": e.isMain,
|
|
167
|
+
"bar-split-view__bar": !e.isMain,
|
|
168
|
+
"bar-split-view__bar--top": !e.isMain && r < n,
|
|
169
|
+
"bar-split-view__bar--bottom": !e.isMain && r > n
|
|
170
|
+
})}>
|
|
171
|
+
<slot name=${e.slot}></slot>
|
|
172
|
+
</div>
|
|
173
|
+
${s ? i`
|
|
174
|
+
<div class="bar-split-view__divider">
|
|
175
|
+
<nldd-split-view-divider orientation="horizontal"></nldd-split-view-divider>
|
|
176
|
+
</div>
|
|
177
|
+
` : a}
|
|
178
|
+
`;
|
|
179
|
+
})}
|
|
180
|
+
</div>
|
|
181
|
+
`;
|
|
182
|
+
}
|
|
183
|
+
// src/components/layout/split-views/bar-split-view/bar-split-view.ts
|
|
184
|
+
var h = class extends r {
|
|
185
|
+
constructor(...e) {
|
|
186
|
+
super(...e), this._scrollMode = new f(this, () => this._updateInsets()), this.background = "inherit", this._currentBreakpoint = null, this._observer = null, this._resizeObserver = null, this._updateInsets = () => {
|
|
187
|
+
let e = this.shadowRoot?.querySelector(".bar-split-view") ?? null, t = e?.querySelector(".bar-split-view__main") ?? null;
|
|
188
|
+
if (!e || !t) return;
|
|
189
|
+
let n = Array.from(e.children), r = n.indexOf(t);
|
|
190
|
+
if (this._scrollMode.mode !== "root") {
|
|
191
|
+
n.forEach((e) => {
|
|
192
|
+
e.style.top = "", e.style.bottom = "";
|
|
193
|
+
}), t.style.removeProperty("--context-inset-top"), t.style.removeProperty("--context-inset-bottom");
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
let i = getComputedStyle(this), a = parseFloat(i.getPropertyValue("--context-inset-top")) || 0;
|
|
197
|
+
for (let e = 0; e < r; e++) n[e].style.top = `${a}px`, n[e].style.bottom = "", a += n[e].offsetHeight;
|
|
198
|
+
t.style.setProperty("--context-inset-top", `${a}px`);
|
|
199
|
+
let o = parseFloat(i.getPropertyValue("--context-inset-bottom")) || 0;
|
|
200
|
+
for (let e = n.length - 1; e > r; e--) n[e].style.bottom = `${o}px`, n[e].style.top = "", o += n[e].offsetHeight;
|
|
201
|
+
t.style.setProperty("--context-inset-bottom", `${o}px`);
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
connectedCallback() {
|
|
205
|
+
super.connectedCallback(), this._currentBreakpoint = this._getBreakpoint(this.getBoundingClientRect().width), this._observer = new MutationObserver(() => this.requestUpdate()), this._observer.observe(this, {
|
|
206
|
+
childList: !0,
|
|
207
|
+
attributes: !0,
|
|
208
|
+
attributeFilter: [
|
|
209
|
+
"above",
|
|
210
|
+
"below",
|
|
211
|
+
"only",
|
|
212
|
+
"sm-order",
|
|
213
|
+
"md-order",
|
|
214
|
+
"lg-order"
|
|
215
|
+
],
|
|
216
|
+
subtree: !1
|
|
217
|
+
}), this._resizeObserver = new ResizeObserver(() => {
|
|
218
|
+
let e = this._getBreakpoint(this.getBoundingClientRect().width);
|
|
219
|
+
e !== this._currentBreakpoint && (this._currentBreakpoint = e, this.requestUpdate()), this._updateInsets();
|
|
220
|
+
}), this._resizeObserver.observe(this);
|
|
221
|
+
}
|
|
222
|
+
disconnectedCallback() {
|
|
223
|
+
super.disconnectedCallback(), this._observer?.disconnect(), this._observer = null, this._resizeObserver?.disconnect(), this._resizeObserver = null;
|
|
224
|
+
}
|
|
225
|
+
_getBreakpoint(e) {
|
|
226
|
+
let t = u();
|
|
227
|
+
return e <= d("smMax", t) ? "sm" : e <= d("mdMax", t) ? "md" : "lg";
|
|
228
|
+
}
|
|
229
|
+
_isChildVisible(e) {
|
|
230
|
+
if (this._currentBreakpoint === null) return !0;
|
|
231
|
+
let t = this._currentBreakpoint, n = [
|
|
232
|
+
"sm",
|
|
233
|
+
"md",
|
|
234
|
+
"lg"
|
|
235
|
+
], r = n.indexOf(t), i = e.getAttribute("only");
|
|
236
|
+
if (i) return t === i;
|
|
237
|
+
let a = e.getAttribute("above");
|
|
238
|
+
if (a) return r >= n.indexOf(a);
|
|
239
|
+
let o = e.getAttribute("below");
|
|
240
|
+
return !o || r <= n.indexOf(o);
|
|
241
|
+
}
|
|
242
|
+
_getSortedChildren() {
|
|
243
|
+
let e = Array.from(this.children).filter((e) => e.slot ? this._isChildVisible(e) : !1);
|
|
244
|
+
if (this._currentBreakpoint === null) return e;
|
|
245
|
+
let t = `${this._currentBreakpoint}-order`;
|
|
246
|
+
return [...e].sort((n, r) => (n.hasAttribute(t) ? parseInt(n.getAttribute(t)) : e.indexOf(n)) - (r.hasAttribute(t) ? parseInt(r.getAttribute(t)) : e.indexOf(r)));
|
|
247
|
+
}
|
|
248
|
+
updated() {
|
|
249
|
+
this._updateInsets();
|
|
250
|
+
}
|
|
251
|
+
render() {
|
|
252
|
+
return m(this);
|
|
253
|
+
}
|
|
254
|
+
}, g = (h.styles = p, h);
|
|
255
|
+
o([t({
|
|
256
|
+
reflect: !0,
|
|
257
|
+
converter: c("inherit")
|
|
258
|
+
})], g.prototype, "background", void 0), o([n()], g.prototype, "_currentBreakpoint", void 0), g = o([s("nldd-bar-split-view")], g);
|
|
259
|
+
export { g as NLDDBarSplitView };
|
|
@@ -0,0 +1,189 @@
|
|
|
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 { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
+
import { n as u, t as d } from "./shadow-resets-6SToDsPu.js";
|
|
6
|
+
import { n as f } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
+
import { n as p, r as m } from "./custom-font-size-D7KNr84p.js";
|
|
8
|
+
// src/components/content/blockquote/blockquote.styles.ts
|
|
9
|
+
var h = e(f.smMax), g = e(f.mdMin), _ = e(f.mdMax), v = e(f.lgMin), y = t`
|
|
10
|
+
:host {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/* # Host */
|
|
16
|
+
|
|
17
|
+
:host {
|
|
18
|
+
--_blockquote-spacing: var(--semantics-blockquotes-md-spacing);
|
|
19
|
+
--_blockquote-quote-font: var(--semantics-blockquotes-md-quote-font);
|
|
20
|
+
--_blockquote-attribution-font: var(--semantics-blockquotes-md-attribution-font);
|
|
21
|
+
--_blockquote-sm-custom-size: initial;
|
|
22
|
+
--_blockquote-md-custom-size: initial;
|
|
23
|
+
--_blockquote-lg-custom-size: initial;
|
|
24
|
+
--_blockquote-sm-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-sm-custom-size), var(--primitives-font-size-200)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
|
|
25
|
+
--_blockquote-md-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-md-custom-size), var(--primitives-font-size-300)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
|
|
26
|
+
--_blockquote-lg-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-lg-custom-size), var(--primitives-font-size-300)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
|
|
27
|
+
|
|
28
|
+
@media (max-width: ${h}) {
|
|
29
|
+
--_blockquote-spacing: var(--semantics-blockquotes-sm-spacing);
|
|
30
|
+
--_blockquote-quote-font: var(--semantics-blockquotes-sm-quote-font);
|
|
31
|
+
--_blockquote-attribution-font: var(--semantics-blockquotes-sm-attribution-font);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@container layout-container (max-width: ${h}) {
|
|
35
|
+
--_blockquote-spacing: var(--semantics-blockquotes-sm-spacing);
|
|
36
|
+
--_blockquote-quote-font: var(--semantics-blockquotes-sm-quote-font);
|
|
37
|
+
--_blockquote-attribution-font: var(--semantics-blockquotes-sm-attribution-font);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
${d}
|
|
41
|
+
display: block;
|
|
42
|
+
max-width: var(--semantics-blockquotes-max-width);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:host([hidden]) {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* ## Custom size */
|
|
50
|
+
|
|
51
|
+
:host([data-sm-custom-size]) {
|
|
52
|
+
@media (max-width: ${h}) {
|
|
53
|
+
--_blockquote-quote-font: var(--_blockquote-sm-custom-font);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@container layout-container (max-width: ${h}) {
|
|
57
|
+
--_blockquote-quote-font: var(--_blockquote-sm-custom-font);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:host([data-md-custom-size]) {
|
|
62
|
+
@media (min-width: ${g}) and (max-width: ${_}) {
|
|
63
|
+
--_blockquote-quote-font: var(--_blockquote-md-custom-font);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@container layout-container (min-width: ${g}) and (max-width: ${_}) {
|
|
67
|
+
--_blockquote-quote-font: var(--_blockquote-md-custom-font);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host([data-lg-custom-size]) {
|
|
72
|
+
@media (min-width: ${v}) {
|
|
73
|
+
--_blockquote-quote-font: var(--_blockquote-lg-custom-font);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@container layout-container (min-width: ${v}) {
|
|
77
|
+
--_blockquote-quote-font: var(--_blockquote-lg-custom-font);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/* # Block */
|
|
83
|
+
|
|
84
|
+
.blockquote {
|
|
85
|
+
display: flex;
|
|
86
|
+
margin: 0;
|
|
87
|
+
border-left: var(--semantics-blockquotes-border);
|
|
88
|
+
padding-inline: var(--_blockquote-spacing);
|
|
89
|
+
padding-bottom: 0;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
gap: calc(var(--_blockquote-spacing) / 2);
|
|
92
|
+
color: var(--semantics-content-color);
|
|
93
|
+
text-wrap: pretty;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
/* # Elements */
|
|
98
|
+
|
|
99
|
+
.blockquote__quote {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
gap: calc(1lh / 2);
|
|
103
|
+
font: var(--_blockquote-quote-font);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.blockquote__attribution {
|
|
107
|
+
display: block;
|
|
108
|
+
font: var(--_blockquote-attribution-font);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.blockquote__attribution::before {
|
|
112
|
+
content: '— ' / '';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.blockquote__attribution.is-identity::before {
|
|
116
|
+
content: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.blockquote__attribution[hidden] {
|
|
120
|
+
display: none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
::slotted(p) {
|
|
124
|
+
${u}
|
|
125
|
+
${d}
|
|
126
|
+
margin: 0 !important;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.blockquote__attribution::slotted(p) {
|
|
130
|
+
display: inline !important;
|
|
131
|
+
}
|
|
132
|
+
`;
|
|
133
|
+
// src/components/content/blockquote/blockquote.template.ts
|
|
134
|
+
function b(e) {
|
|
135
|
+
return a`
|
|
136
|
+
<blockquote class="blockquote"
|
|
137
|
+
cite=${e.cite || o}
|
|
138
|
+
>
|
|
139
|
+
<div class="blockquote__quote">
|
|
140
|
+
<slot></slot>
|
|
141
|
+
</div>
|
|
142
|
+
<slot class="blockquote__attribution${e._hasIdentityAttribution ? " is-identity" : ""}"
|
|
143
|
+
name="attribution"
|
|
144
|
+
?hidden=${!e._hasAttribution}
|
|
145
|
+
@slotchange=${e._handleAttributionSlotChange}
|
|
146
|
+
></slot>
|
|
147
|
+
</blockquote>
|
|
148
|
+
`;
|
|
149
|
+
}
|
|
150
|
+
// src/components/content/blockquote/blockquote.ts
|
|
151
|
+
var x, S = {
|
|
152
|
+
sm: "var(--primitives-font-size-200)",
|
|
153
|
+
md: "var(--primitives-font-size-300)",
|
|
154
|
+
lg: "var(--primitives-font-size-300)"
|
|
155
|
+
}, C = (x = class extends i {
|
|
156
|
+
constructor(...e) {
|
|
157
|
+
super(...e), this.cite = void 0, this.smCustomSize = "", this.mdCustomSize = "", this.lgCustomSize = "", this._hasAttribution = !1, this._hasIdentityAttribution = !1, this._handleAttributionSlotChange = (e) => {
|
|
158
|
+
let t = e.target;
|
|
159
|
+
this._hasAttribution = t.assignedNodes({ flatten: !0 }).some((e) => e.nodeType === Node.ELEMENT_NODE || (e.textContent ?? "").trim().length > 0), this._hasIdentityAttribution = t.assignedElements({ flatten: !0 }).some((e) => e.tagName === "NLDD-IDENTITY");
|
|
160
|
+
}, this._customSizes = {};
|
|
161
|
+
}
|
|
162
|
+
willUpdate(e) {
|
|
163
|
+
super.willUpdate(e), (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && (this._customSizes = p(this, "blockquote", {
|
|
164
|
+
sm: this.smCustomSize,
|
|
165
|
+
md: this.mdCustomSize,
|
|
166
|
+
lg: this.lgCustomSize
|
|
167
|
+
}));
|
|
168
|
+
}
|
|
169
|
+
updated(e) {
|
|
170
|
+
super.updated(e), import.meta.env?.DEV && (e.has("smCustomSize") || e.has("mdCustomSize") || e.has("lgCustomSize")) && m(this, this._customSizes, S);
|
|
171
|
+
}
|
|
172
|
+
render() {
|
|
173
|
+
return b(this);
|
|
174
|
+
}
|
|
175
|
+
}, x.styles = y, x);
|
|
176
|
+
s([n({ type: String })], C.prototype, "cite", void 0), s([n({
|
|
177
|
+
reflect: !0,
|
|
178
|
+
attribute: "sm-custom-size",
|
|
179
|
+
converter: l("")
|
|
180
|
+
})], C.prototype, "smCustomSize", void 0), s([n({
|
|
181
|
+
reflect: !0,
|
|
182
|
+
attribute: "md-custom-size",
|
|
183
|
+
converter: l("")
|
|
184
|
+
})], C.prototype, "mdCustomSize", void 0), s([n({
|
|
185
|
+
reflect: !0,
|
|
186
|
+
attribute: "lg-custom-size",
|
|
187
|
+
converter: l("")
|
|
188
|
+
})], C.prototype, "lgCustomSize", void 0), s([r()], C.prototype, "_hasAttribution", void 0), s([r()], C.prototype, "_hasIdentityAttribution", void 0), C = s([c("nldd-blockquote")], C);
|
|
189
|
+
export { C as NLDDBlockquote };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { i as e, n as t } from "./custom-element-q6NzoL5b.js";
|
|
2
|
+
import { n, o as r, t as i } from "./decorate-TduJMFD_.js";
|
|
3
|
+
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
+
// src/components/layout/box/box.styles.ts
|
|
6
|
+
var s = e`
|
|
7
|
+
:host {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/* # Host */
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
--_box-corner-radius: var(--semantics-surfaces-corner-radius);
|
|
16
|
+
--_box-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
17
|
+
--_box-border-width: var(--semantics-surfaces-highlight-border-width);
|
|
18
|
+
--_box-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
19
|
+
--_box-highlight-border: inset 0 0 0 var(--_box-border-width) var(--_box-border-color);
|
|
20
|
+
|
|
21
|
+
display: block;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([hidden]) {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
/* ## Backgrounds */
|
|
31
|
+
|
|
32
|
+
:host([background="base"]) {
|
|
33
|
+
--_box-background-color: var(--semantics-surfaces-base-background-color);
|
|
34
|
+
--_box-border-color: var(--semantics-surfaces-base-highlight-border-color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:host([background="accent-tinted"]) {
|
|
38
|
+
--_box-background-color: var(--semantics-surfaces-accent-tinted-background-color);
|
|
39
|
+
--_box-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:host([background="critical"]) {
|
|
43
|
+
--_box-background-color: var(--semantics-surfaces-critical-tinted-background-color);
|
|
44
|
+
--_box-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/* # Block */
|
|
49
|
+
|
|
50
|
+
.box {
|
|
51
|
+
--context-parent-background-color: var(--_box-background-color);
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
border-radius: var(--_box-corner-radius);
|
|
54
|
+
box-shadow: var(--_box-highlight-border);
|
|
55
|
+
background-color: var(--_box-background-color);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
/* # High Contrast */
|
|
60
|
+
|
|
61
|
+
@media (forced-colors: active) {
|
|
62
|
+
.box {
|
|
63
|
+
border: var(--_box-border-width) solid CanvasText;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
`;
|
|
67
|
+
// src/components/layout/box/box.template.ts
|
|
68
|
+
function c(e) {
|
|
69
|
+
return r`
|
|
70
|
+
<div class="box">
|
|
71
|
+
<slot></slot>
|
|
72
|
+
</div>
|
|
73
|
+
`;
|
|
74
|
+
}
|
|
75
|
+
// src/components/layout/box/box.ts
|
|
76
|
+
var l = class extends n {
|
|
77
|
+
constructor(...e) {
|
|
78
|
+
super(...e), this.background = "tinted";
|
|
79
|
+
}
|
|
80
|
+
render() {
|
|
81
|
+
return c(this);
|
|
82
|
+
}
|
|
83
|
+
}, u = (l.styles = s, l);
|
|
84
|
+
i([t({
|
|
85
|
+
reflect: !0,
|
|
86
|
+
converter: o("tinted")
|
|
87
|
+
})], u.prototype, "background", void 0), u = i([a("nldd-box")], u);
|
|
88
|
+
export { u as NLDDBox };
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import "./icon-BORlalt0.js";
|
|
2
|
+
import { i as e, n as t } from "./custom-element-q6NzoL5b.js";
|
|
3
|
+
import { n, o as r, r as i, t as a } from "./decorate-TduJMFD_.js";
|
|
4
|
+
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { t as c } from "./shadow-resets-6SToDsPu.js";
|
|
7
|
+
import { t as l } from "./translations-wxBSz213.js";
|
|
8
|
+
import { t as u } from "./slot-content-BLuPqVXw.js";
|
|
9
|
+
import { t as d } from "./breadcrumbs.i18n-zmO8jaTO.js";
|
|
10
|
+
// src/components/navigation/breadcrumbs/breadcrumbs.styles.ts
|
|
11
|
+
var f = e`
|
|
12
|
+
.breadcrumbs__separator {
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
position: relative;
|
|
15
|
+
top: var(--_breadcrumbs-item-separator-vertical-offset);
|
|
16
|
+
margin-inline: var(--primitives-space-2);
|
|
17
|
+
color: var(--semantics-content-secondary-color);
|
|
18
|
+
width: var(--primitives-space-16);
|
|
19
|
+
height: var(--primitives-space-16);
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
}
|
|
22
|
+
`, p = e`
|
|
23
|
+
:host {
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
}
|
|
26
|
+
:host {
|
|
27
|
+
${c}
|
|
28
|
+
display: block;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host([hidden]) {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.breadcrumbs {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.breadcrumbs__items {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-wrap: wrap;
|
|
42
|
+
row-gap: var(--primitives-space-4);
|
|
43
|
+
}
|
|
44
|
+
`, m = e`
|
|
45
|
+
:host {
|
|
46
|
+
/* Small downward offset so the chevron-right-small icon sits closer
|
|
47
|
+
to the text's optical centerline (the icon's bbox renders slightly
|
|
48
|
+
above the visual baseline). */
|
|
49
|
+
--_breadcrumbs-item-separator-vertical-offset: 0.05em;
|
|
50
|
+
|
|
51
|
+
${c}
|
|
52
|
+
display: inline-flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([hidden]) {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.breadcrumbs__item {
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
color: var(--semantics-content-color);
|
|
64
|
+
font: var(--primitives-font-body-md-regular-tight);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.breadcrumbs__item-link {
|
|
68
|
+
color: var(--semantics-links-color);
|
|
69
|
+
text-decoration: underline;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.breadcrumbs__item-link:hover {
|
|
73
|
+
color: var(--semantics-links-is-hovered-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.breadcrumbs__item-link:active {
|
|
77
|
+
color: var(--semantics-links-is-active-color);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.breadcrumbs__item-link:focus-visible {
|
|
81
|
+
outline: var(--semantics-focus-ring-outline);
|
|
82
|
+
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
83
|
+
border-radius: var(--primitives-corner-radius-xs);
|
|
84
|
+
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
${f}
|
|
88
|
+
|
|
89
|
+
:host(:last-of-type) .breadcrumbs__separator {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
`;
|
|
93
|
+
// src/components/navigation/breadcrumbs/breadcrumbs.template.ts
|
|
94
|
+
function h(e) {
|
|
95
|
+
let t = e._t("components.breadcrumbs.accessible-label");
|
|
96
|
+
return r`
|
|
97
|
+
<nav class="breadcrumbs"
|
|
98
|
+
aria-label=${t || i}
|
|
99
|
+
>
|
|
100
|
+
<div class="breadcrumbs__items"
|
|
101
|
+
role="list"
|
|
102
|
+
>
|
|
103
|
+
<slot></slot>
|
|
104
|
+
</div>
|
|
105
|
+
</nav>
|
|
106
|
+
`;
|
|
107
|
+
}
|
|
108
|
+
function g(e) {
|
|
109
|
+
let t = r`${e._textSlot.has ? i : e.text}<slot @slotchange=${e._textSlot.onChange}></slot>`, n = r`<span class="breadcrumbs__separator"
|
|
110
|
+
aria-hidden="true"
|
|
111
|
+
><nldd-icon icon="chevron-right-small"></nldd-icon></span>`;
|
|
112
|
+
return !e.current && e.href ? r`
|
|
113
|
+
<span class="breadcrumbs__item">
|
|
114
|
+
<a class="breadcrumbs__item-link"
|
|
115
|
+
href=${e.href}
|
|
116
|
+
>${t}</a>
|
|
117
|
+
</span>${n}
|
|
118
|
+
` : r`<span class="breadcrumbs__item"
|
|
119
|
+
aria-current=${e.current ? "page" : i}
|
|
120
|
+
>${t}</span>${n}`;
|
|
121
|
+
}
|
|
122
|
+
// src/components/navigation/breadcrumbs/breadcrumbs.ts
|
|
123
|
+
var _, v, y = class extends n {
|
|
124
|
+
constructor(...e) {
|
|
125
|
+
super(...e), this._textSlot = new u(this), this.current = !1, this.text = "";
|
|
126
|
+
}
|
|
127
|
+
connectedCallback() {
|
|
128
|
+
super.connectedCallback(), this.hasAttribute("role") || this.setAttribute("role", "listitem");
|
|
129
|
+
}
|
|
130
|
+
updated(e) {
|
|
131
|
+
e.has("current") && (this.current ? this.setAttribute("aria-current", "page") : this.removeAttribute("aria-current"));
|
|
132
|
+
}
|
|
133
|
+
render() {
|
|
134
|
+
return g(this);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
_ = y, _.styles = m, a([t({
|
|
138
|
+
type: String,
|
|
139
|
+
reflect: !0
|
|
140
|
+
})], y.prototype, "href", void 0), a([t({
|
|
141
|
+
type: Boolean,
|
|
142
|
+
reflect: !0
|
|
143
|
+
})], y.prototype, "current", void 0), a([t({
|
|
144
|
+
reflect: !0,
|
|
145
|
+
converter: s("")
|
|
146
|
+
})], y.prototype, "text", void 0), customElements.get("nldd-breadcrumbs-item") || customElements.define("nldd-breadcrumbs-item", y);
|
|
147
|
+
var b = (v = class extends n {
|
|
148
|
+
constructor(...e) {
|
|
149
|
+
super(...e), this.accessibleLabel = "", this.translations = {};
|
|
150
|
+
}
|
|
151
|
+
_t(e) {
|
|
152
|
+
return e === "components.breadcrumbs.accessible-label" && this.accessibleLabel ? this.accessibleLabel : l(this.translations, d, e);
|
|
153
|
+
}
|
|
154
|
+
render() {
|
|
155
|
+
return h(this);
|
|
156
|
+
}
|
|
157
|
+
}, v.styles = p, v);
|
|
158
|
+
a([t({
|
|
159
|
+
type: String,
|
|
160
|
+
attribute: "accessible-label"
|
|
161
|
+
})], b.prototype, "accessibleLabel", void 0), a([t({ type: Object })], b.prototype, "translations", void 0), b = a([o("nldd-breadcrumbs")], b);
|
|
162
|
+
export { b as NLDDBreadcrumbs, y as NLDDBreadcrumbsItem };
|