@stoplight/mosaic-code-viewer
Advanced tools
Comparing version 1.0.0-beta.6 to 1.0.0-beta.7
@@ -260,3 +260,3 @@ import { Box, useClipboard, Button } from '@stoplight/mosaic'; | ||
return React.createElement(CodeContainer, __assign({ | ||
position: "relative", | ||
pos: "relative", | ||
title: title, | ||
@@ -377,3 +377,3 @@ className: "sl-code-viewer", | ||
return React.createElement(Box, { | ||
position: "absolute", | ||
pos: "absolute", | ||
right: 0, | ||
@@ -380,0 +380,0 @@ pr: 2, |
@@ -265,3 +265,3 @@ (function (global, factory) { | ||
return React__default.createElement(CodeContainer, __assign({ | ||
position: "relative", | ||
pos: "relative", | ||
title: title, | ||
@@ -382,3 +382,3 @@ className: "sl-code-viewer", | ||
return React__default.createElement(mosaic.Box, { | ||
position: "absolute", | ||
pos: "absolute", | ||
right: 0, | ||
@@ -385,0 +385,0 @@ pr: 2, |
@@ -12,3 +12,3 @@ import { BoxOwnProps, IButtonProps } from '@stoplight/mosaic'; | ||
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; | ||
textDecorationLine?: "none" | "line-through" | "underline" | "underline line-through"; | ||
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through"; | ||
opacity?: number; | ||
@@ -24,3 +24,3 @@ }; | ||
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; | ||
textDecorationLine?: "none" | "line-through" | "underline" | "underline line-through"; | ||
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through"; | ||
opacity?: number; | ||
@@ -38,3 +38,3 @@ }; | ||
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; | ||
textDecorationLine?: "none" | "line-through" | "underline" | "underline line-through"; | ||
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through"; | ||
opacity?: number; | ||
@@ -50,3 +50,3 @@ }; | ||
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; | ||
textDecorationLine?: "none" | "line-through" | "underline" | "underline line-through"; | ||
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through"; | ||
opacity?: number; | ||
@@ -71,3 +71,3 @@ }; | ||
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; | ||
textDecorationLine?: "none" | "line-through" | "underline" | "underline line-through"; | ||
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through"; | ||
opacity?: number; | ||
@@ -83,3 +83,3 @@ }; | ||
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; | ||
textDecorationLine?: "none" | "line-through" | "underline" | "underline line-through"; | ||
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through"; | ||
opacity?: number; | ||
@@ -108,3 +108,3 @@ }; | ||
}; | ||
export declare const CodeContainer: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<import("../../../../../dist/libs/core").IFontSizeProps & import("../../../../../dist/libs/core").IWidthProps & import("../../../../../dist/libs/core").IHeightProps & import("../../../../../dist/libs/core").IMarginProps & import("../../../../../dist/libs/core").IPaddingProps & import("../../../../../dist/libs/core").IRoundedProps & import("../../../../../dist/libs/core").IShadowProps & import("../../../../../dist/libs/core").ITextColorProps & import("../../../../../dist/libs/core").IBackgroundColorProps & import("../../../../../dist/libs/core").IBorderProps & import("../../../../../dist/libs/core").IRingProps & import("../../../../../dist/libs/core").IInteractivityProps & import("../../../../../dist/libs/core").IFlexProps & import("../../../../../dist/libs/core").IPositionProps & import("../../../../../dist/libs/core").ILayoutProps & { | ||
export declare const CodeContainer: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<import("../../../../../dist/libs/core").ITypographyProps & import("../../../../../dist/libs/core").ISizeProps & import("../../../../../dist/libs/core").IMarginProps & import("../../../../../dist/libs/core").IPaddingProps & import("../../../../../dist/libs/core").IShadowProps & import("../../../../../dist/libs/core").IColorProps & import("../../../../../dist/libs/core").IBorderProps & import("../../../../../dist/libs/core").IRingProps & import("../../../../../dist/libs/core").IInteractivityProps & import("../../../../../dist/libs/core").IFlexProps & import("../../../../../dist/libs/core").IPositionProps & import("../../../../../dist/libs/core").ILayoutProps & { | ||
as?: React.ElementType<any>; | ||
@@ -111,0 +111,0 @@ className?: string; |
{ | ||
"name": "@stoplight/mosaic-code-viewer", | ||
"version": "1.0.0-beta.6", | ||
"version": "1.0.0-beta.7", | ||
"sideEffects": false, | ||
@@ -12,3 +12,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@stoplight/mosaic": "1.0.0-beta.6", | ||
"@stoplight/mosaic": "1.0.0-beta.7", | ||
"clsx": "^1.1.1", | ||
@@ -15,0 +15,0 @@ "@fortawesome/fontawesome-svg-core": "^1.2.32", |
39480
886
+ Added@stoplight/mosaic@1.0.0-beta.7(transitive)
- Removed@stoplight/mosaic@1.0.0-beta.6(transitive)