@kausal/themes 0.8.7 → 0.8.9

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-wVq7pD/common/@fontsource/inter/400.css */
1
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-MlFOez/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-wVq7pD/common/@fontsource/inter/700.css */
121
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-MlFOez/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-wVq7pD/default/icons.css */
241
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-MlFOez/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-wVq7pD/default/main.scss */
310
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-MlFOez/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");
@@ -13,7 +13,7 @@
13
13
  "textColor": {
14
14
  "primary": "rgb(29, 29, 29)",
15
15
  "secondary": "rgb(75, 75, 75)",
16
- "tertiary": "#6C7072"
16
+ "tertiary": "rgb(123, 123, 123)"
17
17
  },
18
18
  "cardBackground": {
19
19
  "primary": "rgb(248, 248, 248)",
@@ -160,6 +160,10 @@
160
160
  "yellow090": "rgb(60, 19, 0)"
161
161
  },
162
162
  "settings": {
163
+ "layout": {
164
+ "containImages": false,
165
+ "leftAlignCategoryPages": false
166
+ },
163
167
  "actionView": {
164
168
  "showPaginationTop": true,
165
169
  "showPaginationBottom": true
@@ -169,14 +173,17 @@
169
173
  "showIndicators": true,
170
174
  "showPieCharts": true
171
175
  },
176
+ "paths": {
177
+ "disableScenarioEditing": false
178
+ },
172
179
  "homeLink": "text",
173
180
  "categories": {
174
- "filterIndicatorsByAllLevels": true,
175
181
  "collapseLongTexts": true
176
182
  },
177
183
  "fundingInstruments": [],
178
184
  "otherLogos": [],
179
185
  "showFeedbackLink": true,
186
+ "announcementBannerColor": "rgb(32, 93, 130)",
180
187
  "graphs": {
181
188
  "lineShape": "spline",
182
189
  "fillMarkers": false,
@@ -283,7 +290,7 @@
283
290
  "arrow-up": "default/icons/arrow-up-U5XN26IQ.svg",
284
291
  "tachometer": "default/icons/tachometer-UE46XP3D.svg"
285
292
  },
286
- "mainCssFile": "default/main-6FQUYXNI.css",
293
+ "mainCssFile": "default/main-KWIXURT4.css",
287
294
  "favicons": {
288
295
  "apple": "default/images/favicon/apple-MBMLYIVD.png",
289
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.7",
3
+ "version": "0.8.9",
4
4
  "description": "Themes for Kausal products",
5
5
  "type": "module",
6
6
  "main": "setup.cjs",
package/props.js CHANGED
@@ -200,6 +200,10 @@ export function makeThemePropType(cssv = null) {
200
200
  }),
201
201
  }).isRequired,
202
202
  settings: exact({
203
+ layout: exact({
204
+ containImages: bool.isRequired,
205
+ leftAlignCategoryPages: bool.isRequired,
206
+ }),
203
207
  actionView: exact({
204
208
  showPaginationTop: bool,
205
209
  showPaginationBottom: bool,
@@ -214,8 +218,10 @@ export function makeThemePropType(cssv = null) {
214
218
  multiplan: exact({
215
219
  hideLongPlanNames: bool,
216
220
  }),
221
+ paths: exact({
222
+ disableScenarioEditing: bool,
223
+ }),
217
224
  categories: exact({
218
- filterIndicatorsByAllLevels: bool.isRequired,
219
225
  categoryPageHideCategoryLabel: bool,
220
226
  collapseLongTexts: bool,
221
227
  }),
@@ -228,7 +234,6 @@ export function makeThemePropType(cssv = null) {
228
234
  link: string,
229
235
  })
230
236
  ).isRequired,
231
- leftAlignCategoryPages: bool,
232
237
  otherLogos: arrayOf(
233
238
  exact({
234
239
  id: string,
@@ -237,7 +242,6 @@ export function makeThemePropType(cssv = null) {
237
242
  link: string,
238
243
  })
239
244
  ).isRequired,
240
- attentionBannerContent: object,
241
245
  footerLogoOnly: bool,
242
246
  footerStatement: string,
243
247
  footerOwnerLinks: array,
@@ -270,6 +274,7 @@ export function makeThemePropType(cssv = null) {
270
274
  categoryColors: arrayOf(string),
271
275
  roundIndicatorValue: bool,
272
276
  }),
277
+ announcementBannerColor: cssv('color'),
273
278
  hideActionGrid: bool,
274
279
  hideIconOnActionListCards: bool,
275
280
  showActionDescriptionHeader: bool,
package/types.ts CHANGED
@@ -166,11 +166,15 @@ export interface Theme {
166
166
  background: string;
167
167
  color: string;
168
168
  };
169
- richText?: {
169
+ richText: {
170
170
  sectionBackground: string;
171
171
  };
172
172
  };
173
173
  settings: {
174
+ layout: {
175
+ containImages: boolean;
176
+ leftAlignCategoryPages?: boolean;
177
+ };
174
178
  actionView: {
175
179
  showPaginationTop: boolean;
176
180
  showPaginationBottom: boolean;
@@ -185,8 +189,10 @@ export interface Theme {
185
189
  multiplan?: {
186
190
  hideLongPlanNames: boolean;
187
191
  };
192
+ paths: {
193
+ disableScenarioEditing?: boolean;
194
+ };
188
195
  categories: {
189
- filterIndicatorsByAllLevels: boolean;
190
196
  categoryPageHideCategoryLabel?: boolean;
191
197
  collapseLongTexts?: boolean;
192
198
  };
@@ -197,14 +203,12 @@ export interface Theme {
197
203
  logo: string;
198
204
  link: string;
199
205
  }[];
200
- leftAlignCategoryPages?: boolean;
201
206
  otherLogos: {
202
207
  id: string;
203
208
  name: string;
204
209
  logo: string;
205
210
  link?: string;
206
211
  }[];
207
- attentionBannerContent?: object;
208
212
  footerLogoOnly?: boolean;
209
213
  footerStatement?: string;
210
214
  footerOwnerLinks?: {
@@ -238,6 +242,7 @@ export interface Theme {
238
242
  categoryColors: cssColor[];
239
243
  roundIndicatorValue?: boolean;
240
244
  };
245
+ announcementBannerColor?: cssColor;
241
246
  hideActionGrid?: boolean;
242
247
  hideIconOnActionListCards?: boolean;
243
248
  showActionDescriptionHeader?: boolean;