@microsoft/sp-top-actions 1.17.4 → 1.18.0-beta.2

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.
@@ -3,7 +3,7 @@
3
3
  "id": "d5c7f2a5-a8e2-431c-9161-70d4d6396f79",
4
4
  "alias": "SpTopActions",
5
5
  "componentType": "Library",
6
- "version": "1.17.4",
6
+ "version": "1.18.0",
7
7
  "loaderConfig": {
8
8
  "internalModuleBaseUrls": [
9
9
  "https://localhost:4321/dist/"
@@ -12,7 +12,7 @@
12
12
  "scriptResources": {
13
13
  "sp-top-actions": {
14
14
  "type": "path",
15
- "path": "sp-top-actions_none_dce9959b0bd55ccbadc9.js"
15
+ "path": "sp-top-actions_none_73fd93fa1224f76c64f4.js"
16
16
  }
17
17
  }
18
18
  }
@@ -10,12 +10,13 @@ export declare interface ITopActions {
10
10
  * List of top actions configurations
11
11
  */
12
12
  readonly topActions: ITopActionsField[];
13
+ /* Excluded from this release type: coachmarks */
13
14
  /**
14
15
  * Triggered once the top action configuration state has been executed for the specified property path
15
16
  * @param actionName - the specified property path that has been altered
16
17
  * @param updatedValue - the updated value passed by top actions for the specified actionName
17
18
  */
18
- onExecute(actionName: string, updatedValue: any): void;
19
+ onExecute(actionName: string, updatedValue: unknown): void;
19
20
  }
20
21
 
21
22
  /**
@@ -53,6 +54,8 @@ export declare interface ITopActionsButtonProps {
53
54
  /* Excluded from this release type: themableSvg */
54
55
  }
55
56
 
57
+ /* Excluded from this release type: ITopActionsCoachmark */
58
+
56
59
  /**
57
60
  * TopActions Dropdown option props.
58
61
  *
@@ -143,7 +146,7 @@ export declare interface ITopActionsDropdownProps {
143
146
  *
144
147
  * @public
145
148
  */
146
- export declare interface ITopActionsField<TProperties = any> {
149
+ export declare interface ITopActionsField<TProperties = unknown> {
147
150
  /**
148
151
  * Display name for the action which can be used in a tooltip or aria-label.
149
152
  */
@@ -10,12 +10,13 @@ export declare interface ITopActions {
10
10
  * List of top actions configurations
11
11
  */
12
12
  readonly topActions: ITopActionsField[];
13
+ /* Excluded from this release type: coachmarks */
13
14
  /**
14
15
  * Triggered once the top action configuration state has been executed for the specified property path
15
16
  * @param actionName - the specified property path that has been altered
16
17
  * @param updatedValue - the updated value passed by top actions for the specified actionName
17
18
  */
18
- onExecute(actionName: string, updatedValue: any): void;
19
+ onExecute(actionName: string, updatedValue: unknown): void;
19
20
  }
20
21
 
21
22
  /**
@@ -53,6 +54,8 @@ export declare interface ITopActionsButtonProps {
53
54
  /* Excluded from this release type: themableSvg */
54
55
  }
55
56
 
57
+ /* Excluded from this release type: ITopActionsCoachmark */
58
+
56
59
  /**
57
60
  * TopActions Dropdown option props.
58
61
  *
@@ -143,7 +146,7 @@ export declare interface ITopActionsDropdownProps {
143
146
  *
144
147
  * @public
145
148
  */
146
- export declare interface ITopActionsField<TProperties = any> {
149
+ export declare interface ITopActionsField<TProperties = unknown> {
147
150
  /**
148
151
  * Display name for the action which can be used in a tooltip or aria-label.
149
152
  */
@@ -10,12 +10,13 @@ export declare interface ITopActions {
10
10
  * List of top actions configurations
11
11
  */
12
12
  readonly topActions: ITopActionsField[];
13
+ /* Excluded from this release type: coachmarks */
13
14
  /**
14
15
  * Triggered once the top action configuration state has been executed for the specified property path
15
16
  * @param actionName - the specified property path that has been altered
16
17
  * @param updatedValue - the updated value passed by top actions for the specified actionName
17
18
  */
18
- onExecute(actionName: string, updatedValue: any): void;
19
+ onExecute(actionName: string, updatedValue: unknown): void;
19
20
  }
20
21
 
21
22
  /**
@@ -53,6 +54,8 @@ export declare interface ITopActionsButtonProps {
53
54
  /* Excluded from this release type: themableSvg */
54
55
  }
55
56
 
57
+ /* Excluded from this release type: ITopActionsCoachmark */
58
+
56
59
  /**
57
60
  * TopActions Dropdown option props.
58
61
  *
@@ -143,7 +146,7 @@ export declare interface ITopActionsDropdownProps {
143
146
  *
144
147
  * @public
145
148
  */
146
- export declare interface ITopActionsField<TProperties = any> {
149
+ export declare interface ITopActionsField<TProperties = unknown> {
147
150
  /**
148
151
  * Display name for the action which can be used in a tooltip or aria-label.
149
152
  */
@@ -1 +1 @@
1
- define("d5c7f2a5-a8e2-431c-9161-70d4d6396f79_1.17.4",[],function(){return function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="mwqp")}({mwqp:function(e,t,n){"use strict";var a;n.r(t),n.d(t,"TopActionsFieldType",function(){return a}),function(e){e[e.Dropdown=10]="Dropdown",e[e.Button=11]="Button"}(a||(a={}))}})});
1
+ define("d5c7f2a5-a8e2-431c-9161-70d4d6396f79_1.18.0",[],function(){return function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="mwqp")}({mwqp:function(e,t,n){"use strict";var a;n.r(t),n.d(t,"TopActionsFieldType",function(){return a}),function(e){e[e.Dropdown=10]="Dropdown",e[e.Button=11]="Button"}(a||(a={}))}})});
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
8
+ "packageVersion": "7.36.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ITopActionsCoachmark.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/sp-top-actions",
3
- "version": "1.17.4",
3
+ "version": "1.18.0-beta.2",
4
4
  "description": "SharePoint Framework support for the web part top actions user interface.",
5
5
  "license": "https://aka.ms/spfx/license",
6
6
  "homepage": "http://aka.ms/spfx",
@@ -8,21 +8,23 @@
8
8
  "module": "lib/index.js",
9
9
  "typings": "dist/index-internal.d.ts",
10
10
  "devDependencies": {
11
- "@rushstack/heft": "0.49.7",
11
+ "@rushstack/heft": "0.56.0",
12
12
  "@types/react": "17.0.45",
13
13
  "@types/react-dom": "17.0.17",
14
- "@ms/spfx-internal-web-build-rig": "0.1.0",
15
- "@odsp-web-tools/internal-node-rig": "0.1.0"
14
+ "eslint": "8.7.0",
15
+ "@ms/spfx-internal-web-build-next-rig": "0.1.0"
16
16
  },
17
17
  "scripts": {
18
- "build": "heft test --clean",
18
+ "build": "heft build --clean",
19
19
  "clean": "heft clean",
20
20
  "deploy": "heft dev-deploy",
21
- "start": "heft start --clean",
22
- "test": "heft test --no-build",
23
- "build-watch": "heft build --lite",
24
- "_phase:build": "heft build --clean",
25
- "_phase:build-incremental": "heft build --lite",
26
- "_phase:depscan": "heft depscan"
21
+ "start": "heft build-watch --serve",
22
+ "test-watch": "heft test-watch",
23
+ "tab": "heft tab",
24
+ "tablink": "heft tablink",
25
+ "_phase:build": "heft run --only build -- --clean",
26
+ "_phase:build-incremental": "heft run --only build --",
27
+ "_phase:depscan": "heft depscan",
28
+ "_phase:tablink": "heft tablink"
27
29
  }
28
30
  }