@iobroker/json-config 8.2.21 → 8.2.22

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/README.md CHANGED
@@ -1756,7 +1756,7 @@ The schema is used here: https://github.com/SchemaStore/schemastore/blob/6da29cd
1756
1756
  ### **WORK IN PROGRESS**
1757
1757
  -->
1758
1758
  ## Changelog
1759
- ### 8.2.21 (2026-03-29)
1759
+ ### 8.2.22 (2026-03-29)
1760
1760
  - (@GermanBluefox) Corrected error for "state" component
1761
1761
 
1762
1762
  ### 8.2.19 (2026-03-27)
package/build/types.d.ts CHANGED
@@ -814,11 +814,11 @@ export interface ConfigItemState extends ConfigItem {
814
814
  /** Add a unit to the value */
815
815
  unit?: string;
816
816
  /** this text will be shown if the value is true */
817
- trueText?: string;
817
+ trueText?: ioBroker.StringOrTranslated;
818
818
  /** Style of the text if the value is true */
819
819
  trueTextStyle?: CustomCSSProperties;
820
820
  /** this text will be shown if the value is false or if the control is a "button" */
821
- falseText?: string;
821
+ falseText?: ioBroker.StringOrTranslated;
822
822
  /** Style of the text if the value is false or if the control is a "button" */
823
823
  falseTextStyle?: CustomCSSProperties;
824
824
  /** This image will be shown if the value is true */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iobroker/json-config",
3
3
  "description": "This package contains the ioBroker JSON config UI components",
4
- "version": "8.2.21",
4
+ "version": "8.2.22",
5
5
  "author": {
6
6
  "name": "bluefox",
7
7
  "email": "dogafox@gmail.com"