Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zag-js/toast

Package Overview
Dependencies
Maintainers
1
Versions
1019
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/toast - npm Package Compare versions

Comparing version 0.0.0-dev-20220416104915 to 0.0.0-dev-20220416152643

10

dist/index.js

@@ -87,7 +87,7 @@ var __defProp = Object.defineProperty;

},
getGroupId: (placement) => `toast-group--${placement}`,
getContainerId: (ctx) => `toast--${ctx.id}`,
getTitleId: (ctx) => `toast-title--${ctx.id}`,
getCloseButtonId: (ctx) => `toast-close-button--${ctx.id}`,
getPortalId: (ctx) => `toast-portal--${ctx.uid}`,
getGroupId: (placement) => `toast-group:${placement}`,
getContainerId: (ctx) => `toast:${ctx.id}`,
getTitleId: (ctx) => `toast-title:${ctx.id}`,
getCloseButtonId: (ctx) => `toast-close-button:${ctx.id}`,
getPortalId: (ctx) => `toast-portal:${ctx.uid}`,
getPortalEl: (ctx) => dom.getDoc(ctx).getElementById(dom.getPortalId(ctx)),

@@ -94,0 +94,0 @@ createPortalEl: (ctx) => {

{
"name": "@zag-js/toast",
"version": "0.0.0-dev-20220416104915",
"version": "0.0.0-dev-20220416152643",
"description": "Core logic for the toast widget implemented as a state machine",

@@ -32,6 +32,6 @@ "keywords": [

"dependencies": {
"@zag-js/core": "^0.0.0-dev-20220416104915",
"@zag-js/dom-utils": "^0.0.0-dev-20220416104915",
"@zag-js/types": "^0.0.0-dev-20220416104915",
"@zag-js/utils": "^0.0.0-dev-20220416104915"
"@zag-js/core": "^0.0.0-dev-20220416152643",
"@zag-js/dom-utils": "^0.0.0-dev-20220416152643",
"@zag-js/types": "^0.0.0-dev-20220416152643",
"@zag-js/utils": "^0.0.0-dev-20220416152643"
},

@@ -38,0 +38,0 @@ "scripts": {

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