impact-nova 2.6.3 → 3.0.0-alpha.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 (456) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/index.js +7 -0
  3. package/dist/_virtual/index2.js +7 -0
  4. package/dist/_virtual/index3.js +4 -0
  5. package/dist/_virtual/utilities.js +4 -0
  6. package/dist/components/data/ag-grid-react/ag-grid-cell-components.d.ts +9 -0
  7. package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +16 -0
  8. package/dist/components/data/ag-grid-react/ag-grid-list.js +23 -0
  9. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +7 -0
  10. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.d.ts +14 -0
  11. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +70 -0
  12. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +10 -5
  13. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +73 -41
  14. package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +7 -0
  15. package/dist/components/data/ag-grid-react/cell-renderers/index.js +42 -36
  16. package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +2 -0
  17. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.d.ts +19 -0
  18. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +89 -0
  19. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.d.ts +28 -0
  20. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.js +96 -0
  21. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +30 -10
  22. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +72 -24
  23. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +42 -0
  24. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +86 -0
  25. package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +31 -29
  26. package/dist/components/data/ag-grid-react/headers/components/lazy-tooltip.js +8 -6
  27. package/dist/components/data/ag-grid-react/index.d.ts +1 -1
  28. package/dist/components/data/ag-grid-react/index.js +162 -146
  29. package/dist/components/data/data-table/data-table.js +85 -82
  30. package/dist/components/data/data-table/data-table.types.d.ts +5 -0
  31. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +8 -6
  32. package/dist/components/data/expandable-list-item/sku-next-page-coordinator.d.ts +14 -0
  33. package/dist/components/data/expandable-list-item/sku-strip-lookahead.d.ts +26 -0
  34. package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +10 -0
  35. package/dist/components/data/expandable-list-item/useSkuStripVirtualizer.d.ts +30 -0
  36. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +81 -0
  37. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.item-grid.d.ts +1 -0
  38. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.product-card.d.ts +7 -0
  39. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +2 -0
  40. package/dist/components/data-display/calendar/fiscal-period-caption-select.js +4 -2
  41. package/dist/components/data-display/chart/chart-heatmap-demos.d.ts +3 -0
  42. package/dist/components/data-display/chart/chart-heatmap-play.d.ts +9 -0
  43. package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +22 -0
  44. package/dist/components/data-display/chart/chart.diverging-heatmap.stories-data.d.ts +43 -0
  45. package/dist/components/data-display/chart/chart.js +100 -93
  46. package/dist/components/data-display/chart/chart.types.d.ts +10 -0
  47. package/dist/components/data-display/chart/chart.utils.d.ts +14 -2
  48. package/dist/components/data-display/chart/chart.utils.js +132 -35
  49. package/dist/components/data-display/chart/index.js +15 -13
  50. package/dist/components/data-display/chart/resolve-highcharts-options.js +19 -14
  51. package/dist/components/data-display/globe-map/globe-map.d.ts +8 -0
  52. package/dist/components/data-display/globe-map/globe-map.js +161 -0
  53. package/dist/components/data-display/globe-map/globe-map.stories-data.d.ts +12 -0
  54. package/dist/components/data-display/globe-map/globe-map.types.d.ts +83 -0
  55. package/dist/components/data-display/globe-map/globe-map.utils.d.ts +115 -0
  56. package/dist/components/data-display/globe-map/globe-map.utils.js +259 -0
  57. package/dist/components/data-display/globe-map/globe-map.variants.d.ts +19 -0
  58. package/dist/components/data-display/globe-map/globe-map.variants.js +80 -0
  59. package/dist/components/data-display/globe-map/index.d.ts +2 -0
  60. package/dist/components/data-display/globe-map/index.js +10 -0
  61. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.d.ts +4 -0
  62. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.js +7 -0
  63. package/dist/components/data-display/globe-map/internals/globe-map-context.d.ts +25 -0
  64. package/dist/components/data-display/globe-map/internals/globe-map-context.js +19 -0
  65. package/dist/components/data-display/globe-map/internals/globe-map-legend.d.ts +2 -0
  66. package/dist/components/data-display/globe-map/internals/globe-map-legend.js +51 -0
  67. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.d.ts +6 -0
  68. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.js +119 -0
  69. package/dist/components/data-display/globe-map/internals/globe-map-point-card.d.ts +2 -0
  70. package/dist/components/data-display/globe-map/internals/globe-map-point-card.js +106 -0
  71. package/dist/components/data-display/globe-map/internals/globe-map-scene.d.ts +17 -0
  72. package/dist/components/data-display/globe-map/internals/globe-map-scene.js +218 -0
  73. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.d.ts +2 -0
  74. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.js +33 -0
  75. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.d.ts +45 -0
  76. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.js +270 -0
  77. package/dist/components/data-display/hex-tilemap/hex-tilemap.d.ts +9 -0
  78. package/dist/components/data-display/hex-tilemap/hex-tilemap.js +94 -0
  79. package/dist/components/data-display/hex-tilemap/hex-tilemap.stories-data.d.ts +7 -0
  80. package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +43 -0
  81. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.d.ts +11 -0
  82. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.js +47 -0
  83. package/dist/components/data-display/hex-tilemap/index.d.ts +2 -0
  84. package/dist/components/data-display/hex-tilemap/index.js +12 -0
  85. package/dist/components/data-display/hex-tilemap/internals/hex-camera.d.ts +40 -0
  86. package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +103 -0
  87. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.d.ts +9 -0
  88. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.js +1387 -0
  89. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.d.ts +21 -0
  90. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.js +82 -0
  91. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.d.ts +18 -0
  92. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.js +47 -0
  93. package/dist/components/data-display/hex-tilemap/internals/hex-layout.d.ts +10 -0
  94. package/dist/components/data-display/hex-tilemap/internals/hex-layout.js +35 -0
  95. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.d.ts +31 -0
  96. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.js +138 -0
  97. package/dist/components/data-display/hex-tilemap/internals/hex-regions.d.ts +6 -0
  98. package/dist/components/data-display/hex-tilemap/internals/hex-regions.js +18 -0
  99. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +24 -0
  100. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.js +19 -0
  101. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.d.ts +2 -0
  102. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.js +51 -0
  103. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.d.ts +2 -0
  104. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.js +36 -0
  105. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.d.ts +3 -0
  106. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +147 -0
  107. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.d.ts +13 -0
  108. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.js +99 -0
  109. package/dist/components/data-display/hex-tilemap/internals/hex-world-grid.d.ts +8 -0
  110. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +27 -0
  111. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +137 -0
  112. package/dist/components/data-display/notch-card/index.d.ts +2 -0
  113. package/dist/components/data-display/notch-card/index.js +6 -0
  114. package/dist/components/data-display/notch-card/notch-card.d.ts +7 -0
  115. package/dist/components/data-display/notch-card/notch-card.js +151 -0
  116. package/dist/components/data-display/notch-card/notch-card.path.d.ts +19 -0
  117. package/dist/components/data-display/notch-card/notch-card.path.js +118 -0
  118. package/dist/components/data-display/notch-card/notch-card.types.d.ts +15 -0
  119. package/dist/components/data-display/notch-card/notch-card.variants.d.ts +15 -0
  120. package/dist/components/data-display/notch-card/notch-card.variants.js +86 -0
  121. package/dist/components/feedback/hover-card/hover-card.d.ts +3 -1
  122. package/dist/components/feedback/hover-card/hover-card.js +28 -24
  123. package/dist/components/feedback/popover/popover.js +1 -1
  124. package/dist/components/feedback/tooltip/button-icon-tooltip.js +8 -6
  125. package/dist/components/feedback/tooltip/overflow-tooltip.d.ts +1 -1
  126. package/dist/components/feedback/tooltip/overflow-tooltip.js +63 -57
  127. package/dist/components/feedback/tooltip/overflow-tooltip.types.d.ts +4 -0
  128. package/dist/components/feedback/tooltip/tab-tooltip-render.js +6 -4
  129. package/dist/components/flows/filter-strip/index.d.ts +1 -0
  130. package/dist/components/flows/filter-strip/index.js +4 -2
  131. package/dist/components/flows/guidance/renderers/guidance-card-shared.js +1 -1
  132. package/dist/components/flows/iris-chat/index.d.ts +10 -0
  133. package/dist/components/flows/iris-chat/index.js +55 -0
  134. package/dist/components/flows/iris-chat/iris-chat-artifact.d.ts +4 -0
  135. package/dist/components/flows/iris-chat/iris-chat-artifact.js +125 -0
  136. package/dist/components/flows/iris-chat/iris-chat-composer.d.ts +3 -0
  137. package/dist/components/flows/iris-chat/iris-chat-composer.js +297 -0
  138. package/dist/components/flows/iris-chat/iris-chat-context.d.ts +14 -0
  139. package/dist/components/flows/iris-chat/iris-chat-context.js +23 -0
  140. package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +18 -0
  141. package/dist/components/flows/iris-chat/iris-chat-icons.js +176 -0
  142. package/dist/components/flows/iris-chat/iris-chat-markdown.d.ts +3 -0
  143. package/dist/components/flows/iris-chat/iris-chat-markdown.js +62 -0
  144. package/dist/components/flows/iris-chat/iris-chat-menu.d.ts +15 -0
  145. package/dist/components/flows/iris-chat/iris-chat-menu.js +259 -0
  146. package/dist/components/flows/iris-chat/iris-chat-prompt.d.ts +3 -0
  147. package/dist/components/flows/iris-chat/iris-chat-prompt.js +46 -0
  148. package/dist/components/flows/iris-chat/iris-chat-thinking.d.ts +12 -0
  149. package/dist/components/flows/iris-chat/iris-chat-thinking.js +202 -0
  150. package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +37 -0
  151. package/dist/components/flows/iris-chat/iris-chat-thread.js +493 -0
  152. package/dist/components/flows/iris-chat/iris-chat.d.ts +43 -0
  153. package/dist/components/flows/iris-chat/iris-chat.js +336 -0
  154. package/dist/components/flows/iris-chat/iris-chat.types.d.ts +208 -0
  155. package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +14 -0
  156. package/dist/components/flows/iris-chat/iris-chat.variants.js +78 -0
  157. package/dist/components/flows/iris-chat/read-iris-greeting-period.d.ts +4 -0
  158. package/dist/components/flows/iris-chat/read-iris-greeting-period.js +16 -0
  159. package/dist/components/flows/wizard/index.d.ts +2 -2
  160. package/dist/components/flows/wizard/index.js +17 -13
  161. package/dist/components/flows/wizard/wizard-context.d.ts +6 -1
  162. package/dist/components/flows/wizard/wizard-context.js +15 -7
  163. package/dist/components/flows/wizard/wizard.d.ts +22 -4
  164. package/dist/components/flows/wizard/wizard.js +278 -174
  165. package/dist/components/flows/wizard/wizard.types.d.ts +40 -0
  166. package/dist/components/forms/choice-card/assets/featured-backdrop-baked.webp.js +4 -0
  167. package/dist/components/forms/choice-card/assets/featured-noise.webp.js +4 -0
  168. package/dist/components/forms/choice-card/choice-card-featured-arcs.d.ts +4 -0
  169. package/dist/components/forms/choice-card/choice-card-featured-arcs.js +42 -0
  170. package/dist/components/forms/choice-card/choice-card-featured-backdrop.d.ts +4 -0
  171. package/dist/components/forms/choice-card/choice-card-featured-backdrop.js +45 -0
  172. package/dist/components/forms/choice-card/choice-card-indicator.variants.d.ts +8 -0
  173. package/dist/components/forms/choice-card/choice-card-indicator.variants.js +5 -0
  174. package/dist/components/forms/choice-card/choice-card-percent.d.ts +11 -0
  175. package/dist/components/forms/choice-card/choice-card-percent.js +80 -0
  176. package/dist/components/forms/choice-card/choice-card.d.ts +40 -3
  177. package/dist/components/forms/choice-card/choice-card.js +651 -170
  178. package/dist/components/forms/choice-card/choice-card.types.d.ts +40 -0
  179. package/dist/components/forms/choice-card/choice-card.variants.d.ts +7 -0
  180. package/dist/components/forms/choice-card/choice-card.variants.js +100 -0
  181. package/dist/components/forms/choice-card/index.d.ts +2 -1
  182. package/dist/components/forms/choice-card/index.js +27 -10
  183. package/dist/components/forms/combobox/combobox.js +1 -1
  184. package/dist/components/layout/breadcrumb/breadcrumb.js +1 -1
  185. package/dist/components/layout/header/header.d.ts +3 -2
  186. package/dist/components/layout/header/header.js +67 -47
  187. package/dist/components/layout/header/header.types.d.ts +1 -0
  188. package/dist/components/primitives/iris/iris-agent-cursor.d.ts +3 -0
  189. package/dist/components/primitives/iris/iris-agent-cursor.js +89 -0
  190. package/dist/components/primitives/iris/iris-alan-gradient-icon.d.ts +5 -0
  191. package/dist/components/primitives/iris/iris-alan-gradient-icon.js +69 -0
  192. package/dist/components/primitives/iris/iris-control-context.d.ts +15 -0
  193. package/dist/components/primitives/iris/iris-control-context.js +44 -0
  194. package/dist/components/primitives/iris/iris-control-region.d.ts +10 -0
  195. package/dist/components/primitives/iris/iris-control-region.js +102 -0
  196. package/dist/components/primitives/iris/iris-control.types.d.ts +24 -0
  197. package/dist/components/primitives/iris/iris-control.variants.d.ts +4 -0
  198. package/dist/components/primitives/iris/iris-control.variants.js +20 -0
  199. package/dist/components/primitives/iris/iris.d.ts +24 -0
  200. package/dist/components/primitives/iris/iris.js +232 -0
  201. package/dist/components/primitives/iris/iris.types.d.ts +35 -0
  202. package/dist/components/primitives/iris/iris.variants.d.ts +30 -0
  203. package/dist/components/primitives/iris/iris.variants.js +120 -0
  204. package/dist/components/primitives/stepper/internals/pipeline-current-mark.d.ts +6 -0
  205. package/dist/components/primitives/stepper/internals/pipeline-current-mark.js +35 -0
  206. package/dist/components/primitives/stepper/internals/rail-status-dot.d.ts +13 -0
  207. package/dist/components/primitives/stepper/internals/rail-status-dot.js +70 -0
  208. package/dist/components/primitives/stepper/internals/step-hit-target.d.ts +15 -0
  209. package/dist/components/primitives/stepper/internals/step-hit-target.js +51 -0
  210. package/dist/components/primitives/stepper/internals/step-model.d.ts +3 -0
  211. package/dist/components/primitives/stepper/internals/step-model.js +10 -0
  212. package/dist/components/primitives/stepper/internals/stepper-compact.d.ts +5 -0
  213. package/dist/components/primitives/stepper/internals/stepper-compact.js +68 -0
  214. package/dist/components/primitives/stepper/internals/stepper-pipeline.d.ts +7 -0
  215. package/dist/components/primitives/stepper/internals/stepper-pipeline.js +87 -0
  216. package/dist/components/primitives/stepper/internals/stepper-rail.d.ts +5 -0
  217. package/dist/components/primitives/stepper/internals/stepper-rail.js +105 -0
  218. package/dist/components/primitives/stepper/internals/stepper-summary.d.ts +5 -0
  219. package/dist/components/primitives/stepper/internals/stepper-summary.js +103 -0
  220. package/dist/components/primitives/stepper/internals/stepper-track.d.ts +8 -0
  221. package/dist/components/primitives/stepper/internals/stepper-track.js +170 -0
  222. package/dist/components/primitives/stepper/stepper.d.ts +1 -0
  223. package/dist/components/primitives/stepper/stepper.js +134 -52
  224. package/dist/components/primitives/stepper/stepper.types.d.ts +17 -0
  225. package/dist/components/primitives/stepper/stepper.variants.d.ts +26 -0
  226. package/dist/components/primitives/stepper/stepper.variants.js +165 -5
  227. package/dist/components/primitives/tabs/tabs.d.ts +4 -1
  228. package/dist/components/primitives/tabs/tabs.js +131 -59
  229. package/dist/components/primitives/tabs/tabs.types.d.ts +5 -1
  230. package/dist/i18n/defaultMessages.d.ts +100 -0
  231. package/dist/i18n/defaultMessages.js +118 -21
  232. package/dist/i18n/index.d.ts +1 -1
  233. package/dist/i18n/locales/de.js +99 -2
  234. package/dist/i18n/locales/es.js +99 -2
  235. package/dist/i18n/locales/hi.js +99 -2
  236. package/dist/i18n/locales/kn.js +99 -2
  237. package/dist/impact-nova-components.css +972 -2
  238. package/dist/impact-nova-tokens.scss +109 -1
  239. package/dist/impact-nova.css +1 -1
  240. package/dist/index.d.ts +1 -1
  241. package/dist/index.js +585 -551
  242. package/dist/lib/virtualized/directional-range-extractor.d.ts +26 -0
  243. package/dist/lib/virtualized/directional-range-extractor.js +39 -0
  244. package/dist/lib/virtualized/index.d.ts +3 -0
  245. package/dist/lib/virtualized/index.js +35 -27
  246. package/dist/lib/virtualized/scroll-seek.d.ts +61 -0
  247. package/dist/lib/virtualized/scroll-seek.js +61 -0
  248. package/dist/lib/virtualized/usePaintedRangeVirtualizer.d.ts +19 -0
  249. package/dist/lib/virtualized/usePaintedRangeVirtualizer.js +30 -0
  250. package/dist/lib/virtualized/useResponsiveColumnCount.d.ts +35 -0
  251. package/dist/lib/virtualized/useResponsiveColumnCount.js +51 -0
  252. package/dist/lib/virtualized/useScrollSeekPaintedRange.d.ts +13 -0
  253. package/dist/lib/virtualized/useScrollSeekPaintedRange.js +45 -0
  254. package/dist/lib/virtualized/useVirtualizedList.d.ts +7 -0
  255. package/dist/lib/virtualized/useVirtualizedList.js +89 -87
  256. package/dist/lib/virtualized/useVirtualizedRows.d.ts +9 -2
  257. package/dist/lib/virtualized/useVirtualizedRows.js +15 -13
  258. package/dist/lib/virtualized/virtualized.types.d.ts +2 -0
  259. package/dist/llms/rules/installation.js +1 -1
  260. package/dist/llms/rules/requirements.js +1 -1
  261. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
  262. package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
  263. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +110 -0
  264. package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
  265. package/dist/node_modules/bail/index.js +7 -0
  266. package/dist/node_modules/ccount/index.js +12 -0
  267. package/dist/node_modules/comma-separated-tokens/index.js +9 -0
  268. package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
  269. package/dist/node_modules/devlop/lib/default.js +8 -0
  270. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
  271. package/dist/node_modules/extend/index.js +43 -0
  272. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
  273. package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
  274. package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
  275. package/dist/node_modules/inline-style-parser/cjs/index.js +93 -0
  276. package/dist/node_modules/is-plain-obj/index.js +9 -0
  277. package/dist/node_modules/longest-streak/index.js +12 -0
  278. package/dist/node_modules/markdown-table/index.js +75 -0
  279. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +78 -0
  280. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +8 -0
  281. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +632 -0
  282. package/dist/node_modules/mdast-util-gfm/lib/index.js +29 -0
  283. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +130 -0
  284. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
  285. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +54 -0
  286. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
  287. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +58 -0
  288. package/dist/node_modules/mdast-util-phrasing/lib/index.js +30 -0
  289. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
  290. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
  291. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
  292. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
  293. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
  294. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
  295. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
  296. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
  297. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
  298. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
  299. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
  300. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
  301. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
  302. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
  303. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
  304. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
  305. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
  306. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
  307. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
  308. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
  309. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
  310. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
  311. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
  312. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
  313. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
  314. package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
  315. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
  316. package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
  317. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +15 -0
  318. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +15 -0
  319. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +44 -0
  320. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +34 -0
  321. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +20 -0
  322. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +35 -0
  323. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +10 -0
  324. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +29 -0
  325. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +33 -0
  326. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +44 -0
  327. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +22 -0
  328. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +29 -0
  329. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +52 -0
  330. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +22 -0
  331. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +35 -0
  332. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
  333. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +11 -0
  334. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +20 -0
  335. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +11 -0
  336. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +9 -0
  337. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +11 -0
  338. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +18 -0
  339. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +11 -0
  340. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +11 -0
  341. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +11 -0
  342. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +11 -0
  343. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +11 -0
  344. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +11 -0
  345. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +11 -0
  346. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +11 -0
  347. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +6 -0
  348. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +9 -0
  349. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +13 -0
  350. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +15 -0
  351. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +15 -0
  352. package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
  353. package/dist/node_modules/micromark/lib/constructs.js +85 -0
  354. package/dist/node_modules/micromark/lib/create-tokenizer.js +225 -0
  355. package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
  356. package/dist/node_modules/micromark/lib/initialize/document.js +128 -0
  357. package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
  358. package/dist/node_modules/micromark/lib/initialize/text.js +98 -0
  359. package/dist/node_modules/micromark/lib/parse.js +32 -0
  360. package/dist/node_modules/micromark/lib/postprocess.js +9 -0
  361. package/dist/node_modules/micromark/lib/preprocess.js +44 -0
  362. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +87 -0
  363. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
  364. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
  365. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
  366. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
  367. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
  368. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +82 -0
  369. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +37 -0
  370. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
  371. package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
  372. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
  373. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
  374. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +50 -0
  375. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +132 -0
  376. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
  377. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +154 -0
  378. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
  379. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
  380. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
  381. package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
  382. package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +17 -0
  383. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
  384. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
  385. package/dist/node_modules/micromark-extension-gfm/index.js +18 -0
  386. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +193 -0
  387. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +192 -0
  388. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +67 -0
  389. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +75 -0
  390. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +23 -0
  391. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +149 -0
  392. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +45 -0
  393. package/dist/node_modules/micromark-factory-destination/index.js +31 -0
  394. package/dist/node_modules/micromark-factory-label/index.js +28 -0
  395. package/dist/node_modules/micromark-factory-space/index.js +29 -0
  396. package/dist/node_modules/micromark-factory-title/index.js +26 -0
  397. package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
  398. package/dist/node_modules/micromark-util-character/index.js +39 -0
  399. package/dist/node_modules/micromark-util-chunked/index.js +16 -0
  400. package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
  401. package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
  402. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
  403. package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
  404. package/dist/node_modules/micromark-util-edit-map/index.js +82 -0
  405. package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
  406. package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
  407. package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
  408. package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
  409. package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
  410. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
  411. package/dist/node_modules/property-information/index.js +12 -0
  412. package/dist/node_modules/property-information/lib/aria.js +61 -0
  413. package/dist/node_modules/property-information/lib/find.js +33 -0
  414. package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
  415. package/dist/node_modules/property-information/lib/html.js +378 -0
  416. package/dist/node_modules/property-information/lib/normalize.js +6 -0
  417. package/dist/node_modules/property-information/lib/svg.js +568 -0
  418. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  419. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  420. package/dist/node_modules/property-information/lib/util/create.js +19 -0
  421. package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
  422. package/dist/node_modules/property-information/lib/util/info.js +28 -0
  423. package/dist/node_modules/property-information/lib/util/merge.js +10 -0
  424. package/dist/node_modules/property-information/lib/util/schema.js +21 -0
  425. package/dist/node_modules/property-information/lib/util/types.js +14 -0
  426. package/dist/node_modules/property-information/lib/xlink.js +19 -0
  427. package/dist/node_modules/property-information/lib/xml.js +11 -0
  428. package/dist/node_modules/property-information/lib/xmlns.js +11 -0
  429. package/dist/node_modules/react-markdown/lib/index.js +102 -0
  430. package/dist/node_modules/remark-gfm/lib/index.js +13 -0
  431. package/dist/node_modules/remark-parse/lib/index.js +19 -0
  432. package/dist/node_modules/remark-rehype/lib/index.js +18 -0
  433. package/dist/node_modules/space-separated-tokens/index.js +6 -0
  434. package/dist/node_modules/style-to-js/cjs/index.js +20 -0
  435. package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
  436. package/dist/node_modules/style-to-object/cjs/index.js +28 -0
  437. package/dist/node_modules/trim-lines/index.js +28 -0
  438. package/dist/node_modules/trough/lib/index.js +60 -0
  439. package/dist/node_modules/unified/lib/callable-instance.js +25 -0
  440. package/dist/node_modules/unified/lib/index.js +529 -0
  441. package/dist/node_modules/unist-util-is/lib/index.js +91 -0
  442. package/dist/node_modules/unist-util-position/lib/index.js +23 -0
  443. package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
  444. package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
  445. package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
  446. package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
  447. package/dist/node_modules/vfile/lib/index.js +406 -0
  448. package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
  449. package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
  450. package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
  451. package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
  452. package/dist/node_modules/vfile-message/lib/index.js +91 -0
  453. package/dist/providers/app-providers.js +13 -11
  454. package/dist/tailwind.config.js +3 -1
  455. package/dist/theme/tailwind-colors.js +2 -1
  456. package/package.json +39 -4
@@ -0,0 +1,102 @@
1
+ import { factorySpace as R } from "../../micromark-factory-space/index.js";
2
+ import { asciiAlpha as A, markdownLineEnding as m, asciiAlphanumeric as w, markdownSpace as g, markdownLineEndingOrSpace as D } from "../../micromark-util-character/index.js";
3
+ const Z = {
4
+ name: "htmlText",
5
+ tokenize: W
6
+ };
7
+ function W(r, q, u) {
8
+ const v = this;
9
+ let h, O, t;
10
+ return y;
11
+ function y(n) {
12
+ return r.enter("htmlText"), r.enter("htmlTextData"), r.consume(n), H;
13
+ }
14
+ function H(n) {
15
+ return n === 33 ? (r.consume(n), U) : n === 47 ? (r.consume(n), J) : n === 63 ? (r.consume(n), s) : A(n) ? (r.consume(n), L) : u(n);
16
+ }
17
+ function U(n) {
18
+ return n === 45 ? (r.consume(n), j) : n === 91 ? (r.consume(n), O = 0, V) : A(n) ? (r.consume(n), e) : u(n);
19
+ }
20
+ function j(n) {
21
+ return n === 45 ? (r.consume(n), B) : u(n);
22
+ }
23
+ function x(n) {
24
+ return n === null ? u(n) : n === 45 ? (r.consume(n), S) : m(n) ? (t = x, i(n)) : (r.consume(n), x);
25
+ }
26
+ function S(n) {
27
+ return n === 45 ? (r.consume(n), B) : x(n);
28
+ }
29
+ function B(n) {
30
+ return n === 62 ? a(n) : n === 45 ? S(n) : x(n);
31
+ }
32
+ function V(n) {
33
+ const f = "CDATA[";
34
+ return n === f.charCodeAt(O++) ? (r.consume(n), O === f.length ? p : V) : u(n);
35
+ }
36
+ function p(n) {
37
+ return n === null ? u(n) : n === 93 ? (r.consume(n), F) : m(n) ? (t = p, i(n)) : (r.consume(n), p);
38
+ }
39
+ function F(n) {
40
+ return n === 93 ? (r.consume(n), I) : p(n);
41
+ }
42
+ function I(n) {
43
+ return n === 62 ? a(n) : n === 93 ? (r.consume(n), I) : p(n);
44
+ }
45
+ function e(n) {
46
+ return n === null || n === 62 ? a(n) : m(n) ? (t = e, i(n)) : (r.consume(n), e);
47
+ }
48
+ function s(n) {
49
+ return n === null ? u(n) : n === 63 ? (r.consume(n), G) : m(n) ? (t = s, i(n)) : (r.consume(n), s);
50
+ }
51
+ function G(n) {
52
+ return n === 62 ? a(n) : s(n);
53
+ }
54
+ function J(n) {
55
+ return A(n) ? (r.consume(n), z) : u(n);
56
+ }
57
+ function z(n) {
58
+ return n === 45 || w(n) ? (r.consume(n), z) : T(n);
59
+ }
60
+ function T(n) {
61
+ return m(n) ? (t = T, i(n)) : g(n) ? (r.consume(n), T) : a(n);
62
+ }
63
+ function L(n) {
64
+ return n === 45 || w(n) ? (r.consume(n), L) : n === 47 || n === 62 || D(n) ? l(n) : u(n);
65
+ }
66
+ function l(n) {
67
+ return n === 47 ? (r.consume(n), a) : n === 58 || n === 95 || A(n) ? (r.consume(n), N) : m(n) ? (t = l, i(n)) : g(n) ? (r.consume(n), l) : a(n);
68
+ }
69
+ function N(n) {
70
+ return n === 45 || n === 46 || n === 58 || n === 95 || w(n) ? (r.consume(n), N) : E(n);
71
+ }
72
+ function E(n) {
73
+ return n === 61 ? (r.consume(n), C) : m(n) ? (t = E, i(n)) : g(n) ? (r.consume(n), E) : l(n);
74
+ }
75
+ function C(n) {
76
+ return n === null || n === 60 || n === 61 || n === 62 || n === 96 ? u(n) : n === 34 || n === 39 ? (r.consume(n), h = n, b) : m(n) ? (t = C, i(n)) : g(n) ? (r.consume(n), C) : (r.consume(n), P);
77
+ }
78
+ function b(n) {
79
+ return n === h ? (r.consume(n), h = void 0, K) : n === null ? u(n) : m(n) ? (t = b, i(n)) : (r.consume(n), b);
80
+ }
81
+ function P(n) {
82
+ return n === null || n === 34 || n === 39 || n === 60 || n === 61 || n === 96 ? u(n) : n === 47 || n === 62 || D(n) ? l(n) : (r.consume(n), P);
83
+ }
84
+ function K(n) {
85
+ return n === 47 || n === 62 || D(n) ? l(n) : u(n);
86
+ }
87
+ function a(n) {
88
+ return n === 62 ? (r.consume(n), r.exit("htmlTextData"), r.exit("htmlText"), q) : u(n);
89
+ }
90
+ function i(n) {
91
+ return r.exit("htmlTextData"), r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), M;
92
+ }
93
+ function M(n) {
94
+ return g(n) ? R(r, Q, "linePrefix", v.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n) : Q(n);
95
+ }
96
+ function Q(n) {
97
+ return r.enter("htmlTextData"), t(n);
98
+ }
99
+ }
100
+ export {
101
+ Z as htmlText
102
+ };
@@ -0,0 +1,154 @@
1
+ import { factoryDestination as d } from "../../micromark-factory-destination/index.js";
2
+ import { factoryLabel as h } from "../../micromark-factory-label/index.js";
3
+ import { factoryTitle as M } from "../../micromark-factory-title/index.js";
4
+ import { factoryWhitespace as k } from "../../micromark-factory-whitespace/index.js";
5
+ import { markdownLineEndingOrSpace as m } from "../../micromark-util-character/index.js";
6
+ import { push as b, splice as g } from "../../micromark-util-chunked/index.js";
7
+ import { normalizeIdentifier as y } from "../../micromark-util-normalize-identifier/index.js";
8
+ import { resolveAll as E } from "../../micromark-util-resolve-all/index.js";
9
+ const j = {
10
+ name: "labelEnd",
11
+ resolveAll: x,
12
+ resolveTo: w,
13
+ tokenize: D
14
+ }, L = {
15
+ tokenize: T
16
+ }, S = {
17
+ tokenize: C
18
+ }, z = {
19
+ tokenize: _
20
+ };
21
+ function x(e) {
22
+ let o = -1;
23
+ const a = [];
24
+ for (; ++o < e.length; ) {
25
+ const t = e[o][1];
26
+ if (a.push(e[o]), t.type === "labelImage" || t.type === "labelLink" || t.type === "labelEnd") {
27
+ const n = t.type === "labelImage" ? 4 : 2;
28
+ t.type = "data", o += n;
29
+ }
30
+ }
31
+ return e.length !== a.length && g(e, 0, e.length, a), e;
32
+ }
33
+ function w(e, o) {
34
+ let a = e.length, t = 0, n, i, l;
35
+ for (; a--; ) {
36
+ const u = e[a][1];
37
+ if (n) {
38
+ if (u.type === "link" || u.type === "labelLink" && u._inactive)
39
+ break;
40
+ e[a][0] === "enter" && u.type === "labelLink" && (u._inactive = !0);
41
+ } else if (i) {
42
+ if (e[a][0] === "enter" && (u.type === "labelImage" || u.type === "labelLink") && !u._balanced && (n = a, u.type !== "labelLink")) {
43
+ t = 2;
44
+ break;
45
+ }
46
+ } else u.type === "labelEnd" && (i = a);
47
+ }
48
+ const s = {
49
+ type: e[n][1].type === "labelLink" ? "link" : "image",
50
+ start: {
51
+ ...e[n][1].start
52
+ },
53
+ end: {
54
+ ...e[e.length - 1][1].end
55
+ }
56
+ }, p = {
57
+ type: "label",
58
+ start: {
59
+ ...e[n][1].start
60
+ },
61
+ end: {
62
+ ...e[i][1].end
63
+ }
64
+ }, f = {
65
+ type: "labelText",
66
+ start: {
67
+ ...e[n + t + 2][1].end
68
+ },
69
+ end: {
70
+ ...e[i - 2][1].start
71
+ }
72
+ };
73
+ return l = [["enter", s, o], ["enter", p, o]], l = b(l, e.slice(n + 1, n + t + 3)), l = b(l, [["enter", f, o]]), l = b(l, E(o.parser.constructs.insideSpan.null, e.slice(n + t + 4, i - 3), o)), l = b(l, [["exit", f, o], e[i - 2], e[i - 1], ["exit", p, o]]), l = b(l, e.slice(i + 1)), l = b(l, [["exit", s, o]]), g(e, n, e.length, l), e;
74
+ }
75
+ function D(e, o, a) {
76
+ const t = this, n = t._labelStarts;
77
+ let i, l;
78
+ if (n) {
79
+ for (; n.length > 0 && n[n.length - 1]._balanced; )
80
+ n.pop();
81
+ i = n[n.length - 1];
82
+ }
83
+ return s;
84
+ function s(c) {
85
+ return i ? i._inactive ? r(c) : (l = t.parser.defined.includes(y(t.sliceSerialize({
86
+ start: i.end,
87
+ end: t.now()
88
+ }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(c), e.exit("labelMarker"), e.exit("labelEnd"), p) : a(c);
89
+ }
90
+ function p(c) {
91
+ return c === 40 ? e.attempt(L, u, l ? u : r)(c) : c === 91 ? e.attempt(S, u, l ? f : r)(c) : l ? u(c) : r(c);
92
+ }
93
+ function f(c) {
94
+ return e.attempt(z, u, r)(c);
95
+ }
96
+ function u(c) {
97
+ return n.pop(), o(c);
98
+ }
99
+ function r(c) {
100
+ return i._balanced = !0, a(c);
101
+ }
102
+ }
103
+ function T(e, o, a) {
104
+ return t;
105
+ function t(r) {
106
+ return e.enter("resource"), e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), n;
107
+ }
108
+ function n(r) {
109
+ return m(r) ? k(e, i)(r) : i(r);
110
+ }
111
+ function i(r) {
112
+ return r === 41 ? u(r) : d(e, l, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(r);
113
+ }
114
+ function l(r) {
115
+ return m(r) ? k(e, p)(r) : u(r);
116
+ }
117
+ function s(r) {
118
+ return a(r);
119
+ }
120
+ function p(r) {
121
+ return r === 34 || r === 39 || r === 40 ? M(e, f, a, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(r) : u(r);
122
+ }
123
+ function f(r) {
124
+ return m(r) ? k(e, u)(r) : u(r);
125
+ }
126
+ function u(r) {
127
+ return r === 41 ? (e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), e.exit("resource"), o) : a(r);
128
+ }
129
+ }
130
+ function C(e, o, a) {
131
+ const t = this;
132
+ return n;
133
+ function n(s) {
134
+ return h.call(t, e, i, l, "reference", "referenceMarker", "referenceString")(s);
135
+ }
136
+ function i(s) {
137
+ return t.parser.defined.includes(y(t.sliceSerialize(t.events[t.events.length - 1][1]).slice(1, -1))) ? o(s) : a(s);
138
+ }
139
+ function l(s) {
140
+ return a(s);
141
+ }
142
+ }
143
+ function _(e, o, a) {
144
+ return t;
145
+ function t(i) {
146
+ return e.enter("reference"), e.enter("referenceMarker"), e.consume(i), e.exit("referenceMarker"), n;
147
+ }
148
+ function n(i) {
149
+ return i === 93 ? (e.enter("referenceMarker"), e.consume(i), e.exit("referenceMarker"), e.exit("reference"), o) : a(i);
150
+ }
151
+ }
152
+ export {
153
+ j as labelEnd
154
+ };
@@ -0,0 +1,23 @@
1
+ import { labelEnd as b } from "./label-end.js";
2
+ const g = {
3
+ name: "labelStartImage",
4
+ resolveAll: b.resolveAll,
5
+ tokenize: m
6
+ };
7
+ function m(r, n, a) {
8
+ const t = this;
9
+ let l;
10
+ return o;
11
+ function o(e) {
12
+ return r.enter("labelImage"), r.enter("labelImageMarker"), r.consume(e), r.exit("labelImageMarker"), i;
13
+ }
14
+ function i(e) {
15
+ return e === 91 ? (r.enter("labelMarker"), r.consume(e), r.exit("labelMarker"), l = r.exit("labelImage"), u) : a(e);
16
+ }
17
+ function u(e) {
18
+ return e === 94 && "_hiddenFootnoteSupport" in t.parser.constructs ? a(e) : (t._labelStarts = t._labelStarts || [], t._labelStarts.push(l), n(e));
19
+ }
20
+ }
21
+ export {
22
+ g as labelStartImage
23
+ };
@@ -0,0 +1,20 @@
1
+ import { labelEnd as b } from "./label-end.js";
2
+ const k = {
3
+ name: "labelStartLink",
4
+ resolveAll: b.resolveAll,
5
+ tokenize: s
6
+ };
7
+ function s(t, n, a) {
8
+ const l = this;
9
+ let r;
10
+ return i;
11
+ function i(e) {
12
+ return t.enter("labelLink"), t.enter("labelMarker"), t.consume(e), t.exit("labelMarker"), r = t.exit("labelLink"), o;
13
+ }
14
+ function o(e) {
15
+ return e === 94 && "_hiddenFootnoteSupport" in l.parser.constructs ? a(e) : (l._labelStarts = l._labelStarts || [], l._labelStarts.push(r), n(e));
16
+ }
17
+ }
18
+ export {
19
+ k as labelStartLink
20
+ };
@@ -0,0 +1,14 @@
1
+ import { factorySpace as t } from "../../micromark-factory-space/index.js";
2
+ const g = {
3
+ name: "lineEnding",
4
+ tokenize: o
5
+ };
6
+ function o(n, i) {
7
+ return e;
8
+ function e(r) {
9
+ return n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), t(n, i, "linePrefix");
10
+ }
11
+ }
12
+ export {
13
+ g as lineEnding
14
+ };
@@ -0,0 +1,90 @@
1
+ import { factorySpace as c } from "../../micromark-factory-space/index.js";
2
+ import { asciiDigit as h, markdownSpace as k } from "../../micromark-util-character/index.js";
3
+ import { blankLine as f } from "./blank-line.js";
4
+ import { thematicBreak as d } from "./thematic-break.js";
5
+ const z = {
6
+ continuation: {
7
+ tokenize: y
8
+ },
9
+ exit: v,
10
+ name: "list",
11
+ tokenize: B
12
+ }, P = {
13
+ partial: !0,
14
+ tokenize: W
15
+ }, L = {
16
+ partial: !0,
17
+ tokenize: g
18
+ };
19
+ function B(n, u, r) {
20
+ const t = this, l = t.events[t.events.length - 1];
21
+ let a = l && l[1].type === "linePrefix" ? l[2].sliceSerialize(l[1], !0).length : 0, i = 0;
22
+ return s;
23
+ function s(e) {
24
+ const o = t.containerState.type || (e === 42 || e === 43 || e === 45 ? "listUnordered" : "listOrdered");
25
+ if (o === "listUnordered" ? !t.containerState.marker || e === t.containerState.marker : h(e)) {
26
+ if (t.containerState.type || (t.containerState.type = o, n.enter(o, {
27
+ _container: !0
28
+ })), o === "listUnordered")
29
+ return n.enter("listItemPrefix"), e === 42 || e === 45 ? n.check(d, r, m)(e) : m(e);
30
+ if (!t.interrupt || e === 49)
31
+ return n.enter("listItemPrefix"), n.enter("listItemValue"), p(e);
32
+ }
33
+ return r(e);
34
+ }
35
+ function p(e) {
36
+ return h(e) && ++i < 10 ? (n.consume(e), p) : (!t.interrupt || i < 2) && (t.containerState.marker ? e === t.containerState.marker : e === 41 || e === 46) ? (n.exit("listItemValue"), m(e)) : r(e);
37
+ }
38
+ function m(e) {
39
+ return n.enter("listItemMarker"), n.consume(e), n.exit("listItemMarker"), t.containerState.marker = t.containerState.marker || e, n.check(
40
+ f,
41
+ // Can’t be empty when interrupting.
42
+ t.interrupt ? r : I,
43
+ n.attempt(P, S, x)
44
+ );
45
+ }
46
+ function I(e) {
47
+ return t.containerState.initialBlankLine = !0, a++, S(e);
48
+ }
49
+ function x(e) {
50
+ return k(e) ? (n.enter("listItemPrefixWhitespace"), n.consume(e), n.exit("listItemPrefixWhitespace"), S) : r(e);
51
+ }
52
+ function S(e) {
53
+ return t.containerState.size = a + t.sliceSerialize(n.exit("listItemPrefix"), !0).length, u(e);
54
+ }
55
+ }
56
+ function y(n, u, r) {
57
+ const t = this;
58
+ return t.containerState._closeFlow = void 0, n.check(f, l, a);
59
+ function l(s) {
60
+ return t.containerState.furtherBlankLines = t.containerState.furtherBlankLines || t.containerState.initialBlankLine, c(n, u, "listItemIndent", t.containerState.size + 1)(s);
61
+ }
62
+ function a(s) {
63
+ return t.containerState.furtherBlankLines || !k(s) ? (t.containerState.furtherBlankLines = void 0, t.containerState.initialBlankLine = void 0, i(s)) : (t.containerState.furtherBlankLines = void 0, t.containerState.initialBlankLine = void 0, n.attempt(L, u, i)(s));
64
+ }
65
+ function i(s) {
66
+ return t.containerState._closeFlow = !0, t.interrupt = void 0, c(n, n.attempt(z, u, r), "linePrefix", t.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s);
67
+ }
68
+ }
69
+ function g(n, u, r) {
70
+ const t = this;
71
+ return c(n, l, "listItemIndent", t.containerState.size + 1);
72
+ function l(a) {
73
+ const i = t.events[t.events.length - 1];
74
+ return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === t.containerState.size ? u(a) : r(a);
75
+ }
76
+ }
77
+ function v(n) {
78
+ n.exit(this.containerState.type);
79
+ }
80
+ function W(n, u, r) {
81
+ const t = this;
82
+ return c(n, l, "listItemPrefixWhitespace", t.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
83
+ function l(a) {
84
+ const i = t.events[t.events.length - 1];
85
+ return !k(a) && i && i[1].type === "listItemPrefixWhitespace" ? u(a) : r(a);
86
+ }
87
+ }
88
+ export {
89
+ z as list
90
+ };
@@ -0,0 +1,17 @@
1
+ const l = {
2
+ partial: !0,
3
+ tokenize: a
4
+ };
5
+ function a(t, e, i) {
6
+ const r = this;
7
+ return o;
8
+ function o(n) {
9
+ return n === null ? i(n) : (t.enter("lineEnding"), t.consume(n), t.exit("lineEnding"), u);
10
+ }
11
+ function u(n) {
12
+ return r.parser.lazy[r.now().line] ? i(n) : e(n);
13
+ }
14
+ }
15
+ export {
16
+ l as nonLazyContinuation
17
+ };
@@ -0,0 +1,59 @@
1
+ import { factorySpace as f } from "../../micromark-factory-space/index.js";
2
+ import { markdownSpace as g, markdownLineEnding as m } from "../../micromark-util-character/index.js";
3
+ import { EditMap as y } from "../../micromark-util-edit-map/index.js";
4
+ const H = {
5
+ name: "setextUnderline",
6
+ resolveTo: h,
7
+ tokenize: s
8
+ };
9
+ function h(e, p) {
10
+ const i = new y();
11
+ let t = e.length, r, d, a;
12
+ for (; t--; )
13
+ if (e[t][0] === "enter") {
14
+ if (e[t][1].type === "content") {
15
+ r = t;
16
+ break;
17
+ }
18
+ e[t][1].type === "paragraph" && (d = t);
19
+ } else
20
+ e[t][1].type === "content" && i.add(t, 1, []), !a && e[t][1].type === "definition" && (a = t);
21
+ const l = {
22
+ type: "setextHeading",
23
+ start: {
24
+ ...e[r][1].start
25
+ },
26
+ end: {
27
+ ...e[e.length - 1][1].end
28
+ }
29
+ };
30
+ return e[d][1].type = "setextHeadingText", a ? (i.add(d, 0, [["enter", l, p]]), i.add(a + 1, 0, [["exit", e[r][1], p]]), e[r][1].end = {
31
+ ...e[a][1].end
32
+ }) : e[r][1] = l, i.add(e.length, 0, [["exit", l, p]]), i.consume(e), e;
33
+ }
34
+ function s(e, p, i) {
35
+ const t = this;
36
+ let r;
37
+ return d;
38
+ function d(n) {
39
+ let o = t.events.length, x;
40
+ for (; o--; )
41
+ if (t.events[o][1].type !== "lineEnding" && t.events[o][1].type !== "linePrefix" && t.events[o][1].type !== "content") {
42
+ x = t.events[o][1].type === "paragraph";
43
+ break;
44
+ }
45
+ return !t.parser.lazy[t.now().line] && (t.interrupt || x) ? (e.enter("setextHeadingLine"), r = n, a(n)) : i(n);
46
+ }
47
+ function a(n) {
48
+ return e.enter("setextHeadingLineSequence"), l(n);
49
+ }
50
+ function l(n) {
51
+ return n === r ? (e.consume(n), l) : (e.exit("setextHeadingLineSequence"), g(n) ? f(e, u, "lineSuffix")(n) : u(n));
52
+ }
53
+ function u(n) {
54
+ return n === null || m(n) ? (e.exit("setextHeadingLine"), p(n)) : i(n);
55
+ }
56
+ }
57
+ export {
58
+ H as setextUnderline
59
+ };
@@ -0,0 +1,25 @@
1
+ import { factorySpace as o } from "../../micromark-factory-space/index.js";
2
+ import { markdownSpace as B, markdownLineEnding as c } from "../../micromark-util-character/index.js";
3
+ const q = {
4
+ name: "thematicBreak",
5
+ tokenize: p
6
+ };
7
+ function p(t, u, m) {
8
+ let a = 0, e;
9
+ return k;
10
+ function k(r) {
11
+ return t.enter("thematicBreak"), h(r);
12
+ }
13
+ function h(r) {
14
+ return e = r, n(r);
15
+ }
16
+ function n(r) {
17
+ return r === e ? (t.enter("thematicBreakSequence"), i(r)) : a >= 3 && (r === null || c(r)) ? (t.exit("thematicBreak"), u(r)) : m(r);
18
+ }
19
+ function i(r) {
20
+ return r === e ? (t.consume(r), a++, i) : (t.exit("thematicBreakSequence"), B(r) ? o(t, n, "whitespace")(r) : n(r));
21
+ }
22
+ }
23
+ export {
24
+ q as thematicBreak
25
+ };
@@ -0,0 +1,18 @@
1
+ import { combineExtensions as m } from "../micromark-util-combine-extensions/index.js";
2
+ import { gfmAutolinkLiteral as r } from "../micromark-extension-gfm-autolink-literal/lib/syntax.js";
3
+ import { gfmFootnote as t } from "../micromark-extension-gfm-footnote/lib/syntax.js";
4
+ import { gfmStrikethrough as f } from "../micromark-extension-gfm-strikethrough/lib/syntax.js";
5
+ import { gfmTable as i } from "../micromark-extension-gfm-table/lib/syntax.js";
6
+ import { gfmTaskListItem as e } from "../micromark-extension-gfm-task-list-item/lib/syntax.js";
7
+ function k(o) {
8
+ return m([
9
+ r(),
10
+ t(),
11
+ f(o),
12
+ i(),
13
+ e()
14
+ ]);
15
+ }
16
+ export {
17
+ k as gfm
18
+ };