@ikas/component-cli 0.133.0 → 1.2.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 (388) hide show
  1. package/dist/commands/create.d.ts +8 -3
  2. package/dist/commands/create.d.ts.map +1 -1
  3. package/dist/commands/create.js +8 -227
  4. package/dist/commands/create.js.map +1 -1
  5. package/dist/commands/dev.d.ts.map +1 -1
  6. package/dist/commands/dev.js +120 -31
  7. package/dist/commands/dev.js.map +1 -1
  8. package/dist/commands/proxy.d.ts.map +1 -1
  9. package/dist/commands/proxy.js +5 -1
  10. package/dist/commands/proxy.js.map +1 -1
  11. package/package.json +4 -5
  12. package/bin/create-ikas-component.js +0 -8
  13. package/templates/create/README.md +0 -50
  14. package/templates/create/claude-md +0 -275
  15. package/templates/create/cursorrules +0 -123
  16. package/templates/create/gitignore +0 -6
  17. package/templates/create/ikas.config.json +0 -95
  18. package/templates/create/mcp.json +0 -10
  19. package/templates/create/package.json +0 -22
  20. package/templates/create/src/components/ExampleComponent/index.tsx +0 -22
  21. package/templates/create/src/components/ExampleComponent/styles.css +0 -36
  22. package/templates/create/src/components/ExampleComponent/types.ts +0 -7
  23. package/templates/create/src/components/ExampleSection/index.tsx +0 -14
  24. package/templates/create/src/components/ExampleSection/styles.css +0 -29
  25. package/templates/create/src/components/ExampleSection/types.ts +0 -6
  26. package/templates/create/src/components/index.ts +0 -2
  27. package/templates/create/src/global-types.ts +0 -5
  28. package/templates/create/src/global.css +0 -29
  29. package/templates/create/src/ikas-component-utils.d.ts +0 -3
  30. package/templates/create/tsconfig.json +0 -30
  31. package/templates/create/vite.config.ts +0 -15
  32. package/templates/create-full/README.md +0 -78
  33. package/templates/create-full/claude-md +0 -752
  34. package/templates/create-full/cursorrules +0 -117
  35. package/templates/create-full/gitignore +0 -4
  36. package/templates/create-full/ikas.config.json +0 -5009
  37. package/templates/create-full/mcp.json +0 -10
  38. package/templates/create-full/package.json +0 -23
  39. package/templates/create-full/src/components/AccountAddresses/components/AddressCard/index.tsx +0 -55
  40. package/templates/create-full/src/components/AccountAddresses/components/AddressCard/styles.css +0 -46
  41. package/templates/create-full/src/components/AccountAddresses/components/AddressModal/index.tsx +0 -298
  42. package/templates/create-full/src/components/AccountAddresses/components/AddressModal/styles.css +0 -23
  43. package/templates/create-full/src/components/AccountAddresses/index.tsx +0 -127
  44. package/templates/create-full/src/components/AccountAddresses/styles.css +0 -41
  45. package/templates/create-full/src/components/AccountAddresses/types.ts +0 -15
  46. package/templates/create-full/src/components/AccountFavorites/index.tsx +0 -82
  47. package/templates/create-full/src/components/AccountFavorites/styles.css +0 -52
  48. package/templates/create-full/src/components/AccountFavorites/types.ts +0 -7
  49. package/templates/create-full/src/components/AccountInfo/components/AccountSidebar/index.tsx +0 -171
  50. package/templates/create-full/src/components/AccountInfo/components/AccountSidebar/styles.css +0 -144
  51. package/templates/create-full/src/components/AccountInfo/index.tsx +0 -91
  52. package/templates/create-full/src/components/AccountInfo/styles.css +0 -35
  53. package/templates/create-full/src/components/AccountInfo/types.ts +0 -9
  54. package/templates/create-full/src/components/AccountInfoContent/index.tsx +0 -134
  55. package/templates/create-full/src/components/AccountInfoContent/styles.css +0 -57
  56. package/templates/create-full/src/components/AccountInfoContent/types.ts +0 -8
  57. package/templates/create-full/src/components/AccountOrderDetail/components/OrderHeader/index.tsx +0 -78
  58. package/templates/create-full/src/components/AccountOrderDetail/components/OrderHeader/styles.css +0 -46
  59. package/templates/create-full/src/components/AccountOrderDetail/components/OrderItemRow/index.tsx +0 -20
  60. package/templates/create-full/src/components/AccountOrderDetail/components/OrderItemRow/styles.css +0 -16
  61. package/templates/create-full/src/components/AccountOrderDetail/components/OrderLineItemDisplay/index.tsx +0 -112
  62. package/templates/create-full/src/components/AccountOrderDetail/components/OrderLineItemDisplay/styles.css +0 -86
  63. package/templates/create-full/src/components/AccountOrderDetail/components/OrderSidebar/index.tsx +0 -195
  64. package/templates/create-full/src/components/AccountOrderDetail/components/OrderSidebar/styles.css +0 -93
  65. package/templates/create-full/src/components/AccountOrderDetail/components/PackageGroup/index.tsx +0 -156
  66. package/templates/create-full/src/components/AccountOrderDetail/components/PackageGroup/styles.css +0 -100
  67. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnItemRow/index.tsx +0 -56
  68. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnItemRow/styles.css +0 -57
  69. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnView/index.tsx +0 -159
  70. package/templates/create-full/src/components/AccountOrderDetail/components/ReturnView/styles.css +0 -29
  71. package/templates/create-full/src/components/AccountOrderDetail/index.tsx +0 -244
  72. package/templates/create-full/src/components/AccountOrderDetail/styles.css +0 -125
  73. package/templates/create-full/src/components/AccountOrderDetail/types.ts +0 -32
  74. package/templates/create-full/src/components/AccountOrders/components/OrderCard/index.tsx +0 -122
  75. package/templates/create-full/src/components/AccountOrders/components/OrderCard/styles.css +0 -114
  76. package/templates/create-full/src/components/AccountOrders/index.tsx +0 -105
  77. package/templates/create-full/src/components/AccountOrders/styles.css +0 -36
  78. package/templates/create-full/src/components/AccountOrders/types.ts +0 -11
  79. package/templates/create-full/src/components/Announcement/index.tsx +0 -11
  80. package/templates/create-full/src/components/Announcement/styles.css +0 -4
  81. package/templates/create-full/src/components/Announcement/types.ts +0 -4
  82. package/templates/create-full/src/components/Announcements/index.tsx +0 -91
  83. package/templates/create-full/src/components/Announcements/styles.css +0 -46
  84. package/templates/create-full/src/components/Announcements/types.ts +0 -8
  85. package/templates/create-full/src/components/BlogHome/components/BlogCard/index.tsx +0 -89
  86. package/templates/create-full/src/components/BlogHome/components/BlogCard/styles.css +0 -121
  87. package/templates/create-full/src/components/BlogHome/index.tsx +0 -124
  88. package/templates/create-full/src/components/BlogHome/styles.css +0 -118
  89. package/templates/create-full/src/components/BlogHome/types.ts +0 -15
  90. package/templates/create-full/src/components/BlogPost/index.tsx +0 -128
  91. package/templates/create-full/src/components/BlogPost/styles.css +0 -120
  92. package/templates/create-full/src/components/BlogPost/types.ts +0 -12
  93. package/templates/create-full/src/components/CardProductName/index.tsx +0 -25
  94. package/templates/create-full/src/components/CardProductName/styles.css +0 -22
  95. package/templates/create-full/src/components/CardProductName/types.ts +0 -7
  96. package/templates/create-full/src/components/CardProductPrice/index.tsx +0 -30
  97. package/templates/create-full/src/components/CardProductPrice/styles.css +0 -13
  98. package/templates/create-full/src/components/CardProductPrice/types.ts +0 -6
  99. package/templates/create-full/src/components/CardProductVariants/index.tsx +0 -10
  100. package/templates/create-full/src/components/CardProductVariants/styles.css +0 -1
  101. package/templates/create-full/src/components/CardProductVariants/types.ts +0 -6
  102. package/templates/create-full/src/components/CartPage/components/CouponCode/index.tsx +0 -108
  103. package/templates/create-full/src/components/CartPage/components/CouponCode/styles.css +0 -68
  104. package/templates/create-full/src/components/CartPage/components/EmptyState/index.tsx +0 -31
  105. package/templates/create-full/src/components/CartPage/components/EmptyState/styles.css +0 -18
  106. package/templates/create-full/src/components/CartPage/components/OrderSummary/index.tsx +0 -106
  107. package/templates/create-full/src/components/CartPage/components/OrderSummary/styles.css +0 -70
  108. package/templates/create-full/src/components/CartPage/index.tsx +0 -107
  109. package/templates/create-full/src/components/CartPage/styles.css +0 -54
  110. package/templates/create-full/src/components/CartPage/types.ts +0 -16
  111. package/templates/create-full/src/components/CategoryImageItem/components/Card/index.tsx +0 -64
  112. package/templates/create-full/src/components/CategoryImageItem/components/Card/styles.css +0 -56
  113. package/templates/create-full/src/components/CategoryImageItem/index.tsx +0 -64
  114. package/templates/create-full/src/components/CategoryImageItem/styles.css +0 -10
  115. package/templates/create-full/src/components/CategoryImageItem/types.ts +0 -16
  116. package/templates/create-full/src/components/CategoryImages/index.tsx +0 -62
  117. package/templates/create-full/src/components/CategoryImages/styles.css +0 -38
  118. package/templates/create-full/src/components/CategoryImages/types.ts +0 -11
  119. package/templates/create-full/src/components/CategoryList/components/CategoryListControls/index.tsx +0 -129
  120. package/templates/create-full/src/components/CategoryList/components/CategoryListControls/styles.css +0 -99
  121. package/templates/create-full/src/components/CategoryList/components/FilterBoxValues/index.tsx +0 -42
  122. package/templates/create-full/src/components/CategoryList/components/FilterBoxValues/styles.css +0 -27
  123. package/templates/create-full/src/components/CategoryList/components/FilterCategoryList/index.tsx +0 -43
  124. package/templates/create-full/src/components/CategoryList/components/FilterCategoryList/styles.css +0 -20
  125. package/templates/create-full/src/components/CategoryList/components/FilterGroupValues/index.tsx +0 -114
  126. package/templates/create-full/src/components/CategoryList/components/FilterGroupValues/styles.css +0 -1
  127. package/templates/create-full/src/components/CategoryList/components/FilterListValues/index.tsx +0 -54
  128. package/templates/create-full/src/components/CategoryList/components/FilterListValues/styles.css +0 -22
  129. package/templates/create-full/src/components/CategoryList/components/FilterRangeListValues/index.tsx +0 -50
  130. package/templates/create-full/src/components/CategoryList/components/FilterRangeListValues/styles.css +0 -25
  131. package/templates/create-full/src/components/CategoryList/components/FilterRangeValues/index.tsx +0 -189
  132. package/templates/create-full/src/components/CategoryList/components/FilterRangeValues/styles.css +0 -89
  133. package/templates/create-full/src/components/CategoryList/components/FilterSidebar/index.tsx +0 -92
  134. package/templates/create-full/src/components/CategoryList/components/FilterSidebar/styles.css +0 -27
  135. package/templates/create-full/src/components/CategoryList/components/FilterSwatchValues/index.tsx +0 -63
  136. package/templates/create-full/src/components/CategoryList/components/FilterSwatchValues/styles.css +0 -48
  137. package/templates/create-full/src/components/CategoryList/components/MobileFilterModal/index.tsx +0 -146
  138. package/templates/create-full/src/components/CategoryList/components/MobileFilterModal/styles.css +0 -133
  139. package/templates/create-full/src/components/CategoryList/index.tsx +0 -333
  140. package/templates/create-full/src/components/CategoryList/styles.css +0 -110
  141. package/templates/create-full/src/components/CategoryList/types.ts +0 -30
  142. package/templates/create-full/src/components/CollapsibleContent/index.tsx +0 -23
  143. package/templates/create-full/src/components/CollapsibleContent/styles.css +0 -11
  144. package/templates/create-full/src/components/CollapsibleContent/types.ts +0 -6
  145. package/templates/create-full/src/components/CookieBar/index.tsx +0 -78
  146. package/templates/create-full/src/components/CookieBar/styles.css +0 -111
  147. package/templates/create-full/src/components/CookieBar/types.ts +0 -10
  148. package/templates/create-full/src/components/CustomerEmailVerification/index.tsx +0 -168
  149. package/templates/create-full/src/components/CustomerEmailVerification/styles.css +0 -118
  150. package/templates/create-full/src/components/CustomerEmailVerification/types.ts +0 -17
  151. package/templates/create-full/src/components/FeatureItem/index.tsx +0 -27
  152. package/templates/create-full/src/components/FeatureItem/styles.css +0 -19
  153. package/templates/create-full/src/components/FeatureItem/types.ts +0 -7
  154. package/templates/create-full/src/components/Features/index.tsx +0 -25
  155. package/templates/create-full/src/components/Features/styles.css +0 -39
  156. package/templates/create-full/src/components/Features/types.ts +0 -5
  157. package/templates/create-full/src/components/Footer/index.tsx +0 -154
  158. package/templates/create-full/src/components/Footer/styles.css +0 -175
  159. package/templates/create-full/src/components/Footer/types.ts +0 -15
  160. package/templates/create-full/src/components/ForgotPassword/components/ForgotPasswordForm/index.tsx +0 -129
  161. package/templates/create-full/src/components/ForgotPassword/components/ForgotPasswordForm/styles.css +0 -0
  162. package/templates/create-full/src/components/ForgotPassword/index.tsx +0 -30
  163. package/templates/create-full/src/components/ForgotPassword/styles.css +0 -85
  164. package/templates/create-full/src/components/ForgotPassword/types.ts +0 -13
  165. package/templates/create-full/src/components/Header/index.tsx +0 -46
  166. package/templates/create-full/src/components/Header/styles.css +0 -4
  167. package/templates/create-full/src/components/Header/types.ts +0 -4
  168. package/templates/create-full/src/components/HeroSlider/index.tsx +0 -110
  169. package/templates/create-full/src/components/HeroSlider/styles.css +0 -129
  170. package/templates/create-full/src/components/HeroSlider/types.ts +0 -9
  171. package/templates/create-full/src/components/HeroSliderItem/index.tsx +0 -231
  172. package/templates/create-full/src/components/HeroSliderItem/styles.css +0 -152
  173. package/templates/create-full/src/components/HeroSliderItem/types.ts +0 -34
  174. package/templates/create-full/src/components/Login/components/LoginForm/index.tsx +0 -181
  175. package/templates/create-full/src/components/Login/components/LoginForm/styles.css +0 -0
  176. package/templates/create-full/src/components/Login/index.tsx +0 -37
  177. package/templates/create-full/src/components/Login/styles.css +0 -129
  178. package/templates/create-full/src/components/Login/types.ts +0 -18
  179. package/templates/create-full/src/components/Navbar/components/CartSidebar/index.tsx +0 -203
  180. package/templates/create-full/src/components/Navbar/components/CartSidebar/styles.css +0 -175
  181. package/templates/create-full/src/components/Navbar/components/MobileMenu/index.tsx +0 -198
  182. package/templates/create-full/src/components/Navbar/components/MobileMenu/styles.css +0 -122
  183. package/templates/create-full/src/components/Navbar/components/NavItem/index.tsx +0 -65
  184. package/templates/create-full/src/components/Navbar/components/SearchModal/index.tsx +0 -339
  185. package/templates/create-full/src/components/Navbar/components/SearchModal/styles.css +0 -191
  186. package/templates/create-full/src/components/Navbar/index.tsx +0 -254
  187. package/templates/create-full/src/components/Navbar/styles.css +0 -254
  188. package/templates/create-full/src/components/Navbar/types.ts +0 -42
  189. package/templates/create-full/src/components/NotFound/index.tsx +0 -39
  190. package/templates/create-full/src/components/NotFound/styles.css +0 -46
  191. package/templates/create-full/src/components/NotFound/types.ts +0 -8
  192. package/templates/create-full/src/components/ProductDetail/components/ProductGallery/index.tsx +0 -316
  193. package/templates/create-full/src/components/ProductDetail/components/ProductGallery/styles.css +0 -213
  194. package/templates/create-full/src/components/ProductDetail/index.tsx +0 -92
  195. package/templates/create-full/src/components/ProductDetail/styles.css +0 -58
  196. package/templates/create-full/src/components/ProductDetail/types.ts +0 -12
  197. package/templates/create-full/src/components/ProductDetailAddToCart/components/PayWithIkas/index.tsx +0 -34
  198. package/templates/create-full/src/components/ProductDetailAddToCart/components/PayWithIkas/styles.css +0 -4
  199. package/templates/create-full/src/components/ProductDetailAddToCart/index.tsx +0 -146
  200. package/templates/create-full/src/components/ProductDetailAddToCart/styles.css +0 -27
  201. package/templates/create-full/src/components/ProductDetailAddToCart/types.ts +0 -18
  202. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureRow/index.tsx +0 -164
  203. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureSection/index.tsx +0 -134
  204. package/templates/create-full/src/components/ProductDetailBundleFurniture/components/BundleFurnitureSection/styles.css +0 -188
  205. package/templates/create-full/src/components/ProductDetailBundleFurniture/index.tsx +0 -61
  206. package/templates/create-full/src/components/ProductDetailBundleFurniture/styles.css +0 -12
  207. package/templates/create-full/src/components/ProductDetailBundleFurniture/types.ts +0 -21
  208. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleProductItem/index.tsx +0 -169
  209. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleProductItem/styles.css +0 -141
  210. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleSkeletonLoading/index.tsx +0 -35
  211. package/templates/create-full/src/components/ProductDetailBundleProduct/components/BundleSkeletonLoading/styles.css +0 -85
  212. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureRow/index.tsx +0 -51
  213. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureRow/styles.css +0 -30
  214. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureView/index.tsx +0 -54
  215. package/templates/create-full/src/components/ProductDetailBundleProduct/components/FurnitureView/styles.css +0 -22
  216. package/templates/create-full/src/components/ProductDetailBundleProduct/index.tsx +0 -101
  217. package/templates/create-full/src/components/ProductDetailBundleProduct/styles.css +0 -20
  218. package/templates/create-full/src/components/ProductDetailBundleProduct/types.ts +0 -18
  219. package/templates/create-full/src/components/ProductDetailDescription/index.tsx +0 -56
  220. package/templates/create-full/src/components/ProductDetailDescription/styles.css +0 -21
  221. package/templates/create-full/src/components/ProductDetailDescription/types.ts +0 -13
  222. package/templates/create-full/src/components/ProductDetailFeatureItem/index.tsx +0 -28
  223. package/templates/create-full/src/components/ProductDetailFeatureItem/styles.css +0 -22
  224. package/templates/create-full/src/components/ProductDetailFeatureItem/types.ts +0 -7
  225. package/templates/create-full/src/components/ProductDetailFeatures/index.tsx +0 -40
  226. package/templates/create-full/src/components/ProductDetailFeatures/styles.css +0 -17
  227. package/templates/create-full/src/components/ProductDetailFeatures/types.ts +0 -10
  228. package/templates/create-full/src/components/ProductDetailNameFavorite/index.tsx +0 -66
  229. package/templates/create-full/src/components/ProductDetailNameFavorite/styles.css +0 -45
  230. package/templates/create-full/src/components/ProductDetailNameFavorite/types.ts +0 -11
  231. package/templates/create-full/src/components/ProductDetailOffer/components/OfferCard/index.tsx +0 -209
  232. package/templates/create-full/src/components/ProductDetailOffer/components/OfferCard/styles.css +0 -146
  233. package/templates/create-full/src/components/ProductDetailOffer/components/OfferSummary/index.tsx +0 -175
  234. package/templates/create-full/src/components/ProductDetailOffer/index.tsx +0 -199
  235. package/templates/create-full/src/components/ProductDetailOffer/styles.css +0 -211
  236. package/templates/create-full/src/components/ProductDetailOffer/types.ts +0 -24
  237. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionCheckbox/index.tsx +0 -52
  238. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionCheckbox/styles.css +0 -19
  239. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceBox/index.tsx +0 -60
  240. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceBox/styles.css +0 -38
  241. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSelect/index.tsx +0 -102
  242. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSelect/styles.css +0 -34
  243. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSwatch/index.tsx +0 -121
  244. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/components/ChoiceSwatch/styles.css +0 -87
  245. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionChoice/index.tsx +0 -57
  246. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionColorPicker/index.tsx +0 -54
  247. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionColorPicker/styles.css +0 -0
  248. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionDatePicker/index.tsx +0 -124
  249. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionDatePicker/styles.css +0 -1
  250. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionFile/index.tsx +0 -217
  251. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionFile/styles.css +0 -87
  252. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionRenderer/index.tsx +0 -133
  253. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionText/index.tsx +0 -60
  254. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionText/styles.css +0 -1
  255. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionTextarea/index.tsx +0 -74
  256. package/templates/create-full/src/components/ProductDetailOptionSet/components/OptionTextarea/styles.css +0 -10
  257. package/templates/create-full/src/components/ProductDetailOptionSet/index.tsx +0 -99
  258. package/templates/create-full/src/components/ProductDetailOptionSet/styles.css +0 -30
  259. package/templates/create-full/src/components/ProductDetailOptionSet/types.ts +0 -21
  260. package/templates/create-full/src/components/ProductDetailPrices/index.tsx +0 -62
  261. package/templates/create-full/src/components/ProductDetailPrices/styles.css +0 -32
  262. package/templates/create-full/src/components/ProductDetailPrices/types.ts +0 -10
  263. package/templates/create-full/src/components/ProductDetailProductGroup/index.tsx +0 -74
  264. package/templates/create-full/src/components/ProductDetailProductGroup/styles.css +0 -33
  265. package/templates/create-full/src/components/ProductDetailProductGroup/types.ts +0 -10
  266. package/templates/create-full/src/components/ProductDetailReviews/index.tsx +0 -205
  267. package/templates/create-full/src/components/ProductDetailReviews/styles.css +0 -43
  268. package/templates/create-full/src/components/ProductDetailReviews/types.ts +0 -19
  269. package/templates/create-full/src/components/ProductDetailSku/index.tsx +0 -38
  270. package/templates/create-full/src/components/ProductDetailSku/styles.css +0 -16
  271. package/templates/create-full/src/components/ProductDetailSku/types.ts +0 -11
  272. package/templates/create-full/src/components/ProductDetailVariant/index.tsx +0 -38
  273. package/templates/create-full/src/components/ProductDetailVariant/styles.css +0 -14
  274. package/templates/create-full/src/components/ProductDetailVariant/types.ts +0 -12
  275. package/templates/create-full/src/components/ProductSlider/index.tsx +0 -151
  276. package/templates/create-full/src/components/ProductSlider/styles.css +0 -105
  277. package/templates/create-full/src/components/ProductSlider/types.ts +0 -17
  278. package/templates/create-full/src/components/RecoverPassword/components/RecoverPasswordForm/index.tsx +0 -133
  279. package/templates/create-full/src/components/RecoverPassword/components/RecoverPasswordForm/styles.css +0 -0
  280. package/templates/create-full/src/components/RecoverPassword/index.tsx +0 -30
  281. package/templates/create-full/src/components/RecoverPassword/styles.css +0 -93
  282. package/templates/create-full/src/components/RecoverPassword/types.ts +0 -13
  283. package/templates/create-full/src/components/Register/components/RegisterForm/index.tsx +0 -326
  284. package/templates/create-full/src/components/Register/components/RegisterForm/styles.css +0 -0
  285. package/templates/create-full/src/components/Register/index.tsx +0 -30
  286. package/templates/create-full/src/components/Register/styles.css +0 -152
  287. package/templates/create-full/src/components/Register/types.ts +0 -27
  288. package/templates/create-full/src/components/RichText/index.tsx +0 -25
  289. package/templates/create-full/src/components/RichText/styles.css +0 -51
  290. package/templates/create-full/src/components/RichText/types.ts +0 -5
  291. package/templates/create-full/src/components/SocialMediaIcon/index.tsx +0 -26
  292. package/templates/create-full/src/components/SocialMediaIcon/styles.css +0 -17
  293. package/templates/create-full/src/components/SocialMediaIcon/types.ts +0 -7
  294. package/templates/create-full/src/components/index.ts +0 -50
  295. package/templates/create-full/src/global-types.ts +0 -11
  296. package/templates/create-full/src/global.css +0 -598
  297. package/templates/create-full/src/hooks/useBundleProducts.ts +0 -75
  298. package/templates/create-full/src/hooks/useColumnPreference.ts +0 -26
  299. package/templates/create-full/src/hooks/useInfiniteScroll.ts +0 -49
  300. package/templates/create-full/src/hooks/usePageTracking.ts +0 -56
  301. package/templates/create-full/src/hooks/usePayWithIkas.ts +0 -114
  302. package/templates/create-full/src/hooks/useRedirectIfLoggedIn.ts +0 -35
  303. package/templates/create-full/src/hooks/useScrollLock.ts +0 -19
  304. package/templates/create-full/src/hooks/useToast.ts +0 -27
  305. package/templates/create-full/src/ikas-component-utils.d.ts +0 -3
  306. package/templates/create-full/src/sub-components/Badge/index.tsx +0 -208
  307. package/templates/create-full/src/sub-components/Badge/styles.css +0 -129
  308. package/templates/create-full/src/sub-components/Breadcrumb/index.tsx +0 -57
  309. package/templates/create-full/src/sub-components/Breadcrumb/styles.css +0 -49
  310. package/templates/create-full/src/sub-components/BundleMedia/index.tsx +0 -72
  311. package/templates/create-full/src/sub-components/BundleQuantityBox/index.tsx +0 -73
  312. package/templates/create-full/src/sub-components/BundleQuantityBox/styles.css +0 -43
  313. package/templates/create-full/src/sub-components/Button/index.tsx +0 -52
  314. package/templates/create-full/src/sub-components/Button/styles.css +0 -114
  315. package/templates/create-full/src/sub-components/CartItem/components/BundleProductItem/index.tsx +0 -59
  316. package/templates/create-full/src/sub-components/CartItem/components/BundleProductItem/styles.css +0 -24
  317. package/templates/create-full/src/sub-components/CartItem/components/BundleProducts/index.tsx +0 -55
  318. package/templates/create-full/src/sub-components/CartItem/components/BundleProducts/styles.css +0 -30
  319. package/templates/create-full/src/sub-components/CartItem/components/ItemOptions/index.tsx +0 -31
  320. package/templates/create-full/src/sub-components/CartItem/components/ItemOptions/styles.css +0 -6
  321. package/templates/create-full/src/sub-components/CartItem/components/OptionValueDisplay/index.tsx +0 -79
  322. package/templates/create-full/src/sub-components/CartItem/components/OptionValueDisplay/styles.css +0 -28
  323. package/templates/create-full/src/sub-components/CartItem/index.tsx +0 -216
  324. package/templates/create-full/src/sub-components/CartItem/styles.css +0 -170
  325. package/templates/create-full/src/sub-components/Checkbox/index.tsx +0 -42
  326. package/templates/create-full/src/sub-components/Checkbox/styles.css +0 -65
  327. package/templates/create-full/src/sub-components/CollapsibleGroup/index.tsx +0 -52
  328. package/templates/create-full/src/sub-components/CollapsibleGroup/styles.css +0 -51
  329. package/templates/create-full/src/sub-components/ColorInput/index.tsx +0 -33
  330. package/templates/create-full/src/sub-components/ColorInput/styles.css +0 -53
  331. package/templates/create-full/src/sub-components/ConfirmModal/index.tsx +0 -60
  332. package/templates/create-full/src/sub-components/ConfirmModal/styles.css +0 -20
  333. package/templates/create-full/src/sub-components/FormItem/index.tsx +0 -66
  334. package/templates/create-full/src/sub-components/FormItem/styles.css +0 -38
  335. package/templates/create-full/src/sub-components/ImagePreviewModal/index.tsx +0 -55
  336. package/templates/create-full/src/sub-components/ImagePreviewModal/styles.css +0 -50
  337. package/templates/create-full/src/sub-components/Input/index.tsx +0 -69
  338. package/templates/create-full/src/sub-components/Input/styles.css +0 -162
  339. package/templates/create-full/src/sub-components/Modal/index.tsx +0 -120
  340. package/templates/create-full/src/sub-components/Modal/styles.css +0 -70
  341. package/templates/create-full/src/sub-components/PageLoader/index.tsx +0 -14
  342. package/templates/create-full/src/sub-components/PageLoader/styles.css +0 -12
  343. package/templates/create-full/src/sub-components/Pagination/index.tsx +0 -107
  344. package/templates/create-full/src/sub-components/Pagination/styles.css +0 -88
  345. package/templates/create-full/src/sub-components/ProductCard/index.tsx +0 -276
  346. package/templates/create-full/src/sub-components/ProductCard/styles.css +0 -99
  347. package/templates/create-full/src/sub-components/QuantitySelector/index.tsx +0 -41
  348. package/templates/create-full/src/sub-components/QuantitySelector/styles.css +0 -51
  349. package/templates/create-full/src/sub-components/ReviewCard/index.tsx +0 -103
  350. package/templates/create-full/src/sub-components/ReviewCard/styles.css +0 -95
  351. package/templates/create-full/src/sub-components/ReviewForm/index.tsx +0 -115
  352. package/templates/create-full/src/sub-components/ReviewForm/styles.css +0 -11
  353. package/templates/create-full/src/sub-components/ReviewSummary/index.tsx +0 -65
  354. package/templates/create-full/src/sub-components/ReviewSummary/styles.css +0 -86
  355. package/templates/create-full/src/sub-components/Select/index.tsx +0 -86
  356. package/templates/create-full/src/sub-components/Select/styles.css +0 -110
  357. package/templates/create-full/src/sub-components/SkeletonField/index.tsx +0 -12
  358. package/templates/create-full/src/sub-components/SkeletonField/styles.css +0 -29
  359. package/templates/create-full/src/sub-components/SliderArrow/index.tsx +0 -26
  360. package/templates/create-full/src/sub-components/SliderArrow/styles.css +0 -24
  361. package/templates/create-full/src/sub-components/SocialLoginButton/index.tsx +0 -24
  362. package/templates/create-full/src/sub-components/SocialLoginButton/styles.css +0 -19
  363. package/templates/create-full/src/sub-components/SpinnerIcon/index.tsx +0 -10
  364. package/templates/create-full/src/sub-components/SpinnerIcon/styles.css +0 -8
  365. package/templates/create-full/src/sub-components/StarRating/index.tsx +0 -76
  366. package/templates/create-full/src/sub-components/StarRating/styles.css +0 -40
  367. package/templates/create-full/src/sub-components/Tag/index.tsx +0 -21
  368. package/templates/create-full/src/sub-components/Tag/styles.css +0 -30
  369. package/templates/create-full/src/sub-components/Textarea/index.tsx +0 -45
  370. package/templates/create-full/src/sub-components/Textarea/styles.css +0 -82
  371. package/templates/create-full/src/sub-components/Toast/index.tsx +0 -257
  372. package/templates/create-full/src/sub-components/Toast/styles.css +0 -3
  373. package/templates/create-full/src/sub-components/Toggle/index.tsx +0 -46
  374. package/templates/create-full/src/sub-components/Toggle/styles.css +0 -86
  375. package/templates/create-full/src/sub-components/VariantBadge/index.tsx +0 -153
  376. package/templates/create-full/src/sub-components/VariantBadge/styles.css +0 -47
  377. package/templates/create-full/src/sub-components/icons/index.tsx +0 -981
  378. package/templates/create-full/src/utils/bundle.ts +0 -70
  379. package/templates/create-full/src/utils/cx.ts +0 -4
  380. package/templates/create-full/src/utils/fullName.ts +0 -6
  381. package/templates/create-full/src/utils/media.ts +0 -36
  382. package/templates/create-full/src/utils/optionPrice.ts +0 -19
  383. package/templates/create-full/src/utils/optionSet.ts +0 -17
  384. package/templates/create-full/src/utils/orderStatus.ts +0 -28
  385. package/templates/create-full/src/utils/pagination.ts +0 -29
  386. package/templates/create-full/src/utils/toast.ts +0 -5
  387. package/templates/create-full/tsconfig.json +0 -30
  388. package/templates/create-full/vite.config.ts +0 -15
@@ -1,134 +0,0 @@
1
- import { useEffect, useState } from "preact/hooks";
2
- import {
3
- customerStore,
4
- getAccountInfoForm,
5
- initAccountInfoForm,
6
- setAccountInfoFormFirstName,
7
- setAccountInfoFormLastName,
8
- setAccountInfoFormPhone,
9
- submitAccountInfoForm,
10
- } from "@ikas/bp-storefront";
11
- import FormItem from "../../sub-components/FormItem";
12
- import Input from "../../sub-components/Input";
13
- import Button from "../../sub-components/Button";
14
- import SkeletonField from "../../sub-components/SkeletonField";
15
- import { Props } from "./types";
16
-
17
- export function AccountInfoContent({
18
- title = "My Account",
19
- successMessage = "Your information has been updated.",
20
- submitButtonText = "Save",
21
- submittingButtonText = "Saving...",
22
- emailLabel = "Email",
23
- }: Props) {
24
- const accountForm = getAccountInfoForm(customerStore);
25
- const [isLoading, setIsLoading] = useState(true);
26
-
27
- useEffect(() => {
28
- initAccountInfoForm(accountForm).finally(() => setIsLoading(false));
29
- }, []);
30
-
31
- const handleSubmit = async (e: Event) => {
32
- e.preventDefault();
33
- await submitAccountInfoForm(accountForm);
34
- };
35
-
36
- function renderFormField(
37
- field: typeof accountForm.firstName,
38
- id: string,
39
- setter: (form: typeof accountForm, value: string) => void,
40
- inputProps?: Record<string, unknown>,
41
- ) {
42
- if (!field) return null;
43
- const status = field.hasError ? "error" : "default";
44
- return (
45
- <FormItem
46
- label={field.label}
47
- htmlFor={id}
48
- status={status}
49
- helper={field.hasError ? field.message : undefined}
50
- >
51
- <Input
52
- id={id}
53
- value={field.value ?? ""}
54
- onInput={(e: Event) =>
55
- setter(accountForm, (e.target as HTMLInputElement).value)
56
- }
57
- {...inputProps}
58
- />
59
- </FormItem>
60
- );
61
- }
62
-
63
- return (
64
- <div className="kombos-account-info-content">
65
- <h1 className="kombos-account-info-content__title text-md-medium">{title}</h1>
66
-
67
- {accountForm.isSuccess && (
68
- <div className="kombos-account-info-content__alert kombos-account-info-content__alert--success text-sm-regular">
69
- {successMessage}
70
- </div>
71
- )}
72
- {accountForm.isFailure && accountForm.responseMessage && (
73
- <div className="kombos-account-info-content__alert kombos-account-info-content__alert--error text-sm-regular">
74
- {accountForm.responseMessage}
75
- </div>
76
- )}
77
-
78
- {isLoading ? (
79
- <div className="kombos-account-info-content__form">
80
- <div className="kombos-account-info-content__row">
81
- <SkeletonField />
82
- <SkeletonField />
83
- </div>
84
- <div className="kombos-account-info-content__row">
85
- <SkeletonField />
86
- <SkeletonField />
87
- </div>
88
- </div>
89
- ) : (
90
- <form className="kombos-account-info-content__form" onSubmit={handleSubmit}>
91
- <div className="kombos-account-info-content__row">
92
- {renderFormField(
93
- accountForm.firstName,
94
- "account-first-name",
95
- setAccountInfoFormFirstName,
96
- )}
97
- {renderFormField(
98
- accountForm.lastName,
99
- "account-last-name",
100
- setAccountInfoFormLastName,
101
- )}
102
- </div>
103
-
104
- <div className="kombos-account-info-content__row">
105
- <FormItem label={emailLabel} htmlFor="account-email">
106
- <Input
107
- id="account-email"
108
- value={customerStore.customer?.email ?? ""}
109
- disabled
110
- />
111
- </FormItem>
112
-
113
- {renderFormField(
114
- accountForm.phone,
115
- "account-phone",
116
- setAccountInfoFormPhone,
117
- { type: "tel" },
118
- )}
119
- </div>
120
-
121
- <Button
122
- variant="primary"
123
- loading={accountForm.isSubmitting}
124
- className="kombos-account-info-content__submit"
125
- >
126
- {accountForm.isSubmitting ? submittingButtonText : submitButtonText}
127
- </Button>
128
- </form>
129
- )}
130
- </div>
131
- );
132
- }
133
-
134
- export default AccountInfoContent;
@@ -1,57 +0,0 @@
1
- /* ── Account Info Content ── */
2
- .kombos-account-info-content {
3
- flex: 1;
4
- min-width: 0;
5
- display: flex;
6
- flex-direction: column;
7
- gap: 1.5rem;
8
- }
9
-
10
- .kombos-account-info-content__title {
11
- color: var(--kombos-gray-900);
12
- }
13
-
14
- /* ── Alerts ── */
15
- .kombos-account-info-content__alert {
16
- width: 100%;
17
- padding: 0.75rem 1rem;
18
- border-radius: 6px;
19
- }
20
-
21
- .kombos-account-info-content__alert--success {
22
- background: rgba(18, 183, 106, 0.08);
23
- color: var(--kombos-success);
24
- }
25
-
26
- .kombos-account-info-content__alert--error {
27
- background: rgba(255, 60, 72, 0.08);
28
- color: var(--kombos-error);
29
- }
30
-
31
- /* ── Form ── */
32
- .kombos-account-info-content__form {
33
- display: flex;
34
- flex-direction: column;
35
- gap: 1.5rem;
36
- }
37
-
38
- .kombos-account-info-content__row {
39
- display: grid;
40
- grid-template-columns: 1fr;
41
- gap: 1rem;
42
- }
43
-
44
- .kombos-account-info-content__submit {
45
- width: fit-content;
46
- min-width: 12.5rem;
47
- margin-left: auto;
48
- }
49
-
50
- /* ── Tablet (768px+) ── */
51
- @media (min-width: 768px) {
52
- .kombos-account-info-content__row {
53
- grid-template-columns: 1fr 1fr;
54
- gap: 1.5rem;
55
- }
56
- }
57
-
@@ -1,8 +0,0 @@
1
- // This file is auto-generated — do not edit manually.
2
- export interface Props {
3
- title?: string;
4
- successMessage?: string;
5
- submitButtonText?: string;
6
- submittingButtonText?: string;
7
- emailLabel?: string;
8
- }
@@ -1,78 +0,0 @@
1
- import {
2
- IkasOrder,
3
- getIkasOrderFormattedOrderedAt,
4
- getIkasOrderPackageStatusTranslation,
5
- } from "@ikas/bp-storefront";
6
- import { CopySVG } from "../../../../sub-components/icons";
7
- import { getStatusColor } from "../../../../utils/orderStatus";
8
- import { showToast } from "../../../../utils/toast";
9
-
10
- interface Props {
11
- order: IkasOrder;
12
- orderNoLabel: string;
13
- orderStatusLabel: string;
14
- orderDateLabel: string;
15
- copiedText: string;
16
- }
17
-
18
- export default function OrderHeader({
19
- order,
20
- orderNoLabel,
21
- orderStatusLabel,
22
- orderDateLabel,
23
- copiedText,
24
- }: Props) {
25
- const statusLabel = getIkasOrderPackageStatusTranslation(order);
26
- const statusColor = getStatusColor(order);
27
- const date = getIkasOrderFormattedOrderedAt(order);
28
-
29
- const handleCopy = async () => {
30
- if (order.orderNumber) {
31
- try {
32
- await navigator.clipboard.writeText(order.orderNumber);
33
- showToast(copiedText, "success");
34
- } catch {
35
- // Clipboard API may fail on non-HTTPS or without permissions
36
- }
37
- }
38
- };
39
-
40
- return (
41
- <div className="kombos-order-detail-header">
42
- <div className="kombos-order-detail-header__info">
43
- {order.orderNumber && (
44
- <div className="kombos-order-detail-header__row">
45
- <span className="text-sm-regular kombos-order-detail-header__label">
46
- {orderNoLabel}{" "}
47
- <span className="text-sm-medium">{order.orderNumber}</span>
48
- </span>
49
- <button
50
- type="button"
51
- className="kombos-order-detail-header__copy"
52
- onClick={handleCopy}
53
- aria-label="Copy order number"
54
- >
55
- <CopySVG />
56
- </button>
57
- </div>
58
- )}
59
- {statusLabel && (
60
- <p className="text-sm-regular kombos-order-detail-header__label">
61
- {orderStatusLabel}{" "}
62
- <span
63
- className="text-sm-medium"
64
- style={statusColor ? { color: statusColor } : undefined}
65
- >
66
- {statusLabel}
67
- </span>
68
- </p>
69
- )}
70
- {date && (
71
- <p className="text-sm-regular kombos-order-detail-header__label">
72
- {orderDateLabel} {date}
73
- </p>
74
- )}
75
- </div>
76
- </div>
77
- );
78
- }
@@ -1,46 +0,0 @@
1
- .kombos-order-detail-header {
2
- display: flex;
3
- align-items: flex-start;
4
- justify-content: space-between;
5
- padding-bottom: 1.5rem;
6
- border-bottom: 1px solid var(--kombos-gray-100);
7
- width: 100%;
8
- }
9
-
10
- .kombos-order-detail-header__info {
11
- display: flex;
12
- flex-direction: column;
13
- gap: 0.5rem;
14
- }
15
-
16
- .kombos-order-detail-header__row {
17
- display: flex;
18
- align-items: center;
19
- gap: 0.375rem;
20
- }
21
-
22
- .kombos-order-detail-header__label {
23
- color: var(--kombos-gray-900);
24
- }
25
-
26
- .kombos-order-detail-header__copy {
27
- display: flex;
28
- align-items: center;
29
- justify-content: center;
30
- background: none;
31
- border: none;
32
- cursor: pointer;
33
- padding: 0;
34
- color: var(--kombos-gray-500);
35
- font-size: 1rem;
36
- transition: color 0.15s ease;
37
- }
38
-
39
- .kombos-order-detail-header__copy:hover {
40
- color: var(--kombos-gray-700);
41
- }
42
-
43
- .kombos-order-detail-header__copy:focus-visible {
44
- outline: 2px solid var(--kombos-gray-900);
45
- outline-offset: 2px;
46
- }
@@ -1,20 +0,0 @@
1
- import { IkasOrderLineItem } from "@ikas/bp-storefront";
2
- import OrderLineItemDisplay from "../OrderLineItemDisplay";
3
-
4
- interface Props {
5
- item: IkasOrderLineItem;
6
- quantityLabel: string;
7
- }
8
-
9
- export default function OrderItemRow({ item, quantityLabel }: Props) {
10
- return (
11
- <div className="kombos-order-detail-item">
12
- <div className="kombos-order-detail-item__row">
13
- <OrderLineItemDisplay item={item} />
14
- <span className="kombos-order-detail-item__qty text-sm-regular">
15
- {item.quantity} {quantityLabel}
16
- </span>
17
- </div>
18
- </div>
19
- );
20
- }
@@ -1,16 +0,0 @@
1
- .kombos-order-detail-item {
2
- padding-bottom: 1.5rem;
3
- border-bottom: 1px solid var(--kombos-gray-100);
4
- }
5
-
6
- .kombos-order-detail-item__row {
7
- display: flex;
8
- align-items: center;
9
- gap: 1rem;
10
- flex: 1;
11
- }
12
-
13
- .kombos-order-detail-item__qty {
14
- color: var(--kombos-gray-900);
15
- white-space: nowrap;
16
- }
@@ -1,112 +0,0 @@
1
- import {
2
- IkasOrderLineItem,
3
- getIkasOrderLineVariantMainImage,
4
- getIkasOrderLineVariantHref,
5
- getThumbnailSrc,
6
- getDefaultSrc,
7
- getOrderLineItemFormattedFinalPriceWithQuantity,
8
- getOrderLineItemFormattedPriceWithQuantity,
9
- hasOrderLineItemDiscount,
10
- } from "@ikas/bp-storefront";
11
- import { NoProductSVG } from "../../../../sub-components/icons";
12
-
13
- interface Props {
14
- item: IkasOrderLineItem;
15
- }
16
-
17
- export default function OrderLineItemDisplay({ item }: Props) {
18
- const image = item.variant
19
- ? getIkasOrderLineVariantMainImage(item.variant)
20
- : null;
21
- const imgSrc = image && !image.isVideo ? getThumbnailSrc(image) : null;
22
- const videoSrc = image?.isVideo ? getDefaultSrc(image) : null;
23
- const hasDiscount = hasOrderLineItemDiscount(item);
24
- const finalPrice = getOrderLineItemFormattedFinalPriceWithQuantity(item);
25
- const originalPrice = hasDiscount
26
- ? getOrderLineItemFormattedPriceWithQuantity(item)
27
- : null;
28
-
29
- const variantValues = item.variant?.variantValues ?? [];
30
- const href = item.variant
31
- ? getIkasOrderLineVariantHref(item.variant)
32
- : undefined;
33
-
34
- const ImageWrap = (
35
- <div className="kombos-order-detail-line__img-wrap">
36
- {videoSrc ? (
37
- <video
38
- src={videoSrc}
39
- className="kombos-order-detail-line__video"
40
- muted
41
- loop
42
- autoPlay
43
- playsInline
44
- >
45
- <track kind="captions" />
46
- </video>
47
- ) : imgSrc ? (
48
- <img
49
- src={imgSrc}
50
- alt={item.variant?.name ?? ""}
51
- loading="lazy"
52
- className="kombos-order-detail-line__img"
53
- />
54
- ) : (
55
- <div className="kombos-order-detail-line__placeholder">
56
- <NoProductSVG />
57
- </div>
58
- )}
59
- </div>
60
- );
61
-
62
- const Name = (
63
- <p className="kombos-order-detail-line__name text-sm-medium">
64
- {item.variant?.name}
65
- </p>
66
- );
67
-
68
- return (
69
- <>
70
- {href ? (
71
- <a href={href} className="kombos-order-detail-line__img-link">
72
- {ImageWrap}
73
- </a>
74
- ) : (
75
- ImageWrap
76
- )}
77
- <div className="kombos-order-detail-line__details">
78
- {href ? (
79
- <a href={href} className="kombos-order-detail-line__name-link">
80
- {Name}
81
- </a>
82
- ) : (
83
- Name
84
- )}
85
- {variantValues.length > 0 &&
86
- variantValues.map((v) => (
87
- <div
88
- key={v.variantTypeId}
89
- className="kombos-order-detail-line__variant"
90
- >
91
- <span className="kombos-order-detail-line__variant-label text-sm-regular">
92
- {v.variantTypeName}:
93
- </span>
94
- <span className="kombos-order-detail-line__variant-value text-sm-regular">
95
- {v.variantValueName}
96
- </span>
97
- </div>
98
- ))}
99
- <div className="kombos-order-detail-line__prices">
100
- <span className="kombos-order-detail-line__price text-sm-medium">
101
- {finalPrice}
102
- </span>
103
- {originalPrice && (
104
- <span className="kombos-order-detail-line__price-old text-sm-regular-strike">
105
- {originalPrice}
106
- </span>
107
- )}
108
- </div>
109
- </div>
110
- </>
111
- );
112
- }
@@ -1,86 +0,0 @@
1
- .kombos-order-detail-line__img-wrap {
2
- width: 4.25rem;
3
- height: 4.25rem;
4
- min-width: 4.25rem;
5
- border-radius: 6px;
6
- border: 1px solid var(--kombos-gray-100);
7
- overflow: hidden;
8
- }
9
-
10
- .kombos-order-detail-line__img {
11
- width: 100%;
12
- height: 100%;
13
- object-fit: cover;
14
- border-radius: 6px;
15
- }
16
-
17
- .kombos-order-detail-line__video {
18
- width: 100%;
19
- height: 100%;
20
- object-fit: cover;
21
- border-radius: 6px;
22
- }
23
-
24
- .kombos-order-detail-line__placeholder {
25
- width: 100%;
26
- height: 100%;
27
- display: flex;
28
- align-items: center;
29
- justify-content: center;
30
- background: var(--kombos-gray-100);
31
- color: var(--kombos-gray-300);
32
- font-size: 2rem;
33
- }
34
-
35
- .kombos-order-detail-line__details {
36
- display: flex;
37
- flex-direction: column;
38
- gap: 0.5rem;
39
- flex: 1;
40
- }
41
-
42
- .kombos-order-detail-line__img-link {
43
- display: contents;
44
- }
45
-
46
- .kombos-order-detail-line__name-link {
47
- text-decoration: none;
48
- color: inherit;
49
- }
50
-
51
- .kombos-order-detail-line__name-link:hover .kombos-order-detail-line__name {
52
- text-decoration: underline;
53
- }
54
-
55
- .kombos-order-detail-line__name {
56
- color: var(--kombos-gray-900);
57
- width: fit-content;
58
- }
59
-
60
- .kombos-order-detail-line__variant {
61
- display: flex;
62
- gap: 0.375rem;
63
- }
64
-
65
- .kombos-order-detail-line__variant-label {
66
- color: var(--kombos-gray-500);
67
- }
68
-
69
- .kombos-order-detail-line__variant-value {
70
- color: var(--kombos-gray-900);
71
- }
72
-
73
- .kombos-order-detail-line__prices {
74
- display: flex;
75
- align-items: center;
76
- gap: 0.375rem;
77
- }
78
-
79
- .kombos-order-detail-line__price {
80
- color: var(--kombos-gray-900);
81
- }
82
-
83
- .kombos-order-detail-line__price-old {
84
- color: var(--kombos-gray-500);
85
- text-decoration: line-through;
86
- }