@orangecheck/design 0.19.0 → 0.20.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.
@@ -101,4 +101,145 @@ interface DataRowProps {
101
101
  }
102
102
  declare function DataRow({ children, meta, action, as, className }: DataRowProps): react_jsx_runtime.JSX.Element;
103
103
 
104
- export { Callout, type CalloutProps, type CalloutTone, DataRow, type DataRowProps, type DefinitionItem, DefinitionList, type DefinitionListProps, EmptyState, type EmptyStateCta, type EmptyStateProps, HelpHint, type HelpHintProps, SectionHeader, type SectionHeaderProps, StatCard, type StatCardProps, StatGrid, type StatGridProps, type StatItem, StatTile };
104
+ interface TwoToneHeadingProps {
105
+ lead: ReactNode;
106
+ muted?: ReactNode;
107
+ as?: ElementType;
108
+ tone?: 'default' | 'onBrand';
109
+ className?: string;
110
+ }
111
+ declare function TwoToneHeading({ lead, muted, as, tone, className, }: TwoToneHeadingProps): react_jsx_runtime.JSX.Element;
112
+ interface MarketingHeadingProps {
113
+ eyebrow?: string;
114
+ lead: ReactNode;
115
+ muted?: ReactNode;
116
+ body?: ReactNode;
117
+ align?: 'start' | 'center';
118
+ tone?: 'default' | 'onBrand';
119
+ as?: ElementType;
120
+ className?: string;
121
+ }
122
+ declare function MarketingHeading({ eyebrow, lead, muted, body, align, tone, as, className, }: MarketingHeadingProps): react_jsx_runtime.JSX.Element;
123
+
124
+ interface FeatureCardProps {
125
+ icon?: ReactNode;
126
+ iconTone?: 'peach' | 'dark' | 'brand' | 'onBrand' | 'muted' | 'surface';
127
+ title: ReactNode;
128
+ children?: ReactNode;
129
+ orientation?: 'vertical' | 'horizontal';
130
+ align?: 'start' | 'center';
131
+ tone?: 'default' | 'muted' | 'onBrand';
132
+ elevation?: 'none' | 'sm' | 'md' | 'lg';
133
+ className?: string;
134
+ }
135
+ declare function FeatureCard({ icon, iconTone, title, children, orientation, align, tone, elevation, className, }: FeatureCardProps): react_jsx_runtime.JSX.Element;
136
+
137
+ interface SectionProps {
138
+ tone?: 'default' | 'muted' | 'brand' | 'dark';
139
+ width?: 'default' | 'wide' | 'full';
140
+ diagonal?: boolean;
141
+ id?: string;
142
+ className?: string;
143
+ innerClassName?: string;
144
+ children: ReactNode;
145
+ }
146
+ declare function Section({ tone, width, diagonal, id, className, innerClassName, children, }: SectionProps): react_jsx_runtime.JSX.Element;
147
+ declare function BrandBand(props: SectionProps): react_jsx_runtime.JSX.Element;
148
+
149
+ interface ComparisonRow {
150
+ label: ReactNode;
151
+ theirs: ReactNode;
152
+ ours: ReactNode;
153
+ }
154
+ interface ComparisonTableProps {
155
+ rows: ComparisonRow[];
156
+ columns?: {
157
+ feature?: string;
158
+ theirs: string;
159
+ ours: string;
160
+ };
161
+ className?: string;
162
+ }
163
+ declare function ComparisonTable({ rows, columns, className }: ComparisonTableProps): react_jsx_runtime.JSX.Element;
164
+
165
+ interface Step {
166
+ title: ReactNode;
167
+ children?: ReactNode;
168
+ }
169
+ interface NumberedStepProps {
170
+ n: number;
171
+ title: ReactNode;
172
+ children?: ReactNode;
173
+ tone?: 'default' | 'onBrand';
174
+ card?: boolean;
175
+ className?: string;
176
+ }
177
+ declare function NumberedStep({ n, title, children, tone, card, className, }: NumberedStepProps): react_jsx_runtime.JSX.Element;
178
+ interface StepListProps {
179
+ steps: Step[];
180
+ variant?: 'bare' | 'card';
181
+ tone?: 'default' | 'onBrand';
182
+ columns?: 2 | 3 | 4;
183
+ className?: string;
184
+ }
185
+ declare function StepList({ steps, variant, tone, columns, className, }: StepListProps): react_jsx_runtime.JSX.Element;
186
+
187
+ interface FaqItem {
188
+ q: ReactNode;
189
+ a: ReactNode;
190
+ }
191
+ interface FaqProps {
192
+ items: FaqItem[];
193
+ defaultOpen?: number;
194
+ className?: string;
195
+ }
196
+ declare function Faq({ items, defaultOpen, className }: FaqProps): react_jsx_runtime.JSX.Element;
197
+
198
+ interface EmailCaptureProps {
199
+ action?: string;
200
+ method?: string;
201
+ onSubmit?: (e: React.FormEvent<HTMLFormElement>) => void;
202
+ name?: string;
203
+ placeholder?: string;
204
+ cta?: ReactNode;
205
+ note?: ReactNode;
206
+ tone?: 'default' | 'onBrand';
207
+ className?: string;
208
+ }
209
+ declare function EmailCapture({ action, method, onSubmit, name, placeholder, cta, note, tone, className, }: EmailCaptureProps): react_jsx_runtime.JSX.Element;
210
+
211
+ interface CheckListProps {
212
+ items: ReactNode[];
213
+ orientation?: 'horizontal' | 'vertical';
214
+ tone?: 'default' | 'onBrand';
215
+ className?: string;
216
+ }
217
+ declare function CheckList({ items, orientation, tone, className, }: CheckListProps): react_jsx_runtime.JSX.Element;
218
+
219
+ interface AccentNoteProps {
220
+ lead?: ReactNode;
221
+ children: ReactNode;
222
+ tone?: 'default' | 'onBrand';
223
+ className?: string;
224
+ }
225
+ declare function AccentNote({ lead, children, tone, className }: AccentNoteProps): react_jsx_runtime.JSX.Element;
226
+ interface AccentListItem {
227
+ title: ReactNode;
228
+ children?: ReactNode;
229
+ active?: boolean;
230
+ }
231
+ interface AccentListProps {
232
+ items: AccentListItem[];
233
+ className?: string;
234
+ }
235
+ declare function AccentList({ items, className }: AccentListProps): react_jsx_runtime.JSX.Element;
236
+
237
+ interface VerifiedChipProps {
238
+ icon?: ReactNode;
239
+ iconTone?: 'peach' | 'dark' | 'brand' | 'onBrand' | 'muted';
240
+ label: ReactNode;
241
+ className?: string;
242
+ }
243
+ declare function VerifiedChip({ icon, iconTone, label, className }: VerifiedChipProps): react_jsx_runtime.JSX.Element;
244
+
245
+ export { AccentList, type AccentListItem, type AccentListProps, AccentNote, type AccentNoteProps, BrandBand, Callout, type CalloutProps, type CalloutTone, CheckList, type CheckListProps, type ComparisonRow, ComparisonTable, type ComparisonTableProps, DataRow, type DataRowProps, type DefinitionItem, DefinitionList, type DefinitionListProps, EmailCapture, type EmailCaptureProps, EmptyState, type EmptyStateCta, type EmptyStateProps, Faq, type FaqItem, type FaqProps, FeatureCard, type FeatureCardProps, HelpHint, type HelpHintProps, MarketingHeading, type MarketingHeadingProps, NumberedStep, type NumberedStepProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, StatCard, type StatCardProps, StatGrid, type StatGridProps, type StatItem, StatTile, type Step, StepList, type StepListProps, TwoToneHeading, type TwoToneHeadingProps, VerifiedChip, type VerifiedChipProps };
@@ -101,4 +101,145 @@ interface DataRowProps {
101
101
  }
102
102
  declare function DataRow({ children, meta, action, as, className }: DataRowProps): react_jsx_runtime.JSX.Element;
103
103
 
104
- export { Callout, type CalloutProps, type CalloutTone, DataRow, type DataRowProps, type DefinitionItem, DefinitionList, type DefinitionListProps, EmptyState, type EmptyStateCta, type EmptyStateProps, HelpHint, type HelpHintProps, SectionHeader, type SectionHeaderProps, StatCard, type StatCardProps, StatGrid, type StatGridProps, type StatItem, StatTile };
104
+ interface TwoToneHeadingProps {
105
+ lead: ReactNode;
106
+ muted?: ReactNode;
107
+ as?: ElementType;
108
+ tone?: 'default' | 'onBrand';
109
+ className?: string;
110
+ }
111
+ declare function TwoToneHeading({ lead, muted, as, tone, className, }: TwoToneHeadingProps): react_jsx_runtime.JSX.Element;
112
+ interface MarketingHeadingProps {
113
+ eyebrow?: string;
114
+ lead: ReactNode;
115
+ muted?: ReactNode;
116
+ body?: ReactNode;
117
+ align?: 'start' | 'center';
118
+ tone?: 'default' | 'onBrand';
119
+ as?: ElementType;
120
+ className?: string;
121
+ }
122
+ declare function MarketingHeading({ eyebrow, lead, muted, body, align, tone, as, className, }: MarketingHeadingProps): react_jsx_runtime.JSX.Element;
123
+
124
+ interface FeatureCardProps {
125
+ icon?: ReactNode;
126
+ iconTone?: 'peach' | 'dark' | 'brand' | 'onBrand' | 'muted' | 'surface';
127
+ title: ReactNode;
128
+ children?: ReactNode;
129
+ orientation?: 'vertical' | 'horizontal';
130
+ align?: 'start' | 'center';
131
+ tone?: 'default' | 'muted' | 'onBrand';
132
+ elevation?: 'none' | 'sm' | 'md' | 'lg';
133
+ className?: string;
134
+ }
135
+ declare function FeatureCard({ icon, iconTone, title, children, orientation, align, tone, elevation, className, }: FeatureCardProps): react_jsx_runtime.JSX.Element;
136
+
137
+ interface SectionProps {
138
+ tone?: 'default' | 'muted' | 'brand' | 'dark';
139
+ width?: 'default' | 'wide' | 'full';
140
+ diagonal?: boolean;
141
+ id?: string;
142
+ className?: string;
143
+ innerClassName?: string;
144
+ children: ReactNode;
145
+ }
146
+ declare function Section({ tone, width, diagonal, id, className, innerClassName, children, }: SectionProps): react_jsx_runtime.JSX.Element;
147
+ declare function BrandBand(props: SectionProps): react_jsx_runtime.JSX.Element;
148
+
149
+ interface ComparisonRow {
150
+ label: ReactNode;
151
+ theirs: ReactNode;
152
+ ours: ReactNode;
153
+ }
154
+ interface ComparisonTableProps {
155
+ rows: ComparisonRow[];
156
+ columns?: {
157
+ feature?: string;
158
+ theirs: string;
159
+ ours: string;
160
+ };
161
+ className?: string;
162
+ }
163
+ declare function ComparisonTable({ rows, columns, className }: ComparisonTableProps): react_jsx_runtime.JSX.Element;
164
+
165
+ interface Step {
166
+ title: ReactNode;
167
+ children?: ReactNode;
168
+ }
169
+ interface NumberedStepProps {
170
+ n: number;
171
+ title: ReactNode;
172
+ children?: ReactNode;
173
+ tone?: 'default' | 'onBrand';
174
+ card?: boolean;
175
+ className?: string;
176
+ }
177
+ declare function NumberedStep({ n, title, children, tone, card, className, }: NumberedStepProps): react_jsx_runtime.JSX.Element;
178
+ interface StepListProps {
179
+ steps: Step[];
180
+ variant?: 'bare' | 'card';
181
+ tone?: 'default' | 'onBrand';
182
+ columns?: 2 | 3 | 4;
183
+ className?: string;
184
+ }
185
+ declare function StepList({ steps, variant, tone, columns, className, }: StepListProps): react_jsx_runtime.JSX.Element;
186
+
187
+ interface FaqItem {
188
+ q: ReactNode;
189
+ a: ReactNode;
190
+ }
191
+ interface FaqProps {
192
+ items: FaqItem[];
193
+ defaultOpen?: number;
194
+ className?: string;
195
+ }
196
+ declare function Faq({ items, defaultOpen, className }: FaqProps): react_jsx_runtime.JSX.Element;
197
+
198
+ interface EmailCaptureProps {
199
+ action?: string;
200
+ method?: string;
201
+ onSubmit?: (e: React.FormEvent<HTMLFormElement>) => void;
202
+ name?: string;
203
+ placeholder?: string;
204
+ cta?: ReactNode;
205
+ note?: ReactNode;
206
+ tone?: 'default' | 'onBrand';
207
+ className?: string;
208
+ }
209
+ declare function EmailCapture({ action, method, onSubmit, name, placeholder, cta, note, tone, className, }: EmailCaptureProps): react_jsx_runtime.JSX.Element;
210
+
211
+ interface CheckListProps {
212
+ items: ReactNode[];
213
+ orientation?: 'horizontal' | 'vertical';
214
+ tone?: 'default' | 'onBrand';
215
+ className?: string;
216
+ }
217
+ declare function CheckList({ items, orientation, tone, className, }: CheckListProps): react_jsx_runtime.JSX.Element;
218
+
219
+ interface AccentNoteProps {
220
+ lead?: ReactNode;
221
+ children: ReactNode;
222
+ tone?: 'default' | 'onBrand';
223
+ className?: string;
224
+ }
225
+ declare function AccentNote({ lead, children, tone, className }: AccentNoteProps): react_jsx_runtime.JSX.Element;
226
+ interface AccentListItem {
227
+ title: ReactNode;
228
+ children?: ReactNode;
229
+ active?: boolean;
230
+ }
231
+ interface AccentListProps {
232
+ items: AccentListItem[];
233
+ className?: string;
234
+ }
235
+ declare function AccentList({ items, className }: AccentListProps): react_jsx_runtime.JSX.Element;
236
+
237
+ interface VerifiedChipProps {
238
+ icon?: ReactNode;
239
+ iconTone?: 'peach' | 'dark' | 'brand' | 'onBrand' | 'muted';
240
+ label: ReactNode;
241
+ className?: string;
242
+ }
243
+ declare function VerifiedChip({ icon, iconTone, label, className }: VerifiedChipProps): react_jsx_runtime.JSX.Element;
244
+
245
+ export { AccentList, type AccentListItem, type AccentListProps, AccentNote, type AccentNoteProps, BrandBand, Callout, type CalloutProps, type CalloutTone, CheckList, type CheckListProps, type ComparisonRow, ComparisonTable, type ComparisonTableProps, DataRow, type DataRowProps, type DefinitionItem, DefinitionList, type DefinitionListProps, EmailCapture, type EmailCaptureProps, EmptyState, type EmptyStateCta, type EmptyStateProps, Faq, type FaqItem, type FaqProps, FeatureCard, type FeatureCardProps, HelpHint, type HelpHintProps, MarketingHeading, type MarketingHeadingProps, NumberedStep, type NumberedStepProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, StatCard, type StatCardProps, StatGrid, type StatGridProps, type StatItem, StatTile, type Step, StepList, type StepListProps, TwoToneHeading, type TwoToneHeadingProps, VerifiedChip, type VerifiedChipProps };