@microsoft/generator-sharepoint 1.14.0-beta.5 → 1.14.0-rc.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.
Files changed (28) hide show
  1. package/lib/common/dependency/adaptiveCardExtension/firstParty.json +6 -6
  2. package/lib/common/dependency/adaptiveCardExtension/firstPartyPlusBeta.json +6 -6
  3. package/lib/common/dependency/applicationCustomizer.json +2 -2
  4. package/lib/common/dependency/applicationCustomizerPlusBeta.json +2 -2
  5. package/lib/common/dependency/commandSet.json +2 -2
  6. package/lib/common/dependency/commandSetPlusBeta.json +2 -2
  7. package/lib/common/dependency/extension/firstParty.json +5 -5
  8. package/lib/common/dependency/extension/firstPartyPlusBeta.json +5 -5
  9. package/lib/common/dependency/fieldCustomizer.json +1 -1
  10. package/lib/common/dependency/fieldCustomizerPlusBeta.json +1 -1
  11. package/lib/common/dependency/library/firstParty.json +3 -3
  12. package/lib/common/dependency/library/firstPartyPlusBeta.json +3 -3
  13. package/lib/common/dependency/searchQueryModifier.json +1 -1
  14. package/lib/common/dependency/searchQueryModifierPlusBeta.json +1 -1
  15. package/lib/common/dependency/webpart/firstParty.json +8 -8
  16. package/lib/common/dependency/webpart/firstPartyPlusBeta.json +8 -8
  17. package/lib/generators/adaptiveCardExtension/templates/base/loc/en-us.js +5 -8
  18. package/lib/generators/adaptiveCardExtension/templates/base/loc/mystring.d.ts +1 -4
  19. package/lib/generators/adaptiveCardExtension/templates/basicCardView/CardView.ts +2 -1
  20. package/lib/generators/adaptiveCardExtension/templates/imageCardView/CardView.ts +2 -1
  21. package/lib/generators/adaptiveCardExtension/templates/manifestTemplate/baseTemplate/{componentClassName}.manifest.json +1 -3
  22. package/lib/generators/adaptiveCardExtension/templates/none/quickView/QuickView.ts +0 -2
  23. package/lib/generators/adaptiveCardExtension/templates/none/quickView/template/QuickViewTemplate.json +0 -5
  24. package/lib/generators/adaptiveCardExtension/templates/none/{componentClassName}.ts +1 -14
  25. package/lib/generators/adaptiveCardExtension/templates/none/{componentName}PropertyPane.ts +0 -8
  26. package/lib/generators/adaptiveCardExtension/templates/primaryTextCardView/CardView.ts +2 -1
  27. package/lib/generators/app/index.js +1 -1
  28. package/package.json +2 -2
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-core-library": "1.14.0-beta.5",
4
- "@microsoft/sp-property-pane": "1.14.0-beta.5",
5
- "@microsoft/sp-adaptive-card-extension-base": "1.14.0-beta.5"
3
+ "@microsoft/sp-core-library": "1.14.0-rc.2",
4
+ "@microsoft/sp-property-pane": "1.14.0-rc.2",
5
+ "@microsoft/sp-adaptive-card-extension-base": "1.14.0-rc.2"
6
6
  },
7
7
  "devDependencies": {
8
- "@microsoft/sp-build-web": "1.14.0-beta.5",
9
- "@microsoft/sp-tslint-rules": "1.14.0-beta.5",
10
- "@microsoft/sp-module-interfaces": "1.14.0-beta.5",
8
+ "@microsoft/sp-build-web": "1.14.0-rc.2",
9
+ "@microsoft/sp-tslint-rules": "1.14.0-rc.2",
10
+ "@microsoft/sp-module-interfaces": "1.14.0-rc.2",
11
11
  "@microsoft/rush-stack-compiler-3.9": "0.4.47"
12
12
  }
13
13
  }
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-core-library": "1.14.0-beta.5",
4
- "@microsoft/sp-property-pane": "1.14.0-beta.5",
5
- "@microsoft/sp-adaptive-card-extension-base": "1.14.0-beta.5"
3
+ "@microsoft/sp-core-library": "1.14.0-rc.2",
4
+ "@microsoft/sp-property-pane": "1.14.0-rc.2",
5
+ "@microsoft/sp-adaptive-card-extension-base": "1.14.0-rc.2"
6
6
  },
7
7
  "devDependencies": {
8
- "@microsoft/sp-build-web": "1.14.0-beta.5",
9
- "@microsoft/sp-tslint-rules": "1.14.0-beta.5",
10
- "@microsoft/sp-module-interfaces": "1.14.0-beta.5",
8
+ "@microsoft/sp-build-web": "1.14.0-rc.2",
9
+ "@microsoft/sp-tslint-rules": "1.14.0-rc.2",
10
+ "@microsoft/sp-module-interfaces": "1.14.0-rc.2",
11
11
  "@microsoft/rush-stack-compiler-3.9": "0.4.47"
12
12
  }
13
13
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-dialog": "1.14.0-beta.5",
4
- "@microsoft/sp-application-base": "1.14.0-beta.5"
3
+ "@microsoft/sp-dialog": "1.14.0-rc.2",
4
+ "@microsoft/sp-application-base": "1.14.0-rc.2"
5
5
  }
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-dialog": "1.14.0-beta.5",
4
- "@microsoft/sp-application-base": "1.14.0-beta.5"
3
+ "@microsoft/sp-dialog": "1.14.0-rc.2",
4
+ "@microsoft/sp-application-base": "1.14.0-rc.2"
5
5
  }
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-listview-extensibility": "1.14.0-beta.5",
4
- "@microsoft/sp-dialog": "1.14.0-beta.5"
3
+ "@microsoft/sp-listview-extensibility": "1.14.0-rc.2",
4
+ "@microsoft/sp-dialog": "1.14.0-rc.2"
5
5
  }
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-listview-extensibility": "1.14.0-beta.5",
4
- "@microsoft/sp-dialog": "1.14.0-beta.5"
3
+ "@microsoft/sp-listview-extensibility": "1.14.0-rc.2",
4
+ "@microsoft/sp-dialog": "1.14.0-rc.2"
5
5
  }
6
6
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-core-library": "1.14.0-beta.5",
4
- "@microsoft/decorators": "1.14.0-beta.5"
3
+ "@microsoft/sp-core-library": "1.14.0-rc.2",
4
+ "@microsoft/decorators": "1.14.0-rc.2"
5
5
  },
6
6
  "devDependencies": {
7
- "@microsoft/sp-build-web": "1.14.0-beta.5",
8
- "@microsoft/sp-tslint-rules": "1.14.0-beta.5",
9
- "@microsoft/sp-module-interfaces": "1.14.0-beta.5",
7
+ "@microsoft/sp-build-web": "1.14.0-rc.2",
8
+ "@microsoft/sp-tslint-rules": "1.14.0-rc.2",
9
+ "@microsoft/sp-module-interfaces": "1.14.0-rc.2",
10
10
  "@microsoft/rush-stack-compiler-3.9": "0.4.47"
11
11
  }
12
12
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-core-library": "1.14.0-beta.5",
4
- "@microsoft/decorators": "1.14.0-beta.5"
3
+ "@microsoft/sp-core-library": "1.14.0-rc.2",
4
+ "@microsoft/decorators": "1.14.0-rc.2"
5
5
  },
6
6
  "devDependencies": {
7
- "@microsoft/sp-build-web": "1.14.0-beta.5",
8
- "@microsoft/sp-tslint-rules": "1.14.0-beta.5",
9
- "@microsoft/sp-module-interfaces": "1.14.0-beta.5",
7
+ "@microsoft/sp-build-web": "1.14.0-rc.2",
8
+ "@microsoft/sp-tslint-rules": "1.14.0-rc.2",
9
+ "@microsoft/sp-module-interfaces": "1.14.0-rc.2",
10
10
  "@microsoft/rush-stack-compiler-3.9": "0.4.47"
11
11
  }
12
12
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-listview-extensibility": "1.14.0-beta.5"
3
+ "@microsoft/sp-listview-extensibility": "1.14.0-rc.2"
4
4
  }
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-listview-extensibility": "1.14.0-beta.5"
3
+ "@microsoft/sp-listview-extensibility": "1.14.0-rc.2"
4
4
  }
5
5
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "dependencies": {},
3
3
  "devDependencies": {
4
- "@microsoft/sp-build-web": "1.14.0-beta.5",
5
- "@microsoft/sp-tslint-rules": "1.14.0-beta.5",
6
- "@microsoft/sp-module-interfaces": "1.14.0-beta.5",
4
+ "@microsoft/sp-build-web": "1.14.0-rc.2",
5
+ "@microsoft/sp-tslint-rules": "1.14.0-rc.2",
6
+ "@microsoft/sp-module-interfaces": "1.14.0-rc.2",
7
7
  "@microsoft/rush-stack-compiler-3.9": "0.4.47"
8
8
  }
9
9
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "dependencies": {},
3
3
  "devDependencies": {
4
- "@microsoft/sp-build-web": "1.14.0-beta.5",
5
- "@microsoft/sp-tslint-rules": "1.14.0-beta.5",
6
- "@microsoft/sp-module-interfaces": "1.14.0-beta.5",
4
+ "@microsoft/sp-build-web": "1.14.0-rc.2",
5
+ "@microsoft/sp-tslint-rules": "1.14.0-rc.2",
6
+ "@microsoft/sp-module-interfaces": "1.14.0-rc.2",
7
7
  "@microsoft/rush-stack-compiler-3.9": "0.4.47"
8
8
  }
9
9
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-search-extensibility": "1.14.0-beta.5"
3
+ "@microsoft/sp-search-extensibility": "1.14.0-rc.2"
4
4
  }
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-search-extensibility": "1.14.0-beta.5"
3
+ "@microsoft/sp-search-extensibility": "1.14.0-rc.2"
4
4
  }
5
5
  }
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-core-library": "1.14.0-beta.5",
4
- "@microsoft/sp-property-pane": "1.14.0-beta.5",
5
- "@microsoft/sp-webpart-base": "1.14.0-beta.5",
6
- "@microsoft/sp-lodash-subset": "1.14.0-beta.5",
7
- "@microsoft/sp-office-ui-fabric-core": "1.14.0-beta.5"
3
+ "@microsoft/sp-core-library": "1.14.0-rc.2",
4
+ "@microsoft/sp-property-pane": "1.14.0-rc.2",
5
+ "@microsoft/sp-webpart-base": "1.14.0-rc.2",
6
+ "@microsoft/sp-lodash-subset": "1.14.0-rc.2",
7
+ "@microsoft/sp-office-ui-fabric-core": "1.14.0-rc.2"
8
8
  },
9
9
  "devDependencies": {
10
- "@microsoft/sp-build-web": "1.14.0-beta.5",
11
- "@microsoft/sp-tslint-rules": "1.14.0-beta.5",
12
- "@microsoft/sp-module-interfaces": "1.14.0-beta.5",
10
+ "@microsoft/sp-build-web": "1.14.0-rc.2",
11
+ "@microsoft/sp-tslint-rules": "1.14.0-rc.2",
12
+ "@microsoft/sp-module-interfaces": "1.14.0-rc.2",
13
13
  "@microsoft/rush-stack-compiler-3.9": "0.4.47"
14
14
  }
15
15
  }
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "dependencies": {
3
- "@microsoft/sp-core-library": "1.14.0-beta.5",
4
- "@microsoft/sp-property-pane": "1.14.0-beta.5",
5
- "@microsoft/sp-webpart-base": "1.14.0-beta.5",
6
- "@microsoft/sp-lodash-subset": "1.14.0-beta.5",
7
- "@microsoft/sp-office-ui-fabric-core": "1.14.0-beta.5"
3
+ "@microsoft/sp-core-library": "1.14.0-rc.2",
4
+ "@microsoft/sp-property-pane": "1.14.0-rc.2",
5
+ "@microsoft/sp-webpart-base": "1.14.0-rc.2",
6
+ "@microsoft/sp-lodash-subset": "1.14.0-rc.2",
7
+ "@microsoft/sp-office-ui-fabric-core": "1.14.0-rc.2"
8
8
  },
9
9
  "devDependencies": {
10
- "@microsoft/sp-build-web": "1.14.0-beta.5",
11
- "@microsoft/sp-tslint-rules": "1.14.0-beta.5",
12
- "@microsoft/sp-module-interfaces": "1.14.0-beta.5",
10
+ "@microsoft/sp-build-web": "1.14.0-rc.2",
11
+ "@microsoft/sp-tslint-rules": "1.14.0-rc.2",
12
+ "@microsoft/sp-module-interfaces": "1.14.0-rc.2",
13
13
  "@microsoft/rush-stack-compiler-3.9": "0.4.47"
14
14
  }
15
15
  }
@@ -1,14 +1,11 @@
1
1
  define([], function() {
2
2
  return {
3
- "PropertyPaneDescription": "Description",
4
- "BasicGroupName": "Group Name",
5
- "DescriptionFieldLabel": "Description Field",
6
- "TitleFieldLabel": "Card Title",
7
- "IconPropertyFieldLabel": "Card Icon",
3
+ "PropertyPaneDescription": "Write 1-3 sentences describing the functionality of this component.",
4
+ "TitleFieldLabel": "Card title",
8
5
  "Title": "Adaptive Card Extension",
9
- "SubTitle": "Quick View",
10
- "Description": "Create your SPFx Adaptive Card Extension solution!",
6
+ "SubTitle": "Quick view",
11
7
  "PrimaryText": "SPFx Adaptive Card Extension",
12
- "QuickViewButton": "Quick View"
8
+ "Description": "Create your SPFx Adaptive Card Extension solution!",
9
+ "QuickViewButton": "Quick view"
13
10
  }
14
11
  });
@@ -1,13 +1,10 @@
1
1
  declare interface I<%= componentStrings %> {
2
2
  PropertyPaneDescription: string;
3
- BasicGroupName: string;
4
- DescriptionFieldLabel: string;
5
3
  TitleFieldLabel: string;
6
- IconPropertyFieldLabel: string;
7
4
  Title: string;
8
5
  SubTitle: string;
9
- Description: string;
10
6
  PrimaryText: string;
7
+ Description: string;
11
8
  QuickViewButton: string;
12
9
  }
13
10
 
@@ -25,7 +25,8 @@ export class CardView extends BaseBasicCardView<I<%= componentClassName %>Props,
25
25
 
26
26
  public get data(): IBasicCardParameters {
27
27
  return {
28
- primaryText: strings.PrimaryText
28
+ primaryText: strings.PrimaryText,
29
+ title: this.properties.title
29
30
  };
30
31
  }
31
32
 
@@ -30,7 +30,8 @@ export class CardView extends BaseImageCardView<I<%= componentClassName %>Props,
30
30
  public get data(): IImageCardParameters {
31
31
  return {
32
32
  primaryText: strings.PrimaryText,
33
- imageUrl: require('../assets/MicrosoftLogo.png')
33
+ imageUrl: require('../assets/MicrosoftLogo.png'),
34
+ title: this.properties.title
34
35
  };
35
36
  }
36
37
 
@@ -21,9 +21,7 @@
21
21
  "description": { "default": "<%= componentDescription %>" },
22
22
  "officeFabricIconFontName": "SharePointLogo",
23
23
  "properties": {
24
- "title": "<%= componentNameUnescaped %>",
25
- "description": "<%= componentDescription %>",
26
- "iconProperty": "" // Default to sharepointlogo
24
+ "title": "<%= componentNameUnescaped %>"
27
25
  }
28
26
  }]
29
27
  }
@@ -5,7 +5,6 @@ import { I<%= componentClassName %>Props, I<%= componentClassName %>State } from
5
5
  export interface IQuickViewData {
6
6
  subTitle: string;
7
7
  title: string;
8
- description: string;
9
8
  }
10
9
 
11
10
  export class QuickView extends BaseAdaptiveCardView<
@@ -17,7 +16,6 @@ export class QuickView extends BaseAdaptiveCardView<
17
16
  return {
18
17
  subTitle: strings.SubTitle,
19
18
  title: strings.Title,
20
- description: this.properties.description
21
19
  };
22
20
  }
23
21
 
@@ -23,11 +23,6 @@
23
23
  ]
24
24
  }
25
25
  ]
26
- },
27
- {
28
- "type": "TextBlock",
29
- "text": "${description}",
30
- "wrap": true
31
26
  }
32
27
  ]
33
28
  }
@@ -6,12 +6,9 @@ import { <%= componentName %>PropertyPane } from './<%= componentName %>Property
6
6
 
7
7
  export interface I<%= componentClassName %>Props {
8
8
  title: string;
9
- description: string;
10
- iconProperty: string;
11
9
  }
12
10
 
13
11
  export interface I<%= componentClassName %>State {
14
- description: string;
15
12
  }
16
13
 
17
14
  const CARD_VIEW_REGISTRY_ID: string = '<%= componentName %>_CARD_VIEW';
@@ -24,9 +21,7 @@ export default class <%= componentClassName %> extends BaseAdaptiveCardExtension
24
21
  private _deferredPropertyPane: <%= componentName %>PropertyPane | undefined;
25
22
 
26
23
  public onInit(): Promise<void> {
27
- this.state = {
28
- description: this.properties.description
29
- };
24
+ this.state = { };
30
25
 
31
26
  this.cardNavigator.register(CARD_VIEW_REGISTRY_ID, () => new CardView());
32
27
  this.quickViewNavigator.register(QUICK_VIEW_REGISTRY_ID, () => new QuickView());
@@ -34,14 +29,6 @@ export default class <%= componentClassName %> extends BaseAdaptiveCardExtension
34
29
  return Promise.resolve();
35
30
  }
36
31
 
37
- public get title(): string {
38
- return this.properties.title;
39
- }
40
-
41
- protected get iconProperty(): string {
42
- return this.properties.iconProperty || require('./assets/SharePointLogo.svg');
43
- }
44
-
45
32
  protected loadPropertyPaneResources(): Promise<void> {
46
33
  return import(
47
34
  /* webpackChunkName: '<%= componentName %>-property-pane'*/
@@ -9,17 +9,9 @@ export class <%= componentName %>PropertyPane {
9
9
  header: { description: strings.PropertyPaneDescription },
10
10
  groups: [
11
11
  {
12
- groupName: strings.BasicGroupName,
13
12
  groupFields: [
14
13
  PropertyPaneTextField('title', {
15
14
  label: strings.TitleFieldLabel
16
- }),
17
- PropertyPaneTextField('iconProperty', {
18
- label: strings.IconPropertyFieldLabel
19
- }),
20
- PropertyPaneTextField('description', {
21
- label: strings.DescriptionFieldLabel,
22
- multiline: true
23
15
  })
24
16
  ]
25
17
  }
@@ -26,7 +26,8 @@ export class CardView extends BasePrimaryTextCardView<I<%= componentClassName %>
26
26
  public get data(): IPrimaryTextCardParameters {
27
27
  return {
28
28
  primaryText: strings.PrimaryText,
29
- description: this.properties.description
29
+ description: strings.Description,
30
+ title: this.properties.title
30
31
  };
31
32
  }
32
33
 
@@ -164,7 +164,7 @@ class AppGenerator extends BaseGenerator_1.BaseGenerator {
164
164
  this.log(spsay_1.default(libraryName));
165
165
  }
166
166
  _provideRetirementNote() {
167
- this.log(colors_1.default.green("NOTE: some of the options have been retired in favor of their defaults. You can change these settings in ./config/package-solution.json and component's manifest."));
167
+ this.log(colors_1.default.bold(`See ${colors_1.default.underline(colors_1.default.blue('https://aka.ms/spfx-yeoman-info'))} for more information on how to use this generator.`));
168
168
  }
169
169
  _explainArguments() {
170
170
  // If the CLI argument is specified, the corresponding prompting in sub-generators will be skipped.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/generator-sharepoint",
3
- "version": "1.14.0-beta.5",
3
+ "version": "1.14.0-rc.2",
4
4
  "description": "Yeoman generator for the SharePoint Framework",
5
5
  "scripts": {},
6
6
  "engines": {
@@ -13,7 +13,7 @@
13
13
  "homepage": "http://aka.ms/spfx",
14
14
  "main": "lib/generators/app/index.js",
15
15
  "dependencies": {
16
- "@microsoft/spfx-heft-plugins": "1.14.0-beta.5",
16
+ "@microsoft/spfx-heft-plugins": "1.14.0-rc.2",
17
17
  "@rushstack/node-core-library": "3.45.0",
18
18
  "colors": "~1.2.1",
19
19
  "lodash": "4.17.21",