@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,13 @@
|
|
|
1
|
+
// src/utilities/slot-content.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e.assignedNodes().some((e) => e.nodeType === Node.ELEMENT_NODE || e.nodeType === Node.TEXT_NODE && (e.textContent ?? "").trim().length > 0);
|
|
4
|
+
}
|
|
5
|
+
var t = class {
|
|
6
|
+
constructor(t) {
|
|
7
|
+
this._host = t, this.has = !1, this.onChange = (t) => {
|
|
8
|
+
let n = e(t.target);
|
|
9
|
+
n !== this.has && (this.has = n, this._host.requestUpdate());
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export { t };
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { r as e } from "./icon-BORlalt0.js";
|
|
2
|
+
import { a as t, i as n, n as r } from "./custom-element-q6NzoL5b.js";
|
|
3
|
+
import { n as i, t as a } from "./decorate-TduJMFD_.js";
|
|
4
|
+
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { n as c } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
+
// src/components/layout/spacer/spacer.styles.ts
|
|
8
|
+
var l = t(c.smMax), u = t(c.mdMin), d = t(c.mdMax), f = t(c.lgMin), p = n`
|
|
9
|
+
:host {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* # Host */
|
|
15
|
+
|
|
16
|
+
:host {
|
|
17
|
+
--_spacer-size: var(--primitives-space-16);
|
|
18
|
+
|
|
19
|
+
display: block;
|
|
20
|
+
width: var(--_spacer-size);
|
|
21
|
+
height: var(--_spacer-size);
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([hidden]) {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
/* # Direction */
|
|
31
|
+
|
|
32
|
+
:host([direction="horizontal"]) {
|
|
33
|
+
height: auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host([direction="vertical"]) {
|
|
37
|
+
width: auto;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/* # Size — applies at every breakpoint */
|
|
42
|
+
|
|
43
|
+
:host([size="2"]) { --_spacer-size: var(--primitives-space-2); }
|
|
44
|
+
:host([size="4"]) { --_spacer-size: var(--primitives-space-4); }
|
|
45
|
+
:host([size="6"]) { --_spacer-size: var(--primitives-space-6); }
|
|
46
|
+
:host([size="8"]) { --_spacer-size: var(--primitives-space-8); }
|
|
47
|
+
:host([size="10"]) { --_spacer-size: var(--primitives-space-10); }
|
|
48
|
+
:host([size="12"]) { --_spacer-size: var(--primitives-space-12); }
|
|
49
|
+
:host([size="20"]) { --_spacer-size: var(--primitives-space-20); }
|
|
50
|
+
:host([size="24"]) { --_spacer-size: var(--primitives-space-24); }
|
|
51
|
+
:host([size="28"]) { --_spacer-size: var(--primitives-space-28); }
|
|
52
|
+
:host([size="32"]) { --_spacer-size: var(--primitives-space-32); }
|
|
53
|
+
:host([size="40"]) { --_spacer-size: var(--primitives-space-40); }
|
|
54
|
+
:host([size="44"]) { --_spacer-size: var(--primitives-space-44); }
|
|
55
|
+
:host([size="48"]) { --_spacer-size: var(--primitives-space-48); }
|
|
56
|
+
:host([size="56"]) { --_spacer-size: var(--primitives-space-56); }
|
|
57
|
+
:host([size="64"]) { --_spacer-size: var(--primitives-space-64); }
|
|
58
|
+
:host([size="80"]) { --_spacer-size: var(--primitives-space-80); }
|
|
59
|
+
:host([size="96"]) { --_spacer-size: var(--primitives-space-96); }
|
|
60
|
+
|
|
61
|
+
/* ## Size: flexible — takes all remaining space in the flex parent */
|
|
62
|
+
|
|
63
|
+
:host([size="flexible"]) {
|
|
64
|
+
min-width: 0;
|
|
65
|
+
min-height: 0;
|
|
66
|
+
width: auto;
|
|
67
|
+
height: auto;
|
|
68
|
+
flex-grow: 1;
|
|
69
|
+
flex-shrink: 1;
|
|
70
|
+
flex-basis: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:host([size="flexible"][direction="horizontal"]) {
|
|
74
|
+
min-height: auto;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:host([size="flexible"][direction="vertical"]) {
|
|
78
|
+
min-width: auto;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/* # Per-viewport size overrides
|
|
83
|
+
*
|
|
84
|
+
* Each per-breakpoint attribute (sm-size / md-size / lg-size) sets the
|
|
85
|
+
* same --_spacer-size local var inside its respective @media query, so it wins
|
|
86
|
+
* over the base [size] selector at that breakpoint via cascade source
|
|
87
|
+
* order. If only [size] is set, --_spacer-size keeps the base value across all
|
|
88
|
+
* breakpoints.
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
/* ## sm: max-width 640px */
|
|
92
|
+
|
|
93
|
+
@media (max-width: ${l}) {
|
|
94
|
+
:host([sm-size="2"]) { --_spacer-size: var(--primitives-space-2); }
|
|
95
|
+
:host([sm-size="4"]) { --_spacer-size: var(--primitives-space-4); }
|
|
96
|
+
:host([sm-size="6"]) { --_spacer-size: var(--primitives-space-6); }
|
|
97
|
+
:host([sm-size="8"]) { --_spacer-size: var(--primitives-space-8); }
|
|
98
|
+
:host([sm-size="10"]) { --_spacer-size: var(--primitives-space-10); }
|
|
99
|
+
:host([sm-size="12"]) { --_spacer-size: var(--primitives-space-12); }
|
|
100
|
+
:host([sm-size="16"]) { --_spacer-size: var(--primitives-space-16); }
|
|
101
|
+
:host([sm-size="20"]) { --_spacer-size: var(--primitives-space-20); }
|
|
102
|
+
:host([sm-size="24"]) { --_spacer-size: var(--primitives-space-24); }
|
|
103
|
+
:host([sm-size="28"]) { --_spacer-size: var(--primitives-space-28); }
|
|
104
|
+
:host([sm-size="32"]) { --_spacer-size: var(--primitives-space-32); }
|
|
105
|
+
:host([sm-size="40"]) { --_spacer-size: var(--primitives-space-40); }
|
|
106
|
+
:host([sm-size="44"]) { --_spacer-size: var(--primitives-space-44); }
|
|
107
|
+
:host([sm-size="48"]) { --_spacer-size: var(--primitives-space-48); }
|
|
108
|
+
:host([sm-size="56"]) { --_spacer-size: var(--primitives-space-56); }
|
|
109
|
+
:host([sm-size="64"]) { --_spacer-size: var(--primitives-space-64); }
|
|
110
|
+
:host([sm-size="80"]) { --_spacer-size: var(--primitives-space-80); }
|
|
111
|
+
:host([sm-size="96"]) { --_spacer-size: var(--primitives-space-96); }
|
|
112
|
+
|
|
113
|
+
:host([sm-size="flexible"]) {
|
|
114
|
+
min-width: 0;
|
|
115
|
+
min-height: 0;
|
|
116
|
+
width: auto;
|
|
117
|
+
height: auto;
|
|
118
|
+
flex-grow: 1;
|
|
119
|
+
flex-shrink: 1;
|
|
120
|
+
flex-basis: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:host([sm-size="flexible"][direction="horizontal"]) {
|
|
124
|
+
min-height: auto;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
:host([sm-size="flexible"][direction="vertical"]) {
|
|
128
|
+
min-width: auto;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* ## md: 641px–1007px */
|
|
133
|
+
|
|
134
|
+
@media (min-width: ${u}) and (max-width: ${d}) {
|
|
135
|
+
:host([md-size="2"]) { --_spacer-size: var(--primitives-space-2); }
|
|
136
|
+
:host([md-size="4"]) { --_spacer-size: var(--primitives-space-4); }
|
|
137
|
+
:host([md-size="6"]) { --_spacer-size: var(--primitives-space-6); }
|
|
138
|
+
:host([md-size="8"]) { --_spacer-size: var(--primitives-space-8); }
|
|
139
|
+
:host([md-size="10"]) { --_spacer-size: var(--primitives-space-10); }
|
|
140
|
+
:host([md-size="12"]) { --_spacer-size: var(--primitives-space-12); }
|
|
141
|
+
:host([md-size="16"]) { --_spacer-size: var(--primitives-space-16); }
|
|
142
|
+
:host([md-size="20"]) { --_spacer-size: var(--primitives-space-20); }
|
|
143
|
+
:host([md-size="24"]) { --_spacer-size: var(--primitives-space-24); }
|
|
144
|
+
:host([md-size="28"]) { --_spacer-size: var(--primitives-space-28); }
|
|
145
|
+
:host([md-size="32"]) { --_spacer-size: var(--primitives-space-32); }
|
|
146
|
+
:host([md-size="40"]) { --_spacer-size: var(--primitives-space-40); }
|
|
147
|
+
:host([md-size="44"]) { --_spacer-size: var(--primitives-space-44); }
|
|
148
|
+
:host([md-size="48"]) { --_spacer-size: var(--primitives-space-48); }
|
|
149
|
+
:host([md-size="56"]) { --_spacer-size: var(--primitives-space-56); }
|
|
150
|
+
:host([md-size="64"]) { --_spacer-size: var(--primitives-space-64); }
|
|
151
|
+
:host([md-size="80"]) { --_spacer-size: var(--primitives-space-80); }
|
|
152
|
+
:host([md-size="96"]) { --_spacer-size: var(--primitives-space-96); }
|
|
153
|
+
|
|
154
|
+
:host([md-size="flexible"]) {
|
|
155
|
+
min-width: 0;
|
|
156
|
+
min-height: 0;
|
|
157
|
+
width: auto;
|
|
158
|
+
height: auto;
|
|
159
|
+
flex-grow: 1;
|
|
160
|
+
flex-shrink: 1;
|
|
161
|
+
flex-basis: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
:host([md-size="flexible"][direction="horizontal"]) {
|
|
165
|
+
min-height: auto;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
:host([md-size="flexible"][direction="vertical"]) {
|
|
169
|
+
min-width: auto;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* ## lg: min-width 1008px */
|
|
174
|
+
|
|
175
|
+
@media (min-width: ${f}) {
|
|
176
|
+
:host([lg-size="2"]) { --_spacer-size: var(--primitives-space-2); }
|
|
177
|
+
:host([lg-size="4"]) { --_spacer-size: var(--primitives-space-4); }
|
|
178
|
+
:host([lg-size="6"]) { --_spacer-size: var(--primitives-space-6); }
|
|
179
|
+
:host([lg-size="8"]) { --_spacer-size: var(--primitives-space-8); }
|
|
180
|
+
:host([lg-size="10"]) { --_spacer-size: var(--primitives-space-10); }
|
|
181
|
+
:host([lg-size="12"]) { --_spacer-size: var(--primitives-space-12); }
|
|
182
|
+
:host([lg-size="16"]) { --_spacer-size: var(--primitives-space-16); }
|
|
183
|
+
:host([lg-size="20"]) { --_spacer-size: var(--primitives-space-20); }
|
|
184
|
+
:host([lg-size="24"]) { --_spacer-size: var(--primitives-space-24); }
|
|
185
|
+
:host([lg-size="28"]) { --_spacer-size: var(--primitives-space-28); }
|
|
186
|
+
:host([lg-size="32"]) { --_spacer-size: var(--primitives-space-32); }
|
|
187
|
+
:host([lg-size="40"]) { --_spacer-size: var(--primitives-space-40); }
|
|
188
|
+
:host([lg-size="44"]) { --_spacer-size: var(--primitives-space-44); }
|
|
189
|
+
:host([lg-size="48"]) { --_spacer-size: var(--primitives-space-48); }
|
|
190
|
+
:host([lg-size="56"]) { --_spacer-size: var(--primitives-space-56); }
|
|
191
|
+
:host([lg-size="64"]) { --_spacer-size: var(--primitives-space-64); }
|
|
192
|
+
:host([lg-size="80"]) { --_spacer-size: var(--primitives-space-80); }
|
|
193
|
+
:host([lg-size="96"]) { --_spacer-size: var(--primitives-space-96); }
|
|
194
|
+
|
|
195
|
+
:host([lg-size="flexible"]) {
|
|
196
|
+
min-width: 0;
|
|
197
|
+
min-height: 0;
|
|
198
|
+
width: auto;
|
|
199
|
+
height: auto;
|
|
200
|
+
flex-grow: 1;
|
|
201
|
+
flex-shrink: 1;
|
|
202
|
+
flex-basis: 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:host([lg-size="flexible"][direction="horizontal"]) {
|
|
206
|
+
min-height: auto;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
:host([lg-size="flexible"][direction="vertical"]) {
|
|
210
|
+
min-width: auto;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
`, m = /* @__PURE__ */ e({ NLDDSpacer: () => g }), h = class extends i {
|
|
214
|
+
constructor(...e) {
|
|
215
|
+
super(...e), this.size = "16", this.direction = "both";
|
|
216
|
+
}
|
|
217
|
+
}, g = (h.styles = p, h);
|
|
218
|
+
a([r({
|
|
219
|
+
reflect: !0,
|
|
220
|
+
converter: s("16")
|
|
221
|
+
})], g.prototype, "size", void 0), a([r({
|
|
222
|
+
type: String,
|
|
223
|
+
reflect: !0,
|
|
224
|
+
attribute: "sm-size"
|
|
225
|
+
})], g.prototype, "smSize", void 0), a([r({
|
|
226
|
+
type: String,
|
|
227
|
+
reflect: !0,
|
|
228
|
+
attribute: "md-size"
|
|
229
|
+
})], g.prototype, "mdSize", void 0), a([r({
|
|
230
|
+
type: String,
|
|
231
|
+
reflect: !0,
|
|
232
|
+
attribute: "lg-size"
|
|
233
|
+
})], g.prototype, "lgSize", void 0), a([r({
|
|
234
|
+
reflect: !0,
|
|
235
|
+
converter: s("both")
|
|
236
|
+
})], g.prototype, "direction", void 0), g = a([o("nldd-spacer")], g);
|
|
237
|
+
export { m as t };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { r as e } from "./icon-BORlalt0.js";
|
|
2
|
+
import { i as t, n } from "./custom-element-q6NzoL5b.js";
|
|
3
|
+
import { n as r, t as i } from "./decorate-TduJMFD_.js";
|
|
4
|
+
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { t as s } from "./visibility-mixin-COAZ9pON.js";
|
|
7
|
+
// src/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.ts
|
|
8
|
+
var c = t`
|
|
9
|
+
:host {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* # Host */
|
|
15
|
+
|
|
16
|
+
:host {
|
|
17
|
+
--_spacer-cell-width: var(--primitives-space-16);
|
|
18
|
+
|
|
19
|
+
display: block;
|
|
20
|
+
width: var(--_spacer-cell-width);
|
|
21
|
+
flex-grow: 0;
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([hidden]) {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
/* # Size */
|
|
31
|
+
|
|
32
|
+
:host([size="2"]) { --_spacer-cell-width: var(--primitives-space-2); }
|
|
33
|
+
:host([size="4"]) { --_spacer-cell-width: var(--primitives-space-4); }
|
|
34
|
+
:host([size="6"]) { --_spacer-cell-width: var(--primitives-space-6); }
|
|
35
|
+
:host([size="8"]) { --_spacer-cell-width: var(--primitives-space-8); }
|
|
36
|
+
:host([size="10"]) { --_spacer-cell-width: var(--primitives-space-10); }
|
|
37
|
+
:host([size="12"]) { --_spacer-cell-width: var(--primitives-space-12); }
|
|
38
|
+
:host([size="20"]) { --_spacer-cell-width: var(--primitives-space-20); }
|
|
39
|
+
:host([size="24"]) { --_spacer-cell-width: var(--primitives-space-24); }
|
|
40
|
+
:host([size="28"]) { --_spacer-cell-width: var(--primitives-space-28); }
|
|
41
|
+
:host([size="32"]) { --_spacer-cell-width: var(--primitives-space-32); }
|
|
42
|
+
:host([size="40"]) { --_spacer-cell-width: var(--primitives-space-40); }
|
|
43
|
+
:host([size="44"]) { --_spacer-cell-width: var(--primitives-space-44); }
|
|
44
|
+
:host([size="48"]) { --_spacer-cell-width: var(--primitives-space-48); }
|
|
45
|
+
:host([size="56"]) { --_spacer-cell-width: var(--primitives-space-56); }
|
|
46
|
+
:host([size="64"]) { --_spacer-cell-width: var(--primitives-space-64); }
|
|
47
|
+
:host([size="80"]) { --_spacer-cell-width: var(--primitives-space-80); }
|
|
48
|
+
:host([size="96"]) { --_spacer-cell-width: var(--primitives-space-96); }
|
|
49
|
+
|
|
50
|
+
:host([size="flexible"]) {
|
|
51
|
+
--_spacer-cell-width: auto;
|
|
52
|
+
flex-grow: 1;
|
|
53
|
+
flex-shrink: 1;
|
|
54
|
+
flex-basis: 0;
|
|
55
|
+
}
|
|
56
|
+
`, l = /* @__PURE__ */ e({ NLDDSpacerCell: () => d }), u = class extends s(r, "cells-container") {
|
|
57
|
+
constructor(...e) {
|
|
58
|
+
super(...e), this.size = "16";
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
}, d = (u.styles = c, u);
|
|
64
|
+
i([n({
|
|
65
|
+
reflect: !0,
|
|
66
|
+
converter: o("16")
|
|
67
|
+
})], d.prototype, "size", void 0), d = i([a("nldd-spacer-cell")], d);
|
|
68
|
+
export { l as t };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// src/utilities/spacing-scale.ts
|
|
2
|
+
var e = [
|
|
3
|
+
"0",
|
|
4
|
+
"2",
|
|
5
|
+
"4",
|
|
6
|
+
"6",
|
|
7
|
+
"8",
|
|
8
|
+
"10",
|
|
9
|
+
"12",
|
|
10
|
+
"16",
|
|
11
|
+
"20",
|
|
12
|
+
"24",
|
|
13
|
+
"28",
|
|
14
|
+
"32",
|
|
15
|
+
"40",
|
|
16
|
+
"44",
|
|
17
|
+
"48",
|
|
18
|
+
"56",
|
|
19
|
+
"64",
|
|
20
|
+
"80",
|
|
21
|
+
"96"
|
|
22
|
+
];
|
|
23
|
+
function t(t) {
|
|
24
|
+
if (t === void 0 || t === "") return null;
|
|
25
|
+
let n = String(t).trim();
|
|
26
|
+
return e.includes(n) ? n === "0" ? "0" : `var(--primitives-space-${n})` : null;
|
|
27
|
+
}
|
|
28
|
+
export { t };
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { i as e, n as t } from "./custom-element-q6NzoL5b.js";
|
|
2
|
+
import { n, o as r, r 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 { n as c } from "./element-state-B-44fVqq.js";
|
|
6
|
+
import { t as l } from "./shadow-resets-6SToDsPu.js";
|
|
7
|
+
import "./button-DO90Lo6q.js";
|
|
8
|
+
import { n as u } from "./popover-target-B25dxnmt.js";
|
|
9
|
+
import { t as d } from "./translations-wxBSz213.js";
|
|
10
|
+
import { t as f } from "./owner-form-Cq8tT7ac.js";
|
|
11
|
+
import "./icon-button-rKiIHs7A.js";
|
|
12
|
+
import "./menu-BtxzRedh.js";
|
|
13
|
+
import { t as p } from "./split-button.i18n-DtClSMga.js";
|
|
14
|
+
// src/components/actions/split-button/split-button.styles.ts
|
|
15
|
+
var m = e`
|
|
16
|
+
:host {
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/* # Host */
|
|
22
|
+
|
|
23
|
+
:host {
|
|
24
|
+
--_split-button-corner-radius: var(--semantics-controls-md-corner-radius);
|
|
25
|
+
--_split-button-background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
26
|
+
--_split-button-divider-color: var(--semantics-buttons-neutral-tinted-divider-color);
|
|
27
|
+
--_split-button-highlight-border-color: var(--semantics-buttons-neutral-tinted-highlight-border-color);
|
|
28
|
+
--_split-button-divider-length: var(--semantics-buttons-md-divider-length);
|
|
29
|
+
--_split-button-width: auto;
|
|
30
|
+
--_split-button-host-width: auto;
|
|
31
|
+
|
|
32
|
+
${l}
|
|
33
|
+
display: inline-flex;
|
|
34
|
+
width: var(--_split-button-host-width);
|
|
35
|
+
isolation: isolate;
|
|
36
|
+
-webkit-tap-highlight-color: transparent;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:host([size="xs"]) {
|
|
40
|
+
--_split-button-corner-radius: var(--semantics-controls-xs-corner-radius);
|
|
41
|
+
--_split-button-divider-length: var(--semantics-buttons-xs-divider-length);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host([size="sm"]) {
|
|
45
|
+
--_split-button-corner-radius: var(--semantics-controls-sm-corner-radius);
|
|
46
|
+
--_split-button-divider-length: var(--semantics-buttons-sm-divider-length);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:host([size="lg"]) {
|
|
50
|
+
--_split-button-corner-radius: var(--semantics-controls-lg-corner-radius);
|
|
51
|
+
--_split-button-divider-length: var(--semantics-buttons-lg-divider-length);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* ## Accent Filled (Primary) */
|
|
55
|
+
|
|
56
|
+
:host([appearance="accent-filled"]),
|
|
57
|
+
:host([appearance="primary"]) {
|
|
58
|
+
--_split-button-background-color: var(--semantics-buttons-accent-filled-background-color);
|
|
59
|
+
--_split-button-divider-color: var(--semantics-buttons-accent-filled-divider-color);
|
|
60
|
+
--_split-button-highlight-border-color: var(--semantics-buttons-accent-filled-highlight-border-color);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host([appearance="neutral-base"]) {
|
|
64
|
+
--_split-button-background-color: var(--semantics-buttons-neutral-base-background-color);
|
|
65
|
+
--_split-button-divider-color: var(--semantics-buttons-neutral-base-divider-color);
|
|
66
|
+
--_split-button-highlight-border-color: var(--semantics-buttons-neutral-base-highlight-border-color);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* ## On-color */
|
|
70
|
+
|
|
71
|
+
:host([appearance="inherit-tinted"]) {
|
|
72
|
+
--_split-button-background-color: var(--semantics-buttons-inherit-tinted-background-color);
|
|
73
|
+
--_split-button-divider-color: var(--semantics-buttons-inherit-tinted-divider-color);
|
|
74
|
+
--_split-button-highlight-border-color: var(--semantics-buttons-inherit-tinted-highlight-border-color);
|
|
75
|
+
--context-button-background-color: transparent;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:host([appearance="inherit-filled"]) {
|
|
79
|
+
--_split-button-background-color: var(--semantics-buttons-inherit-filled-background-color);
|
|
80
|
+
--_split-button-divider-color: var(--semantics-buttons-inherit-filled-divider-color);
|
|
81
|
+
--_split-button-highlight-border-color: var(--semantics-buttons-inherit-filled-highlight-border-color);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
:host([width="full"]) {
|
|
85
|
+
display: block;
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:host([hidden]) {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* The host fades, not its buttons: the highlight border is drawn here and
|
|
94
|
+
has to fade with them. */
|
|
95
|
+
:host([disabled]) {
|
|
96
|
+
opacity: var(--primitives-opacity-disabled);
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host([disabled]) nldd-button,
|
|
101
|
+
:host([disabled]) nldd-icon-button {
|
|
102
|
+
opacity: 1;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
/* # Block */
|
|
107
|
+
|
|
108
|
+
.split-button {
|
|
109
|
+
display: inline-flex;
|
|
110
|
+
position: relative;
|
|
111
|
+
width: var(--_split-button-width);
|
|
112
|
+
min-width: fit-content;
|
|
113
|
+
border-radius: var(--_split-button-corner-radius);
|
|
114
|
+
background-color: var(--_split-button-background-color);
|
|
115
|
+
flex-direction: row;
|
|
116
|
+
align-items: center;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.split-button::after {
|
|
120
|
+
content: '';
|
|
121
|
+
position: absolute;
|
|
122
|
+
inset: 0;
|
|
123
|
+
border-radius: inherit;
|
|
124
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_split-button-highlight-border-color);
|
|
125
|
+
pointer-events: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
/* # Elements */
|
|
130
|
+
|
|
131
|
+
.split-button__divider {
|
|
132
|
+
background-color: var(--_split-button-divider-color);
|
|
133
|
+
width: 1px;
|
|
134
|
+
height: var(--_split-button-divider-length);
|
|
135
|
+
flex-shrink: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.split-button__popup-button {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-shrink: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
nldd-button:focus-within,
|
|
144
|
+
nldd-icon-button:focus-within {
|
|
145
|
+
position: relative;
|
|
146
|
+
z-index: 1;
|
|
147
|
+
}
|
|
148
|
+
`;
|
|
149
|
+
// src/components/actions/split-button/split-button.template.ts
|
|
150
|
+
function h(e) {
|
|
151
|
+
return r`
|
|
152
|
+
<div class="split-button">
|
|
153
|
+
<nldd-button
|
|
154
|
+
appearance=${e._buttonAppearance()}
|
|
155
|
+
size=${e.size}
|
|
156
|
+
text=${e.text}
|
|
157
|
+
start-icon=${e.icon || i}
|
|
158
|
+
shortcut=${e.shortcut || i}
|
|
159
|
+
shortcut-mac=${e.shortcutMac || i}
|
|
160
|
+
shortcut-windows=${e.shortcutWindows || i}
|
|
161
|
+
shortcut-linux=${e.shortcutLinux || i}
|
|
162
|
+
href=${e.href || i}
|
|
163
|
+
download=${e.download ?? i}
|
|
164
|
+
loading-text=${e.loadingText || i}
|
|
165
|
+
horizontal-alignment="left"
|
|
166
|
+
width="full"
|
|
167
|
+
no-highlight-border
|
|
168
|
+
single-line
|
|
169
|
+
?loading=${e.loading}
|
|
170
|
+
?disabled=${e.disabled}
|
|
171
|
+
@click=${e._handleActionClick}
|
|
172
|
+
></nldd-button>
|
|
173
|
+
<div class="split-button__divider"></div>
|
|
174
|
+
<div class="split-button__popup-button">
|
|
175
|
+
<nldd-icon-button
|
|
176
|
+
appearance=${e._buttonAppearance()}
|
|
177
|
+
size=${e.size}
|
|
178
|
+
icon="chevron-down-small"
|
|
179
|
+
text=${e._t("components.split-button.show-options-action", { text: e.text })}
|
|
180
|
+
tooltip-timing="never"
|
|
181
|
+
no-highlight-border
|
|
182
|
+
hide-lg-text
|
|
183
|
+
?disabled=${e.disabled}
|
|
184
|
+
.popoverTargetElement=${e._popoverTarget()}
|
|
185
|
+
>
|
|
186
|
+
<slot name="popup" slot="popup"></slot>
|
|
187
|
+
<slot slot="popup"></slot>
|
|
188
|
+
</nldd-icon-button>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
`;
|
|
192
|
+
}
|
|
193
|
+
// src/components/actions/split-button/split-button.ts
|
|
194
|
+
var g = class extends n {
|
|
195
|
+
constructor(...e) {
|
|
196
|
+
super(...e), this._internals = c(this), this.size = "md", this.appearance = "neutral-tinted", this.disabled = !1, this.loading = !1, this.loadingText = "", this.width = "", this.text = "", this.icon = "", this.type = "button", this.popoverTargetElement = null, this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.translations = {}, this._refreshPopoverTarget = () => {
|
|
197
|
+
let e = this.renderRoot.querySelector(".split-button__popup-button nldd-icon-button");
|
|
198
|
+
e && (e.popoverTargetElement = this._popoverTarget());
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
_t(e, t) {
|
|
202
|
+
return d(this.translations, p, e, t);
|
|
203
|
+
}
|
|
204
|
+
_buttonAppearance() {
|
|
205
|
+
return this.appearance === "primary" ? "accent-filled" : this.appearance === "secondary" ? "neutral-tinted" : this.appearance;
|
|
206
|
+
}
|
|
207
|
+
_popoverTarget() {
|
|
208
|
+
return u(this, this.popovertarget, this.popoverTargetElement);
|
|
209
|
+
}
|
|
210
|
+
_handleActionClick(e) {
|
|
211
|
+
if (this.disabled || this.loading || (e.stopPropagation(), this.dispatchEvent(new CustomEvent("action-click", {
|
|
212
|
+
bubbles: !0,
|
|
213
|
+
composed: !0
|
|
214
|
+
})), this.href)) return;
|
|
215
|
+
let t = f(this, this._internals);
|
|
216
|
+
this.type === "submit" ? t?.requestSubmit() : this.type === "reset" && t?.reset();
|
|
217
|
+
}
|
|
218
|
+
firstUpdated() {
|
|
219
|
+
this.renderRoot.querySelector(".split-button__popup-button")?.addEventListener("click", this._refreshPopoverTarget, !0);
|
|
220
|
+
}
|
|
221
|
+
willUpdate(e) {
|
|
222
|
+
if (e.has("width")) {
|
|
223
|
+
let e = this.width;
|
|
224
|
+
e && e !== "full" && CSS.supports("width", e) ? (this.style.setProperty("--_split-button-host-width", e), this.style.setProperty("--_split-button-width", "100%")) : (this.style.removeProperty("--_split-button-host-width"), this.style.removeProperty("--_split-button-width"));
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
render() {
|
|
228
|
+
return h(this);
|
|
229
|
+
}
|
|
230
|
+
}, _ = (g.styles = m, g.formAssociated = !0, g);
|
|
231
|
+
a([t({
|
|
232
|
+
reflect: !0,
|
|
233
|
+
converter: s("md")
|
|
234
|
+
})], _.prototype, "size", void 0), a([t({
|
|
235
|
+
reflect: !0,
|
|
236
|
+
converter: s("neutral-tinted")
|
|
237
|
+
})], _.prototype, "appearance", void 0), a([t({
|
|
238
|
+
type: Boolean,
|
|
239
|
+
reflect: !0
|
|
240
|
+
})], _.prototype, "disabled", void 0), a([t({
|
|
241
|
+
type: Boolean,
|
|
242
|
+
reflect: !0
|
|
243
|
+
})], _.prototype, "loading", void 0), a([t({ attribute: "loading-text" })], _.prototype, "loadingText", void 0), a([t({
|
|
244
|
+
reflect: !0,
|
|
245
|
+
converter: s("")
|
|
246
|
+
})], _.prototype, "width", void 0), a([t({
|
|
247
|
+
reflect: !0,
|
|
248
|
+
converter: s("")
|
|
249
|
+
})], _.prototype, "text", void 0), a([t({ type: String })], _.prototype, "icon", void 0), a([t({
|
|
250
|
+
reflect: !0,
|
|
251
|
+
converter: s("button")
|
|
252
|
+
})], _.prototype, "type", void 0), a([t()], _.prototype, "href", void 0), a([t()], _.prototype, "download", void 0), a([t()], _.prototype, "popovertarget", void 0), a([t({ attribute: !1 })], _.prototype, "popoverTargetElement", void 0), a([t({
|
|
253
|
+
reflect: !0,
|
|
254
|
+
converter: s("")
|
|
255
|
+
})], _.prototype, "shortcut", void 0), a([t({
|
|
256
|
+
reflect: !0,
|
|
257
|
+
attribute: "shortcut-mac",
|
|
258
|
+
converter: s("")
|
|
259
|
+
})], _.prototype, "shortcutMac", void 0), a([t({
|
|
260
|
+
reflect: !0,
|
|
261
|
+
attribute: "shortcut-windows",
|
|
262
|
+
converter: s("")
|
|
263
|
+
})], _.prototype, "shortcutWindows", void 0), a([t({
|
|
264
|
+
reflect: !0,
|
|
265
|
+
attribute: "shortcut-linux",
|
|
266
|
+
converter: s("")
|
|
267
|
+
})], _.prototype, "shortcutLinux", void 0), a([t({ type: Object })], _.prototype, "translations", void 0), _ = a([o("nldd-split-button")], _);
|
|
268
|
+
export { _ as NLDDSplitButton };
|