style: Alarm UI Widget

This commit is contained in:
ISA
2025-09-17 13:26:02 +02:00
parent 1d3d04d49c
commit 4a42c428f0
5 changed files with 7 additions and 7 deletions

View File

@@ -23,4 +23,4 @@ NEXT_PUBLIC_USE_MOCKS=true
# z.B. http://10.10.0.13/xyz/index.aspx -> basePath in config.json auf /xyz setzen # z.B. http://10.10.0.13/xyz/index.aspx -> basePath in config.json auf /xyz setzen
# basePath wird jetzt in public/config.json gepflegt # basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.1.387 NEXT_PUBLIC_APP_VERSION=1.1.388

View File

@@ -24,4 +24,4 @@ NEXT_PUBLIC_USE_MOCKS=false
# basePath wird jetzt in public/config.json gepflegt # basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.1.387 NEXT_PUBLIC_APP_VERSION=1.1.388

View File

@@ -16,7 +16,7 @@ const AlarmIndicator = ({
alarmLink, alarmLink,
alarmText, alarmText,
animation = "pulse", animation = "pulse",
pulseDuration = 0.5, pulseDuration = 0.5, // default: 1
}) => { }) => {
if (!hasAlarm || !alarmLink) return null; if (!hasAlarm || !alarmLink) return null;
// Animation-Klasse wählen // Animation-Klasse wählen
@@ -42,7 +42,7 @@ const AlarmIndicator = ({
aria-label="Alarm aktiv" aria-label="Alarm aktiv"
> >
<AlarmIcon <AlarmIcon
className={`h-14 w-14 ${animationClass} text-red-800 bg-orange-500`} className={`h-14 w-14 mr-6 ${animationClass} text-red-800 bg-red-300`}
style={style} style={style}
/> />
</span> </span>

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "nodemap", "name": "nodemap",
"version": "1.1.387", "version": "1.1.388",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "nodemap", "name": "nodemap",
"version": "1.1.387", "version": "1.1.388",
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0", "@emotion/styled": "^11.13.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "nodemap", "name": "nodemap",
"version": "1.1.387", "version": "1.1.388",
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0", "@emotion/styled": "^11.13.0",