@nldd/design-system 0.29.3 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +461 -208
- package/dist/assets/styles/shadow-resets.d.ts +22 -7
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +30 -1
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/assets/styles/text-wrap.d.ts +20 -4
- package/dist/assets/styles/text-wrap.d.ts.map +1 -1
- package/dist/assets/styles/text-wrap.js +27 -5
- package/dist/assets/styles/text-wrap.js.map +1 -1
- package/dist/cdn/autoloader.js +139 -140
- package/dist/cdn/chunks/{accordion-qIt44RLF.js → accordion-DgR70Lf-.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-Dc6eccrJ.js → accordion-item-BDevWF9t.js} +6 -5
- package/dist/cdn/chunks/{activity-indicator-D3Trvd26.js → activity-indicator-B-iqA8XF.js} +6 -9
- package/dist/cdn/chunks/{admonition-SGAs1_Zu.js → admonition-PKX7ePb3.js} +6 -5
- package/dist/cdn/chunks/{avatar-vY0iiAzq.js → avatar-Bm_cbn5X.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-6fsYuye5.js → avatar-group-5XxwtbbC.js} +15 -15
- package/dist/cdn/chunks/{badge-D2QCPBU6.js → badge-CpxDQfHS.js} +31 -29
- package/dist/cdn/chunks/{banner-N1LY9uhq.js → banner-Ccc9LgDk.js} +8 -8
- package/dist/cdn/chunks/{bar-split-view-CthxhXh8.js → bar-split-view-0yxggCZe.js} +5 -5
- package/dist/cdn/chunks/{blockquote-C-oSxq4b.js → blockquote-CmbDjlPB.js} +32 -31
- package/dist/cdn/chunks/{box-B_NqS9H1.js → box-DQjgR2YI.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-v-nEtdOp.js → breadcrumbs-C8yzb9pA.js} +6 -6
- package/dist/cdn/chunks/{button-DHLts-vo.js → button-D_KfPyHS.js} +113 -90
- package/dist/cdn/chunks/{button-bar-CPLhSKNo.js → button-bar-f-qcw_zA.js} +3 -3
- package/dist/cdn/chunks/{button-group-BIt4ERX1.js → button-group-Dq3q44jB.js} +2 -2
- package/dist/cdn/chunks/{card--GUIZiTn.js → card-CDT7nkKG.js} +4 -4
- package/dist/cdn/chunks/{cell-Ch6VVWYl.js → cell-B7ksoCyd.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BNI1xGry.js → checkbox-CUReiYVg.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-BPtTyzq-.js → checkbox-field-CkQ8WLSq.js} +8 -8
- package/dist/cdn/chunks/{checkbox-group-DYElCUgt.js → checkbox-group-BpDzGuFk.js} +3 -3
- package/dist/cdn/chunks/{class-map-DwD-ilOn.js → class-map-BQWXee9F.js} +1 -1
- package/dist/cdn/chunks/{code-editor-DEJ-KbPY.js → code-editor-CwLcukqn.js} +15 -5
- package/dist/cdn/chunks/{code-viewer-CIiRvhkZ.js → code-viewer-CvSF5fyg.js} +37 -10
- package/dist/cdn/chunks/{codemirror-input-y7sZIE85.js → codemirror-input-CcaHTu9u.js} +5 -5
- package/dist/cdn/chunks/{collection-Cb7Ej5Ua.js → collection-DqqkdrVS.js} +8 -8
- package/dist/cdn/chunks/{combo-box-CDqddeN5.js → combo-box-BQ9jS1fP.js} +19 -10
- package/dist/cdn/chunks/{container-DZfSFaA9.js → container-BC5PiMvR.js} +83 -82
- package/dist/cdn/chunks/{custom-element-aLDsY95V.js → custom-element-DGdiDiuN.js} +1 -1
- package/dist/cdn/chunks/{date-field-C4xutZpO.js → date-field-Dmli_GlI.js} +12 -12
- package/dist/cdn/chunks/{date-picker-CtdRwpu7.js → date-picker-BCHBh6vd.js} +15 -17
- package/dist/cdn/chunks/{decorate-D28R7mwV.js → decorate-D2snH_th.js} +1 -1
- package/dist/cdn/chunks/described-by-mixin-Doan1yj6.js +106 -0
- package/dist/cdn/chunks/{description-cell-BYgUCAev.js → description-cell-QL0CUcxH.js} +7 -7
- package/dist/cdn/chunks/{dev-checks-C6cMs71h.js → dev-checks-BQsZ10CZ.js} +31 -11
- package/dist/cdn/chunks/{directive-helpers-B-J-xMIs.js → directive-helpers-BtIbEaBv.js} +1 -1
- package/dist/cdn/chunks/{dist-CHuLNwDW.js → dist-0sEOO4c9.js} +3 -3
- package/dist/cdn/chunks/{dist-Bo5l49Uq.js → dist-BX-aE56q.js} +1 -1
- package/dist/cdn/chunks/{dist-tBRozql6.js → dist-CJ-hLN4o.js} +2 -2
- package/dist/cdn/chunks/{dist-CSUsf3Jq.js → dist-CUCs0edm.js} +2 -2
- package/dist/cdn/chunks/{dist-BxjZtyyd.js → dist-CeovKDYB.js} +3 -3
- package/dist/cdn/chunks/{dist-Bnz9cU2A.js → dist-CoM5yDHD.js} +1 -1
- package/dist/cdn/chunks/{dist-Dr-gFR08.js → dist-DM49yEzE.js} +2 -2
- package/dist/cdn/chunks/{dist-DKy1SqZx.js → dist-DizTxYTi.js} +1 -1
- package/dist/cdn/chunks/{dist-CIFs0Nqx.js → dist-Dj0pXI2B.js} +1 -1
- package/dist/cdn/chunks/{dist-CON6NKtQ.js → dist-Dtn2rsM6.js} +1 -1
- package/dist/cdn/chunks/{dist-BpXie73W.js → dist-QheJD595.js} +1 -1
- package/dist/cdn/chunks/{divider-CTKk-YoH.js → divider-D8o0JPE2.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-DY_eja8b.js → document-tab-bar-BX6UhFBl.js} +10 -13
- package/dist/cdn/chunks/{dropdown-CruRvMW9.js → dropdown-afozwXVW.js} +5 -5
- package/dist/cdn/chunks/{file-field-D9iNPYKY.js → file-field-BKhUYcHf.js} +108 -106
- package/dist/cdn/chunks/{form-sQRdMSb4.js → form-DnZIiX9b.js} +1 -1
- package/dist/cdn/chunks/{form-actions-BuKwcAbF.js → form-actions-Ddg9vIVq.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-C1rOeFAh.js → form-associated-mixin-BMQQpMlL.js} +2 -2
- package/dist/cdn/chunks/form-field-DDBYuAl_.js +405 -0
- package/dist/cdn/chunks/form-field.i18n-D-3yEP-C.js +6 -0
- package/dist/cdn/chunks/form-section-Co0TM35-.js +78 -0
- package/dist/cdn/chunks/{full-bleed-section-DM0pv5Xt.js → full-bleed-section-DD8ibmsa.js} +3 -3
- package/dist/cdn/chunks/{hero-C8zDTYdo.js → hero-BYrY2MZc.js} +7 -7
- package/dist/cdn/chunks/{icon-CgFQSvEf.js → icon-BzeHXcdi.js} +4 -2
- package/dist/cdn/chunks/{icon-button-ya52TYkO.js → icon-button-BErQf42w.js} +65 -62
- package/dist/cdn/chunks/{icon-cell-DbqWtIl9.js → icon-cell-DGIMXKxK.js} +5 -5
- package/dist/cdn/chunks/{identity-DPerpCOw.js → identity-Cq-WnU6u.js} +30 -27
- package/dist/cdn/chunks/{if-defined-D5G_Kkpm.js → if-defined-CuY6t6gH.js} +1 -1
- package/dist/cdn/chunks/{image-eyP-R4JG.js → image-BjjyqV0V.js} +23 -22
- package/dist/cdn/chunks/{inline-dialog-z7jzLiRx.js → inline-dialog-Bk2G7f5r.js} +24 -23
- package/dist/cdn/chunks/{just-in-time-education-2O-UcSq5.js → just-in-time-education-Dxh5DNCy.js} +5 -5
- package/dist/cdn/chunks/{kanban-Dz3KcfW2.js → kanban-BvmtB9D9.js} +7 -8
- package/dist/cdn/chunks/{kanban-column-DQeIGacj.js → kanban-column-CJ2g7pgA.js} +9 -11
- package/dist/cdn/chunks/{keyboard-shortcut-CUxShTHr.js → keyboard-shortcut-BV5DFQtT.js} +3 -3
- package/dist/cdn/chunks/{languages-D_vPs_jY.js → languages-DJjHEjGl.js} +12 -12
- package/dist/cdn/chunks/{link-emVjLq3i.js → link-BcukwT5Y.js} +6 -6
- package/dist/cdn/chunks/{link-group-Cygt2XBP.js → link-group-Ci1q3uEd.js} +2 -2
- package/dist/cdn/chunks/{list-TKhlBlV_.js → list-CFFHWUSC.js} +9 -9
- package/dist/cdn/chunks/{list-item-D2On2ug1.js → list-item-Bg1NyOXd.js} +12 -13
- package/dist/cdn/chunks/{list-item-segment-XERq2wPj.js → list-item-segment-DJ8pk08-.js} +4 -4
- package/dist/cdn/chunks/{menu-b2UFN5q8.js → menu-BEjqhn1-.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-BJ6PjqmT.js → menu-bar-DkjXy-TE.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-kRxuNXj5.js → menu-bar-item-3cJS29Ey.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-Cpa6JbxR.js → menu-divider-CYmEimsb.js} +3 -3
- package/dist/cdn/chunks/{menu-group-DrwvnJ1C.js → menu-group-ggwAcgis.js} +4 -4
- package/dist/cdn/chunks/{menu-item-D7CoiS88.js → menu-item-BzH9H87h.js} +4 -4
- package/dist/cdn/chunks/{menu.template-BAqqSWm-.js → menu.template-PG82-P20.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-DOZuUmOi.js → modal-dialog-Bu7ETELf.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-CB-rGXUh.js → multi-line-text-field-CQTKNBN7.js} +6 -6
- package/dist/cdn/chunks/{navigation-split-view-Bc5AUAmC.js → navigation-split-view-elMoUjHh.js} +7 -13
- package/dist/cdn/chunks/{nl.generated-B194RR-y.js → nl.generated-Lu29XEF3.js} +1 -1
- package/dist/cdn/chunks/{notification-Cs-f2gLW.js → notification-DCjXGfbY.js} +7 -7
- package/dist/cdn/chunks/{number-field-DqQOrvOA.js → number-field-BUQUcG--.js} +8 -8
- package/dist/cdn/chunks/{one-half-one-half-section-BqiqGK-m.js → one-half-one-half-section-DiGkeUVr.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-3LPjeo2n.js → one-third-two-thirds-section-q_AP4qIJ.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-CZxm-CQt.js → one-time-code-field-BybS_l6h.js} +9 -10
- package/dist/cdn/chunks/{overflow-menu-DkyYNSg3.js → overflow-menu-Duey_XJs.js} +1 -1
- package/dist/cdn/chunks/{page-DYzfOL9K.js → page-BrIeWp1b.js} +46 -45
- package/dist/cdn/chunks/{page-footer-ChNrnN3t.js → page-footer-DPQg9Qbw.js} +5 -5
- package/dist/cdn/chunks/{page-section-mixin-7d4JVDUI.js → page-section-mixin-B8FbeXaK.js} +3 -3
- package/dist/cdn/chunks/{pagination-CYl78pZT.js → pagination-CfLJwflH.js} +37 -36
- package/dist/cdn/chunks/{password-field-Bg1lsru6.js → password-field-CmoopbNF.js} +36 -35
- package/dist/cdn/chunks/{popover-jP9P86r3.js → popover-CPAR4N_a.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-C08-J2b3.js → progress-bar-vKGXvxfe.js} +10 -11
- package/dist/cdn/chunks/{progress-circle-_NDiM4Vw.js → progress-circle-dweisHzt.js} +8 -8
- package/dist/cdn/chunks/{radio-button-OdrY0lUT.js → radio-button-DE1K49_2.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-C8XD59fa.js → radio-button-field-DCrWiVoA.js} +7 -7
- package/dist/cdn/chunks/{radio-button-group-C7ntRQO7.js → radio-button-group-oLP_1cGy.js} +3 -3
- package/dist/cdn/chunks/{render-marked-Cdt8DyWh.js → render-marked-BE3kBc1D.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-C6q1_RaE.js → reorder-handle-cell-COCN6knt.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-mJLOiHhZ.js → reorder-handle-mixin-CG-KhmuT.js} +2 -2
- package/dist/cdn/chunks/{repeat-DLQZAi6Q.js → repeat-D69H_dsv.js} +2 -2
- package/dist/cdn/chunks/{rich-text-CR5iRjCn.js → rich-text-jEyIU58i.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BUn7AC4_.js → row-header-mixin-BejxhOCs.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-B7Gy3Bmm.js → scroll-fade-Cae9xqXr.js} +2 -2
- package/dist/cdn/chunks/{search-field-B62sYRtl.js → search-field-B8woxFh-.js} +40 -37
- package/dist/cdn/chunks/{segmented-control-VU38x7xX.js → segmented-control-DbOi6Wk6.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-uUyDr3ia.js → shadow-resets-CNmJbdJw.js} +26 -11
- package/dist/cdn/chunks/{sheet-jMZkPdlu.js → sheet-bK663_K4.js} +3 -3
- package/dist/cdn/chunks/{shell-2Wa4Waez.js → shell-DLu1fHOH.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-v6riuRqk.js → side-by-side-split-view-vNhUmTiE.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-D3Zy_9y1.js → sidebar-section-CoE5F_h5.js} +8 -8
- package/dist/cdn/chunks/{simple-section-kCKeHqmt.js → simple-section-1v7a_ZgI.js} +3 -3
- package/dist/cdn/chunks/{skip-link-BeoObN4D.js → skip-link-C6B6mMkA.js} +5 -5
- package/dist/cdn/chunks/{slider-BSALXKxX.js → slider-BT-q6SP2.js} +12 -16
- package/dist/cdn/chunks/{spacer-CXXmb3su.js → spacer-DlFn3NtV.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-BV9uv10a.js → spacer-cell-Dy_twSDQ.js} +4 -4
- package/dist/cdn/chunks/{split-button-DE4NaJZs.js → split-button-URHM5eTx.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-BqLSYIwg.js → split-view-divider-DeLyeDBx.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-CPCCQhHV.js → stacked-split-view-D0kiQJmL.js} +4 -4
- package/dist/cdn/chunks/{static-html-DtH5-I4g.js → static-html-CAKb1-Ht.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CBi4aCqy.js → status-bar-Bov-LrPy.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BFzioHLn.js → step-bar-BLtsl_S_.js} +6 -6
- package/dist/cdn/chunks/{step-cell-fNIdX1cI.js → step-cell-cxM7vhtH.js} +5 -5
- package/dist/cdn/chunks/{stepper-CgmgV0qw.js → stepper-DeIcLT7G.js} +7 -7
- package/dist/cdn/chunks/{style-map-DhI1E0EI.js → style-map-CQX4CmTz.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BYb0cq8H.js → swatch-picker-A7AU6Agu.js} +6 -6
- package/dist/cdn/chunks/{switch-fRxqZBKc.js → switch-D0UPsKws.js} +5 -5
- package/dist/cdn/chunks/{switch-field-BH6xhWUz.js → switch-field-D63lc5C0.js} +7 -7
- package/dist/cdn/chunks/{tab-bar-B66obS2x.js → tab-bar-CzGSRfKd.js} +8 -8
- package/dist/cdn/chunks/{table-s8GDKuuW.js → table-DfunY2Dn.js} +5 -5
- package/dist/cdn/chunks/{tag-TE8mlX1U.js → tag-DSWjjDBo.js} +5 -5
- package/dist/cdn/chunks/{term-Cm9BrUtJ.js → term-Bk9cdlCz.js} +12 -12
- package/dist/cdn/chunks/{text-DEk52Hq2.js → text-CDBiVulh.js} +4 -4
- package/dist/cdn/chunks/{text-cell-DxzojZsc.js → text-cell-DUOJAXZo.js} +40 -37
- package/dist/cdn/chunks/{text-editor-C_8jEhF2.js → text-editor-BIbYF0AB.js} +22 -12
- package/dist/cdn/chunks/{text-field-BgPlCLFl.js → text-field-CAnQNcXB.js} +6 -6
- package/dist/cdn/chunks/{text-wrap-DjzB16-4.js → text-wrap-COu7AY91.js} +13 -5
- package/dist/cdn/chunks/{time-field-Sde0_8NH.js → time-field-xriXgFMl.js} +14 -14
- package/dist/cdn/chunks/{time-picker-CZbLW9ap.js → time-picker-D3_KbYUW.js} +6 -6
- package/dist/cdn/chunks/{title-v-FXk0hs.js → title-HPn4c-s5.js} +5 -5
- package/dist/cdn/chunks/{title-cell-Bv9b6G_p.js → title-cell-BXMZkbXf.js} +51 -48
- package/dist/cdn/chunks/{toggle-button-DWlS9Rbg.js → toggle-button-DY22KEwY.js} +72 -56
- package/dist/cdn/chunks/{toggle-button-group-CetB0Cio.js → toggle-button-group-DsjZofEG.js} +2 -2
- package/dist/cdn/chunks/{token-BXJXjQwc.js → token-DwT2i71b.js} +5 -5
- package/dist/cdn/chunks/{token-field-CsxYfu8b.js → token-field-CQxSARGi.js} +11 -11
- package/dist/cdn/chunks/{toolbar-CUWVCKM6.js → toolbar-CaDvhCqm.js} +69 -68
- package/dist/cdn/chunks/{toolbar-item-BxzbSJdv.js → toolbar-item-BDl4ys-w.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-C4qJ_fkM.js → toolbar-title-yGR8Hzhp.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-D9FuZFnd.js → toolbar.styles-DlyfZkRq.js} +3 -3
- package/dist/cdn/chunks/{tooltip-D5XT5lRe.js → tooltip-BDiYghAz.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-C3azLUd1.js → top-navigation-bar-ibsjezN_.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-D1m-dREA.js → top-title-bar-BKdwEZfj.js} +6 -6
- package/dist/cdn/chunks/{two-thirds-one-third-section-D3VEGv6P.js → two-thirds-one-third-section-DmumCsGo.js} +3 -3
- package/dist/cdn/chunks/{validation-list-D7tDyaoK.js → validation-list-CXcJfvOJ.js} +61 -49
- package/dist/cdn/chunks/{visibility-mixin-D2VzUDfE.js → visibility-mixin-C7s59UlL.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CSYlyubF.js → visually-hidden-CMzKHcSc.js} +2 -2
- package/dist/cdn/chunks/{window-6IQfu4dU.js → window-CSNx5wt1.js} +4 -4
- package/dist/cdn/chunks/{with-translations-Dr6Z41n9.js → with-translations-0oyNXfdD.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +26 -7
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +7 -5
- package/dist/components/actions/button/button.template.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 -2
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +2 -1
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.js +1 -0
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +1 -0
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.template.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.template.js +2 -1
- package/dist/components/content/blockquote/blockquote.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +30 -3
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +4 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +8 -5
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +8 -5
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +4 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +9 -8
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +4 -2
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +4 -2
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.d.ts +2 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +2 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +138 -73
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.d.ts +1 -0
- package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.js +2 -0
- package/dist/components/forms/form-field/form-field.i18n.js.map +1 -1
- package/dist/components/forms/form-field/form-field.js +317 -149
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts +0 -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 +18 -97
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.template.d.ts +0 -2
- package/dist/components/forms/form-field/form-field.template.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.template.js +22 -15
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +40 -16
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +47 -183
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/forms/form-section/form-section.styles.d.ts +2 -0
- package/dist/components/forms/form-section/form-section.styles.d.ts.map +1 -0
- package/dist/components/forms/form-section/form-section.styles.js +44 -0
- package/dist/components/forms/form-section/form-section.styles.js.map +1 -0
- package/dist/components/forms/form-section/form-section.template.d.ts +4 -0
- package/dist/components/forms/form-section/form-section.template.d.ts.map +1 -0
- package/dist/components/forms/form-section/form-section.template.js +19 -0
- package/dist/components/forms/form-section/form-section.template.js.map +1 -0
- package/dist/components/forms/validation-list/validation-list.d.ts +36 -6
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +75 -15
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.template.d.ts +1 -1
- package/dist/components/forms/validation-list/validation-list.template.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.template.js +2 -2
- package/dist/components/forms/validation-list/validation-list.template.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +10 -0
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +10 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +4 -6
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +3 -2
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +8 -8
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.d.ts +4 -3
- package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.js +8 -5
- package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +2 -1
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +3 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +7 -6
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/slider/slider.template.js +2 -2
- package/dist/components/inputs/slider/slider.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +10 -0
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +18 -3
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -3
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/layout/container/container.template.d.ts.map +1 -1
- package/dist/components/layout/container/container.template.js +2 -1
- package/dist/components/layout/container/container.template.js.map +1 -1
- package/dist/components/layout/kanban/kanban-column.template.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban-column.template.js +5 -7
- package/dist/components/layout/kanban/kanban-column.template.js.map +1 -1
- package/dist/components/layout/kanban/kanban.template.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.template.js +2 -3
- package/dist/components/layout/kanban/kanban.template.js.map +1 -1
- package/dist/components/layout/page/page.template.d.ts.map +1 -1
- package/dist/components/layout/page/page.template.js +3 -2
- package/dist/components/layout/page/page.template.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -0
- 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 +11 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -2
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +13 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +13 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +8 -4
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +8 -4
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +7 -8
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +3 -2
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +2 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.js +3 -7
- package/dist/components/status-and-feedback/badge/badge.template.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +3 -4
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +2 -3
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +1 -1
- package/dist/css/form.css +14 -0
- package/dist/css/global-open-font.css +0 -1
- package/dist/css/global.css +0 -1
- package/dist/css/rich-text.css +16 -4
- package/dist/css/text.css +3 -1
- package/dist/css/title.css +3 -1
- package/dist/css/variables.css +5 -0
- package/dist/nldd.min.js +1905 -1798
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +1 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +18 -23
- package/dist/types/vue.d.ts +77 -82
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +0 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +36 -1
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +132 -8
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +32 -13
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/file-name-breaks.d.ts +13 -0
- package/dist/utilities/file-name-breaks.d.ts.map +1 -0
- package/dist/utilities/file-name-breaks.js +27 -0
- package/dist/utilities/file-name-breaks.js.map +1 -0
- package/dist/utilities/same-items.d.ts +10 -0
- package/dist/utilities/same-items.d.ts.map +1 -0
- package/dist/utilities/same-items.js +14 -0
- package/dist/utilities/same-items.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +49 -6
- package/lint/rule-compiler.js +7 -3
- package/lint/rule.schema.json +12 -0
- package/package.json +2 -1
- package/dist/cdn/chunks/described-by-mixin-k3KNxaZ2.js +0 -62
- package/dist/cdn/chunks/form-field-BF-6cws6.js +0 -434
- package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +0 -3
- package/dist/cdn/chunks/form-section-Cp9xiFew.js +0 -64
- package/dist/css/form-section.css +0 -104
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { n as r, r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-D2snH_th.js";
|
|
2
|
+
import { n as r, r as i, s as a } from "./custom-element-DGdiDiuN.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
4
|
+
import { a as s, i as c, r as l } from "./described-by-mixin-Doan1yj6.js";
|
|
5
|
+
import { r as u } from "./text-wrap-COu7AY91.js";
|
|
6
|
+
import { i as d, r as f } from "./element-state-D-J_cHEV.js";
|
|
7
|
+
import { t as p } from "./validation-list.i18n-CM6In8zD.js";
|
|
8
|
+
import { t as m } from "./with-translations-0oyNXfdD.js";
|
|
8
9
|
// src/components/forms/validation-list/validation-list.styles.ts
|
|
9
|
-
var
|
|
10
|
+
var h = a`
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
/* # Host */
|
|
@@ -33,7 +34,7 @@ var f = a`
|
|
|
33
34
|
flex-direction: column;
|
|
34
35
|
gap: var(--_validation-list-gap);
|
|
35
36
|
}
|
|
36
|
-
`,
|
|
37
|
+
`, g = a`
|
|
37
38
|
|
|
38
39
|
|
|
39
40
|
/* # Host */
|
|
@@ -46,7 +47,7 @@ var f = a`
|
|
|
46
47
|
--context-content-color: var(--_validation-item-content-color);
|
|
47
48
|
color: var(--_validation-item-content-color);
|
|
48
49
|
font: var(--_validation-item-font);
|
|
49
|
-
${
|
|
50
|
+
${u}
|
|
50
51
|
text-wrap: pretty;
|
|
51
52
|
}
|
|
52
53
|
|
|
@@ -65,22 +66,22 @@ var f = a`
|
|
|
65
66
|
}
|
|
66
67
|
`;
|
|
67
68
|
// src/components/forms/validation-list/validation-list.template.ts
|
|
68
|
-
function
|
|
69
|
+
function _(e) {
|
|
69
70
|
return t`
|
|
70
71
|
<div class="validation-list"
|
|
71
72
|
role="list"
|
|
72
73
|
>
|
|
73
|
-
<slot></slot>
|
|
74
|
+
<slot @slotchange=${() => e.requestUpdate()}></slot>
|
|
74
75
|
</div>
|
|
75
76
|
`;
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
+
function v(e) {
|
|
78
79
|
return t`
|
|
79
80
|
<slot></slot>
|
|
80
81
|
`;
|
|
81
82
|
}
|
|
82
83
|
// src/components/forms/validation-list/validation-list.ts
|
|
83
|
-
var
|
|
84
|
+
var y = class extends e {
|
|
84
85
|
constructor(...e) {
|
|
85
86
|
super(...e), this.hint = !1, this.unmet = !1, this.visible = !1, this.match = "", this.required = !1;
|
|
86
87
|
}
|
|
@@ -94,8 +95,8 @@ var g = class extends e {
|
|
|
94
95
|
super.connectedCallback(), this.setAttribute("role", "listitem");
|
|
95
96
|
}
|
|
96
97
|
updated(e) {
|
|
97
|
-
let t = this.parentElement instanceof
|
|
98
|
-
e.has("unmet") &&
|
|
98
|
+
let t = this.parentElement instanceof S ? this.parentElement : null;
|
|
99
|
+
e.has("unmet") && d(this, "unmet", this.unmet), e.has("visible") && d(this, "visible", this.visible), [
|
|
99
100
|
"match",
|
|
100
101
|
"minlength",
|
|
101
102
|
"maxlength",
|
|
@@ -103,56 +104,67 @@ var g = class extends e {
|
|
|
103
104
|
].some((t) => e.has(t)) && t?.requestUpdate();
|
|
104
105
|
}
|
|
105
106
|
render() {
|
|
106
|
-
return
|
|
107
|
+
return v(this);
|
|
107
108
|
}
|
|
108
|
-
},
|
|
109
|
+
}, b, x = (y.styles = g, y);
|
|
109
110
|
n([i({
|
|
110
111
|
type: Boolean,
|
|
111
112
|
reflect: !0
|
|
112
|
-
})],
|
|
113
|
+
})], x.prototype, "hint", void 0), n([i({ attribute: !1 })], x.prototype, "unmet", void 0), n([i({ attribute: !1 })], x.prototype, "visible", void 0), n([i({ type: Number })], x.prototype, "minlength", void 0), n([i({ type: Number })], x.prototype, "maxlength", void 0), n([i({ type: String })], x.prototype, "match", void 0), n([i({
|
|
113
114
|
type: Boolean,
|
|
114
115
|
reflect: !0
|
|
115
|
-
})],
|
|
116
|
-
var
|
|
116
|
+
})], x.prototype, "required", void 0), x = n([o("nldd-validation-item")], x);
|
|
117
|
+
var S = (b = class extends m(e, p) {
|
|
117
118
|
constructor(...e) {
|
|
118
|
-
super(...e), this.hint = !1, this.judging = !1, this.for = "", this.control = null, this.
|
|
119
|
+
super(...e), this.hint = !1, this.judging = !1, this.for = "", this.control = null, this.describes = void 0, this.judgedBy = [], this._described = null, this._resolved = null, this._observer = null, this._onInput = () => this._evaluate(), this._fallbackItem = null, this._observing = [];
|
|
119
120
|
}
|
|
120
121
|
connectedCallback() {
|
|
121
|
-
super.connectedCallback(), this._resolve();
|
|
122
|
+
super.connectedCallback(), this._resolve(), this.hasUpdated && this.requestUpdate();
|
|
122
123
|
}
|
|
123
124
|
disconnectedCallback() {
|
|
124
|
-
super.disconnectedCallback(), this._detach();
|
|
125
|
+
super.disconnectedCallback(), this._detach(), this._describe([]);
|
|
125
126
|
}
|
|
126
127
|
willUpdate(e) {
|
|
127
|
-
(e.has("for") || e.has("control")) && this._resolve(), this._latchJudging();
|
|
128
|
+
(e.has("for") || e.has("control") || e.has("judgedBy")) && this._resolve(), this._latchJudging();
|
|
128
129
|
}
|
|
129
130
|
updated() {
|
|
130
131
|
this._evaluate();
|
|
131
132
|
}
|
|
132
133
|
_latchJudging() {
|
|
133
|
-
this.
|
|
134
|
+
this._watched().some((e) => e.hasAttribute("invalid")) && (this.judging = !0);
|
|
135
|
+
}
|
|
136
|
+
_watched() {
|
|
137
|
+
let e = this._resolved ? [this._resolved] : [];
|
|
138
|
+
return this.for ? e : [...e, ...this.judgedBy.filter((e) => e !== this._resolved)];
|
|
134
139
|
}
|
|
135
140
|
render() {
|
|
136
|
-
return
|
|
141
|
+
return _(this);
|
|
137
142
|
}
|
|
138
143
|
get _items() {
|
|
139
|
-
return Array.from(this.children).filter((e) => e instanceof
|
|
144
|
+
return Array.from(this.children).filter((e) => e instanceof x && e !== this._fallbackItem);
|
|
140
145
|
}
|
|
141
146
|
_resolve() {
|
|
142
|
-
let e = this.getRootNode(), t = this.for ? e.getElementById?.(this.for) ?? null : this.control;
|
|
143
|
-
t === this._resolved && this._observer
|
|
144
|
-
this.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
147
|
+
let e = this.getRootNode(), t = this.for ? e.getElementById?.(this.for) ?? null : this.control, n = [...new Set([t, ...this.for ? [] : this.judgedBy].filter((e) => !!e))];
|
|
148
|
+
if (!(t === this._resolved && this._observer && s(n, this._observing)) && (this._detach(), this._resolved = t, t)) {
|
|
149
|
+
t.addEventListener("input", this._onInput), this._observer = new MutationObserver(() => {
|
|
150
|
+
this._latchJudging(), this._evaluate();
|
|
151
|
+
}), this._observing = n;
|
|
152
|
+
for (let e of this._observing) this._observer.observe(e, {
|
|
153
|
+
attributes: !0,
|
|
154
|
+
attributeFilter: [
|
|
155
|
+
"invalid",
|
|
156
|
+
"unmet",
|
|
157
|
+
"required"
|
|
158
|
+
]
|
|
159
|
+
});
|
|
160
|
+
}
|
|
153
161
|
}
|
|
154
162
|
_detach() {
|
|
155
|
-
this._resolved?.removeEventListener("input", this._onInput), this._observer?.disconnect(), this._observer = null;
|
|
163
|
+
this._resolved?.removeEventListener("input", this._onInput), this._observer?.disconnect(), this._observer = null, this._observing = [];
|
|
164
|
+
}
|
|
165
|
+
_describe(e) {
|
|
166
|
+
let t = this.isConnected ? this.describes === void 0 ? this._resolved : this.describes : null;
|
|
167
|
+
this._described && this._described !== t && c(this._described, this), this._described = t, t && l(t, this, "validation", e);
|
|
156
168
|
}
|
|
157
169
|
_currentValue() {
|
|
158
170
|
if (this.value !== void 0) return this.value;
|
|
@@ -160,13 +172,13 @@ var y = (_ = class extends d(e, u) {
|
|
|
160
172
|
return e?.value === void 0 || e.value === null ? "" : String(e.value);
|
|
161
173
|
}
|
|
162
174
|
_evaluate() {
|
|
163
|
-
let e = this._resolved, t = e
|
|
164
|
-
for (let e of
|
|
165
|
-
let
|
|
166
|
-
a !== null &&
|
|
175
|
+
let e = this._resolved, t = this._watched(), n = t.some((e) => e.hasAttribute("invalid")), r = t.flatMap((e) => (e.getAttribute("unmet") ?? "").split(" ").filter(Boolean)), i = this._currentValue(), a = this._items, o = a.some((e) => e.required) || !!e?.required || (e?.hasAttribute("required") ?? !1), s = i === "" && !o, c = !1, l = !1, u = !1, d = [];
|
|
176
|
+
for (let e of a) {
|
|
177
|
+
let t = e.test(i), a = t !== null && s ? !0 : t, o = a === null ? r.includes(e.id) : !a;
|
|
178
|
+
a !== null && r.includes(e.id) && (u = !0), e.unmet = n && o, e.visible = e.unmet || !this.judging && (e.hint || this.hint), e.visible && (c = !0), a === !1 && (l = !0, d.push(e.textContent?.trim() ?? ""));
|
|
167
179
|
}
|
|
168
|
-
let
|
|
169
|
-
this._syncFallbackItem(
|
|
180
|
+
let p = n && !a.some((e) => e.unmet) ? this._fallbackText() : "";
|
|
181
|
+
this._syncFallbackItem(p), this._describe([...a, ...this._fallbackItem ? [this._fallbackItem] : []].filter((e) => e.visible)), this.classList.toggle("has-items", c || !!p), f(this, "rule-and-unmet", u), this._reportValidity(l, d);
|
|
170
182
|
}
|
|
171
183
|
_syncFallbackItem(e) {
|
|
172
184
|
e ? (this._fallbackItem || (this._fallbackItem = document.createElement("nldd-validation-item"), this._fallbackItem.toggleAttribute("data-fallback", !0)), this._fallbackItem.textContent !== e && (this._fallbackItem.textContent = e), this._fallbackItem.unmet = !0, this._fallbackItem.visible = !0, this._fallbackItem.parentElement !== this && this.append(this._fallbackItem)) : (this._fallbackItem?.remove(), this._fallbackItem = null);
|
|
@@ -184,12 +196,12 @@ var y = (_ = class extends d(e, u) {
|
|
|
184
196
|
let n = this._resolved;
|
|
185
197
|
n?.setCustomValidity && n.setCustomValidity(e ? t.filter(Boolean).join(". ") : "");
|
|
186
198
|
}
|
|
187
|
-
},
|
|
199
|
+
}, b.styles = h, b);
|
|
188
200
|
n([i({
|
|
189
201
|
type: Boolean,
|
|
190
202
|
reflect: !0
|
|
191
|
-
})],
|
|
203
|
+
})], S.prototype, "hint", void 0), n([i({
|
|
192
204
|
type: Boolean,
|
|
193
205
|
reflect: !0
|
|
194
|
-
})],
|
|
195
|
-
export {
|
|
206
|
+
})], S.prototype, "judging", void 0), n([i({ type: String })], S.prototype, "for", void 0), n([i({ attribute: !1 })], S.prototype, "control", void 0), n([i({ attribute: !1 })], S.prototype, "value", void 0), n([i({ attribute: !1 })], S.prototype, "describes", void 0), n([i({ attribute: !1 })], S.prototype, "judgedBy", void 0), n([r()], S.prototype, "_resolved", void 0), S = n([o("nldd-validation-list")], S);
|
|
207
|
+
export { x as NLDDValidationItem, S as NLDDValidationList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e, r as t, s as n } from "./custom-element-
|
|
2
|
-
import { t as r } from "./decorate-
|
|
1
|
+
import { c as e, r as t, s as n } from "./custom-element-DGdiDiuN.js";
|
|
2
|
+
import { t as r } from "./decorate-D2snH_th.js";
|
|
3
3
|
import { n as i } from "./breakpoints-Cwor8TRP.js";
|
|
4
4
|
// src/utilities/visibility-mixin.styles.ts
|
|
5
5
|
var a = e(i.smMax), o = e(i.mdMin), s = e(i.mdMax), c = e(i.lgMin), l = /* @__PURE__ */ new Map();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { s as r } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-D2snH_th.js";
|
|
2
|
+
import { s as r } from "./custom-element-DGdiDiuN.js";
|
|
3
3
|
import { t as i } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
// src/components/content/visually-hidden/visually-hidden.styles.ts
|
|
5
5
|
var a = r`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { r, s as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-D2snH_th.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-DGdiDiuN.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import {
|
|
4
|
+
import { o, t as s } from "./shadow-resets-CNmJbdJw.js";
|
|
5
5
|
import { t as c } from "./window.i18n-CsEnUPAk.js";
|
|
6
6
|
import { t as l } from "./title-bar-label-controller-DHJwXI9W.js";
|
|
7
7
|
import { t as u } from "./modal-overlay-Bx0bYzF3.js";
|
|
8
|
-
import { t as d } from "./with-translations-
|
|
8
|
+
import { t as d } from "./with-translations-0oyNXfdD.js";
|
|
9
9
|
import { r as f } from "./element-state-D-J_cHEV.js";
|
|
10
10
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
11
|
// src/components/layout/window/window.styles.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "./custom-element-
|
|
2
|
-
import { t } from "./decorate-
|
|
1
|
+
import { r as e } from "./custom-element-DGdiDiuN.js";
|
|
2
|
+
import { t } from "./decorate-D2snH_th.js";
|
|
3
3
|
// src/utilities/translations.ts
|
|
4
4
|
var n, r = Symbol.for("nldd.translations"), i = (n = globalThis)[r] ?? (n[r] = { translations: {} }), a = /* @__PURE__ */ new WeakSet();
|
|
5
5
|
function o(e, t, n, r) {
|
|
@@ -7,7 +7,7 @@ function o(e, t, n, r) {
|
|
|
7
7
|
if (import.meta.env?.DEV && import.meta.env?.MODE !== "test" && e && !a.has(e)) {
|
|
8
8
|
a.add(e);
|
|
9
9
|
let n = Object.keys(e);
|
|
10
|
-
n.length > 0 && import("./dev-checks-
|
|
10
|
+
n.length > 0 && import("./dev-checks-BQsZ10CZ.js").then(({ checkElementTranslationKeys: e }) => e(n, Object.keys(t)));
|
|
11
11
|
}
|
|
12
12
|
let s = e?.[n] ?? i.translations[o] ?? t[n] ?? o;
|
|
13
13
|
if (r) for (let [e, t] of Object.entries(r)) s = s.split(`{${e}}`).join(String(t));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,yBA0oBxB,CAAC"}
|
|
@@ -19,6 +19,7 @@ export const buttonStyles = css `
|
|
|
19
19
|
--_button-min-size: var(--semantics-controls-md-min-size);
|
|
20
20
|
--_button-block-padding: var(--semantics-controls-md-block-padding);
|
|
21
21
|
--_button-inline-padding: var(--semantics-buttons-md-inline-padding);
|
|
22
|
+
--_button-text-inline-padding: var(--semantics-buttons-md-text-inline-padding);
|
|
22
23
|
--_button-gap: var(--semantics-buttons-md-gap);
|
|
23
24
|
--_button-font: var(--semantics-buttons-md-primary-text-font);
|
|
24
25
|
--_button-icon-size: var(--semantics-buttons-md-icon-size);
|
|
@@ -55,8 +56,10 @@ export const buttonStyles = css `
|
|
|
55
56
|
-webkit-tap-highlight-color: transparent;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
/* iOS opens a link preview on a long press, which is ours here.
|
|
59
|
-
|
|
59
|
+
/* iOS opens a link preview on a long press, which is ours here. A class
|
|
60
|
+
for the slotted popover, as :host(:has()) is not supported and would
|
|
61
|
+
take the whole rule down with it. */
|
|
62
|
+
.button.has-interest,
|
|
60
63
|
:host([interestfor]) .button {
|
|
61
64
|
-webkit-touch-callout: none;
|
|
62
65
|
}
|
|
@@ -66,6 +69,7 @@ export const buttonStyles = css `
|
|
|
66
69
|
--_button-min-size: var(--semantics-controls-xs-min-size);
|
|
67
70
|
--_button-block-padding: var(--semantics-controls-xs-block-padding);
|
|
68
71
|
--_button-inline-padding: var(--semantics-buttons-xs-inline-padding);
|
|
72
|
+
--_button-text-inline-padding: var(--semantics-buttons-xs-text-inline-padding);
|
|
69
73
|
--_button-gap: var(--semantics-buttons-xs-gap);
|
|
70
74
|
--_button-font: var(--semantics-buttons-xs-primary-text-font);
|
|
71
75
|
--_button-icon-size: var(--semantics-buttons-xs-icon-size);
|
|
@@ -78,6 +82,7 @@ export const buttonStyles = css `
|
|
|
78
82
|
--_button-min-size: var(--semantics-controls-sm-min-size);
|
|
79
83
|
--_button-block-padding: var(--semantics-controls-sm-block-padding);
|
|
80
84
|
--_button-inline-padding: var(--semantics-buttons-sm-inline-padding);
|
|
85
|
+
--_button-text-inline-padding: var(--semantics-buttons-sm-text-inline-padding);
|
|
81
86
|
--_button-gap: var(--semantics-buttons-sm-gap);
|
|
82
87
|
--_button-font: var(--semantics-buttons-sm-primary-text-font);
|
|
83
88
|
--_button-icon-size: var(--semantics-buttons-sm-icon-size);
|
|
@@ -90,6 +95,7 @@ export const buttonStyles = css `
|
|
|
90
95
|
--_button-min-size: var(--semantics-controls-lg-min-size);
|
|
91
96
|
--_button-block-padding: var(--semantics-controls-lg-block-padding);
|
|
92
97
|
--_button-inline-padding: var(--semantics-buttons-lg-inline-padding);
|
|
98
|
+
--_button-text-inline-padding: var(--semantics-buttons-lg-text-inline-padding);
|
|
93
99
|
--_button-gap: var(--semantics-buttons-lg-gap);
|
|
94
100
|
--_button-font: var(--semantics-buttons-lg-primary-text-font);
|
|
95
101
|
--_button-icon-size: var(--semantics-buttons-lg-icon-size);
|
|
@@ -398,7 +404,12 @@ export const buttonStyles = css `
|
|
|
398
404
|
min-width: var(--_button-min-size);
|
|
399
405
|
max-width: 100%;
|
|
400
406
|
min-height: var(--_button-min-size);
|
|
401
|
-
|
|
407
|
+
/* A side with an icon is as far from the edge as the icon is from the top
|
|
408
|
+
and bottom. A side that ends in text gets a little more from the padding
|
|
409
|
+
of the text itself (see .button__text-area), or the label looks cramped. */
|
|
410
|
+
--_button-padding-inline-end: var(--_button-inline-padding);
|
|
411
|
+
padding-block: var(--_button-block-padding);
|
|
412
|
+
padding-inline: var(--_button-inline-padding) var(--_button-padding-inline-end);
|
|
402
413
|
gap: var(--_button-gap);
|
|
403
414
|
align-items: center;
|
|
404
415
|
justify-content: center;
|
|
@@ -466,9 +477,11 @@ export const buttonStyles = css `
|
|
|
466
477
|
max-width: 100%;
|
|
467
478
|
min-width: 0;
|
|
468
479
|
align-items: center;
|
|
469
|
-
/* Space between the icons and the text-area
|
|
470
|
-
|
|
471
|
-
|
|
480
|
+
/* Space between the icons and the text-area, less the padding of the text,
|
|
481
|
+
which makes it whole again: an icon stands as far from the text as ever. */
|
|
482
|
+
/* Never below 0: a theme with more room for the text than the gap would
|
|
483
|
+
otherwise make it negative, and drop the declaration. */
|
|
484
|
+
gap: max(0px, calc(var(--_button-gap) - var(--_button-text-inline-padding)));
|
|
472
485
|
transition: opacity var(--primitives-transition-duration-slow) var(--primitives-transition-easing-default);
|
|
473
486
|
}
|
|
474
487
|
|
|
@@ -512,10 +525,14 @@ export const buttonStyles = css `
|
|
|
512
525
|
white-space: nowrap;
|
|
513
526
|
}
|
|
514
527
|
|
|
528
|
+
/* The text keeps a little room of its own on both sides. Beside an icon the
|
|
529
|
+
gap gives it back; at the edge of the button it is the extra a side that
|
|
530
|
+
ends in text gets. So the button does not need to know where its icons are. */
|
|
515
531
|
.button__text-area {
|
|
516
532
|
display: flex;
|
|
517
533
|
flex-direction: column;
|
|
518
534
|
min-width: 0;
|
|
535
|
+
padding-inline: var(--_button-text-inline-padding);
|
|
519
536
|
}
|
|
520
537
|
|
|
521
538
|
:host([size="xs"]) .button__text-area,
|
|
@@ -619,8 +636,10 @@ export const buttonStyles = css `
|
|
|
619
636
|
height: var(--_button-icon-size);
|
|
620
637
|
}
|
|
621
638
|
|
|
639
|
+
/* Room for the chevron, which is positioned, not laid out: the text ends a
|
|
640
|
+
gap before it, of which the padding of the text is already part. */
|
|
622
641
|
:host([expandable]) .button {
|
|
623
|
-
padding-inline-end: calc(var(--_button-inline-padding) + var(--_button-gap) + var(--_button-disclosure-icon-size));
|
|
642
|
+
--_button-padding-inline-end: max(var(--_button-inline-padding), calc(var(--_button-inline-padding) + var(--_button-gap) - var(--_button-text-inline-padding) + var(--_button-disclosure-icon-size)));
|
|
624
643
|
}
|
|
625
644
|
|
|
626
645
|
.button__disclosure-icon {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqC3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6XlB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkJV,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAK9C,OAAO,sDAAsD,CAAC;AAG9D,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AA0CD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,wCAqHlE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
2
3
|
import { linkRel } from '../../../utilities/link-rel.js';
|
|
3
4
|
import { sanitizeUrl } from '../../../utilities/sanitize-url.js';
|
|
4
5
|
import { downloadLinkHintKey, markDownloadTarget } from '../../../utilities/link-hint.js';
|
|
@@ -46,9 +47,10 @@ function renderContent(component) {
|
|
|
46
47
|
}
|
|
47
48
|
export function template(helpers) {
|
|
48
49
|
const content = renderContent(this);
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
const states = {
|
|
51
|
+
'has-supporting-text': Boolean(this.supportingText),
|
|
52
|
+
'has-interest': Boolean(this._interest.overlay),
|
|
53
|
+
};
|
|
52
54
|
// `expandable` (disclosure widget signal) or `popup-type` (popup container
|
|
53
55
|
// signal) both require aria-expanded to always be present so screen
|
|
54
56
|
// readers know the current open/closed state. Without one of these, only
|
|
@@ -108,7 +110,7 @@ export function template(helpers) {
|
|
|
108
110
|
if (this.href) {
|
|
109
111
|
const resolvedRel = linkRel(this.rel, this.target);
|
|
110
112
|
return html `
|
|
111
|
-
<a class
|
|
113
|
+
<a class="button ${classMap(states)}"
|
|
112
114
|
href=${sanitizeUrl(this.href, { allowData: typeof this.download === 'string' }) || nothing}
|
|
113
115
|
target=${this.target || nothing}
|
|
114
116
|
rel=${resolvedRel || nothing}
|
|
@@ -134,7 +136,7 @@ export function template(helpers) {
|
|
|
134
136
|
// browsers don't support the Popover API at all, so the menu this button
|
|
135
137
|
// drives is non-functional regardless. No per-binding capability check.
|
|
136
138
|
return html `
|
|
137
|
-
<button class
|
|
139
|
+
<button class="button ${classMap(states)}"
|
|
138
140
|
type=${this.type}
|
|
139
141
|
?disabled=${this.disabled}
|
|
140
142
|
aria-disabled=${this.disabled ? 'true' : nothing}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EA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,CAAC,oBAAoB,CAAC;0BACrE,IAAI,CAAC,mBAAmB;kBAChC,IAAI,CAAC,MAAM,CAAC,iBAAiB;YACnC,OAAO,CAAC,WAAW;;KAE1B,OAAO;;IAER,gBAAgB;IAChB,SAAS;EACX,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"icon-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,yBAkc5B,CAAC"}
|
|
@@ -47,8 +47,10 @@ export const iconButtonStyles = css `
|
|
|
47
47
|
-webkit-tap-highlight-color: transparent;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
/* iOS opens a link preview on a long press, which is ours here.
|
|
51
|
-
|
|
50
|
+
/* iOS opens a link preview on a long press, which is ours here. A class
|
|
51
|
+
for the slotted popover, as :host(:has()) is not supported and would
|
|
52
|
+
take the whole rule down with it. */
|
|
53
|
+
.icon-button.has-interest,
|
|
52
54
|
:host([interestfor]) .icon-button {
|
|
53
55
|
-webkit-touch-callout: none;
|
|
54
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+B/B,kBAAkB
|
|
1
|
+
{"version":3,"file":"icon-button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+B/B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmarB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon-button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,kCAAkC,CAAC;AAuB1C,wBAAgB,QAAQ,CAAC,IAAI,EAAE,cAAc,wCA+H5C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
2
3
|
import { linkRel } from '../../../utilities/link-rel.js';
|
|
3
4
|
import { downloadLinkHintKey, markDownloadTarget } from '../../../utilities/link-hint.js';
|
|
4
5
|
import { hasShortcut, shortcutLabel } from '../../../utilities/shortcut.js';
|
|
@@ -71,11 +72,12 @@ export function template() {
|
|
|
71
72
|
</div>
|
|
72
73
|
`
|
|
73
74
|
: nothing;
|
|
75
|
+
const states = { 'has-interest': Boolean(this._interest.overlay) };
|
|
74
76
|
const renderButton = () => {
|
|
75
77
|
if (this.href) {
|
|
76
78
|
const resolvedRel = linkRel(this.rel, this.target);
|
|
77
79
|
return html `
|
|
78
|
-
<a class="icon-button"
|
|
80
|
+
<a class="icon-button ${classMap(states)}"
|
|
79
81
|
href=${this.href}
|
|
80
82
|
target=${this.target || nothing}
|
|
81
83
|
rel=${resolvedRel || nothing}
|
|
@@ -99,7 +101,7 @@ export function template() {
|
|
|
99
101
|
// but those browsers don't support the Popover API at all, so the menu
|
|
100
102
|
// this button drives is non-functional regardless. No capability check.
|
|
101
103
|
return html `
|
|
102
|
-
<button class="icon-button"
|
|
104
|
+
<button class="icon-button ${classMap(states)}"
|
|
103
105
|
type=${this.type}
|
|
104
106
|
?disabled=${this.disabled}
|
|
105
107
|
aria-disabled=${this.disabled ? 'true' : nothing}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"icon-button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACz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","sources":["../../../../src/components/actions/toolbar/toolbar.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toolbar.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,+BAA+B,CAAC;AAGvC,MAAM,MAAM,YAAY,GACrB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,OAAO,CAAC;IAAC,aAAa,EAAE,OAAO,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,GACpM;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAGnD,wBAAgB,QAAQ,CACvB,SAAS,EAAE,WAAW,EACtB,iBAAiB,EAAE,OAAO,EAC1B,cAAc,EAAE,OAAO,EACvB,eAAe,EAAE,OAAO,EACxB,eAAe,EAAE,OAAO,EACxB,WAAW,EAAE,OAAO,EACpB,QAAQ,EAAE,OAAO,EACjB,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,OAAO,EACnB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,uBAAuB,KAAK,MAAM,wCA0CjD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
2
3
|
import '../icon-button/icon-button.js';
|
|
3
4
|
// # Template
|
|
4
5
|
export function template(component, hasCenterChildren, leftSpacerZero, rightSpacerZero, isSoloFluidItem, hasOverflow, menuOpen, label, centerOnly, t) {
|
|
@@ -29,7 +30,7 @@ export function template(component, hasCenterChildren, leftSpacerZero, rightSpac
|
|
|
29
30
|
`}
|
|
30
31
|
<slot name="end"></slot>
|
|
31
32
|
</div>
|
|
32
|
-
<div class="toolbar__overflow-button ${
|
|
33
|
+
<div class="toolbar__overflow-button ${classMap({ 'is-hidden': !hasOverflow })}">
|
|
33
34
|
<nldd-icon-button
|
|
34
35
|
size=${component.size}
|
|
35
36
|
icon="ellipsis"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.template.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"toolbar.template.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,+BAA+B,CAAC;AAQvC,aAAa;AACb,MAAM,UAAU,QAAQ,CACvB,SAAsB,EACtB,iBAA0B,EAC1B,cAAuB,EACvB,eAAwB,EACxB,eAAwB,EACxB,WAAoB,EACpB,QAAiB,EACjB,KAAa,EACb,UAAmB,EACnB,CAAiD;IAEjD,yEAAyE;IACzE,sEAAsE;IACtE,0EAA0E;IAC1E,wEAAwE;IACxE,8BAA8B;IAC9B,OAAO,IAAI,CAAA;;;gBAGI,KAAK,IAAI,OAAO;;;;MAI1B,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAA;OACvB,UAAU,CAAC,CAAC,CAAC,IAAI,CAAA;;;;MAIlB,CAAC,CAAC,CAAC,IAAI,CAAA;QACL,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA,0CAA0C;;QAEzE,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA,2CAA2C;MAC7E;KACD,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA;;KAEnC;;;0CAGqC,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC,WAAW,EAAE,CAAC;;YAErE,SAAS,CAAC,IAAI;;YAEd,CAAC,CAAC,oCAAoC,CAAC;;;iBAGlC,QAAQ;;mDAE0B,CAAC,CAAC,oCAAoC,CAAC;;;EAGxF,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-item.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/accordion/accordion-item.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"accordion-item.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/accordion/accordion-item.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,yBAmM/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-item.styles.js","sourceRoot":"","sources":["../../../../src/components/content/accordion/accordion-item.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BlC,kBAAkB;;;;;;;;;;;;;IAalB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiGd,UAAU
|
|
1
|
+
{"version":3,"file":"accordion-item.styles.js","sourceRoot":"","sources":["../../../../src/components/content/accordion/accordion-item.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BlC,kBAAkB;;;;;;;;;;;;;IAalB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiGd,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Db,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admonition.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/admonition/admonition.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"admonition.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/admonition/admonition.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,yBA4Q5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admonition.styles.js","sourceRoot":"","sources":["../../../../src/components/content/admonition/admonition.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6B/B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0ClB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoGd,UAAU
|
|
1
|
+
{"version":3,"file":"admonition.styles.js","sourceRoot":"","sources":["../../../../src/components/content/admonition/admonition.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6B/B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0ClB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoGd,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"blockquote.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,wBAAgB,QAAQ,CAAC,SAAS,EAAE,cAAc,wCAejD"}
|