@nldd/design-system 0.20.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 +204 -8
- 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-_Eox7ZfO.js → cdn/chunks/icon-BORlalt0.js} +298 -308
- 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/menu/menu-item.d.ts +6 -2
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +12 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.js +1 -1
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +2 -1
- package/dist/components/actions/menu/menu.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/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/lists-and-tables/list-item/list-item.d.ts +7 -0
- 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 +13 -3
- package/dist/components/lists-and-tables/list-item/list-item.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/nldd.min.js +298 -298
- package/dist/types/react.d.ts +3323 -0
- package/dist/types/vue.d.ts +11 -3
- 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 +12 -2
- package/dist/utilities/dev-rules.generated.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/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 -68243
- package/dist/components/decorate-DD7uUxHb.js +0 -51
- package/dist/components/defer-focus-dzorHsCQ.js +0 -176
- package/dist/components/dev-checks-CLB9G43h.js +0 -2711
- 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-8gvQCwCW.js +0 -2305
- package/dist/components/input-modality-D_CY185R.js +0 -48
- package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
- package/dist/components/nl.generated-DzZkOgnP.js +0 -64
- 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-Dzn48SL8.js +0 -153
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// src/components/navigation/top-navigation-bar/top-navigation-bar.i18n.ts
|
|
2
|
+
var e = {
|
|
3
|
+
"components.top-navigation-bar.global-menu-bar-label": "Hoofdnavigatie",
|
|
4
|
+
"components.top-navigation-bar.back-action": "Terug",
|
|
5
|
+
"components.top-navigation-bar.menu-action": "Menu",
|
|
6
|
+
"components.top-navigation-bar.logo-label": "Rijkswapen - Rijksoverheid",
|
|
7
|
+
"components.top-navigation-bar.utility-menu-bar-label": "Hulplinks",
|
|
8
|
+
"components.top-navigation-bar.menu-sheet-dismiss-action": "Sluit"
|
|
9
|
+
};
|
|
10
|
+
export { e as t };
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
import { r as e } from "./icon-BORlalt0.js";
|
|
2
|
+
import { i as t, n, t as r } from "./custom-element-q6NzoL5b.js";
|
|
3
|
+
import { n as i, o as a, r as o, t as s } from "./decorate-TduJMFD_.js";
|
|
4
|
+
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { r as u } from "./element-state-B-44fVqq.js";
|
|
7
|
+
import { t as d } from "./shadow-resets-6SToDsPu.js";
|
|
8
|
+
import "./button-DO90Lo6q.js";
|
|
9
|
+
import "./icon-button-rKiIHs7A.js";
|
|
10
|
+
import { n as f, r as p } from "./static-html-Cf4ccUIg.js";
|
|
11
|
+
// src/components/navigation/top-title-bar/top-title-bar.styles.ts
|
|
12
|
+
var m = t`
|
|
13
|
+
:host {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/* # Host */
|
|
19
|
+
|
|
20
|
+
:host {
|
|
21
|
+
--_top-title-bar-divider-color: light-dark(var(--primitives-color-neutral-150), var(--primitives-color-neutral-350));
|
|
22
|
+
|
|
23
|
+
${d}
|
|
24
|
+
display: block;
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([hidden]) {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/* # Block */
|
|
34
|
+
|
|
35
|
+
.top-title-bar {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
display: flex;
|
|
38
|
+
width: 100%;
|
|
39
|
+
padding-inline: var(--primitives-space-6);
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
align-items: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/* # Elements */
|
|
46
|
+
|
|
47
|
+
.top-title-bar__start {
|
|
48
|
+
display: flex;
|
|
49
|
+
min-width: 0;
|
|
50
|
+
flex-direction: row;
|
|
51
|
+
flex-grow: 1;
|
|
52
|
+
flex-shrink: 1;
|
|
53
|
+
flex-basis: 0;
|
|
54
|
+
align-items: center;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.top-title-bar__end {
|
|
58
|
+
display: flex;
|
|
59
|
+
margin-top: var(--primitives-space-6);
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
flex-grow: 0;
|
|
62
|
+
flex-shrink: 0;
|
|
63
|
+
align-items: center;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.top-title-bar__end[hidden] {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.top-title-bar__back-button {
|
|
71
|
+
display: var(--context-back-button-display, flex);
|
|
72
|
+
margin-top: var(--primitives-space-6);
|
|
73
|
+
min-width: 0;
|
|
74
|
+
flex-direction: row;
|
|
75
|
+
align-items: center;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.top-title-bar__text-back-button {
|
|
79
|
+
display: flex;
|
|
80
|
+
min-width: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:host(.is-compact) .top-title-bar__text-back-button {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.top-title-bar__icon-back-button {
|
|
88
|
+
display: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:host(.is-compact) .top-title-bar__icon-back-button {
|
|
92
|
+
display: flex;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.top-title-bar__divider {
|
|
96
|
+
display: none;
|
|
97
|
+
background-color: var(--_top-title-bar-divider-color);
|
|
98
|
+
width: var(--semantics-dividers-thickness);
|
|
99
|
+
height: var(--primitives-space-24);
|
|
100
|
+
flex-shrink: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:host(.is-compact) .top-title-bar__divider {
|
|
104
|
+
display: block;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.top-title-bar__title-group {
|
|
108
|
+
display: none;
|
|
109
|
+
margin-top: var(--primitives-space-6);
|
|
110
|
+
min-width: 0;
|
|
111
|
+
min-height: var(--semantics-controls-md-min-size);
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
padding-inline: var(--primitives-space-10);
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
flex-grow: 1;
|
|
116
|
+
flex-shrink: 1;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
:host(.is-compact) .top-title-bar__title-group {
|
|
121
|
+
display: flex;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.top-title-bar__title {
|
|
125
|
+
margin: 0;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
color: var(--semantics-content-color);
|
|
128
|
+
font: var(--primitives-font-body-lg-semi-bold-flat);
|
|
129
|
+
text-overflow: ellipsis;
|
|
130
|
+
white-space: nowrap;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.top-title-bar__title:has(+ .top-title-bar__supporting-text) {
|
|
134
|
+
font: var(--primitives-font-body-md-semi-bold-flat);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@media (forced-colors: active) {
|
|
138
|
+
.top-title-bar__title {
|
|
139
|
+
color: CanvasText;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.top-title-bar__supporting-text {
|
|
144
|
+
margin: 0;
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
color: var(--semantics-content-secondary-color);
|
|
147
|
+
font: var(--primitives-font-body-xxs-regular-flat);
|
|
148
|
+
text-overflow: ellipsis;
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.top-title-bar__dismiss-button {
|
|
153
|
+
display: var(--context-dismiss-button-display, block);
|
|
154
|
+
}
|
|
155
|
+
`, h = {
|
|
156
|
+
1: f("h1"),
|
|
157
|
+
2: f("h2"),
|
|
158
|
+
3: f("h3"),
|
|
159
|
+
4: f("h4"),
|
|
160
|
+
5: f("h5"),
|
|
161
|
+
6: f("h6")
|
|
162
|
+
};
|
|
163
|
+
function g(e) {
|
|
164
|
+
let t = !!e.backText, n = h[e.headingLevel] ?? h[1];
|
|
165
|
+
return a`
|
|
166
|
+
<div class="top-title-bar">
|
|
167
|
+
<div class="top-title-bar__start">
|
|
168
|
+
${t ? a`
|
|
169
|
+
<div class="top-title-bar__back-button">
|
|
170
|
+
<div class="top-title-bar__text-back-button">
|
|
171
|
+
<nldd-button
|
|
172
|
+
appearance="accent-transparent"
|
|
173
|
+
start-icon="chevron-left"
|
|
174
|
+
text=${e.backText}
|
|
175
|
+
href=${e.backHref || o}
|
|
176
|
+
single-line
|
|
177
|
+
@click=${e._handleBack}
|
|
178
|
+
></nldd-button>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="top-title-bar__icon-back-button">
|
|
181
|
+
<nldd-icon-button
|
|
182
|
+
appearance="accent-transparent"
|
|
183
|
+
icon="chevron-left"
|
|
184
|
+
text=${e.backText}
|
|
185
|
+
accessible-label=${e.backText || o}
|
|
186
|
+
href=${e.backHref || o}
|
|
187
|
+
@click=${e._handleBack}
|
|
188
|
+
></nldd-icon-button>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="top-title-bar__divider"></div>
|
|
191
|
+
</div>
|
|
192
|
+
` : o}
|
|
193
|
+
<div class="top-title-bar__title-group"
|
|
194
|
+
aria-hidden=${e._hidesTitle ? "true" : o}
|
|
195
|
+
>
|
|
196
|
+
${p`<${n} class="top-title-bar__title">${e.text}</${n}>`}
|
|
197
|
+
${e.supportingText ? a`
|
|
198
|
+
<p class="top-title-bar__supporting-text">${e.supportingText}</p>
|
|
199
|
+
` : o}
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
<div class="top-title-bar__end"
|
|
203
|
+
?hidden=${!e.dismissText && !e._hasToolbarItems}
|
|
204
|
+
>
|
|
205
|
+
<slot
|
|
206
|
+
name="toolbar"
|
|
207
|
+
@slotchange=${e._onToolbarSlotChange}
|
|
208
|
+
></slot>
|
|
209
|
+
${e.dismissText ? a`
|
|
210
|
+
<div class="top-title-bar__dismiss-button">
|
|
211
|
+
<nldd-button
|
|
212
|
+
appearance="accent-transparent"
|
|
213
|
+
text=${e.dismissText}
|
|
214
|
+
@click=${e._handleDismiss}
|
|
215
|
+
></nldd-button>
|
|
216
|
+
</div>
|
|
217
|
+
` : o}
|
|
218
|
+
</div>
|
|
219
|
+
</div>
|
|
220
|
+
`;
|
|
221
|
+
}
|
|
222
|
+
// src/components/navigation/top-title-bar/top-title-bar.ts
|
|
223
|
+
var _ = /* @__PURE__ */ e({ NLDDTopTitleBar: () => y }), v = class extends i {
|
|
224
|
+
constructor(...e) {
|
|
225
|
+
super(...e), this.text = "", this.supportingText = "", this.headingLevel = 1, this.collapseAnchor = "", this.backText = "", this.backHref = "", this.dismissText = "", this._hasToolbarItems = !1, this._pageElement = null, this._anchorElement = null, this._activeScrollTarget = null, this._scrollTargetStyleObserver = null, this._pageModeObserver = null, this._anchorLayoutObserver = null, this._anchorAppearObserver = null, this._boundOnScroll = this._onScroll.bind(this), this._gaveHeadingLevel = !1, this._onToolbarSlotChange = (e) => {
|
|
226
|
+
let t = e.target;
|
|
227
|
+
this._hasToolbarItems = t.assignedElements().length > 0;
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
connectedCallback() {
|
|
231
|
+
super.connectedCallback(), this._connectPage(), this._connectAnchor(), this._updateAutoCompact();
|
|
232
|
+
}
|
|
233
|
+
disconnectedCallback() {
|
|
234
|
+
super.disconnectedCallback(), this._teardownAnchor();
|
|
235
|
+
}
|
|
236
|
+
updated(e) {
|
|
237
|
+
e.has("collapseAnchor") ? (this._teardownAnchor(), this.collapseAnchor && this._connectAnchor(), this._updateAutoCompact()) : e.has("text") && this._updateAutoCompact(), (e.has("_anchorElement") || e.has("headingLevel") && this._gaveHeadingLevel) && this._syncAnchorHeading();
|
|
238
|
+
}
|
|
239
|
+
_updateAutoCompact() {
|
|
240
|
+
this.collapseAnchor || this.classList.toggle("is-compact", !!this.text);
|
|
241
|
+
}
|
|
242
|
+
_connectPage() {
|
|
243
|
+
let e = this;
|
|
244
|
+
for (; e;) {
|
|
245
|
+
if (e.tagName.toLowerCase() === "nldd-page") {
|
|
246
|
+
this._pageElement = e;
|
|
247
|
+
return;
|
|
248
|
+
}
|
|
249
|
+
e = e.parentElement ?? (e.getRootNode() instanceof ShadowRoot ? e.getRootNode().host : null);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
get _hasAnchor() {
|
|
253
|
+
return this._anchorElement !== null;
|
|
254
|
+
}
|
|
255
|
+
get _hidesTitle() {
|
|
256
|
+
let e = this._anchorElement;
|
|
257
|
+
if (!e) return !1;
|
|
258
|
+
let t = "h1, h2, h3, h4, h5, h6, [role=\"heading\"]";
|
|
259
|
+
return e.localName === "nldd-title" || e.matches(t) || e.querySelector(t) !== null;
|
|
260
|
+
}
|
|
261
|
+
_syncAnchorHeading() {
|
|
262
|
+
let e = this._anchorElement;
|
|
263
|
+
e && (e.localName === "nldd-title" ? ((!e.hasAttribute("heading-level") || this._gaveHeadingLevel) && (e.setAttribute("heading-level", String(this.headingLevel)), this._gaveHeadingLevel = !0), u(this, "anchor-not-heading", !1)) : u(this, "anchor-not-heading", !this._hidesTitle));
|
|
264
|
+
}
|
|
265
|
+
_connectAnchor() {
|
|
266
|
+
if (!this.collapseAnchor) {
|
|
267
|
+
u(this, "no-anchor", !1);
|
|
268
|
+
return;
|
|
269
|
+
}
|
|
270
|
+
let e = this.getRootNode();
|
|
271
|
+
this._anchorElement = e.getElementById?.(this.collapseAnchor) ?? e.querySelector(`#${this.collapseAnchor}`), u(this, "no-anchor", !this._anchorElement), this._anchorElement ? (this._wireScrollTarget(), this._pageElement && (this._pageModeObserver = new MutationObserver(() => this._wireScrollTarget()), this._pageModeObserver.observe(this._pageElement, {
|
|
272
|
+
attributes: !0,
|
|
273
|
+
attributeFilter: ["data-scroll"]
|
|
274
|
+
})), this._anchorLayoutObserver = new ResizeObserver(() => this._onScroll()), this._anchorLayoutObserver.observe(this._anchorElement), this.updateComplete.then(() => this._onScroll())) : this._waitForAnchor(e);
|
|
275
|
+
}
|
|
276
|
+
_waitForAnchor(e) {
|
|
277
|
+
this._anchorAppearObserver = new MutationObserver(() => {
|
|
278
|
+
(e.getElementById?.(this.collapseAnchor) ?? e.querySelector(`#${this.collapseAnchor}`)) && (this._anchorAppearObserver?.disconnect(), this._anchorAppearObserver = null, this._connectAnchor());
|
|
279
|
+
}), this._anchorAppearObserver.observe(e, {
|
|
280
|
+
childList: !0,
|
|
281
|
+
subtree: !0
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
_wireScrollTarget() {
|
|
285
|
+
this._activeScrollTarget?.removeEventListener("scroll", this._boundOnScroll), this._scrollTargetStyleObserver?.disconnect(), this._scrollTargetStyleObserver = null;
|
|
286
|
+
let e = this._pageElement;
|
|
287
|
+
this._activeScrollTarget = e ? e.scrollEventTarget : window, this._activeScrollTarget.addEventListener("scroll", this._boundOnScroll, { passive: !0 }), this._activeScrollTarget instanceof Element && (this._scrollTargetStyleObserver = new MutationObserver(() => this._onScroll()), this._scrollTargetStyleObserver.observe(this._activeScrollTarget, {
|
|
288
|
+
attributes: !0,
|
|
289
|
+
attributeFilter: ["style"]
|
|
290
|
+
})), this._onScroll();
|
|
291
|
+
}
|
|
292
|
+
_teardownAnchor() {
|
|
293
|
+
this._gaveHeadingLevel = !1, u(this, "anchor-not-heading", !1), this._activeScrollTarget?.removeEventListener("scroll", this._boundOnScroll), this._activeScrollTarget = null, this._anchorElement = null, this._scrollTargetStyleObserver?.disconnect(), this._scrollTargetStyleObserver = null, this._pageModeObserver?.disconnect(), this._pageModeObserver = null, this._anchorLayoutObserver?.disconnect(), this._anchorLayoutObserver = null, this._anchorAppearObserver?.disconnect(), this._anchorAppearObserver = null;
|
|
294
|
+
}
|
|
295
|
+
_onScroll() {
|
|
296
|
+
if (!this._anchorElement || !this._pageElement) return;
|
|
297
|
+
let e = this._anchorElement.getBoundingClientRect();
|
|
298
|
+
if (e.width === 0 && e.height === 0) return;
|
|
299
|
+
let t = this.getBoundingClientRect().top;
|
|
300
|
+
this.classList.toggle("is-compact", e.top <= t);
|
|
301
|
+
}
|
|
302
|
+
_handleBack() {
|
|
303
|
+
this.backHref || this.dispatchEvent(new CustomEvent("back", {
|
|
304
|
+
bubbles: !0,
|
|
305
|
+
composed: !0
|
|
306
|
+
}));
|
|
307
|
+
}
|
|
308
|
+
_handleDismiss() {
|
|
309
|
+
this.dispatchEvent(new CustomEvent("dismiss", {
|
|
310
|
+
bubbles: !0,
|
|
311
|
+
composed: !0
|
|
312
|
+
}));
|
|
313
|
+
}
|
|
314
|
+
render() {
|
|
315
|
+
return g(this);
|
|
316
|
+
}
|
|
317
|
+
}, y = (v.styles = m, v);
|
|
318
|
+
s([n({
|
|
319
|
+
reflect: !0,
|
|
320
|
+
converter: l("")
|
|
321
|
+
})], y.prototype, "text", void 0), s([n({
|
|
322
|
+
reflect: !0,
|
|
323
|
+
attribute: "supporting-text",
|
|
324
|
+
converter: l("")
|
|
325
|
+
})], y.prototype, "supportingText", void 0), s([n({
|
|
326
|
+
reflect: !0,
|
|
327
|
+
attribute: "heading-level",
|
|
328
|
+
converter: l(1)
|
|
329
|
+
})], y.prototype, "headingLevel", void 0), s([n({
|
|
330
|
+
type: String,
|
|
331
|
+
attribute: "collapse-anchor"
|
|
332
|
+
})], y.prototype, "collapseAnchor", void 0), s([n({
|
|
333
|
+
reflect: !0,
|
|
334
|
+
attribute: "back-text",
|
|
335
|
+
converter: l("")
|
|
336
|
+
})], y.prototype, "backText", void 0), s([n({
|
|
337
|
+
type: String,
|
|
338
|
+
attribute: "back-href"
|
|
339
|
+
})], y.prototype, "backHref", void 0), s([n({
|
|
340
|
+
reflect: !0,
|
|
341
|
+
attribute: "dismiss-text",
|
|
342
|
+
converter: l("")
|
|
343
|
+
})], y.prototype, "dismissText", void 0), s([r()], y.prototype, "_hasToolbarItems", void 0), s([r()], y.prototype, "_anchorElement", void 0), y = s([c("nldd-top-title-bar")], y);
|
|
344
|
+
export { _ as t };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// src/utilities/translations.ts
|
|
2
|
+
var e, t = Symbol.for("nldd.translations"), n = (e = globalThis)[t] ?? (e[t] = { translations: {} });
|
|
3
|
+
function r(e, t, r, i) {
|
|
4
|
+
let a = r, o = e?.[r] ?? n.translations[a] ?? t[r] ?? a;
|
|
5
|
+
if (i) for (let [e, t] of Object.entries(i)) o = o.split(`{${e}}`).join(String(t));
|
|
6
|
+
return o;
|
|
7
|
+
}
|
|
8
|
+
export { r as t };
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { a as e, i as t, n } from "./custom-element-q6NzoL5b.js";
|
|
2
|
+
import { n as r, o as i, t as a } from "./decorate-TduJMFD_.js";
|
|
3
|
+
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
+
import { i as c, n as l } from "./breakpoints-Cwor8TRP.js";
|
|
6
|
+
import { n as u, t as d } from "./page-section-mixin-Dp6X8GKd.js";
|
|
7
|
+
// src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts
|
|
8
|
+
var f = e(l.smMax), p = e(l.mdMin), m = e(l.mdMax), h = e(l.lgMin), g = e(c.stackedMax), _ = t`
|
|
9
|
+
:host {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* # Host */
|
|
15
|
+
|
|
16
|
+
:host {
|
|
17
|
+
container-type: inline-size;
|
|
18
|
+
/* Block-padding overrides from PageSectionMixin; 'initial' lets the
|
|
19
|
+
block fall back to the responsive default until the mixin sets one. */
|
|
20
|
+
--_two-thirds-one-third-section-padding-top: initial;
|
|
21
|
+
--_two-thirds-one-third-section-padding-bottom: initial;
|
|
22
|
+
--_two-thirds-one-third-section-sm-padding-top: initial;
|
|
23
|
+
--_two-thirds-one-third-section-sm-padding-bottom: initial;
|
|
24
|
+
--_two-thirds-one-third-section-md-padding-top: initial;
|
|
25
|
+
--_two-thirds-one-third-section-md-padding-bottom: initial;
|
|
26
|
+
--_two-thirds-one-third-section-lg-padding-top: initial;
|
|
27
|
+
--_two-thirds-one-third-section-lg-padding-bottom: initial;
|
|
28
|
+
--_two-thirds-one-third-section-max-width: var(--semantics-page-sections-body-max-width);
|
|
29
|
+
|
|
30
|
+
display: flex;
|
|
31
|
+
width: 100%;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
align-items: center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host([hidden]) {
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host([data-growing]),
|
|
41
|
+
:host([grow]) {
|
|
42
|
+
flex-grow: 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:host([width="full"]) {
|
|
46
|
+
--_two-thirds-one-third-section-max-width: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/* # Block */
|
|
51
|
+
|
|
52
|
+
.two-thirds-one-third-section {
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
display: flex;
|
|
55
|
+
width: 100%;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
align-items: center;
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
@container (max-width: ${f}) {
|
|
61
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
62
|
+
padding-top: var(--_two-thirds-one-third-section-sm-padding-top, var(--_two-thirds-one-third-section-padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
63
|
+
padding-bottom: var(--_two-thirds-one-third-section-sm-padding-bottom, var(--_two-thirds-one-third-section-padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@container (min-width: ${p}) and (max-width: ${m}) {
|
|
67
|
+
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
68
|
+
padding-top: var(--_two-thirds-one-third-section-md-padding-top, var(--_two-thirds-one-third-section-padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
69
|
+
padding-bottom: var(--_two-thirds-one-third-section-md-padding-bottom, var(--_two-thirds-one-third-section-padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@container (min-width: ${h}) {
|
|
73
|
+
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
74
|
+
padding-top: var(--_two-thirds-one-third-section-lg-padding-top, var(--_two-thirds-one-third-section-padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
75
|
+
padding-bottom: var(--_two-thirds-one-third-section-lg-padding-bottom, var(--_two-thirds-one-third-section-padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
/* # Elements */
|
|
81
|
+
|
|
82
|
+
.two-thirds-one-third-section__body {
|
|
83
|
+
display: flex;
|
|
84
|
+
width: 100%;
|
|
85
|
+
max-width: var(--_two-thirds-one-third-section-max-width);
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
|
|
88
|
+
@container (max-width: ${f}) {
|
|
89
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@container (min-width: ${p}) and (max-width: ${m}) {
|
|
93
|
+
gap: var(--semantics-page-sections-md-gap);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@container (min-width: ${h}) {
|
|
97
|
+
gap: var(--semantics-page-sections-lg-gap);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.two-thirds-one-third-section__header[hidden],
|
|
102
|
+
.two-thirds-one-third-section__footer[hidden] {
|
|
103
|
+
display: none;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.two-thirds-one-third-section__columns {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-wrap: wrap;
|
|
109
|
+
|
|
110
|
+
/* nowrap stops the column-direction wrap container from stretching the
|
|
111
|
+
shorter column to fill height. */
|
|
112
|
+
@container (max-width: ${g}) {
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
flex-wrap: nowrap;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@container (max-width: ${f}) {
|
|
118
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@container (min-width: ${p}) and (max-width: ${m}) {
|
|
122
|
+
gap: var(--semantics-page-sections-md-gap);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@container (min-width: ${h}) {
|
|
126
|
+
gap: var(--semantics-page-sections-lg-gap);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
:host([vertical-alignment="center"]) .two-thirds-one-third-section__columns {
|
|
131
|
+
@container (width > ${g}) {
|
|
132
|
+
align-items: center;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host([vertical-alignment="bottom"]) .two-thirds-one-third-section__columns {
|
|
137
|
+
@container (width > ${g}) {
|
|
138
|
+
align-items: flex-end;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.two-thirds-one-third-section__left-column {
|
|
143
|
+
min-width: var(--primitives-area-280);
|
|
144
|
+
flex-grow: 2;
|
|
145
|
+
flex-shrink: 1;
|
|
146
|
+
flex-basis: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.two-thirds-one-third-section__right-column {
|
|
150
|
+
min-width: var(--primitives-area-280);
|
|
151
|
+
flex-grow: 1;
|
|
152
|
+
flex-shrink: 1;
|
|
153
|
+
flex-basis: 0;
|
|
154
|
+
}
|
|
155
|
+
`;
|
|
156
|
+
// src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.ts
|
|
157
|
+
function v(e) {
|
|
158
|
+
return i`
|
|
159
|
+
<section class="two-thirds-one-third-section">
|
|
160
|
+
<div class="two-thirds-one-third-section__body">
|
|
161
|
+
<header class="two-thirds-one-third-section__header"
|
|
162
|
+
hidden
|
|
163
|
+
>
|
|
164
|
+
<slot
|
|
165
|
+
name="header"
|
|
166
|
+
@slotchange=${e._onSlotChange}
|
|
167
|
+
></slot>
|
|
168
|
+
</header>
|
|
169
|
+
<div class="two-thirds-one-third-section__columns">
|
|
170
|
+
<div class="two-thirds-one-third-section__left-column">
|
|
171
|
+
<slot></slot>
|
|
172
|
+
<slot name="left"></slot>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="two-thirds-one-third-section__right-column">
|
|
175
|
+
<slot name="right"></slot>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
<footer class="two-thirds-one-third-section__footer"
|
|
179
|
+
hidden
|
|
180
|
+
>
|
|
181
|
+
<slot
|
|
182
|
+
name="footer"
|
|
183
|
+
@slotchange=${e._onSlotChange}
|
|
184
|
+
></slot>
|
|
185
|
+
</footer>
|
|
186
|
+
</div>
|
|
187
|
+
</section>
|
|
188
|
+
`;
|
|
189
|
+
}
|
|
190
|
+
// src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.ts
|
|
191
|
+
var y = class extends d(r) {
|
|
192
|
+
constructor(...e) {
|
|
193
|
+
super(...e), this.width = "", this.verticalAlignment = "top";
|
|
194
|
+
}
|
|
195
|
+
updated(e) {
|
|
196
|
+
if (super.updated(e), e.has("width")) {
|
|
197
|
+
let e = this.width;
|
|
198
|
+
e && e !== "full" && CSS.supports("max-width", e) ? this.style.setProperty("--_two-thirds-one-third-section-max-width", e) : this.style.removeProperty("--_two-thirds-one-third-section-max-width");
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
render() {
|
|
202
|
+
return v(this);
|
|
203
|
+
}
|
|
204
|
+
}, b = (y.styles = [u, _], y);
|
|
205
|
+
a([n({
|
|
206
|
+
reflect: !0,
|
|
207
|
+
converter: s("")
|
|
208
|
+
})], b.prototype, "width", void 0), a([n({
|
|
209
|
+
reflect: !0,
|
|
210
|
+
attribute: "vertical-alignment",
|
|
211
|
+
converter: s("top")
|
|
212
|
+
})], b.prototype, "verticalAlignment", void 0), b = a([o("nldd-two-thirds-one-third-section")], b);
|
|
213
|
+
export { b as NLDDTwoThirdsOneThirdSection };
|