trepur_components 2.3.6 → 2.3.8

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 (470) hide show
  1. package/.eslintrc.cjs +33 -4
  2. package/.prettierignore +10 -0
  3. package/README.md +1 -1
  4. package/archive/theme.ts +1 -1
  5. package/lib/_virtual/react.js +4 -0
  6. package/lib/components/Accordion/Accordion.stories.d.ts +3 -2
  7. package/lib/components/Accordion/index.d.ts +2 -4
  8. package/lib/components/Accordion/index.js +4 -13
  9. package/lib/components/AlertBar/AlertBar.stories.d.ts +3 -2
  10. package/lib/components/AlertBar/index.d.ts +1 -1
  11. package/lib/components/Avatar/index.d.ts +1 -2
  12. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +62 -0
  13. package/lib/components/Breadcrumbs/index.d.ts +9 -0
  14. package/lib/components/Breadcrumbs/index.js +12 -0
  15. package/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.d.ts +67 -0
  16. package/lib/components/BreadcrumbsBordered/index.d.ts +6 -0
  17. package/lib/components/BreadcrumbsBordered/index.js +28 -0
  18. package/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.d.ts +74 -0
  19. package/lib/components/BreadcrumbsItem/index.d.ts +10 -0
  20. package/lib/components/BreadcrumbsItem/index.js +117 -0
  21. package/lib/components/Button/Button.stories.d.ts +192 -0
  22. package/lib/components/Button/index.d.ts +19 -0
  23. package/lib/components/Button/index.js +66 -0
  24. package/lib/components/Calendar/Calendar.stories.d.ts +136 -0
  25. package/lib/components/Calendar/index.d.ts +15 -0
  26. package/lib/components/Calendar/index.js +46 -0
  27. package/lib/components/Calendar/style.css.js +1 -0
  28. package/lib/components/Card/Card.stories.d.ts +108 -0
  29. package/lib/components/Card/index.d.ts +17 -0
  30. package/lib/components/Card/index.js +51 -0
  31. package/lib/components/CardWithTopImage/CardWithTopImage.stories.d.ts +83 -0
  32. package/lib/components/CardWithTopImage/index.d.ts +9 -0
  33. package/lib/components/CardWithTopImage/index.js +28 -0
  34. package/lib/components/Carousel/Carousel.stories.d.ts +562 -0
  35. package/lib/components/Carousel/index.d.ts +77 -0
  36. package/lib/components/Carousel/index.js +248 -0
  37. package/lib/components/CarouselThumbnail/CarouselThumbnail.stories.d.ts +546 -0
  38. package/lib/components/CarouselThumbnail/index.d.ts +50 -0
  39. package/lib/components/CarouselThumbnail/index.js +205 -0
  40. package/lib/components/Checkbox/Checkbox.stories.d.ts +52 -0
  41. package/lib/components/Checkbox/index.d.ts +7 -0
  42. package/lib/components/Checkbox/index.js +31 -0
  43. package/lib/components/Collapsible/Collapsible.stories.d.ts +82 -0
  44. package/lib/components/Collapsible/index.d.ts +12 -0
  45. package/lib/components/Collapsible/index.js +88 -0
  46. package/lib/components/Column/Column.stories.d.ts +116 -0
  47. package/lib/components/Column/index.d.ts +10 -0
  48. package/lib/components/Column/index.js +8 -0
  49. package/lib/components/ComponentWrapper/ComponentWrapper.stories.d.ts +77 -0
  50. package/lib/components/ComponentWrapper/index.d.ts +14 -0
  51. package/lib/components/ComponentWrapper/index.js +27 -0
  52. package/lib/components/Container/Container.stories.d.ts +75 -0
  53. package/lib/components/Container/index.d.ts +7 -0
  54. package/lib/components/Container/index.js +12 -0
  55. package/lib/components/Counter/Counter.stories.d.ts +45 -0
  56. package/lib/components/Counter/index.d.ts +6 -0
  57. package/lib/components/Counter/index.js +31 -0
  58. package/lib/components/DetailUpdater/DetailUpdater.stories.d.ts +104 -0
  59. package/lib/components/DetailUpdater/index.d.ts +18 -0
  60. package/lib/components/DetailUpdater/index.js +63 -0
  61. package/lib/components/Dialog/Dialog.stories.d.ts +145 -0
  62. package/lib/components/Dialog/index.d.ts +12 -0
  63. package/lib/components/Dialog/index.js +78 -0
  64. package/lib/components/DropdownMenu/DropdownMenu.stories.d.ts +76 -0
  65. package/lib/components/DropdownMenu/index.d.ts +14 -0
  66. package/lib/components/DropdownMenu/index.js +27 -0
  67. package/lib/components/DynamicTextSection/DynamicTextSection.stories.d.ts +100 -0
  68. package/lib/components/DynamicTextSection/index.d.ts +11 -0
  69. package/lib/components/DynamicTextSection/index.js +18 -0
  70. package/lib/components/FileUploader/FilePreview.d.ts +8 -0
  71. package/lib/components/FileUploader/FileUploader.stories.d.ts +50 -0
  72. package/lib/components/FileUploader/index.d.ts +9 -0
  73. package/lib/components/FilterItem/FilterItem.stories.d.ts +57 -0
  74. package/lib/components/FilterItem/index.d.ts +8 -0
  75. package/lib/components/FilterItem/index.js +60 -0
  76. package/lib/components/Footer/Footer.stories.d.ts +105 -0
  77. package/lib/components/Footer/index.d.ts +10 -0
  78. package/lib/components/Footer/index.js +36 -0
  79. package/lib/components/FooterNav/FooterNav.stories.d.ts +135 -0
  80. package/lib/components/FooterNav/index.d.ts +13 -0
  81. package/lib/components/FooterNav/index.js +28 -0
  82. package/lib/components/FooterNavItem/FooterNavItem.stories.d.ts +93 -0
  83. package/lib/components/FooterNavItem/index.d.ts +16 -0
  84. package/lib/components/FooterNavItem/index.js +27 -0
  85. package/lib/components/Form/Form.stories.d.ts +117 -0
  86. package/lib/components/Form/index.d.ts +13 -0
  87. package/lib/components/Form/index.js +28 -0
  88. package/lib/components/FyreCard/FyreCard.stories.d.ts +58 -0
  89. package/lib/components/FyreCard/index.d.ts +12 -0
  90. package/lib/components/FyreCard/index.js +27 -0
  91. package/lib/components/Greeting/Greeting.stories.d.ts +83 -0
  92. package/lib/components/Greeting/index.d.ts +8 -0
  93. package/lib/components/Greeting/index.js +13 -0
  94. package/lib/components/HamburgerIcon/HamburgerIcon.stories.d.ts +64 -0
  95. package/lib/components/HamburgerIcon/index.d.ts +7 -0
  96. package/lib/components/HamburgerIcon/index.js +93 -0
  97. package/lib/components/HorizontalLine/HorizontalLine.stories.d.ts +96 -0
  98. package/lib/components/HorizontalLine/index.d.ts +11 -0
  99. package/lib/components/HorizontalLine/index.js +24 -0
  100. package/lib/components/Icon/Icon.stories.d.ts +47 -0
  101. package/lib/components/Icon/index.d.ts +10 -0
  102. package/lib/components/Icon/index.js +15 -0
  103. package/lib/components/IconCard/IconCard.stories.d.ts +51 -0
  104. package/lib/components/IconCard/index.d.ts +13 -0
  105. package/lib/components/IconCard/index.js +27 -0
  106. package/lib/components/Image/Image.stories.d.ts +158 -0
  107. package/lib/components/Image/index.d.ts +15 -0
  108. package/lib/components/Image/index.js +99 -0
  109. package/lib/components/ImageInfo/ImageInfo.stories.d.ts +69 -0
  110. package/lib/components/ImageInfo/index.d.ts +14 -0
  111. package/lib/components/ImageLink/ImageLink.stories.d.ts +63 -0
  112. package/lib/components/ImageLink/index.d.ts +14 -0
  113. package/lib/components/ImageLink/index.js +39 -0
  114. package/lib/components/ImageLinkList/ImageLinkList.stories.d.ts +48 -0
  115. package/lib/components/ImageLinkList/index.d.ts +8 -0
  116. package/lib/components/ImageLinkList/index.js +18 -0
  117. package/lib/components/InformationIcon/InformationIcon.stories.d.ts +54 -0
  118. package/lib/components/InformationIcon/index.d.ts +12 -0
  119. package/lib/components/InformationIcon/index.js +65 -0
  120. package/lib/components/InformationIconBlock/InformationIconBlock.stories.d.ts +55 -0
  121. package/lib/components/InformationIconBlock/index.d.ts +12 -0
  122. package/lib/components/Input/Input.stories.d.ts +114 -0
  123. package/lib/components/Input/index.d.ts +29 -0
  124. package/lib/components/Input/index.js +89 -0
  125. package/lib/components/Jumbotron/Jumbotron.stories.d.ts +48 -0
  126. package/lib/components/Jumbotron/index.d.ts +8 -0
  127. package/lib/components/Jumbotron/index.js +9 -0
  128. package/lib/components/MenuButton/MenuButton.stories.d.ts +76 -0
  129. package/lib/components/MenuButton/index.d.ts +14 -0
  130. package/lib/components/MenuButton/index.js +56 -0
  131. package/lib/components/Modal/Modal.stories.d.ts +67 -0
  132. package/lib/components/Modal/index.d.ts +10 -0
  133. package/lib/components/Modal/index.js +45 -0
  134. package/lib/components/NavItem/NavItem.stories.d.ts +154 -0
  135. package/lib/components/NavItem/index.d.ts +16 -0
  136. package/lib/components/NavItem/index.js +25 -0
  137. package/lib/components/NavOld/NavOld.stories.d.ts +290 -0
  138. package/lib/components/NavOld/StickyNav.d.ts +22 -0
  139. package/lib/components/NavOld/StickyNav.js +135 -0
  140. package/lib/components/NavOld/index.d.ts +26 -0
  141. package/lib/components/NavOld/index.js +187 -0
  142. package/lib/components/NavTwo/Dropdown.d.ts +7 -0
  143. package/lib/components/NavTwo/Dropdown.js +21 -0
  144. package/lib/components/NavTwo/Nav.stories.d.ts +62 -0
  145. package/lib/components/NavTwo/Sidebar.d.ts +7 -0
  146. package/lib/components/NavTwo/Sidebar.js +21 -0
  147. package/lib/components/NavTwo/StickyNav.d.ts +7 -0
  148. package/lib/components/NavTwo/StickyNav.js +20 -0
  149. package/lib/components/NavTwo/index.d.ts +13 -0
  150. package/lib/components/NavTwo/index.js +28 -0
  151. package/lib/components/NewsCard/NewsCard.stories.d.ts +102 -0
  152. package/lib/components/NewsCard/index.d.ts +13 -0
  153. package/lib/components/NewsCard/index.js +26 -0
  154. package/lib/components/Pill/Pill.stories.d.ts +84 -0
  155. package/lib/components/Pill/index.d.ts +8 -0
  156. package/lib/components/Pill/index.js +31 -0
  157. package/lib/components/ProductCard/ProductCard.stories.d.ts +86 -0
  158. package/lib/components/ProductCard/index.d.ts +18 -0
  159. package/lib/components/ProductCard/index.js +69 -0
  160. package/lib/components/ProductCardV2/ProductCardV2.stories.d.ts +75 -0
  161. package/lib/components/ProductCardV2/index.d.ts +21 -0
  162. package/lib/components/ProductCardV2/index.js +67 -0
  163. package/lib/components/Proficiencies/Proficiencies.stories.d.ts +51 -0
  164. package/lib/components/Proficiencies/index.d.ts +12 -0
  165. package/lib/components/Profile/Profile.stories.d.ts +80 -0
  166. package/lib/components/Profile/index.d.ts +17 -0
  167. package/lib/components/Profile/index.js +78 -0
  168. package/lib/components/Row/Row.stories.d.ts +62 -0
  169. package/lib/components/Row/index.d.ts +6 -0
  170. package/lib/components/Row/index.js +9 -0
  171. package/lib/components/Search/Search.stories.d.ts +86 -0
  172. package/lib/components/Search/index.d.ts +12 -0
  173. package/lib/components/Search/index.js +42 -0
  174. package/lib/components/Select/Select.stories.d.ts +56 -0
  175. package/lib/components/Select/index.d.ts +11 -0
  176. package/lib/components/Select/index.js +68 -0
  177. package/lib/components/Showcase/Showcase.stories.d.ts +55 -0
  178. package/lib/components/Showcase/index.d.ts +15 -0
  179. package/lib/components/SideNav/SideNav.stories.d.ts +80 -0
  180. package/lib/components/SideNav/index.d.ts +12 -0
  181. package/lib/components/SocialBlock/SocialBlock.stories.d.ts +101 -0
  182. package/lib/components/SocialBlock/index.d.ts +14 -0
  183. package/lib/components/SocialBlock/index.js +37 -0
  184. package/lib/components/SocialButton/SocialButton.stories.d.ts +130 -0
  185. package/lib/components/SocialButton/index.d.ts +12 -0
  186. package/lib/components/SocialButton/index.js +37 -0
  187. package/lib/components/StarRating/StarRating.stories.d.ts +49 -0
  188. package/lib/components/StarRating/index.d.ts +9 -0
  189. package/lib/components/StarRating/index.js +47 -0
  190. package/lib/components/Testimonial/Testimonial.stories.d.ts +172 -0
  191. package/lib/components/Testimonial/index.d.ts +16 -0
  192. package/lib/components/Testimonial/index.js +42 -0
  193. package/lib/components/TextAndTitle/TextAndTitle.stories.d.ts +97 -0
  194. package/lib/components/TextAndTitle/index.d.ts +25 -0
  195. package/lib/components/TextAndTitle/index.js +70 -0
  196. package/lib/components/TextArea/TextArea.stories.d.ts +85 -0
  197. package/lib/components/TextArea/index.d.ts +26 -0
  198. package/lib/components/TextArea/index.js +86 -0
  199. package/lib/components/Timeline/Timeline.stories.d.ts +81 -0
  200. package/lib/components/Timeline/index.d.ts +17 -0
  201. package/lib/components/Timeline/index.js +172 -0
  202. package/lib/components/TimelineV2/TimelineV2.stories.d.ts +87 -0
  203. package/lib/components/TimelineV2/index.d.ts +20 -0
  204. package/lib/components/Tubestops/Tubestops.stories.d.ts +54 -0
  205. package/lib/components/Tubestops/index.d.ts +8 -0
  206. package/lib/components/Tubestops/index.js +44 -0
  207. package/lib/components/UserIcon/UserIcon.stories.d.ts +81 -0
  208. package/lib/components/UserIcon/index.d.ts +10 -0
  209. package/lib/components/UserIcon/index.js +34 -0
  210. package/lib/components/Video/Video.stories.d.ts +49 -0
  211. package/lib/components/Video/index.d.ts +15 -0
  212. package/lib/components/Video/index.js +34 -0
  213. package/lib/components/index.d.ts +57 -1
  214. package/lib/components/typography/Fonts/Fonts.d.ts +2 -0
  215. package/lib/components/typography/Fonts/Fonts.stories.d.ts +10 -0
  216. package/lib/index.js +114 -2
  217. package/lib/node_modules/keen-slider/keen-slider.min.css.js +1 -0
  218. package/lib/node_modules/keen-slider/react.js +591 -0
  219. package/lib/style.css +1 -0
  220. package/lib/styles/global.css +1 -0
  221. package/lib/styles/themes/local.css +39 -39
  222. package/lib/styles/themes/palette.css +131 -0
  223. package/lib/tailwind/boxShadow.ts +9 -0
  224. package/lib/tailwind/colors.ts +410 -0
  225. package/lib/tailwind/container.ts +11 -0
  226. package/lib/tailwind/preset.ts +88 -0
  227. package/lib/tailwind/spacing.ts +14 -0
  228. package/lib/utils/matchMedia.js +9 -0
  229. package/package.json +7 -4
  230. package/src/components/Accordion/Accordion.stories.tsx +8 -8
  231. package/src/components/Accordion/index.tsx +8 -15
  232. package/src/components/AlertBar/AlertBar.stories.tsx +9 -9
  233. package/src/components/AlertBar/index.tsx +11 -11
  234. package/src/components/Avatar/Avatar.stories.tsx +3 -3
  235. package/src/components/Avatar/index.tsx +35 -38
  236. package/{archive → src/components}/Breadcrumbs/Breadcrumbs.stories.tsx +8 -8
  237. package/{archive → src/components}/Breadcrumbs/index.tsx +11 -13
  238. package/{archive → src/components}/BreadcrumbsBordered/BreadcrumbsBordered.stories.tsx +8 -8
  239. package/{archive → src/components}/BreadcrumbsBordered/index.tsx +8 -11
  240. package/{archive → src/components}/BreadcrumbsItem/BreadcrumbsItem.stories.tsx +8 -8
  241. package/{archive → src/components}/BreadcrumbsItem/index.tsx +20 -22
  242. package/{archive → src/components}/Button/Button.stories.tsx +18 -18
  243. package/{archive → src/components}/Button/index.tsx +27 -34
  244. package/{archive → src/components}/Calendar/Calendar.stories.tsx +9 -9
  245. package/{archive → src/components}/Calendar/index.tsx +6 -10
  246. package/{archive → src/components}/Card/Card.stories.tsx +7 -7
  247. package/{archive → src/components}/Card/index.tsx +20 -26
  248. package/{archive → src/components}/CardWithTopImage/CardWithTopImage.stories.tsx +8 -8
  249. package/{archive → src/components}/CardWithTopImage/index.tsx +9 -13
  250. package/{archive → src/components}/Carousel/Carousel.stories.tsx +37 -37
  251. package/{archive → src/components}/Carousel/index.tsx +35 -41
  252. package/{archive → src/components}/CarouselThumbnail/CarouselThumbnail.stories.tsx +36 -36
  253. package/{archive → src/components}/CarouselThumbnail/index.tsx +24 -33
  254. package/{archive → src/components}/Checkbox/Checkbox.stories.tsx +9 -9
  255. package/{archive → src/components}/Checkbox/index.tsx +8 -18
  256. package/{archive → src/components}/Collapsible/Collapsible.stories.tsx +10 -10
  257. package/{archive → src/components}/Collapsible/index.tsx +42 -30
  258. package/{archive → src/components}/Column/Column.stories.tsx +12 -12
  259. package/src/components/Column/index.tsx +18 -0
  260. package/{archive → src/components}/ComponentWrapper/ComponentWrapper.stories.tsx +7 -7
  261. package/{archive → src/components}/ComponentWrapper/index.tsx +13 -20
  262. package/{archive → src/components}/Container/Container.stories.tsx +7 -7
  263. package/{archive → src/components}/Container/index.tsx +6 -9
  264. package/{archive → src/components}/Counter/Counter.stories.tsx +4 -4
  265. package/src/components/Counter/index.tsx +42 -0
  266. package/{archive → src/components}/DetailUpdater/DetailUpdater.stories.tsx +17 -18
  267. package/{archive → src/components}/DetailUpdater/index.tsx +21 -25
  268. package/{archive → src/components}/Dialog/Dialog.stories.tsx +14 -15
  269. package/{archive → src/components}/Dialog/index.tsx +26 -24
  270. package/{archive → src/components}/DropdownMenu/DropdownMenu.stories.tsx +8 -8
  271. package/{archive → src/components}/DropdownMenu/index.tsx +6 -12
  272. package/{archive → src/components}/DynamicTextSection/DynamicTextSection.stories.tsx +13 -11
  273. package/{archive → src/components}/DynamicTextSection/index.tsx +5 -9
  274. package/{archive → src/components}/FileUploader/FilePreview.tsx +13 -16
  275. package/{archive → src/components}/FileUploader/FileUploader.stories.tsx +6 -8
  276. package/{archive → src/components}/FileUploader/index.tsx +22 -25
  277. package/{archive → src/components}/FilterItem/FilterItem.stories.tsx +7 -7
  278. package/{archive → src/components}/FilterItem/index.tsx +23 -27
  279. package/{archive → src/components}/Footer/Footer.stories.tsx +7 -7
  280. package/{archive → src/components}/Footer/index.tsx +14 -16
  281. package/{archive → src/components}/FooterNav/FooterNav.stories.tsx +22 -25
  282. package/{archive → src/components}/FooterNav/index.tsx +8 -16
  283. package/{archive → src/components}/FooterNavItem/FooterNavItem.stories.tsx +8 -8
  284. package/{archive → src/components}/FooterNavItem/index.tsx +10 -32
  285. package/{archive → src/components}/Form/Form.stories.tsx +11 -11
  286. package/{archive → src/components}/Form/index.tsx +6 -21
  287. package/{archive → src/components}/FyreCard/FyreCard.stories.tsx +7 -7
  288. package/{archive → src/components}/FyreCard/index.tsx +10 -18
  289. package/{archive → src/components}/Greeting/Greeting.stories.tsx +9 -9
  290. package/{archive → src/components}/Greeting/index.tsx +4 -6
  291. package/{archive → src/components}/HamburgerIcon/HamburgerIcon.stories.tsx +6 -6
  292. package/{archive → src/components}/HamburgerIcon/index.tsx +26 -32
  293. package/{archive → src/components}/HorizontalLine/HorizontalLine.stories.tsx +5 -5
  294. package/{archive → src/components}/HorizontalLine/index.tsx +8 -16
  295. package/src/components/Icon/Icon.stories.tsx +22 -0
  296. package/src/components/Icon/index.tsx +25 -0
  297. package/{archive → src/components}/IconCard/IconCard.stories.tsx +7 -27
  298. package/{archive → src/components}/IconCard/index.tsx +13 -16
  299. package/{archive → src/components}/Image/Image.stories.tsx +15 -15
  300. package/{archive → src/components}/Image/index.tsx +43 -48
  301. package/{archive → src/components}/ImageInfo/ImageInfo.stories.tsx +8 -9
  302. package/{archive → src/components}/ImageInfo/index.tsx +18 -29
  303. package/{archive → src/components}/ImageLink/ImageLink.stories.tsx +8 -9
  304. package/src/components/ImageLink/index.tsx +58 -0
  305. package/{archive → src/components}/ImageLinkList/ImageLinkList.stories.tsx +8 -8
  306. package/{archive → src/components}/ImageLinkList/index.tsx +4 -9
  307. package/src/components/InformationIcon/InformationIcon.stories.tsx +29 -0
  308. package/{archive → src/components}/InformationIcon/index.tsx +21 -44
  309. package/src/components/InformationIconBlock/InformationIconBlock.stories.tsx +38 -0
  310. package/{archive → src/components}/InformationIconBlock/index.tsx +15 -22
  311. package/{archive → src/components}/Input/Input.stories.tsx +13 -13
  312. package/{archive → src/components}/Input/index.tsx +22 -23
  313. package/{archive → src/components}/Jumbotron/Jumbotron.stories.tsx +5 -5
  314. package/{archive → src/components}/Jumbotron/index.tsx +4 -16
  315. package/{archive → src/components}/MenuButton/MenuButton.stories.tsx +7 -7
  316. package/src/components/MenuButton/index.tsx +66 -0
  317. package/{archive → src/components}/Modal/Modal.stories.tsx +11 -15
  318. package/{archive → src/components}/Modal/index.tsx +13 -16
  319. package/{archive → src/components}/NavItem/NavItem.stories.tsx +9 -9
  320. package/src/components/NavItem/index.tsx +43 -0
  321. package/{archive → src/components}/NavOld/NavOld.stories.tsx +21 -21
  322. package/{archive → src/components}/NavOld/StickyNav.tsx +47 -51
  323. package/{archive → src/components}/NavOld/index.tsx +50 -58
  324. package/{archive → src/components}/NavTwo/Dropdown.tsx +7 -12
  325. package/{archive → src/components}/NavTwo/Nav.stories.tsx +6 -12
  326. package/{archive → src/components}/NavTwo/Sidebar.tsx +6 -10
  327. package/{archive → src/components}/NavTwo/StickyNav.tsx +5 -10
  328. package/{archive → src/components}/NavTwo/index.tsx +6 -14
  329. package/{archive → src/components}/NewsCard/NewsCard.stories.tsx +11 -11
  330. package/{archive → src/components}/NewsCard/index.tsx +8 -21
  331. package/{archive → src/components}/Pill/Pill.stories.tsx +9 -9
  332. package/{archive → src/components}/Pill/index.tsx +17 -27
  333. package/{archive → src/components}/ProductCard/ProductCard.stories.tsx +6 -6
  334. package/{archive → src/components}/ProductCard/index.tsx +21 -22
  335. package/{archive → src/components}/ProductCardV2/ProductCardV2.stories.tsx +6 -6
  336. package/src/components/ProductCardV2/index.tsx +98 -0
  337. package/{archive → src/components}/Proficiencies/Proficiencies.stories.tsx +5 -5
  338. package/{archive → src/components}/Proficiencies/index.tsx +10 -22
  339. package/{archive → src/components}/Profile/Profile.stories.tsx +9 -9
  340. package/{archive → src/components}/Profile/index.tsx +26 -26
  341. package/{archive → src/components}/Row/Row.stories.tsx +8 -8
  342. package/{archive → src/components}/Row/index.tsx +3 -9
  343. package/{archive → src/components}/Search/Search.stories.tsx +10 -10
  344. package/{archive → src/components}/Search/index.tsx +14 -18
  345. package/{archive → src/components}/Select/Select.stories.tsx +7 -8
  346. package/{archive → src/components}/Select/index.tsx +28 -36
  347. package/{archive → src/components}/Showcase/Showcase.stories.tsx +7 -6
  348. package/src/components/Showcase/index.tsx +69 -0
  349. package/{archive → src/components}/SideNav/SideNav.stories.tsx +9 -9
  350. package/{archive → src/components}/SideNav/index.tsx +10 -17
  351. package/{archive → src/components}/SocialBlock/SocialBlock.stories.tsx +8 -8
  352. package/{archive → src/components}/SocialBlock/index.tsx +15 -19
  353. package/{archive → src/components}/SocialButton/SocialButton.stories.tsx +13 -13
  354. package/{archive → src/components}/SocialButton/index.tsx +19 -26
  355. package/{archive → src/components}/StarRating/StarRating.stories.tsx +5 -5
  356. package/{archive → src/components}/StarRating/index.tsx +22 -28
  357. package/{archive → src/components}/Testimonial/Testimonial.stories.tsx +7 -8
  358. package/{archive → src/components}/Testimonial/index.tsx +12 -18
  359. package/{archive → src/components}/TextAndTitle/TextAndTitle.stories.tsx +9 -8
  360. package/{archive → src/components}/TextAndTitle/index.tsx +25 -29
  361. package/{archive → src/components}/TextArea/TextArea.stories.tsx +9 -9
  362. package/{archive → src/components}/TextArea/index.tsx +22 -23
  363. package/{archive → src/components}/Timeline/Timeline.stories.tsx +14 -14
  364. package/{archive → src/components}/Timeline/index.tsx +58 -56
  365. package/{archive → src/components}/TimelineV2/TimelineV2.stories.tsx +10 -10
  366. package/{archive → src/components}/TimelineV2/index.tsx +15 -15
  367. package/{archive → src/components}/Tubestops/Tubestops.stories.tsx +6 -6
  368. package/src/components/Tubestops/index.tsx +54 -0
  369. package/{archive → src/components}/UserIcon/UserIcon.stories.tsx +8 -8
  370. package/{archive → src/components}/UserIcon/index.tsx +15 -18
  371. package/{archive → src/components}/Video/Video.stories.tsx +5 -5
  372. package/{archive → src/components}/Video/index.tsx +3 -5
  373. package/src/components/index.ts +112 -112
  374. package/src/components/typography/Fonts/Fonts.stories.tsx +14 -0
  375. package/src/components/typography/Fonts/Fonts.tsx +74 -0
  376. package/src/documentation/Colours.mdx +1 -1
  377. package/src/styles/global.css +1 -0
  378. package/src/styles/themes/local.css +39 -39
  379. package/src/styles/themes/palette.css +131 -0
  380. package/tailwind/boxShadow.ts +9 -0
  381. package/tailwind/colors.ts +410 -0
  382. package/tailwind/container.ts +11 -0
  383. package/tailwind/preset.ts +88 -0
  384. package/tailwind/spacing.ts +14 -0
  385. package/tsconfig.json +8 -2
  386. package/archive/Button/style.module.css +0 -76
  387. package/archive/Card/style.module.css +0 -75
  388. package/archive/CardWithTopImage/style.module.css +0 -11
  389. package/archive/Carousel/style.module.css +0 -99
  390. package/archive/CarouselThumbnail/style.module.css +0 -67
  391. package/archive/Checkbox/style.module.css +0 -15
  392. package/archive/Collapsible/style.module.css +0 -47
  393. package/archive/Column/index.tsx +0 -119
  394. package/archive/Column/style.module.css +0 -151
  395. package/archive/ComponentWrapper/style.module.css +0 -40
  396. package/archive/Container/style.module.css +0 -4
  397. package/archive/Counter/index.tsx +0 -66
  398. package/archive/Counter/style.module.css +0 -19
  399. package/archive/DetailUpdater/style.module.css +0 -31
  400. package/archive/Dialog/style.module.css +0 -44
  401. package/archive/DropdownMenu/style.module.css +0 -38
  402. package/archive/FileUploader/style.module.css +0 -54
  403. package/archive/FilterItem/style.module.css +0 -27
  404. package/archive/Footer/style.module.css +0 -19
  405. package/archive/FooterNav/style.module.css +0 -32
  406. package/archive/FooterNavItem/style.module.css +0 -139
  407. package/archive/Form/style.module.css +0 -0
  408. package/archive/FyreCard/style.module.css +0 -19
  409. package/archive/HamburgerIcon/style.module.css +0 -85
  410. package/archive/HorizontalLine/style.module.css +0 -55
  411. package/archive/Icon/Icon.stories.tsx +0 -164
  412. package/archive/Icon/index.tsx +0 -115
  413. package/archive/Icon/style.module.css +0 -253
  414. package/archive/IconCard/style.module.css +0 -18
  415. package/archive/Image/style.module.css +0 -109
  416. package/archive/ImageInfo/style.module.css +0 -47
  417. package/archive/ImageLink/index.tsx +0 -49
  418. package/archive/ImageLink/style.module.css +0 -23
  419. package/archive/ImageLinkList/style.module.css +0 -3
  420. package/archive/InformationIcon/InformationIcon.stories.tsx +0 -83
  421. package/archive/InformationIcon/style.module.css +0 -71
  422. package/archive/InformationIconBlock/InformationIconBlock.stories.tsx +0 -32
  423. package/archive/InformationIconBlock/style.module.css +0 -7
  424. package/archive/Input/style.module.css +0 -60
  425. package/archive/Jumbotron/style.module.css +0 -8
  426. package/archive/MenuButton/index.tsx +0 -82
  427. package/archive/MenuButton/style.module.css +0 -45
  428. package/archive/Modal/style.module.css +0 -35
  429. package/archive/NavItem/index.tsx +0 -65
  430. package/archive/NavItem/style.module.css +0 -71
  431. package/archive/NavOld/style.module.css +0 -156
  432. package/archive/NavTwo/style.module.css +0 -35
  433. package/archive/NewsCard/style.module.css +0 -15
  434. package/archive/Pill/style.module.css +0 -32
  435. package/archive/ProductCard/style.module.css +0 -53
  436. package/archive/ProductCardV2/index.tsx +0 -119
  437. package/archive/ProductCardV2/style.module.css +0 -59
  438. package/archive/Proficiencies/style.module.css +0 -31
  439. package/archive/Profile/style.module.css +0 -47
  440. package/archive/Row/style.module.css +0 -3
  441. package/archive/Search/style.module.css +0 -23
  442. package/archive/Select/style.module.css +0 -52
  443. package/archive/Showcase/index.tsx +0 -75
  444. package/archive/Showcase/style.module.css +0 -47
  445. package/archive/SideNav/style.module.css +0 -43
  446. package/archive/SocialButton/style.module.css +0 -77
  447. package/archive/Testimonial/style.module.css +0 -27
  448. package/archive/TextAndTitle/style.module.css +0 -75
  449. package/archive/TextArea/style.module.css +0 -60
  450. package/archive/Timeline/style.module.css +0 -134
  451. package/archive/TimelineV2/style.module.css +0 -28
  452. package/archive/Tubestops/index.tsx +0 -58
  453. package/archive/Tubestops/style.module.css +0 -54
  454. package/archive/UserIcon/style.module.css +0 -19
  455. package/archive/typography/Fonts/Fonts.stories.tsx +0 -14
  456. package/archive/typography/Fonts/Fonts.tsx +0 -181
  457. /package/{archive → src/components}/Calendar/style.css +0 -0
  458. /package/{archive → src/components}/Checkbox/Checkbox.mdx +0 -0
  459. /package/{archive/DynamicTextSection → src/components/Form}/style.module.css +0 -0
  460. /package/{archive → src/components}/fonts/Sora/OFL.txt +0 -0
  461. /package/{archive → src/components}/fonts/Sora/README.txt +0 -0
  462. /package/{archive → src/components}/fonts/Sora/Sora-VariableFont_wght.ttf +0 -0
  463. /package/{archive → src/components}/fonts/Sora/static/Sora-Bold.ttf +0 -0
  464. /package/{archive → src/components}/fonts/Sora/static/Sora-ExtraBold.ttf +0 -0
  465. /package/{archive → src/components}/fonts/Sora/static/Sora-ExtraLight.ttf +0 -0
  466. /package/{archive → src/components}/fonts/Sora/static/Sora-Light.ttf +0 -0
  467. /package/{archive → src/components}/fonts/Sora/static/Sora-Medium.ttf +0 -0
  468. /package/{archive → src/components}/fonts/Sora/static/Sora-Regular.ttf +0 -0
  469. /package/{archive → src/components}/fonts/Sora/static/Sora-SemiBold.ttf +0 -0
  470. /package/{archive → src/components}/fonts/Sora/static/Sora-Thin.ttf +0 -0
@@ -0,0 +1,591 @@
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 ADDED
@@ -0,0 +1 @@
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,3 +1,4 @@
1
+ @import './themes/palette.css';
1
2
  @import './themes/local.css';
2
3
 
3
4
  @tailwind base;
@@ -1,40 +1,40 @@
1
1
  body {
2
- --color-primary: #0036a0;
3
- --color-secondary: #e2e2e2;
4
- --color-tertiary: #921457;
5
- --color-ink: #495863;
6
- --color-transparent: transparent;
7
- --color-white: #ffffff;
8
- --color-black: #000000;
9
- --color-red: #bb0a1e;
10
- --color-grey: #2c373b;
11
- --color-light-grey: #495c63;
12
- --color-lightest-grey: #f5f5f5;
13
- --color-primary-strict: #ff007d;
14
- --color-border: #d0d0d0;
15
- --color-border-lightest: #eeeeee;
16
- --color-border-light: #d8d8d8;
17
- --color-border-dark: #616161;
18
- --color-error-light: #ffd9d9;
19
- --color-success-light: #e7f5e7;
20
- --color-facebook: #3b5999;
21
- --color-whatsapp: #25d366;
22
- --color-twitter: #55acee;
23
- --color-linkedin: #0a66c2;
24
- --color-email: #c71610;
25
- --color-github: #171515;
26
- --color-instagram: #8a3ab9;
27
- --color-interactive-facebook: #2d4474;
28
- --color-interactive-whatsapp: #25d566;
29
- --color-interactive-twitter: #55acee;
30
- --color-interactive-linkedin: #0a66c2;
31
- --color-interactive-instagram: #6d2e92;
32
- --color-interactive-email: #9f110c;
33
- --color-interactive-github: #000000;
34
- --color-gold: #e2b13c;
35
- --color-error: #b11013;
36
- --color-warning: #ffd35c;
37
- --color-success: #69c364;
38
- --color-info-light: #d8eaf5;
39
- --color-linkedin: #0e76a8;
40
- }
2
+ --color-primary: #0036a0;
3
+ --color-secondary: #e2e2e2;
4
+ --color-tertiary: #921457;
5
+ --color-ink: #495863;
6
+ --color-transparent: transparent;
7
+ --color-white: #ffffff;
8
+ --color-black: #000000;
9
+ --color-red: #bb0a1e;
10
+ --color-grey: #2c373b;
11
+ --color-light-grey: #495c63;
12
+ --color-lightest-grey: #f5f5f5;
13
+ --color-primary-strict: #ff007d;
14
+ --color-border: #d0d0d0;
15
+ --color-border-lightest: #eeeeee;
16
+ --color-border-light: #d8d8d8;
17
+ --color-border-dark: #616161;
18
+ --color-error-light: #ffd9d9;
19
+ --color-success-light: #e7f5e7;
20
+ --color-facebook: #3b5999;
21
+ --color-whatsapp: #25d366;
22
+ --color-twitter: #55acee;
23
+ --color-linkedin: #0a66c2;
24
+ --color-email: #c71610;
25
+ --color-github: #171515;
26
+ --color-instagram: #8a3ab9;
27
+ --color-interactive-facebook: #2d4474;
28
+ --color-interactive-whatsapp: #25d566;
29
+ --color-interactive-twitter: #55acee;
30
+ --color-interactive-linkedin: #0a66c2;
31
+ --color-interactive-instagram: #6d2e92;
32
+ --color-interactive-email: #9f110c;
33
+ --color-interactive-github: #000000;
34
+ --color-gold: #e2b13c;
35
+ --color-error: #b11013;
36
+ --color-warning: #ffd35c;
37
+ --color-success: #69c364;
38
+ --color-info-light: #d8eaf5;
39
+ --color-linkedin: #0e76a8;
40
+ }