@kausal/themes 0.5.2 → 0.5.3

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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/props.js +5 -0
  3. package/types.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kausal/themes",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Themes for Kausal products",
5
5
  "type": "module",
6
6
  "main": "setup.cjs",
package/props.js CHANGED
@@ -67,6 +67,7 @@ export function makeThemePropType(cssv = null) {
67
67
  fontWeightNormal: cssv("font-weight").isRequired,
68
68
  navLogoVisible: bool.isRequired,
69
69
  navTitleVisible: bool.isRequired,
70
+ navLinkIcons: bool,
70
71
  footerLogoPlacement: string.isRequired,
71
72
  footerLogoSize: string,
72
73
  footerLogoLink: string,
@@ -169,6 +170,9 @@ export function makeThemePropType(cssv = null) {
169
170
  showResponsibles: bool.isRequired,
170
171
  showIndicators: bool.isRequired,
171
172
  }),
173
+ multiplan: exact({
174
+ hideLongPlanNames: bool,
175
+ }),
172
176
  categories: exact({
173
177
  filterIndicatorsByAllLevels: bool.isRequired,
174
178
  }),
@@ -184,6 +188,7 @@ export function makeThemePropType(cssv = null) {
184
188
  }),
185
189
  frontHero: exact({
186
190
  cardPlacement: string,
191
+ color: string,
187
192
  }),
188
193
  }),
189
194
  };
package/types.ts CHANGED
@@ -54,6 +54,7 @@ export interface Theme {
54
54
  fontWeightNormal: number;
55
55
  navLogoVisible: boolean;
56
56
  navTitleVisible: boolean;
57
+ navLinkIcons?: boolean;
57
58
  footerLogoPlacement: string;
58
59
  footerLogoSize?: string;
59
60
  footerLogoLink?: string;
@@ -156,6 +157,9 @@ export interface Theme {
156
157
  showResponsibles: boolean;
157
158
  showIndicators: boolean;
158
159
  };
160
+ multiplan?: {
161
+ hideLongPlanNames: boolean;
162
+ };
159
163
  categories: {
160
164
  filterIndicatorsByAllLevels: boolean;
161
165
  };
@@ -171,6 +175,7 @@ export interface Theme {
171
175
  };
172
176
  frontHero?: {
173
177
  cardPlacement?: string;
178
+ color?: string;
174
179
  };
175
180
  };
176
181
  }