Skip to content

Commit 3378945

Browse files
Merge branch 'dev' into Issue1738
2 parents bfd935e + 1481344 commit 3378945

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+322
-187
lines changed

CHANGELOG.json

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,59 @@
11
{
22
"versions": [
3+
{
4+
"version": "3.18.0",
5+
"changes": {
6+
"new": [],
7+
"enhancements": [
8+
"`DynamicField`: Added orderBy to DynamicField props for lookup fields[#1747](https://github.com/pnp/sp-dev-fx-controls-react/pull/1747)"
9+
],
10+
"fixes": [
11+
"`FolderPicker`: Update documentation on how to use the control with siteAbsoluteUrl property[#1743](https://github.com/pnp/sp-dev-fx-controls-react/pull/1743)",
12+
"Readme documents highlight extension does not work correctly[#1495](https://github.com/pnp/sp-dev-fx-controls-react/issues/1495)"
13+
]
14+
},
15+
"contributions": [
16+
"[Guido Zambarda](https://github.com/GuidoZam)",
17+
"[Nishkalank Bezawada](https://github.com/NishkalankBezawada)"
18+
]
19+
},
320
{
421
"version": "3.17.0",
522
"changes":{
623
"new": [],
724
"enhancements": [
825
"`DyanmicForm`: Added file handling [#1625](https://github.com/pnp/sp-dev-fx-controls-react/pull/1625)",
926
"`DynamicForm`: Custom Formatting and Validation, ControlsTestWebPart updates [#1672](https://github.com/pnp/sp-dev-fx-controls-react/pull/1672)",
10-
"`PeoplePicker `: Added custom filter to PeoplePicker selection [#1657](https://github.com/pnp/sp-dev-fx-controls-react/issues/1657)"
27+
"`PeoplePicker`: Added custom filter to PeoplePicker selection [#1657](https://github.com/pnp/sp-dev-fx-controls-react/issues/1657)",
28+
"`RichText`: Align RichText heading styles and font sizes with OOB SharePoint text web part [#1706](https://github.com/pnp/sp-dev-fx-controls-react/pull/1706)"
1129
],
1230
"fixes": [
13-
"Build fails due to missing @iconify/react dependency after upgrade to 3.16.0 [#1719](https://github.com/pnp/sp-dev-fx-controls-react/issues/1719)"
31+
"Build fails due to missing @iconify/react dependency after upgrade to 3.16.0 [#1719](https://github.com/pnp/sp-dev-fx-controls-react/issues/1719)",
32+
"`ModernTaxonomyPicker`: not displaying suggestions when typing in values - API not found error [#1688](https://github.com/pnp/sp-dev-fx-controls-react/issues/1688)",
33+
"`DynamicForm`: Disable issue on fieldOverrides field control when onBeforeSubmit return true [#1715](https://github.com/pnp/sp-dev-fx-controls-react/issues/1715)",
34+
"`PeoplePicker`: PeoplePicker returns no results with webAbsoluteUrl and ensureUser [#1669](https://github.com/pnp/sp-dev-fx-controls-react/issues/1669)",
35+
"`DynamicForm`: [DynamicForm] Fixing multi taxonomy field (loading + saving existing item) [#1739](https://github.com/pnp/sp-dev-fx-controls-react/pull/1739)"
1436
]
1537
},
1638
"contributions": [
1739
"[Guido Zambarda](https://github.com/GuidoZam)",
18-
"[Tom G](https://github.com/t0mgerman)"
40+
"[Lars Fernhomberg](https://github.com/lafe)",
41+
"[Mark Bice](https://github.com/mbice)",
42+
"[Michaël Maillot](https://github.com/michaelmaillot)",
43+
"[Nishkalank Bezawada](https://github.com/NishkalankBezawada)",
44+
"[Tom G](https://github.com/t0mgerman)",
45+
"[wuxiaojun514](https://github.com/wuxiaojun514)"
46+
]
47+
},
48+
{
49+
"version": "3.16.2",
50+
"changes": {
51+
"fixes": [
52+
"`DynamicForm`: Fixing the previous version's issue [#1736](https://github.com/pnp/sp-dev-fx-controls-react/pull/1736) (introduced in [#1718](https://github.com/pnp/sp-dev-fx-controls-react/pull/1718))"
53+
]
54+
},
55+
"contributions": [
56+
"[IRRDC](https://github.com/IRRDC)"
1957
]
2058
},
2159
{

CHANGELOG.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,50 @@
11
# Releases
22

3+
## 3.18.0
4+
5+
### Enhancements
6+
7+
- `DynamicField`: Added orderBy to DynamicField props for lookup fields[#1747](https://github.com/pnp/sp-dev-fx-controls-react/pull/1747)
8+
9+
### Fixes
10+
11+
- `FolderPicker`: Update documentation on how to use the control with siteAbsoluteUrl property[#1743](https://github.com/pnp/sp-dev-fx-controls-react/pull/1743)
12+
- Readme documents highlight extension does not work correctly[#1495](https://github.com/pnp/sp-dev-fx-controls-react/issues/1495)
13+
14+
### Contributors
15+
16+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Nishkalank Bezawada](https://github.com/NishkalankBezawada).
17+
318
## 3.17.0
419

520
### Enhancements
621

722
- `DyanmicForm`: Added file handling [#1625](https://github.com/pnp/sp-dev-fx-controls-react/pull/1625)
823
- `DynamicForm`: Custom Formatting and Validation, ControlsTestWebPart updates [#1672](https://github.com/pnp/sp-dev-fx-controls-react/pull/1672)
9-
- `PeoplePicker `: Added custom filter to PeoplePicker selection [#1657](https://github.com/pnp/sp-dev-fx-controls-react/issues/1657)
24+
- `PeoplePicker`: Added custom filter to PeoplePicker selection [#1657](https://github.com/pnp/sp-dev-fx-controls-react/issues/1657)
25+
- `RichText`: Align RichText heading styles and font sizes with OOB SharePoint text web part [#1706](https://github.com/pnp/sp-dev-fx-controls-react/pull/1706)
1026

1127
### Fixes
1228

1329
- Build fails due to missing @iconify/react dependency after upgrade to 3.16.0 [#1719](https://github.com/pnp/sp-dev-fx-controls-react/issues/1719)
30+
- `ModernTaxonomyPicker`: not displaying suggestions when typing in values - API not found error [#1688](https://github.com/pnp/sp-dev-fx-controls-react/issues/1688)
31+
- `DynamicForm`: Disable issue on fieldOverrides field control when onBeforeSubmit return true [#1715](https://github.com/pnp/sp-dev-fx-controls-react/issues/1715)
32+
- `PeoplePicker`: PeoplePicker returns no results with webAbsoluteUrl and ensureUser [#1669](https://github.com/pnp/sp-dev-fx-controls-react/issues/1669)
33+
- `DynamicForm`: [DynamicForm] Fixing multi taxonomy field (loading + saving existing item) [#1739](https://github.com/pnp/sp-dev-fx-controls-react/pull/1739)
1434

1535
### Contributors
1636

17-
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Tom G](https://github.com/t0mgerman).
37+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Lars Fernhomberg](https://github.com/lafe), [Mark Bice](https://github.com/mbice), [Michaël Maillot](https://github.com/michaelmaillot), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Tom G](https://github.com/t0mgerman), [wuxiaojun514](https://github.com/wuxiaojun514).
38+
39+
## 3.16.2
40+
41+
### Fixes
42+
43+
- `DynamicForm`: Fixing the previous version's issue [#1736](https://github.com/pnp/sp-dev-fx-controls-react/pull/1736) (introduced in [#1718](https://github.com/pnp/sp-dev-fx-controls-react/pull/1718))
44+
45+
### Contributors
46+
47+
Special thanks to our contributor: [IRRDC](https://github.com/IRRDC).
1848

1949
## 3.16.1
2050

docs/documentation/docs/about/release-notes.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,50 @@
11
# Releases
22

3+
## 3.18.0
4+
5+
### Enhancements
6+
7+
- `DynamicField`: Added orderBy to DynamicField props for lookup fields[#1747](https://github.com/pnp/sp-dev-fx-controls-react/pull/1747)
8+
9+
### Fixes
10+
11+
- `FolderPicker`: Update documentation on how to use the control with siteAbsoluteUrl property[#1743](https://github.com/pnp/sp-dev-fx-controls-react/pull/1743)
12+
- Readme documents highlight extension does not work correctly[#1495](https://github.com/pnp/sp-dev-fx-controls-react/issues/1495)
13+
14+
### Contributors
15+
16+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Nishkalank Bezawada](https://github.com/NishkalankBezawada).
17+
318
## 3.17.0
419

520
### Enhancements
621

722
- `DyanmicForm`: Added file handling [#1625](https://github.com/pnp/sp-dev-fx-controls-react/pull/1625)
823
- `DynamicForm`: Custom Formatting and Validation, ControlsTestWebPart updates [#1672](https://github.com/pnp/sp-dev-fx-controls-react/pull/1672)
9-
- `PeoplePicker `: Added custom filter to PeoplePicker selection [#1657](https://github.com/pnp/sp-dev-fx-controls-react/issues/1657)
24+
- `PeoplePicker`: Added custom filter to PeoplePicker selection [#1657](https://github.com/pnp/sp-dev-fx-controls-react/issues/1657)
25+
- `RichText`: Align RichText heading styles and font sizes with OOB SharePoint text web part [#1706](https://github.com/pnp/sp-dev-fx-controls-react/pull/1706)
1026

1127
### Fixes
1228

1329
- Build fails due to missing @iconify/react dependency after upgrade to 3.16.0 [#1719](https://github.com/pnp/sp-dev-fx-controls-react/issues/1719)
30+
- `ModernTaxonomyPicker`: not displaying suggestions when typing in values - API not found error [#1688](https://github.com/pnp/sp-dev-fx-controls-react/issues/1688)
31+
- `DynamicForm`: Disable issue on fieldOverrides field control when onBeforeSubmit return true [#1715](https://github.com/pnp/sp-dev-fx-controls-react/issues/1715)
32+
- `PeoplePicker`: PeoplePicker returns no results with webAbsoluteUrl and ensureUser [#1669](https://github.com/pnp/sp-dev-fx-controls-react/issues/1669)
33+
- `DynamicForm`: [DynamicForm] Fixing multi taxonomy field (loading + saving existing item) [#1739](https://github.com/pnp/sp-dev-fx-controls-react/pull/1739)
1434

1535
### Contributors
1636

17-
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Tom G](https://github.com/t0mgerman).
37+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Lars Fernhomberg](https://github.com/lafe), [Mark Bice](https://github.com/mbice), [Michaël Maillot](https://github.com/michaelmaillot), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Tom G](https://github.com/t0mgerman), [wuxiaojun514](https://github.com/wuxiaojun514).
38+
39+
## 3.16.2
40+
41+
### Fixes
42+
43+
- `DynamicForm`: Fixing the previous version's issue [#1736](https://github.com/pnp/sp-dev-fx-controls-react/pull/1736) (introduced in [#1718](https://github.com/pnp/sp-dev-fx-controls-react/pull/1718))
44+
45+
### Contributors
46+
47+
Special thanks to our contributor: [IRRDC](https://github.com/IRRDC).
1848

1949
## 3.16.1
2050

docs/documentation/docs/controls/FolderPicker.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,19 @@ import { FolderPicker, IFolder } from "@pnp/spfx-controls-react/lib/FolderPicker
4242
canCreateFolders={true} />
4343
```
4444

45+
- To use the `FolderExplorer` control to fetch folders from different sitecollection in your code as follows:
46+
47+
```TypeScript
48+
<FolderExplorer context={this.props.context}
49+
rootFolder={{
50+
Name: 'Documents',
51+
ServerRelativeUrl: `/sites/TestSite2/Shared Documents`
52+
}}
53+
onSelect={this._onFolderSelect}
54+
canCreateFolders={true}
55+
siteAbsoluteUrl="https://xxxx.sharepoint.com/sites/TestSite2"/>
56+
```
57+
4558
- The `onSelect` change event returns the selected folder and can be implemented as follows:
4659

4760
```TypeScript

docs/documentation/docs/guides/contributing.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Typos are embarrassing! Most PR's that fix typos will be accepted immediately. I
2727
Before contributing:
2828

2929
- ensure that the **dev** branch on your fork is in sync with the original **sp-dev-fx-controls-react** repository
30-
```sh
30+
```bash
3131
# assuming you are in the folder of your locally cloned fork....
3232
git checkout dev
3333

@@ -39,7 +39,8 @@ Before contributing:
3939
```
4040

4141
- create a feature branch for your change. If you'll get stuck on an issue or merging your PR will take a while, this will allow you to have a clean dev branch that you can use for contributing other changes
42-
```sh
42+
43+
```bash
4344
git checkout -b my-contribution
4445
```
4546

docs/documentation/docs/guides/submitting-pr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We appreciate your initiative and would love to integrate your work with the res
77
- [AC: Keep Your Forked Git Repo Updated with Changes from the Original Upstream Repo](http://www.andrewconnell.com/blog/keep-your-forked-git-repo-updated-with-changes-from-the-original-upstream-repo)
88
- Looking for a quick cheat sheet? Look no further:
99

10-
```sh
10+
```bash
1111
# assuming you are in the folder of your locally cloned fork....
1212
git checkout dev
1313

package-lock.json

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@pnp/spfx-controls-react",
33
"description": "Reusable React controls for SharePoint Framework solutions",
4-
"version": "3.17.0",
4+
"version": "3.18.0",
55
"node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0",
66
"scripts": {
77
"build": "gulp build",
@@ -98,7 +98,7 @@
9898
"@types/es6-promise": "3.3.0",
9999
"@types/he": "^1.1.2",
100100
"@types/jest": "25.2.3",
101-
"@types/lodash": "4.14.194",
101+
"@types/lodash": "4.14.202",
102102
"@types/quill": "^1.3.10",
103103
"@types/react": "17.0.45",
104104
"@types/react-addons-shallow-compare": "0.14.17",

src/common/telemetry/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version: string = "3.17.0";
1+
export const version: string = "3.18.0";

0 commit comments

Comments
 (0)