@faststore/core 3.95.0 → 3.96.0-dev.17

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 (110) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +54 -54
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/prerender-manifest.js +1 -1
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/react-loadable-manifest.json +12 -12
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/7098.js +1 -1
  14. package/.next/server/chunks/948.js +1 -1
  15. package/.next/server/chunks/9563.js +3 -3
  16. package/.next/server/chunks/9630.js +7 -7
  17. package/.next/server/functions-config-manifest.json +1 -1
  18. package/.next/server/middleware-build-manifest.js +1 -1
  19. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  20. package/.next/server/pages/[...slug].js +1 -1
  21. package/.next/server/pages/[slug]/p.js +1 -1
  22. package/.next/server/pages/api/graphql.js +3 -3
  23. package/.next/server/pages/en-US/404.html +1 -1
  24. package/.next/server/pages/en-US/500.html +1 -1
  25. package/.next/server/pages/en-US/checkout.html +1 -1
  26. package/.next/server/pages/en-US/login.html +1 -1
  27. package/.next/server/pages/en-US/s.html +1 -1
  28. package/.next/server/pages/en-US.html +1 -1
  29. package/.next/server/pages/en-US.json +1 -1
  30. package/.next/server/pages/pvt/account/orders/[id].js +1 -1
  31. package/.next/server/pages/s.js +1 -1
  32. package/.next/server/pages-manifest.json +1 -1
  33. package/.next/static/Yo88n9O6FrhtIc3GGfGv9/_buildManifest.js +1 -0
  34. package/.next/static/chunks/{1841.b3a98a2a1886b09c.js → 1841.a1b15f2c88e02d32.js} +1 -1
  35. package/.next/static/chunks/{2500.d6beb5af6ee00a9e.js → 2500.b188ad84b5a0a521.js} +1 -1
  36. package/.next/static/chunks/{2927.23bae2c79f0ac0f3.js → 2927.5a79877943a6bf7c.js} +1 -1
  37. package/.next/static/chunks/{7191-5aa417081c97d46a.js → 7191-e43007cdde83bc1f.js} +1 -1
  38. package/.next/static/chunks/{9173-49a05f6f96710bd1.js → 9173-2ed920b87ee6640e.js} +1 -1
  39. package/.next/static/chunks/{UIToast.de15325248043ce5.js → UIToast.19a8664c01a00d3a.js} +1 -1
  40. package/.next/static/chunks/pages/{404-4b3f1e22c77f849a.js → 404-f04d51a89ab8e8c8.js} +1 -1
  41. package/.next/static/chunks/pages/{500-bb2de0c11524b2b8.js → 500-b3cd1219951eb7d1.js} +1 -1
  42. package/.next/static/chunks/pages/{[...slug]-3579b3b8b8309552.js → [...slug]-28b3f75a1b2b22b8.js} +1 -1
  43. package/.next/static/chunks/pages/[slug]/{p-cf620759e25940f8.js → p-f3b7653e4bd1ba57.js} +1 -1
  44. package/.next/static/chunks/pages/{_app-8e3a3eccc99a6f96.js → _app-38f75642a57fe506.js} +1 -1
  45. package/.next/static/chunks/pages/{checkout-dc07d72b3514c83d.js → checkout-9a253c6c2498d41f.js} +1 -1
  46. package/.next/static/chunks/pages/{index-1f8bf0fb351b90f4.js → index-f522924c892c46dd.js} +1 -1
  47. package/.next/static/chunks/pages/{login-e97ef92769456bf6.js → login-1d364797aaa9da36.js} +1 -1
  48. package/.next/static/chunks/pages/pvt/account/{403-91597100f8956385.js → 403-2105ed93b3e3e58e.js} +1 -1
  49. package/.next/static/chunks/pages/pvt/account/{404-c68124bed7cb7c48.js → 404-2e555481b1a4f63b.js} +1 -1
  50. package/.next/static/chunks/pages/pvt/account/orders/{[id]-68bbe8db444fd60a.js → [id]-2bd9adec59ae1ed3.js} +1 -1
  51. package/.next/static/chunks/pages/pvt/account/{orders-12a215899ae6f3eb.js → orders-4d66173a6e6282a1.js} +1 -1
  52. package/.next/static/chunks/pages/pvt/account/{profile-b6cdbf02d4682544.js → profile-1799ddf1749086aa.js} +1 -1
  53. package/.next/static/chunks/pages/pvt/account/{security-e6289a40e745d3c4.js → security-f2734d61da9099db.js} +1 -1
  54. package/.next/static/chunks/pages/pvt/account/{user-details-fba1822e52e7de26.js → user-details-c8636b99b6725815.js} +1 -1
  55. package/.next/static/chunks/pages/{s-41cffb20de1d2617.js → s-603fab8b09726274.js} +1 -1
  56. package/.next/static/chunks/{webpack-96e371f26b822ac6.js → webpack-3cd689c2fd3d4dd1.js} +1 -1
  57. package/.next/trace +138 -138
  58. package/.turbo/turbo-build.log +17 -17
  59. package/.turbo/turbo-test.log +8 -8
  60. package/@generated/gql.ts +2 -2
  61. package/@generated/graphql.ts +6 -1
  62. package/@generated/persisted-documents.json +1 -1
  63. package/@generated/schema.graphql +3 -0
  64. package/CHANGELOG.md +86 -0
  65. package/cms/faststore/base.jsonc +42 -0
  66. package/cms/faststore/components/cms_component__alert.jsonc +40 -0
  67. package/cms/faststore/components/cms_component__bannernewsletter.jsonc +183 -0
  68. package/cms/faststore/components/cms_component__bannertext.jsonc +51 -0
  69. package/cms/faststore/components/cms_component__breadcrumb.jsonc +21 -0
  70. package/cms/faststore/components/cms_component__cartsidebar.jsonc +122 -0
  71. package/cms/faststore/components/cms_component__children.jsonc +8 -0
  72. package/cms/faststore/components/cms_component__crosssellingshelf.jsonc +50 -0
  73. package/cms/faststore/components/cms_component__emptystate.jsonc +73 -0
  74. package/cms/faststore/components/cms_component__footer.jsonc +238 -0
  75. package/cms/faststore/components/cms_component__hero.jsonc +71 -0
  76. package/cms/faststore/components/cms_component__incentives.jsonc +51 -0
  77. package/cms/faststore/components/cms_component__navbar.jsonc +318 -0
  78. package/cms/faststore/components/cms_component__newsletter.jsonc +133 -0
  79. package/cms/faststore/components/cms_component__productdetails.jsonc +246 -0
  80. package/cms/faststore/components/cms_component__productgallery.jsonc +312 -0
  81. package/cms/faststore/components/cms_component__productshelf.jsonc +117 -0
  82. package/cms/faststore/components/cms_component__producttiles.jsonc +95 -0
  83. package/cms/faststore/components/cms_component__regionbar.jsonc +58 -0
  84. package/cms/faststore/components/cms_component__regionmodal.jsonc +85 -0
  85. package/cms/faststore/components/cms_component__regionpopover.jsonc +97 -0
  86. package/cms/faststore/components/cms_component__search.jsonc +144 -0
  87. package/cms/faststore/pages/cms_content_type__404.jsonc +18 -0
  88. package/cms/faststore/pages/cms_content_type__500.jsonc +18 -0
  89. package/cms/faststore/pages/cms_content_type__globalfootersections.jsonc +73 -0
  90. package/cms/faststore/pages/cms_content_type__globalheadersections.jsonc +73 -0
  91. package/cms/faststore/pages/cms_content_type__globalsections.jsonc +375 -0
  92. package/cms/faststore/pages/cms_content_type__home.jsonc +213 -0
  93. package/cms/faststore/pages/cms_content_type__landingpage.jsonc +108 -0
  94. package/cms/faststore/pages/cms_content_type__login.jsonc +18 -0
  95. package/cms/faststore/pages/cms_content_type__pdp.jsonc +115 -0
  96. package/cms/faststore/pages/cms_content_type__plp.jsonc +130 -0
  97. package/cms/faststore/pages/cms_content_type__search.jsonc +118 -0
  98. package/cms/faststore/schema.json +3859 -0
  99. package/cms/faststore/sections.json +2 -2
  100. package/package.json +15 -8
  101. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordion.tsx +18 -15
  102. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +9 -3
  103. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/MyAccountSummaryCard.tsx +0 -1
  104. package/src/pages/api/graphql.ts +26 -5
  105. package/src/pages/pvt/account/orders/[id].tsx +2 -0
  106. package/src/sdk/graphql/request.ts +10 -1
  107. package/src/utils/cookieCacheBusting.ts +141 -0
  108. package/test/utils/cookieCacheBusting.test.ts +121 -0
  109. package/.next/static/n8Y8ofpptOjFUsgm9BTVP/_buildManifest.js +0 -1
  110. /package/.next/static/{n8Y8ofpptOjFUsgm9BTVP → Yo88n9O6FrhtIc3GGfGv9}/_ssgManifest.js +0 -0
@@ -1,23 +1,23 @@
1
1
 
2
- > @faststore/core@3.95.0-dev.2 prebuild /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@3.96.0-dev.16 prebuild /home/runner/work/faststore/faststore/packages/core
3
3
  > na run partytown && na run generate
4
4
 
5
5
 
6
- > @faststore/core@3.95.0-dev.2 partytown /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@3.96.0-dev.16 partytown /home/runner/work/faststore/faststore/packages/core
7
7
  > partytown copylib ./public/~partytown
8
8
 
9
9
  Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
10
10
 
11
- > @faststore/core@3.95.0-dev.2 generate /home/runner/work/faststore/faststore/packages/core
11
+ > @faststore/core@3.96.0-dev.16 generate /home/runner/work/faststore/faststore/packages/core
12
12
  > na run generate:schema && na run generate:codegen && na run format:generated
13
13
 
14
14
 
15
- > @faststore/core@3.95.0-dev.2 generate:schema /home/runner/work/faststore/faststore/packages/core
15
+ > @faststore/core@3.96.0-dev.16 generate:schema /home/runner/work/faststore/faststore/packages/core
16
16
  > tsx src/server/generator/generateGraphQLSchemaFile.ts
17
17
 
18
18
  Schema GraphQL file generated successfully
19
19
 
20
- > @faststore/core@3.95.0-dev.2 generate:codegen /home/runner/work/faststore/faststore/packages/core
20
+ > @faststore/core@3.96.0-dev.16 generate:codegen /home/runner/work/faststore/faststore/packages/core
21
21
  > graphql-codegen
22
22
 
23
23
  [STARTED] Parse Configuration
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
37
37
  [CLI] Loading Documents
38
38
  [CLI] Generating output
39
39
 
40
- > @faststore/core@3.95.0-dev.2 format:generated /home/runner/work/faststore/faststore/packages/core
40
+ > @faststore/core@3.96.0-dev.16 format:generated /home/runner/work/faststore/faststore/packages/core
41
41
  > prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
42
42
 
43
43
 
44
- > @faststore/core@3.95.0-dev.2 build /home/runner/work/faststore/faststore/packages/core
44
+ > @faststore/core@3.96.0-dev.16 build /home/runner/work/faststore/faststore/packages/core
45
45
  > next build
46
46
 
47
47
  ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
@@ -88,42 +88,42 @@ Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Cont
88
88
  Collecting build traces ...
89
89
 
90
90
  Route (pages) Size First Load JS
91
- ┌ ● / 7.39 kB 146 kB
91
+ ┌ ● / 7.4 kB 147 kB
92
92
  ├ └ css/02259c549b2179f2.css 3.1 kB
93
93
  ├ /_app 0 B 108 kB
94
94
  ├ ● /[...slug] 2.55 kB 157 kB
95
95
  ├ ● /[slug]/p 98.1 kB 237 kB
96
96
  ├ └ css/a6a4ebbe01adbbad.css 22.2 kB
97
- ├ ○ /404 1.57 kB 141 kB
97
+ ├ ○ /404 1.58 kB 141 kB
98
98
  ├ ● /500 1.57 kB 141 kB
99
99
  ├ λ /api/graphql 0 B 108 kB
100
100
  ├ λ /api/health/live 0 B 108 kB
101
101
  ├ λ /api/health/ready 0 B 108 kB
102
102
  ├ λ /api/preview 0 B 108 kB
103
- ├ ● /checkout 749 B 140 kB
103
+ ├ ● /checkout 750 B 140 kB
104
104
  ├ ● /login 1.7 kB 141 kB
105
105
  ├ λ /pvt/account 247 B 108 kB
106
- ├ ● /pvt/account/[...unknown] 287 B 108 kB
106
+ ├ ● /pvt/account/[...unknown] 287 B 109 kB
107
107
  ├ λ /pvt/account/403 2.98 kB 142 kB
108
108
  ├ └ css/0fae3d432331aae9.css 4.68 kB
109
- ├ λ /pvt/account/404 2.18 kB 141 kB
109
+ ├ λ /pvt/account/404 2.18 kB 142 kB
110
110
  ├ └ css/0fc6b2ff69142c6a.css 4.74 kB
111
- ├ λ /pvt/account/orders 9.78 kB 149 kB
111
+ ├ λ /pvt/account/orders 9.79 kB 149 kB
112
112
  ├ └ css/40a294d0a24ad01d.css 14.1 kB
113
113
  ├ λ /pvt/account/orders/[id] 12.1 kB 151 kB
114
114
  ├ └ css/5eecefd2c6deeee4.css 13.3 kB
115
- ├ λ /pvt/account/profile 1.98 kB 141 kB
115
+ ├ λ /pvt/account/profile 1.99 kB 141 kB
116
116
  ├ └ css/47f1b4e8de15d314.css 4.42 kB
117
117
  ├ λ /pvt/account/security 3.96 kB 143 kB
118
118
  ├ └ css/973dd40d4773e8cd.css 5.74 kB
119
119
  ├ λ /pvt/account/user-details 1.91 kB 141 kB
120
120
  ├ └ css/05c399956ff24b77.css 4.54 kB
121
- └ ● /s 3.36 kB 157 kB
121
+ └ ● /s 3.36 kB 158 kB
122
122
  + First Load JS shared by all 112 kB
123
123
  ├ chunks/framework-d514426edf885c68.js 45.4 kB
124
124
  ├ chunks/main-ec03882c4375091d.js 33.2 kB
125
- ├ chunks/pages/_app-8e3a3eccc99a6f96.js 25.5 kB
126
- ├ chunks/webpack-96e371f26b822ac6.js 3.85 kB
125
+ ├ chunks/pages/_app-38f75642a57fe506.js 25.8 kB
126
+ ├ chunks/webpack-3cd689c2fd3d4dd1.js 3.85 kB
127
127
  └ css/0f070d03aacd9cc5.css 3.57 kB
128
128
 
129
129
  λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
@@ -1,15 +1,15 @@
1
1
 
2
- > @faststore/core@3.95.0-dev.2 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@3.96.0-dev.16 test /home/runner/work/faststore/faststore/packages/core
3
3
  > jest
4
4
 
5
- PASS test/utils/multipleTemplates.test.ts (27.131 s)
6
- PASS test/server/cms/global.test.ts (27.041 s)
5
+ PASS test/utils/multipleTemplates.test.ts (22.199 s)
6
+ PASS test/server/cms/global.test.ts
7
+ PASS test/utils/cookieCacheBusting.test.ts (21.581 s)
7
8
  PASS test/server/cms/index.test.ts
8
- PASS test/server/index.test.ts (31.234 s)
9
- A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
9
+ PASS test/server/index.test.ts (25.466 s)
10
10
 
11
- Test Suites: 4 passed, 4 total
12
- Tests: 22 passed, 22 total
11
+ Test Suites: 5 passed, 5 total
12
+ Tests: 27 passed, 27 total
13
13
  Snapshots: 0 total
14
- Time: 32.595 s
14
+ Time: 26.467 s
15
15
  Ran all test suites.
package/@generated/gql.ts CHANGED
@@ -46,7 +46,7 @@ const documents = {
46
46
  types.ServerProductQueryDocument,
47
47
  '\n fragment UserOrderItemsFragment on UserOrderItems {\n id\n name\n quantity\n sellingPrice\n unitMultiplier\n measurementUnit\n imageUrl\n detailUrl\n refId\n rewardValue\n }\n':
48
48
  types.UserOrderItemsFragmentFragmentDoc,
49
- '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n':
49
+ '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n sellingPrice\n imageUrl\n tax\n taxPriceTagsTotal\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n':
50
50
  types.ServerOrderDetailsQueryDocument,
51
51
  '\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String, $pendingMyApproval: Boolean) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail, pendingMyApproval: $pendingMyApproval) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n accountProfile {\n name\n }\n }\n':
52
52
  types.ServerListOrdersQueryDocument,
@@ -200,7 +200,7 @@ export function gql(
200
200
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
201
201
  */
202
202
  export function gql(
203
- source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n'
203
+ source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n sellingPrice\n imageUrl\n tax\n taxPriceTagsTotal\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n'
204
204
  ): typeof import('./graphql').ServerOrderDetailsQueryDocument
205
205
  /**
206
206
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
@@ -1911,7 +1911,10 @@ export type UserOrderDeliveryOptionsItems = {
1911
1911
  name: Maybe<Scalars['String']['output']>
1912
1912
  price: Maybe<Scalars['Float']['output']>
1913
1913
  quantity: Maybe<Scalars['Int']['output']>
1914
+ sellingPrice: Maybe<Scalars['Float']['output']>
1914
1915
  tax: Maybe<Scalars['Float']['output']>
1916
+ taxPriceTags: Maybe<Array<Maybe<UserOrderPriceTag>>>
1917
+ taxPriceTagsTotal: Maybe<Scalars['Float']['output']>
1915
1918
  total: Maybe<Scalars['Float']['output']>
1916
1919
  uniqueId: Maybe<Scalars['String']['output']>
1917
1920
  }
@@ -2872,8 +2875,10 @@ export type ServerOrderDetailsQueryQuery = {
2872
2875
  name: string | null
2873
2876
  quantity: number | null
2874
2877
  price: number | null
2878
+ sellingPrice: number | null
2875
2879
  imageUrl: string | null
2876
2880
  tax: number | null
2881
+ taxPriceTagsTotal: number | null
2877
2882
  total: number | null
2878
2883
  } | null> | null
2879
2884
  } | null> | null
@@ -4322,7 +4327,7 @@ export const ServerProductQueryDocument = {
4322
4327
  export const ServerOrderDetailsQueryDocument = {
4323
4328
  __meta__: {
4324
4329
  operationName: 'ServerOrderDetailsQuery',
4325
- operationHash: '7937ec2d330f0f6f68f3aab589f10bc96c6ddeea',
4330
+ operationHash: 'a9c4099d622ef84c92396e2ca938ee4df4f45dce',
4326
4331
  },
4327
4332
  } as unknown as TypedDocumentString<
4328
4333
  ServerOrderDetailsQueryQuery,
@@ -2,7 +2,7 @@
2
2
  "9baae331b75848a310fecb457e8c971ae27897ff": "query ServerAccountPageQuery { accountProfile { name } }",
3
3
  "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 }",
4
4
  "e855903879c6504e90269e6e010549bc6de933eb": "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 allVariantProducts { name productID } 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 }",
5
- "7937ec2d330f0f6f68f3aab589f10bc96c6ddeea": "query ServerOrderDetailsQuery($orderId: String!) { accountProfile { name } userOrder(orderId: $orderId) { allowCancellation canProcessOrderAuthorization clientProfileData { corporateName email firstName isCorporate lastName phone } creationDate 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 uniqueId } 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 } } } ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } shopper { email firstName lastName phone } status statusDescription storePreferencesData { currencyCode } totals { id name value } } }",
5
+ "a9c4099d622ef84c92396e2ca938ee4df4f45dce": "query ServerOrderDetailsQuery($orderId: String!) { accountProfile { name } userOrder(orderId: $orderId) { allowCancellation canProcessOrderAuthorization clientProfileData { corporateName email firstName isCorporate lastName phone } creationDate 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 sellingPrice tax taxPriceTagsTotal total uniqueId } 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 } } } ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } shopper { email firstName lastName phone } status statusDescription storePreferencesData { currencyCode } totals { id name value } } }",
6
6
  "70d06de1da9c11f10ebde31b66fd74eccd456af5": "query ServerListOrdersQuery($clientEmail: String, $dateFinal: String, $dateInitial: String, $page: Int, $pendingMyApproval: Boolean, $perPage: Int, $status: [String], $text: String) { accountProfile { name } listUserOrders( page: $page perPage: $perPage status: $status dateInitial: $dateInitial dateFinal: $dateFinal text: $text clientEmail: $clientEmail pendingMyApproval: $pendingMyApproval ) { list { ShippingEstimatedDate clientName creationDate currencyCode customFields { type value } items { description ean id price productId quantity refId seller sellingPrice } orderId status statusDescription totalValue } paging { currentPage pages perPage total } } }",
7
7
  "672fe0f00b7b710b63fc6573c0a6b2ec54812b8f": "query ServerProfileQuery { accountProfile { email id name } }",
8
8
  "0890ba3456c40a426893b80b698df7a84cfdd6a1": "query ServerSecurity { accountProfile { name } userDetails { email } }",
@@ -2280,8 +2280,11 @@ type UserOrderDeliveryOptionsItems {
2280
2280
  name: String
2281
2281
  quantity: Int
2282
2282
  price: Float
2283
+ sellingPrice: Float
2283
2284
  imageUrl: String
2284
2285
  tax: Float
2286
+ taxPriceTags: [UserOrderPriceTag]
2287
+ taxPriceTagsTotal: Float
2285
2288
  total: Float
2286
2289
  }
2287
2290
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,92 @@
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.96.0-dev.17 (2025-12-23)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
10
+ # [3.96.0-dev.16](https://github.com/vtex/faststore/compare/v3.96.0-dev.15...v3.96.0-dev.16) (2025-12-23)
11
+
12
+ **Note:** Version bump only for package @faststore/core
13
+
14
+ # [3.96.0-dev.15](https://github.com/vtex/faststore/compare/v3.96.0-dev.14...v3.96.0-dev.15) (2025-12-23)
15
+
16
+ **Note:** Version bump only for package @faststore/core
17
+
18
+ # [3.96.0-dev.14](https://github.com/vtex/faststore/compare/v3.96.0-dev.13...v3.96.0-dev.14) (2025-12-23)
19
+
20
+ **Note:** Version bump only for package @faststore/core
21
+
22
+ # [3.96.0-dev.13](https://github.com/vtex/faststore/compare/v3.96.0-dev.12...v3.96.0-dev.13) (2025-12-23)
23
+
24
+ **Note:** Version bump only for package @faststore/core
25
+
26
+ # [3.96.0-dev.12](https://github.com/vtex/faststore/compare/v3.96.0-dev.11...v3.96.0-dev.12) (2025-12-23)
27
+
28
+ **Note:** Version bump only for package @faststore/core
29
+
30
+ # 3.96.0-dev.11 (2025-12-23)
31
+
32
+ ### Bug Fixes
33
+
34
+ - correct comment for platform specific config in discovery configuration ([0fea6fa](https://github.com/vtex/faststore/commit/0fea6faf812c0f0af3f139b6507b2f342264209c))
35
+
36
+ # 3.96.0-dev.10 (2025-12-23)
37
+
38
+ **Note:** Version bump only for package @faststore/core
39
+
40
+ # [3.96.0-dev.9](https://github.com/vtex/faststore/compare/v3.96.0-dev.8...v3.96.0-dev.9) (2025-12-23)
41
+
42
+ **Note:** Version bump only for package @faststore/core
43
+
44
+ # [3.96.0-dev.8](https://github.com/vtex/faststore/compare/v3.96.0-dev.7...v3.96.0-dev.8) (2025-12-23)
45
+
46
+ **Note:** Version bump only for package @faststore/core
47
+
48
+ # 3.96.0-dev.7 (2025-12-23)
49
+
50
+ ### Bug Fixes
51
+
52
+ - correct comment for platform specific API configuration in discovery config ([b03968c](https://github.com/vtex/faststore/commit/b03968c84cfb935b71ef64f575dcdf3e8f624b5a))
53
+
54
+ # 3.96.0-dev.6 (2025-12-23)
55
+
56
+ **Note:** Version bump only for package @faststore/core
57
+
58
+ # 3.96.0-dev.5 (2025-12-23)
59
+
60
+ ### Features
61
+
62
+ - Trigger build ([28b6ec0](https://github.com/vtex/faststore/commit/28b6ec0489080be0a3431ec2ead7bfce0da75a34))
63
+
64
+ # 3.96.0-dev.4 (2025-12-23)
65
+
66
+ **Note:** Version bump only for package @faststore/core
67
+
68
+ # [3.96.0-dev.3](https://github.com/vtex/faststore/compare/v3.96.0-dev.2...v3.96.0-dev.3) (2025-12-22)
69
+
70
+ **Note:** Version bump only for package @faststore/core
71
+
72
+ # [3.96.0-dev.2](https://github.com/vtex/faststore/compare/v3.96.0-dev.1...v3.96.0-dev.2) (2025-12-18)
73
+
74
+ ### Bug Fixes
75
+
76
+ - adds cache busting to bypass cache when logged in/out. ([#3152](https://github.com/vtex/faststore/issues/3152)) ([862ea50](https://github.com/vtex/faststore/commit/862ea50999214771c4fa38fa70db789b4de5e59b))
77
+
78
+ # [3.96.0-dev.1](https://github.com/vtex/faststore/compare/v3.96.0-dev.0...v3.96.0-dev.1) (2025-12-16)
79
+
80
+ **Note:** Version bump only for package @faststore/core
81
+
82
+ # [3.96.0-dev.0](https://github.com/vtex/faststore/compare/v3.95.1-dev.0...v3.96.0-dev.0) (2025-12-10)
83
+
84
+ ### Features
85
+
86
+ - adds `priceTags` as tax - SFS-2970 ([#3144](https://github.com/vtex/faststore/issues/3144)) ([d1b3869](https://github.com/vtex/faststore/commit/d1b38699f2955890be1759e1d6d6cf55e1c4dda9))
87
+
88
+ ## [3.95.1-dev.0](https://github.com/vtex/faststore/compare/v3.95.0...v3.95.1-dev.0) (2025-12-02)
89
+
90
+ **Note:** Version bump only for package @faststore/core
91
+
6
92
  # 3.95.0 (2025-12-02)
7
93
 
8
94
  ### Features
@@ -0,0 +1,42 @@
1
+ {
2
+ // This should be automatically updated and point to Schema Registry.
3
+ "$id": "https://vtex.vtexcommercestable.com.br/api/content-platform/schemas/vtex/faststore",
4
+ "title": "FastStore Schema",
5
+ "description": "Collection of default schemas for FastStore.",
6
+ // Default components available in FastStore can be added here.
7
+ "components": {},
8
+ // Default content-types available in FastStore can be added here.
9
+ "content-types": {},
10
+ "$defs": {
11
+ // Base schema for all components.
12
+ // Every component schema must extend this base schema.
13
+ "base-component": {
14
+ "type": "object",
15
+ "required": ["$componentKey", "$componentTitle"],
16
+ "properties": {
17
+ "$componentKey": {
18
+ "type": "string",
19
+ "description": "Unique identifier for the component"
20
+ },
21
+ "$componentTitle": {
22
+ "type": "string",
23
+ "description": "Display title for the component"
24
+ }
25
+ }
26
+ },
27
+ "base-page-template": {
28
+ "type": "object",
29
+ "properties": {
30
+ "sections": {
31
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
32
+ }
33
+ }
34
+ },
35
+ // DO NOT modify this property directly!!!.
36
+ // This is a special property that allows all components to be used in
37
+ // the `sections` property of a content-type.
38
+ // Its content will be generated before this schema is sent to
39
+ // the Schema Registry.
40
+ "$ALLOW_ALL_COMPONENTS": {}
41
+ }
42
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "$extends": ["#/$defs/base-component"],
3
+ "$componentKey": "Alert",
4
+ "$componentTitle": "Alert",
5
+ "title": "Alert",
6
+ "description": "Add an alert",
7
+ "type": "object",
8
+ "required": ["icon", "content", "dismissible"],
9
+ "properties": {
10
+ "icon": {
11
+ "type": "string",
12
+ "title": "Icon",
13
+ "enumNames": ["Bell", "BellRinging", "Checked", "Info", "Truck", "User"],
14
+ "enum": ["Bell", "BellRinging", "Checked", "Info", "Truck", "User"]
15
+ },
16
+ "content": {
17
+ "type": "string",
18
+ "title": "Content"
19
+ },
20
+ "link": {
21
+ "title": "Link",
22
+ "type": "object",
23
+ "properties": {
24
+ "text": {
25
+ "type": "string",
26
+ "title": "Link Text"
27
+ },
28
+ "to": {
29
+ "type": "string",
30
+ "title": "Action link"
31
+ }
32
+ }
33
+ },
34
+ "dismissible": {
35
+ "type": "boolean",
36
+ "default": false,
37
+ "title": "Is dismissible?"
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,183 @@
1
+ {
2
+ "$extends": ["#/$defs/base-component"],
3
+ "$componentKey": "BannerNewsletter",
4
+ "$componentTitle": "Banner Newsletter",
5
+ "title": "Banner Newsletter",
6
+ "description": "Add newsletter with a banner",
7
+ "type": "object",
8
+ "required": ["banner", "newsletter"],
9
+ "properties": {
10
+ "banner": {
11
+ "title": "Banner",
12
+ "type": "object",
13
+ "required": ["title", "link"],
14
+ "properties": {
15
+ "title": {
16
+ "title": "Title",
17
+ "type": "string",
18
+ "default": "Check out our next release"
19
+ },
20
+ "caption": {
21
+ "title": "Caption",
22
+ "type": "string",
23
+ "default": "Discover cutting-edge tech, advanced features, and a seamless user experience. Get ready for the future!"
24
+ },
25
+ "link": {
26
+ "title": "Call to Action",
27
+ "type": "object",
28
+ "required": ["text", "url"],
29
+ "properties": {
30
+ "text": {
31
+ "title": "Text",
32
+ "type": "string",
33
+ "default": "Shop now"
34
+ },
35
+ "url": {
36
+ "title": "URL",
37
+ "type": "string",
38
+ "default": "/"
39
+ }
40
+ }
41
+ },
42
+ "colorVariant": {
43
+ "title": "Color variant",
44
+ "type": "string",
45
+ "enumNames": ["Main", "Light", "Accent"],
46
+ "enum": ["main", "light", "accent"],
47
+ "default": "light"
48
+ },
49
+ "variant": {
50
+ "title": "Variant",
51
+ "type": "string",
52
+ "enumNames": ["Primary", "Secondary"],
53
+ "enum": ["primary", "secondary"],
54
+ "default": "secondary"
55
+ }
56
+ }
57
+ },
58
+ "newsletter": {
59
+ "title": "Newsletter",
60
+ "type": "object",
61
+ "required": ["title", "description"],
62
+ "properties": {
63
+ "icon": {
64
+ "title": "Icon",
65
+ "type": "object",
66
+ "properties": {
67
+ "icon": {
68
+ "title": "Icon",
69
+ "type": "string",
70
+ "enumNames": ["Envelope"],
71
+ "enum": ["Envelope"],
72
+ "default": "Envelope"
73
+ },
74
+ "alt": {
75
+ "type": "string",
76
+ "title": "Alternative Label",
77
+ "default": "Envelope"
78
+ }
79
+ }
80
+ },
81
+ "title": {
82
+ "title": "Title",
83
+ "type": "string",
84
+ "default": "Subscribe to the newsletter"
85
+ },
86
+ "description": {
87
+ "title": "Description",
88
+ "type": "string",
89
+ "default": "Get news and special offers!"
90
+ },
91
+ "privacyPolicy": {
92
+ "title": "Privacy Policy Disclaimer",
93
+ "type": "string",
94
+ "widget": {
95
+ "ui:widget": "draftjs-rich-text"
96
+ }
97
+ },
98
+ "emailInputLabel": {
99
+ "title": "Email input label",
100
+ "type": "string",
101
+ "default": "Email"
102
+ },
103
+ "displayNameInput": {
104
+ "title": "Request name?",
105
+ "type": "boolean",
106
+ "default": true
107
+ },
108
+ "nameInputLabel": {
109
+ "title": "Name input label",
110
+ "type": "string",
111
+ "default": "Name"
112
+ },
113
+ "subscribeButtonLabel": {
114
+ "title": "Subscribe button label",
115
+ "type": "string",
116
+ "default": "Subscribe"
117
+ },
118
+ "subscribeButtonLoadingLabel": {
119
+ "title": "Subscribe button loading label",
120
+ "type": "string",
121
+ "default": "Loading..."
122
+ },
123
+ "colorVariant": {
124
+ "title": "Color variant",
125
+ "type": "string",
126
+ "enumNames": ["Main", "Light", "Accent"],
127
+ "enum": ["main", "light", "accent"],
128
+ "default": "main"
129
+ },
130
+ "toastSubscribe": {
131
+ "title": "Toast Subscribe",
132
+ "type": "object",
133
+ "properties": {
134
+ "title": {
135
+ "title": "Title",
136
+ "description": "Message Title",
137
+ "type": "string",
138
+ "default": "Hooray!"
139
+ },
140
+ "message": {
141
+ "title": "Message",
142
+ "description": "Message",
143
+ "type": "string",
144
+ "default": "Thanks for your subscription."
145
+ },
146
+ "icon": {
147
+ "title": "Icon",
148
+ "type": "string",
149
+ "enumNames": ["CircleWavyCheck"],
150
+ "enum": ["CircleWavyCheck"],
151
+ "default": "CircleWavyCheck"
152
+ }
153
+ }
154
+ },
155
+ "toastSubscribeError": {
156
+ "title": "Toast Subscribe Error",
157
+ "type": "object",
158
+ "properties": {
159
+ "title": {
160
+ "title": "Title",
161
+ "description": "Message Title",
162
+ "type": "string",
163
+ "default": "Oops!"
164
+ },
165
+ "message": {
166
+ "title": "Message",
167
+ "description": "Message",
168
+ "type": "string",
169
+ "default": "Something went wrong. Please try again."
170
+ },
171
+ "icon": {
172
+ "title": "Icon",
173
+ "type": "string",
174
+ "enumNames": ["CircleWavyWarning"],
175
+ "enum": ["CircleWavyWarning"],
176
+ "default": "CircleWavyWarning"
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$extends": ["#/$defs/base-component"],
3
+ "$componentKey": "BannerText",
4
+ "$componentTitle": "Banner Text",
5
+ "title": "Banner Text",
6
+ "description": "Add a quick promotion with a text/action pair",
7
+ "type": "object",
8
+ "required": ["title", "caption", "link"],
9
+ "properties": {
10
+ "title": {
11
+ "title": "Title",
12
+ "type": "string"
13
+ },
14
+ "caption": {
15
+ "title": "Caption",
16
+ "type": "string"
17
+ },
18
+ "link": {
19
+ "title": "Call to Action",
20
+ "type": "object",
21
+ "required": ["text", "url"],
22
+ "properties": {
23
+ "text": {
24
+ "title": "Text",
25
+ "type": "string"
26
+ },
27
+ "url": {
28
+ "title": "URL",
29
+ "type": "string"
30
+ },
31
+ "linkTargetBlank": {
32
+ "type": "boolean",
33
+ "title": "Open link in new window?",
34
+ "default": false
35
+ }
36
+ }
37
+ },
38
+ "colorVariant": {
39
+ "type": "string",
40
+ "title": "Color variant",
41
+ "enumNames": ["Main", "Light", "Accent"],
42
+ "enum": ["main", "light", "accent"]
43
+ },
44
+ "variant": {
45
+ "type": "string",
46
+ "title": "Variant",
47
+ "enumNames": ["Primary", "Secondary"],
48
+ "enum": ["primary", "secondary"]
49
+ }
50
+ }
51
+ }