@nldd/design-system 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/custom-elements.json +204 -8
  2. package/dist/cdn/autoloader.js +181 -0
  3. package/dist/cdn/chunks/activity-indicator-JglZJ8dh.js +356 -0
  4. package/dist/cdn/chunks/activity-indicator.i18n-D7mCy6d2.js +3 -0
  5. package/dist/cdn/chunks/avatar-ASqePVhU.js +308 -0
  6. package/dist/cdn/chunks/avatar-group-rknt4FBO.js +338 -0
  7. package/dist/cdn/chunks/avatar-group.i18n-BYw_9wt_.js +7 -0
  8. package/dist/cdn/chunks/avatar.i18n-CMwQjBkS.js +7 -0
  9. package/dist/cdn/chunks/badge-Cc2Nufoc.js +323 -0
  10. package/dist/cdn/chunks/badge.i18n-DqW7hLQj.js +3 -0
  11. package/dist/cdn/chunks/banner-BLVKM07M.js +325 -0
  12. package/dist/cdn/chunks/banner.i18n-BOCM9rGN.js +3 -0
  13. package/dist/cdn/chunks/bar-split-view-Clbg-p9H.js +259 -0
  14. package/dist/cdn/chunks/base-CfuoYRhN.js +3 -0
  15. package/dist/cdn/chunks/blockquote-BoOqbGdm.js +189 -0
  16. package/dist/cdn/chunks/box-WkhyjQVy.js +88 -0
  17. package/dist/cdn/chunks/breadcrumbs-D9YxZzRj.js +162 -0
  18. package/dist/cdn/chunks/breadcrumbs.i18n-zmO8jaTO.js +3 -0
  19. package/dist/cdn/chunks/breakpoints-Cwor8TRP.js +15 -0
  20. package/dist/cdn/chunks/button-DO90Lo6q.js +863 -0
  21. package/dist/cdn/chunks/button-bar-Bxgdbyh3.js +225 -0
  22. package/dist/cdn/chunks/button-group-BYGPPLmZ.js +205 -0
  23. package/dist/{components/button.i18n-DiDGynnq.js → cdn/chunks/button.i18n-BGFt7Z9u.js} +2 -2
  24. package/dist/cdn/chunks/card-BP0jfOkS.js +262 -0
  25. package/dist/cdn/chunks/card.i18n-CpafLm3i.js +8 -0
  26. package/dist/cdn/chunks/carried-context-DlMSujiJ.js +37 -0
  27. package/dist/cdn/chunks/cell-BRD2ilQh.js +144 -0
  28. package/dist/cdn/chunks/checkbox-Cazx8CQn.js +296 -0
  29. package/dist/cdn/chunks/checkbox-field-DDZ-B6vH.js +157 -0
  30. package/dist/cdn/chunks/class-map-CXSdNjt8.js +26 -0
  31. package/dist/cdn/chunks/code-editor-D6Q55oaY.js +286 -0
  32. package/dist/cdn/chunks/code-viewer-DspLH2T1.js +766 -0
  33. package/dist/cdn/chunks/code-viewer.i18n-BHfSDRbK.js +13 -0
  34. package/dist/cdn/chunks/codemirror-input-Db65x22n.js +1232 -0
  35. package/dist/cdn/chunks/collection-NVtkvDls.js +396 -0
  36. package/dist/cdn/chunks/collection.i18n-DqWPGnZO.js +8 -0
  37. package/dist/cdn/chunks/combo-box-DyBQSaQl.js +512 -0
  38. package/dist/cdn/chunks/combo-box.i18n-BorzYnJ2.js +6 -0
  39. package/dist/cdn/chunks/container-rrbwk0z4.js +602 -0
  40. package/dist/cdn/chunks/custom-element-BW8Ua4c7.js +7 -0
  41. package/dist/cdn/chunks/custom-element-q6NzoL5b.js +301 -0
  42. package/dist/cdn/chunks/custom-font-size-D7KNr84p.js +57 -0
  43. package/dist/cdn/chunks/date-field-Clti_wKN.js +654 -0
  44. package/dist/cdn/chunks/date-field.i18n-BTzc0E9a.js +15 -0
  45. package/dist/cdn/chunks/date-picker-2TCQLd5D.js +993 -0
  46. package/dist/cdn/chunks/date-picker.i18n-Dsc_M5QK.js +82 -0
  47. package/dist/cdn/chunks/decorate-TduJMFD_.js +280 -0
  48. package/dist/cdn/chunks/defer-focus-F73ud2D9.js +9 -0
  49. package/dist/cdn/chunks/described-by-mixin-daRE7orX.js +32 -0
  50. package/dist/cdn/chunks/description-cell-CQwOj_rN.js +166 -0
  51. package/dist/cdn/chunks/dev-checks-zW_W-hnh.js +2695 -0
  52. package/dist/cdn/chunks/directive-CwRgozUW.js +27 -0
  53. package/dist/cdn/chunks/dismiss-from-title-bar-C6mP7sWP.js +5 -0
  54. package/dist/cdn/chunks/dist-3C80SZN9.js +849 -0
  55. package/dist/cdn/chunks/dist-A7_1pHX0.js +379 -0
  56. package/dist/cdn/chunks/dist-BEfLdOvy.js +1346 -0
  57. package/dist/cdn/chunks/dist-BTUxFM2V.js +268 -0
  58. package/dist/cdn/chunks/dist-CP3G1pSK.js +1037 -0
  59. package/dist/cdn/chunks/dist-C_dGY6zR.js +468 -0
  60. package/dist/{components/dist-B9YBOGFW.js → cdn/chunks/dist-ChmCRv39.js} +109 -153
  61. package/dist/{components/dist-CJm4tkNC.js → cdn/chunks/dist-D2qap2OY.js} +23 -31
  62. package/dist/cdn/chunks/dist-DPUBF0MZ.js +1593 -0
  63. package/dist/{components/dist-4g23YHP0.js → cdn/chunks/dist-DrTzvgE7.js} +291 -404
  64. package/dist/cdn/chunks/dist-EM4MWLQq.js +385 -0
  65. package/dist/cdn/chunks/dist-EgIBI-FG.js +293 -0
  66. package/dist/{components/dist-Bf823YyL.js → cdn/chunks/dist-Rm6FvrSR.js} +272 -551
  67. package/dist/cdn/chunks/divider-CCNbnplA.js +53 -0
  68. package/dist/cdn/chunks/document-tab-bar-CUc4WWY3.js +973 -0
  69. package/dist/cdn/chunks/document-tab-bar.i18n-DKrA9TnB.js +9 -0
  70. package/dist/cdn/chunks/drag-handle-cell-CbzDYebG.js +206 -0
  71. package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +3 -0
  72. package/dist/cdn/chunks/dropdown-DZTZtkm5.js +350 -0
  73. package/dist/cdn/chunks/element-state-B-44fVqq.js +20 -0
  74. package/dist/cdn/chunks/file-field-Bff6_1pp.js +1484 -0
  75. package/dist/cdn/chunks/file-field.i18n-pDM7Utud.js +40 -0
  76. package/dist/cdn/chunks/floating-ui.dom-B8J1rV2c.js +753 -0
  77. package/dist/cdn/chunks/focus-target-DSLGcCWq.js +24 -0
  78. package/dist/cdn/chunks/form-actions-C_7hINq-.js +90 -0
  79. package/dist/cdn/chunks/form-associated-mixin--GIbl98p.js +62 -0
  80. package/dist/cdn/chunks/form-field--4nWJ_DK.js +364 -0
  81. package/dist/cdn/chunks/form-hXLgy_tY.js +84 -0
  82. package/dist/cdn/chunks/form-section-By-D4un0.js +64 -0
  83. package/dist/cdn/chunks/full-bleed-section-Dg4sIJG1.js +161 -0
  84. package/dist/cdn/chunks/gherkin-eseYvsxh.js +29 -0
  85. package/dist/cdn/chunks/hero-CQQMNCT_.js +761 -0
  86. package/dist/{components/icon-_Eox7ZfO.js → cdn/chunks/icon-BORlalt0.js} +298 -308
  87. package/dist/cdn/chunks/icon-button-rKiIHs7A.js +632 -0
  88. package/dist/{components/icon-button.i18n-1_N-wN6x.js → cdn/chunks/icon-button.i18n-DpZOfIS4.js} +2 -4
  89. package/dist/cdn/chunks/icon-cell-rk4NQid2.js +156 -0
  90. package/dist/cdn/chunks/identity-Cg1l0HhB.js +187 -0
  91. package/dist/cdn/chunks/if-defined-CaKKERku.js +4 -0
  92. package/dist/cdn/chunks/image-DZMW6JgL.js +659 -0
  93. package/dist/cdn/chunks/image.i18n-ONcm1h7o.js +3 -0
  94. package/dist/cdn/chunks/implicit-submission-Csbcor_E.js +27 -0
  95. package/dist/cdn/chunks/inline-dialog-WlqtPBPJ.js +259 -0
  96. package/dist/cdn/chunks/input-modality-XE0B7yCn.js +42 -0
  97. package/dist/cdn/chunks/just-in-time-education-DRcb5g7x.js +611 -0
  98. package/dist/cdn/chunks/just-in-time-education.i18n-CW_dsaxf.js +6 -0
  99. package/dist/cdn/chunks/kanban-Ca_mfqsA.js +400 -0
  100. package/dist/cdn/chunks/kanban-column-fgIMc7pw.js +375 -0
  101. package/dist/cdn/chunks/kanban.i18n-CWqc3e0B.js +11 -0
  102. package/dist/cdn/chunks/keyboard-shortcut-EknnW7Ub.js +267 -0
  103. package/dist/cdn/chunks/languages-yKikVFv_.js +8893 -0
  104. package/dist/cdn/chunks/link-FBSAJ3UC.js +229 -0
  105. package/dist/cdn/chunks/link-group-90qVfKa0.js +111 -0
  106. package/dist/cdn/chunks/link-hint-KFhgr5Ng.js +24 -0
  107. package/dist/cdn/chunks/link-rel-DvrTEfVT.js +8 -0
  108. package/dist/cdn/chunks/link.i18n-DJPobGmu.js +8 -0
  109. package/dist/cdn/chunks/list-CaWl3q0Z.js +880 -0
  110. package/dist/cdn/chunks/list-item-Cagnf6eG.js +802 -0
  111. package/dist/cdn/chunks/list-item-segment-BRzBF1y_.js +315 -0
  112. package/dist/cdn/chunks/list-item-segment.i18n-DHnrQL4V.js +8 -0
  113. package/dist/{components/list-item.i18n-89uqlBMK.js → cdn/chunks/list-item.i18n-Br6J5Ev9.js} +2 -2
  114. package/dist/cdn/chunks/list-items-Du0RCWsY.js +6 -0
  115. package/dist/{components/list.i18n-CKqbhFQ_.js → cdn/chunks/list.i18n-C40ltgdI.js} +2 -2
  116. package/dist/cdn/chunks/loading-tags-DtUr-DR7.js +3 -0
  117. package/dist/cdn/chunks/menu-BOu_pD1Q.js +719 -0
  118. package/dist/cdn/chunks/menu-bar-0NFXvq-v.js +253 -0
  119. package/dist/cdn/chunks/menu-bar-item-DGSC_ETi.js +365 -0
  120. package/dist/cdn/chunks/menu-bar.i18n-BoMu4Eoz.js +3 -0
  121. package/dist/cdn/chunks/menu-divider-CLLRgMll.js +15 -0
  122. package/dist/cdn/chunks/menu-group-BL24ChpR.js +23 -0
  123. package/dist/cdn/chunks/menu-item-CooKfrFa.js +140 -0
  124. package/dist/cdn/chunks/menu.i18n-C6uYJsG3.js +10 -0
  125. package/dist/cdn/chunks/menu.template-C6rbfI-u.js +642 -0
  126. package/dist/cdn/chunks/modal-dialog-BrUMP4Jm.js +240 -0
  127. package/dist/cdn/chunks/multi-line-text-field-D7hXhyOn.js +318 -0
  128. package/dist/cdn/chunks/navigation-split-view-B2ZQhxEb.js +621 -0
  129. package/dist/cdn/chunks/nl.generated-D6T41jG3.js +112 -0
  130. package/dist/cdn/chunks/notification-DSGP14d1.js +492 -0
  131. package/dist/cdn/chunks/notification.i18n-BKUSLN5c.js +6 -0
  132. package/dist/cdn/chunks/number-field-B8op14Y_.js +301 -0
  133. package/dist/cdn/chunks/number-field.i18n-BS0bINWY.js +7 -0
  134. package/dist/cdn/chunks/one-half-one-half-section-ZYmHYf4Q.js +213 -0
  135. package/dist/cdn/chunks/one-third-two-thirds-section-Ds10K6AS.js +213 -0
  136. package/dist/cdn/chunks/one-time-code-field-Cgy_tTS4.js +693 -0
  137. package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +20 -0
  138. package/dist/cdn/chunks/owned-attribute-x9OCTy_4.js +6 -0
  139. package/dist/cdn/chunks/owner-form-Cq8tT7ac.js +7 -0
  140. package/dist/cdn/chunks/page-CBf_Decp.js +431 -0
  141. package/dist/cdn/chunks/page-footer-CSv1dU7M.js +396 -0
  142. package/dist/cdn/chunks/page-footer.i18n-pbdr4lN3.js +3 -0
  143. package/dist/cdn/chunks/page-section-mixin-Dp6X8GKd.js +132 -0
  144. package/dist/cdn/chunks/pagination-CMUcFB53.js +485 -0
  145. package/dist/cdn/chunks/pagination.i18n-QQMx14CQ.js +9 -0
  146. package/dist/cdn/chunks/password-field-C76Vm3rm.js +368 -0
  147. package/dist/cdn/chunks/password-field.i18n-CzdBn-1b.js +8 -0
  148. package/dist/cdn/chunks/popover-C-CVVtfl.js +334 -0
  149. package/dist/cdn/chunks/popover-target-B25dxnmt.js +10 -0
  150. package/dist/cdn/chunks/popover.i18n-DmFBHUvB.js +3 -0
  151. package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +30 -0
  152. package/dist/cdn/chunks/progress-bar-BLiHaRUS.js +674 -0
  153. package/dist/cdn/chunks/progress-bar.i18n-Cr5miGTx.js +8 -0
  154. package/dist/cdn/chunks/progress-circle-CjkovRbL.js +667 -0
  155. package/dist/cdn/chunks/progress-circle.i18n-CRrXuY4V.js +8 -0
  156. package/dist/cdn/chunks/query-ChDzi9FQ.js +28 -0
  157. package/dist/cdn/chunks/radio-button-GHyO-GQB.js +338 -0
  158. package/dist/cdn/chunks/radio-button-field-C-Z6Lnd4.js +192 -0
  159. package/dist/cdn/chunks/radio-button-group-ChTqBCnQ.js +118 -0
  160. package/dist/cdn/chunks/radio-position-CXWYAjaz.js +10 -0
  161. package/dist/cdn/chunks/reflect-non-default-Bu3rpCvg.js +9 -0
  162. package/dist/cdn/chunks/render-marked-DX_5ISZE.js +37 -0
  163. package/dist/cdn/chunks/repeat-Ch_5OsXE.js +76 -0
  164. package/dist/cdn/chunks/return-focus-Xmagtk6r.js +52 -0
  165. package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +47 -0
  166. package/dist/cdn/chunks/rich-text.i18n-BlJ68YuU.js +3 -0
  167. package/dist/cdn/chunks/row-header-mixin-CgqvREoV.js +16 -0
  168. package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +7 -0
  169. package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +42 -0
  170. package/dist/cdn/chunks/search-field-BGNfERhn.js +396 -0
  171. package/dist/cdn/chunks/search-field.i18n-B_Oc7hc-.js +6 -0
  172. package/dist/cdn/chunks/segmented-control-BYAG4VRp.js +671 -0
  173. package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +12 -0
  174. package/dist/cdn/chunks/sheet-BdVCqm2H.js +340 -0
  175. package/dist/cdn/chunks/shell-C9rds_D9.js +146 -0
  176. package/dist/cdn/chunks/shell-DmJOYhyF.js +108 -0
  177. package/dist/cdn/chunks/side-by-side-split-view-C5oX4c6Z.js +166 -0
  178. package/dist/cdn/chunks/sidebar-section-DP4jnS7g.js +353 -0
  179. package/dist/cdn/chunks/sidebar-section.i18n-BuGfRMpD.js +6 -0
  180. package/dist/cdn/chunks/simple-section-qrCqXeBa.js +192 -0
  181. package/dist/cdn/chunks/skip-link-DWh4W6-J.js +161 -0
  182. package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +3 -0
  183. package/dist/cdn/chunks/slider--hODfOwh.js +772 -0
  184. package/dist/cdn/chunks/slider.i18n-DVw0c8AG.js +6 -0
  185. package/dist/cdn/chunks/slot-content-BLuPqVXw.js +13 -0
  186. package/dist/cdn/chunks/spacer-CFzq_JCh.js +237 -0
  187. package/dist/cdn/chunks/spacer-cell-DuVOgIj8.js +68 -0
  188. package/dist/cdn/chunks/spacing-scale-SufIjHeN.js +28 -0
  189. package/dist/cdn/chunks/split-button-BeXnOUTt.js +268 -0
  190. package/dist/cdn/chunks/split-button.i18n-DtClSMga.js +3 -0
  191. package/dist/cdn/chunks/split-view-divider-jzcPmnMh.js +100 -0
  192. package/dist/cdn/chunks/split-view-pane-BLsZz263.js +128 -0
  193. package/dist/cdn/chunks/stacked-split-view-CcOR8LrJ.js +157 -0
  194. package/dist/cdn/chunks/static-html-Cf4ccUIg.js +26 -0
  195. package/dist/cdn/chunks/status-bar-CINbOihq.js +284 -0
  196. package/dist/cdn/chunks/status-bar-change-CR9l0Gyk.js +3 -0
  197. package/dist/cdn/chunks/step-bar-6FvZL1Ti.js +474 -0
  198. package/dist/cdn/chunks/step-bar.i18n-DocExlD7.js +9 -0
  199. package/dist/cdn/chunks/step-cell-CejRisgS.js +287 -0
  200. package/dist/cdn/chunks/stepper-CY2rJWOJ.js +223 -0
  201. package/dist/cdn/chunks/stepper.i18n-COOAkaBl.js +7 -0
  202. package/dist/cdn/chunks/style-map-DsIw6lkq.js +29 -0
  203. package/dist/cdn/chunks/style-mod-DGMhzWuk.js +1583 -0
  204. package/dist/cdn/chunks/swatch-picker-BY3DBIl6.js +430 -0
  205. package/dist/cdn/chunks/swatch-picker.i18n-_G0nmnGe.js +22 -0
  206. package/dist/cdn/chunks/switch-DDSsZFwK.js +275 -0
  207. package/dist/cdn/chunks/switch-field-CMoM9I38.js +137 -0
  208. package/dist/cdn/chunks/tab-bar-DmslEoPD.js +697 -0
  209. package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +3 -0
  210. package/dist/cdn/chunks/table-DwXjCSD5.js +308 -0
  211. package/dist/cdn/chunks/table.i18n-Bmb_uw_w.js +3 -0
  212. package/dist/cdn/chunks/tag-DM3APy3B.js +306 -0
  213. package/dist/cdn/chunks/text-B1CatNR1.js +421 -0
  214. package/dist/cdn/chunks/text-cell-BkEsGI3g.js +299 -0
  215. package/dist/cdn/chunks/text-editor-BvTiMeNV.js +3743 -0
  216. package/dist/cdn/chunks/text-editor.i18n-sJKiRQ4i.js +17 -0
  217. package/dist/cdn/chunks/text-field-CUyh1-V8.js +398 -0
  218. package/dist/cdn/chunks/time-field-Cj5WojfO.js +597 -0
  219. package/dist/cdn/chunks/time-field.i18n-CLH5vmS7.js +11 -0
  220. package/dist/cdn/chunks/time-picker-W0xYXLy8.js +508 -0
  221. package/dist/cdn/chunks/time-picker.i18n-BilOCXlS.js +7 -0
  222. package/dist/cdn/chunks/title-BuT7tWqN.js +437 -0
  223. package/dist/cdn/chunks/title-bar-label-controller-DSxdKZOg.js +24 -0
  224. package/dist/cdn/chunks/title-cell-8d8psUBX.js +327 -0
  225. package/dist/cdn/chunks/toggle-button-DNXWXZpE.js +528 -0
  226. package/dist/cdn/chunks/toggle-button-group-ByowJYgs.js +156 -0
  227. package/dist/cdn/chunks/token-CnkEB3hB.js +266 -0
  228. package/dist/cdn/chunks/token-field-hvDB3l6O.js +664 -0
  229. package/dist/cdn/chunks/token-field.i18n-BclzoR8F.js +9 -0
  230. package/dist/cdn/chunks/token.i18n-RGD5zAtl.js +7 -0
  231. package/dist/cdn/chunks/toml-w97zZfFO.js +27 -0
  232. package/dist/cdn/chunks/toolbar-iNd1VmuG.js +408 -0
  233. package/dist/cdn/chunks/toolbar-item-DpPfPxCi.js +50 -0
  234. package/dist/cdn/chunks/toolbar-title-KBMpfL9d.js +84 -0
  235. package/dist/cdn/chunks/toolbar.i18n-QwS37CBC.js +8 -0
  236. package/dist/cdn/chunks/toolbar.styles-BQkG4gVc.js +383 -0
  237. package/dist/cdn/chunks/tooltip-BsAHJjci.js +325 -0
  238. package/dist/cdn/chunks/top-navigation-bar-D1hjWIF3.js +925 -0
  239. package/dist/cdn/chunks/top-navigation-bar.i18n-C-lcH1nB.js +10 -0
  240. package/dist/cdn/chunks/top-title-bar-iNFB2zQL.js +344 -0
  241. package/dist/cdn/chunks/translations-wxBSz213.js +8 -0
  242. package/dist/cdn/chunks/two-thirds-one-third-section-D-UANbHC.js +213 -0
  243. package/dist/cdn/chunks/validation-list-C5BhHZIG.js +202 -0
  244. package/dist/cdn/chunks/validation-list.i18n-CM6In8zD.js +12 -0
  245. package/dist/cdn/chunks/visibility-mixin-COAZ9pON.js +74 -0
  246. package/dist/cdn/chunks/visually-hidden-BPgATaH0.js +43 -0
  247. package/dist/cdn/chunks/window-t5iFkMLY.js +227 -0
  248. package/dist/cdn/chunks/window.i18n-CsEnUPAk.js +3 -0
  249. package/dist/cdn/chunks/with-translations-XX14GKFh.js +16 -0
  250. package/dist/components/actions/menu/menu-item.d.ts +6 -2
  251. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  252. package/dist/components/actions/menu/menu-item.js +12 -1
  253. package/dist/components/actions/menu/menu-item.js.map +1 -1
  254. package/dist/components/actions/menu/menu.js +1 -1
  255. package/dist/components/actions/menu/menu.js.map +1 -1
  256. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  257. package/dist/components/actions/menu/menu.template.js +2 -1
  258. package/dist/components/actions/menu/menu.template.js.map +1 -1
  259. package/dist/components/inputs/dropdown/dropdown.d.ts +22 -2
  260. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  261. package/dist/components/inputs/dropdown/dropdown.js +67 -11
  262. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  263. package/dist/components/layout/container/container.d.ts +15 -2
  264. package/dist/components/layout/container/container.d.ts.map +1 -1
  265. package/dist/components/layout/container/container.js +38 -3
  266. package/dist/components/layout/container/container.js.map +1 -1
  267. package/dist/components/layout/container/container.styles.js +1 -1
  268. package/dist/components/layout/container/container.template.js +1 -1
  269. package/dist/components/layout/container/container.template.js.map +1 -1
  270. package/dist/components/lists-and-tables/list-item/list-item.d.ts +7 -0
  271. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  272. package/dist/components/lists-and-tables/list-item/list-item.js +13 -3
  273. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  274. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -1
  275. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  276. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +19 -3
  277. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  278. package/dist/nldd.min.js +298 -298
  279. package/dist/types/react.d.ts +3323 -0
  280. package/dist/types/vue.d.ts +11 -3
  281. package/dist/utilities/autoloader.d.ts +33 -0
  282. package/dist/utilities/autoloader.d.ts.map +1 -0
  283. package/dist/utilities/autoloader.generated.d.ts +3 -0
  284. package/dist/utilities/autoloader.generated.d.ts.map +1 -0
  285. package/dist/utilities/autoloader.generated.js +141 -0
  286. package/dist/utilities/autoloader.generated.js.map +1 -0
  287. package/dist/utilities/autoloader.js +94 -0
  288. package/dist/utilities/autoloader.js.map +1 -0
  289. package/dist/utilities/dev-checks.d.ts +9 -0
  290. package/dist/utilities/dev-checks.d.ts.map +1 -1
  291. package/dist/utilities/dev-checks.js +45 -3
  292. package/dist/utilities/dev-checks.js.map +1 -1
  293. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  294. package/dist/utilities/dev-rules.generated.js +12 -2
  295. package/dist/utilities/dev-rules.generated.js.map +1 -1
  296. package/dist/utilities/loading-tags.d.ts +7 -0
  297. package/dist/utilities/loading-tags.d.ts.map +1 -0
  298. package/dist/utilities/loading-tags.js +7 -0
  299. package/dist/utilities/loading-tags.js.map +1 -0
  300. package/dist/utilities/owner-form.d.ts +3 -3
  301. package/dist/utilities/owner-form.d.ts.map +1 -1
  302. package/dist/utilities/owner-form.js +6 -3
  303. package/dist/utilities/owner-form.js.map +1 -1
  304. package/lint/data.generated.json +1 -1
  305. package/package.json +50 -11
  306. package/dist/components/breakpoints-DtL62nLI.js +0 -45
  307. package/dist/components/components.js +0 -68243
  308. package/dist/components/decorate-DD7uUxHb.js +0 -51
  309. package/dist/components/defer-focus-dzorHsCQ.js +0 -176
  310. package/dist/components/dev-checks-CLB9G43h.js +0 -2711
  311. package/dist/components/dist-245LaK9m.js +0 -1479
  312. package/dist/components/dist-BFZM0YsR.js +0 -15772
  313. package/dist/components/dist-BNkeFjc3.js +0 -1180
  314. package/dist/components/dist-CSC1dG3L.js +0 -365
  315. package/dist/components/dist-CeMOOqgP.js +0 -1509
  316. package/dist/components/dist-DFjwTlJV.js +0 -624
  317. package/dist/components/dist-DHhnz3Gv.js +0 -381
  318. package/dist/components/dist-PeUX4vPq.js +0 -2857
  319. package/dist/components/dist-m70B83qb.js +0 -463
  320. package/dist/components/element-state-BnarBv0M.js +0 -42
  321. package/dist/components/gherkin-DzYbEwDO.js +0 -107
  322. package/dist/components/icon-button-8gvQCwCW.js +0 -2305
  323. package/dist/components/input-modality-D_CY185R.js +0 -48
  324. package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
  325. package/dist/components/nl.generated-DzZkOgnP.js +0 -64
  326. package/dist/components/rolldown-runtime-D8jQpDG7.js +0 -12
  327. package/dist/components/shadow-resets-BwOyyZFH.js +0 -60
  328. package/dist/components/shell-Dh5IwHd-.js +0 -222
  329. package/dist/components/toml-D0Pix_8Q.js +0 -58
  330. package/dist/components/visibility-mixin-Dzn48SL8.js +0 -153
@@ -0,0 +1,375 @@
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 "./query-ChDzi9FQ.js";
5
+ import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
6
+ import { t as u } from "./shadow-resets-6SToDsPu.js";
7
+ import { t as d } from "./class-map-CXSdNjt8.js";
8
+ // src/components/layout/kanban/kanban.styles.ts
9
+ var f = e`
10
+
11
+
12
+ /* # Host */
13
+
14
+ :host {
15
+ --_kanban-gap: var(--primitives-space-12);
16
+ --_kanban-fade-size: var(--primitives-space-32);
17
+ --_kanban-fade-left: var(--primitives-space-0);
18
+ --_kanban-fade-right: var(--primitives-space-0);
19
+ --_kanban-height: auto;
20
+
21
+ box-sizing: border-box;
22
+ display: block;
23
+ min-width: 0;
24
+ height: var(--_kanban-height);
25
+ }
26
+
27
+ :host([hidden]) {
28
+ display: none;
29
+ }
30
+
31
+
32
+ /* # Block */
33
+
34
+ .kanban {
35
+ display: flex;
36
+ height: 100%;
37
+ overflow-x: auto;
38
+ gap: var(--_kanban-gap);
39
+ align-items: stretch;
40
+ scroll-snap-type: x proximity;
41
+ scroll-padding-inline: var(--_kanban-gap);
42
+ mask-image: linear-gradient(to right, transparent 0, black var(--_kanban-fade-left), black calc(100% - var(--_kanban-fade-right)), transparent 100%);
43
+ }
44
+
45
+ .kanban.can-scroll-left {
46
+ --_kanban-fade-left: var(--_kanban-fade-size);
47
+ }
48
+
49
+ .kanban.can-scroll-right {
50
+ --_kanban-fade-right: var(--_kanban-fade-size);
51
+ }
52
+
53
+ /* Snapping would pull the board back after every step it scrolls while an
54
+ item is dragged to its edge. */
55
+ .kanban.is-dragging {
56
+ scroll-snap-type: none;
57
+ }
58
+
59
+ .kanban:focus-visible {
60
+ outline: var(--semantics-focus-ring-outline);
61
+ outline-offset: var(--semantics-focus-ring-outline-offset);
62
+ }
63
+
64
+ ::slotted(nldd-kanban-column) {
65
+ scroll-snap-align: start;
66
+ }
67
+
68
+ .kanban__announcer {
69
+ position: absolute;
70
+ width: 1px;
71
+ height: 1px;
72
+ clip-path: inset(50%);
73
+ white-space: nowrap;
74
+ overflow: hidden;
75
+ }
76
+ `, p = e`
77
+
78
+
79
+ /* # Host */
80
+
81
+ :host {
82
+ --_kanban-column-width: var(--primitives-area-280);
83
+ --_kanban-column-corner-radius: var(--semantics-surfaces-corner-radius);
84
+ --_kanban-column-highlight-border-width: var(--semantics-surfaces-highlight-border-width);
85
+ --_kanban-column-highlight-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
86
+ --_kanban-column-background-color: var(--semantics-surfaces-tinted-background-color);
87
+ --_kanban-column-drop-border-width: var(--semantics-drop-targets-border-width);
88
+ --_kanban-column-available-border-color: var(--semantics-drop-targets-is-available-border-color);
89
+ --_kanban-column-over-border-color: var(--semantics-drop-targets-is-over-border-color);
90
+ --_kanban-column-over-background-color: var(--semantics-drop-targets-is-over-background-color);
91
+ --_kanban-column-header-padding: var(--primitives-space-12) var(--primitives-space-16) var(--primitives-space-4);
92
+ --_kanban-column-header-gap: var(--primitives-space-8);
93
+ --_kanban-column-title-font: var(--primitives-font-body-md-bold-tight);
94
+ --_kanban-column-count-color: var(--semantics-content-secondary-color);
95
+ --_kanban-column-count-font: var(--primitives-font-body-sm-regular-tight);
96
+ --_kanban-column-main-gap: var(--primitives-space-8);
97
+ --_kanban-column-main-padding: var(--primitives-space-8);
98
+ --_kanban-column-main-min-height: var(--primitives-space-80);
99
+ --_kanban-column-main-fade-size: var(--primitives-space-24);
100
+ --_kanban-column-main-fade-top: var(--primitives-space-0);
101
+ --_kanban-column-main-fade-bottom: var(--primitives-space-0);
102
+ --_kanban-column-placeholder-background-color: var(--semantics-drop-targets-placeholder-background-color);
103
+ --_kanban-column-placeholder-corner-radius: var(--semantics-surfaces-corner-radius);
104
+ --_kanban-column-placeholder-border-width: var(--semantics-drop-targets-border-width);
105
+ --_kanban-column-placeholder-border-color: var(--semantics-drop-indicators-color);
106
+ --_kanban-column-placeholder-top: 0px;
107
+ --_kanban-column-placeholder-left: 0px;
108
+ --_kanban-column-placeholder-width: 0px;
109
+ --_kanban-column-placeholder-height: 0px;
110
+ --_kanban-column-indicator-top: 0px;
111
+ --_kanban-column-indicator-inset: var(--primitives-space-8);
112
+ --_kanban-column-indicator-thickness: var(--primitives-border-width-regular);
113
+ --_kanban-column-indicator-color: var(--semantics-drop-indicators-color);
114
+
115
+ ${u}
116
+ box-sizing: border-box;
117
+ display: flex;
118
+ flex-shrink: 0;
119
+ width: var(--_kanban-column-width);
120
+ min-height: 0;
121
+ }
122
+
123
+ :host([hidden]) {
124
+ display: none;
125
+ }
126
+
127
+
128
+ /* # Block */
129
+
130
+ .kanban-column {
131
+ box-sizing: border-box;
132
+ display: flex;
133
+ border-radius: var(--_kanban-column-corner-radius);
134
+ box-shadow: inset 0 0 0 var(--_kanban-column-highlight-border-width) var(--_kanban-column-highlight-border-color);
135
+ background-color: var(--_kanban-column-background-color);
136
+ width: 100%;
137
+ min-height: 0;
138
+ max-height: 100%;
139
+ flex-direction: column;
140
+ }
141
+
142
+ .kanban-column.is-drop-available {
143
+ --_kanban-column-highlight-border-width: var(--_kanban-column-drop-border-width);
144
+ --_kanban-column-highlight-border-color: var(--_kanban-column-available-border-color);
145
+ }
146
+
147
+ .kanban-column.is-drop-over {
148
+ --_kanban-column-highlight-border-width: var(--_kanban-column-drop-border-width);
149
+ --_kanban-column-highlight-border-color: var(--_kanban-column-over-border-color);
150
+ --_kanban-column-background-color: var(--_kanban-column-over-background-color);
151
+ }
152
+
153
+
154
+ /* # Elements */
155
+
156
+ .kanban-column__header {
157
+ display: flex;
158
+ flex-shrink: 0;
159
+ padding: var(--_kanban-column-header-padding);
160
+ gap: var(--_kanban-column-header-gap);
161
+ align-items: center;
162
+ }
163
+
164
+ .kanban-column__title {
165
+ min-width: 0;
166
+ flex-grow: 1;
167
+ color: var(--semantics-content-color);
168
+ font: var(--_kanban-column-title-font);
169
+ text-wrap: balance;
170
+ }
171
+
172
+ .kanban-column__count {
173
+ flex-shrink: 0;
174
+ color: var(--_kanban-column-count-color);
175
+ font: var(--_kanban-column-count-font);
176
+ }
177
+
178
+ .kanban-column__main {
179
+ box-sizing: border-box;
180
+ display: flex;
181
+ position: relative;
182
+ min-height: var(--_kanban-column-main-min-height);
183
+ overflow-y: auto;
184
+ padding: var(--_kanban-column-main-padding);
185
+ flex-direction: column;
186
+ flex-grow: 1;
187
+ gap: var(--_kanban-column-main-gap);
188
+ mask-image: linear-gradient(to bottom, transparent 0, black var(--_kanban-column-main-fade-top), black calc(100% - var(--_kanban-column-main-fade-bottom)), transparent 100%);
189
+ }
190
+
191
+ .kanban-column__main.can-scroll-up {
192
+ --_kanban-column-main-fade-top: var(--_kanban-column-main-fade-size);
193
+ }
194
+
195
+ .kanban-column__main.can-scroll-down {
196
+ --_kanban-column-main-fade-bottom: var(--_kanban-column-main-fade-size);
197
+ }
198
+
199
+ .kanban-column__footer {
200
+ flex-shrink: 0;
201
+ }
202
+
203
+ .kanban-column__footer[hidden] {
204
+ display: none;
205
+ }
206
+
207
+ ::slotted(*) {
208
+ flex-shrink: 0;
209
+ -webkit-touch-callout: none;
210
+ }
211
+
212
+ /* The item keeps its place while it is dragged, as an empty slot. */
213
+ ::slotted([data-kanban-dragging]) {
214
+ visibility: hidden;
215
+ }
216
+
217
+ .kanban-column__placeholder {
218
+ position: absolute;
219
+ top: var(--_kanban-column-placeholder-top);
220
+ left: var(--_kanban-column-placeholder-left);
221
+ border-radius: var(--_kanban-column-placeholder-corner-radius);
222
+ background-color: var(--_kanban-column-placeholder-background-color);
223
+ pointer-events: none;
224
+ width: var(--_kanban-column-placeholder-width);
225
+ height: var(--_kanban-column-placeholder-height);
226
+ }
227
+
228
+ .kanban-column__placeholder.is-returning {
229
+ box-shadow: inset 0 0 0 var(--_kanban-column-placeholder-border-width) var(--_kanban-column-placeholder-border-color);
230
+ }
231
+
232
+ .kanban-column__placeholder[hidden] {
233
+ display: none;
234
+ }
235
+
236
+ .kanban-column__drop-indicator {
237
+ position: absolute;
238
+ top: var(--_kanban-column-indicator-top);
239
+ right: var(--_kanban-column-indicator-inset);
240
+ left: var(--_kanban-column-indicator-inset);
241
+ border-radius: var(--_kanban-column-indicator-thickness);
242
+ background-color: var(--_kanban-column-indicator-color);
243
+ pointer-events: none;
244
+ height: var(--_kanban-column-indicator-thickness);
245
+ transform: translateY(-50%);
246
+ }
247
+
248
+ .kanban-column__drop-indicator[hidden] {
249
+ display: none;
250
+ }
251
+
252
+
253
+ /* # High contrast */
254
+
255
+ @media (forced-colors: active) {
256
+ .kanban-column {
257
+ border: var(--_kanban-column-highlight-border-width) solid CanvasText;
258
+ }
259
+
260
+ .kanban-column__drop-indicator {
261
+ background-color: Highlight;
262
+ }
263
+ }
264
+ `;
265
+ // src/components/layout/kanban/kanban-column.template.ts
266
+ function m(e) {
267
+ return i`
268
+ <section class=${d({
269
+ "kanban-column": !0,
270
+ "is-drop-available": e._dropState === "available",
271
+ "is-drop-over": e._dropState === "over"
272
+ })}
273
+ aria-label=${e.label || a}
274
+ >
275
+ <div class="kanban-column__header">
276
+ <slot name="header">
277
+ <span class="kanban-column__title">
278
+ ${e.text}
279
+ </span>
280
+ <span class="kanban-column__count">
281
+ ${e._count}
282
+ </span>
283
+ </slot>
284
+ </div>
285
+ <div class=${d({
286
+ "kanban-column__main": !0,
287
+ "can-scroll-up": e._canScrollUp,
288
+ "can-scroll-down": e._canScrollDown
289
+ })}
290
+ @scroll=${e._updateScroll}
291
+ >
292
+ <div class="kanban-column__placeholder${e._returning ? " is-returning" : ""}"
293
+ ?hidden=${!e._placeholder}
294
+ ></div>
295
+ <slot @slotchange=${e._handleSlotChange}></slot>
296
+ <div class="kanban-column__footer"
297
+ ?hidden=${!e._hasFooter}
298
+ >
299
+ <slot name="footer" @slotchange=${e._handleFooterChange}></slot>
300
+ </div>
301
+ <div class="kanban-column__drop-indicator"
302
+ ?hidden=${e._dropIndex === null}
303
+ ></div>
304
+ </div>
305
+ </section>
306
+ `;
307
+ }
308
+ // src/components/layout/kanban/kanban-column.ts
309
+ var h = class extends r {
310
+ constructor(...e) {
311
+ super(...e), this.text = "", this.accessibleLabel = "", this.value = "", this._count = 0, this._hasFooter = !1, this._dropIndex = null, this._placeholder = null, this._returning = !1, this._dropState = null, this._canScrollUp = !1, this._canScrollDown = !1, this._resizeObserver = null, this._updateScroll = () => {
312
+ let e = this._mainElement;
313
+ e && (this._canScrollUp = e.scrollTop > 1, this._canScrollDown = e.scrollTop < e.scrollHeight - e.clientHeight - 1);
314
+ };
315
+ }
316
+ get label() {
317
+ return this.accessibleLabel || this.text;
318
+ }
319
+ get items() {
320
+ return Array.from(this.children).filter((e) => e instanceof HTMLElement && !e.slot && !e.hidden);
321
+ }
322
+ get _main() {
323
+ return this._mainElement;
324
+ }
325
+ _handleSlotChange() {
326
+ this._count = this.items.length, this._observeItems(), this._updateScroll();
327
+ }
328
+ _observeItems() {
329
+ if (!this._resizeObserver || !this._mainElement) return;
330
+ this._resizeObserver.disconnect(), this._resizeObserver.observe(this._mainElement);
331
+ for (let e of this.items) this._resizeObserver.observe(e);
332
+ let e = this.shadowRoot?.querySelector(".kanban-column__footer");
333
+ e && this._resizeObserver.observe(e);
334
+ }
335
+ connectedCallback() {
336
+ super.connectedCallback(), this.hasUpdated && !this._resizeObserver && (this._resizeObserver = new ResizeObserver(this._updateScroll), this._observeItems());
337
+ }
338
+ disconnectedCallback() {
339
+ super.disconnectedCallback(), this._resizeObserver?.disconnect(), this._resizeObserver = null;
340
+ }
341
+ _handleFooterChange(e) {
342
+ this._hasFooter = e.target.assignedNodes().length > 0;
343
+ }
344
+ firstUpdated() {
345
+ this._resizeObserver = new ResizeObserver(this._updateScroll), this._observeItems();
346
+ }
347
+ updated(e) {
348
+ e.has("_dropIndex") && this._placeIndicator(), e.has("_placeholder") && this._placePlaceholder();
349
+ }
350
+ _placePlaceholder() {
351
+ let e = this._placeholder, t = this.shadowRoot?.querySelector(".kanban-column__placeholder");
352
+ if (!e || !t) return;
353
+ let n = this._mainElement.getBoundingClientRect(), r = e.getBoundingClientRect();
354
+ t.style.setProperty("--_kanban-column-placeholder-top", `${r.top - n.top + this._mainElement.scrollTop}px`), t.style.setProperty("--_kanban-column-placeholder-left", `${r.left - n.left + this._mainElement.scrollLeft}px`), t.style.setProperty("--_kanban-column-placeholder-width", `${r.width}px`), t.style.setProperty("--_kanban-column-placeholder-height", `${r.height}px`);
355
+ }
356
+ _placeIndicator() {
357
+ if (this._dropIndex === null || !this._indicator) return;
358
+ let e = this.items, t = this._mainElement.getBoundingClientRect(), n = parseFloat(getComputedStyle(this._mainElement).rowGap) || 0, r = e[this._dropIndex], i = e[this._dropIndex - 1], a;
359
+ a = r ? r.getBoundingClientRect().top - n / 2 : i ? i.getBoundingClientRect().bottom + n / 2 : t.top + parseFloat(getComputedStyle(this._mainElement).paddingTop), this._indicator.style.setProperty("--_kanban-column-indicator-top", `${a - t.top + this._mainElement.scrollTop}px`);
360
+ }
361
+ render() {
362
+ return m(this);
363
+ }
364
+ }, g = (h.styles = p, h);
365
+ o([t({
366
+ reflect: !0,
367
+ converter: l("")
368
+ })], g.prototype, "text", void 0), o([t({
369
+ type: String,
370
+ attribute: "accessible-label"
371
+ })], g.prototype, "accessibleLabel", void 0), o([t({
372
+ reflect: !0,
373
+ converter: l("")
374
+ })], g.prototype, "value", void 0), o([n()], g.prototype, "_count", void 0), o([n()], g.prototype, "_hasFooter", void 0), o([n()], g.prototype, "_dropIndex", void 0), o([n()], g.prototype, "_placeholder", void 0), o([n()], g.prototype, "_returning", void 0), o([n()], g.prototype, "_dropState", void 0), o([n()], g.prototype, "_canScrollUp", void 0), o([n()], g.prototype, "_canScrollDown", void 0), o([c(".kanban-column__main")], g.prototype, "_mainElement", void 0), o([c(".kanban-column__drop-indicator")], g.prototype, "_indicator", void 0), g = o([s("nldd-kanban-column")], g);
375
+ export { g as NLDDKanbanColumn, f as t };
@@ -0,0 +1,11 @@
1
+ // src/components/layout/kanban/kanban.i18n.ts
2
+ var e = {
3
+ "components.kanban.accessible-label": "Bord",
4
+ "components.kanban.moved-text": "Verplaatst naar {column}, {position} van {total}.",
5
+ "components.kanban.no-change-text": "Neergezet, plek ongewijzigd.",
6
+ "components.kanban.edge-text": "Kan niet verder.",
7
+ "components.kanban.drag-canceled-text": "Slepen geannuleerd.",
8
+ "components.kanban.readonly-text": "Dit bord is alleen-lezen",
9
+ "components.kanban.drag-return-text": "Terug naar de oude plek"
10
+ };
11
+ export { e as t };
@@ -0,0 +1,267 @@
1
+ import { r as e } from "./icon-BORlalt0.js";
2
+ import { i as t, n } from "./custom-element-q6NzoL5b.js";
3
+ import { n as r, o as i, t as a } from "./decorate-TduJMFD_.js";
4
+ import { t as o } from "./custom-element-BW8Ua4c7.js";
5
+ import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
6
+ import { t as c } from "./shadow-resets-6SToDsPu.js";
7
+ // src/utilities/os.ts
8
+ var l = null, u = null;
9
+ function d(e) {
10
+ let t = e.toLowerCase();
11
+ return /mac|iphone|ipad|ipod|ios/.test(t) ? "mac" : /win/.test(t) ? "windows" : /android/.test(t) ? "other" : /linux|cros/.test(t) ? "linux" : "other";
12
+ }
13
+ function f() {
14
+ if (u !== null) return u;
15
+ if (l !== null) return l;
16
+ if (typeof navigator > "u") return l = "other", l;
17
+ let e = navigator;
18
+ return l = d(e.userAgentData?.platform || e.platform || ""), l;
19
+ }
20
+ // src/utilities/shortcut.ts
21
+ function p(e) {
22
+ return !!(e.shortcut || e.shortcutMac || e.shortcutWindows || e.shortcutLinux);
23
+ }
24
+ function m(e, t) {
25
+ return t === "mac" && e.macKeys ? e.macKeys : t === "windows" && e.windowsKeys ? e.windowsKeys : t === "linux" && e.linuxKeys ? e.linuxKeys : e.keys;
26
+ }
27
+ function h(e) {
28
+ if (!e) return [];
29
+ let t = e.trim().replace(/\s*\+\s*/g, "+");
30
+ return t === "+" ? ["+"] : t.replace(/\+\+\+/g, "+\0+").replace(/\+\+$/, "+\0").split("+").map((e) => e.trim().split("\0").join("+")).filter(Boolean);
31
+ }
32
+ var g = "(any-hover: none)";
33
+ function _() {
34
+ return typeof matchMedia != "function" || !matchMedia(g).matches;
35
+ }
36
+ var v = class {
37
+ constructor(e, t) {
38
+ this._query = typeof matchMedia == "function" ? matchMedia(g) : null, this._handleChange = () => this._onChange(), this._onChange = t ?? (() => e.requestUpdate()), e.addController(this);
39
+ }
40
+ hostConnected() {
41
+ this._query?.addEventListener("change", this._handleChange);
42
+ }
43
+ hostDisconnected() {
44
+ this._query?.removeEventListener("change", this._handleChange);
45
+ }
46
+ };
47
+ function y(e) {
48
+ return !p(e) || !_() ? "" : h(m({
49
+ keys: e.shortcut,
50
+ macKeys: e.shortcutMac,
51
+ windowsKeys: e.shortcutWindows,
52
+ linuxKeys: e.shortcutLinux
53
+ }, f())).join(" ");
54
+ }
55
+ // src/components/content/keyboard-shortcut/keyboard-shortcut.styles.ts
56
+ var b = t`
57
+ :host {
58
+ box-sizing: border-box;
59
+ }
60
+
61
+
62
+ /* # Host */
63
+
64
+ :host {
65
+ --_keyboard-shortcut-size: var(--primitives-space-24);
66
+ --_keyboard-shortcut-inline-padding: var(--primitives-space-4);
67
+ --_keyboard-shortcut-font-family: var(--primitives-font-family-monospace);
68
+ --_keyboard-shortcut-font-size: var(--primitives-font-size-80);
69
+ --_keyboard-shortcut-font-weight: var(--primitives-font-weight-body-regular);
70
+ --_keyboard-shortcut-line-height: var(--primitives-line-height-flat);
71
+ --_keyboard-shortcut-content-color: var(--semantics-content-color);
72
+ --_keyboard-shortcut-separator-color: var(--semantics-content-secondary-color);
73
+ --_keyboard-shortcut-highlight-border-color: light-dark(var(--primitives-color-neutral-150), var(--primitives-color-neutral-250));
74
+ --_keyboard-shortcut-background-color: var(--semantics-surfaces-tinted-background-color);
75
+ --_keyboard-shortcut-border-width: var(--primitives-border-width-thin);
76
+ --_keyboard-shortcut-corner-radius: var(--primitives-corner-radius-xs);
77
+
78
+ ${c}
79
+ display: inline-flex;
80
+ vertical-align: middle;
81
+ }
82
+
83
+ :host([color="inherit"]) {
84
+ --_keyboard-shortcut-content-color: currentColor;
85
+ --_keyboard-shortcut-separator-color: currentColor;
86
+ --_keyboard-shortcut-highlight-border-color: color-mix(in oklab, var(--semantics-content-contrast-color) 10%, transparent);
87
+ --_keyboard-shortcut-background-color: color-mix(in oklab, var(--semantics-content-contrast-color) 20%, transparent);
88
+ }
89
+
90
+ :host([size="sm"]) {
91
+ --_keyboard-shortcut-size: var(--primitives-space-20);
92
+ --_keyboard-shortcut-font-size: var(--primitives-font-size-70);
93
+ }
94
+
95
+ :host([size="inherit"]) {
96
+ --_keyboard-shortcut-size: 1.5em;
97
+ --_keyboard-shortcut-inline-padding: 0.35em;
98
+ --_keyboard-shortcut-font-size: 0.75em;
99
+ }
100
+
101
+ :host([appearance="simple"]) {
102
+ --_keyboard-shortcut-font-family: var(--primitives-font-family-body);
103
+ --_keyboard-shortcut-font-size: var(--primitives-font-size-100);
104
+
105
+ vertical-align: baseline;
106
+ }
107
+
108
+ :host([appearance="simple"][size="sm"]) {
109
+ --_keyboard-shortcut-font-size: var(--primitives-font-size-90);
110
+ }
111
+
112
+ :host([appearance="simple"][size="inherit"]) {
113
+ --_keyboard-shortcut-font-size: inherit;
114
+ }
115
+
116
+ :host([hidden]) {
117
+ display: none;
118
+ }
119
+
120
+ /* Same query as shortcutsAvailable() in utilities/shortcut.ts. */
121
+ @media (any-hover: none) {
122
+ :host(:not([always-visible])) {
123
+ display: none;
124
+ }
125
+ }
126
+
127
+
128
+ /* # Block */
129
+
130
+ .keyboard-shortcut {
131
+ display: inline-flex;
132
+ gap: var(--primitives-space-2);
133
+ align-items: center;
134
+ }
135
+
136
+ :host([size="inherit"]) .keyboard-shortcut {
137
+ position: relative;
138
+ top: -0.05em;
139
+ }
140
+
141
+ :host([size="inherit"][appearance="simple"]) .keyboard-shortcut {
142
+ position: static;
143
+ }
144
+
145
+
146
+ /* # Elements */
147
+
148
+ .keyboard-shortcut__key {
149
+ box-sizing: border-box;
150
+ display: inline-flex;
151
+ box-shadow: inset 0 0 0 var(--_keyboard-shortcut-border-width) var(--_keyboard-shortcut-highlight-border-color);
152
+ border-radius: var(--_keyboard-shortcut-corner-radius);
153
+ background-color: var(--_keyboard-shortcut-background-color);
154
+ min-width: var(--_keyboard-shortcut-size);
155
+ height: var(--_keyboard-shortcut-size);
156
+ padding: 0 var(--_keyboard-shortcut-inline-padding);
157
+ align-items: center;
158
+ justify-content: center;
159
+ color: var(--_keyboard-shortcut-content-color);
160
+ font-family: var(--_keyboard-shortcut-font-family);
161
+ font-size: var(--_keyboard-shortcut-font-size);
162
+ font-weight: var(--_keyboard-shortcut-font-weight);
163
+ line-height: var(--_keyboard-shortcut-line-height);
164
+ white-space: nowrap;
165
+ }
166
+
167
+ :host([appearance="simple"]) .keyboard-shortcut {
168
+ gap: 0;
169
+ }
170
+
171
+ :host([appearance="simple"]) .keyboard-shortcut__key {
172
+ box-shadow: none;
173
+ background-color: transparent;
174
+ border-radius: 0;
175
+ min-width: 0;
176
+ height: auto;
177
+ padding: 0;
178
+ }
179
+
180
+ @media (forced-colors: active) {
181
+ .keyboard-shortcut__key {
182
+ color: CanvasText;
183
+ }
184
+
185
+ :host(:not([appearance="simple"])) .keyboard-shortcut__key {
186
+ border: var(--_keyboard-shortcut-border-width) solid CanvasText;
187
+ background-color: Canvas;
188
+ }
189
+ }
190
+
191
+ .keyboard-shortcut__separator {
192
+ color: var(--_keyboard-shortcut-separator-color);
193
+ font-family: var(--_keyboard-shortcut-font-family);
194
+ font-size: var(--_keyboard-shortcut-font-size);
195
+ font-weight: var(--_keyboard-shortcut-font-weight);
196
+ line-height: var(--_keyboard-shortcut-line-height);
197
+ }
198
+ `;
199
+ // src/components/content/keyboard-shortcut/keyboard-shortcut.template.ts
200
+ function x(e) {
201
+ let t = e._parsedKeys;
202
+ return t.length === 0 ? i`
203
+ <kbd class="keyboard-shortcut">
204
+ <slot></slot>
205
+ </kbd>
206
+ ` : i`
207
+ <kbd class="keyboard-shortcut">
208
+ ${t.map((e, t) => i`
209
+ ${t > 0 ? i`<span class="keyboard-shortcut__separator"
210
+ aria-hidden="true"
211
+ >+</span>` : ""}
212
+ <kbd class="keyboard-shortcut__key">${e}</kbd>
213
+ `)}
214
+ </kbd>
215
+ `;
216
+ }
217
+ // src/components/content/keyboard-shortcut/keyboard-shortcut.ts
218
+ var S = /* @__PURE__ */ e({ NLDDKeyboardShortcut: () => w }), C = class extends r {
219
+ constructor(...e) {
220
+ super(...e), this.keys = "", this.macKeys = "", this.windowsKeys = "", this.linuxKeys = "", this.size = "md", this.appearance = "box", this.color = "neutral", this.alwaysVisible = !1, this.debugOS = "";
221
+ }
222
+ get _resolvedOS() {
223
+ return this.debugOS || f();
224
+ }
225
+ get _resolvedKeys() {
226
+ return m(this, this._resolvedOS);
227
+ }
228
+ get _parsedKeys() {
229
+ return h(this._resolvedKeys);
230
+ }
231
+ render() {
232
+ return x(this);
233
+ }
234
+ }, w = (C.styles = b, C);
235
+ a([n({
236
+ reflect: !0,
237
+ converter: s("")
238
+ })], w.prototype, "keys", void 0), a([n({
239
+ reflect: !0,
240
+ attribute: "mac-keys",
241
+ converter: s("")
242
+ })], w.prototype, "macKeys", void 0), a([n({
243
+ reflect: !0,
244
+ attribute: "windows-keys",
245
+ converter: s("")
246
+ })], w.prototype, "windowsKeys", void 0), a([n({
247
+ reflect: !0,
248
+ attribute: "linux-keys",
249
+ converter: s("")
250
+ })], w.prototype, "linuxKeys", void 0), a([n({
251
+ reflect: !0,
252
+ converter: s("md")
253
+ })], w.prototype, "size", void 0), a([n({
254
+ reflect: !0,
255
+ converter: s("box")
256
+ })], w.prototype, "appearance", void 0), a([n({
257
+ reflect: !0,
258
+ converter: s("neutral")
259
+ })], w.prototype, "color", void 0), a([n({
260
+ type: Boolean,
261
+ reflect: !0,
262
+ attribute: "always-visible"
263
+ })], w.prototype, "alwaysVisible", void 0), a([n({
264
+ type: String,
265
+ attribute: "debug-os"
266
+ })], w.prototype, "debugOS", void 0), w = a([o("nldd-keyboard-shortcut")], w);
267
+ export { _ as a, y as i, v as n, p as r, S as t };