New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fylgja/dialog

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fylgja/dialog - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

_keyframes.scss

5

package.json
{
"name": "@fylgja/dialog",
"version": "1.0.1",
"version": "1.1.0",
"description": "The Fylgja dialog component",

@@ -8,4 +8,5 @@ "homepage": "https://fylgja.dev/",

"license": "MIT",
"main": "_index.scss",
"unpkg": "dialog.css",
"style": "dialog.css",
"sass": "_index.scss",
"repository": {

@@ -12,0 +13,0 @@ "type": "git",

27

README.md

@@ -25,4 +25,4 @@ # Fylgja - Dialog

@use "@fylgja/dialog";
// Or via PostCSS and other options as plain CSS
@import "@fylgja/dialog/dialog.css";
// Or via PostCSS import
@import "@fylgja/dialog";
```

@@ -111,25 +111,14 @@

You can do so with the 2 extend classes available to you.
You can use the class `.dialog` or use your own version,
by using the two extend classes available to you;
```scss
// Sample use case
@use "@fylgja/dialog/helper" as *;
@use "@fylgja/dialog/keyframes";
@keyframes dialog-show {
from {
opacity: 0;
transform: var(--dialog-translate, translateY(#{$dialog-offset}));
}
}
@keyframes dialog-hide {
to {
opacity: 0;
transform: var(--dialog-translate, translateY(#{$dialog-offset}));
}
}
.dialog {
@extend %dialog;
&[hidden] {
&[open] {
visibility: hidden;

@@ -140,3 +129,3 @@ transition: visibility 0s 200ms;

&:not([hidden]) {
&:not([open]) {
animation: dialog-show 300ms;

@@ -143,0 +132,0 @@ transition: none;

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc