@camstack/ui-library 1.2.20 → 1.2.21
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.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -26910,10 +26910,10 @@ function AlarmHeroCard({ trpc, deviceId, optimistic }) {
|
|
|
26910
26910
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
26911
26911
|
"data-testid": "alarm-state",
|
|
26912
26912
|
"data-state": display.state,
|
|
26913
|
-
className: cn("flex h-16 w-16 items-center justify-center rounded-full border-2", config.colorClass),
|
|
26913
|
+
className: cn("flex h-16 w-16 items-center justify-center rounded-full border-2", config.colorClass, isTransitioningState(display.state) && "animate-pulse"),
|
|
26914
26914
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AlarmGlyph, { icon: config.icon })
|
|
26915
26915
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26916
|
-
className: "text-sm font-medium
|
|
26916
|
+
className: cn("text-sm font-medium", config.colorClass, "border-0 bg-transparent"),
|
|
26917
26917
|
children: config.label
|
|
26918
26918
|
})]
|
|
26919
26919
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AlarmSegments, {
|
package/dist/index.js
CHANGED
|
@@ -26886,10 +26886,10 @@ function AlarmHeroCard({ trpc, deviceId, optimistic }) {
|
|
|
26886
26886
|
children: [/* @__PURE__ */ jsx("div", {
|
|
26887
26887
|
"data-testid": "alarm-state",
|
|
26888
26888
|
"data-state": display.state,
|
|
26889
|
-
className: cn("flex h-16 w-16 items-center justify-center rounded-full border-2", config.colorClass),
|
|
26889
|
+
className: cn("flex h-16 w-16 items-center justify-center rounded-full border-2", config.colorClass, isTransitioningState(display.state) && "animate-pulse"),
|
|
26890
26890
|
children: /* @__PURE__ */ jsx(AlarmGlyph, { icon: config.icon })
|
|
26891
26891
|
}), /* @__PURE__ */ jsx("span", {
|
|
26892
|
-
className: "text-sm font-medium
|
|
26892
|
+
className: cn("text-sm font-medium", config.colorClass, "border-0 bg-transparent"),
|
|
26893
26893
|
children: config.label
|
|
26894
26894
|
})]
|
|
26895
26895
|
}), /* @__PURE__ */ jsx(AlarmSegments, {
|