@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,664 @@
|
|
|
1
|
+
import "./icon-BORlalt0.js";
|
|
2
|
+
import { i as e, n as t, t as n } from "./custom-element-q6NzoL5b.js";
|
|
3
|
+
import { n as r, o as i, r as a, t as o } from "./decorate-TduJMFD_.js";
|
|
4
|
+
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as c } from "./repeat-Ch_5OsXE.js";
|
|
6
|
+
import { t as l } from "./shadow-resets-6SToDsPu.js";
|
|
7
|
+
import { t as u } from "./translations-wxBSz213.js";
|
|
8
|
+
import { t as d } from "./described-by-mixin-daRE7orX.js";
|
|
9
|
+
import { t as f } from "./defer-focus-F73ud2D9.js";
|
|
10
|
+
import "./icon-button-rKiIHs7A.js";
|
|
11
|
+
import "./menu-BtxzRedh.js";
|
|
12
|
+
import "./token-CnkEB3hB.js";
|
|
13
|
+
import { t as p } from "./form-associated-mixin--GIbl98p.js";
|
|
14
|
+
import { t as m } from "./implicit-submission-Csbcor_E.js";
|
|
15
|
+
import { t as h } from "./token-field.i18n-BclzoR8F.js";
|
|
16
|
+
// src/components/inputs/token-field/token-field.styles.ts
|
|
17
|
+
var g = e`
|
|
18
|
+
:host {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/* # Host */
|
|
24
|
+
|
|
25
|
+
:host {
|
|
26
|
+
--_token-field-width: 100%;
|
|
27
|
+
--_token-field-background-color: var(--semantics-input-fields-background-color);
|
|
28
|
+
--_token-field-corner-radius: var(--semantics-controls-md-corner-radius);
|
|
29
|
+
--_token-field-min-size: var(--semantics-controls-md-min-size);
|
|
30
|
+
--_token-field-inline-padding: calc(var(--semantics-controls-md-inline-padding) - var(--semantics-input-fields-border-width));
|
|
31
|
+
--_token-field-text-font: var(--semantics-input-fields-md-text-font);
|
|
32
|
+
--_token-field-validation-icon-size: var(--semantics-input-fields-md-validation-icon-size);
|
|
33
|
+
--_token-field-validation-icon-area-size: calc(var(--_token-field-min-size) - var(--semantics-input-fields-border-width) * 2);
|
|
34
|
+
--_token-field-gap: calc((var(--semantics-controls-md-min-size) - var(--semantics-controls-sm-min-size) - 2 * var(--semantics-input-fields-border-width)) / 2);
|
|
35
|
+
--_token-field-input-min-width: var(--primitives-area-200);
|
|
36
|
+
|
|
37
|
+
${l}
|
|
38
|
+
display: block;
|
|
39
|
+
width: var(--_token-field-width);
|
|
40
|
+
max-width: 100%;
|
|
41
|
+
-webkit-tap-highlight-color: transparent;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host([hidden]) {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host([disabled]) {
|
|
49
|
+
opacity: var(--primitives-opacity-disabled);
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:host([readonly]) .token-field {
|
|
54
|
+
--_token-field-background-color: var(--semantics-input-fields-is-read-only-background-color);
|
|
55
|
+
border-color: var(--semantics-input-fields-is-read-only-border-color);
|
|
56
|
+
cursor: default;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
/* # Block — a wrapping row of tokens and the input area, with the validation
|
|
61
|
+
icon pinned on the trailing edge. */
|
|
62
|
+
|
|
63
|
+
.token-field {
|
|
64
|
+
position: relative;
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-wrap: wrap;
|
|
68
|
+
align-items: center;
|
|
69
|
+
gap: var(--_token-field-gap);
|
|
70
|
+
border: var(--semantics-input-fields-border);
|
|
71
|
+
border-radius: var(--_token-field-corner-radius);
|
|
72
|
+
background-color: var(--_token-field-background-color);
|
|
73
|
+
width: 100%;
|
|
74
|
+
min-height: var(--_token-field-min-size);
|
|
75
|
+
padding-block: var(--_token-field-gap);
|
|
76
|
+
padding-inline: var(--_token-field-gap);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* The role="list" wrapper carries token grouping for assistive tech without
|
|
80
|
+
affecting layout — the tokens stay flex children of .token-field. */
|
|
81
|
+
.token-field__list {
|
|
82
|
+
display: contents;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Text cursor only while the input is present — the frame forwards a padding click
|
|
86
|
+
to it (_handleFieldClick). With no input (no custom values allowed and no options
|
|
87
|
+
left) there is nothing to type into, so the frame keeps the default arrow. */
|
|
88
|
+
.token-field:has(.token-field__input) {
|
|
89
|
+
cursor: text;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* :has(input:focus), not :focus-within: a focused token or picker carries its
|
|
93
|
+
own ring, so the frame's ring is scoped to the input alone. */
|
|
94
|
+
.token-field:has(.token-field__input:focus) {
|
|
95
|
+
outline: var(--semantics-focus-ring-outline);
|
|
96
|
+
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
97
|
+
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.token-field[data-invalid] {
|
|
101
|
+
border-color: var(--semantics-input-fields-is-invalid-border-color);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.token-field[data-valid] {
|
|
105
|
+
border-color: var(--semantics-input-fields-is-valid-border-color);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Reserve the validation icon's area so tokens/input stay clear of it. */
|
|
109
|
+
.token-field[data-invalid],
|
|
110
|
+
.token-field[data-valid] {
|
|
111
|
+
padding-inline-end: var(--_token-field-validation-icon-area-size);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
/* # Input area — the input and picker travel to a new row together. */
|
|
116
|
+
|
|
117
|
+
.token-field__input-area {
|
|
118
|
+
display: flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
gap: var(--_token-field-gap);
|
|
121
|
+
flex-grow: 1;
|
|
122
|
+
flex-shrink: 1;
|
|
123
|
+
flex-basis: var(--_token-field-input-min-width);
|
|
124
|
+
min-width: var(--_token-field-input-min-width);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
/* # Input */
|
|
129
|
+
|
|
130
|
+
.token-field__input {
|
|
131
|
+
${l}
|
|
132
|
+
box-sizing: border-box;
|
|
133
|
+
flex-grow: 1;
|
|
134
|
+
flex-shrink: 1;
|
|
135
|
+
flex-basis: auto;
|
|
136
|
+
min-width: 0;
|
|
137
|
+
border: none;
|
|
138
|
+
outline: none;
|
|
139
|
+
background: transparent;
|
|
140
|
+
color: inherit;
|
|
141
|
+
font: var(--_token-field-text-font);
|
|
142
|
+
height: var(--semantics-controls-sm-min-size);
|
|
143
|
+
/* Rounds the autofill mask (below) like a token. */
|
|
144
|
+
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
145
|
+
padding: 0;
|
|
146
|
+
/* The frame already adds the leading gap, so subtract it to land on the
|
|
147
|
+
standard inline-padding. */
|
|
148
|
+
padding-inline-start: calc(var(--_token-field-inline-padding) - var(--_token-field-gap));
|
|
149
|
+
margin: 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.token-field__input::placeholder {
|
|
153
|
+
color: var(--semantics-input-fields-placeholder-color);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Mask the browser autofill background (box-shadow inset) and its text color. */
|
|
157
|
+
.token-field__input:-webkit-autofill,
|
|
158
|
+
.token-field__input:autofill,
|
|
159
|
+
.token-field__input:-webkit-autofill:disabled,
|
|
160
|
+
.token-field__input:autofill:disabled {
|
|
161
|
+
box-shadow: 0 0 0 999px var(--semantics-input-fields-is-autofill-background-color) inset;
|
|
162
|
+
-webkit-text-fill-color: var(--semantics-input-fields-is-autofill-content-color);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
/* # Picker */
|
|
167
|
+
|
|
168
|
+
.token-field__picker {
|
|
169
|
+
display: flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
flex-shrink: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.token-field__picker:focus-within {
|
|
175
|
+
position: relative;
|
|
176
|
+
z-index: 1;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
/* # Validation icon */
|
|
181
|
+
|
|
182
|
+
/* Absolute so it doesn't change the frame height; the frame reserves its area. */
|
|
183
|
+
.token-field__validation-icon-area {
|
|
184
|
+
position: absolute;
|
|
185
|
+
inset-block-start: 0;
|
|
186
|
+
inset-inline-end: 0;
|
|
187
|
+
display: flex;
|
|
188
|
+
align-items: center;
|
|
189
|
+
justify-content: center;
|
|
190
|
+
width: var(--_token-field-validation-icon-area-size);
|
|
191
|
+
height: var(--_token-field-validation-icon-area-size);
|
|
192
|
+
pointer-events: none;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* nldd-icon fills its parent, so pin a size. */
|
|
196
|
+
.token-field__validation-icon {
|
|
197
|
+
width: var(--_token-field-validation-icon-size);
|
|
198
|
+
height: var(--_token-field-validation-icon-size);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
:host([valid]) .token-field__validation-icon {
|
|
202
|
+
color: var(--semantics-input-fields-is-valid-icon-color);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:host([invalid]) .token-field__validation-icon {
|
|
206
|
+
color: var(--semantics-input-fields-is-invalid-icon-color);
|
|
207
|
+
}
|
|
208
|
+
`;
|
|
209
|
+
// src/components/inputs/token-field/token-field.template.ts
|
|
210
|
+
function _(e) {
|
|
211
|
+
let t = e.invalid ? "invalid" : e.valid ? "valid" : null;
|
|
212
|
+
return t ? i`
|
|
213
|
+
<div class="token-field__validation-icon-area">
|
|
214
|
+
<nldd-icon class="token-field__validation-icon"
|
|
215
|
+
icon=${t}
|
|
216
|
+
aria-hidden="true"
|
|
217
|
+
></nldd-icon>
|
|
218
|
+
</div>
|
|
219
|
+
` : a;
|
|
220
|
+
}
|
|
221
|
+
function v(e) {
|
|
222
|
+
return i`
|
|
223
|
+
<input class="token-field__input"
|
|
224
|
+
type=${e.type || "text"}
|
|
225
|
+
autocomplete=${e.autocomplete || a}
|
|
226
|
+
spellcheck=${e.noSpellcheck ? "false" : a}
|
|
227
|
+
role=${e._hasMenu ? "combobox" : a}
|
|
228
|
+
aria-label=${e.accessibleLabel || a}
|
|
229
|
+
aria-haspopup=${e._hasMenu ? "listbox" : a}
|
|
230
|
+
aria-autocomplete=${e._hasMenu ? "list" : a}
|
|
231
|
+
aria-controls=${e._hasMenu ? e._menuId : a}
|
|
232
|
+
aria-expanded=${e._hasMenu ? e._isOpen ? "true" : "false" : a}
|
|
233
|
+
aria-activedescendant=${e._highlightedId || a}
|
|
234
|
+
aria-invalid=${e.invalid ? "true" : a}
|
|
235
|
+
.value=${e._text}
|
|
236
|
+
placeholder=${e.placeholder || a}
|
|
237
|
+
?disabled=${e.disabled}
|
|
238
|
+
@input=${e._handleInput}
|
|
239
|
+
@blur=${e._handleBlur}
|
|
240
|
+
@keydown=${e._handleKeydown}
|
|
241
|
+
>
|
|
242
|
+
`;
|
|
243
|
+
}
|
|
244
|
+
function y(e) {
|
|
245
|
+
return i`
|
|
246
|
+
<div class="token-field__picker">
|
|
247
|
+
<nldd-icon-button
|
|
248
|
+
appearance="neutral-tinted"
|
|
249
|
+
size="sm"
|
|
250
|
+
icon="chevron-down"
|
|
251
|
+
text=${e._t("components.token-field.open-menu-action")}
|
|
252
|
+
tooltip-timing="never"
|
|
253
|
+
?disabled=${e.disabled}
|
|
254
|
+
?expanded=${e._isOpen}
|
|
255
|
+
popup-type="listbox"
|
|
256
|
+
@pointerdown=${e._handlePickerPointerdown}
|
|
257
|
+
@click=${e._togglePicker}
|
|
258
|
+
></nldd-icon-button>
|
|
259
|
+
</div>
|
|
260
|
+
`;
|
|
261
|
+
}
|
|
262
|
+
function b(e, t, n) {
|
|
263
|
+
let r = e.readonly || e.disabled ? a : !e._showInput && n === e._rovingIndex ? "0" : "-1", o = e._labelFor(t), s = e.readonly ? a : `${o}, ${e._t("components.token-field.removable-lowercase-label")}`;
|
|
264
|
+
return !e.readonly && e.tokenControl === "menu" ? i`
|
|
265
|
+
<nldd-token
|
|
266
|
+
role="listitem"
|
|
267
|
+
aria-label=${s}
|
|
268
|
+
text=${o}
|
|
269
|
+
control="menu"
|
|
270
|
+
tabindex=${r}
|
|
271
|
+
?roving=${!e.readonly}
|
|
272
|
+
menu-text=${`${e._t("components.token-field.open-token-menu-action")} "${o}"`}
|
|
273
|
+
?disabled=${e.disabled}
|
|
274
|
+
data-value=${t}
|
|
275
|
+
@keydown=${(t) => e._handleTokenKeydown(t, n)}
|
|
276
|
+
@select=${(n) => e._handleTokenAction(n, t)}
|
|
277
|
+
>
|
|
278
|
+
${e._tokenMenuFor(t)}
|
|
279
|
+
</nldd-token>
|
|
280
|
+
` : i`
|
|
281
|
+
<nldd-token
|
|
282
|
+
role="listitem"
|
|
283
|
+
aria-label=${s}
|
|
284
|
+
text=${o}
|
|
285
|
+
control=${e.readonly ? a : "dismiss"}
|
|
286
|
+
tabindex=${r}
|
|
287
|
+
?roving=${!e.readonly}
|
|
288
|
+
dismiss-text=${`${e._t("components.token-field.dismiss-action")} "${o}"`}
|
|
289
|
+
?disabled=${e.disabled}
|
|
290
|
+
data-value=${t}
|
|
291
|
+
@dismiss=${() => e._handleTokenDismiss(t, n)}
|
|
292
|
+
@keydown=${(t) => e._handleTokenKeydown(t, n)}
|
|
293
|
+
></nldd-token>
|
|
294
|
+
`;
|
|
295
|
+
}
|
|
296
|
+
function x(e) {
|
|
297
|
+
return i`
|
|
298
|
+
<div class="token-field"
|
|
299
|
+
data-invalid=${e.invalid ? "" : a}
|
|
300
|
+
data-valid=${e.valid && !e.invalid ? "" : a}
|
|
301
|
+
@click=${e._handleFieldClick}
|
|
302
|
+
>
|
|
303
|
+
<div class="token-field__list"
|
|
304
|
+
role="list"
|
|
305
|
+
>
|
|
306
|
+
${c(e.values, (e) => e, (t, n) => b(e, t, n))}
|
|
307
|
+
</div>
|
|
308
|
+
${e._showInput || e._showPicker ? i`
|
|
309
|
+
<div class="token-field__input-area">
|
|
310
|
+
${e._showInput ? v(e) : a}
|
|
311
|
+
${e._showPicker ? y(e) : a}
|
|
312
|
+
</div>
|
|
313
|
+
` : a}
|
|
314
|
+
${_(e)}
|
|
315
|
+
</div>
|
|
316
|
+
<slot @slotchange=${e._onSlotChange}></slot>
|
|
317
|
+
`;
|
|
318
|
+
}
|
|
319
|
+
// src/components/inputs/token-field/token-field.ts
|
|
320
|
+
var S = class extends d(p(r)) {
|
|
321
|
+
constructor(...e) {
|
|
322
|
+
super(...e), this._initialValues = [], this._values = [], this.placeholder = "", this.type = "text", this.autocomplete = "", this.accessibleLabel = "", this.allowCustom = !1, this.noFilter = !1, this.valid = !1, this.invalid = !1, this.noSpellcheck = !1, this.readonly = !1, this.required = !1, this.disabled = !1, this.tokenControl = "dismiss", this.name = "", this.translations = {}, this._text = "", this._isOpen = !1, this._highlightedId = "", this._rovingIndex = 0, this._menuId = `nldd-token-field-menu-${C._idCounter++}`, this._menu = null, this._resizeObserver = null, this._menuObserver = null, this._openPending = !1, this._templateObserver = null, this._pickerPointerdownWhileOpen = !1, this._removalFocusIndex = null, this._handleFocusOut = () => {
|
|
323
|
+
queueMicrotask(() => {
|
|
324
|
+
this.isConnected && !this.contains(document.activeElement) && (this._rovingIndex = 0);
|
|
325
|
+
});
|
|
326
|
+
}, this._tokenMenuCache = /* @__PURE__ */ new Map(), this._handleScrollOrResize = () => {
|
|
327
|
+
this._isOpen && (this._updateMenuWidth(), this._menu?.reposition());
|
|
328
|
+
}, this._handleMenuToggle = (e) => {
|
|
329
|
+
this._isOpen = e.newState === "open", this._isOpen ? (this._openPending = !1, requestAnimationFrame(() => {
|
|
330
|
+
this._menu && !this._menu.getHighlighted() && this._menu.moveHighlight("next"), this._updateActiveDescendant();
|
|
331
|
+
})) : this._highlightedId = "";
|
|
332
|
+
}, this._handleMenuSelect = (e) => {
|
|
333
|
+
let t = e.target;
|
|
334
|
+
this._commitValue(t.value || t.text);
|
|
335
|
+
}, this._handleMenuKeydown = (e) => {
|
|
336
|
+
e.key === "Tab" && (e.preventDefault(), this._closeMenu(), this._input?.focus());
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
get values() {
|
|
340
|
+
return this._values;
|
|
341
|
+
}
|
|
342
|
+
set values(e) {
|
|
343
|
+
let t = e ? e.filter((t, n) => e.indexOf(t) === n) : [], n = this._values;
|
|
344
|
+
this._values = t, this.requestUpdate("values", n);
|
|
345
|
+
}
|
|
346
|
+
_t(e) {
|
|
347
|
+
return u(this.translations, h, e);
|
|
348
|
+
}
|
|
349
|
+
connectedCallback() {
|
|
350
|
+
super.connectedCallback(), this._resizeObserver = new ResizeObserver(() => this._updateMenuWidth()), this._resizeObserver.observe(this), window.addEventListener("scroll", this._handleScrollOrResize, !0), window.addEventListener("resize", this._handleScrollOrResize), this.addEventListener("focusout", this._handleFocusOut), this._templateObserver = new MutationObserver((e) => this._onTemplateMutation(e)), this._templateObserver.observe(this, {
|
|
351
|
+
childList: !0,
|
|
352
|
+
subtree: !0,
|
|
353
|
+
attributes: !0,
|
|
354
|
+
characterData: !0
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
disconnectedCallback() {
|
|
358
|
+
super.disconnectedCallback(), this._resizeObserver?.disconnect(), this._resizeObserver = null, this._menuObserver?.disconnect(), this._menuObserver = null, this._templateObserver?.disconnect(), this._templateObserver = null, window.removeEventListener("scroll", this._handleScrollOrResize, !0), window.removeEventListener("resize", this._handleScrollOrResize), this.removeEventListener("focusout", this._handleFocusOut), this._menu && (this._menu.removeEventListener("toggle", this._handleMenuToggle), this._menu.removeEventListener("select", this._handleMenuSelect), this._menu.removeEventListener("keydown", this._handleMenuKeydown), this._menu = null);
|
|
359
|
+
}
|
|
360
|
+
firstUpdated() {
|
|
361
|
+
this._initialValues = [...this.values], this.commitFormValue(), this.internals.role = "group", this.internals.ariaLabel = this.accessibleLabel || null;
|
|
362
|
+
}
|
|
363
|
+
willUpdate(e) {
|
|
364
|
+
if (e.has("values")) {
|
|
365
|
+
this._rovingIndex = Math.max(0, Math.min(this._rovingIndex, this.values.length - 1));
|
|
366
|
+
for (let e of [...this._tokenMenuCache.keys()]) this.values.includes(e) || this._tokenMenuCache.delete(e);
|
|
367
|
+
this.commitFormValue(), this._menu && (this._syncMenuItems(), this._showInput || this._closeMenu());
|
|
368
|
+
}
|
|
369
|
+
e.has("required") && this._updateValidity(), e.has("readonly") && this.readonly && this._closeMenu(), e.has("accessibleLabel") && (this.internals.ariaLabel = this.accessibleLabel || null);
|
|
370
|
+
}
|
|
371
|
+
updated() {
|
|
372
|
+
if (this._isOpen && this._updateMenuWidth(), this._removalFocusIndex !== null) {
|
|
373
|
+
let e = this._removalFocusIndex;
|
|
374
|
+
this._removalFocusIndex = null, this.updateComplete.then(() => this._focusAfterRemoval(e));
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
formValue() {
|
|
378
|
+
if (!this.name) return null;
|
|
379
|
+
let e = new FormData();
|
|
380
|
+
for (let t of this.values) e.append(this.name, t);
|
|
381
|
+
return e;
|
|
382
|
+
}
|
|
383
|
+
commitFormValue() {
|
|
384
|
+
super.commitFormValue(), this._updateValidity();
|
|
385
|
+
}
|
|
386
|
+
_updateValidity() {
|
|
387
|
+
this.required && this.values.length === 0 ? this.internals.setValidity({ valueMissing: !0 }, this._t("components.token-field.required-error-text"), this._input ?? this) : this.internals.setValidity({});
|
|
388
|
+
}
|
|
389
|
+
formResetCallback() {
|
|
390
|
+
this.values = [...this._initialValues];
|
|
391
|
+
}
|
|
392
|
+
get _input() {
|
|
393
|
+
return this.shadowRoot?.querySelector(".token-field__input") ?? null;
|
|
394
|
+
}
|
|
395
|
+
get _inputArea() {
|
|
396
|
+
return this.shadowRoot?.querySelector(".token-field__input-area") ?? null;
|
|
397
|
+
}
|
|
398
|
+
focus(e) {
|
|
399
|
+
f(this, e) || (this._input ? this._input.focus(e) : this._focusTokenAt(this._rovingIndex));
|
|
400
|
+
}
|
|
401
|
+
get _availableOptionCount() {
|
|
402
|
+
let e = 0;
|
|
403
|
+
for (let t of this.querySelectorAll(":scope > nldd-menu nldd-menu-item")) {
|
|
404
|
+
let n = t, r = n.value || n.text;
|
|
405
|
+
r && !this.values.includes(r) && e++;
|
|
406
|
+
}
|
|
407
|
+
return e;
|
|
408
|
+
}
|
|
409
|
+
get _showInput() {
|
|
410
|
+
return !this.readonly && (this.allowCustom || this._availableOptionCount > 0);
|
|
411
|
+
}
|
|
412
|
+
get _hasMenu() {
|
|
413
|
+
return this._menu !== null;
|
|
414
|
+
}
|
|
415
|
+
get _showPicker() {
|
|
416
|
+
return !this.readonly && this._hasMenu && this._availableOptionCount > 0;
|
|
417
|
+
}
|
|
418
|
+
_labelFor(e) {
|
|
419
|
+
for (let t of this.querySelectorAll(":scope > nldd-menu nldd-menu-item")) {
|
|
420
|
+
let n = t;
|
|
421
|
+
if ((n.value || n.text) === e) return n.text || n.textContent?.trim() || e;
|
|
422
|
+
}
|
|
423
|
+
return e;
|
|
424
|
+
}
|
|
425
|
+
_tokenMenuFor(e) {
|
|
426
|
+
let t = this._tokenMenuCache.get(e);
|
|
427
|
+
if (t) return t;
|
|
428
|
+
let n = this._cloneTokenMenu(e);
|
|
429
|
+
return n && this._tokenMenuCache.set(e, n), n;
|
|
430
|
+
}
|
|
431
|
+
_cloneTokenMenu(e) {
|
|
432
|
+
let t = null, n = null;
|
|
433
|
+
for (let r of this.querySelectorAll("nldd-token[slot=\"template\"]")) {
|
|
434
|
+
if (r.dataset.value === e) {
|
|
435
|
+
n = r;
|
|
436
|
+
break;
|
|
437
|
+
}
|
|
438
|
+
r.hasAttribute("data-value") || (t ?? (t = r));
|
|
439
|
+
}
|
|
440
|
+
let r = (n ?? t)?.querySelector("nldd-menu[slot=\"menu\"]");
|
|
441
|
+
return r ? r.cloneNode(!0) : null;
|
|
442
|
+
}
|
|
443
|
+
_onTemplateMutation(e) {
|
|
444
|
+
e.some((e) => e.target.closest?.("[slot=\"template\"]") ? !0 : [...e.addedNodes, ...e.removedNodes].some((e) => e.nodeType === Node.ELEMENT_NODE && e.matches?.("[slot=\"template\"]"))) && (this._tokenMenuCache.clear(), this.requestUpdate());
|
|
445
|
+
}
|
|
446
|
+
_addValue(e) {
|
|
447
|
+
e && !this.values.includes(e) && (this.values = [...this.values, e], this._emitChange());
|
|
448
|
+
}
|
|
449
|
+
_removeValue(e) {
|
|
450
|
+
this.values.includes(e) && (this.values = this.values.filter((t) => t !== e), this._emitChange());
|
|
451
|
+
}
|
|
452
|
+
_emitChange() {
|
|
453
|
+
this.commitFormValue(), this.dispatchEvent(new CustomEvent("change", {
|
|
454
|
+
detail: { values: [...this.values] },
|
|
455
|
+
bubbles: !0,
|
|
456
|
+
composed: !0
|
|
457
|
+
}));
|
|
458
|
+
}
|
|
459
|
+
_handleInput(e) {
|
|
460
|
+
this._text = e.target.value, this.allowCustom && this._text.includes(",") ? this._commitCommaSeparated() : (this._syncMenuItems(), this._isOpen || this._openMenu(), this._openPending = this._text !== "" && !this._menu?.matches(":popover-open"), this._menu?._announceResults(), this.dispatchEvent(new CustomEvent("input", {
|
|
461
|
+
detail: { value: this._text },
|
|
462
|
+
bubbles: !0,
|
|
463
|
+
composed: !0
|
|
464
|
+
})));
|
|
465
|
+
}
|
|
466
|
+
_commitCommaSeparated() {
|
|
467
|
+
let e = this._text.split(","), t = e.pop() ?? "", n = [...this.values];
|
|
468
|
+
for (let t of e) {
|
|
469
|
+
let e = t.trim() ? this._valueForTypedText(t) : "";
|
|
470
|
+
e && !n.includes(e) && n.push(e);
|
|
471
|
+
}
|
|
472
|
+
n.length !== this.values.length && (this.values = n, this._emitChange()), this._text = t, this._input && (this._input.value = t), this._syncMenuItems(), this.dispatchEvent(new CustomEvent("input", {
|
|
473
|
+
detail: { value: this._text },
|
|
474
|
+
bubbles: !0,
|
|
475
|
+
composed: !0
|
|
476
|
+
}));
|
|
477
|
+
}
|
|
478
|
+
_handleBlur(e) {
|
|
479
|
+
this._openPending = !1;
|
|
480
|
+
let t = e.relatedTarget;
|
|
481
|
+
t && this._menu?.contains(t) || (this.allowCustom && this._text.trim() ? this._commitValue(this._valueForTypedText(this._text), !1) : this._closeMenu());
|
|
482
|
+
}
|
|
483
|
+
_handleKeydown(e) {
|
|
484
|
+
switch (e.key) {
|
|
485
|
+
case "ArrowDown":
|
|
486
|
+
e.preventDefault(), this._isOpen ? (this._menu?.moveHighlight("next"), this._updateActiveDescendant()) : (this._syncMenuItems(), this._openMenu());
|
|
487
|
+
break;
|
|
488
|
+
case "ArrowUp":
|
|
489
|
+
if (!this._isOpen) return;
|
|
490
|
+
e.preventDefault(), this._menu?.moveHighlight("prev"), this._updateActiveDescendant();
|
|
491
|
+
break;
|
|
492
|
+
case "Enter": {
|
|
493
|
+
let t = this._isOpen ? this._menu?.getHighlighted() ?? null : null;
|
|
494
|
+
t ? (e.preventDefault(), t.select()) : this.allowCustom && this._text.trim() ? (e.preventDefault(), this._commitValue(this._valueForTypedText(this._text))) : m(this, e);
|
|
495
|
+
break;
|
|
496
|
+
}
|
|
497
|
+
case "Escape":
|
|
498
|
+
if (this._openPending = !1, !this._isOpen) return;
|
|
499
|
+
e.preventDefault(), e.stopPropagation(), this._closeMenu();
|
|
500
|
+
break;
|
|
501
|
+
case "ArrowLeft":
|
|
502
|
+
this._caretAtStart() && this._tokens.length > 0 && (e.preventDefault(), this._focusTokenAt(this._tokens.length - 1));
|
|
503
|
+
break;
|
|
504
|
+
case "Backspace": this._text === "" && this._tokens.length > 0 && (e.preventDefault(), this._focusTokenAt(this._tokens.length - 1));
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
_caretAtStart() {
|
|
508
|
+
let e = this._input;
|
|
509
|
+
return e ? e.selectionStart === null ? e.value === "" : e.selectionStart === 0 && e.selectionEnd === 0 : !1;
|
|
510
|
+
}
|
|
511
|
+
get _tokens() {
|
|
512
|
+
return Array.from(this.shadowRoot?.querySelectorAll("nldd-token") ?? []);
|
|
513
|
+
}
|
|
514
|
+
_focusTokenAt(e) {
|
|
515
|
+
let t = this._tokens;
|
|
516
|
+
if (t.length === 0) {
|
|
517
|
+
this._input?.focus();
|
|
518
|
+
return;
|
|
519
|
+
}
|
|
520
|
+
let n = Math.max(0, Math.min(e, t.length - 1));
|
|
521
|
+
this._rovingIndex = n, t[n].focus();
|
|
522
|
+
}
|
|
523
|
+
_focusAfterRemoval(e) {
|
|
524
|
+
this._tokens.length === 0 ? this._input?.focus() : e < this._tokens.length ? this._focusTokenAt(e) : this._showInput ? this._input?.focus() : this._focusTokenAt(this._tokens.length - 1);
|
|
525
|
+
}
|
|
526
|
+
_handleTokenKeydown(e, t) {
|
|
527
|
+
if (!this.disabled) switch (e.key) {
|
|
528
|
+
case "ArrowLeft":
|
|
529
|
+
e.preventDefault(), this._focusTokenAt(t - 1);
|
|
530
|
+
break;
|
|
531
|
+
case "ArrowRight":
|
|
532
|
+
e.preventDefault(), t >= this._tokens.length - 1 ? this._input?.focus() : this._focusTokenAt(t + 1);
|
|
533
|
+
break;
|
|
534
|
+
case "Home":
|
|
535
|
+
e.preventDefault(), this._focusTokenAt(0);
|
|
536
|
+
break;
|
|
537
|
+
case "End":
|
|
538
|
+
e.preventDefault(), this._focusTokenAt(this._tokens.length - 1);
|
|
539
|
+
break;
|
|
540
|
+
case "Backspace":
|
|
541
|
+
case "Delete": e.preventDefault(), this._removeValue(this.values[t]), this._removalFocusIndex = t;
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
_handleFieldClick(e) {
|
|
545
|
+
let t = e.target;
|
|
546
|
+
t.closest("nldd-token") || t.closest(".token-field__picker") || (this._showInput ? this._input?.focus() : this._focusTokenAt(this._tokens.length - 1));
|
|
547
|
+
}
|
|
548
|
+
_handleTokenDismiss(e, t) {
|
|
549
|
+
this._removeValue(e), this._removalFocusIndex = t;
|
|
550
|
+
}
|
|
551
|
+
_handleTokenAction(e, t) {
|
|
552
|
+
let n = e.target, r = n.value || n.text, i = this.values.indexOf(t);
|
|
553
|
+
this.dispatchEvent(new CustomEvent("token-action", {
|
|
554
|
+
detail: {
|
|
555
|
+
value: t,
|
|
556
|
+
action: r
|
|
557
|
+
},
|
|
558
|
+
bubbles: !0,
|
|
559
|
+
composed: !0
|
|
560
|
+
})), i !== -1 && !this.values.includes(t) && (this._removalFocusIndex = i);
|
|
561
|
+
}
|
|
562
|
+
_handlePickerPointerdown() {
|
|
563
|
+
this._isOpen && (this._pickerPointerdownWhileOpen = !0);
|
|
564
|
+
}
|
|
565
|
+
_togglePicker() {
|
|
566
|
+
this._input?.focus(), this._pickerPointerdownWhileOpen ? this._pickerPointerdownWhileOpen = !1 : this._isOpen ? this._closeMenu() : (this._syncMenuItems(), this._openMenu());
|
|
567
|
+
}
|
|
568
|
+
_onSlotChange() {
|
|
569
|
+
this.requestUpdate();
|
|
570
|
+
let e = (this.shadowRoot?.querySelector("slot"))?.assignedElements({ flatten: !0 }).find((e) => e.tagName.toLowerCase() === "nldd-menu");
|
|
571
|
+
e && e !== this._menu && (this._menu = e, e.id = this._menuId, e.anchorElement = this, e.placement = "bottom-start", e.variant = "listbox", e.addEventListener("toggle", this._handleMenuToggle), e.addEventListener("select", this._handleMenuSelect), e.addEventListener("keydown", this._handleMenuKeydown), this._updateMenuWidth(), this._hideSelectedMenuItems(), this._menuObserver?.disconnect(), this._menuObserver = new MutationObserver(() => {
|
|
572
|
+
this._hideSelectedMenuItems(), this._handleMenuItemsChange(), this.requestUpdate();
|
|
573
|
+
}), this._menuObserver.observe(e, {
|
|
574
|
+
childList: !0,
|
|
575
|
+
subtree: !0
|
|
576
|
+
}));
|
|
577
|
+
}
|
|
578
|
+
_updateMenuWidth() {
|
|
579
|
+
if (!this._menu) return;
|
|
580
|
+
let e = (this._inputArea ?? this._input ?? this).getBoundingClientRect();
|
|
581
|
+
this._menu.width = `${e.width}px`;
|
|
582
|
+
}
|
|
583
|
+
_valueForTypedText(e) {
|
|
584
|
+
let t = e.trim(), n = Array.from(this._menu?.querySelectorAll("nldd-menu-item") ?? []).find((e) => e.closest("nldd-menu") === this._menu && e.text.trim().toLowerCase() === t.toLowerCase());
|
|
585
|
+
return n ? n.value || n.text : t;
|
|
586
|
+
}
|
|
587
|
+
_commitValue(e, t = !0) {
|
|
588
|
+
this._addValue(e), this._resetInputText(), this._closeMenu(), t && this.updateComplete.then(() => {
|
|
589
|
+
this._showInput ? this._input?.focus() : this._focusTokenAt(this._tokens.length - 1);
|
|
590
|
+
});
|
|
591
|
+
}
|
|
592
|
+
_openMenu() {
|
|
593
|
+
this._menu && !this.disabled && "showPopover" in this._menu && this._visibleOptionCount !== 0 && (this._menu.matches(":popover-open") || (this._menu.anchorElement = this._inputArea ?? this._input ?? this, this._updateMenuWidth(), this._menu.showPopover()));
|
|
594
|
+
}
|
|
595
|
+
_handleMenuItemsChange() {
|
|
596
|
+
this._menu && this.shadowRoot?.activeElement === this._input && (this._menu.matches(":popover-open") ? this._visibleOptionCount === 0 ? this._closeMenu() : this._menu._announceResults() : this._openPending && this._visibleOptionCount > 0 && (this._openPending = !1, this._openMenu(), this._menu._announceResults()));
|
|
597
|
+
}
|
|
598
|
+
_closeMenu() {
|
|
599
|
+
this._menu && this._menu.matches(":popover-open") && this._menu.hidePopover();
|
|
600
|
+
}
|
|
601
|
+
_updateActiveDescendant() {
|
|
602
|
+
this._highlightedId = this._menu?.getHighlightedId() ?? "";
|
|
603
|
+
}
|
|
604
|
+
_resetInputText() {
|
|
605
|
+
this._text = "", this._input && (this._input.value = "");
|
|
606
|
+
}
|
|
607
|
+
get _visibleOptionCount() {
|
|
608
|
+
return this._menu ? this._menu.querySelectorAll("nldd-menu-item:not([hidden])").length : 0;
|
|
609
|
+
}
|
|
610
|
+
_syncMenuItems() {
|
|
611
|
+
this._menu && (this._menu.filter(this._text, { hide: !this.noFilter }), this._hideSelectedMenuItems(), this._updateActiveDescendant(), this._isOpen && this._visibleOptionCount === 0 && this._closeMenu());
|
|
612
|
+
}
|
|
613
|
+
_hideSelectedMenuItems() {
|
|
614
|
+
if (!this._menu) return;
|
|
615
|
+
let e = new Set(this.values), t = !1;
|
|
616
|
+
for (let n of this._menu.querySelectorAll("nldd-menu-item")) {
|
|
617
|
+
let r = n;
|
|
618
|
+
e.has(r.value || r.text) && (r.hasAttribute("highlighted") && (t = !0), r.setAttribute("hidden", ""));
|
|
619
|
+
}
|
|
620
|
+
t && this._menu.moveHighlight("next");
|
|
621
|
+
}
|
|
622
|
+
describedTarget() {
|
|
623
|
+
let e = this.shadowRoot;
|
|
624
|
+
return e?.querySelector("input.token-field__input") ?? e?.querySelector(".token-field__list") ?? null;
|
|
625
|
+
}
|
|
626
|
+
render() {
|
|
627
|
+
return x(this);
|
|
628
|
+
}
|
|
629
|
+
}, C = S, w = (S.styles = g, S.isFormInput = !0, S.blocksImplicitSubmission = !0, S._idCounter = 0, S);
|
|
630
|
+
o([t({ converter: {
|
|
631
|
+
fromAttribute: (e) => e ? e.split(",").map((e) => e.trim()).filter(Boolean) : [],
|
|
632
|
+
toAttribute: () => null
|
|
633
|
+
} })], w.prototype, "values", null), o([t({ type: String })], w.prototype, "placeholder", void 0), o([t({ type: String })], w.prototype, "type", void 0), o([t({ type: String })], w.prototype, "autocomplete", void 0), o([t({
|
|
634
|
+
type: String,
|
|
635
|
+
attribute: "accessible-label"
|
|
636
|
+
})], w.prototype, "accessibleLabel", void 0), o([t({
|
|
637
|
+
type: Boolean,
|
|
638
|
+
reflect: !0,
|
|
639
|
+
attribute: "allow-custom"
|
|
640
|
+
})], w.prototype, "allowCustom", void 0), o([t({
|
|
641
|
+
type: Boolean,
|
|
642
|
+
reflect: !0,
|
|
643
|
+
attribute: "no-filter"
|
|
644
|
+
})], w.prototype, "noFilter", void 0), o([t({
|
|
645
|
+
type: Boolean,
|
|
646
|
+
reflect: !0
|
|
647
|
+
})], w.prototype, "valid", void 0), o([t({
|
|
648
|
+
type: Boolean,
|
|
649
|
+
reflect: !0
|
|
650
|
+
})], w.prototype, "invalid", void 0), o([t({
|
|
651
|
+
type: Boolean,
|
|
652
|
+
reflect: !0,
|
|
653
|
+
attribute: "no-spellcheck"
|
|
654
|
+
})], w.prototype, "noSpellcheck", void 0), o([t({
|
|
655
|
+
type: Boolean,
|
|
656
|
+
reflect: !0
|
|
657
|
+
})], w.prototype, "readonly", void 0), o([t({
|
|
658
|
+
type: Boolean,
|
|
659
|
+
reflect: !0
|
|
660
|
+
})], w.prototype, "required", void 0), o([t({
|
|
661
|
+
type: Boolean,
|
|
662
|
+
reflect: !0
|
|
663
|
+
})], w.prototype, "disabled", void 0), o([t({ attribute: "token-control" })], w.prototype, "tokenControl", void 0), o([t({ type: String })], w.prototype, "name", void 0), o([t({ type: Object })], w.prototype, "translations", void 0), o([n()], w.prototype, "_text", void 0), o([n()], w.prototype, "_isOpen", void 0), o([n()], w.prototype, "_highlightedId", void 0), o([n()], w.prototype, "_rovingIndex", void 0), w = C = o([s("nldd-token-field")], w);
|
|
664
|
+
export { w as NLDDTokenField };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// src/components/inputs/token-field/token-field.i18n.ts
|
|
2
|
+
var e = {
|
|
3
|
+
"components.token-field.dismiss-action": "Verwijder",
|
|
4
|
+
"components.token-field.removable-lowercase-label": "verwijderbaar",
|
|
5
|
+
"components.token-field.open-menu-action": "Toon opties",
|
|
6
|
+
"components.token-field.open-token-menu-action": "Toon opties voor",
|
|
7
|
+
"components.token-field.required-error-text": "Voeg minimaal één waarde toe"
|
|
8
|
+
};
|
|
9
|
+
export { e as t };
|