@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,277 +7,277 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "breadcrumbOrdersLabel",
|
|
10
|
-
"displayName": "Breadcrumb
|
|
10
|
+
"displayName": "Breadcrumb Orders Label",
|
|
11
11
|
"type": "TEXT",
|
|
12
12
|
"required": false,
|
|
13
|
-
"defaultValue": "
|
|
13
|
+
"defaultValue": "My Orders",
|
|
14
14
|
"groupId": "navigation"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "breadcrumbOrderLabel",
|
|
18
|
-
"displayName": "Breadcrumb
|
|
18
|
+
"displayName": "Breadcrumb Order Label",
|
|
19
19
|
"type": "TEXT",
|
|
20
20
|
"required": false,
|
|
21
|
-
"defaultValue": "
|
|
21
|
+
"defaultValue": "Order",
|
|
22
22
|
"groupId": "navigation"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "orderNoLabel",
|
|
26
|
-
"displayName": "
|
|
26
|
+
"displayName": "Order No Label",
|
|
27
27
|
"type": "TEXT",
|
|
28
28
|
"required": false,
|
|
29
|
-
"defaultValue": "
|
|
29
|
+
"defaultValue": "Order No:",
|
|
30
30
|
"groupId": "orderInfo"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "orderStatusLabel",
|
|
34
|
-
"displayName": "
|
|
34
|
+
"displayName": "Order Status Label",
|
|
35
35
|
"type": "TEXT",
|
|
36
36
|
"required": false,
|
|
37
|
-
"defaultValue": "
|
|
37
|
+
"defaultValue": "Order Status:",
|
|
38
38
|
"groupId": "orderInfo"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "orderDateLabel",
|
|
42
|
-
"displayName": "
|
|
42
|
+
"displayName": "Order Date Label",
|
|
43
43
|
"type": "TEXT",
|
|
44
44
|
"required": false,
|
|
45
|
-
"defaultValue": "
|
|
45
|
+
"defaultValue": "Order Date:",
|
|
46
46
|
"groupId": "orderInfo"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "returnButtonText",
|
|
50
|
-
"displayName": "
|
|
50
|
+
"displayName": "Return Button Text",
|
|
51
51
|
"type": "TEXT",
|
|
52
52
|
"required": false,
|
|
53
|
-
"defaultValue": "
|
|
53
|
+
"defaultValue": "Return",
|
|
54
54
|
"groupId": "returnRequest"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "returningButtonText",
|
|
58
|
-
"displayName": "
|
|
58
|
+
"displayName": "Returning Text",
|
|
59
59
|
"type": "TEXT",
|
|
60
60
|
"required": false,
|
|
61
|
-
"defaultValue": "
|
|
61
|
+
"defaultValue": "Submitting return request...",
|
|
62
62
|
"groupId": "returnRequest"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"name": "returnRequestTitle",
|
|
66
|
-
"displayName": "
|
|
66
|
+
"displayName": "Return Request Title",
|
|
67
67
|
"type": "TEXT",
|
|
68
68
|
"required": false,
|
|
69
|
-
"defaultValue": "
|
|
69
|
+
"defaultValue": "Return Request",
|
|
70
70
|
"groupId": "returnRequest"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "returnSubmitText",
|
|
74
|
-
"displayName": "
|
|
74
|
+
"displayName": "Return Submit Text",
|
|
75
75
|
"type": "TEXT",
|
|
76
76
|
"required": false,
|
|
77
|
-
"defaultValue": "
|
|
77
|
+
"defaultValue": "Return",
|
|
78
78
|
"groupId": "returnRequest"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "deliveryAddressLabel",
|
|
82
|
-
"displayName": "
|
|
82
|
+
"displayName": "Delivery Address Label",
|
|
83
83
|
"type": "TEXT",
|
|
84
84
|
"required": false,
|
|
85
|
-
"defaultValue": "
|
|
85
|
+
"defaultValue": "Delivery Address",
|
|
86
86
|
"groupId": "addressPayment"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "billingAddressLabel",
|
|
90
|
-
"displayName": "
|
|
90
|
+
"displayName": "Billing Address Label",
|
|
91
91
|
"type": "TEXT",
|
|
92
92
|
"required": false,
|
|
93
|
-
"defaultValue": "
|
|
93
|
+
"defaultValue": "Billing Address",
|
|
94
94
|
"groupId": "addressPayment"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"name": "paymentInfoLabel",
|
|
98
|
-
"displayName": "
|
|
98
|
+
"displayName": "Payment Info Label",
|
|
99
99
|
"type": "TEXT",
|
|
100
100
|
"required": false,
|
|
101
|
-
"defaultValue": "
|
|
101
|
+
"defaultValue": "Payment Information",
|
|
102
102
|
"groupId": "addressPayment"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"name": "summaryLabel",
|
|
106
|
-
"displayName": "
|
|
106
|
+
"displayName": "Summary Label",
|
|
107
107
|
"type": "TEXT",
|
|
108
108
|
"required": false,
|
|
109
|
-
"defaultValue": "
|
|
109
|
+
"defaultValue": "Summary",
|
|
110
110
|
"groupId": "summary"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"name": "subtotalLabel",
|
|
114
|
-
"displayName": "
|
|
114
|
+
"displayName": "Subtotal Label",
|
|
115
115
|
"type": "TEXT",
|
|
116
116
|
"required": false,
|
|
117
|
-
"defaultValue": "
|
|
117
|
+
"defaultValue": "Subtotal",
|
|
118
118
|
"groupId": "summary"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"name": "shippingLabel",
|
|
122
|
-
"displayName": "
|
|
122
|
+
"displayName": "Shipping Label",
|
|
123
123
|
"type": "TEXT",
|
|
124
124
|
"required": false,
|
|
125
|
-
"defaultValue": "
|
|
125
|
+
"defaultValue": "Shipping",
|
|
126
126
|
"groupId": "summary"
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"name": "totalLabel",
|
|
130
|
-
"displayName": "
|
|
130
|
+
"displayName": "Total Label",
|
|
131
131
|
"type": "TEXT",
|
|
132
132
|
"required": false,
|
|
133
|
-
"defaultValue": "
|
|
133
|
+
"defaultValue": "Total",
|
|
134
134
|
"groupId": "summary"
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"name": "taxIncludedText",
|
|
138
|
-
"displayName": "
|
|
138
|
+
"displayName": "Tax Included Text",
|
|
139
139
|
"type": "TEXT",
|
|
140
140
|
"required": false,
|
|
141
|
-
"defaultValue": "*
|
|
141
|
+
"defaultValue": "*taxes included",
|
|
142
142
|
"groupId": "summary"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"name": "cargoCompanyLabel",
|
|
146
|
-
"displayName": "
|
|
146
|
+
"displayName": "Shipping Company Label",
|
|
147
147
|
"type": "TEXT",
|
|
148
148
|
"required": false,
|
|
149
|
-
"defaultValue": "
|
|
149
|
+
"defaultValue": "Shipping Company:",
|
|
150
150
|
"groupId": "shipping"
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"name": "trackingNumberLabel",
|
|
154
|
-
"displayName": "
|
|
154
|
+
"displayName": "Tracking Number Label",
|
|
155
155
|
"type": "TEXT",
|
|
156
156
|
"required": false,
|
|
157
|
-
"defaultValue": "
|
|
157
|
+
"defaultValue": "Tracking Number:",
|
|
158
158
|
"groupId": "shipping"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"name": "quantityLabel",
|
|
162
|
-
"displayName": "
|
|
162
|
+
"displayName": "Quantity Label",
|
|
163
163
|
"type": "TEXT",
|
|
164
164
|
"required": false,
|
|
165
|
-
"defaultValue": "
|
|
165
|
+
"defaultValue": "items",
|
|
166
166
|
"groupId": "orderInfo"
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
"name": "errorText",
|
|
170
|
-
"displayName": "
|
|
170
|
+
"displayName": "Error Text",
|
|
171
171
|
"type": "TEXT",
|
|
172
172
|
"required": false,
|
|
173
|
-
"defaultValue": "
|
|
173
|
+
"defaultValue": "Order not found.",
|
|
174
174
|
"groupId": "states"
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
"name": "backToOrdersText",
|
|
178
|
-
"displayName": "
|
|
178
|
+
"displayName": "Back to Orders Text",
|
|
179
179
|
"type": "TEXT",
|
|
180
180
|
"required": false,
|
|
181
|
-
"defaultValue": "
|
|
181
|
+
"defaultValue": "Back to Orders",
|
|
182
182
|
"groupId": "navigation"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
"name": "returnSuccessText",
|
|
186
|
-
"displayName": "
|
|
186
|
+
"displayName": "Return Success Text",
|
|
187
187
|
"type": "TEXT",
|
|
188
188
|
"required": false,
|
|
189
|
-
"defaultValue": "
|
|
189
|
+
"defaultValue": "Your return request has been successfully created.",
|
|
190
190
|
"groupId": "returnRequest"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
"name": "returnErrorText",
|
|
194
|
-
"displayName": "
|
|
194
|
+
"displayName": "Return Error Text",
|
|
195
195
|
"type": "TEXT",
|
|
196
196
|
"required": false,
|
|
197
|
-
"defaultValue": "
|
|
197
|
+
"defaultValue": "An error occurred while creating the return request.",
|
|
198
198
|
"groupId": "returnRequest"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
"name": "copiedText",
|
|
202
|
-
"displayName": "
|
|
202
|
+
"displayName": "Copied Text",
|
|
203
203
|
"type": "TEXT",
|
|
204
204
|
"required": false,
|
|
205
|
-
"defaultValue": "
|
|
205
|
+
"defaultValue": "Copied!",
|
|
206
206
|
"groupId": "shipping"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
"name": "installmentText",
|
|
210
|
-
"displayName": "
|
|
210
|
+
"displayName": "Installment Text",
|
|
211
211
|
"type": "TEXT",
|
|
212
212
|
"required": false,
|
|
213
|
-
"defaultValue": "
|
|
213
|
+
"defaultValue": "Installment",
|
|
214
214
|
"groupId": "addressPayment"
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
"name": "singlePaymentText",
|
|
218
|
-
"displayName": "
|
|
218
|
+
"displayName": "Single Payment Text",
|
|
219
219
|
"type": "TEXT",
|
|
220
220
|
"required": false,
|
|
221
|
-
"defaultValue": "
|
|
221
|
+
"defaultValue": "Single Payment",
|
|
222
222
|
"groupId": "addressPayment"
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
"name": "downloadSectionTitle",
|
|
226
|
-
"displayName": "
|
|
226
|
+
"displayName": "Downloadable Files Title",
|
|
227
227
|
"type": "TEXT",
|
|
228
228
|
"required": false,
|
|
229
|
-
"defaultValue": "
|
|
229
|
+
"defaultValue": "Downloadable Files",
|
|
230
230
|
"groupId": "downloads"
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
"name": "downloadButtonText",
|
|
234
|
-
"displayName": "
|
|
234
|
+
"displayName": "Download Button",
|
|
235
235
|
"type": "TEXT",
|
|
236
236
|
"required": false,
|
|
237
|
-
"defaultValue": "
|
|
237
|
+
"defaultValue": "Download",
|
|
238
238
|
"groupId": "downloads"
|
|
239
239
|
}
|
|
240
240
|
],
|
|
241
241
|
"propGroups": [
|
|
242
242
|
{
|
|
243
243
|
"id": "orderInfo",
|
|
244
|
-
"name": "
|
|
245
|
-
"description": "
|
|
244
|
+
"name": "Order Information",
|
|
245
|
+
"description": "Labels shown in order detail header (order no, status, date)"
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
"id": "navigation",
|
|
249
|
-
"name": "
|
|
250
|
-
"description": "Breadcrumb
|
|
249
|
+
"name": "Navigation",
|
|
250
|
+
"description": "Breadcrumb and back button texts"
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
"id": "addressPayment",
|
|
254
|
-
"name": "
|
|
255
|
-
"description": "
|
|
254
|
+
"name": "Address & Payment",
|
|
255
|
+
"description": "Delivery address, billing address, and payment information titles"
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
"id": "summary",
|
|
259
|
-
"name": "
|
|
260
|
-
"description": "
|
|
259
|
+
"name": "Order Summary",
|
|
260
|
+
"description": "Summary row labels such as subtotal, shipping, and total"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
"id": "shipping",
|
|
264
|
-
"name": "
|
|
265
|
-
"description": "
|
|
264
|
+
"name": "Shipping Details",
|
|
265
|
+
"description": "Package shipping company, tracking number, and copy feedback"
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
"id": "returnRequest",
|
|
269
|
-
"name": "
|
|
270
|
-
"description": "
|
|
269
|
+
"name": "Return Request",
|
|
270
|
+
"description": "Title, button, and notification texts on the return screen"
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
"id": "states",
|
|
274
|
-
"name": "
|
|
275
|
-
"description": "
|
|
274
|
+
"name": "Status Messages",
|
|
275
|
+
"description": "Texts shown during loading and error states"
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
"id": "downloads",
|
|
279
|
-
"name": "
|
|
280
|
-
"description": "
|
|
279
|
+
"name": "Downloadable Files",
|
|
280
|
+
"description": "Title and button texts in the digital product download section"
|
|
281
281
|
}
|
|
282
282
|
]
|
|
283
283
|
}
|
|
@@ -25,35 +25,35 @@ import ReturnView from "./components/ReturnView";
|
|
|
25
25
|
import { Props } from "./types";
|
|
26
26
|
|
|
27
27
|
export function AccountOrderDetail({
|
|
28
|
-
breadcrumbOrdersLabel = "
|
|
29
|
-
breadcrumbOrderLabel = "
|
|
30
|
-
orderNoLabel = "
|
|
31
|
-
orderStatusLabel = "
|
|
32
|
-
orderDateLabel = "
|
|
33
|
-
returnButtonText = "
|
|
34
|
-
returningButtonText = "
|
|
35
|
-
returnRequestTitle = "
|
|
36
|
-
returnSubmitText = "
|
|
37
|
-
deliveryAddressLabel = "
|
|
38
|
-
billingAddressLabel = "
|
|
39
|
-
paymentInfoLabel = "
|
|
40
|
-
summaryLabel = "
|
|
41
|
-
subtotalLabel = "
|
|
42
|
-
shippingLabel = "
|
|
43
|
-
totalLabel = "
|
|
44
|
-
taxIncludedText = "*
|
|
45
|
-
installmentText = "
|
|
46
|
-
singlePaymentText = "
|
|
47
|
-
cargoCompanyLabel = "
|
|
48
|
-
trackingNumberLabel = "
|
|
49
|
-
quantityLabel = "
|
|
50
|
-
errorText = "
|
|
51
|
-
backToOrdersText = "
|
|
52
|
-
returnSuccessText = "
|
|
53
|
-
returnErrorText = "
|
|
54
|
-
copiedText = "
|
|
55
|
-
downloadSectionTitle = "
|
|
56
|
-
downloadButtonText = "
|
|
28
|
+
breadcrumbOrdersLabel = "My Orders",
|
|
29
|
+
breadcrumbOrderLabel = "Order",
|
|
30
|
+
orderNoLabel = "Order No:",
|
|
31
|
+
orderStatusLabel = "Order Status:",
|
|
32
|
+
orderDateLabel = "Order Date:",
|
|
33
|
+
returnButtonText = "Return",
|
|
34
|
+
returningButtonText = "Submitting return request...",
|
|
35
|
+
returnRequestTitle = "Return Request",
|
|
36
|
+
returnSubmitText = "Return",
|
|
37
|
+
deliveryAddressLabel = "Delivery Address",
|
|
38
|
+
billingAddressLabel = "Billing Address",
|
|
39
|
+
paymentInfoLabel = "Payment Information",
|
|
40
|
+
summaryLabel = "Summary",
|
|
41
|
+
subtotalLabel = "Subtotal",
|
|
42
|
+
shippingLabel = "Shipping",
|
|
43
|
+
totalLabel = "Total",
|
|
44
|
+
taxIncludedText = "*taxes included",
|
|
45
|
+
installmentText = "Installment",
|
|
46
|
+
singlePaymentText = "Single Payment",
|
|
47
|
+
cargoCompanyLabel = "Shipping Company:",
|
|
48
|
+
trackingNumberLabel = "Tracking Number:",
|
|
49
|
+
quantityLabel = "items",
|
|
50
|
+
errorText = "Order not found.",
|
|
51
|
+
backToOrdersText = "Back to Orders",
|
|
52
|
+
returnSuccessText = "Your return request has been successfully created.",
|
|
53
|
+
returnErrorText = "An error occurred while creating the return request.",
|
|
54
|
+
copiedText = "Copied!",
|
|
55
|
+
downloadSectionTitle = "Downloadable Files",
|
|
56
|
+
downloadButtonText = "Download",
|
|
57
57
|
}: Props) {
|
|
58
58
|
const [order, setOrder] = useState<IkasOrder | null>(null);
|
|
59
59
|
const [loading, setLoading] = useState(true);
|
package/data/section-templates/account-info-section/children/AccountOrders/ikas-config-snippet.json
CHANGED
|
@@ -7,79 +7,79 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "ordersLabel",
|
|
10
|
-
"displayName": "
|
|
10
|
+
"displayName": "Title",
|
|
11
11
|
"type": "TEXT",
|
|
12
12
|
"required": false,
|
|
13
|
-
"defaultValue": "
|
|
13
|
+
"defaultValue": "My Orders",
|
|
14
14
|
"groupId": "texts"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "emptyText",
|
|
18
|
-
"displayName": "
|
|
18
|
+
"displayName": "Empty State Text",
|
|
19
19
|
"type": "TEXT",
|
|
20
20
|
"required": false,
|
|
21
|
-
"defaultValue": "
|
|
21
|
+
"defaultValue": "You don't have any orders yet.",
|
|
22
22
|
"groupId": "texts"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "detailButtonText",
|
|
26
|
-
"displayName": "
|
|
26
|
+
"displayName": "Detail Button Text",
|
|
27
27
|
"type": "TEXT",
|
|
28
28
|
"required": false,
|
|
29
|
-
"defaultValue": "
|
|
29
|
+
"defaultValue": "View Details",
|
|
30
30
|
"groupId": "cardTexts"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "orderNoText",
|
|
34
|
-
"displayName": "
|
|
34
|
+
"displayName": "Order No Label",
|
|
35
35
|
"type": "TEXT",
|
|
36
36
|
"required": false,
|
|
37
|
-
"defaultValue": "
|
|
37
|
+
"defaultValue": "Order No:",
|
|
38
38
|
"groupId": "cardTexts"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "itemsText",
|
|
42
|
-
"displayName": "
|
|
42
|
+
"displayName": "Product Label",
|
|
43
43
|
"type": "TEXT",
|
|
44
44
|
"required": false,
|
|
45
|
-
"defaultValue": "
|
|
45
|
+
"defaultValue": "Product",
|
|
46
46
|
"groupId": "cardTexts"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "shopButtonText",
|
|
50
|
-
"displayName": "
|
|
50
|
+
"displayName": "Shopping Button Text",
|
|
51
51
|
"type": "TEXT",
|
|
52
52
|
"required": false,
|
|
53
|
-
"defaultValue": "
|
|
53
|
+
"defaultValue": "Start Shopping",
|
|
54
54
|
"groupId": "texts"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "errorText",
|
|
58
|
-
"displayName": "
|
|
58
|
+
"displayName": "Error Message",
|
|
59
59
|
"type": "TEXT",
|
|
60
60
|
"required": false,
|
|
61
|
-
"defaultValue": "
|
|
61
|
+
"defaultValue": "An error occurred while loading orders.",
|
|
62
62
|
"groupId": "texts"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"name": "retryButtonText",
|
|
66
|
-
"displayName": "
|
|
66
|
+
"displayName": "Try Again Button Text",
|
|
67
67
|
"type": "TEXT",
|
|
68
68
|
"required": false,
|
|
69
|
-
"defaultValue": "
|
|
69
|
+
"defaultValue": "Try Again",
|
|
70
70
|
"groupId": "texts"
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
73
|
"propGroups": [
|
|
74
74
|
{
|
|
75
75
|
"id": "texts",
|
|
76
|
-
"name": "
|
|
77
|
-
"description": "
|
|
76
|
+
"name": "General Texts",
|
|
77
|
+
"description": "Page title, loading, and empty state messages"
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"id": "cardTexts",
|
|
81
|
-
"name": "
|
|
82
|
-
"description": "
|
|
81
|
+
"name": "Order Card Texts",
|
|
82
|
+
"description": "Label and button texts on each order card"
|
|
83
83
|
}
|
|
84
84
|
]
|
|
85
85
|
}
|
|
@@ -11,14 +11,14 @@ import OrderCard from "./components/OrderCard";
|
|
|
11
11
|
import { Props } from "./types";
|
|
12
12
|
|
|
13
13
|
export function AccountOrders({
|
|
14
|
-
ordersLabel = "
|
|
15
|
-
emptyText = "
|
|
16
|
-
detailButtonText = "
|
|
17
|
-
orderNoText = "
|
|
18
|
-
itemsText = "
|
|
19
|
-
shopButtonText = "
|
|
20
|
-
errorText = "
|
|
21
|
-
retryButtonText = "
|
|
14
|
+
ordersLabel = "My Orders",
|
|
15
|
+
emptyText = "You don't have any orders yet.",
|
|
16
|
+
detailButtonText = "View Details",
|
|
17
|
+
orderNoText = "Order No:",
|
|
18
|
+
itemsText = "Product",
|
|
19
|
+
shopButtonText = "Start Shopping",
|
|
20
|
+
errorText = "An error occurred while loading orders.",
|
|
21
|
+
retryButtonText = "Try Again",
|
|
22
22
|
}: Props) {
|
|
23
23
|
const [orders, setOrders] = useState<IkasOrder[]>([]);
|
|
24
24
|
const [loading, setLoading] = useState(true);
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
/** Enum type: {{ENUM_ID:AspectRatio}} */
|
|
5
5
|
export type AspectRatio = "Square" | "Portrait" | "Landscape" | "Video";
|
|
6
|
-
/** Enum type: __breakpointsEnum__ */
|
|
7
|
-
export type Breakpoints = "desktop";
|
|
8
6
|
/** Enum type: {{ENUM_ID:NumberOfColumns}} */
|
|
9
7
|
export type NumberOfColumns = "One" | "Two" | "Three" | "Four" | "Five";
|
|
10
8
|
/** Enum type: {{ENUM_ID:ObjectFit}} */
|
|
@@ -7,14 +7,10 @@ export function useScrollLock(
|
|
|
7
7
|
) {
|
|
8
8
|
useEffect(() => {
|
|
9
9
|
if (!enabled) return;
|
|
10
|
-
const scrollbarWidth =
|
|
11
|
-
window.innerWidth - document.documentElement.clientWidth;
|
|
12
10
|
document.body.style.overflow = "hidden";
|
|
13
|
-
document.body.style.paddingRight = `${scrollbarWidth}px`;
|
|
14
11
|
return () => {
|
|
15
12
|
if (skipCleanupRef?.current) return;
|
|
16
13
|
document.body.style.overflow = "";
|
|
17
|
-
document.body.style.paddingRight = "";
|
|
18
14
|
};
|
|
19
15
|
}, [enabled]);
|
|
20
16
|
}
|