trepur_components 1.0.5 → 1.0.7

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 (249) hide show
  1. package/dist/src/lib/components/Accordion/Accordion.js +2 -3
  2. package/dist/src/lib/components/Accordion/Accordion.js.map +1 -1
  3. package/dist/src/lib/components/AlertBar/{index.d.ts → AlertBar.d.ts} +1 -1
  4. package/dist/src/lib/components/AlertBar/{index.js → AlertBar.js} +12 -12
  5. package/dist/src/lib/components/AlertBar/AlertBar.js.map +1 -0
  6. package/dist/src/lib/components/AlertBar/style.module.css +65 -0
  7. package/dist/src/lib/components/AlertBar/style.module.css.map +1 -0
  8. package/dist/src/lib/components/Breadcrumbs/{index.d.ts → Breadcrumbs.d.ts} +0 -0
  9. package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.js +21 -0
  10. package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.js.map +1 -0
  11. package/dist/src/lib/components/Breadcrumbs/style.module.css +53 -0
  12. package/dist/src/lib/components/Breadcrumbs/style.module.css.map +1 -0
  13. package/dist/src/lib/components/BreadcrumbsBordered/{index.d.ts → BreadcrumbsBordered.d.ts} +1 -1
  14. package/dist/src/lib/components/BreadcrumbsBordered/{index.js → BreadcrumbsBordered.js} +5 -4
  15. package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.js.map +1 -0
  16. package/dist/src/lib/components/BreadcrumbsBordered/style.module.css +17 -0
  17. package/dist/src/lib/components/BreadcrumbsBordered/style.module.css.map +1 -0
  18. package/dist/src/lib/components/BreadcrumbsItem/{index.d.ts → BreadcrumbsItem.d.ts} +0 -0
  19. package/dist/src/lib/components/BreadcrumbsItem/{index.js → BreadcrumbsItem.js} +11 -16
  20. package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.js.map +1 -0
  21. package/dist/src/lib/components/BreadcrumbsItem/style.module.css +48 -0
  22. package/dist/src/lib/components/BreadcrumbsItem/style.module.css.map +1 -0
  23. package/dist/src/lib/components/Button/{index.d.ts → Button.d.ts} +0 -0
  24. package/dist/src/lib/components/Button/{index.js → Button.js} +17 -16
  25. package/dist/src/lib/components/Button/Button.js.map +1 -0
  26. package/dist/src/lib/components/Button/style.module.css +127 -0
  27. package/dist/src/lib/components/Button/style.module.css.map +1 -0
  28. package/dist/src/lib/components/Card/{index.d.ts → Card.d.ts} +2 -2
  29. package/dist/src/lib/components/Card/{index.js → Card.js} +31 -31
  30. package/dist/src/lib/components/Card/Card.js.map +1 -0
  31. package/dist/src/lib/components/Card/style.module.css +184 -0
  32. package/dist/src/lib/components/Card/style.module.css.map +1 -0
  33. package/dist/src/lib/components/CardWithTopImage/{index.d.ts → CardWithTopImage.d.ts} +1 -1
  34. package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.js +13 -0
  35. package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.js.map +1 -0
  36. package/dist/src/lib/components/CardWithTopImage/style.module.css +36 -0
  37. package/dist/src/lib/components/CardWithTopImage/style.module.css.map +1 -0
  38. package/dist/src/lib/components/Carousel/{index.d.ts → Carousel.d.ts} +1 -0
  39. package/dist/src/lib/components/Carousel/{index.js → Carousel.js} +12 -11
  40. package/dist/src/lib/components/Carousel/Carousel.js.map +1 -0
  41. package/dist/src/lib/components/Carousel/style.module.css +59 -0
  42. package/dist/src/lib/components/Carousel/style.module.css.map +1 -0
  43. package/dist/src/lib/components/Collapsible/{index.d.ts → Collapsible.d.ts} +1 -1
  44. package/dist/src/lib/components/Collapsible/{index.js → Collapsible.js} +16 -15
  45. package/dist/src/lib/components/Collapsible/Collapsible.js.map +1 -0
  46. package/dist/src/lib/components/Collapsible/style.module.css +122 -0
  47. package/dist/src/lib/components/Collapsible/style.module.css.map +1 -0
  48. package/dist/src/lib/components/Column/{index.d.ts → Column.d.ts} +0 -0
  49. package/dist/src/lib/components/Column/Column.js +84 -0
  50. package/dist/src/lib/components/Column/Column.js.map +1 -0
  51. package/dist/src/lib/components/Column/style.module.css +244 -0
  52. package/dist/src/lib/components/Column/style.module.css.map +1 -0
  53. package/dist/src/lib/components/Container/{index.d.ts → Container.d.ts} +0 -0
  54. package/dist/src/lib/components/Container/{index.js → Container.js} +3 -2
  55. package/dist/src/lib/components/Container/Container.js.map +1 -0
  56. package/dist/src/lib/components/Container/style.module.css +5 -0
  57. package/dist/src/lib/components/Container/style.module.css.map +1 -0
  58. package/dist/src/lib/components/{FooterBar/index.d.ts → Footer/Footer.d.ts} +3 -3
  59. package/dist/src/lib/components/Footer/Footer.js +14 -0
  60. package/dist/src/lib/components/Footer/Footer.js.map +1 -0
  61. package/dist/src/lib/components/Footer/style.module.css +89 -0
  62. package/dist/src/lib/components/Footer/style.module.css.map +1 -0
  63. package/dist/src/lib/components/Form/{index.d.ts → Form.d.ts} +3 -4
  64. package/dist/src/lib/components/Form/{index.js → Form.js} +6 -5
  65. package/dist/src/lib/components/Form/Form.js.map +1 -0
  66. package/dist/src/lib/components/Form/style.module.css +4 -0
  67. package/dist/src/lib/components/Form/style.module.css.map +1 -0
  68. package/dist/src/lib/components/FyreCard/{index.d.ts → FyreCard.d.ts} +1 -1
  69. package/dist/src/lib/components/FyreCard/{index.js → FyreCard.js} +8 -7
  70. package/dist/src/lib/components/FyreCard/FyreCard.js.map +1 -0
  71. package/dist/src/lib/components/FyreCard/style.module.css +37 -0
  72. package/dist/src/lib/components/FyreCard/style.module.css.map +1 -0
  73. package/dist/src/lib/components/Greeting/{index.d.ts → Greeting.d.ts} +0 -0
  74. package/dist/src/lib/components/Greeting/{index.js → Greeting.js} +2 -4
  75. package/dist/src/lib/components/Greeting/Greeting.js.map +1 -0
  76. package/dist/src/lib/components/HamburgerIcon/{index.d.ts → HamburgerIcon.d.ts} +0 -1
  77. package/dist/src/lib/components/HamburgerIcon/{index.js → HamburgerIcon.js} +13 -10
  78. package/dist/src/lib/components/HamburgerIcon/HamburgerIcon.js.map +1 -0
  79. package/dist/src/lib/components/HamburgerIcon/style.module.css +90 -0
  80. package/dist/src/lib/components/HamburgerIcon/style.module.css.map +1 -0
  81. package/dist/src/lib/components/Icon/{index.d.ts → Icon.d.ts} +0 -0
  82. package/dist/src/lib/components/Icon/Icon.js +37 -0
  83. package/dist/src/lib/components/Icon/Icon.js.map +1 -0
  84. package/dist/src/lib/components/Icon/style.module.css +219 -0
  85. package/dist/src/lib/components/Icon/style.module.css.map +1 -0
  86. package/dist/src/lib/components/Image/{index.d.ts → Image.d.ts} +0 -0
  87. package/dist/src/lib/components/Image/{index.js → Image.js} +10 -10
  88. package/dist/src/lib/components/Image/Image.js.map +1 -0
  89. package/dist/src/lib/components/Image/style.module.css +70 -0
  90. package/dist/src/lib/components/Image/style.module.css.map +1 -0
  91. package/dist/src/lib/components/ImageLink/{index.d.ts → ImageLink.d.ts} +1 -1
  92. package/dist/src/lib/components/ImageLink/ImageLink.js +19 -0
  93. package/dist/src/lib/components/ImageLink/ImageLink.js.map +1 -0
  94. package/dist/src/lib/components/ImageLink/style.module.css +111 -0
  95. package/dist/src/lib/components/ImageLink/style.module.css.map +1 -0
  96. package/dist/src/lib/components/ImageLinkList/{index.d.ts → ImageLinkList.d.ts} +1 -1
  97. package/dist/src/lib/components/ImageLinkList/{index.js → ImageLinkList.js} +5 -4
  98. package/dist/src/lib/components/ImageLinkList/ImageLinkList.js.map +1 -0
  99. package/dist/src/lib/components/ImageLinkList/style.module.css +14 -0
  100. package/dist/src/lib/components/ImageLinkList/style.module.css.map +1 -0
  101. package/dist/src/lib/components/InformationIcon/{index.d.ts → InformationIcon.d.ts} +1 -1
  102. package/dist/src/lib/components/InformationIcon/{index.js → InformationIcon.js} +7 -7
  103. package/dist/src/lib/components/InformationIcon/InformationIcon.js.map +1 -0
  104. package/dist/src/lib/components/InformationIcon/style.module.css +90 -0
  105. package/dist/src/lib/components/InformationIcon/style.module.css.map +1 -0
  106. package/dist/src/lib/components/Input/{index.d.ts → Input.d.ts} +0 -0
  107. package/dist/src/lib/components/Input/{index.js → Input.js} +9 -8
  108. package/dist/src/lib/components/Input/Input.js.map +1 -0
  109. package/dist/src/lib/components/Input/style.module.css +88 -0
  110. package/dist/src/lib/components/Input/style.module.css.map +1 -0
  111. package/dist/src/lib/components/Jumbotron/{index.d.ts → Jumbotron.d.ts} +0 -0
  112. package/dist/src/lib/components/Jumbotron/{index.js → Jumbotron.js} +3 -2
  113. package/dist/src/lib/components/Jumbotron/Jumbotron.js.map +1 -0
  114. package/dist/src/lib/components/Jumbotron/style.module.css +5 -0
  115. package/dist/src/lib/components/Jumbotron/style.module.css.map +1 -0
  116. package/dist/src/lib/components/Nav/{index.d.ts → Nav.d.ts} +1 -1
  117. package/dist/src/lib/components/Nav/Nav.js +62 -0
  118. package/dist/src/lib/components/Nav/Nav.js.map +1 -0
  119. package/dist/src/lib/components/Nav/style.module.css +299 -0
  120. package/dist/src/lib/components/Nav/style.module.css.map +1 -0
  121. package/dist/src/lib/components/NavItem/{index.d.ts → NavItem.d.ts} +0 -0
  122. package/dist/src/lib/components/NavItem/NavItem.js +22 -0
  123. package/dist/src/lib/components/NavItem/NavItem.js.map +1 -0
  124. package/dist/src/lib/components/NavItem/style.module.css +133 -0
  125. package/dist/src/lib/components/NavItem/style.module.css.map +1 -0
  126. package/dist/src/lib/components/NewsCard/{index.d.ts → NewsCard.d.ts} +2 -2
  127. package/dist/src/lib/components/NewsCard/{index.js → NewsCard.js} +9 -8
  128. package/dist/src/lib/components/NewsCard/NewsCard.js.map +1 -0
  129. package/dist/src/lib/components/NewsCard/style.module.css +34 -0
  130. package/dist/src/lib/components/NewsCard/style.module.css.map +1 -0
  131. package/dist/src/lib/components/Profile/{index.d.ts → Profile.d.ts} +1 -1
  132. package/dist/src/lib/components/Profile/Profile.js +36 -0
  133. package/dist/src/lib/components/Profile/Profile.js.map +1 -0
  134. package/dist/src/lib/components/Profile/style.module.css +110 -0
  135. package/dist/src/lib/components/Profile/style.module.css.map +1 -0
  136. package/dist/src/lib/components/Row/{index.d.ts → Row.d.ts} +0 -0
  137. package/dist/src/lib/components/Row/{index.js → Row.js} +3 -2
  138. package/dist/src/lib/components/Row/Row.js.map +1 -0
  139. package/dist/src/lib/components/Row/style.module.css +5 -0
  140. package/dist/src/lib/components/Row/style.module.css.map +1 -0
  141. package/dist/src/lib/components/Search/{index.d.ts → Search.d.ts} +1 -1
  142. package/dist/src/lib/components/Search/{index.js → Search.js} +11 -10
  143. package/dist/src/lib/components/Search/Search.js.map +1 -0
  144. package/dist/src/lib/components/Search/style.module.css +48 -0
  145. package/dist/src/lib/components/Search/style.module.css.map +1 -0
  146. package/dist/src/lib/components/SocialBlock/{index.d.ts → SocialBlock.d.ts} +1 -1
  147. package/dist/src/lib/components/SocialBlock/{index.js → SocialBlock.js} +14 -15
  148. package/dist/src/lib/components/SocialBlock/SocialBlock.js.map +1 -0
  149. package/dist/src/lib/components/SocialBlock/style.module.css +88 -0
  150. package/dist/src/lib/components/SocialBlock/style.module.css.map +1 -0
  151. package/dist/src/lib/components/StarRating/{index.d.ts → StarRating.d.ts} +0 -0
  152. package/dist/src/lib/components/StarRating/{index.js → StarRating.js} +6 -5
  153. package/dist/src/lib/components/StarRating/StarRating.js.map +1 -0
  154. package/dist/src/lib/components/StarRating/style.module.css +10 -0
  155. package/dist/src/lib/components/StarRating/style.module.css.map +1 -0
  156. package/dist/src/lib/components/Testimonial/{index.d.ts → Testimonial.d.ts} +1 -1
  157. package/dist/src/lib/components/Testimonial/{index.js → Testimonial.js} +7 -6
  158. package/dist/src/lib/components/Testimonial/Testimonial.js.map +1 -0
  159. package/dist/src/lib/components/Testimonial/style.module.css +38 -0
  160. package/dist/src/lib/components/Testimonial/style.module.css.map +1 -0
  161. package/dist/src/lib/components/TextAndTitle/{index.d.ts → TextAndTitle.d.ts} +1 -1
  162. package/dist/src/lib/components/TextAndTitle/{index.js → TextAndTitle.js} +20 -19
  163. package/dist/src/lib/components/TextAndTitle/TextAndTitle.js.map +1 -0
  164. package/dist/src/lib/components/TextAndTitle/style.module.css +106 -0
  165. package/dist/src/lib/components/TextAndTitle/style.module.css.map +1 -0
  166. package/dist/src/lib/components/TextArea/{index.d.ts → TextArea.d.ts} +0 -0
  167. package/dist/src/lib/components/TextArea/{index.js → TextArea.js} +8 -7
  168. package/dist/src/lib/components/TextArea/TextArea.js.map +1 -0
  169. package/dist/src/lib/components/TextArea/style.module.css +73 -0
  170. package/dist/src/lib/components/TextArea/style.module.css.map +1 -0
  171. package/dist/src/lib/components/Timeline/{index.d.ts → Timeline.d.ts} +0 -0
  172. package/dist/src/lib/components/Timeline/Timeline.js +127 -0
  173. package/dist/src/lib/components/Timeline/Timeline.js.map +1 -0
  174. package/dist/src/lib/components/Timeline/style.module.css +249 -0
  175. package/dist/src/lib/components/Timeline/style.module.css.map +1 -0
  176. package/dist/src/lib/components/Tubestops/{index.d.ts → Tubestops.d.ts} +0 -1
  177. package/dist/src/lib/components/Tubestops/Tubestops.js +38 -0
  178. package/dist/src/lib/components/Tubestops/Tubestops.js.map +1 -0
  179. package/dist/src/lib/components/Tubestops/style.module.css +952 -0
  180. package/dist/src/lib/components/Tubestops/style.module.css.map +1 -0
  181. package/dist/src/lib/components/UserIcon/{index.d.ts → UserIcon.d.ts} +1 -1
  182. package/dist/src/lib/components/UserIcon/{index.js → UserIcon.js} +8 -7
  183. package/dist/src/lib/components/UserIcon/UserIcon.js.map +1 -0
  184. package/dist/src/lib/components/UserIcon/style.module.css +42 -0
  185. package/dist/src/lib/components/UserIcon/style.module.css.map +1 -0
  186. package/dist/src/lib/components/Video/{index.d.ts → Video.d.ts} +0 -0
  187. package/dist/src/lib/components/Video/{index.js → Video.js} +1 -1
  188. package/dist/src/lib/components/Video/{index.js.map → Video.js.map} +1 -1
  189. package/dist/src/lib/index.d.ts +38 -38
  190. package/dist/src/lib/index.js +39 -41
  191. package/dist/src/lib/index.js.map +1 -1
  192. package/package.json +2 -6
  193. package/dist/src/lib/components/Accordion/style.module.css +0 -4
  194. package/dist/src/lib/components/Accordion/style.module.css.map +0 -1
  195. package/dist/src/lib/components/AlertBar/index.js.map +0 -1
  196. package/dist/src/lib/components/Breadcrumbs/index.js +0 -20
  197. package/dist/src/lib/components/Breadcrumbs/index.js.map +0 -1
  198. package/dist/src/lib/components/BreadcrumbsBordered/index.js.map +0 -1
  199. package/dist/src/lib/components/BreadcrumbsItem/index.js.map +0 -1
  200. package/dist/src/lib/components/Button/index.js.map +0 -1
  201. package/dist/src/lib/components/Card/index.js.map +0 -1
  202. package/dist/src/lib/components/CardWithTopImage/index.js +0 -15
  203. package/dist/src/lib/components/CardWithTopImage/index.js.map +0 -1
  204. package/dist/src/lib/components/Carousel/index.js.map +0 -1
  205. package/dist/src/lib/components/ChevronCard/index.d.ts +0 -7
  206. package/dist/src/lib/components/ChevronCard/index.js +0 -20
  207. package/dist/src/lib/components/ChevronCard/index.js.map +0 -1
  208. package/dist/src/lib/components/Collapsible/index.js.map +0 -1
  209. package/dist/src/lib/components/Column/index.js +0 -83
  210. package/dist/src/lib/components/Column/index.js.map +0 -1
  211. package/dist/src/lib/components/Container/index.js.map +0 -1
  212. package/dist/src/lib/components/FooterBar/index.js +0 -15
  213. package/dist/src/lib/components/FooterBar/index.js.map +0 -1
  214. package/dist/src/lib/components/Form/index.js.map +0 -1
  215. package/dist/src/lib/components/FyreCard/index.js.map +0 -1
  216. package/dist/src/lib/components/Greeting/index.js.map +0 -1
  217. package/dist/src/lib/components/HamburgerIcon/index.js.map +0 -1
  218. package/dist/src/lib/components/Icon/index.js +0 -56
  219. package/dist/src/lib/components/Icon/index.js.map +0 -1
  220. package/dist/src/lib/components/Image/index.js.map +0 -1
  221. package/dist/src/lib/components/ImageLink/index.js +0 -18
  222. package/dist/src/lib/components/ImageLink/index.js.map +0 -1
  223. package/dist/src/lib/components/ImageLinkList/index.js.map +0 -1
  224. package/dist/src/lib/components/InformationIcon/index.js.map +0 -1
  225. package/dist/src/lib/components/Input/index.js.map +0 -1
  226. package/dist/src/lib/components/Jumbotron/index.js.map +0 -1
  227. package/dist/src/lib/components/Nav/index.js +0 -65
  228. package/dist/src/lib/components/Nav/index.js.map +0 -1
  229. package/dist/src/lib/components/NavItem/index.js +0 -24
  230. package/dist/src/lib/components/NavItem/index.js.map +0 -1
  231. package/dist/src/lib/components/NewsCard/index.js.map +0 -1
  232. package/dist/src/lib/components/Profile/index.js +0 -36
  233. package/dist/src/lib/components/Profile/index.js.map +0 -1
  234. package/dist/src/lib/components/Row/index.js.map +0 -1
  235. package/dist/src/lib/components/Search/index.js.map +0 -1
  236. package/dist/src/lib/components/SocialBlock/index.js.map +0 -1
  237. package/dist/src/lib/components/StarRating/index.js.map +0 -1
  238. package/dist/src/lib/components/Testimonial/index.js.map +0 -1
  239. package/dist/src/lib/components/TextAndTitle/index.js.map +0 -1
  240. package/dist/src/lib/components/TextArea/index.js.map +0 -1
  241. package/dist/src/lib/components/Timeline/index.css +0 -135
  242. package/dist/src/lib/components/Timeline/index.css.map +0 -1
  243. package/dist/src/lib/components/Timeline/index.js +0 -208
  244. package/dist/src/lib/components/Timeline/index.js.map +0 -1
  245. package/dist/src/lib/components/Tubestops/index.css +0 -97
  246. package/dist/src/lib/components/Tubestops/index.css.map +0 -1
  247. package/dist/src/lib/components/Tubestops/index.js +0 -44
  248. package/dist/src/lib/components/Tubestops/index.js.map +0 -1
  249. package/dist/src/lib/components/UserIcon/index.js.map +0 -1
@@ -0,0 +1,110 @@
1
+ .classList {
2
+
3
+ object-fit: cover;
4
+
5
+ text-align: center
6
+ }
7
+
8
+ .floatRight {
9
+
10
+ float: right
11
+ }
12
+
13
+ .floatLeft {
14
+
15
+ float: left
16
+ }
17
+
18
+ .dropdownRight {
19
+
20
+ margin-top: 4rem;
21
+
22
+ margin-right: -4rem
23
+ }
24
+
25
+ .dropdownLeft {
26
+
27
+ margin-top: 4rem;
28
+
29
+ margin-left: -4rem
30
+ }
31
+
32
+ .center {
33
+
34
+ text-align: center
35
+ }
36
+
37
+ .rouned {
38
+
39
+ border-radius: 9999px
40
+ }
41
+
42
+ .bordered {
43
+
44
+ border-width: 1px
45
+ }
46
+
47
+ .buttonClassList {
48
+
49
+ display: flex;
50
+
51
+ border-radius: 9999px
52
+ }
53
+
54
+ .linksWrapper {
55
+
56
+ z-index: 10;
57
+
58
+ width: 12rem;
59
+
60
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
61
+
62
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
63
+
64
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
65
+ }
66
+
67
+ @media (min-width: 640px) {
68
+
69
+ .linksWrapper {
70
+
71
+ display: inline-block
72
+ }
73
+ }
74
+
75
+ .linkClassList {
76
+
77
+ display: block;
78
+
79
+ border-bottom-width: 1px;
80
+
81
+ padding-left: 1rem;
82
+
83
+ padding-right: 1rem;
84
+
85
+ padding-top: 0.5rem;
86
+
87
+ padding-bottom: 0.5rem;
88
+
89
+ font-size: 24px;
90
+
91
+ font-weight: 700
92
+ }
93
+
94
+ .buttonWrapper {
95
+
96
+ top: 0px;
97
+
98
+ bottom: 0px;
99
+
100
+ display: none
101
+ }
102
+
103
+ @media (min-width: 640px) {
104
+
105
+ .buttonWrapper {
106
+
107
+ display: inline-flex
108
+ }
109
+ }
110
+ /*# sourceMappingURL=style.module.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lib/components/Profile/style.module.css"],"names":[],"mappings":"AACI;;IAAA,iBAA+B;;IAA/B;AAA+B;;AAI/B;;IAAA;AAAkB;;AAIlB;;IAAA;AAAiB;;AAIjB;;IAAA,gBAAmB;;IAAnB;AAAmB;;AAInB;;IAAA,gBAAmB;;IAAnB;AAAmB;;AAInB;;IAAA;AAAkB;;AAIlB;;IAAA;AAAmB;;AAInB;;IAAA;AAAa;;AAIb;;IAAA,aAAwB;;IAAxB;AAAwB;;AAIxB;;IAAA,WAA0C;;IAA1C,YAA0C;;IAA1C,+EAA0C;;IAA1C,mGAA0C;;IAA1C;AAA0C;;AAA1C;;IAAA;;QAAA;IAA0C;AAAA;;AAI1C;;IAAA,cAAiD;;IAAjD,wBAAiD;;IAAjD,kBAAiD;;IAAjD,mBAAiD;;IAAjD,mBAAiD;;IAAjD,sBAAiD;;IAAjD,eAAiD;;IAAjD;AAAiD;;AAIjD;;IAAA,QAAuC;;IAAvC,WAAuC;;IAAvC;AAAuC;;AAAvC;;IAAA;;QAAA;IAAuC;AAAA","file":"style.module.css","sourcesContent":[".classList {\n @apply object-cover text-center;\n}\n\n.floatRight {\n @apply float-right;\n}\n\n.floatLeft {\n @apply float-left;\n}\n\n.dropdownRight {\n @apply mt-16 -mr-16;\n}\n\n.dropdownLeft {\n @apply mt-16 -ml-16;\n}\n\n.center {\n @apply text-center;\n}\n\n.rouned {\n @apply rounded-full;\n}\n\n.bordered {\n @apply border;\n}\n\n.buttonClassList {\n @apply flex rounded-full;\n}\n\n.linksWrapper {\n @apply w-48 sm:inline-block shadow-lg z-10;\n}\n\n.linkClassList {\n @apply border-b font-bold block px-4 py-2 text-sm;\n}\n\n.buttonWrapper {\n @apply hidden sm:inline-flex inset-y-0;\n}"]}
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import classNames from 'classnames';
3
+ import style from './style.module.css';
3
4
  const Row = ({ id, className, children }) => {
4
- const classList = classNames(className, 'flex flex-wrap');
5
+ const classList = classNames(className, style.classList);
5
6
  return (React.createElement("div", { id: id, className: classList }, children));
6
7
  };
7
8
  export default Row;
8
- //# sourceMappingURL=index.js.map
9
+ //# sourceMappingURL=Row.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Row.js","sourceRoot":"","sources":["../../../../../src/lib/components/Row/Row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,oBAAoB,CAAA;AAQtC,MAAM,GAAG,GAAG,CAAC,EACX,EAAE,EACF,SAAS,EACT,QAAQ,EACF,EAAe,EAAE;IACvB,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;IAExD,OAAO,CACL,6BAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,IAC9B,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -0,0 +1,5 @@
1
+ .classList {
2
+ display: flex;
3
+ flex-wrap: wrap
4
+ }
5
+ /*# sourceMappingURL=style.module.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lib/components/Row/style.module.css"],"names":[],"mappings":"AACI;IAAA,aAAqB;IAArB;AAAqB","file":"style.module.css","sourcesContent":[".classList {\n @apply flex flex-wrap;\n}"]}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Props as iconProps } from '../Icon';
2
+ import { Props as iconProps } from '../Icon/Icon';
3
3
  export interface Props {
4
4
  id?: string;
5
5
  className?: string;
@@ -1,23 +1,24 @@
1
1
  import React from 'react';
2
- import Icon from '../Icon';
2
+ import Icon from '../Icon/Icon';
3
3
  import classNames from 'classnames';
4
+ import style from './style.module.css';
4
5
  const Search = ({ id, className, onChange, placeholder, text, leftIconProps, rightIconProps }) => {
5
- const classList = classNames(className, 'flex');
6
+ const classList = classNames(className, style.classList);
6
7
  const inputClasses = classNames({
7
- 'pl-9': leftIconProps !== undefined,
8
- 'pl-2': leftIconProps === undefined
9
- }, 'w-full border-2 rounded-md py-2 pr-9');
8
+ [style.leftIcon]: leftIconProps !== undefined,
9
+ [style.noLeftIcon]: leftIconProps === undefined
10
+ }, style.inputClassList);
10
11
  const onChangeFunc = (onChange != null) ? (e) => onChange(e.target.value) : undefined;
11
12
  return (React.createElement("div", { id: id, className: classList },
12
13
  React.createElement("div", null, text !== undefined &&
13
- React.createElement("h2", { className: 'font-base-lg py-2 pr-4' }, text)),
14
+ React.createElement("h2", { className: classNames(style.text, 'font-base-lg') }, text)),
14
15
  React.createElement("div", null,
15
- React.createElement("div", { className: 'relative w-full flex' },
16
- (leftIconProps != null) &&
16
+ React.createElement("div", { className: style.inputWrapper },
17
+ (leftIconProps !== undefined) &&
17
18
  React.createElement(Icon, Object.assign({}, leftIconProps)),
18
19
  React.createElement("input", { className: inputClasses, onChange: onChangeFunc, placeholder: placeholder, type: 'text', name: 'search' }),
19
- (rightIconProps != null) &&
20
+ (rightIconProps !== undefined) &&
20
21
  React.createElement(Icon, Object.assign({}, rightIconProps))))));
21
22
  };
22
23
  export default Search;
23
- //# sourceMappingURL=index.js.map
24
+ //# sourceMappingURL=Search.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../../../src/lib/components/Search/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAA;AACjD,OAAO,IAA4B,MAAM,uBAAuB,CAAA;AAChE,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,oBAAoB,CAAA;AAYtC,MAAM,MAAM,GAAG,CAAC,EACd,EAAE,EACF,SAAS,EACT,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,aAAa,EACb,cAAc,EACR,EAAe,EAAE;IACvB,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;IAExD,MAAM,YAAY,GAAG,UAAU,CAAC;QAC9B,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,aAAa,KAAK,SAAS;QAC7C,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,aAAa,KAAK,SAAS;KAChD,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAExB,MAAM,YAAY,GAAqD,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAE5I,OAAO,CACL,6BAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS;QAC/B,iCACG,IAAI,KAAK,SAAS;YACjB,4BAAI,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,cAAc,CAAC,IAAG,IAAI,CAAM,CAChE;QACN;YACE,6BAAK,SAAS,EAAE,KAAK,CAAC,YAAY;gBAC/B,CAAC,aAAa,KAAK,SAAS,CAAC;oBAC5B,oBAAC,IAAI,oBAAK,aAAa,EAAI;gBAC7B,+BACE,SAAS,EAAE,YAAY,EACvB,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAE,WAAW,EACxB,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,QAAQ,GACb;gBACD,CAAC,cAAc,KAAK,SAAS,CAAC;oBAC7B,oBAAC,IAAI,oBAAK,cAAc,EAAI,CAC1B,CACF,CACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -0,0 +1,48 @@
1
+ .classList {
2
+
3
+ display: flex
4
+ }
5
+
6
+ .inputClassList {
7
+
8
+ width: 100%;
9
+
10
+ border-radius: 0.375rem;
11
+
12
+ border-width: 2px;
13
+
14
+ padding-top: 0.5rem;
15
+
16
+ padding-bottom: 0.5rem;
17
+
18
+ padding-right: 2.25rem
19
+ }
20
+
21
+ .leftIcon {
22
+
23
+ padding-left: 2.25rem
24
+ }
25
+
26
+ .noLeftIcon {
27
+
28
+ padding-left: 0.5rem
29
+ }
30
+
31
+ .text {
32
+
33
+ padding-top: 0.5rem;
34
+
35
+ padding-bottom: 0.5rem;
36
+
37
+ padding-right: 1rem
38
+ }
39
+
40
+ .inputWrapper {
41
+
42
+ position: relative;
43
+
44
+ display: flex;
45
+
46
+ width: 100%
47
+ }
48
+ /*# sourceMappingURL=style.module.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lib/components/Search/style.module.css"],"names":[],"mappings":"AACI;;IAAA;AAAW;;AAIX;;IAAA,WAA2C;;IAA3C,uBAA2C;;IAA3C,iBAA2C;;IAA3C,mBAA2C;;IAA3C,sBAA2C;;IAA3C;AAA2C;;AAI3C;;IAAA;AAAW;;AAIX;;IAAA;AAAW;;AAIX;;IAAA,mBAAgB;;IAAhB,sBAAgB;;IAAhB;AAAgB;;AAIhB;;IAAA,kBAA2B;;IAA3B,aAA2B;;IAA3B;AAA2B","file":"style.module.css","sourcesContent":[".classList {\n @apply flex;\n}\n\n.inputClassList {\n @apply w-full border-2 rounded-md py-2 pr-9;\n}\n\n.leftIcon {\n @apply pl-9;\n}\n\n.noLeftIcon {\n @apply pl-2;\n}\n\n.text {\n @apply py-2 pr-4;\n}\n\n.inputWrapper {\n @apply relative w-full flex;\n}"]}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Props as buttonProps } from '../Button';
2
+ import { Props as buttonProps } from '../Button/Button';
3
3
  export interface Props {
4
4
  id?: string;
5
5
  className?: string;
@@ -1,9 +1,10 @@
1
1
  import React, { useState } from 'react';
2
- import Input from '../Input';
3
- import Button from '../Button';
2
+ import Input from '../Input/Input';
3
+ import Button from '../Button/Button';
4
4
  import classNames from 'classnames';
5
+ import style from './style.module.css';
5
6
  const SocialBlock = ({ id, className, title, text, withLiveUpdates, onSave, saveButtonProps, cancelButtonProps, editTitleClasses, editTextClasses, editInputClasses, buttonWrapperClasses, textWrapperClasses, socialButtons, theme = 'light' }) => {
6
- const colours = theme === 'dark' ? 'placeholder-white bg-primary text-white' : 'placeholder-primary bg-white text-primary';
7
+ const colours = theme === 'dark' ? style.dark : style.light;
7
8
  const defaultComponentData = {
8
9
  title: {
9
10
  text: title
@@ -15,11 +16,10 @@ const SocialBlock = ({ id, className, title, text, withLiveUpdates, onSave, save
15
16
  const [isInEditingMode, setIsInEditingMode] = useState(false);
16
17
  const [isHovering, setIsHovering] = useState(false);
17
18
  const [componentData, setComponentData] = useState(defaultComponentData);
18
- const hoverClasses = 'border-dashed border';
19
19
  const classList = classNames(className, colours);
20
- const buttnoWrapperClasslist = classNames(buttonWrapperClasses, 'py-4');
20
+ const buttonWrapperClasslist = classNames(buttonWrapperClasses, style.buttonWrapperClassList);
21
21
  const hoverClassList = classNames({
22
- [hoverClasses]: withLiveUpdates !== undefined && !isInEditingMode && isHovering
22
+ [style.hoverClassList]: withLiveUpdates !== undefined && !isInEditingMode && isHovering
23
23
  }, textWrapperClasses);
24
24
  const toggleEditState = () => {
25
25
  withLiveUpdates === true && setIsInEditingMode(!isInEditingMode);
@@ -50,16 +50,15 @@ const SocialBlock = ({ id, className, title, text, withLiveUpdates, onSave, save
50
50
  ? (React.createElement("div", { className: colours },
51
51
  React.createElement(Input, { className: editTitleClasses, inputClasses: editInputClasses, autoFocus: true, value: componentData.title.text, onChange: (e) => handleChange(e), type: 'text', theme: theme }),
52
52
  React.createElement(Input, { className: editTextClasses, inputClasses: editInputClasses, value: componentData.text.text, onChange: (e) => handleChange(e), type: 'text', theme: theme }),
53
- React.createElement(Button, { className: 'mt-4', onClick: handleButtonSave }, "Save"),
54
- React.createElement(Button, { className: 'mt-4 ml-4', onClick: handleButtonCancel }, "Cancel")))
53
+ React.createElement(Button, { className: style.saveButton, onClick: handleButtonSave }, "Save"),
54
+ React.createElement(Button, { className: style.cancelButton, onClick: handleButtonCancel }, "Cancel")))
55
55
  : (React.createElement(React.Fragment, null,
56
56
  React.createElement("div", { onMouseOver: () => toggleHoverState(), onMouseOut: () => toggleHoverState(), onClick: toggleEditState, className: hoverClassList },
57
- React.createElement("h2", { className: 'text-md sm:text-lg' }, componentData.title.text),
58
- React.createElement("p", { className: 'pt-4' }, componentData.text.text)),
59
- React.createElement("div", { className: buttnoWrapperClasslist },
60
- React.createElement("div", { className: 'flex flex-wrap w-full justify-center' }, socialButtons === null || socialButtons === void 0 ? void 0 : socialButtons.map((button, i) => {
61
- return React.createElement("div", { key: `social_btn_${i + 1}` }, button);
62
- })))))));
57
+ React.createElement("h2", { className: style.title }, componentData.title.text),
58
+ React.createElement("p", { className: style.text }, componentData.text.text)),
59
+ React.createElement("div", { className: buttonWrapperClasslist }, socialButtons === null || socialButtons === void 0 ? void 0 : socialButtons.map((button, i) => {
60
+ return React.createElement("div", { key: `social_btn_${i + 1}` }, button);
61
+ }))))));
63
62
  };
64
63
  export default SocialBlock;
65
- //# sourceMappingURL=index.js.map
64
+ //# sourceMappingURL=SocialBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SocialBlock.js","sourceRoot":"","sources":["../../../../../src/lib/components/SocialBlock/SocialBlock.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,88 @@
1
+ .hoverClassList {
2
+
3
+ border-width: 1px;
4
+
5
+ border-style: dashed
6
+ }
7
+
8
+ .dark {
9
+
10
+ --tw-bg-opacity: 1;
11
+
12
+ background-color: rgb(0 54 160 / var(--tw-bg-opacity));
13
+
14
+ --tw-text-opacity: 1;
15
+
16
+ color: rgb(255 255 255 / var(--tw-text-opacity))
17
+ }
18
+
19
+ .dark::placeholder {
20
+
21
+ --tw-placeholder-opacity: 1;
22
+
23
+ color: rgb(255 255 255 / var(--tw-placeholder-opacity))
24
+ }
25
+
26
+ .light {
27
+
28
+ --tw-bg-opacity: 1;
29
+
30
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
31
+
32
+ --tw-text-opacity: 1;
33
+
34
+ color: rgb(0 54 160 / var(--tw-text-opacity))
35
+ }
36
+
37
+ .light::placeholder {
38
+
39
+ --tw-placeholder-opacity: 1;
40
+
41
+ color: rgb(0 54 160 / var(--tw-placeholder-opacity))
42
+ }
43
+
44
+ .buttonWrapperClassList {
45
+
46
+ display: flex;
47
+
48
+ width: 100%;
49
+
50
+ flex-wrap: wrap;
51
+
52
+ justify-content: center;
53
+
54
+ padding-top: 1rem;
55
+
56
+ padding-bottom: 1rem
57
+ }
58
+
59
+ .title {
60
+
61
+ font-size: 32px
62
+ }
63
+
64
+ @media (min-width: 640px) {
65
+
66
+ .title {
67
+
68
+ font-size: 48px
69
+ }
70
+ }
71
+
72
+ .text {
73
+
74
+ padding-top: 1rem
75
+ }
76
+
77
+ .cancelButton {
78
+
79
+ margin-top: 1rem;
80
+
81
+ margin-left: 1rem
82
+ }
83
+
84
+ .saveButton {
85
+
86
+ margin-top: 1rem
87
+ }
88
+ /*# sourceMappingURL=style.module.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lib/components/SocialBlock/style.module.css"],"names":[],"mappings":"AACI;;IAAA,iBAA2B;;IAA3B;AAA2B;;AAI3B;;IAAA,kBAA8C;;IAA9C,sDAA8C;;IAA9C,oBAA8C;;IAA9C;AAA8C;;AAA9C;;IAAA,2BAA8C;;IAA9C;AAA8C;;AAI9C;;IAAA,kBAAgD;;IAAhD,yDAAgD;;IAAhD,oBAAgD;;IAAhD;AAAgD;;AAAhD;;IAAA,2BAAgD;;IAAhD;AAAgD;;AAIhD;;IAAA,aAAgD;;IAAhD,WAAgD;;IAAhD,eAAgD;;IAAhD,uBAAgD;;IAAhD,iBAAgD;;IAAhD;AAAgD;;AAIhD;;IAAA;AAAyB;;AAAzB;;IAAA;;QAAA;IAAyB;AAAA;;AAIzB;;IAAA;AAAW;;AAIX;;IAAA,gBAAgB;;IAAhB;AAAgB;;AAIhB;;IAAA;AAAW","file":"style.module.css","sourcesContent":[".hoverClassList {\n @apply border-dashed border;\n}\n\n.dark {\n @apply placeholder-white bg-primary text-white;\n}\n\n.light {\n @apply placeholder-primary bg-white text-primary;\n}\n\n.buttonWrapperClassList {\n @apply py-4 flex flex-wrap w-full justify-center;\n}\n\n.title {\n @apply text-md sm:text-lg;\n}\n\n.text {\n @apply pt-4;\n}\n\n.cancelButton {\n @apply mt-4 ml-4;\n}\n\n.saveButton {\n @apply mt-4;\n}"]}
@@ -1,19 +1,20 @@
1
1
  import React from 'react';
2
- import Icon from '../Icon';
2
+ import Icon from '../Icon/Icon';
3
3
  import classNames from 'classnames';
4
+ import style from './style.module.css';
4
5
  const StarRating = ({ id, className, stars = 1, size = 1 }) => {
5
- const classList = classNames({}, `${className} flex`);
6
+ const classList = classNames({}, className, style.classList);
6
7
  const getStars = () => {
7
8
  const starsArr = [];
8
9
  for (let i = 0; i < stars; i++) {
9
- starsArr.push(React.createElement(Icon, { key: `checked_star_${i + 0}`, id: `checked-${i}`, className: 'checked', type: 'star', size: size, colour: 'gold', bgColour: 'white' }));
10
+ starsArr.push(React.createElement(Icon, { key: `checked_star_${i + 0}`, id: `checked-${i}`, className: classNames(style.checkedStar, 'checked'), type: 'star', size: size, colour: 'gold', bgColour: 'white', hoverColour: 'gold', hoverBgColour: 'white' }));
10
11
  }
11
12
  return starsArr;
12
13
  };
13
14
  const getStarsChecked = () => {
14
15
  const starsArr = [];
15
16
  for (let i = 0; i < 5 - stars; i++) {
16
- starsArr.push(React.createElement(Icon, { key: `unchecked_star_${i + 0}`, id: `unchecked-${i}`, className: 'unchecked opacity-30 gold', type: 'star', size: size, colour: 'gold', bgColour: 'white' }));
17
+ starsArr.push(React.createElement(Icon, { key: `unchecked_star_${i + 0}`, id: `unchecked-${i}`, className: classNames(style.uncheckedStar, 'unchecked gold'), type: 'star', size: size, colour: 'gold', bgColour: 'white', hoverColour: 'gold', hoverBgColour: 'white' }));
17
18
  }
18
19
  return starsArr;
19
20
  };
@@ -24,4 +25,4 @@ const StarRating = ({ id, className, stars = 1, size = 1 }) => {
24
25
  return (React.createElement("div", { id: id, className: classList }, getAllStars()));
25
26
  };
26
27
  export default StarRating;
27
- //# sourceMappingURL=index.js.map
28
+ //# sourceMappingURL=StarRating.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StarRating.js","sourceRoot":"","sources":["../../../../../src/lib/components/StarRating/StarRating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,uBAAuB,CAAA;AACxC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,oBAAoB,CAAA;AAQtC,MAAM,UAAU,GAAG,CAAC,EAClB,EAAE,EACF,SAAS,EACT,KAAK,GAAG,CAAC,EACT,IAAI,GAAG,CAAC,EACF,EAAe,EAAE;IACvB,MAAM,SAAS,GAAG,UAAU,CAAC,EAC5B,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;IAE9B,MAAM,QAAQ,GAAG,GAAkB,EAAE;QACnC,MAAM,QAAQ,GAAG,EAAE,CAAA;QACnB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;YAC9B,QAAQ,CAAC,IAAI,CACX,oBAAC,IAAI,IACH,GAAG,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE,EAC5B,EAAE,EAAE,WAAW,CAAC,EAAE,EAClB,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,WAAW,EAAE,SAAS,CAAC,EACnD,IAAI,EAAC,MAAM,EACX,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,MAAM,EACb,QAAQ,EAAC,OAAO,EAChB,WAAW,EAAC,MAAM,EAClB,aAAa,EAAC,OAAO,GACrB,CACH,CAAA;SACF;QACD,OAAO,QAAQ,CAAA;IACjB,CAAC,CAAA;IAED,MAAM,eAAe,GAAG,GAAkB,EAAE;QAC1C,MAAM,QAAQ,GAAG,EAAE,CAAA;QACnB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;YAClC,QAAQ,CAAC,IAAI,CACX,oBAAC,IAAI,IACH,GAAG,EAAE,kBAAkB,CAAC,GAAG,CAAC,EAAE,EAC9B,EAAE,EAAE,aAAa,CAAC,EAAE,EACpB,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,aAAa,EAAE,gBAAgB,CAAC,EAC5D,IAAI,EAAC,MAAM,EACX,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,MAAM,EACb,QAAQ,EAAC,OAAO,EAChB,WAAW,EAAC,MAAM,EAClB,aAAa,EAAC,OAAO,GACrB,CACH,CAAA;SACF;QACD,OAAO,QAAQ,CAAA;IACjB,CAAC,CAAA;IAED,MAAM,WAAW,GAAG,GAAkB,EAAE;QACtC,MAAM,SAAS,GAAG,CAAC,GAAG,QAAQ,EAAE,EAAE,GAAG,eAAe,EAAE,CAAC,CAAA;QACvD,OAAO,SAAS,CAAA;IAClB,CAAC,CAAA;IAED,OAAO,CACL,6BACE,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,SAAS,IAEnB,WAAW,EAAE,CACV,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,10 @@
1
+ .classList {
2
+
3
+ display: flex
4
+ }
5
+
6
+ .uncheckedStar {
7
+
8
+ opacity: 0.3
9
+ }
10
+ /*# sourceMappingURL=style.module.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lib/components/StarRating/style.module.css"],"names":[],"mappings":"AACI;;IAAA;AAAW;;AAIX;;IAAA;AAAiB","file":"style.module.css","sourcesContent":[".classList {\n @apply flex;\n}\n\n.uncheckedStar {\n @apply opacity-30;\n}"]}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Props as imageProps } from '../Image';
2
+ import { Props as imageProps } from '../Image/Image';
3
3
  export interface Props {
4
4
  id?: string;
5
5
  className?: string;
@@ -1,16 +1,17 @@
1
1
  import React from 'react';
2
2
  import classNames from 'classnames';
3
- import Image from '../Image';
3
+ import Image from '../Image/Image';
4
+ import style from './style.module.css';
4
5
  const Testimonial = ({ id, className, text, imageProps, companyName, position, date, positionStartDate, positionEndDate, authorsName, authorsPosition }) => {
5
- const classList = classNames(className, 'text-center');
6
+ const classList = classNames(className, style.classList);
6
7
  return (React.createElement("div", { id: id, className: classList },
7
- React.createElement("div", { className: 'mx-auto' },
8
+ React.createElement("div", { className: style.imageWrapper },
8
9
  React.createElement(Image, Object.assign({}, imageProps))),
9
10
  React.createElement("div", null,
10
- React.createElement("h2", { className: 'text-md md:text-md' },
11
+ React.createElement("h2", { className: style.companyName },
11
12
  companyName,
12
13
  " "),
13
- React.createElement("p", { className: 'text-md md:text-sm' }, position),
14
+ React.createElement("p", { className: style.position }, position),
14
15
  React.createElement("p", null,
15
16
  positionStartDate,
16
17
  " - ",
@@ -24,4 +25,4 @@ const Testimonial = ({ id, className, text, imageProps, companyName, position, d
24
25
  date))));
25
26
  };
26
27
  export default Testimonial;
27
- //# sourceMappingURL=index.js.map
28
+ //# sourceMappingURL=Testimonial.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Testimonial.js","sourceRoot":"","sources":["../../../../../src/lib/components/Testimonial/Testimonial.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAA8B,MAAM,yBAAyB,CAAA;AACpE,OAAO,KAAK,MAAM,oBAAoB,CAAA;AAgBtC,MAAM,WAAW,GAAG,CAAC,EACnB,EAAE,EACF,SAAS,EACT,IAAI,EACJ,UAAU,EACV,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,eAAe,EACT,EAAe,EAAE;IACvB,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;IAExD,OAAO,CACL,6BAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS;QAC/B,6BAAK,SAAS,EAAE,KAAK,CAAC,YAAY;YAChC,oBAAC,KAAK,oBAAK,UAAU,EAAI,CACrB;QACN;YACE,4BAAI,SAAS,EAAE,KAAK,CAAC,WAAW;gBAAG,WAAW;oBAAO;YACrD,2BAAG,SAAS,EAAE,KAAK,CAAC,QAAQ,IAAG,QAAQ,CAAK;YAC5C;gBAAI,iBAAiB;;gBAAK,eAAe,CAAK;YAC9C,+BAAI,IAAI,CAAK;YACb;gBAAI,WAAW;;gBAAK,eAAe;;gBAAI,IAAI,CAAK,CAC5C,CACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -0,0 +1,38 @@
1
+ .classList {
2
+
3
+ text-align: center
4
+ }
5
+
6
+ .imageWrapper {
7
+
8
+ margin-left: auto;
9
+
10
+ margin-right: auto
11
+ }
12
+
13
+ .companyName {
14
+
15
+ font-size: 32px
16
+ }
17
+
18
+ @media (min-width: 768px) {
19
+
20
+ .companyName {
21
+
22
+ font-size: 32px
23
+ }
24
+ }
25
+
26
+ .position {
27
+
28
+ font-size: 32px
29
+ }
30
+
31
+ @media (min-width: 768px) {
32
+
33
+ .position {
34
+
35
+ font-size: 24px
36
+ }
37
+ }
38
+ /*# sourceMappingURL=style.module.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/lib/components/Testimonial/style.module.css"],"names":[],"mappings":"AACI;;IAAA;AAAkB;;AAIlB;;IAAA,iBAAc;;IAAd;AAAc;;AAId;;IAAA;AAAyB;;AAAzB;;IAAA;;QAAA;IAAyB;AAAA;;AAIzB;;IAAA;AAAyB;;AAAzB;;IAAA;;QAAA;IAAyB;AAAA","file":"style.module.css","sourcesContent":[".classList {\n @apply text-center;\n}\n\n.imageWrapper {\n @apply mx-auto;\n}\n\n.companyName {\n @apply text-md md:text-md;\n}\n\n.position {\n @apply text-md md:text-sm;\n}"]}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Props as buttonProps } from '../Button';
2
+ import { Props as buttonProps } from '../Button/Button';
3
3
  export interface Props {
4
4
  id: string;
5
5
  className?: string;
@@ -1,8 +1,9 @@
1
1
  import React, { useState } from 'react';
2
- import Input from '../Input';
3
- import Button from '../Button';
2
+ import Input from '../Input/Input';
3
+ import Button from '../Button/Button';
4
4
  import classNames from 'classnames';
5
- import TextArea from '../TextArea';
5
+ import TextArea from '../TextArea/TextArea';
6
+ import style from './style.module.css';
6
7
  const TextAndTitle = ({ id, className, titleClasses, editTitleClasses, editTextClasses, editInputClasses, textClasses, textLineOne, textLineTwo, textLineThree, title, titleBold, textCenter, titleCenter, withLiveUpdates = false, onSave, saveButtonProps, cancelButtonProps, isHorizontal = true, children }) => {
7
8
  const getLineHeight = (id) => {
8
9
  const element = document.getElementById(id);
@@ -27,17 +28,17 @@ const TextAndTitle = ({ id, className, titleClasses, editTitleClasses, editTextC
27
28
  };
28
29
  const [isInEditingMode, setIsInEditingMode] = useState(false);
29
30
  const [componentData, setComponentData] = useState(defaultComponentData);
30
- const borderClasses = 'border border-transparent';
31
- const classList = classNames(className, 'bg-primary text-white');
31
+ const borderClasses = style.bordered;
32
+ const classList = classNames(className, style.classList);
32
33
  const titleClassList = classNames({
33
- 'font-bold': titleBold,
34
- 'text-center': titleCenter,
34
+ [style.fontBold]: titleBold,
35
+ [style.textCenter]: titleCenter,
35
36
  [borderClasses]: withLiveUpdates && !isInEditingMode
36
- }, titleClasses, 'text-md break-words');
37
+ }, titleClasses, style.titleClassList);
37
38
  const textClassList = classNames({
38
- 'text-center': textCenter,
39
+ [style.textCenter]: textCenter,
39
40
  [borderClasses]: withLiveUpdates && !isInEditingMode
40
- }, textClasses, 'pt-2 mt-2');
41
+ }, textClasses, style.textClassList);
41
42
  const toggleEditState = () => {
42
43
  withLiveUpdates &&
43
44
  setIsInEditingMode(!isInEditingMode);
@@ -60,14 +61,14 @@ const TextAndTitle = ({ id, className, titleClasses, editTitleClasses, editTextC
60
61
  setComponentData(Object.assign(Object.assign({}, componentData), { [id]: e.target.value }));
61
62
  };
62
63
  const wrapperClassList = classNames({
63
- 'flex flex-wrap justify-center md:items-center': isHorizontal,
64
- 'hover:border-black hover:border-dashed': withLiveUpdates && !isInEditingMode
65
- }, 'border-2 border-transparent');
64
+ [style.horizontalWrapperClassList]: isHorizontal,
65
+ [style.liveUpdatesWrapperClassList]: withLiveUpdates && !isInEditingMode
66
+ }, style.wrapperClassList);
66
67
  const titleWrapperClassList = classNames({
67
- 'md:w-1/2 md:text-center md:px-8': isHorizontal
68
+ [style.horizontalTitleWrapperClassList]: isHorizontal
68
69
  });
69
70
  const textWrapperClassList = classNames({
70
- 'md:w-1/2 md:text-center md:py-8 md:px-8': isHorizontal
71
+ [style.horizontalTextWrapperClassList]: isHorizontal
71
72
  });
72
73
  const inputClassList = classNames(editInputClasses, textClassList);
73
74
  const node = document.getElementById('textLineOne');
@@ -79,13 +80,13 @@ const TextAndTitle = ({ id, className, titleClasses, editTitleClasses, editTextC
79
80
  : (React.createElement("div", null, children))),
80
81
  React.createElement("div", { className: textWrapperClassList },
81
82
  React.createElement(TextArea, { className: editTextClasses, textAreaClasses: classNames({
82
- 'text-center': isHorizontal
83
+ [style.textCenter]: isHorizontal
83
84
  }, editInputClasses), rows: getLineHeight('textLineOne') + 1, onChange: (e) => handleChange(e), theme: 'dark' }, node === null || node === void 0 ? void 0 : node.innerHTML),
84
85
  React.createElement(TextArea, { className: editTextClasses, textAreaClasses: classNames({
85
- 'text-center': isHorizontal
86
+ [style.textCenter]: isHorizontal
86
87
  }, editInputClasses), rows: getLineHeight('textLineTwo'), onChange: (e) => handleChange(e), theme: 'dark' }, componentData.textLineTwo),
87
88
  React.createElement(TextArea, { className: editTextClasses, textAreaClasses: classNames({
88
- 'text-center': isHorizontal
89
+ [style.textCenter]: isHorizontal
89
90
  }, editInputClasses), rows: getLineHeight('textLineThree'), onChange: (e) => handleChange(e), theme: 'dark' }, componentData.textLineThree))),
90
91
  React.createElement(Button, { className: saveButtonProps === null || saveButtonProps === void 0 ? void 0 : saveButtonProps.className, onClick: handleButtonSave }, saveButtonProps === null || saveButtonProps === void 0 ? void 0 : saveButtonProps.children),
91
92
  React.createElement(Button, { className: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.className, onClick: handleButtonCancel }, cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.children)))
@@ -101,4 +102,4 @@ const TextAndTitle = ({ id, className, titleClasses, editTitleClasses, editTextC
101
102
  React.createElement("div", { id: 'textLineThree', className: textClassList }, componentData.textLineThree))))));
102
103
  };
103
104
  export default TextAndTitle;
104
- //# sourceMappingURL=index.js.map
105
+ //# sourceMappingURL=TextAndTitle.js.map