@iobroker/json-config 8.3.4 → 8.3.5
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 +28 -15
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -711,26 +711,36 @@ button that sets instance's state
|
|
|
711
711
|
|
|
712
712
|
Static text like description
|
|
713
713
|
|
|
714
|
-
| Property
|
|
715
|
-
|
|
716
|
-
| `label`
|
|
717
|
-
| `text`
|
|
718
|
-
| `format`
|
|
714
|
+
| Property | Description |
|
|
715
|
+
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
716
|
+
| `label` | multi-language text |
|
|
717
|
+
| `text` | same as label |
|
|
718
|
+
| `format` | `text` (default), `html`, `json` (from admin version 7.8.4) |
|
|
719
|
+
| `href` | link. Link could be dynamic like `#tab-objects/customs/${data.parentId}` |
|
|
720
|
+
| `target` | `_blank` or `_self` or window name. For relative links the default is `_self` and for absolute - `_blank` |
|
|
721
|
+
| `close` | if true, the GUI will be closed (used not for JsonConfig in admin, but for dynamic GUI, only if the target is `_self`) |
|
|
722
|
+
| `button` | show a link as a button |
|
|
723
|
+
| `variant` | type of button (`outlined`, `contained`, `text`) |
|
|
724
|
+
| `color` | color of button (e.g. `primary`) |
|
|
725
|
+
| `icon` | if icon should be shown: `auth`, `send`, `web`, `warning`, `error`, `info`, `search`, `book`, `help`, `upload`. You can use `base64` icons (it starts with `data:image/svg+xml;base64,...`) or `jpg/png` images (ends with `.png`) . (Request via issue if you need more icons) |
|
|
726
|
+
| `controlStyle` | CSS Styles in React format for the button or control itself |
|
|
719
727
|
|
|
720
728
|
exactly one of `label` or `text` must be specified - not both
|
|
721
729
|
|
|
722
730
|
### `staticLink`
|
|
723
731
|
|
|
724
|
-
| Property
|
|
725
|
-
|
|
726
|
-
| `label`
|
|
727
|
-
| `href`
|
|
728
|
-
| `target`
|
|
729
|
-
| `close`
|
|
730
|
-
| `button`
|
|
731
|
-
| `variant`
|
|
732
|
-
| `color`
|
|
733
|
-
| `icon`
|
|
732
|
+
| Property | Description |
|
|
733
|
+
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
734
|
+
| `label` | multi-language text |
|
|
735
|
+
| `href` | link. Link could be dynamic like `#tab-objects/customs/${data.parentId}` |
|
|
736
|
+
| `target` | `_blank` or `_self` or window name. For relative links the default is `_self` and for absolute - `_blank` |
|
|
737
|
+
| `close` | if true, the GUI will be closed (used not for JsonConfig in admin, but for dynamic GUI, only if the target is `_self`) |
|
|
738
|
+
| `button` | show a link as button |
|
|
739
|
+
| `variant` | type of button (`outlined`, `contained`, `text`) |
|
|
740
|
+
| `color` | color of button (e.g. `primary`) |
|
|
741
|
+
| `icon` | if icon should be shown: `auth`, `send`, `web`, `warning`, `error`, `info`, `search`, `book`, `help`, `upload`. You can use `base64` icons (it starts with `data:image/svg+xml;base64,...`) or `jpg/png` images (ends with `.png`) . (Request via issue if you need more icons) |
|
|
742
|
+
| `controlStyle` | CSS Styles in React format for the button or control itself |
|
|
743
|
+
| `format` | `text` (default), `html`, `json` |
|
|
734
744
|
|
|
735
745
|
### `staticImage`
|
|
736
746
|
|
|
@@ -1758,6 +1768,9 @@ The schema is used here: https://github.com/SchemaStore/schemastore/blob/6da29cd
|
|
|
1758
1768
|
### **WORK IN PROGRESS**
|
|
1759
1769
|
-->
|
|
1760
1770
|
## Changelog
|
|
1771
|
+
### 8.3.5 (2026-04-11)
|
|
1772
|
+
- (@GermanBluefox) Extend schema for staticLink and staticImage components
|
|
1773
|
+
|
|
1761
1774
|
### 8.3.4 (2026-04-09)
|
|
1762
1775
|
- (@GermanBluefox) Added `horizontal` option for `select` component with `format: "radio"` to display radio buttons in a row
|
|
1763
1776
|
- (@GermanBluefox) Added `icon` option for `select` component options to display icons next to labels
|
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.3.
|
|
4
|
+
"version": "8.3.5",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "bluefox",
|
|
7
7
|
"email": "dogafox@gmail.com"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@iobroker/adapter-react-v5": "^8.1.
|
|
38
|
+
"@iobroker/adapter-react-v5": "^8.1.8",
|
|
39
39
|
"@module-federation/runtime": "^2.3.0",
|
|
40
40
|
"@mui/x-date-pickers": "^7.29.4",
|
|
41
41
|
"crypto-js": "^4.2.0",
|