@pnp/spfx-controls-react 3.21.0-beta.1227355 → 3.21.0-beta.1228026
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.json
CHANGED
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
"enhancements": [],
|
|
8
8
|
"fixes": [
|
|
9
9
|
"`ListItemComments`: Can't select text from comment [#1874](https://github.com/pnp/sp-dev-fx-controls-react/issues/1874)",
|
|
10
|
-
"`Localization`: Bad translations in DateTimePicker control [#1909](https://github.com/pnp/sp-dev-fx-controls-react/issues/1909)"
|
|
10
|
+
"`Localization`: Bad translations in DateTimePicker control [#1909](https://github.com/pnp/sp-dev-fx-controls-react/issues/1909)",
|
|
11
|
+
"`WebPartTitle`: Control Fails to Update After Initial Save [#1877](https://github.com/pnp/sp-dev-fx-controls-react/issues/1877)"
|
|
11
12
|
]
|
|
12
13
|
},
|
|
13
14
|
"contributions": [
|
|
14
15
|
"[Alessandro Chiavarino](https://github.com/Alesso-Chiavarino)",
|
|
15
|
-
"[Antanina Druzhkina](https://github.com/Ateina)"
|
|
16
|
+
"[Antanina Druzhkina](https://github.com/Ateina)",
|
|
17
|
+
"[EnablingLogic](https://github.com/EnablingLogic)"
|
|
16
18
|
]
|
|
17
19
|
},
|
|
18
20
|
{
|
package/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
- `ListItemComments`: Can't select text from comment [#1874](https://github.com/pnp/sp-dev-fx-controls-react/issues/1874)
|
|
8
8
|
- `Localization`: Bad translations in DateTimePicker control [#1909](https://github.com/pnp/sp-dev-fx-controls-react/issues/1909)
|
|
9
|
+
- `WebPartTitle`: Control Fails to Update After Initial Save [#1877](https://github.com/pnp/sp-dev-fx-controls-react/issues/1877)
|
|
9
10
|
|
|
10
11
|
### Contributors
|
|
11
12
|
|
|
12
|
-
Special thanks to our contributors (in alphabetical order): [Alessandro Chiavarino](https://github.com/Alesso-Chiavarino), [Antanina Druzhkina](https://github.com/Ateina).
|
|
13
|
+
Special thanks to our contributors (in alphabetical order): [Alessandro Chiavarino](https://github.com/Alesso-Chiavarino), [Antanina Druzhkina](https://github.com/Ateina), [EnablingLogic](https://github.com/EnablingLogic).
|
|
13
14
|
|
|
14
15
|
## 3.20.0
|
|
15
16
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var version = "3.21.0-beta.
|
|
1
|
+
export var version = "3.21.0-beta.1228026";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -50,7 +50,7 @@ var WebPartTitle = /** @class */ (function (_super) {
|
|
|
50
50
|
if (this.props.title || this.props.moreLink || this.props.displayMode === DisplayMode.Edit) {
|
|
51
51
|
return (React.createElement("div", { className: "".concat(styles.webPartHeader, " ").concat(this.props.className ? this.props.className : "") },
|
|
52
52
|
React.createElement("div", { className: styles.webPartTitle, style: { color: color } },
|
|
53
|
-
this.props.displayMode === DisplayMode.Edit && (React.createElement("textarea", { placeholder: this.props.placeholder ? this.props.placeholder : strings.WebPartTitlePlaceholder, "aria-label": strings.WebPartTitleLabel, onChange: this._onChange,
|
|
53
|
+
this.props.displayMode === DisplayMode.Edit && (React.createElement("textarea", { placeholder: this.props.placeholder ? this.props.placeholder : strings.WebPartTitlePlaceholder, "aria-label": strings.WebPartTitleLabel, onChange: this._onChange, defaultValue: this.props.title })),
|
|
54
54
|
this.props.displayMode !== DisplayMode.Edit && this.props.title && React.createElement("span", { role: "heading", "aria-level": 2 }, this.props.title)),
|
|
55
55
|
this.props.moreLink && (React.createElement("span", { className: styles.moreLink }, typeof this.props.moreLink === "function" ? this.props.moreLink() : this.props.moreLink))));
|
|
56
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebPartTitle.js","sourceRoot":"","sources":["../../../src/controls/webPartTitle/WebPartTitle.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,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AM,SAAS,EAAE,MAAM,CAAC,QAAQ,IAE5B,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAEpF,CACR,CAEC,CACP,CAAC;SACH;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IACH,mBAAC;AAAD,CAAC,AA3DD,CAAkC,KAAK,CAAC,SAAS,GA2DhD"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/spfx-controls-react",
|
|
3
3
|
"description": "Reusable React controls for SharePoint Framework solutions",
|
|
4
|
-
"version": "3.21.0-beta.
|
|
4
|
+
"version": "3.21.0-beta.1228026",
|
|
5
5
|
"node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "gulp build",
|