wealth/packages/island/src/index.ts

257 lines
8.4 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, chipVariants } from './atoms/chip';
export type { ChipProps, ChipSize } from './atoms/chip';
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 { Separator } from './atoms/separator';
export type { SeparatorProps } from './atoms/separator';
export { Spinner } from './atoms/spinner';
export { useCountdown } from './hooks/use-countdown';
export type { CountdownOptions } from './hooks/use-countdown';
export { useOnline } 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 { 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 { AvatarField } from './molecules/avatar-field';
export type {
AvatarFieldLabels,
AvatarFieldProps,
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 { 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 { FormSection } from './molecules/form-section';
export type { FormSectionProps } from './molecules/form-section';
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 { 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 type { OtpInputProps, OtpStatus } from './molecules/otp-input';
export { ResendCode } from './molecules/resend-code';
export type {
ResendCodeLabels,
ResendCodeProps,
ResendStatus,
} from './molecules/resend-code';
export { SampleFrame, sampleTagVariants } from './molecules/sample-frame';
export type { SampleFrameProps } from './molecules/sample-frame';
export {
SectionHeading,
sectionHeadingVariants,
} from './molecules/section-heading';
export type { SectionHeadingProps } from './molecules/section-heading';
export {
SegmentedChoice,
segmentedChoiceOptionVariants,
segmentedChoiceVariants,
} from './molecules/segmented-choice';
export type {
SegmentedChoiceOption,
SegmentedChoiceProps,
SegmentedChoiceSize,
SegmentedChoiceTrack,
} from './molecules/segmented-choice';
export { Sheet } from './molecules/sheet';
export type { SheetPlacement, SheetProps } from './molecules/sheet';
export { StateMessage, stateMessageVariants } from './molecules/state-message';
export type {
StateMessageProps,
StateMessageSize,
} from './molecules/state-message';
export { StepProgress } from './molecules/step-progress';
export type { StepProgressProps } from './molecules/step-progress';
export { TabLinks } from './molecules/tab-links';
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, Toaster } from './molecules/toast';
export type {
ShowToastOptions,
ToastAction,
ToasterProps,
ToastProps,
ToastTone,
} from './molecules/toast';
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,
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';