@ichicraft/widgets-widget-base 1.8.16 → 1.8.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.
package/README.md CHANGED
@@ -9,6 +9,10 @@ All notable changes to this project will be documented here.
9
9
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
10
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
 
12
+ ## 1.8.17 - 2023-10-09
13
+
14
+ - Added `iconName` property to the `definition` object of the `WidgetContext` interface, to support using an icon to represent a widget.
15
+
12
16
  ## 1.8.16 - 2023-09-26
13
17
 
14
18
  - Added `Custom` value to `ICPersonaType` enum, to support a custom ICPersona.
@@ -113,6 +113,10 @@ export interface WidgetContext {
113
113
  * A list of board types applicable for this widget variant.
114
114
  */
115
115
  allowedBoardTypes?: BoardType[];
116
+ /**
117
+ * The icon defined for this widget variant.
118
+ */
119
+ iconName?: string;
116
120
  };
117
121
  /**
118
122
  * Metadata and functions in the context of a widget's manifest. A widget manifest contains
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.8.16",
3
+ "version": "1.8.17",
4
4
  "description": "Part of the Widget Development Kit for building widgets for Ichicraft Boards",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",