@trafilea/afrodita-components 6.21.7 → 6.21.8
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/build/index.esm.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -19953,7 +19953,7 @@ var Timer = function (_a) {
|
|
|
19953
19953
|
}, [onTimeUp, secs]);
|
|
19954
19954
|
var _h = secondsToTime(secs), hours = _h.hours, minutes = _h.minutes, seconds = _h.seconds;
|
|
19955
19955
|
if (isCardsVersion) {
|
|
19956
|
-
return (jsxs$1(TimerContainerV2, __assign$1({ "data-testid": "Time", timerColor: timerColor }, { children: [showHours && (jsxs$1(UnitBlock, __assign$1({ variant: "body", weight: "bold" }, { children: [(hours || displayZeroValues) && "".concat(hours), jsx$1(Unit, { children: HRS },
|
|
19956
|
+
return (jsxs$1(TimerContainerV2, __assign$1({ "data-testid": "Time", timerColor: timerColor }, { children: [showHours && (jsxs$1(UnitBlock, __assign$1({ variant: "body", weight: "bold" }, { children: [(hours || displayZeroValues) && "".concat(hours), jsx$1(Unit, { children: HRS }, "HoursUnit")] }), "Hours")), jsxs$1(UnitBlock, __assign$1({ variant: "body", weight: "bold" }, { children: [(minutes || displayZeroValues) && "".concat(minutes), jsx$1(Unit, { children: MIN }, "MinutesUnit")] }), "Minutes"), jsxs$1(UnitBlock, __assign$1({ variant: "body", weight: "bold" }, { children: [showSeconds && "".concat(seconds), jsx$1(Unit, { children: SEC }, "SecondsUnit")] }), "Seconds")] }), void 0));
|
|
19957
19957
|
}
|
|
19958
19958
|
return (jsxs$1(TimerContainer$1, __assign$1({ "data-testid": "Time", timerColor: timerColor }, { children: [showHours && (hours || displayZeroValues) && "".concat(hours, "h "), (minutes || displayZeroValues) && "".concat(minutes, "m "), showSeconds && "".concat(seconds, "s")] }), void 0));
|
|
19959
19959
|
};
|
package/build/index.js
CHANGED
|
@@ -19979,7 +19979,7 @@ var Timer = function (_a) {
|
|
|
19979
19979
|
}, [onTimeUp, secs]);
|
|
19980
19980
|
var _h = secondsToTime(secs), hours = _h.hours, minutes = _h.minutes, seconds = _h.seconds;
|
|
19981
19981
|
if (isCardsVersion) {
|
|
19982
|
-
return (jsxRuntime.jsxs(TimerContainerV2, __assign$1({ "data-testid": "Time", timerColor: timerColor }, { children: [showHours && (jsxRuntime.jsxs(UnitBlock, __assign$1({ variant: "body", weight: "bold" }, { children: [(hours || displayZeroValues) && "".concat(hours), jsxRuntime.jsx(Unit, { children: HRS },
|
|
19982
|
+
return (jsxRuntime.jsxs(TimerContainerV2, __assign$1({ "data-testid": "Time", timerColor: timerColor }, { children: [showHours && (jsxRuntime.jsxs(UnitBlock, __assign$1({ variant: "body", weight: "bold" }, { children: [(hours || displayZeroValues) && "".concat(hours), jsxRuntime.jsx(Unit, { children: HRS }, "HoursUnit")] }), "Hours")), jsxRuntime.jsxs(UnitBlock, __assign$1({ variant: "body", weight: "bold" }, { children: [(minutes || displayZeroValues) && "".concat(minutes), jsxRuntime.jsx(Unit, { children: MIN }, "MinutesUnit")] }), "Minutes"), jsxRuntime.jsxs(UnitBlock, __assign$1({ variant: "body", weight: "bold" }, { children: [showSeconds && "".concat(seconds), jsxRuntime.jsx(Unit, { children: SEC }, "SecondsUnit")] }), "Seconds")] }), void 0));
|
|
19983
19983
|
}
|
|
19984
19984
|
return (jsxRuntime.jsxs(TimerContainer$1, __assign$1({ "data-testid": "Time", timerColor: timerColor }, { children: [showHours && (hours || displayZeroValues) && "".concat(hours, "h "), (minutes || displayZeroValues) && "".concat(minutes, "m "), showSeconds && "".concat(seconds, "s")] }), void 0));
|
|
19985
19985
|
};
|
package/package.json
CHANGED