@jamsrui/toggle 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-47UJC6FV.mjs +1 -0
- package/dist/chunk-5W26ZYEE.mjs +1 -0
- package/dist/chunk-B36C6UIY.js +1 -0
- package/dist/chunk-RMPOQWDQ.js +1 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -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/toggle-config.d.mts +19 -0
- package/dist/toggle-config.d.ts +19 -0
- package/dist/toggle-config.js +1 -0
- package/dist/toggle-config.mjs +1 -0
- package/dist/toggle.d.mts +10 -0
- package/dist/toggle.d.ts +10 -0
- package/dist/toggle.js +1 -0
- package/dist/toggle.mjs +1 -0
- package/dist/use-toggle.d.mts +7 -0
- package/dist/use-toggle.d.ts +7 -0
- package/dist/use-toggle.js +1 -0
- package/dist/use-toggle.mjs +1 -0
- package/package.json +48 -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
|
+
import{createConfigContext as o}from"@jamsrui/utils";var[g,r]=o({displayName:"ToggleContext"});export{g as a,r as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useRenderElement as o}from"@jamsrui/hooks";var s=e=>{let{render:t,...r}=e;return o("div",{props:r})};export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _utils = require('@jamsrui/utils');var[g,r]=_utils.createConfigContext.call(void 0, {displayName:"ToggleContext"});exports.a = g; exports.b = r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _hooks = require('@jamsrui/hooks');var s=e=>{let{render:t,...r}=e;return _hooks.useRenderElement.call(void 0, "div",{props:r})};exports.a = s;
|
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 _chunkB36C6UIYjs = require('./chunk-B36C6UIY.js');var _chunkRMPOQWDQjs = require('./chunk-RMPOQWDQ.js');exports.Toggle = _chunkRMPOQWDQjs.a; exports.ToggleConfig = _chunkB36C6UIYjs.a; exports.useToggleConfig = _chunkB36C6UIYjs.b;
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as e,b as g}from"./chunk-47UJC6FV.mjs";import{a as o}from"./chunk-5W26ZYEE.mjs";export{o as Toggle,e as ToggleConfig,g as useToggleConfig};
|
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,19 @@
|
|
|
1
|
+
import { Toggle } from './toggle.mjs';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { GlobalConfigProps } from '@jamsrui/core';
|
|
4
|
+
import '@jamsrui/utils';
|
|
5
|
+
|
|
6
|
+
declare const useToggleConfig: () => {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
declare const ToggleConfig: (props: {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
} & {
|
|
12
|
+
merge?: boolean;
|
|
13
|
+
}) => react.JSX.Element;
|
|
14
|
+
declare namespace ToggleConfig {
|
|
15
|
+
interface Props extends Toggle.Props, GlobalConfigProps<Toggle.Props> {
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { ToggleConfig, useToggleConfig };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Toggle } from './toggle.js';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { GlobalConfigProps } from '@jamsrui/core';
|
|
4
|
+
import '@jamsrui/utils';
|
|
5
|
+
|
|
6
|
+
declare const useToggleConfig: () => {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
declare const ToggleConfig: (props: {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
} & {
|
|
12
|
+
merge?: boolean;
|
|
13
|
+
}) => react.JSX.Element;
|
|
14
|
+
declare namespace ToggleConfig {
|
|
15
|
+
interface Props extends Toggle.Props, GlobalConfigProps<Toggle.Props> {
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { ToggleConfig, useToggleConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkB36C6UIYjs = require('./chunk-B36C6UIY.js');exports.ToggleConfig = _chunkB36C6UIYjs.a; exports.useToggleConfig = _chunkB36C6UIYjs.b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"./chunk-47UJC6FV.mjs";export{a as ToggleConfig,b as useToggleConfig};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const Toggle: (props: Toggle.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace Toggle {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { Toggle };
|
package/dist/toggle.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const Toggle: (props: Toggle.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace Toggle {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { Toggle };
|
package/dist/toggle.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRMPOQWDQjs = require('./chunk-RMPOQWDQ.js');exports.Toggle = _chunkRMPOQWDQjs.a;
|
package/dist/toggle.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-5W26ZYEE.mjs";export{a as Toggle};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var o=e=>{};exports.useToggle = o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=e=>{};export{o as useToggle};
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jamsrui/toggle",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"react": ">=19"
|
|
6
|
+
},
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@jamsrui/core": "^0.0.2",
|
|
9
|
+
"@jamsrui/hooks": "^0.0.2",
|
|
10
|
+
"@jamsrui/utils": "^0.0.2"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.mjs",
|
|
16
|
+
"require": "./dist/index.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"description": "A modern and beautiful Next.js UI components library.",
|
|
20
|
+
"keywords": [
|
|
21
|
+
"react",
|
|
22
|
+
"ui",
|
|
23
|
+
"UI components",
|
|
24
|
+
"Next.js",
|
|
25
|
+
"React",
|
|
26
|
+
"JamsrUI",
|
|
27
|
+
"jamsr-ui",
|
|
28
|
+
"TypeScript"
|
|
29
|
+
],
|
|
30
|
+
"sideEffects": false,
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"author": "@jamsrworld",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/jamsrworld/jamsr-ui"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/jamsrworld/jamsr-ui/issues"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://jamsr-ui.jamsrworld.com",
|
|
41
|
+
"files": [
|
|
42
|
+
"dist",
|
|
43
|
+
"README",
|
|
44
|
+
"README.md",
|
|
45
|
+
"package.json",
|
|
46
|
+
"LICENSE"
|
|
47
|
+
]
|
|
48
|
+
}
|