From c85bfdd823693476c4c4de41988b9b9a93afd98f Mon Sep 17 00:00:00 2001 From: Luna Heyman Date: Mon, 6 Nov 2023 14:56:17 +0100 Subject: [PATCH 1/6] fix text selection in code editor and monaco editor --- src/propertyFields/codeEditor/PropertyFieldCodeEditorHost.tsx | 1 + .../monacoEditor/PropertyFieldMonacoEditorHost.tsx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/propertyFields/codeEditor/PropertyFieldCodeEditorHost.tsx b/src/propertyFields/codeEditor/PropertyFieldCodeEditorHost.tsx index 8929bdf5..147ca733 100644 --- a/src/propertyFields/codeEditor/PropertyFieldCodeEditorHost.tsx +++ b/src/propertyFields/codeEditor/PropertyFieldCodeEditorHost.tsx @@ -216,6 +216,7 @@ export default class PropertyFieldCodeEditorHost extends React.Component (
diff --git a/src/propertyFields/monacoEditor/PropertyFieldMonacoEditorHost.tsx b/src/propertyFields/monacoEditor/PropertyFieldMonacoEditorHost.tsx index f375e853..0431fbfe 100644 --- a/src/propertyFields/monacoEditor/PropertyFieldMonacoEditorHost.tsx +++ b/src/propertyFields/monacoEditor/PropertyFieldMonacoEditorHost.tsx @@ -103,7 +103,9 @@ export default class PropertyFieldMonacoEditorHost extends React.Component< }} headerText={strings.MonacoEditorPanelTitle} onRenderFooterContent={this.onRenderFooterContent} - isFooterAtBottom={true}> + isFooterAtBottom={true} + layerProps={{ eventBubblingEnabled: true }} + >
From f9b2f00be3bd72f39688f443167291b10714d9bf Mon Sep 17 00:00:00 2001 From: Alex Terentiev Date: Sat, 2 Dec 2023 15:57:59 -0500 Subject: [PATCH 2/6] back to 3.16.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fa5ecbc6..01bb3001 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@pnp/spfx-property-controls", "description": "Reusable property pane controls for SharePoint Framework solutions", - "version": "3.15.1", + "version": "3.16.0", "engines": { "node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0" }, From 6690099a9544c19e6b3279a3f3c8a0c94c00d3f3 Mon Sep 17 00:00:00 2001 From: Alex Terentiev Date: Sat, 2 Dec 2023 15:58:29 -0500 Subject: [PATCH 3/6] pre-commit --- src/common/telemetry/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/telemetry/version.ts b/src/common/telemetry/version.ts index d2256110..7c110cac 100644 --- a/src/common/telemetry/version.ts +++ b/src/common/telemetry/version.ts @@ -1 +1 @@ -export const version: string = "3.15.1"; \ No newline at end of file +export const version: string = "3.16.0"; \ No newline at end of file From db99fbe482e9e9b13c652425901933ec80ad42a2 Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Tue, 19 Dec 2023 14:21:42 +0100 Subject: [PATCH 4/6] Update changelog --- CHANGELOG.json | 8 ++++++-- CHANGELOG.md | 8 ++++++++ docs/documentation/docs/about/release-notes.md | 8 ++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.json b/CHANGELOG.json index 8ce6c152..801000ce 100644 --- a/CHANGELOG.json +++ b/CHANGELOG.json @@ -5,9 +5,13 @@ "changes": { "new": [], "enhancements": [], - "fixes": [] + "fixes": [ + "`PropertyFieldMonacoEditor` and `PropertyFieldCodeEditor`: fix text selection in code editor [#590](https://github.com/pnp/sp-dev-fx-property-controls/issues/590)" + ] }, - "contributions": [] + "contributions": [ + "[Luna Heyman](https://github.com/toodeluna)" + ] }, { "version": "3.15.1", diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ba84b86..7719cba2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## 3.16.0 +### Fixes + +- `PropertyFieldMonacoEditor` and `PropertyFieldCodeEditor`: fix text selection in code editor [#590](https://github.com/pnp/sp-dev-fx-property-controls/issues/590) + +### Contributors + +Special thanks to our contributor: [Luna Heyman](https://github.com/toodeluna). + ## 3.15.1 ### Fixes diff --git a/docs/documentation/docs/about/release-notes.md b/docs/documentation/docs/about/release-notes.md index 9ba84b86..7719cba2 100644 --- a/docs/documentation/docs/about/release-notes.md +++ b/docs/documentation/docs/about/release-notes.md @@ -2,6 +2,14 @@ ## 3.16.0 +### Fixes + +- `PropertyFieldMonacoEditor` and `PropertyFieldCodeEditor`: fix text selection in code editor [#590](https://github.com/pnp/sp-dev-fx-property-controls/issues/590) + +### Contributors + +Special thanks to our contributor: [Luna Heyman](https://github.com/toodeluna). + ## 3.15.1 ### Fixes From b4bb3a999c2c29fa67c567623ceffbdb0c43fd4b Mon Sep 17 00:00:00 2001 From: matteo <> Date: Wed, 20 Dec 2023 17:56:32 +0100 Subject: [PATCH 5/6] disable site picker searchbox --- src/propertyFields/sitePicker/PropertyFieldSitePickerHost.tsx | 1 + .../propertyControlsTest/PropertyControlsTestWebPart.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/propertyFields/sitePicker/PropertyFieldSitePickerHost.tsx b/src/propertyFields/sitePicker/PropertyFieldSitePickerHost.tsx index be1d7309..b9c7c475 100644 --- a/src/propertyFields/sitePicker/PropertyFieldSitePickerHost.tsx +++ b/src/propertyFields/sitePicker/PropertyFieldSitePickerHost.tsx @@ -90,6 +90,7 @@ export default class PropertyFieldSitePickerHost extends React.Component {this.props.label && } diff --git a/src/webparts/propertyControlsTest/PropertyControlsTestWebPart.ts b/src/webparts/propertyControlsTest/PropertyControlsTestWebPart.ts index a19b9fca..d3cb525f 100644 --- a/src/webparts/propertyControlsTest/PropertyControlsTestWebPart.ts +++ b/src/webparts/propertyControlsTest/PropertyControlsTestWebPart.ts @@ -775,7 +775,8 @@ export default class PropertyControlsTestWebPart extends BaseClientSideWebPart Date: Tue, 16 Jan 2024 10:24:35 +0000 Subject: [PATCH 6/6] changelog --- CHANGELOG.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.json b/CHANGELOG.json index 801000ce..85fb0e07 100644 --- a/CHANGELOG.json +++ b/CHANGELOG.json @@ -4,13 +4,16 @@ "version": "3.16.0", "changes": { "new": [], - "enhancements": [], + "enhancements": [ + "`PropertyFieldSitePicker`: disabled property not implemented in UI [#577](https://github.com/pnp/sp-dev-fx-property-controls/issues/577)" + ], "fixes": [ "`PropertyFieldMonacoEditor` and `PropertyFieldCodeEditor`: fix text selection in code editor [#590](https://github.com/pnp/sp-dev-fx-property-controls/issues/590)" ] }, "contributions": [ - "[Luna Heyman](https://github.com/toodeluna)" + "[Luna Heyman](https://github.com/toodeluna)", + "[srpmtt](https://github.com/srpmtt)" ] }, {