@nldd/design-system 0.20.0 → 0.21.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 (330) hide show
  1. package/custom-elements.json +204 -8
  2. package/dist/cdn/autoloader.js +181 -0
  3. package/dist/cdn/chunks/activity-indicator-JglZJ8dh.js +356 -0
  4. package/dist/cdn/chunks/activity-indicator.i18n-D7mCy6d2.js +3 -0
  5. package/dist/cdn/chunks/avatar-ASqePVhU.js +308 -0
  6. package/dist/cdn/chunks/avatar-group-rknt4FBO.js +338 -0
  7. package/dist/cdn/chunks/avatar-group.i18n-BYw_9wt_.js +7 -0
  8. package/dist/cdn/chunks/avatar.i18n-CMwQjBkS.js +7 -0
  9. package/dist/cdn/chunks/badge-Cc2Nufoc.js +323 -0
  10. package/dist/cdn/chunks/badge.i18n-DqW7hLQj.js +3 -0
  11. package/dist/cdn/chunks/banner-BLVKM07M.js +325 -0
  12. package/dist/cdn/chunks/banner.i18n-BOCM9rGN.js +3 -0
  13. package/dist/cdn/chunks/bar-split-view-Clbg-p9H.js +259 -0
  14. package/dist/cdn/chunks/base-CfuoYRhN.js +3 -0
  15. package/dist/cdn/chunks/blockquote-BoOqbGdm.js +189 -0
  16. package/dist/cdn/chunks/box-WkhyjQVy.js +88 -0
  17. package/dist/cdn/chunks/breadcrumbs-D9YxZzRj.js +162 -0
  18. package/dist/cdn/chunks/breadcrumbs.i18n-zmO8jaTO.js +3 -0
  19. package/dist/cdn/chunks/breakpoints-Cwor8TRP.js +15 -0
  20. package/dist/cdn/chunks/button-DO90Lo6q.js +863 -0
  21. package/dist/cdn/chunks/button-bar-Bxgdbyh3.js +225 -0
  22. package/dist/cdn/chunks/button-group-BYGPPLmZ.js +205 -0
  23. package/dist/{components/button.i18n-DiDGynnq.js → cdn/chunks/button.i18n-BGFt7Z9u.js} +2 -2
  24. package/dist/cdn/chunks/card-BP0jfOkS.js +262 -0
  25. package/dist/cdn/chunks/card.i18n-CpafLm3i.js +8 -0
  26. package/dist/cdn/chunks/carried-context-DlMSujiJ.js +37 -0
  27. package/dist/cdn/chunks/cell-BRD2ilQh.js +144 -0
  28. package/dist/cdn/chunks/checkbox-Cazx8CQn.js +296 -0
  29. package/dist/cdn/chunks/checkbox-field-DDZ-B6vH.js +157 -0
  30. package/dist/cdn/chunks/class-map-CXSdNjt8.js +26 -0
  31. package/dist/cdn/chunks/code-editor-D6Q55oaY.js +286 -0
  32. package/dist/cdn/chunks/code-viewer-DspLH2T1.js +766 -0
  33. package/dist/cdn/chunks/code-viewer.i18n-BHfSDRbK.js +13 -0
  34. package/dist/cdn/chunks/codemirror-input-Db65x22n.js +1232 -0
  35. package/dist/cdn/chunks/collection-NVtkvDls.js +396 -0
  36. package/dist/cdn/chunks/collection.i18n-DqWPGnZO.js +8 -0
  37. package/dist/cdn/chunks/combo-box-DyBQSaQl.js +512 -0
  38. package/dist/cdn/chunks/combo-box.i18n-BorzYnJ2.js +6 -0
  39. package/dist/cdn/chunks/container-rrbwk0z4.js +602 -0
  40. package/dist/cdn/chunks/custom-element-BW8Ua4c7.js +7 -0
  41. package/dist/cdn/chunks/custom-element-q6NzoL5b.js +301 -0
  42. package/dist/cdn/chunks/custom-font-size-D7KNr84p.js +57 -0
  43. package/dist/cdn/chunks/date-field-Clti_wKN.js +654 -0
  44. package/dist/cdn/chunks/date-field.i18n-BTzc0E9a.js +15 -0
  45. package/dist/cdn/chunks/date-picker-2TCQLd5D.js +993 -0
  46. package/dist/cdn/chunks/date-picker.i18n-Dsc_M5QK.js +82 -0
  47. package/dist/cdn/chunks/decorate-TduJMFD_.js +280 -0
  48. package/dist/cdn/chunks/defer-focus-F73ud2D9.js +9 -0
  49. package/dist/cdn/chunks/described-by-mixin-daRE7orX.js +32 -0
  50. package/dist/cdn/chunks/description-cell-CQwOj_rN.js +166 -0
  51. package/dist/cdn/chunks/dev-checks-zW_W-hnh.js +2695 -0
  52. package/dist/cdn/chunks/directive-CwRgozUW.js +27 -0
  53. package/dist/cdn/chunks/dismiss-from-title-bar-C6mP7sWP.js +5 -0
  54. package/dist/cdn/chunks/dist-3C80SZN9.js +849 -0
  55. package/dist/cdn/chunks/dist-A7_1pHX0.js +379 -0
  56. package/dist/cdn/chunks/dist-BEfLdOvy.js +1346 -0
  57. package/dist/cdn/chunks/dist-BTUxFM2V.js +268 -0
  58. package/dist/cdn/chunks/dist-CP3G1pSK.js +1037 -0
  59. package/dist/cdn/chunks/dist-C_dGY6zR.js +468 -0
  60. package/dist/{components/dist-B9YBOGFW.js → cdn/chunks/dist-ChmCRv39.js} +109 -153
  61. package/dist/{components/dist-CJm4tkNC.js → cdn/chunks/dist-D2qap2OY.js} +23 -31
  62. package/dist/cdn/chunks/dist-DPUBF0MZ.js +1593 -0
  63. package/dist/{components/dist-4g23YHP0.js → cdn/chunks/dist-DrTzvgE7.js} +291 -404
  64. package/dist/cdn/chunks/dist-EM4MWLQq.js +385 -0
  65. package/dist/cdn/chunks/dist-EgIBI-FG.js +293 -0
  66. package/dist/{components/dist-Bf823YyL.js → cdn/chunks/dist-Rm6FvrSR.js} +272 -551
  67. package/dist/cdn/chunks/divider-CCNbnplA.js +53 -0
  68. package/dist/cdn/chunks/document-tab-bar-CUc4WWY3.js +973 -0
  69. package/dist/cdn/chunks/document-tab-bar.i18n-DKrA9TnB.js +9 -0
  70. package/dist/cdn/chunks/drag-handle-cell-CbzDYebG.js +206 -0
  71. package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +3 -0
  72. package/dist/cdn/chunks/dropdown-DZTZtkm5.js +350 -0
  73. package/dist/cdn/chunks/element-state-B-44fVqq.js +20 -0
  74. package/dist/cdn/chunks/file-field-Bff6_1pp.js +1484 -0
  75. package/dist/cdn/chunks/file-field.i18n-pDM7Utud.js +40 -0
  76. package/dist/cdn/chunks/floating-ui.dom-B8J1rV2c.js +753 -0
  77. package/dist/cdn/chunks/focus-target-DSLGcCWq.js +24 -0
  78. package/dist/cdn/chunks/form-actions-C_7hINq-.js +90 -0
  79. package/dist/cdn/chunks/form-associated-mixin--GIbl98p.js +62 -0
  80. package/dist/cdn/chunks/form-field--4nWJ_DK.js +364 -0
  81. package/dist/cdn/chunks/form-hXLgy_tY.js +84 -0
  82. package/dist/cdn/chunks/form-section-By-D4un0.js +64 -0
  83. package/dist/cdn/chunks/full-bleed-section-Dg4sIJG1.js +161 -0
  84. package/dist/cdn/chunks/gherkin-eseYvsxh.js +29 -0
  85. package/dist/cdn/chunks/hero-CQQMNCT_.js +761 -0
  86. package/dist/{components/icon-_Eox7ZfO.js → cdn/chunks/icon-BORlalt0.js} +298 -308
  87. package/dist/cdn/chunks/icon-button-rKiIHs7A.js +632 -0
  88. package/dist/{components/icon-button.i18n-1_N-wN6x.js → cdn/chunks/icon-button.i18n-DpZOfIS4.js} +2 -4
  89. package/dist/cdn/chunks/icon-cell-rk4NQid2.js +156 -0
  90. package/dist/cdn/chunks/identity-Cg1l0HhB.js +187 -0
  91. package/dist/cdn/chunks/if-defined-CaKKERku.js +4 -0
  92. package/dist/cdn/chunks/image-DZMW6JgL.js +659 -0
  93. package/dist/cdn/chunks/image.i18n-ONcm1h7o.js +3 -0
  94. package/dist/cdn/chunks/implicit-submission-Csbcor_E.js +27 -0
  95. package/dist/cdn/chunks/inline-dialog-WlqtPBPJ.js +259 -0
  96. package/dist/cdn/chunks/input-modality-XE0B7yCn.js +42 -0
  97. package/dist/cdn/chunks/just-in-time-education-DRcb5g7x.js +611 -0
  98. package/dist/cdn/chunks/just-in-time-education.i18n-CW_dsaxf.js +6 -0
  99. package/dist/cdn/chunks/kanban-Ca_mfqsA.js +400 -0
  100. package/dist/cdn/chunks/kanban-column-fgIMc7pw.js +375 -0
  101. package/dist/cdn/chunks/kanban.i18n-CWqc3e0B.js +11 -0
  102. package/dist/cdn/chunks/keyboard-shortcut-EknnW7Ub.js +267 -0
  103. package/dist/cdn/chunks/languages-yKikVFv_.js +8893 -0
  104. package/dist/cdn/chunks/link-FBSAJ3UC.js +229 -0
  105. package/dist/cdn/chunks/link-group-90qVfKa0.js +111 -0
  106. package/dist/cdn/chunks/link-hint-KFhgr5Ng.js +24 -0
  107. package/dist/cdn/chunks/link-rel-DvrTEfVT.js +8 -0
  108. package/dist/cdn/chunks/link.i18n-DJPobGmu.js +8 -0
  109. package/dist/cdn/chunks/list-CaWl3q0Z.js +880 -0
  110. package/dist/cdn/chunks/list-item-Cagnf6eG.js +802 -0
  111. package/dist/cdn/chunks/list-item-segment-BRzBF1y_.js +315 -0
  112. package/dist/cdn/chunks/list-item-segment.i18n-DHnrQL4V.js +8 -0
  113. package/dist/{components/list-item.i18n-89uqlBMK.js → cdn/chunks/list-item.i18n-Br6J5Ev9.js} +2 -2
  114. package/dist/cdn/chunks/list-items-Du0RCWsY.js +6 -0
  115. package/dist/{components/list.i18n-CKqbhFQ_.js → cdn/chunks/list.i18n-C40ltgdI.js} +2 -2
  116. package/dist/cdn/chunks/loading-tags-DtUr-DR7.js +3 -0
  117. package/dist/cdn/chunks/menu-BOu_pD1Q.js +719 -0
  118. package/dist/cdn/chunks/menu-bar-0NFXvq-v.js +253 -0
  119. package/dist/cdn/chunks/menu-bar-item-DGSC_ETi.js +365 -0
  120. package/dist/cdn/chunks/menu-bar.i18n-BoMu4Eoz.js +3 -0
  121. package/dist/cdn/chunks/menu-divider-CLLRgMll.js +15 -0
  122. package/dist/cdn/chunks/menu-group-BL24ChpR.js +23 -0
  123. package/dist/cdn/chunks/menu-item-CooKfrFa.js +140 -0
  124. package/dist/cdn/chunks/menu.i18n-C6uYJsG3.js +10 -0
  125. package/dist/cdn/chunks/menu.template-C6rbfI-u.js +642 -0
  126. package/dist/cdn/chunks/modal-dialog-BrUMP4Jm.js +240 -0
  127. package/dist/cdn/chunks/multi-line-text-field-D7hXhyOn.js +318 -0
  128. package/dist/cdn/chunks/navigation-split-view-B2ZQhxEb.js +621 -0
  129. package/dist/cdn/chunks/nl.generated-D6T41jG3.js +112 -0
  130. package/dist/cdn/chunks/notification-DSGP14d1.js +492 -0
  131. package/dist/cdn/chunks/notification.i18n-BKUSLN5c.js +6 -0
  132. package/dist/cdn/chunks/number-field-B8op14Y_.js +301 -0
  133. package/dist/cdn/chunks/number-field.i18n-BS0bINWY.js +7 -0
  134. package/dist/cdn/chunks/one-half-one-half-section-ZYmHYf4Q.js +213 -0
  135. package/dist/cdn/chunks/one-third-two-thirds-section-Ds10K6AS.js +213 -0
  136. package/dist/cdn/chunks/one-time-code-field-Cgy_tTS4.js +693 -0
  137. package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +20 -0
  138. package/dist/cdn/chunks/owned-attribute-x9OCTy_4.js +6 -0
  139. package/dist/cdn/chunks/owner-form-Cq8tT7ac.js +7 -0
  140. package/dist/cdn/chunks/page-CBf_Decp.js +431 -0
  141. package/dist/cdn/chunks/page-footer-CSv1dU7M.js +396 -0
  142. package/dist/cdn/chunks/page-footer.i18n-pbdr4lN3.js +3 -0
  143. package/dist/cdn/chunks/page-section-mixin-Dp6X8GKd.js +132 -0
  144. package/dist/cdn/chunks/pagination-CMUcFB53.js +485 -0
  145. package/dist/cdn/chunks/pagination.i18n-QQMx14CQ.js +9 -0
  146. package/dist/cdn/chunks/password-field-C76Vm3rm.js +368 -0
  147. package/dist/cdn/chunks/password-field.i18n-CzdBn-1b.js +8 -0
  148. package/dist/cdn/chunks/popover-C-CVVtfl.js +334 -0
  149. package/dist/cdn/chunks/popover-target-B25dxnmt.js +10 -0
  150. package/dist/cdn/chunks/popover.i18n-DmFBHUvB.js +3 -0
  151. package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +30 -0
  152. package/dist/cdn/chunks/progress-bar-BLiHaRUS.js +674 -0
  153. package/dist/cdn/chunks/progress-bar.i18n-Cr5miGTx.js +8 -0
  154. package/dist/cdn/chunks/progress-circle-CjkovRbL.js +667 -0
  155. package/dist/cdn/chunks/progress-circle.i18n-CRrXuY4V.js +8 -0
  156. package/dist/cdn/chunks/query-ChDzi9FQ.js +28 -0
  157. package/dist/cdn/chunks/radio-button-GHyO-GQB.js +338 -0
  158. package/dist/cdn/chunks/radio-button-field-C-Z6Lnd4.js +192 -0
  159. package/dist/cdn/chunks/radio-button-group-ChTqBCnQ.js +118 -0
  160. package/dist/cdn/chunks/radio-position-CXWYAjaz.js +10 -0
  161. package/dist/cdn/chunks/reflect-non-default-Bu3rpCvg.js +9 -0
  162. package/dist/cdn/chunks/render-marked-DX_5ISZE.js +37 -0
  163. package/dist/cdn/chunks/repeat-Ch_5OsXE.js +76 -0
  164. package/dist/cdn/chunks/return-focus-Xmagtk6r.js +52 -0
  165. package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +47 -0
  166. package/dist/cdn/chunks/rich-text.i18n-BlJ68YuU.js +3 -0
  167. package/dist/cdn/chunks/row-header-mixin-CgqvREoV.js +16 -0
  168. package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +7 -0
  169. package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +42 -0
  170. package/dist/cdn/chunks/search-field-BGNfERhn.js +396 -0
  171. package/dist/cdn/chunks/search-field.i18n-B_Oc7hc-.js +6 -0
  172. package/dist/cdn/chunks/segmented-control-BYAG4VRp.js +671 -0
  173. package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +12 -0
  174. package/dist/cdn/chunks/sheet-BdVCqm2H.js +340 -0
  175. package/dist/cdn/chunks/shell-C9rds_D9.js +146 -0
  176. package/dist/cdn/chunks/shell-DmJOYhyF.js +108 -0
  177. package/dist/cdn/chunks/side-by-side-split-view-C5oX4c6Z.js +166 -0
  178. package/dist/cdn/chunks/sidebar-section-DP4jnS7g.js +353 -0
  179. package/dist/cdn/chunks/sidebar-section.i18n-BuGfRMpD.js +6 -0
  180. package/dist/cdn/chunks/simple-section-qrCqXeBa.js +192 -0
  181. package/dist/cdn/chunks/skip-link-DWh4W6-J.js +161 -0
  182. package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +3 -0
  183. package/dist/cdn/chunks/slider--hODfOwh.js +772 -0
  184. package/dist/cdn/chunks/slider.i18n-DVw0c8AG.js +6 -0
  185. package/dist/cdn/chunks/slot-content-BLuPqVXw.js +13 -0
  186. package/dist/cdn/chunks/spacer-CFzq_JCh.js +237 -0
  187. package/dist/cdn/chunks/spacer-cell-DuVOgIj8.js +68 -0
  188. package/dist/cdn/chunks/spacing-scale-SufIjHeN.js +28 -0
  189. package/dist/cdn/chunks/split-button-BeXnOUTt.js +268 -0
  190. package/dist/cdn/chunks/split-button.i18n-DtClSMga.js +3 -0
  191. package/dist/cdn/chunks/split-view-divider-jzcPmnMh.js +100 -0
  192. package/dist/cdn/chunks/split-view-pane-BLsZz263.js +128 -0
  193. package/dist/cdn/chunks/stacked-split-view-CcOR8LrJ.js +157 -0
  194. package/dist/cdn/chunks/static-html-Cf4ccUIg.js +26 -0
  195. package/dist/cdn/chunks/status-bar-CINbOihq.js +284 -0
  196. package/dist/cdn/chunks/status-bar-change-CR9l0Gyk.js +3 -0
  197. package/dist/cdn/chunks/step-bar-6FvZL1Ti.js +474 -0
  198. package/dist/cdn/chunks/step-bar.i18n-DocExlD7.js +9 -0
  199. package/dist/cdn/chunks/step-cell-CejRisgS.js +287 -0
  200. package/dist/cdn/chunks/stepper-CY2rJWOJ.js +223 -0
  201. package/dist/cdn/chunks/stepper.i18n-COOAkaBl.js +7 -0
  202. package/dist/cdn/chunks/style-map-DsIw6lkq.js +29 -0
  203. package/dist/cdn/chunks/style-mod-DGMhzWuk.js +1583 -0
  204. package/dist/cdn/chunks/swatch-picker-BY3DBIl6.js +430 -0
  205. package/dist/cdn/chunks/swatch-picker.i18n-_G0nmnGe.js +22 -0
  206. package/dist/cdn/chunks/switch-DDSsZFwK.js +275 -0
  207. package/dist/cdn/chunks/switch-field-CMoM9I38.js +137 -0
  208. package/dist/cdn/chunks/tab-bar-DmslEoPD.js +697 -0
  209. package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +3 -0
  210. package/dist/cdn/chunks/table-DwXjCSD5.js +308 -0
  211. package/dist/cdn/chunks/table.i18n-Bmb_uw_w.js +3 -0
  212. package/dist/cdn/chunks/tag-DM3APy3B.js +306 -0
  213. package/dist/cdn/chunks/text-B1CatNR1.js +421 -0
  214. package/dist/cdn/chunks/text-cell-BkEsGI3g.js +299 -0
  215. package/dist/cdn/chunks/text-editor-BvTiMeNV.js +3743 -0
  216. package/dist/cdn/chunks/text-editor.i18n-sJKiRQ4i.js +17 -0
  217. package/dist/cdn/chunks/text-field-CUyh1-V8.js +398 -0
  218. package/dist/cdn/chunks/time-field-Cj5WojfO.js +597 -0
  219. package/dist/cdn/chunks/time-field.i18n-CLH5vmS7.js +11 -0
  220. package/dist/cdn/chunks/time-picker-W0xYXLy8.js +508 -0
  221. package/dist/cdn/chunks/time-picker.i18n-BilOCXlS.js +7 -0
  222. package/dist/cdn/chunks/title-BuT7tWqN.js +437 -0
  223. package/dist/cdn/chunks/title-bar-label-controller-DSxdKZOg.js +24 -0
  224. package/dist/cdn/chunks/title-cell-8d8psUBX.js +327 -0
  225. package/dist/cdn/chunks/toggle-button-DNXWXZpE.js +528 -0
  226. package/dist/cdn/chunks/toggle-button-group-ByowJYgs.js +156 -0
  227. package/dist/cdn/chunks/token-CnkEB3hB.js +266 -0
  228. package/dist/cdn/chunks/token-field-hvDB3l6O.js +664 -0
  229. package/dist/cdn/chunks/token-field.i18n-BclzoR8F.js +9 -0
  230. package/dist/cdn/chunks/token.i18n-RGD5zAtl.js +7 -0
  231. package/dist/cdn/chunks/toml-w97zZfFO.js +27 -0
  232. package/dist/cdn/chunks/toolbar-iNd1VmuG.js +408 -0
  233. package/dist/cdn/chunks/toolbar-item-DpPfPxCi.js +50 -0
  234. package/dist/cdn/chunks/toolbar-title-KBMpfL9d.js +84 -0
  235. package/dist/cdn/chunks/toolbar.i18n-QwS37CBC.js +8 -0
  236. package/dist/cdn/chunks/toolbar.styles-BQkG4gVc.js +383 -0
  237. package/dist/cdn/chunks/tooltip-BsAHJjci.js +325 -0
  238. package/dist/cdn/chunks/top-navigation-bar-D1hjWIF3.js +925 -0
  239. package/dist/cdn/chunks/top-navigation-bar.i18n-C-lcH1nB.js +10 -0
  240. package/dist/cdn/chunks/top-title-bar-iNFB2zQL.js +344 -0
  241. package/dist/cdn/chunks/translations-wxBSz213.js +8 -0
  242. package/dist/cdn/chunks/two-thirds-one-third-section-D-UANbHC.js +213 -0
  243. package/dist/cdn/chunks/validation-list-C5BhHZIG.js +202 -0
  244. package/dist/cdn/chunks/validation-list.i18n-CM6In8zD.js +12 -0
  245. package/dist/cdn/chunks/visibility-mixin-COAZ9pON.js +74 -0
  246. package/dist/cdn/chunks/visually-hidden-BPgATaH0.js +43 -0
  247. package/dist/cdn/chunks/window-t5iFkMLY.js +227 -0
  248. package/dist/cdn/chunks/window.i18n-CsEnUPAk.js +3 -0
  249. package/dist/cdn/chunks/with-translations-XX14GKFh.js +16 -0
  250. package/dist/components/actions/menu/menu-item.d.ts +6 -2
  251. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  252. package/dist/components/actions/menu/menu-item.js +12 -1
  253. package/dist/components/actions/menu/menu-item.js.map +1 -1
  254. package/dist/components/actions/menu/menu.js +1 -1
  255. package/dist/components/actions/menu/menu.js.map +1 -1
  256. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  257. package/dist/components/actions/menu/menu.template.js +2 -1
  258. package/dist/components/actions/menu/menu.template.js.map +1 -1
  259. package/dist/components/inputs/dropdown/dropdown.d.ts +22 -2
  260. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  261. package/dist/components/inputs/dropdown/dropdown.js +67 -11
  262. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  263. package/dist/components/layout/container/container.d.ts +15 -2
  264. package/dist/components/layout/container/container.d.ts.map +1 -1
  265. package/dist/components/layout/container/container.js +38 -3
  266. package/dist/components/layout/container/container.js.map +1 -1
  267. package/dist/components/layout/container/container.styles.js +1 -1
  268. package/dist/components/layout/container/container.template.js +1 -1
  269. package/dist/components/layout/container/container.template.js.map +1 -1
  270. package/dist/components/lists-and-tables/list-item/list-item.d.ts +7 -0
  271. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  272. package/dist/components/lists-and-tables/list-item/list-item.js +13 -3
  273. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  274. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -1
  275. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  276. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +19 -3
  277. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  278. package/dist/nldd.min.js +298 -298
  279. package/dist/types/react.d.ts +3323 -0
  280. package/dist/types/vue.d.ts +11 -3
  281. package/dist/utilities/autoloader.d.ts +33 -0
  282. package/dist/utilities/autoloader.d.ts.map +1 -0
  283. package/dist/utilities/autoloader.generated.d.ts +3 -0
  284. package/dist/utilities/autoloader.generated.d.ts.map +1 -0
  285. package/dist/utilities/autoloader.generated.js +141 -0
  286. package/dist/utilities/autoloader.generated.js.map +1 -0
  287. package/dist/utilities/autoloader.js +94 -0
  288. package/dist/utilities/autoloader.js.map +1 -0
  289. package/dist/utilities/dev-checks.d.ts +9 -0
  290. package/dist/utilities/dev-checks.d.ts.map +1 -1
  291. package/dist/utilities/dev-checks.js +45 -3
  292. package/dist/utilities/dev-checks.js.map +1 -1
  293. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  294. package/dist/utilities/dev-rules.generated.js +12 -2
  295. package/dist/utilities/dev-rules.generated.js.map +1 -1
  296. package/dist/utilities/loading-tags.d.ts +7 -0
  297. package/dist/utilities/loading-tags.d.ts.map +1 -0
  298. package/dist/utilities/loading-tags.js +7 -0
  299. package/dist/utilities/loading-tags.js.map +1 -0
  300. package/dist/utilities/owner-form.d.ts +3 -3
  301. package/dist/utilities/owner-form.d.ts.map +1 -1
  302. package/dist/utilities/owner-form.js +6 -3
  303. package/dist/utilities/owner-form.js.map +1 -1
  304. package/lint/data.generated.json +1 -1
  305. package/package.json +50 -11
  306. package/dist/components/breakpoints-DtL62nLI.js +0 -45
  307. package/dist/components/components.js +0 -68243
  308. package/dist/components/decorate-DD7uUxHb.js +0 -51
  309. package/dist/components/defer-focus-dzorHsCQ.js +0 -176
  310. package/dist/components/dev-checks-CLB9G43h.js +0 -2711
  311. package/dist/components/dist-245LaK9m.js +0 -1479
  312. package/dist/components/dist-BFZM0YsR.js +0 -15772
  313. package/dist/components/dist-BNkeFjc3.js +0 -1180
  314. package/dist/components/dist-CSC1dG3L.js +0 -365
  315. package/dist/components/dist-CeMOOqgP.js +0 -1509
  316. package/dist/components/dist-DFjwTlJV.js +0 -624
  317. package/dist/components/dist-DHhnz3Gv.js +0 -381
  318. package/dist/components/dist-PeUX4vPq.js +0 -2857
  319. package/dist/components/dist-m70B83qb.js +0 -463
  320. package/dist/components/element-state-BnarBv0M.js +0 -42
  321. package/dist/components/gherkin-DzYbEwDO.js +0 -107
  322. package/dist/components/icon-button-8gvQCwCW.js +0 -2305
  323. package/dist/components/input-modality-D_CY185R.js +0 -48
  324. package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
  325. package/dist/components/nl.generated-DzZkOgnP.js +0 -64
  326. package/dist/components/rolldown-runtime-D8jQpDG7.js +0 -12
  327. package/dist/components/shadow-resets-BwOyyZFH.js +0 -60
  328. package/dist/components/shell-Dh5IwHd-.js +0 -222
  329. package/dist/components/toml-D0Pix_8Q.js +0 -58
  330. package/dist/components/visibility-mixin-Dzn48SL8.js +0 -153
@@ -0,0 +1,659 @@
1
+ import "./icon-BORlalt0.js";
2
+ import { i as e, n as t, t as n } from "./custom-element-q6NzoL5b.js";
3
+ import { n as r, o as i, r as a, t as o } from "./decorate-TduJMFD_.js";
4
+ import { t as s } from "./custom-element-BW8Ua4c7.js";
5
+ import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
6
+ import { r as l } from "./element-state-B-44fVqq.js";
7
+ import { n as u, t as d } from "./shadow-resets-6SToDsPu.js";
8
+ import { t as f } from "./translations-wxBSz213.js";
9
+ import { t as p } from "./class-map-CXSdNjt8.js";
10
+ import { t as m } from "./if-defined-CaKKERku.js";
11
+ import { t as h } from "./style-map-DsIw6lkq.js";
12
+ import { t as g } from "./image.i18n-ONcm1h7o.js";
13
+ // src/components/content/image/image.styles.ts
14
+ var _ = e`
15
+ :host {
16
+ box-sizing: border-box;
17
+ }
18
+
19
+
20
+ /* # Host */
21
+
22
+ :host {
23
+ --_image-corner-radius: var(--primitives-corner-radius-none);
24
+ --_image-background-color: light-dark(var(--primitives-color-neutral-75), var(--primitives-color-neutral-50));
25
+ --_image-caption-gap: var(--primitives-space-4);
26
+ --_image-caption-color: var(--semantics-content-color);
27
+ --_image-caption-font: var(--primitives-font-body-sm-regular-tight);
28
+ --_image-credit-color: var(--semantics-content-secondary-color);
29
+ --_image-credit-font: var(--primitives-font-body-sm-regular-tight);
30
+ --_image-error-text-color: var(--semantics-content-color);
31
+ --_image-error-font: var(--primitives-font-body-sm-regular-snug);
32
+ --_image-error-padding: var(--primitives-space-8);
33
+ --_image-error-gap: var(--primitives-space-2);
34
+ --_image-caption-row-gap: var(--primitives-space-8);
35
+ --_image-pending-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-150));
36
+ --_image-empty-icon-size: var(--primitives-space-32);
37
+ --_image-empty-icon-color: light-dark(var(--primitives-color-neutral-450), var(--primitives-color-neutral-550));
38
+ --_image-object-fit: cover;
39
+ --_image-object-position: center;
40
+ --_image-max-width: 100%;
41
+ --_image-media-height: var(--context-image-height, auto);
42
+
43
+ ${d}
44
+ box-sizing: border-box;
45
+ display: block;
46
+ max-width: var(--_image-max-width);
47
+ }
48
+
49
+ :host([hidden]) {
50
+ display: none;
51
+ }
52
+
53
+
54
+ /* ## Object-fit variants
55
+ Driven by the reflected attribute so we can also style slotted img/picture
56
+ via ::slotted() with the same CSS var. */
57
+
58
+ :host([object-fit="contain"]) { --_image-object-fit: contain; }
59
+ :host([object-fit="fill"]) { --_image-object-fit: fill; }
60
+ :host([object-fit="scale-down"]) { --_image-object-fit: scale-down; }
61
+ :host([object-fit="none"]) { --_image-object-fit: none; }
62
+
63
+
64
+ /* ## Object-position variants */
65
+
66
+ :host([object-position="top"]) { --_image-object-position: top; }
67
+ :host([object-position="bottom"]) { --_image-object-position: bottom; }
68
+ :host([object-position="left"]) { --_image-object-position: left; }
69
+ :host([object-position="right"]) { --_image-object-position: right; }
70
+
71
+
72
+ /* ## Shape variants */
73
+
74
+ :host([shape="rounded"]) { --_image-corner-radius: var(--semantics-controls-md-corner-radius); }
75
+ :host([shape="circle"]) { --_image-corner-radius: 50%; }
76
+
77
+
78
+ /* # Figure
79
+ Only rendered when caption or credit is present. Acts as the layout
80
+ wrapper holding image + figcaption with a small gap. */
81
+
82
+ .image__figure {
83
+ box-sizing: border-box;
84
+ display: flex;
85
+ flex-direction: column;
86
+ margin: 0;
87
+ gap: var(--_image-caption-gap);
88
+ }
89
+
90
+
91
+ /* # Media wrapper
92
+ The box that constrains the image. aspect-ratio is set as an inline style
93
+ from the component when provided, so we don't need a CSS var. The media is
94
+ transparent by default; an LQIP paints it while loading, and the error
95
+ state paints it gray (see "Error state" below). */
96
+
97
+ .image__media {
98
+ display: block;
99
+ position: relative;
100
+ overflow: hidden;
101
+ max-width: 100%;
102
+ height: var(--_image-media-height);
103
+ border-radius: var(--_image-corner-radius);
104
+ }
105
+
106
+
107
+ /* # Image element
108
+ Both the internal img and any slotted img get the same styling so the
109
+ wrapper behaves identically in both cases. ::slotted() can't reach
110
+ descendants, so a slotted <picture> works for source switching but
111
+ consumers must put any extra styling on the inner <img> themselves —
112
+ object-fit / object-position aren't inheritable into <picture>'s child
113
+ <img>, so we don't bother targeting <picture> here. */
114
+
115
+ .image__img {
116
+ display: block;
117
+ width: 100%;
118
+ height: 100%;
119
+ max-width: 100%;
120
+ object-fit: var(--_image-object-fit);
121
+ object-position: var(--_image-object-position);
122
+ }
123
+
124
+ ::slotted(img) {
125
+ ${u}
126
+ display: block !important;
127
+ width: 100% !important;
128
+ height: 100% !important;
129
+ max-width: 100% !important;
130
+ object-fit: var(--_image-object-fit) !important;
131
+ object-position: var(--_image-object-position) !important;
132
+ }
133
+
134
+ /* An inline <svg> is a drawing rather than a file, and it arrives through the
135
+ same slot. It sizes like <picture>: width and height apply to it, object-fit
136
+ does not, so its own viewBox does the fitting. */
137
+ ::slotted(svg) {
138
+ ${u}
139
+ display: block !important;
140
+ width: 100% !important;
141
+ height: 100% !important;
142
+ max-width: 100% !important;
143
+ }
144
+
145
+ /* <picture> is a wrapper that picks the right <source>; layout properties
146
+ like width/height DO apply to it directly even though object-fit doesn't.
147
+ Size it so the slotted picture fills the media wrapper, then let the
148
+ consumer style the inner <img> for fit/position. */
149
+ ::slotted(picture) {
150
+ ${u}
151
+ display: block !important;
152
+ width: 100% !important;
153
+ height: 100% !important;
154
+ max-width: 100% !important;
155
+ }
156
+
157
+
158
+ /* # LQIP placeholder
159
+ Per-cell Oklab LQIP — extends Lean Rada's CSS-only LQIP technique
160
+ (https://leanrada.com/notes/css-only-lqip/) with one quantized
161
+ color per cell instead of grayscale-only cells. The component
162
+ parses lqip="base,c1,c2,c3,c4,c5,c6" and forwards each byte as an
163
+ inline --context-lqip-* variable (crosses the shadow boundary;
164
+ hence the --context-* prefix, not --_).
165
+ Each byte packs 2 bits L + 3 bits a + 3 bits b — the same format
166
+ Lean uses for his single base color, applied 7 times. The base
167
+ shows through cell-gradient transparent edges; the six cells carry
168
+ the per-zone hue. No blend modes are needed because every cell
169
+ already has its own real color — overlap zones blend naturally
170
+ through the smooth alpha falloff (stop10/20/30/40).
171
+ Browser support: depends on CSS mod() (Chrome 113+, Safari 15.4+,
172
+ Firefox 118+, May 2023 baseline), CSS round(down, ...) (Chrome 111+,
173
+ Safari 15.4+, Firefox 118+), oklab() (Chrome 111+, Safari 15.4+,
174
+ Firefox 113+), and the relative-color syntax rgb(from … r g b / α)
175
+ used in the gradient stops (Chrome 119+, Safari 16.4+, Firefox 128+,
176
+ mid-2024 baseline). The @supports gate probes all three of the
177
+ youngest-per-engine capabilities — without the relative-color probe,
178
+ Firefox 113-127 would pass the gate but render transparent/black
179
+ stops because rgb(from …) wouldn't parse. Older engines drop the
180
+ LQIP gradient entirely and fall through to the neutral
181
+ --_image-background-color set on .image__media. Degraded but harmless:
182
+ the placeholder is a "nice to have", not a load-bearing element. */
183
+
184
+ @supports (left: mod(1px, 1px)) and (background: oklab(0 0 0)) and (color: rgb(from red r g b)) {
185
+
186
+ .image__media--lqip {
187
+ --_image-lqip-base-ll: mod(round(down, var(--context-lqip-base) / 64), 4);
188
+ --_image-lqip-base-aaa: mod(round(down, var(--context-lqip-base) / 8), 8);
189
+ --_image-lqip-base-bbb: mod(var(--context-lqip-base), 8);
190
+ --_image-lqip-c1-ll: mod(round(down, var(--context-lqip-c1) / 64), 4);
191
+ --_image-lqip-c1-aaa: mod(round(down, var(--context-lqip-c1) / 8), 8);
192
+ --_image-lqip-c1-bbb: mod(var(--context-lqip-c1), 8);
193
+ --_image-lqip-c2-ll: mod(round(down, var(--context-lqip-c2) / 64), 4);
194
+ --_image-lqip-c2-aaa: mod(round(down, var(--context-lqip-c2) / 8), 8);
195
+ --_image-lqip-c2-bbb: mod(var(--context-lqip-c2), 8);
196
+ --_image-lqip-c3-ll: mod(round(down, var(--context-lqip-c3) / 64), 4);
197
+ --_image-lqip-c3-aaa: mod(round(down, var(--context-lqip-c3) / 8), 8);
198
+ --_image-lqip-c3-bbb: mod(var(--context-lqip-c3), 8);
199
+ --_image-lqip-c4-ll: mod(round(down, var(--context-lqip-c4) / 64), 4);
200
+ --_image-lqip-c4-aaa: mod(round(down, var(--context-lqip-c4) / 8), 8);
201
+ --_image-lqip-c4-bbb: mod(var(--context-lqip-c4), 8);
202
+ --_image-lqip-c5-ll: mod(round(down, var(--context-lqip-c5) / 64), 4);
203
+ --_image-lqip-c5-aaa: mod(round(down, var(--context-lqip-c5) / 8), 8);
204
+ --_image-lqip-c5-bbb: mod(var(--context-lqip-c5), 8);
205
+ --_image-lqip-c6-ll: mod(round(down, var(--context-lqip-c6) / 64), 4);
206
+ --_image-lqip-c6-aaa: mod(round(down, var(--context-lqip-c6) / 8), 8);
207
+ --_image-lqip-c6-bbb: mod(var(--context-lqip-c6), 8);
208
+
209
+ --_image-lqip-base-clr: oklab(
210
+ calc(var(--_image-lqip-base-ll) / 3 * 0.6 + 0.2)
211
+ calc(var(--_image-lqip-base-aaa) / 8 * 0.7 - 0.35)
212
+ calc((var(--_image-lqip-base-bbb) + 1) / 8 * 0.7 - 0.35)
213
+ );
214
+ --_image-lqip-c1-clr: oklab(
215
+ calc(var(--_image-lqip-c1-ll) / 3 * 0.6 + 0.2)
216
+ calc(var(--_image-lqip-c1-aaa) / 8 * 0.7 - 0.35)
217
+ calc((var(--_image-lqip-c1-bbb) + 1) / 8 * 0.7 - 0.35)
218
+ );
219
+ --_image-lqip-c2-clr: oklab(
220
+ calc(var(--_image-lqip-c2-ll) / 3 * 0.6 + 0.2)
221
+ calc(var(--_image-lqip-c2-aaa) / 8 * 0.7 - 0.35)
222
+ calc((var(--_image-lqip-c2-bbb) + 1) / 8 * 0.7 - 0.35)
223
+ );
224
+ --_image-lqip-c3-clr: oklab(
225
+ calc(var(--_image-lqip-c3-ll) / 3 * 0.6 + 0.2)
226
+ calc(var(--_image-lqip-c3-aaa) / 8 * 0.7 - 0.35)
227
+ calc((var(--_image-lqip-c3-bbb) + 1) / 8 * 0.7 - 0.35)
228
+ );
229
+ --_image-lqip-c4-clr: oklab(
230
+ calc(var(--_image-lqip-c4-ll) / 3 * 0.6 + 0.2)
231
+ calc(var(--_image-lqip-c4-aaa) / 8 * 0.7 - 0.35)
232
+ calc((var(--_image-lqip-c4-bbb) + 1) / 8 * 0.7 - 0.35)
233
+ );
234
+ --_image-lqip-c5-clr: oklab(
235
+ calc(var(--_image-lqip-c5-ll) / 3 * 0.6 + 0.2)
236
+ calc(var(--_image-lqip-c5-aaa) / 8 * 0.7 - 0.35)
237
+ calc((var(--_image-lqip-c5-bbb) + 1) / 8 * 0.7 - 0.35)
238
+ );
239
+ --_image-lqip-c6-clr: oklab(
240
+ calc(var(--_image-lqip-c6-ll) / 3 * 0.6 + 0.2)
241
+ calc(var(--_image-lqip-c6-aaa) / 8 * 0.7 - 0.35)
242
+ calc((var(--_image-lqip-c6-bbb) + 1) / 8 * 0.7 - 0.35)
243
+ );
244
+
245
+ --_image-lqip-stop10: 2%;
246
+ --_image-lqip-stop20: 8%;
247
+ --_image-lqip-stop30: 18%;
248
+ --_image-lqip-stop40: 32%;
249
+
250
+ background-color: transparent;
251
+ background-image:
252
+ radial-gradient(50% 75% at 16.67% 25%,
253
+ var(--_image-lqip-c1-clr),
254
+ rgb(from var(--_image-lqip-c1-clr) r g b / calc(100% - var(--_image-lqip-stop10))) 10%,
255
+ rgb(from var(--_image-lqip-c1-clr) r g b / calc(100% - var(--_image-lqip-stop20))) 20%,
256
+ rgb(from var(--_image-lqip-c1-clr) r g b / calc(100% - var(--_image-lqip-stop30))) 30%,
257
+ rgb(from var(--_image-lqip-c1-clr) r g b / calc(100% - var(--_image-lqip-stop40))) 40%,
258
+ rgb(from var(--_image-lqip-c1-clr) r g b / var(--_image-lqip-stop40)) 60%,
259
+ rgb(from var(--_image-lqip-c1-clr) r g b / var(--_image-lqip-stop30)) 70%,
260
+ rgb(from var(--_image-lqip-c1-clr) r g b / var(--_image-lqip-stop20)) 80%,
261
+ rgb(from var(--_image-lqip-c1-clr) r g b / var(--_image-lqip-stop10)) 90%,
262
+ transparent),
263
+ radial-gradient(50% 75% at 50% 25%,
264
+ var(--_image-lqip-c2-clr),
265
+ rgb(from var(--_image-lqip-c2-clr) r g b / calc(100% - var(--_image-lqip-stop10))) 10%,
266
+ rgb(from var(--_image-lqip-c2-clr) r g b / calc(100% - var(--_image-lqip-stop20))) 20%,
267
+ rgb(from var(--_image-lqip-c2-clr) r g b / calc(100% - var(--_image-lqip-stop30))) 30%,
268
+ rgb(from var(--_image-lqip-c2-clr) r g b / calc(100% - var(--_image-lqip-stop40))) 40%,
269
+ rgb(from var(--_image-lqip-c2-clr) r g b / var(--_image-lqip-stop40)) 60%,
270
+ rgb(from var(--_image-lqip-c2-clr) r g b / var(--_image-lqip-stop30)) 70%,
271
+ rgb(from var(--_image-lqip-c2-clr) r g b / var(--_image-lqip-stop20)) 80%,
272
+ rgb(from var(--_image-lqip-c2-clr) r g b / var(--_image-lqip-stop10)) 90%,
273
+ transparent),
274
+ radial-gradient(50% 75% at 83.33% 25%,
275
+ var(--_image-lqip-c3-clr),
276
+ rgb(from var(--_image-lqip-c3-clr) r g b / calc(100% - var(--_image-lqip-stop10))) 10%,
277
+ rgb(from var(--_image-lqip-c3-clr) r g b / calc(100% - var(--_image-lqip-stop20))) 20%,
278
+ rgb(from var(--_image-lqip-c3-clr) r g b / calc(100% - var(--_image-lqip-stop30))) 30%,
279
+ rgb(from var(--_image-lqip-c3-clr) r g b / calc(100% - var(--_image-lqip-stop40))) 40%,
280
+ rgb(from var(--_image-lqip-c3-clr) r g b / var(--_image-lqip-stop40)) 60%,
281
+ rgb(from var(--_image-lqip-c3-clr) r g b / var(--_image-lqip-stop30)) 70%,
282
+ rgb(from var(--_image-lqip-c3-clr) r g b / var(--_image-lqip-stop20)) 80%,
283
+ rgb(from var(--_image-lqip-c3-clr) r g b / var(--_image-lqip-stop10)) 90%,
284
+ transparent),
285
+ radial-gradient(50% 75% at 16.67% 75%,
286
+ var(--_image-lqip-c4-clr),
287
+ rgb(from var(--_image-lqip-c4-clr) r g b / calc(100% - var(--_image-lqip-stop10))) 10%,
288
+ rgb(from var(--_image-lqip-c4-clr) r g b / calc(100% - var(--_image-lqip-stop20))) 20%,
289
+ rgb(from var(--_image-lqip-c4-clr) r g b / calc(100% - var(--_image-lqip-stop30))) 30%,
290
+ rgb(from var(--_image-lqip-c4-clr) r g b / calc(100% - var(--_image-lqip-stop40))) 40%,
291
+ rgb(from var(--_image-lqip-c4-clr) r g b / var(--_image-lqip-stop40)) 60%,
292
+ rgb(from var(--_image-lqip-c4-clr) r g b / var(--_image-lqip-stop30)) 70%,
293
+ rgb(from var(--_image-lqip-c4-clr) r g b / var(--_image-lqip-stop20)) 80%,
294
+ rgb(from var(--_image-lqip-c4-clr) r g b / var(--_image-lqip-stop10)) 90%,
295
+ transparent),
296
+ radial-gradient(50% 75% at 50% 75%,
297
+ var(--_image-lqip-c5-clr),
298
+ rgb(from var(--_image-lqip-c5-clr) r g b / calc(100% - var(--_image-lqip-stop10))) 10%,
299
+ rgb(from var(--_image-lqip-c5-clr) r g b / calc(100% - var(--_image-lqip-stop20))) 20%,
300
+ rgb(from var(--_image-lqip-c5-clr) r g b / calc(100% - var(--_image-lqip-stop30))) 30%,
301
+ rgb(from var(--_image-lqip-c5-clr) r g b / calc(100% - var(--_image-lqip-stop40))) 40%,
302
+ rgb(from var(--_image-lqip-c5-clr) r g b / var(--_image-lqip-stop40)) 60%,
303
+ rgb(from var(--_image-lqip-c5-clr) r g b / var(--_image-lqip-stop30)) 70%,
304
+ rgb(from var(--_image-lqip-c5-clr) r g b / var(--_image-lqip-stop20)) 80%,
305
+ rgb(from var(--_image-lqip-c5-clr) r g b / var(--_image-lqip-stop10)) 90%,
306
+ transparent),
307
+ radial-gradient(50% 75% at 83.33% 75%,
308
+ var(--_image-lqip-c6-clr),
309
+ rgb(from var(--_image-lqip-c6-clr) r g b / calc(100% - var(--_image-lqip-stop10))) 10%,
310
+ rgb(from var(--_image-lqip-c6-clr) r g b / calc(100% - var(--_image-lqip-stop20))) 20%,
311
+ rgb(from var(--_image-lqip-c6-clr) r g b / calc(100% - var(--_image-lqip-stop30))) 30%,
312
+ rgb(from var(--_image-lqip-c6-clr) r g b / calc(100% - var(--_image-lqip-stop40))) 40%,
313
+ rgb(from var(--_image-lqip-c6-clr) r g b / var(--_image-lqip-stop40)) 60%,
314
+ rgb(from var(--_image-lqip-c6-clr) r g b / var(--_image-lqip-stop30)) 70%,
315
+ rgb(from var(--_image-lqip-c6-clr) r g b / var(--_image-lqip-stop20)) 80%,
316
+ rgb(from var(--_image-lqip-c6-clr) r g b / var(--_image-lqip-stop10)) 90%,
317
+ transparent),
318
+ linear-gradient(0deg, var(--_image-lqip-base-clr), var(--_image-lqip-base-clr));
319
+ }
320
+
321
+ } /* end @supports for LQIP gradient */
322
+
323
+ /* Fade-in transitions live OUTSIDE the @supports — they only run when the
324
+ --lqip class is present and the engine renders the gradient anyway. */
325
+
326
+ .image__media--lqip .image__img {
327
+ opacity: 0;
328
+ transition: opacity 300ms ease-out;
329
+ }
330
+
331
+ :host([loaded]) .image__media--lqip .image__img {
332
+ opacity: 1;
333
+ }
334
+
335
+
336
+ /* # Errored image
337
+ Hide the broken <img> entirely so the browser's native fallback rendering
338
+ (alt text leaking out + broken-image icon/border) doesn't show through
339
+ underneath our own error overlay. display:none also drops the element
340
+ from the accessibility tree, so its alt isn't announced alongside the
341
+ visible .image__error-text in the overlay (the overlay wrapper itself
342
+ carries no role/aria-label — the visible text serves AT users too, so a
343
+ duplicate label there would just announce the alt twice). Box dimensions
344
+ are preserved by aspect-ratio on .image__media, not by the img itself.
345
+ Listeners stay attached — only DOM removal detaches them — so the next
346
+ src change still triggers load/error. */
347
+
348
+ :host([errored]) .image__img {
349
+ display: none;
350
+ }
351
+
352
+
353
+ /* # Live region for dynamic load failures
354
+ Visually-hidden span sits inside .image__media and announces the
355
+ translated "image could not be loaded" message + alt text via
356
+ aria-live="polite" when _imageErrored flips mid-session. The element
357
+ is always rendered (so AT subscribes from first paint) but the
358
+ content only flows in on the error transition, which is what fires
359
+ the announcement. Standard visually-hidden recipe. */
360
+
361
+ .image__status {
362
+ position: absolute;
363
+ width: 1px;
364
+ height: 1px;
365
+ overflow: hidden;
366
+ clip-path: inset(50%);
367
+ white-space: nowrap;
368
+ }
369
+
370
+
371
+ /* # Empty and loading */
372
+
373
+ .image__media.is-loading {
374
+ background-color: var(--_image-pending-background-color);
375
+ }
376
+
377
+ .image__media--empty {
378
+ display: flex;
379
+ background-color: var(--_image-pending-background-color);
380
+ width: 100%;
381
+ height: 100%;
382
+ aspect-ratio: 16 / 9;
383
+ align-items: center;
384
+ justify-content: center;
385
+ }
386
+
387
+ @media (forced-colors: active) {
388
+ .image__media--empty {
389
+ outline: 1px solid CanvasText;
390
+ outline-offset: -1px;
391
+ }
392
+ }
393
+
394
+ .image__empty-icon {
395
+ display: block;
396
+ width: var(--_image-empty-icon-size);
397
+ height: var(--_image-empty-icon-size);
398
+ color: var(--_image-empty-icon-color);
399
+ }
400
+
401
+
402
+ /* # Error state
403
+ Centred icon + alt-text shown when the image fails to load. The media is
404
+ painted gray (--_image-background-color) via :host([errored]) so the icon and
405
+ label stay legible — no separate card needed. */
406
+
407
+ :host([errored]) .image__media {
408
+ background-color: var(--_image-background-color);
409
+ }
410
+
411
+ .image__error {
412
+ position: absolute;
413
+ inset: 0;
414
+ display: flex;
415
+ flex-direction: column;
416
+ align-items: center;
417
+ justify-content: center;
418
+ gap: var(--_image-error-gap);
419
+ padding: var(--_image-error-padding);
420
+ color: var(--_image-error-text-color);
421
+ font: var(--_image-error-font);
422
+ text-align: center;
423
+ }
424
+
425
+ .image__error-text {
426
+ max-width: 100%;
427
+ overflow-wrap: anywhere;
428
+ }
429
+
430
+
431
+ /* # Caption */
432
+
433
+ .image__caption {
434
+ display: flex;
435
+ flex-wrap: wrap;
436
+ gap: var(--_image-caption-row-gap);
437
+ color: var(--_image-caption-color);
438
+ font: var(--_image-caption-font);
439
+ text-wrap: pretty;
440
+ }
441
+
442
+ .image__credit {
443
+ color: var(--_image-credit-color);
444
+ font: var(--_image-credit-font);
445
+ }
446
+
447
+
448
+ /* # Reduced Motion */
449
+
450
+ @media (prefers-reduced-motion: reduce) {
451
+ .image__media--lqip .image__img {
452
+ transition: none;
453
+ }
454
+ }
455
+
456
+
457
+ /* # High Contrast */
458
+
459
+ @media (forced-colors: active) {
460
+ .image__media {
461
+ border: 1px solid CanvasText;
462
+ }
463
+ }
464
+ `;
465
+ // src/components/content/image/image.template.ts
466
+ function v(e) {
467
+ let t = e._parsedLqip, n = t !== null, r = {};
468
+ e._cssAspectRatio && (r.aspectRatio = e._cssAspectRatio), n && (r["--context-lqip-base"] = String(t.base), t.cells.forEach((e, t) => {
469
+ r[`--context-lqip-c${t + 1}`] = String(e);
470
+ }));
471
+ let o = e._isEmpty, s = p({
472
+ image__media: !0,
473
+ "image__media--empty": o,
474
+ "is-loading": !o && !n && !e._hasSlottedMedia && !e._imageLoaded && !e._imageErrored,
475
+ "image__media--lqip": n && !e._imageErrored
476
+ }), c = i`
477
+ <img class="image__img"
478
+ src=${e.src || a}
479
+ alt=${e.decorative ? "" : e.alt}
480
+ aria-hidden=${e.decorative ? "true" : a}
481
+ srcset=${e.srcset || a}
482
+ sizes=${e.sizes || a}
483
+ width=${m(e._numericWidth)}
484
+ height=${m(e.height)}
485
+ loading=${e.loading}
486
+ decoding=${e.decoding}
487
+ fetchpriority=${m(e.fetchPriority)}
488
+ @load=${e._onImageLoad}
489
+ @error=${e._onImageError}
490
+ >
491
+ `, l = e._imageErrored ? i`
492
+ <div class="image__error"
493
+ aria-hidden=${e.decorative ? "true" : a}
494
+ >
495
+ <nldd-icon
496
+ icon="broken-image"
497
+ size="32"
498
+ color="secondary-content"
499
+ ></nldd-icon>
500
+ ${e.decorative ? a : i`<span class="image__error-text">${e.alt}</span>`}
501
+ </div>
502
+ ` : a, u = e._t("components.image.error-text"), d = e._imageErrored && !e.decorative ? e.alt ? `${u}: ${e.alt}` : u : "", f = i`<span class="image__status"
503
+ aria-live="polite"
504
+ >${d}</span>`, g = i`
505
+ <div class=${s}
506
+ style=${h(r)}
507
+ aria-hidden=${o ? "true" : a}
508
+ >
509
+ <slot @slotchange=${e._onMediaSlotChange}>${o ? a : c}</slot>
510
+ ${o ? i`<span class="image__empty-icon"><nldd-icon icon="image"></nldd-icon></span>` : a}
511
+ ${l}
512
+ ${f}
513
+ </div>
514
+ `;
515
+ return e._hasCaption ? i`
516
+ <figure class="image__figure">
517
+ ${g}
518
+ <figcaption class="image__caption">
519
+ <slot
520
+ name="caption" @slotchange=${e._onCaptionSlotChange}
521
+ >${e.caption}</slot>
522
+ ${e.credit ? i`<span class="image__credit">${e.credit}</span>` : a}
523
+ </figcaption>
524
+ </figure>
525
+ ` : g;
526
+ }
527
+ // src/components/content/image/image.ts
528
+ var y;
529
+ function b(e) {
530
+ let t = e.matches("img, picture, svg") ? e : e.querySelector("img, picture, svg");
531
+ if (!t || t.getAttribute("aria-hidden") === "true") return !0;
532
+ if (t.localName === "picture") {
533
+ let e = t.querySelector("img");
534
+ return e !== null && b(e);
535
+ }
536
+ if (t.localName === "svg") {
537
+ let e = t.querySelector(":scope > title")?.textContent?.trim();
538
+ return t.getAttribute("role") === "img" && (x(t) || !!e);
539
+ }
540
+ return t.hasAttribute("alt") || x(t);
541
+ }
542
+ function x(e) {
543
+ return !!(e.getAttribute("aria-label")?.trim() || e.getAttribute("aria-labelledby")?.trim());
544
+ }
545
+ var S = (y = class extends r {
546
+ constructor(...e) {
547
+ super(...e), this.src = "", this.alt = "", this.srcset = "", this.sizes = "", this.width = "full", this.loading = "lazy", this.decoding = "async", this.aspectRatio = "", this.objectFit = "cover", this.objectPosition = "center", this.shape = "square", this.caption = "", this.credit = "", this.decorative = !1, this.lqip = "", this.translations = {}, this._parsedLqipValue = null, this._hasSlottedCaption = !1, this._imageLoaded = !1, this._imageErrored = !1, this._onMediaSlotChange = () => {
548
+ this.requestUpdate(), this._syncAlternative();
549
+ }, this._onImageLoad = () => {
550
+ this._imageLoaded = !0, this._imageErrored = !1;
551
+ }, this._onImageError = () => {
552
+ this._imageErrored = !0, this._imageLoaded = !1;
553
+ }, this._onCaptionSlotChange = (e) => {
554
+ this._syncSlottedCaption(e.target);
555
+ };
556
+ }
557
+ _t(e) {
558
+ return f(this.translations, g, e);
559
+ }
560
+ get _parsedLqip() {
561
+ if (this._parsedLqipKey === this.lqip) return this._parsedLqipValue;
562
+ if (this._parsedLqipKey = this.lqip, !this.lqip) return this._parsedLqipValue = null, null;
563
+ let e = this.lqip.split(",").map((e) => e.trim());
564
+ if (e.length !== 7) return this._parsedLqipValue = null, null;
565
+ let t = e.map((e) => {
566
+ let t = Number(e);
567
+ return Number.isInteger(t) && t >= 0 && t <= 255 ? t : NaN;
568
+ });
569
+ return this._parsedLqipValue = t.some(Number.isNaN) ? null : {
570
+ base: t[0],
571
+ cells: t.slice(1)
572
+ }, this._parsedLqipValue;
573
+ }
574
+ get _cssAspectRatio() {
575
+ return this.aspectRatio ? this.aspectRatio.replace(":", "/") : "";
576
+ }
577
+ get _numericWidth() {
578
+ if (this.width === "full") return;
579
+ let e = Number(this.width);
580
+ if (Number.isFinite(e) && e > 0) return e;
581
+ }
582
+ get _hasCaption() {
583
+ return !!this.caption || !!this.credit || this._hasSlottedCaption;
584
+ }
585
+ willUpdate(e) {
586
+ e.has("src") && (this._imageLoaded = !1, this._imageErrored = !1);
587
+ }
588
+ updated(e) {
589
+ if (e.has("width")) {
590
+ let e = this._numericWidth;
591
+ e === void 0 ? this.style.removeProperty("--_image-max-width") : this.style.setProperty("--_image-max-width", `${e}px`), l(this, "invalid-width", e === void 0 && this.width !== "full" && this.width !== null && this.width !== void 0 && String(this.width) !== "");
592
+ }
593
+ this._syncAlternative(), this.toggleAttribute("loaded", this._imageLoaded), this.toggleAttribute("errored", this._imageErrored);
594
+ }
595
+ _syncAlternative() {
596
+ if (!import.meta.env?.DEV) return;
597
+ let e = this._slottedMedia(), t = !this.decorative && (e.length > 0 ? !e.every(b) : !!(this.src || this.srcset) && !this.alt.trim());
598
+ l(this, "slotted-without-alternative", t && e.length > 0), l(this, "no-alt", t && e.length === 0);
599
+ }
600
+ _slottedMedia() {
601
+ return ((this.shadowRoot?.querySelector("slot:not([name])"))?.assignedElements() ?? []).flatMap((e) => e instanceof HTMLSlotElement ? e.assignedElements({ flatten: !0 }) : [e]);
602
+ }
603
+ get _hasSlottedMedia() {
604
+ return Array.from(this.children).some((e) => !e.hasAttribute("slot"));
605
+ }
606
+ get _isEmpty() {
607
+ return !this.src && !this.srcset && !this._parsedLqip && !this._hasSlottedMedia;
608
+ }
609
+ firstUpdated() {
610
+ let e = this.shadowRoot?.querySelector(".image__img");
611
+ e?.complete && e.naturalWidth > 0 && (this._imageLoaded = !0);
612
+ let t = this.shadowRoot?.querySelector("slot[name=\"caption\"]");
613
+ t && this._syncSlottedCaption(t);
614
+ }
615
+ _syncSlottedCaption(e) {
616
+ this._hasSlottedCaption = e.assignedNodes({ flatten: !0 }).some((e) => e.nodeType !== Node.TEXT_NODE || (e.textContent || "").trim() !== "");
617
+ }
618
+ render() {
619
+ return v(this);
620
+ }
621
+ }, y.styles = _, y);
622
+ o([t({
623
+ reflect: !0,
624
+ converter: c("")
625
+ })], S.prototype, "src", void 0), o([t({ type: String })], S.prototype, "alt", void 0), o([t({ type: String })], S.prototype, "srcset", void 0), o([t({ type: String })], S.prototype, "sizes", void 0), o([t({
626
+ reflect: !0,
627
+ converter: c("full")
628
+ })], S.prototype, "width", void 0), o([t({
629
+ type: Number,
630
+ reflect: !0
631
+ })], S.prototype, "height", void 0), o([t({ type: String })], S.prototype, "loading", void 0), o([t({ type: String })], S.prototype, "decoding", void 0), o([t({
632
+ type: String,
633
+ attribute: "fetchpriority"
634
+ })], S.prototype, "fetchPriority", void 0), o([t({
635
+ reflect: !0,
636
+ attribute: "aspect-ratio",
637
+ converter: c("")
638
+ })], S.prototype, "aspectRatio", void 0), o([t({
639
+ reflect: !0,
640
+ attribute: "object-fit",
641
+ converter: c("cover")
642
+ })], S.prototype, "objectFit", void 0), o([t({
643
+ reflect: !0,
644
+ attribute: "object-position",
645
+ converter: c("center")
646
+ })], S.prototype, "objectPosition", void 0), o([t({
647
+ reflect: !0,
648
+ converter: c("square")
649
+ })], S.prototype, "shape", void 0), o([t({
650
+ reflect: !0,
651
+ converter: c("")
652
+ })], S.prototype, "caption", void 0), o([t({
653
+ reflect: !0,
654
+ converter: c("")
655
+ })], S.prototype, "credit", void 0), o([t({
656
+ type: Boolean,
657
+ reflect: !0
658
+ })], S.prototype, "decorative", void 0), o([t({ type: String })], S.prototype, "lqip", void 0), o([t({ type: Object })], S.prototype, "translations", void 0), o([n()], S.prototype, "_hasSlottedCaption", void 0), o([n()], S.prototype, "_imageLoaded", void 0), o([n()], S.prototype, "_imageErrored", void 0), S = o([s("nldd-image")], S);
659
+ export { S as NLDDImage };
@@ -0,0 +1,3 @@
1
+ // src/components/content/image/image.i18n.ts
2
+ var e = { "components.image.error-text": "Afbeelding is niet geladen" };
3
+ export { e as t };
@@ -0,0 +1,27 @@
1
+ // src/utilities/implicit-submission.ts
2
+ var e = /* @__PURE__ */ new Set([
3
+ "text",
4
+ "search",
5
+ "url",
6
+ "tel",
7
+ "email",
8
+ "password",
9
+ "date",
10
+ "month",
11
+ "week",
12
+ "time",
13
+ "datetime-local",
14
+ "number"
15
+ ]);
16
+ function t(t) {
17
+ return t instanceof HTMLInputElement ? e.has(t.type) : t.constructor.blocksImplicitSubmission === !0;
18
+ }
19
+ function n(e) {
20
+ return e.querySelector("button:not([type]), [type=\"submit\"], [type=\"image\"]") !== null;
21
+ }
22
+ function r(e, r) {
23
+ if (r.key !== "Enter" || r.isComposing || r.defaultPrevented) return !1;
24
+ let i = e.internals.form;
25
+ return !i || !n(i) && Array.from(i.elements).filter(t).length > 1 ? !1 : (r.preventDefault(), i.requestSubmit(), !0);
26
+ }
27
+ export { r as t };