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

Merge for v2.1.0 release #704

Merged
merged 76 commits into from
Oct 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
50cdb5d
FieldRendererHelper import fix in docs
AJIXuMuK Sep 13, 2020
9295182
Merge branch 'dev' of https://github.com/SharePoint/sp-dev-fx-control…
AJIXuMuK Sep 28, 2020
1093b38
v 2.1.0
AJIXuMuK Sep 28, 2020
8fbf7a8
pre-commit task
AJIXuMuK Sep 28, 2020
eceb6f1
small docs change
AJIXuMuK Sep 28, 2020
759c6c3
updated docs for PeoplePicker to reference onChange instead of select…
AJIXuMuK Sep 30, 2020
2c098b9
Ability to display Carousel indicators in a separate block
AJIXuMuK Oct 5, 2020
c79a19b
indicatorsContainerStyles
AJIXuMuK Oct 6, 2020
25e2a0f
Merge pull request #681 from pnp/carousel-indicators-position
AJIXuMuK Oct 6, 2020
e3a3244
changelog
AJIXuMuK Oct 6, 2020
4fa08a2
changelog after-commit
AJIXuMuK Oct 6, 2020
b2cd367
This new feature is a extension of ListView with 2 new properties.
aaclage Oct 6, 2020
05f3d8f
remove const for icon.
aaclage Oct 6, 2020
2f0261f
Feature/fix - changed API for orgasset items
gautamdsheth Oct 7, 2020
17e196e
Merge pull request #687 from gautamdsheth/bugfix/orgAssetsPermissionFix
AJIXuMuK Oct 7, 2020
e78e940
changelog
AJIXuMuK Oct 7, 2020
5647f43
pre-commit
AJIXuMuK Oct 7, 2020
ff19a34
Merge pull request #682 from aaclage/Feature/ListViewDragDrop
AJIXuMuK Oct 7, 2020
f950a26
changelog
AJIXuMuK Oct 7, 2020
d18fecd
pre-commit
AJIXuMuK Oct 7, 2020
5ff140a
Fix ControlsTest.tsx references
aaclage Oct 8, 2020
219235d
Merge pull request #690 from aaclage/Feature/FixTestControlsTestRef
AJIXuMuK Oct 8, 2020
fc7d9fb
Feature/fix - support special chars in folder name
gautamdsheth Oct 10, 2020
f3ec450
Merge pull request #691 from gautamdsheth/feature/support-Special-chars
AJIXuMuK Oct 11, 2020
fa5a9bc
changelog
AJIXuMuK Oct 11, 2020
0d44ee6
pre-commit
AJIXuMuK Oct 11, 2020
2b6534e
add sticky header
Abderahman88 Oct 12, 2020
4b17156
remove whitespace
Abderahman88 Oct 12, 2020
eff5eaf
Hyperlink as first text
Abderahman88 Oct 12, 2020
1b92a8d
Fix typo
Abderahman88 Oct 12, 2020
00cb86e
Merge branch 'myListView' of https://github.com/Abderahman88/sp-dev-f…
AJIXuMuK Oct 12, 2020
c075770
fixes for drag-n-drop area with sticky header, documentation update
AJIXuMuK Oct 12, 2020
e7ccaa3
Merge branch 'Abderahman88-myListView' into dev
AJIXuMuK Oct 12, 2020
5777e53
changelog
AJIXuMuK Oct 12, 2020
e41db67
pre-commit
AJIXuMuK Oct 12, 2020
b23122e
Merge pull request #694 from Abderahman88/RichTextFirstLink
AJIXuMuK Oct 12, 2020
d84b17b
changelog
AJIXuMuK Oct 12, 2020
f7873e5
pre-commit
AJIXuMuK Oct 12, 2020
547f50c
IconPicker: get icons from @uifabric/icons
AJIXuMuK Oct 13, 2020
a4e112f
changelog
AJIXuMuK Oct 13, 2020
7dd52a7
pre-commit
AJIXuMuK Oct 13, 2020
17fef36
fix of #367
AJIXuMuK Oct 13, 2020
cbe42ac
changelog
AJIXuMuK Oct 13, 2020
b50c849
pre-commit
AJIXuMuK Oct 13, 2020
87fe8af
lost fix
AJIXuMuK Oct 13, 2020
87e9277
Update TaxonomyPicker.md
tom-daly Oct 13, 2020
ad402bd
Fix stickyHeaderStyles with a Classname.
aaclage Oct 13, 2020
0702e96
Merge pull request #696 from aaclage/Feature/FixStickyHeaderStyles
AJIXuMuK Oct 13, 2020
e891c90
changelog
AJIXuMuK Oct 13, 2020
c9a27cf
pre-commit
AJIXuMuK Oct 13, 2020
fb43962
Merge branch 'patch-1' of https://github.com/tom-daly/sp-dev-fx-contr…
AJIXuMuK Oct 14, 2020
573874a
reversed back some changes
AJIXuMuK Oct 14, 2020
3ccd2b7
Merge branch 'tom-daly-patch-1' into dev
AJIXuMuK Oct 14, 2020
d09cfaa
changelog
AJIXuMuK Oct 14, 2020
6cf2e06
pre-commit
AJIXuMuK Oct 14, 2020
a4c0a92
Removal of bad pratices (css files and functions with embedded string…
aaclage Oct 14, 2020
fb80efc
Clean reference
aaclage Oct 14, 2020
41f55b5
Issue with Multiple Columns bigger then default width, fixed.
aaclage Oct 14, 2020
3f7e3dd
child nodes expand/collapse
Abderahman88 Oct 15, 2020
592b73d
clean spaces
Abderahman88 Oct 15, 2020
7b0ab4a
Merge pull request #697 from aaclage/Feature/FixListViewStickyReferences
AJIXuMuK Oct 17, 2020
9f0f479
changelog
AJIXuMuK Oct 17, 2020
008161a
Merge branch 'dev' of https://github.com/pnp/sp-dev-fx-controls-react…
AJIXuMuK Oct 17, 2020
050cfcd
Merge branch 'TreeViewFix' of https://github.com/Abderahman88/sp-dev-…
AJIXuMuK Oct 17, 2020
01f0a64
documentations
AJIXuMuK Oct 17, 2020
c8eee52
Merge branch 'Abderahman88-TreeViewFix' into dev
AJIXuMuK Oct 17, 2020
b43a1ec
changelog
AJIXuMuK Oct 17, 2020
5120961
pre-commit
AJIXuMuK Oct 17, 2020
47568b5
fix of #683
AJIXuMuK Oct 18, 2020
4e8e62a
chnagelog
AJIXuMuK Oct 18, 2020
cf747aa
pre-commit
AJIXuMuK Oct 18, 2020
14d6c1a
updated styles
AJIXuMuK Oct 21, 2020
82d71c6
Merge branch 'gautamdsheth-feature/stockImagesTab' into dev
AJIXuMuK Oct 21, 2020
b40d357
changelog
AJIXuMuK Oct 21, 2020
7396e8b
pre-commit
AJIXuMuK Oct 21, 2020
4b99c51
FilePicker - some lost styles
AJIXuMuK Oct 21, 2020
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
29 changes: 29 additions & 0 deletions CHANGELOG.JSON
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
{
"versions": [
{
"version": "2.1.0",
"changes": {
"new": [],
"enhancements": [
"`Carousel`: Ability to display indicators in a dedicated block [#681](https://github.com/pnp/sp-dev-fx-controls-react/pull/681)",
"`FilePicker`: Org Assets are not displayed for non-admin users [#687](https://github.com/pnp/sp-dev-fx-controls-react/pull/687)",
"`ListView`: Drag and Drop option [#679](https://github.com/pnp/sp-dev-fx-controls-react/issues/679)",
"`FolderExplorerService`: support special characters if folder name [#691](https://github.com/pnp/sp-dev-fx-controls-react/pull/691)",
"`ListView`: Sticky Header [#634](https://github.com/pnp/sp-dev-fx-controls-react/issues/634)",
"`IconPicker`: get icons from `@uifabric/icons/lib/data/AllIconNames.json`",
"`ListView`: Sticky header with `className` instead of additional components [#696](https://github.com/pnp/sp-dev-fx-controls-react/pull/696)",
"`ListView`: `StickyHeader` code consistency [#697](https://github.com/pnp/sp-dev-fx-controls-react/pull/697)",
"`TreeView`: Added (optional) property 'defaultExpandedChildren' that controls the behavior of the expansion of child elements.[#698](https://github.com/pnp/sp-dev-fx-controls-react/pull/698)"
],
"fixes": [
"`RichText`: Cannot add link in first line [#672](https://github.com/pnp/sp-dev-fx-controls-react/issues/672)",
"`TaxonomyPicker`: Ability to reset the TaxonomyPicker (Remove all selected Terms) [#367](https://github.com/pnp/sp-dev-fx-controls-react/issues/367)",
"Documentation fix for `TaxonomyPicker`: the `disabled` property is a `boolean` and not a `string` as currently specified [#695](https://github.com/pnp/sp-dev-fx-controls-react/pull/695)",
"`ComboBoxListItemPicker`: update options when `listId` has been changed [#683](https://github.com/pnp/sp-dev-fx-controls-react/issues/683)",
"`FilePicker`: styles are updated to match OOB control [#700](https://github.com/pnp/sp-dev-fx-controls-react/issues/700)"
]
},
"contributions": [
"[Abderahman88](https://github.com/Abderahman88)",
"[André Lage](https://github.com/aaclage)",
"[Gautam Sheth](https://github.com/gautamdsheth)"
]
},
{
"version": "2.0.0",
"changes": {
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Releases

## 2.1.0

### Enhancements

- `Carousel`: Ability to display indicators in a dedicated block [#681](https://github.com/pnp/sp-dev-fx-controls-react/pull/681)
- `FilePicker`: Org Assets are not displayed for non-admin users [#687](https://github.com/pnp/sp-dev-fx-controls-react/pull/687)
- `ListView`: Drag and Drop option [#679](https://github.com/pnp/sp-dev-fx-controls-react/issues/679)
- `FolderExplorerService`: support special characters if folder name [#691](https://github.com/pnp/sp-dev-fx-controls-react/pull/691)
- `ListView`: Sticky Header [#634](https://github.com/pnp/sp-dev-fx-controls-react/issues/634)
- `IconPicker`: get icons from `@uifabric/icons/lib/data/AllIconNames.json`
- `ListView`: Sticky header with `className` instead of additional components [#696](https://github.com/pnp/sp-dev-fx-controls-react/pull/696)
- `ListView`: `StickyHeader` code consistency [#697](https://github.com/pnp/sp-dev-fx-controls-react/pull/697)
- `TreeView`: Added (optional) property 'defaultExpandedChildren' that controls the behavior of the expansion of child elements.[#698](https://github.com/pnp/sp-dev-fx-controls-react/pull/698)

### Fixes

- `RichText`: Cannot add link in first line [#672](https://github.com/pnp/sp-dev-fx-controls-react/issues/672)
- `TaxonomyPicker`: Ability to reset the TaxonomyPicker (Remove all selected Terms) [#367](https://github.com/pnp/sp-dev-fx-controls-react/issues/367)
- Documentation fix for `TaxonomyPicker`: the `disabled` property is a `boolean` and not a `string` as currently specified [#695](https://github.com/pnp/sp-dev-fx-controls-react/pull/695)
- `ComboBoxListItemPicker`: update options when `listId` has been changed [#683](https://github.com/pnp/sp-dev-fx-controls-react/issues/683)
- `FilePicker`: styles are updated to match OOB control [#700](https://github.com/pnp/sp-dev-fx-controls-react/issues/700)

### Contributors

Special thanks to our contributors (in alphabetical order): [Abderahman88](https://github.com/Abderahman88), [André Lage](https://github.com/aaclage), [Gautam Sheth](https://github.com/gautamdsheth).

## 2.0.0

### Enhancements
Expand Down
26 changes: 26 additions & 0 deletions docs/documentation/docs/about/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Releases

## 2.1.0

### Enhancements

- `Carousel`: Ability to display indicators in a dedicated block [#681](https://github.com/pnp/sp-dev-fx-controls-react/pull/681)
- `FilePicker`: Org Assets are not displayed for non-admin users [#687](https://github.com/pnp/sp-dev-fx-controls-react/pull/687)
- `ListView`: Drag and Drop option [#679](https://github.com/pnp/sp-dev-fx-controls-react/issues/679)
- `FolderExplorerService`: support special characters if folder name [#691](https://github.com/pnp/sp-dev-fx-controls-react/pull/691)
- `ListView`: Sticky Header [#634](https://github.com/pnp/sp-dev-fx-controls-react/issues/634)
- `IconPicker`: get icons from `@uifabric/icons/lib/data/AllIconNames.json`
- `ListView`: Sticky header with `className` instead of additional components [#696](https://github.com/pnp/sp-dev-fx-controls-react/pull/696)
- `ListView`: `StickyHeader` code consistency [#697](https://github.com/pnp/sp-dev-fx-controls-react/pull/697)
- `TreeView`: Added (optional) property 'defaultExpandedChildren' that controls the behavior of the expansion of child elements.[#698](https://github.com/pnp/sp-dev-fx-controls-react/pull/698)

### Fixes

- `RichText`: Cannot add link in first line [#672](https://github.com/pnp/sp-dev-fx-controls-react/issues/672)
- `TaxonomyPicker`: Ability to reset the TaxonomyPicker (Remove all selected Terms) [#367](https://github.com/pnp/sp-dev-fx-controls-react/issues/367)
- Documentation fix for `TaxonomyPicker`: the `disabled` property is a `boolean` and not a `string` as currently specified [#695](https://github.com/pnp/sp-dev-fx-controls-react/pull/695)
- `ComboBoxListItemPicker`: update options when `listId` has been changed [#683](https://github.com/pnp/sp-dev-fx-controls-react/issues/683)
- `FilePicker`: styles are updated to match OOB control [#700](https://github.com/pnp/sp-dev-fx-controls-react/issues/700)

### Contributors

Special thanks to our contributors (in alphabetical order): [Abderahman88](https://github.com/Abderahman88), [André Lage](https://github.com/aaclage), [Gautam Sheth](https://github.com/gautamdsheth).

## 2.0.0

### Enhancements
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion docs/documentation/docs/controls/Carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ The Carousel component can be configured with the following properties:
| indicatorShape | CarouselIndicatorShape | no | Specifies indicators' shape. If onRenderIndicator is provided - this property is ignored |
| indicatorClassName | string | no | Specifies additional class applied to slide position indicators |
| indicatorStyle | React.CSSProperties | no | Specifies additional styles applied to slide position indicators |
| onRenderIndicator | (index: number, onClick: (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>, selectedIndex: number) => void) => JSX.Element | no | Function to render indicator element |
| onRenderIndicator | (index: number, onClick: (e: React.MouseEvent<HTMLElement> \| React.TouchEvent<HTMLElement>, selectedIndex: number) => void) => JSX.Element | no | Function to render indicator element |
| indicatorsDisplay | CarouselIndicatorsDisplay | no | Specifies display mode of the indicators. Default value `overlap`. |
| rootStyles | ICssInput | no | Allows to specify own styles for root element |
| indicatorsContainerStyles | ICssInput | no | Allows to specify own styles for indicators container when indicatorsDisplay is set to "block" |

enum `CarouselButtonsLocation`

Expand Down Expand Up @@ -160,6 +163,13 @@ Provides options for carousel indicators' shape.
| square | Indicators displayed as squares |
| rectangle | Indicators displayed as rectangles |

enum `CarouselIndicatorsDisplay`

Provides options for carousel indicators display mode.
| Value | Description |
| overlap | Indicators are displayed on top of the carousel content |
| block | Reserves space for indicators |

Interface `ICarouselImageProps`

Allows to easily render a set of `CarouselImage` components in the carousel
Expand Down
23 changes: 21 additions & 2 deletions docs/documentation/docs/controls/ListView.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This control renders a list view for the given set of items.

![ListView control with grouping](../assets/ListView-grouping.png)

**List view control with drag and drop applied**

![ListView control with grouping](../assets/ListView-DragDrop.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.
Expand All @@ -30,7 +34,10 @@ import { ListView, IViewField, SelectionMode, GroupOrder, IGrouping } from "@pnp
showFilter={true}
defaultFilter="John"
filterPlaceHolder="Search..."
groupByFields={groupByFields} />
groupByFields={groupByFields}
dragDropFiles={true}
onDrop={this._getDropFiles}
stickyHeader={true} />
```
- The control provides full text filtering through all the columns. If you want to exectue filtering on the specified columns, you can use syntax : `<ColumndName>`:`<FilterValue>`. Use `':'` as a separator between column name and value. Control support both `'fieldName'` and `'name'` properties of IColumn interface.

Expand All @@ -41,7 +48,6 @@ private _getSelection(items: any[]) {
console.log('Selected items:', items);
}
```

- With the `groupByFields` property you can define an array of field objects which will be used for grouping.

**Important**: the same order of the fields defines how grouping will be applied. In the snippet the `ListView` control will first group by the `Extension` and after that by the `Author` field.
Expand All @@ -61,6 +67,16 @@ const groupByFields: IGrouping[] = [
!!! note "Extend ListView with a ContextualMenu"
To extend the `ListView` control with a [ContextualMenu](https://developer.microsoft.com/en-us/fabric#/components/contextualmenu) refer to [ListView.ContextualMenu](./ListView.ContextualMenu.md).

- With the `onDrop` handler you can define a method that returns files that where drag and drop by user in the list view:

```typescript
private _getDropFiles = (files) => {
for (var i = 0; i < files.length; i++) {
console.log(files[i].name);
}
}
```

## Implementation

The ListView control can be configured with the following properties:
Expand All @@ -78,6 +94,9 @@ The ListView control can be configured with the following properties:
| filterPlaceHolder | string | no | Specify the placeholder for the filter text box. Default 'Search' |
| showFilter | boolean | no | Specify if the filter text box should be rendered. |
| defaultFilter | string | no | Specify the initial filter to be applied to the list. |
| dragDropFiles | boolean | no | Specify the drag and drop files area option. Default false. |
| onDrop | file | no | Event handler returns files from drag and drop. |
| stickyHeader | boolean | no | Specifies if the header of the `ListView`, including search box, is sticky |

The `IViewField` has the following implementation:

Expand Down
4 changes: 2 additions & 2 deletions docs/documentation/docs/controls/PeoplePicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ import { PeoplePicker, PrincipalType } from "@pnp/spfx-controls-react/lib/People
showtooltip={true}
isRequired={true}
disabled={true}
selectedItems={this._getPeoplePickerItems}
onChange={this._getPeoplePickerItems}
showHiddenInUI={false}
principalTypes={[PrincipalType.User]}
resolveDelay={1000} />
```

- With the `selectedItems` property you can get the selected People in the Peoplepicker :
- With the `onChange` property you can get the selected People in the `PeoplePicker` :

```typescript
private _getPeoplePickerItems(items: any[]) {
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/docs/controls/TaxonomyPicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ The TaxonomyPicker control can be configured with the following properties:
| ---- | ---- | ---- | ---- |
| panelTitle | string | yes | TermSet Picker Panel title. |
| label | string | yes | Text displayed above the Taxonomy Picker. |
| disabled | string | no | Specify if the control needs to be disabled. |
| disabled | boolean | no | Specify if the control needs to be disabled. |
| context | WebPartContext \| ExtensionContext | yes | Context of the current web part or extension. |
| initialValues | IPickerTerms | no | Defines the selected by default term sets. |
| allowMultipleSelections | boolean | no | Defines if the user can select only one or many term sets. Default value is false. |
Expand Down
4 changes: 3 additions & 1 deletion docs/documentation/docs/controls/TreeView.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import { TreeView, ITreeItem } from "@pnp/spfx-controls-react/lib/TreeView";
treeItemActionsDisplayMode={TreeItemActionsDisplayMode.ContextualMenu}
defaultSelectedKeys={['key1', 'key2']},
expandToSelected={true}
defaultExpandedChildren={true}
onSelect={this.onTreeItemSelect}
onExpandCollapse={this.onTreeItemExpandCollapse}
onRenderItem={this.renderCustomTreeItem} />
Expand Down Expand Up @@ -88,7 +89,7 @@ The `TreeView` control can be configured with the following properties:
| Property | Type | Required | Description |
|--------------------------------|----------------------------|----------|------------------------------------------------------------------------------------------------------------------------------------|
| items | ITreeItem[] | yes | An array of tree items to display. refer [example](#example-of-array-of-tree-items-used-to-render-control-as-in-first-screenshot). |
| defaultExpanded | boolean | no | Specify if the tree items are displayed as expanded by default (defaults to false). |
| defaultExpanded | boolean | no | Specify if the tree items are displayed as expanded by default (defaults to false. |
| selectionMode | enum | no | Specifies the selection mode of tree view (defaults to Single selection). |
| selectChildrenIfParentSelected | boolean | no | Specifies if the childrens should be selected when parent item is selected (defaults to false). |
| showCheckboxes | boolean | yes | Specify if the checkboxes should be displayed for selection. |
Expand All @@ -98,6 +99,7 @@ The `TreeView` control can be configured with the following properties:
| onExpandCollapse | function | no | Defines a onExpandCollapse function to raise when the tree item has expanded or collapsed. |
| onSelect | function | no | Captures the event of when the tree item selection has changed. |
| onRenderItem | function | no | Optional callback to provide custom rendering of the item (default is simple text of item label and a checkbox for selection). |
| defaultExpandedChildren | boolean | no | Default expand / collapse behavior for the child nodes. By default this is set to true. |

Enum `TreeViewSelectionMode`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FieldRendererHelper class is used to automatically apply needed Field Control ba
- Import the following modules to your component:

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

- Use the `FieldRendererHelper.getFieldRenderer` method to asynchronously request proper React control (As the method returns `Promise` it should be called in one of React component lifecycle methods, for example, `componentWillMount` that will occur before `render`):
Expand Down
6 changes: 3 additions & 3 deletions docs/documentation/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

This repository provides developers with a set of reusable React controls that can be used in SharePoint Framework (SPFx) solutions. The project provides controls for building web parts and extensions.

![Placeholder example](./assets/placeholder-intro.png)

!!! attention
In order to migrate to `v2` it is advicded to follow this guide: [Migrating from V1](./guides/migrate-from-v1).

![Placeholder example](./assets/placeholder-intro.png)

!!! attention
The controls project has a minimal dependency on SharePoint Framework version `1.3.0`. Be aware that the controls might not work in solutions your building for SharePoint 2016 with Feature Pack 2 on-premises. As for SharePoint 2016 with Feature Pack 2 version `1.1.0` of the SharePoint framework is the only version that can be used. SharePoint 2019 on-premises uses SharePoint framework `v1.4.0` and therefore should be fine to use with these controls.
`v2` version of the controls project has a minimal dependency on SharePoint Framework version `1.11.0`. `v1` has a minimal dependency on SharePoint Framework version `1.3.0`. Be aware that the controls might not work in solutions your building for SharePoint 2016 with Feature Pack 2 on-premises. As for SharePoint 2016 with Feature Pack 2 version `1.1.0` of the SharePoint framework is the only version that can be used. SharePoint 2019 on-premises uses SharePoint framework `v1.4.0` and therefore should be fine to use with these controls.

## Getting started

Expand Down
Loading