kupos-ui-components-lib 9.2.10 → 9.3.1
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/ui/RatingBlock.js +1 -1
- package/package.json +1 -1
- package/src/ui/RatingBlock.tsx +3 -1
package/dist/ui/RatingBlock.js
CHANGED
|
@@ -6,7 +6,7 @@ const RatingBlock = ({ showRating, serviceItem, isSoldOut, colors, t, translatio
|
|
|
6
6
|
marginLeft: showRating ? "6px" : "0",
|
|
7
7
|
color: isSoldOut ? "#c0c0c0" : "#464647",
|
|
8
8
|
} },
|
|
9
|
-
React.createElement("span", { className:
|
|
9
|
+
React.createElement("span", { className: `block max-w-[120px] cursor-pointer text-[12px] ${isPeru ? "overflow-hidden text-ellipsis whitespace-nowrap" : ""}` }, serviceItem.operator_details[2]),
|
|
10
10
|
React.createElement("div", { className: "hidden group-hover:block absolute top-[24px] left-1/2 -translate-x-1/2 text-white p-3 rounded-[14px] whitespace-nowrap z-10 mt-2.5 w-max text-center shadow-service text-[12px]", style: { backgroundColor: colors.bottomStripColor, zIndex: "300" } },
|
|
11
11
|
React.createElement("div", { className: "tooltip-arrow absolute -top-[7px] left-1/2 -translate-x-1/2 w-0 h-0 border-l-8 border-r-8 border-b-8 border-l-transparent border-r-transparent ", style: { borderBottomColor: colors.bottomStripColor } }),
|
|
12
12
|
serviceItem.operator_details[2]))));
|
package/package.json
CHANGED
package/src/ui/RatingBlock.tsx
CHANGED
|
@@ -32,7 +32,9 @@ const RatingBlock = ({
|
|
|
32
32
|
color: isSoldOut ? "#c0c0c0" : "#464647",
|
|
33
33
|
}}
|
|
34
34
|
>
|
|
35
|
-
<span
|
|
35
|
+
<span
|
|
36
|
+
className={`block max-w-[120px] cursor-pointer text-[12px] ${isPeru ? "overflow-hidden text-ellipsis whitespace-nowrap" : ""}`}
|
|
37
|
+
>
|
|
36
38
|
{serviceItem.operator_details[2]}
|
|
37
39
|
</span>
|
|
38
40
|
<div
|