@ikas/code-components-mcp 0.105.0 → 0.106.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/_meta.json +4 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/components/AddressCard/index.tsx +55 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/components/AddressCard/styles.css +46 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/components/AddressModal/index.tsx +301 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/components/AddressModal/styles.css +22 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/ikas-config-snippet.json +122 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/index.tsx +127 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/styles.css +41 -0
- package/data/section-templates/account-info-section/children/AccountAddresses/types.ts +14 -0
- package/data/section-templates/account-info-section/children/AccountFavorites/ikas-config-snippet.json +57 -0
- package/data/section-templates/account-info-section/children/AccountFavorites/index.tsx +82 -0
- package/data/section-templates/account-info-section/children/AccountFavorites/styles.css +52 -0
- package/data/section-templates/account-info-section/children/AccountFavorites/types.ts +6 -0
- package/data/section-templates/account-info-section/children/AccountInfoContent/ikas-config-snippet.json +66 -0
- package/data/section-templates/account-info-section/children/AccountInfoContent/index.tsx +134 -0
- package/data/section-templates/account-info-section/children/AccountInfoContent/styles.css +57 -0
- package/data/section-templates/account-info-section/children/AccountInfoContent/types.ts +7 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/OrderHeader/index.tsx +78 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/OrderHeader/styles.css +46 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/OrderItemRow/index.tsx +20 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/OrderItemRow/styles.css +16 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/OrderLineItemDisplay/index.tsx +112 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/OrderLineItemDisplay/styles.css +86 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/OrderSidebar/index.tsx +195 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/OrderSidebar/styles.css +93 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/PackageGroup/index.tsx +156 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/PackageGroup/styles.css +100 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/ReturnItemRow/index.tsx +56 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/ReturnItemRow/styles.css +57 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/ReturnView/index.tsx +159 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/components/ReturnView/styles.css +29 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/ikas-config-snippet.json +283 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/index.tsx +244 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/styles.css +125 -0
- package/data/section-templates/account-info-section/children/AccountOrderDetail/types.ts +31 -0
- package/data/section-templates/account-info-section/children/AccountOrders/components/OrderCard/index.tsx +122 -0
- package/data/section-templates/account-info-section/children/AccountOrders/components/OrderCard/styles.css +114 -0
- package/data/section-templates/account-info-section/children/AccountOrders/ikas-config-snippet.json +85 -0
- package/data/section-templates/account-info-section/children/AccountOrders/index.tsx +105 -0
- package/data/section-templates/account-info-section/children/AccountOrders/styles.css +36 -0
- package/data/section-templates/account-info-section/children/AccountOrders/types.ts +10 -0
- package/data/section-templates/account-info-section/components/AccountSidebar/index.tsx +171 -0
- package/data/section-templates/account-info-section/components/AccountSidebar/styles.css +144 -0
- package/data/section-templates/account-info-section/global-types.ts +13 -0
- package/data/section-templates/account-info-section/hooks/useScrollLock.ts +20 -0
- package/data/section-templates/account-info-section/ikas-config-snippet.json +69 -0
- package/data/section-templates/account-info-section/index.tsx +91 -0
- package/data/section-templates/account-info-section/styles.css +35 -0
- package/data/section-templates/account-info-section/sub-components/Breadcrumb/index.tsx +57 -0
- package/data/section-templates/account-info-section/sub-components/Breadcrumb/styles.css +49 -0
- package/data/section-templates/account-info-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/account-info-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/account-info-section/sub-components/Checkbox/index.tsx +42 -0
- package/data/section-templates/account-info-section/sub-components/Checkbox/styles.css +65 -0
- package/data/section-templates/account-info-section/sub-components/ConfirmModal/index.tsx +60 -0
- package/data/section-templates/account-info-section/sub-components/ConfirmModal/styles.css +20 -0
- package/data/section-templates/account-info-section/sub-components/FormItem/index.tsx +66 -0
- package/data/section-templates/account-info-section/sub-components/FormItem/styles.css +38 -0
- package/data/section-templates/account-info-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/account-info-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/account-info-section/sub-components/Modal/index.tsx +118 -0
- package/data/section-templates/account-info-section/sub-components/Modal/styles.css +70 -0
- package/data/section-templates/account-info-section/sub-components/PageLoader/index.tsx +14 -0
- package/data/section-templates/account-info-section/sub-components/PageLoader/styles.css +12 -0
- package/data/section-templates/account-info-section/sub-components/ProductCard/index.tsx +276 -0
- package/data/section-templates/account-info-section/sub-components/ProductCard/styles.css +99 -0
- package/data/section-templates/account-info-section/sub-components/Select/index.tsx +86 -0
- package/data/section-templates/account-info-section/sub-components/Select/styles.css +110 -0
- package/data/section-templates/account-info-section/sub-components/SkeletonField/index.tsx +12 -0
- package/data/section-templates/account-info-section/sub-components/SkeletonField/styles.css +29 -0
- package/data/section-templates/account-info-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/account-info-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/account-info-section/sub-components/Tag/index.tsx +21 -0
- package/data/section-templates/account-info-section/sub-components/Tag/styles.css +30 -0
- package/data/section-templates/account-info-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/account-info-section/types.ts +8 -0
- package/data/section-templates/account-info-section/utils/cx.ts +4 -0
- package/data/section-templates/account-info-section/utils/fullName.ts +6 -0
- package/data/section-templates/account-info-section/utils/media.ts +36 -0
- package/data/section-templates/account-info-section/utils/orderStatus.ts +28 -0
- package/data/section-templates/account-info-section/utils/toast.ts +5 -0
- package/data/section-templates/add-to-cart/_meta.json +4 -0
- package/data/section-templates/add-to-cart/components/PayWithIkas/index.tsx +34 -0
- package/data/section-templates/add-to-cart/components/PayWithIkas/styles.css +4 -0
- package/data/section-templates/add-to-cart/hooks/usePayWithIkas.ts +114 -0
- package/data/section-templates/add-to-cart/ikas-config-snippet.json +139 -0
- package/data/section-templates/add-to-cart/index.tsx +146 -0
- package/data/section-templates/add-to-cart/styles.css +27 -0
- package/data/section-templates/add-to-cart/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/add-to-cart/sub-components/Button/styles.css +114 -0
- package/data/section-templates/add-to-cart/sub-components/QuantitySelector/index.tsx +41 -0
- package/data/section-templates/add-to-cart/sub-components/QuantitySelector/styles.css +51 -0
- package/data/section-templates/add-to-cart/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/add-to-cart/types.ts +17 -0
- package/data/section-templates/add-to-cart/utils/bundle.ts +70 -0
- package/data/section-templates/add-to-cart/utils/cx.ts +4 -0
- package/data/section-templates/add-to-cart/utils/optionSet.ts +17 -0
- package/data/section-templates/add-to-cart/utils/toast.ts +5 -0
- package/data/section-templates/blog-home-section/_meta.json +4 -0
- package/data/section-templates/blog-home-section/components/BlogCard/index.tsx +89 -0
- package/data/section-templates/blog-home-section/components/BlogCard/styles.css +121 -0
- package/data/section-templates/blog-home-section/global-types.ts +13 -0
- package/data/section-templates/blog-home-section/ikas-config-snippet.json +95 -0
- package/data/section-templates/blog-home-section/index.tsx +124 -0
- package/data/section-templates/blog-home-section/styles.css +118 -0
- package/data/section-templates/blog-home-section/sub-components/Pagination/index.tsx +107 -0
- package/data/section-templates/blog-home-section/sub-components/Pagination/styles.css +88 -0
- package/data/section-templates/blog-home-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/blog-home-section/types.ts +14 -0
- package/data/section-templates/blog-home-section/utils/cx.ts +4 -0
- package/data/section-templates/blog-home-section/utils/fullName.ts +6 -0
- package/data/section-templates/blog-home-section/utils/media.ts +36 -0
- package/data/section-templates/blog-home-section/utils/pagination.ts +29 -0
- package/data/section-templates/blog-post-section/_meta.json +4 -0
- package/data/section-templates/blog-post-section/global-types.ts +13 -0
- package/data/section-templates/blog-post-section/ikas-config-snippet.json +75 -0
- package/data/section-templates/blog-post-section/index.tsx +128 -0
- package/data/section-templates/blog-post-section/styles.css +120 -0
- package/data/section-templates/blog-post-section/sub-components/Breadcrumb/index.tsx +57 -0
- package/data/section-templates/blog-post-section/sub-components/Breadcrumb/styles.css +49 -0
- package/data/section-templates/blog-post-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/blog-post-section/types.ts +11 -0
- package/data/section-templates/blog-post-section/utils/cx.ts +4 -0
- package/data/section-templates/blog-post-section/utils/fullName.ts +6 -0
- package/data/section-templates/blog-post-section/utils/media.ts +36 -0
- package/data/section-templates/bundle-products/_meta.json +4 -0
- package/data/section-templates/bundle-products/components/BundleProductItem/index.tsx +169 -0
- package/data/section-templates/bundle-products/components/BundleProductItem/styles.css +141 -0
- package/data/section-templates/bundle-products/components/BundleSkeletonLoading/index.tsx +35 -0
- package/data/section-templates/bundle-products/components/BundleSkeletonLoading/styles.css +85 -0
- package/data/section-templates/bundle-products/components/FurnitureRow/index.tsx +51 -0
- package/data/section-templates/bundle-products/components/FurnitureRow/styles.css +30 -0
- package/data/section-templates/bundle-products/components/FurnitureView/index.tsx +54 -0
- package/data/section-templates/bundle-products/components/FurnitureView/styles.css +22 -0
- package/data/section-templates/bundle-products/global-types.ts +13 -0
- package/data/section-templates/bundle-products/hooks/useBundleProducts.ts +75 -0
- package/data/section-templates/bundle-products/ikas-config-snippet.json +130 -0
- package/data/section-templates/bundle-products/index.tsx +101 -0
- package/data/section-templates/bundle-products/styles.css +20 -0
- package/data/section-templates/bundle-products/sub-components/Badge/index.tsx +208 -0
- package/data/section-templates/bundle-products/sub-components/Badge/styles.css +129 -0
- package/data/section-templates/bundle-products/sub-components/BundleMedia/index.tsx +72 -0
- package/data/section-templates/bundle-products/sub-components/BundleQuantityBox/index.tsx +73 -0
- package/data/section-templates/bundle-products/sub-components/BundleQuantityBox/styles.css +43 -0
- package/data/section-templates/bundle-products/sub-components/VariantBadge/index.tsx +153 -0
- package/data/section-templates/bundle-products/sub-components/VariantBadge/styles.css +47 -0
- package/data/section-templates/bundle-products/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/bundle-products/types.ts +17 -0
- package/data/section-templates/bundle-products/utils/bundle.ts +70 -0
- package/data/section-templates/bundle-products/utils/cx.ts +4 -0
- package/data/section-templates/bundle-products/utils/media.ts +36 -0
- package/data/section-templates/cart-section/_meta.json +4 -0
- package/data/section-templates/cart-section/components/CouponCode/index.tsx +108 -0
- package/data/section-templates/cart-section/components/CouponCode/styles.css +68 -0
- package/data/section-templates/cart-section/components/EmptyState/index.tsx +31 -0
- package/data/section-templates/cart-section/components/EmptyState/styles.css +18 -0
- package/data/section-templates/cart-section/components/OrderSummary/index.tsx +106 -0
- package/data/section-templates/cart-section/components/OrderSummary/styles.css +70 -0
- package/data/section-templates/cart-section/global-types.ts +13 -0
- package/data/section-templates/cart-section/ikas-config-snippet.json +130 -0
- package/data/section-templates/cart-section/index.tsx +107 -0
- package/data/section-templates/cart-section/styles.css +54 -0
- package/data/section-templates/cart-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/cart-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/cart-section/sub-components/CartItem/components/BundleProductItem/index.tsx +59 -0
- package/data/section-templates/cart-section/sub-components/CartItem/components/BundleProductItem/styles.css +24 -0
- package/data/section-templates/cart-section/sub-components/CartItem/components/BundleProducts/index.tsx +55 -0
- package/data/section-templates/cart-section/sub-components/CartItem/components/BundleProducts/styles.css +30 -0
- package/data/section-templates/cart-section/sub-components/CartItem/components/ItemOptions/index.tsx +31 -0
- package/data/section-templates/cart-section/sub-components/CartItem/components/ItemOptions/styles.css +6 -0
- package/data/section-templates/cart-section/sub-components/CartItem/components/OptionValueDisplay/index.tsx +79 -0
- package/data/section-templates/cart-section/sub-components/CartItem/components/OptionValueDisplay/styles.css +28 -0
- package/data/section-templates/cart-section/sub-components/CartItem/index.tsx +216 -0
- package/data/section-templates/cart-section/sub-components/CartItem/styles.css +170 -0
- package/data/section-templates/cart-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/cart-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/cart-section/sub-components/PageLoader/index.tsx +14 -0
- package/data/section-templates/cart-section/sub-components/PageLoader/styles.css +12 -0
- package/data/section-templates/cart-section/sub-components/QuantitySelector/index.tsx +41 -0
- package/data/section-templates/cart-section/sub-components/QuantitySelector/styles.css +51 -0
- package/data/section-templates/cart-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/cart-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/cart-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/cart-section/types.ts +15 -0
- package/data/section-templates/cart-section/utils/cx.ts +4 -0
- package/data/section-templates/cart-section/utils/media.ts +36 -0
- package/data/section-templates/category-images-section/_meta.json +4 -0
- package/data/section-templates/category-images-section/children/CategoryImageItem/components/Card/index.tsx +64 -0
- package/data/section-templates/category-images-section/children/CategoryImageItem/components/Card/styles.css +56 -0
- package/data/section-templates/category-images-section/children/CategoryImageItem/ikas-config-snippet.json +93 -0
- package/data/section-templates/category-images-section/children/CategoryImageItem/index.tsx +64 -0
- package/data/section-templates/category-images-section/children/CategoryImageItem/styles.css +10 -0
- package/data/section-templates/category-images-section/children/CategoryImageItem/types.ts +15 -0
- package/data/section-templates/category-images-section/global-types.ts +13 -0
- package/data/section-templates/category-images-section/ikas-config-snippet.json +69 -0
- package/data/section-templates/category-images-section/index.tsx +62 -0
- package/data/section-templates/category-images-section/styles.css +38 -0
- package/data/section-templates/category-images-section/types.ts +10 -0
- package/data/section-templates/category-images-section/utils/cx.ts +4 -0
- package/data/section-templates/category-images-section/utils/media.ts +36 -0
- package/data/section-templates/category-list-section/_meta.json +4 -0
- package/data/section-templates/category-list-section/children/CardProductName/ikas-config-snippet.json +21 -0
- package/data/section-templates/category-list-section/children/CardProductName/index.tsx +25 -0
- package/data/section-templates/category-list-section/children/CardProductName/styles.css +22 -0
- package/data/section-templates/category-list-section/children/CardProductName/types.ts +6 -0
- package/data/section-templates/category-list-section/children/CardProductPrice/ikas-config-snippet.json +15 -0
- package/data/section-templates/category-list-section/children/CardProductPrice/index.tsx +30 -0
- package/data/section-templates/category-list-section/children/CardProductPrice/styles.css +13 -0
- package/data/section-templates/category-list-section/children/CardProductPrice/types.ts +5 -0
- package/data/section-templates/category-list-section/children/CardProductVariants/ikas-config-snippet.json +15 -0
- package/data/section-templates/category-list-section/children/CardProductVariants/index.tsx +10 -0
- package/data/section-templates/category-list-section/children/CardProductVariants/styles.css +1 -0
- package/data/section-templates/category-list-section/children/CardProductVariants/types.ts +5 -0
- package/data/section-templates/category-list-section/components/CategoryListControls/index.tsx +129 -0
- package/data/section-templates/category-list-section/components/CategoryListControls/styles.css +99 -0
- package/data/section-templates/category-list-section/components/FilterBoxValues/index.tsx +42 -0
- package/data/section-templates/category-list-section/components/FilterBoxValues/styles.css +27 -0
- package/data/section-templates/category-list-section/components/FilterCategoryList/index.tsx +43 -0
- package/data/section-templates/category-list-section/components/FilterCategoryList/styles.css +20 -0
- package/data/section-templates/category-list-section/components/FilterGroupValues/index.tsx +114 -0
- package/data/section-templates/category-list-section/components/FilterGroupValues/styles.css +1 -0
- package/data/section-templates/category-list-section/components/FilterListValues/index.tsx +54 -0
- package/data/section-templates/category-list-section/components/FilterListValues/styles.css +22 -0
- package/data/section-templates/category-list-section/components/FilterRangeListValues/index.tsx +50 -0
- package/data/section-templates/category-list-section/components/FilterRangeListValues/styles.css +25 -0
- package/data/section-templates/category-list-section/components/FilterRangeValues/index.tsx +189 -0
- package/data/section-templates/category-list-section/components/FilterRangeValues/styles.css +89 -0
- package/data/section-templates/category-list-section/components/FilterSidebar/index.tsx +92 -0
- package/data/section-templates/category-list-section/components/FilterSidebar/styles.css +27 -0
- package/data/section-templates/category-list-section/components/FilterSwatchValues/index.tsx +63 -0
- package/data/section-templates/category-list-section/components/FilterSwatchValues/styles.css +48 -0
- package/data/section-templates/category-list-section/components/MobileFilterModal/index.tsx +146 -0
- package/data/section-templates/category-list-section/components/MobileFilterModal/styles.css +133 -0
- package/data/section-templates/category-list-section/global-types.ts +13 -0
- package/data/section-templates/category-list-section/hooks/useColumnPreference.ts +26 -0
- package/data/section-templates/category-list-section/hooks/useInfiniteScroll.ts +49 -0
- package/data/section-templates/category-list-section/hooks/usePageTracking.ts +56 -0
- package/data/section-templates/category-list-section/hooks/useScrollLock.ts +20 -0
- package/data/section-templates/category-list-section/ikas-config-snippet.json +240 -0
- package/data/section-templates/category-list-section/index.tsx +333 -0
- package/data/section-templates/category-list-section/styles.css +110 -0
- package/data/section-templates/category-list-section/sub-components/Badge/index.tsx +208 -0
- package/data/section-templates/category-list-section/sub-components/Badge/styles.css +129 -0
- package/data/section-templates/category-list-section/sub-components/Breadcrumb/index.tsx +57 -0
- package/data/section-templates/category-list-section/sub-components/Breadcrumb/styles.css +49 -0
- package/data/section-templates/category-list-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/category-list-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/category-list-section/sub-components/Checkbox/index.tsx +42 -0
- package/data/section-templates/category-list-section/sub-components/Checkbox/styles.css +65 -0
- package/data/section-templates/category-list-section/sub-components/CollapsibleGroup/index.tsx +52 -0
- package/data/section-templates/category-list-section/sub-components/CollapsibleGroup/styles.css +51 -0
- package/data/section-templates/category-list-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/category-list-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/category-list-section/sub-components/Pagination/index.tsx +107 -0
- package/data/section-templates/category-list-section/sub-components/Pagination/styles.css +88 -0
- package/data/section-templates/category-list-section/sub-components/ProductCard/index.tsx +276 -0
- package/data/section-templates/category-list-section/sub-components/ProductCard/styles.css +99 -0
- package/data/section-templates/category-list-section/sub-components/Select/index.tsx +86 -0
- package/data/section-templates/category-list-section/sub-components/Select/styles.css +110 -0
- package/data/section-templates/category-list-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/category-list-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/category-list-section/sub-components/Tag/index.tsx +21 -0
- package/data/section-templates/category-list-section/sub-components/Tag/styles.css +30 -0
- package/data/section-templates/category-list-section/sub-components/VariantBadge/index.tsx +153 -0
- package/data/section-templates/category-list-section/sub-components/VariantBadge/styles.css +47 -0
- package/data/section-templates/category-list-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/category-list-section/types.ts +29 -0
- package/data/section-templates/category-list-section/utils/cx.ts +4 -0
- package/data/section-templates/category-list-section/utils/media.ts +36 -0
- package/data/section-templates/category-list-section/utils/pagination.ts +29 -0
- package/data/section-templates/category-list-section/utils/toast.ts +5 -0
- package/data/section-templates/component-renderer/_meta.json +4 -0
- package/data/section-templates/component-renderer/additional/Features/index.tsx +25 -0
- package/data/section-templates/component-renderer/additional/Features/styles.css +39 -0
- package/data/section-templates/component-renderer/additional/Features/types.ts +4 -0
- package/data/section-templates/component-renderer/additional/ProductDetail/index.tsx +92 -0
- package/data/section-templates/component-renderer/additional/ProductDetail/styles.css +58 -0
- package/data/section-templates/component-renderer/additional/ProductDetail/types.ts +11 -0
- package/data/section-templates/component-renderer/global-types.ts +13 -0
- package/data/section-templates/component-renderer/hooks/useToast.ts +27 -0
- package/data/section-templates/component-renderer/ikas-config-snippet.json +44 -0
- package/data/section-templates/component-renderer/index.tsx +53 -0
- package/data/section-templates/component-renderer/styles.css +6 -0
- package/data/section-templates/component-renderer/sub-components/Breadcrumb/index.tsx +57 -0
- package/data/section-templates/component-renderer/sub-components/Breadcrumb/styles.css +49 -0
- package/data/section-templates/component-renderer/sub-components/Toast/index.tsx +257 -0
- package/data/section-templates/component-renderer/sub-components/Toast/styles.css +3 -0
- package/data/section-templates/component-renderer/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/component-renderer/types.ts +5 -0
- package/data/section-templates/component-renderer/utils/cx.ts +4 -0
- package/data/section-templates/email-verification-section/_meta.json +4 -0
- package/data/section-templates/email-verification-section/ikas-config-snippet.json +143 -0
- package/data/section-templates/email-verification-section/index.tsx +168 -0
- package/data/section-templates/email-verification-section/styles.css +118 -0
- package/data/section-templates/email-verification-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/email-verification-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/email-verification-section/sub-components/FormItem/index.tsx +66 -0
- package/data/section-templates/email-verification-section/sub-components/FormItem/styles.css +38 -0
- package/data/section-templates/email-verification-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/email-verification-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/email-verification-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/email-verification-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/email-verification-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/email-verification-section/types.ts +16 -0
- package/data/section-templates/email-verification-section/utils/cx.ts +4 -0
- package/data/section-templates/favorites/_meta.json +4 -0
- package/data/section-templates/favorites/ikas-config-snippet.json +72 -0
- package/data/section-templates/favorites/index.tsx +66 -0
- package/data/section-templates/favorites/styles.css +45 -0
- package/data/section-templates/favorites/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/favorites/types.ts +10 -0
- package/data/section-templates/favorites/utils/cx.ts +4 -0
- package/data/section-templates/features-section/_meta.json +4 -0
- package/data/section-templates/features-section/children/FeatureItem/ikas-config-snippet.json +21 -0
- package/data/section-templates/features-section/children/FeatureItem/index.tsx +27 -0
- package/data/section-templates/features-section/children/FeatureItem/styles.css +19 -0
- package/data/section-templates/features-section/children/FeatureItem/types.ts +6 -0
- package/data/section-templates/features-section/ikas-config-snippet.json +25 -0
- package/data/section-templates/features-section/index.tsx +25 -0
- package/data/section-templates/features-section/styles.css +39 -0
- package/data/section-templates/features-section/types.ts +4 -0
- package/data/section-templates/footer-section/_meta.json +4 -0
- package/data/section-templates/footer-section/children/SocialMediaIcon/ikas-config-snippet.json +21 -0
- package/data/section-templates/footer-section/children/SocialMediaIcon/index.tsx +26 -0
- package/data/section-templates/footer-section/children/SocialMediaIcon/styles.css +17 -0
- package/data/section-templates/footer-section/children/SocialMediaIcon/types.ts +6 -0
- package/data/section-templates/footer-section/ikas-config-snippet.json +108 -0
- package/data/section-templates/footer-section/index.tsx +154 -0
- package/data/section-templates/footer-section/styles.css +175 -0
- package/data/section-templates/footer-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/footer-section/types.ts +14 -0
- package/data/section-templates/footer-section/utils/cx.ts +4 -0
- package/data/section-templates/forgot-password-section/_meta.json +4 -0
- package/data/section-templates/forgot-password-section/components/ForgotPasswordForm/index.tsx +129 -0
- package/data/section-templates/forgot-password-section/components/ForgotPasswordForm/styles.css +0 -0
- package/data/section-templates/forgot-password-section/hooks/useRedirectIfLoggedIn.ts +35 -0
- package/data/section-templates/forgot-password-section/ikas-config-snippet.json +117 -0
- package/data/section-templates/forgot-password-section/index.tsx +30 -0
- package/data/section-templates/forgot-password-section/styles.css +85 -0
- package/data/section-templates/forgot-password-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/forgot-password-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/forgot-password-section/sub-components/FormItem/index.tsx +66 -0
- package/data/section-templates/forgot-password-section/sub-components/FormItem/styles.css +38 -0
- package/data/section-templates/forgot-password-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/forgot-password-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/forgot-password-section/sub-components/PageLoader/index.tsx +14 -0
- package/data/section-templates/forgot-password-section/sub-components/PageLoader/styles.css +12 -0
- package/data/section-templates/forgot-password-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/forgot-password-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/forgot-password-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/forgot-password-section/types.ts +12 -0
- package/data/section-templates/forgot-password-section/utils/cx.ts +4 -0
- package/data/section-templates/header-section/_meta.json +4 -0
- package/data/section-templates/header-section/children/Announcements/ikas-config-snippet.json +62 -0
- package/data/section-templates/header-section/children/Announcements/index.tsx +91 -0
- package/data/section-templates/header-section/children/Announcements/styles.css +45 -0
- package/data/section-templates/header-section/children/Announcements/types.ts +7 -0
- package/data/section-templates/header-section/children/CookieBar/ikas-config-snippet.json +79 -0
- package/data/section-templates/header-section/children/CookieBar/index.tsx +78 -0
- package/data/section-templates/header-section/children/CookieBar/styles.css +111 -0
- package/data/section-templates/header-section/children/CookieBar/types.ts +9 -0
- package/data/section-templates/header-section/children/Navbar/components/CartSidebar/index.tsx +203 -0
- package/data/section-templates/header-section/children/Navbar/components/CartSidebar/styles.css +175 -0
- package/data/section-templates/header-section/children/Navbar/components/MobileMenu/index.tsx +198 -0
- package/data/section-templates/header-section/children/Navbar/components/MobileMenu/styles.css +122 -0
- package/data/section-templates/header-section/children/Navbar/components/NavItem/index.tsx +65 -0
- package/data/section-templates/header-section/children/Navbar/components/SearchModal/index.tsx +267 -0
- package/data/section-templates/header-section/children/Navbar/components/SearchModal/styles.css +182 -0
- package/data/section-templates/header-section/children/Navbar/ikas-config-snippet.json +315 -0
- package/data/section-templates/header-section/children/Navbar/index.tsx +250 -0
- package/data/section-templates/header-section/children/Navbar/styles.css +243 -0
- package/data/section-templates/header-section/children/Navbar/types.ts +36 -0
- package/data/section-templates/header-section/global-types.ts +13 -0
- package/data/section-templates/header-section/hooks/useScrollLock.ts +20 -0
- package/data/section-templates/header-section/hooks/useToast.ts +27 -0
- package/data/section-templates/header-section/ikas-config-snippet.json +44 -0
- package/data/section-templates/header-section/index.tsx +53 -0
- package/data/section-templates/header-section/styles.css +6 -0
- package/data/section-templates/header-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/header-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/header-section/sub-components/CartItem/components/BundleProductItem/index.tsx +59 -0
- package/data/section-templates/header-section/sub-components/CartItem/components/BundleProductItem/styles.css +24 -0
- package/data/section-templates/header-section/sub-components/CartItem/components/BundleProducts/index.tsx +55 -0
- package/data/section-templates/header-section/sub-components/CartItem/components/BundleProducts/styles.css +30 -0
- package/data/section-templates/header-section/sub-components/CartItem/components/ItemOptions/index.tsx +31 -0
- package/data/section-templates/header-section/sub-components/CartItem/components/ItemOptions/styles.css +6 -0
- package/data/section-templates/header-section/sub-components/CartItem/components/OptionValueDisplay/index.tsx +79 -0
- package/data/section-templates/header-section/sub-components/CartItem/components/OptionValueDisplay/styles.css +28 -0
- package/data/section-templates/header-section/sub-components/CartItem/index.tsx +216 -0
- package/data/section-templates/header-section/sub-components/CartItem/styles.css +170 -0
- package/data/section-templates/header-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/header-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/header-section/sub-components/ProductCard/index.tsx +276 -0
- package/data/section-templates/header-section/sub-components/ProductCard/styles.css +99 -0
- package/data/section-templates/header-section/sub-components/QuantitySelector/index.tsx +41 -0
- package/data/section-templates/header-section/sub-components/QuantitySelector/styles.css +51 -0
- package/data/section-templates/header-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/header-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/header-section/sub-components/Tag/index.tsx +21 -0
- package/data/section-templates/header-section/sub-components/Tag/styles.css +30 -0
- package/data/section-templates/header-section/sub-components/Toast/index.tsx +257 -0
- package/data/section-templates/header-section/sub-components/Toast/styles.css +3 -0
- package/data/section-templates/header-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/header-section/types.ts +5 -0
- package/data/section-templates/header-section/utils/cx.ts +4 -0
- package/data/section-templates/header-section/utils/media.ts +36 -0
- package/data/section-templates/header-section/utils/toast.ts +5 -0
- package/data/section-templates/hero-slider-section/_meta.json +4 -0
- package/data/section-templates/hero-slider-section/children/HeroSliderItem/ikas-config-snippet.json +239 -0
- package/data/section-templates/hero-slider-section/children/HeroSliderItem/index.tsx +231 -0
- package/data/section-templates/hero-slider-section/children/HeroSliderItem/styles.css +152 -0
- package/data/section-templates/hero-slider-section/children/HeroSliderItem/types.ts +33 -0
- package/data/section-templates/hero-slider-section/global-types.ts +13 -0
- package/data/section-templates/hero-slider-section/ikas-config-snippet.json +67 -0
- package/data/section-templates/hero-slider-section/index.tsx +110 -0
- package/data/section-templates/hero-slider-section/styles.css +129 -0
- package/data/section-templates/hero-slider-section/sub-components/SliderArrow/index.tsx +26 -0
- package/data/section-templates/hero-slider-section/sub-components/SliderArrow/styles.css +24 -0
- package/data/section-templates/hero-slider-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/hero-slider-section/types.ts +8 -0
- package/data/section-templates/hero-slider-section/utils/cx.ts +4 -0
- package/data/section-templates/hero-slider-section/utils/media.ts +36 -0
- package/data/section-templates/image-handling/_meta.json +4 -0
- package/data/section-templates/image-handling/components/ProductGallery/index.tsx +316 -0
- package/data/section-templates/image-handling/components/ProductGallery/styles.css +213 -0
- package/data/section-templates/image-handling/global-types.ts +13 -0
- package/data/section-templates/image-handling/ikas-config-snippet.json +80 -0
- package/data/section-templates/image-handling/index.tsx +92 -0
- package/data/section-templates/image-handling/styles.css +58 -0
- package/data/section-templates/image-handling/sub-components/Breadcrumb/index.tsx +57 -0
- package/data/section-templates/image-handling/sub-components/Breadcrumb/styles.css +49 -0
- package/data/section-templates/image-handling/sub-components/SliderArrow/index.tsx +26 -0
- package/data/section-templates/image-handling/sub-components/SliderArrow/styles.css +24 -0
- package/data/section-templates/image-handling/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/image-handling/types.ts +11 -0
- package/data/section-templates/image-handling/utils/cx.ts +4 -0
- package/data/section-templates/image-handling/utils/media.ts +36 -0
- package/data/section-templates/login-section/_meta.json +4 -0
- package/data/section-templates/login-section/components/LoginForm/index.tsx +181 -0
- package/data/section-templates/login-section/components/LoginForm/styles.css +0 -0
- package/data/section-templates/login-section/hooks/useRedirectIfLoggedIn.ts +35 -0
- package/data/section-templates/login-section/ikas-config-snippet.json +169 -0
- package/data/section-templates/login-section/index.tsx +37 -0
- package/data/section-templates/login-section/styles.css +129 -0
- package/data/section-templates/login-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/login-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/login-section/sub-components/FormItem/index.tsx +66 -0
- package/data/section-templates/login-section/sub-components/FormItem/styles.css +38 -0
- package/data/section-templates/login-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/login-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/login-section/sub-components/PageLoader/index.tsx +14 -0
- package/data/section-templates/login-section/sub-components/PageLoader/styles.css +12 -0
- package/data/section-templates/login-section/sub-components/SocialLoginButton/index.tsx +24 -0
- package/data/section-templates/login-section/sub-components/SocialLoginButton/styles.css +19 -0
- package/data/section-templates/login-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/login-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/login-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/login-section/types.ts +17 -0
- package/data/section-templates/login-section/utils/cx.ts +4 -0
- package/data/section-templates/navigation/_meta.json +4 -0
- package/data/section-templates/navigation/components/CartSidebar/index.tsx +203 -0
- package/data/section-templates/navigation/components/CartSidebar/styles.css +175 -0
- package/data/section-templates/navigation/components/MobileMenu/index.tsx +198 -0
- package/data/section-templates/navigation/components/MobileMenu/styles.css +122 -0
- package/data/section-templates/navigation/components/NavItem/index.tsx +65 -0
- package/data/section-templates/navigation/components/SearchModal/index.tsx +267 -0
- package/data/section-templates/navigation/components/SearchModal/styles.css +182 -0
- package/data/section-templates/navigation/global-types.ts +13 -0
- package/data/section-templates/navigation/hooks/useScrollLock.ts +20 -0
- package/data/section-templates/navigation/ikas-config-snippet.json +315 -0
- package/data/section-templates/navigation/index.tsx +250 -0
- package/data/section-templates/navigation/styles.css +243 -0
- package/data/section-templates/navigation/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/navigation/sub-components/Button/styles.css +114 -0
- package/data/section-templates/navigation/sub-components/CartItem/components/BundleProductItem/index.tsx +59 -0
- package/data/section-templates/navigation/sub-components/CartItem/components/BundleProductItem/styles.css +24 -0
- package/data/section-templates/navigation/sub-components/CartItem/components/BundleProducts/index.tsx +55 -0
- package/data/section-templates/navigation/sub-components/CartItem/components/BundleProducts/styles.css +30 -0
- package/data/section-templates/navigation/sub-components/CartItem/components/ItemOptions/index.tsx +31 -0
- package/data/section-templates/navigation/sub-components/CartItem/components/ItemOptions/styles.css +6 -0
- package/data/section-templates/navigation/sub-components/CartItem/components/OptionValueDisplay/index.tsx +79 -0
- package/data/section-templates/navigation/sub-components/CartItem/components/OptionValueDisplay/styles.css +28 -0
- package/data/section-templates/navigation/sub-components/CartItem/index.tsx +216 -0
- package/data/section-templates/navigation/sub-components/CartItem/styles.css +170 -0
- package/data/section-templates/navigation/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/navigation/sub-components/Input/styles.css +162 -0
- package/data/section-templates/navigation/sub-components/ProductCard/index.tsx +276 -0
- package/data/section-templates/navigation/sub-components/ProductCard/styles.css +99 -0
- package/data/section-templates/navigation/sub-components/QuantitySelector/index.tsx +41 -0
- package/data/section-templates/navigation/sub-components/QuantitySelector/styles.css +51 -0
- package/data/section-templates/navigation/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/navigation/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/navigation/sub-components/Tag/index.tsx +21 -0
- package/data/section-templates/navigation/sub-components/Tag/styles.css +30 -0
- package/data/section-templates/navigation/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/navigation/types.ts +36 -0
- package/data/section-templates/navigation/utils/cx.ts +4 -0
- package/data/section-templates/navigation/utils/media.ts +36 -0
- package/data/section-templates/navigation/utils/toast.ts +5 -0
- package/data/section-templates/not-found-section/_meta.json +4 -0
- package/data/section-templates/not-found-section/ikas-config-snippet.json +44 -0
- package/data/section-templates/not-found-section/index.tsx +39 -0
- package/data/section-templates/not-found-section/styles.css +46 -0
- package/data/section-templates/not-found-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/not-found-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/not-found-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/not-found-section/types.ts +7 -0
- package/data/section-templates/not-found-section/utils/cx.ts +4 -0
- package/data/section-templates/product-detail-section/_meta.json +4 -0
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/components/PayWithIkas/index.tsx +34 -0
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/components/PayWithIkas/styles.css +4 -0
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/ikas-config-snippet.json +139 -0
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/index.tsx +146 -0
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/styles.css +27 -0
- package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/types.ts +17 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/components/BundleFurnitureRow/index.tsx +164 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/components/BundleFurnitureSection/index.tsx +134 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/components/BundleFurnitureSection/styles.css +188 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/ikas-config-snippet.json +156 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/index.tsx +61 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/styles.css +12 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/types.ts +20 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/components/BundleProductItem/index.tsx +169 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/components/BundleProductItem/styles.css +141 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/components/BundleSkeletonLoading/index.tsx +35 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/components/BundleSkeletonLoading/styles.css +85 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/components/FurnitureRow/index.tsx +51 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/components/FurnitureRow/styles.css +30 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/components/FurnitureView/index.tsx +54 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/components/FurnitureView/styles.css +22 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/ikas-config-snippet.json +130 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/index.tsx +101 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/styles.css +20 -0
- package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/types.ts +17 -0
- package/data/section-templates/product-detail-section/children/ProductDetailDescription/ikas-config-snippet.json +100 -0
- package/data/section-templates/product-detail-section/children/ProductDetailDescription/index.tsx +56 -0
- package/data/section-templates/product-detail-section/children/ProductDetailDescription/styles.css +21 -0
- package/data/section-templates/product-detail-section/children/ProductDetailDescription/types.ts +12 -0
- package/data/section-templates/product-detail-section/children/ProductDetailFeatures/ikas-config-snippet.json +69 -0
- package/data/section-templates/product-detail-section/children/ProductDetailFeatures/index.tsx +40 -0
- package/data/section-templates/product-detail-section/children/ProductDetailFeatures/styles.css +17 -0
- package/data/section-templates/product-detail-section/children/ProductDetailFeatures/types.ts +9 -0
- package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/ikas-config-snippet.json +72 -0
- package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/index.tsx +66 -0
- package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/styles.css +45 -0
- package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/types.ts +10 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/components/OfferCard/index.tsx +209 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/components/OfferCard/styles.css +146 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/components/OfferSummary/index.tsx +175 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/ikas-config-snippet.json +183 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/index.tsx +199 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/styles.css +211 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOffer/types.ts +23 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionCheckbox/index.tsx +52 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionCheckbox/styles.css +19 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionChoice/components/ChoiceBox/index.tsx +60 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionChoice/components/ChoiceBox/styles.css +38 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSelect/index.tsx +102 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSelect/styles.css +34 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSwatch/index.tsx +121 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSwatch/styles.css +87 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionChoice/index.tsx +57 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionColorPicker/index.tsx +54 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionColorPicker/styles.css +0 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionDatePicker/index.tsx +124 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionDatePicker/styles.css +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionFile/index.tsx +217 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionFile/styles.css +87 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionRenderer/index.tsx +133 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionText/index.tsx +60 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionText/styles.css +1 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionTextarea/index.tsx +74 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/components/OptionTextarea/styles.css +10 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/ikas-config-snippet.json +159 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/index.tsx +99 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/styles.css +30 -0
- package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/types.ts +20 -0
- package/data/section-templates/product-detail-section/children/ProductDetailPrices/ikas-config-snippet.json +66 -0
- package/data/section-templates/product-detail-section/children/ProductDetailPrices/index.tsx +62 -0
- package/data/section-templates/product-detail-section/children/ProductDetailPrices/styles.css +32 -0
- package/data/section-templates/product-detail-section/children/ProductDetailPrices/types.ts +9 -0
- package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/ikas-config-snippet.json +66 -0
- package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/index.tsx +74 -0
- package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/styles.css +33 -0
- package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/types.ts +9 -0
- package/data/section-templates/product-detail-section/children/ProductDetailSku/ikas-config-snippet.json +79 -0
- package/data/section-templates/product-detail-section/children/ProductDetailSku/index.tsx +38 -0
- package/data/section-templates/product-detail-section/children/ProductDetailSku/styles.css +16 -0
- package/data/section-templates/product-detail-section/children/ProductDetailSku/types.ts +10 -0
- package/data/section-templates/product-detail-section/children/ProductDetailVariant/ikas-config-snippet.json +73 -0
- package/data/section-templates/product-detail-section/children/ProductDetailVariant/index.tsx +38 -0
- package/data/section-templates/product-detail-section/children/ProductDetailVariant/styles.css +14 -0
- package/data/section-templates/product-detail-section/children/ProductDetailVariant/types.ts +11 -0
- package/data/section-templates/product-detail-section/components/ProductGallery/index.tsx +316 -0
- package/data/section-templates/product-detail-section/components/ProductGallery/styles.css +213 -0
- package/data/section-templates/product-detail-section/global-types.ts +13 -0
- package/data/section-templates/product-detail-section/hooks/useBundleProducts.ts +75 -0
- package/data/section-templates/product-detail-section/hooks/usePayWithIkas.ts +114 -0
- package/data/section-templates/product-detail-section/hooks/useScrollLock.ts +20 -0
- package/data/section-templates/product-detail-section/ikas-config-snippet.json +80 -0
- package/data/section-templates/product-detail-section/index.tsx +92 -0
- package/data/section-templates/product-detail-section/styles.css +58 -0
- package/data/section-templates/product-detail-section/sub-components/Badge/index.tsx +208 -0
- package/data/section-templates/product-detail-section/sub-components/Badge/styles.css +129 -0
- package/data/section-templates/product-detail-section/sub-components/Breadcrumb/index.tsx +57 -0
- package/data/section-templates/product-detail-section/sub-components/Breadcrumb/styles.css +49 -0
- package/data/section-templates/product-detail-section/sub-components/BundleMedia/index.tsx +72 -0
- package/data/section-templates/product-detail-section/sub-components/BundleQuantityBox/index.tsx +73 -0
- package/data/section-templates/product-detail-section/sub-components/BundleQuantityBox/styles.css +43 -0
- package/data/section-templates/product-detail-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/product-detail-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/product-detail-section/sub-components/Checkbox/index.tsx +42 -0
- package/data/section-templates/product-detail-section/sub-components/Checkbox/styles.css +65 -0
- package/data/section-templates/product-detail-section/sub-components/CollapsibleGroup/index.tsx +52 -0
- package/data/section-templates/product-detail-section/sub-components/CollapsibleGroup/styles.css +51 -0
- package/data/section-templates/product-detail-section/sub-components/ColorInput/index.tsx +33 -0
- package/data/section-templates/product-detail-section/sub-components/ColorInput/styles.css +53 -0
- package/data/section-templates/product-detail-section/sub-components/FormItem/index.tsx +66 -0
- package/data/section-templates/product-detail-section/sub-components/FormItem/styles.css +38 -0
- package/data/section-templates/product-detail-section/sub-components/ImagePreviewModal/index.tsx +55 -0
- package/data/section-templates/product-detail-section/sub-components/ImagePreviewModal/styles.css +50 -0
- package/data/section-templates/product-detail-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/product-detail-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/product-detail-section/sub-components/QuantitySelector/index.tsx +41 -0
- package/data/section-templates/product-detail-section/sub-components/QuantitySelector/styles.css +51 -0
- package/data/section-templates/product-detail-section/sub-components/Select/index.tsx +86 -0
- package/data/section-templates/product-detail-section/sub-components/Select/styles.css +110 -0
- package/data/section-templates/product-detail-section/sub-components/SliderArrow/index.tsx +26 -0
- package/data/section-templates/product-detail-section/sub-components/SliderArrow/styles.css +24 -0
- package/data/section-templates/product-detail-section/sub-components/Tag/index.tsx +21 -0
- package/data/section-templates/product-detail-section/sub-components/Tag/styles.css +30 -0
- package/data/section-templates/product-detail-section/sub-components/Textarea/index.tsx +45 -0
- package/data/section-templates/product-detail-section/sub-components/Textarea/styles.css +82 -0
- package/data/section-templates/product-detail-section/sub-components/Toggle/index.tsx +46 -0
- package/data/section-templates/product-detail-section/sub-components/Toggle/styles.css +86 -0
- package/data/section-templates/product-detail-section/sub-components/VariantBadge/index.tsx +153 -0
- package/data/section-templates/product-detail-section/sub-components/VariantBadge/styles.css +47 -0
- package/data/section-templates/product-detail-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/product-detail-section/types.ts +11 -0
- package/data/section-templates/product-detail-section/utils/bundle.ts +70 -0
- package/data/section-templates/product-detail-section/utils/cx.ts +4 -0
- package/data/section-templates/product-detail-section/utils/media.ts +36 -0
- package/data/section-templates/product-detail-section/utils/optionPrice.ts +19 -0
- package/data/section-templates/product-detail-section/utils/optionSet.ts +17 -0
- package/data/section-templates/product-detail-section/utils/toast.ts +5 -0
- package/data/section-templates/product-pricing/_meta.json +4 -0
- package/data/section-templates/product-pricing/ikas-config-snippet.json +66 -0
- package/data/section-templates/product-pricing/index.tsx +62 -0
- package/data/section-templates/product-pricing/styles.css +32 -0
- package/data/section-templates/product-pricing/sub-components/Tag/index.tsx +21 -0
- package/data/section-templates/product-pricing/sub-components/Tag/styles.css +30 -0
- package/data/section-templates/product-pricing/types.ts +9 -0
- package/data/section-templates/product-reviews-section/_meta.json +4 -0
- package/data/section-templates/product-reviews-section/hooks/useScrollLock.ts +20 -0
- package/data/section-templates/product-reviews-section/ikas-config-snippet.json +136 -0
- package/data/section-templates/product-reviews-section/index.tsx +205 -0
- package/data/section-templates/product-reviews-section/styles.css +43 -0
- package/data/section-templates/product-reviews-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/product-reviews-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/product-reviews-section/sub-components/FormItem/index.tsx +66 -0
- package/data/section-templates/product-reviews-section/sub-components/FormItem/styles.css +38 -0
- package/data/section-templates/product-reviews-section/sub-components/ImagePreviewModal/index.tsx +55 -0
- package/data/section-templates/product-reviews-section/sub-components/ImagePreviewModal/styles.css +50 -0
- package/data/section-templates/product-reviews-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/product-reviews-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/product-reviews-section/sub-components/Modal/index.tsx +118 -0
- package/data/section-templates/product-reviews-section/sub-components/Modal/styles.css +70 -0
- package/data/section-templates/product-reviews-section/sub-components/PageLoader/index.tsx +14 -0
- package/data/section-templates/product-reviews-section/sub-components/PageLoader/styles.css +12 -0
- package/data/section-templates/product-reviews-section/sub-components/Pagination/index.tsx +107 -0
- package/data/section-templates/product-reviews-section/sub-components/Pagination/styles.css +88 -0
- package/data/section-templates/product-reviews-section/sub-components/ReviewCard/index.tsx +103 -0
- package/data/section-templates/product-reviews-section/sub-components/ReviewCard/styles.css +95 -0
- package/data/section-templates/product-reviews-section/sub-components/ReviewForm/index.tsx +115 -0
- package/data/section-templates/product-reviews-section/sub-components/ReviewForm/styles.css +11 -0
- package/data/section-templates/product-reviews-section/sub-components/ReviewSummary/index.tsx +65 -0
- package/data/section-templates/product-reviews-section/sub-components/ReviewSummary/styles.css +86 -0
- package/data/section-templates/product-reviews-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/product-reviews-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/product-reviews-section/sub-components/StarRating/index.tsx +76 -0
- package/data/section-templates/product-reviews-section/sub-components/StarRating/styles.css +40 -0
- package/data/section-templates/product-reviews-section/sub-components/Textarea/index.tsx +45 -0
- package/data/section-templates/product-reviews-section/sub-components/Textarea/styles.css +82 -0
- package/data/section-templates/product-reviews-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/product-reviews-section/types.ts +18 -0
- package/data/section-templates/product-reviews-section/utils/cx.ts +4 -0
- package/data/section-templates/product-reviews-section/utils/fullName.ts +6 -0
- package/data/section-templates/product-reviews-section/utils/pagination.ts +29 -0
- package/data/section-templates/product-reviews-section/utils/toast.ts +5 -0
- package/data/section-templates/product-slider-section/_meta.json +4 -0
- package/data/section-templates/product-slider-section/children/CardProductName/ikas-config-snippet.json +21 -0
- package/data/section-templates/product-slider-section/children/CardProductName/index.tsx +25 -0
- package/data/section-templates/product-slider-section/children/CardProductName/styles.css +22 -0
- package/data/section-templates/product-slider-section/children/CardProductName/types.ts +6 -0
- package/data/section-templates/product-slider-section/children/CardProductPrice/ikas-config-snippet.json +15 -0
- package/data/section-templates/product-slider-section/children/CardProductPrice/index.tsx +30 -0
- package/data/section-templates/product-slider-section/children/CardProductPrice/styles.css +13 -0
- package/data/section-templates/product-slider-section/children/CardProductPrice/types.ts +5 -0
- package/data/section-templates/product-slider-section/children/CardProductVariants/ikas-config-snippet.json +15 -0
- package/data/section-templates/product-slider-section/children/CardProductVariants/index.tsx +10 -0
- package/data/section-templates/product-slider-section/children/CardProductVariants/styles.css +1 -0
- package/data/section-templates/product-slider-section/children/CardProductVariants/types.ts +5 -0
- package/data/section-templates/product-slider-section/global-types.ts +13 -0
- package/data/section-templates/product-slider-section/ikas-config-snippet.json +121 -0
- package/data/section-templates/product-slider-section/index.tsx +151 -0
- package/data/section-templates/product-slider-section/styles.css +105 -0
- package/data/section-templates/product-slider-section/sub-components/Badge/index.tsx +208 -0
- package/data/section-templates/product-slider-section/sub-components/Badge/styles.css +129 -0
- package/data/section-templates/product-slider-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/product-slider-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/product-slider-section/sub-components/ProductCard/index.tsx +276 -0
- package/data/section-templates/product-slider-section/sub-components/ProductCard/styles.css +99 -0
- package/data/section-templates/product-slider-section/sub-components/SliderArrow/index.tsx +26 -0
- package/data/section-templates/product-slider-section/sub-components/SliderArrow/styles.css +24 -0
- package/data/section-templates/product-slider-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/product-slider-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/product-slider-section/sub-components/Tag/index.tsx +21 -0
- package/data/section-templates/product-slider-section/sub-components/Tag/styles.css +30 -0
- package/data/section-templates/product-slider-section/sub-components/VariantBadge/index.tsx +153 -0
- package/data/section-templates/product-slider-section/sub-components/VariantBadge/styles.css +47 -0
- package/data/section-templates/product-slider-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/product-slider-section/types.ts +16 -0
- package/data/section-templates/product-slider-section/utils/cx.ts +4 -0
- package/data/section-templates/product-slider-section/utils/media.ts +36 -0
- package/data/section-templates/product-slider-section/utils/toast.ts +5 -0
- package/data/section-templates/recover-password-section/_meta.json +4 -0
- package/data/section-templates/recover-password-section/components/RecoverPasswordForm/index.tsx +133 -0
- package/data/section-templates/recover-password-section/components/RecoverPasswordForm/styles.css +0 -0
- package/data/section-templates/recover-password-section/hooks/useRedirectIfLoggedIn.ts +35 -0
- package/data/section-templates/recover-password-section/ikas-config-snippet.json +111 -0
- package/data/section-templates/recover-password-section/index.tsx +30 -0
- package/data/section-templates/recover-password-section/styles.css +93 -0
- package/data/section-templates/recover-password-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/recover-password-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/recover-password-section/sub-components/FormItem/index.tsx +66 -0
- package/data/section-templates/recover-password-section/sub-components/FormItem/styles.css +38 -0
- package/data/section-templates/recover-password-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/recover-password-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/recover-password-section/sub-components/PageLoader/index.tsx +14 -0
- package/data/section-templates/recover-password-section/sub-components/PageLoader/styles.css +12 -0
- package/data/section-templates/recover-password-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/recover-password-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/recover-password-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/recover-password-section/types.ts +12 -0
- package/data/section-templates/recover-password-section/utils/cx.ts +4 -0
- package/data/section-templates/register-section/_meta.json +4 -0
- package/data/section-templates/register-section/components/RegisterForm/index.tsx +326 -0
- package/data/section-templates/register-section/components/RegisterForm/styles.css +0 -0
- package/data/section-templates/register-section/hooks/useRedirectIfLoggedIn.ts +35 -0
- package/data/section-templates/register-section/ikas-config-snippet.json +244 -0
- package/data/section-templates/register-section/index.tsx +30 -0
- package/data/section-templates/register-section/styles.css +152 -0
- package/data/section-templates/register-section/sub-components/Button/index.tsx +52 -0
- package/data/section-templates/register-section/sub-components/Button/styles.css +114 -0
- package/data/section-templates/register-section/sub-components/Checkbox/index.tsx +42 -0
- package/data/section-templates/register-section/sub-components/Checkbox/styles.css +65 -0
- package/data/section-templates/register-section/sub-components/FormItem/index.tsx +66 -0
- package/data/section-templates/register-section/sub-components/FormItem/styles.css +38 -0
- package/data/section-templates/register-section/sub-components/Input/index.tsx +69 -0
- package/data/section-templates/register-section/sub-components/Input/styles.css +162 -0
- package/data/section-templates/register-section/sub-components/PageLoader/index.tsx +14 -0
- package/data/section-templates/register-section/sub-components/PageLoader/styles.css +12 -0
- package/data/section-templates/register-section/sub-components/SocialLoginButton/index.tsx +24 -0
- package/data/section-templates/register-section/sub-components/SocialLoginButton/styles.css +19 -0
- package/data/section-templates/register-section/sub-components/SpinnerIcon/index.tsx +10 -0
- package/data/section-templates/register-section/sub-components/SpinnerIcon/styles.css +8 -0
- package/data/section-templates/register-section/sub-components/icons/index.tsx +981 -0
- package/data/section-templates/register-section/types.ts +26 -0
- package/data/section-templates/register-section/utils/cx.ts +4 -0
- package/data/section-templates/rich-text-section/_meta.json +4 -0
- package/data/section-templates/rich-text-section/ikas-config-snippet.json +22 -0
- package/data/section-templates/rich-text-section/index.tsx +25 -0
- package/data/section-templates/rich-text-section/styles.css +51 -0
- package/data/section-templates/rich-text-section/types.ts +4 -0
- package/data/section-templates/variant-selection/_meta.json +4 -0
- package/data/section-templates/variant-selection/ikas-config-snippet.json +73 -0
- package/data/section-templates/variant-selection/index.tsx +38 -0
- package/data/section-templates/variant-selection/styles.css +14 -0
- package/data/section-templates/variant-selection/sub-components/Badge/index.tsx +208 -0
- package/data/section-templates/variant-selection/sub-components/Badge/styles.css +129 -0
- package/data/section-templates/variant-selection/sub-components/VariantBadge/index.tsx +153 -0
- package/data/section-templates/variant-selection/sub-components/VariantBadge/styles.css +47 -0
- package/data/section-templates/variant-selection/types.ts +11 -0
- package/data/section-templates/variant-selection/utils/cx.ts +4 -0
- package/data/storefront-api.json +2 -2024
- package/data/storefront-types.json +1 -1
- package/dist/index.js +40 -11
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/data/section-templates.json +0 -928
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
2
|
+
import { useScrollLock } from "../../../../hooks/useScrollLock";
|
|
3
|
+
import {
|
|
4
|
+
IkasProductList,
|
|
5
|
+
getProductListFilterCategories,
|
|
6
|
+
clearProductListFilters,
|
|
7
|
+
hasProductListAppliedFilters,
|
|
8
|
+
getSelectedFilterValues,
|
|
9
|
+
} from "@ikas/bp-storefront";
|
|
10
|
+
import { observer } from "@ikas/component-utils";
|
|
11
|
+
import { cx } from "../../../../utils/cx";
|
|
12
|
+
import { XSVG } from "../../../../sub-components/icons";
|
|
13
|
+
import CollapsibleGroup from "../../../../sub-components/CollapsibleGroup";
|
|
14
|
+
import FilterCategoryList from "../FilterCategoryList";
|
|
15
|
+
import FilterGroupValues from "../FilterGroupValues";
|
|
16
|
+
|
|
17
|
+
interface Props {
|
|
18
|
+
productList: IkasProductList;
|
|
19
|
+
isOpen: boolean;
|
|
20
|
+
onClose: () => void;
|
|
21
|
+
clearFiltersText: string;
|
|
22
|
+
showProductsText: string;
|
|
23
|
+
filtersText: string;
|
|
24
|
+
isBrandPage?: boolean;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const MobileFilterModal = observer(function MobileFilterModal({
|
|
28
|
+
productList,
|
|
29
|
+
isOpen,
|
|
30
|
+
onClose,
|
|
31
|
+
clearFiltersText,
|
|
32
|
+
showProductsText,
|
|
33
|
+
filtersText,
|
|
34
|
+
isBrandPage = false,
|
|
35
|
+
}: Props) {
|
|
36
|
+
const [open, setOpen] = useState(false);
|
|
37
|
+
|
|
38
|
+
useScrollLock(isOpen);
|
|
39
|
+
|
|
40
|
+
useEffect(() => {
|
|
41
|
+
if (!isOpen) return;
|
|
42
|
+
requestAnimationFrame(() => setOpen(true));
|
|
43
|
+
return () => setOpen(false);
|
|
44
|
+
}, [isOpen]);
|
|
45
|
+
|
|
46
|
+
const handleClose = useCallback(() => {
|
|
47
|
+
setOpen(false);
|
|
48
|
+
setTimeout(onClose, 300);
|
|
49
|
+
}, [onClose]);
|
|
50
|
+
|
|
51
|
+
const filters = productList.filters ?? [];
|
|
52
|
+
const filterCategories = getProductListFilterCategories(productList);
|
|
53
|
+
const hasApplied = hasProductListAppliedFilters(productList);
|
|
54
|
+
const selectedValues = getSelectedFilterValues(productList);
|
|
55
|
+
const activeFilterCount = selectedValues?.length ?? 0;
|
|
56
|
+
const totalProducts = productList.count ?? 0;
|
|
57
|
+
|
|
58
|
+
const handleClear = () => {
|
|
59
|
+
clearProductListFilters(productList);
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const isLoading = productList.isLoading;
|
|
63
|
+
|
|
64
|
+
if (!isOpen) return null;
|
|
65
|
+
|
|
66
|
+
return (
|
|
67
|
+
<div
|
|
68
|
+
className={cx(
|
|
69
|
+
"kombos-mobile-filter",
|
|
70
|
+
open && "kombos-mobile-filter--open",
|
|
71
|
+
)}
|
|
72
|
+
>
|
|
73
|
+
<div className="kombos-mobile-filter__backdrop" onClick={handleClose} />
|
|
74
|
+
<div className="kombos-mobile-filter__panel">
|
|
75
|
+
{/* Header */}
|
|
76
|
+
<div className="kombos-mobile-filter__header">
|
|
77
|
+
<span className="kombos-mobile-filter__title text-md-medium">
|
|
78
|
+
{filtersText}
|
|
79
|
+
{activeFilterCount > 0 && ` (${activeFilterCount})`}
|
|
80
|
+
</span>
|
|
81
|
+
<button
|
|
82
|
+
type="button"
|
|
83
|
+
className="kombos-mobile-filter__close"
|
|
84
|
+
onClick={handleClose}
|
|
85
|
+
aria-label="Close"
|
|
86
|
+
>
|
|
87
|
+
<XSVG />
|
|
88
|
+
</button>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
{/* Scrollable content */}
|
|
92
|
+
<div className="kombos-mobile-filter__content">
|
|
93
|
+
{filterCategories.length > 0 && (
|
|
94
|
+
<CollapsibleGroup
|
|
95
|
+
title={productList.category?.name ?? ""}
|
|
96
|
+
defaultOpen
|
|
97
|
+
>
|
|
98
|
+
<FilterCategoryList
|
|
99
|
+
productList={productList}
|
|
100
|
+
categories={filterCategories}
|
|
101
|
+
isBrandPage={isBrandPage}
|
|
102
|
+
/>
|
|
103
|
+
</CollapsibleGroup>
|
|
104
|
+
)}
|
|
105
|
+
|
|
106
|
+
{filters.map((filter) => (
|
|
107
|
+
<FilterGroupValues
|
|
108
|
+
key={filter.id}
|
|
109
|
+
productList={productList}
|
|
110
|
+
filter={filter}
|
|
111
|
+
/>
|
|
112
|
+
))}
|
|
113
|
+
</div>
|
|
114
|
+
|
|
115
|
+
{/* Sticky footer */}
|
|
116
|
+
<div className="kombos-mobile-filter__footer">
|
|
117
|
+
{hasApplied && (
|
|
118
|
+
<div className="kombos-mobile-filter__clear-row">
|
|
119
|
+
<button
|
|
120
|
+
type="button"
|
|
121
|
+
className="kombos-mobile-filter__clear-btn text-xs-semibold"
|
|
122
|
+
onClick={handleClear}
|
|
123
|
+
>
|
|
124
|
+
{clearFiltersText}
|
|
125
|
+
</button>
|
|
126
|
+
</div>
|
|
127
|
+
)}
|
|
128
|
+
<button
|
|
129
|
+
type="button"
|
|
130
|
+
className="kombos-mobile-filter__show-btn text-sm-semibold"
|
|
131
|
+
onClick={handleClose}
|
|
132
|
+
disabled={isLoading}
|
|
133
|
+
>
|
|
134
|
+
{isLoading ? (
|
|
135
|
+
<span className="kombos-mobile-filter__spinner" />
|
|
136
|
+
) : (
|
|
137
|
+
`${totalProducts} ${showProductsText}`
|
|
138
|
+
)}
|
|
139
|
+
</button>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
);
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
export default MobileFilterModal;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/* ===== Mobile Filter Modal ===== */
|
|
2
|
+
.kombos-mobile-filter {
|
|
3
|
+
position: fixed;
|
|
4
|
+
top: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
z-index: var(--kombos-z-overlay);
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: flex-end;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.kombos-mobile-filter__backdrop {
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 0;
|
|
16
|
+
left: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
background: rgba(0, 0, 0, 0.35);
|
|
20
|
+
opacity: 0;
|
|
21
|
+
transition: opacity 0.3s ease;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.kombos-mobile-filter--open .kombos-mobile-filter__backdrop {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.kombos-mobile-filter__panel {
|
|
29
|
+
position: relative;
|
|
30
|
+
width: 100%;
|
|
31
|
+
max-width: 25rem;
|
|
32
|
+
height: 100%;
|
|
33
|
+
background: var(--kombos-white);
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
transform: translateX(100%);
|
|
37
|
+
transition: transform 0.3s ease;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.kombos-mobile-filter--open .kombos-mobile-filter__panel {
|
|
41
|
+
transform: translateX(0);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Header */
|
|
45
|
+
.kombos-mobile-filter__header {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: space-between;
|
|
49
|
+
padding: 1rem 1.25rem;
|
|
50
|
+
border-bottom: 1px solid var(--kombos-gray-200);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.kombos-mobile-filter__title {
|
|
54
|
+
color: var(--kombos-gray-900);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.kombos-mobile-filter__close {
|
|
58
|
+
background: none;
|
|
59
|
+
border: none;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
padding: 0;
|
|
62
|
+
font-size: 1.5rem;
|
|
63
|
+
color: var(--kombos-gray-700);
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Content */
|
|
69
|
+
.kombos-mobile-filter__content {
|
|
70
|
+
flex: 1;
|
|
71
|
+
overflow-y: auto;
|
|
72
|
+
padding: 0 1.25rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Footer */
|
|
76
|
+
.kombos-mobile-filter__footer {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.kombos-mobile-filter__clear-row {
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
padding: 1rem 0.625rem;
|
|
85
|
+
background: var(--kombos-white);
|
|
86
|
+
border-top: 1px solid var(--kombos-gray-200);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.kombos-mobile-filter__clear-btn {
|
|
90
|
+
background: none;
|
|
91
|
+
border: none;
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
padding: 0;
|
|
94
|
+
color: var(--kombos-gray-400);
|
|
95
|
+
text-decoration: underline;
|
|
96
|
+
white-space: nowrap;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.kombos-mobile-filter__show-btn {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 3.125rem;
|
|
105
|
+
padding: 0.625rem 1.25rem;
|
|
106
|
+
background: var(--kombos-gray-900);
|
|
107
|
+
color: var(--kombos-white);
|
|
108
|
+
border: none;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
text-transform: uppercase;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.kombos-mobile-filter__show-btn:disabled {
|
|
114
|
+
opacity: 0.6;
|
|
115
|
+
cursor: not-allowed;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Spinner */
|
|
119
|
+
.kombos-mobile-filter__spinner {
|
|
120
|
+
display: inline-block;
|
|
121
|
+
width: 1.125rem;
|
|
122
|
+
height: 1.125rem;
|
|
123
|
+
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
124
|
+
border-top-color: var(--kombos-white);
|
|
125
|
+
border-radius: 50%;
|
|
126
|
+
animation: kombos-mobile-filter-spin 0.6s linear infinite;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@keyframes kombos-mobile-filter-spin {
|
|
130
|
+
to {
|
|
131
|
+
transform: rotate(360deg);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Auto-generated global type definitions for ikas code components.
|
|
2
|
+
// This file is regenerated automatically — do not edit manually.
|
|
3
|
+
|
|
4
|
+
/** Enum type: s3OODUmZpJ */
|
|
5
|
+
export type AspectRatio = "Square" | "Portrait" | "Landscape" | "Video";
|
|
6
|
+
/** Enum type: __breakpointsEnum__ */
|
|
7
|
+
export type Breakpoints = "desktop";
|
|
8
|
+
/** Enum type: Tkt3wfuJ5F */
|
|
9
|
+
export type NumberOfColumns = "One" | "Two" | "Three" | "Four" | "Five";
|
|
10
|
+
/** Enum type: GrylMqHxui */
|
|
11
|
+
export type ObjectFit = "Fill" | "Cover" | "Contain";
|
|
12
|
+
/** Enum type: 08UWYbbs0P */
|
|
13
|
+
export type VerticalAlignment = "Top" | "Middle" | "Bottom";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useCallback, useEffect, useState } from "preact/hooks";
|
|
2
|
+
|
|
3
|
+
const COLUMNS_STORAGE_KEY = "kombos-product-list-columns";
|
|
4
|
+
|
|
5
|
+
export function useColumnPreference() {
|
|
6
|
+
const [columns, setColumns] = useState<3 | 4>(4);
|
|
7
|
+
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
try {
|
|
10
|
+
const stored = localStorage.getItem(COLUMNS_STORAGE_KEY);
|
|
11
|
+
if (stored === "3") setColumns(3);
|
|
12
|
+
} catch {}
|
|
13
|
+
}, []);
|
|
14
|
+
|
|
15
|
+
const toggleColumns = useCallback(() => {
|
|
16
|
+
setColumns((prev) => {
|
|
17
|
+
const next = prev === 4 ? 3 : 4;
|
|
18
|
+
try {
|
|
19
|
+
localStorage.setItem(COLUMNS_STORAGE_KEY, String(next));
|
|
20
|
+
} catch {}
|
|
21
|
+
return next;
|
|
22
|
+
});
|
|
23
|
+
}, []);
|
|
24
|
+
|
|
25
|
+
return { columns, toggleColumns };
|
|
26
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { useEffect, useRef } from "preact/hooks";
|
|
2
|
+
import {
|
|
3
|
+
hasProductListNextPage,
|
|
4
|
+
getProductListNextPage,
|
|
5
|
+
IkasProductList,
|
|
6
|
+
} from "@ikas/bp-storefront";
|
|
7
|
+
|
|
8
|
+
interface Options {
|
|
9
|
+
isEnabled: boolean;
|
|
10
|
+
productList: IkasProductList | null | undefined;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function useInfiniteScroll({ isEnabled, productList }: Options) {
|
|
14
|
+
const sentinelRef = useRef<HTMLDivElement>(null);
|
|
15
|
+
const isLoadingMoreRef = useRef(false);
|
|
16
|
+
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
if (!isEnabled || !sentinelRef.current || !productList) return;
|
|
19
|
+
|
|
20
|
+
const sentinel = sentinelRef.current;
|
|
21
|
+
|
|
22
|
+
const observer = new IntersectionObserver(
|
|
23
|
+
(entries) => {
|
|
24
|
+
if (
|
|
25
|
+
entries[0].isIntersecting &&
|
|
26
|
+
hasProductListNextPage(productList) &&
|
|
27
|
+
!isLoadingMoreRef.current
|
|
28
|
+
) {
|
|
29
|
+
isLoadingMoreRef.current = true;
|
|
30
|
+
getProductListNextPage(productList).finally(() => {
|
|
31
|
+
isLoadingMoreRef.current = false;
|
|
32
|
+
setTimeout(() => {
|
|
33
|
+
if (sentinelRef.current) {
|
|
34
|
+
observer.unobserve(sentinelRef.current);
|
|
35
|
+
observer.observe(sentinelRef.current);
|
|
36
|
+
}
|
|
37
|
+
}, 200);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{ rootMargin: "200px" },
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
observer.observe(sentinel);
|
|
45
|
+
return () => observer.disconnect();
|
|
46
|
+
}, [isEnabled, productList]);
|
|
47
|
+
|
|
48
|
+
return { sentinelRef };
|
|
49
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { useEffect, useRef } from "preact/hooks";
|
|
2
|
+
import {
|
|
3
|
+
setProductListVisiblePage,
|
|
4
|
+
IkasProductList,
|
|
5
|
+
} from "@ikas/bp-storefront";
|
|
6
|
+
|
|
7
|
+
interface Options {
|
|
8
|
+
isEnabled: boolean;
|
|
9
|
+
productList: IkasProductList | null | undefined;
|
|
10
|
+
productCount: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function usePageTracking({
|
|
14
|
+
isEnabled,
|
|
15
|
+
productList,
|
|
16
|
+
productCount,
|
|
17
|
+
}: Options) {
|
|
18
|
+
const gridRef = useRef<HTMLDivElement>(null);
|
|
19
|
+
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (!isEnabled || !gridRef.current || !productList) return;
|
|
22
|
+
|
|
23
|
+
const markers =
|
|
24
|
+
gridRef.current.querySelectorAll<HTMLElement>("[data-page]");
|
|
25
|
+
if (markers.length === 0) return;
|
|
26
|
+
|
|
27
|
+
const visiblePages = new Set<number>();
|
|
28
|
+
|
|
29
|
+
const observer = new IntersectionObserver(
|
|
30
|
+
(entries) => {
|
|
31
|
+
for (const entry of entries) {
|
|
32
|
+
const page = Number((entry.target as HTMLElement).dataset.page);
|
|
33
|
+
if (entry.isIntersecting) {
|
|
34
|
+
visiblePages.add(page);
|
|
35
|
+
} else {
|
|
36
|
+
visiblePages.delete(page);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
if (visiblePages.size > 0) {
|
|
41
|
+
const currentPage = Math.min(...visiblePages);
|
|
42
|
+
|
|
43
|
+
if (currentPage !== productList.infiniteScrollPage) {
|
|
44
|
+
setProductListVisiblePage(productList, currentPage);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{ rootMargin: "0px 0px -50% 0px" },
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
markers.forEach((m) => observer.observe(m));
|
|
52
|
+
return () => observer.disconnect();
|
|
53
|
+
}, [isEnabled, productList, productCount]);
|
|
54
|
+
|
|
55
|
+
return { gridRef };
|
|
56
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useEffect } from "preact/hooks";
|
|
2
|
+
import { RefObject } from "preact";
|
|
3
|
+
|
|
4
|
+
export function useScrollLock(
|
|
5
|
+
enabled: boolean = true,
|
|
6
|
+
skipCleanupRef?: RefObject<boolean>,
|
|
7
|
+
) {
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
if (!enabled) return;
|
|
10
|
+
const scrollbarWidth =
|
|
11
|
+
window.innerWidth - document.documentElement.clientWidth;
|
|
12
|
+
document.body.style.overflow = "hidden";
|
|
13
|
+
document.body.style.paddingRight = `${scrollbarWidth}px`;
|
|
14
|
+
return () => {
|
|
15
|
+
if (skipCleanupRef?.current) return;
|
|
16
|
+
document.body.style.overflow = "";
|
|
17
|
+
document.body.style.paddingRight = "";
|
|
18
|
+
};
|
|
19
|
+
}, [enabled]);
|
|
20
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "{{PROJECT_ID}}-product-list",
|
|
3
|
+
"name": "CategoryList",
|
|
4
|
+
"type": "section",
|
|
5
|
+
"entry": "./src/components/CategoryList/index.tsx",
|
|
6
|
+
"styles": "./src/components/CategoryList/styles.css",
|
|
7
|
+
"props": [
|
|
8
|
+
{
|
|
9
|
+
"name": "productList",
|
|
10
|
+
"displayName": "Ürün Listesi",
|
|
11
|
+
"type": "PRODUCT_LIST",
|
|
12
|
+
"required": true,
|
|
13
|
+
"groupId": "data"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "pageTitle",
|
|
17
|
+
"displayName": "Sayfa Başlığı",
|
|
18
|
+
"type": "TEXT",
|
|
19
|
+
"required": false,
|
|
20
|
+
"groupId": "texts"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "productCountText",
|
|
24
|
+
"displayName": "Ürün Sayısı Metni",
|
|
25
|
+
"type": "TEXT",
|
|
26
|
+
"required": false,
|
|
27
|
+
"defaultValue": "ürün",
|
|
28
|
+
"groupId": "texts"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "emptyMessage",
|
|
32
|
+
"displayName": "Boş Durum Mesajı",
|
|
33
|
+
"type": "TEXT",
|
|
34
|
+
"required": false,
|
|
35
|
+
"defaultValue": "Ürün bulunamadı.",
|
|
36
|
+
"groupId": "texts"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "searchPlaceholder",
|
|
40
|
+
"displayName": "Arama Yer Tutucu",
|
|
41
|
+
"type": "TEXT",
|
|
42
|
+
"required": false,
|
|
43
|
+
"defaultValue": "Ara",
|
|
44
|
+
"groupId": "texts"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "clearFiltersText",
|
|
48
|
+
"displayName": "Filtreleri Temizle Metni",
|
|
49
|
+
"type": "TEXT",
|
|
50
|
+
"required": false,
|
|
51
|
+
"defaultValue": "Filtreleri Temizle",
|
|
52
|
+
"groupId": "texts"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "addToCartText",
|
|
56
|
+
"displayName": "Sepete Ekle Metni",
|
|
57
|
+
"type": "TEXT",
|
|
58
|
+
"required": false,
|
|
59
|
+
"defaultValue": "Sepete Ekle",
|
|
60
|
+
"groupId": "texts"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "addedToCartText",
|
|
64
|
+
"displayName": "Sepete Eklendi Metni",
|
|
65
|
+
"type": "TEXT",
|
|
66
|
+
"required": false,
|
|
67
|
+
"defaultValue": "Eklendi",
|
|
68
|
+
"groupId": "texts"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "outOfStockText",
|
|
72
|
+
"displayName": "Tükendi Metni",
|
|
73
|
+
"type": "TEXT",
|
|
74
|
+
"required": false,
|
|
75
|
+
"defaultValue": "Tükendi",
|
|
76
|
+
"groupId": "texts"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "showProductsText",
|
|
80
|
+
"displayName": "Ürünleri Göster Metni",
|
|
81
|
+
"type": "TEXT",
|
|
82
|
+
"required": false,
|
|
83
|
+
"defaultValue": "ÜRÜNÜ GÖR",
|
|
84
|
+
"groupId": "texts"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "filtersText",
|
|
88
|
+
"displayName": "Filtreler Metni",
|
|
89
|
+
"type": "TEXT",
|
|
90
|
+
"required": false,
|
|
91
|
+
"defaultValue": "Filtreler",
|
|
92
|
+
"groupId": "texts"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "homepageText",
|
|
96
|
+
"displayName": "Anasayfa Metni",
|
|
97
|
+
"type": "TEXT",
|
|
98
|
+
"required": false,
|
|
99
|
+
"defaultValue": "Anasayfa",
|
|
100
|
+
"groupId": "texts"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "badgeText",
|
|
104
|
+
"displayName": "Etiket Metni",
|
|
105
|
+
"type": "TEXT",
|
|
106
|
+
"required": false,
|
|
107
|
+
"groupId": "texts"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "showFilters",
|
|
111
|
+
"displayName": "Filtreleri Göster",
|
|
112
|
+
"type": "BOOLEAN",
|
|
113
|
+
"required": false,
|
|
114
|
+
"groupId": "filters"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "showSearch",
|
|
118
|
+
"displayName": "Aramayı Göster",
|
|
119
|
+
"type": "BOOLEAN",
|
|
120
|
+
"required": false,
|
|
121
|
+
"groupId": "filters"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "aspectRatio",
|
|
125
|
+
"displayName": "Görsel En Boy Oranı",
|
|
126
|
+
"type": "ENUM",
|
|
127
|
+
"required": false,
|
|
128
|
+
"groupId": "image-settings",
|
|
129
|
+
"enumTypeId": "s3OODUmZpJ"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "objectFit",
|
|
133
|
+
"displayName": "Görsel Sığdırma",
|
|
134
|
+
"type": "ENUM",
|
|
135
|
+
"required": false,
|
|
136
|
+
"groupId": "image-settings",
|
|
137
|
+
"enumTypeId": "GrylMqHxui"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "isInfinity",
|
|
141
|
+
"displayName": "Sonsuz Kaydırma",
|
|
142
|
+
"type": "BOOLEAN",
|
|
143
|
+
"required": false,
|
|
144
|
+
"groupId": "pagination"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "columnText",
|
|
148
|
+
"displayName": "Sütun Metni",
|
|
149
|
+
"type": "TEXT",
|
|
150
|
+
"required": false,
|
|
151
|
+
"defaultValue": "Sütun",
|
|
152
|
+
"groupId": "texts"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "loadPrevPageText",
|
|
156
|
+
"displayName": "Önceki Sayfayı Yükle Metni",
|
|
157
|
+
"type": "TEXT",
|
|
158
|
+
"required": false,
|
|
159
|
+
"defaultValue": "Önceki sayfayı yükle",
|
|
160
|
+
"groupId": "texts"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "hideAddToCartButton",
|
|
164
|
+
"displayName": "Sepete Ekle Butonunu Gizle",
|
|
165
|
+
"type": "BOOLEAN",
|
|
166
|
+
"required": false,
|
|
167
|
+
"groupId": "card-settings"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "components",
|
|
171
|
+
"displayName": "Bileşenler",
|
|
172
|
+
"type": "COMPONENT_LIST",
|
|
173
|
+
"required": false,
|
|
174
|
+
"privateVarMap": {
|
|
175
|
+
"product": {
|
|
176
|
+
"id": "pvm_1772808304776_3",
|
|
177
|
+
"typeId": "@ikas/bp-storefront-models-IkasProduct"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"filteredComponentIds": [
|
|
181
|
+
"{{PROJECT_ID}}-card-product-price",
|
|
182
|
+
"{{PROJECT_ID}}-card-product-variants",
|
|
183
|
+
"{{PROJECT_ID}}-card-product-name"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "hideBreadcrumb",
|
|
188
|
+
"displayName": "Breadcrumb'u Gizle",
|
|
189
|
+
"type": "BOOLEAN",
|
|
190
|
+
"required": false,
|
|
191
|
+
"groupId": "appearance"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "isBrandPage",
|
|
195
|
+
"displayName": "Burası Marka Sayfası Mı?",
|
|
196
|
+
"type": "BOOLEAN",
|
|
197
|
+
"required": false,
|
|
198
|
+
"groupId": "data"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"propGroups": [
|
|
202
|
+
{
|
|
203
|
+
"id": "data",
|
|
204
|
+
"name": "Veri",
|
|
205
|
+
"description": "Ürün listesi veri kaynağı"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "appearance",
|
|
209
|
+
"name": "Görünüm",
|
|
210
|
+
"description": "Arka plan rengi, ürün kartı görsel oranı ve kaplama ayarları",
|
|
211
|
+
"children": [
|
|
212
|
+
{
|
|
213
|
+
"id": "image-settings",
|
|
214
|
+
"name": "Görsel Ayarları",
|
|
215
|
+
"description": "Ürün kartı görsel oranı ve sığdırma ayarları"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"id": "card-settings",
|
|
219
|
+
"name": "Ürün Kartı Ayarları",
|
|
220
|
+
"description": "Ürün kartı görünüm ayarları"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "filters",
|
|
226
|
+
"name": "Filtreler",
|
|
227
|
+
"description": "Ürün filtreleme ve arama özelliklerini açıp kapatma"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"id": "pagination",
|
|
231
|
+
"name": "Sayfalama",
|
|
232
|
+
"description": "Klasik sayfalama veya sonsuz kaydırma davranışı"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"id": "texts",
|
|
236
|
+
"name": "Metinler",
|
|
237
|
+
"description": "Buton etiketleri, boş durum mesajları ve arayüz metinleri"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
}
|