@rehagro/ui 1.0.39 → 1.0.40
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.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1050,8 +1050,8 @@ var IconButton = forwardRef(function IconButton2({
|
|
|
1050
1050
|
);
|
|
1051
1051
|
});
|
|
1052
1052
|
var statusClasses = {
|
|
1053
|
-
default: "rh-border-border focus-within:rh-ring-2 focus-within:rh-ring-
|
|
1054
|
-
error: "rh-border-danger focus-within:rh-ring-2 focus-within:rh-ring-
|
|
1053
|
+
default: "rh-border-border focus-within:rh-border-primary focus-within:rh-ring-2 focus-within:rh-ring-gray-200",
|
|
1054
|
+
error: "rh-border-danger focus-within:rh-border-danger focus-within:rh-ring-2 focus-within:rh-ring-red-100"
|
|
1055
1055
|
};
|
|
1056
1056
|
var sizeClasses3 = {
|
|
1057
1057
|
sm: "rh-h-input-sm rh-text-sm rh-px-input-x-sm",
|
|
@@ -1148,7 +1148,7 @@ var TextInput = forwardRef(function TextInput2({
|
|
|
1148
1148
|
"aria-describedby": helperText ? `${inputId}-helper` : void 0,
|
|
1149
1149
|
className: [
|
|
1150
1150
|
"rh-flex-1 rh-min-w-0 rh-bg-transparent rh-outline-none",
|
|
1151
|
-
"rh-text-text placeholder:rh-text-text-muted",
|
|
1151
|
+
"rh-text-text placeholder:rh-text-text-muted hover:placeholder:rh-text-text",
|
|
1152
1152
|
disabled ? "rh-cursor-not-allowed" : ""
|
|
1153
1153
|
].filter(Boolean).join(" "),
|
|
1154
1154
|
onChange: (e) => {
|
|
@@ -1471,8 +1471,8 @@ var RadioGroup = forwardRef(function RadioGroup2({
|
|
|
1471
1471
|
);
|
|
1472
1472
|
});
|
|
1473
1473
|
var statusClasses2 = {
|
|
1474
|
-
default: "rh-border-border focus-within:rh-
|
|
1475
|
-
error: "rh-border-danger focus-within:rh-
|
|
1474
|
+
default: "rh-border-border focus-within:rh-border-primary focus-within:rh-ring-2 focus-within:rh-ring-gray-200 ",
|
|
1475
|
+
error: "rh-border-danger focus-within:rh-border-danger focus-within:rh-ring-2 focus-within:rh-ring-red-100 "
|
|
1476
1476
|
};
|
|
1477
1477
|
var sizeClasses5 = {
|
|
1478
1478
|
sm: "rh-min-h-[32px] rh-text-sm rh-px-input-x-sm",
|
|
@@ -1739,7 +1739,7 @@ var Select = forwardRef(function Select2(props, ref) {
|
|
|
1739
1739
|
onClick: () => !disabled && setIsOpen((o) => !o),
|
|
1740
1740
|
onKeyDown: handleKeyDown,
|
|
1741
1741
|
className: [
|
|
1742
|
-
"rh-flex rh-items-center rh-justify-between rh-gap-2",
|
|
1742
|
+
"rh-group rh-flex rh-items-center rh-justify-between rh-gap-2",
|
|
1743
1743
|
"rh-border rh-bg-surface rh-font-body",
|
|
1744
1744
|
"rh-transition-colors rh-duration-150",
|
|
1745
1745
|
"rh-text-left rh-w-full",
|
|
@@ -1755,7 +1755,7 @@ var Select = forwardRef(function Select2(props, ref) {
|
|
|
1755
1755
|
{
|
|
1756
1756
|
className: [
|
|
1757
1757
|
"rh-flex-1 rh-truncate",
|
|
1758
|
-
displayText ? "rh-text-text" : "rh-text-text-muted"
|
|
1758
|
+
displayText ? "rh-text-text" : "rh-text-text-muted group-hover:rh-text-text"
|
|
1759
1759
|
].join(" "),
|
|
1760
1760
|
children: displayText ?? placeholder
|
|
1761
1761
|
}
|