@jamsrui/toast 0.0.19 → 0.1.0
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.
- package/README.md +1 -3
- package/dist/index.d.mts +2 -8
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/dist/styles.d.mts +0 -2
- package/dist/styles.mjs +0 -0
- package/dist/toast-config.d.mts +0 -17
- package/dist/toast-config.mjs +0 -1
package/README.md
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
**A comprehensive React UI component library designed for developers, with Tailwind CSS integration for seamless styling.**
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
## 📖 **Overview**
|
|
7
6
|
|
|
8
7
|
[JamsrUI](https://jamsr-ui.jamsrworld.com) is designed to help developers build modern, fast and visually appealing web applications with ease.
|
|
9
8
|
|
|
10
|
-
## 🚀 Getting Started
|
|
9
|
+
## 🚀 Getting Started
|
|
11
10
|
|
|
12
11
|
Boost & Build your websites using [JamsrUI](https://jamsr-ui.jamsrworld.com).
|
|
13
12
|
|
|
@@ -37,4 +36,3 @@ We welcome contributions from developers of all skill levels!
|
|
|
37
36
|
## ⭐ Support the Project
|
|
38
37
|
|
|
39
38
|
If you find **JamsrUI** helpful, consider giving it a ⭐ on [GitHub](https://github.com/jamsrworld/jamsr-ui).
|
|
40
|
-
|
package/dist/index.d.mts
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { Toast as Toast$1 } from './toast.mjs';
|
|
3
|
-
|
|
4
|
-
export { useToastConfig } from './toast-config.mjs';
|
|
5
|
-
export { Toaster, toast } from 'sonner';
|
|
3
|
+
export { Toaster, toast, useSonner as useToast } from 'sonner';
|
|
6
4
|
import '@jamsrui/utils';
|
|
7
|
-
import 'react/jsx-runtime';
|
|
8
|
-
import '@jamsrui/core';
|
|
9
5
|
|
|
10
6
|
declare const Toast: (props: Toast$1.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
11
7
|
declare namespace Toast {
|
|
12
8
|
interface Props extends Toast$1.Props {
|
|
13
9
|
}
|
|
14
|
-
interface Config extends ToastConfig.Props {
|
|
15
|
-
}
|
|
16
10
|
}
|
|
17
11
|
|
|
18
|
-
export { Toast
|
|
12
|
+
export { Toast };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Toast as o}from"./toast.mjs";import{
|
|
1
|
+
import{Toast as o}from"./toast.mjs";import{toast as r,Toaster as p,useSonner as n}from"sonner";const s=Object.assign(o,{});export{s as Toast,p as Toaster,r as toast,n as useToast};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/toast",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"sonner": "^2.0.5",
|
|
9
|
-
"@jamsrui/hooks": "^0.0
|
|
10
|
-
"@jamsrui/
|
|
11
|
-
"@jamsrui/
|
|
9
|
+
"@jamsrui/hooks": "^0.1.0",
|
|
10
|
+
"@jamsrui/utils": "^0.1.0",
|
|
11
|
+
"@jamsrui/core": "^0.1.0"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
package/dist/styles.d.mts
DELETED
package/dist/styles.mjs
DELETED
|
File without changes
|
package/dist/toast-config.d.mts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { WithGlobalConfig } from '@jamsrui/core';
|
|
3
|
-
import { Toast } from './toast.mjs';
|
|
4
|
-
import 'react';
|
|
5
|
-
import '@jamsrui/utils';
|
|
6
|
-
|
|
7
|
-
declare const useToastConfig: () => Record<string, any>;
|
|
8
|
-
declare const ToastConfig: (props: Omit<Partial<Record<string, any>>, "children"> & {
|
|
9
|
-
merge?: boolean;
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
12
|
-
declare namespace ToastConfig {
|
|
13
|
-
interface Props extends WithGlobalConfig<Toast.Props> {
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { ToastConfig, useToastConfig };
|
package/dist/toast-config.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{createConfigContext as o}from"@jamsrui/utils";const[e,a]=o({displayName:"ToastContext"});export{e as ToastConfig,a as useToastConfig};
|