imbric-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. package/.babelrc.json +3 -0
  2. package/.commitlintrc.json +3 -0
  3. package/.dockerignore +14 -0
  4. package/.editorconfig +13 -0
  5. package/.eslintignore +1 -0
  6. package/.eslintrc.json +36 -0
  7. package/.huskyrc.json +6 -0
  8. package/.lintstagedrc.json +5 -0
  9. package/.nvmrc +1 -0
  10. package/.prettierignore +1 -0
  11. package/.prettierrc.json +4 -0
  12. package/.releaserc.json +13 -0
  13. package/.storybook/main.js +13 -0
  14. package/.storybook/preview-head.html +2 -0
  15. package/.storybook/preview.js +53 -0
  16. package/.stylelintrc.json +14 -0
  17. package/.vscode/launch.json +15 -0
  18. package/.vscode/settings.json +3 -0
  19. package/CHANGELOG.md +0 -0
  20. package/Dockerfile +17 -0
  21. package/README.md +69 -0
  22. package/atoms/AlertModal/AlertModal.js +69 -0
  23. package/atoms/AlertModal/AlertModal.module.css +3 -0
  24. package/atoms/AlertModal/AlertModal.stories.js +30 -0
  25. package/atoms/AlertModal/constants.js +4 -0
  26. package/atoms/AlertModal/index.js +3 -0
  27. package/atoms/Avatar/Avatar.js +36 -0
  28. package/atoms/Avatar/Avatar.module.css +3 -0
  29. package/atoms/Avatar/Avatar.stories.js +29 -0
  30. package/atoms/Avatar/__snapshots__/Avatar.stories.js.snap +105 -0
  31. package/atoms/Avatar/constants.js +3 -0
  32. package/atoms/Avatar/helpers.js +7 -0
  33. package/atoms/Avatar/index.js +3 -0
  34. package/atoms/Button/Button.js +83 -0
  35. package/atoms/Button/Button.module.css +85 -0
  36. package/atoms/Button/Button.stories.js +47 -0
  37. package/atoms/Button/Button.test.js +60 -0
  38. package/atoms/Button/__snapshots__/Button.stories.js.snap +191 -0
  39. package/atoms/Button/constants.js +3 -0
  40. package/atoms/Button/index.js +3 -0
  41. package/atoms/Card/Card.js +48 -0
  42. package/atoms/Card/Card.module.css +52 -0
  43. package/atoms/Card/Card.stories.js +41 -0
  44. package/atoms/Card/__snapshots__/Card.stories.js.snap +136 -0
  45. package/atoms/Card/constants.js +4 -0
  46. package/atoms/Card/index.js +3 -0
  47. package/atoms/Check/Check.js +28 -0
  48. package/atoms/Check/Check.module.css +11 -0
  49. package/atoms/Check/Check.stories.js +15 -0
  50. package/atoms/Check/__snapshots__/Check.stories.js.snap +67 -0
  51. package/atoms/Check/index.js +2 -0
  52. package/atoms/Checkbox/Checkbox.js +77 -0
  53. package/atoms/Checkbox/Checkbox.module.css +60 -0
  54. package/atoms/Checkbox/Checkbox.stories.js +30 -0
  55. package/atoms/Checkbox/constants.js +1 -0
  56. package/atoms/Checkbox/index.js +3 -0
  57. package/atoms/Divider/Divider.js +22 -0
  58. package/atoms/Divider/Divider.module.css +25 -0
  59. package/atoms/Divider/Divider.stories.js +23 -0
  60. package/atoms/Divider/__snapshots__/Divider.stories.js.snap +22 -0
  61. package/atoms/Divider/constants.js +3 -0
  62. package/atoms/Divider/index.js +3 -0
  63. package/atoms/Heading/Heading.js +37 -0
  64. package/atoms/Heading/Heading.module.css +70 -0
  65. package/atoms/Heading/Heading.stories.js +46 -0
  66. package/atoms/Heading/__snapshots__/Heading.stories.js.snap +189 -0
  67. package/atoms/Heading/constants.js +5 -0
  68. package/atoms/Heading/index.js +3 -0
  69. package/atoms/Icon/Icon.js +66 -0
  70. package/atoms/Icon/Icon.module.css +142 -0
  71. package/atoms/Icon/Icon.stories.js +48 -0
  72. package/atoms/Icon/__snapshots__/Icon.stories.js.snap +1311 -0
  73. package/atoms/Icon/constants.js +1091 -0
  74. package/atoms/Icon/helpers.js +9 -0
  75. package/atoms/Icon/index.js +3 -0
  76. package/atoms/Input/Input.js +229 -0
  77. package/atoms/Input/Input.module.css +83 -0
  78. package/atoms/Input/Input.stories.js +38 -0
  79. package/atoms/Input/__snapshots__/Input.stories.js.snap +101 -0
  80. package/atoms/Input/constants.js +3 -0
  81. package/atoms/Input/index.js +3 -0
  82. package/atoms/Label/Label.js +31 -0
  83. package/atoms/Label/Label.module.css +42 -0
  84. package/atoms/Label/Label.stories.js +26 -0
  85. package/atoms/Label/constants.js +1 -0
  86. package/atoms/Label/index.js +3 -0
  87. package/atoms/LinkItem/LinkItem.js +38 -0
  88. package/atoms/LinkItem/LinkItem.module.css +19 -0
  89. package/atoms/LinkItem/LinkItem.stories.js +30 -0
  90. package/atoms/LinkItem/__snapshots__/Link.stories.js.snap +118 -0
  91. package/atoms/LinkItem/constants.js +5 -0
  92. package/atoms/LinkItem/index.js +3 -0
  93. package/atoms/Loading/Loading.js +30 -0
  94. package/atoms/Loading/Loading.module.css +51 -0
  95. package/atoms/Loading/Loading.stories.js +17 -0
  96. package/atoms/Loading/__snapshots__/Loading.stories.js.snap +26 -0
  97. package/atoms/Loading/index.js +2 -0
  98. package/atoms/Modal/Modal.js +121 -0
  99. package/atoms/Modal/Modal.module.css +142 -0
  100. package/atoms/Modal/Modal.stories.js +43 -0
  101. package/atoms/Modal/__snapshots__/Modal.stories.js.snap +239 -0
  102. package/atoms/Modal/constants.js +1 -0
  103. package/atoms/Modal/index.js +3 -0
  104. package/atoms/Paragraph/Paragraph.js +56 -0
  105. package/atoms/Paragraph/Paragraph.module.css +72 -0
  106. package/atoms/Paragraph/Paragraph.stories.js +52 -0
  107. package/atoms/Paragraph/__snapshots__/Paragraph.stories.js.snap +230 -0
  108. package/atoms/Paragraph/constants.js +5 -0
  109. package/atoms/Paragraph/index.js +3 -0
  110. package/atoms/Picture/Picture.js +47 -0
  111. package/atoms/Picture/Picture.module.css +16 -0
  112. package/atoms/Picture/Picture.stories.js +32 -0
  113. package/atoms/Picture/__snapshots__/Picture.stories.js.snap +156 -0
  114. package/atoms/Picture/index.js +2 -0
  115. package/atoms/Tab/Tab.js +41 -0
  116. package/atoms/Tab/Tab.module.css +17 -0
  117. package/atoms/Tab/Tab.stories.js +27 -0
  118. package/atoms/Tab/constants.js +1 -0
  119. package/atoms/Tab/index.js +3 -0
  120. package/atoms/Textarea/Textarea.js +137 -0
  121. package/atoms/Textarea/Textarea.module.css +54 -0
  122. package/atoms/Textarea/Textarea.stories.js +16 -0
  123. package/atoms/Textarea/__snapshots__/Textarea.stories.js.snap +25 -0
  124. package/atoms/Textarea/index.js +2 -0
  125. package/atoms/Toggle/Toggle.js +56 -0
  126. package/atoms/Toggle/Toggle.module.css +41 -0
  127. package/atoms/Toggle/Toggle.stories.js +21 -0
  128. package/atoms/Toggle/constants.js +1 -0
  129. package/atoms/Toggle/index.js +3 -0
  130. package/codecov.yml +2 -0
  131. package/helpers/storybook.js +29 -0
  132. package/helpers/storybook.test.js +40 -0
  133. package/helpers/styles.js +37 -0
  134. package/helpers/styles.test.js +222 -0
  135. package/hocs/withStyles.js +17 -0
  136. package/hook/useAddColumn.js +40 -0
  137. package/hook/useMedia.js +22 -0
  138. package/hook/useStateDate.js +25 -0
  139. package/hook/useTable.js +54 -0
  140. package/index.js +71 -0
  141. package/jest.config.js +23 -0
  142. package/jest.setup.js +13 -0
  143. package/layout/CenteredContent/CenteredContent.js +30 -0
  144. package/layout/CenteredContent/CenteredContent.module.css +12 -0
  145. package/layout/CenteredContent/CenteredContent.stories.js +22 -0
  146. package/layout/CenteredContent/__snapshots__/CenteredContent.stories.js.snap +27 -0
  147. package/layout/CenteredContent/index.js +2 -0
  148. package/layout/Container/Container.js +29 -0
  149. package/layout/Container/Container.module.css +14 -0
  150. package/layout/Container/Container.stories.js +22 -0
  151. package/layout/Container/__snapshots__/Container.stories.js.snap +27 -0
  152. package/layout/Container/index.js +2 -0
  153. package/layout/DynamicTable/DynamicTable.js +372 -0
  154. package/layout/DynamicTable/DynamicTable.module.css +76 -0
  155. package/layout/DynamicTable/DynamicTable.stories.js +79 -0
  156. package/layout/DynamicTable/constants.js +323 -0
  157. package/layout/DynamicTable/index.js +3 -0
  158. package/layout/FlexColumnContent/FlexColumnContent.js +26 -0
  159. package/layout/FlexColumnContent/FlexColumnContent.module.css +5 -0
  160. package/layout/FlexColumnContent/FlexColumnContent.stories.js +28 -0
  161. package/layout/FlexColumnContent/constants.js +1 -0
  162. package/layout/FlexColumnContent/index.js +3 -0
  163. package/layout/FullHeightContent/FullHeightContent.js +40 -0
  164. package/layout/FullHeightContent/FullHeightContent.module.css +21 -0
  165. package/layout/FullHeightContent/FullHeightContent.stories.js +22 -0
  166. package/layout/FullHeightContent/__snapshots__/FullHeightContent.stories.js.snap +41 -0
  167. package/layout/FullHeightContent/index.js +2 -0
  168. package/layout/Navbar/Navbar.js +247 -0
  169. package/layout/Navbar/Navbar.module.css +35 -0
  170. package/layout/Navbar/Navbar.stories.js +20 -0
  171. package/layout/Navbar/constants.js +35 -0
  172. package/layout/Navbar/index.js +2 -0
  173. package/layout/Sidebar/Sidebar.js +115 -0
  174. package/layout/Sidebar/Sidebar.module.css +387 -0
  175. package/layout/Sidebar/Sidebar.stories.js +28 -0
  176. package/layout/Sidebar/constants.js +228 -0
  177. package/layout/Sidebar/index.js +3 -0
  178. package/layout/Spacer/Spacer.js +40 -0
  179. package/layout/Spacer/Spacer.module.css +12 -0
  180. package/layout/Spacer/Spacer.stories.js +25 -0
  181. package/layout/Spacer/__snapshots__/Spacer.stories.js.snap +97 -0
  182. package/layout/Spacer/components/Horizontal/Horizontal.js +43 -0
  183. package/layout/Spacer/components/Horizontal/Horizontal.stories.js +32 -0
  184. package/layout/Spacer/components/Horizontal/__snapshots__/Horizontal.stories.js.snap +97 -0
  185. package/layout/Spacer/components/Horizontal/index.js +1 -0
  186. package/layout/Spacer/components/Vertical/Vertical.js +31 -0
  187. package/layout/Spacer/components/Vertical/Vertical.stories.js +25 -0
  188. package/layout/Spacer/components/Vertical/__snapshots__/Vertical.stories.js.snap +85 -0
  189. package/layout/Spacer/components/Vertical/index.js +1 -0
  190. package/layout/Spacer/components/index.js +2 -0
  191. package/layout/Spacer/constants.js +5 -0
  192. package/layout/Spacer/helpers.js +3 -0
  193. package/layout/Spacer/index.js +3 -0
  194. package/molecules/Accordion/Accordion.js +70 -0
  195. package/molecules/Accordion/Accordion.module.css +12 -0
  196. package/molecules/Accordion/Accordion.stories.js +31 -0
  197. package/molecules/Accordion/__snapshots__/Accordion.stories.js.snap +228 -0
  198. package/molecules/Accordion/index.js +2 -0
  199. package/molecules/AddButton/AddButton.js +137 -0
  200. package/molecules/AddButton/AddButton.module.css +128 -0
  201. package/molecules/AddButton/AddButton.stories.js +47 -0
  202. package/molecules/AddButton/__snapshots__/AddButton.stories.js.snap +326 -0
  203. package/molecules/AddButton/constants.js +6 -0
  204. package/molecules/AddButton/handlers.js +58 -0
  205. package/molecules/AddButton/handlers.test.js +19 -0
  206. package/molecules/AddButton/helpers.js +6 -0
  207. package/molecules/AddButton/helpers.test.js +41 -0
  208. package/molecules/AddButton/hooks.js +14 -0
  209. package/molecules/AddButton/index.js +3 -0
  210. package/molecules/ButtonIcon/ButtonIcon.js +41 -0
  211. package/molecules/ButtonIcon/ButtonIcon.stories.js +27 -0
  212. package/molecules/ButtonIcon/__snapshots__/ButtonIcon.stories.js.snap +178 -0
  213. package/molecules/ButtonIcon/constants.js +6 -0
  214. package/molecules/ButtonIcon/index.js +2 -0
  215. package/molecules/CardDefault/CardDefault.js +65 -0
  216. package/molecules/CardDefault/CardDefault.module.css +19 -0
  217. package/molecules/CardDefault/CardDefault.stories.js +23 -0
  218. package/molecules/CardDefault/constants.js +1 -0
  219. package/molecules/CardDefault/index.js +3 -0
  220. package/molecules/CardProductTypesBooking/CardProductTypesBooking.js +89 -0
  221. package/molecules/CardProductTypesBooking/CardProductTypesBooking.module.css +118 -0
  222. package/molecules/CardProductTypesBooking/CardProductTypesBooking.stories.js +25 -0
  223. package/molecules/CardProductTypesBooking/constants.js +1 -0
  224. package/molecules/CardProductTypesBooking/index.js +3 -0
  225. package/molecules/CardServiceDetail/CardServiceDetail.js +400 -0
  226. package/molecules/CardServiceDetail/CardServiceDetail.module.css +222 -0
  227. package/molecules/CardServiceDetail/CardServiceDetail.stories.js +23 -0
  228. package/molecules/CardServiceDetail/constants.js +1 -0
  229. package/molecules/CardServiceDetail/index.js +3 -0
  230. package/molecules/CardServices/CardServices.js +461 -0
  231. package/molecules/CardServices/CardServices.module.css +213 -0
  232. package/molecules/CardServices/CardServices.stories.js +41 -0
  233. package/molecules/CardServices/constants.js +5 -0
  234. package/molecules/CardServices/index.js +3 -0
  235. package/molecules/CardServicesFinalized/CardServicesFinalized.js +381 -0
  236. package/molecules/CardServicesFinalized/CardServicesFinalized.module.css +213 -0
  237. package/molecules/CardServicesFinalized/CardServicesFinalized.stories.js +23 -0
  238. package/molecules/CardServicesFinalized/constants.js +1 -0
  239. package/molecules/CardServicesFinalized/index.js +3 -0
  240. package/molecules/CheckList/CheckList.js +135 -0
  241. package/molecules/CheckList/CheckList.module.css +94 -0
  242. package/molecules/CheckList/CheckList.stories.js +25 -0
  243. package/molecules/CheckList/constants.js +23 -0
  244. package/molecules/CheckList/index.js +3 -0
  245. package/molecules/ColumnTable/ColumnTable.js +154 -0
  246. package/molecules/ColumnTable/ColumnTable.module.css +51 -0
  247. package/molecules/ColumnTable/ColumnTable.stories.js +26 -0
  248. package/molecules/ColumnTable/constants.js +117 -0
  249. package/molecules/ColumnTable/index.js +3 -0
  250. package/molecules/DatePicker/DatePicker.js +242 -0
  251. package/molecules/DatePicker/DatePicker.module.css +38 -0
  252. package/molecules/DatePicker/DatePicker.stories.js +23 -0
  253. package/molecules/DatePicker/constants.js +3 -0
  254. package/molecules/DatePicker/index.js +3 -0
  255. package/molecules/DatePickerTime/DatePickerTime.js +133 -0
  256. package/molecules/DatePickerTime/DatePickerTime.module.css +3 -0
  257. package/molecules/DatePickerTime/DatePickerTime.stories.js +18 -0
  258. package/molecules/DatePickerTime/constants.js +1 -0
  259. package/molecules/DatePickerTime/index.js +3 -0
  260. package/molecules/Dropdown/Dropdown.js +62 -0
  261. package/molecules/Dropdown/Dropdown.module.css +52 -0
  262. package/molecules/Dropdown/Dropdown.stories.js +41 -0
  263. package/molecules/Dropdown/__snapshots__/Dropdown.stories.js.snap +181 -0
  264. package/molecules/Dropdown/index.js +2 -0
  265. package/molecules/DynamicSelect/DynamicSelect.js +186 -0
  266. package/molecules/DynamicSelect/DynamicSelect.module.css +10 -0
  267. package/molecules/DynamicSelect/DynamicSelect.stories.js +32 -0
  268. package/molecules/DynamicSelect/constants.js +7 -0
  269. package/molecules/DynamicSelect/index.js +3 -0
  270. package/molecules/Error/Error.js +35 -0
  271. package/molecules/Error/Error.module.css +12 -0
  272. package/molecules/Error/Error.stories.js +18 -0
  273. package/molecules/Error/__snapshots__/Error.stories.js.snap +134 -0
  274. package/molecules/Error/index.js +2 -0
  275. package/molecules/FooterTable/FooterTable.js +166 -0
  276. package/molecules/FooterTable/FooterTable.module.css +63 -0
  277. package/molecules/FooterTable/FooterTable.stories.js +23 -0
  278. package/molecules/FooterTable/constants.js +9 -0
  279. package/molecules/FooterTable/index.js +3 -0
  280. package/molecules/IconLabel/IconLabel.js +83 -0
  281. package/molecules/IconLabel/IconLabel.module.css +16 -0
  282. package/molecules/IconLabel/IconLabel.stories.js +25 -0
  283. package/molecules/IconLabel/__snapshots__/IconLabel.stories.js.snap +211 -0
  284. package/molecules/IconLabel/constants.js +6 -0
  285. package/molecules/IconLabel/index.js +3 -0
  286. package/molecules/InputAutocomplete/InputAutocomplete.js +221 -0
  287. package/molecules/InputAutocomplete/InputAutocomplete.module.css +55 -0
  288. package/molecules/InputAutocomplete/InputAutocomplete.stories.js +23 -0
  289. package/molecules/InputAutocomplete/constants.js +1 -0
  290. package/molecules/InputAutocomplete/index.js +3 -0
  291. package/molecules/ItemMenu/ItemMenu.js +134 -0
  292. package/molecules/ItemMenu/ItemMenu.module.css +363 -0
  293. package/molecules/ItemMenu/ItemMenu.stories.js +42 -0
  294. package/molecules/ItemMenu/constants.js +36 -0
  295. package/molecules/ItemMenu/index.js +3 -0
  296. package/molecules/LoadingError/LoadingError.js +31 -0
  297. package/molecules/LoadingError/LoadingError.stories.js +24 -0
  298. package/molecules/LoadingError/__snapshots__/LoadingError.stories.js.snap +109 -0
  299. package/molecules/LoadingError/index.js +1 -0
  300. package/molecules/RowTable/RowTable.js +928 -0
  301. package/molecules/RowTable/RowTable.module.css +63 -0
  302. package/molecules/RowTable/RowTable.stories.js +26 -0
  303. package/molecules/RowTable/constants.js +798 -0
  304. package/molecules/RowTable/index.js +3 -0
  305. package/molecules/Score/Score.js +61 -0
  306. package/molecules/Score/Score.module.css +11 -0
  307. package/molecules/Score/Score.stories.js +13 -0
  308. package/molecules/Score/__snapshots__/Score.stories.js.snap +100 -0
  309. package/molecules/Score/faces/happy.svg +7 -0
  310. package/molecules/Score/faces/normal.svg +6 -0
  311. package/molecules/Score/faces/sad.svg +6 -0
  312. package/molecules/Score/index.js +2 -0
  313. package/molecules/Tabs/Tabs.js +59 -0
  314. package/molecules/Tabs/Tabs.module.css +13 -0
  315. package/molecules/Tabs/Tabs.stories.js +34 -0
  316. package/molecules/Tabs/constants.js +34 -0
  317. package/molecules/Tabs/index.js +3 -0
  318. package/molecules/Task/Task.js +114 -0
  319. package/molecules/Task/Task.module.css +47 -0
  320. package/molecules/Task/Task.stories.js +47 -0
  321. package/molecules/Task/__snapshots__/Task.stories.js.snap +953 -0
  322. package/molecules/Task/constants.js +1 -0
  323. package/molecules/Task/index.js +3 -0
  324. package/molecules/TaskCounter/TaskCounter.js +74 -0
  325. package/molecules/TaskCounter/TaskCounter.module.css +11 -0
  326. package/molecules/TaskCounter/TaskCounter.stories.js +26 -0
  327. package/molecules/TaskCounter/__snapshots__/TaskCounter.stories.js.snap +177 -0
  328. package/molecules/TaskCounter/index.js +2 -0
  329. package/package.json +119 -0
  330. package/pages/Login/Login.js +102 -0
  331. package/pages/Login/Login.module.css +5 -0
  332. package/pages/Login/Login.stories.js +23 -0
  333. package/pages/Login/constants.js +1 -0
  334. package/pages/Login/index.js +3 -0
  335. package/pages/Login/validation/loginSchema.js +5 -0
  336. package/public/favicon.ico +0 -0
  337. package/public/static/google-maps.png +0 -0
  338. package/public/static/images/folders-folder.svg +26 -0
  339. package/public/static/images/permissions.svg +14 -0
  340. package/public/static/images/reports-results.svg +18 -0
  341. package/public/static/logo.svg +19 -0
  342. package/public/static/logologin.png +0 -0
  343. package/public/static/logologin.svg +16 -0
  344. package/public/static/logologintagos.svg +19 -0
  345. package/public/static/logotipo.svg +50 -0
  346. package/public/static/logotipoS.svg +26 -0
  347. package/public/static/taxisvalencia_logod.png +0 -0
  348. package/scripts/build-tokens.js +40 -0
  349. package/scripts/create-component.js +128 -0
  350. package/storybook.test.js +13 -0
  351. package/styles/GrupoMutua.css +391 -0
  352. package/styles/default.css +391 -0
  353. package/styles/globals.css +1524 -0
  354. package/styles/radiotaxiaragon.css +391 -0
  355. package/styles/spartan.css +391 -0
  356. package/styles/tagos.css +391 -0
  357. package/styles/taxisvalencia.css +391 -0
  358. package/styles/tokens.css +391 -0
  359. package/templates/component/Component.js +22 -0
  360. package/templates/component/Component.module.css +3 -0
  361. package/templates/component/Component.stories.js +23 -0
  362. package/templates/component/constants.js +1 -0
  363. package/templates/component/index.js +3 -0
  364. package/tokens/Token/Helper.js +30 -0
  365. package/tokens/Token/Token.js +13 -0
  366. package/tokens/Token/Token.module.css +64 -0
  367. package/tokens/Token/components/Color.js +21 -0
  368. package/tokens/Token/components/Color.stories.js +126 -0
  369. package/tokens/Token/components/FontFamily.js +24 -0
  370. package/tokens/Token/components/FontFamily.stories.js +32 -0
  371. package/tokens/Token/components/FontSize.js +24 -0
  372. package/tokens/Token/components/FontSize.stories.js +31 -0
  373. package/tokens/Token/components/FontWeight.js +24 -0
  374. package/tokens/Token/components/FontWeight.stories.js +31 -0
  375. package/tokens/Token/components/Spacing.js +24 -0
  376. package/tokens/Token/components/Spacing.stories.js +29 -0
  377. package/tokens/Token/components/__snapshots__/Color.stories.js.snap +7169 -0
  378. package/tokens/Token/components/__snapshots__/FontFamily.stories.js.snap +133 -0
  379. package/tokens/Token/components/__snapshots__/FontSize.stories.js.snap +261 -0
  380. package/tokens/Token/components/__snapshots__/FontWeight.stories.js.snap +317 -0
  381. package/tokens/Token/components/__snapshots__/Spacing.stories.js.snap +229 -0
  382. package/tokens/Token/components/index.js +5 -0
  383. package/tokens/Token/helpers.js +17 -0
  384. package/tokens/Token/index.js +1 -0
  385. package/tokens/index.js +472 -0
  386. package/utils/isEmpty.js +28 -0
  387. package/utils/isEmpty.test.js +125 -0
  388. package/utils/isObject.js +4 -0
  389. package/utils/keyboardCodes.js +6 -0
  390. package/utils/testUtils/matchMediaMock.js +14 -0
  391. package/utils/testUtils/svgrMock.js +2 -0
  392. package/utils/toCapitalize.js +4 -0
  393. package/utils/toKebabCase.js +8 -0
  394. package/utils/toPascalCase.js +20 -0
  395. package/webpack/cssModules.js +30 -0
  396. package/webpack/loadConfigs.js +6 -0
  397. package/webpack/reactInlineSvg.js +22 -0
@@ -0,0 +1,400 @@
1
+ import React, { useState } from 'react'
2
+ import PropTypes from 'prop-types'
3
+ import ReactTooltip from 'react-tooltip'
4
+ import { Horizontal, Vertical } from '../../layout/Spacer/components'
5
+ import Label from '../../atoms/Label'
6
+ import Icon from '../../atoms/Icon'
7
+
8
+ import styles from './CardServiceDetail.module.css'
9
+ import { options } from './constants'
10
+ import withStyles from '../../hocs/withStyles'
11
+
12
+ export const handleClick = ({ onClick }) => (event) => {
13
+ onClick(event)
14
+ }
15
+
16
+ export const CardServiceDetail = ({
17
+ getStyles,
18
+ onClick,
19
+ isClickable,
20
+ txtInfoLabel,
21
+ txtUserService,
22
+ statusService,
23
+ txtZoneService,
24
+ txtTimeTotalService,
25
+ txtDistanceService,
26
+ txtServiceService,
27
+ txtPayService,
28
+ txtPriceService,
29
+ txtRefService,
30
+ txtModelCarService,
31
+ txtCarNumberService,
32
+ txtNumberDriverService,
33
+ txtSmsDriverService,
34
+ onClickCross,
35
+ txtTootipCross,
36
+ labelUserService,
37
+ labelZoneService,
38
+ labelTimeTotalService,
39
+ labelDistanceService,
40
+ labelServiceService,
41
+ labelPayService,
42
+ labelPriceService,
43
+ labelRefService,
44
+ labelModelCarService,
45
+ labelCarNumberService,
46
+ labelNumberDriverService,
47
+ labelSmsDriverService,
48
+ }) => {
49
+
50
+ // STATE TOOLTIP
51
+ const [isToolTipMounted, setIsToolTipMounted] = useState(false)
52
+
53
+ // TOOLTIP
54
+ const handleMouseEnter = () => {
55
+ setIsToolTipMounted(true)
56
+ }
57
+ const handleMouseLeave = () => {
58
+ setIsToolTipMounted(false)
59
+ }
60
+
61
+
62
+ return (
63
+ <div
64
+ onClick={onClick && handleClick({ onClick })}
65
+ className={getStyles('card-service-detail',
66
+ { 'is-clickable': isClickable, },
67
+ 'selectCard',
68
+ // { 'flip-out-hor-bottom': selectCard }
69
+ )}
70
+ >
71
+
72
+ <div className={getStyles('card-content-box')}>
73
+
74
+ <p className={getStyles(
75
+ 'card-content-label',
76
+ { 'statusPendiente': statusService === 10 },
77
+ { 'statusAceptado': statusService === 20 },
78
+ { 'statusPendiente2': statusService === -30 },
79
+ { 'statusFinalizado': statusService === 30 }
80
+ )}>
81
+ {txtInfoLabel}
82
+ </p>
83
+
84
+ <div className={getStyles('card-content')}>
85
+
86
+ <div className={getStyles('card-subcontent-inLine')}>
87
+
88
+ <Label >
89
+ <Icon
90
+ name="user"
91
+ size="xs"
92
+ color="highlight"
93
+ />
94
+ &nbsp;
95
+ {labelUserService}
96
+ </Label>
97
+
98
+ <p className={getStyles('card-content-p')}>&nbsp; {txtUserService}</p>
99
+
100
+ </div>
101
+
102
+ </div>
103
+
104
+ <div className={getStyles('card-content')}>
105
+
106
+ <div className={getStyles('card-subcontent')}>
107
+
108
+ <Label >
109
+ <Icon
110
+ name="originOrder"
111
+ size="xs"
112
+ color="highlight"
113
+ />
114
+ &nbsp;
115
+ {labelZoneService}
116
+ </Label>
117
+
118
+ <p className={getStyles('card-content-p')}>{txtZoneService}</p>
119
+
120
+ </div>
121
+
122
+ <div className={getStyles('card-subcontent')}>
123
+
124
+ <Label >
125
+ <Icon
126
+ name="clock"
127
+ size="xs"
128
+ color="highlight"
129
+ />
130
+ &nbsp;
131
+ {labelTimeTotalService}
132
+ </Label>
133
+
134
+ <p className={getStyles('card-content-p')}>{txtTimeTotalService}</p>
135
+
136
+ </div>
137
+
138
+ <div className={getStyles('card-subcontent')}>
139
+
140
+ <Label >
141
+ <Icon
142
+ name="distance"
143
+ size="xs"
144
+ color="highlight"
145
+ />
146
+ &nbsp;
147
+ {labelDistanceService}
148
+ </Label>
149
+
150
+ <p className={getStyles('card-content-p')}>{txtDistanceService}</p>
151
+
152
+ </div>
153
+
154
+ </div>
155
+
156
+ <div className={getStyles('card-content')}>
157
+
158
+ <div className={getStyles('card-subcontent')}>
159
+
160
+ <Label >
161
+ <Icon
162
+ name="travelPrograms"
163
+ size="xs"
164
+ color="highlight"
165
+ />
166
+ &nbsp;
167
+ {labelServiceService}
168
+ </Label>
169
+
170
+ <p className={getStyles('card-content-p')}>{txtServiceService}</p>
171
+
172
+ </div>
173
+
174
+ <div className={getStyles('card-subcontent')}>
175
+
176
+ <Label >
177
+ <Icon
178
+ name="moneyPayment"
179
+ size="xs"
180
+ color="highlight"
181
+ />
182
+ &nbsp;
183
+ {labelPayService}
184
+ </Label>
185
+
186
+ <p className={getStyles('card-content-p')}>{txtPayService}</p>
187
+
188
+ </div>
189
+
190
+ <div className={getStyles('card-subcontent')}>
191
+
192
+ <Label >
193
+ <Icon
194
+ name="price"
195
+ size="xs"
196
+ color="highlight"
197
+ />
198
+ &nbsp;
199
+ {labelPriceService}
200
+ </Label>
201
+
202
+ <p className={getStyles('card-content-p')}>{txtPriceService}</p>
203
+
204
+ </div>
205
+
206
+ </div>
207
+
208
+ <div className={getStyles('card-content')}>
209
+
210
+ <div className={getStyles('card-subcontent')}>
211
+
212
+ <Label >
213
+ <Icon
214
+ name="reference"
215
+ size="xs"
216
+ color="highlight"
217
+ />
218
+ &nbsp;
219
+ {labelRefService}
220
+ </Label>
221
+
222
+ <p className={getStyles('card-content-p')}>{txtRefService}</p>
223
+
224
+ </div>
225
+
226
+ <div className={getStyles('card-subcontent')}>
227
+
228
+ <Label >
229
+ <Icon
230
+ name="userNumber"
231
+ size="xs"
232
+ color="highlight"
233
+ />
234
+ &nbsp;
235
+ {labelModelCarService}
236
+ </Label>
237
+
238
+ <p className={getStyles('card-content-p')}>{txtModelCarService}</p>
239
+
240
+ </div>
241
+
242
+ <div className={getStyles('card-subcontent')}>
243
+
244
+ <Label >
245
+ <Icon
246
+ name="userNumber"
247
+ size="xs"
248
+ color="highlight"
249
+ />
250
+ &nbsp;
251
+ {labelCarNumberService}
252
+ </Label>
253
+
254
+ <p className={getStyles('card-content-p')}>{txtCarNumberService}</p>
255
+
256
+ </div>
257
+
258
+ </div>
259
+
260
+ <div className={getStyles('card-content')}>
261
+
262
+ {/* <div className={getStyles('card-subcontent')}>
263
+
264
+ <Label >
265
+ <Icon
266
+ name="userNumber"
267
+ size="xs"
268
+ color="highlight"
269
+ />
270
+ &nbsp;
271
+ {labelNumberDriverService}
272
+ </Label>
273
+
274
+ <p className={getStyles('card-content-p')}>{txtNumberDriverService}</p>
275
+
276
+ </div> */}
277
+
278
+ <div className={getStyles('card-subcontent')}>
279
+
280
+ <Label >
281
+ <Icon
282
+ name="messageDriver"
283
+ size="xs"
284
+ color="highlight"
285
+ />
286
+ &nbsp;
287
+ {labelSmsDriverService}
288
+ </Label>
289
+
290
+ <p className={getStyles('card-content-p')}>{txtSmsDriverService}</p>
291
+
292
+ </div>
293
+
294
+ </div>
295
+
296
+ </div>
297
+
298
+ <div className={getStyles('card-content-action')}>
299
+
300
+ <div className={getStyles('card-subcontent-action')}>
301
+
302
+ <span
303
+ data-tip
304
+ data-for='cross'
305
+ onMouseEnter={handleMouseEnter}
306
+ onMouseLeave={handleMouseLeave}
307
+ >
308
+ <Icon
309
+ id='crossIcon'
310
+ isClickable
311
+ name="cross"
312
+ onClick={onClickCross}
313
+ size="sm"
314
+ />
315
+
316
+ </span>
317
+
318
+ {isToolTipMounted ? (
319
+ <ReactTooltip id='cross' type='error'>
320
+ <span>{txtTootipCross}</span>
321
+ </ReactTooltip>
322
+ ) : null}
323
+
324
+ </div>
325
+
326
+ </div>
327
+
328
+ </div>
329
+ )
330
+ }
331
+
332
+ CardServiceDetail.propTypes = {
333
+ getStyles: PropTypes.func.isRequired,
334
+ onClick: PropTypes.func,
335
+ isClickable: PropTypes.bool,
336
+ txtInfoLabel: PropTypes.any,
337
+ statusService: PropTypes.number,
338
+ txtUserService: PropTypes.string,
339
+ txtZoneService: PropTypes.string,
340
+ txtTimeTotalService: PropTypes.string,
341
+ txtDistanceService: PropTypes.string,
342
+ txtServiceService: PropTypes.string,
343
+ txtPayService: PropTypes.string,
344
+ txtPriceService: PropTypes.string,
345
+ txtRefService: PropTypes.string,
346
+ txtModelCarService: PropTypes.string,
347
+ txtCarNumberService: PropTypes.string,
348
+ txtNumberDriverService: PropTypes.string,
349
+ txtSmsDriverService: PropTypes.string,
350
+ onClickCross: PropTypes.func,
351
+ txtTootipCross: PropTypes.string,
352
+ selectCard: PropTypes.bool,
353
+ labelUserService: PropTypes.string,
354
+ labelZoneService: PropTypes.string,
355
+ labelTimeTotalService: PropTypes.string,
356
+ labelDistanceService: PropTypes.string,
357
+ labelServiceService: PropTypes.string,
358
+ labelPayService: PropTypes.string,
359
+ labelPriceService: PropTypes.string,
360
+ labelRefService: PropTypes.string,
361
+ labelModelCarService: PropTypes.string,
362
+ labelCarNumberService: PropTypes.string,
363
+ labelNumberDriverService: PropTypes.string,
364
+ labelSmsDriverService: PropTypes.string,
365
+ }
366
+
367
+ CardServiceDetail.defaultProps = {
368
+ getStyles: () => { },
369
+ txtInfoLabel: '',
370
+ statusService: 10,
371
+ txtUserService: '',
372
+ txtZoneService: '',
373
+ txtTimeTotalService: '',
374
+ txtDistanceService: '',
375
+ txtServiceService: '',
376
+ txtPayService: '',
377
+ txtPriceService: '',
378
+ txtRefService: '',
379
+ txtModelCarService: '',
380
+ txtCarNumberService: '',
381
+ txtNumberDriverService: '',
382
+ txtSmsDriverService: '',
383
+ onClickCross: () => { },
384
+ txtTootipCross: 'Cerrar',
385
+ selectCard: false,
386
+ labelUserService: 'Creado por:',
387
+ labelZoneService: 'Recogida',
388
+ labelTimeTotalService: 'Tiempo estimado',
389
+ labelDistanceService: 'Distancia',
390
+ labelServiceService: 'Servicio',
391
+ labelPayService: 'Método de pago',
392
+ labelPriceService: 'Precio estimado',
393
+ labelRefService: 'Proveedor',
394
+ labelModelCarService: ' Modelo',
395
+ labelCarNumberService: ' Matrícula',
396
+ labelNumberDriverService: ' Telefono conductor',
397
+ labelSmsDriverService: 'Mensaje al conductor',
398
+ }
399
+
400
+ export default withStyles(styles)(CardServiceDetail)
@@ -0,0 +1,222 @@
1
+ .card-service-detail {
2
+ /* display: flex; */
3
+ width: 100%;
4
+ align-items: center;
5
+ padding: 0px;
6
+ border: var(--border-width-thin) solid var(--color-base-transparent);
7
+ border-radius: 10px;
8
+ box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);
9
+ color: var(--color-font-base);
10
+ transition: box-shadow .28s cubic-bezier(.4, 0, .2, 1);
11
+ background-color: #fff;
12
+ margin: 0;
13
+ cursor: auto;
14
+ max-width: 420px;
15
+ min-width: 420px;
16
+ align-items: center;
17
+ align-content: center;
18
+ justify-content: space-around;
19
+ /* margin-right: 10px; */
20
+ display: flex;
21
+
22
+ }
23
+
24
+ .card-content-box {
25
+ border-right: 1px solid #dfe8f2;
26
+ width: 100%;
27
+ }
28
+
29
+ .card-content {
30
+ display: flex;
31
+ align-items: flex-start;
32
+ align-content: space-between;
33
+ border-top: 1px solid #dfe8f2;
34
+ padding: 6px 6px;
35
+ margin-left: 4px;
36
+ }
37
+
38
+ .card-content-action {
39
+ padding-right: 4px;
40
+ }
41
+
42
+ .card-content-label {
43
+ padding: 10px;
44
+ color: #fff;
45
+ margin: 0;
46
+ margin-left: 4px;
47
+ font-size: var(--font-size-base);
48
+ font-weight: var(--font-weight-normal);
49
+ line-height: var(--line-height-tight);
50
+ text-align: center;
51
+ }
52
+
53
+ .card-content-p {
54
+ margin: 0;
55
+ padding: 0;
56
+ font-size: var(--font-size-mini);
57
+ font-weight: var(--font-weight-normal);
58
+ line-height: var(--line-height-tight);
59
+ }
60
+
61
+ .statusPendiente {
62
+ background-color: #00a3ff;
63
+ }
64
+
65
+ .statusPendiente2 {
66
+ background-color: #00a3ff;
67
+ }
68
+
69
+ .statusAceptado {
70
+ background-color: #39b54a;
71
+ }
72
+
73
+ .statusFinalizado {
74
+ background-color: #8F12FE;
75
+ }
76
+
77
+ .card-subcontent {
78
+ width: 100%;
79
+ }
80
+
81
+ .card-subcontent-inLine {
82
+ /* width: 100%; */
83
+ display: flex;
84
+ white-space: nowrap;
85
+ }
86
+
87
+ .card-subcontent-action {
88
+ display: flex;
89
+ align-items: center;
90
+ }
91
+
92
+ .size-sm {
93
+ min-height: 45px;
94
+ }
95
+
96
+ .size-md {
97
+ min-height: 80px;
98
+ }
99
+
100
+ .size-lg {
101
+ min-height: 115px;
102
+ }
103
+
104
+ .color-primary {
105
+ background: var(--color-primary);
106
+ color: var(--color-primary-inverted);
107
+ }
108
+
109
+ .color-secondary {
110
+ background: var(--color-secondary);
111
+ color: var(--color-secondary-inverted);
112
+ }
113
+
114
+ .color-base {
115
+ border: var(--border-width-thin) solid var(--color-gray-400);
116
+ background: var(--background-color-primary-highlight);
117
+ }
118
+
119
+ .is-clickable {
120
+ cursor: pointer;
121
+ }
122
+
123
+ .is-draggable {
124
+ cursor: grab;
125
+ user-select: none;
126
+ }
127
+
128
+ .card-services.is-clickable:active,
129
+ .card-services.is-draggable:active {
130
+ box-shadow: var(--box-shadow-xs);
131
+ }
132
+
133
+ .selectCard {
134
+ border-top: 4px solid #39b54a;
135
+ border-bottom: 4px solid #00a3ff;
136
+ border-left: 1px solid #39b54a;
137
+ border-right: 1px solid #00a3ff;
138
+ -webkit-box-sizing: border-box;
139
+ -moz-box-sizing: border-box;
140
+ box-sizing: border-box;
141
+ background-position: 0 0, 100% 0;
142
+ background-repeat: no-repeat;
143
+ -webkit-background-size: 4px 100%;
144
+ -moz-background-size: 4px 100%;
145
+ background-size: 4px 100%;
146
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMSAxIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48bGluZWFyR3JhZGllbnQgaWQ9Imxlc3NoYXQtZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMzYWNmZDUiIHN0b3Atb3BhY2l0eT0iMSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzNhNGVkNSIgc3RvcC1vcGFjaXR5PSIxIi8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMSAxIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48bGluZWFyR3JhZGllbnQgaWQ9Imxlc3NoYXQtZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMzYWNmZDUiIHN0b3Atb3BhY2l0eT0iMSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzNhNGVkNSIgc3RvcC1vcGFjaXR5PSIxIi8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=);
147
+ background-image: -webkit-linear-gradient(top, #39b54a 0%, #00a3ff 100%), -webkit-linear-gradient(top, #39b54a 0%, #00a3ff 100%);
148
+ background-image: -moz-linear-gradient(top, #39b54a 0%, #00a3ff 100%), -moz-linear-gradient(top, #39b54a 0%, #00a3ff 100%);
149
+ background-image: -o-linear-gradient(top, #39b54a 0%, #00a3ff 100%), -o-linear-gradient(top, #39b54a 0%, #00a3ff 100%);
150
+ background-image: linear-gradient(to bottom, #39b54a 0%, #00a3ff 100%), linear-gradient(to bottom, #39b54a 0%, #00a3ff 100%);
151
+ }
152
+
153
+ .flip-out-hor-bottom {
154
+ -webkit-animation: flip-out-hor-bottom 0.45s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
155
+ animation: flip-out-hor-bottom 0.45s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
156
+ }
157
+
158
+ .flip-in-hor-bottom {
159
+ -webkit-animation: flip-in-hor-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
160
+ animation: flip-in-hor-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
161
+ }
162
+
163
+ /**
164
+ * ----------------------------------------
165
+ * animation flip-out-hor-bottom
166
+ * ----------------------------------------
167
+ */
168
+ @-webkit-keyframes flip-out-hor-bottom {
169
+ 0% {
170
+ -webkit-transform: rotateX(0);
171
+ transform: rotateX(0);
172
+ opacity: 1;
173
+ }
174
+ 100% {
175
+ -webkit-transform: rotateX(-70deg);
176
+ transform: rotateX(-70deg);
177
+ opacity: 0;
178
+ }
179
+ }
180
+ @keyframes flip-out-hor-bottom {
181
+ 0% {
182
+ -webkit-transform: rotateX(0);
183
+ transform: rotateX(0);
184
+ opacity: 1;
185
+ }
186
+ 100% {
187
+ -webkit-transform: rotateX(-70deg);
188
+ transform: rotateX(-70deg);
189
+ opacity: 0;
190
+ }
191
+ }
192
+
193
+
194
+ /**
195
+ * ----------------------------------------
196
+ * animation flip-in-hor-bottom
197
+ * ----------------------------------------
198
+ */
199
+ @-webkit-keyframes flip-in-hor-bottom {
200
+ 0% {
201
+ -webkit-transform: rotateX(80deg);
202
+ transform: rotateX(80deg);
203
+ opacity: 0;
204
+ }
205
+ 100% {
206
+ -webkit-transform: rotateX(0);
207
+ transform: rotateX(0);
208
+ opacity: 1;
209
+ }
210
+ }
211
+ @keyframes flip-in-hor-bottom {
212
+ 0% {
213
+ -webkit-transform: rotateX(80deg);
214
+ transform: rotateX(80deg);
215
+ opacity: 0;
216
+ }
217
+ 100% {
218
+ -webkit-transform: rotateX(0);
219
+ transform: rotateX(0);
220
+ opacity: 1;
221
+ }
222
+ }
@@ -0,0 +1,23 @@
1
+ import { CardServiceDetail, styles, options } from '.'
2
+
3
+ import {
4
+ getTemplate,
5
+ getListTemplate,
6
+ getOptionsArgTypes,
7
+ } from '../../helpers/storybook'
8
+
9
+ const Template = getTemplate(CardServiceDetail, styles)
10
+ const ListTemplate = getListTemplate(CardServiceDetail, styles)
11
+
12
+ export default {
13
+ title: 'Molecules/CardServiceDetail',
14
+ component: CardServiceDetail,
15
+ args: {},
16
+ argTypes: {
17
+ // types: getOptionsArgTypes(options.types),
18
+ },
19
+ }
20
+
21
+ export const Default = Template.bind({})
22
+ // export const List = ListTemplate.bind({})
23
+ // List.args = { items: options.types.map((type) => ({ type })) }
@@ -0,0 +1 @@
1
+ export const options = { types: [] }
@@ -0,0 +1,3 @@
1
+ export { default, CardServiceDetail } from './CardServiceDetail'
2
+ export { options } from './constants'
3
+ export { default as styles } from './CardServiceDetail.module.css'