@commercelayer/react-components 4.0.1 → 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 (130) hide show
  1. package/lib/cjs/components/Errors.js +1 -1
  2. package/lib/cjs/components/ExternalFunction.d.ts +2 -9
  3. package/lib/cjs/components/ExternalFunction.js +1 -1
  4. package/lib/cjs/components/MetadataInput.d.ts +0 -10
  5. package/lib/cjs/components/MetadataInput.js +1 -1
  6. package/lib/cjs/components/addresses/AddressCountrySelector.d.ts +0 -16
  7. package/lib/cjs/components/addresses/AddressCountrySelector.js +1 -1
  8. package/lib/cjs/components/addresses/AddressStateSelector.d.ts +0 -16
  9. package/lib/cjs/components/addresses/AddressStateSelector.js +1 -1
  10. package/lib/cjs/components/addresses/BillingAddressForm.d.ts +0 -5
  11. package/lib/cjs/components/addresses/BillingAddressForm.js +1 -1
  12. package/lib/cjs/components/addresses/ShippingAddressContainer.d.ts +4 -9
  13. package/lib/cjs/components/addresses/ShippingAddressContainer.js +1 -1
  14. package/lib/cjs/components/addresses/ShippingAddressForm.d.ts +2 -7
  15. package/lib/cjs/components/addresses/ShippingAddressForm.js +1 -1
  16. package/lib/cjs/components/customers/CustomerAddressForm.d.ts +2 -7
  17. package/lib/cjs/components/customers/CustomerAddressForm.js +1 -1
  18. package/lib/cjs/components/customers/CustomerInput.d.ts +1 -13
  19. package/lib/cjs/components/customers/CustomerInput.js +1 -1
  20. package/lib/cjs/components/gift_cards/GiftCard.d.ts +2 -12
  21. package/lib/cjs/components/gift_cards/GiftCard.js +1 -1
  22. package/lib/cjs/components/gift_cards/GiftCardContainer.d.ts +2 -8
  23. package/lib/cjs/components/gift_cards/GiftCardContainer.js +1 -1
  24. package/lib/cjs/components/gift_cards/GiftCardCurrencySelector.d.ts +0 -15
  25. package/lib/cjs/components/gift_cards/GiftCardCurrencySelector.js +1 -1
  26. package/lib/cjs/components/gift_cards/GiftCardInput.d.ts +1 -10
  27. package/lib/cjs/components/gift_cards/GiftCardInput.js +1 -1
  28. package/lib/cjs/components/gift_cards/GiftCardOrCouponForm.d.ts +0 -5
  29. package/lib/cjs/components/gift_cards/GiftCardOrCouponForm.js +1 -1
  30. package/lib/cjs/components/gift_cards/GiftCardOrCouponInput.d.ts +1 -10
  31. package/lib/cjs/components/gift_cards/GiftCardOrCouponInput.js +1 -1
  32. package/lib/cjs/components/line_items/LineItemQuantity.d.ts +1 -1
  33. package/lib/cjs/components/line_items/LineItemsCount.d.ts +1 -1
  34. package/lib/cjs/components/orders/OrderContainer.d.ts +12 -0
  35. package/lib/cjs/components/orders/OrderNumber.d.ts +0 -6
  36. package/lib/cjs/components/orders/OrderNumber.js +1 -1
  37. package/lib/cjs/components/orders/OrderStorage.d.ts +2 -10
  38. package/lib/cjs/components/orders/OrderStorage.js +1 -1
  39. package/lib/cjs/components/shipping_methods/ShippingMethodPrice.d.ts +0 -12
  40. package/lib/cjs/components/shipping_methods/ShippingMethodPrice.js +1 -1
  41. package/lib/cjs/components/shipping_methods/ShippingMethodRadioButton.d.ts +0 -6
  42. package/lib/cjs/components/shipping_methods/ShippingMethodRadioButton.js +1 -1
  43. package/lib/cjs/components/skus/DeliveryLeadTime.d.ts +0 -7
  44. package/lib/cjs/components/skus/DeliveryLeadTime.js +1 -1
  45. package/lib/cjs/components/skus/SkuList.d.ts +5 -9
  46. package/lib/cjs/components/skus/SkuList.js +1 -1
  47. package/lib/cjs/components/skus/SkuListsContainer.d.ts +2 -8
  48. package/lib/cjs/components/skus/SkuListsContainer.js +1 -1
  49. package/lib/cjs/components/skus/Skus.d.ts +2 -7
  50. package/lib/cjs/components/skus/Skus.js +1 -1
  51. package/lib/cjs/components/utils/BaseInput.d.ts +2 -2
  52. package/lib/cjs/components/utils/Parent.d.ts +1 -1
  53. package/lib/cjs/hooks/useOrderContainer.d.ts +6 -0
  54. package/lib/cjs/hooks/useOrderContainer.js +1 -0
  55. package/lib/cjs/reducers/AddressReducer.d.ts +1 -1
  56. package/lib/cjs/reducers/GiftCardReducer.d.ts +11 -21
  57. package/lib/cjs/reducers/GiftCardReducer.js +1 -1
  58. package/lib/cjs/typings/errors.d.ts +2 -2
  59. package/lib/cjs/typings/index.d.ts +2 -2
  60. package/lib/esm/components/Errors.js +1 -1
  61. package/lib/esm/components/ExternalFunction.d.ts +2 -9
  62. package/lib/esm/components/ExternalFunction.js +1 -1
  63. package/lib/esm/components/MetadataInput.d.ts +0 -10
  64. package/lib/esm/components/MetadataInput.js +1 -1
  65. package/lib/esm/components/addresses/AddressCountrySelector.d.ts +0 -16
  66. package/lib/esm/components/addresses/AddressCountrySelector.js +1 -1
  67. package/lib/esm/components/addresses/AddressStateSelector.d.ts +0 -16
  68. package/lib/esm/components/addresses/AddressStateSelector.js +1 -1
  69. package/lib/esm/components/addresses/BillingAddressForm.d.ts +0 -5
  70. package/lib/esm/components/addresses/BillingAddressForm.js +1 -1
  71. package/lib/esm/components/addresses/ShippingAddressContainer.d.ts +4 -9
  72. package/lib/esm/components/addresses/ShippingAddressContainer.js +1 -1
  73. package/lib/esm/components/addresses/ShippingAddressForm.d.ts +2 -7
  74. package/lib/esm/components/addresses/ShippingAddressForm.js +1 -1
  75. package/lib/esm/components/customers/CustomerAddressForm.d.ts +2 -7
  76. package/lib/esm/components/customers/CustomerAddressForm.js +1 -1
  77. package/lib/esm/components/customers/CustomerInput.d.ts +1 -13
  78. package/lib/esm/components/customers/CustomerInput.js +1 -1
  79. package/lib/esm/components/gift_cards/GiftCard.d.ts +2 -12
  80. package/lib/esm/components/gift_cards/GiftCard.js +1 -1
  81. package/lib/esm/components/gift_cards/GiftCardContainer.d.ts +2 -8
  82. package/lib/esm/components/gift_cards/GiftCardContainer.js +1 -1
  83. package/lib/esm/components/gift_cards/GiftCardCurrencySelector.d.ts +0 -15
  84. package/lib/esm/components/gift_cards/GiftCardCurrencySelector.js +1 -1
  85. package/lib/esm/components/gift_cards/GiftCardInput.d.ts +1 -10
  86. package/lib/esm/components/gift_cards/GiftCardInput.js +1 -1
  87. package/lib/esm/components/gift_cards/GiftCardOrCouponForm.d.ts +0 -5
  88. package/lib/esm/components/gift_cards/GiftCardOrCouponForm.js +1 -1
  89. package/lib/esm/components/gift_cards/GiftCardOrCouponInput.d.ts +1 -10
  90. package/lib/esm/components/gift_cards/GiftCardOrCouponInput.js +1 -1
  91. package/lib/esm/components/line_items/LineItemQuantity.d.ts +1 -1
  92. package/lib/esm/components/line_items/LineItemsCount.d.ts +1 -1
  93. package/lib/esm/components/orders/OrderContainer.d.ts +12 -0
  94. package/lib/esm/components/orders/OrderNumber.d.ts +0 -6
  95. package/lib/esm/components/orders/OrderNumber.js +1 -1
  96. package/lib/esm/components/orders/OrderStorage.d.ts +2 -10
  97. package/lib/esm/components/orders/OrderStorage.js +1 -1
  98. package/lib/esm/components/shipping_methods/ShippingMethodPrice.d.ts +0 -12
  99. package/lib/esm/components/shipping_methods/ShippingMethodPrice.js +1 -1
  100. package/lib/esm/components/shipping_methods/ShippingMethodRadioButton.d.ts +0 -6
  101. package/lib/esm/components/shipping_methods/ShippingMethodRadioButton.js +1 -1
  102. package/lib/esm/components/skus/DeliveryLeadTime.d.ts +0 -7
  103. package/lib/esm/components/skus/DeliveryLeadTime.js +1 -1
  104. package/lib/esm/components/skus/SkuList.d.ts +5 -9
  105. package/lib/esm/components/skus/SkuList.js +1 -1
  106. package/lib/esm/components/skus/SkuListsContainer.d.ts +2 -8
  107. package/lib/esm/components/skus/SkuListsContainer.js +1 -1
  108. package/lib/esm/components/skus/Skus.d.ts +2 -7
  109. package/lib/esm/components/skus/Skus.js +1 -1
  110. package/lib/esm/components/utils/BaseInput.d.ts +2 -2
  111. package/lib/esm/components/utils/Parent.d.ts +1 -1
  112. package/lib/esm/hooks/useOrderContainer.d.ts +6 -0
  113. package/lib/esm/hooks/useOrderContainer.js +1 -0
  114. package/lib/esm/reducers/AddressReducer.d.ts +1 -1
  115. package/lib/esm/reducers/GiftCardReducer.d.ts +11 -21
  116. package/lib/esm/reducers/GiftCardReducer.js +1 -1
  117. package/lib/esm/typings/errors.d.ts +2 -2
  118. package/lib/esm/typings/index.d.ts +2 -2
  119. package/lib/tsconfig.prod.esm.tsbuildinfo +1 -1
  120. package/lib/tsconfig.prod.tsbuildinfo +1 -1
  121. package/package.json +23 -66
  122. package/README.md +0 -302
  123. package/lib/cjs/config/components.d.ts +0 -860
  124. package/lib/cjs/config/components.js +0 -1
  125. package/lib/cjs/utils/childrenTypes.d.ts +0 -9
  126. package/lib/cjs/utils/childrenTypes.js +0 -1
  127. package/lib/esm/config/components.d.ts +0 -860
  128. package/lib/esm/config/components.js +0 -1
  129. package/lib/esm/utils/childrenTypes.d.ts +0 -9
  130. package/lib/esm/utils/childrenTypes.js +0 -1
@@ -1,860 +0,0 @@
1
- /// <reference types="react" />
2
- import PropTypes from 'prop-types';
3
- import { TimeFormat, BaseInputType, GiftCardInputName, LineItemType, BasePriceType, BaseFormatPrice, 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
- LineItem: {
326
- permittedChildren: string[];
327
- displayName: string;
328
- propTypes: {
329
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
330
- type: PropTypes.Requireable<LineItemType>;
331
- };
332
- defaultProps: {
333
- type: string;
334
- };
335
- };
336
- LineItemAmount: {
337
- displayName: string;
338
- propTypes: {
339
- type: PropTypes.Requireable<BasePriceType>;
340
- id: PropTypes.Requireable<string>;
341
- className: PropTypes.Requireable<string>;
342
- style: PropTypes.Requireable<object>;
343
- name: PropTypes.Requireable<string>;
344
- children: PropTypes.Requireable<(...args: any[]) => any>;
345
- format: PropTypes.Requireable<BaseFormatPrice>;
346
- };
347
- defaultProps: {
348
- format: string;
349
- type: string;
350
- };
351
- };
352
- LineItemImage: {
353
- displayName: string;
354
- propTypes: {
355
- width: PropTypes.Requireable<number>;
356
- children: PropTypes.Requireable<(...args: any[]) => any>;
357
- };
358
- };
359
- LineItemName: {
360
- displayName: string;
361
- propTypes: {
362
- children: PropTypes.Requireable<(...args: any[]) => any>;
363
- };
364
- };
365
- LineItemCode: {
366
- displayName: string;
367
- propTypes: {
368
- children: PropTypes.Requireable<(...args: any[]) => any>;
369
- };
370
- };
371
- LineItemOption: {
372
- displayName: string;
373
- propTypes: {
374
- name: PropTypes.Requireable<string>;
375
- children: PropTypes.Requireable<(...args: any[]) => any>;
376
- valueClassName: PropTypes.Requireable<string>;
377
- className: PropTypes.Requireable<string>;
378
- id: PropTypes.Requireable<string>;
379
- style: PropTypes.Requireable<object>;
380
- };
381
- };
382
- LineItemOptions: {
383
- permittedChildren: string[];
384
- displayName: string;
385
- propTypes: {
386
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
387
- title: PropTypes.Requireable<string>;
388
- showName: PropTypes.Requireable<boolean>;
389
- skuOptionId: PropTypes.Requireable<string>;
390
- };
391
- };
392
- LineItemQuantity: {
393
- displayName: string;
394
- propTypes: {
395
- children: PropTypes.Requireable<(...args: any[]) => any>;
396
- max: PropTypes.Requireable<number>;
397
- disabled: PropTypes.Requireable<boolean>;
398
- readonly: PropTypes.Requireable<boolean>;
399
- };
400
- defaultProps: {
401
- max: number;
402
- };
403
- };
404
- LineItemRemoveLink: {
405
- displayName: string;
406
- propTypes: {
407
- children: PropTypes.Requireable<(...args: any[]) => any>;
408
- label: PropTypes.Requireable<string>;
409
- };
410
- defaultProps: {
411
- label: string;
412
- };
413
- };
414
- LineItemsContainer: {
415
- permittedChildren: string[];
416
- displayName: string;
417
- propTypes: {
418
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
419
- filters: PropTypes.Requireable<object>;
420
- loader: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
421
- };
422
- defaultProps: {
423
- filters: {};
424
- loader: string;
425
- };
426
- };
427
- LineItemsCount: {
428
- displayName: string;
429
- propTypes: {
430
- children: PropTypes.Requireable<(...args: any[]) => any>;
431
- id: PropTypes.Requireable<string>;
432
- className: PropTypes.Requireable<string>;
433
- name: PropTypes.Requireable<string>;
434
- style: PropTypes.Requireable<object>;
435
- };
436
- };
437
- LineItemsEmpty: {
438
- displayName: string;
439
- propTypes: {
440
- children: PropTypes.Requireable<(...args: any[]) => any>;
441
- id: PropTypes.Requireable<string>;
442
- className: PropTypes.Requireable<string>;
443
- name: PropTypes.Requireable<string>;
444
- style: PropTypes.Requireable<object>;
445
- text: PropTypes.Requireable<string>;
446
- };
447
- };
448
- MetadataInput: {
449
- displayName: string;
450
- propTypes: {
451
- children: PropTypes.Requireable<(...args: any[]) => any>;
452
- name: PropTypes.Validator<string>;
453
- type: PropTypes.Validator<NonNullable<BaseInputType>>;
454
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
455
- placeholder: PropTypes.Requireable<string>;
456
- };
457
- };
458
- OrderContainer: {
459
- permittedChildren: string[];
460
- displayName: string;
461
- propTypes: {
462
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
463
- orderId: PropTypes.Requireable<string>;
464
- metadata: PropTypes.Requireable<{
465
- [x: string]: string | null | undefined;
466
- }>;
467
- attributes: PropTypes.Requireable<object>;
468
- };
469
- defaultProps: {
470
- metadata: {};
471
- };
472
- };
473
- OrderList: {
474
- permittedChildren: string[];
475
- displayName: string;
476
- propTypes: {
477
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
478
- };
479
- };
480
- OrderNumber: {
481
- displayName: string;
482
- propTypes: {
483
- className: PropTypes.Requireable<string>;
484
- };
485
- defaultProps: {
486
- format: BaseFormatPrice;
487
- };
488
- };
489
- OrderStorage: {
490
- permittedChildren: string[];
491
- displayName: string;
492
- propTypes: {
493
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
494
- clearWhenPlaced: PropTypes.Requireable<boolean>;
495
- persistKey: PropTypes.Validator<string>;
496
- };
497
- };
498
- PaymentMethod: {
499
- permittedChildren: string[];
500
- displayName: string;
501
- propTypes: {
502
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
503
- };
504
- };
505
- PaymentMethodAmount: {
506
- displayName: string;
507
- propTypes: {
508
- id: PropTypes.Requireable<string>;
509
- className: PropTypes.Requireable<string>;
510
- style: PropTypes.Requireable<object>;
511
- name: PropTypes.Requireable<string>;
512
- children: PropTypes.Requireable<(...args: any[]) => any>;
513
- format: PropTypes.Requireable<BaseFormatPrice>;
514
- };
515
- defaultProps: {
516
- format: BaseFormatPrice;
517
- };
518
- };
519
- PaymentMethodName: {
520
- displayName: string;
521
- propTypes: {
522
- children: PropTypes.Requireable<(...args: any[]) => any>;
523
- };
524
- };
525
- PaymentMethodPrice: {
526
- displayName: string;
527
- propTypes: {
528
- type: PropTypes.Requireable<"amount">;
529
- id: PropTypes.Requireable<string>;
530
- className: PropTypes.Requireable<string>;
531
- style: PropTypes.Requireable<object>;
532
- name: PropTypes.Requireable<string>;
533
- children: PropTypes.Requireable<(...args: any[]) => any>;
534
- format: PropTypes.Requireable<BaseFormatPrice>;
535
- };
536
- };
537
- PaymentMethodRadioButton: {
538
- displayName: string;
539
- propTypes: {
540
- children: PropTypes.Requireable<(...args: any[]) => any>;
541
- };
542
- };
543
- PaymentMethodsContainer: {
544
- displayName: string;
545
- permittedChildren: string[];
546
- propTypes: {
547
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
548
- };
549
- };
550
- PaymentSource: {
551
- displayName: string;
552
- permittedChildren: string[];
553
- propTypes: {
554
- children: PropTypes.Requireable<import("react").ReactNode | (() => JSX.Element)>;
555
- readonly: PropTypes.Requireable<boolean>;
556
- };
557
- };
558
- PaymentSourceBrandIcon: {
559
- displayName: string;
560
- propTypes: {
561
- children: PropTypes.Requireable<(...args: any[]) => any>;
562
- width: PropTypes.Requireable<number>;
563
- height: PropTypes.Requireable<number>;
564
- src: PropTypes.Requireable<string>;
565
- className: PropTypes.Requireable<string>;
566
- };
567
- };
568
- PaymentSourceBrandName: {
569
- displayName: string;
570
- propTypes: {
571
- children: PropTypes.Requireable<(...args: any[]) => any>;
572
- label: PropTypes.Requireable<string>;
573
- };
574
- };
575
- PaymentSourceEditButton: {
576
- displayName: string;
577
- propTypes: {
578
- children: PropTypes.Requireable<(...args: any[]) => any>;
579
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
580
- };
581
- };
582
- PaymentSourceDetail: {
583
- displayName: string;
584
- propTypes: {
585
- type: PropTypes.Validator<NonNullable<PaymentSourceDetailType>>;
586
- };
587
- };
588
- PlaceOrderButton: {
589
- displayName: string;
590
- propTypes: {
591
- children: PropTypes.Requireable<(...args: any[]) => any>;
592
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
593
- };
594
- defaultProps: {
595
- label: string;
596
- };
597
- };
598
- PlaceOrderContainer: {
599
- displayName: string;
600
- permittedChildren: string[];
601
- propTypes: {
602
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
603
- };
604
- };
605
- Price: {
606
- displayName: string;
607
- propTypes: {
608
- children: PropTypes.Requireable<(...args: any[]) => any>;
609
- compareClassName: PropTypes.Requireable<string>;
610
- skuCode: PropTypes.Requireable<string>;
611
- showCompare: PropTypes.Requireable<boolean>;
612
- };
613
- defaultProps: {
614
- skuCode: string;
615
- };
616
- };
617
- PricesContainer: {
618
- permittedChildren: string[];
619
- displayName: string;
620
- propTypes: {
621
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
622
- skuCode: PropTypes.Requireable<string>;
623
- loader: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
624
- perPage: PropTypes.Requireable<number>;
625
- filters: PropTypes.Requireable<object>;
626
- };
627
- defaultProps: {
628
- perPage: number;
629
- filters: {};
630
- loader: string;
631
- skuCode: string;
632
- };
633
- };
634
- PrivacyAndTermsCheckbox: {
635
- displayName: string;
636
- propTypes: {
637
- children: PropTypes.Requireable<(...args: any[]) => any>;
638
- };
639
- };
640
- QuantitySelector: {
641
- displayName: string;
642
- propTypes: {
643
- children: PropTypes.Requireable<(...args: any[]) => any>;
644
- min: PropTypes.Requireable<number>;
645
- max: PropTypes.Requireable<number>;
646
- value: PropTypes.Requireable<string>;
647
- skuCode: PropTypes.Requireable<string>;
648
- disabled: PropTypes.Requireable<boolean>;
649
- };
650
- defaultProps: {
651
- min: number;
652
- };
653
- };
654
- SaveAddressesButton: {
655
- displayName: string;
656
- propTypes: {
657
- children: PropTypes.Requireable<(...args: any[]) => any>;
658
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
659
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
660
- disabled: PropTypes.Requireable<boolean>;
661
- };
662
- defaultProps: {
663
- label: string;
664
- };
665
- };
666
- Shipment: {
667
- permittedChildren: string[];
668
- displayName: string;
669
- propTypes: {
670
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
671
- };
672
- };
673
- ShipmentField: {
674
- displayName: string;
675
- propTypes: {
676
- children: PropTypes.Requireable<(...args: any[]) => any>;
677
- name: PropTypes.Validator<NonNullable<ShipmentAttribute>>;
678
- };
679
- };
680
- ShipmentsContainer: {
681
- displayName: string;
682
- permittedChildren: string[];
683
- propTypes: {
684
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
685
- };
686
- };
687
- ShippingAddressContainer: {
688
- permittedChildren: string[];
689
- propTypes: {
690
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
691
- };
692
- };
693
- SaveCustomerButton: {
694
- displayName: string;
695
- propTypes: {
696
- children: PropTypes.Requireable<(...args: any[]) => any>;
697
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
698
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
699
- };
700
- defaultProps: {
701
- label: string;
702
- };
703
- };
704
- ShippingAddressForm: {
705
- permittedChildren: string[];
706
- propTypes: {
707
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
708
- };
709
- };
710
- ShippingAmount: {
711
- displayName: string;
712
- propTypes: {
713
- id: PropTypes.Requireable<string>;
714
- className: PropTypes.Requireable<string>;
715
- style: PropTypes.Requireable<object>;
716
- name: PropTypes.Requireable<string>;
717
- children: PropTypes.Requireable<(...args: any[]) => any>;
718
- format: PropTypes.Requireable<BaseFormatPrice>;
719
- };
720
- };
721
- ShippingMethod: {
722
- permittedChildren: string[];
723
- displayName: string;
724
- propTypes: {
725
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
726
- readonly: PropTypes.Requireable<boolean>;
727
- };
728
- };
729
- ShippingMethodName: {
730
- displayName: string;
731
- propTypes: {
732
- children: PropTypes.Requireable<(...args: any[]) => any>;
733
- };
734
- };
735
- ShippingMethodRadioButton: {
736
- displayName: string;
737
- propTypes: {
738
- children: PropTypes.Requireable<(...args: any[]) => any>;
739
- };
740
- };
741
- ShippingMethodPrice: {
742
- displayName: string;
743
- propTypes: {
744
- type: PropTypes.Requireable<"amount">;
745
- id: PropTypes.Requireable<string>;
746
- className: PropTypes.Requireable<string>;
747
- style: PropTypes.Requireable<object>;
748
- name: PropTypes.Requireable<string>;
749
- children: PropTypes.Requireable<(...args: any[]) => any>;
750
- format: PropTypes.Requireable<BaseFormatPrice>;
751
- };
752
- defaultProps: {
753
- format: string;
754
- type: string;
755
- };
756
- };
757
- SkusContainer: {
758
- displayName: string;
759
- permittedChildren: string[];
760
- propTypes: {
761
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
762
- };
763
- };
764
- Skus: {
765
- displayName: string;
766
- permittedChildren: string[];
767
- propTypes: {
768
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
769
- };
770
- };
771
- SkuField: {
772
- displayName: string;
773
- propTypes: {
774
- children: PropTypes.Requireable<(...args: any[]) => any>;
775
- attribute: PropTypes.Requireable<string>;
776
- tagElement: PropTypes.Requireable<string>;
777
- };
778
- };
779
- SkuList: {
780
- permittedChildren: string[];
781
- displayName: string;
782
- propTypes: {
783
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
784
- id: PropTypes.Validator<string>;
785
- };
786
- };
787
- SkuListsContainer: {
788
- permittedChildren: string[];
789
- displayName: string;
790
- propTypes: {
791
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
792
- };
793
- };
794
- StockTransfer: {
795
- permittedChildren: string[];
796
- displayName: string;
797
- propTypes: {
798
- children: PropTypes.Validator<NonNullable<import("react").ReactNode | (() => JSX.Element)>>;
799
- };
800
- };
801
- StockTransferField: {
802
- displayName: string;
803
- propTypes: {
804
- children: PropTypes.Requireable<(...args: any[]) => any>;
805
- };
806
- };
807
- SubmitButton: {
808
- displayName: string;
809
- propTypes: {
810
- children: PropTypes.Requireable<(...args: any[]) => any>;
811
- label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
812
- };
813
- defaultProps: {
814
- label: string;
815
- };
816
- };
817
- SubTotalAmount: {
818
- displayName: string;
819
- propTypes: {
820
- id: PropTypes.Requireable<string>;
821
- className: PropTypes.Requireable<string>;
822
- style: PropTypes.Requireable<object>;
823
- name: PropTypes.Requireable<string>;
824
- children: PropTypes.Requireable<(...args: any[]) => any>;
825
- format: PropTypes.Requireable<BaseFormatPrice>;
826
- };
827
- defaultProps: {
828
- format: BaseFormatPrice;
829
- };
830
- };
831
- TaxesAmount: {
832
- displayName: string;
833
- propTypes: {
834
- id: PropTypes.Requireable<string>;
835
- className: PropTypes.Requireable<string>;
836
- style: PropTypes.Requireable<object>;
837
- name: PropTypes.Requireable<string>;
838
- children: PropTypes.Requireable<(...args: any[]) => any>;
839
- format: PropTypes.Requireable<BaseFormatPrice>;
840
- };
841
- defaultProps: {
842
- format: BaseFormatPrice;
843
- };
844
- };
845
- TotalAmount: {
846
- displayName: string;
847
- propTypes: {
848
- id: PropTypes.Requireable<string>;
849
- className: PropTypes.Requireable<string>;
850
- style: PropTypes.Requireable<object>;
851
- name: PropTypes.Requireable<string>;
852
- children: PropTypes.Requireable<(...args: any[]) => any>;
853
- format: PropTypes.Requireable<BaseFormatPrice>;
854
- };
855
- defaultProps: {
856
- format: BaseFormatPrice;
857
- };
858
- };
859
- };
860
- export default components;