@jamsrui/toggle 0.0.2 → 0.0.4
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/dist/index.mjs +1 -1
- package/dist/toggle-config.mjs +1 -1
- package/dist/toggle.mjs +1 -1
- package/dist/use-toggle.mjs +1 -1
- package/package.json +4 -4
- package/dist/chunk-47UJC6FV.mjs +0 -1
- package/dist/chunk-5W26ZYEE.mjs +0 -1
- package/dist/chunk-B36C6UIY.js +0 -1
- package/dist/chunk-RMPOQWDQ.js +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -1
- package/dist/styles.d.ts +0 -2
- package/dist/styles.js +0 -1
- package/dist/toggle-config.d.ts +0 -19
- package/dist/toggle-config.js +0 -1
- package/dist/toggle.d.ts +0 -10
- package/dist/toggle.js +0 -1
- package/dist/use-toggle.d.ts +0 -7
- package/dist/use-toggle.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{Toggle as g}from"./toggle";import{ToggleConfig as l,useToggleConfig as r}from"./toggle-config";export{g as Toggle,l as ToggleConfig,r as useToggleConfig};
|
package/dist/toggle-config.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{createConfigContext as o}from"@jamsrui/utils";const[g,r]=o({displayName:"ToggleContext"});export{g as ToggleConfig,r as useToggleConfig};
|
package/dist/toggle.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useRenderElement as o}from"@jamsrui/hooks";const s=e=>{const{render:t,...r}=e;return o("div",{props:r})};export{s as Toggle};
|
package/dist/use-toggle.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const o=e=>{};export{o as useToggle};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/toggle",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
8
|
+
"@jamsrui/hooks": "^0.0.4",
|
|
9
|
+
"@jamsrui/core": "^0.0.4",
|
|
10
|
+
"@jamsrui/utils": "^0.0.4"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
package/dist/chunk-47UJC6FV.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createConfigContext as o}from"@jamsrui/utils";var[g,r]=o({displayName:"ToggleContext"});export{g as a,r as b};
|
package/dist/chunk-5W26ZYEE.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
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};
|
package/dist/chunk-B36C6UIY.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
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;
|
package/dist/chunk-RMPOQWDQ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
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.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
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/styles.d.ts
DELETED
package/dist/styles.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/toggle-config.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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 };
|
package/dist/toggle-config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkB36C6UIYjs = require('./chunk-B36C6UIY.js');exports.ToggleConfig = _chunkB36C6UIYjs.a; exports.useToggleConfig = _chunkB36C6UIYjs.b;
|
package/dist/toggle.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRMPOQWDQjs = require('./chunk-RMPOQWDQ.js');exports.Toggle = _chunkRMPOQWDQjs.a;
|
package/dist/use-toggle.d.ts
DELETED
package/dist/use-toggle.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var o=e=>{};exports.useToggle = o;
|