@rehagro/ui 1.0.61 → 1.0.63
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 +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -6
- package/dist/index.mjs.map +1 -1
- package/dist/native.js.map +1 -1
- package/dist/native.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4527,7 +4527,10 @@ var DatePickerDropdown = ({
|
|
|
4527
4527
|
"button",
|
|
4528
4528
|
{
|
|
4529
4529
|
type: "button",
|
|
4530
|
-
style: {
|
|
4530
|
+
style: {
|
|
4531
|
+
backgroundColor: selected ? "#15607A" : "transparent",
|
|
4532
|
+
color: selected ? "#FFFFFF" : textColor
|
|
4533
|
+
},
|
|
4531
4534
|
onMouseDown: (e) => {
|
|
4532
4535
|
e.preventDefault();
|
|
4533
4536
|
setTempDate(new Date(viewYear, viewMonth, day));
|
|
@@ -4688,8 +4691,8 @@ var CustomSelect = ({
|
|
|
4688
4691
|
children: /* @__PURE__ */ jsx("div", { className: "rh-flex rh-items-center rh-gap-2 rh-flex-1 rh-px-0.5", children: /* @__PURE__ */ jsx(
|
|
4689
4692
|
"span",
|
|
4690
4693
|
{
|
|
4691
|
-
className: "rh-
|
|
4692
|
-
style: { backgroundColor: displayBg || "transparent", fontFamily: "Inter, sans-serif", color: displayTextColor },
|
|
4694
|
+
className: "rh-line-height-[20px] rh-rounded-xl rh-whitespace-normal rh-text-ellipsis rh-text-nowrap",
|
|
4695
|
+
style: { fontSize: type === "date" ? "14px" : "12px", fontWeight: type === "date" ? "normal" : "bold", padding: type === "date" ? "0px 3px" : "2px 14px", backgroundColor: displayBg || "transparent", fontFamily: "Inter, sans-serif", color: displayTextColor },
|
|
4693
4696
|
children: displayLabel
|
|
4694
4697
|
}
|
|
4695
4698
|
) })
|
|
@@ -4723,7 +4726,7 @@ var CustomSelect = ({
|
|
|
4723
4726
|
/* @__PURE__ */ jsx(
|
|
4724
4727
|
"span",
|
|
4725
4728
|
{
|
|
4726
|
-
className: "rh-
|
|
4729
|
+
className: "rh-px-2 rh-rounded-xl rh-text-white rh-text-[12px] rh-whitespace-normal rh-break-words",
|
|
4727
4730
|
style: {
|
|
4728
4731
|
backgroundColor: option.backgroundColor || backgroundColor || "transparent",
|
|
4729
4732
|
fontFamily: "Inter, sans-serif",
|
|
@@ -4771,7 +4774,6 @@ function TableInner({
|
|
|
4771
4774
|
rowClickable = false,
|
|
4772
4775
|
onRowClick,
|
|
4773
4776
|
disableEditableControls = false,
|
|
4774
|
-
disableEditableSelects = false,
|
|
4775
4777
|
size = "md",
|
|
4776
4778
|
variant = "default",
|
|
4777
4779
|
sort,
|
|
@@ -4791,7 +4793,7 @@ function TableInner({
|
|
|
4791
4793
|
className = "",
|
|
4792
4794
|
...rest
|
|
4793
4795
|
}, ref) {
|
|
4794
|
-
const shouldDisableEditableControls = disableEditableControls
|
|
4796
|
+
const shouldDisableEditableControls = disableEditableControls;
|
|
4795
4797
|
const handleSort = (column) => {
|
|
4796
4798
|
if (!column.sortable || !onSortChange) return;
|
|
4797
4799
|
const newDirection = sort?.key === column.key ? sort.direction === "asc" ? "desc" : sort.direction === "desc" ? null : "asc" : "asc";
|