@ikas/code-components-mcp 0.116.0 → 0.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/section-templates/account-info-section/children/AccountAddresses/components/AddressModal/index.tsx +6 -9
- package/data/section-templates/account-info-section/children/AccountAddresses/components/AddressModal/styles.css +1 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/ikas-config-snippet.json +30 -30
- package/data/section-templates/account-info-section/children/AccountAddresses/index.tsx +12 -12
- package/data/section-templates/account-info-section/children/AccountAddresses/types.ts +1 -0
- package/data/section-templates/account-info-section/children/AccountFavorites/ikas-config-snippet.json +9 -9
- package/data/section-templates/account-info-section/children/AccountFavorites/index.tsx +3 -3
- package/data/section-templates/account-info-section/children/AccountFavorites/types.ts +1 -0
- package/data/section-templates/account-info-section/children/AccountInfoContent/ikas-config-snippet.json +16 -16
- package/data/section-templates/account-info-section/children/AccountInfoContent/index.tsx +5 -5
- package/data/section-templates/account-info-section/children/AccountInfoContent/types.ts +1 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/ikas-config-snippet.json +74 -74
- package/data/section-templates/account-info-section/children/AccountOrderDetail/index.tsx +29 -29
- package/data/section-templates/account-info-section/children/AccountOrderDetail/types.ts +1 -0
- package/data/section-templates/account-info-section/children/AccountOrders/ikas-config-snippet.json +20 -20
- package/data/section-templates/account-info-section/children/AccountOrders/index.tsx +8 -8
- package/data/section-templates/account-info-section/children/AccountOrders/types.ts +1 -0
- package/data/section-templates/account-info-section/global-types.ts +0 -2
- package/data/section-templates/account-info-section/hooks/useScrollLock.ts +0 -4
- package/data/section-templates/account-info-section/ikas-config-snippet.json +13 -13
- package/data/section-templates/account-info-section/index.tsx +5 -5
- package/data/section-templates/account-info-section/sub-components/Modal/index.tsx +4 -2
- package/data/section-templates/account-info-section/sub-components/ProductCard/index.tsx +4 -4
- package/data/section-templates/account-info-section/types.ts +1 -0
- package/data/section-templates/add-to-cart/ikas-config-snippet.json +30 -30
- package/data/section-templates/add-to-cart/index.tsx +7 -7
- package/data/section-templates/add-to-cart/types.ts +1 -0
- package/data/section-templates/blog-home-section/global-types.ts +0 -2
- package/data/section-templates/blog-home-section/ikas-config-snippet.json +18 -18
- package/data/section-templates/blog-home-section/index.tsx +3 -3
- package/data/section-templates/blog-home-section/types.ts +1 -0
- package/data/section-templates/blog-post-section/global-types.ts +0 -2
- package/data/section-templates/blog-post-section/ikas-config-snippet.json +15 -15
- package/data/section-templates/blog-post-section/index.tsx +3 -3
- package/data/section-templates/blog-post-section/types.ts +1 -0
- package/data/section-templates/bundle-products/global-types.ts +0 -2
- package/data/section-templates/bundle-products/ikas-config-snippet.json +25 -25
- package/data/section-templates/bundle-products/index.tsx +3 -3
- package/data/section-templates/bundle-products/types.ts +1 -0
- package/data/section-templates/cart-section/global-types.ts +0 -2
- package/data/section-templates/cart-section/ikas-config-snippet.json +32 -32
- package/data/section-templates/cart-section/index.tsx +13 -13
- package/data/section-templates/cart-section/sub-components/CartItem/components/BundleProducts/index.tsx +1 -1
- package/data/section-templates/cart-section/types.ts +1 -0
- package/data/section-templates/category-images-section/children/CategoryImageItem/ikas-config-snippet.json +12 -12
- package/data/section-templates/category-images-section/children/CategoryImageItem/types.ts +1 -0
- package/data/section-templates/category-images-section/global-types.ts +0 -2
- package/data/section-templates/category-images-section/ikas-config-snippet.json +11 -11
- package/data/section-templates/category-images-section/types.ts +1 -0
- package/data/section-templates/category-list-section/children/CardProductName/ikas-config-snippet.json +2 -2
- package/data/section-templates/category-list-section/children/CardProductName/types.ts +1 -0
- package/data/section-templates/category-list-section/children/CardProductPrice/ikas-config-snippet.json +1 -1
- package/data/section-templates/category-list-section/children/CardProductPrice/types.ts +1 -0
- package/data/section-templates/category-list-section/children/CardProductVariants/ikas-config-snippet.json +1 -1
- package/data/section-templates/category-list-section/children/CardProductVariants/types.ts +1 -0
- package/data/section-templates/category-list-section/components/CategoryListControls/index.tsx +1 -1
- package/data/section-templates/category-list-section/global-types.ts +0 -2
- package/data/section-templates/category-list-section/hooks/useScrollLock.ts +0 -4
- package/data/section-templates/category-list-section/ikas-config-snippet.json +50 -50
- package/data/section-templates/category-list-section/index.tsx +13 -13
- package/data/section-templates/category-list-section/sub-components/ProductCard/index.tsx +4 -4
- package/data/section-templates/category-list-section/types.ts +1 -0
- package/data/section-templates/component-renderer/additional/Features/types.ts +1 -0
- package/data/section-templates/component-renderer/additional/ProductDetail/index.tsx +1 -1
- package/data/section-templates/component-renderer/additional/ProductDetail/types.ts +1 -0
- package/data/section-templates/component-renderer/global-types.ts +0 -2
- package/data/section-templates/component-renderer/ikas-config-snippet.json +5 -5
- package/data/section-templates/component-renderer/types.ts +1 -0
- package/data/section-templates/email-verification-section/ikas-config-snippet.json +36 -36
- package/data/section-templates/email-verification-section/index.tsx +14 -14
- package/data/section-templates/email-verification-section/types.ts +1 -0
- package/data/section-templates/favorites/ikas-config-snippet.json +12 -12
- package/data/section-templates/favorites/types.ts +1 -0
- package/data/section-templates/features-section/children/FeatureItem/ikas-config-snippet.json +2 -2
- package/data/section-templates/features-section/children/FeatureItem/types.ts +1 -0
- package/data/section-templates/features-section/ikas-config-snippet.json +2 -2
- package/data/section-templates/features-section/types.ts +1 -0
- package/data/section-templates/footer-section/children/SocialMediaIcon/ikas-config-snippet.json +1 -1
- package/data/section-templates/footer-section/children/SocialMediaIcon/types.ts +1 -0
- package/data/section-templates/footer-section/ikas-config-snippet.json +19 -19
- package/data/section-templates/footer-section/index.tsx +3 -3
- package/data/section-templates/footer-section/types.ts +1 -0
- package/data/section-templates/forgot-password-section/components/ForgotPasswordForm/index.tsx +10 -10
- package/data/section-templates/forgot-password-section/ikas-config-snippet.json +29 -29
- package/data/section-templates/forgot-password-section/types.ts +1 -0
- package/data/section-templates/header-section/children/Announcements/ikas-config-snippet.json +9 -9
- package/data/section-templates/header-section/children/Announcements/types.ts +1 -0
- package/data/section-templates/header-section/children/CookieBar/ikas-config-snippet.json +15 -15
- package/data/section-templates/header-section/children/CookieBar/types.ts +1 -0
- package/data/section-templates/header-section/children/Navbar/components/MobileMenu/index.tsx +1 -1
- package/data/section-templates/header-section/children/Navbar/ikas-config-snippet.json +68 -68
- package/data/section-templates/header-section/children/Navbar/index.tsx +19 -19
- package/data/section-templates/header-section/children/Navbar/types.ts +1 -0
- package/data/section-templates/header-section/global-types.ts +0 -2
- package/data/section-templates/header-section/hooks/useScrollLock.ts +0 -4
- package/data/section-templates/header-section/ikas-config-snippet.json +5 -5
- package/data/section-templates/header-section/sub-components/CartItem/components/BundleProducts/index.tsx +1 -1
- package/data/section-templates/header-section/sub-components/ProductCard/index.tsx +4 -4
- package/data/section-templates/header-section/types.ts +1 -0
- package/data/section-templates/hero-slider-section/children/HeroSliderItem/ikas-config-snippet.json +34 -34
- package/data/section-templates/hero-slider-section/children/HeroSliderItem/types.ts +1 -0
- package/data/section-templates/hero-slider-section/global-types.ts +0 -2
- package/data/section-templates/hero-slider-section/ikas-config-snippet.json +10 -10
- package/data/section-templates/hero-slider-section/types.ts +1 -0
- package/data/section-templates/image-handling/global-types.ts +0 -2
- package/data/section-templates/image-handling/ikas-config-snippet.json +16 -16
- package/data/section-templates/image-handling/index.tsx +1 -1
- package/data/section-templates/image-handling/types.ts +1 -0
- package/data/section-templates/login-section/components/LoginForm/index.tsx +13 -13
- package/data/section-templates/login-section/ikas-config-snippet.json +38 -38
- package/data/section-templates/login-section/types.ts +1 -0
- package/data/section-templates/navigation/components/MobileMenu/index.tsx +1 -1
- package/data/section-templates/navigation/global-types.ts +0 -2
- package/data/section-templates/navigation/hooks/useScrollLock.ts +0 -4
- package/data/section-templates/navigation/ikas-config-snippet.json +68 -68
- package/data/section-templates/navigation/index.tsx +19 -19
- package/data/section-templates/navigation/sub-components/CartItem/components/BundleProducts/index.tsx +1 -1
- package/data/section-templates/navigation/sub-components/ProductCard/index.tsx +4 -4
- package/data/section-templates/navigation/types.ts +1 -0
- package/data/section-templates/not-found-section/ikas-config-snippet.json +9 -9
- package/data/section-templates/not-found-section/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/ikas-config-snippet.json +30 -30
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/index.tsx +7 -7
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/ikas-config-snippet.json +33 -33
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/index.tsx +8 -8
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/ikas-config-snippet.json +25 -25
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/index.tsx +3 -3
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailDescription/ikas-config-snippet.json +19 -19
- package/data/section-templates/product-detail-section/children/ProductDetailDescription/index.tsx +1 -1
- package/data/section-templates/product-detail-section/children/ProductDetailDescription/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailFeatures/ikas-config-snippet.json +11 -11
- package/data/section-templates/product-detail-section/children/ProductDetailFeatures/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/ikas-config-snippet.json +12 -12
- package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/components/OfferCard/index.tsx +2 -2
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/ikas-config-snippet.json +39 -39
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/index.tsx +9 -9
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/ikas-config-snippet.json +31 -31
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/index.tsx +7 -7
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailPrices/ikas-config-snippet.json +11 -11
- package/data/section-templates/product-detail-section/children/ProductDetailPrices/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/ikas-config-snippet.json +11 -11
- package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailSku/ikas-config-snippet.json +15 -15
- package/data/section-templates/product-detail-section/children/ProductDetailSku/index.tsx +1 -1
- package/data/section-templates/product-detail-section/children/ProductDetailSku/types.ts +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailVariant/ikas-config-snippet.json +13 -13
- package/data/section-templates/product-detail-section/children/ProductDetailVariant/types.ts +2 -1
- package/data/section-templates/product-detail-section/global-types.ts +0 -2
- package/data/section-templates/product-detail-section/hooks/useScrollLock.ts +0 -4
- package/data/section-templates/product-detail-section/ikas-config-snippet.json +16 -16
- package/data/section-templates/product-detail-section/index.tsx +1 -1
- package/data/section-templates/product-detail-section/types.ts +1 -0
- package/data/section-templates/product-pricing/ikas-config-snippet.json +11 -11
- package/data/section-templates/product-pricing/types.ts +1 -0
- package/data/section-templates/product-reviews-section/hooks/useScrollLock.ts +0 -4
- package/data/section-templates/product-reviews-section/ikas-config-snippet.json +6 -6
- package/data/section-templates/product-reviews-section/sub-components/Modal/index.tsx +4 -2
- package/data/section-templates/product-reviews-section/types.ts +1 -0
- package/data/section-templates/product-slider-section/children/CardProductName/ikas-config-snippet.json +2 -2
- package/data/section-templates/product-slider-section/children/CardProductName/types.ts +1 -0
- package/data/section-templates/product-slider-section/children/CardProductPrice/ikas-config-snippet.json +1 -1
- package/data/section-templates/product-slider-section/children/CardProductPrice/types.ts +1 -0
- package/data/section-templates/product-slider-section/children/CardProductVariants/ikas-config-snippet.json +1 -1
- package/data/section-templates/product-slider-section/children/CardProductVariants/types.ts +1 -0
- package/data/section-templates/product-slider-section/global-types.ts +0 -2
- package/data/section-templates/product-slider-section/ikas-config-snippet.json +22 -22
- package/data/section-templates/product-slider-section/index.tsx +4 -4
- package/data/section-templates/product-slider-section/sub-components/ProductCard/index.tsx +4 -4
- package/data/section-templates/product-slider-section/types.ts +1 -0
- package/data/section-templates/recover-password-section/components/RecoverPasswordForm/index.tsx +10 -10
- package/data/section-templates/recover-password-section/ikas-config-snippet.json +42 -42
- package/data/section-templates/recover-password-section/types.ts +1 -0
- package/data/section-templates/register-section/components/RegisterForm/index.tsx +15 -15
- package/data/section-templates/register-section/ikas-config-snippet.json +54 -54
- package/data/section-templates/register-section/types.ts +1 -0
- package/data/section-templates/rich-text-section/ikas-config-snippet.json +3 -3
- package/data/section-templates/rich-text-section/types.ts +1 -0
- package/data/section-templates/variant-selection/ikas-config-snippet.json +13 -13
- package/data/section-templates/variant-selection/types.ts +2 -1
- package/data/storefront-api.json +1 -1
- package/data/storefront-types.json +1 -1
- package/dist/index.js +2 -355
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/data/migration-examples/complex-header-migration/_meta.json +0 -4
- package/data/migration-examples/complex-header-migration/after-config-snippet.json +0 -55
- package/data/migration-examples/complex-header-migration/after-section.tsx +0 -64
- package/data/migration-examples/complex-header-migration/before-props-summary.json +0 -42
- package/data/migration-examples/custom-dynamic-list-to-component-list/_meta.json +0 -4
- package/data/migration-examples/custom-dynamic-list-to-component-list/after-child-styles.css +0 -38
- package/data/migration-examples/custom-dynamic-list-to-component-list/after-child.tsx +0 -22
- package/data/migration-examples/custom-dynamic-list-to-component-list/after-config-snippet.json +0 -31
- package/data/migration-examples/custom-dynamic-list-to-component-list/after-section-styles.css +0 -25
- package/data/migration-examples/custom-dynamic-list-to-component-list/after-section.tsx +0 -17
- package/data/migration-examples/custom-dynamic-list-to-component-list/before-component.tsx +0 -32
- package/data/migration-examples/custom-dynamic-list-to-component-list/before-theme-snippet.json +0 -53
- package/data/migration-examples/full-component-with-tailwind/_meta.json +0 -4
- package/data/migration-examples/full-component-with-tailwind/after-component.tsx +0 -43
- package/data/migration-examples/full-component-with-tailwind/after-config-snippet.json +0 -25
- package/data/migration-examples/full-component-with-tailwind/after-styles.css +0 -99
- package/data/migration-examples/full-component-with-tailwind/before-component.tsx +0 -60
- package/data/migration-examples/object-custom-to-inline-props/_meta.json +0 -4
- package/data/migration-examples/object-custom-to-inline-props/after-component.tsx +0 -34
- package/data/migration-examples/object-custom-to-inline-props/after-config-snippet.json +0 -23
- package/data/migration-examples/object-custom-to-inline-props/after-styles.css +0 -38
- package/data/migration-examples/object-custom-to-inline-props/before-component.tsx +0 -30
- package/data/migration-examples/object-custom-to-inline-props/before-theme-snippet.json +0 -26
- package/data/migration-examples/slider-library-replacement/_meta.json +0 -4
- package/data/migration-examples/slider-library-replacement/after-child.tsx +0 -13
- package/data/migration-examples/slider-library-replacement/after-config-snippet.json +0 -29
- package/data/migration-examples/slider-library-replacement/after-section.tsx +0 -38
- package/data/migration-examples/slider-library-replacement/after-styles.css +0 -43
- package/data/migration-examples/slider-library-replacement/before-component.tsx +0 -39
- package/data/migration-examples/slider-library-replacement/before-types-snippet.ts +0 -14
- package/data/migration.json +0 -65
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "product",
|
|
10
|
-
"displayName": "
|
|
10
|
+
"displayName": "Product",
|
|
11
11
|
"type": "PRODUCT",
|
|
12
12
|
"required": false
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"name": "mobileMarginTop",
|
|
16
|
-
"displayName": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
40
|
+
"displayName": "Bottom Spacing",
|
|
41
41
|
"type": "TYPE",
|
|
42
42
|
"required": false,
|
|
43
43
|
"groupId": "desktop",
|
|
@@ -45,45 +45,45 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "isBundleFurniture",
|
|
48
|
-
"displayName": "
|
|
48
|
+
"displayName": "Furniture Bundle Mode",
|
|
49
49
|
"type": "BOOLEAN",
|
|
50
50
|
"required": false,
|
|
51
51
|
"groupId": "settings"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"name": "bundleProductWithoutLink",
|
|
55
|
-
"displayName": "
|
|
55
|
+
"displayName": "Disable Product Link",
|
|
56
56
|
"type": "BOOLEAN",
|
|
57
57
|
"required": false,
|
|
58
58
|
"groupId": "settings"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"name": "quantityLabel",
|
|
62
|
-
"displayName": "
|
|
62
|
+
"displayName": "Quantity Label",
|
|
63
63
|
"type": "TEXT",
|
|
64
64
|
"required": false,
|
|
65
|
-
"defaultValue": "
|
|
65
|
+
"defaultValue": "Quantity",
|
|
66
66
|
"groupId": "texts"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "outOfStockText",
|
|
70
|
-
"displayName": "
|
|
70
|
+
"displayName": "Out of Stock Text",
|
|
71
71
|
"type": "TEXT",
|
|
72
72
|
"required": false,
|
|
73
|
-
"defaultValue": "
|
|
73
|
+
"defaultValue": "Out of Stock",
|
|
74
74
|
"groupId": "texts"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"name": "productContentTitle",
|
|
78
|
-
"displayName": "
|
|
78
|
+
"displayName": "Set Contents Title",
|
|
79
79
|
"type": "TEXT",
|
|
80
80
|
"required": false,
|
|
81
|
-
"defaultValue": "
|
|
81
|
+
"defaultValue": "Set Contents",
|
|
82
82
|
"groupId": "texts"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"name": "aspectRatio",
|
|
86
|
-
"displayName": "
|
|
86
|
+
"displayName": "Aspect Ratio",
|
|
87
87
|
"type": "ENUM",
|
|
88
88
|
"required": false,
|
|
89
89
|
"groupId": "appearance",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
"name": "objectFit",
|
|
94
|
-
"displayName": "
|
|
94
|
+
"displayName": "Image Fit",
|
|
95
95
|
"type": "ENUM",
|
|
96
96
|
"required": false,
|
|
97
97
|
"groupId": "appearance",
|
|
@@ -101,30 +101,30 @@
|
|
|
101
101
|
"propGroups": [
|
|
102
102
|
{
|
|
103
103
|
"id": "appearance",
|
|
104
|
-
"name": "
|
|
104
|
+
"name": "Appearance Settings",
|
|
105
105
|
"children": [
|
|
106
106
|
{
|
|
107
107
|
"id": "mobile",
|
|
108
|
-
"name": "
|
|
109
|
-
"description": "
|
|
108
|
+
"name": "Mobile View",
|
|
109
|
+
"description": "Margin settings for mobile devices"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"id": "desktop",
|
|
113
|
-
"name": "
|
|
114
|
-
"description": "
|
|
113
|
+
"name": "Desktop View",
|
|
114
|
+
"description": "Margin settings for desktop devices"
|
|
115
115
|
}
|
|
116
116
|
],
|
|
117
|
-
"description": "
|
|
117
|
+
"description": "Component mobile and desktop view settings"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"id": "settings",
|
|
121
|
-
"name": "
|
|
122
|
-
"description": "
|
|
121
|
+
"name": "Settings",
|
|
122
|
+
"description": "Settings that control bundle behavior"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"id": "texts",
|
|
126
|
-
"name": "
|
|
127
|
-
"description": "
|
|
126
|
+
"name": "Texts",
|
|
127
|
+
"description": "Text labels displayed in the component"
|
|
128
128
|
}
|
|
129
129
|
]
|
|
130
130
|
}
|
|
@@ -41,9 +41,9 @@ export function ProductDetailBundleProduct({
|
|
|
41
41
|
desktopMarginBottom,
|
|
42
42
|
isBundleFurniture,
|
|
43
43
|
bundleProductWithoutLink,
|
|
44
|
-
quantityLabel = "
|
|
45
|
-
outOfStockText = "
|
|
46
|
-
productContentTitle = "
|
|
44
|
+
quantityLabel = "Quantity",
|
|
45
|
+
outOfStockText = "Out of Stock",
|
|
46
|
+
productContentTitle = "Set Contents",
|
|
47
47
|
aspectRatio,
|
|
48
48
|
objectFit,
|
|
49
49
|
}: 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,106 +7,106 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "title",
|
|
10
|
-
"displayName": "
|
|
10
|
+
"displayName": "Title",
|
|
11
11
|
"type": "TEXT",
|
|
12
12
|
"required": false,
|
|
13
|
-
"defaultValue": "
|
|
13
|
+
"defaultValue": "Cart",
|
|
14
14
|
"groupId": "page"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "emptyCartText",
|
|
18
|
-
"displayName": "
|
|
18
|
+
"displayName": "Empty Cart Text",
|
|
19
19
|
"type": "TEXT",
|
|
20
20
|
"required": false,
|
|
21
|
-
"defaultValue": "
|
|
21
|
+
"defaultValue": "Your cart is empty",
|
|
22
22
|
"groupId": "page"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "subtotalLabel",
|
|
26
|
-
"displayName": "
|
|
26
|
+
"displayName": "Subtotal Label",
|
|
27
27
|
"type": "TEXT",
|
|
28
28
|
"required": false,
|
|
29
|
-
"defaultValue": "
|
|
29
|
+
"defaultValue": "Subtotal",
|
|
30
30
|
"groupId": "summary"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "totalLabel",
|
|
34
|
-
"displayName": "
|
|
34
|
+
"displayName": "Total Label",
|
|
35
35
|
"type": "TEXT",
|
|
36
36
|
"required": false,
|
|
37
|
-
"defaultValue": "
|
|
37
|
+
"defaultValue": "Total",
|
|
38
38
|
"groupId": "summary"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "checkoutButtonText",
|
|
42
|
-
"displayName": "
|
|
42
|
+
"displayName": "Checkout Button Text",
|
|
43
43
|
"type": "TEXT",
|
|
44
44
|
"required": false,
|
|
45
|
-
"defaultValue": "
|
|
45
|
+
"defaultValue": "Complete Order",
|
|
46
46
|
"groupId": "summary"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "itemsText",
|
|
50
|
-
"displayName": "
|
|
50
|
+
"displayName": "Product Count Text",
|
|
51
51
|
"type": "TEXT",
|
|
52
52
|
"required": false,
|
|
53
|
-
"defaultValue": "
|
|
53
|
+
"defaultValue": "product",
|
|
54
54
|
"groupId": "page"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "couponPlaceholder",
|
|
58
|
-
"displayName": "
|
|
58
|
+
"displayName": "Coupon Placeholder",
|
|
59
59
|
"type": "TEXT",
|
|
60
60
|
"required": false,
|
|
61
|
-
"defaultValue": "
|
|
61
|
+
"defaultValue": "Enter coupon code",
|
|
62
62
|
"groupId": "coupon"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"name": "couponApplyText",
|
|
66
|
-
"displayName": "
|
|
66
|
+
"displayName": "Coupon Apply Text",
|
|
67
67
|
"type": "TEXT",
|
|
68
68
|
"required": false,
|
|
69
|
-
"defaultValue": "
|
|
69
|
+
"defaultValue": "Apply",
|
|
70
70
|
"groupId": "coupon"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "couponRemoveText",
|
|
74
|
-
"displayName": "
|
|
74
|
+
"displayName": "Coupon Remove Text",
|
|
75
75
|
"type": "TEXT",
|
|
76
76
|
"required": false,
|
|
77
|
-
"defaultValue": "
|
|
77
|
+
"defaultValue": "Remove",
|
|
78
78
|
"groupId": "coupon"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "couponApplyingText",
|
|
82
|
-
"displayName": "
|
|
82
|
+
"displayName": "Coupon Applying Text",
|
|
83
83
|
"type": "TEXT",
|
|
84
84
|
"required": false,
|
|
85
|
-
"defaultValue": "
|
|
85
|
+
"defaultValue": "Applying...",
|
|
86
86
|
"groupId": "coupon"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "orderSummaryTitle",
|
|
90
|
-
"displayName": "
|
|
90
|
+
"displayName": "Order Summary Title",
|
|
91
91
|
"type": "TEXT",
|
|
92
92
|
"required": false,
|
|
93
|
-
"defaultValue": "
|
|
93
|
+
"defaultValue": "Order Summary",
|
|
94
94
|
"groupId": "summary"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"name": "couponToggleText",
|
|
98
|
-
"displayName": "
|
|
98
|
+
"displayName": "Coupon Toggle Text",
|
|
99
99
|
"type": "TEXT",
|
|
100
100
|
"required": false,
|
|
101
|
-
"defaultValue": "
|
|
101
|
+
"defaultValue": "Use Gift Code!",
|
|
102
102
|
"groupId": "coupon"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"name": "continueShoppingText",
|
|
106
|
-
"displayName": "
|
|
106
|
+
"displayName": "Continue Shopping Button Text",
|
|
107
107
|
"type": "TEXT",
|
|
108
108
|
"required": false,
|
|
109
|
-
"defaultValue": "
|
|
109
|
+
"defaultValue": "Start Shopping",
|
|
110
110
|
"groupId": "page"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -120,18 +120,18 @@
|
|
|
120
120
|
"propGroups": [
|
|
121
121
|
{
|
|
122
122
|
"id": "page",
|
|
123
|
-
"name": "
|
|
124
|
-
"description": "
|
|
123
|
+
"name": "Page",
|
|
124
|
+
"description": "Page title, loading, and empty cart texts"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"id": "summary",
|
|
128
|
-
"name": "
|
|
129
|
-
"description": "
|
|
128
|
+
"name": "Order Summary",
|
|
129
|
+
"description": "Order summary title, price labels, and checkout button"
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"id": "coupon",
|
|
133
|
-
"name": "
|
|
134
|
-
"description": "
|
|
133
|
+
"name": "Coupon Code",
|
|
134
|
+
"description": "Coupon code toggle, input field, and button texts"
|
|
135
135
|
}
|
|
136
136
|
]
|
|
137
137
|
}
|
|
@@ -12,19 +12,19 @@ import OrderSummary from "./components/OrderSummary";
|
|
|
12
12
|
import EmptyState from "./components/EmptyState";
|
|
13
13
|
|
|
14
14
|
export function CartPage({
|
|
15
|
-
title = "
|
|
16
|
-
emptyCartText = "
|
|
17
|
-
subtotalLabel = "
|
|
18
|
-
totalLabel = "
|
|
19
|
-
checkoutButtonText = "
|
|
20
|
-
itemsText = "
|
|
21
|
-
couponToggleText = "
|
|
22
|
-
couponPlaceholder = "
|
|
23
|
-
couponApplyText = "
|
|
24
|
-
couponRemoveText = "
|
|
25
|
-
couponApplyingText = "
|
|
26
|
-
orderSummaryTitle = "
|
|
27
|
-
continueShoppingText = "
|
|
15
|
+
title = "Cart",
|
|
16
|
+
emptyCartText = "Your cart is empty",
|
|
17
|
+
subtotalLabel = "Subtotal",
|
|
18
|
+
totalLabel = "Total",
|
|
19
|
+
checkoutButtonText = "Complete Order",
|
|
20
|
+
itemsText = "product",
|
|
21
|
+
couponToggleText = "Use Gift Code!",
|
|
22
|
+
couponPlaceholder = "Enter coupon code",
|
|
23
|
+
couponApplyText = "Apply",
|
|
24
|
+
couponRemoveText = "Remove",
|
|
25
|
+
couponApplyingText = "Applying...",
|
|
26
|
+
orderSummaryTitle = "Order Summary",
|
|
27
|
+
continueShoppingText = "Start Shopping",
|
|
28
28
|
}: Props) {
|
|
29
29
|
const cart = cartStore.cart;
|
|
30
30
|
const isLoading = cartStore.isCartLoading;
|
|
@@ -16,7 +16,7 @@ const BundleProducts = observer(function BundleProducts({
|
|
|
16
16
|
item,
|
|
17
17
|
aspectRatio,
|
|
18
18
|
objectFit,
|
|
19
|
-
editButtonText = "
|
|
19
|
+
editButtonText = "Edit",
|
|
20
20
|
}: Props) {
|
|
21
21
|
const bundleProducts = (item.variant?.bundleProducts ?? []).filter(
|
|
22
22
|
(bp) => bp.quantity > 0,
|
|
@@ -7,28 +7,28 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "image",
|
|
10
|
-
"displayName": "
|
|
10
|
+
"displayName": "Image",
|
|
11
11
|
"type": "IMAGE",
|
|
12
12
|
"required": false,
|
|
13
13
|
"groupId": "desktop"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "link",
|
|
17
|
-
"displayName": "
|
|
17
|
+
"displayName": "Link",
|
|
18
18
|
"type": "LINK",
|
|
19
19
|
"required": false,
|
|
20
20
|
"groupId": "desktop"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "overlay",
|
|
24
|
-
"displayName": "
|
|
24
|
+
"displayName": "Dark Overlay",
|
|
25
25
|
"type": "BOOLEAN",
|
|
26
26
|
"required": false,
|
|
27
27
|
"groupId": "desktop"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "aspectRatio",
|
|
31
|
-
"displayName": "
|
|
31
|
+
"displayName": "Aspect Ratio",
|
|
32
32
|
"type": "ENUM",
|
|
33
33
|
"required": false,
|
|
34
34
|
"groupId": "desktop",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"name": "objectFit",
|
|
39
|
-
"displayName": "
|
|
39
|
+
"displayName": "Image Fit",
|
|
40
40
|
"type": "ENUM",
|
|
41
41
|
"required": false,
|
|
42
42
|
"groupId": "desktop",
|
|
@@ -44,28 +44,28 @@
|
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "mobileImage",
|
|
47
|
-
"displayName": "
|
|
47
|
+
"displayName": "Image",
|
|
48
48
|
"type": "IMAGE",
|
|
49
49
|
"required": false,
|
|
50
50
|
"groupId": "mobile"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "mobileLink",
|
|
54
|
-
"displayName": "
|
|
54
|
+
"displayName": "Link",
|
|
55
55
|
"type": "LINK",
|
|
56
56
|
"required": false,
|
|
57
57
|
"groupId": "mobile"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"name": "mobileOverlay",
|
|
61
|
-
"displayName": "
|
|
61
|
+
"displayName": "Dark Overlay",
|
|
62
62
|
"type": "BOOLEAN",
|
|
63
63
|
"required": false,
|
|
64
64
|
"groupId": "mobile"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"name": "mobileAspectRatio",
|
|
68
|
-
"displayName": "
|
|
68
|
+
"displayName": "Aspect Ratio",
|
|
69
69
|
"type": "ENUM",
|
|
70
70
|
"required": false,
|
|
71
71
|
"groupId": "mobile",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"name": "mobileObjectFit",
|
|
76
|
-
"displayName": "
|
|
76
|
+
"displayName": "Image Fit",
|
|
77
77
|
"type": "ENUM",
|
|
78
78
|
"required": false,
|
|
79
79
|
"groupId": "mobile",
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
"propGroups": [
|
|
84
84
|
{
|
|
85
85
|
"id": "desktop",
|
|
86
|
-
"name": "
|
|
86
|
+
"name": "Desktop Settings"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"id": "mobile",
|
|
90
|
-
"name": "
|
|
90
|
+
"name": "Mobile Settings"
|
|
91
91
|
}
|
|
92
92
|
]
|
|
93
93
|
}
|
|
@@ -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,22 +7,22 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "title",
|
|
10
|
-
"displayName": "
|
|
10
|
+
"displayName": "Section Title",
|
|
11
11
|
"type": "TEXT",
|
|
12
12
|
"required": false,
|
|
13
|
-
"defaultValue": "
|
|
13
|
+
"defaultValue": "Categories",
|
|
14
14
|
"groupId": "content"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "titleColor",
|
|
18
|
-
"displayName": "
|
|
18
|
+
"displayName": "Title Color",
|
|
19
19
|
"type": "COLOR",
|
|
20
20
|
"required": false,
|
|
21
21
|
"groupId": "content"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "backgroundColor",
|
|
25
|
-
"displayName": "
|
|
25
|
+
"displayName": "Background Color",
|
|
26
26
|
"type": "COLOR",
|
|
27
27
|
"required": false,
|
|
28
28
|
"defaultValue": "#ffffff",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"name": "desktopColumns",
|
|
33
|
-
"displayName": "
|
|
33
|
+
"displayName": "Desktop Column Count",
|
|
34
34
|
"type": "ENUM",
|
|
35
35
|
"required": false,
|
|
36
36
|
"groupId": "appearance",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"name": "mobileColumns",
|
|
41
|
-
"displayName": "
|
|
41
|
+
"displayName": "Mobile Column Count",
|
|
42
42
|
"type": "ENUM",
|
|
43
43
|
"required": false,
|
|
44
44
|
"groupId": "appearance",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "components",
|
|
49
|
-
"displayName": "
|
|
49
|
+
"displayName": "Categories",
|
|
50
50
|
"type": "COMPONENT_LIST",
|
|
51
51
|
"required": false,
|
|
52
52
|
"filteredComponentIds": [
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"propGroups": [
|
|
58
58
|
{
|
|
59
59
|
"id": "content",
|
|
60
|
-
"name": "
|
|
61
|
-
"description": "
|
|
60
|
+
"name": "Content",
|
|
61
|
+
"description": "Section title and color settings"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"id": "appearance",
|
|
65
|
-
"name": "
|
|
66
|
-
"description": "
|
|
65
|
+
"name": "Appearance",
|
|
66
|
+
"description": "Background, column count, and image settings"
|
|
67
67
|
}
|
|
68
68
|
]
|
|
69
69
|
}
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "product",
|
|
10
|
-
"displayName": "
|
|
10
|
+
"displayName": "Product",
|
|
11
11
|
"type": "PRODUCT",
|
|
12
12
|
"required": false
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"name": "singleLineName",
|
|
16
|
-
"displayName": "
|
|
16
|
+
"displayName": "Single Row First Name",
|
|
17
17
|
"type": "BOOLEAN",
|
|
18
18
|
"required": false
|
|
19
19
|
}
|
package/data/section-templates/category-list-section/components/CategoryListControls/index.tsx
CHANGED
|
@@ -78,7 +78,7 @@ const CategoryListControls = observer(function CategoryListControls({
|
|
|
78
78
|
size="xs"
|
|
79
79
|
className="kombos-category-list-controls__col-btn"
|
|
80
80
|
onClick={onToggleColumns}
|
|
81
|
-
aria-label={`${columns === 4 ? 3 : 4}
|
|
81
|
+
aria-label={`${columns === 4 ? 3 : 4} columns`}
|
|
82
82
|
icon={columns === 3 ? <Column3SVG /> : <Column4SVG />}
|
|
83
83
|
>
|
|
84
84
|
{columnText}
|
|
@@ -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}} */
|