@nldd/design-system 0.26.2 → 0.26.4
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 +1058 -147
- 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 +12 -10
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +11 -9
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/lqip-encoder-element.d.ts +6 -5
- package/dist/components/content/image/lqip-encoder-element.d.ts.map +1 -1
- package/dist/components/content/image/lqip-encoder-element.js +6 -5
- package/dist/components/content/image/lqip-encoder-element.js.map +1 -1
- package/dist/components/content/image/lqip-encoder.d.ts +4 -4
- package/dist/components/content/image/lqip-encoder.js +8 -8
- package/dist/components/content/image/lqip-encoder.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +8 -7
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +8 -7
- 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/page-section-controls.d.ts +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +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 +61 -57
- package/dist/types/vue.d.ts +75 -67
- 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/os.d.ts +1 -1
- package/dist/utilities/os.js +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
|
@@ -5,14 +5,16 @@
|
|
|
5
5
|
* uses `display: contents`, so it does not affect the child's layout.
|
|
6
6
|
*
|
|
7
7
|
* @element nldd-tooltip
|
|
8
|
+
* @keywords hint
|
|
9
|
+
* @related nldd-popover, nldd-just-in-time-education, nldd-term
|
|
8
10
|
* @attr {string} text - Tooltip text
|
|
9
11
|
* @attr {string} shortcut - Keyboard shortcut hint shown after the text, e.g. 'Cmd+P'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key. Joins the description of a light-DOM trigger. Hidden on touch-only devices, where it isn't invokable.
|
|
10
12
|
* @attr {string} shortcut-mac - Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`).
|
|
11
13
|
* @attr {string} shortcut-windows - Override of `shortcut` on Windows (falls back to `shortcut`).
|
|
12
14
|
* @attr {string} shortcut-linux - Override of `shortcut` on Linux (falls back to `shortcut`).
|
|
13
15
|
* @attr {boolean} open - Forces the tooltip visible, whatever hover or focus does. Use it for programmatic feedback ("Copied", for instance). Reset it to false to restore the hover behavior.
|
|
14
|
-
* @attr {
|
|
15
|
-
* @attr {string} timing - When the tooltip appears on hover: 'instant'
|
|
16
|
+
* @attr {'top'|'bottom'|'left'|'right'} placement - Position: 'top' | 'bottom' | 'left' | 'right' (default: 'bottom'; automatically 'top' on touch devices)
|
|
17
|
+
* @attr {string} timing - When the tooltip appears on hover: 'instant' shows it right away, without a show delay or a fade, also on the way out. 'delay' (the default) shows it after the standard show delay (700ms). 'never' never shows it: hover and focus events are ignored, aria-describedby is suppressed, and a tooltip that is already visible disappears. The hide delay and the touch suppression stay in force under every value. Focus shows it at once, except the focus a press gives a button, so a click does not flash it up.
|
|
16
18
|
*
|
|
17
19
|
* Escape closes a tooltip that hover or focus opened, wherever focus is: the
|
|
18
20
|
* pointer can rest on a button while focus sits somewhere else (WCAG 1.4.13).
|
|
@@ -68,6 +70,29 @@ import { InterestIntent } from '../../../utilities/interest-intent.js';
|
|
|
68
70
|
import { ShortcutAvailabilityController, shortcutLabel } from '../../../utilities/shortcut.js';
|
|
69
71
|
import '../keyboard-shortcut/keyboard-shortcut.js';
|
|
70
72
|
import { carryContext } from '../../../utilities/carried-context.js';
|
|
73
|
+
import { onAncestorScroll } from '../../../utilities/ancestor-scroll.js';
|
|
74
|
+
import { cssTimeToMs } from '../../../utilities/css-time.js';
|
|
75
|
+
/**
|
|
76
|
+
* What can clip a trigger. Floating UI walks every ancestor, but a trigger in
|
|
77
|
+
* an open popover, menu or dialog sits in the top layer, where the ancestors
|
|
78
|
+
* of that overlay clip nothing. Past the overlay the viewport is the boundary.
|
|
79
|
+
*/
|
|
80
|
+
function clippingBoundary(trigger) {
|
|
81
|
+
const clipping = [];
|
|
82
|
+
let node = trigger;
|
|
83
|
+
while (node) {
|
|
84
|
+
const parent = node.assignedSlot ?? node.parentNode;
|
|
85
|
+
node = parent instanceof ShadowRoot ? parent.host : parent instanceof Element ? parent : null;
|
|
86
|
+
if (!node)
|
|
87
|
+
return 'clippingAncestors';
|
|
88
|
+
const { overflowX, overflowY } = getComputedStyle(node);
|
|
89
|
+
if (overflowX !== 'visible' || overflowY !== 'visible')
|
|
90
|
+
clipping.push(node);
|
|
91
|
+
if (node.matches(':popover-open, :modal'))
|
|
92
|
+
return clipping;
|
|
93
|
+
}
|
|
94
|
+
return 'clippingAncestors';
|
|
95
|
+
}
|
|
71
96
|
let tooltipCounter = 0;
|
|
72
97
|
// On a server there is no matchMedia; a tooltip only shows in a browser anyway.
|
|
73
98
|
const coarsePointerQuery = typeof matchMedia === 'function' ? matchMedia('(pointer: coarse)') : null;
|
|
@@ -98,6 +123,7 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
98
123
|
/** Refreshes the description when shortcuts become available or unavailable, for the shortcut in it. */
|
|
99
124
|
this._shortcutAvailability = new ShortcutAvailabilityController(this, () => this._syncAriaDescribedBy());
|
|
100
125
|
this._positionVersion = 0;
|
|
126
|
+
this._pressed = false;
|
|
101
127
|
this._interest = new InterestIntent({
|
|
102
128
|
showDelay: () => this.timing === 'instant' ? 0 : this._delay('--_tooltip-show-delay', DEFAULT_SHOW_DELAY_MS),
|
|
103
129
|
hideDelay: () => this._delay('--_tooltip-hide-delay', DEFAULT_HIDE_DELAY_MS),
|
|
@@ -108,11 +134,17 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
108
134
|
hide: () => { if (!this.open)
|
|
109
135
|
this._visible = false; },
|
|
110
136
|
});
|
|
137
|
+
this._release = () => {
|
|
138
|
+
this._pressed = false;
|
|
139
|
+
document.removeEventListener('pointerup', this._release, true);
|
|
140
|
+
document.removeEventListener('pointercancel', this._release, true);
|
|
141
|
+
};
|
|
111
142
|
/** A hover tooltip goes when the page scrolls: it is fixed to the screen,
|
|
112
143
|
* and the pointer leaves its trigger without a mouseleave until the
|
|
113
|
-
* scrolling stops. One shown by focus or `open` follows its trigger
|
|
144
|
+
* scrolling stops. One shown by focus or `open` follows its trigger, and
|
|
145
|
+
* so does one that is fading out. */
|
|
114
146
|
this._handleScroll = () => {
|
|
115
|
-
if (this.open || this._interest.focused) {
|
|
147
|
+
if (!this._visible || this.open || this._interest.focused) {
|
|
116
148
|
this._updatePosition();
|
|
117
149
|
return;
|
|
118
150
|
}
|
|
@@ -154,6 +186,10 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
154
186
|
get _effectivePlacement() {
|
|
155
187
|
return this.placement;
|
|
156
188
|
}
|
|
189
|
+
/** The text it shows: the one it had while it fades out. */
|
|
190
|
+
get _shownText() {
|
|
191
|
+
return this._fadingText ?? this.text;
|
|
192
|
+
}
|
|
157
193
|
/** The delays are tokens, so a consumer can tune them from CSS. */
|
|
158
194
|
_delay(name, fallback) {
|
|
159
195
|
const parsed = parseInt(getComputedStyle(this).getPropertyValue(name), 10);
|
|
@@ -163,7 +199,7 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
163
199
|
super.connectedCallback();
|
|
164
200
|
if (this._visible) {
|
|
165
201
|
document.addEventListener('keydown', this._handleKeyDown, true);
|
|
166
|
-
|
|
202
|
+
this._listenToScroll();
|
|
167
203
|
}
|
|
168
204
|
// Re-register slotchange after reconnect (firstUpdated only runs once)
|
|
169
205
|
if (this.hasUpdated) {
|
|
@@ -173,6 +209,14 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
173
209
|
firstUpdated() {
|
|
174
210
|
this.shadowRoot?.querySelector('slot')?.addEventListener('slotchange', this._boundSlotChange);
|
|
175
211
|
}
|
|
212
|
+
willUpdate(changed) {
|
|
213
|
+
const hides = (changed.has('open') && !this.open && this._visible)
|
|
214
|
+
|| (changed.has('_visible') && !this._visible && changed.get('_visible') === true);
|
|
215
|
+
if (hides)
|
|
216
|
+
this._fadingText ?? (this._fadingText = changed.has('text') ? changed.get('text') : this.text);
|
|
217
|
+
else if (this._visible)
|
|
218
|
+
this._fadingText = undefined;
|
|
219
|
+
}
|
|
176
220
|
updated(changed) {
|
|
177
221
|
if (changed.has('open')) {
|
|
178
222
|
// Forced or released, it starts over: what hover and focus did before no longer counts.
|
|
@@ -188,11 +232,12 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
188
232
|
// Escape that WCAG 1.4.13 asks for.
|
|
189
233
|
if (this._visible) {
|
|
190
234
|
document.addEventListener('keydown', this._handleKeyDown, true);
|
|
191
|
-
|
|
235
|
+
this._listenToScroll();
|
|
192
236
|
}
|
|
193
237
|
else {
|
|
194
238
|
document.removeEventListener('keydown', this._handleKeyDown, true);
|
|
195
|
-
|
|
239
|
+
if (changed.get('_visible') === true)
|
|
240
|
+
this._afterFade();
|
|
196
241
|
}
|
|
197
242
|
const tooltip = this._getTooltipElement();
|
|
198
243
|
if (tooltip) {
|
|
@@ -309,8 +354,18 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
309
354
|
if (this.timing === 'never')
|
|
310
355
|
return;
|
|
311
356
|
this._syncAriaDescribedBy();
|
|
357
|
+
// Chrome focuses a button on the press, before its click: shown for
|
|
358
|
+
// that focus, the tooltip flashed up and went again with the click.
|
|
359
|
+
if (this._pressed)
|
|
360
|
+
return;
|
|
312
361
|
this._interest.focus();
|
|
313
362
|
}
|
|
363
|
+
/** A press on the trigger, until the pointer lets go or focus leaves: a release can get lost. */
|
|
364
|
+
_handleTriggerPress() {
|
|
365
|
+
this._pressed = true;
|
|
366
|
+
document.addEventListener('pointerup', this._release, true);
|
|
367
|
+
document.addEventListener('pointercancel', this._release, true);
|
|
368
|
+
}
|
|
314
369
|
_handleTriggerLeave() {
|
|
315
370
|
this._interest.leave();
|
|
316
371
|
}
|
|
@@ -320,8 +375,10 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
320
375
|
const assigned = slot?.assignedElements({ flatten: true }) ?? [];
|
|
321
376
|
const related = e.relatedTarget;
|
|
322
377
|
const stillInside = related && assigned.some(el => el.contains(related) || el.shadowRoot?.contains(related));
|
|
323
|
-
if (
|
|
324
|
-
|
|
378
|
+
if (stillInside)
|
|
379
|
+
return;
|
|
380
|
+
this._release();
|
|
381
|
+
this._interest.blur();
|
|
325
382
|
}
|
|
326
383
|
/* A tooltip is transient help for a control; once you activate that control
|
|
327
384
|
* it has done its job. Without this it lingers on top of whatever the click
|
|
@@ -341,6 +398,22 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
341
398
|
_handleTooltipLeave() {
|
|
342
399
|
this._interest.leave();
|
|
343
400
|
}
|
|
401
|
+
_listenToScroll() {
|
|
402
|
+
this._boundary = undefined;
|
|
403
|
+
clearTimeout(this._fadeTimer);
|
|
404
|
+
this._stopScroll?.();
|
|
405
|
+
this._stopScroll = onAncestorScroll(this, this._handleScroll);
|
|
406
|
+
}
|
|
407
|
+
/** It fades out beside its trigger, with the text it had. Stopped at once,
|
|
408
|
+
* it stood still on the screen while the page scrolled on under it. */
|
|
409
|
+
_afterFade() {
|
|
410
|
+
clearTimeout(this._fadeTimer);
|
|
411
|
+
this._fadeTimer = setTimeout(() => {
|
|
412
|
+
this._stopScroll?.();
|
|
413
|
+
this._stopScroll = undefined;
|
|
414
|
+
this._fadingText = undefined;
|
|
415
|
+
}, cssTimeToMs(getComputedStyle(this).getPropertyValue('--_tooltip-hide-duration')));
|
|
416
|
+
}
|
|
344
417
|
async _updatePosition() {
|
|
345
418
|
/* Multiple position calcs can be queued in the same flow (e.g. the
|
|
346
419
|
* text-change handler and the _visible handler fire in consecutive
|
|
@@ -389,7 +462,7 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
389
462
|
offset(distance),
|
|
390
463
|
flip(),
|
|
391
464
|
shift({ padding: parseInt(styles.getPropertyValue('--_tooltip-shift-padding'), 10), limiter: limitShift() }),
|
|
392
|
-
hide(),
|
|
465
|
+
hide({ boundary: (this._boundary ?? (this._boundary = clippingBoundary(trigger))) }),
|
|
393
466
|
],
|
|
394
467
|
});
|
|
395
468
|
if (version !== this._positionVersion)
|
|
@@ -402,7 +475,11 @@ let NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
402
475
|
disconnectedCallback() {
|
|
403
476
|
super.disconnectedCallback();
|
|
404
477
|
document.removeEventListener('keydown', this._handleKeyDown, true);
|
|
405
|
-
|
|
478
|
+
this._release();
|
|
479
|
+
clearTimeout(this._fadeTimer);
|
|
480
|
+
this._fadingText = undefined;
|
|
481
|
+
this._stopScroll?.();
|
|
482
|
+
this._stopScroll = undefined;
|
|
406
483
|
this.shadowRoot?.querySelector('slot')?.removeEventListener('slotchange', this._boundSlotChange);
|
|
407
484
|
this._interest.reset();
|
|
408
485
|
// Clean up aria-describedby on trigger and remove description span from body
|
|
@@ -443,6 +520,9 @@ __decorate([
|
|
|
443
520
|
__decorate([
|
|
444
521
|
state()
|
|
445
522
|
], NLDDTooltip.prototype, "_visible", void 0);
|
|
523
|
+
__decorate([
|
|
524
|
+
state()
|
|
525
|
+
], NLDDTooltip.prototype, "_fadingText", void 0);
|
|
446
526
|
NLDDTooltip = __decorate([
|
|
447
527
|
customElement('nldd-tooltip')
|
|
448
528
|
], NLDDTooltip);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAsB,MAAM,kBAAkB,CAAC;AAC9G,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/F,OAAO,2CAA2C,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAKrE,IAAI,cAAc,GAAG,CAAC,CAAC;AACvB,gFAAgF;AAChF,MAAM,kBAAkB,GAAG,OAAO,UAAU,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAErG,6EAA6E;AAC7E,6EAA6E;AAC7E,8EAA8E;A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AE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yCAC9B;AAGb;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAY,QAAQ,CAAC,EAAE,CAAC;8CAC/C;AAGhC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,OAAO,CAAC,EAAE,CAAC;2CAClD;AAOzB;IADC,KAAK,EAAE;6CACS;AAkBjB;IADC,KAAK,EAAE;gDACa;AAnDT,WAAW;IADvB,aAAa,CAAC,cAAc,CAAC;GACjB,WAAW,CAyavB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,wBAAgB,eAAe,CAAC,SAAS,EAAE,WAAW,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"tooltip.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,wBAAgB,eAAe,CAAC,SAAS,EAAE,WAAW,GAAG,cAAc,CAuCtE"}
|
|
@@ -10,6 +10,7 @@ export function tooltipTemplate(component) {
|
|
|
10
10
|
<slot
|
|
11
11
|
@mouseenter=${component._handleTriggerEnter}
|
|
12
12
|
@mouseleave=${component._handleTriggerLeave}
|
|
13
|
+
@pointerdown=${component._handleTriggerPress}
|
|
13
14
|
@focusin=${component._handleFocusIn}
|
|
14
15
|
@focusout=${component._handleFocusOut}
|
|
15
16
|
@click=${component._handleTriggerActivate}
|
|
@@ -21,7 +22,7 @@ export function tooltipTemplate(component) {
|
|
|
21
22
|
@mouseleave=${component._handleTooltipLeave}
|
|
22
23
|
>
|
|
23
24
|
<div class="tooltip__body">
|
|
24
|
-
${component.
|
|
25
|
+
${component._shownText ? html `<span class="tooltip__text">${component._shownText}</span>` : nothing}
|
|
25
26
|
${hasShortcut(component) ? html `
|
|
26
27
|
<span class="tooltip__shortcut">
|
|
27
28
|
<nldd-keyboard-shortcut
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.template.js","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAGpC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,MAAM,UAAU,eAAe,CAAC,SAAsB;IACrD;;;2BAGuB;IACvB,0DAA0D;IAC1D,OAAO,IAAI,CAAA;;iBAEK,SAAS,CAAC,mBAAmB;iBAC7B,SAAS,CAAC,mBAAmB;
|
|
1
|
+
{"version":3,"file":"tooltip.template.js","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAGpC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,MAAM,UAAU,eAAe,CAAC,SAAsB;IACrD;;;2BAGuB;IACvB,0DAA0D;IAC1D,OAAO,IAAI,CAAA;;iBAEK,SAAS,CAAC,mBAAmB;iBAC7B,SAAS,CAAC,mBAAmB;kBAC5B,SAAS,CAAC,mBAAmB;cACjC,SAAS,CAAC,cAAc;eACvB,SAAS,CAAC,eAAe;YAC5B,SAAS,CAAC,sBAAsB;;;;;iBAK3B,SAAS,CAAC,mBAAmB;iBAC7B,SAAS,CAAC,mBAAmB;;;MAGxC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAA,+BAA+B,SAAS,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,OAAO;MACjG,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;cAMrB,SAAS,CAAC,QAAQ,IAAI,OAAO;kBACzB,SAAS,CAAC,WAAW,IAAI,OAAO;sBAC5B,SAAS,CAAC,eAAe,IAAI,OAAO;oBACtC,SAAS,CAAC,aAAa,IAAI,OAAO;;;KAGjD,CAAC,CAAC,CAAC,OAAO;;;EAGb,CAAC;AACH,CAAC;AACD,yDAAyD"}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* accessibility tree and in the reading order, and takes no room on the page.
|
|
6
6
|
*
|
|
7
7
|
* For a name that is visually redundant: the header of a column of checkboxes,
|
|
8
|
-
* where the checkboxes say enough to anyone who can see them
|
|
8
|
+
* where the checkboxes say enough to anyone who can see them but a screen
|
|
9
|
+
* reader needs the column's name to say what each checkbox does, or the "(opent in
|
|
9
10
|
* een nieuw venster)" after a link whose icon already says it.
|
|
10
11
|
*
|
|
11
12
|
* Not for repairing structure that is missing. Hidden text that describes how
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
* and be nowhere on the screen.
|
|
20
21
|
*
|
|
21
22
|
* @element nldd-visually-hidden
|
|
23
|
+
* @keywords sr-only, screen reader only, verborgen tekst, schermlezer
|
|
22
24
|
*
|
|
23
25
|
* @slot - The text, read by a screen reader and not shown.
|
|
24
26
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../../../src/components/content/visually-hidden/visually-hidden.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../../../src/components/content/visually-hidden/visually-hidden.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,kBAAmB,SAAQ,UAAU;IACjD,OAAgB,MAAM,0BAAwB;IAErC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,sBAAsB,EAAE,kBAAkB,CAAC;KAC3C;CACD"}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* accessibility tree and in the reading order, and takes no room on the page.
|
|
6
6
|
*
|
|
7
7
|
* For a name that is visually redundant: the header of a column of checkboxes,
|
|
8
|
-
* where the checkboxes say enough to anyone who can see them
|
|
8
|
+
* where the checkboxes say enough to anyone who can see them but a screen
|
|
9
|
+
* reader needs the column's name to say what each checkbox does, or the "(opent in
|
|
9
10
|
* een nieuw venster)" after a link whose icon already says it.
|
|
10
11
|
*
|
|
11
12
|
* Not for repairing structure that is missing. Hidden text that describes how
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
* and be nowhere on the screen.
|
|
20
21
|
*
|
|
21
22
|
* @element nldd-visually-hidden
|
|
23
|
+
* @keywords sr-only, screen reader only, verborgen tekst, schermlezer
|
|
22
24
|
*
|
|
23
25
|
* @slot - The text, read by a screen reader and not shown.
|
|
24
26
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visually-hidden.js","sourceRoot":"","sources":["../../../../src/components/content/visually-hidden/visually-hidden.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"visually-hidden.js","sourceRoot":"","sources":["../../../../src/components/content/visually-hidden/visually-hidden.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGlD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,UAAU;IAGxC,MAAM;QACd,OAAO,QAAQ,EAAE,CAAC;IACnB,CAAC;;AAJe,yBAAM,GAAG,oBAAoB,AAAvB,CAAwB;AADlC,kBAAkB;IAD9B,aAAa,CAAC,sBAAsB,CAAC;GACzB,kBAAkB,CAM9B"}
|
|
@@ -68,7 +68,7 @@ export declare class NLDDForm extends PlainElement {
|
|
|
68
68
|
private _pending;
|
|
69
69
|
/** Controls the platform has judged at least once. */
|
|
70
70
|
private _judged;
|
|
71
|
-
/** When true, user provided their own <form> child
|
|
71
|
+
/** When true, user provided their own <form> child, so skip migration. */
|
|
72
72
|
private _userProvidedForm;
|
|
73
73
|
connectedCallback(): void;
|
|
74
74
|
disconnectedCallback(): void;
|
|
@@ -79,7 +79,7 @@ export declare class NLDDForm extends PlainElement {
|
|
|
79
79
|
* `'top'` when the form itself has no `label-alignment`. Descendant CSS
|
|
80
80
|
* uses `[label-alignment="X"]` first and falls back to
|
|
81
81
|
* `[form-label-alignment="X"]` when no own value is set, so a consumer's
|
|
82
|
-
* explicit `label-alignment` always wins automatically
|
|
82
|
+
* explicit `label-alignment` always wins automatically, without us having
|
|
83
83
|
* to track which elements we previously inherited to.
|
|
84
84
|
*
|
|
85
85
|
* Always-setting (rather than only when the form has its own value) lets
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/form/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/form/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAmHpE,qBAAa,QAAS,SAAQ,YAAY;IACzC,MAAM,KAAK,kBAAkB,aAE5B;IAED,OAAO,CAAC,KAAK,CAAgC;IAC7C,OAAO,CAAC,SAAS,CAAiC;IAElD;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,OAAO,CAAC,cAAc,CA8BpB;IAEF,4EAA4E;IAC5E,OAAO,CAAC,YAAY,CAA4B;IAEhD;;;;;;;;;;OAUG;IACH,OAAO,CAAC,YAAY,CAWlB;IAEF;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,YAAY,CA8BlB;IAEF;;;;;;;OAOG;IACH,OAAO,CAAC,UAAU;IAQlB,0DAA0D;IAC1D,OAAO,CAAC,QAAQ,CAA0B;IAE1C,sDAAsD;IACtD,OAAO,CAAC,OAAO,CAA0B;IACzC,0EAA0E;IAC1E,OAAO,CAAC,iBAAiB,CAAS;IAElC,iBAAiB,IAAI,IAAI;IA0EzB,oBAAoB,IAAI,IAAI;IAS5B,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAU3F;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,wBAAwB;IAKhC,OAAO,CAAC,iBAAiB;IAQzB,uEAAuE;IACvE,IAAI,IAAI,IAAI,eAAe,GAAG,IAAI,CAEjC;CACD;AAMD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -3,13 +3,13 @@ import { PlainElement } from '../../../utilities/custom-element.js';
|
|
|
3
3
|
* Nederlandse Digitale Dienst Form Component
|
|
4
4
|
*
|
|
5
5
|
* Plain custom element (extends HTMLElement, no Lit), required for light-DOM
|
|
6
|
-
* autofill. Renders a real
|
|
7
|
-
* children. Chrome's autofill engine looks for native
|
|
8
|
-
* have a
|
|
6
|
+
* autofill. Renders a real `<form>` element in the LIGHT DOM around its
|
|
7
|
+
* children. Chrome's autofill engine looks for native `<input>` elements that
|
|
8
|
+
* have a `<form>` ancestor in the light DOM; with shadow-DOM inputs it can't
|
|
9
9
|
* find them, so we keep this component shadow-less.
|
|
10
10
|
*
|
|
11
|
-
* **Differs from other nldd
|
|
12
|
-
* - No shadowRoot: all children live in the light DOM (inside the inner
|
|
11
|
+
* **Differs from other `nldd-*` components:**
|
|
12
|
+
* - No shadowRoot: all children live in the light DOM (inside the inner `<form>`)
|
|
13
13
|
* - No Lit: a plain HTMLElement with manual attribute mirroring
|
|
14
14
|
* - **Requires a global stylesheet import**: the vertical rhythm rules live in
|
|
15
15
|
* `dist/css/form.css` (or `global.css`), not in a component-specific shadow
|
|
@@ -42,25 +42,22 @@ import { PlainElement } from '../../../utilities/custom-element.js';
|
|
|
42
42
|
* **user-provided form** mode instead.
|
|
43
43
|
*
|
|
44
44
|
* For programmatic manipulation, use the `form` getter so you work with the
|
|
45
|
-
* inner `<form>` element directly
|
|
46
|
-
*
|
|
47
|
-
* const inner = document.querySelector('nldd-form').form;
|
|
48
|
-
* inner.checkValidity();
|
|
49
|
-
* inner.appendChild(myInput); // skips the migration overhead
|
|
45
|
+
* inner `<form>` element directly (see the last example).
|
|
50
46
|
*
|
|
51
47
|
* @element nldd-form
|
|
48
|
+
* @keywords formulier
|
|
52
49
|
*
|
|
53
|
-
* @attr {
|
|
50
|
+
* @attr {'top'|'right'|'left'} label-alignment - Default `label-alignment` for descendant nldd-form-field and nldd-form-actions ('top' | 'right' | 'left'). Propagated to descendants as `form-label-alignment`. A `label-alignment` of its own on the descendant takes precedence through the CSS cascade.
|
|
54
51
|
* @attr {string} name - Form name
|
|
55
|
-
* @attr {
|
|
52
|
+
* @attr {'on'|'off'} autocomplete - 'on' | 'off' (form-level autofill toggle)
|
|
56
53
|
* @attr {string} target - Submit target ('_self' | '_blank' | ...)
|
|
57
|
-
* @attr {
|
|
54
|
+
* @attr {'get'|'post'|'dialog'} method - HTTP method ('get' | 'post' | 'dialog')
|
|
58
55
|
* @attr {string} action - URL endpoint for submission
|
|
59
56
|
* @attr {string} enctype - Encoding type for submission
|
|
60
57
|
* @attr {boolean} novalidate - Skip native browser validation
|
|
61
58
|
* @accepts form
|
|
62
59
|
*
|
|
63
|
-
* @prop {HTMLFormElement | null} form - The inner
|
|
60
|
+
* @prop {HTMLFormElement | null} form - The inner `<form>` element (read-only). Use it for `form.checkValidity()`, direct DOM manipulation, or as the target for framework-managed children.
|
|
64
61
|
*
|
|
65
62
|
* Events bubble naturally from the inner <form>:
|
|
66
63
|
* @fires submit
|
|
@@ -95,6 +92,13 @@ import { PlainElement } from '../../../utilities/custom-element.js';
|
|
|
95
92
|
* </form>
|
|
96
93
|
* </nldd-form>
|
|
97
94
|
* ```
|
|
95
|
+
*
|
|
96
|
+
* Working with the inner form directly:
|
|
97
|
+
* ```js
|
|
98
|
+
* const inner = document.querySelector('nldd-form').form;
|
|
99
|
+
* inner.checkValidity();
|
|
100
|
+
* inner.appendChild(myInput); // skips the migration overhead
|
|
101
|
+
* ```
|
|
98
102
|
*/
|
|
99
103
|
const FORWARDED_ATTRIBUTES = [
|
|
100
104
|
'name',
|
|
@@ -243,7 +247,7 @@ export class NLDDForm extends PlainElement {
|
|
|
243
247
|
this._pending = new WeakSet();
|
|
244
248
|
/** Controls the platform has judged at least once. */
|
|
245
249
|
this._judged = new WeakSet();
|
|
246
|
-
/** When true, user provided their own <form> child
|
|
250
|
+
/** When true, user provided their own <form> child, so skip migration. */
|
|
247
251
|
this._userProvidedForm = false;
|
|
248
252
|
}
|
|
249
253
|
static get observedAttributes() {
|
|
@@ -364,7 +368,7 @@ export class NLDDForm extends PlainElement {
|
|
|
364
368
|
* `'top'` when the form itself has no `label-alignment`. Descendant CSS
|
|
365
369
|
* uses `[label-alignment="X"]` first and falls back to
|
|
366
370
|
* `[form-label-alignment="X"]` when no own value is set, so a consumer's
|
|
367
|
-
* explicit `label-alignment` always wins automatically
|
|
371
|
+
* explicit `label-alignment` always wins automatically, without us having
|
|
368
372
|
* to track which elements we previously inherited to.
|
|
369
373
|
*
|
|
370
374
|
* Always-setting (rather than only when the form has its own value) lets
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../../src/components/forms/form/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE
|
|
1
|
+
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../../src/components/forms/form/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AAEH,MAAM,oBAAoB,GAAG;IAC5B,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,cAAc;CACL,CAAC;AAEX,MAAM,mBAAmB,GAAG,oCAAoC,CAAC;AAEjE,MAAM,OAAO,QAAS,SAAQ,YAAY;IAA1C;;QAKS,UAAK,GAA2B,IAAI,CAAC;QACrC,cAAS,GAA4B,IAAI,CAAC;QAElD;;;;;;;;;;;;;;;;;;;;;;WAsBG;QACK,mBAAc,GAAG,CAAC,CAAQ,EAAE,EAAE;YACrC,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,MAAM,OAAO,GAAG,CAAC,CAAC,MAAwB,CAAC;YAC3C,IAAI,CAAC,OAAO;gBAAE,OAAO;YAErB,uEAAuE;YACvE,wEAAwE;YACxE,wEAAwE;YACxE,qEAAqE;YACrE,0DAA0D;YAC1D,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,KAAK,EAAE,QAAQ,IAAI,EAAE;gBAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAClE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAE1B,OAAO,CAAC,eAAe,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;YACz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the same indent as the fields above it, thanks to a `::before`
|
|
8
8
|
* pseudo-element that acts as the spacer column where the label would sit.
|
|
9
9
|
*
|
|
10
|
-
* Inherits `label-alignment` automatically from a wrapping
|
|
10
|
+
* Inherits `label-alignment` automatically from a wrapping `nldd-form`: the
|
|
11
11
|
* form propagates its own `label-alignment` as `form-label-alignment` to
|
|
12
12
|
* descendant `nldd-form-actions` (and `nldd-form-field`) through a
|
|
13
13
|
* MutationObserver. An explicit `label-alignment` on the form-actions itself
|
|
14
14
|
* wins through the CSS cascade, and the form code never touches the
|
|
15
15
|
* `label-alignment` attribute of the descendant.
|
|
16
16
|
*
|
|
17
|
-
* <nldd-form label-alignment="right">
|
|
18
|
-
* <nldd-form-field>...</nldd-form-field>
|
|
19
|
-
* <nldd-form-actions>
|
|
20
|
-
* <nldd-button-group>
|
|
21
|
-
* <nldd-button appearance="primary" type="submit" text="Bewaar"></nldd-button>
|
|
22
|
-
* </nldd-button-group>
|
|
23
|
-
* </nldd-form-actions>
|
|
24
|
-
* </nldd-form>
|
|
25
|
-
*
|
|
26
17
|
* @element nldd-form-actions
|
|
18
|
+
* @keywords formulierknoppen
|
|
27
19
|
*
|
|
28
|
-
* @attr {
|
|
20
|
+
* @attr {'top'|'right'|'left'} label-alignment - 'top' (default) | 'right' | 'left'. A value of its own always wins over the inherited form-label-alignment.
|
|
29
21
|
* @attr {string} form-label-alignment - Set by a wrapping nldd-form as a fallback. Do not set it yourself in consumer code.
|
|
30
22
|
*
|
|
31
23
|
* @slot - Action elements (button, button-group, and so on)
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```html
|
|
27
|
+
* <nldd-form label-alignment="right">
|
|
28
|
+
* <nldd-form-field>...</nldd-form-field>
|
|
29
|
+
* <nldd-form-actions>
|
|
30
|
+
* <nldd-button-group>
|
|
31
|
+
* <nldd-button appearance="primary" type="submit" text="Bewaar"></nldd-button>
|
|
32
|
+
* </nldd-button-group>
|
|
33
|
+
* </nldd-form-actions>
|
|
34
|
+
* </nldd-form>
|
|
35
|
+
* ```
|
|
32
36
|
*/
|
|
33
37
|
import { LitElement } from 'lit';
|
|
34
38
|
export type LabelAlignment = 'top' | 'left' | 'right';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/form-actions/form-actions.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"form-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/form-actions/form-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AAEtD,qBACa,eAAgB,SAAQ,UAAU;IAC9C,OAAgB,MAAM,0BAAqB;IAE3C;;;;;OAKG;IAEH,cAAc,EAAE,cAAc,GAAG,SAAS,CAAa;IAE9C,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mBAAmB,EAAE,eAAe,CAAC;KACrC;CACD"}
|
|
@@ -7,28 +7,32 @@
|
|
|
7
7
|
* gets the same indent as the fields above it, thanks to a `::before`
|
|
8
8
|
* pseudo-element that acts as the spacer column where the label would sit.
|
|
9
9
|
*
|
|
10
|
-
* Inherits `label-alignment` automatically from a wrapping
|
|
10
|
+
* Inherits `label-alignment` automatically from a wrapping `nldd-form`: the
|
|
11
11
|
* form propagates its own `label-alignment` as `form-label-alignment` to
|
|
12
12
|
* descendant `nldd-form-actions` (and `nldd-form-field`) through a
|
|
13
13
|
* MutationObserver. An explicit `label-alignment` on the form-actions itself
|
|
14
14
|
* wins through the CSS cascade, and the form code never touches the
|
|
15
15
|
* `label-alignment` attribute of the descendant.
|
|
16
16
|
*
|
|
17
|
-
* <nldd-form label-alignment="right">
|
|
18
|
-
* <nldd-form-field>...</nldd-form-field>
|
|
19
|
-
* <nldd-form-actions>
|
|
20
|
-
* <nldd-button-group>
|
|
21
|
-
* <nldd-button appearance="primary" type="submit" text="Bewaar"></nldd-button>
|
|
22
|
-
* </nldd-button-group>
|
|
23
|
-
* </nldd-form-actions>
|
|
24
|
-
* </nldd-form>
|
|
25
|
-
*
|
|
26
17
|
* @element nldd-form-actions
|
|
18
|
+
* @keywords formulierknoppen
|
|
27
19
|
*
|
|
28
|
-
* @attr {
|
|
20
|
+
* @attr {'top'|'right'|'left'} label-alignment - 'top' (default) | 'right' | 'left'. A value of its own always wins over the inherited form-label-alignment.
|
|
29
21
|
* @attr {string} form-label-alignment - Set by a wrapping nldd-form as a fallback. Do not set it yourself in consumer code.
|
|
30
22
|
*
|
|
31
23
|
* @slot - Action elements (button, button-group, and so on)
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```html
|
|
27
|
+
* <nldd-form label-alignment="right">
|
|
28
|
+
* <nldd-form-field>...</nldd-form-field>
|
|
29
|
+
* <nldd-form-actions>
|
|
30
|
+
* <nldd-button-group>
|
|
31
|
+
* <nldd-button appearance="primary" type="submit" text="Bewaar"></nldd-button>
|
|
32
|
+
* </nldd-button-group>
|
|
33
|
+
* </nldd-form-actions>
|
|
34
|
+
* </nldd-form>
|
|
35
|
+
* ```
|
|
32
36
|
*/
|
|
33
37
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
34
38
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-actions.js","sourceRoot":"","sources":["../../../../src/components/forms/form-actions/form-actions.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"form-actions.js","sourceRoot":"","sources":["../../../../src/components/forms/form-actions/form-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAK1D,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,UAAU;IAAxC;;QAGN;;;;;WAKG;QAEH,mBAAc,GAA+B,SAAS,CAAC;IAKxD,CAAC;IAHS,MAAM;QACd,OAAO,mBAAmB,EAAE,CAAC;IAC9B,CAAC;;AAbe,sBAAM,GAAG,iBAAiB,AAApB,CAAqB;AAS3C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;uDACjB;AAV3C,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CAe3B"}
|