impaktapps-design 0.2.73 → 0.2.75
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.
|
@@ -20069,7 +20069,7 @@ const ProgressBar = ({
|
|
|
20069
20069
|
children: /* @__PURE__ */ jsx("div", {
|
|
20070
20070
|
className: "progress-bar-fill",
|
|
20071
20071
|
style: {
|
|
20072
|
-
width: `${progress2}%`,
|
|
20072
|
+
width: `${progress2 < 100 ? progress2 : 100}%`,
|
|
20073
20073
|
backgroundColor: ((_g = value == null ? void 0 : value.style) == null ? void 0 : _g.progressBarFillColor) || getColor()[1],
|
|
20074
20074
|
height: "100%",
|
|
20075
20075
|
borderRadius: "10px",
|
|
@@ -20135,7 +20135,7 @@ const ProgressBar = ({
|
|
|
20135
20135
|
children: /* @__PURE__ */ jsx("div", {
|
|
20136
20136
|
className: "progress-bar-fill",
|
|
20137
20137
|
style: {
|
|
20138
|
-
width: `${progress2}%`,
|
|
20138
|
+
width: `${progress2 < 100 ? progress2 : 100}%`,
|
|
20139
20139
|
backgroundColor: getColor()[1],
|
|
20140
20140
|
height: "100%",
|
|
20141
20141
|
borderRadius: "10px",
|
|
@@ -43927,7 +43927,7 @@ const CustomTimer = ({
|
|
|
43927
43927
|
children: [/* @__PURE__ */ jsx(Box$1, {
|
|
43928
43928
|
component: "h1",
|
|
43929
43929
|
style: containerLabelColor,
|
|
43930
|
-
children: new Date().getTime() >= new Date(
|
|
43930
|
+
children: new Date().getTime() >= new Date(data == null ? void 0 : data.startDate).getTime() && new Date().getTime() <= new Date(data == null ? void 0 : data.endDate).getTime() ? "Contest ends in..." : new Date().getTime() < new Date(data == null ? void 0 : data.startDate).getTime() ? "Program Not Started" : "Program Over"
|
|
43931
43931
|
}), /* @__PURE__ */ jsxs(Box$1, {
|
|
43932
43932
|
style: {
|
|
43933
43933
|
display: "flex",
|