@nldd/design-system 0.27.1 → 0.28.1

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 (687) hide show
  1. package/custom-elements.json +5634 -5882
  2. package/dist/cdn/autoloader.js +140 -141
  3. package/dist/cdn/chunks/{accordion-item-Db9LW8AG.js → accordion-item-C6M7whqP.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-tLICRUFs.js → accordion-qNc04J73.js} +4 -4
  5. package/dist/cdn/chunks/{activity-indicator-CMNIikEV.js → activity-indicator-NvfhYycS.js} +14 -14
  6. package/dist/cdn/chunks/{admonition-DEXVkTJm.js → admonition-CrFn5dn8.js} +4 -4
  7. package/dist/cdn/chunks/{avatar-nLrlfh4s.js → avatar-De4nVQAy.js} +23 -23
  8. package/dist/cdn/chunks/{avatar-group-DMU0HLBL.js → avatar-group-cS_7WjsC.js} +16 -15
  9. package/dist/cdn/chunks/{badge-D1XadmOE.js → badge-BNmnWgNJ.js} +9 -9
  10. package/dist/cdn/chunks/{banner-B4kFQlHx.js → banner-CJ0VfDQl.js} +11 -11
  11. package/dist/cdn/chunks/{bar-split-view-DtD4zmoP.js → bar-split-view-DJZ_RMrc.js} +11 -6
  12. package/dist/cdn/chunks/{blockquote-DbFjwox8.js → blockquote-Fbk-Cz-z.js} +7 -7
  13. package/dist/cdn/chunks/{box-BlwaDicI.js → box-DUjTdMwj.js} +3 -3
  14. package/dist/cdn/chunks/{breadcrumbs-DJS9-8wX.js → breadcrumbs-DvQfnS-r.js} +12 -12
  15. package/dist/cdn/chunks/{button-BK8CmshL.js → button-BiZEK2qo.js} +75 -79
  16. package/dist/cdn/chunks/{button-bar-5RtXjgGl.js → button-bar-BD8YYSya.js} +8 -8
  17. package/dist/cdn/chunks/{button-group-BYMkQNhT.js → button-group-BDgwtxiB.js} +8 -8
  18. package/dist/cdn/chunks/{card-NNl0PxBY.js → card-7YW4G3mN.js} +21 -11
  19. package/dist/cdn/chunks/{cell-D2NzCBVZ.js → cell-D4rzlHiL.js} +6 -6
  20. package/dist/cdn/chunks/{checkbox-CXFA_up4.js → checkbox-BAXC8LxT.js} +21 -21
  21. package/dist/cdn/chunks/{checkbox-field-sFs7GvAq.js → checkbox-field-DokK3uET.js} +15 -15
  22. package/dist/cdn/chunks/{checkbox-group-BPN4eRCX.js → checkbox-group-dYi8Qw-Z.js} +12 -12
  23. package/dist/cdn/chunks/{class-map-1XjgYGeg.js → class-map-Dk5rXpmX.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-KZEaMAN7.js → code-editor-Uc5WnSyE.js} +13 -13
  25. package/dist/cdn/chunks/{code-viewer-CJwpLKb1.js → code-viewer-DmaSO8TW.js} +17 -17
  26. package/dist/cdn/chunks/{codemirror-input-CYBNNf0-.js → codemirror-input-yuu4_CF5.js} +5 -5
  27. package/dist/cdn/chunks/{collection-BdUB8qeL.js → collection-DRkMikEK.js} +13 -13
  28. package/dist/cdn/chunks/{combo-box-DxWW-zeE.js → combo-box-BfgDCM9z.js} +42 -42
  29. package/dist/cdn/chunks/{container-Dhf1Ahi8.js → container-Ce02W6bB.js} +9 -9
  30. package/dist/cdn/chunks/{custom-element-DtLjpays.js → custom-element-B7CAmse4.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-D83r9gjY.js → date-field-D0qFC7IW.js} +35 -35
  33. package/dist/cdn/chunks/{date-picker-D8qv2iuG.js → date-picker-DwXIznN6.js} +23 -23
  34. package/dist/cdn/chunks/{decorate-BhnGmemK.js → decorate-CrwTiRI4.js} +1 -1
  35. package/dist/cdn/chunks/{described-by-mixin-Jh_PTTde.js → described-by-mixin-Dks9Tazd.js} +3 -3
  36. package/dist/cdn/chunks/{description-cell-nQKMluy8.js → description-cell-vdXLTWdM.js} +6 -6
  37. package/dist/cdn/chunks/{dev-checks-Bet7bhMS.js → dev-checks-C7AQOQdy.js} +152 -177
  38. package/dist/cdn/chunks/{directive-helpers-dLE2M1R1.js → directive-helpers-DhYhHq0V.js} +1 -1
  39. package/dist/cdn/chunks/{dist-EP5KATv0.js → dist-BF_HsA1F.js} +1 -1
  40. package/dist/cdn/chunks/{dist-DwevYbXo.js → dist-BO8LBhZ9.js} +1 -1
  41. package/dist/cdn/chunks/{dist-Cdmhq-4P.js → dist-BStcClNc.js} +2 -2
  42. package/dist/cdn/chunks/{dist-BpqJqkl_.js → dist-C3SPGWp1.js} +1 -1
  43. package/dist/cdn/chunks/{dist-Dzlvec4O.js → dist-CpFmom1e.js} +1 -1
  44. package/dist/cdn/chunks/{dist-DJSiRJRL.js → dist-DA8xWaRD.js} +1 -1
  45. package/dist/cdn/chunks/{dist-CYKK2xXE.js → dist-DKwVzsKb.js} +3 -3
  46. package/dist/cdn/chunks/{dist-BbwC3zHR.js → dist-DsI2zIZX.js} +2 -2
  47. package/dist/cdn/chunks/{dist-BTuJ-NyU.js → dist-Ef-Tq6YF.js} +2 -2
  48. package/dist/cdn/chunks/{dist-C9xmfEc_.js → dist-L5MKtblc.js} +1 -1
  49. package/dist/cdn/chunks/{dist-u6MS5-M8.js → dist-fQWTQex_.js} +3 -3
  50. package/dist/cdn/chunks/{divider-DjT76fuO.js → divider-DtcYfGdC.js} +2 -2
  51. package/dist/cdn/chunks/{document-tab-bar-CO2M1bFc.js → document-tab-bar-C16nriDX.js} +23 -23
  52. package/dist/cdn/chunks/{dropdown-CdQ1beF2.js → dropdown-imPdtMWv.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-D0UlnM9R.js → file-field-KvBiDQDG.js} +29 -29
  56. package/dist/cdn/chunks/{form-BV9wifov.js → form-D1EnbYQi.js} +9 -6
  57. package/dist/cdn/chunks/{form-actions-DDeF8urg.js → form-actions-BVb12cWB.js} +21 -17
  58. package/dist/cdn/chunks/{form-associated-mixin-Cm1N24gR.js → form-associated-mixin-1aHgl6CN.js} +3 -3
  59. package/dist/cdn/chunks/{form-field-IeKadcwe.js → form-field-C7IKuhqV.js} +72 -63
  60. package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +3 -0
  61. package/dist/cdn/chunks/{form-section-C350G5wg.js → form-section-C3EY5PYR.js} +1 -1
  62. package/dist/cdn/chunks/{full-bleed-section-CR3zsX7K.js → full-bleed-section-D0Eg6xrZ.js} +3 -3
  63. package/dist/cdn/chunks/{hero-Ch5el5J5.js → hero-CLt5Cw5O.js} +23 -23
  64. package/dist/cdn/chunks/{icon-Dj98ov4G.js → icon-Dm2x9BcO.js} +9 -9
  65. package/dist/cdn/chunks/{icon-button-HKoCqWG3.js → icon-button-CBEWhco-.js} +64 -68
  66. package/dist/cdn/chunks/{icon-cell-C1I-oIWn.js → icon-cell-DXxd6Nry.js} +9 -9
  67. package/dist/cdn/chunks/{identity-DNkEDJ8m.js → identity-BeTWWEj8.js} +6 -6
  68. package/dist/cdn/chunks/{if-defined-CZ1Fmb74.js → if-defined-mF0X0Rdi.js} +1 -1
  69. package/dist/cdn/chunks/{image-KXTd-hL-.js → image-COSXwiWa.js} +21 -21
  70. package/dist/cdn/chunks/{inline-dialog-BTI0xmIT.js → inline-dialog-DIOgk8bK.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-BtjbYffu.js → just-in-time-education-BZNVdvuU.js} +17 -17
  73. package/dist/cdn/chunks/{kanban-DNXtL34O.js → kanban-Cck2OXzv.js} +10 -10
  74. package/dist/cdn/chunks/{kanban-column-D0ujQ2_W.js → kanban-column--KK3DP8d.js} +4 -4
  75. package/dist/cdn/chunks/{keyboard-shortcut-BikzmCBH.js → keyboard-shortcut-CuyFIf1M.js} +13 -13
  76. package/dist/cdn/chunks/{languages-CPd7_I8H.js → languages-AgQxW3ST.js} +12 -12
  77. package/dist/cdn/chunks/{link-DqMeRYFm.js → link-Dwx2iVe3.js} +16 -16
  78. package/dist/cdn/chunks/{link-group-BKn4MHA-.js → link-group-C1W4fywA.js} +6 -6
  79. package/dist/cdn/chunks/{link-hint-KFhgr5Ng.js → link-hint-x3C1uwSo.js} +1 -1
  80. package/dist/cdn/chunks/{list-C8Dnks-q.js → list-DLzBphoL.js} +18 -18
  81. package/dist/cdn/chunks/{list-item-CSP1a_cN.js → list-item-C_ehVVWB.js} +85 -88
  82. package/dist/cdn/chunks/{list-item-segment-BvFqXXnA.js → list-item-segment-BSKAGZX1.js} +16 -16
  83. package/dist/cdn/chunks/{menu-LZ0DmVCe.js → menu-C1PAGWta.js} +38 -29
  84. package/dist/cdn/chunks/{menu-bar-rsGd3kKq.js → menu-bar-0nenrPh7.js} +34 -34
  85. package/dist/cdn/chunks/{menu-bar-item-DENdrp0m.js → menu-bar-item-CxwtcbeA.js} +44 -43
  86. package/dist/cdn/chunks/{menu-divider-BptK2nug.js → menu-divider-FTcoHy0o.js} +3 -3
  87. package/dist/cdn/chunks/{menu-group-0B34NyN5.js → menu-group-CbuJhLxI.js} +4 -4
  88. package/dist/cdn/chunks/{menu-item-55vjckz2.js → menu-item-BMblp58r.js} +21 -21
  89. package/dist/cdn/chunks/{menu.template-B_HMnBsa.js → menu.template-DVwVuOZ7.js} +6 -6
  90. package/dist/cdn/chunks/{modal-dialog-DQY_0Qlk.js → modal-dialog-Bd0UpTKp.js} +4 -4
  91. package/dist/cdn/chunks/{multi-line-text-field-DB4Vflno.js → multi-line-text-field-C_Mrqdc7.js} +36 -36
  92. package/dist/cdn/chunks/{navigation-split-view-Dbhrxni9.js → navigation-split-view-DI6bkyO8.js} +65 -57
  93. package/dist/cdn/chunks/nl.generated-B194RR-y.js +118 -0
  94. package/dist/cdn/chunks/{notification-dtrMLORo.js → notification-DlP3Jqyg.js} +10 -10
  95. package/dist/cdn/chunks/{number-field-Ctxk40as.js → number-field-BJ6CkhId.js} +23 -23
  96. package/dist/cdn/chunks/{one-half-one-half-section-Bx6KLSY5.js → one-half-one-half-section-DHCUh_wz.js} +3 -3
  97. package/dist/cdn/chunks/{one-third-two-thirds-section-Bql0Xrsc.js → one-third-two-thirds-section-DYTm8bKQ.js} +3 -3
  98. package/dist/cdn/chunks/{one-time-code-field-B-y5gRLi.js → one-time-code-field-DHuL7IM1.js} +25 -25
  99. package/dist/cdn/chunks/{overflow-menu-Cs1VLcX7.js → overflow-menu-ziAYinfd.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-Bdkit86l.js → page-CN9aT0-o.js} +52 -51
  102. package/dist/cdn/chunks/{page-footer-D68JiIFE.js → page-footer-BHk3XPcl.js} +10 -10
  103. package/dist/cdn/chunks/{page-section-mixin-Bmlpcmrw.js → page-section-mixin-BCWdaBe-.js} +3 -3
  104. package/dist/cdn/chunks/{pagination-BH6UQbby.js → pagination-TG6S64c8.js} +16 -16
  105. package/dist/cdn/chunks/{password-field-Dz0znv2L.js → password-field-WlBkV6Zk.js} +33 -33
  106. package/dist/cdn/chunks/{popover-C6j3sO70.js → popover-SPjzHEBv.js} +18 -18
  107. package/dist/cdn/chunks/{progress-bar-BA_5dDXK.js → progress-bar-y1V2-yVB.js} +30 -30
  108. package/dist/cdn/chunks/{progress-circle-DsCyTyw-.js → progress-circle-CmHdUkXN.js} +27 -27
  109. package/dist/cdn/chunks/{radio-button-pcE5Vo5k.js → radio-button-0w_6MBnr.js} +50 -53
  110. package/dist/cdn/chunks/{radio-button-field-JsQalrMs.js → radio-button-field-DRxHUlU-.js} +14 -14
  111. package/dist/cdn/chunks/{radio-button-group-Bqn43LYh.js → radio-button-group-BOSrS8Cw.js} +12 -12
  112. package/dist/cdn/chunks/{render-marked-DAVGoeYa.js → render-marked-B37AmEcK.js} +1 -1
  113. package/dist/cdn/chunks/{reorder-handle-cell-r4OuA45S.js → reorder-handle-cell-DNexvOly.js} +4 -4
  114. package/dist/cdn/chunks/{reorder-handle-mixin-Co5E_Y7l.js → reorder-handle-mixin-DR6s48h0.js} +2 -2
  115. package/dist/cdn/chunks/{repeat-DoLR8W_a.js → repeat-DmJWskI3.js} +2 -2
  116. package/dist/cdn/chunks/{rich-text-CEmzxZRC.js → rich-text-Dt9MNeaN.js} +7 -7
  117. package/dist/cdn/chunks/{row-header-mixin-BCYXiXva.js → row-header-mixin-CACRXO0G.js} +2 -2
  118. package/dist/cdn/chunks/{scroll-fade-OSFrYTum.js → scroll-fade-CnG9vdGO.js} +2 -2
  119. package/dist/cdn/chunks/scroll-mode-controller-CuCRKyLT.js +55 -0
  120. package/dist/cdn/chunks/{search-field-CT483s7J.js → search-field-DHwGMif1.js} +21 -21
  121. package/dist/cdn/chunks/{segmented-control-5zMasjz7.js → segmented-control-DhEmavt0.js} +86 -91
  122. package/dist/cdn/chunks/{shadow-resets-DR73IFIL.js → shadow-resets-B5O9JTmC.js} +2 -2
  123. package/dist/cdn/chunks/{sheet-CDXX61d_.js → sheet-BLe_3_DE.js} +4 -4
  124. package/dist/cdn/chunks/{shell-C4vAeA49.js → shell-DqPhGCqs.js} +4 -4
  125. package/dist/cdn/chunks/{side-by-side-split-view-D9_u1TIS.js → side-by-side-split-view-DCAuNLWx.js} +7 -5
  126. package/dist/cdn/chunks/{sidebar-section-vWX-ymIa.js → sidebar-section-nC17BdDf.js} +16 -16
  127. package/dist/cdn/chunks/{simple-section-CEw2oC7K.js → simple-section-C2XC7_dY.js} +3 -3
  128. package/dist/cdn/chunks/{skip-link-DcOGlfM9.js → skip-link-DVUTni1o.js} +5 -5
  129. package/dist/cdn/chunks/{slider-B108QDlz.js → slider-D6bcOyZe.js} +30 -24
  130. package/dist/cdn/chunks/{slotted-block-xNpJoXLz.js → slotted-block-MzAN2mbY.js} +1 -1
  131. package/dist/cdn/chunks/{spacer-CpfTNtbZ.js → spacer-D39nYCkZ.js} +2 -2
  132. package/dist/cdn/chunks/{spacer-cell-DBm7_AUi.js → spacer-cell-BWIkzpvO.js} +4 -4
  133. package/dist/cdn/chunks/{split-button-DxgDxdan.js → split-button-QFO3hzQ4.js} +26 -26
  134. package/dist/cdn/chunks/{split-view-divider-6_RDvANN.js → split-view-divider-BwBUUVjD.js} +2 -2
  135. package/dist/cdn/chunks/{stacked-split-view-CRMEMwtv.js → stacked-split-view-yNPky0NT.js} +7 -5
  136. package/dist/cdn/chunks/{static-html-CmXnRyP6.js → static-html-CTzABBaH.js} +1 -1
  137. package/dist/cdn/chunks/{status-bar-Blk_iYSD.js → status-bar-CLC37EL9.js} +8 -8
  138. package/dist/cdn/chunks/{step-bar-DM4a_0PG.js → step-bar-BhgHHkDX.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-CUs8AKJq.js → step-cell-DC2qTAyk.js} +14 -14
  141. package/dist/cdn/chunks/{stepper-JwxPNJRc.js → stepper-B-cc2_Sm.js} +19 -19
  142. package/dist/cdn/chunks/{style-map-DUDIMhuW.js → style-map-HtOjYtU6.js} +1 -1
  143. package/dist/cdn/chunks/{swatch-picker-BXs7Ob4o.js → swatch-picker-k_4WmoQz.js} +49 -44
  144. package/dist/cdn/chunks/{switch-CWKoOyz7.js → switch-CkeeQxIb.js} +20 -20
  145. package/dist/cdn/chunks/{switch-field-BgX9mNOA.js → switch-field-Bz3JEf0A.js} +13 -13
  146. package/dist/cdn/chunks/{tab-bar-BNaJSB38.js → tab-bar-A1J5hAqM.js} +27 -27
  147. package/dist/cdn/chunks/{table-dgJdHR92.js → table-D_AIkENk.js} +11 -11
  148. package/dist/cdn/chunks/{tag-DHHf_gxq.js → tag-CSEVQj4T.js} +5 -5
  149. package/dist/cdn/chunks/{term-DNLqQErM.js → term-DuVHCQcO.js} +16 -16
  150. package/dist/cdn/chunks/{text-CK1-qJ6d.js → text-CBH-FTlq.js} +11 -11
  151. package/dist/cdn/chunks/{text-cell-CrKBqL5A.js → text-cell-D60E-KiB.js} +13 -13
  152. package/dist/cdn/chunks/{text-editor-B0A2vNpD.js → text-editor-CFesnlv8.js} +975 -970
  153. package/dist/cdn/chunks/{text-field-CqYxSiKy.js → text-field-ClvBNmw_.js} +34 -34
  154. package/dist/cdn/chunks/{time-field-DHm6KQsG.js → time-field-D1ueoBOt.js} +35 -35
  155. package/dist/cdn/chunks/{time-picker-C_BE5oNq.js → time-picker-ttlWNV2I.js} +12 -12
  156. package/dist/cdn/chunks/{title-BpREzeX9.js → title-D2otK52V.js} +6 -6
  157. package/dist/cdn/chunks/{title-cell-C4ZL3mJo.js → title-cell-BOolNM8K.js} +11 -11
  158. package/dist/cdn/chunks/{toggle-button-COQdr-hZ.js → toggle-button-CzWCZusb.js} +35 -35
  159. package/dist/cdn/chunks/{toggle-button-group-D4vTcGce.js → toggle-button-group-BUKU9xiy.js} +13 -13
  160. package/dist/cdn/chunks/{token-1DfHVSVj.js → token-HxBj8tdv.js} +11 -11
  161. package/dist/cdn/chunks/{token-field-s_mCjtcZ.js → token-field-DHAfga9R.js} +26 -26
  162. package/dist/cdn/chunks/{toolbar-Bz_8d1v-.js → toolbar-CR6uWzjc.js} +32 -23
  163. package/dist/cdn/chunks/toolbar-item-M5kEBN_1.js +77 -0
  164. package/dist/cdn/chunks/{toolbar-title-Cl8VPHYK.js → toolbar-title-2XyAXFDG.js} +36 -22
  165. package/dist/cdn/chunks/{toolbar.styles-BiT7JPsr.js → toolbar.styles-SLbsPK33.js} +19 -17
  166. package/dist/cdn/chunks/{tooltip-DhPeqDvL.js → tooltip-yN6v0-a6.js} +33 -25
  167. package/dist/cdn/chunks/{top-navigation-bar-CHWqoNms.js → top-navigation-bar-DSv3hYF4.js} +28 -28
  168. package/dist/cdn/chunks/{top-title-bar-DUp0bSIU.js → top-title-bar-Cs93GAbh.js} +12 -12
  169. package/dist/cdn/chunks/{translations-C6WKR-hE.js → translations-1C8iw2u1.js} +1 -1
  170. package/dist/cdn/chunks/{two-thirds-one-third-section-CftZqodu.js → two-thirds-one-third-section-DtrkuHxs.js} +3 -3
  171. package/dist/cdn/chunks/{validation-list-BdTSfsD6.js → validation-list-BrEOIlrc.js} +35 -42
  172. package/dist/cdn/chunks/{visibility-mixin-DL737l0g.js → visibility-mixin-CklY4qL7.js} +2 -2
  173. package/dist/cdn/chunks/{visually-hidden-DvU3wAD4.js → visually-hidden-Clb3JvVO.js} +2 -2
  174. package/dist/cdn/chunks/{window-7XYqha2V.js → window-CVRtBBjQ.js} +11 -11
  175. package/dist/cdn/chunks/{with-translations-nT8q6ELU.js → with-translations-CaLhynTn.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 +26 -26
  243. package/dist/components/content/image/image.d.ts.map +1 -1
  244. package/dist/components/content/image/image.js +43 -43
  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 +5 -5
  267. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  268. package/dist/components/content/tooltip/tooltip.js +33 -12
  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 +7 -3
  460. package/dist/components/layout/page/page.d.ts.map +1 -1
  461. package/dist/components/layout/page/page.js +30 -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 +1 -0
  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/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
  485. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -0
  486. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
  487. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +13 -5
  488. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  489. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +27 -46
  490. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  491. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  492. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +6 -0
  493. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  494. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
  495. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +3 -2
  496. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
  497. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
  498. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +2 -0
  499. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
  500. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
  501. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +2 -0
  502. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
  503. package/dist/components/layout/window/window.d.ts +5 -5
  504. package/dist/components/layout/window/window.d.ts.map +1 -1
  505. package/dist/components/layout/window/window.js +10 -10
  506. package/dist/components/layout/window/window.js.map +1 -1
  507. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -2
  508. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  509. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +5 -5
  510. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  511. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +11 -11
  512. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
  513. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +17 -17
  514. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
  515. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  516. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  517. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
  518. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  519. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
  520. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  521. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +7 -4
  522. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  523. package/dist/components/lists-and-tables/list/list.d.ts +6 -6
  524. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  525. package/dist/components/lists-and-tables/list/list.js +13 -18
  526. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  527. package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -29
  528. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  529. package/dist/components/lists-and-tables/list-item/list-item.js +35 -30
  530. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  531. package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -2
  532. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +25 -25
  533. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  534. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +44 -44
  535. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  536. package/dist/components/lists-and-tables/table/table.d.ts +7 -3
  537. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  538. package/dist/components/lists-and-tables/table/table.js +10 -6
  539. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  540. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +4 -4
  541. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  542. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +7 -7
  543. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  544. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +6 -6
  545. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  546. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +15 -15
  547. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  548. package/dist/components/navigation/link/link.d.ts +13 -13
  549. package/dist/components/navigation/link/link.d.ts.map +1 -1
  550. package/dist/components/navigation/link/link.js +29 -29
  551. package/dist/components/navigation/link/link.js.map +1 -1
  552. package/dist/components/navigation/link-group/link-group.d.ts +2 -2
  553. package/dist/components/navigation/link-group/link-group.d.ts.map +1 -1
  554. package/dist/components/navigation/link-group/link-group.js +5 -5
  555. package/dist/components/navigation/link-group/link-group.js.map +1 -1
  556. package/dist/components/navigation/menu-bar/menu-bar.d.ts +5 -5
  557. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  558. package/dist/components/navigation/menu-bar/menu-bar.js +12 -10
  559. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  560. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +21 -18
  561. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  562. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +43 -35
  563. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  564. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +3 -3
  565. package/dist/components/navigation/pagination/pagination.d.ts +5 -5
  566. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  567. package/dist/components/navigation/pagination/pagination.js +11 -11
  568. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  569. package/dist/components/navigation/pagination/pagination.template.js +2 -2
  570. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  571. package/dist/components/navigation/tab-bar/tab-bar.d.ts +16 -16
  572. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  573. package/dist/components/navigation/tab-bar/tab-bar.js +33 -30
  574. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  575. package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -1
  576. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  577. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +4 -4
  578. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  579. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +12 -12
  580. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  581. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +2 -2
  582. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  583. package/dist/components/navigation/top-title-bar/top-title-bar.js +5 -5
  584. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  585. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +9 -9
  586. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  587. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +15 -15
  588. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  589. package/dist/components/status-and-feedback/badge/badge.d.ts +2 -2
  590. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  591. package/dist/components/status-and-feedback/badge/badge.js +5 -5
  592. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  593. package/dist/components/status-and-feedback/banner/banner.d.ts +2 -2
  594. package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
  595. package/dist/components/status-and-feedback/banner/banner.js +5 -5
  596. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  597. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +6 -6
  598. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
  599. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +13 -13
  600. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  601. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +8 -8
  602. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  603. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +17 -17
  604. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  605. package/dist/components/status-and-feedback/notification/notification.d.ts +2 -2
  606. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  607. package/dist/components/status-and-feedback/notification/notification.js +5 -5
  608. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  609. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +12 -12
  610. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  611. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +28 -28
  612. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  613. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +10 -10
  614. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  615. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +24 -24
  616. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  617. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -2
  618. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  619. package/dist/components/status-and-feedback/status-bar/status-bar.js +5 -5
  620. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  621. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +12 -6
  622. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  623. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts +1 -0
  624. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -1
  625. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +1 -0
  626. package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -1
  627. package/dist/components/status-and-feedback/step-bar/step-bar.js +15 -12
  628. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  629. package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -1
  630. package/dist/components/status-and-feedback/step-bar/step-bar.template.js +3 -1
  631. package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
  632. package/dist/nldd.min.js +862 -925
  633. package/dist/translations/en-US.d.ts.map +1 -1
  634. package/dist/translations/en-US.js +2 -0
  635. package/dist/translations/en-US.js.map +1 -1
  636. package/dist/translations/fy.d.ts.map +1 -1
  637. package/dist/translations/fy.js +2 -0
  638. package/dist/translations/fy.js.map +1 -1
  639. package/dist/translations/nl.generated.d.ts +2 -0
  640. package/dist/translations/nl.generated.d.ts.map +1 -1
  641. package/dist/translations/nl.generated.js +2 -0
  642. package/dist/translations/nl.generated.js.map +1 -1
  643. package/dist/translations/pap-AW.d.ts.map +1 -1
  644. package/dist/translations/pap-AW.js +2 -0
  645. package/dist/translations/pap-AW.js.map +1 -1
  646. package/dist/translations/pap-CW.d.ts.map +1 -1
  647. package/dist/translations/pap-CW.js +2 -0
  648. package/dist/translations/pap-CW.js.map +1 -1
  649. package/dist/types/react.d.ts +748 -802
  650. package/dist/types/vue.d.ts +893 -971
  651. package/dist/utilities/autoloader.generated.d.ts.map +1 -1
  652. package/dist/utilities/autoloader.generated.js +0 -1
  653. package/dist/utilities/autoloader.generated.js.map +1 -1
  654. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  655. package/dist/utilities/dev-rules.generated.js +151 -176
  656. package/dist/utilities/dev-rules.generated.js.map +1 -1
  657. package/dist/utilities/element-state.d.ts +11 -0
  658. package/dist/utilities/element-state.d.ts.map +1 -1
  659. package/dist/utilities/element-state.js +18 -3
  660. package/dist/utilities/element-state.js.map +1 -1
  661. package/dist/utilities/scroll-mode-controller.d.ts +8 -0
  662. package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
  663. package/dist/utilities/scroll-mode-controller.js +13 -1
  664. package/dist/utilities/scroll-mode-controller.js.map +1 -1
  665. package/lint/data.generated.json +1 -1
  666. package/lint/fix.js +43 -0
  667. package/lint/linter.js +4 -0
  668. package/lint/main.js +2 -0
  669. package/lint/rule.schema.json +11 -1
  670. package/lint/wcag.js +67 -0
  671. package/package.json +3 -6
  672. package/dist/cdn/chunks/nl.generated-BDowZkhc.js +0 -116
  673. package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +0 -52
  674. package/dist/cdn/chunks/split-view-pane-9tEGLRZC.js +0 -131
  675. package/dist/cdn/chunks/toolbar-item-B-EDYaPf.js +0 -50
  676. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +0 -49
  677. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +0 -1
  678. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +0 -80
  679. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +0 -1
  680. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts +0 -2
  681. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +0 -1
  682. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +0 -95
  683. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +0 -1
  684. package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts +0 -4
  685. package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.d.ts.map +0 -1
  686. package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js +0 -9
  687. package/dist/components/layout/split-views/split-view-pane/split-view-pane.template.js.map +0 -1
@@ -31,11 +31,11 @@ export type IconColor = 'content' | 'secondary' | 'accent' | 'critical' | 'warni
31
31
  * @element nldd-icon
32
32
  * @keywords pictogram, icoon
33
33
  *
34
- * @attr {string} icon - The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.
35
- * @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
36
34
  * @attr {string} color - Functional (`content`, the default, `secondary`, `accent`, `critical`, `warning`, `success`, the colors the surface passes on as `--context-content-*`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`).
37
35
  * @attr {string} custom-color - A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know. It wins over `color`.
36
+ * @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
38
37
  * @attr {boolean} tile - Draw the icon on a tile, a filled square. `color` and `custom-color` then paint the tile and the glyph takes the contrasting color, and `size` measures the tile: the glyph is four fifths of it. The corner is `--semantics-tiles-corner-radius`, a fifth of the tile, as on an organization `nldd-avatar`.
38
+ * @attr {string} icon - The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.
39
39
  *
40
40
  * @example
41
41
  * ```html
@@ -59,13 +59,12 @@ export type IconColor = 'content' | 'secondary' | 'accent' | 'critical' | 'warni
59
59
  */
60
60
  export declare class NLDDIcon extends LitElement {
61
61
  static styles: import("lit").CSSResult;
62
- icon: string;
63
- size: IconSize;
64
62
  color: IconColor;
65
63
  /** Handed to the styles as a custom property rather than read from the
66
64
  * attribute in CSS: `attr()` with a type is not available everywhere yet,
67
65
  * and this keeps one code path. */
68
66
  customColor: string;
67
+ size: IconSize;
69
68
  /**
70
69
  * Draw the icon on a tile, a filled square, instead of on its own.
71
70
  *
@@ -78,6 +77,7 @@ export declare class NLDDIcon extends LitElement {
78
77
  * with `tile` than without: four fifths of it.
79
78
  */
80
79
  tile: boolean;
80
+ icon: string;
81
81
  private _iconSvg;
82
82
  connectedCallback(): void;
83
83
  updated(changedProperties: Map<string, unknown>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/components/content/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAI5C,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,eAAO,MAAM,KAAK,EAAE,MAAM,EAGlB,CAAC;AAET,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9H,MAAM,MAAM,SAAS,GAElB,SAAS,GAAG,WAAW,G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S,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9H,MAAM,MAAM,SAAS,GAElB,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAEvE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,YAAY,GACzD,OAAO,GAAG,QAAQ,GAAG,YAAY,GAAG,MAAM,GAC1C,MAAM,GAAG,QAAQ,GAAG,YAAY,GAAG,MAAM,GACzC,aAAa,GAAG,OAAO,GAAG,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC;AAEhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,qBACa,QAAS,SAAQ,UAAU;IACvC,OAAgB,MAAM,0BAAc;IAGpC,KAAK,EAAE,SAAS,CAAa;IAE7B;;wCAEoC;IAEpC,WAAW,SAAM;IAGjB,IAAI,EAAE,QAAQ,CAAU;IAExB;;;;;;;;;;OAUG;IAEH,IAAI,UAAS;IAGb,IAAI,SAAmB;IAGvB,OAAO,CAAC,QAAQ,CAAuB;IAE9B,iBAAiB,IAAI,IAAI;IAQzB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAU/D,OAAO,CAAC,WAAW,CAAS;IAE5B,oFAAoF;IACpF,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,SAAS;IAUR,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
@@ -45,11 +45,11 @@ export const ICONS = [
45
45
  * @element nldd-icon
46
46
  * @keywords pictogram, icoon
47
47
  *
48
- * @attr {string} icon - The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.
49
- * @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
50
48
  * @attr {string} color - Functional (`content`, the default, `secondary`, `accent`, `critical`, `warning`, `success`, the colors the surface passes on as `--context-content-*`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`).
51
49
  * @attr {string} custom-color - A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know. It wins over `color`.
50
+ * @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
52
51
  * @attr {boolean} tile - Draw the icon on a tile, a filled square. `color` and `custom-color` then paint the tile and the glyph takes the contrasting color, and `size` measures the tile: the glyph is four fifths of it. The corner is `--semantics-tiles-corner-radius`, a fifth of the tile, as on an organization `nldd-avatar`.
52
+ * @attr {string} icon - The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.
53
53
  *
54
54
  * @example
55
55
  * ```html
@@ -74,13 +74,12 @@ export const ICONS = [
74
74
  let NLDDIcon = class NLDDIcon extends LitElement {
75
75
  constructor() {
76
76
  super(...arguments);
77
- this.icon = 'circle-dashed';
78
- this.size = 'full';
79
77
  this.color = 'content';
80
78
  /** Handed to the styles as a custom property rather than read from the
81
79
  * attribute in CSS: `attr()` with a type is not available everywhere yet,
82
80
  * and this keeps one code path. */
83
81
  this.customColor = '';
82
+ this.size = 'full';
84
83
  /**
85
84
  * Draw the icon on a tile, a filled square, instead of on its own.
86
85
  *
@@ -93,6 +92,7 @@ let NLDDIcon = class NLDDIcon extends LitElement {
93
92
  * with `tile` than without: four fifths of it.
94
93
  */
95
94
  this.tile = false;
95
+ this.icon = 'circle-dashed';
96
96
  this._iconSvg = null;
97
97
  this._wasUnknown = false;
98
98
  }
@@ -138,21 +138,21 @@ let NLDDIcon = class NLDDIcon extends LitElement {
138
138
  }
139
139
  };
140
140
  NLDDIcon.styles = iconStyles;
141
- __decorate([
142
- property({ type: String })
143
- ], NLDDIcon.prototype, "icon", void 0);
144
- __decorate([
145
- property({ reflect: true, converter: reflectNonDefault('full') })
146
- ], NLDDIcon.prototype, "size", void 0);
147
141
  __decorate([
148
142
  property({ reflect: true, converter: reflectNonDefault('content') })
149
143
  ], NLDDIcon.prototype, "color", void 0);
150
144
  __decorate([
151
145
  property({ reflect: true, attribute: 'custom-color', converter: reflectNonDefault('') })
152
146
  ], NLDDIcon.prototype, "customColor", void 0);
147
+ __decorate([
148
+ property({ reflect: true, converter: reflectNonDefault('full') })
149
+ ], NLDDIcon.prototype, "size", void 0);
153
150
  __decorate([
154
151
  property({ type: Boolean, reflect: true })
155
152
  ], NLDDIcon.prototype, "tile", void 0);
153
+ __decorate([
154
+ property({ type: String })
155
+ ], NLDDIcon.prototype, "icon", void 0);
156
156
  __decorate([
157
157
  state()
158
158
  ], NLDDIcon.prototype, "_iconSvg", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../src/components/content/icon/icon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAA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,CAAC;IAChC,CAAC;;AA5Ee,eAAM,GAAG,UAAU,AAAb,CAAc;AAGpC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAY,SAAS,CAAC,EAAE,CAAC;uCACnD;AAM7B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;6CAChF;AAGjB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAW,MAAM,CAAC,EAAE,CAAC;sCACpD;AAcxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;sCAC9B;AAGb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sCACJ;AAGf;IADP,KAAK,EAAE;0CAC+B;AAjC3B,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CA8EpB"}
@@ -21,30 +21,17 @@
21
21
  * @keywords afbeelding, foto
22
22
  * @related nldd-avatar
23
23
  *
24
+ * @attr {'square'|'rounded'|'circle'} shape - Corner shape (default: 'square')
25
+ * @attr {number|string|'full'} width - Display width, never wider than the parent. `full` (default) fills the parent. A number is pixels and also sets the `<img>` layout-hint width; any other CSS length (`20rem`, `50%`) only sets the width, so reserve space with `height` or `aspect-ratio`. Written as an inline `max-width` on the host, so it holds against a rule from a parent such as `nldd-rich-text`, and against one of your own.
26
+ * @attr {number} height - Intrinsic height (for layout reservation)
24
27
  * @attr {string} src - Image URL
25
- * @attr {string} alt - Alt text for the image from `src`. Required unless `decorative`; slotted media carries its own.
26
28
  * @attr {string} srcset - Responsive source set
27
29
  * @attr {string} sizes - Source sizes hint
28
- * @attr {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,6 +42,19 @@
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
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
@@ -78,10 +78,7 @@ export type ImageDecoding = 'async' | 'sync' | 'auto';
78
78
  export type ImageFetchPriority = 'high' | 'low' | 'auto';
79
79
  export declare class NLDDImage extends LitElement {
80
80
  static styles: import("lit").CSSResult;
81
- src: string;
82
- alt: string;
83
- srcset: string;
84
- sizes: string;
81
+ shape: ImageShape;
85
82
  /** `'full'` (fills the parent) or a numeric pixel string like `'320'`.
86
83
  * Typed as `string` because `type: String` means a `width="320"`
87
84
  * attribute arrives as the string `"320"`, not the number `320`. The
@@ -89,17 +86,20 @@ export declare class NLDDImage extends LitElement {
89
86
  * property directly should pass a string (`el.width = '320'`). */
90
87
  width: string;
91
88
  height?: number;
92
- loading: ImageLoading;
93
- decoding: ImageDecoding;
94
- fetchPriority?: ImageFetchPriority;
89
+ src: string;
90
+ srcset: string;
91
+ sizes: string;
92
+ alt: string;
95
93
  aspectRatio: string;
96
94
  objectFit: ImageObjectFit;
97
95
  objectPosition: ImageObjectPosition;
98
- shape: ImageShape;
96
+ lqip: string;
97
+ decoding: ImageDecoding;
98
+ fetchPriority?: ImageFetchPriority;
99
99
  caption: string;
100
100
  credit: string;
101
101
  decorative: boolean;
102
- lqip: string;
102
+ loading: ImageLoading;
103
103
  /** Override one or more translation keys. Unspecified keys fall back to Dutch. */
104
104
  translations: Partial<NLDDImageTranslations>;
105
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAOjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,iBAAiB,CAAC;AAIzB,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AACzD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,YAAY,GAAG,MAAM,CAAC;AAClF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AACjF,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC;AAC5C,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AACtD,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;AA4BzD,qBACa,SAAU,SAAQ,UAAU;IACxC,OAAgB,MAAM,0BAAe;IAGrC,GAAG,SAAM;IAGT,GAAG,SAAM;IAGT,MAAM,SAAM;IAGZ,KAAK,SAAM;IAEX;;;;uEAImE;IAEnE,KAAK,EAAE,MAAM,CAAU;IAGvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,OAAO,EA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M;IAEjB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAqBrD;;;;;;;;OAQG;IACH,OAAO,CAAC,gBAAgB;IAUxB;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IAOrB;4EACwE;IACxE,IAAI,gBAAgB,IAAI,OAAO,CAE9B;IAED,8DAA8D;IAC9D,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,kBAAkB,QAAO,IAAI,CAG3B;IAEO,YAAY,IAAI,IAAI;IAgB7B,YAAY,QAAO,IAAI,CAGrB;IAEF,aAAa,QAAO,IAAI,CAGtB;IAEF;;2EAEuE;IACvE,mBAAmB,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI;IAUhD,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,6 +42,19 @@
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
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
@@ -112,26 +112,26 @@ function hasAriaName(el) {
112
112
  let NLDDImage = class NLDDImage extends LitElement {
113
113
  constructor() {
114
114
  super(...arguments);
115
- this.src = '';
116
- this.alt = '';
117
- this.srcset = '';
118
- this.sizes = '';
115
+ this.shape = 'square';
119
116
  /** `'full'` (fills the parent) or a numeric pixel string like `'320'`.
120
117
  * Typed as `string` because `type: String` means a `width="320"`
121
118
  * attribute arrives as the string `"320"`, not the number `320`. The
122
119
  * `_numericWidth` getter owns all parsing. A consumer setting the
123
120
  * property directly should pass a string (`el.width = '320'`). */
124
121
  this.width = 'full';
125
- this.loading = 'lazy';
126
- this.decoding = 'async';
122
+ this.src = '';
123
+ this.srcset = '';
124
+ this.sizes = '';
125
+ this.alt = '';
127
126
  this.aspectRatio = '';
128
127
  this.objectFit = 'cover';
129
128
  this.objectPosition = 'center';
130
- this.shape = 'square';
129
+ this.lqip = '';
130
+ this.decoding = 'async';
131
131
  this.caption = '';
132
132
  this.credit = '';
133
133
  this.decorative = false;
134
- this.lqip = '';
134
+ this.loading = 'lazy';
135
135
  /** Override one or more translation keys. Unspecified keys fall back to Dutch. */
136
136
  this.translations = {};
137
137
  this._parsedLqipValue = null;
@@ -334,32 +334,26 @@ let NLDDImage = class NLDDImage extends LitElement {
334
334
  };
335
335
  NLDDImage.styles = imageStyles;
336
336
  __decorate([
337
- property({ reflect: true, converter: reflectNonDefault('') })
338
- ], NLDDImage.prototype, "src", void 0);
339
- __decorate([
340
- property({ type: String })
341
- ], NLDDImage.prototype, "alt", void 0);
342
- __decorate([
343
- property({ type: String })
344
- ], NLDDImage.prototype, "srcset", void 0);
345
- __decorate([
346
- property({ type: String })
347
- ], NLDDImage.prototype, "sizes", void 0);
337
+ property({ reflect: true, converter: reflectNonDefault('square') })
338
+ ], NLDDImage.prototype, "shape", void 0);
348
339
  __decorate([
349
340
  property({ reflect: true, converter: reflectNonDefault('full') })
350
341
  ], NLDDImage.prototype, "width", void 0);
351
342
  __decorate([
352
343
  property({ type: Number, reflect: true })
353
344
  ], NLDDImage.prototype, "height", void 0);
345
+ __decorate([
346
+ property({ reflect: true, converter: reflectNonDefault('') })
347
+ ], NLDDImage.prototype, "src", void 0);
354
348
  __decorate([
355
349
  property({ type: String })
356
- ], NLDDImage.prototype, "loading", void 0);
350
+ ], NLDDImage.prototype, "srcset", void 0);
357
351
  __decorate([
358
352
  property({ type: String })
359
- ], NLDDImage.prototype, "decoding", void 0);
353
+ ], NLDDImage.prototype, "sizes", void 0);
360
354
  __decorate([
361
- property({ type: String, attribute: 'fetchpriority' })
362
- ], NLDDImage.prototype, "fetchPriority", void 0);
355
+ property({ type: String })
356
+ ], NLDDImage.prototype, "alt", void 0);
363
357
  __decorate([
364
358
  property({ reflect: true, attribute: 'aspect-ratio', converter: reflectNonDefault('') })
365
359
  ], NLDDImage.prototype, "aspectRatio", void 0);
@@ -370,8 +364,14 @@ __decorate([
370
364
  property({ reflect: true, attribute: 'object-position', converter: reflectNonDefault('center') })
371
365
  ], NLDDImage.prototype, "objectPosition", void 0);
372
366
  __decorate([
373
- property({ reflect: true, converter: reflectNonDefault('square') })
374
- ], 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);
375
375
  __decorate([
376
376
  property({ reflect: true, converter: reflectNonDefault('') })
377
377
  ], NLDDImage.prototype, "caption", void 0);
@@ -383,7 +383,7 @@ __decorate([
383
383
  ], NLDDImage.prototype, "decorative", void 0);
384
384
  __decorate([
385
385
  property({ type: String })
386
- ], NLDDImage.prototype, "lqip", void 0);
386
+ ], NLDDImage.prototype, "loading", void 0);
387
387
  __decorate([
388
388
  property({ type: Object })
389
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;;;;;;;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,SAA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AC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,CAAsB,QAAQ,CAAC,EAAE,CAAC;iDACxE;AAG/C;IADC,QAAQ,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;IA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M,CAE1B;IAED,IAAI,YAAY,IAAI,UAAU,EAAE,CAE/B;IAEQ,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,wBAAwB,EAAE,oBAAoB,CAAC;KAC/C;CACD"}
@@ -19,24 +19,24 @@
19
19
  *
20
20
  * @element nldd-keyboard-shortcut
21
21
  * @keywords kbd, hotkey, sneltoets
22
- * @attr {string} keys - Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P').
23
- * End with '++' for a literal '+' key: 'Ctrl++' becomes 'Ctrl' + '+' ('Ctrl+++'
24
- * works too). For more complex cases, such as a combo with several '+' keys,
25
- * use the default slot with your own <kbd> elements instead of the keys attribute.
26
- * @attr {string} mac-keys - Optional override for macOS (iPhone/iPad/iPod included).
27
- * @attr {string} windows-keys - Optional override for Windows.
28
- * @attr {string} linux-keys - Optional override for Linux/ChromeOS.
29
- * @attr {'sm'|'md'|'inherit'} size - Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the
30
- * font-size from the container; with keycaps they then scale along in em.
31
22
  * @attr {string} appearance - 'keycap' (default) shows each key as a keycap with a fill and a
32
23
  * highlight edge, side by side without a '+'. 'text' shows the keys as plain text: lighter,
33
24
  * for inline use such as in a menu item. As text the keys are joined by '+' (Ctrl+K), except
34
25
  * on macOS.
35
- * @attr {boolean} always-visible - Show on touch-only devices too, where shortcuts cannot be invoked.
36
26
  * @attr {string} color - 'neutral' (default) uses the component colors of its own. 'content'
37
27
  * lets the keys and separators follow the content color of the context, with a
38
28
  * translucent contrast fill and highlight edge. Useful on a filled surface color or a
39
29
  * highlighted row.
30
+ * @attr {'sm'|'md'|'inherit'} size - Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the
31
+ * font-size from the container; with keycaps they then scale along in em.
32
+ * @attr {string} keys - Keys separated by '+' (e.g. 'Cmd+K' or 'Ctrl+Shift+P').
33
+ * End with '++' for a literal '+' key: 'Ctrl++' becomes 'Ctrl' + '+' ('Ctrl+++'
34
+ * works too). For more complex cases, such as a combo with several '+' keys,
35
+ * use the default slot with your own <kbd> elements instead of the keys attribute.
36
+ * @attr {string} mac-keys - Optional override for macOS (iPhone/iPad/iPod included).
37
+ * @attr {string} windows-keys - Optional override for Windows.
38
+ * @attr {string} linux-keys - Optional override for Linux/ChromeOS.
39
+ * @attr {boolean} always-visible - Show on touch-only devices too, where shortcuts cannot be invoked.
40
40
  * @attr {'mac'|'windows'|'linux'|'other'} debug-os - Development aid: overrides the OS
41
41
  * detection for this instance, so you can show several platform variants side by side in
42
42
  * documentation. Not meant for production use; leave it empty (default) so
@@ -61,11 +61,6 @@ import { resolveKeys, displayKeys } from '../../../utilities/shortcut.js';
61
61
  let NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
62
62
  constructor() {
63
63
  super(...arguments);
64
- this.keys = '';
65
- this.macKeys = '';
66
- this.windowsKeys = '';
67
- this.linuxKeys = '';
68
- this.size = 'md';
69
64
  /**
70
65
  * 'keycap' (default) renders each key as a keycap with a fill and highlight
71
66
  * border. 'text' renders the keys as plain text: lighter, for inline use
@@ -79,6 +74,11 @@ let NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
79
74
  * highlighted rows.
80
75
  */
81
76
  this.color = 'neutral';
77
+ this.size = 'md';
78
+ this.keys = '';
79
+ this.macKeys = '';
80
+ this.windowsKeys = '';
81
+ this.linuxKeys = '';
82
82
  this.alwaysVisible = false;
83
83
  /**
84
84
  * @internal Development only.
@@ -106,6 +106,15 @@ let NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
106
106
  }
107
107
  };
108
108
  NLDDKeyboardShortcut.styles = keyboardShortcutStyles;
109
+ __decorate([
110
+ property({ reflect: true, converter: reflectNonDefault('keycap') })
111
+ ], NLDDKeyboardShortcut.prototype, "appearance", void 0);
112
+ __decorate([
113
+ property({ reflect: true, converter: reflectNonDefault('neutral') })
114
+ ], NLDDKeyboardShortcut.prototype, "color", void 0);
115
+ __decorate([
116
+ property({ reflect: true, converter: reflectNonDefault('md') })
117
+ ], NLDDKeyboardShortcut.prototype, "size", void 0);
109
118
  __decorate([
110
119
  property({ reflect: true, converter: reflectNonDefault('') })
111
120
  ], NLDDKeyboardShortcut.prototype, "keys", void 0);
@@ -118,15 +127,6 @@ __decorate([
118
127
  __decorate([
119
128
  property({ reflect: true, attribute: 'linux-keys', converter: reflectNonDefault('') })
120
129
  ], NLDDKeyboardShortcut.prototype, "linuxKeys", void 0);
121
- __decorate([
122
- property({ reflect: true, converter: reflectNonDefault('md') })
123
- ], NLDDKeyboardShortcut.prototype, "size", void 0);
124
- __decorate([
125
- property({ reflect: true, converter: reflectNonDefault('keycap') })
126
- ], NLDDKeyboardShortcut.prototype, "appearance", void 0);
127
- __decorate([
128
- property({ reflect: true, converter: reflectNonDefault('neutral') })
129
- ], NLDDKeyboardShortcut.prototype, "color", void 0);
130
130
  __decorate([
131
131
  property({ type: Boolean, reflect: true, attribute: 'always-visible' })
132
132
  ], NLDDKeyboardShortcut.prototype, "alwaysVisible", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"keyboard-shortcut.js","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAW,MAAM,0BAA0B,CAAC;AAC7D,O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