@wandelbots/wandelbots-js-react-components 2.38.0-pr.bugfix-add-bg-to-cycle-timer.380.f7d61ae → 2.38.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.38.0-pr.bugfix-add-bg-to-cycle-timer.380.f7d61ae",
3
+ "version": "2.38.0",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -86,10 +86,7 @@ export const DefaultVariant = ({
86
86
  top: "50%",
87
87
  left: "50%",
88
88
  transform: "translate(-50%, -50%)",
89
- width: 225,
90
- height: 225,
91
89
  borderRadius: "50%",
92
- backgroundColor: "#292B3F",
93
90
  display: "flex",
94
91
  flexDirection: "column",
95
92
  alignItems: "center",
@@ -252,7 +249,12 @@ export const DefaultVariant = ({
252
249
  >
253
250
  <span
254
251
  style={{
255
- opacity: 1,
252
+ opacity:
253
+ currentState === "measured" && pulsatingFinished
254
+ ? showPulsatingText
255
+ ? 1
256
+ : 0.6
257
+ : 1,
256
258
  transition: "opacity 2s ease-in-out",
257
259
  }}
258
260
  >