Skip to content

Commit a686dd0

Browse files
author
Piotr Siatka
committed
Merge remote-tracking branch 'upstream/dev' into dev
2 parents db72114 + 7320d1e commit a686dd0

File tree

19 files changed

+133
-42
lines changed

19 files changed

+133
-42
lines changed

.github/workflows/greetings.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Greetings
2+
3+
on: [pull_request, issues]
4+
5+
jobs:
6+
greeting:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/first-interaction@v1
10+
with:
11+
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
issue-message: 'Thank you for submitting your first issue to this project.'
13+
pr-message: 'Thank you for the first contribution to this project.'

CHANGELOG.JSON

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
{
22
"versions": [
3+
{
4+
"version": "1.17.0",
5+
"changes": {
6+
"new": [],
7+
"enhancements": [
8+
"`TaxonomyPicker`: Possibility to hide deprecated and \"Available for Tagging\"= false terms [#421](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/421)"
9+
],
10+
"fixes": [
11+
"`RichText`: problem with edit mode [#445](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/445)"
12+
]
13+
},
14+
"contributions": [
15+
"[JonasBjerke89](https://github.com/JonasBjerke89)"
16+
]
17+
},
318
{
419
"version": "1.16.0",
520
"changes": {
621
"new": [],
722
"enhancements": [
823
"`FilePicker`: Fixes for OneDrive CORS issues [#407](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/407)",
924
"`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)"
25+
"allowing to use context from any type of SPFx extensions: [#419](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/419)",
26+
"`Placeholder`: remove unused and vendor specific CSS [#426](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/426)"
1127
],
1228
"fixes": [
1329
"Documentation fix for `FilePicker`: updated `accepts` value in props [#404](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/404)",
@@ -16,7 +32,13 @@
1632
"Documentation fix to include new components from v 1.15.0 [#394](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/394)",
1733
"`DateTimePicker`: dropdown for time not handling AM/PM correctly [#405](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/409)",
1834
"Documentation fix for `index` page: updated link to Chart controls [#417](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/417)",
19-
"Documentation update for SPFx On Premises notice: [#418](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/418)"
35+
"Documentation update for SPFx On Premises notice: [#418](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/418)",
36+
"Documentation update for `ListItemPicker`: `valueColumnInternalName` should be `keyColumnInternalName`",
37+
"`RichText`: Fix \"Align Left\" button [#429](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/429)",
38+
"Documentation update for `FilePicker`: misspelling [#432](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/432)",
39+
"`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)",
40+
"`PeoplePicker`: `errorMessage` not showing [#420](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/420)",
41+
"`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)"
2042
]
2143
},
2244
"contributions": [
@@ -26,7 +48,12 @@
2648
"[João Mendes](https://github.com/joaojmendes)",
2749
"[PrasadKasireddy](https://github.com/PrasadKasireddy)",
2850
"[Chad Eiserloh](https://github.com/c-eiser13)",
29-
"[Koen Zomers](https://github.com/KoenZomers)"
51+
"[Koen Zomers](https://github.com/KoenZomers)",
52+
"[Dmitry Rogozhny](https://github.com/dmitryrogozhny)",
53+
"[Alexander Kleshcheov](https://github.com/SharePickle)",
54+
"[Hugo Bernier](https://github.com/hugoabernier)",
55+
"[Beniamin](https://github.com/bbronisz)",
56+
"[Giovani Martini](https://github.com/giovanibm)"
3057
]
3158
},
3259
{

CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,29 @@
55
### Enhancements
66

77
- `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)
827

928
### Contributors
1029

11-
Special thanks to our contributor: [Piotr Siatka](https://github.com/siata13).
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).
1231

1332
## 1.15.0
1433

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,29 @@
55
### Enhancements
66

77
- `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)
827

928
### Contributors
1029

11-
Special thanks to our contributor: [Piotr Siatka](https://github.com/siata13).
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).
1231

1332
## 1.15.0
1433

docs/documentation/docs/controls/FilePicker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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/ListItemPicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { ListItemPicker } from '@pnp/spfx-controls-react/lib/listItemPicker';
2323
```TypeScript
2424
<ListItemPicker listId='da8daf15-d84f-4ab1-9800-7568f82fed3f'
2525
columnInternalName='Title'
26-
valueColumnInternalName='Id'
26+
keyColumnInternalName='Id'
2727
filter="Title eq 'SPFx'"
2828
itemLimit={2}
2929
onSelectedItem={this.onSelectedItem}

docs/documentation/docs/controls/TaxonomyPicker.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ The TaxonomyPicker control can be configured with the following properties:
115115
| disableChildrenOfDisabledParents | boolean | no | Specify if you want to disable the child terms when their parent is disabled. |
116116
| anchorId | string | no | Set the anchorid to a child term in the TermSet to be able to select terms from that level and below. |
117117
| termActions | ITermActions | no | Allows to execute custom action on the term like e.g. get other term labelsITermActions. |
118+
| hideTagsNotAvailableForTagging | boolean | no | Specifies if the tags marked with 'Available for tagging' = false should be hidden |
119+
| hideDeprecatedTags | boolean | no | Specifies if deprecated tags should be hidden |
118120

119121
Interface `IPickerTerm`
120122

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
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": "1.16.0",
4+
"version": "1.17.0",
55
"engines": {
66
"node": ">=0.10.0"
77
},

src/controls/iFrameDialog/IFrameDialogContent.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export class IFrameDialogContent extends React.Component<IIFrameDialogContentPro
4040
try { // for cross origin requests we can have issues with accessing frameElement
4141
this._iframe.contentWindow.frameElement.cancelPopUp = this.props.close;
4242
this._iframe.contentWindow.frameElement.commitPopUp = this.props.close;
43+
// SP.UI.Dialog has misspelling of commitPopUp
44+
this._iframe.contentWindow.frameElement.commitPopup = this.props.close;
4345
}
4446
catch (err) {
4547
if (err.name !== 'SecurityError') {

0 commit comments

Comments
 (0)