@faststore/core 3.45.0 → 3.47.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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +53 -53
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/4289.js +1 -1
- package/.next/server/chunks/4559.js +1 -1
- package/.next/server/chunks/5636.js +2 -2
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/account/orders/[id].js +1 -1
- package/.next/server/pages/api/graphql.js +2 -2
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/account/403.html +2 -2
- package/.next/server/pages/en-US/account/404.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/chunks/6335-1380989b5cc84425.js +1 -0
- package/.next/static/chunks/pages/{_app-1be58ebde3e0b964.js → _app-e5a4d3ef47f1b5c3.js} +1 -1
- package/.next/static/chunks/pages/account/orders/{[id]-8ab11c6c528911e9.js → [id]-987267efe897728e.js} +1 -1
- package/.next/static/chunks/{webpack-72d55466bef693ae.js → webpack-5eeb0e7a0a92b041.js} +1 -1
- package/.next/static/css/{ec42ef906960d09f.css → 25ded555cb9a704f.css} +1 -1
- package/.next/static/{iXgIvAYuYuXvEl83Xy7jT → qls88JfGKl9N9ILYbbCWR}/_buildManifest.js +1 -1
- package/.next/trace +129 -129
- package/.turbo/turbo-build.log +9 -9
- package/.turbo/turbo-test.log +5 -5
- package/@generated/gql.ts +6 -6
- package/@generated/graphql.ts +79 -602
- package/@generated/persisted-documents.json +3 -3
- package/@generated/schema.graphql +45 -2
- package/CHANGELOG.md +12 -0
- package/package.json +4 -4
- package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawer.tsx +1 -1
- package/src/components/account/MyAccountDrawer/OrganizationDrawer/section.module.scss +4 -0
- package/src/components/account/MyAccountDrawer/ProfileSummary/ProfileSummary.tsx +10 -8
- package/src/components/account/MyAccountDrawer/ProfileSummary/profile-summary.scss +40 -3
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +3 -2
- package/src/pages/account/orders/[id].tsx +30 -523
- package/src/pages/account/orders/index.tsx +0 -56
- package/src/sdk/session/index.ts +1 -0
- package/.next/static/chunks/6335-580edc7c2c0fb418.js +0 -1
- /package/.next/static/{iXgIvAYuYuXvEl83Xy7jT → qls88JfGKl9N9ILYbbCWR}/_ssgManifest.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"4b33c5c07f440dc7489e55619dc2211a13786e72": "fragment ServerCollectionPage on Query { collection(slug: $slug) { id } } query ServerCollectionPageQuery($slug: String!) { collection(slug: $slug) { breadcrumbList { itemListElement { item name position } } meta { selectedFacets { key value } } seo { description title } } ...ServerCollectionPage }",
|
|
3
3
|
"46103bee661405bde706d72126fdbf9b0a0c9e6e": "fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku unitMultiplier } fragment ProductDetailsFragment_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes seller { identifier } } } id: productID sku unitMultiplier ...CartProductItem } fragment ServerProduct on Query { product(locator: $locator) { id: productID } } query ServerProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { brand { name } breadcrumbList { itemListElement { item name position } } description gtin image { alternateName url } isVariantOf { productGroupID } name offers { highPrice lowPrice lowPriceWithTaxes offers { availability itemCondition price priceCurrency priceValidUntil seller { identifier } } priceCurrency } id: productID releaseDate seo { canonical description title } sku ...ProductDetailsFragment_product } ...ServerProduct }",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
4
|
+
"8b9b9c7703b0b9af12f47cb86dd3d2e8eb40c8fd": "query ServerOrderDetailsQuery($orderId: String!) { userOrder(orderId: $orderId) { allowCancellation clientProfileData { corporateName email firstName isCorporate lastName phone } customFields { fields { name refId value } id type } deliveryOptionsData { contact { email name phone } deliveryOptions { address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } deliveryChannel deliveryCompany deliveryWindow { endDateUtc price startDateUtc } friendlyDeliveryOptionName friendlyShippingEstimate items { id imageUrl name price quantity tax total } pickupStoreInfo { additionalInfo address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } dockId friendlyName isPickupStore } quantityOfDifferentItems selectedSla seller shippingEstimate shippingEstimateDate total } } orderId paymentData { transactions { isActive payments { bankIssuedInvoiceIdentificationNumber connectorResponses { authId } group id installments lastDigits paymentOrigin paymentSystemName redemptionCode referenceValue tid url value } } } status statusDescription storePreferencesData { currencyCode } totals { id name value } } }",
|
|
5
|
+
"9f48d9d4c1b6e6b32ac1f1c1b7b3819ac826dfe7": "query ServerListOrdersQuery($clientEmail: String, $dateFinal: String, $dateInitial: String, $page: Int, $perPage: Int, $status: [String], $text: String) { listUserOrders( page: $page perPage: $perPage status: $status dateInitial: $dateInitial dateFinal: $dateFinal text: $text clientEmail: $clientEmail ) { list { ShippingEstimatedDate clientName creationDate currencyCode items { description ean id price productId quantity refId seller sellingPrice } orderId status statusDescription totalValue } paging { currentPage pages perPage total } } }",
|
|
6
6
|
"e2b06da6840614d3c72768e56579b9d3b8e80802": "mutation CancelOrderMutation($data: IUserOrderCancel!) { cancelOrder(data: $data) { data } }",
|
|
7
7
|
"c2b3f8bff73ebf6ac79d758c66cabbc21ba9fcc0": "fragment CartItem on StoreOffer { itemOffered { ...CartProductItem } listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } fragment CartMessage on StoreCartMessage { status text } fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku unitMultiplier } mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) { validateCart(cart: $cart, session: $session) { messages { ...CartMessage } order { acceptedOffer { ...CartItem } orderNumber shouldSplitItem } } }",
|
|
8
8
|
"feb7005103a859e2bc8cf2360d568806fd88deba": "mutation SubscribeToNewsletter($data: IPersonNewsletter!) { subscribeToNewsletter(data: $data) { id } }",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"34ea14c0d4a57ddf9bc11e4be0cd2b5a6506d3d4": "query ClientProfileQuery($id: String!) { profile(id: $id) { addresses { city country geoCoordinate postalCode } } }",
|
|
15
15
|
"b548281d477a173be7b6960434604d69769a97e7": "fragment ClientSearchSuggestions on Query { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } } fragment ProductSummary_product on StoreProduct { additionalProperty { name propertyID value valueReference } advertisement { adId adResponseId } brand { brandName: name } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantsByName availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } } id: productID sku slug unitMultiplier } fragment SearchEvent_metadata on SearchMetadata { fuzzy isTermMisspelled logicalOperator } query ClientSearchSuggestionsQuery($selectedFacets: [IStoreSelectedFacet!], $term: String!) { search(first: 5, term: $term, selectedFacets: $selectedFacets) { metadata { ...SearchEvent_metadata } products { pageInfo { totalCount } } suggestions { products { ...ProductSummary_product } terms { value } } } ...ClientSearchSuggestions }",
|
|
16
16
|
"e2385b0f11726d0068f96548f57a8dd441c064e3": "fragment ClientTopSearchSuggestions on Query { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } } query ClientTopSearchSuggestionsQuery($selectedFacets: [IStoreSelectedFacet!], $term: String!) { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } ...ClientTopSearchSuggestions }",
|
|
17
|
-
"
|
|
17
|
+
"d8eac720a2de6a517384127a199e27a623653394": "mutation ValidateSession($search: String!, $session: IStoreSession!) { validateSession(session: $session, search: $search) { addressType b2b { corporateName customerId firstName isCorporate isRepresentative lastName unitId unitName userEmail userName } channel city country currency { code symbol } deliveryMode { deliveryChannel deliveryMethod deliveryWindow { endDate startDate } } geoCoordinates { latitude longitude } locale marketingData { utmCampaign utmMedium utmSource utmiCampaign utmiPage utmiPart } person { email familyName givenName id } postalCode } }",
|
|
18
18
|
"c35bad22f67f3eb34fea52bb49efa6b1da6b728d": "fragment ClientShippingSimulation on Query { shipping(items: $items, postalCode: $postalCode, country: $country) { address { city } } } query ClientShippingSimulationQuery($country: String!, $items: [IShippingItem!]!, $postalCode: String!) { shipping(items: $items, postalCode: $postalCode, country: $country) { address { city neighborhood state } logisticsInfo { slas { availableDeliveryWindows { endDateUtc listPrice price startDateUtc } carrier deliveryChannel localizedEstimates price shippingEstimate } } } ...ClientShippingSimulation }",
|
|
19
19
|
"5c2181dde311ca80b72e0cc76ac0855d8aa8b51e": "fragment ClientManyProducts on Query { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets sponsoredCount: $sponsoredCount ) { products { pageInfo { totalCount } } } } fragment ProductSummary_product on StoreProduct { additionalProperty { name propertyID value valueReference } advertisement { adId adResponseId } brand { brandName: name } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantsByName availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } } id: productID sku slug unitMultiplier } fragment SearchEvent_metadata on SearchMetadata { fuzzy isTermMisspelled logicalOperator } query ServerManyProductsQuery($after: String, $first: Int!, $selectedFacets: [IStoreSelectedFacet!]!, $sort: StoreSort!, $sponsoredCount: Int, $term: String!) { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets sponsoredCount: $sponsoredCount ) { metadata { ...SearchEvent_metadata } products { edges { node { ...ProductSummary_product } } pageInfo { totalCount } } } ...ClientManyProducts }"
|
|
20
20
|
}
|
|
@@ -690,7 +690,7 @@ type Query {
|
|
|
690
690
|
userOrder(
|
|
691
691
|
"""Identifier for the order."""
|
|
692
692
|
orderId: String!
|
|
693
|
-
):
|
|
693
|
+
): UserOrderResult @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
694
694
|
"""Returns information about the list of Orders that the User can view."""
|
|
695
695
|
listUserOrders(
|
|
696
696
|
"""Page number of the list of orders."""
|
|
@@ -707,7 +707,7 @@ type Query {
|
|
|
707
707
|
text: String
|
|
708
708
|
"""Client email used to filter of the list of orders."""
|
|
709
709
|
clientEmail: String
|
|
710
|
-
):
|
|
710
|
+
): UserOrderListMinimalResult @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
711
711
|
}
|
|
712
712
|
|
|
713
713
|
"""
|
|
@@ -887,6 +887,7 @@ type StoreB2B {
|
|
|
887
887
|
firstName: String
|
|
888
888
|
lastName: String
|
|
889
889
|
userName: String
|
|
890
|
+
userEmail: String
|
|
890
891
|
}
|
|
891
892
|
|
|
892
893
|
input IStoreB2B {
|
|
@@ -899,6 +900,7 @@ input IStoreB2B {
|
|
|
899
900
|
firstName: String
|
|
900
901
|
lastName: String
|
|
901
902
|
userName: String
|
|
903
|
+
userEmail: String
|
|
902
904
|
}
|
|
903
905
|
|
|
904
906
|
"""Session input."""
|
|
@@ -1273,6 +1275,22 @@ type UserOrder {
|
|
|
1273
1275
|
customFields: [UserOrderCustomFieldsGrouped]
|
|
1274
1276
|
}
|
|
1275
1277
|
|
|
1278
|
+
type UserOrderResult {
|
|
1279
|
+
orderId: String
|
|
1280
|
+
status: String
|
|
1281
|
+
statusDescription: String
|
|
1282
|
+
allowCancellation: Boolean
|
|
1283
|
+
storePreferencesData: UserOrderStorePreferencesData
|
|
1284
|
+
clientProfileData: UserOrderClientProfileData
|
|
1285
|
+
customData: UserOrderCustomData
|
|
1286
|
+
customFields: [UserOrderCustomFieldsGrouped]
|
|
1287
|
+
deliveryOptionsData: UserOrderDeliveryOptionsData
|
|
1288
|
+
paymentData: UserOrderPaymentData
|
|
1289
|
+
totals: [UserOrderTotals]
|
|
1290
|
+
shippingData: UserOrderShippingData
|
|
1291
|
+
items: [UserOrderItems]
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1276
1294
|
type UserOrderListResult {
|
|
1277
1295
|
list: [UserOrderFromList]
|
|
1278
1296
|
paging: UserOrderListPaging
|
|
@@ -1919,3 +1937,28 @@ type UserOrderCustomFieldsGrouped {
|
|
|
1919
1937
|
id: String
|
|
1920
1938
|
fields: [UserOrderCustomFieldField]
|
|
1921
1939
|
}
|
|
1940
|
+
|
|
1941
|
+
type UserOrderFromListCustomFields {
|
|
1942
|
+
costCenter: [String]
|
|
1943
|
+
poNumber: [String]
|
|
1944
|
+
release: [String]
|
|
1945
|
+
desktop: [String]
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
type UserOrderListMinimalResult {
|
|
1949
|
+
list: [UserOrderFromListMinimal]
|
|
1950
|
+
paging: UserOrderListPaging
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
type UserOrderFromListMinimal {
|
|
1954
|
+
orderId: String
|
|
1955
|
+
creationDate: String
|
|
1956
|
+
clientName: String
|
|
1957
|
+
items: [UserOrderItemsSummarized]
|
|
1958
|
+
totalValue: Float
|
|
1959
|
+
status: String
|
|
1960
|
+
statusDescription: String
|
|
1961
|
+
ShippingEstimatedDate: String
|
|
1962
|
+
customFields: UserOrderFromListCustomFields
|
|
1963
|
+
currencyCode: String
|
|
1964
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/vtex/faststore/compare/v3.46.0...v3.47.0) (2025-05-22)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- clean up GraphQL types and queries for user orders SFS-2516 ([#2858](https://github.com/vtex/faststore/issues/2858)) ([8ed42d5](https://github.com/vtex/faststore/commit/8ed42d590d0e0557f99ae1fc015f70d71a88a743))
|
|
11
|
+
|
|
12
|
+
# [3.46.0](https://github.com/vtex/faststore/compare/v3.45.0...v3.46.0) (2025-05-21)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- userEmail instead of roles in Drawer SFS-2514 ([#2853](https://github.com/vtex/faststore/issues/2853)) ([56f36ba](https://github.com/vtex/faststore/commit/56f36bab29c39b530f5ddc3e734077f69c682e4a))
|
|
17
|
+
|
|
6
18
|
# 3.45.0 (2025-05-20)
|
|
7
19
|
|
|
8
20
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.47.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"@envelop/graphql-jit": "^8.0.3",
|
|
45
45
|
"@envelop/parser-cache": "^6.0.2",
|
|
46
46
|
"@envelop/validation-cache": "^6.0.2",
|
|
47
|
-
"@faststore/api": "^3.
|
|
47
|
+
"@faststore/api": "^3.47.0",
|
|
48
48
|
"@faststore/graphql-utils": "^3.45.0",
|
|
49
49
|
"@faststore/lighthouse": "^3.45.0",
|
|
50
|
-
"@faststore/sdk": "^3.
|
|
50
|
+
"@faststore/sdk": "^3.46.0",
|
|
51
51
|
"@faststore/ui": "^3.45.0",
|
|
52
52
|
"@graphql-codegen/cli": "5.0.2",
|
|
53
53
|
"@graphql-codegen/client-preset": "4.2.6",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"ts-jest": "29.1.1",
|
|
106
106
|
"typescript": "5.3.2"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "5026c7c2ab6a0d45ea0f8fdfec0a2f740a33c69b"
|
|
109
109
|
}
|
|
@@ -11,13 +11,13 @@ export type ProfileSummaryProps = {
|
|
|
11
11
|
person: {
|
|
12
12
|
image?: ReactNode
|
|
13
13
|
name: string
|
|
14
|
-
|
|
14
|
+
email?: string
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export const ProfileSummary = ({
|
|
19
19
|
onLogoutClick,
|
|
20
|
-
person: { image, name,
|
|
20
|
+
person: { image, name, email },
|
|
21
21
|
orgName,
|
|
22
22
|
bordered = false,
|
|
23
23
|
showManageLink = false,
|
|
@@ -46,12 +46,14 @@ export const ProfileSummary = ({
|
|
|
46
46
|
)}
|
|
47
47
|
</div>
|
|
48
48
|
<div data-fs-profile-summary-person-actions>
|
|
49
|
-
<div data-fs-profile-summary-person-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<
|
|
54
|
-
|
|
49
|
+
<div data-fs-profile-summary-person-info>
|
|
50
|
+
<div data-fs-profile-summary-person-image>
|
|
51
|
+
{image ?? <Icon name="Profile" width={14} height={14} />}
|
|
52
|
+
</div>
|
|
53
|
+
<div data-fs-profile-summary-person-data>
|
|
54
|
+
<p data-fs-profile-summary-person-name>{name}</p>
|
|
55
|
+
{email && <p data-fs-profile-summary-person-email>{email}</p>}
|
|
56
|
+
</div>
|
|
55
57
|
</div>
|
|
56
58
|
<Button
|
|
57
59
|
data-fs-profile-summary-logout-button
|
|
@@ -43,37 +43,70 @@
|
|
|
43
43
|
|
|
44
44
|
[data-fs-profile-summary-person-actions] {
|
|
45
45
|
display: flex;
|
|
46
|
-
|
|
46
|
+
min-width: min-content;
|
|
47
47
|
padding: calc(var(--fs-spacing-3) + var(--fs-spacing-0));
|
|
48
48
|
|
|
49
|
+
@include media("<notebook") {
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@include media("<tablet") {
|
|
54
|
+
padding: calc(var(--fs-spacing-0) + var(--fs-spacing-0));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[data-fs-profile-summary-person-info] {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
|
|
61
|
+
@include media(">=notebook") {
|
|
62
|
+
width: 60%;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
49
66
|
[data-fs-profile-summary-person-image] {
|
|
50
67
|
display: flex;
|
|
51
68
|
align-items: center;
|
|
52
69
|
justify-content: center;
|
|
53
70
|
width: var(--fs-spacing-6);
|
|
71
|
+
min-width: var(--fs-spacing-6);
|
|
54
72
|
height: var(--fs-spacing-6);
|
|
55
73
|
margin-right: var(--fs-spacing-3);
|
|
56
74
|
overflow: hidden;
|
|
57
75
|
color: var(--fs-border-color-active);
|
|
58
76
|
background-color: #cbe9ff;
|
|
59
77
|
border-radius: var(--fs-border-radius-pill);
|
|
78
|
+
|
|
79
|
+
@include media("<=tablet") {
|
|
80
|
+
margin-right: var(--fs-spacing-1);
|
|
81
|
+
}
|
|
60
82
|
}
|
|
61
83
|
|
|
62
84
|
[data-fs-profile-summary-person-data] {
|
|
63
85
|
display: flex;
|
|
64
|
-
flex: 1;
|
|
65
86
|
flex-direction: column;
|
|
66
87
|
gap: var(--fs-spacing-0);
|
|
67
88
|
font-size: var(--fs-text-size-legend);
|
|
68
89
|
|
|
90
|
+
@include media(">=notebook") {
|
|
91
|
+
width: 75%;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@include media("<=tablet") {
|
|
95
|
+
font-size: var(--fs-text-size-tiny);
|
|
96
|
+
}
|
|
97
|
+
|
|
69
98
|
[data-fs-profile-summary-person-name] {
|
|
70
99
|
font-weight: var(--fs-text-weight-medium);
|
|
71
100
|
color: var(--fs-color-text);
|
|
72
101
|
}
|
|
73
102
|
|
|
74
|
-
[data-fs-profile-summary-person-
|
|
103
|
+
[data-fs-profile-summary-person-email] {
|
|
104
|
+
width: 100%;
|
|
105
|
+
overflow: hidden;
|
|
75
106
|
font-weight: var(--fs-text-weight-semibold);
|
|
76
107
|
color: var(--fs-color-text-light);
|
|
108
|
+
text-overflow: ellipsis;
|
|
109
|
+
white-space: nowrap;
|
|
77
110
|
}
|
|
78
111
|
}
|
|
79
112
|
|
|
@@ -86,6 +119,10 @@
|
|
|
86
119
|
color: var(--fs-color-danger-text);
|
|
87
120
|
border: var(--fs-border-width) solid var(--fs-border-color-light);
|
|
88
121
|
border-radius: var(--fs-border-radius-pill);
|
|
122
|
+
|
|
123
|
+
@include media("<=tablet") {
|
|
124
|
+
font-size: var(--fs-text-size-tiny);
|
|
125
|
+
}
|
|
89
126
|
}
|
|
90
127
|
}
|
|
91
128
|
}
|
|
@@ -35,7 +35,7 @@ export default function MyAccountOrderDetails({
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
const moreInformationCustomFields = order?.customFields
|
|
38
|
+
const moreInformationCustomFields = order?.customFields?.find(
|
|
39
39
|
(field) => field.type === 'order'
|
|
40
40
|
)?.fields
|
|
41
41
|
|
|
@@ -71,7 +71,8 @@ export default function MyAccountOrderDetails({
|
|
|
71
71
|
<MyAccountDeliveryCard
|
|
72
72
|
deliveryOptionsData={order.deliveryOptionsData}
|
|
73
73
|
fields={
|
|
74
|
-
order
|
|
74
|
+
order?.customFields?.find((field) => field.type === 'address')
|
|
75
|
+
?.fields || []
|
|
75
76
|
}
|
|
76
77
|
/>
|
|
77
78
|
<MyAccountStatusCard status={order.status as OrderStatusKey} />
|