@nldd/design-system 0.20.0 → 0.21.1
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 +361 -10
- 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-GinEMPm9.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-OywRKaWj.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-vmZLo80s.js +662 -0
- package/dist/cdn/chunks/date-field.i18n-BTzc0E9a.js +15 -0
- package/dist/cdn/chunks/date-picker-CXDzSBoL.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-A2DFWrP9.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-DQ52qq5L.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-BLXecYsZ.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-BtxzRedh.js +719 -0
- package/dist/cdn/chunks/menu-bar-BU3Hjk1b.js +253 -0
- package/dist/cdn/chunks/menu-bar-item-C7LQ0NI_.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-CGbeEv_-.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-BzZWhXhc.js +57 -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-CqN7ViYV.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-CFPBdETU.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-DH19p8So.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-CA8K1XjU.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--5K0YTcr.js +607 -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-BpyxOGmU.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-C24LqAzK.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-C_kLPVKD.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-CxV6ELE9.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/content/blockquote/blockquote.d.ts +1 -0
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +1 -0
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +1 -0
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +1 -0
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/image/image.d.ts +1 -0
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +1 -0
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +1 -0
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +1 -0
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.d.ts +1 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +1 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/title/title.d.ts +1 -0
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +1 -0
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +1 -0
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +1 -0
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +1 -0
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +9 -4
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +20 -7
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -0
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +23 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +68 -11
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +4 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +17 -2
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +1 -0
- package/dist/components/inputs/time-field/time-field.template.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/page-sections/hero/hero.d.ts +1 -0
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -0
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +4 -2
- package/dist/components/layout/popover/popover.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 +729 -727
- 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/dist/utilities/return-focus.d.ts +14 -0
- package/dist/utilities/return-focus.d.ts.map +1 -1
- package/dist/utilities/return-focus.js +26 -8
- package/dist/utilities/return-focus.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +53 -1
- package/lint/format.js +6 -5
- package/lint/frontends.js +224 -16
- package/lint/linter.js +5 -3
- package/lint/main.js +36 -9
- package/lint/project.js +73 -4
- package/lint/rule-data.js +17 -2
- package/lint/tree.js +3 -0
- 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,602 @@
|
|
|
1
|
+
import { r as e } from "./icon-BORlalt0.js";
|
|
2
|
+
import { a as t, i as n, n as r, t as i } from "./custom-element-q6NzoL5b.js";
|
|
3
|
+
import { n as a, 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 { n as u } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
+
import { t as d } from "./spacing-scale-SufIjHeN.js";
|
|
8
|
+
// src/components/layout/container/container.styles.ts
|
|
9
|
+
var f = t(u.smMax), p = t(u.mdMin), m = t(u.mdMax), h = t(u.lgMin), g = n`
|
|
10
|
+
:host {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/* # Host — external contract; padding and the query container live on
|
|
16
|
+
.container in the shadow root, out of reach of consumer resets */
|
|
17
|
+
|
|
18
|
+
:host {
|
|
19
|
+
--_container-min-column-width: var(--primitives-area-280);
|
|
20
|
+
--_container-width: 100%;
|
|
21
|
+
--_container-min-width: auto;
|
|
22
|
+
--_container-max-width: none;
|
|
23
|
+
--_container-min-height: auto;
|
|
24
|
+
--_container-justify-content: initial;
|
|
25
|
+
--_container-justify-items: initial;
|
|
26
|
+
--_container-align-items: initial;
|
|
27
|
+
--_container-sm-gap: 0;
|
|
28
|
+
--_container-md-gap: 0;
|
|
29
|
+
--_container-lg-gap: 0;
|
|
30
|
+
--_container-gap: var(--_container-sm-gap);
|
|
31
|
+
--_container-padding-top: 0;
|
|
32
|
+
--_container-padding-right: 0;
|
|
33
|
+
--_container-padding-bottom: 0;
|
|
34
|
+
--_container-padding-left: 0;
|
|
35
|
+
--_container-sm-padding-top: var(--_container-padding-top);
|
|
36
|
+
--_container-sm-padding-right: var(--_container-padding-right);
|
|
37
|
+
--_container-sm-padding-bottom: var(--_container-padding-bottom);
|
|
38
|
+
--_container-sm-padding-left: var(--_container-padding-left);
|
|
39
|
+
--_container-md-padding-top: var(--_container-padding-top);
|
|
40
|
+
--_container-md-padding-right: var(--_container-padding-right);
|
|
41
|
+
--_container-md-padding-bottom: var(--_container-padding-bottom);
|
|
42
|
+
--_container-md-padding-left: var(--_container-padding-left);
|
|
43
|
+
--_container-lg-padding-top: var(--_container-padding-top);
|
|
44
|
+
--_container-lg-padding-right: var(--_container-padding-right);
|
|
45
|
+
--_container-lg-padding-bottom: var(--_container-padding-bottom);
|
|
46
|
+
--_container-lg-padding-left: var(--_container-padding-left);
|
|
47
|
+
--_container-slot-order: 0;
|
|
48
|
+
--_container-slot-sm-order: var(--_container-slot-order);
|
|
49
|
+
--_container-slot-md-order: var(--_container-slot-order);
|
|
50
|
+
--_container-slot-lg-order: var(--_container-slot-order);
|
|
51
|
+
/* Two sets, because a container inside a layout-container follows that
|
|
52
|
+
container and anywhere else the viewport. Multicol reads the gap in three
|
|
53
|
+
rules, so the value is swapped here rather than declared in each. The
|
|
54
|
+
bare --_container-gap is what stands when neither set matches. */
|
|
55
|
+
@media (max-width: ${f}) { --_container-gap: var(--_container-sm-gap); }
|
|
56
|
+
@media (min-width: ${p}) and (max-width: ${m}) { --_container-gap: var(--_container-md-gap); }
|
|
57
|
+
@media (min-width: ${h}) { --_container-gap: var(--_container-lg-gap); }
|
|
58
|
+
|
|
59
|
+
@container layout-container (max-width: ${f}) { --_container-gap: var(--_container-sm-gap); }
|
|
60
|
+
@container layout-container (min-width: ${p}) and (max-width: ${m}) { --_container-gap: var(--_container-md-gap); }
|
|
61
|
+
@container layout-container (min-width: ${h}) { --_container-gap: var(--_container-lg-gap); }
|
|
62
|
+
|
|
63
|
+
display: block;
|
|
64
|
+
width: var(--_container-width);
|
|
65
|
+
min-width: var(--_container-min-width);
|
|
66
|
+
max-width: var(--_container-max-width);
|
|
67
|
+
height: auto;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host([width="fit-content"]) {
|
|
71
|
+
--_container-width: fit-content;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:host([hidden]) {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Same query as shortcutsAvailable() in utilities/shortcut.ts. */
|
|
79
|
+
@media (any-hover: none) {
|
|
80
|
+
:host([hide-on="touch"]) {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@media (any-hover: hover) {
|
|
86
|
+
:host([hide-on="pointer"]) {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
/* # Outer chrome — padding + query container. Size queries measure the
|
|
93
|
+
content box, so .container reports the same padded interior width the
|
|
94
|
+
host reported when it carried the padding itself. */
|
|
95
|
+
|
|
96
|
+
.container {
|
|
97
|
+
container-type: inline-size;
|
|
98
|
+
box-sizing: border-box;
|
|
99
|
+
min-height: var(--_container-min-height);
|
|
100
|
+
padding-top: var(--_container-padding-top);
|
|
101
|
+
padding-right: var(--_container-padding-right);
|
|
102
|
+
padding-bottom: var(--_container-padding-bottom);
|
|
103
|
+
padding-left: var(--_container-padding-left);
|
|
104
|
+
|
|
105
|
+
@media (max-width: ${f}) {
|
|
106
|
+
padding-top: var(--_container-sm-padding-top);
|
|
107
|
+
padding-right: var(--_container-sm-padding-right);
|
|
108
|
+
padding-bottom: var(--_container-sm-padding-bottom);
|
|
109
|
+
padding-left: var(--_container-sm-padding-left);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@media (min-width: ${p}) and (max-width: ${m}) {
|
|
113
|
+
padding-top: var(--_container-md-padding-top);
|
|
114
|
+
padding-right: var(--_container-md-padding-right);
|
|
115
|
+
padding-bottom: var(--_container-md-padding-bottom);
|
|
116
|
+
padding-left: var(--_container-md-padding-left);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (min-width: ${h}) {
|
|
120
|
+
padding-top: var(--_container-lg-padding-top);
|
|
121
|
+
padding-right: var(--_container-lg-padding-right);
|
|
122
|
+
padding-bottom: var(--_container-lg-padding-bottom);
|
|
123
|
+
padding-left: var(--_container-lg-padding-left);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@container layout-container (max-width: ${f}) {
|
|
127
|
+
padding-top: var(--_container-sm-padding-top);
|
|
128
|
+
padding-right: var(--_container-sm-padding-right);
|
|
129
|
+
padding-bottom: var(--_container-sm-padding-bottom);
|
|
130
|
+
padding-left: var(--_container-sm-padding-left);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@container layout-container (min-width: ${p}) and (max-width: ${m}) {
|
|
134
|
+
padding-top: var(--_container-md-padding-top);
|
|
135
|
+
padding-right: var(--_container-md-padding-right);
|
|
136
|
+
padding-bottom: var(--_container-md-padding-bottom);
|
|
137
|
+
padding-left: var(--_container-md-padding-left);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@container layout-container (min-width: ${h}) {
|
|
141
|
+
padding-top: var(--_container-lg-padding-top);
|
|
142
|
+
padding-right: var(--_container-lg-padding-right);
|
|
143
|
+
padding-bottom: var(--_container-lg-padding-bottom);
|
|
144
|
+
padding-left: var(--_container-lg-padding-left);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.container.is-sized-by-content {
|
|
149
|
+
container-type: normal;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
:host([min-height]) .container {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
/* # Inner — actual layout */
|
|
159
|
+
|
|
160
|
+
.container__inner {
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
flex-wrap: nowrap;
|
|
164
|
+
justify-content: var(--_container-justify-content);
|
|
165
|
+
justify-items: var(--_container-justify-items);
|
|
166
|
+
align-items: var(--_container-align-items);
|
|
167
|
+
gap: var(--_container-gap);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
:host([min-height]) .container__inner {
|
|
171
|
+
flex-grow: 1;
|
|
172
|
+
flex-shrink: 1;
|
|
173
|
+
flex-basis: auto;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
:host([layout="row"]) .container__inner {
|
|
177
|
+
flex-direction: row;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
:host([layout="wrap"]) .container__inner {
|
|
181
|
+
flex-direction: row;
|
|
182
|
+
flex-wrap: wrap;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:host([layout="grid"]) .container__inner {
|
|
186
|
+
display: grid;
|
|
187
|
+
grid-template-columns: repeat(
|
|
188
|
+
var(--_container-column-count, auto-fit),
|
|
189
|
+
minmax(var(--_container-track-min, var(--_container-min-column-width)), 1fr)
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:host([layout="columns"]) .container__inner {
|
|
194
|
+
display: block;
|
|
195
|
+
columns: var(--_container-min-column-width);
|
|
196
|
+
column-gap: var(--_container-gap);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
:host([layout="columns"]) ::slotted(*) {
|
|
200
|
+
break-inside: avoid;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* Lanes â native CSS grid-lanes where supported, CSS multicol fallback
|
|
204
|
+
otherwise. CSS-only (no JS). Fallback flows column-order; native lanes
|
|
205
|
+
packs shortest-column (row-order). */
|
|
206
|
+
:host([layout="lanes"]) .container__inner {
|
|
207
|
+
display: block;
|
|
208
|
+
columns: var(--_container-min-column-width);
|
|
209
|
+
column-gap: var(--_container-gap);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
:host([layout="lanes"]) ::slotted(*) {
|
|
213
|
+
break-inside: avoid;
|
|
214
|
+
/* multicol has no row-gap; item margin supplies the vertical gap. The
|
|
215
|
+
native branch resets this (grid-lanes gap covers both axes). */
|
|
216
|
+
margin-bottom: var(--_container-gap);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@supports (display: grid-lanes) {
|
|
220
|
+
:host([layout="lanes"]) .container__inner {
|
|
221
|
+
display: grid-lanes;
|
|
222
|
+
grid-template-columns: repeat(
|
|
223
|
+
var(--_container-column-count, auto-fill),
|
|
224
|
+
minmax(var(--_container-track-min, var(--_container-min-column-width)), 1fr)
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
:host([layout="lanes"]) ::slotted(*) {
|
|
229
|
+
margin-bottom: 0;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
:host([layout="columns"][column-count]) .container__inner,
|
|
234
|
+
:host([layout="columns"][sm-column-count]) .container__inner,
|
|
235
|
+
:host([layout="columns"][md-column-count]) .container__inner,
|
|
236
|
+
:host([layout="columns"][lg-column-count]) .container__inner,
|
|
237
|
+
:host([layout="lanes"][column-count]) .container__inner,
|
|
238
|
+
:host([layout="lanes"][sm-column-count]) .container__inner,
|
|
239
|
+
:host([layout="lanes"][md-column-count]) .container__inner,
|
|
240
|
+
:host([layout="lanes"][lg-column-count]) .container__inner {
|
|
241
|
+
column-count: var(--_container-column-count);
|
|
242
|
+
column-width: auto;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
/* # Column count — base scope */
|
|
247
|
+
|
|
248
|
+
:host([column-count="1"]) .container__inner { --_container-column-count: 1; }
|
|
249
|
+
:host([column-count="2"]) .container__inner { --_container-column-count: 2; }
|
|
250
|
+
:host([column-count="3"]) .container__inner { --_container-column-count: 3; }
|
|
251
|
+
:host([column-count="4"]) .container__inner { --_container-column-count: 4; }
|
|
252
|
+
:host([column-count="5"]) .container__inner { --_container-column-count: 5; }
|
|
253
|
+
:host([column-count="6"]) .container__inner { --_container-column-count: 6; }
|
|
254
|
+
:host([column-count="7"]) .container__inner { --_container-column-count: 7; }
|
|
255
|
+
:host([column-count="8"]) .container__inner { --_container-column-count: 8; }
|
|
256
|
+
:host([column-count]) .container__inner { --_container-track-min: 0; }
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/* # Column count — sm scope (queries :host own width) */
|
|
260
|
+
|
|
261
|
+
@container (max-width: ${f}) {
|
|
262
|
+
:host([sm-column-count="1"]) .container__inner { --_container-column-count: 1; }
|
|
263
|
+
:host([sm-column-count="2"]) .container__inner { --_container-column-count: 2; }
|
|
264
|
+
:host([sm-column-count="3"]) .container__inner { --_container-column-count: 3; }
|
|
265
|
+
:host([sm-column-count="4"]) .container__inner { --_container-column-count: 4; }
|
|
266
|
+
:host([sm-column-count="5"]) .container__inner { --_container-column-count: 5; }
|
|
267
|
+
:host([sm-column-count="6"]) .container__inner { --_container-column-count: 6; }
|
|
268
|
+
:host([sm-column-count="7"]) .container__inner { --_container-column-count: 7; }
|
|
269
|
+
:host([sm-column-count="8"]) .container__inner { --_container-column-count: 8; }
|
|
270
|
+
:host([sm-column-count]) .container__inner { --_container-track-min: 0; }
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
/* # Column count — md scope */
|
|
275
|
+
|
|
276
|
+
@container (min-width: ${p}) and (max-width: ${m}) {
|
|
277
|
+
:host([md-column-count="1"]) .container__inner { --_container-column-count: 1; }
|
|
278
|
+
:host([md-column-count="2"]) .container__inner { --_container-column-count: 2; }
|
|
279
|
+
:host([md-column-count="3"]) .container__inner { --_container-column-count: 3; }
|
|
280
|
+
:host([md-column-count="4"]) .container__inner { --_container-column-count: 4; }
|
|
281
|
+
:host([md-column-count="5"]) .container__inner { --_container-column-count: 5; }
|
|
282
|
+
:host([md-column-count="6"]) .container__inner { --_container-column-count: 6; }
|
|
283
|
+
:host([md-column-count="7"]) .container__inner { --_container-column-count: 7; }
|
|
284
|
+
:host([md-column-count="8"]) .container__inner { --_container-column-count: 8; }
|
|
285
|
+
:host([md-column-count]) .container__inner { --_container-track-min: 0; }
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
/* # Column count — lg scope */
|
|
290
|
+
|
|
291
|
+
@container (min-width: ${h}) {
|
|
292
|
+
:host([lg-column-count="1"]) .container__inner { --_container-column-count: 1; }
|
|
293
|
+
:host([lg-column-count="2"]) .container__inner { --_container-column-count: 2; }
|
|
294
|
+
:host([lg-column-count="3"]) .container__inner { --_container-column-count: 3; }
|
|
295
|
+
:host([lg-column-count="4"]) .container__inner { --_container-column-count: 4; }
|
|
296
|
+
:host([lg-column-count="5"]) .container__inner { --_container-column-count: 5; }
|
|
297
|
+
:host([lg-column-count="6"]) .container__inner { --_container-column-count: 6; }
|
|
298
|
+
:host([lg-column-count="7"]) .container__inner { --_container-column-count: 7; }
|
|
299
|
+
:host([lg-column-count="8"]) .container__inner { --_container-column-count: 8; }
|
|
300
|
+
:host([lg-column-count]) .container__inner { --_container-track-min: 0; }
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
/* # Slot order — per-child via order / sm-order / md-order / lg-order
|
|
305
|
+
attributes on slotted children. Container JS bridges those to
|
|
306
|
+
--_container-slot-{attr} inline custom props on the child; the queries below
|
|
307
|
+
pick the right value per breakpoint with var() cascading
|
|
308
|
+
sm/md/lg-order → order → 0. No-op for layout="columns" (multicol). */
|
|
309
|
+
|
|
310
|
+
::slotted(*) {
|
|
311
|
+
/* Keep padded slotted items inside their track (multicol/grid columns). */
|
|
312
|
+
box-sizing: border-box;
|
|
313
|
+
order: var(--_container-slot-order, 0);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@container (max-width: ${f}) {
|
|
317
|
+
::slotted(*) { order: var(--_container-slot-sm-order, var(--_container-slot-order, 0)); }
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@container (min-width: ${p}) and (max-width: ${m}) {
|
|
321
|
+
::slotted(*) { order: var(--_container-slot-md-order, var(--_container-slot-order, 0)); }
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@container (min-width: ${h}) {
|
|
325
|
+
::slotted(*) { order: var(--_container-slot-lg-order, var(--_container-slot-order, 0)); }
|
|
326
|
+
}
|
|
327
|
+
`;
|
|
328
|
+
// src/components/layout/container/container.template.ts
|
|
329
|
+
function _(e) {
|
|
330
|
+
return o`
|
|
331
|
+
<div class="container ${e._isSizedByContent ? "is-sized-by-content" : ""}">
|
|
332
|
+
<div class="container__inner">
|
|
333
|
+
<slot @slotchange=${e._onSlotChange}></slot>
|
|
334
|
+
</div>
|
|
335
|
+
</div>
|
|
336
|
+
`;
|
|
337
|
+
}
|
|
338
|
+
// src/components/layout/container/container.ts
|
|
339
|
+
var v = /* @__PURE__ */ e({ NLDDContainer: () => C }), y, b = {
|
|
340
|
+
left: "flex-start",
|
|
341
|
+
center: "center",
|
|
342
|
+
right: "flex-end"
|
|
343
|
+
}, x = {
|
|
344
|
+
top: "flex-start",
|
|
345
|
+
center: "center",
|
|
346
|
+
bottom: "flex-end"
|
|
347
|
+
}, S = [
|
|
348
|
+
"order",
|
|
349
|
+
"sm-order",
|
|
350
|
+
"md-order",
|
|
351
|
+
"lg-order"
|
|
352
|
+
], C = (y = class extends a {
|
|
353
|
+
constructor(...e) {
|
|
354
|
+
super(...e), this.width = "", this.minWidth = "", this.maxWidth = "", this.minHeight = "", this.hideOn = "", this.gap = void 0, this.smGap = void 0, this.mdGap = void 0, this.lgGap = void 0, this.padding = void 0, this.paddingInline = void 0, this.paddingBlock = void 0, this.paddingTop = void 0, this.paddingRight = void 0, this.paddingBottom = void 0, this.paddingLeft = void 0, this.smPadding = void 0, this.smPaddingInline = void 0, this.smPaddingBlock = void 0, this.smPaddingTop = void 0, this.smPaddingRight = void 0, this.smPaddingBottom = void 0, this.smPaddingLeft = void 0, this.mdPadding = void 0, this.mdPaddingInline = void 0, this.mdPaddingBlock = void 0, this.mdPaddingTop = void 0, this.mdPaddingRight = void 0, this.mdPaddingBottom = void 0, this.mdPaddingLeft = void 0, this.lgPadding = void 0, this.lgPaddingInline = void 0, this.lgPaddingBlock = void 0, this.lgPaddingTop = void 0, this.lgPaddingRight = void 0, this.lgPaddingBottom = void 0, this.lgPaddingLeft = void 0, this.horizontalAlignment = void 0, this.verticalAlignment = void 0, this._sizedByContent = !1, this._onSlotChange = (e) => {
|
|
355
|
+
let t = e.target;
|
|
356
|
+
this._childObserver?.disconnect(), this._childObserver = new MutationObserver((e) => {
|
|
357
|
+
for (let t of e) t.target instanceof HTMLElement && this._applyOrderProps(t.target);
|
|
358
|
+
});
|
|
359
|
+
for (let e of t.assignedElements()) e instanceof HTMLElement && (this._applyOrderProps(e), this._childObserver.observe(e, {
|
|
360
|
+
attributes: !0,
|
|
361
|
+
attributeFilter: [...S]
|
|
362
|
+
}));
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
get _isSizedByContent() {
|
|
366
|
+
return this.width === "fit-content" || this._sizedByContent;
|
|
367
|
+
}
|
|
368
|
+
_syncSizedByContent() {
|
|
369
|
+
let e = this.parentElement?.closest("nldd-container"), t = !this.width || this.width === "full";
|
|
370
|
+
this._sizedByContent = t && !!e?._isSizedByContent;
|
|
371
|
+
}
|
|
372
|
+
connectedCallback() {
|
|
373
|
+
super.connectedCallback(), this._syncSizedByContent();
|
|
374
|
+
}
|
|
375
|
+
willUpdate(e) {
|
|
376
|
+
e.has("width") && this._syncSizedByContent();
|
|
377
|
+
}
|
|
378
|
+
updated(e) {
|
|
379
|
+
this.writeCustomProperties(), this.writeDimensionProperties(), (e.has("width") || e.has("_sizedByContent")) && this.querySelectorAll("nldd-container").forEach((e) => {
|
|
380
|
+
e.parentElement?.closest("nldd-container") === this && e._syncSizedByContent?.();
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
writeDimensionProperties() {
|
|
384
|
+
let e = this.width, t = e === "full" || e === "fit-content", n = !!e && !t && CSS.supports("width", e);
|
|
385
|
+
n ? this.style.setProperty("--_container-width", e) : this.style.removeProperty("--_container-width"), e && !t && !n && (this.width = ""), this.minWidth ? this.style.setProperty("--_container-min-width", this.minWidth) : this.style.removeProperty("--_container-min-width"), this.maxWidth ? this.style.setProperty("--_container-max-width", this.maxWidth) : this.style.removeProperty("--_container-max-width"), this.minHeight ? this.style.setProperty("--_container-min-height", this.minHeight) : this.style.removeProperty("--_container-min-height");
|
|
386
|
+
}
|
|
387
|
+
writeCustomProperties() {
|
|
388
|
+
let e = (e, t) => {
|
|
389
|
+
t === null ? this.style.removeProperty(e) : this.style.setProperty(e, t);
|
|
390
|
+
}, t = this.horizontalAlignment ? b[this.horizontalAlignment] : null, n = this.verticalAlignment ? x[this.verticalAlignment] : null, r = this.layout === "row" || this.layout === "wrap", i = this.layout === "grid";
|
|
391
|
+
this.layout === "columns" || this.layout === "lanes" ? (e("--_container-justify-content", null), e("--_container-justify-items", null), e("--_container-align-items", null)) : i ? (e("--_container-justify-items", t), e("--_container-justify-content", t), e("--_container-align-items", n)) : r ? (e("--_container-justify-content", t), e("--_container-align-items", n), e("--_container-justify-items", null)) : (e("--_container-justify-content", n), e("--_container-align-items", t), e("--_container-justify-items", null));
|
|
392
|
+
let a = d(this.gap);
|
|
393
|
+
e("--_container-sm-gap", d(this.smGap) ?? a), e("--_container-md-gap", d(this.mdGap) ?? a), e("--_container-lg-gap", d(this.lgGap) ?? a);
|
|
394
|
+
for (let t of [
|
|
395
|
+
"",
|
|
396
|
+
"sm",
|
|
397
|
+
"md",
|
|
398
|
+
"lg"
|
|
399
|
+
]) {
|
|
400
|
+
let [n, r, i, a] = this.resolvePadding(t), o = t ? `${t}-` : "";
|
|
401
|
+
e(`--_container-${o}padding-top`, d(n)), e(`--_container-${o}padding-right`, d(r)), e(`--_container-${o}padding-bottom`, d(i)), e(`--_container-${o}padding-left`, d(a));
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
resolvePadding(e) {
|
|
405
|
+
let t = (t) => {
|
|
406
|
+
let n = e ? `${e}${t}` : t.charAt(0).toLowerCase() + t.slice(1);
|
|
407
|
+
return this[n];
|
|
408
|
+
}, n = t("Padding"), r = t("PaddingInline"), i = t("PaddingBlock");
|
|
409
|
+
return [
|
|
410
|
+
t("PaddingTop") ?? i ?? n,
|
|
411
|
+
t("PaddingRight") ?? r ?? n,
|
|
412
|
+
t("PaddingBottom") ?? i ?? n,
|
|
413
|
+
t("PaddingLeft") ?? r ?? n
|
|
414
|
+
];
|
|
415
|
+
}
|
|
416
|
+
disconnectedCallback() {
|
|
417
|
+
super.disconnectedCallback(), this._childObserver?.disconnect(), this._childObserver = void 0;
|
|
418
|
+
}
|
|
419
|
+
_applyOrderProps(e) {
|
|
420
|
+
for (let t of S) {
|
|
421
|
+
let n = e.getAttribute(t), r = `--_container-slot-${t}`;
|
|
422
|
+
n === null ? e.style.removeProperty(r) : e.style.setProperty(r, n);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
render() {
|
|
426
|
+
return _(this);
|
|
427
|
+
}
|
|
428
|
+
}, y.styles = g, y);
|
|
429
|
+
s([r({
|
|
430
|
+
type: String,
|
|
431
|
+
reflect: !0
|
|
432
|
+
})], C.prototype, "layout", void 0), s([r({
|
|
433
|
+
type: Number,
|
|
434
|
+
reflect: !0,
|
|
435
|
+
attribute: "column-count"
|
|
436
|
+
})], C.prototype, "columnCount", void 0), s([r({
|
|
437
|
+
type: Number,
|
|
438
|
+
reflect: !0,
|
|
439
|
+
attribute: "sm-column-count"
|
|
440
|
+
})], C.prototype, "smColumnCount", void 0), s([r({
|
|
441
|
+
type: Number,
|
|
442
|
+
reflect: !0,
|
|
443
|
+
attribute: "md-column-count"
|
|
444
|
+
})], C.prototype, "mdColumnCount", void 0), s([r({
|
|
445
|
+
type: Number,
|
|
446
|
+
reflect: !0,
|
|
447
|
+
attribute: "lg-column-count"
|
|
448
|
+
})], C.prototype, "lgColumnCount", void 0), s([r({
|
|
449
|
+
reflect: !0,
|
|
450
|
+
converter: l("")
|
|
451
|
+
})], C.prototype, "width", void 0), s([r({
|
|
452
|
+
reflect: !0,
|
|
453
|
+
attribute: "min-width",
|
|
454
|
+
converter: l("")
|
|
455
|
+
})], C.prototype, "minWidth", void 0), s([r({
|
|
456
|
+
reflect: !0,
|
|
457
|
+
attribute: "max-width",
|
|
458
|
+
converter: l("")
|
|
459
|
+
})], C.prototype, "maxWidth", void 0), s([r({
|
|
460
|
+
reflect: !0,
|
|
461
|
+
attribute: "min-height",
|
|
462
|
+
converter: l("")
|
|
463
|
+
})], C.prototype, "minHeight", void 0), s([r({
|
|
464
|
+
reflect: !0,
|
|
465
|
+
attribute: "hide-on",
|
|
466
|
+
converter: l("")
|
|
467
|
+
})], C.prototype, "hideOn", void 0), s([r({
|
|
468
|
+
type: String,
|
|
469
|
+
reflect: !0
|
|
470
|
+
})], C.prototype, "gap", void 0), s([r({
|
|
471
|
+
type: String,
|
|
472
|
+
reflect: !0,
|
|
473
|
+
attribute: "sm-gap"
|
|
474
|
+
})], C.prototype, "smGap", void 0), s([r({
|
|
475
|
+
type: String,
|
|
476
|
+
reflect: !0,
|
|
477
|
+
attribute: "md-gap"
|
|
478
|
+
})], C.prototype, "mdGap", void 0), s([r({
|
|
479
|
+
type: String,
|
|
480
|
+
reflect: !0,
|
|
481
|
+
attribute: "lg-gap"
|
|
482
|
+
})], C.prototype, "lgGap", void 0), s([r({
|
|
483
|
+
type: String,
|
|
484
|
+
reflect: !0
|
|
485
|
+
})], C.prototype, "padding", void 0), s([r({
|
|
486
|
+
type: String,
|
|
487
|
+
reflect: !0,
|
|
488
|
+
attribute: "padding-inline"
|
|
489
|
+
})], C.prototype, "paddingInline", void 0), s([r({
|
|
490
|
+
type: String,
|
|
491
|
+
reflect: !0,
|
|
492
|
+
attribute: "padding-block"
|
|
493
|
+
})], C.prototype, "paddingBlock", void 0), s([r({
|
|
494
|
+
type: String,
|
|
495
|
+
reflect: !0,
|
|
496
|
+
attribute: "padding-top"
|
|
497
|
+
})], C.prototype, "paddingTop", void 0), s([r({
|
|
498
|
+
type: String,
|
|
499
|
+
reflect: !0,
|
|
500
|
+
attribute: "padding-right"
|
|
501
|
+
})], C.prototype, "paddingRight", void 0), s([r({
|
|
502
|
+
type: String,
|
|
503
|
+
reflect: !0,
|
|
504
|
+
attribute: "padding-bottom"
|
|
505
|
+
})], C.prototype, "paddingBottom", void 0), s([r({
|
|
506
|
+
type: String,
|
|
507
|
+
reflect: !0,
|
|
508
|
+
attribute: "padding-left"
|
|
509
|
+
})], C.prototype, "paddingLeft", void 0), s([r({
|
|
510
|
+
type: String,
|
|
511
|
+
reflect: !0,
|
|
512
|
+
attribute: "sm-padding"
|
|
513
|
+
})], C.prototype, "smPadding", void 0), s([r({
|
|
514
|
+
type: String,
|
|
515
|
+
reflect: !0,
|
|
516
|
+
attribute: "sm-padding-inline"
|
|
517
|
+
})], C.prototype, "smPaddingInline", void 0), s([r({
|
|
518
|
+
type: String,
|
|
519
|
+
reflect: !0,
|
|
520
|
+
attribute: "sm-padding-block"
|
|
521
|
+
})], C.prototype, "smPaddingBlock", void 0), s([r({
|
|
522
|
+
type: String,
|
|
523
|
+
reflect: !0,
|
|
524
|
+
attribute: "sm-padding-top"
|
|
525
|
+
})], C.prototype, "smPaddingTop", void 0), s([r({
|
|
526
|
+
type: String,
|
|
527
|
+
reflect: !0,
|
|
528
|
+
attribute: "sm-padding-right"
|
|
529
|
+
})], C.prototype, "smPaddingRight", void 0), s([r({
|
|
530
|
+
type: String,
|
|
531
|
+
reflect: !0,
|
|
532
|
+
attribute: "sm-padding-bottom"
|
|
533
|
+
})], C.prototype, "smPaddingBottom", void 0), s([r({
|
|
534
|
+
type: String,
|
|
535
|
+
reflect: !0,
|
|
536
|
+
attribute: "sm-padding-left"
|
|
537
|
+
})], C.prototype, "smPaddingLeft", void 0), s([r({
|
|
538
|
+
type: String,
|
|
539
|
+
reflect: !0,
|
|
540
|
+
attribute: "md-padding"
|
|
541
|
+
})], C.prototype, "mdPadding", void 0), s([r({
|
|
542
|
+
type: String,
|
|
543
|
+
reflect: !0,
|
|
544
|
+
attribute: "md-padding-inline"
|
|
545
|
+
})], C.prototype, "mdPaddingInline", void 0), s([r({
|
|
546
|
+
type: String,
|
|
547
|
+
reflect: !0,
|
|
548
|
+
attribute: "md-padding-block"
|
|
549
|
+
})], C.prototype, "mdPaddingBlock", void 0), s([r({
|
|
550
|
+
type: String,
|
|
551
|
+
reflect: !0,
|
|
552
|
+
attribute: "md-padding-top"
|
|
553
|
+
})], C.prototype, "mdPaddingTop", void 0), s([r({
|
|
554
|
+
type: String,
|
|
555
|
+
reflect: !0,
|
|
556
|
+
attribute: "md-padding-right"
|
|
557
|
+
})], C.prototype, "mdPaddingRight", void 0), s([r({
|
|
558
|
+
type: String,
|
|
559
|
+
reflect: !0,
|
|
560
|
+
attribute: "md-padding-bottom"
|
|
561
|
+
})], C.prototype, "mdPaddingBottom", void 0), s([r({
|
|
562
|
+
type: String,
|
|
563
|
+
reflect: !0,
|
|
564
|
+
attribute: "md-padding-left"
|
|
565
|
+
})], C.prototype, "mdPaddingLeft", void 0), s([r({
|
|
566
|
+
type: String,
|
|
567
|
+
reflect: !0,
|
|
568
|
+
attribute: "lg-padding"
|
|
569
|
+
})], C.prototype, "lgPadding", void 0), s([r({
|
|
570
|
+
type: String,
|
|
571
|
+
reflect: !0,
|
|
572
|
+
attribute: "lg-padding-inline"
|
|
573
|
+
})], C.prototype, "lgPaddingInline", void 0), s([r({
|
|
574
|
+
type: String,
|
|
575
|
+
reflect: !0,
|
|
576
|
+
attribute: "lg-padding-block"
|
|
577
|
+
})], C.prototype, "lgPaddingBlock", void 0), s([r({
|
|
578
|
+
type: String,
|
|
579
|
+
reflect: !0,
|
|
580
|
+
attribute: "lg-padding-top"
|
|
581
|
+
})], C.prototype, "lgPaddingTop", void 0), s([r({
|
|
582
|
+
type: String,
|
|
583
|
+
reflect: !0,
|
|
584
|
+
attribute: "lg-padding-right"
|
|
585
|
+
})], C.prototype, "lgPaddingRight", void 0), s([r({
|
|
586
|
+
type: String,
|
|
587
|
+
reflect: !0,
|
|
588
|
+
attribute: "lg-padding-bottom"
|
|
589
|
+
})], C.prototype, "lgPaddingBottom", void 0), s([r({
|
|
590
|
+
type: String,
|
|
591
|
+
reflect: !0,
|
|
592
|
+
attribute: "lg-padding-left"
|
|
593
|
+
})], C.prototype, "lgPaddingLeft", void 0), s([r({
|
|
594
|
+
type: String,
|
|
595
|
+
reflect: !0,
|
|
596
|
+
attribute: "horizontal-alignment"
|
|
597
|
+
})], C.prototype, "horizontalAlignment", void 0), s([r({
|
|
598
|
+
type: String,
|
|
599
|
+
reflect: !0,
|
|
600
|
+
attribute: "vertical-alignment"
|
|
601
|
+
})], C.prototype, "verticalAlignment", void 0), s([i()], C.prototype, "_sizedByContent", void 0), C = s([c("nldd-container")], C);
|
|
602
|
+
export { v as t };
|