@anker-in/headless-ui 1.0.26-alpha.1762426225057 → 1.0.26-alpha.1762430383162

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 (310) hide show
  1. package/dist/cjs/biz-components/Graphic/index.js +1 -1
  2. package/dist/cjs/biz-components/Graphic/index.js.map +2 -2
  3. package/dist/cjs/biz-components/ShelfDisplay/index.js +1 -1
  4. package/dist/cjs/biz-components/ShelfDisplay/index.js.map +2 -2
  5. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplayItem.js +2 -2
  6. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplayItem.js.map +2 -2
  7. package/dist/cjs/biz-components/Specs/dropdown.js +2 -2
  8. package/dist/cjs/biz-components/Specs/dropdown.js.map +3 -3
  9. package/dist/esm/biz-components/Graphic/index.js +1 -1
  10. package/dist/esm/biz-components/Graphic/index.js.map +2 -2
  11. package/dist/esm/biz-components/ShelfDisplay/index.js +1 -1
  12. package/dist/esm/biz-components/ShelfDisplay/index.js.map +2 -2
  13. package/dist/esm/biz-components/ShelfDisplay/shelfDisplayItem.js +4 -4
  14. package/dist/esm/biz-components/ShelfDisplay/shelfDisplayItem.js.map +2 -2
  15. package/dist/esm/biz-components/Specs/dropdown.js +1 -1
  16. package/dist/esm/biz-components/Specs/dropdown.js.map +3 -3
  17. package/package.json +1 -1
  18. package/dist/esm/biz-components/AccordionCards/index.d.ts +0 -38
  19. package/dist/esm/biz-components/AiuiProvider/index.d.ts +0 -16
  20. package/dist/esm/biz-components/AplusDesc/index.d.ts +0 -23
  21. package/dist/esm/biz-components/BrandEquity/BrandEquity.d.ts +0 -7
  22. package/dist/esm/biz-components/BrandEquity/index.d.ts +0 -1
  23. package/dist/esm/biz-components/BrandEquity/types.d.ts +0 -18
  24. package/dist/esm/biz-components/Category/SwiperCategory.d.ts +0 -19
  25. package/dist/esm/biz-components/Category/index.d.ts +0 -35
  26. package/dist/esm/biz-components/CreativeModule/index.d.ts +0 -22
  27. package/dist/esm/biz-components/DownLoad/index.d.ts +0 -21
  28. package/dist/esm/biz-components/Evaluate/index.d.ts +0 -37
  29. package/dist/esm/biz-components/Faq/Faq.d.ts +0 -14
  30. package/dist/esm/biz-components/Faq/index.d.ts +0 -2
  31. package/dist/esm/biz-components/Faq/types.d.ts +0 -12
  32. package/dist/esm/biz-components/FeatureCards/FeatureCards.d.ts +0 -7
  33. package/dist/esm/biz-components/FeatureCards/index.d.ts +0 -2
  34. package/dist/esm/biz-components/FeatureCards/types.d.ts +0 -25
  35. package/dist/esm/biz-components/FeatureShowcase/FeatureShowcase.d.ts +0 -7
  36. package/dist/esm/biz-components/FeatureShowcase/index.d.ts +0 -2
  37. package/dist/esm/biz-components/FeatureShowcase/types.d.ts +0 -21
  38. package/dist/esm/biz-components/Features/index.d.ts +0 -27
  39. package/dist/esm/biz-components/FootCharger/index.d.ts +0 -13
  40. package/dist/esm/biz-components/FooterNavigation/icons/Add.d.ts +0 -3
  41. package/dist/esm/biz-components/FooterNavigation/icons/ArrowRight.d.ts +0 -3
  42. package/dist/esm/biz-components/FooterNavigation/icons/Country.d.ts +0 -3
  43. package/dist/esm/biz-components/FooterNavigation/icons/Subtract.d.ts +0 -3
  44. package/dist/esm/biz-components/FooterNavigation/icons/index.d.ts +0 -5
  45. package/dist/esm/biz-components/FooterNavigation/index.d.ts +0 -7
  46. package/dist/esm/biz-components/FooterNavigation/types.d.ts +0 -15
  47. package/dist/esm/biz-components/GiftBox/index.d.ts +0 -18
  48. package/dist/esm/biz-components/Graphic/index.d.ts +0 -38
  49. package/dist/esm/biz-components/GraphicAttractionBlock/index.d.ts +0 -25
  50. package/dist/esm/biz-components/GraphicMore/index.d.ts +0 -23
  51. package/dist/esm/biz-components/GraphicOverlay/GraphicOverlay.d.ts +0 -8
  52. package/dist/esm/biz-components/GraphicOverlay/index.d.ts +0 -2
  53. package/dist/esm/biz-components/GraphicOverlay/types.d.ts +0 -33
  54. package/dist/esm/biz-components/HeaderNavigation/NavProvider.d.ts +0 -36
  55. package/dist/esm/biz-components/HeaderNavigation/icons/AnkerLogo.d.ts +0 -3
  56. package/dist/esm/biz-components/HeaderNavigation/icons/Cart.d.ts +0 -3
  57. package/dist/esm/biz-components/HeaderNavigation/icons/Close.d.ts +0 -3
  58. package/dist/esm/biz-components/HeaderNavigation/icons/DownArrow.d.ts +0 -3
  59. package/dist/esm/biz-components/HeaderNavigation/icons/LeftArrow.d.ts +0 -3
  60. package/dist/esm/biz-components/HeaderNavigation/icons/LogoLine.d.ts +0 -3
  61. package/dist/esm/biz-components/HeaderNavigation/icons/Menu.d.ts +0 -3
  62. package/dist/esm/biz-components/HeaderNavigation/icons/Polygon.d.ts +0 -3
  63. package/dist/esm/biz-components/HeaderNavigation/icons/RightArrow.d.ts +0 -3
  64. package/dist/esm/biz-components/HeaderNavigation/icons/Search.d.ts +0 -3
  65. package/dist/esm/biz-components/HeaderNavigation/icons/User.d.ts +0 -3
  66. package/dist/esm/biz-components/HeaderNavigation/icons/index.d.ts +0 -12
  67. package/dist/esm/biz-components/HeaderNavigation/index.d.ts +0 -7
  68. package/dist/esm/biz-components/HeaderNavigation/types.d.ts +0 -103
  69. package/dist/esm/biz-components/HeaderNavigation/withCategory.d.ts +0 -9
  70. package/dist/esm/biz-components/HeroBanner/Countdown.d.ts +0 -9
  71. package/dist/esm/biz-components/HeroBanner/HeroBanner.d.ts +0 -7
  72. package/dist/esm/biz-components/HeroBanner/index.d.ts +0 -1
  73. package/dist/esm/biz-components/HeroBanner/types.d.ts +0 -49
  74. package/dist/esm/biz-components/ImageTextFeature/ImageTextFeature.d.ts +0 -7
  75. package/dist/esm/biz-components/ImageTextFeature/index.d.ts +0 -2
  76. package/dist/esm/biz-components/ImageTextFeature/types.d.ts +0 -31
  77. package/dist/esm/biz-components/ImageWithText/ImageWithText.d.ts +0 -7
  78. package/dist/esm/biz-components/ImageWithText/index.d.ts +0 -2
  79. package/dist/esm/biz-components/ImageWithText/types.d.ts +0 -119
  80. package/dist/esm/biz-components/InlineVideo/index.d.ts +0 -16
  81. package/dist/esm/biz-components/Ksp/index.d.ts +0 -41
  82. package/dist/esm/biz-components/Listing/BizProductProvider.d.ts +0 -126
  83. package/dist/esm/biz-components/Listing/components/PaidShipping/LearnMore.d.ts +0 -2
  84. package/dist/esm/biz-components/Listing/components/PaidShipping/ShippingMethod.d.ts +0 -10
  85. package/dist/esm/biz-components/Listing/components/PaidShipping/ShippingPolicyModal.d.ts +0 -25
  86. package/dist/esm/biz-components/Listing/components/PaidShipping/index.d.ts +0 -12
  87. package/dist/esm/biz-components/Listing/components/PaidShipping/type.d.ts +0 -30
  88. package/dist/esm/biz-components/Listing/components/PaidShipping/utils.d.ts +0 -2
  89. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.d.ts +0 -38
  90. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.d.ts +0 -30
  91. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.d.ts +0 -2
  92. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.d.ts +0 -2
  93. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.d.ts +0 -2
  94. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.d.ts +0 -2
  95. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.d.ts +0 -2
  96. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/index.d.ts +0 -2
  97. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/types.d.ts +0 -43
  98. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.d.ts +0 -2
  99. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.d.ts +0 -21
  100. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.d.ts +0 -5
  101. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.d.ts +0 -1
  102. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/index.d.ts +0 -2
  103. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/types.d.ts +0 -42
  104. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGridBox.d.ts +0 -6
  105. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/index.d.ts +0 -3
  106. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/types.d.ts +0 -2
  107. package/dist/esm/biz-components/Listing/components/ProductCard/index.d.ts +0 -2
  108. package/dist/esm/biz-components/Listing/components/PurchaseBar/ProductActions/index.d.ts +0 -2
  109. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.d.ts +0 -4
  110. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.d.ts +0 -10
  111. package/dist/esm/biz-components/Listing/components/PurchaseBar/index.d.ts +0 -3
  112. package/dist/esm/biz-components/Listing/components/PurchaseBar/types.d.ts +0 -12
  113. package/dist/esm/biz-components/Listing/components/index.d.ts +0 -3
  114. package/dist/esm/biz-components/Listing/const.d.ts +0 -29
  115. package/dist/esm/biz-components/Listing/hooks/use-variant-media.d.ts +0 -14
  116. package/dist/esm/biz-components/Listing/hooks/use-variant.d.ts +0 -5
  117. package/dist/esm/biz-components/Listing/hooks/useBenefits.d.ts +0 -50
  118. package/dist/esm/biz-components/Listing/hooks/useCopy.d.ts +0 -5
  119. package/dist/esm/biz-components/Listing/index.d.ts +0 -4
  120. package/dist/esm/biz-components/Listing/types/graphql.d.ts +0 -7473
  121. package/dist/esm/biz-components/Listing/types/product.d.ts +0 -141
  122. package/dist/esm/biz-components/Listing/types/type-helper.d.ts +0 -5
  123. package/dist/esm/biz-components/Listing/types.d.ts +0 -28
  124. package/dist/esm/biz-components/Listing/utils/helper.d.ts +0 -36
  125. package/dist/esm/biz-components/Listing/utils/index.d.ts +0 -37
  126. package/dist/esm/biz-components/Listing/utils/textFormat.d.ts +0 -73
  127. package/dist/esm/biz-components/Marquee/Marquee.d.ts +0 -18
  128. package/dist/esm/biz-components/Marquee/index.d.ts +0 -2
  129. package/dist/esm/biz-components/Marquee/type.d.ts +0 -33
  130. package/dist/esm/biz-components/MarqueeReview/index.d.ts +0 -42
  131. package/dist/esm/biz-components/MediaPlayerBase/index.d.ts +0 -7
  132. package/dist/esm/biz-components/MediaPlayerBase/right.d.ts +0 -1
  133. package/dist/esm/biz-components/MediaPlayerBase/types.d.ts +0 -18
  134. package/dist/esm/biz-components/MediaPlayerMulti/index.d.ts +0 -7
  135. package/dist/esm/biz-components/MediaPlayerMulti/types.d.ts +0 -22
  136. package/dist/esm/biz-components/MediaPlayerSticky/index.d.ts +0 -9
  137. package/dist/esm/biz-components/MediaPlayerSticky/types.d.ts +0 -21
  138. package/dist/esm/biz-components/MemberEquity/index.d.ts +0 -7
  139. package/dist/esm/biz-components/MemberEquity/types.d.ts +0 -30
  140. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.d.ts +0 -8
  141. package/dist/esm/biz-components/MultiLayoutGraphicBlock/index.d.ts +0 -2
  142. package/dist/esm/biz-components/MultiLayoutGraphicBlock/types.d.ts +0 -38
  143. package/dist/esm/biz-components/NavigationSearch/index.d.ts +0 -5
  144. package/dist/esm/biz-components/NavigationSearch/types.d.ts +0 -18
  145. package/dist/esm/biz-components/ProductCompare/index.d.ts +0 -38
  146. package/dist/esm/biz-components/ProductHero/ProductHero.d.ts +0 -7
  147. package/dist/esm/biz-components/ProductHero/index.d.ts +0 -2
  148. package/dist/esm/biz-components/ProductHero/types.d.ts +0 -21
  149. package/dist/esm/biz-components/SearchPage/index.d.ts +0 -6
  150. package/dist/esm/biz-components/SearchPage/types.d.ts +0 -58
  151. package/dist/esm/biz-components/SelectStore/index.d.ts +0 -21
  152. package/dist/esm/biz-components/ShelfDisplay/index.d.ts +0 -7
  153. package/dist/esm/biz-components/ShelfDisplay/shelfDisplay.d.ts +0 -106
  154. package/dist/esm/biz-components/ShelfDisplay/shelfDisplayItem.d.ts +0 -8
  155. package/dist/esm/biz-components/ShelfDisplay/tabSwitch.d.ts +0 -9
  156. package/dist/esm/biz-components/Slogan/index.d.ts +0 -9
  157. package/dist/esm/biz-components/Slogan/types.d.ts +0 -31
  158. package/dist/esm/biz-components/Spacer/index.d.ts +0 -7
  159. package/dist/esm/biz-components/Spacer/types.d.ts +0 -10
  160. package/dist/esm/biz-components/Specs/dropdown.d.ts +0 -11
  161. package/dist/esm/biz-components/Specs/index.d.ts +0 -6
  162. package/dist/esm/biz-components/SpecsComparison/SpecsComparison.d.ts +0 -7
  163. package/dist/esm/biz-components/SpecsComparison/index.d.ts +0 -2
  164. package/dist/esm/biz-components/SpecsComparison/types.d.ts +0 -34
  165. package/dist/esm/biz-components/Subscribe/index.d.ts +0 -20
  166. package/dist/esm/biz-components/SwiperBox/index.d.ts +0 -4
  167. package/dist/esm/biz-components/SwiperBox/types.d.ts +0 -17
  168. package/dist/esm/biz-components/TabWithImage/TabWithImage.d.ts +0 -7
  169. package/dist/esm/biz-components/TabWithImage/index.d.ts +0 -2
  170. package/dist/esm/biz-components/TabWithImage/types.d.ts +0 -29
  171. package/dist/esm/biz-components/Tabs/Tabs.d.ts +0 -7
  172. package/dist/esm/biz-components/Tabs/index.d.ts +0 -1
  173. package/dist/esm/biz-components/Tabs/types.d.ts +0 -30
  174. package/dist/esm/biz-components/TabsGroup/index.d.ts +0 -7
  175. package/dist/esm/biz-components/TabsGroup/types.d.ts +0 -16
  176. package/dist/esm/biz-components/TabsWithMedia/TabsWithMedia.d.ts +0 -7
  177. package/dist/esm/biz-components/TabsWithMedia/index.d.ts +0 -2
  178. package/dist/esm/biz-components/TabsWithMedia/types.d.ts +0 -41
  179. package/dist/esm/biz-components/TextModal/index.d.ts +0 -14
  180. package/dist/esm/biz-components/ThreeDCarousel/index.d.ts +0 -15
  181. package/dist/esm/biz-components/Title/index.d.ts +0 -7
  182. package/dist/esm/biz-components/Title/types.d.ts +0 -33
  183. package/dist/esm/biz-components/VideoFeature/VideoFeature.d.ts +0 -7
  184. package/dist/esm/biz-components/VideoFeature/index.d.ts +0 -2
  185. package/dist/esm/biz-components/VideoFeature/types.d.ts +0 -19
  186. package/dist/esm/biz-components/VideoModal/YouTubePlayer.d.ts +0 -4
  187. package/dist/esm/biz-components/VideoModal/index.d.ts +0 -8
  188. package/dist/esm/biz-components/WhyChoose/WhyChoose.d.ts +0 -14
  189. package/dist/esm/biz-components/WhyChoose/index.d.ts +0 -2
  190. package/dist/esm/biz-components/WhyChoose/types.d.ts +0 -12
  191. package/dist/esm/biz-components/index.d.ts +0 -118
  192. package/dist/esm/components/alert.d.ts +0 -17
  193. package/dist/esm/components/avatar.d.ts +0 -26
  194. package/dist/esm/components/badge.d.ts +0 -9
  195. package/dist/esm/components/board.d.ts +0 -4
  196. package/dist/esm/components/button.d.ts +0 -41
  197. package/dist/esm/components/card.d.ts +0 -8
  198. package/dist/esm/components/carousel.d.ts +0 -28
  199. package/dist/esm/components/checkbox.d.ts +0 -12
  200. package/dist/esm/components/color.d.ts +0 -13
  201. package/dist/esm/components/container.d.ts +0 -24
  202. package/dist/esm/components/dialog.d.ts +0 -21
  203. package/dist/esm/components/drawer.d.ts +0 -13
  204. package/dist/esm/components/drop-down.d.ts +0 -27
  205. package/dist/esm/components/gird.d.ts +0 -17
  206. package/dist/esm/components/heading.d.ts +0 -17
  207. package/dist/esm/components/index.d.ts +0 -26
  208. package/dist/esm/components/input-number.d.ts +0 -78
  209. package/dist/esm/components/input.d.ts +0 -22
  210. package/dist/esm/components/link.d.ts +0 -45
  211. package/dist/esm/components/loadingDots.d.ts +0 -6
  212. package/dist/esm/components/picture.d.ts +0 -14
  213. package/dist/esm/components/popover.d.ts +0 -6
  214. package/dist/esm/components/radio.d.ts +0 -16
  215. package/dist/esm/components/skeleton.d.ts +0 -9
  216. package/dist/esm/components/tabs.d.ts +0 -11
  217. package/dist/esm/components/text.d.ts +0 -32
  218. package/dist/esm/components/theme.d.ts +0 -12
  219. package/dist/esm/cpn-components/CpnBanner/index.d.ts +0 -3
  220. package/dist/esm/cpn-components/CpnBanner/types.d.ts +0 -43
  221. package/dist/esm/cpn-components/CpnCountDown/index.d.ts +0 -3
  222. package/dist/esm/cpn-components/CpnCountDown/types.d.ts +0 -29
  223. package/dist/esm/cpn-components/CpnNavigation/index.d.ts +0 -3
  224. package/dist/esm/cpn-components/CpnNavigation/types.d.ts +0 -21
  225. package/dist/esm/cpn-components/CpnProductCard/index.d.ts +0 -3
  226. package/dist/esm/cpn-components/CpnProductCard/types.d.ts +0 -109
  227. package/dist/esm/cpn-components/CpnTitle/index.d.ts +0 -3
  228. package/dist/esm/cpn-components/CpnTitle/types.d.ts +0 -10
  229. package/dist/esm/cpn-components/index.d.ts +0 -5
  230. package/dist/esm/helpers/ScrollLoadVideo.d.ts +0 -15
  231. package/dist/esm/helpers/component-props.d.ts +0 -7
  232. package/dist/esm/helpers/constants.d.ts +0 -0
  233. package/dist/esm/helpers/index.d.ts +0 -2
  234. package/dist/esm/helpers/utils.d.ts +0 -6
  235. package/dist/esm/hooks/useCountDown.d.ts +0 -10
  236. package/dist/esm/hooks/useExposure.d.ts +0 -12
  237. package/dist/esm/hooks/useIntersectionObserver.d.ts +0 -17
  238. package/dist/esm/hooks/useRollout.d.ts +0 -14
  239. package/dist/esm/icons/spinner.d.ts +0 -5
  240. package/dist/esm/index.d.ts +0 -1
  241. package/dist/esm/shared/Styles.d.ts +0 -39
  242. package/dist/esm/shared/getKeyPropsString.d.ts +0 -4
  243. package/dist/esm/shared/mimeType.d.ts +0 -1
  244. package/dist/esm/shared/simpleHash.d.ts +0 -1
  245. package/dist/esm/shared/throttle.d.ts +0 -1
  246. package/dist/esm/shared/track.d.ts +0 -1
  247. package/dist/esm/shared/trackUrlRef.d.ts +0 -7
  248. package/dist/esm/stories/HeroBanner.stories.d.ts +0 -11
  249. package/dist/esm/stories/InlineVideo.stories.d.ts +0 -11
  250. package/dist/esm/stories/MarqueeReview.stories.d.ts +0 -43
  251. package/dist/esm/stories/MemberEquity.stories.d.ts +0 -9
  252. package/dist/esm/stories/MultiLayoutGraphicBlock.stories.d.ts +0 -9
  253. package/dist/esm/stories/ThreeDCarousel.stories.d.ts +0 -9
  254. package/dist/esm/stories/accordionCards.stories.d.ts +0 -7
  255. package/dist/esm/stories/alert.stories.d.ts +0 -5
  256. package/dist/esm/stories/avatar.stories.d.ts +0 -5
  257. package/dist/esm/stories/badge.stories.d.ts +0 -6
  258. package/dist/esm/stories/bizTabs.stories.d.ts +0 -7
  259. package/dist/esm/stories/board.stories.d.ts +0 -6
  260. package/dist/esm/stories/brandEquity.stories.d.ts +0 -6
  261. package/dist/esm/stories/button.stories.d.ts +0 -12
  262. package/dist/esm/stories/card.stories.d.ts +0 -7
  263. package/dist/esm/stories/carousel.stories.d.ts +0 -7
  264. package/dist/esm/stories/category.stories.d.ts +0 -7
  265. package/dist/esm/stories/checkbox.stories.d.ts +0 -16
  266. package/dist/esm/stories/container.stories.d.ts +0 -6
  267. package/dist/esm/stories/cpnBanner.stories.d.ts +0 -5
  268. package/dist/esm/stories/cpnCountdown.stories.d.ts +0 -5
  269. package/dist/esm/stories/cpnNavigation.stories.d.ts +0 -5
  270. package/dist/esm/stories/cpnProductcard.stories.d.ts +0 -5
  271. package/dist/esm/stories/cpnTitle.stories.d.ts +0 -5
  272. package/dist/esm/stories/creativeModule.stories.d.ts +0 -3
  273. package/dist/esm/stories/dialog.stories.d.ts +0 -6
  274. package/dist/esm/stories/drawer.stories.d.ts +0 -7
  275. package/dist/esm/stories/drop-down.stories.d.ts +0 -3
  276. package/dist/esm/stories/evaluate.stories.d.ts +0 -6
  277. package/dist/esm/stories/faq.stories.d.ts +0 -5
  278. package/dist/esm/stories/featureCards.stories.d.ts +0 -12
  279. package/dist/esm/stories/featureShowcase.stories.d.ts +0 -9
  280. package/dist/esm/stories/graphic.stories.d.ts +0 -6
  281. package/dist/esm/stories/graphicAttractionBlock.stories.d.ts +0 -6
  282. package/dist/esm/stories/grid.stories.d.ts +0 -6
  283. package/dist/esm/stories/heading.stories.d.ts +0 -7
  284. package/dist/esm/stories/imageTextFeature.stories.d.ts +0 -11
  285. package/dist/esm/stories/imageWithText.stories.d.ts +0 -24
  286. package/dist/esm/stories/input-number.stories.d.ts +0 -7
  287. package/dist/esm/stories/input.stories.d.ts +0 -7
  288. package/dist/esm/stories/ksp.stories.d.ts +0 -33
  289. package/dist/esm/stories/link.stories.d.ts +0 -7
  290. package/dist/esm/stories/marquee.stories.d.ts +0 -8
  291. package/dist/esm/stories/mediaplayerBase.stories.d.ts +0 -6
  292. package/dist/esm/stories/mediaplayerMulti.stories.d.ts +0 -6
  293. package/dist/esm/stories/picture.stories.d.ts +0 -10
  294. package/dist/esm/stories/popover.stories.d.ts +0 -3
  295. package/dist/esm/stories/productCompare.stories.d.ts +0 -13
  296. package/dist/esm/stories/productHero.stories.d.ts +0 -9
  297. package/dist/esm/stories/radio.stories.d.ts +0 -6
  298. package/dist/esm/stories/shelfDisplay.stories.d.ts +0 -6
  299. package/dist/esm/stories/skeleton.stories.d.ts +0 -7
  300. package/dist/esm/stories/slogan.stories.d.ts +0 -10
  301. package/dist/esm/stories/specs.stories.d.ts +0 -3
  302. package/dist/esm/stories/specsComparison.stories.d.ts +0 -8
  303. package/dist/esm/stories/tabWithImage.stories.d.ts +0 -8
  304. package/dist/esm/stories/tabs.stories.d.ts +0 -9
  305. package/dist/esm/stories/tabsWithMedia.stories.d.ts +0 -8
  306. package/dist/esm/stories/text.stories.d.ts +0 -8
  307. package/dist/esm/stories/videoFeature.stories.d.ts +0 -9
  308. package/dist/esm/stories/whychoose.stories.d.ts +0 -5
  309. package/dist/esm/types/index.d.ts +0 -0
  310. package/dist/esm/types/props.d.ts +0 -47
@@ -1,78 +0,0 @@
1
- import React from 'react';
2
- import type { KeyboardEvent, FocusEvent } from 'react';
3
- import { type VariantProps } from 'class-variance-authority';
4
- import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
5
- declare const InputNumberVariants: (props?: ({
6
- status?: "default" | "error" | "success" | "warning" | null | undefined;
7
- disabled?: boolean | null | undefined;
8
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
- type ColorType = 'default' | 'success' | 'warning' | 'error' | null;
10
- type InputNumberProps = {
11
- /** 定义子组件作为父组件的类型,详细使用方式请参考radix-ui */
12
- asChild?: boolean;
13
- /** 类名*/
14
- className?: string;
15
- /** 输入框下方提示文本,会根据不同的 status 呈现不同的样式*/
16
- tips?: string;
17
- /** 文本框状态*/
18
- status?: ColorType;
19
- /** 数字输入框的值 */
20
- value?: number;
21
- /** 数字输入框的初始值 */
22
- defaultValue?: number;
23
- /** 数值改变步数 */
24
- step?: number;
25
- /** 最小值 */
26
- min?: number;
27
- /** 最大值 */
28
- max?: number;
29
- /** 是否禁用*/
30
- disabled?: boolean;
31
- /** 是否只读*/
32
- readonly?: boolean;
33
- /** 样式*/
34
- style?: React.CSSProperties;
35
- /** 值变化时触发*/
36
- onChange?: (value: number) => void;
37
- /** 失去焦点时触发*/
38
- onBlur?: (value: number, e: FocusEvent) => void;
39
- /** 按下回车键时触发*/
40
- onEnter?: (value: number, e: KeyboardEvent) => void;
41
- } & VariantProps<typeof InputNumberVariants> & ComponentPropsWithout<'div', RemovedProps>;
42
- declare const InputNumber: React.ForwardRefExoticComponent<{
43
- /** 定义子组件作为父组件的类型,详细使用方式请参考radix-ui */
44
- asChild?: boolean | undefined;
45
- /** 类名*/
46
- className?: string | undefined;
47
- /** 输入框下方提示文本,会根据不同的 status 呈现不同的样式*/
48
- tips?: string | undefined;
49
- /** 文本框状态*/
50
- status?: ColorType | undefined;
51
- /** 数字输入框的值 */
52
- value?: number | undefined;
53
- /** 数字输入框的初始值 */
54
- defaultValue?: number | undefined;
55
- /** 数值改变步数 */
56
- step?: number | undefined;
57
- /** 最小值 */
58
- min?: number | undefined;
59
- /** 最大值 */
60
- max?: number | undefined;
61
- /** 是否禁用*/
62
- disabled?: boolean | undefined;
63
- /** 是否只读*/
64
- readonly?: boolean | undefined;
65
- /** 样式*/
66
- style?: React.CSSProperties | undefined;
67
- /** 值变化时触发*/
68
- onChange?: ((value: number) => void) | undefined;
69
- /** 失去焦点时触发*/
70
- onBlur?: ((value: number, e: FocusEvent) => void) | undefined;
71
- /** 按下回车键时触发*/
72
- onEnter?: ((value: number, e: KeyboardEvent) => void) | undefined;
73
- } & VariantProps<(props?: ({
74
- status?: "default" | "error" | "success" | "warning" | null | undefined;
75
- disabled?: boolean | null | undefined;
76
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & ComponentPropsWithout<"div", RemovedProps> & React.RefAttributes<HTMLDivElement>>;
77
- export default InputNumber;
78
- export type { InputNumberProps };
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
3
- import { type VariantProps } from 'class-variance-authority';
4
- declare const inputVariants: (props?: ({
5
- size?: "base" | "lg" | "sm" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- export interface InputProps extends ComponentPropsWithout<'input', 'size'>, VariantProps<typeof inputVariants> {
8
- }
9
- interface InputSlotProps extends ComponentPropsWithout<'div', RemovedProps> {
10
- /**
11
- * 插槽的位置
12
- * default: right
13
- */
14
- side?: 'left' | 'right';
15
- }
16
- /**
17
- * InputSlot
18
- * 用来在 Input 组件中插入额外的内容,比如icon ,按钮
19
- */
20
- declare const InputSlot: React.ForwardRefExoticComponent<InputSlotProps & React.RefAttributes<HTMLDivElement>>;
21
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
22
- export { Input, InputSlot };
@@ -1,45 +0,0 @@
1
- import React from 'react';
2
- import type { ReactNode } from 'react';
3
- import { type VariantProps } from 'class-variance-authority';
4
- import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
5
- declare const linkVariants: (props?: ({
6
- size?: "base" | "lg" | null | undefined;
7
- variant?: "primary" | "secoundry" | null | undefined;
8
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
- type LinkProps = {
10
- /** 定义子组件作为父组件的类型,详细使用方式请参考radix-ui */
11
- asChild?: boolean;
12
- /** 类名*/
13
- className?: string;
14
- /** 禁用链接 */
15
- disabled?: boolean;
16
- /** 后置图标*/
17
- suffixIcon?: ReactNode;
18
- /** 跳转链接*/
19
- href?: string;
20
- /** 样式*/
21
- style?: React.CSSProperties;
22
- /** 点击事件,禁用状态无法触发*/
23
- onClick?: Function;
24
- } & VariantProps<typeof linkVariants> & ComponentPropsWithout<'a', RemovedProps>;
25
- declare const Link: React.ForwardRefExoticComponent<{
26
- /** 定义子组件作为父组件的类型,详细使用方式请参考radix-ui */
27
- asChild?: boolean | undefined;
28
- /** 类名*/
29
- className?: string | undefined;
30
- /** 禁用链接 */
31
- disabled?: boolean | undefined;
32
- /** 后置图标*/
33
- suffixIcon?: ReactNode;
34
- /** 跳转链接*/
35
- href?: string | undefined;
36
- /** 样式*/
37
- style?: React.CSSProperties | undefined;
38
- /** 点击事件,禁用状态无法触发*/
39
- onClick?: Function | undefined;
40
- } & VariantProps<(props?: ({
41
- size?: "base" | "lg" | null | undefined;
42
- variant?: "primary" | "secoundry" | null | undefined;
43
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & ComponentPropsWithout<"a", RemovedProps> & React.RefAttributes<HTMLAnchorElement>>;
44
- export default Link;
45
- export type { LinkProps };
@@ -1,6 +0,0 @@
1
- import type { FC } from 'react';
2
- interface LoadingProps {
3
- className?: string;
4
- }
5
- declare const LoadingDots: FC<LoadingProps>;
6
- export default LoadingDots;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- export interface PictureProps extends React.ImgHTMLAttributes<HTMLImageElement> {
3
- /** picture 内部img 标签的类名 */
4
- imgClassName?: string;
5
- /** 图片url , 支持传入不同分辨率下的图片,比如,格式 "url1 1920, url2 1080, url3 767" */
6
- source?: string;
7
- /** 图片质量 */
8
- quality?: number;
9
- /** 响应式图片,对应picture 下source 的max-width */
10
- deviceSizes?: number[];
11
- alt?: string;
12
- }
13
- declare const Picture: React.ForwardRefExoticComponent<PictureProps & React.RefAttributes<HTMLPictureElement>>;
14
- export default Picture;
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import * as PopoverPrimitive from '@radix-ui/react-popover';
3
- declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- export { Popover, PopoverTrigger, PopoverContent };
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
- import { type VariantProps } from 'class-variance-authority';
4
- declare const radioGroupVariants: (props?: ({
5
- size?: "base" | "lg" | "sm" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- interface RadioGroupProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
8
- /** 尺寸 */
9
- size?: 'sm' | 'base' | 'lg';
10
- }
11
- declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
12
- interface RadioGroupItemProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, VariantProps<typeof radioGroupVariants> {
13
- }
14
- declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
15
- export { RadioGroup, RadioGroupItem };
16
- export type { RadioGroupProps, RadioGroupItemProps };
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
3
- interface SkeletonProps extends ComponentPropsWithout<'span', RemovedProps> {
4
- /** 是否正在加载 , 默认是true*/
5
- loading?: boolean;
6
- }
7
- declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLSpanElement>>;
8
- export default Skeleton;
9
- export type { SkeletonProps };
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- import * as TabsPrimitive from '@radix-ui/react-tabs';
3
- import type { Align, Shape } from '../types/props.js';
4
- declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
5
- align?: Align | undefined;
6
- shape?: Shape | undefined;
7
- } & React.RefAttributes<HTMLDivElement>>;
8
- declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
- declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
- declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
- export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -1,32 +0,0 @@
1
- import * as React from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
3
- import type { SerializedEditorState, SerializedLexicalNode } from 'lexical';
4
- import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js';
5
- declare const textVariants: (props?: ({
6
- size?: 1 | "none" | 2 | 3 | 4 | null | undefined;
7
- weight?: "bold" | "medium" | "semibold" | "extraBold" | "black" | null | undefined;
8
- align?: "left" | "right" | "center" | null | undefined;
9
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
- type TextSpanProps = {
11
- as?: 'span';
12
- } & ComponentPropsWithout<'span', RemovedProps>;
13
- type TextDivProps = {
14
- as: 'div';
15
- } & ComponentPropsWithout<'div', RemovedProps>;
16
- type TextLabelProps = {
17
- as: 'label';
18
- } & ComponentPropsWithout<'label', RemovedProps>;
19
- type TextPProps = {
20
- as: 'p';
21
- } & ComponentPropsWithout<'p', RemovedProps>;
22
- interface CommonTextProps extends VariantProps<typeof textVariants> {
23
- as?: 'div' | 'label' | 'p' | 'span';
24
- asChild?: boolean;
25
- color?: string;
26
- /** 相当于 dangerouslySetInnerHTML */
27
- html?: string | SerializedEditorState<SerializedLexicalNode>;
28
- }
29
- type TextProps = CommonTextProps & (TextSpanProps | TextDivProps | TextLabelProps | TextPProps);
30
- declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
31
- export { Text };
32
- export type { TextProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- interface ThemeProps {
3
- brand: string;
4
- children: React.ReactNode;
5
- }
6
- /**
7
- * @deprecated
8
- * @param param
9
- * @returns
10
- */
11
- declare const Theme: ({ brand, children }: ThemeProps) => import("react/jsx-runtime").JSX.Element;
12
- export default Theme;
@@ -1,3 +0,0 @@
1
- import type { BannerProps } from './types.js';
2
- declare const CpnBanner: (props: BannerProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CpnBanner;
@@ -1,43 +0,0 @@
1
- import type { CountDownProps } from '../CpnCountDown/types';
2
- type TextType = 'title' | 'subtitle' | 'subheading';
3
- type TextContent = {
4
- type: TextType;
5
- text: string;
6
- };
7
- type ButtonContent = {
8
- type: 'button';
9
- text: string;
10
- target?: string;
11
- cns?: string;
12
- onClick?: () => void;
13
- };
14
- type ButtonsContent = {
15
- type: 'buttons';
16
- buttons: Omit<ButtonContent, 'type'>[];
17
- };
18
- type CountDownContent = {
19
- type: 'countdown';
20
- } & CountDownProps;
21
- type BannerContent = TextContent | ButtonContent | ButtonsContent | CountDownContent;
22
- export type BannerProps = {
23
- id?: string;
24
- image: string;
25
- imageMob?: string;
26
- imageLink?: string;
27
- content?: BannerContent[];
28
- cns?: {
29
- container?: string;
30
- picture?: string;
31
- image?: string;
32
- box?: string;
33
- contentBox?: string;
34
- content?: string;
35
- subheading?: string;
36
- title?: string;
37
- subtitle?: string;
38
- buttonBox?: string;
39
- button?: string;
40
- countdown?: CountDownProps['cns'];
41
- };
42
- };
43
- export {};
@@ -1,3 +0,0 @@
1
- import type { CountDownProps } from './types.js';
2
- declare const CpnCountDown: (props: CountDownProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CpnCountDown;
@@ -1,29 +0,0 @@
1
- type Cns = {
2
- container?: string;
3
- item?: string;
4
- picture?: string;
5
- image?: string;
6
- time?: string;
7
- copy?: string;
8
- colonBox?: string;
9
- colon?: string;
10
- };
11
- type Copy = {
12
- days?: string;
13
- hours?: string;
14
- minutes?: string;
15
- seconds?: string;
16
- };
17
- export type CountDownProps = {
18
- endTime?: string;
19
- copy?: Copy;
20
- cns?: Cns;
21
- expiredHidden?: boolean;
22
- };
23
- export type ItemProps = {
24
- time?: string;
25
- copy?: string;
26
- image?: string;
27
- cns?: Cns;
28
- };
29
- export {};
@@ -1,3 +0,0 @@
1
- import type { NavigationProps } from './types.js';
2
- declare const CpnNavigation: (props: NavigationProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CpnNavigation;
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- type Cns = {
3
- container?: string;
4
- box?: string;
5
- item?: string;
6
- activeItem?: string;
7
- };
8
- export interface Nav {
9
- label: string;
10
- anchor: string;
11
- }
12
- export type NavigationProps = {
13
- lists: Nav[];
14
- styles?: {
15
- [key: string]: string;
16
- };
17
- cns?: Cns;
18
- offset?: number;
19
- clickHandler?: (nav: Nav, index: number, e: React.MouseEvent<HTMLAnchorElement>) => void;
20
- };
21
- export {};
@@ -1,3 +0,0 @@
1
- import type { ProductCardProps } from './types.js';
2
- declare const CpnProductCard: (props: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CpnProductCard;
@@ -1,109 +0,0 @@
1
- export type ProductImage = {
2
- url: string;
3
- altText?: string;
4
- width?: number;
5
- height?: number;
6
- };
7
- export type ProductPrice = {
8
- value: number;
9
- currencyCode?: 'USD' | 'EUR' | 'ARS' | string;
10
- retailPrice?: number;
11
- salePrice?: number;
12
- listPrice?: number;
13
- extendedSalePrice?: number;
14
- extendedListPrice?: number;
15
- };
16
- export type ProductOption = {
17
- __typename?: 'MultipleChoiceOption';
18
- id: string;
19
- displayName: string;
20
- name?: string;
21
- values: ProductOptionValues[];
22
- };
23
- export type ProductOptionValues = {
24
- label: string;
25
- hexColors?: string[];
26
- };
27
- export type SellingPlans = {
28
- id: string;
29
- name: string;
30
- options: {
31
- name: string;
32
- value: string;
33
- }[];
34
- };
35
- export type SellingPlanGroups = {
36
- name: string;
37
- sellingPlans: SellingPlans[];
38
- };
39
- export type SellingPlanAllocations = {
40
- priceAdjustments: [];
41
- sellingPlan: SellingPlans;
42
- }[];
43
- export type ProductVariant = {
44
- barcode?: string;
45
- id: string | number;
46
- options: ProductOption[];
47
- availableForSale?: boolean;
48
- quantityAvailable: number;
49
- metafields?: Record<string, any>;
50
- sellingPlanAllocations?: SellingPlanAllocations;
51
- price: number;
52
- weight?: number;
53
- name?: string;
54
- image?: ProductImage;
55
- requiresShipping?: boolean;
56
- [key: string]: any;
57
- };
58
- export type Product = {
59
- availableForSale?: boolean;
60
- id: string;
61
- name: string;
62
- description: string;
63
- descriptionHtml?: string;
64
- productType?: string;
65
- onlineStoreUrl?: string | null;
66
- publishedAt?: string;
67
- title?: string;
68
- slug?: string;
69
- handle?: string;
70
- path?: string;
71
- images: ProductImage[];
72
- variants: ProductVariant[];
73
- price: ProductPrice;
74
- listPrice?: number;
75
- options: ProductOption[];
76
- seo?: any;
77
- tags?: string[];
78
- metafields?: {
79
- [key: string]: any;
80
- };
81
- vendor: string;
82
- totalInventory: number;
83
- requiresSellingPlan: boolean;
84
- sellingPlanGroups: SellingPlanGroups[];
85
- };
86
- type Cns = {
87
- container?: string;
88
- box?: string;
89
- item?: string;
90
- activeItem?: string;
91
- };
92
- type ContentType = 'tag' | 'image' | 'title' | 'subtitle' | 'price' | 'buttons' | 'code';
93
- interface Content {
94
- type: ContentType;
95
- text?: string;
96
- image?: string;
97
- imageMob?: string;
98
- url?: string;
99
- buttons?: {
100
- text: string;
101
- variant?: "primary" | "secondary";
102
- onClick?: () => void;
103
- }[];
104
- }
105
- export type ProductCardProps = {
106
- content?: Content[];
107
- cns?: Cns;
108
- };
109
- export {};
@@ -1,3 +0,0 @@
1
- import type { TitleProps } from './types.js';
2
- declare const CpnTitle: (props: TitleProps) => import("react/jsx-runtime").JSX.Element;
3
- export default CpnTitle;
@@ -1,10 +0,0 @@
1
- export type TitleProps = {
2
- html: string;
3
- icon_l?: string;
4
- icon_r?: string;
5
- cns?: {
6
- container?: string;
7
- icon_l?: string;
8
- icon_r?: string;
9
- };
10
- };
@@ -1,5 +0,0 @@
1
- export { default as CpnBanner } from './CpnBanner/index.js';
2
- export { default as CpnCountDown } from './CpnCountDown/index.js';
3
- export { default as CpnNavigation } from './CpnNavigation/index.js';
4
- export { default as CpnProductCard } from './CpnProductCard/index.js';
5
- export { default as CpnTitle } from './CpnTitle/index.js';
@@ -1,15 +0,0 @@
1
- declare const ScrollLoadVideo: ({ src, poster, alt, className, videoWrapperClassName, videoClassName, autoplay, muted, loop, controls, playsInline, videoRef, ...attr }: {
2
- src: string;
3
- poster?: string;
4
- alt?: string;
5
- className?: string;
6
- videoWrapperClassName?: string;
7
- videoClassName?: string;
8
- autoplay?: boolean;
9
- muted?: boolean;
10
- loop?: boolean;
11
- controls?: boolean;
12
- playsInline?: boolean;
13
- [key: string]: any;
14
- }) => import("react/jsx-runtime").JSX.Element;
15
- export default ScrollLoadVideo;
@@ -1,7 +0,0 @@
1
- import type React from 'react';
2
- type ComponentPropsAs<C extends React.ElementType<any>, T extends React.ComponentPropsWithoutRef<C>['as']> = Omit<Extract<React.ComponentPropsWithoutRef<C>, {
3
- as: T;
4
- }>, 'as' | 'asChild'>;
5
- type ComponentPropsWithout<T extends React.ElementType, O extends Omit<string, keyof React.ComponentPropsWithoutRef<T>> | keyof React.ComponentPropsWithoutRef<T>> = Omit<React.ComponentPropsWithoutRef<T>, O & string>;
6
- type RemovedProps = 'asChild' | 'defaultChecked' | 'defaultValue' | 'color';
7
- export type { ComponentPropsAs, ComponentPropsWithout, RemovedProps };
File without changes
@@ -1,2 +0,0 @@
1
- export { cn } from './utils.js';
2
- export { noop } from './utils.js';
@@ -1,6 +0,0 @@
1
- import { type ClassValue } from 'clsx';
2
- export declare function cn(...inputs: ClassValue[]): string;
3
- export declare function noop(): any;
4
- export declare function atobID(id: string): string | undefined;
5
- export declare const spaceToHyphen: (str: string) => string;
6
- export declare const highlightSearchWord: (text: string, searchText: string) => string;
@@ -1,10 +0,0 @@
1
- interface Time {
2
- days: string;
3
- hours: string;
4
- minutes: string;
5
- seconds: string;
6
- }
7
- declare const useCountDown: ({ endTime }: {
8
- endTime?: string;
9
- }) => Time;
10
- export default useCountDown;
@@ -1,12 +0,0 @@
1
- import { type RefObject } from 'react';
2
- interface ExposureOptions {
3
- componentType: string;
4
- componentName: string;
5
- componentTitle?: string;
6
- componentDescription?: string;
7
- navigation?: string;
8
- pageGroup?: string;
9
- position?: number;
10
- }
11
- export declare const useExposure: (ref: RefObject<HTMLDivElement>, { componentType, componentName, componentTitle, componentDescription, navigation, position }: ExposureOptions) => void;
12
- export {};
@@ -1,17 +0,0 @@
1
- import { type RefObject } from 'react';
2
- type DelayOptions = {
3
- callback: () => void;
4
- once?: boolean;
5
- threshold?: number;
6
- delay?: number;
7
- };
8
- /**
9
- * 只有提留超过delay设置的时间才会触发callback
10
- * @param targetRef
11
- * @param callback
12
- * @param once
13
- * @param threshold
14
- * @param delay
15
- */
16
- export declare const useIntersectionObserverDelay: (targetRef: RefObject<any> | undefined, { callback, once, threshold, delay }: DelayOptions) => void;
17
- export {};
@@ -1,14 +0,0 @@
1
- import { type MutableRefObject } from 'react';
2
- type UseRolloutOptions = IntersectionObserverInit & {
3
- /**
4
- * When true, once the target enters the viewport the first time,
5
- * the observer disconnects and `inView` stays true.
6
- */
7
- once?: boolean;
8
- };
9
- /**
10
- * Observe when an element enters the viewport.
11
- * Returns a ref to attach to the element and a boolean indicating visibility.
12
- */
13
- export declare function useRollout<T extends HTMLElement = HTMLElement>(options?: UseRolloutOptions): [MutableRefObject<T | null>, boolean];
14
- export {};
@@ -1,5 +0,0 @@
1
- export interface SpinnerProps {
2
- className?: string;
3
- }
4
- declare const Spinner: (props: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
5
- export default Spinner;
@@ -1 +0,0 @@
1
- export * from './components/index.js';