@cntrl-site/components 1.0.86 → 1.0.87-alpha.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.
@@ -370,7 +370,7 @@ export declare const BurgerComponent: {
370
370
  title: string;
371
371
  display: {
372
372
  type: string;
373
- enum: ("center" | "left-top" | "center-top" | "right-top" | "left-center" | "right-center" | "left-bottom" | "center-bottom" | "right-bottom")[];
373
+ enum: ("center" | "left-top" | "left-center" | "right-center" | "left-bottom" | "right-bottom" | "center-top" | "right-top" | "center-bottom")[];
374
374
  };
375
375
  };
376
376
  stateOverrides: {
@@ -1,5 +1,6 @@
1
1
  import { CommonComponentProps } from '../props';
2
2
  import { TextStyles } from '../utils/textStylesToCss';
3
+ type TitlePosition = 'left-top' | 'top-center' | 'top-right' | 'left-center' | 'center' | 'right-center' | 'left-bottom' | 'bottom-center' | 'right-bottom';
3
4
  type MercuryMedia = {
4
5
  url: string;
5
6
  name?: string;
@@ -11,6 +12,7 @@ type MercuryMediaPair = {
11
12
  };
12
13
  export type MercuryContentItem = {
13
14
  title?: string;
15
+ description?: string;
14
16
  gallery?: MercuryMedia[] | MercuryMediaPair[];
15
17
  };
16
18
  export type MercurySettings = {
@@ -27,10 +29,12 @@ export type MercurySettings = {
27
29
  galleryPaddingLeft?: number;
28
30
  galleryPaddingBetween?: number;
29
31
  cornerRadius?: number;
30
- position?: 'left' | 'center' | 'right' | 'top';
32
+ position?: TitlePosition | 'left' | 'right' | 'top' | 'center-center' | 'center-top' | 'right-top' | 'center-bottom';
31
33
  titleTopPadding?: number;
34
+ titleBottomPadding?: number;
32
35
  titleLeftPadding?: number;
33
36
  titleRightPadding?: number;
37
+ titleDescriptionPadding?: number;
34
38
  transition?: 'fade' | 'retype' | 'scroll';
35
39
  titleColor?: string;
36
40
  titleFontFamily?: string;
@@ -44,6 +48,18 @@ export type MercurySettings = {
44
48
  titleWordSpacing?: number;
45
49
  titleAlign?: TextStyles['textAlign'];
46
50
  titleTextAppearance?: TextStyles['textAppearance'];
51
+ descriptionColor?: string;
52
+ descriptionFontFamily?: string;
53
+ descriptionFontSettings?: {
54
+ fontWeight: number;
55
+ fontStyle: string;
56
+ };
57
+ descriptionFontSize?: number;
58
+ descriptionLineHeight?: number;
59
+ descriptionLetterSpacing?: number;
60
+ descriptionWordSpacing?: number;
61
+ descriptionAlign?: TextStyles['textAlign'];
62
+ descriptionTextAppearance?: TextStyles['textAppearance'];
47
63
  lightbox?: 'on' | 'off';
48
64
  lightboxImageDisplay?: 'fit' | 'cover' | {
49
65
  display?: 'fit' | 'cover';
@@ -34,6 +34,7 @@ export declare const MercuryComponent: {
34
34
  };
35
35
  fontRelations: {
36
36
  titleFontSettings: string;
37
+ descriptionFontSettings: string;
37
38
  lightboxCounterFontSettings: string;
38
39
  };
39
40
  };