@kausal/themes 0.5.2 → 0.5.4

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 +8 -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.4",
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,
@@ -168,6 +169,10 @@ export function makeThemePropType(cssv = null) {
168
169
  dashboard: exact({
169
170
  showResponsibles: bool.isRequired,
170
171
  showIndicators: bool.isRequired,
172
+ showActionUpdateStatus: bool,
173
+ }),
174
+ multiplan: exact({
175
+ hideLongPlanNames: bool,
171
176
  }),
172
177
  categories: exact({
173
178
  filterIndicatorsByAllLevels: bool.isRequired,
@@ -176,6 +181,8 @@ export function makeThemePropType(cssv = null) {
176
181
  otherLogos: array.isRequired,
177
182
  attentionBannerContent: object,
178
183
  footerLogoOnly: bool,
184
+ footerStatement: string,
185
+ footerAdditionalLinks: array,
179
186
  navigationLogoOnly: bool,
180
187
  homeLink: string,
181
188
  a11y: exact({
@@ -184,6 +191,7 @@ export function makeThemePropType(cssv = null) {
184
191
  }),
185
192
  frontHero: exact({
186
193
  cardPlacement: string,
194
+ color: string,
187
195
  }),
188
196
  }),
189
197
  };
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
  }