@rehagro/ui 1.0.43 → 1.0.44
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.d.mts +17 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/dist/native.d.mts +17 -0
- package/dist/native.d.ts +17 -0
- package/dist/native.js +7 -1
- package/dist/native.js.map +1 -1
- package/dist/native.mjs +7 -1
- package/dist/native.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1071,6 +1071,11 @@ var radiusClasses3 = {
|
|
|
1071
1071
|
xl: "rh-rounded-xl",
|
|
1072
1072
|
full: "rh-rounded-full"
|
|
1073
1073
|
};
|
|
1074
|
+
var borderWidthClasses = {
|
|
1075
|
+
sm: "rh-border-sm",
|
|
1076
|
+
md: "rh-border-md",
|
|
1077
|
+
lg: "rh-border-lg"
|
|
1078
|
+
};
|
|
1074
1079
|
var iconSizeClasses = {
|
|
1075
1080
|
sm: "rh-w-4 rh-h-4",
|
|
1076
1081
|
md: "rh-w-5 rh-h-5",
|
|
@@ -1102,6 +1107,7 @@ var TextInput = forwardRef(function TextInput2({
|
|
|
1102
1107
|
className = "",
|
|
1103
1108
|
wrapperClassName = "",
|
|
1104
1109
|
borderColor,
|
|
1110
|
+
borderWidth = "sm",
|
|
1105
1111
|
id,
|
|
1106
1112
|
...rest
|
|
1107
1113
|
}, ref) {
|
|
@@ -1125,7 +1131,8 @@ var TextInput = forwardRef(function TextInput2({
|
|
|
1125
1131
|
style: borderColor ? { borderColor } : void 0,
|
|
1126
1132
|
className: [
|
|
1127
1133
|
"rh-flex rh-items-center rh-gap-2",
|
|
1128
|
-
"rh-
|
|
1134
|
+
"rh-bg-surface rh-font-body",
|
|
1135
|
+
borderWidthClasses[borderWidth],
|
|
1129
1136
|
"rh-transition-colors rh-duration-150",
|
|
1130
1137
|
"rh-overflow-hidden",
|
|
1131
1138
|
statusClasses[visualStatus],
|