@jamsrui/input 0.0.22 → 0.0.23
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/styles.mjs +1 -1
- package/package.json +7 -7
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{radiusBaseVariant as
|
|
1
|
+
import{radiusBaseVariant as e,tv as r}from"@jamsrui/utils";const a=r({base:["input focus:outline-none disabled:status-disabled placeholder:text-foreground-secondary bg-transparent font-normal"],variants:{variant:{bordered:"border border-border enabled:hover:border-border-dark enabled:focus:border-focus",solid:"bg-surface hover:bg-surface/90"},size:{sm:"input--sm px-3 py-1.5 text-sm placeholder:text-sm",md:"input--md px-3 py-2 text-sm placeholder:text-sm",lg:"input--lg px-3 py-2 text-base placeholder:text-base"},radius:e,isInvalid:{true:"border-danger!"}},defaultVariants:{radius:"md",size:"md",variant:"bordered"}}),o=r({base:"input-group__input w-full px-3 py-2 text-sm placeholder:text-sm focus:outline-none",variants:{variant:{bordered:"",solid:"bg-surface hover:bg-surface/90"}}});export{o as inputGroupVariants,a as inputVariants};
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/input",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/context": "^0.0.
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/
|
|
11
|
-
"@jamsrui/
|
|
12
|
-
"@jamsrui/
|
|
13
|
-
"@jamsrui/
|
|
8
|
+
"@jamsrui/context": "^0.0.9",
|
|
9
|
+
"@jamsrui/core": "^0.0.16",
|
|
10
|
+
"@jamsrui/hooks": "^0.0.20",
|
|
11
|
+
"@jamsrui/input-group": "^0.0.10",
|
|
12
|
+
"@jamsrui/utils": "^0.0.20",
|
|
13
|
+
"@jamsrui/textfield": "^0.0.9"
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|