Skip to content

Commit d92ad53

Browse files
committed
SPFx 1.13 support
1 parent 8b68832 commit d92ad53

File tree

11 files changed

+3837
-2186
lines changed

11 files changed

+3837
-2186
lines changed

.yo-rc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@microsoft/generator-sharepoint": {
3-
"version": "1.12.1",
3+
"version": "1.13.0",
44
"libraryName": "sp-dev-fx-controls-react",
55
"libraryId": "92b1e52c-a5fa-490a-bcf4-76080f39442c",
66
"environment": "spo",

CHANGELOG.JSON

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"enhancements": [
88
"Update `mgt` package to the latest version [#1038](https://github.com/pnp/sp-dev-fx-controls-react/pull/1038)",
99
"`ListView`: Add ability to provide CSS class names for list wrapper and list itself [#1007](https://github.com/pnp/sp-dev-fx-controls-react/issues/1007)",
10-
"`IconPicker`: `onCancel` property is added [#1043](https://github.com/pnp/sp-dev-fx-controls-react/issues/1043)"
10+
"`IconPicker`: `onCancel` property is added [#1043](https://github.com/pnp/sp-dev-fx-controls-react/issues/1043)",
11+
"SharePoint Framework v1.13 support"
1112
],
1213
"fixes": [
1314
"`FilePicker`: `defaultFolderAbsolutePath` does not work Out of context [#1023](https://github.com/pnp/sp-dev-fx-controls-react/issues/1023)",

config/copy-assets.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

config/package-solution.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66
"version": "1.0.0.0",
77
"skipFeatureDeployment": true,
88
"isDomainIsolated": false,
9-
"includeClientSideAssets": true
9+
"includeClientSideAssets": true,
10+
"developer": {
11+
"name": "Microsoft 365 PnP",
12+
"privacyUrl": "",
13+
"termsOfUseUrl": "",
14+
"websiteUrl": "",
15+
"mpnId": "Undefined-1.13.0"
16+
}
1017
},
1118
"paths": {
1219
"zippedPackage": "solution/sp-dev-fx-controls-react.sppkg"

config/serve.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
33
"port": 4321,
4-
"initialPage": "https://localhost:5432/workbench",
5-
"https": true,
6-
"api": {
7-
"port": 5432,
8-
"entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/"
9-
}
4+
"initialPage": "https://enter-your-SharePoint-site/_layouts/workbench.aspx",
5+
"https": true
106
}

docs/documentation/docs/index.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ This repository provides developers with a set of reusable React controls that c
55
![Placeholder example](./assets/placeholder-intro.png)
66

77
!!! attention
8-
In order to migrate to `v2` it is adviced to follow this guide: [Migrating from V1](./guides/migrate-from-v1).
8+
In order to migrate to `v3` it is adviced to follow this guide: [Migrating from V1](./guides/migrate-from-v1).
99

1010
## Library Versions
1111
Currently there are 3 active versions of the controls. Please, reference the table below to see what version to use in your project.
1212

1313
| Version | SPFx minimal dependency | Fluent UI (Office UI Fabric React) version | SharePoint Version | Comments |
1414
| ------- | ----------------------- | ------------------------------------------ | ------------------ | -------- |
15-
| `v3` | `1.12.0` | `7.156.0` | Online | The most current, actively maintained version of the library. |
16-
| `v2` | `1.11.0` | `6.214.0` | Online | **The last major version is 2.9.0**.<br>We strongly recommend to update to SPFx `1.12` and `v3` of Controls. |
15+
| `v3` | `1.13.0` | `7.174.1` | Online | The most current, actively maintained version of the library. |
16+
| `v2` | `1.11.0` | `6.214.0` | Online | **The last major version is 2.9.0**.<br>We strongly recommend to update to SPFx `1.13` and `v3` of Controls. |
1717
| `v1` | `1.3.0` | `5.131.0` | On-Prem | The version is maintained for SharePoint On-Prem 2016 and 2019 implementations. Be aware that the controls might not work in solutions you're building for on-premises as SharePoint On-Prem is based on SPFx `1.1.0`. |
1818

19+
!!! attention
20+
If you are using `v3` of the Controls with SPFx `1.12.1` you will need to cast web part context to `any` to pass it to the controls.
21+
1922
## Getting started
2023

2124
### Installation

0 commit comments

Comments
 (0)