@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,27 @@
1
+ // node_modules/@codemirror/legacy-modes/mode/toml.js
2
+ var e = {
3
+ name: "toml",
4
+ startState: function() {
5
+ return {
6
+ inString: !1,
7
+ stringType: "",
8
+ lhs: !0,
9
+ inArray: 0
10
+ };
11
+ },
12
+ token: function(e, t) {
13
+ let n;
14
+ if (!t.inString && (n = e.match(/^('''|"""|'|")/)) && (t.stringType = n[0], t.inString = !0), e.sol() && !t.inString && t.inArray === 0 && (t.lhs = !0), t.inString) {
15
+ for (; t.inString;) if (e.match(t.stringType)) t.inString = !1;
16
+ else if (e.peek() === "\\") e.next(), e.next();
17
+ else if (e.eol()) break;
18
+ else e.match(/^.[^\\\"\']*/);
19
+ return t.lhs ? "property" : "string";
20
+ }
21
+ return t.inArray && e.peek() === "]" ? (e.next(), t.inArray--, "bracket") : t.lhs && e.peek() === "[" && e.skipTo("]") ? (e.next(), e.peek() === "]" && e.next(), "atom") : e.peek() === "#" ? (e.skipToEnd(), "comment") : e.eatSpace() ? null : t.lhs && e.eatWhile(function(e) {
22
+ return e != "=" && e != " ";
23
+ }) ? "property" : t.lhs && e.peek() === "=" ? (e.next(), t.lhs = !1, null) : !t.lhs && e.match(/^\d\d\d\d[\d\-\:\.T]*Z/) || !t.lhs && (e.match("true") || e.match("false")) ? "atom" : !t.lhs && e.peek() === "[" ? (t.inArray++, e.next(), "bracket") : !t.lhs && e.match(/^\-?\d+(?:\.\d+)?/) ? "number" : (e.eatSpace() || e.next(), null);
24
+ },
25
+ languageData: { commentTokens: { line: "#" } }
26
+ };
27
+ export { e as toml };
@@ -0,0 +1,408 @@
1
+ import { n as e, t } from "./custom-element-q6NzoL5b.js";
2
+ import { n, o as r, r as i, t as a } from "./decorate-TduJMFD_.js";
3
+ import { t as o } from "./custom-element-BW8Ua4c7.js";
4
+ import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
5
+ import { t as c } from "./translations-wxBSz213.js";
6
+ import "./icon-button-rKiIHs7A.js";
7
+ import "./menu-BOu_pD1Q.js";
8
+ import { n as l } from "./toolbar.styles-BQkG4gVc.js";
9
+ import { NLDDToolbarItem as u } from "./toolbar-item-DpPfPxCi.js";
10
+ import { t as d } from "./toolbar.i18n-QwS37CBC.js";
11
+ import { NLDDToolbarTitle as f } from "./toolbar-title-KBMpfL9d.js";
12
+ // src/components/actions/toolbar/toolbar.template.ts
13
+ function p(e, t, n, a, o, s, c, l, u, d) {
14
+ return r`
15
+ <div class="toolbar"
16
+ role="toolbar"
17
+ aria-label=${l || i}
18
+ >
19
+ <div class="toolbar__items">
20
+ <slot name="start"></slot>
21
+ ${t ? r`
22
+ ${u ? r`
23
+ <div class="toolbar__center-fill">
24
+ <slot name="center"></slot>
25
+ </div>
26
+ ` : r`
27
+ ${n ? i : r`<div class="toolbar__left-spacer"></div>`}
28
+ <slot name="center"></slot>
29
+ ${a ? i : r`<div class="toolbar__right-spacer"></div>`}
30
+ `}
31
+ ` : o ? i : r`
32
+ <div class="toolbar__flexible-spacer"></div>
33
+ `}
34
+ <slot name="end"></slot>
35
+ </div>
36
+ <div class="toolbar__overflow-button ${s ? "" : "is-hidden"}">
37
+ <nldd-icon-button
38
+ size=${e.size}
39
+ icon="ellipsis"
40
+ text=${d("components.toolbar.overflow-action")}
41
+ tooltip-timing="never"
42
+ popup-type="menu"
43
+ ?expanded=${c}
44
+ ></nldd-icon-button>
45
+ <span class="toolbar__overflow-button-label">${d("components.toolbar.overflow-action")}</span>
46
+ </div>
47
+ </div>
48
+ `;
49
+ }
50
+ // src/components/actions/toolbar/toolbar.overflow-menu.ts
51
+ var m, h = class e {
52
+ constructor(e) {
53
+ this._host = e, this.open = !1, this._menu = null, this._originals = /* @__PURE__ */ new Map(), this._forwardSelect = (e) => {
54
+ let t = e.composedPath().find((e) => e instanceof Element && e.hasAttribute("data-toolbar-oid")), n = t && this._originals.get(t.getAttribute("data-toolbar-oid"));
55
+ n && n.dispatchEvent(new CustomEvent("select", {
56
+ bubbles: !0,
57
+ composed: !0,
58
+ detail: e.detail
59
+ }));
60
+ }, e.addController(this);
61
+ }
62
+ hostConnected() {
63
+ if (this._menu) return;
64
+ let t = document.createElement("nldd-menu");
65
+ t.setAttribute("placement", "bottom-end"), t.id = `nldd-toolbar-overflow-menu-${e._counter++}`, t.addEventListener("toggle", (e) => {
66
+ this.open = e.newState === "open", this._host.requestUpdate();
67
+ }), t.addEventListener("select", this._forwardSelect), this._host.renderRoot.appendChild(t), this._menu = t;
68
+ }
69
+ hostDisconnected() {
70
+ this._menu?.remove(), this._menu = null, this.open = !1;
71
+ }
72
+ hide() {
73
+ this.open && this._menu?.hidePopover();
74
+ }
75
+ anchorTo(e) {
76
+ this._menu && e && (this._menu.anchorElement = e, "popoverTargetElement" in e && (e.popoverTargetElement = this._menu), "popoverTargetAction" in e && e.popoverTargetAction === "toggle" && (e.popoverTargetAction = "show"));
77
+ }
78
+ fill(e) {
79
+ if (this._menu) {
80
+ this._menu.innerHTML = "", this._originals.clear();
81
+ for (let t of e) this._menu.appendChild(this._clone(t));
82
+ }
83
+ }
84
+ _clone(t) {
85
+ for (let n of [t, ...t.querySelectorAll("*")]) {
86
+ let t = n.getAttribute("data-toolbar-oid");
87
+ t || (t = `oid-${e._counter++}`, n.setAttribute("data-toolbar-oid", t)), this._originals.set(t, n);
88
+ }
89
+ let n = t.cloneNode(!0);
90
+ return n.removeAttribute("slot"), n;
91
+ }
92
+ };
93
+ m = h, m._counter = 0;
94
+ // src/components/actions/toolbar/toolbar.layout.ts
95
+ function g(e) {
96
+ return e.filter((e) => e.type === "item");
97
+ }
98
+ function _(e, t, n) {
99
+ return [
100
+ ...g(n).map((e, t) => ({
101
+ item: e,
102
+ areaOrder: 0,
103
+ index: t
104
+ })),
105
+ ...g(t).map((e, t) => ({
106
+ item: e,
107
+ areaOrder: 1,
108
+ index: t
109
+ })),
110
+ ...g(e).map((e, t) => ({
111
+ item: e,
112
+ areaOrder: 2,
113
+ index: t
114
+ }))
115
+ ].sort((e, t) => e.item.priority === t.item.priority ? e.areaOrder === t.areaOrder ? t.index - e.index : e.areaOrder - t.areaOrder : e.item.priority - t.item.priority).map(({ item: e }) => e);
116
+ }
117
+ function v(e) {
118
+ let t = [], n = /* @__PURE__ */ new Map();
119
+ for (let r of e) {
120
+ if (!r.hasPriority) {
121
+ t.push([r]);
122
+ continue;
123
+ }
124
+ let e = n.get(r.priority);
125
+ if (e) {
126
+ e.push(r);
127
+ continue;
128
+ }
129
+ let i = [r];
130
+ n.set(r.priority, i), t.push(i);
131
+ }
132
+ return t;
133
+ }
134
+ function y(e, t, n, r) {
135
+ let i = e.filter((e) => !t.has(e.id));
136
+ return Math.max(0, i.length - 1) * r + i.reduce((e, t) => t.type === "item" || t.type === "title" ? e + (n.get(t.id) ?? 0) : e, 0);
137
+ }
138
+ function b(e, t, n, r, i, a) {
139
+ if (r === 0 && a === 0) return {
140
+ leftZero: !0,
141
+ rightZero: !0
142
+ };
143
+ let o = e / 2 - r - i / 2 - t, s = e / 2 - a - i / 2 - t - n;
144
+ return {
145
+ leftZero: o <= 0,
146
+ rightZero: s <= 0
147
+ };
148
+ }
149
+ function x(e) {
150
+ if (e.length !== 1) return !1;
151
+ let [t] = e;
152
+ return t.type === "title" || t.type === "item" && t.isFluid;
153
+ }
154
+ // src/components/actions/toolbar/toolbar.ts
155
+ var S = class extends n {
156
+ constructor(...e) {
157
+ super(...e), this.size = "md", this.showItemLabels = !1, this.accessibleLabel = "", this.translations = {}, this._overflowMenu = new h(this), this._startChildren = [], this._centerChildren = [], this._endChildren = [], this._overflowIds = /* @__PURE__ */ new Set(), this._leftSpacerZero = !1, this._rightSpacerZero = !1, this._centerOnly = !1, this._soloFluid = !1, this._pinnedOverflowItems = [], this._childIds = /* @__PURE__ */ new WeakMap(), this._idCounter = 0, this._itemWidths = /* @__PURE__ */ new Map(), this._observer = null, this._resizeObserver = null, this._isMeasuring = !1, this._childResizeObserver = null, this._lastChildWidths = /* @__PURE__ */ new WeakMap(), this._isBuilding = !1, this._hasMeasured = !1, this._prioritizedItemsCache = null, this._onFontsLoaded = () => {
158
+ this._hasMeasured && this._measureAndUpdate();
159
+ };
160
+ }
161
+ _t(e) {
162
+ return c(this.translations, d, e);
163
+ }
164
+ _getId(e) {
165
+ return this._childIds.has(e) || this._childIds.set(e, this._idCounter++), this._childIds.get(e);
166
+ }
167
+ connectedCallback() {
168
+ super.connectedCallback(), this._observer = new MutationObserver((e) => {
169
+ if (this._isBuilding) return;
170
+ let t = !1, n = !1;
171
+ for (let r of e) if (r.type === "attributes") {
172
+ let e = r.target, i = e.tagName.toLowerCase();
173
+ i === "nldd-toolbar-item" || i === "nldd-toolbar-title" ? t = !0 : e.closest?.("[slot=\"overflow\"]") && (n = !0);
174
+ } else t = !0;
175
+ t ? this._buildChildren() : n && this._syncMenuItems();
176
+ }), this._resizeObserver = new ResizeObserver(() => {
177
+ this._isMeasuring || (this._overflowMenu.hide(), this._measureAndUpdate());
178
+ }), this._resizeObserver.observe(this), setTimeout(() => this._buildChildren(), 0), document.fonts?.addEventListener("loadingdone", this._onFontsLoaded);
179
+ }
180
+ disconnectedCallback() {
181
+ super.disconnectedCallback(), document.fonts?.removeEventListener("loadingdone", this._onFontsLoaded), this._observer?.disconnect(), this._observer = null, this._resizeObserver?.disconnect(), this._resizeObserver = null, this._childResizeObserver?.disconnect(), this._childResizeObserver = null;
182
+ }
183
+ firstUpdated() {
184
+ this._syncHosts();
185
+ }
186
+ updated(e) {
187
+ (e.has("size") || e.has("showItemLabels")) && this._syncHosts(), (e.has("_startChildren") || e.has("_centerChildren") || e.has("_endChildren")) && this.updateComplete.then(() => this._measureAndUpdate()), (e.has("_overflowIds") || e.has("_pinnedOverflowItems")) && (this._syncMenuItems(), this._syncMenuAnchor(), this._hasMeasured || this.updateComplete.then(() => this._updateAreaVars()));
188
+ }
189
+ _syncMenuAnchor() {
190
+ this._overflowMenu.anchorTo(this.shadowRoot?.querySelector(".toolbar__overflow-button nldd-icon-button") ?? null);
191
+ }
192
+ _syncMenuItems() {
193
+ let e = [...this._getPrioritizedItems()].reverse().filter((e) => this._overflowIds.has(e.id)).flatMap((e) => e.overflowItems);
194
+ this._overflowMenu.fill([...e, ...this._pinnedOverflowItems]);
195
+ }
196
+ _syncHosts() {
197
+ this._allHostChildren().forEach((e) => {
198
+ if (e.type === "item") {
199
+ let t = e.element;
200
+ t.setAttribute("size", this.size), t.toggleAttribute("show-item-labels", this.showItemLabels), t.toggleAttribute("fluid", e.isFluid), e.isFluid && e.minWidth ? t.style.setProperty("--_toolbar-item-min-width", e.minWidth) : t.style.removeProperty("--_toolbar-item-min-width"), e.isFluid && e.width ? t.style.setProperty("--_toolbar-item-width", e.width) : t.style.removeProperty("--_toolbar-item-width"), e.isFluid && e.maxWidth ? t.style.setProperty("--_toolbar-item-max-width", e.maxWidth) : t.style.removeProperty("--_toolbar-item-max-width"), Array.from(t.children).forEach((e) => {
201
+ e.getAttribute("slot") !== "overflow" && e.setAttribute("size", this.size);
202
+ });
203
+ } else e.type === "title" && e.element.setAttribute("size", this.size);
204
+ });
205
+ }
206
+ _getPrioritizedItems() {
207
+ return this._prioritizedItemsCache ?? (this._prioritizedItemsCache = _(this._startChildren, this._centerChildren, this._endChildren)), this._prioritizedItemsCache;
208
+ }
209
+ _allHostChildren() {
210
+ return [
211
+ ...this._startChildren,
212
+ ...this._centerChildren,
213
+ ...this._endChildren
214
+ ];
215
+ }
216
+ _hostFor(e) {
217
+ let t = this._allHostChildren().find((t) => t.id === e);
218
+ return t && (t.type === "item" || t.type === "title") ? t.element : null;
219
+ }
220
+ _measureItemWidths() {
221
+ this._allHostChildren().forEach((e) => {
222
+ if (e.type === "item" || e.type === "title") {
223
+ let t = e.element;
224
+ this._itemWidths.set(e.id, t.getBoundingClientRect().width);
225
+ }
226
+ });
227
+ }
228
+ _updateAreaVars() {
229
+ let e = this.shadowRoot?.querySelector(".toolbar__items");
230
+ if (!e) return;
231
+ let t = this.getBoundingClientRect().width, n = parseFloat(getComputedStyle(e).gap ?? "0"), r = parseFloat(getComputedStyle(this).gap ?? "0"), i = this.shadowRoot?.querySelector(".toolbar__overflow-button"), a = this.shadowRoot?.querySelector(".toolbar__overflow-button nldd-icon-button"), o = i && !i.classList.contains("is-hidden") && a ? a.getBoundingClientRect().width + r : 0;
232
+ this.style.setProperty("--_toolbar-overflow-button-width", `${o}px`);
233
+ let s = y(this._startChildren, this._overflowIds, this._itemWidths, n), c = y(this._centerChildren, this._overflowIds, this._itemWidths, n), l = y(this._endChildren, this._overflowIds, this._itemWidths, n);
234
+ this.style.setProperty("--_toolbar-start-width", `${s}px`), this.style.setProperty("--_toolbar-center-width", `${c}px`), this.style.setProperty("--_toolbar-end-width", `${l}px`), this.style.setProperty("--_toolbar-left-spacer-gap", s > 0 ? `${n}px` : "0px"), this.style.setProperty("--_toolbar-right-spacer-gap", l > 0 ? `${n}px` : "0px");
235
+ let { leftZero: u, rightZero: d } = b(t, n, o, s, c, l);
236
+ u !== this._leftSpacerZero && (this._leftSpacerZero = u), d !== this._rightSpacerZero && (this._rightSpacerZero = d);
237
+ let f = this._isCenterOnly();
238
+ f !== this._centerOnly && (this._centerOnly = f);
239
+ let p = x(this._allHostChildren().filter((e) => !this._overflowIds.has(e.id) && e.element.getClientRects().length > 0));
240
+ p !== this._soloFluid && (this._soloFluid = p);
241
+ }
242
+ _isCenterOnly() {
243
+ return !this._hasPresentChild(this._startChildren) && !this._hasPresentChild(this._endChildren) && this._centerChildren.length > 0;
244
+ }
245
+ _hasRenderedChild(e) {
246
+ return e.some((e) => e.element.getClientRects().length > 0);
247
+ }
248
+ _hasPresentChild(e) {
249
+ return e.some((e) => this._overflowIds.has(e.id)) || this._hasRenderedChild(e);
250
+ }
251
+ _measureAndUpdate() {
252
+ if (this._isMeasuring) return;
253
+ let e = this.shadowRoot?.querySelector(".toolbar__items");
254
+ if (!e) return;
255
+ this._isMeasuring = !0;
256
+ let t = this.getBoundingClientRect().width;
257
+ this.style.setProperty("--_toolbar-width", `${t}px`), this._measureOverflow(e), this._hasMeasured = !0, this._isMeasuring = !1;
258
+ }
259
+ _measureOverflow(e) {
260
+ let t = this.shadowRoot?.querySelector(".toolbar__overflow-button"), n = this._allHostChildren(), r = g(n), i = n.filter((e) => e.type === "title");
261
+ r.forEach((e) => {
262
+ let t = e.element;
263
+ t.hidden = !1, this._syncShrinkable(t), t.hasAttribute("solo-fluid") && (t.removeAttribute("solo-fluid"), t.toggleAttribute("fluid", e.isFluid), e.isFluid && e.minWidth && t.style.setProperty("--_toolbar-item-min-width", e.minWidth));
264
+ }), i.forEach((e) => {
265
+ let t = e.element;
266
+ t.removeAttribute("solo-fluid"), t.style.removeProperty("min-width");
267
+ }), this._pinnedOverflowItems.length > 0 ? t?.classList.remove("is-hidden") : t?.classList.add("is-hidden"), e.offsetWidth;
268
+ let a = this._isCenterOnly(), o = () => e.scrollWidth > e.clientWidth + 1;
269
+ if (!o()) {
270
+ this._overflowIds.size > 0 && (this._overflowIds = /* @__PURE__ */ new Set()), this._promoteSoloFluid(e, r, i, a), this._measureItemWidths(), this._updateAreaVars();
271
+ return;
272
+ }
273
+ t?.classList.remove("is-hidden"), e.offsetWidth;
274
+ let s = this._getPrioritizedItems(), c = /* @__PURE__ */ new Set(), l = v(s);
275
+ for (let t of l) {
276
+ if (!o()) break;
277
+ if (t.some((e) => e.isFluid)) {
278
+ let e = new Set(t.map((e) => e.id));
279
+ if (r.filter((t) => {
280
+ let n = t.element;
281
+ return !n.hidden && !n.hasAttribute("fluid") && !n.hasAttribute("solo-fluid") && !e.has(t.id);
282
+ }).length === 0) break;
283
+ }
284
+ let n = t.map((e) => e.element).filter((e) => e.hasAttribute("shrinkable"));
285
+ if (n.length > 0 && (n.forEach((e) => e.toggleAttribute("shrunk", !0)), e.offsetWidth, !o())) break;
286
+ for (let e of t) {
287
+ c.add(e.id);
288
+ let t = e.element;
289
+ t.hidden = !0, t.removeAttribute("shrunk");
290
+ }
291
+ e.offsetWidth;
292
+ }
293
+ c.size === 0 && this._pinnedOverflowItems.length === 0 && t?.classList.add("is-hidden"), this._promoteSoloFluid(e, r, i, a), (c.size !== this._overflowIds.size || [...c].some((e) => !this._overflowIds.has(e))) && (this._overflowIds = c), this._measureItemWidths(), this._updateAreaVars();
294
+ }
295
+ _syncShrinkable(e) {
296
+ e.removeAttribute("shrunk");
297
+ let t = Array.from(e.children).find((e) => e.getAttribute("slot") !== "overflow"), n = typeof t?._toolbarWidths == "function" ? t._toolbarWidths() : null;
298
+ e.toggleAttribute("shrinkable", !!n), n ? (e.style.setProperty("--_toolbar-item-preferred-width", `${n.preferred}px`), e.style.setProperty("--_toolbar-item-shrunk-min-width", `${n.minimum}px`)) : (e.style.removeProperty("--_toolbar-item-preferred-width"), e.style.removeProperty("--_toolbar-item-shrunk-min-width"));
299
+ }
300
+ _promoteSoloFluid(e, t, n, r) {
301
+ let i = t.filter((e) => e.element.getClientRects().length > 0);
302
+ if (!r && i.length === 1 && i[0].element.hasAttribute("fluid")) {
303
+ let t = i[0].element;
304
+ t.removeAttribute("fluid"), t.setAttribute("solo-fluid", ""), t.style.removeProperty("--_toolbar-item-min-width"), e.offsetWidth;
305
+ }
306
+ let a = n.filter((e) => !e.element.hidden);
307
+ if (i.length === 0 && a.length === 1) {
308
+ let t = a[0].element;
309
+ t.setAttribute("solo-fluid", ""), t.style.setProperty("min-width", "0px"), e.offsetWidth;
310
+ }
311
+ e.scrollWidth > e.clientWidth + 1 && (a.forEach((e) => e.element.style.setProperty("min-width", "0px")), e.offsetWidth);
312
+ }
313
+ _buildChildrenForSlot(e) {
314
+ return Array.from(this.children).filter((t) => t.getAttribute("slot") === e).map((e) => {
315
+ let t = e.tagName.toLowerCase();
316
+ if (t === "nldd-toolbar-title") return {
317
+ type: "title",
318
+ element: e,
319
+ id: this._getId(e)
320
+ };
321
+ if (t === "nldd-toolbar-item") {
322
+ let t = this._getId(e), n = e.getAttribute("label") ?? "", r = e.priority ?? 0, i = r !== 0, a = e, o = a.minWidth || "", s = a.maxWidth || "", c = a.width || "", l = !!(o || s || c), u = Array.from(e.children).filter((e) => {
323
+ let t = e.tagName.toLowerCase();
324
+ return t === "nldd-menu-item" || t === "nldd-menu-divider" || t === "nldd-menu-group";
325
+ });
326
+ return u.forEach((e) => e.setAttribute("slot", "overflow")), {
327
+ type: "item",
328
+ element: e,
329
+ label: n,
330
+ id: t,
331
+ priority: r,
332
+ hasPriority: i,
333
+ overflowItems: u,
334
+ minWidth: o,
335
+ maxWidth: s,
336
+ width: c,
337
+ isFluid: l
338
+ };
339
+ }
340
+ return {
341
+ type: "other",
342
+ element: e,
343
+ id: this._getId(e)
344
+ };
345
+ });
346
+ }
347
+ _buildPinnedOverflowItems() {
348
+ this._pinnedOverflowItems = Array.from(this.children).filter((e) => {
349
+ let t = e.tagName.toLowerCase();
350
+ return e.getAttribute("slot") === "overflow" && (t === "nldd-menu-item" || t === "nldd-menu-divider" || t === "nldd-menu-group");
351
+ });
352
+ }
353
+ _buildChildren() {
354
+ this._isBuilding || (this._isBuilding = !0, this._observer?.disconnect(), this._startChildren = this._buildChildrenForSlot("start"), this._centerChildren = this._buildChildrenForSlot("center"), this._endChildren = this._buildChildrenForSlot("end"), this._buildPinnedOverflowItems(), this._prioritizedItemsCache = null, this._syncHosts(), this._observer?.observe(this, {
355
+ childList: !0,
356
+ attributes: !0,
357
+ subtree: !0,
358
+ attributeFilter: [
359
+ "label",
360
+ "priority",
361
+ "min-width",
362
+ "max-width",
363
+ "width",
364
+ "text",
365
+ "disabled",
366
+ "selected",
367
+ "type"
368
+ ]
369
+ }), this._watchChildSizes(), this._isBuilding = !1);
370
+ }
371
+ _watchChildSizes() {
372
+ this._childResizeObserver?.disconnect(), this._childResizeObserver ?? (this._childResizeObserver = new ResizeObserver((e) => {
373
+ if (this._isMeasuring || this._isBuilding) return;
374
+ let t = !1;
375
+ for (let n of e) {
376
+ let e = n.target;
377
+ if (e.hasAttribute("hidden")) continue;
378
+ let r = n.contentRect.width;
379
+ Math.abs((this._lastChildWidths.get(e) ?? -1) - r) < .5 || (this._lastChildWidths.set(e, r), t = !0);
380
+ }
381
+ t && this._measureAndUpdate();
382
+ })), this._lastChildWidths = /* @__PURE__ */ new WeakMap();
383
+ for (let e of this._hostChildElements()) this._childResizeObserver.observe(e);
384
+ }
385
+ _hostChildElements() {
386
+ return Array.from(this.children).filter((e) => {
387
+ let t = e.tagName.toLowerCase();
388
+ return t === "nldd-toolbar-item" || t === "nldd-toolbar-title";
389
+ });
390
+ }
391
+ render() {
392
+ let e = this._soloFluid || x(this._allHostChildren().filter((e) => !this._overflowIds.has(e.id)));
393
+ return p(this, this._centerChildren.length > 0, this._leftSpacerZero, this._rightSpacerZero, e, this._pinnedOverflowItems.length > 0 || this._overflowIds.size > 0, this._overflowMenu.open, this.accessibleLabel, this._centerOnly, (e) => this._t(e));
394
+ }
395
+ }, C = (S.styles = l, S);
396
+ a([e({
397
+ reflect: !0,
398
+ converter: s("md")
399
+ })], C.prototype, "size", void 0), a([e({
400
+ type: Boolean,
401
+ reflect: !0,
402
+ attribute: "show-item-labels"
403
+ })], C.prototype, "showItemLabels", void 0), a([e({
404
+ reflect: !0,
405
+ attribute: "accessible-label",
406
+ converter: s("")
407
+ })], C.prototype, "accessibleLabel", void 0), a([e({ type: Object })], C.prototype, "translations", void 0), a([t()], C.prototype, "_startChildren", void 0), a([t()], C.prototype, "_centerChildren", void 0), a([t()], C.prototype, "_endChildren", void 0), a([t()], C.prototype, "_overflowIds", void 0), a([t()], C.prototype, "_leftSpacerZero", void 0), a([t()], C.prototype, "_rightSpacerZero", void 0), a([t()], C.prototype, "_centerOnly", void 0), a([t()], C.prototype, "_soloFluid", void 0), a([t()], C.prototype, "_pinnedOverflowItems", void 0), C = a([o("nldd-toolbar")], C);
408
+ export { C as NLDDToolbar, u as NLDDToolbarItem, f as NLDDToolbarTitle, v as groupForOverflow };
@@ -0,0 +1,50 @@
1
+ import { n as e } from "./custom-element-q6NzoL5b.js";
2
+ import { n as t, o as n, r, t as i } from "./decorate-TduJMFD_.js";
3
+ import { t as a } from "./custom-element-BW8Ua4c7.js";
4
+ import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
5
+ import { t as s } from "./toolbar.styles-BQkG4gVc.js";
6
+ // src/components/actions/toolbar/toolbar-item.template.ts
7
+ function c(e) {
8
+ return n`
9
+ <div class="toolbar__item-content">
10
+ <slot></slot>
11
+ </div>
12
+ ${e.label ? n`<span class="toolbar__item-label">${e.label}</span>` : r}
13
+ <slot name="overflow"></slot>
14
+ `;
15
+ }
16
+ // src/components/actions/toolbar/toolbar-item.ts
17
+ var l = class extends t {
18
+ constructor(...e) {
19
+ super(...e), this.width = "", this.minWidth = "", this.maxWidth = "", this.label = "", this.priority = 0, this.size = "md", this.showItemLabels = !1;
20
+ }
21
+ render() {
22
+ return c(this);
23
+ }
24
+ }, u = (l.styles = s, l);
25
+ i([e({
26
+ reflect: !0,
27
+ converter: o("")
28
+ })], u.prototype, "width", void 0), i([e({
29
+ reflect: !0,
30
+ attribute: "min-width",
31
+ converter: o("")
32
+ })], u.prototype, "minWidth", void 0), i([e({
33
+ reflect: !0,
34
+ attribute: "max-width",
35
+ converter: o("")
36
+ })], u.prototype, "maxWidth", void 0), i([e({ type: String })], u.prototype, "label", void 0), i([e({
37
+ reflect: !0,
38
+ converter: {
39
+ fromAttribute: (e) => e === null ? 0 : Number(e),
40
+ toAttribute: (e) => e === 0 ? null : String(e)
41
+ }
42
+ })], u.prototype, "priority", void 0), i([e({
43
+ reflect: !0,
44
+ converter: o("md")
45
+ })], u.prototype, "size", void 0), i([e({
46
+ type: Boolean,
47
+ reflect: !0,
48
+ attribute: "show-item-labels"
49
+ })], u.prototype, "showItemLabels", void 0), u = i([a("nldd-toolbar-item")], u);
50
+ export { u as NLDDToolbarItem };
@@ -0,0 +1,84 @@
1
+ import { n as e } from "./custom-element-q6NzoL5b.js";
2
+ import { n as t, o as n, r, t as i } from "./decorate-TduJMFD_.js";
3
+ import { t as a } from "./custom-element-BW8Ua4c7.js";
4
+ import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
5
+ import { t as s } from "./link-rel-DvrTEfVT.js";
6
+ import { n as c } from "./link-hint-KFhgr5Ng.js";
7
+ import { t as l } from "./translations-wxBSz213.js";
8
+ import { r as u } from "./toolbar.styles-BQkG4gVc.js";
9
+ import { t as d } from "./toolbar.i18n-QwS37CBC.js";
10
+ // src/components/actions/toolbar/toolbar-title.template.ts
11
+ function f(e) {
12
+ let t = n`
13
+ <div class="toolbar__title-group">
14
+ ${e.text ? n`<p class="toolbar__title">${e.text}</p>` : r}
15
+ ${e.supportingText ? n`<p class="toolbar__supporting-text">${e.supportingText}</p>` : r}
16
+ </div>
17
+ `, i = c(e.href, e.target);
18
+ return n`
19
+ ${e.href ? n`
20
+ <a class="toolbar__title-link"
21
+ href=${e.href}
22
+ target=${e.target || r}
23
+ rel=${s(null, e.target) || r}
24
+ >
25
+ <slot name="media"></slot>
26
+ ${t}${i ? n`<span class="toolbar__link-hint">, ${e._t(`components.toolbar.${i}`)}</span>` : r}
27
+ </a>
28
+ ` : n`
29
+ <slot name="media"></slot>
30
+ ${t}
31
+ `}
32
+ <slot name="action"></slot>
33
+ `;
34
+ }
35
+ // src/components/actions/toolbar/toolbar-title.ts
36
+ var p = class extends t {
37
+ constructor(...e) {
38
+ super(...e), this.width = "", this.minWidth = "", this.maxWidth = "", this.align = "left", this.text = "", this.supportingText = "", this.href = "", this.target = "", this.translations = {}, this.size = "md";
39
+ }
40
+ _t(e) {
41
+ return l(this.translations, d, e);
42
+ }
43
+ willUpdate(e) {
44
+ e.has("minWidth") && this._reflectSizeVar("--_toolbar-title-group-min-width", this.minWidth), e.has("width") && this._reflectSizeVar("--_toolbar-title-width", this.width), e.has("maxWidth") && this._reflectSizeVar("--_toolbar-title-max-width", this.maxWidth);
45
+ }
46
+ _reflectSizeVar(e, t) {
47
+ t ? this.style.setProperty(e, t) : this.style.removeProperty(e);
48
+ }
49
+ render() {
50
+ return f(this);
51
+ }
52
+ }, m = (p.styles = u, p);
53
+ i([e({
54
+ reflect: !0,
55
+ converter: o("")
56
+ })], m.prototype, "width", void 0), i([e({
57
+ reflect: !0,
58
+ attribute: "min-width",
59
+ converter: o("")
60
+ })], m.prototype, "minWidth", void 0), i([e({
61
+ reflect: !0,
62
+ attribute: "max-width",
63
+ converter: o("")
64
+ })], m.prototype, "maxWidth", void 0), i([e({
65
+ reflect: !0,
66
+ converter: o("left")
67
+ })], m.prototype, "align", void 0), i([e({
68
+ reflect: !0,
69
+ converter: o("")
70
+ })], m.prototype, "text", void 0), i([e({
71
+ reflect: !0,
72
+ attribute: "supporting-text",
73
+ converter: o("")
74
+ })], m.prototype, "supportingText", void 0), i([e({
75
+ reflect: !0,
76
+ converter: o("")
77
+ })], m.prototype, "href", void 0), i([e({
78
+ reflect: !0,
79
+ converter: o("")
80
+ })], m.prototype, "target", void 0), i([e({ type: Object })], m.prototype, "translations", void 0), i([e({
81
+ reflect: !0,
82
+ converter: o("md")
83
+ })], m.prototype, "size", void 0), m = i([a("nldd-toolbar-title")], m);
84
+ export { m as NLDDToolbarTitle };
@@ -0,0 +1,8 @@
1
+ // src/components/actions/toolbar/toolbar.i18n.ts
2
+ var e = {
3
+ "components.toolbar.overflow-action": "Meer",
4
+ "components.toolbar.link-hint-new-tab-lowercase-label": "opent in nieuw tabblad",
5
+ "components.toolbar.link-hint-external-lowercase-label": "andere website",
6
+ "components.toolbar.link-hint-external-new-tab-lowercase-label": "andere website, opent in nieuw tabblad"
7
+ };
8
+ export { e as t };