Updated readme and PnP modules
This commit is contained in:
parent
8bc02e9955
commit
5df6f212ab
|
@ -24,16 +24,25 @@ This is a sample project that contains a web part which makes use of the PnP SPF
|
|||
|
||||
![Web part outcome](./assets/webpart-outcome.gif)
|
||||
|
||||
## Used SharePoint Framework Version
|
||||
![drop](https://img.shields.io/badge/drop-1.4.1-green.svg)
|
||||
## Compatibility
|
||||
|
||||
![SPFx 1.11](https://img.shields.io/badge/spfx-1.11.0-green.svg)
|
||||
|
||||
![Node.js LTS 10.x](https://img.shields.io/badge/Node.js-LTS%2010.x-green.svg)
|
||||
|
||||
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-red.svg)
|
||||
|
||||
![Teams Incompatible](https://img.shields.io/badge/Teams-Incompatible-lightgrey.svg)
|
||||
|
||||
![Workbench Local (Partially) | Hosted](https://img.shields.io/badge/Workbench-Local%20(Partial)%20%7C%20Hosted-yellow.svg)
|
||||
|
||||
## Which PnP SPFx controls are being used in this sample?
|
||||
|
||||
The sample makes use of the following controls:
|
||||
- PropertyFieldListPicker
|
||||
- PropertyFieldTermPicker
|
||||
- Placeholder
|
||||
- ListView (which also uses the FileTypeIcon control)
|
||||
- `PropertyFieldListPicker`
|
||||
- `PropertyFieldTermPicker`
|
||||
- `Placeholder`
|
||||
- `ListView` (which also uses the `FileTypeIcon` control)
|
||||
|
||||
## Applies to
|
||||
|
||||
|
@ -44,15 +53,18 @@ The sample makes use of the following controls:
|
|||
Solution|Author(s)
|
||||
--------|---------
|
||||
pnp-controls|Elio Struyf (MVP, U2U, [@eliostruyf](https://twitter.com/eliostruyf))
|
||||
pnp-controls|Swaminathan Sriram ([@SwaminathanSri3](https://twitter.com/SwaminathanSri3))
|
||||
|
||||
## Version history
|
||||
|
||||
Version|Date|Comments
|
||||
-------|----|--------
|
||||
0.0.1|September 20, 2017|Initial release
|
||||
0.0.2|March 03, 2018|Update to 1.4.1
|
||||
1.0.1|September 20, 2017|Initial release
|
||||
1.0.2|March 03, 2018|Update to 1.4.1
|
||||
1.0.3|December 16, 2020|Update to 1.11.0
|
||||
|
||||
## Disclaimer
|
||||
|
||||
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
||||
|
||||
---
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
|
||||
"solution": {
|
||||
"name": "component-test-client-side-solution",
|
||||
"id": "7d4d5b98-cea3-4361-8e3d-5143d5c86334",
|
||||
"version": "1.0.0.0",
|
||||
"includeClientSideAssets": true,
|
||||
"skipFeatureDeployment": false,
|
||||
"isDomainIsolated": false,
|
||||
"developer": {
|
||||
"name": "",
|
||||
"privacyUrl": "",
|
||||
"termsOfUseUrl": "",
|
||||
"websiteUrl": "",
|
||||
"mpnId": ""
|
||||
}
|
||||
},
|
||||
"paths": {
|
||||
"zippedPackage": "solution/component-test.sppkg"
|
||||
}
|
||||
}
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
|
||||
"solution": {
|
||||
"name": "component-test-client-side-solution",
|
||||
"id": "7d4d5b98-cea3-4361-8e3d-5143d5c86334",
|
||||
"version": "1.0.3.0",
|
||||
"includeClientSideAssets": true,
|
||||
"skipFeatureDeployment": false,
|
||||
"isDomainIsolated": false,
|
||||
"developer": {
|
||||
"name": "",
|
||||
"privacyUrl": "",
|
||||
"termsOfUseUrl": "",
|
||||
"websiteUrl": "",
|
||||
"mpnId": ""
|
||||
}
|
||||
},
|
||||
"paths": {
|
||||
"zippedPackage": "solution/component-test.sppkg"
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "component-test",
|
||||
"version": "0.0.2",
|
||||
"version": "1.0.3",
|
||||
"private": true,
|
||||
"main": "lib/index.js",
|
||||
"engines": {
|
||||
|
@ -15,8 +15,8 @@
|
|||
"@microsoft/sp-core-library": "1.11.0",
|
||||
"@microsoft/sp-property-pane": "1.11.0",
|
||||
"@microsoft/sp-webpart-base": "1.11.0",
|
||||
"@pnp/spfx-controls-react": "^1.2.2",
|
||||
"@pnp/spfx-property-controls": "^1.4.1",
|
||||
"@pnp/spfx-controls-react": "2.3.0",
|
||||
"@pnp/spfx-property-controls": "2.2.0",
|
||||
"@types/react": "16.8.8",
|
||||
"moment": "2.18.1",
|
||||
"natives": "^1.1.6",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { ICheckedTerms } from "@pnp/spfx-property-controls/lib/PropertyFieldTermPicker";
|
||||
import { IPickerTerms } from "@pnp/spfx-property-controls/lib/PropertyFieldTermPicker";
|
||||
|
||||
export interface IPnPControlsWebPartProps {
|
||||
lists: string | string[]; // Stores the list ID(s)
|
||||
terms: ICheckedTerms; // Keeps hold of the selected terms
|
||||
terms: IPickerTerms; // Keeps hold of the selected terms
|
||||
description: string;
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import { ICheckedTerms } from '@pnp/spfx-property-controls/lib/PropertyFieldTermPicker';
|
||||
import { IPickerTerms } from '@pnp/spfx-property-controls/lib/PropertyFieldTermPicker';
|
||||
import { WebPartContext } from "@microsoft/sp-webpart-base";
|
||||
|
||||
export interface IPnPControlsProps {
|
||||
context: WebPartContext;
|
||||
description: string;
|
||||
list: string | string[];
|
||||
terms: ICheckedTerms;
|
||||
terms: IPickerTerms;
|
||||
}
|
||||
|
||||
export interface IPnpControlsState {
|
||||
|
|
Loading…
Reference in New Issue