@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,23 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-_JGq4E_7.js";
|
|
2
|
+
import { i, n as a, t as o } from "./custom-element-DbwbPetH.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
6
|
+
import { n as u } from "./input-modality-XE0B7yCn.js";
|
|
7
|
+
import { t as d } from "./link-rel-DvrTEfVT.js";
|
|
8
|
+
import { t as f } from "./with-translations-CRvWJWep.js";
|
|
9
|
+
import { r as p, t as m } from "./link-hint-KFhgr5Ng.js";
|
|
10
|
+
import { t as h } from "./list-item-segment.i18n-DHnrQL4V.js";
|
|
10
11
|
import { t as g } from "./defer-focus-F73ud2D9.js";
|
|
11
|
-
import { n as _ } from "./
|
|
12
|
-
import { t as v } from "./list-item-segment.i18n-DHnrQL4V.js";
|
|
12
|
+
import { n as _, t as v } from "./popover-target-B25dxnmt.js";
|
|
13
13
|
// src/components/lists-and-tables/list-item-segment/list-item-segment.styles.ts
|
|
14
|
-
var y =
|
|
14
|
+
var y = i`
|
|
15
15
|
:host {
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
:host {
|
|
20
20
|
--_list-item-segment-background-color: transparent;
|
|
21
|
+
--_list-item-segment-corner-radius: var(--context-list-item-corner-radius, var(--semantics-list-items-indicator-corner-radius));
|
|
22
|
+
--_list-item-segment-inline-inset: var(--context-list-item-inline-inset, var(--semantics-list-items-indicator-inline-inset));
|
|
21
23
|
--_list-item-segment-min-size: var(--context-list-item-size, var(--semantics-controls-md-min-size));
|
|
22
24
|
--_list-item-segment-expanded-rotation: 90deg;
|
|
23
25
|
--_list-item-segment-fill-z-index: -1;
|
|
@@ -79,7 +81,7 @@ var y = e`
|
|
|
79
81
|
width: 100%;
|
|
80
82
|
min-width: 0;
|
|
81
83
|
padding: 0;
|
|
82
|
-
padding-inline: var(--
|
|
84
|
+
padding-inline: var(--_list-item-segment-inline-inset);
|
|
83
85
|
flex-direction: row;
|
|
84
86
|
align-items: center;
|
|
85
87
|
justify-content: center;
|
|
@@ -107,7 +109,7 @@ var y = e`
|
|
|
107
109
|
z-index: var(--_list-item-segment-fill-z-index);
|
|
108
110
|
inset-block: 0;
|
|
109
111
|
inset-inline: 0;
|
|
110
|
-
border-radius: var(--
|
|
112
|
+
border-radius: var(--_list-item-segment-corner-radius);
|
|
111
113
|
background-color: var(--_list-item-segment-background-color);
|
|
112
114
|
pointer-events: none;
|
|
113
115
|
}
|
|
@@ -118,7 +120,7 @@ var y = e`
|
|
|
118
120
|
:host(:not([disabled])) a.list-item-segment:hover,
|
|
119
121
|
button.list-item-segment:not(:disabled):hover {
|
|
120
122
|
--_list-item-segment-background-color: var(--context-list-item-hovered-background-color, var(--semantics-list-items-is-hovered-background-color));
|
|
121
|
-
--context-
|
|
123
|
+
--context-background-color: var(--_list-item-segment-background-color);
|
|
122
124
|
--context-content-color: var(--context-list-item-hovered-content-color, var(--semantics-list-items-is-hovered-content-color));
|
|
123
125
|
--context-content-secondary-color: var(--context-list-item-hovered-content-color, var(--semantics-list-items-is-hovered-content-color));
|
|
124
126
|
}
|
|
@@ -132,7 +134,7 @@ var y = e`
|
|
|
132
134
|
button.list-item-segment:not(:disabled).is-pressed,
|
|
133
135
|
:host(:not([disabled])) .list-item-segment.is-pressed {
|
|
134
136
|
--_list-item-segment-background-color: var(--context-list-item-active-background-color, var(--semantics-list-items-is-active-background-color));
|
|
135
|
-
--context-
|
|
137
|
+
--context-background-color: var(--_list-item-segment-background-color);
|
|
136
138
|
--context-content-color: var(--context-list-item-active-content-color, var(--context-list-item-hovered-content-color, var(--semantics-list-items-is-active-content-color)));
|
|
137
139
|
--context-content-secondary-color: var(--context-list-item-active-content-color, var(--context-list-item-hovered-content-color, var(--semantics-list-items-is-active-content-color)));
|
|
138
140
|
}
|
|
@@ -141,7 +143,7 @@ var y = e`
|
|
|
141
143
|
dim it while what it opened is still on screen. */
|
|
142
144
|
:host([expanded]) .list-item-segment {
|
|
143
145
|
--_list-item-segment-background-color: var(--semantics-list-items-is-expanded-background-color);
|
|
144
|
-
--context-
|
|
146
|
+
--context-background-color: var(--_list-item-segment-background-color);
|
|
145
147
|
--context-content-color: var(--semantics-list-items-is-expanded-content-color);
|
|
146
148
|
--context-content-secondary-color: var(--semantics-list-items-is-expanded-content-color);
|
|
147
149
|
}
|
|
@@ -150,7 +152,7 @@ var y = e`
|
|
|
150
152
|
:host([expanded]:not([disabled])) a.list-item-segment:hover,
|
|
151
153
|
:host([expanded]) button.list-item-segment:not(:disabled):hover {
|
|
152
154
|
--_list-item-segment-background-color: var(--semantics-list-items-is-expanded-is-hovered-background-color);
|
|
153
|
-
--context-
|
|
155
|
+
--context-background-color: var(--_list-item-segment-background-color);
|
|
154
156
|
--context-content-color: var(--semantics-list-items-is-expanded-content-color);
|
|
155
157
|
--context-content-secondary-color: var(--semantics-list-items-is-expanded-content-color);
|
|
156
158
|
}
|
|
@@ -160,14 +162,14 @@ var y = e`
|
|
|
160
162
|
:host([expanded]) button.list-item-segment:not(:disabled).is-pressed,
|
|
161
163
|
:host([expanded]:not([disabled])) .list-item-segment.is-pressed {
|
|
162
164
|
--_list-item-segment-background-color: var(--semantics-list-items-is-expanded-is-active-background-color);
|
|
163
|
-
--context-
|
|
165
|
+
--context-background-color: var(--_list-item-segment-background-color);
|
|
164
166
|
--context-content-color: var(--semantics-list-items-is-expanded-content-color);
|
|
165
167
|
--context-content-secondary-color: var(--semantics-list-items-is-expanded-content-color);
|
|
166
168
|
}
|
|
167
169
|
|
|
168
170
|
:host([checked]) .list-item-segment {
|
|
169
171
|
--_list-item-segment-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
170
|
-
--context-
|
|
172
|
+
--context-background-color: var(--_list-item-segment-background-color);
|
|
171
173
|
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
172
174
|
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
173
175
|
}
|
|
@@ -177,7 +179,7 @@ var y = e`
|
|
|
177
179
|
display: block;
|
|
178
180
|
position: absolute;
|
|
179
181
|
inset: 0;
|
|
180
|
-
border-radius: var(--
|
|
182
|
+
border-radius: var(--_list-item-segment-corner-radius);
|
|
181
183
|
outline: var(--semantics-focus-ring-outline);
|
|
182
184
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
183
185
|
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
@@ -197,43 +199,43 @@ var y = e`
|
|
|
197
199
|
}
|
|
198
200
|
`;
|
|
199
201
|
// src/components/lists-and-tables/list-item-segment/list-item-segment.template.ts
|
|
200
|
-
function b(e,
|
|
201
|
-
let v =
|
|
202
|
-
return e === "link" ?
|
|
203
|
-
href=${
|
|
204
|
-
target=${
|
|
205
|
-
rel=${
|
|
206
|
-
download=${o ??
|
|
207
|
-
aria-disabled=${
|
|
202
|
+
function b(e, r, i, a, o, s, c, l, u, f, p, m, h, g, _ = "") {
|
|
203
|
+
let v = t`<slot></slot>`, y = c === void 0 ? m ? "false" : n : String(c), b = l ?? n, x = f || n, S = f ? [f, _].filter(Boolean).join(", ") : n;
|
|
204
|
+
return e === "link" ? t`<a class="list-item-segment"
|
|
205
|
+
href=${r ?? n}
|
|
206
|
+
target=${i ?? n}
|
|
207
|
+
rel=${d(a, i) || n}
|
|
208
|
+
download=${o ?? n}
|
|
209
|
+
aria-disabled=${u ? "true" : n}
|
|
208
210
|
aria-expanded=${y}
|
|
209
211
|
aria-current=${b}
|
|
210
212
|
aria-label=${S}
|
|
211
|
-
tabindex=${p ??
|
|
212
|
-
>${v}${_ && !f ?
|
|
213
|
+
tabindex=${p ?? n}
|
|
214
|
+
>${v}${_ && !f ? t`<span class="list-item-segment__link-hint">, ${_}</span>` : n}</a>` : e === "checkbox" || e === "button" ? t`<button class="list-item-segment"
|
|
213
215
|
type="button"
|
|
214
|
-
aria-haspopup=${m ||
|
|
216
|
+
aria-haspopup=${m || n}
|
|
215
217
|
.popoverTargetElement=${h ?? null}
|
|
216
218
|
.popoverTargetAction=${g ?? "toggle"}
|
|
217
|
-
role=${e === "checkbox" ? "checkbox" :
|
|
218
|
-
aria-checked=${e === "checkbox" ? String(s) :
|
|
219
|
+
role=${e === "checkbox" ? "checkbox" : n}
|
|
220
|
+
aria-checked=${e === "checkbox" ? String(s) : n}
|
|
219
221
|
aria-expanded=${y}
|
|
220
222
|
aria-current=${b}
|
|
221
223
|
aria-label=${x}
|
|
222
|
-
?disabled=${
|
|
223
|
-
tabindex=${p ??
|
|
224
|
-
>${v}</button>` :
|
|
224
|
+
?disabled=${u}
|
|
225
|
+
tabindex=${p ?? n}
|
|
226
|
+
>${v}</button>` : t`<div class="list-item-segment">${v}</div>`;
|
|
225
227
|
}
|
|
226
228
|
// src/components/lists-and-tables/list-item-segment/list-item-segment.ts
|
|
227
|
-
var x = class extends
|
|
229
|
+
var x = class extends f(e, h) {
|
|
228
230
|
constructor(...e) {
|
|
229
231
|
super(...e), this.width = "fit-content", this.download = void 0, this.button = !1, this.checkbox = !1, this.disclosure = !1, this.expandable = !1, this.accessibleLabel = "", this.checked = !1, this.popoverTargetElement = null, this.popoverTargetAction = "toggle", this.current = !1, this.currentType = "page", this.disabled = !1, this._parentType = "list", this._handleClick = (e) => {
|
|
230
|
-
this.disabled ? (e.preventDefault(), e.stopPropagation()) : (this._control instanceof HTMLButtonElement && (this._control.popoverTargetElement =
|
|
232
|
+
this.disabled ? (e.preventDefault(), e.stopPropagation()) : (this._control instanceof HTMLButtonElement && (this._control.popoverTargetElement = _(this, this.popovertarget, this.popoverTargetElement), v(this, this._control.popoverTargetElement)), this._control?.focus(), this._controlType === "checkbox" && e.composedPath().includes(this._control) && (this.checked = !this.checked, this.dispatchEvent(new CustomEvent("change", {
|
|
231
233
|
detail: { checked: this.checked },
|
|
232
234
|
bubbles: !0,
|
|
233
235
|
composed: !0
|
|
234
236
|
}))));
|
|
235
237
|
}, this._handleFocusIn = () => {
|
|
236
|
-
this._control?.classList.toggle("is-pointer-focus",
|
|
238
|
+
this._control?.classList.toggle("is-pointer-focus", u());
|
|
237
239
|
}, this._handleFocusOut = () => {
|
|
238
240
|
this._control?.classList.remove("is-pointer-focus");
|
|
239
241
|
}, this._onMouseDown = (e) => {
|
|
@@ -248,7 +250,7 @@ var x = class extends h(r, v) {
|
|
|
248
250
|
super.connectedCallback(), 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);
|
|
249
251
|
}
|
|
250
252
|
disconnectedCallback() {
|
|
251
|
-
super.disconnectedCallback(),
|
|
253
|
+
super.disconnectedCallback(), v(this, null), 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();
|
|
252
254
|
}
|
|
253
255
|
firstUpdated() {
|
|
254
256
|
let e = this.closest("nldd-list");
|
|
@@ -267,49 +269,49 @@ var x = class extends h(r, v) {
|
|
|
267
269
|
g(this, e) || this._control?.focus(e);
|
|
268
270
|
}
|
|
269
271
|
updated() {
|
|
270
|
-
|
|
272
|
+
v(this, _(this, this.popovertarget, this.popoverTargetElement)), this.classList.toggle("is-expanded", this._resolvedExpanded === !0);
|
|
271
273
|
}
|
|
272
274
|
get _resolvedExpanded() {
|
|
273
275
|
return this.disclosure ? this._rowExpanded : this.expandable ? this.expanded === !0 : this.expanded;
|
|
274
276
|
}
|
|
275
277
|
render() {
|
|
276
|
-
let e = this._controlType === "link" ?
|
|
277
|
-
return this._controlType === "link" &&
|
|
278
|
+
let e = this._controlType === "link" ? m(this.href, this.target, this.download) : null;
|
|
279
|
+
return this._controlType === "link" && p(this, this.download, this.target), b(this._controlType, this.href, this.target, this.rel, this.download, this.checked, this._resolvedExpanded, this.current ? this.currentType : void 0, this.disabled, this.accessibleLabel, this._tabbable === void 0 ? void 0 : this._tabbable ? "0" : "-1", this.popupType, _(this, this.popovertarget, this.popoverTargetElement), this.popoverTargetAction, e ? this._t(`components.list-item-segment.${e}`) : "");
|
|
278
280
|
}
|
|
279
281
|
}, S = (x.styles = [y], x);
|
|
280
|
-
|
|
282
|
+
r([a({
|
|
281
283
|
reflect: !0,
|
|
282
284
|
converter: l("fit-content")
|
|
283
|
-
})], S.prototype, "width", void 0),
|
|
285
|
+
})], S.prototype, "width", void 0), r([a({ reflect: !0 })], S.prototype, "href", void 0), r([a({ reflect: !0 })], S.prototype, "target", void 0), r([a({ type: String })], S.prototype, "download", void 0), r([a({ reflect: !0 })], S.prototype, "rel", void 0), r([a({
|
|
284
286
|
type: Boolean,
|
|
285
287
|
reflect: !0
|
|
286
|
-
})], S.prototype, "button", void 0),
|
|
288
|
+
})], S.prototype, "button", void 0), r([a({
|
|
287
289
|
type: Boolean,
|
|
288
290
|
reflect: !0
|
|
289
|
-
})], S.prototype, "checkbox", void 0),
|
|
291
|
+
})], S.prototype, "checkbox", void 0), r([a({
|
|
290
292
|
type: Boolean,
|
|
291
293
|
reflect: !0
|
|
292
|
-
})], S.prototype, "disclosure", void 0),
|
|
294
|
+
})], S.prototype, "disclosure", void 0), r([a({
|
|
293
295
|
type: Boolean,
|
|
294
296
|
reflect: !0
|
|
295
|
-
})], S.prototype, "expandable", void 0),
|
|
297
|
+
})], S.prototype, "expandable", void 0), r([a({ attribute: "accessible-label" })], S.prototype, "accessibleLabel", void 0), r([a({
|
|
296
298
|
type: Boolean,
|
|
297
299
|
reflect: !0
|
|
298
|
-
})], S.prototype, "checked", void 0),
|
|
300
|
+
})], S.prototype, "checked", void 0), r([a({
|
|
299
301
|
type: Boolean,
|
|
300
302
|
reflect: !0
|
|
301
|
-
})], S.prototype, "expanded", void 0),
|
|
303
|
+
})], S.prototype, "expanded", void 0), r([a({
|
|
302
304
|
attribute: "popup-type",
|
|
303
305
|
reflect: !0
|
|
304
|
-
})], S.prototype, "popupType", void 0),
|
|
306
|
+
})], S.prototype, "popupType", void 0), r([a({ reflect: !0 })], S.prototype, "popovertarget", void 0), r([a({ attribute: !1 })], S.prototype, "popoverTargetElement", void 0), r([a({ attribute: !1 })], S.prototype, "popoverTargetAction", void 0), r([a({
|
|
305
307
|
type: Boolean,
|
|
306
308
|
reflect: !0
|
|
307
|
-
})], S.prototype, "current", void 0),
|
|
309
|
+
})], S.prototype, "current", void 0), r([a({
|
|
308
310
|
reflect: !0,
|
|
309
311
|
attribute: "current-type",
|
|
310
312
|
converter: l("page")
|
|
311
|
-
})], S.prototype, "currentType", void 0),
|
|
313
|
+
})], S.prototype, "currentType", void 0), r([a({
|
|
312
314
|
type: Boolean,
|
|
313
315
|
reflect: !0
|
|
314
|
-
})], S.prototype, "disabled", void 0),
|
|
316
|
+
})], S.prototype, "disabled", void 0), r([o()], S.prototype, "_parentType", void 0), r([o()], S.prototype, "_tabbable", void 0), r([o()], S.prototype, "_rowExpanded", void 0), r([c(".list-item-segment")], S.prototype, "_control", void 0), S = r([s("nldd-list-item-segment")], S);
|
|
315
317
|
export { S as NLDDListItemSegment };
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as t, t as n } from "./
|
|
3
|
-
import { n as r, t as i } from "./
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import { t as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import "./
|
|
17
|
-
import {
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import { t as
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
+
import { n as t, t as n } from "./decorate-_JGq4E_7.js";
|
|
3
|
+
import { n as r, t as i } from "./custom-element-DbwbPetH.js";
|
|
4
|
+
import { a, i as o, n as s, o as c, r as l, t as u } from "./floating-ui.dom-B8J1rV2c.js";
|
|
5
|
+
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { c as f, i as p } from "./menu.template-ZBhUFgBJ.js";
|
|
7
|
+
import { t as m } from "./menu.i18n-C6uYJsG3.js";
|
|
8
|
+
import "./icon-cell-DlSZNTF3.js";
|
|
9
|
+
import "./spacer-cell-DBI0PVd7.js";
|
|
10
|
+
import "./text-cell-DNCpmw9h.js";
|
|
11
|
+
import "./icon-DBhTZrnl.js";
|
|
12
|
+
import "./keyboard-shortcut-kYOKwBqs.js";
|
|
13
|
+
import "./inline-dialog-BJlOrD6M.js";
|
|
14
|
+
import { r as h, t as g } from "./input-modality-XE0B7yCn.js";
|
|
15
|
+
import { t as _ } from "./return-focus-BzZWhXhc.js";
|
|
16
|
+
import { n as v } from "./breakpoints-Cwor8TRP.js";
|
|
17
|
+
import { t as y } from "./translations-BMMzf2sX.js";
|
|
18
|
+
import { r as b, t as x } from "./carried-context-DlMSujiJ.js";
|
|
19
|
+
import { r as S } from "./element-state-B-44fVqq.js";
|
|
20
|
+
import { t as C } from "./menu-item-2y0VC5Gb.js";
|
|
21
|
+
import { t as w } from "./menu-group-E6hIEtLj.js";
|
|
22
|
+
import { t as T } from "./menu-divider-XlYJ4zQz.js";
|
|
22
23
|
function E(e, t) {
|
|
23
24
|
let n = document;
|
|
24
25
|
for (let r = 0; r < 20; r++) {
|
|
@@ -104,7 +105,7 @@ var O = class {
|
|
|
104
105
|
}
|
|
105
106
|
open() {
|
|
106
107
|
let { parent: e, opener: t, submenu: n, root: r } = this;
|
|
107
|
-
e._activeSubmenu?.hidePopover?.(), n._parentMenu = e, n._parentItem = t, n._chainRoot = r, r._openChain.includes(this) || r._openChain.push(this), this.drillIn ? (n.anchorElement = r._getAnchorEl(), n.placement = r.placement) : (n.anchorElement = t, n.placement = "right-start"), e._activeSubmenu = n, e._activeSubmenuOpener = t, e._activeLevel = this, t._submenuOpen = !0, t.removeAttribute("highlighted"), n.addEventListener("toggle", this._handleToggle), this.drillIn && (this._homeParent = n.parentElement, this._homeNextSibling = n.nextSibling,
|
|
108
|
+
e._activeSubmenu?.hidePopover?.(), n._parentMenu = e, n._parentItem = t, n._chainRoot = r, r._openChain.includes(this) || r._openChain.push(this), this.drillIn ? (n.anchorElement = r._getAnchorEl(), n.placement = r.placement) : (n.anchorElement = t, n.placement = "right-start"), e._activeSubmenu = n, e._activeSubmenuOpener = t, e._activeLevel = this, t._submenuOpen = !0, t.removeAttribute("highlighted"), n.addEventListener("toggle", this._handleToggle), this.drillIn && (this._homeParent = n.parentElement, this._homeNextSibling = n.nextSibling, x(n, this._homeParent), document.body.appendChild(n)), n.showPopover?.(), this.drillIn ? (n._announce(n._t("components.menu.submenu-title", { title: t.text })), e._drillInHidingForDeeper = !0, e.hidePopover?.()) : requestAnimationFrame(() => {
|
|
108
109
|
e._activeSubmenu === n && e._safeTriangle.start(n);
|
|
109
110
|
});
|
|
110
111
|
}
|
|
@@ -115,7 +116,7 @@ var O = class {
|
|
|
115
116
|
let { parent: t, opener: n, submenu: r, root: i } = this;
|
|
116
117
|
r.removeEventListener("toggle", this._handleToggle), t._activeSubmenu === r && (t._activeSubmenu = null, t._activeSubmenuOpener = null, t._activeLevel = null), r._parentMenu = null, r._parentItem = null, r._chainRoot = null;
|
|
117
118
|
let a = i._openChain.indexOf(this);
|
|
118
|
-
if (a !== -1 && i._openChain.splice(a, 1), n._submenuOpen = !1, this.drillIn && (
|
|
119
|
+
if (a !== -1 && i._openChain.splice(a, 1), n._submenuOpen = !1, this.drillIn && (b(r), this._homeParent?.isConnected ? this._homeParent.insertBefore(r, this._homeNextSibling) : r.remove(), e && t.isConnected)) {
|
|
119
120
|
t.matches(":popover-open") || t.showPopover?.();
|
|
120
121
|
let e = t._parentItem?.text;
|
|
121
122
|
t._announce(e ? t._t("components.menu.submenu-back-action", { title: e }) : t._t("components.menu.back-action"));
|
|
@@ -253,9 +254,9 @@ function R(e, t) {
|
|
|
253
254
|
// src/components/actions/menu/menu.ts
|
|
254
255
|
var z = /* @__PURE__ */ e({
|
|
255
256
|
NLDDMenu: () => q,
|
|
256
|
-
NLDDMenuDivider: () =>
|
|
257
|
-
NLDDMenuGroup: () =>
|
|
258
|
-
NLDDMenuItem: () =>
|
|
257
|
+
NLDDMenuDivider: () => T,
|
|
258
|
+
NLDDMenuGroup: () => w,
|
|
259
|
+
NLDDMenuItem: () => C
|
|
259
260
|
}), B, V = (e, t) => {
|
|
260
261
|
let n = e.toLowerCase(), r = t.text.toLowerCase().includes(n), i = t.value !== "" && t.value.toLowerCase().includes(n), a = t.aliases !== "" && t.aliases.split(" ").some((e) => e.toLowerCase().includes(n));
|
|
261
262
|
return r || i || a;
|
|
@@ -266,9 +267,9 @@ function H(e) {
|
|
|
266
267
|
let n = e.getRootNode();
|
|
267
268
|
return n instanceof ShadowRoot ? H(n.host) : "";
|
|
268
269
|
}
|
|
269
|
-
var U = 500, W = 40, G = .1, K = 150, q = class e extends
|
|
270
|
+
var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
270
271
|
constructor(...e) {
|
|
271
|
-
super(...e), this.variant = "menu", this.width = "", this.anchor = "", this.anchorElement = null, this.accessibleLabel = "", this.placement = "bottom-start", this.anchorOffset = 0, this.maxItems = 0, this.emptyText = "", this.emptySupportingText = "", this.translations = {}, this.filterFn = V, this.debugSafeTriangle = !1, this._isEmpty = !1, this._hasHeader = !1, this._hasFooter = !1, this._activeSubmenu = null, this._activeSubmenuOpener = null, this._activeLevel = null, this._drillInHidingForDeeper = !1, this._openChain = [], this._chainRoot = null, this._parentMenu = null, this._parentItem = null, this._isOpen = !1, this._focusReturn = new
|
|
272
|
+
super(...e), this.variant = "menu", this.width = "", this.anchor = "", this.anchorElement = null, this.accessibleLabel = "", this.placement = "bottom-start", this.anchorOffset = 0, this.maxItems = 0, this.emptyText = "", this.emptySupportingText = "", this.translations = {}, this.filterFn = V, this.debugSafeTriangle = !1, this._isEmpty = !1, this._hasHeader = !1, this._hasFooter = !1, this._activeSubmenu = null, this._activeSubmenuOpener = null, this._activeLevel = null, this._drillInHidingForDeeper = !1, this._openChain = [], this._chainRoot = null, this._parentMenu = null, this._parentItem = null, this._isOpen = !1, this._focusReturn = new _(), this._previousAnchorForResync = null, this._collapsedByPointerGesture = !1, this._cleanupAutoUpdate = null, this._announceRaf = 0, this._pendingAnnouncement = "", this._announceResultsTimer = 0, this._resyncAnchorFromPopoverState = () => {
|
|
272
273
|
let e = this.matches(":popover-open");
|
|
273
274
|
e !== this._isOpen && (this._isOpen = e, this._syncAnchorPopupState(e));
|
|
274
275
|
}, this._seededPopupType = null, this._handleDocumentClick = (e) => {
|
|
@@ -277,11 +278,11 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
277
278
|
let n = this._getAnchorEl();
|
|
278
279
|
n && e.composedPath().includes(n) && (t || (this._drillInMode && (this._isOpen || this._openChain.length > 0) ? this._collapseChain() : this._isOpen ? this.hidePopover() : this.showPopover()));
|
|
279
280
|
}, this._hoverOpenItem = null, this._hoverOpenTimer = null, this._hoverOpenDeadline = 0, this._lastHoverMove = null, this._safeTriangle = new P(this), this._handleMenuItemMouseenter = (e) => {
|
|
280
|
-
if (
|
|
281
|
+
if (h()) return;
|
|
281
282
|
let t = e.target.closest("nldd-menu-item");
|
|
282
283
|
t && this._activateItem(t);
|
|
283
284
|
}, this._handleMouseover = (e) => {
|
|
284
|
-
|
|
285
|
+
h() || this.variant === "listbox" || e.composedPath().some((e) => e instanceof Element && e.localName === "nldd-menu-item") || this._safeTriangle.movingToward || this._leaveItems();
|
|
285
286
|
}, this._handleMouseleave = () => {
|
|
286
287
|
this.variant !== "listbox" && this._clearHighlight(), this._cancelHoverOpen();
|
|
287
288
|
}, this._handleHoverMove = (e) => {
|
|
@@ -405,8 +406,8 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
405
406
|
}
|
|
406
407
|
this._updateDividerVisibility(), this._clearHighlight(), this._updateEmptyState(), this._claimItems(), await this.reposition(), this.setAttribute("positioned", "");
|
|
407
408
|
let n = this._getAnchorEl();
|
|
408
|
-
if (n && (this._cleanupAutoUpdate =
|
|
409
|
-
let e =
|
|
409
|
+
if (n && (this._cleanupAutoUpdate = u(n, this, () => this.reposition())), this._openWindowWidth = window.innerWidth, window.addEventListener("resize", this._handleWindowResize, { passive: !0 }), document.addEventListener("pointerdown", this._handleDocumentPointerdown, !0), await this.updateComplete, this.variant !== "listbox") {
|
|
410
|
+
let e = g(), t = this._getVisibleItems();
|
|
410
411
|
if (e && t.length > 0) this._setHighlight(t[0]), t[0].focus();
|
|
411
412
|
else {
|
|
412
413
|
let t = this.shadowRoot?.querySelector(".menu");
|
|
@@ -416,7 +417,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
416
417
|
};
|
|
417
418
|
}
|
|
418
419
|
_t(e, t) {
|
|
419
|
-
return
|
|
420
|
+
return y(this.translations, m, e, t);
|
|
420
421
|
}
|
|
421
422
|
get _resolvedEmptyText() {
|
|
422
423
|
return this.emptyText || this._t("components.menu.empty-text");
|
|
@@ -485,7 +486,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
485
486
|
return !1;
|
|
486
487
|
}
|
|
487
488
|
_activateItem(e) {
|
|
488
|
-
e.disabled || e.hasAttribute("hidden") || e.closest("nldd-menu") === this && (this._safeTriangle.movingToward && e !== this._activeSubmenuOpener || (this._setHighlight(e),
|
|
489
|
+
e.disabled || e.hasAttribute("hidden") || e.closest("nldd-menu") === this && (this._safeTriangle.movingToward && e !== this._activeSubmenuOpener || (this._setHighlight(e), this._drillInMode || (this._activeSubmenu && e !== this._activeSubmenuOpener && this._activeSubmenu.hidePopover?.(), this._cancelHoverOpen(), e._hasSubmenu && this._activeSubmenuOpener !== e && this._scheduleHoverOpen(e))));
|
|
489
490
|
}
|
|
490
491
|
releaseAt(e) {
|
|
491
492
|
let t = D(e.x, e.y), n = t?.closest("nldd-menu");
|
|
@@ -512,7 +513,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
512
513
|
this._hoverOpenTimer !== null && clearTimeout(this._hoverOpenTimer), this._hoverOpenTimer = null, this._hoverOpenItem = null, this._lastHoverMove = null;
|
|
513
514
|
}
|
|
514
515
|
static _getDrillInModeQuery() {
|
|
515
|
-
return e._drillInModeQuery === null && (e._drillInModeQuery = matchMedia(`(pointer: coarse), (max-width: ${
|
|
516
|
+
return e._drillInModeQuery === null && (e._drillInModeQuery = matchMedia(`(pointer: coarse), (max-width: ${v.smMax})`)), e._drillInModeQuery;
|
|
516
517
|
}
|
|
517
518
|
get _drillInMode() {
|
|
518
519
|
return e._getDrillInModeQuery().matches;
|
|
@@ -588,7 +589,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
588
589
|
});
|
|
589
590
|
}
|
|
590
591
|
filter(e, { hide: t = !0 } = {}) {
|
|
591
|
-
|
|
592
|
+
S(this, "filtered", !0), Array.from(this.querySelectorAll("nldd-menu-item")).forEach((n) => {
|
|
592
593
|
let r = !t || !e || this.filterFn(e, n);
|
|
593
594
|
n.toggleAttribute("hidden", !r), n.query = r && e ? e : "";
|
|
594
595
|
}), this._updateGroupVisibility(), this._setHighlight(null), this._updateEmptyState(), this._updateDividerVisibility(), this._isOpen && this.reposition();
|
|
@@ -639,16 +640,16 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
639
640
|
async reposition() {
|
|
640
641
|
let e = this._getAnchorEl();
|
|
641
642
|
if (!e || !this._isOpen) return;
|
|
642
|
-
let t = this._cssPx("--_menu-viewport-margin"), n = this._isSubmenu && !this._drillInMode ? this._cssPx("--_menu-padding") : 0, r = this._drillInMode, i = r ? this._resolveDrillInPlacement(e) : this.placement, { x:
|
|
643
|
+
let t = this._cssPx("--_menu-viewport-margin"), n = this._isSubmenu && !this._drillInMode ? this._cssPx("--_menu-padding") : 0, r = this._drillInMode, i = r ? this._resolveDrillInPlacement(e) : this.placement, { x: u, y: d } = await s(e, this, {
|
|
643
644
|
placement: i,
|
|
644
645
|
middleware: [
|
|
645
|
-
|
|
646
|
+
o({
|
|
646
647
|
mainAxis: this.anchorOffset,
|
|
647
648
|
alignmentAxis: -n
|
|
648
649
|
}),
|
|
649
|
-
...r ? [] : [
|
|
650
|
-
|
|
651
|
-
|
|
650
|
+
...r ? [] : [l({ padding: t })],
|
|
651
|
+
a({ padding: t }),
|
|
652
|
+
c({
|
|
652
653
|
padding: t,
|
|
653
654
|
apply: ({ availableHeight: e }) => {
|
|
654
655
|
this.style.setProperty("--_menu-max-height", `${e}px`);
|
|
@@ -657,8 +658,8 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
657
658
|
]
|
|
658
659
|
});
|
|
659
660
|
Object.assign(this.style, {
|
|
660
|
-
left: `${
|
|
661
|
-
top: `${
|
|
661
|
+
left: `${u}px`,
|
|
662
|
+
top: `${d}px`
|
|
662
663
|
});
|
|
663
664
|
}
|
|
664
665
|
_tabOut(e) {
|
|
@@ -688,32 +689,32 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends r {
|
|
|
688
689
|
}
|
|
689
690
|
}
|
|
690
691
|
render() {
|
|
691
|
-
return
|
|
692
|
+
return p.call(this, this._isEmpty, this.variant);
|
|
692
693
|
}
|
|
693
694
|
};
|
|
694
|
-
B = q, B.styles =
|
|
695
|
+
B = q, B.styles = f, B._drillInModeQuery = null, B._menuIdCounter = 0, B._TYPEAHEAD_RESET_MS = 500, n([r({
|
|
695
696
|
reflect: !0,
|
|
696
|
-
converter:
|
|
697
|
-
})], q.prototype, "variant", void 0),
|
|
697
|
+
converter: d("menu")
|
|
698
|
+
})], q.prototype, "variant", void 0), n([r({ type: String })], q.prototype, "width", void 0), n([r({
|
|
698
699
|
reflect: !0,
|
|
699
|
-
converter:
|
|
700
|
-
})], q.prototype, "anchor", void 0),
|
|
700
|
+
converter: d("")
|
|
701
|
+
})], q.prototype, "anchor", void 0), n([r({ attribute: !1 })], q.prototype, "anchorElement", void 0), n([r({ attribute: "accessible-label" })], q.prototype, "accessibleLabel", void 0), n([r({
|
|
701
702
|
reflect: !0,
|
|
702
|
-
converter:
|
|
703
|
-
})], q.prototype, "placement", void 0),
|
|
703
|
+
converter: d("bottom-start")
|
|
704
|
+
})], q.prototype, "placement", void 0), n([r({ attribute: !1 })], q.prototype, "anchorOffset", void 0), n([r({
|
|
704
705
|
type: Number,
|
|
705
706
|
attribute: "max-items"
|
|
706
|
-
})], q.prototype, "maxItems", void 0),
|
|
707
|
+
})], q.prototype, "maxItems", void 0), n([r({
|
|
707
708
|
reflect: !0,
|
|
708
709
|
attribute: "empty-text",
|
|
709
|
-
converter:
|
|
710
|
-
})], q.prototype, "emptyText", void 0),
|
|
710
|
+
converter: d("")
|
|
711
|
+
})], q.prototype, "emptyText", void 0), n([r({
|
|
711
712
|
reflect: !0,
|
|
712
713
|
attribute: "empty-supporting-text",
|
|
713
|
-
converter:
|
|
714
|
-
})], q.prototype, "emptySupportingText", void 0),
|
|
714
|
+
converter: d("")
|
|
715
|
+
})], q.prototype, "emptySupportingText", void 0), n([r({ type: Object })], q.prototype, "translations", void 0), n([r({ attribute: !1 })], q.prototype, "filterFn", void 0), n([r({
|
|
715
716
|
type: Boolean,
|
|
716
717
|
reflect: !0,
|
|
717
718
|
attribute: "debug-safe-triangle"
|
|
718
|
-
})], q.prototype, "debugSafeTriangle", void 0),
|
|
719
|
+
})], q.prototype, "debugSafeTriangle", void 0), n([i()], q.prototype, "_isEmpty", void 0), n([i()], q.prototype, "_hasHeader", void 0), n([i()], q.prototype, "_hasFooter", void 0), n([i()], q.prototype, "_parentItem", void 0), customElements.get("nldd-menu") || customElements.define("nldd-menu", q);
|
|
719
720
|
export { z as t };
|