@nldd/design-system 0.27.0 → 0.28.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 +5666 -5882
- package/dist/cdn/autoloader.js +140 -141
- package/dist/cdn/chunks/{accordion-DBM4AcGb.js → accordion-BcmquOub.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-D90CmJyl.js → accordion-item-XIX9-01D.js} +4 -4
- package/dist/cdn/chunks/{activity-indicator-B6m9h0oa.js → activity-indicator-DXZ_IqAa.js} +14 -14
- package/dist/cdn/chunks/{admonition-B-YTkCjn.js → admonition-DIcSNzcO.js} +4 -4
- package/dist/cdn/chunks/{avatar-CfBP9UZZ.js → avatar-DG0uG2Eu.js} +23 -23
- package/dist/cdn/chunks/{avatar-group-DW_xMwb_.js → avatar-group-DYOrOs6f.js} +16 -15
- package/dist/cdn/chunks/{badge-DnAuIhp1.js → badge-DfxWgcGT.js} +9 -9
- package/dist/cdn/chunks/{banner-CRk2ARtC.js → banner-Bg2LBBIY.js} +11 -11
- package/dist/cdn/chunks/{bar-split-view-DDgOYs7Z.js → bar-split-view-C0WvMmEi.js} +11 -6
- package/dist/cdn/chunks/{blockquote-DlfhBScg.js → blockquote-Ck5AQfWo.js} +7 -7
- package/dist/cdn/chunks/{box-DdU13yI4.js → box-BAZsRjBx.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-CqkR_6XN.js → breadcrumbs-8X_HdTjk.js} +12 -12
- package/dist/cdn/chunks/{button-bar-BKkap9nk.js → button-bar-DyO3sMIB.js} +8 -8
- package/dist/cdn/chunks/{button-group-D-YTmErV.js → button-group-BfH8ZDe-.js} +8 -8
- package/dist/cdn/chunks/{button-muXGJHlo.js → button-rQihZDPs.js} +75 -79
- package/dist/cdn/chunks/{card-Dvqz83fC.js → card-Gwu3NVqY.js} +21 -11
- package/dist/cdn/chunks/{cell-C0O8tZbX.js → cell-Dbf536SX.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CNWROiHV.js → checkbox-BI4FMRr3.js} +21 -21
- package/dist/cdn/chunks/{checkbox-field-DCYpRJfz.js → checkbox-field-CC00Cz23.js} +15 -15
- package/dist/cdn/chunks/{checkbox-group-DxWAYp_b.js → checkbox-group-B32_gJY6.js} +12 -12
- package/dist/cdn/chunks/{class-map-D720ceWJ.js → class-map-DfeulNZ_.js} +1 -1
- package/dist/cdn/chunks/{code-editor-DlnTXkHx.js → code-editor-BZ-dPqXq.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-DyJzo36-.js → code-viewer-Bz7wk-Zj.js} +17 -17
- package/dist/cdn/chunks/{codemirror-input-DPSOMYZ4.js → codemirror-input-CBuhqk5Y.js} +5 -5
- package/dist/cdn/chunks/{collection-i7H8zkQ8.js → collection-CB6_y2t8.js} +13 -13
- package/dist/cdn/chunks/{combo-box-CpNl_us0.js → combo-box-BqY6lvfT.js} +42 -42
- package/dist/cdn/chunks/{container-YWW7mHNa.js → container-D4G6IZic.js} +9 -9
- package/dist/cdn/chunks/{custom-element-D8yf5dqU.js → custom-element-zgCtSWGH.js} +1 -1
- package/dist/cdn/chunks/{custom-font-size-D7KNr84p.js → custom-font-size-D-U1Z_wx.js} +1 -1
- package/dist/cdn/chunks/{date-field-DzhUp4Rk.js → date-field-BBoAp1Qn.js} +35 -35
- package/dist/cdn/chunks/{date-picker-CGvsvK3g.js → date-picker-DJIaeQzM.js} +23 -23
- package/dist/cdn/chunks/{decorate-1aEyfetK.js → decorate-CXvSUV9i.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DffYoaxu.js → described-by-mixin-Bl8QgshZ.js} +3 -3
- package/dist/cdn/chunks/{description-cell-DEw6xc2o.js → description-cell-CCq3LiDa.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-CTopJcdE.js → dev-checks-DG6-EY8p.js} +238 -225
- package/dist/cdn/chunks/{directive-helpers-BQml5ahH.js → directive-helpers-DuLEIDjM.js} +1 -1
- package/dist/cdn/chunks/{dist-DevfJ4Mu.js → dist-B0EhnbLL.js} +2 -2
- package/dist/cdn/chunks/{dist-DAf6EMuK.js → dist-B7T6GKkq.js} +2 -2
- package/dist/cdn/chunks/{dist-BYbLHkMP.js → dist-BFj2d0kQ.js} +1 -1
- package/dist/cdn/chunks/{dist-B5t9fS8q.js → dist-BPqRc_Nn.js} +2 -2
- package/dist/cdn/chunks/{dist-B87Ag4L-.js → dist-BT1-y5Tb.js} +1 -1
- package/dist/cdn/chunks/{dist-BKnqQxdv.js → dist-C8OAxmvo.js} +1 -1
- package/dist/cdn/chunks/{dist-C8ZY_QIK.js → dist-CMreNjZ0.js} +1 -1
- package/dist/cdn/chunks/{dist-qHSPGfTO.js → dist-CyDG2Stm.js} +1 -1
- package/dist/cdn/chunks/{dist-D59Ae7dj.js → dist-DuZZX8oT.js} +1 -1
- package/dist/cdn/chunks/{dist-CIX4JLW1.js → dist-Mx6eY_XI.js} +3 -3
- package/dist/cdn/chunks/{dist-Cr8NctvS.js → dist-QIVpZOok.js} +3 -3
- package/dist/cdn/chunks/{divider-44rkHLYj.js → divider-CtNxoBXu.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CcSKzhEy.js → document-tab-bar-C0RWhx9m.js} +23 -23
- package/dist/cdn/chunks/{dropdown-CJPjI-p1.js → dropdown-Bc0en6CR.js} +19 -19
- package/dist/cdn/chunks/{element-state-B-44fVqq.js → element-state-D-J_cHEV.js} +9 -3
- package/dist/cdn/chunks/{field-button-controller-yvICuXoE.js → field-button-controller-DKej3aXU.js} +1 -1
- package/dist/cdn/chunks/{file-field-B4HQKpkI.js → file-field-ab-WShTI.js} +29 -29
- package/dist/cdn/chunks/{form-obggZEpt.js → form-DUkQXtMT.js} +9 -6
- package/dist/cdn/chunks/{form-actions-HaBfh6vm.js → form-actions-DAA4feSG.js} +21 -17
- package/dist/cdn/chunks/{form-associated-mixin-BByNH679.js → form-associated-mixin-D9E51k93.js} +3 -3
- package/dist/cdn/chunks/{form-field-CwYXsuvv.js → form-field-DlLMimbj.js} +72 -63
- package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +3 -0
- package/dist/cdn/chunks/{form-section-B2UZx_-z.js → form-section-BvBuApsD.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-BSnWghWY.js → full-bleed-section-CTaKn0tf.js} +3 -3
- package/dist/cdn/chunks/{hero-CzbuEAUM.js → hero-Dd5p9i9u.js} +23 -23
- package/dist/cdn/chunks/{icon-CkCT7sPE.js → icon-D4fRZxV2.js} +9 -9
- package/dist/cdn/chunks/{icon-button-BBGwCfYp.js → icon-button-DOaYzHj0.js} +64 -68
- package/dist/cdn/chunks/{icon-cell-DcHnXV-8.js → icon-cell-CywVVCYz.js} +9 -9
- package/dist/cdn/chunks/{identity-C0fujsxK.js → identity-DKFLeTaG.js} +6 -6
- package/dist/cdn/chunks/{if-defined-CL4nn-Q-.js → if-defined-DmACWFoP.js} +1 -1
- package/dist/cdn/chunks/{image-BgtqLXfM.js → image-DSXL5nMx.js} +21 -21
- package/dist/cdn/chunks/{inline-dialog-BYRIWhkm.js → inline-dialog-_TYBWEal.js} +14 -14
- package/dist/cdn/chunks/{interest-invoker-CfOJaqZQ.js → interest-invoker-CxvYA5Qy.js} +1 -1
- package/dist/cdn/chunks/{just-in-time-education-DwH3ubhZ.js → just-in-time-education-CXJOozIu.js} +17 -17
- package/dist/cdn/chunks/{kanban-BIZUoBj-.js → kanban-DNLzjjc_.js} +10 -10
- package/dist/cdn/chunks/{kanban-column-CtjCIgaR.js → kanban-column-eo2SYTGR.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BHylGMNu.js → keyboard-shortcut-DZ-mqzxk.js} +13 -13
- package/dist/cdn/chunks/{languages-DghCYmiz.js → languages-DOvFU6aa.js} +12 -12
- package/dist/cdn/chunks/{link-S53veJpD.js → link-C2Tm_F2F.js} +16 -16
- package/dist/cdn/chunks/{link-group-B2_vdANe.js → link-group-BKeEUdjA.js} +6 -6
- package/dist/cdn/chunks/{link-hint-KFhgr5Ng.js → link-hint-x3C1uwSo.js} +1 -1
- package/dist/cdn/chunks/{list-C8hY4uGW.js → list-DXBgXtok.js} +18 -18
- package/dist/cdn/chunks/{list-item-CK1Rli4F.js → list-item-CBIk8V1o.js} +85 -88
- package/dist/cdn/chunks/{list-item-segment-KyrcOFDA.js → list-item-segment-BJAJO78S.js} +16 -16
- package/dist/cdn/chunks/{menu-m67vk1Z4.js → menu-NHTlulPo.js} +38 -29
- package/dist/cdn/chunks/{menu-bar-BRoqy5zp.js → menu-bar-BplgndmQ.js} +34 -34
- package/dist/cdn/chunks/{menu-bar-item-DKW198ZW.js → menu-bar-item-1ymZKx5B.js} +44 -43
- package/dist/cdn/chunks/{menu-divider-DDPBPK-o.js → menu-divider-A_WVVPRj.js} +3 -3
- package/dist/cdn/chunks/{menu-group-uZXsE-uu.js → menu-group-BxdR9cIB.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BOvb4QLd.js → menu-item-CfSzAmYP.js} +21 -21
- package/dist/cdn/chunks/{menu.template-v6VnRUNJ.js → menu.template-BQg9CFZU.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-BNq0r-1L.js → modal-dialog-CRoItKeC.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Bfq47I3P.js → multi-line-text-field-Dyyhaixb.js} +36 -36
- package/dist/cdn/chunks/{navigation-split-view-BiPoxCLL.js → navigation-split-view-C40LLsnq.js} +65 -57
- package/dist/cdn/chunks/nl.generated-B194RR-y.js +118 -0
- package/dist/cdn/chunks/{notification-DjZXBv4J.js → notification-DCJBxwgA.js} +10 -10
- package/dist/cdn/chunks/{number-field-tqoQLrgZ.js → number-field-DsZcWhVJ.js} +23 -23
- package/dist/cdn/chunks/{one-half-one-half-section-CyIm21PD.js → one-half-one-half-section-C7iwuCox.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-CpnK0vzB.js → one-third-two-thirds-section-viwFsAKX.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-6sMEfzoY.js → one-time-code-field-BK1dcrkM.js} +25 -25
- package/dist/cdn/chunks/{overflow-menu-IfYEX8tm.js → overflow-menu-b9-YGrjH.js} +1 -1
- package/dist/cdn/chunks/{owner-form-Cq8tT7ac.js → owner-form-Bl_p0Ca4.js} +1 -1
- package/dist/cdn/chunks/{page-w4XAfBWD.js → page-DtZ9Ef4H.js} +54 -53
- package/dist/cdn/chunks/{page-footer-ET6j1N2Z.js → page-footer-DnBD0aG2.js} +10 -10
- package/dist/cdn/chunks/{page-section-mixin-D9JL2q9A.js → page-section-mixin-BhtKGjf2.js} +3 -3
- package/dist/cdn/chunks/{pagination-D7QFUu8x.js → pagination-Bw6rA75o.js} +16 -16
- package/dist/cdn/chunks/{password-field-Ck5wx6pg.js → password-field-DvEggyk3.js} +33 -33
- package/dist/cdn/chunks/{popover-DOmi5m85.js → popover-BS_tKHY-.js} +18 -18
- package/dist/cdn/chunks/{progress-bar-BDNcB06i.js → progress-bar-DjbR_gfZ.js} +30 -30
- package/dist/cdn/chunks/{progress-circle-BAMztpb3.js → progress-circle-Cz9PLyQK.js} +27 -27
- package/dist/cdn/chunks/{radio-button-DAps6n0Q.js → radio-button-D8mtS3no.js} +50 -53
- package/dist/cdn/chunks/{radio-button-field-BbPk0nM_.js → radio-button-field-BW0hpqWv.js} +14 -14
- package/dist/cdn/chunks/{radio-button-group-lxzwku00.js → radio-button-group-9q5EIa2C.js} +12 -12
- package/dist/cdn/chunks/{render-marked-ClMFyNu0.js → render-marked-Ux8zPP_h.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Cap2u2zx.js → reorder-handle-cell-Du9jl_rB.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-CnRKPVqU.js → reorder-handle-mixin-Bk1J-pVX.js} +2 -2
- package/dist/cdn/chunks/{repeat-CIyCvHHQ.js → repeat-DxDrgDAx.js} +2 -2
- package/dist/cdn/chunks/{rich-text-CblFmHY-.js → rich-text--3YgH9Ad.js} +7 -7
- package/dist/cdn/chunks/{row-header-mixin-C8z9StDU.js → row-header-mixin-DcfVBdj0.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-C_L9CJrR.js → scroll-fade-BqyBYmMY.js} +2 -2
- package/dist/cdn/chunks/scroll-mode-controller-CuCRKyLT.js +55 -0
- package/dist/cdn/chunks/{search-field-JeUPcBjZ.js → search-field-DvqETt9_.js} +21 -21
- package/dist/cdn/chunks/{segmented-control-DtycvVyp.js → segmented-control-Bc0JEwuo.js} +86 -91
- package/dist/cdn/chunks/{shadow-resets-DgR56wQK.js → shadow-resets-BerORb5_.js} +2 -2
- package/dist/cdn/chunks/{sheet-XtRs26hN.js → sheet-O_29ylNf.js} +4 -4
- package/dist/cdn/chunks/{shell-CCaEEGna.js → shell-wlMaUZMA.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-mhXD4Lde.js → side-by-side-split-view-CLd3Nale.js} +7 -5
- package/dist/cdn/chunks/{sidebar-section-Cwd4LSE6.js → sidebar-section-CM5FBrQy.js} +16 -16
- package/dist/cdn/chunks/{simple-section-BuiaCGks.js → simple-section-CnYSz59b.js} +3 -3
- package/dist/cdn/chunks/{skip-link-nTlmioFt.js → skip-link-BSWXUiUo.js} +5 -5
- package/dist/cdn/chunks/{slider-C0rNQEIY.js → slider-Cz9TWQ1q.js} +30 -24
- package/dist/cdn/chunks/{slotted-block-xNpJoXLz.js → slotted-block-MzAN2mbY.js} +1 -1
- package/dist/cdn/chunks/{spacer-CeSO9CP1.js → spacer-Di1FKF1H.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-NhlxEdhA.js → spacer-cell-DxLzLJCd.js} +4 -4
- package/dist/cdn/chunks/{split-button-BR-ccA6_.js → split-button-D8g_ndEY.js} +26 -26
- package/dist/cdn/chunks/{split-view-divider-HcIV0yli.js → split-view-divider-BRYFJldk.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-j77p3uE2.js → stacked-split-view-BKKmNsjn.js} +7 -5
- package/dist/cdn/chunks/{static-html-CGoLwgpW.js → static-html-BuLHPpfA.js} +1 -1
- package/dist/cdn/chunks/{status-bar-ByJ21hV2.js → status-bar-CHZ0l8TZ.js} +8 -8
- package/dist/cdn/chunks/{step-bar-CRxF0S42.js → step-bar-C1MPbS7g.js} +15 -16
- package/dist/cdn/chunks/{step-bar.i18n-DocExlD7.js → step-bar.i18n-DipTJYgp.js} +2 -1
- package/dist/cdn/chunks/{step-cell-C-gOxNA6.js → step-cell-27LEuImu.js} +14 -14
- package/dist/cdn/chunks/{stepper-Dmljb7Qc.js → stepper-CFnmm4Jc.js} +19 -19
- package/dist/cdn/chunks/{style-map-CK811FGv.js → style-map-CT-UKis2.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-DtAgTXLo.js → swatch-picker-qcDRmYxS.js} +49 -44
- package/dist/cdn/chunks/{switch-Bqion92b.js → switch-DF_LNJMR.js} +20 -20
- package/dist/cdn/chunks/{switch-field-CWobTcEn.js → switch-field-BKIKn9wq.js} +13 -13
- package/dist/cdn/chunks/{tab-bar-DPtRjP8Z.js → tab-bar-VVZNYCSU.js} +27 -27
- package/dist/cdn/chunks/{table-C4CFiDgr.js → table-DfKFKaDW.js} +11 -11
- package/dist/cdn/chunks/{tag-Bo23A60g.js → tag-CJQEzBXC.js} +5 -5
- package/dist/cdn/chunks/{term-DPMEWR-t.js → term-D3QB0GN-.js} +16 -16
- package/dist/cdn/chunks/{text-CuiMvMZQ.js → text-GAY_Be6G.js} +11 -11
- package/dist/cdn/chunks/{text-cell-E3yc99xw.js → text-cell-D9qxQeCY.js} +13 -13
- package/dist/cdn/chunks/{text-editor-BVmHiq_b.js → text-editor-C1-K1z1w.js} +975 -970
- package/dist/cdn/chunks/{text-field-DOv1aI_F.js → text-field-Bq_41L1a.js} +34 -34
- package/dist/cdn/chunks/{time-field-BhlLk6tt.js → time-field-Bqny9JeT.js} +35 -35
- package/dist/cdn/chunks/{time-picker-A4-HeVas.js → time-picker-DMaxOCDt.js} +12 -12
- package/dist/cdn/chunks/{title-EMt-SYKV.js → title-Dxhkfehz.js} +6 -6
- package/dist/cdn/chunks/{title-cell--EE-L_8a.js → title-cell-BDvpoBrO.js} +11 -11
- package/dist/cdn/chunks/{toggle-button-BLwpxmQs.js → toggle-button-CcIX98G1.js} +35 -35
- package/dist/cdn/chunks/{toggle-button-group-scdxolJt.js → toggle-button-group-Dyqjqg2D.js} +13 -13
- package/dist/cdn/chunks/{token-DVgXuCRO.js → token-BBS6BXwU.js} +11 -11
- package/dist/cdn/chunks/{token-field-CICQXLlO.js → token-field-CO6N6wZW.js} +26 -26
- package/dist/cdn/chunks/{toolbar-Des2gaH2.js → toolbar--slFc4EX.js} +32 -23
- package/dist/cdn/chunks/toolbar-item-j9QbC5s5.js +77 -0
- package/dist/cdn/chunks/{toolbar-title-PoOf794l.js → toolbar-title-D_BBNlB2.js} +36 -22
- package/dist/cdn/chunks/{toolbar.styles-DzreUGTp.js → toolbar.styles-CKxRmIg-.js} +19 -17
- package/dist/cdn/chunks/{tooltip-CMCT2iiD.js → tooltip-bqAbXl2W.js} +33 -25
- package/dist/cdn/chunks/{top-navigation-bar-BfMGgTIy.js → top-navigation-bar-D26UoOIz.js} +28 -28
- package/dist/cdn/chunks/{top-title-bar-CvvldlNt.js → top-title-bar-DtXWxtJF.js} +12 -12
- package/dist/cdn/chunks/{translations-C5JpcNNC.js → translations-DsTLnxKh.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BTkeIiHm.js → two-thirds-one-third-section-D1R62yzp.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BasB3ZaT.js → validation-list-DlJ18Ojt.js} +35 -42
- package/dist/cdn/chunks/{visibility-mixin-BxhcJG-x.js → visibility-mixin-Bkc9mSOZ.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-ByHY8pKl.js → visually-hidden-CNq15vm2.js} +2 -2
- package/dist/cdn/chunks/{window-B5blEfMR.js → window-B3gyQQvV.js} +11 -11
- package/dist/cdn/chunks/{with-translations-QDhHJYMT.js → with-translations-BJzVHQmV.js} +3 -3
- package/dist/components/actions/button/button.d.ts +45 -44
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +90 -87
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +2 -2
- package/dist/components/actions/button-bar/button-bar.d.ts +2 -2
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +6 -6
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +2 -2
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +5 -5
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +50 -49
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +91 -88
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +2 -2
- package/dist/components/actions/menu/menu-item.d.ts +16 -16
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +33 -33
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +32 -23
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +65 -41
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +22 -22
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +40 -40
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +2 -2
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts +23 -11
- package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.js +33 -22
- package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts +10 -3
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +18 -9
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +2 -2
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +23 -21
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +16 -14
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +18 -18
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +32 -32
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +1 -0
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +2 -2
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +5 -5
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +3 -3
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +11 -11
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +4 -4
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +10 -10
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/image/image.d.ts +27 -30
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +44 -47
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +15 -15
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +24 -24
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +2 -2
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +5 -5
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +2 -2
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +5 -5
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/text/text.d.ts +3 -3
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +8 -8
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/token/token.d.ts +4 -4
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +10 -10
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +6 -9
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +34 -16
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +1 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +3 -17
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +12 -24
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +10 -10
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +18 -10
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +4 -4
- package/dist/components/forms/form-field/form-field.d.ts +20 -8
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.d.ts +5 -0
- package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -0
- package/dist/components/forms/form-field/form-field.i18n.js +4 -0
- package/dist/components/forms/form-field/form-field.i18n.js.map +1 -0
- package/dist/components/forms/form-field/form-field.js +46 -18
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +12 -12
- package/dist/components/forms/form-field/form-field.template.js +1 -1
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +23 -12
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +45 -30
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +2 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +16 -16
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +29 -29
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +20 -20
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +28 -28
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +9 -9
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.js +18 -18
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +13 -13
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +8 -8
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +34 -34
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +66 -66
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +24 -24
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +50 -50
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +21 -21
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +38 -39
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +9 -9
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +20 -20
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +13 -13
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +24 -24
- 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 +28 -28
- 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 +51 -51
- 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 +19 -19
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +39 -39
- 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 +12 -12
- 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 +27 -27
- 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 +26 -26
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +51 -51
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +20 -20
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +37 -34
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +14 -14
- 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 +25 -25
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +9 -9
- 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 +18 -18
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +8 -8
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +19 -19
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +56 -60
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +110 -102
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +11 -11
- package/dist/components/inputs/slider/slider.d.ts +6 -6
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +33 -21
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +12 -12
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +24 -24
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +10 -9
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +27 -20
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +2 -2
- package/dist/components/inputs/switch/switch.d.ts +15 -15
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +27 -27
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +13 -13
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +22 -22
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +11 -11
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +4 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +3 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +39 -39
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +6 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +24 -7
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +28 -28
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +50 -50
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +24 -24
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +51 -51
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +21 -20
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +38 -34
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +28 -28
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +51 -51
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +23 -23
- 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 +34 -34
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +20 -20
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +46 -47
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +1 -1
- package/dist/components/layout/box/box.js +1 -1
- package/dist/components/layout/card/card.d.ts +9 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +14 -14
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +11 -1
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +2 -2
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +5 -5
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.template.js +2 -2
- package/dist/components/layout/container/container.d.ts +5 -3
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +14 -8
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +2 -2
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +5 -5
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +11 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +34 -16
- 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 +3 -2
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +4 -4
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +16 -16
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +28 -28
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +7 -7
- 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 +16 -16
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +9 -9
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +22 -22
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +1 -1
- package/dist/components/layout/sheet/sheet.js +1 -1
- package/dist/components/layout/shell/shell.d.ts +2 -0
- package/dist/components/layout/shell/shell.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.js +2 -0
- package/dist/components/layout/shell/shell.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -0
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +13 -5
- 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 +27 -46
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +6 -0
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +3 -2
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +2 -0
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +2 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +5 -5
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +10 -10
- 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.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +5 -5
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +11 -11
- 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 +17 -17
- 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 +2 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
- 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 +7 -4
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +6 -6
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +13 -18
- 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 -29
- 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 +35 -30
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +25 -25
- 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 +44 -44
- 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 +7 -3
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +10 -6
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +4 -4
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +7 -7
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +6 -6
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +15 -15
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +13 -13
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +29 -29
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link-group/link-group.d.ts +2 -2
- package/dist/components/navigation/link-group/link-group.d.ts.map +1 -1
- package/dist/components/navigation/link-group/link-group.js +5 -5
- package/dist/components/navigation/link-group/link-group.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +5 -5
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +12 -10
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +21 -18
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +43 -35
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +3 -3
- package/dist/components/navigation/pagination/pagination.d.ts +5 -5
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +11 -11
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +2 -2
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +16 -16
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +33 -30
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +4 -4
- 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 +12 -12
- 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 -2
- 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 +5 -5
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +9 -9
- 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 +15 -15
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +2 -2
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +5 -5
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +2 -2
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +5 -5
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +6 -6
- 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 +13 -13
- 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 +8 -8
- 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 +17 -17
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +2 -2
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +5 -5
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +12 -12
- 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 +28 -28
- 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 +10 -10
- 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 +24 -24
- 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 -2
- 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 +5 -5
- 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 +12 -6
- 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.i18n.d.ts +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +15 -12
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js +3 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
- package/dist/nldd.min.js +864 -927
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +2 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +2 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +2 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +2 -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 +2 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +748 -802
- package/dist/types/vue.d.ts +893 -971
- 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/dev-checks.d.ts +6 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +42 -16
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.js +177 -177
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/element-state.d.ts +11 -0
- package/dist/utilities/element-state.d.ts.map +1 -1
- package/dist/utilities/element-state.js +18 -3
- package/dist/utilities/element-state.js.map +1 -1
- package/dist/utilities/scroll-mode-controller.d.ts +8 -0
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +13 -1
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/lint/css.js +58 -26
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +29 -12
- package/lint/fix.js +146 -12
- package/lint/format.js +4 -3
- package/lint/frontends.js +153 -35
- package/lint/linter.js +178 -25
- package/lint/main.js +7 -2
- package/lint/project.js +50 -12
- package/lint/rule-compiler.js +20 -11
- package/lint/rule-data.js +8 -0
- package/lint/rule.schema.json +12 -2
- package/lint/session.js +42 -18
- package/lint/tree.js +5 -2
- package/package.json +3 -6
- package/dist/cdn/chunks/nl.generated-BDowZkhc.js +0 -116
- package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +0 -52
- package/dist/cdn/chunks/split-view-pane-BgFUL3BV.js +0 -131
- package/dist/cdn/chunks/toolbar-item-CkwQ2UyY.js +0 -50
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +0 -49
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +0 -80
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts +0 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +0 -95
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts +0 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts.map +0 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js +0 -9
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js.map +0 -1
|
@@ -31,11 +31,11 @@ export type IconColor = 'content' | 'secondary' | 'accent' | 'critical' | 'warni
|
|
|
31
31
|
* @element nldd-icon
|
|
32
32
|
* @keywords pictogram, icoon
|
|
33
33
|
*
|
|
34
|
-
* @attr {string} icon - The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.
|
|
35
|
-
* @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
|
|
36
34
|
* @attr {string} color - Functional (`content`, the default, `secondary`, `accent`, `critical`, `warning`, `success`, the colors the surface passes on as `--context-content-*`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`).
|
|
37
35
|
* @attr {string} custom-color - A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know. It wins over `color`.
|
|
36
|
+
* @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
|
|
38
37
|
* @attr {boolean} tile - Draw the icon on a tile, a filled square. `color` and `custom-color` then paint the tile and the glyph takes the contrasting color, and `size` measures the tile: the glyph is four fifths of it. The corner is `--semantics-tiles-corner-radius`, a fifth of the tile, as on an organization `nldd-avatar`.
|
|
38
|
+
* @attr {string} icon - The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```html
|
|
@@ -59,13 +59,12 @@ export type IconColor = 'content' | 'secondary' | 'accent' | 'critical' | 'warni
|
|
|
59
59
|
*/
|
|
60
60
|
export declare class NLDDIcon extends LitElement {
|
|
61
61
|
static styles: import("lit").CSSResult;
|
|
62
|
-
icon: string;
|
|
63
|
-
size: IconSize;
|
|
64
62
|
color: IconColor;
|
|
65
63
|
/** Handed to the styles as a custom property rather than read from the
|
|
66
64
|
* attribute in CSS: `attr()` with a type is not available everywhere yet,
|
|
67
65
|
* and this keeps one code path. */
|
|
68
66
|
customColor: string;
|
|
67
|
+
size: IconSize;
|
|
69
68
|
/**
|
|
70
69
|
* Draw the icon on a tile, a filled square, instead of on its own.
|
|
71
70
|
*
|
|
@@ -78,6 +77,7 @@ export declare class NLDDIcon extends LitElement {
|
|
|
78
77
|
* with `tile` than without: four fifths of it.
|
|
79
78
|
*/
|
|
80
79
|
tile: boolean;
|
|
80
|
+
icon: string;
|
|
81
81
|
private _iconSvg;
|
|
82
82
|
connectedCallback(): void;
|
|
83
83
|
updated(changedProperties: Map<string, unknown>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/components/content/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAI5C,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,eAAO,MAAM,KAAK,EAAE,MAAM,EAGlB,CAAC;AAET,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,S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AAG,YAAY,GACzD,OAAO,GAAG,QAAQ,GAAG,YAAY,GAAG,MAAM,GAC1C,MAAM,GAAG,QAAQ,GAAG,YAAY,GAAG,MAAM,GACzC,aAAa,GAAG,OAAO,GAAG,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC;AAEhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,qBACa,QAAS,SAAQ,UAAU;IACvC,OAAgB,MAAM,0BAAc;IAGpC,KAAK,EAAE,SAAS,CAAa;IAE7B;;wCAEoC;IAEpC,WAAW,SAAM;IAGjB,IAAI,EAAE,QAAQ,CAAU;IAExB;;;;;;;;;;OAUG;IAEH,IAAI,UAAS;IAGb,IAAI,SAAmB;IAGvB,OAAO,CAAC,QAAQ,CAAuB;IAE9B,iBAAiB,IAAI,IAAI;IAQzB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAU/D,OAAO,CAAC,WAAW,CAAS;IAE5B,oFAAoF;IACpF,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,SAAS;IAUR,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -45,11 +45,11 @@ export const ICONS = [
|
|
|
45
45
|
* @element nldd-icon
|
|
46
46
|
* @keywords pictogram, icoon
|
|
47
47
|
*
|
|
48
|
-
* @attr {string} icon - The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.
|
|
49
|
-
* @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
|
|
50
48
|
* @attr {string} color - Functional (`content`, the default, `secondary`, `accent`, `critical`, `warning`, `success`, the colors the surface passes on as `--context-content-*`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`).
|
|
51
49
|
* @attr {string} custom-color - A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know. It wins over `color`.
|
|
50
|
+
* @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
|
|
52
51
|
* @attr {boolean} tile - Draw the icon on a tile, a filled square. `color` and `custom-color` then paint the tile and the glyph takes the contrasting color, and `size` measures the tile: the glyph is four fifths of it. The corner is `--semantics-tiles-corner-radius`, a fifth of the tile, as on an organization `nldd-avatar`.
|
|
52
|
+
* @attr {string} icon - The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* ```html
|
|
@@ -74,13 +74,12 @@ export const ICONS = [
|
|
|
74
74
|
let NLDDIcon = class NLDDIcon extends LitElement {
|
|
75
75
|
constructor() {
|
|
76
76
|
super(...arguments);
|
|
77
|
-
this.icon = 'circle-dashed';
|
|
78
|
-
this.size = 'full';
|
|
79
77
|
this.color = 'content';
|
|
80
78
|
/** Handed to the styles as a custom property rather than read from the
|
|
81
79
|
* attribute in CSS: `attr()` with a type is not available everywhere yet,
|
|
82
80
|
* and this keeps one code path. */
|
|
83
81
|
this.customColor = '';
|
|
82
|
+
this.size = 'full';
|
|
84
83
|
/**
|
|
85
84
|
* Draw the icon on a tile, a filled square, instead of on its own.
|
|
86
85
|
*
|
|
@@ -93,6 +92,7 @@ let NLDDIcon = class NLDDIcon extends LitElement {
|
|
|
93
92
|
* with `tile` than without: four fifths of it.
|
|
94
93
|
*/
|
|
95
94
|
this.tile = false;
|
|
95
|
+
this.icon = 'circle-dashed';
|
|
96
96
|
this._iconSvg = null;
|
|
97
97
|
this._wasUnknown = false;
|
|
98
98
|
}
|
|
@@ -138,21 +138,21 @@ let NLDDIcon = class NLDDIcon extends LitElement {
|
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
NLDDIcon.styles = iconStyles;
|
|
141
|
-
__decorate([
|
|
142
|
-
property({ type: String })
|
|
143
|
-
], NLDDIcon.prototype, "icon", void 0);
|
|
144
|
-
__decorate([
|
|
145
|
-
property({ reflect: true, converter: reflectNonDefault('full') })
|
|
146
|
-
], NLDDIcon.prototype, "size", void 0);
|
|
147
141
|
__decorate([
|
|
148
142
|
property({ reflect: true, converter: reflectNonDefault('content') })
|
|
149
143
|
], NLDDIcon.prototype, "color", void 0);
|
|
150
144
|
__decorate([
|
|
151
145
|
property({ reflect: true, attribute: 'custom-color', converter: reflectNonDefault('') })
|
|
152
146
|
], NLDDIcon.prototype, "customColor", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
property({ reflect: true, converter: reflectNonDefault('full') })
|
|
149
|
+
], NLDDIcon.prototype, "size", void 0);
|
|
153
150
|
__decorate([
|
|
154
151
|
property({ type: Boolean, reflect: true })
|
|
155
152
|
], NLDDIcon.prototype, "tile", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
property({ type: String })
|
|
155
|
+
], NLDDIcon.prototype, "icon", void 0);
|
|
156
156
|
__decorate([
|
|
157
157
|
state()
|
|
158
158
|
], NLDDIcon.prototype, "_iconSvg", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../src/components/content/icon/icon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU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eAAM,GAAG,UAAU,AAAb,CAAc;AAGpC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAY,SAAS,CAAC,EAAE,CAAC;uCACnD;AAM7B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;6CAChF;AAGjB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAW,MAAM,CAAC,EAAE,CAAC;sCACpD;AAcxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;sCAC9B;AAGb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sCACJ;AAGf;IADP,KAAK,EAAE;0CAC+B;AAjC3B,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CA8EpB"}
|
|
@@ -21,30 +21,17 @@
|
|
|
21
21
|
* @keywords afbeelding, foto
|
|
22
22
|
* @related nldd-avatar
|
|
23
23
|
*
|
|
24
|
+
* @attr {'square'|'rounded'|'circle'} shape - Corner shape (default: 'square')
|
|
25
|
+
* @attr {number|string|'full'} width - Display width, never wider than the parent. `full` (default) fills the parent. A number is pixels and also sets the `<img>` layout-hint width; any other CSS length (`20rem`, `50%`) only sets the width, so reserve space with `height` or `aspect-ratio`. Written as an inline `max-width` on the host, so it holds against a rule from a parent such as `nldd-rich-text`, and against one of your own.
|
|
26
|
+
* @attr {number} height - Intrinsic height (for layout reservation)
|
|
24
27
|
* @attr {string} src - Image URL
|
|
25
|
-
* @attr {string} alt - Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own.
|
|
26
28
|
* @attr {string} srcset - Responsive source set
|
|
27
29
|
* @attr {string} sizes - Source sizes hint
|
|
28
|
-
* @attr {
|
|
29
|
-
* @attr {number} height - Intrinsic height (for layout reservation)
|
|
30
|
-
* @attr {'lazy'|'eager'} loading - Loading strategy (default: 'lazy').
|
|
31
|
-
* Lazy defers fetch until the image is near the viewport, the right
|
|
32
|
-
* choice for below-the-fold content. Set to 'eager' on images that
|
|
33
|
-
* appear in the initial viewport, especially the LCP candidate (hero
|
|
34
|
-
* illustration, top-of-list thumbnail); leaving them lazy silently
|
|
35
|
-
* regresses Core Web Vitals because the LCP fetch waits for the
|
|
36
|
-
* intersection observer. Pair with `fetchpriority="high"` on the LCP
|
|
37
|
-
* image for the strongest signal.
|
|
38
|
-
* @attr {'async'|'sync'|'auto'} decoding - Decoding hint (default: 'async')
|
|
39
|
-
* @attr {'high'|'low'|'auto'} fetchpriority - Fetch priority hint
|
|
30
|
+
* @attr {string} alt - Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own.
|
|
40
31
|
* @attr {string} aspect-ratio - Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3").
|
|
41
32
|
* "16:9" colon notation is also accepted for convenience.
|
|
42
33
|
* @attr {'cover'|'contain'|'fill'|'scale-down'|'none'} object-fit - default: 'cover'
|
|
43
34
|
* @attr {'center'|'top'|'bottom'|'left'|'right'} object-position - default: 'center'
|
|
44
|
-
* @attr {'square'|'rounded'|'circle'} shape - Corner shape (default: 'square')
|
|
45
|
-
* @attr {string} caption - Caption text shown below the image
|
|
46
|
-
* @attr {string} credit - Smaller credit/attribution text shown beside the caption
|
|
47
|
-
* @attr {boolean} decorative - Decorative image: alt is forced empty + aria-hidden
|
|
48
35
|
* @attr {string} lqip - Loading preview (LQIP, low-quality image placeholder) as a CSV string
|
|
49
36
|
* `"base,c1,c2,c3,c4,c5,c6"`: seven 0-255 bytes, each packing an 8-bit
|
|
50
37
|
* Oklab triplet (2 bits L, 3 bits a, 3 bits b). The first is the base
|
|
@@ -55,12 +42,22 @@
|
|
|
55
42
|
* with per-cell hue. Lean's original format encodes grayscale cells only,
|
|
56
43
|
* while ours encodes a color per cell so multi-color subjects survive the
|
|
57
44
|
* preview.
|
|
45
|
+
* @attr {'async'|'sync'|'auto'} decoding - Decoding hint (default: 'async')
|
|
46
|
+
* @attr {'high'|'low'|'auto'} fetchpriority - Fetch priority hint
|
|
47
|
+
* @attr {string} caption - Caption text shown below the image
|
|
48
|
+
* @attr {string} credit - Smaller credit/attribution text shown beside the caption
|
|
49
|
+
* @attr {boolean} decorative - Decorative image: alt is forced empty + aria-hidden
|
|
50
|
+
* @attr {'lazy'|'eager'} loading - Loading strategy (default: 'lazy').
|
|
51
|
+
* Lazy defers fetch until the image is near the viewport, the right
|
|
52
|
+
* choice for below-the-fold content. Set to 'eager' on images that
|
|
53
|
+
* appear in the initial viewport, especially the LCP candidate (hero
|
|
54
|
+
* illustration, top-of-list thumbnail); leaving them lazy silently
|
|
55
|
+
* regresses Core Web Vitals because the LCP fetch waits for the
|
|
56
|
+
* intersection observer. Pair with `fetchpriority="high"` on the LCP
|
|
57
|
+
* image for the strongest signal.
|
|
58
58
|
* @attr {object} translations - Override translation keys (e.g. the message
|
|
59
59
|
* shown when the image fails to load); unset keys fall back to Dutch.
|
|
60
|
-
*
|
|
61
|
-
* A parent that gives the image a fixed box, such as the media area of
|
|
62
|
-
* nldd-hero, sets `--context-image-height: 100%` on it, so the image fills that
|
|
63
|
-
* box instead of taking the height of the photo.
|
|
60
|
+
* @cssprop --context-image-height - Height of the image. A parent that gives the image a fixed box, such as the media area of nldd-hero, sets it to `100%`, so the image fills that box instead of taking the height of the photo
|
|
64
61
|
*
|
|
65
62
|
* @slot - Custom `<img>`, `<picture>` or inline `<svg>` (overrides the src-based default). An inline svg keeps its own colors and scales by its viewBox, so a drawing gets the same box, ratio and caption as a photo. Slotted media carries its own text alternative: an `alt` on the img (empty when it conveys nothing), or `role="img"` with an `aria-label`, `aria-labelledby` or `<title>` on the svg.
|
|
66
63
|
* The internal `error` listener is attached only to the built-in `<img>`, so
|
|
@@ -81,10 +78,7 @@ export type ImageDecoding = 'async' | 'sync' | 'auto';
|
|
|
81
78
|
export type ImageFetchPriority = 'high' | 'low' | 'auto';
|
|
82
79
|
export declare class NLDDImage extends LitElement {
|
|
83
80
|
static styles: import("lit").CSSResult;
|
|
84
|
-
|
|
85
|
-
alt: string;
|
|
86
|
-
srcset: string;
|
|
87
|
-
sizes: string;
|
|
81
|
+
shape: ImageShape;
|
|
88
82
|
/** `'full'` (fills the parent) or a numeric pixel string like `'320'`.
|
|
89
83
|
* Typed as `string` because `type: String` means a `width="320"`
|
|
90
84
|
* attribute arrives as the string `"320"`, not the number `320`. The
|
|
@@ -92,17 +86,20 @@ export declare class NLDDImage extends LitElement {
|
|
|
92
86
|
* property directly should pass a string (`el.width = '320'`). */
|
|
93
87
|
width: string;
|
|
94
88
|
height?: number;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
89
|
+
src: string;
|
|
90
|
+
srcset: string;
|
|
91
|
+
sizes: string;
|
|
92
|
+
alt: string;
|
|
98
93
|
aspectRatio: string;
|
|
99
94
|
objectFit: ImageObjectFit;
|
|
100
95
|
objectPosition: ImageObjectPosition;
|
|
101
|
-
|
|
96
|
+
lqip: string;
|
|
97
|
+
decoding: ImageDecoding;
|
|
98
|
+
fetchPriority?: ImageFetchPriority;
|
|
102
99
|
caption: string;
|
|
103
100
|
credit: string;
|
|
104
101
|
decorative: boolean;
|
|
105
|
-
|
|
102
|
+
loading: ImageLoading;
|
|
106
103
|
/** Override one or more translation keys. Unspecified keys fall back to Dutch. */
|
|
107
104
|
translations: Partial<NLDDImageTranslations>;
|
|
108
105
|
_t(key: keyof NLDDImageTranslations): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/components/content/image/image.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/components/content/image/image.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,SAAS,CAAC;KACxB;CACD"}
|
|
@@ -21,30 +21,17 @@
|
|
|
21
21
|
* @keywords afbeelding, foto
|
|
22
22
|
* @related nldd-avatar
|
|
23
23
|
*
|
|
24
|
+
* @attr {'square'|'rounded'|'circle'} shape - Corner shape (default: 'square')
|
|
25
|
+
* @attr {number|string|'full'} width - Display width, never wider than the parent. `full` (default) fills the parent. A number is pixels and also sets the `<img>` layout-hint width; any other CSS length (`20rem`, `50%`) only sets the width, so reserve space with `height` or `aspect-ratio`. Written as an inline `max-width` on the host, so it holds against a rule from a parent such as `nldd-rich-text`, and against one of your own.
|
|
26
|
+
* @attr {number} height - Intrinsic height (for layout reservation)
|
|
24
27
|
* @attr {string} src - Image URL
|
|
25
|
-
* @attr {string} alt - Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own.
|
|
26
28
|
* @attr {string} srcset - Responsive source set
|
|
27
29
|
* @attr {string} sizes - Source sizes hint
|
|
28
|
-
* @attr {
|
|
29
|
-
* @attr {number} height - Intrinsic height (for layout reservation)
|
|
30
|
-
* @attr {'lazy'|'eager'} loading - Loading strategy (default: 'lazy').
|
|
31
|
-
* Lazy defers fetch until the image is near the viewport, the right
|
|
32
|
-
* choice for below-the-fold content. Set to 'eager' on images that
|
|
33
|
-
* appear in the initial viewport, especially the LCP candidate (hero
|
|
34
|
-
* illustration, top-of-list thumbnail); leaving them lazy silently
|
|
35
|
-
* regresses Core Web Vitals because the LCP fetch waits for the
|
|
36
|
-
* intersection observer. Pair with `fetchpriority="high"` on the LCP
|
|
37
|
-
* image for the strongest signal.
|
|
38
|
-
* @attr {'async'|'sync'|'auto'} decoding - Decoding hint (default: 'async')
|
|
39
|
-
* @attr {'high'|'low'|'auto'} fetchpriority - Fetch priority hint
|
|
30
|
+
* @attr {string} alt - Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own.
|
|
40
31
|
* @attr {string} aspect-ratio - Aspect ratio in CSS form (e.g. "16/9", "1/1", "4/3").
|
|
41
32
|
* "16:9" colon notation is also accepted for convenience.
|
|
42
33
|
* @attr {'cover'|'contain'|'fill'|'scale-down'|'none'} object-fit - default: 'cover'
|
|
43
34
|
* @attr {'center'|'top'|'bottom'|'left'|'right'} object-position - default: 'center'
|
|
44
|
-
* @attr {'square'|'rounded'|'circle'} shape - Corner shape (default: 'square')
|
|
45
|
-
* @attr {string} caption - Caption text shown below the image
|
|
46
|
-
* @attr {string} credit - Smaller credit/attribution text shown beside the caption
|
|
47
|
-
* @attr {boolean} decorative - Decorative image: alt is forced empty + aria-hidden
|
|
48
35
|
* @attr {string} lqip - Loading preview (LQIP, low-quality image placeholder) as a CSV string
|
|
49
36
|
* `"base,c1,c2,c3,c4,c5,c6"`: seven 0-255 bytes, each packing an 8-bit
|
|
50
37
|
* Oklab triplet (2 bits L, 3 bits a, 3 bits b). The first is the base
|
|
@@ -55,12 +42,22 @@
|
|
|
55
42
|
* with per-cell hue. Lean's original format encodes grayscale cells only,
|
|
56
43
|
* while ours encodes a color per cell so multi-color subjects survive the
|
|
57
44
|
* preview.
|
|
45
|
+
* @attr {'async'|'sync'|'auto'} decoding - Decoding hint (default: 'async')
|
|
46
|
+
* @attr {'high'|'low'|'auto'} fetchpriority - Fetch priority hint
|
|
47
|
+
* @attr {string} caption - Caption text shown below the image
|
|
48
|
+
* @attr {string} credit - Smaller credit/attribution text shown beside the caption
|
|
49
|
+
* @attr {boolean} decorative - Decorative image: alt is forced empty + aria-hidden
|
|
50
|
+
* @attr {'lazy'|'eager'} loading - Loading strategy (default: 'lazy').
|
|
51
|
+
* Lazy defers fetch until the image is near the viewport, the right
|
|
52
|
+
* choice for below-the-fold content. Set to 'eager' on images that
|
|
53
|
+
* appear in the initial viewport, especially the LCP candidate (hero
|
|
54
|
+
* illustration, top-of-list thumbnail); leaving them lazy silently
|
|
55
|
+
* regresses Core Web Vitals because the LCP fetch waits for the
|
|
56
|
+
* intersection observer. Pair with `fetchpriority="high"` on the LCP
|
|
57
|
+
* image for the strongest signal.
|
|
58
58
|
* @attr {object} translations - Override translation keys (e.g. the message
|
|
59
59
|
* shown when the image fails to load); unset keys fall back to Dutch.
|
|
60
|
-
*
|
|
61
|
-
* A parent that gives the image a fixed box, such as the media area of
|
|
62
|
-
* nldd-hero, sets `--context-image-height: 100%` on it, so the image fills that
|
|
63
|
-
* box instead of taking the height of the photo.
|
|
60
|
+
* @cssprop --context-image-height - Height of the image. A parent that gives the image a fixed box, such as the media area of nldd-hero, sets it to `100%`, so the image fills that box instead of taking the height of the photo
|
|
64
61
|
*
|
|
65
62
|
* @slot - Custom `<img>`, `<picture>` or inline `<svg>` (overrides the src-based default). An inline svg keeps its own colors and scales by its viewBox, so a drawing gets the same box, ratio and caption as a photo. Slotted media carries its own text alternative: an `alt` on the img (empty when it conveys nothing), or `role="img"` with an `aria-label`, `aria-labelledby` or `<title>` on the svg.
|
|
66
63
|
* The internal `error` listener is attached only to the built-in `<img>`, so
|
|
@@ -115,26 +112,26 @@ function hasAriaName(el) {
|
|
|
115
112
|
let NLDDImage = class NLDDImage extends LitElement {
|
|
116
113
|
constructor() {
|
|
117
114
|
super(...arguments);
|
|
118
|
-
this.
|
|
119
|
-
this.alt = '';
|
|
120
|
-
this.srcset = '';
|
|
121
|
-
this.sizes = '';
|
|
115
|
+
this.shape = 'square';
|
|
122
116
|
/** `'full'` (fills the parent) or a numeric pixel string like `'320'`.
|
|
123
117
|
* Typed as `string` because `type: String` means a `width="320"`
|
|
124
118
|
* attribute arrives as the string `"320"`, not the number `320`. The
|
|
125
119
|
* `_numericWidth` getter owns all parsing. A consumer setting the
|
|
126
120
|
* property directly should pass a string (`el.width = '320'`). */
|
|
127
121
|
this.width = 'full';
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
122
|
+
this.src = '';
|
|
123
|
+
this.srcset = '';
|
|
124
|
+
this.sizes = '';
|
|
125
|
+
this.alt = '';
|
|
130
126
|
this.aspectRatio = '';
|
|
131
127
|
this.objectFit = 'cover';
|
|
132
128
|
this.objectPosition = 'center';
|
|
133
|
-
this.
|
|
129
|
+
this.lqip = '';
|
|
130
|
+
this.decoding = 'async';
|
|
134
131
|
this.caption = '';
|
|
135
132
|
this.credit = '';
|
|
136
133
|
this.decorative = false;
|
|
137
|
-
this.
|
|
134
|
+
this.loading = 'lazy';
|
|
138
135
|
/** Override one or more translation keys. Unspecified keys fall back to Dutch. */
|
|
139
136
|
this.translations = {};
|
|
140
137
|
this._parsedLqipValue = null;
|
|
@@ -337,32 +334,26 @@ let NLDDImage = class NLDDImage extends LitElement {
|
|
|
337
334
|
};
|
|
338
335
|
NLDDImage.styles = imageStyles;
|
|
339
336
|
__decorate([
|
|
340
|
-
property({ reflect: true, converter: reflectNonDefault('') })
|
|
341
|
-
], NLDDImage.prototype, "
|
|
342
|
-
__decorate([
|
|
343
|
-
property({ type: String })
|
|
344
|
-
], NLDDImage.prototype, "alt", void 0);
|
|
345
|
-
__decorate([
|
|
346
|
-
property({ type: String })
|
|
347
|
-
], NLDDImage.prototype, "srcset", void 0);
|
|
348
|
-
__decorate([
|
|
349
|
-
property({ type: String })
|
|
350
|
-
], NLDDImage.prototype, "sizes", void 0);
|
|
337
|
+
property({ reflect: true, converter: reflectNonDefault('square') })
|
|
338
|
+
], NLDDImage.prototype, "shape", void 0);
|
|
351
339
|
__decorate([
|
|
352
340
|
property({ reflect: true, converter: reflectNonDefault('full') })
|
|
353
341
|
], NLDDImage.prototype, "width", void 0);
|
|
354
342
|
__decorate([
|
|
355
343
|
property({ type: Number, reflect: true })
|
|
356
344
|
], NLDDImage.prototype, "height", void 0);
|
|
345
|
+
__decorate([
|
|
346
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
347
|
+
], NLDDImage.prototype, "src", void 0);
|
|
357
348
|
__decorate([
|
|
358
349
|
property({ type: String })
|
|
359
|
-
], NLDDImage.prototype, "
|
|
350
|
+
], NLDDImage.prototype, "srcset", void 0);
|
|
360
351
|
__decorate([
|
|
361
352
|
property({ type: String })
|
|
362
|
-
], NLDDImage.prototype, "
|
|
353
|
+
], NLDDImage.prototype, "sizes", void 0);
|
|
363
354
|
__decorate([
|
|
364
|
-
property({ type: String
|
|
365
|
-
], NLDDImage.prototype, "
|
|
355
|
+
property({ type: String })
|
|
356
|
+
], NLDDImage.prototype, "alt", void 0);
|
|
366
357
|
__decorate([
|
|
367
358
|
property({ reflect: true, attribute: 'aspect-ratio', converter: reflectNonDefault('') })
|
|
368
359
|
], NLDDImage.prototype, "aspectRatio", void 0);
|
|
@@ -373,8 +364,14 @@ __decorate([
|
|
|
373
364
|
property({ reflect: true, attribute: 'object-position', converter: reflectNonDefault('center') })
|
|
374
365
|
], NLDDImage.prototype, "objectPosition", void 0);
|
|
375
366
|
__decorate([
|
|
376
|
-
property({
|
|
377
|
-
], NLDDImage.prototype, "
|
|
367
|
+
property({ type: String })
|
|
368
|
+
], NLDDImage.prototype, "lqip", void 0);
|
|
369
|
+
__decorate([
|
|
370
|
+
property({ type: String })
|
|
371
|
+
], NLDDImage.prototype, "decoding", void 0);
|
|
372
|
+
__decorate([
|
|
373
|
+
property({ type: String, attribute: 'fetchpriority' })
|
|
374
|
+
], NLDDImage.prototype, "fetchPriority", void 0);
|
|
378
375
|
__decorate([
|
|
379
376
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
380
377
|
], NLDDImage.prototype, "caption", void 0);
|
|
@@ -386,7 +383,7 @@ __decorate([
|
|
|
386
383
|
], NLDDImage.prototype, "decorative", void 0);
|
|
387
384
|
__decorate([
|
|
388
385
|
property({ type: String })
|
|
389
|
-
], NLDDImage.prototype, "
|
|
386
|
+
], NLDDImage.prototype, "loading", void 0);
|
|
390
387
|
__decorate([
|
|
391
388
|
property({ type: Object })
|
|
392
389
|
], NLDDImage.prototype, "translations", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../../../src/components/content/image/image.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
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Q,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CACuB;AAyClD;IADC,KAAK,EAAE;qDACmB;AAK3B;IADC,KAAK,EAAE;+CACa;AAMrB;IADC,KAAK,EAAE;gDACc;AAjHV,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CAwRrB"}
|
|
@@ -19,24 +19,24 @@
|
|
|
19
19
|
*
|
|
20
20
|
* @element nldd-keyboard-shortcut
|
|
21
21
|
* @keywords kbd, hotkey, sneltoets
|
|
22
|
-
* @attr {string} keys - Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P').
|
|
23
|
-
* End with '++' for a literal '+' key: 'Ctrl++' becomes 'Ctrl' + '+' ('Ctrl+++'
|
|
24
|
-
* works too). For more complex cases, such as a combo with several '+' keys,
|
|
25
|
-
* use the default slot with your own <kbd> elements instead of the keys attribute.
|
|
26
|
-
* @attr {string} mac-keys - Optional override for macOS (iPhone/iPad/iPod included).
|
|
27
|
-
* @attr {string} windows-keys - Optional override for Windows.
|
|
28
|
-
* @attr {string} linux-keys - Optional override for Linux/ChromeOS.
|
|
29
|
-
* @attr {'sm'|'md'|'inherit'} size - Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the
|
|
30
|
-
* font-size from the container; with keycaps they then scale along in em.
|
|
31
22
|
* @attr {string} appearance - 'keycap' (default) shows each key as a keycap with a fill and a
|
|
32
23
|
* highlight edge, side by side without a '+'. 'text' shows the keys as plain text: lighter,
|
|
33
24
|
* for inline use such as in a menu item. As text the keys are joined by '+' (Ctrl+K), except
|
|
34
25
|
* on macOS.
|
|
35
|
-
* @attr {boolean} always-visible - Show on touch-only devices too, where shortcuts cannot be invoked.
|
|
36
26
|
* @attr {string} color - 'neutral' (default) uses the component colors of its own. 'content'
|
|
37
27
|
* lets the keys and separators follow the content color of the context, with a
|
|
38
28
|
* translucent contrast fill and highlight edge. Useful on a filled surface color or a
|
|
39
29
|
* highlighted row.
|
|
30
|
+
* @attr {'sm'|'md'|'inherit'} size - Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the
|
|
31
|
+
* font-size from the container; with keycaps they then scale along in em.
|
|
32
|
+
* @attr {string} keys - Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P').
|
|
33
|
+
* End with '++' for a literal '+' key: 'Ctrl++' becomes 'Ctrl' + '+' ('Ctrl+++'
|
|
34
|
+
* works too). For more complex cases, such as a combo with several '+' keys,
|
|
35
|
+
* use the default slot with your own <kbd> elements instead of the keys attribute.
|
|
36
|
+
* @attr {string} mac-keys - Optional override for macOS (iPhone/iPad/iPod included).
|
|
37
|
+
* @attr {string} windows-keys - Optional override for Windows.
|
|
38
|
+
* @attr {string} linux-keys - Optional override for Linux/ChromeOS.
|
|
39
|
+
* @attr {boolean} always-visible - Show on touch-only devices too, where shortcuts cannot be invoked.
|
|
40
40
|
* @attr {'mac'|'windows'|'linux'|'other'} debug-os - Development aid: overrides the OS
|
|
41
41
|
* detection for this instance, so you can show several platform variants side by side in
|
|
42
42
|
* documentation. Not meant for production use; leave it empty (default) so
|
|
@@ -52,11 +52,6 @@ type Color = 'neutral' | 'content';
|
|
|
52
52
|
type Appearance = 'keycap' | 'text';
|
|
53
53
|
export declare class NLDDKeyboardShortcut extends LitElement {
|
|
54
54
|
static styles: import("lit").CSSResult;
|
|
55
|
-
keys: string;
|
|
56
|
-
macKeys: string;
|
|
57
|
-
windowsKeys: string;
|
|
58
|
-
linuxKeys: string;
|
|
59
|
-
size: Size;
|
|
60
55
|
/**
|
|
61
56
|
* 'keycap' (default) renders each key as a keycap with a fill and highlight
|
|
62
57
|
* border. 'text' renders the keys as plain text: lighter, for inline use
|
|
@@ -70,6 +65,11 @@ export declare class NLDDKeyboardShortcut extends LitElement {
|
|
|
70
65
|
* highlighted rows.
|
|
71
66
|
*/
|
|
72
67
|
color: Color;
|
|
68
|
+
size: Size;
|
|
69
|
+
keys: string;
|
|
70
|
+
macKeys: string;
|
|
71
|
+
windowsKeys: string;
|
|
72
|
+
linuxKeys: string;
|
|
73
73
|
alwaysVisible: boolean;
|
|
74
74
|
/**
|
|
75
75
|
* @internal Development only.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-shortcut.d.ts","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAA4B,KAAK,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE3F,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;AACpC,KAAK,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;AACnC,KAAK,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEpC,qBACa,oBAAqB,SAAQ,UAAU;IACnD,OAAgB,MAAM,0BAA0B;
|
|
1
|
+
{"version":3,"file":"keyboard-shortcut.d.ts","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAA4B,KAAK,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE3F,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;AACpC,KAAK,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;AACnC,KAAK,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEpC,qBACa,oBAAqB,SAAQ,UAAU;IACnD,OAAgB,MAAM,0BAA0B;IAEhD;;;;OAIG;IAEH,UAAU,EAAE,UAAU,CAAY;IAElC;;;;;OAKG;IAEH,KAAK,EAAE,KAAK,CAAa;IAGzB,IAAI,EAAE,IAAI,CAAQ;IAGlB,IAAI,SAAM;IAGV,OAAO,SAAM;IAGb,WAAW,SAAM;IAGjB,SAAS,SAAM;IAGf,aAAa,UAAS;IAEtB;;;;;;;;OAQG;IAEH,OAAO,EAAE,EAAE,GAAG,EAAE,CAAM;IAEtB,0EAA0E;IAC1E,IAAI,WAAW,IAAI,EAAE,CAEpB;IAED,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED,IAAI,YAAY,IAAI,UAAU,EAAE,CAE/B;IAEQ,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,wBAAwB,EAAE,oBAAoB,CAAC;KAC/C;CACD"}
|
|
@@ -19,24 +19,24 @@
|
|
|
19
19
|
*
|
|
20
20
|
* @element nldd-keyboard-shortcut
|
|
21
21
|
* @keywords kbd, hotkey, sneltoets
|
|
22
|
-
* @attr {string} keys - Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P').
|
|
23
|
-
* End with '++' for a literal '+' key: 'Ctrl++' becomes 'Ctrl' + '+' ('Ctrl+++'
|
|
24
|
-
* works too). For more complex cases, such as a combo with several '+' keys,
|
|
25
|
-
* use the default slot with your own <kbd> elements instead of the keys attribute.
|
|
26
|
-
* @attr {string} mac-keys - Optional override for macOS (iPhone/iPad/iPod included).
|
|
27
|
-
* @attr {string} windows-keys - Optional override for Windows.
|
|
28
|
-
* @attr {string} linux-keys - Optional override for Linux/ChromeOS.
|
|
29
|
-
* @attr {'sm'|'md'|'inherit'} size - Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the
|
|
30
|
-
* font-size from the container; with keycaps they then scale along in em.
|
|
31
22
|
* @attr {string} appearance - 'keycap' (default) shows each key as a keycap with a fill and a
|
|
32
23
|
* highlight edge, side by side without a '+'. 'text' shows the keys as plain text: lighter,
|
|
33
24
|
* for inline use such as in a menu item. As text the keys are joined by '+' (Ctrl+K), except
|
|
34
25
|
* on macOS.
|
|
35
|
-
* @attr {boolean} always-visible - Show on touch-only devices too, where shortcuts cannot be invoked.
|
|
36
26
|
* @attr {string} color - 'neutral' (default) uses the component colors of its own. 'content'
|
|
37
27
|
* lets the keys and separators follow the content color of the context, with a
|
|
38
28
|
* translucent contrast fill and highlight edge. Useful on a filled surface color or a
|
|
39
29
|
* highlighted row.
|
|
30
|
+
* @attr {'sm'|'md'|'inherit'} size - Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the
|
|
31
|
+
* font-size from the container; with keycaps they then scale along in em.
|
|
32
|
+
* @attr {string} keys - Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P').
|
|
33
|
+
* End with '++' for a literal '+' key: 'Ctrl++' becomes 'Ctrl' + '+' ('Ctrl+++'
|
|
34
|
+
* works too). For more complex cases, such as a combo with several '+' keys,
|
|
35
|
+
* use the default slot with your own <kbd> elements instead of the keys attribute.
|
|
36
|
+
* @attr {string} mac-keys - Optional override for macOS (iPhone/iPad/iPod included).
|
|
37
|
+
* @attr {string} windows-keys - Optional override for Windows.
|
|
38
|
+
* @attr {string} linux-keys - Optional override for Linux/ChromeOS.
|
|
39
|
+
* @attr {boolean} always-visible - Show on touch-only devices too, where shortcuts cannot be invoked.
|
|
40
40
|
* @attr {'mac'|'windows'|'linux'|'other'} debug-os - Development aid: overrides the OS
|
|
41
41
|
* detection for this instance, so you can show several platform variants side by side in
|
|
42
42
|
* documentation. Not meant for production use; leave it empty (default) so
|
|
@@ -61,11 +61,6 @@ import { resolveKeys, displayKeys } from '../../../utilities/shortcut.js';
|
|
|
61
61
|
let NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
|
|
62
62
|
constructor() {
|
|
63
63
|
super(...arguments);
|
|
64
|
-
this.keys = '';
|
|
65
|
-
this.macKeys = '';
|
|
66
|
-
this.windowsKeys = '';
|
|
67
|
-
this.linuxKeys = '';
|
|
68
|
-
this.size = 'md';
|
|
69
64
|
/**
|
|
70
65
|
* 'keycap' (default) renders each key as a keycap with a fill and highlight
|
|
71
66
|
* border. 'text' renders the keys as plain text: lighter, for inline use
|
|
@@ -79,6 +74,11 @@ let NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
|
|
|
79
74
|
* highlighted rows.
|
|
80
75
|
*/
|
|
81
76
|
this.color = 'neutral';
|
|
77
|
+
this.size = 'md';
|
|
78
|
+
this.keys = '';
|
|
79
|
+
this.macKeys = '';
|
|
80
|
+
this.windowsKeys = '';
|
|
81
|
+
this.linuxKeys = '';
|
|
82
82
|
this.alwaysVisible = false;
|
|
83
83
|
/**
|
|
84
84
|
* @internal Development only.
|
|
@@ -106,6 +106,15 @@ let NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
|
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
NLDDKeyboardShortcut.styles = keyboardShortcutStyles;
|
|
109
|
+
__decorate([
|
|
110
|
+
property({ reflect: true, converter: reflectNonDefault('keycap') })
|
|
111
|
+
], NLDDKeyboardShortcut.prototype, "appearance", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
property({ reflect: true, converter: reflectNonDefault('neutral') })
|
|
114
|
+
], NLDDKeyboardShortcut.prototype, "color", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
117
|
+
], NLDDKeyboardShortcut.prototype, "size", void 0);
|
|
109
118
|
__decorate([
|
|
110
119
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
111
120
|
], NLDDKeyboardShortcut.prototype, "keys", void 0);
|
|
@@ -118,15 +127,6 @@ __decorate([
|
|
|
118
127
|
__decorate([
|
|
119
128
|
property({ reflect: true, attribute: 'linux-keys', converter: reflectNonDefault('') })
|
|
120
129
|
], NLDDKeyboardShortcut.prototype, "linuxKeys", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
123
|
-
], NLDDKeyboardShortcut.prototype, "size", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
property({ reflect: true, converter: reflectNonDefault('keycap') })
|
|
126
|
-
], NLDDKeyboardShortcut.prototype, "appearance", void 0);
|
|
127
|
-
__decorate([
|
|
128
|
-
property({ reflect: true, converter: reflectNonDefault('neutral') })
|
|
129
|
-
], NLDDKeyboardShortcut.prototype, "color", void 0);
|
|
130
130
|
__decorate([
|
|
131
131
|
property({ type: Boolean, reflect: true, attribute: 'always-visible' })
|
|
132
132
|
], NLDDKeyboardShortcut.prototype, "alwaysVisible", void 0);
|