@stoplight/mosaic-code-viewer
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -11,2 +11,3 @@ /** | ||
showLineNumbers?: boolean; | ||
showMaxLines?: number; | ||
title?: string; | ||
@@ -46,6 +47,7 @@ noCopyButton?: boolean; | ||
export declare const CodeViewer: <E extends React.ElementType = 'pre'>(props: CodeViewerProps<E>) => React.ReactElement | null; | ||
export declare const useHighlight: ({ value, language, showLineNumbers, style: propStyle, }: { | ||
export declare const useHighlight: ({ value, language, showLineNumbers, showMaxLines, style: propStyle, }: { | ||
value: string; | ||
language?: CodeViewerLanguage | string; | ||
showLineNumbers?: boolean; | ||
showMaxLines?: number; | ||
style?: React.CSSProperties; | ||
@@ -52,0 +54,0 @@ }) => { |
{ | ||
"name": "@stoplight/mosaic-code-viewer", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"sideEffects": true, | ||
@@ -11,3 +11,3 @@ "license": "Apache-2.0", | ||
"tslib": "^2.1.0", | ||
"@stoplight/mosaic": "1.3.0", | ||
"@stoplight/mosaic": "1.4.0", | ||
"clsx": "^1.1.1", | ||
@@ -14,0 +14,0 @@ "@fortawesome/fontawesome-svg-core": "^1.2.35", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
368714
9371
+ Added@stoplight/mosaic@1.4.0(transitive)
- Removed@stoplight/mosaic@1.3.0(transitive)
Updated@stoplight/mosaic@1.4.0