@nldd/design-system 0.20.0 → 0.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. package/custom-elements.json +361 -10
  2. package/dist/cdn/autoloader.js +181 -0
  3. package/dist/cdn/chunks/activity-indicator-JglZJ8dh.js +356 -0
  4. package/dist/cdn/chunks/activity-indicator.i18n-D7mCy6d2.js +3 -0
  5. package/dist/cdn/chunks/avatar-ASqePVhU.js +308 -0
  6. package/dist/cdn/chunks/avatar-group-GinEMPm9.js +338 -0
  7. package/dist/cdn/chunks/avatar-group.i18n-BYw_9wt_.js +7 -0
  8. package/dist/cdn/chunks/avatar.i18n-CMwQjBkS.js +7 -0
  9. package/dist/cdn/chunks/badge-Cc2Nufoc.js +323 -0
  10. package/dist/cdn/chunks/badge.i18n-DqW7hLQj.js +3 -0
  11. package/dist/cdn/chunks/banner-BLVKM07M.js +325 -0
  12. package/dist/cdn/chunks/banner.i18n-BOCM9rGN.js +3 -0
  13. package/dist/cdn/chunks/bar-split-view-Clbg-p9H.js +259 -0
  14. package/dist/cdn/chunks/base-CfuoYRhN.js +3 -0
  15. package/dist/cdn/chunks/blockquote-BoOqbGdm.js +189 -0
  16. package/dist/cdn/chunks/box-WkhyjQVy.js +88 -0
  17. package/dist/cdn/chunks/breadcrumbs-D9YxZzRj.js +162 -0
  18. package/dist/cdn/chunks/breadcrumbs.i18n-zmO8jaTO.js +3 -0
  19. package/dist/cdn/chunks/breakpoints-Cwor8TRP.js +15 -0
  20. package/dist/cdn/chunks/button-DO90Lo6q.js +863 -0
  21. package/dist/cdn/chunks/button-bar-Bxgdbyh3.js +225 -0
  22. package/dist/cdn/chunks/button-group-BYGPPLmZ.js +205 -0
  23. package/dist/{components/button.i18n-DiDGynnq.js → cdn/chunks/button.i18n-BGFt7Z9u.js} +2 -2
  24. package/dist/cdn/chunks/card-BP0jfOkS.js +262 -0
  25. package/dist/cdn/chunks/card.i18n-CpafLm3i.js +8 -0
  26. package/dist/cdn/chunks/carried-context-DlMSujiJ.js +37 -0
  27. package/dist/cdn/chunks/cell-BRD2ilQh.js +144 -0
  28. package/dist/cdn/chunks/checkbox-Cazx8CQn.js +296 -0
  29. package/dist/cdn/chunks/checkbox-field-DDZ-B6vH.js +157 -0
  30. package/dist/cdn/chunks/class-map-CXSdNjt8.js +26 -0
  31. package/dist/cdn/chunks/code-editor-D6Q55oaY.js +286 -0
  32. package/dist/cdn/chunks/code-viewer-DspLH2T1.js +766 -0
  33. package/dist/cdn/chunks/code-viewer.i18n-BHfSDRbK.js +13 -0
  34. package/dist/cdn/chunks/codemirror-input-Db65x22n.js +1232 -0
  35. package/dist/cdn/chunks/collection-NVtkvDls.js +396 -0
  36. package/dist/cdn/chunks/collection.i18n-DqWPGnZO.js +8 -0
  37. package/dist/cdn/chunks/combo-box-OywRKaWj.js +512 -0
  38. package/dist/cdn/chunks/combo-box.i18n-BorzYnJ2.js +6 -0
  39. package/dist/cdn/chunks/container-rrbwk0z4.js +602 -0
  40. package/dist/cdn/chunks/custom-element-BW8Ua4c7.js +7 -0
  41. package/dist/cdn/chunks/custom-element-q6NzoL5b.js +301 -0
  42. package/dist/cdn/chunks/custom-font-size-D7KNr84p.js +57 -0
  43. package/dist/cdn/chunks/date-field-vmZLo80s.js +662 -0
  44. package/dist/cdn/chunks/date-field.i18n-BTzc0E9a.js +15 -0
  45. package/dist/cdn/chunks/date-picker-CXDzSBoL.js +993 -0
  46. package/dist/cdn/chunks/date-picker.i18n-Dsc_M5QK.js +82 -0
  47. package/dist/cdn/chunks/decorate-TduJMFD_.js +280 -0
  48. package/dist/cdn/chunks/defer-focus-F73ud2D9.js +9 -0
  49. package/dist/cdn/chunks/described-by-mixin-daRE7orX.js +32 -0
  50. package/dist/cdn/chunks/description-cell-CQwOj_rN.js +166 -0
  51. package/dist/cdn/chunks/dev-checks-zW_W-hnh.js +2695 -0
  52. package/dist/cdn/chunks/directive-CwRgozUW.js +27 -0
  53. package/dist/cdn/chunks/dismiss-from-title-bar-C6mP7sWP.js +5 -0
  54. package/dist/cdn/chunks/dist-3C80SZN9.js +849 -0
  55. package/dist/cdn/chunks/dist-A7_1pHX0.js +379 -0
  56. package/dist/cdn/chunks/dist-BEfLdOvy.js +1346 -0
  57. package/dist/cdn/chunks/dist-BTUxFM2V.js +268 -0
  58. package/dist/cdn/chunks/dist-CP3G1pSK.js +1037 -0
  59. package/dist/cdn/chunks/dist-C_dGY6zR.js +468 -0
  60. package/dist/{components/dist-B9YBOGFW.js → cdn/chunks/dist-ChmCRv39.js} +109 -153
  61. package/dist/{components/dist-CJm4tkNC.js → cdn/chunks/dist-D2qap2OY.js} +23 -31
  62. package/dist/cdn/chunks/dist-DPUBF0MZ.js +1593 -0
  63. package/dist/{components/dist-4g23YHP0.js → cdn/chunks/dist-DrTzvgE7.js} +291 -404
  64. package/dist/cdn/chunks/dist-EM4MWLQq.js +385 -0
  65. package/dist/cdn/chunks/dist-EgIBI-FG.js +293 -0
  66. package/dist/{components/dist-Bf823YyL.js → cdn/chunks/dist-Rm6FvrSR.js} +272 -551
  67. package/dist/cdn/chunks/divider-CCNbnplA.js +53 -0
  68. package/dist/cdn/chunks/document-tab-bar-A2DFWrP9.js +973 -0
  69. package/dist/cdn/chunks/document-tab-bar.i18n-DKrA9TnB.js +9 -0
  70. package/dist/cdn/chunks/drag-handle-cell-CbzDYebG.js +206 -0
  71. package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +3 -0
  72. package/dist/cdn/chunks/dropdown-DZTZtkm5.js +350 -0
  73. package/dist/cdn/chunks/element-state-B-44fVqq.js +20 -0
  74. package/dist/cdn/chunks/file-field-DQ52qq5L.js +1484 -0
  75. package/dist/cdn/chunks/file-field.i18n-pDM7Utud.js +40 -0
  76. package/dist/cdn/chunks/floating-ui.dom-B8J1rV2c.js +753 -0
  77. package/dist/cdn/chunks/focus-target-DSLGcCWq.js +24 -0
  78. package/dist/cdn/chunks/form-actions-C_7hINq-.js +90 -0
  79. package/dist/cdn/chunks/form-associated-mixin--GIbl98p.js +62 -0
  80. package/dist/cdn/chunks/form-field--4nWJ_DK.js +364 -0
  81. package/dist/cdn/chunks/form-hXLgy_tY.js +84 -0
  82. package/dist/cdn/chunks/form-section-By-D4un0.js +64 -0
  83. package/dist/cdn/chunks/full-bleed-section-Dg4sIJG1.js +161 -0
  84. package/dist/cdn/chunks/gherkin-eseYvsxh.js +29 -0
  85. package/dist/cdn/chunks/hero-CQQMNCT_.js +761 -0
  86. package/dist/{components/icon-_Eox7ZfO.js → cdn/chunks/icon-BORlalt0.js} +298 -308
  87. package/dist/cdn/chunks/icon-button-rKiIHs7A.js +632 -0
  88. package/dist/{components/icon-button.i18n-1_N-wN6x.js → cdn/chunks/icon-button.i18n-DpZOfIS4.js} +2 -4
  89. package/dist/cdn/chunks/icon-cell-rk4NQid2.js +156 -0
  90. package/dist/cdn/chunks/identity-BLXecYsZ.js +187 -0
  91. package/dist/cdn/chunks/if-defined-CaKKERku.js +4 -0
  92. package/dist/cdn/chunks/image-DZMW6JgL.js +659 -0
  93. package/dist/cdn/chunks/image.i18n-ONcm1h7o.js +3 -0
  94. package/dist/cdn/chunks/implicit-submission-Csbcor_E.js +27 -0
  95. package/dist/cdn/chunks/inline-dialog-WlqtPBPJ.js +259 -0
  96. package/dist/cdn/chunks/input-modality-XE0B7yCn.js +42 -0
  97. package/dist/cdn/chunks/just-in-time-education-DRcb5g7x.js +611 -0
  98. package/dist/cdn/chunks/just-in-time-education.i18n-CW_dsaxf.js +6 -0
  99. package/dist/cdn/chunks/kanban-Ca_mfqsA.js +400 -0
  100. package/dist/cdn/chunks/kanban-column-fgIMc7pw.js +375 -0
  101. package/dist/cdn/chunks/kanban.i18n-CWqc3e0B.js +11 -0
  102. package/dist/cdn/chunks/keyboard-shortcut-EknnW7Ub.js +267 -0
  103. package/dist/cdn/chunks/languages-yKikVFv_.js +8893 -0
  104. package/dist/cdn/chunks/link-FBSAJ3UC.js +229 -0
  105. package/dist/cdn/chunks/link-group-90qVfKa0.js +111 -0
  106. package/dist/cdn/chunks/link-hint-KFhgr5Ng.js +24 -0
  107. package/dist/cdn/chunks/link-rel-DvrTEfVT.js +8 -0
  108. package/dist/cdn/chunks/link.i18n-DJPobGmu.js +8 -0
  109. package/dist/cdn/chunks/list-CaWl3q0Z.js +880 -0
  110. package/dist/cdn/chunks/list-item-Cagnf6eG.js +802 -0
  111. package/dist/cdn/chunks/list-item-segment-BRzBF1y_.js +315 -0
  112. package/dist/cdn/chunks/list-item-segment.i18n-DHnrQL4V.js +8 -0
  113. package/dist/{components/list-item.i18n-89uqlBMK.js → cdn/chunks/list-item.i18n-Br6J5Ev9.js} +2 -2
  114. package/dist/cdn/chunks/list-items-Du0RCWsY.js +6 -0
  115. package/dist/{components/list.i18n-CKqbhFQ_.js → cdn/chunks/list.i18n-C40ltgdI.js} +2 -2
  116. package/dist/cdn/chunks/loading-tags-DtUr-DR7.js +3 -0
  117. package/dist/cdn/chunks/menu-BtxzRedh.js +719 -0
  118. package/dist/cdn/chunks/menu-bar-BU3Hjk1b.js +253 -0
  119. package/dist/cdn/chunks/menu-bar-item-C7LQ0NI_.js +365 -0
  120. package/dist/cdn/chunks/menu-bar.i18n-BoMu4Eoz.js +3 -0
  121. package/dist/cdn/chunks/menu-divider-CLLRgMll.js +15 -0
  122. package/dist/cdn/chunks/menu-group-BL24ChpR.js +23 -0
  123. package/dist/cdn/chunks/menu-item-CooKfrFa.js +140 -0
  124. package/dist/cdn/chunks/menu.i18n-C6uYJsG3.js +10 -0
  125. package/dist/cdn/chunks/menu.template-C6rbfI-u.js +642 -0
  126. package/dist/cdn/chunks/modal-dialog-BrUMP4Jm.js +240 -0
  127. package/dist/cdn/chunks/multi-line-text-field-D7hXhyOn.js +318 -0
  128. package/dist/cdn/chunks/navigation-split-view-B2ZQhxEb.js +621 -0
  129. package/dist/cdn/chunks/nl.generated-D6T41jG3.js +112 -0
  130. package/dist/cdn/chunks/notification-DSGP14d1.js +492 -0
  131. package/dist/cdn/chunks/notification.i18n-BKUSLN5c.js +6 -0
  132. package/dist/cdn/chunks/number-field-B8op14Y_.js +301 -0
  133. package/dist/cdn/chunks/number-field.i18n-BS0bINWY.js +7 -0
  134. package/dist/cdn/chunks/one-half-one-half-section-ZYmHYf4Q.js +213 -0
  135. package/dist/cdn/chunks/one-third-two-thirds-section-Ds10K6AS.js +213 -0
  136. package/dist/cdn/chunks/one-time-code-field-Cgy_tTS4.js +693 -0
  137. package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +20 -0
  138. package/dist/cdn/chunks/owned-attribute-x9OCTy_4.js +6 -0
  139. package/dist/cdn/chunks/owner-form-Cq8tT7ac.js +7 -0
  140. package/dist/cdn/chunks/page-CBf_Decp.js +431 -0
  141. package/dist/cdn/chunks/page-footer-CSv1dU7M.js +396 -0
  142. package/dist/cdn/chunks/page-footer.i18n-pbdr4lN3.js +3 -0
  143. package/dist/cdn/chunks/page-section-mixin-Dp6X8GKd.js +132 -0
  144. package/dist/cdn/chunks/pagination-CMUcFB53.js +485 -0
  145. package/dist/cdn/chunks/pagination.i18n-QQMx14CQ.js +9 -0
  146. package/dist/cdn/chunks/password-field-C76Vm3rm.js +368 -0
  147. package/dist/cdn/chunks/password-field.i18n-CzdBn-1b.js +8 -0
  148. package/dist/cdn/chunks/popover-CGbeEv_-.js +334 -0
  149. package/dist/cdn/chunks/popover-target-B25dxnmt.js +10 -0
  150. package/dist/cdn/chunks/popover.i18n-DmFBHUvB.js +3 -0
  151. package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +30 -0
  152. package/dist/cdn/chunks/progress-bar-BLiHaRUS.js +674 -0
  153. package/dist/cdn/chunks/progress-bar.i18n-Cr5miGTx.js +8 -0
  154. package/dist/cdn/chunks/progress-circle-CjkovRbL.js +667 -0
  155. package/dist/cdn/chunks/progress-circle.i18n-CRrXuY4V.js +8 -0
  156. package/dist/cdn/chunks/query-ChDzi9FQ.js +28 -0
  157. package/dist/cdn/chunks/radio-button-GHyO-GQB.js +338 -0
  158. package/dist/cdn/chunks/radio-button-field-C-Z6Lnd4.js +192 -0
  159. package/dist/cdn/chunks/radio-button-group-ChTqBCnQ.js +118 -0
  160. package/dist/cdn/chunks/radio-position-CXWYAjaz.js +10 -0
  161. package/dist/cdn/chunks/reflect-non-default-Bu3rpCvg.js +9 -0
  162. package/dist/cdn/chunks/render-marked-DX_5ISZE.js +37 -0
  163. package/dist/cdn/chunks/repeat-Ch_5OsXE.js +76 -0
  164. package/dist/cdn/chunks/return-focus-BzZWhXhc.js +57 -0
  165. package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +47 -0
  166. package/dist/cdn/chunks/rich-text.i18n-BlJ68YuU.js +3 -0
  167. package/dist/cdn/chunks/row-header-mixin-CgqvREoV.js +16 -0
  168. package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +7 -0
  169. package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +42 -0
  170. package/dist/cdn/chunks/search-field-BGNfERhn.js +396 -0
  171. package/dist/cdn/chunks/search-field.i18n-B_Oc7hc-.js +6 -0
  172. package/dist/cdn/chunks/segmented-control-BYAG4VRp.js +671 -0
  173. package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +12 -0
  174. package/dist/cdn/chunks/sheet-CqN7ViYV.js +340 -0
  175. package/dist/cdn/chunks/shell-C9rds_D9.js +146 -0
  176. package/dist/cdn/chunks/shell-DmJOYhyF.js +108 -0
  177. package/dist/cdn/chunks/side-by-side-split-view-C5oX4c6Z.js +166 -0
  178. package/dist/cdn/chunks/sidebar-section-CFPBdETU.js +353 -0
  179. package/dist/cdn/chunks/sidebar-section.i18n-BuGfRMpD.js +6 -0
  180. package/dist/cdn/chunks/simple-section-qrCqXeBa.js +192 -0
  181. package/dist/cdn/chunks/skip-link-DWh4W6-J.js +161 -0
  182. package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +3 -0
  183. package/dist/cdn/chunks/slider--hODfOwh.js +772 -0
  184. package/dist/cdn/chunks/slider.i18n-DVw0c8AG.js +6 -0
  185. package/dist/cdn/chunks/slot-content-BLuPqVXw.js +13 -0
  186. package/dist/cdn/chunks/spacer-CFzq_JCh.js +237 -0
  187. package/dist/cdn/chunks/spacer-cell-DuVOgIj8.js +68 -0
  188. package/dist/cdn/chunks/spacing-scale-SufIjHeN.js +28 -0
  189. package/dist/cdn/chunks/split-button-DH19p8So.js +268 -0
  190. package/dist/cdn/chunks/split-button.i18n-DtClSMga.js +3 -0
  191. package/dist/cdn/chunks/split-view-divider-jzcPmnMh.js +100 -0
  192. package/dist/cdn/chunks/split-view-pane-BLsZz263.js +128 -0
  193. package/dist/cdn/chunks/stacked-split-view-CcOR8LrJ.js +157 -0
  194. package/dist/cdn/chunks/static-html-Cf4ccUIg.js +26 -0
  195. package/dist/cdn/chunks/status-bar-CINbOihq.js +284 -0
  196. package/dist/cdn/chunks/status-bar-change-CR9l0Gyk.js +3 -0
  197. package/dist/cdn/chunks/step-bar-6FvZL1Ti.js +474 -0
  198. package/dist/cdn/chunks/step-bar.i18n-DocExlD7.js +9 -0
  199. package/dist/cdn/chunks/step-cell-CejRisgS.js +287 -0
  200. package/dist/cdn/chunks/stepper-CY2rJWOJ.js +223 -0
  201. package/dist/cdn/chunks/stepper.i18n-COOAkaBl.js +7 -0
  202. package/dist/cdn/chunks/style-map-DsIw6lkq.js +29 -0
  203. package/dist/cdn/chunks/style-mod-DGMhzWuk.js +1583 -0
  204. package/dist/cdn/chunks/swatch-picker-BY3DBIl6.js +430 -0
  205. package/dist/cdn/chunks/swatch-picker.i18n-_G0nmnGe.js +22 -0
  206. package/dist/cdn/chunks/switch-DDSsZFwK.js +275 -0
  207. package/dist/cdn/chunks/switch-field-CMoM9I38.js +137 -0
  208. package/dist/cdn/chunks/tab-bar-CA8K1XjU.js +697 -0
  209. package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +3 -0
  210. package/dist/cdn/chunks/table-DwXjCSD5.js +308 -0
  211. package/dist/cdn/chunks/table.i18n-Bmb_uw_w.js +3 -0
  212. package/dist/cdn/chunks/tag-DM3APy3B.js +306 -0
  213. package/dist/cdn/chunks/text-B1CatNR1.js +421 -0
  214. package/dist/cdn/chunks/text-cell-BkEsGI3g.js +299 -0
  215. package/dist/cdn/chunks/text-editor-BvTiMeNV.js +3743 -0
  216. package/dist/cdn/chunks/text-editor.i18n-sJKiRQ4i.js +17 -0
  217. package/dist/cdn/chunks/text-field-CUyh1-V8.js +398 -0
  218. package/dist/cdn/chunks/time-field--5K0YTcr.js +607 -0
  219. package/dist/cdn/chunks/time-field.i18n-CLH5vmS7.js +11 -0
  220. package/dist/cdn/chunks/time-picker-W0xYXLy8.js +508 -0
  221. package/dist/cdn/chunks/time-picker.i18n-BilOCXlS.js +7 -0
  222. package/dist/cdn/chunks/title-BuT7tWqN.js +437 -0
  223. package/dist/cdn/chunks/title-bar-label-controller-DSxdKZOg.js +24 -0
  224. package/dist/cdn/chunks/title-cell-8d8psUBX.js +327 -0
  225. package/dist/cdn/chunks/toggle-button-DNXWXZpE.js +528 -0
  226. package/dist/cdn/chunks/toggle-button-group-ByowJYgs.js +156 -0
  227. package/dist/cdn/chunks/token-CnkEB3hB.js +266 -0
  228. package/dist/cdn/chunks/token-field-BpyxOGmU.js +664 -0
  229. package/dist/cdn/chunks/token-field.i18n-BclzoR8F.js +9 -0
  230. package/dist/cdn/chunks/token.i18n-RGD5zAtl.js +7 -0
  231. package/dist/cdn/chunks/toml-w97zZfFO.js +27 -0
  232. package/dist/cdn/chunks/toolbar-C24LqAzK.js +408 -0
  233. package/dist/cdn/chunks/toolbar-item-DpPfPxCi.js +50 -0
  234. package/dist/cdn/chunks/toolbar-title-KBMpfL9d.js +84 -0
  235. package/dist/cdn/chunks/toolbar.i18n-QwS37CBC.js +8 -0
  236. package/dist/cdn/chunks/toolbar.styles-BQkG4gVc.js +383 -0
  237. package/dist/cdn/chunks/tooltip-BsAHJjci.js +325 -0
  238. package/dist/cdn/chunks/top-navigation-bar-C_kLPVKD.js +925 -0
  239. package/dist/cdn/chunks/top-navigation-bar.i18n-C-lcH1nB.js +10 -0
  240. package/dist/cdn/chunks/top-title-bar-iNFB2zQL.js +344 -0
  241. package/dist/cdn/chunks/translations-wxBSz213.js +8 -0
  242. package/dist/cdn/chunks/two-thirds-one-third-section-D-UANbHC.js +213 -0
  243. package/dist/cdn/chunks/validation-list-C5BhHZIG.js +202 -0
  244. package/dist/cdn/chunks/validation-list.i18n-CM6In8zD.js +12 -0
  245. package/dist/cdn/chunks/visibility-mixin-COAZ9pON.js +74 -0
  246. package/dist/cdn/chunks/visually-hidden-BPgATaH0.js +43 -0
  247. package/dist/cdn/chunks/window-CxV6ELE9.js +227 -0
  248. package/dist/cdn/chunks/window.i18n-CsEnUPAk.js +3 -0
  249. package/dist/cdn/chunks/with-translations-XX14GKFh.js +16 -0
  250. package/dist/components/actions/menu/menu-item.d.ts +6 -2
  251. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  252. package/dist/components/actions/menu/menu-item.js +12 -1
  253. package/dist/components/actions/menu/menu-item.js.map +1 -1
  254. package/dist/components/actions/menu/menu.js +1 -1
  255. package/dist/components/actions/menu/menu.js.map +1 -1
  256. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  257. package/dist/components/actions/menu/menu.template.js +2 -1
  258. package/dist/components/actions/menu/menu.template.js.map +1 -1
  259. package/dist/components/content/blockquote/blockquote.d.ts +1 -0
  260. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  261. package/dist/components/content/blockquote/blockquote.js +1 -0
  262. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  263. package/dist/components/content/identity/identity.d.ts +1 -0
  264. package/dist/components/content/identity/identity.d.ts.map +1 -1
  265. package/dist/components/content/identity/identity.js +1 -0
  266. package/dist/components/content/identity/identity.js.map +1 -1
  267. package/dist/components/content/image/image.d.ts +1 -0
  268. package/dist/components/content/image/image.d.ts.map +1 -1
  269. package/dist/components/content/image/image.js +1 -0
  270. package/dist/components/content/image/image.js.map +1 -1
  271. package/dist/components/content/rich-text/rich-text.d.ts +1 -0
  272. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  273. package/dist/components/content/rich-text/rich-text.js +1 -0
  274. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  275. package/dist/components/content/text/text.d.ts +1 -0
  276. package/dist/components/content/text/text.d.ts.map +1 -1
  277. package/dist/components/content/text/text.js +1 -0
  278. package/dist/components/content/text/text.js.map +1 -1
  279. package/dist/components/content/title/title.d.ts +1 -0
  280. package/dist/components/content/title/title.d.ts.map +1 -1
  281. package/dist/components/content/title/title.js +1 -0
  282. package/dist/components/content/title/title.js.map +1 -1
  283. package/dist/components/forms/form/form.d.ts.map +1 -1
  284. package/dist/components/forms/form/form.js +1 -0
  285. package/dist/components/forms/form/form.js.map +1 -1
  286. package/dist/components/forms/form-field/form-field.d.ts +1 -0
  287. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  288. package/dist/components/forms/form-field/form-field.js +1 -0
  289. package/dist/components/forms/form-field/form-field.js.map +1 -1
  290. package/dist/components/inputs/date-field/date-field.d.ts +9 -4
  291. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  292. package/dist/components/inputs/date-field/date-field.js +20 -7
  293. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  294. package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
  295. package/dist/components/inputs/date-field/date-field.template.js +1 -0
  296. package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
  297. package/dist/components/inputs/dropdown/dropdown.d.ts +23 -2
  298. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  299. package/dist/components/inputs/dropdown/dropdown.js +68 -11
  300. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  301. package/dist/components/inputs/time-field/time-field.d.ts +4 -0
  302. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  303. package/dist/components/inputs/time-field/time-field.js +17 -2
  304. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  305. package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
  306. package/dist/components/inputs/time-field/time-field.template.js +1 -0
  307. package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
  308. package/dist/components/layout/container/container.d.ts +15 -2
  309. package/dist/components/layout/container/container.d.ts.map +1 -1
  310. package/dist/components/layout/container/container.js +38 -3
  311. package/dist/components/layout/container/container.js.map +1 -1
  312. package/dist/components/layout/container/container.styles.js +1 -1
  313. package/dist/components/layout/container/container.template.js +1 -1
  314. package/dist/components/layout/container/container.template.js.map +1 -1
  315. package/dist/components/layout/page-sections/hero/hero.d.ts +1 -0
  316. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  317. package/dist/components/layout/page-sections/hero/hero.js +1 -0
  318. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  319. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  320. package/dist/components/layout/popover/popover.js +4 -2
  321. package/dist/components/layout/popover/popover.js.map +1 -1
  322. package/dist/components/lists-and-tables/list-item/list-item.d.ts +7 -0
  323. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  324. package/dist/components/lists-and-tables/list-item/list-item.js +13 -3
  325. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  326. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -1
  327. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  328. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +19 -3
  329. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  330. package/dist/nldd.min.js +729 -727
  331. package/dist/types/react.d.ts +3323 -0
  332. package/dist/types/vue.d.ts +11 -3
  333. package/dist/utilities/autoloader.d.ts +33 -0
  334. package/dist/utilities/autoloader.d.ts.map +1 -0
  335. package/dist/utilities/autoloader.generated.d.ts +3 -0
  336. package/dist/utilities/autoloader.generated.d.ts.map +1 -0
  337. package/dist/utilities/autoloader.generated.js +141 -0
  338. package/dist/utilities/autoloader.generated.js.map +1 -0
  339. package/dist/utilities/autoloader.js +94 -0
  340. package/dist/utilities/autoloader.js.map +1 -0
  341. package/dist/utilities/dev-checks.d.ts +9 -0
  342. package/dist/utilities/dev-checks.d.ts.map +1 -1
  343. package/dist/utilities/dev-checks.js +45 -3
  344. package/dist/utilities/dev-checks.js.map +1 -1
  345. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  346. package/dist/utilities/dev-rules.generated.js +12 -2
  347. package/dist/utilities/dev-rules.generated.js.map +1 -1
  348. package/dist/utilities/loading-tags.d.ts +7 -0
  349. package/dist/utilities/loading-tags.d.ts.map +1 -0
  350. package/dist/utilities/loading-tags.js +7 -0
  351. package/dist/utilities/loading-tags.js.map +1 -0
  352. package/dist/utilities/owner-form.d.ts +3 -3
  353. package/dist/utilities/owner-form.d.ts.map +1 -1
  354. package/dist/utilities/owner-form.js +6 -3
  355. package/dist/utilities/owner-form.js.map +1 -1
  356. package/dist/utilities/return-focus.d.ts +14 -0
  357. package/dist/utilities/return-focus.d.ts.map +1 -1
  358. package/dist/utilities/return-focus.js +26 -8
  359. package/dist/utilities/return-focus.js.map +1 -1
  360. package/lint/data.generated.json +1 -1
  361. package/lint/engine.js +53 -1
  362. package/lint/format.js +6 -5
  363. package/lint/frontends.js +224 -16
  364. package/lint/linter.js +5 -3
  365. package/lint/main.js +36 -9
  366. package/lint/project.js +73 -4
  367. package/lint/rule-data.js +17 -2
  368. package/lint/tree.js +3 -0
  369. package/package.json +50 -11
  370. package/dist/components/breakpoints-DtL62nLI.js +0 -45
  371. package/dist/components/components.js +0 -68243
  372. package/dist/components/decorate-DD7uUxHb.js +0 -51
  373. package/dist/components/defer-focus-dzorHsCQ.js +0 -176
  374. package/dist/components/dev-checks-CLB9G43h.js +0 -2711
  375. package/dist/components/dist-245LaK9m.js +0 -1479
  376. package/dist/components/dist-BFZM0YsR.js +0 -15772
  377. package/dist/components/dist-BNkeFjc3.js +0 -1180
  378. package/dist/components/dist-CSC1dG3L.js +0 -365
  379. package/dist/components/dist-CeMOOqgP.js +0 -1509
  380. package/dist/components/dist-DFjwTlJV.js +0 -624
  381. package/dist/components/dist-DHhnz3Gv.js +0 -381
  382. package/dist/components/dist-PeUX4vPq.js +0 -2857
  383. package/dist/components/dist-m70B83qb.js +0 -463
  384. package/dist/components/element-state-BnarBv0M.js +0 -42
  385. package/dist/components/gherkin-DzYbEwDO.js +0 -107
  386. package/dist/components/icon-button-8gvQCwCW.js +0 -2305
  387. package/dist/components/input-modality-D_CY185R.js +0 -48
  388. package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
  389. package/dist/components/nl.generated-DzZkOgnP.js +0 -64
  390. package/dist/components/rolldown-runtime-D8jQpDG7.js +0 -12
  391. package/dist/components/shadow-resets-BwOyyZFH.js +0 -60
  392. package/dist/components/shell-Dh5IwHd-.js +0 -222
  393. package/dist/components/toml-D0Pix_8Q.js +0 -58
  394. package/dist/components/visibility-mixin-Dzn48SL8.js +0 -153
@@ -777,7 +777,7 @@ declare module 'vue' {
777
777
  'lg-column-count'?: NLDDContainer['lgColumnCount'];
778
778
  /** Column count when this container is lg-wide */
779
779
  'lgColumnCount'?: NLDDContainer['lgColumnCount'];
780
- /** 'full' (default, fills the parent) | 'fit-content' | a CSS length (e.g. '480px'). A container narrower than its parent stays where its parent puts it; use the parent's horizontal-alignment to move it. A 'fit-content' container takes its width from its content, so it cannot measure itself: its breakpoint padding, gap and column count follow the container around it. */
780
+ /** 'full' (default, fills the parent) | 'fit-content' | a CSS length (e.g. '480px'). A container narrower than its parent stays where its parent puts it; use the parent's horizontal-alignment to move it. A 'fit-content' container takes its width from its content, so it cannot measure itself: its breakpoint padding, gap and column count follow the container around it. The same holds for a 'full' container inside a 'fit-content' one, since filling a parent that sizes to its content is sizing to the content too. */
781
781
  'width'?: NLDDContainer['width'];
782
782
  /** Minimum width as a CSS length (e.g. '280px') */
783
783
  'min-width'?: NLDDContainer['minWidth'];
@@ -1136,9 +1136,11 @@ declare module 'vue' {
1136
1136
  'accessibleLabel'?: NLDDDropdown['accessibleLabel'];
1137
1137
  /** Required state, handed to the slotted <select>. A `required` on the <select> itself is left alone. */
1138
1138
  'required'?: NLDDDropdown['required'];
1139
+ /** The value of the slotted `<select>`, so a framework can bind to the dropdown itself instead of reaching for the select inside it. */
1140
+ 'value'?: NLDDDropdown['value'];
1139
1141
  /** Set by nldd-form-field. A consumer never writes this. */
1140
1142
  'describedByElements'?: NLDDDropdown['describedByElements'];
1141
- /** Bubbles up from the slotted select; detail: { value: string } */
1143
+ /** The native change of the slotted select, left to bubble, so a listener on the select, on the dropdown or higher up all hear it. Read the choice from `value`. */
1142
1144
  'onChange'?: (event: CustomEvent) => void;
1143
1145
  };
1144
1146
 
@@ -1770,6 +1772,8 @@ declare module 'vue' {
1770
1772
  'checkbox'?: NLDDListItem['checkbox'];
1771
1773
  /** Makes the whole row one radio of a group: the action becomes a `role="radio"` button carrying `aria-checked`, and activation sets `checked` (never clears it) and fires `change`. Put the rows in an `nldd-list type="radiogroup"`, which is what makes them a set. Wins over `button`, loses to `href` and `checkbox`. The arrow keys move focus without checking, where a native radio group and `nldd-radio-button-group` check as they go: a row can carry more than a label, so stepping past one should not commit it. */
1772
1774
  'radio'?: NLDDListItem['radio'];
1775
+ /** The row opens something, also while it is closed: without `expanded` it says "collapsed" instead of nothing. This is how markup writes a closed disclosure, since an attribute can only be there or not. A row with children in a tree already is one. */
1776
+ 'expandable'?: NLDDListItem['expandable'];
1773
1777
  /** Accessible name of the row's action (its link, button, checkbox or radio), for a row whose text does not say enough on its own. It replaces the content of the whole row for assistive technology, the supporting text and a status included, so set it only when the row has no text of its own, or put everything that matters in it. Start it with the row's visible title, so voice control finds the row by the words on screen (WCAG 2.5.3); development warns when it does not. The hint for another website or a new tab is added to it. */
1774
1778
  'accessible-label'?: NLDDListItem['accessibleLabel'];
1775
1779
  /** Accessible name of the row's action (its link, button, checkbox or radio), for a row whose text does not say enough on its own. It replaces the content of the whole row for assistive technology, the supporting text and a status included, so set it only when the row has no text of its own, or put everything that matters in it. Start it with the row's visible title, so voice control finds the row by the words on screen (WCAG 2.5.3); development warns when it does not. The hint for another website or a new tab is added to it. */
@@ -1828,6 +1832,8 @@ declare module 'vue' {
1828
1832
  'checkbox'?: NLDDListItemSegment['checkbox'];
1829
1833
  /** Marks the segment as the row's disclosure control: `aria-expanded` comes from the parent item's `expanded`, so the state lives in one place. A slotted `nldd-icon-cell` rotates a quarter turn while the row is open */
1830
1834
  'disclosure'?: NLDDListItemSegment['disclosure'];
1835
+ /** The segment opens something, also while it is closed: without `expanded` it says "collapsed" instead of nothing. This is how markup writes a closed disclosure, since an attribute can only be there or not. */
1836
+ 'expandable'?: NLDDListItemSegment['expandable'];
1831
1837
  /** Accessible name for the control. Set it when the segment holds only an icon, or when the cell text does not describe the action. */
1832
1838
  'accessible-label'?: NLDDListItemSegment['accessibleLabel'];
1833
1839
  /** Accessible name for the control. Set it when the segment holds only an icon, or when the cell text does not describe the action. */
@@ -1984,8 +1990,10 @@ declare module 'vue' {
1984
1990
  'shortcutMac'?: NLDDMenuItem['shortcutMac'];
1985
1991
  /** Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Ignored for submenu openers, checkbox/radio items, and while disabled. */
1986
1992
  'href'?: NLDDMenuItem['href'];
1987
- /** Item type: 'button' | 'checkbox' | 'radio'. Default: 'button'. One checkbox or radio item gives every item in its menu the check-mark column, so the text of the whole menu starts at one line, as in a native menu. Submenus decide for themselves. */
1993
+ /** Item type: 'button' | 'submit' | 'checkbox' | 'radio'. Default: 'button'. A 'submit' item submits its form when chosen, always after `select`, so a logout or delete can be a POST without script: the form it stands in, or the one `form` names. Like a native button, it looks only in its own tree: a menu in a shadow root does not reach a form outside it. To stop it, cancel the form's `submit` event, which runs validation first. One checkbox or radio item gives every item in its menu the check-mark column, so the text of the whole menu starts at one line, as in a native menu. Submenus decide for themselves. */
1988
1994
  'type'?: NLDDMenuItem['type'];
1995
+ /** Id of the form a `submit` item submits, for an item that does not stand in it, which a menu usually does not. Takes an `nldd-form` as well as a plain `<form>`, looked up in the item's own root. */
1996
+ 'form'?: NLDDMenuItem['form'];
1989
1997
  /** Selected state for checkbox and radio types. */
1990
1998
  'selected'?: NLDDMenuItem['selected'];
1991
1999
  /** Disabled state. */
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Registers each nldd-* component the first time it appears on the page.
3
+ *
4
+ * Import it once instead of a list of subpaths:
5
+ *
6
+ * import '@nldd/design-system/autoloader';
7
+ *
8
+ * or, on a page without a bundler, load the build in `dist/cdn`, which brings
9
+ * lit along:
10
+ *
11
+ * <script type="module" src="/nldd/autoloader.js"></script>
12
+ *
13
+ * It looks for nldd-* elements that are not defined yet, in the page and in
14
+ * everything added to it later (a fragment from htmx or Turbo, a route a
15
+ * framework renders), and loads the module of each tag once. A page loads only
16
+ * what it shows, and nothing has to keep an import list up to date.
17
+ *
18
+ * It sees the document, not the shadow root of your own components. Call
19
+ * `discover(root)` for such a root yourself.
20
+ */
21
+ /**
22
+ * Loads the modules for every nldd-* element in `root` that is not defined yet,
23
+ * `root` itself included. Resolves once they are all registered.
24
+ */
25
+ export declare function discover(root?: ParentNode): Promise<void>;
26
+ /**
27
+ * Starts watching `root` for nldd-* elements. Runs on import for the document;
28
+ * call it yourself only for another root.
29
+ */
30
+ export declare function startAutoloader(root?: Document | ShadowRoot): void;
31
+ /** Stops watching the document. */
32
+ export declare function stopAutoloader(): void;
33
+ //# sourceMappingURL=autoloader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoloader.d.ts","sourceRoot":"","sources":["../../src/utilities/autoloader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAmCH;;;GAGG;AACH,wBAAsB,QAAQ,CAAC,IAAI,GAAE,UAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAOzE;AAID;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,GAAE,QAAQ,GAAG,UAAqB,GAAG,IAAI,CAa5E;AAED,mCAAmC;AACnC,wBAAgB,cAAc,IAAI,IAAI,CAGrC"}
@@ -0,0 +1,3 @@
1
+ /** Per nldd-* tag, a dynamic import of the module that defines it. */
2
+ export declare const loaders: Record<string, () => Promise<unknown>>;
3
+ //# sourceMappingURL=autoloader.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoloader.generated.d.ts","sourceRoot":"","sources":["../../src/utilities/autoloader.generated.ts"],"names":[],"mappings":"AAEA,sEAAsE;AACtE,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAyI1D,CAAC"}
@@ -0,0 +1,141 @@
1
+ // Generated by scripts/generate-autoloader.js. Do not edit.
2
+ /** Per nldd-* tag, a dynamic import of the module that defines it. */
3
+ export const loaders = {
4
+ 'nldd-activity-indicator': () => import('../components/status-and-feedback/activity-indicator/activity-indicator.js'),
5
+ 'nldd-avatar': () => import('../components/content/avatar/avatar.js'),
6
+ 'nldd-avatar-group': () => import('../components/content/avatar-group/avatar-group.js'),
7
+ 'nldd-badge': () => import('../components/status-and-feedback/badge/badge.js'),
8
+ 'nldd-banner': () => import('../components/status-and-feedback/banner/banner.js'),
9
+ 'nldd-bar-split-view': () => import('../components/layout/split-views/bar-split-view/bar-split-view.js'),
10
+ 'nldd-blockquote': () => import('../components/content/blockquote/blockquote.js'),
11
+ 'nldd-box': () => import('../components/layout/box/box.js'),
12
+ 'nldd-breadcrumbs': () => import('../components/navigation/breadcrumbs/breadcrumbs.js'),
13
+ 'nldd-breadcrumbs-item': () => import('../components/navigation/breadcrumbs/breadcrumbs.js'),
14
+ 'nldd-button': () => import('../components/actions/button/button.js'),
15
+ 'nldd-button-bar': () => import('../components/actions/button-bar/button-bar.js'),
16
+ 'nldd-button-bar-divider': () => import('../components/actions/button-bar/button-bar.js'),
17
+ 'nldd-button-group': () => import('../components/actions/button-group/button-group.js'),
18
+ 'nldd-card': () => import('../components/layout/card/card.js'),
19
+ 'nldd-cell': () => import('../components/lists-and-tables/cells/cell/cell.js'),
20
+ 'nldd-checkbox': () => import('../components/inputs/checkbox/checkbox.js'),
21
+ 'nldd-checkbox-field': () => import('../components/inputs/checkbox-field/checkbox-field.js'),
22
+ 'nldd-code-editor': () => import('../components/inputs/code-editor/code-editor.js'),
23
+ 'nldd-code-viewer': () => import('../components/content/code-viewer/code-viewer.js'),
24
+ 'nldd-collection': () => import('../components/layout/collection/collection.js'),
25
+ 'nldd-combo-box': () => import('../components/inputs/combo-box/combo-box.js'),
26
+ 'nldd-container': () => import('../components/layout/container/container.js'),
27
+ 'nldd-date-field': () => import('../components/inputs/date-field/date-field.js'),
28
+ 'nldd-date-picker': () => import('../components/inputs/date-picker/date-picker.js'),
29
+ 'nldd-description-cell': () => import('../components/lists-and-tables/cells/description-cell/description-cell.js'),
30
+ 'nldd-divider': () => import('../components/layout/divider/divider.js'),
31
+ 'nldd-document-tab-bar': () => import('../components/navigation/document-tab-bar/document-tab-bar.js'),
32
+ 'nldd-document-tab-bar-item': () => import('../components/navigation/document-tab-bar/document-tab-bar.js'),
33
+ 'nldd-drag-handle-cell': () => import('../components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js'),
34
+ 'nldd-dropdown': () => import('../components/inputs/dropdown/dropdown.js'),
35
+ 'nldd-file-field': () => import('../components/inputs/file-field/file-field.js'),
36
+ 'nldd-form': () => import('../components/forms/form/form.js'),
37
+ 'nldd-form-actions': () => import('../components/forms/form-actions/form-actions.js'),
38
+ 'nldd-form-field': () => import('../components/forms/form-field/form-field.js'),
39
+ 'nldd-form-field-help-text': () => import('../components/forms/form-field/form-field.js'),
40
+ 'nldd-form-section': () => import('../components/forms/form-section/form-section.js'),
41
+ 'nldd-full-bleed-section': () => import('../components/layout/page-sections/full-bleed-section/full-bleed-section.js'),
42
+ 'nldd-hero': () => import('../components/layout/page-sections/hero/hero.js'),
43
+ 'nldd-icon': () => import('../components/content/icon/icon.js'),
44
+ 'nldd-icon-button': () => import('../components/actions/icon-button/icon-button.js'),
45
+ 'nldd-icon-cell': () => import('../components/lists-and-tables/cells/icon-cell/icon-cell.js'),
46
+ 'nldd-identity': () => import('../components/content/identity/identity.js'),
47
+ 'nldd-image': () => import('../components/content/image/image.js'),
48
+ 'nldd-inline-dialog': () => import('../components/status-and-feedback/inline-dialog/inline-dialog.js'),
49
+ 'nldd-just-in-time-education': () => import('../components/status-and-feedback/just-in-time-education/just-in-time-education.js'),
50
+ 'nldd-kanban': () => import('../components/layout/kanban/kanban.js'),
51
+ 'nldd-kanban-column': () => import('../components/layout/kanban/kanban-column.js'),
52
+ 'nldd-keyboard-shortcut': () => import('../components/content/keyboard-shortcut/keyboard-shortcut.js'),
53
+ 'nldd-link': () => import('../components/navigation/link/link.js'),
54
+ 'nldd-link-group': () => import('../components/navigation/link-group/link-group.js'),
55
+ 'nldd-list': () => import('../components/lists-and-tables/list/list.js'),
56
+ 'nldd-list-item': () => import('../components/lists-and-tables/list-item/list-item.js'),
57
+ 'nldd-list-item-segment': () => import('../components/lists-and-tables/list-item-segment/list-item-segment.js'),
58
+ 'nldd-menu': () => import('../components/actions/menu/menu.js'),
59
+ 'nldd-menu-bar': () => import('../components/navigation/menu-bar/menu-bar.js'),
60
+ 'nldd-menu-bar-item': () => import('../components/navigation/menu-bar-item/menu-bar-item.js'),
61
+ 'nldd-menu-divider': () => import('../components/actions/menu/menu-divider.js'),
62
+ 'nldd-menu-group': () => import('../components/actions/menu/menu-group.js'),
63
+ 'nldd-menu-item': () => import('../components/actions/menu/menu-item.js'),
64
+ 'nldd-modal-dialog': () => import('../components/status-and-feedback/modal-dialog/modal-dialog.js'),
65
+ 'nldd-multi-line-text-field': () => import('../components/inputs/multi-line-text-field/multi-line-text-field.js'),
66
+ 'nldd-navigation-split-view': () => import('../components/layout/split-views/navigation-split-view/navigation-split-view.js'),
67
+ 'nldd-notification': () => import('../components/status-and-feedback/notification/notification.js'),
68
+ 'nldd-number-field': () => import('../components/inputs/number-field/number-field.js'),
69
+ 'nldd-one-half-one-half-section': () => import('../components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js'),
70
+ 'nldd-one-third-two-thirds-section': () => import('../components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js'),
71
+ 'nldd-one-time-code-field': () => import('../components/inputs/one-time-code-field/one-time-code-field.js'),
72
+ 'nldd-page': () => import('../components/layout/page/page.js'),
73
+ 'nldd-page-footer': () => import('../components/layout/page-footer/page-footer.js'),
74
+ 'nldd-page-footer-legal-bar': () => import('../components/layout/page-footer/page-footer.js'),
75
+ 'nldd-page-footer-legal-bar-item': () => import('../components/layout/page-footer/page-footer.js'),
76
+ 'nldd-pagination': () => import('../components/navigation/pagination/pagination.js'),
77
+ 'nldd-password-field': () => import('../components/inputs/password-field/password-field.js'),
78
+ 'nldd-popover': () => import('../components/layout/popover/popover.js'),
79
+ 'nldd-progress-bar': () => import('../components/status-and-feedback/progress-bar/progress-bar.js'),
80
+ 'nldd-progress-bar-segment-indicator': () => import('../components/status-and-feedback/progress-bar/progress-bar.js'),
81
+ 'nldd-progress-circle': () => import('../components/status-and-feedback/progress-circle/progress-circle.js'),
82
+ 'nldd-progress-circle-segment-indicator': () => import('../components/status-and-feedback/progress-circle/progress-circle.js'),
83
+ 'nldd-radio-button': () => import('../components/inputs/radio-button/radio-button.js'),
84
+ 'nldd-radio-button-field': () => import('../components/inputs/radio-button-field/radio-button-field.js'),
85
+ 'nldd-radio-button-group': () => import('../components/inputs/radio-button-group/radio-button-group.js'),
86
+ 'nldd-rich-text': () => import('../components/content/rich-text/rich-text.js'),
87
+ 'nldd-search-field': () => import('../components/inputs/search-field/search-field.js'),
88
+ 'nldd-segmented-control': () => import('../components/inputs/segmented-control/segmented-control.js'),
89
+ 'nldd-segmented-control-item': () => import('../components/inputs/segmented-control/segmented-control.js'),
90
+ 'nldd-sheet': () => import('../components/layout/sheet/sheet.js'),
91
+ 'nldd-shell': () => import('../components/layout/shell/shell.js'),
92
+ 'nldd-side-by-side-split-view': () => import('../components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js'),
93
+ 'nldd-sidebar-section': () => import('../components/layout/page-sections/sidebar-section/sidebar-section.js'),
94
+ 'nldd-simple-section': () => import('../components/layout/page-sections/simple-section/simple-section.js'),
95
+ 'nldd-skip-link': () => import('../components/navigation/skip-link/skip-link.js'),
96
+ 'nldd-slider': () => import('../components/inputs/slider/slider.js'),
97
+ 'nldd-spacer': () => import('../components/layout/spacer/spacer.js'),
98
+ 'nldd-spacer-cell': () => import('../components/lists-and-tables/cells/spacer-cell/spacer-cell.js'),
99
+ 'nldd-split-button': () => import('../components/actions/split-button/split-button.js'),
100
+ 'nldd-split-view-divider': () => import('../components/layout/split-views/split-view-divider/split-view-divider.js'),
101
+ 'nldd-split-view-pane': () => import('../components/layout/split-views/split-view-pane/split-view-pane.js'),
102
+ 'nldd-stacked-split-view': () => import('../components/layout/split-views/stacked-split-view/stacked-split-view.js'),
103
+ 'nldd-status-bar': () => import('../components/status-and-feedback/status-bar/status-bar.js'),
104
+ 'nldd-step-bar': () => import('../components/status-and-feedback/step-bar/step-bar.js'),
105
+ 'nldd-step-bar-item': () => import('../components/status-and-feedback/step-bar/step-bar.js'),
106
+ 'nldd-step-cell': () => import('../components/lists-and-tables/cells/step-cell/step-cell.js'),
107
+ 'nldd-stepper': () => import('../components/inputs/stepper/stepper.js'),
108
+ 'nldd-swatch-picker': () => import('../components/inputs/swatch-picker/swatch-picker.js'),
109
+ 'nldd-swatch-picker-item': () => import('../components/inputs/swatch-picker/swatch-picker.js'),
110
+ 'nldd-switch': () => import('../components/inputs/switch/switch.js'),
111
+ 'nldd-switch-field': () => import('../components/inputs/switch-field/switch-field.js'),
112
+ 'nldd-tab-bar': () => import('../components/navigation/tab-bar/tab-bar.js'),
113
+ 'nldd-tab-bar-item': () => import('../components/navigation/tab-bar/tab-bar.js'),
114
+ 'nldd-table': () => import('../components/lists-and-tables/table/table.js'),
115
+ 'nldd-table-row': () => import('../components/lists-and-tables/table/table.js'),
116
+ 'nldd-tag': () => import('../components/content/tag/tag.js'),
117
+ 'nldd-text': () => import('../components/content/text/text.js'),
118
+ 'nldd-text-cell': () => import('../components/lists-and-tables/cells/text-cell/text-cell.js'),
119
+ 'nldd-text-editor': () => import('../components/inputs/text-editor/text-editor.js'),
120
+ 'nldd-text-field': () => import('../components/inputs/text-field/text-field.js'),
121
+ 'nldd-time-field': () => import('../components/inputs/time-field/time-field.js'),
122
+ 'nldd-time-picker': () => import('../components/inputs/time-picker/time-picker.js'),
123
+ 'nldd-title': () => import('../components/content/title/title.js'),
124
+ 'nldd-title-cell': () => import('../components/lists-and-tables/cells/title-cell/title-cell.js'),
125
+ 'nldd-toggle-button': () => import('../components/inputs/toggle-button/toggle-button.js'),
126
+ 'nldd-toggle-button-group': () => import('../components/inputs/toggle-button-group/toggle-button-group.js'),
127
+ 'nldd-token': () => import('../components/content/token/token.js'),
128
+ 'nldd-token-field': () => import('../components/inputs/token-field/token-field.js'),
129
+ 'nldd-toolbar': () => import('../components/actions/toolbar/toolbar.js'),
130
+ 'nldd-toolbar-item': () => import('../components/actions/toolbar/toolbar-item.js'),
131
+ 'nldd-toolbar-title': () => import('../components/actions/toolbar/toolbar-title.js'),
132
+ 'nldd-tooltip': () => import('../components/content/tooltip/tooltip.js'),
133
+ 'nldd-top-navigation-bar': () => import('../components/navigation/top-navigation-bar/top-navigation-bar.js'),
134
+ 'nldd-top-title-bar': () => import('../components/navigation/top-title-bar/top-title-bar.js'),
135
+ 'nldd-two-thirds-one-third-section': () => import('../components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js'),
136
+ 'nldd-validation-item': () => import('../components/forms/validation-list/validation-list.js'),
137
+ 'nldd-validation-list': () => import('../components/forms/validation-list/validation-list.js'),
138
+ 'nldd-visually-hidden': () => import('../components/content/visually-hidden/visually-hidden.js'),
139
+ 'nldd-window': () => import('../components/layout/window/window.js'),
140
+ };
141
+ //# sourceMappingURL=autoloader.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoloader.generated.js","sourceRoot":"","sources":["../../src/utilities/autoloader.generated.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAE5D,sEAAsE;AACtE,MAAM,CAAC,MAAM,OAAO,GAA2C;IAC9D,yBAAyB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,4EAA4E,CAAC;IACrH,aAAa,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,wCAAwC,CAAC;IACrE,mBAAmB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,oDAAoD,CAAC;IACvF,YAAY,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,kDAAkD,CAAC;IAC9E,aAAa,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,oDAAoD,CAAC;IACjF,qBAAqB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,mEAAmE,CAAC;IACxG,iBAAiB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,gDAAgD,CAAC;IACjF,UAAU,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,iCAAiC,CAAC;IAC3D,kBAAkB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,qDAAqD,CAAC;IACvF,uBAAuB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,qDAAqD,CAAC;IAC5F,aAAa,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,wCAAwC,CAAC;IACrE,iBAAiB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,gDAAgD,CAAC;IACjF,yBAAyB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,gDAAgD,CAAC;IACzF,mBAAmB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,oDAAoD,CAAC;IACvF,WAAW,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,mCAAmC,CAAC;IAC9D,WAAW,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,mDA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CAAC;IAC5G,oBAAoB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,yDAAyD,CAAC;IAC7F,mCAAmC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,iGAAiG,CAAC;IACpJ,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,wDAAwD,CAAC;IAC9F,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,wDAAwD,CAAC;IAC9F,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,0DAA0D,CAAC;IAChG,aAAa,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,uCAAuC,CAAC;CACpE,CAAC"}
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Registers each nldd-* component the first time it appears on the page.
3
+ *
4
+ * Import it once instead of a list of subpaths:
5
+ *
6
+ * import '@nldd/design-system/autoloader';
7
+ *
8
+ * or, on a page without a bundler, load the build in `dist/cdn`, which brings
9
+ * lit along:
10
+ *
11
+ * <script type="module" src="/nldd/autoloader.js"></script>
12
+ *
13
+ * It looks for nldd-* elements that are not defined yet, in the page and in
14
+ * everything added to it later (a fragment from htmx or Turbo, a route a
15
+ * framework renders), and loads the module of each tag once. A page loads only
16
+ * what it shows, and nothing has to keep an import list up to date.
17
+ *
18
+ * It sees the document, not the shadow root of your own components. Call
19
+ * `discover(root)` for such a root yourself.
20
+ */
21
+ import { loaders } from './autoloader.generated.js';
22
+ import { loadingTags } from './loading-tags.js';
23
+ const loading = new Map();
24
+ function isUndefinedComponent(element) {
25
+ return element.localName.startsWith('nldd-') && !customElements.get(element.localName);
26
+ }
27
+ /** Loads the module of one tag, once. A tag no module defines is left alone. */
28
+ function load(tag) {
29
+ const loader = loaders[tag];
30
+ if (!loader)
31
+ return undefined;
32
+ let pending = loading.get(tag);
33
+ if (!pending) {
34
+ // A failed load (the network, say) may be tried again on the next sighting.
35
+ pending = loader().catch((error) => {
36
+ loading.delete(tag);
37
+ throw error;
38
+ });
39
+ loading.set(tag, pending);
40
+ loadingTags.add(tag);
41
+ const done = () => loadingTags.delete(tag);
42
+ pending.then(done, done);
43
+ }
44
+ return pending;
45
+ }
46
+ /** For the observer, which has no caller to hand a failed load to. */
47
+ function report(error) {
48
+ console.error('[nldd] A component module failed to load.', error);
49
+ }
50
+ /**
51
+ * Loads the modules for every nldd-* element in `root` that is not defined yet,
52
+ * `root` itself included. Resolves once they are all registered.
53
+ */
54
+ export async function discover(root = document) {
55
+ const tags = new Set();
56
+ if (root instanceof Element && isUndefinedComponent(root))
57
+ tags.add(root.localName);
58
+ for (const element of root.querySelectorAll(':not(:defined)')) {
59
+ if (isUndefinedComponent(element))
60
+ tags.add(element.localName);
61
+ }
62
+ await Promise.all([...tags].map(load));
63
+ }
64
+ let observer;
65
+ /**
66
+ * Starts watching `root` for nldd-* elements. Runs on import for the document;
67
+ * call it yourself only for another root.
68
+ */
69
+ export function startAutoloader(root = document) {
70
+ if (typeof MutationObserver === 'undefined')
71
+ return;
72
+ if (root === document && observer)
73
+ return;
74
+ const watcher = new MutationObserver((mutations) => {
75
+ for (const mutation of mutations) {
76
+ for (const node of mutation.addedNodes) {
77
+ if (node instanceof Element)
78
+ discover(node).catch(report);
79
+ }
80
+ }
81
+ });
82
+ watcher.observe(root, { childList: true, subtree: true });
83
+ if (root === document)
84
+ observer = watcher;
85
+ discover(root).catch(report);
86
+ }
87
+ /** Stops watching the document. */
88
+ export function stopAutoloader() {
89
+ observer?.disconnect();
90
+ observer = undefined;
91
+ }
92
+ if (typeof document !== 'undefined')
93
+ startAutoloader();
94
+ //# sourceMappingURL=autoloader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoloader.js","sourceRoot":"","sources":["../../src/utilities/autoloader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAA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,QAAQ,GAAG,SAAS,CAAC;AACtB,CAAC;AAED,IAAI,OAAO,QAAQ,KAAK,WAAW;IAAE,eAAe,EAAE,CAAC"}
@@ -43,5 +43,14 @@ export declare function checkTranslationKeys(keys: string[]): Promise<void>;
43
43
  export declare function lacksFoucGuard(root?: ParentNode | null): boolean;
44
44
  /** Like a translation, the guard has no element to state a fact on, so this one reports itself. */
45
45
  export declare function checkFoucGuard(): void;
46
+ /** The nldd-* elements in these roots that no module has defined (yet). */
47
+ export declare function findUndefined(roots?: ParentNode[]): Element[];
48
+ /**
49
+ * An element that is never defined runs no code, so it cannot state a fact for
50
+ * a rule. Like the FOUC guard, this one reports itself: once per tag, after
51
+ * the tag has stayed undefined for a while.
52
+ */
53
+ /** @internal Exported for tests. */
54
+ export declare function createRegistrationCheck(): () => void;
46
55
  export declare function startDevChecks(): void;
47
56
  //# sourceMappingURL=dev-checks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dev-checks.d.ts","sourceRoot":"","sources":["../../src/utilities/dev-checks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,MAAM,WAAW,OAAO;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAwCD,6EAA6E;AAC7E,wBAAgB,cAAc,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,GAAE,OAAO,EAAa;UACtD,OAAO;aAAW,OAAO;IAO9C;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAA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mG;AACnG,wBAAgB,cAAc,IAAI,IAAI,CAIrC;AASD,2EAA2E;AAC3E,wBAAgB,aAAa,CAAC,KAAK,GAAE,UAAU,EAAgB,GAAG,OAAO,EAAE,CAG1E;AAED;;;;GAIG;AACH,oCAAoC;AACpC,wBAAgB,uBAAuB,eAgBtC;AAID,wBAAgB,cAAc,IAAI,IAAI,CA0BrC"}
@@ -10,6 +10,7 @@
10
10
  * through dev-checks-trigger.ts; a production build does not contain it.
11
11
  */
12
12
  import { devRules } from './dev-rules.generated.js';
13
+ import { loadingTags } from './loading-tags.js';
13
14
  /** Long enough for a framework to finish a render, and for most first data. */
14
15
  const SETTLE_MS = 300;
15
16
  /** A `:state()` changes nothing a MutationObserver sees, so also look regularly. */
@@ -111,17 +112,56 @@ export function checkFoucGuard() {
111
112
  console.warn("[nldd] fouc.css: this page has no FOUC guard, so components show unstyled until they load. Import '@nldd/design-system/styles', which includes it, or '@nldd/design-system/styles/fouc' on its own.");
112
113
  }
113
114
  }
115
+ /**
116
+ * How long an nldd-* element may stay undefined before it counts as never
117
+ * registered. Long enough for a module that loads on demand, the autoloader's
118
+ * included, over a slow connection.
119
+ */
120
+ const UNREGISTERED_MS = 3000;
121
+ /** The nldd-* elements in these roots that no module has defined (yet). */
122
+ export function findUndefined(roots = findRoots()) {
123
+ return roots.flatMap((root) => [...root.querySelectorAll(':not(:defined)')])
124
+ .filter((element) => element.localName.startsWith('nldd-'));
125
+ }
126
+ /**
127
+ * An element that is never defined runs no code, so it cannot state a fact for
128
+ * a rule. Like the FOUC guard, this one reports itself: once per tag, after
129
+ * the tag has stayed undefined for a while.
130
+ */
131
+ /** @internal Exported for tests. */
132
+ export function createRegistrationCheck() {
133
+ const firstSeen = new WeakMap();
134
+ const reported = new Set();
135
+ return () => {
136
+ const now = Date.now();
137
+ for (const element of findUndefined()) {
138
+ const seen = firstSeen.get(element);
139
+ if (seen === undefined) {
140
+ firstSeen.set(element, now);
141
+ continue;
142
+ }
143
+ if (now - seen < UNREGISTERED_MS || reported.has(element.localName) || loadingTags.has(element.localName))
144
+ continue;
145
+ reported.add(element.localName);
146
+ console.warn(`[nldd] <${element.localName}> is not registered, so it renders nothing of its own. Import its module from @nldd/design-system, or check the name.`, element);
147
+ }
148
+ };
149
+ }
114
150
  let started = false;
115
151
  export function startDevChecks() {
116
152
  if (started || typeof MutationObserver === 'undefined')
117
153
  return;
118
154
  started = true;
119
155
  const report = createReporter();
156
+ const checkRegistrations = createRegistrationCheck();
120
157
  const stateRules = devRules.filter((rule) => rule.context.includes(':state('));
121
158
  let timer;
122
159
  const schedule = () => {
123
160
  clearTimeout(timer);
124
- timer = setTimeout(() => report(), SETTLE_MS);
161
+ timer = setTimeout(() => {
162
+ report();
163
+ checkRegistrations();
164
+ }, SETTLE_MS);
125
165
  };
126
166
  new MutationObserver(schedule).observe(document.documentElement, {
127
167
  subtree: true,
@@ -129,8 +169,10 @@ export function startDevChecks() {
129
169
  attributes: true,
130
170
  });
131
171
  setInterval(() => {
132
- if (!document.hidden)
133
- report(stateRules);
172
+ if (document.hidden)
173
+ return;
174
+ report(stateRules);
175
+ checkRegistrations();
134
176
  }, RECHECK_MS);
135
177
  schedule();
136
178
  setTimeout(checkFoucGuard, SETTLE_MS);
@@ -1 +1 @@
1
- {"version":3,"file":"dev-checks.js","sourceRoot":"","sources":["../../src/utilities/dev-checks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAapD,+EAA+E;AAC/E,MAAM,SAAS,GAAG,GAAG,CAAC;AAEtB,oFAAoF;AACpF,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,SAAS,UAAU,CAAC,IAAa,EAAE,OAAgB;IAClD,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACjB,iEAAiE;QACjE,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAE,OAA8C,C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E,SAAS,CAAC,CAAC;IACf,CAAC,CAAC;IACF,IAAI,gBAAgB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,eAAe,EAAE;QAChE,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,IAAI;QACf,UAAU,EAAE,IAAI;KAChB,CAAC,CAAC;IACH,WAAW,CAAC,GAAG,EAAE;QAChB,IAAI,QAAQ,CAAC,MAAM;YAAE,OAAO;QAC5B,MAAM,CAAC,UAAU,CAAC,CAAC;QACnB,kBAAkB,EAAE,CAAC;IACtB,CAAC,EAAE,UAAU,CAAC,CAAC;IACf,QAAQ,EAAE,CAAC;IACX,UAAU,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;AACvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"dev-rules.generated.d.ts","sourceRoot":"","sources":["../../src/utilities/dev-rules.generated.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,QAAQ,EAAE,OAAO,EA2mF7B,CAAC"}
1
+ {"version":3,"file":"dev-rules.generated.d.ts","sourceRoot":"","sources":["../../src/utilities/dev-rules.generated.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,QAAQ,EAAE,OAAO,EAqnF7B,CAAC"}
@@ -454,6 +454,16 @@ export const devRules = [
454
454
  "message": "No `accessible-label` set. A page with more than one nav landmark needs a unique label on each (WCAG 1.3.1).",
455
455
  "context": "nldd-menu-bar:state(unnamed)"
456
456
  },
457
+ {
458
+ "id": "menu-item-form-id-invalid",
459
+ "message": "The id in `form` is an element without a form, so this item submits nothing. An nldd-form only has one once it has rendered.",
460
+ "context": "nldd-menu-item:state(form-target-not-a-form)"
461
+ },
462
+ {
463
+ "id": "menu-item-form-id-not-found",
464
+ "message": "Nothing in this root has the id in `form`, so this item submits nothing.",
465
+ "context": "nldd-menu-item:state(no-form-target)"
466
+ },
457
467
  {
458
468
  "id": "menu-navigation-no-filter",
459
469
  "message": "filter() belongs to a menu of actions or options. A navigation menu is a short list of links and is not filtered.",
@@ -1062,8 +1072,8 @@ export const devRules = [
1062
1072
  },
1063
1073
  {
1064
1074
  "id": "invalid-value-menu-item-type",
1065
- "message": "`type` on nldd-menu-item takes: button, checkbox, radio.",
1066
- "context": "nldd-menu-item[type]:not([type=\"button\"], [type=\"checkbox\"], [type=\"radio\"])"
1075
+ "message": "`type` on nldd-menu-item takes: button, checkbox, radio, submit.",
1076
+ "context": "nldd-menu-item[type]:not([type=\"button\"], [type=\"checkbox\"], [type=\"radio\"], [type=\"submit\"])"
1067
1077
  },
1068
1078
  {
1069
1079
  "id": "invalid-value-menu-item-query-mark-mode",