@ikas/code-components-mcp 0.116.0 → 0.118.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 +12 -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
@@ -101,10 +101,11 @@ const AddressModal = observer(function AddressModal({
101
101
  id: string,
102
102
  type?: string,
103
103
  ) => {
104
- if (!field?.label) return null;
104
+ if (!field) return null;
105
+
105
106
  return (
106
107
  <FormItem
107
- label={field.label}
108
+ label={field.label ?? ""}
108
109
  htmlFor={id}
109
110
  status={getFieldStatus(field)}
110
111
  helper={getFieldHelper(field)}
@@ -128,7 +129,7 @@ const AddressModal = observer(function AddressModal({
128
129
  setter: FormFieldSetter,
129
130
  id: string,
130
131
  ) => {
131
- if (!field?.label) return null;
132
+ if (!field) return null;
132
133
 
133
134
  if (field.isFreeText || !options?.length) {
134
135
  return renderInput(field, setter, id);
@@ -136,7 +137,7 @@ const AddressModal = observer(function AddressModal({
136
137
 
137
138
  return (
138
139
  <FormItem
139
- label={field.label}
140
+ label={field.label ?? ""}
140
141
  htmlFor={id}
141
142
  status={getFieldStatus(field)}
142
143
  helper={getFieldHelper(field)}
@@ -286,11 +287,7 @@ const AddressModal = observer(function AddressModal({
286
287
  className="kombos-address-modal__form"
287
288
  onSubmit={handleSubmit}
288
289
  >
289
- {renderInput(
290
- addressForm.title,
291
- setAddressFormTitle,
292
- "addr-title",
293
- )}
290
+ {renderInput(addressForm.title, setAddressFormTitle, "addr-title")}
294
291
  {renderRowLayout(addressForm.addressFormat ?? [], renderFormField)}
295
292
  </form>
296
293
  )}
@@ -18,5 +18,6 @@
18
18
 
19
19
  .kombos-address-modal__row > * {
20
20
  flex: 1;
21
+ min-width: 0;
21
22
  }
22
23
  }
@@ -7,116 +7,116 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "title",
10
- "displayName": "Başlık",
10
+ "displayName": "Title",
11
11
  "type": "TEXT",
12
12
  "required": false,
13
- "defaultValue": "Adreslerim",
13
+ "defaultValue": "My Addresses",
14
14
  "groupId": "general"
15
15
  },
16
16
  {
17
17
  "name": "emptyMessage",
18
- "displayName": "Boş Durum Mesajı",
18
+ "displayName": "Empty State Message",
19
19
  "type": "TEXT",
20
20
  "required": false,
21
- "defaultValue": "Henüz adres eklenmedi.",
21
+ "defaultValue": "No addresses added yet.",
22
22
  "groupId": "general"
23
23
  },
24
24
  {
25
25
  "name": "addButtonText",
26
- "displayName": "Ekle Butonu Metni",
26
+ "displayName": "Add Button Text",
27
27
  "type": "TEXT",
28
28
  "required": false,
29
- "defaultValue": "Adres Ekle",
29
+ "defaultValue": "Add Address",
30
30
  "groupId": "general"
31
31
  },
32
32
  {
33
33
  "name": "editButtonText",
34
- "displayName": "Düzenle Butonu Metni",
34
+ "displayName": "Edit Button Text",
35
35
  "type": "TEXT",
36
36
  "required": false,
37
- "defaultValue": "Düzenle",
37
+ "defaultValue": "Edit",
38
38
  "groupId": "general"
39
39
  },
40
40
  {
41
41
  "name": "modalTitleAdd",
42
- "displayName": "Modal Başlığı (Ekleme)",
42
+ "displayName": "Modal Title (Add)",
43
43
  "type": "TEXT",
44
44
  "required": false,
45
- "defaultValue": "Adres Ekle",
45
+ "defaultValue": "Add Address",
46
46
  "groupId": "addressModal"
47
47
  },
48
48
  {
49
49
  "name": "modalTitleEdit",
50
- "displayName": "Modal Başlığı (Düzenleme)",
50
+ "displayName": "Modal Title (Edit)",
51
51
  "type": "TEXT",
52
52
  "required": false,
53
- "defaultValue": "Adresi Düzenle",
53
+ "defaultValue": "Edit Address",
54
54
  "groupId": "addressModal"
55
55
  },
56
56
  {
57
57
  "name": "saveButtonText",
58
- "displayName": "Kaydet Butonu Metni",
58
+ "displayName": "Save Button Text",
59
59
  "type": "TEXT",
60
60
  "required": false,
61
- "defaultValue": "Kaydet",
61
+ "defaultValue": "Save",
62
62
  "groupId": "addressModal"
63
63
  },
64
64
  {
65
65
  "name": "savingButtonText",
66
- "displayName": "Kaydediliyor Metni",
66
+ "displayName": "Saving Text",
67
67
  "type": "TEXT",
68
68
  "required": false,
69
- "defaultValue": "Kaydediliyor...",
69
+ "defaultValue": "Saving...",
70
70
  "groupId": "addressModal"
71
71
  },
72
72
  {
73
73
  "name": "cancelButtonText",
74
- "displayName": "İptal Butonu Metni",
74
+ "displayName": "Cancel Button Text",
75
75
  "type": "TEXT",
76
76
  "required": false,
77
- "defaultValue": "Iptal",
77
+ "defaultValue": "Cancel",
78
78
  "groupId": "addressModal"
79
79
  },
80
80
  {
81
81
  "name": "deleteConfirmTitle",
82
- "displayName": "Silme Onay Başlığı",
82
+ "displayName": "Delete Confirmation Title",
83
83
  "type": "TEXT",
84
84
  "required": false,
85
- "defaultValue": "Adresi Sil",
85
+ "defaultValue": "Delete Address",
86
86
  "groupId": "deleteModal"
87
87
  },
88
88
  {
89
89
  "name": "deleteConfirmMessage",
90
- "displayName": "Silme Onay Mesajı",
90
+ "displayName": "Delete Confirmation Message",
91
91
  "type": "TEXT",
92
92
  "required": false,
93
- "defaultValue": "Bu adresi silmek istediginize emin misiniz?",
93
+ "defaultValue": "Are you sure you want to delete this address?",
94
94
  "groupId": "deleteModal"
95
95
  },
96
96
  {
97
97
  "name": "deleteButtonText",
98
- "displayName": "Sil Butonu Metni",
98
+ "displayName": "Delete Button Text",
99
99
  "type": "TEXT",
100
100
  "required": false,
101
- "defaultValue": "Sil",
101
+ "defaultValue": "Delete",
102
102
  "groupId": "deleteModal"
103
103
  }
104
104
  ],
105
105
  "propGroups": [
106
106
  {
107
107
  "id": "general",
108
- "name": "Genel",
109
- "description": "Sayfa başlığı, boş durum mesajı ve buton metinleri"
108
+ "name": "General",
109
+ "description": "Page title, empty state message, and button texts"
110
110
  },
111
111
  {
112
112
  "id": "addressModal",
113
- "name": "Adres Formu Modalı",
114
- "description": "Adres ekleme ve düzenleme modalındaki başlık ve buton metinleri"
113
+ "name": "Address Form Modal",
114
+ "description": "Title and button texts in the address add and edit modal"
115
115
  },
116
116
  {
117
117
  "id": "deleteModal",
118
- "name": "Silme Onayı Modalı",
119
- "description": "Adres silme onay modalındaki başlık, mesaj ve buton metinleri"
118
+ "name": "Delete Confirmation Modal",
119
+ "description": "Title, message, and button texts in the address delete confirmation modal"
120
120
  }
121
121
  ]
122
122
  }
@@ -11,18 +11,18 @@ import ConfirmModal from "../../sub-components/ConfirmModal";
11
11
  import { Props } from "./types";
12
12
 
13
13
  export function AccountAddresses({
14
- title = "Adreslerim",
15
- addButtonText = "Adres Ekle",
16
- emptyMessage = "Henüz adres eklenmedi.",
17
- editButtonText = "Düzenle",
18
- deleteButtonText = "Sil",
19
- saveButtonText = "Kaydet",
20
- savingButtonText = "Kaydediliyor...",
21
- cancelButtonText = "Iptal",
22
- modalTitleAdd = "Adres Ekle",
23
- modalTitleEdit = "Adresi Düzenle",
24
- deleteConfirmMessage = "Bu adresi silmek istediginize emin misiniz?",
25
- deleteConfirmTitle = "Adresi Sil",
14
+ title = "My Addresses",
15
+ addButtonText = "Add Address",
16
+ emptyMessage = "No addresses added yet.",
17
+ editButtonText = "Edit",
18
+ deleteButtonText = "Delete",
19
+ saveButtonText = "Save",
20
+ savingButtonText = "Saving...",
21
+ cancelButtonText = "Cancel",
22
+ modalTitleAdd = "Add Address",
23
+ modalTitleEdit = "Edit Address",
24
+ deleteConfirmMessage = "Are you sure you want to delete this address?",
25
+ deleteConfirmTitle = "Delete Address",
26
26
  }: Props) {
27
27
  const [modalOpen, setModalOpen] = useState(false);
28
28
  const [editingAddress, setEditingAddress] = useState<
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  export interface Props {
2
3
  title?: string;
3
4
  emptyMessage?: string;
@@ -7,31 +7,31 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "favoritesLabel",
10
- "displayName": "Başlık",
10
+ "displayName": "Title",
11
11
  "type": "TEXT",
12
12
  "required": false,
13
- "defaultValue": "Favorilerim",
13
+ "defaultValue": "My Favorites",
14
14
  "groupId": "texts"
15
15
  },
16
16
  {
17
17
  "name": "emptyFavoritesText",
18
- "displayName": "Boş Liste Mesajı",
18
+ "displayName": "Empty List Message",
19
19
  "type": "TEXT",
20
20
  "required": false,
21
- "defaultValue": "Henuz favori urun eklemediniz.",
21
+ "defaultValue": "You haven't added any favorites yet.",
22
22
  "groupId": "texts"
23
23
  },
24
24
  {
25
25
  "name": "addToCartText",
26
- "displayName": "Sepete Ekle Butonu",
26
+ "displayName": "Add to Cart Button",
27
27
  "type": "TEXT",
28
28
  "required": false,
29
- "defaultValue": "Sepete Ekle",
29
+ "defaultValue": "Add to Cart",
30
30
  "groupId": "texts"
31
31
  },
32
32
  {
33
33
  "name": "components",
34
- "displayName": "Bileşenler",
34
+ "displayName": "Components",
35
35
  "type": "COMPONENT_LIST",
36
36
  "required": false,
37
37
  "privateVarMap": {
@@ -50,8 +50,8 @@
50
50
  "propGroups": [
51
51
  {
52
52
  "id": "texts",
53
- "name": "Metinler",
54
- "description": "Bileşende görünen tüm metinler"
53
+ "name": "Texts",
54
+ "description": "All texts shown in the component"
55
55
  }
56
56
  ]
57
57
  }
@@ -12,9 +12,9 @@ import { Props } from "./types";
12
12
 
13
13
  export function AccountFavorites(props: Props) {
14
14
  const {
15
- favoritesLabel = "Favorilerim",
16
- emptyFavoritesText = "Henuz favori urun eklemediniz.",
17
- addToCartText = "Sepete Ekle",
15
+ favoritesLabel = "My Favorites",
16
+ emptyFavoritesText = "You haven't added any favorites yet.",
17
+ addToCartText = "Add to Cart",
18
18
  components,
19
19
  } = props;
20
20
  const [favorites, setFavorites] = useState<IkasProduct[]>([]);
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  export interface Props {
2
3
  favoritesLabel?: string;
3
4
  emptyFavoritesText?: string;
@@ -7,60 +7,60 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "title",
10
- "displayName": "Başlık",
10
+ "displayName": "Title",
11
11
  "type": "TEXT",
12
12
  "required": false,
13
- "defaultValue": "Hesap Bilgilerim",
13
+ "defaultValue": "My Account",
14
14
  "groupId": "texts"
15
15
  },
16
16
  {
17
17
  "name": "successMessage",
18
- "displayName": "Başarı Mesajı",
18
+ "displayName": "Success Message",
19
19
  "type": "TEXT",
20
20
  "required": false,
21
- "defaultValue": "Bilgileriniz guncellendi.",
21
+ "defaultValue": "Your information has been updated.",
22
22
  "groupId": "messages"
23
23
  },
24
24
  {
25
25
  "name": "submitButtonText",
26
- "displayName": "Kaydet Butonu",
26
+ "displayName": "Save Button",
27
27
  "type": "TEXT",
28
28
  "required": false,
29
- "defaultValue": "Kaydet",
29
+ "defaultValue": "Save",
30
30
  "groupId": "buttons"
31
31
  },
32
32
  {
33
33
  "name": "submittingButtonText",
34
- "displayName": "Kaydediliyor Metni",
34
+ "displayName": "Saving Text",
35
35
  "type": "TEXT",
36
36
  "required": false,
37
- "defaultValue": "Kaydediliyor...",
37
+ "defaultValue": "Saving...",
38
38
  "groupId": "buttons"
39
39
  },
40
40
  {
41
41
  "name": "emailLabel",
42
- "displayName": "E-posta",
42
+ "displayName": "Email",
43
43
  "type": "TEXT",
44
44
  "required": false,
45
- "defaultValue": "E-posta",
45
+ "defaultValue": "Email",
46
46
  "groupId": "texts"
47
47
  }
48
48
  ],
49
49
  "propGroups": [
50
50
  {
51
51
  "id": "texts",
52
- "name": "Metinler",
53
- "description": "Sayfa başlığı ve form etiketleri"
52
+ "name": "Texts",
53
+ "description": "Page title and form labels"
54
54
  },
55
55
  {
56
56
  "id": "buttons",
57
- "name": "Butonlar",
58
- "description": "Kaydet butonu metinleri"
57
+ "name": "Buttons",
58
+ "description": "Save button texts"
59
59
  },
60
60
  {
61
61
  "id": "messages",
62
- "name": "Mesajlar",
63
- "description": "Başarı ve hata geri bildirim mesajları"
62
+ "name": "Messages",
63
+ "description": "Success and error feedback messages"
64
64
  }
65
65
  ]
66
66
  }
@@ -15,11 +15,11 @@ import SkeletonField from "../../sub-components/SkeletonField";
15
15
  import { Props } from "./types";
16
16
 
17
17
  export function AccountInfoContent({
18
- title = "Hesap Bilgilerim",
19
- successMessage = "Bilgileriniz guncellendi.",
20
- submitButtonText = "Kaydet",
21
- submittingButtonText = "Kaydediliyor...",
22
- emailLabel = "E-posta",
18
+ title = "My Account",
19
+ successMessage = "Your information has been updated.",
20
+ submitButtonText = "Save",
21
+ submittingButtonText = "Saving...",
22
+ emailLabel = "Email",
23
23
  }: Props) {
24
24
  const accountForm = getAccountInfoForm(customerStore);
25
25
  const [isLoading, setIsLoading] = useState(true);
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  export interface Props {
2
3
  title?: string;
3
4
  successMessage?: string;