Skip to content

Commit 286854e

Browse files
Merge branch 'dev' into peoplepicker-resultFilter
2 parents faf2780 + 0314111 commit 286854e

File tree

325 files changed

+80797
-63935
lines changed

Some content is hidden

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

325 files changed

+80797
-63935
lines changed

.github/workflows/dev-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
with:
14-
node-version: 16
14+
node-version: 18
1515
registry-url: 'https://registry.npmjs.org'
1616

1717
- name: Install npm dependencies

.github/workflows/greetings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Greetings
22

3-
on: [pull_request, issues]
3+
on: [pull_request_target, issues]
44

55
jobs:
66
greeting:

.github/workflows/main-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313
- uses: actions/setup-node@v2
1414
with:
15-
node-version: 16
15+
node-version: 18
1616
registry-url: 'https://registry.npmjs.org'
1717

1818
- name: Install npm dependencies

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ obj
3535
*.tgz
3636

3737
# VSCode
38-
.vscode
38+
.vscode/*
39+
40+
# Included VSCode files
41+
!.vscode/example-tasks.json
42+
!.vscode/example-launch.json
3943

4044
# Documentation
4145
docs/documentation/site

.vscode/example-launch.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
/**
3+
* Populate and rename this file to launch.json to configure debugging
4+
*/
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Hosted workbench (chrome)",
9+
"type": "chrome",
10+
"request": "launch",
11+
"url": "https://enter-your-SharePoint-site.sharepoint.com/sites/mySite/_layouts/15/workbench.aspx",
12+
"webRoot": "${workspaceRoot}",
13+
"sourceMaps": true,
14+
"sourceMapPathOverrides": {
15+
"webpack:///.././src/*": "${webRoot}/src/*",
16+
"webpack:///../../../src/*": "${webRoot}/src/*",
17+
"webpack:///../../../../src/*": "${webRoot}/src/*",
18+
"webpack:///../../../../../src/*": "${webRoot}/src/*"
19+
},
20+
"preLaunchTask": "npm: serve",
21+
"runtimeArgs": [
22+
"--remote-debugging-port=9222",
23+
]
24+
},
25+
{
26+
"name": "Hosted workbench (edge)",
27+
"type": "edge",
28+
"request": "launch",
29+
"url": "https://enter-your-SharePoint-site.sharepoint.com/sites/mySite/_layouts/15/workbench.aspx",
30+
"webRoot": "${workspaceRoot}",
31+
"sourceMaps": true,
32+
"sourceMapPathOverrides": {
33+
"webpack:///.././src/*": "${webRoot}/src/*",
34+
"webpack:///../../../src/*": "${webRoot}/src/*",
35+
"webpack:///../../../../src/*": "${webRoot}/src/*",
36+
"webpack:///../../../../../src/*": "${webRoot}/src/*"
37+
},
38+
"preLaunchTask": "npm: serve",
39+
"runtimeArgs": [
40+
"--remote-debugging-port=9222",
41+
]
42+
},
43+
]
44+
}

.vscode/example-tasks.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
/**
3+
* Populate and rename this file to launch.json to configure debugging
4+
*/
5+
"version": "2.0.0",
6+
"tasks": [
7+
{
8+
"type": "npm",
9+
"script": "serve",
10+
"isBackground": true,
11+
"problemMatcher": {
12+
"owner": "custom",
13+
"pattern": {
14+
"regexp": "."
15+
},
16+
"background": {
17+
"activeOnStart": true,
18+
"beginsPattern": "Starting 'bundle'",
19+
"endsPattern": "\\[\\sFinished\\s\\]"
20+
}
21+
},
22+
"label": "npm: serve",
23+
"detail": "gulp bundle --custom-serve --max_old_space_size=4096 && fast-serve",
24+
"group": {
25+
"kind": "build",
26+
"isDefault": true
27+
}
28+
},
29+
]
30+
}

.yo-rc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"@microsoft/generator-sharepoint": {
3-
"version": "1.17.3",
3+
"version": "1.18.2",
44
"libraryName": "sp-dev-fx-controls-react",
55
"libraryId": "92b1e52c-a5fa-490a-bcf4-76080f39442c",
66
"environment": "spo",
77
"isDomainIsolated": false,
88
"isCreatingSolution": false,
99
"packageManager": "npm",
1010
"plusBeta": false,
11-
"nodeVersion": "16.15.0",
11+
"nodeVersion": "18.17.1",
1212
"sdksVersions": {
1313
"@microsoft/microsoft-graph-client": "3.0.2",
14-
"@microsoft/teams-js": "2.4.1"
14+
"@microsoft/teams-js": "2.12.0"
1515
},
1616
"componentType": "extension",
1717
"extensionType": "ApplicationCustomizer"

CHANGELOG.json

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,49 @@
11
{
22
"versions": [
3+
{
4+
"version": "3.17.0",
5+
"changes":{
6+
"new": [],
7+
"enhancements": [
8+
"`DyanmicForm`: Added file handling [#1625](https://github.com/pnp/sp-dev-fx-controls-react/pull/1625)",
9+
"`DynamicForm`: Custom Formatting and Validation, ControlsTestWebPart updates [#1672](https://github.com/pnp/sp-dev-fx-controls-react/pull/1672)"
10+
],
11+
"fixes": [
12+
"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)"
13+
]
14+
},
15+
"contributions": [
16+
"[Guido Zambarda](https://github.com/GuidoZam)",
17+
"[Tom G](https://github.com/t0mgerman)"
18+
]
19+
},
20+
{
21+
"version": "3.16.1",
22+
"changes": {
23+
"fixes": [
24+
"`DynamicForm`: Additional check to see if DefaultValue is an object. No more null comparisons, which should have been undefined comparisons"
25+
]
26+
},
27+
"contributions": [
28+
"[IRRDC](https://github.com/IRRDC)"
29+
]
30+
},
331
{
432
"version": "3.16.0",
533
"changes": {
634
"new": [
7-
"`ViewPicker`: new control ViewPicker [#1439](https://github.com/pnp/sp-dev-fx-controls-react/issues/1439)"
35+
"`ViewPicker`: new control ViewPicker [#1439](https://github.com/pnp/sp-dev-fx-controls-react/issues/1439)",
36+
"`HoverReactionsBar`: new control HoverReactionsBar [#1652](https://github.com/pnp/sp-dev-fx-controls-react/pull/1652)"
837
],
938
"enhancements": [
1039
"`FieldCollectionData`: render on page instead of panel and added combobox and peoplepicker controls [#1588](https://github.com/pnp/sp-dev-fx-controls-react/pull/1588)",
1140
"`FieldCollectionData`: added date field control and updated number field [#1600](https://github.com/pnp/sp-dev-fx-controls-react/pull/1600)",
1241
"`ListItemComments`: Added ListItemComments component to Controls.tsx [#1621](https://github.com/pnp/sp-dev-fx-controls-react/pull/1621)",
1342
"`FolderPicker`: Improve documentation of FolderPicker [#1379](https://github.com/pnp/sp-dev-fx-controls-react/pull/1379)",
14-
"`RichText`: Add https:// as placeholder instead of textbox value when adding url [#1651](https://github.com/pnp/sp-dev-fx-controls-react/pull/1656)"
43+
"`RichText`: Add https:// as placeholder instead of textbox value when adding url [#1651](https://github.com/pnp/sp-dev-fx-controls-react/pull/1656)",
44+
"Fix package.json to remove phantom dependencies issues [#1660](https://github.com/pnp/sp-dev-fx-controls-react/issues/1660)",
45+
"`PeoplePicker`: new property to starting the search after n characters [#374](https://github.com/pnp/sp-dev-fx-controls-react/issues/374)",
46+
"SharePoint Framework v1.18.2 support"
1547
],
1648
"fixes": [
1749
"`AccessibleAccordion`: fix typo in documentation [#1634](https://github.com/pnp/sp-dev-fx-controls-react/pull/1634)",
@@ -22,18 +54,29 @@
2254
"`DynamicForm`: New items are always created with the default content type if the list has multiple content types [#1626](https://github.com/pnp/sp-dev-fx-controls-react/pull/1626)",
2355
"`PeoplePicker`:PeoplePicker won't accept Multiple Users with the same name [#1620] (https://github.com/pnp/sp-dev-fx-controls-react/pull/1620)",
2456
"`DynamicForm`: Dynamic Form accessed TaxonomyFieldTypeMulti without considering sub-array results [#1614](https://github.com/pnp/sp-dev-fx-controls-react/pull/1614)",
25-
"`DynamicForm`: Number validations are working, but the percentage values are not getting saved [#1601](https://github.com/pnp/sp-dev-fx-controls-react/pull/1601)"
57+
"`DynamicForm`: Number validations are working, but the percentage values are not getting saved [#1601](https://github.com/pnp/sp-dev-fx-controls-react/pull/1601)",
58+
"`DynamicForm`: Number validation is preventing form save in certain circumstances, not enabled for currency fields [#1604](https://github.com/pnp/sp-dev-fx-controls-react/issues/1604)",
59+
"`ListItemAttachments`: Inconsistent file handling [#1644](https://github.com/pnp/sp-dev-fx-controls-react/issues/1644)",
60+
"`Localization`: Update Japanese translations [#1686](https://github.com/pnp/sp-dev-fx-controls-react/pull/1686)",
61+
"`ListItemPicker`: Fix docs for onSelectedItem [#1690](https://github.com/pnp/sp-dev-fx-controls-react/pull/1690)",
62+
"`ComboBoxListItemPicker`: Fix docs for onSelectedItem [#1690](https://github.com/pnp/sp-dev-fx-controls-react/pull/1690)",
63+
"`ListItemAttachments`: Fix click behavior in ListItemAttachments component [#1692](https://github.com/pnp/sp-dev-fx-controls-react/pull/1692)"
2664
]
2765
},
2866
"contributions": [
67+
"[Dan Toft](https://github.com/Tanddant)",
68+
"[Gerke van Garderen](https://github.com/gerkevgarderen)",
2969
"[Guido Zambarda](https://github.com/GuidoZam)",
3070
"[Joakim](https://github.com/daenur76)",
3171
"[Michaël Maillot](https://github.com/michaelmaillot)",
3272
"[Nils Andresen](https://github.com/nils-a)",
3373
"[Nishkalank Bezawada](https://github.com/NishkalankBezawada)",
3474
"[Rico van de Ven](https://github.com/RicoNL)",
3575
"[Steve Beaugé](https://github.com/stevebeauge)",
36-
"[wuxiaojun514](https://github.com/wuxiaojun514)"
76+
"[wuxiaojun514](https://github.com/wuxiaojun514)",
77+
"[Tetsuya Kawahara](https://github.com/tecchan1107)",
78+
"[Tom G](https://github.com/t0mgerman)",
79+
"[Yannik Reiter](https://github.com/yannikreiter-maxworx)"
3780
]
3881
},
3982
{

CHANGELOG.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
11
# Releases
22

3+
## 3.17.0
4+
5+
### Enhancements
6+
7+
- `DyanmicForm`: Added file handling [#1625](https://github.com/pnp/sp-dev-fx-controls-react/pull/1625)
8+
- `DynamicForm`: Custom Formatting and Validation, ControlsTestWebPart updates [#1672](https://github.com/pnp/sp-dev-fx-controls-react/pull/1672)
9+
10+
### Fixes
11+
12+
- 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)
13+
14+
### Contributors
15+
16+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Tom G](https://github.com/t0mgerman).
17+
18+
## 3.16.1
19+
20+
### Fixes
21+
22+
- `DynamicForm`: Additional check to see if DefaultValue is an object. No more null comparisons, which should have been undefined comparisons
23+
24+
### Contributors
25+
26+
Special thanks to our contributor: [IRRDC](https://github.com/IRRDC).
27+
328
## 3.16.0
429

530
### New control(s)
631

732
- `ViewPicker`: new control ViewPicker [#1439](https://github.com/pnp/sp-dev-fx-controls-react/issues/1439)
33+
- `HoverReactionsBar`: new control HoverReactionsBar [#1652](https://github.com/pnp/sp-dev-fx-controls-react/pull/1652)
834

935
### Enhancements
1036

@@ -13,6 +39,9 @@
1339
- `ListItemComments`: Added ListItemComments component to Controls.tsx [#1621](https://github.com/pnp/sp-dev-fx-controls-react/pull/1621)
1440
- `FolderPicker`: Improve documentation of FolderPicker [#1379](https://github.com/pnp/sp-dev-fx-controls-react/pull/1379)
1541
- `RichText`: Add https:// as placeholder instead of textbox value when adding url [#1651](https://github.com/pnp/sp-dev-fx-controls-react/pull/1656)
42+
- Fix package.json to remove phantom dependencies issues [#1660](https://github.com/pnp/sp-dev-fx-controls-react/issues/1660)
43+
- `PeoplePicker`: new property to starting the search after n characters [#374](https://github.com/pnp/sp-dev-fx-controls-react/issues/374)
44+
- SharePoint Framework v1.18.2 support
1645

1746
### Fixes
1847

@@ -25,10 +54,16 @@
2554
- `PeoplePicker`:PeoplePicker won't accept Multiple Users with the same name [#1620] (https://github.com/pnp/sp-dev-fx-controls-react/pull/1620)
2655
- `DynamicForm`: Dynamic Form accessed TaxonomyFieldTypeMulti without considering sub-array results [#1614](https://github.com/pnp/sp-dev-fx-controls-react/pull/1614)
2756
- `DynamicForm`: Number validations are working, but the percentage values are not getting saved [#1601](https://github.com/pnp/sp-dev-fx-controls-react/pull/1601)
57+
- `DynamicForm`: Number validation is preventing form save in certain circumstances, not enabled for currency fields [#1604](https://github.com/pnp/sp-dev-fx-controls-react/issues/1604)
58+
- `ListItemAttachments`: Inconsistent file handling [#1644](https://github.com/pnp/sp-dev-fx-controls-react/issues/1644)
59+
- `Localization`: Update Japanese translations [#1686](https://github.com/pnp/sp-dev-fx-controls-react/pull/1686)
60+
- `ListItemPicker`: Fix docs for onSelectedItem [#1690](https://github.com/pnp/sp-dev-fx-controls-react/pull/1690)
61+
- `ComboBoxListItemPicker`: Fix docs for onSelectedItem [#1690](https://github.com/pnp/sp-dev-fx-controls-react/pull/1690)
62+
- `ListItemAttachments`: Fix click behavior in ListItemAttachments component [#1692](https://github.com/pnp/sp-dev-fx-controls-react/pull/1692)
2863

2964
### Contributors
3065

31-
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Joakim](https://github.com/daenur76), [Michaël Maillot](https://github.com/michaelmaillot), [Nils Andresen](https://github.com/nils-a), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Rico van de Ven](https://github.com/RicoNL), [Steve Beaugé](https://github.com/stevebeauge), [wuxiaojun514](https://github.com/wuxiaojun514).
66+
Special thanks to our contributors (in alphabetical order): [Dan Toft](https://github.com/Tanddant), [Gerke van Garderen](https://github.com/gerkevgarderen), [Guido Zambarda](https://github.com/GuidoZam), [Joakim](https://github.com/daenur76), [Michaël Maillot](https://github.com/michaelmaillot), [Nils Andresen](https://github.com/nils-a), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Rico van de Ven](https://github.com/RicoNL), [Steve Beaugé](https://github.com/stevebeauge), [wuxiaojun514](https://github.com/wuxiaojun514), [Tetsuya Kawahara](https://github.com/tecchan1107), [Tom G](https://github.com/t0mgerman), [Yannik Reiter](https://github.com/yannikreiter-maxworx).
3267

3368
## 3.15.0
3469

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

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
11
# Releases
22

3+
## 3.17.0
4+
5+
### Enhancements
6+
7+
- `DyanmicForm`: Added file handling [#1625](https://github.com/pnp/sp-dev-fx-controls-react/pull/1625)
8+
- `DynamicForm`: Custom Formatting and Validation, ControlsTestWebPart updates [#1672](https://github.com/pnp/sp-dev-fx-controls-react/pull/1672)
9+
10+
### Fixes
11+
12+
- 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)
13+
14+
### Contributors
15+
16+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Tom G](https://github.com/t0mgerman).
17+
18+
## 3.16.1
19+
20+
### Fixes
21+
22+
- `DynamicForm`: Additional check to see if DefaultValue is an object. No more null comparisons, which should have been undefined comparisons
23+
24+
### Contributors
25+
26+
Special thanks to our contributor: [IRRDC](https://github.com/IRRDC).
27+
328
## 3.16.0
429

530
### New control(s)
631

732
- `ViewPicker`: new control ViewPicker [#1439](https://github.com/pnp/sp-dev-fx-controls-react/issues/1439)
33+
- `HoverReactionsBar`: new control HoverReactionsBar [#1652](https://github.com/pnp/sp-dev-fx-controls-react/pull/1652)
834

935
### Enhancements
1036

@@ -13,6 +39,9 @@
1339
- `ListItemComments`: Added ListItemComments component to Controls.tsx [#1621](https://github.com/pnp/sp-dev-fx-controls-react/pull/1621)
1440
- `FolderPicker`: Improve documentation of FolderPicker [#1379](https://github.com/pnp/sp-dev-fx-controls-react/pull/1379)
1541
- `RichText`: Add https:// as placeholder instead of textbox value when adding url [#1651](https://github.com/pnp/sp-dev-fx-controls-react/pull/1656)
42+
- Fix package.json to remove phantom dependencies issues [#1660](https://github.com/pnp/sp-dev-fx-controls-react/issues/1660)
43+
- `PeoplePicker`: new property to starting the search after n characters [#374](https://github.com/pnp/sp-dev-fx-controls-react/issues/374)
44+
- SharePoint Framework v1.18.2 support
1645

1746
### Fixes
1847

@@ -25,10 +54,16 @@
2554
- `PeoplePicker`:PeoplePicker won't accept Multiple Users with the same name [#1620] (https://github.com/pnp/sp-dev-fx-controls-react/pull/1620)
2655
- `DynamicForm`: Dynamic Form accessed TaxonomyFieldTypeMulti without considering sub-array results [#1614](https://github.com/pnp/sp-dev-fx-controls-react/pull/1614)
2756
- `DynamicForm`: Number validations are working, but the percentage values are not getting saved [#1601](https://github.com/pnp/sp-dev-fx-controls-react/pull/1601)
57+
- `DynamicForm`: Number validation is preventing form save in certain circumstances, not enabled for currency fields [#1604](https://github.com/pnp/sp-dev-fx-controls-react/issues/1604)
58+
- `ListItemAttachments`: Inconsistent file handling [#1644](https://github.com/pnp/sp-dev-fx-controls-react/issues/1644)
59+
- `Localization`: Update Japanese translations [#1686](https://github.com/pnp/sp-dev-fx-controls-react/pull/1686)
60+
- `ListItemPicker`: Fix docs for onSelectedItem [#1690](https://github.com/pnp/sp-dev-fx-controls-react/pull/1690)
61+
- `ComboBoxListItemPicker`: Fix docs for onSelectedItem [#1690](https://github.com/pnp/sp-dev-fx-controls-react/pull/1690)
62+
- `ListItemAttachments`: Fix click behavior in ListItemAttachments component [#1692](https://github.com/pnp/sp-dev-fx-controls-react/pull/1692)
2863

2964
### Contributors
3065

31-
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Joakim](https://github.com/daenur76), [Michaël Maillot](https://github.com/michaelmaillot), [Nils Andresen](https://github.com/nils-a), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Rico van de Ven](https://github.com/RicoNL), [Steve Beaugé](https://github.com/stevebeauge), [wuxiaojun514](https://github.com/wuxiaojun514).
66+
Special thanks to our contributors (in alphabetical order): [Dan Toft](https://github.com/Tanddant), [Gerke van Garderen](https://github.com/gerkevgarderen), [Guido Zambarda](https://github.com/GuidoZam), [Joakim](https://github.com/daenur76), [Michaël Maillot](https://github.com/michaelmaillot), [Nils Andresen](https://github.com/nils-a), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Rico van de Ven](https://github.com/RicoNL), [Steve Beaugé](https://github.com/stevebeauge), [wuxiaojun514](https://github.com/wuxiaojun514), [Tetsuya Kawahara](https://github.com/tecchan1107), [Tom G](https://github.com/t0mgerman), [Yannik Reiter](https://github.com/yannikreiter-maxworx).
3267

3368
## 3.15.0
3469

0 commit comments

Comments
 (0)