@ikas/code-components-mcp 0.115.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 (188) 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/package.json +1 -1
@@ -7,47 +7,47 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "accountInfoLabel",
10
- "displayName": "Hesap Bilgileri",
10
+ "displayName": "Account Info",
11
11
  "type": "TEXT",
12
12
  "required": false,
13
- "defaultValue": "Hesap Bilgilerim",
13
+ "defaultValue": "My Account",
14
14
  "groupId": "sidebar"
15
15
  },
16
16
  {
17
17
  "name": "ordersLabel",
18
- "displayName": "Siparişler",
18
+ "displayName": "Orders",
19
19
  "type": "TEXT",
20
20
  "required": false,
21
- "defaultValue": "Siparislerim",
21
+ "defaultValue": "My Orders",
22
22
  "groupId": "sidebar"
23
23
  },
24
24
  {
25
25
  "name": "addressesLabel",
26
- "displayName": "Adresler",
26
+ "displayName": "Addresses",
27
27
  "type": "TEXT",
28
28
  "required": false,
29
- "defaultValue": "Adreslerim",
29
+ "defaultValue": "My Addresses",
30
30
  "groupId": "sidebar"
31
31
  },
32
32
  {
33
33
  "name": "favoritesLabel",
34
- "displayName": "Favoriler",
34
+ "displayName": "Favorites",
35
35
  "type": "TEXT",
36
36
  "required": false,
37
- "defaultValue": "Favorilerim",
37
+ "defaultValue": "My Favorites",
38
38
  "groupId": "sidebar"
39
39
  },
40
40
  {
41
41
  "name": "logoutLabel",
42
- "displayName": "Çıkış Yap",
42
+ "displayName": "Sign Out",
43
43
  "type": "TEXT",
44
44
  "required": false,
45
- "defaultValue": "Cikis Yap",
45
+ "defaultValue": "Sign Out",
46
46
  "groupId": "sidebar"
47
47
  },
48
48
  {
49
49
  "name": "components",
50
- "displayName": "Bileşenler",
50
+ "displayName": "Components",
51
51
  "type": "COMPONENT_LIST",
52
52
  "required": false,
53
53
  "filteredComponentIds": [
@@ -69,8 +69,8 @@
69
69
  "propGroups": [
70
70
  {
71
71
  "id": "sidebar",
72
- "name": "Kenar Menüsü",
73
- "description": "Kenar menüsündeki sekme etiketleri"
72
+ "name": "Sidebar Menu",
73
+ "description": "Tab labels in the sidebar menu"
74
74
  }
75
75
  ]
76
76
  }
@@ -41,11 +41,11 @@ export function AccountInfo(props: Props) {
41
41
  }, []);
42
42
 
43
43
  const {
44
- accountInfoLabel = "Hesap Bilgilerim",
45
- ordersLabel = "Siparislerim",
46
- addressesLabel = "Adreslerim",
47
- favoritesLabel = "Favorilerim",
48
- logoutLabel = "Cikis Yap",
44
+ accountInfoLabel = "My Account",
45
+ ordersLabel = "My Orders",
46
+ addressesLabel = "My Addresses",
47
+ favoritesLabel = "My Favorites",
48
+ logoutLabel = "Sign Out",
49
49
  components,
50
50
  } = props;
51
51
  const activeTab = getActiveTabFromPath();
@@ -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
  }
@@ -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
  export interface Props {
2
3
  accountInfoLabel?: string;
3
4
  ordersLabel?: string;
@@ -7,37 +7,37 @@
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": "addToCartButtonText",
16
- "displayName": "Sepete Ekle Butonu Metni",
16
+ "displayName": "Add to Cart Button Text",
17
17
  "type": "TEXT",
18
18
  "required": false,
19
- "defaultValue": "Sepete Ekle",
19
+ "defaultValue": "Add to Cart",
20
20
  "groupId": "texts"
21
21
  },
22
22
  {
23
23
  "name": "addingToCartText",
24
- "displayName": "Sepete Ekleniyor Metni",
24
+ "displayName": "Adding to Cart Text",
25
25
  "type": "TEXT",
26
26
  "required": false,
27
- "defaultValue": "Ekleniyor...",
27
+ "defaultValue": "Adding...",
28
28
  "groupId": "texts"
29
29
  },
30
30
  {
31
31
  "name": "outOfStockText",
32
- "displayName": "Tükendi Metni",
32
+ "displayName": "Sold Out Text",
33
33
  "type": "TEXT",
34
34
  "required": false,
35
- "defaultValue": "Tükendi",
35
+ "defaultValue": "Sold Out",
36
36
  "groupId": "texts"
37
37
  },
38
38
  {
39
39
  "name": "mobileMarginTop",
40
- "displayName": "Üst Boşluk",
40
+ "displayName": "Top Spacing",
41
41
  "type": "TYPE",
42
42
  "required": false,
43
43
  "groupId": "mobile",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "name": "mobileMarginBottom",
48
- "displayName": "Alt Boşluk",
48
+ "displayName": "Bottom Spacing",
49
49
  "type": "TYPE",
50
50
  "required": false,
51
51
  "groupId": "mobile",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  {
55
55
  "name": "desktopMarginTop",
56
- "displayName": "Üst Boşluk",
56
+ "displayName": "Top Spacing",
57
57
  "type": "TYPE",
58
58
  "required": false,
59
59
  "groupId": "desktop",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  {
63
63
  "name": "desktopMarginBottom",
64
- "displayName": "Alt Boşluk",
64
+ "displayName": "Bottom Spacing",
65
65
  "type": "TYPE",
66
66
  "required": false,
67
67
  "groupId": "desktop",
@@ -69,71 +69,71 @@
69
69
  },
70
70
  {
71
71
  "name": "hideQuantityInput",
72
- "displayName": "Adet Seçiciyi Gizle",
72
+ "displayName": "Hide Quantity Selector",
73
73
  "type": "BOOLEAN",
74
74
  "required": false,
75
75
  "groupId": "settings"
76
76
  },
77
77
  {
78
78
  "name": "errorMessage",
79
- "displayName": "Hata Mesajı",
79
+ "displayName": "Error Message",
80
80
  "type": "TEXT",
81
81
  "required": false,
82
- "defaultValue": "Ürün sepete eklenemedi",
82
+ "defaultValue": "Failed to add product to cart",
83
83
  "groupId": "texts"
84
84
  },
85
85
  {
86
86
  "name": "optionSetErrorMessage",
87
- "displayName": "Seçenek Seti Hata Mesajı",
87
+ "displayName": "Option Set Error Message",
88
88
  "type": "TEXT",
89
89
  "required": false,
90
- "defaultValue": "Lütfen gerekli seçenekleri doldurun",
90
+ "defaultValue": "Please fill in the required options",
91
91
  "groupId": "texts"
92
92
  },
93
93
  {
94
94
  "name": "updateCartButtonText",
95
- "displayName": "Sepeti Güncelle Butonu Metni",
95
+ "displayName": "Update Cart Button Text",
96
96
  "type": "TEXT",
97
97
  "required": false,
98
- "defaultValue": "Güncelle",
98
+ "defaultValue": "Update",
99
99
  "groupId": "texts"
100
100
  },
101
101
  {
102
102
  "name": "updatingCartText",
103
- "displayName": "Sepet Güncelleniyor Metni",
103
+ "displayName": "Updating Cart Text",
104
104
  "type": "TEXT",
105
105
  "required": false,
106
- "defaultValue": "Güncelleniyor...",
106
+ "defaultValue": "Updating...",
107
107
  "groupId": "texts"
108
108
  }
109
109
  ],
110
110
  "propGroups": [
111
111
  {
112
112
  "id": "appearance",
113
- "name": "Görünüm Ayarları",
113
+ "name": "Appearance Settings",
114
114
  "children": [
115
115
  {
116
116
  "id": "mobile",
117
- "name": "Mobil Görünüm",
118
- "description": "Mobil cihazlarda uygulanacak margin ayarları"
117
+ "name": "Mobile View",
118
+ "description": "Margin settings for mobile devices"
119
119
  },
120
120
  {
121
121
  "id": "desktop",
122
- "name": "Masaüstü Görünüm",
123
- "description": "Masaüstü cihazlarda uygulanacak margin ayarları"
122
+ "name": "Desktop View",
123
+ "description": "Margin settings for desktop devices"
124
124
  }
125
125
  ],
126
- "description": "Bileşenin mobil ve masaüstü görünüm ayarları"
126
+ "description": "Component mobile and desktop view settings"
127
127
  },
128
128
  {
129
129
  "id": "texts",
130
- "name": "Metinler",
131
- "description": "Buton ve durum metinleri"
130
+ "name": "Texts",
131
+ "description": "Button and status texts"
132
132
  },
133
133
  {
134
134
  "id": "settings",
135
- "name": "Ayarlar",
136
- "description": "Bileşen davranışını kontrol eden ayarlar"
135
+ "name": "Settings",
136
+ "description": "Settings that control component behavior"
137
137
  }
138
138
  ]
139
139
  }
@@ -21,13 +21,13 @@ import { showToast } from "../../utils/toast";
21
21
 
22
22
  export function ProductDetailAddToCart({
23
23
  product,
24
- addToCartButtonText = "Sepete Ekle",
25
- addingToCartText = "Ekleniyor...",
26
- outOfStockText = "Tükendi",
27
- errorMessage = "Ürün sepete eklenemedi",
28
- optionSetErrorMessage = "Lütfen gerekli seçenekleri doldurun",
29
- updateCartButtonText = "Güncelle",
30
- updatingCartText = "Güncelleniyor...",
24
+ addToCartButtonText = "Add to Cart",
25
+ addingToCartText = "Adding...",
26
+ outOfStockText = "Sold Out",
27
+ errorMessage = "Failed to add product to cart",
28
+ optionSetErrorMessage = "Please fill in the required options",
29
+ updateCartButtonText = "Update",
30
+ updatingCartText = "Updating...",
31
31
  hideQuantityInput = false,
32
32
  mobileMarginTop,
33
33
  mobileMarginBottom,
@@ -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 {
@@ -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,21 +7,21 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "blogList",
10
- "displayName": "Blog Yazıları",
10
+ "displayName": "Blog Posts",
11
11
  "type": "BLOG_LIST",
12
12
  "required": true,
13
13
  "groupId": "content"
14
14
  },
15
15
  {
16
16
  "name": "blogCategoryList",
17
- "displayName": "Blog Kategorileri",
17
+ "displayName": "Blog Categories",
18
18
  "type": "BLOG_CATEGORY_LIST",
19
19
  "required": false,
20
20
  "groupId": "content"
21
21
  },
22
22
  {
23
23
  "name": "title",
24
- "displayName": "Başlık",
24
+ "displayName": "Title",
25
25
  "type": "TEXT",
26
26
  "required": false,
27
27
  "defaultValue": "Blog",
@@ -29,31 +29,31 @@
29
29
  },
30
30
  {
31
31
  "name": "allCategoriesText",
32
- "displayName": "Tümü Butonu Metni",
32
+ "displayName": "View All Button Text",
33
33
  "type": "TEXT",
34
34
  "required": false,
35
- "defaultValue": "Tumunu Gor",
35
+ "defaultValue": "View All",
36
36
  "groupId": "texts"
37
37
  },
38
38
  {
39
39
  "name": "readMoreText",
40
- "displayName": "Devamını Oku Metni",
40
+ "displayName": "Read More Text",
41
41
  "type": "TEXT",
42
42
  "required": false,
43
- "defaultValue": "Devamini Oku",
43
+ "defaultValue": "Read More",
44
44
  "groupId": "texts"
45
45
  },
46
46
  {
47
47
  "name": "emptyMessage",
48
- "displayName": "Boş Durum Mesajı",
48
+ "displayName": "Empty State Message",
49
49
  "type": "TEXT",
50
50
  "required": false,
51
- "defaultValue": "Henuz blog yazisi bulunmuyor.",
51
+ "defaultValue": "No blog posts found yet.",
52
52
  "groupId": "texts"
53
53
  },
54
54
  {
55
55
  "name": "aspectRatio",
56
- "displayName": "En Boy Orani",
56
+ "displayName": "Aspect Ratio",
57
57
  "type": "ENUM",
58
58
  "required": false,
59
59
  "groupId": "image-settings",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  {
63
63
  "name": "objectFit",
64
- "displayName": "Gorsel Sigdirma",
64
+ "displayName": "Image Fit",
65
65
  "type": "ENUM",
66
66
  "required": false,
67
67
  "groupId": "image-settings",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  {
71
71
  "name": "description",
72
- "displayName": "Açıklama",
72
+ "displayName": "Description",
73
73
  "type": "TEXT",
74
74
  "required": false,
75
75
  "groupId": "content"
@@ -85,18 +85,18 @@
85
85
  "propGroups": [
86
86
  {
87
87
  "id": "content",
88
- "name": "İçerik",
89
- "description": "Blog yazıları, kategoriler ve sayfa başlığı"
88
+ "name": "Content",
89
+ "description": "Blog posts, categories, and page title"
90
90
  },
91
91
  {
92
92
  "id": "texts",
93
- "name": "Metinler",
94
- "description": "Buton, etiket ve boş durum metinleri"
93
+ "name": "Texts",
94
+ "description": "Button, label, and empty state texts"
95
95
  },
96
96
  {
97
97
  "id": "image-settings",
98
- "name": "Görsel Ayarları",
99
- "description": "Blog kart görselleri için en boy oranı ve sığdırma"
98
+ "name": "Image Settings",
99
+ "description": "Aspect ratio and fit for blog card images"
100
100
  }
101
101
  ]
102
102
  }
@@ -18,9 +18,9 @@ export function BlogHome({
18
18
  blogCategoryList,
19
19
  title = "Blog",
20
20
  description,
21
- allCategoriesText = "Tümünü Gör",
22
- readMoreText = "Devamını Oku",
23
- emptyMessage = "Henüz blog yazısı bulunmuyor.",
21
+ allCategoriesText = "View All",
22
+ readMoreText = "Read More",
23
+ emptyMessage = "No blog posts found yet.",
24
24
  aspectRatio,
25
25
  objectFit,
26
26
  }: Props) {
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasBlogList, IkasBlogCategoryList } from "@ikas/bp-storefront";
2
3
  import type { AspectRatio, ObjectFit } from "../../global-types";
3
4
 
@@ -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,38 +7,38 @@
7
7
  "props": [
8
8
  {
9
9
  "name": "blogPost",
10
- "displayName": "Blog Yazısı",
10
+ "displayName": "Blog Post",
11
11
  "type": "BLOG",
12
12
  "required": true,
13
13
  "groupId": "content"
14
14
  },
15
15
  {
16
16
  "name": "homeText",
17
- "displayName": "Anasayfa Metni",
17
+ "displayName": "Home Text",
18
18
  "type": "TEXT",
19
19
  "required": false,
20
- "defaultValue": "Ana Sayfa",
20
+ "defaultValue": "Home",
21
21
  "groupId": "texts"
22
22
  },
23
23
  {
24
24
  "name": "blogText",
25
- "displayName": "Blog Metni",
25
+ "displayName": "Blog Text",
26
26
  "type": "TEXT",
27
27
  "required": false,
28
- "defaultValue": "Blog Yazıları",
28
+ "defaultValue": "Blog Posts",
29
29
  "groupId": "texts"
30
30
  },
31
31
  {
32
32
  "name": "tagsTitle",
33
- "displayName": "Etiketler Başlığı",
33
+ "displayName": "Tags Title",
34
34
  "type": "TEXT",
35
35
  "required": false,
36
- "defaultValue": "Etiketler",
36
+ "defaultValue": "Tags",
37
37
  "groupId": "texts"
38
38
  },
39
39
  {
40
40
  "name": "aspectRatio",
41
- "displayName": "En Boy Oranı",
41
+ "displayName": "Aspect Ratio",
42
42
  "type": "ENUM",
43
43
  "required": false,
44
44
  "groupId": "appearance",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  {
48
48
  "name": "objectFit",
49
- "displayName": "Görsel Sığdırma",
49
+ "displayName": "Image Fit",
50
50
  "type": "ENUM",
51
51
  "required": false,
52
52
  "groupId": "appearance",
@@ -63,20 +63,20 @@
63
63
  "propGroups": [
64
64
  {
65
65
  "id": "content",
66
- "name": "İçerik",
67
- "description": "Blog yazısı veri kaynağı"
66
+ "name": "Content",
67
+ "description": "Blog post data source"
68
68
  },
69
69
  {
70
70
  "id": "texts",
71
- "name": "Metinler",
72
- "description": "Bölüm genelinde kullanılan metin etiketleri",
71
+ "name": "Texts",
72
+ "description": "Text labels used across the section",
73
73
  "children": []
74
74
  },
75
75
  {
76
76
  "id": "appearance",
77
- "name": "Görünüm",
77
+ "name": "Appearance",
78
78
  "children": [],
79
- "description": "Görsel ve stil ayarları"
79
+ "description": "Image and style settings"
80
80
  }
81
81
  ]
82
82
  }
@@ -11,9 +11,9 @@ import { getFullName } from "../../utils/fullName";
11
11
 
12
12
  export function BlogPost({
13
13
  blogPost,
14
- homeText = "Ana Sayfa",
15
- blogText = "Blog Yazıları",
16
- tagsTitle = "Etiketler",
14
+ homeText = "Home",
15
+ blogText = "Blog Posts",
16
+ tagsTitle = "Tags",
17
17
  aspectRatio,
18
18
  objectFit,
19
19
  }: Props) {
@@ -1,3 +1,4 @@
1
+ // This file is auto-generated — do not edit manually.
1
2
  import type { IkasBlog } from "@ikas/bp-storefront";
2
3
  import type { AspectRatio, ObjectFit } from "../../global-types";
3
4
 
@@ -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}} */