Socket
Socket
Sign inDemoInstall

@sass-collective/direction

Package Overview
Dependencies
18
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 3.0.0

20

CHANGELOG.md

@@ -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 @@

19

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc