Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 1.12.0 release #243

Merged
merged 56 commits into from
Feb 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
d157a4b
Merge pull request #1 from SharePoint/master
joaojmendes Nov 6, 2018
1eecb9d
Merge pull request #2 from joaojmendes/master
joaojmendes Nov 6, 2018
40a61d8
first commit
joaojmendes Nov 6, 2018
51bfa27
first Commit
joaojmendes Nov 6, 2018
88fa5dc
first commit
joaojmendes Nov 7, 2018
061f13f
commmit changes
joaojmendes Nov 9, 2018
c2c895a
update documentation
joaojmendes Nov 9, 2018
188e8a7
update doc
joaojmendes Nov 9, 2018
5f912c4
update Dialog Component
joaojmendes Nov 9, 2018
1e18c05
Code Update
joaojmendes Nov 11, 2018
0e5c42e
Update scss file
joaojmendes Nov 11, 2018
4a39341
update List-Item-Attachments with Placeholder Component
joaojmendes Nov 12, 2018
f6a4139
update Doc List-Item-Attachments
joaojmendes Nov 12, 2018
ae6cd6a
update Strings List-Items-Attachments
joaojmendes Nov 12, 2018
9c27829
update docs List-Item-Attachments
joaojmendes Nov 12, 2018
d5f2cf9
Russian localization
AJIXuMuK Jan 4, 2019
16c72fc
module import code had an error - /lib was missing
AJIXuMuK Jan 18, 2019
4b0b835
IFramePanel Implementation
Jan 22, 2019
2eda236
IFramePanel Implemenation Adjustments
Jan 22, 2019
1f446b1
Add TermActions unctionality.
Jan 26, 2019
c98a440
#229 - Fix for incorrectly positioning
estruyf Jan 31, 2019
8863865
Updated changelog
estruyf Jan 31, 2019
bbacb60
missing export
spdavid Feb 2, 2019
e3ca2b5
fixed case sensitive problem
Feb 2, 2019
c411d89
Merge pull request #214 from AJIXuMuK/ru-RU
estruyf Feb 7, 2019
0c010c8
Updated changelog
estruyf Feb 7, 2019
dad2c61
#231 #217 - Fix for custom sort order in TaxonomyPicker
estruyf Feb 7, 2019
8b70c4b
Merge branch 'dev' of github.com:SharePoint/sp-dev-fx-controls-react …
estruyf Feb 7, 2019
07a216b
Updated changelog
estruyf Feb 7, 2019
3962e82
Merge pull request #221 from AJIXuMuK/list-item-picker-doc
estruyf Feb 7, 2019
a1a98e6
Merge branch 'IFramePanel' of https://github.com/spdavid/sp-dev-fx-co…
estruyf Feb 7, 2019
873bb78
#226 - Code changes for consistency
estruyf Feb 7, 2019
4c6c573
Merge branch 'spdavid-IFramePanel' into dev
estruyf Feb 7, 2019
36b2f12
Updated changelog
estruyf Feb 7, 2019
32ffac9
Update SPService.ts
joaojmendes Feb 7, 2019
70de2d4
Change from @PnP/js to SharePoint API
joaojmendes Feb 7, 2019
a23e41a
Commit changes to SPServices, change @PnP/js to SharePoint API
joaojmendes Feb 7, 2019
14254e7
Update SPService.ts
joaojmendes Feb 7, 2019
ebc2d88
Implement term actions functionality. Refactor. Fix bugs. Documentation.
Feb 10, 2019
ee93225
[People Picker] fix #234
tsekityam Feb 11, 2019
46fd001
Merge branch 'patch-2' of https://github.com/tsekityam/sp-dev-fx-cont…
estruyf Feb 11, 2019
1c6f051
#236 - small code updates
estruyf Feb 11, 2019
3e13492
Merge branch 'tsekityam-patch-2' into dev
estruyf Feb 11, 2019
430721e
Updated changelog
estruyf Feb 11, 2019
7ff35e1
Merge branch 'dev' of https://github.com/siata13/sp-dev-fx-controls-r…
estruyf Feb 11, 2019
af3e665
#235 - documentation updates + code refactoring
estruyf Feb 12, 2019
f7d0d35
Merge branch 'siata13-dev' into dev
estruyf Feb 12, 2019
8107ea8
Updated changelog
estruyf Feb 12, 2019
95654ed
#237 - Added the ability to invoke the term actions after rendering
estruyf Feb 13, 2019
7adfe8a
#237 - Style fixes + Fixed update tree action to retrieve term set data
estruyf Feb 13, 2019
8a89760
#237 - Correctly invoking the applyToTerm check
estruyf Feb 13, 2019
97818fc
Added LocalCustomProperties to ITerm
estruyf Feb 13, 2019
7c37240
Merge branch 'dev' of https://github.com/joaojmendes/sp-dev-fx-contro…
estruyf Feb 19, 2019
1d9753c
#177 - Merge + code refactoring
estruyf Feb 19, 2019
37c2f27
Merge branch 'joaojmendes-dev' into dev
estruyf Feb 19, 2019
6dfe1b7
Changelog updated
estruyf Feb 19, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.JSON
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
{
"versions": [
{
"version": "1.12.0",
"changes": {
"new": [
"`ListItemAttachments`: New control added [#177](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/177)",
"`IFramePanel`: New control added [#226](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/226)"
],
"enhancements": [
"Added `Russian` localization [#214](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/214)",
"`TaxonomyPicker`: Ability to specify term actions [#237](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/237)"
],
"fixes": [
"`TaxonomyPicker`: Terms are sorted incorrectly under the wrong parent [#199](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/199) [#229](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/229)",
"`TaxonomyPicker`: Issue with custom sort order of items underneath root terms [#231](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/231)",
"`PeoplePicker`: Fix for issue where values couldn't be cleared [#234](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/234)"
]
},
"contributions": [
"[Patrik Hellgren](https://github.com/patrikhellgren)",
"[David Opdendries](https://github.com/spdavid)",
"[Piotr Siatka](https://github.com/siata13)",
"[Alex Terentiev](https://github.com/AJIXuMuK)",
"[Tse Kit Yam](https://github.com/tsekityam)"
]
},
{
"version": "1.11.0",
"changes": {
Expand All @@ -22,6 +47,7 @@
},
"contributions": [
"[Hugo Bernier](https://github.com/hugoabernier)",
"[joaojmendes](https://github.com/joaojmendes)",
"[Asish Padhy](https://github.com/AsishP)",
"[Piotr Siatka](https://github.com/siata13)",
"[Anoop Tatti](https://github.com/anoopt)",
Expand Down
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Releases

## 1.12.0

### New control(s)

- `ListItemAttachments`: New control added [#177](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/177)
- `IFramePanel`: New control added [#226](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/226)

### Enhancements

- Added `Russian` localization [#214](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/214)
- `TaxonomyPicker`: Ability to specify term actions [#237](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/237)

### Fixes

- `TaxonomyPicker`: Terms are sorted incorrectly under the wrong parent [#199](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/199) [#229](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/229)
- `TaxonomyPicker`: Issue with custom sort order of items underneath root terms [#231](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/231)
- `PeoplePicker`: Fix for issue where values couldn't be cleared [#234](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/234)

### Contributors

Special thanks to our contributors (in alphabetical order): [Patrik Hellgren](https://github.com/patrikhellgren), [David Opdendries](https://github.com/spdavid), [Piotr Siatka](https://github.com/siata13), [Alex Terentiev](https://github.com/AJIXuMuK), [Tse Kit Yam](https://github.com/tsekityam).

## 1.11.0

### New control(s)
Expand All @@ -23,7 +45,7 @@

### Contributors

Special thanks to our contributors (in alphabetical order): [Hugo Bernier](https://github.com/hugoabernier), [Asish Padhy](https://github.com/AsishP), [Piotr Siatka](https://github.com/siata13), [Anoop Tatti](https://github.com/anoopt), [Alex Terentiev](https://github.com/AJIXuMuK), [Tse Kit Yam](https://github.com/tsekityam).
Special thanks to our contributors (in alphabetical order): [Hugo Bernier](https://github.com/hugoabernier), [joaojmendes](https://github.com/joaojmendes), [Asish Padhy](https://github.com/AsishP), [Piotr Siatka](https://github.com/siata13), [Anoop Tatti](https://github.com/anoopt), [Alex Terentiev](https://github.com/AJIXuMuK), [Tse Kit Yam](https://github.com/tsekityam).

## 1.10.0

Expand Down
24 changes: 23 additions & 1 deletion docs/documentation/docs/about/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Releases

## 1.12.0

### New control(s)

- `ListItemAttachments`: New control added [#177](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/177)
- `IFramePanel`: New control added [#226](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/226)

### Enhancements

- Added `Russian` localization [#214](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/214)
- `TaxonomyPicker`: Ability to specify term actions [#237](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/237)

### Fixes

- `TaxonomyPicker`: Terms are sorted incorrectly under the wrong parent [#199](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/199) [#229](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/229)
- `TaxonomyPicker`: Issue with custom sort order of items underneath root terms [#231](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/231)
- `PeoplePicker`: Fix for issue where values couldn't be cleared [#234](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/234)

### Contributors

Special thanks to our contributors (in alphabetical order): [Patrik Hellgren](https://github.com/patrikhellgren), [David Opdendries](https://github.com/spdavid), [Piotr Siatka](https://github.com/siata13), [Alex Terentiev](https://github.com/AJIXuMuK), [Tse Kit Yam](https://github.com/tsekityam).

## 1.11.0

### New control(s)
Expand All @@ -23,7 +45,7 @@

### Contributors

Special thanks to our contributors (in alphabetical order): [Hugo Bernier](https://github.com/hugoabernier), [Asish Padhy](https://github.com/AsishP), [Piotr Siatka](https://github.com/siata13), [Anoop Tatti](https://github.com/anoopt), [Alex Terentiev](https://github.com/AJIXuMuK), [Tse Kit Yam](https://github.com/tsekityam).
Special thanks to our contributors (in alphabetical order): [Hugo Bernier](https://github.com/hugoabernier), [joaojmendes](https://github.com/joaojmendes), [Asish Padhy](https://github.com/AsishP), [Piotr Siatka](https://github.com/siata13), [Anoop Tatti](https://github.com/anoopt), [Alex Terentiev](https://github.com/AJIXuMuK), [Tse Kit Yam](https://github.com/tsekityam).

## 1.10.0

Expand Down
Binary file added docs/documentation/docs/assets/IFramePanel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/documentation/docs/assets/term-action.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/documentation/docs/controls/IFrameDialog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IFrameDialog control

This control renders a Dialog with an iframe as a content.
This control renders a Dialog with an iframe as content.

Here is an example of the control in action:

Expand Down Expand Up @@ -58,4 +58,4 @@ The IFrameDialog component can be configured with the following properties:
| scrolling | string | no | Specifies whether or not to display scrollbars in an iframe |
| seamless | string | no | When present, it specifies that the iframe should look like it is a part of the containing document (no borders or scrollbars) |

![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/FileTypeIcon)
![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/IFrameDialog)
50 changes: 50 additions & 0 deletions docs/documentation/docs/controls/IFramePanel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# IFramePanel control

This control renders a Panel with an iframe as content.

Here is an example of the control in action:

![IFrameDialog control](../assets/IFramePanel.png)

## How to use this control in your solutions

- 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.
- Import the following modules to your component:

```TypeScript
import { IFramePanel } from "@pnp/spfx-controls-react/lib/IFramePanel";
```

- The `IFramePanel` uses the [Office Fabric UI implemenation of the panel](https://developer.microsoft.com/en-us/fabric#/components/panel). The properties of this control inherit the panel properties.

- Use the `IFramePanel` control in your code as follows (`this._onIframeLoaded` and `this._onDismiss` are methods that should be implemented if you want to execute some actions when the iframe content is loaded and dialog should be closed respectively.)


```TypeScript
<IFramePanel url={this.state.iFrameUrl}
type={PanelType.medium}
headerText="Panel Title"
closeButtonAriaLabel="Close"
isOpen={this.state.iFramePanelOpened}
onDismiss={this._onDismiss.bind(this)}
iframeOnLoad={this._onIframeLoaded.bind(this)} />
```

## Implementation

The IFramePanel component extends the properties from the [Fabric UI IPanelProps](https://developer.microsoft.com/en-us/fabric#/components/panel)
along with the additional following properties:

| Property | Type | Required | Description |
| ---- | ---- | ---- | ---- |
| url | string | yes | iframe Url |
| heigth | string | yes | iframe's height, if empty it will be dynamically set to the full height available in the panel's content area |
| iframeOnload | iframeOnLoad?: (iframe: any) => {} | no | iframe's onload event handler |
| name | string | no | Specifies the name of an iframe |
| allowFullScreen | boolean | no | Specifies if iframe content can be displayed in a full screen |
| allowTransparency | boolean | no | Specifies if transparency is allowed in iframe |
| sandbox | string | no | Enables an extra set of restrictions for the content in an iframe |
| scrolling | string | no | Specifies whether or not to display scrollbars in an iframe |
| seamless | string | no | When present, it specifies that the iframe should look like it is a part of the containing document (no borders or scrollbars) |

![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/IFramePanel)
45 changes: 45 additions & 0 deletions docs/documentation/docs/controls/ListItemAttachments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# ListItemAttachments control

This control allows you to manage list item attachments, you can add or delete associated attachments. The attachments are listed in tile view.

Here is an example of the control:

![ListItemAttachments Upload](../assets/ListItemAttachmentsUpload.png)

![ListItemAttachments Tiles](../assets/ListItemAttachmentsTitles.png)

![ListItemAttachments Confirm Delete](../assets/ListItemAttachmentDeleteConfirm.png)

![ListItemAttachments Attachment Deleted ](../assets/ListItemAttachementDeletedMsg.png)

## How to use this control in your solutions

- 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.
- Import the control into your component:

```TypeScript
import { ListItemAttachments } from '@pnp/spfx-controls-react/listItemAttachments';
```
- Use the `ListItemAttachments` control in your code as follows:

```TypeScript
<ListItemAttachments listId='dfa283f4-5faf-4d54-b6b8-5bcaf2725af5'
itemId={1}
context={this.props.context}
disabled={false} />
```

## Implementation

The `ListItemAttachments` control can be configured with the following properties:


| Property | Type | Required | Description |
| ---- | ---- | ---- | ---- |
| context | WebPartContext \| ApplicationCustomizerContext | yes | SPFx web part or extention context |
| itemId | number | yes | List Item Id |
| listId | string | yes | Guid of the list. |
| webUrl | string | no | URL of the site. By default it uses the current site URL. |
| disabled | boolean | no | Specifies if the control is disabled or not. |

![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/ListItemAttachments)
2 changes: 1 addition & 1 deletion docs/documentation/docs/controls/ListItemPicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Here is an example of the control:
- Import the control into your component:

```TypeScript
import { ListItemPicker } from '@pnp/spfx-controls-react/listItemPicker';
import { ListItemPicker } from '@pnp/spfx-controls-react/lib/listItemPicker';
```
- Use the `ListItemPicker` control in your code as follows:

Expand Down
98 changes: 89 additions & 9 deletions docs/documentation/docs/controls/TaxonomyPicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,13 @@ import { TaxonomyPicker, IPickerTerms } from "@pnp/spfx-controls-react/lib/Taxon
- Use the `TaxonomyPicker` control in your code as follows:

```TypeScript
<TaxonomyPicker
allowMultipleSelections={true}
termsetNameOrID="Countries"
panelTitle="Select Term"
label="Taxonomy Picker"
context={this.props.context}
onChange={this.onTaxPickerChange}
isTermSetSelectable={false}
/>
<TaxonomyPicker allowMultipleSelections={true}
termsetNameOrID="Countries"
panelTitle="Select Term"
label="Taxonomy Picker"
context={this.props.context}
onChange={this.onTaxPickerChange}
isTermSetSelectable={false} />
```

- With the `onChange` property you can capture the event of when the terms in the picker has changed:
Expand All @@ -53,6 +51,51 @@ private onTaxPickerChange(terms : IPickerTerms) {
}
```

## Term actions

Since version `1.12.0`, you can apply term actions to all terms or specific ones. Term actions could for instance be used to retrieve the labels of the term, or retrieve other information. These term actions can be implemented as follows:

```typescript
<TaxonomyPicker allowMultipleSelections={true}
termsetNameOrID="Countries"
panelTitle="Select Term"
label="Taxonomy Picker"
context={this.props.context}
onChange={this.onServicePickerChange}
isTermSetSelectable={false}
termActions={{
actions: [{
title: "Update term label",
iconName: "LocaleLanguage",
id: "UpdateTermLabel",
actionCallback: async (taxService: SPTermStorePickerService, term: ITerm) => {
return {
updateActionType: UpdateType.updateTermLabel,
value: `${term.Name} (updated)`
};
},
applyToTerm: (term: ITerm) => (true) // Applying the action to all terms
}]
}} />
```

![Term action sample](../assets/term-action.png)

We also provided a default term action which you can use to retrieve the term its labels and will update the term text in the TaxonomyPicker hierarchy.

```typescript
<TaxonomyPicker allowMultipleSelections={true}
termsetNameOrID="Countries"
panelTitle="Select Term"
label="Taxonomy Picker"
context={this.props.context}
onChange={this.onServicePickerChange}
isTermSetSelectable={false}
termActions={{
actions: [new TermLabelAction("Get Labels")]
}} />
```

## Implementation

The TaxonomyPicker control can be configured with the following properties:
Expand All @@ -71,6 +114,7 @@ The TaxonomyPicker control can be configured with the following properties:
| disabledTermIds | string[] | no | Specify which terms should be disabled in the term set so that they cannot be selected. |
| disableChildrenOfDisabledParents | boolean | no | Specify if you want to disable the child terms when their parent is disabled. |
| anchorId | string | no | Set the anchorid to a child term in the TermSet to be able to select terms from that level and below. |
| termActions | ITermActions | no | Allows to execute custom action on the term like e.g. get other term labelsITermActions. |

Interface `IPickerTerm`

Expand All @@ -86,4 +130,40 @@ Interface `IPickerTerms`

An Array of IPickerTerm

Interface `ITermActions`

| Property | Type | Required | Description | Default |
| ---- | ---- | ---- | ---- | ---- |
| actions | ITermAction[] | yes | The array of supported actions | |
| termActionsDisplayStyle | TermActionsDisplayStyle | no | Defines how to display term action button, available options: text, icon, text and icon | text |
| termActionsDisplayMode | TermActionsDisplayMode | no | Defines how to display term actions, as buttons or dropdown | buttons |
| initialize | (spTermService: SPTermStorePickerService) => Promise\<void\> | no | Initializes the term action with the taxonomy service |

Interface `ITermAction`

| Property | Type | Required | Description |
| ---- | ---- | ---- | ---- |
| id | string | yes | Unique id of the term action |
| title | string | yes | Action title |
| iconName | string | no | Name of the icon to be used to display action |
| hidden | boolean | no | Specify if the action is hidden. This could be used for instance when you want to invoke the action right after rendering. |
| invokeActionOnRender | boolean | no | Specifies if you want to invoke the action on render |
| applyToTerm | (currentTerm: ITerm) => Promise\<boolean\> \| boolean | yes | Method checks if the current term is supported |
| actionCallback | (spTermService: SPTermStorePickerService, currentTerm: ITerm) => Promise\<UpdateAction\> | yes | Method to be executed when action is fired |


Interface `UpdateAction`

| Property | Type | Required | Description |
| ---- | ---- | ---- | ---- |
| updateActionType | UpdateType | yes | Defines the type of update you want to perform |
| value | string | no | New term label value to update. Only required when you want to update the term |

Enum `UpdateType`

| Value |
| ---- |
| updateTermLabel |
| updateTermsTree |

![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/Placeholder)
2 changes: 2 additions & 0 deletions docs/documentation/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ nav:
- "Radar Chart": 'controls/charts/RadarChart.md'
- "Scatter Chart": 'controls/charts/ScatterChart.md'
- FileTypeIcon: 'controls/FileTypeIcon.md'
- ListItemAttachments: 'controls/ListItemAttachments.md'
- ListItemPicker: 'controls/ListItemPicker.md'
- ListPicker: 'controls/ListPicker.md'
- ListView: 'controls/ListView.md'
Expand All @@ -25,6 +26,7 @@ nav:
- TaxonomyPicker: 'controls/TaxonomyPicker.md'
- PeoplePicker: 'controls/PeoplePicker.md'
- IFrameDialog: 'controls/IFrameDialog.md'
- IFramePanel: 'controls/IFramePanel.md'
- 'Field Controls':
- 'Getting started': 'controls/fields/main.md'
- FieldRendererHelper: 'controls/fields/FieldRendererHelper.md'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pnp/spfx-controls-react",
"description": "Reusable React controls for SharePoint Framework solutions",
"version": "1.11.0",
"version": "1.12.0",
"engines": {
"node": ">=0.10.0"
},
Expand Down
1 change: 1 addition & 0 deletions src/IFramePanel.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './controls/iFramePanel/index';
1 change: 1 addition & 0 deletions src/ListItemAttachments.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './controls/listItemAttachments';
2 changes: 1 addition & 1 deletion src/common/telemetry/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version: string = "1.11.0";
export const version: string = "1.12.0";
Loading