@code-hike/smooth-code
Advanced tools
Comparing version 0.3.0--canary.77.e9bb465.0 to 0.3.0--canary.77.eda31ba.0
import React from "react"; | ||
import { IRawTheme } from "vscode-textmate"; | ||
import { FocusString } from "./focus-parser"; | ||
import { FullTween, Code } from "@code-hike/utils"; | ||
import { FullTween, Code, FocusString } from "@code-hike/utils"; | ||
import { CodeAnnotation } from "./partial-step-parser"; | ||
@@ -6,0 +5,0 @@ declare type HTMLProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>; |
import React from "react"; | ||
import { IRawTheme } from "vscode-textmate"; | ||
import { FocusString } from "./focus-parser"; | ||
import { Tween } from "@code-hike/utils"; | ||
import { Tween, FocusString } from "@code-hike/utils"; | ||
import { CodeAnnotation } from "./step-parser"; | ||
@@ -6,0 +5,0 @@ declare type HTMLProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>; |
@@ -7,3 +7,2 @@ import { HeavyCode, CodeProps } from "./heavy-code"; | ||
import { CodeSpring } from "./code-spring"; | ||
import { mapFocusToLineNumbers } from "./focus-parser"; | ||
export { CodeTween, CodeSpring, CodeAnnotation, CodeStep, CodeConfig, mapFocusToLineNumbers, HeavyCode, Code, CodeProps, highlightCode, highlightTween, }; | ||
export { CodeTween, CodeSpring, CodeAnnotation, CodeStep, CodeConfig, HeavyCode, Code, CodeProps, highlightCode, highlightTween, }; |
import React from "react"; | ||
import { IRawTheme } from "vscode-textmate"; | ||
import { FocusString } from "./focus-parser"; | ||
import { Tween, FullTween } from "@code-hike/utils"; | ||
import { Tween, FullTween, FocusString } from "@code-hike/utils"; | ||
import { CodeAnnotation } from "./partial-step-parser"; | ||
@@ -6,0 +5,0 @@ import { HighlightedLine } from "./partial-step-parser"; |
@@ -1,3 +0,2 @@ | ||
import { Tween, FullTween } from "@code-hike/utils"; | ||
import { FocusString } from "./focus-parser"; | ||
import { Tween, FocusString, FullTween } from "@code-hike/utils"; | ||
import { EditorTheme } from "./themes"; | ||
@@ -12,2 +11,3 @@ import React from "react"; | ||
data: any; | ||
theme: EditorTheme; | ||
}) => React.ReactElement; | ||
@@ -51,2 +51,3 @@ data?: any; | ||
data: any; | ||
theme: EditorTheme; | ||
Component: (props: { | ||
@@ -56,2 +57,3 @@ style: React.CSSProperties; | ||
data: any; | ||
theme: EditorTheme; | ||
}) => React.ReactElement; | ||
@@ -65,2 +67,3 @@ }; | ||
data: any; | ||
theme: EditorTheme; | ||
Component: (props: { | ||
@@ -70,2 +73,3 @@ style?: React.CSSProperties; | ||
data: any; | ||
theme: EditorTheme; | ||
}) => React.ReactElement; | ||
@@ -72,0 +76,0 @@ }; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { Dimensions } from "./use-dimensions"; | ||
@@ -3,0 +2,0 @@ import { CodeStep } from "./step-parser"; |
@@ -1,3 +0,2 @@ | ||
import { FullTween } from "@code-hike/utils"; | ||
import { FocusString, ColumnExtremes } from "./focus-parser"; | ||
import { FullTween, FocusString, ColumnExtremes } from "@code-hike/utils"; | ||
import { MergedCode, FocusedCode, MergedLine, LineGroup, AnnotatedLine, MultiLineAnnotation, InlineAnnotation } from "./step-parser"; | ||
@@ -4,0 +3,0 @@ import React from "react"; |
@@ -1,3 +0,2 @@ | ||
import { Tween, FullTween } from "@code-hike/utils"; | ||
import { FocusString } from "./focus-parser"; | ||
import { Tween, FocusString, FullTween } from "@code-hike/utils"; | ||
import { EditorTheme } from "./themes"; | ||
@@ -12,2 +11,3 @@ import React from "react"; | ||
data: any; | ||
theme: EditorTheme; | ||
}) => React.ReactElement; | ||
@@ -52,2 +52,3 @@ data?: any; | ||
data: any; | ||
theme: EditorTheme; | ||
Component: (props: { | ||
@@ -57,2 +58,3 @@ style: React.CSSProperties; | ||
data: any; | ||
theme: EditorTheme; | ||
}) => React.ReactElement; | ||
@@ -66,2 +68,3 @@ }; | ||
data: any; | ||
theme: EditorTheme; | ||
Component: (props: { | ||
@@ -71,2 +74,3 @@ style?: React.CSSProperties; | ||
data: any; | ||
theme: EditorTheme; | ||
}) => React.ReactElement; | ||
@@ -73,0 +77,0 @@ }; |
import React from "react"; | ||
import { FocusString } from "./focus-parser"; | ||
import { Tween } from "@code-hike/utils"; | ||
import { FocusString, Tween } from "@code-hike/utils"; | ||
declare type Dimensions = { | ||
@@ -5,0 +4,0 @@ containerWidth: number; |
{ | ||
"name": "@code-hike/smooth-code", | ||
"version": "0.3.0--canary.77.e9bb465.0", | ||
"version": "0.3.0--canary.77.eda31ba.0", | ||
"main": "dist/index.cjs.js", | ||
@@ -18,13 +18,13 @@ "typings": "dist/index.d.ts", | ||
"devDependencies": { | ||
"@code-hike/script": "0.3.0--canary.77.e9bb465.0", | ||
"@code-hike/script": "0.3.0--canary.77.eda31ba.0", | ||
"@types/diff": "^4.0.2", | ||
"@types/jest": "^24.0.15", | ||
"@types/react": "^16.9.38", | ||
"@types/react": "^17.0.2", | ||
"jest": "^26.5.3", | ||
"react": "^16.13.1", | ||
"react": "^17.0.2", | ||
"ts-jest": "^26.4.1" | ||
}, | ||
"dependencies": { | ||
"@code-hike/highlighter": "0.3.0--canary.77.e9bb465.0", | ||
"@code-hike/utils": "0.3.0--canary.77.e9bb465.0", | ||
"@code-hike/highlighter": "0.3.0--canary.77.eda31ba.0", | ||
"@code-hike/utils": "0.3.0--canary.77.eda31ba.0", | ||
"diff": "^4.0.2", | ||
@@ -50,3 +50,3 @@ "use-spring": "^0.2.3" | ||
}, | ||
"gitHead": "e9bb465ab104d9e5a844a0eb6c1d0c551136e3ea" | ||
"gitHead": "eda31ba3ce0ab994f4d4238736294e2779fc3c1b" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
175559
24
3637
+ Added@code-hike/highlighter@0.3.0--canary.77.eda31ba.0(transitive)
+ Added@code-hike/utils@0.3.0--canary.77.eda31ba.0(transitive)
- Removed@code-hike/highlighter@0.3.0--canary.77.e9bb465.0(transitive)
- Removed@code-hike/utils@0.3.0--canary.77.e9bb465.0(transitive)