@ikas/component-cli 0.103.0 → 0.105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/dist/commands/config.d.ts.map +1 -1
  2. package/dist/commands/config.js +385 -5
  3. package/dist/commands/config.js.map +1 -1
  4. package/dist/commands/create.d.ts.map +1 -1
  5. package/dist/commands/create.js +118 -43
  6. package/dist/commands/create.js.map +1 -1
  7. package/dist/commands/dev.d.ts.map +1 -1
  8. package/dist/commands/dev.js +135 -5
  9. package/dist/commands/dev.js.map +1 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +2 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/utils/component-helpers.d.ts +5 -0
  14. package/dist/utils/component-helpers.d.ts.map +1 -1
  15. package/dist/utils/component-helpers.js +14 -1
  16. package/dist/utils/component-helpers.js.map +1 -1
  17. package/dist/utils/template.d.ts +12 -0
  18. package/dist/utils/template.d.ts.map +1 -1
  19. package/dist/utils/template.js +44 -0
  20. package/dist/utils/template.js.map +1 -1
  21. package/dist/utils/websocket-server.d.ts +26 -0
  22. package/dist/utils/websocket-server.d.ts.map +1 -1
  23. package/dist/utils/websocket-server.js +42 -0
  24. package/dist/utils/websocket-server.js.map +1 -1
  25. package/package.json +3 -2
  26. package/templates/create/claude-md +2 -1
  27. package/templates/create/cursorrules +1 -1
  28. package/templates/create/package.json +1 -0
  29. package/templates/create/src/components/ExampleComponent/types.ts +1 -1
  30. package/templates/create/src/components/ExampleSection/types.ts +1 -1
  31. package/templates/create-full/README.md +78 -0
  32. package/templates/create-full/claude-md +721 -0
  33. package/templates/create-full/cursorrules +103 -0
  34. package/templates/create-full/gitignore +4 -0
  35. package/templates/create-full/ikas.config.json +5007 -0
  36. package/templates/create-full/mcp.json +10 -0
  37. package/templates/create-full/package.json +22 -0
  38. package/templates/create-full/src/components/AccountAddresses/components/AddressCard/index.tsx +55 -0
  39. package/templates/create-full/src/components/AccountAddresses/components/AddressCard/styles.css +46 -0
  40. package/templates/create-full/src/components/AccountAddresses/components/AddressModal/index.tsx +301 -0
  41. package/templates/create-full/src/components/AccountAddresses/components/AddressModal/styles.css +22 -0
  42. package/templates/create-full/src/components/AccountAddresses/index.tsx +127 -0
  43. package/templates/create-full/src/components/AccountAddresses/styles.css +41 -0
  44. package/templates/create-full/src/components/AccountAddresses/types.ts +15 -0
  45. package/templates/create-full/src/components/AccountFavorites/index.tsx +82 -0
  46. package/templates/create-full/src/components/AccountFavorites/styles.css +52 -0
  47. package/templates/create-full/src/components/AccountFavorites/types.ts +7 -0
  48. package/templates/create-full/src/components/AccountInfo/components/AccountSidebar/index.tsx +171 -0
  49. package/templates/create-full/src/components/AccountInfo/components/AccountSidebar/styles.css +144 -0
  50. package/templates/create-full/src/components/AccountInfo/index.tsx +91 -0
  51. package/templates/create-full/src/components/AccountInfo/styles.css +35 -0
  52. package/templates/create-full/src/components/AccountInfo/types.ts +9 -0
  53. package/templates/create-full/src/components/AccountInfoContent/index.tsx +134 -0
  54. package/templates/create-full/src/components/AccountInfoContent/styles.css +57 -0
  55. package/templates/create-full/src/components/AccountInfoContent/types.ts +8 -0
  56. package/templates/create-full/src/components/AccountOrderDetail/components/OrderHeader/index.tsx +78 -0
  57. package/templates/create-full/src/components/AccountOrderDetail/components/OrderHeader/styles.css +46 -0
  58. package/templates/create-full/src/components/AccountOrderDetail/components/OrderItemRow/index.tsx +20 -0
  59. package/templates/create-full/src/components/AccountOrderDetail/components/OrderItemRow/styles.css +16 -0
  60. package/templates/create-full/src/components/AccountOrderDetail/components/OrderLineItemDisplay/index.tsx +112 -0
  61. package/templates/create-full/src/components/AccountOrderDetail/components/OrderLineItemDisplay/styles.css +86 -0
  62. package/templates/create-full/src/components/AccountOrderDetail/components/OrderSidebar/index.tsx +195 -0
  63. package/templates/create-full/src/components/AccountOrderDetail/components/OrderSidebar/styles.css +93 -0
  64. package/templates/create-full/src/components/AccountOrderDetail/components/PackageGroup/index.tsx +156 -0
  65. package/templates/create-full/src/components/AccountOrderDetail/components/PackageGroup/styles.css +100 -0
  66. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnItemRow/index.tsx +56 -0
  67. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnItemRow/styles.css +57 -0
  68. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnView/index.tsx +159 -0
  69. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnView/styles.css +29 -0
  70. package/templates/create-full/src/components/AccountOrderDetail/index.tsx +244 -0
  71. package/templates/create-full/src/components/AccountOrderDetail/styles.css +125 -0
  72. package/templates/create-full/src/components/AccountOrderDetail/types.ts +32 -0
  73. package/templates/create-full/src/components/AccountOrders/components/OrderCard/index.tsx +122 -0
  74. package/templates/create-full/src/components/AccountOrders/components/OrderCard/styles.css +114 -0
  75. package/templates/create-full/src/components/AccountOrders/index.tsx +105 -0
  76. package/templates/create-full/src/components/AccountOrders/styles.css +36 -0
  77. package/templates/create-full/src/components/AccountOrders/types.ts +11 -0
  78. package/templates/create-full/src/components/Announcement/index.tsx +11 -0
  79. package/templates/create-full/src/components/Announcement/styles.css +4 -0
  80. package/templates/create-full/src/components/Announcement/types.ts +4 -0
  81. package/templates/create-full/src/components/Announcements/index.tsx +91 -0
  82. package/templates/create-full/src/components/Announcements/styles.css +45 -0
  83. package/templates/create-full/src/components/Announcements/types.ts +8 -0
  84. package/templates/create-full/src/components/BlogHome/components/BlogCard/index.tsx +89 -0
  85. package/templates/create-full/src/components/BlogHome/components/BlogCard/styles.css +121 -0
  86. package/templates/create-full/src/components/BlogHome/index.tsx +124 -0
  87. package/templates/create-full/src/components/BlogHome/styles.css +118 -0
  88. package/templates/create-full/src/components/BlogHome/types.ts +15 -0
  89. package/templates/create-full/src/components/BlogPost/index.tsx +128 -0
  90. package/templates/create-full/src/components/BlogPost/styles.css +120 -0
  91. package/templates/create-full/src/components/BlogPost/types.ts +12 -0
  92. package/templates/create-full/src/components/CardProductName/index.tsx +25 -0
  93. package/templates/create-full/src/components/CardProductName/styles.css +22 -0
  94. package/templates/create-full/src/components/CardProductName/types.ts +7 -0
  95. package/templates/create-full/src/components/CardProductPrice/index.tsx +30 -0
  96. package/templates/create-full/src/components/CardProductPrice/styles.css +13 -0
  97. package/templates/create-full/src/components/CardProductPrice/types.ts +6 -0
  98. package/templates/create-full/src/components/CardProductVariants/index.tsx +10 -0
  99. package/templates/create-full/src/components/CardProductVariants/styles.css +1 -0
  100. package/templates/create-full/src/components/CardProductVariants/types.ts +6 -0
  101. package/templates/create-full/src/components/CartPage/components/CouponCode/index.tsx +108 -0
  102. package/templates/create-full/src/components/CartPage/components/CouponCode/styles.css +68 -0
  103. package/templates/create-full/src/components/CartPage/components/EmptyState/index.tsx +31 -0
  104. package/templates/create-full/src/components/CartPage/components/EmptyState/styles.css +18 -0
  105. package/templates/create-full/src/components/CartPage/components/OrderSummary/index.tsx +106 -0
  106. package/templates/create-full/src/components/CartPage/components/OrderSummary/styles.css +70 -0
  107. package/templates/create-full/src/components/CartPage/index.tsx +107 -0
  108. package/templates/create-full/src/components/CartPage/styles.css +54 -0
  109. package/templates/create-full/src/components/CartPage/types.ts +16 -0
  110. package/templates/create-full/src/components/CategoryImageItem/components/Card/index.tsx +64 -0
  111. package/templates/create-full/src/components/CategoryImageItem/components/Card/styles.css +56 -0
  112. package/templates/create-full/src/components/CategoryImageItem/index.tsx +64 -0
  113. package/templates/create-full/src/components/CategoryImageItem/styles.css +10 -0
  114. package/templates/create-full/src/components/CategoryImageItem/types.ts +16 -0
  115. package/templates/create-full/src/components/CategoryImages/index.tsx +62 -0
  116. package/templates/create-full/src/components/CategoryImages/styles.css +38 -0
  117. package/templates/create-full/src/components/CategoryImages/types.ts +11 -0
  118. package/templates/create-full/src/components/CategoryList/components/CategoryListControls/index.tsx +129 -0
  119. package/templates/create-full/src/components/CategoryList/components/CategoryListControls/styles.css +99 -0
  120. package/templates/create-full/src/components/CategoryList/components/FilterBoxValues/index.tsx +42 -0
  121. package/templates/create-full/src/components/CategoryList/components/FilterBoxValues/styles.css +27 -0
  122. package/templates/create-full/src/components/CategoryList/components/FilterCategoryList/index.tsx +43 -0
  123. package/templates/create-full/src/components/CategoryList/components/FilterCategoryList/styles.css +20 -0
  124. package/templates/create-full/src/components/CategoryList/components/FilterGroupValues/index.tsx +114 -0
  125. package/templates/create-full/src/components/CategoryList/components/FilterGroupValues/styles.css +1 -0
  126. package/templates/create-full/src/components/CategoryList/components/FilterListValues/index.tsx +54 -0
  127. package/templates/create-full/src/components/CategoryList/components/FilterListValues/styles.css +22 -0
  128. package/templates/create-full/src/components/CategoryList/components/FilterRangeListValues/index.tsx +50 -0
  129. package/templates/create-full/src/components/CategoryList/components/FilterRangeListValues/styles.css +25 -0
  130. package/templates/create-full/src/components/CategoryList/components/FilterRangeValues/index.tsx +189 -0
  131. package/templates/create-full/src/components/CategoryList/components/FilterRangeValues/styles.css +89 -0
  132. package/templates/create-full/src/components/CategoryList/components/FilterSidebar/index.tsx +92 -0
  133. package/templates/create-full/src/components/CategoryList/components/FilterSidebar/styles.css +27 -0
  134. package/templates/create-full/src/components/CategoryList/components/FilterSwatchValues/index.tsx +63 -0
  135. package/templates/create-full/src/components/CategoryList/components/FilterSwatchValues/styles.css +48 -0
  136. package/templates/create-full/src/components/CategoryList/components/MobileFilterModal/index.tsx +146 -0
  137. package/templates/create-full/src/components/CategoryList/components/MobileFilterModal/styles.css +133 -0
  138. package/templates/create-full/src/components/CategoryList/index.tsx +333 -0
  139. package/templates/create-full/src/components/CategoryList/styles.css +110 -0
  140. package/templates/create-full/src/components/CategoryList/types.ts +30 -0
  141. package/templates/create-full/src/components/CollapsibleContent/index.tsx +23 -0
  142. package/templates/create-full/src/components/CollapsibleContent/styles.css +11 -0
  143. package/templates/create-full/src/components/CollapsibleContent/types.ts +6 -0
  144. package/templates/create-full/src/components/CookieBar/index.tsx +78 -0
  145. package/templates/create-full/src/components/CookieBar/styles.css +111 -0
  146. package/templates/create-full/src/components/CookieBar/types.ts +10 -0
  147. package/templates/create-full/src/components/CustomerEmailVerification/index.tsx +168 -0
  148. package/templates/create-full/src/components/CustomerEmailVerification/styles.css +118 -0
  149. package/templates/create-full/src/components/CustomerEmailVerification/types.ts +17 -0
  150. package/templates/create-full/src/components/FeatureItem/index.tsx +27 -0
  151. package/templates/create-full/src/components/FeatureItem/styles.css +19 -0
  152. package/templates/create-full/src/components/FeatureItem/types.ts +7 -0
  153. package/templates/create-full/src/components/Features/index.tsx +25 -0
  154. package/templates/create-full/src/components/Features/styles.css +39 -0
  155. package/templates/create-full/src/components/Features/types.ts +5 -0
  156. package/templates/create-full/src/components/Footer/index.tsx +154 -0
  157. package/templates/create-full/src/components/Footer/styles.css +175 -0
  158. package/templates/create-full/src/components/Footer/types.ts +15 -0
  159. package/templates/create-full/src/components/ForgotPassword/components/ForgotPasswordForm/index.tsx +129 -0
  160. package/templates/create-full/src/components/ForgotPassword/components/ForgotPasswordForm/styles.css +0 -0
  161. package/templates/create-full/src/components/ForgotPassword/index.tsx +30 -0
  162. package/templates/create-full/src/components/ForgotPassword/styles.css +85 -0
  163. package/templates/create-full/src/components/ForgotPassword/types.ts +13 -0
  164. package/templates/create-full/src/components/Header/index.tsx +53 -0
  165. package/templates/create-full/src/components/Header/styles.css +6 -0
  166. package/templates/create-full/src/components/Header/types.ts +6 -0
  167. package/templates/create-full/src/components/HeroSlider/index.tsx +110 -0
  168. package/templates/create-full/src/components/HeroSlider/styles.css +129 -0
  169. package/templates/create-full/src/components/HeroSlider/types.ts +9 -0
  170. package/templates/create-full/src/components/HeroSliderItem/index.tsx +231 -0
  171. package/templates/create-full/src/components/HeroSliderItem/styles.css +152 -0
  172. package/templates/create-full/src/components/HeroSliderItem/types.ts +34 -0
  173. package/templates/create-full/src/components/Login/components/LoginForm/index.tsx +181 -0
  174. package/templates/create-full/src/components/Login/components/LoginForm/styles.css +0 -0
  175. package/templates/create-full/src/components/Login/index.tsx +37 -0
  176. package/templates/create-full/src/components/Login/styles.css +129 -0
  177. package/templates/create-full/src/components/Login/types.ts +18 -0
  178. package/templates/create-full/src/components/Navbar/components/CartSidebar/index.tsx +203 -0
  179. package/templates/create-full/src/components/Navbar/components/CartSidebar/styles.css +175 -0
  180. package/templates/create-full/src/components/Navbar/components/MobileMenu/index.tsx +198 -0
  181. package/templates/create-full/src/components/Navbar/components/MobileMenu/styles.css +122 -0
  182. package/templates/create-full/src/components/Navbar/components/NavItem/index.tsx +65 -0
  183. package/templates/create-full/src/components/Navbar/components/SearchModal/index.tsx +267 -0
  184. package/templates/create-full/src/components/Navbar/components/SearchModal/styles.css +182 -0
  185. package/templates/create-full/src/components/Navbar/index.tsx +250 -0
  186. package/templates/create-full/src/components/Navbar/styles.css +243 -0
  187. package/templates/create-full/src/components/Navbar/types.ts +37 -0
  188. package/templates/create-full/src/components/NotFound/index.tsx +39 -0
  189. package/templates/create-full/src/components/NotFound/styles.css +46 -0
  190. package/templates/create-full/src/components/NotFound/types.ts +8 -0
  191. package/templates/create-full/src/components/ProductDetail/components/ProductGallery/index.tsx +316 -0
  192. package/templates/create-full/src/components/ProductDetail/components/ProductGallery/styles.css +213 -0
  193. package/templates/create-full/src/components/ProductDetail/index.tsx +92 -0
  194. package/templates/create-full/src/components/ProductDetail/styles.css +58 -0
  195. package/templates/create-full/src/components/ProductDetail/types.ts +12 -0
  196. package/templates/create-full/src/components/ProductDetailAddToCart/components/PayWithIkas/index.tsx +34 -0
  197. package/templates/create-full/src/components/ProductDetailAddToCart/components/PayWithIkas/styles.css +4 -0
  198. package/templates/create-full/src/components/ProductDetailAddToCart/index.tsx +146 -0
  199. package/templates/create-full/src/components/ProductDetailAddToCart/styles.css +27 -0
  200. package/templates/create-full/src/components/ProductDetailAddToCart/types.ts +18 -0
  201. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureRow/index.tsx +164 -0
  202. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureSection/index.tsx +134 -0
  203. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureSection/styles.css +188 -0
  204. package/templates/create-full/src/components/ProductDetailBundleFurniture/index.tsx +61 -0
  205. package/templates/create-full/src/components/ProductDetailBundleFurniture/styles.css +12 -0
  206. package/templates/create-full/src/components/ProductDetailBundleFurniture/types.ts +21 -0
  207. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleProductItem/index.tsx +169 -0
  208. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleProductItem/styles.css +141 -0
  209. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleSkeletonLoading/index.tsx +35 -0
  210. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleSkeletonLoading/styles.css +85 -0
  211. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureRow/index.tsx +51 -0
  212. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureRow/styles.css +30 -0
  213. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureView/index.tsx +54 -0
  214. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureView/styles.css +22 -0
  215. package/templates/create-full/src/components/ProductDetailBundleProduct/index.tsx +101 -0
  216. package/templates/create-full/src/components/ProductDetailBundleProduct/styles.css +20 -0
  217. package/templates/create-full/src/components/ProductDetailBundleProduct/types.ts +18 -0
  218. package/templates/create-full/src/components/ProductDetailDescription/index.tsx +56 -0
  219. package/templates/create-full/src/components/ProductDetailDescription/styles.css +21 -0
  220. package/templates/create-full/src/components/ProductDetailDescription/types.ts +13 -0
  221. package/templates/create-full/src/components/ProductDetailFeatureItem/index.tsx +28 -0
  222. package/templates/create-full/src/components/ProductDetailFeatureItem/styles.css +22 -0
  223. package/templates/create-full/src/components/ProductDetailFeatureItem/types.ts +7 -0
  224. package/templates/create-full/src/components/ProductDetailFeatures/index.tsx +40 -0
  225. package/templates/create-full/src/components/ProductDetailFeatures/styles.css +17 -0
  226. package/templates/create-full/src/components/ProductDetailFeatures/types.ts +10 -0
  227. package/templates/create-full/src/components/ProductDetailNameFavorite/index.tsx +66 -0
  228. package/templates/create-full/src/components/ProductDetailNameFavorite/styles.css +45 -0
  229. package/templates/create-full/src/components/ProductDetailNameFavorite/types.ts +11 -0
  230. package/templates/create-full/src/components/ProductDetailOffer/components/OfferCard/index.tsx +209 -0
  231. package/templates/create-full/src/components/ProductDetailOffer/components/OfferCard/styles.css +146 -0
  232. package/templates/create-full/src/components/ProductDetailOffer/components/OfferSummary/index.tsx +175 -0
  233. package/templates/create-full/src/components/ProductDetailOffer/index.tsx +199 -0
  234. package/templates/create-full/src/components/ProductDetailOffer/styles.css +211 -0
  235. package/templates/create-full/src/components/ProductDetailOffer/types.ts +24 -0
  236. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionCheckbox/index.tsx +52 -0
  237. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionCheckbox/styles.css +19 -0
  238. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceBox/index.tsx +60 -0
  239. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceBox/styles.css +38 -0
  240. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSelect/index.tsx +102 -0
  241. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSelect/styles.css +34 -0
  242. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSwatch/index.tsx +121 -0
  243. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSwatch/styles.css +87 -0
  244. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/index.tsx +57 -0
  245. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionColorPicker/index.tsx +54 -0
  246. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionColorPicker/styles.css +0 -0
  247. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionDatePicker/index.tsx +124 -0
  248. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionDatePicker/styles.css +1 -0
  249. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionFile/index.tsx +217 -0
  250. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionFile/styles.css +87 -0
  251. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionRenderer/index.tsx +133 -0
  252. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionText/index.tsx +60 -0
  253. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionText/styles.css +1 -0
  254. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionTextarea/index.tsx +74 -0
  255. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionTextarea/styles.css +10 -0
  256. package/templates/create-full/src/components/ProductDetailOptionSet/index.tsx +99 -0
  257. package/templates/create-full/src/components/ProductDetailOptionSet/styles.css +30 -0
  258. package/templates/create-full/src/components/ProductDetailOptionSet/types.ts +21 -0
  259. package/templates/create-full/src/components/ProductDetailPrices/index.tsx +62 -0
  260. package/templates/create-full/src/components/ProductDetailPrices/styles.css +32 -0
  261. package/templates/create-full/src/components/ProductDetailPrices/types.ts +10 -0
  262. package/templates/create-full/src/components/ProductDetailProductGroup/index.tsx +74 -0
  263. package/templates/create-full/src/components/ProductDetailProductGroup/styles.css +33 -0
  264. package/templates/create-full/src/components/ProductDetailProductGroup/types.ts +10 -0
  265. package/templates/create-full/src/components/ProductDetailReviews/index.tsx +205 -0
  266. package/templates/create-full/src/components/ProductDetailReviews/styles.css +43 -0
  267. package/templates/create-full/src/components/ProductDetailReviews/types.ts +19 -0
  268. package/templates/create-full/src/components/ProductDetailSku/index.tsx +38 -0
  269. package/templates/create-full/src/components/ProductDetailSku/styles.css +16 -0
  270. package/templates/create-full/src/components/ProductDetailSku/types.ts +11 -0
  271. package/templates/create-full/src/components/ProductDetailVariant/index.tsx +38 -0
  272. package/templates/create-full/src/components/ProductDetailVariant/styles.css +14 -0
  273. package/templates/create-full/src/components/ProductDetailVariant/types.ts +12 -0
  274. package/templates/create-full/src/components/ProductSlider/index.tsx +151 -0
  275. package/templates/create-full/src/components/ProductSlider/styles.css +105 -0
  276. package/templates/create-full/src/components/ProductSlider/types.ts +17 -0
  277. package/templates/create-full/src/components/RecoverPassword/components/RecoverPasswordForm/index.tsx +133 -0
  278. package/templates/create-full/src/components/RecoverPassword/components/RecoverPasswordForm/styles.css +0 -0
  279. package/templates/create-full/src/components/RecoverPassword/index.tsx +30 -0
  280. package/templates/create-full/src/components/RecoverPassword/styles.css +93 -0
  281. package/templates/create-full/src/components/RecoverPassword/types.ts +13 -0
  282. package/templates/create-full/src/components/Register/components/RegisterForm/index.tsx +326 -0
  283. package/templates/create-full/src/components/Register/components/RegisterForm/styles.css +0 -0
  284. package/templates/create-full/src/components/Register/index.tsx +30 -0
  285. package/templates/create-full/src/components/Register/styles.css +152 -0
  286. package/templates/create-full/src/components/Register/types.ts +27 -0
  287. package/templates/create-full/src/components/RichText/index.tsx +25 -0
  288. package/templates/create-full/src/components/RichText/styles.css +51 -0
  289. package/templates/create-full/src/components/RichText/types.ts +5 -0
  290. package/templates/create-full/src/components/SocialMediaIcon/index.tsx +26 -0
  291. package/templates/create-full/src/components/SocialMediaIcon/styles.css +17 -0
  292. package/templates/create-full/src/components/SocialMediaIcon/types.ts +7 -0
  293. package/templates/create-full/src/components/index.ts +50 -0
  294. package/templates/create-full/src/global-types.ts +13 -0
  295. package/templates/create-full/src/global.css +582 -0
  296. package/templates/create-full/src/hooks/useBundleProducts.ts +75 -0
  297. package/templates/create-full/src/hooks/useColumnPreference.ts +26 -0
  298. package/templates/create-full/src/hooks/useInfiniteScroll.ts +49 -0
  299. package/templates/create-full/src/hooks/usePageTracking.ts +56 -0
  300. package/templates/create-full/src/hooks/usePayWithIkas.ts +114 -0
  301. package/templates/create-full/src/hooks/useRedirectIfLoggedIn.ts +35 -0
  302. package/templates/create-full/src/hooks/useScrollLock.ts +20 -0
  303. package/templates/create-full/src/hooks/useToast.ts +27 -0
  304. package/templates/create-full/src/ikas-component-utils.d.ts +3 -0
  305. package/templates/create-full/src/sub-components/Badge/index.tsx +208 -0
  306. package/templates/create-full/src/sub-components/Badge/styles.css +129 -0
  307. package/templates/create-full/src/sub-components/Breadcrumb/index.tsx +57 -0
  308. package/templates/create-full/src/sub-components/Breadcrumb/styles.css +49 -0
  309. package/templates/create-full/src/sub-components/BundleMedia/index.tsx +72 -0
  310. package/templates/create-full/src/sub-components/BundleQuantityBox/index.tsx +73 -0
  311. package/templates/create-full/src/sub-components/BundleQuantityBox/styles.css +43 -0
  312. package/templates/create-full/src/sub-components/Button/index.tsx +52 -0
  313. package/templates/create-full/src/sub-components/Button/styles.css +114 -0
  314. package/templates/create-full/src/sub-components/CartItem/components/BundleProductItem/index.tsx +59 -0
  315. package/templates/create-full/src/sub-components/CartItem/components/BundleProductItem/styles.css +24 -0
  316. package/templates/create-full/src/sub-components/CartItem/components/BundleProducts/index.tsx +55 -0
  317. package/templates/create-full/src/sub-components/CartItem/components/BundleProducts/styles.css +30 -0
  318. package/templates/create-full/src/sub-components/CartItem/components/ItemOptions/index.tsx +31 -0
  319. package/templates/create-full/src/sub-components/CartItem/components/ItemOptions/styles.css +6 -0
  320. package/templates/create-full/src/sub-components/CartItem/components/OptionValueDisplay/index.tsx +79 -0
  321. package/templates/create-full/src/sub-components/CartItem/components/OptionValueDisplay/styles.css +28 -0
  322. package/templates/create-full/src/sub-components/CartItem/index.tsx +216 -0
  323. package/templates/create-full/src/sub-components/CartItem/styles.css +170 -0
  324. package/templates/create-full/src/sub-components/Checkbox/index.tsx +42 -0
  325. package/templates/create-full/src/sub-components/Checkbox/styles.css +65 -0
  326. package/templates/create-full/src/sub-components/CollapsibleGroup/index.tsx +52 -0
  327. package/templates/create-full/src/sub-components/CollapsibleGroup/styles.css +51 -0
  328. package/templates/create-full/src/sub-components/ColorInput/index.tsx +33 -0
  329. package/templates/create-full/src/sub-components/ColorInput/styles.css +53 -0
  330. package/templates/create-full/src/sub-components/ConfirmModal/index.tsx +60 -0
  331. package/templates/create-full/src/sub-components/ConfirmModal/styles.css +20 -0
  332. package/templates/create-full/src/sub-components/FormItem/index.tsx +66 -0
  333. package/templates/create-full/src/sub-components/FormItem/styles.css +38 -0
  334. package/templates/create-full/src/sub-components/ImagePreviewModal/index.tsx +55 -0
  335. package/templates/create-full/src/sub-components/ImagePreviewModal/styles.css +50 -0
  336. package/templates/create-full/src/sub-components/Input/index.tsx +69 -0
  337. package/templates/create-full/src/sub-components/Input/styles.css +162 -0
  338. package/templates/create-full/src/sub-components/Modal/index.tsx +118 -0
  339. package/templates/create-full/src/sub-components/Modal/styles.css +70 -0
  340. package/templates/create-full/src/sub-components/PageLoader/index.tsx +14 -0
  341. package/templates/create-full/src/sub-components/PageLoader/styles.css +12 -0
  342. package/templates/create-full/src/sub-components/Pagination/index.tsx +107 -0
  343. package/templates/create-full/src/sub-components/Pagination/styles.css +88 -0
  344. package/templates/create-full/src/sub-components/ProductCard/index.tsx +276 -0
  345. package/templates/create-full/src/sub-components/ProductCard/styles.css +99 -0
  346. package/templates/create-full/src/sub-components/QuantitySelector/index.tsx +41 -0
  347. package/templates/create-full/src/sub-components/QuantitySelector/styles.css +51 -0
  348. package/templates/create-full/src/sub-components/ReviewCard/index.tsx +103 -0
  349. package/templates/create-full/src/sub-components/ReviewCard/styles.css +95 -0
  350. package/templates/create-full/src/sub-components/ReviewForm/index.tsx +115 -0
  351. package/templates/create-full/src/sub-components/ReviewForm/styles.css +11 -0
  352. package/templates/create-full/src/sub-components/ReviewSummary/index.tsx +65 -0
  353. package/templates/create-full/src/sub-components/ReviewSummary/styles.css +86 -0
  354. package/templates/create-full/src/sub-components/Select/index.tsx +86 -0
  355. package/templates/create-full/src/sub-components/Select/styles.css +110 -0
  356. package/templates/create-full/src/sub-components/SkeletonField/index.tsx +12 -0
  357. package/templates/create-full/src/sub-components/SkeletonField/styles.css +29 -0
  358. package/templates/create-full/src/sub-components/SliderArrow/index.tsx +26 -0
  359. package/templates/create-full/src/sub-components/SliderArrow/styles.css +24 -0
  360. package/templates/create-full/src/sub-components/SocialLoginButton/index.tsx +24 -0
  361. package/templates/create-full/src/sub-components/SocialLoginButton/styles.css +19 -0
  362. package/templates/create-full/src/sub-components/SpinnerIcon/index.tsx +10 -0
  363. package/templates/create-full/src/sub-components/SpinnerIcon/styles.css +8 -0
  364. package/templates/create-full/src/sub-components/StarRating/index.tsx +76 -0
  365. package/templates/create-full/src/sub-components/StarRating/styles.css +40 -0
  366. package/templates/create-full/src/sub-components/Tag/index.tsx +21 -0
  367. package/templates/create-full/src/sub-components/Tag/styles.css +30 -0
  368. package/templates/create-full/src/sub-components/Textarea/index.tsx +45 -0
  369. package/templates/create-full/src/sub-components/Textarea/styles.css +82 -0
  370. package/templates/create-full/src/sub-components/Toast/index.tsx +257 -0
  371. package/templates/create-full/src/sub-components/Toast/styles.css +3 -0
  372. package/templates/create-full/src/sub-components/Toggle/index.tsx +46 -0
  373. package/templates/create-full/src/sub-components/Toggle/styles.css +86 -0
  374. package/templates/create-full/src/sub-components/VariantBadge/index.tsx +153 -0
  375. package/templates/create-full/src/sub-components/VariantBadge/styles.css +47 -0
  376. package/templates/create-full/src/sub-components/icons/index.tsx +981 -0
  377. package/templates/create-full/src/utils/bundle.ts +70 -0
  378. package/templates/create-full/src/utils/cx.ts +4 -0
  379. package/templates/create-full/src/utils/fullName.ts +6 -0
  380. package/templates/create-full/src/utils/media.ts +36 -0
  381. package/templates/create-full/src/utils/optionPrice.ts +19 -0
  382. package/templates/create-full/src/utils/optionSet.ts +17 -0
  383. package/templates/create-full/src/utils/orderStatus.ts +28 -0
  384. package/templates/create-full/src/utils/pagination.ts +29 -0
  385. package/templates/create-full/src/utils/toast.ts +5 -0
  386. package/templates/create-full/tsconfig.json +30 -0
  387. package/templates/create-full/vite.config.ts +15 -0
@@ -0,0 +1,582 @@
1
+ /*
2
+ * Global styles for your ikas code components project.
3
+ * These styles are NOT scoped — they apply across all components.
4
+ * Use this for CSS resets, base typography, utility classes, or CSS variables.
5
+ *
6
+ * Loading order:
7
+ * 1. Global CSS (this file) — lowest specificity
8
+ * 2. Shared chunk CSS — multi-scope (.cc_a .sel, .cc_b .sel)
9
+ * 3. Component CSS — single scope (.cc_id .sel) — highest specificity
10
+ *
11
+ * Component-scoped styles naturally override these globals.
12
+ */
13
+
14
+ /* ===== Colors — Kombos Design System ===== */
15
+
16
+ :root {
17
+ /* Z-Index */
18
+ --kombos-z-dropdown: 50;
19
+ --kombos-z-header: 100;
20
+ --kombos-z-overlay: 200;
21
+
22
+ /* Base */
23
+ --kombos-white: #ffffff;
24
+
25
+ /* Semantic */
26
+ --kombos-error: #d4323b;
27
+ --kombos-success: #0a8a4f;
28
+ --kombos-warning: #b87514;
29
+ --kombos-info: #2563eb;
30
+ --kombos-badge-bg: #ff0000;
31
+ --kombos-discount-bg: #c8102e;
32
+ --kombos-success-bg: #ceffb3;
33
+ --kombos-error-hover: #c82f37;
34
+
35
+ /* Gray */
36
+ --kombos-gray-50: #fafafa;
37
+ --kombos-gray-100: #f6f6f6;
38
+ --kombos-gray-200: #ececed;
39
+ --kombos-gray-300: #c4c4c6;
40
+ --kombos-gray-400: #9c9c9f;
41
+ --kombos-gray-500: #727276;
42
+ --kombos-gray-600: #4a4a4f;
43
+ --kombos-gray-700: #2e2e33;
44
+ --kombos-gray-800: #202025;
45
+ --kombos-gray-900: #14141a;
46
+
47
+ /* Layout */
48
+ --kombos-max-width: 93.75rem;
49
+
50
+ }
51
+
52
+ /* ===== Typography — Kombos Design System ===== */
53
+ /* Font: Montserrat | Weights: Regular 400, Medium 500, Semibold 600 */
54
+
55
+ /* --- Display --- */
56
+
57
+ .display-xxl-regular { font-weight: 400; font-size: 4.5rem; line-height: 5.625rem; }
58
+ .display-xxl-medium { font-weight: 500; font-size: 4.5rem; line-height: 5.625rem; }
59
+ .display-xxl-semibold { font-weight: 600; font-size: 4.5rem; line-height: 5.625rem; }
60
+
61
+ .display-xl-regular { font-weight: 400; font-size: 3.75rem; line-height: 4.5rem; }
62
+ .display-xl-medium { font-weight: 500; font-size: 3.75rem; line-height: 4.5rem; }
63
+ .display-xl-semibold { font-weight: 600; font-size: 3.75rem; line-height: 4.5rem; }
64
+
65
+ .display-lg-regular { font-weight: 400; font-size: 3rem; line-height: 3.75rem; }
66
+ .display-lg-medium { font-weight: 500; font-size: 3rem; line-height: 3.75rem; }
67
+ .display-lg-semibold { font-weight: 600; font-size: 3rem; line-height: 3.75rem; }
68
+
69
+ .display-md-regular { font-weight: 400; font-size: 2.25rem; line-height: 2.75rem; }
70
+ .display-md-medium { font-weight: 500; font-size: 2.25rem; line-height: 2.75rem; }
71
+ .display-md-semibold { font-weight: 600; font-size: 2.25rem; line-height: 2.75rem; }
72
+
73
+ .display-sm-regular { font-weight: 400; font-size: 1.875rem; line-height: 2.375rem; }
74
+ .display-sm-medium { font-weight: 500; font-size: 1.875rem; line-height: 2.375rem; }
75
+ .display-sm-semibold { font-weight: 600; font-size: 1.875rem; line-height: 2.375rem; }
76
+
77
+ .display-xs-regular { font-weight: 400; font-size: 1.5rem; line-height: 2rem; }
78
+ .display-xs-medium { font-weight: 500; font-size: 1.5rem; line-height: 2rem; }
79
+ .display-xs-semibold { font-weight: 600; font-size: 1.5rem; line-height: 2rem; }
80
+
81
+ /* --- Text --- */
82
+
83
+ .text-xl-regular { font-weight: 400; font-size: 1.25rem; line-height: 1.875rem; }
84
+ .text-xl-medium { font-weight: 500; font-size: 1.25rem; line-height: 1.875rem; }
85
+ .text-xl-semibold { font-weight: 600; font-size: 1.25rem; line-height: 1.875rem; }
86
+
87
+ .text-lg-regular { font-weight: 400; font-size: 1.125rem; line-height: 1.75rem; }
88
+ .text-lg-medium { font-weight: 500; font-size: 1.125rem; line-height: 1.75rem; }
89
+ .text-lg-semibold { font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; }
90
+
91
+ .text-md-regular { font-weight: 400; font-size: 1rem; line-height: 1.5rem; }
92
+ .text-md-medium { font-weight: 500; font-size: 1rem; line-height: 1.5rem; }
93
+ .text-md-semibold { font-weight: 600; font-size: 1rem; line-height: 1.5rem; }
94
+
95
+ .text-sm-regular { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; }
96
+ .text-sm-medium { font-weight: 500; font-size: 0.875rem; line-height: 1.25rem; }
97
+ .text-sm-semibold { font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; }
98
+
99
+ .text-xs-regular { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; }
100
+ .text-xs-medium { font-weight: 500; font-size: 0.75rem; line-height: 1.125rem; }
101
+ .text-xs-semibold { font-weight: 600; font-size: 0.75rem; line-height: 1.125rem; }
102
+
103
+ /* --- Strikethrough variants --- */
104
+
105
+ .text-xl-medium-strike { font-weight: 500; font-size: 1.25rem; line-height: 1.875rem; text-decoration: line-through; }
106
+ .text-md-regular-strike { font-weight: 400; font-size: 1rem; line-height: 1.5rem; text-decoration: line-through; }
107
+ .text-sm-regular-strike { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; text-decoration: line-through; }
108
+ .text-xs-regular-strike { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; text-decoration: line-through; }
109
+
110
+ /* --- Underline variants --- */
111
+
112
+ .display-xxl-underline { font-weight: 400; font-size: 4.5rem; line-height: 5.625rem; text-decoration: underline; }
113
+ .display-xl-underline { font-weight: 400; font-size: 3.75rem; line-height: 4.5rem; text-decoration: underline; }
114
+ .display-lg-underline { font-weight: 400; font-size: 3rem; line-height: 3.75rem; text-decoration: underline; }
115
+ .display-md-underline { font-weight: 400; font-size: 2.25rem; line-height: 2.75rem; text-decoration: underline; }
116
+ .display-sm-underline { font-weight: 400; font-size: 1.875rem; line-height: 2.375rem; text-decoration: underline; }
117
+ .display-xs-underline { font-weight: 400; font-size: 1.5rem; line-height: 2rem; text-decoration: underline; }
118
+ .text-xl-underline { font-weight: 400; font-size: 1.25rem; line-height: 1.875rem; text-decoration: underline; }
119
+ .text-lg-underline { font-weight: 400; font-size: 1.125rem; line-height: 1.75rem; text-decoration: underline; }
120
+ .text-md-underline { font-weight: 400; font-size: 1rem; line-height: 1.5rem; text-decoration: underline; }
121
+ .text-sm-underline { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; text-decoration: underline; }
122
+ .text-xs-underline { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; text-decoration: underline; }
123
+
124
+ /* --- Responsive: sm (640px+) — Tailwind-style prefix --- */
125
+
126
+ @media (min-width: 640px) {
127
+ /* Display */
128
+ .sm\:display-xxl-regular { font-weight: 400; font-size: 4.5rem; line-height: 5.625rem; }
129
+ .sm\:display-xxl-medium { font-weight: 500; font-size: 4.5rem; line-height: 5.625rem; }
130
+ .sm\:display-xxl-semibold { font-weight: 600; font-size: 4.5rem; line-height: 5.625rem; }
131
+
132
+ .sm\:display-xl-regular { font-weight: 400; font-size: 3.75rem; line-height: 4.5rem; }
133
+ .sm\:display-xl-medium { font-weight: 500; font-size: 3.75rem; line-height: 4.5rem; }
134
+ .sm\:display-xl-semibold { font-weight: 600; font-size: 3.75rem; line-height: 4.5rem; }
135
+
136
+ .sm\:display-lg-regular { font-weight: 400; font-size: 3rem; line-height: 3.75rem; }
137
+ .sm\:display-lg-medium { font-weight: 500; font-size: 3rem; line-height: 3.75rem; }
138
+ .sm\:display-lg-semibold { font-weight: 600; font-size: 3rem; line-height: 3.75rem; }
139
+
140
+ .sm\:display-md-regular { font-weight: 400; font-size: 2.25rem; line-height: 2.75rem; }
141
+ .sm\:display-md-medium { font-weight: 500; font-size: 2.25rem; line-height: 2.75rem; }
142
+ .sm\:display-md-semibold { font-weight: 600; font-size: 2.25rem; line-height: 2.75rem; }
143
+
144
+ .sm\:display-sm-regular { font-weight: 400; font-size: 1.875rem; line-height: 2.375rem; }
145
+ .sm\:display-sm-medium { font-weight: 500; font-size: 1.875rem; line-height: 2.375rem; }
146
+ .sm\:display-sm-semibold { font-weight: 600; font-size: 1.875rem; line-height: 2.375rem; }
147
+
148
+ .sm\:display-xs-regular { font-weight: 400; font-size: 1.5rem; line-height: 2rem; }
149
+ .sm\:display-xs-medium { font-weight: 500; font-size: 1.5rem; line-height: 2rem; }
150
+ .sm\:display-xs-semibold { font-weight: 600; font-size: 1.5rem; line-height: 2rem; }
151
+
152
+ /* Text */
153
+ .sm\:text-xl-regular { font-weight: 400; font-size: 1.25rem; line-height: 1.875rem; }
154
+ .sm\:text-xl-medium { font-weight: 500; font-size: 1.25rem; line-height: 1.875rem; }
155
+ .sm\:text-xl-semibold { font-weight: 600; font-size: 1.25rem; line-height: 1.875rem; }
156
+
157
+ .sm\:text-lg-regular { font-weight: 400; font-size: 1.125rem; line-height: 1.75rem; }
158
+ .sm\:text-lg-medium { font-weight: 500; font-size: 1.125rem; line-height: 1.75rem; }
159
+ .sm\:text-lg-semibold { font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; }
160
+
161
+ .sm\:text-md-regular { font-weight: 400; font-size: 1rem; line-height: 1.5rem; }
162
+ .sm\:text-md-medium { font-weight: 500; font-size: 1rem; line-height: 1.5rem; }
163
+ .sm\:text-md-semibold { font-weight: 600; font-size: 1rem; line-height: 1.5rem; }
164
+
165
+ .sm\:text-sm-regular { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; }
166
+ .sm\:text-sm-medium { font-weight: 500; font-size: 0.875rem; line-height: 1.25rem; }
167
+ .sm\:text-sm-semibold { font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; }
168
+
169
+ .sm\:text-xs-regular { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; }
170
+ .sm\:text-xs-medium { font-weight: 500; font-size: 0.75rem; line-height: 1.125rem; }
171
+ .sm\:text-xs-semibold { font-weight: 600; font-size: 0.75rem; line-height: 1.125rem; }
172
+
173
+ /* Strikethrough */
174
+ .sm\:text-xl-medium-strike { font-weight: 500; font-size: 1.25rem; line-height: 1.875rem; text-decoration: line-through; }
175
+ .sm\:text-md-regular-strike { font-weight: 400; font-size: 1rem; line-height: 1.5rem; text-decoration: line-through; }
176
+ .sm\:text-sm-regular-strike { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; text-decoration: line-through; }
177
+ .sm\:text-xs-regular-strike { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; text-decoration: line-through; }
178
+
179
+ /* Underline — Display */
180
+ .sm\:display-xxl-underline { font-weight: 400; font-size: 4.5rem; line-height: 5.625rem; text-decoration: underline; }
181
+ .sm\:display-xl-underline { font-weight: 400; font-size: 3.75rem; line-height: 4.5rem; text-decoration: underline; }
182
+ .sm\:display-lg-underline { font-weight: 400; font-size: 3rem; line-height: 3.75rem; text-decoration: underline; }
183
+ .sm\:display-md-underline { font-weight: 400; font-size: 2.25rem; line-height: 2.75rem; text-decoration: underline; }
184
+ .sm\:display-sm-underline { font-weight: 400; font-size: 1.875rem; line-height: 2.375rem; text-decoration: underline; }
185
+ .sm\:display-xs-underline { font-weight: 400; font-size: 1.5rem; line-height: 2rem; text-decoration: underline; }
186
+
187
+ /* Underline — Text */
188
+ .sm\:text-xl-underline { font-weight: 400; font-size: 1.25rem; line-height: 1.875rem; text-decoration: underline; }
189
+ .sm\:text-lg-underline { font-weight: 400; font-size: 1.125rem; line-height: 1.75rem; text-decoration: underline; }
190
+ .sm\:text-md-underline { font-weight: 400; font-size: 1rem; line-height: 1.5rem; text-decoration: underline; }
191
+ .sm\:text-sm-underline { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; text-decoration: underline; }
192
+ .sm\:text-xs-underline { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; text-decoration: underline; }
193
+ }
194
+
195
+ /* --- Responsive: md (768px+) — Tailwind-style prefix --- */
196
+
197
+ @media (min-width: 768px) {
198
+ /* Display */
199
+ .md\:display-xxl-regular { font-weight: 400; font-size: 4.5rem; line-height: 5.625rem; }
200
+ .md\:display-xxl-medium { font-weight: 500; font-size: 4.5rem; line-height: 5.625rem; }
201
+ .md\:display-xxl-semibold { font-weight: 600; font-size: 4.5rem; line-height: 5.625rem; }
202
+
203
+ .md\:display-xl-regular { font-weight: 400; font-size: 3.75rem; line-height: 4.5rem; }
204
+ .md\:display-xl-medium { font-weight: 500; font-size: 3.75rem; line-height: 4.5rem; }
205
+ .md\:display-xl-semibold { font-weight: 600; font-size: 3.75rem; line-height: 4.5rem; }
206
+
207
+ .md\:display-lg-regular { font-weight: 400; font-size: 3rem; line-height: 3.75rem; }
208
+ .md\:display-lg-medium { font-weight: 500; font-size: 3rem; line-height: 3.75rem; }
209
+ .md\:display-lg-semibold { font-weight: 600; font-size: 3rem; line-height: 3.75rem; }
210
+
211
+ .md\:display-md-regular { font-weight: 400; font-size: 2.25rem; line-height: 2.75rem; }
212
+ .md\:display-md-medium { font-weight: 500; font-size: 2.25rem; line-height: 2.75rem; }
213
+ .md\:display-md-semibold { font-weight: 600; font-size: 2.25rem; line-height: 2.75rem; }
214
+
215
+ .md\:display-sm-regular { font-weight: 400; font-size: 1.875rem; line-height: 2.375rem; }
216
+ .md\:display-sm-medium { font-weight: 500; font-size: 1.875rem; line-height: 2.375rem; }
217
+ .md\:display-sm-semibold { font-weight: 600; font-size: 1.875rem; line-height: 2.375rem; }
218
+
219
+ .md\:display-xs-regular { font-weight: 400; font-size: 1.5rem; line-height: 2rem; }
220
+ .md\:display-xs-medium { font-weight: 500; font-size: 1.5rem; line-height: 2rem; }
221
+ .md\:display-xs-semibold { font-weight: 600; font-size: 1.5rem; line-height: 2rem; }
222
+
223
+ /* Text */
224
+ .md\:text-xl-regular { font-weight: 400; font-size: 1.25rem; line-height: 1.875rem; }
225
+ .md\:text-xl-medium { font-weight: 500; font-size: 1.25rem; line-height: 1.875rem; }
226
+ .md\:text-xl-semibold { font-weight: 600; font-size: 1.25rem; line-height: 1.875rem; }
227
+
228
+ .md\:text-lg-regular { font-weight: 400; font-size: 1.125rem; line-height: 1.75rem; }
229
+ .md\:text-lg-medium { font-weight: 500; font-size: 1.125rem; line-height: 1.75rem; }
230
+ .md\:text-lg-semibold { font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; }
231
+
232
+ .md\:text-md-regular { font-weight: 400; font-size: 1rem; line-height: 1.5rem; }
233
+ .md\:text-md-medium { font-weight: 500; font-size: 1rem; line-height: 1.5rem; }
234
+ .md\:text-md-semibold { font-weight: 600; font-size: 1rem; line-height: 1.5rem; }
235
+
236
+ .md\:text-sm-regular { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; }
237
+ .md\:text-sm-medium { font-weight: 500; font-size: 0.875rem; line-height: 1.25rem; }
238
+ .md\:text-sm-semibold { font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; }
239
+
240
+ .md\:text-xs-regular { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; }
241
+ .md\:text-xs-medium { font-weight: 500; font-size: 0.75rem; line-height: 1.125rem; }
242
+ .md\:text-xs-semibold { font-weight: 600; font-size: 0.75rem; line-height: 1.125rem; }
243
+
244
+ /* Strikethrough */
245
+ .md\:text-xl-medium-strike { font-weight: 500; font-size: 1.25rem; line-height: 1.875rem; text-decoration: line-through; }
246
+ .md\:text-md-regular-strike { font-weight: 400; font-size: 1rem; line-height: 1.5rem; text-decoration: line-through; }
247
+ .md\:text-sm-regular-strike { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; text-decoration: line-through; }
248
+ .md\:text-xs-regular-strike { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; text-decoration: line-through; }
249
+
250
+ /* Underline — Display */
251
+ .md\:display-xxl-underline { font-weight: 400; font-size: 4.5rem; line-height: 5.625rem; text-decoration: underline; }
252
+ .md\:display-xl-underline { font-weight: 400; font-size: 3.75rem; line-height: 4.5rem; text-decoration: underline; }
253
+ .md\:display-lg-underline { font-weight: 400; font-size: 3rem; line-height: 3.75rem; text-decoration: underline; }
254
+ .md\:display-md-underline { font-weight: 400; font-size: 2.25rem; line-height: 2.75rem; text-decoration: underline; }
255
+ .md\:display-sm-underline { font-weight: 400; font-size: 1.875rem; line-height: 2.375rem; text-decoration: underline; }
256
+ .md\:display-xs-underline { font-weight: 400; font-size: 1.5rem; line-height: 2rem; text-decoration: underline; }
257
+
258
+ /* Underline — Text */
259
+ .md\:text-xl-underline { font-weight: 400; font-size: 1.25rem; line-height: 1.875rem; text-decoration: underline; }
260
+ .md\:text-lg-underline { font-weight: 400; font-size: 1.125rem; line-height: 1.75rem; text-decoration: underline; }
261
+ .md\:text-md-underline { font-weight: 400; font-size: 1rem; line-height: 1.5rem; text-decoration: underline; }
262
+ .md\:text-sm-underline { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; text-decoration: underline; }
263
+ .md\:text-xs-underline { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; text-decoration: underline; }
264
+ }
265
+
266
+ /* --- Responsive: lg (1024px+) — Tailwind-style prefix --- */
267
+
268
+ @media (min-width: 1024px) {
269
+ /* Display */
270
+ .lg\:display-xxl-regular { font-weight: 400; font-size: 4.5rem; line-height: 5.625rem; }
271
+ .lg\:display-xxl-medium { font-weight: 500; font-size: 4.5rem; line-height: 5.625rem; }
272
+ .lg\:display-xxl-semibold { font-weight: 600; font-size: 4.5rem; line-height: 5.625rem; }
273
+
274
+ .lg\:display-xl-regular { font-weight: 400; font-size: 3.75rem; line-height: 4.5rem; }
275
+ .lg\:display-xl-medium { font-weight: 500; font-size: 3.75rem; line-height: 4.5rem; }
276
+ .lg\:display-xl-semibold { font-weight: 600; font-size: 3.75rem; line-height: 4.5rem; }
277
+
278
+ .lg\:display-lg-regular { font-weight: 400; font-size: 3rem; line-height: 3.75rem; }
279
+ .lg\:display-lg-medium { font-weight: 500; font-size: 3rem; line-height: 3.75rem; }
280
+ .lg\:display-lg-semibold { font-weight: 600; font-size: 3rem; line-height: 3.75rem; }
281
+
282
+ .lg\:display-md-regular { font-weight: 400; font-size: 2.25rem; line-height: 2.75rem; }
283
+ .lg\:display-md-medium { font-weight: 500; font-size: 2.25rem; line-height: 2.75rem; }
284
+ .lg\:display-md-semibold { font-weight: 600; font-size: 2.25rem; line-height: 2.75rem; }
285
+
286
+ .lg\:display-sm-regular { font-weight: 400; font-size: 1.875rem; line-height: 2.375rem; }
287
+ .lg\:display-sm-medium { font-weight: 500; font-size: 1.875rem; line-height: 2.375rem; }
288
+ .lg\:display-sm-semibold { font-weight: 600; font-size: 1.875rem; line-height: 2.375rem; }
289
+
290
+ .lg\:display-xs-regular { font-weight: 400; font-size: 1.5rem; line-height: 2rem; }
291
+ .lg\:display-xs-medium { font-weight: 500; font-size: 1.5rem; line-height: 2rem; }
292
+ .lg\:display-xs-semibold { font-weight: 600; font-size: 1.5rem; line-height: 2rem; }
293
+
294
+ /* Text */
295
+ .lg\:text-xl-regular { font-weight: 400; font-size: 1.25rem; line-height: 1.875rem; }
296
+ .lg\:text-xl-medium { font-weight: 500; font-size: 1.25rem; line-height: 1.875rem; }
297
+ .lg\:text-xl-semibold { font-weight: 600; font-size: 1.25rem; line-height: 1.875rem; }
298
+
299
+ .lg\:text-lg-regular { font-weight: 400; font-size: 1.125rem; line-height: 1.75rem; }
300
+ .lg\:text-lg-medium { font-weight: 500; font-size: 1.125rem; line-height: 1.75rem; }
301
+ .lg\:text-lg-semibold { font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; }
302
+
303
+ .lg\:text-md-regular { font-weight: 400; font-size: 1rem; line-height: 1.5rem; }
304
+ .lg\:text-md-medium { font-weight: 500; font-size: 1rem; line-height: 1.5rem; }
305
+ .lg\:text-md-semibold { font-weight: 600; font-size: 1rem; line-height: 1.5rem; }
306
+
307
+ .lg\:text-sm-regular { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; }
308
+ .lg\:text-sm-medium { font-weight: 500; font-size: 0.875rem; line-height: 1.25rem; }
309
+ .lg\:text-sm-semibold { font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; }
310
+
311
+ .lg\:text-xs-regular { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; }
312
+ .lg\:text-xs-medium { font-weight: 500; font-size: 0.75rem; line-height: 1.125rem; }
313
+ .lg\:text-xs-semibold { font-weight: 600; font-size: 0.75rem; line-height: 1.125rem; }
314
+
315
+ /* Strikethrough */
316
+ .lg\:text-xl-medium-strike { font-weight: 500; font-size: 1.25rem; line-height: 1.875rem; text-decoration: line-through; }
317
+ .lg\:text-md-regular-strike { font-weight: 400; font-size: 1rem; line-height: 1.5rem; text-decoration: line-through; }
318
+ .lg\:text-sm-regular-strike { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; text-decoration: line-through; }
319
+
320
+ /* Underline — Display */
321
+ .lg\:display-xxl-underline { font-weight: 400; font-size: 4.5rem; line-height: 5.625rem; text-decoration: underline; }
322
+ .lg\:display-xl-underline { font-weight: 400; font-size: 3.75rem; line-height: 4.5rem; text-decoration: underline; }
323
+ .lg\:display-lg-underline { font-weight: 400; font-size: 3rem; line-height: 3.75rem; text-decoration: underline; }
324
+ .lg\:display-md-underline { font-weight: 400; font-size: 2.25rem; line-height: 2.75rem; text-decoration: underline; }
325
+ .lg\:display-sm-underline { font-weight: 400; font-size: 1.875rem; line-height: 2.375rem; text-decoration: underline; }
326
+ .lg\:display-xs-underline { font-weight: 400; font-size: 1.5rem; line-height: 2rem; text-decoration: underline; }
327
+
328
+ /* Underline — Text */
329
+ .lg\:text-xl-underline { font-weight: 400; font-size: 1.25rem; line-height: 1.875rem; text-decoration: underline; }
330
+ .lg\:text-lg-underline { font-weight: 400; font-size: 1.125rem; line-height: 1.75rem; text-decoration: underline; }
331
+ .lg\:text-md-underline { font-weight: 400; font-size: 1rem; line-height: 1.5rem; text-decoration: underline; }
332
+ .lg\:text-sm-underline { font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; text-decoration: underline; }
333
+ .lg\:text-xs-underline { font-weight: 400; font-size: 0.75rem; line-height: 1.125rem; text-decoration: underline; }
334
+ }
335
+
336
+ /* --- Icons --- */
337
+
338
+ svg.kombos-icon {
339
+ fill: none;
340
+ font-size: inherit;
341
+ height: 1em;
342
+ }
343
+
344
+ svg.kombos-icon path {
345
+ color: currentColor;
346
+ }
347
+
348
+ /* ===== Container — Max-Width Wrapper ===== */
349
+
350
+ .kombos-container {
351
+ max-width: var(--kombos-max-width);
352
+ margin-left: auto;
353
+ margin-right: auto;
354
+ width: 100%;
355
+ padding-left: 1rem;
356
+ padding-right: 1rem;
357
+ }
358
+
359
+ @media (min-width: 768px) {
360
+ .kombos-container {
361
+ padding-left: 1.5rem;
362
+ padding-right: 1.5rem;
363
+ }
364
+ }
365
+
366
+ @media (min-width: 1024px) {
367
+ .kombos-container {
368
+ padding-left: 1.5rem;
369
+ padding-right: 1.5rem;
370
+ }
371
+ }
372
+
373
+
374
+ /* ===== Base Reset ===== */
375
+
376
+ * {
377
+ word-break: break-word;
378
+ }
379
+
380
+ /* ===== Richtext ===== */
381
+
382
+ img,
383
+ video {
384
+ max-width: 100%;
385
+ height: auto;
386
+ }
387
+
388
+ .kombos-richtext {
389
+ color: var(--kombos-gray-900);
390
+ font-size: 14px;
391
+ overflow: hidden;
392
+ position: relative;
393
+ width: 100%;
394
+ }
395
+
396
+ .kombos-richtext th {
397
+ font-weight: bolder;
398
+ text-align: left;
399
+ }
400
+
401
+ .kombos-richtext caption {
402
+ text-align: left;
403
+ }
404
+
405
+ .kombos-richtext h1 {
406
+ font-size: 2em;
407
+ margin: 0;
408
+ }
409
+
410
+ .kombos-richtext h2 {
411
+ font-size: 1.5em;
412
+ margin: 0;
413
+ }
414
+
415
+ .kombos-richtext h3 {
416
+ font-size: 1.17em;
417
+ margin: 0;
418
+ }
419
+
420
+ .kombos-richtext h4,
421
+ .kombos-richtext p,
422
+ .kombos-richtext blockquote,
423
+ .kombos-richtext ul,
424
+ .kombos-richtext fieldset,
425
+ .kombos-richtext form,
426
+ .kombos-richtext ol,
427
+ .kombos-richtext dl,
428
+ .kombos-richtext dir,
429
+ .kombos-richtext menu {
430
+ margin: 0;
431
+ }
432
+
433
+ .kombos-richtext h5 {
434
+ font-size: 0.83em;
435
+ margin: 0;
436
+ }
437
+
438
+ .kombos-richtext h6 {
439
+ font-size: 0.75em;
440
+ margin: 0;
441
+ }
442
+
443
+ .kombos-richtext h1,
444
+ .kombos-richtext h2,
445
+ .kombos-richtext h3,
446
+ .kombos-richtext h4,
447
+ .kombos-richtext h5,
448
+ .kombos-richtext h6,
449
+ .kombos-richtext b,
450
+ .kombos-richtext strong {
451
+ font-weight: bolder;
452
+ }
453
+
454
+ .kombos-richtext blockquote {
455
+ margin-top: 0.625rem !important;
456
+ margin-bottom: 0.625rem !important;
457
+ }
458
+
459
+ .kombos-richtext i,
460
+ .kombos-richtext cite,
461
+ .kombos-richtext em,
462
+ .kombos-richtext var,
463
+ .kombos-richtext address {
464
+ font-style: italic;
465
+ }
466
+
467
+ .kombos-richtext pre,
468
+ .kombos-richtext tt,
469
+ .kombos-richtext code,
470
+ .kombos-richtext kbd,
471
+ .kombos-richtext samp {
472
+ font-family: monospace;
473
+ }
474
+
475
+ .kombos-richtext pre {
476
+ white-space: pre;
477
+ }
478
+
479
+ .kombos-richtext big {
480
+ font-size: 1.17em;
481
+ }
482
+
483
+ .kombos-richtext small,
484
+ .kombos-richtext sub,
485
+ .kombos-richtext sup {
486
+ font-size: 0.83em;
487
+ }
488
+
489
+ .kombos-richtext sub {
490
+ vertical-align: sub;
491
+ }
492
+
493
+ .kombos-richtext sup {
494
+ vertical-align: super;
495
+ }
496
+
497
+ .kombos-richtext table {
498
+ border-spacing: 2px;
499
+ border-collapse: collapse;
500
+ }
501
+
502
+ .kombos-richtext thead,
503
+ .kombos-richtext tbody,
504
+ .kombos-richtext tfoot {
505
+ vertical-align: middle;
506
+ }
507
+
508
+ .kombos-richtext td,
509
+ .kombos-richtext th,
510
+ .kombos-richtext tr {
511
+ vertical-align: inherit;
512
+ }
513
+
514
+ .kombos-richtext s,
515
+ .kombos-richtext strike,
516
+ .kombos-richtext del {
517
+ text-decoration: line-through;
518
+ }
519
+
520
+ .kombos-richtext hr {
521
+ border: 1px inset;
522
+ }
523
+
524
+ .kombos-richtext ol,
525
+ .kombos-richtext ul,
526
+ .kombos-richtext dir,
527
+ .kombos-richtext menu,
528
+ .kombos-richtext dd {
529
+ margin-left: 2.5rem;
530
+ }
531
+
532
+ .kombos-richtext ol {
533
+ list-style-type: decimal;
534
+ }
535
+
536
+ .kombos-richtext ul {
537
+ list-style-type: disc;
538
+ }
539
+
540
+ .kombos-richtext ol ul,
541
+ .kombos-richtext ul ol,
542
+ .kombos-richtext ul ul,
543
+ .kombos-richtext ol ol {
544
+ margin-top: 0;
545
+ margin-bottom: 0;
546
+ }
547
+
548
+ .kombos-richtext {
549
+ line-height: 1.2;
550
+ }
551
+
552
+ /* HTML5 */
553
+
554
+ .kombos-richtext figure {
555
+ margin: 1em 40px;
556
+ }
557
+
558
+ .centered-images img {
559
+ margin: 0 auto;
560
+ }
561
+
562
+ /* ===== Reduced Motion ===== */
563
+
564
+ @media (prefers-reduced-motion: reduce) {
565
+ *, *::before, *::after {
566
+ animation-duration: 0.01ms !important;
567
+ animation-iteration-count: 1 !important;
568
+ transition-duration: 0.01ms !important;
569
+ scroll-behavior: auto !important;
570
+ }
571
+ }
572
+
573
+ /* ===== Shimmer Animation ===== */
574
+
575
+ @keyframes kombos-shimmer {
576
+ 0% {
577
+ background-position: -200% 0;
578
+ }
579
+ 100% {
580
+ background-position: 200% 0;
581
+ }
582
+ }
@@ -0,0 +1,75 @@
1
+ import { useState, useEffect, useMemo } from "preact/hooks";
2
+ import {
3
+ getSelectedProductVariant,
4
+ getBundleProductsOfVariant,
5
+ initBundleProducts,
6
+ hasBundleSettings,
7
+ IkasBundleProduct,
8
+ IkasProduct,
9
+ cartStore,
10
+ waitForCartStoreInit,
11
+ } from "@ikas/bp-storefront";
12
+ import { runInAction } from "mobx";
13
+ import { adjustBundleProductQuantity } from "../utils/bundle";
14
+
15
+ function adjustBundleQuantities(products: IkasBundleProduct[]) {
16
+ runInAction(() => {
17
+ for (const bp of products) {
18
+ adjustBundleProductQuantity(bp);
19
+ }
20
+ });
21
+ }
22
+
23
+ export function useBundleProducts(product: IkasProduct | null | undefined) {
24
+ const [isLoading, setIsLoading] = useState(true);
25
+
26
+ const editLineID =
27
+ typeof window !== "undefined"
28
+ ? new URLSearchParams(window.location.search).get("editLineID")
29
+ : null;
30
+
31
+ const selectedVariant = product ? getSelectedProductVariant(product) : null;
32
+
33
+ const hasBundle = selectedVariant
34
+ ? hasBundleSettings(selectedVariant)
35
+ : false;
36
+
37
+ const bundleSettings = hasBundle ? selectedVariant!.bundleSettings : null;
38
+
39
+ useEffect(() => {
40
+ if (!product || !selectedVariant || !bundleSettings) return;
41
+
42
+ let cancelled = false;
43
+
44
+ async function load() {
45
+ setIsLoading(true);
46
+
47
+ try {
48
+ if (editLineID) await waitForCartStoreInit(cartStore);
49
+
50
+ await getBundleProductsOfVariant(product!, selectedVariant!);
51
+ await initBundleProducts(product!);
52
+
53
+ if (!cancelled && bundleSettings) {
54
+ adjustBundleQuantities(bundleSettings.products);
55
+ }
56
+ } finally {
57
+ if (!cancelled) setIsLoading(false);
58
+ }
59
+ }
60
+
61
+ load();
62
+
63
+ return () => {
64
+ cancelled = true;
65
+ };
66
+ }, [selectedVariant, editLineID]);
67
+
68
+ const sortedProducts = useMemo(() => {
69
+ if (!bundleSettings) return [];
70
+
71
+ return [...bundleSettings.products].sort((a, b) => a.order - b.order);
72
+ }, [bundleSettings?.products]);
73
+
74
+ return { isLoading, selectedVariant, bundleSettings, sortedProducts };
75
+ }
@@ -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
+ }