@jamsrui/toast 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ import{createConfigContext as o}from"@jamsrui/utils";var[s,e]=o({displayName:"ToastContext"});export{s as a,e as b};
@@ -0,0 +1 @@
1
+ import{useRenderElement as r}from"@jamsrui/hooks";var s=e=>r("div",{props:e});export{s as a};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{toast as e,Toaster as r}from"sonner";import{Toast as a}from"./toast";import{ToastConfig as T,useToastConfig as i}from"./toast-config";export{a as Toast,T as ToastConfig,r as Toaster,e as toast,i as useToastConfig};
1
+ "use client";import{a as t,b as e}from"./chunk-KNDNCEQB.mjs";import{a as o}from"./chunk-MLNJJKAI.mjs";import{toast as a,Toaster as f}from"sonner";export{o as Toast,t as ToastConfig,f as Toaster,a as toast,e as useToastConfig};
@@ -1 +1 @@
1
- import{createConfigContext as o}from"@jamsrui/utils";const[s,e]=o({displayName:"ToastContext"});export{s as ToastConfig,e as useToastConfig};
1
+ import{a,b}from"./chunk-KNDNCEQB.mjs";export{a as ToastConfig,b as useToastConfig};
package/dist/toast.mjs CHANGED
@@ -1 +1 @@
1
- import{useRenderElement as r}from"@jamsrui/hooks";const s=e=>r("div",{props:e});export{s as Toast};
1
+ import{a}from"./chunk-MLNJJKAI.mjs";export{a as Toast};
@@ -1 +1 @@
1
- const e=s=>{};export{e as useToast};
1
+ var e=s=>{};export{e as useToast};
package/package.json CHANGED
@@ -1,20 +1,19 @@
1
1
  {
2
2
  "name": "@jamsrui/toast",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
8
  "sonner": "^2.0.5",
9
- "@jamsrui/hooks": "^0.0.9",
10
- "@jamsrui/core": "^0.0.8",
11
- "@jamsrui/utils": "^0.0.9"
9
+ "@jamsrui/hooks": "^0.0.10",
10
+ "@jamsrui/core": "^0.0.9",
11
+ "@jamsrui/utils": "^0.0.10"
12
12
  },
13
13
  "exports": {
14
14
  ".": {
15
15
  "types": "./dist/index.d.ts",
16
- "import": "./dist/index.mjs",
17
- "require": "./dist/index.js"
16
+ "import": "./dist/index.mjs"
18
17
  }
19
18
  },
20
19
  "description": "A modern and beautiful Next.js UI components library.",