Socket
Socket
Sign inDemoInstall

@chakra-ui/toast

Package Overview
Dependencies
Maintainers
3
Versions
687
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/toast - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

dist/chunk-7FYWZXXG.mjs

6

dist/create-standalone-toast.d.ts
import { useChakra, ColorMode } from '@chakra-ui/system';
import { T as ToastProviderProps } from './toast.provider-02a226a3.js';
import { U as UseToastOptions, C as CreateToastFnReturn } from './toast.types-76829e6b.js';
import { T as ToastProviderProps } from './toast.provider-10178888.js';
import { U as UseToastOptions, C as CreateToastFnReturn } from './toast.types-f226a101.js';
import 'react';

@@ -16,3 +16,3 @@ import 'framer-motion';

declare const defaultStandaloneParam: CreateStandAloneToastParam & Required<Omit<CreateStandAloneToastParam, keyof ToastProviderProps>>;
declare type CreateStandaloneToastReturn = {
type CreateStandaloneToastReturn = {
ToastContainer: () => JSX.Element;

@@ -19,0 +19,0 @@ toast: CreateToastFnReturn;

@@ -87,3 +87,3 @@ "use strict";

position: "fixed",
zIndex: 5500,
zIndex: "var(--toast-z-index, 5500)",
pointerEvents: "none",

@@ -90,0 +90,0 @@ display: "flex",

@@ -1,3 +0,3 @@

export { C as CreateToastFnReturn, e as Toast, b as ToastId, a as ToastMessage, T as ToastOptions, h as ToastProps, d as ToastState, U as UseToastOptions, g as createRenderToast, f as createToastFn, u as useToast } from './toast.types-76829e6b.js';
export { C as CreateToastOptions, c as ToastMethods, b as ToastOptionProvider, a as ToastProvider, T as ToastProviderProps } from './toast.provider-02a226a3.js';
export { C as CreateToastFnReturn, e as Toast, b as ToastId, a as ToastMessage, T as ToastOptions, h as ToastProps, d as ToastState, U as UseToastOptions, g as createRenderToast, f as createToastFn, u as useToast } from './toast.types-f226a101.js';
export { C as CreateToastOptions, c as ToastMethods, b as ToastOptionProvider, a as ToastProvider, T as ToastProviderProps } from './toast.provider-10178888.js';
export { LogicalToastPosition, ToastPosition, ToastPositionWithLogical, getToastPlacement } from './toast.placement.js';

@@ -4,0 +4,0 @@ export { CreateStandAloneToastParam, CreateStandaloneToastReturn, createStandaloneToast } from './create-standalone-toast.js';

@@ -103,3 +103,3 @@ "use strict";

position: "fixed",
zIndex: 5500,
zIndex: "var(--toast-z-index, 5500)",
pointerEvents: "none",

@@ -106,0 +106,0 @@ display: "flex",

import 'react';
import './toast.types-76829e6b.js';
export { e as ToastComponent, d as ToastComponentProps } from './toast.provider-02a226a3.js';
import './toast.types-f226a101.js';
export { e as ToastComponent, d as ToastComponentProps } from './toast.provider-10178888.js';
import '@chakra-ui/system';

@@ -5,0 +5,0 @@ import './toast.placement.js';

@@ -1,2 +0,2 @@

export { C as CreateToastFnReturn, e as Toast, h as ToastProps, g as createRenderToast, f as createToastFn } from './toast.types-76829e6b.js';
export { C as CreateToastFnReturn, e as Toast, h as ToastProps, g as createRenderToast, f as createToastFn } from './toast.types-f226a101.js';
import 'react';

@@ -3,0 +3,0 @@ import '@chakra-ui/alert';

@@ -1,6 +0,6 @@

declare type LogicalToastPosition = "top-start" | "top-end" | "bottom-start" | "bottom-end";
declare type ToastPositionWithLogical = LogicalToastPosition | "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
declare type ToastPosition = Exclude<ToastPositionWithLogical, LogicalToastPosition>;
type LogicalToastPosition = "top-start" | "top-end" | "bottom-start" | "bottom-end";
type ToastPositionWithLogical = LogicalToastPosition | "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
type ToastPosition = Exclude<ToastPositionWithLogical, LogicalToastPosition>;
declare function getToastPlacement(position: ToastPosition | undefined, dir: "ltr" | "rtl"): ToastPosition | undefined;
export { LogicalToastPosition, ToastPosition, ToastPositionWithLogical, getToastPlacement };
import 'react';
import 'framer-motion';
import '@chakra-ui/portal';
export { C as CreateToastOptions, c as ToastMethods, b as ToastOptionProvider, a as ToastProvider, T as ToastProviderProps, u as useToastOptionContext } from './toast.provider-02a226a3.js';
import './toast.types-76829e6b.js';
export { C as CreateToastOptions, c as ToastMethods, b as ToastOptionProvider, a as ToastProvider, T as ToastProviderProps, u as useToastOptionContext } from './toast.provider-10178888.js';
import './toast.types-f226a101.js';
import '@chakra-ui/system';
import './toast.placement.js';
import '@chakra-ui/alert';

@@ -78,3 +78,3 @@ "use strict";

position: "fixed",
zIndex: 5500,
zIndex: "var(--toast-z-index, 5500)",
pointerEvents: "none",

@@ -81,0 +81,0 @@ display: "flex",

import { ToastPosition } from './toast.placement.js';
import { c as ToastMethods } from './toast.provider-02a226a3.js';
import { d as ToastState, b as ToastId } from './toast.types-76829e6b.js';
import { c as ToastMethods } from './toast.provider-10178888.js';
import { d as ToastState, b as ToastId } from './toast.types-f226a101.js';
import 'react';

@@ -10,3 +10,3 @@ import 'framer-motion';

declare type ToastStore = ToastMethods & {
type ToastStore = ToastMethods & {
getState: () => ToastState;

@@ -13,0 +13,0 @@ subscribe: (onStoreChange: () => void) => () => void;

import '@chakra-ui/system';
import './toast.placement.js';
export { c as CloseAllToastsOptions, R as RenderProps, b as ToastId, a as ToastMessage, T as ToastOptions, d as ToastState, i as ToastStatus, j as UpdateFn } from './toast.types-76829e6b.js';
export { c as CloseAllToastsOptions, R as RenderProps, b as ToastId, a as ToastMessage, T as ToastOptions, d as ToastState, i as ToastStatus, j as UpdateFn } from './toast.types-f226a101.js';
import '@chakra-ui/alert';
import 'react';
import { ToastPosition } from './toast.placement.js';
import { T as ToastOptions, b as ToastId, d as ToastState } from './toast.types-76829e6b.js';
import { T as ToastOptions, b as ToastId, d as ToastState } from './toast.types-f226a101.js';
import '@chakra-ui/system';

@@ -4,0 +4,0 @@ import '@chakra-ui/alert';

@@ -71,3 +71,3 @@ "use strict";

position: "fixed",
zIndex: 5500,
zIndex: "var(--toast-z-index, 5500)",
pointerEvents: "none",

@@ -74,0 +74,0 @@ display: "flex",

import '@chakra-ui/alert';
import '@chakra-ui/system';
export { U as UseToastOptions, u as default, u as useToast } from './toast.types-76829e6b.js';
export { U as UseToastOptions, u as default, u as useToast } from './toast.types-f226a101.js';
import './toast.placement.js';
import 'react';
{
"name": "@chakra-ui/toast",
"version": "6.1.0",
"version": "6.1.1",
"description": "description",

@@ -31,3 +31,3 @@ "keywords": [

"dependencies": {
"@chakra-ui/alert": "2.0.18",
"@chakra-ui/alert": "2.1.0",
"@chakra-ui/react-context": "2.0.8",

@@ -38,4 +38,4 @@ "@chakra-ui/close-button": "2.0.17",

"@chakra-ui/react-use-timeout": "2.0.5",
"@chakra-ui/styled-system": "2.7.0",
"@chakra-ui/theme": "3.0.0",
"@chakra-ui/styled-system": "2.8.0",
"@chakra-ui/theme": "3.0.1",
"@chakra-ui/shared-utils": "2.0.5"

@@ -48,9 +48,9 @@ },

"clean-package": "2.2.0",
"@chakra-ui/system": "2.5.4",
"@chakra-ui/system": "2.5.5",
"@chakra-ui/hooks": "2.1.6",
"@chakra-ui/button": "2.0.17",
"@chakra-ui/layout": "2.1.17"
"@chakra-ui/button": "2.0.18",
"@chakra-ui/layout": "2.1.18"
},
"peerDependencies": {
"@chakra-ui/system": "2.5.4",
"@chakra-ui/system": "2.5.5",
"framer-motion": ">=4.0.0",

@@ -57,0 +57,0 @@ "react": ">=18",

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

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

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