Skip to content

Commit

Permalink
Merge pull request #1419 from Shopify/export-checkout-missing-types
Browse files Browse the repository at this point in the history
Reexport checkout's missing types
  • Loading branch information
renerbaffa authored Oct 5, 2023
2 parents 297dbca + a419d1a commit fe518da
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 119 deletions.
3 changes: 3 additions & 0 deletions packages/ui-extensions-react/src/surfaces/checkout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export type {
ExtensionTargets,
Fit,
GridItemSize,
IconSource,
I18nTranslate,
InlineAlignment,
MaybeConditionalStyle,
Expand All @@ -51,6 +52,7 @@ export type {
MaybeShorthandProperty,
NonPresentationalAccessibilityRole,
OverlayActivatorProps,
PaymentMethod,
PopoverPosition,
RenderExtension,
RenderExtensions,
Expand All @@ -73,6 +75,7 @@ export type {
ViewPosition,
ViewPositionType,
ViewLikeAccessibilityRole,
VisibilityProps,
YearMonth,
} from '@shopify/ui-extensions/checkout';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,109 +1,145 @@
export {
Banner,
type BannerProps,
BlockLayout,
type BlockLayoutProps,
BlockSpacer,
type BlockSpacerProps,
BlockStack,
type BlockStackProps,
Button,
type ButtonProps,
Checkbox,
type CheckboxProps,
Choice,
type ChoiceProps,
ChoiceList,
DateField,
type ChoiceListProps,
DatePicker,
type DatePickerProps,
type DayString,
type DateString,
type DisabledDate,
type DateRange,
type SelectedDate,
type YearMonth,
DateField,
type DateFieldProps,
Disclosure,
type DisclosureProps,
Divider,
type DividerProps,
Form,
type FormProps,
Grid,
type GridProps,
GridItem,
type GridItemProps,
Heading,
type HeadingProps,
HeadingGroup,
type HeadingGroupProps,
Icon,
type IconProps,
type IconSource,
Image,
type ImageProps,
InlineLayout,
type InlineLayoutProps,
InlineStack,
type InlineStackProps,
InlineSpacer,
type InlineSpacerProps,
Link,
type LinkProps,
List,
type ListProps,
ListItem,
type ListItemProps,
Modal,
type ModalProps,
PaymentIcon,
type PaymentIconProps,
type PaymentMethod,
PhoneField,
type PhoneFieldProps,
Pressable,
type PressableProps,
ProductThumbnail,
type ProductThumbnailProps,
Popover,
type PopoverProps,
type PopoverPosition,
ScrollView,
type ScrollViewProps,
type ScrollViewEvent,
Select,
type SelectProps,
type SelectOptionProps,
SkeletonImage,
type SkeletonImageProps,
SkeletonText,
type SkeletonTextProps,
SkeletonTextBlock,
type SkeletonTextBlockProps,
Spinner,
type SpinnerProps,
Stepper,
type StepperProps,
Tag,
type TagProps,
Text,
type TextProps,
TextBlock,
type TextBlockProps,
TextField,
View,
Modal,
Popover,
ScrollView,
type TextFieldProps,
Tooltip,
} from '../../checkout/components';
type TooltipProps,
View,
type ViewProps,
type ViewCoordinate,
type ViewPosition,
type ViewPositionType,
type ViewTranslate,
} from '../../checkout';

export type {
BannerProps,
BlockLayoutProps,
BlockSpacerProps,
BlockStackProps,
ButtonProps,
CheckboxProps,
ChoiceProps,
ChoiceListProps,
DatePickerProps,
DateFieldProps,
DisclosureProps,
DividerProps,
FormProps,
GridProps,
GridItemSize,
GridItemProps,
HeadingProps,
HeadingGroupProps,
IconProps,
ImageProps,
InlineLayoutProps,
InlineStackProps,
InlineSpacerProps,
LinkProps,
ListProps,
ListItemProps,
ModalProps,
PaymentIconProps,
PhoneFieldProps,
PopoverProps,
PressableProps,
ProductThumbnailProps,
SelectProps,
SkeletonImageProps,
SkeletonTextProps,
SkeletonTextBlockProps,
SpinnerProps,
StepperProps,
TagProps,
TextProps,
TextBlockProps,
TextFieldProps,
ViewProps,
ViewPosition,
ViewPositionType,
ViewTranslate,
ViewCoordinate,
AccessibilityRole,
ViewLikeAccessibilityRole,
NonPresentationalAccessibilityRole,
Alignment,
Appearance,
Autocomplete,
AutocompleteField,
AutocompleteGroup,
Background,
BackgroundFit,
BackgroundPosition,
BackgroundProps,
BackgroundRepeat,
BlockAlignment,
BorderProps,
BorderRadius,
BorderStyle,
BorderWidth,
Breakpoint,
Columns,
CornerRadius,
CornerProps,
DisclosureActivatorProps,
DisclosureOpen,
Fit,
GridItemSize,
InlineAlignment,
MaybeShorthandProperty,
NonPresentationalAccessibilityRole,
OverlayActivatorProps,
Rows,
ShorthandProperty,
Status,
Size,
Spacing,
Alignment,
Appearance,
ScrollViewProps,
TooltipProps,
SizingProps,
SpacingProps,
ViewLikeAccessibilityRole,
VisibilityProps,
} from '../../checkout';
Loading

0 comments on commit fe518da

Please sign in to comment.