@mikezimm/fps-library-v2 1.0.249 → 1.0.250
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.md
CHANGED
|
@@ -4,14 +4,17 @@ npm run clean
|
|
|
4
4
|
npm run build
|
|
5
5
|
npm version major/minor/patch
|
|
6
6
|
npm publish --access=public
|
|
7
|
-
npm install @mikezimm/fps-library-v2@1.0.
|
|
7
|
+
npm install @mikezimm/fps-library-v2@1.0.250
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
# Changelog
|
|
11
11
|
|
|
12
12
|
NOTE: TURN BACK ON STRICT NULL CHECKS - turned off for PropPaneCols
|
|
13
13
|
|
|
14
|
-
## 1.0.
|
|
14
|
+
## 1.0.250 - 2023-June-27: easyAnalytics.css, _wpInfoGroupExpanded
|
|
15
|
+
- fix WebPartInfoGroup expanded logic with_wpInfoGroupExpanded
|
|
16
|
+
|
|
17
|
+
## 1.0.249 - 2023-June-27: easyAnalytics.css, _wpInfoGroupExpanded
|
|
15
18
|
- add _wpInfoGroupExpanded to IThisFPSWebPartClass, FPSBaseClass and WebPartInfoGroup
|
|
16
19
|
- use _wpInfoGroupExpanded to set expanded property of WebPartInfoGroup
|
|
17
20
|
- npm install @mikezimm/fps-styles@1.0.40
|
|
@@ -10,9 +10,9 @@ import { fpsLogo326 } from '../../components/atoms/SVGIcons/fpsLogo326';
|
|
|
10
10
|
*/
|
|
11
11
|
export function WebPartInfoGroup(thisWPClass, shortDescription, PropertyPaneWebPartInformation) {
|
|
12
12
|
const gitRepoLinks = thisWPClass._repoLink;
|
|
13
|
-
const allowPropsEasyMode = thisWPClass._allowPropsEasyMode
|
|
13
|
+
const allowPropsEasyMode = thisWPClass._allowPropsEasyMode ? true : false; // Allows for auto expanding WebPartInfoGroup on opening the prop pane if desired;
|
|
14
14
|
let infoGroup = { groupName: 'Web Part Info',
|
|
15
|
-
isCollapsed: allowPropsEasyMode === true || thisWPClass.properties.propsEasyMode === true ? false : true,
|
|
15
|
+
isCollapsed: thisWPClass._wpInfoGroupExpanded === true && (allowPropsEasyMode === true || thisWPClass.properties.propsEasyMode === true) ? false : true,
|
|
16
16
|
groupFields: [
|
|
17
17
|
PropertyPaneWebPartInformation({
|
|
18
18
|
description: `<img src='${fpsLogo326}'/>`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebPartInfoGroup.js","sourceRoot":"","sources":["../../../src/banner/propPane/WebPartInfoGroup.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAEjD,OAAO,EACL,gBAAgB,EAAE,kBAAkB,EACrC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAKxE;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAE,WAAiC,EAAE,gBAAqB,EAAE,8BAAmC;IAE7H,MAAM,YAAY,GAAG,WAAW,CAAC,SAAS,CAAC;IAC3C,MAAM,kBAAkB,GAAG,WAAW,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"WebPartInfoGroup.js","sourceRoot":"","sources":["../../../src/banner/propPane/WebPartInfoGroup.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAEjD,OAAO,EACL,gBAAgB,EAAE,kBAAkB,EACrC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAKxE;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAE,WAAiC,EAAE,gBAAqB,EAAE,8BAAmC;IAE7H,MAAM,YAAY,GAAG,WAAW,CAAC,SAAS,CAAC;IAC3C,MAAM,kBAAkB,GAAG,WAAW,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA,kFAAkF;IAE5J,IAAI,SAAS,GAAG,EAAE,SAAS,EAAE,eAAe;QAC5C,WAAW,EAAE,WAAW,CAAC,oBAAoB,KAAK,IAAI,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