@ichicraft/widgets-widget-base 1.16.3 → 1.16.4

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,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.16.4 - 2026-05-27
13
+
14
+ - Added `header` property to `WidgetDesignContext` interface, exposing the header's `textColor`, `iconColor`, `activeTextColor` and `activeIconColor` from the user's theme.
15
+ - Deprecated `defaultColor` property on `WidgetBuddyContext` interface in favor of `design.header.iconColor` (and `design.header.activeIconColor` for the hover/active state).
16
+
12
17
  ## 1.16.3 - 2026-05-08
13
18
 
14
19
  - Added `whatsNewUrl` property to `WidgetManifestConfig` to allow quick access to updates that the widget has received.
@@ -396,6 +396,7 @@ export interface WidgetInstanceContext {
396
396
  export interface WidgetBuddyContext {
397
397
  /**
398
398
  * The default color of the buddy icon, as configured in the user's theme.
399
+ * @deprecated Use `design.header.iconColor` (or `design.header.activeIconColor` for the hover/active state) instead.
399
400
  */
400
401
  defaultColor: string;
401
402
  /**
@@ -473,6 +474,17 @@ export interface WidgetDesignContext {
473
474
  /** Inner text color of an icon badge. */
474
475
  textColor: string;
475
476
  };
477
+ /** Design settings related to the board header (welcome message, buddy bar and icons). */
478
+ header: {
479
+ /** Text color used in the header. */
480
+ textColor: string;
481
+ /** Icon color used in the header. */
482
+ iconColor: string;
483
+ /** Text color used in the header when an element is in the active or hover state. */
484
+ activeTextColor: string;
485
+ /** Icon color used in the header when an element is in the active or hover state. */
486
+ activeIconColor: string;
487
+ };
476
488
  }
477
489
  export interface ValidationResult {
478
490
  isValid: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.16.3",
3
+ "version": "1.16.4",
4
4
  "description": "Part of the Widget Development Kit for building widgets for Bloom Intranet",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",