@faststore/core 3.95.1-dev.0 → 3.96.0-dev.18

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 (94) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +41 -41
  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 +11 -11
  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/middleware-build-manifest.js +1 -1
  18. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  19. package/.next/server/pages/[...slug].js +1 -1
  20. package/.next/server/pages/[slug]/p.js +1 -1
  21. package/.next/server/pages/api/graphql.js +3 -3
  22. package/.next/server/pages/en-US/404.html +1 -1
  23. package/.next/server/pages/en-US/500.html +1 -1
  24. package/.next/server/pages/en-US/checkout.html +1 -1
  25. package/.next/server/pages/en-US/login.html +1 -1
  26. package/.next/server/pages/en-US/s.html +1 -1
  27. package/.next/server/pages/en-US.html +1 -1
  28. package/.next/server/pages/en-US.json +1 -1
  29. package/.next/server/pages/pvt/account/orders/[id].js +1 -1
  30. package/.next/server/pages/s.js +1 -1
  31. package/.next/server/pages-manifest.json +1 -1
  32. package/.next/static/chunks/{1841.b3a98a2a1886b09c.js → 1841.a1b15f2c88e02d32.js} +1 -1
  33. package/.next/static/chunks/{2927.5a79877943a6bf7c.js → 2927.23bae2c79f0ac0f3.js} +1 -1
  34. package/.next/static/chunks/{7191-5aa417081c97d46a.js → 7191-5ede6e7ef625ea77.js} +1 -1
  35. package/.next/static/chunks/{9173-49a05f6f96710bd1.js → 9173-2ed920b87ee6640e.js} +1 -1
  36. package/.next/static/chunks/{UIToast.19a8664c01a00d3a.js → UIToast.de15325248043ce5.js} +1 -1
  37. package/.next/static/chunks/pages/[slug]/{p-cf620759e25940f8.js → p-b9320679eebf6f5c.js} +1 -1
  38. package/.next/static/chunks/pages/{_app-8e3a3eccc99a6f96.js → _app-35b56c71ba4f9a54.js} +1 -1
  39. package/.next/static/chunks/pages/pvt/account/orders/{[id]-68bbe8db444fd60a.js → [id]-dc662a778c5b8876.js} +1 -1
  40. package/.next/static/chunks/{webpack-f9e5828934d6d57c.js → webpack-237c97ab0eda7441.js} +1 -1
  41. package/.next/static/{xPZqGftdSs0H8UD6M_H3H → kf421rvguK2vjVH6LCPtr}/_buildManifest.js +1 -1
  42. package/.next/trace +138 -138
  43. package/.turbo/turbo-build.log +14 -14
  44. package/.turbo/turbo-test.log +8 -7
  45. package/@generated/gql.ts +2 -2
  46. package/@generated/graphql.ts +6 -1
  47. package/@generated/persisted-documents.json +1 -1
  48. package/@generated/schema.graphql +3 -0
  49. package/CHANGELOG.md +86 -0
  50. package/cms/faststore/base.jsonc +42 -0
  51. package/cms/faststore/components/cms_component__alert.jsonc +40 -0
  52. package/cms/faststore/components/cms_component__bannernewsletter.jsonc +183 -0
  53. package/cms/faststore/components/cms_component__bannertext.jsonc +51 -0
  54. package/cms/faststore/components/cms_component__breadcrumb.jsonc +21 -0
  55. package/cms/faststore/components/cms_component__cartsidebar.jsonc +122 -0
  56. package/cms/faststore/components/cms_component__children.jsonc +8 -0
  57. package/cms/faststore/components/cms_component__crosssellingshelf.jsonc +50 -0
  58. package/cms/faststore/components/cms_component__emptystate.jsonc +73 -0
  59. package/cms/faststore/components/cms_component__footer.jsonc +238 -0
  60. package/cms/faststore/components/cms_component__hero.jsonc +71 -0
  61. package/cms/faststore/components/cms_component__incentives.jsonc +51 -0
  62. package/cms/faststore/components/cms_component__navbar.jsonc +318 -0
  63. package/cms/faststore/components/cms_component__newsletter.jsonc +133 -0
  64. package/cms/faststore/components/cms_component__productdetails.jsonc +246 -0
  65. package/cms/faststore/components/cms_component__productgallery.jsonc +312 -0
  66. package/cms/faststore/components/cms_component__productshelf.jsonc +117 -0
  67. package/cms/faststore/components/cms_component__producttiles.jsonc +95 -0
  68. package/cms/faststore/components/cms_component__regionbar.jsonc +58 -0
  69. package/cms/faststore/components/cms_component__regionmodal.jsonc +85 -0
  70. package/cms/faststore/components/cms_component__regionpopover.jsonc +97 -0
  71. package/cms/faststore/components/cms_component__search.jsonc +144 -0
  72. package/cms/faststore/pages/cms_content_type__404.jsonc +18 -0
  73. package/cms/faststore/pages/cms_content_type__500.jsonc +18 -0
  74. package/cms/faststore/pages/cms_content_type__globalfootersections.jsonc +73 -0
  75. package/cms/faststore/pages/cms_content_type__globalheadersections.jsonc +73 -0
  76. package/cms/faststore/pages/cms_content_type__globalsections.jsonc +375 -0
  77. package/cms/faststore/pages/cms_content_type__home.jsonc +213 -0
  78. package/cms/faststore/pages/cms_content_type__landingpage.jsonc +108 -0
  79. package/cms/faststore/pages/cms_content_type__login.jsonc +18 -0
  80. package/cms/faststore/pages/cms_content_type__pdp.jsonc +115 -0
  81. package/cms/faststore/pages/cms_content_type__plp.jsonc +130 -0
  82. package/cms/faststore/pages/cms_content_type__search.jsonc +118 -0
  83. package/cms/faststore/schema.json +3859 -0
  84. package/cms/faststore/sections.json +2 -2
  85. package/package.json +15 -8
  86. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordion.tsx +18 -15
  87. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +9 -3
  88. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/MyAccountSummaryCard.tsx +0 -1
  89. package/src/pages/api/graphql.ts +26 -5
  90. package/src/pages/pvt/account/orders/[id].tsx +2 -0
  91. package/src/sdk/graphql/request.ts +10 -1
  92. package/src/utils/cookieCacheBusting.ts +141 -0
  93. package/test/utils/cookieCacheBusting.test.ts +121 -0
  94. /package/.next/static/{xPZqGftdSs0H8UD6M_H3H → kf421rvguK2vjVH6LCPtr}/_ssgManifest.js +0 -0
@@ -0,0 +1,97 @@
1
+ {
2
+ "$extends": ["#/$defs/base-component"],
3
+ "$componentKey": "RegionPopover",
4
+ "$componentTitle": "Region Popover",
5
+ "title": "Region Popover",
6
+ "description": "Region Popover configuration",
7
+ "type": "object",
8
+ "properties": {
9
+ "title": {
10
+ "title": "Title",
11
+ "type": "string",
12
+ "default": "Set your location"
13
+ },
14
+ "closeButtonAriaLabel": {
15
+ "title": "Close popover aria-label",
16
+ "type": "string",
17
+ "default": "Close Region Popover"
18
+ },
19
+ "inputField": {
20
+ "title": "Input Field",
21
+ "type": "object",
22
+ "properties": {
23
+ "label": {
24
+ "title": "Input field label",
25
+ "description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
26
+ "type": "string"
27
+ },
28
+ "errorMessage": {
29
+ "title": "Input field error message",
30
+ "description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
31
+ "type": "string"
32
+ },
33
+ "noProductsAvailableErrorMessage": {
34
+ "title": "Input field error message for the scenario of no products available for a given location",
35
+ "description": "[Deprecated] Use the fields from the Settings tab in Global Sections. The '%s' is replaced by the postal code value.",
36
+ "type": "string"
37
+ },
38
+ "buttonActionText": {
39
+ "title": "Input field action button label",
40
+ "description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
41
+ "type": "string"
42
+ }
43
+ }
44
+ },
45
+ "textBeforeLocation": {
46
+ "title": "Text before location",
47
+ "type": "string",
48
+ "default": "Your current location is",
49
+ "description": "If location is available, this text will be shown before the location"
50
+ },
51
+ "textAfterLocation": {
52
+ "title": "Text After location",
53
+ "type": "string",
54
+ "default": "Use the field below to change it.",
55
+ "description": "If location is available, this text will be shown after the location"
56
+ },
57
+ "description": {
58
+ "title": "Description",
59
+ "type": "string",
60
+ "default": "Offers and availability vary by location"
61
+ },
62
+ "idkPostalCodeLink": {
63
+ "title": "I don't know my postal code link",
64
+ "type": "object",
65
+ "properties": {
66
+ "text": {
67
+ "title": "Link Text",
68
+ "description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
69
+ "type": "string"
70
+ },
71
+ "to": {
72
+ "type": "string",
73
+ "title": "Action link",
74
+ "description": "[Deprecated] Use the fields from the Settings tab in Global Sections"
75
+ },
76
+ "icon": {
77
+ "title": "Icon",
78
+ "type": "object",
79
+ "properties": {
80
+ "icon": {
81
+ "title": "Icon",
82
+ "description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
83
+ "type": "string",
84
+ "enumNames": ["Arrow Square Out"],
85
+ "enum": ["ArrowSquareOut"]
86
+ },
87
+ "alt": {
88
+ "title": "Alternative Label",
89
+ "description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
90
+ "type": "string"
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "$extends": ["#/$defs/base-component"],
3
+ "$componentKey": "Search",
4
+ "$componentTitle": "Search Bar",
5
+ "title": "Search Bar",
6
+ "description": "Search Bar Configuration",
7
+ "type": "object",
8
+ "required": [
9
+ "searchInput",
10
+ "searchHistory",
11
+ "searchTop",
12
+ "searchAutocomplete"
13
+ ],
14
+ "properties": {
15
+ "searchInput": {
16
+ "title": "Input Field",
17
+ "type": "object",
18
+ "properties": {
19
+ "placeholder": {
20
+ "title": "Placeholder",
21
+ "type": "string",
22
+ "default": "Search everything in the store"
23
+ },
24
+ "icon": {
25
+ "title": "Search Icon",
26
+ "type": "object",
27
+ "properties": {
28
+ "icon": {
29
+ "title": "Icon",
30
+ "type": "string",
31
+ "enumNames": ["Magnifying Glass"],
32
+ "enum": ["MagnifyingGlass"],
33
+ "default": "MagnifyingGlass"
34
+ },
35
+ "alt": {
36
+ "title": "Alternative Label",
37
+ "type": "string",
38
+ "default": "Magnifying glass"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ },
44
+ "searchHistory": {
45
+ "title": "Search History",
46
+ "type": "object",
47
+ "properties": {
48
+ "title": {
49
+ "title": "Title",
50
+ "type": "string",
51
+ "default": "History"
52
+ },
53
+ "clearButtonLabel": {
54
+ "type": "string",
55
+ "title": "Clear Button Label",
56
+ "default": "Clear history"
57
+ },
58
+ "icon": {
59
+ "title": "Icon",
60
+ "type": "object",
61
+ "properties": {
62
+ "icon": {
63
+ "title": "Icon",
64
+ "type": "string",
65
+ "enumNames": ["Clock Clockwise"],
66
+ "enum": ["ClockClockwise"],
67
+ "default": "ClockClockwise"
68
+ },
69
+ "alt": {
70
+ "type": "string",
71
+ "title": "Alternative Label",
72
+ "default": "History"
73
+ }
74
+ }
75
+ },
76
+ "maxItems": {
77
+ "title": "Maximum Number of History Items",
78
+ "type": "integer",
79
+ "default": 5
80
+ }
81
+ }
82
+ },
83
+ "searchTop": {
84
+ "title": "Top Search",
85
+ "type": "object",
86
+ "properties": {
87
+ "title": {
88
+ "title": "Title",
89
+ "type": "string",
90
+ "default": "Top search"
91
+ },
92
+ "maxItems": {
93
+ "title": "Maximum Number of Top Search Items",
94
+ "type": "integer",
95
+ "default": 5
96
+ }
97
+ }
98
+ },
99
+ "searchAutocomplete": {
100
+ "title": "Autocomplete",
101
+ "type": "object",
102
+ "properties": {
103
+ "icon": {
104
+ "title": "Icon",
105
+ "type": "object",
106
+ "properties": {
107
+ "icon": {
108
+ "title": "Icon",
109
+ "type": "string",
110
+ "enumNames": ["Magnifying Glass"],
111
+ "enum": ["MagnifyingGlass"]
112
+ },
113
+ "alt": {
114
+ "type": "string",
115
+ "title": "Alternative Label",
116
+ "default": "Magnifying glass"
117
+ }
118
+ }
119
+ },
120
+ "maxItems": {
121
+ "title": "Maximum Number of Autocomplete Items",
122
+ "type": "integer",
123
+ "default": 5
124
+ }
125
+ }
126
+ },
127
+ "searchProducts": {
128
+ "title": "Suggested Products",
129
+ "type": "object",
130
+ "properties": {
131
+ "title": {
132
+ "title": "Title",
133
+ "type": "string",
134
+ "default": "Suggested products"
135
+ },
136
+ "maxItems": {
137
+ "title": "Maximum Number of Suggested Products",
138
+ "type": "integer",
139
+ "default": 5
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "404": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": true,
5
+ "type": "object",
6
+ "title": "Error 404",
7
+ "properties": {
8
+ "sections": {
9
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
10
+ }
11
+ },
12
+ "readOnly": false,
13
+ "writeOnly": false,
14
+ "deprecated": false,
15
+ "$abstract": false,
16
+ "identifierKeys": []
17
+ }
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "500": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": true,
5
+ "type": "object",
6
+ "title": "Error 500",
7
+ "properties": {
8
+ "sections": {
9
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
10
+ }
11
+ },
12
+ "readOnly": false,
13
+ "writeOnly": false,
14
+ "deprecated": false,
15
+ "$abstract": false,
16
+ "identifierKeys": []
17
+ }
18
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "globalFooterSections": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": true,
5
+ "type": "object",
6
+ "title": "Global Footer Sections",
7
+ "properties": {
8
+ "sections": {
9
+ "type": "array",
10
+ "items": {
11
+ "anyOf": [
12
+ {
13
+ "$ref": "#/components/Search"
14
+ },
15
+ {
16
+ "$ref": "#/components/Navbar"
17
+ },
18
+ {
19
+ "$ref": "#/components/Alert"
20
+ },
21
+ {
22
+ "$ref": "#/components/Footer"
23
+ },
24
+ {
25
+ "$ref": "#/components/BannerText"
26
+ },
27
+ {
28
+ "$ref": "#/components/Hero"
29
+ },
30
+ {
31
+ "$ref": "#/components/Incentives"
32
+ },
33
+ {
34
+ "$ref": "#/components/ProductShelf"
35
+ },
36
+ {
37
+ "$ref": "#/components/ProductTiles"
38
+ },
39
+ {
40
+ "$ref": "#/components/Newsletter"
41
+ },
42
+ {
43
+ "$ref": "#/components/Children"
44
+ },
45
+ {
46
+ "$ref": "#/components/BannerNewsletter"
47
+ },
48
+ {
49
+ "$ref": "#/components/CartSidebar"
50
+ },
51
+ {
52
+ "$ref": "#/components/RegionBar"
53
+ },
54
+ {
55
+ "$ref": "#/components/RegionModal"
56
+ },
57
+ {
58
+ "$ref": "#/components/RegionPopover"
59
+ },
60
+ {
61
+ "$ref": "#/components/EmptyState"
62
+ }
63
+ ]
64
+ }
65
+ }
66
+ },
67
+ "readOnly": false,
68
+ "writeOnly": false,
69
+ "deprecated": false,
70
+ "$abstract": false,
71
+ "identifierKeys": []
72
+ }
73
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "globalHeaderSections": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": true,
5
+ "type": "object",
6
+ "title": "Global Header Sections",
7
+ "properties": {
8
+ "sections": {
9
+ "type": "array",
10
+ "items": {
11
+ "anyOf": [
12
+ {
13
+ "$ref": "#/components/Search"
14
+ },
15
+ {
16
+ "$ref": "#/components/Navbar"
17
+ },
18
+ {
19
+ "$ref": "#/components/Alert"
20
+ },
21
+ {
22
+ "$ref": "#/components/Footer"
23
+ },
24
+ {
25
+ "$ref": "#/components/BannerText"
26
+ },
27
+ {
28
+ "$ref": "#/components/Hero"
29
+ },
30
+ {
31
+ "$ref": "#/components/Incentives"
32
+ },
33
+ {
34
+ "$ref": "#/components/ProductShelf"
35
+ },
36
+ {
37
+ "$ref": "#/components/ProductTiles"
38
+ },
39
+ {
40
+ "$ref": "#/components/Newsletter"
41
+ },
42
+ {
43
+ "$ref": "#/components/Children"
44
+ },
45
+ {
46
+ "$ref": "#/components/BannerNewsletter"
47
+ },
48
+ {
49
+ "$ref": "#/components/CartSidebar"
50
+ },
51
+ {
52
+ "$ref": "#/components/RegionBar"
53
+ },
54
+ {
55
+ "$ref": "#/components/RegionModal"
56
+ },
57
+ {
58
+ "$ref": "#/components/RegionPopover"
59
+ },
60
+ {
61
+ "$ref": "#/components/EmptyState"
62
+ }
63
+ ]
64
+ }
65
+ }
66
+ },
67
+ "readOnly": false,
68
+ "writeOnly": false,
69
+ "deprecated": false,
70
+ "$abstract": false,
71
+ "identifierKeys": []
72
+ }
73
+ }