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,43 @@
1
+ import { asciiAlpha as z, asciiAlphanumeric as a, asciiControl as E, asciiAtext as O } from "../../micromark-util-character/index.js";
2
+ const b = {
3
+ name: "autolink",
4
+ tokenize: P
5
+ };
6
+ function P(r, l, t) {
7
+ let i = 0;
8
+ return p;
9
+ function p(n) {
10
+ return r.enter("autolink"), r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.enter("autolinkProtocol"), M;
11
+ }
12
+ function M(n) {
13
+ return z(n) ? (r.consume(n), h) : n === 64 ? t(n) : u(n);
14
+ }
15
+ function h(n) {
16
+ return n === 43 || n === 45 || n === 46 || a(n) ? (i = 1, m(n)) : u(n);
17
+ }
18
+ function m(n) {
19
+ return n === 58 ? (r.consume(n), i = 0, k) : (n === 43 || n === 45 || n === 46 || a(n)) && i++ < 32 ? (r.consume(n), m) : (i = 0, u(n));
20
+ }
21
+ function k(n) {
22
+ return n === 62 ? (r.exit("autolinkProtocol"), r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.exit("autolink"), l) : n === null || n === 32 || n === 60 || E(n) ? t(n) : (r.consume(n), k);
23
+ }
24
+ function u(n) {
25
+ return n === 64 ? (r.consume(n), o) : O(n) ? (r.consume(n), u) : t(n);
26
+ }
27
+ function o(n) {
28
+ return a(n) ? x(n) : t(n);
29
+ }
30
+ function x(n) {
31
+ return n === 46 ? (r.consume(n), i = 0, o) : n === 62 ? (r.exit("autolinkProtocol").type = "autolinkEmail", r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.exit("autolink"), l) : A(n);
32
+ }
33
+ function A(n) {
34
+ if ((n === 45 || a(n)) && i++ < 63) {
35
+ const e = n === 45 ? A : x;
36
+ return r.consume(n), e;
37
+ }
38
+ return t(n);
39
+ }
40
+ }
41
+ export {
42
+ b as autolink
43
+ };
@@ -0,0 +1,18 @@
1
+ import { factorySpace as o } from "../../micromark-factory-space/index.js";
2
+ import { markdownSpace as f, markdownLineEnding as u } from "../../micromark-util-character/index.js";
3
+ const p = {
4
+ partial: !0,
5
+ tokenize: k
6
+ };
7
+ function k(t, i, e) {
8
+ return a;
9
+ function a(n) {
10
+ return f(n) ? o(t, r, "linePrefix")(n) : r(n);
11
+ }
12
+ function r(n) {
13
+ return n === null || u(n) ? i(n) : e(n);
14
+ }
15
+ }
16
+ export {
17
+ p as blankLine
18
+ };
@@ -0,0 +1,42 @@
1
+ import { factorySpace as l } from "../../micromark-factory-space/index.js";
2
+ import { markdownSpace as a } from "../../micromark-util-character/index.js";
3
+ const k = {
4
+ continuation: {
5
+ tokenize: Q
6
+ },
7
+ exit: b,
8
+ name: "blockQuote",
9
+ tokenize: x
10
+ };
11
+ function x(t, e, r) {
12
+ const i = this;
13
+ return u;
14
+ function u(n) {
15
+ if (n === 62) {
16
+ const c = i.containerState;
17
+ return c.open || (t.enter("blockQuote", {
18
+ _container: !0
19
+ }), c.open = !0), t.enter("blockQuotePrefix"), t.enter("blockQuoteMarker"), t.consume(n), t.exit("blockQuoteMarker"), o;
20
+ }
21
+ return r(n);
22
+ }
23
+ function o(n) {
24
+ return a(n) ? (t.enter("blockQuotePrefixWhitespace"), t.consume(n), t.exit("blockQuotePrefixWhitespace"), t.exit("blockQuotePrefix"), e) : (t.exit("blockQuotePrefix"), e(n));
25
+ }
26
+ }
27
+ function Q(t, e, r) {
28
+ const i = this;
29
+ return u;
30
+ function u(n) {
31
+ return a(n) ? l(t, o, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n) : o(n);
32
+ }
33
+ function o(n) {
34
+ return t.attempt(k, e, r)(n);
35
+ }
36
+ }
37
+ function b(t) {
38
+ t.exit("blockQuote");
39
+ }
40
+ export {
41
+ k as blockQuote
42
+ };
@@ -0,0 +1,17 @@
1
+ import { asciiPunctuation as i } from "../../micromark-util-character/index.js";
2
+ const o = {
3
+ name: "characterEscape",
4
+ tokenize: u
5
+ };
6
+ function u(r, e, n) {
7
+ return t;
8
+ function t(a) {
9
+ return r.enter("characterEscape"), r.enter("escapeMarker"), r.consume(a), r.exit("escapeMarker"), c;
10
+ }
11
+ function c(a) {
12
+ return i(a) ? (r.enter("characterEscapeValue"), r.consume(a), r.exit("characterEscapeValue"), r.exit("characterEscape"), e) : n(a);
13
+ }
14
+ }
15
+ export {
16
+ o as characterEscape
17
+ };
@@ -0,0 +1,30 @@
1
+ import { decodeNamedCharacterReference as k } from "../../decode-named-character-reference/index.dom.js";
2
+ import { asciiAlphanumeric as u, asciiHexDigit as M, asciiDigit as p } from "../../micromark-util-character/index.js";
3
+ const N = {
4
+ name: "characterReference",
5
+ tokenize: z
6
+ };
7
+ function z(e, h, t) {
8
+ const m = this;
9
+ let i = 0, n, a;
10
+ return R;
11
+ function R(r) {
12
+ return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(r), e.exit("characterReferenceMarker"), l;
13
+ }
14
+ function l(r) {
15
+ return r === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(r), e.exit("characterReferenceMarkerNumeric"), o) : (e.enter("characterReferenceValue"), n = 31, a = u, c(r));
16
+ }
17
+ function o(r) {
18
+ return r === 88 || r === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(r), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), n = 6, a = M, c) : (e.enter("characterReferenceValue"), n = 7, a = p, c(r));
19
+ }
20
+ function c(r) {
21
+ if (r === 59 && i) {
22
+ const x = e.exit("characterReferenceValue");
23
+ return a === u && !k(m.sliceSerialize(x)) ? t(r) : (e.enter("characterReferenceMarker"), e.consume(r), e.exit("characterReferenceMarker"), e.exit("characterReference"), h);
24
+ }
25
+ return a(r) && i++ < n ? (e.consume(r), c) : t(r);
26
+ }
27
+ }
28
+ export {
29
+ N as characterReference
30
+ };
@@ -0,0 +1,82 @@
1
+ import { factorySpace as o } from "../../micromark-factory-space/index.js";
2
+ import { markdownSpace as a, markdownLineEnding as t } from "../../micromark-util-character/index.js";
3
+ import { nonLazyContinuation as b } from "./partial-non-lazy-continuation.js";
4
+ const G = {
5
+ concrete: !0,
6
+ name: "codeFenced",
7
+ tokenize: N
8
+ };
9
+ function N(e, g, c) {
10
+ const F = this, I = {
11
+ partial: !0,
12
+ tokenize: T
13
+ };
14
+ let m = 0, p = 0, i;
15
+ return P;
16
+ function P(n) {
17
+ return L(n);
18
+ }
19
+ function L(n) {
20
+ const u = F.events[F.events.length - 1];
21
+ return m = u && u[1].type === "linePrefix" ? u[2].sliceSerialize(u[1], !0).length : 0, i = n, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), k(n);
22
+ }
23
+ function k(n) {
24
+ return n === i ? (p++, e.consume(n), k) : p < 3 ? c(n) : (e.exit("codeFencedFenceSequence"), a(n) ? o(e, l, "whitespace")(n) : l(n));
25
+ }
26
+ function l(n) {
27
+ return n === null || t(n) ? (e.exit("codeFencedFence"), F.interrupt ? g(n) : e.check(b, C, S)(n)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
28
+ contentType: "string"
29
+ }), q(n));
30
+ }
31
+ function q(n) {
32
+ return n === null || t(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), l(n)) : a(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), o(e, O, "whitespace")(n)) : n === 96 && n === i ? c(n) : (e.consume(n), q);
33
+ }
34
+ function O(n) {
35
+ return n === null || t(n) ? l(n) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
36
+ contentType: "string"
37
+ }), z(n));
38
+ }
39
+ function z(n) {
40
+ return n === null || t(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), l(n)) : n === 96 && n === i ? c(n) : (e.consume(n), z);
41
+ }
42
+ function C(n) {
43
+ return e.attempt(I, S, v)(n);
44
+ }
45
+ function v(n) {
46
+ return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), M;
47
+ }
48
+ function M(n) {
49
+ return m > 0 && a(n) ? o(e, x, "linePrefix", m + 1)(n) : x(n);
50
+ }
51
+ function x(n) {
52
+ return n === null || t(n) ? e.check(b, C, S)(n) : (e.enter("codeFlowValue"), w(n));
53
+ }
54
+ function w(n) {
55
+ return n === null || t(n) ? (e.exit("codeFlowValue"), x(n)) : (e.consume(n), w);
56
+ }
57
+ function S(n) {
58
+ return e.exit("codeFenced"), g(n);
59
+ }
60
+ function T(n, u, h) {
61
+ let y = 0;
62
+ return V;
63
+ function V(r) {
64
+ return n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), A;
65
+ }
66
+ function A(r) {
67
+ return n.enter("codeFencedFence"), a(r) ? o(n, d, "linePrefix", F.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(r) : d(r);
68
+ }
69
+ function d(r) {
70
+ return r === i ? (n.enter("codeFencedFenceSequence"), B(r)) : h(r);
71
+ }
72
+ function B(r) {
73
+ return r === i ? (y++, n.consume(r), B) : y >= p ? (n.exit("codeFencedFenceSequence"), a(r) ? o(n, E, "whitespace")(r) : E(r)) : h(r);
74
+ }
75
+ function E(r) {
76
+ return r === null || t(r) ? (n.exit("codeFencedFence"), u(r)) : h(r);
77
+ }
78
+ }
79
+ }
80
+ export {
81
+ G as codeFenced
82
+ };
@@ -0,0 +1,37 @@
1
+ import { factorySpaceMinMax as d } from "../../micromark-factory-space/index.js";
2
+ import { markdownLineEnding as a } from "../../micromark-util-character/index.js";
3
+ const k = {
4
+ name: "codeIndented",
5
+ tokenize: x
6
+ }, m = {
7
+ partial: !0,
8
+ tokenize: p
9
+ };
10
+ function x(r, l, i) {
11
+ return u;
12
+ function u(n) {
13
+ return r.enter("codeIndented"), d(r, e, i, "linePrefix", 4, 4)(n);
14
+ }
15
+ function e(n) {
16
+ return n === null ? t(n) : a(n) ? r.attempt(m, e, t)(n) : (r.enter("codeFlowValue"), o(n));
17
+ }
18
+ function o(n) {
19
+ return n === null || a(n) ? (r.exit("codeFlowValue"), e(n)) : (r.consume(n), o);
20
+ }
21
+ function t(n) {
22
+ return r.exit("codeIndented"), l(n);
23
+ }
24
+ }
25
+ function p(r, l, i) {
26
+ const u = this;
27
+ return e;
28
+ function e(t) {
29
+ return u.parser.lazy[u.now().line] ? i(t) : a(t) ? (r.enter("lineEnding"), r.consume(t), r.exit("lineEnding"), e) : d(r, l, o, "linePrefix", 4, 4)(t);
30
+ }
31
+ function o(t) {
32
+ return a(t) ? e(t) : i(t);
33
+ }
34
+ }
35
+ export {
36
+ k as codeIndented
37
+ };
@@ -0,0 +1,45 @@
1
+ import { markdownLineEnding as d } from "../../micromark-util-character/index.js";
2
+ const m = {
3
+ name: "codeText",
4
+ previous: g,
5
+ resolve: y,
6
+ tokenize: E
7
+ };
8
+ function y(e) {
9
+ let r = e.length - 4, u = 3, t, i;
10
+ if ((e[u][1].type === "lineEnding" || e[u][1].type === "space") && (e[r][1].type === "lineEnding" || e[r][1].type === "space")) {
11
+ for (t = u; ++t < r; )
12
+ if (e[t][1].type === "codeTextData") {
13
+ e[u][1].type = "codeTextPadding", e[r][1].type = "codeTextPadding", u += 2, r -= 2;
14
+ break;
15
+ }
16
+ }
17
+ for (t = u - 1, r++; ++t <= r; )
18
+ i === void 0 ? t !== r && e[t][1].type !== "lineEnding" && (i = t) : (t === r || e[t][1].type === "lineEnding") && (e[i][1].type = "codeTextData", t !== i + 2 && (e[i][1].end = e[t - 1][1].end, e.splice(i + 2, t - i - 2), r -= t - i - 2, t = i + 2), i = void 0);
19
+ return e;
20
+ }
21
+ function g(e) {
22
+ return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
23
+ }
24
+ function E(e, r, u) {
25
+ let t = 0, i, l;
26
+ return T;
27
+ function T(n) {
28
+ return e.enter("codeText"), e.enter("codeTextSequence"), o(n);
29
+ }
30
+ function o(n) {
31
+ return n === 96 ? (e.consume(n), t++, o) : (e.exit("codeTextSequence"), x(n));
32
+ }
33
+ function x(n) {
34
+ return n === null ? u(n) : n === 32 ? (e.enter("space"), e.consume(n), e.exit("space"), x) : n === 96 ? (l = e.enter("codeTextSequence"), i = 0, p(n)) : d(n) ? (e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), x) : (e.enter("codeTextData"), a(n));
35
+ }
36
+ function a(n) {
37
+ return n === null || n === 32 || n === 96 || d(n) ? (e.exit("codeTextData"), x(n)) : (e.consume(n), a);
38
+ }
39
+ function p(n) {
40
+ return n === 96 ? (e.consume(n), i++, p) : i === t ? (e.exit("codeTextSequence"), e.exit("codeText"), r(n)) : (l.type = "codeTextData", a(n));
41
+ }
42
+ }
43
+ export {
44
+ m as codeText
45
+ };
@@ -0,0 +1,50 @@
1
+ import { factorySpace as a } from "../../micromark-factory-space/index.js";
2
+ import { markdownLineEnding as l } from "../../micromark-util-character/index.js";
3
+ import { subtokenize as p } from "../../micromark-util-subtokenize/index.js";
4
+ const d = {
5
+ resolve: s,
6
+ tokenize: h
7
+ }, k = {
8
+ partial: !0,
9
+ tokenize: x
10
+ };
11
+ function s(n) {
12
+ return p(n), n;
13
+ }
14
+ function h(n, u) {
15
+ let r;
16
+ return i;
17
+ function i(t) {
18
+ return n.enter("content"), r = n.enter("chunkContent", {
19
+ contentType: "content"
20
+ }), o(t);
21
+ }
22
+ function o(t) {
23
+ return t === null ? c(t) : l(t) ? n.check(k, e, c)(t) : (n.consume(t), o);
24
+ }
25
+ function c(t) {
26
+ return n.exit("chunkContent"), n.exit("content"), u(t);
27
+ }
28
+ function e(t) {
29
+ return n.consume(t), n.exit("chunkContent"), r.next = n.enter("chunkContent", {
30
+ contentType: "content",
31
+ previous: r
32
+ }), r = r.next, o;
33
+ }
34
+ }
35
+ function x(n, u, r) {
36
+ const i = this;
37
+ return o;
38
+ function o(e) {
39
+ return n.exit("chunkContent"), n.enter("lineEnding"), n.consume(e), n.exit("lineEnding"), a(n, c, "linePrefix");
40
+ }
41
+ function c(e) {
42
+ if (e === null || l(e))
43
+ return r(e);
44
+ const t = i.events[i.events.length - 1];
45
+ return !i.parser.constructs.disable.null.includes("codeIndented") && t && t[1].type === "linePrefix" && t[2].sliceSerialize(t[1], !0).length >= 4 ? u(e) : n.interrupt(i.parser.constructs.flow, r, u)(e);
46
+ }
47
+ }
48
+ export {
49
+ d as content
50
+ };
@@ -0,0 +1,80 @@
1
+ import { factoryDestination as D } from "../../micromark-factory-destination/index.js";
2
+ import { factoryLabel as S } from "../../micromark-factory-label/index.js";
3
+ import { factorySpace as s } from "../../micromark-factory-space/index.js";
4
+ import { factoryTitle as g } from "../../micromark-factory-title/index.js";
5
+ import { factoryWhitespace as d } from "../../micromark-factory-whitespace/index.js";
6
+ import { markdownLineEndingOrSpace as k, markdownSpace as h, markdownLineEnding as L } from "../../micromark-util-character/index.js";
7
+ import { normalizeIdentifier as w } from "../../micromark-util-normalize-identifier/index.js";
8
+ const O = {
9
+ name: "definition",
10
+ tokenize: M
11
+ }, z = {
12
+ partial: !0,
13
+ tokenize: y
14
+ };
15
+ function M(t, f, e) {
16
+ const r = this;
17
+ let o;
18
+ return u;
19
+ function u(i) {
20
+ return t.enter("definition"), a(i);
21
+ }
22
+ function a(i) {
23
+ return S.call(
24
+ r,
25
+ t,
26
+ n,
27
+ // Note: we don’t need to reset the way `markdown-rs` does.
28
+ e,
29
+ "definitionLabel",
30
+ "definitionLabelMarker",
31
+ "definitionLabelString"
32
+ )(i);
33
+ }
34
+ function n(i) {
35
+ return o = w(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), i === 58 ? (t.enter("definitionMarker"), t.consume(i), t.exit("definitionMarker"), b) : e(i);
36
+ }
37
+ function b(i) {
38
+ return k(i) ? d(t, l)(i) : l(i);
39
+ }
40
+ function l(i) {
41
+ return D(
42
+ t,
43
+ c,
44
+ // Note: we don’t need to reset the way `markdown-rs` does.
45
+ e,
46
+ "definitionDestination",
47
+ "definitionDestinationLiteral",
48
+ "definitionDestinationLiteralMarker",
49
+ "definitionDestinationRaw",
50
+ "definitionDestinationString"
51
+ )(i);
52
+ }
53
+ function c(i) {
54
+ return t.attempt(z, m, m)(i);
55
+ }
56
+ function m(i) {
57
+ return h(i) ? s(t, p, "whitespace")(i) : p(i);
58
+ }
59
+ function p(i) {
60
+ return i === null || L(i) ? (t.exit("definition"), r.parser.defined.push(o), f(i)) : e(i);
61
+ }
62
+ }
63
+ function y(t, f, e) {
64
+ return r;
65
+ function r(n) {
66
+ return k(n) ? d(t, o)(n) : e(n);
67
+ }
68
+ function o(n) {
69
+ return g(t, u, e, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(n);
70
+ }
71
+ function u(n) {
72
+ return h(n) ? s(t, a, "whitespace")(n) : a(n);
73
+ }
74
+ function a(n) {
75
+ return n === null || L(n) ? f(n) : e(n);
76
+ }
77
+ }
78
+ export {
79
+ O as definition
80
+ };
@@ -0,0 +1,17 @@
1
+ import { markdownLineEnding as o } from "../../micromark-util-character/index.js";
2
+ const p = {
3
+ name: "hardBreakEscape",
4
+ tokenize: k
5
+ };
6
+ function k(e, n, a) {
7
+ return t;
8
+ function t(r) {
9
+ return e.enter("hardBreakEscape"), e.consume(r), i;
10
+ }
11
+ function i(r) {
12
+ return o(r) ? (e.exit("hardBreakEscape"), n(r)) : a(r);
13
+ }
14
+ }
15
+ export {
16
+ p as hardBreakEscape
17
+ };
@@ -0,0 +1,50 @@
1
+ import { factorySpace as o } from "../../micromark-factory-space/index.js";
2
+ import { markdownLineEndingOrSpace as m, markdownLineEnding as H, markdownSpace as h } from "../../micromark-util-character/index.js";
3
+ import { splice as S } from "../../micromark-util-chunked/index.js";
4
+ const T = {
5
+ name: "headingAtx",
6
+ resolve: y,
7
+ tokenize: d
8
+ };
9
+ function y(t, i) {
10
+ let e = t.length - 2, r = 3;
11
+ if (t[r][1].type === "whitespace" && (r += 2), e - 2 > r && t[e][1].type === "whitespace" && (e -= 2), t[e][1].type === "atxHeadingSequence" && (r === e - 1 || e - 4 > r && t[e - 2][1].type === "whitespace") && (e -= r + 1 === e ? 2 : 4), e > r) {
12
+ const a = {
13
+ type: "atxHeadingText",
14
+ start: t[r][1].start,
15
+ end: t[e][1].end
16
+ }, u = {
17
+ type: "chunkText",
18
+ start: t[r][1].start,
19
+ end: t[e][1].end,
20
+ contentType: "text"
21
+ };
22
+ S(t, r, e - r + 1, [["enter", a, i], ["enter", u, i], ["exit", u, i], ["exit", a, i]]);
23
+ }
24
+ return t;
25
+ }
26
+ function d(t, i, e) {
27
+ let r = 0;
28
+ return a;
29
+ function a(n) {
30
+ return t.enter("atxHeading"), u(n);
31
+ }
32
+ function u(n) {
33
+ return t.enter("atxHeadingSequence"), p(n);
34
+ }
35
+ function p(n) {
36
+ return n === 35 && r++ < 6 ? (t.consume(n), p) : n === null || m(n) ? (t.exit("atxHeadingSequence"), x(n)) : e(n);
37
+ }
38
+ function x(n) {
39
+ return n === 35 ? (t.enter("atxHeadingSequence"), g(n)) : n === null || H(n) ? (t.exit("atxHeading"), i(n)) : h(n) ? o(t, x, "whitespace")(n) : (t.enter("atxHeadingText"), l(n));
40
+ }
41
+ function g(n) {
42
+ return n === 35 ? (t.consume(n), g) : (t.exit("atxHeadingSequence"), x(n));
43
+ }
44
+ function l(n) {
45
+ return n === null || n === 35 || m(n) ? (t.exit("atxHeadingText"), x(n)) : (t.consume(n), l);
46
+ }
47
+ }
48
+ export {
49
+ T as headingAtx
50
+ };
@@ -0,0 +1,132 @@
1
+ import { asciiAlpha as w, markdownLineEndingOrSpace as V, asciiAlphanumeric as R, markdownSpace as o, markdownLineEnding as h } from "../../micromark-util-character/index.js";
2
+ import { htmlRawNames as H, htmlBlockNames as $ } from "../../micromark-util-html-tag-name/index.js";
3
+ import { blankLine as f } from "./blank-line.js";
4
+ import { nonLazyContinuation as k } from "./partial-non-lazy-continuation.js";
5
+ const ln = {
6
+ concrete: !0,
7
+ name: "htmlFlow",
8
+ resolveTo: c,
9
+ tokenize: d
10
+ }, v = {
11
+ partial: !0,
12
+ tokenize: nn
13
+ };
14
+ function c(r) {
15
+ let t = r.length;
16
+ for (; t-- && !(r[t][0] === "enter" && r[t][1].type === "htmlFlow"); )
17
+ ;
18
+ return t > 1 && r[t - 2][1].type === "linePrefix" && (r[t][1].start = r[t - 2][1].start, r[t + 1][1].start = r[t - 2][1].start, r.splice(t - 2, 2)), r;
19
+ }
20
+ function d(r, t, i) {
21
+ const l = this;
22
+ let u, C, a, A, b;
23
+ return Q;
24
+ function Q(n) {
25
+ return q(n);
26
+ }
27
+ function q(n) {
28
+ return r.enter("htmlFlow"), r.enter("htmlFlowData"), r.consume(n), P;
29
+ }
30
+ function P(n) {
31
+ return n === 33 ? (r.consume(n), U) : n === 47 ? (r.consume(n), C = !0, G) : n === 63 ? (r.consume(n), u = 3, l.interrupt ? t : e) : w(n) ? (r.consume(n), a = String.fromCharCode(n), F) : i(n);
32
+ }
33
+ function U(n) {
34
+ return n === 45 ? (r.consume(n), u = 2, j) : n === 91 ? (r.consume(n), u = 5, A = 0, E) : w(n) ? (r.consume(n), u = 4, l.interrupt ? t : e) : i(n);
35
+ }
36
+ function j(n) {
37
+ return n === 45 ? (r.consume(n), l.interrupt ? t : e) : i(n);
38
+ }
39
+ function E(n) {
40
+ const p = "CDATA[";
41
+ return n === p.charCodeAt(A++) ? (r.consume(n), A === p.length ? l.interrupt ? t : m : E) : i(n);
42
+ }
43
+ function G(n) {
44
+ return w(n) ? (r.consume(n), a = String.fromCharCode(n), F) : i(n);
45
+ }
46
+ function F(n) {
47
+ if (n === null || n === 47 || n === 62 || V(n)) {
48
+ const p = n === 47, _ = a.toLowerCase();
49
+ return !p && !C && H.includes(_) ? (u = 1, l.interrupt ? t(n) : m(n)) : $.includes(a.toLowerCase()) ? (u = 6, p ? (r.consume(n), J) : l.interrupt ? t(n) : m(n)) : (u = 7, l.interrupt && !l.parser.lazy[l.now().line] ? i(n) : C ? z(n) : g(n));
50
+ }
51
+ return n === 45 || R(n) ? (r.consume(n), a += String.fromCharCode(n), F) : i(n);
52
+ }
53
+ function J(n) {
54
+ return n === 62 ? (r.consume(n), l.interrupt ? t : m) : i(n);
55
+ }
56
+ function z(n) {
57
+ return o(n) ? (r.consume(n), z) : L(n);
58
+ }
59
+ function g(n) {
60
+ return n === 47 ? (r.consume(n), L) : n === 58 || n === 95 || w(n) ? (r.consume(n), D) : o(n) ? (r.consume(n), g) : L(n);
61
+ }
62
+ function D(n) {
63
+ return n === 45 || n === 46 || n === 58 || n === 95 || R(n) ? (r.consume(n), D) : x(n);
64
+ }
65
+ function x(n) {
66
+ return n === 61 ? (r.consume(n), N) : o(n) ? (r.consume(n), x) : g(n);
67
+ }
68
+ function N(n) {
69
+ return n === null || n === 60 || n === 61 || n === 62 || n === 96 ? i(n) : n === 34 || n === 39 ? (r.consume(n), b = n, T) : o(n) ? (r.consume(n), N) : y(n);
70
+ }
71
+ function T(n) {
72
+ return n === b ? (r.consume(n), b = null, K) : n === null || h(n) ? i(n) : (r.consume(n), T);
73
+ }
74
+ function y(n) {
75
+ return n === null || n === 34 || n === 39 || n === 47 || n === 60 || n === 61 || n === 62 || n === 96 || V(n) ? x(n) : (r.consume(n), y);
76
+ }
77
+ function K(n) {
78
+ return n === 47 || n === 62 || o(n) ? g(n) : i(n);
79
+ }
80
+ function L(n) {
81
+ return n === 62 ? (r.consume(n), I) : i(n);
82
+ }
83
+ function I(n) {
84
+ return n === null || h(n) ? m(n) : o(n) ? (r.consume(n), I) : i(n);
85
+ }
86
+ function m(n) {
87
+ return n === 45 && u === 2 ? (r.consume(n), X) : n === 60 && u === 1 ? (r.consume(n), Y) : n === 62 && u === 4 ? (r.consume(n), s) : n === 63 && u === 3 ? (r.consume(n), e) : n === 93 && u === 5 ? (r.consume(n), Z) : h(n) && (u === 6 || u === 7) ? (r.exit("htmlFlowData"), r.check(v, B, S)(n)) : n === null || h(n) ? (r.exit("htmlFlowData"), S(n)) : (r.consume(n), m);
88
+ }
89
+ function S(n) {
90
+ return r.check(k, M, B)(n);
91
+ }
92
+ function M(n) {
93
+ return r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), W;
94
+ }
95
+ function W(n) {
96
+ return n === null || h(n) ? S(n) : (r.enter("htmlFlowData"), m(n));
97
+ }
98
+ function X(n) {
99
+ return n === 45 ? (r.consume(n), e) : m(n);
100
+ }
101
+ function Y(n) {
102
+ return n === 47 ? (r.consume(n), a = "", O) : m(n);
103
+ }
104
+ function O(n) {
105
+ if (n === 62) {
106
+ const p = a.toLowerCase();
107
+ return H.includes(p) ? (r.consume(n), s) : m(n);
108
+ }
109
+ return w(n) && a.length < 8 ? (r.consume(n), a += String.fromCharCode(n), O) : m(n);
110
+ }
111
+ function Z(n) {
112
+ return n === 93 ? (r.consume(n), e) : m(n);
113
+ }
114
+ function e(n) {
115
+ return n === 62 ? (r.consume(n), s) : n === 45 && u === 2 ? (r.consume(n), e) : m(n);
116
+ }
117
+ function s(n) {
118
+ return n === null || h(n) ? (r.exit("htmlFlowData"), B(n)) : (r.consume(n), s);
119
+ }
120
+ function B(n) {
121
+ return r.exit("htmlFlow"), t(n);
122
+ }
123
+ }
124
+ function nn(r, t, i) {
125
+ return l;
126
+ function l(u) {
127
+ return r.enter("lineEnding"), r.consume(u), r.exit("lineEnding"), r.attempt(f, t, i);
128
+ }
129
+ }
130
+ export {
131
+ ln as htmlFlow
132
+ };