@nldd/design-system 0.21.1 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (757) hide show
  1. package/README.md +5 -3
  2. package/custom-elements.json +900 -414
  3. package/dist/assets/styles/shadow-resets.d.ts +19 -0
  4. package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
  5. package/dist/assets/styles/shadow-resets.js +35 -0
  6. package/dist/assets/styles/shadow-resets.js.map +1 -1
  7. package/dist/cdn/autoloader.js +136 -136
  8. package/dist/cdn/chunks/{activity-indicator-JglZJ8dh.js → activity-indicator-D86Mv6SL.js} +25 -24
  9. package/dist/cdn/chunks/{avatar-ASqePVhU.js → avatar-BISv6tzp.js} +58 -56
  10. package/dist/cdn/chunks/{avatar-group-GinEMPm9.js → avatar-group-D7IN6DxU.js} +43 -42
  11. package/dist/cdn/chunks/{badge-Cc2Nufoc.js → badge-R3PZUsqZ.js} +36 -33
  12. package/dist/cdn/chunks/{banner-BLVKM07M.js → banner-DRANlf5k.js} +43 -37
  13. package/dist/cdn/chunks/{bar-split-view-Clbg-p9H.js → bar-split-view-B-Y2nqgS.js} +33 -30
  14. package/dist/cdn/chunks/blockquote-pUgJLPY1.js +241 -0
  15. package/dist/cdn/chunks/{box-WkhyjQVy.js → box-BbXHpBQy.js} +14 -12
  16. package/dist/cdn/chunks/{breadcrumbs-D9YxZzRj.js → breadcrumbs-BdF4m3DB.js} +41 -36
  17. package/dist/cdn/chunks/{button-DO90Lo6q.js → button-CsqNHH3w.js} +141 -127
  18. package/dist/cdn/chunks/{button-bar-Bxgdbyh3.js → button-bar-CnYIw4fN.js} +25 -21
  19. package/dist/cdn/chunks/{button-group-BYGPPLmZ.js → button-group-xaHghyon.js} +10 -10
  20. package/dist/cdn/chunks/{card-BP0jfOkS.js → card-Bbf0aCIh.js} +35 -33
  21. package/dist/cdn/chunks/{cell-BRD2ilQh.js → cell-Dggt5oYG.js} +24 -23
  22. package/dist/cdn/chunks/{checkbox-Cazx8CQn.js → checkbox-DmFAS8ec.js} +49 -43
  23. package/dist/cdn/chunks/{checkbox-field-DDZ-B6vH.js → checkbox-field-fOWPH8Q7.js} +37 -32
  24. package/dist/cdn/chunks/{class-map-CXSdNjt8.js → class-map-BWGTUNv4.js} +1 -1
  25. package/dist/cdn/chunks/{code-editor-D6Q55oaY.js → code-editor-CANFZX66.js} +56 -57
  26. package/dist/cdn/chunks/{code-viewer-DspLH2T1.js → code-viewer-C_vUEx7J.js} +160 -123
  27. package/dist/cdn/chunks/{codemirror-input-Db65x22n.js → codemirror-input-wexTiqWw.js} +5 -5
  28. package/dist/cdn/chunks/{collection-NVtkvDls.js → collection-_emTry5U.js} +36 -36
  29. package/dist/cdn/chunks/{combo-box-OywRKaWj.js → combo-box-CGwj1u4a.js} +77 -68
  30. package/dist/cdn/chunks/{container-rrbwk0z4.js → container-D5Dz-j6a.js} +62 -54
  31. package/dist/cdn/chunks/{custom-element-q6NzoL5b.js → custom-element-DbwbPetH.js} +1 -1
  32. package/dist/cdn/chunks/{date-field-vmZLo80s.js → date-field-ChmyLtTj.js} +93 -83
  33. package/dist/cdn/chunks/{date-picker-CXDzSBoL.js → date-picker-CUQKdjS4.js} +86 -78
  34. package/dist/cdn/chunks/{decorate-TduJMFD_.js → decorate-_JGq4E_7.js} +2 -2
  35. package/dist/cdn/chunks/{described-by-mixin-daRE7orX.js → described-by-mixin-DbnuGktP.js} +2 -2
  36. package/dist/cdn/chunks/{description-cell-CQwOj_rN.js → description-cell-BgcO7ObI.js} +27 -25
  37. package/dist/cdn/chunks/{dev-checks-zW_W-hnh.js → dev-checks-KAnKlxY0.js} +188 -80
  38. package/dist/cdn/chunks/{dist-C_dGY6zR.js → dist-BF9euKgj.js} +43 -43
  39. package/dist/cdn/chunks/{dist-BEfLdOvy.js → dist-BHMubC6P.js} +190 -196
  40. package/dist/cdn/chunks/{dist-ChmCRv39.js → dist-BJrN5nEM.js} +50 -50
  41. package/dist/cdn/chunks/{dist-D2qap2OY.js → dist-Bz3Isx60.js} +13 -13
  42. package/dist/cdn/chunks/{dist-DrTzvgE7.js → dist-CBnQQ6kV.js} +178 -188
  43. package/dist/cdn/chunks/{dist-EM4MWLQq.js → dist-CJLBwJx0.js} +120 -125
  44. package/dist/cdn/chunks/{dist-DPUBF0MZ.js → dist-CKZ98PMy.js} +362 -371
  45. package/dist/cdn/chunks/{dist-EgIBI-FG.js → dist-CLKJ5z0x.js} +26 -26
  46. package/dist/cdn/chunks/{dist-A7_1pHX0.js → dist-D7Wubc1l.js} +25 -25
  47. package/dist/cdn/chunks/{dist-Rm6FvrSR.js → dist-DADIyiX-.js} +55 -55
  48. package/dist/cdn/chunks/{dist-CP3G1pSK.js → dist-HgRt6IKh.js} +1 -1
  49. package/dist/cdn/chunks/{divider-CCNbnplA.js → divider-pO5O6wL4.js} +6 -6
  50. package/dist/cdn/chunks/{document-tab-bar-A2DFWrP9.js → document-tab-bar-C_-iuaUc.js} +74 -60
  51. package/dist/cdn/chunks/{dropdown-DZTZtkm5.js → dropdown-DYO6049g.js} +36 -31
  52. package/dist/cdn/chunks/{file-field-DQ52qq5L.js → file-field-C-Fk92rD.js} +134 -116
  53. package/dist/cdn/chunks/{form-hXLgy_tY.js → form-ChXBrKw6.js} +23 -9
  54. package/dist/cdn/chunks/{form-actions-C_7hINq-.js → form-actions-DrOX7nX8.js} +7 -7
  55. package/dist/cdn/chunks/{form-associated-mixin--GIbl98p.js → form-associated-mixin-BtStDDYA.js} +14 -3
  56. package/dist/cdn/chunks/{form-field--4nWJ_DK.js → form-field-CR2Py09O.js} +46 -39
  57. package/dist/cdn/chunks/{form-section-By-D4un0.js → form-section-s1mkLzaC.js} +1 -1
  58. package/dist/cdn/chunks/{full-bleed-section-Dg4sIJG1.js → full-bleed-section-vOVI_f86.js} +10 -10
  59. package/dist/cdn/chunks/{hero-CQQMNCT_.js → hero-Cb3qIvvh.js} +125 -116
  60. package/dist/cdn/chunks/{icon-BORlalt0.js → icon-DBhTZrnl.js} +89 -72
  61. package/dist/cdn/chunks/{icon-button-rKiIHs7A.js → icon-button-bDuQ_6W_.js} +109 -99
  62. package/dist/cdn/chunks/{icon-cell-rk4NQid2.js → icon-cell-DlSZNTF3.js} +32 -30
  63. package/dist/cdn/chunks/{identity-BLXecYsZ.js → identity-CJTVNI9J.js} +28 -26
  64. package/dist/cdn/chunks/{if-defined-CaKKERku.js → if-defined-28B8DYUB.js} +1 -1
  65. package/dist/cdn/chunks/{image-DZMW6JgL.js → image-DlTxyeL3.js} +100 -85
  66. package/dist/cdn/chunks/{inline-dialog-WlqtPBPJ.js → inline-dialog-BJlOrD6M.js} +32 -28
  67. package/dist/cdn/chunks/{just-in-time-education-DRcb5g7x.js → just-in-time-education-DWBDshKs.js} +47 -48
  68. package/dist/cdn/chunks/{kanban-Ca_mfqsA.js → kanban-DIXY8FcZ.js} +24 -24
  69. package/dist/cdn/chunks/{kanban-column-fgIMc7pw.js → kanban-column-DmnxctX6.js} +15 -13
  70. package/dist/cdn/chunks/{keyboard-shortcut-EknnW7Ub.js → keyboard-shortcut-kYOKwBqs.js} +25 -23
  71. package/dist/cdn/chunks/{languages-yKikVFv_.js → languages-DGtcUhLc.js} +12 -12
  72. package/dist/cdn/chunks/{link-FBSAJ3UC.js → link-DhnhhTOg.js} +42 -39
  73. package/dist/cdn/chunks/{link-group-90qVfKa0.js → link-group-Bx2nkQcS.js} +11 -11
  74. package/dist/cdn/chunks/{list-CaWl3q0Z.js → list-CXCG_IEc.js} +81 -44
  75. package/dist/cdn/chunks/{list-item-Cagnf6eG.js → list-item-CSNBaRlK.js} +185 -124
  76. package/dist/cdn/chunks/{list-item-segment-BRzBF1y_.js → list-item-segment-D6WvAh3A.js} +55 -53
  77. package/dist/cdn/chunks/{menu-BtxzRedh.js → menu-CKxKVA36.js} +58 -57
  78. package/dist/cdn/chunks/{menu-bar-item-C7LQ0NI_.js → menu-bar-item-C950rfSt.js} +35 -34
  79. package/dist/cdn/chunks/{menu-bar-BU3Hjk1b.js → menu-bar-xahTEYTX.js} +21 -21
  80. package/dist/cdn/chunks/{menu-divider-CLLRgMll.js → menu-divider-XlYJ4zQz.js} +6 -6
  81. package/dist/cdn/chunks/{menu-group-BL24ChpR.js → menu-group-E6hIEtLj.js} +8 -8
  82. package/dist/cdn/chunks/{menu-item-CooKfrFa.js → menu-item-2y0VC5Gb.js} +38 -36
  83. package/dist/cdn/chunks/menu-item.i18n-CKUJBOeE.js +7 -0
  84. package/dist/cdn/chunks/{menu.template-C6rbfI-u.js → menu.template-ZBhUFgBJ.js} +55 -34
  85. package/dist/cdn/chunks/{modal-dialog-BrUMP4Jm.js → modal-dialog-DdFpcRLJ.js} +37 -36
  86. package/dist/cdn/chunks/{multi-line-text-field-D7hXhyOn.js → multi-line-text-field-okvEa54Q.js} +51 -47
  87. package/dist/cdn/chunks/{navigation-split-view-B2ZQhxEb.js → navigation-split-view-dNRQDSpy.js} +72 -91
  88. package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +114 -0
  89. package/dist/cdn/chunks/{notification-DSGP14d1.js → notification-2tnwXEY1.js} +28 -25
  90. package/dist/cdn/chunks/{number-field-B8op14Y_.js → number-field-CH7EvpSq.js} +45 -39
  91. package/dist/cdn/chunks/{one-half-one-half-section-ZYmHYf4Q.js → one-half-one-half-section-UZDP-KO-.js} +11 -11
  92. package/dist/cdn/chunks/{one-third-two-thirds-section-Ds10K6AS.js → one-third-two-thirds-section-8KtESdXO.js} +11 -11
  93. package/dist/cdn/chunks/{one-time-code-field-Cgy_tTS4.js → one-time-code-field-Bvm3ND6e.js} +58 -54
  94. package/dist/cdn/chunks/{page-CBf_Decp.js → page-PK1FWuKJ.js} +44 -41
  95. package/dist/cdn/chunks/{page-footer-CSv1dU7M.js → page-footer-BamWKHwH.js} +68 -80
  96. package/dist/cdn/chunks/{page-section-mixin-Dp6X8GKd.js → page-section-mixin-3q59_Jo_.js} +39 -35
  97. package/dist/cdn/chunks/{pagination-CMUcFB53.js → pagination-47zAyQhM.js} +52 -45
  98. package/dist/cdn/chunks/{password-field-C76Vm3rm.js → password-field-FaU02DSW.js} +58 -54
  99. package/dist/cdn/chunks/{popover-CGbeEv_-.js → popover-642mOFR5.js} +97 -61
  100. package/dist/cdn/chunks/{progress-bar-BLiHaRUS.js → progress-bar-BivaNkIY.js} +57 -55
  101. package/dist/cdn/chunks/{progress-circle-CjkovRbL.js → progress-circle-ewL0JIcz.js} +57 -55
  102. package/dist/cdn/chunks/{radio-button-GHyO-GQB.js → radio-button-DvrYYSnm.js} +42 -42
  103. package/dist/cdn/chunks/{radio-button-field-C-Z6Lnd4.js → radio-button-field-BVi0YrTF.js} +29 -27
  104. package/dist/cdn/chunks/{radio-button-group-ChTqBCnQ.js → radio-button-group-DZ9OWUNe.js} +18 -18
  105. package/dist/cdn/chunks/{render-marked-DX_5ISZE.js → render-marked-CO31_4GS.js} +1 -1
  106. package/dist/cdn/chunks/{drag-handle-cell-CbzDYebG.js → reorder-handle-cell-Doetg58W.js} +39 -37
  107. package/dist/cdn/chunks/reorder-handle-cell.i18n-DlH2aVwd.js +3 -0
  108. package/dist/cdn/chunks/reorder-handle-mixin-DCjwUXr0.js +16 -0
  109. package/dist/cdn/chunks/{repeat-Ch_5OsXE.js → repeat-Wb4hkVZc.js} +1 -1
  110. package/dist/cdn/chunks/rich-text-Do08iiIz.js +58 -0
  111. package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
  112. package/dist/cdn/chunks/{row-header-mixin-CgqvREoV.js → row-header-mixin-CKR5rHBA.js} +2 -2
  113. package/dist/cdn/chunks/{search-field-BGNfERhn.js → search-field-CCeeGiJM.js} +75 -67
  114. package/dist/cdn/chunks/{segmented-control-BYAG4VRp.js → segmented-control-CWIPxEBq.js} +92 -82
  115. package/dist/cdn/chunks/shadow-resets-NKr5gQCc.js +28 -0
  116. package/dist/cdn/chunks/{sheet-CqN7ViYV.js → sheet-WOjBtZvN.js} +41 -39
  117. package/dist/cdn/chunks/{shell-C9rds_D9.js → shell-Brn0Dr8F.js} +26 -23
  118. package/dist/cdn/chunks/{side-by-side-split-view-C5oX4c6Z.js → side-by-side-split-view-DGIMsyma.js} +33 -30
  119. package/dist/cdn/chunks/{sidebar-section-CFPBdETU.js → sidebar-section-BXHeI8GN.js} +37 -32
  120. package/dist/cdn/chunks/{simple-section-qrCqXeBa.js → simple-section-C8lJZLAO.js} +12 -12
  121. package/dist/cdn/chunks/{skip-link-DWh4W6-J.js → skip-link-QdRgHljr.js} +20 -19
  122. package/dist/cdn/chunks/{slider--hODfOwh.js → slider-BhjBeWqc.js} +90 -84
  123. package/dist/cdn/chunks/{spacer-CFzq_JCh.js → spacer-BgkOjuUj.js} +11 -11
  124. package/dist/cdn/chunks/{spacer-cell-DuVOgIj8.js → spacer-cell-DBI0PVd7.js} +13 -12
  125. package/dist/cdn/chunks/{split-button-DH19p8So.js → split-button-DfD9vxPe.js} +45 -41
  126. package/dist/cdn/chunks/{split-view-divider-jzcPmnMh.js → split-view-divider-B4NFlri5.js} +10 -10
  127. package/dist/cdn/chunks/{split-view-pane-BLsZz263.js → split-view-pane-CwFf13hX.js} +27 -24
  128. package/dist/cdn/chunks/{stacked-split-view-CcOR8LrJ.js → stacked-split-view-BmbzTinq.js} +32 -29
  129. package/dist/cdn/chunks/{static-html-Cf4ccUIg.js → static-html-CZrcQRgC.js} +1 -1
  130. package/dist/cdn/chunks/{status-bar-CINbOihq.js → status-bar-CTOf_bDL.js} +25 -24
  131. package/dist/cdn/chunks/{step-bar-6FvZL1Ti.js → step-bar-B5vzvhz-.js} +64 -57
  132. package/dist/cdn/chunks/{step-cell-CejRisgS.js → step-cell-CUA-HUZv.js} +44 -40
  133. package/dist/cdn/chunks/{stepper-CY2rJWOJ.js → stepper-LxPTQ6HJ.js} +30 -30
  134. package/dist/cdn/chunks/{style-map-DsIw6lkq.js → style-map-DiIQAb_L.js} +1 -1
  135. package/dist/cdn/chunks/{swatch-picker-BY3DBIl6.js → swatch-picker-Cxv9HK3A.js} +48 -47
  136. package/dist/cdn/chunks/{switch-DDSsZFwK.js → switch-CbNSJQPp.js} +34 -32
  137. package/dist/cdn/chunks/{switch-field-CMoM9I38.js → switch-field-B8vOvcKc.js} +51 -30
  138. package/dist/cdn/chunks/{tab-bar-CA8K1XjU.js → tab-bar-D4ot_wZ4.js} +76 -70
  139. package/dist/cdn/chunks/{table-DwXjCSD5.js → table-uh4YPqda.js} +31 -31
  140. package/dist/cdn/chunks/{tag-DM3APy3B.js → tag-D2dCXT7A.js} +26 -25
  141. package/dist/cdn/chunks/{text-B1CatNR1.js → text-BX4Xm40t.js} +62 -77
  142. package/dist/cdn/chunks/{text-cell-BkEsGI3g.js → text-cell-DNCpmw9h.js} +57 -53
  143. package/dist/cdn/chunks/{text-editor-BvTiMeNV.js → text-editor-C6UKAmPL.js} +97 -71
  144. package/dist/cdn/chunks/{text-field-CUyh1-V8.js → text-field-Dmkd4mHV.js} +65 -56
  145. package/dist/cdn/chunks/{time-field--5K0YTcr.js → time-field-BfgNZbEb.js} +64 -60
  146. package/dist/cdn/chunks/{time-picker-W0xYXLy8.js → time-picker-C1SBkU-e.js} +91 -79
  147. package/dist/cdn/chunks/{title-BuT7tWqN.js → title-DFrd-Fsh.js} +119 -102
  148. package/dist/cdn/chunks/{title-cell-8d8psUBX.js → title-cell-CC1dQyth.js} +75 -74
  149. package/dist/cdn/chunks/{toggle-button-DNXWXZpE.js → toggle-button-bAX6uzgz.js} +80 -74
  150. package/dist/cdn/chunks/{toggle-button-group-ByowJYgs.js → toggle-button-group-B7CHBww5.js} +20 -20
  151. package/dist/cdn/chunks/{token-CnkEB3hB.js → token-CicHNqIk.js} +34 -32
  152. package/dist/cdn/chunks/{token-field-BpyxOGmU.js → token-field-BFynQ-T-.js} +78 -70
  153. package/dist/cdn/chunks/{toolbar-C24LqAzK.js → toolbar-hAmL7o23.js} +26 -26
  154. package/dist/cdn/chunks/{toolbar-item-DpPfPxCi.js → toolbar-item-CjgkcYJ2.js} +13 -13
  155. package/dist/cdn/chunks/{toolbar-title-KBMpfL9d.js → toolbar-title-B1acxCGx.js} +31 -31
  156. package/dist/cdn/chunks/{toolbar.styles-BQkG4gVc.js → toolbar.styles-xiyZx5D0.js} +7 -3
  157. package/dist/cdn/chunks/{tooltip-BsAHJjci.js → tooltip-Mj47t8v7.js} +72 -62
  158. package/dist/cdn/chunks/{top-navigation-bar-C_kLPVKD.js → top-navigation-bar-vP5QGBXd.js} +88 -86
  159. package/dist/cdn/chunks/{top-title-bar-iNFB2zQL.js → top-title-bar-Yt6cmRLj.js} +52 -44
  160. package/dist/cdn/chunks/translations-BMMzf2sX.js +14 -0
  161. package/dist/cdn/chunks/{two-thirds-one-third-section-D-UANbHC.js → two-thirds-one-third-section-BHN98jET.js} +11 -11
  162. package/dist/cdn/chunks/{validation-list-C5BhHZIG.js → validation-list-CUPzu9_z.js} +20 -19
  163. package/dist/cdn/chunks/{visibility-mixin-COAZ9pON.js → visibility-mixin-DPuxf-sj.js} +2 -2
  164. package/dist/cdn/chunks/{visually-hidden-BPgATaH0.js → visually-hidden-CvjJIBhz.js} +6 -6
  165. package/dist/cdn/chunks/{window-CxV6ELE9.js → window-BqGlzGaS.js} +41 -40
  166. package/dist/cdn/chunks/with-translations-CRvWJWep.js +16 -0
  167. package/dist/components/actions/button/button.d.ts +2 -2
  168. package/dist/components/actions/button/button.js +1 -1
  169. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  170. package/dist/components/actions/button/button.styles.js +39 -26
  171. package/dist/components/actions/button/button.styles.js.map +1 -1
  172. package/dist/components/actions/button/button.template.js +1 -1
  173. package/dist/components/actions/button-bar/button-bar.d.ts +1 -1
  174. package/dist/components/actions/button-bar/button-bar.js +1 -1
  175. package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
  176. package/dist/components/actions/button-bar/button-bar.styles.js +12 -8
  177. package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
  178. package/dist/components/actions/icon-button/icon-button.d.ts +2 -2
  179. package/dist/components/actions/icon-button/icon-button.js +1 -1
  180. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  181. package/dist/components/actions/icon-button/icon-button.styles.js +29 -20
  182. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  183. package/dist/components/actions/menu/menu-item.d.ts +15 -1
  184. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  185. package/dist/components/actions/menu/menu-item.i18n.d.ts +7 -0
  186. package/dist/components/actions/menu/menu-item.i18n.d.ts.map +1 -0
  187. package/dist/components/actions/menu/menu-item.i18n.js +6 -0
  188. package/dist/components/actions/menu/menu-item.i18n.js.map +1 -0
  189. package/dist/components/actions/menu/menu-item.js +14 -1
  190. package/dist/components/actions/menu/menu-item.js.map +1 -1
  191. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  192. package/dist/components/actions/menu/menu.styles.js +18 -1
  193. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  194. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  195. package/dist/components/actions/menu/menu.template.js +8 -2
  196. package/dist/components/actions/menu/menu.template.js.map +1 -1
  197. package/dist/components/actions/split-button/split-button.d.ts +2 -2
  198. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  199. package/dist/components/actions/split-button/split-button.js +1 -1
  200. package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
  201. package/dist/components/actions/split-button/split-button.styles.js +12 -8
  202. package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
  203. package/dist/components/actions/toolbar/toolbar.story-sync.js +1 -1
  204. package/dist/components/actions/toolbar/toolbar.story-sync.js.map +1 -1
  205. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  206. package/dist/components/actions/toolbar/toolbar.styles.js +4 -0
  207. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  208. package/dist/components/content/avatar/avatar.d.ts +7 -5
  209. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  210. package/dist/components/content/avatar/avatar.js +7 -5
  211. package/dist/components/content/avatar/avatar.js.map +1 -1
  212. package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
  213. package/dist/components/content/avatar/avatar.styles.js +13 -12
  214. package/dist/components/content/avatar/avatar.styles.js.map +1 -1
  215. package/dist/components/content/avatar-group/avatar-group.d.ts +1 -1
  216. package/dist/components/content/avatar-group/avatar-group.js +1 -1
  217. package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
  218. package/dist/components/content/avatar-group/avatar-group.styles.js +2 -1
  219. package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
  220. package/dist/components/content/blockquote/blockquote.d.ts +9 -1
  221. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  222. package/dist/components/content/blockquote/blockquote.js +23 -7
  223. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  224. package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
  225. package/dist/components/content/blockquote/blockquote.styles.js +52 -10
  226. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  227. package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
  228. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  229. package/dist/components/content/code-viewer/code-viewer.js +20 -1
  230. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  231. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  232. package/dist/components/content/code-viewer/code-viewer.styles.js +37 -8
  233. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  234. package/dist/components/content/code-viewer/code-viewer.template.js +1 -1
  235. package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
  236. package/dist/components/content/icon/icon.d.ts +17 -15
  237. package/dist/components/content/icon/icon.d.ts.map +1 -1
  238. package/dist/components/content/icon/icon.js +19 -17
  239. package/dist/components/content/icon/icon.js.map +1 -1
  240. package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
  241. package/dist/components/content/icon/icon.styles.js +47 -24
  242. package/dist/components/content/icon/icon.styles.js.map +1 -1
  243. package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
  244. package/dist/components/content/identity/identity.styles.js +2 -0
  245. package/dist/components/content/identity/identity.styles.js.map +1 -1
  246. package/dist/components/content/image/image.d.ts +6 -2
  247. package/dist/components/content/image/image.d.ts.map +1 -1
  248. package/dist/components/content/image/image.js +28 -15
  249. package/dist/components/content/image/image.js.map +1 -1
  250. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  251. package/dist/components/content/image/image.styles.js +34 -25
  252. package/dist/components/content/image/image.styles.js.map +1 -1
  253. package/dist/components/content/image/image.template.d.ts.map +1 -1
  254. package/dist/components/content/image/image.template.js +6 -8
  255. package/dist/components/content/image/image.template.js.map +1 -1
  256. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +5 -5
  257. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +4 -4
  258. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
  259. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -3
  260. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
  261. package/dist/components/content/rich-text/rich-text.d.ts +9 -7
  262. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  263. package/dist/components/content/rich-text/rich-text.js +40 -12
  264. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  265. package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
  266. package/dist/components/content/tag/tag.styles.js +1 -0
  267. package/dist/components/content/tag/tag.styles.js.map +1 -1
  268. package/dist/components/content/text/text.d.ts +2 -2
  269. package/dist/components/content/text/text.d.ts.map +1 -1
  270. package/dist/components/content/text/text.js +1 -1
  271. package/dist/components/content/text/text.styles.d.ts.map +1 -1
  272. package/dist/components/content/text/text.styles.js +17 -32
  273. package/dist/components/content/text/text.styles.js.map +1 -1
  274. package/dist/components/content/title/title.d.ts +26 -17
  275. package/dist/components/content/title/title.d.ts.map +1 -1
  276. package/dist/components/content/title/title.js +38 -20
  277. package/dist/components/content/title/title.js.map +1 -1
  278. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  279. package/dist/components/content/title/title.styles.js +84 -69
  280. package/dist/components/content/title/title.styles.js.map +1 -1
  281. package/dist/components/content/token/token.styles.d.ts.map +1 -1
  282. package/dist/components/content/token/token.styles.js +4 -2
  283. package/dist/components/content/token/token.styles.js.map +1 -1
  284. package/dist/components/content/tooltip/tooltip.d.ts +1 -1
  285. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  286. package/dist/components/content/tooltip/tooltip.js +5 -3
  287. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  288. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  289. package/dist/components/content/tooltip/tooltip.styles.js +18 -5
  290. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  291. package/dist/components/content/tooltip/tooltip.template.js +1 -1
  292. package/dist/components/forms/form/form.d.ts +11 -0
  293. package/dist/components/forms/form/form.d.ts.map +1 -1
  294. package/dist/components/forms/form/form.js +56 -4
  295. package/dist/components/forms/form/form.js.map +1 -1
  296. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  297. package/dist/components/forms/form-field/form-field.styles.js +10 -3
  298. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  299. package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
  300. package/dist/components/forms/validation-list/validation-list.styles.js +1 -0
  301. package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
  302. package/dist/components/index.d.ts +1 -1
  303. package/dist/components/index.d.ts.map +1 -1
  304. package/dist/components/index.js +1 -1
  305. package/dist/components/index.js.map +1 -1
  306. package/dist/components/inputs/checkbox/checkbox.d.ts +3 -3
  307. package/dist/components/inputs/checkbox/checkbox.js +2 -2
  308. package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
  309. package/dist/components/inputs/checkbox/checkbox.styles.js +23 -18
  310. package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
  311. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +7 -4
  312. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
  313. package/dist/components/inputs/checkbox-field/checkbox-field.js +8 -3
  314. package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
  315. package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
  316. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -2
  317. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
  318. package/dist/components/inputs/code-editor/code-editor.d.ts +9 -11
  319. package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
  320. package/dist/components/inputs/code-editor/code-editor.js +3 -3
  321. package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
  322. package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
  323. package/dist/components/inputs/code-editor/code-editor.styles.js +24 -25
  324. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
  325. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  326. package/dist/components/inputs/combo-box/combo-box.styles.js +9 -0
  327. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  328. package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
  329. package/dist/components/inputs/date-field/date-field.styles.js +10 -0
  330. package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
  331. package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
  332. package/dist/components/inputs/date-picker/date-picker.styles.js +8 -0
  333. package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
  334. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  335. package/dist/components/inputs/dropdown/dropdown.styles.js +5 -0
  336. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  337. package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
  338. package/dist/components/inputs/file-field/file-field.styles.js +18 -0
  339. package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
  340. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  341. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +4 -0
  342. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  343. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  344. package/dist/components/inputs/number-field/number-field.styles.js +6 -0
  345. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  346. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +3 -3
  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 +4 -4
  349. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  350. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  351. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -0
  352. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  353. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  354. package/dist/components/inputs/password-field/password-field.styles.js +4 -0
  355. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  356. package/dist/components/inputs/radio-button/radio-button.d.ts +3 -3
  357. package/dist/components/inputs/radio-button/radio-button.js +2 -2
  358. package/dist/components/inputs/radio-button/radio-button.styles.js +13 -13
  359. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +3 -3
  360. package/dist/components/inputs/radio-button-field/radio-button-field.js +2 -2
  361. package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
  362. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -2
  363. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
  364. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  365. package/dist/components/inputs/search-field/search-field.styles.js +8 -0
  366. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  367. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  368. package/dist/components/inputs/segmented-control/segmented-control.styles.js +10 -0
  369. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  370. package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
  371. package/dist/components/inputs/slider/slider.styles.js +7 -1
  372. package/dist/components/inputs/slider/slider.styles.js.map +1 -1
  373. package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +1 -1
  374. package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
  375. package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -1
  376. package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +1 -0
  377. package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -1
  378. package/dist/components/inputs/switch/switch.d.ts +3 -3
  379. package/dist/components/inputs/switch/switch.js +2 -2
  380. package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
  381. package/dist/components/inputs/switch/switch.styles.js +7 -6
  382. package/dist/components/inputs/switch/switch.styles.js.map +1 -1
  383. package/dist/components/inputs/switch-field/switch-field.d.ts +15 -4
  384. package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
  385. package/dist/components/inputs/switch-field/switch-field.js +26 -4
  386. package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
  387. package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
  388. package/dist/components/inputs/switch-field/switch-field.styles.js +4 -2
  389. package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
  390. package/dist/components/inputs/text-editor/text-editor.d.ts +2 -3
  391. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  392. package/dist/components/inputs/text-editor/text-editor.js +24 -17
  393. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  394. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  395. package/dist/components/inputs/text-editor/text-editor.markdown.js +3 -1
  396. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  397. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +1 -1
  398. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  399. package/dist/components/inputs/text-editor/text-editor.styles.js +45 -19
  400. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  401. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  402. package/dist/components/inputs/text-field/text-field.styles.js +9 -0
  403. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  404. package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
  405. package/dist/components/inputs/time-field/time-field.styles.js +4 -0
  406. package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
  407. package/dist/components/inputs/time-picker/time-picker.d.ts +28 -19
  408. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  409. package/dist/components/inputs/time-picker/time-picker.js +78 -51
  410. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  411. package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
  412. package/dist/components/inputs/time-picker/time-picker.styles.js +7 -1
  413. package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
  414. package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
  415. package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
  416. package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
  417. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  418. package/dist/components/inputs/toggle-button/toggle-button.styles.js +6 -0
  419. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  420. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  421. package/dist/components/inputs/token-field/token-field.styles.js +9 -1
  422. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  423. package/dist/components/layout/box/box.styles.d.ts.map +1 -1
  424. package/dist/components/layout/box/box.styles.js +3 -1
  425. package/dist/components/layout/box/box.styles.js.map +1 -1
  426. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  427. package/dist/components/layout/card/card.styles.js +5 -3
  428. package/dist/components/layout/card/card.styles.js.map +1 -1
  429. package/dist/components/layout/container/container.d.ts +7 -0
  430. package/dist/components/layout/container/container.d.ts.map +1 -1
  431. package/dist/components/layout/container/container.js +30 -0
  432. package/dist/components/layout/container/container.js.map +1 -1
  433. package/dist/components/layout/kanban/kanban-column.d.ts +1 -1
  434. package/dist/components/layout/kanban/kanban-column.js +1 -1
  435. package/dist/components/layout/kanban/kanban.d.ts +7 -7
  436. package/dist/components/layout/kanban/kanban.js +9 -9
  437. package/dist/components/layout/kanban/kanban.js.map +1 -1
  438. package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
  439. package/dist/components/layout/kanban/kanban.styles.js +2 -0
  440. package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
  441. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  442. package/dist/components/layout/page/page.styles.js +8 -5
  443. package/dist/components/layout/page/page.styles.js.map +1 -1
  444. package/dist/components/layout/page-footer/page-footer.d.ts +4 -0
  445. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  446. package/dist/components/layout/page-footer/page-footer.js +7 -12
  447. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  448. package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
  449. package/dist/components/layout/page-footer/page-footer.styles.js +9 -21
  450. package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
  451. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  452. package/dist/components/layout/page-footer/page-footer.template.js +1 -4
  453. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  454. package/dist/components/layout/page-sections/hero/hero.d.ts +3 -4
  455. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  456. package/dist/components/layout/page-sections/hero/hero.js +3 -4
  457. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  458. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  459. package/dist/components/layout/page-sections/hero/hero.styles.js +14 -5
  460. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  461. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +2 -2
  462. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  463. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +21 -2
  464. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  465. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +1 -1
  466. package/dist/components/layout/popover/popover.d.ts +24 -2
  467. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  468. package/dist/components/layout/popover/popover.js +106 -11
  469. package/dist/components/layout/popover/popover.js.map +1 -1
  470. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  471. package/dist/components/layout/popover/popover.styles.js +9 -1
  472. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  473. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  474. package/dist/components/layout/sheet/sheet.styles.js +3 -1
  475. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  476. package/dist/components/layout/shell/shell.d.ts +1 -1
  477. package/dist/components/layout/shell/shell.js +1 -1
  478. package/dist/components/layout/shell/shell.styles.d.ts.map +1 -1
  479. package/dist/components/layout/shell/shell.styles.js +6 -3
  480. package/dist/components/layout/shell/shell.styles.js.map +1 -1
  481. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -1
  482. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
  483. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
  484. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +8 -5
  485. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
  486. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +0 -28
  487. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  488. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +10 -57
  489. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  490. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  491. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +8 -5
  492. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  493. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
  494. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -4
  495. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
  496. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
  497. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +8 -5
  498. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
  499. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
  500. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -2
  501. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
  502. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +8 -5
  503. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
  504. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
  505. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +8 -5
  506. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
  507. package/dist/components/layout/window/window.styles.d.ts.map +1 -1
  508. package/dist/components/layout/window/window.styles.js +3 -2
  509. package/dist/components/layout/window/window.styles.js.map +1 -1
  510. package/dist/components/lists-and-tables/cells/cell/cell.d.ts +2 -0
  511. package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
  512. package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
  513. package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
  514. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +2 -0
  515. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
  516. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +2 -1
  517. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
  518. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
  519. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +3 -2
  520. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
  521. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -0
  522. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  523. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -1
  524. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  525. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +6 -6
  526. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +46 -0
  527. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -0
  528. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts +5 -0
  529. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts.map +1 -0
  530. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js +4 -0
  531. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js.map +1 -0
  532. package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.js → reorder-handle-cell/reorder-handle-cell.js} +24 -24
  533. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -0
  534. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts +2 -0
  535. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts.map +1 -0
  536. package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.styles.js → reorder-handle-cell/reorder-handle-cell.styles.js} +15 -14
  537. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js.map +1 -0
  538. package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.d.ts → reorder-handle-cell/reorder-handle-cell.template.d.ts} +1 -1
  539. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.d.ts.map +1 -0
  540. package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.js → reorder-handle-cell/reorder-handle-cell.template.js} +4 -4
  541. package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.js.map +1 -0
  542. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +2 -0
  543. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  544. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
  545. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
  546. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -0
  547. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
  548. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +2 -1
  549. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
  550. package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -1
  551. package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +4 -1
  552. package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -1
  553. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +7 -3
  554. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  555. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +7 -4
  556. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  557. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  558. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +14 -11
  559. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
  560. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +7 -5
  561. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  562. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +4 -3
  563. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  564. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  565. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +19 -16
  566. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
  567. package/dist/components/lists-and-tables/list/list.d.ts +3 -2
  568. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  569. package/dist/components/lists-and-tables/list/list.js +15 -21
  570. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  571. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  572. package/dist/components/lists-and-tables/list/list.styles.js +40 -5
  573. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  574. package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -15
  575. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  576. package/dist/components/lists-and-tables/list-item/list-item.js +107 -154
  577. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  578. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  579. package/dist/components/lists-and-tables/list-item/list-item.styles.js +30 -23
  580. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  581. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  582. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +11 -9
  583. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  584. package/dist/components/lists-and-tables/table/table.d.ts +4 -4
  585. package/dist/components/lists-and-tables/table/table.js +5 -5
  586. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  587. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
  588. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +8 -3
  589. package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
  590. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +6 -6
  591. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  592. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +16 -24
  593. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  594. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
  595. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +18 -4
  596. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
  597. package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
  598. package/dist/components/navigation/link/link.styles.js +6 -3
  599. package/dist/components/navigation/link/link.styles.js.map +1 -1
  600. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
  601. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +1 -0
  602. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
  603. package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  604. package/dist/components/navigation/pagination/pagination.styles.js +7 -0
  605. package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
  606. package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
  607. package/dist/components/navigation/skip-link/skip-link.styles.js +1 -0
  608. package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
  609. package/dist/components/navigation/tab-bar/tab-bar.d.ts +2 -2
  610. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  611. package/dist/components/navigation/tab-bar/tab-bar.js +4 -4
  612. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  613. package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
  614. package/dist/components/navigation/tab-bar/tab-bar.styles.js +6 -0
  615. package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
  616. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +1 -1
  617. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -1
  618. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  619. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +2 -0
  620. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  621. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
  622. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  623. package/dist/components/navigation/top-title-bar/top-title-bar.js +12 -0
  624. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  625. package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
  626. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -0
  627. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
  628. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +4 -6
  629. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
  630. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -6
  631. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
  632. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
  633. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +3 -2
  634. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
  635. package/dist/components/status-and-feedback/badge/badge.d.ts +3 -3
  636. package/dist/components/status-and-feedback/badge/badge.js +3 -3
  637. package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
  638. package/dist/components/status-and-feedback/badge/badge.styles.js +7 -4
  639. package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
  640. package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
  641. package/dist/components/status-and-feedback/banner/banner.js +1 -1
  642. package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
  643. package/dist/components/status-and-feedback/banner/banner.styles.js +8 -2
  644. package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
  645. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +1 -1
  646. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +1 -1
  647. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
  648. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +3 -0
  649. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
  650. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +2 -2
  651. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
  652. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +5 -7
  653. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  654. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
  655. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +3 -0
  656. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
  657. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +1 -1
  658. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
  659. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
  660. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +3 -2
  661. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
  662. package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
  663. package/dist/components/status-and-feedback/notification/notification.styles.js +3 -0
  664. package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
  665. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
  666. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  667. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  668. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +3 -1
  669. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  670. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
  671. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +2 -0
  672. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
  673. package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
  674. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +1 -0
  675. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -1
  676. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
  677. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +8 -1
  678. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
  679. package/dist/css/form-section.css +2 -0
  680. package/dist/css/global-open-font.css +1 -0
  681. package/dist/css/global.css +1 -0
  682. package/dist/css/rich-text.css +14 -38
  683. package/dist/css/title.css +80 -0
  684. package/dist/css/variables.css +43 -27
  685. package/dist/nldd.min.js +1803 -1280
  686. package/dist/translations/en-US.d.ts.map +1 -1
  687. package/dist/translations/en-US.js +4 -1
  688. package/dist/translations/en-US.js.map +1 -1
  689. package/dist/translations/fy.d.ts.map +1 -1
  690. package/dist/translations/fy.js +4 -1
  691. package/dist/translations/fy.js.map +1 -1
  692. package/dist/translations/nl.generated.d.ts +4 -1
  693. package/dist/translations/nl.generated.d.ts.map +1 -1
  694. package/dist/translations/nl.generated.js +4 -2
  695. package/dist/translations/nl.generated.js.map +1 -1
  696. package/dist/translations/pap-AW.d.ts.map +1 -1
  697. package/dist/translations/pap-AW.js +4 -1
  698. package/dist/translations/pap-AW.js.map +1 -1
  699. package/dist/translations/pap-CW.d.ts.map +1 -1
  700. package/dist/translations/pap-CW.js +4 -1
  701. package/dist/translations/pap-CW.js.map +1 -1
  702. package/dist/types/react.d.ts +88 -76
  703. package/dist/types/vue.d.ts +123 -104
  704. package/dist/utilities/autoloader.generated.js +1 -1
  705. package/dist/utilities/autoloader.generated.js.map +1 -1
  706. package/dist/utilities/dev-checks.d.ts +5 -0
  707. package/dist/utilities/dev-checks.d.ts.map +1 -1
  708. package/dist/utilities/dev-checks.js +14 -0
  709. package/dist/utilities/dev-checks.js.map +1 -1
  710. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  711. package/dist/utilities/dev-rules.generated.js +162 -62
  712. package/dist/utilities/dev-rules.generated.js.map +1 -1
  713. package/dist/utilities/form-associated-mixin.d.ts +10 -0
  714. package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
  715. package/dist/utilities/form-associated-mixin.js +17 -0
  716. package/dist/utilities/form-associated-mixin.js.map +1 -1
  717. package/dist/utilities/page-section-mixin.d.ts +2 -2
  718. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  719. package/dist/utilities/page-section-mixin.js +10 -6
  720. package/dist/utilities/page-section-mixin.js.map +1 -1
  721. package/dist/utilities/reorder-handle-mixin.d.ts +21 -0
  722. package/dist/utilities/reorder-handle-mixin.d.ts.map +1 -0
  723. package/dist/utilities/reorder-handle-mixin.js +34 -0
  724. package/dist/utilities/reorder-handle-mixin.js.map +1 -0
  725. package/dist/utilities/translations.d.ts.map +1 -1
  726. package/dist/utilities/translations.js +9 -0
  727. package/dist/utilities/translations.js.map +1 -1
  728. package/lint/css.js +224 -0
  729. package/lint/data.generated.json +1 -1
  730. package/lint/engine.js +5 -2
  731. package/lint/fix.js +11 -0
  732. package/lint/frontends.js +67 -42
  733. package/lint/linter.js +193 -8
  734. package/lint/main.js +20 -7
  735. package/lint/project.js +2 -2
  736. package/lint/rule-data.js +20 -0
  737. package/lint/rule.schema.json +1 -0
  738. package/package.json +6 -6
  739. package/dist/cdn/chunks/blockquote-BoOqbGdm.js +0 -189
  740. package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +0 -3
  741. package/dist/cdn/chunks/nl.generated-D6T41jG3.js +0 -112
  742. package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +0 -47
  743. package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +0 -12
  744. package/dist/cdn/chunks/translations-wxBSz213.js +0 -8
  745. package/dist/cdn/chunks/with-translations-XX14GKFh.js +0 -16
  746. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +0 -44
  747. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +0 -1
  748. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +0 -5
  749. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts.map +0 -1
  750. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +0 -4
  751. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +0 -1
  752. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +0 -1
  753. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts +0 -2
  754. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +0 -1
  755. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +0 -1
  756. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +0 -1
  757. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +0 -1
@@ -56,17 +56,21 @@ export const splitButtonStyles = css `
56
56
 
57
57
  /* ## On-color */
58
58
 
59
- :host([appearance="inherit-tinted"]) {
60
- --_split-button-background-color: var(--semantics-buttons-inherit-tinted-background-color);
61
- --_split-button-divider-color: var(--semantics-buttons-inherit-tinted-divider-color);
62
- --_split-button-highlight-border-color: var(--semantics-buttons-inherit-tinted-highlight-border-color);
59
+ :host([appearance="content-tinted"]) {
60
+ --_split-button-background-color: var(--semantics-buttons-content-tinted-background-color);
61
+ --_split-button-divider-color: var(--semantics-buttons-content-tinted-divider-color);
62
+ --_split-button-highlight-border-color: var(--semantics-buttons-content-tinted-highlight-border-color);
63
63
  --context-button-background-color: transparent;
64
+
65
+ color: var(--context-content-color);
64
66
  }
65
67
 
66
- :host([appearance="inherit-filled"]) {
67
- --_split-button-background-color: var(--semantics-buttons-inherit-filled-background-color);
68
- --_split-button-divider-color: var(--semantics-buttons-inherit-filled-divider-color);
69
- --_split-button-highlight-border-color: var(--semantics-buttons-inherit-filled-highlight-border-color);
68
+ :host([appearance="content-filled"]) {
69
+ --_split-button-background-color: var(--semantics-buttons-content-filled-background-color);
70
+ --_split-button-divider-color: var(--semantics-buttons-content-filled-divider-color);
71
+ --_split-button-highlight-border-color: var(--semantics-buttons-content-filled-highlight-border-color);
72
+
73
+ color: var(--context-content-color);
70
74
  }
71
75
 
72
76
  :host([width="full"]) {
@@ -1 +1 @@
1
- {"version":3,"file":"split-button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/split-button/split-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;IAiBhC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHrB,CAAC"}
1
+ {"version":3,"file":"split-button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/split-button/split-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;IAiBhC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwHrB,CAAC"}
@@ -41,7 +41,7 @@ export function syncToolbarOverflow() {
41
41
  if (toolbarItem && ownToolbar(toolbarItem))
42
42
  mirror(control, toolbarItem);
43
43
  });
44
- document.addEventListener('tabchange', (event) => {
44
+ document.addEventListener('tab-change', (event) => {
45
45
  const bar = event.target;
46
46
  const toolbarItem = bar?.closest?.('nldd-toolbar-item');
47
47
  if (!toolbarItem || !ownToolbar(toolbarItem))
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar.story-sync.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.story-sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,MAAM,cAAc,GAAG,CAAC,WAAoB,EAAiB,EAAE,CAC9D,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAc,q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AAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,yBAyIzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yBAsF7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBA0J9B,CAAC"}
1
+ {"version":3,"file":"toolbar.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,yBA0IzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yBAuF7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBA4J9B,CAAC"}
@@ -129,6 +129,7 @@ export const toolbarStyles = css `
129
129
  .toolbar__overflow-button-label {
130
130
  display: none;
131
131
  margin-top: var(--_toolbar-label-margin-top);
132
+ --context-content-color: var(--semantics-content-color);
132
133
  color: var(--semantics-content-color);
133
134
  font: var(--primitives-font-body-xs-regular-flat);
134
135
  white-space: nowrap;
@@ -209,6 +210,7 @@ export const toolbarItemStyles = css `
209
210
  .toolbar__item-label {
210
211
  display: none;
211
212
  margin-top: var(--_toolbar-item-label-margin-top);
213
+ --context-content-color: var(--semantics-content-color);
212
214
  color: var(--semantics-content-color);
213
215
  font: var(--primitives-font-body-xs-regular-flat);
214
216
  white-space: nowrap;
@@ -354,6 +356,7 @@ export const toolbarTitleStyles = css `
354
356
  margin: 0;
355
357
  max-width: 100%;
356
358
  overflow: hidden;
359
+ --context-content-color: var(--semantics-content-color);
357
360
  color: var(--semantics-content-color);
358
361
  font: var(--_toolbar-title-font);
359
362
  text-overflow: ellipsis;
@@ -369,6 +372,7 @@ export const toolbarTitleStyles = css `
369
372
  margin: 0;
370
373
  max-width: 100%;
371
374
  overflow: hidden;
375
+ --context-content-color: var(--semantics-content-secondary-color);
372
376
  color: var(--semantics-content-secondary-color);
373
377
  font: var(--_toolbar-title-supporting-text-font);
374
378
  text-overflow: ellipsis;
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;IAuB5B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkHrB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFnC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;IAcjC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4IrB,CAAC"}
1
+ {"version":3,"file":"toolbar.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;IAuB5B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHrB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuFnC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;IAcjC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8IrB,CAAC"}
@@ -14,7 +14,9 @@
14
14
  * Without `size` the avatar scales with its container, like `nldd-icon`; a
15
15
  * fixed size (the same spacer-aligned scale, 16 through 96) is the exception.
16
16
  * The initials and the icon scale along. Wide initials (WW, MMM) are scaled
17
- * down automatically so they stay inside the shape.
17
+ * down automatically so they stay inside the shape. Four characters fit an
18
+ * organization acronym such as LVVN or JenV; they read well from 40px, so below
19
+ * that pick a shorter form.
18
20
  *
19
21
  * Accessibility: the host element carries the meaning. With a `name` (and
20
22
  * without `decorative`) it gets `role="img"` with the name as its label. When
@@ -26,10 +28,10 @@
26
28
  *
27
29
  * @attr {string} type - `person` (circle, person icon) or `organization` (rounded, building icon); default `person`
28
30
  * @attr {string} size - `full` (the default) scales with the container, like nldd-icon; or a fixed size in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). The initials and the icon scale along
29
- * @attr {string} color - `neutral` (the default, a neutral fill) or `inherit` (fill in the content color: the `--context-content-color` channel, or `currentColor` when that is unset; text in the contrast color, so the avatar can replace an icon in a button for instance)
31
+ * @attr {string} color - `neutral` (the default, a neutral fill) or `content` (fill in the content color: the `--context-content-color` a surface, a button or a selected row sets; text in the contrast color, so the avatar can replace an icon in a button for instance)
30
32
  * @attr {boolean} icon-aligned - Shrinks the visible shape to 5/6 of the host, centered, so the avatar aligns optically with an icon on the same grid (an icon glyph has built-in margin)
31
33
  * @attr {string} name - Name of the person or organization; supplies the derived initials and the accessible label
32
- * @attr {string} initials - Explicit initials, at most 3 characters (overrides what is derived from `name`; also for organization acronyms)
34
+ * @attr {string} initials - Explicit initials, at most 4 characters, such as `KvK` or `LVVN` (overrides what is derived from `name`; also for organization acronyms). Four characters read well from 40px; below that use a shorter form
33
35
  * @attr {string} src - Image source; falls back to initials or icon when it fails to load
34
36
  * @attr {string} srcset - Responsive source set for the image (the component sets `sizes` itself)
35
37
  * @attr {string} icon - Overrides the type-dependent fallback icon
@@ -58,7 +60,7 @@
58
60
  * ></nldd-avatar>
59
61
  * <nldd-avatar
60
62
  * name="Bart van de Biezen"
61
- * color="inherit"
63
+ * color="content"
62
64
  * ></nldd-avatar>
63
65
  * <nldd-avatar
64
66
  * name="Bart van de Biezen"
@@ -74,7 +76,7 @@
74
76
  import { LitElement, type PropertyValues } from 'lit';
75
77
  import '../icon/icon.js';
76
78
  export type AvatarType = 'person' | 'organization';
77
- export type AvatarColor = 'neutral' | 'inherit';
79
+ export type AvatarColor = 'neutral' | 'content';
78
80
  /** Empty = scale to the container (like nldd-icon); the rest pin a fixed px size. */
79
81
  export type AvatarSize = 'full' | '16' | '20' | '24' | '28' | '32' | '40' | '44' | '48' | '56' | '64' | '80' | '96';
80
82
  declare const NLDDAvatar_base: (abstract new (...args: any[]) => LitElement & {
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,OAAO,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3D,eAAe,SAAM;IAGrB,UAAU,UAAS;IAEnB;;4EAEwE;IAExE,aAAa,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAW;IAEvD;iFAC6E;IAE7E,IAAI,SAAM;IAEV;;;wEAGoE;IAEpE,KAAK,UAAS;IAEd;6EACyE;IAEzE,MAAM,UAAS;IAGf,MAAM,SAAM;IAGZ,GAAG,SAAM;IAET,gDAAgD;IAChD,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED;mEAC+D;IAE/D,YAAY,UAAS;IAErB;2EACuE;IACvE,IAAI,gBAAgB,IAAI,MAAM,CAO7B;IAED,8DAA8D;IAC9D,IAAI,YAAY,IAAI,MAAM,CAGzB;IAED,aAAa,QAAO,IAAI,CAEtB;IAEF;;mFAE+E;IAC/E,OAAO,CAAC,eAAe,CAAiD;IAE/D,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAS/C,YAAY,IAAI,IAAI;IAKpB,iBAAiB,IAAI,IAAI;IAMzB,oBAAoB,IAAI,IAAI;IAK5B,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAmCrD;;;;kEAI8D;IAC9D,OAAO,CAAC,YAAY;IAaX,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,aAAa,EAAE,UAAU,CAAC;KAC1B;CACD"}
@@ -20,7 +20,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
20
20
  * Without `size` the avatar scales with its container, like `nldd-icon`; a
21
21
  * fixed size (the same spacer-aligned scale, 16 through 96) is the exception.
22
22
  * The initials and the icon scale along. Wide initials (WW, MMM) are scaled
23
- * down automatically so they stay inside the shape.
23
+ * down automatically so they stay inside the shape. Four characters fit an
24
+ * organization acronym such as LVVN or JenV; they read well from 40px, so below
25
+ * that pick a shorter form.
24
26
  *
25
27
  * Accessibility: the host element carries the meaning. With a `name` (and
26
28
  * without `decorative`) it gets `role="img"` with the name as its label. When
@@ -32,10 +34,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
32
34
  *
33
35
  * @attr {string} type - `person` (circle, person icon) or `organization` (rounded, building icon); default `person`
34
36
  * @attr {string} size - `full` (the default) scales with the container, like nldd-icon; or a fixed size in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). The initials and the icon scale along
35
- * @attr {string} color - `neutral` (the default, a neutral fill) or `inherit` (fill in the content color: the `--context-content-color` channel, or `currentColor` when that is unset; text in the contrast color, so the avatar can replace an icon in a button for instance)
37
+ * @attr {string} color - `neutral` (the default, a neutral fill) or `content` (fill in the content color: the `--context-content-color` a surface, a button or a selected row sets; text in the contrast color, so the avatar can replace an icon in a button for instance)
36
38
  * @attr {boolean} icon-aligned - Shrinks the visible shape to 5/6 of the host, centered, so the avatar aligns optically with an icon on the same grid (an icon glyph has built-in margin)
37
39
  * @attr {string} name - Name of the person or organization; supplies the derived initials and the accessible label
38
- * @attr {string} initials - Explicit initials, at most 3 characters (overrides what is derived from `name`; also for organization acronyms)
40
+ * @attr {string} initials - Explicit initials, at most 4 characters, such as `KvK` or `LVVN` (overrides what is derived from `name`; also for organization acronyms). Four characters read well from 40px; below that use a shorter form
39
41
  * @attr {string} src - Image source; falls back to initials or icon when it fails to load
40
42
  * @attr {string} srcset - Responsive source set for the image (the component sets `sizes` itself)
41
43
  * @attr {string} icon - Overrides the type-dependent fallback icon
@@ -64,7 +66,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
64
66
  * ></nldd-avatar>
65
67
  * <nldd-avatar
66
68
  * name="Bart van de Biezen"
67
- * color="inherit"
69
+ * color="content"
68
70
  * ></nldd-avatar>
69
71
  * <nldd-avatar
70
72
  * name="Bart van de Biezen"
@@ -142,7 +144,7 @@ let NLDDAvatar = class NLDDAvatar extends withTranslations(LitElement, nlddAvata
142
144
  * otherwise the first letter of the first and last word of `name`. */
143
145
  get resolvedInitials() {
144
146
  if (this.initials)
145
- return this.initials.slice(0, 3);
147
+ return this.initials.slice(0, 4);
146
148
  const words = this.name.trim().split(/\s+/).filter(Boolean);
147
149
  if (words.length === 0)
148
150
  return '';
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.js","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,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,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,iBAAiB,CAAC;AAMzB;;sEAEsE;AACtE,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAOzB,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,gBAAgB,CAAC,UAAU,EAAE,sBAAsB,CAAC;IAA7E;;QAIN,SAAI,GAAe,QAAQ,CAAC;QAG5B,SAAI,GAAe,MAAM,CAAC;QAG1B,UAAK,GAAgB,SAAS,CAAC;QAG/B,gBAAW,GAAG,KAAK,CAAC;QAGpB,SAAI,GAAG,EAAE,CAAC;QAGV,aAAQ,GAAG,EAAE,CAAC;QAGd,QAAG,GAAG,EAAE,CAAC;QAGT,WAAM,GAAG,EAAE,CAAC;QAGZ,SAAI,GAAG,EAAE,CAAC;QAEV;mEAC2D;QAE3D,oBAAe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QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;mDACrC;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CACxB;AAMnB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,iBAAiB,CAAgC,OAAO,CAAC,EAAE,CAAC;iDACxE;AAKvD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;wCAC5D;AAOV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;yCAClD;AAKd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CAC5B;AAGf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CACf;AAGZ;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCAClB;AAUT;IADC,KAAK,EAAE;gDACa;AA3ET,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CAwLtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBAkKxB,CAAC"}
1
+ {"version":3,"file":"avatar.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBAmKxB,CAAC"}
@@ -34,20 +34,17 @@ export const avatarStyles = css `
34
34
  }
35
35
 
36
36
  :host([type="organization"]) {
37
- --_avatar-corner-radius: var(--primitives-corner-radius-md);
37
+ --_avatar-corner-radius: var(--semantics-tiles-corner-radius);
38
38
  }
39
39
 
40
- /* Fill tracks the shared content-color channel (set by list-item / table /
41
- menu), falling back to currentColor for buttons / standalone — mirrors
42
- nldd-activity-indicator. The fill (not the text) color must resolve here,
43
- so .avatar keeps its inherited color and the contrast text lives on the
44
- child elements. */
40
+ /* The fill (not the text) color must resolve here, so .avatar keeps its
41
+ inherited color and the contrast text lives on the child elements. */
45
42
  /* color on the host: the contrast token reads currentColor, so the flip has to
46
43
  be computed against the same value the fill uses. */
47
- :host([color="inherit"]) {
48
- color: var(--context-content-color, currentColor);
44
+ :host([color="content"]) {
45
+ color: var(--context-content-color);
49
46
 
50
- --_avatar-background-color: currentColor;
47
+ --_avatar-background-color: var(--context-content-color);
51
48
  --_avatar-content-color: var(--semantics-content-contrast-color);
52
49
  }
53
50
 
@@ -75,15 +72,17 @@ export const avatarStyles = css `
75
72
  :host([size="80"]) { --_avatar-size: var(--primitives-space-80); }
76
73
  :host([size="96"]) { --_avatar-size: var(--primitives-space-96); }
77
74
 
75
+ :host([size]:not([size="full"])) {
76
+ height: var(--_avatar-size);
77
+ }
78
+
78
79
 
79
80
  /* # Avatar */
80
81
 
81
82
  /* container-type: inline-size lets the initials and icon scale (cqi) with the
82
83
  avatar's rendered width, so a fixed size and a filled (100%) size both work.
83
84
  inline-size (not size) leaves the block axis free, so aspect-ratio can drive
84
- the height without the box collapsing in flex/grid. color stays inherited
85
- here so --_avatar-background-color's currentColor (color="inherit") resolves to the
86
- surrounding color, not the content color. */
85
+ the height without the box collapsing in flex/grid. */
87
86
  .avatar {
88
87
  container-type: inline-size;
89
88
  display: flex;
@@ -144,6 +143,7 @@ export const avatarStyles = css `
144
143
  font-weight: var(--_avatar-initials-font-weight);
145
144
  font-size: calc(var(--_avatar-initials-scale) * 100cqi);
146
145
  line-height: 1;
146
+ --context-content-color: var(--_avatar-content-color);
147
147
  color: var(--_avatar-content-color);
148
148
  /* fit-initials shrinks wide initials via this factor (measured in JS);
149
149
  transform (not font-size) so scrollWidth stays the natural width. The
@@ -154,6 +154,7 @@ export const avatarStyles = css `
154
154
 
155
155
  .avatar__icon {
156
156
  width: calc(var(--_avatar-icon-scale) * 100cqi);
157
+ --context-content-color: var(--_avatar-content-color);
157
158
  color: var(--_avatar-content-color);
158
159
  }
159
160
 
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.styles.js","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;IAoB3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8IrB,CAAC"}
1
+ {"version":3,"file":"avatar.styles.js","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;IAoB3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+IrB,CAAC"}
@@ -4,7 +4,7 @@
4
4
  * Shows several avatars as one group: they overlap, and each one gets a ring in
5
5
  * the surface color so they stay apart where they meet. The ring uses the same
6
6
  * mechanism as the badge, so on a colored surface you hand the color over
7
- * through `--context-parent-background-color`.
7
+ * through `--context-background-color`.
8
8
  *
9
9
  * Slot `nldd-avatar` elements, not bare `img`. An avatar already knows what to
10
10
  * do with a dead image, when to fall back to initials, and how to show its name
@@ -4,7 +4,7 @@
4
4
  * Shows several avatars as one group: they overlap, and each one gets a ring in
5
5
  * the surface color so they stay apart where they meet. The ring uses the same
6
6
  * mechanism as the badge, so on a colored surface you hand the color over
7
- * through `--context-parent-background-color`.
7
+ * through `--context-background-color`.
8
8
  *
9
9
  * Slot `nldd-avatar` elements, not bare `img`. An avatar already knows what to
10
10
  * do with a dead image, when to fall back to initials, and how to show its name
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-group.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/avatar-group/avatar-group.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,yBAkK7B,CAAC"}
1
+ {"version":3,"file":"avatar-group.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/avatar-group/avatar-group.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,yBAmK7B,CAAC"}
@@ -15,7 +15,7 @@ export const avatarGroupStyles = css `
15
15
  --_avatar-group-width: calc(var(--_avatar-group-discs) * (var(--_avatar-group-size) - var(--_avatar-group-overlap-size)) + var(--_avatar-group-overlap-size));
16
16
  --_avatar-group-min-width: calc(2 * (var(--_avatar-group-size) - var(--_avatar-group-overlap-size)) + var(--_avatar-group-overlap-size));
17
17
  --_avatar-group-ring-thickness: var(--semantics-surfaces-ring-thickness);
18
- --_avatar-group-ring-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
18
+ --_avatar-group-ring-color: var(--context-background-color);
19
19
  --_avatar-group-corner-radius: var(--primitives-corner-radius-full);
20
20
  --_avatar-group-overflow-background-color: light-dark(var(--primitives-color-neutral-25), var(--primitives-color-neutral-150));
21
21
  --_avatar-group-overflow-hover-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-200));
@@ -88,6 +88,7 @@ export const avatarGroupStyles = css `
88
88
  padding: 0;
89
89
  align-items: center;
90
90
  justify-content: center;
91
+ --context-content-color: var(--_avatar-group-overflow-content-color);
91
92
  color: var(--_avatar-group-overflow-content-color);
92
93
  font: var(--_avatar-group-overflow-font);
93
94
  /* The offset makes the count relatively larger on a small disc and smaller on a large one. */
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-group.styles.js","sourceRoot":"","sources":["../../../../src/components/content/avatar-group/avatar-group.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAkId,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC1B,CAAC"}
1
+ {"version":3,"file":"avatar-group.styles.js","sourceRoot":"","sources":["../../../../src/components/content/avatar-group/avatar-group.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAmId,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC1B,CAAC"}
@@ -3,9 +3,14 @@
3
3
  *
4
4
  * Shows a quote with an optional source attribution.
5
5
  *
6
+ * The quote is at most 30em wide, measured in its own letters, so a line holds
7
+ * about the same number of characters at every size, custom sizes included.
8
+ * Within that, it takes the width of its parent.
9
+ *
6
10
  * @element nldd-blockquote
11
+ * @attr {string} size - Size of the quote: 'md' (default) or 'lg', for a quote that stands out on its own, such as on a landing page. Only the quote grows; the attribution and the border stay as they are
7
12
  * @attr {string} cite - URL of the source (forwarded to the <blockquote> element)
8
- * @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. A quote in running text keeps its own size. Set per breakpoint on purpose: a breakpoint without one keeps the quote's own size, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the quote's own size at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to the quote's own size
13
+ * @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size="lg"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to `size`
9
14
  * @attr {string} md-custom-size - The same, at md
10
15
  * @attr {string} lg-custom-size - The same, at lg
11
16
  *
@@ -14,8 +19,10 @@
14
19
  * @slot attribution - Optional source attribution (author, title, and so on). An nldd-identity is allowed here; the em dash ("— ") is then left out.
15
20
  */
16
21
  import { LitElement, type PropertyValues } from 'lit';
22
+ type BlockquoteSize = 'md' | 'lg';
17
23
  export declare class NLDDBlockquote extends LitElement {
18
24
  static styles: import("lit").CSSResult;
25
+ size: BlockquoteSize;
19
26
  cite: string | undefined;
20
27
  smCustomSize: string;
21
28
  mdCustomSize: string;
@@ -35,4 +42,5 @@ declare global {
35
42
  'nldd-blockquote': NLDDBlockquote;
36
43
  }
37
44
  }
45
+ export {};
38
46
  //# sourceMappingURL=blockquote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAetD,qBACa,cAAe,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAAoB;IAG1C,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAGrC,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,eAAe,UAAS;IAGxB,uBAAuB,UAAS;IAEhC,gBAAgB;IAChB,4BAA4B,GAAI,GAAG,KAAK,KAAG,IAAI,CAY7C;IAEF,+EAA+E;IAC/E,OAAO,CAAC,YAAY,CAA2C;IAEtD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAMzC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAQtC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,cAAc,CAAC;KAClC;CACD"}
1
+ {"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAQtD,KAAK,cAAc,GAAG,IAAI,GAAG,IAAI,CAAC;AAgBlC,qBACa,cAAe,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAAoB;IAG1C,IAAI,EAAE,cAAc,CAAQ;IAG5B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAGrC,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,eAAe,UAAS;IAGxB,uBAAuB,UAAS;IAEhC,gBAAgB;IAChB,4BAA4B,GAAI,GAAG,KAAK,KAAG,IAAI,CAY7C;IAEF,+EAA+E;IAC/E,OAAO,CAAC,YAAY,CAA2C;IAEtD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAMzC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAQtC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,cAAc,CAAC;KAClC;CACD"}
@@ -3,9 +3,14 @@
3
3
  *
4
4
  * Shows a quote with an optional source attribution.
5
5
  *
6
+ * The quote is at most 30em wide, measured in its own letters, so a line holds
7
+ * about the same number of characters at every size, custom sizes included.
8
+ * Within that, it takes the width of its parent.
9
+ *
6
10
  * @element nldd-blockquote
11
+ * @attr {string} size - Size of the quote: 'md' (default) or 'lg', for a quote that stands out on its own, such as on a landing page. Only the quote grows; the attribution and the border stay as they are
7
12
  * @attr {string} cite - URL of the source (forwarded to the <blockquote> element)
8
- * @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. A quote in running text keeps its own size. Set per breakpoint on purpose: a breakpoint without one keeps the quote's own size, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the quote's own size at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to the quote's own size
13
+ * @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size="lg"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to `size`
9
14
  * @attr {string} md-custom-size - The same, at md
10
15
  * @attr {string} lg-custom-size - The same, at lg
11
16
  *
@@ -26,15 +31,23 @@ import { applyCustomFontSizes, checkCustomFontSizeFloor } from '../../../utiliti
26
31
  import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
27
32
  import { blockquoteStyles } from './blockquote.styles.js';
28
33
  import { template } from './blockquote.template.js';
29
- /** The quote's own font size per breakpoint: the floor of a custom size. */
34
+ /** The font size of the quote per size and breakpoint: the floor of a custom size. */
30
35
  const QUOTE_FONT_SIZE = {
31
- sm: 'var(--primitives-font-size-200)',
32
- md: 'var(--primitives-font-size-300)',
33
- lg: 'var(--primitives-font-size-300)',
36
+ md: {
37
+ sm: 'var(--primitives-font-size-200)',
38
+ md: 'var(--primitives-font-size-300)',
39
+ lg: 'var(--primitives-font-size-300)',
40
+ },
41
+ lg: {
42
+ sm: 'var(--primitives-font-size-300)',
43
+ md: 'var(--primitives-font-size-500)',
44
+ lg: 'var(--primitives-font-size-700)',
45
+ },
34
46
  };
35
47
  let NLDDBlockquote = class NLDDBlockquote extends LitElement {
36
48
  constructor() {
37
49
  super(...arguments);
50
+ this.size = 'md';
38
51
  this.cite = undefined;
39
52
  this.smCustomSize = '';
40
53
  this.mdCustomSize = '';
@@ -69,8 +82,8 @@ let NLDDBlockquote = class NLDDBlockquote extends LitElement {
69
82
  super.updated(changed);
70
83
  if (!import.meta.env?.DEV)
71
84
  return;
72
- if (changed.has('smCustomSize') || changed.has('mdCustomSize') || changed.has('lgCustomSize')) {
73
- checkCustomFontSizeFloor(this, this._customSizes, QUOTE_FONT_SIZE);
85
+ if (changed.has('size') || changed.has('smCustomSize') || changed.has('mdCustomSize') || changed.has('lgCustomSize')) {
86
+ checkCustomFontSizeFloor(this, this._customSizes, QUOTE_FONT_SIZE[this.size] ?? QUOTE_FONT_SIZE.md);
74
87
  }
75
88
  }
76
89
  render() {
@@ -78,6 +91,9 @@ let NLDDBlockquote = class NLDDBlockquote extends LitElement {
78
91
  }
79
92
  };
80
93
  NLDDBlockquote.styles = blockquoteStyles;
94
+ __decorate([
95
+ property({ reflect: true, converter: reflectNonDefault('md') })
96
+ ], NLDDBlockquote.prototype, "size", void 0);
81
97
  __decorate([
82
98
  property({ type: String })
83
99
  ], NLDDBlockquote.prototype, "cite", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAmB,MAAM,wCAAwC,CAAC;AACzH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,4EAA4E;AAC5E,MAA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OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;oDACjF;AAGlB;IADC,KAAK,EAAE;uDACgB;AAGxB;IADC,KAAK,EAAE;+DACwB;AAnBpB,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CAwD1B"}
1
+ {"version":3,"file":"blockquote.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAmB,MAAM,wCAAwC,CAAC;AACzH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIpD,sFAAsF;AACtF,MAAM,eAAe,GAAuD;IAC3E,EAAE,EAAE;QACH,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,iCAAiC;KACrC;IACD,EAAE,EAAE;QACH,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,iCAAiC;KACrC;CACD,CAAC;AAGK,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAIN,SAAI,GAAmB,IAAI,CAAC;QAG5B,SAAI,GAAuB,SAAS,CAAC;QAGrC,iBAAY,GAAG,EAAE,CAAC;QAGlB,iBAAY,GAAG,EAAE,CAAC;QAGlB,iBAAY,GAAG,EAAE,CAA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,CAAC,EAAE,CAAC;oDACjF;AAGlB;IADC,KAAK,EAAE;uDACgB;AAGxB;IADC,KAAK,EAAE;+DACwB;AAtBpB,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CA2D1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,yBA2H5B,CAAC"}
1
+ {"version":3,"file":"blockquote.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,yBAqK5B,CAAC"}
@@ -17,12 +17,14 @@ export const blockquoteStyles = css `
17
17
  --_blockquote-spacing: var(--semantics-blockquotes-md-spacing);
18
18
  --_blockquote-quote-font: var(--semantics-blockquotes-md-quote-font);
19
19
  --_blockquote-attribution-font: var(--semantics-blockquotes-md-attribution-font);
20
+ --_blockquote-quote-max-width: 30em;
21
+ --_blockquote-sm-size: var(--primitives-font-size-200);
22
+ --_blockquote-md-size: var(--primitives-font-size-300);
23
+ --_blockquote-lg-size: var(--primitives-font-size-300);
20
24
  --_blockquote-sm-custom-size: initial;
21
25
  --_blockquote-md-custom-size: initial;
22
26
  --_blockquote-lg-custom-size: initial;
23
- --_blockquote-sm-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-sm-custom-size), var(--primitives-font-size-200)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
24
- --_blockquote-md-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-md-custom-size), var(--primitives-font-size-300)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
25
- --_blockquote-lg-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-lg-custom-size), var(--primitives-font-size-300)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
27
+ --_blockquote-sized-font: italic var(--primitives-font-weight-body-regular) var(--_blockquote-quote-size) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
26
28
 
27
29
  @media (max-width: ${smMax}) {
28
30
  --_blockquote-spacing: var(--semantics-blockquotes-sm-spacing);
@@ -38,42 +40,80 @@ export const blockquoteStyles = css `
38
40
 
39
41
  ${inheritedTextReset}
40
42
  display: block;
41
- max-width: var(--semantics-blockquotes-max-width);
42
43
  }
43
44
 
44
45
  :host([hidden]) {
45
46
  display: none;
46
47
  }
47
48
 
49
+ /* ## Size */
50
+
51
+ :host([size="lg"]) {
52
+ --_blockquote-sm-size: var(--primitives-font-size-300);
53
+ --_blockquote-md-size: var(--primitives-font-size-500);
54
+ --_blockquote-lg-size: var(--primitives-font-size-700);
55
+ --_blockquote-quote-font: var(--_blockquote-sized-font);
56
+
57
+ @media (max-width: ${smMax}) {
58
+ --_blockquote-quote-size: var(--_blockquote-sm-size);
59
+ }
60
+
61
+ @media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
62
+ --_blockquote-quote-size: var(--_blockquote-md-size);
63
+ }
64
+
65
+ @media (min-width: ${lgMin}) {
66
+ --_blockquote-quote-size: var(--_blockquote-lg-size);
67
+ }
68
+
69
+ @container layout-container (max-width: ${smMax}) {
70
+ --_blockquote-quote-size: var(--_blockquote-sm-size);
71
+ }
72
+
73
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
74
+ --_blockquote-quote-size: var(--_blockquote-md-size);
75
+ }
76
+
77
+ @container layout-container (min-width: ${lgMin}) {
78
+ --_blockquote-quote-size: var(--_blockquote-lg-size);
79
+ }
80
+ }
81
+
48
82
  /* ## Custom size */
49
83
 
50
84
  :host([data-sm-custom-size]) {
51
85
  @media (max-width: ${smMax}) {
52
- --_blockquote-quote-font: var(--_blockquote-sm-custom-font);
86
+ --_blockquote-quote-size: max(var(--_blockquote-sm-custom-size), var(--_blockquote-sm-size));
87
+ --_blockquote-quote-font: var(--_blockquote-sized-font);
53
88
  }
54
89
 
55
90
  @container layout-container (max-width: ${smMax}) {
56
- --_blockquote-quote-font: var(--_blockquote-sm-custom-font);
91
+ --_blockquote-quote-size: max(var(--_blockquote-sm-custom-size), var(--_blockquote-sm-size));
92
+ --_blockquote-quote-font: var(--_blockquote-sized-font);
57
93
  }
58
94
  }
59
95
 
60
96
  :host([data-md-custom-size]) {
61
97
  @media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
62
- --_blockquote-quote-font: var(--_blockquote-md-custom-font);
98
+ --_blockquote-quote-size: max(var(--_blockquote-md-custom-size), var(--_blockquote-md-size));
99
+ --_blockquote-quote-font: var(--_blockquote-sized-font);
63
100
  }
64
101
 
65
102
  @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
66
- --_blockquote-quote-font: var(--_blockquote-md-custom-font);
103
+ --_blockquote-quote-size: max(var(--_blockquote-md-custom-size), var(--_blockquote-md-size));
104
+ --_blockquote-quote-font: var(--_blockquote-sized-font);
67
105
  }
68
106
  }
69
107
 
70
108
  :host([data-lg-custom-size]) {
71
109
  @media (min-width: ${lgMin}) {
72
- --_blockquote-quote-font: var(--_blockquote-lg-custom-font);
110
+ --_blockquote-quote-size: max(var(--_blockquote-lg-custom-size), var(--_blockquote-lg-size));
111
+ --_blockquote-quote-font: var(--_blockquote-sized-font);
73
112
  }
74
113
 
75
114
  @container layout-container (min-width: ${lgMin}) {
76
- --_blockquote-quote-font: var(--_blockquote-lg-custom-font);
115
+ --_blockquote-quote-size: max(var(--_blockquote-lg-custom-size), var(--_blockquote-lg-size));
116
+ --_blockquote-quote-font: var(--_blockquote-sized-font);
77
117
  }
78
118
  }
79
119
 
@@ -88,6 +128,7 @@ export const blockquoteStyles = css `
88
128
  padding-bottom: 0;
89
129
  flex-direction: column;
90
130
  gap: calc(var(--_blockquote-spacing) / 2);
131
+ --context-content-color: var(--semantics-content-color);
91
132
  color: var(--semantics-content-color);
92
133
  text-wrap: pretty;
93
134
  }
@@ -97,6 +138,7 @@ export const blockquoteStyles = css `
97
138
 
98
139
  .blockquote__quote {
99
140
  display: flex;
141
+ max-width: var(--_blockquote-quote-max-width);
100
142
  flex-direction: column;
101
143
  gap: calc(1lh / 2);
102
144
  font: var(--_blockquote-quote-font);