diff --git a/CHANGELOG.json b/CHANGELOG.json index ec4f39565..9ea7985ec 100644 --- a/CHANGELOG.json +++ b/CHANGELOG.json @@ -1,5 +1,20 @@ { "versions": [ + { + "version": "3.18.1", + "changes": { + "new": [], + "enhancements": [], + "fixes": [ + "`FilePicker`: Fix issue with adding link by typing in 'From a link' tab [#1814](https://github.com/pnp/sp-dev-fx-controls-react/pull/1814)", + "Update nl-nl.ts [#1823](https://github.com/pnp/sp-dev-fx-controls-react/pull/1823)" + ] + }, + "contributions": [ + "[Antanina Druzhkina](https://github.com/Ateina)", + "[Elio Struyf](https://github.com/estruyf)" + ] + }, { "version": "3.18.0", "changes": { diff --git a/CHANGELOG.md b/CHANGELOG.md index 244ee3c7b..f3f3841fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Releases +## 3.18.1 + +### Fixes + +- `FilePicker`: Fix issue with adding link by typing in 'From a link' tab [#1814](https://github.com/pnp/sp-dev-fx-controls-react/pull/1814) +- Update nl-nl.ts [#1823](https://github.com/pnp/sp-dev-fx-controls-react/pull/1823) + +### Contributors + +Special thanks to our contributors (in alphabetical order): [Antanina Druzhkina](https://github.com/Ateina), [Elio Struyf](https://github.com/estruyf). + ## 3.18.0 ### Enhancements diff --git a/docs/documentation/docs/about/release-notes.md b/docs/documentation/docs/about/release-notes.md index 244ee3c7b..f3f3841fa 100644 --- a/docs/documentation/docs/about/release-notes.md +++ b/docs/documentation/docs/about/release-notes.md @@ -1,5 +1,16 @@ # Releases +## 3.18.1 + +### Fixes + +- `FilePicker`: Fix issue with adding link by typing in 'From a link' tab [#1814](https://github.com/pnp/sp-dev-fx-controls-react/pull/1814) +- Update nl-nl.ts [#1823](https://github.com/pnp/sp-dev-fx-controls-react/pull/1823) + +### Contributors + +Special thanks to our contributors (in alphabetical order): [Antanina Druzhkina](https://github.com/Ateina), [Elio Struyf](https://github.com/estruyf). + ## 3.18.0 ### Enhancements diff --git a/package-lock.json b/package-lock.json index 37d806777..e7589a165 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@pnp/spfx-controls-react", - "version": "3.18.0", + "version": "3.18.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@pnp/spfx-controls-react", - "version": "3.18.0", + "version": "3.18.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 5b789d27a..fcc461385 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@pnp/spfx-controls-react", "description": "Reusable React controls for SharePoint Framework solutions", - "version": "3.18.0", + "version": "3.18.1", "node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0", "scripts": { "build": "gulp build", diff --git a/src/common/telemetry/version.ts b/src/common/telemetry/version.ts index e4ed6e8bb..0cdef5191 100644 --- a/src/common/telemetry/version.ts +++ b/src/common/telemetry/version.ts @@ -1 +1 @@ -export const version: string = "3.18.0"; \ No newline at end of file +export const version: string = "3.18.1"; \ No newline at end of file diff --git a/src/controls/filePicker/LinkFilePickerTab/LinkFilePickerTab.tsx b/src/controls/filePicker/LinkFilePickerTab/LinkFilePickerTab.tsx index d037cb8ed..cc707c005 100644 --- a/src/controls/filePicker/LinkFilePickerTab/LinkFilePickerTab.tsx +++ b/src/controls/filePicker/LinkFilePickerTab/LinkFilePickerTab.tsx @@ -34,7 +34,6 @@ export default class LinkFilePickerTab extends React.Component this._getErrorMessagePromise(value)} autoAdjustHeight={false} underlined={false} @@ -64,7 +63,7 @@ export default class LinkFilePickerTab extends React.Component { - const filePickerResult: IFilePickerResult = fileUrl && this._isUrl(fileUrl) ? { + const filePickerResult: IFilePickerResult = fileUrl ? { fileAbsoluteUrl: fileUrl, fileName: GeneralHelper.getFileNameFromUrl(fileUrl), fileNameWithoutExtension: GeneralHelper.getFileNameWithoutExtension(fileUrl), @@ -81,7 +80,7 @@ export default class LinkFilePickerTab extends React.Component => { // DOn't give an error for blank or placeholder value, but don't make it a valid entry either - if (value === undefined || value === 'https://') { + if (value === undefined || value === '') { this.setState({ isValid: false }); return ''; } @@ -89,7 +88,7 @@ export default class LinkFilePickerTab extends React.Component { "HighlightColorTeal": "Taling", "HighlightColorDarkgreen": "Donkergroen", "HighlightColorPurple": "Paarse", - "HighlightColorMaroon": "Bosneger", + "HighlightColorMaroon": "Kastanjebruin", "HighlightColorGold": "Goud", "HighlightColorDarkgrey": "Donkergrijs", "HighlightColorGrey": "Grijs",