monica-alexandria 3.2.20 → 3.2.21

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.2.20",
3
+ "version": "3.2.21",
4
4
  "description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -18,7 +18,7 @@ const Cta = styled(Button)`
18
18
  export const Cta_ = (props) => {
19
19
  return (
20
20
  <Cta size={props.size} onClick={props.onClick}>
21
- <span>{props.text_Button}</span>
21
+ <span>{props.text}</span>
22
22
  </Cta>
23
23
  )
24
24
  }
@@ -35,8 +35,8 @@ export const Delete_Plain = (props) => {
35
35
  :
36
36
  null
37
37
  }
38
- {props.text_Button ?
39
- <span>{props.text_Button}</span>
38
+ {props.text ?
39
+ <span>{props.text}</span>
40
40
  :
41
41
  null
42
42
  }
@@ -29,8 +29,8 @@ export const Focus_ = (props) => {
29
29
  :
30
30
  null
31
31
  }
32
- {props.text_Button ?
33
- <span>{props.text_Button}</span>
32
+ {props.text ?
33
+ <span>{props.text}</span>
34
34
  :
35
35
  null
36
36
  }
@@ -35,8 +35,8 @@ export const Focus_Plain = (props) => {
35
35
  :
36
36
  null
37
37
  }
38
- {props.text_Button ?
39
- <span>{props.text_Button}</span>
38
+ {props.text ?
39
+ <span>{props.text}</span>
40
40
  :
41
41
  null
42
42
  }
@@ -30,8 +30,8 @@ export const Grey_ = (props) => {
30
30
  :
31
31
  null
32
32
  }
33
- {props.text_Button ?
34
- <span>{props.text_Button}</span>
33
+ {props.text ?
34
+ <span>{props.text}</span>
35
35
  :
36
36
  null
37
37
  }
@@ -36,8 +36,8 @@ export const Grey_Link = (props) => {
36
36
  :
37
37
  null
38
38
  }
39
- {props.text_Button ?
40
- <span>{props.text_Button}</span>
39
+ {props.text ?
40
+ <span>{props.text}</span>
41
41
  :
42
42
  null
43
43
  }
@@ -30,8 +30,8 @@ export const Main_ = (props) => {
30
30
  :
31
31
  null
32
32
  }
33
- {props.text_Button ?
34
- <span>{props.text_Button}</span>
33
+ {props.text ?
34
+ <span>{props.text}</span>
35
35
  :
36
36
  null
37
37
  }
@@ -35,8 +35,8 @@ export const Main_Plain = (props) => {
35
35
  :
36
36
  null
37
37
  }
38
- {props.text_Button ?
39
- <span>{props.text_Button}</span>
38
+ {props.text ?
39
+ <span>{props.text}</span>
40
40
  :
41
41
  null
42
42
  }
@@ -35,8 +35,8 @@ export const White_Plain = (props) => {
35
35
  :
36
36
  null
37
37
  }
38
- {props.text_Button ?
39
- <span>{props.text_Button}</span>
38
+ {props.text ?
39
+ <span>{props.text}</span>
40
40
  :
41
41
  null
42
42
  }
@@ -54,12 +54,12 @@ export const Confirmation_ = (props) => {
54
54
  <Main_
55
55
  onClick = {props.onClick_Primary}
56
56
  svgLeft = {props.icon_Primary}
57
- text_Button = {props.text_Primary}
57
+ text = {props.text_Primary}
58
58
  />
59
59
  <Main_Plain
60
60
  onClick = {props.onClick_Secondary}
61
61
  svgLeft = {props.icon_Secondary}
62
- text_Button = {props.text_Secondary}
62
+ text = {props.text_Secondary}
63
63
  />
64
64
  </ConfirmationActions>
65
65
  </ConfirmationContainer>
@@ -24,7 +24,7 @@ export const Input_ = (props) => {
24
24
  {props.variant_List ?
25
25
  <Main_
26
26
  size = 'small'
27
- text_Button = {props.text_AddInput}
27
+ text = {props.text_AddInput}
28
28
  svgLeft = 'Add'
29
29
  className = 'FormAddButton'
30
30
  onClick = {props.onClick_AddInput}
@@ -16,7 +16,7 @@ export const Nav_Mid = (props) => {
16
16
  <NavMid>
17
17
  <Cta_
18
18
  size = 'normal'
19
- text_Button = {props.text_Cta}
19
+ text = {props.text_Cta}
20
20
  onClick = {props.onClick_Cta}
21
21
  />
22
22
  </NavMid>
@@ -32,7 +32,7 @@ export const Nav_Unprotected = (props) => {
32
32
  <NavDesktop>
33
33
  <Main_Plain
34
34
  size = 'small'
35
- text_Button = {props.text_Login}
35
+ text = {props.text_Login}
36
36
  onClick = {props.onClick_Login}
37
37
  />
38
38
  </NavDesktop>
@@ -49,7 +49,7 @@ export const Slider_ = (props) => {
49
49
  <SliderTitle>
50
50
  <h3>{props.title}</h3>
51
51
  <Main_
52
- text_Button = {props.done}
52
+ text = {props.done}
53
53
  svgRight = "Check"
54
54
  size = 'normal'
55
55
  onClick = {props.onClick_Close}
@@ -14,12 +14,12 @@ export const Steps_Actions = (props) => {
14
14
  <StepsActions>
15
15
  <Grey_
16
16
  svgLeft = {props.icon_Grey}
17
- text_Button = {props.text_Grey}
17
+ text = {props.text_Grey}
18
18
  onClick = {props.onClick_Grey}
19
19
  />
20
20
  <Main_
21
21
  svgRight = {props.icon_Main}
22
- text_Button = {props.text_Main}
22
+ text = {props.text_Main}
23
23
  onClick = {props.onClick_Main}
24
24
  />
25
25
  </StepsActions>
@@ -40,6 +40,6 @@ export const Default = (args) =>
40
40
 
41
41
  Default.args = {
42
42
  onClick_Close : '_',
43
- text_Title : "This is the slider's title",
44
- text_MainButton : 'Done'
43
+ title : "This is the slider's title",
44
+ done : 'Done'
45
45
  }