@sass-collective/direction
Advanced tools
Comparing version 2.3.0 to 3.0.0
@@ -1,5 +0,23 @@ | ||
# Release Notes | ||
# Release notes | ||
## Unreleased | ||
### Removed | ||
* functions: deprecated `direction` mixin | ||
## v2.3.0 (2021-05-28) | ||
### Changed | ||
* deps: bump to sass 1.34.0 | ||
## v2.2.0 (2021-04-07) | ||
### Changed | ||
* global: `package.json` | ||
* global: error messages | ||
* global: legacy import | ||
## v2.1.1 (2021-03-29) | ||
@@ -6,0 +24,0 @@ |
{ | ||
"name": "@sass-collective/direction", | ||
"version": "2.3.0", | ||
"version": "3.0.0", | ||
"description": "Manage content direction for languages right-to-left or left-to-right rules.", | ||
"main": "index.scss", | ||
"engines": { | ||
"node": ">=12.0.0", | ||
"npm": ">=7.0.0" | ||
}, | ||
"dependencies": { | ||
"sass": "^1.34.0" | ||
"sass": "^1.35.1" | ||
}, | ||
@@ -13,3 +17,4 @@ "files": [ | ||
"keywords": [ | ||
"css", | ||
"sass", | ||
"direction", | ||
"left-to-right", | ||
@@ -19,6 +24,4 @@ "right-to-left", | ||
"rtl", | ||
"direction", | ||
"sass", | ||
"front-end", | ||
"module system" | ||
"css", | ||
"front-end" | ||
], | ||
@@ -36,3 +39,3 @@ "author": "The Sass Collective Authors", | ||
}, | ||
"gitHead": "0d0f2849e3a8e0a3007160687773271e2a222375" | ||
"gitHead": "6de627618e3e3d4f83617868ead04b68e63e1051" | ||
} |
@@ -22,19 +22,3 @@ ![Sass Direction](.github/banner.png) | ||
@use "@sass-collective/direction"; | ||
``` | ||
> **NOTE:** you can use the legacy `@import` with dedicated prefix, ex. `sass-direction-styles()` instead of `direction.styles()`. | ||
## API | ||
### Mixins | ||
| Mixin | Description | | ||
| --- | --- | | ||
| `styles($direction, $root-selector)` | Create direction rule. | | ||
## Example | ||
```scss | ||
@use "@sass-collective/direction"; | ||
.foo { | ||
@@ -90,1 +74,11 @@ margin-left: 20px; | ||
``` | ||
> **NOTE:** you can use the legacy `@import` with dedicated prefix, ex. `sass-direction-styles()`. | ||
## API | ||
### Mixins | ||
| Mixin | Description | | ||
| --- | --- | | ||
| `styles($direction, $root-selector)` | Create direction rule. | |
Sorry, the diff of this file is not supported yet
7061
83
Updatedsass@^1.35.1