Skip to content

Commit 6dfc483

Browse files
authored
Merge pull request pnp#108 from SharePoint/dev
Merge for version 1.7.0
2 parents f348346 + 3daeac4 commit 6dfc483

File tree

27 files changed

+268
-102
lines changed

27 files changed

+268
-102
lines changed

CHANGELOG.JSON

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
{
22
"versions": [
3+
{
4+
"version": "1.7.0",
5+
"changes": {
6+
"new": [],
7+
"enhancements": [
8+
"`PeoplePicker`: added functionality to initialize the control with person(s) or group(s) [#98](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/98)",
9+
"`PeoplePicker`: support for searching on contains [#93](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/93)",
10+
"`PeoplePicker`: find user based on email address [#95](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/95)",
11+
"Bundle size: statically reference Office UI Fabric components in the FieldRenderer controls [#107](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/107)"
12+
],
13+
"fixes": [
14+
"`FieldNameRenderer` onClick does not suppress default link behavior [#103](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/103)"
15+
]
16+
},
17+
"contributions": ["Octavie van Haaften", "Asish Padhy", "Mikael Svenson", "Alex Terentiev"]
18+
},
319
{
420
"version": "1.6.0",
521
"changes": {

CHANGELOG.md

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

3+
## 1.7.0
4+
5+
**Enhancements**
6+
7+
- `PeoplePicker`: added functionality to initialize the control with person(s) or group(s) [#98](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/98)
8+
- `PeoplePicker`: support for searching on contains [#93](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/93)
9+
- `PeoplePicker`: find user based on email address [#95](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/95)
10+
- Bundle size: statically reference Office UI Fabric components in the FieldRenderer controls [#107](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/107)
11+
12+
**Fixes**
13+
14+
- `FieldNameRenderer` onClick does not suppress default link behavior [#103](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/103)
15+
316
## 1.6.0
417

518
**Enhancements**

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

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

3+
## 1.7.0
4+
5+
**Enhancements**
6+
7+
- `PeoplePicker`: added functionality to initialize the control with person(s) or group(s) [#98](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/98)
8+
- `PeoplePicker`: support for searching on contains [#93](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/93)
9+
- `PeoplePicker`: find user based on email address [#95](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/95)
10+
- Bundle size: statically reference Office UI Fabric components in the FieldRenderer controls [#107](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/107)
11+
12+
**Fixes**
13+
14+
- `FieldNameRenderer` onClick does not suppress default link behavior [#103](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/103)
15+
316
## 1.6.0
417

518
**Enhancements**

docs/documentation/docs/controls/PeoplePicker.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ The People picker control can be configured with the following properties:
6363
| showtooltip | boolean | no | Defines if need a tooltip or not |
6464
| tooltip | string | no | Specify the tooltip message to display |
6565
| tooltipDirectional | DirectionalHint | no | Direction where the tooltip would be shown |
66-
| selectedItems | function | no | get the selected users in the control|
67-
| peoplePickerWPclassName | string | no | applies custom styling to the people picker element|
68-
| peoplePickerCntrlclassName | string | no | applies custom styling to the people picker control only|
66+
| selectedItems | function | no | get the selected users in the control |
67+
| peoplePickerWPclassName | string | no | applies custom styling to the people picker element |
68+
| peoplePickerCntrlclassName | string | no | applies custom styling to the people picker control only |
69+
| defaultSelectedUsers | string[] | no | Default selected user emails |
6970

7071

7172
![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/PeoplePicker)

package-lock.json

Lines changed: 8 additions & 8 deletions
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.6.0",
4+
"version": "1.7.0",
55
"engines": {
66
"node": ">=0.10.0"
77
},

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 = "1.6.0";
1+
export const version: string = "1.7.0";

src/controls/fields/fieldAttachmentsRenderer/FieldAttachmentsRenderer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { override } from '@microsoft/decorators';
22
import * as React from 'react';
3-
import { css, Icon } from 'office-ui-fabric-react';
3+
import { css } from 'office-ui-fabric-react/lib/Utilities';
4+
import { Icon } from 'office-ui-fabric-react/lib/Icon';
45
import { IFieldRendererProps } from '../fieldCommon/IFieldRendererProps';
56
import * as telemetry from '../../../common/telemetry';
67

src/controls/fields/fieldBaseTextRenderer/FieldBaseTextRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { override } from '@microsoft/decorators';
22
import * as React from 'react';
3-
import { css } from 'office-ui-fabric-react';
3+
import { css } from 'office-ui-fabric-react/lib/Utilities';
44

55
import styles from './FieldBaseTextRenderer.module.scss';
66
import { IFieldRendererProps } from '../fieldCommon/IFieldRendererProps';

src/controls/fields/fieldCommon/IFieldRendererProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { ICssInput } from 'office-ui-fabric-react';
2+
import { ICssInput } from 'office-ui-fabric-react/lib/Utilities';
33

44
/**
55
* base properties for field renderes

0 commit comments

Comments
 (0)