@ichicraft/widgets-widget-base 1.7.9 → 1.7.10

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,6 +8,9 @@ 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.
13
+
11
14
  ## 1.7.9 - 2022-01-20
12
15
  * Added `userAccountCreated` date/time to the `WidgetContext` interface.
13
16
 
package/lib/.DS_Store ADDED
Binary file
@@ -45,6 +45,10 @@ export interface WidgetContext {
45
45
  * Functionality offered by the widget board to change the title of the widget
46
46
  */
47
47
  setWidgetTitle?: (title: string) => void;
48
+ /**
49
+ * Hide the header of the widget, giving the widget space to grow
50
+ */
51
+ hideWidgetHeader?: () => void;
48
52
  /**
49
53
  * Optional callback to handle the click event of the widget title
50
54
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.7.9",
3
+ "version": "1.7.10",
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",