@jamsrui/textarea 0.0.2 → 0.0.3

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 CHANGED
@@ -1 +1 @@
1
- "use client";import{a as r,b as a}from"./chunk-F7IQO2GV.mjs";import{a as e}from"./chunk-W5V47HT5.mjs";export{e as Textarea,r as TextareaConfig,a as useTextareaConfig};
1
+ "use client";import{Textarea as a}from"./textarea";import{TextareaConfig as t,useTextareaConfig as x}from"./textarea-config";export{a as Textarea,t as TextareaConfig,x as useTextareaConfig};
@@ -1 +1 @@
1
- import{a,b}from"./chunk-F7IQO2GV.mjs";export{a as TextareaConfig,b as useTextareaConfig};
1
+ import{createConfigContext as e}from"@jamsrui/utils";const[r,a]=e({displayName:"TextareaContext"});export{r as TextareaConfig,a as useTextareaConfig};
package/dist/textarea.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-W5V47HT5.mjs";export{a as Textarea};
1
+ import{useRenderElement as t}from"@jamsrui/hooks";const s=e=>{const{render:o,...r}=e;return t("div",{props:r})};export{s as Textarea};
@@ -1 +1 @@
1
- var r=e=>{};export{r as useTextarea};
1
+ const r=e=>{};export{r as useTextarea};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/textarea",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/core": "^0.0.2",
9
- "@jamsrui/hooks": "^0.0.2",
10
- "@jamsrui/utils": "^0.0.2"
8
+ "@jamsrui/hooks": "^0.0.3",
9
+ "@jamsrui/core": "^0.0.3",
10
+ "@jamsrui/utils": "^0.0.3"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
@@ -1 +0,0 @@
1
- import{createConfigContext as e}from"@jamsrui/utils";var[r,a]=e({displayName:"TextareaContext"});export{r as a,a as b};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _hooks = require('@jamsrui/hooks');var s=e=>{let{render:o,...r}=e;return _hooks.useRenderElement.call(void 0, "div",{props:r})};exports.a = s;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _utils = require('@jamsrui/utils');var[r,a]=_utils.createConfigContext.call(void 0, {displayName:"TextareaContext"});exports.a = r; exports.b = a;
@@ -1 +0,0 @@
1
- import{useRenderElement as t}from"@jamsrui/hooks";var s=e=>{let{render:o,...r}=e;return t("div",{props:r})};export{s as a};
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export { Textarea } from './textarea.js';
2
- export { TextareaConfig, useTextareaConfig } from './textarea-config.js';
3
- import 'react';
4
- import '@jamsrui/utils';
5
- import '@jamsrui/core';
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkTQGT6D6Hjs = require('./chunk-TQGT6D6H.js');var _chunkJTLMTIJZjs = require('./chunk-JTLMTIJZ.js');exports.Textarea = _chunkJTLMTIJZjs.a; exports.TextareaConfig = _chunkTQGT6D6Hjs.a; exports.useTextareaConfig = _chunkTQGT6D6Hjs.b;
package/dist/styles.d.ts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }
package/dist/styles.js DELETED
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,19 +0,0 @@
1
- import { Textarea } from './textarea.js';
2
- import * as react from 'react';
3
- import { GlobalConfigProps } from '@jamsrui/core';
4
- import '@jamsrui/utils';
5
-
6
- declare const useTextareaConfig: () => {
7
- children?: React.ReactNode;
8
- };
9
- declare const TextareaConfig: (props: {
10
- children?: React.ReactNode;
11
- } & {
12
- merge?: boolean;
13
- }) => react.JSX.Element;
14
- declare namespace TextareaConfig {
15
- interface Props extends Textarea.Props, GlobalConfigProps<Textarea.Props> {
16
- }
17
- }
18
-
19
- export { TextareaConfig, useTextareaConfig };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkTQGT6D6Hjs = require('./chunk-TQGT6D6H.js');exports.TextareaConfig = _chunkTQGT6D6Hjs.a; exports.useTextareaConfig = _chunkTQGT6D6Hjs.b;
@@ -1,10 +0,0 @@
1
- import * as react from 'react';
2
- import { UIProps } from '@jamsrui/utils';
3
-
4
- declare const Textarea: (props: Textarea.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
5
- declare namespace Textarea {
6
- interface Props extends UIProps<"div"> {
7
- }
8
- }
9
-
10
- export { Textarea };
package/dist/textarea.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJTLMTIJZjs = require('./chunk-JTLMTIJZ.js');exports.Textarea = _chunkJTLMTIJZjs.a;
@@ -1,7 +0,0 @@
1
- declare const useTextarea: (props: useTextarea.Props) => void;
2
- declare namespace useTextarea {
3
- interface Props {
4
- }
5
- }
6
-
7
- export { useTextarea };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var r=e=>{};exports.useTextarea = r;