@nldd/design-system 0.26.1 → 0.26.3
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 +7 -7
- package/custom-elements.json +5615 -1321
- package/dist/cdn/autoloader.js +141 -141
- package/dist/cdn/chunks/{accordion-item-Ca1o93cq.js → accordion-item-BXEHwzcv.js} +7 -7
- package/dist/cdn/chunks/{accordion-DA4IlxS5.js → accordion-qXirmNBj.js} +6 -6
- package/dist/cdn/chunks/{activity-indicator-Cj4H0Mbz.js → activity-indicator-DP61AhsJ.js} +13 -13
- package/dist/cdn/chunks/{admonition-CdZSoO8O.js → admonition-RnRSNAri.js} +11 -11
- package/dist/cdn/chunks/{avatar-Dhqn-Dmv.js → avatar-DsexiOhH.js} +18 -18
- package/dist/cdn/chunks/{avatar-group-B017eF-u.js → avatar-group-BrfrpXvd.js} +42 -40
- package/dist/cdn/chunks/{badge-Bep5B0_g.js → badge-BiQFOq2l.js} +15 -15
- package/dist/cdn/chunks/{banner-DGpIXuE2.js → banner-42zIYAEN.js} +16 -16
- package/dist/cdn/chunks/{bar-split-view-CKwJxd3e.js → bar-split-view-CjYEp276.js} +8 -8
- package/dist/cdn/chunks/{blockquote-ChMgaOuI.js → blockquote-qf4hJYvm.js} +8 -8
- package/dist/cdn/chunks/{box-BRmziG-6.js → box-CWyg7sbR.js} +5 -5
- package/dist/cdn/chunks/{breadcrumbs-BeVO8bkQ.js → breadcrumbs-BaHjYdz8.js} +13 -13
- package/dist/cdn/chunks/{button-cHBkq_s7.js → button-CKV-jwGY.js} +53 -54
- package/dist/cdn/chunks/{button-bar-CLxOdalJ.js → button-bar-DeJ81759.js} +8 -8
- package/dist/cdn/chunks/{button-group-BIvKtEIX.js → button-group-CuRkiHR5.js} +6 -6
- package/dist/cdn/chunks/{card-B5gp9Zly.js → card-DxeUNE3V.js} +10 -10
- package/dist/cdn/chunks/{cell-D4Nrd5Z9.js → cell-QaG8b-Qk.js} +13 -13
- package/dist/cdn/chunks/{checkbox-CeLTJhAc.js → checkbox-V0YerUKf.js} +26 -43
- package/dist/cdn/chunks/{checkbox-field-C8cU8fuf.js → checkbox-field-DeySECgv.js} +35 -43
- package/dist/cdn/chunks/checkbox-group-DFNy1y-A.js +91 -0
- package/dist/cdn/chunks/choice-group-AZsqoheP.js +64 -0
- package/dist/cdn/chunks/{class-map-xzscTu4B.js → class-map-CmgI2Tu-.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BNhlXTSl.js → code-editor-BBMbUJ4d.js} +11 -11
- package/dist/cdn/chunks/{code-viewer-D_JwouYO.js → code-viewer-B8jse0-5.js} +25 -28
- package/dist/cdn/chunks/{codemirror-input-DJ0wgYrc.js → codemirror-input-BEotDTtZ.js} +5 -5
- package/dist/cdn/chunks/{collection-BXvz_OtU.js → collection-DRoS7Ona.js} +19 -19
- package/dist/cdn/chunks/{combo-box-8kbmoStb.js → combo-box-DA1ZQJJS.js} +69 -87
- package/dist/cdn/chunks/{container-Dq-2uHd5.js → container-F1i2pmko.js} +48 -48
- package/dist/cdn/chunks/{custom-element-DeaCQ2NP.js → custom-element-DD4ffKRs.js} +2 -2
- package/dist/cdn/chunks/{date-field-CQg1_73u.js → date-field-DVgisQnm.js} +33 -40
- package/dist/cdn/chunks/{date-picker-CTMxGOiA.js → date-picker-BaDTota3.js} +17 -17
- package/dist/cdn/chunks/{decorate-CCYde2ES.js → decorate-CeGXihRM.js} +1 -1
- package/dist/cdn/chunks/deep-active-element-DgiHjYGG.js +7 -0
- package/dist/cdn/chunks/{described-by-mixin-BYFim7aO.js → described-by-mixin-qFatR9dF.js} +2 -2
- package/dist/cdn/chunks/{description-cell-GcVeCz2_.js → description-cell-D45N4P1X.js} +12 -12
- package/dist/cdn/chunks/{dev-checks-CSlbfDuF.js → dev-checks-CkCD0tPh.js} +972 -922
- package/dist/cdn/chunks/{directive-helpers-DgaADFyY.js → directive-helpers-B9pcQxsE.js} +1 -1
- package/dist/cdn/chunks/{dist-CyDpBAaD.js → dist-BS_pQgb6.js} +2 -2
- package/dist/cdn/chunks/{dist-D4SViUJx.js → dist-Cl-rXzh7.js} +1 -1
- package/dist/cdn/chunks/{dist-1OQdP4ho.js → dist-DJQUgOKW.js} +3 -3
- package/dist/cdn/chunks/{dist-VCymi0hs.js → dist-DjlGttcc.js} +1 -1
- package/dist/cdn/chunks/{dist-DBxjWahH.js → dist-Dsyc1RGG.js} +1 -1
- package/dist/cdn/chunks/{dist-CcpLhc4y.js → dist-jTL_Kil1.js} +1 -1
- package/dist/cdn/chunks/{dist-B23jHvJ5.js → dist-mxb0NzAU.js} +1 -1
- package/dist/cdn/chunks/{dist-DLtwMUDc.js → dist-n8aCu6Kg.js} +2 -2
- package/dist/cdn/chunks/{dist-CNy2sPTt.js → dist-rjQNj-KZ.js} +2 -2
- package/dist/cdn/chunks/{dist-5vPsM2aV.js → dist-v62GtoI6.js} +1 -1
- package/dist/cdn/chunks/{dist-Da_liXcd.js → dist-v7yvd26H.js} +3 -3
- package/dist/cdn/chunks/{divider-8XD3xTbl.js → divider-CtMx3Byp.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-RBAmckHS.js → document-tab-bar-SKSf69FX.js} +42 -53
- package/dist/cdn/chunks/{dropdown-DVlxPcjr.js → dropdown-se1zjYlw.js} +14 -14
- package/dist/cdn/chunks/{file-field-BrHnFplX.js → file-field-DW_Xt5O3.js} +42 -40
- package/dist/cdn/chunks/{floating-ui.dom-BvAAdCVe.js → floating-ui.dom-CB34tcZx.js} +1 -1
- package/dist/cdn/chunks/{form-DGHeGEIr.js → form-C9-eW3zc.js} +1 -1
- package/dist/cdn/chunks/{form-actions-CHwWKfMM.js → form-actions-Cy5tH1nk.js} +4 -4
- package/dist/cdn/chunks/form-associated-mixin-CA0F9CPx.js +123 -0
- package/dist/cdn/chunks/{form-field-CdTSI-8h.js → form-field-BMWm8VGS.js} +55 -11
- package/dist/cdn/chunks/{form-section-CjECOIiZ.js → form-section-DrrXc4wZ.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-CQgq4iGQ.js → full-bleed-section-6QL0av4x.js} +5 -5
- package/dist/cdn/chunks/{hero-DhdcYt2N.js → hero-BThWV3MR.js} +19 -19
- package/dist/cdn/chunks/{icon-qpmEfU9B.js → icon-CVM6X_F1.js} +8 -8
- package/dist/cdn/chunks/{icon-button-DT_Bi4Ac.js → icon-button-h_sEz0Ia.js} +41 -38
- package/dist/cdn/chunks/{icon-cell-C-qrZAlN.js → icon-cell-C3Ygercd.js} +10 -10
- package/dist/cdn/chunks/{identity-DFmvuPkl.js → identity-BR0KxjM5.js} +12 -12
- package/dist/cdn/chunks/{if-defined-BINBE69I.js → if-defined-CvQli6P0.js} +1 -1
- package/dist/cdn/chunks/{image-B4M3h1xJ.js → image-D8H73DIj.js} +21 -21
- package/dist/cdn/chunks/{inline-dialog-L-NvjANF.js → inline-dialog-Dlu3bneh.js} +16 -16
- package/dist/cdn/chunks/interest-intent-Bk3i_upv.js +63 -0
- package/dist/cdn/chunks/{interest-controller-Ban-3NrX.js → interest-invoker-CfOJaqZQ.js} +28 -38
- package/dist/cdn/chunks/{just-in-time-education-CWplH4r9.js → just-in-time-education-DG0teV5g.js} +14 -14
- package/dist/cdn/chunks/{kanban-B6Wa-2aM.js → kanban-MNLyqki_.js} +25 -29
- package/dist/cdn/chunks/{kanban-column-D2-Xq79_.js → kanban-column-CGF_4Q0N.js} +10 -10
- package/dist/cdn/chunks/{keyboard-shortcut-Ci95olxF.js → keyboard-shortcut-DZDtndhS.js} +13 -13
- package/dist/cdn/chunks/{languages-C9AGuuSS.js → languages-BCn4J5Ck.js} +12 -12
- package/dist/cdn/chunks/{link-BJB2a_fG.js → link-CTj3dTmJ.js} +18 -18
- package/dist/cdn/chunks/{link-group-aNoedLZo.js → link-group--C486tYV.js} +7 -7
- package/dist/cdn/chunks/{list-CZWX62tH.js → list-DApLHKj-.js} +110 -95
- package/dist/cdn/chunks/{list-item-DHzsbK_S.js → list-item-BN9uuvXr.js} +50 -29
- package/dist/cdn/chunks/{list-item-segment-CHLlU9Gg.js → list-item-segment-CvdZT9Ni.js} +23 -20
- package/dist/cdn/chunks/{menu-NGpB1SKq.js → menu-2-9LtMLY.js} +113 -101
- package/dist/cdn/chunks/{menu-bar-CJazkmY7.js → menu-bar-g-O3_TNl.js} +59 -60
- package/dist/cdn/chunks/{menu-bar-item-CSqXWNKE.js → menu-bar-item-tOFEx-lS.js} +35 -35
- package/dist/cdn/chunks/{menu-divider-Cn1hTpcM.js → menu-divider-Dmv0lMHV.js} +3 -3
- package/dist/cdn/chunks/{menu-group-C71K1Vmv.js → menu-group-Ci9QUUwZ.js} +4 -4
- package/dist/cdn/chunks/{menu-item-TqBlQfI2.js → menu-item-BnIbV4yo.js} +4 -4
- package/dist/cdn/chunks/{menu.template-DthELYky.js → menu.template-sPjaMfc8.js} +4 -4
- package/dist/cdn/chunks/{modal-dialog-0V2HsrJC.js → modal-dialog-D-jAbabe.js} +28 -78
- package/dist/cdn/chunks/modal-overlay-Bx0bYzF3.js +95 -0
- package/dist/cdn/chunks/{multi-line-text-field-BV4uUDoK.js → multi-line-text-field-uBZqAdr6.js} +28 -45
- package/dist/cdn/chunks/{navigation-split-view-tPhkxEVD.js → navigation-split-view-DARbBPq-.js} +10 -10
- package/dist/cdn/chunks/{notification-CZccv6qx.js → notification-CntIGoYh.js} +12 -12
- package/dist/cdn/chunks/{number-field-4R2blHda.js → number-field-C0MTabLP.js} +26 -32
- package/dist/cdn/chunks/{one-half-one-half-section-h2fLPQfP.js → one-half-one-half-section-DYzf6LtU.js} +6 -6
- package/dist/cdn/chunks/{one-third-two-thirds-section-mqUAH5lK.js → one-third-two-thirds-section-AAiaxCHH.js} +6 -6
- package/dist/cdn/chunks/{one-time-code-field-Bf_qymKd.js → one-time-code-field-CCILuCy1.js} +25 -38
- package/dist/cdn/chunks/overflow-menu-DFoh3xL_.js +83 -0
- package/dist/cdn/chunks/overlay-invoker-Dj6MQAtF.js +97 -0
- package/dist/cdn/chunks/{page-Kipfvmi6.js → page-BDXLREou.js} +41 -19
- package/dist/cdn/chunks/{page-footer-DxE966Oe.js → page-footer-BsVMZCXs.js} +13 -13
- package/dist/cdn/chunks/{page-section-mixin-DpF9JDpd.js → page-section-mixin-L0bl3wCm.js} +21 -21
- package/dist/cdn/chunks/{pagination-DUFFhaU8.js → pagination-DLwbSZdO.js} +13 -13
- package/dist/cdn/chunks/{password-field-DdYAVmF3.js → password-field-DKTJgEyb.js} +28 -45
- package/dist/cdn/chunks/{popover-CRHxyhGx.js → popover-RB7uLASo.js} +66 -65
- package/dist/cdn/chunks/{progress-bar-BuYsjmSo.js → progress-bar-DnXWbmiw.js} +26 -26
- package/dist/cdn/chunks/{progress-circle-Cvu1bfNG.js → progress-circle-S89MUtU8.js} +24 -24
- package/dist/cdn/chunks/{radio-button-B_4AxWDx.js → radio-button-B31lAjlk.js} +17 -26
- package/dist/cdn/chunks/{radio-button-field-D7jIg6Oi.js → radio-button-field-BF4MHiOQ.js} +29 -37
- package/dist/cdn/chunks/radio-button-group-BQUqV8wJ.js +112 -0
- package/dist/cdn/chunks/{render-marked-CIuiSS_8.js → render-marked-ChJNzktf.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-DNPaZjSC.js → reorder-handle-cell-SEERkeh7.js} +7 -7
- package/dist/cdn/chunks/{reorder-handle-mixin-CgvWq4fF.js → reorder-handle-mixin-tWe9XTjZ.js} +2 -2
- package/dist/cdn/chunks/{repeat-DfVuWl6o.js → repeat-CdCK17GF.js} +2 -2
- package/dist/cdn/chunks/{return-focus-D0fF2hjd.js → return-focus-CpwHVxYU.js} +10 -14
- package/dist/cdn/chunks/{rich-text-CVHlMQY6.js → rich-text-vVWOndD2.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-B25JK2B3.js → row-header-mixin-6MoJ5Mjq.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Dv57rTww.js → scroll-fade-Cr7_IXpU.js} +4 -4
- package/dist/cdn/chunks/{search-field-hmD_DXbG.js → search-field-C9urWH_J.js} +33 -58
- package/dist/cdn/chunks/{segmented-control-e8e-jYSw.js → segmented-control-DkILAMOJ.js} +92 -103
- package/dist/cdn/chunks/{shadow-resets-CRdvf-Ei.js → shadow-resets-9v6K-Fie.js} +2 -2
- package/dist/cdn/chunks/{sheet-D09y3J45.js → sheet-D89xI-KY.js} +40 -90
- package/dist/cdn/chunks/{shell-CV3gooGg.js → shell-CFmfUD0_.js} +5 -5
- package/dist/cdn/chunks/{side-by-side-split-view-Ckz1C9zk.js → side-by-side-split-view-ir9c0mwZ.js} +8 -8
- package/dist/cdn/chunks/{sidebar-section-CdyD-x4t.js → sidebar-section-BhJXels3.js} +14 -14
- package/dist/cdn/chunks/{simple-section-CEf38rBZ.js → simple-section-CMoYuLYV.js} +7 -7
- package/dist/cdn/chunks/{skip-link-DMRhATWw.js → skip-link-rUQq0D-l.js} +7 -7
- package/dist/cdn/chunks/{slider-Db3FPiP6.js → slider-CIQqjKUo.js} +30 -37
- package/dist/cdn/chunks/{spacer-BPFIYueo.js → spacer-CD85egxE.js} +8 -8
- package/dist/cdn/chunks/{spacer-cell-kITa3CDV.js → spacer-cell-B33mGdru.js} +6 -6
- package/dist/cdn/chunks/{split-button-CJs9-Nha.js → split-button-COL7r-wa.js} +21 -21
- package/dist/cdn/chunks/{split-view-divider-lHlM1Ss8.js → split-view-divider-DVBuBzeO.js} +5 -5
- package/dist/cdn/chunks/{split-view-pane-DlsbZtyo.js → split-view-pane-CSvIzeBg.js} +7 -7
- package/dist/cdn/chunks/{stacked-split-view-uRSVhrMd.js → stacked-split-view-onSk2QEi.js} +8 -8
- package/dist/cdn/chunks/{static-html-BahSPV_4.js → static-html-Cyhp44gp.js} +1 -1
- package/dist/cdn/chunks/{status-bar-DCJLVpsW.js → status-bar-CjYXOQAX.js} +8 -8
- package/dist/cdn/chunks/{step-bar-CRR2jiyo.js → step-bar-D-To0TEw.js} +18 -18
- package/dist/cdn/chunks/{step-cell-CbtKxJNJ.js → step-cell-B7sVGixc.js} +15 -15
- package/dist/cdn/chunks/{stepper-Con1_CnB.js → stepper-h6boMOhz.js} +16 -26
- package/dist/cdn/chunks/{style-map-uOwLerwV.js → style-map-BrdTV34-.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bqn0eaC9.js → swatch-picker-gQ3m3y9U.js} +63 -69
- package/dist/cdn/chunks/{switch-CMQcLEBJ.js → switch-DC-BTi9E.js} +25 -42
- package/dist/cdn/chunks/{switch-field-D9kWq4Kw.js → switch-field-D82mLobj.js} +19 -32
- package/dist/cdn/chunks/{tab-bar-DXzyZI3V.js → tab-bar-sKiFzvfj.js} +34 -29
- package/dist/cdn/chunks/{table-CWACLpHx.js → table-CuxZfCZD.js} +15 -15
- package/dist/cdn/chunks/{tag-Bo4yJbtF.js → tag-DP_ome5l.js} +11 -11
- package/dist/cdn/chunks/{term-CQ379ZbN.js → term-BdiTV-Jk.js} +42 -39
- package/dist/cdn/chunks/{text-D-dFoj6N.js → text-C-b1ygHI.js} +29 -29
- package/dist/cdn/chunks/{text-cell-Be1hStxp.js → text-cell-DfRh7JqZ.js} +23 -23
- package/dist/cdn/chunks/{text-editor-BjzQEBWm.js → text-editor-DuT9Rrpv.js} +12 -12
- package/dist/cdn/chunks/{text-field-DA8nirp6.js → text-field-kAbXzkUj.js} +28 -45
- package/dist/cdn/chunks/{time-field-Dd_TxJuf.js → time-field-DUz9ifmn.js} +65 -153
- package/dist/cdn/chunks/{time-picker-B0-rv1qp.js → time-picker-DGOKwC9T.js} +119 -40
- package/dist/cdn/chunks/{title-DOoPdG_i.js → title-BA-SUyAq.js} +12 -12
- package/dist/cdn/chunks/{title-cell-BzCNOMGr.js → title-cell-Cu5NFNUu.js} +23 -23
- package/dist/cdn/chunks/{toggle-button-9PbDHviQ.js → toggle-button-J6UapeqB.js} +41 -54
- package/dist/cdn/chunks/{toggle-button-group-C-H-xp0M.js → toggle-button-group-wrps-tL9.js} +40 -54
- package/dist/cdn/chunks/{token-CMKFC3gz.js → token-DJkyJz-k.js} +32 -35
- package/dist/cdn/chunks/{token-field-D4-XHfnG.js → token-field-SiBFPD8-.js} +67 -57
- package/dist/cdn/chunks/{toolbar-z9OhEE5l.js → toolbar-be8hoSAz.js} +34 -78
- package/dist/cdn/chunks/{toolbar-item-ZYoyKOyy.js → toolbar-item-DPizdgYi.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-FKtQ8ZC4.js → toolbar-title-CB4IJFGv.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-DDjpdCHV.js → toolbar.styles-vmMPyzS_.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BvRNYRo3.js → tooltip-Bg2ovCCg.js} +116 -80
- package/dist/cdn/chunks/{top-navigation-bar-BHPQntER.js → top-navigation-bar-vA8wpJXS.js} +29 -29
- package/dist/cdn/chunks/{top-title-bar-BVjegLlh.js → top-title-bar-BAJGmgnj.js} +16 -16
- package/dist/cdn/chunks/{translations-cJjO6nQV.js → translations-Cjd13Xb6.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BdBHQuXc.js → two-thirds-one-third-section-D1FvorKO.js} +6 -6
- package/dist/cdn/chunks/{validation-list-5E3-3_95.js → validation-list-D3rKnfTu.js} +12 -12
- package/dist/cdn/chunks/{visibility-mixin-DvRe3O8t.js → visibility-mixin-BRMACV1l.js} +14 -14
- package/dist/cdn/chunks/{visually-hidden-F85D_HcR.js → visually-hidden-BukWRiJA.js} +2 -2
- package/dist/cdn/chunks/{window-CabW35M1.js → window-C9njVzzK.js} +44 -80
- package/dist/cdn/chunks/{with-translations-BHDG37HJ.js → with-translations-BLzHPSUF.js} +3 -3
- package/dist/components/actions/button/button.d.ts +15 -13
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +15 -14
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +7 -4
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +6 -4
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +4 -2
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +4 -2
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +13 -11
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +13 -12
- package/dist/components/actions/icon-button/icon-button.js.map +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 +4 -0
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu-group.d.ts +1 -1
- package/dist/components/actions/menu/menu-group.js +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +4 -4
- package/dist/components/actions/menu/menu-item.js +4 -4
- package/dist/components/actions/menu/menu.d.ts +61 -38
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +92 -102
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -3
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +6 -4
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts +1 -1
- package/dist/components/actions/toolbar/toolbar-item.js +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +10 -8
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +11 -9
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +5 -9
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/content/accordion/accordion.d.ts +2 -0
- package/dist/components/content/accordion/accordion.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion.js +2 -0
- package/dist/components/content/accordion/accordion.js.map +1 -1
- package/dist/components/content/admonition/admonition.d.ts +2 -0
- package/dist/components/content/admonition/admonition.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.js +2 -0
- package/dist/components/content/admonition/admonition.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +3 -1
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +3 -1
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +8 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +10 -9
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.js +0 -1
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +3 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +3 -1
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +1 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +9 -9
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +4 -3
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +4 -3
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +4 -1
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +4 -1
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/image/image.d.ts +11 -9
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +10 -8
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/lqip-encoder-element.d.ts +1 -1
- package/dist/components/content/image/lqip-encoder-element.js +1 -1
- package/dist/components/content/image/lqip-encoder.d.ts +3 -3
- package/dist/components/content/image/lqip-encoder.js +6 -6
- package/dist/components/content/image/lqip-encoder.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +6 -5
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +6 -5
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +3 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +3 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts +5 -3
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +5 -3
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/term/term.d.ts +7 -5
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +24 -23
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/term/term.template.js +1 -1
- package/dist/components/content/term/term.template.js.map +1 -1
- package/dist/components/content/text/text.d.ts +9 -7
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +9 -7
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/title/title.d.ts +2 -0
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +2 -0
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/token/token.d.ts +11 -9
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +36 -37
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +1 -1
- package/dist/components/content/token/token.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +27 -8
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +122 -127
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +2 -1
- package/dist/components/content/tooltip/tooltip.template.js.map +1 -1
- package/dist/components/content/visually-hidden/visually-hidden.d.ts +3 -1
- package/dist/components/content/visually-hidden/visually-hidden.d.ts.map +1 -1
- package/dist/components/content/visually-hidden/visually-hidden.js +3 -1
- package/dist/components/content/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +20 -16
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +15 -11
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +15 -11
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +9 -5
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +13 -6
- package/dist/components/forms/form-field/form-field.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 +44 -0
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +34 -30
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +1 -0
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +1 -0
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +4 -5
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +6 -24
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +3 -5
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +10 -17
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +3 -9
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.js +20 -59
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +2 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +11 -10
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +30 -61
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +8 -5
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -17
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +8 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +8 -0
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +7 -5
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +7 -5
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +10 -6
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +19 -21
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +7 -8
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +9 -27
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +7 -4
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +15 -17
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +5 -6
- 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 +6 -19
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +4 -5
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +6 -24
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +3 -5
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +3 -11
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +4 -6
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +7 -14
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +3 -10
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +19 -74
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +5 -6
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +9 -37
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +13 -14
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +18 -52
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +4 -5
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +4 -15
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +3 -4
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +4 -14
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +6 -6
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +10 -31
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +6 -7
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +8 -25
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -4
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +4 -16
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +3 -3
- package/dist/components/inputs/text-editor/text-editor.commands.js +5 -5
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +6 -6
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +10 -8
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +2 -2
- package/dist/components/inputs/text-editor/text-editor.links.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts +3 -3
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js +3 -3
- package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +7 -8
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +9 -27
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +11 -3
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +26 -15
- package/dist/components/inputs/time-field/time-field.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 +0 -7
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +13 -7
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +21 -14
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +6 -7
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +9 -21
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +3 -11
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +24 -78
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +29 -25
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +50 -50
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +4 -2
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +4 -2
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +3 -1
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +3 -1
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +3 -1
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +3 -1
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +7 -5
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +7 -5
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/divider/divider.d.ts +2 -0
- package/dist/components/layout/divider/divider.d.ts.map +1 -1
- package/dist/components/layout/divider/divider.js +2 -0
- package/dist/components/layout/divider/divider.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +1 -1
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +3 -7
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +12 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +49 -3
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +7 -0
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +1 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +1 -0
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -0
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -0
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +7 -5
- 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 +7 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +2 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +30 -6
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +50 -129
- 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 +6 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +9 -38
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +15 -174
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +1 -0
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.template.js +5 -5
- package/dist/components/layout/sheet/sheet.template.js.map +1 -1
- package/dist/components/layout/shell/shell.d.ts +2 -1
- package/dist/components/layout/shell/shell.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.js +2 -1
- package/dist/components/layout/shell/shell.js.map +1 -1
- package/dist/components/layout/spacer/spacer.d.ts +7 -5
- package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
- package/dist/components/layout/spacer/spacer.js +7 -5
- package/dist/components/layout/spacer/spacer.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +3 -2
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +3 -2
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +5 -3
- 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 +5 -3
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +4 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +4 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +2 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +2 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +4 -30
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +14 -139
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.template.d.ts.map +1 -1
- package/dist/components/layout/window/window.template.js +5 -4
- package/dist/components/layout/window/window.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -2
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +2 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +2 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +7 -7
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +7 -7
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +3 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +3 -3
- package/dist/components/lists-and-tables/list/list.d.ts +42 -64
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +71 -168
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.roving.d.ts +79 -0
- package/dist/components/lists-and-tables/list/list.roving.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list/list.roving.js +122 -0
- package/dist/components/lists-and-tables/list/list.roving.js.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +63 -47
- 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 +68 -55
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +12 -11
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +13 -13
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +8 -5
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +8 -5
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +7 -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 +15 -64
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +14 -9
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +6 -4
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +6 -4
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link-group/link-group.d.ts +3 -3
- package/dist/components/navigation/link-group/link-group.js +3 -3
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +14 -18
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +47 -72
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +2 -2
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +5 -6
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +17 -33
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +4 -3
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +4 -3
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +1 -0
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +1 -0
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +12 -4
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +22 -6
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +4 -2
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +2 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +2 -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 +2 -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.js +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +10 -8
- 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 +11 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +3 -1
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +7 -5
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +6 -4
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +5 -3
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +5 -3
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +4 -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 +4 -2
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +5 -23
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +7 -125
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +5 -3
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +3 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +3 -1
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +5 -3
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +5 -3
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +4 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +2 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +2 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +2 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/css/document-reset.css +9 -0
- package/dist/nldd.min.js +929 -865
- package/dist/types/react.d.ts +156 -62
- package/dist/types/vue.d.ts +255 -74
- package/dist/utilities/ancestor-scroll.d.ts +15 -0
- package/dist/utilities/ancestor-scroll.d.ts.map +1 -0
- package/dist/utilities/ancestor-scroll.js +24 -0
- package/dist/utilities/ancestor-scroll.js.map +1 -0
- package/dist/utilities/choice-group.d.ts +91 -0
- package/dist/utilities/choice-group.d.ts.map +1 -0
- package/dist/utilities/choice-group.js +135 -0
- package/dist/utilities/choice-group.js.map +1 -0
- package/dist/utilities/deep-active-element.d.ts +6 -0
- package/dist/utilities/deep-active-element.d.ts.map +1 -0
- package/dist/utilities/deep-active-element.js +11 -0
- package/dist/utilities/deep-active-element.js.map +1 -0
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +972 -922
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +21 -5
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +86 -5
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/interest-intent.d.ts +63 -0
- package/dist/utilities/interest-intent.d.ts.map +1 -0
- package/dist/utilities/interest-intent.js +139 -0
- package/dist/utilities/interest-intent.js.map +1 -0
- package/dist/utilities/{interest-controller.d.ts → interest-invoker.d.ts} +5 -14
- package/dist/utilities/interest-invoker.d.ts.map +1 -0
- package/dist/utilities/{interest-controller.js → interest-invoker.js} +39 -97
- package/dist/utilities/interest-invoker.js.map +1 -0
- package/dist/utilities/modal-overlay.d.ts +73 -0
- package/dist/utilities/modal-overlay.d.ts.map +1 -0
- package/dist/utilities/modal-overlay.js +219 -0
- package/dist/utilities/modal-overlay.js.map +1 -0
- package/dist/utilities/overflow-menu.d.ts +97 -0
- package/dist/utilities/overflow-menu.d.ts.map +1 -0
- package/dist/utilities/overflow-menu.js +209 -0
- package/dist/utilities/overflow-menu.js.map +1 -0
- package/dist/utilities/overlay-invoker.d.ts +185 -0
- package/dist/utilities/overlay-invoker.d.ts.map +1 -0
- package/dist/utilities/overlay-invoker.js +329 -0
- package/dist/utilities/overlay-invoker.js.map +1 -0
- package/dist/utilities/page-section-mixin.d.ts +11 -0
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +11 -0
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/return-focus.d.ts +0 -2
- package/dist/utilities/return-focus.d.ts.map +1 -1
- package/dist/utilities/return-focus.js +1 -7
- package/dist/utilities/return-focus.js.map +1 -1
- package/dist/utilities/with-translations.d.ts +3 -0
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +3 -0
- package/dist/utilities/with-translations.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +4 -114
- package/lint/fix.js +53 -136
- package/lint/frontends.js +68 -6
- package/lint/linter.js +1 -0
- package/lint/main.js +21 -123
- package/lint/project.js +31 -0
- package/lint/rule-compiler.js +318 -0
- package/lint/rule-index.js +33 -1
- package/lint/rule.schema.json +1 -1
- package/lint/session.js +127 -0
- package/lint/tree.js +46 -0
- package/package.json +11 -19
- package/dist/cdn/chunks/checkbox-group-CC72cq-P.js +0 -103
- package/dist/cdn/chunks/form-associated-mixin-BtStDDYA.js +0 -73
- package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +0 -20
- package/dist/cdn/chunks/popover-target-B25dxnmt.js +0 -10
- package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +0 -30
- package/dist/cdn/chunks/radio-button-group-D_OezDhB.js +0 -124
- package/dist/components/actions/toolbar/toolbar.overflow-menu.d.ts +0 -52
- package/dist/components/actions/toolbar/toolbar.overflow-menu.d.ts.map +0 -1
- package/dist/components/actions/toolbar/toolbar.overflow-menu.js +0 -105
- package/dist/components/actions/toolbar/toolbar.overflow-menu.js.map +0 -1
- package/dist/utilities/interest-controller.d.ts.map +0 -1
- package/dist/utilities/interest-controller.js.map +0 -1
- package/dist/utilities/open-when-rendered.d.ts +0 -21
- package/dist/utilities/open-when-rendered.d.ts.map +0 -1
- package/dist/utilities/open-when-rendered.js +0 -30
- package/dist/utilities/open-when-rendered.js.map +0 -1
- package/dist/utilities/popover-target.d.ts +0 -25
- package/dist/utilities/popover-target.d.ts.map +0 -1
- package/dist/utilities/popover-target.js +0 -48
- package/dist/utilities/popover-target.js.map +0 -1
- package/dist/utilities/popup-anchor-controller.d.ts +0 -63
- package/dist/utilities/popup-anchor-controller.d.ts.map +0 -1
- package/dist/utilities/popup-anchor-controller.js +0 -72
- package/dist/utilities/popup-anchor-controller.js.map +0 -1
|
@@ -8,13 +8,11 @@ export function documentTabBarTemplate(component) {
|
|
|
8
8
|
const hasOverflow = component._overflowCount > 0;
|
|
9
9
|
const label = component.accessibleLabel || 'Tabbladen';
|
|
10
10
|
const isNavigation = component.navigation;
|
|
11
|
-
// Overflow button: aria-controls is intentionally omitted.
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
// as aria-haspopup / aria-expanded and give sufficient
|
|
15
|
-
// WCAG 2.1 AA.
|
|
16
|
-
// shadow root, or CSS Anchor Positioning lets the menu escape the
|
|
17
|
-
// stacking context without document.body.
|
|
11
|
+
// Overflow button: aria-controls is intentionally omitted. The menu sits
|
|
12
|
+
// in this shadow root and the button in the icon button's own, and an
|
|
13
|
+
// ARIA IDREF cannot cross that boundary. popup-type + expanded forward to
|
|
14
|
+
// the inner button as aria-haspopup / aria-expanded and give sufficient
|
|
15
|
+
// AT context for WCAG 2.1 AA.
|
|
18
16
|
const inner = html `
|
|
19
17
|
<div class="document-tab-bar__items"
|
|
20
18
|
role=${isNavigation ? nothing : 'tablist'}
|
|
@@ -69,8 +67,13 @@ export function documentTabBarItemTemplate(component) {
|
|
|
69
67
|
const tooltipText = component.supportingText
|
|
70
68
|
? `${component.text} · ${component.supportingText}`
|
|
71
69
|
: component.text;
|
|
70
|
+
// A short tab takes its name from the text it shows (WCAG 2.5.3), and the
|
|
71
|
+
// full text, hidden from view, describes it.
|
|
72
|
+
const name = component._isShort ? nothing : tooltipText;
|
|
73
|
+
const description = component._isShort ? 'full-text' : nothing;
|
|
72
74
|
const tabContent = html `
|
|
73
75
|
<span class="document-tab-bar__item-normal"
|
|
76
|
+
id="full-text"
|
|
74
77
|
aria-hidden="true"
|
|
75
78
|
>
|
|
76
79
|
<span class="document-tab-bar__item-text">${component.text}</span>
|
|
@@ -91,7 +94,8 @@ export function documentTabBarItemTemplate(component) {
|
|
|
91
94
|
role=${isNavigation ? nothing : 'tab'}
|
|
92
95
|
aria-current=${isNavigation && component.selected ? 'page' : nothing}
|
|
93
96
|
aria-selected=${!isNavigation ? (component.selected ? 'true' : 'false') : nothing}
|
|
94
|
-
aria-label=${
|
|
97
|
+
aria-label=${name}
|
|
98
|
+
aria-describedby=${description}
|
|
95
99
|
tabindex=${tabindex}
|
|
96
100
|
@click=${component._handleClick}
|
|
97
101
|
>${tabContent}</a>`
|
|
@@ -99,7 +103,8 @@ export function documentTabBarItemTemplate(component) {
|
|
|
99
103
|
type="button"
|
|
100
104
|
role="tab"
|
|
101
105
|
aria-selected=${component.selected ? 'true' : 'false'}
|
|
102
|
-
aria-label=${
|
|
106
|
+
aria-label=${name}
|
|
107
|
+
aria-describedby=${description}
|
|
103
108
|
tabindex=${tabindex}
|
|
104
109
|
@click=${component._handleClick}
|
|
105
110
|
>${tabContent}</button>`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-tab-bar.template.js","sourceRoot":"","sources":["../../../../src/components/navigation/document-tab-bar/document-tab-bar.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,4CAA4C,CAAC;AACpD,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,oCAAoC,CAAC;AAE5C,MAAM,UAAU,sBAAsB,CAAC,SAA6B;IACnE,MAAM,WAAW,GAAG,SAAS,CAAC,cAAc,GAAG,CAAC,CAAC;IACjD,MAAM,KAAK,GAAG,SAAS,CAAC,eAAe,IAAI,WAAW,CAAC;IACvD,MAAM,YAAY,GAAG,SAAS,CAAC,UAAU,CAAC;IAE1C,
|
|
1
|
+
{"version":3,"file":"document-tab-bar.template.js","sourceRoot":"","sources":["../../../../src/components/navigation/document-tab-bar/document-tab-bar.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE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C,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO;iBACpE,IAAI;uBACE,WAAW;eACnB,QAAQ;aACV,SAAS,CAAC,YAAY;MAC7B,UAAU,MAAM;QACpB,CAAC,CAAC,IAAI,CAAA;;;oBAGY,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;iBACxC,IAAI;uBACE,WAAW;eACnB,QAAQ;aACV,SAAS,CAAC,YAAY;MAC7B,UAAU,WAAW,CAAC;IAE3B,OAAO,IAAI,CAAA;;UAEF,WAAW;YACT,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO;;;MAG5C,GAAG;;kBAES,SAAS,CAAC,gCAAgC;gBAC5C,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,oBAAoB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;cACnE,SAAS,CAAC,cAAc;;;;;;;;EAQpC,CAAC;AACH,CAAC"}
|
|
@@ -50,11 +50,13 @@
|
|
|
50
50
|
* component loads, and without script.
|
|
51
51
|
*
|
|
52
52
|
* @element nldd-link
|
|
53
|
+
* @keywords koppeling
|
|
54
|
+
* @related nldd-button
|
|
53
55
|
* @attr {string} href - Link target
|
|
54
56
|
* @attr {string} target - Link target (e.g. '_blank'); adjusts rel automatically. With '_blank' the link adds a visually hidden "opent in nieuw tabblad" announcement for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off.
|
|
55
57
|
* @attr {string} download - Saves the file the link points at instead of opening it; only used with href. Without a value the browser takes the name from the URL, with one that is the file name. A browser ignores it for a URL on another origin and opens the file there. Adds a visually hidden "downloadt bestand" for screen readers. Leave `target` off: a download opens no tab.
|
|
56
58
|
* @attr {string} rel - Link rel attribute; with target '_blank', 'noopener noreferrer' is added to whatever you set
|
|
57
|
-
* @attr {
|
|
59
|
+
* @attr {'inherit'|'xs'|'sm'|'md'|'lg'} size - Text size: 'inherit' (the default) follows the surrounding text and lays the link out inline, so it wraps in running prose. 'xs' | 'sm' | 'md' | 'lg' pin a size and switch to inline-flex, which baseline-aligns a start or end icon with an explicit gap.
|
|
58
60
|
* @attr {string} text - Link text. Content in the default slot wins.
|
|
59
61
|
* @attr {string} start-icon - Icon before the text
|
|
60
62
|
* @attr {string} end-icon - Icon after the text
|
|
@@ -71,7 +73,7 @@
|
|
|
71
73
|
*/
|
|
72
74
|
import { LitElement, type PropertyValues } from 'lit';
|
|
73
75
|
import { SlotContent } from '../../../utilities/slot-content.js';
|
|
74
|
-
import {
|
|
76
|
+
import { InterestInvoker } from '../../../utilities/interest-invoker.js';
|
|
75
77
|
import './../../content/icon/icon.js';
|
|
76
78
|
type Size = 'xs' | 'sm' | 'md' | 'lg' | 'inherit';
|
|
77
79
|
declare const NLDDLink_base: (abstract new (...args: any[]) => LitElement & {
|
|
@@ -99,7 +101,7 @@ export declare class NLDDLink extends NLDDLink_base {
|
|
|
99
101
|
endIcon: string;
|
|
100
102
|
accessibleLabel: string;
|
|
101
103
|
disabled: boolean;
|
|
102
|
-
/** Take the control out of the tab order (`tabindex="-1"`)
|
|
104
|
+
/** Take the control out of the tab order (`tabindex="-1"`), for a control
|
|
103
105
|
* owned by a roving container (an `nldd-list` sets it on the rows that are
|
|
104
106
|
* not the current one) that manages focus itself. Still mouse- and
|
|
105
107
|
* script-focusable. */
|
|
@@ -107,7 +109,7 @@ export declare class NLDDLink extends NLDDLink_base {
|
|
|
107
109
|
interestfor: string | undefined;
|
|
108
110
|
/** Wiring for the popover `interestfor` names: opens it on hover, focus
|
|
109
111
|
* and long press. */
|
|
110
|
-
_interest:
|
|
112
|
+
_interest: InterestInvoker;
|
|
111
113
|
/** @internal The `<a>` of the app in the default slot, which takes the place
|
|
112
114
|
* of the link this component draws. */
|
|
113
115
|
_anchor: HTMLAnchorElement | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAMjE,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAIzE,OAAO,8BAA8B,CAAC;AAEtC,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;;AAElD,qBACa,QAAS,SAAQ,aAA+D;IAC5F,OAAgB,MAAM,0BAAc;IAEpC,6EAA6E;IAC7E,SAAS,cAAyB;IAGlC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAGrC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;8DAC0D;IAE1D,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAGzC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAGpC,IAAI,EAAE,IAAI,CAAa;IAGvB,IAAI,SAAM;IAGV,SAAS,SAAM;IAGf,OAAO,SAAM;IAGb,eAAe,SAAM;IAGrB,QAAQ,UAAS;IACjB;;;4BAGwB;IAExB,KAAK,UAAS;IAGd,WAAW,EAAE,MAAM,GAAG,SAAS,CAAa;IAE5C;0BACsB;IACtB,SAAS,kBAA6B;IAEtC;4CACwC;IAC/B,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAElD,6EAA6E;IAC7E,OAAO,CAAC,eAAe,CAAiC;IAExD;qDACiD;IACjD,OAAO,CAAC,QAAQ,CAA6B;IAE7C;wEACoE;IAC3D,aAAa,UAAS;IACtB,WAAW,UAAS;IAE7B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,wBAAwB,CAG9B;IAEF,iFAAiF;IACjF,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,cAAc;IAOtB,oEAAoE;IACpE,OAAO,CAAC,cAAc;IAYtB,iEAAiE;IACjE,OAAO,CAAC,SAAS,CAAgB;IAEjC;+DAC2D;IAC3D,OAAO,CAAC,SAAS;IAUjB,4EAA4E;IAC5E,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,aAAa;IAerB;;sEAEkE;IAClE,OAAO,CAAC,oBAAoB,CAI1B;IAEO,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAUrC,OAAO,CAAC,YAAY;IAOX,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAM/C,oEAAoE;IAC3D,eAAe,IAAI,OAAO,GAAG,IAAI;IAI1C,6DAA6D;IACpD,eAAe,IAAI,SAAS,OAAO,EAAE;IAI9C;2EACuE;IAC9D,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,OAAO,EAAE;IAKrD,MAAM;CAOf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -50,11 +50,13 @@
|
|
|
50
50
|
* component loads, and without script.
|
|
51
51
|
*
|
|
52
52
|
* @element nldd-link
|
|
53
|
+
* @keywords koppeling
|
|
54
|
+
* @related nldd-button
|
|
53
55
|
* @attr {string} href - Link target
|
|
54
56
|
* @attr {string} target - Link target (e.g. '_blank'); adjusts rel automatically. With '_blank' the link adds a visually hidden "opent in nieuw tabblad" announcement for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off.
|
|
55
57
|
* @attr {string} download - Saves the file the link points at instead of opening it; only used with href. Without a value the browser takes the name from the URL, with one that is the file name. A browser ignores it for a URL on another origin and opens the file there. Adds a visually hidden "downloadt bestand" for screen readers. Leave `target` off: a download opens no tab.
|
|
56
58
|
* @attr {string} rel - Link rel attribute; with target '_blank', 'noopener noreferrer' is added to whatever you set
|
|
57
|
-
* @attr {
|
|
59
|
+
* @attr {'inherit'|'xs'|'sm'|'md'|'lg'} size - Text size: 'inherit' (the default) follows the surrounding text and lays the link out inline, so it wraps in running prose. 'xs' | 'sm' | 'md' | 'lg' pin a size and switch to inline-flex, which baseline-aligns a start or end icon with an explicit gap.
|
|
58
60
|
* @attr {string} text - Link text. Content in the default slot wins.
|
|
59
61
|
* @attr {string} start-icon - Icon before the text
|
|
60
62
|
* @attr {string} end-icon - Icon after the text
|
|
@@ -84,7 +86,7 @@ import { linkStyles } from './link.styles.js';
|
|
|
84
86
|
import { template } from './link.template.js';
|
|
85
87
|
import { withTranslations } from '../../../utilities/with-translations.js';
|
|
86
88
|
import { nlddLinkTranslations } from './link.i18n.js';
|
|
87
|
-
import {
|
|
89
|
+
import { InterestInvoker } from '../../../utilities/interest-invoker.js';
|
|
88
90
|
import { applyDescribedBy, DescribedBy } from '../../../utilities/described-by-mixin.js';
|
|
89
91
|
import { downloadLinkHintKey } from '../../../utilities/link-hint.js';
|
|
90
92
|
import { linkRel } from '../../../utilities/link-rel.js';
|
|
@@ -106,7 +108,7 @@ let NLDDLink = class NLDDLink extends DescribedBy(withTranslations(LitElement, n
|
|
|
106
108
|
this.endIcon = '';
|
|
107
109
|
this.accessibleLabel = '';
|
|
108
110
|
this.disabled = false;
|
|
109
|
-
/** Take the control out of the tab order (`tabindex="-1"`)
|
|
111
|
+
/** Take the control out of the tab order (`tabindex="-1"`), for a control
|
|
110
112
|
* owned by a roving container (an `nldd-list` sets it on the rows that are
|
|
111
113
|
* not the current one) that manages focus itself. Still mouse- and
|
|
112
114
|
* script-focusable. */
|
|
@@ -114,7 +116,7 @@ let NLDDLink = class NLDDLink extends DescribedBy(withTranslations(LitElement, n
|
|
|
114
116
|
this.interestfor = undefined;
|
|
115
117
|
/** Wiring for the popover `interestfor` names: opens it on hover, focus
|
|
116
118
|
* and long press. */
|
|
117
|
-
this._interest = new
|
|
119
|
+
this._interest = new InterestInvoker(this);
|
|
118
120
|
/** @internal The `<a>` of the app in the default slot, which takes the place
|
|
119
121
|
* of the link this component draws. */
|
|
120
122
|
this._anchor = null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACzF,OAAO,EAAE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IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;yCACrC;AAGb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;iDACrC;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CAC1B;AAMjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;uCAClD;AAGd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CACE;AAQnC;IAAR,KAAK,EAAE;yCAA0C;AAWzC;IAAR,KAAK,EAAE;+CAAuB;AACtB;IAAR,KAAK,EAAE;6CAAqB;AAjEjB,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAiNpB"}
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
* same size.
|
|
16
16
|
*
|
|
17
17
|
* @element nldd-link-group
|
|
18
|
-
* @attr {
|
|
19
|
-
* @attr {
|
|
20
|
-
* @attr {
|
|
18
|
+
* @attr {'xs'|'sm'|'md'|'lg'} size - Text size, set on every link in it: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
|
|
19
|
+
* @attr {'horizontal'|'vertical'} orientation - Layout direction: 'horizontal' (a row that wraps) | 'vertical' (default: 'horizontal')
|
|
20
|
+
* @attr {'left'|'center'} horizontal-alignment - Alignment of the links: 'left' | 'center' (default: 'left')
|
|
21
21
|
* @attr {string} accessible-label - Accessible name of the nav landmark
|
|
22
22
|
*
|
|
23
23
|
* @slot - nldd-link elements
|
|
@@ -21,9 +21,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
21
|
* same size.
|
|
22
22
|
*
|
|
23
23
|
* @element nldd-link-group
|
|
24
|
-
* @attr {
|
|
25
|
-
* @attr {
|
|
26
|
-
* @attr {
|
|
24
|
+
* @attr {'xs'|'sm'|'md'|'lg'} size - Text size, set on every link in it: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
|
|
25
|
+
* @attr {'horizontal'|'vertical'} orientation - Layout direction: 'horizontal' (a row that wraps) | 'vertical' (default: 'horizontal')
|
|
26
|
+
* @attr {'left'|'center'} horizontal-alignment - Alignment of the links: 'left' | 'center' (default: 'left')
|
|
27
27
|
* @attr {string} accessible-label - Accessible name of the nav landmark
|
|
28
28
|
*
|
|
29
29
|
* @slot - nldd-link elements
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* popover menu.
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-menu-bar
|
|
9
|
+
* @keywords menubalk
|
|
10
|
+
* @related nldd-tab-bar, nldd-top-navigation-bar
|
|
9
11
|
* @attr {string} overflow-text - Text for the overflow button (default through i18n)
|
|
10
12
|
* @attr {string} accessible-label - aria-label for the nav landmark
|
|
11
13
|
* @attr {boolean} compact - Propagates the compact attribute to slotted items (activates content priority)
|
|
@@ -14,7 +16,6 @@
|
|
|
14
16
|
*/
|
|
15
17
|
import { LitElement, type PropertyValues } from 'lit';
|
|
16
18
|
import '../menu-bar-item/menu-bar-item.js';
|
|
17
|
-
import '../../actions/menu/menu.js';
|
|
18
19
|
declare const NLDDMenuBar_base: (abstract new (...args: any[]) => LitElement & {
|
|
19
20
|
translations: Partial<{
|
|
20
21
|
'components.menu-bar.overflow-action': string;
|
|
@@ -28,10 +29,10 @@ export declare class NLDDMenuBar extends NLDDMenuBar_base {
|
|
|
28
29
|
compact: boolean;
|
|
29
30
|
private _defaultSlot;
|
|
30
31
|
private _overflowButton;
|
|
31
|
-
/**
|
|
32
|
-
_menuOpen: boolean;
|
|
32
|
+
/** The menu with the items that do not fit. */
|
|
33
33
|
private _overflowMenu;
|
|
34
|
-
|
|
34
|
+
/** @internal Used by template. Drives the overflow button's expanded state. */
|
|
35
|
+
get _menuOpen(): boolean;
|
|
35
36
|
private _overflowUpdatePending;
|
|
36
37
|
private _resizeObserver;
|
|
37
38
|
private _overflowRAF;
|
|
@@ -59,23 +60,18 @@ export declare class NLDDMenuBar extends NLDDMenuBar_base {
|
|
|
59
60
|
* Calculate which slotted items overflow and hide them behind an overflow button.
|
|
60
61
|
* Tested both ways in menu-bar.test.ts: with real layout for the whole path, and
|
|
61
62
|
* with mocked widths for the arithmetic. The space reserved for the button needs
|
|
62
|
-
* the mocks
|
|
63
|
+
* the mocks: the button is a shrinkable flex item, so the rendered layout
|
|
63
64
|
* absorbs whatever the arithmetic leaves over and always looks right.
|
|
64
65
|
*/
|
|
65
66
|
private _updateOverflow;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
*
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
* prevented deterministically via the pointerdown flag below.
|
|
75
|
-
*/
|
|
76
|
-
_toggleOverflowMenu: () => void;
|
|
77
|
-
/** @internal Used by template — captures touch-tap-to-close so the trailing click doesn't reopen. */
|
|
78
|
-
_handleOverflowButtonPointerdown: () => void;
|
|
67
|
+
/** Opens and closes the overflow menu against the always-visible trigger,
|
|
68
|
+
* so floating-ui never collapses to 0,0. The native popover-invoker path
|
|
69
|
+
* was unusable here (the anchor sits inside a display-toggled wrapper). */
|
|
70
|
+
private _overflowInvoker;
|
|
71
|
+
/** @internal Used by template. Without an event it acts as a keyboard click. */
|
|
72
|
+
_toggleOverflowMenu: (event?: MouseEvent) => void;
|
|
73
|
+
/** @internal Used by template. */
|
|
74
|
+
_handleOverflowButtonPointerdown: (event: PointerEvent) => void;
|
|
79
75
|
private _populateOverflowMenu;
|
|
80
76
|
render(): import("lit-html").TemplateResult<1>;
|
|
81
77
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/menu-bar/menu-bar.ts"],"names":[],"mappings":"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EH,gFAAgF;IAChF,mBAAmB,GAAI,QAAQ,UAAU,KAAG,IAAI,CAK9C;IAEF,kCAAkC;IAClC,gCAAgC,GAAI,OAAO,YAAY,KAAG,IAAI,CAE5D;IAEF,OAAO,CAAC,qBAAqB;IAyEpB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,eAAe,EAAE,WAAW,CAAC;KAC7B;CACD"}
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* popover menu.
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-menu-bar
|
|
9
|
+
* @keywords menubalk
|
|
10
|
+
* @related nldd-tab-bar, nldd-top-navigation-bar
|
|
9
11
|
* @attr {string} overflow-text - Text for the overflow button (default through i18n)
|
|
10
12
|
* @attr {string} accessible-label - aria-label for the nav landmark
|
|
11
13
|
* @attr {boolean} compact - Propagates the compact attribute to slotted items (activates content priority)
|
|
@@ -19,7 +21,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
21
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
22
|
};
|
|
21
23
|
import { LitElement } from 'lit';
|
|
22
|
-
import { property, query
|
|
24
|
+
import { property, query } from 'lit/decorators.js';
|
|
23
25
|
import { customElement } from '../../../utilities/custom-element.js';
|
|
24
26
|
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
25
27
|
import { menuBarStyles } from './menu-bar.styles.js';
|
|
@@ -27,8 +29,8 @@ import { template } from './menu-bar.template.js';
|
|
|
27
29
|
import { withTranslations } from '../../../utilities/with-translations.js';
|
|
28
30
|
import { nlddMenuBarTranslations } from './menu-bar.i18n.js';
|
|
29
31
|
import '../menu-bar-item/menu-bar-item.js';
|
|
30
|
-
import '
|
|
31
|
-
import {
|
|
32
|
+
import { OverflowMenu } from '../../../utilities/overflow-menu.js';
|
|
33
|
+
import { OverlayInvoker } from '../../../utilities/overlay-invoker.js';
|
|
32
34
|
import { setState } from '../../../utilities/element-state.js';
|
|
33
35
|
import { markListItems } from '../../../utilities/list-items.js';
|
|
34
36
|
let NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMenuBarTranslations) {
|
|
@@ -38,10 +40,17 @@ let NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMen
|
|
|
38
40
|
this.accessibleLabel = '';
|
|
39
41
|
this.compact = false;
|
|
40
42
|
// ## Overflow state
|
|
41
|
-
/**
|
|
42
|
-
this.
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
/** The menu with the items that do not fit. */
|
|
44
|
+
this._overflowMenu = new OverflowMenu(this, {
|
|
45
|
+
id: 'nldd-menu-bar-overflow-menu',
|
|
46
|
+
onToggle: (open) => {
|
|
47
|
+
// Flush any overflow recalc that was deferred while open.
|
|
48
|
+
if (!open && this._overflowUpdatePending) {
|
|
49
|
+
this._overflowUpdatePending = false;
|
|
50
|
+
this._scheduleOverflowUpdate();
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
});
|
|
45
54
|
this._overflowUpdatePending = false;
|
|
46
55
|
this._resizeObserver = null;
|
|
47
56
|
this._overflowRAF = null;
|
|
@@ -60,41 +69,34 @@ let NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMen
|
|
|
60
69
|
this._updateOverflow();
|
|
61
70
|
});
|
|
62
71
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
* prevented deterministically via the pointerdown flag below.
|
|
71
|
-
*/
|
|
72
|
-
this._toggleOverflowMenu = () => {
|
|
73
|
-
if (this._overflowPointerdownWhileOpen) {
|
|
74
|
-
this._overflowPointerdownWhileOpen = false;
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
this._createOverflowMenu();
|
|
78
|
-
if (!this._overflowMenu)
|
|
79
|
-
return;
|
|
80
|
-
const trigger = this._overflowButton?.querySelector('nldd-menu-bar-item');
|
|
81
|
-
this._overflowMenu.anchorElement = trigger ?? this._overflowButton;
|
|
82
|
-
if (this._menuOpen) {
|
|
83
|
-
this._overflowMenu.hidePopover();
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
72
|
+
// ## Overflow popover menu
|
|
73
|
+
/** Opens and closes the overflow menu against the always-visible trigger,
|
|
74
|
+
* so floating-ui never collapses to 0,0. The native popover-invoker path
|
|
75
|
+
* was unusable here (the anchor sits inside a display-toggled wrapper). */
|
|
76
|
+
this._overflowInvoker = new OverlayInvoker(this, {
|
|
77
|
+
anchorFor: () => this._overflowButton?.querySelector('nldd-menu-bar-item') ?? this._overflowButton ?? null,
|
|
78
|
+
open: (menu) => {
|
|
86
79
|
this._populateOverflowMenu();
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
80
|
+
menu.showPopover();
|
|
81
|
+
},
|
|
82
|
+
});
|
|
83
|
+
/** @internal Used by template. Without an event it acts as a keyboard click. */
|
|
84
|
+
this._toggleOverflowMenu = (event) => {
|
|
85
|
+
const menu = this._overflowMenu.menu;
|
|
86
|
+
if (!menu)
|
|
87
|
+
return;
|
|
88
|
+
this._overflowInvoker.setOverlay(menu);
|
|
89
|
+
this._overflowInvoker.handleClick(event ?? new MouseEvent('click'));
|
|
90
90
|
};
|
|
91
|
-
/** @internal Used by template
|
|
92
|
-
this._handleOverflowButtonPointerdown = () => {
|
|
93
|
-
|
|
94
|
-
this._overflowPointerdownWhileOpen = true;
|
|
95
|
-
}
|
|
91
|
+
/** @internal Used by template. */
|
|
92
|
+
this._handleOverflowButtonPointerdown = (event) => {
|
|
93
|
+
this._overflowInvoker.handlePointerdown(event);
|
|
96
94
|
};
|
|
97
95
|
}
|
|
96
|
+
/** @internal Used by template. Drives the overflow button's expanded state. */
|
|
97
|
+
get _menuOpen() {
|
|
98
|
+
return this._overflowMenu.open;
|
|
99
|
+
}
|
|
98
100
|
willUpdate(changed) {
|
|
99
101
|
super.willUpdate(changed);
|
|
100
102
|
if (changed.has('compact')) {
|
|
@@ -110,8 +112,7 @@ let NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMen
|
|
|
110
112
|
disconnectedCallback() {
|
|
111
113
|
super.disconnectedCallback();
|
|
112
114
|
this._cleanupOverflowDetection();
|
|
113
|
-
this.
|
|
114
|
-
this._overflowMenu = null;
|
|
115
|
+
this._overflowInvoker.setOverlay(null);
|
|
115
116
|
}
|
|
116
117
|
firstUpdated() {
|
|
117
118
|
this._setupOverflowDetection();
|
|
@@ -185,7 +186,7 @@ let NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMen
|
|
|
185
186
|
* Calculate which slotted items overflow and hide them behind an overflow button.
|
|
186
187
|
* Tested both ways in menu-bar.test.ts: with real layout for the whole path, and
|
|
187
188
|
* with mocked widths for the arithmetic. The space reserved for the button needs
|
|
188
|
-
* the mocks
|
|
189
|
+
* the mocks: the button is a shrinkable flex item, so the rendered layout
|
|
189
190
|
* absorbs whatever the arithmetic leaves over and always looks right.
|
|
190
191
|
*/
|
|
191
192
|
_updateOverflow() {
|
|
@@ -246,33 +247,8 @@ let NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMen
|
|
|
246
247
|
overflowButton.style.display = 'none';
|
|
247
248
|
}
|
|
248
249
|
}
|
|
249
|
-
// ## Overflow popover menu
|
|
250
|
-
_createOverflowMenu() {
|
|
251
|
-
if (this._overflowMenu)
|
|
252
|
-
return;
|
|
253
|
-
// SSR guard — document is unavailable in server-side rendering.
|
|
254
|
-
if (typeof document === 'undefined')
|
|
255
|
-
return;
|
|
256
|
-
const menu = document.createElement('nldd-menu');
|
|
257
|
-
menu.setAttribute('placement', 'bottom-end');
|
|
258
|
-
menu.addEventListener('toggle', (event) => {
|
|
259
|
-
const isOpen = event.newState === 'open';
|
|
260
|
-
this._menuOpen = isOpen;
|
|
261
|
-
if (!isOpen) {
|
|
262
|
-
// Flush any overflow recalc that was deferred while open.
|
|
263
|
-
if (this._overflowUpdatePending) {
|
|
264
|
-
this._overflowUpdatePending = false;
|
|
265
|
-
this._scheduleOverflowUpdate();
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
document.body.appendChild(menu);
|
|
270
|
-
this._overflowMenu = menu;
|
|
271
|
-
}
|
|
272
250
|
_populateOverflowMenu() {
|
|
273
|
-
|
|
274
|
-
return;
|
|
275
|
-
this._overflowMenu.replaceChildren();
|
|
251
|
+
const entries = [];
|
|
276
252
|
const slottedElements = this._defaultSlot?.assignedElements({ flatten: true }) ?? [];
|
|
277
253
|
const overflowItems = slottedElements.filter(el => el.tagName === 'NLDD-MENU-BAR-ITEM' && el.hasAttribute('data-overflow'));
|
|
278
254
|
for (const item of overflowItems) {
|
|
@@ -315,11 +291,12 @@ let NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMen
|
|
|
315
291
|
// its submenu once at firstUpdated (`:scope > nldd-menu`);
|
|
316
292
|
// a nldd-menu added after it connects is ignored.
|
|
317
293
|
menuItem.appendChild(submenu);
|
|
318
|
-
|
|
294
|
+
entries.push(menuItem);
|
|
319
295
|
continue;
|
|
320
296
|
}
|
|
321
297
|
}
|
|
322
298
|
menuItem.addEventListener('click', (event) => {
|
|
299
|
+
this._overflowMenu.handOff();
|
|
323
300
|
if (!item.href) {
|
|
324
301
|
item.click();
|
|
325
302
|
return;
|
|
@@ -335,8 +312,9 @@ let NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMen
|
|
|
335
312
|
if (forwarded.defaultPrevented)
|
|
336
313
|
event.preventDefault();
|
|
337
314
|
});
|
|
338
|
-
|
|
315
|
+
entries.push(menuItem);
|
|
339
316
|
}
|
|
317
|
+
this._overflowMenu.replace(entries);
|
|
340
318
|
}
|
|
341
319
|
// ## Render
|
|
342
320
|
render() {
|
|
@@ -359,9 +337,6 @@ __decorate([
|
|
|
359
337
|
__decorate([
|
|
360
338
|
query('.menu-bar__overflow-button')
|
|
361
339
|
], NLDDMenuBar.prototype, "_overflowButton", void 0);
|
|
362
|
-
__decorate([
|
|
363
|
-
state()
|
|
364
|
-
], NLDDMenuBar.prototype, "_menuOpen", void 0);
|
|
365
340
|
NLDDMenuBar = __decorate([
|
|
366
341
|
customElement('nldd-menu-bar')
|
|
367
342
|
], NLDDMenuBar);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-bar.js","sourceRoot":"","sources":["../../../../src/components/navigation/menu-bar/menu-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,mCAAmC,CAAC;AAE3C,OAAO,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAY1D,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,gBAAgB,CAAC,UAAU,EAAE,uBAAuB,CAAC;IAA/E;;QAIN,iBAAY,GAAG,EAAE,CAAC;QAGlB,oBAAe,GAAG,EAAE,CAAC;QAGrB,YAAO,GAAG,KAAK,CAAC;QAUhB,oBAAoB;QAEpB,gFAAgF;QAEhF,cAAS,GA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AK,CAAC,cAAc,EAAE,CAAC;YACxD,CAAC,CAAC,CAAC;YACH,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACxB,CAAC;QACD,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED,YAAY;IAEH,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;;AA3Ue,kBAAM,GAAG,aAAa,AAAhB,CAAiB;AAGvC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;iDAChF;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;oDACrC;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAC3B;AAKR;IADP,KAAK,CAAC,kBAAkB,CAAC;iDACa;AAG/B;IADP,KAAK,CAAC,4BAA4B,CAAC;oDACE;AAlB1B,WAAW;IADvB,aAAa,CAAC,eAAe,CAAC;GAClB,WAAW,CA6UvB"}
|
|
@@ -24,8 +24,8 @@ export function template(component) {
|
|
|
24
24
|
_toggleOverflowMenu (same mechanism as an expandable
|
|
25
25
|
nldd-menu-bar-item's own submenu): anchored to this
|
|
26
26
|
always-visible trigger + a reopen guard. aria-controls
|
|
27
|
-
omitted:
|
|
28
|
-
|
|
27
|
+
omitted: the menu sits in this shadow root and the
|
|
28
|
+
button in the item's own, and an IDREF cannot cross that;
|
|
29
29
|
haspopup + expanded forward to the inner button and give
|
|
30
30
|
sufficient AT context for WCAG 2.1 AA. -->
|
|
31
31
|
</nldd-menu-bar-item>
|
|
@@ -49,7 +49,7 @@ export declare class NLDDMenuBarItem extends LitElement {
|
|
|
49
49
|
haspopup: string;
|
|
50
50
|
expanded: boolean;
|
|
51
51
|
/**
|
|
52
|
-
* Direct element reference to the popover this item invokes
|
|
52
|
+
* Direct element reference to the popover this item invokes. The IDL-only
|
|
53
53
|
* counterpart to `popovertarget` that works across shadow boundaries.
|
|
54
54
|
* Set by `nldd-menu` when this item is wired up as the menu's anchor
|
|
55
55
|
* so the browser recognizes the inner button as the menu's invoker
|
|
@@ -59,14 +59,14 @@ export declare class NLDDMenuBarItem extends LitElement {
|
|
|
59
59
|
/**
|
|
60
60
|
* Action the browser performs when the inner button is clicked,
|
|
61
61
|
* mirroring the standard `popovertargetaction` attribute. The menu
|
|
62
|
-
* keeps this in sync with its open state
|
|
63
|
-
* `'show'` while closed
|
|
62
|
+
* keeps this in sync with its open state (`'hide'` while open,
|
|
63
|
+
* `'show'` while closed), so the browser's native invoker action
|
|
64
64
|
* always matches the intent of the click without racing.
|
|
65
65
|
*/
|
|
66
66
|
popoverTargetAction: 'toggle' | 'show' | 'hide';
|
|
67
67
|
private _menu;
|
|
68
|
-
|
|
69
|
-
private
|
|
68
|
+
/** Opens and closes the slotted menu against this item. */
|
|
69
|
+
private _invoker;
|
|
70
70
|
private _menuToggleHandler;
|
|
71
71
|
/** Re-renders when the menu's variant changes, since that decides whether
|
|
72
72
|
* the control promises a menu (aria-haspopup) or only says expanded. */
|
|
@@ -88,7 +88,6 @@ export declare class NLDDMenuBarItem extends LitElement {
|
|
|
88
88
|
/** How far the indicator stops short of the item's top and bottom, so the
|
|
89
89
|
* menu can open against the indicator instead of against the item. */
|
|
90
90
|
private _indicatorInset;
|
|
91
|
-
private _toggleMenu;
|
|
92
91
|
render(): import("lit-html").TemplateResult<1>;
|
|
93
92
|
}
|
|
94
93
|
declare global {
|