@jamsrui/input 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-26BELP57.js +1 -0
- package/dist/chunk-2HDC6MTM.js +1 -0
- package/dist/chunk-5HWW2MAK.js +1 -0
- package/dist/chunk-6XB7E66N.js +1 -0
- package/dist/chunk-ADQ4FRP4.js +1 -0
- package/dist/chunk-AY5A6SEG.mjs +1 -0
- package/dist/chunk-CSQOTAPR.mjs +1 -0
- package/dist/chunk-D4PQ7L52.mjs +1 -0
- package/dist/chunk-DYZSR7G3.js +1 -0
- package/dist/chunk-EAUBBKY5.mjs +1 -0
- package/dist/chunk-FXUOCCFX.mjs +1 -0
- package/dist/chunk-JZ5MUM6R.mjs +1 -0
- package/dist/chunk-JZHG75FP.js +1 -0
- package/dist/chunk-KW3LN66H.js +1 -0
- package/dist/chunk-LCBLRGH5.mjs +1 -0
- package/dist/chunk-LL6NY6FR.js +1 -0
- package/dist/chunk-M46PIXLU.mjs +1 -0
- package/dist/chunk-NCBIQHOF.js +1 -0
- package/dist/chunk-OBLA3L5I.mjs +1 -0
- package/dist/chunk-Q6MNSM2Z.js +1 -0
- package/dist/chunk-QA6KD5QS.mjs +1 -0
- package/dist/chunk-R3WJDFEH.mjs +1 -0
- package/dist/chunk-T4ZYDTHM.js +1 -0
- package/dist/chunk-U25JGUU3.mjs +1 -0
- package/dist/chunk-VU73JURM.mjs +1 -0
- package/dist/chunk-YKIYDLSM.js +1 -0
- package/dist/chunk-ZM6O7RSQ.js +1 -0
- package/dist/chunk-ZNAJDFMD.mjs +1 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/dist/input-CCxcCU7G.d.ts +69 -0
- package/dist/input-DG-nGssY.d.mts +69 -0
- package/dist/input-clear-button.d.mts +10 -0
- package/dist/input-clear-button.d.ts +10 -0
- package/dist/input-clear-button.js +1 -0
- package/dist/input-clear-button.mjs +1 -0
- package/dist/input-config.d.mts +31 -0
- package/dist/input-config.d.ts +31 -0
- package/dist/input-config.js +1 -0
- package/dist/input-config.mjs +1 -0
- package/dist/input-content-wrapper.d.mts +10 -0
- package/dist/input-content-wrapper.d.ts +10 -0
- package/dist/input-content-wrapper.js +1 -0
- package/dist/input-content-wrapper.mjs +1 -0
- package/dist/input-content.d.mts +10 -0
- package/dist/input-content.d.ts +10 -0
- package/dist/input-content.js +1 -0
- package/dist/input-content.mjs +1 -0
- package/dist/input-context.d.mts +24 -0
- package/dist/input-context.d.ts +24 -0
- package/dist/input-context.js +1 -0
- package/dist/input-context.mjs +1 -0
- package/dist/input-end-content.d.mts +10 -0
- package/dist/input-end-content.d.ts +10 -0
- package/dist/input-end-content.js +1 -0
- package/dist/input-end-content.mjs +1 -0
- package/dist/input-error-message.d.mts +10 -0
- package/dist/input-error-message.d.ts +10 -0
- package/dist/input-error-message.js +1 -0
- package/dist/input-error-message.mjs +1 -0
- package/dist/input-field.d.mts +10 -0
- package/dist/input-field.d.ts +10 -0
- package/dist/input-field.js +1 -0
- package/dist/input-field.mjs +1 -0
- package/dist/input-helper-text.d.mts +10 -0
- package/dist/input-helper-text.d.ts +10 -0
- package/dist/input-helper-text.js +1 -0
- package/dist/input-helper-text.mjs +1 -0
- package/dist/input-label.d.mts +10 -0
- package/dist/input-label.d.ts +10 -0
- package/dist/input-label.js +1 -0
- package/dist/input-label.mjs +1 -0
- package/dist/input-start-content.d.mts +10 -0
- package/dist/input-start-content.d.ts +10 -0
- package/dist/input-start-content.js +1 -0
- package/dist/input-start-content.mjs +1 -0
- package/dist/input-wrapper.d.mts +10 -0
- package/dist/input-wrapper.d.ts +10 -0
- package/dist/input-wrapper.js +1 -0
- package/dist/input-wrapper.mjs +1 -0
- package/dist/input.d.mts +15 -0
- package/dist/input.d.ts +15 -0
- package/dist/input.js +1 -0
- package/dist/input.mjs +1 -0
- package/dist/styles.d.mts +144 -0
- package/dist/styles.d.ts +144 -0
- package/dist/styles.js +1 -0
- package/dist/styles.mjs +1 -0
- package/dist/use-input.d.mts +15 -0
- package/dist/use-input.d.ts +15 -0
- package/dist/use-input.js +1 -0
- package/dist/use-input.mjs +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputErrorMessage: (props: InputErrorMessage.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
|
|
5
|
+
declare namespace InputErrorMessage {
|
|
6
|
+
interface Props extends UIProps<"span"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputErrorMessage };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputErrorMessage: (props: InputErrorMessage.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
|
|
5
|
+
declare namespace InputErrorMessage {
|
|
6
|
+
interface Props extends UIProps<"span"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputErrorMessage };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQ6MNSM2Zjs = require('./chunk-Q6MNSM2Z.js');require('./chunk-LL6NY6FR.js');exports.InputErrorMessage = _chunkQ6MNSM2Zjs.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-EAUBBKY5.mjs";import"./chunk-D4PQ7L52.mjs";export{a as InputErrorMessage};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputField: (props: InputField.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace InputField {
|
|
6
|
+
interface Props extends UIProps<"input"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputField };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputField: (props: InputField.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace InputField {
|
|
6
|
+
interface Props extends UIProps<"input"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputField };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2HDC6MTMjs = require('./chunk-2HDC6MTM.js');require('./chunk-LL6NY6FR.js');exports.InputField = _chunk2HDC6MTMjs.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-U25JGUU3.mjs";import"./chunk-D4PQ7L52.mjs";export{a as InputField};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputHelperText: (props: InputHelperText.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
|
|
5
|
+
declare namespace InputHelperText {
|
|
6
|
+
interface Props extends UIProps<"span"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputHelperText };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputHelperText: (props: InputHelperText.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
|
|
5
|
+
declare namespace InputHelperText {
|
|
6
|
+
interface Props extends UIProps<"span"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputHelperText };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5HWW2MAKjs = require('./chunk-5HWW2MAK.js');require('./chunk-LL6NY6FR.js');exports.InputHelperText = _chunk5HWW2MAKjs.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-FXUOCCFX.mjs";import"./chunk-D4PQ7L52.mjs";export{a as InputHelperText};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputLabel: (props: InputLabel.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
|
|
5
|
+
declare namespace InputLabel {
|
|
6
|
+
interface Props extends UIProps<"label"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputLabel };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputLabel: (props: InputLabel.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
|
|
5
|
+
declare namespace InputLabel {
|
|
6
|
+
interface Props extends UIProps<"label"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputLabel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYKIYDLSMjs = require('./chunk-YKIYDLSM.js');require('./chunk-LL6NY6FR.js');exports.InputLabel = _chunkYKIYDLSMjs.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-CSQOTAPR.mjs";import"./chunk-D4PQ7L52.mjs";export{a as InputLabel};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputStartContent: (props: InputStartContent.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
|
|
5
|
+
declare namespace InputStartContent {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputStartContent };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputStartContent: (props: InputStartContent.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null;
|
|
5
|
+
declare namespace InputStartContent {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputStartContent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk26BELP57js = require('./chunk-26BELP57.js');require('./chunk-LL6NY6FR.js');exports.InputStartContent = _chunk26BELP57js.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-LCBLRGH5.mjs";import"./chunk-D4PQ7L52.mjs";export{a as InputStartContent};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputWrapper: (props: InputWrapper.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace InputWrapper {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputWrapper };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const InputWrapper: (props: InputWrapper.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace InputWrapper {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { InputWrapper };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKW3LN66Hjs = require('./chunk-KW3LN66H.js');require('./chunk-LL6NY6FR.js');exports.InputWrapper = _chunkKW3LN66Hjs.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-QA6KD5QS.mjs";import"./chunk-D4PQ7L52.mjs";export{a as InputWrapper};
|
package/dist/input.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
export { I as Input } from './input-DG-nGssY.mjs';
|
|
3
|
+
import '@jamsrui/utils';
|
|
4
|
+
import './input-clear-button.mjs';
|
|
5
|
+
import './input-content.mjs';
|
|
6
|
+
import './input-content-wrapper.mjs';
|
|
7
|
+
import './input-end-content.mjs';
|
|
8
|
+
import './input-error-message.mjs';
|
|
9
|
+
import './input-field.mjs';
|
|
10
|
+
import './input-helper-text.mjs';
|
|
11
|
+
import './input-label.mjs';
|
|
12
|
+
import './input-start-content.mjs';
|
|
13
|
+
import './input-wrapper.mjs';
|
|
14
|
+
import './styles.mjs';
|
|
15
|
+
import 'tailwind-variants';
|
package/dist/input.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
export { I as Input } from './input-CCxcCU7G.js';
|
|
3
|
+
import '@jamsrui/utils';
|
|
4
|
+
import './input-clear-button.js';
|
|
5
|
+
import './input-content.js';
|
|
6
|
+
import './input-content-wrapper.js';
|
|
7
|
+
import './input-end-content.js';
|
|
8
|
+
import './input-error-message.js';
|
|
9
|
+
import './input-field.js';
|
|
10
|
+
import './input-helper-text.js';
|
|
11
|
+
import './input-label.js';
|
|
12
|
+
import './input-start-content.js';
|
|
13
|
+
import './input-wrapper.js';
|
|
14
|
+
import './styles.js';
|
|
15
|
+
import 'tailwind-variants';
|
package/dist/input.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZM6O7RSQjs = require('./chunk-ZM6O7RSQ.js');require('./chunk-2HDC6MTM.js');require('./chunk-5HWW2MAK.js');require('./chunk-YKIYDLSM.js');require('./chunk-26BELP57.js');require('./chunk-KW3LN66H.js');require('./chunk-ADQ4FRP4.js');require('./chunk-DYZSR7G3.js');require('./chunk-6XB7E66N.js');require('./chunk-T4ZYDTHM.js');require('./chunk-JZHG75FP.js');require('./chunk-NCBIQHOF.js');require('./chunk-Q6MNSM2Z.js');require('./chunk-LL6NY6FR.js');exports.Input = _chunkZM6O7RSQjs.a;
|
package/dist/input.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-OBLA3L5I.mjs";import"./chunk-U25JGUU3.mjs";import"./chunk-FXUOCCFX.mjs";import"./chunk-CSQOTAPR.mjs";import"./chunk-LCBLRGH5.mjs";import"./chunk-QA6KD5QS.mjs";import"./chunk-AY5A6SEG.mjs";import"./chunk-R3WJDFEH.mjs";import"./chunk-ZNAJDFMD.mjs";import"./chunk-M46PIXLU.mjs";import"./chunk-VU73JURM.mjs";import"./chunk-JZ5MUM6R.mjs";import"./chunk-EAUBBKY5.mjs";import"./chunk-D4PQ7L52.mjs";export{a as Input};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const test = "";
|
|
5
|
+
declare const inputVariants: tailwind_variants.TVReturnType<{
|
|
6
|
+
fullWidth: {
|
|
7
|
+
true: {
|
|
8
|
+
root: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
size: {
|
|
12
|
+
sm: {
|
|
13
|
+
input: string;
|
|
14
|
+
};
|
|
15
|
+
md: {
|
|
16
|
+
input: string;
|
|
17
|
+
};
|
|
18
|
+
lg: {
|
|
19
|
+
input: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
isInvalid: {
|
|
23
|
+
true: {
|
|
24
|
+
contentWrapper: string;
|
|
25
|
+
label: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
radius: {
|
|
29
|
+
sm: {};
|
|
30
|
+
md: {};
|
|
31
|
+
lg: {};
|
|
32
|
+
xl: {};
|
|
33
|
+
"2xl": {};
|
|
34
|
+
"3xl": {};
|
|
35
|
+
full: {};
|
|
36
|
+
none: {};
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
root: string;
|
|
40
|
+
label: string;
|
|
41
|
+
helperText: string;
|
|
42
|
+
errorMessage: string;
|
|
43
|
+
input: string[];
|
|
44
|
+
wrapper: string;
|
|
45
|
+
content: string;
|
|
46
|
+
contentWrapper: string[];
|
|
47
|
+
startContent: string;
|
|
48
|
+
endContent: string;
|
|
49
|
+
clearButton: string;
|
|
50
|
+
}, undefined, {
|
|
51
|
+
fullWidth: {
|
|
52
|
+
true: {
|
|
53
|
+
root: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
sm: {
|
|
58
|
+
input: string;
|
|
59
|
+
};
|
|
60
|
+
md: {
|
|
61
|
+
input: string;
|
|
62
|
+
};
|
|
63
|
+
lg: {
|
|
64
|
+
input: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
isInvalid: {
|
|
68
|
+
true: {
|
|
69
|
+
contentWrapper: string;
|
|
70
|
+
label: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
radius: {
|
|
74
|
+
sm: {};
|
|
75
|
+
md: {};
|
|
76
|
+
lg: {};
|
|
77
|
+
xl: {};
|
|
78
|
+
"2xl": {};
|
|
79
|
+
"3xl": {};
|
|
80
|
+
full: {};
|
|
81
|
+
none: {};
|
|
82
|
+
};
|
|
83
|
+
}, {
|
|
84
|
+
root: string;
|
|
85
|
+
label: string;
|
|
86
|
+
helperText: string;
|
|
87
|
+
errorMessage: string;
|
|
88
|
+
input: string[];
|
|
89
|
+
wrapper: string;
|
|
90
|
+
content: string;
|
|
91
|
+
contentWrapper: string[];
|
|
92
|
+
startContent: string;
|
|
93
|
+
endContent: string;
|
|
94
|
+
clearButton: string;
|
|
95
|
+
}, tailwind_variants.TVReturnType<{
|
|
96
|
+
fullWidth: {
|
|
97
|
+
true: {
|
|
98
|
+
root: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
size: {
|
|
102
|
+
sm: {
|
|
103
|
+
input: string;
|
|
104
|
+
};
|
|
105
|
+
md: {
|
|
106
|
+
input: string;
|
|
107
|
+
};
|
|
108
|
+
lg: {
|
|
109
|
+
input: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
isInvalid: {
|
|
113
|
+
true: {
|
|
114
|
+
contentWrapper: string;
|
|
115
|
+
label: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
radius: {
|
|
119
|
+
sm: {};
|
|
120
|
+
md: {};
|
|
121
|
+
lg: {};
|
|
122
|
+
xl: {};
|
|
123
|
+
"2xl": {};
|
|
124
|
+
"3xl": {};
|
|
125
|
+
full: {};
|
|
126
|
+
none: {};
|
|
127
|
+
};
|
|
128
|
+
}, {
|
|
129
|
+
root: string;
|
|
130
|
+
label: string;
|
|
131
|
+
helperText: string;
|
|
132
|
+
errorMessage: string;
|
|
133
|
+
input: string[];
|
|
134
|
+
wrapper: string;
|
|
135
|
+
content: string;
|
|
136
|
+
contentWrapper: string[];
|
|
137
|
+
startContent: string;
|
|
138
|
+
endContent: string;
|
|
139
|
+
clearButton: string;
|
|
140
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
141
|
+
type InputVariantProps = VariantProps<typeof inputVariants>;
|
|
142
|
+
type InputSlots = keyof ReturnType<typeof inputVariants>;
|
|
143
|
+
|
|
144
|
+
export { type InputSlots, type InputVariantProps, inputVariants, test };
|
package/dist/styles.d.ts
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const test = "";
|
|
5
|
+
declare const inputVariants: tailwind_variants.TVReturnType<{
|
|
6
|
+
fullWidth: {
|
|
7
|
+
true: {
|
|
8
|
+
root: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
size: {
|
|
12
|
+
sm: {
|
|
13
|
+
input: string;
|
|
14
|
+
};
|
|
15
|
+
md: {
|
|
16
|
+
input: string;
|
|
17
|
+
};
|
|
18
|
+
lg: {
|
|
19
|
+
input: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
isInvalid: {
|
|
23
|
+
true: {
|
|
24
|
+
contentWrapper: string;
|
|
25
|
+
label: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
radius: {
|
|
29
|
+
sm: {};
|
|
30
|
+
md: {};
|
|
31
|
+
lg: {};
|
|
32
|
+
xl: {};
|
|
33
|
+
"2xl": {};
|
|
34
|
+
"3xl": {};
|
|
35
|
+
full: {};
|
|
36
|
+
none: {};
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
root: string;
|
|
40
|
+
label: string;
|
|
41
|
+
helperText: string;
|
|
42
|
+
errorMessage: string;
|
|
43
|
+
input: string[];
|
|
44
|
+
wrapper: string;
|
|
45
|
+
content: string;
|
|
46
|
+
contentWrapper: string[];
|
|
47
|
+
startContent: string;
|
|
48
|
+
endContent: string;
|
|
49
|
+
clearButton: string;
|
|
50
|
+
}, undefined, {
|
|
51
|
+
fullWidth: {
|
|
52
|
+
true: {
|
|
53
|
+
root: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
sm: {
|
|
58
|
+
input: string;
|
|
59
|
+
};
|
|
60
|
+
md: {
|
|
61
|
+
input: string;
|
|
62
|
+
};
|
|
63
|
+
lg: {
|
|
64
|
+
input: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
isInvalid: {
|
|
68
|
+
true: {
|
|
69
|
+
contentWrapper: string;
|
|
70
|
+
label: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
radius: {
|
|
74
|
+
sm: {};
|
|
75
|
+
md: {};
|
|
76
|
+
lg: {};
|
|
77
|
+
xl: {};
|
|
78
|
+
"2xl": {};
|
|
79
|
+
"3xl": {};
|
|
80
|
+
full: {};
|
|
81
|
+
none: {};
|
|
82
|
+
};
|
|
83
|
+
}, {
|
|
84
|
+
root: string;
|
|
85
|
+
label: string;
|
|
86
|
+
helperText: string;
|
|
87
|
+
errorMessage: string;
|
|
88
|
+
input: string[];
|
|
89
|
+
wrapper: string;
|
|
90
|
+
content: string;
|
|
91
|
+
contentWrapper: string[];
|
|
92
|
+
startContent: string;
|
|
93
|
+
endContent: string;
|
|
94
|
+
clearButton: string;
|
|
95
|
+
}, tailwind_variants.TVReturnType<{
|
|
96
|
+
fullWidth: {
|
|
97
|
+
true: {
|
|
98
|
+
root: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
size: {
|
|
102
|
+
sm: {
|
|
103
|
+
input: string;
|
|
104
|
+
};
|
|
105
|
+
md: {
|
|
106
|
+
input: string;
|
|
107
|
+
};
|
|
108
|
+
lg: {
|
|
109
|
+
input: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
isInvalid: {
|
|
113
|
+
true: {
|
|
114
|
+
contentWrapper: string;
|
|
115
|
+
label: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
radius: {
|
|
119
|
+
sm: {};
|
|
120
|
+
md: {};
|
|
121
|
+
lg: {};
|
|
122
|
+
xl: {};
|
|
123
|
+
"2xl": {};
|
|
124
|
+
"3xl": {};
|
|
125
|
+
full: {};
|
|
126
|
+
none: {};
|
|
127
|
+
};
|
|
128
|
+
}, {
|
|
129
|
+
root: string;
|
|
130
|
+
label: string;
|
|
131
|
+
helperText: string;
|
|
132
|
+
errorMessage: string;
|
|
133
|
+
input: string[];
|
|
134
|
+
wrapper: string;
|
|
135
|
+
content: string;
|
|
136
|
+
contentWrapper: string[];
|
|
137
|
+
startContent: string;
|
|
138
|
+
endContent: string;
|
|
139
|
+
clearButton: string;
|
|
140
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
141
|
+
type InputVariantProps = VariantProps<typeof inputVariants>;
|
|
142
|
+
type InputSlots = keyof ReturnType<typeof inputVariants>;
|
|
143
|
+
|
|
144
|
+
export { type InputSlots, type InputVariantProps, inputVariants, test };
|
package/dist/styles.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDYZSR7G3js = require('./chunk-DYZSR7G3.js');exports.inputVariants = _chunkDYZSR7G3js.b; exports.test = _chunkDYZSR7G3js.a;
|
package/dist/styles.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"./chunk-R3WJDFEH.mjs";export{b as inputVariants,a as test};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import '@jamsrui/utils';
|
|
3
|
+
export { u as useInput } from './input-DG-nGssY.mjs';
|
|
4
|
+
import './input-clear-button.mjs';
|
|
5
|
+
import './input-content.mjs';
|
|
6
|
+
import './input-content-wrapper.mjs';
|
|
7
|
+
import './input-end-content.mjs';
|
|
8
|
+
import './input-error-message.mjs';
|
|
9
|
+
import './input-field.mjs';
|
|
10
|
+
import './input-helper-text.mjs';
|
|
11
|
+
import './input-label.mjs';
|
|
12
|
+
import './input-start-content.mjs';
|
|
13
|
+
import './input-wrapper.mjs';
|
|
14
|
+
import './styles.mjs';
|
|
15
|
+
import 'tailwind-variants';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import '@jamsrui/utils';
|
|
3
|
+
export { u as useInput } from './input-CCxcCU7G.js';
|
|
4
|
+
import './input-clear-button.js';
|
|
5
|
+
import './input-content.js';
|
|
6
|
+
import './input-content-wrapper.js';
|
|
7
|
+
import './input-end-content.js';
|
|
8
|
+
import './input-error-message.js';
|
|
9
|
+
import './input-field.js';
|
|
10
|
+
import './input-helper-text.js';
|
|
11
|
+
import './input-label.js';
|
|
12
|
+
import './input-start-content.js';
|
|
13
|
+
import './input-wrapper.js';
|
|
14
|
+
import './styles.js';
|
|
15
|
+
import 'tailwind-variants';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkADQ4FRP4js = require('./chunk-ADQ4FRP4.js');require('./chunk-DYZSR7G3.js');exports.useInput = _chunkADQ4FRP4js.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-AY5A6SEG.mjs";import"./chunk-R3WJDFEH.mjs";export{a as useInput};
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jamsrui/input",
|
|
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
|
+
}
|