@kausal/themes 0.8.6 → 0.8.8

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.
@@ -1,4 +1,4 @@
1
- /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-QrGdWX/common/@fontsource/inter/400.css */
1
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-axtKtf/common/@fontsource/inter/400.css */
2
2
  @font-face {
3
3
  font-family: "Inter";
4
4
  font-style: normal;
@@ -118,7 +118,7 @@
118
118
  U+FFFD;
119
119
  }
120
120
 
121
- /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-QrGdWX/common/@fontsource/inter/700.css */
121
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-axtKtf/common/@fontsource/inter/700.css */
122
122
  @font-face {
123
123
  font-family: "Inter";
124
124
  font-style: normal;
@@ -238,7 +238,7 @@
238
238
  U+FFFD;
239
239
  }
240
240
 
241
- /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-QrGdWX/default/icons.css */
241
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-axtKtf/default/icons.css */
242
242
  :root {
243
243
  --theme-icon-action-dependency: url("./icons/action-dependency-YIHDLWKV.svg");
244
244
  --theme-icon-angle-down: url("./icons/angle-down-AQWOHY4J.svg");
@@ -307,7 +307,7 @@
307
307
  --theme-icon-version: url("./icons/version-LJSCFB3L.svg");
308
308
  }
309
309
 
310
- /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-QrGdWX/default/main.scss */
310
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-axtKtf/default/main.scss */
311
311
  :root {
312
312
  --theme-logo-url: url("./images/default-logo-white-KUB6ICTS.svg");
313
313
  --theme-logo-white-url: url("./images/default-logo-white-KUB6ICTS.svg");
@@ -27,6 +27,9 @@
27
27
  "latestColor": "rgb(109, 151, 184)",
28
28
  "startColor": "rgb(239, 154, 154)",
29
29
  "linkToSource": true
30
+ },
31
+ "richText": {
32
+ "sectionBackground": "rgb(247, 246, 243)"
30
33
  }
31
34
  },
32
35
  "orgPageBackgroundColor": "rgb(16, 114, 81)",
@@ -157,6 +160,10 @@
157
160
  "yellow090": "rgb(60, 19, 0)"
158
161
  },
159
162
  "settings": {
163
+ "layout": {
164
+ "containImages": false,
165
+ "leftAlignCategoryPages": false
166
+ },
160
167
  "actionView": {
161
168
  "showPaginationTop": true,
162
169
  "showPaginationBottom": true
@@ -166,14 +173,17 @@
166
173
  "showIndicators": true,
167
174
  "showPieCharts": true
168
175
  },
176
+ "paths": {
177
+ "disableScenarioEditing": false
178
+ },
169
179
  "homeLink": "text",
170
180
  "categories": {
171
- "filterIndicatorsByAllLevels": true,
172
181
  "collapseLongTexts": true
173
182
  },
174
183
  "fundingInstruments": [],
175
184
  "otherLogos": [],
176
185
  "showFeedbackLink": true,
186
+ "announcementBannerColor": "rgb(16, 114, 81)",
177
187
  "graphs": {
178
188
  "lineShape": "spline",
179
189
  "fillMarkers": false,
@@ -280,7 +290,7 @@
280
290
  "arrow-up": "default/icons/arrow-up-U5XN26IQ.svg",
281
291
  "tachometer": "default/icons/tachometer-UE46XP3D.svg"
282
292
  },
283
- "mainCssFile": "default/main-SUWDRZBF.css",
293
+ "mainCssFile": "default/main-SRSHIB6Y.css",
284
294
  "favicons": {
285
295
  "apple": "default/images/favicon/apple-MBMLYIVD.png",
286
296
  "ico": "default/images/favicon/favicon-MGJ3GSCH.ico",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kausal/themes",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "description": "Themes for Kausal products",
5
5
  "type": "module",
6
6
  "main": "setup.cjs",
package/props.js CHANGED
@@ -195,8 +195,15 @@ export function makeThemePropType(cssv = null) {
195
195
  background: cssv('color').isRequired,
196
196
  color: cssv('color').isRequired,
197
197
  }),
198
+ richText: exact({
199
+ sectionBackground: cssv('color').isRequired,
200
+ }),
198
201
  }).isRequired,
199
202
  settings: exact({
203
+ layout: exact({
204
+ containImages: bool.isRequired,
205
+ leftAlignCategoryPages: bool.isRequired,
206
+ }),
200
207
  actionView: exact({
201
208
  showPaginationTop: bool,
202
209
  showPaginationBottom: bool,
@@ -211,8 +218,10 @@ export function makeThemePropType(cssv = null) {
211
218
  multiplan: exact({
212
219
  hideLongPlanNames: bool,
213
220
  }),
221
+ paths: exact({
222
+ disableScenarioEditing: bool,
223
+ }),
214
224
  categories: exact({
215
- filterIndicatorsByAllLevels: bool.isRequired,
216
225
  categoryPageHideCategoryLabel: bool,
217
226
  collapseLongTexts: bool,
218
227
  }),
@@ -225,7 +234,6 @@ export function makeThemePropType(cssv = null) {
225
234
  link: string,
226
235
  })
227
236
  ).isRequired,
228
- leftAlignCategoryPages: bool,
229
237
  otherLogos: arrayOf(
230
238
  exact({
231
239
  id: string,
@@ -234,7 +242,6 @@ export function makeThemePropType(cssv = null) {
234
242
  link: string,
235
243
  })
236
244
  ).isRequired,
237
- attentionBannerContent: object,
238
245
  footerLogoOnly: bool,
239
246
  footerStatement: string,
240
247
  footerOwnerLinks: array,
@@ -267,6 +274,7 @@ export function makeThemePropType(cssv = null) {
267
274
  categoryColors: arrayOf(string),
268
275
  roundIndicatorValue: bool,
269
276
  }),
277
+ announcementBannerColor: cssv('color'),
270
278
  hideActionGrid: bool,
271
279
  hideIconOnActionListCards: bool,
272
280
  showActionDescriptionHeader: bool,
package/types.ts CHANGED
@@ -166,8 +166,15 @@ export interface Theme {
166
166
  background: string;
167
167
  color: string;
168
168
  };
169
+ richText?: {
170
+ sectionBackground: string;
171
+ };
169
172
  };
170
173
  settings: {
174
+ layout: {
175
+ containImages: boolean;
176
+ leftAlignCategoryPages?: boolean;
177
+ };
171
178
  actionView: {
172
179
  showPaginationTop: boolean;
173
180
  showPaginationBottom: boolean;
@@ -182,8 +189,10 @@ export interface Theme {
182
189
  multiplan?: {
183
190
  hideLongPlanNames: boolean;
184
191
  };
192
+ paths: {
193
+ disableScenarioEditing?: boolean;
194
+ };
185
195
  categories: {
186
- filterIndicatorsByAllLevels: boolean;
187
196
  categoryPageHideCategoryLabel?: boolean;
188
197
  collapseLongTexts?: boolean;
189
198
  };
@@ -194,14 +203,12 @@ export interface Theme {
194
203
  logo: string;
195
204
  link: string;
196
205
  }[];
197
- leftAlignCategoryPages?: boolean;
198
206
  otherLogos: {
199
207
  id: string;
200
208
  name: string;
201
209
  logo: string;
202
210
  link?: string;
203
211
  }[];
204
- attentionBannerContent?: object;
205
212
  footerLogoOnly?: boolean;
206
213
  footerStatement?: string;
207
214
  footerOwnerLinks?: {
@@ -235,6 +242,7 @@ export interface Theme {
235
242
  categoryColors: cssColor[];
236
243
  roundIndicatorValue?: boolean;
237
244
  };
245
+ announcementBannerColor?: cssColor;
238
246
  hideActionGrid?: boolean;
239
247
  hideIconOnActionListCards?: boolean;
240
248
  showActionDescriptionHeader?: boolean;