@nldd/design-system 0.19.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (576) hide show
  1. package/custom-elements.json +521 -57
  2. package/dist/cdn/autoloader.js +181 -0
  3. package/dist/cdn/chunks/activity-indicator-JglZJ8dh.js +356 -0
  4. package/dist/cdn/chunks/activity-indicator.i18n-D7mCy6d2.js +3 -0
  5. package/dist/cdn/chunks/avatar-ASqePVhU.js +308 -0
  6. package/dist/cdn/chunks/avatar-group-rknt4FBO.js +338 -0
  7. package/dist/cdn/chunks/avatar-group.i18n-BYw_9wt_.js +7 -0
  8. package/dist/cdn/chunks/avatar.i18n-CMwQjBkS.js +7 -0
  9. package/dist/cdn/chunks/badge-Cc2Nufoc.js +323 -0
  10. package/dist/cdn/chunks/badge.i18n-DqW7hLQj.js +3 -0
  11. package/dist/cdn/chunks/banner-BLVKM07M.js +325 -0
  12. package/dist/cdn/chunks/banner.i18n-BOCM9rGN.js +3 -0
  13. package/dist/cdn/chunks/bar-split-view-Clbg-p9H.js +259 -0
  14. package/dist/cdn/chunks/base-CfuoYRhN.js +3 -0
  15. package/dist/cdn/chunks/blockquote-BoOqbGdm.js +189 -0
  16. package/dist/cdn/chunks/box-WkhyjQVy.js +88 -0
  17. package/dist/cdn/chunks/breadcrumbs-D9YxZzRj.js +162 -0
  18. package/dist/cdn/chunks/breadcrumbs.i18n-zmO8jaTO.js +3 -0
  19. package/dist/cdn/chunks/breakpoints-Cwor8TRP.js +15 -0
  20. package/dist/cdn/chunks/button-DO90Lo6q.js +863 -0
  21. package/dist/cdn/chunks/button-bar-Bxgdbyh3.js +225 -0
  22. package/dist/cdn/chunks/button-group-BYGPPLmZ.js +205 -0
  23. package/dist/{components/button.i18n-DiDGynnq.js → cdn/chunks/button.i18n-BGFt7Z9u.js} +2 -2
  24. package/dist/cdn/chunks/card-BP0jfOkS.js +262 -0
  25. package/dist/cdn/chunks/card.i18n-CpafLm3i.js +8 -0
  26. package/dist/cdn/chunks/carried-context-DlMSujiJ.js +37 -0
  27. package/dist/cdn/chunks/cell-BRD2ilQh.js +144 -0
  28. package/dist/cdn/chunks/checkbox-Cazx8CQn.js +296 -0
  29. package/dist/cdn/chunks/checkbox-field-DDZ-B6vH.js +157 -0
  30. package/dist/cdn/chunks/class-map-CXSdNjt8.js +26 -0
  31. package/dist/cdn/chunks/code-editor-D6Q55oaY.js +286 -0
  32. package/dist/cdn/chunks/code-viewer-DspLH2T1.js +766 -0
  33. package/dist/cdn/chunks/code-viewer.i18n-BHfSDRbK.js +13 -0
  34. package/dist/cdn/chunks/codemirror-input-Db65x22n.js +1232 -0
  35. package/dist/cdn/chunks/collection-NVtkvDls.js +396 -0
  36. package/dist/cdn/chunks/collection.i18n-DqWPGnZO.js +8 -0
  37. package/dist/cdn/chunks/combo-box-DyBQSaQl.js +512 -0
  38. package/dist/cdn/chunks/combo-box.i18n-BorzYnJ2.js +6 -0
  39. package/dist/cdn/chunks/container-rrbwk0z4.js +602 -0
  40. package/dist/cdn/chunks/custom-element-BW8Ua4c7.js +7 -0
  41. package/dist/cdn/chunks/custom-element-q6NzoL5b.js +301 -0
  42. package/dist/cdn/chunks/custom-font-size-D7KNr84p.js +57 -0
  43. package/dist/cdn/chunks/date-field-Clti_wKN.js +654 -0
  44. package/dist/cdn/chunks/date-field.i18n-BTzc0E9a.js +15 -0
  45. package/dist/cdn/chunks/date-picker-2TCQLd5D.js +993 -0
  46. package/dist/cdn/chunks/date-picker.i18n-Dsc_M5QK.js +82 -0
  47. package/dist/cdn/chunks/decorate-TduJMFD_.js +280 -0
  48. package/dist/cdn/chunks/defer-focus-F73ud2D9.js +9 -0
  49. package/dist/cdn/chunks/described-by-mixin-daRE7orX.js +32 -0
  50. package/dist/cdn/chunks/description-cell-CQwOj_rN.js +166 -0
  51. package/dist/cdn/chunks/dev-checks-zW_W-hnh.js +2695 -0
  52. package/dist/cdn/chunks/directive-CwRgozUW.js +27 -0
  53. package/dist/cdn/chunks/dismiss-from-title-bar-C6mP7sWP.js +5 -0
  54. package/dist/cdn/chunks/dist-3C80SZN9.js +849 -0
  55. package/dist/cdn/chunks/dist-A7_1pHX0.js +379 -0
  56. package/dist/cdn/chunks/dist-BEfLdOvy.js +1346 -0
  57. package/dist/cdn/chunks/dist-BTUxFM2V.js +268 -0
  58. package/dist/cdn/chunks/dist-CP3G1pSK.js +1037 -0
  59. package/dist/cdn/chunks/dist-C_dGY6zR.js +468 -0
  60. package/dist/{components/dist-B9YBOGFW.js → cdn/chunks/dist-ChmCRv39.js} +109 -153
  61. package/dist/{components/dist-CJm4tkNC.js → cdn/chunks/dist-D2qap2OY.js} +23 -31
  62. package/dist/cdn/chunks/dist-DPUBF0MZ.js +1593 -0
  63. package/dist/{components/dist-4g23YHP0.js → cdn/chunks/dist-DrTzvgE7.js} +291 -404
  64. package/dist/cdn/chunks/dist-EM4MWLQq.js +385 -0
  65. package/dist/cdn/chunks/dist-EgIBI-FG.js +293 -0
  66. package/dist/{components/dist-Bf823YyL.js → cdn/chunks/dist-Rm6FvrSR.js} +272 -551
  67. package/dist/cdn/chunks/divider-CCNbnplA.js +53 -0
  68. package/dist/cdn/chunks/document-tab-bar-CUc4WWY3.js +973 -0
  69. package/dist/cdn/chunks/document-tab-bar.i18n-DKrA9TnB.js +9 -0
  70. package/dist/cdn/chunks/drag-handle-cell-CbzDYebG.js +206 -0
  71. package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +3 -0
  72. package/dist/cdn/chunks/dropdown-DZTZtkm5.js +350 -0
  73. package/dist/cdn/chunks/element-state-B-44fVqq.js +20 -0
  74. package/dist/cdn/chunks/file-field-Bff6_1pp.js +1484 -0
  75. package/dist/cdn/chunks/file-field.i18n-pDM7Utud.js +40 -0
  76. package/dist/cdn/chunks/floating-ui.dom-B8J1rV2c.js +753 -0
  77. package/dist/cdn/chunks/focus-target-DSLGcCWq.js +24 -0
  78. package/dist/cdn/chunks/form-actions-C_7hINq-.js +90 -0
  79. package/dist/cdn/chunks/form-associated-mixin--GIbl98p.js +62 -0
  80. package/dist/cdn/chunks/form-field--4nWJ_DK.js +364 -0
  81. package/dist/cdn/chunks/form-hXLgy_tY.js +84 -0
  82. package/dist/cdn/chunks/form-section-By-D4un0.js +64 -0
  83. package/dist/cdn/chunks/full-bleed-section-Dg4sIJG1.js +161 -0
  84. package/dist/cdn/chunks/gherkin-eseYvsxh.js +29 -0
  85. package/dist/cdn/chunks/hero-CQQMNCT_.js +761 -0
  86. package/dist/{components/icon-CrBk3W-t.js → cdn/chunks/icon-BORlalt0.js} +298 -309
  87. package/dist/cdn/chunks/icon-button-rKiIHs7A.js +632 -0
  88. package/dist/{components/icon-button.i18n-1_N-wN6x.js → cdn/chunks/icon-button.i18n-DpZOfIS4.js} +2 -4
  89. package/dist/cdn/chunks/icon-cell-rk4NQid2.js +156 -0
  90. package/dist/cdn/chunks/identity-Cg1l0HhB.js +187 -0
  91. package/dist/cdn/chunks/if-defined-CaKKERku.js +4 -0
  92. package/dist/cdn/chunks/image-DZMW6JgL.js +659 -0
  93. package/dist/cdn/chunks/image.i18n-ONcm1h7o.js +3 -0
  94. package/dist/cdn/chunks/implicit-submission-Csbcor_E.js +27 -0
  95. package/dist/cdn/chunks/inline-dialog-WlqtPBPJ.js +259 -0
  96. package/dist/cdn/chunks/input-modality-XE0B7yCn.js +42 -0
  97. package/dist/cdn/chunks/just-in-time-education-DRcb5g7x.js +611 -0
  98. package/dist/cdn/chunks/just-in-time-education.i18n-CW_dsaxf.js +6 -0
  99. package/dist/cdn/chunks/kanban-Ca_mfqsA.js +400 -0
  100. package/dist/cdn/chunks/kanban-column-fgIMc7pw.js +375 -0
  101. package/dist/cdn/chunks/kanban.i18n-CWqc3e0B.js +11 -0
  102. package/dist/cdn/chunks/keyboard-shortcut-EknnW7Ub.js +267 -0
  103. package/dist/cdn/chunks/languages-yKikVFv_.js +8893 -0
  104. package/dist/cdn/chunks/link-FBSAJ3UC.js +229 -0
  105. package/dist/cdn/chunks/link-group-90qVfKa0.js +111 -0
  106. package/dist/cdn/chunks/link-hint-KFhgr5Ng.js +24 -0
  107. package/dist/cdn/chunks/link-rel-DvrTEfVT.js +8 -0
  108. package/dist/cdn/chunks/link.i18n-DJPobGmu.js +8 -0
  109. package/dist/cdn/chunks/list-CaWl3q0Z.js +880 -0
  110. package/dist/cdn/chunks/list-item-Cagnf6eG.js +802 -0
  111. package/dist/cdn/chunks/list-item-segment-BRzBF1y_.js +315 -0
  112. package/dist/cdn/chunks/list-item-segment.i18n-DHnrQL4V.js +8 -0
  113. package/dist/{components/list-item.i18n-89uqlBMK.js → cdn/chunks/list-item.i18n-Br6J5Ev9.js} +2 -2
  114. package/dist/cdn/chunks/list-items-Du0RCWsY.js +6 -0
  115. package/dist/{components/list.i18n-CKqbhFQ_.js → cdn/chunks/list.i18n-C40ltgdI.js} +2 -2
  116. package/dist/cdn/chunks/loading-tags-DtUr-DR7.js +3 -0
  117. package/dist/cdn/chunks/menu-BOu_pD1Q.js +719 -0
  118. package/dist/cdn/chunks/menu-bar-0NFXvq-v.js +253 -0
  119. package/dist/cdn/chunks/menu-bar-item-DGSC_ETi.js +365 -0
  120. package/dist/cdn/chunks/menu-bar.i18n-BoMu4Eoz.js +3 -0
  121. package/dist/cdn/chunks/menu-divider-CLLRgMll.js +15 -0
  122. package/dist/cdn/chunks/menu-group-BL24ChpR.js +23 -0
  123. package/dist/cdn/chunks/menu-item-CooKfrFa.js +140 -0
  124. package/dist/cdn/chunks/menu.i18n-C6uYJsG3.js +10 -0
  125. package/dist/cdn/chunks/menu.template-C6rbfI-u.js +642 -0
  126. package/dist/cdn/chunks/modal-dialog-BrUMP4Jm.js +240 -0
  127. package/dist/cdn/chunks/multi-line-text-field-D7hXhyOn.js +318 -0
  128. package/dist/cdn/chunks/navigation-split-view-B2ZQhxEb.js +621 -0
  129. package/dist/cdn/chunks/nl.generated-D6T41jG3.js +112 -0
  130. package/dist/cdn/chunks/notification-DSGP14d1.js +492 -0
  131. package/dist/cdn/chunks/notification.i18n-BKUSLN5c.js +6 -0
  132. package/dist/cdn/chunks/number-field-B8op14Y_.js +301 -0
  133. package/dist/cdn/chunks/number-field.i18n-BS0bINWY.js +7 -0
  134. package/dist/cdn/chunks/one-half-one-half-section-ZYmHYf4Q.js +213 -0
  135. package/dist/cdn/chunks/one-third-two-thirds-section-Ds10K6AS.js +213 -0
  136. package/dist/cdn/chunks/one-time-code-field-Cgy_tTS4.js +693 -0
  137. package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +20 -0
  138. package/dist/cdn/chunks/owned-attribute-x9OCTy_4.js +6 -0
  139. package/dist/cdn/chunks/owner-form-Cq8tT7ac.js +7 -0
  140. package/dist/cdn/chunks/page-CBf_Decp.js +431 -0
  141. package/dist/cdn/chunks/page-footer-CSv1dU7M.js +396 -0
  142. package/dist/cdn/chunks/page-footer.i18n-pbdr4lN3.js +3 -0
  143. package/dist/cdn/chunks/page-section-mixin-Dp6X8GKd.js +132 -0
  144. package/dist/cdn/chunks/pagination-CMUcFB53.js +485 -0
  145. package/dist/cdn/chunks/pagination.i18n-QQMx14CQ.js +9 -0
  146. package/dist/cdn/chunks/password-field-C76Vm3rm.js +368 -0
  147. package/dist/cdn/chunks/password-field.i18n-CzdBn-1b.js +8 -0
  148. package/dist/cdn/chunks/popover-C-CVVtfl.js +334 -0
  149. package/dist/cdn/chunks/popover-target-B25dxnmt.js +10 -0
  150. package/dist/cdn/chunks/popover.i18n-DmFBHUvB.js +3 -0
  151. package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +30 -0
  152. package/dist/cdn/chunks/progress-bar-BLiHaRUS.js +674 -0
  153. package/dist/cdn/chunks/progress-bar.i18n-Cr5miGTx.js +8 -0
  154. package/dist/cdn/chunks/progress-circle-CjkovRbL.js +667 -0
  155. package/dist/cdn/chunks/progress-circle.i18n-CRrXuY4V.js +8 -0
  156. package/dist/cdn/chunks/query-ChDzi9FQ.js +28 -0
  157. package/dist/cdn/chunks/radio-button-GHyO-GQB.js +338 -0
  158. package/dist/cdn/chunks/radio-button-field-C-Z6Lnd4.js +192 -0
  159. package/dist/cdn/chunks/radio-button-group-ChTqBCnQ.js +118 -0
  160. package/dist/cdn/chunks/radio-position-CXWYAjaz.js +10 -0
  161. package/dist/cdn/chunks/reflect-non-default-Bu3rpCvg.js +9 -0
  162. package/dist/cdn/chunks/render-marked-DX_5ISZE.js +37 -0
  163. package/dist/cdn/chunks/repeat-Ch_5OsXE.js +76 -0
  164. package/dist/cdn/chunks/return-focus-Xmagtk6r.js +52 -0
  165. package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +47 -0
  166. package/dist/cdn/chunks/rich-text.i18n-BlJ68YuU.js +3 -0
  167. package/dist/cdn/chunks/row-header-mixin-CgqvREoV.js +16 -0
  168. package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +7 -0
  169. package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +42 -0
  170. package/dist/cdn/chunks/search-field-BGNfERhn.js +396 -0
  171. package/dist/cdn/chunks/search-field.i18n-B_Oc7hc-.js +6 -0
  172. package/dist/cdn/chunks/segmented-control-BYAG4VRp.js +671 -0
  173. package/dist/cdn/chunks/shadow-resets-6SToDsPu.js +12 -0
  174. package/dist/cdn/chunks/sheet-BdVCqm2H.js +340 -0
  175. package/dist/cdn/chunks/shell-C9rds_D9.js +146 -0
  176. package/dist/cdn/chunks/shell-DmJOYhyF.js +108 -0
  177. package/dist/cdn/chunks/side-by-side-split-view-C5oX4c6Z.js +166 -0
  178. package/dist/cdn/chunks/sidebar-section-DP4jnS7g.js +353 -0
  179. package/dist/cdn/chunks/sidebar-section.i18n-BuGfRMpD.js +6 -0
  180. package/dist/cdn/chunks/simple-section-qrCqXeBa.js +192 -0
  181. package/dist/cdn/chunks/skip-link-DWh4W6-J.js +161 -0
  182. package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +3 -0
  183. package/dist/cdn/chunks/slider--hODfOwh.js +772 -0
  184. package/dist/cdn/chunks/slider.i18n-DVw0c8AG.js +6 -0
  185. package/dist/cdn/chunks/slot-content-BLuPqVXw.js +13 -0
  186. package/dist/cdn/chunks/spacer-CFzq_JCh.js +237 -0
  187. package/dist/cdn/chunks/spacer-cell-DuVOgIj8.js +68 -0
  188. package/dist/cdn/chunks/spacing-scale-SufIjHeN.js +28 -0
  189. package/dist/cdn/chunks/split-button-BeXnOUTt.js +268 -0
  190. package/dist/cdn/chunks/split-button.i18n-DtClSMga.js +3 -0
  191. package/dist/cdn/chunks/split-view-divider-jzcPmnMh.js +100 -0
  192. package/dist/cdn/chunks/split-view-pane-BLsZz263.js +128 -0
  193. package/dist/cdn/chunks/stacked-split-view-CcOR8LrJ.js +157 -0
  194. package/dist/cdn/chunks/static-html-Cf4ccUIg.js +26 -0
  195. package/dist/cdn/chunks/status-bar-CINbOihq.js +284 -0
  196. package/dist/cdn/chunks/status-bar-change-CR9l0Gyk.js +3 -0
  197. package/dist/cdn/chunks/step-bar-6FvZL1Ti.js +474 -0
  198. package/dist/cdn/chunks/step-bar.i18n-DocExlD7.js +9 -0
  199. package/dist/cdn/chunks/step-cell-CejRisgS.js +287 -0
  200. package/dist/cdn/chunks/stepper-CY2rJWOJ.js +223 -0
  201. package/dist/cdn/chunks/stepper.i18n-COOAkaBl.js +7 -0
  202. package/dist/cdn/chunks/style-map-DsIw6lkq.js +29 -0
  203. package/dist/cdn/chunks/style-mod-DGMhzWuk.js +1583 -0
  204. package/dist/cdn/chunks/swatch-picker-BY3DBIl6.js +430 -0
  205. package/dist/cdn/chunks/swatch-picker.i18n-_G0nmnGe.js +22 -0
  206. package/dist/cdn/chunks/switch-DDSsZFwK.js +275 -0
  207. package/dist/cdn/chunks/switch-field-CMoM9I38.js +137 -0
  208. package/dist/cdn/chunks/tab-bar-DmslEoPD.js +697 -0
  209. package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +3 -0
  210. package/dist/cdn/chunks/table-DwXjCSD5.js +308 -0
  211. package/dist/cdn/chunks/table.i18n-Bmb_uw_w.js +3 -0
  212. package/dist/cdn/chunks/tag-DM3APy3B.js +306 -0
  213. package/dist/cdn/chunks/text-B1CatNR1.js +421 -0
  214. package/dist/cdn/chunks/text-cell-BkEsGI3g.js +299 -0
  215. package/dist/cdn/chunks/text-editor-BvTiMeNV.js +3743 -0
  216. package/dist/cdn/chunks/text-editor.i18n-sJKiRQ4i.js +17 -0
  217. package/dist/cdn/chunks/text-field-CUyh1-V8.js +398 -0
  218. package/dist/cdn/chunks/time-field-Cj5WojfO.js +597 -0
  219. package/dist/cdn/chunks/time-field.i18n-CLH5vmS7.js +11 -0
  220. package/dist/cdn/chunks/time-picker-W0xYXLy8.js +508 -0
  221. package/dist/cdn/chunks/time-picker.i18n-BilOCXlS.js +7 -0
  222. package/dist/cdn/chunks/title-BuT7tWqN.js +437 -0
  223. package/dist/cdn/chunks/title-bar-label-controller-DSxdKZOg.js +24 -0
  224. package/dist/cdn/chunks/title-cell-8d8psUBX.js +327 -0
  225. package/dist/cdn/chunks/toggle-button-DNXWXZpE.js +528 -0
  226. package/dist/cdn/chunks/toggle-button-group-ByowJYgs.js +156 -0
  227. package/dist/cdn/chunks/token-CnkEB3hB.js +266 -0
  228. package/dist/cdn/chunks/token-field-hvDB3l6O.js +664 -0
  229. package/dist/cdn/chunks/token-field.i18n-BclzoR8F.js +9 -0
  230. package/dist/cdn/chunks/token.i18n-RGD5zAtl.js +7 -0
  231. package/dist/cdn/chunks/toml-w97zZfFO.js +27 -0
  232. package/dist/cdn/chunks/toolbar-iNd1VmuG.js +408 -0
  233. package/dist/cdn/chunks/toolbar-item-DpPfPxCi.js +50 -0
  234. package/dist/cdn/chunks/toolbar-title-KBMpfL9d.js +84 -0
  235. package/dist/cdn/chunks/toolbar.i18n-QwS37CBC.js +8 -0
  236. package/dist/cdn/chunks/toolbar.styles-BQkG4gVc.js +383 -0
  237. package/dist/cdn/chunks/tooltip-BsAHJjci.js +325 -0
  238. package/dist/cdn/chunks/top-navigation-bar-D1hjWIF3.js +925 -0
  239. package/dist/cdn/chunks/top-navigation-bar.i18n-C-lcH1nB.js +10 -0
  240. package/dist/cdn/chunks/top-title-bar-iNFB2zQL.js +344 -0
  241. package/dist/cdn/chunks/translations-wxBSz213.js +8 -0
  242. package/dist/cdn/chunks/two-thirds-one-third-section-D-UANbHC.js +213 -0
  243. package/dist/cdn/chunks/validation-list-C5BhHZIG.js +202 -0
  244. package/dist/cdn/chunks/validation-list.i18n-CM6In8zD.js +12 -0
  245. package/dist/cdn/chunks/visibility-mixin-COAZ9pON.js +74 -0
  246. package/dist/cdn/chunks/visually-hidden-BPgATaH0.js +43 -0
  247. package/dist/cdn/chunks/window-t5iFkMLY.js +227 -0
  248. package/dist/cdn/chunks/window.i18n-CsEnUPAk.js +3 -0
  249. package/dist/cdn/chunks/with-translations-XX14GKFh.js +16 -0
  250. package/dist/components/actions/button/button.d.ts +5 -5
  251. package/dist/components/actions/button/button.d.ts.map +1 -1
  252. package/dist/components/actions/button/button.js +6 -6
  253. package/dist/components/actions/button/button.js.map +1 -1
  254. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  255. package/dist/components/actions/button/button.template.js +6 -8
  256. package/dist/components/actions/button/button.template.js.map +1 -1
  257. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  258. package/dist/components/actions/button-bar/button-bar.js +15 -4
  259. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  260. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  261. package/dist/components/actions/button-group/button-group.js +7 -1
  262. package/dist/components/actions/button-group/button-group.js.map +1 -1
  263. package/dist/components/actions/button-group/button-group.styles.js +2 -2
  264. package/dist/components/actions/icon-button/icon-button.d.ts +3 -3
  265. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  266. package/dist/components/actions/icon-button/icon-button.js +4 -4
  267. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  268. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  269. package/dist/components/actions/icon-button/icon-button.template.js +2 -4
  270. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  271. package/dist/components/actions/menu/menu-item.d.ts +12 -3
  272. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  273. package/dist/components/actions/menu/menu-item.js +27 -6
  274. package/dist/components/actions/menu/menu-item.js.map +1 -1
  275. package/dist/components/actions/menu/menu.d.ts +31 -8
  276. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  277. package/dist/components/actions/menu/menu.js +108 -32
  278. package/dist/components/actions/menu/menu.js.map +1 -1
  279. package/dist/components/actions/menu/menu.pointer.d.ts +7 -0
  280. package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -1
  281. package/dist/components/actions/menu/menu.pointer.js +17 -0
  282. package/dist/components/actions/menu/menu.pointer.js.map +1 -1
  283. package/dist/components/actions/menu/menu.safe-triangle.d.ts +6 -5
  284. package/dist/components/actions/menu/menu.safe-triangle.d.ts.map +1 -1
  285. package/dist/components/actions/menu/menu.safe-triangle.js +3 -3
  286. package/dist/components/actions/menu/menu.safe-triangle.js.map +1 -1
  287. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  288. package/dist/components/actions/menu/menu.styles.js +6 -0
  289. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  290. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  291. package/dist/components/actions/menu/menu.template.js +17 -9
  292. package/dist/components/actions/menu/menu.template.js.map +1 -1
  293. package/dist/components/actions/toolbar/toolbar-title.js +2 -2
  294. package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
  295. package/dist/components/content/avatar/avatar.js +1 -1
  296. package/dist/components/content/avatar/avatar.js.map +1 -1
  297. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  298. package/dist/components/content/avatar-group/avatar-group.js +2 -1
  299. package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
  300. package/dist/components/content/image/image.js +1 -1
  301. package/dist/components/content/image/image.js.map +1 -1
  302. package/dist/components/content/tag/tag.d.ts +3 -3
  303. package/dist/components/content/tag/tag.js +3 -3
  304. package/dist/components/content/tag/tag.template.js +3 -3
  305. package/dist/components/content/tag/tag.template.js.map +1 -1
  306. package/dist/components/content/title/title.js +1 -1
  307. package/dist/components/content/title/title.js.map +1 -1
  308. package/dist/components/content/token/token.d.ts +6 -4
  309. package/dist/components/content/token/token.d.ts.map +1 -1
  310. package/dist/components/content/token/token.js +6 -4
  311. package/dist/components/content/token/token.js.map +1 -1
  312. package/dist/components/content/token/token.template.js +1 -1
  313. package/dist/components/content/token/token.template.js.map +1 -1
  314. package/dist/components/inputs/dropdown/dropdown.d.ts +22 -2
  315. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  316. package/dist/components/inputs/dropdown/dropdown.js +67 -11
  317. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  318. package/dist/components/inputs/file-field/file-field.js +1 -1
  319. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  320. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  321. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -2
  322. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  323. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +2 -2
  324. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
  325. package/dist/components/inputs/segmented-control/segmented-control.d.ts +2 -2
  326. package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
  327. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  328. package/dist/components/inputs/segmented-control/segmented-control.template.js +2 -2
  329. package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
  330. package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
  331. package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
  332. package/dist/components/inputs/time-picker/time-picker.js +1 -1
  333. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  334. package/dist/components/inputs/toggle-button/toggle-button.d.ts +2 -2
  335. package/dist/components/inputs/toggle-button/toggle-button.js +3 -3
  336. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  337. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  338. package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -10
  339. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  340. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +1 -1
  341. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  342. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +3 -3
  343. package/dist/components/layout/card/card.js +1 -1
  344. package/dist/components/layout/card/card.js.map +1 -1
  345. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  346. package/dist/components/layout/card/card.styles.js +3 -1
  347. package/dist/components/layout/card/card.styles.js.map +1 -1
  348. package/dist/components/layout/container/container.d.ts +15 -2
  349. package/dist/components/layout/container/container.d.ts.map +1 -1
  350. package/dist/components/layout/container/container.js +38 -3
  351. package/dist/components/layout/container/container.js.map +1 -1
  352. package/dist/components/layout/container/container.styles.js +1 -1
  353. package/dist/components/layout/container/container.template.js +1 -1
  354. package/dist/components/layout/container/container.template.js.map +1 -1
  355. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  356. package/dist/components/layout/kanban/kanban.js +2 -1
  357. package/dist/components/layout/kanban/kanban.js.map +1 -1
  358. package/dist/components/layout/page/page.d.ts.map +1 -1
  359. package/dist/components/layout/page/page.js +3 -2
  360. package/dist/components/layout/page/page.js.map +1 -1
  361. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  362. package/dist/components/layout/page/page.styles.js +3 -2
  363. package/dist/components/layout/page/page.styles.js.map +1 -1
  364. package/dist/components/layout/page-footer/page-footer.d.ts +5 -2
  365. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  366. package/dist/components/layout/page-footer/page-footer.js +5 -2
  367. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  368. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  369. package/dist/components/layout/page-footer/page-footer.template.js +2 -4
  370. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  371. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
  372. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  373. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +2 -2
  374. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  375. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  376. package/dist/components/layout/page-sections/hero/hero.js +2 -2
  377. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  378. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
  379. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  380. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +2 -2
  381. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  382. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
  383. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  384. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +2 -2
  385. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  386. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +1 -1
  387. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  388. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +4 -4
  389. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  390. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
  391. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  392. package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -2
  393. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  394. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
  395. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  396. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +2 -2
  397. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  398. package/dist/components/layout/popover/popover.d.ts +1 -2
  399. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  400. package/dist/components/layout/popover/popover.js +10 -12
  401. package/dist/components/layout/popover/popover.js.map +1 -1
  402. package/dist/components/layout/sheet/sheet.d.ts +1 -0
  403. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  404. package/dist/components/layout/sheet/sheet.js +6 -1
  405. package/dist/components/layout/sheet/sheet.js.map +1 -1
  406. package/dist/components/layout/spacer/spacer.js +1 -1
  407. package/dist/components/layout/spacer/spacer.js.map +1 -1
  408. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  409. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +2 -1
  410. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  411. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  412. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -2
  413. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  414. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  415. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -1
  416. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  417. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  418. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +3 -2
  419. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  420. package/dist/components/layout/window/window.d.ts +1 -0
  421. package/dist/components/layout/window/window.d.ts.map +1 -1
  422. package/dist/components/layout/window/window.js +7 -1
  423. package/dist/components/layout/window/window.js.map +1 -1
  424. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +5 -2
  425. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  426. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -4
  427. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  428. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +3 -3
  429. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
  430. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  431. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
  432. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
  433. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  434. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -2
  435. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
  436. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +2 -2
  437. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  438. package/dist/components/lists-and-tables/list/list.js +4 -1
  439. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  440. package/dist/components/lists-and-tables/list-item/list-item.d.ts +19 -9
  441. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  442. package/dist/components/lists-and-tables/list-item/list-item.js +30 -14
  443. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  444. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  445. package/dist/components/lists-and-tables/list-item/list-item.styles.js +20 -0
  446. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  447. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -1
  448. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  449. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +19 -3
  450. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  451. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  452. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +6 -0
  453. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  454. package/dist/components/lists-and-tables/table/table.js +5 -5
  455. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  456. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -2
  457. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  458. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +5 -2
  459. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  460. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
  461. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +2 -4
  462. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
  463. package/dist/components/navigation/link/link.d.ts +7 -4
  464. package/dist/components/navigation/link/link.d.ts.map +1 -1
  465. package/dist/components/navigation/link/link.js +7 -4
  466. package/dist/components/navigation/link/link.js.map +1 -1
  467. package/dist/components/navigation/link/link.template.js +5 -5
  468. package/dist/components/navigation/link/link.template.js.map +1 -1
  469. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -1
  470. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  471. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  472. package/dist/components/navigation/pagination/pagination.js +3 -2
  473. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  474. package/dist/components/navigation/tab-bar/tab-bar.d.ts +18 -2
  475. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  476. package/dist/components/navigation/tab-bar/tab-bar.js +51 -3
  477. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  478. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  479. package/dist/components/navigation/tab-bar/tab-bar.template.js +5 -3
  480. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  481. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
  482. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  483. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts +4 -0
  484. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts.map +1 -1
  485. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +26 -2
  486. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -1
  487. package/dist/components/status-and-feedback/banner/banner.js +1 -1
  488. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  489. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -2
  490. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  491. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +1 -1
  492. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  493. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
  494. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  495. package/dist/components/status-and-feedback/notification/notification.js +2 -2
  496. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  497. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +4 -4
  498. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  499. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +4 -4
  500. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  501. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +5 -2
  502. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  503. package/dist/components/status-and-feedback/step-bar/step-bar.js +6 -3
  504. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  505. package/dist/components/status-and-feedback/step-bar/step-bar.template.js +1 -1
  506. package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
  507. package/dist/css/variables.css +6 -0
  508. package/dist/nldd.min.js +784 -728
  509. package/dist/types/react.d.ts +3323 -0
  510. package/dist/types/vue.d.ts +26 -14
  511. package/dist/utilities/autoloader.d.ts +33 -0
  512. package/dist/utilities/autoloader.d.ts.map +1 -0
  513. package/dist/utilities/autoloader.generated.d.ts +3 -0
  514. package/dist/utilities/autoloader.generated.d.ts.map +1 -0
  515. package/dist/utilities/autoloader.generated.js +141 -0
  516. package/dist/utilities/autoloader.generated.js.map +1 -0
  517. package/dist/utilities/autoloader.js +94 -0
  518. package/dist/utilities/autoloader.js.map +1 -0
  519. package/dist/utilities/dev-checks.d.ts +9 -0
  520. package/dist/utilities/dev-checks.d.ts.map +1 -1
  521. package/dist/utilities/dev-checks.js +45 -3
  522. package/dist/utilities/dev-checks.js.map +1 -1
  523. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  524. package/dist/utilities/dev-rules.generated.js +17 -2
  525. package/dist/utilities/dev-rules.generated.js.map +1 -1
  526. package/dist/utilities/input-modality.d.ts.map +1 -1
  527. package/dist/utilities/input-modality.js +4 -2
  528. package/dist/utilities/input-modality.js.map +1 -1
  529. package/dist/utilities/loading-tags.d.ts +7 -0
  530. package/dist/utilities/loading-tags.d.ts.map +1 -0
  531. package/dist/utilities/loading-tags.js +7 -0
  532. package/dist/utilities/loading-tags.js.map +1 -0
  533. package/dist/utilities/owner-form.d.ts +3 -3
  534. package/dist/utilities/owner-form.d.ts.map +1 -1
  535. package/dist/utilities/owner-form.js +6 -3
  536. package/dist/utilities/owner-form.js.map +1 -1
  537. package/dist/utilities/page-section-mixin.d.ts +10 -4
  538. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  539. package/dist/utilities/page-section-mixin.js +29 -23
  540. package/dist/utilities/page-section-mixin.js.map +1 -1
  541. package/dist/utilities/return-focus.d.ts +44 -0
  542. package/dist/utilities/return-focus.d.ts.map +1 -0
  543. package/dist/utilities/return-focus.js +99 -0
  544. package/dist/utilities/return-focus.js.map +1 -0
  545. package/dist/utilities/slot-content.d.ts +30 -0
  546. package/dist/utilities/slot-content.d.ts.map +1 -0
  547. package/dist/utilities/slot-content.js +38 -0
  548. package/dist/utilities/slot-content.js.map +1 -0
  549. package/lint/data.generated.json +1 -1
  550. package/package.json +50 -11
  551. package/dist/components/breakpoints-DtL62nLI.js +0 -45
  552. package/dist/components/components.js +0 -67895
  553. package/dist/components/decorate-C7khEuc7.js +0 -16
  554. package/dist/components/defer-focus-BQ3c4mzj.js +0 -176
  555. package/dist/components/dev-checks-lQ-gHUjV.js +0 -2706
  556. package/dist/components/dist-245LaK9m.js +0 -1479
  557. package/dist/components/dist-BFZM0YsR.js +0 -15772
  558. package/dist/components/dist-BNkeFjc3.js +0 -1180
  559. package/dist/components/dist-CSC1dG3L.js +0 -365
  560. package/dist/components/dist-CeMOOqgP.js +0 -1509
  561. package/dist/components/dist-DFjwTlJV.js +0 -624
  562. package/dist/components/dist-DHhnz3Gv.js +0 -381
  563. package/dist/components/dist-PeUX4vPq.js +0 -2857
  564. package/dist/components/dist-m70B83qb.js +0 -463
  565. package/dist/components/element-state-BnarBv0M.js +0 -42
  566. package/dist/components/gherkin-DzYbEwDO.js +0 -107
  567. package/dist/components/icon-button-CfpnGzYQ.js +0 -2308
  568. package/dist/components/input-modality-CiPLYYMN.js +0 -42
  569. package/dist/components/just-in-time-education.i18n-BqU1ImP4.js +0 -423
  570. package/dist/components/nl.generated-DzZkOgnP.js +0 -64
  571. package/dist/components/reflect-non-default-B9wQcnne.js +0 -36
  572. package/dist/components/rolldown-runtime-D8jQpDG7.js +0 -12
  573. package/dist/components/shadow-resets-BwOyyZFH.js +0 -60
  574. package/dist/components/shell-Dh5IwHd-.js +0 -222
  575. package/dist/components/toml-D0Pix_8Q.js +0 -58
  576. package/dist/components/visibility-mixin-BMtETgjk.js +0 -153
@@ -1,1479 +0,0 @@
1
- import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.js";
2
- import { A as syntaxTree, C as indentNodeProp, N as EditorView, n as ExternalTokenizer, p as bracketMatchingHandle, r as LRParser, s as LRLanguage, t as ContextTracker, tt as EditorSelection, u as LanguageSupport, y as foldNodeProp } from "./dist-BFZM0YsR.js";
3
- import { a as tags, h as parseMixed, r as styleTags } from "./dist-PeUX4vPq.js";
4
- import { n as cssLanguage, t as css } from "./dist-BNkeFjc3.js";
5
- import { a as tsxLanguage, i as jsxLanguage, n as javascript, o as typescriptLanguage, r as javascriptLanguage } from "./dist-4g23YHP0.js";
6
- // node_modules/@lezer/html/dist/index.js
7
- var scriptText = 55;
8
- var StartCloseScriptTag = 1;
9
- var styleText = 56;
10
- var StartCloseStyleTag = 2;
11
- var textareaText = 57;
12
- var StartCloseTextareaTag = 3;
13
- var EndTag = 4;
14
- var SelfClosingEndTag = 5;
15
- var StartTag = 6;
16
- var StartScriptTag = 7;
17
- var StartStyleTag = 8;
18
- var StartTextareaTag = 9;
19
- var StartSelfClosingTag = 10;
20
- var StartCloseTag = 11;
21
- var NoMatchStartCloseTag = 12;
22
- var MismatchedStartCloseTag = 13;
23
- var missingCloseTag = 58;
24
- var IncompleteTag = 14;
25
- var IncompleteCloseTag = 15;
26
- var commentContent$1 = 59;
27
- var Element = 21;
28
- var TagName = 23;
29
- var Attribute = 24;
30
- var AttributeName = 25;
31
- var AttributeValue = 27;
32
- var UnquotedAttributeValue = 28;
33
- var ScriptText = 29;
34
- var StyleText = 32;
35
- var TextareaText = 35;
36
- var OpenTag = 37;
37
- var CloseTag = 38;
38
- var Dialect_noMatch = 0;
39
- var Dialect_selfClosing = 1;
40
- var selfClosers$1 = {
41
- area: true,
42
- base: true,
43
- br: true,
44
- col: true,
45
- command: true,
46
- embed: true,
47
- frame: true,
48
- hr: true,
49
- img: true,
50
- input: true,
51
- keygen: true,
52
- link: true,
53
- meta: true,
54
- param: true,
55
- source: true,
56
- track: true,
57
- wbr: true,
58
- menuitem: true
59
- };
60
- var implicitlyClosed = {
61
- dd: true,
62
- li: true,
63
- optgroup: true,
64
- option: true,
65
- p: true,
66
- rp: true,
67
- rt: true,
68
- tbody: true,
69
- td: true,
70
- tfoot: true,
71
- th: true,
72
- tr: true
73
- };
74
- var closeOnOpen = {
75
- dd: {
76
- dd: true,
77
- dt: true
78
- },
79
- dt: {
80
- dd: true,
81
- dt: true
82
- },
83
- li: { li: true },
84
- option: {
85
- option: true,
86
- optgroup: true
87
- },
88
- optgroup: { optgroup: true },
89
- p: {
90
- address: true,
91
- article: true,
92
- aside: true,
93
- blockquote: true,
94
- dir: true,
95
- div: true,
96
- dl: true,
97
- fieldset: true,
98
- footer: true,
99
- form: true,
100
- h1: true,
101
- h2: true,
102
- h3: true,
103
- h4: true,
104
- h5: true,
105
- h6: true,
106
- header: true,
107
- hgroup: true,
108
- hr: true,
109
- menu: true,
110
- nav: true,
111
- ol: true,
112
- p: true,
113
- pre: true,
114
- section: true,
115
- table: true,
116
- ul: true
117
- },
118
- rp: {
119
- rp: true,
120
- rt: true
121
- },
122
- rt: {
123
- rp: true,
124
- rt: true
125
- },
126
- tbody: {
127
- tbody: true,
128
- tfoot: true
129
- },
130
- td: {
131
- td: true,
132
- th: true
133
- },
134
- tfoot: { tbody: true },
135
- th: {
136
- td: true,
137
- th: true
138
- },
139
- thead: {
140
- tbody: true,
141
- tfoot: true
142
- },
143
- tr: { tr: true }
144
- };
145
- function nameChar(ch) {
146
- return ch == 45 || ch == 46 || ch == 58 || ch >= 65 && ch <= 90 || ch == 95 || ch >= 97 && ch <= 122 || ch >= 161;
147
- }
148
- var cachedName = null;
149
- var cachedInput = null;
150
- var cachedPos = 0;
151
- function tagNameAfter(input, offset) {
152
- let pos = input.pos + offset;
153
- if (cachedPos == pos && cachedInput == input) return cachedName;
154
- let next = input.peek(offset), name = "";
155
- for (;;) {
156
- if (!nameChar(next)) break;
157
- name += String.fromCharCode(next);
158
- next = input.peek(++offset);
159
- }
160
- cachedInput = input;
161
- cachedPos = pos;
162
- return cachedName = name ? name.toLowerCase() : next == question || next == bang ? void 0 : null;
163
- }
164
- var lessThan = 60;
165
- var greaterThan = 62;
166
- var slash = 47;
167
- var question = 63;
168
- var bang = 33;
169
- var dash = 45;
170
- function ElementContext(name, parent) {
171
- this.name = name;
172
- this.parent = parent;
173
- }
174
- var startTagTerms = [
175
- StartTag,
176
- StartSelfClosingTag,
177
- StartScriptTag,
178
- StartStyleTag,
179
- StartTextareaTag
180
- ];
181
- var elementContext = new ContextTracker({
182
- start: null,
183
- shift(context, term, stack, input) {
184
- return startTagTerms.indexOf(term) > -1 ? new ElementContext(tagNameAfter(input, 1) || "", context) : context;
185
- },
186
- reduce(context, term) {
187
- return term == Element && context ? context.parent : context;
188
- },
189
- reuse(context, node, stack, input) {
190
- let type = node.type.id;
191
- return type == StartTag || type == OpenTag ? new ElementContext(tagNameAfter(input, 1) || "", context) : context;
192
- },
193
- strict: false
194
- });
195
- var tagStart = new ExternalTokenizer((input, stack) => {
196
- if (input.next != lessThan) {
197
- if (input.next < 0 && stack.context) input.acceptToken(missingCloseTag);
198
- return;
199
- }
200
- input.advance();
201
- let close = input.next == slash;
202
- if (close) input.advance();
203
- let name = tagNameAfter(input, 0);
204
- if (name === void 0) return;
205
- if (!name) return input.acceptToken(close ? IncompleteCloseTag : IncompleteTag);
206
- let parent = stack.context ? stack.context.name : null;
207
- if (close) {
208
- if (name == parent) return input.acceptToken(StartCloseTag);
209
- if (parent && implicitlyClosed[parent]) return input.acceptToken(missingCloseTag, -2);
210
- if (stack.dialectEnabled(Dialect_noMatch)) return input.acceptToken(NoMatchStartCloseTag);
211
- for (let cx = stack.context; cx; cx = cx.parent) if (cx.name == name) return;
212
- input.acceptToken(MismatchedStartCloseTag);
213
- } else {
214
- if (name == "script") return input.acceptToken(StartScriptTag);
215
- if (name == "style") return input.acceptToken(StartStyleTag);
216
- if (name == "textarea") return input.acceptToken(StartTextareaTag);
217
- if (selfClosers$1.hasOwnProperty(name)) return input.acceptToken(StartSelfClosingTag);
218
- if (parent && closeOnOpen[parent] && closeOnOpen[parent][name]) input.acceptToken(missingCloseTag, -1);
219
- else input.acceptToken(StartTag);
220
- }
221
- }, { contextual: true });
222
- var commentContent = new ExternalTokenizer((input) => {
223
- for (let dashes = 0, i = 0;; i++) {
224
- if (input.next < 0) {
225
- if (i) input.acceptToken(commentContent$1);
226
- break;
227
- }
228
- if (input.next == dash) dashes++;
229
- else if (input.next == greaterThan && dashes >= 2) {
230
- if (i >= 3) input.acceptToken(commentContent$1, -2);
231
- break;
232
- } else dashes = 0;
233
- input.advance();
234
- }
235
- });
236
- function inForeignElement(context) {
237
- for (; context; context = context.parent) if (context.name == "svg" || context.name == "math") return true;
238
- return false;
239
- }
240
- var endTag = new ExternalTokenizer((input, stack) => {
241
- if (input.next == slash && input.peek(1) == greaterThan) {
242
- let selfClosing = stack.dialectEnabled(Dialect_selfClosing) || inForeignElement(stack.context);
243
- input.acceptToken(selfClosing ? SelfClosingEndTag : EndTag, 2);
244
- } else if (input.next == greaterThan) input.acceptToken(EndTag, 1);
245
- });
246
- function contentTokenizer(tag, textToken, endToken) {
247
- let lastState = 2 + tag.length;
248
- return new ExternalTokenizer((input) => {
249
- for (let state = 0, matchedLen = 0, i = 0;; i++) {
250
- if (input.next < 0) {
251
- if (i) input.acceptToken(textToken);
252
- break;
253
- }
254
- if (state == 0 && input.next == lessThan || state == 1 && input.next == slash || state >= 2 && state < lastState && input.next == tag.charCodeAt(state - 2)) {
255
- state++;
256
- matchedLen++;
257
- } else if (state == lastState && input.next == greaterThan) {
258
- if (i > matchedLen) input.acceptToken(textToken, -matchedLen);
259
- else input.acceptToken(endToken, -(matchedLen - 2));
260
- break;
261
- } else if ((input.next == 10 || input.next == 13) && i) {
262
- input.acceptToken(textToken, 1);
263
- break;
264
- } else state = matchedLen = 0;
265
- input.advance();
266
- }
267
- });
268
- }
269
- var scriptTokens = contentTokenizer("script", scriptText, StartCloseScriptTag);
270
- var styleTokens = contentTokenizer("style", styleText, StartCloseStyleTag);
271
- var textareaTokens = contentTokenizer("textarea", textareaText, StartCloseTextareaTag);
272
- var htmlHighlighting = styleTags({
273
- "Text RawText IncompleteTag IncompleteCloseTag": tags.content,
274
- "StartTag StartCloseTag SelfClosingEndTag EndTag": tags.angleBracket,
275
- TagName: tags.tagName,
276
- "MismatchedCloseTag/TagName": [tags.tagName, tags.invalid],
277
- AttributeName: tags.attributeName,
278
- "AttributeValue UnquotedAttributeValue": tags.attributeValue,
279
- Is: tags.definitionOperator,
280
- "EntityReference CharacterReference": tags.character,
281
- Comment: tags.blockComment,
282
- ProcessingInst: tags.processingInstruction,
283
- DoctypeDecl: tags.documentMeta
284
- });
285
- var parser = LRParser.deserialize({
286
- version: 14,
287
- states: ",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(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!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",
289
- goto: "%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",
290
- nodeNames: "⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",
291
- maxTerm: 68,
292
- context: elementContext,
293
- nodeProps: [
294
- [
295
- "closedBy",
296
- -10,
297
- 1,
298
- 2,
299
- 3,
300
- 7,
301
- 8,
302
- 9,
303
- 10,
304
- 11,
305
- 12,
306
- 13,
307
- "EndTag",
308
- 6,
309
- "EndTag SelfClosingEndTag",
310
- -4,
311
- 22,
312
- 31,
313
- 34,
314
- 37,
315
- "CloseTag"
316
- ],
317
- [
318
- "openedBy",
319
- 4,
320
- "StartTag StartCloseTag",
321
- 5,
322
- "StartTag",
323
- -4,
324
- 30,
325
- 33,
326
- 36,
327
- 38,
328
- "OpenTag"
329
- ],
330
- [
331
- "group",
332
- -10,
333
- 14,
334
- 15,
335
- 18,
336
- 19,
337
- 20,
338
- 21,
339
- 40,
340
- 41,
341
- 42,
342
- 43,
343
- "Entity",
344
- 17,
345
- "Entity TextContent",
346
- -3,
347
- 29,
348
- 32,
349
- 35,
350
- "TextContent Entity"
351
- ],
352
- [
353
- "isolate",
354
- -11,
355
- 22,
356
- 30,
357
- 31,
358
- 33,
359
- 34,
360
- 36,
361
- 37,
362
- 38,
363
- 39,
364
- 42,
365
- 43,
366
- "ltr",
367
- -3,
368
- 27,
369
- 28,
370
- 40,
371
- ""
372
- ]
373
- ],
374
- propSources: [htmlHighlighting],
375
- skippedNodes: [0],
376
- repeatNodeCount: 9,
377
- tokenData: "!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;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`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",
378
- tokenizers: [
379
- scriptTokens,
380
- styleTokens,
381
- textareaTokens,
382
- endTag,
383
- tagStart,
384
- commentContent,
385
- 0,
386
- 1,
387
- 2,
388
- 3,
389
- 4,
390
- 5
391
- ],
392
- topRules: { "Document": [0, 16] },
393
- dialects: {
394
- noMatch: 0,
395
- selfClosing: 515
396
- },
397
- tokenPrec: 517
398
- });
399
- function getAttrs(openTag, input) {
400
- let attrs = Object.create(null);
401
- for (let att of openTag.getChildren(Attribute)) {
402
- let name = att.getChild(AttributeName), value = att.getChild(AttributeValue) || att.getChild(UnquotedAttributeValue);
403
- if (name) attrs[input.read(name.from, name.to)] = !value ? "" : value.type.id == AttributeValue ? input.read(value.from + 1, value.to - 1) : input.read(value.from, value.to);
404
- }
405
- return attrs;
406
- }
407
- function findTagName(openTag, input) {
408
- let tagNameNode = openTag.getChild(TagName);
409
- return tagNameNode ? input.read(tagNameNode.from, tagNameNode.to) : " ";
410
- }
411
- function maybeNest(node, input, tags) {
412
- let attrs;
413
- for (let tag of tags) if (!tag.attrs || tag.attrs(attrs || (attrs = getAttrs(node.node.parent.firstChild, input)))) return {
414
- parser: tag.parser,
415
- bracketed: true
416
- };
417
- return null;
418
- }
419
- function configureNesting(tags = [], attributes = []) {
420
- let script = [], style = [], textarea = [], other = [];
421
- for (let tag of tags) (tag.tag == "script" ? script : tag.tag == "style" ? style : tag.tag == "textarea" ? textarea : other).push(tag);
422
- let attrs = attributes.length ? Object.create(null) : null;
423
- for (let attr of attributes) (attrs[attr.name] || (attrs[attr.name] = [])).push(attr);
424
- return parseMixed((node, input) => {
425
- let id = node.type.id;
426
- if (id == ScriptText) return maybeNest(node, input, script);
427
- if (id == StyleText) return maybeNest(node, input, style);
428
- if (id == TextareaText) return maybeNest(node, input, textarea);
429
- if (id == Element && other.length) {
430
- let n = node.node, open = n.firstChild, tagName = open && findTagName(open, input), attrs;
431
- if (tagName) {
432
- for (let tag of other) if (tag.tag == tagName && (!tag.attrs || tag.attrs(attrs || (attrs = getAttrs(open, input))))) {
433
- let close = n.lastChild;
434
- let to = close.type.id == CloseTag ? close.from : n.to;
435
- if (to > open.to) return {
436
- parser: tag.parser,
437
- overlay: [{
438
- from: open.to,
439
- to
440
- }]
441
- };
442
- }
443
- }
444
- }
445
- if (attrs && id == Attribute) {
446
- let n = node.node, nameNode;
447
- if (nameNode = n.firstChild) {
448
- let matches = attrs[input.read(nameNode.from, nameNode.to)];
449
- if (matches) for (let attr of matches) {
450
- if (attr.tagName && attr.tagName != findTagName(n.parent, input)) continue;
451
- let value = n.lastChild;
452
- if (value.type.id == AttributeValue) {
453
- let from = value.from + 1;
454
- let last = value.lastChild, to = value.to - (last && last.isError ? 0 : 1);
455
- if (to > from) return {
456
- parser: attr.parser,
457
- overlay: [{
458
- from,
459
- to
460
- }],
461
- bracketed: true
462
- };
463
- } else if (value.type.id == UnquotedAttributeValue) return {
464
- parser: attr.parser,
465
- overlay: [{
466
- from: value.from,
467
- to: value.to
468
- }]
469
- };
470
- }
471
- }
472
- }
473
- return null;
474
- });
475
- }
476
- // node_modules/@codemirror/lang-html/dist/index.js
477
- var dist_exports = /* @__PURE__ */ __exportAll({
478
- autoCloseTags: () => autoCloseTags,
479
- html: () => html,
480
- htmlCompletionSource: () => htmlCompletionSource,
481
- htmlCompletionSourceWith: () => htmlCompletionSourceWith,
482
- htmlLanguage: () => htmlLanguage
483
- });
484
- var Targets = [
485
- "_blank",
486
- "_self",
487
- "_top",
488
- "_parent"
489
- ];
490
- var Charsets = [
491
- "ascii",
492
- "utf-8",
493
- "utf-16",
494
- "latin1",
495
- "latin1"
496
- ];
497
- var Methods = [
498
- "get",
499
- "post",
500
- "put",
501
- "delete"
502
- ];
503
- var Encs = [
504
- "application/x-www-form-urlencoded",
505
- "multipart/form-data",
506
- "text/plain"
507
- ];
508
- var Bool = ["true", "false"];
509
- var S = {};
510
- var Tags = {
511
- a: { attrs: {
512
- href: null,
513
- ping: null,
514
- type: null,
515
- media: null,
516
- target: Targets,
517
- hreflang: null
518
- } },
519
- abbr: S,
520
- address: S,
521
- area: { attrs: {
522
- alt: null,
523
- coords: null,
524
- href: null,
525
- target: null,
526
- ping: null,
527
- media: null,
528
- hreflang: null,
529
- type: null,
530
- shape: [
531
- "default",
532
- "rect",
533
- "circle",
534
- "poly"
535
- ]
536
- } },
537
- article: S,
538
- aside: S,
539
- audio: { attrs: {
540
- src: null,
541
- mediagroup: null,
542
- crossorigin: ["anonymous", "use-credentials"],
543
- preload: [
544
- "none",
545
- "metadata",
546
- "auto"
547
- ],
548
- autoplay: ["autoplay"],
549
- loop: ["loop"],
550
- controls: ["controls"]
551
- } },
552
- b: S,
553
- base: { attrs: {
554
- href: null,
555
- target: Targets
556
- } },
557
- bdi: S,
558
- bdo: S,
559
- blockquote: { attrs: { cite: null } },
560
- body: S,
561
- br: S,
562
- button: { attrs: {
563
- form: null,
564
- formaction: null,
565
- name: null,
566
- value: null,
567
- autofocus: ["autofocus"],
568
- disabled: ["autofocus"],
569
- formenctype: Encs,
570
- formmethod: Methods,
571
- formnovalidate: ["novalidate"],
572
- formtarget: Targets,
573
- type: [
574
- "submit",
575
- "reset",
576
- "button"
577
- ]
578
- } },
579
- canvas: { attrs: {
580
- width: null,
581
- height: null
582
- } },
583
- caption: S,
584
- center: S,
585
- cite: S,
586
- code: S,
587
- col: { attrs: { span: null } },
588
- colgroup: { attrs: { span: null } },
589
- command: { attrs: {
590
- type: [
591
- "command",
592
- "checkbox",
593
- "radio"
594
- ],
595
- label: null,
596
- icon: null,
597
- radiogroup: null,
598
- command: null,
599
- title: null,
600
- disabled: ["disabled"],
601
- checked: ["checked"]
602
- } },
603
- data: { attrs: { value: null } },
604
- datagrid: { attrs: {
605
- disabled: ["disabled"],
606
- multiple: ["multiple"]
607
- } },
608
- datalist: { attrs: { data: null } },
609
- dd: S,
610
- del: { attrs: {
611
- cite: null,
612
- datetime: null
613
- } },
614
- details: { attrs: { open: ["open"] } },
615
- dfn: S,
616
- div: S,
617
- dl: S,
618
- dt: S,
619
- em: S,
620
- embed: { attrs: {
621
- src: null,
622
- type: null,
623
- width: null,
624
- height: null
625
- } },
626
- eventsource: { attrs: { src: null } },
627
- fieldset: { attrs: {
628
- disabled: ["disabled"],
629
- form: null,
630
- name: null
631
- } },
632
- figcaption: S,
633
- figure: S,
634
- footer: S,
635
- form: { attrs: {
636
- action: null,
637
- name: null,
638
- "accept-charset": Charsets,
639
- autocomplete: ["on", "off"],
640
- enctype: Encs,
641
- method: Methods,
642
- novalidate: ["novalidate"],
643
- target: Targets
644
- } },
645
- h1: S,
646
- h2: S,
647
- h3: S,
648
- h4: S,
649
- h5: S,
650
- h6: S,
651
- head: { children: [
652
- "title",
653
- "base",
654
- "link",
655
- "style",
656
- "meta",
657
- "script",
658
- "noscript",
659
- "command"
660
- ] },
661
- header: S,
662
- hgroup: S,
663
- hr: S,
664
- html: { attrs: { manifest: null } },
665
- i: S,
666
- iframe: { attrs: {
667
- src: null,
668
- srcdoc: null,
669
- name: null,
670
- width: null,
671
- height: null,
672
- sandbox: [
673
- "allow-top-navigation",
674
- "allow-same-origin",
675
- "allow-forms",
676
- "allow-scripts"
677
- ],
678
- seamless: ["seamless"]
679
- } },
680
- img: { attrs: {
681
- alt: null,
682
- src: null,
683
- ismap: null,
684
- usemap: null,
685
- width: null,
686
- height: null,
687
- crossorigin: ["anonymous", "use-credentials"]
688
- } },
689
- input: { attrs: {
690
- alt: null,
691
- dirname: null,
692
- form: null,
693
- formaction: null,
694
- height: null,
695
- list: null,
696
- max: null,
697
- maxlength: null,
698
- min: null,
699
- name: null,
700
- pattern: null,
701
- placeholder: null,
702
- size: null,
703
- src: null,
704
- step: null,
705
- value: null,
706
- width: null,
707
- accept: [
708
- "audio/*",
709
- "video/*",
710
- "image/*"
711
- ],
712
- autocomplete: ["on", "off"],
713
- autofocus: ["autofocus"],
714
- checked: ["checked"],
715
- disabled: ["disabled"],
716
- formenctype: Encs,
717
- formmethod: Methods,
718
- formnovalidate: ["novalidate"],
719
- formtarget: Targets,
720
- multiple: ["multiple"],
721
- readonly: ["readonly"],
722
- required: ["required"],
723
- type: [
724
- "hidden",
725
- "text",
726
- "search",
727
- "tel",
728
- "url",
729
- "email",
730
- "password",
731
- "datetime",
732
- "date",
733
- "month",
734
- "week",
735
- "time",
736
- "datetime-local",
737
- "number",
738
- "range",
739
- "color",
740
- "checkbox",
741
- "radio",
742
- "file",
743
- "submit",
744
- "image",
745
- "reset",
746
- "button"
747
- ]
748
- } },
749
- ins: { attrs: {
750
- cite: null,
751
- datetime: null
752
- } },
753
- kbd: S,
754
- keygen: { attrs: {
755
- challenge: null,
756
- form: null,
757
- name: null,
758
- autofocus: ["autofocus"],
759
- disabled: ["disabled"],
760
- keytype: ["RSA"]
761
- } },
762
- label: { attrs: {
763
- for: null,
764
- form: null
765
- } },
766
- legend: S,
767
- li: { attrs: { value: null } },
768
- link: { attrs: {
769
- href: null,
770
- type: null,
771
- hreflang: null,
772
- media: null,
773
- sizes: [
774
- "all",
775
- "16x16",
776
- "16x16 32x32",
777
- "16x16 32x32 64x64"
778
- ]
779
- } },
780
- map: { attrs: { name: null } },
781
- mark: S,
782
- menu: { attrs: {
783
- label: null,
784
- type: [
785
- "list",
786
- "context",
787
- "toolbar"
788
- ]
789
- } },
790
- meta: { attrs: {
791
- content: null,
792
- charset: Charsets,
793
- name: [
794
- "viewport",
795
- "application-name",
796
- "author",
797
- "description",
798
- "generator",
799
- "keywords"
800
- ],
801
- "http-equiv": [
802
- "content-language",
803
- "content-type",
804
- "default-style",
805
- "refresh"
806
- ]
807
- } },
808
- meter: { attrs: {
809
- value: null,
810
- min: null,
811
- low: null,
812
- high: null,
813
- max: null,
814
- optimum: null
815
- } },
816
- nav: S,
817
- noscript: S,
818
- object: { attrs: {
819
- data: null,
820
- type: null,
821
- name: null,
822
- usemap: null,
823
- form: null,
824
- width: null,
825
- height: null,
826
- typemustmatch: ["typemustmatch"]
827
- } },
828
- ol: {
829
- attrs: {
830
- reversed: ["reversed"],
831
- start: null,
832
- type: [
833
- "1",
834
- "a",
835
- "A",
836
- "i",
837
- "I"
838
- ]
839
- },
840
- children: [
841
- "li",
842
- "script",
843
- "template",
844
- "ul",
845
- "ol"
846
- ]
847
- },
848
- optgroup: { attrs: {
849
- disabled: ["disabled"],
850
- label: null
851
- } },
852
- option: { attrs: {
853
- disabled: ["disabled"],
854
- label: null,
855
- selected: ["selected"],
856
- value: null
857
- } },
858
- output: { attrs: {
859
- for: null,
860
- form: null,
861
- name: null
862
- } },
863
- p: S,
864
- param: { attrs: {
865
- name: null,
866
- value: null
867
- } },
868
- pre: S,
869
- progress: { attrs: {
870
- value: null,
871
- max: null
872
- } },
873
- q: { attrs: { cite: null } },
874
- rp: S,
875
- rt: S,
876
- ruby: S,
877
- samp: S,
878
- script: { attrs: {
879
- type: ["text/javascript"],
880
- src: null,
881
- async: ["async"],
882
- defer: ["defer"],
883
- charset: Charsets
884
- } },
885
- section: S,
886
- select: { attrs: {
887
- form: null,
888
- name: null,
889
- size: null,
890
- autofocus: ["autofocus"],
891
- disabled: ["disabled"],
892
- multiple: ["multiple"]
893
- } },
894
- slot: { attrs: { name: null } },
895
- small: S,
896
- source: { attrs: {
897
- src: null,
898
- type: null,
899
- media: null
900
- } },
901
- span: S,
902
- strong: S,
903
- style: { attrs: {
904
- type: ["text/css"],
905
- media: null,
906
- scoped: null
907
- } },
908
- sub: S,
909
- summary: S,
910
- sup: S,
911
- table: S,
912
- tbody: S,
913
- td: { attrs: {
914
- colspan: null,
915
- rowspan: null,
916
- headers: null
917
- } },
918
- template: S,
919
- textarea: { attrs: {
920
- dirname: null,
921
- form: null,
922
- maxlength: null,
923
- name: null,
924
- placeholder: null,
925
- rows: null,
926
- cols: null,
927
- autofocus: ["autofocus"],
928
- disabled: ["disabled"],
929
- readonly: ["readonly"],
930
- required: ["required"],
931
- wrap: ["soft", "hard"]
932
- } },
933
- tfoot: S,
934
- th: { attrs: {
935
- colspan: null,
936
- rowspan: null,
937
- headers: null,
938
- scope: [
939
- "row",
940
- "col",
941
- "rowgroup",
942
- "colgroup"
943
- ]
944
- } },
945
- thead: S,
946
- time: { attrs: { datetime: null } },
947
- title: S,
948
- tr: S,
949
- track: { attrs: {
950
- src: null,
951
- label: null,
952
- default: null,
953
- kind: [
954
- "subtitles",
955
- "captions",
956
- "descriptions",
957
- "chapters",
958
- "metadata"
959
- ],
960
- srclang: null
961
- } },
962
- ul: { children: [
963
- "li",
964
- "script",
965
- "template",
966
- "ul",
967
- "ol"
968
- ] },
969
- var: S,
970
- video: { attrs: {
971
- src: null,
972
- poster: null,
973
- width: null,
974
- height: null,
975
- crossorigin: ["anonymous", "use-credentials"],
976
- preload: [
977
- "auto",
978
- "metadata",
979
- "none"
980
- ],
981
- autoplay: ["autoplay"],
982
- mediagroup: ["movie"],
983
- muted: ["muted"],
984
- controls: ["controls"]
985
- } },
986
- wbr: S
987
- };
988
- var GlobalAttrs = {
989
- accesskey: null,
990
- class: null,
991
- contenteditable: Bool,
992
- contextmenu: null,
993
- dir: [
994
- "ltr",
995
- "rtl",
996
- "auto"
997
- ],
998
- draggable: [
999
- "true",
1000
- "false",
1001
- "auto"
1002
- ],
1003
- dropzone: [
1004
- "copy",
1005
- "move",
1006
- "link",
1007
- "string:",
1008
- "file:"
1009
- ],
1010
- hidden: ["hidden"],
1011
- id: null,
1012
- inert: ["inert"],
1013
- itemid: null,
1014
- itemprop: null,
1015
- itemref: null,
1016
- itemscope: ["itemscope"],
1017
- itemtype: null,
1018
- lang: [
1019
- "ar",
1020
- "bn",
1021
- "de",
1022
- "en-GB",
1023
- "en-US",
1024
- "es",
1025
- "fr",
1026
- "hi",
1027
- "id",
1028
- "ja",
1029
- "pa",
1030
- "pt",
1031
- "ru",
1032
- "tr",
1033
- "zh"
1034
- ],
1035
- spellcheck: Bool,
1036
- autocorrect: Bool,
1037
- autocapitalize: Bool,
1038
- style: null,
1039
- tabindex: null,
1040
- title: null,
1041
- translate: ["yes", "no"],
1042
- rel: [
1043
- "stylesheet",
1044
- "alternate",
1045
- "author",
1046
- "bookmark",
1047
- "help",
1048
- "license",
1049
- "next",
1050
- "nofollow",
1051
- "noreferrer",
1052
- "prefetch",
1053
- "prev",
1054
- "search",
1055
- "tag"
1056
- ],
1057
- role: /*@__PURE__*/ "alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),
1058
- "aria-activedescendant": null,
1059
- "aria-atomic": Bool,
1060
- "aria-autocomplete": [
1061
- "inline",
1062
- "list",
1063
- "both",
1064
- "none"
1065
- ],
1066
- "aria-busy": Bool,
1067
- "aria-checked": [
1068
- "true",
1069
- "false",
1070
- "mixed",
1071
- "undefined"
1072
- ],
1073
- "aria-controls": null,
1074
- "aria-describedby": null,
1075
- "aria-disabled": Bool,
1076
- "aria-dropeffect": null,
1077
- "aria-expanded": [
1078
- "true",
1079
- "false",
1080
- "undefined"
1081
- ],
1082
- "aria-flowto": null,
1083
- "aria-grabbed": [
1084
- "true",
1085
- "false",
1086
- "undefined"
1087
- ],
1088
- "aria-haspopup": Bool,
1089
- "aria-hidden": Bool,
1090
- "aria-invalid": [
1091
- "true",
1092
- "false",
1093
- "grammar",
1094
- "spelling"
1095
- ],
1096
- "aria-label": null,
1097
- "aria-labelledby": null,
1098
- "aria-level": null,
1099
- "aria-live": [
1100
- "off",
1101
- "polite",
1102
- "assertive"
1103
- ],
1104
- "aria-multiline": Bool,
1105
- "aria-multiselectable": Bool,
1106
- "aria-owns": null,
1107
- "aria-posinset": null,
1108
- "aria-pressed": [
1109
- "true",
1110
- "false",
1111
- "mixed",
1112
- "undefined"
1113
- ],
1114
- "aria-readonly": Bool,
1115
- "aria-relevant": null,
1116
- "aria-required": Bool,
1117
- "aria-selected": [
1118
- "true",
1119
- "false",
1120
- "undefined"
1121
- ],
1122
- "aria-setsize": null,
1123
- "aria-sort": [
1124
- "ascending",
1125
- "descending",
1126
- "none",
1127
- "other"
1128
- ],
1129
- "aria-valuemax": null,
1130
- "aria-valuemin": null,
1131
- "aria-valuenow": null,
1132
- "aria-valuetext": null
1133
- };
1134
- var eventAttributes = /*@__PURE__*/ "beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((n) => "on" + n);
1135
- for (let a of eventAttributes) GlobalAttrs[a] = null;
1136
- var Schema = class {
1137
- constructor(extraTags, extraAttrs) {
1138
- this.tags = {
1139
- ...Tags,
1140
- ...extraTags
1141
- };
1142
- this.globalAttrs = {
1143
- ...GlobalAttrs,
1144
- ...extraAttrs
1145
- };
1146
- this.allTags = Object.keys(this.tags);
1147
- this.globalAttrNames = Object.keys(this.globalAttrs);
1148
- }
1149
- };
1150
- Schema.default = /*@__PURE__*/ new Schema();
1151
- function elementName(doc, tree, max = doc.length) {
1152
- if (!tree) return "";
1153
- let tag = tree.firstChild;
1154
- let name = tag && tag.getChild("TagName");
1155
- return name ? doc.sliceString(name.from, Math.min(name.to, max)) : "";
1156
- }
1157
- function findParentElement(tree, skip = false) {
1158
- for (; tree; tree = tree.parent) if (tree.name == "Element") {
1159
- if (skip) skip = false;
1160
- else return tree;
1161
- }
1162
- return null;
1163
- }
1164
- function allowedChildren(doc, tree, schema) {
1165
- let parentInfo = schema.tags[elementName(doc, findParentElement(tree))];
1166
- return (parentInfo === null || parentInfo === void 0 ? void 0 : parentInfo.children) || schema.allTags;
1167
- }
1168
- function openTags(doc, tree) {
1169
- let open = [];
1170
- for (let parent = findParentElement(tree); parent && !parent.type.isTop; parent = findParentElement(parent.parent)) {
1171
- let tagName = elementName(doc, parent);
1172
- if (tagName && parent.lastChild.name == "CloseTag") break;
1173
- if (tagName && open.indexOf(tagName) < 0 && (tree.name == "EndTag" || tree.from >= parent.firstChild.to)) open.push(tagName);
1174
- }
1175
- return open;
1176
- }
1177
- var identifier = /^[:\-\.\w\u00b7-\uffff]*$/;
1178
- function completeTag(state, schema, tree, from, to) {
1179
- let end = /\s*>/.test(state.sliceDoc(to, to + 5)) ? "" : ">";
1180
- let parent = findParentElement(tree, tree.name == "StartTag" || tree.name == "TagName");
1181
- return {
1182
- from,
1183
- to,
1184
- options: allowedChildren(state.doc, parent, schema).map((tagName) => ({
1185
- label: tagName,
1186
- type: "type"
1187
- })).concat(openTags(state.doc, tree).map((tag, i) => ({
1188
- label: "/" + tag,
1189
- apply: "/" + tag + end,
1190
- type: "type",
1191
- boost: 99 - i
1192
- }))),
1193
- validFor: /^\/?[:\-\.\w\u00b7-\uffff]*$/
1194
- };
1195
- }
1196
- function completeCloseTag(state, tree, from, to) {
1197
- let end = /\s*>/.test(state.sliceDoc(to, to + 5)) ? "" : ">";
1198
- return {
1199
- from,
1200
- to,
1201
- options: openTags(state.doc, tree).map((tag, i) => ({
1202
- label: tag,
1203
- apply: tag + end,
1204
- type: "type",
1205
- boost: 99 - i
1206
- })),
1207
- validFor: identifier
1208
- };
1209
- }
1210
- function completeStartTag(state, schema, tree, pos) {
1211
- let options = [], level = 0;
1212
- for (let tagName of allowedChildren(state.doc, tree, schema)) options.push({
1213
- label: "<" + tagName,
1214
- type: "type"
1215
- });
1216
- for (let open of openTags(state.doc, tree)) options.push({
1217
- label: "</" + open + ">",
1218
- type: "type",
1219
- boost: 99 - level++
1220
- });
1221
- return {
1222
- from: pos,
1223
- to: pos,
1224
- options,
1225
- validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/
1226
- };
1227
- }
1228
- function completeAttrName(state, schema, tree, from, to) {
1229
- let elt = findParentElement(tree), info = elt ? schema.tags[elementName(state.doc, elt)] : null;
1230
- let localAttrs = info && info.attrs ? Object.keys(info.attrs) : [];
1231
- return {
1232
- from,
1233
- to,
1234
- options: (info && info.globalAttrs === false ? localAttrs : localAttrs.length ? localAttrs.concat(schema.globalAttrNames) : schema.globalAttrNames).map((attrName) => ({
1235
- label: attrName,
1236
- type: "property"
1237
- })),
1238
- validFor: identifier
1239
- };
1240
- }
1241
- function completeAttrValue(state, schema, tree, from, to) {
1242
- var _a;
1243
- let nameNode = (_a = tree.parent) === null || _a === void 0 ? void 0 : _a.getChild("AttributeName");
1244
- let options = [], token = void 0;
1245
- if (nameNode) {
1246
- let attrName = state.sliceDoc(nameNode.from, nameNode.to);
1247
- let attrs = schema.globalAttrs[attrName];
1248
- if (!attrs) {
1249
- let elt = findParentElement(tree), info = elt ? schema.tags[elementName(state.doc, elt)] : null;
1250
- attrs = (info === null || info === void 0 ? void 0 : info.attrs) && info.attrs[attrName];
1251
- }
1252
- if (attrs) {
1253
- let base = state.sliceDoc(from, to).toLowerCase(), quoteStart = "\"", quoteEnd = "\"";
1254
- if (/^['"]/.test(base)) {
1255
- token = base[0] == "\"" ? /^[^"]*$/ : /^[^']*$/;
1256
- quoteStart = "";
1257
- quoteEnd = state.sliceDoc(to, to + 1) == base[0] ? "" : base[0];
1258
- base = base.slice(1);
1259
- from++;
1260
- } else token = /^[^\s<>='"]*$/;
1261
- for (let value of attrs) options.push({
1262
- label: value,
1263
- apply: quoteStart + value + quoteEnd,
1264
- type: "constant"
1265
- });
1266
- }
1267
- }
1268
- return {
1269
- from,
1270
- to,
1271
- options,
1272
- validFor: token
1273
- };
1274
- }
1275
- function htmlCompletionFor(schema, context) {
1276
- let { state, pos } = context, tree = syntaxTree(state).resolveInner(pos, -1), around = tree.resolve(pos);
1277
- for (let scan = pos, before; around == tree && (before = tree.childBefore(scan));) {
1278
- let last = before.lastChild;
1279
- if (!last || !last.type.isError || last.from < last.to) break;
1280
- around = tree = before;
1281
- scan = last.from;
1282
- }
1283
- if (tree.name == "TagName") return tree.parent && /CloseTag$/.test(tree.parent.name) ? completeCloseTag(state, tree, tree.from, pos) : completeTag(state, schema, tree, tree.from, pos);
1284
- else if (tree.name == "StartTag" || tree.name == "IncompleteTag") return completeTag(state, schema, tree, pos, pos);
1285
- else if (tree.name == "StartCloseTag" || tree.name == "IncompleteCloseTag") return completeCloseTag(state, tree, pos, pos);
1286
- else if (tree.name == "OpenTag" || tree.name == "SelfClosingTag" || tree.name == "AttributeName") return completeAttrName(state, schema, tree, tree.name == "AttributeName" ? tree.from : pos, pos);
1287
- else if (tree.name == "Is" || tree.name == "AttributeValue" || tree.name == "UnquotedAttributeValue") return completeAttrValue(state, schema, tree, tree.name == "Is" ? pos : tree.from, pos);
1288
- else if (context.explicit && (around.name == "Element" || around.name == "Text" || around.name == "Document")) return completeStartTag(state, schema, tree, pos);
1289
- else return null;
1290
- }
1291
- /**
1292
- HTML tag completion. Opens and closes tags and attributes in a
1293
- context-aware way.
1294
- */
1295
- function htmlCompletionSource(context) {
1296
- return htmlCompletionFor(Schema.default, context);
1297
- }
1298
- /**
1299
- Create a completion source for HTML extended with additional tags
1300
- or attributes.
1301
- */
1302
- function htmlCompletionSourceWith(config) {
1303
- let { extraTags, extraGlobalAttributes: extraAttrs } = config;
1304
- let schema = extraAttrs || extraTags ? new Schema(extraTags, extraAttrs) : Schema.default;
1305
- return (context) => htmlCompletionFor(schema, context);
1306
- }
1307
- var jsonParser = /*@__PURE__*/ javascriptLanguage.parser.configure({ top: "SingleExpression" });
1308
- var defaultNesting = [
1309
- {
1310
- tag: "script",
1311
- attrs: (attrs) => attrs.type == "text/typescript" || attrs.lang == "ts",
1312
- parser: typescriptLanguage.parser
1313
- },
1314
- {
1315
- tag: "script",
1316
- attrs: (attrs) => attrs.type == "text/babel" || attrs.type == "text/jsx",
1317
- parser: jsxLanguage.parser
1318
- },
1319
- {
1320
- tag: "script",
1321
- attrs: (attrs) => attrs.type == "text/typescript-jsx",
1322
- parser: tsxLanguage.parser
1323
- },
1324
- {
1325
- tag: "script",
1326
- attrs(attrs) {
1327
- return /^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(attrs.type);
1328
- },
1329
- parser: jsonParser
1330
- },
1331
- {
1332
- tag: "script",
1333
- attrs(attrs) {
1334
- return !attrs.type || /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(attrs.type);
1335
- },
1336
- parser: javascriptLanguage.parser
1337
- },
1338
- {
1339
- tag: "style",
1340
- attrs(attrs) {
1341
- return (!attrs.lang || attrs.lang == "css") && (!attrs.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(attrs.type));
1342
- },
1343
- parser: cssLanguage.parser
1344
- }
1345
- ];
1346
- var defaultAttrs = /*@__PURE__*/ [{
1347
- name: "style",
1348
- parser: /*@__PURE__*/ cssLanguage.parser.configure({ top: "Styles" })
1349
- }].concat(/*@__PURE__*/ eventAttributes.map((name) => ({
1350
- name,
1351
- parser: javascriptLanguage.parser
1352
- })));
1353
- var htmlPlain = /*@__PURE__*/ LRLanguage.define({
1354
- name: "html",
1355
- parser: /*@__PURE__*/ parser.configure({ props: [
1356
- /*@__PURE__*/ indentNodeProp.add({
1357
- Element(context) {
1358
- let after = /^(\s*)(<\/)?/.exec(context.textAfter);
1359
- if (context.node.to <= context.pos + after[0].length) return context.continue();
1360
- return context.lineIndent(context.node.from) + (after[2] ? 0 : context.unit);
1361
- },
1362
- "OpenTag CloseTag SelfClosingTag"(context) {
1363
- return context.column(context.node.from) + context.unit;
1364
- },
1365
- Document(context) {
1366
- if (context.pos + /\s*/.exec(context.textAfter)[0].length < context.node.to) return context.continue();
1367
- let endElt = null, close;
1368
- for (let cur = context.node;;) {
1369
- let last = cur.lastChild;
1370
- if (!last || last.name != "Element" || last.to != cur.to) break;
1371
- endElt = cur = last;
1372
- }
1373
- if (endElt && !((close = endElt.lastChild) && (close.name == "CloseTag" || close.name == "SelfClosingTag"))) return context.lineIndent(endElt.from) + context.unit;
1374
- return null;
1375
- }
1376
- }),
1377
- /*@__PURE__*/ foldNodeProp.add({ Element(node) {
1378
- let first = node.firstChild, last = node.lastChild;
1379
- if (!first || first.name != "OpenTag") return null;
1380
- return {
1381
- from: first.to,
1382
- to: last.name == "CloseTag" ? last.from : node.to
1383
- };
1384
- } }),
1385
- /*@__PURE__*/ bracketMatchingHandle.add({ "OpenTag CloseTag": (node) => node.getChild("TagName") })
1386
- ] }),
1387
- languageData: {
1388
- commentTokens: { block: {
1389
- open: "<!--",
1390
- close: "-->"
1391
- } },
1392
- indentOnInput: /^\s*<\/\w+\W$/,
1393
- wordChars: "-_"
1394
- }
1395
- });
1396
- /**
1397
- A language provider based on the [Lezer HTML
1398
- parser](https://code.haverbeke.berlin/lezer/html), extended with the
1399
- JavaScript and CSS parsers to parse the content of `<script>` and
1400
- `<style>` tags.
1401
- */
1402
- var htmlLanguage = /*@__PURE__*/ htmlPlain.configure({ wrap: /*@__PURE__*/ configureNesting(defaultNesting, defaultAttrs) });
1403
- /**
1404
- Language support for HTML, including
1405
- [`htmlCompletion`](https://codemirror.net/6/docs/ref/#lang-html.htmlCompletion) and JavaScript and
1406
- CSS support extensions.
1407
- */
1408
- function html(config = {}) {
1409
- let dialect = "", wrap;
1410
- if (config.matchClosingTags === false) dialect = "noMatch";
1411
- if (config.selfClosingTags === true) dialect = (dialect ? dialect + " " : "") + "selfClosing";
1412
- if (config.nestedLanguages && config.nestedLanguages.length || config.nestedAttributes && config.nestedAttributes.length) wrap = configureNesting((config.nestedLanguages || []).concat(defaultNesting), (config.nestedAttributes || []).concat(defaultAttrs));
1413
- let lang = wrap ? htmlPlain.configure({
1414
- wrap,
1415
- dialect
1416
- }) : dialect ? htmlLanguage.configure({ dialect }) : htmlLanguage;
1417
- return new LanguageSupport(lang, [
1418
- htmlLanguage.data.of({ autocomplete: htmlCompletionSourceWith(config) }),
1419
- config.autoCloseTags !== false ? autoCloseTags : [],
1420
- javascript().support,
1421
- css().support
1422
- ]);
1423
- }
1424
- var selfClosers = /*@__PURE__*/ new Set(/*@__PURE__*/ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" "));
1425
- function isClosed(doc, elt, name) {
1426
- var _a;
1427
- for (;;) {
1428
- if (((_a = elt.lastChild) === null || _a === void 0 ? void 0 : _a.name) != "CloseTag") return false;
1429
- let next = elt.parent;
1430
- if (!next || elementName(doc, next) != name) return true;
1431
- elt = next;
1432
- }
1433
- }
1434
- /**
1435
- Extension that will automatically insert close tags when a `>` or
1436
- `/` is typed.
1437
- */
1438
- var autoCloseTags = /*@__PURE__*/ EditorView.inputHandler.of((view, from, to, text, insertTransaction) => {
1439
- if (view.composing || view.state.readOnly || from != to || text != ">" && text != "/" || !htmlLanguage.isActiveAt(view.state, from, -1)) return false;
1440
- let base = insertTransaction(), { state } = base;
1441
- let closeTags = state.changeByRange((range) => {
1442
- var _a;
1443
- let didType = state.doc.sliceString(range.from - 1, range.to) == text;
1444
- let { head } = range, after = syntaxTree(state).resolveInner(head, -1), name;
1445
- if (didType && text == ">" && after.name == "EndTag") {
1446
- let tag = after.parent;
1447
- if ((name = elementName(state.doc, tag.parent, head)) && !selfClosers.has(name) && !isClosed(state.doc, tag.parent, name)) return {
1448
- range,
1449
- changes: {
1450
- from: head,
1451
- to: head + (state.doc.sliceString(head, head + 1) === ">" ? 1 : 0),
1452
- insert: `</${name}>`
1453
- }
1454
- };
1455
- } else if (didType && text == "/" && after.name == "IncompleteCloseTag") {
1456
- let tag = after.parent;
1457
- if (after.from == head - 2 && ((_a = tag.lastChild) === null || _a === void 0 ? void 0 : _a.name) != "CloseTag" && (name = elementName(state.doc, tag, head)) && !selfClosers.has(name)) {
1458
- let to = head + (state.doc.sliceString(head, head + 1) === ">" ? 1 : 0);
1459
- let insert = `${name}>`;
1460
- return {
1461
- range: EditorSelection.cursor(head + insert.length, -1),
1462
- changes: {
1463
- from: head,
1464
- to,
1465
- insert
1466
- }
1467
- };
1468
- }
1469
- }
1470
- return { range };
1471
- });
1472
- if (closeTags.changes.empty) return false;
1473
- view.dispatch([base, state.update(closeTags, {
1474
- userEvent: "input.complete",
1475
- scrollIntoView: true
1476
- })]);
1477
- return true;
1478
- });
1479
- export { html as n, htmlCompletionSource as r, dist_exports as t };