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

@storefront-ui/shared

Package Overview
Dependencies
Maintainers
3
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storefront-ui/shared - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

.stylelintrc.json

9

.eslintrc.js
module.exports = {
root: true,
env: {
es6: true,
node: true
es6: true
},
extends: ["prettier"],
extends: ["eslint:recommended","prettier"],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
"indent": ["error", 2]
},

@@ -12,0 +9,0 @@ parserOptions: {

@@ -6,2 +6,27 @@ # Change Log

# [0.6.0](https://github.com/DivanteLtd/storefront-ui/compare/@storefront-ui/shared@0.5.1...@storefront-ui/shared@0.6.0) (2020-02-24)
### Bug Fixes
* a lot imports of global CSS variables ([#731](https://github.com/DivanteLtd/storefront-ui/issues/731)) ([b995ae0](https://github.com/DivanteLtd/storefront-ui/commit/b995ae01233d4d5f03f183b653b35879a0e67541))
* add variable for z-index ([#725](https://github.com/DivanteLtd/storefront-ui/issues/725)) ([d21c8f7](https://github.com/DivanteLtd/storefront-ui/commit/d21c8f7e8ae9cfeb0ea3dc9670e495784df2c485)), closes [#680](https://github.com/DivanteLtd/storefront-ui/issues/680)
* docs for CSS custom properties ([#775](https://github.com/DivanteLtd/storefront-ui/issues/775)) ([3601b27](https://github.com/DivanteLtd/storefront-ui/commit/3601b27f3e04cd436f91b848960fe5c1a483ea5f))
* double pictures is not adjusted to size ([#683](https://github.com/DivanteLtd/storefront-ui/issues/683)) ([05b5ca6](https://github.com/DivanteLtd/storefront-ui/commit/05b5ca6bffae1225206e86ba40597871b3ae5124))
* overlay transition opacity conflicting ([#773](https://github.com/DivanteLtd/storefront-ui/issues/773)) ([b15eea4](https://github.com/DivanteLtd/storefront-ui/commit/b15eea4582c9bd0b4925e9444a4249def573bdd8))
### Features
* add font-display: swap rule to google fonts ([#771](https://github.com/DivanteLtd/storefront-ui/issues/771)) ([6df9f81](https://github.com/DivanteLtd/storefront-ui/commit/6df9f810a403e98edccc486c01460568e8acd252))
* add hasCarousel prop for mobile SfGroupedProduct ([#715](https://github.com/DivanteLtd/storefront-ui/issues/715)) ([9241efb](https://github.com/DivanteLtd/storefront-ui/commit/9241efb50f79e0de5d05756c7c4e7e4eca09330b))
* add quantity to cart icon in SfHeader ([#734](https://github.com/DivanteLtd/storefront-ui/issues/734)) ([486a159](https://github.com/DivanteLtd/storefront-ui/commit/486a159943288bb3379cc97396c9ad1aa01dc438))
* add SfBadge to SfProducCard ([#693](https://github.com/DivanteLtd/storefront-ui/issues/693)) ([3584689](https://github.com/DivanteLtd/storefront-ui/commit/3584689ff3890d748460cededbebc9686e42c538))
* add stylelint for .scss in shared packages ([#732](https://github.com/DivanteLtd/storefront-ui/issues/732)) ([58d67f1](https://github.com/DivanteLtd/storefront-ui/commit/58d67f1d9d815ff7704d0555c345f13ec6e5eeb9))
* add v-focus directive ([#753](https://github.com/DivanteLtd/storefront-ui/issues/753)) ([da1a32c](https://github.com/DivanteLtd/storefront-ui/commit/da1a32cef2f19c4f60018a62f17263fd4fcb7b2d))
## [0.5.1](https://github.com/DivanteLtd/storefront-ui/compare/@storefront-ui/shared@0.5.0...@storefront-ui/shared@0.5.1) (2020-01-21)

@@ -8,0 +33,0 @@

@@ -201,3 +201,2 @@ export const icons = {

};
export default icons;
{
"name": "@storefront-ui/shared",
"version": "0.5.1",
"version": "0.6.0",
"description": "",

@@ -8,5 +8,15 @@ "main": "index.js",

"license": "ISC",
"scripts": {
"precommit": "lint-staged"
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1"
"eslint-plugin-prettier": "^3.1.1",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"stylelint": "^13.0.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-prettier": "^1.1.2",
"stylelint-scss": "^3.14.2"
},

@@ -16,3 +26,7 @@ "publishConfig": {

},
"gitHead": "73e471769adf2dfe10342a129f57a69ea2993891"
"lint-staged": {
"*.js": "eslint --fix",
"*.scss": "stylelint --syntax=scss --fix"
},
"gitHead": "17816774a738b2c4601feb567def60b167b07107"
}

@@ -1,23 +0,29 @@

export const colors = {
primary: "primary",
secondary: "secondary",
white: "white",
black: "black",
accent: "accent",
export const iconColors = {
greenPrimary: "green-primary",
greenSecondary: "green-secondary",
black: 'black',
darkSecondary: 'dark-secondary',
grayPrimary: "gray-primary",
graySecondary: "gray-secondary",
lightPrimary: "light-primary",
lightSecondary: "light-secondary",
pinkPrimary: "pink-primary",
pinkSecondary: "pink-secondary",
white: "white",
redPrimary: "red-primary",
redSecondary: "red-secondary",
yellowPrimary: "yellow-primary",
yellowSecondary: "yellow-secondary",
bluePrimary: "blue-primary",
blueSecondary: "blue-secondary"
blueSecondary: "blue-secondary",
};
export const colors = {
primary: "color-primary",
secondary: "color-secondary",
light: "color-light",
dark: "color-dark",
info: "color-info",
success: "color-success",
warning: 'color-warning',
danger: 'color-danger'
};
export const colorsValues = Object.values(colors);
export default colors;
export const iconColorsValues = Object.values(iconColors);
export default colors;

@@ -0,1 +1,2 @@

// Icon sizes
export const sizes = {

@@ -12,5 +13,12 @@ xxs: "xxs",

};
// Typography sizes
export const typographySizes = {
"extra-small": "extra-small",
"small": "small",
"regular": "regular",
"big": "big",
"extra-big": "extra-big",
};
export const sizesValues = Object.values(sizes);
export default sizes;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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