@ichicraft/widgets-widget-base 1.8.14 → 1.8.15
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 +5 -0
- package/lib/types/index.d.ts +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,11 @@ 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.15 - 2023-09-01
|
|
13
|
+
|
|
14
|
+
- Added `thumbnailUrl` property to `WidgetManifestConfig` interface, as a non-translatable substitute of the newly deprecated `preview_small` property from `WidgetImages` interface.
|
|
15
|
+
- Removed the deprecated `preview_small` property from `WidgetImages` interface.
|
|
16
|
+
|
|
12
17
|
## 1.8.14 - 2023-09-01
|
|
13
18
|
|
|
14
19
|
- Added `iconName` property to `WidgetManifestConfig` interface, to support using an icon to represent a widget, e.g. in the widget library or widget header.
|
package/lib/types/index.d.ts
CHANGED
|
@@ -315,7 +315,6 @@ export interface ValidationResult {
|
|
|
315
315
|
}
|
|
316
316
|
export interface WidgetImages {
|
|
317
317
|
preview: string;
|
|
318
|
-
preview_small: string;
|
|
319
318
|
additional: string[];
|
|
320
319
|
}
|
|
321
320
|
export interface WidgetResource {
|
|
@@ -400,6 +399,10 @@ export interface WidgetManifestConfig {
|
|
|
400
399
|
* Icon used to represent this widget, used as default when installing a widget in the board. Icon should be the type id of a UI Fabric icon.
|
|
401
400
|
*/
|
|
402
401
|
iconName: string;
|
|
402
|
+
/**
|
|
403
|
+
* Image used to represent this widget, used as default when installing a widget in the board.
|
|
404
|
+
*/
|
|
405
|
+
thumbnailUrl: string;
|
|
403
406
|
/**
|
|
404
407
|
* Language specific resources for this widget, used as default when installing a widget in the board
|
|
405
408
|
*/
|
package/package.json
CHANGED