@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,253 @@
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 { r as u } from "./element-state-B-44fVqq.js";
7
+ import { t as d } from "./shadow-resets-6SToDsPu.js";
8
+ import { t as f } from "./with-translations-XX14GKFh.js";
9
+ import { t as p } from "./carried-context-DlMSujiJ.js";
10
+ import "./menu-BOu_pD1Q.js";
11
+ import { t as m } from "./list-items-Du0RCWsY.js";
12
+ import "./menu-bar-item-DGSC_ETi.js";
13
+ import { t as h } from "./menu-bar.i18n-BoMu4Eoz.js";
14
+ // src/components/navigation/menu-bar/menu-bar.styles.ts
15
+ var g = e`
16
+ :host {
17
+ box-sizing: border-box;
18
+ }
19
+
20
+
21
+ /* # Host */
22
+
23
+ :host {
24
+ ${d}
25
+ display: flex;
26
+ min-width: 0;
27
+ flex-grow: 1;
28
+ flex-shrink: 1;
29
+ -webkit-user-select: none;
30
+ user-select: none;
31
+ }
32
+
33
+ :host([hidden]),
34
+ :host([empty]) {
35
+ display: none;
36
+ }
37
+
38
+
39
+ /* # Block */
40
+
41
+ .menu-bar {
42
+ display: flex;
43
+ min-width: 0;
44
+ flex-direction: row;
45
+ flex-grow: 1;
46
+ flex-shrink: 1;
47
+ align-items: center;
48
+ }
49
+
50
+
51
+ /* # Elements */
52
+
53
+ .menu-bar__list {
54
+ display: flex;
55
+ min-width: 0;
56
+ flex-direction: row;
57
+ flex-grow: 1;
58
+ flex-shrink: 1;
59
+ align-items: center;
60
+ }
61
+
62
+ .menu-bar__overflow-button {
63
+ display: none;
64
+ }
65
+ `;
66
+ // src/components/navigation/menu-bar/menu-bar.template.ts
67
+ function _(e) {
68
+ return i`
69
+ <nav class="menu-bar"
70
+ aria-label=${e.accessibleLabel || a}
71
+ >
72
+ <div class="menu-bar__list"
73
+ role="list"
74
+ >
75
+ <slot></slot>
76
+ <div class="menu-bar__overflow-button"
77
+ role="listitem"
78
+ >
79
+ <nldd-menu-bar-item
80
+ text="${e._overflowText}"
81
+ icon="ellipsis"
82
+ icon-only
83
+ haspopup="menu"
84
+ ?expanded=${e._menuOpen}
85
+ @pointerdown=${e._handleOverflowButtonPointerdown}
86
+ @click=${e._toggleOverflowMenu}
87
+ >
88
+ <!-- The overflow popover is opened/closed explicitly by
89
+ _toggleOverflowMenu (same mechanism as an expandable
90
+ nldd-menu-bar-item's own submenu): anchored to this
91
+ always-visible trigger + a reopen guard. aria-controls
92
+ omitted: ARIA IDREF attributes cannot cross shadow DOM
93
+ boundaries and the menu is reparented to document.body;
94
+ haspopup + expanded forward to the inner button and give
95
+ sufficient AT context for WCAG 2.1 AA. -->
96
+ </nldd-menu-bar-item>
97
+ </div>
98
+ </div>
99
+ </nav>
100
+ `;
101
+ }
102
+ // src/components/navigation/menu-bar/menu-bar.ts
103
+ var v = class extends f(r, h) {
104
+ constructor(...e) {
105
+ super(...e), this.overflowText = "", this.accessibleLabel = "", this.compact = !1, this._menuOpen = !1, this._overflowMenu = null, this._overflowPointerdownWhileOpen = !1, this._overflowUpdatePending = !1, this._resizeObserver = null, this._overflowRAF = null, this._setupRAF = null, this._onSlotChange = () => {
106
+ m(this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []), this._syncCompactAttribute(), this._scheduleOverflowUpdate(), this._syncEmpty();
107
+ }, this._scheduleOverflowUpdate = () => {
108
+ this._overflowRAF && cancelAnimationFrame(this._overflowRAF), this._overflowRAF = requestAnimationFrame(() => {
109
+ this._overflowRAF = null, this._updateOverflow();
110
+ });
111
+ }, this._toggleOverflowMenu = () => {
112
+ if (this._overflowPointerdownWhileOpen) {
113
+ this._overflowPointerdownWhileOpen = !1;
114
+ return;
115
+ }
116
+ if (this._createOverflowMenu(), !this._overflowMenu) return;
117
+ let e = this._overflowButton?.querySelector("nldd-menu-bar-item");
118
+ this._overflowMenu.anchorElement = e ?? this._overflowButton, this._menuOpen ? this._overflowMenu.hidePopover() : (this._populateOverflowMenu(), p(this._overflowMenu, this), this._overflowMenu.showPopover());
119
+ }, this._handleOverflowButtonPointerdown = () => {
120
+ this._menuOpen && (this._overflowPointerdownWhileOpen = !0);
121
+ };
122
+ }
123
+ willUpdate(e) {
124
+ super.willUpdate(e), e.has("compact") && this._syncCompactAttribute();
125
+ }
126
+ get _overflowText() {
127
+ return this.overflowText || this._t("components.menu-bar.overflow-action");
128
+ }
129
+ disconnectedCallback() {
130
+ super.disconnectedCallback(), this._cleanupOverflowDetection(), this._overflowMenu?.remove(), this._overflowMenu = null;
131
+ }
132
+ firstUpdated() {
133
+ this._setupOverflowDetection(), this._syncCompactAttribute(), this._syncEmpty();
134
+ }
135
+ updated(e) {
136
+ e.has("accessibleLabel") && this._syncName();
137
+ }
138
+ requestOverflowUpdate() {
139
+ this._scheduleOverflowUpdate();
140
+ }
141
+ _syncEmpty() {
142
+ let e = (this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []).some((e) => e.tagName === "NLDD-MENU-BAR-ITEM");
143
+ this.toggleAttribute("empty", !e), this._syncName();
144
+ }
145
+ _syncName() {
146
+ u(this, "unnamed", !this.accessibleLabel && !this.hasAttribute("empty"));
147
+ }
148
+ _syncCompactAttribute() {
149
+ let e = this._defaultSlot?.assignedElements({ flatten: !0 }) ?? [];
150
+ for (let t of e) t.toggleAttribute("compact", this.compact);
151
+ }
152
+ _setupOverflowDetection() {
153
+ this._cleanupOverflowDetection(), this._setupRAF = requestAnimationFrame(() => {
154
+ this._setupRAF = null, this.isConnected && (this._resizeObserver = new ResizeObserver(() => {
155
+ this._scheduleOverflowUpdate();
156
+ }), this._resizeObserver.observe(this), this._defaultSlot && (this._defaultSlot.addEventListener("slotchange", this._onSlotChange), m(this._defaultSlot.assignedElements({ flatten: !0 }))), this._scheduleOverflowUpdate());
157
+ });
158
+ }
159
+ _cleanupOverflowDetection() {
160
+ this._setupRAF && (cancelAnimationFrame(this._setupRAF), this._setupRAF = null), this._overflowRAF && (cancelAnimationFrame(this._overflowRAF), this._overflowRAF = null), this._resizeObserver && (this._resizeObserver.disconnect(), this._resizeObserver = null), this._defaultSlot && this._defaultSlot.removeEventListener("slotchange", this._onSlotChange);
161
+ }
162
+ _updateOverflow() {
163
+ let e = this._overflowButton;
164
+ if (!e) return;
165
+ if (this._menuOpen) {
166
+ this._overflowUpdatePending = !0;
167
+ return;
168
+ }
169
+ let t = (this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []).filter((e) => e.tagName === "NLDD-MENU-BAR-ITEM");
170
+ if (t.length === 0) {
171
+ e.style.display = "none";
172
+ return;
173
+ }
174
+ t.forEach((e) => {
175
+ e.style.display = "", e.removeAttribute("data-overflow");
176
+ }), e.style.display = "inline-block";
177
+ let n = this.clientWidth;
178
+ if (t.reduce((e, t) => e + t.offsetWidth, 0) <= n) {
179
+ e.style.display = "none";
180
+ return;
181
+ }
182
+ let r = n - e.offsetWidth, i = 0, a = -1;
183
+ for (let e = 0; e < t.length; e++) {
184
+ let n = t[e].offsetWidth;
185
+ if (i + n > r) {
186
+ a = e;
187
+ break;
188
+ }
189
+ i += n;
190
+ }
191
+ if (a >= 0) for (let e = a; e < t.length; e++) t[e].style.display = "none", t[e].setAttribute("data-overflow", "true");
192
+ else e.style.display = "none";
193
+ }
194
+ _createOverflowMenu() {
195
+ if (this._overflowMenu || typeof document > "u") return;
196
+ let e = document.createElement("nldd-menu");
197
+ e.setAttribute("placement", "bottom-end"), e.addEventListener("toggle", (e) => {
198
+ let t = e.newState === "open";
199
+ this._menuOpen = t, t || this._overflowUpdatePending && (this._overflowUpdatePending = !1, this._scheduleOverflowUpdate());
200
+ }), document.body.appendChild(e), this._overflowMenu = e;
201
+ }
202
+ _populateOverflowMenu() {
203
+ if (!this._overflowMenu) return;
204
+ this._overflowMenu.replaceChildren();
205
+ let e = (this._defaultSlot?.assignedElements({ flatten: !0 }) ?? []).filter((e) => e.tagName === "NLDD-MENU-BAR-ITEM" && e.hasAttribute("data-overflow"));
206
+ for (let t of e) {
207
+ let e = document.createElement("nldd-menu-item");
208
+ if (e.setAttribute("text", t.text), t.icon && e.setAttribute("icon", t.icon), t.href && e.setAttribute("href", t.href), t.current && e.setAttribute("selected", ""), t.disabled && e.setAttribute("disabled", ""), t.expandable) {
209
+ let n = t.querySelectorAll("nldd-menu-item, nldd-menu-divider");
210
+ if (n.length > 0) {
211
+ let t = document.createElement("nldd-menu");
212
+ n.forEach((e) => {
213
+ let n = e.cloneNode(!0), r = e;
214
+ typeof r.select == "function" && n.addEventListener("click", () => r.select()), t.appendChild(n);
215
+ }), e.appendChild(t), this._overflowMenu.appendChild(e);
216
+ continue;
217
+ }
218
+ }
219
+ e.addEventListener("click", (e) => {
220
+ if (!t.href) {
221
+ t.click();
222
+ return;
223
+ }
224
+ let { button: n, ctrlKey: r, metaKey: i, shiftKey: a, altKey: o } = e, s = new MouseEvent("click", {
225
+ bubbles: !0,
226
+ cancelable: !0,
227
+ composed: !0,
228
+ button: n,
229
+ ctrlKey: r,
230
+ metaKey: i,
231
+ shiftKey: a,
232
+ altKey: o
233
+ });
234
+ t.dispatchEvent(s), s.defaultPrevented && e.preventDefault();
235
+ }), this._overflowMenu.appendChild(e);
236
+ }
237
+ }
238
+ render() {
239
+ return _(this);
240
+ }
241
+ }, y = (v.styles = g, v);
242
+ o([t({
243
+ reflect: !0,
244
+ attribute: "overflow-text",
245
+ converter: l("")
246
+ })], y.prototype, "overflowText", void 0), o([t({
247
+ type: String,
248
+ attribute: "accessible-label"
249
+ })], y.prototype, "accessibleLabel", void 0), o([t({
250
+ type: Boolean,
251
+ reflect: !0
252
+ })], y.prototype, "compact", void 0), o([c("slot:not([name])")], y.prototype, "_defaultSlot", void 0), o([c(".menu-bar__overflow-button")], y.prototype, "_overflowButton", void 0), o([n()], y.prototype, "_menuOpen", void 0), y = o([s("nldd-menu-bar")], y);
253
+ export { y as NLDDMenuBar };
@@ -0,0 +1,365 @@
1
+ import "./icon-BORlalt0.js";
2
+ import { i as e, n as t, t as n } from "./custom-element-q6NzoL5b.js";
3
+ import { n as r, o as i, r as a, t as o } from "./decorate-TduJMFD_.js";
4
+ import { t as s } from "./custom-element-BW8Ua4c7.js";
5
+ import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
6
+ import { t as l } from "./shadow-resets-6SToDsPu.js";
7
+ import { t as u } from "./defer-focus-F73ud2D9.js";
8
+ import "./tooltip-BsAHJjci.js";
9
+ import { t as d } from "./sanitize-url-CBuGmY0W.js";
10
+ import "./menu-BOu_pD1Q.js";
11
+ // src/components/navigation/menu-bar-item/menu-bar-item.styles.ts
12
+ var f = e`
13
+ :host {
14
+ box-sizing: border-box;
15
+ }
16
+
17
+
18
+ /* # Host */
19
+
20
+ :host {
21
+ --_menu-bar-item-indicator-z-index: 0;
22
+ --_menu-bar-item-content-z-index: 1;
23
+ --_menu-bar-item-focus-z-index: 1;
24
+ --_menu-bar-item-content-color: var(--components-menu-bar-item-content-color);
25
+ --_menu-bar-item-font: var(--primitives-font-body-md-medium-flat);
26
+ --_menu-bar-item-is-hovered-indicator-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-200));
27
+ --_menu-bar-item-is-expanded-indicator-background-color: light-dark(var(--primitives-color-neutral-75), var(--primitives-color-neutral-250));
28
+ --_menu-bar-item-is-current-indicator-background-color: var(--components-menu-bar-item-is-current-indicator-color);
29
+ --_menu-bar-item-is-current-indicator-height: var(--primitives-space-4);
30
+
31
+ ${l}
32
+ display: inline-block;
33
+ position: relative;
34
+ flex-grow: 0;
35
+ flex-shrink: 0;
36
+ flex-basis: auto;
37
+ isolation: isolate;
38
+ -webkit-user-select: none;
39
+ user-select: none;
40
+ -webkit-tap-highlight-color: transparent;
41
+ }
42
+
43
+ :host([hidden]) {
44
+ display: none;
45
+ }
46
+
47
+
48
+ /* # Block */
49
+
50
+ .menu-bar-item {
51
+ box-sizing: border-box;
52
+ display: flex;
53
+ position: relative;
54
+ margin: 0;
55
+ border: none;
56
+ background: none;
57
+ min-width: var(--semantics-controls-md-min-size);
58
+ height: var(--semantics-controls-md-min-size);
59
+ padding: 0 var(--semantics-menu-bar-items-inline-padding);
60
+ gap: var(--primitives-space-4);
61
+ align-items: center;
62
+ justify-content: center;
63
+ text-align: center;
64
+ color: var(--_menu-bar-item-content-color);
65
+ font: var(--_menu-bar-item-font);
66
+ text-decoration: none;
67
+ white-space: nowrap;
68
+ appearance: none;
69
+ }
70
+
71
+ a.menu-bar-item {
72
+ cursor: var(--semantics-controls-link-cursor);
73
+ }
74
+
75
+ /* ## Hover indicator (::before) */
76
+
77
+ .menu-bar-item::before {
78
+ content: '';
79
+ position: absolute;
80
+ top: var(--primitives-space-6);
81
+ right: 0;
82
+ bottom: var(--primitives-space-6);
83
+ left: 0;
84
+ z-index: var(--_menu-bar-item-indicator-z-index);
85
+ border-radius: var(--semantics-controls-sm-corner-radius);
86
+ pointer-events: none;
87
+ }
88
+
89
+ @media (hover: hover) {
90
+ .menu-bar-item:hover::before {
91
+ background-color: var(--_menu-bar-item-is-hovered-indicator-background-color);
92
+ }
93
+ }
94
+
95
+ :host([expanded]) .menu-bar-item::before {
96
+ background-color: var(--_menu-bar-item-is-expanded-indicator-background-color);
97
+ }
98
+
99
+ @media (hover: hover) {
100
+ :host([expanded]) .menu-bar-item:hover::before {
101
+ background-color: var(--_menu-bar-item-is-hovered-indicator-background-color);
102
+ }
103
+ }
104
+
105
+ /* ## Current indicator (::after) */
106
+
107
+ :host([current]) .menu-bar-item::after {
108
+ content: '';
109
+ position: absolute;
110
+ right: var(--primitives-space-8);
111
+ bottom: 0;
112
+ left: var(--primitives-space-8);
113
+ z-index: var(--_menu-bar-item-indicator-z-index);
114
+ background-color: var(--_menu-bar-item-is-current-indicator-background-color);
115
+ height: var(--_menu-bar-item-is-current-indicator-height);
116
+ pointer-events: none;
117
+ }
118
+
119
+ /* ## Text */
120
+
121
+ .menu-bar-item__text {
122
+ position: relative;
123
+ z-index: var(--_menu-bar-item-content-z-index);
124
+ }
125
+
126
+ /* ## Icon */
127
+
128
+ .menu-bar-item__icon {
129
+ z-index: var(--_menu-bar-item-content-z-index);
130
+ width: var(--primitives-space-20);
131
+ height: var(--primitives-space-20);
132
+ flex-shrink: 0;
133
+ }
134
+
135
+ .menu-bar-item__icon[hidden] {
136
+ display: none;
137
+ }
138
+
139
+ ::slotted([slot="icon"]) {
140
+ display: flex;
141
+ width: 100%;
142
+ height: 100%;
143
+ }
144
+
145
+ /* ## Disclosure icon */
146
+
147
+ .menu-bar-item__disclosure-icon {
148
+ z-index: var(--_menu-bar-item-content-z-index);
149
+ width: var(--primitives-space-16);
150
+ height: var(--primitives-space-16);
151
+ }
152
+
153
+
154
+ /* # Focus */
155
+
156
+ :host(:focus-within) {
157
+ z-index: var(--_menu-bar-item-focus-z-index);
158
+ }
159
+
160
+ .menu-bar-item:focus-visible {
161
+ outline: none;
162
+ }
163
+
164
+ .menu-bar-item:focus-visible::before {
165
+ outline: var(--semantics-focus-ring-outline);
166
+ outline-offset: var(--semantics-focus-ring-outline-offset);
167
+ box-shadow: var(--semantics-focus-ring-box-shadow);
168
+ }
169
+
170
+
171
+ /* # Slotted */
172
+
173
+ ::slotted(nldd-menu-item),
174
+ ::slotted(nldd-menu-divider) {
175
+ display: none;
176
+ }
177
+
178
+
179
+ /* # Disabled */
180
+
181
+ :host([disabled]) .menu-bar-item {
182
+ opacity: var(--primitives-opacity-disabled);
183
+ pointer-events: none;
184
+ }
185
+
186
+
187
+ /* # Icon-only */
188
+
189
+ :host([icon-only]) .menu-bar-item,
190
+ :host([content-priority="icon"][compact]:is([icon]:not([icon=""]), [data-has-icon])) .menu-bar-item {
191
+ padding: var(--primitives-space-8);
192
+ }
193
+
194
+ :host([icon-only]) .menu-bar-item__text,
195
+ :host([content-priority="icon"][compact]:is([icon]:not([icon=""]), [data-has-icon])) .menu-bar-item__text {
196
+ position: absolute;
197
+ margin: -1px;
198
+ border: 0;
199
+ width: 1px;
200
+ height: 1px;
201
+ overflow: hidden;
202
+ padding: 0;
203
+ white-space: nowrap;
204
+ clip-path: inset(50%);
205
+ }
206
+
207
+ :host([content-priority="text"][compact]) .menu-bar-item__icon {
208
+ display: none;
209
+ }
210
+ `;
211
+ // src/components/navigation/menu-bar-item/menu-bar-item.template.ts
212
+ function p(e) {
213
+ let t = d(e.href), n = !!t, r = !!e.icon || e._hasSlottedIcon, o = !!e.text && (e.iconOnly || e.contentPriority === "icon" && e.compact && r), s = e.accessibleLabel || (o ? e.text : a), c = o ? e.accessibleLabel || e.text : "", l = e.current ? e.currentType : a, u = e.querySelector(":scope > nldd-menu")?.getAttribute("variant") === "navigation", f = e.expandable ? u ? a : "menu" : e.haspopup || a, p = e.expandable || e.haspopup ? String(e.expanded) : a, m = i`
214
+ <span class="menu-bar-item__icon" ?hidden=${!e.icon && !e._hasSlottedIcon}>
215
+ <slot name="icon" @slotchange=${e._onIconSlotChange}>
216
+ ${e.icon ? i`<nldd-icon icon=${e.icon}></nldd-icon>` : a}
217
+ </slot>
218
+ </span>
219
+ `;
220
+ return n ? i`
221
+ <nldd-tooltip text=${c}>
222
+ <a class="menu-bar-item"
223
+ href=${t}
224
+ aria-disabled=${e.disabled || a}
225
+ tabindex=${e.disabled ? "-1" : a}
226
+ aria-current=${l}
227
+ aria-label=${s}
228
+ aria-haspopup=${f}
229
+ aria-expanded=${p}
230
+ >
231
+ ${m}
232
+ <span class="menu-bar-item__text">
233
+ ${e.text}
234
+ </span>
235
+ ${e.expandable ? i`
236
+ <span class="menu-bar-item__disclosure-icon">
237
+ <nldd-icon icon="chevron-down-small"></nldd-icon>
238
+ </span>
239
+ ` : a}
240
+ </a>
241
+ </nldd-tooltip>
242
+ <slot @slotchange=${e._onSlotChange}></slot>
243
+ ` : i`
244
+ <nldd-tooltip text=${c}>
245
+ <button class="menu-bar-item"
246
+ type="button"
247
+ ?disabled=${e.disabled}
248
+ aria-current=${l}
249
+ aria-label=${s}
250
+ aria-haspopup=${f}
251
+ aria-expanded=${p}
252
+ .popoverTargetElement=${e.popoverTargetElement}
253
+ .popoverTargetAction=${e.popoverTargetAction}
254
+ >
255
+ ${m}
256
+ <span class="menu-bar-item__text">
257
+ ${e.text}
258
+ </span>
259
+ ${e.expandable ? i`
260
+ <span class="menu-bar-item__disclosure-icon">
261
+ <nldd-icon icon="chevron-down-small"></nldd-icon>
262
+ </span>
263
+ ` : a}
264
+ </button>
265
+ </nldd-tooltip>
266
+ <slot @slotchange=${e._onSlotChange}></slot>
267
+ `;
268
+ }
269
+ // src/components/navigation/menu-bar-item/menu-bar-item.ts
270
+ var m = class extends r {
271
+ constructor(...e) {
272
+ super(...e), this.text = "", this.current = !1, this.currentType = "page", this.href = "", this.icon = "", this.expandable = !1, this.iconOnly = !1, this.contentPriority = "", this.compact = !1, this.disabled = !1, this.accessibleLabel = "", this.haspopup = "", this.expanded = !1, this.popoverTargetElement = null, this.popoverTargetAction = "toggle", this._menu = null, this._menuOpen = !1, this._pointerdownWhileMenuOpen = !1, this._menuToggleHandler = null, this._menuVariantObserver = null, this._hasSlottedIcon = !1, this._onIconSlotChange = (e) => {
273
+ this._hasSlottedIcon = e.target.assignedElements().length > 0, this.toggleAttribute("data-has-icon", this._hasSlottedIcon);
274
+ }, this._onSlotChange = () => {
275
+ this._wireMenu();
276
+ }, this._handlePointerdown = () => {
277
+ this._menuOpen && (this._pointerdownWhileMenuOpen = !0);
278
+ }, this._handleClick = (e) => {
279
+ let t = this._findMenu();
280
+ t && e.composedPath().includes(t) ? this._pointerdownWhileMenuOpen = !1 : this.disabled ? (e.preventDefault(), e.stopPropagation()) : this.expandable && this._findMenu() ? (e.preventDefault(), this._toggleMenu()) : this.href || (e.preventDefault(), this.dispatchEvent(new CustomEvent("select", {
281
+ bubbles: !0,
282
+ composed: !0,
283
+ detail: { item: this }
284
+ })));
285
+ };
286
+ }
287
+ connectedCallback() {
288
+ super.connectedCallback(), this.addEventListener("pointerdown", this._handlePointerdown), this.addEventListener("click", this._handleClick), this._wireMenu();
289
+ }
290
+ firstUpdated() {
291
+ this._wireMenu();
292
+ }
293
+ disconnectedCallback() {
294
+ super.disconnectedCallback(), this.removeEventListener("pointerdown", this._handlePointerdown), this.removeEventListener("click", this._handleClick), this._unwireMenu();
295
+ }
296
+ focus(e) {
297
+ u(this, e) || (this.shadowRoot?.querySelector("button, a"))?.focus(e);
298
+ }
299
+ _findMenu() {
300
+ return this.querySelector("nldd-menu");
301
+ }
302
+ _wireMenu() {
303
+ let e = this._findMenu();
304
+ e !== this._menu && (this._unwireMenu(), e && (this._menu = e, this._menuToggleHandler = (e) => {
305
+ let t = e.newState === "open";
306
+ this._menuOpen = t, this.expanded = t;
307
+ }, e.addEventListener("toggle", this._menuToggleHandler), this._menuVariantObserver = new MutationObserver(() => this.requestUpdate()), this._menuVariantObserver.observe(e, {
308
+ attributes: !0,
309
+ attributeFilter: ["variant"]
310
+ }), this.requestUpdate()));
311
+ }
312
+ _unwireMenu() {
313
+ this._menu && this._menuToggleHandler && this._menu.removeEventListener("toggle", this._menuToggleHandler), this._menuVariantObserver?.disconnect(), this._menuVariantObserver = null, this._menu = null, this._menuToggleHandler = null, this._menuOpen = !1;
314
+ }
315
+ _indicatorInset() {
316
+ let e = this.shadowRoot?.querySelector(".menu-bar-item");
317
+ if (!e) return 0;
318
+ let t = parseFloat(getComputedStyle(e, "::before").top);
319
+ return Number.isNaN(t) ? 0 : t;
320
+ }
321
+ _toggleMenu() {
322
+ this._pointerdownWhileMenuOpen ? this._pointerdownWhileMenuOpen = !1 : this._menu && (this._menu.anchorElement = this, this._menu.anchorOffset = -this._indicatorInset(), this._menuOpen ? this._menu.hidePopover() : this._menu.showPopover());
323
+ }
324
+ render() {
325
+ return p(this);
326
+ }
327
+ }, h = (m.styles = f, m);
328
+ o([t({
329
+ reflect: !0,
330
+ converter: c("")
331
+ })], h.prototype, "text", void 0), o([t({
332
+ type: Boolean,
333
+ reflect: !0
334
+ })], h.prototype, "current", void 0), o([t({
335
+ reflect: !0,
336
+ attribute: "current-type",
337
+ converter: c("page")
338
+ })], h.prototype, "currentType", void 0), o([t({ type: String })], h.prototype, "href", void 0), o([t({
339
+ reflect: !0,
340
+ converter: c("")
341
+ })], h.prototype, "icon", void 0), o([t({
342
+ type: Boolean,
343
+ reflect: !0
344
+ })], h.prototype, "expandable", void 0), o([t({
345
+ type: Boolean,
346
+ attribute: "icon-only",
347
+ reflect: !0
348
+ })], h.prototype, "iconOnly", void 0), o([t({
349
+ reflect: !0,
350
+ attribute: "content-priority",
351
+ converter: c("")
352
+ })], h.prototype, "contentPriority", void 0), o([t({
353
+ type: Boolean,
354
+ reflect: !0
355
+ })], h.prototype, "compact", void 0), o([t({
356
+ type: Boolean,
357
+ reflect: !0
358
+ })], h.prototype, "disabled", void 0), o([t({
359
+ type: String,
360
+ attribute: "accessible-label"
361
+ })], h.prototype, "accessibleLabel", void 0), o([t({ type: String })], h.prototype, "haspopup", void 0), o([t({
362
+ type: Boolean,
363
+ reflect: !0
364
+ })], h.prototype, "expanded", void 0), o([t({ attribute: !1 })], h.prototype, "popoverTargetElement", void 0), o([t({ attribute: !1 })], h.prototype, "popoverTargetAction", void 0), o([n()], h.prototype, "_hasSlottedIcon", void 0), h = o([s("nldd-menu-bar-item")], h);
365
+ export { h as NLDDMenuBarItem };
@@ -0,0 +1,3 @@
1
+ // src/components/navigation/menu-bar/menu-bar.i18n.ts
2
+ var e = { "components.menu-bar.overflow-action": "Meer opties" };
3
+ export { e as t };
@@ -0,0 +1,15 @@
1
+ import { r as e } from "./icon-BORlalt0.js";
2
+ import { t } from "./custom-element-q6NzoL5b.js";
3
+ import { n, t as r } from "./decorate-TduJMFD_.js";
4
+ import { a as i, t as a } from "./menu.template-C6rbfI-u.js";
5
+ // src/components/actions/menu/menu-divider.ts
6
+ var o = /* @__PURE__ */ e({ NLDDMenuDivider: () => c }), s, c = class extends n {
7
+ constructor(...e) {
8
+ super(...e), this.menuVariant = null;
9
+ }
10
+ render() {
11
+ return a(this.menuVariant);
12
+ }
13
+ };
14
+ s = c, s.styles = i, r([t()], c.prototype, "menuVariant", void 0), customElements.get("nldd-menu-divider") || customElements.define("nldd-menu-divider", c);
15
+ export { o as n, c as t };
@@ -0,0 +1,23 @@
1
+ import { r as e } from "./icon-BORlalt0.js";
2
+ import { n as t, t as n } from "./custom-element-q6NzoL5b.js";
3
+ import { n as r, t as i } from "./decorate-TduJMFD_.js";
4
+ import { t as a } from "./reflect-non-default-Bu3rpCvg.js";
5
+ import { n as o, o as s } from "./menu.template-C6rbfI-u.js";
6
+ import { r as c } from "./menu-item-CooKfrFa.js";
7
+ // src/components/actions/menu/menu-group.ts
8
+ var l = /* @__PURE__ */ e({ NLDDMenuGroup: () => d }), u, d = class e extends r {
9
+ constructor(...t) {
10
+ super(...t), this.text = "", this._titleId = `nldd-menu-group-title-${e._idCounter++}`, this.menuVariant = null;
11
+ }
12
+ updated(e) {
13
+ e.has("menuVariant") && c(this, this.menuVariant);
14
+ }
15
+ render() {
16
+ return o(this);
17
+ }
18
+ };
19
+ u = d, u.styles = s, u._idCounter = 0, i([t({
20
+ reflect: !0,
21
+ converter: a("")
22
+ })], d.prototype, "text", void 0), i([n()], d.prototype, "menuVariant", void 0), customElements.get("nldd-menu-group") || customElements.define("nldd-menu-group", d);
23
+ export { l as n, d as t };