@oods/components-react 0.3.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.
@@ -0,0 +1,580 @@
1
+ import * as React from 'react';
2
+
3
+ type ComponentTone = 'neutral' | 'info' | 'accent' | 'positive' | 'success' | 'warning' | 'critical' | 'danger';
4
+ type ComponentEmphasis = 'subtle' | 'solid';
5
+ type ComponentSize = 'sm' | 'md' | 'lg';
6
+ type FieldDensity = 'compact' | 'comfortable';
7
+ type FieldValidation = {
8
+ readonly state: 'error' | 'warning' | 'success' | 'info';
9
+ readonly message?: React.ReactNode;
10
+ readonly id?: string;
11
+ };
12
+ interface BadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'content'> {
13
+ readonly content?: React.ReactNode;
14
+ readonly status?: string;
15
+ readonly domain?: string;
16
+ readonly tone?: ComponentTone;
17
+ readonly emphasis?: ComponentEmphasis;
18
+ readonly icon?: React.ReactNode;
19
+ readonly iconPosition?: 'start' | 'end';
20
+ readonly showIcon?: boolean;
21
+ }
22
+ interface BannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'content' | 'title'> {
23
+ readonly title?: React.ReactNode;
24
+ readonly detail?: React.ReactNode;
25
+ readonly description?: React.ReactNode;
26
+ readonly content?: React.ReactNode;
27
+ readonly status?: string;
28
+ readonly domain?: string;
29
+ readonly tone?: ComponentTone;
30
+ readonly emphasis?: ComponentEmphasis;
31
+ readonly icon?: React.ReactNode;
32
+ readonly actions?: React.ReactNode;
33
+ readonly onDismiss?: () => void;
34
+ readonly dismissLabel?: string;
35
+ readonly showIcon?: boolean;
36
+ readonly children?: React.ReactNode;
37
+ }
38
+ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'content'> {
39
+ readonly content?: React.ReactNode;
40
+ readonly children?: React.ReactNode;
41
+ readonly asChild?: boolean;
42
+ readonly intent?: 'neutral' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
43
+ readonly size?: ComponentSize;
44
+ readonly onActivate?: React.MouseEventHandler<HTMLElement>;
45
+ }
46
+ type SafeContainerElement = 'div' | 'section' | 'article' | 'aside' | 'main';
47
+ interface CardProps extends React.HTMLAttributes<HTMLElement> {
48
+ readonly elevated?: boolean;
49
+ readonly as?: SafeContainerElement;
50
+ }
51
+ type HeaderElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
52
+ type HeaderLevel = 1 | 2 | 3 | 4 | 5 | 6;
53
+ interface DetailHeaderProps extends React.HTMLAttributes<HTMLElement> {
54
+ readonly title?: string;
55
+ readonly label?: string;
56
+ readonly text?: string;
57
+ readonly subtitle?: string;
58
+ readonly sublabel?: string;
59
+ readonly description?: string;
60
+ readonly metadata?: string;
61
+ readonly meta?: string;
62
+ readonly level?: HeaderLevel;
63
+ readonly as?: HeaderElement;
64
+ }
65
+ interface CardHeaderProps extends React.HTMLAttributes<HTMLElement> {
66
+ readonly title?: string;
67
+ readonly label?: string;
68
+ readonly text?: string;
69
+ readonly supporting?: string;
70
+ readonly supportingText?: string;
71
+ readonly subtitle?: string;
72
+ readonly description?: string;
73
+ readonly level?: HeaderLevel;
74
+ readonly as?: HeaderElement;
75
+ }
76
+ interface ColorSwatchProps extends React.HTMLAttributes<HTMLSpanElement> {
77
+ readonly color?: string;
78
+ readonly value?: string;
79
+ readonly state?: string;
80
+ readonly label?: string;
81
+ }
82
+ interface ColorizedBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
83
+ readonly label?: string;
84
+ readonly text?: string;
85
+ readonly state?: string;
86
+ readonly value?: string;
87
+ readonly status?: string;
88
+ readonly color?: string;
89
+ readonly hue?: string;
90
+ readonly swatch?: string;
91
+ readonly variant?: string;
92
+ readonly tone?: ComponentTone;
93
+ readonly emphasis?: ComponentEmphasis;
94
+ }
95
+ interface VizAreaPreviewProps extends React.HTMLAttributes<HTMLElement> {
96
+ readonly svg?: string;
97
+ /** The same chart rendered at the narrow size; the figure shows it instead of svg when its own inline size is at most 600px. */
98
+ readonly svgNarrow?: string;
99
+ /** The same chart rendered at the wide size; the figure shows it instead of svg when its own inline size is at least 900px. */
100
+ readonly svgWide?: string;
101
+ readonly description?: string;
102
+ readonly width?: number;
103
+ readonly height?: number;
104
+ }
105
+ /** renderPanelSection aliases shared by every panel-family component. */
106
+ interface PanelSectionProps extends React.HTMLAttributes<HTMLElement> {
107
+ readonly title?: string;
108
+ readonly label?: string;
109
+ readonly heading?: string;
110
+ readonly name?: string;
111
+ readonly subtitle?: string;
112
+ readonly description?: string;
113
+ readonly metadata?: string;
114
+ readonly summary?: string;
115
+ readonly text?: string;
116
+ readonly body?: string;
117
+ readonly emptyMessage?: string;
118
+ }
119
+ type ClassificationPanelProps = PanelSectionProps;
120
+ type AddressCollectionPanelProps = PanelSectionProps;
121
+ type MembershipPanelProps = PanelSectionProps;
122
+ type PreferencePanelProps = PanelSectionProps;
123
+ interface TagManagerProps extends React.FormHTMLAttributes<HTMLFormElement> {
124
+ readonly title?: string;
125
+ readonly label?: string;
126
+ readonly heading?: string;
127
+ readonly name?: string;
128
+ readonly description?: string;
129
+ readonly subtitle?: string;
130
+ readonly hint?: string;
131
+ /** Tag entries as the HTML renderer reads them: records use label/name/role/value/id, scalars render as text. */
132
+ readonly tags?: readonly unknown[];
133
+ readonly value?: readonly unknown[];
134
+ }
135
+ /** Shared shape of the badge-family summaries over the Badge substrate. */
136
+ interface BadgeFamilyProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'role'> {
137
+ readonly label?: string;
138
+ readonly text?: string;
139
+ readonly value?: string;
140
+ readonly status?: string;
141
+ readonly state?: string;
142
+ readonly variant?: string;
143
+ readonly tone?: ComponentTone;
144
+ readonly emphasis?: ComponentEmphasis;
145
+ }
146
+ interface AddressSummaryBadgeProps extends BadgeFamilyProps {
147
+ /** The address role that names the status; never an ARIA role. */
148
+ readonly role?: string;
149
+ }
150
+ interface MessageStatusBadgeProps extends BadgeFamilyProps {
151
+ readonly delivery?: string;
152
+ }
153
+ interface PreferenceSummaryBadgeProps extends BadgeFamilyProps {
154
+ readonly namespace?: string;
155
+ readonly version?: string;
156
+ }
157
+ interface RoleBadgeListProps extends React.HTMLAttributes<HTMLSpanElement> {
158
+ readonly roles?: readonly unknown[];
159
+ readonly badges?: readonly unknown[];
160
+ readonly roleLabels?: readonly unknown[];
161
+ readonly value?: readonly unknown[];
162
+ readonly variant?: string;
163
+ readonly tone?: string;
164
+ readonly label?: string;
165
+ readonly text?: string;
166
+ }
167
+ interface TagPillsProps extends React.HTMLAttributes<HTMLDivElement> {
168
+ readonly tags?: readonly unknown[];
169
+ readonly value?: readonly unknown[];
170
+ readonly maxVisible?: number | string;
171
+ readonly overflowLabel?: string;
172
+ }
173
+ /** Timeline-family logs over renderTimelineContainer semantics; the event keys differ per family. */
174
+ interface TimelineFamilyProps extends React.HTMLAttributes<HTMLDivElement> {
175
+ readonly title?: string;
176
+ readonly label?: string;
177
+ readonly heading?: string;
178
+ readonly name?: string;
179
+ readonly events?: readonly unknown[];
180
+ }
181
+ interface AddressValidationTimelineProps extends TimelineFamilyProps {
182
+ readonly validations?: readonly unknown[];
183
+ readonly history?: readonly unknown[];
184
+ }
185
+ interface MembershipAuditTimelineProps extends TimelineFamilyProps {
186
+ readonly memberships?: readonly unknown[];
187
+ readonly history?: readonly unknown[];
188
+ }
189
+ interface MessageEventTimelineProps extends TimelineFamilyProps {
190
+ readonly messages?: readonly unknown[];
191
+ readonly statuses?: readonly unknown[];
192
+ }
193
+ interface PreferenceTimelineProps extends TimelineFamilyProps {
194
+ readonly changes?: readonly unknown[];
195
+ readonly history?: readonly unknown[];
196
+ }
197
+ interface AuditEventProps extends React.HTMLAttributes<HTMLElement> {
198
+ readonly label?: string;
199
+ readonly title?: string;
200
+ readonly event?: string;
201
+ readonly status?: string;
202
+ readonly state?: string;
203
+ readonly reason?: string;
204
+ readonly text?: string;
205
+ readonly timestamp?: string;
206
+ readonly datetime?: string;
207
+ readonly time?: string;
208
+ readonly at?: string;
209
+ readonly createdAt?: string;
210
+ readonly updatedAt?: string;
211
+ readonly detail?: string;
212
+ readonly description?: string;
213
+ readonly message?: string;
214
+ readonly from?: string;
215
+ readonly to?: string;
216
+ readonly code?: string;
217
+ }
218
+ /** renderFormContainer aliases shared by every form-family component. */
219
+ interface FormShellProps {
220
+ readonly title?: string;
221
+ readonly label?: string;
222
+ readonly heading?: string;
223
+ readonly name?: string;
224
+ readonly description?: string;
225
+ readonly subtitle?: string;
226
+ readonly hint?: string;
227
+ }
228
+ /** The record an AddressEditor hands its consumer on every edit. */
229
+ type AddressEditorValue = {
230
+ street: string;
231
+ city: string;
232
+ region: string;
233
+ postalCode: string;
234
+ };
235
+ interface AddressEditorProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'onChange' | 'title' | 'name'>, FormShellProps {
236
+ readonly street?: string;
237
+ readonly line1?: string;
238
+ readonly addressLine1?: string;
239
+ readonly city?: string;
240
+ readonly region?: string;
241
+ readonly state?: string;
242
+ readonly postalCode?: string;
243
+ readonly zip?: string;
244
+ readonly onChange?: (address: AddressEditorValue) => void;
245
+ }
246
+ interface PreferenceEditorProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'title' | 'name'>, FormShellProps {
247
+ readonly namespaces?: readonly unknown[];
248
+ readonly namespace?: string;
249
+ readonly document?: string;
250
+ readonly json?: string;
251
+ readonly value?: string;
252
+ }
253
+ interface RoleAssignmentFormProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'title' | 'name'>, FormShellProps {
254
+ readonly roles?: readonly unknown[];
255
+ readonly availableRoles?: readonly unknown[];
256
+ readonly role?: string;
257
+ readonly defaultRoleId?: string;
258
+ readonly assignee?: string;
259
+ readonly member?: string;
260
+ }
261
+ interface StatusSelectorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'title'> {
262
+ readonly help?: string;
263
+ readonly label?: string;
264
+ readonly title?: string;
265
+ readonly options?: readonly unknown[];
266
+ readonly states?: readonly unknown[];
267
+ readonly value?: string;
268
+ readonly status?: string;
269
+ readonly onChange?: React.ChangeEventHandler<HTMLSelectElement>;
270
+ readonly onValueChange?: (value: string) => void;
271
+ readonly onUpdate?: (value: string) => void;
272
+ }
273
+ interface TagInputProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, 'onChange' | 'title' | 'name'>, FormShellProps {
274
+ readonly tags?: readonly unknown[];
275
+ readonly value?: string;
276
+ readonly placeholder?: string;
277
+ readonly onChange?: React.ChangeEventHandler<HTMLInputElement>;
278
+ readonly onValueChange?: (value: string) => void;
279
+ readonly onUpdate?: (value: string) => void;
280
+ }
281
+ interface TemplatePickerProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, 'title' | 'name'>, FormShellProps {
282
+ readonly templates?: readonly unknown[];
283
+ readonly options?: readonly unknown[];
284
+ readonly templateId?: string;
285
+ readonly value?: string;
286
+ readonly channels?: readonly unknown[];
287
+ readonly channel?: string;
288
+ }
289
+ /** A saved-schema filter descriptor; the renderer reads label and field, exactly as the HTML renderer does. */
290
+ type FilterDescriptor = Readonly<Record<string, unknown>>;
291
+ interface FilterPanelProps extends React.HTMLAttributes<HTMLElement> {
292
+ readonly filters?: readonly FilterDescriptor[];
293
+ readonly activeFilters?: readonly FilterDescriptor[];
294
+ readonly mode?: string;
295
+ readonly collapsible?: boolean;
296
+ }
297
+ interface PriceSummaryProps extends React.HTMLAttributes<HTMLElement> {
298
+ readonly title?: string;
299
+ readonly label?: string;
300
+ readonly heading?: string;
301
+ readonly name?: string;
302
+ readonly amount?: string | number;
303
+ readonly amountCents?: string | number;
304
+ readonly unitAmountCents?: string | number;
305
+ readonly minorUnits?: number;
306
+ readonly currency?: string;
307
+ readonly currencyCode?: string;
308
+ readonly model?: string;
309
+ readonly pricingModel?: string;
310
+ readonly interval?: string;
311
+ readonly billingInterval?: string;
312
+ readonly summary?: string;
313
+ readonly text?: string;
314
+ readonly description?: string;
315
+ }
316
+ interface CommonFieldProps {
317
+ readonly id: string;
318
+ readonly label: React.ReactNode;
319
+ readonly help?: React.ReactNode;
320
+ readonly description?: React.ReactNode;
321
+ readonly validation?: FieldValidation;
322
+ readonly density?: FieldDensity;
323
+ readonly requiredIndicator?: React.ReactNode;
324
+ readonly className?: string;
325
+ readonly style?: React.CSSProperties;
326
+ }
327
+ type NativeInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'id' | 'children' | 'className' | 'style'>;
328
+ interface InputProps extends NativeInputProps, CommonFieldProps {
329
+ readonly inputClassName?: string;
330
+ readonly inputStyle?: React.CSSProperties;
331
+ readonly onValueChange?: (value: string) => void;
332
+ readonly onUpdate?: (value: string) => void;
333
+ }
334
+ interface DatePickerProps extends Omit<InputProps, 'type'> {
335
+ readonly pickerClassName?: string;
336
+ readonly pickerStyle?: React.CSSProperties;
337
+ }
338
+ type NativeCheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'id' | 'type' | 'children' | 'className' | 'style'>;
339
+ interface CheckboxProps extends NativeCheckboxProps, CommonFieldProps {
340
+ readonly checkboxClassName?: string;
341
+ readonly checkboxStyle?: React.CSSProperties;
342
+ readonly onCheckedChange?: (checked: boolean) => void;
343
+ readonly onUpdate?: (checked: boolean) => void;
344
+ }
345
+ type SelectOption = {
346
+ readonly value: string;
347
+ readonly label: React.ReactNode;
348
+ readonly disabled?: boolean;
349
+ };
350
+ type NativeSelectProps = Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'id' | 'className' | 'style'>;
351
+ interface SelectProps extends NativeSelectProps, CommonFieldProps {
352
+ readonly options?: readonly SelectOption[];
353
+ readonly placeholder?: string;
354
+ readonly selectClassName?: string;
355
+ readonly selectStyle?: React.CSSProperties;
356
+ readonly onValueChange?: (value: string) => void;
357
+ readonly onUpdate?: (value: string) => void;
358
+ }
359
+ type NativeTextareaProps = Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'id' | 'children' | 'className' | 'style'>;
360
+ interface TextareaProps extends NativeTextareaProps, CommonFieldProps {
361
+ readonly textareaClassName?: string;
362
+ readonly textareaStyle?: React.CSSProperties;
363
+ readonly onValueChange?: (value: string) => void;
364
+ readonly onUpdate?: (value: string) => void;
365
+ }
366
+ type LayoutGap = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | string;
367
+ interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
368
+ readonly columns?: number | 'auto-fit';
369
+ readonly minColumnWidth?: string;
370
+ readonly gap?: LayoutGap;
371
+ readonly align?: React.CSSProperties['alignItems'];
372
+ readonly justify?: React.CSSProperties['justifyContent'];
373
+ }
374
+ interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
375
+ readonly direction?: 'row' | 'column';
376
+ readonly gap?: LayoutGap;
377
+ readonly align?: React.CSSProperties['alignItems'];
378
+ readonly justify?: React.CSSProperties['justifyContent'];
379
+ readonly wrap?: boolean;
380
+ }
381
+ type TableRowData = {
382
+ readonly id: string;
383
+ readonly [key: string]: unknown;
384
+ };
385
+ type TableColumn<Row extends TableRowData = TableRowData> = {
386
+ readonly key: string;
387
+ readonly label: React.ReactNode;
388
+ readonly numeric?: boolean;
389
+ readonly render?: (value: unknown, row: Row) => React.ReactNode;
390
+ };
391
+ interface TableProps<Row extends TableRowData = TableRowData> extends Omit<React.TableHTMLAttributes<HTMLTableElement>, 'children'> {
392
+ readonly caption?: React.ReactNode;
393
+ readonly columns?: readonly TableColumn<Row>[];
394
+ readonly rows?: readonly Row[];
395
+ readonly density?: FieldDensity;
396
+ readonly selectable?: boolean;
397
+ readonly onRowActivate?: (id: string, row: Row, event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
398
+ readonly children?: React.ReactNode;
399
+ readonly containerClassName?: string;
400
+ readonly containerStyle?: React.CSSProperties;
401
+ }
402
+ interface TableHeadProps extends React.HTMLAttributes<HTMLTableSectionElement> {
403
+ }
404
+ interface TableBodyProps extends React.HTMLAttributes<HTMLTableSectionElement> {
405
+ }
406
+ type TableCaptionProps = React.ComponentPropsWithoutRef<'caption'>;
407
+ interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
408
+ readonly selectable?: boolean;
409
+ readonly selected?: boolean;
410
+ readonly onActivate?: (event: React.MouseEvent<HTMLTableRowElement> | React.KeyboardEvent<HTMLTableRowElement>) => void;
411
+ }
412
+ interface TableHeaderCellProps extends React.ComponentPropsWithoutRef<'th'> {
413
+ readonly numeric?: boolean;
414
+ }
415
+ interface TableCellProps extends React.ComponentPropsWithoutRef<'td'> {
416
+ readonly numeric?: boolean;
417
+ readonly status?: string;
418
+ readonly statusDomain?: string;
419
+ readonly tone?: ComponentTone;
420
+ readonly statusEmphasis?: 'surface' | 'text';
421
+ }
422
+ type TableCompound = React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>> & {
423
+ readonly Head: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableSectionElement>>;
424
+ readonly Body: React.ForwardRefExoticComponent<TableBodyProps & React.RefAttributes<HTMLTableSectionElement>>;
425
+ readonly Caption: React.ForwardRefExoticComponent<TableCaptionProps & React.RefAttributes<HTMLTableCaptionElement>>;
426
+ readonly Row: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
427
+ readonly HeaderCell: React.ForwardRefExoticComponent<TableHeaderCellProps & React.RefAttributes<HTMLTableCellElement>>;
428
+ readonly Cell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
429
+ };
430
+ type TabItem = {
431
+ readonly id: string;
432
+ readonly label: React.ReactNode;
433
+ readonly panel: React.ReactNode;
434
+ readonly isDisabled?: boolean;
435
+ readonly disabled?: boolean;
436
+ };
437
+ interface TabsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
438
+ readonly items: readonly TabItem[];
439
+ readonly selectedId?: string;
440
+ readonly defaultSelectedId?: string;
441
+ readonly size?: ComponentSize;
442
+ readonly overflowLabel?: string;
443
+ readonly ariaLabel?: string;
444
+ readonly onChange?: (id: string) => void;
445
+ readonly onUpdate?: (id: string) => void;
446
+ }
447
+ type SafeTextElement = 'span' | 'p' | 'strong' | 'em' | 'small' | 'div' | 'dt' | 'dd' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
448
+ interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'children' | 'content'> {
449
+ readonly content?: React.ReactNode;
450
+ readonly children?: React.ReactNode;
451
+ readonly label?: string;
452
+ readonly size?: ComponentSize;
453
+ readonly weight?: 'regular' | 'medium' | 'semibold';
454
+ readonly as?: SafeTextElement;
455
+ }
456
+ interface InlineLabelProps extends React.HTMLAttributes<HTMLSpanElement> {
457
+ readonly label?: string;
458
+ readonly text?: string;
459
+ readonly value?: string;
460
+ readonly maxLength?: number | string;
461
+ }
462
+ interface LabelCellProps extends InlineLabelProps {
463
+ readonly description?: string;
464
+ readonly subtitle?: string;
465
+ readonly sublabel?: string;
466
+ readonly supporting?: string;
467
+ readonly truncate?: boolean;
468
+ }
469
+ interface FormLabelGroupProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
470
+ readonly label?: string;
471
+ readonly text?: string;
472
+ readonly title?: string;
473
+ readonly placeholder?: string;
474
+ readonly hint?: string;
475
+ readonly description?: string;
476
+ readonly for?: string;
477
+ readonly inputId?: string;
478
+ }
479
+ interface ClassificationBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
480
+ readonly label?: string;
481
+ readonly text?: string;
482
+ readonly category?: string;
483
+ readonly value?: string;
484
+ readonly status?: string;
485
+ readonly state?: string;
486
+ readonly mode?: string;
487
+ readonly variant?: string;
488
+ readonly tone?: ComponentTone;
489
+ readonly emphasis?: ComponentEmphasis;
490
+ }
491
+ interface ClassificationEditorProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'title' | 'name'>, FormShellProps {
492
+ readonly category?: string;
493
+ readonly primaryCategory?: string;
494
+ readonly tags?: string | readonly unknown[];
495
+ readonly modes?: readonly unknown[];
496
+ readonly mode?: string;
497
+ readonly classificationMode?: string;
498
+ }
499
+ interface OwnerBadgeProps extends Omit<ClassificationBadgeProps, 'category' | 'mode'> {
500
+ readonly owner?: string;
501
+ readonly ownerType?: string;
502
+ }
503
+ interface OwnershipSummaryProps extends Omit<React.HTMLAttributes<HTMLElement>, 'role'> {
504
+ readonly label?: string;
505
+ readonly heading?: string;
506
+ readonly name?: string;
507
+ readonly ownerLabel?: string;
508
+ readonly ownerId?: string;
509
+ readonly owner_id?: string;
510
+ readonly ownerType?: string;
511
+ readonly owner_type?: string;
512
+ readonly role?: string;
513
+ readonly ownershipRole?: string;
514
+ readonly summary?: string;
515
+ readonly text?: string;
516
+ readonly description?: string;
517
+ }
518
+ interface OwnershipMetaProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'role'> {
519
+ readonly label?: string;
520
+ readonly heading?: string;
521
+ readonly name?: string;
522
+ readonly ownerType?: string;
523
+ readonly owner_type?: string;
524
+ readonly role?: string;
525
+ readonly ownershipRole?: string;
526
+ }
527
+ interface TagSummaryProps extends React.HTMLAttributes<HTMLElement> {
528
+ readonly label?: string;
529
+ readonly heading?: string;
530
+ readonly name?: string;
531
+ readonly tagCount?: number | string;
532
+ readonly count?: number | string;
533
+ readonly tags?: string | readonly unknown[];
534
+ readonly summary?: string;
535
+ readonly text?: string;
536
+ readonly description?: string;
537
+ }
538
+ interface ArchiveSummaryProps extends React.HTMLAttributes<HTMLElement> {
539
+ readonly label?: string;
540
+ readonly heading?: string;
541
+ readonly name?: string;
542
+ readonly isArchived?: boolean | string;
543
+ readonly archived?: boolean | string;
544
+ readonly status?: boolean | string;
545
+ readonly archivedAt?: string | null;
546
+ readonly reason?: string;
547
+ readonly archiveReason?: string;
548
+ readonly summary?: string;
549
+ readonly text?: string;
550
+ readonly description?: string;
551
+ }
552
+ interface ArchivePillProps extends Omit<ClassificationBadgeProps, 'category' | 'mode' | 'value'> {
553
+ readonly isArchived?: boolean | string;
554
+ readonly value?: boolean | string;
555
+ }
556
+ interface CancellationBadgeProps extends Omit<ClassificationBadgeProps, 'category' | 'mode' | 'value'> {
557
+ readonly cancelAtPeriodEnd?: boolean | string;
558
+ readonly isCancelled?: boolean | string;
559
+ readonly value?: boolean | string;
560
+ }
561
+ interface CancellationFormProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'title' | 'name'>, FormShellProps {
562
+ readonly embedded?: boolean;
563
+ readonly reasonHelp?: string;
564
+ readonly codeHelp?: string;
565
+ readonly allowedReasons?: readonly unknown[];
566
+ readonly reasonCode?: string;
567
+ readonly reason?: string;
568
+ readonly cancellationReason?: string;
569
+ }
570
+ interface PriceCardMetaProps extends React.HTMLAttributes<HTMLDivElement> {
571
+ readonly label?: string;
572
+ readonly heading?: string;
573
+ readonly name?: string;
574
+ readonly model?: string;
575
+ readonly pricingModel?: string;
576
+ readonly interval?: string;
577
+ readonly billingInterval?: string;
578
+ }
579
+
580
+ export type { AddressCollectionPanelProps, AddressEditorProps, AddressEditorValue, AddressSummaryBadgeProps, AddressValidationTimelineProps, ArchivePillProps, ArchiveSummaryProps, AuditEventProps, BadgeProps, BannerProps, ButtonProps, CancellationBadgeProps, CancellationFormProps, CardHeaderProps, CardProps, CheckboxProps, ClassificationBadgeProps, ClassificationEditorProps, ClassificationPanelProps, ColorSwatchProps, ColorizedBadgeProps, CommonFieldProps, ComponentEmphasis, ComponentSize, ComponentTone, DatePickerProps, DetailHeaderProps, FieldDensity, FieldValidation, FilterDescriptor, FilterPanelProps, FormLabelGroupProps, GridProps, HeaderElement, HeaderLevel, InlineLabelProps, InputProps, LabelCellProps, LayoutGap, MembershipAuditTimelineProps, MembershipPanelProps, MessageEventTimelineProps, MessageStatusBadgeProps, OwnerBadgeProps, OwnershipMetaProps, OwnershipSummaryProps, PanelSectionProps, PreferenceEditorProps, PreferencePanelProps, PreferenceSummaryBadgeProps, PreferenceTimelineProps, PriceCardMetaProps, PriceSummaryProps, RoleAssignmentFormProps, RoleBadgeListProps, SafeContainerElement, SafeTextElement, SelectOption, SelectProps, StackProps, StatusSelectorProps, TabItem, TableBodyProps, TableCaptionProps, TableCellProps, TableColumn, TableCompound, TableHeadProps, TableHeaderCellProps, TableProps, TableRowData, TableRowProps, TabsProps, TagInputProps, TagManagerProps, TagPillsProps, TagSummaryProps, TemplatePickerProps, TextProps, TextareaProps, VizAreaPreviewProps };