@mikezimm/fps-library-v2 2.0.95 → 2.0.96
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/lib/PackageVersion.js +3 -3
- package/lib/common/commandStyles/adjustCmdThemes.d.ts +0 -26
- package/lib/common/commandStyles/adjustCmdThemes.d.ts.map +1 -1
- package/lib/common/commandStyles/adjustCmdThemes.js +45 -53
- package/lib/common/commandStyles/adjustCmdThemes.js.map +1 -1
- package/lib/common/commandStyles/defaults.d.ts +0 -47
- package/lib/common/commandStyles/defaults.d.ts.map +1 -1
- package/lib/common/commandStyles/defaults.js +221 -217
- package/lib/common/commandStyles/defaults.js.map +1 -1
- package/package.json +2 -2
package/lib/PackageVersion.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const PackageNameFpsLv2 = 'fps-library-v2';
|
|
2
|
-
export const PackageVersionFpsLv2 = '2.0.
|
|
3
|
-
export const PackageVersionLabelFpsLv2 = 'fps-library-v2@2.0.
|
|
4
|
-
export const PackageVersionTimeFpsLv2 = '1/
|
|
2
|
+
export const PackageVersionFpsLv2 = '2.0.96';
|
|
3
|
+
export const PackageVersionLabelFpsLv2 = 'fps-library-v2@2.0.96';
|
|
4
|
+
export const PackageVersionTimeFpsLv2 = '1/23/2025, 1:39:05 AM EST';
|
|
5
5
|
//# sourceMappingURL=PackageVersion.js.map
|
|
@@ -1,27 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
|
|
3
|
-
* Update:: import { defaultBannerCommandStyles } to '@mikezimm/fps-core-v7/lib/common/commandStyles/defaults;'
|
|
4
|
-
|
|
5
|
-
*/
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
type stringOrNull = string | null;
|
|
8
|
-
export declare function adjustCmdStyles(bannerCmdReactCSS: React.CSSProperties, margin: stringOrNull, backgroundColor: stringOrNull, color: stringOrNull, fontSize: stringOrNull, padding: stringOrNull): React.CSSProperties;
|
|
9
|
-
export declare function alvFMCmdStyles(bannerCmdReactCSS: React.CSSProperties): React.CSSProperties;
|
|
10
|
-
export declare function pageInfoCmdStyles(bannerCmdReactCSS: React.CSSProperties): React.CSSProperties;
|
|
11
|
-
/**
|
|
12
|
-
* This is used by ss7 for buttons on Code Page - white buttons, black color for gray canvas
|
|
13
|
-
* Just adjusts the margin on default white/black buttons
|
|
14
|
-
* @param bannerCmdReactCSS
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
export declare function adjustDefaultCmdMargin(margin: stringOrNull): React.CSSProperties;
|
|
18
|
-
/**
|
|
19
|
-
* This is used by ss7 for creating buttons with different colors (like red and yellow)
|
|
20
|
-
* @param margin
|
|
21
|
-
* @param backgroundColor
|
|
22
|
-
* @param color
|
|
23
|
-
* @returns
|
|
24
|
-
*/
|
|
25
|
-
export declare function adjustDefaultCmdColorMargin(margin: stringOrNull, backgroundColor: stringOrNull, color: stringOrNull): React.CSSProperties;
|
|
26
|
-
export {};
|
|
27
1
|
//# sourceMappingURL=adjustCmdThemes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adjustCmdThemes.d.ts","sourceRoot":"","sources":["../../../src/common/commandStyles/adjustCmdThemes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"adjustCmdThemes.d.ts","sourceRoot":"","sources":["../../../src/common/commandStyles/adjustCmdThemes.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +1,46 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { defaultBannerCommandStyles } from '@mikezimm/fps-core-v7/lib/common/commandStyles/defaults';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
export function
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* @param color
|
|
47
|
-
* @returns
|
|
48
|
-
*/
|
|
49
|
-
export function adjustDefaultCmdColorMargin(margin, backgroundColor, color) {
|
|
50
|
-
const finalCSS = adjustCmdStyles(defaultBannerCommandStyles, margin, backgroundColor, color, null, null);
|
|
51
|
-
return finalCSS;
|
|
52
|
-
}
|
|
53
|
-
;
|
|
1
|
+
// /**
|
|
2
|
+
// * CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
|
|
3
|
+
// * Update:: import { defaultBannerCommandStyles } to '@mikezimm/fps-core-v7/lib/common/commandStyles/defaults;'
|
|
4
|
+
// */
|
|
5
|
+
// import * as React from 'react';
|
|
6
|
+
// import { defaultBannerCommandStyles } from '@mikezimm/fps-core-v7/lib/common/commandStyles/defaults';
|
|
7
|
+
// type stringOrNull = string | null;
|
|
8
|
+
// export function adjustCmdStyles( bannerCmdReactCSS: React.CSSProperties, margin: stringOrNull, backgroundColor: stringOrNull, color: stringOrNull, fontSize: stringOrNull, padding: stringOrNull ) {
|
|
9
|
+
// const propsCmdCSS: React.CSSProperties = JSON.parse(JSON.stringify( bannerCmdReactCSS ));
|
|
10
|
+
// if ( margin !== null ) propsCmdCSS.marginLeft = margin;
|
|
11
|
+
// if ( backgroundColor !== null ) propsCmdCSS.backgroundColor = backgroundColor;
|
|
12
|
+
// if ( color !== null ) propsCmdCSS.color = color;
|
|
13
|
+
// if ( fontSize !== null ) propsCmdCSS.fontSize = fontSize;
|
|
14
|
+
// if ( padding !== null ) propsCmdCSS.padding = padding;
|
|
15
|
+
// return propsCmdCSS;
|
|
16
|
+
// }
|
|
17
|
+
// export function alvFMCmdStyles( bannerCmdReactCSS: React.CSSProperties ): React.CSSProperties {
|
|
18
|
+
// const finalCSS: React.CSSProperties = adjustCmdStyles( bannerCmdReactCSS, '0px 0px 0px 30px', 'transparent', null, '24px', null );
|
|
19
|
+
// return finalCSS;
|
|
20
|
+
// };
|
|
21
|
+
// export function pageInfoCmdStyles( bannerCmdReactCSS: React.CSSProperties ): React.CSSProperties {
|
|
22
|
+
// const finalCSS: React.CSSProperties = adjustCmdStyles( bannerCmdReactCSS, '0px 0px 0px 30px', 'transparent', null, null, null );
|
|
23
|
+
// return finalCSS;
|
|
24
|
+
// };
|
|
25
|
+
// /**
|
|
26
|
+
// * This is used by ss7 for buttons on Code Page - white buttons, black color for gray canvas
|
|
27
|
+
// * Just adjusts the margin on default white/black buttons
|
|
28
|
+
// * @param bannerCmdReactCSS
|
|
29
|
+
// * @returns
|
|
30
|
+
// */
|
|
31
|
+
// export function adjustDefaultCmdMargin( margin: stringOrNull ): React.CSSProperties {
|
|
32
|
+
// const finalCSS: React.CSSProperties = adjustCmdStyles( defaultBannerCommandStyles, margin, null, null, null, null );
|
|
33
|
+
// return finalCSS;
|
|
34
|
+
// };
|
|
35
|
+
// /**
|
|
36
|
+
// * This is used by ss7 for creating buttons with different colors (like red and yellow)
|
|
37
|
+
// * @param margin
|
|
38
|
+
// * @param backgroundColor
|
|
39
|
+
// * @param color
|
|
40
|
+
// * @returns
|
|
41
|
+
// */
|
|
42
|
+
// export function adjustDefaultCmdColorMargin( margin: stringOrNull, backgroundColor: stringOrNull, color: stringOrNull, ): React.CSSProperties {
|
|
43
|
+
// const finalCSS: React.CSSProperties = adjustCmdStyles( defaultBannerCommandStyles, margin, backgroundColor, color, null, null );
|
|
44
|
+
// return finalCSS;
|
|
45
|
+
// };
|
|
54
46
|
//# sourceMappingURL=adjustCmdThemes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adjustCmdThemes.js","sourceRoot":"","sources":["../../../src/common/commandStyles/adjustCmdThemes.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"adjustCmdThemes.js","sourceRoot":"","sources":["../../../src/common/commandStyles/adjustCmdThemes.ts"],"names":[],"mappings":"AAAA,MAAM;AACN,mEAAmE;AACnE,kHAAkH;AAElH,MAAM;AAEN,kCAAkC;AAClC,wGAAwG;AAExG,qCAAqC;AAErC,wMAAwM;AAExM,8FAA8F;AAE9F,4DAA4D;AAC5D,mFAAmF;AACnF,qDAAqD;AACrD,8DAA8D;AAC9D,2DAA2D;AAE3D,wBAAwB;AAExB,IAAI;AAEJ,kGAAkG;AAElG,uIAAuI;AACvI,qBAAqB;AAErB,KAAK;AAEL,qGAAqG;AAErG,qIAAqI;AACrI,qBAAqB;AAErB,KAAK;AAEL,MAAM;AACN,+FAA+F;AAC/F,4DAA4D;AAC5D,8BAA8B;AAC9B,cAAc;AACd,MAAM;AACN,wFAAwF;AAExF,yHAAyH;AACzH,qBAAqB;AAErB,KAAK;AAEL,MAAM;AACN,0FAA0F;AAC1F,mBAAmB;AACnB,4BAA4B;AAC5B,kBAAkB;AAClB,cAAc;AACd,MAAM;AACN,kJAAkJ;AAElJ,qIAAqI;AACrI,qBAAqB;AAErB,KAAK"}
|
|
@@ -1,48 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52
|
|
3
|
-
* Update:: import { IPropertyPaneDropdownOption } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane;'
|
|
4
|
-
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
|
|
8
|
-
* Update:: import { IPropertyPaneDropdownOption } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane;'
|
|
9
|
-
|
|
10
|
-
*/
|
|
11
|
-
import * as React from "react";
|
|
12
|
-
export declare const defaultBannerCommandStyles: React.CSSProperties;
|
|
13
|
-
export declare const baseBannerStyles: React.CSSProperties;
|
|
14
|
-
export declare const baseBannerCmdStyles: React.CSSProperties;
|
|
15
|
-
export declare const corpDark1: React.CSSProperties;
|
|
16
|
-
export declare const corpWhite1: React.CSSProperties;
|
|
17
|
-
export declare const corpDark2: React.CSSProperties;
|
|
18
|
-
export declare const corpWhite2: React.CSSProperties;
|
|
19
|
-
export declare const transparentBlack: React.CSSProperties;
|
|
20
|
-
export declare const transparentWhite: React.CSSProperties;
|
|
21
|
-
export declare const redDark: React.CSSProperties;
|
|
22
|
-
export declare const redLight: React.CSSProperties;
|
|
23
|
-
export declare const greenDark: React.CSSProperties;
|
|
24
|
-
export declare const greenLight: React.CSSProperties;
|
|
25
|
-
export declare const ukraine: React.CSSProperties;
|
|
26
|
-
export declare const darkBrown: React.CSSProperties;
|
|
27
|
-
export declare const darkPurple: React.CSSProperties;
|
|
28
|
-
export declare const fireOrange: React.CSSProperties;
|
|
29
|
-
export declare const halloween: React.CSSProperties;
|
|
30
|
-
export declare const lightCharcoal: React.CSSProperties;
|
|
31
|
-
export declare const medCharcoal: React.CSSProperties;
|
|
32
|
-
export declare const darkCharcoal: React.CSSProperties;
|
|
33
|
-
export declare const bkat: React.CSSProperties;
|
|
34
|
-
export declare const bumbleBee: React.CSSProperties;
|
|
35
|
-
export declare const beebulBum: React.CSSProperties;
|
|
36
|
-
export declare const periwinkle: React.CSSProperties;
|
|
37
|
-
export declare const darkTeal: React.CSSProperties;
|
|
38
|
-
export declare const lightTeal: React.CSSProperties;
|
|
39
|
-
export declare const bannerThemes: React.CSSProperties[];
|
|
40
|
-
export declare const bannerThemeKeys: string[];
|
|
41
|
-
export declare function makeCSSPropPaneString(obj: React.CSSProperties): string;
|
|
42
|
-
export declare function createBannerStyleStr(choice: string, cmdOrBanner: 'cmd' | 'banner'): string;
|
|
43
|
-
export declare function createBannerStyleObj(choice: string, cmdOrBanner: 'cmd' | 'banner'): React.CSSProperties;
|
|
44
|
-
export declare function createBannerStyle(choice: string, cmdOrBanner: 'cmd' | 'banner', asString: boolean): any;
|
|
45
|
-
import { IPropertyPaneDropdownOption } from '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane';
|
|
46
|
-
export declare const bannerThemeChoices: IPropertyPaneDropdownOption[];
|
|
47
|
-
export declare const bannerInfoEleChoices: IPropertyPaneDropdownOption[];
|
|
48
1
|
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/common/commandStyles/defaults.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/common/commandStyles/defaults.ts"],"names":[],"mappings":""}
|
|
@@ -1,218 +1,222 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
//
|
|
82
|
-
export const
|
|
83
|
-
|
|
84
|
-
};
|
|
85
|
-
// https://github.com/mikezimm/pivottiles7/issues/376
|
|
86
|
-
//
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
//
|
|
91
|
-
//
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
export function
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
export function
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
1
|
+
// /**
|
|
2
|
+
// * CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52
|
|
3
|
+
// * Update:: import { IPropertyPaneDropdownOption } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane;'
|
|
4
|
+
// */
|
|
5
|
+
// /**
|
|
6
|
+
// * CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
|
|
7
|
+
// * Update:: import { IPropertyPaneDropdownOption } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane;'
|
|
8
|
+
// */
|
|
9
|
+
// import * as React from "react";
|
|
10
|
+
// export const defaultBannerCommandStyles : React.CSSProperties = {
|
|
11
|
+
// backgroundColor: 'white' ,
|
|
12
|
+
// color: 'black' ,
|
|
13
|
+
// fontSize: 20,
|
|
14
|
+
// fontWeight: 'normal',
|
|
15
|
+
// fontStyle: 'normal',
|
|
16
|
+
// padding: '7px',
|
|
17
|
+
// margin: '0px 4px',
|
|
18
|
+
// borderRadius: '5px',
|
|
19
|
+
// cursor: 'pointer',
|
|
20
|
+
// };
|
|
21
|
+
// export const baseBannerStyles : React.CSSProperties = {
|
|
22
|
+
// color: 'black',
|
|
23
|
+
// backgroundColor: '#cfcfcf',
|
|
24
|
+
// fontSize: 'larger',
|
|
25
|
+
// fontWeight: 600,
|
|
26
|
+
// fontStyle: 'normal',
|
|
27
|
+
// padding: '0px 10px',
|
|
28
|
+
// // margin: '0px 4px',
|
|
29
|
+
// height: '48px', //48px is the height of the top app bar and waffle for when doing full page app
|
|
30
|
+
// cursor: 'pointer',
|
|
31
|
+
// }
|
|
32
|
+
// export const baseBannerCmdStyles : React.CSSProperties = {
|
|
33
|
+
// color: 'black',
|
|
34
|
+
// backgroundColor: 'white',
|
|
35
|
+
// fontSize: 20,
|
|
36
|
+
// fontWeight: 'normal',
|
|
37
|
+
// fontStyle: 'normal',
|
|
38
|
+
// padding: '7px',
|
|
39
|
+
// marginRight: '5px',
|
|
40
|
+
// borderRadius: '5px',
|
|
41
|
+
// cursor: 'pointer',
|
|
42
|
+
// }
|
|
43
|
+
// export const corpDark1 : React.CSSProperties = {
|
|
44
|
+
// backgroundColor: '#005495' , color: 'white' ,
|
|
45
|
+
// };
|
|
46
|
+
// export const corpWhite1 : React.CSSProperties = {
|
|
47
|
+
// backgroundColor: 'white' , color: '#005495' ,
|
|
48
|
+
// };
|
|
49
|
+
// export const corpDark2 : React.CSSProperties = {
|
|
50
|
+
// backgroundColor: '#0078D7' , color: 'white' ,
|
|
51
|
+
// };
|
|
52
|
+
// export const corpWhite2 : React.CSSProperties = {
|
|
53
|
+
// backgroundColor: 'white' , color: '#0078D7' ,
|
|
54
|
+
// };
|
|
55
|
+
// export const transparentBlack : React.CSSProperties = { // Added 2023-04-29: https://github.com/mikezimm/Slick-Sections/issues/34
|
|
56
|
+
// backgroundColor: 'transparent' , color: 'black' ,
|
|
57
|
+
// };
|
|
58
|
+
// export const transparentWhite : React.CSSProperties = { // Added 2023-04-29: https://github.com/mikezimm/Slick-Sections/issues/34
|
|
59
|
+
// backgroundColor: 'transparent' , color: 'white' ,
|
|
60
|
+
// };
|
|
61
|
+
// export const redDark : React.CSSProperties = {
|
|
62
|
+
// backgroundColor: '#C80000' , color: 'white' ,
|
|
63
|
+
// };
|
|
64
|
+
// export const redLight : React.CSSProperties = {
|
|
65
|
+
// backgroundColor: 'white' , color: '#C80000' ,
|
|
66
|
+
// };
|
|
67
|
+
// export const greenDark : React.CSSProperties = {
|
|
68
|
+
// backgroundColor: '#147A1E' , color: 'white' ,
|
|
69
|
+
// };
|
|
70
|
+
// export const greenLight : React.CSSProperties = {
|
|
71
|
+
// backgroundColor: 'white' , color: '#147A1E' ,
|
|
72
|
+
// };
|
|
73
|
+
// export const ukraine : React.CSSProperties = {
|
|
74
|
+
// backgroundColor: '#005BBB' , color: '#FFD500' ,
|
|
75
|
+
// };
|
|
76
|
+
// export const darkBrown : React.CSSProperties = {
|
|
77
|
+
// backgroundColor: '#9b2e0d' , color: 'white' ,
|
|
78
|
+
// };
|
|
79
|
+
// export const darkPurple : React.CSSProperties = {
|
|
80
|
+
// backgroundColor: '#651FFF' , color: 'white' ,
|
|
81
|
+
// };
|
|
82
|
+
// export const fireOrange : React.CSSProperties = {
|
|
83
|
+
// backgroundColor: '#FF6D00' , color: '#FFFF00' ,
|
|
84
|
+
// };
|
|
85
|
+
// // https://github.com/mikezimm/pivottiles7/issues/376
|
|
86
|
+
// export const halloween : React.CSSProperties = {
|
|
87
|
+
// backgroundColor: '#FF8F00' , color: 'black' ,
|
|
88
|
+
// };
|
|
89
|
+
// // https://github.com/mikezimm/pivottiles7/issues/376
|
|
90
|
+
// // lightCharcoal was truely lightened
|
|
91
|
+
// export const lightCharcoal : React.CSSProperties = {
|
|
92
|
+
// backgroundColor: '#000000c7' , color: 'yellow' ,
|
|
93
|
+
// };
|
|
94
|
+
// // https://github.com/mikezimm/pivottiles7/issues/376
|
|
95
|
+
// // medCharcoal created Jul 2024 which is the same as the original 'lightCharcoal'
|
|
96
|
+
// export const medCharcoal : React.CSSProperties = {
|
|
97
|
+
// backgroundColor: '#000000ad' , color: 'yellow' ,
|
|
98
|
+
// };
|
|
99
|
+
// export const darkCharcoal : React.CSSProperties = {
|
|
100
|
+
// backgroundColor: '#000000e0' , color: 'yellow' ,
|
|
101
|
+
// };
|
|
102
|
+
// export const bkat : React.CSSProperties = {
|
|
103
|
+
// backgroundColor: 'black' , color: 'pink' ,
|
|
104
|
+
// };
|
|
105
|
+
// export const bumbleBee : React.CSSProperties = {
|
|
106
|
+
// backgroundColor: 'yellow' , color: 'black' ,
|
|
107
|
+
// };
|
|
108
|
+
// export const beebulBum : React.CSSProperties = {
|
|
109
|
+
// backgroundColor: 'black' , color: 'yellow' ,
|
|
110
|
+
// };
|
|
111
|
+
// export const periwinkle : React.CSSProperties = {
|
|
112
|
+
// backgroundColor: '#5B5FC7' , color: 'white' ,
|
|
113
|
+
// };
|
|
114
|
+
// export const darkTeal : React.CSSProperties = {
|
|
115
|
+
// backgroundColor: '#03787c' , color: 'white' ,
|
|
116
|
+
// };
|
|
117
|
+
// export const lightTeal : React.CSSProperties = {
|
|
118
|
+
// backgroundColor: '#98d6d8' , color: 'black' ,
|
|
119
|
+
// };
|
|
120
|
+
// export const bannerThemes = [
|
|
121
|
+
// defaultBannerCommandStyles,
|
|
122
|
+
// corpDark1, corpWhite1,
|
|
123
|
+
// corpDark2, corpWhite2,
|
|
124
|
+
// transparentBlack, transparentWhite, // Added 2023-04-29: https://github.com/mikezimm/Slick-Sections/issues/34
|
|
125
|
+
// bumbleBee, beebulBum,
|
|
126
|
+
// darkTeal, lightTeal,
|
|
127
|
+
// periwinkle,
|
|
128
|
+
// redDark, redLight,
|
|
129
|
+
// greenDark, greenLight,
|
|
130
|
+
// ukraine, darkBrown,
|
|
131
|
+
// darkPurple, fireOrange, halloween,
|
|
132
|
+
// lightCharcoal, medCharcoal, darkCharcoal, bkat
|
|
133
|
+
// ];
|
|
134
|
+
// export const bannerThemeKeys = [
|
|
135
|
+
// 'defaultBannerCommandStyles',
|
|
136
|
+
// 'corpDark1', 'corpWhite1',
|
|
137
|
+
// 'corpDark2', 'corpWhite2',
|
|
138
|
+
// 'transparentBlack', 'transparentWhite', // Added 2023-04-29: https://github.com/mikezimm/Slick-Sections/issues/34
|
|
139
|
+
// 'bumbleBee', 'beebulBum',
|
|
140
|
+
// 'darkTeal', 'lightTeal',
|
|
141
|
+
// 'periwinkle',
|
|
142
|
+
// 'redDark', 'redLight',
|
|
143
|
+
// 'greenDark', 'greenLight',
|
|
144
|
+
// 'ukraine' , 'darkBrown',
|
|
145
|
+
// 'darkPurple', 'fireOrange', 'halloween',
|
|
146
|
+
// 'lightCharcoal', 'medCharcoal', 'darkCharcoal', 'bkat',
|
|
147
|
+
// 'custom', 'lock',
|
|
148
|
+
// ];
|
|
149
|
+
// export function makeCSSPropPaneString( obj: React.CSSProperties ) {
|
|
150
|
+
// let result = JSON.stringify( obj ? obj : {} );
|
|
151
|
+
// result.replace(/'/g, '"');
|
|
152
|
+
// return result;
|
|
153
|
+
// }
|
|
154
|
+
// export function createBannerStyleStr( choice: string, cmdOrBanner: 'cmd' | 'banner' ) {
|
|
155
|
+
// let result: string = createBannerStyle( choice, cmdOrBanner, true );
|
|
156
|
+
// return result;
|
|
157
|
+
// }
|
|
158
|
+
// export function createBannerStyleObj( choice: string, cmdOrBanner: 'cmd' | 'banner' ) {
|
|
159
|
+
// let result: React.CSSProperties = createBannerStyle( choice, cmdOrBanner, false );
|
|
160
|
+
// return result;
|
|
161
|
+
// }
|
|
162
|
+
// export function createBannerStyle( choice: string, cmdOrBanner: 'cmd' | 'banner', asString: boolean ) {
|
|
163
|
+
// const base = cmdOrBanner === 'cmd' ? baseBannerCmdStyles: baseBannerStyles;
|
|
164
|
+
// let baseCSS: any = JSON.parse( JSON.stringify( base ));
|
|
165
|
+
// let idx = choice ? bannerThemeKeys.indexOf( choice ) : 0;
|
|
166
|
+
// if ( choice && idx > 0 ) {
|
|
167
|
+
// let themeCSS: any = JSON.parse( JSON.stringify( bannerThemes[ idx ] ));
|
|
168
|
+
// Object.keys( themeCSS ).map ( key => {
|
|
169
|
+
// baseCSS[ key ] = themeCSS[ key ];
|
|
170
|
+
// });
|
|
171
|
+
// }
|
|
172
|
+
// if ( asString === true ) {
|
|
173
|
+
// return makeCSSPropPaneString ( baseCSS ) as any;
|
|
174
|
+
// } else {
|
|
175
|
+
// return baseCSS as React.CSSProperties;
|
|
176
|
+
// }
|
|
177
|
+
// }
|
|
178
|
+
// import { IPropertyPaneDropdownOption, } from '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane';
|
|
179
|
+
// export const bannerThemeChoices: IPropertyPaneDropdownOption[] = <IPropertyPaneDropdownOption[]>[
|
|
180
|
+
// { index: 0, key: 'defaultBannerCommandStyles', text: "Default" },
|
|
181
|
+
// { index: 1, key: 'corpDark1', text: "corpDark1" },
|
|
182
|
+
// { index: 2, key: 'corpWhite1', text: "corpWhite1" },
|
|
183
|
+
// { index: 3, key: 'corpDark2', text: "corpDark2" },
|
|
184
|
+
// { index: 4, key: 'corpWhite2', text: "corpWhite2" },
|
|
185
|
+
// { index: 5, key: 'transparentBlack', text: "transparentBlack" }, // Added 2023-04-29: https://github.com/mikezimm/Slick-Sections/issues/34
|
|
186
|
+
// { index: 6, key: 'transparentWhite', text: "transparentWhite" }, // Added 2023-04-29: https://github.com/mikezimm/Slick-Sections/issues/34
|
|
187
|
+
// { index: 7, key: 'bumbleBee', text: "bumbleBee" },
|
|
188
|
+
// { index: 7, key: 'beebulBum', text: "beebulBum" },
|
|
189
|
+
// { index: 7, key: 'darkTeal', text: "darkTeal" },
|
|
190
|
+
// { index: 7, key: 'lightTeal', text: "lightTeal" },
|
|
191
|
+
// { index: 7, key: 'periwinkle', text: "periwinkle" },
|
|
192
|
+
// { index: 7, key: 'redDark', text: "redDark" },
|
|
193
|
+
// { index: 8, key: 'redLight', text: "redLight" },
|
|
194
|
+
// { index: 9, key: 'greenDark', text: "greenDark" },
|
|
195
|
+
// { index: 10, key: 'greenLight', text: "greenLight" },
|
|
196
|
+
// { index: 11, key: 'ukraine', text: "Ukraine" },
|
|
197
|
+
// { index: 12, key: 'darkBrown', text: "darkBrown" },
|
|
198
|
+
// { index: 13, key: 'darkPurple', text: "darkPurple" },
|
|
199
|
+
// { index: 14, key: 'fireOrange', text: "fireOrange" },
|
|
200
|
+
// { index: 14, key: 'halloween', text: "halloween" },
|
|
201
|
+
// { index: 15, key: 'lightCharcoal', text: "lightCharcoal" },
|
|
202
|
+
// { index: 16, key: 'medCharcoal', text: "medCharcoal" },
|
|
203
|
+
// { index: 17, key: 'darkCharcoal', text: "darkCharcoal" },
|
|
204
|
+
// { index: 18, key: 'bkat', text: "bkat" },
|
|
205
|
+
// { index: 19, key: 'custom', text: "Custom" },
|
|
206
|
+
// { index: 20, key: 'lock', text: "Lock" },
|
|
207
|
+
// ];
|
|
208
|
+
// export const bannerInfoEleChoices: IPropertyPaneDropdownOption[] = <IPropertyPaneDropdownOption[]>[
|
|
209
|
+
// { index: 0, key: 'Text', text: "More Information" },
|
|
210
|
+
// { index: 1, key: 'IconName=Unknown', text: "Question mark circle" },
|
|
211
|
+
// { index: 2, key: 'IconName=UnknownSolid', text: "Question mark solid circle" },
|
|
212
|
+
// { index: 3, key: 'IconName=Help', text: "Question mark" },
|
|
213
|
+
// { index: 4, key: 'IconName=ReceiptTentative', text: "Question mark lines" },
|
|
214
|
+
// { index: 5, key: 'IconName=Info', text: "i in circle" },
|
|
215
|
+
// { index: 6, key: 'IconName=InfoSolid', text: "i in solid circle" },
|
|
216
|
+
// { index: 7, key: 'IconName=UnknownCall', text: "Telephone with Question mark" },
|
|
217
|
+
// { index: 8, key: 'IconName=Emoji2', text: "Smiling emoji" },
|
|
218
|
+
// { index: 9, key: 'IconName=Sad', text: "Sad emoji" },
|
|
219
|
+
// { index: 10, key: 'IconName=Education', text: "Education" },
|
|
220
|
+
// { index: 11, key: 'IconName=HandsFree', text: "Hand" },
|
|
221
|
+
// ];
|
|
218
222
|
//# sourceMappingURL=defaults.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/common/commandStyles/defaults.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/common/commandStyles/defaults.ts"],"names":[],"mappings":"AAAA,MAAM;AACN,mEAAmE;AACnE,yHAAyH;AAEzH,MAAM;AAEN,MAAM;AACN,mEAAmE;AACnE,yHAAyH;AAEzH,MAAM;AAGN,kCAAkC;AAElC,oEAAoE;AACpE,+BAA+B;AAC/B,qBAAqB;AAErB,kBAAkB;AAClB,0BAA0B;AAC1B,yBAAyB;AACzB,oBAAoB;AACpB,uBAAuB;AACvB,yBAAyB;AACzB,uBAAuB;AACvB,KAAK;AAEL,0DAA0D;AAC1D,oBAAoB;AACpB,gCAAgC;AAEhC,wBAAwB;AACxB,qBAAqB;AACrB,yBAAyB;AACzB,yBAAyB;AACzB,0BAA0B;AAC1B,oGAAoG;AACpG,uBAAuB;AACvB,IAAI;AAEJ,6DAA6D;AAC7D,oBAAoB;AACpB,8BAA8B;AAE9B,kBAAkB;AAClB,0BAA0B;AAC1B,yBAAyB;AACzB,oBAAoB;AACpB,wBAAwB;AACxB,yBAAyB;AACzB,uBAAuB;AACvB,IAAI;AAEJ,mDAAmD;AACnD,kDAAkD;AAClD,KAAK;AAEL,oDAAoD;AACpD,kDAAkD;AAClD,KAAK;AAEL,mDAAmD;AACnD,kDAAkD;AAClD,KAAK;AAEL,oDAAoD;AACpD,kDAAkD;AAClD,KAAK;AAEL,qIAAqI;AACrI,s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"@mikezimm/fps-library-v2",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.96",
|
|
4
4
|
"description": "Library of reusable typescript/javascript functions, interfaces and constants",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@fluentui/react": "^7.199.1",
|
|
46
46
|
"@microlink/react-json-view": "^1.24.0",
|
|
47
47
|
"@microsoft/sp-property-pane": "<1.18.0",
|
|
48
|
-
"@mikezimm/fps-core-v7": "1.0.
|
|
48
|
+
"@mikezimm/fps-core-v7": "1.0.96",
|
|
49
49
|
"@mikezimm/fps-styles": "1.0.88",
|
|
50
50
|
"@monaco-editor/loader": "^1.3.1",
|
|
51
51
|
"@pnp/spfx-controls-react": "^3.12.0",
|