@ikas/component-cli 0.102.0 → 0.103.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 +5 -385
  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 +43 -118
  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 +5 -135
  9. package/dist/commands/dev.js.map +1 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +0 -2
  12. package/dist/index.js.map +1 -1
  13. package/dist/utils/component-helpers.d.ts +0 -5
  14. package/dist/utils/component-helpers.d.ts.map +1 -1
  15. package/dist/utils/component-helpers.js +1 -14
  16. package/dist/utils/component-helpers.js.map +1 -1
  17. package/dist/utils/template.d.ts +0 -12
  18. package/dist/utils/template.d.ts.map +1 -1
  19. package/dist/utils/template.js +0 -44
  20. package/dist/utils/template.js.map +1 -1
  21. package/dist/utils/websocket-server.d.ts +0 -26
  22. package/dist/utils/websocket-server.d.ts.map +1 -1
  23. package/dist/utils/websocket-server.js +0 -42
  24. package/dist/utils/websocket-server.js.map +1 -1
  25. package/package.json +2 -3
  26. package/templates/create/claude-md +1 -2
  27. package/templates/create/cursorrules +1 -1
  28. package/templates/create/package.json +0 -1
  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 +0 -78
  32. package/templates/create-full/claude-md +0 -721
  33. package/templates/create-full/cursorrules +0 -103
  34. package/templates/create-full/gitignore +0 -4
  35. package/templates/create-full/ikas.config.json +0 -5007
  36. package/templates/create-full/mcp.json +0 -10
  37. package/templates/create-full/package.json +0 -22
  38. package/templates/create-full/src/components/AccountAddresses/components/AddressCard/index.tsx +0 -55
  39. package/templates/create-full/src/components/AccountAddresses/components/AddressCard/styles.css +0 -46
  40. package/templates/create-full/src/components/AccountAddresses/components/AddressModal/index.tsx +0 -301
  41. package/templates/create-full/src/components/AccountAddresses/components/AddressModal/styles.css +0 -22
  42. package/templates/create-full/src/components/AccountAddresses/index.tsx +0 -127
  43. package/templates/create-full/src/components/AccountAddresses/styles.css +0 -41
  44. package/templates/create-full/src/components/AccountAddresses/types.ts +0 -15
  45. package/templates/create-full/src/components/AccountFavorites/index.tsx +0 -82
  46. package/templates/create-full/src/components/AccountFavorites/styles.css +0 -52
  47. package/templates/create-full/src/components/AccountFavorites/types.ts +0 -7
  48. package/templates/create-full/src/components/AccountInfo/components/AccountSidebar/index.tsx +0 -171
  49. package/templates/create-full/src/components/AccountInfo/components/AccountSidebar/styles.css +0 -144
  50. package/templates/create-full/src/components/AccountInfo/index.tsx +0 -91
  51. package/templates/create-full/src/components/AccountInfo/styles.css +0 -35
  52. package/templates/create-full/src/components/AccountInfo/types.ts +0 -9
  53. package/templates/create-full/src/components/AccountInfoContent/index.tsx +0 -134
  54. package/templates/create-full/src/components/AccountInfoContent/styles.css +0 -57
  55. package/templates/create-full/src/components/AccountInfoContent/types.ts +0 -8
  56. package/templates/create-full/src/components/AccountOrderDetail/components/OrderHeader/index.tsx +0 -78
  57. package/templates/create-full/src/components/AccountOrderDetail/components/OrderHeader/styles.css +0 -46
  58. package/templates/create-full/src/components/AccountOrderDetail/components/OrderItemRow/index.tsx +0 -20
  59. package/templates/create-full/src/components/AccountOrderDetail/components/OrderItemRow/styles.css +0 -16
  60. package/templates/create-full/src/components/AccountOrderDetail/components/OrderLineItemDisplay/index.tsx +0 -112
  61. package/templates/create-full/src/components/AccountOrderDetail/components/OrderLineItemDisplay/styles.css +0 -86
  62. package/templates/create-full/src/components/AccountOrderDetail/components/OrderSidebar/index.tsx +0 -195
  63. package/templates/create-full/src/components/AccountOrderDetail/components/OrderSidebar/styles.css +0 -93
  64. package/templates/create-full/src/components/AccountOrderDetail/components/PackageGroup/index.tsx +0 -156
  65. package/templates/create-full/src/components/AccountOrderDetail/components/PackageGroup/styles.css +0 -100
  66. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnItemRow/index.tsx +0 -56
  67. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnItemRow/styles.css +0 -57
  68. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnView/index.tsx +0 -159
  69. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnView/styles.css +0 -29
  70. package/templates/create-full/src/components/AccountOrderDetail/index.tsx +0 -244
  71. package/templates/create-full/src/components/AccountOrderDetail/styles.css +0 -125
  72. package/templates/create-full/src/components/AccountOrderDetail/types.ts +0 -32
  73. package/templates/create-full/src/components/AccountOrders/components/OrderCard/index.tsx +0 -122
  74. package/templates/create-full/src/components/AccountOrders/components/OrderCard/styles.css +0 -114
  75. package/templates/create-full/src/components/AccountOrders/index.tsx +0 -105
  76. package/templates/create-full/src/components/AccountOrders/styles.css +0 -36
  77. package/templates/create-full/src/components/AccountOrders/types.ts +0 -11
  78. package/templates/create-full/src/components/Announcement/index.tsx +0 -11
  79. package/templates/create-full/src/components/Announcement/styles.css +0 -4
  80. package/templates/create-full/src/components/Announcement/types.ts +0 -4
  81. package/templates/create-full/src/components/Announcements/index.tsx +0 -91
  82. package/templates/create-full/src/components/Announcements/styles.css +0 -45
  83. package/templates/create-full/src/components/Announcements/types.ts +0 -8
  84. package/templates/create-full/src/components/BlogHome/components/BlogCard/index.tsx +0 -89
  85. package/templates/create-full/src/components/BlogHome/components/BlogCard/styles.css +0 -121
  86. package/templates/create-full/src/components/BlogHome/index.tsx +0 -124
  87. package/templates/create-full/src/components/BlogHome/styles.css +0 -118
  88. package/templates/create-full/src/components/BlogHome/types.ts +0 -15
  89. package/templates/create-full/src/components/BlogPost/index.tsx +0 -128
  90. package/templates/create-full/src/components/BlogPost/styles.css +0 -120
  91. package/templates/create-full/src/components/BlogPost/types.ts +0 -12
  92. package/templates/create-full/src/components/CardProductName/index.tsx +0 -25
  93. package/templates/create-full/src/components/CardProductName/styles.css +0 -22
  94. package/templates/create-full/src/components/CardProductName/types.ts +0 -7
  95. package/templates/create-full/src/components/CardProductPrice/index.tsx +0 -30
  96. package/templates/create-full/src/components/CardProductPrice/styles.css +0 -13
  97. package/templates/create-full/src/components/CardProductPrice/types.ts +0 -6
  98. package/templates/create-full/src/components/CardProductVariants/index.tsx +0 -10
  99. package/templates/create-full/src/components/CardProductVariants/styles.css +0 -1
  100. package/templates/create-full/src/components/CardProductVariants/types.ts +0 -6
  101. package/templates/create-full/src/components/CartPage/components/CouponCode/index.tsx +0 -108
  102. package/templates/create-full/src/components/CartPage/components/CouponCode/styles.css +0 -68
  103. package/templates/create-full/src/components/CartPage/components/EmptyState/index.tsx +0 -31
  104. package/templates/create-full/src/components/CartPage/components/EmptyState/styles.css +0 -18
  105. package/templates/create-full/src/components/CartPage/components/OrderSummary/index.tsx +0 -106
  106. package/templates/create-full/src/components/CartPage/components/OrderSummary/styles.css +0 -70
  107. package/templates/create-full/src/components/CartPage/index.tsx +0 -107
  108. package/templates/create-full/src/components/CartPage/styles.css +0 -54
  109. package/templates/create-full/src/components/CartPage/types.ts +0 -16
  110. package/templates/create-full/src/components/CategoryImageItem/components/Card/index.tsx +0 -64
  111. package/templates/create-full/src/components/CategoryImageItem/components/Card/styles.css +0 -56
  112. package/templates/create-full/src/components/CategoryImageItem/index.tsx +0 -64
  113. package/templates/create-full/src/components/CategoryImageItem/styles.css +0 -10
  114. package/templates/create-full/src/components/CategoryImageItem/types.ts +0 -16
  115. package/templates/create-full/src/components/CategoryImages/index.tsx +0 -62
  116. package/templates/create-full/src/components/CategoryImages/styles.css +0 -38
  117. package/templates/create-full/src/components/CategoryImages/types.ts +0 -11
  118. package/templates/create-full/src/components/CategoryList/components/CategoryListControls/index.tsx +0 -129
  119. package/templates/create-full/src/components/CategoryList/components/CategoryListControls/styles.css +0 -99
  120. package/templates/create-full/src/components/CategoryList/components/FilterBoxValues/index.tsx +0 -42
  121. package/templates/create-full/src/components/CategoryList/components/FilterBoxValues/styles.css +0 -27
  122. package/templates/create-full/src/components/CategoryList/components/FilterCategoryList/index.tsx +0 -43
  123. package/templates/create-full/src/components/CategoryList/components/FilterCategoryList/styles.css +0 -20
  124. package/templates/create-full/src/components/CategoryList/components/FilterGroupValues/index.tsx +0 -114
  125. package/templates/create-full/src/components/CategoryList/components/FilterGroupValues/styles.css +0 -1
  126. package/templates/create-full/src/components/CategoryList/components/FilterListValues/index.tsx +0 -54
  127. package/templates/create-full/src/components/CategoryList/components/FilterListValues/styles.css +0 -22
  128. package/templates/create-full/src/components/CategoryList/components/FilterRangeListValues/index.tsx +0 -50
  129. package/templates/create-full/src/components/CategoryList/components/FilterRangeListValues/styles.css +0 -25
  130. package/templates/create-full/src/components/CategoryList/components/FilterRangeValues/index.tsx +0 -189
  131. package/templates/create-full/src/components/CategoryList/components/FilterRangeValues/styles.css +0 -89
  132. package/templates/create-full/src/components/CategoryList/components/FilterSidebar/index.tsx +0 -92
  133. package/templates/create-full/src/components/CategoryList/components/FilterSidebar/styles.css +0 -27
  134. package/templates/create-full/src/components/CategoryList/components/FilterSwatchValues/index.tsx +0 -63
  135. package/templates/create-full/src/components/CategoryList/components/FilterSwatchValues/styles.css +0 -48
  136. package/templates/create-full/src/components/CategoryList/components/MobileFilterModal/index.tsx +0 -146
  137. package/templates/create-full/src/components/CategoryList/components/MobileFilterModal/styles.css +0 -133
  138. package/templates/create-full/src/components/CategoryList/index.tsx +0 -333
  139. package/templates/create-full/src/components/CategoryList/styles.css +0 -110
  140. package/templates/create-full/src/components/CategoryList/types.ts +0 -30
  141. package/templates/create-full/src/components/CollapsibleContent/index.tsx +0 -23
  142. package/templates/create-full/src/components/CollapsibleContent/styles.css +0 -11
  143. package/templates/create-full/src/components/CollapsibleContent/types.ts +0 -6
  144. package/templates/create-full/src/components/CookieBar/index.tsx +0 -78
  145. package/templates/create-full/src/components/CookieBar/styles.css +0 -111
  146. package/templates/create-full/src/components/CookieBar/types.ts +0 -10
  147. package/templates/create-full/src/components/CustomerEmailVerification/index.tsx +0 -168
  148. package/templates/create-full/src/components/CustomerEmailVerification/styles.css +0 -118
  149. package/templates/create-full/src/components/CustomerEmailVerification/types.ts +0 -17
  150. package/templates/create-full/src/components/FeatureItem/index.tsx +0 -27
  151. package/templates/create-full/src/components/FeatureItem/styles.css +0 -19
  152. package/templates/create-full/src/components/FeatureItem/types.ts +0 -7
  153. package/templates/create-full/src/components/Features/index.tsx +0 -25
  154. package/templates/create-full/src/components/Features/styles.css +0 -39
  155. package/templates/create-full/src/components/Features/types.ts +0 -5
  156. package/templates/create-full/src/components/Footer/index.tsx +0 -154
  157. package/templates/create-full/src/components/Footer/styles.css +0 -175
  158. package/templates/create-full/src/components/Footer/types.ts +0 -15
  159. package/templates/create-full/src/components/ForgotPassword/components/ForgotPasswordForm/index.tsx +0 -129
  160. package/templates/create-full/src/components/ForgotPassword/components/ForgotPasswordForm/styles.css +0 -0
  161. package/templates/create-full/src/components/ForgotPassword/index.tsx +0 -30
  162. package/templates/create-full/src/components/ForgotPassword/styles.css +0 -85
  163. package/templates/create-full/src/components/ForgotPassword/types.ts +0 -13
  164. package/templates/create-full/src/components/Header/index.tsx +0 -53
  165. package/templates/create-full/src/components/Header/styles.css +0 -6
  166. package/templates/create-full/src/components/Header/types.ts +0 -6
  167. package/templates/create-full/src/components/HeroSlider/index.tsx +0 -110
  168. package/templates/create-full/src/components/HeroSlider/styles.css +0 -129
  169. package/templates/create-full/src/components/HeroSlider/types.ts +0 -9
  170. package/templates/create-full/src/components/HeroSliderItem/index.tsx +0 -231
  171. package/templates/create-full/src/components/HeroSliderItem/styles.css +0 -152
  172. package/templates/create-full/src/components/HeroSliderItem/types.ts +0 -34
  173. package/templates/create-full/src/components/Login/components/LoginForm/index.tsx +0 -181
  174. package/templates/create-full/src/components/Login/components/LoginForm/styles.css +0 -0
  175. package/templates/create-full/src/components/Login/index.tsx +0 -37
  176. package/templates/create-full/src/components/Login/styles.css +0 -129
  177. package/templates/create-full/src/components/Login/types.ts +0 -18
  178. package/templates/create-full/src/components/Navbar/components/CartSidebar/index.tsx +0 -203
  179. package/templates/create-full/src/components/Navbar/components/CartSidebar/styles.css +0 -175
  180. package/templates/create-full/src/components/Navbar/components/MobileMenu/index.tsx +0 -198
  181. package/templates/create-full/src/components/Navbar/components/MobileMenu/styles.css +0 -122
  182. package/templates/create-full/src/components/Navbar/components/NavItem/index.tsx +0 -65
  183. package/templates/create-full/src/components/Navbar/components/SearchModal/index.tsx +0 -267
  184. package/templates/create-full/src/components/Navbar/components/SearchModal/styles.css +0 -182
  185. package/templates/create-full/src/components/Navbar/index.tsx +0 -250
  186. package/templates/create-full/src/components/Navbar/styles.css +0 -243
  187. package/templates/create-full/src/components/Navbar/types.ts +0 -37
  188. package/templates/create-full/src/components/NotFound/index.tsx +0 -39
  189. package/templates/create-full/src/components/NotFound/styles.css +0 -46
  190. package/templates/create-full/src/components/NotFound/types.ts +0 -8
  191. package/templates/create-full/src/components/ProductDetail/components/ProductGallery/index.tsx +0 -316
  192. package/templates/create-full/src/components/ProductDetail/components/ProductGallery/styles.css +0 -213
  193. package/templates/create-full/src/components/ProductDetail/index.tsx +0 -92
  194. package/templates/create-full/src/components/ProductDetail/styles.css +0 -58
  195. package/templates/create-full/src/components/ProductDetail/types.ts +0 -12
  196. package/templates/create-full/src/components/ProductDetailAddToCart/components/PayWithIkas/index.tsx +0 -34
  197. package/templates/create-full/src/components/ProductDetailAddToCart/components/PayWithIkas/styles.css +0 -4
  198. package/templates/create-full/src/components/ProductDetailAddToCart/index.tsx +0 -146
  199. package/templates/create-full/src/components/ProductDetailAddToCart/styles.css +0 -27
  200. package/templates/create-full/src/components/ProductDetailAddToCart/types.ts +0 -18
  201. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureRow/index.tsx +0 -164
  202. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureSection/index.tsx +0 -134
  203. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureSection/styles.css +0 -188
  204. package/templates/create-full/src/components/ProductDetailBundleFurniture/index.tsx +0 -61
  205. package/templates/create-full/src/components/ProductDetailBundleFurniture/styles.css +0 -12
  206. package/templates/create-full/src/components/ProductDetailBundleFurniture/types.ts +0 -21
  207. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleProductItem/index.tsx +0 -169
  208. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleProductItem/styles.css +0 -141
  209. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleSkeletonLoading/index.tsx +0 -35
  210. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleSkeletonLoading/styles.css +0 -85
  211. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureRow/index.tsx +0 -51
  212. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureRow/styles.css +0 -30
  213. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureView/index.tsx +0 -54
  214. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureView/styles.css +0 -22
  215. package/templates/create-full/src/components/ProductDetailBundleProduct/index.tsx +0 -101
  216. package/templates/create-full/src/components/ProductDetailBundleProduct/styles.css +0 -20
  217. package/templates/create-full/src/components/ProductDetailBundleProduct/types.ts +0 -18
  218. package/templates/create-full/src/components/ProductDetailDescription/index.tsx +0 -56
  219. package/templates/create-full/src/components/ProductDetailDescription/styles.css +0 -21
  220. package/templates/create-full/src/components/ProductDetailDescription/types.ts +0 -13
  221. package/templates/create-full/src/components/ProductDetailFeatureItem/index.tsx +0 -28
  222. package/templates/create-full/src/components/ProductDetailFeatureItem/styles.css +0 -22
  223. package/templates/create-full/src/components/ProductDetailFeatureItem/types.ts +0 -7
  224. package/templates/create-full/src/components/ProductDetailFeatures/index.tsx +0 -40
  225. package/templates/create-full/src/components/ProductDetailFeatures/styles.css +0 -17
  226. package/templates/create-full/src/components/ProductDetailFeatures/types.ts +0 -10
  227. package/templates/create-full/src/components/ProductDetailNameFavorite/index.tsx +0 -66
  228. package/templates/create-full/src/components/ProductDetailNameFavorite/styles.css +0 -45
  229. package/templates/create-full/src/components/ProductDetailNameFavorite/types.ts +0 -11
  230. package/templates/create-full/src/components/ProductDetailOffer/components/OfferCard/index.tsx +0 -209
  231. package/templates/create-full/src/components/ProductDetailOffer/components/OfferCard/styles.css +0 -146
  232. package/templates/create-full/src/components/ProductDetailOffer/components/OfferSummary/index.tsx +0 -175
  233. package/templates/create-full/src/components/ProductDetailOffer/index.tsx +0 -199
  234. package/templates/create-full/src/components/ProductDetailOffer/styles.css +0 -211
  235. package/templates/create-full/src/components/ProductDetailOffer/types.ts +0 -24
  236. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionCheckbox/index.tsx +0 -52
  237. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionCheckbox/styles.css +0 -19
  238. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceBox/index.tsx +0 -60
  239. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceBox/styles.css +0 -38
  240. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSelect/index.tsx +0 -102
  241. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSelect/styles.css +0 -34
  242. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSwatch/index.tsx +0 -121
  243. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSwatch/styles.css +0 -87
  244. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/index.tsx +0 -57
  245. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionColorPicker/index.tsx +0 -54
  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 +0 -124
  248. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionDatePicker/styles.css +0 -1
  249. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionFile/index.tsx +0 -217
  250. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionFile/styles.css +0 -87
  251. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionRenderer/index.tsx +0 -133
  252. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionText/index.tsx +0 -60
  253. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionText/styles.css +0 -1
  254. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionTextarea/index.tsx +0 -74
  255. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionTextarea/styles.css +0 -10
  256. package/templates/create-full/src/components/ProductDetailOptionSet/index.tsx +0 -99
  257. package/templates/create-full/src/components/ProductDetailOptionSet/styles.css +0 -30
  258. package/templates/create-full/src/components/ProductDetailOptionSet/types.ts +0 -21
  259. package/templates/create-full/src/components/ProductDetailPrices/index.tsx +0 -62
  260. package/templates/create-full/src/components/ProductDetailPrices/styles.css +0 -32
  261. package/templates/create-full/src/components/ProductDetailPrices/types.ts +0 -10
  262. package/templates/create-full/src/components/ProductDetailProductGroup/index.tsx +0 -74
  263. package/templates/create-full/src/components/ProductDetailProductGroup/styles.css +0 -33
  264. package/templates/create-full/src/components/ProductDetailProductGroup/types.ts +0 -10
  265. package/templates/create-full/src/components/ProductDetailReviews/index.tsx +0 -205
  266. package/templates/create-full/src/components/ProductDetailReviews/styles.css +0 -43
  267. package/templates/create-full/src/components/ProductDetailReviews/types.ts +0 -19
  268. package/templates/create-full/src/components/ProductDetailSku/index.tsx +0 -38
  269. package/templates/create-full/src/components/ProductDetailSku/styles.css +0 -16
  270. package/templates/create-full/src/components/ProductDetailSku/types.ts +0 -11
  271. package/templates/create-full/src/components/ProductDetailVariant/index.tsx +0 -38
  272. package/templates/create-full/src/components/ProductDetailVariant/styles.css +0 -14
  273. package/templates/create-full/src/components/ProductDetailVariant/types.ts +0 -12
  274. package/templates/create-full/src/components/ProductSlider/index.tsx +0 -151
  275. package/templates/create-full/src/components/ProductSlider/styles.css +0 -105
  276. package/templates/create-full/src/components/ProductSlider/types.ts +0 -17
  277. package/templates/create-full/src/components/RecoverPassword/components/RecoverPasswordForm/index.tsx +0 -133
  278. package/templates/create-full/src/components/RecoverPassword/components/RecoverPasswordForm/styles.css +0 -0
  279. package/templates/create-full/src/components/RecoverPassword/index.tsx +0 -30
  280. package/templates/create-full/src/components/RecoverPassword/styles.css +0 -93
  281. package/templates/create-full/src/components/RecoverPassword/types.ts +0 -13
  282. package/templates/create-full/src/components/Register/components/RegisterForm/index.tsx +0 -326
  283. package/templates/create-full/src/components/Register/components/RegisterForm/styles.css +0 -0
  284. package/templates/create-full/src/components/Register/index.tsx +0 -30
  285. package/templates/create-full/src/components/Register/styles.css +0 -152
  286. package/templates/create-full/src/components/Register/types.ts +0 -27
  287. package/templates/create-full/src/components/RichText/index.tsx +0 -25
  288. package/templates/create-full/src/components/RichText/styles.css +0 -51
  289. package/templates/create-full/src/components/RichText/types.ts +0 -5
  290. package/templates/create-full/src/components/SocialMediaIcon/index.tsx +0 -26
  291. package/templates/create-full/src/components/SocialMediaIcon/styles.css +0 -17
  292. package/templates/create-full/src/components/SocialMediaIcon/types.ts +0 -7
  293. package/templates/create-full/src/components/index.ts +0 -50
  294. package/templates/create-full/src/global-types.ts +0 -13
  295. package/templates/create-full/src/global.css +0 -582
  296. package/templates/create-full/src/hooks/useBundleProducts.ts +0 -75
  297. package/templates/create-full/src/hooks/useColumnPreference.ts +0 -26
  298. package/templates/create-full/src/hooks/useInfiniteScroll.ts +0 -49
  299. package/templates/create-full/src/hooks/usePageTracking.ts +0 -56
  300. package/templates/create-full/src/hooks/usePayWithIkas.ts +0 -114
  301. package/templates/create-full/src/hooks/useRedirectIfLoggedIn.ts +0 -35
  302. package/templates/create-full/src/hooks/useScrollLock.ts +0 -20
  303. package/templates/create-full/src/hooks/useToast.ts +0 -27
  304. package/templates/create-full/src/ikas-component-utils.d.ts +0 -3
  305. package/templates/create-full/src/sub-components/Badge/index.tsx +0 -208
  306. package/templates/create-full/src/sub-components/Badge/styles.css +0 -129
  307. package/templates/create-full/src/sub-components/Breadcrumb/index.tsx +0 -57
  308. package/templates/create-full/src/sub-components/Breadcrumb/styles.css +0 -49
  309. package/templates/create-full/src/sub-components/BundleMedia/index.tsx +0 -72
  310. package/templates/create-full/src/sub-components/BundleQuantityBox/index.tsx +0 -73
  311. package/templates/create-full/src/sub-components/BundleQuantityBox/styles.css +0 -43
  312. package/templates/create-full/src/sub-components/Button/index.tsx +0 -52
  313. package/templates/create-full/src/sub-components/Button/styles.css +0 -114
  314. package/templates/create-full/src/sub-components/CartItem/components/BundleProductItem/index.tsx +0 -59
  315. package/templates/create-full/src/sub-components/CartItem/components/BundleProductItem/styles.css +0 -24
  316. package/templates/create-full/src/sub-components/CartItem/components/BundleProducts/index.tsx +0 -55
  317. package/templates/create-full/src/sub-components/CartItem/components/BundleProducts/styles.css +0 -30
  318. package/templates/create-full/src/sub-components/CartItem/components/ItemOptions/index.tsx +0 -31
  319. package/templates/create-full/src/sub-components/CartItem/components/ItemOptions/styles.css +0 -6
  320. package/templates/create-full/src/sub-components/CartItem/components/OptionValueDisplay/index.tsx +0 -79
  321. package/templates/create-full/src/sub-components/CartItem/components/OptionValueDisplay/styles.css +0 -28
  322. package/templates/create-full/src/sub-components/CartItem/index.tsx +0 -216
  323. package/templates/create-full/src/sub-components/CartItem/styles.css +0 -170
  324. package/templates/create-full/src/sub-components/Checkbox/index.tsx +0 -42
  325. package/templates/create-full/src/sub-components/Checkbox/styles.css +0 -65
  326. package/templates/create-full/src/sub-components/CollapsibleGroup/index.tsx +0 -52
  327. package/templates/create-full/src/sub-components/CollapsibleGroup/styles.css +0 -51
  328. package/templates/create-full/src/sub-components/ColorInput/index.tsx +0 -33
  329. package/templates/create-full/src/sub-components/ColorInput/styles.css +0 -53
  330. package/templates/create-full/src/sub-components/ConfirmModal/index.tsx +0 -60
  331. package/templates/create-full/src/sub-components/ConfirmModal/styles.css +0 -20
  332. package/templates/create-full/src/sub-components/FormItem/index.tsx +0 -66
  333. package/templates/create-full/src/sub-components/FormItem/styles.css +0 -38
  334. package/templates/create-full/src/sub-components/ImagePreviewModal/index.tsx +0 -55
  335. package/templates/create-full/src/sub-components/ImagePreviewModal/styles.css +0 -50
  336. package/templates/create-full/src/sub-components/Input/index.tsx +0 -69
  337. package/templates/create-full/src/sub-components/Input/styles.css +0 -162
  338. package/templates/create-full/src/sub-components/Modal/index.tsx +0 -118
  339. package/templates/create-full/src/sub-components/Modal/styles.css +0 -70
  340. package/templates/create-full/src/sub-components/PageLoader/index.tsx +0 -14
  341. package/templates/create-full/src/sub-components/PageLoader/styles.css +0 -12
  342. package/templates/create-full/src/sub-components/Pagination/index.tsx +0 -107
  343. package/templates/create-full/src/sub-components/Pagination/styles.css +0 -88
  344. package/templates/create-full/src/sub-components/ProductCard/index.tsx +0 -276
  345. package/templates/create-full/src/sub-components/ProductCard/styles.css +0 -99
  346. package/templates/create-full/src/sub-components/QuantitySelector/index.tsx +0 -41
  347. package/templates/create-full/src/sub-components/QuantitySelector/styles.css +0 -51
  348. package/templates/create-full/src/sub-components/ReviewCard/index.tsx +0 -103
  349. package/templates/create-full/src/sub-components/ReviewCard/styles.css +0 -95
  350. package/templates/create-full/src/sub-components/ReviewForm/index.tsx +0 -115
  351. package/templates/create-full/src/sub-components/ReviewForm/styles.css +0 -11
  352. package/templates/create-full/src/sub-components/ReviewSummary/index.tsx +0 -65
  353. package/templates/create-full/src/sub-components/ReviewSummary/styles.css +0 -86
  354. package/templates/create-full/src/sub-components/Select/index.tsx +0 -86
  355. package/templates/create-full/src/sub-components/Select/styles.css +0 -110
  356. package/templates/create-full/src/sub-components/SkeletonField/index.tsx +0 -12
  357. package/templates/create-full/src/sub-components/SkeletonField/styles.css +0 -29
  358. package/templates/create-full/src/sub-components/SliderArrow/index.tsx +0 -26
  359. package/templates/create-full/src/sub-components/SliderArrow/styles.css +0 -24
  360. package/templates/create-full/src/sub-components/SocialLoginButton/index.tsx +0 -24
  361. package/templates/create-full/src/sub-components/SocialLoginButton/styles.css +0 -19
  362. package/templates/create-full/src/sub-components/SpinnerIcon/index.tsx +0 -10
  363. package/templates/create-full/src/sub-components/SpinnerIcon/styles.css +0 -8
  364. package/templates/create-full/src/sub-components/StarRating/index.tsx +0 -76
  365. package/templates/create-full/src/sub-components/StarRating/styles.css +0 -40
  366. package/templates/create-full/src/sub-components/Tag/index.tsx +0 -21
  367. package/templates/create-full/src/sub-components/Tag/styles.css +0 -30
  368. package/templates/create-full/src/sub-components/Textarea/index.tsx +0 -45
  369. package/templates/create-full/src/sub-components/Textarea/styles.css +0 -82
  370. package/templates/create-full/src/sub-components/Toast/index.tsx +0 -257
  371. package/templates/create-full/src/sub-components/Toast/styles.css +0 -3
  372. package/templates/create-full/src/sub-components/Toggle/index.tsx +0 -46
  373. package/templates/create-full/src/sub-components/Toggle/styles.css +0 -86
  374. package/templates/create-full/src/sub-components/VariantBadge/index.tsx +0 -153
  375. package/templates/create-full/src/sub-components/VariantBadge/styles.css +0 -47
  376. package/templates/create-full/src/sub-components/icons/index.tsx +0 -981
  377. package/templates/create-full/src/utils/bundle.ts +0 -70
  378. package/templates/create-full/src/utils/cx.ts +0 -4
  379. package/templates/create-full/src/utils/fullName.ts +0 -6
  380. package/templates/create-full/src/utils/media.ts +0 -36
  381. package/templates/create-full/src/utils/optionPrice.ts +0 -19
  382. package/templates/create-full/src/utils/optionSet.ts +0 -17
  383. package/templates/create-full/src/utils/orderStatus.ts +0 -28
  384. package/templates/create-full/src/utils/pagination.ts +0 -29
  385. package/templates/create-full/src/utils/toast.ts +0 -5
  386. package/templates/create-full/tsconfig.json +0 -30
  387. package/templates/create-full/vite.config.ts +0 -15
@@ -1,582 +0,0 @@
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
- }
@@ -1,75 +0,0 @@
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
- }
@@ -1,26 +0,0 @@
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
- }