Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve: setup writing components in ts (#3364)
chore: update deps chore: update svgr deps refactor: use ts-node for config files refactor: use esm chore: remove @babel/types as dep chore: move scripts to ts files from mjs chore: rename storybook cfg files to cjs chore: rename js files to cjs chore: use zx in docs chore: change cypress file extensions chore: remove tsup and cpy deps refactor: split build config refactor: use mts file extension and keep legacy module chore: add extraFileExtensions to eslint for ts chore: use normal ts extension for jest config files chore: add @babel/preset-typescript to webpack chore: remove argv flowgen from generateTypeDeclarations chore: remove argv flowgen from generateTypeDeclarations fix: fix common types for flowgen refactor: first bunch to ts (#3551) * refactor(Badge): refactor to ts * chore(tokens): sort tokens output (#3550) * refactor(Accordion): refactor to ts * refactor(common): getSpacingToken to ts * refactor(AirportIllustration): refactor to ts * refactor(IllustrationPrimitive): refactor to ts * refactor(Alert): refactor to ts * refactor(List): refactor List to ts * refactor(Text): refactor to ts * refactor(rtl): refactor to ts * refactor(TextLink): refactor to ts * fix(TextLink): fix wrong type for onClick * refactor(Breadcrumbs): refactor to ts * refactor(BadgeList): refactor to ts * refactor(BaggageStepper): refactor to ts * docs: add Itinerary story with modal (#3552) * refactor(Box): refactor to ts * improve: setup writing components in ts (#3364) chore: update deps chore: update svgr deps refactor: use ts-node for config files refactor: use esm chore: remove @babel/types as dep chore: move scripts to ts files from mjs chore: rename storybook cfg files to cjs chore: rename js files to cjs chore: use zx in docs chore: change cypress file extensions chore: remove tsup and cpy deps refactor: split build config refactor: use mts file extension and keep legacy module chore: add extraFileExtensions to eslint for ts chore: use normal ts extension for jest config files * refactor(utils): mediaQuery add ts file * refactor(Coupon): refactor to ts * refactor(CountryFlag): refactor to ts * refactor(Collapse): refactor to ts * refactor(ClickOutside): refactor to ts * refactor(ChoiceGroup): refactor to ts * refactor(CarrierLogo): refactor to ts * refactor(Card): refactor to ts * refactor(CallOutBanner): refactor to ts * refactor(CallOutBanner): refactor to ts * refactor(Button): refactor to ts * refactor(ButtonGroup): refactor to ts * refactor(ButtonLink): refactor to ts * refactor(ButtonMobileStore): refactor to ts * refactor(ButtonPrimitive): refactor to ts refactor: second bunch of refactoring to ts (#3554) * refactor(Desktop): refactor to ts * refactor(Mobile): refactor to ts * refactor(Loading): refactor to ts * refactor(ListChoice): refactor to ts * refactor(NavigationBar): refactor to ts * refactor(NotificationBadge): refactor to ts * refactor(Pagination): refactor to ts * refactor(Dialog): refactor to ts * refactor(Dictionary): refactor to ts * refactor(useDictionary): refactor to ts * refactor(Translate): refactor to ts * refactor(LinkList): refactor to ts * refactor(Popover): refactor to ts * refactor(Portal): refactor to ts * refactor(PictureCard): refactor to ts * refactor(Radio): refactor to ts * refactor(useTranslate): refactor to ts * refactor(RatingStars): refactor to ts * refactor(RatingStars): refactor to ts * refactor(Seat): refactor to ts * refactor(Seat): refactor to ts * refactor(Select): refactor to ts * refactor(Separator): refactor to ts * refactor(ServiceLogo): refactor to ts * refactor(Skeleton): refactor to ts * refactor(SkipLink): refactor to ts * refactor(SkipNavigation): refactor to ts * refactor(SocialButton): refactor to ts * refactor(Stack): refactor to ts * refactor(Stepper): refactor to ts * refactor(StopoverArrow): refactor to ts * refactor(Switch): refactor to ts * refactor(Switch): refactor to ts * chore: fix types for utils handleKeyDown * refactor(Table): refactor to ts * refactor(Tag): refactor to ts * refactor(InputField): refactor to ts * refactor(FormLabel): refactor to ts * refactor(FormLabel): refactor to ts * refactor(Drawer): refactor Drawer to ts * refactor(Heading): refactor to ts * refactor(Hide): refactor to ts * refactor(HorizontalScroll): refactor to ts * refactor(Textarea): refactor to ts * refactor(KeyValue): refactor to ts * refactor(Illustration): refactor to ts * refactor(Tooltip): refactor to ts * refactor(TooltipPrimitive): refactor to ts * refactor(MobileDialogPrimitive): refactor to ts * refactor(Toast): refactor to ts * refactor(Toast): refactor to ts * refactor(Truncate): refactor to ts * refactor(ErrorFormTooltip): refactor to ts * refactor(ErrorForms): refactor ErrorForms.stories to ts * refactor(FeatureIcon): refactor to ts * refactor(FeatureIcon): refactor to ts * refactor(Layout): refactor to ts * refactor(InputFile): refactor to ts * refactor(InputGroup): refactor to ts * refactor(Inline): refactor to ts * refactor(Timeline): refactor to ts * refactor(ThemeProvider): refactor to ts * refactor(Tile): refactor to ts * refactor(TileGroup): refactor to ts * refactor(Slide): refactor to ts * refactor(Slide): refactor to ts * refactor(Icon): refactor to ts * refactor(Wizard): refactor to ts * refactor(SmartPassIllustration): refactor to ts * refactor(InputStepper): refactor to ts * refactor(Slide): refactor to ts * refactor(Itinerary): refactor to ts * refactor(Modal): refactor to ts refactor: second bunch of refactoring to ts (#3554) * refactor(Desktop): refactor to ts * refactor(Mobile): refactor to ts * refactor(Loading): refactor to ts * refactor(ListChoice): refactor to ts * refactor(NavigationBar): refactor to ts * refactor(NotificationBadge): refactor to ts * refactor(Pagination): refactor to ts * refactor(Dialog): refactor to ts * refactor(Dictionary): refactor to ts * refactor(useDictionary): refactor to ts * refactor(Translate): refactor to ts * refactor(LinkList): refactor to ts * refactor(Popover): refactor to ts * refactor(Portal): refactor to ts * refactor(PictureCard): refactor to ts * refactor(Radio): refactor to ts * refactor(useTranslate): refactor to ts * refactor(RatingStars): refactor to ts * refactor(RatingStars): refactor to ts * refactor(Seat): refactor to ts * refactor(Seat): refactor to ts * refactor(Select): refactor to ts * refactor(Separator): refactor to ts * refactor(ServiceLogo): refactor to ts * refactor(Skeleton): refactor to ts * refactor(SkipLink): refactor to ts * refactor(SkipNavigation): refactor to ts * refactor(SocialButton): refactor to ts * refactor(Stack): refactor to ts * refactor(Stepper): refactor to ts * refactor(StopoverArrow): refactor to ts * refactor(Switch): refactor to ts * refactor(Switch): refactor to ts * chore: fix types for utils handleKeyDown * refactor(Table): refactor to ts * refactor(Tag): refactor to ts * refactor(InputField): refactor to ts * refactor(FormLabel): refactor to ts * refactor(FormLabel): refactor to ts * refactor(Drawer): refactor Drawer to ts * refactor(Heading): refactor to ts * refactor(Hide): refactor to ts * refactor(HorizontalScroll): refactor to ts * refactor(Textarea): refactor to ts * refactor(KeyValue): refactor to ts * refactor(Illustration): refactor to ts * refactor(Tooltip): refactor to ts * refactor(TooltipPrimitive): refactor to ts * refactor(MobileDialogPrimitive): refactor to ts * refactor(Toast): refactor to ts * refactor(Toast): refactor to ts * refactor(Truncate): refactor to ts * refactor(ErrorFormTooltip): refactor to ts * refactor(ErrorForms): refactor ErrorForms.stories to ts * refactor(FeatureIcon): refactor to ts * refactor(FeatureIcon): refactor to ts * refactor(Layout): refactor to ts * refactor(InputFile): refactor to ts * refactor(InputGroup): refactor to ts * refactor(Inline): refactor to ts * refactor(Timeline): refactor to ts * refactor(ThemeProvider): refactor to ts * refactor(Tile): refactor to ts * refactor(TileGroup): refactor to ts * refactor(Slide): refactor to ts * refactor(Slide): refactor to ts * refactor(Icon): refactor to ts * refactor(Wizard): refactor to ts * refactor(SmartPassIllustration): refactor to ts * refactor(InputStepper): refactor to ts * refactor(Slide): refactor to ts * refactor(Itinerary): refactor to ts * refactor(Modal): refactor to ts refactor(BadgePrimitive): refactor to ts refactor(utils): refactor utils to ts refactor(deprecated): refactor to ts refactor(useBoundingRect): refactor to ts refactor(hooks): refactor hooks to ts refactor(common): refactor commons to ts refactor: refactor repo to ts, fix ts errors refactor: refactor repo to ts, fix ts errors chore: bump ts version chore: update build script refactor: move ts types to types files refactor: move ts types to types files chore(build): remove flow template for buildIcons chore: remove Flow comments chore: remove Flow comments refactor: second bunch of refactoring to ts (#3554) * refactor(Desktop): refactor to ts * refactor(Mobile): refactor to ts * refactor(Loading): refactor to ts * refactor(ListChoice): refactor to ts * refactor(NavigationBar): refactor to ts * refactor(NotificationBadge): refactor to ts * refactor(Pagination): refactor to ts * refactor(Dialog): refactor to ts * refactor(Dictionary): refactor to ts * refactor(useDictionary): refactor to ts * refactor(Translate): refactor to ts * refactor(LinkList): refactor to ts * refactor(Popover): refactor to ts * refactor(Portal): refactor to ts * refactor(PictureCard): refactor to ts * refactor(Radio): refactor to ts * refactor(useTranslate): refactor to ts * refactor(RatingStars): refactor to ts * refactor(RatingStars): refactor to ts * refactor(Seat): refactor to ts * refactor(Seat): refactor to ts * refactor(Select): refactor to ts * refactor(Separator): refactor to ts * refactor(ServiceLogo): refactor to ts * refactor(Skeleton): refactor to ts * refactor(SkipLink): refactor to ts * refactor(SkipNavigation): refactor to ts * refactor(SocialButton): refactor to ts * refactor(Stack): refactor to ts * refactor(Stepper): refactor to ts * refactor(StopoverArrow): refactor to ts * refactor(Switch): refactor to ts * refactor(Switch): refactor to ts * chore: fix types for utils handleKeyDown * refactor(Table): refactor to ts * refactor(Tag): refactor to ts * refactor(InputField): refactor to ts * refactor(FormLabel): refactor to ts * refactor(FormLabel): refactor to ts * refactor(Drawer): refactor Drawer to ts * refactor(Heading): refactor to ts * refactor(Hide): refactor to ts * refactor(HorizontalScroll): refactor to ts * refactor(Textarea): refactor to ts * refactor(KeyValue): refactor to ts * refactor(Illustration): refactor to ts * refactor(Tooltip): refactor to ts * refactor(TooltipPrimitive): refactor to ts * refactor(MobileDialogPrimitive): refactor to ts * refactor(Toast): refactor to ts * refactor(Toast): refactor to ts * refactor(Truncate): refactor to ts * refactor(ErrorFormTooltip): refactor to ts * refactor(ErrorForms): refactor ErrorForms.stories to ts * refactor(FeatureIcon): refactor to ts * refactor(FeatureIcon): refactor to ts * refactor(Layout): refactor to ts * refactor(InputFile): refactor to ts * refactor(InputGroup): refactor to ts * refactor(Inline): refactor to ts * refactor(Timeline): refactor to ts * refactor(ThemeProvider): refactor to ts * refactor(Tile): refactor to ts * refactor(TileGroup): refactor to ts * refactor(Slide): refactor to ts * refactor(Slide): refactor to ts * refactor(Icon): refactor to ts * refactor(Wizard): refactor to ts * refactor(SmartPassIllustration): refactor to ts * refactor(InputStepper): refactor to ts * refactor(Slide): refactor to ts * refactor(Itinerary): refactor to ts * refactor(Modal): refactor to ts refactor(typeFiles): template should be created to types.ts file chore: resolve merge conflicts chore: fix ts errors in stories chore: fix ts checks docs: fix modal consts import refactor: storybook cfg to ts refactor: fix lint errors refactor: fixes after refactoring fix(Stack): fix getViewportFlexStyles types fix(Stack): fix getViewportFlexStyles types chore: remove redundant flow fix: eslint errors fix: storybook lint error config feat(hooks): add useEventListener hook fix(tests): fix test errors chore: update flow and flow-typed chore(build): use ast to transform incorrect flowgen output chore: remove redundant flowtyped definitions chore: remove redundant flowtyped definitions chore: remove redundant flowtyped definitions chore: fix incorrect flowgen output chore: add flow check only on ci chore: rebase with current master chore: fixes after rebase refactor: return flow definitions
- Loading branch information