Skip to content

Commit f3c6487

Browse files
authored
Merge pull request #842 from pnp/spfx-1-12
v3 with support of SPFx 1.12 and Fluent UI v7
2 parents fa45303 + e45ee04 commit f3c6487

File tree

58 files changed

+12639
-17167
lines changed

Some content is hidden

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

58 files changed

+12639
-17167
lines changed

.yo-rc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@microsoft/generator-sharepoint": {
3-
"version": "1.11.0",
3+
"version": "1.12.0",
44
"libraryName": "sp-dev-fx-controls-react",
55
"libraryId": "92b1e52c-a5fa-490a-bcf4-76080f39442c",
66
"environment": "spo",

CHANGELOG.JSON

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"versions": [
3+
{
4+
"version": "3.0.0",
5+
"changes": {
6+
"new": [
7+
"SharePoint Framework v1.12 support",
8+
"FLuent UI v7 support"
9+
],
10+
"enhancements": [],
11+
"fixes": []
12+
},
13+
"contributions": []
14+
},
315
{
416
"version": "2.6.0",
517
"changes": {

CHANGELOG.md

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

3+
## 3.0.0
4+
5+
### New control(s)
6+
7+
- SharePoint Framework v1.12 support
8+
- FLuent UI v7 support
9+
310
## 2.6.0
411

512
### New control(s)

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

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

3+
## 3.0.0
4+
5+
### New control(s)
6+
7+
- SharePoint Framework v1.12 support
8+
- FLuent UI v7 support
9+
310
## 2.6.0
411

512
### New control(s)

docs/documentation/docs/controls/FilePicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The FilePicker component can be configured with the following properties:
6262
buttonIconProps | IIconProps | no | In case it is provided the file picker will be rendered as an Icon the and all can define Properties for Icon |
6363
| onSave | (filePickerResult: IFilePickerResult) => void | yes | Handler when the file has been selected and picker has been closed. |
6464
| onChange | (filePickerResult: IFilePickerResult) => void | no | Handler when the file selection has been changed. |
65-
| context | ExtensionContext \| WebPartContext | yes | Current context. |
65+
| context | BaseComponentContext | yes | Current context. |
6666
| accepts | string[] | no | Array of strings containing allowed files extensions. E.g. [".gif", ".jpg", ".jpeg", ".bmp", ".dib", ".tif", ".tiff", ".ico", ".png", ".jxr", ".svg"] |
6767
| required | boolean | no | Sets the label to inform that the value is required. |
6868
| bingAPIKey | string | no | Used to execute WebSearch. If not provided SearchTab will not be available. |

docs/documentation/docs/controls/FolderExplorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The `FolderExplorer` control can be configured with the following properties:
5050

5151
| Property | Type | Required | Description |
5252
| ---- | ---- | ---- | ---- |
53-
| context | WebPartContext \| ExtensionContext | yes | The context object of the SPFx loaded webpart or customizer. |
53+
| context | BaseComponentContext | yes | The context object of the SPFx loaded webpart or customizer. |
5454
| siteAbsoluteUrl | string | no | The absolute url of the target site. Only required if not the current site. |
5555
| rootFolder | IFolder | yes | The lowest level folder that can be explored. This can be the root folder of a library. If site url is provided, it will allow the user to select a document library |
5656
| defaultFolder | IFolder | yes | The default folder to be explored. |

docs/documentation/docs/controls/FolderPicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The `FolderPicker` control can be configured with the following properties:
5656

5757
| Property | Type | Required | Description |
5858
| ---- | ---- | ---- | ---- |
59-
| context | WebPartContext \| ExtensionContext | yes | The context object of the SPFx loaded webpart or customizer. |
59+
| context | BaseComponentContext | yes | The context object of the SPFx loaded webpart or customizer. |
6060
| label | string | yes | The label for the control. |
6161
| rootFolder | IFolder | yes | The lowest level folder that can be explored. This can be the root folder of a library. |
6262
| defaultFolder | IFolder | no | The default folder to be selected or explored. |

docs/documentation/docs/controls/ListItemAttachments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The `ListItemAttachments` control can be configured with the following propertie
3636

3737
| Property | Type | Required | Description |
3838
| ---- | ---- | ---- | ---- |
39-
| context | WebPartContext \| ExtensionContext | yes | SPFx web part or extention context |
39+
| context | BaseComponentContext | yes | SPFx web part or extention context |
4040
| itemId | number | yes | List Item Id |
4141
| listId | string | yes | Guid of the list. |
4242
| webUrl | string | no | URL of the site. By default it uses the current site URL. |

docs/documentation/docs/controls/ListItemPicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The `ListItemPicker` control can be configured with the following properties:
5050
| ---- | ---- | ---- | ---- |
5151
| columnInternalName | string | yes | InternalName of column to search and get values. |
5252
| keyColumnInternalName | string | no | InternalName of column to use as the key for the selection. Must be a column with unique values. Default: Id |
53-
| context | WebPartContext \| ExtensionContext | yes | SPFx web part or extention context |
53+
| context | BaseComponentContext | yes | SPFx web part or extention context |
5454
| listId | string | yes | Guid of the list. |
5555
| itemLimit | number | yes | Number of items which can be selected |
5656
| onSelectItem | (items: any[]) => void | yes | Callback function which returns the selected items. |

docs/documentation/docs/controls/ListPicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The `ListPicker` control can be configured with the following properties:
4949

5050
| Property | Type | Required | Description |
5151
| ---- | ---- | ---- | ---- |
52-
| context | WebPartContext \| ExtensionContext | yes | The context object of the SPFx loaded webpart or customizer. |
52+
| context | BaseComponentContext | yes | The context object of the SPFx loaded webpart or customizer. |
5353
| className | string | no | If provided, additional class name to provide on the dropdown element. |
5454
| disabled | boolean | no | Whether or not the control is disabled. |
5555
| baseTemplate | number | no | The SharePoint BaseTemplate ID to filter the list options by. |

0 commit comments

Comments
 (0)