Skip to content

Commit

Permalink
updated order dropin and added slot to OrderProductList
Browse files Browse the repository at this point in the history
  • Loading branch information
KostiantynFandeliuk committed Feb 18, 2025
1 parent 58f8865 commit 4a045af
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 42 deletions.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion scripts/__dropins__/storefront-order/reload

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { SlotProps } from '@dropins/tools/types/elsie/src/lib';
import { OrderDataModel, OrderItemModel } from '../data/models';

type options = Record<string, string | number | boolean>;
Expand All @@ -6,6 +7,9 @@ export type TaxTypes = {
taxExcluded: boolean;
};
export interface OrderProductListProps {
slots?: {
GiftOptions: SlotProps;
};
orderData?: OrderDataModel;
className?: string;
withHeader?: boolean;
Expand All @@ -19,6 +23,9 @@ export interface OrderProductListContentProps extends Omit<OrderProductListProps
loading: boolean;
}
export interface CartSummaryItemProps {
slots?: {
GiftOptions: SlotProps;
};
placeholderImage?: string;
disabledIncrementer?: boolean;
loading: boolean;
Expand All @@ -30,7 +37,7 @@ export interface CartSummaryItemProps {
showConfigurableOptions?: (options: options | {}) => options;
routeProductDetails?: (product: any) => string;
}
export interface UseOrderProductListProps extends Omit<OrderProductListProps, 'className' | 'withHeader' | 'showConfigurableOptions'> {
export interface UseOrderProductListProps extends Omit<OrderProductListProps, 'className' | 'withHeader' | 'showConfigurableOptions' | 'slots'> {
}
export {};
//# sourceMappingURL=orderProductList.types.d.ts.map

0 comments on commit 4a045af

Please sign in to comment.