imbric-theme 0.4.5 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. package/.dockerignore +14 -0
  2. package/.eslintignore +1 -0
  3. package/.prettierignore +1 -0
  4. package/Dockerfile +18 -0
  5. package/atoms/Button/Button.js +8 -0
  6. package/atoms/Button/Button.module.css +8 -0
  7. package/atoms/Checkbox/Checkbox.js +1 -1
  8. package/atoms/Icon/constants.js +84 -2
  9. package/atoms/Input/Input.js +5 -5
  10. package/atoms/Input/Input.stories.js +1 -1
  11. package/atoms/Input/constants.js +1 -1
  12. package/atoms/Toggle/Toggle.js +56 -0
  13. package/atoms/Toggle/Toggle.module.css +41 -0
  14. package/atoms/Toggle/Toggle.stories.js +21 -0
  15. package/atoms/Toggle/constants.js +1 -0
  16. package/atoms/Toggle/index.js +3 -0
  17. package/index.js +5 -0
  18. package/molecules/Accordion/Accordion.js +2 -0
  19. package/molecules/CardDefault/CardDefault.module.css +1 -0
  20. package/molecules/CardProductTypesBooking/CardProductTypesBooking.js +5 -3
  21. package/molecules/CardProductTypesBooking/CardProductTypesBooking.module.css +5 -1
  22. package/molecules/CardServiceDetail/CardServiceDetail.js +367 -0
  23. package/molecules/CardServiceDetail/CardServiceDetail.module.css +222 -0
  24. package/molecules/CardServiceDetail/CardServiceDetail.stories.js +23 -0
  25. package/molecules/CardServiceDetail/constants.js +1 -0
  26. package/molecules/CardServiceDetail/index.js +3 -0
  27. package/molecules/CardServices/CardServices.js +176 -46
  28. package/molecules/CardServices/CardServices.module.css +124 -4
  29. package/molecules/CardServicesFinalized/CardServicesFinalized.js +363 -0
  30. package/molecules/CardServicesFinalized/CardServicesFinalized.module.css +213 -0
  31. package/molecules/CardServicesFinalized/CardServicesFinalized.stories.js +23 -0
  32. package/molecules/CardServicesFinalized/constants.js +1 -0
  33. package/molecules/CardServicesFinalized/index.js +3 -0
  34. package/molecules/ColumnTable/ColumnTable.js +5 -3
  35. package/molecules/ColumnTable/ColumnTable.module.css +12 -0
  36. package/molecules/Dropdown/Dropdown.js +1 -1
  37. package/molecules/RowTable/RowTable.js +213 -154
  38. package/molecules/RowTable/RowTable.module.css +4 -0
  39. package/molecules/RowTable/constants.js +388 -2
  40. package/package.json +2 -1
  41. package/public/static/images/bank-cash-dollar-finance-money-payment-2-svgrepo-com.svg +13 -0
  42. package/public/static/images/buy-ecommerce-label-money-price-sale-svgrepo-com.svg +13 -0
  43. package/public/static/images/distance-svgrepo-com.svg +21 -0
  44. package/public/static/images/message-svgrepo-com.svg +15 -0
  45. package/public/static/images/pin-distance-svgrepo-com.svg +13 -0
  46. package/public/static/images/second-page-svgrepo-com copia.svg +18 -0
  47. package/public/static/images/second-page-svgrepo-com.svg +17 -0
  48. package/.eslintcache +0 -1
  49. package/storybook-static/0.263f852f.iframe.bundle.js +0 -1
  50. package/storybook-static/0.91dbd3f3aa2099d25061.manager.bundle.js +0 -1
  51. package/storybook-static/1.17e9ac7e.iframe.bundle.js +0 -3
  52. package/storybook-static/1.17e9ac7e.iframe.bundle.js.LICENSE.txt +0 -8
  53. package/storybook-static/1.17e9ac7e.iframe.bundle.js.map +0 -1
  54. package/storybook-static/2.cc4000c2.iframe.bundle.js +0 -1
  55. package/storybook-static/3.e9f95d01.iframe.bundle.js +0 -1
  56. package/storybook-static/4.be0a752c9f5176d6eec1.manager.bundle.js +0 -2
  57. package/storybook-static/4.be0a752c9f5176d6eec1.manager.bundle.js.LICENSE.txt +0 -8
  58. package/storybook-static/5.8efdde123acaf8fbb100.manager.bundle.js +0 -1
  59. package/storybook-static/6.2f82294ae0b087aecb24.manager.bundle.js +0 -2
  60. package/storybook-static/6.2f82294ae0b087aecb24.manager.bundle.js.LICENSE.txt +0 -12
  61. package/storybook-static/7.97068037.iframe.bundle.js +0 -1
  62. package/storybook-static/7.fa9452d2609e8a00f314.manager.bundle.js +0 -1
  63. package/storybook-static/8.66f5ef1c66fc4628f127.manager.bundle.js +0 -1
  64. package/storybook-static/8.b545d602.iframe.bundle.js +0 -3
  65. package/storybook-static/8.b545d602.iframe.bundle.js.LICENSE.txt +0 -12
  66. package/storybook-static/8.b545d602.iframe.bundle.js.map +0 -1
  67. package/storybook-static/9.269ed917.iframe.bundle.js +0 -1
  68. package/storybook-static/favicon.ico +0 -0
  69. package/storybook-static/iframe.html +0 -348
  70. package/storybook-static/index.html +0 -59
  71. package/storybook-static/main.157061c9.iframe.bundle.js +0 -1
  72. package/storybook-static/main.5a07347846ccf2d7e5dc.manager.bundle.js +0 -1
  73. package/storybook-static/runtime~main.a14e6e62.iframe.bundle.js +0 -1
  74. package/storybook-static/runtime~main.f78c3fae275fc212c109.manager.bundle.js +0 -1
  75. package/storybook-static/static/logo.svg +0 -19
  76. package/storybook-static/static/logologin.svg +0 -16
  77. package/storybook-static/static/logotipo.svg +0 -50
  78. package/storybook-static/static/logotipoS.svg +0 -26
  79. package/storybook-static/vendors~main.720e76f4.iframe.bundle.js +0 -3
  80. package/storybook-static/vendors~main.720e76f4.iframe.bundle.js.LICENSE.txt +0 -110
  81. package/storybook-static/vendors~main.720e76f4.iframe.bundle.js.map +0 -1
  82. package/storybook-static/vendors~main.fcd0b2a3431ddf75f5f7.manager.bundle.js +0 -2
  83. package/storybook-static/vendors~main.fcd0b2a3431ddf75f5f7.manager.bundle.js.LICENSE.txt +0 -101
package/.dockerignore ADDED
@@ -0,0 +1,14 @@
1
+ # Config folders
2
+ .idea/
3
+ .vscode/
4
+
5
+ # Generated by MacOS
6
+ .DS_Store
7
+
8
+ # Generated by Windows
9
+ Thumbs.db
10
+
11
+ # Cache & build files
12
+ node_modules/
13
+ storybook-static/
14
+ .eslintcache
package/.eslintignore ADDED
@@ -0,0 +1 @@
1
+ node_modules
@@ -0,0 +1 @@
1
+ node_modules
package/Dockerfile ADDED
@@ -0,0 +1,18 @@
1
+ FROM node:18-alpine
2
+
3
+ ## set environment stage
4
+ ENV PATH /app/node_modules/.bin:$PATH
5
+ ENV NODE_OPTIONS --openssl-legacy-provider
6
+ WORKDIR /app
7
+ COPY . /app/
8
+
9
+ ## build app stage
10
+ RUN yarn install --network-timeout 200000 \
11
+ && yarn add next@11 react@18 react-dom@18 --network-timeout 200000 \
12
+ && yarn build
13
+
14
+ ## final image stage
15
+ FROM nginx:alpine
16
+ COPY --from=0 /app/storybook-static/ /usr/share/nginx/html/
17
+
18
+ EXPOSE 80
@@ -20,6 +20,8 @@ export const Button = ({
20
20
  addons,
21
21
  isMuted,
22
22
  isInline,
23
+ isFloatRight,
24
+ isFloatLeft,
23
25
  onClick,
24
26
  getStyles,
25
27
  }) => (
@@ -29,6 +31,8 @@ export const Button = ({
29
31
  className={getStyles('button', ['type'], {
30
32
  'is-inline': isInline || type === 'tertiary',
31
33
  'is-muted': isMuted && type === 'primary',
34
+ 'is-float-right': isFloatRight,
35
+ 'is-float-left': isFloatLeft,
32
36
  })}
33
37
  onClick={onClick && handleClick({ onClick })}
34
38
  >
@@ -59,6 +63,8 @@ Button.propTypes = {
59
63
  onClick: PropTypes.func,
60
64
  isInline: PropTypes.bool,
61
65
  isMuted: PropTypes.bool,
66
+ isFloatRight: PropTypes.bool,
67
+ isFloatLeft: PropTypes.bool,
62
68
  }
63
69
 
64
70
  Button.defaultProps = {
@@ -66,6 +72,8 @@ Button.defaultProps = {
66
72
  getStyles: () => { },
67
73
  onClick: () => { },
68
74
  isInline: false,
75
+ isFloatRight: false,
76
+ isFloatLeft: false,
69
77
  }
70
78
 
71
79
  export default withStyles(styles)(Button)
@@ -64,3 +64,11 @@
64
64
  box-shadow: var(--box-shadow-none) !important;
65
65
  filter: brightness(1) !important;
66
66
  }
67
+
68
+ .is-float-right {
69
+ float: right;
70
+ }
71
+
72
+ .is-float-left {
73
+ float: left;
74
+ }
@@ -30,7 +30,7 @@ export const Checkbox = ({ getStyles, onChange, label, id, value, name, linkChec
30
30
  id={id}
31
31
  name={name}
32
32
  label={label}
33
- value={value}
33
+ checked={value}
34
34
  onChange={onChange}
35
35
  />
36
36
  <label htmlFor={name} className={getStyles('checkbox-custom-label')}>{label}<a className={getStyles('checkbox-custom-link')} href={linkCheck} target="_black"> {nameLinkCheck}</a> </label>
@@ -879,8 +879,90 @@ export const iconsMap = {
879
879
  </>
880
880
  ),
881
881
  },
882
-
883
-
882
+ distance: {
883
+ viewBox: '0 0 24 24',
884
+ svg: (
885
+ <>
886
+ <circle cx="7.5" cy="6.5" r="1.5" />
887
+ <circle cx="16.5" cy="15.5" r="1.5" />
888
+ <path d="M11.4,10.4c2.1-2.1,2.1-5.6,0-7.8c-2.1-2.1-5.6-2.1-7.8,0s-2.1,5.6,0,7.8l3.9,3.9v0L11.4,10.4z M5,9C3.7,7.6,3.7,5.4,5,4
889
+ C6.4,2.7,8.6,2.7,10,4c1.4,1.4,1.4,3.6,0,4.9l-2.5,2.5L5,9z"/>
890
+ <path d="M20.4,11.6c-2.1-2.1-5.6-2.1-7.8,0c-2.1,2.1-2.1,5.6,0,7.8l3.9,3.9l3.9-3.9v0C22.5,17.2,22.5,13.8,20.4,11.6z M19,18
891
+ l-2.5,2.5L14,18c-1.4-1.4-1.4-3.6,0-4.9c1.4-1.4,3.6-1.4,4.9,0C20.3,14.4,20.3,16.6,19,18z"/>
892
+ </>
893
+ ),
894
+ },
895
+ moneyPayment: {
896
+ viewBox: '0 0 24 24',
897
+ svg: (
898
+ <>
899
+ <path d="M23.7,6.5c-0.3-0.7-1-1.2-1.6-1.4L5.7,1c-1-0.3-1.8,0.4-1.8,1.4l0,2.8c0,0.2-0.2,0.4-0.4,0.4H1.9C0.9,5.6,0,6.5,0,7.6v13.6
900
+ c0,1.1,0.9,1.9,1.9,1.9h20.2c0.3,0,0.6-0.1,0.8-0.2c0.6-0.1,1.1-0.6,1.1-1.4c0-0.1,0-0.2,0-0.4V7.6C24,7.2,23.9,6.8,23.7,6.5z
901
+ M6.2,3l9.5,2.4c0.1,0,0.1,0.2,0,0.2H6.1c-0.2,0-0.4-0.2-0.4-0.4l0-1.8C5.7,3.2,6,3,6.2,3z M22.1,15.7h-3.2c-0.4,0-0.7-0.2-0.9-0.3
902
+ c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.3,0.1-0.6,0.3-0.8c0.2-0.2,0.4-0.3,0.9-0.3h3.2V15.7z M22.1,11.5h-3.2c-0.9,0-1.7,0.4-2.2,1
903
+ c-0.5,0.6-0.8,1.3-0.8,2c0,0.7,0.2,1.5,0.8,2c0.5,0.6,1.3,1,2.2,1h3.2v3.1c0,0.3-0.2,0.5-0.5,0.5H2.4c-0.3,0-0.5-0.2-0.5-0.5V8
904
+ c0-0.3,0.2-0.5,0.5-0.5h19.2c0.3,0,0.5,0.2,0.5,0.5V11.5z"/>
905
+ </>
906
+ ),
907
+ },
908
+ price: {
909
+ viewBox: '0 0 24 24',
910
+ svg: (
911
+ <>
912
+ <path class="st0" d="M18.4,8.8c0.9-0.9,0.9-2.3,0-3.2c-0.9-0.9-2.3-0.9-3.2,0c-0.9,0.9-0.9,2.3,0,3.2C16.1,9.7,17.6,9.7,18.4,8.8z
913
+ M17.5,6.5c0.4,0.4,0.4,1,0,1.3c-0.4,0.4-1,0.4-1.3,0c-0.4-0.4-0.4-1,0-1.3C16.5,6.1,17.1,6.1,17.5,6.5z"/>
914
+ <path class="st0" d="M1.5,12c-0.7,0.7-0.7,1.7,0,2.4l8.1,8.1c0.7,0.7,1.7,0.7,2.4,0L22.5,12c0.3-0.3,0.5-0.7,0.5-1.2V2.7
915
+ C23,1.8,22.2,1,21.3,1h-8.1c-0.4,0-0.9,0.2-1.2,0.5L1.5,12z M11.4,20.7c-0.3,0.3-0.9,0.3-1.2,0l-6.9-6.9c-0.3-0.3-0.3-0.9,0-1.2
916
+ l9.6-9.6c0.2-0.2,0.4-0.2,0.6-0.2h6.9c0.5,0,0.8,0.4,0.8,0.8v6.9c0,0.2-0.1,0.4-0.2,0.6L11.4,20.7z"/>
917
+ </>
918
+ ),
919
+ },
920
+ messageDriver: {
921
+ viewBox: '0 0 24 24',
922
+ svg: (
923
+ <>
924
+ <g>
925
+ <g>
926
+ <path d="M0,3.4v17.2h24V3.4H0z M22,5.2l-10,8.3L2,5.2H22z M22.2,18.8H1.8V7.5L12,16l10.2-8.5V18.8z" />
927
+ </g>
928
+ </g>
929
+ <g>
930
+ <g>
931
+ <rect x="17.2" y="15.1" width="3.1" height="1.8" />
932
+ </g>
933
+ </g>
934
+ </>
935
+ ),
936
+ },
937
+ firstElement: {
938
+ viewBox: '0 0 24 24',
939
+ svg: (
940
+ <>
941
+ <path class="st0" d="M20.4,0H3.6C3.2,0,2.9,0.3,2.9,0.6v22.7c0,0.4,0.3,0.6,0.6,0.6h12.6c0.2,0,0.4-0.1,0.5-0.2l4.3-4.8
942
+ c0.1-0.1,0.2-0.3,0.2-0.4V0.6C21.1,0.3,20.8,0,20.4,0z M19,16.8l-3.8,0l0,0c-0.2,0-0.4,0.1-0.5,0.2c-0.1,0.1-0.2,0.3-0.2,0.5
943
+ l0,4.8H4.9V1.6H19C19,1.6,19,16.8,19,16.8z"/>
944
+ <path class="st0" d="M15.8,13.2h-4v0l1-0.8c1.6-1.4,2.9-2.8,2.9-4.6c0-1.9-1.3-3.4-3.8-3.4c-1.5,0-2.7,0.5-3.5,1.1L9,7.2
945
+ c0.6-0.4,1.4-0.9,2.3-0.9c1.2,0,1.8,0.7,1.8,1.6c0,1.3-1.2,2.5-3.5,4.6l-1.4,1.3v1.5h7.6V13.2z"/>
946
+ </>
947
+ ),
948
+ },
949
+ secondElement: {
950
+ viewBox: '0 0 24 24',
951
+ svg: (
952
+ <>
953
+ <g>
954
+ <g>
955
+ <path class="st0" d="M20.4,0H3.6C3.2,0,2.9,0.3,2.9,0.6v22.7c0,0.4,0.3,0.6,0.6,0.6h12.6c0.2,0,0.4-0.1,0.5-0.2l4.3-4.8
956
+ c0.1-0.1,0.2-0.3,0.2-0.4V0.6C21.1,0.3,20.8,0,20.4,0z M19,16.8h-3.8l0,0c-0.2,0-0.4,0.1-0.5,0.2s-0.2,0.3-0.2,0.5v4.8H4.9V1.6H19
957
+ V16.8z"/>
958
+ </g>
959
+ </g>
960
+ <g>
961
+ <path d="M13.4,15.3h-2.1V7.6c-0.8,0.7-1.6,1.2-2.7,1.6V7.3c0.5-0.2,1.1-0.5,1.8-1c0.6-0.5,1.1-1.1,1.3-1.7h1.7V15.3z" />
962
+ </g>
963
+ </>
964
+ ),
965
+ },
884
966
 
885
967
  }
886
968
 
@@ -27,7 +27,7 @@ export const Input = ({
27
27
  onClick,
28
28
  onKeyDown,
29
29
  placeholder,
30
- autocomplete,
30
+ autoComplete,
31
31
  disabled,
32
32
  isViewIcon,
33
33
  idIcon,
@@ -70,7 +70,7 @@ export const Input = ({
70
70
  onBlur={onBlur}
71
71
  onClick={onClick}
72
72
  onKeyDown={onKeyDown}
73
- autocomplete={autocomplete}
73
+ autoComplete={autoComplete}
74
74
  disabled={disabled}
75
75
  ></input>
76
76
 
@@ -92,7 +92,7 @@ export const Input = ({
92
92
  onBlur={onBlur}
93
93
  onClick={onClick}
94
94
  onKeyDown={onKeyDown}
95
- autocomplete={autocomplete}
95
+ autoComplete={autoComplete}
96
96
  disabled={disabled}
97
97
  ></input>
98
98
 
@@ -122,7 +122,7 @@ Input.propTypes = {
122
122
  sizeIcon: PropTypes.string,
123
123
  colorIcon: PropTypes.string,
124
124
  backgroundIcon: PropTypes.string,
125
- autocomplete: PropTypes.string,
125
+ autoComplete: PropTypes.string,
126
126
  disabled: PropTypes.bool,
127
127
  }
128
128
 
@@ -147,7 +147,7 @@ Input.defaultProps = {
147
147
  sizeIcon: 'md',
148
148
  colorIcon: 'highlight',
149
149
  backgroundIcon: 'base',
150
- autocomplete: 'on',
150
+ autoComplete: 'on',
151
151
  disabled: false
152
152
  }
153
153
 
@@ -35,4 +35,4 @@ export const InlineCode = Template.bind({})
35
35
  InlineCode.args = { isInlineCode: true }
36
36
 
37
37
  export const isInputFilter = Template.bind({})
38
- isInputFilter.args = { isisInputFilter: true }
38
+ isInputFilter.args = { isInputFilter: true }
@@ -1,3 +1,3 @@
1
1
  export const options = {
2
- types: ['text', 'password', 'date', 'number'],
2
+ types: ['text', 'password', 'date', 'number', 'datetime'],
3
3
  }
@@ -0,0 +1,56 @@
1
+ import React, { useState } from 'react'
2
+ import PropTypes from 'prop-types'
3
+
4
+ import styles from './Toggle.module.css'
5
+ import { options } from './constants'
6
+ import withStyles from '../../hocs/withStyles'
7
+
8
+ export const Toggle = ({ getStyles, onChangeCheckbox, value, id, checked, name }) => {
9
+
10
+ const [isChecked, setIsChecked] = useState(false);
11
+
12
+ const handleOnChange = () => {
13
+ setIsChecked(!isChecked)
14
+ };
15
+
16
+
17
+ return <div className={getStyles('toggle')}>
18
+
19
+ <input
20
+ type="checkbox"
21
+ id={id}
22
+ name={name}
23
+ value={value}
24
+ checked={isChecked || checked}
25
+ onChange={(e) => {
26
+ handleOnChange()
27
+ onChangeCheckbox()
28
+ }}
29
+ className={getStyles('toggle-item')}
30
+ />
31
+ <label htmlFor={id} className={getStyles('checkbox-custom-label')} for={id}></label>
32
+
33
+
34
+ </div>
35
+ }
36
+
37
+ Toggle.propTypes = {
38
+ getStyles: PropTypes.func.isRequired,
39
+ onChangeCheckbox: PropTypes.func.isRequired,
40
+ id: PropTypes.string.isRequired,
41
+ name: PropTypes.string.isRequired,
42
+ checked: PropTypes.bool.isRequired,
43
+ value: PropTypes.string,
44
+ }
45
+
46
+ Toggle.defaultProps = {
47
+ getStyles: () => { },
48
+ onChangeCheckbox: () => { },
49
+ id: 'toggle',
50
+ name: 'toggle',
51
+ checked: false,
52
+ value: 'Hola',
53
+ }
54
+
55
+
56
+ export default withStyles(styles)(Toggle)
@@ -0,0 +1,41 @@
1
+ .toggle {
2
+ display: flex;
3
+ }
4
+
5
+ .toggle-item {
6
+ opacity: 0;
7
+ width: 3em;
8
+ height: 1.4em;
9
+ position: absolute;
10
+ z-index: 1;
11
+ cursor: pointer;
12
+ }
13
+ .toggle-item + .checkbox-custom-label {
14
+ display: flex;
15
+ width: 4em;
16
+ height: 2em;
17
+ background: #aaa;
18
+ border-radius: 50px;
19
+ position: relative;
20
+ transition: all .3s ease;
21
+ cursor: pointer;
22
+ box-shadow: inset 0 0 5px #222;
23
+ }
24
+ .toggle-item + .checkbox-custom-label:after {
25
+ content: '';
26
+ position: absolute;
27
+ width: 1.5em;
28
+ height: 1.5em;
29
+ background: #fff;
30
+ border-radius: 50%;
31
+ top: .25em;
32
+ left: .25em;
33
+ transition: all .2s ease;
34
+ }
35
+ .toggle-item:checked + .checkbox-custom-label {
36
+ background: var(--color-tertiary);
37
+ box-shadow: inset 0 0 5px rgb(95, 95, 95);
38
+ }
39
+ .toggle-item:checked + .checkbox-custom-label:after {
40
+ left: 2.3em;
41
+ }
@@ -0,0 +1,21 @@
1
+ import { Toggle, styles, options } from '.'
2
+
3
+ import {
4
+ getTemplate,
5
+ getListTemplate,
6
+ getOptionsArgTypes,
7
+ } from '../../helpers/storybook'
8
+
9
+ const Template = getTemplate(Toggle, styles)
10
+ const ListTemplate = getListTemplate(Toggle, styles)
11
+
12
+ export default {
13
+ title: 'Atoms/Toggle',
14
+ component: Toggle,
15
+ args: {},
16
+ argTypes: {
17
+ // types: getOptionsArgTypes(options.types),
18
+ },
19
+ }
20
+
21
+ export const Default = Template.bind({})
@@ -0,0 +1 @@
1
+ export const options = { types: [] }
@@ -0,0 +1,3 @@
1
+ export { default, Toggle } from './Toggle'
2
+ export { options } from './constants'
3
+ export { default as styles } from './Toggle.module.css'
package/index.js CHANGED
@@ -25,18 +25,23 @@ export { default as Icon } from './atoms/Icon'
25
25
  export { default as Input } from './atoms/Input'
26
26
  export { default as Label } from './atoms/Label'
27
27
  export { default as LinkItem } from './atoms/LinkItem'
28
+ export { default as Loading } from './atoms/Loading'
28
29
  export { default as Modal } from './atoms/Modal'
29
30
  export { default as Paragraph } from './atoms/Paragraph'
30
31
  export { default as Picture } from './atoms/Picture'
31
32
  export { default as Textarea } from './atoms/Textarea'
32
33
  export { default as Tab } from './atoms/Tab'
34
+ export { default as Toggle } from './atoms/Toggle'
35
+
33
36
 
34
37
 
35
38
  // Molecules
36
39
  export { default as Accordion } from './molecules/Accordion'
37
40
  export { default as AddButton } from './molecules/AddButton'
38
41
  export { default as ButtonIcon } from './molecules/ButtonIcon'
42
+ export { default as CardServiceDetail } from './molecules/CardServiceDetail'
39
43
  export { default as CardServices } from './molecules/CardServices'
44
+ export { default as CardServicesFinalized } from './molecules/CardServicesFinalized'
40
45
  export { default as CardProductTypesBooking } from './molecules/CardProductTypesBooking'
41
46
  export { default as Dropdown } from './molecules/Dropdown'
42
47
  export { default as LoadingError } from './molecules/LoadingError'
@@ -20,6 +20,7 @@ export const Accordion = ({
20
20
  onToggle,
21
21
  getStyles,
22
22
  defaultIsCollapsed,
23
+ idAccordion,
23
24
  addons,
24
25
  }) => {
25
26
  const [isCollapsed, setIsCollapsed] = useState(defaultIsCollapsed)
@@ -27,6 +28,7 @@ export const Accordion = ({
27
28
  return (
28
29
  <div className={getStyles('accordion')}>
29
30
  <div
31
+ id={idAccordion}
30
32
  className={getStyles('container')}
31
33
  onClick={handleToggle({ onToggle, isCollapsed, setIsCollapsed })}
32
34
  >
@@ -8,6 +8,7 @@
8
8
  border-radius: 4px;
9
9
  background: white;
10
10
  color: rgba(0, 0, 0, 0.87);
11
+ height: 100%;
11
12
  }
12
13
 
13
14
  .card-default-title {
@@ -35,21 +35,23 @@ export const CardProductTypesBooking = ({
35
35
  />
36
36
  </div>
37
37
 
38
- <Horizontal size="sm" />
38
+ <Horizontal size="lg" />
39
39
 
40
- <div>
40
+ <div class={getStyles('contentInfo')}>
41
41
  <div className={getStyles('titleCardProductTypes')}>{textProductTypes}</div>
42
42
  <div className={getStyles('etaCardProductTypesSub')}>{textEtaProductTypesSub}</div>
43
43
  <div className={getStyles('titleCardProductTypesSub')}>{textDescription}</div>
44
44
  </div>
45
45
 
46
- <Horizontal size="sm" />
46
+ <Horizontal size="md" />
47
47
 
48
48
  <div class={getStyles('contentPrice')}>
49
49
  <div class={getStyles('priceCardProductTypes')}>{priceProductTypes}</div>
50
50
  <div class={getStyles('priceCardProductTypesSub')}>{priceProductTypesSub}</div>
51
51
  </div>
52
52
 
53
+ <Horizontal size="md" />
54
+
53
55
  </div>
54
56
 
55
57
  </div>
@@ -58,7 +58,11 @@
58
58
  }
59
59
 
60
60
  .contentPrice {
61
- min-width: 70px;
61
+ min-width: 100px;
62
+ }
63
+
64
+ .contentInfo {
65
+ width: 100%;
62
66
  }
63
67
 
64
68
  .priceCardProductTypes {