@canonical/react-ds-app-launchpad 0.9.0-experimental.9 → 0.9.1-experimental.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/dist/esm/ui/DiffChangeMarker/DiffChangeMarker.js +47 -0
  2. package/dist/esm/ui/DiffChangeMarker/DiffChangeMarker.js.map +1 -0
  3. package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/DetailedChangeMarker.js +8 -0
  4. package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/DetailedChangeMarker.js.map +1 -0
  5. package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/index.js +4 -0
  6. package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/index.js.map +1 -0
  7. package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/styles.css +21 -0
  8. package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/types.js +2 -0
  9. package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/types.js.map +1 -0
  10. package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/SimpleChangeMarker.js +11 -0
  11. package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/SimpleChangeMarker.js.map +1 -0
  12. package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/index.js +4 -0
  13. package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/index.js.map +1 -0
  14. package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/styles.css +29 -0
  15. package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/types.js +2 -0
  16. package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/types.js.map +1 -0
  17. package/dist/esm/ui/DiffChangeMarker/common/index.js +3 -0
  18. package/dist/esm/ui/DiffChangeMarker/common/index.js.map +1 -0
  19. package/dist/esm/ui/DiffChangeMarker/icons.js +5 -0
  20. package/dist/esm/ui/DiffChangeMarker/icons.js.map +1 -0
  21. package/dist/esm/ui/DiffChangeMarker/index.js +4 -0
  22. package/dist/esm/ui/DiffChangeMarker/index.js.map +1 -0
  23. package/dist/esm/ui/DiffChangeMarker/styles.css +30 -0
  24. package/dist/esm/ui/DiffChangeMarker/types.js +2 -0
  25. package/dist/esm/ui/DiffChangeMarker/types.js.map +1 -0
  26. package/dist/esm/ui/EditableBlock/EditableBlock.js +5 -3
  27. package/dist/esm/ui/EditableBlock/EditableBlock.js.map +1 -1
  28. package/dist/esm/ui/EditableBlock/styles.css +0 -3
  29. package/dist/esm/ui/FileTree/Provider.js +3 -3
  30. package/dist/esm/ui/FileTree/Provider.js.map +1 -1
  31. package/dist/esm/ui/FileTree/common/Node/Provider.js +3 -1
  32. package/dist/esm/ui/FileTree/common/Node/Provider.js.map +1 -1
  33. package/dist/esm/ui/FileTree/common/Node/styles.css +12 -16
  34. package/dist/esm/ui/FileTree/common/SearchBox/SearchBox.js +1 -1
  35. package/dist/esm/ui/FileTree/common/SearchBox/SearchBox.js.map +1 -1
  36. package/dist/esm/ui/FileTree/common/SearchBox/styles.css +11 -11
  37. package/dist/esm/ui/FileTree/styles.css +16 -4
  38. package/dist/esm/ui/GitDiffViewer/Provider.js +7 -11
  39. package/dist/esm/ui/GitDiffViewer/Provider.js.map +1 -1
  40. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.js +38 -83
  41. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.js.map +1 -1
  42. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/HighlighTheme.css +170 -171
  43. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.js +38 -0
  44. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.js.map +1 -0
  45. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.js +4 -0
  46. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.js.map +1 -0
  47. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/styles.css +15 -0
  48. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.js +3 -0
  49. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.js.map +1 -0
  50. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.js +11 -8
  51. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.js.map +1 -1
  52. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/styles.css +16 -9
  53. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.js +3 -0
  54. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.js.map +1 -0
  55. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/constants.js +2 -0
  56. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/constants.js.map +1 -0
  57. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/index.js +1 -0
  58. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/index.js.map +1 -1
  59. package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/styles.css +4 -16
  60. package/dist/esm/ui/GitDiffViewer/common/FileHeader/FileHeader.js +3 -2
  61. package/dist/esm/ui/GitDiffViewer/common/FileHeader/FileHeader.js.map +1 -1
  62. package/dist/esm/ui/GitDiffViewer/common/FileHeader/styles.css +6 -25
  63. package/dist/esm/ui/GitDiffViewer/index.js.map +1 -1
  64. package/dist/esm/ui/GitDiffViewer/styles.css +3 -15
  65. package/dist/esm/ui/GitDiffViewer/utils/highlightDiffHunkLines.js +83 -0
  66. package/dist/esm/ui/GitDiffViewer/utils/highlightDiffHunkLines.js.map +1 -0
  67. package/dist/esm/ui/GitDiffViewer/utils/index.js +1 -0
  68. package/dist/esm/ui/GitDiffViewer/utils/index.js.map +1 -1
  69. package/dist/esm/ui/GitDiffViewer/utils/parseGitDiff.js +27 -4
  70. package/dist/esm/ui/GitDiffViewer/utils/parseGitDiff.js.map +1 -1
  71. package/dist/esm/ui/MarkdownEditor/MarkdownEditor.js +75 -0
  72. package/dist/esm/ui/MarkdownEditor/MarkdownEditor.js.map +1 -0
  73. package/dist/esm/ui/MarkdownEditor/common/Toolbar/Toolbar.js +52 -0
  74. package/dist/esm/ui/MarkdownEditor/common/Toolbar/Toolbar.js.map +1 -0
  75. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/Button.js +19 -0
  76. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/Button.js.map +1 -0
  77. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/index.js +4 -0
  78. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/index.js.map +1 -0
  79. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/styles.css +17 -0
  80. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/types.js +2 -0
  81. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/types.js.map +1 -0
  82. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/Group.js +13 -0
  83. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/Group.js.map +1 -0
  84. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/index.js +4 -0
  85. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/index.js.map +1 -0
  86. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/styles.css +7 -0
  87. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/types.js +2 -0
  88. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/types.js.map +1 -0
  89. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.js +13 -0
  90. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.js.map +1 -0
  91. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/index.js +4 -0
  92. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/index.js.map +1 -0
  93. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/styles.css +7 -0
  94. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/types.js +2 -0
  95. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/types.js.map +1 -0
  96. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/index.js +4 -0
  97. package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/index.js.map +1 -0
  98. package/dist/esm/ui/MarkdownEditor/common/Toolbar/index.js +9 -0
  99. package/dist/esm/ui/MarkdownEditor/common/Toolbar/index.js.map +1 -0
  100. package/dist/esm/ui/MarkdownEditor/common/Toolbar/styles.css +16 -0
  101. package/dist/esm/ui/MarkdownEditor/common/Toolbar/types.js +2 -0
  102. package/dist/esm/ui/MarkdownEditor/common/Toolbar/types.js.map +1 -0
  103. package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.js +34 -0
  104. package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.js.map +1 -0
  105. package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/index.js +4 -0
  106. package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/index.js.map +1 -0
  107. package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/styles.css +42 -0
  108. package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/types.js +2 -0
  109. package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/types.js.map +1 -0
  110. package/dist/esm/ui/MarkdownEditor/common/icons.js +10 -0
  111. package/dist/esm/ui/MarkdownEditor/common/icons.js.map +1 -0
  112. package/dist/esm/ui/MarkdownEditor/common/index.js +4 -0
  113. package/dist/esm/ui/MarkdownEditor/common/index.js.map +1 -0
  114. package/dist/esm/ui/MarkdownEditor/hooks/index.js +2 -0
  115. package/dist/esm/ui/MarkdownEditor/hooks/index.js.map +1 -0
  116. package/dist/esm/ui/MarkdownEditor/hooks/useEditor.js +274 -0
  117. package/dist/esm/ui/MarkdownEditor/hooks/useEditor.js.map +1 -0
  118. package/dist/esm/ui/MarkdownEditor/index.js +4 -0
  119. package/dist/esm/ui/MarkdownEditor/index.js.map +1 -0
  120. package/dist/esm/ui/MarkdownEditor/styles.css +83 -0
  121. package/dist/esm/ui/MarkdownEditor/types.js +2 -0
  122. package/dist/esm/ui/MarkdownEditor/types.js.map +1 -0
  123. package/dist/esm/ui/RelativeTime/utils/formatHumanTime.js +1 -1
  124. package/dist/esm/ui/RelativeTime/utils/formatHumanTime.js.map +1 -1
  125. package/dist/esm/ui/RelativeTime/utils/getOptimalUpdateInterval.js +1 -1
  126. package/dist/esm/ui/RelativeTime/utils/getOptimalUpdateInterval.js.map +1 -1
  127. package/dist/esm/ui/index.js +2 -0
  128. package/dist/esm/ui/index.js.map +1 -1
  129. package/dist/types/ui/DiffChangeMarker/DiffChangeMarker.d.ts +11 -0
  130. package/dist/types/ui/DiffChangeMarker/DiffChangeMarker.d.ts.map +1 -0
  131. package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/DetailedChangeMarker.d.ts +6 -0
  132. package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/DetailedChangeMarker.d.ts.map +1 -0
  133. package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/index.d.ts +3 -0
  134. package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/index.d.ts.map +1 -0
  135. package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/types.d.ts +10 -0
  136. package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/types.d.ts.map +1 -0
  137. package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/SimpleChangeMarker.d.ts +6 -0
  138. package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/SimpleChangeMarker.d.ts.map +1 -0
  139. package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/index.d.ts +3 -0
  140. package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/index.d.ts.map +1 -0
  141. package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/types.d.ts +9 -0
  142. package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/types.d.ts.map +1 -0
  143. package/dist/types/ui/DiffChangeMarker/common/index.d.ts +3 -0
  144. package/dist/types/ui/DiffChangeMarker/common/index.d.ts.map +1 -0
  145. package/dist/types/ui/DiffChangeMarker/icons.d.ts +4 -0
  146. package/dist/types/ui/DiffChangeMarker/icons.d.ts.map +1 -0
  147. package/dist/types/ui/DiffChangeMarker/index.d.ts +3 -0
  148. package/dist/types/ui/DiffChangeMarker/index.d.ts.map +1 -0
  149. package/dist/types/ui/DiffChangeMarker/types.d.ts +18 -0
  150. package/dist/types/ui/DiffChangeMarker/types.d.ts.map +1 -0
  151. package/dist/types/ui/EditableBlock/EditableBlock.d.ts +1 -1
  152. package/dist/types/ui/EditableBlock/EditableBlock.d.ts.map +1 -1
  153. package/dist/types/ui/EditableBlock/types.d.ts +2 -0
  154. package/dist/types/ui/EditableBlock/types.d.ts.map +1 -1
  155. package/dist/types/ui/FileTree/Provider.d.ts +1 -1
  156. package/dist/types/ui/FileTree/Provider.d.ts.map +1 -1
  157. package/dist/types/ui/FileTree/common/File/File.d.ts.map +1 -1
  158. package/dist/types/ui/FileTree/common/Folder/Folder.d.ts.map +1 -1
  159. package/dist/types/ui/FileTree/common/IndentationBlock/IndentationBlock.d.ts.map +1 -1
  160. package/dist/types/ui/FileTree/common/Node/Provider.d.ts.map +1 -1
  161. package/dist/types/ui/FileTree/common/SearchBox/SearchBox.d.ts +1 -1
  162. package/dist/types/ui/FileTree/common/SearchBox/SearchBox.d.ts.map +1 -1
  163. package/dist/types/ui/FileTree/common/SearchBox/types.d.ts +0 -2
  164. package/dist/types/ui/FileTree/common/SearchBox/types.d.ts.map +1 -1
  165. package/dist/types/ui/FileTree/common/TreeView/TreeView.d.ts.map +1 -1
  166. package/dist/types/ui/FileTree/types.d.ts +5 -1
  167. package/dist/types/ui/FileTree/types.d.ts.map +1 -1
  168. package/dist/types/ui/FileTree/utils/hashNodeName.d.ts.map +1 -1
  169. package/dist/types/ui/GitDiffViewer/Provider.d.ts +1 -1
  170. package/dist/types/ui/GitDiffViewer/Provider.d.ts.map +1 -1
  171. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.d.ts +3 -12
  172. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.d.ts.map +1 -1
  173. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.d.ts +10 -0
  174. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.d.ts.map +1 -0
  175. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.d.ts +3 -0
  176. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.d.ts.map +1 -0
  177. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.d.ts +21 -0
  178. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.d.ts.map +1 -0
  179. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.d.ts +1 -1
  180. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.d.ts.map +1 -1
  181. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/types.d.ts +20 -6
  182. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/types.d.ts.map +1 -1
  183. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.d.ts +2 -0
  184. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.d.ts.map +1 -0
  185. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/constants.d.ts +2 -0
  186. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/constants.d.ts.map +1 -0
  187. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/index.d.ts +1 -0
  188. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/index.d.ts.map +1 -1
  189. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/types.d.ts +19 -3
  190. package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/types.d.ts.map +1 -1
  191. package/dist/types/ui/GitDiffViewer/common/FileHeader/FileHeader.d.ts.map +1 -1
  192. package/dist/types/ui/GitDiffViewer/index.d.ts +6 -2
  193. package/dist/types/ui/GitDiffViewer/index.d.ts.map +1 -1
  194. package/dist/types/ui/GitDiffViewer/types.d.ts +9 -11
  195. package/dist/types/ui/GitDiffViewer/types.d.ts.map +1 -1
  196. package/dist/types/ui/GitDiffViewer/utils/highlightDiffHunkLines.d.ts +4 -0
  197. package/dist/types/ui/GitDiffViewer/utils/highlightDiffHunkLines.d.ts.map +1 -0
  198. package/dist/types/ui/GitDiffViewer/utils/index.d.ts +1 -0
  199. package/dist/types/ui/GitDiffViewer/utils/index.d.ts.map +1 -1
  200. package/dist/types/ui/GitDiffViewer/utils/parseGitDiff.d.ts.map +1 -1
  201. package/dist/types/ui/MarkdownEditor/MarkdownEditor.d.ts +10 -0
  202. package/dist/types/ui/MarkdownEditor/MarkdownEditor.d.ts.map +1 -0
  203. package/dist/types/ui/MarkdownEditor/common/Toolbar/Toolbar.d.ts +8 -0
  204. package/dist/types/ui/MarkdownEditor/common/Toolbar/Toolbar.d.ts.map +1 -0
  205. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/Button.d.ts +9 -0
  206. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/Button.d.ts.map +1 -0
  207. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/index.d.ts +3 -0
  208. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/index.d.ts.map +1 -0
  209. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/types.d.ts +14 -0
  210. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/types.d.ts.map +1 -0
  211. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/Group.d.ts +9 -0
  212. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/Group.d.ts.map +1 -0
  213. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/index.d.ts +3 -0
  214. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/index.d.ts.map +1 -0
  215. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/types.d.ts +14 -0
  216. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/types.d.ts.map +1 -0
  217. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.d.ts +9 -0
  218. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.d.ts.map +1 -0
  219. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/index.d.ts +3 -0
  220. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/index.d.ts.map +1 -0
  221. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/types.d.ts +10 -0
  222. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/types.d.ts.map +1 -0
  223. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/index.d.ts +4 -0
  224. package/dist/types/ui/MarkdownEditor/common/Toolbar/common/index.d.ts.map +1 -0
  225. package/dist/types/ui/MarkdownEditor/common/Toolbar/index.d.ts +4 -0
  226. package/dist/types/ui/MarkdownEditor/common/Toolbar/index.d.ts.map +1 -0
  227. package/dist/types/ui/MarkdownEditor/common/Toolbar/types.d.ts +20 -0
  228. package/dist/types/ui/MarkdownEditor/common/Toolbar/types.d.ts.map +1 -0
  229. package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.d.ts +9 -0
  230. package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.d.ts.map +1 -0
  231. package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/index.d.ts +3 -0
  232. package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/index.d.ts.map +1 -0
  233. package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/types.d.ts +14 -0
  234. package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/types.d.ts.map +1 -0
  235. package/dist/types/ui/MarkdownEditor/common/icons.d.ts +9 -0
  236. package/dist/types/ui/MarkdownEditor/common/icons.d.ts.map +1 -0
  237. package/dist/types/ui/MarkdownEditor/common/index.d.ts +4 -0
  238. package/dist/types/ui/MarkdownEditor/common/index.d.ts.map +1 -0
  239. package/dist/types/ui/MarkdownEditor/hooks/index.d.ts +2 -0
  240. package/dist/types/ui/MarkdownEditor/hooks/index.d.ts.map +1 -0
  241. package/dist/types/ui/MarkdownEditor/hooks/useEditor.d.ts +40 -0
  242. package/dist/types/ui/MarkdownEditor/hooks/useEditor.d.ts.map +1 -0
  243. package/dist/types/ui/MarkdownEditor/index.d.ts +3 -0
  244. package/dist/types/ui/MarkdownEditor/index.d.ts.map +1 -0
  245. package/dist/types/ui/MarkdownEditor/types.d.ts +47 -0
  246. package/dist/types/ui/MarkdownEditor/types.d.ts.map +1 -0
  247. package/dist/types/ui/RelativeTime/RelativeTime.d.ts.map +1 -1
  248. package/dist/types/ui/RelativeTime/utils/formatHumanTime.d.ts.map +1 -1
  249. package/dist/types/ui/RelativeTime/utils/getOptimalUpdateInterval.d.ts.map +1 -1
  250. package/dist/types/ui/index.d.ts +2 -0
  251. package/dist/types/ui/index.d.ts.map +1 -1
  252. package/package.json +27 -25
  253. package/dist/esm/ui/EditableBlock/EditableBlock.test.js +0 -57
  254. package/dist/esm/ui/EditableBlock/EditableBlock.test.js.map +0 -1
  255. package/dist/types/ui/EditableBlock/EditableBlock.test.d.ts +0 -2
  256. package/dist/types/ui/EditableBlock/EditableBlock.test.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/ui/FileTree/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAyB,eAAe,EAAE,MAAM,YAAY,CAAC;AAGzE,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAE7C,QAAA,MAAM,QAAQ,0DAMX,eAAe,KAAG,KAAK,CAAC,YA8G1B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/ui/FileTree/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAyB,eAAe,EAAE,MAAM,YAAY,CAAC;AAGzE,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAE7C,QAAA,MAAM,QAAQ,GAAI,+DAOf,eAAe,KAAG,KAAK,CAAC,YA+G1B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/File/File.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C;;;GAGG;AACH,QAAA,MAAM,IAAI,4CAMP,SAAS,KAAG,KAAK,CAAC,YAWpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/File/File.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C;;;GAGG;AACH,QAAA,MAAM,IAAI,GAAI,yCAMX,SAAS,KAAG,KAAK,CAAC,YAWpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Folder.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/Folder/Folder.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;GAGG;AACH,QAAA,MAAM,MAAM,2DAOT,WAAW,KAAG,KAAK,CAAC,YAatB,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Folder.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/Folder/Folder.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;GAGG;AACH,QAAA,MAAM,MAAM,GAAI,wDAOb,WAAW,KAAG,KAAK,CAAC,YAatB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IndentationBlock.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/IndentationBlock/IndentationBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAIxD;;;GAGG;AACH,QAAA,MAAM,gBAAgB,qCAKnB,qBAAqB,KAAG,KAAK,CAAC,YAAY,GAAG,IAkB/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"IndentationBlock.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/IndentationBlock/IndentationBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAIxD;;;GAGG;AACH,QAAA,MAAM,gBAAgB,GAAI,kCAKvB,qBAAqB,KAAG,KAAK,CAAC,YAAY,GAAG,IAkB/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/Node/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAOhD,QAAA,MAAM,QAAQ,qEAQX,aAAa,KAAG,KAAK,CAAC,YAAY,GAAG,IA+MvC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/Node/Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAQhD,QAAA,MAAM,QAAQ,GAAI,kEAQf,aAAa,KAAG,KAAK,CAAC,YAAY,GAAG,IAiNvC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -5,6 +5,6 @@ import type { SearchBoxProps } from "./types.js";
5
5
  * description of the SearchBox component
6
6
  * @returns {React.ReactElement} - Rendered SearchBox
7
7
  */
8
- declare const SearchBox: ({ id, children, className, style, }: SearchBoxProps) => React.ReactElement | null;
8
+ declare const SearchBox: ({ id, className, style, }: SearchBoxProps) => React.ReactElement | null;
9
9
  export default SearchBox;
10
10
  //# sourceMappingURL=SearchBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBox.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/SearchBox/SearchBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAIjD;;;GAGG;AACH,QAAA,MAAM,SAAS,wCAKZ,cAAc,KAAG,KAAK,CAAC,YAAY,GAAG,IAyDxC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"SearchBox.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/SearchBox/SearchBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAIjD;;;GAGG;AACH,QAAA,MAAM,SAAS,GAAI,2BAIhB,cAAc,KAAG,KAAK,CAAC,YAAY,GAAG,IAyDxC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -4,8 +4,6 @@ export interface SearchBoxProps {
4
4
  id?: string;
5
5
  /** Additional CSS classes */
6
6
  className?: string;
7
- /** Child elements */
8
- children?: React.ReactNode;
9
7
  /** Inline styles */
10
8
  style?: React.CSSProperties;
11
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/SearchBox/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,cAAc;IAC7B,4CAA4C;IAC5C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/SearchBox/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,cAAc;IAC7B,4CAA4C;IAC5C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/TreeView/TreeView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,QAAQ,oDAIX,aAAa,KAAG,KAAK,CAAC,YA6DxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/FileTree/common/TreeView/TreeView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,QAAQ,GAAI,iDAIf,aAAa,KAAG,KAAK,CAAC,YA6DxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -56,9 +56,13 @@ export type ProviderOptions = {
56
56
  style?: React.CSSProperties;
57
57
  /**
58
58
  * Consider using `FileTree.Folder` and `FileTree.File` components to build the file tree.
59
- * And `FileTree.Search` component to add search functionality.
60
59
  */
61
60
  children?: React.ReactNode;
61
+ /**
62
+ * The header of the file tree.
63
+ * Consider using `FileTree.Search` component to add search functionality.
64
+ */
65
+ header?: React.ReactNode;
62
66
  } & UserContextOptions;
63
67
  export type FileTreeComponent = ((props: ProviderOptions) => React.ReactElement) & {
64
68
  SearchBox: (props: SearchBoxProps) => React.ReactElement | null;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui/FileTree/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EACV,SAAS,EACT,WAAW,EACX,cAAc,EACd,aAAa,EACd,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEjD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,UAAU,EAAE,OAAO,C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K,CAAC,YAAY,GAAG,IAAI,CAAC;CAC/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hashNodeName.d.ts","sourceRoot":"","sources":["../../../../../src/ui/FileTree/utils/hashNodeName.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,SAAU,MAAM,WAQjC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"hashNodeName.d.ts","sourceRoot":"","sources":["../../../../../src/ui/FileTree/utils/hashNodeName.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,GAAI,MAAM,MAAM,WAQjC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import "./styles.css";
2
2
  import type { ProviderOptions } from "./types.js";
3
- declare const Provider: ({ id, className, style, children, ...contextOptions }: ProviderOptions) => React.ReactElement;
3
+ declare const Provider: import("react").ForwardRefExoticComponent<ProviderOptions & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export default Provider;
5
5
  //# sourceMappingURL=Provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/ui/GitDiffViewer/Provider.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAIlD,QAAA,MAAM,QAAQ,0DAMX,eAAe,KAAG,KAAK,CAAC,YAyC1B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/ui/GitDiffViewer/Provider.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAIlD,QAAA,MAAM,QAAQ,4GA2Cb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,16 +1,7 @@
1
1
  import type React from "react";
2
+ import "./HighlighTheme.css";
2
3
  import "./styles.css";
3
4
  import type { CodeDiffViewerProps } from "./types.js";
4
- import "./HighlighTheme.css";
5
- /**
6
- * Displays a diff in a table format with line numbers and syntax highlighting.
7
- * With option to add comments to specific lines and interactive gutter for adding comments.
8
- *
9
- * @returns {React.ReactElement} - Rendered CodeDiffViewer
10
- */
11
- declare const CodeDiffViewer: {
12
- ({ id, AddComment, className, style, }: CodeDiffViewerProps): React.ReactElement | null;
13
- displayName: string;
14
- };
15
- export default CodeDiffViewer;
5
+ declare const _default: React.ForwardRefExoticComponent<CodeDiffViewerProps & React.RefAttributes<HTMLTableElement>>;
6
+ export default _default;
16
7
  //# sourceMappingURL=CodeDiffViewer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodeDiffViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAM7B;;;;;GAKG;AACH,QAAA,MAAM,cAAc;4CAKjB,mBAAmB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI;;CAyKjD,CAAC;AAIF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"CodeDiffViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;;AA6HtD,wBAA0C"}
@@ -0,0 +1,10 @@
1
+ import type React from "react";
2
+ import "./styles.css";
3
+ import type { AnnotatedDiffLineProps } from "./types.js";
4
+ /**
5
+ * A component that displays a diff line content, line decorations and AddComment component.
6
+ * @returns {React.ReactElement} - Rendered AnnotatedDiffLine
7
+ */
8
+ declare const AnnotatedDiffLine: ({ newLineNumber, oldLineNumber, diffLineNumber, AddComment, onLineClick, type, ...rest }: AnnotatedDiffLineProps) => React.ReactElement;
9
+ export default AnnotatedDiffLine;
10
+ //# sourceMappingURL=AnnotatedDiffLine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnnotatedDiffLine.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAIzD;;;GAGG;AACH,QAAA,MAAM,iBAAiB,GAAI,0FAQxB,sBAAsB,KAAG,KAAK,CAAC,YA0DjC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as AnnotatedDiffLine } from "./AnnotatedDiffLine.js";
2
+ export * from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACtE,cAAc,YAAY,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { CodeDiffViewerAddComment, CodeDiffViewerLineSelectOptions } from "../../types.js";
2
+ import type { DiffContentLineProps } from "../DiffLine/types.js";
3
+ export type AnnotationOptions = {
4
+ /**
5
+ * The current line number in the new file.
6
+ */
7
+ newLineNumber: number;
8
+ /**
9
+ * The current line number in the old file.
10
+ */
11
+ oldLineNumber: number;
12
+ /**
13
+ * The current line number in the diff file.
14
+ * This is the line number that will be used to match the line decorations.
15
+ */
16
+ diffLineNumber: number;
17
+ AddComment?: CodeDiffViewerAddComment;
18
+ onLineClick?: (options: CodeDiffViewerLineSelectOptions) => void;
19
+ };
20
+ export type AnnotatedDiffLineProps = Omit<DiffContentLineProps, "onLineClick"> & AnnotationOptions;
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,wBAAwB,EACxB,+BAA+B,EAChC,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,+BAA+B,KAAK,IAAI,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,GAC5E,iBAAiB,CAAC"}
@@ -6,6 +6,6 @@ import type { DiffLineProps } from "./types.js";
6
6
  *
7
7
  * @returns {React.ReactElement} - Rendered DiffLine
8
8
  */
9
- declare const DiffLine: ({ id, className, style, ...props }: DiffLineProps) => React.ReactElement;
9
+ declare const DiffLine: ({ id, className, style, onLineClick, ...props }: DiffLineProps) => React.ReactElement;
10
10
  export default DiffLine;
11
11
  //# sourceMappingURL=DiffLine.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DiffLine.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAIhD;;;;GAIG;AACH,QAAA,MAAM,QAAQ,uCAKX,aAAa,KAAG,KAAK,CAAC,YAwDxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"DiffLine.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAKhD;;;;GAIG;AACH,QAAA,MAAM,QAAQ,GAAI,iDAMf,aAAa,KAAG,KAAK,CAAC,YAyExB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,20 +1,34 @@
1
1
  import type React from "react";
2
2
  export type DiffContentLine = {
3
- type: "add" | "remove" | "context";
4
- lineNum1: number | string | null;
5
- lineNum2: number | string | null;
6
3
  content: string;
7
- };
4
+ } & ({
5
+ type: "add";
6
+ addLineNumber: number;
7
+ } | {
8
+ type: "remove";
9
+ removeLineNumber: number;
10
+ } | {
11
+ type: "context";
12
+ addLineNumber: number;
13
+ removeLineNumber: number;
14
+ });
8
15
  export type DiffHunkLine = {
9
16
  type: "hunk";
10
17
  hunkHeader: string;
18
+ hunkIndex: number;
11
19
  };
12
- export type DiffLineProps = {
20
+ type DiffLineCommonProps = {
13
21
  /** A unique identifier for the DiffLine */
14
22
  id?: string;
15
23
  /** Additional CSS classes */
16
24
  className?: string;
17
25
  /** Inline styles */
18
26
  style?: React.CSSProperties;
19
- } & (DiffContentLine | DiffHunkLine);
27
+ /** Callback function for when a line is clicked. */
28
+ onLineClick?: (() => void) | undefined;
29
+ };
30
+ export type DiffContentLineProps = DiffLineCommonProps & DiffContentLine;
31
+ export type DiffHunkLineProps = DiffLineCommonProps & DiffHunkLine;
32
+ export type DiffLineProps = DiffContentLineProps | DiffHunkLineProps;
33
+ export {};
20
34
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,SAAS,CAAC;IACnC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,2CAA2C;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,GAAG,CAAC,eAAe,GAAG,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,CACA;IACE,IAAI,EAAE,KAAK,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;CACvB,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;CAC1B,GACD;IACE,IAAI,EAAE,SAAS,CAAC;IAEhB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CACJ,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,2CAA2C;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,oDAAoD;IACpD,WAAW,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,GAAG,eAAe,CAAC;AACzE,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG,YAAY,CAAC;AACnE,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const CommentIcon: import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,yCAcvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const tableWidthCSSVar = "--table-width";
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,kBAAkB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { default as CodeDiffViewer } from "./CodeDiffViewer.js";
2
+ export * from "./constants.js";
2
3
  export * from "./types.js";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
@@ -1,18 +1,34 @@
1
1
  import type React from "react";
2
+ export type CodeDiffViewerLineSelectOptions = {
3
+ hunkLineNumber: number;
4
+ diffLineNumber: number;
5
+ };
2
6
  export type CodeDiffViewerAddComment = (props: {
3
- lineNumber: number;
4
7
  onClose: () => void;
5
- }) => React.ReactNode;
8
+ } & CodeDiffViewerLineSelectOptions) => React.ReactNode;
6
9
  export type CodeDiffViewerProps = {
7
10
  /** A unique identifier for the CodeDiffViewer */
8
11
  id?: string;
9
12
  /** Additional CSS classes */
10
13
  className?: string;
11
14
  /** Add comment element.
12
- * If provided, the add comment button will be displayed on the line number.
15
+ * If provided, the code viewer will be in interactive mode.
13
16
  */
14
17
  AddComment?: CodeDiffViewerAddComment;
18
+ /** Callback function for when a line is clicked.
19
+ * If provided, the code viewer will be in interactive mode.
20
+ */
21
+ onLineClick?: (options: CodeDiffViewerLineSelectOptions) => void;
15
22
  /** Inline styles */
16
23
  style?: React.CSSProperties;
24
+ /**
25
+ * Disable width calculation for the table (default: false).
26
+ * This is useful when there is multiple instances of this component on the same page.
27
+ * To avoid doing the same width calculation for each instance separately.
28
+ *
29
+ * Instead, ref the table element and set the width on the parent element.
30
+ * To update the table width, call the `utils/updateTableWidth` function.
31
+ */
32
+ disableWidthCalculation?: boolean;
17
33
  };
18
34
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,wBAAwB,GAAG,CAAC,KAAK,EAAE;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,KAAK,KAAK,CAAC,SAAS,CAAC;AAEtB,MAAM,MAAM,mBAAmB,GAAG;IAChC,iDAAiD;IACjD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/CodeDiffViewer/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,+BAA+B,GAAG;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,CACrC,KAAK,EAAE;IACL,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,GAAG,+BAA+B,KAChC,KAAK,CAAC,SAAS,CAAC;AAErB,MAAM,MAAM,mBAAmB,GAAG;IAChC,iDAAiD;IACjD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,+BAA+B,KAAK,IAAI,CAAC;IACjE,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B;;;;;;;OAOG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/FileHeader/FileHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAIlD;;;;;GAKG;AACH,QAAA,MAAM,UAAU;6GAUb,eAAe,GAAG,KAAK,CAAC,YAAY;;CA0EtC,CAAC;AAIF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"FileHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/GitDiffViewer/common/FileHeader/FileHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAIlD;;;;;GAKG;AACH,QAAA,MAAM,UAAU;6GAUb,eAAe,GAAG,KAAK,CAAC,YAAY;;CA4EtC,CAAC;AAIF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,10 @@
1
1
  export * from "./hooks/index.js";
2
2
  export type { DiffFile as GitDiffFile, Hunk as GitDiffHunk } from "./types.js";
3
3
  export * from "./utils/index.js";
4
- import type { GitDiffViewerComponent } from "./types.js";
5
- export declare const GitDiffViewer: GitDiffViewerComponent;
4
+ import Provider from "./Provider.js";
5
+ import { CodeDiffViewer, FileHeader } from "./common/index.js";
6
+ export declare const GitDiffViewer: typeof Provider & {
7
+ FileHeader: typeof FileHeader;
8
+ CodeDiffViewer: typeof CodeDiffViewer;
9
+ };
6
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/GitDiffViewer/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,QAAQ,IAAI,WAAW,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,YAAY,CAAC;AAC/E,cAAc,kBAAkB,CAAC;AAIjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD,eAAO,MAAM,aAAa,EAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/GitDiffViewer/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,QAAQ,IAAI,WAAW,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,YAAY,CAAC;AAC/E,cAAc,kBAAkB,CAAC;AAEjC,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAe,OAAO,QAAQ,GAAG;IACzD,UAAU,EAAE,OAAO,UAAU,CAAC;IAC9B,cAAc,EAAE,OAAO,cAAc,CAAC;CACvC,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { AllOrNone } from "@canonical/utils";
2
2
  import type React from "react";
3
- import type { CodeDiffViewerProps, FileHeaderProps } from "./common/index.js";
4
3
  /**
5
4
  * When this is provided, the component will add support for collapsing the diff code section.
6
5
  */
@@ -37,8 +36,6 @@ export type LineDecorationOptions = {
37
36
  };
38
37
  type UserContextOptions = LineDecorationOptions & DiffOptions & WrapLinesOption & AllOrNone<CollapseOption>;
39
38
  type ManagedContextOptions = {
40
- addCommentEnabled: boolean;
41
- setAddCommentEnabled: (enabled: boolean) => void;
42
39
  addCommentOpenLocations: Set<number>;
43
40
  toggleAddCommentLocation: (lineNumber: number) => void;
44
41
  };
@@ -52,12 +49,17 @@ export type ProviderOptions = {
52
49
  */
53
50
  children?: React.ReactNode;
54
51
  } & UserContextOptions;
52
+ export type Position = {
53
+ start: number;
54
+ end: number;
55
+ };
55
56
  export type Hunk = {
56
57
  header: string;
57
- oldStart: number;
58
- oldLines: number;
59
- newStart: number;
60
- newLines: number;
58
+ positions: {
59
+ old: Position;
60
+ new: Position;
61
+ diff: Position;
62
+ };
61
63
  lines: {
62
64
  type: "add" | "remove" | "context";
63
65
  content: string;
@@ -69,9 +71,5 @@ export type DiffFile = {
69
71
  hunks: Hunk[];
70
72
  fileChangeState: "none" | "added" | "deleted" | "modified";
71
73
  };
72
- export type GitDiffViewerComponent = ((props: ProviderOptions) => React.ReactElement) & {
73
- FileHeader: (props: FileHeaderProps) => React.ReactElement | null;
74
- CodeDiffViewer: (props: CodeDiffViewerProps) => React.ReactElement | null;
75
- };
76
74
  export {};
77
75
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui/GitDiffViewer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9E;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,gBAAgB,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB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f,SAAS,CAAC,cAAc,CAAC,CAAC;AAE5B,KAAK,qBAAqB,GAAG;IAC3B,uBAAuB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CACxD,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,qBAAqB,CAAC;AAExE,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,kBAAkB,CAAC;AAEvB,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE;QACT,GAAG,EAAE,QAAQ,CAAC;QACd,GAAG,EAAE,QAAQ,CAAC;QACd,IAAI,EAAE,QAAQ,CAAC;KAChB,CAAC;IACF,KAAK,EAAE;QACL,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,SAAS,CAAC;QACnC,OAAO,EAAE,MAAM,CAAC;KACjB,EAAE,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,eAAe,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;CAC5D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Hunk } from "../types.js";
2
+ declare function highlightDiffHunkLines(filePath: string, hunkLines: Hunk["lines"]): string[];
3
+ export default highlightDiffHunkLines;
4
+ //# sourceMappingURL=highlightDiffHunkLines.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlightDiffHunkLines.d.ts","sourceRoot":"","sources":["../../../../../src/ui/GitDiffViewer/utils/highlightDiffHunkLines.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AA8DxC,iBAAS,sBAAsB,CAC7B,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,GACvB,MAAM,EAAE,CAwCV;AAED,eAAe,sBAAsB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { default as parseGitDiff } from "./parseGitDiff.js";
2
+ export { default as highlightDiffHunkLines } from "./highlightDiffHunkLines.js";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/GitDiffViewer/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/GitDiffViewer/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parseGitDiff.d.ts","sourceRoot":"","sources":["../../../../../src/ui/GitDiffViewer/utils/parseGitDiff.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAQ,MAAM,aAAa,CAAC;AAElD,iBAAS,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,CAwElD;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"parseGitDiff.d.ts","sourceRoot":"","sources":["../../../../../src/ui/GitDiffViewer/utils/parseGitDiff.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAkB,MAAM,aAAa,CAAC;AAE5D,iBAAS,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,CA+FlD;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type React from "react";
2
+ import "../GitDiffViewer/common/CodeDiffViewer/HighlighTheme.css";
3
+ import "./styles.css";
4
+ import type { MarkdownEditorProps } from "./types.js";
5
+ /**
6
+ * A dual-mode Markdown editor for writing and previewing Markdown content.
7
+ */
8
+ declare const MarkdownEditor: React.ForwardRefExoticComponent<Omit<MarkdownEditorProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
9
+ export default MarkdownEditor;
10
+ //# sourceMappingURL=MarkdownEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../../src/ui/MarkdownEditor/MarkdownEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,0DAA0D,CAAC;AAQlE,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAY,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAMhE;;GAEG;AACH,QAAA,MAAM,cAAc,8GA2NnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ import "./styles.css";
2
+ import type { ToolbarComponent } from "./types.js";
3
+ /**
4
+ * A horizontal container that groups related controls in a toolbar.
5
+ */
6
+ declare const Toolbar: ToolbarComponent;
7
+ export default Toolbar;
8
+ //# sourceMappingURL=Toolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/MarkdownEditor/common/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAQA,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD;;GAEG;AACH,QAAA,MAAM,OAAO,EAuDP,gBAAgB,CAAC;AAMvB,eAAe,OAAO,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import "./styles.css";
3
+ import type { ToolbarButtonProps } from "./types.js";
4
+ /**
5
+ * An accessible button with tooltip support designed for use in toolbars.
6
+ */
7
+ declare const ToolbarButton: ({ children, className, style, label, shortcut, ...buttonProps }: ToolbarButtonProps) => React.ReactElement;
8
+ export default ToolbarButton;
9
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAIrD;;GAEG;AACH,QAAA,MAAM,aAAa,GAAI,iEAOpB,kBAAkB,KAAG,KAAK,CAAC,YA8B7B,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as ToolbarButton } from "./Button.js";
2
+ export * from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Button/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACvD,cAAc,YAAY,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type React from "react";
2
+ export type ToolbarButtonProps = {
3
+ /** Additional CSS classes */
4
+ className?: string;
5
+ /** Child elements */
6
+ children?: React.ReactNode;
7
+ /** Inline styles */
8
+ style?: React.CSSProperties;
9
+ /** Toolbar button label */
10
+ label: string;
11
+ /** The shortcut key to trigger the button */
12
+ shortcut?: string;
13
+ } & React.ButtonHTMLAttributes<HTMLButtonElement>;
14
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Button/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import type { ToolbarGroupProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * A container for grouping related controls within a toolbar.
6
+ */
7
+ declare const ToolbarGroup: ({ id, children, className, style, label, }: ToolbarGroupProps) => React.ReactElement;
8
+ export default ToolbarGroup;
9
+ //# sourceMappingURL=Group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Group/Group.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,cAAc,CAAC;AAItB;;GAEG;AACH,QAAA,MAAM,YAAY,GAAI,4CAMnB,iBAAiB,KAAG,KAAK,CAAC,YAa5B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as ToolbarGroup } from "./Group.js";
2
+ export * from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Group/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAC;AACrD,cAAc,YAAY,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type React from "react";
2
+ export interface ToolbarGroupProps {
3
+ /** A unique identifier for the ToolbarGroup */
4
+ id?: string;
5
+ /** Additional CSS classes */
6
+ className?: string;
7
+ /** Child elements */
8
+ children?: React.ReactNode;
9
+ /** Inline styles */
10
+ style?: React.CSSProperties;
11
+ /** Toolbar group label */
12
+ label: string;
13
+ }
14
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Group/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,iBAAiB;IAChC,+CAA+C;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import "./styles.css";
3
+ import type { ToolbarSeparatorProps } from "./types.js";
4
+ /**
5
+ * A visual separator between groups of controls in a toolbar.
6
+ */
7
+ declare const ToolbarSeparator: ({ id, className, style, }: ToolbarSeparatorProps) => React.ReactElement;
8
+ export default ToolbarSeparator;
9
+ //# sourceMappingURL=Separator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAIxD;;GAEG;AACH,QAAA,MAAM,gBAAgB,GAAI,2BAIvB,qBAAqB,KAAG,KAAK,CAAC,YAWhC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as ToolbarSeparator } from "./Separator.js";
2
+ export * from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Separator/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,cAAc,YAAY,CAAC"}