@nldd/design-system 0.26.2 → 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 +1056 -145
- package/dist/cdn/autoloader.js +141 -141
- package/dist/cdn/chunks/{accordion-item-Cn1UDWtD.js → accordion-item-BXEHwzcv.js} +4 -4
- package/dist/cdn/chunks/{accordion-CCuKxlsg.js → accordion-qXirmNBj.js} +4 -4
- package/dist/cdn/chunks/{activity-indicator-BM_atCTY.js → activity-indicator-DP61AhsJ.js} +5 -5
- package/dist/cdn/chunks/{admonition-CqDce27_.js → admonition-RnRSNAri.js} +4 -4
- package/dist/cdn/chunks/{avatar-Dl2tOfc2.js → avatar-DsexiOhH.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-Br3qBaow.js → avatar-group-BrfrpXvd.js} +15 -15
- package/dist/cdn/chunks/{badge-DjjAl4mn.js → badge-BiQFOq2l.js} +5 -5
- package/dist/cdn/chunks/{banner-s5xMqoEU.js → banner-42zIYAEN.js} +7 -7
- package/dist/cdn/chunks/{bar-split-view-B6Mv_cw-.js → bar-split-view-CjYEp276.js} +5 -5
- package/dist/cdn/chunks/{blockquote-CRFPXI9u.js → blockquote-qf4hJYvm.js} +3 -3
- package/dist/cdn/chunks/{box-CSZyj31o.js → box-CWyg7sbR.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DzjbOB7o.js → breadcrumbs-BaHjYdz8.js} +5 -5
- package/dist/cdn/chunks/{button-B7OGt_dX.js → button-CKV-jwGY.js} +10 -10
- package/dist/cdn/chunks/{button-bar-CvDkir22.js → button-bar-DeJ81759.js} +3 -3
- package/dist/cdn/chunks/{button-group-Bi3dr9Go.js → button-group-CuRkiHR5.js} +2 -2
- package/dist/cdn/chunks/{card-DceO3pMp.js → card-DxeUNE3V.js} +4 -4
- package/dist/cdn/chunks/{cell-Bgp9n0yQ.js → cell-QaG8b-Qk.js} +6 -6
- package/dist/cdn/chunks/{checkbox-C1F0Q3g8.js → checkbox-V0YerUKf.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DGKc530M.js → checkbox-field-DeySECgv.js} +7 -7
- package/dist/cdn/chunks/{checkbox-group-x9Ua2a06.js → checkbox-group-DFNy1y-A.js} +3 -3
- package/dist/cdn/chunks/{class-map-CAVKoa31.js → class-map-CmgI2Tu-.js} +1 -1
- package/dist/cdn/chunks/{code-editor-C0U5qVW2.js → code-editor-BBMbUJ4d.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C_DzKPSv.js → code-viewer-B8jse0-5.js} +24 -27
- package/dist/cdn/chunks/{codemirror-input-BmIE22aU.js → codemirror-input-BEotDTtZ.js} +5 -5
- package/dist/cdn/chunks/{collection-BZK9NzrQ.js → collection-DRoS7Ona.js} +8 -8
- package/dist/cdn/chunks/{combo-box-DJrQ-2Wr.js → combo-box-DA1ZQJJS.js} +10 -10
- package/dist/cdn/chunks/{container-BT96Wlz6.js → container-F1i2pmko.js} +2 -2
- package/dist/cdn/chunks/{custom-element-D5bstafw.js → custom-element-DD4ffKRs.js} +1 -1
- package/dist/cdn/chunks/{date-field-B8GcDwkD.js → date-field-DVgisQnm.js} +12 -12
- package/dist/cdn/chunks/{date-picker-Byi-fA0A.js → date-picker-BaDTota3.js} +10 -10
- package/dist/cdn/chunks/{decorate-Cjb3GqlZ.js → decorate-CeGXihRM.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-ZWpyWEyB.js → described-by-mixin-qFatR9dF.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DRXRiZGw.js → description-cell-D45N4P1X.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-BYWMWeug.js → dev-checks-CkCD0tPh.js} +50 -0
- package/dist/cdn/chunks/{directive-helpers-mh9SNf0j.js → directive-helpers-B9pcQxsE.js} +1 -1
- package/dist/cdn/chunks/{dist-CKGgPGjj.js → dist-BS_pQgb6.js} +2 -2
- package/dist/cdn/chunks/{dist-DCzCfm9V.js → dist-Cl-rXzh7.js} +1 -1
- package/dist/cdn/chunks/{dist-BBtyEGZQ.js → dist-DJQUgOKW.js} +3 -3
- package/dist/cdn/chunks/{dist-C4o16iKF.js → dist-DjlGttcc.js} +1 -1
- package/dist/cdn/chunks/{dist-jyyZH0d2.js → dist-Dsyc1RGG.js} +1 -1
- package/dist/cdn/chunks/{dist-BlHWe6Ns.js → dist-jTL_Kil1.js} +1 -1
- package/dist/cdn/chunks/{dist-BfJ8w6Dz.js → dist-mxb0NzAU.js} +1 -1
- package/dist/cdn/chunks/{dist-iYv1GHSb.js → dist-n8aCu6Kg.js} +2 -2
- package/dist/cdn/chunks/{dist-CT0CdAxb.js → dist-rjQNj-KZ.js} +2 -2
- package/dist/cdn/chunks/{dist-1yCEk2Pe.js → dist-v62GtoI6.js} +1 -1
- package/dist/cdn/chunks/{dist-BIhRNYZs.js → dist-v7yvd26H.js} +3 -3
- package/dist/cdn/chunks/{divider-CeAw8gBP.js → divider-CtMx3Byp.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-rIsC6EZp.js → document-tab-bar-SKSf69FX.js} +19 -16
- package/dist/cdn/chunks/{dropdown-MEzKo0TQ.js → dropdown-se1zjYlw.js} +5 -5
- package/dist/cdn/chunks/{file-field--wivtgZv.js → file-field-DW_Xt5O3.js} +13 -13
- package/dist/cdn/chunks/{floating-ui.dom-BvAAdCVe.js → floating-ui.dom-CB34tcZx.js} +1 -1
- package/dist/cdn/chunks/{form-ByjlUZuR.js → form-C9-eW3zc.js} +1 -1
- package/dist/cdn/chunks/{form-actions-YK7n_jse.js → form-actions-Cy5tH1nk.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-BCzChLUO.js → form-associated-mixin-CA0F9CPx.js} +2 -2
- package/dist/cdn/chunks/{form-field-y-h-k8x5.js → form-field-BMWm8VGS.js} +49 -5
- package/dist/cdn/chunks/{form-section-jWj88aQa.js → form-section-DrrXc4wZ.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-h6CrFe8F.js → full-bleed-section-6QL0av4x.js} +3 -3
- package/dist/cdn/chunks/{hero-Dy1tW9gU.js → hero-BThWV3MR.js} +4 -4
- package/dist/cdn/chunks/{icon-m8JXbN5F.js → icon-CVM6X_F1.js} +2 -2
- package/dist/cdn/chunks/{icon-button-B0Lb2ccT.js → icon-button-h_sEz0Ia.js} +15 -11
- package/dist/cdn/chunks/{icon-cell-byBTzcEn.js → icon-cell-C3Ygercd.js} +5 -5
- package/dist/cdn/chunks/{identity-BpUMGka9.js → identity-BR0KxjM5.js} +6 -6
- package/dist/cdn/chunks/{if-defined-Duzrh8bb.js → if-defined-CvQli6P0.js} +1 -1
- package/dist/cdn/chunks/{image-DfpFBPj1.js → image-D8H73DIj.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-D6CMJnYk.js → inline-dialog-Dlu3bneh.js} +6 -6
- package/dist/cdn/chunks/{interest-invoker-BY95Duqo.js → interest-invoker-CfOJaqZQ.js} +1 -1
- package/dist/cdn/chunks/{just-in-time-education-_1kTZuGb.js → just-in-time-education-DG0teV5g.js} +6 -6
- package/dist/cdn/chunks/{kanban-DFGaEwfP.js → kanban-MNLyqki_.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-Cs47JSUO.js → kanban-column-CGF_4Q0N.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-4DPqQovv.js → keyboard-shortcut-DZDtndhS.js} +3 -3
- package/dist/cdn/chunks/{languages-D-97TsxL.js → languages-BCn4J5Ck.js} +12 -12
- package/dist/cdn/chunks/{link-6T0VtDWt.js → link-CTj3dTmJ.js} +7 -7
- package/dist/cdn/chunks/{link-group-ymcl82Ua.js → link-group--C486tYV.js} +2 -2
- package/dist/cdn/chunks/{list-BXpR0UzC.js → list-DApLHKj-.js} +8 -8
- package/dist/cdn/chunks/{list-item-CyZ6uPGG.js → list-item-BN9uuvXr.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-BUtAy96X.js → list-item-segment-CvdZT9Ni.js} +4 -4
- package/dist/cdn/chunks/{menu-kSZLzjet.js → menu-2-9LtMLY.js} +27 -23
- package/dist/cdn/chunks/{menu-bar-Cn1Nb2ir.js → menu-bar-g-O3_TNl.js} +7 -7
- package/dist/cdn/chunks/{menu-bar-item-CZR2qAzA.js → menu-bar-item-tOFEx-lS.js} +7 -7
- package/dist/cdn/chunks/{menu-divider-dF1NvFJO.js → menu-divider-Dmv0lMHV.js} +3 -3
- package/dist/cdn/chunks/{menu-group-DW3so0Dn.js → menu-group-Ci9QUUwZ.js} +4 -4
- package/dist/cdn/chunks/{menu-item-7kb18Ypf.js → menu-item-BnIbV4yo.js} +4 -4
- package/dist/cdn/chunks/{menu.template-cgua9dKM.js → menu.template-sPjaMfc8.js} +4 -4
- package/dist/cdn/chunks/{modal-dialog-DfKbcw9T.js → modal-dialog-D-jAbabe.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-AV-vID1z.js → multi-line-text-field-uBZqAdr6.js} +6 -6
- package/dist/cdn/chunks/{navigation-split-view-UwlSFPDE.js → navigation-split-view-DARbBPq-.js} +4 -4
- package/dist/cdn/chunks/{notification-e5uGGh0b.js → notification-CntIGoYh.js} +6 -6
- package/dist/cdn/chunks/{number-field-COUmvl_s.js → number-field-C0MTabLP.js} +8 -8
- package/dist/cdn/chunks/{one-half-one-half-section-C-AgSdm9.js → one-half-one-half-section-DYzf6LtU.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-D1kq4IEc.js → one-third-two-thirds-section-AAiaxCHH.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BDQctC8H.js → one-time-code-field-CCILuCy1.js} +7 -7
- package/dist/cdn/chunks/{overflow-menu-C67lAkP8.js → overflow-menu-DFoh3xL_.js} +1 -1
- package/dist/cdn/chunks/{overlay-invoker-CQpe-JGA.js → overlay-invoker-Dj6MQAtF.js} +3 -1
- package/dist/cdn/chunks/{page-DXEaFsfo.js → page-BDXLREou.js} +39 -17
- package/dist/cdn/chunks/{page-footer-DFaIlgHs.js → page-footer-BsVMZCXs.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-3XhS4f5q.js → page-section-mixin-L0bl3wCm.js} +3 -3
- package/dist/cdn/chunks/{pagination-BE3ERBNx.js → pagination-DLwbSZdO.js} +6 -6
- package/dist/cdn/chunks/{password-field-DjRp78HI.js → password-field-DKTJgEyb.js} +8 -8
- package/dist/cdn/chunks/{popover-C3j0KtFh.js → popover-RB7uLASo.js} +18 -8
- package/dist/cdn/chunks/{progress-bar-iWFq6KS1.js → progress-bar-DnXWbmiw.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-BPFzTlhn.js → progress-circle-S89MUtU8.js} +7 -7
- package/dist/cdn/chunks/{radio-button-BMVBbe3-.js → radio-button-B31lAjlk.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-BqSd0JMd.js → radio-button-field-BF4MHiOQ.js} +6 -6
- package/dist/cdn/chunks/{radio-button-group-DZTPflZ3.js → radio-button-group-BQUqV8wJ.js} +3 -3
- package/dist/cdn/chunks/{render-marked-1xftlCd8.js → render-marked-ChJNzktf.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-loSG6GRY.js → reorder-handle-cell-SEERkeh7.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-cLWXCdFC.js → reorder-handle-mixin-tWe9XTjZ.js} +2 -2
- package/dist/cdn/chunks/{repeat-CWsNVfra.js → repeat-CdCK17GF.js} +2 -2
- package/dist/cdn/chunks/{rich-text-DSvI9u6v.js → rich-text-vVWOndD2.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-vwABKkTO.js → row-header-mixin-6MoJ5Mjq.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-ZNdnDF4p.js → scroll-fade-Cr7_IXpU.js} +2 -2
- package/dist/cdn/chunks/{search-field-CBTir8Wu.js → search-field-C9urWH_J.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-hvWn3L0J.js → segmented-control-DkILAMOJ.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-JiVlctXb.js → shadow-resets-9v6K-Fie.js} +2 -2
- package/dist/cdn/chunks/{sheet-CnbdONF9.js → sheet-D89xI-KY.js} +4 -3
- package/dist/cdn/chunks/{shell-BAH9okPd.js → shell-CFmfUD0_.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-D07iBCFK.js → side-by-side-split-view-ir9c0mwZ.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-DAE2lrdn.js → sidebar-section-BhJXels3.js} +7 -7
- package/dist/cdn/chunks/{simple-section-DQZpG3nQ.js → simple-section-CMoYuLYV.js} +3 -3
- package/dist/cdn/chunks/{skip-link-D0yYukhb.js → skip-link-rUQq0D-l.js} +4 -4
- package/dist/cdn/chunks/{slider-C-a97cAu.js → slider-CIQqjKUo.js} +9 -9
- package/dist/cdn/chunks/{spacer-C19W6HrX.js → spacer-CD85egxE.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-lRxkFSnp.js → spacer-cell-B33mGdru.js} +4 -4
- package/dist/cdn/chunks/{split-button-38xSIAVk.js → split-button-COL7r-wa.js} +8 -8
- package/dist/cdn/chunks/{split-view-divider-CViSo7s7.js → split-view-divider-DVBuBzeO.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-Bb1RFCNJ.js → split-view-pane-CSvIzeBg.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-Bnw5hQ5A.js → stacked-split-view-onSk2QEi.js} +4 -4
- package/dist/cdn/chunks/{static-html-7PckS8pf.js → static-html-Cyhp44gp.js} +1 -1
- package/dist/cdn/chunks/{status-bar-D57SEB_4.js → status-bar-CjYXOQAX.js} +4 -4
- package/dist/cdn/chunks/{step-bar-Q_wc0vqp.js → step-bar-D-To0TEw.js} +5 -5
- package/dist/cdn/chunks/{step-cell-DU6sNjnm.js → step-cell-B7sVGixc.js} +5 -5
- package/dist/cdn/chunks/{stepper-BM1dp44g.js → stepper-h6boMOhz.js} +7 -7
- package/dist/cdn/chunks/{style-map-BRs_xiW6.js → style-map-BrdTV34-.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BcRbPWVv.js → swatch-picker-gQ3m3y9U.js} +6 -6
- package/dist/cdn/chunks/{switch-7BZAufN0.js → switch-DC-BTi9E.js} +5 -5
- package/dist/cdn/chunks/{switch-field-gjPTIapp.js → switch-field-D82mLobj.js} +6 -6
- package/dist/cdn/chunks/{tab-bar-BKzbb7TE.js → tab-bar-sKiFzvfj.js} +8 -8
- package/dist/cdn/chunks/{table-CmkkY3M1.js → table-CuxZfCZD.js} +5 -5
- package/dist/cdn/chunks/{tag-B4VfItSH.js → tag-DP_ome5l.js} +4 -4
- package/dist/cdn/chunks/{term-C0aNyYXz.js → term-BdiTV-Jk.js} +13 -13
- package/dist/cdn/chunks/{text-CLuHOFQt.js → text-C-b1ygHI.js} +3 -3
- package/dist/cdn/chunks/{text-cell-Dvujh580.js → text-cell-DfRh7JqZ.js} +8 -8
- package/dist/cdn/chunks/{text-editor-0_ZoELkA.js → text-editor-DuT9Rrpv.js} +10 -10
- package/dist/cdn/chunks/{text-field-CrRBrXx0.js → text-field-kAbXzkUj.js} +6 -6
- package/dist/cdn/chunks/{time-field-DUt1zvLw.js → time-field-DUz9ifmn.js} +45 -51
- package/dist/cdn/chunks/{time-picker-CDzillxF.js → time-picker-DGOKwC9T.js} +5 -5
- package/dist/cdn/chunks/{title-DQXyEqFW.js → title-BA-SUyAq.js} +4 -4
- package/dist/cdn/chunks/{title-cell-CoUK6h-F.js → title-cell-Cu5NFNUu.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-BhU5vLF8.js → toggle-button-J6UapeqB.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-group-B-0r4xZZ.js → toggle-button-group-wrps-tL9.js} +2 -2
- package/dist/cdn/chunks/{token-CELUzY2p.js → token-DJkyJz-k.js} +10 -10
- package/dist/cdn/chunks/{token-field-C8ynyISX.js → token-field-SiBFPD8-.js} +12 -12
- package/dist/cdn/chunks/{toolbar--QBCm9qO.js → toolbar-be8hoSAz.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-BoRhKFDR.js → toolbar-item-DPizdgYi.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-CciXdTJR.js → toolbar-title-CB4IJFGv.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-B6kTrAfC.js → toolbar.styles-vmMPyzS_.js} +3 -3
- package/dist/cdn/chunks/{tooltip-CkLC4ooQ.js → tooltip-Bg2ovCCg.js} +96 -62
- package/dist/cdn/chunks/{top-navigation-bar-CGu2pn4Z.js → top-navigation-bar-vA8wpJXS.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-2b-XHftB.js → top-title-bar-BAJGmgnj.js} +7 -7
- package/dist/cdn/chunks/{translations-D0cgmONm.js → translations-Cjd13Xb6.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-CEfd273Z.js → two-thirds-one-third-section-D1FvorKO.js} +3 -3
- package/dist/cdn/chunks/{validation-list-DIFEVSIk.js → validation-list-D3rKnfTu.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-OjALtpXa.js → visibility-mixin-BRMACV1l.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-DcpY5lun.js → visually-hidden-BukWRiJA.js} +2 -2
- package/dist/cdn/chunks/{window-BGZCu06O.js → window-C9njVzzK.js} +4 -4
- package/dist/cdn/chunks/{with-translations-DkNkjQym.js → with-translations-BLzHPSUF.js} +3 -3
- package/dist/components/actions/button/button.d.ts +11 -9
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +11 -9
- package/dist/components/actions/button/button.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 +9 -7
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +9 -7
- 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/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 +39 -32
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +42 -32
- 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 +5 -3
- 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 +7 -5
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +7 -5
- package/dist/components/actions/toolbar/toolbar.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 +1 -0
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +1 -0
- package/dist/components/content/avatar-group/avatar-group.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 +2 -0
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +2 -0
- package/dist/components/content/term/term.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 +9 -5
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +15 -6
- 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 +24 -3
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +91 -11
- 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 +9 -5
- 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 +3 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +3 -1
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +2 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +2 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +2 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.js +2 -0
- 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 +5 -3
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +5 -3
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +7 -3
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +7 -3
- 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 +4 -3
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +4 -3
- 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 +6 -4
- 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 +6 -4
- 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 +3 -1
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +3 -1
- 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 +4 -2
- 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 -2
- 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 +3 -1
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +3 -1
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +2 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +2 -1
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +1 -0
- 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 +1 -0
- 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 +2 -0
- 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 +2 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +4 -2
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +4 -2
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +12 -11
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +12 -11
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +3 -1
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +3 -1
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +2 -1
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -1
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +5 -3
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +5 -3
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +5 -3
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +5 -3
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +2 -0
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +2 -0
- 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 +6 -4
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +6 -4
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +3 -1
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +3 -1
- 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 +2 -0
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -0
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +3 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +3 -1
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +1 -0
- 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 +1 -0
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +17 -15
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +17 -15
- 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 -0
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +1 -0
- 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 +13 -3
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +16 -3
- 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 +7 -5
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +7 -5
- 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/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 +2 -0
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +2 -0
- package/dist/components/layout/window/window.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 +34 -32
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +34 -32
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -30
- 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 +19 -19
- 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 +9 -9
- 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 +8 -8
- 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 +4 -2
- 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 +4 -2
- 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 +9 -2
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +4 -2
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +4 -2
- 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 +4 -2
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +4 -2
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +3 -3
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +3 -3
- 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 +4 -2
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +4 -2
- package/dist/components/navigation/tab-bar/tab-bar.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 +3 -1
- 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 +3 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.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 +540 -480
- package/dist/types/react.d.ts +60 -56
- package/dist/types/vue.d.ts +73 -65
- 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/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +50 -0
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/overlay-invoker.d.ts.map +1 -1
- package/dist/utilities/overlay-invoker.js +4 -1
- package/dist/utilities/overlay-invoker.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/rule-compiler.js +29 -0
- package/lint/rule-index.js +33 -1
- package/lint/rule.schema.json +1 -1
- package/package.json +9 -19
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CeGXihRM.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-DD4ffKRs.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { a as l, i as u,
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as
|
|
8
|
-
import { i as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
5
|
+
import { a as l, i as u, l as d, n as f, o as p, r as m, s as h } from "./floating-ui.dom-CB34tcZx.js";
|
|
6
|
+
import { t as g } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
+
import { n as _, t as v } from "./shadow-resets-9v6K-Fie.js";
|
|
8
|
+
import { i as y, n as b, r as x } from "./keyboard-shortcut-DZDtndhS.js";
|
|
9
|
+
import { t as S } from "./interest-intent-Bk3i_upv.js";
|
|
10
|
+
import { t as C } from "./carried-context-DlMSujiJ.js";
|
|
11
|
+
import { t as w } from "./css-time-DmkAFd1y.js";
|
|
11
12
|
// src/components/content/tooltip/tooltip.styles.ts
|
|
12
|
-
var
|
|
13
|
+
var T = s`
|
|
13
14
|
:host {
|
|
14
15
|
box-sizing: border-box;
|
|
15
16
|
}
|
|
@@ -36,7 +37,7 @@ var C = s`
|
|
|
36
37
|
--_tooltip-offset: 4; /* px, unitless — read by JS */
|
|
37
38
|
--_tooltip-shift-padding: 8; /* px, unitless — read by JS */
|
|
38
39
|
|
|
39
|
-
${
|
|
40
|
+
${v}
|
|
40
41
|
display: contents;
|
|
41
42
|
}
|
|
42
43
|
|
|
@@ -113,7 +114,7 @@ var C = s`
|
|
|
113
114
|
--context-background-color: var(--_tooltip-background-color);
|
|
114
115
|
--context-content-color: var(--_tooltip-content-color);
|
|
115
116
|
--context-content-secondary-color: var(--_tooltip-secondary-color);
|
|
116
|
-
${
|
|
117
|
+
${_}
|
|
117
118
|
--context-content-accent-color: var(--_tooltip-content-color);
|
|
118
119
|
--context-content-success-color: var(--_tooltip-content-color);
|
|
119
120
|
--context-content-warning-color: var(--_tooltip-content-color);
|
|
@@ -150,11 +151,12 @@ var C = s`
|
|
|
150
151
|
}
|
|
151
152
|
`;
|
|
152
153
|
// src/components/content/tooltip/tooltip.template.ts
|
|
153
|
-
function
|
|
154
|
+
function E(e) {
|
|
154
155
|
return n`
|
|
155
156
|
<slot
|
|
156
157
|
@mouseenter=${e._handleTriggerEnter}
|
|
157
158
|
@mouseleave=${e._handleTriggerLeave}
|
|
159
|
+
@pointerdown=${e._handleTriggerPress}
|
|
158
160
|
@focusin=${e._handleFocusIn}
|
|
159
161
|
@focusout=${e._handleFocusOut}
|
|
160
162
|
@click=${e._handleTriggerActivate}
|
|
@@ -166,8 +168,8 @@ function w(e) {
|
|
|
166
168
|
@mouseleave=${e._handleTooltipLeave}
|
|
167
169
|
>
|
|
168
170
|
<div class="tooltip__body">
|
|
169
|
-
${e.
|
|
170
|
-
${
|
|
171
|
+
${e._shownText ? n`<span class="tooltip__text">${e._shownText}</span>` : r}
|
|
172
|
+
${x(e) ? n`
|
|
171
173
|
<span class="tooltip__shortcut">
|
|
172
174
|
<nldd-keyboard-shortcut
|
|
173
175
|
size="inherit"
|
|
@@ -184,12 +186,31 @@ function w(e) {
|
|
|
184
186
|
</div>
|
|
185
187
|
`;
|
|
186
188
|
}
|
|
189
|
+
// src/utilities/ancestor-scroll.ts
|
|
190
|
+
function D(e, t) {
|
|
191
|
+
let n = d(e);
|
|
192
|
+
for (let e of n) e.addEventListener("scroll", t, { passive: !0 });
|
|
193
|
+
return () => {
|
|
194
|
+
for (let e of n) e.removeEventListener("scroll", t);
|
|
195
|
+
};
|
|
196
|
+
}
|
|
187
197
|
// src/components/content/tooltip/tooltip.ts
|
|
188
|
-
var
|
|
198
|
+
var O = /* @__PURE__ */ e({ NLDDTooltip: () => F }), k;
|
|
199
|
+
function A(e) {
|
|
200
|
+
let t = [], n = e;
|
|
201
|
+
for (; n;) {
|
|
202
|
+
let e = n.assignedSlot ?? n.parentNode;
|
|
203
|
+
if (n = e instanceof ShadowRoot ? e.host : e instanceof Element ? e : null, !n) return "clippingAncestors";
|
|
204
|
+
let { overflowX: r, overflowY: i } = getComputedStyle(n);
|
|
205
|
+
if ((r !== "visible" || i !== "visible") && t.push(n), n.matches(":popover-open, :modal")) return t;
|
|
206
|
+
}
|
|
207
|
+
return "clippingAncestors";
|
|
208
|
+
}
|
|
209
|
+
var j = 0, M = typeof matchMedia == "function" ? matchMedia("(pointer: coarse)") : null, N = 700, P = 50, F = (k = class extends t {
|
|
189
210
|
constructor(...e) {
|
|
190
|
-
super(...e), this.text = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.open = !1, this.placement = "bottom", this.timing = "delay", this._visible = !1, this._tooltipId = `nldd-tooltip-${++
|
|
191
|
-
showDelay: () => this.timing === "instant" ? 0 : this._delay("--_tooltip-show-delay",
|
|
192
|
-
hideDelay: () => this._delay("--_tooltip-hide-delay",
|
|
211
|
+
super(...e), this.text = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.open = !1, this.placement = "bottom", this.timing = "delay", this._visible = !1, this._tooltipId = `nldd-tooltip-${++j}`, this._descriptionEl = null, this._currentTrigger = null, this._boundSlotChange = () => this._syncAriaDescribedBy(), this._shortcutAvailability = new b(this, () => this._syncAriaDescribedBy()), this._positionVersion = 0, this._pressed = !1, this._interest = new S({
|
|
212
|
+
showDelay: () => this.timing === "instant" ? 0 : this._delay("--_tooltip-show-delay", N),
|
|
213
|
+
hideDelay: () => this._delay("--_tooltip-hide-delay", P),
|
|
193
214
|
isOpen: () => this._visible,
|
|
194
215
|
available: () => this.timing !== "never" && this._hasContent,
|
|
195
216
|
show: () => {
|
|
@@ -198,8 +219,10 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
|
|
|
198
219
|
hide: () => {
|
|
199
220
|
this.open || (this._visible = !1);
|
|
200
221
|
}
|
|
201
|
-
}), this.
|
|
202
|
-
this.
|
|
222
|
+
}), this._release = () => {
|
|
223
|
+
this._pressed = !1, document.removeEventListener("pointerup", this._release, !0), document.removeEventListener("pointercancel", this._release, !0);
|
|
224
|
+
}, this._handleScroll = () => {
|
|
225
|
+
!this._visible || this.open || this._interest.focused ? this._updatePosition() : this._interest.close();
|
|
203
226
|
}, this._handleKeyDown = (e) => {
|
|
204
227
|
if (e.key === "Escape" && this._visible) {
|
|
205
228
|
if (this.open) {
|
|
@@ -212,34 +235,34 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
|
|
|
212
235
|
get _effectivePlacement() {
|
|
213
236
|
return this.placement;
|
|
214
237
|
}
|
|
238
|
+
get _shownText() {
|
|
239
|
+
return this._fadingText ?? this.text;
|
|
240
|
+
}
|
|
215
241
|
_delay(e, t) {
|
|
216
242
|
let n = parseInt(getComputedStyle(this).getPropertyValue(e), 10);
|
|
217
243
|
return Number.isFinite(n) ? n : t;
|
|
218
244
|
}
|
|
219
245
|
connectedCallback() {
|
|
220
|
-
super.connectedCallback(), this._visible && (document.addEventListener("keydown", this._handleKeyDown, !0),
|
|
221
|
-
capture: !0,
|
|
222
|
-
passive: !0
|
|
223
|
-
})), this.hasUpdated && this.shadowRoot?.querySelector("slot")?.addEventListener("slotchange", this._boundSlotChange);
|
|
246
|
+
super.connectedCallback(), this._visible && (document.addEventListener("keydown", this._handleKeyDown, !0), this._listenToScroll()), this.hasUpdated && this.shadowRoot?.querySelector("slot")?.addEventListener("slotchange", this._boundSlotChange);
|
|
224
247
|
}
|
|
225
248
|
firstUpdated() {
|
|
226
249
|
this.shadowRoot?.querySelector("slot")?.addEventListener("slotchange", this._boundSlotChange);
|
|
227
250
|
}
|
|
251
|
+
willUpdate(e) {
|
|
252
|
+
e.has("open") && !this.open && this._visible || e.has("_visible") && !this._visible && e.get("_visible") === !0 ? this._fadingText ?? (this._fadingText = e.has("text") ? e.get("text") : this.text) : this._visible && (this._fadingText = void 0);
|
|
253
|
+
}
|
|
228
254
|
updated(e) {
|
|
229
255
|
if (e.has("open") && (this._interest.reset(), this.open ? this._visible = !0 : this._visible && (this._visible = !1)), e.has("_visible")) {
|
|
230
|
-
this._visible ? (document.addEventListener("keydown", this._handleKeyDown, !0), document.
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
})) : (document.removeEventListener("keydown", this._handleKeyDown, !0), document.removeEventListener("scroll", this._handleScroll, { capture: !0 }));
|
|
234
|
-
let e = this._getTooltipElement();
|
|
235
|
-
e && (this._visible ? (e.matches(":popover-open") || (e.removeAttribute("positioned"), e.showPopover()), this._updatePosition()) : e.matches(":popover-open") && e.hidePopover());
|
|
256
|
+
this._visible ? (document.addEventListener("keydown", this._handleKeyDown, !0), this._listenToScroll()) : (document.removeEventListener("keydown", this._handleKeyDown, !0), e.get("_visible") === !0 && this._afterFade());
|
|
257
|
+
let t = this._getTooltipElement();
|
|
258
|
+
t && (this._visible ? (t.matches(":popover-open") || (t.removeAttribute("positioned"), t.showPopover()), this._updatePosition()) : t.matches(":popover-open") && t.hidePopover());
|
|
236
259
|
}
|
|
237
260
|
(e.has("text") || e.has("timing") || e.has("shortcut") || e.has("shortcutMac") || e.has("shortcutWindows") || e.has("shortcutLinux")) && this._syncAriaDescribedBy(), e.has("text") && this._visible && this._updatePosition(), e.has("timing") && this.timing === "never" && (this._interest.reset(), this._visible && (this._visible = !1));
|
|
238
261
|
}
|
|
239
262
|
_syncAriaDescribedBy() {
|
|
240
263
|
let e = this._getTriggerElement();
|
|
241
264
|
if (this._currentTrigger && this._currentTrigger !== e && this._currentTrigger.removeAttribute("aria-describedby"), this._currentTrigger = e, !e || e.getRootNode() !== document) return;
|
|
242
|
-
let t = [this.text,
|
|
265
|
+
let t = [this.text, y(this)].filter(Boolean).join(" ");
|
|
243
266
|
t && this.timing !== "never" ? (this._descriptionEl || (this._descriptionEl = document.createElement("span"), this._descriptionEl.id = this._tooltipId, Object.assign(this._descriptionEl.style, {
|
|
244
267
|
position: "absolute",
|
|
245
268
|
top: "0",
|
|
@@ -249,7 +272,7 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
|
|
|
249
272
|
overflow: "hidden",
|
|
250
273
|
clipPath: "inset(50%)",
|
|
251
274
|
whiteSpace: "nowrap"
|
|
252
|
-
}), document.body.appendChild(this._descriptionEl)),
|
|
275
|
+
}), document.body.appendChild(this._descriptionEl)), C(this._descriptionEl, this, { scheme: !1 }), this._descriptionEl.textContent !== t && (this._descriptionEl.textContent = t), e.getAttribute("aria-describedby") !== this._tooltipId && e.setAttribute("aria-describedby", this._tooltipId)) : (e.removeAttribute("aria-describedby"), this._descriptionEl?.remove(), this._descriptionEl = null);
|
|
253
276
|
}
|
|
254
277
|
_getTriggerElement() {
|
|
255
278
|
return (this.shadowRoot?.querySelector("slot"))?.assignedElements({ flatten: !0 })?.[0] ?? null;
|
|
@@ -258,20 +281,23 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
|
|
|
258
281
|
return this.shadowRoot?.querySelector(".tooltip") ?? null;
|
|
259
282
|
}
|
|
260
283
|
get _hasContent() {
|
|
261
|
-
return !!(this.text ||
|
|
284
|
+
return !!(this.text || y(this));
|
|
262
285
|
}
|
|
263
286
|
_handleTriggerEnter() {
|
|
264
|
-
this.timing !== "never" && (this._syncAriaDescribedBy(), this._hasContent && !
|
|
287
|
+
this.timing !== "never" && (this._syncAriaDescribedBy(), this._hasContent && !M?.matches && this._interest.enter());
|
|
265
288
|
}
|
|
266
289
|
_handleFocusIn() {
|
|
267
|
-
this.timing !== "never" && (this._syncAriaDescribedBy(), this._interest.focus());
|
|
290
|
+
this.timing !== "never" && (this._syncAriaDescribedBy(), this._pressed || this._interest.focus());
|
|
291
|
+
}
|
|
292
|
+
_handleTriggerPress() {
|
|
293
|
+
this._pressed = !0, document.addEventListener("pointerup", this._release, !0), document.addEventListener("pointercancel", this._release, !0);
|
|
268
294
|
}
|
|
269
295
|
_handleTriggerLeave() {
|
|
270
296
|
this._interest.leave();
|
|
271
297
|
}
|
|
272
298
|
_handleFocusOut(e) {
|
|
273
299
|
let t = (this.shadowRoot?.querySelector("slot"))?.assignedElements({ flatten: !0 }) ?? [], n = e.relatedTarget;
|
|
274
|
-
n && t.some((e) => e.contains(n) || e.shadowRoot?.contains(n)) || this._interest.blur();
|
|
300
|
+
n && t.some((e) => e.contains(n) || e.shadowRoot?.contains(n)) || (this._release(), this._interest.blur());
|
|
275
301
|
}
|
|
276
302
|
_handleTriggerActivate() {
|
|
277
303
|
this.open || this._interest.close();
|
|
@@ -282,6 +308,14 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
|
|
|
282
308
|
_handleTooltipLeave() {
|
|
283
309
|
this._interest.leave();
|
|
284
310
|
}
|
|
311
|
+
_listenToScroll() {
|
|
312
|
+
this._boundary = void 0, clearTimeout(this._fadeTimer), this._stopScroll?.(), this._stopScroll = D(this, this._handleScroll);
|
|
313
|
+
}
|
|
314
|
+
_afterFade() {
|
|
315
|
+
clearTimeout(this._fadeTimer), this._fadeTimer = setTimeout(() => {
|
|
316
|
+
this._stopScroll?.(), this._stopScroll = void 0, this._fadingText = void 0;
|
|
317
|
+
}, w(getComputedStyle(this).getPropertyValue("--_tooltip-hide-duration")));
|
|
318
|
+
}
|
|
285
319
|
async _updatePosition() {
|
|
286
320
|
let e = ++this._positionVersion, t = this._getTriggerElement(), n = this._getTooltipElement();
|
|
287
321
|
if (!t || !n) {
|
|
@@ -289,57 +323,57 @@ var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchM
|
|
|
289
323
|
return;
|
|
290
324
|
}
|
|
291
325
|
if (document.fonts?.status !== "loaded" && (await document.fonts?.ready, e !== this._positionVersion)) return;
|
|
292
|
-
let r = getComputedStyle(this), i = parseInt(r.getPropertyValue("--_tooltip-offset"), 10), a = parseFloat(r.getPropertyValue("--context-tooltip-fingertip-size")), o =
|
|
326
|
+
let r = getComputedStyle(this), i = parseInt(r.getPropertyValue("--_tooltip-offset"), 10), a = parseFloat(r.getPropertyValue("--context-tooltip-fingertip-size")), o = M?.matches && Number.isFinite(a) ? ({ placement: e, rects: t }) => {
|
|
293
327
|
let n = /^(top|bottom)/.test(e) ? t.reference.height : t.reference.width;
|
|
294
328
|
return Math.max(i, (a - n) / 2);
|
|
295
|
-
} : i, { x: s, y: c, middlewareData:
|
|
329
|
+
} : i, { x: s, y: c, middlewareData: d } = await f(t, n, {
|
|
296
330
|
placement: this._effectivePlacement,
|
|
297
331
|
strategy: "fixed",
|
|
298
332
|
middleware: [
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
333
|
+
p(o),
|
|
334
|
+
m(),
|
|
335
|
+
h({
|
|
302
336
|
padding: parseInt(r.getPropertyValue("--_tooltip-shift-padding"), 10),
|
|
303
337
|
limiter: l()
|
|
304
338
|
}),
|
|
305
|
-
u()
|
|
339
|
+
u({ boundary: this._boundary ?? (this._boundary = A(t)) })
|
|
306
340
|
]
|
|
307
341
|
});
|
|
308
|
-
e === this._positionVersion && (n.style.left = `${s}px`, n.style.top = `${c}px`, n.toggleAttribute("reference-hidden", !!
|
|
342
|
+
e === this._positionVersion && (n.style.left = `${s}px`, n.style.top = `${c}px`, n.toggleAttribute("reference-hidden", !!d.hide?.referenceHidden), n.setAttribute("positioned", ""));
|
|
309
343
|
}
|
|
310
344
|
disconnectedCallback() {
|
|
311
|
-
super.disconnectedCallback(), document.removeEventListener("keydown", this._handleKeyDown, !0),
|
|
345
|
+
super.disconnectedCallback(), document.removeEventListener("keydown", this._handleKeyDown, !0), this._release(), clearTimeout(this._fadeTimer), this._fadingText = void 0, this._stopScroll?.(), this._stopScroll = void 0, this.shadowRoot?.querySelector("slot")?.removeEventListener("slotchange", this._boundSlotChange), this._interest.reset(), this._currentTrigger?.removeAttribute("aria-describedby"), this._currentTrigger = null, this._descriptionEl?.remove(), this._descriptionEl = null;
|
|
312
346
|
}
|
|
313
347
|
render() {
|
|
314
|
-
return
|
|
348
|
+
return E(this);
|
|
315
349
|
}
|
|
316
|
-
},
|
|
350
|
+
}, k.styles = T, k);
|
|
317
351
|
i([o({
|
|
318
352
|
reflect: !0,
|
|
319
|
-
converter:
|
|
320
|
-
})],
|
|
353
|
+
converter: g("")
|
|
354
|
+
})], F.prototype, "text", void 0), i([o({
|
|
321
355
|
reflect: !0,
|
|
322
|
-
converter:
|
|
323
|
-
})],
|
|
356
|
+
converter: g("")
|
|
357
|
+
})], F.prototype, "shortcut", void 0), i([o({
|
|
324
358
|
reflect: !0,
|
|
325
359
|
attribute: "shortcut-mac",
|
|
326
|
-
converter:
|
|
327
|
-
})],
|
|
360
|
+
converter: g("")
|
|
361
|
+
})], F.prototype, "shortcutMac", void 0), i([o({
|
|
328
362
|
reflect: !0,
|
|
329
363
|
attribute: "shortcut-windows",
|
|
330
|
-
converter:
|
|
331
|
-
})],
|
|
364
|
+
converter: g("")
|
|
365
|
+
})], F.prototype, "shortcutWindows", void 0), i([o({
|
|
332
366
|
reflect: !0,
|
|
333
367
|
attribute: "shortcut-linux",
|
|
334
|
-
converter:
|
|
335
|
-
})],
|
|
368
|
+
converter: g("")
|
|
369
|
+
})], F.prototype, "shortcutLinux", void 0), i([o({
|
|
336
370
|
type: Boolean,
|
|
337
371
|
reflect: !0
|
|
338
|
-
})],
|
|
372
|
+
})], F.prototype, "open", void 0), i([o({
|
|
339
373
|
reflect: !0,
|
|
340
|
-
converter:
|
|
341
|
-
})],
|
|
374
|
+
converter: g("bottom")
|
|
375
|
+
})], F.prototype, "placement", void 0), i([o({
|
|
342
376
|
reflect: !0,
|
|
343
|
-
converter:
|
|
344
|
-
})],
|
|
345
|
-
export {
|
|
377
|
+
converter: g("delay")
|
|
378
|
+
})], F.prototype, "timing", void 0), i([a()], F.prototype, "_visible", void 0), i([a()], F.prototype, "_fadingText", void 0), F = i([c("nldd-tooltip")], F);
|
|
379
|
+
export { D as n, O as t };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { c as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CeGXihRM.js";
|
|
2
|
+
import { c as i, r as a, s as o } from "./custom-element-DD4ffKRs.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 "./status-bar-change-CR9l0Gyk.js";
|
|
6
6
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
7
|
import { n as d, t as f } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
-
import { t as p } from "./shadow-resets-
|
|
9
|
-
import { n as m } from "./icon-
|
|
8
|
+
import { t as p } from "./shadow-resets-9v6K-Fie.js";
|
|
9
|
+
import { n as m } from "./icon-CVM6X_F1.js";
|
|
10
10
|
import { t as h } from "./sanitize-url-CBuGmY0W.js";
|
|
11
|
-
import { t as g } from "./with-translations-
|
|
11
|
+
import { t as g } from "./with-translations-BLzHPSUF.js";
|
|
12
12
|
import { t as _ } from "./top-navigation-bar.i18n-C-lcH1nB.js";
|
|
13
|
-
import "./menu-bar-item-
|
|
14
|
-
import "./menu-bar-
|
|
13
|
+
import "./menu-bar-item-tOFEx-lS.js";
|
|
14
|
+
import "./menu-bar-g-O3_TNl.js";
|
|
15
15
|
import { t as v } from "./carried-context-DlMSujiJ.js";
|
|
16
16
|
import { r as y } from "./element-state-B-44fVqq.js";
|
|
17
17
|
// src/components/navigation/top-navigation-bar/top-navigation-bar.styles.ts
|
|
@@ -719,16 +719,16 @@ var k = class {
|
|
|
719
719
|
}, A = 0;
|
|
720
720
|
async function j() {
|
|
721
721
|
await Promise.all([
|
|
722
|
-
import("./sheet-
|
|
723
|
-
import("./page-
|
|
724
|
-
import("./simple-section-
|
|
725
|
-
import("./top-title-bar-
|
|
726
|
-
import("./title-
|
|
727
|
-
import("./list-
|
|
728
|
-
import("./list-item-
|
|
729
|
-
import("./text-cell-
|
|
730
|
-
import("./icon-cell-
|
|
731
|
-
import("./icon-
|
|
722
|
+
import("./sheet-D89xI-KY.js"),
|
|
723
|
+
import("./page-BDXLREou.js").then((e) => e.t),
|
|
724
|
+
import("./simple-section-CMoYuLYV.js"),
|
|
725
|
+
import("./top-title-bar-BAJGmgnj.js").then((e) => e.t),
|
|
726
|
+
import("./title-BA-SUyAq.js"),
|
|
727
|
+
import("./list-DApLHKj-.js").then((e) => e.t),
|
|
728
|
+
import("./list-item-BN9uuvXr.js").then((e) => e.t),
|
|
729
|
+
import("./text-cell-DfRh7JqZ.js").then((e) => e.t),
|
|
730
|
+
import("./icon-cell-C3Ygercd.js").then((e) => e.t),
|
|
731
|
+
import("./icon-CVM6X_F1.js").then((e) => e.t)
|
|
732
732
|
]);
|
|
733
733
|
}
|
|
734
734
|
function M(e) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CeGXihRM.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-DD4ffKRs.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./shadow-resets-
|
|
7
|
-
import { n as d, r as f } from "./static-html-
|
|
8
|
-
import "./button-
|
|
9
|
-
import "./icon-button-
|
|
6
|
+
import { t as u } from "./shadow-resets-9v6K-Fie.js";
|
|
7
|
+
import { n as d, r as f } from "./static-html-Cyhp44gp.js";
|
|
8
|
+
import "./button-CKV-jwGY.js";
|
|
9
|
+
import "./icon-button-h_sEz0Ia.js";
|
|
10
10
|
import { r as p } from "./element-state-B-44fVqq.js";
|
|
11
11
|
// src/components/navigation/top-title-bar/top-title-bar.styles.ts
|
|
12
12
|
var m = s`
|
|
@@ -21,7 +21,7 @@ var m = s`
|
|
|
21
21
|
--_top-title-bar-divider-color: light-dark(var(--primitives-color-neutral-150), var(--primitives-color-neutral-350));
|
|
22
22
|
|
|
23
23
|
${u}
|
|
24
|
-
display: block;
|
|
24
|
+
display: var(--context-title-bar-display, block);
|
|
25
25
|
width: 100%;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -5,7 +5,7 @@ function i(e, t, i, a) {
|
|
|
5
5
|
if (import.meta.env?.DEV && import.meta.env?.MODE !== "test" && e && !r.has(e)) {
|
|
6
6
|
r.add(e);
|
|
7
7
|
let n = Object.keys(e);
|
|
8
|
-
n.length > 0 && import("./dev-checks-
|
|
8
|
+
n.length > 0 && import("./dev-checks-CkCD0tPh.js").then(({ checkElementTranslationKeys: e }) => e(n, Object.keys(t)));
|
|
9
9
|
}
|
|
10
10
|
let s = e?.[i] ?? n.translations[o] ?? t[i] ?? o;
|
|
11
11
|
if (a) for (let [e, t] of Object.entries(a)) s = s.split(`{${e}}`).join(String(t));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { c as r, r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CeGXihRM.js";
|
|
2
|
+
import { c as r, r as i, s as a } from "./custom-element-DD4ffKRs.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { n as c, t as l } from "./page-section-mixin-
|
|
5
|
+
import { n as c, t as l } from "./page-section-mixin-L0bl3wCm.js";
|
|
6
6
|
import { i as u, n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
7
|
// src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts
|
|
8
8
|
var f = r(d.smMax), p = r(d.mdMin), m = r(d.mdMax), h = r(d.lgMin), g = r(u.stackedMax), _ = a`
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { n as r, r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CeGXihRM.js";
|
|
2
|
+
import { n as r, r as i, s as a } from "./custom-element-DD4ffKRs.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { r as s } from "./element-state-B-44fVqq.js";
|
|
5
5
|
import { t as c } from "./validation-list.i18n-CM6In8zD.js";
|
|
6
|
-
import { t as l } from "./translations-
|
|
6
|
+
import { t as l } from "./translations-Cjd13Xb6.js";
|
|
7
7
|
// src/components/forms/validation-list/validation-list.styles.ts
|
|
8
8
|
var u = a`
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e, r as t, s as n } from "./custom-element-
|
|
2
|
-
import { t as r } from "./decorate-
|
|
1
|
+
import { c as e, r as t, s as n } from "./custom-element-DD4ffKRs.js";
|
|
2
|
+
import { t as r } from "./decorate-CeGXihRM.js";
|
|
3
3
|
import { n as i } from "./breakpoints-Cwor8TRP.js";
|
|
4
4
|
// src/utilities/visibility-mixin.styles.ts
|
|
5
5
|
var a = e(i.smMax), o = e(i.mdMin), s = e(i.mdMax), c = e(i.lgMin), l = /* @__PURE__ */ new Map();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { s as r } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CeGXihRM.js";
|
|
2
|
+
import { s as r } from "./custom-element-DD4ffKRs.js";
|
|
3
3
|
import { t as i } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
// src/components/content/visually-hidden/visually-hidden.styles.ts
|
|
5
5
|
var a = r`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { r, s as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CeGXihRM.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-DD4ffKRs.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { a as o, t as s } from "./shadow-resets-
|
|
4
|
+
import { a as o, t as s } from "./shadow-resets-9v6K-Fie.js";
|
|
5
5
|
import { t as c } from "./window.i18n-CsEnUPAk.js";
|
|
6
6
|
import { t as l } from "./title-bar-label-controller-DSxdKZOg.js";
|
|
7
7
|
import { t as u } from "./modal-overlay-Bx0bYzF3.js";
|
|
8
|
-
import { t as d } from "./translations-
|
|
8
|
+
import { t as d } from "./translations-Cjd13Xb6.js";
|
|
9
9
|
import { r as f } from "./element-state-B-44fVqq.js";
|
|
10
10
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
11
|
// src/components/layout/window/window.styles.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e } from "./custom-element-
|
|
2
|
-
import { t } from "./translations-
|
|
3
|
-
import { t as n } from "./decorate-
|
|
1
|
+
import { r as e } from "./custom-element-DD4ffKRs.js";
|
|
2
|
+
import { t } from "./translations-Cjd13Xb6.js";
|
|
3
|
+
import { t as n } from "./decorate-CeGXihRM.js";
|
|
4
4
|
// src/utilities/with-translations.ts
|
|
5
5
|
function r(r, i) {
|
|
6
6
|
class a extends r {
|
|
@@ -2,20 +2,22 @@
|
|
|
2
2
|
* Nederlandse Digitale Dienst Button Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* @element nldd-button
|
|
5
|
-
* @
|
|
6
|
-
* @
|
|
7
|
-
* @attr {
|
|
5
|
+
* @keywords knop
|
|
6
|
+
* @related nldd-icon-button, nldd-link, nldd-split-button, nldd-toggle-button
|
|
7
|
+
* @attr {'primary'|'secondary'|'destructive'|'accent-filled'|'accent-transparent'|'neutral-tinted'|'neutral-base'|'neutral-transparent'|'critical-tinted'|'critical-transparent'|'content-filled'|'content-tinted'} appearance - Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'content-filled' | 'content-tinted'. The content appearances take their colors from --context-content-color, for buttons on colored surfaces; content-filled uses the surface color (--context-background-color) as the label color, so a colored surface of your own sets that variable.
|
|
8
|
+
* @attr {'xs'|'sm'|'md'|'lg'} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). 'lg' uses larger text and 24px start/end icons.
|
|
9
|
+
* @attr {'left'|'center'|'right'} horizontal-alignment - Horizontal alignment of the button content: 'left' | 'center' | 'right' (default: unset, centered). Most visible with width="full" or a fixed width.
|
|
8
10
|
* @attr {boolean} loading - Loading state (default: false). Shows an activity indicator over the visually hidden content, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). The content stays laid out, so the button keeps its width. Meant for an action that has to wait for the server, such as sending an application. For most actions, show the result right away and confirm in the background, as the design guidelines describe.
|
|
9
11
|
* @attr {string} loading-text - What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden".
|
|
10
12
|
* @attr {boolean} disabled - Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why.
|
|
11
|
-
* @attr {
|
|
13
|
+
* @attr {'button'|'submit'|'reset'} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
12
14
|
* @attr {string} popovertarget - ID of a popover element this button invokes, looked up in the tree of this button; the inner button gets the element. Use the popoverTargetElement property instead when the popover lives in another tree. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`.
|
|
13
15
|
* @attr {boolean} expandable - Whether the button has a icon to indicate it opens a menu or popover
|
|
14
16
|
* @attr {boolean} expanded - Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state.
|
|
15
|
-
* @attr {
|
|
17
|
+
* @attr {'menu'|'listbox'|'dialog'|'tree'|'grid'} popup-type - Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup.
|
|
16
18
|
* @attr {string} form - Id of the form this button submits or resets, for a button that sits outside it. Takes an `nldd-form` as well as a plain `<form>`. Without it the button acts on the form it stands in. The id is looked up in the button's own root, as the platform does it: a button inside a shadow tree does not reach a form in the document around it. An id that finds nothing, or an `nldd-form` that has not rendered its form yet, says so in development rather than letting the click do nothing.
|
|
17
19
|
* @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
|
|
18
|
-
* @attr {string} max-width - Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis
|
|
20
|
+
* @attr {string} max-width - Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis, because a cap only means something if the content respects it.
|
|
19
21
|
* @attr {string} text - Button text
|
|
20
22
|
* @attr {string} supporting-text - Supporting text shown below the text (md/lg) or after it (sm/xs), in a secondary color. Part of the accessible name (unless `accessible-label` is set, which replaces the whole accessible name).
|
|
21
23
|
* @attr {boolean} single-line - When true, truncates overflowing text with an ellipsis instead of letting it wrap. Requires the button (or an ancestor) to constrain the width.
|
|
@@ -75,7 +77,7 @@ export declare class NLDDButton extends NLDDButton_base {
|
|
|
75
77
|
* its container until it hits this length. A label that doesn't fit is
|
|
76
78
|
* truncated with an ellipsis, as with `single-line`. */
|
|
77
79
|
maxWidth: string;
|
|
78
|
-
/** Take the button out of the tab order (`tabindex="-1"`)
|
|
80
|
+
/** Take the button out of the tab order (`tabindex="-1"`), for a control owned
|
|
79
81
|
* by a roving container (an `nldd-list` sets it on the rows that are not the
|
|
80
82
|
* current one) that manages focus itself. Still mouse- and script-focusable. */
|
|
81
83
|
noTab: boolean;
|
|
@@ -91,7 +93,7 @@ export declare class NLDDButton extends NLDDButton_base {
|
|
|
91
93
|
popovertarget: string | undefined;
|
|
92
94
|
interestfor: string | undefined;
|
|
93
95
|
/**
|
|
94
|
-
* Direct element reference to the popover this button invokes
|
|
96
|
+
* Direct element reference to the popover this button invokes: the IDL-only
|
|
95
97
|
* counterpart to `popovertarget` that works across shadow boundaries.
|
|
96
98
|
* Use this when the popover lives in a different tree (e.g. an
|
|
97
99
|
* `nldd-menu` reparented to `<body>`) so the browser still recognizes
|
|
@@ -111,7 +113,7 @@ export declare class NLDDButton extends NLDDButton_base {
|
|
|
111
113
|
/**
|
|
112
114
|
* Loading state. Shows an activity indicator centered over the (visually
|
|
113
115
|
* hidden) content, marks the inner control `aria-busy="true"` and blocks
|
|
114
|
-
* activation
|
|
116
|
+
* activation, without dropping the control from the tab order (unlike
|
|
115
117
|
* `disabled`). The content stays laid out so the button keeps its width.
|
|
116
118
|
*
|
|
117
119
|
* Activation is blocked by stopping the click (as `disabled` does), so a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,EAAuB,cAAc,EAAmB,MAAM,uCAAuC,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAO9E,KAAK,UAAU,GACZ,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,gBAAgB,GAChB,gBAAgB,CAAC;AACpB,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACtC,KAAK,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAChD,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;AAEjE,qBACa,UAAW,SAAQ,eAAiE;IAChG,OAAgB,MAAM,0BAAgB;IAKtC,MAAM,CAAC,cAAc,UAAQ;IAC7B,OAAO,CAAC,UAAU,CAAqB;IAGvC,UAAU,EAAE,UAAU,CAAoB;IAG1C,IAAI,EAAE,IAAI,CAAQ;IAElB,mGAAmG;IAEnG,mBAAmB,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,EAAE,CAAM;IAE3D,mEAAmE;IAEnE,KAAK,SAAM;IAEX;;6DAEyD;IAEzD,QAAQ,SAAM;IAEd;;qFAEiF;IAEjF,KAAK,UAAS;IAGd,UAAU,UAAS;IAGnB,QAAQ,UAAS;IAEjB;;;;OAIG;IAEH,SAAS,CAAC,EAAE,SAAS,CAAC;IAGtB,IAAI,EAAE,UAAU,CAAY;IAG5B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAa;IAG9C,WAAW,EAAE,MAAM,GAAG,SAAS,CAAa;IAE5C;;;;;;;;OAQG;IAEH,oBAAoB,EAAE,OAAO,GAAG,IAAI,CAAQ;IAE5C;;;;;;OAMG;IAEH,mBAAmB,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAY;IAE3D;;;;;;;;OAQG;IAEH,OAAO,UAAS;IAEhB,4GAA4G;IAE5G,WAAW,SAAM;IAGjB,QAAQ,UAAS;IAEjB,mBAAmB;IAEnB,IAAI,SAAM;IAEV,mMAAmM;IAEnM,cAAc,SAAM;IAGpB,UAAU,UAAS;IAEnB,mHAAmH;IAEnH,iBAAiB,UAAS;IAE1B,uFAAuF;IAEvF,SAAS,SAAM;IAEf,kFAAkF;IAElF,OAAO,SAAM;IAEb,0GAA0G;IAE1G,eAAe,SAAM;IAGrB,QAAQ,SAAM;IAGd,WAAW,SAAM;IAGjB,eAAe,SAAM;IAGrB,aAAa,SAAM;IAEnB,4DAA4D;IAE5D,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC,+DAA+D;IAE/D,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;8DAC0D;IAE1D,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAEzC;;;OAGG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAEpC;;6BAEyB;IACzB,MAAM,iBAA4B;IAElC;+EAC2E;IAC3E,SAAS,kBAA6B;IAEtC,6GAA6G;IAC7G,OAAO,CAAC,qBAAqB,CAA4C;IAEhE,oBAAoB,IAAI,IAAI;IAK5B,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IA4B/D,OAAO,CAAC,YAAY;IAsCpB,OAAO,CAAC,UAAU;IAIlB;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAK5C,6DAA6D;IACpD,eAAe,IAAI,OAAO,GAAG,IAAI;IAI1C,+DAA+D;IACtD,eAAe,IAAI,SAAS,OAAO,EAAE;IAIrC,MAAM;CAKf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,aAAa,EAAE,UAAU,CAAC;KAC1B;CACD"}
|
|
@@ -2,20 +2,22 @@
|
|
|
2
2
|
* Nederlandse Digitale Dienst Button Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* @element nldd-button
|
|
5
|
-
* @
|
|
6
|
-
* @
|
|
7
|
-
* @attr {
|
|
5
|
+
* @keywords knop
|
|
6
|
+
* @related nldd-icon-button, nldd-link, nldd-split-button, nldd-toggle-button
|
|
7
|
+
* @attr {'primary'|'secondary'|'destructive'|'accent-filled'|'accent-transparent'|'neutral-tinted'|'neutral-base'|'neutral-transparent'|'critical-tinted'|'critical-transparent'|'content-filled'|'content-tinted'} appearance - Visual style, color included: 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-base' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'content-filled' | 'content-tinted'. The content appearances take their colors from --context-content-color, for buttons on colored surfaces; content-filled uses the surface color (--context-background-color) as the label color, so a colored surface of your own sets that variable.
|
|
8
|
+
* @attr {'xs'|'sm'|'md'|'lg'} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md'). 'lg' uses larger text and 24px start/end icons.
|
|
9
|
+
* @attr {'left'|'center'|'right'} horizontal-alignment - Horizontal alignment of the button content: 'left' | 'center' | 'right' (default: unset, centered). Most visible with width="full" or a fixed width.
|
|
8
10
|
* @attr {boolean} loading - Loading state (default: false). Shows an activity indicator over the visually hidden content, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled). The content stays laid out, so the button keeps its width. Meant for an action that has to wait for the server, such as sending an application. For most actions, show the result right away and confirm in the background, as the design guidelines describe.
|
|
9
11
|
* @attr {string} loading-text - What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden".
|
|
10
12
|
* @attr {boolean} disabled - Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why.
|
|
11
|
-
* @attr {
|
|
13
|
+
* @attr {'button'|'submit'|'reset'} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
12
14
|
* @attr {string} popovertarget - ID of a popover element this button invokes, looked up in the tree of this button; the inner button gets the element. Use the popoverTargetElement property instead when the popover lives in another tree. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`.
|
|
13
15
|
* @attr {boolean} expandable - Whether the button has a icon to indicate it opens a menu or popover
|
|
14
16
|
* @attr {boolean} expanded - Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state.
|
|
15
|
-
* @attr {
|
|
17
|
+
* @attr {'menu'|'listbox'|'dialog'|'tree'|'grid'} popup-type - Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state. An nldd-menu or nldd-popover in the `popup` slot, or anchored to this button, sets it itself from the first render; set it only for another kind of popup.
|
|
16
18
|
* @attr {string} form - Id of the form this button submits or resets, for a button that sits outside it. Takes an `nldd-form` as well as a plain `<form>`. Without it the button acts on the form it stands in. The id is looked up in the button's own root, as the platform does it: a button inside a shadow tree does not reach a form in the document around it. An id that finds nothing, or an `nldd-form` that has not rendered its form yet, says so in development rather than letting the click do nothing.
|
|
17
19
|
* @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
|
|
18
|
-
* @attr {string} max-width - Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis
|
|
20
|
+
* @attr {string} max-width - Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis, because a cap only means something if the content respects it.
|
|
19
21
|
* @attr {string} text - Button text
|
|
20
22
|
* @attr {string} supporting-text - Supporting text shown below the text (md/lg) or after it (sm/xs), in a secondary color. Part of the accessible name (unless `accessible-label` is set, which replaces the whole accessible name).
|
|
21
23
|
* @attr {boolean} single-line - When true, truncates overflowing text with an ellipsis instead of letting it wrap. Requires the button (or an ancestor) to constrain the width.
|
|
@@ -80,7 +82,7 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
|
|
|
80
82
|
* its container until it hits this length. A label that doesn't fit is
|
|
81
83
|
* truncated with an ellipsis, as with `single-line`. */
|
|
82
84
|
this.maxWidth = '';
|
|
83
|
-
/** Take the button out of the tab order (`tabindex="-1"`)
|
|
85
|
+
/** Take the button out of the tab order (`tabindex="-1"`), for a control owned
|
|
84
86
|
* by a roving container (an `nldd-list` sets it on the rows that are not the
|
|
85
87
|
* current one) that manages focus itself. Still mouse- and script-focusable. */
|
|
86
88
|
this.noTab = false;
|
|
@@ -90,7 +92,7 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
|
|
|
90
92
|
this.popovertarget = undefined;
|
|
91
93
|
this.interestfor = undefined;
|
|
92
94
|
/**
|
|
93
|
-
* Direct element reference to the popover this button invokes
|
|
95
|
+
* Direct element reference to the popover this button invokes: the IDL-only
|
|
94
96
|
* counterpart to `popovertarget` that works across shadow boundaries.
|
|
95
97
|
* Use this when the popover lives in a different tree (e.g. an
|
|
96
98
|
* `nldd-menu` reparented to `<body>`) so the browser still recognizes
|
|
@@ -110,7 +112,7 @@ let NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElemen
|
|
|
110
112
|
/**
|
|
111
113
|
* Loading state. Shows an activity indicator centered over the (visually
|
|
112
114
|
* hidden) content, marks the inner control `aria-busy="true"` and blocks
|
|
113
|
-
* activation
|
|
115
|
+
* activation, without dropping the control from the tab order (unlike
|
|
114
116
|
* `disabled`). The content stays laid out so the button keeps its width.
|
|
115
117
|
*
|
|
116
118
|
* Activation is blocked by stopping the click (as `disabled` does), so a
|