@ichicraft/widgets-widget-base 1.8.14 → 1.8.16
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 +9 -0
- package/lib/types/index.d.ts +6 -2
- package/lib/types/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,15 @@ 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.16 - 2023-09-26
|
|
13
|
+
|
|
14
|
+
- Added `Custom` value to `ICPersonaType` enum, to support a custom ICPersona.
|
|
15
|
+
|
|
16
|
+
## 1.8.15 - 2023-09-01
|
|
17
|
+
|
|
18
|
+
- Added `thumbnailUrl` property to `WidgetManifestConfig` interface, as a non-translatable substitute of the newly deprecated `preview_small` property from `WidgetImages` interface.
|
|
19
|
+
- Removed the deprecated `preview_small` property from `WidgetImages` interface.
|
|
20
|
+
|
|
12
21
|
## 1.8.14 - 2023-09-01
|
|
13
22
|
|
|
14
23
|
- 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
|
*/
|
|
@@ -507,7 +510,8 @@ export interface WidgetDebugServeConfig {
|
|
|
507
510
|
export declare enum ICPersonaType {
|
|
508
511
|
User = 0,
|
|
509
512
|
SPGroup = 1,
|
|
510
|
-
Other = 2
|
|
513
|
+
Other = 2,
|
|
514
|
+
Custom = 3
|
|
511
515
|
}
|
|
512
516
|
export interface ICPersona {
|
|
513
517
|
displayName: string;
|
package/lib/types/index.js
CHANGED
|
@@ -17,6 +17,7 @@ var ICPersonaType;
|
|
|
17
17
|
ICPersonaType[ICPersonaType["User"] = 0] = "User";
|
|
18
18
|
ICPersonaType[ICPersonaType["SPGroup"] = 1] = "SPGroup";
|
|
19
19
|
ICPersonaType[ICPersonaType["Other"] = 2] = "Other";
|
|
20
|
+
ICPersonaType[ICPersonaType["Custom"] = 3] = "Custom";
|
|
20
21
|
})(ICPersonaType = exports.ICPersonaType || (exports.ICPersonaType = {}));
|
|
21
22
|
/**
|
|
22
23
|
* Tells the severity of the command bar item, resulting in
|
package/package.json
CHANGED