trepur_components 2.3.7 → 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 (335) hide show
  1. package/.eslintrc.cjs +33 -4
  2. package/.prettierignore +10 -0
  3. package/README.md +1 -1
  4. package/package.json +9 -5
  5. package/src/components/Accordion/Accordion.stories.tsx +21 -98
  6. package/src/components/Accordion/const.tsx +34 -0
  7. package/src/components/Accordion/index.tsx +19 -25
  8. package/src/components/AlertBar/AlertBar.stories.tsx +78 -84
  9. package/src/components/AlertBar/index.tsx +69 -100
  10. package/src/components/Avatar/Avatar.stories.tsx +2 -7
  11. package/src/components/Avatar/index.tsx +4 -7
  12. package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +29 -0
  13. package/src/components/Breadcrumbs/index.tsx +89 -0
  14. package/src/components/Button/Button.stories.tsx +24 -0
  15. package/src/components/Button/index.tsx +59 -0
  16. package/src/components/Calendar/Calendar.stories.tsx +21 -0
  17. package/src/components/Calendar/index.tsx +92 -0
  18. package/src/components/Card/Card.stories.tsx +14 -0
  19. package/src/components/Card/index.tsx +39 -0
  20. package/src/components/Carousel/Carousel.stories.tsx +44 -0
  21. package/src/components/Carousel/index.tsx +301 -0
  22. package/src/components/Carousel/utils.ts +53 -0
  23. package/src/components/CarouselThumbnail/CarouselThumbnail.stories.tsx +29 -0
  24. package/src/components/CarouselThumbnail/const.ts +17 -0
  25. package/src/components/CarouselThumbnail/index.tsx +169 -0
  26. package/src/components/CarouselThumbnail/utils.ts +87 -0
  27. package/src/components/Checkbox/Checkbox.stories.tsx +27 -0
  28. package/src/components/Checkbox/index.tsx +44 -0
  29. package/src/components/Collapsible/Collapsible.stories.tsx +67 -0
  30. package/src/components/Collapsible/index.tsx +169 -0
  31. package/src/components/Counter/Counter.stories.tsx +20 -0
  32. package/src/components/Counter/index.tsx +98 -0
  33. package/src/components/DetailUpdater/DetailUpdater.stories.tsx +37 -0
  34. package/{archive → src/components}/DetailUpdater/index.tsx +20 -25
  35. package/src/components/Dialog/Dialog.stories.tsx +65 -0
  36. package/src/components/Dialog/index.tsx +29 -0
  37. package/src/components/Dropdown/Dropdown.stories.tsx +22 -0
  38. package/src/components/Dropdown/index.tsx +117 -0
  39. package/src/components/Dropdown/utils.ts +15 -0
  40. package/{archive → src/components}/FileUploader/FilePreview.tsx +11 -14
  41. package/src/components/FileUploader/FileUploader.stories.tsx +28 -0
  42. package/src/components/FileUploader/index.tsx +177 -0
  43. package/src/components/Footer/Footer.stories.tsx +47 -0
  44. package/src/components/Footer/index.tsx +96 -0
  45. package/src/components/FooterNav/FooterNav.stories.tsx +32 -0
  46. package/src/components/FooterNav/index.tsx +75 -0
  47. package/{archive → src/components}/Form/Form.stories.tsx +2 -2
  48. package/src/components/Form/index.tsx +41 -0
  49. package/src/components/Gallery/Gallery.stories.tsx +39 -0
  50. package/src/components/Gallery/index.tsx +31 -0
  51. package/src/components/Greeting/Greeting.stories.tsx +16 -0
  52. package/src/components/Greeting/index.tsx +49 -0
  53. package/src/components/HamburgerIcon/HamburgerIcon.stories.tsx +14 -0
  54. package/src/components/HamburgerIcon/index.tsx +75 -0
  55. package/src/components/Icon/Icon.stories.tsx +41 -0
  56. package/src/components/Icon/index.tsx +33 -0
  57. package/src/components/Image/Image.stories.tsx +17 -0
  58. package/src/components/Image/index.tsx +25 -0
  59. package/src/components/ImageCard/ImageCard.stories.tsx +29 -0
  60. package/src/components/ImageCard/index.tsx +75 -0
  61. package/src/components/Input/Input.stories.tsx +25 -0
  62. package/src/components/Input/index.tsx +139 -0
  63. package/{archive → src/components}/MenuButton/MenuButton.stories.tsx +2 -2
  64. package/src/components/MenuButton/index.tsx +66 -0
  65. package/{archive → src/components}/Modal/Modal.stories.tsx +4 -8
  66. package/{archive → src/components}/Modal/index.tsx +9 -12
  67. package/src/components/Nav/Nav.stories.tsx +80 -0
  68. package/src/components/Nav/index.tsx +171 -0
  69. package/src/components/NavItem/NavItem.stories.tsx +17 -0
  70. package/src/components/NavItem/index.tsx +39 -0
  71. package/src/components/Pill/Pill.stories.tsx +51 -0
  72. package/src/components/Pill/index.tsx +69 -0
  73. package/{archive → src/components}/Search/Search.stories.tsx +2 -2
  74. package/{archive → src/components}/Search/index.tsx +12 -16
  75. package/{archive → src/components}/Select/Select.stories.tsx +2 -3
  76. package/{archive → src/components}/Select/index.tsx +21 -30
  77. package/{archive → src/components}/Showcase/Showcase.stories.tsx +4 -3
  78. package/src/components/Showcase/index.tsx +62 -0
  79. package/{archive → src/components}/SideNav/SideNav.stories.tsx +2 -2
  80. package/{archive → src/components}/SideNav/index.tsx +8 -15
  81. package/{archive → src/components}/SocialButton/SocialButton.stories.tsx +2 -2
  82. package/{archive → src/components}/SocialButton/index.tsx +14 -22
  83. package/src/components/SplitCard/SplitCard.stories.tsx +34 -0
  84. package/src/components/SplitCard/index.tsx +132 -0
  85. package/src/components/Stars/Star.stories.tsx +18 -0
  86. package/src/components/Stars/index.tsx +38 -0
  87. package/src/components/Testimonial/Testimonial.stories.tsx +37 -0
  88. package/src/components/Testimonial/index.tsx +123 -0
  89. package/src/components/TextArea/TextArea.stories.tsx +24 -0
  90. package/src/components/TextArea/index.tsx +133 -0
  91. package/src/components/Timeline/Timeline.stories.tsx +45 -0
  92. package/src/components/Timeline/index.tsx +65 -0
  93. package/src/components/Tubestops/Tubestops.stories.tsx +22 -0
  94. package/src/components/Tubestops/index.tsx +132 -0
  95. package/src/components/Video/Video.stories.tsx +58 -0
  96. package/src/components/Video/assets/example.mp4 +0 -0
  97. package/src/components/Video/assets/example.ogv +0 -0
  98. package/src/components/Video/assets/example.webm +0 -0
  99. package/src/components/Video/index.tsx +92 -0
  100. package/src/components/index.ts +66 -112
  101. package/src/custom.d.ts +14 -0
  102. package/src/documentation/Colours.mdx +34 -34
  103. package/src/documentation/Introduction.mdx +9 -5
  104. package/src/documentation/assets/index.ts +3 -0
  105. package/src/documentation/assets/trepurComponentsLogo.svg +32 -0
  106. package/src/documentation/typography/Fonts/Fonts.stories.tsx +14 -0
  107. package/src/documentation/typography/Fonts/Fonts.tsx +73 -0
  108. package/src/styles/global.css +1 -1
  109. package/src/styles/themes/local.css +91 -39
  110. package/src/styles/themes/test.css +28 -0
  111. package/src/utils/screens.ts +1 -1
  112. package/tailwind/colors.ts +53 -385
  113. package/tailwind/preset.ts +4 -0
  114. package/tailwind.config.ts +12 -80
  115. package/tsconfig.json +8 -2
  116. package/archive/Breadcrumbs/Breadcrumbs.stories.tsx +0 -46
  117. package/archive/Breadcrumbs/index.tsx +0 -42
  118. package/archive/BreadcrumbsBordered/BreadcrumbsBordered.stories.tsx +0 -52
  119. package/archive/BreadcrumbsBordered/index.tsx +0 -44
  120. package/archive/BreadcrumbsItem/BreadcrumbsItem.stories.tsx +0 -40
  121. package/archive/BreadcrumbsItem/index.tsx +0 -149
  122. package/archive/Button/Button.stories.tsx +0 -150
  123. package/archive/Button/index.tsx +0 -111
  124. package/archive/Button/style.module.css +0 -76
  125. package/archive/Calendar/Calendar.stories.tsx +0 -82
  126. package/archive/Calendar/index.tsx +0 -76
  127. package/archive/Card/Card.stories.tsx +0 -75
  128. package/archive/Card/index.tsx +0 -102
  129. package/archive/Card/style.module.css +0 -75
  130. package/archive/CardWithTopImage/CardWithTopImage.stories.tsx +0 -50
  131. package/archive/CardWithTopImage/index.tsx +0 -39
  132. package/archive/CardWithTopImage/style.module.css +0 -11
  133. package/archive/Carousel/Carousel.stories.tsx +0 -451
  134. package/archive/Carousel/index.tsx +0 -388
  135. package/archive/Carousel/style.module.css +0 -99
  136. package/archive/CarouselThumbnail/CarouselThumbnail.stories.tsx +0 -350
  137. package/archive/CarouselThumbnail/index.tsx +0 -302
  138. package/archive/CarouselThumbnail/style.module.css +0 -67
  139. package/archive/Checkbox/Checkbox.stories.tsx +0 -34
  140. package/archive/Checkbox/index.tsx +0 -51
  141. package/archive/Checkbox/style.module.css +0 -15
  142. package/archive/Collapsible/Collapsible.stories.tsx +0 -67
  143. package/archive/Collapsible/index.tsx +0 -116
  144. package/archive/Collapsible/style.module.css +0 -47
  145. package/archive/Column/Column.stories.tsx +0 -89
  146. package/archive/Column/index.tsx +0 -119
  147. package/archive/Column/style.module.css +0 -151
  148. package/archive/ComponentWrapper/ComponentWrapper.stories.tsx +0 -40
  149. package/archive/ComponentWrapper/index.tsx +0 -55
  150. package/archive/ComponentWrapper/style.module.css +0 -40
  151. package/archive/Container/Container.stories.tsx +0 -40
  152. package/archive/Container/index.tsx +0 -24
  153. package/archive/Container/style.module.css +0 -4
  154. package/archive/Counter/Counter.stories.tsx +0 -19
  155. package/archive/Counter/index.tsx +0 -66
  156. package/archive/Counter/style.module.css +0 -19
  157. package/archive/DetailUpdater/DetailUpdater.stories.tsx +0 -96
  158. package/archive/DetailUpdater/style.module.css +0 -31
  159. package/archive/Dialog/Dialog.stories.tsx +0 -131
  160. package/archive/Dialog/index.tsx +0 -91
  161. package/archive/Dialog/style.module.css +0 -44
  162. package/archive/DropdownMenu/DropdownMenu.stories.tsx +0 -59
  163. package/archive/DropdownMenu/index.tsx +0 -51
  164. package/archive/DropdownMenu/style.module.css +0 -38
  165. package/archive/DynamicTextSection/DynamicTextSection.stories.tsx +0 -74
  166. package/archive/DynamicTextSection/index.tsx +0 -36
  167. package/archive/DynamicTextSection/style.module.css +0 -0
  168. package/archive/FileUploader/FileUploader.stories.tsx +0 -28
  169. package/archive/FileUploader/index.tsx +0 -135
  170. package/archive/FileUploader/style.module.css +0 -54
  171. package/archive/FilterItem/FilterItem.stories.tsx +0 -33
  172. package/archive/FilterItem/index.tsx +0 -101
  173. package/archive/FilterItem/style.module.css +0 -27
  174. package/archive/Footer/Footer.stories.tsx +0 -59
  175. package/archive/Footer/index.tsx +0 -50
  176. package/archive/Footer/style.module.css +0 -19
  177. package/archive/FooterNav/FooterNav.stories.tsx +0 -125
  178. package/archive/FooterNav/index.tsx +0 -57
  179. package/archive/FooterNav/style.module.css +0 -32
  180. package/archive/FooterNavItem/FooterNavItem.stories.tsx +0 -53
  181. package/archive/FooterNavItem/index.tsx +0 -80
  182. package/archive/FooterNavItem/style.module.css +0 -139
  183. package/archive/Form/index.tsx +0 -61
  184. package/archive/Form/style.module.css +0 -0
  185. package/archive/FyreCard/FyreCard.stories.tsx +0 -31
  186. package/archive/FyreCard/index.tsx +0 -52
  187. package/archive/FyreCard/style.module.css +0 -19
  188. package/archive/Greeting/Greeting.stories.tsx +0 -41
  189. package/archive/Greeting/index.tsx +0 -32
  190. package/archive/HamburgerIcon/HamburgerIcon.stories.tsx +0 -32
  191. package/archive/HamburgerIcon/index.tsx +0 -103
  192. package/archive/HamburgerIcon/style.module.css +0 -85
  193. package/archive/HorizontalLine/HorizontalLine.stories.tsx +0 -54
  194. package/archive/HorizontalLine/index.tsx +0 -40
  195. package/archive/HorizontalLine/style.module.css +0 -55
  196. package/archive/Icon/Icon.stories.tsx +0 -164
  197. package/archive/Icon/index.tsx +0 -115
  198. package/archive/Icon/style.module.css +0 -253
  199. package/archive/IconCard/IconCard.stories.tsx +0 -46
  200. package/archive/IconCard/index.tsx +0 -57
  201. package/archive/IconCard/style.module.css +0 -18
  202. package/archive/Image/Image.stories.tsx +0 -87
  203. package/archive/Image/index.tsx +0 -132
  204. package/archive/Image/style.module.css +0 -109
  205. package/archive/ImageInfo/ImageInfo.stories.tsx +0 -39
  206. package/archive/ImageInfo/index.tsx +0 -95
  207. package/archive/ImageInfo/style.module.css +0 -47
  208. package/archive/ImageLink/ImageLink.stories.tsx +0 -37
  209. package/archive/ImageLink/index.tsx +0 -49
  210. package/archive/ImageLink/style.module.css +0 -23
  211. package/archive/ImageLinkList/ImageLinkList.stories.tsx +0 -34
  212. package/archive/ImageLinkList/index.tsx +0 -33
  213. package/archive/ImageLinkList/style.module.css +0 -3
  214. package/archive/InformationIcon/InformationIcon.stories.tsx +0 -83
  215. package/archive/InformationIcon/index.tsx +0 -128
  216. package/archive/InformationIcon/style.module.css +0 -71
  217. package/archive/InformationIconBlock/InformationIconBlock.stories.tsx +0 -32
  218. package/archive/InformationIconBlock/index.tsx +0 -63
  219. package/archive/InformationIconBlock/style.module.css +0 -7
  220. package/archive/Input/Input.stories.tsx +0 -84
  221. package/archive/Input/index.tsx +0 -131
  222. package/archive/Input/style.module.css +0 -60
  223. package/archive/Jumbotron/Jumbotron.stories.tsx +0 -21
  224. package/archive/Jumbotron/index.tsx +0 -31
  225. package/archive/Jumbotron/style.module.css +0 -8
  226. package/archive/MenuButton/index.tsx +0 -82
  227. package/archive/MenuButton/style.module.css +0 -45
  228. package/archive/Modal/style.module.css +0 -35
  229. package/archive/NavItem/NavItem.stories.tsx +0 -90
  230. package/archive/NavItem/index.tsx +0 -65
  231. package/archive/NavItem/style.module.css +0 -71
  232. package/archive/NavOld/NavOld.stories.tsx +0 -193
  233. package/archive/NavOld/StickyNav.tsx +0 -191
  234. package/archive/NavOld/index.tsx +0 -273
  235. package/archive/NavOld/style.module.css +0 -156
  236. package/archive/NavTwo/Dropdown.tsx +0 -35
  237. package/archive/NavTwo/Nav.stories.tsx +0 -38
  238. package/archive/NavTwo/Sidebar.tsx +0 -34
  239. package/archive/NavTwo/StickyNav.tsx +0 -34
  240. package/archive/NavTwo/index.tsx +0 -45
  241. package/archive/NavTwo/style.module.css +0 -35
  242. package/archive/NewsCard/NewsCard.stories.tsx +0 -72
  243. package/archive/NewsCard/index.tsx +0 -57
  244. package/archive/NewsCard/style.module.css +0 -15
  245. package/archive/Pill/Pill.stories.tsx +0 -44
  246. package/archive/Pill/index.tsx +0 -64
  247. package/archive/Pill/style.module.css +0 -32
  248. package/archive/ProductCard/ProductCard.stories.tsx +0 -61
  249. package/archive/ProductCard/index.tsx +0 -111
  250. package/archive/ProductCard/style.module.css +0 -53
  251. package/archive/ProductCardV2/ProductCardV2.stories.tsx +0 -50
  252. package/archive/ProductCardV2/index.tsx +0 -119
  253. package/archive/ProductCardV2/style.module.css +0 -59
  254. package/archive/Proficiencies/Proficiencies.stories.tsx +0 -50
  255. package/archive/Proficiencies/index.tsx +0 -63
  256. package/archive/Proficiencies/style.module.css +0 -31
  257. package/archive/Profile/Profile.stories.tsx +0 -49
  258. package/archive/Profile/index.tsx +0 -103
  259. package/archive/Profile/style.module.css +0 -47
  260. package/archive/Row/Row.stories.tsx +0 -53
  261. package/archive/Row/index.tsx +0 -23
  262. package/archive/Row/style.module.css +0 -3
  263. package/archive/Search/style.module.css +0 -23
  264. package/archive/Select/style.module.css +0 -52
  265. package/archive/Showcase/index.tsx +0 -75
  266. package/archive/Showcase/style.module.css +0 -47
  267. package/archive/SideNav/style.module.css +0 -43
  268. package/archive/SocialBlock/SocialBlock.stories.tsx +0 -58
  269. package/archive/SocialBlock/index.tsx +0 -63
  270. package/archive/SocialButton/style.module.css +0 -77
  271. package/archive/StarRating/StarRating.stories.tsx +0 -23
  272. package/archive/StarRating/index.tsx +0 -71
  273. package/archive/Testimonial/Testimonial.stories.tsx +0 -110
  274. package/archive/Testimonial/index.tsx +0 -61
  275. package/archive/Testimonial/style.module.css +0 -27
  276. package/archive/TextAndTitle/TextAndTitle.stories.tsx +0 -70
  277. package/archive/TextAndTitle/index.tsx +0 -123
  278. package/archive/TextAndTitle/style.module.css +0 -75
  279. package/archive/TextArea/TextArea.stories.tsx +0 -55
  280. package/archive/TextArea/index.tsx +0 -125
  281. package/archive/TextArea/style.module.css +0 -60
  282. package/archive/Timeline/Timeline.stories.tsx +0 -92
  283. package/archive/Timeline/index.tsx +0 -254
  284. package/archive/Timeline/style.module.css +0 -134
  285. package/archive/TimelineV2/TimelineV2.stories.tsx +0 -95
  286. package/archive/TimelineV2/index.tsx +0 -70
  287. package/archive/TimelineV2/style.module.css +0 -28
  288. package/archive/Tubestops/Tubestops.stories.tsx +0 -42
  289. package/archive/Tubestops/index.tsx +0 -58
  290. package/archive/Tubestops/style.module.css +0 -54
  291. package/archive/UserIcon/UserIcon.stories.tsx +0 -52
  292. package/archive/UserIcon/index.tsx +0 -46
  293. package/archive/UserIcon/style.module.css +0 -19
  294. package/archive/Video/Video.stories.tsx +0 -23
  295. package/archive/Video/index.tsx +0 -47
  296. package/archive/theme.ts +0 -39
  297. package/archive/typography/Fonts/Fonts.stories.tsx +0 -14
  298. package/archive/typography/Fonts/Fonts.tsx +0 -181
  299. package/lib/components/Accordion/Accordion.stories.d.ts +0 -94
  300. package/lib/components/Accordion/index.d.ts +0 -8
  301. package/lib/components/Accordion/index.js +0 -15
  302. package/lib/components/AlertBar/AlertBar.stories.d.ts +0 -162
  303. package/lib/components/AlertBar/index.d.ts +0 -12
  304. package/lib/components/AlertBar/index.js +0 -49
  305. package/lib/components/Avatar/Avatar.stories.d.ts +0 -44
  306. package/lib/components/Avatar/index.d.ts +0 -4
  307. package/lib/components/index.d.ts +0 -4
  308. package/lib/index.d.ts +0 -1
  309. package/lib/index.js +0 -6
  310. package/lib/styles/global.css +0 -75
  311. package/lib/styles/themes/local.css +0 -40
  312. package/lib/styles/themes/palette.css +0 -131
  313. package/lib/tailwind/boxShadow.ts +0 -9
  314. package/lib/tailwind/colors.ts +0 -410
  315. package/lib/tailwind/container.ts +0 -11
  316. package/lib/tailwind/preset.ts +0 -88
  317. package/lib/tailwind/spacing.ts +0 -14
  318. package/lib/utils/controls.d.ts +0 -36
  319. package/lib/utils/matchMedia.d.ts +0 -2
  320. package/lib/utils/screens.d.ts +0 -7
  321. package/src/styles/themes/palette.css +0 -131
  322. package/svg.d.ts +0 -4
  323. /package/{archive → src/components}/Calendar/style.css +0 -0
  324. /package/{archive → src/components}/Checkbox/Checkbox.mdx +0 -0
  325. /package/{archive → src}/fonts/Sora/OFL.txt +0 -0
  326. /package/{archive → src}/fonts/Sora/README.txt +0 -0
  327. /package/{archive → src}/fonts/Sora/Sora-VariableFont_wght.ttf +0 -0
  328. /package/{archive → src}/fonts/Sora/static/Sora-Bold.ttf +0 -0
  329. /package/{archive → src}/fonts/Sora/static/Sora-ExtraBold.ttf +0 -0
  330. /package/{archive → src}/fonts/Sora/static/Sora-ExtraLight.ttf +0 -0
  331. /package/{archive → src}/fonts/Sora/static/Sora-Light.ttf +0 -0
  332. /package/{archive → src}/fonts/Sora/static/Sora-Medium.ttf +0 -0
  333. /package/{archive → src}/fonts/Sora/static/Sora-Regular.ttf +0 -0
  334. /package/{archive → src}/fonts/Sora/static/Sora-SemiBold.ttf +0 -0
  335. /package/{archive → src}/fonts/Sora/static/Sora-Thin.ttf +0 -0
@@ -1,162 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
-
3
- declare const meta: {
4
- title: string;
5
- component: ({ id, className, type, text, textCenter, isDismissable, onDismissClick, }: import('.').Props) => JSX.Element;
6
- argTypes: {
7
- type: {
8
- type: {
9
- name: string;
10
- required: boolean;
11
- };
12
- options: string[];
13
- description: string;
14
- table: {
15
- type: {
16
- summary: string;
17
- };
18
- defaultValue: {
19
- summary: string;
20
- };
21
- };
22
- defaultValue: string;
23
- control: {
24
- type: string;
25
- };
26
- };
27
- text: {
28
- type: {
29
- name: string;
30
- required: boolean;
31
- };
32
- description: string;
33
- table: {
34
- type: {
35
- summary: string;
36
- };
37
- defaultValue: {
38
- summary: string;
39
- };
40
- };
41
- };
42
- leftIconProps: {
43
- description: string;
44
- table: {
45
- category: string;
46
- type: {
47
- summary: string;
48
- };
49
- defaultValue: {
50
- summary: string;
51
- };
52
- };
53
- };
54
- rightIconProps: {
55
- description: string;
56
- table: {
57
- category: string;
58
- type: {
59
- summary: string;
60
- };
61
- defaultValue: {
62
- summary: string;
63
- };
64
- };
65
- };
66
- textCenter: {
67
- type: {
68
- name: string;
69
- required: boolean;
70
- };
71
- description: string;
72
- table: {
73
- type: {
74
- summary: string;
75
- };
76
- defaultValue: {
77
- summary: string;
78
- };
79
- };
80
- defaultValue: string;
81
- };
82
- isDismissable: {
83
- type: {
84
- name: string;
85
- required: boolean;
86
- };
87
- description: string;
88
- table: {
89
- type: {
90
- summary: string;
91
- };
92
- defaultValue: {
93
- summary: string;
94
- };
95
- };
96
- defaultValue: string;
97
- };
98
- onDismissClick: {
99
- type: {
100
- name: string;
101
- required: boolean;
102
- };
103
- description: string;
104
- action: string;
105
- table: {
106
- type: {
107
- summary: string;
108
- };
109
- defaultValue: {
110
- summary: string;
111
- };
112
- };
113
- };
114
- id: {
115
- description: string;
116
- control: {
117
- type: string;
118
- default: boolean;
119
- };
120
- table: {
121
- category: string;
122
- type: {
123
- summary: string;
124
- };
125
- defaultValue: {
126
- summary: string;
127
- };
128
- };
129
- };
130
- className: {
131
- description: string;
132
- control: {
133
- type: string;
134
- default: boolean;
135
- };
136
- table: {
137
- category: string;
138
- type: {
139
- summary: string;
140
- };
141
- defaultValue: {
142
- summary: string;
143
- };
144
- };
145
- };
146
- };
147
- args: {
148
- text: string;
149
- leftIconProps: {
150
- type: string;
151
- colour: string;
152
- hollow: boolean;
153
- };
154
- rightIconProps: {
155
- type: string;
156
- colour: string;
157
- };
158
- };
159
- };
160
- export default meta;
161
- type Story = StoryObj<typeof meta>;
162
- export declare const Default: Story;
@@ -1,12 +0,0 @@
1
- import { MouseEventHandler } from 'react';
2
-
3
- export interface Props {
4
- id?: string;
5
- className?: string;
6
- type?: 'success' | 'warning' | 'error' | 'info';
7
- text?: string;
8
- textCenter?: boolean;
9
- isDismissable?: boolean;
10
- onDismissClick?: MouseEventHandler;
11
- }
12
- export declare const AlertBar: ({ id, className, type, text, textCenter, isDismissable, onDismissClick, }: Props) => JSX.Element;
@@ -1,49 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { useState as m } from "react";
3
- import t from "classnames";
4
- const x = ({
5
- id: a,
6
- className: o,
7
- type: s = "warning",
8
- text: i,
9
- // leftIconProps,
10
- // rightIconProps,
11
- textCenter: n = !1,
12
- isDismissable: c = !1,
13
- onDismissClick: d
14
- }) => {
15
- const [r, f] = m({
16
- state: "open",
17
- display: !0
18
- }), l = t({
19
- "bg-success": s === "success",
20
- "bg-warning": s === "warning",
21
- "bg-error": s === "error",
22
- "bg-info-light": s === "info"
23
- }), p = t({
24
- "opacity-100": r.state === "open",
25
- "opacity-0": r.state === "closed",
26
- hidden: !r.display
27
- }), u = t(
28
- o,
29
- l,
30
- p,
31
- "flex py-2 text-white duration-700 w-parent transition-opactiy"
32
- ), g = t(
33
- {
34
- "text-center": n
35
- // 'pl-20': !textCenter && leftIconProps !== null,
36
- // 'pl-4': !textCenter && leftIconProps === null,
37
- },
38
- "w-full py-3"
39
- );
40
- return t(
41
- {
42
- "hover:cursor-pointer": c
43
- },
44
- "absolute right-0 pr-8 pt-3"
45
- ), /* @__PURE__ */ e("div", { id: a, className: u, children: /* @__PURE__ */ e("h3", { className: g, children: i }) });
46
- };
47
- export {
48
- x as AlertBar
49
- };
@@ -1,44 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
-
3
- declare const meta: {
4
- title: string;
5
- component: import('react').FC<{}>;
6
- argTypes: {
7
- id: {
8
- description: string;
9
- control: {
10
- type: string;
11
- default: boolean;
12
- };
13
- table: {
14
- category: string;
15
- type: {
16
- summary: string;
17
- };
18
- defaultValue: {
19
- summary: string;
20
- };
21
- };
22
- };
23
- className: {
24
- description: string;
25
- control: {
26
- type: string;
27
- default: boolean;
28
- };
29
- table: {
30
- category: string;
31
- type: {
32
- summary: string;
33
- };
34
- defaultValue: {
35
- summary: string;
36
- };
37
- };
38
- };
39
- };
40
- args: {};
41
- };
42
- export default meta;
43
- type Story = StoryObj<typeof meta>;
44
- export declare const Default: Story;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- declare const Avatar: React.FC;
4
- export default Avatar;
@@ -1,4 +0,0 @@
1
- import { AlertBar } from './AlertBar';
2
- import { Accordion } from './Accordion';
3
-
4
- export { Accordion, AlertBar, };
package/lib/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components';
package/lib/index.js DELETED
@@ -1,6 +0,0 @@
1
- import { Accordion as e } from "./components/Accordion/index.js";
2
- import { AlertBar as c } from "./components/AlertBar/index.js";
3
- export {
4
- e as Accordion,
5
- c as AlertBar
6
- };
@@ -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
- }
@@ -1,40 +0,0 @@
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
- }
@@ -1,131 +0,0 @@
1
- * {
2
- /* Palette */
3
- --hsl-black: 0 0% 0%;
4
- --hsl-white: 0 0% 100%;
5
-
6
- /* Blue */
7
- --hsl-blue-100: 240 100% 15%;
8
- --hsl-blue-90: 240 91% 26%;
9
- --hsl-blue-80: 239 82.1% 44%;
10
- --hsl-blue-70: 235 89.8% 57.8%;
11
- --hsl-blue-60: 233 92.4% 63.7%;
12
- --hsl-blue-50: 230 94.7% 70.4%;
13
- --hsl-blue-40: 227 96.4% 78.4%;
14
- --hsl-blue-30: 224 97% 87.1%;
15
- --hsl-blue-20: 222 100% 91.6%;
16
- --hsl-blue-10: 222 100% 96.1%;
17
-
18
- /* Cyan */
19
- --hsl-cyan-100: 198.1 96.4% 10.8%;
20
- --hsl-cyan-90: 198 100% 18.6%;
21
- --hsl-cyan-80: 198.3 93.8% 31.6%;
22
- --hsl-cyan-70: 197.9 85.1% 39.4%;
23
- --hsl-cyan-60: 198 73.5% 48.8%;
24
- --hsl-cyan-50: 197.9 91.1% 60.4%;
25
- --hsl-cyan-40: 198 91.1% 69.2%;
26
- --hsl-cyan-30: 198.2 92.7% 78.4%;
27
- --hsl-cyan-20: 198.3 93.7% 87.6%;
28
- --hsl-cyan-10: 200 100% 97.1%;
29
-
30
- /* Fuchsia */
31
- --hsl-fuchsia-100: 296.9 54.9% 13.9%;
32
- --hsl-fuchsia-90: 297.4 60% 22.5%;
33
- --hsl-fuchsia-80: 298.2 66.7% 38.8%;
34
- --hsl-fuchsia-70: 297.8 67.6% 47.3%;
35
- --hsl-fuchsia-60: 297.8 85.7% 56.3%;
36
- --hsl-fuchsia-50: 297.8 94.3% 65.5%;
37
- --hsl-fuchsia-40: 300 100% 75.1%;
38
- --hsl-fuchsia-30: 300 100% 86.1%;
39
- --hsl-fuchsia-20: 300 100% 91.6%;
40
- --hsl-fuchsia-10: 296 100% 97.1%;
41
-
42
- /* Green */
43
- --hsl-green-100: 140.6 94.6% 7.3%;
44
- --hsl-green-90: 135.6 73% 14.5%;
45
- --hsl-green-80: 136.4 67.7% 25.5%;
46
- --hsl-green-70: 139.6 68.5% 32.4%;
47
- --hsl-green-60: 140.2 54.7% 45.9%;
48
- --hsl-green-50: 139.8 55.4% 65.7%;
49
- --hsl-green-40: 140.3 64.4% 80.2%;
50
- --hsl-green-30: 135.6 73.5% 86.7%;
51
- --hsl-green-20: 136 75% 92.2%;
52
- --hsl-green-10: 138 100% 98%;
53
-
54
- /* Neutral */
55
- --hsl-neutral-99: 216.7 64.3% 5.5%;
56
- --hsl-neutral-95: 220.9 39.3% 11%;
57
- --hsl-neutral-90: 223.6 27.5% 15.7%;
58
- --hsl-neutral-85: 222 19.6% 20%;
59
- --hsl-neutral-80: 222.4 11.6% 28.8%;
60
- --hsl-neutral-70: 221.3 8.3% 37.6%;
61
- --hsl-neutral-60: 221.5 5.5% 46.5%;
62
- --hsl-neutral-50: 223.6 4.8% 55.5%;
63
- --hsl-neutral-40: 220 5% 64.5%;
64
- --hsl-neutral-30: 220 5.3% 77.6%;
65
- --hsl-neutral-25: 216 5.5% 82.2%;
66
- --hsl-neutral-20: 225 5.9% 86.7%;
67
- --hsl-neutral-15: 210 4.3% 91%;
68
- --hsl-neutral-10: 180 4.3% 95.5%;
69
- --hsl-neutral-5: 210 20% 98%;
70
- --hsl-neutral-1: 0 0% 99.6%;
71
-
72
- /* Orange */
73
- --hsl-orange-100: 23.6 57.9% 11.2%;
74
- --hsl-orange-90: 24.7 64.2% 20.8%;
75
- --hsl-orange-80: 25.1 68.6% 30%;
76
- --hsl-orange-70: 24.8 72.5% 48.4%;
77
- --hsl-orange-60: 24.8 88.5% 55.5%;
78
- --hsl-orange-50: 26 100% 66.5%;
79
- --hsl-orange-40: 28.3 100% 75.9%;
80
- --hsl-orange-30: 28.1 100% 87.5%;
81
- --hsl-orange-20: 27.4 100% 93.1%;
82
- --hsl-orange-10: 30 100% 98.4%;
83
-
84
- /* Purple */
85
- --hsl-purple-100: 265.5 60.6% 12.9%;
86
- --hsl-purple-90: 266.1 85.7% 24.7%;
87
- --hsl-purple-80: 266 83.6% 40.6%;
88
- --hsl-purple-70: 265.9 78% 50%;
89
- --hsl-purple-60: 266 85.2% 60.2%;
90
- --hsl-purple-50: 265.7 97.2% 72.2%;
91
- --hsl-purple-40: 266.1 96.4% 78%;
92
- --hsl-purple-30: 266.2 97.5% 84.3%;
93
- --hsl-purple-20: 266.1 95.8% 90.6%;
94
- --hsl-purple-10: 264 100% 97.1%;
95
-
96
- /* Red */
97
- --hsl-red-100: 356.6 63.6% 10.8%;
98
- --hsl-red-90: 356.3 69.9% 18.2%;
99
- --hsl-red-80: 356.9 74% 25.7%;
100
- --hsl-red-70: 356.8 77.4% 32.9%;
101
- --hsl-red-60: 356.9 75.9% 45.5%;
102
- --hsl-red-50: 356.5 87.9% 57.8%;
103
- --hsl-red-40: 356.8 89.2% 71%;
104
- --hsl-red-30: 357.5 89.9% 84.5%;
105
- --hsl-red-20: 357 90.9% 91.4%;
106
- --hsl-red-10: 352.5 100% 98.4%;
107
-
108
- /* Teal */
109
- --hsl-teal-100: 177.1 44.7% 9.2%;
110
- --hsl-teal-90: 180 51.3% 15.3%;
111
- --hsl-teal-80: 179.1 61.9% 20.6%;
112
- --hsl-teal-70: 179.3 70.8% 25.5%;
113
- --hsl-teal-60: 178.9 100% 30.8%;
114
- --hsl-teal-50: 179 91.9% 38.6%;
115
- --hsl-teal-40: 178.9 64.8% 52.2%;
116
- --hsl-teal-30: 178.7 68.4% 73.9%;
117
- --hsl-teal-20: 178.8 69.9% 85.7%;
118
- --hsl-teal-10: 180 100% 98.4%;
119
-
120
- /* Yellow */
121
- --hsl-yellow-100: 47 85.2% 10.6%;
122
- --hsl-yellow-90: 46.9 90.7% 16.9%;
123
- --hsl-yellow-80: 46.9 94.8% 22.7%;
124
- --hsl-yellow-70: 47.1 94.5% 35.7%;
125
- --hsl-yellow-60: 46.9 89.1% 43.3%;
126
- --hsl-yellow-50: 46.8 88.4% 52.5%;
127
- --hsl-yellow-40: 46.9 97.7% 66.1%;
128
- --hsl-yellow-30: 46.7 100% 82.4%;
129
- --hsl-yellow-20: 46.5 100% 90.4%;
130
- --hsl-yellow-10: 45 100% 98.4%;
131
- }
@@ -1,9 +0,0 @@
1
- /* eslint-disable sort-keys */
2
-
3
- export default {
4
- sm: 'var(--shadow-sm)',
5
- DEFAULT: 'var(--shadow)',
6
- md: 'var(--shadow-md)',
7
- lg: 'var(--shadow-lg)',
8
- xl: 'var(--shadow-xl)',
9
- };