@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"term.d.ts","sourceRoot":"","sources":["../../../../src/components/content/term/term.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"term.d.ts","sourceRoot":"","sources":["../../../../src/components/content/term/term.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAG3D,OAAO,iCAAiC,CAAC;AACzC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,iBAAiB,CAAC;AACzB,OAAO,+BAA+B,CAAC;AACvC,OAAO,+BAA+B,CAAC;AACvC,OAAO,2BAA2B,CAAC;AACnC,OAAO,iDAAiD,CAAC;AACzD,OAAO,mBAAmB,CAAC;AAG3B,qBACa,QAAS,SAAQ,UAAU;IACvC,OAAgB,MAAM,0BAAc;IAGpC,UAAU,SAAM;IAGhB,MAAM,SAAM;IAGZ,UAAU,SAAM;IAEhB,kFAAkF;IAElF,YAAY,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAM;IAGjD,aAAa,SAAM;IAEnB;4DACwD;IAExD,YAAY,SAAM;IAElB,8DAA8D;IAE9D,SAAS,SAAM;IAEf;kEAC8D;IAE9D,KAAK,UAAS;IAEd,OAAO,CAAC,QAAQ,CAA+B;IAC/C,OAAO,CAAC,qBAAqB,CAE3B;IAGF,OAAO,CAAC,UAAU,CAAsB;IAGxC,OAAO,CAAC,aAAa,CAAsB;IAE3C;;uDAEmD;IACnD,OAAO,CAAC,QAAQ,CAUb;IACH,mEAAmE;IACnE,OAAO,CAAC,UAAU,CAAS;IAC3B,2EAA2E;IAC3E,OAAO,CAAC,cAAc,CAA4B;IAElD,iFAAiF;IACjF,OAAO,CAAC,aAAa,CAAgD;IAE5D,iBAAiB,IAAI,IAAI;IAYzB,oBAAoB,IAAI,IAAI;IAQ5B,YAAY,IAAI,IAAI;IAIpB,OAAO,IAAI,IAAI;IAMxB,8EAA8E;IAC9E,OAAO,CAAC,QAAQ;IAQhB,+EAA+E;IAC/E,OAAO,CAAC,sBAAsB;IAM9B,OAAO,CAAC,iBAAiB;IAOzB;;yDAEqD;IACrD,OAAO,CAAC,mBAAmB,CAGzB;IAEF,iBAAiB,IAAI,IAAI;IAIzB,OAAO,CAAC,SAAS;IAajB,kBAAkB,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAK7C,YAAY,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAOrC;yDACqD;IACrD,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAY1C;oEACgE;IAChE,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAQxC,WAAW,IAAI,IAAI;IAKZ,EAAE,CAAC,GAAG,EAAE,MAAM,oBAAoB,GAAG,MAAM;IAIzC,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAInC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -42,6 +42,8 @@
|
|
|
42
42
|
* accessible-label="Verwerkingsverantwoordelijke">…</nldd-popover>
|
|
43
43
|
*
|
|
44
44
|
* @element nldd-term
|
|
45
|
+
* @keywords definition, abbreviation, glossary, begrip, definitie
|
|
46
|
+
* @related nldd-tooltip
|
|
45
47
|
* @attr {string} definition - The definition, as plain text. The term shows it in a popover of its own, named after the term. Ignored when `popovertarget` is set.
|
|
46
48
|
* @attr {string} source - Where the definition comes from, such as a glossary or an article of law, as plain text. Shown under the definition in the term's own popover. Ignored when `popovertarget` is set.
|
|
47
49
|
* @attr {string} source-href - Link for `source`. Without `source` it has no effect.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"term.js","sourceRoot":"","sources":["../../../../src/components/content/term/term.ts"],"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IADP,KAAK,CAAC,cAAc,CAAC;+CACqB;AA1C/B,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAoMpB"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* where an app would otherwise write a bare `<p>` and inherit whatever the page
|
|
6
6
|
* happens to set: a line under a title, a sentence in a panel, a caption.
|
|
7
7
|
*
|
|
8
|
-
* Every combination it offers exists as a token, so it cannot invent typography
|
|
9
|
-
*
|
|
8
|
+
* Every combination it offers exists as a token, so it cannot invent typography:
|
|
9
|
+
* it only names what the scale already has. The three axes are the same three
|
|
10
10
|
* the tokens carry: size, weight and line height.
|
|
11
11
|
*
|
|
12
12
|
* Plain text goes in `text`, and the component draws a `<p>` for it. Text with
|
|
@@ -40,14 +40,16 @@
|
|
|
40
40
|
* beside its own heading.
|
|
41
41
|
*
|
|
42
42
|
* @element nldd-text
|
|
43
|
-
* @
|
|
43
|
+
* @keywords tekst
|
|
44
|
+
* @related nldd-title, nldd-rich-text
|
|
45
|
+
* @attr {'xxs'|'xs'|'sm'|'md'|'lg'|'display-6'|'display-5'|'display-4'|'display-3'|'display-2'|'display-1'} size - Text size: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' on the body scale (default: 'md'), or 'display-6' to 'display-1' for large letters that are not a heading, from small to large
|
|
44
46
|
* @attr {string} sm-custom-size - A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the text without its size, the floor included. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so text made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size`
|
|
45
47
|
* @attr {string} md-custom-size - The same, at md
|
|
46
48
|
* @attr {string} lg-custom-size - The same, at lg
|
|
47
|
-
* @attr {
|
|
48
|
-
* @attr {
|
|
49
|
-
* @attr {
|
|
50
|
-
* @attr {
|
|
49
|
+
* @attr {'regular'|'medium'|'bold'} weight - Font weight: 'regular' | 'medium' | 'bold' (default: 'regular'). With 'bold' a slotted `<strong>` no longer stands out: there is nothing bolder in the scale.
|
|
50
|
+
* @attr {'flat'|'tight'|'snug'|'loose'} line-height - Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug')
|
|
51
|
+
* @attr {'content'|'secondary'|'accent'|'success'|'warning'|'critical'} color - Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. Each follows the surface the text sits on, through the `--context-content-*` it passes on; an area of your own that sets `color` sets `--context-content-color` too.
|
|
52
|
+
* @attr {'left'|'center'|'right'} horizontal-alignment - Alignment of the text within the block: 'left' | 'center' | 'right' (default: 'left'). Aligns the words; `horizontal-alignment` on nldd-container moves the box.
|
|
51
53
|
*
|
|
52
54
|
* @attr {string} text - The text, when it is plain text. The component draws it as a `<p>`. Content in the slot wins.
|
|
53
55
|
* @slot - Text that is more than plain text, in a `<p>` of your own, or a `<span>` for text that is no paragraph (a label, a number). Inline elements in it look as they do in nldd-rich-text: `<strong>` and `<b>` take the bold weight from the scale, `<em>` and `<i>` are italic, `<a>` is an underlined link, `<code>` sits on a tinted surface in the monospace font, `<mark>` is highlighted, `<q>` is quoted in italics, and an element with `data-mention` is a mention (`<a href="…" data-mention>` as the tinted token, `<span data-mention>` without the tint; write the name without the `@`). Components such as `nldd-tag` are left alone. That styling comes from a global stylesheet, `dist/css/text.css` or `global.css`, which includes it: a shadow root cannot reach inside a slotted element.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/components/content/text/text.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/components/content/text/text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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8 +5,8 @@
|
|
|
5
5
|
* where an app would otherwise write a bare `<p>` and inherit whatever the page
|
|
6
6
|
* happens to set: a line under a title, a sentence in a panel, a caption.
|
|
7
7
|
*
|
|
8
|
-
* Every combination it offers exists as a token, so it cannot invent typography
|
|
9
|
-
*
|
|
8
|
+
* Every combination it offers exists as a token, so it cannot invent typography:
|
|
9
|
+
* it only names what the scale already has. The three axes are the same three
|
|
10
10
|
* the tokens carry: size, weight and line height.
|
|
11
11
|
*
|
|
12
12
|
* Plain text goes in `text`, and the component draws a `<p>` for it. Text with
|
|
@@ -40,14 +40,16 @@
|
|
|
40
40
|
* beside its own heading.
|
|
41
41
|
*
|
|
42
42
|
* @element nldd-text
|
|
43
|
-
* @
|
|
43
|
+
* @keywords tekst
|
|
44
|
+
* @related nldd-title, nldd-rich-text
|
|
45
|
+
* @attr {'xxs'|'xs'|'sm'|'md'|'lg'|'display-6'|'display-5'|'display-4'|'display-3'|'display-2'|'display-1'} size - Text size: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' on the body scale (default: 'md'), or 'display-6' to 'display-1' for large letters that are not a heading, from small to large
|
|
44
46
|
* @attr {string} sm-custom-size - A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the text without its size, the floor included. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so text made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size`
|
|
45
47
|
* @attr {string} md-custom-size - The same, at md
|
|
46
48
|
* @attr {string} lg-custom-size - The same, at lg
|
|
47
|
-
* @attr {
|
|
48
|
-
* @attr {
|
|
49
|
-
* @attr {
|
|
50
|
-
* @attr {
|
|
49
|
+
* @attr {'regular'|'medium'|'bold'} weight - Font weight: 'regular' | 'medium' | 'bold' (default: 'regular'). With 'bold' a slotted `<strong>` no longer stands out: there is nothing bolder in the scale.
|
|
50
|
+
* @attr {'flat'|'tight'|'snug'|'loose'} line-height - Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug')
|
|
51
|
+
* @attr {'content'|'secondary'|'accent'|'success'|'warning'|'critical'} color - Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. Each follows the surface the text sits on, through the `--context-content-*` it passes on; an area of your own that sets `color` sets `--context-content-color` too.
|
|
52
|
+
* @attr {'left'|'center'|'right'} horizontal-alignment - Alignment of the text within the block: 'left' | 'center' | 'right' (default: 'left'). Aligns the words; `horizontal-alignment` on nldd-container moves the box.
|
|
51
53
|
*
|
|
52
54
|
* @attr {string} text - The text, when it is plain text. The component draws it as a `<p>`. Content in the slot wins.
|
|
53
55
|
* @slot - Text that is more than plain text, in a `<p>` of your own, or a `<span>` for text that is no paragraph (a label, a number). Inline elements in it look as they do in nldd-rich-text: `<strong>` and `<b>` take the bold weight from the scale, `<em>` and `<i>` are italic, `<a>` is an underlined link, `<code>` sits on a tinted surface in the monospace font, `<mark>` is highlighted, `<q>` is quoted in italics, and an element with `data-mention` is a mention (`<a href="…" data-mention>` as the tinted token, `<span data-mention>` without the tint; write the name without the `@`). Components such as `nldd-tag` are left alone. That styling comes from a global stylesheet, `dist/css/text.css` or `global.css`, which includes it: a shadow root cannot reach inside a slotted element.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../../../src/components/content/text/text.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../../../src/components/content/text/text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAA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AAGlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,SAAS,CAAC,EAAE,CAAC;wCAClD;AAO3B;IALC,QAAQ,CAAC;QACT,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,aAAa;QACxB,SAAS,EAAE,iBAAiB,CAAa,MAAM,CAAC;KAChD,CAAC;4CAC8B;AAGhC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAQ,SAAS,CAAC,EAAE,CAAC;uCACnD;AAOzB;IALC,QAAQ,CAAC;QACT,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,sBAAsB;QACjC,SAAS,EAAE,iBAAiB,CAAsB,MAAM,CAAC;KACzD,CAAC;qDACgD;AAvCtC,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CA6DpB"}
|
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
* there; Safari may still pick a syllable of its own.
|
|
42
42
|
*
|
|
43
43
|
* @element nldd-title
|
|
44
|
+
* @keywords heading, kop, koptekst
|
|
45
|
+
* @related nldd-text, nldd-rich-text
|
|
44
46
|
*
|
|
45
47
|
* @attr {string} size - Visual size of the title, when it should differ from its level: 'display-1' to 'display-6', from large to small (default: the display size of the level). Has no effect without a level
|
|
46
48
|
* @attr {string} sm-custom-size - A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the title without its size, the floor included. For headings use `size`; if a design does not fit the scale, raise it as an issue. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a title made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAUtD,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;AAC1G,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE1C,qBACa,SAAU,SAAQ,UAAU;IACxC,OAAgB,MAAM,0BAAe;IAGrC,IAAI,CAAC,EAAE,SAAS,CAAC;IAGjB,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,IAAI,SAAM;IAGV,cAAc,SAAM;IAGpB,QAAQ,SAAM;IAGd,YAAY,EAAE,YAAY,GAAG,IAAI,CAAQ;IAEzC,gBAAgB;IACP,mBAAmB,UAAS;IACrC,gBAAgB;IACP,kBAAkB,UAAS;IACpC,gBAAgB;IACP,yBAAyB,UAAS;IAC3C,4DAA4D;IACnD,aAAa,EAAE,YAAY,GAAG,IAAI,CAAQ;IACnD,OAAO,CAAC,UAAU,CAAuB;IAEzC,gBAAgB;IAChB,aAAa,GAAI,GAAG,KAAK,KAAG,IAAI,CAG9B;IAEF;;oBAEgB;IACP,iBAAiB,IAAI,IAAI;IAKlC,OAAO,CAAC,SAAS;IAcjB,+EAA+E;IAC/E,OAAO,CAAC,YAAY,CAA2C;IAEtD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAUzC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAQtC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,SAAS,CAAC;KACxB;CACD"}
|
|
@@ -47,6 +47,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
47
47
|
* there; Safari may still pick a syllable of its own.
|
|
48
48
|
*
|
|
49
49
|
* @element nldd-title
|
|
50
|
+
* @keywords heading, kop, koptekst
|
|
51
|
+
* @related nldd-text, nldd-rich-text
|
|
50
52
|
*
|
|
51
53
|
* @attr {string} size - Visual size of the title, when it should differ from its level: 'display-1' to 'display-6', from large to small (default: the display size of the level). Has no effect without a level
|
|
52
54
|
* @attr {string} sm-custom-size - A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the title without its size, the floor included. For headings use `size`; if a design does not fit the scale, raise it as an issue. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a title made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.js","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"title.js","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE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AAE,CAAC,EAAE,CAAC;+CACjF;AAGlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;+CACjF;AAGlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;uCAC5D;AAGV;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;iDAChF;AAGpB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;2CACxD;AAGd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;+CAC7B;AAGhC;IAAR,KAAK,EAAE;sDAA6B;AAE5B;IAAR,KAAK,EAAE;qDAA4B;AAE3B;IAAR,KAAK,EAAE;4DAAmC;AAElC;IAAR,KAAK,EAAE;gDAA2C;AAlCvC,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CAyFrB"}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* `nldd-badge` (a state or a count the system keeps).
|
|
10
10
|
*
|
|
11
11
|
* @element nldd-token
|
|
12
|
+
* @keywords chip, pill, label, label
|
|
13
|
+
* @related nldd-badge, nldd-tag
|
|
12
14
|
*
|
|
13
15
|
* @attr {string} text - Token text. Content in the default slot wins.
|
|
14
16
|
* @attr {'none' | 'dismiss' | 'menu'} control - Control type (default: 'none')
|
|
@@ -16,11 +18,11 @@
|
|
|
16
18
|
* @attr {string} menu-text - Accessible label for the menu button. Unset, it is `Toon opties voor "{text}"`.
|
|
17
19
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
18
20
|
* @attr {boolean} roving - Inside a roving-focus container (e.g. nldd-token-field): the host is the single tab stop, so the trailing control is not separately tabbable.
|
|
19
|
-
* @attr {boolean} expanded - Reflects whether the token's menu is open (control="menu"); managed by the token.
|
|
21
|
+
* @attr {boolean} expanded - Reflects whether the token's menu or popover is open (control="menu"); managed by the token.
|
|
20
22
|
* @attr {boolean} disabled - Disabled state. Avoid it where you can; the design guidelines say why.
|
|
21
23
|
*
|
|
22
24
|
* @slot - Token text. Wins over `text`.
|
|
23
|
-
* @slot menu - An nldd-menu that the token opens from its menu button (control="menu").
|
|
25
|
+
* @slot menu - An nldd-menu or nldd-popover that the token opens from its menu button (control="menu"). A menu holds actions or a choice of values; a popover holds what a menu cannot, such as a field to edit the value in. The button says which kind it opens.
|
|
24
26
|
*
|
|
25
27
|
* @fires dismiss - When the dismiss button is clicked
|
|
26
28
|
*/
|
|
@@ -41,11 +43,13 @@ export declare class NLDDToken extends LitElement {
|
|
|
41
43
|
translations: Partial<NLDDTokenTranslations>;
|
|
42
44
|
/** Inside a roving-focus container (e.g. nldd-token-field): the host carries the
|
|
43
45
|
* single tab stop and manages focus itself, so the trailing control (dismiss or
|
|
44
|
-
* menu) is taken out of the tab order
|
|
46
|
+
* menu) is taken out of the tab order. It stays reachable by mouse and by the
|
|
45
47
|
* host's own key handlers. */
|
|
46
48
|
roving: boolean;
|
|
47
49
|
expanded: boolean;
|
|
48
50
|
disabled: boolean;
|
|
51
|
+
/** @internal What the menu button opens, for its aria-haspopup. */
|
|
52
|
+
_popupType: 'menu' | 'dialog';
|
|
49
53
|
/** Text of the default slot, kept current for the control labels. */
|
|
50
54
|
private _slotText;
|
|
51
55
|
private _textObserver;
|
|
@@ -55,9 +59,9 @@ export declare class NLDDToken extends LitElement {
|
|
|
55
59
|
get _menuLabel(): string;
|
|
56
60
|
_handleDismiss(e: Event): void;
|
|
57
61
|
private _menuButton?;
|
|
58
|
-
/** Anchors a slotted nldd-menu to the chevron and opens and closes it. */
|
|
62
|
+
/** Anchors a slotted nldd-menu or nldd-popover to the chevron and opens and closes it. */
|
|
59
63
|
private _menu;
|
|
60
|
-
/** Wire a slotted
|
|
64
|
+
/** Wire a slotted menu or popover: anchor it to the chevron button and mirror its open
|
|
61
65
|
* state onto `expanded`. The menu closes itself on select and on light-dismiss. */
|
|
62
66
|
_onMenuSlotChange(e: Event): void;
|
|
63
67
|
private _handleMenuToggle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.d.ts","sourceRoot":"","sources":["../../../../src/components/content/token/token.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"token.d.ts","sourceRoot":"","sources":["../../../../src/components/content/token/token.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGjC,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAIjE,OAAO,EAAyB,KAAK,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAGpF,OAAO,4CAA4C,CAAC;AAIpD,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAEvD,qBACa,SAAU,SAAQ,UAAU;IACxC,OAAgB,MAAM,0BAAe;IAErC,6EAA6E;IAC7E,SAAS,cAAyB;IAElC,oDAAoD;IAEpD,IAAI,SAAM;IAGV,OAAO,EAAE,YAAY,CAAU;IAG/B,WAAW,SAAM;IAGjB,QAAQ,SAAM;IAGd,YAAY,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAM;IAElD;;;mCAG+B;IAE/B,MAAM,UAAS;IAGf,QAAQ,UAAS;IAGjB,QAAQ,UAAS;IAEjB,mEAAmE;IAEnE,UAAU,EAAE,MAAM,GAAG,QAAQ,CAAU;IAEvC,qEAAqE;IAErE,OAAO,CAAC,SAAS,CAAM;IAEvB,OAAO,CAAC,aAAa,CAAoD;IAEzE,OAAO,CAAC,aAAa;IASd,EAAE,CAAC,GAAG,EAAE,MAAM,qBAAqB,GAAG,MAAM;IAInD,IAAI,aAAa,IAAI,MAAM,CAK1B;IAED,IAAI,UAAU,IAAI,MAAM,CAKvB;IAED,cAAc,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAU9B,OAAO,CAAC,WAAW,CAAC,CAAc;IAElC,0FAA0F;IAC1F,OAAO,CAAC,KAAK,CAUV;IAEH;wFACoF;IACpF,iBAAiB,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAIjC,OAAO,CAAC,iBAAiB,CAUvB;IAEF,4BAA4B,GAAI,GAAG,YAAY,KAAG,IAAI,CAEpD;IAEF,gBAAgB,GAAI,GAAG,UAAU,KAAG,IAAI,CAGtC;IAEO,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAMrC;;uFAEmF;IACnF,OAAO,CAAC,kBAAkB,CAOxB;IAEF;;;0FAGsF;IAC7E,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAKnC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,SAAS,CAAC;KACxB;CACD"}
|
|
@@ -15,6 +15,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
15
15
|
* `nldd-badge` (a state or a count the system keeps).
|
|
16
16
|
*
|
|
17
17
|
* @element nldd-token
|
|
18
|
+
* @keywords chip, pill, label, label
|
|
19
|
+
* @related nldd-badge, nldd-tag
|
|
18
20
|
*
|
|
19
21
|
* @attr {string} text - Token text. Content in the default slot wins.
|
|
20
22
|
* @attr {'none' | 'dismiss' | 'menu'} control - Control type (default: 'none')
|
|
@@ -22,11 +24,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
22
24
|
* @attr {string} menu-text - Accessible label for the menu button. Unset, it is `Toon opties voor "{text}"`.
|
|
23
25
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
24
26
|
* @attr {boolean} roving - Inside a roving-focus container (e.g. nldd-token-field): the host is the single tab stop, so the trailing control is not separately tabbable.
|
|
25
|
-
* @attr {boolean} expanded - Reflects whether the token's menu is open (control="menu"); managed by the token.
|
|
27
|
+
* @attr {boolean} expanded - Reflects whether the token's menu or popover is open (control="menu"); managed by the token.
|
|
26
28
|
* @attr {boolean} disabled - Disabled state. Avoid it where you can; the design guidelines say why.
|
|
27
29
|
*
|
|
28
30
|
* @slot - Token text. Wins over `text`.
|
|
29
|
-
* @slot menu - An nldd-menu that the token opens from its menu button (control="menu").
|
|
31
|
+
* @slot menu - An nldd-menu or nldd-popover that the token opens from its menu button (control="menu"). A menu holds actions or a choice of values; a popover holds what a menu cannot, such as a field to edit the value in. The button says which kind it opens.
|
|
30
32
|
*
|
|
31
33
|
* @fires dismiss - When the dismiss button is clicked
|
|
32
34
|
*/
|
|
@@ -54,22 +56,26 @@ let NLDDToken = class NLDDToken extends LitElement {
|
|
|
54
56
|
this.translations = {};
|
|
55
57
|
/** Inside a roving-focus container (e.g. nldd-token-field): the host carries the
|
|
56
58
|
* single tab stop and manages focus itself, so the trailing control (dismiss or
|
|
57
|
-
* menu) is taken out of the tab order
|
|
59
|
+
* menu) is taken out of the tab order. It stays reachable by mouse and by the
|
|
58
60
|
* host's own key handlers. */
|
|
59
61
|
this.roving = false;
|
|
60
62
|
this.expanded = false;
|
|
61
63
|
this.disabled = false;
|
|
64
|
+
/** @internal What the menu button opens, for its aria-haspopup. */
|
|
65
|
+
this._popupType = 'menu';
|
|
62
66
|
/** Text of the default slot, kept current for the control labels. */
|
|
63
67
|
this._slotText = '';
|
|
64
68
|
this._textObserver = new MutationObserver(() => this._readSlotText());
|
|
65
|
-
/** Anchors a slotted nldd-menu to the chevron and opens and closes it. */
|
|
69
|
+
/** Anchors a slotted nldd-menu or nldd-popover to the chevron and opens and closes it. */
|
|
66
70
|
this._menu = new OverlayInvoker(this, {
|
|
67
71
|
anchorFor: () => this._menuButton ?? this,
|
|
68
72
|
onChange: (menu, previous) => {
|
|
69
73
|
previous?.removeEventListener('toggle', this._handleMenuToggle);
|
|
74
|
+
this._popupType = menu?.localName === 'nldd-popover' ? 'dialog' : 'menu';
|
|
70
75
|
if (!menu)
|
|
71
76
|
return;
|
|
72
|
-
menu.
|
|
77
|
+
if (menu.localName === 'nldd-menu')
|
|
78
|
+
menu.variant = 'menu';
|
|
73
79
|
menu.placement = 'bottom-start';
|
|
74
80
|
menu.addEventListener('toggle', this._handleMenuToggle);
|
|
75
81
|
},
|
|
@@ -143,7 +149,7 @@ let NLDDToken = class NLDDToken extends LitElement {
|
|
|
143
149
|
composed: true,
|
|
144
150
|
}));
|
|
145
151
|
}
|
|
146
|
-
/** Wire a slotted
|
|
152
|
+
/** Wire a slotted menu or popover: anchor it to the chevron button and mirror its open
|
|
147
153
|
* state onto `expanded`. The menu closes itself on select and on light-dismiss. */
|
|
148
154
|
_onMenuSlotChange(e) {
|
|
149
155
|
this._menu.handleSlotChange(e);
|
|
@@ -196,6 +202,9 @@ __decorate([
|
|
|
196
202
|
__decorate([
|
|
197
203
|
property({ type: Boolean, reflect: true })
|
|
198
204
|
], NLDDToken.prototype, "disabled", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
state()
|
|
207
|
+
], NLDDToken.prototype, "_popupType", void 0);
|
|
199
208
|
__decorate([
|
|
200
209
|
state()
|
|
201
210
|
], NLDDToken.prototype, "_slotText", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.js","sourceRoot":"","sources":["../../../../src/components/content/token/token.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"token.js","sourceRoot":"","sources":["../../../../src/components/content/token/token.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC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AC,sCAAsC,CAAC;8CACZ;AAlFtB,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CAiKrB"}
|
|
@@ -29,7 +29,7 @@ export function tokenTemplate(component) {
|
|
|
29
29
|
text=${component._menuLabel}
|
|
30
30
|
accessible-label=${component._menuLabel}
|
|
31
31
|
tooltip-timing="never"
|
|
32
|
-
popup-type
|
|
32
|
+
popup-type=${component._popupType}
|
|
33
33
|
?no-tab=${component.roving}
|
|
34
34
|
?expanded=${component.expanded}
|
|
35
35
|
?disabled=${component.disabled}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.template.js","sourceRoot":"","sources":["../../../../src/components/content/token/token.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAGpD;2DAC2D;AAC3D,MAAM,UAAU,aAAa,CAAC,SAAoB;IACjD,OAAO,IAAI,CAAA;;+BAEmB,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,qBAAqB,SAAS,CAAC,SAAS,CAAC,QAAQ;KAC7H,SAAS,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;aAM9B,SAAS,CAAC,aAAa;yBACX,SAAS,CAAC,aAAa;;gBAEhC,SAAS,CAAC,MAAM;kBACd,SAAS,CAAC,QAAQ;eACrB,SAAS,CAAC,cAAc;;;IAGnC,CAAC,CAAC,CAAC,OAAO;KACT,SAAS,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;aAM3B,SAAS,CAAC,UAAU;yBACR,SAAS,CAAC,UAAU
|
|
1
|
+
{"version":3,"file":"token.template.js","sourceRoot":"","sources":["../../../../src/components/content/token/token.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAGpD;2DAC2D;AAC3D,MAAM,UAAU,aAAa,CAAC,SAAoB;IACjD,OAAO,IAAI,CAAA;;+BAEmB,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,qBAAqB,SAAS,CAAC,SAAS,CAAC,QAAQ;KAC7H,SAAS,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;aAM9B,SAAS,CAAC,aAAa;yBACX,SAAS,CAAC,aAAa;;gBAEhC,SAAS,CAAC,MAAM;kBACd,SAAS,CAAC,QAAQ;eACrB,SAAS,CAAC,cAAc;;;IAGnC,CAAC,CAAC,CAAC,OAAO;KACT,SAAS,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;aAM3B,SAAS,CAAC,UAAU;yBACR,SAAS,CAAC,UAAU;;mBAE1B,SAAS,CAAC,UAAU;gBACvB,SAAS,CAAC,MAAM;kBACd,SAAS,CAAC,QAAQ;kBAClB,SAAS,CAAC,QAAQ;qBACf,SAAS,CAAC,4BAA4B;eAC5C,SAAS,CAAC,gBAAgB;;;IAGrC,CAAC,CAAC,CAAC,OAAO;;IAEV,SAAS,CAAC,OAAO,KAAK,MAAM;QAC7B,CAAC,CAAC,IAAI,CAAA,iCAAiC,SAAS,CAAC,iBAAiB,UAAU;QAC5E,CAAC,CAAC,OAAO;EACV,CAAC;AACH,CAAC"}
|
|
@@ -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).
|
|
@@ -76,11 +78,22 @@ export declare class NLDDTooltip extends LitElement {
|
|
|
76
78
|
/** Refreshes the description when shortcuts become available or unavailable, for the shortcut in it. */
|
|
77
79
|
private _shortcutAvailability;
|
|
78
80
|
private _positionVersion;
|
|
81
|
+
private _stopScroll?;
|
|
82
|
+
private _fadeTimer?;
|
|
83
|
+
private _pressed;
|
|
84
|
+
/** What can clip the trigger, found once per showing: every scroll repositions. */
|
|
85
|
+
private _boundary?;
|
|
86
|
+
/** The text it fades out with. Feedback such as "Gekopieerd" turns back
|
|
87
|
+
* into its label as it goes, and the label flashed in the fade. */
|
|
88
|
+
_fadingText?: string;
|
|
89
|
+
/** The text it shows: the one it had while it fades out. */
|
|
90
|
+
get _shownText(): string;
|
|
79
91
|
private _interest;
|
|
80
92
|
/** The delays are tokens, so a consumer can tune them from CSS. */
|
|
81
93
|
private _delay;
|
|
82
94
|
connectedCallback(): void;
|
|
83
95
|
firstUpdated(): void;
|
|
96
|
+
willUpdate(changed: PropertyValues): void;
|
|
84
97
|
updated(changed: PropertyValues): void;
|
|
85
98
|
private _syncAriaDescribedBy;
|
|
86
99
|
private _getTriggerElement;
|
|
@@ -90,15 +103,23 @@ export declare class NLDDTooltip extends LitElement {
|
|
|
90
103
|
private get _hasContent();
|
|
91
104
|
_handleTriggerEnter(): void;
|
|
92
105
|
_handleFocusIn(): void;
|
|
106
|
+
/** A press on the trigger, until the pointer lets go or focus leaves: a release can get lost. */
|
|
107
|
+
_handleTriggerPress(): void;
|
|
108
|
+
private _release;
|
|
93
109
|
_handleTriggerLeave(): void;
|
|
94
110
|
/** Focus guard checks one shadow root level deep for composite triggers. */
|
|
95
111
|
_handleFocusOut(e: FocusEvent): void;
|
|
96
112
|
_handleTriggerActivate(): void;
|
|
97
113
|
_handleTooltipEnter(): void;
|
|
98
114
|
_handleTooltipLeave(): void;
|
|
115
|
+
private _listenToScroll;
|
|
116
|
+
/** It fades out beside its trigger, with the text it had. Stopped at once,
|
|
117
|
+
* it stood still on the screen while the page scrolled on under it. */
|
|
118
|
+
private _afterFade;
|
|
99
119
|
/** A hover tooltip goes when the page scrolls: it is fixed to the screen,
|
|
100
120
|
* and the pointer leaves its trigger without a mouseleave until the
|
|
101
|
-
* scrolling stops. One shown by focus or `open` follows its trigger
|
|
121
|
+
* scrolling stops. One shown by focus or `open` follows its trigger, and
|
|
122
|
+
* so does one that is fading out. */
|
|
102
123
|
private _handleScroll;
|
|
103
124
|
private _handleKeyDown;
|
|
104
125
|
private _updatePosition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.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