@iobroker/dm-utils 3.0.7 → 3.0.8

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
@@ -454,7 +454,7 @@ These names are supported for backward compatibility. Prefer the names from the
454
454
  Placeholder for the next version (at the beginning of the line):
455
455
  ### **WORK IN PROGRESS**
456
456
  -->
457
- ### 3.0.7 (2026-03-28)
457
+ ### 3.0.8 (2026-03-28)
458
458
  - (@GermanBluefox) Added description of icons and the possibility to show an information directly on the card
459
459
  - (@GermanBluefox) Added style property for action and control buttons
460
460
 
@@ -103,6 +103,8 @@ export type WithHandlerOrUrl<TType extends ActionType, THandler> = {
103
103
  };
104
104
  export type InstanceAction<T extends ActionType = 'api'> = ActionBase<T> & WithHandlerOrUrl<T, (context: ActionContext, options?: Record<string, any>) => RetVal<InstanceRefreshResponse>> & {
105
105
  title?: ioBroker.StringOrTranslated;
106
+ /** Type of button if the title is used */
107
+ variant?: 'outlined' | 'contained' | 'standard';
106
108
  };
107
109
  export type DeviceUpdate<T extends ActionType = 'api', TId extends DeviceId = DeviceId> = {
108
110
  update: DeviceInfo<T, TId>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/dm-utils",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "ioBroker Device Manager utilities for backend",
5
5
  "main": "build/index.js",
6
6
  "publishConfig": {