@mikezimm/fps-library-v2 1.1.135 → 1.1.136
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 +5 -2
- package/lib/components/molecules/FPSTiles/functions/packageWPPropsExtras.d.ts +15 -0
- package/lib/components/molecules/FPSTiles/functions/packageWPPropsExtras.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/packageWPPropsExtras.js +29 -0
- package/lib/components/molecules/FPSTiles/functions/packageWPPropsExtras.js.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -27,12 +27,15 @@ npm run clean
|
|
|
27
27
|
npm run build ; npm publish --access=public
|
|
28
28
|
npm version major/minor/patch
|
|
29
29
|
npm publish --access=public
|
|
30
|
-
npm install @mikezimm/fps-library-v2@1.1.
|
|
30
|
+
npm install @mikezimm/fps-library-v2@1.1.136
|
|
31
31
|
|
|
32
32
|
# Changelog
|
|
33
33
|
NOTE: TURN BACK ON STRICT NULL CHECKS - turned off for PropPaneCols
|
|
34
34
|
|
|
35
|
-
## 1.1.
|
|
35
|
+
## 1.1.136 - 2024-Feb 10: gitLinkUp
|
|
36
|
+
- create buildFPSTileEleWPProps and buildFPSTileEleWPExtras for FPSTile set up in MainWP Render
|
|
37
|
+
|
|
38
|
+
## 1.1.135 - 2024-Feb 10: gitLinkUp
|
|
36
39
|
- create gitLinkUp
|
|
37
40
|
|
|
38
41
|
## 1.1.134 - 2024-Feb 10: FPSTile updates
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IFPSTileElementExtras, IFPSTileElementProps } from "../components/FPSTile/IFPSTileElementProps";
|
|
2
|
+
import { IFpsTileComponentWPProps } from "../webPart/IFpsTileComponentWPProps";
|
|
3
|
+
/**
|
|
4
|
+
* Use this in the MainWebPart Render to build eleProps object
|
|
5
|
+
* @param wpProps
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare function buildFPSTileEleWPProps(wpProps: IFpsTileComponentWPProps): IFPSTileElementProps;
|
|
9
|
+
/**
|
|
10
|
+
* Use this in the MainWebPart Render to build eleExtras object
|
|
11
|
+
* @param wpProps
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
export declare function buildFPSTileEleWPExtras(wpProps: IFpsTileComponentWPProps): IFPSTileElementExtras;
|
|
15
|
+
//# sourceMappingURL=packageWPPropsExtras.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packageWPPropsExtras.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/FPSTiles/functions/packageWPPropsExtras.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAA;AACxG,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAE9E;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAE,OAAO,EAAE,wBAAwB,GAAK,oBAAoB,CAUjG;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAE,OAAO,EAAE,wBAAwB,GAAK,qBAAqB,CAUnG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Use this in the MainWebPart Render to build eleProps object
|
|
3
|
+
* @param wpProps
|
|
4
|
+
* @returns
|
|
5
|
+
*/
|
|
6
|
+
export function buildFPSTileEleWPProps(wpProps) {
|
|
7
|
+
const result = {
|
|
8
|
+
// Only updating width because it is needed to auto-refresh the tile width on props change
|
|
9
|
+
Image: { src: ``, css: { width: `${wpProps.tileImgWidth}px` } },
|
|
10
|
+
Link: { href: '' },
|
|
11
|
+
Icon: { name: '' },
|
|
12
|
+
};
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Use this in the MainWebPart Render to build eleExtras object
|
|
17
|
+
* @param wpProps
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
export function buildFPSTileEleWPExtras(wpProps) {
|
|
21
|
+
const result = {
|
|
22
|
+
titleWrap: wpProps.tileTitleWrap,
|
|
23
|
+
tileHighlightColor: wpProps.tileHighlightColor,
|
|
24
|
+
tileLayout: wpProps.tileLayout,
|
|
25
|
+
tileFileImagePriority: wpProps.tileFileImagePriority,
|
|
26
|
+
};
|
|
27
|
+
return result;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=packageWPPropsExtras.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packageWPPropsExtras.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FPSTiles/functions/packageWPPropsExtras.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CAAE,OAAiC;IAEvE,MAAM,MAAM,GAA0B;QACpC,0FAA0F;QAC1F,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,YAAY,IAAI,EAAE,EAAC;QAC9D,IAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;QAClB,IAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;KACnB,CAAA;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CAAE,OAAiC;IAExE,MAAM,MAAM,GAA2B;QACrC,SAAS,EAAE,OAAO,CAAC,aAAa;QAChC,kBAAkB,EAAE,OAAO,CAAC,kBAAkB;QAC9C,UAAU,EAAE,OAAO,CAAC,UAAU;QAC9B,qBAAqB,EAAE,OAAO,CAAC,qBAAqB;KACrD,CAAA;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|