@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.js
CHANGED
|
@@ -1056,8 +1056,8 @@ var IconButton = React9.forwardRef(function IconButton2({
|
|
|
1056
1056
|
);
|
|
1057
1057
|
});
|
|
1058
1058
|
var statusClasses = {
|
|
1059
|
-
default: "rh-border-border focus-within:rh-ring-2 focus-within:rh-ring-
|
|
1060
|
-
error: "rh-border-danger focus-within:rh-ring-2 focus-within:rh-ring-
|
|
1059
|
+
default: "rh-border-border focus-within:rh-border-primary focus-within:rh-ring-2 focus-within:rh-ring-gray-200",
|
|
1060
|
+
error: "rh-border-danger focus-within:rh-border-danger focus-within:rh-ring-2 focus-within:rh-ring-red-100"
|
|
1061
1061
|
};
|
|
1062
1062
|
var sizeClasses3 = {
|
|
1063
1063
|
sm: "rh-h-input-sm rh-text-sm rh-px-input-x-sm",
|
|
@@ -1154,7 +1154,7 @@ var TextInput = React9.forwardRef(function TextInput2({
|
|
|
1154
1154
|
"aria-describedby": helperText ? `${inputId}-helper` : void 0,
|
|
1155
1155
|
className: [
|
|
1156
1156
|
"rh-flex-1 rh-min-w-0 rh-bg-transparent rh-outline-none",
|
|
1157
|
-
"rh-text-text placeholder:rh-text-text-muted",
|
|
1157
|
+
"rh-text-text placeholder:rh-text-text-muted hover:placeholder:rh-text-text",
|
|
1158
1158
|
disabled ? "rh-cursor-not-allowed" : ""
|
|
1159
1159
|
].filter(Boolean).join(" "),
|
|
1160
1160
|
onChange: (e) => {
|
|
@@ -1477,8 +1477,8 @@ var RadioGroup = React9.forwardRef(function RadioGroup2({
|
|
|
1477
1477
|
);
|
|
1478
1478
|
});
|
|
1479
1479
|
var statusClasses2 = {
|
|
1480
|
-
default: "rh-border-border focus-within:rh-
|
|
1481
|
-
error: "rh-border-danger focus-within:rh-
|
|
1480
|
+
default: "rh-border-border focus-within:rh-border-primary focus-within:rh-ring-2 focus-within:rh-ring-gray-200 ",
|
|
1481
|
+
error: "rh-border-danger focus-within:rh-border-danger focus-within:rh-ring-2 focus-within:rh-ring-red-100 "
|
|
1482
1482
|
};
|
|
1483
1483
|
var sizeClasses5 = {
|
|
1484
1484
|
sm: "rh-min-h-[32px] rh-text-sm rh-px-input-x-sm",
|
|
@@ -1745,7 +1745,7 @@ var Select = React9.forwardRef(function Select2(props, ref) {
|
|
|
1745
1745
|
onClick: () => !disabled && setIsOpen((o) => !o),
|
|
1746
1746
|
onKeyDown: handleKeyDown,
|
|
1747
1747
|
className: [
|
|
1748
|
-
"rh-flex rh-items-center rh-justify-between rh-gap-2",
|
|
1748
|
+
"rh-group rh-flex rh-items-center rh-justify-between rh-gap-2",
|
|
1749
1749
|
"rh-border rh-bg-surface rh-font-body",
|
|
1750
1750
|
"rh-transition-colors rh-duration-150",
|
|
1751
1751
|
"rh-text-left rh-w-full",
|
|
@@ -1761,7 +1761,7 @@ var Select = React9.forwardRef(function Select2(props, ref) {
|
|
|
1761
1761
|
{
|
|
1762
1762
|
className: [
|
|
1763
1763
|
"rh-flex-1 rh-truncate",
|
|
1764
|
-
displayText ? "rh-text-text" : "rh-text-text-muted"
|
|
1764
|
+
displayText ? "rh-text-text" : "rh-text-text-muted group-hover:rh-text-text"
|
|
1765
1765
|
].join(" "),
|
|
1766
1766
|
children: displayText ?? placeholder
|
|
1767
1767
|
}
|