Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stoplight/mosaic-code-viewer

Package Overview
Dependencies
Maintainers
23
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/mosaic-code-viewer - npm Package Compare versions

Comparing version 1.0.0-beta.6 to 1.0.0-beta.7

4

code-viewer.esm.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc