postcss-janus
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Change Log | ||
## 1.0.2 | ||
* Small corrections | ||
## 1.0.1 | ||
@@ -4,0 +7,0 @@ * Code changes to use more the postcss API instead of concatenating string |
{ | ||
"name": "postcss-janus", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "PostCSS plugin plugin to create RTL rules using CSSJanus", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -55,4 +55,4 @@ # PostCSS Janus | ||
.rtl .example { | ||
border-radius: 2px 0 8px 0; | ||
padding-right: unset; | ||
border-radius: 2px 0 8px 0; | ||
padding-left: 20px; | ||
@@ -67,3 +67,3 @@ text-align: right; | ||
#### Using postcss | ||
#### Using postcss JavaScript API | ||
@@ -74,3 +74,3 @@ ```bash | ||
postcss( [ rtl(options) ] ); | ||
postcss( [ cssJanus(options) ] ); | ||
``` | ||
@@ -111,6 +111,6 @@ | ||
Directives should be added as comments before a CSS selector block or a property, e.g: | ||
Directives should be added as comments before a CSS rule block or a property, e.g: | ||
```css | ||
/* @selectorDirective */ | ||
/* @ruleDirective */ | ||
.example { | ||
@@ -124,3 +124,3 @@ /* @propertyDirective */ | ||
| ------------------- | ------------------------------------------------------------------------------------------------------------ | | ||
| @noflip | Avoid flipping certain CSS property or an entire selector block | | ||
| @noflip | Avoid flipping certain CSS property or an entire rule block | | ||
| @swapLtrRtlInUrl | Swap `ltr` and `rtl` strings in a certain property (it will ignore the global `swapLtrRtlInUrl` option | | ||
@@ -127,0 +127,0 @@ | @swapLeftRightInUrl | Swap `left` and `right` strings in a certain property (it will ignore the global `swapLeftRightInUrl` option | |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9366
0