@apolitical/component-library 3.5.13-ac.6 → 3.5.13-beta.0

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.
@@ -24,10 +24,15 @@ export interface BannerSectionType {
24
24
  /** The image to display */
25
25
  image?: ResponsiveImageType;
26
26
  /** The colour variant (when there's no image) */
27
- variant?: 'default' | 'light' | 'gradient';
27
+ variant?: 'default' | 'light' | 'gradient' | 'subtle';
28
28
  /** How to handle spacing on the banner */
29
29
  spacing?: 'normal' | 'slim';
30
- /** Whether or not to show the ContentType.text, eyebrow or title */
30
+ /** Styling meta data */
31
+ styling?: {
32
+ /** Whether or not to show the image full width */
33
+ imageFullWidth?: boolean;
34
+ };
35
+ /** Whether or not to show the ContentType.text, eyebrow or title; this is in case it's set in Contentful but we don't want to show it on a particular place, e.g. in communities we set a description but show it in another component */
31
36
  hideElements?: {
32
37
  eyebrow?: boolean;
33
38
  title?: boolean;
@@ -44,5 +49,5 @@ export interface BannerSectionType {
44
49
  /** Any additional children */
45
50
  children?: React.ReactNode;
46
51
  }
47
- declare const _default: React.MemoExoticComponent<({ className, content: contentProp, image, variant, spacing, hideElements, cta, children, }: BannerSectionType) => import("react/jsx-runtime").JSX.Element>;
52
+ declare const _default: React.MemoExoticComponent<({ className, content: contentProp, image, variant, spacing, styling: stylingProps, hideElements, cta, children, }: BannerSectionType) => import("react/jsx-runtime").JSX.Element>;
48
53
  export default _default;
@@ -1,4 +1,4 @@
1
1
  export * from './assets';
2
2
  export * from './contact-details';
3
3
  export * from './courses';
4
- export * from './number-of-users';
4
+ export * from './stats';
@@ -1 +1,2 @@
1
1
  export declare const NUMBER_OF_USERS = "200,000+";
2
+ export declare const NUMBER_OF_COUNTRIES = "160+";
@@ -10,7 +10,6 @@ export declare const activitiesFeedMock: {
10
10
  organization: string;
11
11
  };
12
12
  };
13
- title: string;
14
13
  content: string;
15
14
  feed_id: string;
16
15
  foreign_id: string;
@@ -37,7 +36,6 @@ export declare const activitiesFeedMock: {
37
36
  organization: string;
38
37
  };
39
38
  };
40
- title: string;
41
39
  content: string;
42
40
  feed_id: string;
43
41
  foreign_id: string;
@@ -53,60 +51,6 @@ export declare const activitiesFeedMock: {
53
51
  target: string;
54
52
  time: string;
55
53
  verb: string;
56
- } | {
57
- actor: {
58
- created_at: string;
59
- updated_at: string;
60
- id: string;
61
- data: {
62
- jobTitle: string;
63
- name: string;
64
- organization: string;
65
- };
66
- };
67
- content: string;
68
- feed_id: string;
69
- foreign_id: string;
70
- id: string;
71
- latest_reactions: {};
72
- latest_reactions_extra: {};
73
- object: string;
74
- origin: null;
75
- own_reactions: {};
76
- reaction_counts: {
77
- like?: undefined;
78
- };
79
- target: string;
80
- time: string;
81
- verb: string;
82
- title?: undefined;
83
- } | {
84
- actor: {
85
- created_at: string;
86
- updated_at: string;
87
- id: string;
88
- data: {
89
- jobTitle: string;
90
- name: string;
91
- organization: string;
92
- };
93
- };
94
- title: string;
95
- feed_id: string;
96
- foreign_id: string;
97
- id: string;
98
- latest_reactions: {};
99
- latest_reactions_extra: {};
100
- object: string;
101
- origin: null;
102
- own_reactions: {};
103
- reaction_counts: {
104
- like?: undefined;
105
- };
106
- target: string;
107
- time: string;
108
- verb: string;
109
- content?: undefined;
110
54
  })[];
111
55
  next: string;
112
56
  duration: string;
@@ -1,5 +1,4 @@
1
1
  import type { FlatActivityEnriched } from 'getstream';
2
2
  export interface IActivity extends FlatActivityEnriched {
3
- title: string;
4
3
  content: string;
5
4
  }