trepur_components 2.3.8 → 2.3.9

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 (424) hide show
  1. package/package.json +3 -2
  2. package/src/components/Accordion/Accordion.stories.tsx +23 -100
  3. package/src/components/Accordion/const.tsx +34 -0
  4. package/src/components/Accordion/index.tsx +18 -17
  5. package/src/components/AlertBar/AlertBar.stories.tsx +79 -85
  6. package/src/components/AlertBar/index.tsx +69 -100
  7. package/src/components/Avatar/Avatar.stories.tsx +3 -8
  8. package/src/components/Avatar/index.tsx +31 -31
  9. package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +17 -34
  10. package/src/components/Breadcrumbs/index.tsx +78 -29
  11. package/src/components/Button/Button.stories.tsx +11 -137
  12. package/src/components/Button/index.tsx +47 -92
  13. package/src/components/Calendar/Calendar.stories.tsx +12 -73
  14. package/src/components/Calendar/index.tsx +54 -34
  15. package/src/components/Card/Card.stories.tsx +3 -64
  16. package/src/components/Card/index.tsx +23 -80
  17. package/src/components/Carousel/Carousel.stories.tsx +32 -439
  18. package/src/components/Carousel/index.tsx +205 -286
  19. package/src/components/Carousel/utils.ts +53 -0
  20. package/src/components/CarouselThumbnail/CarouselThumbnail.stories.tsx +16 -337
  21. package/src/components/CarouselThumbnail/const.ts +17 -0
  22. package/src/components/CarouselThumbnail/index.tsx +92 -216
  23. package/src/components/CarouselThumbnail/utils.ts +87 -0
  24. package/src/components/Checkbox/Checkbox.stories.tsx +12 -19
  25. package/src/components/Checkbox/index.tsx +37 -34
  26. package/src/components/Collapsible/Collapsible.stories.tsx +50 -50
  27. package/src/components/Collapsible/index.tsx +151 -110
  28. package/src/components/Counter/Counter.stories.tsx +10 -9
  29. package/src/components/Counter/index.tsx +81 -25
  30. package/src/components/DetailUpdater/DetailUpdater.stories.tsx +11 -69
  31. package/src/components/DetailUpdater/index.tsx +7 -8
  32. package/src/components/Dialog/Dialog.stories.tsx +13 -78
  33. package/src/components/Dialog/index.tsx +5 -69
  34. package/src/components/Dropdown/Dropdown.stories.tsx +22 -0
  35. package/src/components/Dropdown/index.tsx +117 -0
  36. package/src/components/Dropdown/utils.ts +15 -0
  37. package/src/components/FileUploader/FilePreview.tsx +2 -2
  38. package/src/components/FileUploader/FileUploader.stories.tsx +10 -8
  39. package/src/components/FileUploader/index.tsx +113 -68
  40. package/src/components/Footer/Footer.stories.tsx +38 -50
  41. package/src/components/Footer/index.tsx +84 -36
  42. package/src/components/FooterNav/FooterNav.stories.tsx +14 -104
  43. package/src/components/FooterNav/index.tsx +71 -45
  44. package/src/components/Form/Form.stories.tsx +9 -9
  45. package/src/components/Form/index.tsx +10 -15
  46. package/src/components/Gallery/Gallery.stories.tsx +39 -0
  47. package/src/components/Gallery/index.tsx +31 -0
  48. package/src/components/Greeting/Greeting.stories.tsx +6 -31
  49. package/src/components/Greeting/index.tsx +44 -25
  50. package/src/components/HamburgerIcon/HamburgerIcon.stories.tsx +3 -21
  51. package/src/components/HamburgerIcon/index.tsx +40 -62
  52. package/src/components/Icon/Icon.stories.tsx +30 -11
  53. package/src/components/Icon/index.tsx +28 -20
  54. package/src/components/Image/Image.stories.tsx +5 -75
  55. package/src/components/Image/index.tsx +17 -119
  56. package/src/components/ImageCard/ImageCard.stories.tsx +29 -0
  57. package/src/components/ImageCard/index.tsx +75 -0
  58. package/src/components/Input/Input.stories.tsx +12 -71
  59. package/src/components/Input/index.tsx +107 -98
  60. package/src/components/MenuButton/MenuButton.stories.tsx +5 -5
  61. package/src/components/MenuButton/index.tsx +4 -4
  62. package/src/components/Modal/Modal.stories.tsx +7 -7
  63. package/src/components/Modal/index.tsx +4 -4
  64. package/src/components/Nav/Nav.stories.tsx +80 -0
  65. package/src/components/Nav/index.tsx +171 -0
  66. package/src/components/NavItem/NavItem.stories.tsx +7 -80
  67. package/src/components/NavItem/index.tsx +34 -38
  68. package/src/components/Pill/Pill.stories.tsx +42 -35
  69. package/src/components/Pill/index.tsx +64 -49
  70. package/src/components/Search/Search.stories.tsx +8 -8
  71. package/src/components/Search/index.tsx +3 -3
  72. package/src/components/Select/Select.stories.tsx +5 -5
  73. package/src/components/Select/index.tsx +8 -9
  74. package/src/components/Showcase/Showcase.stories.tsx +3 -3
  75. package/src/components/Showcase/index.tsx +12 -19
  76. package/src/components/SideNav/SideNav.stories.tsx +7 -7
  77. package/src/components/SideNav/index.tsx +2 -2
  78. package/src/components/SocialButton/SocialButton.stories.tsx +11 -11
  79. package/src/components/SocialButton/index.tsx +6 -7
  80. package/src/components/SplitCard/SplitCard.stories.tsx +34 -0
  81. package/src/components/SplitCard/index.tsx +132 -0
  82. package/src/components/Stars/Star.stories.tsx +18 -0
  83. package/src/components/Stars/index.tsx +38 -0
  84. package/src/components/Testimonial/Testimonial.stories.tsx +25 -97
  85. package/src/components/Testimonial/index.tsx +121 -53
  86. package/src/components/TextArea/TextArea.stories.tsx +11 -42
  87. package/src/components/TextArea/index.tsx +104 -95
  88. package/src/components/Timeline/Timeline.stories.tsx +32 -79
  89. package/src/components/Timeline/index.tsx +55 -246
  90. package/src/components/Tubestops/Tubestops.stories.tsx +10 -30
  91. package/src/components/Tubestops/index.tsx +125 -47
  92. package/src/components/Video/Video.stories.tsx +47 -12
  93. package/src/components/Video/assets/example.mp4 +0 -0
  94. package/src/components/Video/assets/example.ogv +0 -0
  95. package/src/components/Video/assets/example.webm +0 -0
  96. package/src/components/Video/index.tsx +83 -36
  97. package/src/components/index.ts +7 -53
  98. package/src/custom.d.ts +14 -0
  99. package/src/documentation/Colours.mdx +33 -33
  100. package/src/documentation/Introduction.mdx +9 -5
  101. package/src/documentation/assets/index.ts +3 -0
  102. package/src/documentation/assets/trepurComponentsLogo.svg +32 -0
  103. package/src/{components → documentation}/typography/Fonts/Fonts.stories.tsx +1 -1
  104. package/src/{components → documentation}/typography/Fonts/Fonts.tsx +20 -21
  105. package/src/styles/global.css +1 -1
  106. package/src/styles/themes/local.css +61 -9
  107. package/src/styles/themes/test.css +28 -0
  108. package/src/utils/screens.ts +1 -1
  109. package/tailwind/colors.ts +53 -385
  110. package/tailwind/preset.ts +4 -0
  111. package/tailwind.config.ts +12 -80
  112. package/archive/theme.ts +0 -39
  113. package/lib/_virtual/react.js +0 -4
  114. package/lib/components/Accordion/Accordion.stories.d.ts +0 -95
  115. package/lib/components/Accordion/index.d.ts +0 -6
  116. package/lib/components/Accordion/index.js +0 -6
  117. package/lib/components/AlertBar/AlertBar.stories.d.ts +0 -163
  118. package/lib/components/AlertBar/index.d.ts +0 -12
  119. package/lib/components/AlertBar/index.js +0 -49
  120. package/lib/components/Avatar/Avatar.stories.d.ts +0 -44
  121. package/lib/components/Avatar/index.d.ts +0 -3
  122. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -62
  123. package/lib/components/Breadcrumbs/index.d.ts +0 -9
  124. package/lib/components/Breadcrumbs/index.js +0 -12
  125. package/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.d.ts +0 -67
  126. package/lib/components/BreadcrumbsBordered/index.d.ts +0 -6
  127. package/lib/components/BreadcrumbsBordered/index.js +0 -28
  128. package/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.d.ts +0 -74
  129. package/lib/components/BreadcrumbsItem/index.d.ts +0 -10
  130. package/lib/components/BreadcrumbsItem/index.js +0 -117
  131. package/lib/components/Button/Button.stories.d.ts +0 -192
  132. package/lib/components/Button/index.d.ts +0 -19
  133. package/lib/components/Button/index.js +0 -66
  134. package/lib/components/Calendar/Calendar.stories.d.ts +0 -136
  135. package/lib/components/Calendar/index.d.ts +0 -15
  136. package/lib/components/Calendar/index.js +0 -46
  137. package/lib/components/Calendar/style.css.js +0 -1
  138. package/lib/components/Card/Card.stories.d.ts +0 -108
  139. package/lib/components/Card/index.d.ts +0 -17
  140. package/lib/components/Card/index.js +0 -51
  141. package/lib/components/CardWithTopImage/CardWithTopImage.stories.d.ts +0 -83
  142. package/lib/components/CardWithTopImage/index.d.ts +0 -9
  143. package/lib/components/CardWithTopImage/index.js +0 -28
  144. package/lib/components/Carousel/Carousel.stories.d.ts +0 -562
  145. package/lib/components/Carousel/index.d.ts +0 -77
  146. package/lib/components/Carousel/index.js +0 -248
  147. package/lib/components/CarouselThumbnail/CarouselThumbnail.stories.d.ts +0 -546
  148. package/lib/components/CarouselThumbnail/index.d.ts +0 -50
  149. package/lib/components/CarouselThumbnail/index.js +0 -205
  150. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -52
  151. package/lib/components/Checkbox/index.d.ts +0 -7
  152. package/lib/components/Checkbox/index.js +0 -31
  153. package/lib/components/Collapsible/Collapsible.stories.d.ts +0 -82
  154. package/lib/components/Collapsible/index.d.ts +0 -12
  155. package/lib/components/Collapsible/index.js +0 -88
  156. package/lib/components/Column/Column.stories.d.ts +0 -116
  157. package/lib/components/Column/index.d.ts +0 -10
  158. package/lib/components/Column/index.js +0 -8
  159. package/lib/components/ComponentWrapper/ComponentWrapper.stories.d.ts +0 -77
  160. package/lib/components/ComponentWrapper/index.d.ts +0 -14
  161. package/lib/components/ComponentWrapper/index.js +0 -27
  162. package/lib/components/Container/Container.stories.d.ts +0 -75
  163. package/lib/components/Container/index.d.ts +0 -7
  164. package/lib/components/Container/index.js +0 -12
  165. package/lib/components/Counter/Counter.stories.d.ts +0 -45
  166. package/lib/components/Counter/index.d.ts +0 -6
  167. package/lib/components/Counter/index.js +0 -31
  168. package/lib/components/DetailUpdater/DetailUpdater.stories.d.ts +0 -104
  169. package/lib/components/DetailUpdater/index.d.ts +0 -18
  170. package/lib/components/DetailUpdater/index.js +0 -63
  171. package/lib/components/Dialog/Dialog.stories.d.ts +0 -145
  172. package/lib/components/Dialog/index.d.ts +0 -12
  173. package/lib/components/Dialog/index.js +0 -78
  174. package/lib/components/DropdownMenu/DropdownMenu.stories.d.ts +0 -76
  175. package/lib/components/DropdownMenu/index.d.ts +0 -14
  176. package/lib/components/DropdownMenu/index.js +0 -27
  177. package/lib/components/DynamicTextSection/DynamicTextSection.stories.d.ts +0 -100
  178. package/lib/components/DynamicTextSection/index.d.ts +0 -11
  179. package/lib/components/DynamicTextSection/index.js +0 -18
  180. package/lib/components/FileUploader/FilePreview.d.ts +0 -8
  181. package/lib/components/FileUploader/FileUploader.stories.d.ts +0 -50
  182. package/lib/components/FileUploader/index.d.ts +0 -9
  183. package/lib/components/FilterItem/FilterItem.stories.d.ts +0 -57
  184. package/lib/components/FilterItem/index.d.ts +0 -8
  185. package/lib/components/FilterItem/index.js +0 -60
  186. package/lib/components/Footer/Footer.stories.d.ts +0 -105
  187. package/lib/components/Footer/index.d.ts +0 -10
  188. package/lib/components/Footer/index.js +0 -36
  189. package/lib/components/FooterNav/FooterNav.stories.d.ts +0 -135
  190. package/lib/components/FooterNav/index.d.ts +0 -13
  191. package/lib/components/FooterNav/index.js +0 -28
  192. package/lib/components/FooterNavItem/FooterNavItem.stories.d.ts +0 -93
  193. package/lib/components/FooterNavItem/index.d.ts +0 -16
  194. package/lib/components/FooterNavItem/index.js +0 -27
  195. package/lib/components/Form/Form.stories.d.ts +0 -117
  196. package/lib/components/Form/index.d.ts +0 -13
  197. package/lib/components/Form/index.js +0 -28
  198. package/lib/components/FyreCard/FyreCard.stories.d.ts +0 -58
  199. package/lib/components/FyreCard/index.d.ts +0 -12
  200. package/lib/components/FyreCard/index.js +0 -27
  201. package/lib/components/Greeting/Greeting.stories.d.ts +0 -83
  202. package/lib/components/Greeting/index.d.ts +0 -8
  203. package/lib/components/Greeting/index.js +0 -13
  204. package/lib/components/HamburgerIcon/HamburgerIcon.stories.d.ts +0 -64
  205. package/lib/components/HamburgerIcon/index.d.ts +0 -7
  206. package/lib/components/HamburgerIcon/index.js +0 -93
  207. package/lib/components/HorizontalLine/HorizontalLine.stories.d.ts +0 -96
  208. package/lib/components/HorizontalLine/index.d.ts +0 -11
  209. package/lib/components/HorizontalLine/index.js +0 -24
  210. package/lib/components/Icon/Icon.stories.d.ts +0 -47
  211. package/lib/components/Icon/index.d.ts +0 -10
  212. package/lib/components/Icon/index.js +0 -15
  213. package/lib/components/IconCard/IconCard.stories.d.ts +0 -51
  214. package/lib/components/IconCard/index.d.ts +0 -13
  215. package/lib/components/IconCard/index.js +0 -27
  216. package/lib/components/Image/Image.stories.d.ts +0 -158
  217. package/lib/components/Image/index.d.ts +0 -15
  218. package/lib/components/Image/index.js +0 -99
  219. package/lib/components/ImageInfo/ImageInfo.stories.d.ts +0 -69
  220. package/lib/components/ImageInfo/index.d.ts +0 -14
  221. package/lib/components/ImageLink/ImageLink.stories.d.ts +0 -63
  222. package/lib/components/ImageLink/index.d.ts +0 -14
  223. package/lib/components/ImageLink/index.js +0 -39
  224. package/lib/components/ImageLinkList/ImageLinkList.stories.d.ts +0 -48
  225. package/lib/components/ImageLinkList/index.d.ts +0 -8
  226. package/lib/components/ImageLinkList/index.js +0 -18
  227. package/lib/components/InformationIcon/InformationIcon.stories.d.ts +0 -54
  228. package/lib/components/InformationIcon/index.d.ts +0 -12
  229. package/lib/components/InformationIcon/index.js +0 -65
  230. package/lib/components/InformationIconBlock/InformationIconBlock.stories.d.ts +0 -55
  231. package/lib/components/InformationIconBlock/index.d.ts +0 -12
  232. package/lib/components/Input/Input.stories.d.ts +0 -114
  233. package/lib/components/Input/index.d.ts +0 -29
  234. package/lib/components/Input/index.js +0 -89
  235. package/lib/components/Jumbotron/Jumbotron.stories.d.ts +0 -48
  236. package/lib/components/Jumbotron/index.d.ts +0 -8
  237. package/lib/components/Jumbotron/index.js +0 -9
  238. package/lib/components/MenuButton/MenuButton.stories.d.ts +0 -76
  239. package/lib/components/MenuButton/index.d.ts +0 -14
  240. package/lib/components/MenuButton/index.js +0 -56
  241. package/lib/components/Modal/Modal.stories.d.ts +0 -67
  242. package/lib/components/Modal/index.d.ts +0 -10
  243. package/lib/components/Modal/index.js +0 -45
  244. package/lib/components/NavItem/NavItem.stories.d.ts +0 -154
  245. package/lib/components/NavItem/index.d.ts +0 -16
  246. package/lib/components/NavItem/index.js +0 -25
  247. package/lib/components/NavOld/NavOld.stories.d.ts +0 -290
  248. package/lib/components/NavOld/StickyNav.d.ts +0 -22
  249. package/lib/components/NavOld/StickyNav.js +0 -135
  250. package/lib/components/NavOld/index.d.ts +0 -26
  251. package/lib/components/NavOld/index.js +0 -187
  252. package/lib/components/NavTwo/Dropdown.d.ts +0 -7
  253. package/lib/components/NavTwo/Dropdown.js +0 -21
  254. package/lib/components/NavTwo/Nav.stories.d.ts +0 -62
  255. package/lib/components/NavTwo/Sidebar.d.ts +0 -7
  256. package/lib/components/NavTwo/Sidebar.js +0 -21
  257. package/lib/components/NavTwo/StickyNav.d.ts +0 -7
  258. package/lib/components/NavTwo/StickyNav.js +0 -20
  259. package/lib/components/NavTwo/index.d.ts +0 -13
  260. package/lib/components/NavTwo/index.js +0 -28
  261. package/lib/components/NewsCard/NewsCard.stories.d.ts +0 -102
  262. package/lib/components/NewsCard/index.d.ts +0 -13
  263. package/lib/components/NewsCard/index.js +0 -26
  264. package/lib/components/Pill/Pill.stories.d.ts +0 -84
  265. package/lib/components/Pill/index.d.ts +0 -8
  266. package/lib/components/Pill/index.js +0 -31
  267. package/lib/components/ProductCard/ProductCard.stories.d.ts +0 -86
  268. package/lib/components/ProductCard/index.d.ts +0 -18
  269. package/lib/components/ProductCard/index.js +0 -69
  270. package/lib/components/ProductCardV2/ProductCardV2.stories.d.ts +0 -75
  271. package/lib/components/ProductCardV2/index.d.ts +0 -21
  272. package/lib/components/ProductCardV2/index.js +0 -67
  273. package/lib/components/Proficiencies/Proficiencies.stories.d.ts +0 -51
  274. package/lib/components/Proficiencies/index.d.ts +0 -12
  275. package/lib/components/Profile/Profile.stories.d.ts +0 -80
  276. package/lib/components/Profile/index.d.ts +0 -17
  277. package/lib/components/Profile/index.js +0 -78
  278. package/lib/components/Row/Row.stories.d.ts +0 -62
  279. package/lib/components/Row/index.d.ts +0 -6
  280. package/lib/components/Row/index.js +0 -9
  281. package/lib/components/Search/Search.stories.d.ts +0 -86
  282. package/lib/components/Search/index.d.ts +0 -12
  283. package/lib/components/Search/index.js +0 -42
  284. package/lib/components/Select/Select.stories.d.ts +0 -56
  285. package/lib/components/Select/index.d.ts +0 -11
  286. package/lib/components/Select/index.js +0 -68
  287. package/lib/components/Showcase/Showcase.stories.d.ts +0 -55
  288. package/lib/components/Showcase/index.d.ts +0 -15
  289. package/lib/components/SideNav/SideNav.stories.d.ts +0 -80
  290. package/lib/components/SideNav/index.d.ts +0 -12
  291. package/lib/components/SocialBlock/SocialBlock.stories.d.ts +0 -101
  292. package/lib/components/SocialBlock/index.d.ts +0 -14
  293. package/lib/components/SocialBlock/index.js +0 -37
  294. package/lib/components/SocialButton/SocialButton.stories.d.ts +0 -130
  295. package/lib/components/SocialButton/index.d.ts +0 -12
  296. package/lib/components/SocialButton/index.js +0 -37
  297. package/lib/components/StarRating/StarRating.stories.d.ts +0 -49
  298. package/lib/components/StarRating/index.d.ts +0 -9
  299. package/lib/components/StarRating/index.js +0 -47
  300. package/lib/components/Testimonial/Testimonial.stories.d.ts +0 -172
  301. package/lib/components/Testimonial/index.d.ts +0 -16
  302. package/lib/components/Testimonial/index.js +0 -42
  303. package/lib/components/TextAndTitle/TextAndTitle.stories.d.ts +0 -97
  304. package/lib/components/TextAndTitle/index.d.ts +0 -25
  305. package/lib/components/TextAndTitle/index.js +0 -70
  306. package/lib/components/TextArea/TextArea.stories.d.ts +0 -85
  307. package/lib/components/TextArea/index.d.ts +0 -26
  308. package/lib/components/TextArea/index.js +0 -86
  309. package/lib/components/Timeline/Timeline.stories.d.ts +0 -81
  310. package/lib/components/Timeline/index.d.ts +0 -17
  311. package/lib/components/Timeline/index.js +0 -172
  312. package/lib/components/TimelineV2/TimelineV2.stories.d.ts +0 -87
  313. package/lib/components/TimelineV2/index.d.ts +0 -20
  314. package/lib/components/Tubestops/Tubestops.stories.d.ts +0 -54
  315. package/lib/components/Tubestops/index.d.ts +0 -8
  316. package/lib/components/Tubestops/index.js +0 -44
  317. package/lib/components/UserIcon/UserIcon.stories.d.ts +0 -81
  318. package/lib/components/UserIcon/index.d.ts +0 -10
  319. package/lib/components/UserIcon/index.js +0 -34
  320. package/lib/components/Video/Video.stories.d.ts +0 -49
  321. package/lib/components/Video/index.d.ts +0 -15
  322. package/lib/components/Video/index.js +0 -34
  323. package/lib/components/index.d.ts +0 -60
  324. package/lib/components/typography/Fonts/Fonts.d.ts +0 -2
  325. package/lib/components/typography/Fonts/Fonts.stories.d.ts +0 -10
  326. package/lib/index.d.ts +0 -1
  327. package/lib/index.js +0 -118
  328. package/lib/node_modules/keen-slider/keen-slider.min.css.js +0 -1
  329. package/lib/node_modules/keen-slider/react.js +0 -591
  330. package/lib/style.css +0 -1
  331. package/lib/styles/global.css +0 -75
  332. package/lib/styles/themes/local.css +0 -40
  333. package/lib/styles/themes/palette.css +0 -131
  334. package/lib/tailwind/boxShadow.ts +0 -9
  335. package/lib/tailwind/colors.ts +0 -410
  336. package/lib/tailwind/container.ts +0 -11
  337. package/lib/tailwind/preset.ts +0 -88
  338. package/lib/tailwind/spacing.ts +0 -14
  339. package/lib/utils/controls.d.ts +0 -36
  340. package/lib/utils/matchMedia.d.ts +0 -2
  341. package/lib/utils/matchMedia.js +0 -9
  342. package/lib/utils/screens.d.ts +0 -7
  343. package/src/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.tsx +0 -52
  344. package/src/components/BreadcrumbsBordered/index.tsx +0 -41
  345. package/src/components/BreadcrumbsItem/BreadcrumbsItem.stories.tsx +0 -40
  346. package/src/components/BreadcrumbsItem/index.tsx +0 -147
  347. package/src/components/CardWithTopImage/CardWithTopImage.stories.tsx +0 -50
  348. package/src/components/CardWithTopImage/index.tsx +0 -35
  349. package/src/components/Column/Column.stories.tsx +0 -89
  350. package/src/components/Column/index.tsx +0 -18
  351. package/src/components/ComponentWrapper/ComponentWrapper.stories.tsx +0 -40
  352. package/src/components/ComponentWrapper/index.tsx +0 -48
  353. package/src/components/Container/Container.stories.tsx +0 -40
  354. package/src/components/Container/index.tsx +0 -21
  355. package/src/components/DropdownMenu/DropdownMenu.stories.tsx +0 -59
  356. package/src/components/DropdownMenu/index.tsx +0 -45
  357. package/src/components/DynamicTextSection/DynamicTextSection.stories.tsx +0 -76
  358. package/src/components/DynamicTextSection/index.tsx +0 -32
  359. package/src/components/FilterItem/FilterItem.stories.tsx +0 -33
  360. package/src/components/FilterItem/index.tsx +0 -97
  361. package/src/components/FooterNavItem/FooterNavItem.stories.tsx +0 -53
  362. package/src/components/FooterNavItem/index.tsx +0 -58
  363. package/src/components/Form/style.module.css +0 -0
  364. package/src/components/FyreCard/FyreCard.stories.tsx +0 -31
  365. package/src/components/FyreCard/index.tsx +0 -44
  366. package/src/components/HorizontalLine/HorizontalLine.stories.tsx +0 -54
  367. package/src/components/HorizontalLine/index.tsx +0 -32
  368. package/src/components/IconCard/IconCard.stories.tsx +0 -26
  369. package/src/components/IconCard/index.tsx +0 -54
  370. package/src/components/ImageInfo/ImageInfo.stories.tsx +0 -38
  371. package/src/components/ImageInfo/index.tsx +0 -84
  372. package/src/components/ImageLink/ImageLink.stories.tsx +0 -36
  373. package/src/components/ImageLink/index.tsx +0 -58
  374. package/src/components/ImageLinkList/ImageLinkList.stories.tsx +0 -34
  375. package/src/components/ImageLinkList/index.tsx +0 -28
  376. package/src/components/InformationIcon/InformationIcon.stories.tsx +0 -29
  377. package/src/components/InformationIcon/index.tsx +0 -105
  378. package/src/components/InformationIconBlock/InformationIconBlock.stories.tsx +0 -38
  379. package/src/components/InformationIconBlock/index.tsx +0 -56
  380. package/src/components/Jumbotron/Jumbotron.stories.tsx +0 -21
  381. package/src/components/Jumbotron/index.tsx +0 -19
  382. package/src/components/NavOld/NavOld.stories.tsx +0 -193
  383. package/src/components/NavOld/StickyNav.tsx +0 -187
  384. package/src/components/NavOld/index.tsx +0 -265
  385. package/src/components/NavTwo/Dropdown.tsx +0 -30
  386. package/src/components/NavTwo/Nav.stories.tsx +0 -32
  387. package/src/components/NavTwo/Sidebar.tsx +0 -30
  388. package/src/components/NavTwo/StickyNav.tsx +0 -29
  389. package/src/components/NavTwo/index.tsx +0 -37
  390. package/src/components/NewsCard/NewsCard.stories.tsx +0 -72
  391. package/src/components/NewsCard/index.tsx +0 -44
  392. package/src/components/ProductCard/ProductCard.stories.tsx +0 -61
  393. package/src/components/ProductCard/index.tsx +0 -110
  394. package/src/components/ProductCardV2/ProductCardV2.stories.tsx +0 -50
  395. package/src/components/ProductCardV2/index.tsx +0 -98
  396. package/src/components/Proficiencies/Proficiencies.stories.tsx +0 -50
  397. package/src/components/Proficiencies/index.tsx +0 -51
  398. package/src/components/Profile/Profile.stories.tsx +0 -49
  399. package/src/components/Profile/index.tsx +0 -103
  400. package/src/components/Row/Row.stories.tsx +0 -53
  401. package/src/components/Row/index.tsx +0 -17
  402. package/src/components/SocialBlock/SocialBlock.stories.tsx +0 -58
  403. package/src/components/SocialBlock/index.tsx +0 -59
  404. package/src/components/StarRating/StarRating.stories.tsx +0 -23
  405. package/src/components/StarRating/index.tsx +0 -65
  406. package/src/components/TextAndTitle/TextAndTitle.stories.tsx +0 -71
  407. package/src/components/TextAndTitle/index.tsx +0 -119
  408. package/src/components/TimelineV2/TimelineV2.stories.tsx +0 -95
  409. package/src/components/TimelineV2/index.tsx +0 -70
  410. package/src/components/UserIcon/UserIcon.stories.tsx +0 -52
  411. package/src/components/UserIcon/index.tsx +0 -43
  412. package/src/styles/themes/palette.css +0 -131
  413. package/svg.d.ts +0 -4
  414. /package/src/{components/fonts → fonts}/Sora/OFL.txt +0 -0
  415. /package/src/{components/fonts → fonts}/Sora/README.txt +0 -0
  416. /package/src/{components/fonts → fonts}/Sora/Sora-VariableFont_wght.ttf +0 -0
  417. /package/src/{components/fonts → fonts}/Sora/static/Sora-Bold.ttf +0 -0
  418. /package/src/{components/fonts → fonts}/Sora/static/Sora-ExtraBold.ttf +0 -0
  419. /package/src/{components/fonts → fonts}/Sora/static/Sora-ExtraLight.ttf +0 -0
  420. /package/src/{components/fonts → fonts}/Sora/static/Sora-Light.ttf +0 -0
  421. /package/src/{components/fonts → fonts}/Sora/static/Sora-Medium.ttf +0 -0
  422. /package/src/{components/fonts → fonts}/Sora/static/Sora-Regular.ttf +0 -0
  423. /package/src/{components/fonts → fonts}/Sora/static/Sora-SemiBold.ttf +0 -0
  424. /package/src/{components/fonts → fonts}/Sora/static/Sora-Thin.ttf +0 -0
@@ -1,591 +0,0 @@
1
- import { __exports as ct } from "../../_virtual/react.js";
2
- import vt from "react";
3
- Object.defineProperty(ct, "__esModule", { value: !0 });
4
- var $ = vt;
5
- function et(t) {
6
- return Array.prototype.slice.call(t);
7
- }
8
- function at(t, r) {
9
- var i = Math.floor(t);
10
- return i === r || i + 1 === r ? t : r;
11
- }
12
- function ot() {
13
- return Date.now();
14
- }
15
- function Z(t, r, i) {
16
- if (r = "data-keen-slider-" + r, i === null)
17
- return t.removeAttribute(r);
18
- t.setAttribute(r, i || "");
19
- }
20
- function U(t, r) {
21
- return r = r || document, typeof t == "function" && (t = t(r)), Array.isArray(t) ? t : typeof t == "string" ? et(r.querySelectorAll(t)) : t instanceof HTMLElement ? [t] : t instanceof NodeList ? et(t) : [];
22
- }
23
- function B(t) {
24
- t.raw && (t = t.raw), t.cancelable && !t.defaultPrevented && t.preventDefault();
25
- }
26
- function G(t) {
27
- t.raw && (t = t.raw), t.stopPropagation && t.stopPropagation();
28
- }
29
- function st() {
30
- var t = [];
31
- return { add: function(r, i, o, u) {
32
- r.addListener ? r.addListener(o) : r.addEventListener(i, o, u), t.push([r, i, o, u]);
33
- }, input: function(r, i, o, u) {
34
- this.add(r, i, /* @__PURE__ */ function(a) {
35
- return function(e) {
36
- e.nativeEvent && (e = e.nativeEvent);
37
- var k = e.changedTouches || [], x = e.targetTouches || [], l = e.detail && e.detail.x ? e.detail : null;
38
- return a({ id: l ? l.identifier ? l.identifier : "i" : x[0] ? x[0] ? x[0].identifier : "e" : "d", idChanged: l ? l.identifier ? l.identifier : "i" : k[0] ? k[0] ? k[0].identifier : "e" : "d", raw: e, x: l && l.x ? l.x : x[0] ? x[0].screenX : l ? l.x : e.pageX, y: l && l.y ? l.y : x[0] ? x[0].screenY : l ? l.y : e.pageY });
39
- };
40
- }(o), u);
41
- }, purge: function() {
42
- t.forEach(function(r) {
43
- r[0].removeListener ? r[0].removeListener(r[2]) : r[0].removeEventListener(r[1], r[2], r[3]);
44
- }), t = [];
45
- } };
46
- }
47
- function tt(t, r, i) {
48
- return Math.min(Math.max(t, r), i);
49
- }
50
- function F(t) {
51
- return (t > 0 ? 1 : 0) - (t < 0 ? 1 : 0) || +t;
52
- }
53
- function ut(t) {
54
- var r = t.getBoundingClientRect();
55
- return { height: at(r.height, t.offsetHeight), width: at(r.width, t.offsetWidth) };
56
- }
57
- function N(t, r, i, o) {
58
- var u = t && t[r];
59
- return u == null ? i : o && typeof u == "function" ? u() : u;
60
- }
61
- function W(t) {
62
- return Math.round(1e6 * t) / 1e6;
63
- }
64
- function dt(t, r) {
65
- if (t === r)
66
- return !0;
67
- var i = typeof t;
68
- if (i !== typeof r)
69
- return !1;
70
- if (i !== "object" || t === null || r === null)
71
- return i === "function" && t.toString() === r.toString();
72
- if (t.length !== r.length || Object.getOwnPropertyNames(t).length !== Object.getOwnPropertyNames(r).length)
73
- return !1;
74
- for (var o in t)
75
- if (!dt(t[o], r[o]))
76
- return !1;
77
- return !0;
78
- }
79
- var Y = function() {
80
- return Y = Object.assign || function(t) {
81
- for (var r, i = 1, o = arguments.length; i < o; i++)
82
- for (var u in r = arguments[i])
83
- Object.prototype.hasOwnProperty.call(r, u) && (t[u] = r[u]);
84
- return t;
85
- }, Y.apply(this, arguments);
86
- };
87
- function lt(t, r, i) {
88
- for (var o, u = 0, a = r.length; u < a; u++)
89
- !o && u in r || (o || (o = Array.prototype.slice.call(r, 0, u)), o[u] = r[u]);
90
- return t.concat(o || Array.prototype.slice.call(r));
91
- }
92
- function mt(t) {
93
- var r, i, o, u, a, e;
94
- function k(M) {
95
- e || (e = M), x(!0);
96
- var E = M - e;
97
- E > o && (E = o);
98
- var v = u[i];
99
- if (v[3] < E)
100
- return i++, k(M);
101
- var T = v[2], z = v[4], m = v[0], h = v[1] * (0, v[5])(z === 0 ? 1 : (E - T) / z);
102
- if (h && t.track.to(m + h), E < o)
103
- return C();
104
- e = null, x(!1), l(null), t.emit("animationEnded");
105
- }
106
- function x(M) {
107
- r.active = M;
108
- }
109
- function l(M) {
110
- r.targetIdx = M;
111
- }
112
- function C() {
113
- var M;
114
- M = k, a = window.requestAnimationFrame(M);
115
- }
116
- function D() {
117
- var M;
118
- M = a, window.cancelAnimationFrame(M), x(!1), l(null), e && t.emit("animationStopped"), e = null;
119
- }
120
- return r = { active: !1, start: function(M) {
121
- if (D(), t.track.details) {
122
- var E = 0, v = t.track.details.position;
123
- i = 0, o = 0, u = M.map(function(T) {
124
- var z, m = Number(v), h = (z = T.earlyExit) !== null && z !== void 0 ? z : T.duration, p = T.easing, _ = T.distance * p(h / T.duration) || 0;
125
- v += _;
126
- var A = o;
127
- return o += h, E += _, [m, T.distance, A, o, T.duration, p];
128
- }), l(t.track.distToIdx(E)), C(), t.emit("animationStarted");
129
- }
130
- }, stop: D, targetIdx: null };
131
- }
132
- function ht(t) {
133
- var r, i, o, u, a, e, k, x, l, C, D, M, E, v, T = 1 / 0, z = [], m = null, h = 0;
134
- function p(f) {
135
- H(h + f);
136
- }
137
- function _(f) {
138
- var s = A(h + f).abs;
139
- return w(s) ? s : null;
140
- }
141
- function A(f) {
142
- var s = Math.floor(Math.abs(W(f / i))), n = W((f % i + i) % i);
143
- n === i && (n = 0);
144
- var b = F(f), d = k.indexOf(lt([], k).reduce(function(I, O) {
145
- return Math.abs(O - n) < Math.abs(I - n) ? O : I;
146
- })), y = d;
147
- return b < 0 && s++, d === e && (y = 0, s += b > 0 ? 1 : -1), { abs: y + s * e * b, origin: d, rel: y };
148
- }
149
- function S(f, s, n) {
150
- var b;
151
- if (s || !q())
152
- return c(f, n);
153
- if (!w(f))
154
- return null;
155
- var d = A(n ?? h), y = d.abs, I = f - d.rel, O = y + I;
156
- b = c(O);
157
- var P = c(O - e * F(I));
158
- return (P !== null && Math.abs(P) < Math.abs(b) || b === null) && (b = P), W(b);
159
- }
160
- function c(f, s) {
161
- if (s == null && (s = W(h)), !w(f) || f === null)
162
- return null;
163
- f = Math.round(f);
164
- var n = A(s), b = n.abs, d = n.rel, y = n.origin, I = R(f), O = (s % i + i) % i, P = k[y], V = Math.floor((f - (b - d)) / e) * i;
165
- return W(P - O - P + k[I] + V + (y === e ? i : 0));
166
- }
167
- function w(f) {
168
- return L(f) === f;
169
- }
170
- function L(f) {
171
- return tt(f, l, C);
172
- }
173
- function q() {
174
- return u.loop;
175
- }
176
- function R(f) {
177
- return (f % e + e) % e;
178
- }
179
- function H(f) {
180
- var s;
181
- s = f - h, z.push({ distance: s, timestamp: ot() }), z.length > 6 && (z = z.slice(-6)), h = W(f);
182
- var n = g().abs;
183
- if (n !== m) {
184
- var b = m !== null;
185
- m = n, b && t.emit("slideChanged");
186
- }
187
- }
188
- function g(f) {
189
- var s = f ? null : function() {
190
- if (e) {
191
- var n = q(), b = n ? (h % i + i) % i : h, d = (n ? h % i : h) - a[0][2], y = 0 - (d < 0 && n ? i - Math.abs(d) : d), I = 0, O = A(h), P = O.abs, V = O.rel, J = a[V][2], Q = a.map(function(X, ft) {
192
- var j = y + I;
193
- (j < 0 - X[0] || j > 1) && (j += (Math.abs(j) > i - 1 && n ? i : 0) * F(-j));
194
- var it = ft - V, rt = F(it), K = it + P;
195
- n && (rt === -1 && j > J && (K += e), rt === 1 && j < J && (K -= e), D !== null && K < D && (j += i), M !== null && K > M && (j -= i));
196
- var nt = j + X[0] + X[1], pt = Math.max(j >= 0 && nt <= 1 ? 1 : nt < 0 || j > 1 ? 0 : j < 0 ? Math.min(1, (X[0] + j) / X[0]) : (1 - j) / X[0], 0);
197
- return I += X[0] + X[1], { abs: K, distance: u.rtl ? -1 * j + 1 - X[0] : j, portion: pt, size: X[0] };
198
- });
199
- return P = L(P), V = R(P), { abs: L(P), length: o, max: v, maxIdx: C, min: E, minIdx: l, position: h, progress: n ? b / i : h / o, rel: V, slides: Q, slidesLength: i };
200
- }
201
- }();
202
- return r.details = s, t.emit("detailsChanged"), s;
203
- }
204
- return r = { absToRel: R, add: p, details: null, distToIdx: _, idxToDist: S, init: function(f) {
205
- if (function() {
206
- if (u = t.options, a = (u.trackConfig || []).map(function(d) {
207
- return [N(d, "size", 1), N(d, "spacing", 0), N(d, "origin", 0)];
208
- }), e = a.length) {
209
- i = W(a.reduce(function(d, y) {
210
- return d + y[0] + y[1];
211
- }, 0));
212
- var n, b = e - 1;
213
- o = W(i + a[0][2] - a[b][0] - a[b][2] - a[b][1]), k = a.reduce(function(d, y) {
214
- if (!d)
215
- return [0];
216
- var I = a[d.length - 1], O = d[d.length - 1] + (I[0] + I[2]) + I[1];
217
- return O -= y[2], d[d.length - 1] > O && (O = d[d.length - 1]), O = W(O), d.push(O), (!n || n < O) && (x = d.length - 1), n = O, d;
218
- }, null), o === 0 && (x = 0), k.push(W(i));
219
- }
220
- }(), !e)
221
- return g(!0);
222
- var s;
223
- (function() {
224
- var n = t.options.range, b = t.options.loop;
225
- D = l = b ? N(b, "min", -1 / 0) : 0, M = C = b ? N(b, "max", T) : x;
226
- var d = N(n, "min", null), y = N(n, "max", null);
227
- d !== null && (l = d), y !== null && (C = y), E = l === -1 / 0 ? l : t.track.idxToDist(l || 0, !0, 0), v = C === T ? C : S(C, !0, 0), y === null && (M = C), N(n, "align", !1) && C !== T && a[R(C)][2] === 0 && (v -= 1 - a[R(C)][0], C = _(v - h)), E = W(E), v = W(v);
228
- })(), s = f, Number(s) === s ? p(c(L(f))) : g();
229
- }, to: H, velocity: function() {
230
- var f = ot(), s = z.reduce(function(n, b) {
231
- var d = b.distance, y = b.timestamp;
232
- return f - y > 200 || (F(d) !== F(n.distance) && n.distance && (n = { distance: 0, lastTimestamp: 0, time: 0 }), n.time && (n.distance += d), n.lastTimestamp && (n.time += y - n.lastTimestamp), n.lastTimestamp = y), n;
233
- }, { distance: 0, lastTimestamp: 0, time: 0 });
234
- return s.distance / s.time || 0;
235
- } };
236
- }
237
- function gt(t) {
238
- var r, i, o, u, a, e, k, x;
239
- function l(m) {
240
- return 2 * m;
241
- }
242
- function C(m) {
243
- return tt(m, k, x);
244
- }
245
- function D(m) {
246
- return 1 - Math.pow(1 - m, 3);
247
- }
248
- function M() {
249
- return o ? t.track.velocity() : 0;
250
- }
251
- function E() {
252
- z();
253
- var m = t.options.mode === "free-snap", h = t.track, p = M();
254
- u = F(p);
255
- var _ = t.track.details, A = [];
256
- if (p || !m) {
257
- var S = v(p), c = S.dist, w = S.dur;
258
- if (w = l(w), c *= u, m) {
259
- var L = h.idxToDist(h.distToIdx(c), !0);
260
- L && (c = L);
261
- }
262
- A.push({ distance: c, duration: w, easing: D });
263
- var q = _.position, R = q + c;
264
- if (R < a || R > e) {
265
- var H = R < a ? a - q : e - q, g = 0, f = p;
266
- if (F(H) === u) {
267
- var s = Math.min(Math.abs(H) / Math.abs(c), 1), n = function(y) {
268
- return 1 - Math.pow(1 - y, 1 / 3);
269
- }(s) * w;
270
- A[0].earlyExit = n, f = p * (1 - s);
271
- } else
272
- A[0].earlyExit = 0, g += H;
273
- var b = v(f, 100), d = b.dist * u;
274
- t.options.rubberband && (A.push({ distance: d, duration: l(b.dur), easing: D }), A.push({ distance: -d + g, duration: 500, easing: D }));
275
- }
276
- t.animator.start(A);
277
- } else
278
- t.moveToIdx(C(_.abs), !0, { duration: 500, easing: function(y) {
279
- return 1 + --y * y * y * y * y;
280
- } });
281
- }
282
- function v(m, h) {
283
- h === void 0 && (h = 1e3);
284
- var p = 147e-9 + (m = Math.abs(m)) / h;
285
- return { dist: Math.pow(m, 2) / p, dur: m / p };
286
- }
287
- function T() {
288
- var m = t.track.details;
289
- m && (a = m.min, e = m.max, k = m.minIdx, x = m.maxIdx);
290
- }
291
- function z() {
292
- t.animator.stop();
293
- }
294
- t.on("updated", T), t.on("optionsChanged", T), t.on("created", T), t.on("dragStarted", function() {
295
- o = !1, z(), r = i = t.track.details.abs;
296
- }), t.on("dragChecked", function() {
297
- o = !0;
298
- }), t.on("dragEnded", function() {
299
- var m = t.options.mode;
300
- m === "snap" && function() {
301
- var h = t.track, p = t.track.details, _ = p.position, A = F(M());
302
- (_ > e || _ < a) && (A = 0);
303
- var S = r + A;
304
- p.slides[h.absToRel(S)].portion === 0 && (S -= A), r !== i && (S = i), F(h.idxToDist(S, !0)) !== A && (S += A), S = C(S);
305
- var c = h.idxToDist(S, !0);
306
- t.animator.start([{ distance: c, duration: 500, easing: function(w) {
307
- return 1 + --w * w * w * w * w;
308
- } }]);
309
- }(), m !== "free" && m !== "free-snap" || E();
310
- }), t.on("dragged", function() {
311
- i = t.track.details.abs;
312
- });
313
- }
314
- function bt(t) {
315
- var r, i, o, u, a, e, k, x, l, C, D, M, E, v, T, z, m, h, p = st();
316
- function _(g) {
317
- if (e && x === g.id) {
318
- var f = w(g);
319
- if (l) {
320
- if (!c(g))
321
- return S(g);
322
- C = f, l = !1, t.emit("dragChecked");
323
- }
324
- if (z)
325
- return C = f;
326
- B(g);
327
- var s = function(b) {
328
- if (m === -1 / 0 && h === 1 / 0)
329
- return b;
330
- var d = t.track.details, y = d.length, I = d.position, O = tt(b, m - I, h - I);
331
- if (y === 0)
332
- return 0;
333
- if (!t.options.rubberband)
334
- return O;
335
- if (I <= h && I >= m || I < m && i > 0 || I > h && i < 0)
336
- return b;
337
- var P = (I < m ? I - m : I - h) / y, V = u * y, J = Math.abs(P * V), Q = Math.max(0, 1 - J / a * 2);
338
- return Q * Q * b;
339
- }(k(C - f) / u * o);
340
- i = F(s);
341
- var n = t.track.details.position;
342
- (n > m && n < h || n === m && i > 0 || n === h && i < 0) && G(g), D += s, !M && Math.abs(D * u) > 5 && (M = !0), t.track.add(s), C = f, t.emit("dragged");
343
- }
344
- }
345
- function A(g) {
346
- !e && t.track.details && t.track.details.length && (D = 0, e = !0, M = !1, l = !0, x = g.id, c(g), C = w(g), t.emit("dragStarted"));
347
- }
348
- function S(g) {
349
- e && x === g.idChanged && (e = !1, t.emit("dragEnded"));
350
- }
351
- function c(g) {
352
- var f = L(), s = f ? g.y : g.x, n = f ? g.x : g.y, b = E !== void 0 && v !== void 0 && Math.abs(v - n) <= Math.abs(E - s);
353
- return E = s, v = n, b;
354
- }
355
- function w(g) {
356
- return L() ? g.y : g.x;
357
- }
358
- function L() {
359
- return t.options.vertical;
360
- }
361
- function q() {
362
- u = t.size, a = L() ? window.innerHeight : window.innerWidth;
363
- var g = t.track.details;
364
- g && (m = g.min, h = g.max);
365
- }
366
- function R(g) {
367
- M && (G(g), B(g));
368
- }
369
- function H() {
370
- if (p.purge(), t.options.drag && !t.options.disabled) {
371
- var g;
372
- g = t.options.dragSpeed || 1, k = typeof g == "function" ? g : function(s) {
373
- return s * g;
374
- }, o = t.options.rtl ? -1 : 1, q(), r = t.container, function() {
375
- var s = "data-keen-slider-clickable";
376
- U("[".concat(s, "]:not([").concat(s, "=false])"), r).map(function(n) {
377
- p.add(n, "dragstart", G), p.add(n, "mousedown", G), p.add(n, "touchstart", G);
378
- });
379
- }(), p.add(r, "dragstart", function(s) {
380
- B(s);
381
- }), p.add(r, "click", R, { capture: !0 }), p.input(r, "ksDragStart", A), p.input(r, "ksDrag", _), p.input(r, "ksDragEnd", S), p.input(r, "mousedown", A), p.input(r, "mousemove", _), p.input(r, "mouseleave", S), p.input(r, "mouseup", S), p.input(r, "touchstart", A, { passive: !0 }), p.input(r, "touchmove", _, { passive: !1 }), p.input(r, "touchend", S), p.input(r, "touchcancel", S), p.add(window, "wheel", function(s) {
382
- e && B(s);
383
- });
384
- var f = "data-keen-slider-scrollable";
385
- U("[".concat(f, "]:not([").concat(f, "=false])"), t.container).map(function(s) {
386
- return function(n) {
387
- var b;
388
- p.input(n, "touchstart", function(d) {
389
- b = w(d), z = !0, T = !0;
390
- }, { passive: !0 }), p.input(n, "touchmove", function(d) {
391
- var y = L(), I = y ? n.scrollHeight - n.clientHeight : n.scrollWidth - n.clientWidth, O = b - w(d), P = y ? n.scrollTop : n.scrollLeft, V = y && n.style.overflowY === "scroll" || !y && n.style.overflowX === "scroll";
392
- if (b = w(d), (O < 0 && P > 0 || O > 0 && P < I) && T && V)
393
- return z = !0;
394
- T = !1, B(d), z = !1;
395
- }), p.input(n, "touchend", function() {
396
- z = !1;
397
- });
398
- }(s);
399
- });
400
- }
401
- }
402
- t.on("updated", q), t.on("optionsChanged", H), t.on("created", H), t.on("destroyed", p.purge);
403
- }
404
- function xt(t) {
405
- var r, i, o = null;
406
- function u(E, v, T) {
407
- t.animator.active ? e(E, v, T) : requestAnimationFrame(function() {
408
- return e(E, v, T);
409
- });
410
- }
411
- function a() {
412
- u(!1, !1, i);
413
- }
414
- function e(E, v, T) {
415
- var z = 0, m = t.size, h = t.track.details;
416
- if (h && r) {
417
- var p = h.slides;
418
- r.forEach(function(_, A) {
419
- if (E)
420
- !o && v && x(_, null, T), l(_, null, T);
421
- else {
422
- if (!p[A])
423
- return;
424
- var S = p[A].size * m;
425
- !o && v && x(_, S, T), l(_, p[A].distance * m - z, T), z += S;
426
- }
427
- });
428
- }
429
- }
430
- function k(E) {
431
- return t.options.renderMode === "performance" ? Math.round(E) : E;
432
- }
433
- function x(E, v, T) {
434
- var z = T ? "height" : "width";
435
- v !== null && (v = k(v) + "px"), E.style["min-" + z] = v, E.style["max-" + z] = v;
436
- }
437
- function l(E, v, T) {
438
- if (v !== null) {
439
- v = k(v);
440
- var z = T ? v : 0;
441
- v = "translate3d(".concat(T ? 0 : v, "px, ").concat(z, "px, 0)");
442
- }
443
- E.style.transform = v, E.style["-webkit-transform"] = v;
444
- }
445
- function C() {
446
- r && (e(!0, !0, i), r = null), t.on("detailsChanged", a, !0);
447
- }
448
- function D() {
449
- u(!1, !0, i);
450
- }
451
- function M() {
452
- C(), i = t.options.vertical, t.options.disabled || t.options.renderMode === "custom" || (o = N(t.options.slides, "perView", null) === "auto", t.on("detailsChanged", a), (r = t.slides).length && D());
453
- }
454
- t.on("created", M), t.on("optionsChanged", M), t.on("beforeOptionsChanged", function() {
455
- C();
456
- }), t.on("updated", D), t.on("destroyed", C);
457
- }
458
- function yt(t, r) {
459
- return function(i) {
460
- var o, u, a, e, k, x = st();
461
- function l(c) {
462
- var w;
463
- Z(i.container, "reverse", (w = i.container, window.getComputedStyle(w, null).getPropertyValue("direction") !== "rtl" || c ? null : "")), Z(i.container, "v", i.options.vertical && !c ? "" : null), Z(i.container, "disabled", i.options.disabled && !c ? "" : null);
464
- }
465
- function C() {
466
- D() && z();
467
- }
468
- function D() {
469
- var c = null;
470
- if (e.forEach(function(L) {
471
- L.matches && (c = L.__media);
472
- }), c === o)
473
- return !1;
474
- o || i.emit("beforeOptionsChanged"), o = c;
475
- var w = c ? a.breakpoints[c] : a;
476
- return i.options = Y(Y({}, a), w), l(), A(), S(), h(), !0;
477
- }
478
- function M(c) {
479
- var w = ut(c);
480
- return (i.options.vertical ? w.height : w.width) / i.size || 1;
481
- }
482
- function E() {
483
- return i.options.trackConfig.length;
484
- }
485
- function v(c) {
486
- for (var w in o = !1, a = Y(Y({}, r), c), x.purge(), u = i.size, e = [], a.breakpoints || []) {
487
- var L = window.matchMedia(w);
488
- L.__media = w, e.push(L), x.add(L, "change", C);
489
- }
490
- x.add(window, "orientationchange", _), x.add(window, "resize", p), D();
491
- }
492
- function T(c) {
493
- i.animator.stop();
494
- var w = i.track.details;
495
- i.track.init(c ?? (w ? w.abs : 0));
496
- }
497
- function z(c) {
498
- T(c), i.emit("optionsChanged");
499
- }
500
- function m(c, w) {
501
- if (c)
502
- return v(c), void z(w);
503
- A(), S();
504
- var L = E();
505
- h(), E() !== L ? z(w) : T(w), i.emit("updated");
506
- }
507
- function h() {
508
- var c = i.options.slides;
509
- if (typeof c == "function")
510
- return i.options.trackConfig = c(i.size, i.slides);
511
- for (var w = i.slides, L = w.length, q = typeof c == "number" ? c : N(c, "number", L, !0), R = [], H = N(c, "perView", 1, !0), g = N(c, "spacing", 0, !0) / i.size || 0, f = H === "auto" ? g : g / H, s = N(c, "origin", "auto"), n = 0, b = 0; b < q; b++) {
512
- var d = H === "auto" ? M(w[b]) : 1 / H - g + f, y = s === "center" ? 0.5 - d / 2 : s === "auto" ? 0 : s;
513
- R.push({ origin: y, size: d, spacing: g }), n += d;
514
- }
515
- if (n += g * (q - 1), s === "auto" && !i.options.loop && H !== 1) {
516
- var I = 0;
517
- R.map(function(O) {
518
- var P = n - I;
519
- return I += O.size + g, P >= 1 || (O.origin = 1 - P - (n > 1 ? 0 : 1 - n)), O;
520
- });
521
- }
522
- i.options.trackConfig = R;
523
- }
524
- function p() {
525
- A();
526
- var c = i.size;
527
- i.options.disabled || c === u || (u = c, m());
528
- }
529
- function _() {
530
- p(), setTimeout(p, 500), setTimeout(p, 2e3);
531
- }
532
- function A() {
533
- var c = ut(i.container);
534
- i.size = (i.options.vertical ? c.height : c.width) || 1;
535
- }
536
- function S() {
537
- i.slides = U(i.options.selector, i.container);
538
- }
539
- i.container = (k = U(t, document)).length ? k[0] : null, i.destroy = function() {
540
- x.purge(), i.emit("destroyed"), l(!0);
541
- }, i.prev = function() {
542
- i.moveToIdx(i.track.details.abs - 1, !0);
543
- }, i.next = function() {
544
- i.moveToIdx(i.track.details.abs + 1, !0);
545
- }, i.update = m, v(i.options);
546
- };
547
- }
548
- var kt = function(t, r, i) {
549
- try {
550
- return function(o, u) {
551
- var a, e = {};
552
- return a = { emit: function(k) {
553
- e[k] && e[k].forEach(function(l) {
554
- l(a);
555
- });
556
- var x = a.options && a.options[k];
557
- x && x(a);
558
- }, moveToIdx: function(k, x, l) {
559
- var C = a.track.idxToDist(k, x);
560
- if (C) {
561
- var D = a.options.defaultAnimation;
562
- a.animator.start([{ distance: C, duration: N(l || D, "duration", 500), easing: N(l || D, "easing", function(M) {
563
- return 1 + --M * M * M * M * M;
564
- }) }]);
565
- }
566
- }, on: function(k, x, l) {
567
- l === void 0 && (l = !1), e[k] || (e[k] = []);
568
- var C = e[k].indexOf(x);
569
- C > -1 ? l && delete e[k][C] : l || e[k].push(x);
570
- }, options: o }, function() {
571
- if (a.track = ht(a), a.animator = mt(a), u)
572
- for (var k = 0, x = u; k < x.length; k++)
573
- (0, x[k])(a);
574
- a.track.init(a.options.initial || 0), a.emit("created");
575
- }(), a;
576
- }(r, lt([yt(t, { drag: !0, mode: "snap", renderMode: "precision", rubberband: !0, selector: ".keen-slider__slide" }), xt, bt, gt], i || [], !0));
577
- } catch (o) {
578
- console.error(o);
579
- }
580
- }, Tt = ct.useKeenSlider = function(t, r) {
581
- var i = $.useRef(null), o = $.useRef(!1), u = $.useRef(t), a = $.useCallback(function(e) {
582
- e ? (u.current = t, i.current = new kt(e, t, r), o.current = !1) : (i.current && i.current.destroy && i.current.destroy(), i.current = null);
583
- }, []);
584
- return $.useEffect(function() {
585
- dt(u.current, t) || (u.current = t, i.current && i.current.update(u.current));
586
- }, [t]), [a, i];
587
- };
588
- export {
589
- ct as default,
590
- Tt as useKeenSlider
591
- };
package/lib/style.css DELETED
@@ -1 +0,0 @@
1
- .react-calendar{width:410px;background:#fff;border:none;border-radius:25px;border:1px solid #fff;box-shadow:0 12px 24px #0003;padding:8px;line-height:1.125em}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{width:50%;margin:.5em}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:50px;margin-bottom:1em}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekdays{text-align:center;text-transform:uppercase;font-size:.75em}.react-calendar--doubleView{width:800px}.react-calendar__month-view{padding-left:20px;padding-right:20px}.react-calendar__tile{height:50px;width:50px}.react-calendar__tile:disabled{background-color:#fff;color:#bebebe}.react-calendar__month-view__days__day--weekend,.react-calendar__month-view__days__day{color:#000}.react-calendar__month-view__days__day--neighboringMonth{visibility:hidden}.react-calendar__tile:enabled:hover,.react-calendar__tile:enabled:focus{border-radius:50%;border:1px solid;border-color:#000;background:#fff;color:#000}.react-calendar__tile--now{background:#fff;color:#000}.react-calendar__tile--now:enabled:hover,.react-calendar__tile--now:enabled:focus{border-radius:50%;border:1px solid;border-color:#000;background:#fff;color:#000}.react-calendar__tile--hasActive:enabled:hover,.react-calendar__tile--hasActive:enabled:focus{background:#f8f8fa}.react-calendar__tile--active{background:#000;border-radius:50%;color:#fff}.react-calendar__tile--rangeEnd.react-calendar__tile--active:enabled:hover,.react-calendar__tile--rangeEnd.react-calendar__tile--active:enabled:focus,.react-calendar__tile--rangeEnd:enabled{border-radius:0 50% 50% 0;border:1px solid;border-color:#000;background:#000;color:#fff}.react-calendar__tile--rangeStart.react-calendar__tile--active:enabled:hover,.react-calendar__tile--rangeStart.react-calendar__tile--active:enabled:focus,.react-calendar__tile--rangeStart:enabled{border-radius:50% 0 0 50%;border:1px solid;border-color:#000;background:#000;color:#fff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#dfdfe1}.react-calendar--selectRange .react-calendar__tile--rangeStart{background-color:#000;color:#fff}.react-calendar__tile--range{background:#dfdfe1;color:#000;border-radius:0}.react-calendar__tile--rangeStart{border-radius:50% 0 0 50%;background:#000;color:#fff}.react-calendar__tile--rangeEnd{border-radius:0 50% 50% 0;background:#000;color:#fff}.react-calendar__navigation__prev-button,.react-calendar__navigation__next-button{background:#fff}.react-calendar__navigation__prev2-button,.react-calendar__navigation__next2-button{display:none}.react-calendar__navigation__label__labelText{color:#000}.react-calendar__navigation{height:50px}.react-calendar__navigation button{color:#000;width:50px;background:none;font-size:16px}.react-calendar__navigation button:enabled:hover,.react-calendar__navigation button:enabled:focus{background-color:#bebebe;color:#000;border-radius:50%}.react-calendar__navigation button:disabled{background:#fff;color:#bebebe}abbr[title]{text-decoration:none}.react-calendar__navigation__label__divider{display:none}.react-calendar__navigation__label{padding-top:20px;display:flex;flex-grow:1;justify-content:space-between}.react-calendar__navigation__label__labelText--from{margin-left:80px}.react-calendar__navigation__label__labelText--to{margin-right:100px}button.react-calendar__tile.react-calendar__tile--active.react-calendar__tile--range.react-calendar__tile--rangeStart.react-calendar__tile--rangeEnd.react-calendar__tile--rangeBothEnds.react-calendar__tile--hover.react-calendar__tile--hoverStart.react-calendar__tile--hoverEnd.react-calendar__tile--hoverBothEnds.react-calendar__month-view__days__day.react-calendar__month-view__days__day--weekend{background-color:#000}.keen-slider:not([data-keen-slider-disabled]){-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;align-content:flex-start;display:flex;overflow:hidden;position:relative;touch-action:pan-y;-webkit-user-select:none;user-select:none;-khtml-user-select:none;width:100%}.keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide{min-height:100%;overflow:hidden;position:relative;width:100%}.keen-slider:not([data-keen-slider-disabled])[data-keen-slider-reverse]{flex-direction:row-reverse}.keen-slider:not([data-keen-slider-disabled])[data-keen-slider-v]{flex-wrap:wrap}
@@ -1,75 +0,0 @@
1
- @import './themes/palette.css';
2
- @import './themes/local.css';
3
-
4
- @tailwind base;
5
- @tailwind components;
6
- @tailwind utilities;
7
-
8
- @font-face {
9
- font-family: 'Sora';
10
- src: url('../fonts/Sora/static/Sora-Thin.ttf') format('truetype');
11
- font-weight: 100;
12
- font-style: normal;
13
- }
14
-
15
- @font-face {
16
- font-family: 'Sora';
17
- src: url('../fonts/Sora/static/Sora-ExtraLight.ttf') format('truetype');
18
- font-weight: 200;
19
- font-style: normal;
20
- }
21
-
22
- @font-face {
23
- font-family: 'Sora';
24
- src: url('../fonts/Sora/static/Sora-Light.ttf') format('truetype');
25
- font-weight: 300;
26
- font-style: normal;
27
- }
28
-
29
- @font-face {
30
- font-family: 'Sora';
31
- src: url('../fonts/Sora/static/Sora-Regular.ttf') format('truetype');
32
- font-weight: 400;
33
- font-style: normal;
34
- }
35
-
36
- @font-face {
37
- font-family: 'Sora';
38
- src: url('../fonts/Sora/static/Sora-Medium.ttf') format('truetype');
39
- font-weight: 500;
40
- font-style: normal;
41
- }
42
-
43
- @font-face {
44
- font-family: 'Sora';
45
- src: url('../fonts/Sora/static/Sora-SemiBold.ttf') format('truetype');
46
- font-weight: 600;
47
- font-style: normal;
48
- }
49
-
50
- @font-face {
51
- font-family: 'Sora';
52
- src: url('../fonts/Sora/static/Sora-Bold.ttf') format('truetype');
53
- font-weight: 700;
54
- font-style: normal;
55
- }
56
-
57
- @font-face {
58
- font-family: 'Sora';
59
- src: url('../fonts/Sora/static/Sora-ExtraBold.ttf') format('truetype');
60
- font-weight: 800;
61
- font-style: normal;
62
- }
63
-
64
- .slick-track {
65
- display: flex !important;
66
- }
67
-
68
- .slick-slide {
69
- height: inherit !important;
70
- }
71
-
72
- .slick-slide > div {
73
- height: 100%;
74
- display: flex;
75
- }