@ilo-org/react 0.24.4 → 0.24.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.
@@ -7,6 +7,7 @@ import { FeatureCardProps } from './FeatureCard';
7
7
  import { DetailCardProps } from './DetailCard';
8
8
  import { FactListCardProps } from './FactListCard';
9
9
  import { DataCardProps } from './DataCard';
10
+ import { ScoreCardProps } from './ScoreCard';
10
11
  import { LinkProps } from '../Link';
11
12
 
12
13
  type CardPropsMap = {
@@ -18,6 +19,7 @@ type CardPropsMap = {
18
19
  detail: DetailCardProps;
19
20
  factlist: FactListCardProps;
20
21
  data: DataCardProps;
22
+ score: ScoreCardProps;
21
23
  };
22
24
  type CardGroupComponentProps<T extends CardTypes> = CardPropsMap[T];
23
25
  export type CardGroupProps<T extends CardTypes> = {
@@ -27,7 +27,7 @@ export type CardColor = "turquoise" | "green" | "yellow" | "blue";
27
27
  export type CardSize = "wide" | "standard" | "narrow" | "fluid";
28
28
  export type CardCornerType = boolean;
29
29
  export type CardAlignment = "left" | "right";
30
- export type CardTypes = "stat" | "multilink" | "text" | "promo" | "feature" | "detail" | "factlist" | "data";
30
+ export type CardTypes = "stat" | "multilink" | "text" | "promo" | "feature" | "detail" | "factlist" | "score" | "data";
31
31
  export type HeadingTypes = "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
32
32
  export interface EventDate {
33
33
  unix?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilo-org/react",
3
- "version": "0.24.4",
3
+ "version": "0.24.5",
4
4
  "description": "React components for the ILO's Design System",
5
5
  "keywords": [
6
6
  "ui_patterns",
@@ -72,12 +72,12 @@
72
72
  "use-breakpoint": "^4.0.6",
73
73
  "video.js": "^7.21.2",
74
74
  "videojs-youtube": "^3.0.1",
75
+ "@ilo-org/brand-assets": "1.0.1",
75
76
  "@ilo-org/fonts": "1.0.0",
76
- "@ilo-org/styles": "1.8.4",
77
+ "@ilo-org/icons-react": "1.0.3",
78
+ "@ilo-org/styles": "1.8.5",
77
79
  "@ilo-org/themes": "0.9.1",
78
- "@ilo-org/brand-assets": "1.0.0",
79
- "@ilo-org/utils": "0.1.1",
80
- "@ilo-org/icons-react": "1.0.3"
80
+ "@ilo-org/utils": "0.1.1"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@storybook/addon-actions": "^8.1.9",