Comparing version 1.6.0 to 1.6.1
@@ -15,4 +15,3 @@ { | ||
"build:dist": "rollup -c && rollup -c --environment PRODUCTION", | ||
"build:docs": "npm run build:docs:site && npm run build:docs:readme", | ||
"build:docs:readme": "documentation build src/** -t docs-theme/markdown.js --github -o docs -f html -c ./.documentation.json", | ||
"build:docs": "npm run build:docs:site", | ||
"prebuild:docs:site": "shx rm -rf docs/*", | ||
@@ -125,3 +124,3 @@ "build:docs:site": "documentation build src/** -t docs-theme --github -o docs -f html -c ./.documentation.json", | ||
}, | ||
"version": "1.6.0" | ||
"version": "1.6.1" | ||
} |
107
README.md
@@ -22,2 +22,6 @@ <a href="https://github.com/styled-components/polished"> | ||
## Docs | ||
**See the full documentation at [polished.js.org](http://polished.js.org/docs)!** | ||
## Usage | ||
@@ -46,5 +50,5 @@ | ||
## Docs | ||
## TypeScript | ||
**See the full documentation at [polished.js.org](http://polished.js.org/docs)!** | ||
`✨ polished` has [TypeScript](https://www.typescriptlang.org/) definitions to allow the library to be used in any TypeScript project. | ||
@@ -59,101 +63,2 @@ ### Babel plugin | ||
### ToC | ||
<!-- NOTE: Anything between INJECT DOCS START and END will be deleted! --> | ||
<!-- INJECT DOCS START --> | ||
<details open> | ||
<summary>Mixins</summary> | ||
<ul> | ||
<li><a href="http://polished.js.org/docs/#clearfix">clearFix</a></li> | ||
<li><a href="http://polished.js.org/docs/#ellipsis">ellipsis</a></li> | ||
<li><a href="http://polished.js.org/docs/#fontface">fontFace</a></li> | ||
<li><a href="http://polished.js.org/docs/#hidpi">hiDPI</a></li> | ||
<li><a href="http://polished.js.org/docs/#hidetext">hideText</a></li> | ||
<li><a href="http://polished.js.org/docs/#normalize">normalize</a></li> | ||
<li><a href="http://polished.js.org/docs/#placeholder">placeholder</a></li> | ||
<li><a href="http://polished.js.org/docs/#radialgradient">radialGradient</a></li> | ||
<li><a href="http://polished.js.org/docs/#retinaimage">retinaImage</a></li> | ||
<li><a href="http://polished.js.org/docs/#selection">selection</a></li> | ||
<li><a href="http://polished.js.org/docs/#timingfunctions">timingFunctions</a></li> | ||
<li><a href="http://polished.js.org/docs/#triangle">triangle</a></li> | ||
<li><a href="http://polished.js.org/docs/#wordwrap">wordWrap</a></li> | ||
</ul> | ||
</details> | ||
<details open> | ||
<summary>Color</summary> | ||
<ul> | ||
<li><a href="http://polished.js.org/docs/#adjusthue">adjustHue</a></li> | ||
<li><a href="http://polished.js.org/docs/#complement">complement</a></li> | ||
<li><a href="http://polished.js.org/docs/#darken">darken</a></li> | ||
<li><a href="http://polished.js.org/docs/#desaturate">desaturate</a></li> | ||
<li><a href="http://polished.js.org/docs/#grayscale">grayscale</a></li> | ||
<li><a href="http://polished.js.org/docs/#hsl">hsl</a></li> | ||
<li><a href="http://polished.js.org/docs/#hsla">hsla</a></li> | ||
<li><a href="http://polished.js.org/docs/#invert">invert</a></li> | ||
<li><a href="http://polished.js.org/docs/#lighten">lighten</a></li> | ||
<li><a href="http://polished.js.org/docs/#mix">mix</a></li> | ||
<li><a href="http://polished.js.org/docs/#opacify">opacify</a></li> | ||
<li><a href="http://polished.js.org/docs/#parsetohsl">parseToHsl</a></li> | ||
<li><a href="http://polished.js.org/docs/#parsetorgb">parseToRgb</a></li> | ||
<li><a href="http://polished.js.org/docs/#readablecolor">readableColor</a></li> | ||
<li><a href="http://polished.js.org/docs/#rgb">rgb</a></li> | ||
<li><a href="http://polished.js.org/docs/#rgba">rgba</a></li> | ||
<li><a href="http://polished.js.org/docs/#saturate">saturate</a></li> | ||
<li><a href="http://polished.js.org/docs/#sethue">setHue</a></li> | ||
<li><a href="http://polished.js.org/docs/#setlightness">setLightness</a></li> | ||
<li><a href="http://polished.js.org/docs/#setsaturation">setSaturation</a></li> | ||
<li><a href="http://polished.js.org/docs/#shade">shade</a></li> | ||
<li><a href="http://polished.js.org/docs/#tint">tint</a></li> | ||
<li><a href="http://polished.js.org/docs/#transparentize">transparentize</a></li> | ||
</ul> | ||
</details> | ||
<details open> | ||
<summary>Shorthands</summary> | ||
<ul> | ||
<li><a href="http://polished.js.org/docs/#animation">animation</a></li> | ||
<li><a href="http://polished.js.org/docs/#backgroundimages">backgroundImages</a></li> | ||
<li><a href="http://polished.js.org/docs/#backgrounds">backgrounds</a></li> | ||
<li><a href="http://polished.js.org/docs/#bordercolor">borderColor</a></li> | ||
<li><a href="http://polished.js.org/docs/#borderradius">borderRadius</a></li> | ||
<li><a href="http://polished.js.org/docs/#borderstyle">borderStyle</a></li> | ||
<li><a href="http://polished.js.org/docs/#borderwidth">borderWidth</a></li> | ||
<li><a href="http://polished.js.org/docs/#buttons">buttons</a></li> | ||
<li><a href="http://polished.js.org/docs/#margin">margin</a></li> | ||
<li><a href="http://polished.js.org/docs/#padding">padding</a></li> | ||
<li><a href="http://polished.js.org/docs/#position">position</a></li> | ||
<li><a href="http://polished.js.org/docs/#size">size</a></li> | ||
<li><a href="http://polished.js.org/docs/#textinputs">textInputs</a></li> | ||
<li><a href="http://polished.js.org/docs/#transitions">transitions</a></li> | ||
</ul> | ||
</details> | ||
<details open> | ||
<summary>Helpers</summary> | ||
<ul> | ||
<li><a href="http://polished.js.org/docs/#directionalproperty">directionalProperty</a></li> | ||
<li><a href="http://polished.js.org/docs/#em">em</a></li> | ||
<li><a href="http://polished.js.org/docs/#modularscale">modularScale</a></li> | ||
<li><a href="http://polished.js.org/docs/#rem">rem</a></li> | ||
<li><a href="http://polished.js.org/docs/#stripunit">stripUnit</a></li> | ||
</ul> | ||
</details> | ||
<details open> | ||
<summary>Types</summary> | ||
<ul> | ||
<li><a href="http://polished.js.org/docs/#animationproperty">AnimationProperty</a></li> | ||
<li><a href="http://polished.js.org/docs/#fontfaceconfiguration">FontFaceConfiguration</a></li> | ||
<li><a href="http://polished.js.org/docs/#hslcolor">HslColor</a></li> | ||
<li><a href="http://polished.js.org/docs/#hslacolor">HslaColor</a></li> | ||
<li><a href="http://polished.js.org/docs/#interactionstate">InteractionState</a></li> | ||
<li><a href="http://polished.js.org/docs/#pointingdirection">PointingDirection</a></li> | ||
<li><a href="http://polished.js.org/docs/#radialgradientconfiguration">RadialGradientConfiguration</a></li> | ||
<li><a href="http://polished.js.org/docs/#ratio">Ratio</a></li> | ||
<li><a href="http://polished.js.org/docs/#rgbacolor">RgbaColor</a></li> | ||
<li><a href="http://polished.js.org/docs/#rgbcolor">RgbColor</a></li> | ||
<li><a href="http://polished.js.org/docs/#timingfunction">TimingFunction</a></li> | ||
<li><a href="http://polished.js.org/docs/#tocolorstring">toColorString</a></li> | ||
<li><a href="http://polished.js.org/docs/#modularscaleratio">ModularScaleRatio</a></li> | ||
</ul> | ||
</details> | ||
<!-- INJECT DOCS END --> | ||
## Why? | ||
@@ -160,0 +65,0 @@ |
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
2367941
92