@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 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;
@@ -0,0 +1,5 @@
1
+ export { Toggle } from './toggle.mjs';
2
+ export { ToggleConfig, useToggleConfig } from './toggle-config.mjs';
3
+ import 'react';
4
+ import '@jamsrui/utils';
5
+ import '@jamsrui/core';
@@ -0,0 +1,5 @@
1
+ export { Toggle } from './toggle.js';
2
+ export { ToggleConfig, useToggleConfig } from './toggle-config.js';
3
+ import 'react';
4
+ import '@jamsrui/utils';
5
+ import '@jamsrui/core';
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};
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/dist/styles.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";
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 };
@@ -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;
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-5W26ZYEE.mjs";export{a as Toggle};
@@ -0,0 +1,7 @@
1
+ declare const useToggle: (props: useToggle.Props) => void;
2
+ declare namespace useToggle {
3
+ interface Props {
4
+ }
5
+ }
6
+
7
+ export { useToggle };
@@ -0,0 +1,7 @@
1
+ declare const useToggle: (props: useToggle.Props) => void;
2
+ declare namespace useToggle {
3
+ interface Props {
4
+ }
5
+ }
6
+
7
+ export { useToggle };
@@ -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
+ }