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.2.0 to 2.3.0

6

package.json
{
"name": "@sass-collective/direction",
"version": "2.2.0",
"version": "2.3.0",
"description": "Manage content direction for languages right-to-left or left-to-right rules.",
"main": "index.scss",
"dependencies": {
"sass": "^1.32.8"
"sass": "^1.34.0"
},

@@ -34,3 +34,3 @@ "files": [

},
"gitHead": "af4a855f9bf0be4bd96ac6f0f6cdb7191bac0bbe"
"gitHead": "0d0f2849e3a8e0a3007160687773271e2a222375"
}

@@ -12,6 +12,16 @@ ![Sass Direction](.github/banner.png)

## Install
## Installation
npm install @sass-collective/direction --save
```shell
npm install @sass-collective/direction
```
## Usage
```scss
@use "@sass-collective/direction";
```
> **NOTE:** you can use the legacy `@import` with dedicated prefix, ex. `sass-direction-styles()` instead of `direction.styles()`.
## API

@@ -23,5 +33,5 @@

| --- | --- |
| `styles($direction, $root-selector)` | Create new direction rule. |
| `styles($direction, $root-selector)` | Create direction rule. |
## Usage
## Example

@@ -55,4 +65,2 @@ ```scss

> **NOTE:** you can use the legacy `@import` with dedicated prefix, ex. `sass-direction-styles()` instead of `direction.styles()`.
### Result

@@ -59,0 +67,0 @@

Sorry, the diff of this file is not supported yet

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