@gem-sdk/components 1.38.1 → 2.0.0-dev.832

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 (1626) hide show
  1. package/dist/cjs/accordion/components/Accordion.js +1 -138
  2. package/dist/cjs/accordion/components/Accordion.liquid.js +11 -103
  3. package/dist/cjs/accordion/components/AccordionItem.js +4 -297
  4. package/dist/cjs/accordion/components/AccordionItem.liquid.js +38 -223
  5. package/dist/cjs/accordion/hooks/useMountTransition.js +1 -27
  6. package/dist/cjs/accordion/next.js +1 -19
  7. package/dist/cjs/accordion/setting/Accordion.js +15 -1355
  8. package/dist/cjs/accordion/setting/AccordionItem.js +1 -34
  9. package/dist/cjs/accordion/setting/ItemTemplate.js +1 -49
  10. package/dist/cjs/accordion/setting/index.js +1 -13
  11. package/dist/cjs/banner/components/hero-banner/index.js +1 -247
  12. package/dist/cjs/banner/components/hero-banner/index.liquid.js +22 -167
  13. package/dist/cjs/banner/helpers/common.js +1 -284
  14. package/dist/cjs/banner/next.js +1 -15
  15. package/dist/cjs/banner/setting/HeroBanner.js +19 -979
  16. package/dist/cjs/banner/setting/index.js +1 -11
  17. package/dist/cjs/banner/setting/presets/heroBanner1Col.js +2 -110
  18. package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +2 -131
  19. package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +2 -131
  20. package/dist/cjs/breadcrumb/components/Breadcrumb.js +1 -49
  21. package/dist/cjs/breadcrumb/next.js +1 -15
  22. package/dist/cjs/breadcrumb/setting/Breadcrumb.js +1 -38
  23. package/dist/cjs/breadcrumb/setting/index.js +1 -11
  24. package/dist/cjs/builder.js +1 -279
  25. package/dist/cjs/button/components/Button.js +8 -138
  26. package/dist/cjs/button/components/Button.liquid.js +27 -148
  27. package/dist/cjs/button/next.js +1 -15
  28. package/dist/cjs/button/setting/Button.js +4 -770
  29. package/dist/cjs/button/setting/index.js +1 -11
  30. package/dist/cjs/carousel/components/Arrow.js +10 -96
  31. package/dist/cjs/carousel/components/Arrow.liquid.js +28 -79
  32. package/dist/cjs/carousel/components/Carousel.js +1 -506
  33. package/dist/cjs/carousel/components/Carousel.liquid.js +15 -220
  34. package/dist/cjs/carousel/components/CarouselItem.js +1 -72
  35. package/dist/cjs/carousel/components/CarouselItem.liquid.js +7 -76
  36. package/dist/cjs/carousel/components/Dots.js +1 -68
  37. package/dist/cjs/carousel/components/Dots.liquid.js +4 -23
  38. package/dist/cjs/carousel/components/common/arrow.js +1 -130
  39. package/dist/cjs/carousel/components/common/carousel.js +1 -99
  40. package/dist/cjs/carousel/components/common/dots.js +1 -55
  41. package/dist/cjs/carousel/components/hooks/useTrackPreviewPause.js +1 -34
  42. package/dist/cjs/carousel/components/plugins/AnimationPlugin.js +1 -43
  43. package/dist/cjs/carousel/components/plugins/AutoPlayPlugin.js +1 -64
  44. package/dist/cjs/carousel/components/plugins/FixSliderMoveBackwards.js +1 -15
  45. package/dist/cjs/carousel/components/plugins/MutationPlugin.js +1 -45
  46. package/dist/cjs/carousel/next.js +1 -19
  47. package/dist/cjs/carousel/setting/Carousel.js +7 -1381
  48. package/dist/cjs/carousel/setting/CarouselItem.js +1 -40
  49. package/dist/cjs/carousel/setting/index.js +1 -13
  50. package/dist/cjs/cart/components/Cart.js +1 -84
  51. package/dist/cjs/cart/components/CartCheckout.js +1 -18
  52. package/dist/cjs/cart/components/CartDiscount.js +1 -13
  53. package/dist/cjs/cart/components/CartLineAttribute.js +1 -30
  54. package/dist/cjs/cart/components/CartLineImage.js +1 -44
  55. package/dist/cjs/cart/components/CartLinePrice.js +1 -45
  56. package/dist/cjs/cart/components/CartLineVariant.js +1 -27
  57. package/dist/cjs/cart/components/CartList.js +1 -36
  58. package/dist/cjs/cart/components/CartOrderNote.js +1 -46
  59. package/dist/cjs/cart/components/CartTotalItem.js +1 -23
  60. package/dist/cjs/cart/components/CartTotalPrice.js +1 -55
  61. package/dist/cjs/cart/components/CheckoutNow.js +1 -41
  62. package/dist/cjs/cart/components/CouponList.js +1 -15
  63. package/dist/cjs/cart/components/DiscountInput.js +1 -27
  64. package/dist/cjs/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -20
  65. package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.js +1 -16
  66. package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -16
  67. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -50
  68. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -21
  69. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -50
  70. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -21
  71. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -48
  72. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -21
  73. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -46
  74. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -21
  75. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -46
  76. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -21
  77. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -46
  78. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -21
  79. package/dist/cjs/cart/components/ShopPayButton/index.js +1 -112
  80. package/dist/cjs/cart/components/ShopPayButton/index.liquid.js +8 -42
  81. package/dist/cjs/cart/next.js +1 -73
  82. package/dist/cjs/cart/setting/Cart.js +3 -67
  83. package/dist/cjs/cart/setting/CartCheckout.js +1 -20
  84. package/dist/cjs/cart/setting/CartDiscount.js +1 -20
  85. package/dist/cjs/cart/setting/CartLineAttribute.js +1 -29
  86. package/dist/cjs/cart/setting/CartLineImage.js +1 -165
  87. package/dist/cjs/cart/setting/CartLinePrice.js +1 -29
  88. package/dist/cjs/cart/setting/CartLineVariant.js +1 -29
  89. package/dist/cjs/cart/setting/CartList.js +1 -139
  90. package/dist/cjs/cart/setting/CartOrderNote.js +1 -44
  91. package/dist/cjs/cart/setting/CartTotalItem.js +1 -29
  92. package/dist/cjs/cart/setting/CartTotalPrice.js +1 -58
  93. package/dist/cjs/cart/setting/CouponList.js +1 -20
  94. package/dist/cjs/cart/setting/DiscountInput.js +1 -33
  95. package/dist/cjs/cart/setting/ShopPayButton.js +1 -168
  96. package/dist/cjs/cart/setting/index.js +1 -37
  97. package/dist/cjs/code/components/CSSCode.js +2 -129
  98. package/dist/cjs/code/components/CSSCode.liquid.js +7 -30
  99. package/dist/cjs/code/next.js +1 -15
  100. package/dist/cjs/code/setting/CSSCode.js +3 -175
  101. package/dist/cjs/code/setting/index.js +1 -11
  102. package/dist/cjs/collection/components/CollectionBanner.js +1 -97
  103. package/dist/cjs/collection/components/CollectionBanner.liquid.js +14 -76
  104. package/dist/cjs/collection/components/CollectionDescription.js +1 -20
  105. package/dist/cjs/collection/components/CollectionDescription.liquid.js +3 -21
  106. package/dist/cjs/collection/components/CollectionPaginator.js +1 -150
  107. package/dist/cjs/collection/components/CollectionPaginator.liquid.js +9 -58
  108. package/dist/cjs/collection/components/CollectionTitle.js +1 -20
  109. package/dist/cjs/collection/components/CollectionTitle.liquid.js +3 -21
  110. package/dist/cjs/collection/components/CollectionToolbar.js +1 -111
  111. package/dist/cjs/collection/components/CollectionToolbar.liquid.js +15 -70
  112. package/dist/cjs/collection/next.js +1 -31
  113. package/dist/cjs/collection/setting/CollectionBanner.js +10 -532
  114. package/dist/cjs/collection/setting/CollectionDescription.js +3 -128
  115. package/dist/cjs/collection/setting/CollectionPaginator.js +3 -323
  116. package/dist/cjs/collection/setting/CollectionTitle.js +3 -128
  117. package/dist/cjs/collection/setting/CollectionToolbar.js +3 -276
  118. package/dist/cjs/collection/setting/index.js +1 -19
  119. package/dist/cjs/common/components/Loading.js +1 -23
  120. package/dist/cjs/common/components/Tooltip.js +1 -0
  121. package/dist/cjs/countdown-timer/components/Countdown.js +1 -308
  122. package/dist/cjs/countdown-timer/components/Countdown.liquid.js +20 -91
  123. package/dist/cjs/countdown-timer/helpers.js +1 -99
  124. package/dist/cjs/countdown-timer/hooks/useTimeLeft.js +1 -94
  125. package/dist/cjs/countdown-timer/next.js +1 -16
  126. package/dist/cjs/countdown-timer/setting/Countdown.js +3 -883
  127. package/dist/cjs/countdown-timer/setting/index.js +1 -11
  128. package/dist/cjs/dialog/components/Dialog.js +1 -357
  129. package/dist/cjs/dialog/components/Dialog.liquid.js +16 -147
  130. package/dist/cjs/dialog/helpers/common.js +1 -19
  131. package/dist/cjs/dialog/hooks/use-scroll-percentage.js +1 -34
  132. package/dist/cjs/dialog/next.js +1 -15
  133. package/dist/cjs/dialog/setting/Dialog.js +3 -579
  134. package/dist/cjs/dialog/setting/index.js +1 -11
  135. package/dist/cjs/form/components/contact/Contact.js +1 -15
  136. package/dist/cjs/form/components/contact/Contact.liquid.js +3 -22
  137. package/dist/cjs/form/components/form-checkbox/FormCheckbox.js +1 -51
  138. package/dist/cjs/form/components/form-checkbox/FormCheckbox.liquid.js +10 -39
  139. package/dist/cjs/form/components/form-dropdown/FormDropdown.js +1 -72
  140. package/dist/cjs/form/components/form-dropdown/FormDropdown.liquid.js +12 -66
  141. package/dist/cjs/form/components/form-email/FormEmail.js +1 -59
  142. package/dist/cjs/form/components/form-email/FormEmail.liquid.js +10 -66
  143. package/dist/cjs/form/components/newsletter/Newsletter.js +1 -15
  144. package/dist/cjs/form/components/newsletter/Newsletter.liquid.js +19 -56
  145. package/dist/cjs/form/components/submit-button/SubmitButton.js +1 -31
  146. package/dist/cjs/form/components/submit-button/SubmitButton.liquid.js +3 -33
  147. package/dist/cjs/form/components/textarea/TextArea.js +1 -75
  148. package/dist/cjs/form/components/textarea/TextArea.liquid.js +11 -74
  149. package/dist/cjs/form/components/textfield/TextField.js +1 -68
  150. package/dist/cjs/form/components/textfield/TextField.liquid.js +11 -74
  151. package/dist/cjs/form/next.js +1 -43
  152. package/dist/cjs/form/setting/Contact.js +3 -46
  153. package/dist/cjs/form/setting/ContactInitConfig.js +1 -228
  154. package/dist/cjs/form/setting/FormCheckbox.js +3 -226
  155. package/dist/cjs/form/setting/FormCheckboxInitConfig.js +1 -18
  156. package/dist/cjs/form/setting/FormDropdown.js +3 -262
  157. package/dist/cjs/form/setting/FormDropdownInitConfig.js +1 -33
  158. package/dist/cjs/form/setting/FormEmail.js +3 -275
  159. package/dist/cjs/form/setting/FormEmailInitConfig.js +1 -33
  160. package/dist/cjs/form/setting/Newsletter.js +3 -168
  161. package/dist/cjs/form/setting/NewsletterInitConfig.js +1 -133
  162. package/dist/cjs/form/setting/SubmitButton.js +4 -653
  163. package/dist/cjs/form/setting/SubmitButtonInitConfig.js +1 -30
  164. package/dist/cjs/form/setting/TextField.js +3 -306
  165. package/dist/cjs/form/setting/Textarea.js +3 -307
  166. package/dist/cjs/form/setting/index.js +1 -25
  167. package/dist/cjs/grid/components/ChildrenDroppable.js +4 -65
  168. package/dist/cjs/grid/components/Col.js +1 -25
  169. package/dist/cjs/grid/components/Col.liquid.js +6 -39
  170. package/dist/cjs/grid/components/Root.js +1 -13
  171. package/dist/cjs/grid/components/Root.liquid.js +1 -9
  172. package/dist/cjs/grid/components/Row.js +1 -92
  173. package/dist/cjs/grid/components/Row.liquid.js +12 -65
  174. package/dist/cjs/grid/components/Section.js +1 -27
  175. package/dist/cjs/grid/components/Section.liquid.js +1 -17
  176. package/dist/cjs/grid/components/helpers.js +1 -71
  177. package/dist/cjs/grid/next.js +1 -27
  178. package/dist/cjs/grid/setting/Col.js +1 -34
  179. package/dist/cjs/grid/setting/Root.js +1 -19
  180. package/dist/cjs/grid/setting/Row.js +39 -514
  181. package/dist/cjs/grid/setting/Section.js +34 -362
  182. package/dist/cjs/grid/setting/index.js +1 -17
  183. package/dist/cjs/header/components/Header.js +1 -32
  184. package/dist/cjs/header/components/SalePageHeaderWarning.js +1 -0
  185. package/dist/cjs/header/components/icons/ChevronLeft.js +1 -18
  186. package/dist/cjs/header/components/icons/Dismiss.js +1 -18
  187. package/dist/cjs/header/components/icons/MenuIcon.js +1 -18
  188. package/dist/cjs/header/components/kind/basic/DesktopMenu.js +1 -36
  189. package/dist/cjs/header/components/kind/basic/DesktopMenuItem.js +1 -66
  190. package/dist/cjs/header/components/kind/basic/MenuMobileItem.js +1 -160
  191. package/dist/cjs/header/components/kind/basic/MobileMenu.js +1 -157
  192. package/dist/cjs/header/components/kind/basic/index.js +1 -109
  193. package/dist/cjs/header/components/kind/modern/index.js +1 -33
  194. package/dist/cjs/header/hooks/use-body-overlay.js +1 -21
  195. package/dist/cjs/header/next.js +1 -15
  196. package/dist/cjs/header/setting/Header.js +3 -716
  197. package/dist/cjs/header/setting/index.js +1 -11
  198. package/dist/cjs/heading/Heading.js +1 -46
  199. package/dist/cjs/heading/Heading.liquid.js +1 -47
  200. package/dist/cjs/heading/next.js +1 -15
  201. package/dist/cjs/heading/setting/Heading.js +3 -373
  202. package/dist/cjs/heading/setting/index.js +1 -11
  203. package/dist/cjs/helpers.js +1 -17
  204. package/dist/cjs/hooks/useGetProductId.js +1 -15
  205. package/dist/cjs/icon/components/Icon.js +1 -76
  206. package/dist/cjs/icon/components/Icon.liquid.js +13 -65
  207. package/dist/cjs/icon/next.js +1 -15
  208. package/dist/cjs/icon/setting/Icon.js +3 -303
  209. package/dist/cjs/icon/setting/index.js +1 -11
  210. package/dist/cjs/icon-list/components/IconList.js +1 -81
  211. package/dist/cjs/icon-list/components/IconList.liquid.js +12 -47
  212. package/dist/cjs/icon-list/components/IconListItem.js +1 -29
  213. package/dist/cjs/icon-list/components/IconListItem.liquid.js +4 -19
  214. package/dist/cjs/icon-list/next.js +1 -19
  215. package/dist/cjs/icon-list/setting/IconList.js +4 -299
  216. package/dist/cjs/icon-list/setting/IconListItem.js +1 -40
  217. package/dist/cjs/icon-list/setting/ItemTemplate.js +1 -329
  218. package/dist/cjs/icon-list/setting/index.js +1 -13
  219. package/dist/cjs/icon-list-hoz/components/IconListHoz.js +1 -69
  220. package/dist/cjs/icon-list-hoz/components/IconListHoz.liquid.js +11 -36
  221. package/dist/cjs/icon-list-hoz/components/IconListHozItem.js +1 -30
  222. package/dist/cjs/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -19
  223. package/dist/cjs/icon-list-hoz/next.js +1 -19
  224. package/dist/cjs/icon-list-hoz/setting/IconListHoz.js +3 -221
  225. package/dist/cjs/icon-list-hoz/setting/IconListItem.js +1 -40
  226. package/dist/cjs/icon-list-hoz/setting/ItemTemplate.js +1 -83
  227. package/dist/cjs/icon-list-hoz/setting/index.js +1 -13
  228. package/dist/cjs/icon-list-v2/components/IconList.js +1 -140
  229. package/dist/cjs/icon-list-v2/components/IconList.liquid.js +19 -89
  230. package/dist/cjs/icon-list-v2/next.js +1 -15
  231. package/dist/cjs/icon-list-v2/setting/IconList.js +3 -525
  232. package/dist/cjs/icon-list-v2/setting/index.js +1 -11
  233. package/dist/cjs/icon-list-v2/setting/template.js +1 -112
  234. package/dist/cjs/image/components/AdaptiveImage.js +1 -60
  235. package/dist/cjs/image/components/AdaptiveImage.liquid.js +19 -96
  236. package/dist/cjs/image/components/BackgroundImage.js +1 -101
  237. package/dist/cjs/image/components/Image.js +1 -121
  238. package/dist/cjs/image/components/Image.liquid.js +10 -93
  239. package/dist/cjs/image/components/Img.js +1 -28
  240. package/dist/cjs/image/components/Modal3d.liquid.js +15 -34
  241. package/dist/cjs/image/components/NextImage.js +1 -40
  242. package/dist/cjs/image/components/NextImage.liquid.js +16 -111
  243. package/dist/cjs/image/components/Video.liquid.js +12 -26
  244. package/dist/cjs/image/components/helpers.js +1 -10
  245. package/dist/cjs/image/helpers/getSrcSet.js +1 -56
  246. package/dist/cjs/image/next.js +1 -19
  247. package/dist/cjs/image/setting/BackgroundImage.js +2 -361
  248. package/dist/cjs/image/setting/Image.js +4 -464
  249. package/dist/cjs/image/setting/index.js +1 -13
  250. package/dist/cjs/image-comparison/components/CompareImage.js +5 -560
  251. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +22 -328
  252. package/dist/cjs/image-comparison/components/ImageComparison.js +1 -60
  253. package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -36
  254. package/dist/cjs/image-comparison/components/Label.liquid.js +13 -45
  255. package/dist/cjs/image-comparison/constants/commonStyles.js +1 -62
  256. package/dist/cjs/image-comparison/next.js +1 -15
  257. package/dist/cjs/image-comparison/setting/ImageComparison.js +3 -881
  258. package/dist/cjs/image-comparison/setting/index.js +1 -11
  259. package/dist/cjs/image-detection/ImageDetection.js +1 -236
  260. package/dist/cjs/image-detection/next.js +1 -15
  261. package/dist/cjs/image-detection/setting/ImageDetection.js +2 -75
  262. package/dist/cjs/image-detection/setting/index.js +1 -11
  263. package/dist/cjs/index.js +1 -363
  264. package/dist/cjs/index.liquid.js +1 -199
  265. package/dist/cjs/input/Input.js +1 -117
  266. package/dist/cjs/input/next.js +1 -15
  267. package/dist/cjs/input/setting/Input.js +2 -121
  268. package/dist/cjs/input/setting/index.js +1 -11
  269. package/dist/cjs/intersection-observer/InView.js +1 -100
  270. package/dist/cjs/intersection-observer/observe.js +1 -112
  271. package/dist/cjs/intersection-observer/useInView.js +1 -103
  272. package/dist/cjs/line/Divider.js +1 -34
  273. package/dist/cjs/line/Divider.liquid.js +4 -33
  274. package/dist/cjs/line/Line.js +1 -165
  275. package/dist/cjs/line/Line.liquid.js +17 -146
  276. package/dist/cjs/line/next.js +1 -15
  277. package/dist/cjs/line/setting/Line.js +3 -581
  278. package/dist/cjs/line/setting/index.js +1 -11
  279. package/dist/cjs/link/components/CustomLink.js +1 -14
  280. package/dist/cjs/link/components/Link.js +1 -36
  281. package/dist/cjs/link/components/ProductLink.js +1 -18
  282. package/dist/cjs/link/components/next-link/CustomLink.js +1 -18
  283. package/dist/cjs/link/components/next-link/ProductLink.js +1 -22
  284. package/dist/cjs/link/components/next-link/index.js +1 -29
  285. package/dist/cjs/link/helpers/url-join.js +1 -56
  286. package/dist/cjs/link/next.js +1 -15
  287. package/dist/cjs/link/setting/Link.js +1 -68
  288. package/dist/cjs/link/setting/index.js +1 -11
  289. package/dist/cjs/menu/components/DropdownMenu.js +1 -67
  290. package/dist/cjs/menu/components/MegaMenu.js +1 -67
  291. package/dist/cjs/menu/components/Menu.js +1 -20
  292. package/dist/cjs/menu/components/NavigationMenu.js +1 -63
  293. package/dist/cjs/menu/components/SubMegaMenu.js +1 -46
  294. package/dist/cjs/menu/components/SubNavigationMenu.js +1 -61
  295. package/dist/cjs/menu/next.js +1 -15
  296. package/dist/cjs/menu/setting/Menu.js +1 -216
  297. package/dist/cjs/menu/setting/index.js +1 -11
  298. package/dist/cjs/modal/components/Modal.js +1 -98
  299. package/dist/cjs/modal/components/confirm.js +1 -162
  300. package/dist/cjs/modal/hooks/useModalContainer.js +1 -21
  301. package/dist/cjs/modal/next.js +1 -15
  302. package/dist/cjs/modal/setting/Modal.js +1 -27
  303. package/dist/cjs/modal/setting/index.js +1 -11
  304. package/dist/cjs/next.js +1 -87
  305. package/dist/cjs/notification/components/Notice.js +1 -74
  306. package/dist/cjs/notification/components/Notifications.js +1 -96
  307. package/dist/cjs/notification/components/icons/CloseIcon.js +1 -17
  308. package/dist/cjs/notification/hooks/use-notification.js +1 -120
  309. package/dist/cjs/pagination/Pagination.js +1 -186
  310. package/dist/cjs/pagination/next.js +1 -15
  311. package/dist/cjs/pagination/setting/Pagination.js +1 -72
  312. package/dist/cjs/pagination/setting/index.js +1 -11
  313. package/dist/cjs/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
  314. package/dist/cjs/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
  315. package/dist/cjs/post-purchase/advanced-list/next.js +1 -0
  316. package/dist/cjs/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
  317. package/dist/cjs/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
  318. package/dist/cjs/post-purchase/advanced-list/setting/index.js +1 -0
  319. package/dist/cjs/post-purchase/advanced-list/setting/template.js +1 -0
  320. package/dist/cjs/post-purchase/button/Button.js +1 -0
  321. package/dist/cjs/post-purchase/button/next.js +1 -0
  322. package/dist/cjs/post-purchase/button/setting/Button.js +22 -0
  323. package/dist/cjs/post-purchase/button/setting/index.js +1 -0
  324. package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +1 -0
  325. package/dist/cjs/post-purchase/callout-banner/components/CalloutText.js +1 -0
  326. package/dist/cjs/post-purchase/callout-banner/next.js +1 -0
  327. package/dist/cjs/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
  328. package/dist/cjs/post-purchase/callout-banner/setting/CalloutText.js +18 -0
  329. package/dist/cjs/post-purchase/callout-banner/setting/index.js +1 -0
  330. package/dist/cjs/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
  331. package/dist/cjs/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
  332. package/dist/cjs/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
  333. package/dist/cjs/post-purchase/countdown-timer/next.js +1 -0
  334. package/dist/cjs/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
  335. package/dist/cjs/post-purchase/countdown-timer/settings/index.js +1 -0
  336. package/dist/cjs/post-purchase/image/components/AdaptiveImage.js +1 -0
  337. package/dist/cjs/post-purchase/image/components/Image.js +1 -0
  338. package/dist/cjs/post-purchase/image/components/Img.js +1 -0
  339. package/dist/cjs/post-purchase/image/next.js +1 -0
  340. package/dist/cjs/post-purchase/image/setting/Image.js +11 -0
  341. package/dist/cjs/post-purchase/image/setting/index.js +1 -0
  342. package/dist/cjs/post-purchase/line/components/PostPurchaseLine.js +1 -0
  343. package/dist/cjs/post-purchase/line/next.js +1 -0
  344. package/dist/cjs/post-purchase/line/setting/PostPurchaseLine.js +9 -0
  345. package/dist/cjs/post-purchase/line/setting/index.js +1 -0
  346. package/dist/cjs/post-purchase/next.js +1 -0
  347. package/dist/cjs/post-purchase/product/components/AcceptButton.js +1 -0
  348. package/dist/cjs/post-purchase/product/components/ProductDescription.js +1 -0
  349. package/dist/cjs/post-purchase/product/components/ProductDiscountTag.js +1 -0
  350. package/dist/cjs/post-purchase/product/components/ProductOffer.js +1 -0
  351. package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -0
  352. package/dist/cjs/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
  353. package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -0
  354. package/dist/cjs/post-purchase/product/components/ProductTitle.js +1 -0
  355. package/dist/cjs/post-purchase/product/components/ProductVariant.js +1 -0
  356. package/dist/cjs/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
  357. package/dist/cjs/post-purchase/product/components/product-image/Arrow.js +1 -0
  358. package/dist/cjs/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
  359. package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +1 -0
  360. package/dist/cjs/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
  361. package/dist/cjs/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
  362. package/dist/cjs/post-purchase/product/components/product-image/index.js +1 -0
  363. package/dist/cjs/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
  364. package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
  365. package/dist/cjs/post-purchase/product/components/variants/Dropdown.js +1 -0
  366. package/dist/cjs/post-purchase/product/components/variants/DropdownOption.js +1 -0
  367. package/dist/cjs/post-purchase/product/components/variants/RectangleList.js +1 -0
  368. package/dist/cjs/post-purchase/product/components/variants/VariantGroup.js +1 -0
  369. package/dist/cjs/post-purchase/product/components/variants/VariantItem.js +1 -0
  370. package/dist/cjs/post-purchase/product/components/variants/VariantOption.js +1 -0
  371. package/dist/cjs/post-purchase/product/helpers/index.js +1 -0
  372. package/dist/cjs/post-purchase/product/next.js +1 -0
  373. package/dist/cjs/post-purchase/product/settings/AcceptButton.js +22 -0
  374. package/dist/cjs/post-purchase/product/settings/ProductDescription.js +9 -0
  375. package/dist/cjs/post-purchase/product/settings/ProductDiscountTag.js +4 -0
  376. package/dist/cjs/post-purchase/product/settings/ProductOffer.js +53 -0
  377. package/dist/cjs/post-purchase/product/settings/ProductPrice.js +15 -0
  378. package/dist/cjs/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
  379. package/dist/cjs/post-purchase/product/settings/ProductQuantity.js +25 -0
  380. package/dist/cjs/post-purchase/product/settings/ProductTitle.js +9 -0
  381. package/dist/cjs/post-purchase/product/settings/ProductVariant.js +27 -0
  382. package/dist/cjs/post-purchase/product/settings/index.js +1 -0
  383. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
  384. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
  385. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
  386. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
  387. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
  388. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
  389. package/dist/cjs/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
  390. package/dist/cjs/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
  391. package/dist/cjs/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
  392. package/dist/cjs/post-purchase/product/settings/product-image/ProductImages.js +21 -0
  393. package/dist/cjs/post-purchase/text/Text.js +1 -0
  394. package/dist/cjs/post-purchase/text/index.js +1 -0
  395. package/dist/cjs/post-purchase/text/next.js +1 -0
  396. package/dist/cjs/post-purchase/text/setting/Heading.js +3 -0
  397. package/dist/cjs/post-purchase/text/setting/Text.js +7 -0
  398. package/dist/cjs/post-purchase/text/setting/index.js +1 -0
  399. package/dist/cjs/post-purchase/utils/constants.js +1 -0
  400. package/dist/cjs/post-purchase/utils/helper.js +1 -0
  401. package/dist/cjs/product/components/DynamicCheckout.js +1 -26
  402. package/dist/cjs/product/components/DynamicCheckout.liquid.js +59 -106
  403. package/dist/cjs/product/components/Product.js +1 -98
  404. package/dist/cjs/product/components/Product.liquid.js +21 -51
  405. package/dist/cjs/product/components/ProductButton.js +1 -234
  406. package/dist/cjs/product/components/ProductButton.liquid.js +9 -116
  407. package/dist/cjs/product/components/ProductDescription.js +2 -107
  408. package/dist/cjs/product/components/ProductDescription.liquid.js +14 -80
  409. package/dist/cjs/product/components/ProductImages/ProductFeaturedImage.js +1 -252
  410. package/dist/cjs/product/components/ProductImages/ProductGalleryCarousel.js +1 -203
  411. package/dist/cjs/product/components/ProductImages/ProductGalleryGrid.js +1 -163
  412. package/dist/cjs/product/components/ProductImages/ProductImagesLightBox.js +1 -118
  413. package/dist/cjs/product/components/ProductImages/common/common.js +1 -112
  414. package/dist/cjs/product/components/ProductImages/common/productFeaturedImage.js +1 -98
  415. package/dist/cjs/product/components/ProductImages/common/productGallery.js +1 -199
  416. package/dist/cjs/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -108
  417. package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -108
  418. package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -62
  419. package/dist/cjs/product/components/ProductImages.js +1 -284
  420. package/dist/cjs/product/components/ProductImages.liquid.js +17 -88
  421. package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -210
  422. package/dist/cjs/product/components/ProductImagesV2/common/hoverAction.js +1 -92
  423. package/dist/cjs/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -20
  424. package/dist/cjs/product/components/ProductImagesV2/common/productGallery.js +1 -236
  425. package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +11 -216
  426. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -27
  427. package/dist/cjs/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -62
  428. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -268
  429. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -261
  430. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -158
  431. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -118
  432. package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -153
  433. package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -24
  434. package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -24
  435. package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -32
  436. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -299
  437. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -230
  438. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -207
  439. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -75
  440. package/dist/cjs/product/components/ProductList.js +1 -206
  441. package/dist/cjs/product/components/ProductList.liquid.js +135 -168
  442. package/dist/cjs/product/components/ProductNotFound.js +1 -141
  443. package/dist/cjs/product/components/ProductPrice.js +1 -71
  444. package/dist/cjs/product/components/ProductPrice.liquid.js +13 -50
  445. package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.js +1 -56
  446. package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -53
  447. package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.js +1 -61
  448. package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -110
  449. package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.js +1 -41
  450. package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -49
  451. package/dist/cjs/product/components/ProductProperties.js +1 -268
  452. package/dist/cjs/product/components/ProductProperties.liquid.js +16 -77
  453. package/dist/cjs/product/components/ProductQuantity.js +1 -197
  454. package/dist/cjs/product/components/ProductQuantity.liquid.js +17 -112
  455. package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +1 -158
  456. package/dist/cjs/product/components/ProductQuickView/index.js +1 -20
  457. package/dist/cjs/product/components/ProductTag.js +1 -114
  458. package/dist/cjs/product/components/ProductTag.liquid.js +22 -82
  459. package/dist/cjs/product/components/ProductTitle.js +1 -40
  460. package/dist/cjs/product/components/ProductTitle.liquid.js +7 -35
  461. package/dist/cjs/product/components/ProductVariants/common.js +1 -68
  462. package/dist/cjs/product/components/ProductVariants/index.js +1 -311
  463. package/dist/cjs/product/components/ProductVariants/index.liquid.js +28 -191
  464. package/dist/cjs/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
  465. package/dist/cjs/product/components/ProductVariants/variants/Base.js +11 -264
  466. package/dist/cjs/product/components/ProductVariants/variants/Base.liquid.js +19 -122
  467. package/dist/cjs/product/components/ProductVariants/variants/Color.js +1 -22
  468. package/dist/cjs/product/components/ProductVariants/variants/Color.liquid.js +3 -17
  469. package/dist/cjs/product/components/ProductVariants/variants/Dropdown.js +1 -148
  470. package/dist/cjs/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -53
  471. package/dist/cjs/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -59
  472. package/dist/cjs/product/components/ProductVariants/variants/DropdownOption.js +1 -21
  473. package/dist/cjs/product/components/ProductVariants/variants/Image.js +1 -22
  474. package/dist/cjs/product/components/ProductVariants/variants/Image.liquid.js +3 -17
  475. package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.js +1 -39
  476. package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -17
  477. package/dist/cjs/product/components/ProductVariants/variants/RadioButtons.js +1 -62
  478. package/dist/cjs/product/components/ProductVariants/variants/RectangleList.js +1 -68
  479. package/dist/cjs/product/components/ProductVariants/variants/VariantGroup.js +1 -38
  480. package/dist/cjs/product/components/ProductVariants/variants/VariantOption/index.js +1 -20
  481. package/dist/cjs/product/components/ProductVariants/variants/index.js +1 -113
  482. package/dist/cjs/product/components/ProductVariants/variants/index.liquid.js +27 -75
  483. package/dist/cjs/product/components/SalePageProductListWarning.js +1 -0
  484. package/dist/cjs/product/components/Vendor.js +1 -38
  485. package/dist/cjs/product/components/Vendor.liquid.js +7 -35
  486. package/dist/cjs/product/helpers/function.js +1 -42
  487. package/dist/cjs/product/helpers/product-image.js +1 -33
  488. package/dist/cjs/product/helpers/product.js +1 -56
  489. package/dist/cjs/product/helpers/tracking.js +1 -11
  490. package/dist/cjs/product/next.js +1 -73
  491. package/dist/cjs/product/setting/DynamicCheckout.js +3 -551
  492. package/dist/cjs/product/setting/Product.js +35 -381
  493. package/dist/cjs/product/setting/ProductButton.js +4 -1079
  494. package/dist/cjs/product/setting/ProductDescription.js +2 -299
  495. package/dist/cjs/product/setting/ProductImages.js +5 -1201
  496. package/dist/cjs/product/setting/ProductList.js +3 -1197
  497. package/dist/cjs/product/setting/ProductPrice.js +4 -357
  498. package/dist/cjs/product/setting/ProductProperties.js +3 -975
  499. package/dist/cjs/product/setting/ProductQuantity.js +3 -610
  500. package/dist/cjs/product/setting/ProductTag.js +2 -250
  501. package/dist/cjs/product/setting/ProductTitle.js +3 -352
  502. package/dist/cjs/product/setting/ProductVariants.js +4 -1423
  503. package/dist/cjs/product/setting/Vendor.js +3 -338
  504. package/dist/cjs/product/setting/index.js +1 -37
  505. package/dist/cjs/product/setting/presets-config/product-presets/product-1-col.js +9 -275
  506. package/dist/cjs/product/setting/presets-config/product-presets/product-2-col.js +12 -283
  507. package/dist/cjs/product/setting/presets-config/product-presets/product-default.js +13 -283
  508. package/dist/cjs/product/setting/product-image-v2/ProductFeatureImage.js +2 -522
  509. package/dist/cjs/product/setting/product-image-v2/ProductGalleryImage.js +2 -648
  510. package/dist/cjs/product/setting/product-image-v2/ProductImages.js +4 -439
  511. package/dist/cjs/product/setting/swatches-style-config/color.js +1 -0
  512. package/dist/cjs/product/setting/swatches-style-config/dropdown.js +1 -0
  513. package/dist/cjs/product/setting/swatches-style-config/image-shopify.js +1 -0
  514. package/dist/cjs/product/setting/swatches-style-config/image.js +1 -0
  515. package/dist/cjs/product/setting/swatches-style-config/rectangle-list.js +1 -0
  516. package/dist/cjs/radio/Radio.js +1 -37
  517. package/dist/cjs/radio/next.js +1 -15
  518. package/dist/cjs/radio/setting/Radio.js +1 -70
  519. package/dist/cjs/radio/setting/index.js +1 -11
  520. package/dist/cjs/select/Select.js +2 -60
  521. package/dist/cjs/select/next.js +1 -15
  522. package/dist/cjs/select/setting/index.js +1 -11
  523. package/dist/cjs/sticky/components/Sticky.js +1 -160
  524. package/dist/cjs/sticky/components/Sticky.liquid.js +10 -77
  525. package/dist/cjs/sticky/next.js +1 -15
  526. package/dist/cjs/sticky/setting/Sticky.js +1 -234
  527. package/dist/cjs/sticky/setting/index.js +1 -11
  528. package/dist/cjs/sticky/setting/preset-config.js +2 -878
  529. package/dist/cjs/stock-counter/components/StockCounter.js +1 -115
  530. package/dist/cjs/stock-counter/components/StockCounter.liquid.js +23 -104
  531. package/dist/cjs/stock-counter/const.js +1 -36
  532. package/dist/cjs/stock-counter/helpers.js +5 -64
  533. package/dist/cjs/stock-counter/next.js +1 -15
  534. package/dist/cjs/stock-counter/setting/StockCounter.js +4 -628
  535. package/dist/cjs/stock-counter/setting/index.js +1 -11
  536. package/dist/cjs/tab/components/TabItem.js +1 -24
  537. package/dist/cjs/tab/components/TabItem.liquid.js +6 -23
  538. package/dist/cjs/tab/components/Tabs.js +1 -133
  539. package/dist/cjs/tab/components/Tabs.liquid.js +18 -83
  540. package/dist/cjs/tab/components/common.js +1 -43
  541. package/dist/cjs/tab/next.js +1 -19
  542. package/dist/cjs/tab/setting/TabItem.js +2 -33
  543. package/dist/cjs/tab/setting/Tabs.js +3 -573
  544. package/dist/cjs/tab/setting/index.js +1 -13
  545. package/dist/cjs/text/components/Text.js +1 -99
  546. package/dist/cjs/text/components/Text.liquid.js +10 -88
  547. package/dist/cjs/text/index.js +1 -10
  548. package/dist/cjs/text/next.js +1 -15
  549. package/dist/cjs/text/setting/Text.js +3 -418
  550. package/dist/cjs/text/setting/index.js +1 -11
  551. package/dist/cjs/textarea/Textarea.js +1 -38
  552. package/dist/cjs/textarea/next.js +1 -15
  553. package/dist/cjs/textarea/setting/Textarea.js +2 -107
  554. package/dist/cjs/textarea/setting/index.js +1 -11
  555. package/dist/cjs/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -28
  556. package/dist/cjs/third-party/components/AliReviews.js +1 -22
  557. package/dist/cjs/third-party/components/AliReviews.liquid.js +8 -21
  558. package/dist/cjs/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -23
  559. package/dist/cjs/third-party/components/AppstleSubscriptions.js +1 -22
  560. package/dist/cjs/third-party/components/AppstleSubscriptions.liquid.js +4 -17
  561. package/dist/cjs/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -23
  562. package/dist/cjs/third-party/components/BoldProductOptions.js +1 -22
  563. package/dist/cjs/third-party/components/BoldProductOptions.liquid.js +4 -17
  564. package/dist/cjs/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -34
  565. package/dist/cjs/third-party/components/BoldSubscriptions.js +1 -22
  566. package/dist/cjs/third-party/components/BoldSubscriptions.liquid.js +5 -18
  567. package/dist/cjs/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -23
  568. package/dist/cjs/third-party/components/BoostAISearchDiscovery.js +1 -22
  569. package/dist/cjs/third-party/components/BoostAISearchDiscovery.liquid.js +5 -17
  570. package/dist/cjs/third-party/components/Bundler/BundlerSampleContent.js +1 -23
  571. package/dist/cjs/third-party/components/Bundler.js +1 -24
  572. package/dist/cjs/third-party/components/Bundler.liquid.js +5 -22
  573. package/dist/cjs/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -23
  574. package/dist/cjs/third-party/components/CrossSellCartUpsell.js +1 -22
  575. package/dist/cjs/third-party/components/CrossSellCartUpsell.liquid.js +5 -24
  576. package/dist/cjs/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -49
  577. package/dist/cjs/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -52
  578. package/dist/cjs/third-party/components/FeraReviews.js +1 -27
  579. package/dist/cjs/third-party/components/FeraReviews.liquid.js +5 -20
  580. package/dist/cjs/third-party/components/FirePush/FirePushSampleContent.js +1 -21
  581. package/dist/cjs/third-party/components/FirePush.js +1 -22
  582. package/dist/cjs/third-party/components/FirePush.liquid.js +4 -17
  583. package/dist/cjs/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -23
  584. package/dist/cjs/third-party/components/FrequentlyBoughtTogether.js +1 -24
  585. package/dist/cjs/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -18
  586. package/dist/cjs/third-party/components/Growave/GrowaveSampleContent.js +1 -38
  587. package/dist/cjs/third-party/components/Growave.js +1 -22
  588. package/dist/cjs/third-party/components/Growave.liquid.js +5 -18
  589. package/dist/cjs/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -23
  590. package/dist/cjs/third-party/components/InfiniteOptions.js +1 -22
  591. package/dist/cjs/third-party/components/InfiniteOptions.liquid.js +4 -16
  592. package/dist/cjs/third-party/components/Instafeed/InstafeedSampleContent.js +1 -23
  593. package/dist/cjs/third-party/components/Instafeed.js +1 -22
  594. package/dist/cjs/third-party/components/Instafeed.liquid.js +4 -17
  595. package/dist/cjs/third-party/components/Judgeme/JudgemeSampleContent.js +1 -39
  596. package/dist/cjs/third-party/components/JudgemeReviews.js +1 -23
  597. package/dist/cjs/third-party/components/JudgemeReviews.liquid.js +5 -18
  598. package/dist/cjs/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -27
  599. package/dist/cjs/third-party/components/KachingBundles.js +1 -22
  600. package/dist/cjs/third-party/components/KachingBundles.liquid.js +4 -17
  601. package/dist/cjs/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -23
  602. package/dist/cjs/third-party/components/Klaviyo.js +1 -30
  603. package/dist/cjs/third-party/components/Klaviyo.liquid.js +5 -19
  604. package/dist/cjs/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -58
  605. package/dist/cjs/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -43
  606. package/dist/cjs/third-party/components/LaiProductReviews.js +1 -24
  607. package/dist/cjs/third-party/components/LaiProductReviews.liquid.js +5 -21
  608. package/dist/cjs/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -35
  609. package/dist/cjs/third-party/components/LooxReviews.js +1 -22
  610. package/dist/cjs/third-party/components/LooxReviews.liquid.js +9 -51
  611. package/dist/cjs/third-party/components/Omnisend/OmnisendSampleContent.js +1 -34
  612. package/dist/cjs/third-party/components/Omnisend.js +1 -22
  613. package/dist/cjs/third-party/components/Omnisend.liquid.js +9 -22
  614. package/dist/cjs/third-party/components/Opinew/OpinewSampleContent.js +1 -33
  615. package/dist/cjs/third-party/components/Opinew.js +1 -22
  616. package/dist/cjs/third-party/components/Opinew.liquid.js +6 -19
  617. package/dist/cjs/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -23
  618. package/dist/cjs/third-party/components/ParcelPanel.js +1 -22
  619. package/dist/cjs/third-party/components/ParcelPanel.liquid.js +4 -17
  620. package/dist/cjs/third-party/components/PickyStory/PickyStorySampleContent.js +1 -36
  621. package/dist/cjs/third-party/components/PickyStory.js +1 -22
  622. package/dist/cjs/third-party/components/PickyStory.liquid.js +5 -18
  623. package/dist/cjs/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -29
  624. package/dist/cjs/third-party/components/ProductReviews.js +1 -22
  625. package/dist/cjs/third-party/components/ProductReviews.liquid.js +5 -18
  626. package/dist/cjs/third-party/components/Rivyo/RivyoSampleContent.js +1 -36
  627. package/dist/cjs/third-party/components/Rivyo.js +1 -22
  628. package/dist/cjs/third-party/components/Rivyo.liquid.js +5 -18
  629. package/dist/cjs/third-party/components/Ryviu/RyviuSampleContent.js +1 -37
  630. package/dist/cjs/third-party/components/Ryviu.js +1 -22
  631. package/dist/cjs/third-party/components/Ryviu.liquid.js +5 -18
  632. package/dist/cjs/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -23
  633. package/dist/cjs/third-party/components/SealSubscriptions.js +1 -22
  634. package/dist/cjs/third-party/components/SealSubscriptions.liquid.js +4 -17
  635. package/dist/cjs/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -23
  636. package/dist/cjs/third-party/components/SmartSearchBarAndFilters.js +1 -24
  637. package/dist/cjs/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -20
  638. package/dist/cjs/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -174
  639. package/dist/cjs/third-party/components/Stamped/StampedSampleContent.js +1 -46
  640. package/dist/cjs/third-party/components/Stamped.js +1 -22
  641. package/dist/cjs/third-party/components/Stamped.liquid.js +5 -20
  642. package/dist/cjs/third-party/components/ThirdPartyPreview.js +1 -73
  643. package/dist/cjs/third-party/components/TrustMe/TrustMeSampleContent.js +1 -23
  644. package/dist/cjs/third-party/components/TrustMe.js +1 -22
  645. package/dist/cjs/third-party/components/TrustMe.liquid.js +4 -17
  646. package/dist/cjs/third-party/components/Trustoo/TrustooSampleContent.js +1 -35
  647. package/dist/cjs/third-party/components/Trustoo.js +1 -22
  648. package/dist/cjs/third-party/components/Trustoo.liquid.js +6 -19
  649. package/dist/cjs/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -33
  650. package/dist/cjs/third-party/components/UltimateSalesBoost.js +1 -22
  651. package/dist/cjs/third-party/components/UltimateSalesBoost.liquid.js +5 -18
  652. package/dist/cjs/third-party/components/Vitals/VitalsSampleContent.js +1 -51
  653. package/dist/cjs/third-party/components/Vitals.js +1 -22
  654. package/dist/cjs/third-party/components/Vitals.liquid.js +5 -18
  655. package/dist/cjs/third-party/components/WideBundle/WideBundleSampleContent.js +1 -23
  656. package/dist/cjs/third-party/components/WideBundle.js +1 -22
  657. package/dist/cjs/third-party/components/WideBundle.liquid.js +4 -17
  658. package/dist/cjs/third-party/components/Wiser/WiserSampleContent.js +1 -57
  659. package/dist/cjs/third-party/components/Wiser.js +1 -27
  660. package/dist/cjs/third-party/components/Wiser.liquid.js +5 -19
  661. package/dist/cjs/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
  662. package/dist/cjs/third-party/components/YotpoLoyalty.js +1 -43
  663. package/dist/cjs/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -35
  664. package/dist/cjs/third-party/components/YotpoReviews.js +1 -22
  665. package/dist/cjs/third-party/components/YotpoReviews.liquid.js +6 -19
  666. package/dist/cjs/third-party/configs/AliReviews.js +1 -12
  667. package/dist/cjs/third-party/configs/AppstleSubscriptions.js +1 -12
  668. package/dist/cjs/third-party/configs/BoldProductOptions.js +1 -12
  669. package/dist/cjs/third-party/configs/BoldSubscription.js +1 -12
  670. package/dist/cjs/third-party/configs/BoostAISearchDiscovery.js +1 -12
  671. package/dist/cjs/third-party/configs/Bundler.js +1 -12
  672. package/dist/cjs/third-party/configs/CrossSellCartUpsell.js +1 -12
  673. package/dist/cjs/third-party/configs/FeraReviews.js +1 -12
  674. package/dist/cjs/third-party/configs/FirePush.js +1 -12
  675. package/dist/cjs/third-party/configs/FrequentlyBoughtTogether.js +1 -12
  676. package/dist/cjs/third-party/configs/Growave.js +1 -12
  677. package/dist/cjs/third-party/configs/InfiniteOptions.js +1 -12
  678. package/dist/cjs/third-party/configs/Instafeed.js +1 -12
  679. package/dist/cjs/third-party/configs/JudgemeReviews.js +1 -12
  680. package/dist/cjs/third-party/configs/KachingBundles.js +1 -12
  681. package/dist/cjs/third-party/configs/Klaviyo.js +1 -12
  682. package/dist/cjs/third-party/configs/LaiProductReviews.js +1 -12
  683. package/dist/cjs/third-party/configs/LooxReviews.js +1 -12
  684. package/dist/cjs/third-party/configs/Omnisend.js +1 -12
  685. package/dist/cjs/third-party/configs/Opinew.js +1 -12
  686. package/dist/cjs/third-party/configs/ParcelPanel.js +1 -12
  687. package/dist/cjs/third-party/configs/PickyStory.js +1 -12
  688. package/dist/cjs/third-party/configs/ProductReviews.js +1 -12
  689. package/dist/cjs/third-party/configs/Rivyo.js +1 -12
  690. package/dist/cjs/third-party/configs/Ryviu.js +1 -12
  691. package/dist/cjs/third-party/configs/SealSubscriptions.js +1 -12
  692. package/dist/cjs/third-party/configs/SmartSearchBarAndFilters.js +1 -12
  693. package/dist/cjs/third-party/configs/Stamped.js +1 -12
  694. package/dist/cjs/third-party/configs/TrustMe.js +1 -12
  695. package/dist/cjs/third-party/configs/Trustoo.js +1 -12
  696. package/dist/cjs/third-party/configs/UltimateSalesBoost.js +1 -12
  697. package/dist/cjs/third-party/configs/Vitals.js +1 -12
  698. package/dist/cjs/third-party/configs/WideBundle.js +1 -12
  699. package/dist/cjs/third-party/configs/Wiser.js +1 -12
  700. package/dist/cjs/third-party/configs/YotpoLoyalty.js +1 -12
  701. package/dist/cjs/third-party/configs/YotpoReviews.js +1 -12
  702. package/dist/cjs/third-party/helpers/thirdParty.js +1 -36
  703. package/dist/cjs/third-party/next.js +1 -206
  704. package/dist/cjs/third-party/setting/AliReviews.js +2 -166
  705. package/dist/cjs/third-party/setting/AppstleSubscriptions.js +2 -95
  706. package/dist/cjs/third-party/setting/BoldProductOptions.js +2 -81
  707. package/dist/cjs/third-party/setting/BoldSubscriptions.js +2 -106
  708. package/dist/cjs/third-party/setting/BoostAISearchDiscovery.js +2 -84
  709. package/dist/cjs/third-party/setting/Bundler.js +2 -99
  710. package/dist/cjs/third-party/setting/CrossSellCartUpsell.js +2 -81
  711. package/dist/cjs/third-party/setting/FeraReviews.js +2 -392
  712. package/dist/cjs/third-party/setting/FirePush.js +2 -81
  713. package/dist/cjs/third-party/setting/FrequentlyBoughtTogether.js +3 -100
  714. package/dist/cjs/third-party/setting/Growave.js +2 -138
  715. package/dist/cjs/third-party/setting/InfiniteOptions.js +2 -81
  716. package/dist/cjs/third-party/setting/Instafeed.js +2 -87
  717. package/dist/cjs/third-party/setting/JudgemeReviews.js +2 -151
  718. package/dist/cjs/third-party/setting/KachingBundles.js +2 -86
  719. package/dist/cjs/third-party/setting/Klaviyo.js +2 -96
  720. package/dist/cjs/third-party/setting/LaiProductReviews.js +2 -202
  721. package/dist/cjs/third-party/setting/LooxReviews.js +2 -145
  722. package/dist/cjs/third-party/setting/Omnisend.js +2 -146
  723. package/dist/cjs/third-party/setting/Opinew.js +2 -190
  724. package/dist/cjs/third-party/setting/ParcelPanel.js +2 -90
  725. package/dist/cjs/third-party/setting/PickyStory.js +2 -114
  726. package/dist/cjs/third-party/setting/ProductReviews.js +2 -106
  727. package/dist/cjs/third-party/setting/Rivyo.js +2 -114
  728. package/dist/cjs/third-party/setting/Ryviu.js +2 -118
  729. package/dist/cjs/third-party/setting/SealSubscriptions.js +2 -95
  730. package/dist/cjs/third-party/setting/SmartSearchBarAndFilters.js +2 -96
  731. package/dist/cjs/third-party/setting/Stamped/Badge.js +1 -117
  732. package/dist/cjs/third-party/setting/Stamped/BadgeDouble.js +1 -22
  733. package/dist/cjs/third-party/setting/Stamped/BadgeRibbon.js +1 -61
  734. package/dist/cjs/third-party/setting/Stamped/BadgeSingle.js +1 -22
  735. package/dist/cjs/third-party/setting/Stamped/Carousel.js +1 -126
  736. package/dist/cjs/third-party/setting/Stamped/CheckoutReviews.js +1 -107
  737. package/dist/cjs/third-party/setting/Stamped/Colors.js +1 -58
  738. package/dist/cjs/third-party/setting/Stamped/Filters.js +1 -250
  739. package/dist/cjs/third-party/setting/Stamped/FullPage.js +1 -90
  740. package/dist/cjs/third-party/setting/Stamped/InstagramFeed.js +1 -111
  741. package/dist/cjs/third-party/setting/Stamped/MainWidget.js +1 -145
  742. package/dist/cjs/third-party/setting/Stamped/ProductRating.js +1 -73
  743. package/dist/cjs/third-party/setting/Stamped/SingleHighlight.js +1 -22
  744. package/dist/cjs/third-party/setting/Stamped/SiteBadge.js +1 -146
  745. package/dist/cjs/third-party/setting/Stamped/TopRated.js +1 -37
  746. package/dist/cjs/third-party/setting/Stamped/VisualGallery.js +1 -129
  747. package/dist/cjs/third-party/setting/Stamped/WallPhotos.js +1 -31
  748. package/dist/cjs/third-party/setting/Stamped/index.js +1 -51
  749. package/dist/cjs/third-party/setting/Stamped.js +2 -105
  750. package/dist/cjs/third-party/setting/TrustMe.js +2 -81
  751. package/dist/cjs/third-party/setting/Trustoo.js +2 -165
  752. package/dist/cjs/third-party/setting/UltimateSalesBoost.js +2 -180
  753. package/dist/cjs/third-party/setting/Vitals.js +3 -338
  754. package/dist/cjs/third-party/setting/WideBundle.js +2 -81
  755. package/dist/cjs/third-party/setting/Wiser.js +2 -223
  756. package/dist/cjs/third-party/setting/YotpoLoyalty.js +2 -79
  757. package/dist/cjs/third-party/setting/YotpoReviews.js +2 -124
  758. package/dist/cjs/third-party/setting/index.js +1 -87
  759. package/dist/cjs/third-party-instant/components/InstantJudgemeReviews.js +1 -75
  760. package/dist/cjs/third-party-instant/components/InstantKlaviyo.js +1 -47
  761. package/dist/cjs/third-party-instant/components/InstantLooxReviews.js +1 -36
  762. package/dist/cjs/third-party-instant/components/InstantThirdPartyPreview.js +1 -70
  763. package/dist/cjs/third-party-instant/components/InstantYotpoLoyalty.js +1 -43
  764. package/dist/cjs/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -23
  765. package/dist/cjs/third-party-instant/components/Judgeme/SingleProduct.js +1 -48
  766. package/dist/cjs/third-party-instant/components/Judgeme/WithoutProduct.js +1 -93
  767. package/dist/cjs/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -23
  768. package/dist/cjs/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -24
  769. package/dist/cjs/third-party-instant/components/LooxReviews/SingleProduct.js +1 -51
  770. package/dist/cjs/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -55
  771. package/dist/cjs/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
  772. package/dist/cjs/third-party-instant/configs/JudgemeReviews.js +1 -12
  773. package/dist/cjs/third-party-instant/configs/Klaviyo.js +1 -12
  774. package/dist/cjs/third-party-instant/configs/LooxReviews.js +1 -12
  775. package/dist/cjs/third-party-instant/configs/YotpoLoyalty.js +1 -12
  776. package/dist/cjs/third-party-instant/helpers/thirdParty.js +1 -74
  777. package/dist/cjs/third-party-instant/next.js +1 -32
  778. package/dist/cjs/third-party-instant/setting/InstantJudgemeReviews.js +2 -157
  779. package/dist/cjs/third-party-instant/setting/InstantKlaviyo.js +2 -95
  780. package/dist/cjs/third-party-instant/setting/InstantLooxReviews.js +2 -118
  781. package/dist/cjs/third-party-instant/setting/InstantYotpoLoyalty.js +2 -95
  782. package/dist/cjs/third-party-instant/setting/index.js +1 -17
  783. package/dist/cjs/third-party-instant/types/JudgemeReviews.js +1 -13
  784. package/dist/cjs/third-party-slot/components/ThirdPartySlot.js +1 -51
  785. package/dist/cjs/third-party-slot/components/ThirdPartySlot.liquid.js +9 -25
  786. package/dist/cjs/third-party-slot/next.js +1 -15
  787. package/dist/cjs/third-party-slot/setting/ThirdPartySlot.js +2 -105
  788. package/dist/cjs/third-party-slot/setting/index.js +1 -11
  789. package/dist/cjs/video/components/HTML5Embed.js +1 -43
  790. package/dist/cjs/video/components/HTML5Embed.liquid.js +21 -49
  791. package/dist/cjs/video/components/LiteVimeoEmbed.js +1 -117
  792. package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +13 -48
  793. package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -195
  794. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +15 -53
  795. package/dist/cjs/video/components/Video.js +1 -138
  796. package/dist/cjs/video/components/Video.liquid.js +6 -118
  797. package/dist/cjs/video/helpers/common.js +1 -46
  798. package/dist/cjs/video/next.js +1 -15
  799. package/dist/cjs/video/setting/Video.js +3 -451
  800. package/dist/cjs/video/setting/index.js +1 -11
  801. package/dist/esm/accordion/components/Accordion.js +1 -134
  802. package/dist/esm/accordion/components/Accordion.liquid.js +11 -99
  803. package/dist/esm/accordion/components/AccordionItem.js +4 -291
  804. package/dist/esm/accordion/components/AccordionItem.liquid.js +38 -219
  805. package/dist/esm/accordion/hooks/useMountTransition.js +1 -23
  806. package/dist/esm/accordion/next.js +1 -15
  807. package/dist/esm/accordion/setting/Accordion.js +15 -1351
  808. package/dist/esm/accordion/setting/AccordionItem.js +1 -30
  809. package/dist/esm/accordion/setting/ItemTemplate.js +1 -46
  810. package/dist/esm/accordion/setting/index.js +1 -9
  811. package/dist/esm/banner/components/hero-banner/index.js +1 -243
  812. package/dist/esm/banner/components/hero-banner/index.liquid.js +22 -163
  813. package/dist/esm/banner/helpers/common.js +1 -269
  814. package/dist/esm/banner/next.js +1 -11
  815. package/dist/esm/banner/setting/HeroBanner.js +19 -975
  816. package/dist/esm/banner/setting/index.js +1 -7
  817. package/dist/esm/banner/setting/presets/heroBanner1Col.js +2 -108
  818. package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +2 -129
  819. package/dist/esm/banner/setting/presets/heroBannerContentRight.js +2 -129
  820. package/dist/esm/breadcrumb/components/Breadcrumb.js +1 -45
  821. package/dist/esm/breadcrumb/next.js +1 -11
  822. package/dist/esm/breadcrumb/setting/Breadcrumb.js +1 -34
  823. package/dist/esm/breadcrumb/setting/index.js +1 -7
  824. package/dist/esm/builder.js +1 -275
  825. package/dist/esm/button/components/Button.js +8 -134
  826. package/dist/esm/button/components/Button.liquid.js +27 -144
  827. package/dist/esm/button/next.js +1 -11
  828. package/dist/esm/button/setting/Button.js +4 -766
  829. package/dist/esm/button/setting/index.js +1 -7
  830. package/dist/esm/carousel/components/Arrow.js +10 -92
  831. package/dist/esm/carousel/components/Arrow.liquid.js +28 -75
  832. package/dist/esm/carousel/components/Carousel.js +1 -502
  833. package/dist/esm/carousel/components/Carousel.liquid.js +15 -216
  834. package/dist/esm/carousel/components/CarouselItem.js +1 -68
  835. package/dist/esm/carousel/components/CarouselItem.liquid.js +7 -72
  836. package/dist/esm/carousel/components/Dots.js +1 -64
  837. package/dist/esm/carousel/components/Dots.liquid.js +4 -19
  838. package/dist/esm/carousel/components/common/arrow.js +1 -121
  839. package/dist/esm/carousel/components/common/carousel.js +1 -94
  840. package/dist/esm/carousel/components/common/dots.js +1 -51
  841. package/dist/esm/carousel/components/hooks/useTrackPreviewPause.js +1 -30
  842. package/dist/esm/carousel/components/plugins/AnimationPlugin.js +1 -36
  843. package/dist/esm/carousel/components/plugins/AutoPlayPlugin.js +1 -62
  844. package/dist/esm/carousel/components/plugins/FixSliderMoveBackwards.js +1 -13
  845. package/dist/esm/carousel/components/plugins/MutationPlugin.js +1 -43
  846. package/dist/esm/carousel/next.js +1 -15
  847. package/dist/esm/carousel/setting/Carousel.js +7 -1377
  848. package/dist/esm/carousel/setting/CarouselItem.js +1 -36
  849. package/dist/esm/carousel/setting/index.js +1 -9
  850. package/dist/esm/cart/components/Cart.js +1 -80
  851. package/dist/esm/cart/components/CartCheckout.js +1 -14
  852. package/dist/esm/cart/components/CartDiscount.js +1 -9
  853. package/dist/esm/cart/components/CartLineAttribute.js +1 -26
  854. package/dist/esm/cart/components/CartLineImage.js +1 -40
  855. package/dist/esm/cart/components/CartLinePrice.js +1 -41
  856. package/dist/esm/cart/components/CartLineVariant.js +1 -23
  857. package/dist/esm/cart/components/CartList.js +1 -32
  858. package/dist/esm/cart/components/CartOrderNote.js +1 -42
  859. package/dist/esm/cart/components/CartTotalItem.js +1 -19
  860. package/dist/esm/cart/components/CartTotalPrice.js +1 -51
  861. package/dist/esm/cart/components/CheckoutNow.js +1 -37
  862. package/dist/esm/cart/components/CouponList.js +1 -11
  863. package/dist/esm/cart/components/DiscountInput.js +1 -23
  864. package/dist/esm/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -17
  865. package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.js +1 -12
  866. package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -12
  867. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -46
  868. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -17
  869. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -46
  870. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -17
  871. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -44
  872. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -17
  873. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -42
  874. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -17
  875. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -42
  876. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -17
  877. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -42
  878. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -17
  879. package/dist/esm/cart/components/ShopPayButton/index.js +1 -108
  880. package/dist/esm/cart/components/ShopPayButton/index.liquid.js +8 -38
  881. package/dist/esm/cart/next.js +1 -69
  882. package/dist/esm/cart/setting/Cart.js +3 -63
  883. package/dist/esm/cart/setting/CartCheckout.js +1 -16
  884. package/dist/esm/cart/setting/CartDiscount.js +1 -16
  885. package/dist/esm/cart/setting/CartLineAttribute.js +1 -25
  886. package/dist/esm/cart/setting/CartLineImage.js +1 -161
  887. package/dist/esm/cart/setting/CartLinePrice.js +1 -25
  888. package/dist/esm/cart/setting/CartLineVariant.js +1 -25
  889. package/dist/esm/cart/setting/CartList.js +1 -135
  890. package/dist/esm/cart/setting/CartOrderNote.js +1 -40
  891. package/dist/esm/cart/setting/CartTotalItem.js +1 -25
  892. package/dist/esm/cart/setting/CartTotalPrice.js +1 -54
  893. package/dist/esm/cart/setting/CouponList.js +1 -16
  894. package/dist/esm/cart/setting/DiscountInput.js +1 -29
  895. package/dist/esm/cart/setting/ShopPayButton.js +1 -164
  896. package/dist/esm/cart/setting/index.js +1 -33
  897. package/dist/esm/code/components/CSSCode.js +2 -125
  898. package/dist/esm/code/components/CSSCode.liquid.js +7 -26
  899. package/dist/esm/code/next.js +1 -11
  900. package/dist/esm/code/setting/CSSCode.js +3 -171
  901. package/dist/esm/code/setting/index.js +1 -7
  902. package/dist/esm/collection/components/CollectionBanner.js +1 -93
  903. package/dist/esm/collection/components/CollectionBanner.liquid.js +14 -72
  904. package/dist/esm/collection/components/CollectionDescription.js +1 -16
  905. package/dist/esm/collection/components/CollectionDescription.liquid.js +3 -17
  906. package/dist/esm/collection/components/CollectionPaginator.js +1 -146
  907. package/dist/esm/collection/components/CollectionPaginator.liquid.js +9 -54
  908. package/dist/esm/collection/components/CollectionTitle.js +1 -16
  909. package/dist/esm/collection/components/CollectionTitle.liquid.js +3 -17
  910. package/dist/esm/collection/components/CollectionToolbar.js +1 -106
  911. package/dist/esm/collection/components/CollectionToolbar.liquid.js +15 -66
  912. package/dist/esm/collection/next.js +1 -27
  913. package/dist/esm/collection/setting/CollectionBanner.js +10 -528
  914. package/dist/esm/collection/setting/CollectionDescription.js +3 -124
  915. package/dist/esm/collection/setting/CollectionPaginator.js +3 -319
  916. package/dist/esm/collection/setting/CollectionTitle.js +3 -124
  917. package/dist/esm/collection/setting/CollectionToolbar.js +3 -272
  918. package/dist/esm/collection/setting/index.js +1 -15
  919. package/dist/esm/common/components/Loading.js +1 -19
  920. package/dist/esm/common/components/Tooltip.js +1 -0
  921. package/dist/esm/countdown-timer/components/Countdown.js +1 -304
  922. package/dist/esm/countdown-timer/components/Countdown.liquid.js +20 -87
  923. package/dist/esm/countdown-timer/helpers.js +1 -90
  924. package/dist/esm/countdown-timer/hooks/useTimeLeft.js +1 -90
  925. package/dist/esm/countdown-timer/next.js +1 -12
  926. package/dist/esm/countdown-timer/setting/Countdown.js +3 -879
  927. package/dist/esm/countdown-timer/setting/index.js +1 -7
  928. package/dist/esm/dialog/components/Dialog.js +1 -353
  929. package/dist/esm/dialog/components/Dialog.liquid.js +16 -143
  930. package/dist/esm/dialog/helpers/common.js +1 -16
  931. package/dist/esm/dialog/hooks/use-scroll-percentage.js +1 -32
  932. package/dist/esm/dialog/next.js +1 -11
  933. package/dist/esm/dialog/setting/Dialog.js +3 -575
  934. package/dist/esm/dialog/setting/index.js +1 -7
  935. package/dist/esm/form/components/contact/Contact.js +1 -11
  936. package/dist/esm/form/components/contact/Contact.liquid.js +3 -18
  937. package/dist/esm/form/components/form-checkbox/FormCheckbox.js +1 -47
  938. package/dist/esm/form/components/form-checkbox/FormCheckbox.liquid.js +10 -35
  939. package/dist/esm/form/components/form-dropdown/FormDropdown.js +1 -68
  940. package/dist/esm/form/components/form-dropdown/FormDropdown.liquid.js +12 -62
  941. package/dist/esm/form/components/form-email/FormEmail.js +1 -55
  942. package/dist/esm/form/components/form-email/FormEmail.liquid.js +10 -62
  943. package/dist/esm/form/components/newsletter/Newsletter.js +1 -11
  944. package/dist/esm/form/components/newsletter/Newsletter.liquid.js +19 -52
  945. package/dist/esm/form/components/submit-button/SubmitButton.js +1 -27
  946. package/dist/esm/form/components/submit-button/SubmitButton.liquid.js +3 -29
  947. package/dist/esm/form/components/textarea/TextArea.js +1 -71
  948. package/dist/esm/form/components/textarea/TextArea.liquid.js +11 -70
  949. package/dist/esm/form/components/textfield/TextField.js +1 -64
  950. package/dist/esm/form/components/textfield/TextField.liquid.js +11 -70
  951. package/dist/esm/form/next.js +1 -39
  952. package/dist/esm/form/setting/Contact.js +3 -42
  953. package/dist/esm/form/setting/ContactInitConfig.js +1 -226
  954. package/dist/esm/form/setting/FormCheckbox.js +3 -222
  955. package/dist/esm/form/setting/FormCheckboxInitConfig.js +1 -16
  956. package/dist/esm/form/setting/FormDropdown.js +3 -258
  957. package/dist/esm/form/setting/FormDropdownInitConfig.js +1 -31
  958. package/dist/esm/form/setting/FormEmail.js +3 -271
  959. package/dist/esm/form/setting/FormEmailInitConfig.js +1 -31
  960. package/dist/esm/form/setting/Newsletter.js +3 -164
  961. package/dist/esm/form/setting/NewsletterInitConfig.js +1 -131
  962. package/dist/esm/form/setting/SubmitButton.js +4 -649
  963. package/dist/esm/form/setting/SubmitButtonInitConfig.js +1 -28
  964. package/dist/esm/form/setting/TextField.js +3 -302
  965. package/dist/esm/form/setting/Textarea.js +3 -303
  966. package/dist/esm/form/setting/index.js +1 -21
  967. package/dist/esm/grid/components/ChildrenDroppable.js +4 -61
  968. package/dist/esm/grid/components/Col.js +1 -21
  969. package/dist/esm/grid/components/Col.liquid.js +6 -35
  970. package/dist/esm/grid/components/Root.js +1 -9
  971. package/dist/esm/grid/components/Root.liquid.js +1 -5
  972. package/dist/esm/grid/components/Row.js +1 -88
  973. package/dist/esm/grid/components/Row.liquid.js +12 -61
  974. package/dist/esm/grid/components/Section.js +1 -23
  975. package/dist/esm/grid/components/Section.liquid.js +1 -13
  976. package/dist/esm/grid/components/helpers.js +1 -69
  977. package/dist/esm/grid/next.js +1 -23
  978. package/dist/esm/grid/setting/Col.js +1 -30
  979. package/dist/esm/grid/setting/Root.js +1 -15
  980. package/dist/esm/grid/setting/Row.js +39 -510
  981. package/dist/esm/grid/setting/Section.js +34 -358
  982. package/dist/esm/grid/setting/index.js +1 -13
  983. package/dist/esm/header/components/Header.js +1 -28
  984. package/dist/esm/header/components/SalePageHeaderWarning.js +1 -0
  985. package/dist/esm/header/components/icons/ChevronLeft.js +1 -14
  986. package/dist/esm/header/components/icons/Dismiss.js +1 -14
  987. package/dist/esm/header/components/icons/MenuIcon.js +1 -14
  988. package/dist/esm/header/components/kind/basic/DesktopMenu.js +1 -32
  989. package/dist/esm/header/components/kind/basic/DesktopMenuItem.js +1 -62
  990. package/dist/esm/header/components/kind/basic/MenuMobileItem.js +1 -156
  991. package/dist/esm/header/components/kind/basic/MobileMenu.js +1 -153
  992. package/dist/esm/header/components/kind/basic/index.js +1 -105
  993. package/dist/esm/header/components/kind/modern/index.js +1 -29
  994. package/dist/esm/header/hooks/use-body-overlay.js +1 -19
  995. package/dist/esm/header/next.js +1 -11
  996. package/dist/esm/header/setting/Header.js +3 -712
  997. package/dist/esm/header/setting/index.js +1 -7
  998. package/dist/esm/heading/Heading.js +1 -42
  999. package/dist/esm/heading/Heading.liquid.js +1 -43
  1000. package/dist/esm/heading/next.js +1 -11
  1001. package/dist/esm/heading/setting/Heading.js +3 -369
  1002. package/dist/esm/heading/setting/index.js +1 -7
  1003. package/dist/esm/helpers.js +1 -14
  1004. package/dist/esm/hooks/useGetProductId.js +1 -13
  1005. package/dist/esm/icon/components/Icon.js +1 -72
  1006. package/dist/esm/icon/components/Icon.liquid.js +13 -61
  1007. package/dist/esm/icon/next.js +1 -11
  1008. package/dist/esm/icon/setting/Icon.js +3 -299
  1009. package/dist/esm/icon/setting/index.js +1 -7
  1010. package/dist/esm/icon-list/components/IconList.js +1 -77
  1011. package/dist/esm/icon-list/components/IconList.liquid.js +12 -43
  1012. package/dist/esm/icon-list/components/IconListItem.js +1 -25
  1013. package/dist/esm/icon-list/components/IconListItem.liquid.js +4 -15
  1014. package/dist/esm/icon-list/next.js +1 -15
  1015. package/dist/esm/icon-list/setting/IconList.js +4 -295
  1016. package/dist/esm/icon-list/setting/IconListItem.js +1 -36
  1017. package/dist/esm/icon-list/setting/ItemTemplate.js +1 -323
  1018. package/dist/esm/icon-list/setting/index.js +1 -9
  1019. package/dist/esm/icon-list-hoz/components/IconListHoz.js +1 -65
  1020. package/dist/esm/icon-list-hoz/components/IconListHoz.liquid.js +11 -32
  1021. package/dist/esm/icon-list-hoz/components/IconListHozItem.js +1 -26
  1022. package/dist/esm/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -15
  1023. package/dist/esm/icon-list-hoz/next.js +1 -15
  1024. package/dist/esm/icon-list-hoz/setting/IconListHoz.js +3 -217
  1025. package/dist/esm/icon-list-hoz/setting/IconListItem.js +1 -36
  1026. package/dist/esm/icon-list-hoz/setting/ItemTemplate.js +1 -80
  1027. package/dist/esm/icon-list-hoz/setting/index.js +1 -9
  1028. package/dist/esm/icon-list-v2/components/IconList.js +1 -136
  1029. package/dist/esm/icon-list-v2/components/IconList.liquid.js +19 -85
  1030. package/dist/esm/icon-list-v2/next.js +1 -11
  1031. package/dist/esm/icon-list-v2/setting/IconList.js +3 -521
  1032. package/dist/esm/icon-list-v2/setting/index.js +1 -7
  1033. package/dist/esm/icon-list-v2/setting/template.js +1 -110
  1034. package/dist/esm/image/components/AdaptiveImage.js +1 -56
  1035. package/dist/esm/image/components/AdaptiveImage.liquid.js +19 -92
  1036. package/dist/esm/image/components/BackgroundImage.js +1 -97
  1037. package/dist/esm/image/components/Image.js +1 -117
  1038. package/dist/esm/image/components/Image.liquid.js +10 -89
  1039. package/dist/esm/image/components/Img.js +1 -24
  1040. package/dist/esm/image/components/Modal3d.liquid.js +15 -30
  1041. package/dist/esm/image/components/NextImage.js +1 -36
  1042. package/dist/esm/image/components/NextImage.liquid.js +16 -107
  1043. package/dist/esm/image/components/Video.liquid.js +12 -22
  1044. package/dist/esm/image/components/helpers.js +1 -8
  1045. package/dist/esm/image/helpers/getSrcSet.js +1 -50
  1046. package/dist/esm/image/next.js +1 -15
  1047. package/dist/esm/image/setting/BackgroundImage.js +2 -357
  1048. package/dist/esm/image/setting/Image.js +4 -460
  1049. package/dist/esm/image/setting/index.js +1 -9
  1050. package/dist/esm/image-comparison/components/CompareImage.js +5 -556
  1051. package/dist/esm/image-comparison/components/CompareImage.liquid.js +22 -324
  1052. package/dist/esm/image-comparison/components/ImageComparison.js +1 -56
  1053. package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -32
  1054. package/dist/esm/image-comparison/components/Label.liquid.js +13 -41
  1055. package/dist/esm/image-comparison/constants/commonStyles.js +1 -58
  1056. package/dist/esm/image-comparison/next.js +1 -11
  1057. package/dist/esm/image-comparison/setting/ImageComparison.js +3 -877
  1058. package/dist/esm/image-comparison/setting/index.js +1 -7
  1059. package/dist/esm/image-detection/ImageDetection.js +1 -232
  1060. package/dist/esm/image-detection/next.js +1 -11
  1061. package/dist/esm/image-detection/setting/ImageDetection.js +2 -71
  1062. package/dist/esm/image-detection/setting/index.js +1 -7
  1063. package/dist/esm/index.js +1 -180
  1064. package/dist/esm/index.liquid.js +1 -97
  1065. package/dist/esm/input/Input.js +1 -113
  1066. package/dist/esm/input/next.js +1 -11
  1067. package/dist/esm/input/setting/Input.js +2 -117
  1068. package/dist/esm/input/setting/index.js +1 -7
  1069. package/dist/esm/intersection-observer/InView.js +1 -98
  1070. package/dist/esm/intersection-observer/observe.js +1 -109
  1071. package/dist/esm/intersection-observer/useInView.js +1 -101
  1072. package/dist/esm/line/Divider.js +1 -30
  1073. package/dist/esm/line/Divider.liquid.js +4 -29
  1074. package/dist/esm/line/Line.js +1 -161
  1075. package/dist/esm/line/Line.liquid.js +17 -142
  1076. package/dist/esm/line/next.js +1 -11
  1077. package/dist/esm/line/setting/Line.js +3 -577
  1078. package/dist/esm/line/setting/index.js +1 -7
  1079. package/dist/esm/link/components/CustomLink.js +1 -10
  1080. package/dist/esm/link/components/Link.js +1 -32
  1081. package/dist/esm/link/components/ProductLink.js +1 -14
  1082. package/dist/esm/link/components/next-link/CustomLink.js +1 -14
  1083. package/dist/esm/link/components/next-link/ProductLink.js +1 -18
  1084. package/dist/esm/link/components/next-link/index.js +1 -25
  1085. package/dist/esm/link/helpers/url-join.js +1 -54
  1086. package/dist/esm/link/next.js +1 -11
  1087. package/dist/esm/link/setting/Link.js +1 -64
  1088. package/dist/esm/link/setting/index.js +1 -7
  1089. package/dist/esm/menu/components/DropdownMenu.js +1 -63
  1090. package/dist/esm/menu/components/MegaMenu.js +1 -63
  1091. package/dist/esm/menu/components/Menu.js +1 -16
  1092. package/dist/esm/menu/components/NavigationMenu.js +1 -59
  1093. package/dist/esm/menu/components/SubMegaMenu.js +1 -42
  1094. package/dist/esm/menu/components/SubNavigationMenu.js +1 -57
  1095. package/dist/esm/menu/next.js +1 -11
  1096. package/dist/esm/menu/setting/Menu.js +1 -212
  1097. package/dist/esm/menu/setting/index.js +1 -7
  1098. package/dist/esm/modal/components/Modal.js +1 -94
  1099. package/dist/esm/modal/components/confirm.js +1 -152
  1100. package/dist/esm/modal/hooks/useModalContainer.js +1 -17
  1101. package/dist/esm/modal/next.js +1 -11
  1102. package/dist/esm/modal/setting/Modal.js +1 -23
  1103. package/dist/esm/modal/setting/index.js +1 -7
  1104. package/dist/esm/next.js +1 -83
  1105. package/dist/esm/notification/components/Notice.js +1 -70
  1106. package/dist/esm/notification/components/Notifications.js +1 -92
  1107. package/dist/esm/notification/components/icons/CloseIcon.js +1 -13
  1108. package/dist/esm/notification/hooks/use-notification.js +1 -116
  1109. package/dist/esm/pagination/Pagination.js +1 -182
  1110. package/dist/esm/pagination/next.js +1 -11
  1111. package/dist/esm/pagination/setting/Pagination.js +1 -68
  1112. package/dist/esm/pagination/setting/index.js +1 -7
  1113. package/dist/esm/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
  1114. package/dist/esm/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
  1115. package/dist/esm/post-purchase/advanced-list/next.js +1 -0
  1116. package/dist/esm/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
  1117. package/dist/esm/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
  1118. package/dist/esm/post-purchase/advanced-list/setting/index.js +1 -0
  1119. package/dist/esm/post-purchase/advanced-list/setting/template.js +1 -0
  1120. package/dist/esm/post-purchase/button/Button.js +1 -0
  1121. package/dist/esm/post-purchase/button/next.js +1 -0
  1122. package/dist/esm/post-purchase/button/setting/Button.js +22 -0
  1123. package/dist/esm/post-purchase/button/setting/index.js +1 -0
  1124. package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +1 -0
  1125. package/dist/esm/post-purchase/callout-banner/components/CalloutText.js +1 -0
  1126. package/dist/esm/post-purchase/callout-banner/next.js +1 -0
  1127. package/dist/esm/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
  1128. package/dist/esm/post-purchase/callout-banner/setting/CalloutText.js +18 -0
  1129. package/dist/esm/post-purchase/callout-banner/setting/index.js +1 -0
  1130. package/dist/esm/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
  1131. package/dist/esm/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
  1132. package/dist/esm/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
  1133. package/dist/esm/post-purchase/countdown-timer/next.js +1 -0
  1134. package/dist/esm/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
  1135. package/dist/esm/post-purchase/countdown-timer/settings/index.js +1 -0
  1136. package/dist/esm/post-purchase/image/components/AdaptiveImage.js +1 -0
  1137. package/dist/esm/post-purchase/image/components/Image.js +1 -0
  1138. package/dist/esm/post-purchase/image/components/Img.js +1 -0
  1139. package/dist/esm/post-purchase/image/next.js +1 -0
  1140. package/dist/esm/post-purchase/image/setting/Image.js +11 -0
  1141. package/dist/esm/post-purchase/image/setting/index.js +1 -0
  1142. package/dist/esm/post-purchase/line/components/PostPurchaseLine.js +1 -0
  1143. package/dist/esm/post-purchase/line/next.js +1 -0
  1144. package/dist/esm/post-purchase/line/setting/PostPurchaseLine.js +9 -0
  1145. package/dist/esm/post-purchase/line/setting/index.js +1 -0
  1146. package/dist/esm/post-purchase/next.js +1 -0
  1147. package/dist/esm/post-purchase/product/components/AcceptButton.js +1 -0
  1148. package/dist/esm/post-purchase/product/components/ProductDescription.js +1 -0
  1149. package/dist/esm/post-purchase/product/components/ProductDiscountTag.js +1 -0
  1150. package/dist/esm/post-purchase/product/components/ProductOffer.js +1 -0
  1151. package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -0
  1152. package/dist/esm/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
  1153. package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -0
  1154. package/dist/esm/post-purchase/product/components/ProductTitle.js +1 -0
  1155. package/dist/esm/post-purchase/product/components/ProductVariant.js +1 -0
  1156. package/dist/esm/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
  1157. package/dist/esm/post-purchase/product/components/product-image/Arrow.js +1 -0
  1158. package/dist/esm/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
  1159. package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +1 -0
  1160. package/dist/esm/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
  1161. package/dist/esm/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
  1162. package/dist/esm/post-purchase/product/components/product-image/index.js +1 -0
  1163. package/dist/esm/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
  1164. package/dist/esm/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
  1165. package/dist/esm/post-purchase/product/components/variants/Dropdown.js +1 -0
  1166. package/dist/esm/post-purchase/product/components/variants/DropdownOption.js +1 -0
  1167. package/dist/esm/post-purchase/product/components/variants/RectangleList.js +1 -0
  1168. package/dist/esm/post-purchase/product/components/variants/VariantGroup.js +1 -0
  1169. package/dist/esm/post-purchase/product/components/variants/VariantItem.js +1 -0
  1170. package/dist/esm/post-purchase/product/components/variants/VariantOption.js +1 -0
  1171. package/dist/esm/post-purchase/product/helpers/index.js +1 -0
  1172. package/dist/esm/post-purchase/product/next.js +1 -0
  1173. package/dist/esm/post-purchase/product/settings/AcceptButton.js +22 -0
  1174. package/dist/esm/post-purchase/product/settings/ProductDescription.js +9 -0
  1175. package/dist/esm/post-purchase/product/settings/ProductDiscountTag.js +4 -0
  1176. package/dist/esm/post-purchase/product/settings/ProductOffer.js +53 -0
  1177. package/dist/esm/post-purchase/product/settings/ProductPrice.js +15 -0
  1178. package/dist/esm/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
  1179. package/dist/esm/post-purchase/product/settings/ProductQuantity.js +25 -0
  1180. package/dist/esm/post-purchase/product/settings/ProductTitle.js +9 -0
  1181. package/dist/esm/post-purchase/product/settings/ProductVariant.js +27 -0
  1182. package/dist/esm/post-purchase/product/settings/index.js +1 -0
  1183. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
  1184. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
  1185. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
  1186. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
  1187. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
  1188. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
  1189. package/dist/esm/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
  1190. package/dist/esm/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
  1191. package/dist/esm/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
  1192. package/dist/esm/post-purchase/product/settings/product-image/ProductImages.js +21 -0
  1193. package/dist/esm/post-purchase/text/Text.js +1 -0
  1194. package/dist/esm/post-purchase/text/index.js +1 -0
  1195. package/dist/esm/post-purchase/text/next.js +1 -0
  1196. package/dist/esm/post-purchase/text/setting/Heading.js +3 -0
  1197. package/dist/esm/post-purchase/text/setting/Text.js +7 -0
  1198. package/dist/esm/post-purchase/text/setting/index.js +1 -0
  1199. package/dist/esm/post-purchase/utils/constants.js +1 -0
  1200. package/dist/esm/post-purchase/utils/helper.js +1 -0
  1201. package/dist/esm/product/components/DynamicCheckout.js +1 -22
  1202. package/dist/esm/product/components/DynamicCheckout.liquid.js +59 -102
  1203. package/dist/esm/product/components/Product.js +1 -94
  1204. package/dist/esm/product/components/Product.liquid.js +21 -47
  1205. package/dist/esm/product/components/ProductButton.js +1 -230
  1206. package/dist/esm/product/components/ProductButton.liquid.js +9 -112
  1207. package/dist/esm/product/components/ProductDescription.js +2 -103
  1208. package/dist/esm/product/components/ProductDescription.liquid.js +14 -76
  1209. package/dist/esm/product/components/ProductImages/ProductFeaturedImage.js +1 -248
  1210. package/dist/esm/product/components/ProductImages/ProductGalleryCarousel.js +1 -199
  1211. package/dist/esm/product/components/ProductImages/ProductGalleryGrid.js +1 -159
  1212. package/dist/esm/product/components/ProductImages/ProductImagesLightBox.js +1 -114
  1213. package/dist/esm/product/components/ProductImages/common/common.js +1 -103
  1214. package/dist/esm/product/components/ProductImages/common/productFeaturedImage.js +1 -90
  1215. package/dist/esm/product/components/ProductImages/common/productGallery.js +1 -188
  1216. package/dist/esm/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -104
  1217. package/dist/esm/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -104
  1218. package/dist/esm/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -58
  1219. package/dist/esm/product/components/ProductImages.js +1 -280
  1220. package/dist/esm/product/components/ProductImages.liquid.js +17 -84
  1221. package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -198
  1222. package/dist/esm/product/components/ProductImagesV2/common/hoverAction.js +1 -89
  1223. package/dist/esm/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -16
  1224. package/dist/esm/product/components/ProductImagesV2/common/productGallery.js +1 -223
  1225. package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +11 -212
  1226. package/dist/esm/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -23
  1227. package/dist/esm/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -58
  1228. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -264
  1229. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -257
  1230. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -154
  1231. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -114
  1232. package/dist/esm/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -149
  1233. package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -20
  1234. package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -20
  1235. package/dist/esm/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -28
  1236. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -295
  1237. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -226
  1238. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -203
  1239. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -71
  1240. package/dist/esm/product/components/ProductList.js +1 -202
  1241. package/dist/esm/product/components/ProductList.liquid.js +135 -164
  1242. package/dist/esm/product/components/ProductNotFound.js +1 -137
  1243. package/dist/esm/product/components/ProductPrice.js +1 -67
  1244. package/dist/esm/product/components/ProductPrice.liquid.js +13 -46
  1245. package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.js +1 -52
  1246. package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -49
  1247. package/dist/esm/product/components/ProductProperties/ProductPropertyInput.js +1 -57
  1248. package/dist/esm/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -106
  1249. package/dist/esm/product/components/ProductProperties/ProductPropertySelect.js +1 -37
  1250. package/dist/esm/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -45
  1251. package/dist/esm/product/components/ProductProperties.js +1 -264
  1252. package/dist/esm/product/components/ProductProperties.liquid.js +16 -73
  1253. package/dist/esm/product/components/ProductQuantity.js +1 -193
  1254. package/dist/esm/product/components/ProductQuantity.liquid.js +17 -108
  1255. package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +1 -154
  1256. package/dist/esm/product/components/ProductQuickView/index.js +1 -16
  1257. package/dist/esm/product/components/ProductTag.js +1 -110
  1258. package/dist/esm/product/components/ProductTag.liquid.js +22 -78
  1259. package/dist/esm/product/components/ProductTitle.js +1 -36
  1260. package/dist/esm/product/components/ProductTitle.liquid.js +7 -31
  1261. package/dist/esm/product/components/ProductVariants/common.js +1 -64
  1262. package/dist/esm/product/components/ProductVariants/index.js +1 -306
  1263. package/dist/esm/product/components/ProductVariants/index.liquid.js +28 -186
  1264. package/dist/esm/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
  1265. package/dist/esm/product/components/ProductVariants/variants/Base.js +11 -260
  1266. package/dist/esm/product/components/ProductVariants/variants/Base.liquid.js +19 -118
  1267. package/dist/esm/product/components/ProductVariants/variants/Color.js +1 -18
  1268. package/dist/esm/product/components/ProductVariants/variants/Color.liquid.js +3 -13
  1269. package/dist/esm/product/components/ProductVariants/variants/Dropdown.js +1 -144
  1270. package/dist/esm/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -49
  1271. package/dist/esm/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -55
  1272. package/dist/esm/product/components/ProductVariants/variants/DropdownOption.js +1 -17
  1273. package/dist/esm/product/components/ProductVariants/variants/Image.js +1 -18
  1274. package/dist/esm/product/components/ProductVariants/variants/Image.liquid.js +3 -13
  1275. package/dist/esm/product/components/ProductVariants/variants/ImageShopify.js +1 -35
  1276. package/dist/esm/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -13
  1277. package/dist/esm/product/components/ProductVariants/variants/RadioButtons.js +1 -58
  1278. package/dist/esm/product/components/ProductVariants/variants/RectangleList.js +1 -64
  1279. package/dist/esm/product/components/ProductVariants/variants/VariantGroup.js +1 -34
  1280. package/dist/esm/product/components/ProductVariants/variants/VariantOption/index.js +1 -16
  1281. package/dist/esm/product/components/ProductVariants/variants/index.js +1 -109
  1282. package/dist/esm/product/components/ProductVariants/variants/index.liquid.js +27 -71
  1283. package/dist/esm/product/components/SalePageProductListWarning.js +1 -0
  1284. package/dist/esm/product/components/Vendor.js +1 -34
  1285. package/dist/esm/product/components/Vendor.liquid.js +7 -31
  1286. package/dist/esm/product/helpers/function.js +1 -39
  1287. package/dist/esm/product/helpers/product-image.js +1 -31
  1288. package/dist/esm/product/helpers/product.js +1 -51
  1289. package/dist/esm/product/helpers/tracking.js +1 -9
  1290. package/dist/esm/product/next.js +1 -69
  1291. package/dist/esm/product/setting/DynamicCheckout.js +3 -547
  1292. package/dist/esm/product/setting/Product.js +35 -377
  1293. package/dist/esm/product/setting/ProductButton.js +4 -1075
  1294. package/dist/esm/product/setting/ProductDescription.js +2 -295
  1295. package/dist/esm/product/setting/ProductImages.js +5 -1197
  1296. package/dist/esm/product/setting/ProductList.js +3 -1193
  1297. package/dist/esm/product/setting/ProductPrice.js +4 -353
  1298. package/dist/esm/product/setting/ProductProperties.js +3 -971
  1299. package/dist/esm/product/setting/ProductQuantity.js +3 -606
  1300. package/dist/esm/product/setting/ProductTag.js +2 -246
  1301. package/dist/esm/product/setting/ProductTitle.js +3 -348
  1302. package/dist/esm/product/setting/ProductVariants.js +4 -1419
  1303. package/dist/esm/product/setting/Vendor.js +3 -334
  1304. package/dist/esm/product/setting/index.js +1 -33
  1305. package/dist/esm/product/setting/presets-config/product-presets/product-1-col.js +9 -273
  1306. package/dist/esm/product/setting/presets-config/product-presets/product-2-col.js +12 -281
  1307. package/dist/esm/product/setting/presets-config/product-presets/product-default.js +13 -281
  1308. package/dist/esm/product/setting/product-image-v2/ProductFeatureImage.js +2 -515
  1309. package/dist/esm/product/setting/product-image-v2/ProductGalleryImage.js +2 -643
  1310. package/dist/esm/product/setting/product-image-v2/ProductImages.js +4 -435
  1311. package/dist/esm/product/setting/swatches-style-config/color.js +1 -0
  1312. package/dist/esm/product/setting/swatches-style-config/dropdown.js +1 -0
  1313. package/dist/esm/product/setting/swatches-style-config/image-shopify.js +1 -0
  1314. package/dist/esm/product/setting/swatches-style-config/image.js +1 -0
  1315. package/dist/esm/product/setting/swatches-style-config/rectangle-list.js +1 -0
  1316. package/dist/esm/radio/Radio.js +1 -33
  1317. package/dist/esm/radio/next.js +1 -11
  1318. package/dist/esm/radio/setting/Radio.js +1 -66
  1319. package/dist/esm/radio/setting/index.js +1 -7
  1320. package/dist/esm/select/Select.js +2 -56
  1321. package/dist/esm/select/next.js +1 -11
  1322. package/dist/esm/select/setting/index.js +1 -7
  1323. package/dist/esm/sticky/components/Sticky.js +1 -156
  1324. package/dist/esm/sticky/components/Sticky.liquid.js +10 -73
  1325. package/dist/esm/sticky/next.js +1 -11
  1326. package/dist/esm/sticky/setting/Sticky.js +1 -230
  1327. package/dist/esm/sticky/setting/index.js +1 -7
  1328. package/dist/esm/sticky/setting/preset-config.js +2 -876
  1329. package/dist/esm/stock-counter/components/StockCounter.js +1 -111
  1330. package/dist/esm/stock-counter/components/StockCounter.liquid.js +23 -100
  1331. package/dist/esm/stock-counter/const.js +1 -20
  1332. package/dist/esm/stock-counter/helpers.js +5 -59
  1333. package/dist/esm/stock-counter/next.js +1 -11
  1334. package/dist/esm/stock-counter/setting/StockCounter.js +4 -624
  1335. package/dist/esm/stock-counter/setting/index.js +1 -7
  1336. package/dist/esm/tab/components/TabItem.js +1 -20
  1337. package/dist/esm/tab/components/TabItem.liquid.js +6 -19
  1338. package/dist/esm/tab/components/Tabs.js +1 -129
  1339. package/dist/esm/tab/components/Tabs.liquid.js +18 -79
  1340. package/dist/esm/tab/components/common.js +1 -39
  1341. package/dist/esm/tab/next.js +1 -15
  1342. package/dist/esm/tab/setting/TabItem.js +2 -29
  1343. package/dist/esm/tab/setting/Tabs.js +3 -569
  1344. package/dist/esm/tab/setting/index.js +1 -9
  1345. package/dist/esm/text/components/Text.js +1 -95
  1346. package/dist/esm/text/components/Text.liquid.js +10 -84
  1347. package/dist/esm/text/index.js +1 -5
  1348. package/dist/esm/text/next.js +1 -11
  1349. package/dist/esm/text/setting/Text.js +3 -414
  1350. package/dist/esm/text/setting/index.js +1 -7
  1351. package/dist/esm/textarea/Textarea.js +1 -34
  1352. package/dist/esm/textarea/next.js +1 -11
  1353. package/dist/esm/textarea/setting/Textarea.js +2 -103
  1354. package/dist/esm/textarea/setting/index.js +1 -7
  1355. package/dist/esm/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -24
  1356. package/dist/esm/third-party/components/AliReviews.js +1 -18
  1357. package/dist/esm/third-party/components/AliReviews.liquid.js +8 -17
  1358. package/dist/esm/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -19
  1359. package/dist/esm/third-party/components/AppstleSubscriptions.js +1 -18
  1360. package/dist/esm/third-party/components/AppstleSubscriptions.liquid.js +4 -13
  1361. package/dist/esm/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -19
  1362. package/dist/esm/third-party/components/BoldProductOptions.js +1 -18
  1363. package/dist/esm/third-party/components/BoldProductOptions.liquid.js +4 -13
  1364. package/dist/esm/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -30
  1365. package/dist/esm/third-party/components/BoldSubscriptions.js +1 -18
  1366. package/dist/esm/third-party/components/BoldSubscriptions.liquid.js +5 -14
  1367. package/dist/esm/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -19
  1368. package/dist/esm/third-party/components/BoostAISearchDiscovery.js +1 -18
  1369. package/dist/esm/third-party/components/BoostAISearchDiscovery.liquid.js +5 -13
  1370. package/dist/esm/third-party/components/Bundler/BundlerSampleContent.js +1 -19
  1371. package/dist/esm/third-party/components/Bundler.js +1 -20
  1372. package/dist/esm/third-party/components/Bundler.liquid.js +5 -18
  1373. package/dist/esm/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -19
  1374. package/dist/esm/third-party/components/CrossSellCartUpsell.js +1 -18
  1375. package/dist/esm/third-party/components/CrossSellCartUpsell.liquid.js +5 -20
  1376. package/dist/esm/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -45
  1377. package/dist/esm/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -50
  1378. package/dist/esm/third-party/components/FeraReviews.js +1 -22
  1379. package/dist/esm/third-party/components/FeraReviews.liquid.js +5 -16
  1380. package/dist/esm/third-party/components/FirePush/FirePushSampleContent.js +1 -17
  1381. package/dist/esm/third-party/components/FirePush.js +1 -18
  1382. package/dist/esm/third-party/components/FirePush.liquid.js +4 -13
  1383. package/dist/esm/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -19
  1384. package/dist/esm/third-party/components/FrequentlyBoughtTogether.js +1 -20
  1385. package/dist/esm/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -14
  1386. package/dist/esm/third-party/components/Growave/GrowaveSampleContent.js +1 -34
  1387. package/dist/esm/third-party/components/Growave.js +1 -18
  1388. package/dist/esm/third-party/components/Growave.liquid.js +5 -14
  1389. package/dist/esm/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -19
  1390. package/dist/esm/third-party/components/InfiniteOptions.js +1 -18
  1391. package/dist/esm/third-party/components/InfiniteOptions.liquid.js +4 -12
  1392. package/dist/esm/third-party/components/Instafeed/InstafeedSampleContent.js +1 -19
  1393. package/dist/esm/third-party/components/Instafeed.js +1 -18
  1394. package/dist/esm/third-party/components/Instafeed.liquid.js +4 -13
  1395. package/dist/esm/third-party/components/Judgeme/JudgemeSampleContent.js +1 -35
  1396. package/dist/esm/third-party/components/JudgemeReviews.js +1 -19
  1397. package/dist/esm/third-party/components/JudgemeReviews.liquid.js +5 -14
  1398. package/dist/esm/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -23
  1399. package/dist/esm/third-party/components/KachingBundles.js +1 -18
  1400. package/dist/esm/third-party/components/KachingBundles.liquid.js +4 -13
  1401. package/dist/esm/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -19
  1402. package/dist/esm/third-party/components/Klaviyo.js +1 -26
  1403. package/dist/esm/third-party/components/Klaviyo.liquid.js +5 -15
  1404. package/dist/esm/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -54
  1405. package/dist/esm/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -41
  1406. package/dist/esm/third-party/components/LaiProductReviews.js +1 -20
  1407. package/dist/esm/third-party/components/LaiProductReviews.liquid.js +5 -17
  1408. package/dist/esm/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -31
  1409. package/dist/esm/third-party/components/LooxReviews.js +1 -18
  1410. package/dist/esm/third-party/components/LooxReviews.liquid.js +9 -47
  1411. package/dist/esm/third-party/components/Omnisend/OmnisendSampleContent.js +1 -30
  1412. package/dist/esm/third-party/components/Omnisend.js +1 -18
  1413. package/dist/esm/third-party/components/Omnisend.liquid.js +9 -18
  1414. package/dist/esm/third-party/components/Opinew/OpinewSampleContent.js +1 -29
  1415. package/dist/esm/third-party/components/Opinew.js +1 -18
  1416. package/dist/esm/third-party/components/Opinew.liquid.js +6 -15
  1417. package/dist/esm/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -19
  1418. package/dist/esm/third-party/components/ParcelPanel.js +1 -18
  1419. package/dist/esm/third-party/components/ParcelPanel.liquid.js +4 -13
  1420. package/dist/esm/third-party/components/PickyStory/PickyStorySampleContent.js +1 -32
  1421. package/dist/esm/third-party/components/PickyStory.js +1 -18
  1422. package/dist/esm/third-party/components/PickyStory.liquid.js +5 -14
  1423. package/dist/esm/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -25
  1424. package/dist/esm/third-party/components/ProductReviews.js +1 -18
  1425. package/dist/esm/third-party/components/ProductReviews.liquid.js +5 -14
  1426. package/dist/esm/third-party/components/Rivyo/RivyoSampleContent.js +1 -32
  1427. package/dist/esm/third-party/components/Rivyo.js +1 -18
  1428. package/dist/esm/third-party/components/Rivyo.liquid.js +5 -14
  1429. package/dist/esm/third-party/components/Ryviu/RyviuSampleContent.js +1 -33
  1430. package/dist/esm/third-party/components/Ryviu.js +1 -18
  1431. package/dist/esm/third-party/components/Ryviu.liquid.js +5 -14
  1432. package/dist/esm/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -19
  1433. package/dist/esm/third-party/components/SealSubscriptions.js +1 -18
  1434. package/dist/esm/third-party/components/SealSubscriptions.liquid.js +4 -13
  1435. package/dist/esm/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -19
  1436. package/dist/esm/third-party/components/SmartSearchBarAndFilters.js +1 -20
  1437. package/dist/esm/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -16
  1438. package/dist/esm/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -172
  1439. package/dist/esm/third-party/components/Stamped/StampedSampleContent.js +1 -42
  1440. package/dist/esm/third-party/components/Stamped.js +1 -18
  1441. package/dist/esm/third-party/components/Stamped.liquid.js +5 -16
  1442. package/dist/esm/third-party/components/ThirdPartyPreview.js +1 -69
  1443. package/dist/esm/third-party/components/TrustMe/TrustMeSampleContent.js +1 -19
  1444. package/dist/esm/third-party/components/TrustMe.js +1 -18
  1445. package/dist/esm/third-party/components/TrustMe.liquid.js +4 -13
  1446. package/dist/esm/third-party/components/Trustoo/TrustooSampleContent.js +1 -31
  1447. package/dist/esm/third-party/components/Trustoo.js +1 -18
  1448. package/dist/esm/third-party/components/Trustoo.liquid.js +6 -15
  1449. package/dist/esm/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -29
  1450. package/dist/esm/third-party/components/UltimateSalesBoost.js +1 -18
  1451. package/dist/esm/third-party/components/UltimateSalesBoost.liquid.js +5 -14
  1452. package/dist/esm/third-party/components/Vitals/VitalsSampleContent.js +1 -47
  1453. package/dist/esm/third-party/components/Vitals.js +1 -18
  1454. package/dist/esm/third-party/components/Vitals.liquid.js +5 -14
  1455. package/dist/esm/third-party/components/WideBundle/WideBundleSampleContent.js +1 -19
  1456. package/dist/esm/third-party/components/WideBundle.js +1 -18
  1457. package/dist/esm/third-party/components/WideBundle.liquid.js +4 -13
  1458. package/dist/esm/third-party/components/Wiser/WiserSampleContent.js +1 -53
  1459. package/dist/esm/third-party/components/Wiser.js +1 -22
  1460. package/dist/esm/third-party/components/Wiser.liquid.js +5 -15
  1461. package/dist/esm/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
  1462. package/dist/esm/third-party/components/YotpoLoyalty.js +1 -39
  1463. package/dist/esm/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -31
  1464. package/dist/esm/third-party/components/YotpoReviews.js +1 -18
  1465. package/dist/esm/third-party/components/YotpoReviews.liquid.js +6 -15
  1466. package/dist/esm/third-party/configs/AliReviews.js +1 -8
  1467. package/dist/esm/third-party/configs/AppstleSubscriptions.js +1 -8
  1468. package/dist/esm/third-party/configs/BoldProductOptions.js +1 -8
  1469. package/dist/esm/third-party/configs/BoldSubscription.js +1 -8
  1470. package/dist/esm/third-party/configs/BoostAISearchDiscovery.js +1 -8
  1471. package/dist/esm/third-party/configs/Bundler.js +1 -8
  1472. package/dist/esm/third-party/configs/CrossSellCartUpsell.js +1 -8
  1473. package/dist/esm/third-party/configs/FeraReviews.js +1 -8
  1474. package/dist/esm/third-party/configs/FirePush.js +1 -8
  1475. package/dist/esm/third-party/configs/FrequentlyBoughtTogether.js +1 -8
  1476. package/dist/esm/third-party/configs/Growave.js +1 -8
  1477. package/dist/esm/third-party/configs/InfiniteOptions.js +1 -8
  1478. package/dist/esm/third-party/configs/Instafeed.js +1 -8
  1479. package/dist/esm/third-party/configs/JudgemeReviews.js +1 -8
  1480. package/dist/esm/third-party/configs/KachingBundles.js +1 -8
  1481. package/dist/esm/third-party/configs/Klaviyo.js +1 -8
  1482. package/dist/esm/third-party/configs/LaiProductReviews.js +1 -8
  1483. package/dist/esm/third-party/configs/LooxReviews.js +1 -8
  1484. package/dist/esm/third-party/configs/Omnisend.js +1 -8
  1485. package/dist/esm/third-party/configs/Opinew.js +1 -8
  1486. package/dist/esm/third-party/configs/ParcelPanel.js +1 -8
  1487. package/dist/esm/third-party/configs/PickyStory.js +1 -8
  1488. package/dist/esm/third-party/configs/ProductReviews.js +1 -8
  1489. package/dist/esm/third-party/configs/Rivyo.js +1 -8
  1490. package/dist/esm/third-party/configs/Ryviu.js +1 -8
  1491. package/dist/esm/third-party/configs/SealSubscriptions.js +1 -8
  1492. package/dist/esm/third-party/configs/SmartSearchBarAndFilters.js +1 -8
  1493. package/dist/esm/third-party/configs/Stamped.js +1 -8
  1494. package/dist/esm/third-party/configs/TrustMe.js +1 -8
  1495. package/dist/esm/third-party/configs/Trustoo.js +1 -8
  1496. package/dist/esm/third-party/configs/UltimateSalesBoost.js +1 -8
  1497. package/dist/esm/third-party/configs/Vitals.js +1 -8
  1498. package/dist/esm/third-party/configs/WideBundle.js +1 -8
  1499. package/dist/esm/third-party/configs/Wiser.js +1 -8
  1500. package/dist/esm/third-party/configs/YotpoLoyalty.js +1 -8
  1501. package/dist/esm/third-party/configs/YotpoReviews.js +1 -8
  1502. package/dist/esm/third-party/helpers/thirdParty.js +1 -33
  1503. package/dist/esm/third-party/next.js +1 -202
  1504. package/dist/esm/third-party/setting/AliReviews.js +4 -163
  1505. package/dist/esm/third-party/setting/AppstleSubscriptions.js +4 -93
  1506. package/dist/esm/third-party/setting/BoldProductOptions.js +4 -79
  1507. package/dist/esm/third-party/setting/BoldSubscriptions.js +4 -104
  1508. package/dist/esm/third-party/setting/BoostAISearchDiscovery.js +4 -82
  1509. package/dist/esm/third-party/setting/Bundler.js +4 -97
  1510. package/dist/esm/third-party/setting/CrossSellCartUpsell.js +4 -79
  1511. package/dist/esm/third-party/setting/FeraReviews.js +4 -390
  1512. package/dist/esm/third-party/setting/FirePush.js +4 -79
  1513. package/dist/esm/third-party/setting/FrequentlyBoughtTogether.js +6 -99
  1514. package/dist/esm/third-party/setting/Growave.js +4 -136
  1515. package/dist/esm/third-party/setting/InfiniteOptions.js +4 -79
  1516. package/dist/esm/third-party/setting/Instafeed.js +4 -85
  1517. package/dist/esm/third-party/setting/JudgemeReviews.js +4 -149
  1518. package/dist/esm/third-party/setting/KachingBundles.js +4 -84
  1519. package/dist/esm/third-party/setting/Klaviyo.js +4 -94
  1520. package/dist/esm/third-party/setting/LaiProductReviews.js +4 -200
  1521. package/dist/esm/third-party/setting/LooxReviews.js +4 -143
  1522. package/dist/esm/third-party/setting/Omnisend.js +4 -144
  1523. package/dist/esm/third-party/setting/Opinew.js +4 -187
  1524. package/dist/esm/third-party/setting/ParcelPanel.js +4 -88
  1525. package/dist/esm/third-party/setting/PickyStory.js +4 -112
  1526. package/dist/esm/third-party/setting/ProductReviews.js +4 -104
  1527. package/dist/esm/third-party/setting/Rivyo.js +4 -112
  1528. package/dist/esm/third-party/setting/Ryviu.js +4 -116
  1529. package/dist/esm/third-party/setting/SealSubscriptions.js +4 -93
  1530. package/dist/esm/third-party/setting/SmartSearchBarAndFilters.js +4 -94
  1531. package/dist/esm/third-party/setting/Stamped/Badge.js +1 -115
  1532. package/dist/esm/third-party/setting/Stamped/BadgeDouble.js +1 -20
  1533. package/dist/esm/third-party/setting/Stamped/BadgeRibbon.js +1 -59
  1534. package/dist/esm/third-party/setting/Stamped/BadgeSingle.js +1 -20
  1535. package/dist/esm/third-party/setting/Stamped/Carousel.js +1 -124
  1536. package/dist/esm/third-party/setting/Stamped/CheckoutReviews.js +1 -105
  1537. package/dist/esm/third-party/setting/Stamped/Colors.js +1 -56
  1538. package/dist/esm/third-party/setting/Stamped/Filters.js +1 -248
  1539. package/dist/esm/third-party/setting/Stamped/FullPage.js +1 -88
  1540. package/dist/esm/third-party/setting/Stamped/InstagramFeed.js +1 -109
  1541. package/dist/esm/third-party/setting/Stamped/MainWidget.js +1 -143
  1542. package/dist/esm/third-party/setting/Stamped/ProductRating.js +1 -71
  1543. package/dist/esm/third-party/setting/Stamped/SingleHighlight.js +1 -20
  1544. package/dist/esm/third-party/setting/Stamped/SiteBadge.js +1 -144
  1545. package/dist/esm/third-party/setting/Stamped/TopRated.js +1 -35
  1546. package/dist/esm/third-party/setting/Stamped/VisualGallery.js +1 -127
  1547. package/dist/esm/third-party/setting/Stamped/WallPhotos.js +1 -29
  1548. package/dist/esm/third-party/setting/Stamped/index.js +1 -48
  1549. package/dist/esm/third-party/setting/Stamped.js +4 -103
  1550. package/dist/esm/third-party/setting/TrustMe.js +4 -79
  1551. package/dist/esm/third-party/setting/Trustoo.js +4 -163
  1552. package/dist/esm/third-party/setting/UltimateSalesBoost.js +4 -177
  1553. package/dist/esm/third-party/setting/Vitals.js +5 -336
  1554. package/dist/esm/third-party/setting/WideBundle.js +4 -79
  1555. package/dist/esm/third-party/setting/Wiser.js +4 -221
  1556. package/dist/esm/third-party/setting/YotpoLoyalty.js +4 -77
  1557. package/dist/esm/third-party/setting/YotpoReviews.js +4 -122
  1558. package/dist/esm/third-party/setting/index.js +1 -83
  1559. package/dist/esm/third-party-instant/components/InstantJudgemeReviews.js +1 -71
  1560. package/dist/esm/third-party-instant/components/InstantKlaviyo.js +1 -43
  1561. package/dist/esm/third-party-instant/components/InstantLooxReviews.js +1 -32
  1562. package/dist/esm/third-party-instant/components/InstantThirdPartyPreview.js +1 -66
  1563. package/dist/esm/third-party-instant/components/InstantYotpoLoyalty.js +1 -39
  1564. package/dist/esm/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -19
  1565. package/dist/esm/third-party-instant/components/Judgeme/SingleProduct.js +1 -44
  1566. package/dist/esm/third-party-instant/components/Judgeme/WithoutProduct.js +1 -89
  1567. package/dist/esm/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -19
  1568. package/dist/esm/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -20
  1569. package/dist/esm/third-party-instant/components/LooxReviews/SingleProduct.js +1 -47
  1570. package/dist/esm/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -51
  1571. package/dist/esm/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
  1572. package/dist/esm/third-party-instant/configs/JudgemeReviews.js +1 -8
  1573. package/dist/esm/third-party-instant/configs/Klaviyo.js +1 -8
  1574. package/dist/esm/third-party-instant/configs/LooxReviews.js +1 -8
  1575. package/dist/esm/third-party-instant/configs/YotpoLoyalty.js +1 -8
  1576. package/dist/esm/third-party-instant/helpers/thirdParty.js +1 -68
  1577. package/dist/esm/third-party-instant/next.js +1 -28
  1578. package/dist/esm/third-party-instant/setting/InstantJudgemeReviews.js +4 -155
  1579. package/dist/esm/third-party-instant/setting/InstantKlaviyo.js +4 -93
  1580. package/dist/esm/third-party-instant/setting/InstantLooxReviews.js +4 -116
  1581. package/dist/esm/third-party-instant/setting/InstantYotpoLoyalty.js +4 -93
  1582. package/dist/esm/third-party-instant/setting/index.js +1 -13
  1583. package/dist/esm/third-party-instant/types/JudgemeReviews.js +1 -7
  1584. package/dist/esm/third-party-slot/components/ThirdPartySlot.js +1 -47
  1585. package/dist/esm/third-party-slot/components/ThirdPartySlot.liquid.js +9 -21
  1586. package/dist/esm/third-party-slot/next.js +1 -11
  1587. package/dist/esm/third-party-slot/setting/ThirdPartySlot.js +2 -101
  1588. package/dist/esm/third-party-slot/setting/index.js +1 -7
  1589. package/dist/esm/video/components/HTML5Embed.js +1 -39
  1590. package/dist/esm/video/components/HTML5Embed.liquid.js +21 -45
  1591. package/dist/esm/video/components/LiteVimeoEmbed.js +1 -113
  1592. package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +13 -44
  1593. package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -191
  1594. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +15 -49
  1595. package/dist/esm/video/components/Video.js +1 -134
  1596. package/dist/esm/video/components/Video.liquid.js +6 -114
  1597. package/dist/esm/video/helpers/common.js +1 -38
  1598. package/dist/esm/video/next.js +1 -11
  1599. package/dist/esm/video/setting/Video.js +3 -447
  1600. package/dist/esm/video/setting/index.js +1 -7
  1601. package/dist/types/index.d.ts +1084 -192
  1602. package/package.json +3 -3
  1603. package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +0 -36
  1604. package/dist/cjs/third-party/components/Bogos.js +0 -22
  1605. package/dist/cjs/third-party/components/Bogos.liquid.js +0 -31
  1606. package/dist/cjs/third-party/components/CleanSizeChars.js +0 -43
  1607. package/dist/cjs/third-party/components/CleanSizeCharts.liquid.js +0 -22
  1608. package/dist/cjs/third-party/components/PushOwl.js +0 -9
  1609. package/dist/cjs/third-party/components/PushOwl.liquid.js +0 -37
  1610. package/dist/cjs/third-party/configs/Bogos.js +0 -12
  1611. package/dist/cjs/third-party/configs/PushOwl.js +0 -12
  1612. package/dist/cjs/third-party/setting/Bogos.js +0 -167
  1613. package/dist/cjs/third-party/setting/CleanSizeCharts.js +0 -152
  1614. package/dist/cjs/third-party/setting/PushOwl.js +0 -762
  1615. package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +0 -32
  1616. package/dist/esm/third-party/components/Bogos.js +0 -18
  1617. package/dist/esm/third-party/components/Bogos.liquid.js +0 -27
  1618. package/dist/esm/third-party/components/CleanSizeChars.js +0 -38
  1619. package/dist/esm/third-party/components/CleanSizeCharts.liquid.js +0 -18
  1620. package/dist/esm/third-party/components/PushOwl.js +0 -5
  1621. package/dist/esm/third-party/components/PushOwl.liquid.js +0 -33
  1622. package/dist/esm/third-party/configs/Bogos.js +0 -8
  1623. package/dist/esm/third-party/configs/PushOwl.js +0 -8
  1624. package/dist/esm/third-party/setting/Bogos.js +0 -163
  1625. package/dist/esm/third-party/setting/CleanSizeCharts.js +0 -148
  1626. package/dist/esm/third-party/setting/PushOwl.js +0 -758
@@ -1,225 +1,24 @@
1
- import { makeStyleResponsive, getHeightByShapeGlobalSize, makeStyleWithDefault, getWidthByShapeGlobalSize, template, cls, getResponsiveValueByScreen, makeContainerWidthOrHeight, WrapRenderChildren, RenderChildren, RenderIf, isLocalEnv, baseAssetURL } from '@gem-sdk/core';
2
- import Arrow from './Arrow.liquid.js';
3
- import Dots from './Dots.liquid.js';
4
- import { mappingNavigationCarousel } from './common/arrow.js';
5
- import { getStaticLocale } from '../../helpers.js';
6
-
7
- const DEVICES = [
8
- 'mobile',
9
- 'tablet',
10
- 'desktop'
11
- ];
12
- const Carousel = ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled = true, advanced, disableMarginAuto, ...props })=>{
13
- const setting = mappingNavigationCarousel(props.setting);
14
- const styleHeight = makeStyleResponsive('h', getHeightByShapeGlobalSize(styles?.sizeSetting));
15
- const styleWidth = makeStyleWithDefault('w', getWidthByShapeGlobalSize(styles?.sizeSetting, true), {
16
- desktop: '--g-ct-w',
17
- tablet: '--g-ct-w',
18
- mobile: '--g-ct-w'
19
- });
20
- const getDisplayOfWrapper = ()=>{
21
- let result = {};
22
- DEVICES.forEach((device)=>{
23
- result = {
24
- ...result,
25
- [`${device === 'desktop' ? '' : `${device}:`}gp-flex`]: setting?.vertical?.[device],
26
- [`${device === 'desktop' ? '' : `${device}:`}gp-block`]: !setting?.vertical?.[device]
27
- };
28
- });
29
- return result;
30
- };
31
- const { navigationStyle, arrowButtonSize, arrowBackgroundColor, arrowGapToEachSide = '16', arrowBorder, roundedArrow, arrowIconSize, arrowCustomColor, showWhenHover } = setting ?? {};
32
- const getHeight = ()=>{
33
- let result = {};
34
- DEVICES.forEach((device)=>{
35
- result = {
36
- ...result,
37
- [`${device === 'desktop' ? '' : `${device}:`}gp-h-full`]: setting?.vertical?.[device],
38
- [`${device === 'desktop' ? '' : `${device}:`}gp-flex-1`]: setting?.vertical?.[device]
39
- };
40
- });
41
- return result;
42
- };
43
- const uniqueComponentId = `${rootId || builderProps?.uid}-{{section.id}}`;
44
- const makeVerticalWrapClass = ()=>{
45
- let result = {};
46
- DEVICES.forEach((device)=>{
47
- if (setting?.vertical?.[device]) {
48
- result = {
49
- ...result,
50
- [`${device === 'desktop' ? '' : `${device}:`}!gp-flex-wrap`]: setting?.vertical?.[device]
51
- };
52
- } else {
53
- result = {
54
- ...result,
55
- [`${device === 'desktop' ? '' : `${device}:`}!gp-flex-nowrap`]: !setting?.vertical?.[device]
56
- };
57
- }
58
- });
59
- return result;
60
- };
61
- const makeVerticalMinHeightClass = ()=>{
62
- let result = {};
63
- DEVICES.forEach((device)=>{
64
- if (setting?.vertical?.[device]) {
65
- result = {
66
- ...result,
67
- [`${device === 'desktop' ? '' : `${device}:`}!gp-min-h-0`]: setting?.vertical?.[device]
68
- };
69
- } else {
70
- result = {
71
- ...result,
72
- [`${device === 'desktop' ? '' : `${device}:`}!gp-min-h-full`]: !setting?.vertical?.[device]
73
- };
74
- }
75
- });
76
- return result;
77
- };
78
- const makeFlexColClass = ()=>{
79
- let result = {};
80
- DEVICES.forEach((device)=>{
81
- result = {
82
- ...result,
83
- [`${device === 'desktop' ? '' : `${device}:`}!gp-flex-col`]: setting?.vertical?.[device],
84
- [`${device === 'desktop' ? '' : `${device}:`}!gp-flex-row`]: !setting?.vertical?.[device]
85
- };
86
- });
87
- return result;
88
- };
89
- const makeSpacing = ()=>{
90
- let result = {};
91
- DEVICES.forEach((device)=>{
92
- const isVertical = getResponsiveValueByScreen(setting?.vertical, device);
93
- const spacing = getResponsiveValueByScreen(styles?.spacing, device);
94
- const key = isVertical ? `--rg${device !== 'desktop' ? `-${device}` : ''}` : `--cg${device !== 'desktop' ? `-${device}` : ''}`;
95
- result = {
96
- ...result,
97
- [key]: `${spacing}px`
98
- };
99
- });
100
- return result;
101
- };
102
- return template /* liquid */ `
103
- <gp-carousel ${rootAttr} id="gp-root-carousel-${uniqueComponentId}" class="${rootClass} ${advanced?.cssClass} gp-group/carousel gp-flex" gp-data='${JSON.stringify({
104
- id: uniqueComponentId,
105
- setting,
106
- styles,
107
- moveToIdx,
108
- isHiddenArrowWhenDisabled
109
- })}' style="${{
110
- ...rootStyles,
111
- ...makeStyleResponsive('jc', styles?.align)
112
- }}">
1
+ import{makeStyleResponsive as e,getHeightByShapeGlobalSize as o,makeStyleWithDefault as r,getWidthByShapeGlobalSize as t,template as l,cls as a,getResponsiveValueByScreen as s,makeContainerWidthOrHeight as i,WrapRenderChildren as p,RenderChildren as d,RenderIf as c,isLocalEnv as g,baseAssetURL as u}from"@gem-sdk/core";import n from"./Arrow.liquid.js";import $ from"./Dots.liquid.js";import{mappingNavigationCarousel as v}from"./common/arrow.js";import{getStaticLocale as f}from"../../helpers.js";let DEVICES=["mobile","tablet","desktop"],Carousel=({builderAttrs:m,builderProps:w,style:S,styles:h,moveToIdx:C,rootId:E,rootAttr:k,rootClass:x,wrapperClass:b,rootStyles:I,children:y,rawChildren:z,isHiddenArrowWhenDisabled:D=!0,advanced:j,disableMarginAuto:V,slidesClass:T,...B})=>{let G=v(B.setting),A=e("h",o(h?.sizeSetting)),P=r("w",t(h?.sizeSetting,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),H=()=>{let e={};return DEVICES.forEach(o=>{e={...e,[`${"desktop"===o?"":`${o}:`}gp-flex`]:G?.vertical?.[o],[`${"desktop"===o?"":`${o}:`}gp-block`]:!G?.vertical?.[o]}}),e},{navigationStyle:W,arrowButtonSize:q,arrowBackgroundColor:N,arrowGapToEachSide:_="16",arrowBorder:O,roundedArrow:J,arrowIconSize:M,arrowCustomColor:R,showWhenHover:F}=G??{},K=()=>{let e={};return DEVICES.forEach(o=>{e={...e,[`${"desktop"===o?"":`${o}:`}gp-h-full`]:G?.vertical?.[o],[`${"desktop"===o?"":`${o}:`}gp-flex-1`]:G?.vertical?.[o]}}),e},L=`${E||w?.uid}-{{section.id}}`,Q=()=>{let e={};return DEVICES.forEach(o=>{e=G?.vertical?.[o]?{...e,[`${"desktop"===o?"":`${o}:`}!gp-flex-wrap`]:G?.vertical?.[o]}:{...e,[`${"desktop"===o?"":`${o}:`}!gp-flex-nowrap`]:!G?.vertical?.[o]}}),e},U=()=>{let e={};return DEVICES.forEach(o=>{e=G?.vertical?.[o]?{...e,[`${"desktop"===o?"":`${o}:`}!gp-min-h-0`]:G?.vertical?.[o]}:{...e,[`${"desktop"===o?"":`${o}:`}!gp-min-h-full`]:!G?.vertical?.[o]}}),e},X=()=>{let e={};return DEVICES.forEach(o=>{e={...e,[`${"desktop"===o?"":`${o}:`}!gp-flex-col`]:G?.vertical?.[o],[`${"desktop"===o?"":`${o}:`}!gp-flex-row`]:!G?.vertical?.[o]}}),e},Y=()=>{let e={};return DEVICES.forEach(o=>{let r=s(G?.vertical,o),t=s(h?.spacing,o),l=r?`--rg${"desktop"!==o?`-${o}`:""}`:`--cg${"desktop"!==o?`-${o}`:""}`;e={...e,[l]:`${t}px`}}),e};return l`
2
+ <gp-carousel ${k} id="gp-root-carousel-${L}" class="${x} ${j?.cssClass} gp-group/carousel gp-flex" gp-data='${JSON.stringify({id:L,setting:G,styles:h,moveToIdx:C,isHiddenArrowWhenDisabled:D})}' style="${{...I,...e("jc",h?.align)}}">
113
3
  <div class="gp-hidden gp-aspect-square gp-w-[12px] gp-rounded-full gp-shadow-md"></div>
114
4
  <div
115
- ${{
116
- ...builderAttrs
117
- }}
118
- class="${cls('gp-relative gp-my-0 tablet:gp-px-0 gp-max-w-full mobile:gp-px-0 gp-carousel-wrapper', {
119
- ...getDisplayOfWrapper(),
120
- '!gp-flex': getResponsiveValueByScreen(setting?.vertical, 'desktop'),
121
- 'tablet:!gp-flex': getResponsiveValueByScreen(setting?.vertical, 'tablet'),
122
- 'mobile:!gp-flex': getResponsiveValueByScreen(setting?.vertical, 'mobile')
123
- }, builderProps?.uid, wrapperClass)}"
124
- style="${{
125
- ...style,
126
- ...styleWidth,
127
- ...styleHeight
128
- }}"
5
+ ${{...m}}
6
+ class="${a("gp-relative gp-my-0 tablet:gp-px-0 gp-max-w-full mobile:gp-px-0 gp-carousel-wrapper",{...H(),"!gp-flex":s(G?.vertical,"desktop"),"tablet:!gp-flex":s(G?.vertical,"tablet"),"mobile:!gp-flex":s(G?.vertical,"mobile")},w?.uid,b)}"
7
+ style="${{...S,...P,...A}}"
129
8
  >
130
9
  <div
131
- class="${cls('gp-h-full gp-relative gp-mx-auto gp-flex gp-items-center gp-justify-between', {
132
- ...getHeight(),
133
- ...makeFlexColClass()
134
- })}"
135
- style="${{
136
- ...makeContainerWidthOrHeight({
137
- vertical: setting?.vertical,
138
- dotStyle: setting?.dotStyle,
139
- dotSize: setting?.dotSize,
140
- dotGapToCarousel: setting?.dotGapToCarousel
141
- }),
142
- gap: arrowGapToEachSide + 'px'
143
- }}"
10
+ class="${a("gp-h-full gp-relative gp-flex gp-items-center gp-justify-between ",{...K(),...X()},V?"":"gp-mx-auto")}"
11
+ style="${{...i({vertical:G?.vertical,dotStyle:G?.dotStyle,dotSize:G?.dotSize,dotGapToCarousel:G?.dotGapToCarousel}),gap:_+"px"}}"
144
12
  >
145
- ${Arrow({
146
- uid: builderProps?.uid,
147
- componentId: uniqueComponentId,
148
- custom: setting?.arrowCustom || '',
149
- showArrow: navigationStyle,
150
- arrowButtonSize: arrowButtonSize || {},
151
- arrowIconSize: arrowIconSize || {},
152
- arrowBackgroundColor: arrowBackgroundColor || '',
153
- arrowCustomColor: arrowCustomColor,
154
- gapToEachSize: arrowGapToEachSide,
155
- showWhenHover: showWhenHover,
156
- arrowBorder: arrowBorder || {},
157
- arrowCorner: roundedArrow || {},
158
- left: true,
159
- onClick: (e)=>{
160
- e.stopPropagation();
161
- },
162
- vertical: setting?.vertical,
163
- isHiddenWhenDisabled: isHiddenArrowWhenDisabled,
164
- rootId: rootId
165
- })}
166
- <div ${(builderProps?.uid || rootId) && `id="gp-carousel-${uniqueComponentId}"`} class="${cls('gem-slider gp-h-full gp-overflow-hidden gp-select-none', {
167
- ...makeVerticalWrapClass(),
168
- ...makeVerticalMinHeightClass()
169
- })}"
170
- style="${{
171
- ...makeSpacing()
172
- }}">
173
- ${rawChildren?.length ? WrapRenderChildren({
174
- uid: builderProps?.uid || '',
175
- customProps: rawChildren[0]?.customProps
176
- }, rawChildren.map((child, index)=>{
177
- if (child) {
178
- return template`${RenderChildren({
179
- ...child,
180
- index,
181
- parentSettings: setting,
182
- parentStyle: styles,
183
- background: setting?.background
184
- })}`;
185
- }
186
- })) : children ?? `<div>${getStaticLocale('Carousel', 'no_slider')}</div>`}
13
+ ${n({uid:w?.uid,componentId:L,custom:G?.arrowCustom||"",showArrow:W,arrowButtonSize:q||{},arrowIconSize:M||{},arrowBackgroundColor:N||"",arrowCustomColor:R,gapToEachSize:_,showWhenHover:F,arrowBorder:O||{},arrowCorner:J||{},left:!0,onClick:e=>{e.stopPropagation()},vertical:G?.vertical,isHiddenWhenDisabled:D,rootId:E})}
14
+ <div ${(w?.uid||E)&&`id="gp-carousel-${L}"`} class="${a("gem-slider gp-h-full gp-overflow-hidden gp-select-none",{...Q(),...U()},T)}"
15
+ style="${{...Y()}}">
16
+ ${z?.length?p({uid:w?.uid||"",customProps:z[0]?.customProps},z.map((e,o)=>{if(e)return l`${d({...e,index:o,parentSettings:G,parentStyle:h,background:G?.background})}`})):y??`<div>${f("Carousel","no_slider")}</div>`}
187
17
  </div>
188
- ${Arrow({
189
- uid: builderProps?.uid,
190
- componentId: uniqueComponentId,
191
- custom: setting?.arrowCustom || '',
192
- showArrow: navigationStyle,
193
- arrowButtonSize: arrowButtonSize || {},
194
- arrowIconSize: arrowIconSize || {},
195
- arrowBackgroundColor: arrowBackgroundColor || '',
196
- arrowCustomColor: arrowCustomColor,
197
- gapToEachSize: arrowGapToEachSide,
198
- showWhenHover: showWhenHover,
199
- arrowBorder: arrowBorder || {},
200
- arrowCorner: roundedArrow || {},
201
- left: false,
202
- onClick: (e)=>{
203
- e.stopPropagation();
204
- },
205
- vertical: setting?.vertical,
206
- isHiddenWhenDisabled: isHiddenArrowWhenDisabled,
207
- rootId: rootId
208
- })}
18
+ ${n({uid:w?.uid,componentId:L,custom:G?.arrowCustom||"",showArrow:W,arrowButtonSize:q||{},arrowIconSize:M||{},arrowBackgroundColor:N||"",arrowCustomColor:R,gapToEachSize:_,showWhenHover:F,arrowBorder:O||{},arrowCorner:J||{},left:!1,onClick:e=>{e.stopPropagation()},vertical:G?.vertical,isHiddenWhenDisabled:D,rootId:E})}
209
19
  </div>
210
- ${Dots({
211
- loop: setting?.loop,
212
- showDots: setting?.dot,
213
- dotStyle: setting?.dotStyle,
214
- dotGapToCarousel: setting?.dotGapToCarousel,
215
- dotSize: setting?.dotSize,
216
- vertical: setting?.vertical,
217
- className: `gp-carousel-dot-container gp-carousel-dot-container-${uniqueComponentId}`
218
- })}
20
+ ${$({loop:G?.loop,showDots:G?.dot,dotStyle:G?.dotStyle,dotGapToCarousel:G?.dotGapToCarousel,dotSize:G?.dotSize,vertical:G?.vertical,className:`gp-carousel-dot-container gp-carousel-dot-container-${L}`})}
219
21
  </div>
220
22
  </gp-carousel>
221
- ${RenderIf(isLocalEnv, `<script src="{{ 'gp-carousel-v2.js' | asset_url }}" defer="defer"></script>`, `<script src="${baseAssetURL}/assets-v2/gp-carousel-v2.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
222
- `;
223
- };
224
-
225
- export { Carousel as default };
23
+ ${c(g,'<script src="{{ \'gp-carousel-v2.js\' | asset_url }}" defer="defer"></script>',`<script src="${u}/assets-v2/gp-carousel-v2.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
24
+ `};export{Carousel as default};
@@ -1,68 +1 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { makeStyle, getSingleColorVariable, getStyleShadow, getRadiusStyleActiveState, cls, getStyleBackgroundByDevice, isEmptyChildren } from '@gem-sdk/core';
3
- import ChildrenDroppable from '../../grid/components/ChildrenDroppable.js';
4
- import { useMemo } from 'react';
5
- import { getInitialWidthForCarouselItem } from './common/carousel.js';
6
-
7
- const CarouselItem = ({ children, builderAttrs, styles, advanced, setting, builderProps, parentStyle, parentSettings, background, contentType = 'normalItem', ...passProps })=>{
8
- const styleByContentType = useMemo(()=>{
9
- const delList = [
10
- '--radius'
11
- ];
12
- const filterStyles = {
13
- ...passProps.style
14
- };
15
- delList.forEach((element)=>{
16
- delete filterStyles?.[element];
17
- });
18
- if (contentType === 'productImage') return filterStyles;
19
- return {
20
- ...filterStyles,
21
- ...makeStyle({
22
- b: parentStyle?.borderContent?.border,
23
- bw: parentStyle?.borderContent?.width,
24
- bc: getSingleColorVariable(parentStyle?.borderContent?.color)
25
- }),
26
- ...getStyleShadow({
27
- value: parentStyle?.carouselShadow,
28
- styleAppliedFor: 'box-shadow',
29
- isEnableShadow: parentStyle?.hasActiveShadow
30
- }),
31
- ...getRadiusStyleActiveState({
32
- ...parentStyle?.roundedContent,
33
- active: {
34
- ...parentStyle?.roundedContent || {},
35
- radiusType: 'custom'
36
- }
37
- })
38
- };
39
- }, [
40
- contentType,
41
- parentStyle,
42
- passProps.style
43
- ]);
44
- return /*#__PURE__*/ jsx("div", {
45
- ...builderAttrs,
46
- ...passProps,
47
- className: cls(builderProps?.uid, passProps.className),
48
- style: {
49
- ...getInitialWidthForCarouselItem({
50
- spacing: parentStyle?.spacing,
51
- slidesToShow: parentSettings?.itemNumber ?? parentSettings?.slidesToShow,
52
- sneakPeak: parentSettings?.sneakPeak,
53
- sneakPeakType: parentSettings?.sneakPeakType,
54
- sneakPeakOffsetCenter: parentSettings?.sneakPeakOffsetCenter,
55
- sneakPeakOffsetForward: parentSettings?.sneakPeakOffsetForward,
56
- vertical: parentSettings?.vertical
57
- }),
58
- ...styleByContentType,
59
- ...getStyleBackgroundByDevice(background, {
60
- ignoreBackgroundImage: true,
61
- ignoreBgAttachment: true
62
- })
63
- },
64
- children: isEmptyChildren(children) ? /*#__PURE__*/ jsx(ChildrenDroppable, {}) : children
65
- });
66
- };
67
-
68
- export { CarouselItem as default };
1
+ import{jsx as e}from"react/jsx-runtime";import{makeStyle as r,getSingleColorVariable as o,getStyleShadow as a,getRadiusStyleActiveState as t,cls as s,getStyleBackgroundByDevice as n,isEmptyChildren as d}from"@gem-sdk/core";import i from"../../grid/components/ChildrenDroppable.js";import{useMemo as l}from"react";import{getInitialWidthForCarouselItem as m}from"./common/carousel.js";let CarouselItem=({children:c,builderAttrs:k,styles:u,advanced:p,setting:f,builderProps:h,parentStyle:b,contentType:g="normalItem",parentSettings:w,background:C,...P})=>{let y=l(()=>{let e=["--radius"],s={...P.style};return(e.forEach(e=>{delete s?.[e]}),"productImage"===g)?s:{...s,...r({b:b?.borderContent?.border,bw:b?.borderContent?.width,bc:o(b?.borderContent?.color)}),...a({value:b?.carouselShadow,styleAppliedFor:"box-shadow",isEnableShadow:b?.hasActiveShadow}),...t({...b?.roundedContent,active:{...b?.roundedContent||{},radiusType:"custom"}})}},[g,b,P.style]);return e("div",{...k,...P,className:s(h?.uid,P.className),style:{...m({spacing:b?.spacing,slidesToShow:w?.itemNumber??w?.slidesToShow,sneakPeak:w?.sneakPeak,sneakPeakType:w?.sneakPeakType,sneakPeakOffsetCenter:w?.sneakPeakOffsetCenter,sneakPeakOffsetForward:w?.sneakPeakOffsetForward,vertical:w?.vertical}),...y,...n(C,{ignoreBackgroundImage:!0,ignoreBgAttachment:!0})},children:d(c)?e(i,{}):c})};export{CarouselItem as default};
@@ -1,37 +1,4 @@
1
- import { template, getStyleBackgroundByDevice, makeStyleResponsive, cls, makeStyle, getSingleColorVariable, getStyleShadow, getRadiusStyleActiveState } from '@gem-sdk/core';
2
- import { getInitialWidthForCarouselItem, getCarouselSneakPeakTranslate } from './common/carousel.js';
3
-
4
- const CarouselItem = ({ children, builderAttrs, styles, advanced, setting, builderProps, style, className, parentId, parentStyle, parentSettings, background, index, customStyle, contentType = 'normalItem', ...passProps })=>{
5
- const styleByContentType = ()=>{
6
- const delList = [
7
- '--radius'
8
- ];
9
- delList.forEach((element)=>{
10
- delete style?.[element];
11
- });
12
- if (contentType === 'productImage') return style;
13
- return {
14
- ...style,
15
- ...makeStyle({
16
- b: parentStyle?.borderContent?.border,
17
- bw: parentStyle?.borderContent?.width,
18
- bc: getSingleColorVariable(parentStyle?.borderContent?.color)
19
- }),
20
- ...getStyleShadow({
21
- value: parentStyle?.carouselShadow,
22
- styleAppliedFor: 'box-shadow',
23
- isEnableShadow: parentStyle?.hasActiveShadow
24
- }),
25
- ...getRadiusStyleActiveState({
26
- ...parentStyle?.roundedContent,
27
- active: {
28
- ...parentStyle?.roundedContent || {},
29
- radiusType: 'custom'
30
- }
31
- })
32
- };
33
- };
34
- return template`
1
+ import{template as e,getStyleBackgroundByDevice as a,makeStyleResponsive as r,cls as s,makeStyle as o,getSingleColorVariable as t,getStyleShadow as d,getRadiusStyleActiveState as n}from"@gem-sdk/core";import{getInitialWidthForCarouselItem as i,getCarouselSneakPeakTranslate as l}from"./common/carousel.js";let CarouselItem=({children:m,builderAttrs:k,styles:u,advanced:c,setting:f,builderProps:p,style:g,className:w,parentId:P,parentStyle:h,contentType:b="normalItem",background:C,parentSettings:y,index:T,customStyle:v,...O})=>{let S=()=>{let e=["--radius"];return(e.forEach(e=>{delete g?.[e]}),"productImage"===b)?g:{...g,...o({b:h?.borderContent?.border,bw:h?.borderContent?.width,bc:t(h?.borderContent?.color)}),...d({value:h?.carouselShadow,styleAppliedFor:"box-shadow",isEnableShadow:h?.hasActiveShadow}),...n({...h?.roundedContent,active:{...h?.roundedContent||{},radiusType:"custom"}})}};return e`
35
2
  <div
36
3
  media-type="{{media.media_type}}"
37
4
  media-poster="{{media.preview_image.src}}"
@@ -39,43 +6,11 @@ const CarouselItem = ({ children, builderAttrs, styles, advanced, setting, build
39
6
  media-last-source-url="{{mediaSourceUrl}}"
40
7
  external-id="{{media.external_id}}"
41
8
  grid-index="{{forloop.index}}"
42
- ${{
43
- ...builderAttrs
44
- }}
45
- ${{
46
- ...passProps
47
- }}
48
- style="${{
49
- ...customStyle,
50
- ...getStyleBackgroundByDevice(background, {
51
- ignoreBackgroundImage: true,
52
- ignoreBgAttachment: true
53
- }),
54
- ...getInitialWidthForCarouselItem({
55
- spacing: parentStyle?.spacing,
56
- slidesToShow: parentSettings?.itemNumber ?? parentSettings?.slidesToShow,
57
- sneakPeak: parentSettings?.sneakPeak,
58
- sneakPeakType: parentSettings?.sneakPeakType,
59
- sneakPeakOffsetCenter: parentSettings?.sneakPeakOffsetCenter,
60
- sneakPeakOffsetForward: parentSettings?.sneakPeakOffsetForward,
61
- vertical: parentSettings?.vertical
62
- }),
63
- ...styleByContentType(),
64
- ...makeStyleResponsive('ml', getCarouselSneakPeakTranslate({
65
- index,
66
- spacing: parentStyle?.spacing,
67
- slidesToShow: parentSettings?.itemNumber ?? parentSettings?.slidesToShow,
68
- sneakPeak: parentSettings?.sneakPeak,
69
- sneakPeakType: parentSettings?.sneakPeakType,
70
- sneakPeakOffsetCenter: parentSettings?.sneakPeakOffsetCenter,
71
- sneakPeakOffsetForward: parentSettings?.sneakPeakOffsetForward
72
- }))
73
- }}"
74
- class="${cls(`gem-slider-item gp-w-full gem-slider-item-${parentId || ''}`, builderProps?.uid, className)}"
9
+ ${{...k}}
10
+ ${{...O}}
11
+ style="${{...v,...a(C,{ignoreBackgroundImage:!0,ignoreBgAttachment:!0}),...i({spacing:h?.spacing,slidesToShow:y?.itemNumber??y?.slidesToShow,sneakPeak:y?.sneakPeak,sneakPeakType:y?.sneakPeakType,sneakPeakOffsetCenter:y?.sneakPeakOffsetCenter,sneakPeakOffsetForward:y?.sneakPeakOffsetForward,vertical:y?.vertical}),...S(),...r("ml",l({index:T,spacing:h?.spacing,slidesToShow:y?.itemNumber??y?.slidesToShow,sneakPeak:y?.sneakPeak,sneakPeakType:y?.sneakPeakType,sneakPeakOffsetCenter:y?.sneakPeakOffsetCenter,sneakPeakOffsetForward:y?.sneakPeakOffsetForward}))}}"
12
+ class="${s(`gem-slider-item gp-w-full gem-slider-item-${P||""}`,p?.uid,w)}"
75
13
  >
76
- ${children}
14
+ ${m}
77
15
  </div>
78
- `;
79
- };
80
-
81
- export { CarouselItem as default };
16
+ `};export{CarouselItem as default};
@@ -1,64 +1 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { useCurrentDevice, getResponsiveValueByScreen, cls, makeStyle, makeDotGapToCarouselStyle, makeStyleResponsiveByScreen, getGlobalColorResponsiveStyle } from '@gem-sdk/core';
3
- import { useMemo } from 'react';
4
- import { getStyleDots, getDotDisplay } from './common/dots.js';
5
-
6
- const Dots = ({ onHandleClick, totalSlideItem, slideItemsPerPage, currentSlide, className, loop, showDots, dotStyle, dotGapToCarousel, dotSize, controlOverContent, vertical, dotActiveColor, dotColor, hiddenWhenOnlyOne, enabledSneakPeak, sneakPeakType, numberOfFullWidthShow, ...passProps })=>{
7
- const currentDevice = useCurrentDevice();
8
- const isLoop = getResponsiveValueByScreen(loop, currentDevice, false);
9
- const dotItems = useMemo(()=>{
10
- if (enabledSneakPeak) {
11
- return Array.from({
12
- length: isLoop ? totalSlideItem : totalSlideItem - (numberOfFullWidthShow || 0) + 1
13
- }, (_, i)=>i);
14
- } else {
15
- return Array.from({
16
- length: isLoop ? totalSlideItem : Math.ceil(totalSlideItem / slideItemsPerPage)
17
- }, (_, i)=>i);
18
- }
19
- }, [
20
- isLoop,
21
- totalSlideItem,
22
- slideItemsPerPage,
23
- enabledSneakPeak,
24
- numberOfFullWidthShow
25
- ]);
26
- const getClass = ()=>{
27
- return {
28
- ...getDotDisplay(dotStyle, vertical)
29
- };
30
- };
31
- const getActive = (idx)=>{
32
- if (enabledSneakPeak) {
33
- return idx === currentSlide;
34
- }
35
- return idx === (isLoop ? currentSlide : Math.ceil(currentSlide / slideItemsPerPage));
36
- };
37
- return /*#__PURE__*/ jsx("div", {
38
- className: cls(`gp-z-2 gp-flex-1 gp-items-center gp-justify-center gp-gap-2 gp-text-center`, className, getClass()),
39
- ...passProps,
40
- style: {
41
- ...makeStyle(getStyleDots(dotStyle)),
42
- ...makeDotGapToCarouselStyle(dotStyle, dotGapToCarousel, vertical)
43
- },
44
- children: (!hiddenWhenOnlyOne || dotItems?.length > 1) && dotItems?.map((idx)=>{
45
- const isActive = getActive(idx);
46
- return /*#__PURE__*/ jsx("button", {
47
- "aria-label": "Dot",
48
- onClick: ()=>{
49
- onHandleClick(idx, isLoop);
50
- },
51
- style: {
52
- ...makeStyleResponsiveByScreen('w', dotSize, 'px'),
53
- ...isActive ? getGlobalColorResponsiveStyle('bg', dotActiveColor) : getGlobalColorResponsiveStyle('bg', dotColor)
54
- },
55
- className: cls('gp-aspect-square gp-w-3 gp-rounded-full gp-shadow-md', {
56
- 'gem-slider-dot-active': isActive,
57
- 'gem-slider-dot-inactive': !isActive
58
- })
59
- }, idx);
60
- })
61
- });
62
- };
63
-
64
- export { Dots as default };
1
+ import{jsx as t}from"react/jsx-runtime";import{useCurrentDevice as e,getResponsiveValueByScreen as r,cls as a,makeStyle as o,makeDotGapToCarouselStyle as l,makeStyleResponsiveByScreen as m,getGlobalColorResponsiveStyle as s}from"@gem-sdk/core";import{useMemo as g}from"react";import{getStyleDots as i,getDotDisplay as p}from"./common/dots.js";let Dots=({onHandleClick:c,totalSlideItem:n,slideItemsPerPage:d,currentSlide:f,className:u,loop:h,showDots:b,dotStyle:x,dotGapToCarousel:y,dotSize:j,controlOverContent:v,vertical:w,dotActiveColor:D,dotColor:k,hiddenWhenOnlyOne:A,enabledSneakPeak:M,sneakPeakType:N,numberOfFullWidthShow:q,...z})=>{let C=e(),B=r(h,C,!1),E=g(()=>M?Array.from({length:B?n:n-(q||0)+1},(t,e)=>e):Array.from({length:B?n:Math.ceil(n/d)},(t,e)=>e),[B,n,d,M,q]),F=()=>({...p(x,w)}),G=t=>M?t===f:t===(B?f:Math.ceil(f/d));return t("div",{className:a("gp-z-2 gp-flex-1 gp-items-center gp-justify-center gp-gap-2 gp-text-center tablet:gp-static mobile:gp-static",u,F()),...z,style:{...o(i(x)),...l(x,y,w)},children:(!A||E?.length>1)&&E?.map(e=>{let r=G(e);return t("button",{"aria-label":"Dot",onClick:()=>{c(e,B)},style:{...m("w",j,"px"),...r?s("bg",D):s("bg",k)},className:a("gp-aspect-square gp-w-3 gp-rounded-full gp-shadow-md",{"gem-slider-dot-active":r,"gem-slider-dot-inactive":!r})},e)})})};export{Dots as default};
@@ -1,19 +1,4 @@
1
- import { template, cls, makeDotGapToCarouselStyle, makeStyle } from '@gem-sdk/core';
2
- import { getStyleDots, getDotDisplay } from './common/dots.js';
3
-
4
- const Dots = ({ className, loop, showDots, dotStyle, dotGapToCarousel, dotSize, controlOverContent, vertical, ...passProps })=>{
5
- const getClass = ()=>{
6
- return {
7
- ...getDotDisplay(dotStyle, vertical)
8
- };
9
- };
10
- return template`<div
11
- class="${cls('gp-items-center gp-justify-center gp-gap-2 gp-text-center', className, getClass())}"
12
- style="${{
13
- ...makeDotGapToCarouselStyle(dotStyle, dotGapToCarousel, vertical),
14
- ...makeStyle(getStyleDots(dotStyle))
15
- }}"
16
- ${passProps}></div>`;
17
- };
18
-
19
- export { Dots as default };
1
+ import{template as t,cls as e,makeDotGapToCarouselStyle as o,makeStyle as r}from"@gem-sdk/core";import{getStyleDots as s,getDotDisplay as m}from"./common/dots.js";let Dots=({className:p,loop:c,showDots:g,dotStyle:i,dotGapToCarousel:d,dotSize:l,controlOverContent:n,vertical:a,...f})=>{let u=()=>({...m(i,a)});return t`<div
2
+ class="${e("gp-items-center gp-justify-center gp-gap-2 gp-text-center",p,u())}"
3
+ style="${{...o(i,d,a),...r(s(i))}}"
4
+ ${f}></div>`};export{Dots as default};
@@ -1,121 +1 @@
1
- import { getResponsiveValueByScreen } from '@gem-sdk/core';
2
-
3
- const devices = [
4
- 'desktop',
5
- 'tablet',
6
- 'mobile'
7
- ];
8
- const getResponsiveSetting = (setting)=>{
9
- const desktop = setting.desktop;
10
- const tablet = setting.tablet ? setting.tablet : desktop;
11
- const mobile = setting.mobile ? setting.mobile : tablet;
12
- return {
13
- desktop,
14
- tablet,
15
- mobile
16
- };
17
- };
18
- const getClassArrowPosition = ({ vertical, arrowType, gapToEachSize, left })=>{
19
- const result = {};
20
- devices.forEach((item)=>{
21
- const verticalResponsive = getResponsiveValueByScreen(vertical, item, false);
22
- const deviceType = item === 'desktop' ? '' : `-${item}`;
23
- if (!verticalResponsive) {
24
- result[`left${deviceType}`] = arrowType[item] === 'inside' && left ? gapToEachSize + 'px' : 'initial';
25
- result[`top${deviceType}`] = left ? 'initial' : '';
26
- result[`right${deviceType}`] = arrowType[item] === 'inside' && !left ? gapToEachSize + 'px' : 'initial';
27
- result[`bottom${deviceType}`] = !left ? 'initial' : '';
28
- } else {
29
- result[`top${deviceType}`] = arrowType[item] === 'inside' && left ? gapToEachSize + 'px' : 'initial';
30
- result[`left${deviceType}`] = left ? 'initial' : '';
31
- result[`bottom${deviceType}`] = arrowType[item] === 'inside' && !left ? gapToEachSize + 'px' : 'initial';
32
- result[`right${deviceType}`] = !left ? 'initial' : '';
33
- }
34
- });
35
- return result;
36
- };
37
- const getClassArrowRotate = (left, vertical)=>{
38
- const result = {};
39
- devices.forEach((item)=>{
40
- const verticalResponsive = getResponsiveValueByScreen(vertical, item, false);
41
- const deviceType = item === 'desktop' ? '' : `${item}:`;
42
- result[`${deviceType}gp-rotate-[-90deg]`] = left && !!verticalResponsive;
43
- result[`${deviceType}gp-rotate-90`] = !left && !!verticalResponsive;
44
- result[`${deviceType}gp-rotate-180`] = left && !verticalResponsive;
45
- result[`${deviceType}gp-rotate-0`] = !left && !verticalResponsive;
46
- });
47
- return result;
48
- };
49
- const getArrowRotate = (left, vertical)=>{
50
- const rotation = left ? vertical ? '[-90deg]' : '180' : vertical ? '90' : '0';
51
- return `gp-rotate-${rotation}`;
52
- };
53
- const getClassArrowDisplay = (arrowType, vertical)=>{
54
- const result = {};
55
- devices.map((device)=>{
56
- const verticalResponsive = getResponsiveValueByScreen(vertical, device, false);
57
- const deviceRes = device === 'desktop' ? '' : `${device}:`;
58
- result[`${deviceRes}!gp-flex ${deviceRes}!gp-absolute ${deviceRes}gp-z-2`] = arrowType[device] === 'inside' || !!verticalResponsive;
59
- result[`${deviceRes}!gp-flex ${deviceRes}!gp-relative `] = arrowType[device] === 'outside';
60
- result[`${deviceRes}!gp-hidden`] = arrowType[device] === 'none';
61
- });
62
- return result;
63
- };
64
- const getArrowDisplayStyle = (arrowType)=>{
65
- let result = {};
66
- devices.map((device)=>{
67
- const arrowTypeResponsive = getResponsiveValueByScreen(arrowType, device, 'none');
68
- result = {
69
- ...result,
70
- [device]: arrowTypeResponsive === 'none' ? 'none' : 'flex'
71
- };
72
- });
73
- return result;
74
- };
75
- const getUpdatedArrowDisplay = (arrow, controlOverContent)=>{
76
- let result = {};
77
- devices.forEach((device)=>{
78
- const arrowSetting = getResponsiveValueByScreen(arrow, device);
79
- const controlOverContentSetting = getResponsiveValueByScreen(controlOverContent, device);
80
- result = {
81
- ...result,
82
- [device]: arrowSetting ? controlOverContentSetting ? 'inside' : 'outside' : 'none'
83
- };
84
- });
85
- return result;
86
- };
87
- const mappingNavigationCarousel = (setting)=>{
88
- const generateValueByDevices = (value)=>{
89
- const newValue = {
90
- ...value
91
- };
92
- const deviceNotExits = devices.filter((x)=>!Object.keys(newValue).includes(x));
93
- deviceNotExits.map((el)=>{
94
- if (el === 'tablet') {
95
- newValue[el] = newValue['desktop'];
96
- }
97
- if (el === 'mobile') {
98
- newValue[el] = newValue['tablet'];
99
- }
100
- });
101
- return newValue;
102
- };
103
- if (setting?.layout === 'vertical') {
104
- const { controlOverContent, arrow } = setting;
105
- const newArrow = generateValueByDevices(arrow);
106
- const newControlOverContent = generateValueByDevices(controlOverContent);
107
- const navigationStyle = {};
108
- devices.map((el)=>{
109
- if (!newArrow[el]) navigationStyle[el] = 'none';
110
- else if (newArrow[el] && newControlOverContent[el]) navigationStyle[el] = 'inside';
111
- else navigationStyle[el] = 'outside';
112
- });
113
- return {
114
- ...setting,
115
- navigationStyle
116
- };
117
- }
118
- return setting;
119
- };
120
-
121
- export { getArrowDisplayStyle, getArrowRotate, getClassArrowDisplay, getClassArrowPosition, getClassArrowRotate, getResponsiveSetting, getUpdatedArrowDisplay, mappingNavigationCarousel };
1
+ import{getResponsiveValueByScreen as e}from"@gem-sdk/core";let devices=["desktop","tablet","mobile"],getResponsiveSetting=e=>{let t=e.desktop,i=e.tablet?e.tablet:t,o=e.mobile?e.mobile:i;return{desktop:t,tablet:i,mobile:o}},getClassArrowPosition=({vertical:t,arrowType:i,gapToEachSize:o,left:r})=>{let l={};return devices.forEach(a=>{let s=e(t,a,!1),n="desktop"===a?"":`-${a}`;s?(l[`top${n}`]="inside"===i[a]&&r?o+"px":"initial",l[`left${n}`]=r?"initial":"",l[`bottom${n}`]="inside"!==i[a]||r?"initial":o+"px",l[`right${n}`]=r?"":"initial"):(l[`left${n}`]="inside"===i[a]&&r?o+"px":"initial",l[`top${n}`]=r?"initial":"",l[`right${n}`]="inside"!==i[a]||r?"initial":o+"px",l[`bottom${n}`]=r?"":"initial")}),l},getClassArrowRotate=(t,i)=>{let o={};return devices.forEach(r=>{let l=e(i,r,!1),a="desktop"===r?"":`${r}:`;o[`${a}gp-rotate-[-90deg]`]=t&&!!l,o[`${a}gp-rotate-90`]=!t&&!!l,o[`${a}gp-rotate-180`]=t&&!l,o[`${a}gp-rotate-0`]=!t&&!l}),o},getArrowRotate=(e,t)=>{let i=e?t?"[-90deg]":"180":t?"90":"0";return`gp-rotate-${i}`},getClassArrowDisplay=(t,i)=>{let o={};return devices.map(r=>{let l=e(i,r,!1),a="desktop"===r?"":`${r}:`;o[`${a}!gp-flex ${a}!gp-absolute ${a}gp-z-2`]="inside"===t[r]||!!l,o[`${a}!gp-flex ${a}!gp-relative `]="outside"===t[r],o[`${a}!gp-hidden`]="none"===t[r]}),o},getArrowDisplayStyle=t=>{let i={};return devices.map(o=>{let r=e(t,o,"none");i={...i,[o]:"none"===r?"none":"flex"}}),i},getUpdatedArrowDisplay=(t,i)=>{let o={};return devices.forEach(r=>{let l=e(t,r),a=e(i,r);o={...o,[r]:l?a?"inside":"outside":"none"}}),o},mappingNavigationCarousel=e=>{let t=e=>{let t={...e},i=devices.filter(e=>!Object.keys(t).includes(e));return i.map(e=>{"tablet"===e&&(t[e]=t.desktop),"mobile"===e&&(t[e]=t.tablet)}),t};if(e?.layout==="vertical"){let{controlOverContent:i,arrow:o}=e,r=t(o),l=t(i),a={};return devices.map(e=>{r[e]?r[e]&&l[e]?a[e]="inside":a[e]="outside":a[e]="none"}),{...e,navigationStyle:a}}return e};export{getArrowDisplayStyle,getArrowRotate,getClassArrowDisplay,getClassArrowPosition,getClassArrowRotate,getResponsiveSetting,getUpdatedArrowDisplay,mappingNavigationCarousel};