@ichicraft/widgets-widget-base 1.14.5 → 1.14.6
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 +4 -0
- package/lib/types/index.d.ts +5 -0
- package/package.json +1 -1
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.14.6 - 2025-08-11
|
|
13
|
+
|
|
14
|
+
- Added `updateInstanceConfiguration` property to the `WidgetInstanceContext` interface, to support updating the instance configuration directly in a widget, instead of through the settings panel.
|
|
15
|
+
|
|
12
16
|
## 1.14.5 - 2025-08-07
|
|
13
17
|
|
|
14
18
|
- Added `imageUrl` property to the `CommandBarTab` interface, to support displaying images in widget header tabs.
|
package/lib/types/index.d.ts
CHANGED
|
@@ -344,6 +344,11 @@ export interface WidgetInstanceContext {
|
|
|
344
344
|
* use the [unregisterCommandBarItem] function.
|
|
345
345
|
*/
|
|
346
346
|
registerCustomCommandBarItem?: (props: CommandBarItemProps) => void;
|
|
347
|
+
/**
|
|
348
|
+
* Updates the instance configuration of the widget. This is used to update the
|
|
349
|
+
* configuration data of the widget instance, which is stored in the widget board.
|
|
350
|
+
*/
|
|
351
|
+
updateInstanceConfiguration?: (serializedInstanceConfiguration: string) => void;
|
|
347
352
|
/**
|
|
348
353
|
* Removes all registered custom command bar items.
|
|
349
354
|
*/
|
package/package.json
CHANGED