@kausal/themes 0.6.0 → 0.6.1

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 +4 -1
  3. package/types.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kausal/themes",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Themes for Kausal products",
5
5
  "type": "module",
6
6
  "main": "setup.cjs",
package/props.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import PropTypes from "prop-types";
2
2
 
3
- const { number, exact, string, oneOfType, bool, array, object } = PropTypes;
3
+ const { number, exact, string, oneOfType, bool, array, object, arrayOf } =
4
+ PropTypes;
4
5
 
5
6
  export function makeThemePropType(cssv = null) {
6
7
  if (!cssv) {
@@ -157,7 +158,9 @@ export function makeThemePropType(cssv = null) {
157
158
  categories: exact({
158
159
  filterIndicatorsByAllLevels: bool.isRequired,
159
160
  }),
161
+ hiddenLocales: arrayOf(string),
160
162
  fundingInstruments: array.isRequired,
163
+ leftAlignCategoryPages: bool,
161
164
  otherLogos: array.isRequired,
162
165
  attentionBannerContent: object,
163
166
  footerLogoOnly: bool,
package/types.ts CHANGED
@@ -143,7 +143,9 @@ export interface Theme {
143
143
  categories: {
144
144
  filterIndicatorsByAllLevels: boolean;
145
145
  };
146
+ hiddenLocales: string[];
146
147
  fundingInstruments: object[];
148
+ leftAlignCategoryPages: boolean;
147
149
  otherLogos: object[];
148
150
  attentionBannerContent?: object;
149
151
  footerLogoOnly?: boolean;