@kausal/themes 0.8.4 → 0.8.5

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-9gwTxb/common/@fontsource/inter/400.css */
1
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-ja4NeX/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-9gwTxb/common/@fontsource/inter/700.css */
121
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-ja4NeX/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-9gwTxb/default/icons.css */
241
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-ja4NeX/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-9gwTxb/default/main.scss */
310
+ /* ../../../../../../../var/folders/mf/8_zg1h4n3xsbwv96530g65cw0000gn/T/esbuild-ja4NeX/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");
@@ -168,13 +168,14 @@
168
168
  },
169
169
  "homeLink": "text",
170
170
  "categories": {
171
- "filterIndicatorsByAllLevels": true
171
+ "filterIndicatorsByAllLevels": true,
172
+ "collapseLongTexts": true
172
173
  },
173
174
  "fundingInstruments": [],
174
175
  "otherLogos": [],
175
176
  "showFeedbackLink": true,
176
177
  "graphs": {
177
- "lineShape": "smooth",
178
+ "lineShape": "spline",
178
179
  "fillMarkers": false,
179
180
  "goalSymbol": "x",
180
181
  "categorySymbols": [
@@ -279,7 +280,7 @@
279
280
  "arrow-up": "default/icons/arrow-up-U5XN26IQ.svg",
280
281
  "tachometer": "default/icons/tachometer-UE46XP3D.svg"
281
282
  },
282
- "mainCssFile": "default/main-ZEKKX45F.css",
283
+ "mainCssFile": "default/main-QOHLYNJI.css",
283
284
  "favicons": {
284
285
  "apple": "default/images/favicon/apple-MBMLYIVD.png",
285
286
  "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.4",
3
+ "version": "0.8.5",
4
4
  "description": "Themes for Kausal products",
5
5
  "type": "module",
6
6
  "main": "setup.cjs",
package/props.js CHANGED
@@ -135,6 +135,9 @@ export function makeThemePropType(cssv = null) {
135
135
  inputLineHeight: number.isRequired,
136
136
  inputPaddingX: string.isRequired,
137
137
  inputPaddingY: string.isRequired,
138
+ introModal: exact({
139
+ videoUrls: objectOf(string).isRequired,
140
+ }),
138
141
  lineHeightBase: number.isRequired,
139
142
  lineHeightLg: number.isRequired,
140
143
  lineHeightMd: number.isRequired,
@@ -211,6 +214,7 @@ export function makeThemePropType(cssv = null) {
211
214
  categories: exact({
212
215
  filterIndicatorsByAllLevels: bool.isRequired,
213
216
  categoryPageHideCategoryLabel: bool,
217
+ collapseLongTexts: bool,
214
218
  }),
215
219
  hiddenLocales: arrayOf(string),
216
220
  fundingInstruments: arrayOf(
package/types.ts CHANGED
@@ -185,6 +185,7 @@ export interface Theme {
185
185
  categories: {
186
186
  filterIndicatorsByAllLevels: boolean;
187
187
  categoryPageHideCategoryLabel?: boolean;
188
+ collapseLongTexts?: boolean;
188
189
  };
189
190
  hiddenLocales?: string[];
190
191
  fundingInstruments: {
@@ -203,6 +204,10 @@ export interface Theme {
203
204
  attentionBannerContent?: object;
204
205
  footerLogoOnly?: boolean;
205
206
  footerStatement?: string;
207
+ footerOwnerLinks?: {
208
+ title: string;
209
+ url: string;
210
+ }[];
206
211
  navigationLogoOnly?: boolean;
207
212
  stickyNavigation?: boolean;
208
213
  homeLink?: string;
@@ -246,4 +251,9 @@ export interface Theme {
246
251
  svg: string;
247
252
  };
248
253
  mainCssFile: string;
254
+ introModal?: {
255
+ videoUrls: {
256
+ [lang: string]: string;
257
+ };
258
+ };
249
259
  }