@nldd/design-system 0.19.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 (576) hide show
  1. package/custom-elements.json +521 -57
  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-CrBk3W-t.js → cdn/chunks/icon-BORlalt0.js} +298 -309
  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/button/button.d.ts +5 -5
  251. package/dist/components/actions/button/button.d.ts.map +1 -1
  252. package/dist/components/actions/button/button.js +6 -6
  253. package/dist/components/actions/button/button.js.map +1 -1
  254. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  255. package/dist/components/actions/button/button.template.js +6 -8
  256. package/dist/components/actions/button/button.template.js.map +1 -1
  257. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  258. package/dist/components/actions/button-bar/button-bar.js +15 -4
  259. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  260. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  261. package/dist/components/actions/button-group/button-group.js +7 -1
  262. package/dist/components/actions/button-group/button-group.js.map +1 -1
  263. package/dist/components/actions/button-group/button-group.styles.js +2 -2
  264. package/dist/components/actions/icon-button/icon-button.d.ts +3 -3
  265. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  266. package/dist/components/actions/icon-button/icon-button.js +4 -4
  267. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  268. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  269. package/dist/components/actions/icon-button/icon-button.template.js +2 -4
  270. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  271. package/dist/components/actions/menu/menu-item.d.ts +12 -3
  272. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  273. package/dist/components/actions/menu/menu-item.js +27 -6
  274. package/dist/components/actions/menu/menu-item.js.map +1 -1
  275. package/dist/components/actions/menu/menu.d.ts +31 -8
  276. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  277. package/dist/components/actions/menu/menu.js +108 -32
  278. package/dist/components/actions/menu/menu.js.map +1 -1
  279. package/dist/components/actions/menu/menu.pointer.d.ts +7 -0
  280. package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -1
  281. package/dist/components/actions/menu/menu.pointer.js +17 -0
  282. package/dist/components/actions/menu/menu.pointer.js.map +1 -1
  283. package/dist/components/actions/menu/menu.safe-triangle.d.ts +6 -5
  284. package/dist/components/actions/menu/menu.safe-triangle.d.ts.map +1 -1
  285. package/dist/components/actions/menu/menu.safe-triangle.js +3 -3
  286. package/dist/components/actions/menu/menu.safe-triangle.js.map +1 -1
  287. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  288. package/dist/components/actions/menu/menu.styles.js +6 -0
  289. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  290. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  291. package/dist/components/actions/menu/menu.template.js +17 -9
  292. package/dist/components/actions/menu/menu.template.js.map +1 -1
  293. package/dist/components/actions/toolbar/toolbar-title.js +2 -2
  294. package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
  295. package/dist/components/content/avatar/avatar.js +1 -1
  296. package/dist/components/content/avatar/avatar.js.map +1 -1
  297. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  298. package/dist/components/content/avatar-group/avatar-group.js +2 -1
  299. package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
  300. package/dist/components/content/image/image.js +1 -1
  301. package/dist/components/content/image/image.js.map +1 -1
  302. package/dist/components/content/tag/tag.d.ts +3 -3
  303. package/dist/components/content/tag/tag.js +3 -3
  304. package/dist/components/content/tag/tag.template.js +3 -3
  305. package/dist/components/content/tag/tag.template.js.map +1 -1
  306. package/dist/components/content/title/title.js +1 -1
  307. package/dist/components/content/title/title.js.map +1 -1
  308. package/dist/components/content/token/token.d.ts +6 -4
  309. package/dist/components/content/token/token.d.ts.map +1 -1
  310. package/dist/components/content/token/token.js +6 -4
  311. package/dist/components/content/token/token.js.map +1 -1
  312. package/dist/components/content/token/token.template.js +1 -1
  313. package/dist/components/content/token/token.template.js.map +1 -1
  314. package/dist/components/inputs/dropdown/dropdown.d.ts +22 -2
  315. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  316. package/dist/components/inputs/dropdown/dropdown.js +67 -11
  317. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  318. package/dist/components/inputs/file-field/file-field.js +1 -1
  319. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  320. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  321. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -2
  322. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  323. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +2 -2
  324. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
  325. package/dist/components/inputs/segmented-control/segmented-control.d.ts +2 -2
  326. package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
  327. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  328. package/dist/components/inputs/segmented-control/segmented-control.template.js +2 -2
  329. package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
  330. package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
  331. package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
  332. package/dist/components/inputs/time-picker/time-picker.js +1 -1
  333. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  334. package/dist/components/inputs/toggle-button/toggle-button.d.ts +2 -2
  335. package/dist/components/inputs/toggle-button/toggle-button.js +3 -3
  336. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  337. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  338. package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -10
  339. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  340. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +1 -1
  341. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  342. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +3 -3
  343. package/dist/components/layout/card/card.js +1 -1
  344. package/dist/components/layout/card/card.js.map +1 -1
  345. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  346. package/dist/components/layout/card/card.styles.js +3 -1
  347. package/dist/components/layout/card/card.styles.js.map +1 -1
  348. package/dist/components/layout/container/container.d.ts +15 -2
  349. package/dist/components/layout/container/container.d.ts.map +1 -1
  350. package/dist/components/layout/container/container.js +38 -3
  351. package/dist/components/layout/container/container.js.map +1 -1
  352. package/dist/components/layout/container/container.styles.js +1 -1
  353. package/dist/components/layout/container/container.template.js +1 -1
  354. package/dist/components/layout/container/container.template.js.map +1 -1
  355. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  356. package/dist/components/layout/kanban/kanban.js +2 -1
  357. package/dist/components/layout/kanban/kanban.js.map +1 -1
  358. package/dist/components/layout/page/page.d.ts.map +1 -1
  359. package/dist/components/layout/page/page.js +3 -2
  360. package/dist/components/layout/page/page.js.map +1 -1
  361. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  362. package/dist/components/layout/page/page.styles.js +3 -2
  363. package/dist/components/layout/page/page.styles.js.map +1 -1
  364. package/dist/components/layout/page-footer/page-footer.d.ts +5 -2
  365. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  366. package/dist/components/layout/page-footer/page-footer.js +5 -2
  367. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  368. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  369. package/dist/components/layout/page-footer/page-footer.template.js +2 -4
  370. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  371. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
  372. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  373. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +2 -2
  374. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  375. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  376. package/dist/components/layout/page-sections/hero/hero.js +2 -2
  377. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  378. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
  379. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  380. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +2 -2
  381. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  382. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
  383. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  384. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +2 -2
  385. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  386. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +1 -1
  387. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  388. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +4 -4
  389. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  390. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
  391. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  392. package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -2
  393. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  394. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
  395. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  396. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +2 -2
  397. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  398. package/dist/components/layout/popover/popover.d.ts +1 -2
  399. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  400. package/dist/components/layout/popover/popover.js +10 -12
  401. package/dist/components/layout/popover/popover.js.map +1 -1
  402. package/dist/components/layout/sheet/sheet.d.ts +1 -0
  403. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  404. package/dist/components/layout/sheet/sheet.js +6 -1
  405. package/dist/components/layout/sheet/sheet.js.map +1 -1
  406. package/dist/components/layout/spacer/spacer.js +1 -1
  407. package/dist/components/layout/spacer/spacer.js.map +1 -1
  408. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  409. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +2 -1
  410. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  411. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  412. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -2
  413. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  414. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  415. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -1
  416. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  417. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  418. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +3 -2
  419. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  420. package/dist/components/layout/window/window.d.ts +1 -0
  421. package/dist/components/layout/window/window.d.ts.map +1 -1
  422. package/dist/components/layout/window/window.js +7 -1
  423. package/dist/components/layout/window/window.js.map +1 -1
  424. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +5 -2
  425. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  426. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -4
  427. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  428. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +3 -3
  429. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
  430. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  431. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
  432. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
  433. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  434. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -2
  435. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
  436. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +2 -2
  437. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  438. package/dist/components/lists-and-tables/list/list.js +4 -1
  439. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  440. package/dist/components/lists-and-tables/list-item/list-item.d.ts +19 -9
  441. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  442. package/dist/components/lists-and-tables/list-item/list-item.js +30 -14
  443. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  444. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  445. package/dist/components/lists-and-tables/list-item/list-item.styles.js +20 -0
  446. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  447. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -1
  448. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  449. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +19 -3
  450. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  451. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  452. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +6 -0
  453. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  454. package/dist/components/lists-and-tables/table/table.js +5 -5
  455. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  456. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -2
  457. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  458. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +5 -2
  459. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  460. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
  461. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +2 -4
  462. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
  463. package/dist/components/navigation/link/link.d.ts +7 -4
  464. package/dist/components/navigation/link/link.d.ts.map +1 -1
  465. package/dist/components/navigation/link/link.js +7 -4
  466. package/dist/components/navigation/link/link.js.map +1 -1
  467. package/dist/components/navigation/link/link.template.js +5 -5
  468. package/dist/components/navigation/link/link.template.js.map +1 -1
  469. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -1
  470. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  471. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  472. package/dist/components/navigation/pagination/pagination.js +3 -2
  473. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  474. package/dist/components/navigation/tab-bar/tab-bar.d.ts +18 -2
  475. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  476. package/dist/components/navigation/tab-bar/tab-bar.js +51 -3
  477. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  478. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  479. package/dist/components/navigation/tab-bar/tab-bar.template.js +5 -3
  480. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  481. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
  482. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  483. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts +4 -0
  484. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts.map +1 -1
  485. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +26 -2
  486. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -1
  487. package/dist/components/status-and-feedback/banner/banner.js +1 -1
  488. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  489. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -2
  490. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  491. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +1 -1
  492. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  493. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
  494. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  495. package/dist/components/status-and-feedback/notification/notification.js +2 -2
  496. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  497. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +4 -4
  498. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  499. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +4 -4
  500. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  501. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +5 -2
  502. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  503. package/dist/components/status-and-feedback/step-bar/step-bar.js +6 -3
  504. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  505. package/dist/components/status-and-feedback/step-bar/step-bar.template.js +1 -1
  506. package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
  507. package/dist/css/variables.css +6 -0
  508. package/dist/nldd.min.js +784 -728
  509. package/dist/types/react.d.ts +3323 -0
  510. package/dist/types/vue.d.ts +26 -14
  511. package/dist/utilities/autoloader.d.ts +33 -0
  512. package/dist/utilities/autoloader.d.ts.map +1 -0
  513. package/dist/utilities/autoloader.generated.d.ts +3 -0
  514. package/dist/utilities/autoloader.generated.d.ts.map +1 -0
  515. package/dist/utilities/autoloader.generated.js +141 -0
  516. package/dist/utilities/autoloader.generated.js.map +1 -0
  517. package/dist/utilities/autoloader.js +94 -0
  518. package/dist/utilities/autoloader.js.map +1 -0
  519. package/dist/utilities/dev-checks.d.ts +9 -0
  520. package/dist/utilities/dev-checks.d.ts.map +1 -1
  521. package/dist/utilities/dev-checks.js +45 -3
  522. package/dist/utilities/dev-checks.js.map +1 -1
  523. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  524. package/dist/utilities/dev-rules.generated.js +17 -2
  525. package/dist/utilities/dev-rules.generated.js.map +1 -1
  526. package/dist/utilities/input-modality.d.ts.map +1 -1
  527. package/dist/utilities/input-modality.js +4 -2
  528. package/dist/utilities/input-modality.js.map +1 -1
  529. package/dist/utilities/loading-tags.d.ts +7 -0
  530. package/dist/utilities/loading-tags.d.ts.map +1 -0
  531. package/dist/utilities/loading-tags.js +7 -0
  532. package/dist/utilities/loading-tags.js.map +1 -0
  533. package/dist/utilities/owner-form.d.ts +3 -3
  534. package/dist/utilities/owner-form.d.ts.map +1 -1
  535. package/dist/utilities/owner-form.js +6 -3
  536. package/dist/utilities/owner-form.js.map +1 -1
  537. package/dist/utilities/page-section-mixin.d.ts +10 -4
  538. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  539. package/dist/utilities/page-section-mixin.js +29 -23
  540. package/dist/utilities/page-section-mixin.js.map +1 -1
  541. package/dist/utilities/return-focus.d.ts +44 -0
  542. package/dist/utilities/return-focus.d.ts.map +1 -0
  543. package/dist/utilities/return-focus.js +99 -0
  544. package/dist/utilities/return-focus.js.map +1 -0
  545. package/dist/utilities/slot-content.d.ts +30 -0
  546. package/dist/utilities/slot-content.d.ts.map +1 -0
  547. package/dist/utilities/slot-content.js +38 -0
  548. package/dist/utilities/slot-content.js.map +1 -0
  549. package/lint/data.generated.json +1 -1
  550. package/package.json +50 -11
  551. package/dist/components/breakpoints-DtL62nLI.js +0 -45
  552. package/dist/components/components.js +0 -67895
  553. package/dist/components/decorate-C7khEuc7.js +0 -16
  554. package/dist/components/defer-focus-BQ3c4mzj.js +0 -176
  555. package/dist/components/dev-checks-lQ-gHUjV.js +0 -2706
  556. package/dist/components/dist-245LaK9m.js +0 -1479
  557. package/dist/components/dist-BFZM0YsR.js +0 -15772
  558. package/dist/components/dist-BNkeFjc3.js +0 -1180
  559. package/dist/components/dist-CSC1dG3L.js +0 -365
  560. package/dist/components/dist-CeMOOqgP.js +0 -1509
  561. package/dist/components/dist-DFjwTlJV.js +0 -624
  562. package/dist/components/dist-DHhnz3Gv.js +0 -381
  563. package/dist/components/dist-PeUX4vPq.js +0 -2857
  564. package/dist/components/dist-m70B83qb.js +0 -463
  565. package/dist/components/element-state-BnarBv0M.js +0 -42
  566. package/dist/components/gherkin-DzYbEwDO.js +0 -107
  567. package/dist/components/icon-button-CfpnGzYQ.js +0 -2308
  568. package/dist/components/input-modality-CiPLYYMN.js +0 -42
  569. package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
  570. package/dist/components/nl.generated-DzZkOgnP.js +0 -64
  571. package/dist/components/reflect-non-default-B9wQcnne.js +0 -36
  572. package/dist/components/rolldown-runtime-D8jQpDG7.js +0 -12
  573. package/dist/components/shadow-resets-BwOyyZFH.js +0 -60
  574. package/dist/components/shell-Dh5IwHd-.js +0 -222
  575. package/dist/components/toml-D0Pix_8Q.js +0 -58
  576. package/dist/components/visibility-mixin-BMtETgjk.js +0 -153
@@ -0,0 +1,674 @@
1
+ import { i as e, n as t, t as n } from "./custom-element-q6NzoL5b.js";
2
+ import { n as r, o as i, r as a, t as o } from "./decorate-TduJMFD_.js";
3
+ import { t as s } from "./custom-element-BW8Ua4c7.js";
4
+ import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
5
+ import { r as l } from "./element-state-B-44fVqq.js";
6
+ import { t as u } from "./shadow-resets-6SToDsPu.js";
7
+ import { t as d } from "./translations-wxBSz213.js";
8
+ import { t as f } from "./class-map-CXSdNjt8.js";
9
+ import "./tooltip-BsAHJjci.js";
10
+ import { t as p } from "./if-defined-CaKKERku.js";
11
+ import { t as m } from "./progress-bar.i18n-Cr5miGTx.js";
12
+ // src/components/status-and-feedback/progress-bar/progress-bar.styles.ts
13
+ var h = e`
14
+ :host {
15
+ box-sizing: border-box;
16
+ }
17
+
18
+
19
+ /* # Host */
20
+
21
+ :host {
22
+ --_progress-bar-height: var(--primitives-space-8);
23
+ --_progress-bar-track-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-150));
24
+ --_progress-bar-track-border-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-200));
25
+ --_progress-bar-track-border-width: var(--primitives-border-width-thin);
26
+ --_progress-bar-corner-radius: var(--primitives-corner-radius-full);
27
+ --_progress-bar-segment-indicator-gap: var(--primitives-space-1);
28
+ --_progress-bar-caption-gap: var(--primitives-space-6);
29
+ --_progress-bar-text-color: var(--semantics-content-color);
30
+ --_progress-bar-supporting-text-color: var(--semantics-content-secondary-color);
31
+ --_progress-bar-text-font: var(--primitives-font-body-md-regular-tight);
32
+ --_progress-bar-supporting-text-font: var(--primitives-font-body-md-regular-tight);
33
+ --_progress-bar-indeterminate-background-color: var(--components-progress-bar-accent-background-color);
34
+ --_progress-bar-indeterminate-border-color: var(--components-progress-bar-accent-highlight-border-color);
35
+ --_progress-bar-indeterminate-border-width: var(--primitives-border-width-thin);
36
+ --_progress-bar-indeterminate-bar-width: 20%;
37
+ --_progress-bar-indeterminate-duration: 800ms;
38
+
39
+ ${u}
40
+ box-sizing: border-box;
41
+ display: flex;
42
+ width: 100%;
43
+ flex-direction: column;
44
+ gap: var(--_progress-bar-caption-gap);
45
+ }
46
+
47
+ :host([hidden]) {
48
+ display: none;
49
+ }
50
+
51
+ :host([size="sm"]) { --_progress-bar-height: var(--primitives-space-4); }
52
+ :host([size="lg"]) { --_progress-bar-height: var(--primitives-space-16); }
53
+
54
+ :host([variant="distribution"]) {
55
+ --_progress-bar-segment-indicator-gap: var(--primitives-space-2);
56
+ --_progress-bar-corner-radius: var(--primitives-corner-radius-xxs);
57
+ }
58
+
59
+
60
+ /* ## Indeterminate fill + border color follow the variant; default is accent (blue) */
61
+
62
+ :host([color="neutral"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-neutral-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-neutral-filled-highlight-border-color); }
63
+ :host([color="success"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-success-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-success-filled-highlight-border-color); }
64
+ :host([color="warning"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-warning-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-warning-filled-highlight-border-color); }
65
+ :host([color="critical"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-critical-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-critical-filled-highlight-border-color); }
66
+ :host([color="lintblauw"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-lintblauw-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-lintblauw-filled-highlight-border-color); }
67
+ :host([color="donkerblauw"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-donkerblauw-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-donkerblauw-filled-highlight-border-color); }
68
+ :host([color="hemelblauw"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-hemelblauw-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-hemelblauw-filled-highlight-border-color); }
69
+ :host([color="lichtblauw"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-lichtblauw-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-lichtblauw-filled-highlight-border-color); }
70
+ :host([color="paars"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-paars-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-paars-filled-highlight-border-color); }
71
+ :host([color="violet"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-violet-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-violet-filled-highlight-border-color); }
72
+ :host([color="robijnrood"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-robijnrood-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-robijnrood-filled-highlight-border-color); }
73
+ :host([color="roze"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-roze-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-roze-filled-highlight-border-color); }
74
+ :host([color="rood"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-rood-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-rood-filled-highlight-border-color); }
75
+ :host([color="oranje"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-oranje-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-oranje-filled-highlight-border-color); }
76
+ :host([color="donkergeel"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-donkergeel-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-donkergeel-filled-highlight-border-color); }
77
+ :host([color="geel"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-geel-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-geel-filled-highlight-border-color); }
78
+ :host([color="donkerbruin"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-donkerbruin-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-donkerbruin-filled-highlight-border-color); }
79
+ :host([color="bruin"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-bruin-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-bruin-filled-highlight-border-color); }
80
+ :host([color="donkergroen"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-donkergroen-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-donkergroen-filled-highlight-border-color); }
81
+ :host([color="groen"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-groen-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-groen-filled-highlight-border-color); }
82
+ :host([color="mosgroen"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-mosgroen-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-mosgroen-filled-highlight-border-color); }
83
+ :host([color="mintgroen"]) { --_progress-bar-indeterminate-background-color: var(--semantics-categories-mintgroen-filled-background-color); --_progress-bar-indeterminate-border-color: var(--semantics-categories-mintgroen-filled-highlight-border-color); }
84
+
85
+
86
+ /* # Caption */
87
+
88
+ .progress-bar__caption {
89
+ display: flex;
90
+ gap: var(--_progress-bar-caption-gap);
91
+ justify-content: space-between;
92
+ align-items: baseline;
93
+ color: var(--_progress-bar-text-color);
94
+ }
95
+
96
+ .progress-bar__text {
97
+ font: var(--_progress-bar-text-font);
98
+ text-wrap: pretty;
99
+ }
100
+
101
+ .progress-bar__supporting-text {
102
+ color: var(--_progress-bar-supporting-text-color);
103
+ font: var(--_progress-bar-supporting-text-font);
104
+ font-variant-numeric: tabular-nums;
105
+ text-align: right;
106
+ }
107
+
108
+
109
+ /* # Track */
110
+
111
+ .progress-bar__track {
112
+ box-sizing: border-box;
113
+ display: flex;
114
+ position: relative;
115
+ border-radius: var(--_progress-bar-corner-radius);
116
+ box-shadow: inset 0 0 0 var(--_progress-bar-track-border-width) var(--_progress-bar-track-border-color);
117
+ background-color: var(--_progress-bar-track-background-color);
118
+ width: 100%;
119
+ height: var(--_progress-bar-height);
120
+ overflow: hidden;
121
+ gap: var(--_progress-bar-segment-indicator-gap);
122
+ container-type: inline-size;
123
+ }
124
+
125
+ slot {
126
+ display: contents;
127
+ }
128
+
129
+
130
+ /* # Indeterminate
131
+ Knight Rider style: track filled with a translucent variant tint,
132
+ a solid bar bounces left-right. ease-in-out + alternate
133
+ gives the typical "scanner" acceleration at the ends. */
134
+
135
+ /* Indicator has no own bg — the track (and its inset border)
136
+ simply show through. Only the K.I.T.T. bar is visible.
137
+ On fade-out the bar fades away and track + border remain. */
138
+
139
+ .progress-bar__indeterminate-indicator {
140
+ position: absolute;
141
+ inset: 0;
142
+ opacity: 1;
143
+ transition: opacity var(--primitives-transition-duration-slow) ease-out;
144
+ }
145
+
146
+ .progress-bar__indeterminate-indicator.is-fading-out {
147
+ opacity: 0;
148
+ }
149
+
150
+ .progress-bar__indeterminate-indicator.is-fading-in {
151
+ animation: progress-bar-indicator-fade-in var(--primitives-transition-duration-slow) ease-out;
152
+ }
153
+
154
+ @keyframes progress-bar-indicator-fade-in {
155
+ from { opacity: 0; }
156
+ to { opacity: 1; }
157
+ }
158
+
159
+ /* K.I.T.T. bar. translateX uses calc(100cqw - 100%): cqw is the
160
+ container (track) width, 100% is the bar's own width. */
161
+
162
+ .progress-bar__indeterminate-indicator::before {
163
+ content: '';
164
+ position: absolute;
165
+ inset-block: 0;
166
+ left: 0;
167
+ border-radius: var(--_progress-bar-corner-radius);
168
+ background: var(--_progress-bar-indeterminate-background-color);
169
+ box-shadow: inset 0 0 0 var(--_progress-bar-indeterminate-border-width) var(--_progress-bar-indeterminate-border-color);
170
+ width: var(--_progress-bar-indeterminate-bar-width);
171
+ transform: translateX(0);
172
+ /* Duration scales with track width via the container queries below.
173
+ Wider tracks need longer sweeps so the perceived velocity feels
174
+ constant — a fast 800 ms cycle reads as frantic on a 1000 px bar
175
+ and as too slow on a 200 px bar at the same wall-clock time. */
176
+ animation: progress-bar-indeterminate var(--_progress-bar-indeterminate-duration) ease-in-out infinite alternate;
177
+ }
178
+
179
+ @container (min-width: 25.0625rem) and (max-width: 45rem) {
180
+ .progress-bar__indeterminate-indicator::before {
181
+ --_progress-bar-indeterminate-duration: 1000ms;
182
+ }
183
+ }
184
+
185
+ @container (min-width: 45.0625rem) {
186
+ .progress-bar__indeterminate-indicator::before {
187
+ --_progress-bar-indeterminate-duration: 1200ms;
188
+ }
189
+ }
190
+
191
+ @keyframes progress-bar-indeterminate {
192
+ 0% { transform: translateX(0); }
193
+ 100% { transform: translateX(calc(100cqw - 100%)); }
194
+ }
195
+
196
+
197
+ /* # Reduced Motion */
198
+
199
+ @media (prefers-reduced-motion: reduce) {
200
+ .progress-bar__indeterminate-indicator::before {
201
+ display: none;
202
+ }
203
+
204
+ .progress-bar__indeterminate-indicator {
205
+ animation: progress-bar-indeterminate-pulse 2s ease-in-out infinite;
206
+ }
207
+
208
+ @keyframes progress-bar-indeterminate-pulse {
209
+ 0%, 100% { background-color: color-mix(in srgb, var(--_progress-bar-indeterminate-background-color) 20%, transparent); }
210
+ 50% { background-color: color-mix(in srgb, var(--_progress-bar-indeterminate-background-color) 50%, transparent); }
211
+ }
212
+ }
213
+
214
+
215
+ /* # High Contrast */
216
+
217
+ @media (forced-colors: active) {
218
+ .progress-bar__track {
219
+ border: 1px solid CanvasText;
220
+ }
221
+ }
222
+ `, g = e`
223
+
224
+
225
+ /* # Host */
226
+
227
+ :host {
228
+ --_progress-bar-segment-indicator-width: var(--context-progress-bar-segment-indicator-width, 0%);
229
+ --_progress-bar-segment-indicator-min-width: var(--primitives-space-2);
230
+ --_progress-bar-segment-indicator-background-color: var(--components-progress-bar-accent-background-color);
231
+ --_progress-bar-segment-indicator-border-color: var(--components-progress-bar-accent-highlight-border-color);
232
+ --_progress-bar-segment-indicator-border-width: var(--primitives-border-width-thin);
233
+ --_progress-bar-segment-indicator-corner-radius: var(--primitives-corner-radius-full);
234
+ --_progress-bar-segment-indicator-distribution-corner-radius: var(--primitives-corner-radius-xxs);
235
+
236
+ box-sizing: border-box;
237
+ display: block;
238
+ position: relative;
239
+ box-shadow: inset 0 0 0 var(--_progress-bar-segment-indicator-border-width) var(--_progress-bar-segment-indicator-border-color);
240
+ background-color: var(--_progress-bar-segment-indicator-background-color);
241
+ width: var(--_progress-bar-segment-indicator-width);
242
+ min-width: var(--_progress-bar-segment-indicator-min-width);
243
+ height: 100%;
244
+ overflow: hidden;
245
+ transition: width var(--primitives-transition-duration-medium) ease-out;
246
+ }
247
+
248
+ :host([value="0"]),
249
+ :host(:not([value])) {
250
+ display: none;
251
+ }
252
+
253
+ :host([hidden]) {
254
+ display: none;
255
+ }
256
+
257
+
258
+ /* ## Grow / shrink
259
+ Set by the parent (data-grow / data-shrink) on the transitions between
260
+ indeterminate and determinate. */
261
+
262
+ :host([data-grow]) {
263
+ animation: progress-bar-segment-indicator-grow var(--primitives-transition-duration-slow) ease-out;
264
+ }
265
+
266
+ :host([data-shrink]) {
267
+ animation: progress-bar-segment-indicator-shrink var(--primitives-transition-duration-slow) ease-out forwards;
268
+ }
269
+
270
+ @keyframes progress-bar-segment-indicator-grow {
271
+ from { width: 0%; }
272
+ to { width: var(--_progress-bar-segment-indicator-width); }
273
+ }
274
+
275
+ @keyframes progress-bar-segment-indicator-shrink {
276
+ from { width: var(--_progress-bar-segment-indicator-width); opacity: 1; }
277
+ to { width: 0%; opacity: 0; }
278
+ }
279
+
280
+
281
+ /* ## Rounding per variant
282
+ Progress variant: every segment is its own capsule. Distribution variant:
283
+ segments use a small radius matching the track's outer corners.
284
+ data-variant is set by the parent. */
285
+
286
+ :host([data-variant="progress"]) {
287
+ border-radius: var(--_progress-bar-segment-indicator-corner-radius);
288
+ }
289
+
290
+ :host([data-variant="distribution"]) {
291
+ border-radius: var(--_progress-bar-segment-indicator-distribution-corner-radius);
292
+ }
293
+
294
+
295
+ /* ## Variants — semantic */
296
+
297
+ :host([color="neutral"]) {
298
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-neutral-filled-background-color);
299
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-neutral-filled-highlight-border-color);
300
+ }
301
+ :host([color="success"]) {
302
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-success-filled-background-color);
303
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-success-filled-highlight-border-color);
304
+ }
305
+ :host([color="warning"]) {
306
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-warning-filled-background-color);
307
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-warning-filled-highlight-border-color);
308
+ }
309
+ :host([color="critical"]) {
310
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-critical-filled-background-color);
311
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-critical-filled-highlight-border-color);
312
+ }
313
+
314
+
315
+ /* ## Variants — Rijkskleuren */
316
+ :host([color="lintblauw"]) {
317
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-lintblauw-filled-background-color);
318
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-lintblauw-filled-highlight-border-color);
319
+ }
320
+ :host([color="donkerblauw"]) {
321
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-donkerblauw-filled-background-color);
322
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-donkerblauw-filled-highlight-border-color);
323
+ }
324
+ :host([color="hemelblauw"]) {
325
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-hemelblauw-filled-background-color);
326
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-hemelblauw-filled-highlight-border-color);
327
+ }
328
+ :host([color="lichtblauw"]) {
329
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-lichtblauw-filled-background-color);
330
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-lichtblauw-filled-highlight-border-color);
331
+ }
332
+ :host([color="paars"]) {
333
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-paars-filled-background-color);
334
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-paars-filled-highlight-border-color);
335
+ }
336
+ :host([color="violet"]) {
337
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-violet-filled-background-color);
338
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-violet-filled-highlight-border-color);
339
+ }
340
+ :host([color="robijnrood"]) {
341
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-robijnrood-filled-background-color);
342
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-robijnrood-filled-highlight-border-color);
343
+ }
344
+ :host([color="roze"]) {
345
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-roze-filled-background-color);
346
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-roze-filled-highlight-border-color);
347
+ }
348
+ :host([color="rood"]) {
349
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-rood-filled-background-color);
350
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-rood-filled-highlight-border-color);
351
+ }
352
+ :host([color="oranje"]) {
353
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-oranje-filled-background-color);
354
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-oranje-filled-highlight-border-color);
355
+ }
356
+ :host([color="donkergeel"]) {
357
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-donkergeel-filled-background-color);
358
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-donkergeel-filled-highlight-border-color);
359
+ }
360
+ :host([color="geel"]) {
361
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-geel-filled-background-color);
362
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-geel-filled-highlight-border-color);
363
+ }
364
+ :host([color="donkerbruin"]) {
365
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-donkerbruin-filled-background-color);
366
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-donkerbruin-filled-highlight-border-color);
367
+ }
368
+ :host([color="bruin"]) {
369
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-bruin-filled-background-color);
370
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-bruin-filled-highlight-border-color);
371
+ }
372
+ :host([color="donkergroen"]) {
373
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-donkergroen-filled-background-color);
374
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-donkergroen-filled-highlight-border-color);
375
+ }
376
+ :host([color="groen"]) {
377
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-groen-filled-background-color);
378
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-groen-filled-highlight-border-color);
379
+ }
380
+ :host([color="mosgroen"]) {
381
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-mosgroen-filled-background-color);
382
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-mosgroen-filled-highlight-border-color);
383
+ }
384
+ :host([color="mintgroen"]) {
385
+ --_progress-bar-segment-indicator-background-color: var(--semantics-categories-mintgroen-filled-background-color);
386
+ --_progress-bar-segment-indicator-border-color: var(--semantics-categories-mintgroen-filled-highlight-border-color);
387
+ }
388
+
389
+
390
+ /* # Block
391
+ Full-bleed inner box; carries what must not sit on :host, like the
392
+ forced-colors outline below. */
393
+
394
+ .progress-bar__segment-indicator {
395
+ position: absolute;
396
+ inset: 0;
397
+ border-radius: inherit;
398
+ }
399
+
400
+
401
+ /* # Hover area (tooltip trigger)
402
+ Fills the segment; captures hover/focus for the wrapping nldd-tooltip. */
403
+
404
+ .progress-bar__segment-indicator-tooltip-area {
405
+ display: block;
406
+ position: absolute;
407
+ inset: 0;
408
+ }
409
+
410
+
411
+ /* # Reduced Motion */
412
+
413
+ @media (prefers-reduced-motion: reduce) {
414
+ :host {
415
+ transition: none;
416
+ }
417
+ }
418
+
419
+
420
+ /* # High Contrast */
421
+
422
+ @media (forced-colors: active) {
423
+ :host {
424
+ background-color: CanvasText;
425
+ }
426
+
427
+ /* box-shadow is stripped in forced-colors, so a real border draws the
428
+ segment outline. It sits on the block element instead of :host, out
429
+ of reach of consumer universal resets. */
430
+ .progress-bar__segment-indicator {
431
+ border: 1px solid CanvasText;
432
+ }
433
+ }
434
+ `;
435
+ // src/components/status-and-feedback/progress-bar/progress-bar.template.ts
436
+ function _(e) {
437
+ let t = e._effectiveTooltip;
438
+ return t ? i`
439
+ <div class="progress-bar__segment-indicator">
440
+ <nldd-tooltip
441
+ text=${t}
442
+ timing="instant"
443
+ >
444
+ <span class="progress-bar__segment-indicator-tooltip-area"
445
+ tabindex="0"
446
+ role="img"
447
+ aria-label=${t}
448
+ ></span>
449
+ </nldd-tooltip>
450
+ </div>
451
+ ` : i`
452
+ <div class="progress-bar__segment-indicator">
453
+ <span class="progress-bar__segment-indicator-tooltip-area"></span>
454
+ </div>
455
+ `;
456
+ }
457
+ function v(e, t) {
458
+ let n = e._hasCaption, r = e._indeterminateExiting, o = e._indeterminateEntering, s = (e.indeterminate || r) && !e._hasSegmentIndicators, c = !e._hasSegmentIndicators && e.value !== null && e.value > 0 && (!e.indeterminate || o), l = e.indeterminate ? void 0 : Math.round(e._totalValue), u = e.text || e._t("components.progress-bar.accessible-label");
459
+ return i`
460
+ ${n ? i`
461
+ <div class="progress-bar__caption">
462
+ <span class="progress-bar__text">${e.text}</span>
463
+ ${e.valueDisplay === "inline" && e._displayValue ? i`<span class="progress-bar__supporting-text">${e._displayValue}</span>` : a}
464
+ </div>
465
+ ` : a}
466
+ <div class="progress-bar__track"
467
+ role="progressbar"
468
+ aria-label=${u}
469
+ aria-valuemin="0"
470
+ aria-valuemax=${e.max}
471
+ aria-valuenow=${p(l)}
472
+ aria-valuetext=${e._ariaValueText}
473
+ >
474
+ ${c ? i`
475
+ <nldd-progress-bar-segment-indicator
476
+ .value=${e.value}
477
+ color=${e.color}
478
+ ></nldd-progress-bar-segment-indicator>
479
+ ` : a}
480
+ <slot @slotchange=${t}></slot>
481
+ ${s ? i`
482
+ <div class=${f({
483
+ "progress-bar__indeterminate-indicator": !0,
484
+ "is-fading-out": r && !e.indeterminate,
485
+ "is-fading-in": o && e.indeterminate
486
+ })}></div>
487
+ ` : a}
488
+ </div>
489
+ `;
490
+ }
491
+ // src/components/status-and-feedback/progress-bar/progress-bar.ts
492
+ var y, b, x = 300, S = (y = class extends r {
493
+ constructor(...e) {
494
+ super(...e), this.value = 0, this.color = "accent", this.name = "", this.tooltipText = "", this._autoTooltipText = "";
495
+ }
496
+ get _effectiveTooltip() {
497
+ return this.tooltipText || this._autoTooltipText || "";
498
+ }
499
+ render() {
500
+ return _(this);
501
+ }
502
+ }, y.styles = g, y);
503
+ o([t({
504
+ type: Number,
505
+ reflect: !0
506
+ })], S.prototype, "value", void 0), o([t({
507
+ reflect: !0,
508
+ converter: c("accent")
509
+ })], S.prototype, "color", void 0), o([t({
510
+ reflect: !0,
511
+ converter: c("")
512
+ })], S.prototype, "name", void 0), o([t({
513
+ reflect: !0,
514
+ attribute: "tooltip-text",
515
+ converter: c("")
516
+ })], S.prototype, "tooltipText", void 0), o([n()], S.prototype, "_autoTooltipText", void 0), S = o([s("nldd-progress-bar-segment-indicator")], S);
517
+ var C = (b = class extends r {
518
+ constructor(...e) {
519
+ super(...e), this.variant = "progress", this.max = 100, this.value = null, this.color = "accent", this.size = "md", this.text = "", this.valueFormat = "percentage", this.valueText = "", this.valueDisplay = "inline", this.accessibleLabel = "", this.indeterminate = !1, this.translations = {}, this._segmentIndicators = [], this._indeterminateExiting = !1, this._indeterminateEntering = !1, this._onSlotChangeBound = this._onSlotChange.bind(this);
520
+ }
521
+ _t(e) {
522
+ return d(this.translations, m, e);
523
+ }
524
+ get _hasSegmentIndicators() {
525
+ return this._segmentIndicators.length > 0;
526
+ }
527
+ get _totalValue() {
528
+ return this._hasSegmentIndicators ? this._segmentIndicators.reduce((e, t) => e + Math.max(0, t.value), 0) : Math.max(0, this.value ?? 0);
529
+ }
530
+ get _percentage() {
531
+ return this.max <= 0 ? 0 : Math.min(100, this._totalValue / this.max * 100);
532
+ }
533
+ get _displayValue() {
534
+ if (this.valueText) return this.valueText;
535
+ if (this.indeterminate) return "";
536
+ let e = this._totalValue;
537
+ switch (this.valueFormat) {
538
+ case "absolute": return `${e}`;
539
+ case "fraction": return `${e} / ${this.max}`;
540
+ default: return `${Math.round(this._percentage)}%`;
541
+ }
542
+ }
543
+ get _ariaValueText() {
544
+ if (this.accessibleLabel) return this.accessibleLabel;
545
+ if (this.indeterminate) return this._t("components.progress-bar.loading-label");
546
+ let e = this._t("components.progress-bar.completed-suffix-lowercase-text"), t = this._t("components.progress-bar.total-prefix-text");
547
+ if (!this._hasSegmentIndicators) return `${Math.round(this._percentage)}% ${e}`;
548
+ 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) => {
549
+ let t = this.max > 0 ? Math.round(e.value / this.max * 100) : 0;
550
+ return e.name ? `${e.name}: ${t}%` : `${t}%`;
551
+ });
552
+ if (this.variant === "distribution") return r.join(", ");
553
+ let i = Math.round(this._percentage);
554
+ return n ? `${r.join(", ")}. ${t} ${i}% ${e}.` : `${i}% ${e}`;
555
+ }
556
+ get _hasCaption() {
557
+ return !!this.text || this.valueDisplay === "inline" && !!this._displayValue;
558
+ }
559
+ firstUpdated() {
560
+ this._syncSegmentIndicators();
561
+ }
562
+ willUpdate(e) {
563
+ if (e.has("indeterminate")) {
564
+ let t = e.get("indeterminate");
565
+ t === !0 && !this.indeterminate ? this._beginIndeterminateExit() : t === !1 && this.indeterminate && this._beginIndeterminateEnter();
566
+ }
567
+ }
568
+ updated() {
569
+ this._syncSegmentIndicators();
570
+ }
571
+ _beginIndeterminateExit() {
572
+ this._cancelIndeterminateEnter(), this._indeterminateExiting = !0, this._exitTimeout = setTimeout(() => {
573
+ this._indeterminateExiting = !1, this._exitTimeout = void 0;
574
+ }, 300);
575
+ }
576
+ _beginIndeterminateEnter() {
577
+ this._cancelIndeterminateExit(), this._indeterminateEntering = !0, this._enterTimeout = setTimeout(() => {
578
+ this._indeterminateEntering = !1, this._enterTimeout = void 0;
579
+ }, 300);
580
+ }
581
+ _cancelIndeterminateExit() {
582
+ this._exitTimeout && (clearTimeout(this._exitTimeout), this._exitTimeout = void 0), this._indeterminateExiting = !1;
583
+ }
584
+ _cancelIndeterminateEnter() {
585
+ this._enterTimeout && (clearTimeout(this._enterTimeout), this._enterTimeout = void 0), this._indeterminateEntering = !1;
586
+ }
587
+ _formatSegmentIndicatorTooltip(e) {
588
+ if (this.valueDisplay === "none") return e.name ?? "";
589
+ let t = Math.max(0, e.value), n = this.max > 0 ? Math.round(t / this.max * 100) : 0, r;
590
+ switch (this.valueFormat) {
591
+ case "absolute":
592
+ r = `${t}`;
593
+ break;
594
+ case "fraction":
595
+ r = `${t} / ${this.max}`;
596
+ break;
597
+ default: r = `${n}%`;
598
+ }
599
+ return e.name ? `${e.name}: ${r}` : r;
600
+ }
601
+ disconnectedCallback() {
602
+ super.disconnectedCallback(), this._cancelIndeterminateExit(), this._cancelIndeterminateEnter(), this._attributeObserver?.disconnect();
603
+ }
604
+ _onSlotChange() {
605
+ let e = (this.shadowRoot?.querySelector("slot:not([name])"))?.assignedElements({ flatten: !0 }) ?? [];
606
+ this._segmentIndicators = e.filter((e) => e instanceof S), this._attributeObserver?.disconnect(), this._attributeObserver = new MutationObserver(() => this.requestUpdate());
607
+ for (let e of this._segmentIndicators) this._attributeObserver.observe(e, {
608
+ attributes: !0,
609
+ attributeFilter: [
610
+ "value",
611
+ "color",
612
+ "name",
613
+ "tooltip-text"
614
+ ]
615
+ });
616
+ }
617
+ _syncSegmentIndicators() {
618
+ let e = this._totalValue, t = e > this.max ? e : this.max;
619
+ l(this, "exceeds-max", e > this.max && this._hasSegmentIndicators);
620
+ let n = this.shadowRoot?.querySelector("nldd-progress-bar-segment-indicator") ?? null, r = n ? [n, ...this._segmentIndicators] : [...this._segmentIndicators], i = r.filter((e) => Math.max(0, e.value) > 0).length <= 1 && this.valueDisplay !== "tooltip", a = this._indeterminateExiting, o = this._indeterminateEntering;
621
+ for (let e of r) {
622
+ let n = Math.max(0, e.value);
623
+ if (n <= 0) {
624
+ e.hidden = !0, e.removeAttribute("data-variant"), e._autoTooltipText = "";
625
+ continue;
626
+ }
627
+ e.hidden = !1;
628
+ let r = t > 0 ? n / t * 100 : 0;
629
+ e.style.setProperty("--context-progress-bar-segment-indicator-width", `${r}%`), e.setAttribute("data-variant", this.variant), e._autoTooltipText = i ? "" : this._formatSegmentIndicatorTooltip(e), e.toggleAttribute("data-grow", a), e.toggleAttribute("data-shrink", o);
630
+ }
631
+ }
632
+ render() {
633
+ return v(this, this._onSlotChangeBound);
634
+ }
635
+ }, b.styles = h, b);
636
+ o([t({
637
+ reflect: !0,
638
+ converter: c("progress")
639
+ })], C.prototype, "variant", void 0), o([t({
640
+ reflect: !0,
641
+ converter: c(100)
642
+ })], C.prototype, "max", void 0), o([t({
643
+ type: Number,
644
+ reflect: !0
645
+ })], C.prototype, "value", void 0), o([t({
646
+ reflect: !0,
647
+ converter: c("accent")
648
+ })], C.prototype, "color", void 0), o([t({
649
+ reflect: !0,
650
+ converter: c("md")
651
+ })], C.prototype, "size", void 0), o([t({
652
+ reflect: !0,
653
+ converter: c("")
654
+ })], C.prototype, "text", void 0), o([t({
655
+ reflect: !0,
656
+ attribute: "value-format",
657
+ converter: c("percentage")
658
+ })], C.prototype, "valueFormat", void 0), o([t({
659
+ reflect: !0,
660
+ attribute: "value-text",
661
+ converter: c("")
662
+ })], C.prototype, "valueText", void 0), o([t({
663
+ reflect: !0,
664
+ attribute: "value-display",
665
+ converter: c("inline")
666
+ })], C.prototype, "valueDisplay", void 0), o([t({
667
+ reflect: !0,
668
+ attribute: "accessible-label",
669
+ converter: c("")
670
+ })], C.prototype, "accessibleLabel", void 0), o([t({
671
+ type: Boolean,
672
+ reflect: !0
673
+ })], C.prototype, "indeterminate", void 0), o([t({ type: Object })], C.prototype, "translations", void 0), o([n()], C.prototype, "_segmentIndicators", void 0), o([n()], C.prototype, "_indeterminateExiting", void 0), o([n()], C.prototype, "_indeterminateEntering", void 0), C = o([s("nldd-progress-bar")], C);
674
+ export { x as INDETERMINATE_TRANSITION_MS, C as NLDDProgressBar, S as NLDDProgressBarSegmentIndicator };
@@ -0,0 +1,8 @@
1
+ // src/components/status-and-feedback/progress-bar/progress-bar.i18n.ts
2
+ var e = {
3
+ "components.progress-bar.completed-suffix-lowercase-text": "voltooid",
4
+ "components.progress-bar.total-prefix-text": "Totaal",
5
+ "components.progress-bar.loading-label": "Aan het laden",
6
+ "components.progress-bar.accessible-label": "Voortgang"
7
+ };
8
+ export { e as t };