@nldd/design-system 0.21.1 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/custom-elements.json +900 -414
- package/dist/assets/styles/shadow-resets.d.ts +19 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +35 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +136 -136
- package/dist/cdn/chunks/{activity-indicator-JglZJ8dh.js → activity-indicator-D86Mv6SL.js} +25 -24
- package/dist/cdn/chunks/{avatar-ASqePVhU.js → avatar-BISv6tzp.js} +58 -56
- package/dist/cdn/chunks/{avatar-group-GinEMPm9.js → avatar-group-D7IN6DxU.js} +43 -42
- package/dist/cdn/chunks/{badge-Cc2Nufoc.js → badge-R3PZUsqZ.js} +36 -33
- package/dist/cdn/chunks/{banner-BLVKM07M.js → banner-DRANlf5k.js} +43 -37
- package/dist/cdn/chunks/{bar-split-view-Clbg-p9H.js → bar-split-view-B-Y2nqgS.js} +33 -30
- package/dist/cdn/chunks/blockquote-pUgJLPY1.js +241 -0
- package/dist/cdn/chunks/{box-WkhyjQVy.js → box-BbXHpBQy.js} +14 -12
- package/dist/cdn/chunks/{breadcrumbs-D9YxZzRj.js → breadcrumbs-BdF4m3DB.js} +41 -36
- package/dist/cdn/chunks/{button-DO90Lo6q.js → button-CsqNHH3w.js} +141 -127
- package/dist/cdn/chunks/{button-bar-Bxgdbyh3.js → button-bar-CnYIw4fN.js} +25 -21
- package/dist/cdn/chunks/{button-group-BYGPPLmZ.js → button-group-xaHghyon.js} +10 -10
- package/dist/cdn/chunks/{card-BP0jfOkS.js → card-Bbf0aCIh.js} +35 -33
- package/dist/cdn/chunks/{cell-BRD2ilQh.js → cell-Dggt5oYG.js} +24 -23
- package/dist/cdn/chunks/{checkbox-Cazx8CQn.js → checkbox-DmFAS8ec.js} +49 -43
- package/dist/cdn/chunks/{checkbox-field-DDZ-B6vH.js → checkbox-field-fOWPH8Q7.js} +37 -32
- package/dist/cdn/chunks/{class-map-CXSdNjt8.js → class-map-BWGTUNv4.js} +1 -1
- package/dist/cdn/chunks/{code-editor-D6Q55oaY.js → code-editor-CANFZX66.js} +56 -57
- package/dist/cdn/chunks/{code-viewer-DspLH2T1.js → code-viewer-C_vUEx7J.js} +160 -123
- package/dist/cdn/chunks/{codemirror-input-Db65x22n.js → codemirror-input-wexTiqWw.js} +5 -5
- package/dist/cdn/chunks/{collection-NVtkvDls.js → collection-_emTry5U.js} +36 -36
- package/dist/cdn/chunks/{combo-box-OywRKaWj.js → combo-box-CGwj1u4a.js} +77 -68
- package/dist/cdn/chunks/{container-rrbwk0z4.js → container-D5Dz-j6a.js} +62 -54
- package/dist/cdn/chunks/{custom-element-q6NzoL5b.js → custom-element-DbwbPetH.js} +1 -1
- package/dist/cdn/chunks/{date-field-vmZLo80s.js → date-field-ChmyLtTj.js} +93 -83
- package/dist/cdn/chunks/{date-picker-CXDzSBoL.js → date-picker-CUQKdjS4.js} +86 -78
- package/dist/cdn/chunks/{decorate-TduJMFD_.js → decorate-_JGq4E_7.js} +2 -2
- package/dist/cdn/chunks/{described-by-mixin-daRE7orX.js → described-by-mixin-DbnuGktP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-CQwOj_rN.js → description-cell-BgcO7ObI.js} +27 -25
- package/dist/cdn/chunks/{dev-checks-zW_W-hnh.js → dev-checks-KAnKlxY0.js} +188 -80
- package/dist/cdn/chunks/{dist-C_dGY6zR.js → dist-BF9euKgj.js} +43 -43
- package/dist/cdn/chunks/{dist-BEfLdOvy.js → dist-BHMubC6P.js} +190 -196
- package/dist/cdn/chunks/{dist-ChmCRv39.js → dist-BJrN5nEM.js} +50 -50
- package/dist/cdn/chunks/{dist-D2qap2OY.js → dist-Bz3Isx60.js} +13 -13
- package/dist/cdn/chunks/{dist-DrTzvgE7.js → dist-CBnQQ6kV.js} +178 -188
- package/dist/cdn/chunks/{dist-EM4MWLQq.js → dist-CJLBwJx0.js} +120 -125
- package/dist/cdn/chunks/{dist-DPUBF0MZ.js → dist-CKZ98PMy.js} +362 -371
- package/dist/cdn/chunks/{dist-EgIBI-FG.js → dist-CLKJ5z0x.js} +26 -26
- package/dist/cdn/chunks/{dist-A7_1pHX0.js → dist-D7Wubc1l.js} +25 -25
- package/dist/cdn/chunks/{dist-Rm6FvrSR.js → dist-DADIyiX-.js} +55 -55
- package/dist/cdn/chunks/{dist-CP3G1pSK.js → dist-HgRt6IKh.js} +1 -1
- package/dist/cdn/chunks/{divider-CCNbnplA.js → divider-pO5O6wL4.js} +6 -6
- package/dist/cdn/chunks/{document-tab-bar-A2DFWrP9.js → document-tab-bar-C_-iuaUc.js} +74 -60
- package/dist/cdn/chunks/{dropdown-DZTZtkm5.js → dropdown-DYO6049g.js} +36 -31
- package/dist/cdn/chunks/{file-field-DQ52qq5L.js → file-field-C-Fk92rD.js} +134 -116
- package/dist/cdn/chunks/{form-hXLgy_tY.js → form-ChXBrKw6.js} +23 -9
- package/dist/cdn/chunks/{form-actions-C_7hINq-.js → form-actions-DrOX7nX8.js} +7 -7
- package/dist/cdn/chunks/{form-associated-mixin--GIbl98p.js → form-associated-mixin-BtStDDYA.js} +14 -3
- package/dist/cdn/chunks/{form-field--4nWJ_DK.js → form-field-CR2Py09O.js} +46 -39
- package/dist/cdn/chunks/{form-section-By-D4un0.js → form-section-s1mkLzaC.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-Dg4sIJG1.js → full-bleed-section-vOVI_f86.js} +10 -10
- package/dist/cdn/chunks/{hero-CQQMNCT_.js → hero-Cb3qIvvh.js} +125 -116
- package/dist/cdn/chunks/{icon-BORlalt0.js → icon-DBhTZrnl.js} +89 -72
- package/dist/cdn/chunks/{icon-button-rKiIHs7A.js → icon-button-bDuQ_6W_.js} +109 -99
- package/dist/cdn/chunks/{icon-cell-rk4NQid2.js → icon-cell-DlSZNTF3.js} +32 -30
- package/dist/cdn/chunks/{identity-BLXecYsZ.js → identity-CJTVNI9J.js} +28 -26
- package/dist/cdn/chunks/{if-defined-CaKKERku.js → if-defined-28B8DYUB.js} +1 -1
- package/dist/cdn/chunks/{image-DZMW6JgL.js → image-DlTxyeL3.js} +100 -85
- package/dist/cdn/chunks/{inline-dialog-WlqtPBPJ.js → inline-dialog-BJlOrD6M.js} +32 -28
- package/dist/cdn/chunks/{just-in-time-education-DRcb5g7x.js → just-in-time-education-DWBDshKs.js} +47 -48
- package/dist/cdn/chunks/{kanban-Ca_mfqsA.js → kanban-DIXY8FcZ.js} +24 -24
- package/dist/cdn/chunks/{kanban-column-fgIMc7pw.js → kanban-column-DmnxctX6.js} +15 -13
- package/dist/cdn/chunks/{keyboard-shortcut-EknnW7Ub.js → keyboard-shortcut-kYOKwBqs.js} +25 -23
- package/dist/cdn/chunks/{languages-yKikVFv_.js → languages-DGtcUhLc.js} +12 -12
- package/dist/cdn/chunks/{link-FBSAJ3UC.js → link-DhnhhTOg.js} +42 -39
- package/dist/cdn/chunks/{link-group-90qVfKa0.js → link-group-Bx2nkQcS.js} +11 -11
- package/dist/cdn/chunks/{list-CaWl3q0Z.js → list-CXCG_IEc.js} +81 -44
- package/dist/cdn/chunks/{list-item-Cagnf6eG.js → list-item-CSNBaRlK.js} +185 -124
- package/dist/cdn/chunks/{list-item-segment-BRzBF1y_.js → list-item-segment-D6WvAh3A.js} +55 -53
- package/dist/cdn/chunks/{menu-BtxzRedh.js → menu-CKxKVA36.js} +58 -57
- package/dist/cdn/chunks/{menu-bar-item-C7LQ0NI_.js → menu-bar-item-C950rfSt.js} +35 -34
- package/dist/cdn/chunks/{menu-bar-BU3Hjk1b.js → menu-bar-xahTEYTX.js} +21 -21
- package/dist/cdn/chunks/{menu-divider-CLLRgMll.js → menu-divider-XlYJ4zQz.js} +6 -6
- package/dist/cdn/chunks/{menu-group-BL24ChpR.js → menu-group-E6hIEtLj.js} +8 -8
- package/dist/cdn/chunks/{menu-item-CooKfrFa.js → menu-item-2y0VC5Gb.js} +38 -36
- package/dist/cdn/chunks/menu-item.i18n-CKUJBOeE.js +7 -0
- package/dist/cdn/chunks/{menu.template-C6rbfI-u.js → menu.template-ZBhUFgBJ.js} +55 -34
- package/dist/cdn/chunks/{modal-dialog-BrUMP4Jm.js → modal-dialog-DdFpcRLJ.js} +37 -36
- package/dist/cdn/chunks/{multi-line-text-field-D7hXhyOn.js → multi-line-text-field-okvEa54Q.js} +51 -47
- package/dist/cdn/chunks/{navigation-split-view-B2ZQhxEb.js → navigation-split-view-dNRQDSpy.js} +72 -91
- package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +114 -0
- package/dist/cdn/chunks/{notification-DSGP14d1.js → notification-2tnwXEY1.js} +28 -25
- package/dist/cdn/chunks/{number-field-B8op14Y_.js → number-field-CH7EvpSq.js} +45 -39
- package/dist/cdn/chunks/{one-half-one-half-section-ZYmHYf4Q.js → one-half-one-half-section-UZDP-KO-.js} +11 -11
- package/dist/cdn/chunks/{one-third-two-thirds-section-Ds10K6AS.js → one-third-two-thirds-section-8KtESdXO.js} +11 -11
- package/dist/cdn/chunks/{one-time-code-field-Cgy_tTS4.js → one-time-code-field-Bvm3ND6e.js} +58 -54
- package/dist/cdn/chunks/{page-CBf_Decp.js → page-PK1FWuKJ.js} +44 -41
- package/dist/cdn/chunks/{page-footer-CSv1dU7M.js → page-footer-BamWKHwH.js} +68 -80
- package/dist/cdn/chunks/{page-section-mixin-Dp6X8GKd.js → page-section-mixin-3q59_Jo_.js} +39 -35
- package/dist/cdn/chunks/{pagination-CMUcFB53.js → pagination-47zAyQhM.js} +52 -45
- package/dist/cdn/chunks/{password-field-C76Vm3rm.js → password-field-FaU02DSW.js} +58 -54
- package/dist/cdn/chunks/{popover-CGbeEv_-.js → popover-642mOFR5.js} +97 -61
- package/dist/cdn/chunks/{progress-bar-BLiHaRUS.js → progress-bar-BivaNkIY.js} +57 -55
- package/dist/cdn/chunks/{progress-circle-CjkovRbL.js → progress-circle-ewL0JIcz.js} +57 -55
- package/dist/cdn/chunks/{radio-button-GHyO-GQB.js → radio-button-DvrYYSnm.js} +42 -42
- package/dist/cdn/chunks/{radio-button-field-C-Z6Lnd4.js → radio-button-field-BVi0YrTF.js} +29 -27
- package/dist/cdn/chunks/{radio-button-group-ChTqBCnQ.js → radio-button-group-DZ9OWUNe.js} +18 -18
- package/dist/cdn/chunks/{render-marked-DX_5ISZE.js → render-marked-CO31_4GS.js} +1 -1
- package/dist/cdn/chunks/{drag-handle-cell-CbzDYebG.js → reorder-handle-cell-Doetg58W.js} +39 -37
- package/dist/cdn/chunks/reorder-handle-cell.i18n-DlH2aVwd.js +3 -0
- package/dist/cdn/chunks/reorder-handle-mixin-DCjwUXr0.js +16 -0
- package/dist/cdn/chunks/{repeat-Ch_5OsXE.js → repeat-Wb4hkVZc.js} +1 -1
- package/dist/cdn/chunks/rich-text-Do08iiIz.js +58 -0
- package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
- package/dist/cdn/chunks/{row-header-mixin-CgqvREoV.js → row-header-mixin-CKR5rHBA.js} +2 -2
- package/dist/cdn/chunks/{search-field-BGNfERhn.js → search-field-CCeeGiJM.js} +75 -67
- package/dist/cdn/chunks/{segmented-control-BYAG4VRp.js → segmented-control-CWIPxEBq.js} +92 -82
- package/dist/cdn/chunks/shadow-resets-NKr5gQCc.js +28 -0
- package/dist/cdn/chunks/{sheet-CqN7ViYV.js → sheet-WOjBtZvN.js} +41 -39
- package/dist/cdn/chunks/{shell-C9rds_D9.js → shell-Brn0Dr8F.js} +26 -23
- package/dist/cdn/chunks/{side-by-side-split-view-C5oX4c6Z.js → side-by-side-split-view-DGIMsyma.js} +33 -30
- package/dist/cdn/chunks/{sidebar-section-CFPBdETU.js → sidebar-section-BXHeI8GN.js} +37 -32
- package/dist/cdn/chunks/{simple-section-qrCqXeBa.js → simple-section-C8lJZLAO.js} +12 -12
- package/dist/cdn/chunks/{skip-link-DWh4W6-J.js → skip-link-QdRgHljr.js} +20 -19
- package/dist/cdn/chunks/{slider--hODfOwh.js → slider-BhjBeWqc.js} +90 -84
- package/dist/cdn/chunks/{spacer-CFzq_JCh.js → spacer-BgkOjuUj.js} +11 -11
- package/dist/cdn/chunks/{spacer-cell-DuVOgIj8.js → spacer-cell-DBI0PVd7.js} +13 -12
- package/dist/cdn/chunks/{split-button-DH19p8So.js → split-button-DfD9vxPe.js} +45 -41
- package/dist/cdn/chunks/{split-view-divider-jzcPmnMh.js → split-view-divider-B4NFlri5.js} +10 -10
- package/dist/cdn/chunks/{split-view-pane-BLsZz263.js → split-view-pane-CwFf13hX.js} +27 -24
- package/dist/cdn/chunks/{stacked-split-view-CcOR8LrJ.js → stacked-split-view-BmbzTinq.js} +32 -29
- package/dist/cdn/chunks/{static-html-Cf4ccUIg.js → static-html-CZrcQRgC.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CINbOihq.js → status-bar-CTOf_bDL.js} +25 -24
- package/dist/cdn/chunks/{step-bar-6FvZL1Ti.js → step-bar-B5vzvhz-.js} +64 -57
- package/dist/cdn/chunks/{step-cell-CejRisgS.js → step-cell-CUA-HUZv.js} +44 -40
- package/dist/cdn/chunks/{stepper-CY2rJWOJ.js → stepper-LxPTQ6HJ.js} +30 -30
- package/dist/cdn/chunks/{style-map-DsIw6lkq.js → style-map-DiIQAb_L.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BY3DBIl6.js → swatch-picker-Cxv9HK3A.js} +48 -47
- package/dist/cdn/chunks/{switch-DDSsZFwK.js → switch-CbNSJQPp.js} +34 -32
- package/dist/cdn/chunks/{switch-field-CMoM9I38.js → switch-field-B8vOvcKc.js} +51 -30
- package/dist/cdn/chunks/{tab-bar-CA8K1XjU.js → tab-bar-D4ot_wZ4.js} +76 -70
- package/dist/cdn/chunks/{table-DwXjCSD5.js → table-uh4YPqda.js} +31 -31
- package/dist/cdn/chunks/{tag-DM3APy3B.js → tag-D2dCXT7A.js} +26 -25
- package/dist/cdn/chunks/{text-B1CatNR1.js → text-BX4Xm40t.js} +62 -77
- package/dist/cdn/chunks/{text-cell-BkEsGI3g.js → text-cell-DNCpmw9h.js} +57 -53
- package/dist/cdn/chunks/{text-editor-BvTiMeNV.js → text-editor-C6UKAmPL.js} +97 -71
- package/dist/cdn/chunks/{text-field-CUyh1-V8.js → text-field-Dmkd4mHV.js} +65 -56
- package/dist/cdn/chunks/{time-field--5K0YTcr.js → time-field-BfgNZbEb.js} +64 -60
- package/dist/cdn/chunks/{time-picker-W0xYXLy8.js → time-picker-C1SBkU-e.js} +91 -79
- package/dist/cdn/chunks/{title-BuT7tWqN.js → title-DFrd-Fsh.js} +119 -102
- package/dist/cdn/chunks/{title-cell-8d8psUBX.js → title-cell-CC1dQyth.js} +75 -74
- package/dist/cdn/chunks/{toggle-button-DNXWXZpE.js → toggle-button-bAX6uzgz.js} +80 -74
- package/dist/cdn/chunks/{toggle-button-group-ByowJYgs.js → toggle-button-group-B7CHBww5.js} +20 -20
- package/dist/cdn/chunks/{token-CnkEB3hB.js → token-CicHNqIk.js} +34 -32
- package/dist/cdn/chunks/{token-field-BpyxOGmU.js → token-field-BFynQ-T-.js} +78 -70
- package/dist/cdn/chunks/{toolbar-C24LqAzK.js → toolbar-hAmL7o23.js} +26 -26
- package/dist/cdn/chunks/{toolbar-item-DpPfPxCi.js → toolbar-item-CjgkcYJ2.js} +13 -13
- package/dist/cdn/chunks/{toolbar-title-KBMpfL9d.js → toolbar-title-B1acxCGx.js} +31 -31
- package/dist/cdn/chunks/{toolbar.styles-BQkG4gVc.js → toolbar.styles-xiyZx5D0.js} +7 -3
- package/dist/cdn/chunks/{tooltip-BsAHJjci.js → tooltip-Mj47t8v7.js} +72 -62
- package/dist/cdn/chunks/{top-navigation-bar-C_kLPVKD.js → top-navigation-bar-vP5QGBXd.js} +88 -86
- package/dist/cdn/chunks/{top-title-bar-iNFB2zQL.js → top-title-bar-Yt6cmRLj.js} +52 -44
- package/dist/cdn/chunks/translations-BMMzf2sX.js +14 -0
- package/dist/cdn/chunks/{two-thirds-one-third-section-D-UANbHC.js → two-thirds-one-third-section-BHN98jET.js} +11 -11
- package/dist/cdn/chunks/{validation-list-C5BhHZIG.js → validation-list-CUPzu9_z.js} +20 -19
- package/dist/cdn/chunks/{visibility-mixin-COAZ9pON.js → visibility-mixin-DPuxf-sj.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BPgATaH0.js → visually-hidden-CvjJIBhz.js} +6 -6
- package/dist/cdn/chunks/{window-CxV6ELE9.js → window-BqGlzGaS.js} +41 -40
- package/dist/cdn/chunks/with-translations-CRvWJWep.js +16 -0
- package/dist/components/actions/button/button.d.ts +2 -2
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +39 -26
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +1 -1
- package/dist/components/actions/button-bar/button-bar.js +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +12 -8
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +2 -2
- package/dist/components/actions/icon-button/icon-button.js +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +29 -20
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +15 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.i18n.d.ts +7 -0
- package/dist/components/actions/menu/menu-item.i18n.d.ts.map +1 -0
- package/dist/components/actions/menu/menu-item.i18n.js +6 -0
- package/dist/components/actions/menu/menu-item.i18n.js.map +1 -0
- package/dist/components/actions/menu/menu-item.js +14 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +18 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +8 -2
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +2 -2
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +12 -8
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.story-sync.js +1 -1
- package/dist/components/actions/toolbar/toolbar.story-sync.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +4 -0
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +7 -5
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +7 -5
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +13 -12
- package/dist/components/content/avatar/avatar.styles.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +2 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +9 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +23 -7
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +52 -10
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +20 -1
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +37 -8
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +17 -15
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +19 -17
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +47 -24
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +2 -0
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.d.ts +6 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +28 -15
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +34 -25
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +6 -8
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +5 -5
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +4 -4
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +9 -7
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +40 -12
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +1 -0
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/text/text.d.ts +2 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +17 -32
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +26 -17
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +38 -20
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +84 -69
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/token/token.styles.d.ts.map +1 -1
- package/dist/components/content/token/token.styles.js +4 -2
- package/dist/components/content/token/token.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +5 -3
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +18 -5
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +1 -1
- package/dist/components/forms/form/form.d.ts +11 -0
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +56 -4
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +10 -3
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +1 -0
- package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +3 -3
- package/dist/components/inputs/checkbox/checkbox.js +2 -2
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +23 -18
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +7 -4
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +8 -3
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -2
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +9 -11
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +3 -3
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +24 -25
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +9 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +10 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +8 -0
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +5 -0
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +18 -0
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +4 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +6 -0
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +3 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +4 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +4 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +3 -3
- package/dist/components/inputs/radio-button/radio-button.js +2 -2
- package/dist/components/inputs/radio-button/radio-button.styles.js +13 -13
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +3 -3
- package/dist/components/inputs/radio-button-field/radio-button-field.js +2 -2
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -2
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +8 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +10 -0
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +7 -1
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +3 -3
- package/dist/components/inputs/switch/switch.js +2 -2
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +7 -6
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +15 -4
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +26 -4
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -2
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +2 -3
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +24 -17
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +3 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +45 -19
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +9 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +4 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +28 -19
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +78 -51
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +7 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +6 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +9 -1
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +3 -1
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +5 -3
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +7 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +30 -0
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/kanban/kanban-column.d.ts +1 -1
- package/dist/components/layout/kanban/kanban-column.js +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +7 -7
- package/dist/components/layout/kanban/kanban.js +9 -9
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.js +2 -0
- package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +8 -5
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +4 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +7 -12
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +9 -21
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -4
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +3 -4
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +3 -4
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +14 -5
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +2 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +21 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +24 -2
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +106 -11
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +9 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +3 -1
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/shell/shell.d.ts +1 -1
- package/dist/components/layout/shell/shell.js +1 -1
- package/dist/components/layout/shell/shell.styles.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.styles.js +6 -3
- package/dist/components/layout/shell/shell.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +0 -28
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +10 -57
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -4
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +8 -5
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +8 -5
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +3 -2
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +6 -6
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +46 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts +5 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js +4 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.js → reorder-handle-cell/reorder-handle-cell.js} +24 -24
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.styles.js → reorder-handle-cell/reorder-handle-cell.styles.js} +15 -14
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.d.ts → reorder-handle-cell/reorder-handle-cell.template.d.ts} +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.js → reorder-handle-cell/reorder-handle-cell.template.js} +4 -4
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +7 -3
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +7 -4
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +14 -11
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +7 -5
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +4 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +19 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +3 -2
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +15 -21
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +40 -5
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -15
- 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 +107 -154
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +30 -23
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +11 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +4 -4
- package/dist/components/lists-and-tables/table/table.js +5 -5
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +8 -3
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +6 -6
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +16 -24
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +18 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +6 -3
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +1 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +7 -0
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +1 -0
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +2 -2
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +4 -4
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +6 -0
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +2 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +12 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +4 -6
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -6
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +3 -2
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -3
- package/dist/components/status-and-feedback/badge/badge.js +3 -3
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +7 -4
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +8 -2
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +3 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +2 -2
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +5 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +3 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +3 -2
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +3 -0
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +3 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +2 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +1 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +8 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/css/form-section.css +2 -0
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/rich-text.css +14 -38
- package/dist/css/title.css +80 -0
- package/dist/css/variables.css +43 -27
- package/dist/nldd.min.js +1803 -1280
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +4 -1
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +4 -1
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +4 -1
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +4 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +4 -1
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +4 -1
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +88 -76
- package/dist/types/vue.d.ts +123 -104
- package/dist/utilities/autoloader.generated.js +1 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +5 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +14 -0
- 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 +162 -62
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +17 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +2 -2
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +10 -6
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/reorder-handle-mixin.d.ts +21 -0
- package/dist/utilities/reorder-handle-mixin.d.ts.map +1 -0
- package/dist/utilities/reorder-handle-mixin.js +34 -0
- package/dist/utilities/reorder-handle-mixin.js.map +1 -0
- package/dist/utilities/translations.d.ts.map +1 -1
- package/dist/utilities/translations.js +9 -0
- package/dist/utilities/translations.js.map +1 -1
- package/lint/css.js +224 -0
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +5 -2
- package/lint/fix.js +11 -0
- package/lint/frontends.js +67 -42
- package/lint/linter.js +193 -8
- package/lint/main.js +20 -7
- package/lint/project.js +2 -2
- package/lint/rule-data.js +20 -0
- package/lint/rule.schema.json +1 -0
- package/package.json +6 -6
- package/dist/cdn/chunks/blockquote-BoOqbGdm.js +0 -189
- package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +0 -3
- package/dist/cdn/chunks/nl.generated-D6T41jG3.js +0 -112
- package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +0 -47
- package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +0 -12
- package/dist/cdn/chunks/translations-wxBSz213.js +0 -8
- package/dist/cdn/chunks/with-translations-XX14GKFh.js +0 -16
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +0 -44
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +0 -5
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +0 -4
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-_JGq4E_7.js";
|
|
2
|
+
import { i as r, n as i } from "./custom-element-DbwbPetH.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as s } from "./
|
|
6
|
-
import { t as c } from "./
|
|
7
|
-
import { t as l } from "./
|
|
5
|
+
import { t as s } from "./owned-attribute-x9OCTy_4.js";
|
|
6
|
+
import { t as c } from "./radio-position-CXWYAjaz.js";
|
|
7
|
+
import { t as l } from "./defer-focus-F73ud2D9.js";
|
|
8
8
|
// src/components/inputs/toggle-button-group/toggle-button-group.styles.ts
|
|
9
|
-
var u =
|
|
9
|
+
var u = r`
|
|
10
10
|
:host {
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
}
|
|
@@ -46,14 +46,14 @@ var u = e`
|
|
|
46
46
|
`;
|
|
47
47
|
// src/components/inputs/toggle-button-group/toggle-button-group.template.ts
|
|
48
48
|
function d(e) {
|
|
49
|
-
return
|
|
49
|
+
return t`
|
|
50
50
|
<div class="toggle-button-group">
|
|
51
51
|
<slot @slotchange=${e._onSlotChange}></slot>
|
|
52
52
|
</div>
|
|
53
53
|
`;
|
|
54
54
|
}
|
|
55
55
|
// src/components/inputs/toggle-button-group/toggle-button-group.ts
|
|
56
|
-
var f = class extends
|
|
56
|
+
var f = class extends e {
|
|
57
57
|
constructor(...e) {
|
|
58
58
|
super(...e), this.required = !1, this.type = "checkbox", this.name = "", this.appearance = "neutral-tinted", this.size = "md", this.disabled = !1, this.accessibleLabel = "", this.accessibleLabeledBy = "", this._appliedLabel = null, this.invalid = !1, this._handleChange = (e) => {
|
|
59
59
|
if (this.type !== "radio") return;
|
|
@@ -93,7 +93,7 @@ var f = class extends n {
|
|
|
93
93
|
this.setAttribute("role", this.type === "radio" ? "radiogroup" : "group");
|
|
94
94
|
}
|
|
95
95
|
updated(e) {
|
|
96
|
-
(e.has("type") || e.has("name") || e.has("appearance") || e.has("size") || e.has("disabled")) && this._syncButtons(), e.has("type") && this._syncRole(), e.has("accessibleLabel") && (this._appliedLabel =
|
|
96
|
+
(e.has("type") || e.has("name") || e.has("appearance") || e.has("size") || e.has("disabled")) && this._syncButtons(), e.has("type") && this._syncRole(), e.has("accessibleLabel") && (this._appliedLabel = s(this, "aria-label", this.accessibleLabel, this._appliedLabel)), e.has("accessibleLabeledBy") && (this.accessibleLabeledBy ? this.setAttribute("aria-labelledby", this.accessibleLabeledBy) : this.removeAttribute("aria-labelledby"));
|
|
97
97
|
}
|
|
98
98
|
_getButtons() {
|
|
99
99
|
return Array.from(this.querySelectorAll("nldd-toggle-button"));
|
|
@@ -115,12 +115,12 @@ var f = class extends n {
|
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
117
117
|
let t = e.some((e) => e.selected);
|
|
118
|
-
|
|
118
|
+
c(e, (e) => e.selected, (e) => e.disabled).forEach((n, r) => {
|
|
119
119
|
e[r]._groupPosition = n, e[r]._groupHasSelection = t;
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
focus(e) {
|
|
123
|
-
if (
|
|
123
|
+
if (l(this, e)) return;
|
|
124
124
|
let t = this._getEnabledButtons();
|
|
125
125
|
(t.find((e) => e.selected) ?? t[0])?.focus(e);
|
|
126
126
|
}
|
|
@@ -128,29 +128,29 @@ var f = class extends n {
|
|
|
128
128
|
return d(this);
|
|
129
129
|
}
|
|
130
130
|
}, p = (f.styles = u, f.isFormInput = !0, f);
|
|
131
|
-
|
|
131
|
+
n([i({
|
|
132
132
|
type: Boolean,
|
|
133
133
|
reflect: !0
|
|
134
|
-
})], p.prototype, "required", void 0),
|
|
134
|
+
})], p.prototype, "required", void 0), n([i({
|
|
135
135
|
reflect: !0,
|
|
136
136
|
converter: o("checkbox")
|
|
137
|
-
})], p.prototype, "type", void 0),
|
|
137
|
+
})], p.prototype, "type", void 0), n([i({ type: String })], p.prototype, "name", void 0), n([i({
|
|
138
138
|
reflect: !0,
|
|
139
139
|
converter: o("neutral-tinted")
|
|
140
|
-
})], p.prototype, "appearance", void 0),
|
|
140
|
+
})], p.prototype, "appearance", void 0), n([i({
|
|
141
141
|
reflect: !0,
|
|
142
142
|
converter: o("md")
|
|
143
|
-
})], p.prototype, "size", void 0),
|
|
143
|
+
})], p.prototype, "size", void 0), n([i({
|
|
144
144
|
type: Boolean,
|
|
145
145
|
reflect: !0
|
|
146
|
-
})], p.prototype, "disabled", void 0),
|
|
146
|
+
})], p.prototype, "disabled", void 0), n([i({
|
|
147
147
|
type: String,
|
|
148
148
|
attribute: "accessible-label"
|
|
149
|
-
})], p.prototype, "accessibleLabel", void 0),
|
|
149
|
+
})], p.prototype, "accessibleLabel", void 0), n([i({
|
|
150
150
|
type: String,
|
|
151
151
|
attribute: "accessible-labeled-by"
|
|
152
|
-
})], p.prototype, "accessibleLabeledBy", void 0),
|
|
152
|
+
})], p.prototype, "accessibleLabeledBy", void 0), n([i({
|
|
153
153
|
type: Boolean,
|
|
154
154
|
reflect: !0
|
|
155
|
-
})], p.prototype, "invalid", void 0), p =
|
|
155
|
+
})], p.prototype, "invalid", void 0), p = n([a("nldd-toggle-button-group")], p);
|
|
156
156
|
export { p as NLDDToggleButtonGroup };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-_JGq4E_7.js";
|
|
3
|
+
import { i as a, n as o, t as s } from "./custom-element-DbwbPetH.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
6
|
-
import { t as u } from "./
|
|
7
|
-
import { t as d } from "./
|
|
8
|
-
import { t as f } from "./
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import { t as m } from "./
|
|
6
|
+
import { t as u } from "./slot-content-BLuPqVXw.js";
|
|
7
|
+
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
+
import { t as f } from "./shadow-resets-NKr5gQCc.js";
|
|
9
|
+
import { t as p } from "./token.i18n-RGD5zAtl.js";
|
|
10
|
+
import "./icon-button-bDuQ_6W_.js";
|
|
11
|
+
import { t as m } from "./translations-BMMzf2sX.js";
|
|
12
12
|
// src/components/content/token/token.styles.ts
|
|
13
|
-
var h =
|
|
13
|
+
var h = a`
|
|
14
14
|
:host {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
}
|
|
@@ -19,11 +19,12 @@ var h = t`
|
|
|
19
19
|
/* # Host */
|
|
20
20
|
|
|
21
21
|
:host {
|
|
22
|
+
--_token-corner-radius: var(--context-control-corner-radius, var(--semantics-controls-sm-corner-radius));
|
|
22
23
|
--_token-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-150));
|
|
23
24
|
--_token-highlight-border-color: var(--semantics-buttons-neutral-tinted-highlight-border-color);
|
|
24
25
|
--_token-focus-z-index: 1;
|
|
25
26
|
|
|
26
|
-
${
|
|
27
|
+
${f}
|
|
27
28
|
display: inline-block;
|
|
28
29
|
max-width: 100%;
|
|
29
30
|
min-width: 0;
|
|
@@ -48,7 +49,7 @@ var h = t`
|
|
|
48
49
|
outline: var(--semantics-focus-ring-outline);
|
|
49
50
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
50
51
|
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
51
|
-
border-radius: var(--
|
|
52
|
+
border-radius: var(--_token-corner-radius);
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
|
|
@@ -59,7 +60,7 @@ var h = t`
|
|
|
59
60
|
display: inline-flex;
|
|
60
61
|
margin: 0;
|
|
61
62
|
border: none;
|
|
62
|
-
border-radius: var(--
|
|
63
|
+
border-radius: var(--_token-corner-radius);
|
|
63
64
|
background: none;
|
|
64
65
|
background-color: var(--_token-background-color);
|
|
65
66
|
position: relative;
|
|
@@ -68,6 +69,7 @@ var h = t`
|
|
|
68
69
|
min-width: 0;
|
|
69
70
|
padding: 0 var(--primitives-space-6);
|
|
70
71
|
align-items: center;
|
|
72
|
+
--context-content-color: var(--semantics-buttons-neutral-tinted-content-color);
|
|
71
73
|
color: var(--semantics-buttons-neutral-tinted-content-color);
|
|
72
74
|
font: var(--semantics-buttons-sm-primary-text-font);
|
|
73
75
|
transition: background-color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default);
|
|
@@ -133,10 +135,10 @@ var h = t`
|
|
|
133
135
|
`;
|
|
134
136
|
// src/components/content/token/token.template.ts
|
|
135
137
|
function g(e) {
|
|
136
|
-
return
|
|
138
|
+
return n`
|
|
137
139
|
<div class="token">
|
|
138
|
-
<span class="token__text">${e._textSlot.has ?
|
|
139
|
-
${e.control === "dismiss" ?
|
|
140
|
+
<span class="token__text">${e._textSlot.has ? r : e.text}<slot @slotchange=${e._textSlot.onChange}></slot></span>
|
|
141
|
+
${e.control === "dismiss" ? n`
|
|
140
142
|
<div class="token__dismiss-action">
|
|
141
143
|
<nldd-icon-button
|
|
142
144
|
size="sm"
|
|
@@ -150,8 +152,8 @@ function g(e) {
|
|
|
150
152
|
@click=${e._handleDismiss}
|
|
151
153
|
></nldd-icon-button>
|
|
152
154
|
</div>
|
|
153
|
-
` :
|
|
154
|
-
${e.control === "menu" ?
|
|
155
|
+
` : r}
|
|
156
|
+
${e.control === "menu" ? n`
|
|
155
157
|
<div class="token__menu-action">
|
|
156
158
|
<nldd-icon-button
|
|
157
159
|
size="sm"
|
|
@@ -168,15 +170,15 @@ function g(e) {
|
|
|
168
170
|
@click=${e._handleMenuClick}
|
|
169
171
|
></nldd-icon-button>
|
|
170
172
|
</div>
|
|
171
|
-
` :
|
|
173
|
+
` : r}
|
|
172
174
|
</div>
|
|
173
|
-
${e.control === "menu" ?
|
|
175
|
+
${e.control === "menu" ? n`<slot name="menu" @slotchange=${e._onMenuSlotChange}></slot>` : r}
|
|
174
176
|
`;
|
|
175
177
|
}
|
|
176
178
|
// src/components/content/token/token.ts
|
|
177
|
-
var _ = /* @__PURE__ */ e({ NLDDToken: () => y }), v = class extends
|
|
179
|
+
var _ = /* @__PURE__ */ e({ NLDDToken: () => y }), v = class extends t {
|
|
178
180
|
constructor(...e) {
|
|
179
|
-
super(...e), this._textSlot = new
|
|
181
|
+
super(...e), this._textSlot = new u(this), this.text = "", this.control = "none", this.dismissText = "", this.menuText = "", this.translations = {}, this.roving = !1, this.expanded = !1, this.disabled = !1, this._slotText = "", this._textObserver = new MutationObserver(() => this._readSlotText()), this._menu = null, this._pointerdownWhileOpen = !1, this._handleMenuToggle = (e) => {
|
|
180
182
|
let t = e.newState === "open";
|
|
181
183
|
if (this.expanded = t, !t) {
|
|
182
184
|
let e = document.activeElement;
|
|
@@ -190,7 +192,7 @@ var _ = /* @__PURE__ */ e({ NLDDToken: () => y }), v = class extends i {
|
|
|
190
192
|
this._slotText = [...this.childNodes].filter((e) => !(e instanceof Element && e.hasAttribute("slot"))).map((e) => e.textContent).join("").replace(/\s+/g, " ").trim();
|
|
191
193
|
}
|
|
192
194
|
_t(e) {
|
|
193
|
-
return
|
|
195
|
+
return m(this.translations, p, e);
|
|
194
196
|
}
|
|
195
197
|
get _dismissLabel() {
|
|
196
198
|
let e = this.text || this._slotText;
|
|
@@ -203,7 +205,7 @@ var _ = /* @__PURE__ */ e({ NLDDToken: () => y }), v = class extends i {
|
|
|
203
205
|
return this.menuText ? this.menuText : e ? `${this._t("components.token.open-token-menu-action")} "${e}"` : this._t("components.token.open-menu-action");
|
|
204
206
|
}
|
|
205
207
|
_handleDismiss(e) {
|
|
206
|
-
e.stopPropagation(),
|
|
208
|
+
e.stopPropagation(), this.disabled || this.dispatchEvent(new CustomEvent("dismiss", {
|
|
207
209
|
bubbles: !0,
|
|
208
210
|
composed: !0
|
|
209
211
|
}));
|
|
@@ -244,23 +246,23 @@ var _ = /* @__PURE__ */ e({ NLDDToken: () => y }), v = class extends i {
|
|
|
244
246
|
return g(this);
|
|
245
247
|
}
|
|
246
248
|
}, y = (v.styles = h, v);
|
|
247
|
-
|
|
249
|
+
i([o({ type: String })], y.prototype, "text", void 0), i([o({
|
|
248
250
|
reflect: !0,
|
|
249
|
-
converter:
|
|
250
|
-
})], y.prototype, "control", void 0),
|
|
251
|
+
converter: d("none")
|
|
252
|
+
})], y.prototype, "control", void 0), i([o({
|
|
251
253
|
type: String,
|
|
252
254
|
attribute: "dismiss-text"
|
|
253
|
-
})], y.prototype, "dismissText", void 0),
|
|
255
|
+
})], y.prototype, "dismissText", void 0), i([o({
|
|
254
256
|
type: String,
|
|
255
257
|
attribute: "menu-text"
|
|
256
|
-
})], y.prototype, "menuText", void 0),
|
|
258
|
+
})], y.prototype, "menuText", void 0), i([o({ type: Object })], y.prototype, "translations", void 0), i([o({
|
|
257
259
|
type: Boolean,
|
|
258
260
|
reflect: !0
|
|
259
|
-
})], y.prototype, "roving", void 0),
|
|
261
|
+
})], y.prototype, "roving", void 0), i([o({
|
|
260
262
|
type: Boolean,
|
|
261
263
|
reflect: !0
|
|
262
|
-
})], y.prototype, "expanded", void 0),
|
|
264
|
+
})], y.prototype, "expanded", void 0), i([o({
|
|
263
265
|
type: Boolean,
|
|
264
266
|
reflect: !0
|
|
265
|
-
})], y.prototype, "disabled", void 0),
|
|
267
|
+
})], y.prototype, "disabled", void 0), i([s()], y.prototype, "_slotText", void 0), i([l(".token__menu-action nldd-icon-button")], y.prototype, "_menuButton", void 0), y = i([c("nldd-token")], y);
|
|
266
268
|
export { _ as t };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { i
|
|
3
|
-
import { n as r, o as i, r as a, t as o } from "./decorate-TduJMFD_.js";
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-_JGq4E_7.js";
|
|
2
|
+
import { i, n as a, t as o } from "./custom-element-DbwbPetH.js";
|
|
4
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as c } from "./
|
|
6
|
-
import { t as l } from "./shadow-resets-
|
|
7
|
-
import { t as u } from "./
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import "./icon-button-
|
|
11
|
-
import "./menu-
|
|
12
|
-
import "./token-
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
4
|
+
import { t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
|
+
import { t as l } from "./shadow-resets-NKr5gQCc.js";
|
|
6
|
+
import { t as u } from "./repeat-Wb4hkVZc.js";
|
|
7
|
+
import "./token-CicHNqIk.js";
|
|
8
|
+
import "./icon-DBhTZrnl.js";
|
|
9
|
+
import "./icon-button-bDuQ_6W_.js";
|
|
10
|
+
import "./menu-CKxKVA36.js";
|
|
11
|
+
import { t as d } from "./token-field.i18n-BclzoR8F.js";
|
|
12
|
+
import { t as f } from "./implicit-submission-Csbcor_E.js";
|
|
13
|
+
import { t as p } from "./described-by-mixin-DbnuGktP.js";
|
|
14
|
+
import { t as m } from "./translations-BMMzf2sX.js";
|
|
15
|
+
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
16
16
|
// src/components/inputs/token-field/token-field.styles.ts
|
|
17
|
-
var g =
|
|
17
|
+
var g = i`
|
|
18
18
|
:host {
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
}
|
|
@@ -32,6 +32,7 @@ var g = e`
|
|
|
32
32
|
--_token-field-validation-icon-size: var(--semantics-input-fields-md-validation-icon-size);
|
|
33
33
|
--_token-field-validation-icon-area-size: calc(var(--_token-field-min-size) - var(--semantics-input-fields-border-width) * 2);
|
|
34
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-nested-control-corner-radius: calc(var(--_token-field-corner-radius) - var(--_token-field-gap) - var(--semantics-input-fields-border-width));
|
|
35
36
|
--_token-field-input-min-width: var(--primitives-area-200);
|
|
36
37
|
|
|
37
38
|
${l}
|
|
@@ -76,6 +77,10 @@ var g = e`
|
|
|
76
77
|
padding-inline: var(--_token-field-gap);
|
|
77
78
|
}
|
|
78
79
|
|
|
80
|
+
.token-field :is(nldd-button, nldd-icon-button, nldd-token) {
|
|
81
|
+
--context-control-corner-radius: var(--_token-field-nested-control-corner-radius);
|
|
82
|
+
}
|
|
83
|
+
|
|
79
84
|
/* The role="list" wrapper carries token grouping for assistive tech without
|
|
80
85
|
affecting layout — the tokens stay flex children of .token-field. */
|
|
81
86
|
.token-field__list {
|
|
@@ -141,7 +146,7 @@ var g = e`
|
|
|
141
146
|
font: var(--_token-field-text-font);
|
|
142
147
|
height: var(--semantics-controls-sm-min-size);
|
|
143
148
|
/* Rounds the autofill mask (below) like a token. */
|
|
144
|
-
border-radius: var(--
|
|
149
|
+
border-radius: var(--_token-field-nested-control-corner-radius);
|
|
145
150
|
padding: 0;
|
|
146
151
|
/* The frame already adds the leading gap, so subtract it to land on the
|
|
147
152
|
standard inline-padding. */
|
|
@@ -150,6 +155,7 @@ var g = e`
|
|
|
150
155
|
}
|
|
151
156
|
|
|
152
157
|
.token-field__input::placeholder {
|
|
158
|
+
--context-content-color: var(--semantics-input-fields-placeholder-color);
|
|
153
159
|
color: var(--semantics-input-fields-placeholder-color);
|
|
154
160
|
}
|
|
155
161
|
|
|
@@ -199,41 +205,43 @@ var g = e`
|
|
|
199
205
|
}
|
|
200
206
|
|
|
201
207
|
:host([valid]) .token-field__validation-icon {
|
|
208
|
+
--context-content-color: var(--semantics-input-fields-is-valid-icon-color);
|
|
202
209
|
color: var(--semantics-input-fields-is-valid-icon-color);
|
|
203
210
|
}
|
|
204
211
|
|
|
205
212
|
:host([invalid]) .token-field__validation-icon {
|
|
213
|
+
--context-content-color: var(--semantics-input-fields-is-invalid-icon-color);
|
|
206
214
|
color: var(--semantics-input-fields-is-invalid-icon-color);
|
|
207
215
|
}
|
|
208
216
|
`;
|
|
209
217
|
// src/components/inputs/token-field/token-field.template.ts
|
|
210
218
|
function _(e) {
|
|
211
|
-
let
|
|
212
|
-
return
|
|
219
|
+
let r = e.invalid ? "invalid" : e.valid ? "valid" : null;
|
|
220
|
+
return r ? t`
|
|
213
221
|
<div class="token-field__validation-icon-area">
|
|
214
222
|
<nldd-icon class="token-field__validation-icon"
|
|
215
|
-
icon=${
|
|
223
|
+
icon=${r}
|
|
216
224
|
aria-hidden="true"
|
|
217
225
|
></nldd-icon>
|
|
218
226
|
</div>
|
|
219
|
-
` :
|
|
227
|
+
` : n;
|
|
220
228
|
}
|
|
221
229
|
function v(e) {
|
|
222
|
-
return
|
|
230
|
+
return t`
|
|
223
231
|
<input class="token-field__input"
|
|
224
232
|
type=${e.type || "text"}
|
|
225
|
-
autocomplete=${e.autocomplete ||
|
|
226
|
-
spellcheck=${e.noSpellcheck ? "false" :
|
|
227
|
-
role=${e._hasMenu ? "combobox" :
|
|
228
|
-
aria-label=${e.accessibleLabel ||
|
|
229
|
-
aria-haspopup=${e._hasMenu ? "listbox" :
|
|
230
|
-
aria-autocomplete=${e._hasMenu ? "list" :
|
|
231
|
-
aria-controls=${e._hasMenu ? e._menuId :
|
|
232
|
-
aria-expanded=${e._hasMenu ? e._isOpen ? "true" : "false" :
|
|
233
|
-
aria-activedescendant=${e._highlightedId ||
|
|
234
|
-
aria-invalid=${e.invalid ? "true" :
|
|
233
|
+
autocomplete=${e.autocomplete || n}
|
|
234
|
+
spellcheck=${e.noSpellcheck ? "false" : n}
|
|
235
|
+
role=${e._hasMenu ? "combobox" : n}
|
|
236
|
+
aria-label=${e.accessibleLabel || n}
|
|
237
|
+
aria-haspopup=${e._hasMenu ? "listbox" : n}
|
|
238
|
+
aria-autocomplete=${e._hasMenu ? "list" : n}
|
|
239
|
+
aria-controls=${e._hasMenu ? e._menuId : n}
|
|
240
|
+
aria-expanded=${e._hasMenu ? e._isOpen ? "true" : "false" : n}
|
|
241
|
+
aria-activedescendant=${e._highlightedId || n}
|
|
242
|
+
aria-invalid=${e.invalid ? "true" : n}
|
|
235
243
|
.value=${e._text}
|
|
236
|
-
placeholder=${e.placeholder ||
|
|
244
|
+
placeholder=${e.placeholder || n}
|
|
237
245
|
?disabled=${e.disabled}
|
|
238
246
|
@input=${e._handleInput}
|
|
239
247
|
@blur=${e._handleBlur}
|
|
@@ -242,7 +250,7 @@ function v(e) {
|
|
|
242
250
|
`;
|
|
243
251
|
}
|
|
244
252
|
function y(e) {
|
|
245
|
-
return
|
|
253
|
+
return t`
|
|
246
254
|
<div class="token-field__picker">
|
|
247
255
|
<nldd-icon-button
|
|
248
256
|
appearance="neutral-tinted"
|
|
@@ -259,65 +267,65 @@ function y(e) {
|
|
|
259
267
|
</div>
|
|
260
268
|
`;
|
|
261
269
|
}
|
|
262
|
-
function b(e,
|
|
263
|
-
let
|
|
264
|
-
return !e.readonly && e.tokenControl === "menu" ?
|
|
270
|
+
function b(e, r, i) {
|
|
271
|
+
let a = e.readonly || e.disabled ? n : !e._showInput && i === e._rovingIndex ? "0" : "-1", o = e._labelFor(r), s = e.readonly ? n : `${o}, ${e._t("components.token-field.removable-lowercase-label")}`;
|
|
272
|
+
return !e.readonly && e.tokenControl === "menu" ? t`
|
|
265
273
|
<nldd-token
|
|
266
274
|
role="listitem"
|
|
267
275
|
aria-label=${s}
|
|
268
276
|
text=${o}
|
|
269
277
|
control="menu"
|
|
270
|
-
tabindex=${
|
|
278
|
+
tabindex=${a}
|
|
271
279
|
?roving=${!e.readonly}
|
|
272
280
|
menu-text=${`${e._t("components.token-field.open-token-menu-action")} "${o}"`}
|
|
273
281
|
?disabled=${e.disabled}
|
|
274
|
-
data-value=${
|
|
275
|
-
@keydown=${(t) => e._handleTokenKeydown(t,
|
|
276
|
-
@select=${(
|
|
282
|
+
data-value=${r}
|
|
283
|
+
@keydown=${(t) => e._handleTokenKeydown(t, i)}
|
|
284
|
+
@select=${(t) => e._handleTokenAction(t, r)}
|
|
277
285
|
>
|
|
278
|
-
${e._tokenMenuFor(
|
|
286
|
+
${e._tokenMenuFor(r)}
|
|
279
287
|
</nldd-token>
|
|
280
|
-
` :
|
|
288
|
+
` : t`
|
|
281
289
|
<nldd-token
|
|
282
290
|
role="listitem"
|
|
283
291
|
aria-label=${s}
|
|
284
292
|
text=${o}
|
|
285
|
-
control=${e.readonly ?
|
|
286
|
-
tabindex=${
|
|
293
|
+
control=${e.readonly ? n : "dismiss"}
|
|
294
|
+
tabindex=${a}
|
|
287
295
|
?roving=${!e.readonly}
|
|
288
296
|
dismiss-text=${`${e._t("components.token-field.dismiss-action")} "${o}"`}
|
|
289
297
|
?disabled=${e.disabled}
|
|
290
|
-
data-value=${
|
|
291
|
-
@dismiss=${() => e._handleTokenDismiss(
|
|
292
|
-
@keydown=${(t) => e._handleTokenKeydown(t,
|
|
298
|
+
data-value=${r}
|
|
299
|
+
@dismiss=${() => e._handleTokenDismiss(r, i)}
|
|
300
|
+
@keydown=${(t) => e._handleTokenKeydown(t, i)}
|
|
293
301
|
></nldd-token>
|
|
294
302
|
`;
|
|
295
303
|
}
|
|
296
304
|
function x(e) {
|
|
297
|
-
return
|
|
305
|
+
return t`
|
|
298
306
|
<div class="token-field"
|
|
299
|
-
data-invalid=${e.invalid ? "" :
|
|
300
|
-
data-valid=${e.valid && !e.invalid ? "" :
|
|
307
|
+
data-invalid=${e.invalid ? "" : n}
|
|
308
|
+
data-valid=${e.valid && !e.invalid ? "" : n}
|
|
301
309
|
@click=${e._handleFieldClick}
|
|
302
310
|
>
|
|
303
311
|
<div class="token-field__list"
|
|
304
312
|
role="list"
|
|
305
313
|
>
|
|
306
|
-
${
|
|
314
|
+
${u(e.values, (e) => e, (t, n) => b(e, t, n))}
|
|
307
315
|
</div>
|
|
308
|
-
${e._showInput || e._showPicker ?
|
|
316
|
+
${e._showInput || e._showPicker ? t`
|
|
309
317
|
<div class="token-field__input-area">
|
|
310
|
-
${e._showInput ? v(e) :
|
|
311
|
-
${e._showPicker ? y(e) :
|
|
318
|
+
${e._showInput ? v(e) : n}
|
|
319
|
+
${e._showPicker ? y(e) : n}
|
|
312
320
|
</div>
|
|
313
|
-
` :
|
|
321
|
+
` : n}
|
|
314
322
|
${_(e)}
|
|
315
323
|
</div>
|
|
316
324
|
<slot @slotchange=${e._onSlotChange}></slot>
|
|
317
325
|
`;
|
|
318
326
|
}
|
|
319
327
|
// src/components/inputs/token-field/token-field.ts
|
|
320
|
-
var S = class extends
|
|
328
|
+
var S = class extends p(c(e)) {
|
|
321
329
|
constructor(...e) {
|
|
322
330
|
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
331
|
queueMicrotask(() => {
|
|
@@ -344,7 +352,7 @@ var S = class extends d(p(r)) {
|
|
|
344
352
|
this._values = t, this.requestUpdate("values", n);
|
|
345
353
|
}
|
|
346
354
|
_t(e) {
|
|
347
|
-
return
|
|
355
|
+
return m(this.translations, d, e);
|
|
348
356
|
}
|
|
349
357
|
connectedCallback() {
|
|
350
358
|
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, {
|
|
@@ -396,7 +404,7 @@ var S = class extends d(p(r)) {
|
|
|
396
404
|
return this.shadowRoot?.querySelector(".token-field__input-area") ?? null;
|
|
397
405
|
}
|
|
398
406
|
focus(e) {
|
|
399
|
-
|
|
407
|
+
h(this, e) || (this._input ? this._input.focus(e) : this._focusTokenAt(this._rovingIndex));
|
|
400
408
|
}
|
|
401
409
|
get _availableOptionCount() {
|
|
402
410
|
let e = 0;
|
|
@@ -491,7 +499,7 @@ var S = class extends d(p(r)) {
|
|
|
491
499
|
break;
|
|
492
500
|
case "Enter": {
|
|
493
501
|
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))) :
|
|
502
|
+
t ? (e.preventDefault(), t.select()) : this.allowCustom && this._text.trim() ? (e.preventDefault(), this._commitValue(this._valueForTypedText(this._text))) : f(this, e);
|
|
495
503
|
break;
|
|
496
504
|
}
|
|
497
505
|
case "Escape":
|
|
@@ -627,38 +635,38 @@ var S = class extends d(p(r)) {
|
|
|
627
635
|
return x(this);
|
|
628
636
|
}
|
|
629
637
|
}, C = S, w = (S.styles = g, S.isFormInput = !0, S.blocksImplicitSubmission = !0, S._idCounter = 0, S);
|
|
630
|
-
|
|
638
|
+
r([a({ converter: {
|
|
631
639
|
fromAttribute: (e) => e ? e.split(",").map((e) => e.trim()).filter(Boolean) : [],
|
|
632
640
|
toAttribute: () => null
|
|
633
|
-
} })], w.prototype, "values", null),
|
|
641
|
+
} })], w.prototype, "values", null), r([a({ type: String })], w.prototype, "placeholder", void 0), r([a({ type: String })], w.prototype, "type", void 0), r([a({ type: String })], w.prototype, "autocomplete", void 0), r([a({
|
|
634
642
|
type: String,
|
|
635
643
|
attribute: "accessible-label"
|
|
636
|
-
})], w.prototype, "accessibleLabel", void 0),
|
|
644
|
+
})], w.prototype, "accessibleLabel", void 0), r([a({
|
|
637
645
|
type: Boolean,
|
|
638
646
|
reflect: !0,
|
|
639
647
|
attribute: "allow-custom"
|
|
640
|
-
})], w.prototype, "allowCustom", void 0),
|
|
648
|
+
})], w.prototype, "allowCustom", void 0), r([a({
|
|
641
649
|
type: Boolean,
|
|
642
650
|
reflect: !0,
|
|
643
651
|
attribute: "no-filter"
|
|
644
|
-
})], w.prototype, "noFilter", void 0),
|
|
652
|
+
})], w.prototype, "noFilter", void 0), r([a({
|
|
645
653
|
type: Boolean,
|
|
646
654
|
reflect: !0
|
|
647
|
-
})], w.prototype, "valid", void 0),
|
|
655
|
+
})], w.prototype, "valid", void 0), r([a({
|
|
648
656
|
type: Boolean,
|
|
649
657
|
reflect: !0
|
|
650
|
-
})], w.prototype, "invalid", void 0),
|
|
658
|
+
})], w.prototype, "invalid", void 0), r([a({
|
|
651
659
|
type: Boolean,
|
|
652
660
|
reflect: !0,
|
|
653
661
|
attribute: "no-spellcheck"
|
|
654
|
-
})], w.prototype, "noSpellcheck", void 0),
|
|
662
|
+
})], w.prototype, "noSpellcheck", void 0), r([a({
|
|
655
663
|
type: Boolean,
|
|
656
664
|
reflect: !0
|
|
657
|
-
})], w.prototype, "readonly", void 0),
|
|
665
|
+
})], w.prototype, "readonly", void 0), r([a({
|
|
658
666
|
type: Boolean,
|
|
659
667
|
reflect: !0
|
|
660
|
-
})], w.prototype, "required", void 0),
|
|
668
|
+
})], w.prototype, "required", void 0), r([a({
|
|
661
669
|
type: Boolean,
|
|
662
670
|
reflect: !0
|
|
663
|
-
})], w.prototype, "disabled", void 0),
|
|
671
|
+
})], w.prototype, "disabled", void 0), r([a({ attribute: "token-control" })], w.prototype, "tokenControl", void 0), r([a({ type: String })], w.prototype, "name", void 0), r([a({ type: Object })], w.prototype, "translations", void 0), r([o()], w.prototype, "_text", void 0), r([o()], w.prototype, "_isOpen", void 0), r([o()], w.prototype, "_highlightedId", void 0), r([o()], w.prototype, "_rovingIndex", void 0), w = C = r([s("nldd-token-field")], w);
|
|
664
672
|
export { w as NLDDTokenField };
|