@redneckz/wildless-cms-uni-blocks 0.6.30 → 0.6.32

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 (281) hide show
  1. package/bin/migration-scripts/0.6.32.js +26 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +145 -108
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Carousel/CarouselContainer.d.ts +2 -1
  6. package/bundle/components/Carousel/CarouselContent.d.ts +9 -2
  7. package/bundle/components/CarouselLinks/CarouselLinks.d.ts +5 -0
  8. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
  9. package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  10. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
  11. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +6 -0
  12. package/bundle/components/StepsBlock/renderStepContent.d.ts +1 -1
  13. package/bundle/hooks/useCarouselControls.d.ts +13 -0
  14. package/bundle/icons/IconName.d.ts +6 -4
  15. package/bundle/model/HeadlineType.d.ts +2 -2
  16. package/bundle/ui-kit/LinkButton/LinkButton.d.ts +5 -0
  17. package/bundle/utils/sliceArray.d.ts +1 -0
  18. package/cosmos-static/icons/ArrowRightIcon.svg +1 -0
  19. package/dist/components/Blocks.js +2 -0
  20. package/dist/components/Blocks.js.map +1 -1
  21. package/dist/components/Carousel/Carousel.js +3 -3
  22. package/dist/components/Carousel/Carousel.js.map +1 -1
  23. package/dist/components/Carousel/CarouselContainer.d.ts +2 -1
  24. package/dist/components/Carousel/CarouselContainer.js +1 -1
  25. package/dist/components/Carousel/CarouselContainer.js.map +1 -1
  26. package/dist/components/Carousel/CarouselContent.d.ts +9 -2
  27. package/dist/components/Carousel/CarouselContent.js +3 -0
  28. package/dist/components/Carousel/CarouselContent.js.map +1 -1
  29. package/dist/components/CarouselLinks/CarouselLinks.d.ts +5 -0
  30. package/dist/components/CarouselLinks/CarouselLinks.js +20 -0
  31. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -0
  32. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
  33. package/dist/components/CarouselLinks/CarouselLinksContent.js +2 -0
  34. package/dist/components/CarouselLinks/CarouselLinksContent.js.map +1 -0
  35. package/dist/components/ComparisonTable/ComparisonTableBody.js +2 -2
  36. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  37. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  38. package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  39. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  40. package/dist/components/ContactsBlock/ContactsBlock.js +5 -9
  41. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  42. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
  43. package/dist/components/Headline/constants.js +6 -0
  44. package/dist/components/Headline/constants.js.map +1 -1
  45. package/dist/components/ProductBlock/ProductBlockContent.d.ts +6 -0
  46. package/dist/components/ProductBlock/ProductBlockInner.js +5 -3
  47. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  48. package/dist/components/StepsBlock/renderStepContent.d.ts +1 -1
  49. package/dist/components/TariffsTable/TariffsTable.js +3 -3
  50. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  51. package/dist/hooks/useCarouselControls.d.ts +13 -0
  52. package/{mobile/dist/hooks/useCarousel.js → dist/hooks/useCarouselControls.js} +6 -6
  53. package/dist/hooks/useCarouselControls.js.map +1 -0
  54. package/dist/icons/IconName.d.ts +6 -4
  55. package/dist/icons/IconName.js +4 -2
  56. package/dist/icons/IconName.js.map +1 -1
  57. package/dist/model/HeadlineType.d.ts +2 -2
  58. package/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  59. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  60. package/dist/ui-kit/LinkButton/LinkButton.d.ts +5 -0
  61. package/dist/ui-kit/LinkButton/LinkButton.js +16 -0
  62. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
  63. package/dist/utils/sliceArray.d.ts +1 -0
  64. package/dist/utils/sliceArray.js +15 -0
  65. package/dist/utils/sliceArray.js.map +1 -0
  66. package/lib/common.css +1 -1
  67. package/lib/components/Blocks.js +2 -0
  68. package/lib/components/Blocks.js.map +1 -1
  69. package/lib/components/Carousel/Carousel.js +3 -3
  70. package/lib/components/Carousel/Carousel.js.map +1 -1
  71. package/lib/components/Carousel/CarouselContainer.d.ts +2 -1
  72. package/lib/components/Carousel/CarouselContainer.js +1 -1
  73. package/lib/components/Carousel/CarouselContainer.js.map +1 -1
  74. package/lib/components/Carousel/CarouselContent.d.ts +9 -2
  75. package/lib/components/Carousel/CarouselContent.js +3 -0
  76. package/lib/components/Carousel/CarouselContent.js.map +1 -1
  77. package/lib/components/CarouselLinks/CarouselLinks.d.ts +5 -0
  78. package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +5 -0
  79. package/lib/components/CarouselLinks/CarouselLinks.js +18 -0
  80. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -0
  81. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
  82. package/lib/components/CarouselLinks/CarouselLinksContent.js +2 -0
  83. package/lib/components/CarouselLinks/CarouselLinksContent.js.map +1 -0
  84. package/lib/components/ComparisonTable/ComparisonTableBody.js +2 -2
  85. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  86. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  87. package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  88. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  89. package/lib/components/ContactsBlock/ContactsBlock.js +5 -9
  90. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  91. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
  92. package/lib/components/Headline/constants.js +6 -0
  93. package/lib/components/Headline/constants.js.map +1 -1
  94. package/lib/components/ProductBlock/ProductBlockContent.d.ts +6 -0
  95. package/lib/components/ProductBlock/ProductBlockInner.js +5 -3
  96. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  97. package/lib/components/StepsBlock/renderStepContent.d.ts +1 -1
  98. package/lib/components/TariffsTable/TariffsTable.js +3 -3
  99. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  100. package/lib/hooks/useCarouselControls.d.ts +13 -0
  101. package/lib/hooks/{useCarousel.js → useCarouselControls.js} +4 -4
  102. package/lib/hooks/useCarouselControls.js.map +1 -0
  103. package/lib/icons/IconName.d.ts +6 -4
  104. package/lib/icons/IconName.js +4 -2
  105. package/lib/icons/IconName.js.map +1 -1
  106. package/lib/model/HeadlineType.d.ts +2 -2
  107. package/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  108. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  109. package/lib/ui-kit/LinkButton/LinkButton.d.ts +5 -0
  110. package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +5 -0
  111. package/lib/ui-kit/LinkButton/LinkButton.js +14 -0
  112. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
  113. package/lib/utils/sliceArray.d.ts +1 -0
  114. package/lib/utils/sliceArray.js +12 -0
  115. package/lib/utils/sliceArray.js.map +1 -0
  116. package/mobile/bundle/bundle.umd.js +1 -1
  117. package/mobile/bundle/bundle.umd.min.js +1 -1
  118. package/mobile/bundle/components/Carousel/CarouselContainer.d.ts +2 -1
  119. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +9 -2
  120. package/mobile/bundle/components/CarouselLinks/CarouselLinks.d.ts +5 -0
  121. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
  122. package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  123. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
  124. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +6 -0
  125. package/mobile/bundle/components/StepsBlock/renderStepContent.d.ts +1 -1
  126. package/mobile/bundle/hooks/useCarouselControls.d.ts +13 -0
  127. package/mobile/bundle/icons/IconName.d.ts +6 -4
  128. package/mobile/bundle/model/HeadlineType.d.ts +2 -2
  129. package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +5 -0
  130. package/mobile/bundle/utils/sliceArray.d.ts +1 -0
  131. package/mobile/dist/components/Carousel/Carousel.js +3 -3
  132. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  133. package/mobile/dist/components/Carousel/CarouselContainer.d.ts +2 -1
  134. package/mobile/dist/components/Carousel/CarouselContainer.js +1 -1
  135. package/mobile/dist/components/Carousel/CarouselContainer.js.map +1 -1
  136. package/mobile/dist/components/Carousel/CarouselContent.d.ts +9 -2
  137. package/mobile/dist/components/Carousel/CarouselContent.js +3 -0
  138. package/mobile/dist/components/Carousel/CarouselContent.js.map +1 -1
  139. package/mobile/dist/components/CarouselLinks/CarouselLinks.d.ts +5 -0
  140. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +20 -0
  141. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -0
  142. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
  143. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js +2 -0
  144. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.js.map +1 -0
  145. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +2 -2
  146. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  147. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  148. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  149. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  150. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +5 -9
  151. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  152. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
  153. package/mobile/dist/components/Headline/constants.js +6 -0
  154. package/mobile/dist/components/Headline/constants.js.map +1 -1
  155. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +6 -0
  156. package/mobile/dist/components/StepsBlock/renderStepContent.d.ts +1 -1
  157. package/mobile/dist/hooks/useCarouselControls.d.ts +13 -0
  158. package/{dist/hooks/useCarousel.js → mobile/dist/hooks/useCarouselControls.js} +6 -6
  159. package/mobile/dist/hooks/useCarouselControls.js.map +1 -0
  160. package/mobile/dist/icons/IconName.d.ts +6 -4
  161. package/mobile/dist/icons/IconName.js +4 -2
  162. package/mobile/dist/icons/IconName.js.map +1 -1
  163. package/mobile/dist/model/HeadlineType.d.ts +2 -2
  164. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  165. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  166. package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +5 -0
  167. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +16 -0
  168. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
  169. package/mobile/dist/utils/sliceArray.d.ts +1 -0
  170. package/mobile/dist/utils/sliceArray.js +15 -0
  171. package/mobile/dist/utils/sliceArray.js.map +1 -0
  172. package/mobile/lib/components/Carousel/Carousel.js +3 -3
  173. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  174. package/mobile/lib/components/Carousel/CarouselContainer.d.ts +2 -1
  175. package/mobile/lib/components/Carousel/CarouselContainer.js +1 -1
  176. package/mobile/lib/components/Carousel/CarouselContainer.js.map +1 -1
  177. package/mobile/lib/components/Carousel/CarouselContent.d.ts +9 -2
  178. package/mobile/lib/components/Carousel/CarouselContent.js +3 -0
  179. package/mobile/lib/components/Carousel/CarouselContent.js.map +1 -1
  180. package/mobile/lib/components/CarouselLinks/CarouselLinks.d.ts +5 -0
  181. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +18 -0
  182. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -0
  183. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +9 -0
  184. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js +2 -0
  185. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.js.map +1 -0
  186. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +2 -2
  187. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  188. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  189. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  190. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  191. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +5 -9
  192. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  193. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +11 -20
  194. package/mobile/lib/components/Headline/constants.js +6 -0
  195. package/mobile/lib/components/Headline/constants.js.map +1 -1
  196. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +6 -0
  197. package/mobile/lib/components/StepsBlock/renderStepContent.d.ts +1 -1
  198. package/mobile/lib/hooks/useCarouselControls.d.ts +13 -0
  199. package/mobile/lib/hooks/{useCarousel.js → useCarouselControls.js} +4 -4
  200. package/mobile/lib/hooks/useCarouselControls.js.map +1 -0
  201. package/mobile/lib/icons/IconName.d.ts +6 -4
  202. package/mobile/lib/icons/IconName.js +4 -2
  203. package/mobile/lib/icons/IconName.js.map +1 -1
  204. package/mobile/lib/model/HeadlineType.d.ts +2 -2
  205. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  206. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  207. package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +5 -0
  208. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +14 -0
  209. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
  210. package/mobile/lib/utils/sliceArray.d.ts +1 -0
  211. package/mobile/lib/utils/sliceArray.js +12 -0
  212. package/mobile/lib/utils/sliceArray.js.map +1 -0
  213. package/mobile/src/components/Carousel/Carousel.tsx +3 -4
  214. package/mobile/src/components/Carousel/CarouselContainer.tsx +3 -2
  215. package/mobile/src/components/Carousel/CarouselContent.ts +10 -2
  216. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +55 -0
  217. package/mobile/src/components/CarouselLinks/CarouselLinks.json +8 -0
  218. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +61 -0
  219. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +10 -0
  220. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +2 -2
  221. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +3 -3
  222. package/mobile/src/components/ContactsBlock/ContactsBlock.example.json +22 -18
  223. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +25 -35
  224. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +12 -22
  225. package/mobile/src/components/Headline/constants.ts +6 -0
  226. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +6 -0
  227. package/mobile/src/components/StepsBlock/renderStepContent.tsx +1 -1
  228. package/mobile/src/hooks/{useCarousel.ts → useCarouselControls.ts} +5 -9
  229. package/mobile/src/icons/ArrowLeftIcon.svg +1 -1
  230. package/mobile/src/icons/ArrowRightIcon.svg +1 -0
  231. package/mobile/src/icons/ArrowUpIcon.svg +1 -1
  232. package/mobile/src/icons/IconName.ts +4 -4
  233. package/mobile/src/model/HeadlineType.ts +2 -2
  234. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +9 -2
  235. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +42 -0
  236. package/mobile/src/utils/sliceArray.ts +15 -0
  237. package/package.json +2 -2
  238. package/src/components/Blocks.ts +2 -0
  239. package/src/components/Carousel/Carousel.fixture.tsx +3 -3
  240. package/src/components/Carousel/Carousel.tsx +3 -4
  241. package/src/components/Carousel/CarouselContainer.tsx +3 -2
  242. package/src/components/Carousel/CarouselContent.ts +10 -2
  243. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -6
  244. package/src/components/CarouselLinks/CarouselLinks.example.json +55 -0
  245. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +28 -0
  246. package/src/components/CarouselLinks/CarouselLinks.json +8 -0
  247. package/src/components/CarouselLinks/CarouselLinks.tsx +61 -0
  248. package/src/components/CarouselLinks/CarouselLinksContent.ts +10 -0
  249. package/src/components/ComparisonTable/ComparisonTableBody.tsx +2 -2
  250. package/src/components/ComparisonTable/ComparisonTableRows.tsx +3 -3
  251. package/src/components/ContactsBlock/ContactsBlock.example.json +22 -18
  252. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +21 -15
  253. package/src/components/ContactsBlock/ContactsBlock.tsx +25 -35
  254. package/src/components/ContactsBlock/ContactsBlockContent.ts +12 -22
  255. package/src/components/Headline/constants.ts +6 -0
  256. package/src/components/ProductBlock/ProductBlock.fixture.tsx +1 -0
  257. package/src/components/ProductBlock/ProductBlockContent.ts +6 -0
  258. package/src/components/ProductBlock/ProductBlockInner.tsx +8 -3
  259. package/src/components/StepsBlock/renderStepContent.tsx +1 -1
  260. package/src/components/TariffsTable/TariffsTable.tsx +5 -7
  261. package/src/hooks/{useCarousel.ts → useCarouselControls.ts} +5 -9
  262. package/src/icons/ArrowLeftIcon.svg +1 -1
  263. package/src/icons/ArrowRightIcon.svg +1 -0
  264. package/src/icons/ArrowUpIcon.svg +1 -1
  265. package/src/icons/IconName.ts +6 -327
  266. package/src/model/.CarouselCardVersion.ts.icloud +0 -0
  267. package/src/model/HeadlineType.ts +2 -2
  268. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +9 -2
  269. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +9 -0
  270. package/src/ui-kit/LinkButton/LinkButton.tsx +42 -0
  271. package/src/utils/sliceArray.ts +15 -0
  272. package/bundle/hooks/useCarousel.d.ts +0 -14
  273. package/dist/hooks/useCarousel.d.ts +0 -14
  274. package/dist/hooks/useCarousel.js.map +0 -1
  275. package/lib/hooks/useCarousel.d.ts +0 -14
  276. package/lib/hooks/useCarousel.js.map +0 -1
  277. package/mobile/bundle/hooks/useCarousel.d.ts +0 -14
  278. package/mobile/dist/hooks/useCarousel.d.ts +0 -14
  279. package/mobile/dist/hooks/useCarousel.js.map +0 -1
  280. package/mobile/lib/hooks/useCarousel.d.ts +0 -14
  281. package/mobile/lib/hooks/useCarousel.js.map +0 -1
@@ -1,14 +0,0 @@
1
- export declare type CarouselControlProps = [number, Controls];
2
- export interface Controls {
3
- inc: () => void;
4
- dec: () => void;
5
- canInc: boolean;
6
- canDec: boolean;
7
- }
8
- interface CarouselProps {
9
- itemsCount: number;
10
- visibleItemCount?: number;
11
- isCyclic?: boolean;
12
- }
13
- export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
14
- export {};
@@ -1,14 +0,0 @@
1
- export declare type CarouselControlProps = [number, Controls];
2
- export interface Controls {
3
- inc: () => void;
4
- dec: () => void;
5
- canInc: boolean;
6
- canDec: boolean;
7
- }
8
- interface CarouselProps {
9
- itemsCount: number;
10
- visibleItemCount?: number;
11
- isCyclic?: boolean;
12
- }
13
- export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
14
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCarousel.js","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":";;AAAA,uDAAoE;AAiB7D,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,EACV,gBAAgB,GAAG,UAAU,EAC7B,QAAQ,GACM,EAAkC,EAAE;IAClD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAElD,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,iBAAiB,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACxD,MAAM,0BAA0B,GAAG,QAAQ,IAAI,iBAAiB,CAAC;IAEjE,MAAM,MAAM,GACV,0BAA0B;QAC1B,CAAC,iBAAiB,IAAI,UAAU,GAAG,WAAW,GAAG,gBAAgB,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,0BAA0B,IAAI,OAAO,CAAC,iBAAiB,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;IAE3F,OAAO;QACL,WAAW;QACX;YACE,GAAG;YACH,GAAG;YACH,MAAM;YACN,MAAM;SACP;KACF,CAAC;AACJ,CAAC,CAAC;AArCW,QAAA,kBAAkB,sBAqC7B"}
@@ -1,14 +0,0 @@
1
- export declare type CarouselControlProps = [number, Controls];
2
- export interface Controls {
3
- inc: () => void;
4
- dec: () => void;
5
- canInc: boolean;
6
- canDec: boolean;
7
- }
8
- interface CarouselProps {
9
- itemsCount: number;
10
- visibleItemCount?: number;
11
- isCyclic?: boolean;
12
- }
13
- export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
14
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCarousel.js","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAiBpE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,EACV,gBAAgB,GAAG,UAAU,EAC7B,QAAQ,GACM,EAAkC,EAAE;IAClD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElD,MAAM,GAAG,GAAG,WAAW,CACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,GAAG,GAAG,WAAW,CACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,iBAAiB,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACxD,MAAM,0BAA0B,GAAG,QAAQ,IAAI,iBAAiB,CAAC;IAEjE,MAAM,MAAM,GACV,0BAA0B;QAC1B,CAAC,iBAAiB,IAAI,UAAU,GAAG,WAAW,GAAG,gBAAgB,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,0BAA0B,IAAI,OAAO,CAAC,iBAAiB,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;IAE3F,OAAO;QACL,WAAW;QACX;YACE,GAAG;YACH,GAAG;YACH,MAAM;YACN,MAAM;SACP;KACF,CAAC;AACJ,CAAC,CAAC"}
@@ -1,14 +0,0 @@
1
- export declare type CarouselControlProps = [number, Controls];
2
- export interface Controls {
3
- inc: () => void;
4
- dec: () => void;
5
- canInc: boolean;
6
- canDec: boolean;
7
- }
8
- interface CarouselProps {
9
- itemsCount: number;
10
- visibleItemCount?: number;
11
- isCyclic?: boolean;
12
- }
13
- export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
14
- export {};
@@ -1,14 +0,0 @@
1
- export declare type CarouselControlProps = [number, Controls];
2
- export interface Controls {
3
- inc: () => void;
4
- dec: () => void;
5
- canInc: boolean;
6
- canDec: boolean;
7
- }
8
- interface CarouselProps {
9
- itemsCount: number;
10
- visibleItemCount?: number;
11
- isCyclic?: boolean;
12
- }
13
- export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
14
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCarousel.js","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":";;AAAA,uDAAoE;AAiB7D,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,EACV,gBAAgB,GAAG,UAAU,EAC7B,QAAQ,GACM,EAAkC,EAAE;IAClD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAElD,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,GAAG,GAAG,IAAA,mBAAW,EACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,iBAAiB,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACxD,MAAM,0BAA0B,GAAG,QAAQ,IAAI,iBAAiB,CAAC;IAEjE,MAAM,MAAM,GACV,0BAA0B;QAC1B,CAAC,iBAAiB,IAAI,UAAU,GAAG,WAAW,GAAG,gBAAgB,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,0BAA0B,IAAI,OAAO,CAAC,iBAAiB,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;IAE3F,OAAO;QACL,WAAW;QACX;YACE,GAAG;YACH,GAAG;YACH,MAAM;YACN,MAAM;SACP;KACF,CAAC;AACJ,CAAC,CAAC;AArCW,QAAA,kBAAkB,sBAqC7B"}
@@ -1,14 +0,0 @@
1
- export declare type CarouselControlProps = [number, Controls];
2
- export interface Controls {
3
- inc: () => void;
4
- dec: () => void;
5
- canInc: boolean;
6
- canDec: boolean;
7
- }
8
- interface CarouselProps {
9
- itemsCount: number;
10
- visibleItemCount?: number;
11
- isCyclic?: boolean;
12
- }
13
- export declare const useCarouselControl: ({ itemsCount, visibleItemCount, isCyclic, }: CarouselProps) => [number, Controls];
14
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCarousel.js","sourceRoot":"","sources":["../../src/hooks/useCarousel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAiBpE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,EACV,gBAAgB,GAAG,UAAU,EAC7B,QAAQ,GACM,EAAkC,EAAE;IAClD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElD,MAAM,GAAG,GAAG,WAAW,CACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,GAAG,GAAG,WAAW,CACrB,GAAG,EAAE,CACH,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC5F,EAAE,CACH,CAAC;IAEF,MAAM,iBAAiB,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACxD,MAAM,0BAA0B,GAAG,QAAQ,IAAI,iBAAiB,CAAC;IAEjE,MAAM,MAAM,GACV,0BAA0B;QAC1B,CAAC,iBAAiB,IAAI,UAAU,GAAG,WAAW,GAAG,gBAAgB,CAAC,CAAC;IAErE,MAAM,MAAM,GAAG,0BAA0B,IAAI,OAAO,CAAC,iBAAiB,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC;IAE3F,OAAO;QACL,WAAW;QACX;YACE,GAAG;YACH,GAAG;YACH,MAAM;YACN,MAAM;SACP;KACF,CAAC;AACJ,CAAC,CAAC"}