wealth/packages/island/src/index.ts

429 lines
13 KiB
TypeScript

// Public client-safe API. Re-export each module by name; never `export *`.
export { Amount, amountVariants } from './atoms/amount';
export type { AmountProps } from './atoms/amount';
export { Avatar, avatarVariants } from './atoms/avatar';
export type { AvatarProps, AvatarSize } from './atoms/avatar';
export { Button, buttonVariants } from './atoms/button';
export type {
ButtonAsButtonProps,
ButtonAsLinkProps,
ButtonProps,
} from './atoms/button';
export { Checkbox, checkboxVariants } from './atoms/checkbox';
export type { CheckboxProps } from './atoms/checkbox';
export { Chip, chipRowVariants, chipVariants } from './atoms/chip';
export type { ChipProps, ChipSize } from './atoms/chip';
export { CountBadge } from './atoms/count-badge';
export type { CountBadgeProps } from './atoms/count-badge';
export { Countdown, countdownTone } from './atoms/countdown';
export type {
CountdownKind,
CountdownLabels,
CountdownProps,
CountdownTone,
} from './atoms/countdown';
export {
Dialog,
DIALOG_CLOSE_EVENT,
DIALOG_OPEN_EVENT,
DIALOG_PANEL_SELECTOR,
} from './atoms/dialog';
export type { DialogProps } from './atoms/dialog';
export { FieldError } from './atoms/field-error';
export type { FieldErrorProps } from './atoms/field-error';
export { FlexBox } from './atoms/flex-box';
export type {
AlignContent,
AlignItems,
FlexBoxOwnProps,
FlexBoxProps,
FlexDirection,
FlexWrap,
Gap,
JustifyContent,
SpaceScale,
XGap,
YGap,
} from './atoms/flex-box';
export { GridBox } from './atoms/grid-box';
export type {
GridBoxOwnProps,
GridBoxProps,
GridCols,
GridFlow,
GridRows,
JustifyItems,
} from './atoms/grid-box';
export { ICON_NAMES, Icon } from './atoms/icon';
export type { IconName, IconProps } from './atoms/icon';
export { Link, linkVariants } from './atoms/link';
export type { LinkProps } from './atoms/link';
export { LinkButton } from './atoms/link-button';
export type { LinkButtonProps } from './atoms/link-button';
export { RowButton } from './atoms/row-button';
export type { RowButtonProps } from './atoms/row-button';
export {
Skeleton,
SkeletonRegion,
skeletonRegionVariants,
skeletonVariants,
} from './atoms/skeleton';
export type { SkeletonProps, SkeletonRegionProps } from './atoms/skeleton';
export { DateTime } from './atoms/date-time';
export type { DateTimeProps } from './atoms/date-time';
export { Separator } from './atoms/separator';
export type { SeparatorProps } from './atoms/separator';
export { Spinner, spinnerVariants } from './atoms/spinner';
export { useCountdown } from './hooks/use-countdown';
export type { CountdownOptions } from './hooks/use-countdown';
export { useOfflineFreeze, useOnline } from './hooks/use-online';
export type { OfflineFreeze } from './hooks/use-online';
export { StateArt } from './atoms/state-art';
export type { StateArtProps, StateTone } from './atoms/state-art';
export type { SpinnerProps } from './atoms/spinner';
export {
STATUS_STYLES,
StatusBadge,
statusBadgeVariants,
} from './atoms/status-badge';
export type {
StatusBadgeProps,
StatusKey,
StatusTone,
} from './atoms/status-badge';
export { SupportLink } from './atoms/support-link';
export type { SupportLinkProps } from './atoms/support-link';
export { Select } from './atoms/select';
export type { SelectOption, SelectProps } from './atoms/select';
export {
Switch,
switchKnobVariants,
switchTrackVariants,
} from './atoms/switch';
export type { SwitchProps } from './atoms/switch';
export { Tag, tagVariants } from './atoms/tag';
export type { TagProps, TagVariant } from './atoms/tag';
export { Typography, typographyVariants } from './atoms/typography';
export type {
TypographyColor,
TypographyOwnProps,
TypographyProps,
TypographyVariant,
} from './atoms/typography';
export {
AvatarStack,
avatarStackFaceVariants,
avatarStackVariants,
} from './molecules/avatar-stack';
export type {
AvatarStackItem,
AvatarStackProps,
} from './molecules/avatar-stack';
export { AvatarField } from './molecules/avatar-field';
export type {
AvatarFieldLabels,
AvatarFieldProps,
AvatarFieldRemoveStyle,
AvatarFieldStatus,
} from './molecules/avatar-field';
export { Banner, bannerVariants } from './molecules/banner';
export type { BannerProps, BannerTone } from './molecules/banner';
export { Card, cardVariants } from './molecules/card';
export type { CardOwnProps, CardProps } from './molecules/card';
export { ActionMenu } from './molecules/action-menu';
export type { ActionMenuItem, ActionMenuProps } from './molecules/action-menu';
export { ChipGroup } from './molecules/chip-group';
export type { ChipGroupOption, ChipGroupProps } from './molecules/chip-group';
export { ChoiceCard, choiceCardVariants } from './molecules/choice-card';
export type { ChoiceCardProps } from './molecules/choice-card';
export {
DetailRow,
detailRowVariants,
detailValueVariants,
} from './molecules/detail-row';
export type { DetailRowProps, DetailRowTone } from './molecules/detail-row';
export { CodeInput, codeInputButtonVariants } from './molecules/code-input';
export type {
CodeInputLabels,
CodeInputProps,
CodeInputSource,
CodeInputStatus,
} from './molecules/code-input';
export { EmptyState } from './molecules/empty-state';
export type { EmptyStateProps, EmptyStateTone } from './molecules/empty-state';
export { ERROR_KIND_STYLES, ErrorState } from './molecules/error-state';
export type { ErrorKind, ErrorStateProps } from './molecules/error-state';
export { FactCard } from './molecules/fact-card';
export type { FactCardProps } from './molecules/fact-card';
export { FilterChips } from './molecules/filter-chips';
export type {
FilterChipOption,
FilterChipsProps,
} from './molecules/filter-chips';
export { FormSection } from './molecules/form-section';
export type { FormSectionProps } from './molecules/form-section';
export { InfoTip, infoTipVariants } from './molecules/info-tip';
export type { InfoTipPlacement, InfoTipProps } from './molecules/info-tip';
export { KeyValue, keyValueVariants } from './molecules/key-value';
export type { KeyValueProps, KeyValueTone } from './molecules/key-value';
export {
List,
ListRow,
listHeaderVariants,
listItemsVariants,
listRowIconVariants,
listRowVariants,
listVariants,
} from './molecules/list-row';
export type {
ListProps,
ListRowAsButtonProps,
ListRowAsLinkProps,
ListRowIconTone,
ListRowProps,
ListTone,
} from './molecules/list-row';
export { LockedTeaser } from './molecules/locked-teaser';
export type { LockedTeaserProps } from './molecules/locked-teaser';
export { MediaCarousel } from './molecules/media-carousel';
export type { MediaCarouselProps, MediaItem } from './molecules/media-carousel';
export {
MediaStrip,
mediaStripAddVariants,
mediaStripTileVariants,
} from './molecules/media-strip';
export type {
MediaStripItem,
MediaStripProps,
MediaStripSize,
MediaStripStatus,
} from './molecules/media-strip';
export { Meter, meterBarVariants } from './molecules/meter';
export type { MeterProps, MeterTone } from './molecules/meter';
export { Modal } from './molecules/modal';
export type { ModalProps, ModalSize } from './molecules/modal';
export {
NetworkStatus,
networkStatusVariants,
} from './molecules/network-status';
export type {
NetworkState,
NetworkStatusProps,
} from './molecules/network-status';
export { OtpInput } from './molecules/otp-input';
export { PageHeader, pageHeaderTitleVariants } from './molecules/page-header';
export type { PageHeaderProps, PageHeaderSize } from './molecules/page-header';
export { Pager, pagerButtonVariants } from './molecules/pager';
export {
PersonSummary,
personSummaryVariants,
} from './molecules/person-summary';
export type { PersonSummaryProps } from './molecules/person-summary';
export type { PagerLabels, PagerProps } from './molecules/pager';
export {
PINNED_FOOTER_TOAST_OFFSET,
PinnedFooter,
pinnedFooterVariants,
} from './molecules/pinned-footer';
export type {
PinnedFooterLayout,
PinnedFooterProps,
} from './molecules/pinned-footer';
export type { OtpInputProps, OtpStatus } from './molecules/otp-input';
export { ResendCode } from './molecules/resend-code';
export type {
ResendCodeLabels,
ResendCodeProps,
ResendStatus,
} from './molecules/resend-code';
export {
RESULT_PANEL_ICONS,
ResultPanel,
resultPanelIconVariants,
} from './molecules/result-panel';
export type {
ResultPanelProps,
ResultPanelTone,
} from './molecules/result-panel';
export { SampleFrame, sampleTagVariants } from './molecules/sample-frame';
export {
SearchField,
searchFieldInputVariants,
searchFieldVariants,
} from './molecules/search-field';
export type { SearchFieldProps } from './molecules/search-field';
export type { SampleFrameProps } from './molecules/sample-frame';
export {
SectionHeading,
sectionHeadingVariants,
} from './molecules/section-heading';
export type { SectionHeadingProps } from './molecules/section-heading';
export { SectionTitle, sectionTitleVariants } from './molecules/section-title';
export type { SectionTitleProps } from './molecules/section-title';
export {
SegmentedChoice,
segmentedChoiceOptionVariants,
segmentedChoiceVariants,
} from './molecules/segmented-choice';
export type {
SegmentedChoiceOption,
SegmentedChoiceProps,
SegmentedChoiceSize,
SegmentedChoiceTone,
SegmentedChoiceTrack,
} from './molecules/segmented-choice';
export { Sheet } from './molecules/sheet';
export type {
SheetPlacement,
SheetPopoverWidth,
SheetProps,
} from './molecules/sheet';
export { StateMessage, stateMessageVariants } from './molecules/state-message';
export type {
StateMessageProps,
StateMessageSize,
} from './molecules/state-message';
export {
StatTile,
statTileValueVariants,
statTileVariants,
} from './molecules/stat-tile';
export type {
StatTileProps,
StatTileTone,
StatTileValueTone,
} from './molecules/stat-tile';
export { StepProgress } from './molecules/step-progress';
export type { StepProgressProps } from './molecules/step-progress';
export { TabLinks } from './molecules/tab-links';
export {
Timeline,
TimelineItem,
timelineDotVariants,
timelineItemVariants,
timelineVariants,
} from './molecules/timeline';
export type {
TimelineItemProps,
TimelineProps,
TimelineTone,
} from './molecules/timeline';
export type { TabLinkItem, TabLinksProps } from './molecules/tab-links';
export {
TextInput,
textInputBoxVariants,
textInputControlVariants,
} from './molecules/text-input';
export type { TextInputProps } from './molecules/text-input';
export {
dismissToast,
showToast,
Toast,
TOAST_OFFSETS,
Toaster,
ToastPlacementMarker,
useToastPlacement,
} from './molecules/toast';
export type {
DeclaredToastPlacement,
ShowToastOptions,
ToastAction,
ToasterProps,
ToastPlacement,
ToastPlacementMarkerProps,
ToastProps,
ToastTone,
} from './molecules/toast';
export {
DataTable,
dataTableCellVariants,
dataTableHeaderCellVariants,
dataTableRowVariants,
dataTableVariants,
} from './organisms/data-table';
export type {
DataTableCellProps,
DataTableHeaderCellProps,
DataTableProps,
DataTableRowProps,
DataTableRowTone,
DataTableSectionProps,
DataTableSort,
} from './organisms/data-table';
export { AnalystCard } from './organisms/analyst-card';
export type {
AnalystCardAnalyst,
AnalystCardLabels,
AnalystCardProps,
AnalystCardStats,
} from './organisms/analyst-card';
export { CreatorStats } from './organisms/creator-stats';
export type {
CreatorStatsData,
CreatorStatsLabels,
CreatorStatsProps,
TrendOrder,
TrendOutcome,
} from './organisms/creator-stats';
export { Lightbox } from './organisms/lightbox';
export type {
LightboxImage,
LightboxLabels,
LightboxProps,
} from './organisms/lightbox';
export { PostCard } from './organisms/post-card';
export type {
PostAuthor,
PostCardLabels,
PostCardOwner,
PostCardProps,
PostViewer,
} from './organisms/post-card';
export { PredictionCard } from './organisms/prediction-card';
export type {
PredictionCardLabels,
PredictionCardProps,
PredictionCloseReason,
PredictionData,
PredictionDirection,
PredictionOutcome,
PredictionRangeValues,
PredictionStatus,
} from './organisms/prediction-card';
export { SkeletonPreset } from './organisms/skeleton-preset';
export type {
SkeletonPresetName,
SkeletonPresetProps,
} from './organisms/skeleton-preset';
export { SubscriptionCard } from './organisms/subscription-card';
export type {
SubscriptionAnalyst,
SubscriptionCardLabels,
SubscriptionCardProps,
SubscriptionStatus,
} from './organisms/subscription-card';
export { SupportSheet } from './organisms/support-sheet';
export type {
SupportPlacement,
SupportSheetLabels,
SupportSheetProps,
} from './organisms/support-sheet';
export { TierOption } from './organisms/tier-option';
export type {
TierOptionLabels,
TierOptionProps,
} from './organisms/tier-option';
export { Element } from './primitives/element';
export type {
ElementProps,
PolymorphicProps,
ValidTags,
} from './primitives/element';
export { cn } from './tools/cn';
export {
CRITICAL_FONT_URL,
ICON_SPRITE_PATH,
ICON_SPRITE_URL,
ICON_SPRITE_VERSION,
} from './constants';