@iobroker/adapter-react-v5 7.6.15 → 7.6.17

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.
@@ -22,6 +22,7 @@
22
22
  "type-instance": "Instanz",
23
23
  "type-light": "Licht",
24
24
  "type-location": "Position",
25
+ "type-locationOne": "Position als ein Zustand",
25
26
  "type-lock": "Schloss",
26
27
  "type-media": "Mediaplayer",
27
28
  "type-motion": "Bewegungssensor",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "Instance",
23
23
  "type-light": "Light",
24
24
  "type-location": "Position",
25
+ "type-locationOne": "Position as one state",
25
26
  "type-lock": "Lock",
26
27
  "type-media": "Media-player",
27
28
  "type-motion": "Motion sensor",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "exemple",
23
23
  "type-light": "lumière",
24
24
  "type-location": "emplacement",
25
+ "type-locationOne": "Position en tant qu'État",
25
26
  "type-lock": "verrouillage",
26
27
  "type-media": "médias",
27
28
  "type-motion": "mouvement",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "esempio",
23
23
  "type-light": "leggero",
24
24
  "type-location": "posizione",
25
+ "type-locationOne": "Posizione come stato",
25
26
  "type-lock": "serratura",
26
27
  "type-media": "media",
27
28
  "type-motion": "movimento",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "aanleg",
23
23
  "type-light": "licht",
24
24
  "type-location": "locatie",
25
+ "type-locationOne": "Positie als staat",
25
26
  "type-lock": "slot",
26
27
  "type-media": "media",
27
28
  "type-motion": "beweging",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "przykład",
23
23
  "type-light": "światło",
24
24
  "type-location": "lokalizacja",
25
+ "type-locationOne": "Pozycja jako państwa",
25
26
  "type-lock": "zamek",
26
27
  "type-media": "głoska bezdźwięczna",
27
28
  "type-motion": "ruch",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "exemplo",
23
23
  "type-light": "luz",
24
24
  "type-location": "localização",
25
+ "type-locationOne": "Posição como um estado",
25
26
  "type-lock": "trancar",
26
27
  "type-media": "mídia",
27
28
  "type-motion": "movimento",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "Инстанция",
23
23
  "type-light": "Свет",
24
24
  "type-location": "Местоположение",
25
+ "type-locationOne": "Позиция в одном состоянии",
25
26
  "type-lock": "Замок",
26
27
  "type-media": "Медиа-плейер",
27
28
  "type-motion": "Датчик движения",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "екземпляр",
23
23
  "type-light": "світло",
24
24
  "type-location": "розташування",
25
+ "type-locationOne": "Позиція як держави",
25
26
  "type-lock": "замок",
26
27
  "type-media": "ЗМІ",
27
28
  "type-motion": "руху",
@@ -22,6 +22,7 @@
22
22
  "type-instance": "实例",
23
23
  "type-light": "光",
24
24
  "type-location": "地点",
25
+ "type-locationOne": "作为一个国家的地位",
25
26
  "type-lock": "锁",
26
27
  "type-media": "媒体",
27
28
  "type-motion": "运动",
@@ -1,6 +1,7 @@
1
1
  import React, { type JSX } from 'react';
2
+ import { ThemeName } from '../types';
2
3
  interface ToggleThemeMenuProps {
3
- themeName: 'dark' | 'blue' | 'colored' | 'light';
4
+ themeName: ThemeName;
4
5
  toggleTheme: () => void;
5
6
  t: (key: string) => string;
6
7
  className?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleThemeMenu.js","sourceRoot":"./src/","sources":["Components/ToggleThemeMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EACH,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,eAAe,GACjC,MAAM,qBAAqB,CAAC;AAW7B,MAAM,UAAU,eAAe,CAAC,EAC5B,SAAS,EACT,WAAW,EACX,CAAC,EACD,SAAS,EACT,KAAK,EACL,IAAI,GACe;IACnB,OAAO,CACH,6BACI,SAAS,EAAE,SAAS,IAAI,SAAS,EACjC,KAAK,EAAE,KAAK,IAAI,SAAS;QAEzB,oBAAC,OAAO,IACJ,KAAK,EAAE,CAAC,CAAC,uBAAuB,CAAC,EACjC,SAAS,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,EAAE;YAExD,oBAAC,UAAU,IACP,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,EAC5B,IAAI,EAAE,IAAI,IAAI,QAAQ;gBAErB,SAAS,KAAK,MAAM,IAAI,oBAAC,eAAe,IAAC,SAAS,EAAE,SAAS,GAAI;gBACjE,SAAS,KAAK,MAAM,IAAI,oBAAC,eAAe,IAAC,SAAS,EAAE,SAAS,GAAI;gBACjE,SAAS,KAAK,SAAS,IAAI,oBAAC,eAAe,IAAC,SAAS,EAAE,SAAS,GAAI;gBACpE,SAAS,KAAK,MAAM,IAAI,SAAS,KAAK,MAAM,IAAI,SAAS,KAAK,SAAS,IAAI,CACxE,oBAAC,eAAe,IAAC,SAAS,EAAE,SAAS,GAAI,CAC5C,CACQ,CACP,CACR,CACT,CAAC;AACN,CAAC","sourcesContent":["import React, { type JSX } from 'react';\n\nimport { IconButton, Tooltip } from '@mui/material';\n\nimport {\n Brightness4 as Brightness4Icon,\n Brightness5 as Brightness5Icon,\n Brightness6 as Brightness6Icon,\n Brightness7 as Brightness7Icon,\n} from '@mui/icons-material';\n\ninterface ToggleThemeMenuProps {\n themeName: 'dark' | 'blue' | 'colored' | 'light';\n toggleTheme: () => void;\n t: (key: string) => string;\n className?: string;\n style?: React.CSSProperties;\n size?: 'small' | 'medium' | 'large';\n}\n\nexport function ToggleThemeMenu({\n themeName,\n toggleTheme,\n t,\n className,\n style,\n size,\n}: ToggleThemeMenuProps): JSX.Element {\n return (\n <div\n className={className || undefined}\n style={style || undefined}\n >\n <Tooltip\n title={t('ra_Change color theme')}\n slotProps={{ popper: { sx: { pointerEvents: 'none' } } }}\n >\n <IconButton\n onClick={() => toggleTheme()}\n size={size || 'medium'}\n >\n {themeName === 'dark' && <Brightness4Icon className={className} />}\n {themeName === 'blue' && <Brightness5Icon className={className} />}\n {themeName === 'colored' && <Brightness6Icon className={className} />}\n {themeName !== 'dark' && themeName !== 'blue' && themeName !== 'colored' && (\n <Brightness7Icon className={className} />\n )}\n </IconButton>\n </Tooltip>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"ToggleThemeMenu.js","sourceRoot":"./src/","sources":["Components/ToggleThemeMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EACH,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,eAAe,GACjC,MAAM,qBAAqB,CAAC;AAY7B,MAAM,UAAU,eAAe,CAAC,EAC5B,SAAS,EACT,WAAW,EACX,CAAC,EACD,SAAS,EACT,KAAK,EACL,IAAI,GACe;IACnB,OAAO,CACH,6BACI,SAAS,EAAE,SAAS,IAAI,SAAS,EACjC,KAAK,EAAE,KAAK,IAAI,SAAS;QAEzB,oBAAC,OAAO,IACJ,KAAK,EAAE,CAAC,CAAC,uBAAuB,CAAC,EACjC,SAAS,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,EAAE;YAExD,oBAAC,UAAU,IACP,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,EAC5B,IAAI,EAAE,IAAI,IAAI,QAAQ;gBAErB,SAAS,KAAK,MAAM,IAAI,oBAAC,eAAe,IAAC,SAAS,EAAE,SAAS,GAAI;gBACjE,SAAS,KAAK,MAAM,IAAI,oBAAC,eAAe,IAAC,SAAS,EAAE,SAAS,GAAI;gBACjE,SAAS,KAAK,SAAS,IAAI,oBAAC,eAAe,IAAC,SAAS,EAAE,SAAS,GAAI;gBACpE,SAAS,KAAK,MAAM,IAAI,SAAS,KAAK,MAAM,IAAI,SAAS,KAAK,SAAS,IAAI,CACxE,oBAAC,eAAe,IAAC,SAAS,EAAE,SAAS,GAAI,CAC5C,CACQ,CACP,CACR,CACT,CAAC;AACN,CAAC","sourcesContent":["import React, { type JSX } from 'react';\n\nimport { IconButton, Tooltip } from '@mui/material';\n\nimport {\n Brightness4 as Brightness4Icon,\n Brightness5 as Brightness5Icon,\n Brightness6 as Brightness6Icon,\n Brightness7 as Brightness7Icon,\n} from '@mui/icons-material';\nimport { ThemeName } from '../types';\n\ninterface ToggleThemeMenuProps {\n themeName: ThemeName;\n toggleTheme: () => void;\n t: (key: string) => string;\n className?: string;\n style?: React.CSSProperties;\n size?: 'small' | 'medium' | 'large';\n}\n\nexport function ToggleThemeMenu({\n themeName,\n toggleTheme,\n t,\n className,\n style,\n size,\n}: ToggleThemeMenuProps): JSX.Element {\n return (\n <div\n className={className || undefined}\n style={style || undefined}\n >\n <Tooltip\n title={t('ra_Change color theme')}\n slotProps={{ popper: { sx: { pointerEvents: 'none' } } }}\n >\n <IconButton\n onClick={() => toggleTheme()}\n size={size || 'medium'}\n >\n {themeName === 'dark' && <Brightness4Icon className={className} />}\n {themeName === 'blue' && <Brightness5Icon className={className} />}\n {themeName === 'colored' && <Brightness6Icon className={className} />}\n {themeName !== 'dark' && themeName !== 'blue' && themeName !== 'colored' && (\n <Brightness7Icon className={className} />\n )}\n </IconButton>\n </Tooltip>\n </div>\n );\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "7.6.15",
3
+ "version": "7.6.17",
4
4
  "description": "React components to develop ioBroker interfaces with react.",
5
5
  "author": {
6
6
  "name": "bluefox",
@@ -81,5 +81,5 @@
81
81
  "ts-node": "^10.9.2",
82
82
  "typescript": "~5.8.3"
83
83
  },
84
- "gitHead": "002fe2c78dea83abcbe06f4d3599dbc1453b87c3"
84
+ "gitHead": "d64077fb7249005a1253de90eb54d0d84f019679"
85
85
  }