@commercelayer/react-components 4.0.0 → 4.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/lib/cjs/components/Errors.d.ts +1 -1
  2. package/lib/cjs/components/Errors.js +1 -1
  3. package/lib/cjs/components/ExternalFunction.d.ts +2 -9
  4. package/lib/cjs/components/ExternalFunction.js +1 -1
  5. package/lib/cjs/components/MetadataInput.d.ts +0 -10
  6. package/lib/cjs/components/MetadataInput.js +1 -1
  7. package/lib/cjs/components/addresses/AddressCountrySelector.d.ts +0 -16
  8. package/lib/cjs/components/addresses/AddressCountrySelector.js +1 -1
  9. package/lib/cjs/components/addresses/AddressStateSelector.d.ts +0 -16
  10. package/lib/cjs/components/addresses/AddressStateSelector.js +1 -1
  11. package/lib/cjs/components/addresses/BillingAddressForm.d.ts +0 -5
  12. package/lib/cjs/components/addresses/BillingAddressForm.js +1 -1
  13. package/lib/cjs/components/addresses/SaveAddressesButton.d.ts +2 -2
  14. package/lib/cjs/components/addresses/ShippingAddressContainer.d.ts +4 -9
  15. package/lib/cjs/components/addresses/ShippingAddressContainer.js +1 -1
  16. package/lib/cjs/components/addresses/ShippingAddressForm.d.ts +2 -7
  17. package/lib/cjs/components/addresses/ShippingAddressForm.js +1 -1
  18. package/lib/cjs/components/customers/CustomerAddressForm.d.ts +2 -7
  19. package/lib/cjs/components/customers/CustomerAddressForm.js +1 -1
  20. package/lib/cjs/components/customers/CustomerInput.d.ts +1 -13
  21. package/lib/cjs/components/customers/CustomerInput.js +1 -1
  22. package/lib/cjs/components/gift_cards/GiftCard.d.ts +4 -14
  23. package/lib/cjs/components/gift_cards/GiftCard.js +1 -1
  24. package/lib/cjs/components/gift_cards/GiftCardContainer.d.ts +2 -8
  25. package/lib/cjs/components/gift_cards/GiftCardContainer.js +1 -1
  26. package/lib/cjs/components/gift_cards/GiftCardCurrencySelector.d.ts +0 -15
  27. package/lib/cjs/components/gift_cards/GiftCardCurrencySelector.js +1 -1
  28. package/lib/cjs/components/gift_cards/GiftCardInput.d.ts +1 -10
  29. package/lib/cjs/components/gift_cards/GiftCardInput.js +1 -1
  30. package/lib/cjs/components/gift_cards/GiftCardOrCouponForm.d.ts +0 -5
  31. package/lib/cjs/components/gift_cards/GiftCardOrCouponForm.js +1 -1
  32. package/lib/cjs/components/gift_cards/GiftCardOrCouponInput.d.ts +1 -10
  33. package/lib/cjs/components/gift_cards/GiftCardOrCouponInput.js +1 -1
  34. package/lib/cjs/components/line_items/LineItemQuantity.d.ts +1 -1
  35. package/lib/cjs/components/line_items/LineItemsCount.d.ts +3 -3
  36. package/lib/cjs/components/orders/CheckoutLink.d.ts +2 -2
  37. package/lib/cjs/components/orders/OrderContainer.d.ts +12 -0
  38. package/lib/cjs/components/orders/OrderList.d.ts +1 -1
  39. package/lib/cjs/components/orders/OrderNumber.d.ts +0 -6
  40. package/lib/cjs/components/orders/OrderNumber.js +1 -1
  41. package/lib/cjs/components/orders/OrderStorage.d.ts +2 -10
  42. package/lib/cjs/components/orders/OrderStorage.js +1 -1
  43. package/lib/cjs/components/orders/PlaceOrderButton.d.ts +2 -2
  44. package/lib/cjs/components/payment_source/PaymentSource.d.ts +4 -4
  45. package/lib/cjs/components/payment_source/PaymentSourceBrandIcon.d.ts +2 -2
  46. package/lib/cjs/components/payment_source/PaymentSourceBrandName.d.ts +2 -2
  47. package/lib/cjs/components/shipments/ShipmentField.d.ts +2 -2
  48. package/lib/cjs/components/shipping_methods/ShippingMethodName.d.ts +2 -2
  49. package/lib/cjs/components/shipping_methods/ShippingMethodPrice.d.ts +0 -12
  50. package/lib/cjs/components/shipping_methods/ShippingMethodPrice.js +1 -1
  51. package/lib/cjs/components/shipping_methods/ShippingMethodRadioButton.d.ts +0 -6
  52. package/lib/cjs/components/shipping_methods/ShippingMethodRadioButton.js +1 -1
  53. package/lib/cjs/components/skus/DeliveryLeadTime.d.ts +0 -7
  54. package/lib/cjs/components/skus/DeliveryLeadTime.js +1 -1
  55. package/lib/cjs/components/skus/SkuList.d.ts +5 -9
  56. package/lib/cjs/components/skus/SkuList.js +1 -1
  57. package/lib/cjs/components/skus/SkuListsContainer.d.ts +2 -8
  58. package/lib/cjs/components/skus/SkuListsContainer.js +1 -1
  59. package/lib/cjs/components/skus/Skus.d.ts +2 -7
  60. package/lib/cjs/components/skus/Skus.js +1 -1
  61. package/lib/cjs/components/stock_transfers/StockTransfer.d.ts +4 -10
  62. package/lib/cjs/components/stock_transfers/StockTransfer.js +1 -1
  63. package/lib/cjs/components/utils/BaseField.d.ts +2 -2
  64. package/lib/cjs/components/utils/BaseInput.d.ts +2 -2
  65. package/lib/cjs/components/utils/Parent.d.ts +1 -1
  66. package/lib/cjs/hooks/useOrderContainer.d.ts +6 -0
  67. package/lib/cjs/hooks/useOrderContainer.js +1 -0
  68. package/lib/cjs/reducers/AddressReducer.d.ts +1 -1
  69. package/lib/cjs/reducers/GiftCardReducer.d.ts +11 -21
  70. package/lib/cjs/reducers/GiftCardReducer.js +1 -1
  71. package/lib/cjs/typings/errors.d.ts +2 -2
  72. package/lib/cjs/typings/index.d.ts +2 -2
  73. package/lib/esm/components/Errors.d.ts +1 -1
  74. package/lib/esm/components/Errors.js +1 -1
  75. package/lib/esm/components/ExternalFunction.d.ts +2 -9
  76. package/lib/esm/components/ExternalFunction.js +1 -1
  77. package/lib/esm/components/MetadataInput.d.ts +0 -10
  78. package/lib/esm/components/MetadataInput.js +1 -1
  79. package/lib/esm/components/addresses/AddressCountrySelector.d.ts +0 -16
  80. package/lib/esm/components/addresses/AddressCountrySelector.js +1 -1
  81. package/lib/esm/components/addresses/AddressStateSelector.d.ts +0 -16
  82. package/lib/esm/components/addresses/AddressStateSelector.js +1 -1
  83. package/lib/esm/components/addresses/BillingAddressForm.d.ts +0 -5
  84. package/lib/esm/components/addresses/BillingAddressForm.js +1 -1
  85. package/lib/esm/components/addresses/SaveAddressesButton.d.ts +2 -2
  86. package/lib/esm/components/addresses/ShippingAddressContainer.d.ts +4 -9
  87. package/lib/esm/components/addresses/ShippingAddressContainer.js +1 -1
  88. package/lib/esm/components/addresses/ShippingAddressForm.d.ts +2 -7
  89. package/lib/esm/components/addresses/ShippingAddressForm.js +1 -1
  90. package/lib/esm/components/customers/CustomerAddressForm.d.ts +2 -7
  91. package/lib/esm/components/customers/CustomerAddressForm.js +1 -1
  92. package/lib/esm/components/customers/CustomerInput.d.ts +1 -13
  93. package/lib/esm/components/customers/CustomerInput.js +1 -1
  94. package/lib/esm/components/gift_cards/GiftCard.d.ts +4 -14
  95. package/lib/esm/components/gift_cards/GiftCard.js +1 -1
  96. package/lib/esm/components/gift_cards/GiftCardContainer.d.ts +2 -8
  97. package/lib/esm/components/gift_cards/GiftCardContainer.js +1 -1
  98. package/lib/esm/components/gift_cards/GiftCardCurrencySelector.d.ts +0 -15
  99. package/lib/esm/components/gift_cards/GiftCardCurrencySelector.js +1 -1
  100. package/lib/esm/components/gift_cards/GiftCardInput.d.ts +1 -10
  101. package/lib/esm/components/gift_cards/GiftCardInput.js +1 -1
  102. package/lib/esm/components/gift_cards/GiftCardOrCouponForm.d.ts +0 -5
  103. package/lib/esm/components/gift_cards/GiftCardOrCouponForm.js +1 -1
  104. package/lib/esm/components/gift_cards/GiftCardOrCouponInput.d.ts +1 -10
  105. package/lib/esm/components/gift_cards/GiftCardOrCouponInput.js +1 -1
  106. package/lib/esm/components/line_items/LineItemQuantity.d.ts +1 -1
  107. package/lib/esm/components/line_items/LineItemsCount.d.ts +3 -3
  108. package/lib/esm/components/orders/CheckoutLink.d.ts +2 -2
  109. package/lib/esm/components/orders/OrderContainer.d.ts +12 -0
  110. package/lib/esm/components/orders/OrderList.d.ts +1 -1
  111. package/lib/esm/components/orders/OrderNumber.d.ts +0 -6
  112. package/lib/esm/components/orders/OrderNumber.js +1 -1
  113. package/lib/esm/components/orders/OrderStorage.d.ts +2 -10
  114. package/lib/esm/components/orders/OrderStorage.js +1 -1
  115. package/lib/esm/components/orders/PlaceOrderButton.d.ts +2 -2
  116. package/lib/esm/components/payment_source/PaymentSource.d.ts +4 -4
  117. package/lib/esm/components/payment_source/PaymentSourceBrandIcon.d.ts +2 -2
  118. package/lib/esm/components/payment_source/PaymentSourceBrandName.d.ts +2 -2
  119. package/lib/esm/components/shipments/ShipmentField.d.ts +2 -2
  120. package/lib/esm/components/shipping_methods/ShippingMethodName.d.ts +2 -2
  121. package/lib/esm/components/shipping_methods/ShippingMethodPrice.d.ts +0 -12
  122. package/lib/esm/components/shipping_methods/ShippingMethodPrice.js +1 -1
  123. package/lib/esm/components/shipping_methods/ShippingMethodRadioButton.d.ts +0 -6
  124. package/lib/esm/components/shipping_methods/ShippingMethodRadioButton.js +1 -1
  125. package/lib/esm/components/skus/DeliveryLeadTime.d.ts +0 -7
  126. package/lib/esm/components/skus/DeliveryLeadTime.js +1 -1
  127. package/lib/esm/components/skus/SkuList.d.ts +5 -9
  128. package/lib/esm/components/skus/SkuList.js +1 -1
  129. package/lib/esm/components/skus/SkuListsContainer.d.ts +2 -8
  130. package/lib/esm/components/skus/SkuListsContainer.js +1 -1
  131. package/lib/esm/components/skus/Skus.d.ts +2 -7
  132. package/lib/esm/components/skus/Skus.js +1 -1
  133. package/lib/esm/components/stock_transfers/StockTransfer.d.ts +4 -10
  134. package/lib/esm/components/stock_transfers/StockTransfer.js +1 -1
  135. package/lib/esm/components/utils/BaseField.d.ts +2 -2
  136. package/lib/esm/components/utils/BaseInput.d.ts +2 -2
  137. package/lib/esm/components/utils/Parent.d.ts +1 -1
  138. package/lib/esm/hooks/useOrderContainer.d.ts +6 -0
  139. package/lib/esm/hooks/useOrderContainer.js +1 -0
  140. package/lib/esm/reducers/AddressReducer.d.ts +1 -1
  141. package/lib/esm/reducers/GiftCardReducer.d.ts +11 -21
  142. package/lib/esm/reducers/GiftCardReducer.js +1 -1
  143. package/lib/esm/typings/errors.d.ts +2 -2
  144. package/lib/esm/typings/index.d.ts +2 -2
  145. package/lib/tsconfig.prod.esm.tsbuildinfo +1 -1
  146. package/lib/tsconfig.prod.tsbuildinfo +1 -1
  147. package/package.json +23 -66
  148. package/README.md +0 -338
  149. package/lib/cjs/config/components.d.ts +0 -934
  150. package/lib/cjs/config/components.js +0 -1
  151. package/lib/cjs/utils/childrenTypes.d.ts +0 -9
  152. package/lib/cjs/utils/childrenTypes.js +0 -1
  153. package/lib/esm/config/components.d.ts +0 -934
  154. package/lib/esm/config/components.js +0 -1
  155. package/lib/esm/utils/childrenTypes.d.ts +0 -9
  156. package/lib/esm/utils/childrenTypes.js +0 -1
@@ -1,934 +0,0 @@
1
- /// <reference types="react" />
2
- import PropTypes from 'prop-types';
3
- import { TimeFormat, BaseInputType, GiftCardInputName, LineItemType, BasePriceType, BaseFormatPrice, BaseSelectorType, AddressInputName, AddressCountrySelectName, AddressStateSelectName } from '../typings/index';
4
- import { DeliveryLeadTimeField } from '../components/skus/DeliveryLeadTime';
5
- import { PaymentSourceDetailType } from '../components/payment_source/PaymentSourceDetail';
6
- import { CodeType } from '../reducers/OrderReducer';
7
- import { ShipmentAttribute } from '../components/shipments/ShipmentField';
8
- declare const components: {
9
- Address: {
10
- permittedChildren: string[];
11
- displayName: string;
12
- propTypes: {
13
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
14
- };
15
- };
16
- AddressCountrySelector: {
17
- displayName: string;
18
- propTypes: {
19
- children: PropTypes.Requireable<(...args: any[]) => any>;
20
- placeholder: PropTypes.Requireable<PropTypes.InferProps<{
21
- label: PropTypes.Validator<string>;
22
- value: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
23
- }>>;
24
- value: PropTypes.Requireable<string>;
25
- name: PropTypes.Validator<NonNullable<AddressCountrySelectName>>;
26
- required: PropTypes.Requireable<boolean>;
27
- };
28
- defaultProps: {
29
- required: boolean;
30
- };
31
- };
32
- AddressStateSelector: {
33
- displayName: string;
34
- propTypes: {
35
- children: PropTypes.Requireable<(...args: any[]) => any>;
36
- placeholder: PropTypes.Requireable<PropTypes.InferProps<{
37
- label: PropTypes.Validator<string>;
38
- value: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
39
- }>>;
40
- value: PropTypes.Requireable<string>;
41
- name: PropTypes.Validator<NonNullable<AddressStateSelectName>>;
42
- required: PropTypes.Requireable<boolean>;
43
- };
44
- defaultProps: {
45
- required: boolean;
46
- };
47
- };
48
- AddressField: {
49
- displayName: string;
50
- propTypes: {
51
- children: PropTypes.Requireable<(...args: any[]) => any>;
52
- };
53
- };
54
- AddressInput: {
55
- displayName: string;
56
- propTypes: {
57
- children: PropTypes.Requireable<(...args: any[]) => any>;
58
- name: PropTypes.Validator<NonNullable<AddressInputName>>;
59
- type: PropTypes.Validator<NonNullable<BaseInputType>>;
60
- placeholder: PropTypes.Requireable<string>;
61
- disabled: PropTypes.Requireable<boolean>;
62
- required: PropTypes.Requireable<boolean>;
63
- };
64
- defaultProps: {
65
- required: boolean;
66
- };
67
- };
68
- AdjustmentAmount: {
69
- displayName: string;
70
- propTypes: {
71
- id: PropTypes.Requireable<string>;
72
- className: PropTypes.Requireable<string>;
73
- style: PropTypes.Requireable<object>;
74
- name: PropTypes.Requireable<string>;
75
- children: PropTypes.Requireable<(...args: any[]) => any>;
76
- format: PropTypes.Requireable<BaseFormatPrice>;
77
- };
78
- defaultProps: {
79
- format: BaseFormatPrice;
80
- };
81
- };
82
- AddToCartButton: {
83
- displayName: string;
84
- propTypes: {
85
- children: PropTypes.Requireable<(...args: any[]) => any>;
86
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
87
- skuCode: PropTypes.Requireable<string>;
88
- disabled: PropTypes.Requireable<boolean>;
89
- buyNowMode: PropTypes.Requireable<boolean>;
90
- checkoutUrl: PropTypes.Requireable<string>;
91
- lineItem: PropTypes.Requireable<PropTypes.InferProps<{
92
- name: PropTypes.Validator<string>;
93
- imageUrl: PropTypes.Requireable<string>;
94
- }>>;
95
- };
96
- defaultProps: {
97
- label: string;
98
- };
99
- };
100
- AddressesContainer: {
101
- displayName: string;
102
- permittedChildren: string[];
103
- propTypes: {
104
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
105
- shipToDifferentAddress: PropTypes.Requireable<boolean>;
106
- };
107
- };
108
- AvailabilityContainer: {
109
- displayName: string;
110
- permittedChildren: string[];
111
- propTypes: {
112
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
113
- skuCode: PropTypes.Requireable<string>;
114
- };
115
- };
116
- AvailabilityTemplate: {
117
- displayName: string;
118
- propTypes: {
119
- timeFormat: PropTypes.Requireable<TimeFormat>;
120
- showShippingMethodName: PropTypes.Requireable<boolean>;
121
- children: PropTypes.Requireable<(...args: any[]) => any>;
122
- };
123
- defaultProps: {
124
- timeFormat: string;
125
- showShippingMethodName: boolean;
126
- };
127
- };
128
- BillingAddressContainer: {
129
- permittedChildren: string[];
130
- propTypes: {
131
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
132
- };
133
- };
134
- BillingAddressForm: {
135
- permittedChildren: string[];
136
- propTypes: {
137
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
138
- };
139
- };
140
- CustomerAddressForm: {
141
- permittedChildren: string[];
142
- propTypes: {
143
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
144
- };
145
- };
146
- CheckoutLink: {
147
- displayName: string;
148
- propTypes: {
149
- children: PropTypes.Requireable<(...args: any[]) => any>;
150
- label: PropTypes.Requireable<string>;
151
- };
152
- defaultProps: {
153
- label: string;
154
- };
155
- };
156
- CommerceLayer: {
157
- permittedChildren: string[];
158
- propTypes: {
159
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
160
- accessToken: PropTypes.Validator<string>;
161
- endpoint: PropTypes.Validator<string>;
162
- };
163
- };
164
- CustomerContainer: {
165
- displayName: string;
166
- permittedChildren: string[];
167
- propTypes: {
168
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
169
- isGuest: PropTypes.Requireable<boolean>;
170
- };
171
- };
172
- CustomerField: {
173
- displayName: string;
174
- propTypes: {
175
- children: PropTypes.Requireable<(...args: any[]) => any>;
176
- name: PropTypes.Validator<"email">;
177
- };
178
- };
179
- CustomerInput: {
180
- displayName: string;
181
- propTypes: {
182
- children: PropTypes.Requireable<(...args: any[]) => any>;
183
- name: PropTypes.Requireable<string>;
184
- type: PropTypes.Requireable<string>;
185
- placeholder: PropTypes.Requireable<string>;
186
- disabled: PropTypes.Requireable<boolean>;
187
- required: PropTypes.Requireable<boolean>;
188
- saveOnBlur: PropTypes.Requireable<boolean>;
189
- };
190
- defaultProps: {
191
- required: boolean;
192
- };
193
- };
194
- DeliveryLeadTime: {
195
- displayName: string;
196
- propTypes: {
197
- type: PropTypes.Validator<NonNullable<DeliveryLeadTimeField>>;
198
- children: PropTypes.Requireable<(...args: any[]) => any>;
199
- };
200
- };
201
- DiscountAmount: {
202
- displayName: string;
203
- propTypes: {
204
- id: PropTypes.Requireable<string>;
205
- className: PropTypes.Requireable<string>;
206
- style: PropTypes.Requireable<object>;
207
- name: PropTypes.Requireable<string>;
208
- children: PropTypes.Requireable<(...args: any[]) => any>;
209
- format: PropTypes.Requireable<BaseFormatPrice>;
210
- };
211
- defaultProps: {
212
- format: BaseFormatPrice;
213
- };
214
- };
215
- Errors: {
216
- displayName: string;
217
- propTypes: {
218
- resource: PropTypes.Validator<NonNullable<import("../typings/errors").ResourceErrorType>>;
219
- children: PropTypes.Requireable<(...args: any[]) => any>;
220
- field: PropTypes.Requireable<string>;
221
- };
222
- defaultProps: {
223
- messages: never[];
224
- field: string;
225
- };
226
- };
227
- ExternalFunction: {
228
- displayName: string;
229
- permittedChildren: string[];
230
- propTypes: {
231
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
232
- url: PropTypes.Validator<string>;
233
- };
234
- };
235
- GiftCard: {
236
- permittedChildren: string[];
237
- displayName: string;
238
- propTypes: {
239
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
240
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
241
- };
242
- defaultProps: {
243
- onSubmit: undefined;
244
- };
245
- };
246
- GiftCardAmount: {
247
- displayName: string;
248
- propTypes: {
249
- id: PropTypes.Requireable<string>;
250
- className: PropTypes.Requireable<string>;
251
- style: PropTypes.Requireable<object>;
252
- name: PropTypes.Requireable<string>;
253
- children: PropTypes.Requireable<(...args: any[]) => any>;
254
- format: PropTypes.Requireable<BaseFormatPrice>;
255
- };
256
- };
257
- GiftCardContainer: {
258
- permittedChildren: string[];
259
- displayName: string;
260
- propTypes: {
261
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
262
- };
263
- };
264
- GiftCardCurrencySelector: {
265
- displayName: string;
266
- propTypes: {
267
- children: PropTypes.Requireable<(...args: any[]) => any>;
268
- placeholder: PropTypes.Requireable<PropTypes.InferProps<{
269
- value: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
270
- label: PropTypes.Validator<string>;
271
- }>>;
272
- value: PropTypes.Requireable<string>;
273
- required: PropTypes.Requireable<boolean>;
274
- };
275
- defaultProps: {
276
- required: boolean;
277
- };
278
- };
279
- GiftCardInput: {
280
- displayName: string;
281
- propTypes: {
282
- type: PropTypes.Validator<NonNullable<BaseInputType>>;
283
- name: PropTypes.Validator<NonNullable<GiftCardInputName>>;
284
- children: PropTypes.Requireable<(...args: any[]) => any>;
285
- placeholder: PropTypes.Requireable<string>;
286
- };
287
- };
288
- GiftCardOrCouponForm: {
289
- permittedChildren: string[];
290
- propTypes: {
291
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
292
- };
293
- };
294
- GiftCardOrCouponInput: {
295
- displayName: string;
296
- propTypes: {
297
- children: PropTypes.Requireable<(...args: any[]) => any>;
298
- placeholder: PropTypes.Requireable<string>;
299
- disabled: PropTypes.Requireable<boolean>;
300
- required: PropTypes.Requireable<boolean>;
301
- };
302
- };
303
- GiftCardOrCouponSubmit: {
304
- displayName: string;
305
- propTypes: {
306
- children: PropTypes.Requireable<(...args: any[]) => any>;
307
- label: PropTypes.Requireable<NonNullable<string | object | null | undefined>>;
308
- };
309
- };
310
- GiftCardOrCouponCode: {
311
- displayName: string;
312
- propTypes: {
313
- children: PropTypes.Requireable<(...args: any[]) => any>;
314
- type: PropTypes.Requireable<CodeType>;
315
- };
316
- };
317
- GiftCardOrCouponRemoveButton: {
318
- displayName: string;
319
- propTypes: {
320
- children: PropTypes.Requireable<(...args: any[]) => any>;
321
- type: PropTypes.Requireable<CodeType>;
322
- label: PropTypes.Requireable<NonNullable<string | object | null | undefined>>;
323
- };
324
- };
325
- ItemContainer: {
326
- permittedChildren: string[];
327
- displayName: string;
328
- propTypes: {
329
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
330
- skuCode: PropTypes.Requireable<string>;
331
- lineItem: PropTypes.Requireable<PropTypes.InferProps<{
332
- name: PropTypes.Validator<string>;
333
- imageUrl: PropTypes.Requireable<string>;
334
- }>>;
335
- };
336
- };
337
- LineItem: {
338
- permittedChildren: string[];
339
- displayName: string;
340
- propTypes: {
341
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
342
- type: PropTypes.Requireable<LineItemType>;
343
- };
344
- defaultProps: {
345
- type: string;
346
- };
347
- };
348
- LineItemAmount: {
349
- displayName: string;
350
- propTypes: {
351
- type: PropTypes.Requireable<BasePriceType>;
352
- id: PropTypes.Requireable<string>;
353
- className: PropTypes.Requireable<string>;
354
- style: PropTypes.Requireable<object>;
355
- name: PropTypes.Requireable<string>;
356
- children: PropTypes.Requireable<(...args: any[]) => any>;
357
- format: PropTypes.Requireable<BaseFormatPrice>;
358
- };
359
- defaultProps: {
360
- format: string;
361
- type: string;
362
- };
363
- };
364
- LineItemImage: {
365
- displayName: string;
366
- propTypes: {
367
- width: PropTypes.Requireable<number>;
368
- children: PropTypes.Requireable<(...args: any[]) => any>;
369
- };
370
- };
371
- LineItemName: {
372
- displayName: string;
373
- propTypes: {
374
- children: PropTypes.Requireable<(...args: any[]) => any>;
375
- };
376
- };
377
- LineItemCode: {
378
- displayName: string;
379
- propTypes: {
380
- children: PropTypes.Requireable<(...args: any[]) => any>;
381
- };
382
- };
383
- LineItemOption: {
384
- displayName: string;
385
- propTypes: {
386
- name: PropTypes.Requireable<string>;
387
- children: PropTypes.Requireable<(...args: any[]) => any>;
388
- valueClassName: PropTypes.Requireable<string>;
389
- className: PropTypes.Requireable<string>;
390
- id: PropTypes.Requireable<string>;
391
- style: PropTypes.Requireable<object>;
392
- };
393
- };
394
- LineItemOptions: {
395
- permittedChildren: string[];
396
- displayName: string;
397
- propTypes: {
398
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
399
- title: PropTypes.Requireable<string>;
400
- showName: PropTypes.Requireable<boolean>;
401
- skuOptionId: PropTypes.Requireable<string>;
402
- };
403
- };
404
- LineItemQuantity: {
405
- displayName: string;
406
- propTypes: {
407
- children: PropTypes.Requireable<(...args: any[]) => any>;
408
- max: PropTypes.Requireable<number>;
409
- disabled: PropTypes.Requireable<boolean>;
410
- readonly: PropTypes.Requireable<boolean>;
411
- };
412
- defaultProps: {
413
- max: number;
414
- };
415
- };
416
- LineItemRemoveLink: {
417
- displayName: string;
418
- propTypes: {
419
- children: PropTypes.Requireable<(...args: any[]) => any>;
420
- label: PropTypes.Requireable<string>;
421
- };
422
- defaultProps: {
423
- label: string;
424
- };
425
- };
426
- LineItemsContainer: {
427
- permittedChildren: string[];
428
- displayName: string;
429
- propTypes: {
430
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
431
- filters: PropTypes.Requireable<object>;
432
- loader: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
433
- };
434
- defaultProps: {
435
- filters: {};
436
- loader: string;
437
- };
438
- };
439
- LineItemsCount: {
440
- displayName: string;
441
- propTypes: {
442
- children: PropTypes.Requireable<(...args: any[]) => any>;
443
- id: PropTypes.Requireable<string>;
444
- className: PropTypes.Requireable<string>;
445
- name: PropTypes.Requireable<string>;
446
- style: PropTypes.Requireable<object>;
447
- };
448
- };
449
- LineItemsEmpty: {
450
- displayName: string;
451
- propTypes: {
452
- children: PropTypes.Requireable<(...args: any[]) => any>;
453
- id: PropTypes.Requireable<string>;
454
- className: PropTypes.Requireable<string>;
455
- name: PropTypes.Requireable<string>;
456
- style: PropTypes.Requireable<object>;
457
- text: PropTypes.Requireable<string>;
458
- };
459
- };
460
- MetadataInput: {
461
- displayName: string;
462
- propTypes: {
463
- children: PropTypes.Requireable<(...args: any[]) => any>;
464
- name: PropTypes.Validator<string>;
465
- type: PropTypes.Validator<NonNullable<BaseInputType>>;
466
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
467
- placeholder: PropTypes.Requireable<string>;
468
- };
469
- };
470
- OrderContainer: {
471
- permittedChildren: string[];
472
- displayName: string;
473
- propTypes: {
474
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
475
- orderId: PropTypes.Requireable<string>;
476
- metadata: PropTypes.Requireable<{
477
- [x: string]: string | null | undefined;
478
- }>;
479
- attributes: PropTypes.Requireable<object>;
480
- };
481
- defaultProps: {
482
- metadata: {};
483
- };
484
- };
485
- OrderList: {
486
- permittedChildren: string[];
487
- displayName: string;
488
- propTypes: {
489
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
490
- };
491
- };
492
- OrderNumber: {
493
- displayName: string;
494
- propTypes: {
495
- className: PropTypes.Requireable<string>;
496
- };
497
- defaultProps: {
498
- format: BaseFormatPrice;
499
- };
500
- };
501
- OrderStorage: {
502
- permittedChildren: string[];
503
- displayName: string;
504
- propTypes: {
505
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
506
- clearWhenPlaced: PropTypes.Requireable<boolean>;
507
- persistKey: PropTypes.Validator<string>;
508
- };
509
- };
510
- PaymentMethod: {
511
- permittedChildren: string[];
512
- displayName: string;
513
- propTypes: {
514
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
515
- };
516
- };
517
- PaymentMethodAmount: {
518
- displayName: string;
519
- propTypes: {
520
- id: PropTypes.Requireable<string>;
521
- className: PropTypes.Requireable<string>;
522
- style: PropTypes.Requireable<object>;
523
- name: PropTypes.Requireable<string>;
524
- children: PropTypes.Requireable<(...args: any[]) => any>;
525
- format: PropTypes.Requireable<BaseFormatPrice>;
526
- };
527
- defaultProps: {
528
- format: BaseFormatPrice;
529
- };
530
- };
531
- PaymentMethodName: {
532
- displayName: string;
533
- propTypes: {
534
- children: PropTypes.Requireable<(...args: any[]) => any>;
535
- };
536
- };
537
- PaymentMethodPrice: {
538
- displayName: string;
539
- propTypes: {
540
- type: PropTypes.Requireable<"amount">;
541
- id: PropTypes.Requireable<string>;
542
- className: PropTypes.Requireable<string>;
543
- style: PropTypes.Requireable<object>;
544
- name: PropTypes.Requireable<string>;
545
- children: PropTypes.Requireable<(...args: any[]) => any>;
546
- format: PropTypes.Requireable<BaseFormatPrice>;
547
- };
548
- };
549
- PaymentMethodRadioButton: {
550
- displayName: string;
551
- propTypes: {
552
- children: PropTypes.Requireable<(...args: any[]) => any>;
553
- };
554
- };
555
- PaymentMethodsContainer: {
556
- displayName: string;
557
- permittedChildren: string[];
558
- propTypes: {
559
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
560
- };
561
- };
562
- PaymentSource: {
563
- displayName: string;
564
- permittedChildren: string[];
565
- propTypes: {
566
- children: PropTypes.Requireable<import("react").ReactNode | (() => JSX.Element)>;
567
- readonly: PropTypes.Requireable<boolean>;
568
- };
569
- };
570
- PaymentSourceBrandIcon: {
571
- displayName: string;
572
- propTypes: {
573
- children: PropTypes.Requireable<(...args: any[]) => any>;
574
- width: PropTypes.Requireable<number>;
575
- height: PropTypes.Requireable<number>;
576
- src: PropTypes.Requireable<string>;
577
- className: PropTypes.Requireable<string>;
578
- };
579
- };
580
- PaymentSourceBrandName: {
581
- displayName: string;
582
- propTypes: {
583
- children: PropTypes.Requireable<(...args: any[]) => any>;
584
- label: PropTypes.Requireable<string>;
585
- };
586
- };
587
- PaymentSourceEditButton: {
588
- displayName: string;
589
- propTypes: {
590
- children: PropTypes.Requireable<(...args: any[]) => any>;
591
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
592
- };
593
- };
594
- PaymentSourceDetail: {
595
- displayName: string;
596
- propTypes: {
597
- type: PropTypes.Validator<NonNullable<PaymentSourceDetailType>>;
598
- };
599
- };
600
- PlaceOrderButton: {
601
- displayName: string;
602
- propTypes: {
603
- children: PropTypes.Requireable<(...args: any[]) => any>;
604
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
605
- };
606
- defaultProps: {
607
- label: string;
608
- };
609
- };
610
- PlaceOrderContainer: {
611
- displayName: string;
612
- permittedChildren: string[];
613
- propTypes: {
614
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
615
- };
616
- };
617
- Price: {
618
- displayName: string;
619
- propTypes: {
620
- children: PropTypes.Requireable<(...args: any[]) => any>;
621
- compareClassName: PropTypes.Requireable<string>;
622
- skuCode: PropTypes.Requireable<string>;
623
- showCompare: PropTypes.Requireable<boolean>;
624
- };
625
- defaultProps: {
626
- skuCode: string;
627
- };
628
- };
629
- PricesContainer: {
630
- permittedChildren: string[];
631
- displayName: string;
632
- propTypes: {
633
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
634
- skuCode: PropTypes.Requireable<string>;
635
- loader: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
636
- perPage: PropTypes.Requireable<number>;
637
- filters: PropTypes.Requireable<object>;
638
- };
639
- defaultProps: {
640
- perPage: number;
641
- filters: {};
642
- loader: string;
643
- skuCode: string;
644
- };
645
- };
646
- PrivacyAndTermsCheckbox: {
647
- displayName: string;
648
- propTypes: {
649
- children: PropTypes.Requireable<(...args: any[]) => any>;
650
- };
651
- };
652
- QuantitySelector: {
653
- displayName: string;
654
- propTypes: {
655
- children: PropTypes.Requireable<(...args: any[]) => any>;
656
- min: PropTypes.Requireable<number>;
657
- max: PropTypes.Requireable<number>;
658
- value: PropTypes.Requireable<string>;
659
- skuCode: PropTypes.Requireable<string>;
660
- disabled: PropTypes.Requireable<boolean>;
661
- };
662
- defaultProps: {
663
- min: number;
664
- };
665
- };
666
- SaveAddressesButton: {
667
- displayName: string;
668
- propTypes: {
669
- children: PropTypes.Requireable<(...args: any[]) => any>;
670
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
671
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
672
- disabled: PropTypes.Requireable<boolean>;
673
- };
674
- defaultProps: {
675
- label: string;
676
- };
677
- };
678
- Shipment: {
679
- permittedChildren: string[];
680
- displayName: string;
681
- propTypes: {
682
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
683
- };
684
- };
685
- ShipmentField: {
686
- displayName: string;
687
- propTypes: {
688
- children: PropTypes.Requireable<(...args: any[]) => any>;
689
- name: PropTypes.Validator<NonNullable<ShipmentAttribute>>;
690
- };
691
- };
692
- ShipmentsContainer: {
693
- displayName: string;
694
- permittedChildren: string[];
695
- propTypes: {
696
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
697
- };
698
- };
699
- ShippingAddressContainer: {
700
- permittedChildren: string[];
701
- propTypes: {
702
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
703
- };
704
- };
705
- SaveCustomerButton: {
706
- displayName: string;
707
- propTypes: {
708
- children: PropTypes.Requireable<(...args: any[]) => any>;
709
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
710
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
711
- };
712
- defaultProps: {
713
- label: string;
714
- };
715
- };
716
- ShippingAddressForm: {
717
- permittedChildren: string[];
718
- propTypes: {
719
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
720
- };
721
- };
722
- ShippingAmount: {
723
- displayName: string;
724
- propTypes: {
725
- id: PropTypes.Requireable<string>;
726
- className: PropTypes.Requireable<string>;
727
- style: PropTypes.Requireable<object>;
728
- name: PropTypes.Requireable<string>;
729
- children: PropTypes.Requireable<(...args: any[]) => any>;
730
- format: PropTypes.Requireable<BaseFormatPrice>;
731
- };
732
- };
733
- ShippingMethod: {
734
- permittedChildren: string[];
735
- displayName: string;
736
- propTypes: {
737
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
738
- readonly: PropTypes.Requireable<boolean>;
739
- };
740
- };
741
- ShippingMethodName: {
742
- displayName: string;
743
- propTypes: {
744
- children: PropTypes.Requireable<(...args: any[]) => any>;
745
- };
746
- };
747
- ShippingMethodRadioButton: {
748
- displayName: string;
749
- propTypes: {
750
- children: PropTypes.Requireable<(...args: any[]) => any>;
751
- };
752
- };
753
- ShippingMethodPrice: {
754
- displayName: string;
755
- propTypes: {
756
- type: PropTypes.Requireable<"amount">;
757
- id: PropTypes.Requireable<string>;
758
- className: PropTypes.Requireable<string>;
759
- style: PropTypes.Requireable<object>;
760
- name: PropTypes.Requireable<string>;
761
- children: PropTypes.Requireable<(...args: any[]) => any>;
762
- format: PropTypes.Requireable<BaseFormatPrice>;
763
- };
764
- defaultProps: {
765
- format: string;
766
- type: string;
767
- };
768
- };
769
- SkusContainer: {
770
- displayName: string;
771
- permittedChildren: string[];
772
- propTypes: {
773
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
774
- };
775
- };
776
- Skus: {
777
- displayName: string;
778
- permittedChildren: string[];
779
- propTypes: {
780
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
781
- };
782
- };
783
- SkuField: {
784
- displayName: string;
785
- propTypes: {
786
- children: PropTypes.Requireable<(...args: any[]) => any>;
787
- attribute: PropTypes.Requireable<string>;
788
- tagElement: PropTypes.Requireable<string>;
789
- };
790
- };
791
- SkuList: {
792
- permittedChildren: string[];
793
- displayName: string;
794
- propTypes: {
795
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
796
- id: PropTypes.Validator<string>;
797
- };
798
- };
799
- SkuListsContainer: {
800
- permittedChildren: string[];
801
- displayName: string;
802
- propTypes: {
803
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
804
- };
805
- };
806
- SkuOption: {
807
- permittedChildren: string[];
808
- displayName: string;
809
- propTypes: {
810
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
811
- id: PropTypes.Validator<string>;
812
- };
813
- };
814
- SkuOptionInput: {
815
- displayName: string;
816
- propTypes: {
817
- children: PropTypes.Requireable<(...args: any[]) => any>;
818
- name: PropTypes.Validator<string>;
819
- type: PropTypes.Validator<NonNullable<BaseInputType>>;
820
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
821
- placeholder: PropTypes.Requireable<string>;
822
- };
823
- };
824
- SkuOptionsContainer: {
825
- permittedChildren: string[];
826
- displayName: string;
827
- propTypes: {
828
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
829
- skuCode: PropTypes.Requireable<string>;
830
- };
831
- };
832
- StockTransfer: {
833
- permittedChildren: string[];
834
- displayName: string;
835
- propTypes: {
836
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
837
- };
838
- };
839
- StockTransferField: {
840
- displayName: string;
841
- propTypes: {
842
- children: PropTypes.Requireable<(...args: any[]) => any>;
843
- };
844
- };
845
- SubmitButton: {
846
- displayName: string;
847
- propTypes: {
848
- children: PropTypes.Requireable<(...args: any[]) => any>;
849
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
850
- };
851
- defaultProps: {
852
- label: string;
853
- };
854
- };
855
- SubTotalAmount: {
856
- displayName: string;
857
- propTypes: {
858
- id: PropTypes.Requireable<string>;
859
- className: PropTypes.Requireable<string>;
860
- style: PropTypes.Requireable<object>;
861
- name: PropTypes.Requireable<string>;
862
- children: PropTypes.Requireable<(...args: any[]) => any>;
863
- format: PropTypes.Requireable<BaseFormatPrice>;
864
- };
865
- defaultProps: {
866
- format: BaseFormatPrice;
867
- };
868
- };
869
- TaxesAmount: {
870
- displayName: string;
871
- propTypes: {
872
- id: PropTypes.Requireable<string>;
873
- className: PropTypes.Requireable<string>;
874
- style: PropTypes.Requireable<object>;
875
- name: PropTypes.Requireable<string>;
876
- children: PropTypes.Requireable<(...args: any[]) => any>;
877
- format: PropTypes.Requireable<BaseFormatPrice>;
878
- };
879
- defaultProps: {
880
- format: BaseFormatPrice;
881
- };
882
- };
883
- TotalAmount: {
884
- displayName: string;
885
- propTypes: {
886
- id: PropTypes.Requireable<string>;
887
- className: PropTypes.Requireable<string>;
888
- style: PropTypes.Requireable<object>;
889
- name: PropTypes.Requireable<string>;
890
- children: PropTypes.Requireable<(...args: any[]) => any>;
891
- format: PropTypes.Requireable<BaseFormatPrice>;
892
- };
893
- defaultProps: {
894
- format: BaseFormatPrice;
895
- };
896
- };
897
- VariantsContainer: {
898
- permittedChildren: string[];
899
- displayName: string;
900
- propTypes: {
901
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
902
- skuCode: PropTypes.Requireable<string>;
903
- filters: PropTypes.Requireable<object>;
904
- };
905
- defaultProps: {
906
- skuCode: string;
907
- filters: {};
908
- };
909
- };
910
- VariantSelector: {
911
- displayName: string;
912
- propTypes: {
913
- options: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
914
- label: PropTypes.Validator<string>;
915
- code: PropTypes.Validator<string>;
916
- lineItem: PropTypes.Requireable<PropTypes.InferProps<{
917
- name: PropTypes.Validator<string>;
918
- imageUrl: PropTypes.Requireable<string>;
919
- }>>;
920
- }>>[]>;
921
- name: PropTypes.Requireable<string>;
922
- children: PropTypes.Requireable<(...args: any[]) => any>;
923
- type: PropTypes.Requireable<BaseSelectorType>;
924
- loader: PropTypes.Requireable<PropTypes.ReactElementLike>;
925
- placeholder: PropTypes.Requireable<string>;
926
- skuCode: PropTypes.Requireable<string>;
927
- };
928
- defaultProps: {
929
- placeholder: string;
930
- type: BaseSelectorType;
931
- };
932
- };
933
- };
934
- export default components;