@ichicraft/widgets-widget-base 1.11.3 → 1.11.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 +8 -0
- package/lib/types/index.d.ts +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,14 @@ 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.11.5 - 2025-01-21
|
|
13
|
+
|
|
14
|
+
- Added `defaultColor` property to `WidgetBuddyContext` interface.
|
|
15
|
+
|
|
16
|
+
## 1.11.4 - 2024-11-08
|
|
17
|
+
|
|
18
|
+
- Added `driveId` property to `FilePickerFileProps` interface.
|
|
19
|
+
|
|
12
20
|
## 1.11.3 - 2024-11-05
|
|
13
21
|
|
|
14
22
|
- Added `fileName` property to `FilePickerFileProps` interface.
|
package/lib/types/index.d.ts
CHANGED
|
@@ -355,6 +355,10 @@ export interface WidgetInstanceContext {
|
|
|
355
355
|
}) => void;
|
|
356
356
|
}
|
|
357
357
|
export interface WidgetBuddyContext {
|
|
358
|
+
/**
|
|
359
|
+
* The default color of the buddy icon, as configured in the user's theme.
|
|
360
|
+
*/
|
|
361
|
+
defaultColor: string;
|
|
358
362
|
/**
|
|
359
363
|
* Allows updating the badge properties of the buddy, e.g. its visibility, count or color.
|
|
360
364
|
* This will only override the provided properties.
|
|
@@ -856,6 +860,10 @@ export interface FilePickerFileProps {
|
|
|
856
860
|
* Unique identifier of the site in SharePoint, in the form of a Guid.
|
|
857
861
|
*/
|
|
858
862
|
siteId: string;
|
|
863
|
+
/**
|
|
864
|
+
* Unique identifier of the drive, in the form of a Guid.
|
|
865
|
+
*/
|
|
866
|
+
driveId: string;
|
|
859
867
|
}
|
|
860
868
|
export type BoardType = 'shared' | 'personal' | 'buddybar';
|
|
861
869
|
export type UserRole = 'administrator' | 'board-owner' | 'widget-administrator';
|
package/package.json
CHANGED