mautourco-components 0.2.5 → 0.2.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 (297) hide show
  1. package/README.md +190 -190
  2. package/dist/components/atoms/Avatar/Avatar.d.ts +14 -14
  3. package/dist/components/atoms/Avatar/Avatar.js +31 -31
  4. package/dist/components/atoms/Button/Button.css +320 -320
  5. package/dist/components/atoms/Button/Button.d.ts +27 -27
  6. package/dist/components/atoms/Button/Button.js +35 -35
  7. package/dist/components/atoms/Checkbox/Checkbox.d.ts +13 -13
  8. package/dist/components/atoms/Checkbox/Checkbox.js +39 -39
  9. package/dist/components/atoms/Icon/Icon.d.ts +10 -10
  10. package/dist/components/atoms/Icon/Icon.js +123 -123
  11. package/dist/components/atoms/Icon/icons/ArrivalIcon.d.ts +8 -8
  12. package/dist/components/atoms/Icon/icons/ArrivalIcon.js +31 -31
  13. package/dist/components/atoms/Icon/icons/BuildingIcon.d.ts +8 -8
  14. package/dist/components/atoms/Icon/icons/BuildingIcon.js +36 -36
  15. package/dist/components/atoms/Icon/icons/CalendarIcon.d.ts +12 -12
  16. package/dist/components/atoms/Icon/icons/CalendarIcon.js +41 -41
  17. package/dist/components/atoms/Icon/icons/CalendarOutlineIcon.d.ts +8 -8
  18. package/dist/components/atoms/Icon/icons/CalendarOutlineIcon.js +36 -36
  19. package/dist/components/atoms/Icon/icons/CarIcon.d.ts +8 -8
  20. package/dist/components/atoms/Icon/icons/CarIcon.js +30 -30
  21. package/dist/components/atoms/Icon/icons/Check.d.ts +8 -8
  22. package/dist/components/atoms/Icon/icons/Check.js +30 -30
  23. package/dist/components/atoms/Icon/icons/CheckCircleIcon.d.ts +8 -8
  24. package/dist/components/atoms/Icon/icons/CheckCircleIcon.js +30 -30
  25. package/dist/components/atoms/Icon/icons/Chevron.d.ts +9 -9
  26. package/dist/components/atoms/Icon/icons/Chevron.js +54 -54
  27. package/dist/components/atoms/Icon/icons/ChevronDownIcon.d.ts +8 -8
  28. package/dist/components/atoms/Icon/icons/ChevronDownIcon.js +30 -30
  29. package/dist/components/atoms/Icon/icons/Close.d.ts +8 -8
  30. package/dist/components/atoms/Icon/icons/Close.js +30 -30
  31. package/dist/components/atoms/Icon/icons/DeleteIcon.d.ts +8 -8
  32. package/dist/components/atoms/Icon/icons/DeleteIcon.js +30 -30
  33. package/dist/components/atoms/Icon/icons/DepartureIcon.d.ts +8 -8
  34. package/dist/components/atoms/Icon/icons/DepartureIcon.js +30 -30
  35. package/dist/components/atoms/Icon/icons/EyeIcon.d.ts +8 -8
  36. package/dist/components/atoms/Icon/icons/EyeIcon.js +30 -30
  37. package/dist/components/atoms/Icon/icons/FacebookIcon.d.ts +8 -8
  38. package/dist/components/atoms/Icon/icons/FacebookIcon.js +36 -36
  39. package/dist/components/atoms/Icon/icons/HomeIcon.d.ts +8 -8
  40. package/dist/components/atoms/Icon/icons/HomeIcon.js +25 -25
  41. package/dist/components/atoms/Icon/icons/InfoIcon.d.ts +8 -8
  42. package/dist/components/atoms/Icon/icons/InfoIcon.js +30 -30
  43. package/dist/components/atoms/Icon/icons/LinkedInIcon.d.ts +8 -8
  44. package/dist/components/atoms/Icon/icons/LinkedInIcon.js +36 -36
  45. package/dist/components/atoms/Icon/icons/MapPinIcon.d.ts +8 -8
  46. package/dist/components/atoms/Icon/icons/MapPinIcon.js +30 -30
  47. package/dist/components/atoms/Icon/icons/MautoucoLogo.d.ts +8 -8
  48. package/dist/components/atoms/Icon/icons/MautoucoLogo.js +37 -37
  49. package/dist/components/atoms/Icon/icons/MenuIcon.d.ts +8 -8
  50. package/dist/components/atoms/Icon/icons/MenuIcon.js +37 -37
  51. package/dist/components/atoms/Icon/icons/MinusIcon.d.ts +8 -8
  52. package/dist/components/atoms/Icon/icons/MinusIcon.js +25 -25
  53. package/dist/components/atoms/Icon/icons/MoreIcon.d.ts +8 -8
  54. package/dist/components/atoms/Icon/icons/MoreIcon.js +30 -30
  55. package/dist/components/atoms/Icon/icons/PlaneIcon.d.ts +8 -8
  56. package/dist/components/atoms/Icon/icons/PlaneIcon.js +36 -36
  57. package/dist/components/atoms/Icon/icons/PlusIcon.d.ts +8 -8
  58. package/dist/components/atoms/Icon/icons/PlusIcon.js +25 -25
  59. package/dist/components/atoms/Icon/icons/Search.d.ts +8 -8
  60. package/dist/components/atoms/Icon/icons/Search.js +30 -30
  61. package/dist/components/atoms/Icon/icons/Settings.d.ts +8 -8
  62. package/dist/components/atoms/Icon/icons/Settings.js +30 -30
  63. package/dist/components/atoms/Icon/icons/ShipIcon.d.ts +8 -8
  64. package/dist/components/atoms/Icon/icons/ShipIcon.js +36 -36
  65. package/dist/components/atoms/Icon/icons/StrollerIcon.d.ts +8 -8
  66. package/dist/components/atoms/Icon/icons/StrollerIcon.js +30 -30
  67. package/dist/components/atoms/Icon/icons/TwitterIcon.d.ts +8 -8
  68. package/dist/components/atoms/Icon/icons/TwitterIcon.js +36 -36
  69. package/dist/components/atoms/Icon/icons/User.d.ts +8 -8
  70. package/dist/components/atoms/Icon/icons/User.js +30 -30
  71. package/dist/components/atoms/Icon/icons/UserIcon.d.ts +12 -12
  72. package/dist/components/atoms/Icon/icons/UserIcon.js +41 -41
  73. package/dist/components/atoms/Icon/icons/Youtube.d.ts +8 -8
  74. package/dist/components/atoms/Icon/icons/Youtube.js +36 -36
  75. package/dist/components/atoms/Illustration/Illustration.d.ts +14 -14
  76. package/dist/components/atoms/Illustration/Illustration.js +33 -33
  77. package/dist/components/atoms/Illustration/illustrations.d.ts +51 -51
  78. package/dist/components/atoms/Illustration/illustrations.js +97 -97
  79. package/dist/components/atoms/Inputs/DropdownInput/DropdownInput.d.ts +12 -12
  80. package/dist/components/atoms/Inputs/DropdownInput/DropdownInput.js +53 -53
  81. package/dist/components/atoms/Inputs/Input/Input.d.ts +15 -15
  82. package/dist/components/atoms/Inputs/Input/Input.js +27 -27
  83. package/dist/components/atoms/Inputs/Textarea/Textarea.d.ts +14 -14
  84. package/dist/components/atoms/Inputs/Textarea/Textarea.js +15 -15
  85. package/dist/components/atoms/Link/Link.d.ts +44 -44
  86. package/dist/components/atoms/Link/Link.js +76 -76
  87. package/dist/components/atoms/RatingStar/RatingStar.d.ts +40 -40
  88. package/dist/components/atoms/RatingStar/RatingStar.js +54 -54
  89. package/dist/components/atoms/SegmentedButton/SegmentedButton.d.ts +27 -27
  90. package/dist/components/atoms/SegmentedButton/SegmentedButton.js +49 -49
  91. package/dist/components/atoms/SelectedValue/SelectedValue.d.ts +11 -11
  92. package/dist/components/atoms/SelectedValue/SelectedValue.js +29 -29
  93. package/dist/components/atoms/Slider/Slider.d.ts +52 -52
  94. package/dist/components/atoms/Slider/Slider.js +30 -30
  95. package/dist/components/atoms/Spinner/Spinner.d.ts +9 -9
  96. package/dist/components/atoms/Spinner/Spinner.js +38 -38
  97. package/dist/components/atoms/Spinner/variants/ButtonSpinner.d.ts +8 -8
  98. package/dist/components/atoms/Spinner/variants/ButtonSpinner.js +19 -19
  99. package/dist/components/atoms/Spinner/variants/LoadingSpinner.d.ts +7 -7
  100. package/dist/components/atoms/Spinner/variants/LoadingSpinner.js +7 -7
  101. package/dist/components/atoms/Tab/Tab.css +266 -266
  102. package/dist/components/atoms/Tab/Tab.d.ts +22 -22
  103. package/dist/components/atoms/Tab/Tab.js +54 -54
  104. package/dist/components/atoms/Typography/Typography.d.ts +24 -24
  105. package/dist/components/atoms/Typography/Typography.js +100 -100
  106. package/dist/components/molecules/Calendar/CalendarInput.d.ts +34 -34
  107. package/dist/components/molecules/Calendar/CalendarInput.js +49 -49
  108. package/dist/components/molecules/Calendar/DateTime.d.ts +25 -25
  109. package/dist/components/molecules/Calendar/DateTime.js +106 -106
  110. package/dist/components/molecules/Calendar/TimePicker.d.ts +16 -16
  111. package/dist/components/molecules/Calendar/TimePicker.js +91 -91
  112. package/dist/components/molecules/LocationDropdown/LocationDropdown.d.ts +34 -34
  113. package/dist/components/molecules/LocationDropdown/LocationDropdown.js +120 -120
  114. package/dist/components/molecules/LocationDropdown/index.d.ts +2 -2
  115. package/dist/components/molecules/LocationDropdown/index.js +1 -1
  116. package/dist/components/molecules/MultiSelectDropdown/MultiSelectDropdown.d.ts +29 -29
  117. package/dist/components/molecules/MultiSelectDropdown/MultiSelectDropdown.js +106 -106
  118. package/dist/components/molecules/RatingTab/RatingTab.d.ts +39 -39
  119. package/dist/components/molecules/RatingTab/RatingTab.js +41 -41
  120. package/dist/components/molecules/TabGroup/TabGroup.d.ts +17 -17
  121. package/dist/components/molecules/TabGroup/TabGroup.js +30 -30
  122. package/dist/components/molecules/UserCard/UserCard.d.ts +20 -20
  123. package/dist/components/molecules/UserCard/UserCard.js +57 -57
  124. package/dist/components/organisms/CardContainer/CardContainer.d.ts +37 -37
  125. package/dist/components/organisms/CardContainer/CardContainer.js +27 -27
  126. package/dist/components/organisms/DateTimePicker/DateTimePicker.d.ts +15 -15
  127. package/dist/components/organisms/DateTimePicker/DateTimePicker.js +66 -66
  128. package/dist/components/organisms/Dialog/Dialog.d.ts +103 -103
  129. package/dist/components/organisms/Dialog/Dialog.js +162 -162
  130. package/dist/components/organisms/Footer/Footer.d.ts +38 -38
  131. package/dist/components/organisms/Footer/Footer.js +74 -74
  132. package/dist/components/organisms/PaxSelector/PaxSelector.d.ts +63 -63
  133. package/dist/components/organisms/PaxSelector/PaxSelector.js +402 -402
  134. package/dist/components/organisms/RoundTrip/RoundTrip.d.ts +54 -54
  135. package/dist/components/organisms/RoundTrip/RoundTrip.js +179 -179
  136. package/dist/components/organisms/RoundTrip/index.d.ts +2 -2
  137. package/dist/components/organisms/RoundTrip/index.js +1 -1
  138. package/dist/components/organisms/SearchBarTransfer/SearchBarTransfer.d.ts +35 -35
  139. package/dist/components/organisms/SearchBarTransfer/SearchBarTransfer.js +192 -192
  140. package/dist/components/organisms/SearchBarTransfer/index.d.ts +2 -2
  141. package/dist/components/organisms/SearchBarTransfer/index.js +1 -1
  142. package/dist/components/organisms/TopNavigation/DesktopNav.d.ts +33 -33
  143. package/dist/components/organisms/TopNavigation/DesktopNav.js +32 -32
  144. package/dist/components/organisms/TopNavigation/MobileNav.d.ts +32 -32
  145. package/dist/components/organisms/TopNavigation/MobileNav.js +45 -45
  146. package/dist/components/organisms/TopNavigation/TopNavigation.d.ts +33 -33
  147. package/dist/components/organisms/TopNavigation/TopNavigation.js +20 -20
  148. package/dist/components/organisms/TransferLine/TransferLine.d.ts +53 -53
  149. package/dist/components/organisms/TransferLine/TransferLine.js +179 -179
  150. package/dist/components/ui/button.d.ts +10 -10
  151. package/dist/components/ui/button.js +56 -56
  152. package/dist/components/ui/calendar.d.ts +8 -8
  153. package/dist/components/ui/calendar.js +87 -87
  154. package/dist/components/ui/popover.d.ts +7 -7
  155. package/dist/components/ui/popover.js +42 -42
  156. package/dist/hooks/useMobile.d.ts +5 -5
  157. package/dist/hooks/useMobile.js +26 -26
  158. package/dist/index.d.ts +49 -49
  159. package/dist/index.js +46 -46
  160. package/dist/lib/utils.d.ts +7 -7
  161. package/dist/lib/utils.js +13 -13
  162. package/dist/styles/components/avatar.css +122 -122
  163. package/dist/styles/components/calendar.css +140 -140
  164. package/dist/styles/components/checkbox.css +206 -206
  165. package/dist/styles/components/dropdown.css +269 -269
  166. package/dist/styles/components/forms.css +209 -209
  167. package/dist/styles/components/illustration.css +123 -123
  168. package/dist/styles/components/molecule/calendarInput.css +133 -133
  169. package/dist/styles/components/molecule/dateTime.css +126 -126
  170. package/dist/styles/components/molecule/location-dropdown.css +132 -132
  171. package/dist/styles/components/molecule/timePicker.css +122 -122
  172. package/dist/styles/components/multiselect-dropdown.css +286 -286
  173. package/dist/styles/components/organism/card-container.css +148 -148
  174. package/dist/styles/components/organism/dialog.css +168 -168
  175. package/dist/styles/components/organism/footer.css +119 -119
  176. package/dist/styles/components/organism/pax-selector.css +617 -617
  177. package/dist/styles/components/organism/round-trip.css +139 -139
  178. package/dist/styles/components/organism/search-bar-transfer.css +158 -161
  179. package/dist/styles/components/organism/topnavigation.css +142 -142
  180. package/dist/styles/components/organism/transfer-line.css +138 -138
  181. package/dist/styles/components/rating-star.css +145 -145
  182. package/dist/styles/components/rating-tab.css +179 -179
  183. package/dist/styles/components/scrollbar.css +155 -155
  184. package/dist/styles/components/segmented-button.css +214 -214
  185. package/dist/styles/components/selected-value.css +175 -175
  186. package/dist/styles/components/slider.css +182 -182
  187. package/dist/styles/components/typography.css +245 -245
  188. package/dist/styles/tokens/tokens.css +119 -119
  189. package/dist/styles/tokens/tokens.d.ts +3108 -3108
  190. package/dist/styles/tokens/tokens.js +2652 -2652
  191. package/package.json +103 -103
  192. package/src/components/atoms/Avatar/Avatar.tsx +60 -60
  193. package/src/components/atoms/Button/Button.css +200 -200
  194. package/src/components/atoms/Button/Button.tsx +82 -82
  195. package/src/components/atoms/Checkbox/Checkbox.tsx +83 -83
  196. package/src/components/atoms/Icon/Icon.tsx +163 -163
  197. package/src/components/atoms/Icon/icons/ArrivalIcon.tsx +52 -52
  198. package/src/components/atoms/Icon/icons/BuildingIcon.tsx +50 -50
  199. package/src/components/atoms/Icon/icons/CalendarIcon.tsx +63 -63
  200. package/src/components/atoms/Icon/icons/CalendarOutlineIcon.tsx +50 -50
  201. package/src/components/atoms/Icon/icons/CarIcon.tsx +44 -44
  202. package/src/components/atoms/Icon/icons/Check.tsx +36 -36
  203. package/src/components/atoms/Icon/icons/CheckCircleIcon.tsx +48 -48
  204. package/src/components/atoms/Icon/icons/Chevron.tsx +73 -73
  205. package/src/components/atoms/Icon/icons/ChevronDownIcon.tsx +46 -46
  206. package/src/components/atoms/Icon/icons/Close.tsx +39 -39
  207. package/src/components/atoms/Icon/icons/DeleteIcon.tsx +44 -44
  208. package/src/components/atoms/Icon/icons/DepartureIcon.tsx +50 -50
  209. package/src/components/atoms/Icon/icons/EyeIcon.tsx +44 -44
  210. package/src/components/atoms/Icon/icons/FacebookIcon.tsx +50 -50
  211. package/src/components/atoms/Icon/icons/HomeIcon.tsx +52 -52
  212. package/src/components/atoms/Icon/icons/InfoIcon.tsx +44 -44
  213. package/src/components/atoms/Icon/icons/LinkedInIcon.tsx +50 -50
  214. package/src/components/atoms/Icon/icons/MapPinIcon.tsx +44 -44
  215. package/src/components/atoms/Icon/icons/MautoucoLogo.tsx +93 -93
  216. package/src/components/atoms/Icon/icons/MenuIcon.tsx +49 -49
  217. package/src/components/atoms/Icon/icons/MinusIcon.tsx +45 -45
  218. package/src/components/atoms/Icon/icons/MoreIcon.tsx +44 -44
  219. package/src/components/atoms/Icon/icons/PlaneIcon.tsx +50 -50
  220. package/src/components/atoms/Icon/icons/PlusIcon.tsx +45 -45
  221. package/src/components/atoms/Icon/icons/Search.tsx +37 -37
  222. package/src/components/atoms/Icon/icons/Settings.tsx +38 -38
  223. package/src/components/atoms/Icon/icons/ShipIcon.tsx +50 -50
  224. package/src/components/atoms/Icon/icons/StrollerIcon.tsx +44 -44
  225. package/src/components/atoms/Icon/icons/TwitterIcon.tsx +50 -50
  226. package/src/components/atoms/Icon/icons/User.tsx +37 -37
  227. package/src/components/atoms/Icon/icons/UserIcon.tsx +63 -63
  228. package/src/components/atoms/Icon/icons/Youtube.tsx +50 -50
  229. package/src/components/atoms/Illustration/Illustration.tsx +28 -28
  230. package/src/components/atoms/Illustration/illustrations.ts +116 -116
  231. package/src/components/atoms/Inputs/DropdownInput/DropdownInput.tsx +96 -96
  232. package/src/components/atoms/Inputs/Textarea/Textarea.tsx +51 -51
  233. package/src/components/atoms/Link/Link.tsx +168 -168
  234. package/src/components/atoms/RatingStar/RatingStar.tsx +114 -114
  235. package/src/components/atoms/SegmentedButton/SegmentedButton.tsx +94 -94
  236. package/src/components/atoms/SelectedValue/SelectedValue.tsx +59 -59
  237. package/src/components/atoms/Slider/Slider.tsx +95 -95
  238. package/src/components/atoms/Spinner/Spinner.tsx +56 -56
  239. package/src/components/atoms/Spinner/variants/ButtonSpinner.tsx +37 -37
  240. package/src/components/atoms/Spinner/variants/LoadingSpinner.tsx +22 -22
  241. package/src/components/atoms/Tab/Tab.css +147 -147
  242. package/src/components/atoms/Tab/Tab.tsx +96 -96
  243. package/src/components/atoms/Typography/Typography.tsx +153 -153
  244. package/src/components/molecules/Calendar/CalendarInput.tsx +135 -135
  245. package/src/components/molecules/Calendar/DateTime.tsx +172 -172
  246. package/src/components/molecules/Calendar/TimePicker.tsx +174 -174
  247. package/src/components/molecules/LocationDropdown/LocationDropdown.tsx +234 -234
  248. package/src/components/molecules/LocationDropdown/index.ts +2 -2
  249. package/src/components/molecules/RatingTab/RatingTab.tsx +96 -96
  250. package/src/components/molecules/TabGroup/TabGroup.tsx +60 -60
  251. package/src/components/molecules/UserCard/UserCard.stories.tsx +36 -36
  252. package/src/components/molecules/UserCard/UserCard.tsx +173 -173
  253. package/src/components/organisms/CardContainer/CardContainer.tsx +66 -66
  254. package/src/components/organisms/DateTimePicker/DateTimePicker.tsx +110 -110
  255. package/src/components/organisms/Dialog/Dialog.tsx +352 -352
  256. package/src/components/organisms/Footer/Footer.tsx +290 -290
  257. package/src/components/organisms/PaxSelector/PaxSelector.tsx +979 -979
  258. package/src/components/organisms/RoundTrip/RoundTrip.tsx +335 -335
  259. package/src/components/organisms/RoundTrip/index.ts +2 -2
  260. package/src/components/organisms/SearchBarTransfer/SearchBarTransfer.tsx +388 -388
  261. package/src/components/organisms/SearchBarTransfer/index.ts +2 -2
  262. package/src/components/organisms/TopNavigation/DesktopNav.tsx +133 -133
  263. package/src/components/organisms/TopNavigation/MobileNav.tsx +212 -212
  264. package/src/components/organisms/TopNavigation/TopNavigation.tsx +45 -45
  265. package/src/components/organisms/TransferLine/TransferLine.tsx +369 -369
  266. package/src/components/ui/button.tsx +60 -60
  267. package/src/components/ui/calendar.tsx +246 -246
  268. package/src/components/ui/popover.tsx +46 -46
  269. package/src/styles/components/avatar.css +58 -58
  270. package/src/styles/components/calendar.css +85 -85
  271. package/src/styles/components/checkbox.css +130 -130
  272. package/src/styles/components/dropdown.css +214 -214
  273. package/src/styles/components/forms.css +147 -147
  274. package/src/styles/components/illustration.css +7 -7
  275. package/src/styles/components/molecule/calendarInput.css +156 -156
  276. package/src/styles/components/molecule/dateTime.css +14 -14
  277. package/src/styles/components/molecule/location-dropdown.css +204 -204
  278. package/src/styles/components/molecule/timePicker.css +78 -78
  279. package/src/styles/components/multiselect-dropdown.css +230 -230
  280. package/src/styles/components/organism/card-container.css +49 -49
  281. package/src/styles/components/organism/dialog.css +241 -241
  282. package/src/styles/components/organism/footer.css +113 -113
  283. package/src/styles/components/organism/pax-selector.css +702 -702
  284. package/src/styles/components/organism/round-trip.css +55 -55
  285. package/src/styles/components/organism/search-bar-transfer.css +128 -127
  286. package/src/styles/components/organism/topnavigation.css +161 -161
  287. package/src/styles/components/organism/transfer-line.css +86 -86
  288. package/src/styles/components/rating-star.css +39 -39
  289. package/src/styles/components/rating-tab.css +83 -83
  290. package/src/styles/components/scrollbar.css +63 -63
  291. package/src/styles/components/segmented-button.css +134 -134
  292. package/src/styles/components/selected-value.css +80 -80
  293. package/src/styles/components/slider.css +86 -86
  294. package/src/styles/components/typography.css +251 -251
  295. package/src/styles/fonts.css +50 -0
  296. package/src/styles/tokens/tokens.css +119 -119
  297. package/src/styles/tokens/tokens.js +12 -6
@@ -1,44 +1,44 @@
1
- import React from 'react';
2
-
3
- interface StrollerIconProps {
4
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
- className?: string;
6
- color?: string;
7
- }
8
-
9
- const StrollerIcon: React.FC<StrollerIconProps> = ({
10
- size = 'md',
11
- className = '',
12
- color
13
- }) => {
14
- const getSizeClasses = () => {
15
- switch (size) {
16
- case 'xs': return 'w-3 h-3';
17
- case 'sm': return 'w-4 h-4';
18
- case 'md': return 'w-5 h-5';
19
- case 'lg': return 'w-6 h-6';
20
- case 'xl': return 'w-8 h-8';
21
- default: return 'w-5 h-5';
22
- }
23
- };
24
-
25
- const sizeClasses = getSizeClasses();
26
- const colorClass = color ? `text-${color}` : 'text-current';
27
- const classes = `${sizeClasses} ${colorClass} ${className}`;
28
-
29
- return (
30
- <svg
31
- className={classes}
32
- viewBox="0 0 22 23"
33
- fill="none"
34
- xmlns="http://www.w3.org/2000/svg"
35
- >
36
- <path
37
- d="M7.01181 19.1251C7.01181 18.642 6.62027 18.2509 6.13729 18.2506C5.65405 18.2506 5.26132 18.6418 5.26132 19.1251C5.26132 19.6083 5.65405 19.9996 6.13729 19.9996C6.62027 19.9993 7.01181 19.6081 7.01181 19.1251ZM17.0123 19.1251C17.0123 18.6418 16.6196 18.2506 16.1363 18.2506C15.6532 18.2508 15.2618 18.642 15.2618 19.1251C15.2618 19.6082 15.6532 19.9994 16.1363 19.9996C16.6196 19.9996 17.0123 19.6083 17.0123 19.1251ZM3.26767 10.2496C3.3265 11.2644 4.10011 12.0001 5.13681 12.0001H9.38632L8.07382 10.2496H3.26767ZM12.1988 12.0001H17.1368C18.1734 12 18.9471 11.2644 19.0059 10.2496H10.8849L12.1988 12.0001ZM15.8873 7.9996H18.9019C18.7346 7.06179 18.3778 6.16907 17.8531 5.37606L15.8873 7.9996ZM13.2623 7.74911L16.296 3.70321C15.4064 3.01703 14.366 2.55539 13.2623 2.35848V7.74911ZM21.2618 10.1251C21.2618 12.4464 19.4581 14.25 17.1368 14.2501H13.8863L15.2882 16.1192C15.5581 16.0432 15.8421 16.0006 16.1363 16.0006C17.8622 16.0006 19.2623 17.3992 19.2623 19.1251C19.2623 20.851 17.8622 22.2496 16.1363 22.2496C14.4106 22.2494 13.0118 20.8508 13.0118 19.1251C13.0118 18.5163 13.1868 17.9488 13.4879 17.4683L11.1353 14.3336L8.78427 17.4698C9.08519 17.9501 9.26181 18.5165 9.26181 19.1251C9.26181 20.8508 7.86291 22.2493 6.13729 22.2496C4.41141 22.2496 3.01132 20.851 3.01132 19.1251C3.01132 17.3992 4.41141 16.0006 6.13729 16.0006C6.43051 16.0006 6.71343 16.0437 6.98251 16.1192L8.38583 14.2501H5.13681C2.81549 14.2501 1.01181 12.4464 1.01181 10.1251V9.1246C1.01207 8.5035 1.51565 7.9996 2.13681 7.9996H6.38632L3.83603 4.59969C3.81108 4.5664 3.78828 4.53154 3.76718 4.49569C3.67261 4.33495 3.52574 4.21114 3.35116 4.14559C3.1764 4.08008 2.9833 4.07632 2.80624 4.13534C2.62965 4.19432 2.47892 4.31256 2.37851 4.46932C2.27802 4.62655 2.23322 4.81417 2.25399 4.9996C2.32326 5.61699 1.87966 6.1739 1.2623 6.24325C0.683524 6.30818 0.158284 5.92154 0.0376855 5.36434L0.0186426 5.25008L0.00106445 4.98934C-0.0149857 4.3792 0.150717 3.77554 0.481533 3.2579C0.859515 2.66649 1.42993 2.22301 2.09579 2.00106C2.76157 1.77923 3.48359 1.79283 4.14071 2.03915C4.77002 2.27513 5.30171 2.71208 5.65829 3.27987L9.19735 7.9996H11.0123V1.12508C11.0123 0.82441 11.1324 0.536624 11.3463 0.325279C11.5602 0.113924 11.8497 -0.00359995 12.1505 8.40768e-05C14.4876 0.0287631 16.7222 0.945197 18.4083 2.55624C18.4436 2.5771 18.4788 2.59993 18.5123 2.62508C18.6388 2.72006 18.7387 2.83726 18.8126 2.96639C20.3574 4.63872 21.2338 6.82636 21.2618 9.11141V10.1251Z"
38
- fill="currentColor"
39
- />
40
- </svg>
41
- );
42
- };
43
-
44
- export default StrollerIcon;
1
+ import React from 'react';
2
+
3
+ interface StrollerIconProps {
4
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
+ className?: string;
6
+ color?: string;
7
+ }
8
+
9
+ const StrollerIcon: React.FC<StrollerIconProps> = ({
10
+ size = 'md',
11
+ className = '',
12
+ color
13
+ }) => {
14
+ const getSizeClasses = () => {
15
+ switch (size) {
16
+ case 'xs': return 'w-3 h-3';
17
+ case 'sm': return 'w-4 h-4';
18
+ case 'md': return 'w-5 h-5';
19
+ case 'lg': return 'w-6 h-6';
20
+ case 'xl': return 'w-8 h-8';
21
+ default: return 'w-5 h-5';
22
+ }
23
+ };
24
+
25
+ const sizeClasses = getSizeClasses();
26
+ const colorClass = color ? `text-${color}` : 'text-current';
27
+ const classes = `${sizeClasses} ${colorClass} ${className}`;
28
+
29
+ return (
30
+ <svg
31
+ className={classes}
32
+ viewBox="0 0 22 23"
33
+ fill="none"
34
+ xmlns="http://www.w3.org/2000/svg"
35
+ >
36
+ <path
37
+ d="M7.01181 19.1251C7.01181 18.642 6.62027 18.2509 6.13729 18.2506C5.65405 18.2506 5.26132 18.6418 5.26132 19.1251C5.26132 19.6083 5.65405 19.9996 6.13729 19.9996C6.62027 19.9993 7.01181 19.6081 7.01181 19.1251ZM17.0123 19.1251C17.0123 18.6418 16.6196 18.2506 16.1363 18.2506C15.6532 18.2508 15.2618 18.642 15.2618 19.1251C15.2618 19.6082 15.6532 19.9994 16.1363 19.9996C16.6196 19.9996 17.0123 19.6083 17.0123 19.1251ZM3.26767 10.2496C3.3265 11.2644 4.10011 12.0001 5.13681 12.0001H9.38632L8.07382 10.2496H3.26767ZM12.1988 12.0001H17.1368C18.1734 12 18.9471 11.2644 19.0059 10.2496H10.8849L12.1988 12.0001ZM15.8873 7.9996H18.9019C18.7346 7.06179 18.3778 6.16907 17.8531 5.37606L15.8873 7.9996ZM13.2623 7.74911L16.296 3.70321C15.4064 3.01703 14.366 2.55539 13.2623 2.35848V7.74911ZM21.2618 10.1251C21.2618 12.4464 19.4581 14.25 17.1368 14.2501H13.8863L15.2882 16.1192C15.5581 16.0432 15.8421 16.0006 16.1363 16.0006C17.8622 16.0006 19.2623 17.3992 19.2623 19.1251C19.2623 20.851 17.8622 22.2496 16.1363 22.2496C14.4106 22.2494 13.0118 20.8508 13.0118 19.1251C13.0118 18.5163 13.1868 17.9488 13.4879 17.4683L11.1353 14.3336L8.78427 17.4698C9.08519 17.9501 9.26181 18.5165 9.26181 19.1251C9.26181 20.8508 7.86291 22.2493 6.13729 22.2496C4.41141 22.2496 3.01132 20.851 3.01132 19.1251C3.01132 17.3992 4.41141 16.0006 6.13729 16.0006C6.43051 16.0006 6.71343 16.0437 6.98251 16.1192L8.38583 14.2501H5.13681C2.81549 14.2501 1.01181 12.4464 1.01181 10.1251V9.1246C1.01207 8.5035 1.51565 7.9996 2.13681 7.9996H6.38632L3.83603 4.59969C3.81108 4.5664 3.78828 4.53154 3.76718 4.49569C3.67261 4.33495 3.52574 4.21114 3.35116 4.14559C3.1764 4.08008 2.9833 4.07632 2.80624 4.13534C2.62965 4.19432 2.47892 4.31256 2.37851 4.46932C2.27802 4.62655 2.23322 4.81417 2.25399 4.9996C2.32326 5.61699 1.87966 6.1739 1.2623 6.24325C0.683524 6.30818 0.158284 5.92154 0.0376855 5.36434L0.0186426 5.25008L0.00106445 4.98934C-0.0149857 4.3792 0.150717 3.77554 0.481533 3.2579C0.859515 2.66649 1.42993 2.22301 2.09579 2.00106C2.76157 1.77923 3.48359 1.79283 4.14071 2.03915C4.77002 2.27513 5.30171 2.71208 5.65829 3.27987L9.19735 7.9996H11.0123V1.12508C11.0123 0.82441 11.1324 0.536624 11.3463 0.325279C11.5602 0.113924 11.8497 -0.00359995 12.1505 8.40768e-05C14.4876 0.0287631 16.7222 0.945197 18.4083 2.55624C18.4436 2.5771 18.4788 2.59993 18.5123 2.62508C18.6388 2.72006 18.7387 2.83726 18.8126 2.96639C20.3574 4.63872 21.2338 6.82636 21.2618 9.11141V10.1251Z"
38
+ fill="currentColor"
39
+ />
40
+ </svg>
41
+ );
42
+ };
43
+
44
+ export default StrollerIcon;
@@ -1,50 +1,50 @@
1
- import React from "react";
2
-
3
- interface TwitterIconProps {
4
- size?: "xs" | "sm" | "md" | "lg" | "xl";
5
- className?: string;
6
- color?: string;
7
- }
8
-
9
- const TwitterIcon: React.FC<TwitterIconProps> = ({
10
- size = "md",
11
- className = "",
12
- color,
13
- }) => {
14
- const getSizeClasses = () => {
15
- switch (size) {
16
- case "xs":
17
- return "w-3 h-3";
18
- case "sm":
19
- return "w-4 h-4";
20
- case "md":
21
- return "w-5 h-5";
22
- case "lg":
23
- return "w-6 h-6";
24
- case "xl":
25
- return "w-8 h-8";
26
- default:
27
- return "w-5 h-5";
28
- }
29
- };
30
-
31
- const sizeClasses = getSizeClasses();
32
- const colorClass = color ? `text-${color}` : "text-current";
33
- const classes = `${sizeClasses} ${colorClass} ${className}`;
34
-
35
- return (
36
- <svg
37
- viewBox="0 0 24 24"
38
- fill="none"
39
- xmlns="http://www.w3.org/2000/svg"
40
- className={classes}
41
- >
42
- <path
43
- d="M21.533 7.11169C21.5482 7.32488 21.5482 7.53811 21.5482 7.7513C21.5482 14.2538 16.599 21.7462 7.5533 21.7462C4.76648 21.7462 2.17767 20.9391 0 19.5381C0.395953 19.5838 0.776625 19.599 1.18781 19.599C3.48727 19.599 5.60405 18.8224 7.29441 17.4975C5.13197 17.4518 3.31978 16.0356 2.69541 14.0863C3 14.132 3.30455 14.1624 3.62437 14.1624C4.06598 14.1624 4.50764 14.1015 4.91878 13.995C2.66498 13.5381 0.974578 11.5584 0.974578 9.16753V9.10664C1.62937 9.47213 2.39086 9.70055 3.19791 9.73097C1.87303 8.8477 1.00505 7.34011 1.00505 5.63452C1.00505 4.72083 1.24866 3.88327 1.67508 3.1523C4.09641 6.13706 7.73602 8.08627 11.8172 8.2995C11.7411 7.93402 11.6954 7.55335 11.6954 7.17263C11.6954 4.46194 13.8883 2.25385 16.6141 2.25385C18.0304 2.25385 19.3095 2.84775 20.208 3.80714C21.3197 3.59395 22.3857 3.18277 23.3299 2.61933C22.9643 3.76149 22.1877 4.72088 21.1674 5.32997C22.1573 5.22342 23.1167 4.94925 23.9999 4.56858C23.33 5.54316 22.4924 6.41114 21.533 7.11169Z"
44
- fill="currentColor"
45
- />
46
- </svg>
47
- );
48
- };
49
-
50
- export default TwitterIcon;
1
+ import React from "react";
2
+
3
+ interface TwitterIconProps {
4
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
5
+ className?: string;
6
+ color?: string;
7
+ }
8
+
9
+ const TwitterIcon: React.FC<TwitterIconProps> = ({
10
+ size = "md",
11
+ className = "",
12
+ color,
13
+ }) => {
14
+ const getSizeClasses = () => {
15
+ switch (size) {
16
+ case "xs":
17
+ return "w-3 h-3";
18
+ case "sm":
19
+ return "w-4 h-4";
20
+ case "md":
21
+ return "w-5 h-5";
22
+ case "lg":
23
+ return "w-6 h-6";
24
+ case "xl":
25
+ return "w-8 h-8";
26
+ default:
27
+ return "w-5 h-5";
28
+ }
29
+ };
30
+
31
+ const sizeClasses = getSizeClasses();
32
+ const colorClass = color ? `text-${color}` : "text-current";
33
+ const classes = `${sizeClasses} ${colorClass} ${className}`;
34
+
35
+ return (
36
+ <svg
37
+ viewBox="0 0 24 24"
38
+ fill="none"
39
+ xmlns="http://www.w3.org/2000/svg"
40
+ className={classes}
41
+ >
42
+ <path
43
+ d="M21.533 7.11169C21.5482 7.32488 21.5482 7.53811 21.5482 7.7513C21.5482 14.2538 16.599 21.7462 7.5533 21.7462C4.76648 21.7462 2.17767 20.9391 0 19.5381C0.395953 19.5838 0.776625 19.599 1.18781 19.599C3.48727 19.599 5.60405 18.8224 7.29441 17.4975C5.13197 17.4518 3.31978 16.0356 2.69541 14.0863C3 14.132 3.30455 14.1624 3.62437 14.1624C4.06598 14.1624 4.50764 14.1015 4.91878 13.995C2.66498 13.5381 0.974578 11.5584 0.974578 9.16753V9.10664C1.62937 9.47213 2.39086 9.70055 3.19791 9.73097C1.87303 8.8477 1.00505 7.34011 1.00505 5.63452C1.00505 4.72083 1.24866 3.88327 1.67508 3.1523C4.09641 6.13706 7.73602 8.08627 11.8172 8.2995C11.7411 7.93402 11.6954 7.55335 11.6954 7.17263C11.6954 4.46194 13.8883 2.25385 16.6141 2.25385C18.0304 2.25385 19.3095 2.84775 20.208 3.80714C21.3197 3.59395 22.3857 3.18277 23.3299 2.61933C22.9643 3.76149 22.1877 4.72088 21.1674 5.32997C22.1573 5.22342 23.1167 4.94925 23.9999 4.56858C23.33 5.54316 22.4924 6.41114 21.533 7.11169Z"
44
+ fill="currentColor"
45
+ />
46
+ </svg>
47
+ );
48
+ };
49
+
50
+ export default TwitterIcon;
@@ -1,37 +1,37 @@
1
- import React from 'react';
2
-
3
- interface UserProps {
4
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
- className?: string;
6
- color?: string;
7
- }
8
-
9
- const User: React.FC<UserProps> = ({
10
- size = 'md',
11
- className = '',
12
- color
13
- }) => {
14
- const getSizeClasses = () => {
15
- switch (size) {
16
- case 'xs': return 'w-3 h-3';
17
- case 'sm': return 'w-4 h-4';
18
- case 'md': return 'w-5 h-5';
19
- case 'lg': return 'w-6 h-6';
20
- case 'xl': return 'w-8 h-8';
21
- default: return 'w-5 h-5';
22
- }
23
- };
24
-
25
- const sizeClasses = getSizeClasses();
26
- const colorClass = color ? `text-${color}` : 'text-current';
27
- const classes = `${sizeClasses} ${colorClass} ${className}`;
28
-
29
- return (
30
- <svg className={classes} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
31
- <path d="M20 21V19A4 4 0 0 0 16 15H8A4 4 0 0 0 4 19V21" />
32
- <circle cx="12" cy="7" r="4" />
33
- </svg>
34
- );
35
- };
36
-
37
- export default User;
1
+ import React from 'react';
2
+
3
+ interface UserProps {
4
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
+ className?: string;
6
+ color?: string;
7
+ }
8
+
9
+ const User: React.FC<UserProps> = ({
10
+ size = 'md',
11
+ className = '',
12
+ color
13
+ }) => {
14
+ const getSizeClasses = () => {
15
+ switch (size) {
16
+ case 'xs': return 'w-3 h-3';
17
+ case 'sm': return 'w-4 h-4';
18
+ case 'md': return 'w-5 h-5';
19
+ case 'lg': return 'w-6 h-6';
20
+ case 'xl': return 'w-8 h-8';
21
+ default: return 'w-5 h-5';
22
+ }
23
+ };
24
+
25
+ const sizeClasses = getSizeClasses();
26
+ const colorClass = color ? `text-${color}` : 'text-current';
27
+ const classes = `${sizeClasses} ${colorClass} ${className}`;
28
+
29
+ return (
30
+ <svg className={classes} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
31
+ <path d="M20 21V19A4 4 0 0 0 16 15H8A4 4 0 0 0 4 19V21" />
32
+ <circle cx="12" cy="7" r="4" />
33
+ </svg>
34
+ );
35
+ };
36
+
37
+ export default User;
@@ -1,63 +1,63 @@
1
- import React from 'react';
2
-
3
- interface UserIconProps {
4
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
- className?: string;
6
- color?: string;
7
- /**
8
- * Couleur par défaut si aucune couleur n'est spécifiée
9
- */
10
- defaultColor?: string;
11
- }
12
-
13
- const UserIcon: React.FC<UserIconProps> = ({
14
- size = 'md',
15
- className = '',
16
- color,
17
- defaultColor = '#262626'
18
- }) => {
19
- const getSizeClasses = () => {
20
- switch (size) {
21
- case 'xs': return 'w-3 h-3';
22
- case 'sm': return 'w-4 h-4';
23
- case 'md': return 'w-5 h-5';
24
- case 'lg': return 'w-6 h-6';
25
- case 'xl': return 'w-8 h-8';
26
- default: return 'w-5 h-5';
27
- }
28
- };
29
-
30
- const getSizeValues = () => {
31
- switch (size) {
32
- case 'xs': return { width: 8, height: 10 };
33
- case 'sm': return { width: 9, height: 12 };
34
- case 'md': return { width: 11, height: 14 };
35
- case 'lg': return { width: 13, height: 16 };
36
- case 'xl': return { width: 15, height: 18 };
37
- default: return { width: 11, height: 14 };
38
- }
39
- };
40
-
41
- const sizeClasses = getSizeClasses();
42
- const sizeValues = getSizeValues();
43
- const colorClass = color ? `text-${color}` : 'text-current';
44
- const classes = `${sizeClasses} ${colorClass} ${className}`;
45
-
46
- return (
47
- <svg
48
- className={classes}
49
- width={sizeValues.width}
50
- height={sizeValues.height}
51
- viewBox="0 0 11 14"
52
- fill="none"
53
- xmlns="http://www.w3.org/2000/svg"
54
- >
55
- <path
56
- d="M9.33301 12.75V11.417C9.33301 10.9087 9.13093 10.421 8.77148 10.0615C8.41213 9.70226 7.92513 9.50009 7.41699 9.5H3.41699C2.90866 9.5 2.42097 9.70208 2.06152 10.0615C1.70208 10.421 1.5 10.9087 1.5 11.417V12.75C1.5 13.1642 1.16421 13.5 0.75 13.5C0.335786 13.5 0 13.1642 0 12.75V11.417C0 10.5108 0.360227 9.64173 1.00098 9.00098C1.64173 8.36023 2.51084 8 3.41699 8H7.41699C8.32303 8.00009 9.19234 8.3603 9.83301 9.00098C10.4736 9.64169 10.833 10.511 10.833 11.417V12.75C10.833 13.1642 10.4972 13.5 10.083 13.5C9.66894 13.4998 9.33301 13.1641 9.33301 12.75ZM7.33301 3.41699C7.33301 2.35855 6.47539 1.50018 5.41699 1.5C4.35845 1.5 3.5 2.35845 3.5 3.41699C3.50018 4.47539 4.35855 5.33301 5.41699 5.33301C6.47528 5.33283 7.33283 4.47528 7.33301 3.41699ZM8.83301 3.41699C8.83283 5.30371 7.30371 6.83283 5.41699 6.83301C3.53013 6.83301 2.00018 5.30382 2 3.41699C2 1.53002 3.53002 0 5.41699 0C7.30382 0.000175741 8.83301 1.53013 8.83301 3.41699Z"
57
- fill="currentColor"
58
- />
59
- </svg>
60
- );
61
- };
62
-
63
- export default UserIcon;
1
+ import React from 'react';
2
+
3
+ interface UserIconProps {
4
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
+ className?: string;
6
+ color?: string;
7
+ /**
8
+ * Couleur par défaut si aucune couleur n'est spécifiée
9
+ */
10
+ defaultColor?: string;
11
+ }
12
+
13
+ const UserIcon: React.FC<UserIconProps> = ({
14
+ size = 'md',
15
+ className = '',
16
+ color,
17
+ defaultColor = '#262626'
18
+ }) => {
19
+ const getSizeClasses = () => {
20
+ switch (size) {
21
+ case 'xs': return 'w-3 h-3';
22
+ case 'sm': return 'w-4 h-4';
23
+ case 'md': return 'w-5 h-5';
24
+ case 'lg': return 'w-6 h-6';
25
+ case 'xl': return 'w-8 h-8';
26
+ default: return 'w-5 h-5';
27
+ }
28
+ };
29
+
30
+ const getSizeValues = () => {
31
+ switch (size) {
32
+ case 'xs': return { width: 8, height: 10 };
33
+ case 'sm': return { width: 9, height: 12 };
34
+ case 'md': return { width: 11, height: 14 };
35
+ case 'lg': return { width: 13, height: 16 };
36
+ case 'xl': return { width: 15, height: 18 };
37
+ default: return { width: 11, height: 14 };
38
+ }
39
+ };
40
+
41
+ const sizeClasses = getSizeClasses();
42
+ const sizeValues = getSizeValues();
43
+ const colorClass = color ? `text-${color}` : 'text-current';
44
+ const classes = `${sizeClasses} ${colorClass} ${className}`;
45
+
46
+ return (
47
+ <svg
48
+ className={classes}
49
+ width={sizeValues.width}
50
+ height={sizeValues.height}
51
+ viewBox="0 0 11 14"
52
+ fill="none"
53
+ xmlns="http://www.w3.org/2000/svg"
54
+ >
55
+ <path
56
+ d="M9.33301 12.75V11.417C9.33301 10.9087 9.13093 10.421 8.77148 10.0615C8.41213 9.70226 7.92513 9.50009 7.41699 9.5H3.41699C2.90866 9.5 2.42097 9.70208 2.06152 10.0615C1.70208 10.421 1.5 10.9087 1.5 11.417V12.75C1.5 13.1642 1.16421 13.5 0.75 13.5C0.335786 13.5 0 13.1642 0 12.75V11.417C0 10.5108 0.360227 9.64173 1.00098 9.00098C1.64173 8.36023 2.51084 8 3.41699 8H7.41699C8.32303 8.00009 9.19234 8.3603 9.83301 9.00098C10.4736 9.64169 10.833 10.511 10.833 11.417V12.75C10.833 13.1642 10.4972 13.5 10.083 13.5C9.66894 13.4998 9.33301 13.1641 9.33301 12.75ZM7.33301 3.41699C7.33301 2.35855 6.47539 1.50018 5.41699 1.5C4.35845 1.5 3.5 2.35845 3.5 3.41699C3.50018 4.47539 4.35855 5.33301 5.41699 5.33301C6.47528 5.33283 7.33283 4.47528 7.33301 3.41699ZM8.83301 3.41699C8.83283 5.30371 7.30371 6.83283 5.41699 6.83301C3.53013 6.83301 2.00018 5.30382 2 3.41699C2 1.53002 3.53002 0 5.41699 0C7.30382 0.000175741 8.83301 1.53013 8.83301 3.41699Z"
57
+ fill="currentColor"
58
+ />
59
+ </svg>
60
+ );
61
+ };
62
+
63
+ export default UserIcon;
@@ -1,50 +1,50 @@
1
- import React from "react";
2
-
3
- interface YouTubeIconProps {
4
- size?: "xs" | "sm" | "md" | "lg" | "xl";
5
- className?: string;
6
- color?: string;
7
- }
8
-
9
- const YouTubeIcon: React.FC<YouTubeIconProps> = ({
10
- size = "md",
11
- className = "",
12
- color,
13
- }) => {
14
- const getSizeClasses = () => {
15
- switch (size) {
16
- case "xs":
17
- return "w-3 h-3";
18
- case "sm":
19
- return "w-4 h-4";
20
- case "md":
21
- return "w-5 h-5";
22
- case "lg":
23
- return "w-6 h-6";
24
- case "xl":
25
- return "w-8 h-8";
26
- default:
27
- return "w-5 h-5";
28
- }
29
- };
30
-
31
- const sizeClasses = getSizeClasses();
32
- const colorClass = color ? `text-${color}` : "text-current";
33
- const classes = `${sizeClasses} ${colorClass} ${className}`;
34
-
35
- return (
36
- <svg
37
- viewBox="0 0 24 24"
38
- fill="none"
39
- xmlns="http://www.w3.org/2000/svg"
40
- className={classes}
41
- >
42
- <path
43
- d="M22.9024 6.50346C22.6407 5.51804 21.8696 4.74196 20.8906 4.47858C19.116 4 12.0001 4 12.0001 4C12.0001 4 4.88427 4 3.10965 4.47858C2.13061 4.742 1.35952 5.51804 1.09781 6.50346C0.622314 8.28958 0.622314 12.0162 0.622314 12.0162C0.622314 12.0162 0.622314 15.7427 1.09781 17.5289C1.35952 18.5143 2.13061 19.258 3.10965 19.5214C4.88427 20 12.0001 20 12.0001 20C12.0001 20 19.1159 20 20.8906 19.5214C21.8696 19.258 22.6407 18.5143 22.9024 17.5289C23.3779 15.7427 23.3779 12.0162 23.3779 12.0162C23.3779 12.0162 23.3779 8.28958 22.9024 6.50346ZM9.67282 15.3996V8.63271L15.6203 12.0162L9.67282 15.3996Z"
44
- fill="currentColor"
45
- />
46
- </svg>
47
- );
48
- };
49
-
50
- export default YouTubeIcon;
1
+ import React from "react";
2
+
3
+ interface YouTubeIconProps {
4
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
5
+ className?: string;
6
+ color?: string;
7
+ }
8
+
9
+ const YouTubeIcon: React.FC<YouTubeIconProps> = ({
10
+ size = "md",
11
+ className = "",
12
+ color,
13
+ }) => {
14
+ const getSizeClasses = () => {
15
+ switch (size) {
16
+ case "xs":
17
+ return "w-3 h-3";
18
+ case "sm":
19
+ return "w-4 h-4";
20
+ case "md":
21
+ return "w-5 h-5";
22
+ case "lg":
23
+ return "w-6 h-6";
24
+ case "xl":
25
+ return "w-8 h-8";
26
+ default:
27
+ return "w-5 h-5";
28
+ }
29
+ };
30
+
31
+ const sizeClasses = getSizeClasses();
32
+ const colorClass = color ? `text-${color}` : "text-current";
33
+ const classes = `${sizeClasses} ${colorClass} ${className}`;
34
+
35
+ return (
36
+ <svg
37
+ viewBox="0 0 24 24"
38
+ fill="none"
39
+ xmlns="http://www.w3.org/2000/svg"
40
+ className={classes}
41
+ >
42
+ <path
43
+ d="M22.9024 6.50346C22.6407 5.51804 21.8696 4.74196 20.8906 4.47858C19.116 4 12.0001 4 12.0001 4C12.0001 4 4.88427 4 3.10965 4.47858C2.13061 4.742 1.35952 5.51804 1.09781 6.50346C0.622314 8.28958 0.622314 12.0162 0.622314 12.0162C0.622314 12.0162 0.622314 15.7427 1.09781 17.5289C1.35952 18.5143 2.13061 19.258 3.10965 19.5214C4.88427 20 12.0001 20 12.0001 20C12.0001 20 19.1159 20 20.8906 19.5214C21.8696 19.258 22.6407 18.5143 22.9024 17.5289C23.3779 15.7427 23.3779 12.0162 23.3779 12.0162C23.3779 12.0162 23.3779 8.28958 22.9024 6.50346ZM9.67282 15.3996V8.63271L15.6203 12.0162L9.67282 15.3996Z"
44
+ fill="currentColor"
45
+ />
46
+ </svg>
47
+ );
48
+ };
49
+
50
+ export default YouTubeIcon;
@@ -1,28 +1,28 @@
1
- import React from 'react';
2
-
3
- export interface IllustrationProps
4
- extends React.ImgHTMLAttributes<HTMLImageElement> {
5
- /**
6
- * Source of the illustration.
7
- * This will typically be an imported SVG/PNG from the assets directory.
8
- */
9
- src: string;
10
- }
11
-
12
- /**
13
- * Generic Illustration atom.
14
- * It focuses on consistent rendering (responsive, block-level) while
15
- * letting the caller control which asset is used.
16
- */
17
- export const Illustration: React.FC<IllustrationProps> = ({
18
- src,
19
- className = '',
20
- ...rest
21
- }) => {
22
- const classes = ['illustration', className].filter(Boolean).join(' ');
23
-
24
- return <img src={src} className={classes} {...rest} />;
25
- };
26
-
27
-
28
-
1
+ import React from 'react';
2
+
3
+ export interface IllustrationProps
4
+ extends React.ImgHTMLAttributes<HTMLImageElement> {
5
+ /**
6
+ * Source of the illustration.
7
+ * This will typically be an imported SVG/PNG from the assets directory.
8
+ */
9
+ src: string;
10
+ }
11
+
12
+ /**
13
+ * Generic Illustration atom.
14
+ * It focuses on consistent rendering (responsive, block-level) while
15
+ * letting the caller control which asset is used.
16
+ */
17
+ export const Illustration: React.FC<IllustrationProps> = ({
18
+ src,
19
+ className = '',
20
+ ...rest
21
+ }) => {
22
+ const classes = ['illustration', className].filter(Boolean).join(' ');
23
+
24
+ return <img src={src} className={classes} {...rest} />;
25
+ };
26
+
27
+
28
+