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

@khanacademy/wonder-blocks-color

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/wonder-blocks-color - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

24

docs.md

@@ -6,8 +6,8 @@ ## Product

```js
const {StyleSheet} = require("aphrodite");
import {StyleSheet} from "aphrodite";
const {View} = require("@khanacademy/wonder-blocks-core");
const Swatch = require("./docutils/swatch.js").default;
import {View} from "@khanacademy/wonder-blocks-core";
import Swatch from "./docutils/swatch.js";
const Color = require("./index.js").default;
import Color from "./index.js";

@@ -61,8 +61,8 @@ const styles = StyleSheet.create({

```js
const {StyleSheet} = require("aphrodite");
import {StyleSheet} from "aphrodite";
const {View} = require("@khanacademy/wonder-blocks-core");
const Swatch = require("./docutils/swatch.js").default;
import {View} from "@khanacademy/wonder-blocks-core";
import Swatch from "./docutils/swatch.js";
const Color = require("./index.js").default;
import Color from "./index.js";

@@ -142,8 +142,8 @@ const styles = StyleSheet.create({

```js
const {StyleSheet} = require("aphrodite");
import {StyleSheet} from "aphrodite";
const {View} = require("@khanacademy/wonder-blocks-core");
const Swatch = require("./docutils/swatch.js").default;
import {View} from "@khanacademy/wonder-blocks-core";
import Swatch from "./docutils/swatch.js";
const Color = require("./index.js").default;
import Color from "./index.js";

@@ -150,0 +150,0 @@ const styles = StyleSheet.create({

@@ -11,12 +11,9 @@ // This file is auto-generated by gen-snapshot-tests.js

jest.mock("react-dom");
import {StyleSheet} from "aphrodite";
import {View} from "@khanacademy/wonder-blocks-core";
import Swatch from "./docutils/swatch.js";
import Color from "./index.js";
describe("wonder-blocks-color", () => {
it("example 1", () => {
const {StyleSheet} = require("aphrodite");
const {View} = require("@khanacademy/wonder-blocks-core");
const Swatch = require("./docutils/swatch.js").default;
const Color = require("./index.js").default;
const styles = StyleSheet.create({

@@ -29,3 +26,2 @@ container: {

});
const example = (

@@ -68,10 +64,4 @@ <View style={styles.container}>

});
it("example 2", () => {
const {StyleSheet} = require("aphrodite");
const {View} = require("@khanacademy/wonder-blocks-core");
const Swatch = require("./docutils/swatch.js").default;
const Color = require("./index.js").default;
const styles = StyleSheet.create({

@@ -84,3 +74,2 @@ container: {

});
const example = (

@@ -149,10 +138,4 @@ <View style={styles.container}>

});
it("example 3", () => {
const {StyleSheet} = require("aphrodite");
const {View} = require("@khanacademy/wonder-blocks-core");
const Swatch = require("./docutils/swatch.js").default;
const Color = require("./index.js").default;
const styles = StyleSheet.create({

@@ -165,3 +148,2 @@ container: {

});
const example = (

@@ -181,3 +163,7 @@ <View style={styles.container}>

/>
<View style={{width: 256}} />
<View
style={{
width: 256,
}}
/>
<Swatch

@@ -184,0 +170,0 @@ color={Color.teal}

{
"name": "@khanacademy/wonder-blocks-color",
"version": "1.1.6",
"version": "1.1.7",
"design": "v2",

@@ -16,4 +16,4 @@ "publishConfig": {

"devDependencies": {
"@khanacademy/wonder-blocks-core": "^2.4.0",
"@khanacademy/wonder-blocks-typography": "^1.1.6",
"@khanacademy/wonder-blocks-core": "^2.4.1",
"@khanacademy/wonder-blocks-typography": "^1.1.7",
"wb-dev-build-settings": "^0.0.2"

@@ -20,0 +20,0 @@ },

Sorry, the diff of this file is not supported yet

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