@blackbaud/sky-addin-client 1.1.3 → 1.1.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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.1.4 (2023-01-11)
2
+
3
+ - Add `actionButtonConfig` and `tabConfig` to AddinClientReadyArgs.
4
+
1
5
  # 1.1.3 (2022-05-12)
2
6
  - Updated `allowedOrigins` to support Education Management
3
7
 
package/README.md CHANGED
@@ -468,8 +468,3 @@ catch (TokenValidationException ex)
468
468
  Once the token has been validated, the add-in's backend will know the Blackbaud user ID and can determine if a user mapping exists for a user in the add-in's system. If a mapping exists, then the add-in's backend can immediately present the content for the add-in. If no user mapping exists, the add-in can prompt the user to login.
469
469
 
470
470
  For more information on Blackbaud's SKY Add-in framework, please see https://developer.blackbaud.com/skyapi/docs/addins.
471
-
472
- ## Deprecated help support
473
-
474
- Using the help widget experience in the context of an addin is generally not needed and contradicts BB's UX patterns.
475
- As a result, the widget support has been deprecated and will be remove in the next major release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackbaud/sky-addin-client",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "SKY add-in client",
5
5
  "main": "dist/bundles/sky-addin-client.umd.js",
6
6
  "module": "index.js",
@@ -58,7 +58,7 @@
58
58
  "raw-loader": "4.0.0",
59
59
  "remap-istanbul": "0.13.0",
60
60
  "rimraf": "3.0.2",
61
- "source-map-inline-loader": "github:blackbaud-bobbyearl/source-map-inline-loader",
61
+ "source-map-inline-loader": "1.0.0",
62
62
  "ts-loader": "6.2.2",
63
63
  "tslint": "5.18.0",
64
64
  "tslint-loader": "3.5.4",
@@ -0,0 +1,10 @@
1
+ export interface AddinActionButtonConfig {
2
+ /**
3
+ * The description content to display on the action button.
4
+ */
5
+ description?: string;
6
+ /**
7
+ * The icon to use for the action button.
8
+ */
9
+ icon?: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=addin-action-button-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addin-action-button-config.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-action-button-config.ts"],"names":[],"mappings":""}
@@ -1,5 +1,7 @@
1
+ import { AddinActionButtonConfig } from './addin-action-button-config';
1
2
  import { AddinButtonConfig } from './addin-button-config';
2
3
  import { AddinModalConfig } from './addin-modal-config';
4
+ import { AddinTabConfig } from './addin-tab-config';
3
5
  import { AddinTileConfig } from './addin-tile-config';
4
6
  /**
5
7
  * Interface for informing the AddinClient that the add-in is ready.
@@ -26,4 +28,12 @@ export interface AddinClientReadyArgs {
26
28
  * Provides additional configuration for Modal add-ins
27
29
  */
28
30
  modalConfig?: AddinModalConfig;
31
+ /**
32
+ * Provides additional configuration for Action Button add-ins
33
+ */
34
+ actionButtonConfig?: AddinActionButtonConfig;
35
+ /**
36
+ * Provides additional configuration for Tab add-ins
37
+ */
38
+ tabConfig?: AddinTabConfig;
29
39
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Interface for defining configuration options for Tab add-ins
3
+ */
4
+ export interface AddinTabConfig {
5
+ /**
6
+ * Displays a counter beside the tab header.
7
+ */
8
+ tabHeaderCount?: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=addin-tab-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addin-tab-config.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-tab-config.ts"],"names":[],"mappings":""}