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,175 @@
1
+ class n {
2
+ /**
3
+ * @param {ReadonlyArray<T> | null | undefined} [initial]
4
+ * Initial items (optional).
5
+ * @returns
6
+ * Splice buffer.
7
+ */
8
+ constructor(t) {
9
+ this.left = t ? [...t] : [], this.right = [];
10
+ }
11
+ /**
12
+ * Array access;
13
+ * does not move the cursor.
14
+ *
15
+ * @param {number} index
16
+ * Index.
17
+ * @return {T}
18
+ * Item.
19
+ */
20
+ get(t) {
21
+ if (t < 0 || t >= this.left.length + this.right.length)
22
+ throw new RangeError("Cannot access index `" + t + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
23
+ return t < this.left.length ? this.left[t] : this.right[this.right.length - t + this.left.length - 1];
24
+ }
25
+ /**
26
+ * The length of the splice buffer, one greater than the largest index in the
27
+ * array.
28
+ */
29
+ get length() {
30
+ return this.left.length + this.right.length;
31
+ }
32
+ /**
33
+ * Remove and return `list[0]`;
34
+ * moves the cursor to `0`.
35
+ *
36
+ * @returns {T | undefined}
37
+ * Item, optional.
38
+ */
39
+ shift() {
40
+ return this.setCursor(0), this.right.pop();
41
+ }
42
+ /**
43
+ * Slice the buffer to get an array;
44
+ * does not move the cursor.
45
+ *
46
+ * @param {number} start
47
+ * Start.
48
+ * @param {number | null | undefined} [end]
49
+ * End (optional).
50
+ * @returns {Array<T>}
51
+ * Array of items.
52
+ */
53
+ slice(t, e) {
54
+ const h = e ?? Number.POSITIVE_INFINITY;
55
+ return h < this.left.length ? this.left.slice(t, h) : t > this.left.length ? this.right.slice(this.right.length - h + this.left.length, this.right.length - t + this.left.length).reverse() : this.left.slice(t).concat(this.right.slice(this.right.length - h + this.left.length).reverse());
56
+ }
57
+ /**
58
+ * Mimics the behavior of Array.prototype.splice() except for the change of
59
+ * interface necessary to avoid segfaults when patching in very large arrays.
60
+ *
61
+ * This operation moves cursor is moved to `start` and results in the cursor
62
+ * placed after any inserted items.
63
+ *
64
+ * @param {number} start
65
+ * Start;
66
+ * zero-based index at which to start changing the array;
67
+ * negative numbers count backwards from the end of the array and values
68
+ * that are out-of bounds are clamped to the appropriate end of the array.
69
+ * @param {number | null | undefined} [deleteCount=0]
70
+ * Delete count (default: `0`);
71
+ * maximum number of elements to delete, starting from start.
72
+ * @param {Array<T> | null | undefined} [items=[]]
73
+ * Items to include in place of the deleted items (default: `[]`).
74
+ * @return {Array<T>}
75
+ * Any removed items.
76
+ */
77
+ splice(t, e, h) {
78
+ const r = e || 0;
79
+ this.setCursor(Math.trunc(t));
80
+ const l = this.right.splice(this.right.length - r, Number.POSITIVE_INFINITY);
81
+ return h && s(this.left, h), l.reverse();
82
+ }
83
+ /**
84
+ * Remove and return the highest-numbered item in the array, so
85
+ * `list[list.length - 1]`;
86
+ * Moves the cursor to `length`.
87
+ *
88
+ * @returns {T | undefined}
89
+ * Item, optional.
90
+ */
91
+ pop() {
92
+ return this.setCursor(Number.POSITIVE_INFINITY), this.left.pop();
93
+ }
94
+ /**
95
+ * Inserts a single item to the high-numbered side of the array;
96
+ * moves the cursor to `length`.
97
+ *
98
+ * @param {T} item
99
+ * Item.
100
+ * @returns {undefined}
101
+ * Nothing.
102
+ */
103
+ push(t) {
104
+ this.setCursor(Number.POSITIVE_INFINITY), this.left.push(t);
105
+ }
106
+ /**
107
+ * Inserts many items to the high-numbered side of the array.
108
+ * Moves the cursor to `length`.
109
+ *
110
+ * @param {Array<T>} items
111
+ * Items.
112
+ * @returns {undefined}
113
+ * Nothing.
114
+ */
115
+ pushMany(t) {
116
+ this.setCursor(Number.POSITIVE_INFINITY), s(this.left, t);
117
+ }
118
+ /**
119
+ * Inserts a single item to the low-numbered side of the array;
120
+ * Moves the cursor to `0`.
121
+ *
122
+ * @param {T} item
123
+ * Item.
124
+ * @returns {undefined}
125
+ * Nothing.
126
+ */
127
+ unshift(t) {
128
+ this.setCursor(0), this.right.push(t);
129
+ }
130
+ /**
131
+ * Inserts many items to the low-numbered side of the array;
132
+ * moves the cursor to `0`.
133
+ *
134
+ * @param {Array<T>} items
135
+ * Items.
136
+ * @returns {undefined}
137
+ * Nothing.
138
+ */
139
+ unshiftMany(t) {
140
+ this.setCursor(0), s(this.right, t.reverse());
141
+ }
142
+ /**
143
+ * Move the cursor to a specific position in the array. Requires
144
+ * time proportional to the distance moved.
145
+ *
146
+ * If `n < 0`, the cursor will end up at the beginning.
147
+ * If `n > length`, the cursor will end up at the end.
148
+ *
149
+ * @param {number} n
150
+ * Position.
151
+ * @return {undefined}
152
+ * Nothing.
153
+ */
154
+ setCursor(t) {
155
+ if (!(t === this.left.length || t > this.left.length && this.right.length === 0 || t < 0 && this.left.length === 0))
156
+ if (t < this.left.length) {
157
+ const e = this.left.splice(t, Number.POSITIVE_INFINITY);
158
+ s(this.right, e.reverse());
159
+ } else {
160
+ const e = this.right.splice(this.left.length + this.right.length - t, Number.POSITIVE_INFINITY);
161
+ s(this.left, e.reverse());
162
+ }
163
+ }
164
+ }
165
+ function s(i, t) {
166
+ let e = 0;
167
+ if (t.length < 1e4)
168
+ i.push(...t);
169
+ else
170
+ for (; e < t.length; )
171
+ i.push(...t.slice(e, e + 1e4)), e += 1e4;
172
+ }
173
+ export {
174
+ n as SpliceBuffer
175
+ };
@@ -0,0 +1,12 @@
1
+ import { merge as m } from "./lib/util/merge.js";
2
+ import { aria as o } from "./lib/aria.js";
3
+ import { html as s } from "./lib/html.js";
4
+ import { svg as p } from "./lib/svg.js";
5
+ import { xlink as r } from "./lib/xlink.js";
6
+ import { xmlns as t } from "./lib/xmlns.js";
7
+ import { xml as i } from "./lib/xml.js";
8
+ const x = m([o, s, r, t, i], "html"), e = m([o, p, r, t, i], "svg");
9
+ export {
10
+ x as html,
11
+ e as svg
12
+ };
@@ -0,0 +1,61 @@
1
+ import { create as l } from "./util/create.js";
2
+ import { number as r, booleanish as a, spaceSeparated as i } from "./util/types.js";
3
+ const u = l({
4
+ properties: {
5
+ ariaActiveDescendant: null,
6
+ ariaAtomic: a,
7
+ ariaAutoComplete: null,
8
+ ariaBusy: a,
9
+ ariaChecked: a,
10
+ ariaColCount: r,
11
+ ariaColIndex: r,
12
+ ariaColSpan: r,
13
+ ariaControls: i,
14
+ ariaCurrent: null,
15
+ ariaDescribedBy: i,
16
+ ariaDetails: null,
17
+ ariaDisabled: a,
18
+ ariaDropEffect: i,
19
+ ariaErrorMessage: null,
20
+ ariaExpanded: a,
21
+ ariaFlowTo: i,
22
+ ariaGrabbed: a,
23
+ ariaHasPopup: null,
24
+ ariaHidden: a,
25
+ ariaInvalid: null,
26
+ ariaKeyShortcuts: null,
27
+ ariaLabel: null,
28
+ ariaLabelledBy: i,
29
+ ariaLevel: r,
30
+ ariaLive: null,
31
+ ariaModal: a,
32
+ ariaMultiLine: a,
33
+ ariaMultiSelectable: a,
34
+ ariaOrientation: null,
35
+ ariaOwns: i,
36
+ ariaPlaceholder: null,
37
+ ariaPosInSet: r,
38
+ ariaPressed: a,
39
+ ariaReadOnly: a,
40
+ ariaRelevant: null,
41
+ ariaRequired: a,
42
+ ariaRoleDescription: i,
43
+ ariaRowCount: r,
44
+ ariaRowIndex: r,
45
+ ariaRowSpan: r,
46
+ ariaSelected: a,
47
+ ariaSetSize: r,
48
+ ariaSort: null,
49
+ ariaValueMax: r,
50
+ ariaValueMin: r,
51
+ ariaValueNow: r,
52
+ ariaValueText: null,
53
+ role: null
54
+ },
55
+ transform(n, e) {
56
+ return e === "role" ? e : "aria-" + e.slice(4).toLowerCase();
57
+ }
58
+ });
59
+ export {
60
+ u as aria
61
+ };
@@ -0,0 +1,33 @@
1
+ import { DefinedInfo as s } from "./util/defined-info.js";
2
+ import { Info as p } from "./util/info.js";
3
+ import { normalize as f } from "./normalize.js";
4
+ const l = /[A-Z]/g, c = /-[a-z]/g, d = /^data[-\w.:]+$/i;
5
+ function y(r, t) {
6
+ const o = f(t);
7
+ let i = t, a = p;
8
+ if (o in r.normal)
9
+ return r.property[r.normal[o]];
10
+ if (o.length > 4 && o.slice(0, 4) === "data" && d.test(t)) {
11
+ if (t.charAt(4) === "-") {
12
+ const e = t.slice(5).replace(c, h);
13
+ i = "data" + e.charAt(0).toUpperCase() + e.slice(1);
14
+ } else {
15
+ const e = t.slice(4);
16
+ if (!c.test(e)) {
17
+ let n = e.replace(l, m);
18
+ n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
19
+ }
20
+ }
21
+ a = s;
22
+ }
23
+ return new a(i, t);
24
+ }
25
+ function m(r) {
26
+ return "-" + r.toLowerCase();
27
+ }
28
+ function h(r) {
29
+ return r.charAt(1).toUpperCase();
30
+ }
31
+ export {
32
+ y as find
33
+ };
@@ -0,0 +1,22 @@
1
+ const e = {
2
+ classId: "classID",
3
+ dataType: "datatype",
4
+ itemId: "itemID",
5
+ strokeDashArray: "strokeDasharray",
6
+ strokeDashOffset: "strokeDashoffset",
7
+ strokeLineCap: "strokeLinecap",
8
+ strokeLineJoin: "strokeLinejoin",
9
+ strokeMiterLimit: "strokeMiterlimit",
10
+ typeOf: "typeof",
11
+ xLinkActuate: "xlinkActuate",
12
+ xLinkArcRole: "xlinkArcrole",
13
+ xLinkHref: "xlinkHref",
14
+ xLinkRole: "xlinkRole",
15
+ xLinkShow: "xlinkShow",
16
+ xLinkTitle: "xlinkTitle",
17
+ xLinkType: "xlinkType",
18
+ xmlnsXLink: "xmlnsXlink"
19
+ };
20
+ export {
21
+ e as hastToReact
22
+ };
@@ -0,0 +1,378 @@
1
+ import { caseInsensitiveTransform as t } from "./util/case-insensitive-transform.js";
2
+ import { create as r } from "./util/create.js";
3
+ import { number as n, spaceSeparated as e, commaSeparated as u, boolean as l, booleanish as o, overloadedBoolean as a } from "./util/types.js";
4
+ const d = r({
5
+ attributes: {
6
+ acceptcharset: "accept-charset",
7
+ classname: "class",
8
+ htmlfor: "for",
9
+ httpequiv: "http-equiv"
10
+ },
11
+ mustUseProperty: ["checked", "multiple", "muted", "selected"],
12
+ properties: {
13
+ // Standard Properties.
14
+ abbr: null,
15
+ accept: u,
16
+ acceptCharset: e,
17
+ accessKey: e,
18
+ action: null,
19
+ allow: null,
20
+ allowFullScreen: l,
21
+ allowPaymentRequest: l,
22
+ allowUserMedia: l,
23
+ alpha: l,
24
+ alt: null,
25
+ as: null,
26
+ async: l,
27
+ autoCapitalize: null,
28
+ autoComplete: e,
29
+ autoFocus: l,
30
+ autoPlay: l,
31
+ blocking: e,
32
+ capture: null,
33
+ charSet: null,
34
+ checked: l,
35
+ cite: null,
36
+ className: e,
37
+ closedBy: null,
38
+ colorSpace: null,
39
+ cols: n,
40
+ colSpan: n,
41
+ command: null,
42
+ commandFor: null,
43
+ content: null,
44
+ contentEditable: o,
45
+ controls: l,
46
+ controlsList: e,
47
+ coords: n | u,
48
+ crossOrigin: null,
49
+ data: null,
50
+ dateTime: null,
51
+ decoding: null,
52
+ default: l,
53
+ defer: l,
54
+ dir: null,
55
+ dirName: null,
56
+ disabled: l,
57
+ download: a,
58
+ draggable: o,
59
+ encType: null,
60
+ enterKeyHint: null,
61
+ fetchPriority: null,
62
+ form: null,
63
+ formAction: null,
64
+ formEncType: null,
65
+ formMethod: null,
66
+ formNoValidate: l,
67
+ formTarget: null,
68
+ headers: e,
69
+ height: n,
70
+ hidden: a,
71
+ high: n,
72
+ href: null,
73
+ hrefLang: null,
74
+ htmlFor: e,
75
+ httpEquiv: e,
76
+ id: null,
77
+ imageSizes: null,
78
+ imageSrcSet: null,
79
+ inert: l,
80
+ inputMode: null,
81
+ integrity: null,
82
+ is: null,
83
+ isMap: l,
84
+ itemId: null,
85
+ itemProp: e,
86
+ itemRef: e,
87
+ itemScope: l,
88
+ itemType: e,
89
+ kind: null,
90
+ label: null,
91
+ lang: null,
92
+ language: null,
93
+ list: null,
94
+ loading: null,
95
+ loop: l,
96
+ low: n,
97
+ manifest: null,
98
+ max: null,
99
+ maxLength: n,
100
+ media: null,
101
+ method: null,
102
+ min: null,
103
+ minLength: n,
104
+ multiple: l,
105
+ muted: l,
106
+ name: null,
107
+ nonce: null,
108
+ noModule: l,
109
+ noValidate: l,
110
+ onAbort: null,
111
+ onAfterPrint: null,
112
+ onAuxClick: null,
113
+ onBeforeMatch: null,
114
+ onBeforePrint: null,
115
+ onBeforeToggle: null,
116
+ onBeforeUnload: null,
117
+ onBlur: null,
118
+ onCancel: null,
119
+ onCanPlay: null,
120
+ onCanPlayThrough: null,
121
+ onChange: null,
122
+ onClick: null,
123
+ onClose: null,
124
+ onContextLost: null,
125
+ onContextMenu: null,
126
+ onContextRestored: null,
127
+ onCopy: null,
128
+ onCueChange: null,
129
+ onCut: null,
130
+ onDblClick: null,
131
+ onDrag: null,
132
+ onDragEnd: null,
133
+ onDragEnter: null,
134
+ onDragExit: null,
135
+ onDragLeave: null,
136
+ onDragOver: null,
137
+ onDragStart: null,
138
+ onDrop: null,
139
+ onDurationChange: null,
140
+ onEmptied: null,
141
+ onEnded: null,
142
+ onError: null,
143
+ onFocus: null,
144
+ onFormData: null,
145
+ onHashChange: null,
146
+ onInput: null,
147
+ onInvalid: null,
148
+ onKeyDown: null,
149
+ onKeyPress: null,
150
+ onKeyUp: null,
151
+ onLanguageChange: null,
152
+ onLoad: null,
153
+ onLoadedData: null,
154
+ onLoadedMetadata: null,
155
+ onLoadEnd: null,
156
+ onLoadStart: null,
157
+ onMessage: null,
158
+ onMessageError: null,
159
+ onMouseDown: null,
160
+ onMouseEnter: null,
161
+ onMouseLeave: null,
162
+ onMouseMove: null,
163
+ onMouseOut: null,
164
+ onMouseOver: null,
165
+ onMouseUp: null,
166
+ onOffline: null,
167
+ onOnline: null,
168
+ onPageHide: null,
169
+ onPageShow: null,
170
+ onPaste: null,
171
+ onPause: null,
172
+ onPlay: null,
173
+ onPlaying: null,
174
+ onPopState: null,
175
+ onProgress: null,
176
+ onRateChange: null,
177
+ onRejectionHandled: null,
178
+ onReset: null,
179
+ onResize: null,
180
+ onScroll: null,
181
+ onScrollEnd: null,
182
+ onSecurityPolicyViolation: null,
183
+ onSeeked: null,
184
+ onSeeking: null,
185
+ onSelect: null,
186
+ onSlotChange: null,
187
+ onStalled: null,
188
+ onStorage: null,
189
+ onSubmit: null,
190
+ onSuspend: null,
191
+ onTimeUpdate: null,
192
+ onToggle: null,
193
+ onUnhandledRejection: null,
194
+ onUnload: null,
195
+ onVolumeChange: null,
196
+ onWaiting: null,
197
+ onWheel: null,
198
+ open: l,
199
+ optimum: n,
200
+ pattern: null,
201
+ ping: e,
202
+ placeholder: null,
203
+ playsInline: l,
204
+ popover: null,
205
+ popoverTarget: null,
206
+ popoverTargetAction: null,
207
+ poster: null,
208
+ preload: null,
209
+ readOnly: l,
210
+ referrerPolicy: null,
211
+ rel: e,
212
+ required: l,
213
+ reversed: l,
214
+ rows: n,
215
+ rowSpan: n,
216
+ sandbox: e,
217
+ scope: null,
218
+ scoped: l,
219
+ seamless: l,
220
+ selected: l,
221
+ shadowRootClonable: l,
222
+ shadowRootCustomElementRegistry: l,
223
+ shadowRootDelegatesFocus: l,
224
+ shadowRootMode: null,
225
+ shadowRootSerializable: l,
226
+ shape: null,
227
+ size: n,
228
+ sizes: null,
229
+ slot: null,
230
+ span: n,
231
+ spellCheck: o,
232
+ src: null,
233
+ srcDoc: null,
234
+ srcLang: null,
235
+ srcSet: null,
236
+ start: n,
237
+ step: null,
238
+ style: null,
239
+ tabIndex: n,
240
+ target: null,
241
+ title: null,
242
+ translate: null,
243
+ type: null,
244
+ typeMustMatch: l,
245
+ useMap: null,
246
+ value: o,
247
+ width: n,
248
+ wrap: null,
249
+ writingSuggestions: null,
250
+ // Legacy.
251
+ // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
252
+ align: null,
253
+ // Several. Use CSS `text-align` instead,
254
+ aLink: null,
255
+ // `<body>`. Use CSS `a:active {color}` instead
256
+ archive: e,
257
+ // `<object>`. List of URIs to archives
258
+ axis: null,
259
+ // `<td>` and `<th>`. Use `scope` on `<th>`
260
+ background: null,
261
+ // `<body>`. Use CSS `background-image` instead
262
+ bgColor: null,
263
+ // `<body>` and table elements. Use CSS `background-color` instead
264
+ border: n,
265
+ // `<table>`. Use CSS `border-width` instead,
266
+ borderColor: null,
267
+ // `<table>`. Use CSS `border-color` instead,
268
+ bottomMargin: n,
269
+ // `<body>`
270
+ cellPadding: null,
271
+ // `<table>`
272
+ cellSpacing: null,
273
+ // `<table>`
274
+ char: null,
275
+ // Several table elements. When `align=char`, sets the character to align on
276
+ charOff: null,
277
+ // Several table elements. When `char`, offsets the alignment
278
+ classId: null,
279
+ // `<object>`
280
+ clear: null,
281
+ // `<br>`. Use CSS `clear` instead
282
+ code: null,
283
+ // `<object>`
284
+ codeBase: null,
285
+ // `<object>`
286
+ codeType: null,
287
+ // `<object>`
288
+ color: null,
289
+ // `<font>` and `<hr>`. Use CSS instead
290
+ compact: l,
291
+ // Lists. Use CSS to reduce space between items instead
292
+ declare: l,
293
+ // `<object>`
294
+ event: null,
295
+ // `<script>`
296
+ face: null,
297
+ // `<font>`. Use CSS instead
298
+ frame: null,
299
+ // `<table>`
300
+ frameBorder: null,
301
+ // `<iframe>`. Use CSS `border` instead
302
+ hSpace: n,
303
+ // `<img>` and `<object>`
304
+ leftMargin: n,
305
+ // `<body>`
306
+ link: null,
307
+ // `<body>`. Use CSS `a:link {color: *}` instead
308
+ longDesc: null,
309
+ // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
310
+ lowSrc: null,
311
+ // `<img>`. Use a `<picture>`
312
+ marginHeight: n,
313
+ // `<body>`
314
+ marginWidth: n,
315
+ // `<body>`
316
+ noResize: l,
317
+ // `<frame>`
318
+ noHref: l,
319
+ // `<area>`. Use no href instead of an explicit `nohref`
320
+ noShade: l,
321
+ // `<hr>`. Use background-color and height instead of borders
322
+ noWrap: l,
323
+ // `<td>` and `<th>`
324
+ object: null,
325
+ // `<applet>`
326
+ profile: null,
327
+ // `<head>`
328
+ prompt: null,
329
+ // `<isindex>`
330
+ rev: null,
331
+ // `<link>`
332
+ rightMargin: n,
333
+ // `<body>`
334
+ rules: null,
335
+ // `<table>`
336
+ scheme: null,
337
+ // `<meta>`
338
+ scrolling: o,
339
+ // `<frame>`. Use overflow in the child context
340
+ standby: null,
341
+ // `<object>`
342
+ summary: null,
343
+ // `<table>`
344
+ text: null,
345
+ // `<body>`. Use CSS `color` instead
346
+ topMargin: n,
347
+ // `<body>`
348
+ valueType: null,
349
+ // `<param>`
350
+ version: null,
351
+ // `<html>`. Use a doctype.
352
+ vAlign: null,
353
+ // Several. Use CSS `vertical-align` instead
354
+ vLink: null,
355
+ // `<body>`. Use CSS `a:visited {color}` instead
356
+ vSpace: n,
357
+ // `<img>` and `<object>`
358
+ // Non-standard Properties.
359
+ allowTransparency: null,
360
+ autoCorrect: null,
361
+ autoSave: null,
362
+ credentialless: l,
363
+ disablePictureInPicture: l,
364
+ disableRemotePlayback: l,
365
+ exportParts: u,
366
+ part: e,
367
+ prefix: null,
368
+ property: null,
369
+ results: n,
370
+ security: null,
371
+ unselectable: null
372
+ },
373
+ space: "html",
374
+ transform: t
375
+ });
376
+ export {
377
+ d as html
378
+ };
@@ -0,0 +1,6 @@
1
+ function o(e) {
2
+ return e.toLowerCase();
3
+ }
4
+ export {
5
+ o as normalize
6
+ };