@code-hike/smooth-code
Advanced tools
Comparing version 0.3.0--canary.86.f0a55af.0 to 0.3.0--canary.94.2112ee3.0
@@ -1,2 +0,2 @@ | ||
import { CodeAnnotation, InlineAnnotation, MultiLineAnnotation, TokenGroup, AnnotatedTokenGroups, FocusedLine, AnnotatedLine, LineGroup } from "./step-parser"; | ||
import { CodeAnnotation, InlineAnnotation, MultiLineAnnotation, TokenGroup, AnnotatedTokenGroups, FocusedLine, AnnotatedLine, LineGroup } from "./partial-step-parser"; | ||
import { Tween, FullTween } from "@code-hike/utils"; | ||
@@ -3,0 +3,0 @@ import { EditorTheme } from "./themes"; |
import { FullTween } from "@code-hike/utils"; | ||
import { HighlightedLine, MergedCode } from "./step-parser"; | ||
import { HighlightedLine, MergedCode } from "./partial-step-parser"; | ||
export declare function mergeLines(code: FullTween<string>, lines: FullTween<HighlightedLine[]>): MergedCode; |
@@ -1,7 +0,4 @@ | ||
import { HeavyCode, CodeProps } from "./heavy-code"; | ||
import { CodeTween, CodeStep, CodeConfig } from "./code-tween"; | ||
import { CodeAnnotation } from "./step-parser"; | ||
import { highlightTween, highlightCode } from "./highlighter"; | ||
import { Code } from "./oldcode"; | ||
import { CodeAnnotation } from "./partial-step-parser"; | ||
import { CodeSpring } from "./code-spring"; | ||
export { CodeTween, CodeSpring, CodeAnnotation, CodeStep, CodeConfig, HeavyCode, Code, CodeProps, highlightCode, highlightTween, }; | ||
export { CodeTween, CodeSpring, CodeAnnotation, CodeStep, CodeConfig, }; |
@@ -1,2 +0,2 @@ | ||
import { LineWithElement, AnnotatedLine } from "./step-parser"; | ||
import { LineWithElement, AnnotatedLine } from "./partial-step-parser"; | ||
export declare function getLinesWithElements(lines: AnnotatedLine[], verticalInterval: [number, number], enterCount: number, exitCount: number): LineWithElement[]; |
import React from "react"; | ||
import { CodeStep } from "./step-parser"; | ||
import { CodeShift } from "./partial-step-parser"; | ||
import { Dimensions } from "./use-dimensions"; | ||
@@ -9,5 +9,5 @@ export declare function SmoothContainer({ dimensions, codeStep, children, minZoom, maxZoom, center, progress, }: { | ||
center?: boolean; | ||
codeStep: CodeStep; | ||
codeStep: CodeShift; | ||
children: (focusWidth: number) => React.ReactNode; | ||
progress: number; | ||
}): JSX.Element; |
import { Dimensions } from "./use-dimensions"; | ||
import { CodeStep } from "./step-parser"; | ||
import { CodeShift } from "./partial-step-parser"; | ||
declare type SmoothLinesProps = { | ||
@@ -9,5 +9,5 @@ progress: number; | ||
center?: boolean; | ||
codeStep: CodeStep; | ||
codeStep: CodeShift; | ||
}; | ||
export declare function SmoothLines(props: SmoothLinesProps): JSX.Element; | ||
export {}; |
import { FullTween, FocusString, ColumnExtremes } from "@code-hike/utils"; | ||
import { MergedCode, FocusedCode, MergedLine, LineGroup, AnnotatedLine, MultiLineAnnotation, InlineAnnotation } from "./step-parser"; | ||
import { MergedCode, FocusedCode, MergedLine, LineGroup, AnnotatedLine, MultiLineAnnotation, InlineAnnotation } from "./partial-step-parser"; | ||
import React from "react"; | ||
@@ -4,0 +4,0 @@ export declare function splitByAnnotations(lines: AnnotatedLine[], annotations?: FullTween<MultiLineAnnotation[]>): { |
{ | ||
"name": "@code-hike/smooth-code", | ||
"version": "0.3.0--canary.86.f0a55af.0", | ||
"version": "0.3.0--canary.94.2112ee3.0", | ||
"main": "dist/index.cjs.js", | ||
@@ -18,3 +18,3 @@ "typings": "dist/index.d.ts", | ||
"devDependencies": { | ||
"@code-hike/script": "0.3.0--canary.86.f0a55af.0", | ||
"@code-hike/script": "0.3.0--canary.94.2112ee3.0", | ||
"@types/diff": "^4.0.2", | ||
@@ -28,4 +28,4 @@ "@types/jest": "^24.0.15", | ||
"dependencies": { | ||
"@code-hike/highlighter": "0.3.0--canary.86.f0a55af.0", | ||
"@code-hike/utils": "0.3.0--canary.86.f0a55af.0", | ||
"@code-hike/highlighter": "0.3.0--canary.94.2112ee3.0", | ||
"@code-hike/utils": "0.3.0--canary.94.2112ee3.0", | ||
"diff": "^4.0.2", | ||
@@ -51,3 +51,3 @@ "use-spring": "^0.2.3" | ||
}, | ||
"gitHead": "f0a55af2796a8f99ba39f37bd2214c43687b1044" | ||
"gitHead": "2112ee3a931529de6e410edf78eb62478d0b3260" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
133368
19
2694
+ Added@code-hike/highlighter@0.3.0--canary.94.2112ee3.0(transitive)
+ Added@code-hike/utils@0.3.0--canary.94.2112ee3.0(transitive)
- Removed@code-hike/highlighter@0.3.0--canary.86.f0a55af.0(transitive)
- Removed@code-hike/utils@0.3.0--canary.86.f0a55af.0(transitive)