@oods/components-react 0.3.3 → 0.4.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.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { BadgeProps, BannerProps, ButtonProps, CardProps, TextProps, CheckboxProps, DatePickerProps, InputProps, SelectProps, TextareaProps, GridProps, StackProps, TabsProps, PanelSectionProps, AddressEditorProps, AddressSummaryBadgeProps, AddressValidationTimelineProps, AuditEventProps, CardHeaderProps, ColorSwatchProps, ColorizedBadgeProps, DetailHeaderProps, FilterPanelProps, MembershipAuditTimelineProps, MessageEventTimelineProps, MessageStatusBadgeProps, PreferenceEditorProps, PreferenceSummaryBadgeProps, PreferenceTimelineProps, PriceSummaryProps, RoleAssignmentFormProps, RoleBadgeListProps, StatusSelectorProps, TagInputProps, TagManagerProps, TagPillsProps, TemplatePickerProps, VizAreaPreviewProps, LabelCellProps, InlineLabelProps, FormLabelGroupProps, ClassificationBadgeProps, ClassificationEditorProps, OwnerBadgeProps, OwnershipSummaryProps, OwnershipMetaProps, TagSummaryProps, ArchiveSummaryProps, ArchivePillProps, CancellationFormProps, CancellationBadgeProps, PriceCardMetaProps } from './types.cjs';
3
- export { AddressCollectionPanelProps, AddressEditorValue, ClassificationPanelProps, CommonFieldProps, ComponentEmphasis, ComponentSize, ComponentTone, FieldDensity, FieldValidation, FilterDescriptor, HeaderElement, HeaderLevel, LayoutGap, MembershipPanelProps, PreferencePanelProps, SafeContainerElement, SafeTextElement, SelectOption, TabItem, TableBodyProps, TableCaptionProps, TableCellProps, TableColumn, TableCompound, TableHeadProps, TableHeaderCellProps, TableProps, TableRowData, TableRowProps } from './types.cjs';
2
+ import { BadgeProps, BannerProps, ButtonProps, CardProps, DialogProps, TextProps, CheckboxProps, DatePickerProps, InputProps, SelectProps, SwitchProps, TextareaProps, GridProps, StackProps, TabsProps, PanelSectionProps, AddressEditorProps, AddressSummaryBadgeProps, AddressValidationTimelineProps, AuditEventProps, CardHeaderProps, ColorSwatchProps, ColorizedBadgeProps, DetailHeaderProps, FilterPanelProps, MembershipAuditTimelineProps, MessageEventTimelineProps, MessageStatusBadgeProps, PreferenceEditorProps, PreferenceSummaryBadgeProps, PreferenceTimelineProps, PriceSummaryProps, RoleAssignmentFormProps, RoleBadgeListProps, StatusSelectorProps, TagInputProps, TagManagerProps, TagPillsProps, TemplatePickerProps, VizAreaPreviewProps, LabelCellProps, InlineLabelProps, FormLabelGroupProps, ClassificationBadgeProps, ClassificationEditorProps, OwnerBadgeProps, OwnershipSummaryProps, OwnershipMetaProps, TagSummaryProps, ArchiveSummaryProps, ArchivePillProps, CancellationFormProps, CancellationBadgeProps, PriceCardMetaProps } from './types.cjs';
3
+ export { AddressCollectionPanelProps, AddressEditorValue, ButtonIntent, ButtonSize, ClassificationPanelProps, CommonFieldProps, ComponentEmphasis, ComponentSize, ComponentTone, FieldDensity, FieldValidation, FilterDescriptor, HeaderElement, HeaderLevel, LayoutGap, MembershipPanelProps, PreferencePanelProps, SafeContainerElement, SafeTextElement, SelectOption, TabItem, TableBodyProps, TableCaptionProps, TableCellProps, TableColumn, TableCompound, TableHeadProps, TableHeaderCellProps, TableProps, TableRowData, TableRowProps } from './types.cjs';
4
4
  export { Table } from './table.cjs';
5
5
  export { AuditTimeline, AuditTimelineProps, CancellationSummary, CancellationSummaryProps, PaginationBar, PaginationBarProps, PriceBadge, PriceBadgeProps, RelativeTimestamp, RelativeTimestampProps, SearchInput, SearchInputProps, StatusBadge, StatusBadgeProps, StatusTimeline, StatusTimelineProps, TimelineEvent } from './ported.cjs';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -9,12 +9,14 @@ import { BillingCycleValues, BillingPaymentValues, CollectionEvent, AuditSummary
9
9
  declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
10
10
  declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
11
11
  declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
12
+ declare const Dialog: React.ForwardRefExoticComponent<DialogProps & React.RefAttributes<HTMLDialogElement>>;
12
13
  declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLElement>>;
13
14
  declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
14
15
 
15
16
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
16
17
  declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
17
18
  declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
19
+ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
18
20
  declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
19
21
  declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
20
22
 
@@ -284,4 +286,4 @@ declare const VizMarkPreview: ({ title, children, ...props }: VizAreaPreviewProp
284
286
  declare const VizPointPreview: ({ title, children, ...props }: VizAreaPreviewProps) => react_jsx_runtime.JSX.Element;
285
287
  declare const VizScatterPreview: ({ title, children, ...props }: VizAreaPreviewProps) => react_jsx_runtime.JSX.Element;
286
288
 
287
- export { AddressCollectionPanel, AddressEditor, AddressEditorProps, AddressSummaryBadge, AddressSummaryBadgeProps, AddressValidationTimeline, AddressValidationTimelineProps, ArchiveEvent, ArchivePill, ArchivePillProps, ArchiveSummary, ArchiveSummaryProps, ArchivedRowOverlay, type ArchivedRowOverlayProps, AuditEvent, AuditEventProps, AuditSummaryCard, type AuditSummaryCardProps, Badge, BadgeProps, Banner, BannerProps, BillingAmountInput, type BillingAmountInputProps, BillingCardMeta, type BillingCardMetaProps, BillingIntervalSelector, type BillingIntervalSelectorProps, BillingSummaryBadge, type BillingSummaryBadgeProps, Button, ButtonProps, CancellationBadge, CancellationBadgeProps, CancellationEvent, CancellationForm, CancellationFormProps, Card, CardHeader, CardHeaderProps, CardProps, Checkbox, CheckboxProps, ClassificationBadge, ClassificationBadgeProps, ClassificationEditor, ClassificationEditorProps, ClassificationPanel, ColorStatePicker, type ColorStatePickerProps, ColorSwatch, ColorSwatchProps, ColorizedBadge, ColorizedBadgeProps, CommunicationDetailPanel, type CommunicationDetailPanelProps, CycleProgressCard, type CycleProgressCardProps, DatePicker, DatePickerProps, DetailHeader, DetailHeaderProps, FilterPanel, FilterPanelProps, FormLabelGroup, FormLabelGroupProps, GeoFieldMappingForm, type GeoFieldMappingFormProps, GeoResolutionBadge, type GeoResolutionBadgeProps, GeocodablePreview, type GeocodablePreviewProps, Grid, GridProps, InlineLabel, InlineLabelProps, Input, InputProps, LabelCell, LabelCellProps, MembershipAuditTimeline, MembershipAuditTimelineProps, MembershipPanel, MessageEventTimeline, MessageEventTimelineProps, MessageStatusBadge, MessageStatusBadgeProps, OwnerBadge, OwnerBadgeProps, OwnershipMeta, OwnershipMetaProps, OwnershipSummary, OwnershipSummaryProps, PanelSectionProps, PaymentEventTimeline, type PaymentEventTimelineProps, PaymentTimeline, type PaymentTimelineProps, PreferenceEditor, PreferenceEditorProps, PreferencePanel, PreferenceSummaryBadge, PreferenceSummaryBadgeProps, PreferenceTimeline, PreferenceTimelineProps, PriceCardMeta, PriceCardMetaProps, PriceSummary, PriceSummaryProps, RoleAssignmentForm, RoleAssignmentFormProps, RoleBadgeList, RoleBadgeListProps, Select, SelectProps, SortIndicator, type SortIndicatorProps, Stack, StackProps, StateTransitionEvent, StatusColorLegend, type StatusColorLegendProps, StatusSelector, StatusSelectorProps, Tabs, TabsProps, TagInput, TagInputProps, TagManager, TagManagerProps, TagPills, TagPillsProps, TagSummary, TagSummaryProps, TemplatePicker, TemplatePickerProps, Text, TextProps, Textarea, TextareaProps, TimelineEntryLabel, type TimelineEntryLabelProps, type TraitEventProps, VizAreaControls, VizAreaPreview, VizAreaPreviewProps, VizAxisControls, VizAxisSummary, VizColorControls, VizColorLegendConfig, type VizControlsProps, VizEncodingBadge, VizGraphPreview, VizHeatmapControls, VizHeatmapPreview, VizLineControls, VizLinePreview, VizMarkControls, VizMarkPreview, VizOpacityControls, VizOpacitySummary, VizPointControls, VizPointPreview, VizRoleBadge, VizScaleControls, VizScaleSummary, VizScatterControls, VizScatterPreview, VizShapeControls, VizShapeLegend, VizSizeControls, VizSizeSummary, type VizSummaryProps };
289
+ export { AddressCollectionPanel, AddressEditor, AddressEditorProps, AddressSummaryBadge, AddressSummaryBadgeProps, AddressValidationTimeline, AddressValidationTimelineProps, ArchiveEvent, ArchivePill, ArchivePillProps, ArchiveSummary, ArchiveSummaryProps, ArchivedRowOverlay, type ArchivedRowOverlayProps, AuditEvent, AuditEventProps, AuditSummaryCard, type AuditSummaryCardProps, Badge, BadgeProps, Banner, BannerProps, BillingAmountInput, type BillingAmountInputProps, BillingCardMeta, type BillingCardMetaProps, BillingIntervalSelector, type BillingIntervalSelectorProps, BillingSummaryBadge, type BillingSummaryBadgeProps, Button, ButtonProps, CancellationBadge, CancellationBadgeProps, CancellationEvent, CancellationForm, CancellationFormProps, Card, CardHeader, CardHeaderProps, CardProps, Checkbox, CheckboxProps, ClassificationBadge, ClassificationBadgeProps, ClassificationEditor, ClassificationEditorProps, ClassificationPanel, ColorStatePicker, type ColorStatePickerProps, ColorSwatch, ColorSwatchProps, ColorizedBadge, ColorizedBadgeProps, CommunicationDetailPanel, type CommunicationDetailPanelProps, CycleProgressCard, type CycleProgressCardProps, DatePicker, DatePickerProps, DetailHeader, DetailHeaderProps, Dialog, DialogProps, FilterPanel, FilterPanelProps, FormLabelGroup, FormLabelGroupProps, GeoFieldMappingForm, type GeoFieldMappingFormProps, GeoResolutionBadge, type GeoResolutionBadgeProps, GeocodablePreview, type GeocodablePreviewProps, Grid, GridProps, InlineLabel, InlineLabelProps, Input, InputProps, LabelCell, LabelCellProps, MembershipAuditTimeline, MembershipAuditTimelineProps, MembershipPanel, MessageEventTimeline, MessageEventTimelineProps, MessageStatusBadge, MessageStatusBadgeProps, OwnerBadge, OwnerBadgeProps, OwnershipMeta, OwnershipMetaProps, OwnershipSummary, OwnershipSummaryProps, PanelSectionProps, PaymentEventTimeline, type PaymentEventTimelineProps, PaymentTimeline, type PaymentTimelineProps, PreferenceEditor, PreferenceEditorProps, PreferencePanel, PreferenceSummaryBadge, PreferenceSummaryBadgeProps, PreferenceTimeline, PreferenceTimelineProps, PriceCardMeta, PriceCardMetaProps, PriceSummary, PriceSummaryProps, RoleAssignmentForm, RoleAssignmentFormProps, RoleBadgeList, RoleBadgeListProps, Select, SelectProps, SortIndicator, type SortIndicatorProps, Stack, StackProps, StateTransitionEvent, StatusColorLegend, type StatusColorLegendProps, StatusSelector, StatusSelectorProps, Switch, SwitchProps, Tabs, TabsProps, TagInput, TagInputProps, TagManager, TagManagerProps, TagPills, TagPillsProps, TagSummary, TagSummaryProps, TemplatePicker, TemplatePickerProps, Text, TextProps, Textarea, TextareaProps, TimelineEntryLabel, type TimelineEntryLabelProps, type TraitEventProps, VizAreaControls, VizAreaPreview, VizAreaPreviewProps, VizAxisControls, VizAxisSummary, VizColorControls, VizColorLegendConfig, type VizControlsProps, VizEncodingBadge, VizGraphPreview, VizHeatmapControls, VizHeatmapPreview, VizLineControls, VizLinePreview, VizMarkControls, VizMarkPreview, VizOpacityControls, VizOpacitySummary, VizPointControls, VizPointPreview, VizRoleBadge, VizScaleControls, VizScaleSummary, VizScatterControls, VizScatterPreview, VizShapeControls, VizShapeLegend, VizSizeControls, VizSizeSummary, type VizSummaryProps };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { BadgeProps, BannerProps, ButtonProps, CardProps, TextProps, CheckboxProps, DatePickerProps, InputProps, SelectProps, TextareaProps, GridProps, StackProps, TabsProps, PanelSectionProps, AddressEditorProps, AddressSummaryBadgeProps, AddressValidationTimelineProps, AuditEventProps, CardHeaderProps, ColorSwatchProps, ColorizedBadgeProps, DetailHeaderProps, FilterPanelProps, MembershipAuditTimelineProps, MessageEventTimelineProps, MessageStatusBadgeProps, PreferenceEditorProps, PreferenceSummaryBadgeProps, PreferenceTimelineProps, PriceSummaryProps, RoleAssignmentFormProps, RoleBadgeListProps, StatusSelectorProps, TagInputProps, TagManagerProps, TagPillsProps, TemplatePickerProps, VizAreaPreviewProps, LabelCellProps, InlineLabelProps, FormLabelGroupProps, ClassificationBadgeProps, ClassificationEditorProps, OwnerBadgeProps, OwnershipSummaryProps, OwnershipMetaProps, TagSummaryProps, ArchiveSummaryProps, ArchivePillProps, CancellationFormProps, CancellationBadgeProps, PriceCardMetaProps } from './types.js';
3
- export { AddressCollectionPanelProps, AddressEditorValue, ClassificationPanelProps, CommonFieldProps, ComponentEmphasis, ComponentSize, ComponentTone, FieldDensity, FieldValidation, FilterDescriptor, HeaderElement, HeaderLevel, LayoutGap, MembershipPanelProps, PreferencePanelProps, SafeContainerElement, SafeTextElement, SelectOption, TabItem, TableBodyProps, TableCaptionProps, TableCellProps, TableColumn, TableCompound, TableHeadProps, TableHeaderCellProps, TableProps, TableRowData, TableRowProps } from './types.js';
2
+ import { BadgeProps, BannerProps, ButtonProps, CardProps, DialogProps, TextProps, CheckboxProps, DatePickerProps, InputProps, SelectProps, SwitchProps, TextareaProps, GridProps, StackProps, TabsProps, PanelSectionProps, AddressEditorProps, AddressSummaryBadgeProps, AddressValidationTimelineProps, AuditEventProps, CardHeaderProps, ColorSwatchProps, ColorizedBadgeProps, DetailHeaderProps, FilterPanelProps, MembershipAuditTimelineProps, MessageEventTimelineProps, MessageStatusBadgeProps, PreferenceEditorProps, PreferenceSummaryBadgeProps, PreferenceTimelineProps, PriceSummaryProps, RoleAssignmentFormProps, RoleBadgeListProps, StatusSelectorProps, TagInputProps, TagManagerProps, TagPillsProps, TemplatePickerProps, VizAreaPreviewProps, LabelCellProps, InlineLabelProps, FormLabelGroupProps, ClassificationBadgeProps, ClassificationEditorProps, OwnerBadgeProps, OwnershipSummaryProps, OwnershipMetaProps, TagSummaryProps, ArchiveSummaryProps, ArchivePillProps, CancellationFormProps, CancellationBadgeProps, PriceCardMetaProps } from './types.js';
3
+ export { AddressCollectionPanelProps, AddressEditorValue, ButtonIntent, ButtonSize, ClassificationPanelProps, CommonFieldProps, ComponentEmphasis, ComponentSize, ComponentTone, FieldDensity, FieldValidation, FilterDescriptor, HeaderElement, HeaderLevel, LayoutGap, MembershipPanelProps, PreferencePanelProps, SafeContainerElement, SafeTextElement, SelectOption, TabItem, TableBodyProps, TableCaptionProps, TableCellProps, TableColumn, TableCompound, TableHeadProps, TableHeaderCellProps, TableProps, TableRowData, TableRowProps } from './types.js';
4
4
  export { Table } from './table.js';
5
5
  export { AuditTimeline, AuditTimelineProps, CancellationSummary, CancellationSummaryProps, PaginationBar, PaginationBarProps, PriceBadge, PriceBadgeProps, RelativeTimestamp, RelativeTimestampProps, SearchInput, SearchInputProps, StatusBadge, StatusBadgeProps, StatusTimeline, StatusTimelineProps, TimelineEvent } from './ported.js';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -9,12 +9,14 @@ import { BillingCycleValues, BillingPaymentValues, CollectionEvent, AuditSummary
9
9
  declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
10
10
  declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
11
11
  declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
12
+ declare const Dialog: React.ForwardRefExoticComponent<DialogProps & React.RefAttributes<HTMLDialogElement>>;
12
13
  declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLElement>>;
13
14
  declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
14
15
 
15
16
  declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
16
17
  declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
17
18
  declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
19
+ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
18
20
  declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
19
21
  declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
20
22
 
@@ -284,4 +286,4 @@ declare const VizMarkPreview: ({ title, children, ...props }: VizAreaPreviewProp
284
286
  declare const VizPointPreview: ({ title, children, ...props }: VizAreaPreviewProps) => react_jsx_runtime.JSX.Element;
285
287
  declare const VizScatterPreview: ({ title, children, ...props }: VizAreaPreviewProps) => react_jsx_runtime.JSX.Element;
286
288
 
287
- export { AddressCollectionPanel, AddressEditor, AddressEditorProps, AddressSummaryBadge, AddressSummaryBadgeProps, AddressValidationTimeline, AddressValidationTimelineProps, ArchiveEvent, ArchivePill, ArchivePillProps, ArchiveSummary, ArchiveSummaryProps, ArchivedRowOverlay, type ArchivedRowOverlayProps, AuditEvent, AuditEventProps, AuditSummaryCard, type AuditSummaryCardProps, Badge, BadgeProps, Banner, BannerProps, BillingAmountInput, type BillingAmountInputProps, BillingCardMeta, type BillingCardMetaProps, BillingIntervalSelector, type BillingIntervalSelectorProps, BillingSummaryBadge, type BillingSummaryBadgeProps, Button, ButtonProps, CancellationBadge, CancellationBadgeProps, CancellationEvent, CancellationForm, CancellationFormProps, Card, CardHeader, CardHeaderProps, CardProps, Checkbox, CheckboxProps, ClassificationBadge, ClassificationBadgeProps, ClassificationEditor, ClassificationEditorProps, ClassificationPanel, ColorStatePicker, type ColorStatePickerProps, ColorSwatch, ColorSwatchProps, ColorizedBadge, ColorizedBadgeProps, CommunicationDetailPanel, type CommunicationDetailPanelProps, CycleProgressCard, type CycleProgressCardProps, DatePicker, DatePickerProps, DetailHeader, DetailHeaderProps, FilterPanel, FilterPanelProps, FormLabelGroup, FormLabelGroupProps, GeoFieldMappingForm, type GeoFieldMappingFormProps, GeoResolutionBadge, type GeoResolutionBadgeProps, GeocodablePreview, type GeocodablePreviewProps, Grid, GridProps, InlineLabel, InlineLabelProps, Input, InputProps, LabelCell, LabelCellProps, MembershipAuditTimeline, MembershipAuditTimelineProps, MembershipPanel, MessageEventTimeline, MessageEventTimelineProps, MessageStatusBadge, MessageStatusBadgeProps, OwnerBadge, OwnerBadgeProps, OwnershipMeta, OwnershipMetaProps, OwnershipSummary, OwnershipSummaryProps, PanelSectionProps, PaymentEventTimeline, type PaymentEventTimelineProps, PaymentTimeline, type PaymentTimelineProps, PreferenceEditor, PreferenceEditorProps, PreferencePanel, PreferenceSummaryBadge, PreferenceSummaryBadgeProps, PreferenceTimeline, PreferenceTimelineProps, PriceCardMeta, PriceCardMetaProps, PriceSummary, PriceSummaryProps, RoleAssignmentForm, RoleAssignmentFormProps, RoleBadgeList, RoleBadgeListProps, Select, SelectProps, SortIndicator, type SortIndicatorProps, Stack, StackProps, StateTransitionEvent, StatusColorLegend, type StatusColorLegendProps, StatusSelector, StatusSelectorProps, Tabs, TabsProps, TagInput, TagInputProps, TagManager, TagManagerProps, TagPills, TagPillsProps, TagSummary, TagSummaryProps, TemplatePicker, TemplatePickerProps, Text, TextProps, Textarea, TextareaProps, TimelineEntryLabel, type TimelineEntryLabelProps, type TraitEventProps, VizAreaControls, VizAreaPreview, VizAreaPreviewProps, VizAxisControls, VizAxisSummary, VizColorControls, VizColorLegendConfig, type VizControlsProps, VizEncodingBadge, VizGraphPreview, VizHeatmapControls, VizHeatmapPreview, VizLineControls, VizLinePreview, VizMarkControls, VizMarkPreview, VizOpacityControls, VizOpacitySummary, VizPointControls, VizPointPreview, VizRoleBadge, VizScaleControls, VizScaleSummary, VizScatterControls, VizScatterPreview, VizShapeControls, VizShapeLegend, VizSizeControls, VizSizeSummary, type VizSummaryProps };
289
+ export { AddressCollectionPanel, AddressEditor, AddressEditorProps, AddressSummaryBadge, AddressSummaryBadgeProps, AddressValidationTimeline, AddressValidationTimelineProps, ArchiveEvent, ArchivePill, ArchivePillProps, ArchiveSummary, ArchiveSummaryProps, ArchivedRowOverlay, type ArchivedRowOverlayProps, AuditEvent, AuditEventProps, AuditSummaryCard, type AuditSummaryCardProps, Badge, BadgeProps, Banner, BannerProps, BillingAmountInput, type BillingAmountInputProps, BillingCardMeta, type BillingCardMetaProps, BillingIntervalSelector, type BillingIntervalSelectorProps, BillingSummaryBadge, type BillingSummaryBadgeProps, Button, ButtonProps, CancellationBadge, CancellationBadgeProps, CancellationEvent, CancellationForm, CancellationFormProps, Card, CardHeader, CardHeaderProps, CardProps, Checkbox, CheckboxProps, ClassificationBadge, ClassificationBadgeProps, ClassificationEditor, ClassificationEditorProps, ClassificationPanel, ColorStatePicker, type ColorStatePickerProps, ColorSwatch, ColorSwatchProps, ColorizedBadge, ColorizedBadgeProps, CommunicationDetailPanel, type CommunicationDetailPanelProps, CycleProgressCard, type CycleProgressCardProps, DatePicker, DatePickerProps, DetailHeader, DetailHeaderProps, Dialog, DialogProps, FilterPanel, FilterPanelProps, FormLabelGroup, FormLabelGroupProps, GeoFieldMappingForm, type GeoFieldMappingFormProps, GeoResolutionBadge, type GeoResolutionBadgeProps, GeocodablePreview, type GeocodablePreviewProps, Grid, GridProps, InlineLabel, InlineLabelProps, Input, InputProps, LabelCell, LabelCellProps, MembershipAuditTimeline, MembershipAuditTimelineProps, MembershipPanel, MessageEventTimeline, MessageEventTimelineProps, MessageStatusBadge, MessageStatusBadgeProps, OwnerBadge, OwnerBadgeProps, OwnershipMeta, OwnershipMetaProps, OwnershipSummary, OwnershipSummaryProps, PanelSectionProps, PaymentEventTimeline, type PaymentEventTimelineProps, PaymentTimeline, type PaymentTimelineProps, PreferenceEditor, PreferenceEditorProps, PreferencePanel, PreferenceSummaryBadge, PreferenceSummaryBadgeProps, PreferenceTimeline, PreferenceTimelineProps, PriceCardMeta, PriceCardMetaProps, PriceSummary, PriceSummaryProps, RoleAssignmentForm, RoleAssignmentFormProps, RoleBadgeList, RoleBadgeListProps, Select, SelectProps, SortIndicator, type SortIndicatorProps, Stack, StackProps, StateTransitionEvent, StatusColorLegend, type StatusColorLegendProps, StatusSelector, StatusSelectorProps, Switch, SwitchProps, Tabs, TabsProps, TagInput, TagInputProps, TagManager, TagManagerProps, TagPills, TagPillsProps, TagSummary, TagSummaryProps, TemplatePicker, TemplatePickerProps, Text, TextProps, Textarea, TextareaProps, TimelineEntryLabel, type TimelineEntryLabelProps, type TraitEventProps, VizAreaControls, VizAreaPreview, VizAreaPreviewProps, VizAxisControls, VizAxisSummary, VizColorControls, VizColorLegendConfig, type VizControlsProps, VizEncodingBadge, VizGraphPreview, VizHeatmapControls, VizHeatmapPreview, VizLineControls, VizLinePreview, VizMarkControls, VizMarkPreview, VizOpacityControls, VizOpacitySummary, VizPointControls, VizPointPreview, VizRoleBadge, VizScaleControls, VizScaleSummary, VizScatterControls, VizScatterPreview, VizShapeControls, VizShapeLegend, VizSizeControls, VizSizeSummary, type VizSummaryProps };
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { Badge, Select, Input, Checkbox, Text } from './chunk-BPEHI36W.js';
2
- export { AuditTimeline, Badge, Banner, Button, CancellationSummary, Card, Checkbox, DatePicker, Input, PaginationBar, PriceBadge, RelativeTimestamp, SearchInput, Select, StatusBadge, StatusTimeline, Text, Textarea } from './chunk-BPEHI36W.js';
3
- export { Table } from './chunk-XAWAMZUQ.js';
4
- import './chunk-G74PKSW3.js';
1
+ import { Badge, Select, Input, Checkbox, Text } from './chunk-OFTMKX3W.js';
2
+ export { AuditTimeline, Badge, Banner, Button, CancellationSummary, Card, Checkbox, DatePicker, Dialog, Input, PaginationBar, PriceBadge, RelativeTimestamp, SearchInput, Select, StatusBadge, StatusTimeline, Switch, Text, Textarea } from './chunk-OFTMKX3W.js';
3
+ export { Table } from './chunk-XEX22E24.js';
4
+ import './chunk-2VEQWKGK.js';
5
5
  import * as React3 from 'react';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
- import { svgCarriesTitle, assertStaticSvg, formatPriceAmount, formatPriceCode, formatReferenceLabel, summaryValue, formatDateTime, formatReadOnlyValue, billingSummary, formatBillingAmount, billingAmountText, BILLING_MINOR_UNITS, billingAmountMessage, parseBillingAmount, billingIntervalMessage, BILLING_INTERVALS, billingCycle, auditSummary, initialSort, ariaSort, nextSort, traitEventRows, recipeItemLabels, DEFAULT_COLOR_STATES, geoFieldMapping, vizSummaryRows, vizControlFields, VIZ_CONTROL_TITLES, vizFieldValue, billingPaymentSummary, billingPaymentRows, editVizIntent } from '@oods/component-contracts';
7
+ import { vizPreviewLayers, svgCarriesTitle, formatPriceAmount, formatPriceCode, formatReferenceLabel, summaryValue, formatDateTime, formatReadOnlyValue, billingSummary, formatBillingAmount, billingAmountText, BILLING_MINOR_UNITS, billingAmountMessage, parseBillingAmount, billingIntervalMessage, BILLING_INTERVALS, billingCycle, auditSummary, initialSort, ariaSort, nextSort, traitEventRows, recipeItemLabels, DEFAULT_COLOR_STATES, geoFieldMapping, vizSummaryRows, vizControlFields, VIZ_CONTROL_TITLES, vizFieldValue, billingPaymentSummary, billingPaymentRows, editVizIntent } from '@oods/component-contracts';
8
8
 
9
9
  var classes = (...values) => values.filter(Boolean).join(" ");
10
10
  var GAP_VALUES = {
@@ -419,9 +419,11 @@ var ColorizedBadge = React3.forwardRef(
419
419
  );
420
420
  ColorizedBadge.displayName = "OODS.ColorizedBadge";
421
421
  var VizAreaPreview = React3.forwardRef(
422
- ({ width = 640, height = 360, svg, svgNarrow, svgWide, title, description, children, className, style, ...rest }, ref) => {
422
+ ({ width = 640, height = 360, svg, svgNarrow, svgWide, svgDark, svgDarkNarrow, svgDarkWide, svgHc, svgHcNarrow, svgHcWide, title, description, children, className, style, ...rest }, ref) => {
423
423
  const content = childContent(children);
424
424
  if (svg !== void 0) {
425
+ const layers = vizPreviewLayers({ svg, svgNarrow, svgWide, svgDark, svgDarkNarrow, svgDarkWide, svgHc, svgHcNarrow, svgHcWide });
426
+ const renders = (layer) => layer.renders.map(([attribute, markup]) => /* @__PURE__ */ jsx("div", { ...{ [attribute]: "true" }, dangerouslySetInnerHTML: { __html: markup } }, attribute));
425
427
  return /* @__PURE__ */ jsxs(
426
428
  "figure",
427
429
  {
@@ -440,9 +442,7 @@ var VizAreaPreview = React3.forwardRef(
440
442
  ...rest,
441
443
  children: [
442
444
  title && !svgCarriesTitle(svg, title) ? /* @__PURE__ */ jsx("figcaption", { children: title }) : null,
443
- /* @__PURE__ */ jsx("div", { "data-viz-svg": "true", dangerouslySetInnerHTML: { __html: assertStaticSvg(svg) } }),
444
- svgNarrow !== void 0 ? /* @__PURE__ */ jsx("div", { "data-viz-svg-narrow": "true", dangerouslySetInnerHTML: { __html: assertStaticSvg(svgNarrow) } }) : null,
445
- svgWide !== void 0 ? /* @__PURE__ */ jsx("div", { "data-viz-svg-wide": "true", dangerouslySetInnerHTML: { __html: assertStaticSvg(svgWide) } }) : null,
445
+ layers.map((layer) => layer.theme === void 0 ? renders(layer) : /* @__PURE__ */ jsx("div", { "data-viz-theme": layer.theme, "data-viz-narrow": layer.narrow ? "true" : void 0, "data-viz-wide": layer.wide ? "true" : void 0, children: renders(layer) }, layer.theme)),
446
446
  description ? /* @__PURE__ */ jsx("p", { "data-viz-description": "true", children: description }) : null
447
447
  ]
448
448
  }