@cryptic-css/prop-scroll
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -6,10 +6,13 @@ # Change Log | ||
# [3.4.0](https://github.com/wintercounter/ccss/compare/v3.3.0...v3.4.0) (2020-05-11) | ||
# [3.5.0](https://github.com/wintercounter/ccss/compare/v3.3.0...v3.5.0) (2020-06-06) | ||
**Note:** Version bump only for package @cryptic-css/prop-scroll | ||
### Features | ||
* **props:** add support for booleans ([a32fded](https://github.com/wintercounter/ccss/commit/a32fded31d2847b3a5edd94ed9e409e111c838e8)) | ||
# [3.3.0](https://github.com/wintercounter/ccss/compare/v3.2.1...v3.3.0) (2020-04-17) | ||
@@ -16,0 +19,0 @@ |
@@ -27,3 +27,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
case 'x': | ||
return options.__ccss(_objectSpread({}, base, { | ||
return options.__ccss(_objectSpread(_objectSpread({}, base), {}, { | ||
maxW: original.maxW || '100vw', | ||
@@ -34,3 +34,3 @@ ox: 'a' | ||
case 'y': | ||
return options.__ccss(_objectSpread({}, base, { | ||
return options.__ccss(_objectSpread(_objectSpread({}, base), {}, { | ||
maxH: original.maxH || '100vh', | ||
@@ -42,3 +42,3 @@ oy: 'a' | ||
default: | ||
return options.__ccss(_objectSpread({}, base, { | ||
return options.__ccss(_objectSpread(_objectSpread({}, base), {}, { | ||
maxH: original.maxH || '100vh', | ||
@@ -45,0 +45,0 @@ maxW: original.maxW || '100vw', |
{ | ||
"name": "@cryptic-css/prop-scroll", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "Add support for the `scroll` prop to easily create horizontal/vertical/both scrollable elements.", | ||
@@ -8,3 +8,4 @@ "author": "Victor Vincent <wintercounter+ccss@gmail.com>", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/index.js", | ||
"publishConfig": { | ||
@@ -20,5 +21,49 @@ "access": "public" | ||
"test:watch": "mhy jest --watchAll", | ||
"build": "mhy bb --mhy-env=prod", | ||
"build": "npm run build:es6 && npm run build:cjs", | ||
"build:es6": "mhy bb --mhy-env=prod", | ||
"build:cjs": "mhy bb --mhy-env=prod:cjs", | ||
"config": "mhy config typescript -io" | ||
}, | ||
"mhy": { | ||
"mhy": { | ||
"cjs": { | ||
"distFolder": "dist/cjs" | ||
} | ||
}, | ||
"babel": { | ||
"cjs": { | ||
"presets": [ | ||
{ | ||
"$match": { | ||
"query": "$[?(@[0].includes('preset-env'))]", | ||
"value": [ | ||
{ | ||
"$match": { | ||
"index": 1, | ||
"value": { | ||
"modules": "commonjs", | ||
"targets": { | ||
"$replace": { | ||
"node": true, | ||
"browsers": false, | ||
"esmodules": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"plugins": [ | ||
{ | ||
"$prepend": { | ||
"$expression": "$params.require.resolve('babel-plugin-add-module-exports')" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"bugs": { | ||
@@ -31,5 +76,5 @@ "url": "https://github.com/wintercounter/ccss/issues" | ||
"devDependencies": { | ||
"@cryptic-css/core": "^3.4.0" | ||
"@cryptic-css/core": "^3.5.0" | ||
}, | ||
"gitHead": "046c392acedba4e324349ebfa140f3c10721a226" | ||
} |
@@ -0,0 +0,0 @@ const base = { |
13211
7
178