Skip to content

Commit 5aec33a

Browse files
authored
Merge pull request #439 from SharePoint/dev
Merge for 1.16.0 release
2 parents bc3baf5 + 770681d commit 5aec33a

File tree

87 files changed

+7720
-184
lines changed

Some content is hidden

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

87 files changed

+7720
-184
lines changed

CHANGELOG.JSON

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
{
22
"versions": [
3+
{
4+
"version": "1.16.0",
5+
"changes": {
6+
"new": [],
7+
"enhancements": [
8+
"`FilePicker`: Fixes for OneDrive CORS issues [#407](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/407)",
9+
"`ListItemPicker`: added new control property `filter` [#392](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/392)",
10+
"allowing to use context from any type of SPFx extensions: [#419](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/419)",
11+
"`Placeholder`: remove unused and vendor specific CSS [#426](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/426)"
12+
],
13+
"fixes": [
14+
"Documentation fix for `FilePicker`: updated `accepts` value in props [#404](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/404)",
15+
"The `FilePicker` control doesn't work in many languages due to missing localization keys [#412](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/412)",
16+
"Documentation fix for broken links of Property Controls landing page [#388](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/388)",
17+
"Documentation fix to include new components from v 1.15.0 [#394](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/394)",
18+
"`DateTimePicker`: dropdown for time not handling AM/PM correctly [#405](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/409)",
19+
"Documentation fix for `index` page: updated link to Chart controls [#417](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/417)",
20+
"Documentation update for SPFx On Premises notice: [#418](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/418)",
21+
"Documentation update for `ListItemPicker`: `valueColumnInternalName` should be `keyColumnInternalName`",
22+
"`RichText`: Fix \"Align Left\" button [#429](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/429)",
23+
"Documentation update for `FilePicker`: misspelling [#432](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/432)",
24+
"`IFramePanel`: Fix doubled scroll issue when iframe content is higher than frame height [#431](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/431)",
25+
"`PeoplePicker`: `errorMessage` not showing [#420](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/420)",
26+
"`IFrameDialog`: `commitPopUp` typo causes popups with classic forms to not close after hitting save [#433](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/433)"
27+
]
28+
},
29+
"contributions": [
30+
"[Piotr Siatka](https://github.com/siata13)",
31+
"[Dani Domínguez](https://github.com/danidz96)",
32+
"[Siddharth Vaghasia](https://github.com/siddharth-vaghasia)",
33+
"[João Mendes](https://github.com/joaojmendes)",
34+
"[PrasadKasireddy](https://github.com/PrasadKasireddy)",
35+
"[Chad Eiserloh](https://github.com/c-eiser13)",
36+
"[Koen Zomers](https://github.com/KoenZomers)",
37+
"[Dmitry Rogozhny](https://github.com/dmitryrogozhny)",
38+
"[Alexander Kleshcheov](https://github.com/SharePickle)",
39+
"[Hugo Bernier](https://github.com/hugoabernier)",
40+
"[Beniamin](https://github.com/bbronisz)",
41+
"[Giovani Martini](https://github.com/giovanibm)"
42+
]
43+
},
344
{
445
"version": "1.15.0",
546
"changes": {

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Releases
22

3+
## 1.16.0
4+
5+
### Enhancements
6+
7+
- `FilePicker`: Fixes for OneDrive CORS issues [#407](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/407)
8+
- `ListItemPicker`: added new control property `filter` [#392](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/392)
9+
- allowing to use context from any type of SPFx extensions: [#419](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/419)
10+
- `Placeholder`: remove unused and vendor specific CSS [#426](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/426)
11+
12+
### Fixes
13+
14+
- Documentation fix for `FilePicker`: updated `accepts` value in props [#404](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/404)
15+
- The `FilePicker` control doesn't work in many languages due to missing localization keys [#412](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/412)
16+
- Documentation fix for broken links of Property Controls landing page [#388](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/388)
17+
- Documentation fix to include new components from v 1.15.0 [#394](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/394)
18+
- `DateTimePicker`: dropdown for time not handling AM/PM correctly [#405](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/409)
19+
- Documentation fix for `index` page: updated link to Chart controls [#417](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/417)
20+
- Documentation update for SPFx On Premises notice: [#418](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/418)
21+
- Documentation update for `ListItemPicker`: `valueColumnInternalName` should be `keyColumnInternalName`
22+
- `RichText`: Fix "Align Left" button [#429](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/429)
23+
- Documentation update for `FilePicker`: misspelling [#432](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/432)
24+
- `IFramePanel`: Fix doubled scroll issue when iframe content is higher than frame height [#431](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/431)
25+
- `PeoplePicker`: `errorMessage` not showing [#420](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/420)
26+
- `IFrameDialog`: `commitPopUp` typo causes popups with classic forms to not close after hitting save [#433](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/433)
27+
28+
### Contributors
29+
30+
Special thanks to our contributors (in alphabetical order): [Piotr Siatka](https://github.com/siata13), [Dani Domínguez](https://github.com/danidz96), [Siddharth Vaghasia](https://github.com/siddharth-vaghasia), [João Mendes](https://github.com/joaojmendes), [PrasadKasireddy](https://github.com/PrasadKasireddy), [Chad Eiserloh](https://github.com/c-eiser13), [Koen Zomers](https://github.com/KoenZomers), [Dmitry Rogozhny](https://github.com/dmitryrogozhny), [Alexander Kleshcheov](https://github.com/SharePickle), [Hugo Bernier](https://github.com/hugoabernier), [Beniamin](https://github.com/bbronisz), [Giovani Martini](https://github.com/giovanibm).
31+
332
## 1.15.0
433

534
### New control(s)

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Releases
22

3+
## 1.16.0
4+
5+
### Enhancements
6+
7+
- `FilePicker`: Fixes for OneDrive CORS issues [#407](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/407)
8+
- `ListItemPicker`: added new control property `filter` [#392](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/392)
9+
- allowing to use context from any type of SPFx extensions: [#419](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/419)
10+
- `Placeholder`: remove unused and vendor specific CSS [#426](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/426)
11+
12+
### Fixes
13+
14+
- Documentation fix for `FilePicker`: updated `accepts` value in props [#404](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/404)
15+
- The `FilePicker` control doesn't work in many languages due to missing localization keys [#412](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/412)
16+
- Documentation fix for broken links of Property Controls landing page [#388](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/388)
17+
- Documentation fix to include new components from v 1.15.0 [#394](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/394)
18+
- `DateTimePicker`: dropdown for time not handling AM/PM correctly [#405](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/409)
19+
- Documentation fix for `index` page: updated link to Chart controls [#417](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/417)
20+
- Documentation update for SPFx On Premises notice: [#418](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/418)
21+
- Documentation update for `ListItemPicker`: `valueColumnInternalName` should be `keyColumnInternalName`
22+
- `RichText`: Fix "Align Left" button [#429](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/429)
23+
- Documentation update for `FilePicker`: misspelling [#432](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/432)
24+
- `IFramePanel`: Fix doubled scroll issue when iframe content is higher than frame height [#431](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/431)
25+
- `PeoplePicker`: `errorMessage` not showing [#420](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/420)
26+
- `IFrameDialog`: `commitPopUp` typo causes popups with classic forms to not close after hitting save [#433](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/433)
27+
28+
### Contributors
29+
30+
Special thanks to our contributors (in alphabetical order): [Piotr Siatka](https://github.com/siata13), [Dani Domínguez](https://github.com/danidz96), [Siddharth Vaghasia](https://github.com/siddharth-vaghasia), [João Mendes](https://github.com/joaojmendes), [PrasadKasireddy](https://github.com/PrasadKasireddy), [Chad Eiserloh](https://github.com/c-eiser13), [Koen Zomers](https://github.com/KoenZomers), [Dmitry Rogozhny](https://github.com/dmitryrogozhny), [Alexander Kleshcheov](https://github.com/SharePickle), [Hugo Bernier](https://github.com/hugoabernier), [Beniamin](https://github.com/bbronisz), [Giovani Martini](https://github.com/giovanibm).
31+
332
## 1.15.0
433

534
### New control(s)

docs/documentation/docs/controls/Carousel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here is an example of the control in action:
88

99
## How to use this control in your solutions
1010

11-
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../#getting-started) page for more information about installing the dependency.
11+
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.
1212
- Import the following modules to your component:
1313

1414
```TypeScript

docs/documentation/docs/controls/ChartControl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Here is an example of the control in action:
1010

1111
## How to use this control in your solutions
1212

13-
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../#getting-started) page for more information about installing the dependency.
13+
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.
1414
- Import the following module to your component:
1515

1616
```TypeScript

docs/documentation/docs/controls/DateTimePicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here are some examples of the control:
2121

2222
## How to use this control in your solutions
2323

24-
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../#getting-started) page for more information about installing the dependency.
24+
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.
2525
- Import the control into your component. The DateConvention and TimeConvention controls if the time of day controls are shown and the time format used (12 hours/24 hours).
2626

2727
```TypeScript

docs/documentation/docs/controls/FilePicker.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ File picker doesn't load all the files that exist in the folder. Instead, it all
3030

3131
## How to use this control
3232

33-
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../#getting-started) page for more information about installing the dependency.
33+
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.
3434
- Import the following module to your component:
3535

3636
```TypeScript
@@ -42,7 +42,7 @@ import { FilePicker, IFilePickerResult } from '@pnp/spfx-controls-react/lib/File
4242
```TypeScript
4343
<FilePicker
4444
bingAPIKey="<BING API KEY>"
45-
accepts= ".gif,.jpg,.jpeg,.bmp,.dib,.tif,.tiff,.ico,.png,.jxr,.svg"
45+
accepts= {[".gif", ".jpg", ".jpeg", ".bmp", ".dib", ".tif", ".tiff", ".ico", ".png", ".jxr", ".svg"]}
4646
buttonIcon="FileImage"
4747
onSave={(filePickerResult: IFilePickerResult) => { this.setState({filePickerResult }) }}
4848
onChanged={(filePickerResult: IFilePickerResult) => { this.setState({filePickerResult }) }}
@@ -61,7 +61,7 @@ The FilePicker component can be configured with the following properties:
6161
| buttonIcon | string | no | In case it is provided the file picker will be rendered as an action button. |
6262
| onSave | (filePickerResult: IFilePickerResult) => void | yes | Handler when the file has been selected and picker has been closed. |
6363
| onChange | (filePickerResult: IFilePickerResult) => void | no | Handler when the file selection has been changed. |
64-
| context | ApplicationCustomizerContext | WebPartContext | yes | Current context. |
64+
| context | ExtensionContext \| WebPartContext | yes | Current context. |
6565
| accepts | string[] | no | Array of strings containing allowed files extensions. E.g. [".gif", ".jpg", ".jpeg", ".bmp", ".dib", ".tif", ".tiff", ".ico", ".png", ".jxr", ".svg"] |
6666
| required | boolean | no | Sets the label to inform that the value is required. |
6767
| bingAPIKey | string | no | Used to execute WebSearch. If not provided SearchTab will not be available. |
@@ -80,8 +80,8 @@ interface `IFilePickerResult`
8080
Provides options for carousel buttons location.
8181

8282
| Value | Type | Description |
83-
| ---- | ---- |
84-
| fileName | string | File namr of the result with the extension. |
83+
| ---- | ---- | ---- |
84+
| fileName | string | File name of the result with the extension. |
8585
| fileNameWithoutExtension | string | File name of the result without the extension. |
8686
| fileAbsoluteUrl | string | Absolute URL of the file. Null in case of file upload. |
8787
| downloadFileContent | () => Promise<File> | Function allows to download file content. Returns File object. |

docs/documentation/docs/controls/FileTypeIcon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This control returns the file type icon based on a specified file path or applic
66

77
## How to use this control in your solutions
88

9-
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../#getting-started) page for more information about installing the dependency.
9+
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.
1010
- Import the following modules to your component:
1111

1212
```TypeScript

docs/documentation/docs/controls/GridLayout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Although it is best used with the Fabric UI [DocumentCard control](https://devel
1212

1313
## How to use this control in your solutions
1414

15-
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../#getting-started) page for more information about installing the dependency.
15+
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.
1616
- Import the following modules to your component:
1717

1818
```TypeScript

docs/documentation/docs/controls/IFrameDialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here is an example of the control in action:
88

99
## How to use this control in your solutions
1010

11-
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../#getting-started) page for more information about installing the dependency.
11+
- Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.
1212
- Import the following modules to your component:
1313

1414
```TypeScript

0 commit comments

Comments
 (0)