@jamsrui/textarea 0.0.8 → 0.0.10
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/chunk-NYATKGAI.mjs +1 -0
- package/dist/chunk-OFLUCZWX.mjs +1 -0
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -1
- package/dist/textarea-config.d.mts +2 -4
- package/dist/textarea-config.mjs +1 -1
- package/dist/textarea.d.mts +3 -3
- package/dist/textarea.mjs +1 -1
- package/dist/use-textarea.mjs +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createConfigContext as e}from"@jamsrui/utils";var[o,a]=e({displayName:"TextareaContext"});export{o as a,a as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";var t=e=>r("textarea",{...e});export{t as a};
|
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{a as r,b as a}from"./chunk-NYATKGAI.mjs";import{a as e}from"./chunk-OFLUCZWX.mjs";export{e as Textarea,r as TextareaConfig,a as useTextareaConfig};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Textarea } from './textarea.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
4
|
-
import 'react';
|
|
3
|
+
import { WithGlobalConfig } from '@jamsrui/core';
|
|
5
4
|
import '@jamsrui/utils';
|
|
6
5
|
|
|
7
6
|
declare const useTextareaConfig: () => Record<string, any>;
|
|
@@ -10,8 +9,7 @@ declare const TextareaConfig: (props: Omit<Partial<Record<string, any>>, "childr
|
|
|
10
9
|
children: React.ReactNode;
|
|
11
10
|
}) => react_jsx_runtime.JSX.Element;
|
|
12
11
|
declare namespace TextareaConfig {
|
|
13
|
-
|
|
14
|
-
}
|
|
12
|
+
type Props = WithGlobalConfig<Textarea.Props>;
|
|
15
13
|
}
|
|
16
14
|
|
|
17
15
|
export { TextareaConfig, useTextareaConfig };
|
package/dist/textarea-config.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a,b}from"./chunk-NYATKGAI.mjs";export{a as TextareaConfig,b as useTextareaConfig};
|
package/dist/textarea.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { UIProps } from '@jamsrui/utils';
|
|
3
3
|
|
|
4
|
-
declare const Textarea: (props: Textarea.Props) =>
|
|
4
|
+
declare const Textarea: (props: Textarea.Props) => react_jsx_runtime.JSX.Element;
|
|
5
5
|
declare namespace Textarea {
|
|
6
|
-
interface Props extends UIProps<"
|
|
6
|
+
interface Props extends UIProps<"textarea"> {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
package/dist/textarea.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a}from"./chunk-OFLUCZWX.mjs";export{a as Textarea};
|
package/dist/use-textarea.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var r=e=>{};export{r as useTextarea};
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/textarea",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/core": "^0.0.
|
|
10
|
-
"@jamsrui/
|
|
8
|
+
"@jamsrui/hooks": "^0.0.10",
|
|
9
|
+
"@jamsrui/core": "^0.0.9",
|
|
10
|
+
"@jamsrui/input": "^0.0.10",
|
|
11
|
+
"@jamsrui/utils": "^0.0.10"
|
|
11
12
|
},
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
14
15
|
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.mjs"
|
|
16
|
-
"require": "./dist/index.js"
|
|
16
|
+
"import": "./dist/index.mjs"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"description": "A modern and beautiful Next.js UI components library.",
|