@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,19 +1,20 @@
|
|
|
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
6
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import {
|
|
8
|
-
import { t as f } from "./
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
7
|
+
import { n as d } from "./shadow-resets-NKr5gQCc.js";
|
|
8
|
+
import { t as f } from "./class-map-BWGTUNv4.js";
|
|
9
|
+
import { t as p } from "./link-rel-DvrTEfVT.js";
|
|
10
|
+
import { n as m } from "./input-modality-XE0B7yCn.js";
|
|
11
|
+
import { t as h } from "./with-translations-CRvWJWep.js";
|
|
12
|
+
import { t as g } from "./list-item.i18n-Br6J5Ev9.js";
|
|
13
|
+
import { r as _, t as v } from "./link-hint-KFhgr5Ng.js";
|
|
14
|
+
import { r as y } from "./element-state-B-44fVqq.js";
|
|
15
|
+
import { t as b } from "./defer-focus-F73ud2D9.js";
|
|
15
16
|
// src/components/lists-and-tables/list-item/list-item.styles.ts
|
|
16
|
-
var
|
|
17
|
+
var x = a`
|
|
17
18
|
:host {
|
|
18
19
|
box-sizing: border-box;
|
|
19
20
|
}
|
|
@@ -22,6 +23,8 @@ var b = t`
|
|
|
22
23
|
|
|
23
24
|
:host {
|
|
24
25
|
--_list-item-background-color: transparent;
|
|
26
|
+
--_list-item-corner-radius: var(--context-list-item-corner-radius, var(--semantics-list-items-indicator-corner-radius));
|
|
27
|
+
--_list-item-inline-inset: var(--context-list-item-inline-inset, var(--semantics-list-items-indicator-inline-inset));
|
|
25
28
|
--_list-item-content-z-index: 0;
|
|
26
29
|
--_list-item-focus-z-index: 1;
|
|
27
30
|
--_list-item-indicator-z-index: calc(var(--_list-item-content-z-index) - 1);
|
|
@@ -52,11 +55,11 @@ var b = t`
|
|
|
52
55
|
/* !important: shields the widening from consumer universal resets, which
|
|
53
56
|
beat normal :host declarations per CSS Scoping. A negative margin
|
|
54
57
|
cannot move inward — an inner element cannot reach outside the host. */
|
|
55
|
-
margin-inline: calc(-1 * var(--
|
|
58
|
+
margin-inline: calc(-1 * var(--_list-item-inline-inset)) !important;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
:host(.is-interactive) .list-item {
|
|
59
|
-
padding-inline: var(--
|
|
62
|
+
padding-inline: var(--_list-item-inline-inset);
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
:host(.is-interactive) .list-item:has(> .list-item__action) {
|
|
@@ -99,16 +102,16 @@ var b = t`
|
|
|
99
102
|
display: none;
|
|
100
103
|
}
|
|
101
104
|
|
|
102
|
-
:host(:not([reorderable])) ::slotted([
|
|
105
|
+
:host(:not([reorderable])) ::slotted([reorder-handle]) {
|
|
103
106
|
display: none;
|
|
104
107
|
}
|
|
105
108
|
|
|
106
|
-
:host([reorderable]) ::slotted([
|
|
109
|
+
:host([reorderable]) ::slotted([reorder-handle]) {
|
|
107
110
|
cursor: grab;
|
|
108
111
|
touch-action: none;
|
|
109
112
|
}
|
|
110
113
|
|
|
111
|
-
:host(.is-dragging) ::slotted([
|
|
114
|
+
:host(.is-dragging) ::slotted([reorder-handle]) {
|
|
112
115
|
cursor: grabbing;
|
|
113
116
|
}
|
|
114
117
|
|
|
@@ -142,7 +145,7 @@ var b = t`
|
|
|
142
145
|
background: none;
|
|
143
146
|
width: 100%;
|
|
144
147
|
padding: 0;
|
|
145
|
-
padding-inline: var(--
|
|
148
|
+
padding-inline: var(--_list-item-inline-inset);
|
|
146
149
|
flex-direction: row;
|
|
147
150
|
align-items: stretch;
|
|
148
151
|
text-align: start;
|
|
@@ -183,9 +186,9 @@ var b = t`
|
|
|
183
186
|
display: block;
|
|
184
187
|
position: absolute;
|
|
185
188
|
inset-block: 0;
|
|
186
|
-
inset-inline: calc(-1 * var(--
|
|
189
|
+
inset-inline: calc(-1 * var(--_list-item-inline-inset));
|
|
187
190
|
z-index: var(--_list-item-indicator-z-index);
|
|
188
|
-
border-radius: var(--
|
|
191
|
+
border-radius: var(--_list-item-corner-radius);
|
|
189
192
|
background-color: var(--_list-item-background-color);
|
|
190
193
|
pointer-events: none;
|
|
191
194
|
}
|
|
@@ -207,14 +210,14 @@ var b = t`
|
|
|
207
210
|
/* On the row, not the host, so a ring inside matches the fill without
|
|
208
211
|
reaching the child rows. :where keeps it as light as the fill it mirrors. */
|
|
209
212
|
:host(:where([selected], [checkbox][checked], [current], [data-current])) .list-item {
|
|
210
|
-
--context-
|
|
213
|
+
--context-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
211
214
|
}
|
|
212
215
|
|
|
213
216
|
/* A checked checkbox action selects the whole row, so the fill runs across
|
|
214
217
|
the disclosure action too instead of stopping at its boundary. */
|
|
215
218
|
.list-item.is-action-checked {
|
|
216
219
|
--_list-item-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
217
|
-
--context-
|
|
220
|
+
--context-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
218
221
|
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
219
222
|
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
220
223
|
}
|
|
@@ -229,7 +232,7 @@ var b = t`
|
|
|
229
232
|
@media (hover: hover) {
|
|
230
233
|
:host(:not([disabled])) .list-item__action:hover {
|
|
231
234
|
--_list-item-background-color: var(--semantics-list-items-is-hovered-background-color);
|
|
232
|
-
--context-
|
|
235
|
+
--context-background-color: var(--semantics-list-items-is-hovered-background-color);
|
|
233
236
|
--context-content-color: var(--semantics-list-items-is-hovered-content-color);
|
|
234
237
|
--context-content-secondary-color: var(--semantics-list-items-is-hovered-content-color);
|
|
235
238
|
}
|
|
@@ -237,7 +240,7 @@ var b = t`
|
|
|
237
240
|
:host(:is([selected], [checkbox][checked]):not([disabled])) .list-item__action:hover,
|
|
238
241
|
:host(:is([current], [data-current]):not([disabled])) .list-item__action:hover {
|
|
239
242
|
--_list-item-background-color: var(--semantics-list-items-is-selected-is-hovered-background-color);
|
|
240
|
-
--context-
|
|
243
|
+
--context-background-color: var(--semantics-list-items-is-selected-is-hovered-background-color);
|
|
241
244
|
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
242
245
|
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
243
246
|
}
|
|
@@ -268,9 +271,10 @@ var b = t`
|
|
|
268
271
|
hovering it as well, and the state it just gave focus to has to win. */
|
|
269
272
|
:host(:is([current], [data-current]):focus-within) .list-item,
|
|
270
273
|
:host(:is([current], [data-current]):focus-within) .list-item__action {
|
|
271
|
-
--context-
|
|
274
|
+
--context-background-color: var(--semantics-list-items-is-highlighted-background-color);
|
|
272
275
|
--context-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
273
276
|
--context-content-secondary-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
277
|
+
${d}
|
|
274
278
|
}
|
|
275
279
|
|
|
276
280
|
:host(:is([current], [data-current]):focus-within) {
|
|
@@ -305,16 +309,17 @@ var b = t`
|
|
|
305
309
|
/* The content color has to travel with the fill: the neutral press rule
|
|
306
310
|
above sets it too, and black on a deep accent is unreadable. */
|
|
307
311
|
:host(:is([current], [data-current]):focus-within:not([disabled])) .list-item__action:hover {
|
|
308
|
-
--context-
|
|
312
|
+
--context-background-color: var(--semantics-list-items-is-highlighted-is-hovered-background-color);
|
|
309
313
|
--context-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
310
314
|
--context-content-secondary-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
315
|
+
${d}
|
|
311
316
|
}
|
|
312
317
|
|
|
313
318
|
/* JS-driven rather than :active, so a touch that turns into a scroll clears
|
|
314
319
|
the press (pointercancel) instead of flashing it. */
|
|
315
320
|
:host(:not([disabled])) .list-item__action.is-pressed {
|
|
316
321
|
--_list-item-background-color: var(--semantics-list-items-is-active-background-color);
|
|
317
|
-
--context-
|
|
322
|
+
--context-background-color: var(--semantics-list-items-is-active-background-color);
|
|
318
323
|
--context-content-color: var(--semantics-list-items-is-active-content-color);
|
|
319
324
|
--context-content-secondary-color: var(--semantics-list-items-is-active-content-color);
|
|
320
325
|
}
|
|
@@ -322,14 +327,14 @@ var b = t`
|
|
|
322
327
|
:host(:is([selected], [checkbox][checked]):not([disabled])) .list-item__action.is-pressed,
|
|
323
328
|
:host(:is([current], [data-current]):not([disabled])) .list-item__action.is-pressed {
|
|
324
329
|
--_list-item-background-color: var(--semantics-list-items-is-selected-is-active-background-color);
|
|
325
|
-
--context-
|
|
330
|
+
--context-background-color: var(--semantics-list-items-is-selected-is-active-background-color);
|
|
326
331
|
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
327
332
|
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
328
333
|
}
|
|
329
334
|
|
|
330
335
|
:host(:is([selected], [checkbox][checked])) .list-item__action {
|
|
331
336
|
--_list-item-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
332
|
-
--context-
|
|
337
|
+
--context-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
333
338
|
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
334
339
|
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
335
340
|
}
|
|
@@ -340,20 +345,22 @@ var b = t`
|
|
|
340
345
|
:host(:is([current], [data-current]):not([disabled])) .list-item__action.is-pressed {
|
|
341
346
|
--context-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
342
347
|
--context-content-secondary-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
348
|
+
${d}
|
|
343
349
|
}
|
|
344
350
|
|
|
345
351
|
/* The same two selectors as the fill above, so the hover rule cannot win. */
|
|
346
352
|
:host(:is([current], [data-current]):not([disabled])) .list-item__action.is-pressed,
|
|
347
353
|
:host(:is([current], [data-current]):focus-within:not([disabled])) .list-item__action.is-pressed {
|
|
348
|
-
--context-
|
|
354
|
+
--context-background-color: var(--semantics-list-items-is-highlighted-is-active-background-color);
|
|
349
355
|
}
|
|
350
356
|
|
|
351
357
|
.list-item.is-highlighted,
|
|
352
358
|
:host(:is([selected], [checkbox][checked])) .list-item.is-highlighted .list-item__action {
|
|
353
359
|
--_list-item-background-color: var(--semantics-list-items-is-highlighted-background-color);
|
|
354
|
-
--context-
|
|
360
|
+
--context-background-color: var(--semantics-list-items-is-highlighted-background-color);
|
|
355
361
|
--context-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
356
362
|
--context-content-secondary-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
363
|
+
${d}
|
|
357
364
|
}
|
|
358
365
|
|
|
359
366
|
|
|
@@ -366,7 +373,7 @@ var b = t`
|
|
|
366
373
|
display: block;
|
|
367
374
|
position: absolute;
|
|
368
375
|
inset: 0;
|
|
369
|
-
border-radius: var(--
|
|
376
|
+
border-radius: var(--_list-item-corner-radius);
|
|
370
377
|
outline: var(--semantics-focus-ring-outline);
|
|
371
378
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
372
379
|
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
@@ -396,7 +403,7 @@ var b = t`
|
|
|
396
403
|
}
|
|
397
404
|
|
|
398
405
|
:host(.is-interactive) .list-item__children {
|
|
399
|
-
padding-inline: var(--
|
|
406
|
+
padding-inline: var(--_list-item-inline-inset);
|
|
400
407
|
}
|
|
401
408
|
|
|
402
409
|
.list-item__children[hidden] {
|
|
@@ -427,8 +434,8 @@ var b = t`
|
|
|
427
434
|
|
|
428
435
|
:host(.is-interactive) .list-item__divider {
|
|
429
436
|
inset-inline:
|
|
430
|
-
var(--_list-item-divider-inset-start, var(--
|
|
431
|
-
var(--_list-item-divider-inset-end, var(--
|
|
437
|
+
var(--_list-item-divider-inset-start, var(--_list-item-inline-inset))
|
|
438
|
+
var(--_list-item-divider-inset-end, var(--_list-item-inline-inset));
|
|
432
439
|
}
|
|
433
440
|
|
|
434
441
|
:host(.is-boxed.is-last) .list-item {
|
|
@@ -440,86 +447,108 @@ var b = t`
|
|
|
440
447
|
:host([data-nldd-clone]) .list-item__divider {
|
|
441
448
|
display: none;
|
|
442
449
|
}
|
|
443
|
-
`,
|
|
444
|
-
let w =
|
|
450
|
+
`, S = n`<slot></slot>`, C = n`<div class="list-item__divider"></div>`, w = (e, t, i, a, o, s, c, l = !1, u = !1, d = !1, m = !1, h, g = !1, _ = !1, v = !1, y = "group", b = h === !0, x = "") => {
|
|
451
|
+
let w = x ? [x, s].filter(Boolean).join(", ") : r, T = h === void 0 ? r : String(h), E = g ? n`<div class="list-item__children"
|
|
445
452
|
role=${y}
|
|
446
453
|
?hidden=${!b}
|
|
447
|
-
><slot name="children"></slot></div>` :
|
|
454
|
+
><slot name="children"></slot></div>` : n`<slot name="children" hidden></slot>`, D = f({
|
|
448
455
|
"list-item": !0,
|
|
449
456
|
"is-highlighted": l,
|
|
450
457
|
"is-action-checked": _
|
|
451
458
|
});
|
|
452
|
-
return t ?
|
|
459
|
+
return t ? n`<div class=${D}>
|
|
453
460
|
<a class="list-item__action"
|
|
454
461
|
href=${t}
|
|
455
|
-
target=${
|
|
456
|
-
rel=${
|
|
457
|
-
download=${
|
|
462
|
+
target=${i ?? r}
|
|
463
|
+
rel=${p(a, i) || r}
|
|
464
|
+
download=${o ?? r}
|
|
458
465
|
aria-label=${w}
|
|
459
|
-
aria-disabled=${v ? "true" :
|
|
466
|
+
aria-disabled=${v ? "true" : r}
|
|
460
467
|
aria-expanded=${T}
|
|
461
|
-
tabindex=${c ??
|
|
462
|
-
>${
|
|
463
|
-
${
|
|
464
|
-
</div>${E}` : u ?
|
|
468
|
+
tabindex=${c ?? r}
|
|
469
|
+
>${S}${s && !x ? n`<span class="list-item__link-hint">, ${s}</span>` : r}</a>
|
|
470
|
+
${C}
|
|
471
|
+
</div>${E}` : u ? n`<div class=${D}>
|
|
465
472
|
<button class="list-item__action"
|
|
466
473
|
type="button"
|
|
467
474
|
role="checkbox"
|
|
468
475
|
aria-label=${w}
|
|
469
476
|
?disabled=${v}
|
|
470
|
-
aria-checked=${String(
|
|
477
|
+
aria-checked=${String(m)}
|
|
471
478
|
aria-expanded=${T}
|
|
472
|
-
tabindex=${c ??
|
|
473
|
-
>${
|
|
474
|
-
${
|
|
475
|
-
</div>${E}` : d ?
|
|
479
|
+
tabindex=${c ?? r}
|
|
480
|
+
>${S}</button>
|
|
481
|
+
${C}
|
|
482
|
+
</div>${E}` : d ? n`<div class=${D}>
|
|
476
483
|
<button class="list-item__action"
|
|
477
484
|
type="button"
|
|
478
485
|
role="radio"
|
|
479
486
|
aria-label=${w}
|
|
480
487
|
?disabled=${v}
|
|
481
|
-
aria-checked=${String(
|
|
482
|
-
tabindex=${c ??
|
|
483
|
-
>${
|
|
484
|
-
${
|
|
485
|
-
</div>${E}` : e ?
|
|
488
|
+
aria-checked=${String(m)}
|
|
489
|
+
tabindex=${c ?? r}
|
|
490
|
+
>${S}</button>
|
|
491
|
+
${C}
|
|
492
|
+
</div>${E}` : e ? n`<div class=${D}>
|
|
486
493
|
<button class="list-item__action"
|
|
487
494
|
type="button"
|
|
488
495
|
aria-label=${w}
|
|
489
496
|
?disabled=${v}
|
|
490
497
|
aria-expanded=${T}
|
|
491
|
-
tabindex=${c ??
|
|
492
|
-
>${
|
|
493
|
-
${
|
|
494
|
-
</div>${E}` :
|
|
495
|
-
${x}
|
|
498
|
+
tabindex=${c ?? r}
|
|
499
|
+
>${S}</button>
|
|
500
|
+
${C}
|
|
501
|
+
</div>${E}` : n`<div class=${D}>
|
|
496
502
|
${S}
|
|
503
|
+
${C}
|
|
497
504
|
</div>${E}`;
|
|
498
|
-
},
|
|
499
|
-
function
|
|
500
|
-
let t =
|
|
505
|
+
}, T = /* @__PURE__ */ e({ NLDDListItem: () => H }), E, D, O = "a[href], button, input, select, textarea, [contenteditable]:not([contenteditable=\"false\"]), [tabindex]", k = /* @__PURE__ */ new WeakMap();
|
|
506
|
+
function A(e) {
|
|
507
|
+
let t = k.get(e);
|
|
501
508
|
return t || (t = {
|
|
502
509
|
noTab: "noTab" in e ? e.noTab : void 0,
|
|
503
510
|
tabindex: e.getAttribute("tabindex")
|
|
504
|
-
},
|
|
511
|
+
}, k.set(e, t)), t;
|
|
505
512
|
}
|
|
506
|
-
function
|
|
513
|
+
function j(e, t) {
|
|
507
514
|
t.noTab === void 0 ? t.tabindex === null ? e.removeAttribute("tabindex") : e.setAttribute("tabindex", t.tabindex) : e.noTab = t.noTab;
|
|
508
515
|
}
|
|
509
|
-
function
|
|
510
|
-
let n =
|
|
511
|
-
n.noTab === void 0 ? t ?
|
|
516
|
+
function M(e, t) {
|
|
517
|
+
let n = A(e);
|
|
518
|
+
n.noTab === void 0 ? t ? j(e, n) : e.setAttribute("tabindex", "-1") : e.noTab = n.noTab || !t;
|
|
519
|
+
}
|
|
520
|
+
function N(e) {
|
|
521
|
+
let t = k.get(e);
|
|
522
|
+
t && (j(e, t), k.delete(e));
|
|
523
|
+
}
|
|
524
|
+
var P = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-checkbox, nldd-radio-button, nldd-switch, a[href], button, input, select, textarea", F = /* @__PURE__ */ new Set(), I = 0, L = /* @__PURE__ */ new WeakMap(), R = null;
|
|
525
|
+
function z(e) {
|
|
526
|
+
let t = [...e].filter((e) => e.isConnected), n = t.map((e) => e._readDividerInsets());
|
|
527
|
+
t.forEach((e, t) => e._writeDividerInsets(n[t]));
|
|
512
528
|
}
|
|
513
|
-
function
|
|
514
|
-
|
|
515
|
-
|
|
529
|
+
function B(e) {
|
|
530
|
+
F.add(e), I || (I = requestAnimationFrame(() => {
|
|
531
|
+
I = 0;
|
|
532
|
+
let e = [...F];
|
|
533
|
+
F.clear(), z(e);
|
|
534
|
+
}));
|
|
535
|
+
}
|
|
536
|
+
function V() {
|
|
537
|
+
return R ?? (R = new ResizeObserver((e) => {
|
|
538
|
+
let t = /* @__PURE__ */ new Set();
|
|
539
|
+
for (let n of e) {
|
|
540
|
+
let e = L.get(n.target);
|
|
541
|
+
e && t.add(e);
|
|
542
|
+
}
|
|
543
|
+
z(t);
|
|
544
|
+
}));
|
|
516
545
|
}
|
|
517
|
-
var
|
|
546
|
+
var H = (E = class extends h(t, g) {
|
|
518
547
|
constructor(...e) {
|
|
519
|
-
super(...e), this.size = "md", this.download = void 0, this.button = !1, this.checkbox = !1, this.radio = !1, this.expandable = !1, this.accessibleLabel = "", this.reorderable = !1, this.selected = !1, this.checked = !1, this.current = !1, this.currentType = "page", this.disabled = !1, this._showChildren = !1, this._parentType = "list", this._arrowNavigation = !1, this._rovingActive = !1, this._highlighted = !1, this._isBoxed = !1, this._hasCheckedSegment = !1, this._lightDomObserver = null, this._rovingControlsCache = null, this.
|
|
548
|
+
super(...e), this.size = "md", this.download = void 0, this.button = !1, this.checkbox = !1, this.radio = !1, this.expandable = !1, this.accessibleLabel = "", this.reorderable = !1, this.selected = !1, this.checked = !1, this.current = !1, this.currentType = "page", this.disabled = !1, this._showChildren = !1, this._parentType = "list", this._arrowNavigation = !1, this._rovingActive = !1, this._highlighted = !1, this._isBoxed = !1, this._hasCheckedSegment = !1, this._lightDomObserver = null, this._rovingControlsCache = null, this._observedMarkerTargets = [], this._dividerStarts = [], this._dividerEnds = [], this._ownCellSize = /* @__PURE__ */ new WeakMap(), this._onSlotChange = (e) => {
|
|
520
549
|
if (!import.meta.env?.DEV) return;
|
|
521
550
|
let t = e.target;
|
|
522
|
-
t.name || (
|
|
551
|
+
t.name || (y(this, "bare-text", t.assignedNodes({ flatten: !0 }).some((e) => e.nodeType === Node.TEXT_NODE && (e.textContent ?? "").trim() !== "")), this._syncNestedControl());
|
|
523
552
|
}, this._handleClick = (e) => {
|
|
524
553
|
this.disabled ? (e.preventDefault(), e.stopPropagation()) : (this._action?.focus(), this.checkbox && !this.href && e.composedPath().includes(this._action) && (this.checked = !this.checked, this.dispatchEvent(new CustomEvent("change", {
|
|
525
554
|
detail: { checked: this.checked },
|
|
@@ -531,7 +560,7 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
531
560
|
composed: !0
|
|
532
561
|
}))));
|
|
533
562
|
}, this._handleFocusIn = () => {
|
|
534
|
-
this._action?.classList.toggle("is-pointer-focus",
|
|
563
|
+
this._action?.classList.toggle("is-pointer-focus", m());
|
|
535
564
|
}, this._handleFocusOut = () => {
|
|
536
565
|
this._action?.classList.remove("is-pointer-focus");
|
|
537
566
|
}, this._onMouseDown = (e) => {
|
|
@@ -543,7 +572,7 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
543
572
|
};
|
|
544
573
|
}
|
|
545
574
|
connectedCallback() {
|
|
546
|
-
super.connectedCallback(), this._captureAuthoredCellSizes(),
|
|
575
|
+
super.connectedCallback(), this._captureAuthoredCellSizes(), this.hasAttribute("data-nldd-clone") || (this.setAttribute("role", "listitem"), this.addEventListener("focusin", this._handleFocusIn), this.addEventListener("focusout", this._handleFocusOut), this.addEventListener("click", this._handleClick), this.addEventListener("pointerdown", this._onPointerDown), this.addEventListener("mousedown", this._onMouseDown), this._lightDomObserver = new MutationObserver(() => this._onLightDomChange()), this._lightDomObserver.observe(this, {
|
|
547
576
|
subtree: !0,
|
|
548
577
|
childList: !0,
|
|
549
578
|
attributes: !0,
|
|
@@ -556,19 +585,20 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
556
585
|
}), this._onLightDomChange());
|
|
557
586
|
}
|
|
558
587
|
disconnectedCallback() {
|
|
559
|
-
super.disconnectedCallback(), this.removeEventListener("focusin", this._handleFocusIn), this.removeEventListener("focusout", this._handleFocusOut), this.removeEventListener("click", this._handleClick), this.removeEventListener("pointerdown", this._onPointerDown), this.removeEventListener("mousedown", this._onMouseDown), this._clearPressed(), this._lightDomObserver?.disconnect(), this._lightDomObserver = null, this.
|
|
588
|
+
super.disconnectedCallback(), this.removeEventListener("focusin", this._handleFocusIn), this.removeEventListener("focusout", this._handleFocusOut), this.removeEventListener("click", this._handleClick), this.removeEventListener("pointerdown", this._onPointerDown), this.removeEventListener("mousedown", this._onMouseDown), this._clearPressed(), this._lightDomObserver?.disconnect(), this._lightDomObserver = null, this._watchMarkers([]), F.delete(this);
|
|
560
589
|
}
|
|
561
590
|
_onLightDomChange() {
|
|
562
591
|
this._updateCheckedSegment(), this._updateCurrentSegment(), this._updateInteractive(), this._measureDividerMarkers(), this._rovingControlsCache = null, this._arrowNavigation && (this._syncRovingTabStops(), this._parentList?._updateRoving());
|
|
563
592
|
}
|
|
564
593
|
get _parentList() {
|
|
565
|
-
|
|
594
|
+
let e = this.closest("nldd-list");
|
|
595
|
+
return e?.matches(":defined") ? e : null;
|
|
566
596
|
}
|
|
567
597
|
_rovingControls() {
|
|
568
598
|
if (this._rovingControlsCache) return this._rovingControlsCache;
|
|
569
599
|
let e = /* @__PURE__ */ new Set(), t = this._ownDescendants("*").filter((t) => {
|
|
570
600
|
let n = t.tagName.toLowerCase();
|
|
571
|
-
return n === "nldd-list-item-segment" ? !1 : n.includes("-") && !customElements.get(n) ? (e.add(n), !1) : "noTab" in t || t.matches(
|
|
601
|
+
return n === "nldd-list-item-segment" ? !1 : n.includes("-") && !customElements.get(n) ? (e.add(n), !1) : "noTab" in t || t.matches(O);
|
|
572
602
|
});
|
|
573
603
|
return this._rovingControlsCache = t, e.forEach((e) => {
|
|
574
604
|
customElements.whenDefined(e).then(() => {
|
|
@@ -592,7 +622,7 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
592
622
|
this.classList.toggle("has-leading-segment", n(t[0])), this.classList.toggle("has-trailing-segment", n(t[t.length - 1]));
|
|
593
623
|
}
|
|
594
624
|
willUpdate(e) {
|
|
595
|
-
super.willUpdate(e),
|
|
625
|
+
super.willUpdate(e), this.hasUpdated || this.hasAttribute("data-nldd-clone") || this._syncWithList();
|
|
596
626
|
}
|
|
597
627
|
firstUpdated() {
|
|
598
628
|
this.hasAttribute("data-nldd-clone") || (this._observeChildrenSlot(), this.renderRoot.addEventListener("slotchange", this._onSlotChange), queueMicrotask(() => this._updateChildren()), this._relayExpanded(), this._measureDividerMarkers());
|
|
@@ -601,12 +631,12 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
601
631
|
return Array.from(this.querySelectorAll(e)).filter((e) => e.closest("nldd-list-item") === this);
|
|
602
632
|
}
|
|
603
633
|
_captureAuthoredCellSizes() {
|
|
604
|
-
this._ownDescendants(
|
|
634
|
+
this._ownDescendants(D.SIZED_CELLS).forEach((e) => {
|
|
605
635
|
this._ownCellSize.has(e) || this._ownCellSize.set(e, e.getAttribute("size"));
|
|
606
636
|
});
|
|
607
637
|
}
|
|
608
638
|
_propagateSize() {
|
|
609
|
-
this._captureAuthoredCellSizes(), this._ownDescendants(
|
|
639
|
+
this._captureAuthoredCellSizes(), this._ownDescendants(D.SIZED_CELLS).forEach((e) => {
|
|
610
640
|
this._ownCellSize.get(e) ?? e.setAttribute("size", this.size);
|
|
611
641
|
});
|
|
612
642
|
}
|
|
@@ -626,23 +656,23 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
626
656
|
}
|
|
627
657
|
_syncLabelFacts() {
|
|
628
658
|
let e = this._ownDescendants("nldd-title-cell, nldd-text-cell")[0], t = (e) => e.replace(/\*\*/g, "").replace(/\s+/g, " ").trim().toLowerCase(), n = t(e?.getAttribute("text") ?? e?.textContent ?? ""), r = !!this.accessibleLabel && !!n && !t(this.accessibleLabel).startsWith(n);
|
|
629
|
-
|
|
659
|
+
y(this, "label-without-title", r);
|
|
630
660
|
}
|
|
631
661
|
_syncExpandedFacts() {
|
|
632
662
|
if (!import.meta.env?.DEV) return;
|
|
633
663
|
let e = this.expanded !== void 0 || this.expandable, t = e && this._showChildren && this._parentType === "navigation";
|
|
634
|
-
|
|
664
|
+
y(this, "expanded-in-navigation", t), y(this, "expanded-without-control", e && !t && !this.href && !this.button && !this.checkbox && this._ownDescendants("nldd-list-item-segment[disclosure]").length === 0);
|
|
635
665
|
}
|
|
636
666
|
_syncNestedControl() {
|
|
637
667
|
if (!import.meta.env?.DEV || this.hasAttribute("data-nldd-clone")) return;
|
|
638
668
|
let e = !!(this.href || this.button || this.checkbox || this.radio);
|
|
639
|
-
|
|
669
|
+
y(this, "nested-control", e && [...this.children].filter((e) => !e.slot).flatMap((e) => [e, ...e.querySelectorAll("*")]).some((e) => e.matches(P) && !e.matches("[decorative]") && !e.closest("[aria-hidden=\"true\"], [inert]")));
|
|
640
670
|
}
|
|
641
671
|
get _isListboxOption() {
|
|
642
672
|
return this._parentType === "listbox";
|
|
643
673
|
}
|
|
644
674
|
_syncWithList() {
|
|
645
|
-
let e = this.
|
|
675
|
+
let e = this._parentList;
|
|
646
676
|
e && (this._applyAppearance(e.appearance), this._applyParentType(e.type));
|
|
647
677
|
}
|
|
648
678
|
_applyAppearance(e) {
|
|
@@ -667,21 +697,52 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
667
697
|
}
|
|
668
698
|
_measureDividerMarkers() {
|
|
669
699
|
if (this.hasAttribute("data-nldd-clone")) return;
|
|
670
|
-
let e = this._parentList?.getAttribute("dividers") !== "never", t = e ? this._ownDescendants("[divider-start]") : []
|
|
700
|
+
let e = this._parentList?.getAttribute("dividers") !== "never", t = e ? this._ownDescendants("[divider-start]") : [];
|
|
701
|
+
this._dividerStarts = e ? t.length ? t : this._implicitDividerStart() : [], this._dividerEnds = e ? this._ownDescendants("[divider-end]") : [];
|
|
702
|
+
let n = this._dividerStarts.length || this._dividerEnds.length ? [
|
|
671
703
|
this,
|
|
672
|
-
...
|
|
673
|
-
...
|
|
704
|
+
...this._dividerStarts,
|
|
705
|
+
...this._dividerEnds
|
|
674
706
|
] : [];
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
if (
|
|
683
|
-
|
|
684
|
-
|
|
707
|
+
n.length === 0 ? (this._watchMarkers([]), this._writeDividerInsets({
|
|
708
|
+
degenerate: !1,
|
|
709
|
+
start: null,
|
|
710
|
+
end: null
|
|
711
|
+
})) : this._watchMarkers(n) || B(this);
|
|
712
|
+
}
|
|
713
|
+
_watchMarkers(e) {
|
|
714
|
+
if (e.length === this._observedMarkerTargets.length && e.every((e, t) => e === this._observedMarkerTargets[t])) return !1;
|
|
715
|
+
for (let e of this._observedMarkerTargets) R?.unobserve(e), L.get(e) === this && L.delete(e);
|
|
716
|
+
this._observedMarkerTargets = e;
|
|
717
|
+
for (let t of e) L.set(t, this), V().observe(t);
|
|
718
|
+
return !0;
|
|
719
|
+
}
|
|
720
|
+
_readDividerInsets() {
|
|
721
|
+
let e = this._dividerStarts, t = this._dividerEnds;
|
|
722
|
+
if (!e.length && !t.length) return {
|
|
723
|
+
degenerate: !1,
|
|
724
|
+
start: null,
|
|
725
|
+
end: null
|
|
726
|
+
};
|
|
727
|
+
let n = this.shadowRoot?.querySelector(".list-item");
|
|
728
|
+
if (!n) return null;
|
|
729
|
+
let r = n.getBoundingClientRect();
|
|
730
|
+
if (r.width === 0) return null;
|
|
731
|
+
let i = getComputedStyle(this).direction === "rtl", a = (e) => i ? r.right - e.right : e.left - r.left, o = (e) => i ? e.left - r.left : r.right - e.right, s = (e) => e.getClientRects().length > 0, c = e.filter(s), l = t.filter(s), u = c.length ? Math.min(...c.map((e) => a(e.getBoundingClientRect()))) : null, d = l.length ? Math.min(...l.map((e) => o(e.getBoundingClientRect()))) : null;
|
|
732
|
+
return {
|
|
733
|
+
degenerate: u !== null && d !== null && r.width - u - d <= 0,
|
|
734
|
+
start: u,
|
|
735
|
+
end: d
|
|
736
|
+
};
|
|
737
|
+
}
|
|
738
|
+
_writeDividerInsets(e) {
|
|
739
|
+
if (!e) return;
|
|
740
|
+
y(this, "degenerate-divider", e.degenerate);
|
|
741
|
+
let { start: t, end: n } = e.degenerate ? {
|
|
742
|
+
start: null,
|
|
743
|
+
end: null
|
|
744
|
+
} : e;
|
|
745
|
+
t === null ? this.style.removeProperty("--_list-item-divider-inset-start") : this.style.setProperty("--_list-item-divider-inset-start", `${t}px`), n === null ? this.style.removeProperty("--_list-item-divider-inset-end") : this.style.setProperty("--_list-item-divider-inset-end", `${n}px`);
|
|
685
746
|
}
|
|
686
747
|
_observeChildrenSlot() {
|
|
687
748
|
(this.shadowRoot?.querySelector("slot[name=\"children\"]"))?.addEventListener("slotchange", () => this._updateChildren());
|
|
@@ -698,17 +759,17 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
698
759
|
return t.slice(0, n === -1 ? t.length : n).some((e) => e instanceof Element && e.localName === "nldd-list-item");
|
|
699
760
|
}
|
|
700
761
|
focus(e) {
|
|
701
|
-
|
|
762
|
+
b(this, e) || (this._action ? this._action.focus(e) : super.focus(e));
|
|
702
763
|
}
|
|
703
764
|
_syncRovingTabStops() {
|
|
704
765
|
let e = this._ownSegments();
|
|
705
766
|
this._arrowNavigation ? (this._action || !this._rovingActive ? this.removeAttribute("tabindex") : this.setAttribute("tabindex", "0"), e.forEach((e) => {
|
|
706
767
|
e._tabbable = this._rovingActive;
|
|
707
768
|
}), this._rovingControls().forEach((e) => {
|
|
708
|
-
|
|
769
|
+
M(e, this._rovingActive);
|
|
709
770
|
})) : (this.removeAttribute("tabindex"), e.forEach((e) => {
|
|
710
771
|
e._tabbable = void 0;
|
|
711
|
-
}), this._rovingControls().forEach(
|
|
772
|
+
}), this._rovingControls().forEach(N));
|
|
712
773
|
}
|
|
713
774
|
_slottedControlFor(e) {
|
|
714
775
|
let t = [];
|
|
@@ -722,7 +783,7 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
722
783
|
this._arrowNavigation && this._rovingActive && (this._ownSegments().forEach((e) => {
|
|
723
784
|
e._tabbable = !1;
|
|
724
785
|
}), this._rovingControls().forEach((e) => {
|
|
725
|
-
|
|
786
|
+
M(e, !1);
|
|
726
787
|
}));
|
|
727
788
|
}
|
|
728
789
|
_ownSegments() {
|
|
@@ -752,51 +813,51 @@ var N = "nldd-list-item-segment, nldd-button, nldd-icon-button, nldd-link, nldd-
|
|
|
752
813
|
if (e && e.tagName.toLowerCase() === "nldd-list-item") return e;
|
|
753
814
|
}
|
|
754
815
|
render() {
|
|
755
|
-
let e =
|
|
756
|
-
this.href &&
|
|
816
|
+
let e = v(this.href, this.target, this.download);
|
|
817
|
+
this.href && _(this, this.download, this.target);
|
|
757
818
|
let t = e ? this._t(`components.list-item.${e}`) : void 0, n = this._isListboxOption ? "-1" : this._arrowNavigation ? this._rovingActive ? "0" : "-1" : void 0;
|
|
758
|
-
return
|
|
819
|
+
return w(this.button, this.href, this.target, this.rel, this.download, t, n, this._highlighted, this.checkbox, this.radio, this.checked, this._resolvedExpanded, this._showChildren, this._hasCheckedSegment, this.disabled, this._parentType === "navigation" ? "list" : "group", this._childrenOpen, this.accessibleLabel);
|
|
759
820
|
}
|
|
760
|
-
},
|
|
761
|
-
|
|
821
|
+
}, D = E, E.styles = [x], E.SIZED_CELLS = "nldd-text-cell, nldd-reorder-handle-cell", E);
|
|
822
|
+
i([o({
|
|
762
823
|
reflect: !0,
|
|
763
824
|
converter: u("md")
|
|
764
|
-
})],
|
|
825
|
+
})], H.prototype, "size", void 0), i([o({ reflect: !0 })], H.prototype, "href", void 0), i([o({ reflect: !0 })], H.prototype, "target", void 0), i([o({ type: String })], H.prototype, "download", void 0), i([o({ reflect: !0 })], H.prototype, "rel", void 0), i([o({
|
|
765
826
|
type: Boolean,
|
|
766
827
|
reflect: !0
|
|
767
|
-
})],
|
|
828
|
+
})], H.prototype, "button", void 0), i([o({
|
|
768
829
|
type: Boolean,
|
|
769
830
|
reflect: !0
|
|
770
|
-
})],
|
|
831
|
+
})], H.prototype, "checkbox", void 0), i([o({
|
|
771
832
|
type: Boolean,
|
|
772
833
|
reflect: !0
|
|
773
|
-
})],
|
|
834
|
+
})], H.prototype, "radio", void 0), i([o({
|
|
774
835
|
type: Boolean,
|
|
775
836
|
reflect: !0
|
|
776
|
-
})],
|
|
837
|
+
})], H.prototype, "expandable", void 0), i([o({
|
|
777
838
|
type: String,
|
|
778
839
|
attribute: "accessible-label"
|
|
779
|
-
})],
|
|
840
|
+
})], H.prototype, "accessibleLabel", void 0), i([o({
|
|
780
841
|
type: Boolean,
|
|
781
842
|
reflect: !0
|
|
782
|
-
})],
|
|
843
|
+
})], H.prototype, "reorderable", void 0), i([o({
|
|
783
844
|
type: Boolean,
|
|
784
845
|
reflect: !0
|
|
785
|
-
})],
|
|
846
|
+
})], H.prototype, "selected", void 0), i([o({
|
|
786
847
|
type: Boolean,
|
|
787
848
|
reflect: !0
|
|
788
|
-
})],
|
|
849
|
+
})], H.prototype, "checked", void 0), i([o({
|
|
789
850
|
type: Boolean,
|
|
790
851
|
reflect: !0
|
|
791
|
-
})],
|
|
852
|
+
})], H.prototype, "expanded", void 0), i([o({
|
|
792
853
|
type: Boolean,
|
|
793
854
|
reflect: !0
|
|
794
|
-
})],
|
|
855
|
+
})], H.prototype, "current", void 0), i([o({
|
|
795
856
|
reflect: !0,
|
|
796
857
|
attribute: "current-type",
|
|
797
858
|
converter: u("page")
|
|
798
|
-
})],
|
|
859
|
+
})], H.prototype, "currentType", void 0), i([o({
|
|
799
860
|
type: Boolean,
|
|
800
861
|
reflect: !0
|
|
801
|
-
})],
|
|
802
|
-
export {
|
|
862
|
+
})], H.prototype, "disabled", void 0), i([s()], H.prototype, "_showChildren", void 0), i([s()], H.prototype, "_parentType", void 0), i([s()], H.prototype, "_arrowNavigation", void 0), i([s()], H.prototype, "_rovingActive", void 0), i([s()], H.prototype, "_highlighted", void 0), i([l(".list-item__action")], H.prototype, "_action", void 0), i([s()], H.prototype, "_hasCheckedSegment", void 0), H = D = i([c("nldd-list-item")], H);
|
|
863
|
+
export { T as t };
|