@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,83 +7,83 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "title",
|
|
10
|
-
"displayName": "
|
|
10
|
+
"displayName": "Title",
|
|
11
11
|
"type": "TEXT",
|
|
12
12
|
"required": false,
|
|
13
|
-
"defaultValue": "
|
|
14
|
-
"groupId": "form-
|
|
13
|
+
"defaultValue": "Change Password",
|
|
14
|
+
"groupId": "form-title"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "subtitle",
|
|
18
|
-
"displayName": "
|
|
18
|
+
"displayName": "Description",
|
|
19
19
|
"type": "TEXT",
|
|
20
20
|
"required": false,
|
|
21
|
-
"defaultValue": "
|
|
22
|
-
"groupId": "form-
|
|
21
|
+
"defaultValue": "Please set your new password.",
|
|
22
|
+
"groupId": "form-title"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "passwordLabel",
|
|
26
|
-
"displayName": "
|
|
26
|
+
"displayName": "Password Label",
|
|
27
27
|
"type": "TEXT",
|
|
28
28
|
"required": false,
|
|
29
|
-
"defaultValue": "
|
|
30
|
-
"groupId": "form-
|
|
29
|
+
"defaultValue": "New Password",
|
|
30
|
+
"groupId": "form-fields"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "passwordPlaceholder",
|
|
34
|
-
"displayName": "
|
|
34
|
+
"displayName": "Password Placeholder",
|
|
35
35
|
"type": "TEXT",
|
|
36
36
|
"required": false,
|
|
37
|
-
"defaultValue": "
|
|
38
|
-
"groupId": "form-
|
|
37
|
+
"defaultValue": "Password",
|
|
38
|
+
"groupId": "form-fields"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "passwordAgainLabel",
|
|
42
|
-
"displayName": "
|
|
42
|
+
"displayName": "Confirm Password Label",
|
|
43
43
|
"type": "TEXT",
|
|
44
44
|
"required": false,
|
|
45
|
-
"defaultValue": "
|
|
46
|
-
"groupId": "form-
|
|
45
|
+
"defaultValue": "Confirm New Password",
|
|
46
|
+
"groupId": "form-fields"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "passwordAgainPlaceholder",
|
|
50
|
-
"displayName": "
|
|
50
|
+
"displayName": "Confirm Password Placeholder",
|
|
51
51
|
"type": "TEXT",
|
|
52
52
|
"required": false,
|
|
53
|
-
"defaultValue": "
|
|
54
|
-
"groupId": "form-
|
|
53
|
+
"defaultValue": "Password",
|
|
54
|
+
"groupId": "form-fields"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "submitButtonText",
|
|
58
|
-
"displayName": "
|
|
58
|
+
"displayName": "Change Button",
|
|
59
59
|
"type": "TEXT",
|
|
60
60
|
"required": false,
|
|
61
|
-
"defaultValue": "
|
|
62
|
-
"groupId": "
|
|
61
|
+
"defaultValue": "Change",
|
|
62
|
+
"groupId": "button-texts"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"name": "submittingButtonText",
|
|
66
|
-
"displayName": "
|
|
66
|
+
"displayName": "Changing Button",
|
|
67
67
|
"type": "TEXT",
|
|
68
68
|
"required": false,
|
|
69
|
-
"defaultValue": "
|
|
70
|
-
"groupId": "
|
|
69
|
+
"defaultValue": "Changing...",
|
|
70
|
+
"groupId": "button-texts"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "successMessage",
|
|
74
|
-
"displayName": "
|
|
74
|
+
"displayName": "Success Message",
|
|
75
75
|
"type": "TEXT",
|
|
76
76
|
"required": false,
|
|
77
|
-
"defaultValue": "
|
|
78
|
-
"groupId": "
|
|
77
|
+
"defaultValue": "Your password has been successfully changed.",
|
|
78
|
+
"groupId": "success-screen"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "loginLinkText",
|
|
82
|
-
"displayName": "
|
|
82
|
+
"displayName": "Back to Login Link",
|
|
83
83
|
"type": "TEXT",
|
|
84
84
|
"required": false,
|
|
85
|
-
"defaultValue": "
|
|
86
|
-
"groupId": "
|
|
85
|
+
"defaultValue": "Sign In",
|
|
86
|
+
"groupId": "success-screen"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "backgroundColor",
|
|
@@ -95,24 +95,24 @@
|
|
|
95
95
|
],
|
|
96
96
|
"propGroups": [
|
|
97
97
|
{
|
|
98
|
-
"id": "form-
|
|
99
|
-
"name": "Form
|
|
100
|
-
"description": "
|
|
98
|
+
"id": "form-title",
|
|
99
|
+
"name": "Form Title",
|
|
100
|
+
"description": "Title and description texts shown at the top of the form"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
"id": "form-
|
|
104
|
-
"name": "Form
|
|
105
|
-
"description": "
|
|
103
|
+
"id": "form-fields",
|
|
104
|
+
"name": "Form Fields",
|
|
105
|
+
"description": "Password field label and placeholder texts"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
|
-
"id": "
|
|
109
|
-
"name": "
|
|
110
|
-
"description": "
|
|
108
|
+
"id": "button-texts",
|
|
109
|
+
"name": "Button Texts",
|
|
110
|
+
"description": "Submit button and loading state texts"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
|
-
"id": "
|
|
114
|
-
"name": "
|
|
115
|
-
"description": "
|
|
113
|
+
"id": "success-screen",
|
|
114
|
+
"name": "Success Screen",
|
|
115
|
+
"description": "Messages and links shown after password is successfully changed"
|
|
116
116
|
}
|
|
117
117
|
]
|
|
118
118
|
}
|
|
@@ -27,24 +27,24 @@ interface RegisterFormProps extends Props {
|
|
|
27
27
|
|
|
28
28
|
const RegisterForm = observer(function RegisterForm({
|
|
29
29
|
registerForm,
|
|
30
|
-
title = "
|
|
31
|
-
subtitle = "
|
|
32
|
-
firstNameLabel = "
|
|
33
|
-
lastNameLabel = "
|
|
34
|
-
emailLabel = "
|
|
35
|
-
passwordLabel = "
|
|
30
|
+
title = "Create Account",
|
|
31
|
+
subtitle = "Create your free account and start shopping.",
|
|
32
|
+
firstNameLabel = "First Name",
|
|
33
|
+
lastNameLabel = "Last Name",
|
|
34
|
+
emailLabel = "Email",
|
|
35
|
+
passwordLabel = "Password",
|
|
36
36
|
firstNamePlaceholder,
|
|
37
37
|
lastNamePlaceholder,
|
|
38
38
|
emailPlaceholder,
|
|
39
|
-
passwordPlaceholder = "
|
|
40
|
-
submitButtonText = "
|
|
41
|
-
submittingButtonText = "
|
|
42
|
-
loginLinkText = "
|
|
43
|
-
marketingConsentText = "
|
|
44
|
-
agreementConsentText = "
|
|
45
|
-
googleButtonText = "
|
|
46
|
-
facebookButtonText = "
|
|
47
|
-
dividerText = "
|
|
39
|
+
passwordPlaceholder = "Enter your password",
|
|
40
|
+
submitButtonText = "Sign Up",
|
|
41
|
+
submittingButtonText = "Signing up...",
|
|
42
|
+
loginLinkText = "Already have an account? Sign in",
|
|
43
|
+
marketingConsentText = "I want to receive emails about campaigns and promotions",
|
|
44
|
+
agreementConsentText = "I accept the membership agreement",
|
|
45
|
+
googleButtonText = "Sign up with Google",
|
|
46
|
+
facebookButtonText = "Sign up with Facebook",
|
|
47
|
+
dividerText = "or",
|
|
48
48
|
showGoogleLogin = false,
|
|
49
49
|
showFacebookLogin = false,
|
|
50
50
|
marketingConsentLink,
|
|
@@ -7,172 +7,172 @@
|
|
|
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": "Create Account",
|
|
14
14
|
"groupId": "content"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "subtitle",
|
|
18
|
-
"displayName": "
|
|
18
|
+
"displayName": "Subtitle",
|
|
19
19
|
"type": "RICH_TEXT",
|
|
20
20
|
"required": false,
|
|
21
|
-
"defaultValue": "<p>
|
|
21
|
+
"defaultValue": "<p>Create your free account and start shopping.</p>",
|
|
22
22
|
"groupId": "content"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "firstNameLabel",
|
|
26
|
-
"displayName": "
|
|
26
|
+
"displayName": "First Name Label",
|
|
27
27
|
"type": "TEXT",
|
|
28
28
|
"required": false,
|
|
29
|
-
"defaultValue": "
|
|
29
|
+
"defaultValue": "First Name",
|
|
30
30
|
"groupId": "firstName"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "firstNamePlaceholder",
|
|
34
|
-
"displayName": "
|
|
34
|
+
"displayName": "First Name Placeholder",
|
|
35
35
|
"type": "TEXT",
|
|
36
36
|
"required": false,
|
|
37
|
-
"defaultValue": "
|
|
37
|
+
"defaultValue": "First Name",
|
|
38
38
|
"groupId": "firstName"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "lastNameLabel",
|
|
42
|
-
"displayName": "
|
|
42
|
+
"displayName": "Last Name Label",
|
|
43
43
|
"type": "TEXT",
|
|
44
44
|
"required": false,
|
|
45
|
-
"defaultValue": "
|
|
45
|
+
"defaultValue": "Last Name",
|
|
46
46
|
"groupId": "lastName"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "lastNamePlaceholder",
|
|
50
|
-
"displayName": "
|
|
50
|
+
"displayName": "Last Name Placeholder",
|
|
51
51
|
"type": "TEXT",
|
|
52
52
|
"required": false,
|
|
53
|
-
"defaultValue": "
|
|
53
|
+
"defaultValue": "Last Name",
|
|
54
54
|
"groupId": "lastName"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "emailLabel",
|
|
58
|
-
"displayName": "
|
|
58
|
+
"displayName": "Email Label",
|
|
59
59
|
"type": "TEXT",
|
|
60
60
|
"required": false,
|
|
61
|
-
"defaultValue": "
|
|
61
|
+
"defaultValue": "Email",
|
|
62
62
|
"groupId": "email"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"name": "emailPlaceholder",
|
|
66
|
-
"displayName": "
|
|
66
|
+
"displayName": "Email Placeholder",
|
|
67
67
|
"type": "TEXT",
|
|
68
68
|
"required": false,
|
|
69
|
-
"defaultValue": "
|
|
69
|
+
"defaultValue": "example@email.com",
|
|
70
70
|
"groupId": "email"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "passwordLabel",
|
|
74
|
-
"displayName": "
|
|
74
|
+
"displayName": "Password Label",
|
|
75
75
|
"type": "TEXT",
|
|
76
76
|
"required": false,
|
|
77
|
-
"defaultValue": "
|
|
77
|
+
"defaultValue": "Password",
|
|
78
78
|
"groupId": "password"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "passwordPlaceholder",
|
|
82
|
-
"displayName": "
|
|
82
|
+
"displayName": "Password Placeholder",
|
|
83
83
|
"type": "TEXT",
|
|
84
84
|
"required": false,
|
|
85
|
-
"defaultValue": "
|
|
85
|
+
"defaultValue": "Enter your password",
|
|
86
86
|
"groupId": "password"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "submitButtonText",
|
|
90
|
-
"displayName": "
|
|
90
|
+
"displayName": "Register Button Text",
|
|
91
91
|
"type": "TEXT",
|
|
92
92
|
"required": false,
|
|
93
|
-
"defaultValue": "
|
|
93
|
+
"defaultValue": "Sign Up",
|
|
94
94
|
"groupId": "buttons"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"name": "submittingButtonText",
|
|
98
|
-
"displayName": "
|
|
98
|
+
"displayName": "Registering Text",
|
|
99
99
|
"type": "TEXT",
|
|
100
100
|
"required": false,
|
|
101
|
-
"defaultValue": "
|
|
101
|
+
"defaultValue": "Signing up...",
|
|
102
102
|
"groupId": "buttons"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"name": "loginLinkText",
|
|
106
|
-
"displayName": "
|
|
106
|
+
"displayName": "Sign In Text",
|
|
107
107
|
"type": "TEXT",
|
|
108
108
|
"required": false,
|
|
109
|
-
"defaultValue": "
|
|
109
|
+
"defaultValue": "Already have an account? Sign in",
|
|
110
110
|
"groupId": "buttons"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"name": "marketingConsentText",
|
|
114
|
-
"displayName": "
|
|
114
|
+
"displayName": "Marketing Consent Text",
|
|
115
115
|
"type": "RICH_TEXT",
|
|
116
116
|
"required": false,
|
|
117
117
|
"groupId": "marketing-consent"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"name": "marketingConsentLink",
|
|
121
|
-
"displayName": "
|
|
121
|
+
"displayName": "Marketing Consent Link",
|
|
122
122
|
"type": "LINK",
|
|
123
123
|
"required": false,
|
|
124
124
|
"groupId": "marketing-consent"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"name": "agreementConsentText",
|
|
128
|
-
"displayName": "
|
|
128
|
+
"displayName": "Membership Agreement Text",
|
|
129
129
|
"type": "RICH_TEXT",
|
|
130
130
|
"required": false,
|
|
131
131
|
"groupId": "agreement-consent"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"name": "agreementConsentLink",
|
|
135
|
-
"displayName": "
|
|
135
|
+
"displayName": "Membership Agreement Link",
|
|
136
136
|
"type": "LINK",
|
|
137
137
|
"required": false,
|
|
138
138
|
"groupId": "agreement-consent"
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
"name": "showGoogleLogin",
|
|
142
|
-
"displayName": "Google
|
|
142
|
+
"displayName": "Google Login",
|
|
143
143
|
"type": "BOOLEAN",
|
|
144
144
|
"required": false,
|
|
145
145
|
"groupId": "google"
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
"name": "googleButtonText",
|
|
149
|
-
"displayName": "Google
|
|
149
|
+
"displayName": "Google Button Text",
|
|
150
150
|
"type": "TEXT",
|
|
151
151
|
"required": false,
|
|
152
|
-
"defaultValue": "
|
|
152
|
+
"defaultValue": "Sign up with Google",
|
|
153
153
|
"groupId": "google"
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"name": "showFacebookLogin",
|
|
157
|
-
"displayName": "Facebook
|
|
157
|
+
"displayName": "Facebook Login",
|
|
158
158
|
"type": "BOOLEAN",
|
|
159
159
|
"required": false,
|
|
160
160
|
"groupId": "facebook"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
"name": "facebookButtonText",
|
|
164
|
-
"displayName": "Facebook
|
|
164
|
+
"displayName": "Facebook Button Text",
|
|
165
165
|
"type": "TEXT",
|
|
166
166
|
"required": false,
|
|
167
|
-
"defaultValue": "
|
|
167
|
+
"defaultValue": "Sign up with Facebook",
|
|
168
168
|
"groupId": "facebook"
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
"name": "dividerText",
|
|
172
|
-
"displayName": "
|
|
172
|
+
"displayName": "Divider Text",
|
|
173
173
|
"type": "TEXT",
|
|
174
174
|
"required": false,
|
|
175
|
-
"defaultValue": "
|
|
175
|
+
"defaultValue": "or",
|
|
176
176
|
"groupId": "socialLogin"
|
|
177
177
|
},
|
|
178
178
|
{
|
|
@@ -186,56 +186,56 @@
|
|
|
186
186
|
"propGroups": [
|
|
187
187
|
{
|
|
188
188
|
"id": "content",
|
|
189
|
-
"name": "
|
|
190
|
-
"description": "
|
|
189
|
+
"name": "Content",
|
|
190
|
+
"description": "Page title and description"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
"id": "formFields",
|
|
194
|
-
"name": "Form
|
|
195
|
-
"description": "
|
|
194
|
+
"name": "Form Fields",
|
|
195
|
+
"description": "Registration form label and placeholder texts",
|
|
196
196
|
"children": [
|
|
197
197
|
{
|
|
198
198
|
"id": "firstName",
|
|
199
|
-
"name": "
|
|
199
|
+
"name": "First Name"
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"id": "lastName",
|
|
203
|
-
"name": "
|
|
203
|
+
"name": "Last Name"
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
"id": "email",
|
|
207
|
-
"name": "
|
|
207
|
+
"name": "Email"
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
"id": "password",
|
|
211
|
-
"name": "
|
|
211
|
+
"name": "Password"
|
|
212
212
|
}
|
|
213
213
|
]
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
"id": "buttons",
|
|
217
|
-
"name": "
|
|
218
|
-
"description": "
|
|
217
|
+
"name": "Buttons",
|
|
218
|
+
"description": "Button and link texts"
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"id": "consents",
|
|
222
|
-
"name": "
|
|
223
|
-
"description": "
|
|
222
|
+
"name": "Consent Texts",
|
|
223
|
+
"description": "Marketing consent and membership agreement",
|
|
224
224
|
"children": [
|
|
225
225
|
{
|
|
226
226
|
"id": "marketing-consent",
|
|
227
|
-
"name": "
|
|
227
|
+
"name": "Marketing Consent"
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"id": "agreement-consent",
|
|
231
|
-
"name": "
|
|
231
|
+
"name": "Membership Agreement"
|
|
232
232
|
}
|
|
233
233
|
]
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
"id": "socialLogin",
|
|
237
|
-
"name": "
|
|
238
|
-
"description": "Google
|
|
237
|
+
"name": "Social Login",
|
|
238
|
+
"description": "Google and Facebook login settings",
|
|
239
239
|
"children": [
|
|
240
240
|
{
|
|
241
241
|
"id": "google",
|
|
@@ -7,14 +7,14 @@
|
|
|
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": "Title"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "content",
|
|
17
|
-
"displayName": "
|
|
17
|
+
"displayName": "Content",
|
|
18
18
|
"type": "RICH_TEXT",
|
|
19
19
|
"required": false
|
|
20
20
|
},
|
|
@@ -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,29 +45,29 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "useVariantImages",
|
|
48
|
-
"displayName": "
|
|
48
|
+
"displayName": "Image Variant",
|
|
49
49
|
"type": "BOOLEAN",
|
|
50
50
|
"required": false,
|
|
51
|
-
"description": "
|
|
51
|
+
"description": "Use product images for color variant."
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
"propGroups": [
|
|
55
55
|
{
|
|
56
56
|
"id": "appearance",
|
|
57
|
-
"name": "
|
|
57
|
+
"name": "Appearance Settings",
|
|
58
58
|
"children": [
|
|
59
59
|
{
|
|
60
60
|
"id": "mobile",
|
|
61
|
-
"name": "
|
|
62
|
-
"description": "
|
|
61
|
+
"name": "Mobile View",
|
|
62
|
+
"description": "Margin settings for mobile devices"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"id": "desktop",
|
|
66
|
-
"name": "
|
|
67
|
-
"description": "
|
|
66
|
+
"name": "Desktop View",
|
|
67
|
+
"description": "Margin settings for desktop devices"
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
|
-
"description": "
|
|
70
|
+
"description": "Component mobile and desktop view settings"
|
|
71
71
|
}
|
|
72
72
|
]
|
|
73
73
|
}
|
|
@@ -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 {
|
|
@@ -6,6 +7,6 @@ export interface Props {
|
|
|
6
7
|
mobileMarginBottom?: MarginBottomStyleType;
|
|
7
8
|
desktopMarginTop?: MarginTopStyleType;
|
|
8
9
|
desktopMarginBottom?: MarginBottomStyleType;
|
|
9
|
-
/**
|
|
10
|
+
/** Use product images for color variant. */
|
|
10
11
|
useVariantImages?: boolean;
|
|
11
12
|
}
|
package/data/storefront-api.json
CHANGED