@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.
Files changed (702) hide show
  1. package/custom-elements.json +5666 -5882
  2. package/dist/cdn/autoloader.js +140 -141
  3. package/dist/cdn/chunks/{accordion-DBM4AcGb.js → accordion-BcmquOub.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-D90CmJyl.js → accordion-item-XIX9-01D.js} +4 -4
  5. package/dist/cdn/chunks/{activity-indicator-B6m9h0oa.js → activity-indicator-DXZ_IqAa.js} +14 -14
  6. package/dist/cdn/chunks/{admonition-B-YTkCjn.js → admonition-DIcSNzcO.js} +4 -4
  7. package/dist/cdn/chunks/{avatar-CfBP9UZZ.js → avatar-DG0uG2Eu.js} +23 -23
  8. package/dist/cdn/chunks/{avatar-group-DW_xMwb_.js → avatar-group-DYOrOs6f.js} +16 -15
  9. package/dist/cdn/chunks/{badge-DnAuIhp1.js → badge-DfxWgcGT.js} +9 -9
  10. package/dist/cdn/chunks/{banner-CRk2ARtC.js → banner-Bg2LBBIY.js} +11 -11
  11. package/dist/cdn/chunks/{bar-split-view-DDgOYs7Z.js → bar-split-view-C0WvMmEi.js} +11 -6
  12. package/dist/cdn/chunks/{blockquote-DlfhBScg.js → blockquote-Ck5AQfWo.js} +7 -7
  13. package/dist/cdn/chunks/{box-DdU13yI4.js → box-BAZsRjBx.js} +3 -3
  14. package/dist/cdn/chunks/{breadcrumbs-CqkR_6XN.js → breadcrumbs-8X_HdTjk.js} +12 -12
  15. package/dist/cdn/chunks/{button-bar-BKkap9nk.js → button-bar-DyO3sMIB.js} +8 -8
  16. package/dist/cdn/chunks/{button-group-D-YTmErV.js → button-group-BfH8ZDe-.js} +8 -8
  17. package/dist/cdn/chunks/{button-muXGJHlo.js → button-rQihZDPs.js} +75 -79
  18. package/dist/cdn/chunks/{card-Dvqz83fC.js → card-Gwu3NVqY.js} +21 -11
  19. package/dist/cdn/chunks/{cell-C0O8tZbX.js → cell-Dbf536SX.js} +6 -6
  20. package/dist/cdn/chunks/{checkbox-CNWROiHV.js → checkbox-BI4FMRr3.js} +21 -21
  21. package/dist/cdn/chunks/{checkbox-field-DCYpRJfz.js → checkbox-field-CC00Cz23.js} +15 -15
  22. package/dist/cdn/chunks/{checkbox-group-DxWAYp_b.js → checkbox-group-B32_gJY6.js} +12 -12
  23. package/dist/cdn/chunks/{class-map-D720ceWJ.js → class-map-DfeulNZ_.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-DlnTXkHx.js → code-editor-BZ-dPqXq.js} +13 -13
  25. package/dist/cdn/chunks/{code-viewer-DyJzo36-.js → code-viewer-Bz7wk-Zj.js} +17 -17
  26. package/dist/cdn/chunks/{codemirror-input-DPSOMYZ4.js → codemirror-input-CBuhqk5Y.js} +5 -5
  27. package/dist/cdn/chunks/{collection-i7H8zkQ8.js → collection-CB6_y2t8.js} +13 -13
  28. package/dist/cdn/chunks/{combo-box-CpNl_us0.js → combo-box-BqY6lvfT.js} +42 -42
  29. package/dist/cdn/chunks/{container-YWW7mHNa.js → container-D4G6IZic.js} +9 -9
  30. package/dist/cdn/chunks/{custom-element-D8yf5dqU.js → custom-element-zgCtSWGH.js} +1 -1
  31. package/dist/cdn/chunks/{custom-font-size-D7KNr84p.js → custom-font-size-D-U1Z_wx.js} +1 -1
  32. package/dist/cdn/chunks/{date-field-DzhUp4Rk.js → date-field-BBoAp1Qn.js} +35 -35
  33. package/dist/cdn/chunks/{date-picker-CGvsvK3g.js → date-picker-DJIaeQzM.js} +23 -23
  34. package/dist/cdn/chunks/{decorate-1aEyfetK.js → decorate-CXvSUV9i.js} +1 -1
  35. package/dist/cdn/chunks/{described-by-mixin-DffYoaxu.js → described-by-mixin-Bl8QgshZ.js} +3 -3
  36. package/dist/cdn/chunks/{description-cell-DEw6xc2o.js → description-cell-CCq3LiDa.js} +6 -6
  37. package/dist/cdn/chunks/{dev-checks-CTopJcdE.js → dev-checks-DG6-EY8p.js} +238 -225
  38. package/dist/cdn/chunks/{directive-helpers-BQml5ahH.js → directive-helpers-DuLEIDjM.js} +1 -1
  39. package/dist/cdn/chunks/{dist-DevfJ4Mu.js → dist-B0EhnbLL.js} +2 -2
  40. package/dist/cdn/chunks/{dist-DAf6EMuK.js → dist-B7T6GKkq.js} +2 -2
  41. package/dist/cdn/chunks/{dist-BYbLHkMP.js → dist-BFj2d0kQ.js} +1 -1
  42. package/dist/cdn/chunks/{dist-B5t9fS8q.js → dist-BPqRc_Nn.js} +2 -2
  43. package/dist/cdn/chunks/{dist-B87Ag4L-.js → dist-BT1-y5Tb.js} +1 -1
  44. package/dist/cdn/chunks/{dist-BKnqQxdv.js → dist-C8OAxmvo.js} +1 -1
  45. package/dist/cdn/chunks/{dist-C8ZY_QIK.js → dist-CMreNjZ0.js} +1 -1
  46. package/dist/cdn/chunks/{dist-qHSPGfTO.js → dist-CyDG2Stm.js} +1 -1
  47. package/dist/cdn/chunks/{dist-D59Ae7dj.js → dist-DuZZX8oT.js} +1 -1
  48. package/dist/cdn/chunks/{dist-CIX4JLW1.js → dist-Mx6eY_XI.js} +3 -3
  49. package/dist/cdn/chunks/{dist-Cr8NctvS.js → dist-QIVpZOok.js} +3 -3
  50. package/dist/cdn/chunks/{divider-44rkHLYj.js → divider-CtNxoBXu.js} +2 -2
  51. package/dist/cdn/chunks/{document-tab-bar-CcSKzhEy.js → document-tab-bar-C0RWhx9m.js} +23 -23
  52. package/dist/cdn/chunks/{dropdown-CJPjI-p1.js → dropdown-Bc0en6CR.js} +19 -19
  53. package/dist/cdn/chunks/{element-state-B-44fVqq.js → element-state-D-J_cHEV.js} +9 -3
  54. package/dist/cdn/chunks/{field-button-controller-yvICuXoE.js → field-button-controller-DKej3aXU.js} +1 -1
  55. package/dist/cdn/chunks/{file-field-B4HQKpkI.js → file-field-ab-WShTI.js} +29 -29
  56. package/dist/cdn/chunks/{form-obggZEpt.js → form-DUkQXtMT.js} +9 -6
  57. package/dist/cdn/chunks/{form-actions-HaBfh6vm.js → form-actions-DAA4feSG.js} +21 -17
  58. package/dist/cdn/chunks/{form-associated-mixin-BByNH679.js → form-associated-mixin-D9E51k93.js} +3 -3
  59. package/dist/cdn/chunks/{form-field-CwYXsuvv.js → form-field-DlLMimbj.js} +72 -63
  60. package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +3 -0
  61. package/dist/cdn/chunks/{form-section-B2UZx_-z.js → form-section-BvBuApsD.js} +1 -1
  62. package/dist/cdn/chunks/{full-bleed-section-BSnWghWY.js → full-bleed-section-CTaKn0tf.js} +3 -3
  63. package/dist/cdn/chunks/{hero-CzbuEAUM.js → hero-Dd5p9i9u.js} +23 -23
  64. package/dist/cdn/chunks/{icon-CkCT7sPE.js → icon-D4fRZxV2.js} +9 -9
  65. package/dist/cdn/chunks/{icon-button-BBGwCfYp.js → icon-button-DOaYzHj0.js} +64 -68
  66. package/dist/cdn/chunks/{icon-cell-DcHnXV-8.js → icon-cell-CywVVCYz.js} +9 -9
  67. package/dist/cdn/chunks/{identity-C0fujsxK.js → identity-DKFLeTaG.js} +6 -6
  68. package/dist/cdn/chunks/{if-defined-CL4nn-Q-.js → if-defined-DmACWFoP.js} +1 -1
  69. package/dist/cdn/chunks/{image-BgtqLXfM.js → image-DSXL5nMx.js} +21 -21
  70. package/dist/cdn/chunks/{inline-dialog-BYRIWhkm.js → inline-dialog-_TYBWEal.js} +14 -14
  71. package/dist/cdn/chunks/{interest-invoker-CfOJaqZQ.js → interest-invoker-CxvYA5Qy.js} +1 -1
  72. package/dist/cdn/chunks/{just-in-time-education-DwH3ubhZ.js → just-in-time-education-CXJOozIu.js} +17 -17
  73. package/dist/cdn/chunks/{kanban-BIZUoBj-.js → kanban-DNLzjjc_.js} +10 -10
  74. package/dist/cdn/chunks/{kanban-column-CtjCIgaR.js → kanban-column-eo2SYTGR.js} +4 -4
  75. package/dist/cdn/chunks/{keyboard-shortcut-BHylGMNu.js → keyboard-shortcut-DZ-mqzxk.js} +13 -13
  76. package/dist/cdn/chunks/{languages-DghCYmiz.js → languages-DOvFU6aa.js} +12 -12
  77. package/dist/cdn/chunks/{link-S53veJpD.js → link-C2Tm_F2F.js} +16 -16
  78. package/dist/cdn/chunks/{link-group-B2_vdANe.js → link-group-BKeEUdjA.js} +6 -6
  79. package/dist/cdn/chunks/{link-hint-KFhgr5Ng.js → link-hint-x3C1uwSo.js} +1 -1
  80. package/dist/cdn/chunks/{list-C8hY4uGW.js → list-DXBgXtok.js} +18 -18
  81. package/dist/cdn/chunks/{list-item-CK1Rli4F.js → list-item-CBIk8V1o.js} +85 -88
  82. package/dist/cdn/chunks/{list-item-segment-KyrcOFDA.js → list-item-segment-BJAJO78S.js} +16 -16
  83. package/dist/cdn/chunks/{menu-m67vk1Z4.js → menu-NHTlulPo.js} +38 -29
  84. package/dist/cdn/chunks/{menu-bar-BRoqy5zp.js → menu-bar-BplgndmQ.js} +34 -34
  85. package/dist/cdn/chunks/{menu-bar-item-DKW198ZW.js → menu-bar-item-1ymZKx5B.js} +44 -43
  86. package/dist/cdn/chunks/{menu-divider-DDPBPK-o.js → menu-divider-A_WVVPRj.js} +3 -3
  87. package/dist/cdn/chunks/{menu-group-uZXsE-uu.js → menu-group-BxdR9cIB.js} +4 -4
  88. package/dist/cdn/chunks/{menu-item-BOvb4QLd.js → menu-item-CfSzAmYP.js} +21 -21
  89. package/dist/cdn/chunks/{menu.template-v6VnRUNJ.js → menu.template-BQg9CFZU.js} +6 -6
  90. package/dist/cdn/chunks/{modal-dialog-BNq0r-1L.js → modal-dialog-CRoItKeC.js} +4 -4
  91. package/dist/cdn/chunks/{multi-line-text-field-Bfq47I3P.js → multi-line-text-field-Dyyhaixb.js} +36 -36
  92. package/dist/cdn/chunks/{navigation-split-view-BiPoxCLL.js → navigation-split-view-C40LLsnq.js} +65 -57
  93. package/dist/cdn/chunks/nl.generated-B194RR-y.js +118 -0
  94. package/dist/cdn/chunks/{notification-DjZXBv4J.js → notification-DCJBxwgA.js} +10 -10
  95. package/dist/cdn/chunks/{number-field-tqoQLrgZ.js → number-field-DsZcWhVJ.js} +23 -23
  96. package/dist/cdn/chunks/{one-half-one-half-section-CyIm21PD.js → one-half-one-half-section-C7iwuCox.js} +3 -3
  97. package/dist/cdn/chunks/{one-third-two-thirds-section-CpnK0vzB.js → one-third-two-thirds-section-viwFsAKX.js} +3 -3
  98. package/dist/cdn/chunks/{one-time-code-field-6sMEfzoY.js → one-time-code-field-BK1dcrkM.js} +25 -25
  99. package/dist/cdn/chunks/{overflow-menu-IfYEX8tm.js → overflow-menu-b9-YGrjH.js} +1 -1
  100. package/dist/cdn/chunks/{owner-form-Cq8tT7ac.js → owner-form-Bl_p0Ca4.js} +1 -1
  101. package/dist/cdn/chunks/{page-w4XAfBWD.js → page-DtZ9Ef4H.js} +54 -53
  102. package/dist/cdn/chunks/{page-footer-ET6j1N2Z.js → page-footer-DnBD0aG2.js} +10 -10
  103. package/dist/cdn/chunks/{page-section-mixin-D9JL2q9A.js → page-section-mixin-BhtKGjf2.js} +3 -3
  104. package/dist/cdn/chunks/{pagination-D7QFUu8x.js → pagination-Bw6rA75o.js} +16 -16
  105. package/dist/cdn/chunks/{password-field-Ck5wx6pg.js → password-field-DvEggyk3.js} +33 -33
  106. package/dist/cdn/chunks/{popover-DOmi5m85.js → popover-BS_tKHY-.js} +18 -18
  107. package/dist/cdn/chunks/{progress-bar-BDNcB06i.js → progress-bar-DjbR_gfZ.js} +30 -30
  108. package/dist/cdn/chunks/{progress-circle-BAMztpb3.js → progress-circle-Cz9PLyQK.js} +27 -27
  109. package/dist/cdn/chunks/{radio-button-DAps6n0Q.js → radio-button-D8mtS3no.js} +50 -53
  110. package/dist/cdn/chunks/{radio-button-field-BbPk0nM_.js → radio-button-field-BW0hpqWv.js} +14 -14
  111. package/dist/cdn/chunks/{radio-button-group-lxzwku00.js → radio-button-group-9q5EIa2C.js} +12 -12
  112. package/dist/cdn/chunks/{render-marked-ClMFyNu0.js → render-marked-Ux8zPP_h.js} +1 -1
  113. package/dist/cdn/chunks/{reorder-handle-cell-Cap2u2zx.js → reorder-handle-cell-Du9jl_rB.js} +4 -4
  114. package/dist/cdn/chunks/{reorder-handle-mixin-CnRKPVqU.js → reorder-handle-mixin-Bk1J-pVX.js} +2 -2
  115. package/dist/cdn/chunks/{repeat-CIyCvHHQ.js → repeat-DxDrgDAx.js} +2 -2
  116. package/dist/cdn/chunks/{rich-text-CblFmHY-.js → rich-text--3YgH9Ad.js} +7 -7
  117. package/dist/cdn/chunks/{row-header-mixin-C8z9StDU.js → row-header-mixin-DcfVBdj0.js} +2 -2
  118. package/dist/cdn/chunks/{scroll-fade-C_L9CJrR.js → scroll-fade-BqyBYmMY.js} +2 -2
  119. package/dist/cdn/chunks/scroll-mode-controller-CuCRKyLT.js +55 -0
  120. package/dist/cdn/chunks/{search-field-JeUPcBjZ.js → search-field-DvqETt9_.js} +21 -21
  121. package/dist/cdn/chunks/{segmented-control-DtycvVyp.js → segmented-control-Bc0JEwuo.js} +86 -91
  122. package/dist/cdn/chunks/{shadow-resets-DgR56wQK.js → shadow-resets-BerORb5_.js} +2 -2
  123. package/dist/cdn/chunks/{sheet-XtRs26hN.js → sheet-O_29ylNf.js} +4 -4
  124. package/dist/cdn/chunks/{shell-CCaEEGna.js → shell-wlMaUZMA.js} +4 -4
  125. package/dist/cdn/chunks/{side-by-side-split-view-mhXD4Lde.js → side-by-side-split-view-CLd3Nale.js} +7 -5
  126. package/dist/cdn/chunks/{sidebar-section-Cwd4LSE6.js → sidebar-section-CM5FBrQy.js} +16 -16
  127. package/dist/cdn/chunks/{simple-section-BuiaCGks.js → simple-section-CnYSz59b.js} +3 -3
  128. package/dist/cdn/chunks/{skip-link-nTlmioFt.js → skip-link-BSWXUiUo.js} +5 -5
  129. package/dist/cdn/chunks/{slider-C0rNQEIY.js → slider-Cz9TWQ1q.js} +30 -24
  130. package/dist/cdn/chunks/{slotted-block-xNpJoXLz.js → slotted-block-MzAN2mbY.js} +1 -1
  131. package/dist/cdn/chunks/{spacer-CeSO9CP1.js → spacer-Di1FKF1H.js} +2 -2
  132. package/dist/cdn/chunks/{spacer-cell-NhlxEdhA.js → spacer-cell-DxLzLJCd.js} +4 -4
  133. package/dist/cdn/chunks/{split-button-BR-ccA6_.js → split-button-D8g_ndEY.js} +26 -26
  134. package/dist/cdn/chunks/{split-view-divider-HcIV0yli.js → split-view-divider-BRYFJldk.js} +2 -2
  135. package/dist/cdn/chunks/{stacked-split-view-j77p3uE2.js → stacked-split-view-BKKmNsjn.js} +7 -5
  136. package/dist/cdn/chunks/{static-html-CGoLwgpW.js → static-html-BuLHPpfA.js} +1 -1
  137. package/dist/cdn/chunks/{status-bar-ByJ21hV2.js → status-bar-CHZ0l8TZ.js} +8 -8
  138. package/dist/cdn/chunks/{step-bar-CRxF0S42.js → step-bar-C1MPbS7g.js} +15 -16
  139. package/dist/cdn/chunks/{step-bar.i18n-DocExlD7.js → step-bar.i18n-DipTJYgp.js} +2 -1
  140. package/dist/cdn/chunks/{step-cell-C-gOxNA6.js → step-cell-27LEuImu.js} +14 -14
  141. package/dist/cdn/chunks/{stepper-Dmljb7Qc.js → stepper-CFnmm4Jc.js} +19 -19
  142. package/dist/cdn/chunks/{style-map-CK811FGv.js → style-map-CT-UKis2.js} +1 -1
  143. package/dist/cdn/chunks/{swatch-picker-DtAgTXLo.js → swatch-picker-qcDRmYxS.js} +49 -44
  144. package/dist/cdn/chunks/{switch-Bqion92b.js → switch-DF_LNJMR.js} +20 -20
  145. package/dist/cdn/chunks/{switch-field-CWobTcEn.js → switch-field-BKIKn9wq.js} +13 -13
  146. package/dist/cdn/chunks/{tab-bar-DPtRjP8Z.js → tab-bar-VVZNYCSU.js} +27 -27
  147. package/dist/cdn/chunks/{table-C4CFiDgr.js → table-DfKFKaDW.js} +11 -11
  148. package/dist/cdn/chunks/{tag-Bo23A60g.js → tag-CJQEzBXC.js} +5 -5
  149. package/dist/cdn/chunks/{term-DPMEWR-t.js → term-D3QB0GN-.js} +16 -16
  150. package/dist/cdn/chunks/{text-CuiMvMZQ.js → text-GAY_Be6G.js} +11 -11
  151. package/dist/cdn/chunks/{text-cell-E3yc99xw.js → text-cell-D9qxQeCY.js} +13 -13
  152. package/dist/cdn/chunks/{text-editor-BVmHiq_b.js → text-editor-C1-K1z1w.js} +975 -970
  153. package/dist/cdn/chunks/{text-field-DOv1aI_F.js → text-field-Bq_41L1a.js} +34 -34
  154. package/dist/cdn/chunks/{time-field-BhlLk6tt.js → time-field-Bqny9JeT.js} +35 -35
  155. package/dist/cdn/chunks/{time-picker-A4-HeVas.js → time-picker-DMaxOCDt.js} +12 -12
  156. package/dist/cdn/chunks/{title-EMt-SYKV.js → title-Dxhkfehz.js} +6 -6
  157. package/dist/cdn/chunks/{title-cell--EE-L_8a.js → title-cell-BDvpoBrO.js} +11 -11
  158. package/dist/cdn/chunks/{toggle-button-BLwpxmQs.js → toggle-button-CcIX98G1.js} +35 -35
  159. package/dist/cdn/chunks/{toggle-button-group-scdxolJt.js → toggle-button-group-Dyqjqg2D.js} +13 -13
  160. package/dist/cdn/chunks/{token-DVgXuCRO.js → token-BBS6BXwU.js} +11 -11
  161. package/dist/cdn/chunks/{token-field-CICQXLlO.js → token-field-CO6N6wZW.js} +26 -26
  162. package/dist/cdn/chunks/{toolbar-Des2gaH2.js → toolbar--slFc4EX.js} +32 -23
  163. package/dist/cdn/chunks/toolbar-item-j9QbC5s5.js +77 -0
  164. package/dist/cdn/chunks/{toolbar-title-PoOf794l.js → toolbar-title-D_BBNlB2.js} +36 -22
  165. package/dist/cdn/chunks/{toolbar.styles-DzreUGTp.js → toolbar.styles-CKxRmIg-.js} +19 -17
  166. package/dist/cdn/chunks/{tooltip-CMCT2iiD.js → tooltip-bqAbXl2W.js} +33 -25
  167. package/dist/cdn/chunks/{top-navigation-bar-BfMGgTIy.js → top-navigation-bar-D26UoOIz.js} +28 -28
  168. package/dist/cdn/chunks/{top-title-bar-CvvldlNt.js → top-title-bar-DtXWxtJF.js} +12 -12
  169. package/dist/cdn/chunks/{translations-C5JpcNNC.js → translations-DsTLnxKh.js} +1 -1
  170. package/dist/cdn/chunks/{two-thirds-one-third-section-BTkeIiHm.js → two-thirds-one-third-section-D1R62yzp.js} +3 -3
  171. package/dist/cdn/chunks/{validation-list-BasB3ZaT.js → validation-list-DlJ18Ojt.js} +35 -42
  172. package/dist/cdn/chunks/{visibility-mixin-BxhcJG-x.js → visibility-mixin-Bkc9mSOZ.js} +2 -2
  173. package/dist/cdn/chunks/{visually-hidden-ByHY8pKl.js → visually-hidden-CNq15vm2.js} +2 -2
  174. package/dist/cdn/chunks/{window-B5blEfMR.js → window-B3gyQQvV.js} +11 -11
  175. package/dist/cdn/chunks/{with-translations-QDhHJYMT.js → with-translations-BJzVHQmV.js} +3 -3
  176. package/dist/components/actions/button/button.d.ts +45 -44
  177. package/dist/components/actions/button/button.d.ts.map +1 -1
  178. package/dist/components/actions/button/button.js +90 -87
  179. package/dist/components/actions/button/button.js.map +1 -1
  180. package/dist/components/actions/button/button.styles.js +2 -2
  181. package/dist/components/actions/button-bar/button-bar.d.ts +2 -2
  182. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  183. package/dist/components/actions/button-bar/button-bar.js +6 -6
  184. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  185. package/dist/components/actions/button-group/button-group.d.ts +2 -2
  186. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  187. package/dist/components/actions/button-group/button-group.js +5 -5
  188. package/dist/components/actions/button-group/button-group.js.map +1 -1
  189. package/dist/components/actions/icon-button/icon-button.d.ts +50 -49
  190. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  191. package/dist/components/actions/icon-button/icon-button.js +91 -88
  192. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  193. package/dist/components/actions/icon-button/icon-button.styles.js +2 -2
  194. package/dist/components/actions/menu/menu-item.d.ts +16 -16
  195. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  196. package/dist/components/actions/menu/menu-item.js +33 -33
  197. package/dist/components/actions/menu/menu-item.js.map +1 -1
  198. package/dist/components/actions/menu/menu.d.ts +32 -23
  199. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  200. package/dist/components/actions/menu/menu.js +65 -41
  201. package/dist/components/actions/menu/menu.js.map +1 -1
  202. package/dist/components/actions/split-button/split-button.d.ts +22 -22
  203. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  204. package/dist/components/actions/split-button/split-button.js +40 -40
  205. package/dist/components/actions/split-button/split-button.js.map +1 -1
  206. package/dist/components/actions/split-button/split-button.template.js +2 -2
  207. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  208. package/dist/components/actions/toolbar/toolbar-item.d.ts +23 -11
  209. package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
  210. package/dist/components/actions/toolbar/toolbar-item.js +33 -22
  211. package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
  212. package/dist/components/actions/toolbar/toolbar-title.d.ts +10 -3
  213. package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
  214. package/dist/components/actions/toolbar/toolbar-title.js +18 -9
  215. package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
  216. package/dist/components/actions/toolbar/toolbar.d.ts +2 -2
  217. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  218. package/dist/components/actions/toolbar/toolbar.js +23 -21
  219. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  220. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  221. package/dist/components/actions/toolbar/toolbar.styles.js +16 -14
  222. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  223. package/dist/components/content/avatar/avatar.d.ts +18 -18
  224. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  225. package/dist/components/content/avatar/avatar.js +32 -32
  226. package/dist/components/content/avatar/avatar.js.map +1 -1
  227. package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
  228. package/dist/components/content/avatar-group/avatar-group.styles.js +1 -0
  229. package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
  230. package/dist/components/content/blockquote/blockquote.d.ts +2 -2
  231. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  232. package/dist/components/content/blockquote/blockquote.js +5 -5
  233. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  234. package/dist/components/content/code-viewer/code-viewer.d.ts +3 -3
  235. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  236. package/dist/components/content/code-viewer/code-viewer.js +11 -11
  237. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  238. package/dist/components/content/icon/icon.d.ts +4 -4
  239. package/dist/components/content/icon/icon.d.ts.map +1 -1
  240. package/dist/components/content/icon/icon.js +10 -10
  241. package/dist/components/content/icon/icon.js.map +1 -1
  242. package/dist/components/content/image/image.d.ts +27 -30
  243. package/dist/components/content/image/image.d.ts.map +1 -1
  244. package/dist/components/content/image/image.js +44 -47
  245. package/dist/components/content/image/image.js.map +1 -1
  246. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +15 -15
  247. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  248. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +24 -24
  249. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  250. package/dist/components/content/rich-text/rich-text.d.ts +2 -2
  251. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  252. package/dist/components/content/rich-text/rich-text.js +5 -5
  253. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  254. package/dist/components/content/term/term.d.ts +2 -2
  255. package/dist/components/content/term/term.d.ts.map +1 -1
  256. package/dist/components/content/term/term.js +5 -5
  257. package/dist/components/content/term/term.js.map +1 -1
  258. package/dist/components/content/text/text.d.ts +3 -3
  259. package/dist/components/content/text/text.d.ts.map +1 -1
  260. package/dist/components/content/text/text.js +8 -8
  261. package/dist/components/content/text/text.js.map +1 -1
  262. package/dist/components/content/token/token.d.ts +4 -4
  263. package/dist/components/content/token/token.d.ts.map +1 -1
  264. package/dist/components/content/token/token.js +10 -10
  265. package/dist/components/content/token/token.js.map +1 -1
  266. package/dist/components/content/tooltip/tooltip.d.ts +6 -9
  267. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  268. package/dist/components/content/tooltip/tooltip.js +34 -16
  269. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  270. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  271. package/dist/components/content/tooltip/tooltip.styles.js +1 -0
  272. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  273. package/dist/components/forms/form/form.d.ts +3 -17
  274. package/dist/components/forms/form/form.d.ts.map +1 -1
  275. package/dist/components/forms/form/form.js +12 -24
  276. package/dist/components/forms/form/form.js.map +1 -1
  277. package/dist/components/forms/form-actions/form-actions.d.ts +10 -10
  278. package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
  279. package/dist/components/forms/form-actions/form-actions.js +18 -10
  280. package/dist/components/forms/form-actions/form-actions.js.map +1 -1
  281. package/dist/components/forms/form-actions/form-actions.styles.js +4 -4
  282. package/dist/components/forms/form-field/form-field.d.ts +20 -8
  283. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  284. package/dist/components/forms/form-field/form-field.i18n.d.ts +5 -0
  285. package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -0
  286. package/dist/components/forms/form-field/form-field.i18n.js +4 -0
  287. package/dist/components/forms/form-field/form-field.i18n.js.map +1 -0
  288. package/dist/components/forms/form-field/form-field.js +46 -18
  289. package/dist/components/forms/form-field/form-field.js.map +1 -1
  290. package/dist/components/forms/form-field/form-field.styles.js +12 -12
  291. package/dist/components/forms/form-field/form-field.template.js +1 -1
  292. package/dist/components/forms/form-field/form-field.template.js.map +1 -1
  293. package/dist/components/forms/validation-list/validation-list.d.ts +23 -12
  294. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  295. package/dist/components/forms/validation-list/validation-list.js +45 -30
  296. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  297. package/dist/components/forms/validation-list/validation-list.styles.js +2 -2
  298. package/dist/components/index.d.ts +0 -1
  299. package/dist/components/index.d.ts.map +1 -1
  300. package/dist/components/index.js +0 -1
  301. package/dist/components/index.js.map +1 -1
  302. package/dist/components/inputs/checkbox/checkbox.d.ts +16 -16
  303. package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
  304. package/dist/components/inputs/checkbox/checkbox.js +29 -29
  305. package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
  306. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +20 -20
  307. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
  308. package/dist/components/inputs/checkbox-field/checkbox-field.js +28 -28
  309. package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
  310. package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +9 -9
  311. package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
  312. package/dist/components/inputs/checkbox-group/checkbox-group.js +18 -18
  313. package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -1
  314. package/dist/components/inputs/code-editor/code-editor.d.ts +13 -13
  315. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  316. package/dist/components/inputs/code-editor/code-editor.js +8 -8
  317. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  318. package/dist/components/inputs/combo-box/combo-box.d.ts +34 -34
  319. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  320. package/dist/components/inputs/combo-box/combo-box.js +66 -66
  321. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  322. package/dist/components/inputs/date-field/date-field.d.ts +24 -24
  323. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  324. package/dist/components/inputs/date-field/date-field.js +50 -50
  325. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  326. package/dist/components/inputs/date-picker/date-picker.d.ts +21 -21
  327. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  328. package/dist/components/inputs/date-picker/date-picker.js +38 -39
  329. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  330. package/dist/components/inputs/dropdown/dropdown.d.ts +9 -9
  331. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  332. package/dist/components/inputs/dropdown/dropdown.js +20 -20
  333. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  334. package/dist/components/inputs/file-field/file-field.d.ts +13 -13
  335. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  336. package/dist/components/inputs/file-field/file-field.js +24 -24
  337. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  338. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +28 -28
  339. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  340. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +51 -51
  341. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  342. package/dist/components/inputs/number-field/number-field.d.ts +19 -19
  343. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  344. package/dist/components/inputs/number-field/number-field.js +39 -39
  345. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  346. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +12 -12
  347. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  348. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +27 -27
  349. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  350. package/dist/components/inputs/password-field/password-field.d.ts +26 -26
  351. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  352. package/dist/components/inputs/password-field/password-field.js +51 -51
  353. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  354. package/dist/components/inputs/radio-button/radio-button.d.ts +20 -20
  355. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  356. package/dist/components/inputs/radio-button/radio-button.js +37 -34
  357. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  358. package/dist/components/inputs/radio-button/radio-button.styles.js +1 -1
  359. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +14 -14
  360. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  361. package/dist/components/inputs/radio-button-field/radio-button-field.js +25 -25
  362. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  363. package/dist/components/inputs/radio-button-field/radio-button-field.template.js +1 -1
  364. package/dist/components/inputs/radio-button-field/radio-button-field.template.js.map +1 -1
  365. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +9 -9
  366. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
  367. package/dist/components/inputs/radio-button-group/radio-button-group.js +18 -18
  368. package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
  369. package/dist/components/inputs/search-field/search-field.d.ts +8 -8
  370. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  371. package/dist/components/inputs/search-field/search-field.js +19 -19
  372. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  373. package/dist/components/inputs/segmented-control/segmented-control.d.ts +56 -60
  374. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  375. package/dist/components/inputs/segmented-control/segmented-control.js +110 -102
  376. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  377. package/dist/components/inputs/segmented-control/segmented-control.styles.js +11 -11
  378. package/dist/components/inputs/slider/slider.d.ts +6 -6
  379. package/dist/components/inputs/slider/slider.d.ts.map +1 -1
  380. package/dist/components/inputs/slider/slider.js +33 -21
  381. package/dist/components/inputs/slider/slider.js.map +1 -1
  382. package/dist/components/inputs/stepper/stepper.d.ts +12 -12
  383. package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
  384. package/dist/components/inputs/stepper/stepper.js +24 -24
  385. package/dist/components/inputs/stepper/stepper.js.map +1 -1
  386. package/dist/components/inputs/stepper/stepper.template.js +2 -2
  387. package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
  388. package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +10 -9
  389. package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
  390. package/dist/components/inputs/swatch-picker/swatch-picker.js +27 -20
  391. package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
  392. package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +2 -2
  393. package/dist/components/inputs/switch/switch.d.ts +15 -15
  394. package/dist/components/inputs/switch/switch.d.ts.map +1 -1
  395. package/dist/components/inputs/switch/switch.js +27 -27
  396. package/dist/components/inputs/switch/switch.js.map +1 -1
  397. package/dist/components/inputs/switch-field/switch-field.d.ts +13 -13
  398. package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
  399. package/dist/components/inputs/switch-field/switch-field.js +22 -22
  400. package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
  401. package/dist/components/inputs/text-editor/text-editor.d.ts +11 -11
  402. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  403. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +4 -1
  404. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
  405. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +3 -1
  406. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
  407. package/dist/components/inputs/text-editor/text-editor.js +39 -39
  408. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  409. package/dist/components/inputs/text-editor/text-editor.links.d.ts +6 -1
  410. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  411. package/dist/components/inputs/text-editor/text-editor.links.js +24 -7
  412. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  413. package/dist/components/inputs/text-field/text-field.d.ts +28 -28
  414. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  415. package/dist/components/inputs/text-field/text-field.js +50 -50
  416. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  417. package/dist/components/inputs/time-field/time-field.d.ts +24 -24
  418. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  419. package/dist/components/inputs/time-field/time-field.js +51 -51
  420. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  421. package/dist/components/inputs/time-picker/time-picker.d.ts +21 -20
  422. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  423. package/dist/components/inputs/time-picker/time-picker.js +38 -34
  424. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  425. package/dist/components/inputs/toggle-button/toggle-button.d.ts +28 -28
  426. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  427. package/dist/components/inputs/toggle-button/toggle-button.js +51 -51
  428. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  429. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +23 -23
  430. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  431. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +34 -34
  432. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  433. package/dist/components/inputs/token-field/token-field.d.ts +20 -20
  434. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  435. package/dist/components/inputs/token-field/token-field.js +46 -47
  436. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  437. package/dist/components/layout/box/box.d.ts +1 -1
  438. package/dist/components/layout/box/box.js +1 -1
  439. package/dist/components/layout/card/card.d.ts +9 -9
  440. package/dist/components/layout/card/card.d.ts.map +1 -1
  441. package/dist/components/layout/card/card.js +14 -14
  442. package/dist/components/layout/card/card.js.map +1 -1
  443. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  444. package/dist/components/layout/card/card.styles.js +11 -1
  445. package/dist/components/layout/card/card.styles.js.map +1 -1
  446. package/dist/components/layout/collection/collection.d.ts +2 -2
  447. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  448. package/dist/components/layout/collection/collection.js +5 -5
  449. package/dist/components/layout/collection/collection.js.map +1 -1
  450. package/dist/components/layout/collection/collection.template.js +2 -2
  451. package/dist/components/layout/container/container.d.ts +5 -3
  452. package/dist/components/layout/container/container.d.ts.map +1 -1
  453. package/dist/components/layout/container/container.js +14 -8
  454. package/dist/components/layout/container/container.js.map +1 -1
  455. package/dist/components/layout/kanban/kanban.d.ts +2 -2
  456. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  457. package/dist/components/layout/kanban/kanban.js +5 -5
  458. package/dist/components/layout/kanban/kanban.js.map +1 -1
  459. package/dist/components/layout/page/page.d.ts +11 -3
  460. package/dist/components/layout/page/page.d.ts.map +1 -1
  461. package/dist/components/layout/page/page.js +34 -16
  462. package/dist/components/layout/page/page.js.map +1 -1
  463. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  464. package/dist/components/layout/page/page.styles.js +3 -2
  465. package/dist/components/layout/page/page.styles.js.map +1 -1
  466. package/dist/components/layout/page-footer/page-footer.d.ts +1 -1
  467. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  468. package/dist/components/layout/page-footer/page-footer.js +4 -4
  469. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  470. package/dist/components/layout/page-sections/hero/hero.d.ts +16 -16
  471. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  472. package/dist/components/layout/page-sections/hero/hero.js +28 -28
  473. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  474. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +7 -7
  475. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  476. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +16 -16
  477. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  478. package/dist/components/layout/popover/popover.d.ts +9 -9
  479. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  480. package/dist/components/layout/popover/popover.js +22 -22
  481. package/dist/components/layout/popover/popover.js.map +1 -1
  482. package/dist/components/layout/sheet/sheet.d.ts +1 -1
  483. package/dist/components/layout/sheet/sheet.js +1 -1
  484. package/dist/components/layout/shell/shell.d.ts +2 -0
  485. package/dist/components/layout/shell/shell.d.ts.map +1 -1
  486. package/dist/components/layout/shell/shell.js +2 -0
  487. package/dist/components/layout/shell/shell.js.map +1 -1
  488. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
  489. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -0
  490. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
  491. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +13 -5
  492. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  493. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +27 -46
  494. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  495. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  496. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +6 -0
  497. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  498. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
  499. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +3 -2
  500. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
  501. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
  502. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +2 -0
  503. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
  504. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
  505. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +2 -0
  506. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
  507. package/dist/components/layout/window/window.d.ts +5 -5
  508. package/dist/components/layout/window/window.d.ts.map +1 -1
  509. package/dist/components/layout/window/window.js +10 -10
  510. package/dist/components/layout/window/window.js.map +1 -1
  511. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -2
  512. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  513. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +5 -5
  514. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  515. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +11 -11
  516. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
  517. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +17 -17
  518. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
  519. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  520. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  521. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
  522. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  523. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
  524. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  525. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +7 -4
  526. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  527. package/dist/components/lists-and-tables/list/list.d.ts +6 -6
  528. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  529. package/dist/components/lists-and-tables/list/list.js +13 -18
  530. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  531. package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -29
  532. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  533. package/dist/components/lists-and-tables/list-item/list-item.js +35 -30
  534. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  535. package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -2
  536. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +25 -25
  537. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  538. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +44 -44
  539. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  540. package/dist/components/lists-and-tables/table/table.d.ts +7 -3
  541. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  542. package/dist/components/lists-and-tables/table/table.js +10 -6
  543. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  544. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +4 -4
  545. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  546. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +7 -7
  547. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  548. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +6 -6
  549. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  550. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +15 -15
  551. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  552. package/dist/components/navigation/link/link.d.ts +13 -13
  553. package/dist/components/navigation/link/link.d.ts.map +1 -1
  554. package/dist/components/navigation/link/link.js +29 -29
  555. package/dist/components/navigation/link/link.js.map +1 -1
  556. package/dist/components/navigation/link-group/link-group.d.ts +2 -2
  557. package/dist/components/navigation/link-group/link-group.d.ts.map +1 -1
  558. package/dist/components/navigation/link-group/link-group.js +5 -5
  559. package/dist/components/navigation/link-group/link-group.js.map +1 -1
  560. package/dist/components/navigation/menu-bar/menu-bar.d.ts +5 -5
  561. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  562. package/dist/components/navigation/menu-bar/menu-bar.js +12 -10
  563. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  564. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +21 -18
  565. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  566. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +43 -35
  567. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  568. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +3 -3
  569. package/dist/components/navigation/pagination/pagination.d.ts +5 -5
  570. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  571. package/dist/components/navigation/pagination/pagination.js +11 -11
  572. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  573. package/dist/components/navigation/pagination/pagination.template.js +2 -2
  574. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  575. package/dist/components/navigation/tab-bar/tab-bar.d.ts +16 -16
  576. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  577. package/dist/components/navigation/tab-bar/tab-bar.js +33 -30
  578. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  579. package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -1
  580. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  581. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +4 -4
  582. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  583. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +12 -12
  584. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  585. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +2 -2
  586. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  587. package/dist/components/navigation/top-title-bar/top-title-bar.js +5 -5
  588. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  589. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +9 -9
  590. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  591. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +15 -15
  592. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  593. package/dist/components/status-and-feedback/badge/badge.d.ts +2 -2
  594. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  595. package/dist/components/status-and-feedback/badge/badge.js +5 -5
  596. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  597. package/dist/components/status-and-feedback/banner/banner.d.ts +2 -2
  598. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  599. package/dist/components/status-and-feedback/banner/banner.js +5 -5
  600. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  601. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +6 -6
  602. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  603. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +13 -13
  604. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  605. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +8 -8
  606. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  607. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +17 -17
  608. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  609. package/dist/components/status-and-feedback/notification/notification.d.ts +2 -2
  610. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  611. package/dist/components/status-and-feedback/notification/notification.js +5 -5
  612. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  613. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +12 -12
  614. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  615. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +28 -28
  616. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  617. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +10 -10
  618. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  619. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +24 -24
  620. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  621. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -2
  622. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  623. package/dist/components/status-and-feedback/status-bar/status-bar.js +5 -5
  624. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  625. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +12 -6
  626. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  627. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts +1 -0
  628. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -1
  629. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +1 -0
  630. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -1
  631. package/dist/components/status-and-feedback/step-bar/step-bar.js +15 -12
  632. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  633. package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -1
  634. package/dist/components/status-and-feedback/step-bar/step-bar.template.js +3 -1
  635. package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
  636. package/dist/nldd.min.js +864 -927
  637. package/dist/translations/en-US.d.ts.map +1 -1
  638. package/dist/translations/en-US.js +2 -0
  639. package/dist/translations/en-US.js.map +1 -1
  640. package/dist/translations/fy.d.ts.map +1 -1
  641. package/dist/translations/fy.js +2 -0
  642. package/dist/translations/fy.js.map +1 -1
  643. package/dist/translations/nl.generated.d.ts +2 -0
  644. package/dist/translations/nl.generated.d.ts.map +1 -1
  645. package/dist/translations/nl.generated.js +2 -0
  646. package/dist/translations/nl.generated.js.map +1 -1
  647. package/dist/translations/pap-AW.d.ts.map +1 -1
  648. package/dist/translations/pap-AW.js +2 -0
  649. package/dist/translations/pap-AW.js.map +1 -1
  650. package/dist/translations/pap-CW.d.ts.map +1 -1
  651. package/dist/translations/pap-CW.js +2 -0
  652. package/dist/translations/pap-CW.js.map +1 -1
  653. package/dist/types/react.d.ts +748 -802
  654. package/dist/types/vue.d.ts +893 -971
  655. package/dist/utilities/autoloader.generated.d.ts.map +1 -1
  656. package/dist/utilities/autoloader.generated.js +0 -1
  657. package/dist/utilities/autoloader.generated.js.map +1 -1
  658. package/dist/utilities/dev-checks.d.ts +6 -0
  659. package/dist/utilities/dev-checks.d.ts.map +1 -1
  660. package/dist/utilities/dev-checks.js +42 -16
  661. package/dist/utilities/dev-checks.js.map +1 -1
  662. package/dist/utilities/dev-rules.generated.js +177 -177
  663. package/dist/utilities/dev-rules.generated.js.map +1 -1
  664. package/dist/utilities/element-state.d.ts +11 -0
  665. package/dist/utilities/element-state.d.ts.map +1 -1
  666. package/dist/utilities/element-state.js +18 -3
  667. package/dist/utilities/element-state.js.map +1 -1
  668. package/dist/utilities/scroll-mode-controller.d.ts +8 -0
  669. package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
  670. package/dist/utilities/scroll-mode-controller.js +13 -1
  671. package/dist/utilities/scroll-mode-controller.js.map +1 -1
  672. package/lint/css.js +58 -26
  673. package/lint/data.generated.json +1 -1
  674. package/lint/engine.js +29 -12
  675. package/lint/fix.js +146 -12
  676. package/lint/format.js +4 -3
  677. package/lint/frontends.js +153 -35
  678. package/lint/linter.js +178 -25
  679. package/lint/main.js +7 -2
  680. package/lint/project.js +50 -12
  681. package/lint/rule-compiler.js +20 -11
  682. package/lint/rule-data.js +8 -0
  683. package/lint/rule.schema.json +12 -2
  684. package/lint/session.js +42 -18
  685. package/lint/tree.js +5 -2
  686. package/package.json +3 -6
  687. package/dist/cdn/chunks/nl.generated-BDowZkhc.js +0 -116
  688. package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +0 -52
  689. package/dist/cdn/chunks/split-view-pane-BgFUL3BV.js +0 -131
  690. package/dist/cdn/chunks/toolbar-item-CkwQ2UyY.js +0 -50
  691. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +0 -49
  692. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +0 -1
  693. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +0 -80
  694. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +0 -1
  695. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts +0 -2
  696. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +0 -1
  697. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +0 -95
  698. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +0 -1
  699. package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts +0 -4
  700. package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts.map +0 -1
  701. package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js +0 -9
  702. 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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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,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,MAAM,CAAC,MAAM,KAAK,GAAa;IAC9B,GAAG,YAAY,CAAC,IAAI,EAAE;IACtB,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;CACvB,CAAC,IAAI,EAAE,CAAC;AAaT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAEI,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,UAAU;IAAjC;;QAIN,SAAI,GAAG,eAAe,CAAC;QAGvB,SAAI,GAAa,MAAM,CAAC;QAGxB,UAAK,GAAc,SAAS,CAAC;QAE7B;;4CAEoC;QAEpC,gBAAW,GAAG,EAAE,CAAC;QAEjB;;;;;;;;;;WAUG;QAEH,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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 {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.
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
- src: string;
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
- loading: ImageLoading;
96
- decoding: ImageDecoding;
97
- fetchPriority?: ImageFetchPriority;
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
- shape: ImageShape;
96
+ lqip: string;
97
+ decoding: ImageDecoding;
98
+ fetchPriority?: ImageFetchPriority;
102
99
  caption: string;
103
100
  credit: string;
104
101
  decorative: boolean;
105
- lqip: string;
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAOjC,OA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oBAAoB,GAAI,GAAG,KAAK,KAAG,IAAI,CAErC;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,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 {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.
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.src = '';
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.loading = 'lazy';
129
- this.decoding = 'async';
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.shape = 'square';
129
+ this.lqip = '';
130
+ this.decoding = 'async';
134
131
  this.caption = '';
135
132
  this.credit = '';
136
133
  this.decorative = false;
137
- this.lqip = '';
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, "src", void 0);
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, "loading", void 0);
350
+ ], NLDDImage.prototype, "srcset", void 0);
360
351
  __decorate([
361
352
  property({ type: String })
362
- ], NLDDImage.prototype, "decoding", void 0);
353
+ ], NLDDImage.prototype, "sizes", void 0);
363
354
  __decorate([
364
- property({ type: String, attribute: 'fetchpriority' })
365
- ], NLDDImage.prototype, "fetchPriority", void 0);
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({ reflect: true, converter: reflectNonDefault('square') })
377
- ], NLDDImage.prototype, "shape", void 0);
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, "lqip", void 0);
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAS/D;;;;;GAKG;AACH,SAAS,kBAAkB,CAAC,EAAW;IACtC,MAAM,KAAK,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,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AAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCACjB;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CACO;AAGlC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;gDACpB;AAGnC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;0CACzD;AAGb;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;yCAC1D;AAGZ;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CACxB;AAGnB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CACI;AAI/B;IADC,QAAQ,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;IAGhD,IAAI,SAAM;IAGV,OAAO,SAAM;IAGb,WAAW,SAAM;IAGjB,SAAS,SAAM;IAGf,IAAI,EAAE,IAAI,CAAQ;IAElB;;;;OAIG;IAEH,UAAU,EAAE,UAAU,CAAY;IAElC;;;;;OAKG;IAEH,KAAK,EAAE,KAAK,CAAa;IAGzB,aAAa,UAAS;IAEtB;;;;;;;;OAQG;IAEH,OAAO,EAAE,EAAE,GAAG,EAAE,CAAM;IAEtB,0EAA0E;IAC1E,IAAI,WAAW,IAAI,EAAE,CAEpB;IAED,IAAI,aAAa,I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,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);