postcss-utilities
Advanced tools
Comparing version 0.8.0 to 0.8.1
# Change Log | ||
# v0.8.1 | ||
- Fix documentation links | ||
- Drop compatibility with Node.js version 4 | ||
# v0.8.0 | ||
@@ -4,0 +9,0 @@ |
20
index.js
@@ -29,2 +29,4 @@ var postcss = require('postcss'); | ||
var size = require('./lib/size'); | ||
var sizeMax = require('./lib/size-max'); | ||
var sizeMin = require('./lib/size-min'); | ||
var stickyFooter = require('./lib/sticky-footer'); | ||
@@ -64,2 +66,4 @@ var textHide = require('./lib/text-hide'); | ||
'size', | ||
'max-size', | ||
'min-size', | ||
'sticky-footer', | ||
@@ -240,2 +244,18 @@ 'text-hide', | ||
break; | ||
case 'max-size': | ||
if (args.length === 2 || args.length === 3) { | ||
sizeMax(util, args); | ||
} else { | ||
result.warn('Invalid number of parameters for Max Size' + | ||
'utility: [width], [height]'); | ||
} | ||
break; | ||
case 'min-size': | ||
if (args.length === 2 || args.length === 3) { | ||
sizeMin(util, args); | ||
} else { | ||
result.warn('Invalid number of parameters for Min Size' + | ||
'utility: [width], [height]'); | ||
} | ||
break; | ||
case 'sticky-footer': | ||
@@ -242,0 +262,0 @@ if (args.length === 2 || args.length === 3) { |
@@ -29,2 +29,6 @@ /** | ||
source: decl.source | ||
}, { | ||
prop: 'visibility', | ||
value: 'hidden', | ||
source: decl.source | ||
}); | ||
@@ -31,0 +35,0 @@ |
{ | ||
"name": "postcss-utilities", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "PostCSS plugin to add a collection of mixins, shortcuts, helpers and tools for your CSS", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
"dependencies": { | ||
"postcss": "^6.0.16", | ||
"postcss": "^7.0.2", | ||
"postcss-value-parser": "^3.3.0" | ||
@@ -29,0 +29,0 @@ }, |
@@ -51,3 +51,3 @@ # PostCSS Utility Library [![Build Status][ci-img]][ci] | ||
- [circle](https://ismamz.github.io/postcss-utilities/docs#circle) | ||
- [clearfix](https://ismamz.github.io/postcss-utilities/docs#clear-fix) | ||
- [clear-fix](https://ismamz.github.io/postcss-utilities/docs#clear-fix) | ||
- [hd breakpoint](https://ismamz.github.io/postcss-utilities/docs#hd-breakpoint) | ||
@@ -64,2 +64,4 @@ - [hide-visually](https://ismamz.github.io/postcss-utilities/docs#hide-visually) | ||
- [size](https://ismamz.github.io/postcss-utilities/docs#size) | ||
- [min-size](https://ismamz.github.io/postcss-utilities/docs#min-size) | ||
- [max-size](https://ismamz.github.io/postcss-utilities/docs#max-size) | ||
- [sticky-footer](https://ismamz.github.io/postcss-utilities/docs#sticky-footer) | ||
@@ -70,3 +72,3 @@ - [text-hide](https://ismamz.github.io/postcss-utilities/docs#text-hide) | ||
- [truncate](https://ismamz.github.io/postcss-utilities/docs#truncate) | ||
- [word-break](https://ismamz.github.io/postcss-utilities/docs#word-break) | ||
- [word-wrap](https://ismamz.github.io/postcss-utilities/docs#word-wrap) | ||
@@ -73,0 +75,0 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81849
88
2689
248
+ Addedpicocolors@0.2.1(transitive)
+ Addedpostcss@7.0.39(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedpostcss@6.0.23(transitive)
- Removedsupports-color@5.5.0(transitive)
Updatedpostcss@^7.0.2