@ichicraft/widgets-widget-base 1.7.10 → 1.7.11

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
@@ -8,8 +8,8 @@ All notable changes to this project will be documented here.
8
8
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9
9
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
10
10
 
11
- ## 1.7.10 - 2022-03-23
12
- * Added `hideWidgetHeader()` function to the `instance` object of the `WidgetContext` interface, allowing widgets to render in full height.
11
+ ## 1.7.11 - 2022-03-23
12
+ * Added `setWidgetHeaderVisibilty()` function to the `instance` object of the `WidgetContext` interface, allowing widgets to render in full height.
13
13
 
14
14
  ## 1.7.9 - 2022-01-20
15
15
  * Added `userAccountCreated` date/time to the `WidgetContext` interface.
@@ -46,9 +46,9 @@ export interface WidgetContext {
46
46
  */
47
47
  setWidgetTitle?: (title: string) => void;
48
48
  /**
49
- * Hide the header of the widget, giving the widget space to grow
49
+ * Show or hide the header of the widget, allowing widgets to take control of full widget real estate
50
50
  */
51
- hideWidgetHeader?: () => void;
51
+ setWidgetHeaderVisibilty?: (visible: boolean) => void;
52
52
  /**
53
53
  * Optional callback to handle the click event of the widget title
54
54
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.7.10",
3
+ "version": "1.7.11",
4
4
  "description": "Part of the Widget Development Kit for building widgets for Ichicraft Boards",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",