UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

293 lines (274 loc) 13.5 kB
// @flow import type { GetTokens, FromPlainObject } from "@kiwicom/orbit-design-tokens"; import type { Theme } from "./defaultTheme"; import typeof AccordionSectionType from "./Accordion/AccordionSection"; import typeof AccordionType from "./Accordion"; import typeof AirportIllustrationType from "./AirportIllustration"; import typeof AlertButtonType from "./Alert/AlertButton"; import typeof AlertType from "./Alert"; import typeof BadgePrimitiveType from "./primitives/BadgePrimitive"; import typeof BadgeType from "./Badge"; import typeof BadgeListType from "./BadgeList"; import typeof BadgeListItemType from "./BadgeList/BadgeListItem"; import typeof BoxType from "./Box"; import typeof BreadcrumbsItemType from "./Breadcrumbs/BreadcrumbsItem"; import typeof BreadcrumbsType from "./Breadcrumbs"; import typeof ButtonGroupType from "./ButtonGroup"; import typeof ButtonLinkType from "./ButtonLink"; import typeof ButtonMobileStoreType from "./ButtonMobileStore"; import typeof ButtonPrimitiveType from "./primitives/ButtonPrimitive"; import typeof ButtonType from "./Button"; import typeof calculateCountOfType from "./Slider/utils/calculateCountOf"; import typeof CallOutBannerType from "./CallOutBanner"; import typeof CardSectionType from "./Card/CardSection"; import typeof CardType from "./Card"; import typeof CarrierLogoType from "./CarrierLogo"; import typeof CheckboxType from "./Checkbox"; import typeof ChoiceGroupType from "./ChoiceGroup"; import typeof ClickOutsideType from "./ClickOutside"; import typeof CollapseType from "./Collapse"; import typeof CountryFlagType from "./CountryFlag"; import typeof CouponType from "./Coupon"; import typeof DesktopType from "./Desktop"; import typeof DialogType from "./Dialog"; import typeof DrawerType from "./Drawer"; import typeof FeatureIconType from "./FeatureIcon"; import typeof GridType from "./utils/Grid"; import typeof HeadingType from "./Heading"; import typeof HideType from "./Hide"; import typeof HorizontalScrollType from "./HorizontalScroll"; import typeof IllustrationPrimitiveType from "./primitives/IllustrationPrimitive"; import typeof IllustrationType from "./Illustration"; import typeof InlineType from "./Inline"; import typeof InputFieldType from "./InputField"; import typeof InputFileType from "./InputFile"; import typeof InputGroupType from "./InputGroup"; import typeof InputStepperStatelessType from "./deprecated/InputStepper/InputStepperStateless"; import typeof InputStepperType from "./deprecated/InputStepper"; import typeof ItinerarySegmentType from "./Itinerary/ItinerarySegment"; import typeof ItinerarySeparatorType from "./Itinerary/ItinerarySeparator"; import typeof ItinerarySegmentBannerType from "./Itinerary/ItinerarySegment/ItinerarySegmentBanner"; import typeof ItineraryType from "./Itinerary"; import typeof ItineraryStatusType from "./Itinerary/ItineraryStatus"; import typeof ItineraryBadgeListType from "./Itinerary/ItineraryBadgeList"; import typeof ItinerarySegmentStopType from "./Itinerary/ItinerarySegment/ItinerarySegmentStop"; import typeof KeyValueType from "./KeyValue"; import typeof ItinerarySegmentDetailType from "./Itinerary/ItinerarySegment/ItinerarySegmentDetail"; import typeof LayoutColumnType from "./Layout/LayoutColumn"; import typeof LayoutType from "./Layout"; import typeof LinkListType from "./LinkList"; import typeof ListChoiceType from "./ListChoice"; import typeof ListItemType from "./List/ListItem"; import typeof ListType from "./List"; import typeof LoadingType from "./Loading"; import typeof * as rtlType from "./utils/rtl"; import typeof mediaQueriesType from "./utils/mediaQuery"; import typeof MobileType from "./Mobile"; import typeof ModalFooterType from "./Modal/ModalFooter"; import typeof ModalHeaderType from "./Modal/ModalHeader"; import typeof ModalSectionType from "./Modal/ModalSection"; import typeof ModalType from "./Modal"; import typeof NavigationBarType from "./NavigationBar"; import typeof NotificationBadgeType from "./NotificationBadge"; import typeof PaginationType from "./Pagination"; import typeof PictureCardType from "./deprecated/PictureCard"; import typeof PopoverType from "./Popover"; import typeof PortalType from "./Portal"; import typeof PricingTableItemType from "./deprecated/PricingTable/PricingTableItem"; import typeof PricingTableType from "./deprecated/PricingTable"; import typeof RadioType from "./Radio"; import typeof RatingStarsType from "./deprecated/RatingStars"; import typeof SeatType, { SeatLegend as SeatLegendType } from "./Seat"; import typeof SelectType from "./Select"; import typeof SkeletonType from "./Skeleton"; import typeof SeparatorType from "./Separator"; import typeof ServiceLogoType from "./ServiceLogo"; import typeof SkipNavigationType from "./SkipNavigation"; import typeof SkipLinkType from "./SkipLink"; import typeof SliderType from "./Slider"; import typeof { SmartPassV1 as SmartPassV1Type, SmartPassV2 as SmartPassV2Type, SmartPassV3 as SmartPassV3Type, SmartPassV4 as SmartPassV4Type, SmartPassV5 as SmartPassV5Type, } from "./SmartPassIllustrations"; import typeof SocialButtonType from "./SocialButton"; import typeof StackType from "./Stack"; import typeof StepperStatelessType from "./Stepper/StepperStateless"; import typeof StepperType from "./Stepper"; import typeof StickyType from "./deprecated/Sticky"; import typeof StopoverArrowType from "./StopoverArrow"; import typeof SwitchType from "./Switch"; import typeof TableBodyType from "./Table/TableBody"; import typeof TableCellType from "./Table/TableCell"; import typeof TableFooterType from "./Table/TableFooter"; import typeof TableHeadType from "./Table/TableHead"; import typeof TableRowType from "./Table/TableRow"; import typeof TableType from "./Table"; import typeof TagType from "./Tag"; import typeof TextareaType from "./Textarea"; import typeof TextLinkType from "./TextLink"; import typeof TextType from "./Text"; import typeof ThemeProviderType from "./ThemeProvider"; import typeof TileGroupType from "./TileGroup"; import typeof TileType from "./Tile"; import typeof TimelineStepType from "./Timeline/TimelineStep"; import typeof TimelineType from "./Timeline"; import typeof TooltipType from "./Tooltip"; import typeof { ToastRoot as ToastRootType, createToast as createToastType, createToastPromise as createToastPromiseType, } from "./Toast"; import typeof TranslateType from "./Translate"; import typeof TruncateType from "./Truncate"; import typeof WizardType, { WizardStep as WizardStepType } from "./Wizard"; import typeof useMediaQueryType from "./hooks/useMediaQuery"; import typeof useThemeType from "./hooks/useTheme"; import typeof useLockScrollingType from "./hooks/useLockScrolling"; import typeof useRandomIdType, { useRandomIdSeed as useRandomIdSeedType, } from "./hooks/useRandomId"; import typeof useFocusTrapType from "./hooks/useFocusTrap"; import typeof useIntervalType from "./hooks/useInterval"; declare export var FieldFeedback: any; declare export var Header: any; declare export var InputText: any; declare export var InputTextarea: any; declare export var Section: any; declare export var SystemMessage: any; declare export var Typography: any; declare export var AirportIllustration: AirportIllustrationType; declare export var Alert: AlertType; declare export var AlertButton: AlertButtonType; declare export var Badge: BadgeType; declare export var BadgeList: BadgeListType; declare export var BadgeListItem: BadgeListItemType; declare export var Box: BoxType; declare export var Breadcrumbs: BreadcrumbsType; declare export var BreadcrumbsItem: BreadcrumbsItemType; declare export var Button: ButtonType; declare export var ButtonGroup: ButtonGroupType; declare export var ButtonLink: ButtonLinkType; declare export var ButtonMobileStore: ButtonMobileStoreType; declare export var CallOutBanner: CallOutBannerType; declare export var CarrierLogo: CarrierLogoType; declare export var Checkbox: CheckboxType; declare export var ChoiceGroup: ChoiceGroupType; declare export var Collapse: CollapseType; declare export var CountryFlag: CountryFlagType; declare export var Desktop: DesktopType; declare export var Dialog: DialogType; declare export var FeatureIcon: FeatureIconType; declare export var List: ListType; declare export var ListChoice: ListChoiceType; declare export var ListItem: ListItemType; declare export var NotificationBadge: NotificationBadgeType; declare export var PictureCard: PictureCardType; declare export var Card: CardType; declare export var CardSection: CardSectionType; declare export var Accordion: AccordionType; declare export var AccordionSection: AccordionSectionType; declare export var Coupon: CouponType; declare export var ClickOutside: ClickOutsideType; declare export var Mobile: MobileType; declare export var Modal: ModalType; declare export var ModalFooter: ModalFooterType; declare export var ModalHeader: ModalHeaderType; declare export var ModalSection: ModalSectionType; declare export var Portal: PortalType; declare export var Sticky: StickyType; declare export var Slider: SliderType; declare export var calculateCountOf: calculateCountOfType; declare export var NavigationBar: NavigationBarType; declare export var Drawer: DrawerType; declare export var LinkList: LinkListType; declare export var Tag: TagType; declare export var Table: TableType; declare export var TableBody: TableBodyType; declare export var TableCell: TableCellType; declare export var TableHead: TableHeadType; declare export var TableRow: TableRowType; declare export var TableFooter: TableFooterType; declare export var Layout: LayoutType; declare export var LayoutColumn: LayoutColumnType; declare export var Grid: GridType; declare export var Heading: HeadingType; declare export var Hide: HideType; declare export var HorizontalScroll: HorizontalScrollType; declare export var Icon: any; declare export var Icons: any; declare export var Illustration: IllustrationType; declare export var Inline: InlineType; declare export var InputField: InputFieldType; declare export var InputFile: InputFileType; declare export var InputGroup: InputGroupType; declare export var InputStepper: InputStepperType; declare export var InputStepperStateless: InputStepperStatelessType; declare export var Itinerary: ItineraryType; declare export var ItineraryStatus: ItineraryStatusType; declare export var ItineraryBadgeList: ItineraryBadgeListType; declare export var ItinerarySegment: ItinerarySegmentType; declare export var ItinerarySegmentBanner: ItinerarySegmentBannerType; declare export var ItinerarySegmentStop: ItinerarySegmentStopType; declare export var ItinerarySegmentDetail: ItinerarySegmentDetailType; declare export var KeyValue: KeyValueType; declare export var ItinerarySeparator: ItinerarySeparatorType; declare export var Loading: LoadingType; declare export var Text: TextType; declare export var TextLink: TextLinkType; declare export var Pagination: PaginationType; declare export var Popover: PopoverType; declare export var PricingTable: PricingTableType; declare export var PricingTableItem: PricingTableItemType; declare export var Radio: RadioType; declare export var RatingStars: RatingStarsType; declare export var Seat: SeatType; declare export var SeatLegend: SeatLegendType; declare export var Select: SelectType; declare export var Separator: SeparatorType; declare export var ServiceLogo: ServiceLogoType; declare export var SkipNavigation: SkipNavigationType; declare export var SkipLink: SkipLinkType; declare export var SmartPassV1: SmartPassV1Type; declare export var SmartPassV2: SmartPassV2Type; declare export var SmartPassV3: SmartPassV3Type; declare export var SmartPassV4: SmartPassV4Type; declare export var SmartPassV5: SmartPassV5Type; declare export var SocialButton: SocialButtonType; declare export var Skeleton: SkeletonType; declare export var Stack: StackType; declare export var Stepper: StepperType; declare export var StepperStateless: StepperStatelessType; declare export var StopoverArrow: StopoverArrowType; declare export var Switch: SwitchType; declare export var Textarea: TextareaType; declare export var Tile: TileType; declare export var TileGroup: TileGroupType; declare export var Timeline: TimelineType; declare export var TimelineStep: TimelineStepType; declare export var Tooltip: TooltipType; declare export var ToastRoot: ToastRootType; declare export var createToast: createToastType; declare export var createToastPromise: createToastPromiseType; declare export var Truncate: TruncateType; declare export var Wizard: WizardType; declare export var WizardStep: WizardStepType; declare export var ThemeProvider: ThemeProviderType; declare export var Translate: TranslateType; declare export var defaultTheme: Theme; declare export var getTokens: GetTokens; declare export var fromPlainObject: FromPlainObject; declare export var rtl: rtlType; declare export var mediaQueries: mediaQueriesType; declare export var useMediaQuery: useMediaQueryType; declare export var useTheme: useThemeType; declare export var useLockScrolling: useLockScrollingType; declare export var useRandomId: useRandomIdType; declare export var useRandomIdSeed: useRandomIdSeedType; declare export var useFocusTrap: useFocusTrapType; declare export var useInterval: useIntervalType; declare export var BadgePrimitive: BadgePrimitiveType; declare export var IllustrationPrimitive: IllustrationPrimitiveType; declare export var ButtonPrimitive: ButtonPrimitiveType;