@nldd/design-system 0.20.0 → 0.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. package/custom-elements.json +361 -10
  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-GinEMPm9.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-OywRKaWj.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-vmZLo80s.js +662 -0
  44. package/dist/cdn/chunks/date-field.i18n-BTzc0E9a.js +15 -0
  45. package/dist/cdn/chunks/date-picker-CXDzSBoL.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-A2DFWrP9.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-DQ52qq5L.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-BLXecYsZ.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-BtxzRedh.js +719 -0
  118. package/dist/cdn/chunks/menu-bar-BU3Hjk1b.js +253 -0
  119. package/dist/cdn/chunks/menu-bar-item-C7LQ0NI_.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-CGbeEv_-.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-BzZWhXhc.js +57 -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-CqN7ViYV.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-CFPBdETU.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-DH19p8So.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-CA8K1XjU.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--5K0YTcr.js +607 -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-BpyxOGmU.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-C24LqAzK.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-C_kLPVKD.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-CxV6ELE9.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/content/blockquote/blockquote.d.ts +1 -0
  260. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  261. package/dist/components/content/blockquote/blockquote.js +1 -0
  262. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  263. package/dist/components/content/identity/identity.d.ts +1 -0
  264. package/dist/components/content/identity/identity.d.ts.map +1 -1
  265. package/dist/components/content/identity/identity.js +1 -0
  266. package/dist/components/content/identity/identity.js.map +1 -1
  267. package/dist/components/content/image/image.d.ts +1 -0
  268. package/dist/components/content/image/image.d.ts.map +1 -1
  269. package/dist/components/content/image/image.js +1 -0
  270. package/dist/components/content/image/image.js.map +1 -1
  271. package/dist/components/content/rich-text/rich-text.d.ts +1 -0
  272. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  273. package/dist/components/content/rich-text/rich-text.js +1 -0
  274. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  275. package/dist/components/content/text/text.d.ts +1 -0
  276. package/dist/components/content/text/text.d.ts.map +1 -1
  277. package/dist/components/content/text/text.js +1 -0
  278. package/dist/components/content/text/text.js.map +1 -1
  279. package/dist/components/content/title/title.d.ts +1 -0
  280. package/dist/components/content/title/title.d.ts.map +1 -1
  281. package/dist/components/content/title/title.js +1 -0
  282. package/dist/components/content/title/title.js.map +1 -1
  283. package/dist/components/forms/form/form.d.ts.map +1 -1
  284. package/dist/components/forms/form/form.js +1 -0
  285. package/dist/components/forms/form/form.js.map +1 -1
  286. package/dist/components/forms/form-field/form-field.d.ts +1 -0
  287. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  288. package/dist/components/forms/form-field/form-field.js +1 -0
  289. package/dist/components/forms/form-field/form-field.js.map +1 -1
  290. package/dist/components/inputs/date-field/date-field.d.ts +9 -4
  291. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  292. package/dist/components/inputs/date-field/date-field.js +20 -7
  293. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  294. package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
  295. package/dist/components/inputs/date-field/date-field.template.js +1 -0
  296. package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
  297. package/dist/components/inputs/dropdown/dropdown.d.ts +23 -2
  298. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  299. package/dist/components/inputs/dropdown/dropdown.js +68 -11
  300. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  301. package/dist/components/inputs/time-field/time-field.d.ts +4 -0
  302. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  303. package/dist/components/inputs/time-field/time-field.js +17 -2
  304. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  305. package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
  306. package/dist/components/inputs/time-field/time-field.template.js +1 -0
  307. package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
  308. package/dist/components/layout/container/container.d.ts +15 -2
  309. package/dist/components/layout/container/container.d.ts.map +1 -1
  310. package/dist/components/layout/container/container.js +38 -3
  311. package/dist/components/layout/container/container.js.map +1 -1
  312. package/dist/components/layout/container/container.styles.js +1 -1
  313. package/dist/components/layout/container/container.template.js +1 -1
  314. package/dist/components/layout/container/container.template.js.map +1 -1
  315. package/dist/components/layout/page-sections/hero/hero.d.ts +1 -0
  316. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  317. package/dist/components/layout/page-sections/hero/hero.js +1 -0
  318. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  319. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  320. package/dist/components/layout/popover/popover.js +4 -2
  321. package/dist/components/layout/popover/popover.js.map +1 -1
  322. package/dist/components/lists-and-tables/list-item/list-item.d.ts +7 -0
  323. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  324. package/dist/components/lists-and-tables/list-item/list-item.js +13 -3
  325. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  326. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -1
  327. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  328. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +19 -3
  329. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  330. package/dist/nldd.min.js +729 -727
  331. package/dist/types/react.d.ts +3323 -0
  332. package/dist/types/vue.d.ts +11 -3
  333. package/dist/utilities/autoloader.d.ts +33 -0
  334. package/dist/utilities/autoloader.d.ts.map +1 -0
  335. package/dist/utilities/autoloader.generated.d.ts +3 -0
  336. package/dist/utilities/autoloader.generated.d.ts.map +1 -0
  337. package/dist/utilities/autoloader.generated.js +141 -0
  338. package/dist/utilities/autoloader.generated.js.map +1 -0
  339. package/dist/utilities/autoloader.js +94 -0
  340. package/dist/utilities/autoloader.js.map +1 -0
  341. package/dist/utilities/dev-checks.d.ts +9 -0
  342. package/dist/utilities/dev-checks.d.ts.map +1 -1
  343. package/dist/utilities/dev-checks.js +45 -3
  344. package/dist/utilities/dev-checks.js.map +1 -1
  345. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  346. package/dist/utilities/dev-rules.generated.js +12 -2
  347. package/dist/utilities/dev-rules.generated.js.map +1 -1
  348. package/dist/utilities/loading-tags.d.ts +7 -0
  349. package/dist/utilities/loading-tags.d.ts.map +1 -0
  350. package/dist/utilities/loading-tags.js +7 -0
  351. package/dist/utilities/loading-tags.js.map +1 -0
  352. package/dist/utilities/owner-form.d.ts +3 -3
  353. package/dist/utilities/owner-form.d.ts.map +1 -1
  354. package/dist/utilities/owner-form.js +6 -3
  355. package/dist/utilities/owner-form.js.map +1 -1
  356. package/dist/utilities/return-focus.d.ts +14 -0
  357. package/dist/utilities/return-focus.d.ts.map +1 -1
  358. package/dist/utilities/return-focus.js +26 -8
  359. package/dist/utilities/return-focus.js.map +1 -1
  360. package/lint/data.generated.json +1 -1
  361. package/lint/engine.js +53 -1
  362. package/lint/format.js +6 -5
  363. package/lint/frontends.js +224 -16
  364. package/lint/linter.js +5 -3
  365. package/lint/main.js +36 -9
  366. package/lint/project.js +73 -4
  367. package/lint/rule-data.js +17 -2
  368. package/lint/tree.js +3 -0
  369. package/package.json +50 -11
  370. package/dist/components/breakpoints-DtL62nLI.js +0 -45
  371. package/dist/components/components.js +0 -68243
  372. package/dist/components/decorate-DD7uUxHb.js +0 -51
  373. package/dist/components/defer-focus-dzorHsCQ.js +0 -176
  374. package/dist/components/dev-checks-CLB9G43h.js +0 -2711
  375. package/dist/components/dist-245LaK9m.js +0 -1479
  376. package/dist/components/dist-BFZM0YsR.js +0 -15772
  377. package/dist/components/dist-BNkeFjc3.js +0 -1180
  378. package/dist/components/dist-CSC1dG3L.js +0 -365
  379. package/dist/components/dist-CeMOOqgP.js +0 -1509
  380. package/dist/components/dist-DFjwTlJV.js +0 -624
  381. package/dist/components/dist-DHhnz3Gv.js +0 -381
  382. package/dist/components/dist-PeUX4vPq.js +0 -2857
  383. package/dist/components/dist-m70B83qb.js +0 -463
  384. package/dist/components/element-state-BnarBv0M.js +0 -42
  385. package/dist/components/gherkin-DzYbEwDO.js +0 -107
  386. package/dist/components/icon-button-8gvQCwCW.js +0 -2305
  387. package/dist/components/input-modality-D_CY185R.js +0 -48
  388. package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
  389. package/dist/components/nl.generated-DzZkOgnP.js +0 -64
  390. package/dist/components/rolldown-runtime-D8jQpDG7.js +0 -12
  391. package/dist/components/shadow-resets-BwOyyZFH.js +0 -60
  392. package/dist/components/shell-Dh5IwHd-.js +0 -222
  393. package/dist/components/toml-D0Pix_8Q.js +0 -58
  394. package/dist/components/visibility-mixin-Dzn48SL8.js +0 -153
@@ -0,0 +1,667 @@
1
+ import { i as e, n as t, t as n } from "./custom-element-q6NzoL5b.js";
2
+ import { c as r, n as i, o as a, r as o, t as s } from "./decorate-TduJMFD_.js";
3
+ import { t as c } from "./custom-element-BW8Ua4c7.js";
4
+ import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
5
+ import { t as u } from "./shadow-resets-6SToDsPu.js";
6
+ import { t as d } from "./translations-wxBSz213.js";
7
+ import "./tooltip-BsAHJjci.js";
8
+ import { t as f } from "./if-defined-CaKKERku.js";
9
+ import { t as p } from "./style-map-DsIw6lkq.js";
10
+ import { t as m } from "./progress-circle.i18n-CRrXuY4V.js";
11
+ // src/components/status-and-feedback/progress-circle/progress-circle.styles.ts
12
+ var h = e`
13
+ :host {
14
+ box-sizing: border-box;
15
+ }
16
+
17
+
18
+ /* # Host */
19
+
20
+ :host {
21
+ --_progress-circle-size: var(--primitives-space-28);
22
+ /* SVG viewBox is 100×100 user units. To get a visual {N}px stroke at any
23
+ rendered size, the user-unit stroke-width must scale up by 100/size.
24
+ Per-size overrides below set the appropriate value. Stroke width
25
+ grows with circle size — must match getStrokeWidthPx() in the
26
+ template file. */
27
+ --_progress-circle-stroke-width: calc(4px * 100 / 28);
28
+ --_progress-circle-track-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-150));
29
+ --_progress-circle-track-border-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-200));
30
+ --_progress-circle-caption-gap: var(--primitives-space-8);
31
+ --_progress-circle-text-color: var(--semantics-content-color);
32
+ --_progress-circle-text-font: var(--primitives-font-body-md-regular-tight);
33
+ --_progress-circle-supporting-text-color: var(--semantics-content-secondary-color);
34
+ --_progress-circle-supporting-text-font: var(--primitives-font-body-sm-regular-tight);
35
+
36
+ ${u}
37
+ box-sizing: border-box;
38
+ display: inline-flex;
39
+ flex-direction: column;
40
+ align-items: center;
41
+ gap: var(--_progress-circle-caption-gap);
42
+ }
43
+
44
+ :host([hidden]) {
45
+ display: none;
46
+ }
47
+
48
+ :host([size="16"]) { --_progress-circle-size: var(--primitives-space-16); --_progress-circle-stroke-width: calc(3px * 100 / 16); }
49
+ :host([size="20"]) { --_progress-circle-size: var(--primitives-space-20); --_progress-circle-stroke-width: calc(4px * 100 / 20); }
50
+ :host([size="24"]) { --_progress-circle-size: var(--primitives-space-24); --_progress-circle-stroke-width: calc(4px * 100 / 24); }
51
+ :host([size="32"]) { --_progress-circle-size: var(--primitives-space-32); --_progress-circle-stroke-width: calc(5px * 100 / 32); }
52
+ :host([size="40"]) { --_progress-circle-size: var(--primitives-space-40); --_progress-circle-stroke-width: calc(5px * 100 / 40); }
53
+ :host([size="44"]) { --_progress-circle-size: var(--primitives-space-44); --_progress-circle-stroke-width: calc(6px * 100 / 44); }
54
+ :host([size="48"]) { --_progress-circle-size: var(--primitives-space-48); --_progress-circle-stroke-width: calc(6px * 100 / 48); }
55
+ :host([size="56"]) { --_progress-circle-size: var(--primitives-space-56); --_progress-circle-stroke-width: calc(7px * 100 / 56); }
56
+ :host([size="64"]) { --_progress-circle-size: var(--primitives-space-64); --_progress-circle-stroke-width: calc(7px * 100 / 64); }
57
+ :host([size="80"]) { --_progress-circle-size: var(--primitives-space-80); --_progress-circle-stroke-width: calc(8px * 100 / 80); }
58
+ :host([size="96"]) { --_progress-circle-size: var(--primitives-space-96); --_progress-circle-stroke-width: calc(8px * 100 / 96); }
59
+
60
+
61
+ /* # SVG wrapper */
62
+
63
+ .progress-circle__circle {
64
+ display: block;
65
+ position: relative;
66
+ width: var(--_progress-circle-size);
67
+ height: var(--_progress-circle-size);
68
+ }
69
+
70
+ .progress-circle__svg {
71
+ display: block;
72
+ width: 100%;
73
+ height: 100%;
74
+ /* Start segments at 12 o'clock instead of the default 3 o'clock. */
75
+ transform: rotate(-90deg);
76
+ }
77
+
78
+
79
+ /* # Track ring (background)
80
+ vector-effect: non-scaling-stroke keeps the stroke at its specified
81
+ CSS pixel width regardless of the viewBox-to-rendered-size ratio,
82
+ so a 4px stroke is always 4 actual pixels at any circle size. */
83
+
84
+ .progress-circle__track {
85
+ stroke: var(--_progress-circle-track-background-color);
86
+ stroke-width: var(--_progress-circle-stroke-width);
87
+ }
88
+
89
+
90
+ /* # Arc segments
91
+ Animate value changes smoothly via stroke-dasharray transition.
92
+ Crossfade with the indeterminate indicator uses opacity on the SVG group. */
93
+
94
+ .progress-circle__segment-indicator {
95
+ stroke-width: var(--_progress-circle-stroke-width);
96
+ opacity: 1;
97
+ transition: stroke-dasharray var(--primitives-transition-duration-slow) ease-out, stroke-dashoffset var(--primitives-transition-duration-slow) ease-out, opacity var(--primitives-transition-duration-slow) ease-out;
98
+ }
99
+
100
+ .progress-circle__segment-indicator[data-shrink] {
101
+ opacity: 0;
102
+ }
103
+
104
+ /* Progress variant: rounded caps for friendly segment ends. The JS gap
105
+ calculation compensates for the half-stroke-width extension so the
106
+ visible gap between segments stays consistent.
107
+ Distribution variant: butt caps keep the segment boundaries crisp. */
108
+
109
+ .progress-circle__segment-indicator {
110
+ stroke-linecap: round;
111
+ }
112
+
113
+ :host([variant="distribution"]) .progress-circle__segment-indicator {
114
+ stroke-linecap: butt;
115
+ }
116
+
117
+
118
+ /* ## Arc color per variant */
119
+
120
+ .progress-circle__segment-indicator--neutral { stroke: var(--semantics-categories-neutral-filled-background-color); }
121
+ .progress-circle__segment-indicator--accent { stroke: var(--components-progress-circle-accent-background-color); }
122
+ .progress-circle__segment-indicator--success { stroke: var(--semantics-categories-success-filled-background-color); }
123
+ .progress-circle__segment-indicator--warning { stroke: var(--semantics-categories-warning-filled-background-color); }
124
+ .progress-circle__segment-indicator--critical { stroke: var(--semantics-categories-critical-filled-background-color); }
125
+ .progress-circle__segment-indicator--lintblauw { stroke: var(--semantics-categories-lintblauw-filled-background-color); }
126
+ .progress-circle__segment-indicator--donkerblauw { stroke: var(--semantics-categories-donkerblauw-filled-background-color); }
127
+ .progress-circle__segment-indicator--hemelblauw { stroke: var(--semantics-categories-hemelblauw-filled-background-color); }
128
+ .progress-circle__segment-indicator--lichtblauw { stroke: var(--semantics-categories-lichtblauw-filled-background-color); }
129
+ .progress-circle__segment-indicator--paars { stroke: var(--semantics-categories-paars-filled-background-color); }
130
+ .progress-circle__segment-indicator--violet { stroke: var(--semantics-categories-violet-filled-background-color); }
131
+ .progress-circle__segment-indicator--robijnrood { stroke: var(--semantics-categories-robijnrood-filled-background-color); }
132
+ .progress-circle__segment-indicator--roze { stroke: var(--semantics-categories-roze-filled-background-color); }
133
+ .progress-circle__segment-indicator--rood { stroke: var(--semantics-categories-rood-filled-background-color); }
134
+ .progress-circle__segment-indicator--oranje { stroke: var(--semantics-categories-oranje-filled-background-color); }
135
+ .progress-circle__segment-indicator--donkergeel { stroke: var(--semantics-categories-donkergeel-filled-background-color); }
136
+ .progress-circle__segment-indicator--geel { stroke: var(--semantics-categories-geel-filled-background-color); }
137
+ .progress-circle__segment-indicator--donkerbruin { stroke: var(--semantics-categories-donkerbruin-filled-background-color); }
138
+ .progress-circle__segment-indicator--bruin { stroke: var(--semantics-categories-bruin-filled-background-color); }
139
+ .progress-circle__segment-indicator--donkergroen { stroke: var(--semantics-categories-donkergroen-filled-background-color); }
140
+ .progress-circle__segment-indicator--groen { stroke: var(--semantics-categories-groen-filled-background-color); }
141
+ .progress-circle__segment-indicator--mosgroen { stroke: var(--semantics-categories-mosgroen-filled-background-color); }
142
+ .progress-circle__segment-indicator--mintgroen { stroke: var(--semantics-categories-mintgroen-filled-background-color); }
143
+
144
+
145
+ /* ## Filter flood color
146
+
147
+ Here rather than in a style attribute, which a strict style-src drops.
148
+ The color of an arc varies per segment, so that one is set through the
149
+ CSSOM instead. */
150
+
151
+ .progress-circle__flood--track {
152
+ flood-color: var(--_progress-circle-track-border-color);
153
+ }
154
+
155
+ .progress-circle__flood--indeterminate {
156
+ flood-color: var(--_progress-circle-indeterminate-border-color);
157
+ }
158
+
159
+
160
+ /* # Spinner (indeterminate)
161
+ GitHub-style: a fixed-width arc (25 / 100 = quarter turn, 90°) that
162
+ simply rotates around the circle. Calmer than Material's elastic
163
+ grow + shrink, which at small sizes (default 28 px) reads as visually
164
+ busy. pathLength="100" on the indicator normalizes the dash pattern
165
+ to percentages of the circumference so the same numbers stay correct
166
+ at every size. transform-origin centers the rotation. */
167
+
168
+ .progress-circle__indeterminate-indicator {
169
+ stroke-width: var(--_progress-circle-stroke-width);
170
+ stroke-dasharray: 25 100;
171
+ stroke-dashoffset: 0;
172
+ stroke: var(--_progress-circle-indeterminate-background-color);
173
+ opacity: 1;
174
+ transform-origin: 50% 50%;
175
+ transition: opacity var(--primitives-transition-duration-slow) ease-out;
176
+ animation: progress-circle-indeterminate-indicator-rotate 1s linear infinite;
177
+ }
178
+
179
+ .progress-circle__indeterminate-indicator[data-fade="out"] {
180
+ opacity: 0;
181
+ }
182
+
183
+ @keyframes progress-circle-indeterminate-indicator-rotate {
184
+ 100% { transform: rotate(360deg); }
185
+ }
186
+
187
+
188
+ /* # Indeterminate fill + border color follow the color variant; default accent (blue) */
189
+
190
+ :host {
191
+ --_progress-circle-indeterminate-background-color: var(--components-progress-circle-accent-background-color);
192
+ --_progress-circle-indeterminate-border-color: var(--components-progress-circle-accent-highlight-border-color);
193
+ }
194
+
195
+ :host([color="neutral"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-neutral-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-neutral-filled-highlight-border-color); }
196
+ :host([color="success"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-success-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-success-filled-highlight-border-color); }
197
+ :host([color="warning"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-warning-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-warning-filled-highlight-border-color); }
198
+ :host([color="critical"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-critical-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-critical-filled-highlight-border-color); }
199
+ :host([color="lintblauw"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-lintblauw-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-lintblauw-filled-highlight-border-color); }
200
+ :host([color="donkerblauw"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-donkerblauw-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-donkerblauw-filled-highlight-border-color); }
201
+ :host([color="hemelblauw"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-hemelblauw-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-hemelblauw-filled-highlight-border-color); }
202
+ :host([color="lichtblauw"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-lichtblauw-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-lichtblauw-filled-highlight-border-color); }
203
+ :host([color="paars"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-paars-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-paars-filled-highlight-border-color); }
204
+ :host([color="violet"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-violet-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-violet-filled-highlight-border-color); }
205
+ :host([color="robijnrood"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-robijnrood-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-robijnrood-filled-highlight-border-color); }
206
+ :host([color="roze"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-roze-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-roze-filled-highlight-border-color); }
207
+ :host([color="rood"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-rood-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-rood-filled-highlight-border-color); }
208
+ :host([color="oranje"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-oranje-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-oranje-filled-highlight-border-color); }
209
+ :host([color="donkergeel"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-donkergeel-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-donkergeel-filled-highlight-border-color); }
210
+ :host([color="geel"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-geel-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-geel-filled-highlight-border-color); }
211
+ :host([color="donkerbruin"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-donkerbruin-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-donkerbruin-filled-highlight-border-color); }
212
+ :host([color="bruin"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-bruin-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-bruin-filled-highlight-border-color); }
213
+ :host([color="donkergroen"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-donkergroen-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-donkergroen-filled-highlight-border-color); }
214
+ :host([color="groen"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-groen-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-groen-filled-highlight-border-color); }
215
+ :host([color="mosgroen"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-mosgroen-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-mosgroen-filled-highlight-border-color); }
216
+ :host([color="mintgroen"]) { --_progress-circle-indeterminate-background-color: var(--semantics-categories-mintgroen-filled-background-color); --_progress-circle-indeterminate-border-color: var(--semantics-categories-mintgroen-filled-highlight-border-color); }
217
+
218
+
219
+ /* # Caption (label + value) */
220
+
221
+ .progress-circle__caption {
222
+ display: flex;
223
+ flex-direction: column;
224
+ align-items: center;
225
+ }
226
+
227
+ .progress-circle__text {
228
+ color: var(--_progress-circle-text-color);
229
+ font: var(--_progress-circle-text-font);
230
+ text-align: center;
231
+ text-wrap: balance;
232
+ }
233
+
234
+ .progress-circle__supporting-text {
235
+ color: var(--_progress-circle-supporting-text-color);
236
+ font: var(--_progress-circle-supporting-text-font);
237
+ text-align: center;
238
+ }
239
+
240
+
241
+ /* # Slot
242
+ Segment children are data-only; hide them visually but keep them in
243
+ the DOM so consumers can mutate values. */
244
+
245
+ slot {
246
+ display: none;
247
+ }
248
+
249
+
250
+ /* # Reduced Motion */
251
+
252
+ @media (prefers-reduced-motion: reduce) {
253
+ .progress-circle__indeterminate-indicator {
254
+ /* Static arc with the same 25 / 100 dash pattern as the full-motion
255
+ spinner — only the rotation is removed and an opacity pulse
256
+ takes its place. Keeping the dasharray identical means the
257
+ placeholder shape doesn't visibly jump when a user toggles
258
+ reduce-motion at runtime. */
259
+ animation: progress-circle-indeterminate-indicator-pulse 2s ease-in-out infinite;
260
+ }
261
+
262
+ @keyframes progress-circle-indeterminate-indicator-pulse {
263
+ 0%, 100% { opacity: 0.3; }
264
+ 50% { opacity: 0.7; }
265
+ }
266
+
267
+ .progress-circle__segment-indicator {
268
+ transition: none;
269
+ animation: none;
270
+ }
271
+ }
272
+
273
+
274
+ /* # High Contrast */
275
+
276
+ @media (forced-colors: active) {
277
+ .progress-circle__track,
278
+ .progress-circle__segment-indicator,
279
+ .progress-circle__indeterminate-indicator {
280
+ stroke: CanvasText;
281
+ }
282
+ }
283
+ `, g = e`
284
+ :host {
285
+ display: none;
286
+ }
287
+ `;
288
+ // src/components/status-and-feedback/progress-circle/progress-circle.template.ts
289
+ function _(e) {
290
+ return e <= 16 ? 3 : e <= 28 ? 4 : e <= 40 ? 5 : e <= 48 ? 6 : e <= 64 ? 7 : 8;
291
+ }
292
+ function v(e) {
293
+ return 50 - _(e) * 100 / e / 2;
294
+ }
295
+ function y(e) {
296
+ return 2 * Math.PI * v(e);
297
+ }
298
+ function b(e) {
299
+ return 100 / e;
300
+ }
301
+ function x(e, t) {
302
+ let n = e._tooltipText, i = e._ariaValueText, s = e.indeterminate ? void 0 : Math.round(e._totalValue), c = e._indeterminateExiting, l = (e.indeterminate || c) && !e._hasSegmentIndicators, u = !e.indeterminate || e._indeterminateEntering ? e._buildArcs() : [], d = Number(e.size) || 28, m = v(d), h = y(d), g = b(d).toFixed(3), _ = [...new Set(u.map((e) => e.color))], x = e._uid, S = e.text || e._t("components.progress-circle.accessible-label"), C = a`
303
+ <div class="progress-circle__circle"
304
+ role="progressbar"
305
+ aria-label=${S}
306
+ aria-valuemin="0"
307
+ aria-valuemax=${e.max}
308
+ aria-valuenow=${f(s)}
309
+ aria-valuetext=${i}
310
+ >
311
+ <svg class="progress-circle__svg"
312
+ viewBox="0 0 100 100"
313
+ aria-hidden="true"
314
+ >
315
+ <defs>
316
+ <filter
317
+ id="progress-circle-border-track-${x}"
318
+ filterUnits="userSpaceOnUse"
319
+ x="-10"
320
+ y="-10"
321
+ width="120"
322
+ height="120"
323
+ color-interpolation-filters="sRGB"
324
+ >
325
+ <feMorphology
326
+ in="SourceGraphic"
327
+ operator="erode"
328
+ radius=${g}
329
+ result="eroded"
330
+ ></feMorphology>
331
+ <feComposite
332
+ operator="out"
333
+ in="SourceGraphic"
334
+ in2="eroded"
335
+ result="edge"
336
+ ></feComposite>
337
+ <feFlood class="progress-circle__flood progress-circle__flood--track"
338
+ result="flood"
339
+ ></feFlood>
340
+ <feComposite
341
+ operator="in"
342
+ in="flood"
343
+ in2="edge"
344
+ result="colored"
345
+ ></feComposite>
346
+ <feComposite
347
+ operator="over"
348
+ in="colored"
349
+ in2="SourceGraphic"
350
+ ></feComposite>
351
+ </filter>
352
+ ${_.map((e) => r`
353
+ <filter
354
+ id="progress-circle-border-${e}-${x}"
355
+ filterUnits="userSpaceOnUse"
356
+ x="-10"
357
+ y="-10"
358
+ width="120"
359
+ height="120"
360
+ color-interpolation-filters="sRGB"
361
+ >
362
+ <feMorphology
363
+ in="SourceGraphic"
364
+ operator="erode"
365
+ radius=${g}
366
+ result="eroded"
367
+ ></feMorphology>
368
+ <feComposite
369
+ operator="out"
370
+ in="SourceGraphic"
371
+ in2="eroded"
372
+ result="edge"
373
+ ></feComposite>
374
+ <feFlood class="progress-circle__flood"
375
+ style=${p({ floodColor: e === "accent" ? "var(--components-progress-circle-accent-highlight-border-color)" : `var(--semantics-categories-${e}-filled-highlight-border-color)` })}
376
+ result="flood"
377
+ ></feFlood>
378
+ <feComposite
379
+ operator="in"
380
+ in="flood"
381
+ in2="edge"
382
+ result="colored"
383
+ ></feComposite>
384
+ <feComposite
385
+ operator="over"
386
+ in="colored"
387
+ in2="SourceGraphic"
388
+ ></feComposite>
389
+ </filter>
390
+ `)}
391
+ ${l ? r`
392
+ <filter
393
+ id="progress-circle-border-indeterminate-${x}"
394
+ filterUnits="userSpaceOnUse"
395
+ x="-10"
396
+ y="-10"
397
+ width="120"
398
+ height="120"
399
+ color-interpolation-filters="sRGB"
400
+ >
401
+ <feMorphology
402
+ in="SourceGraphic"
403
+ operator="erode"
404
+ radius=${g}
405
+ result="eroded"
406
+ ></feMorphology>
407
+ <feComposite
408
+ operator="out"
409
+ in="SourceGraphic"
410
+ in2="eroded"
411
+ result="edge"
412
+ ></feComposite>
413
+ <feFlood class="progress-circle__flood progress-circle__flood--indeterminate"
414
+ result="flood"
415
+ ></feFlood>
416
+ <feComposite
417
+ operator="in"
418
+ in="flood"
419
+ in2="edge"
420
+ result="colored"
421
+ ></feComposite>
422
+ <feComposite
423
+ operator="over"
424
+ in="colored"
425
+ in2="SourceGraphic"
426
+ ></feComposite>
427
+ </filter>
428
+ ` : o}
429
+ </defs>
430
+ <circle class="progress-circle__track"
431
+ cx="50"
432
+ cy="50"
433
+ r=${m}
434
+ fill="none"
435
+ filter="url(#progress-circle-border-track-${x})"
436
+ ></circle>
437
+ ${u.map((e) => r`
438
+ <circle class="progress-circle__segment-indicator progress-circle__segment-indicator--${e.color}"
439
+ cx="50"
440
+ cy="50"
441
+ r=${m}
442
+ fill="none"
443
+ stroke-dasharray="${e.length} ${h}"
444
+ stroke-dashoffset=${-e.offset}
445
+ filter="url(#progress-circle-border-${e.color}-${x})"
446
+ ></circle>
447
+ `)}
448
+ ${l ? r`
449
+ <circle class="progress-circle__indeterminate-indicator"
450
+ cx="50"
451
+ cy="50"
452
+ r=${m}
453
+ fill="none"
454
+ pathLength="100"
455
+ stroke-linecap="round"
456
+ filter="url(#progress-circle-border-indeterminate-${x})"
457
+ ></circle>
458
+ ` : o}
459
+ </svg>
460
+ </div>
461
+ `, w = n ? a`
462
+ <nldd-tooltip
463
+ text=${n}
464
+ placement="top"
465
+ timing="instant"
466
+ >${C}</nldd-tooltip>
467
+ ` : C;
468
+ return a`
469
+ ${w}
470
+ <slot @slotchange=${t}></slot>
471
+ ${e.text || e.valueDisplay === "inline" && e._displayValue ? a`
472
+ <div class="progress-circle__caption">
473
+ ${e.text ? a`<span class="progress-circle__text">${e.text}</span>` : o}
474
+ ${e.valueDisplay === "inline" && e._displayValue ? a`<span class="progress-circle__supporting-text">${e._displayValue}</span>` : o}
475
+ </div>
476
+ ` : o}
477
+ `;
478
+ }
479
+ // src/components/status-and-feedback/progress-circle/progress-circle.ts
480
+ var S, C, w, T = 300, E = (S = class extends i {
481
+ constructor(...e) {
482
+ super(...e), this.value = 0, this.color = "accent", this.name = "";
483
+ }
484
+ render() {
485
+ return o;
486
+ }
487
+ }, S.styles = g, S);
488
+ s([t({
489
+ type: Number,
490
+ reflect: !0
491
+ })], E.prototype, "value", void 0), s([t({
492
+ reflect: !0,
493
+ converter: l("accent")
494
+ })], E.prototype, "color", void 0), s([t({
495
+ reflect: !0,
496
+ converter: l("")
497
+ })], E.prototype, "name", void 0), E = s([c("nldd-progress-circle-segment-indicator")], E);
498
+ var D = (C = class extends i {
499
+ constructor(...e) {
500
+ super(...e), this.variant = "progress", this.max = 100, this.value = null, this.color = "accent", this.size = "28", this.text = "", this.valueFormat = "percentage", this.valueText = "", this.valueDisplay = "tooltip", this.accessibleLabel = "", this.indeterminate = !1, this.translations = {}, this._segmentIndicators = [], this._indeterminateExiting = !1, this._indeterminateEntering = !1, this._arcsAtZero = !1, this._uid = `pc-${w._idCounter++}`, this._onSlotChangeBound = this._onSlotChange.bind(this);
501
+ }
502
+ _t(e) {
503
+ return d(this.translations, m, e);
504
+ }
505
+ get _hasSegmentIndicators() {
506
+ return this._segmentIndicators.length > 0;
507
+ }
508
+ get _totalValue() {
509
+ return this._hasSegmentIndicators ? this._segmentIndicators.reduce((e, t) => e + Math.max(0, t.value), 0) : Math.max(0, this.value ?? 0);
510
+ }
511
+ get _percentage() {
512
+ return this.max <= 0 ? 0 : Math.min(100, this._totalValue / this.max * 100);
513
+ }
514
+ get _displayValue() {
515
+ return this.valueText ? this.valueText : this.indeterminate ? "" : this._formatValuePart(this._totalValue, Math.round(this._percentage));
516
+ }
517
+ get _tooltipText() {
518
+ if (this.valueDisplay !== "tooltip") return "";
519
+ if (this.indeterminate) return this._t("components.progress-circle.loading-label");
520
+ if (this.valueText) return this.valueText;
521
+ if (!this._hasSegmentIndicators) {
522
+ let e = Math.max(0, this.value ?? 0), t = this.max > 0 ? Math.round(e / this.max * 100) : 0;
523
+ return this._formatValuePart(e, t);
524
+ }
525
+ let e = this._segmentIndicators.filter((e) => e.name).length === this._segmentIndicators.length && this._segmentIndicators.length > 0, t = this._segmentIndicators.filter((e) => e.value > 0).map((e) => {
526
+ let t = this.max > 0 ? Math.round(e.value / this.max * 100) : 0, n = this._formatValuePart(e.value, t);
527
+ return e.name ? `${e.name}: ${n}` : n;
528
+ });
529
+ if (this.variant === "distribution") return t.join(", ");
530
+ let n = Math.round(this._percentage), r = this._formatValuePart(this._totalValue, n);
531
+ if (e) {
532
+ let e = this._t("components.progress-circle.total-prefix-text");
533
+ return `${t.join(", ")}. ${e} ${r}`;
534
+ }
535
+ return r;
536
+ }
537
+ get _ariaValueText() {
538
+ if (this.accessibleLabel) return this.accessibleLabel;
539
+ if (this.indeterminate) return this._t("components.progress-circle.loading-label");
540
+ let e = this._t("components.progress-circle.completed-suffix-lowercase-text"), t = this._t("components.progress-circle.total-prefix-text");
541
+ if (!this._hasSegmentIndicators) return `${Math.round(this._percentage)}% ${e}`;
542
+ let n = this._segmentIndicators.filter((e) => e.name).length === this._segmentIndicators.length && this._segmentIndicators.length > 0, r = this._segmentIndicators.filter((e) => e.value > 0).map((e) => {
543
+ let t = this.max > 0 ? Math.round(e.value / this.max * 100) : 0, n = this._formatValuePart(e.value, t);
544
+ return e.name ? `${e.name}: ${n}` : n;
545
+ });
546
+ if (this.variant === "distribution") return r.join(", ");
547
+ let i = Math.round(this._percentage);
548
+ return n ? `${r.join(", ")}. ${t} ${i}% ${e}.` : `${i}% ${e}`;
549
+ }
550
+ _formatValuePart(e, t) {
551
+ switch (this.valueFormat) {
552
+ case "absolute": return `${e}`;
553
+ case "fraction": return `${e} / ${this.max}`;
554
+ default: return `${t}%`;
555
+ }
556
+ }
557
+ willUpdate(e) {
558
+ if (e.has("indeterminate")) {
559
+ let t = e.get("indeterminate");
560
+ t === !0 && !this.indeterminate ? this._beginIndeterminateExit() : t === !1 && this.indeterminate && this._beginIndeterminateEnter();
561
+ }
562
+ }
563
+ disconnectedCallback() {
564
+ super.disconnectedCallback(), this._cancelIndeterminateExit(), this._cancelIndeterminateEnter(), this._attributeObserver?.disconnect();
565
+ }
566
+ _beginIndeterminateExit() {
567
+ this._cancelIndeterminateEnter(), this._indeterminateExiting = !0, this._arcsAtZero = !0, this.updateComplete.then(() => {
568
+ this._growRafId = requestAnimationFrame(() => {
569
+ this._growRafId = void 0, this._arcsAtZero = !1;
570
+ });
571
+ }), this._exitTimeout = setTimeout(() => {
572
+ this._indeterminateExiting = !1, this._exitTimeout = void 0;
573
+ }, 300);
574
+ }
575
+ _beginIndeterminateEnter() {
576
+ this._cancelIndeterminateExit(), this._indeterminateEntering = !0, this._enterTimeout = setTimeout(() => {
577
+ this._indeterminateEntering = !1, this._enterTimeout = void 0;
578
+ }, 300);
579
+ }
580
+ _cancelIndeterminateExit() {
581
+ this._exitTimeout && (clearTimeout(this._exitTimeout), this._exitTimeout = void 0), this._growRafId !== void 0 && (cancelAnimationFrame(this._growRafId), this._growRafId = void 0), this._indeterminateExiting = !1, this._arcsAtZero = !1;
582
+ }
583
+ _cancelIndeterminateEnter() {
584
+ this._enterTimeout && (clearTimeout(this._enterTimeout), this._enterTimeout = void 0), this._indeterminateEntering = !1;
585
+ }
586
+ _onSlotChange() {
587
+ let e = (this.shadowRoot?.querySelector("slot:not([name])"))?.assignedElements({ flatten: !0 }) ?? [];
588
+ this._segmentIndicators = e.filter((e) => e instanceof E), this._attributeObserver?.disconnect(), this._attributeObserver = new MutationObserver(() => this.requestUpdate());
589
+ for (let e of this._segmentIndicators) this._attributeObserver.observe(e, {
590
+ attributes: !0,
591
+ attributeFilter: [
592
+ "value",
593
+ "color",
594
+ "name"
595
+ ]
596
+ });
597
+ }
598
+ _buildArcs() {
599
+ let e = [], t = this._hasSegmentIndicators ? this._segmentIndicators.map((e) => ({
600
+ value: Math.max(0, e.value),
601
+ color: e.color
602
+ })) : this.value === null ? [] : [{
603
+ value: Math.max(0, this.value),
604
+ color: this.color
605
+ }], n = Number(this.size) || 28, r = _(n), i = t.length > 1 || this.variant === "distribution", a = this.variant !== "distribution", o = ((i ? a ? 1 : 2 : 0) + (a && i ? r : 0)) * (100 / n), s = y(n), c = this._totalValue, l = c > this.max ? c : this.max, u = 0;
606
+ for (let n of t) {
607
+ let t = (l > 0 ? n.value / l : 0) * s, r = this._arcsAtZero || n.value <= 0 ? 0 : Math.max(0, t - o);
608
+ e.push({
609
+ length: r,
610
+ offset: u,
611
+ color: n.color
612
+ }), u += t;
613
+ }
614
+ return e;
615
+ }
616
+ render() {
617
+ return x(this, this._onSlotChangeBound);
618
+ }
619
+ updated(e) {
620
+ (e.has("_indeterminateEntering") || e.has("_indeterminateExiting")) && this._syncDynamicAttributes();
621
+ }
622
+ _syncDynamicAttributes() {
623
+ let e = this.shadowRoot?.querySelectorAll(".progress-circle__segment-indicator");
624
+ if (e) for (let t of e) this._indeterminateEntering ? t.setAttribute("data-shrink", "") : t.removeAttribute("data-shrink");
625
+ let t = this.shadowRoot?.querySelector(".progress-circle__indeterminate-indicator");
626
+ t && (this._indeterminateExiting && !this.indeterminate ? t.setAttribute("data-fade", "out") : t.removeAttribute("data-fade"));
627
+ }
628
+ }, w = C, C.styles = h, C._idCounter = 0, C);
629
+ s([t({
630
+ reflect: !0,
631
+ converter: l("progress")
632
+ })], D.prototype, "variant", void 0), s([t({
633
+ reflect: !0,
634
+ converter: l(100)
635
+ })], D.prototype, "max", void 0), s([t({
636
+ type: Number,
637
+ reflect: !0
638
+ })], D.prototype, "value", void 0), s([t({
639
+ reflect: !0,
640
+ converter: l("accent")
641
+ })], D.prototype, "color", void 0), s([t({
642
+ reflect: !0,
643
+ converter: l("28")
644
+ })], D.prototype, "size", void 0), s([t({
645
+ reflect: !0,
646
+ converter: l("")
647
+ })], D.prototype, "text", void 0), s([t({
648
+ reflect: !0,
649
+ attribute: "value-format",
650
+ converter: l("percentage")
651
+ })], D.prototype, "valueFormat", void 0), s([t({
652
+ reflect: !0,
653
+ attribute: "value-text",
654
+ converter: l("")
655
+ })], D.prototype, "valueText", void 0), s([t({
656
+ reflect: !0,
657
+ attribute: "value-display",
658
+ converter: l("tooltip")
659
+ })], D.prototype, "valueDisplay", void 0), s([t({
660
+ reflect: !0,
661
+ attribute: "accessible-label",
662
+ converter: l("")
663
+ })], D.prototype, "accessibleLabel", void 0), s([t({
664
+ type: Boolean,
665
+ reflect: !0
666
+ })], D.prototype, "indeterminate", void 0), s([t({ type: Object })], D.prototype, "translations", void 0), s([n()], D.prototype, "_segmentIndicators", void 0), s([n()], D.prototype, "_indeterminateExiting", void 0), s([n()], D.prototype, "_indeterminateEntering", void 0), s([n()], D.prototype, "_arcsAtZero", void 0), D = w = s([c("nldd-progress-circle")], D);
667
+ export { T as INDETERMINATE_TRANSITION_MS, D as NLDDProgressCircle, E as NLDDProgressCircleSegmentIndicator };
@@ -0,0 +1,8 @@
1
+ // src/components/status-and-feedback/progress-circle/progress-circle.i18n.ts
2
+ var e = {
3
+ "components.progress-circle.completed-suffix-lowercase-text": "voltooid",
4
+ "components.progress-circle.total-prefix-text": "Totaal",
5
+ "components.progress-circle.loading-label": "Aan het laden",
6
+ "components.progress-circle.accessible-label": "Voortgang"
7
+ };
8
+ export { e as t };