monica-alexandria 3.2.21 → 3.3.0

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 (41) hide show
  1. package/dist/index.es.js +67 -67
  2. package/dist/index.js +37 -37
  3. package/package.json +1 -1
  4. package/src/export/components/button/Delete_Plain.js +4 -4
  5. package/src/export/components/button/Focus_.js +4 -4
  6. package/src/export/components/button/Focus_Plain.js +4 -4
  7. package/src/export/components/button/Grey_.js +4 -4
  8. package/src/export/components/button/Grey_Link.js +4 -4
  9. package/src/export/components/button/Main_.js +4 -4
  10. package/src/export/components/button/Main_Plain.js +4 -4
  11. package/src/export/components/button/White_Plain.js +4 -4
  12. package/src/export/components/card/On_Click_Card.js +13 -13
  13. package/src/export/components/confirmation/Confirmation_.js +7 -7
  14. package/src/export/components/form/Builder_.js +2 -2
  15. package/src/export/components/form/Checkbox_.js +8 -8
  16. package/src/export/components/form/Dropdown_.js +3 -3
  17. package/src/export/components/form/Elastic_Search.js +16 -18
  18. package/src/export/components/form/Input_.js +28 -27
  19. package/src/export/components/form/Input_Phone.js +5 -6
  20. package/src/export/components/form/Input_Phone_Register.js +6 -6
  21. package/src/export/components/form/Radio_.js +4 -4
  22. package/src/export/components/form/Textarea_.js +15 -15
  23. package/src/export/components/nav/Nav_Protected.js +1 -1
  24. package/src/export/components/nav/Nav_Unprotected.js +1 -1
  25. package/src/export/components/sidebar/Sidebar_Box.js +1 -1
  26. package/src/export/components/slider/Slider_.js +2 -2
  27. package/src/export/components/steps/Steps_.js +4 -4
  28. package/src/export/components/steps/Steps_Actions.js +2 -2
  29. package/src/export/components/steps/Steps_Header.js +6 -6
  30. package/src/export/styles/Steps.js +1 -1
  31. package/src/stories/cards/OnClickCard.stories.jsx +9 -9
  32. package/src/stories/confirmation/Confirmation.stories.jsx +5 -5
  33. package/src/stories/form/Checkbox.stories.jsx +8 -8
  34. package/src/stories/form/Dropdown.stories.jsx +1 -1
  35. package/src/stories/form/Elastic.stories.jsx +9 -9
  36. package/src/stories/form/Input.stories.jsx +22 -22
  37. package/src/stories/form/InputPhone.stories.jsx +6 -6
  38. package/src/stories/form/Radio.stories.jsx +5 -5
  39. package/src/stories/form/Textarea.stories.jsx +15 -15
  40. package/src/stories/slider/Slider.stories.jsx +3 -3
  41. package/src/stories/steps/Steps.stories.jsx +2 -2
@@ -25,8 +25,8 @@ const Main = styled(Button)`
25
25
  export const Main_ = (props) => {
26
26
  return (
27
27
  <Main className={props.className} size={props.size} onClick={props.onClick}>
28
- {props.svgLeft ?
29
- <IconSvg Icon={props.svgLeft} />
28
+ {props.iconLeft ?
29
+ <IconSvg Icon={props.iconLeft} />
30
30
  :
31
31
  null
32
32
  }
@@ -35,8 +35,8 @@ export const Main_ = (props) => {
35
35
  :
36
36
  null
37
37
  }
38
- {props.svgRight ?
39
- <IconSvg Icon={props.svgRight} />
38
+ {props.iconRight ?
39
+ <IconSvg Icon={props.iconRight} />
40
40
  :
41
41
  null
42
42
  }
@@ -30,8 +30,8 @@ const MainPlain = styled(Button)`
30
30
  export const Main_Plain = (props) => {
31
31
  return (
32
32
  <MainPlain noPadding={props.noPadding} size={props.size} onClick={props.onClick}>
33
- {props.svgLeft ?
34
- <IconSvg Icon={props.svgLeft} />
33
+ {props.iconLeft ?
34
+ <IconSvg Icon={props.iconLeft} />
35
35
  :
36
36
  null
37
37
  }
@@ -40,8 +40,8 @@ export const Main_Plain = (props) => {
40
40
  :
41
41
  null
42
42
  }
43
- {props.svgRight ?
44
- <IconSvg Icon={props.svgRight} />
43
+ {props.iconRight ?
44
+ <IconSvg Icon={props.iconRight} />
45
45
  :
46
46
  null
47
47
  }
@@ -30,8 +30,8 @@ const WhitePlain = styled(Button)`
30
30
  export const White_Plain = (props) => {
31
31
  return (
32
32
  <WhitePlain size={props.size} onClick={props.onClick}>
33
- {props.svgLeft ?
34
- <IconSvg Icon={props.svgLeft} />
33
+ {props.iconLeft ?
34
+ <IconSvg Icon={props.iconLeft} />
35
35
  :
36
36
  null
37
37
  }
@@ -40,8 +40,8 @@ export const White_Plain = (props) => {
40
40
  :
41
41
  null
42
42
  }
43
- {props.svgRight ?
44
- <IconSvg Icon={props.svgRight} />
43
+ {props.iconRight ?
44
+ <IconSvg Icon={props.iconRight} />
45
45
  :
46
46
  null
47
47
  }
@@ -84,34 +84,34 @@ const JobCard = styled.div`
84
84
  export const On_Click_Card = (props) => {
85
85
  return (
86
86
  <OnClickCard variant_CardText={props.variant_CardText} onClick={props.onClick}>
87
- {props.svg_Card || props.text_Card || props.img_SmallCard ?
87
+ {props.icon || props.header || props.imgSmall ?
88
88
  <header>
89
- {props.svg_Card ?
89
+ {props.icon ?
90
90
  <figure>
91
- <IconSvg Icon={props.svg_Card}/>
91
+ <IconSvg Icon={props.icon}/>
92
92
  </figure>
93
- :props.img_SmallCard ?
93
+ :props.imgSmall ?
94
94
  <OnClickSmallImg>
95
- <img src={props.img_SmallCard}/>
95
+ <img src={props.imgSmall}/>
96
96
  </OnClickSmallImg>
97
97
  :
98
- <span>{props.text_Card}</span>
98
+ <span>{props.header}</span>
99
99
  }
100
100
  </header>
101
- :props.img_Card ?
101
+ :props.img ?
102
102
  <picture>
103
- <img src={props.img_Card}/>
103
+ <img src={props.img}/>
104
104
  </picture>
105
105
  :
106
106
  null
107
107
  }
108
- {props.text_CardTitle || props.text_CardSub ?
108
+ {props.title || props.subtitle ?
109
109
  <footer>
110
- {props.text_CardTitle &&
111
- <h2>{props.text_CardTitle}</h2>
110
+ {props.title &&
111
+ <h2>{props.title}</h2>
112
112
  }
113
- {props.text_CardSub &&
114
- <h5>{props.text_CardSub}</h5>
113
+ {props.subtitle &&
114
+ <h5>{props.subtitle}</h5>
115
115
  }
116
116
  {props.children}
117
117
  </footer>
@@ -49,17 +49,17 @@ export const Confirmation_ = (props) => {
49
49
  return (
50
50
  <Confirmation>
51
51
  <ConfirmationContainer>
52
- <h4>{props.text_Confirmation}</h4>
52
+ <h4>{props.message}</h4>
53
53
  <ConfirmationActions>
54
54
  <Main_
55
- onClick = {props.onClick_Primary}
56
- svgLeft = {props.icon_Primary}
57
- text = {props.text_Primary}
55
+ onClick = {props.onClick_Main}
56
+ iconLeft = {props.icon_Main}
57
+ text = {props.text_Main}
58
58
  />
59
59
  <Main_Plain
60
- onClick = {props.onClick_Secondary}
61
- svgLeft = {props.icon_Secondary}
62
- text = {props.text_Secondary}
60
+ onClick = {props.onClick_MainPlain}
61
+ iconLeft = {props.icon_MainPlain}
62
+ text = {props.text_MainPlain}
63
63
  />
64
64
  </ConfirmationActions>
65
65
  </ConfirmationContainer>
@@ -12,8 +12,8 @@ const Builder = styled.div`
12
12
  export const Builder_ = (props) => {
13
13
  return (
14
14
  <Builder key = {props.key}>
15
- {props.text_BuilderTitle ?
16
- <h4>{props.text_BuilderTitle}</h4>
15
+ {props.title ?
16
+ <h4>{props.title}</h4>
17
17
  :
18
18
  null
19
19
  }
@@ -84,26 +84,26 @@ const Check = styled.div`
84
84
 
85
85
  const CheckboxInput = styled.div`
86
86
  input{
87
- opacity: ${p => p.bool_Checked === true ? '1' : '0.4'};
88
- cursor: ${p => p.bool_Checked === true ? 'auto' : 'not-allowed !important'};
87
+ opacity: ${p => p.checked === true ? '1' : '0.4'};
88
+ cursor: ${p => p.checked === true ? 'auto' : 'not-allowed !important'};
89
89
  }
90
90
  `
91
91
 
92
92
  export const Checkbox_ = (props) => {
93
93
  return (
94
94
  <Checkbox key={props.key}>
95
- {props.variant_Input ?
96
- <CheckboxInput bool_Checked = {props.bool_Checked}>
95
+ {props.withInput ?
96
+ <CheckboxInput checked = {props.checked}>
97
97
  <Input_
98
- text_Placeholder = {props.text_CheckboxPlaceholder}
99
- bool_DisabledInput = {props.bool_Checked ? false : true}
98
+ placeholder = {props.placeholder}
99
+ disableInput = {props.checked ? false : true}
100
100
  />
101
101
  </CheckboxInput>
102
102
  :
103
- <label for={props.id_Checkbox}><p>{props.text_CheckboxLabel}</p></label>
103
+ <label for={props.id}><p>{props.text_CheckboxLabel}</p></label>
104
104
  }
105
105
  <Check className='Check'>
106
- <input type="checkbox" id={props.id_Checkbox} checked = {props.bool_Checked} onClick={props.onClick_Checkbox}/>
106
+ <input type="checkbox" id={props.id} checked = {props.checked} onClick={props.onClick}/>
107
107
  <span className='CheckCustom'></span>
108
108
  <IconSvg Icon='Check' class_Icon='CheckIcon'/>
109
109
  </Check>
@@ -41,9 +41,9 @@ export const Dropdown_ = (props) => {
41
41
  return (
42
42
  <Dropdown>
43
43
  <IconSvg Icon="Dropdown" class_Icon="Dropdown_IconAdapt"/>
44
- {props.array_Dropdown ?
45
- <select className = {props.class_Select}>
46
- {props.array_Dropdown.map ((option, i) =>
44
+ {props.items ?
45
+ <select className = {props.className} onChange = {props.onChange} defaultValue = {props.defaultValue}>
46
+ {props.items.map ((option, i) =>
47
47
  <option key={i}>{option}</option>
48
48
  )}
49
49
  </select>
@@ -63,7 +63,7 @@ export const Elastic_Search = (props) => {
63
63
  address: 0,
64
64
  minMatchCharLength: 1,
65
65
  ignoreLocation: false,
66
- keys: [props.key_SuggestionType] /* Μπορουμε να παιξουμε μπαλα και με αλλα attributes εννοειται όπως τα gigs! */,
66
+ keys: [props.suggestionType] /* Μπορουμε να παιξουμε μπαλα και με αλλα attributes εννοειται όπως τα gigs! */,
67
67
  };
68
68
 
69
69
  let file = props.json_File;
@@ -72,7 +72,7 @@ export const Elastic_Search = (props) => {
72
72
  query: "",
73
73
  file,
74
74
  notfoundmessage: false,
75
- defaultValue : props.text_DefaultValue
75
+ defaultValue : props.defaultValue
76
76
  })
77
77
 
78
78
  const [suggestions, setsuggestions] = useState(false)
@@ -80,7 +80,7 @@ export const Elastic_Search = (props) => {
80
80
 
81
81
  const send_clicked_suggestion = (suggestion) => {
82
82
  props.onSuggestions(suggestion);
83
- setCurrentSearch({...currentSearch, query:'', defaultValue:typeof(suggestion) == 'string' ? suggestion : suggestion[props.key_SuggestionType]})
83
+ setCurrentSearch({...currentSearch, query:'', defaultValue:typeof(suggestion) == 'string' ? suggestion : suggestion[props.suggestionType]})
84
84
  }
85
85
 
86
86
  const send_input_suggestion = () =>{
@@ -106,7 +106,7 @@ export const Elastic_Search = (props) => {
106
106
  }
107
107
  if((e.key) && e.key==='Enter'){
108
108
  e.preventDefault();
109
- send_clicked_suggestion(typeof(suggestions[highlighted]) == 'string' ? suggestions[highlighted] : suggestions[highlighted][props.key_SuggestionType])
109
+ send_clicked_suggestion(typeof(suggestions[highlighted]) == 'string' ? suggestions[highlighted] : suggestions[highlighted][props.suggestionType])
110
110
  }
111
111
  }
112
112
 
@@ -132,8 +132,6 @@ export const Elastic_Search = (props) => {
132
132
  send_input_suggestion();
133
133
  },[suggestions])
134
134
 
135
- console.log(currentSearch.defaultValue);
136
-
137
135
  return (
138
136
  <ElasticSearch>
139
137
  <ElasticInput
@@ -141,22 +139,22 @@ export const Elastic_Search = (props) => {
141
139
  autoComplete="off"
142
140
  type="text"
143
141
  value = {props.value}
144
- placeholder={props.text_Placeholder}
142
+ placeholder={props.placeholder}
145
143
  onChange={onChange}
146
144
  defaultValue={currentSearch.defaultValue}
147
145
  onKeyPress={(e) => detectEnter(e)}
148
146
  onKeyDown={(e) => detectEnter(e)}
149
- variant_List = {props.variant_List}
147
+ list = {props.list}
150
148
  />
151
- <ElasticLabel>{props.text_Placeholder}</ElasticLabel>
152
- {props.bool_Required ?
149
+ <ElasticLabel>{props.placeholder}</ElasticLabel>
150
+ {props.required ?
153
151
  <ValidatorRequired className='ValidatorRequired'>
154
152
  <IconSvg Icon='Asterisk' />
155
153
  </ValidatorRequired>
156
154
  :
157
155
  null
158
156
  }
159
- {props.variant_List ?
157
+ {props.list ?
160
158
  <Main_
161
159
  variant_Size = 'small'
162
160
  text_Button = {props.text_AddToList}
@@ -170,25 +168,25 @@ export const Elastic_Search = (props) => {
170
168
  {currentSearch.query && suggestions ?
171
169
  <ElasticSuggestions>
172
170
  {suggestions.slice(0,6).map((suggestion,i)=>(
173
- <li className={i=== highlighted % suggestions.length ? "ElasticSelected": ""} key={i} onClick={() => send_clicked_suggestion(suggestion?.item ? suggestion.item[props.key_SuggestionType]: suggestion[props.key_SuggestionType])}>
174
- <p>{suggestion?.item? suggestion.item[props.key_SuggestionType]: suggestion[props.key_SuggestionType]}</p>
171
+ <li className={i=== highlighted % suggestions.length ? "ElasticSelected": ""} key={i} onClick={() => send_clicked_suggestion(suggestion?.item ? suggestion.item[props.suggestionType]: suggestion[props.suggestionType])}>
172
+ <p>{suggestion?.item? suggestion.item[props.suggestionType]: suggestion[props.suggestionType]}</p>
175
173
  </li>
176
174
  ))}
177
175
  </ElasticSuggestions>
178
176
  :
179
177
  null
180
178
  }
181
- {props.variant_List ?
179
+ {props.list ?
182
180
  <ElasticList>
183
- <h5>{props.text_Selecteditems}</h5>
184
- {props.array_List.map((item) =>
181
+ <h5>{props.listItemTitle}</h5>
182
+ {props.list.map((item) =>
185
183
  <li>
186
- <IconSvg Icon={props.icon_List} />
184
+ <IconSvg Icon={props.icon_ListItem} />
187
185
  <h6>{item}</h6>
188
186
  <Delete_Plain
189
187
  variant_Size = 'small'
190
188
  icon_Left = 'Delete'
191
- onClick = {props.onCLick_ListDelete}
189
+ onClick = {props.onClick_ListItemDelete}
192
190
  />
193
191
  </li>
194
192
  )}
@@ -9,39 +9,39 @@ export const Input_ = (props) => {
9
9
  <FormGroup>
10
10
  <FormInput
11
11
  value = {props.value}
12
- className={props.class_Name}
13
- placeholder={props.text_Placeholder}
14
- id={props.id_Input}
12
+ className={props.className}
13
+ placeholder={props.placeholder}
14
+ id={props.id}
15
15
  autoComplete="off"
16
16
  type="text"
17
- onChange={props.onChange_Input}
18
- defaultValue={props.text_Defaultvalue}
19
- onKeyPress={props.onKeyPress_Input}
20
- onKeyDown={props.onKeyDown_Input}
21
- disabled ={props.bool_DisabledInput}
17
+ onChange={props.onChange}
18
+ defaultValue={props.defaultValue}
19
+ onKeyPress={props.onKeyPress}
20
+ onKeyDown={props.onKeyDown}
21
+ disabled ={props.disableInput}
22
22
  />
23
- <FormLabel>{props.text_Placeholder}</FormLabel>
24
- {props.variant_List ?
23
+ <FormLabel>{props.placeholder}</FormLabel>
24
+ {props.list ?
25
25
  <Main_
26
26
  size = 'small'
27
- text = {props.text_AddInput}
28
- svgLeft = 'Add'
27
+ text = {props.add}
28
+ iconLeft = 'Add'
29
29
  className = 'FormAddButton'
30
- onClick = {props.onClick_AddInput}
30
+ onClick = {props.onClick_Add}
31
31
  />
32
32
  :
33
33
  null
34
34
  }
35
- {props.bool_Required ?
35
+ {props.required ?
36
36
  <ValidatorRequired className='ValidatorRequired'>
37
37
  <IconSvg Icon='Asterisk' />
38
38
  </ValidatorRequired>
39
39
  :
40
40
  null
41
41
  }
42
- {props.array_Errors ?
42
+ {props.errors ?
43
43
  <Validators className='ValidatorErrors'>
44
- {props.array_Errors.map((error) =>
44
+ {props.errors.map((error) =>
45
45
  <ValidatorError>
46
46
  <IconSvg Icon='Error'/>
47
47
  <h6>{error}</h6>
@@ -51,33 +51,33 @@ export const Input_ = (props) => {
51
51
  :
52
52
  null
53
53
  }
54
- {props.array_Tips && props.array_Helpers ?
54
+ {props.tips && props.helpers ?
55
55
  <Validators className='ValidatorHelpers'>
56
- {props.array_Helpers.map((helper) =>
56
+ {props.helpers.map((helper) =>
57
57
  <ValidatorWarning>
58
58
  <IconSvg Icon = 'Warning' />
59
59
  <h6>{helper}</h6>
60
60
  </ValidatorWarning>
61
61
  )}
62
- {props.array_Tips.map((tip) =>
62
+ {props.tips.map((tip) =>
63
63
  <ValidatorTip>
64
64
  <IconSvg Icon = 'Tip' />
65
65
  <h6>{tip}</h6>
66
66
  </ValidatorTip>
67
67
  )}
68
68
  </Validators>
69
- :props.array_Tips ?
69
+ :props.tips ?
70
70
  <Validators className='ValidatorHelpers'>
71
- {props.array_Tips.map((tip) =>
71
+ {props.tips.map((tip) =>
72
72
  <ValidatorTip>
73
73
  <IconSvg Icon = 'Tip' />
74
74
  <h6>{tip}</h6>
75
75
  </ValidatorTip>
76
76
  )}
77
77
  </Validators>
78
- :props.array_Helpers ?
78
+ :props.helpers ?
79
79
  <Validators className='ValidatorHelpers'>
80
- {props.array_Helpers.map((helper) =>
80
+ {props.helpers.map((helper) =>
81
81
  <ValidatorWarning>
82
82
  <IconSvg Icon = 'Warning' />
83
83
  <h6>{helper}</h6>
@@ -87,15 +87,16 @@ export const Input_ = (props) => {
87
87
  :
88
88
  null
89
89
  }
90
- {props.variant_List ?
90
+ {props.list ?
91
91
  <FormList>
92
- {props.array_List.map((item) =>
92
+ {props.list.map((item) =>
93
93
  <li>
94
- <IconSvg Icon={props.icon_List} />
94
+ <IconSvg Icon={props.icon_ListItem} />
95
95
  <h6>{item}</h6>
96
96
  <Delete_Plain
97
+ onClick = {props.onClick_ListItemDelete}
97
98
  size = 'small'
98
- svgLeft = 'Delete'
99
+ iconLeft = 'Delete'
99
100
  />
100
101
  </li>
101
102
  )}
@@ -36,15 +36,14 @@ export const Input_Phone = (props) => {
36
36
  </select>
37
37
  </Dropdown_>
38
38
  <Dropdown_
39
- array_Dropdown = {props.array_PhoneDropdown}
39
+ items = {props.array_PhoneDropdown}
40
40
  />
41
41
  </InputPhoneDrops>
42
42
  <Input_
43
- text_Placeholder = {props.text_PhonePlaceholder}
44
- bool_Required = {props.bool_Required}
45
- variant_List
46
- array_List = {props.array_PhoneList}
47
- icon_List = {props.icon_PhoneList}
43
+ placeholder = {props.text_PhonePlaceholder}
44
+ required = {props.required}
45
+ list = {props.array_PhoneList}
46
+ icon_ListItem = {props.icon_PhoneList}
48
47
  />
49
48
  </InputPhone>
50
49
  )
@@ -39,12 +39,12 @@ export const Input_Phone_Register = (props) => {
39
39
  </Dropdown_>
40
40
  <Input_
41
41
  class_Input={props.class_Input}
42
- text_Placeholder={props.text_Placeholder}
43
- id_Input={props.id_Input}
44
- onChange_Input={props.onChange_Input}
45
- text_Defaultvalue={props.text_Defaultvalue}
46
- onKeyPress_Input={props.onKeyPress_Input}
47
- onKeyDown_Input={props.onKeyDown_Input}
42
+ placeholder={props.placeholder}
43
+ id={props.id}
44
+ onChange={props.onChange}
45
+ defaultValue={props.defaultValue}
46
+ onKeyPress={props.onKeyPress}
47
+ onKeyDown={props.onKeyDown}
48
48
  />
49
49
  </InputPhoneRegister>
50
50
  )
@@ -79,15 +79,15 @@ const RadioCircle = styled.div`
79
79
  export const Radio_ = (props) => {
80
80
  return (
81
81
  <Radio key={props.key}>
82
- {props.variant_Input ?
82
+ {props.withInput ?
83
83
  <Input_
84
- text_Placeholder = {props.text_RadioPlaceholder}
84
+ placeholder = {props.placeholder}
85
85
  />
86
86
  :
87
- <label for={props.id_Radio}><p>{props.text_RadioLabel}</p></label>
87
+ <label for={props.id}><p>{props.text}</p></label>
88
88
  }
89
89
  <RadioCircle className='RadioCircle'>
90
- <input name={props.name_Radio} type="radio" id={props.id_Radio} checked = {props.bool_RadioChecked}/>
90
+ <input name={props.name} type="radio" id={props.id} checked = {props.checked}/>
91
91
  <span className='RadioCustom'></span>
92
92
  <IconSvg Icon='Sun' class_Icon='RadioIcon'/>
93
93
  </RadioCircle>
@@ -44,26 +44,26 @@ export const Textarea_ = (props) => {
44
44
 
45
45
  return (
46
46
  <TextAreaGroup>
47
- <Textarea placeholder={props.text_Placeholder} rows={props.rows ? props.rows : '5'} onChange={props.onChange_Textarea ? props.onChange_Textarea : val => counter(val)} >
48
- {props.text_Prefill}
47
+ <Textarea placeholder={props.placeholder} rows={props.rows ? props.rows : '5'} onChange={props.onChange_Textarea ? props.onChange_Textarea : val => counter(val)} >
48
+ {props.defaultValue}
49
49
  </Textarea>
50
- {props.int_Limit ?
50
+ {props.limit ?
51
51
  <TextAreaCounter
52
- capped = {(count > props.int_Limit) ? true : false}
53
- > <span>{count}</span> / {props.int_Limit}</TextAreaCounter>
52
+ capped = {(count > props.limit) ? true : false}
53
+ > <span>{count}</span> / {props.limit}</TextAreaCounter>
54
54
  :
55
55
  null
56
56
  }
57
- {props.bool_Required ?
57
+ {props.required ?
58
58
  <ValidatorRequired className='ValidatorRequired'>
59
59
  <IconSvg Icon='Asterisk' />
60
60
  </ValidatorRequired>
61
61
  :
62
62
  null
63
63
  }
64
- {props.array_Errors ?
64
+ {props.errors ?
65
65
  <Validators className='ValidatorErrors'>
66
- {props.array_Errors.map((error) =>
66
+ {props.errors.map((error) =>
67
67
  <ValidatorError>
68
68
  <IconSvg Icon='Error'/>
69
69
  <h6>{error}</h6>
@@ -73,33 +73,33 @@ export const Textarea_ = (props) => {
73
73
  :
74
74
  null
75
75
  }
76
- {props.array_Tips && props.array_Helpers ?
76
+ {props.tips && props.helpers ?
77
77
  <Validators className='ValidatorHelpers'>
78
- {props.array_Helpers.map((helper) =>
78
+ {props.helpers.map((helper) =>
79
79
  <ValidatorWarning>
80
80
  <IconSvg Icon = 'Warning' />
81
81
  <h6>{helper}</h6>
82
82
  </ValidatorWarning>
83
83
  )}
84
- {props.array_Tips.map((tip) =>
84
+ {props.tips.map((tip) =>
85
85
  <ValidatorTip>
86
86
  <IconSvg Icon = 'Tip' />
87
87
  <h6>{tip}</h6>
88
88
  </ValidatorTip>
89
89
  )}
90
90
  </Validators>
91
- :props.array_Tips ?
91
+ :props.tips ?
92
92
  <Validators className='ValidatorHelpers'>
93
- {props.array_Tips.map((tip) =>
93
+ {props.tips.map((tip) =>
94
94
  <ValidatorTip>
95
95
  <IconSvg Icon = 'Tip' />
96
96
  <h6>{tip}</h6>
97
97
  </ValidatorTip>
98
98
  )}
99
99
  </Validators>
100
- :props.array_Helpers ?
100
+ :props.helpers ?
101
101
  <Validators className='ValidatorHelpers'>
102
- {props.array_Helpers.map((helper) =>
102
+ {props.helpers.map((helper) =>
103
103
  <ValidatorWarning>
104
104
  <IconSvg Icon = 'Warning' />
105
105
  <h6>{helper}</h6>
@@ -67,7 +67,7 @@ export const Nav_Protected = (props) => {
67
67
  </NavUser>
68
68
  <Grey_
69
69
  size = 'small'
70
- svgLeft = 'Ham'
70
+ iconLeft = 'Ham'
71
71
  onClick = {() => setHamState(!hamState)}
72
72
  />
73
73
  {hamState ?
@@ -38,7 +38,7 @@ export const Nav_Unprotected = (props) => {
38
38
  </NavDesktop>
39
39
  <Grey_
40
40
  size = 'small'
41
- svgLeft = 'Ham'
41
+ iconLeft = 'Ham'
42
42
  onClick = {() => setHamState(!hamState)}
43
43
  />
44
44
  {hamState ?
@@ -71,7 +71,7 @@ const SidebarBox = styled.li`
71
71
  export const Sidebar_Box = (props) => {
72
72
  return (
73
73
  <SidebarBox onClick={props.onClick}>
74
- <h5 className={props.class_Name + ' ' + 'SidebarButtonTitle'}>{props.text}</h5>
74
+ <h5 className={props.className + ' ' + 'SidebarButtonTitle'}>{props.text}</h5>
75
75
  <picture>
76
76
  {props.icon ?
77
77
  <IconSvg Icon={props.icon}/>
@@ -50,9 +50,9 @@ export const Slider_ = (props) => {
50
50
  <h3>{props.title}</h3>
51
51
  <Main_
52
52
  text = {props.done}
53
- svgRight = "Check"
53
+ iconRight = "Check"
54
54
  size = 'normal'
55
- onClick = {props.onClick_Close}
55
+ onClick = {props.onClick}
56
56
  />
57
57
  </SliderTitle>
58
58
  <SliderContainer>
@@ -46,13 +46,13 @@ export const Steps_ = (props) => {
46
46
  return (
47
47
  <Steps>
48
48
  <Steps_Header
49
- array_Steps = {props.array_Steps}
50
- int_CurrentStep = {props.int_CurrentStep}
49
+ steps = {props.steps}
50
+ currentStep = {props.currentStep}
51
51
  />
52
52
  <StepsContainer>
53
- {(props.array_Steps).map((step, i) =>
53
+ {(props.steps).map((step, i) =>
54
54
  <CSSTransition
55
- in={props.int_CurrentStep === i}
55
+ in={props.currentStep === i}
56
56
  timeout={500}
57
57
  unmountOnExit
58
58
  classNames="Steps"
@@ -13,12 +13,12 @@ export const Steps_Actions = (props) => {
13
13
  return (
14
14
  <StepsActions>
15
15
  <Grey_
16
- svgLeft = {props.icon_Grey}
16
+ iconLeft = {props.icon_Grey}
17
17
  text = {props.text_Grey}
18
18
  onClick = {props.onClick_Grey}
19
19
  />
20
20
  <Main_
21
- svgRight = {props.icon_Main}
21
+ iconRight = {props.icon_Main}
22
22
  text = {props.text_Main}
23
23
  onClick = {props.onClick_Main}
24
24
  />