@microsoft/sp-top-actions 1.16.0 → 1.17.0-beta.1
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.
|
|
6
|
+
"version": "1.17.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-
|
|
15
|
+
"path": "sp-top-actions_none_f222ed1870f6c7ed03fa.js"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
package/dist/index-internal.d.ts
CHANGED
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import { IPropertyPaneField } from '@microsoft/sp-property-pane/lib/propertyPaneFields/propertyPaneField/IPropertyPaneField';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Configuration used for a single Top Action command.
|
|
5
|
+
* @beta
|
|
6
|
+
*/
|
|
7
|
+
export declare type ActionConfiguration<TProperties = any> = Readonly<IPropertyPaneField<TProperties>> & {
|
|
8
|
+
/**
|
|
9
|
+
* Display name for the action which can be used in a tooltip or aria-label.
|
|
10
|
+
*/
|
|
11
|
+
readonly title?: string;
|
|
12
|
+
};
|
|
4
13
|
|
|
5
|
-
|
|
14
|
+
/**
|
|
15
|
+
* The configurations used to define a webpart's top actions.
|
|
16
|
+
* For consistency between the Property Pane and the CanvasTopAction,
|
|
17
|
+
* top action configurations are based on IPropertyPaneField data structure.
|
|
18
|
+
* @beta
|
|
19
|
+
*/
|
|
20
|
+
export declare interface ITopActions {
|
|
21
|
+
/**
|
|
22
|
+
* List of PropertyPane top actions
|
|
23
|
+
*/
|
|
24
|
+
readonly topActions: ActionConfiguration[];
|
|
25
|
+
/**
|
|
26
|
+
* Fired once the top action configuration state has changed for the specified property path
|
|
27
|
+
* @param actionName - the specified property path that has been altered
|
|
28
|
+
* @param newValue - the new value for the specified actionName
|
|
29
|
+
*/
|
|
30
|
+
onExecute(actionName: string, newValue: any): void;
|
|
31
|
+
}
|
|
6
32
|
|
|
7
33
|
export { }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define("d5c7f2a5-a8e2-431c-9161-70d4d6396f79_1.
|
|
1
|
+
define("d5c7f2a5-a8e2-431c-9161-70d4d6396f79_1.17.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";n.r(t)}})});
|
package/dist/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-top-actions",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0-beta.1",
|
|
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,14 +8,14 @@
|
|
|
8
8
|
"module": "lib/index.js",
|
|
9
9
|
"typings": "dist/index-internal.d.ts",
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@
|
|
12
|
-
"@odsp-web-tools/internal-node-rig": "0.1.0",
|
|
13
|
-
"@rushstack/heft": "0.47.11",
|
|
11
|
+
"@rushstack/heft": "0.48.8",
|
|
14
12
|
"@types/react": "17.0.45",
|
|
15
|
-
"@types/react-dom": "17.0.17"
|
|
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"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@microsoft/sp-property-pane": "1.
|
|
18
|
+
"@microsoft/sp-property-pane": "1.17.0-beta.1"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "heft test --clean",
|