@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,181 @@
|
|
|
1
|
+
import { t as e } from "./chunks/loading-tags-DtUr-DR7.js";
|
|
2
|
+
// src/utilities/autoloader.generated.ts
|
|
3
|
+
var t = {
|
|
4
|
+
"nldd-activity-indicator": () => import("./chunks/activity-indicator-JglZJ8dh.js").then((e) => e.t),
|
|
5
|
+
"nldd-avatar": () => import("./chunks/avatar-ASqePVhU.js").then((e) => e.t),
|
|
6
|
+
"nldd-avatar-group": () => import("./chunks/avatar-group-GinEMPm9.js"),
|
|
7
|
+
"nldd-badge": () => import("./chunks/badge-Cc2Nufoc.js"),
|
|
8
|
+
"nldd-banner": () => import("./chunks/banner-BLVKM07M.js"),
|
|
9
|
+
"nldd-bar-split-view": () => import("./chunks/bar-split-view-Clbg-p9H.js"),
|
|
10
|
+
"nldd-blockquote": () => import("./chunks/blockquote-BoOqbGdm.js"),
|
|
11
|
+
"nldd-box": () => import("./chunks/box-WkhyjQVy.js"),
|
|
12
|
+
"nldd-breadcrumbs": () => import("./chunks/breadcrumbs-D9YxZzRj.js"),
|
|
13
|
+
"nldd-breadcrumbs-item": () => import("./chunks/breadcrumbs-D9YxZzRj.js"),
|
|
14
|
+
"nldd-button": () => import("./chunks/button-DO90Lo6q.js").then((e) => e.t),
|
|
15
|
+
"nldd-button-bar": () => import("./chunks/button-bar-Bxgdbyh3.js").then((e) => e.t),
|
|
16
|
+
"nldd-button-bar-divider": () => import("./chunks/button-bar-Bxgdbyh3.js").then((e) => e.t),
|
|
17
|
+
"nldd-button-group": () => import("./chunks/button-group-BYGPPLmZ.js").then((e) => e.t),
|
|
18
|
+
"nldd-card": () => import("./chunks/card-BP0jfOkS.js"),
|
|
19
|
+
"nldd-cell": () => import("./chunks/cell-BRD2ilQh.js").then((e) => e.t),
|
|
20
|
+
"nldd-checkbox": () => import("./chunks/checkbox-Cazx8CQn.js").then((e) => e.t),
|
|
21
|
+
"nldd-checkbox-field": () => import("./chunks/checkbox-field-DDZ-B6vH.js"),
|
|
22
|
+
"nldd-code-editor": () => import("./chunks/code-editor-D6Q55oaY.js"),
|
|
23
|
+
"nldd-code-viewer": () => import("./chunks/code-viewer-DspLH2T1.js"),
|
|
24
|
+
"nldd-collection": () => import("./chunks/collection-NVtkvDls.js"),
|
|
25
|
+
"nldd-combo-box": () => import("./chunks/combo-box-OywRKaWj.js"),
|
|
26
|
+
"nldd-container": () => import("./chunks/container-rrbwk0z4.js").then((e) => e.t),
|
|
27
|
+
"nldd-date-field": () => import("./chunks/date-field-vmZLo80s.js"),
|
|
28
|
+
"nldd-date-picker": () => import("./chunks/date-picker-CXDzSBoL.js").then((e) => e.t),
|
|
29
|
+
"nldd-description-cell": () => import("./chunks/description-cell-CQwOj_rN.js"),
|
|
30
|
+
"nldd-divider": () => import("./chunks/divider-CCNbnplA.js"),
|
|
31
|
+
"nldd-document-tab-bar": () => import("./chunks/document-tab-bar-A2DFWrP9.js"),
|
|
32
|
+
"nldd-document-tab-bar-item": () => import("./chunks/document-tab-bar-A2DFWrP9.js"),
|
|
33
|
+
"nldd-drag-handle-cell": () => import("./chunks/drag-handle-cell-CbzDYebG.js"),
|
|
34
|
+
"nldd-dropdown": () => import("./chunks/dropdown-DZTZtkm5.js"),
|
|
35
|
+
"nldd-file-field": () => import("./chunks/file-field-DQ52qq5L.js"),
|
|
36
|
+
"nldd-form": () => import("./chunks/form-hXLgy_tY.js"),
|
|
37
|
+
"nldd-form-actions": () => import("./chunks/form-actions-C_7hINq-.js"),
|
|
38
|
+
"nldd-form-field": () => import("./chunks/form-field--4nWJ_DK.js"),
|
|
39
|
+
"nldd-form-field-help-text": () => import("./chunks/form-field--4nWJ_DK.js"),
|
|
40
|
+
"nldd-form-section": () => import("./chunks/form-section-By-D4un0.js"),
|
|
41
|
+
"nldd-full-bleed-section": () => import("./chunks/full-bleed-section-Dg4sIJG1.js"),
|
|
42
|
+
"nldd-hero": () => import("./chunks/hero-CQQMNCT_.js"),
|
|
43
|
+
"nldd-icon": () => import("./chunks/icon-BORlalt0.js").then((e) => e.t),
|
|
44
|
+
"nldd-icon-button": () => import("./chunks/icon-button-rKiIHs7A.js").then((e) => e.t),
|
|
45
|
+
"nldd-icon-cell": () => import("./chunks/icon-cell-rk4NQid2.js").then((e) => e.t),
|
|
46
|
+
"nldd-identity": () => import("./chunks/identity-BLXecYsZ.js"),
|
|
47
|
+
"nldd-image": () => import("./chunks/image-DZMW6JgL.js"),
|
|
48
|
+
"nldd-inline-dialog": () => import("./chunks/inline-dialog-WlqtPBPJ.js").then((e) => e.t),
|
|
49
|
+
"nldd-just-in-time-education": () => import("./chunks/just-in-time-education-DRcb5g7x.js"),
|
|
50
|
+
"nldd-kanban": () => import("./chunks/kanban-Ca_mfqsA.js"),
|
|
51
|
+
"nldd-kanban-column": () => import("./chunks/kanban-column-fgIMc7pw.js"),
|
|
52
|
+
"nldd-keyboard-shortcut": () => import("./chunks/keyboard-shortcut-EknnW7Ub.js").then((e) => e.t),
|
|
53
|
+
"nldd-link": () => import("./chunks/link-FBSAJ3UC.js"),
|
|
54
|
+
"nldd-link-group": () => import("./chunks/link-group-90qVfKa0.js"),
|
|
55
|
+
"nldd-list": () => import("./chunks/list-CaWl3q0Z.js").then((e) => e.t),
|
|
56
|
+
"nldd-list-item": () => import("./chunks/list-item-Cagnf6eG.js").then((e) => e.t),
|
|
57
|
+
"nldd-list-item-segment": () => import("./chunks/list-item-segment-BRzBF1y_.js"),
|
|
58
|
+
"nldd-menu": () => import("./chunks/menu-BtxzRedh.js").then((e) => e.t),
|
|
59
|
+
"nldd-menu-bar": () => import("./chunks/menu-bar-BU3Hjk1b.js"),
|
|
60
|
+
"nldd-menu-bar-item": () => import("./chunks/menu-bar-item-C7LQ0NI_.js"),
|
|
61
|
+
"nldd-menu-divider": () => import("./chunks/menu-divider-CLLRgMll.js").then((e) => e.n),
|
|
62
|
+
"nldd-menu-group": () => import("./chunks/menu-group-BL24ChpR.js").then((e) => e.n),
|
|
63
|
+
"nldd-menu-item": () => import("./chunks/menu-item-CooKfrFa.js").then((e) => e.n),
|
|
64
|
+
"nldd-modal-dialog": () => import("./chunks/modal-dialog-BrUMP4Jm.js"),
|
|
65
|
+
"nldd-multi-line-text-field": () => import("./chunks/multi-line-text-field-D7hXhyOn.js"),
|
|
66
|
+
"nldd-navigation-split-view": () => import("./chunks/navigation-split-view-B2ZQhxEb.js"),
|
|
67
|
+
"nldd-notification": () => import("./chunks/notification-DSGP14d1.js"),
|
|
68
|
+
"nldd-number-field": () => import("./chunks/number-field-B8op14Y_.js"),
|
|
69
|
+
"nldd-one-half-one-half-section": () => import("./chunks/one-half-one-half-section-ZYmHYf4Q.js"),
|
|
70
|
+
"nldd-one-third-two-thirds-section": () => import("./chunks/one-third-two-thirds-section-Ds10K6AS.js"),
|
|
71
|
+
"nldd-one-time-code-field": () => import("./chunks/one-time-code-field-Cgy_tTS4.js"),
|
|
72
|
+
"nldd-page": () => import("./chunks/page-CBf_Decp.js").then((e) => e.t),
|
|
73
|
+
"nldd-page-footer": () => import("./chunks/page-footer-CSv1dU7M.js"),
|
|
74
|
+
"nldd-page-footer-legal-bar": () => import("./chunks/page-footer-CSv1dU7M.js"),
|
|
75
|
+
"nldd-page-footer-legal-bar-item": () => import("./chunks/page-footer-CSv1dU7M.js"),
|
|
76
|
+
"nldd-pagination": () => import("./chunks/pagination-CMUcFB53.js"),
|
|
77
|
+
"nldd-password-field": () => import("./chunks/password-field-C76Vm3rm.js"),
|
|
78
|
+
"nldd-popover": () => import("./chunks/popover-CGbeEv_-.js").then((e) => e.t),
|
|
79
|
+
"nldd-progress-bar": () => import("./chunks/progress-bar-BLiHaRUS.js"),
|
|
80
|
+
"nldd-progress-bar-segment-indicator": () => import("./chunks/progress-bar-BLiHaRUS.js"),
|
|
81
|
+
"nldd-progress-circle": () => import("./chunks/progress-circle-CjkovRbL.js"),
|
|
82
|
+
"nldd-progress-circle-segment-indicator": () => import("./chunks/progress-circle-CjkovRbL.js"),
|
|
83
|
+
"nldd-radio-button": () => import("./chunks/radio-button-GHyO-GQB.js").then((e) => e.t),
|
|
84
|
+
"nldd-radio-button-field": () => import("./chunks/radio-button-field-C-Z6Lnd4.js"),
|
|
85
|
+
"nldd-radio-button-group": () => import("./chunks/radio-button-group-ChTqBCnQ.js"),
|
|
86
|
+
"nldd-rich-text": () => import("./chunks/rich-text-CQ2uwMSp.js"),
|
|
87
|
+
"nldd-search-field": () => import("./chunks/search-field-BGNfERhn.js"),
|
|
88
|
+
"nldd-segmented-control": () => import("./chunks/segmented-control-BYAG4VRp.js"),
|
|
89
|
+
"nldd-segmented-control-item": () => import("./chunks/segmented-control-BYAG4VRp.js"),
|
|
90
|
+
"nldd-sheet": () => import("./chunks/sheet-CqN7ViYV.js"),
|
|
91
|
+
"nldd-shell": () => import("./chunks/shell-C9rds_D9.js"),
|
|
92
|
+
"nldd-side-by-side-split-view": () => import("./chunks/side-by-side-split-view-C5oX4c6Z.js"),
|
|
93
|
+
"nldd-sidebar-section": () => import("./chunks/sidebar-section-CFPBdETU.js"),
|
|
94
|
+
"nldd-simple-section": () => import("./chunks/simple-section-qrCqXeBa.js"),
|
|
95
|
+
"nldd-skip-link": () => import("./chunks/skip-link-DWh4W6-J.js"),
|
|
96
|
+
"nldd-slider": () => import("./chunks/slider--hODfOwh.js"),
|
|
97
|
+
"nldd-spacer": () => import("./chunks/spacer-CFzq_JCh.js").then((e) => e.t),
|
|
98
|
+
"nldd-spacer-cell": () => import("./chunks/spacer-cell-DuVOgIj8.js").then((e) => e.t),
|
|
99
|
+
"nldd-split-button": () => import("./chunks/split-button-DH19p8So.js"),
|
|
100
|
+
"nldd-split-view-divider": () => import("./chunks/split-view-divider-jzcPmnMh.js").then((e) => e.t),
|
|
101
|
+
"nldd-split-view-pane": () => import("./chunks/split-view-pane-BLsZz263.js"),
|
|
102
|
+
"nldd-stacked-split-view": () => import("./chunks/stacked-split-view-CcOR8LrJ.js"),
|
|
103
|
+
"nldd-status-bar": () => import("./chunks/status-bar-CINbOihq.js"),
|
|
104
|
+
"nldd-step-bar": () => import("./chunks/step-bar-6FvZL1Ti.js"),
|
|
105
|
+
"nldd-step-bar-item": () => import("./chunks/step-bar-6FvZL1Ti.js"),
|
|
106
|
+
"nldd-step-cell": () => import("./chunks/step-cell-CejRisgS.js"),
|
|
107
|
+
"nldd-stepper": () => import("./chunks/stepper-CY2rJWOJ.js"),
|
|
108
|
+
"nldd-swatch-picker": () => import("./chunks/swatch-picker-BY3DBIl6.js"),
|
|
109
|
+
"nldd-swatch-picker-item": () => import("./chunks/swatch-picker-BY3DBIl6.js"),
|
|
110
|
+
"nldd-switch": () => import("./chunks/switch-DDSsZFwK.js").then((e) => e.t),
|
|
111
|
+
"nldd-switch-field": () => import("./chunks/switch-field-CMoM9I38.js"),
|
|
112
|
+
"nldd-tab-bar": () => import("./chunks/tab-bar-CA8K1XjU.js"),
|
|
113
|
+
"nldd-tab-bar-item": () => import("./chunks/tab-bar-CA8K1XjU.js"),
|
|
114
|
+
"nldd-table": () => import("./chunks/table-DwXjCSD5.js"),
|
|
115
|
+
"nldd-table-row": () => import("./chunks/table-DwXjCSD5.js"),
|
|
116
|
+
"nldd-tag": () => import("./chunks/tag-DM3APy3B.js"),
|
|
117
|
+
"nldd-text": () => import("./chunks/text-B1CatNR1.js"),
|
|
118
|
+
"nldd-text-cell": () => import("./chunks/text-cell-BkEsGI3g.js").then((e) => e.t),
|
|
119
|
+
"nldd-text-editor": () => import("./chunks/text-editor-BvTiMeNV.js"),
|
|
120
|
+
"nldd-text-field": () => import("./chunks/text-field-CUyh1-V8.js"),
|
|
121
|
+
"nldd-time-field": () => import("./chunks/time-field--5K0YTcr.js"),
|
|
122
|
+
"nldd-time-picker": () => import("./chunks/time-picker-W0xYXLy8.js").then((e) => e.t),
|
|
123
|
+
"nldd-title": () => import("./chunks/title-BuT7tWqN.js"),
|
|
124
|
+
"nldd-title-cell": () => import("./chunks/title-cell-8d8psUBX.js"),
|
|
125
|
+
"nldd-toggle-button": () => import("./chunks/toggle-button-DNXWXZpE.js"),
|
|
126
|
+
"nldd-toggle-button-group": () => import("./chunks/toggle-button-group-ByowJYgs.js"),
|
|
127
|
+
"nldd-token": () => import("./chunks/token-CnkEB3hB.js").then((e) => e.t),
|
|
128
|
+
"nldd-token-field": () => import("./chunks/token-field-BpyxOGmU.js"),
|
|
129
|
+
"nldd-toolbar": () => import("./chunks/toolbar-C24LqAzK.js"),
|
|
130
|
+
"nldd-toolbar-item": () => import("./chunks/toolbar-item-DpPfPxCi.js"),
|
|
131
|
+
"nldd-toolbar-title": () => import("./chunks/toolbar-title-KBMpfL9d.js"),
|
|
132
|
+
"nldd-tooltip": () => import("./chunks/tooltip-BsAHJjci.js").then((e) => e.t),
|
|
133
|
+
"nldd-top-navigation-bar": () => import("./chunks/top-navigation-bar-C_kLPVKD.js"),
|
|
134
|
+
"nldd-top-title-bar": () => import("./chunks/top-title-bar-iNFB2zQL.js").then((e) => e.t),
|
|
135
|
+
"nldd-two-thirds-one-third-section": () => import("./chunks/two-thirds-one-third-section-D-UANbHC.js"),
|
|
136
|
+
"nldd-validation-item": () => import("./chunks/validation-list-C5BhHZIG.js"),
|
|
137
|
+
"nldd-validation-list": () => import("./chunks/validation-list-C5BhHZIG.js"),
|
|
138
|
+
"nldd-visually-hidden": () => import("./chunks/visually-hidden-BPgATaH0.js"),
|
|
139
|
+
"nldd-window": () => import("./chunks/window-CxV6ELE9.js")
|
|
140
|
+
}, n = /* @__PURE__ */ new Map();
|
|
141
|
+
function r(e) {
|
|
142
|
+
return e.localName.startsWith("nldd-") && !customElements.get(e.localName);
|
|
143
|
+
}
|
|
144
|
+
function i(r) {
|
|
145
|
+
let i = t[r];
|
|
146
|
+
if (!i) return;
|
|
147
|
+
let a = n.get(r);
|
|
148
|
+
if (!a) {
|
|
149
|
+
a = i().catch((e) => {
|
|
150
|
+
throw n.delete(r), e;
|
|
151
|
+
}), n.set(r, a), e.add(r);
|
|
152
|
+
let t = () => e.delete(r);
|
|
153
|
+
a.then(t, t);
|
|
154
|
+
}
|
|
155
|
+
return a;
|
|
156
|
+
}
|
|
157
|
+
function a(e) {
|
|
158
|
+
console.error("[nldd] A component module failed to load.", e);
|
|
159
|
+
}
|
|
160
|
+
async function o(e = document) {
|
|
161
|
+
let t = /* @__PURE__ */ new Set();
|
|
162
|
+
e instanceof Element && r(e) && t.add(e.localName);
|
|
163
|
+
for (let n of e.querySelectorAll(":not(:defined)")) r(n) && t.add(n.localName);
|
|
164
|
+
await Promise.all([...t].map(i));
|
|
165
|
+
}
|
|
166
|
+
var s;
|
|
167
|
+
function c(e = document) {
|
|
168
|
+
if (typeof MutationObserver > "u" || e === document && s) return;
|
|
169
|
+
let t = new MutationObserver((e) => {
|
|
170
|
+
for (let t of e) for (let e of t.addedNodes) e instanceof Element && o(e).catch(a);
|
|
171
|
+
});
|
|
172
|
+
t.observe(e, {
|
|
173
|
+
childList: !0,
|
|
174
|
+
subtree: !0
|
|
175
|
+
}), e === document && (s = t), o(e).catch(a);
|
|
176
|
+
}
|
|
177
|
+
function l() {
|
|
178
|
+
s?.disconnect(), s = void 0;
|
|
179
|
+
}
|
|
180
|
+
typeof document < "u" && c();
|
|
181
|
+
export { o as discover, c as startAutoloader, l as stopAutoloader };
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import { r as e } from "./icon-BORlalt0.js";
|
|
2
|
+
import { i as t, n, t as r } from "./custom-element-q6NzoL5b.js";
|
|
3
|
+
import { n as i, o as a, r as o, t as s } from "./decorate-TduJMFD_.js";
|
|
4
|
+
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { t as u } from "./shadow-resets-6SToDsPu.js";
|
|
7
|
+
import { t as d } from "./translations-wxBSz213.js";
|
|
8
|
+
import { t as f } from "./class-map-CXSdNjt8.js";
|
|
9
|
+
import { t as p } from "./activity-indicator.i18n-D7mCy6d2.js";
|
|
10
|
+
// src/components/status-and-feedback/activity-indicator/activity-indicator.styles.ts
|
|
11
|
+
var m = t`
|
|
12
|
+
:host {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/* # Host */
|
|
18
|
+
|
|
19
|
+
:host {
|
|
20
|
+
--_activity-indicator-circle-size: var(--primitives-space-32);
|
|
21
|
+
--_activity-indicator-color: var(--context-content-color, currentColor);
|
|
22
|
+
--_activity-indicator-track-opacity: 0.25;
|
|
23
|
+
--_activity-indicator-stroke-width: 2;
|
|
24
|
+
--_activity-indicator-rotation-duration: 0.8s;
|
|
25
|
+
--_activity-indicator-fade-duration: var(--primitives-transition-duration-slow);
|
|
26
|
+
--_activity-indicator-fade-easing: ease-out;
|
|
27
|
+
--_activity-indicator-pulse-duration: 2s;
|
|
28
|
+
--_activity-indicator-pulse-easing: ease-in-out;
|
|
29
|
+
--_activity-indicator-max-width: var(--primitives-area-240);
|
|
30
|
+
--_activity-indicator-gap: var(--primitives-space-4);
|
|
31
|
+
--_activity-indicator-text-font: var(--primitives-font-body-md-regular-flat);
|
|
32
|
+
--_activity-indicator-backdrop-blur: 3px;
|
|
33
|
+
--_activity-indicator-overlay-panel-padding: var(--primitives-space-12);
|
|
34
|
+
--_activity-indicator-overlay-panel-corner-radius: var(--primitives-corner-radius-md);
|
|
35
|
+
|
|
36
|
+
${u}
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-grow: 1;
|
|
40
|
+
flex-shrink: 1;
|
|
41
|
+
flex-basis: auto;
|
|
42
|
+
width: 100%;
|
|
43
|
+
height: 100%;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Overlay mode (content in the default slot): the host wraps the content and
|
|
49
|
+
is the containing block for the absolutely-positioned indicator + backdrop,
|
|
50
|
+
so it sizes to the content instead of filling its parent. */
|
|
51
|
+
:host([has-content]) {
|
|
52
|
+
display: block;
|
|
53
|
+
position: relative;
|
|
54
|
+
height: auto;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host([hidden]) {
|
|
58
|
+
display: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
/* ## Sizes (icon scale) */
|
|
63
|
+
|
|
64
|
+
:host([size="16"]) { --_activity-indicator-circle-size: var(--primitives-space-16); }
|
|
65
|
+
:host([size="20"]) { --_activity-indicator-circle-size: var(--primitives-space-20); }
|
|
66
|
+
:host([size="24"]) { --_activity-indicator-circle-size: var(--primitives-space-24); }
|
|
67
|
+
:host([size="28"]) { --_activity-indicator-circle-size: var(--primitives-space-28); }
|
|
68
|
+
:host([size="40"]) { --_activity-indicator-circle-size: var(--primitives-space-40); }
|
|
69
|
+
:host([size="44"]) { --_activity-indicator-circle-size: var(--primitives-space-44); }
|
|
70
|
+
:host([size="48"]) { --_activity-indicator-circle-size: var(--primitives-space-48); }
|
|
71
|
+
:host([size="56"]) { --_activity-indicator-circle-size: var(--primitives-space-56); }
|
|
72
|
+
:host([size="64"]) { --_activity-indicator-circle-size: var(--primitives-space-64); }
|
|
73
|
+
:host([size="80"]) { --_activity-indicator-circle-size: var(--primitives-space-80); }
|
|
74
|
+
:host([size="96"]) { --_activity-indicator-circle-size: var(--primitives-space-96); }
|
|
75
|
+
|
|
76
|
+
:host([size="16"]),
|
|
77
|
+
:host([size="20"]) {
|
|
78
|
+
--_activity-indicator-text-font: var(--primitives-font-body-xs-regular-flat);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host([size="24"]),
|
|
82
|
+
:host([size="28"]) {
|
|
83
|
+
--_activity-indicator-text-font: var(--primitives-font-body-sm-regular-flat);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
/* # Block
|
|
88
|
+
Stacks the circle + label as a centered column; max-width wraps a long
|
|
89
|
+
label. */
|
|
90
|
+
|
|
91
|
+
.activity-indicator {
|
|
92
|
+
/* position:relative so it paints above the absolutely-positioned backdrop
|
|
93
|
+
(both are z-index:auto; the backdrop comes first in the DOM). Laid out
|
|
94
|
+
but invisible during the delay, so the host holds its size until complete. */
|
|
95
|
+
position: relative;
|
|
96
|
+
display: flex;
|
|
97
|
+
visibility: hidden;
|
|
98
|
+
opacity: 0;
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
width: 100%;
|
|
101
|
+
max-width: var(--_activity-indicator-max-width);
|
|
102
|
+
flex-direction: column;
|
|
103
|
+
align-items: center;
|
|
104
|
+
gap: var(--_activity-indicator-gap);
|
|
105
|
+
transition-property: opacity, visibility, display;
|
|
106
|
+
transition-duration: var(--_activity-indicator-fade-duration);
|
|
107
|
+
transition-timing-function: var(--_activity-indicator-fade-easing);
|
|
108
|
+
transition-behavior: allow-discrete;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:host([loading]) .activity-indicator {
|
|
112
|
+
visibility: visible;
|
|
113
|
+
opacity: 1;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:host([complete]) .activity-indicator {
|
|
117
|
+
display: none;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@starting-style {
|
|
121
|
+
:host([loading]) .activity-indicator {
|
|
122
|
+
opacity: 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Overlay mode: the wrapped content flows normally; the indicator + backdrop
|
|
127
|
+
sit on top as absolute layers that fill the host. */
|
|
128
|
+
.activity-indicator__content {
|
|
129
|
+
display: block;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Overlay mode: the indicator + label sit on a small rounded base-surface
|
|
133
|
+
panel that hugs them with padding (not the full component width) so they
|
|
134
|
+
keep contrast over the dimmed content, and read in the content color
|
|
135
|
+
instead of inheriting currentColor. */
|
|
136
|
+
:host([has-content]) .activity-indicator {
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
position: absolute;
|
|
139
|
+
top: 50%;
|
|
140
|
+
left: 50%;
|
|
141
|
+
border-radius: var(--_activity-indicator-overlay-panel-corner-radius);
|
|
142
|
+
background-color: var(--semantics-surfaces-base-background-color);
|
|
143
|
+
width: max-content;
|
|
144
|
+
max-width: calc(100% - var(--primitives-space-32));
|
|
145
|
+
padding: var(--_activity-indicator-overlay-panel-padding);
|
|
146
|
+
color: var(--semantics-content-color);
|
|
147
|
+
transform: translate(-50%, -50%);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* Dimming layer (overlay mode, on by default; opt out with no-backdrop): the
|
|
151
|
+
context parent background color — fallback the base surface — at one minus
|
|
152
|
+
the disabled opacity, so the content underneath reads as inactive while
|
|
153
|
+
loading. Fades in and out with the indicator via the loading attribute. */
|
|
154
|
+
.activity-indicator__backdrop {
|
|
155
|
+
position: absolute;
|
|
156
|
+
inset: 0;
|
|
157
|
+
display: none;
|
|
158
|
+
opacity: 0;
|
|
159
|
+
/* Frosted dim: the parent surface — fallback base surface — as a
|
|
160
|
+
translucent fill at one minus the disabled opacity (a translucent
|
|
161
|
+
color, not element opacity, which would hide the blur), plus a blur so
|
|
162
|
+
the content behind reads as inactive. backdrop-filter degrades
|
|
163
|
+
gracefully where unsupported, leaving just the translucent fill. */
|
|
164
|
+
background-color: color-mix(in oklab, var(--context-parent-background-color, var(--semantics-surfaces-base-background-color)) calc((1 - var(--primitives-opacity-disabled)) * 100%), transparent);
|
|
165
|
+
-webkit-backdrop-filter: blur(var(--_activity-indicator-backdrop-blur));
|
|
166
|
+
backdrop-filter: blur(var(--_activity-indicator-backdrop-blur));
|
|
167
|
+
pointer-events: none;
|
|
168
|
+
transition-property: opacity, display;
|
|
169
|
+
transition-duration: var(--_activity-indicator-fade-duration);
|
|
170
|
+
transition-timing-function: var(--_activity-indicator-fade-easing);
|
|
171
|
+
transition-behavior: allow-discrete;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:host([loading]) .activity-indicator__backdrop {
|
|
175
|
+
display: block;
|
|
176
|
+
opacity: 1;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@starting-style {
|
|
180
|
+
:host([loading]) .activity-indicator__backdrop {
|
|
181
|
+
opacity: 0;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* # Elements */
|
|
186
|
+
|
|
187
|
+
/* The whole SVG (stroke included) scales with the size, like an icon. */
|
|
188
|
+
.activity-indicator__circle {
|
|
189
|
+
display: block;
|
|
190
|
+
width: var(--_activity-indicator-circle-size);
|
|
191
|
+
height: var(--_activity-indicator-circle-size);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.activity-indicator__track {
|
|
195
|
+
opacity: var(--_activity-indicator-track-opacity);
|
|
196
|
+
stroke: var(--_activity-indicator-color);
|
|
197
|
+
stroke-width: var(--_activity-indicator-stroke-width);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* Rotate only the arc inside the SVG (around the view-box center via
|
|
201
|
+
transform-origin) rather than the whole <svg> element — rotating the
|
|
202
|
+
element visibly wobbles when it sits at a sub-pixel position (next to a
|
|
203
|
+
label, or overlaid on a button). Mirrors nldd-progress-circle. */
|
|
204
|
+
.activity-indicator__indicator {
|
|
205
|
+
stroke: var(--_activity-indicator-color);
|
|
206
|
+
stroke-width: var(--_activity-indicator-stroke-width);
|
|
207
|
+
stroke-linecap: round;
|
|
208
|
+
stroke-dasharray: 25 100;
|
|
209
|
+
transform-origin: 50% 50%;
|
|
210
|
+
animation: activity-indicator-rotate var(--_activity-indicator-rotation-duration) linear infinite;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
@keyframes activity-indicator-rotate {
|
|
214
|
+
to { transform: rotate(360deg); }
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.activity-indicator__text {
|
|
218
|
+
color: currentColor;
|
|
219
|
+
font: var(--_activity-indicator-text-font);
|
|
220
|
+
text-align: center;
|
|
221
|
+
text-wrap: balance;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* show-text off (default): the label still renders as the announced
|
|
225
|
+
content of the role="status" host, but is visually hidden.
|
|
226
|
+
Standard visually-hidden recipe. */
|
|
227
|
+
.activity-indicator__text--visually-hidden {
|
|
228
|
+
position: absolute;
|
|
229
|
+
width: 1px;
|
|
230
|
+
height: 1px;
|
|
231
|
+
overflow: hidden;
|
|
232
|
+
clip-path: inset(50%);
|
|
233
|
+
white-space: nowrap;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
/* # Reduced Motion */
|
|
238
|
+
|
|
239
|
+
@media (prefers-reduced-motion: reduce) {
|
|
240
|
+
.activity-indicator,
|
|
241
|
+
.activity-indicator__backdrop {
|
|
242
|
+
transition: none;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.activity-indicator__indicator {
|
|
246
|
+
/* Drop the rotation (vestibular safety); keep the 25 / 100 arc and
|
|
247
|
+
pulse its opacity instead, mirroring nldd-progress-circle. */
|
|
248
|
+
animation: activity-indicator-pulse var(--_activity-indicator-pulse-duration) var(--_activity-indicator-pulse-easing) infinite;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
@keyframes activity-indicator-pulse {
|
|
252
|
+
0%, 100% { opacity: 0.3; }
|
|
253
|
+
50% { opacity: 0.7; }
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
`;
|
|
257
|
+
// src/components/status-and-feedback/activity-indicator/activity-indicator.template.ts
|
|
258
|
+
function h(e) {
|
|
259
|
+
let t = e._visible && !e.complete && e._hasContent, n = e._hasContent && !e.noBackdrop, r = e._accessibleName;
|
|
260
|
+
return a`
|
|
261
|
+
<div class="activity-indicator__content"
|
|
262
|
+
?inert=${t}
|
|
263
|
+
aria-busy=${t ? "true" : "false"}
|
|
264
|
+
>
|
|
265
|
+
<slot @slotchange=${e._onContentSlotChange}></slot>
|
|
266
|
+
</div>
|
|
267
|
+
${n ? a`<div class="activity-indicator__backdrop" aria-hidden="true"></div>` : o}
|
|
268
|
+
<div class="activity-indicator">
|
|
269
|
+
<svg class="activity-indicator__circle"
|
|
270
|
+
viewBox="0 0 24 24"
|
|
271
|
+
fill="none"
|
|
272
|
+
aria-hidden="true"
|
|
273
|
+
focusable="false"
|
|
274
|
+
>
|
|
275
|
+
<circle class="activity-indicator__track"
|
|
276
|
+
cx="12"
|
|
277
|
+
cy="12"
|
|
278
|
+
r="9"
|
|
279
|
+
></circle>
|
|
280
|
+
<circle class="activity-indicator__indicator"
|
|
281
|
+
cx="12"
|
|
282
|
+
cy="12"
|
|
283
|
+
r="9"
|
|
284
|
+
pathLength="100"
|
|
285
|
+
></circle>
|
|
286
|
+
</svg>
|
|
287
|
+
<span class=${f({
|
|
288
|
+
"activity-indicator__text": !0,
|
|
289
|
+
"activity-indicator__text--visually-hidden": !e.showText
|
|
290
|
+
})}>${r}</span>
|
|
291
|
+
</div>
|
|
292
|
+
`;
|
|
293
|
+
}
|
|
294
|
+
// src/components/status-and-feedback/activity-indicator/activity-indicator.ts
|
|
295
|
+
var g = /* @__PURE__ */ e({ NLDDActivityIndicator: () => y }), _, v = 1e3, y = (_ = class extends i {
|
|
296
|
+
constructor(...e) {
|
|
297
|
+
super(...e), this.size = "32", this.showText = !1, this.text = "", this.timing = "delay", this.complete = !1, this.noBackdrop = !1, this.translations = {}, this._visible = !1, this._hasContent = !1, this._onContentSlotChange = (e) => {
|
|
298
|
+
let t = e.target;
|
|
299
|
+
this._hasContent = t.assignedElements().length > 0;
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
_t(e) {
|
|
303
|
+
return d(this.translations, p, e);
|
|
304
|
+
}
|
|
305
|
+
get _accessibleName() {
|
|
306
|
+
return this.text || this._t("components.activity-indicator.loading-label");
|
|
307
|
+
}
|
|
308
|
+
connectedCallback() {
|
|
309
|
+
super.connectedCallback(), this._syncAria(), this._visible = this.timing === "instant", !this._visible && !this.complete && this._scheduleDelay();
|
|
310
|
+
}
|
|
311
|
+
willUpdate(e) {
|
|
312
|
+
e.has("complete") && this._syncAria(), e.has("timing") && (this._clearDelay(), this.timing === "instant" ? this._visible = !0 : !this._visible && !this.complete && this._scheduleDelay());
|
|
313
|
+
}
|
|
314
|
+
disconnectedCallback() {
|
|
315
|
+
super.disconnectedCallback(), this._clearDelay();
|
|
316
|
+
}
|
|
317
|
+
_clearDelay() {
|
|
318
|
+
this._delayTimeout && (clearTimeout(this._delayTimeout), this._delayTimeout = void 0);
|
|
319
|
+
}
|
|
320
|
+
_scheduleDelay() {
|
|
321
|
+
this._delayTimeout = setTimeout(() => {
|
|
322
|
+
this._visible = !0, this._delayTimeout = void 0;
|
|
323
|
+
}, v);
|
|
324
|
+
}
|
|
325
|
+
_syncAria() {
|
|
326
|
+
this.complete ? this.removeAttribute("role") : this.setAttribute("role", "status");
|
|
327
|
+
}
|
|
328
|
+
updated() {
|
|
329
|
+
this.toggleAttribute("loading", this._visible && !this.complete), this.toggleAttribute("has-content", this._hasContent);
|
|
330
|
+
}
|
|
331
|
+
render() {
|
|
332
|
+
return h(this);
|
|
333
|
+
}
|
|
334
|
+
}, _.styles = m, _);
|
|
335
|
+
s([n({
|
|
336
|
+
reflect: !0,
|
|
337
|
+
converter: l("32")
|
|
338
|
+
})], y.prototype, "size", void 0), s([n({
|
|
339
|
+
type: Boolean,
|
|
340
|
+
reflect: !0,
|
|
341
|
+
attribute: "show-text"
|
|
342
|
+
})], y.prototype, "showText", void 0), s([n({
|
|
343
|
+
reflect: !0,
|
|
344
|
+
converter: l("")
|
|
345
|
+
})], y.prototype, "text", void 0), s([n({
|
|
346
|
+
reflect: !0,
|
|
347
|
+
converter: l("delay")
|
|
348
|
+
})], y.prototype, "timing", void 0), s([n({
|
|
349
|
+
type: Boolean,
|
|
350
|
+
reflect: !0
|
|
351
|
+
})], y.prototype, "complete", void 0), s([n({
|
|
352
|
+
type: Boolean,
|
|
353
|
+
reflect: !0,
|
|
354
|
+
attribute: "no-backdrop"
|
|
355
|
+
})], y.prototype, "noBackdrop", void 0), s([n({ type: Object })], y.prototype, "translations", void 0), s([r()], y.prototype, "_visible", void 0), s([r()], y.prototype, "_hasContent", void 0), y = s([c("nldd-activity-indicator")], y);
|
|
356
|
+
export { g as t };
|