@microsoft/sp-top-actions 1.22.1 → 1.23.0-beta.0

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.22.1",
6
+ "version": "1.23.0",
7
7
  "loaderConfig": {
8
8
  "internalModuleBaseUrls": [
9
9
  "https://localhost:4321/dist/"
@@ -13,8 +13,8 @@
13
13
  "sp-top-actions": {
14
14
  "type": "path",
15
15
  "path": {
16
- "path": "sp-top-actions_none_317e30ae6e8635c48fd9.js",
17
- "integrity": "sha256-7N7DfUeldWGmNey0tjuFPxolFBqz477GXs7aaEZ6iNQ="
16
+ "path": "sp-top-actions_none_fc80dd5e0582b8bc4afe.js",
17
+ "integrity": "sha256-OqG+vItL8X4DVwYb1Le1v9pjzZHcl+S0u4YieO1mZXk="
18
18
  }
19
19
  }
20
20
  }
@@ -2,6 +2,7 @@ import type { IMultiStepCoachmark } from '@msinternal/sp-coachmark-utility';
2
2
  import type { IToolbarBasicButton } from '@msinternal/sp-toolbar';
3
3
  import type { IToolbarButtonBase } from '@msinternal/sp-toolbar';
4
4
  import type { IToolbarComboboxButton } from '@msinternal/sp-toolbar';
5
+ import type { IToolbarDependencyContext } from '@msinternal/sp-toolbar';
5
6
  import type { IToolbarDropdownButton } from '@msinternal/sp-toolbar';
6
7
  import type { IToolbarSplitButton } from '@msinternal/sp-toolbar';
7
8
  import type { IToolbarToggleButton } from '@msinternal/sp-toolbar';
@@ -25,6 +26,7 @@ export declare interface ITopActions {
25
26
  * @param updatedValue - the updated value passed by top actions for the specified actionName
26
27
  */
27
28
  onExecute(actionName: string, updatedValue: unknown): void;
29
+ /* Excluded from this release type: loggerInfo */
28
30
  }
29
31
 
30
32
  /**
@@ -2,6 +2,7 @@ import type { IMultiStepCoachmark } from '@msinternal/sp-coachmark-utility';
2
2
  import type { IToolbarBasicButton } from '@msinternal/sp-toolbar';
3
3
  import type { IToolbarButtonBase } from '@msinternal/sp-toolbar';
4
4
  import type { IToolbarComboboxButton } from '@msinternal/sp-toolbar';
5
+ import type { IToolbarDependencyContext } from '@msinternal/sp-toolbar';
5
6
  import type { IToolbarDropdownButton } from '@msinternal/sp-toolbar';
6
7
  import type { IToolbarSplitButton } from '@msinternal/sp-toolbar';
7
8
  import type { IToolbarToggleButton } from '@msinternal/sp-toolbar';
@@ -25,6 +26,7 @@ export declare interface ITopActions {
25
26
  * @param updatedValue - the updated value passed by top actions for the specified actionName
26
27
  */
27
28
  onExecute(actionName: string, updatedValue: unknown): void;
29
+ /* Excluded from this release type: loggerInfo */
28
30
  }
29
31
 
30
32
  /**
@@ -2,6 +2,7 @@ import type { IMultiStepCoachmark } from '@msinternal/sp-coachmark-utility';
2
2
  import type { IToolbarBasicButton } from '@msinternal/sp-toolbar';
3
3
  import type { IToolbarButtonBase } from '@msinternal/sp-toolbar';
4
4
  import type { IToolbarComboboxButton } from '@msinternal/sp-toolbar';
5
+ import type { IToolbarDependencyContext } from '@msinternal/sp-toolbar';
5
6
  import type { IToolbarDropdownButton } from '@msinternal/sp-toolbar';
6
7
  import type { IToolbarSplitButton } from '@msinternal/sp-toolbar';
7
8
  import type { IToolbarToggleButton } from '@msinternal/sp-toolbar';
@@ -25,6 +26,7 @@ export declare interface ITopActions {
25
26
  * @param updatedValue - the updated value passed by top actions for the specified actionName
26
27
  */
27
28
  onExecute(actionName: string, updatedValue: unknown): void;
29
+ /* Excluded from this release type: loggerInfo */
28
30
  }
29
31
 
30
32
  /**
@@ -1 +1 @@
1
- define("d5c7f2a5-a8e2-431c-9161-70d4d6396f79_1.22.1",[],()=>(()=>{"use strict";var e,t={d:(e,n)=>{for(var a in n)t.o(n,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};return t.r(n),t.d(n,{TopActionsFieldType:()=>e}),function(e){e[e.Toggle=5]="Toggle",e[e.Dropdown=10]="Dropdown",e[e.Button=11]="Button",e[e.Split=100]="Split",e[e.Combobox=101]="Combobox"}(e||(e={})),n})());
1
+ define("d5c7f2a5-a8e2-431c-9161-70d4d6396f79_1.23.0",[],()=>(()=>{"use strict";var e,t={d:(e,n)=>{for(var a in n)t.o(n,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};return t.r(n),t.d(n,{TopActionsFieldType:()=>e}),function(e){e[e.Toggle=5]="Toggle",e[e.Dropdown=10]="Dropdown",e[e.Button=11]="Button",e[e.Split=100]="Split",e[e.Combobox=101]="Combobox"}(e||(e={})),n})());
@@ -1,4 +1,5 @@
1
1
  import type { IMultiStepCoachmark } from '@msinternal/sp-coachmark-utility';
2
+ import type { IToolbarDependencyContext } from '@msinternal/sp-toolbar';
2
3
  import type { ITopActionsField } from './topActionsFields/topActionsField/topActionsField';
3
4
  import type { ITopActionsCoachmark as _ITopActionsCoachmark } from './topActionsFields/topActionsField/ITopActionsCoachmark';
4
5
  /**
@@ -29,5 +30,10 @@ export interface ITopActions {
29
30
  * @param updatedValue - the updated value passed by top actions for the specified actionName
30
31
  */
31
32
  onExecute(actionName: string, updatedValue: unknown): void;
33
+ /**
34
+ * @internal
35
+ * Logger info for QoS and EngagementLogger (used by the Fluent v9 top action renderers).
36
+ */
37
+ readonly loggerInfo?: Partial<IToolbarDependencyContext['loggerInfo']>;
32
38
  }
33
39
  //# sourceMappingURL=ITopActions.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { IToolbarToggleButton } from '@msinternal/sp-toolbar';
1
+ import type { IToolbarDependencyContext, IToolbarToggleButton } from '@msinternal/sp-toolbar';
2
2
  import type { ITopActionsFieldCommonProps } from '../topActionsField/topActionsField';
3
3
  /**
4
4
  * TopActions toggle props.
@@ -14,5 +14,16 @@ export interface ITopActionsToggleProps extends Pick<IToolbarToggleButton, 'icon
14
14
  * component like `sp-rte-toolbars`. Instead, we pass each top action individually.
15
15
  */
16
16
  checked?: boolean;
17
+ /**
18
+ * Logger info for QoS and EngagementLogger.
19
+ *
20
+ * @privateRemarks
21
+ * `ToolbarToggleButton` requires `Toolbar` component to manage its toggle state. Since we don't support `Toolbar`
22
+ * in top actions currently, we use `ToggleButton` instead. We need to pass logger info since `ToggleButton`
23
+ * doesn't get this from `ToolbarDependencyContext` like the other Fluent v9 toolbar buttons (VSO:2671685).
24
+ *
25
+ * @internal
26
+ */
27
+ readonly loggerInfo?: Partial<IToolbarDependencyContext['loggerInfo']>;
17
28
  }
18
29
  //# sourceMappingURL=ITopActionsToggle.d.ts.map
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.5"
8
+ "packageVersion": "7.57.7"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@microsoft/sp-top-actions",
3
- "version": "1.22.1",
3
+ "version": "1.23.0-beta.0",
4
4
  "description": "SharePoint Framework support for the web part top actions user interface.",
5
- "license": "https://aka.ms/spfx/license",
6
5
  "homepage": "http://aka.ms/spfx",
6
+ "license": "https://aka.ms/spfx/license",
7
7
  "main": "lib-commonjs/index.js",
8
8
  "module": "lib-esm/index.js",
9
9
  "typings": "lib-dts/index.d.ts",
@@ -38,12 +38,12 @@
38
38
  "@swc/helpers": "^0.5.12"
39
39
  },
40
40
  "devDependencies": {
41
- "@rushstack/heft": "1.1.2",
41
+ "@rushstack/heft": "1.2.7",
42
42
  "@types/react": "17.0.45",
43
43
  "@types/react-dom": "17.0.17",
44
- "eslint": "8.57.1",
45
- "@msinternal/spfx-internal-web-build-rig": "0.1.0",
44
+ "eslint": "9.37.0",
46
45
  "@msinternal/sp-coachmark-utility": "0.1.0",
46
+ "@msinternal/spfx-internal-web-build-rig": "0.1.0",
47
47
  "@msinternal/sp-toolbar": "0.1.0"
48
48
  },
49
49
  "scripts": {
@@ -51,9 +51,9 @@
51
51
  "clean": "heft clean",
52
52
  "deploy": "heft dev-deploy",
53
53
  "start": "heft build-watch --serve",
54
- "test-watch": "heft test-watch",
55
54
  "tab": "heft tab",
56
55
  "tablink": "heft tablink",
56
+ "test-watch": "heft test-watch",
57
57
  "_phase:build": "heft run --only build -- --clean",
58
58
  "_phase:build:incremental": "heft run --only build --",
59
59
  "_phase:depscan": "heft depscan",