@apolitical/component-library 1.14.7-rc.4 → 1.14.9-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.
@@ -1,5 +1,5 @@
1
1
  import { ResponsiveImageType } from '../general';
2
- import { MemberDetailsProps } from '../user';
2
+ import { MemberProps } from '../user';
3
3
  export type CardContentType = 'custom' | 'event' | 'learningHub' | 'listPage' | 'microcourse' | 'people' | 'qaQuestion' | 'solutionArticle';
4
4
  export type CustomIconType = 'calendar' | 'cube' | 'document' | 'download' | 'globe' | 'graduationCap' | 'link' | 'person' | 'star' | 'speech';
5
5
  export interface CardCTAType {
@@ -23,7 +23,7 @@ export interface CardType {
23
23
  /** The image to use */
24
24
  banner?: ResponsiveImageType;
25
25
  /** Details of contributors, such as speakers or authors */
26
- contributors?: MemberDetailsProps[];
26
+ contributors?: MemberProps[];
27
27
  /** Details of partners - this is similar to `contributors`, but won't show profile pictures */
28
28
  partner?: {
29
29
  title: string;
package/cards/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './card';
2
2
  export * from './card-block';
3
3
  export * from './carousel';
4
+ export * from './cards.types';
@@ -45,6 +45,8 @@ export interface ButtonPropsType {
45
45
  children?: false | string | React.ReactNode;
46
46
  /** The target, for links */
47
47
  target?: '_blank' | '_self' | '_parent' | '_top';
48
+ /** The rel, for links */
49
+ rel?: string;
48
50
  /** The GTM event type */
49
51
  'data-gtm-event-type'?: string;
50
52
  /** The GTM event context */
package/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export * from './loaders';
12
12
  export * from './mappers';
13
13
  export * from './modals';
14
14
  export * from './navigation';
15
+ export * from './pages';
15
16
  export * from './sections';
16
17
  export * from './text';
17
18
  export * from './user';