@shoppexio/storefront-react 0.4.0 → 0.6.0
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.
- package/CHANGELOG.md +13 -0
- package/dist/account.css +22 -0
- package/dist/account.js +2311 -302
- package/dist/account.js.map +1 -1
- package/dist/index.d.ts +137 -18
- package/dist/index.js +29 -5
- package/dist/index.js.map +1 -1
- package/eject/account/account-payment-method.ts +7 -1
- package/eject/account/account-subscriptions.ts +162 -8
- package/eject/account/buyer-invoice-status.ts +100 -0
- package/eject/account/downloads.tsx +45 -13
- package/eject/account/messages/ar.json +114 -14
- package/eject/account/messages/de.json +114 -14
- package/eject/account/messages/en.json +114 -14
- package/eject/account/messages/es.json +114 -14
- package/eject/account/messages/fi.json +114 -14
- package/eject/account/messages/fr.json +114 -14
- package/eject/account/messages/hi.json +114 -14
- package/eject/account/messages/it.json +114 -14
- package/eject/account/messages/lt.json +114 -14
- package/eject/account/messages/nl.json +114 -14
- package/eject/account/messages/pl.json +114 -14
- package/eject/account/messages/pt.json +114 -14
- package/eject/account/messages/ru.json +114 -14
- package/eject/account/messages/tr.json +114 -14
- package/eject/account/messages/uk.json +114 -14
- package/eject/account/messages/zh.json +114 -14
- package/eject/account/orders.tsx +115 -41
- package/eject/account/reseller.tsx +3 -2
- package/eject/account/shared.tsx +21 -3
- package/eject/account/subscriptions.tsx +371 -49
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
- Subscriptions: a subscription with a running checkout code shows "CODE · payment 2 of 3 · full price from {date}" (or "every payment" for a forever code) from the dashboard's `discount`, and billing history marks each discounted payment. `SdkCustomerSubscription.discount` (`SdkCustomerSubscriptionDiscount`: code, type and value, cap, payments used and total, discounted, full, saved and next amount, in `currency`) is null without one and absent until the API that sends it is deployed. The plan-change sheet says the code ends with the change and what the new plan costs from the next renewal.
|
|
6
|
+
- Subscriptions: the detail's "Payment provider" shows the gateway's name ("PayPal F&F"), not the gateway key; `gatewayLabel` is the one map the order and the subscription read. An ejected account takes `subscriptions.tsx` and `account-payment-method.ts` from `eject/account` again.
|
|
7
|
+
|
|
8
|
+
## 0.5.0
|
|
9
|
+
|
|
10
|
+
- Account: every invoice chip (orders, overview, reseller orders, billing history) takes its word and tone from the shared buyer status table (`invoiceStatus.*`, 16 locales); the orders filter offers the table's groups and sends `statusGroup`.
|
|
11
|
+
- Account: billing rows show their kind and plan change and link to the order; the receipt follows the status table; signed-out and failed PDF errors are told apart, with a sign-in action; "nothing to download" and a waiting order in empty downloads.
|
|
12
|
+
- Account: an order waiting for stock shows the waiting notice, its lines read "Waiting", and a paid order's header reads "Paid {date}"; `order()` keeps `paidAt`; PayPal F&F shows as "PayPal F&F", not the gateway key.
|
|
13
|
+
- Subscriptions: "Ends" reads the dashboard's `ends_at` instead of `cancel_at_period_end`; on hold the row says "Pay by {hold_ends_at}" and lists the pause summary.
|
|
14
|
+
- Eject: the ejected account copies each contracts module it imports next to its importers, so an ejected project builds without workspace packages. An ejected account takes the `account` files and message catalogs from `eject/account` again.
|
|
15
|
+
|
|
3
16
|
## 0.4.0
|
|
4
17
|
|
|
5
18
|
- Account: adding funds, changing a card and handing out reseller keys move to
|
package/dist/account.css
CHANGED
|
@@ -296,6 +296,10 @@
|
|
|
296
296
|
resize: none;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
+
.sxa\:list-disc {
|
|
300
|
+
list-style-type: disc;
|
|
301
|
+
}
|
|
302
|
+
|
|
299
303
|
.sxa\:appearance-none {
|
|
300
304
|
appearance: none;
|
|
301
305
|
}
|
|
@@ -364,6 +368,12 @@
|
|
|
364
368
|
gap: calc(var(--sxa-spacing) * 4);
|
|
365
369
|
}
|
|
366
370
|
|
|
371
|
+
:where(.sxa\:space-y-1 > :not(:last-child)) {
|
|
372
|
+
--tw-space-y-reverse: 0;
|
|
373
|
+
margin-block-start: calc(calc(var(--sxa-spacing) * 1) * var(--tw-space-y-reverse));
|
|
374
|
+
margin-block-end: calc(calc(var(--sxa-spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
|
|
375
|
+
}
|
|
376
|
+
|
|
367
377
|
:where(.sxa\:space-y-1\.5 > :not(:last-child)) {
|
|
368
378
|
--tw-space-y-reverse: 0;
|
|
369
379
|
margin-block-start: calc(calc(var(--sxa-spacing) * 1.5) * var(--tw-space-y-reverse));
|
|
@@ -567,6 +577,10 @@
|
|
|
567
577
|
padding-left: calc(var(--sxa-spacing) * 4);
|
|
568
578
|
}
|
|
569
579
|
|
|
580
|
+
.sxa\:pl-5 {
|
|
581
|
+
padding-left: calc(var(--sxa-spacing) * 5);
|
|
582
|
+
}
|
|
583
|
+
|
|
570
584
|
.sxa\:text-center {
|
|
571
585
|
text-align: center;
|
|
572
586
|
}
|
|
@@ -805,6 +819,14 @@
|
|
|
805
819
|
flex-direction: row;
|
|
806
820
|
}
|
|
807
821
|
|
|
822
|
+
.sxa\:sm\:items-center {
|
|
823
|
+
align-items: center;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.sxa\:sm\:gap-3 {
|
|
827
|
+
gap: calc(var(--sxa-spacing) * 3);
|
|
828
|
+
}
|
|
829
|
+
|
|
808
830
|
.sxa\:sm\:px-8 {
|
|
809
831
|
padding-inline: calc(var(--sxa-spacing) * 8);
|
|
810
832
|
}
|