@ichicraft/widgets-widget-base 1.16.2 → 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.
Files changed (3) hide show
  1. package/README.md +433 -423
  2. package/lib/types/index.d.ts +23 -4
  3. package/package.json +42 -42
package/README.md CHANGED
@@ -1,423 +1,433 @@
1
- This package supports development of widgets built using the Widget Development Kit
2
-
3
- _This package is part of the Widget Development Kit, which is a collection of NPM packages that empower developers to create widgets for Ichicraft Boards._
4
-
5
- # Changelog
6
-
7
- All notable changes to this project will be documented here.
8
-
9
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
-
12
- ## 1.16.2 - 2026-03-25
13
-
14
- - Fixed issue with using internal library `@ic/caching` by publishing caching library as public (`@ichicraft/caching`)
15
-
16
- ## 1.16.1 - 2026-03-19
17
-
18
- - Addition of `notificationBadgeCount` property to `CommandBarItemProps` to allow for a number to be displayed in the badge
19
-
20
- ## 1.16.0 - 2026-03-09
21
-
22
- - Addition of `cache` property to `instance`, `variant` and `manifest` level of `WidgetContext` to centralize cache handling and functionality
23
-
24
- ## 1.15.4 - 2026-01-07
25
-
26
- - Override version of deep dependency 'validator' to get rid of potential vulnerability
27
-
28
- ## 1.15.3 - 2025-12-09
29
-
30
- - Added property `isIndeterminate` to `ICTerm` interface, used to represent a term's indeterminate checkmark state.
31
-
32
- ## 1.15.2 - 2025-11-21
33
-
34
- - Added new interface `ICTerm`, used to represent a SharePoint Taxonomy Term object in code
35
-
36
- ## 1.15.1 - 2025-09-30
37
-
38
- - Added new interface `ICTeam`, used to represent a Microsoft Teams team object in code
39
-
40
- ## 1.15.0 - 2025-09-29
41
-
42
- - Deprecated `msGraphClientFactory` in favor of `msGraphClient` in the `WidgetManifestConfig` interface.
43
-
44
- ## 1.14.7 - 2025-08-21
45
-
46
- - Added `parentId` property to the `WidgetInstanceContext` interface, to support checking the ID of the parent of a widget instance.
47
-
48
- ## 1.14.6 - 2025-08-11
49
-
50
- - Added `updateInstanceConfiguration` property to the `WidgetInstanceContext` interface, to support updating the instance configuration directly in a widget, instead of through the settings panel.
51
-
52
- ## 1.14.5 - 2025-08-07
53
-
54
- - Added `imageUrl` property to the `CommandBarTab` interface, to support displaying images in widget header tabs.
55
-
56
- ## 1.14.4 - 2025-08-01
57
-
58
- - Added `releaseType` property to the `WidgetManifestConfig` interface, to indicate the current stage of the release lifecycle a widget is in.
59
- - Added `registerOnBuddyClick` property to the `WidgetBuddyContext` interface, to allow overriding default onClick behavior when clicking on a buddy (by default, it opens the widget in a Callout).
60
-
61
- ## 1.14.3 - 2025-07-04
62
-
63
- - Added `justification` string property to widget manifest to describe the reasoning behind the need for certain API permisisons
64
-
65
- ## 1.14.2 - 2025-07-02
66
-
67
- - Reverted `@microsoft/sp-http` dependency back to SPFx version `1.18.2` due to postponed upgrade
68
- - Added `isOptional` boolean to widget manifest to allow marking certain API permission requests as optional
69
-
70
- ## 1.14.1 - 2025-06-17
71
-
72
- - Reverted module type 'commonjs' for backwards compatibility
73
-
74
- ## 1.14.0 - 2025-05-21
75
-
76
- - Version bumped `@microsoft/sp-http` dependency to latest SPFx version `1.21.1`
77
-
78
- ## 1.13.2 - 2025-04-11
79
-
80
- - Minor update in documentation of `WebApiPermissionRequest` interface
81
-
82
- ## 1.13.1 - 2025-03-11
83
-
84
- - Added new interface `ICSite`, used to represent a SharePoint site object in code
85
-
86
- ## 1.13.0 - 2025-02-17
87
-
88
- - Fixed an issue with detecting external users in `UserHelper`
89
- - Changed target JavaScript version to `ES6`
90
-
91
- ## 1.12.0 - 2025-02-11
92
-
93
- - Added `ColorOption` interface.
94
- - Added `WidgetDesignContext` interface.
95
- - Added `design` property of type `WidgetDesignContext` to `WidgetContext` interface, to support UI settings within widgets.
96
- - Deprecated `elementBorderRadius` property which is renamed to `borderRadius` and moved under `design` property in `WidgetContext` interface.
97
-
98
- ## 1.11.6 - 2025-01-30
99
-
100
- - Added `spServiceScope` property to `WidgetContext` interface.
101
- - Added `loadComponentById` function to `WidgetContext` interface.
102
- - Deprecated `definition` property which is replaced by `variant` property in `WidgetContext` interface.
103
- - Deprecated `instance.publishNotification` function in `WidgetContext` interface because feature is no longer available.
104
-
105
- ## 1.11.5 - 2025-01-21
106
-
107
- - Added `defaultColor` property to `WidgetBuddyContext` interface.
108
-
109
- ## 1.11.4 - 2024-11-08
110
-
111
- - Added `driveId` property to `FilePickerFileProps` interface.
112
-
113
- ## 1.11.3 - 2024-11-05
114
-
115
- - Added `fileName` property to `FilePickerFileProps` interface.
116
-
117
- ## 1.11.2 - 2024-10-21
118
-
119
- - Added optional `objectId` property to the `ICPersona` interface.
120
-
121
- ## 1.11.1 - 2024-10-17
122
-
123
- - Made `buddy` property of type `WidgetBuddyContext` optional.
124
-
125
- ## 1.11.0 - 2024-10-17
126
-
127
- - Added `renderBuddy` function to the `BaseWidget` class, to support rendering widgets as a buddy.
128
- - Added `buddy` property of type `WidgetBuddyContext` to the `WidgetContext` interface, to support utility functions specifically for a widget buddy.
129
- - Added `setBadgeProperties` function to the `WidgetBuddyContext` interface, to allow rendering a badge on top of the buddy.
130
-
131
- ## 1.10.8 - 2024-10-15
132
-
133
- - Added `buddybar` to the `BoardType` type, to support widgets that run in the scope of the upcoming buddy bar feature
134
-
135
- ## 1.10.7 - 2024-08-20
136
-
137
- - Replaced `onInit` function with a new asynchronous `init` function in the `BaseWidget` class, to allow waiting until initialization is complete.
138
-
139
- ## 1.10.6 - 2024-08-19
140
-
141
- - Added `userDisplayName` property to the `WidgetContext` interface, to allow using the currently signed-in user's display name in widgets.
142
-
143
- ## 1.10.5 - 2024-08-07
144
-
145
- - Added `onSearch` property to the `CommandBarSearchItem` interface, to allow executing a callback when the user presses enter in the search box.
146
-
147
- ## 1.10.4 - 2024-07-23
148
-
149
- - Added `SearchBar` value to the `CommandBarItemType` enum, to allow rendering a command bar item as a search bar.
150
- - Added `CommandBarSearchItem` interface, to allow passing extra search-related props to a CommandBarItem of type `SearchBar`.
151
- - Added optional `overflowButtonIconName` and `overflowButtonTooltip` properties to the `CommandBarTabOptions` interface, to allow customization of the overflow menu button.
152
- - Added optional `itemCount` property to the `CommandBarTab` interface.
153
- - Added summaries to functions and interfaces related to widget command bar tabs.
154
-
155
- ## 1.10.3 - 2024-07-22
156
-
157
- - Added override in package.json to use version `2.3.7` instead of `2.3.6` of `requirejs` because the latter has vulnerability CVE-2024-38999
158
-
159
- ## 1.10.2 - 2024-07-19
160
-
161
- - Added `registerTabs` function to the `WidgetInstanceContext` interface, to allow rendering of tabs in the widget header.
162
- - Added `setSelectedTab` function to the `WidgetInstanceContext` interface, to allow setting the current selected tab in the widget header.
163
- - Added `CommandBarTab` interface.
164
- - Added `CommandBarTabOptions` interface.
165
-
166
- ## 1.10.1 - 2024-07-08
167
-
168
- - Added `widget-administrator` role to the `UserRole` type.
169
-
170
- ## 1.10.0 - 2024-06-25
171
-
172
- - Added optional `updateDataAccess()` function to the `BaseWidget` class, used to update access to widget-specific data.
173
- - Added `administrators` property to the `WidgetVariantContext` interface.
174
-
175
- ## 1.9.14 - 2024-06-18
176
-
177
- - Change import of `SPFI` type to decrease bundle sizes in widgets.
178
-
179
- ## 1.9.13 - 2024-06-18
180
-
181
- - Added `spHttpClient` property to `WidgetContext` interface, to perform REST calls against SharePoint.
182
- - Added `spHttpClientConfiguration` property to `WidgetContext` interface.
183
-
184
- ## 1.9.12 - 2024-06-17
185
-
186
- - Added `sp` property to `WidgetContext` interface, to allow using a centralized PnPjs version across all widgets.
187
- - Added `siteId` property to `WidgetContext` interface.
188
- - Added `boardsInstanceId` property to `WidgetContext` interface.
189
-
190
- ## 1.9.11 - 2024-06-14
191
-
192
- - Fixed handling of null `ICPersonaType` values in `isCurrentUserInScope` function of `UserHelper` class.
193
-
194
- ## 1.9.10 - 2024-06-04
195
-
196
- - Renamed `CustomCommandBarItemProps` interface to `CommandBarItemProps`.
197
- - Merged `CommandBarIcon`, `CommandBarLink` and `CommandBarItemBase` interfaces into the `CommandBarItemProps` interface, to simplify adding custom command bar items.
198
- - Added `Overflow` type to `CommandBarItemType` enum, to allow rendering an item inside the overflow menu.
199
- - Added `highlighted` property to the `CommandBarItemProps` interface, to allow rendering an item as if it is being hovered.
200
- - Added `cursor` property to the `CommandBarItemProps` interface, to allow a different cursor when hovering over an item.
201
- - Added `disabled` property to the `CommandBarItemProps` interface, to allow rendering an item in a disabled state.
202
-
203
- ## 1.9.9 - 2024-05-14
204
-
205
- - Changed return type of `createDeepLink` function of the WidgetInstanceContext interface from `void` to `string`.
206
-
207
- ## 1.9.8 - 2024-05-13
208
-
209
- - Added `createDeepLink` property to the WidgetInstanceContext interface, to allow creating a deep link URL based on the current board and a widget instance.
210
- - Added `setDeepLinkData` property to the WidgetInstanceContext interface, to allow setting deep link data related to a widget instance in the URL of the current page.
211
- - Added `getDeepLinkData` property to the WidgetInstanceContext interface, to allow getting deep link data related to a widget instance from the URL of the current page.
212
-
213
- ## 1.9.7 - 2024-04-19
214
-
215
- - Added `hideSpHubNav` property to the IFrameDialogOptions interface, to allow hiding the Hub navigation on SharePoint sites.
216
- - Added `hideSpSiteHeader` property to the IFrameDialogOptions interface, to allow hiding the site header on SharePoint sites.
217
- - Added `showHistoryButtons` property to the IFrameDialogOptions interface, to render back and forward buttons, allowing the user to navigate the browser history.
218
- - Added `showOpenInNewWindow` property to the IFrameDialogOptions interface, to render an 'open in new window' button, allowing the user to open the iframe url in a new browser window.
219
-
220
- ## 1.9.6 - 2024-04-19
221
-
222
- - Changed `onRenderHeaderIcon` property of the IFrameDialogOptions interface, to work similarly to the widget render functions.
223
-
224
- ## 1.9.5 - 2024-04-18
225
-
226
- - Added `title` property to the IFrameDialogOptions interface, to allow rendering a title in the dialog header.
227
- - Added `titleUrl` property to the IFrameDialogOptions interface, to allow making the dialog header title clickable.
228
- - Added `onRenderHeaderIcon` property to the IFrameDialogOptions interface, to allow rendering an icon in the dialog header.
229
- - Added `onLoad` property to the IFrameDialogOptions interface, to support executing some code after the iframe finishes loading.
230
-
231
- ## 1.9.4 - 2024-04-11
232
-
233
- - Reintroduced the following types: `AadHttpClient`,`AadHttpClientConfiguration`,`AadHttpClientFactory`,`AadHttpClientResponse`, `AadTokenProvider`, `AadTokenProviderFactory`
234
-
235
- ## 1.9.2 - 2024-03-21
236
-
237
- - Added `CommandBarIcon` interface, to allow rendering a `CustomCommandBarItem` as a single icon or an icon button.
238
- - Added `CommandBarLink` interface, to allow rendering a `CustomCommandBarItem` as a clickable link.
239
- - Added `CommandBarItemBase` interface, to act as a base for different types of `CustomCommandBarItem`.
240
- - Added `elementBorderRadius` property to the `WidgetContext` interface, to allow styling widgets according to the configured design preferences.
241
- - Changed `CustomCommandBarItemProps` type to accept either a `CommandBarIcon` or a `CommandBarLink`.
242
-
243
- ## 1.9.1 - 2023-10-20
244
-
245
- - Added `WidgetInstanceContext` interface, to allow typing the `instance` property of the `WidgetContext` interface.
246
- - Added `WidgetVariantContext` interface, to allow typing the `definition` property of the `WidgetContext` interface.
247
- - Added `WidgetManifestContext` interface, to allow typing the `manifest` property of the `WidgetContext` interface.
248
-
249
- ## 1.9.0 - 2023-10-20
250
-
251
- - Added optional `importData()` function to the `BaseWidget` class, used to import widget-specific data.
252
- - Added optional `exportData()` function to the `BaseWidget` class, used to export widget-specific data.
253
- - Added new exported `ExportData` type.
254
-
255
- ## 1.8.17 - 2023-10-09
256
-
257
- - Added `iconName` property to the `definition` object of the `WidgetContext` interface, to support using an icon to represent a widget.
258
-
259
- ## 1.8.16 - 2023-09-26
260
-
261
- - Added `Custom` value to `ICPersonaType` enum, to support a custom ICPersona.
262
-
263
- ## 1.8.15 - 2023-09-01
264
-
265
- - Added `thumbnailUrl` property to `WidgetManifestConfig` interface, as a non-translatable substitute of the newly deprecated `preview_small` property from `WidgetImages` interface.
266
- - Removed the deprecated `preview_small` property from `WidgetImages` interface.
267
-
268
- ## 1.8.14 - 2023-09-01
269
-
270
- - Added `iconName` property to `WidgetManifestConfig` interface, to support using an icon to represent a widget, e.g. in the widget library or widget header.
271
- - Removed the deprecated `notificationIcon` property from `WidgetManifestConfig` interface.
272
-
273
- ## 1.8.13 - 2023-06-08
274
-
275
- - Removed the deprecated `resolved` property from `ICPersona` interface
276
-
277
- ## 1.8.12 - 2023-04-04
278
-
279
- - Changed `openFilePicker` function to return more details of the picked file in the shape of `FilePickerFileProps`
280
-
281
- ## 1.8.11 - 2023-04-03
282
-
283
- - Changed `openFilePicker` function to return more details of the picked file in the shape of `FilePickerFileProps`
284
-
285
- ## 1.8.10 - 2023-03-30
286
-
287
- - Changed `openFilePicker` function to accept `options`, to support configuration of picker behavior
288
-
289
- ## 1.8.9 - 2023-03-06
290
-
291
- - Added `registerCustomCommandBarItems` function to the `instance` object of the `WidgetContext` interface, to support multiple custom buttons in the widget header.
292
- - Added `unregisterCustomCommandBarItems` function to the `instance` object of the `WidgetContext` interface, to support removing all custom buttons in the widget header.
293
- - Added optional `id` property to exported `CustomCommandBarItemProps` type, to support removing a custom command bar item by id.
294
- - Added optional `pinned` property to exported `CustomCommandBarItemProps` type, to support forcing the widget header to always be visible.
295
- - Added optional `showNotificationBadge` property to exported `CustomCommandBarItemProps` type, to support showing a red notification badge over the custom command bar item.
296
- - Added optional `order` property to exported `CustomCommandBarItemProps` type, to support changing the order of custom command bar items.
297
- - Changed `unregisterCustomCommandBarItem` function of the `instance` object of the `WidgetContext` interface, to support removing a custom command bar item by id.
298
-
299
- ## 1.8.8 - 2023-02-16
300
-
301
- - Removed all SharePoint and Teams dependencies.
302
-
303
- ## 1.8.7 - 2022-12-13
304
-
305
- - Added `userRoles` property to the `WidgetContext` interface, to inform widgets of the roles of the current user.
306
- - Added new exported `UserRole` type.
307
-
308
- ## 1.8.6 - 2022-12-08
309
-
310
- - Added `boardType` property to the `instance` object of the `WidgetContext` interface, to inform widgets of the type of their board.
311
- - Added `allowedBoardTypes` property to the `definition` object of the `WidgetContext` interface, to inform widget variants of the types of boards it is allowed to be added to.
312
- - Added new exported `BoardType` type.
313
-
314
- ## 1.8.5 - 2022-09-30
315
-
316
- - Added `setWidgetTitleSuffix()` function to the `instance` object of the `WidgetContext` interface, to support appending the title of the widget with additional text.
317
- - Added `setWidgetSubtitle()` function to the `instance` object of the `WidgetContext` interface, to support overriding the subtitle of the widget.
318
- - Added `setUserConfigButtonVisibilty()` function to the `instance` object of the `WidgetContext` interface, to support hiding the settings button from the widget header.
319
- - Fixed spelling of `setWidgetHeaderVisibilty()` function. The function is now called `setWidgetHeaderVisibility()`.
320
-
321
- ## 1.8.4 - 2022-09-05
322
-
323
- - Added `openIFrameDialog()` function to the `WidgetContext` interface. This has the same functionality as the `openUrlInDialog()` function of the `instance` object, but adds more control over the dimensions of the dialog. The function `openUrlInDialog()` is now deprecated.
324
-
325
- ## 1.8.3 - 2022-08-16
326
-
327
- - Added `openFilePicker()` function to the `WidgetContext` interface to support file selection from within a widget.
328
-
329
- ## 1.8.2 - 2022-07-06
330
-
331
- - Added `subtitle` property to the `WidgetResource` interface.
332
-
333
- ## 1.8.1 - 2022-06-17
334
-
335
- - Added new section `analytics` to `WidgetManifestConfig` interface to allow definition of time-based events that can be raised by a widget.
336
- - Added `raiseEvent(...)` to the `instance` object of the `WidgetContent` interface, allowing widgets to raise an event.
337
-
338
- ## 1.7.11 - 2022-03-23
339
-
340
- - Added `setWidgetHeaderVisibilty()` function to the `instance` object of the `WidgetContext` interface, allowing widgets to render in full height.
341
-
342
- ## 1.7.9 - 2022-01-20
343
-
344
- - Added `userAccountCreated` date/time to the `WidgetContext` interface.
345
-
346
- ## 1.7.8 - 2022-01-18
347
-
348
- ### Changed
349
-
350
- - Added `initiateWidgetDeletion()` function to the `WidgetContext` interface.
351
-
352
- ## 1.7.7 - 2022-01-14
353
-
354
- ### Changed
355
-
356
- - Added `tenantId` property to the `WidgetContext` interface.
357
-
358
- ## 1.7.6 - 2021-11-04
359
-
360
- ### Changed
361
-
362
- - Added `theme` property to the `WidgetContext` interface to give access to currently applied theme.
363
-
364
- ## 1.7.5 - 2021-10-26
365
-
366
- ### Changed
367
-
368
- - Added `userSecurityGroups` and `userSharePointGroups` properties to the `WidgetContext` interface to inform widgets of SharePoint and security group memberships of the current user.
369
-
370
- ## 1.7.4 - 2021-10-20
371
-
372
- ### Changed
373
-
374
- - Added `contentLanguages` property to the `WidgetContext` interface to inform widgets of the available content languages as configured in Ichicraft Boards.
375
-
376
- ## 1.7.3 - 2021-10-04
377
-
378
- ### Changed
379
-
380
- - Added `manifestVersion` property to the `WidgetManifestConfig` interface to support multiple versions of the manifest. Current version is 2 which introduced this and the `externals` property.
381
- - Added `externals` property to the `WidgetManifestConfig` interface to support libraries that can be loaded separately from the widget bundle. This reduces widget bundle size and improves overal performance of Ichicraft Boards.
382
-
383
- ## 1.6.1 - 2021-02-18
384
-
385
- ### Changed
386
-
387
- - Added `userEmail` property to the `WidgetContext` interface to provide current user's email address to widgets.
388
-
389
- ## 1.5.0 - 2021-02-16
390
-
391
- ### Changed
392
-
393
- - Added `teamsSdk` property to the `WidgetContext` interface to allow interaction with Teams in case widget board is running in Teams client. Will be `undefined` if running in SharePoint.
394
-
395
- ## 1.4.0 - 2021-01-25
396
-
397
- ### Changed
398
-
399
- - Added several properties to the `WidgetContext` interface to identify the context in which the widget is shown (e.g. Team Browser hosted)
400
-
401
- ## 1.3.0 - 2021-01-15
402
-
403
- ### Changed
404
-
405
- - `registerCustomCommandBarItem()` is added to the `WidgetContext` interface as a function to call from within a widget instance to render an additional command bar item in the widget header.
406
- - `unregisterCustomCommandBarItem()` is added to the `WidgetContext` interface as a function to call from within a widget instance to remove a previously added command bar item from the widget header.
407
-
408
- ## 1.2.0 - 2021-01-15
409
-
410
- ### Changed
411
-
412
- - `loadScript()` is added to the `WidgetContext` interface as a function to call from within a widget in case an external script needs to be loaded. This allows the widget board to load external javascript.
413
-
414
- ## 1.1.0 - 2021-01-11
415
-
416
- ### Changed
417
-
418
- - `handleFatalError()` is added to the `WidgetContext` interface as a function to call from within a widget in case of an unhandled/unresolvable error. This allows the widget board to handle this situation gracefully.
419
- - **deps:** removed dependency ajv
420
-
421
- ## <= 1.0.5 - 2020-12-07
422
-
423
- No changelog was maintained for the earlier versions.
1
+ This package supports development of widgets built using the Widget Development Kit
2
+
3
+ _This package is part of the Widget Development Kit, which is a collection of NPM packages that empower developers to create widgets for Bloom Intranet._
4
+
5
+ # Changelog
6
+
7
+ All notable changes to this project will be documented here.
8
+
9
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
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
+
17
+ ## 1.16.3 - 2026-05-08
18
+
19
+ - Added `whatsNewUrl` property to `WidgetManifestConfig` to allow quick access to updates that the widget has received.
20
+ - Added `aboutUrl` property to `WidgetManifestConfig` to allow quick access to more information about the widget.
21
+
22
+ ## 1.16.2 - 2026-03-25
23
+
24
+ - Fixed issue with using internal library `@ic/caching` by publishing caching library as public (`@ichicraft/caching`)
25
+
26
+ ## 1.16.1 - 2026-03-19
27
+
28
+ - Addition of `notificationBadgeCount` property to `CommandBarItemProps` to allow for a number to be displayed in the badge
29
+
30
+ ## 1.16.0 - 2026-03-09
31
+
32
+ - Addition of `cache` property to `instance`, `variant` and `manifest` level of `WidgetContext` to centralize cache handling and functionality
33
+
34
+ ## 1.15.4 - 2026-01-07
35
+
36
+ - Override version of deep dependency 'validator' to get rid of potential vulnerability
37
+
38
+ ## 1.15.3 - 2025-12-09
39
+
40
+ - Added property `isIndeterminate` to `ICTerm` interface, used to represent a term's indeterminate checkmark state.
41
+
42
+ ## 1.15.2 - 2025-11-21
43
+
44
+ - Added new interface `ICTerm`, used to represent a SharePoint Taxonomy Term object in code
45
+
46
+ ## 1.15.1 - 2025-09-30
47
+
48
+ - Added new interface `ICTeam`, used to represent a Microsoft Teams team object in code
49
+
50
+ ## 1.15.0 - 2025-09-29
51
+
52
+ - Deprecated `msGraphClientFactory` in favor of `msGraphClient` in the `WidgetManifestConfig` interface.
53
+
54
+ ## 1.14.7 - 2025-08-21
55
+
56
+ - Added `parentId` property to the `WidgetInstanceContext` interface, to support checking the ID of the parent of a widget instance.
57
+
58
+ ## 1.14.6 - 2025-08-11
59
+
60
+ - Added `updateInstanceConfiguration` property to the `WidgetInstanceContext` interface, to support updating the instance configuration directly in a widget, instead of through the settings panel.
61
+
62
+ ## 1.14.5 - 2025-08-07
63
+
64
+ - Added `imageUrl` property to the `CommandBarTab` interface, to support displaying images in widget header tabs.
65
+
66
+ ## 1.14.4 - 2025-08-01
67
+
68
+ - Added `releaseType` property to the `WidgetManifestConfig` interface, to indicate the current stage of the release lifecycle a widget is in.
69
+ - Added `registerOnBuddyClick` property to the `WidgetBuddyContext` interface, to allow overriding default onClick behavior when clicking on a buddy (by default, it opens the widget in a Callout).
70
+
71
+ ## 1.14.3 - 2025-07-04
72
+
73
+ - Added `justification` string property to widget manifest to describe the reasoning behind the need for certain API permisisons
74
+
75
+ ## 1.14.2 - 2025-07-02
76
+
77
+ - Reverted `@microsoft/sp-http` dependency back to SPFx version `1.18.2` due to postponed upgrade
78
+ - Added `isOptional` boolean to widget manifest to allow marking certain API permission requests as optional
79
+
80
+ ## 1.14.1 - 2025-06-17
81
+
82
+ - Reverted module type 'commonjs' for backwards compatibility
83
+
84
+ ## 1.14.0 - 2025-05-21
85
+
86
+ - Version bumped `@microsoft/sp-http` dependency to latest SPFx version `1.21.1`
87
+
88
+ ## 1.13.2 - 2025-04-11
89
+
90
+ - Minor update in documentation of `WebApiPermissionRequest` interface
91
+
92
+ ## 1.13.1 - 2025-03-11
93
+
94
+ - Added new interface `ICSite`, used to represent a SharePoint site object in code
95
+
96
+ ## 1.13.0 - 2025-02-17
97
+
98
+ - Fixed an issue with detecting external users in `UserHelper`
99
+ - Changed target JavaScript version to `ES6`
100
+
101
+ ## 1.12.0 - 2025-02-11
102
+
103
+ - Added `ColorOption` interface.
104
+ - Added `WidgetDesignContext` interface.
105
+ - Added `design` property of type `WidgetDesignContext` to `WidgetContext` interface, to support UI settings within widgets.
106
+ - Deprecated `elementBorderRadius` property which is renamed to `borderRadius` and moved under `design` property in `WidgetContext` interface.
107
+
108
+ ## 1.11.6 - 2025-01-30
109
+
110
+ - Added `spServiceScope` property to `WidgetContext` interface.
111
+ - Added `loadComponentById` function to `WidgetContext` interface.
112
+ - Deprecated `definition` property which is replaced by `variant` property in `WidgetContext` interface.
113
+ - Deprecated `instance.publishNotification` function in `WidgetContext` interface because feature is no longer available.
114
+
115
+ ## 1.11.5 - 2025-01-21
116
+
117
+ - Added `defaultColor` property to `WidgetBuddyContext` interface.
118
+
119
+ ## 1.11.4 - 2024-11-08
120
+
121
+ - Added `driveId` property to `FilePickerFileProps` interface.
122
+
123
+ ## 1.11.3 - 2024-11-05
124
+
125
+ - Added `fileName` property to `FilePickerFileProps` interface.
126
+
127
+ ## 1.11.2 - 2024-10-21
128
+
129
+ - Added optional `objectId` property to the `ICPersona` interface.
130
+
131
+ ## 1.11.1 - 2024-10-17
132
+
133
+ - Made `buddy` property of type `WidgetBuddyContext` optional.
134
+
135
+ ## 1.11.0 - 2024-10-17
136
+
137
+ - Added `renderBuddy` function to the `BaseWidget` class, to support rendering widgets as a buddy.
138
+ - Added `buddy` property of type `WidgetBuddyContext` to the `WidgetContext` interface, to support utility functions specifically for a widget buddy.
139
+ - Added `setBadgeProperties` function to the `WidgetBuddyContext` interface, to allow rendering a badge on top of the buddy.
140
+
141
+ ## 1.10.8 - 2024-10-15
142
+
143
+ - Added `buddybar` to the `BoardType` type, to support widgets that run in the scope of the upcoming buddy bar feature
144
+
145
+ ## 1.10.7 - 2024-08-20
146
+
147
+ - Replaced `onInit` function with a new asynchronous `init` function in the `BaseWidget` class, to allow waiting until initialization is complete.
148
+
149
+ ## 1.10.6 - 2024-08-19
150
+
151
+ - Added `userDisplayName` property to the `WidgetContext` interface, to allow using the currently signed-in user's display name in widgets.
152
+
153
+ ## 1.10.5 - 2024-08-07
154
+
155
+ - Added `onSearch` property to the `CommandBarSearchItem` interface, to allow executing a callback when the user presses enter in the search box.
156
+
157
+ ## 1.10.4 - 2024-07-23
158
+
159
+ - Added `SearchBar` value to the `CommandBarItemType` enum, to allow rendering a command bar item as a search bar.
160
+ - Added `CommandBarSearchItem` interface, to allow passing extra search-related props to a CommandBarItem of type `SearchBar`.
161
+ - Added optional `overflowButtonIconName` and `overflowButtonTooltip` properties to the `CommandBarTabOptions` interface, to allow customization of the overflow menu button.
162
+ - Added optional `itemCount` property to the `CommandBarTab` interface.
163
+ - Added summaries to functions and interfaces related to widget command bar tabs.
164
+
165
+ ## 1.10.3 - 2024-07-22
166
+
167
+ - Added override in package.json to use version `2.3.7` instead of `2.3.6` of `requirejs` because the latter has vulnerability CVE-2024-38999
168
+
169
+ ## 1.10.2 - 2024-07-19
170
+
171
+ - Added `registerTabs` function to the `WidgetInstanceContext` interface, to allow rendering of tabs in the widget header.
172
+ - Added `setSelectedTab` function to the `WidgetInstanceContext` interface, to allow setting the current selected tab in the widget header.
173
+ - Added `CommandBarTab` interface.
174
+ - Added `CommandBarTabOptions` interface.
175
+
176
+ ## 1.10.1 - 2024-07-08
177
+
178
+ - Added `widget-administrator` role to the `UserRole` type.
179
+
180
+ ## 1.10.0 - 2024-06-25
181
+
182
+ - Added optional `updateDataAccess()` function to the `BaseWidget` class, used to update access to widget-specific data.
183
+ - Added `administrators` property to the `WidgetVariantContext` interface.
184
+
185
+ ## 1.9.14 - 2024-06-18
186
+
187
+ - Change import of `SPFI` type to decrease bundle sizes in widgets.
188
+
189
+ ## 1.9.13 - 2024-06-18
190
+
191
+ - Added `spHttpClient` property to `WidgetContext` interface, to perform REST calls against SharePoint.
192
+ - Added `spHttpClientConfiguration` property to `WidgetContext` interface.
193
+
194
+ ## 1.9.12 - 2024-06-17
195
+
196
+ - Added `sp` property to `WidgetContext` interface, to allow using a centralized PnPjs version across all widgets.
197
+ - Added `siteId` property to `WidgetContext` interface.
198
+ - Added `boardsInstanceId` property to `WidgetContext` interface.
199
+
200
+ ## 1.9.11 - 2024-06-14
201
+
202
+ - Fixed handling of null `ICPersonaType` values in `isCurrentUserInScope` function of `UserHelper` class.
203
+
204
+ ## 1.9.10 - 2024-06-04
205
+
206
+ - Renamed `CustomCommandBarItemProps` interface to `CommandBarItemProps`.
207
+ - Merged `CommandBarIcon`, `CommandBarLink` and `CommandBarItemBase` interfaces into the `CommandBarItemProps` interface, to simplify adding custom command bar items.
208
+ - Added `Overflow` type to `CommandBarItemType` enum, to allow rendering an item inside the overflow menu.
209
+ - Added `highlighted` property to the `CommandBarItemProps` interface, to allow rendering an item as if it is being hovered.
210
+ - Added `cursor` property to the `CommandBarItemProps` interface, to allow a different cursor when hovering over an item.
211
+ - Added `disabled` property to the `CommandBarItemProps` interface, to allow rendering an item in a disabled state.
212
+
213
+ ## 1.9.9 - 2024-05-14
214
+
215
+ - Changed return type of `createDeepLink` function of the WidgetInstanceContext interface from `void` to `string`.
216
+
217
+ ## 1.9.8 - 2024-05-13
218
+
219
+ - Added `createDeepLink` property to the WidgetInstanceContext interface, to allow creating a deep link URL based on the current board and a widget instance.
220
+ - Added `setDeepLinkData` property to the WidgetInstanceContext interface, to allow setting deep link data related to a widget instance in the URL of the current page.
221
+ - Added `getDeepLinkData` property to the WidgetInstanceContext interface, to allow getting deep link data related to a widget instance from the URL of the current page.
222
+
223
+ ## 1.9.7 - 2024-04-19
224
+
225
+ - Added `hideSpHubNav` property to the IFrameDialogOptions interface, to allow hiding the Hub navigation on SharePoint sites.
226
+ - Added `hideSpSiteHeader` property to the IFrameDialogOptions interface, to allow hiding the site header on SharePoint sites.
227
+ - Added `showHistoryButtons` property to the IFrameDialogOptions interface, to render back and forward buttons, allowing the user to navigate the browser history.
228
+ - Added `showOpenInNewWindow` property to the IFrameDialogOptions interface, to render an 'open in new window' button, allowing the user to open the iframe url in a new browser window.
229
+
230
+ ## 1.9.6 - 2024-04-19
231
+
232
+ - Changed `onRenderHeaderIcon` property of the IFrameDialogOptions interface, to work similarly to the widget render functions.
233
+
234
+ ## 1.9.5 - 2024-04-18
235
+
236
+ - Added `title` property to the IFrameDialogOptions interface, to allow rendering a title in the dialog header.
237
+ - Added `titleUrl` property to the IFrameDialogOptions interface, to allow making the dialog header title clickable.
238
+ - Added `onRenderHeaderIcon` property to the IFrameDialogOptions interface, to allow rendering an icon in the dialog header.
239
+ - Added `onLoad` property to the IFrameDialogOptions interface, to support executing some code after the iframe finishes loading.
240
+
241
+ ## 1.9.4 - 2024-04-11
242
+
243
+ - Reintroduced the following types: `AadHttpClient`,`AadHttpClientConfiguration`,`AadHttpClientFactory`,`AadHttpClientResponse`, `AadTokenProvider`, `AadTokenProviderFactory`
244
+
245
+ ## 1.9.2 - 2024-03-21
246
+
247
+ - Added `CommandBarIcon` interface, to allow rendering a `CustomCommandBarItem` as a single icon or an icon button.
248
+ - Added `CommandBarLink` interface, to allow rendering a `CustomCommandBarItem` as a clickable link.
249
+ - Added `CommandBarItemBase` interface, to act as a base for different types of `CustomCommandBarItem`.
250
+ - Added `elementBorderRadius` property to the `WidgetContext` interface, to allow styling widgets according to the configured design preferences.
251
+ - Changed `CustomCommandBarItemProps` type to accept either a `CommandBarIcon` or a `CommandBarLink`.
252
+
253
+ ## 1.9.1 - 2023-10-20
254
+
255
+ - Added `WidgetInstanceContext` interface, to allow typing the `instance` property of the `WidgetContext` interface.
256
+ - Added `WidgetVariantContext` interface, to allow typing the `definition` property of the `WidgetContext` interface.
257
+ - Added `WidgetManifestContext` interface, to allow typing the `manifest` property of the `WidgetContext` interface.
258
+
259
+ ## 1.9.0 - 2023-10-20
260
+
261
+ - Added optional `importData()` function to the `BaseWidget` class, used to import widget-specific data.
262
+ - Added optional `exportData()` function to the `BaseWidget` class, used to export widget-specific data.
263
+ - Added new exported `ExportData` type.
264
+
265
+ ## 1.8.17 - 2023-10-09
266
+
267
+ - Added `iconName` property to the `definition` object of the `WidgetContext` interface, to support using an icon to represent a widget.
268
+
269
+ ## 1.8.16 - 2023-09-26
270
+
271
+ - Added `Custom` value to `ICPersonaType` enum, to support a custom ICPersona.
272
+
273
+ ## 1.8.15 - 2023-09-01
274
+
275
+ - Added `thumbnailUrl` property to `WidgetManifestConfig` interface, as a non-translatable substitute of the newly deprecated `preview_small` property from `WidgetImages` interface.
276
+ - Removed the deprecated `preview_small` property from `WidgetImages` interface.
277
+
278
+ ## 1.8.14 - 2023-09-01
279
+
280
+ - Added `iconName` property to `WidgetManifestConfig` interface, to support using an icon to represent a widget, e.g. in the widget library or widget header.
281
+ - Removed the deprecated `notificationIcon` property from `WidgetManifestConfig` interface.
282
+
283
+ ## 1.8.13 - 2023-06-08
284
+
285
+ - Removed the deprecated `resolved` property from `ICPersona` interface
286
+
287
+ ## 1.8.12 - 2023-04-04
288
+
289
+ - Changed `openFilePicker` function to return more details of the picked file in the shape of `FilePickerFileProps`
290
+
291
+ ## 1.8.11 - 2023-04-03
292
+
293
+ - Changed `openFilePicker` function to return more details of the picked file in the shape of `FilePickerFileProps`
294
+
295
+ ## 1.8.10 - 2023-03-30
296
+
297
+ - Changed `openFilePicker` function to accept `options`, to support configuration of picker behavior
298
+
299
+ ## 1.8.9 - 2023-03-06
300
+
301
+ - Added `registerCustomCommandBarItems` function to the `instance` object of the `WidgetContext` interface, to support multiple custom buttons in the widget header.
302
+ - Added `unregisterCustomCommandBarItems` function to the `instance` object of the `WidgetContext` interface, to support removing all custom buttons in the widget header.
303
+ - Added optional `id` property to exported `CustomCommandBarItemProps` type, to support removing a custom command bar item by id.
304
+ - Added optional `pinned` property to exported `CustomCommandBarItemProps` type, to support forcing the widget header to always be visible.
305
+ - Added optional `showNotificationBadge` property to exported `CustomCommandBarItemProps` type, to support showing a red notification badge over the custom command bar item.
306
+ - Added optional `order` property to exported `CustomCommandBarItemProps` type, to support changing the order of custom command bar items.
307
+ - Changed `unregisterCustomCommandBarItem` function of the `instance` object of the `WidgetContext` interface, to support removing a custom command bar item by id.
308
+
309
+ ## 1.8.8 - 2023-02-16
310
+
311
+ - Removed all SharePoint and Teams dependencies.
312
+
313
+ ## 1.8.7 - 2022-12-13
314
+
315
+ - Added `userRoles` property to the `WidgetContext` interface, to inform widgets of the roles of the current user.
316
+ - Added new exported `UserRole` type.
317
+
318
+ ## 1.8.6 - 2022-12-08
319
+
320
+ - Added `boardType` property to the `instance` object of the `WidgetContext` interface, to inform widgets of the type of their board.
321
+ - Added `allowedBoardTypes` property to the `definition` object of the `WidgetContext` interface, to inform widget variants of the types of boards it is allowed to be added to.
322
+ - Added new exported `BoardType` type.
323
+
324
+ ## 1.8.5 - 2022-09-30
325
+
326
+ - Added `setWidgetTitleSuffix()` function to the `instance` object of the `WidgetContext` interface, to support appending the title of the widget with additional text.
327
+ - Added `setWidgetSubtitle()` function to the `instance` object of the `WidgetContext` interface, to support overriding the subtitle of the widget.
328
+ - Added `setUserConfigButtonVisibilty()` function to the `instance` object of the `WidgetContext` interface, to support hiding the settings button from the widget header.
329
+ - Fixed spelling of `setWidgetHeaderVisibilty()` function. The function is now called `setWidgetHeaderVisibility()`.
330
+
331
+ ## 1.8.4 - 2022-09-05
332
+
333
+ - Added `openIFrameDialog()` function to the `WidgetContext` interface. This has the same functionality as the `openUrlInDialog()` function of the `instance` object, but adds more control over the dimensions of the dialog. The function `openUrlInDialog()` is now deprecated.
334
+
335
+ ## 1.8.3 - 2022-08-16
336
+
337
+ - Added `openFilePicker()` function to the `WidgetContext` interface to support file selection from within a widget.
338
+
339
+ ## 1.8.2 - 2022-07-06
340
+
341
+ - Added `subtitle` property to the `WidgetResource` interface.
342
+
343
+ ## 1.8.1 - 2022-06-17
344
+
345
+ - Added new section `analytics` to `WidgetManifestConfig` interface to allow definition of time-based events that can be raised by a widget.
346
+ - Added `raiseEvent(...)` to the `instance` object of the `WidgetContent` interface, allowing widgets to raise an event.
347
+
348
+ ## 1.7.11 - 2022-03-23
349
+
350
+ - Added `setWidgetHeaderVisibilty()` function to the `instance` object of the `WidgetContext` interface, allowing widgets to render in full height.
351
+
352
+ ## 1.7.9 - 2022-01-20
353
+
354
+ - Added `userAccountCreated` date/time to the `WidgetContext` interface.
355
+
356
+ ## 1.7.8 - 2022-01-18
357
+
358
+ ### Changed
359
+
360
+ - Added `initiateWidgetDeletion()` function to the `WidgetContext` interface.
361
+
362
+ ## 1.7.7 - 2022-01-14
363
+
364
+ ### Changed
365
+
366
+ - Added `tenantId` property to the `WidgetContext` interface.
367
+
368
+ ## 1.7.6 - 2021-11-04
369
+
370
+ ### Changed
371
+
372
+ - Added `theme` property to the `WidgetContext` interface to give access to currently applied theme.
373
+
374
+ ## 1.7.5 - 2021-10-26
375
+
376
+ ### Changed
377
+
378
+ - Added `userSecurityGroups` and `userSharePointGroups` properties to the `WidgetContext` interface to inform widgets of SharePoint and security group memberships of the current user.
379
+
380
+ ## 1.7.4 - 2021-10-20
381
+
382
+ ### Changed
383
+
384
+ - Added `contentLanguages` property to the `WidgetContext` interface to inform widgets of the available content languages as configured in Ichicraft Boards.
385
+
386
+ ## 1.7.3 - 2021-10-04
387
+
388
+ ### Changed
389
+
390
+ - Added `manifestVersion` property to the `WidgetManifestConfig` interface to support multiple versions of the manifest. Current version is 2 which introduced this and the `externals` property.
391
+ - Added `externals` property to the `WidgetManifestConfig` interface to support libraries that can be loaded separately from the widget bundle. This reduces widget bundle size and improves overal performance of Ichicraft Boards.
392
+
393
+ ## 1.6.1 - 2021-02-18
394
+
395
+ ### Changed
396
+
397
+ - Added `userEmail` property to the `WidgetContext` interface to provide current user's email address to widgets.
398
+
399
+ ## 1.5.0 - 2021-02-16
400
+
401
+ ### Changed
402
+
403
+ - Added `teamsSdk` property to the `WidgetContext` interface to allow interaction with Teams in case widget board is running in Teams client. Will be `undefined` if running in SharePoint.
404
+
405
+ ## 1.4.0 - 2021-01-25
406
+
407
+ ### Changed
408
+
409
+ - Added several properties to the `WidgetContext` interface to identify the context in which the widget is shown (e.g. Team Browser hosted)
410
+
411
+ ## 1.3.0 - 2021-01-15
412
+
413
+ ### Changed
414
+
415
+ - `registerCustomCommandBarItem()` is added to the `WidgetContext` interface as a function to call from within a widget instance to render an additional command bar item in the widget header.
416
+ - `unregisterCustomCommandBarItem()` is added to the `WidgetContext` interface as a function to call from within a widget instance to remove a previously added command bar item from the widget header.
417
+
418
+ ## 1.2.0 - 2021-01-15
419
+
420
+ ### Changed
421
+
422
+ - `loadScript()` is added to the `WidgetContext` interface as a function to call from within a widget in case an external script needs to be loaded. This allows the widget board to load external javascript.
423
+
424
+ ## 1.1.0 - 2021-01-11
425
+
426
+ ### Changed
427
+
428
+ - `handleFatalError()` is added to the `WidgetContext` interface as a function to call from within a widget in case of an unhandled/unresolvable error. This allows the widget board to handle this situation gracefully.
429
+ - **deps:** removed dependency ajv
430
+
431
+ ## <= 1.0.5 - 2020-12-07
432
+
433
+ No changelog was maintained for the earlier versions.
@@ -76,7 +76,7 @@ export interface WidgetContext {
76
76
  */
77
77
  tenantId: string;
78
78
  /**
79
- * ID of current Ichicraft Boards installation. Could either be a Site Collection ID (SP Shell)
79
+ * ID of current Bloom Intranet installation. Could either be a Site Collection ID (SP Shell)
80
80
  * or a fixed ID (Teams Shell)
81
81
  */
82
82
  boardsInstanceId: string;
@@ -378,7 +378,7 @@ export interface WidgetInstanceContext {
378
378
  */
379
379
  setSelectedTab?: (tabId: string) => void;
380
380
  /**
381
- * Raises an event to be handled by the Time-based Events feature of Ichicraft Boards.
381
+ * Raises an event to be handled by the Time-based Events feature.
382
382
  * @param object The object this event concerns (e.g. app, report, newsArticle, ...). Use camelCase.
383
383
  * @param action The action that was performed to/on the object (e.g. viewed, clicked, deleted, ...). Use camelCase.
384
384
  * @param data Optionally provide extra metadata to be included with the raised event.
@@ -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;
@@ -535,10 +547,17 @@ export interface WidgetManifestConfig {
535
547
  version: string;
536
548
  /**
537
549
  * The current stage of the software release lifecycle this widget is in.
538
- * @remark For Ichicraft Boards administrators, anything other than the default will be displayed in the widget library.
550
+ * @remark For Bloom Intranet administrators, anything other than the default will be displayed in the widget library.
539
551
  * @default "release"
540
552
  */
541
553
  releaseType?: ReleaseType;
554
+ /** (Optional) External url that admins can navigate to for more information about the widget. Displayed e.g. in the admin widget library, and the licenses panel (for Bloom widgets).
555
+ * For now, only admins are able to access this url through the Bloom UI.
556
+ */
557
+ aboutUrl?: string;
558
+ /** (Optional) External url that users can navigate to for more information about what's recently been added to the widget. Accessed e.g. through the widget's header menu.
559
+ * Only available if the 'What's New' feature is enabled.*/
560
+ whatsNewUrl?: string;
542
561
  /**
543
562
  * The minimum number of rows this widget must inhabit on a board.
544
563
  * @remark The value should be either `1` or `2`. Any other value is considered invalid and will be ignored.
@@ -630,7 +649,7 @@ export interface WidgetManifestConfig {
630
649
  };
631
650
  };
632
651
  /**
633
- * Everything related to analytics of this widget in Ichicraft Boards
652
+ * Everything related to analytics of this widget in Bloom Intranet.
634
653
  */
635
654
  analytics?: {
636
655
  /**
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
- {
2
- "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.16.2",
4
- "description": "Part of the Widget Development Kit for building widgets for Ichicraft Boards",
5
- "main": "lib/index.js",
6
- "types": "lib/index.d.ts",
7
- "scripts": {
8
- "build": "tsc",
9
- "prepare": "tsc"
10
- },
11
- "keywords": [
12
- "ichicraft",
13
- "widget",
14
- "widgets"
15
- ],
16
- "author": "Ichicraft",
17
- "license": "UNLICENSED",
18
- "files": [
19
- "lib/**/*"
20
- ],
21
- "overrides": {
22
- "requirejs": "2.3.7",
23
- "validator@<13.15.26": "13.15.26",
24
- "z-schema@<5.0.5": "5.0.5"
25
- },
26
- "dependencies": {
27
- "@ichicraft/caching": "~1.0.2",
28
- "@microsoft/microsoft-graph-client": "3.0.2",
29
- "@microsoft/sp-http": "1.18.2",
30
- "@pnp/sp": "4.0.1"
31
- },
32
- "devDependencies": {
33
- "@ianvs/prettier-plugin-sort-imports": "4.4.1",
34
- "eslint": "8.57.0",
35
- "eslint-config-prettier": "9.1.0",
36
- "eslint-plugin-prettier": "5.2.1",
37
- "eslint-plugin-react": "7.35.2",
38
- "eslint-plugin-react-hooks": "4.6.2",
39
- "prettier": "3.3.3",
40
- "typescript": "~5.3.3"
41
- }
42
- }
1
+ {
2
+ "name": "@ichicraft/widgets-widget-base",
3
+ "version": "1.16.4",
4
+ "description": "Part of the Widget Development Kit for building widgets for Bloom Intranet",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc",
9
+ "prepare": "tsc"
10
+ },
11
+ "keywords": [
12
+ "ichicraft",
13
+ "widget",
14
+ "widgets"
15
+ ],
16
+ "author": "Ichicraft",
17
+ "license": "UNLICENSED",
18
+ "files": [
19
+ "lib/**/*"
20
+ ],
21
+ "overrides": {
22
+ "requirejs": "2.3.7",
23
+ "validator@<13.15.26": "13.15.26",
24
+ "z-schema@<5.0.5": "5.0.5"
25
+ },
26
+ "dependencies": {
27
+ "@ichicraft/caching": "~1.0.2",
28
+ "@microsoft/microsoft-graph-client": "3.0.2",
29
+ "@microsoft/sp-http": "1.18.2",
30
+ "@pnp/sp": "4.0.1"
31
+ },
32
+ "devDependencies": {
33
+ "@ianvs/prettier-plugin-sort-imports": "4.4.1",
34
+ "eslint": "8.57.0",
35
+ "eslint-config-prettier": "9.1.0",
36
+ "eslint-plugin-prettier": "5.2.1",
37
+ "eslint-plugin-react": "7.35.2",
38
+ "eslint-plugin-react-hooks": "4.6.2",
39
+ "prettier": "3.3.3",
40
+ "typescript": "~5.3.3"
41
+ }
42
+ }