@shoppexio/storefront-react 0.4.0 → 0.5.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 +8 -0
- package/dist/account.css +22 -0
- package/dist/account.js +2031 -294
- package/dist/account.js.map +1 -1
- package/dist/index.d.ts +108 -18
- package/dist/index.js +29 -5
- package/dist/index.js.map +1 -1
- package/eject/account/account-payment-method.ts +1 -0
- package/eject/account/account-subscriptions.ts +158 -6
- package/eject/account/buyer-invoice-status.ts +100 -0
- package/eject/account/downloads.tsx +45 -13
- package/eject/account/messages/ar.json +99 -14
- package/eject/account/messages/de.json +99 -14
- package/eject/account/messages/en.json +99 -14
- package/eject/account/messages/es.json +99 -14
- package/eject/account/messages/fi.json +99 -14
- package/eject/account/messages/fr.json +99 -14
- package/eject/account/messages/hi.json +99 -14
- package/eject/account/messages/it.json +99 -14
- package/eject/account/messages/lt.json +99 -14
- package/eject/account/messages/nl.json +99 -14
- package/eject/account/messages/pl.json +99 -14
- package/eject/account/messages/pt.json +99 -14
- package/eject/account/messages/ru.json +99 -14
- package/eject/account/messages/tr.json +99 -14
- package/eject/account/messages/uk.json +99 -14
- package/eject/account/messages/zh.json +99 -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 +324 -46
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
- 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`.
|
|
6
|
+
- 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.
|
|
7
|
+
- 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.
|
|
8
|
+
- 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.
|
|
9
|
+
- 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.
|
|
10
|
+
|
|
3
11
|
## 0.4.0
|
|
4
12
|
|
|
5
13
|
- 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
|
}
|