@ikas/code-components-mcp 0.116.0 → 0.117.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.
Files changed (221) hide show
  1. package/data/section-templates/account-info-section/children/AccountAddresses/components/AddressModal/index.tsx +6 -9
  2. package/data/section-templates/account-info-section/children/AccountAddresses/components/AddressModal/styles.css +1 -0
  3. package/data/section-templates/account-info-section/children/AccountAddresses/ikas-config-snippet.json +30 -30
  4. package/data/section-templates/account-info-section/children/AccountAddresses/index.tsx +12 -12
  5. package/data/section-templates/account-info-section/children/AccountAddresses/types.ts +1 -0
  6. package/data/section-templates/account-info-section/children/AccountFavorites/ikas-config-snippet.json +9 -9
  7. package/data/section-templates/account-info-section/children/AccountFavorites/index.tsx +3 -3
  8. package/data/section-templates/account-info-section/children/AccountFavorites/types.ts +1 -0
  9. package/data/section-templates/account-info-section/children/AccountInfoContent/ikas-config-snippet.json +16 -16
  10. package/data/section-templates/account-info-section/children/AccountInfoContent/index.tsx +5 -5
  11. package/data/section-templates/account-info-section/children/AccountInfoContent/types.ts +1 -0
  12. package/data/section-templates/account-info-section/children/AccountOrderDetail/ikas-config-snippet.json +74 -74
  13. package/data/section-templates/account-info-section/children/AccountOrderDetail/index.tsx +29 -29
  14. package/data/section-templates/account-info-section/children/AccountOrderDetail/types.ts +1 -0
  15. package/data/section-templates/account-info-section/children/AccountOrders/ikas-config-snippet.json +20 -20
  16. package/data/section-templates/account-info-section/children/AccountOrders/index.tsx +8 -8
  17. package/data/section-templates/account-info-section/children/AccountOrders/types.ts +1 -0
  18. package/data/section-templates/account-info-section/global-types.ts +0 -2
  19. package/data/section-templates/account-info-section/hooks/useScrollLock.ts +0 -4
  20. package/data/section-templates/account-info-section/ikas-config-snippet.json +13 -13
  21. package/data/section-templates/account-info-section/index.tsx +5 -5
  22. package/data/section-templates/account-info-section/sub-components/Modal/index.tsx +4 -2
  23. package/data/section-templates/account-info-section/sub-components/ProductCard/index.tsx +4 -4
  24. package/data/section-templates/account-info-section/types.ts +1 -0
  25. package/data/section-templates/add-to-cart/ikas-config-snippet.json +30 -30
  26. package/data/section-templates/add-to-cart/index.tsx +7 -7
  27. package/data/section-templates/add-to-cart/types.ts +1 -0
  28. package/data/section-templates/blog-home-section/global-types.ts +0 -2
  29. package/data/section-templates/blog-home-section/ikas-config-snippet.json +18 -18
  30. package/data/section-templates/blog-home-section/index.tsx +3 -3
  31. package/data/section-templates/blog-home-section/types.ts +1 -0
  32. package/data/section-templates/blog-post-section/global-types.ts +0 -2
  33. package/data/section-templates/blog-post-section/ikas-config-snippet.json +15 -15
  34. package/data/section-templates/blog-post-section/index.tsx +3 -3
  35. package/data/section-templates/blog-post-section/types.ts +1 -0
  36. package/data/section-templates/bundle-products/global-types.ts +0 -2
  37. package/data/section-templates/bundle-products/ikas-config-snippet.json +25 -25
  38. package/data/section-templates/bundle-products/index.tsx +3 -3
  39. package/data/section-templates/bundle-products/types.ts +1 -0
  40. package/data/section-templates/cart-section/global-types.ts +0 -2
  41. package/data/section-templates/cart-section/ikas-config-snippet.json +32 -32
  42. package/data/section-templates/cart-section/index.tsx +13 -13
  43. package/data/section-templates/cart-section/sub-components/CartItem/components/BundleProducts/index.tsx +1 -1
  44. package/data/section-templates/cart-section/types.ts +1 -0
  45. package/data/section-templates/category-images-section/children/CategoryImageItem/ikas-config-snippet.json +12 -12
  46. package/data/section-templates/category-images-section/children/CategoryImageItem/types.ts +1 -0
  47. package/data/section-templates/category-images-section/global-types.ts +0 -2
  48. package/data/section-templates/category-images-section/ikas-config-snippet.json +11 -11
  49. package/data/section-templates/category-images-section/types.ts +1 -0
  50. package/data/section-templates/category-list-section/children/CardProductName/ikas-config-snippet.json +2 -2
  51. package/data/section-templates/category-list-section/children/CardProductName/types.ts +1 -0
  52. package/data/section-templates/category-list-section/children/CardProductPrice/ikas-config-snippet.json +1 -1
  53. package/data/section-templates/category-list-section/children/CardProductPrice/types.ts +1 -0
  54. package/data/section-templates/category-list-section/children/CardProductVariants/ikas-config-snippet.json +1 -1
  55. package/data/section-templates/category-list-section/children/CardProductVariants/types.ts +1 -0
  56. package/data/section-templates/category-list-section/components/CategoryListControls/index.tsx +1 -1
  57. package/data/section-templates/category-list-section/global-types.ts +0 -2
  58. package/data/section-templates/category-list-section/hooks/useScrollLock.ts +0 -4
  59. package/data/section-templates/category-list-section/ikas-config-snippet.json +50 -50
  60. package/data/section-templates/category-list-section/index.tsx +13 -13
  61. package/data/section-templates/category-list-section/sub-components/ProductCard/index.tsx +4 -4
  62. package/data/section-templates/category-list-section/types.ts +1 -0
  63. package/data/section-templates/component-renderer/additional/Features/types.ts +1 -0
  64. package/data/section-templates/component-renderer/additional/ProductDetail/index.tsx +1 -1
  65. package/data/section-templates/component-renderer/additional/ProductDetail/types.ts +1 -0
  66. package/data/section-templates/component-renderer/global-types.ts +0 -2
  67. package/data/section-templates/component-renderer/ikas-config-snippet.json +5 -5
  68. package/data/section-templates/component-renderer/types.ts +1 -0
  69. package/data/section-templates/email-verification-section/ikas-config-snippet.json +36 -36
  70. package/data/section-templates/email-verification-section/index.tsx +14 -14
  71. package/data/section-templates/email-verification-section/types.ts +1 -0
  72. package/data/section-templates/favorites/ikas-config-snippet.json +12 -12
  73. package/data/section-templates/favorites/types.ts +1 -0
  74. package/data/section-templates/features-section/children/FeatureItem/ikas-config-snippet.json +2 -2
  75. package/data/section-templates/features-section/children/FeatureItem/types.ts +1 -0
  76. package/data/section-templates/features-section/ikas-config-snippet.json +2 -2
  77. package/data/section-templates/features-section/types.ts +1 -0
  78. package/data/section-templates/footer-section/children/SocialMediaIcon/ikas-config-snippet.json +1 -1
  79. package/data/section-templates/footer-section/children/SocialMediaIcon/types.ts +1 -0
  80. package/data/section-templates/footer-section/ikas-config-snippet.json +19 -19
  81. package/data/section-templates/footer-section/index.tsx +3 -3
  82. package/data/section-templates/footer-section/types.ts +1 -0
  83. package/data/section-templates/forgot-password-section/components/ForgotPasswordForm/index.tsx +10 -10
  84. package/data/section-templates/forgot-password-section/ikas-config-snippet.json +29 -29
  85. package/data/section-templates/forgot-password-section/types.ts +1 -0
  86. package/data/section-templates/header-section/children/Announcements/ikas-config-snippet.json +9 -9
  87. package/data/section-templates/header-section/children/Announcements/types.ts +1 -0
  88. package/data/section-templates/header-section/children/CookieBar/ikas-config-snippet.json +15 -15
  89. package/data/section-templates/header-section/children/CookieBar/types.ts +1 -0
  90. package/data/section-templates/header-section/children/Navbar/components/MobileMenu/index.tsx +1 -1
  91. package/data/section-templates/header-section/children/Navbar/ikas-config-snippet.json +68 -68
  92. package/data/section-templates/header-section/children/Navbar/index.tsx +19 -19
  93. package/data/section-templates/header-section/children/Navbar/types.ts +1 -0
  94. package/data/section-templates/header-section/global-types.ts +0 -2
  95. package/data/section-templates/header-section/hooks/useScrollLock.ts +0 -4
  96. package/data/section-templates/header-section/ikas-config-snippet.json +5 -5
  97. package/data/section-templates/header-section/sub-components/CartItem/components/BundleProducts/index.tsx +1 -1
  98. package/data/section-templates/header-section/sub-components/ProductCard/index.tsx +4 -4
  99. package/data/section-templates/header-section/types.ts +1 -0
  100. package/data/section-templates/hero-slider-section/children/HeroSliderItem/ikas-config-snippet.json +34 -34
  101. package/data/section-templates/hero-slider-section/children/HeroSliderItem/types.ts +1 -0
  102. package/data/section-templates/hero-slider-section/global-types.ts +0 -2
  103. package/data/section-templates/hero-slider-section/ikas-config-snippet.json +10 -10
  104. package/data/section-templates/hero-slider-section/types.ts +1 -0
  105. package/data/section-templates/image-handling/global-types.ts +0 -2
  106. package/data/section-templates/image-handling/ikas-config-snippet.json +16 -16
  107. package/data/section-templates/image-handling/index.tsx +1 -1
  108. package/data/section-templates/image-handling/types.ts +1 -0
  109. package/data/section-templates/login-section/components/LoginForm/index.tsx +13 -13
  110. package/data/section-templates/login-section/ikas-config-snippet.json +38 -38
  111. package/data/section-templates/login-section/types.ts +1 -0
  112. package/data/section-templates/navigation/components/MobileMenu/index.tsx +1 -1
  113. package/data/section-templates/navigation/global-types.ts +0 -2
  114. package/data/section-templates/navigation/hooks/useScrollLock.ts +0 -4
  115. package/data/section-templates/navigation/ikas-config-snippet.json +68 -68
  116. package/data/section-templates/navigation/index.tsx +19 -19
  117. package/data/section-templates/navigation/sub-components/CartItem/components/BundleProducts/index.tsx +1 -1
  118. package/data/section-templates/navigation/sub-components/ProductCard/index.tsx +4 -4
  119. package/data/section-templates/navigation/types.ts +1 -0
  120. package/data/section-templates/not-found-section/ikas-config-snippet.json +9 -9
  121. package/data/section-templates/not-found-section/types.ts +1 -0
  122. package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/ikas-config-snippet.json +30 -30
  123. package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/index.tsx +7 -7
  124. package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/types.ts +1 -0
  125. package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/ikas-config-snippet.json +33 -33
  126. package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/index.tsx +8 -8
  127. package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/types.ts +1 -0
  128. package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/ikas-config-snippet.json +25 -25
  129. package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/index.tsx +3 -3
  130. package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/types.ts +1 -0
  131. package/data/section-templates/product-detail-section/children/ProductDetailDescription/ikas-config-snippet.json +19 -19
  132. package/data/section-templates/product-detail-section/children/ProductDetailDescription/index.tsx +1 -1
  133. package/data/section-templates/product-detail-section/children/ProductDetailDescription/types.ts +1 -0
  134. package/data/section-templates/product-detail-section/children/ProductDetailFeatures/ikas-config-snippet.json +11 -11
  135. package/data/section-templates/product-detail-section/children/ProductDetailFeatures/types.ts +1 -0
  136. package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/ikas-config-snippet.json +12 -12
  137. package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/types.ts +1 -0
  138. package/data/section-templates/product-detail-section/children/ProductDetailOffer/components/OfferCard/index.tsx +2 -2
  139. package/data/section-templates/product-detail-section/children/ProductDetailOffer/ikas-config-snippet.json +39 -39
  140. package/data/section-templates/product-detail-section/children/ProductDetailOffer/index.tsx +9 -9
  141. package/data/section-templates/product-detail-section/children/ProductDetailOffer/types.ts +1 -0
  142. package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/ikas-config-snippet.json +31 -31
  143. package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/index.tsx +7 -7
  144. package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/types.ts +1 -0
  145. package/data/section-templates/product-detail-section/children/ProductDetailPrices/ikas-config-snippet.json +11 -11
  146. package/data/section-templates/product-detail-section/children/ProductDetailPrices/types.ts +1 -0
  147. package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/ikas-config-snippet.json +11 -11
  148. package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/types.ts +1 -0
  149. package/data/section-templates/product-detail-section/children/ProductDetailSku/ikas-config-snippet.json +15 -15
  150. package/data/section-templates/product-detail-section/children/ProductDetailSku/index.tsx +1 -1
  151. package/data/section-templates/product-detail-section/children/ProductDetailSku/types.ts +1 -0
  152. package/data/section-templates/product-detail-section/children/ProductDetailVariant/ikas-config-snippet.json +13 -13
  153. package/data/section-templates/product-detail-section/children/ProductDetailVariant/types.ts +2 -1
  154. package/data/section-templates/product-detail-section/global-types.ts +0 -2
  155. package/data/section-templates/product-detail-section/hooks/useScrollLock.ts +0 -4
  156. package/data/section-templates/product-detail-section/ikas-config-snippet.json +16 -16
  157. package/data/section-templates/product-detail-section/index.tsx +1 -1
  158. package/data/section-templates/product-detail-section/types.ts +1 -0
  159. package/data/section-templates/product-pricing/ikas-config-snippet.json +11 -11
  160. package/data/section-templates/product-pricing/types.ts +1 -0
  161. package/data/section-templates/product-reviews-section/hooks/useScrollLock.ts +0 -4
  162. package/data/section-templates/product-reviews-section/ikas-config-snippet.json +6 -6
  163. package/data/section-templates/product-reviews-section/sub-components/Modal/index.tsx +4 -2
  164. package/data/section-templates/product-reviews-section/types.ts +1 -0
  165. package/data/section-templates/product-slider-section/children/CardProductName/ikas-config-snippet.json +2 -2
  166. package/data/section-templates/product-slider-section/children/CardProductName/types.ts +1 -0
  167. package/data/section-templates/product-slider-section/children/CardProductPrice/ikas-config-snippet.json +1 -1
  168. package/data/section-templates/product-slider-section/children/CardProductPrice/types.ts +1 -0
  169. package/data/section-templates/product-slider-section/children/CardProductVariants/ikas-config-snippet.json +1 -1
  170. package/data/section-templates/product-slider-section/children/CardProductVariants/types.ts +1 -0
  171. package/data/section-templates/product-slider-section/global-types.ts +0 -2
  172. package/data/section-templates/product-slider-section/ikas-config-snippet.json +22 -22
  173. package/data/section-templates/product-slider-section/index.tsx +4 -4
  174. package/data/section-templates/product-slider-section/sub-components/ProductCard/index.tsx +4 -4
  175. package/data/section-templates/product-slider-section/types.ts +1 -0
  176. package/data/section-templates/recover-password-section/components/RecoverPasswordForm/index.tsx +10 -10
  177. package/data/section-templates/recover-password-section/ikas-config-snippet.json +42 -42
  178. package/data/section-templates/recover-password-section/types.ts +1 -0
  179. package/data/section-templates/register-section/components/RegisterForm/index.tsx +15 -15
  180. package/data/section-templates/register-section/ikas-config-snippet.json +54 -54
  181. package/data/section-templates/register-section/types.ts +1 -0
  182. package/data/section-templates/rich-text-section/ikas-config-snippet.json +3 -3
  183. package/data/section-templates/rich-text-section/types.ts +1 -0
  184. package/data/section-templates/variant-selection/ikas-config-snippet.json +13 -13
  185. package/data/section-templates/variant-selection/types.ts +2 -1
  186. package/data/storefront-api.json +1 -1
  187. package/data/storefront-types.json +1 -1
  188. package/dist/index.js +2 -355
  189. package/dist/index.js.map +1 -1
  190. package/package.json +1 -1
  191. package/data/migration-examples/complex-header-migration/_meta.json +0 -4
  192. package/data/migration-examples/complex-header-migration/after-config-snippet.json +0 -55
  193. package/data/migration-examples/complex-header-migration/after-section.tsx +0 -64
  194. package/data/migration-examples/complex-header-migration/before-props-summary.json +0 -42
  195. package/data/migration-examples/custom-dynamic-list-to-component-list/_meta.json +0 -4
  196. package/data/migration-examples/custom-dynamic-list-to-component-list/after-child-styles.css +0 -38
  197. package/data/migration-examples/custom-dynamic-list-to-component-list/after-child.tsx +0 -22
  198. package/data/migration-examples/custom-dynamic-list-to-component-list/after-config-snippet.json +0 -31
  199. package/data/migration-examples/custom-dynamic-list-to-component-list/after-section-styles.css +0 -25
  200. package/data/migration-examples/custom-dynamic-list-to-component-list/after-section.tsx +0 -17
  201. package/data/migration-examples/custom-dynamic-list-to-component-list/before-component.tsx +0 -32
  202. package/data/migration-examples/custom-dynamic-list-to-component-list/before-theme-snippet.json +0 -53
  203. package/data/migration-examples/full-component-with-tailwind/_meta.json +0 -4
  204. package/data/migration-examples/full-component-with-tailwind/after-component.tsx +0 -43
  205. package/data/migration-examples/full-component-with-tailwind/after-config-snippet.json +0 -25
  206. package/data/migration-examples/full-component-with-tailwind/after-styles.css +0 -99
  207. package/data/migration-examples/full-component-with-tailwind/before-component.tsx +0 -60
  208. package/data/migration-examples/object-custom-to-inline-props/_meta.json +0 -4
  209. package/data/migration-examples/object-custom-to-inline-props/after-component.tsx +0 -34
  210. package/data/migration-examples/object-custom-to-inline-props/after-config-snippet.json +0 -23
  211. package/data/migration-examples/object-custom-to-inline-props/after-styles.css +0 -38
  212. package/data/migration-examples/object-custom-to-inline-props/before-component.tsx +0 -30
  213. package/data/migration-examples/object-custom-to-inline-props/before-theme-snippet.json +0 -26
  214. package/data/migration-examples/slider-library-replacement/_meta.json +0 -4
  215. package/data/migration-examples/slider-library-replacement/after-child.tsx +0 -13
  216. package/data/migration-examples/slider-library-replacement/after-config-snippet.json +0 -29
  217. package/data/migration-examples/slider-library-replacement/after-section.tsx +0 -38
  218. package/data/migration-examples/slider-library-replacement/after-styles.css +0 -43
  219. package/data/migration-examples/slider-library-replacement/before-component.tsx +0 -39
  220. package/data/migration-examples/slider-library-replacement/before-types-snippet.ts +0 -14
  221. package/data/migration.json +0 -65
@@ -7,277 +7,277 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "breadcrumbOrdersLabel",
10
- "displayName": "Breadcrumb Siparişler Etiketi",
10
+ "displayName": "Breadcrumb Orders Label",
11
11
  "type": "TEXT",
12
12
  "required": false,
13
- "defaultValue": "Siparişlerim",
13
+ "defaultValue": "My Orders",
14
14
  "groupId": "navigation"
15
15
  },
16
16
  {
17
17
  "name": "breadcrumbOrderLabel",
18
- "displayName": "Breadcrumb Sipariş Etiketi",
18
+ "displayName": "Breadcrumb Order Label",
19
19
  "type": "TEXT",
20
20
  "required": false,
21
- "defaultValue": "Nolu Sipariş",
21
+ "defaultValue": "Order",
22
22
  "groupId": "navigation"
23
23
  },
24
24
  {
25
25
  "name": "orderNoLabel",
26
- "displayName": "Sipariş No Etiketi",
26
+ "displayName": "Order No Label",
27
27
  "type": "TEXT",
28
28
  "required": false,
29
- "defaultValue": "Sipariş No:",
29
+ "defaultValue": "Order No:",
30
30
  "groupId": "orderInfo"
31
31
  },
32
32
  {
33
33
  "name": "orderStatusLabel",
34
- "displayName": "Sipariş Durumu Etiketi",
34
+ "displayName": "Order Status Label",
35
35
  "type": "TEXT",
36
36
  "required": false,
37
- "defaultValue": "Sipariş Durumu:",
37
+ "defaultValue": "Order Status:",
38
38
  "groupId": "orderInfo"
39
39
  },
40
40
  {
41
41
  "name": "orderDateLabel",
42
- "displayName": "Sipariş Tarihi Etiketi",
42
+ "displayName": "Order Date Label",
43
43
  "type": "TEXT",
44
44
  "required": false,
45
- "defaultValue": "Sipariş Tarihi:",
45
+ "defaultValue": "Order Date:",
46
46
  "groupId": "orderInfo"
47
47
  },
48
48
  {
49
49
  "name": "returnButtonText",
50
- "displayName": "İade Butonu Metni",
50
+ "displayName": "Return Button Text",
51
51
  "type": "TEXT",
52
52
  "required": false,
53
- "defaultValue": "İade Et",
53
+ "defaultValue": "Return",
54
54
  "groupId": "returnRequest"
55
55
  },
56
56
  {
57
57
  "name": "returningButtonText",
58
- "displayName": "İade Ediliyor Metni",
58
+ "displayName": "Returning Text",
59
59
  "type": "TEXT",
60
60
  "required": false,
61
- "defaultValue": "İade talebi gönderiliyor...",
61
+ "defaultValue": "Submitting return request...",
62
62
  "groupId": "returnRequest"
63
63
  },
64
64
  {
65
65
  "name": "returnRequestTitle",
66
- "displayName": "İade Talebi Başlığı",
66
+ "displayName": "Return Request Title",
67
67
  "type": "TEXT",
68
68
  "required": false,
69
- "defaultValue": "İade Talebi",
69
+ "defaultValue": "Return Request",
70
70
  "groupId": "returnRequest"
71
71
  },
72
72
  {
73
73
  "name": "returnSubmitText",
74
- "displayName": "İade Gönder Metni",
74
+ "displayName": "Return Submit Text",
75
75
  "type": "TEXT",
76
76
  "required": false,
77
- "defaultValue": "İade Et",
77
+ "defaultValue": "Return",
78
78
  "groupId": "returnRequest"
79
79
  },
80
80
  {
81
81
  "name": "deliveryAddressLabel",
82
- "displayName": "Teslimat Adresi Etiketi",
82
+ "displayName": "Delivery Address Label",
83
83
  "type": "TEXT",
84
84
  "required": false,
85
- "defaultValue": "Teslimat Adresi",
85
+ "defaultValue": "Delivery Address",
86
86
  "groupId": "addressPayment"
87
87
  },
88
88
  {
89
89
  "name": "billingAddressLabel",
90
- "displayName": "Fatura Adresi Etiketi",
90
+ "displayName": "Billing Address Label",
91
91
  "type": "TEXT",
92
92
  "required": false,
93
- "defaultValue": "Fatura Adresi",
93
+ "defaultValue": "Billing Address",
94
94
  "groupId": "addressPayment"
95
95
  },
96
96
  {
97
97
  "name": "paymentInfoLabel",
98
- "displayName": "Ödeme Bilgisi Etiketi",
98
+ "displayName": "Payment Info Label",
99
99
  "type": "TEXT",
100
100
  "required": false,
101
- "defaultValue": "Ödeme Bilgileri",
101
+ "defaultValue": "Payment Information",
102
102
  "groupId": "addressPayment"
103
103
  },
104
104
  {
105
105
  "name": "summaryLabel",
106
- "displayName": "Özet Etiketi",
106
+ "displayName": "Summary Label",
107
107
  "type": "TEXT",
108
108
  "required": false,
109
- "defaultValue": "Özet",
109
+ "defaultValue": "Summary",
110
110
  "groupId": "summary"
111
111
  },
112
112
  {
113
113
  "name": "subtotalLabel",
114
- "displayName": "Ara Toplam Etiketi",
114
+ "displayName": "Subtotal Label",
115
115
  "type": "TEXT",
116
116
  "required": false,
117
- "defaultValue": "Ara Toplam",
117
+ "defaultValue": "Subtotal",
118
118
  "groupId": "summary"
119
119
  },
120
120
  {
121
121
  "name": "shippingLabel",
122
- "displayName": "Kargo Etiketi",
122
+ "displayName": "Shipping Label",
123
123
  "type": "TEXT",
124
124
  "required": false,
125
- "defaultValue": "Kargo",
125
+ "defaultValue": "Shipping",
126
126
  "groupId": "summary"
127
127
  },
128
128
  {
129
129
  "name": "totalLabel",
130
- "displayName": "Toplam Etiketi",
130
+ "displayName": "Total Label",
131
131
  "type": "TEXT",
132
132
  "required": false,
133
- "defaultValue": "Toplam",
133
+ "defaultValue": "Total",
134
134
  "groupId": "summary"
135
135
  },
136
136
  {
137
137
  "name": "taxIncludedText",
138
- "displayName": "KDV Dahil Metni",
138
+ "displayName": "Tax Included Text",
139
139
  "type": "TEXT",
140
140
  "required": false,
141
- "defaultValue": "*vergiler dahil",
141
+ "defaultValue": "*taxes included",
142
142
  "groupId": "summary"
143
143
  },
144
144
  {
145
145
  "name": "cargoCompanyLabel",
146
- "displayName": "Kargo Firması Etiketi",
146
+ "displayName": "Shipping Company Label",
147
147
  "type": "TEXT",
148
148
  "required": false,
149
- "defaultValue": "Kargo Şirketi:",
149
+ "defaultValue": "Shipping Company:",
150
150
  "groupId": "shipping"
151
151
  },
152
152
  {
153
153
  "name": "trackingNumberLabel",
154
- "displayName": "Takip Numarası Etiketi",
154
+ "displayName": "Tracking Number Label",
155
155
  "type": "TEXT",
156
156
  "required": false,
157
- "defaultValue": "Takip Numarası:",
157
+ "defaultValue": "Tracking Number:",
158
158
  "groupId": "shipping"
159
159
  },
160
160
  {
161
161
  "name": "quantityLabel",
162
- "displayName": "Adet Etiketi",
162
+ "displayName": "Quantity Label",
163
163
  "type": "TEXT",
164
164
  "required": false,
165
- "defaultValue": "adet",
165
+ "defaultValue": "items",
166
166
  "groupId": "orderInfo"
167
167
  },
168
168
  {
169
169
  "name": "errorText",
170
- "displayName": "Hata Metni",
170
+ "displayName": "Error Text",
171
171
  "type": "TEXT",
172
172
  "required": false,
173
- "defaultValue": "Sipariş bulunamadı.",
173
+ "defaultValue": "Order not found.",
174
174
  "groupId": "states"
175
175
  },
176
176
  {
177
177
  "name": "backToOrdersText",
178
- "displayName": "Siparişlere Dön Metni",
178
+ "displayName": "Back to Orders Text",
179
179
  "type": "TEXT",
180
180
  "required": false,
181
- "defaultValue": "Siparişlerime Dön",
181
+ "defaultValue": "Back to Orders",
182
182
  "groupId": "navigation"
183
183
  },
184
184
  {
185
185
  "name": "returnSuccessText",
186
- "displayName": "İade Başarılı Metni",
186
+ "displayName": "Return Success Text",
187
187
  "type": "TEXT",
188
188
  "required": false,
189
- "defaultValue": "İade talebiniz başarıyla oluşturuldu.",
189
+ "defaultValue": "Your return request has been successfully created.",
190
190
  "groupId": "returnRequest"
191
191
  },
192
192
  {
193
193
  "name": "returnErrorText",
194
- "displayName": "İade Hatası Metni",
194
+ "displayName": "Return Error Text",
195
195
  "type": "TEXT",
196
196
  "required": false,
197
- "defaultValue": "İade talebi oluşturulurken bir hata oluştu.",
197
+ "defaultValue": "An error occurred while creating the return request.",
198
198
  "groupId": "returnRequest"
199
199
  },
200
200
  {
201
201
  "name": "copiedText",
202
- "displayName": "Kopyalandı Metni",
202
+ "displayName": "Copied Text",
203
203
  "type": "TEXT",
204
204
  "required": false,
205
- "defaultValue": "Kopyalandı!",
205
+ "defaultValue": "Copied!",
206
206
  "groupId": "shipping"
207
207
  },
208
208
  {
209
209
  "name": "installmentText",
210
- "displayName": "Taksit Metni",
210
+ "displayName": "Installment Text",
211
211
  "type": "TEXT",
212
212
  "required": false,
213
- "defaultValue": "Taksit",
213
+ "defaultValue": "Installment",
214
214
  "groupId": "addressPayment"
215
215
  },
216
216
  {
217
217
  "name": "singlePaymentText",
218
- "displayName": "Tek Çekim Metni",
218
+ "displayName": "Single Payment Text",
219
219
  "type": "TEXT",
220
220
  "required": false,
221
- "defaultValue": "Tek Çekim",
221
+ "defaultValue": "Single Payment",
222
222
  "groupId": "addressPayment"
223
223
  },
224
224
  {
225
225
  "name": "downloadSectionTitle",
226
- "displayName": "İndirilebilir Dosyalar Başlığı",
226
+ "displayName": "Downloadable Files Title",
227
227
  "type": "TEXT",
228
228
  "required": false,
229
- "defaultValue": "İndirilebilir Dosyalar",
229
+ "defaultValue": "Downloadable Files",
230
230
  "groupId": "downloads"
231
231
  },
232
232
  {
233
233
  "name": "downloadButtonText",
234
- "displayName": "İndir Butonu",
234
+ "displayName": "Download Button",
235
235
  "type": "TEXT",
236
236
  "required": false,
237
- "defaultValue": "İndir",
237
+ "defaultValue": "Download",
238
238
  "groupId": "downloads"
239
239
  }
240
240
  ],
241
241
  "propGroups": [
242
242
  {
243
243
  "id": "orderInfo",
244
- "name": "Sipariş Bilgileri",
245
- "description": "Sipariş detay başlığında gösterilen etiketler (sipariş no, durum, tarih)"
244
+ "name": "Order Information",
245
+ "description": "Labels shown in order detail header (order no, status, date)"
246
246
  },
247
247
  {
248
248
  "id": "navigation",
249
- "name": "Navigasyon",
250
- "description": "Breadcrumb ve geri dönüş butonundaki metinler"
249
+ "name": "Navigation",
250
+ "description": "Breadcrumb and back button texts"
251
251
  },
252
252
  {
253
253
  "id": "addressPayment",
254
- "name": "Adres ve Ödeme",
255
- "description": "Teslimat adresi, fatura adresi ve ödeme bilgileri başlıkları"
254
+ "name": "Address & Payment",
255
+ "description": "Delivery address, billing address, and payment information titles"
256
256
  },
257
257
  {
258
258
  "id": "summary",
259
- "name": "Sipariş Özeti",
260
- "description": "Ara toplam, kargo, toplam gibi özet satır etiketleri"
259
+ "name": "Order Summary",
260
+ "description": "Summary row labels such as subtotal, shipping, and total"
261
261
  },
262
262
  {
263
263
  "id": "shipping",
264
- "name": "Kargo Bilgileri",
265
- "description": "Paket kargo şirketi, takip numarası ve kopyalama geri bildirimi"
264
+ "name": "Shipping Details",
265
+ "description": "Package shipping company, tracking number, and copy feedback"
266
266
  },
267
267
  {
268
268
  "id": "returnRequest",
269
- "name": "İade Talebi",
270
- "description": "İade ekranındaki başlık, buton ve bildirim metinleri"
269
+ "name": "Return Request",
270
+ "description": "Title, button, and notification texts on the return screen"
271
271
  },
272
272
  {
273
273
  "id": "states",
274
- "name": "Durum Mesajları",
275
- "description": "Yükleme ve hata durumlarında gösterilen metinler"
274
+ "name": "Status Messages",
275
+ "description": "Texts shown during loading and error states"
276
276
  },
277
277
  {
278
278
  "id": "downloads",
279
- "name": "İndirilebilir Dosyalar",
280
- "description": "Dijital ürün indirme bölümündeki başlık ve buton metinleri"
279
+ "name": "Downloadable Files",
280
+ "description": "Title and button texts in the digital product download section"
281
281
  }
282
282
  ]
283
283
  }
@@ -25,35 +25,35 @@ import ReturnView from "./components/ReturnView";
25
25
  import { Props } from "./types";
26
26
 
27
27
  export function AccountOrderDetail({
28
- breadcrumbOrdersLabel = "Siparişlerim",
29
- breadcrumbOrderLabel = "Nolu Sipariş",
30
- orderNoLabel = "Sipariş No:",
31
- orderStatusLabel = "Sipariş Durumu:",
32
- orderDateLabel = "Sipariş Tarihi:",
33
- returnButtonText = "İade Et",
34
- returningButtonText = "İade talebi gönderiliyor...",
35
- returnRequestTitle = "İade Talebi",
36
- returnSubmitText = "İade Et",
37
- deliveryAddressLabel = "Teslimat Adresi",
38
- billingAddressLabel = "Fatura Adresi",
39
- paymentInfoLabel = "Ödeme Bilgileri",
40
- summaryLabel = "Özet",
41
- subtotalLabel = "Ara Toplam",
42
- shippingLabel = "Kargo",
43
- totalLabel = "Toplam",
44
- taxIncludedText = "*vergiler dahil",
45
- installmentText = "Taksit",
46
- singlePaymentText = "Tek Çekim",
47
- cargoCompanyLabel = "Kargo Şirketi:",
48
- trackingNumberLabel = "Takip Numarası:",
49
- quantityLabel = "adet",
50
- errorText = "Sipariş bulunamadı.",
51
- backToOrdersText = "Siparişlerime Dön",
52
- returnSuccessText = "İade talebiniz başarıyla oluşturuldu.",
53
- returnErrorText = "İade talebi oluşturulurken bir hata oluştu.",
54
- copiedText = "Kopyalandı!",
55
- downloadSectionTitle = "İndirilebilir Dosyalar",
56
- downloadButtonText = "İndir",
28
+ breadcrumbOrdersLabel = "My Orders",
29
+ breadcrumbOrderLabel = "Order",
30
+ orderNoLabel = "Order No:",
31
+ orderStatusLabel = "Order Status:",
32
+ orderDateLabel = "Order Date:",
33
+ returnButtonText = "Return",
34
+ returningButtonText = "Submitting return request...",
35
+ returnRequestTitle = "Return Request",
36
+ returnSubmitText = "Return",
37
+ deliveryAddressLabel = "Delivery Address",
38
+ billingAddressLabel = "Billing Address",
39
+ paymentInfoLabel = "Payment Information",
40
+ summaryLabel = "Summary",
41
+ subtotalLabel = "Subtotal",
42
+ shippingLabel = "Shipping",
43
+ totalLabel = "Total",
44
+ taxIncludedText = "*taxes included",
45
+ installmentText = "Installment",
46
+ singlePaymentText = "Single Payment",
47
+ cargoCompanyLabel = "Shipping Company:",
48
+ trackingNumberLabel = "Tracking Number:",
49
+ quantityLabel = "items",
50
+ errorText = "Order not found.",
51
+ backToOrdersText = "Back to Orders",
52
+ returnSuccessText = "Your return request has been successfully created.",
53
+ returnErrorText = "An error occurred while creating the return request.",
54
+ copiedText = "Copied!",
55
+ downloadSectionTitle = "Downloadable Files",
56
+ downloadButtonText = "Download",
57
57
  }: Props) {
58
58
  const [order, setOrder] = useState<IkasOrder | null>(null);
59
59
  const [loading, setLoading] = useState(true);
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  export interface Props {
2
3
  breadcrumbOrdersLabel?: string;
3
4
  breadcrumbOrderLabel?: string;
@@ -7,79 +7,79 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "ordersLabel",
10
- "displayName": "Başlık",
10
+ "displayName": "Title",
11
11
  "type": "TEXT",
12
12
  "required": false,
13
- "defaultValue": "Siparişlerim",
13
+ "defaultValue": "My Orders",
14
14
  "groupId": "texts"
15
15
  },
16
16
  {
17
17
  "name": "emptyText",
18
- "displayName": "Boş Durum Metni",
18
+ "displayName": "Empty State Text",
19
19
  "type": "TEXT",
20
20
  "required": false,
21
- "defaultValue": "Henüz siparişiniz bulunmuyor.",
21
+ "defaultValue": "You don't have any orders yet.",
22
22
  "groupId": "texts"
23
23
  },
24
24
  {
25
25
  "name": "detailButtonText",
26
- "displayName": "Detay Butonu Metni",
26
+ "displayName": "Detail Button Text",
27
27
  "type": "TEXT",
28
28
  "required": false,
29
- "defaultValue": "Detaya Git",
29
+ "defaultValue": "View Details",
30
30
  "groupId": "cardTexts"
31
31
  },
32
32
  {
33
33
  "name": "orderNoText",
34
- "displayName": "Sipariş No Etiketi",
34
+ "displayName": "Order No Label",
35
35
  "type": "TEXT",
36
36
  "required": false,
37
- "defaultValue": "Sipariş No:",
37
+ "defaultValue": "Order No:",
38
38
  "groupId": "cardTexts"
39
39
  },
40
40
  {
41
41
  "name": "itemsText",
42
- "displayName": "Ürün Etiketi",
42
+ "displayName": "Product Label",
43
43
  "type": "TEXT",
44
44
  "required": false,
45
- "defaultValue": "Ürün",
45
+ "defaultValue": "Product",
46
46
  "groupId": "cardTexts"
47
47
  },
48
48
  {
49
49
  "name": "shopButtonText",
50
- "displayName": "Alışveriş Butonu Metni",
50
+ "displayName": "Shopping Button Text",
51
51
  "type": "TEXT",
52
52
  "required": false,
53
- "defaultValue": "Alışverişe Başla",
53
+ "defaultValue": "Start Shopping",
54
54
  "groupId": "texts"
55
55
  },
56
56
  {
57
57
  "name": "errorText",
58
- "displayName": "Hata Mesajı",
58
+ "displayName": "Error Message",
59
59
  "type": "TEXT",
60
60
  "required": false,
61
- "defaultValue": "Siparişler yüklenirken bir hata oluştu.",
61
+ "defaultValue": "An error occurred while loading orders.",
62
62
  "groupId": "texts"
63
63
  },
64
64
  {
65
65
  "name": "retryButtonText",
66
- "displayName": "Tekrar Dene Butonu Metni",
66
+ "displayName": "Try Again Button Text",
67
67
  "type": "TEXT",
68
68
  "required": false,
69
- "defaultValue": "Tekrar Dene",
69
+ "defaultValue": "Try Again",
70
70
  "groupId": "texts"
71
71
  }
72
72
  ],
73
73
  "propGroups": [
74
74
  {
75
75
  "id": "texts",
76
- "name": "Genel Metinler",
77
- "description": "Sayfa başlığı, yükleme ve boş durum mesajları"
76
+ "name": "General Texts",
77
+ "description": "Page title, loading, and empty state messages"
78
78
  },
79
79
  {
80
80
  "id": "cardTexts",
81
- "name": "Sipariş Kartı Metinleri",
82
- "description": "Her sipariş kartında görünen etiket ve buton metinleri"
81
+ "name": "Order Card Texts",
82
+ "description": "Label and button texts on each order card"
83
83
  }
84
84
  ]
85
85
  }
@@ -11,14 +11,14 @@ import OrderCard from "./components/OrderCard";
11
11
  import { Props } from "./types";
12
12
 
13
13
  export function AccountOrders({
14
- ordersLabel = "Siparişlerim",
15
- emptyText = "Henüz siparişiniz bulunmuyor.",
16
- detailButtonText = "Detaya Git",
17
- orderNoText = "Sipariş No:",
18
- itemsText = "Ürün",
19
- shopButtonText = "Alışverişe Başla",
20
- errorText = "Siparişler yüklenirken bir hata oluştu.",
21
- retryButtonText = "Tekrar Dene",
14
+ ordersLabel = "My Orders",
15
+ emptyText = "You don't have any orders yet.",
16
+ detailButtonText = "View Details",
17
+ orderNoText = "Order No:",
18
+ itemsText = "Product",
19
+ shopButtonText = "Start Shopping",
20
+ errorText = "An error occurred while loading orders.",
21
+ retryButtonText = "Try Again",
22
22
  }: Props) {
23
23
  const [orders, setOrders] = useState<IkasOrder[]>([]);
24
24
  const [loading, setLoading] = useState(true);
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  export interface Props {
2
3
  ordersLabel?: string;
3
4
  emptyText?: string;
@@ -3,8 +3,6 @@
3
3
 
4
4
  /** Enum type: {{ENUM_ID:AspectRatio}} */
5
5
  export type AspectRatio = "Square" | "Portrait" | "Landscape" | "Video";
6
- /** Enum type: __breakpointsEnum__ */
7
- export type Breakpoints = "desktop";
8
6
  /** Enum type: {{ENUM_ID:NumberOfColumns}} */
9
7
  export type NumberOfColumns = "One" | "Two" | "Three" | "Four" | "Five";
10
8
  /** Enum type: {{ENUM_ID:ObjectFit}} */
@@ -7,14 +7,10 @@ export function useScrollLock(
7
7
  ) {
8
8
  useEffect(() => {
9
9
  if (!enabled) return;
10
- const scrollbarWidth =
11
- window.innerWidth - document.documentElement.clientWidth;
12
10
  document.body.style.overflow = "hidden";
13
- document.body.style.paddingRight = `${scrollbarWidth}px`;
14
11
  return () => {
15
12
  if (skipCleanupRef?.current) return;
16
13
  document.body.style.overflow = "";
17
- document.body.style.paddingRight = "";
18
14
  };
19
15
  }, [enabled]);
20
16
  }