New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/polaris-viz

Package Overview
Dependencies
Maintainers
19
Versions
349
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/polaris-viz - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

6

CHANGELOG.md
# Changelog
## [0.7.3] - 2021-04-07
## Added
- Storybook
## [0.7.2] - 2021-03-25

@@ -4,0 +10,0 @@

16

package.json
{
"name": "@shopify/polaris-viz",
"description": "Shopify’s viz component library",
"version": "0.7.2",
"version": "0.7.3",
"private": false,

@@ -32,3 +32,5 @@ "license": "SEE LICENSE IN LICENSE.md",

"prepublish": "in-publish && yarn run build || :",
"dev": "sewing-kit playground"
"dev": "sewing-kit playground",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},

@@ -63,4 +65,10 @@ "stylelint": {

"@babel/node": "^7.6.1",
"@shopify/postcss-plugin": "^3.1.1",
"@shopify/react-testing": "^1.8.0",
"@shopify/sewing-kit": "^0.120.0",
"@storybook/addon-actions": "^6.2.1",
"@storybook/addon-essentials": "^6.2.1",
"@storybook/addon-links": "^6.2.1",
"@storybook/react": "^6.2.1",
"@storybook/theming": "^6.2.1",
"@types/d3-array": "^2.0.0",

@@ -105,2 +113,3 @@ "@types/d3-scale": "^2.1.1",

"rollup-pluginutils": "^2.8.2",
"sass-loader": "^8.0.0",
"semver": "^6.3.0",

@@ -124,3 +133,4 @@ "shelljs": "^0.8.3",

"styles.css",
"styles.min.css"
"styles.min.css",
"!*.stories.*"
],

@@ -127,0 +137,0 @@ "dependencies": {

import { Color } from 'types';
export declare const vizColors: {
primary: string;
secondary: string;
tertiary: string;
quaternary: string;
primaryProminent: string;
secondaryProminent: string;
tertiaryProminent: string;
quaternaryProminent: string;
pastComparison: string;
positive: string;
negative: string;
};
export declare function getColorValue(color: Color): string;

2

types/utilities/index.d.ts
export { eventPoint } from './event-point';
export { getTextWidth } from './get-text-width';
export { clamp } from './clamp';
export { getColorValue } from './get-color-value';
export { getColorValue, vizColors } from './get-color-value';
export { uniqueId } from './unique-id';

@@ -6,0 +6,0 @@ export { getDefaultColor } from './get-default-color';

Sorry, the diff of this file is not supported yet

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