@jamsrui/toast 0.0.2
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 +40 -0
- package/dist/chunk-DMCIXGHA.js +1 -0
- package/dist/chunk-KNDNCEQB.mjs +1 -0
- package/dist/chunk-MLNJJKAI.mjs +1 -0
- package/dist/chunk-YUXHBFXD.js +1 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/dist/styles.d.mts +2 -0
- package/dist/styles.d.ts +2 -0
- package/dist/styles.js +1 -0
- package/dist/styles.mjs +0 -0
- package/dist/toast-config.d.mts +20 -0
- package/dist/toast-config.d.ts +20 -0
- package/dist/toast-config.js +1 -0
- package/dist/toast-config.mjs +1 -0
- package/dist/toast.d.mts +10 -0
- package/dist/toast.d.ts +10 -0
- package/dist/toast.js +1 -0
- package/dist/toast.mjs +1 -0
- package/dist/use-toast.d.mts +7 -0
- package/dist/use-toast.d.ts +7 -0
- package/dist/use-toast.js +1 -0
- package/dist/use-toast.mjs +1 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# π **JamsrUI**
|
|
2
|
+
|
|
3
|
+
**A comprehensive React UI component library designed for developers, with Tailwind CSS integration for seamless styling.**
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## π **Overview**
|
|
7
|
+
|
|
8
|
+
[JamsrUI](https://jamsr-ui.jamsrworld.com) is designed to help developers build modern, fast and visually appealing web applications with ease.
|
|
9
|
+
|
|
10
|
+
## π Getting Started
|
|
11
|
+
|
|
12
|
+
Boost & Build your websites using [JamsrUI](https://jamsr-ui.jamsrworld.com).
|
|
13
|
+
|
|
14
|
+
## β¨ Features
|
|
15
|
+
|
|
16
|
+
- π **Production-Ready**: Optimized for modern React projects.
|
|
17
|
+
- π¨ **Customizable**: Easily override styles and themes.
|
|
18
|
+
- π οΈ **Reusable Components**: Save time with prebuilt, efficient UI elements.
|
|
19
|
+
- β‘ **Developer-Friendly**: Simple API and well-documented usage.
|
|
20
|
+
- π¦ **Lightweight**: Minimal dependencies for fast performance.
|
|
21
|
+
- π₯οΈ **Modern Design**: Clean, responsive, and user-friendly components.
|
|
22
|
+
|
|
23
|
+
## π± Community
|
|
24
|
+
|
|
25
|
+
Weβre thrilled to see the community actively engage with **JamsrUI**! Whether you're sharing feedback, reporting bugs, requesting features, or showcasing projects built with JamsrUI, your involvement helps us grow and improve.
|
|
26
|
+
|
|
27
|
+
### How to Engage
|
|
28
|
+
|
|
29
|
+
- π¬ **Report Bugs**: [GitHub Issues](https://github.com/jamsrworld/jamsr-ui/issues)
|
|
30
|
+
- π **Request Features**: Share ideas for new components.
|
|
31
|
+
- π€ **Showcase Projects**: Let us know how you use JamsrUI.
|
|
32
|
+
|
|
33
|
+
## Contributing
|
|
34
|
+
|
|
35
|
+
We welcome contributions from developers of all skill levels!
|
|
36
|
+
|
|
37
|
+
## β Support the Project
|
|
38
|
+
|
|
39
|
+
If you find **JamsrUI** helpful, consider giving it a β on [GitHub](https://github.com/jamsrworld/jamsr-ui).
|
|
40
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _hooks = require('@jamsrui/hooks');var s=e=>_hooks.useRenderElement.call(void 0, "div",{props:e});exports.a = s;
|
|
@@ -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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _utils = require('@jamsrui/utils');var[s,e]=_utils.createConfigContext.call(void 0, {displayName:"ToastContext"});exports.a = s; exports.b = e;
|
package/dist/index.d.mts
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkYUXHBFXDjs = require('./chunk-YUXHBFXD.js');var _chunkDMCIXGHAjs = require('./chunk-DMCIXGHA.js');var _sonner = require('sonner');exports.Toast = _chunkDMCIXGHAjs.a; exports.ToastConfig = _chunkYUXHBFXDjs.a; exports.Toaster = _sonner.Toaster; exports.toast = _sonner.toast; exports.useToastConfig = _chunkYUXHBFXDjs.b;
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
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};
|
package/dist/styles.d.ts
ADDED
package/dist/styles.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/dist/styles.mjs
ADDED
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import 'sonner';
|
|
2
|
+
import { Toast } from './toast.mjs';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { GlobalConfigProps } from '@jamsrui/core';
|
|
5
|
+
import '@jamsrui/utils';
|
|
6
|
+
|
|
7
|
+
declare const useToastConfig: () => {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare const ToastConfig: (props: {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
} & {
|
|
13
|
+
merge?: boolean;
|
|
14
|
+
}) => react.JSX.Element;
|
|
15
|
+
declare namespace ToastConfig {
|
|
16
|
+
interface Props extends Toast.Props, GlobalConfigProps<Toast.Props> {
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { ToastConfig, useToastConfig };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import 'sonner';
|
|
2
|
+
import { Toast } from './toast.js';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { GlobalConfigProps } from '@jamsrui/core';
|
|
5
|
+
import '@jamsrui/utils';
|
|
6
|
+
|
|
7
|
+
declare const useToastConfig: () => {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare const ToastConfig: (props: {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
} & {
|
|
13
|
+
merge?: boolean;
|
|
14
|
+
}) => react.JSX.Element;
|
|
15
|
+
declare namespace ToastConfig {
|
|
16
|
+
interface Props extends Toast.Props, GlobalConfigProps<Toast.Props> {
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { ToastConfig, useToastConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYUXHBFXDjs = require('./chunk-YUXHBFXD.js');exports.ToastConfig = _chunkYUXHBFXDjs.a; exports.useToastConfig = _chunkYUXHBFXDjs.b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"./chunk-KNDNCEQB.mjs";export{a as ToastConfig,b as useToastConfig};
|
package/dist/toast.d.mts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const Toast: (props: Toast.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace Toast {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { Toast };
|
package/dist/toast.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const Toast: (props: Toast.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace Toast {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { Toast };
|
package/dist/toast.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDMCIXGHAjs = require('./chunk-DMCIXGHA.js');exports.Toast = _chunkDMCIXGHAjs.a;
|
package/dist/toast.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-MLNJJKAI.mjs";export{a as Toast};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var e=s=>{};exports.useToast = e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=s=>{};export{e as useToast};
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jamsrui/toast",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"react": ">=19"
|
|
6
|
+
},
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"sonner": "^2.0.5",
|
|
9
|
+
"@jamsrui/hooks": "^0.0.2",
|
|
10
|
+
"@jamsrui/utils": "^0.0.2",
|
|
11
|
+
"@jamsrui/core": "^0.0.2"
|
|
12
|
+
},
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.mjs",
|
|
17
|
+
"require": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"description": "A modern and beautiful Next.js UI components library.",
|
|
21
|
+
"keywords": [
|
|
22
|
+
"react",
|
|
23
|
+
"ui",
|
|
24
|
+
"UI components",
|
|
25
|
+
"Next.js",
|
|
26
|
+
"React",
|
|
27
|
+
"JamsrUI",
|
|
28
|
+
"jamsr-ui",
|
|
29
|
+
"TypeScript"
|
|
30
|
+
],
|
|
31
|
+
"sideEffects": false,
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"author": "@jamsrworld",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://github.com/jamsrworld/jamsr-ui"
|
|
37
|
+
},
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/jamsrworld/jamsr-ui/issues"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://jamsr-ui.jamsrworld.com",
|
|
42
|
+
"files": [
|
|
43
|
+
"dist",
|
|
44
|
+
"README",
|
|
45
|
+
"README.md",
|
|
46
|
+
"package.json",
|
|
47
|
+
"LICENSE"
|
|
48
|
+
]
|
|
49
|
+
}
|