@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
@@ -7,29 +7,29 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "product",
10
- "displayName": "Ürün",
10
+ "displayName": "Product",
11
11
  "type": "PRODUCT",
12
12
  "required": false
13
13
  },
14
14
  {
15
15
  "name": "aspectRatio",
16
- "displayName": "En Boy Oranı",
16
+ "displayName": "Aspect Ratio",
17
17
  "type": "ENUM",
18
18
  "required": false,
19
- "groupId": "gorsel-ayarlari",
19
+ "groupId": "image-settings",
20
20
  "enumTypeId": "{{ENUM_ID:AspectRatio}}"
21
21
  },
22
22
  {
23
23
  "name": "objectFit",
24
- "displayName": "Görsel Sığdırma",
24
+ "displayName": "Image Fit",
25
25
  "type": "ENUM",
26
26
  "required": false,
27
- "groupId": "gorsel-ayarlari",
27
+ "groupId": "image-settings",
28
28
  "enumTypeId": "{{ENUM_ID:ObjectFit}}"
29
29
  },
30
30
  {
31
31
  "name": "components",
32
- "displayName": "Bilgi Bileşenleri",
32
+ "displayName": "Info Components",
33
33
  "type": "COMPONENT_LIST",
34
34
  "required": false,
35
35
  "filteredComponentIds": [
@@ -48,7 +48,7 @@
48
48
  },
49
49
  {
50
50
  "name": "bottomComponents",
51
- "displayName": "Alt Bileşenler",
51
+ "displayName": "Sub Components",
52
52
  "type": "COMPONENT_LIST",
53
53
  "required": false,
54
54
  "filteredComponentIds": [
@@ -58,11 +58,11 @@
58
58
  },
59
59
  {
60
60
  "name": "homepageText",
61
- "displayName": "Anasayfa Metni",
61
+ "displayName": "Home Text",
62
62
  "type": "TEXT",
63
63
  "required": false,
64
- "defaultValue": "Anasayfa",
65
- "groupId": "metinler"
64
+ "defaultValue": "Home",
65
+ "groupId": "texts"
66
66
  },
67
67
  {
68
68
  "name": "backgroundColor",
@@ -74,14 +74,14 @@
74
74
  ],
75
75
  "propGroups": [
76
76
  {
77
- "id": "gorsel-ayarlari",
78
- "name": "Görsel Ayarları",
79
- "description": "Ürün görselinin en boy oranı ve sığdırma modu"
77
+ "id": "image-settings",
78
+ "name": "Image Settings",
79
+ "description": "Product image aspect ratio and fit mode"
80
80
  },
81
81
  {
82
- "id": "metinler",
83
- "name": "Metinler",
84
- "description": "Breadcrumb ve sayfa metinleri"
82
+ "id": "texts",
83
+ "name": "Texts",
84
+ "description": "Breadcrumb and page texts"
85
85
  }
86
86
  ]
87
87
  }
@@ -19,7 +19,7 @@ export function ProductDetail(props: Props) {
19
19
  aspectRatio,
20
20
  objectFit,
21
21
  bottomComponents,
22
- homepageText = "Anasayfa",
22
+ homepageText = "Home",
23
23
  } = props;
24
24
  if (!product) return null;
25
25
 
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasProduct } from "@ikas/bp-storefront";
2
3
  import type { AspectRatio, ObjectFit } from "../../global-types";
3
4
 
@@ -7,13 +7,13 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "product",
10
- "displayName": "Ürün",
10
+ "displayName": "Product",
11
11
  "type": "PRODUCT",
12
12
  "required": false
13
13
  },
14
14
  {
15
15
  "name": "mobileMarginTop",
16
- "displayName": "Üst Boşluk",
16
+ "displayName": "Top Spacing",
17
17
  "type": "TYPE",
18
18
  "required": false,
19
19
  "groupId": "mobile",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  {
23
23
  "name": "mobileMarginBottom",
24
- "displayName": "Alt Boşluk",
24
+ "displayName": "Bottom Spacing",
25
25
  "type": "TYPE",
26
26
  "required": false,
27
27
  "groupId": "mobile",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  {
31
31
  "name": "desktopMarginTop",
32
- "displayName": "Üst Boşluk",
32
+ "displayName": "Top Spacing",
33
33
  "type": "TYPE",
34
34
  "required": false,
35
35
  "groupId": "desktop",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  {
39
39
  "name": "desktopMarginBottom",
40
- "displayName": "Alt Boşluk",
40
+ "displayName": "Bottom Spacing",
41
41
  "type": "TYPE",
42
42
  "required": false,
43
43
  "groupId": "desktop",
@@ -47,20 +47,20 @@
47
47
  "propGroups": [
48
48
  {
49
49
  "id": "appearance",
50
- "name": "Görünüm Ayarları",
50
+ "name": "Appearance Settings",
51
51
  "children": [
52
52
  {
53
53
  "id": "mobile",
54
- "name": "Mobil Görünüm",
55
- "description": "Mobil cihazlarda uygulanacak margin ayarları"
54
+ "name": "Mobile View",
55
+ "description": "Margin settings for mobile devices"
56
56
  },
57
57
  {
58
58
  "id": "desktop",
59
- "name": "Masaüstü Görünüm",
60
- "description": "Masaüstü cihazlarda uygulanacak margin ayarları"
59
+ "name": "Desktop View",
60
+ "description": "Margin settings for desktop devices"
61
61
  }
62
62
  ],
63
- "description": "Bileşenin mobil ve masaüstü görünüm ayarları"
63
+ "description": "Component mobile and desktop view settings"
64
64
  }
65
65
  ]
66
66
  }
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasProduct, MarginTopStyleType, MarginBottomStyleType } from "@ikas/bp-storefront";
2
3
 
3
4
  export interface Props {
@@ -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
  }
@@ -126,18 +126,18 @@
126
126
  "propGroups": [
127
127
  {
128
128
  "id": "texts",
129
- "name": "Metinler",
130
- "description": "Bölüm başlığı, boş durum ve yorum sayısı metinleri"
129
+ "name": "Texts",
130
+ "description": "Section title, empty state, and review count texts"
131
131
  },
132
132
  {
133
133
  "id": "form",
134
- "name": "Form Metinleri",
135
- "description": "Yorum yazma formundaki alan ve buton metinleri"
134
+ "name": "Form Texts",
135
+ "description": "Field and button texts in the review form"
136
136
  },
137
137
  {
138
138
  "id": "settings",
139
- "name": "Ayarlar",
140
- "description": "Sayfalama ve görüntüleme ayarları"
139
+ "name": "Settings",
140
+ "description": "Pagination and display settings"
141
141
  }
142
142
  ]
143
143
  }
@@ -1,4 +1,5 @@
1
1
  import { useState, useEffect, useRef, useId } from "preact/hooks";
2
+ import { createPortal } from "preact/compat";
2
3
  import type { ComponentChildren } from "preact";
3
4
  import { useScrollLock } from "../../hooks/useScrollLock";
4
5
  import { cx } from "../../utils/cx";
@@ -58,7 +59,7 @@ export default function Modal({
58
59
  return () => document.removeEventListener("keydown", handleKeyDown);
59
60
  }, []);
60
61
 
61
- return (
62
+ return createPortal(
62
63
  <div
63
64
  className={cx("kombos-modal", visible && "kombos-modal--open", className)}
64
65
  role="dialog"
@@ -113,6 +114,7 @@ export default function Modal({
113
114
  )
114
115
  ))}
115
116
  </div>
116
- </div>
117
+ </div>,
118
+ document.body,
117
119
  );
118
120
  }
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasProduct } from "@ikas/bp-storefront";
2
3
 
3
4
  export interface Props {
@@ -7,13 +7,13 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "product",
10
- "displayName": "Ürün",
10
+ "displayName": "Product",
11
11
  "type": "PRODUCT",
12
12
  "required": false
13
13
  },
14
14
  {
15
15
  "name": "singleLineName",
16
- "displayName": "Tek Satır İsim",
16
+ "displayName": "Single Row First Name",
17
17
  "type": "BOOLEAN",
18
18
  "required": false
19
19
  }
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasProduct } from "@ikas/bp-storefront";
2
3
 
3
4
  export interface Props {
@@ -7,7 +7,7 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "product",
10
- "displayName": "Ürün",
10
+ "displayName": "Product",
11
11
  "type": "PRODUCT",
12
12
  "required": false
13
13
  }
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasProduct } from "@ikas/bp-storefront";
2
3
 
3
4
  export interface Props {
@@ -7,7 +7,7 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "product",
10
- "displayName": "Ürün",
10
+ "displayName": "Product",
11
11
  "type": "PRODUCT",
12
12
  "required": false
13
13
  }
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasProduct } from "@ikas/bp-storefront";
2
3
 
3
4
  export interface Props {
@@ -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,54 +7,54 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "productList",
10
- "displayName": "Ürünler",
10
+ "displayName": "Products",
11
11
  "type": "PRODUCT_LIST",
12
12
  "required": true,
13
13
  "groupId": "content"
14
14
  },
15
15
  {
16
16
  "name": "title",
17
- "displayName": "Bölüm Başlığı",
17
+ "displayName": "Section Title",
18
18
  "type": "TEXT",
19
19
  "required": false,
20
- "defaultValue": "Yeni Gelenler",
20
+ "defaultValue": "New Arrivals",
21
21
  "groupId": "content"
22
22
  },
23
23
  {
24
24
  "name": "addToCartText",
25
- "displayName": "Sepete Ekle Butonu",
25
+ "displayName": "Add to Cart Button",
26
26
  "type": "TEXT",
27
27
  "required": false,
28
- "defaultValue": "Sepete Ekle",
28
+ "defaultValue": "Add to Cart",
29
29
  "groupId": "texts"
30
30
  },
31
31
  {
32
32
  "name": "addedToCartText",
33
- "displayName": "Eklendi Bildirimi",
33
+ "displayName": "Added Notification",
34
34
  "type": "TEXT",
35
35
  "required": false,
36
- "defaultValue": "Sepete Eklendi",
36
+ "defaultValue": "Added to Cart",
37
37
  "groupId": "texts"
38
38
  },
39
39
  {
40
40
  "name": "outOfStockText",
41
- "displayName": "Stokta Yok Metni",
41
+ "displayName": "Out of Stock Text",
42
42
  "type": "TEXT",
43
43
  "required": false,
44
- "defaultValue": "Tükendi",
44
+ "defaultValue": "Sold Out",
45
45
  "groupId": "texts"
46
46
  },
47
47
  {
48
48
  "name": "goToProductText",
49
- "displayName": "Ürüne Git Butonu",
49
+ "displayName": "View Product Button",
50
50
  "type": "TEXT",
51
51
  "required": false,
52
- "defaultValue": "Ürüne Git",
52
+ "defaultValue": "View Product",
53
53
  "groupId": "texts"
54
54
  },
55
55
  {
56
56
  "name": "desktopColumns",
57
- "displayName": "Sütun Sayısı",
57
+ "displayName": "Column Count",
58
58
  "type": "ENUM",
59
59
  "required": false,
60
60
  "groupId": "appearance",
@@ -62,7 +62,7 @@
62
62
  },
63
63
  {
64
64
  "name": "aspectRatio",
65
- "displayName": "En Boy Oranı",
65
+ "displayName": "Aspect Ratio",
66
66
  "type": "ENUM",
67
67
  "required": false,
68
68
  "groupId": "appearance",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  {
72
72
  "name": "objectFit",
73
- "displayName": "Görsel Sığdırma",
73
+ "displayName": "Image Fit",
74
74
  "type": "ENUM",
75
75
  "required": false,
76
76
  "groupId": "appearance",
@@ -78,14 +78,14 @@
78
78
  },
79
79
  {
80
80
  "name": "hideAddToCartButton",
81
- "displayName": "Sepete Ekle Butonunu Gizle",
81
+ "displayName": "Hide Add to Cart Button",
82
82
  "type": "BOOLEAN",
83
83
  "required": false,
84
84
  "groupId": "appearance"
85
85
  },
86
86
  {
87
87
  "name": "components",
88
- "displayName": "Bileşenler",
88
+ "displayName": "Components",
89
89
  "type": "COMPONENT_LIST",
90
90
  "required": false,
91
91
  "privateVarMap": {
@@ -111,18 +111,18 @@
111
111
  "propGroups": [
112
112
  {
113
113
  "id": "content",
114
- "name": "İçerik",
115
- "description": "Slider'da gösterilecek ürün listesi ve bölüm başlığı"
114
+ "name": "Content",
115
+ "description": "Product list and section title for the slider"
116
116
  },
117
117
  {
118
118
  "id": "texts",
119
- "name": "Metinler",
120
- "description": "Ürün kartlarında görünen buton ve durum metinleri"
119
+ "name": "Texts",
120
+ "description": "Button and status texts on product cards"
121
121
  },
122
122
  {
123
123
  "id": "appearance",
124
- "name": "Görünüm",
125
- "description": "Sütun sayısı, görsel ayarları ve kart görünüm tercihleri"
124
+ "name": "Appearance",
125
+ "description": "Column count, image settings, and card view preferences"
126
126
  }
127
127
  ]
128
128
  }
@@ -25,10 +25,10 @@ export function ProductSlider(props: Props) {
25
25
  const {
26
26
  productList,
27
27
  title,
28
- addToCartText = "Sepete Ekle",
29
- addedToCartText = "Sepete Eklendi",
30
- outOfStockText = "Tükendi",
31
- goToProductText = "Ürüne Git",
28
+ addToCartText = "Add to Cart",
29
+ addedToCartText = "Added to Cart",
30
+ outOfStockText = "Sold Out",
31
+ goToProductText = "View Product",
32
32
  desktopColumns,
33
33
  aspectRatio,
34
34
  objectFit,
@@ -49,9 +49,9 @@ interface Props {
49
49
  const ProductCard = observer(function ProductCard({
50
50
  product,
51
51
  addToCartText,
52
- addedToCartText = "Sepete Eklendi",
53
- outOfStockText = "Tükendi",
54
- goToProductText = "Ürüne Git",
52
+ addedToCartText = "Added to Cart",
53
+ outOfStockText = "Sold Out",
54
+ goToProductText = "View Product",
55
55
  showFavorite = true,
56
56
  hideAddToCartButton = false,
57
57
  badgeText,
@@ -60,7 +60,7 @@ const ProductCard = observer(function ProductCard({
60
60
  dataPage,
61
61
  sizes = "(max-width: 767px) calc(50vw - 24px), (max-width: 1023px) calc(50vw - 44px), 300px",
62
62
  openCartOnAdd = true,
63
- errorMessage = "Ürün sepete eklenemedi",
63
+ errorMessage = "Failed to add product to cart",
64
64
  onFavoriteRemove,
65
65
  priority = false,
66
66
  }: Props) {
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasProductList } from "@ikas/bp-storefront";
2
3
  import type { AspectRatio, NumberOfColumns, ObjectFit } from "../../global-types";
3
4
 
@@ -18,16 +18,16 @@ interface RecoverPasswordFormProps extends Omit<Props, "backgroundColor"> {
18
18
 
19
19
  const RecoverPasswordForm = observer(function RecoverPasswordForm({
20
20
  recoverForm,
21
- title = "Parola Değiştirme",
22
- subtitle = "Lütfen yeni parolanızı belirleyiniz.",
23
- passwordLabel = "Yeni Şifre",
24
- passwordPlaceholder = "Parola",
25
- passwordAgainLabel = "Yeni Şifre Tekrar",
26
- passwordAgainPlaceholder = "Parola",
27
- submitButtonText = "Değiştir",
28
- submittingButtonText = "Değiştiriliyor...",
29
- successMessage = "Parolanız başarıyla değiştirildi.",
30
- loginLinkText = "Giriş Yap",
21
+ title = "Change Password",
22
+ subtitle = "Please set your new password.",
23
+ passwordLabel = "New Password",
24
+ passwordPlaceholder = "Password",
25
+ passwordAgainLabel = "Confirm New Password",
26
+ passwordAgainPlaceholder = "Password",
27
+ submitButtonText = "Change",
28
+ submittingButtonText = "Changing...",
29
+ successMessage = "Your password has been successfully changed.",
30
+ loginLinkText = "Sign In",
31
31
  }: RecoverPasswordFormProps) {
32
32
  const handleSubmit = async (e: Event) => {
33
33
  e.preventDefault();