@gravity-ai/react 1.1.5 → 1.1.6

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.
package/dist/index.d.mts CHANGED
@@ -11,7 +11,7 @@ interface AdResponse {
11
11
  impUrl?: string;
12
12
  clickUrl?: string;
13
13
  }
14
- type GravityAdVariant = 'card' | 'inline' | 'minimal';
14
+ type GravityAdVariant = 'card' | 'inline' | 'minimal' | 'bubble' | 'contextual' | 'native' | 'footnote' | 'quote' | 'suggestion' | 'accent' | 'side-panel' | 'labeled' | 'spotlight' | 'embed' | 'split-action' | 'pill' | 'banner' | 'divider' | 'toolbar' | 'tooltip' | 'notification' | 'hyperlink' | 'text-link';
15
15
  /**
16
16
  * Style + className overrides for individual elements inside `<GravityAd />`.
17
17
  *
@@ -70,6 +70,36 @@ interface GravityAdSlotProps {
70
70
  style?: CSSProperties;
71
71
  className?: string;
72
72
  };
73
+ /** Icon wrapper (larger background container around favicon) */
74
+ iconWrapper?: {
75
+ style?: CSSProperties;
76
+ className?: string;
77
+ };
78
+ /** Colored accent bar (top of `accent` variant) */
79
+ accentBar?: {
80
+ style?: CSSProperties;
81
+ className?: string;
82
+ };
83
+ /** Secondary CTA (`split-action` variant) */
84
+ secondaryCta?: {
85
+ style?: CSSProperties;
86
+ className?: string;
87
+ };
88
+ /** Footer area */
89
+ footer?: {
90
+ style?: CSSProperties;
91
+ className?: string;
92
+ };
93
+ /** Tooltip arrow element */
94
+ arrow?: {
95
+ style?: CSSProperties;
96
+ className?: string;
97
+ };
98
+ /** Context header text (`contextual` variant) */
99
+ contextHeader?: {
100
+ style?: CSSProperties;
101
+ className?: string;
102
+ };
73
103
  }
74
104
  interface GravityAdProps {
75
105
  ad: AdResponse | null;
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ interface AdResponse {
11
11
  impUrl?: string;
12
12
  clickUrl?: string;
13
13
  }
14
- type GravityAdVariant = 'card' | 'inline' | 'minimal';
14
+ type GravityAdVariant = 'card' | 'inline' | 'minimal' | 'bubble' | 'contextual' | 'native' | 'footnote' | 'quote' | 'suggestion' | 'accent' | 'side-panel' | 'labeled' | 'spotlight' | 'embed' | 'split-action' | 'pill' | 'banner' | 'divider' | 'toolbar' | 'tooltip' | 'notification' | 'hyperlink' | 'text-link';
15
15
  /**
16
16
  * Style + className overrides for individual elements inside `<GravityAd />`.
17
17
  *
@@ -70,6 +70,36 @@ interface GravityAdSlotProps {
70
70
  style?: CSSProperties;
71
71
  className?: string;
72
72
  };
73
+ /** Icon wrapper (larger background container around favicon) */
74
+ iconWrapper?: {
75
+ style?: CSSProperties;
76
+ className?: string;
77
+ };
78
+ /** Colored accent bar (top of `accent` variant) */
79
+ accentBar?: {
80
+ style?: CSSProperties;
81
+ className?: string;
82
+ };
83
+ /** Secondary CTA (`split-action` variant) */
84
+ secondaryCta?: {
85
+ style?: CSSProperties;
86
+ className?: string;
87
+ };
88
+ /** Footer area */
89
+ footer?: {
90
+ style?: CSSProperties;
91
+ className?: string;
92
+ };
93
+ /** Tooltip arrow element */
94
+ arrow?: {
95
+ style?: CSSProperties;
96
+ className?: string;
97
+ };
98
+ /** Context header text (`contextual` variant) */
99
+ contextHeader?: {
100
+ style?: CSSProperties;
101
+ className?: string;
102
+ };
73
103
  }
74
104
  interface GravityAdProps {
75
105
  ad: AdResponse | null;