@openlettermarketing/olc-react-sdk 0.0.18 → 0.0.19

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@openlettermarketing/olc-react-sdk",
3
3
  "private": false,
4
- "version": "0.0.18",
4
+ "version": "0.0.19",
5
5
  "type": "module",
6
6
  "description": "Simplify template builder integration for any product.",
7
7
  "main": "build/index.js",
@@ -55,7 +55,7 @@ const templateHeadingStyles: React.CSSProperties = {
55
55
  color: `var(--primaryColor)`,
56
56
  fontSize: `24px`,
57
57
  fontStyle: `normal`,
58
- fontWeight: `700`,
58
+ fontWeight: `600`,
59
59
  lineHeight: `normal`,
60
60
  marginBottom: `20px`,
61
61
  };
@@ -64,7 +64,7 @@ const templateTextStyles: React.CSSProperties = {
64
64
  color: `var(--textColor)`,
65
65
  fontSize: `14px`,
66
66
  fontStyle: `normal`,
67
- fontWeight: `500`,
67
+ fontWeight: `400`,
68
68
  lineHeight: `normal`,
69
69
  marginBottom: `16px`,
70
70
  };
@@ -78,6 +78,8 @@ const footerButtonStyles: React.CSSProperties = {
78
78
  borderRadius: '3px',
79
79
  backgroundColor: 'var(--secondaryButtonBgColor)',
80
80
  color: `var(--secondaryButtonTextColor)`,
81
+ fontSize: `14px`,
82
+ fontWeight: `500`,
81
83
  };
82
84
 
83
85
  const Images: Record<string, ReactElement> = {
@@ -172,7 +172,7 @@
172
172
  color: var(--primaryColor);
173
173
  font-size: 16px;
174
174
  font-style: normal;
175
- font-weight: 600;
175
+ font-weight: 500;
176
176
  line-height: normal;
177
177
  margin: 0;
178
178
  }
@@ -273,7 +273,7 @@
273
273
  color: var(--primaryColor);
274
274
  font-size: 16px;
275
275
  font-style: normal;
276
- font-weight: 600;
276
+ font-weight: 500;
277
277
  line-height: normal;
278
278
  margin: 0;
279
279
  }
@@ -36,13 +36,13 @@ const buttonStyles: CSSProperties = {
36
36
  const heading: CSSProperties = {
37
37
  fontSize: '22px',
38
38
  color: 'var(--dialogModalHeadingColor)',
39
- fontWeight: '700',
39
+ fontWeight: '600',
40
40
  };
41
41
 
42
42
  const subHeadingStyle: CSSProperties = {
43
43
  fontSize: '16px',
44
- color: 'var(--dialogModalTextColor',
45
- fontWeight: '700',
44
+ color: 'var(--dialogModalTextColor)',
45
+ fontWeight: '600',
46
46
  textAlign: 'center',
47
47
  };
48
48
 
@@ -94,7 +94,7 @@ const Dialog: React.FC<DialogProps> = ({
94
94
  {description && (
95
95
  <Typography
96
96
  variant="p"
97
- style={{...subHeadingStyle, fontWeight: '400'}}
97
+ style={{...subHeadingStyle, fontWeight: '400', fontSize: '14px'}}
98
98
  >
99
99
  {description}
100
100
  </Typography>
@@ -27,8 +27,8 @@
27
27
  padding: 5px 20px;
28
28
  background: transparent;
29
29
  font-size: 14px;
30
- font-family: 'Inter', sans-serif !important;
31
- font-weight: 500;
30
+ font-family: 'Inter' !important;
31
+ font-weight: 400;
32
32
  line-height: 24px;
33
33
  color: var(--inputTextColor);
34
34
  border: none;
@@ -23,7 +23,7 @@ import './styles.scss';
23
23
 
24
24
  const saveDialogStyles = {
25
25
  maxWidth: '433px',
26
- minHeight: '290px',
26
+ minHeight: '280px',
27
27
  };
28
28
 
29
29
  interface SaveTemplateModelProps {
@@ -61,6 +61,7 @@ const buttonStyles: React.CSSProperties = {
61
61
  color: 'var(--secondaryButtonTextColor)',
62
62
  border: '0.5px solid var(--borderColor)',
63
63
  fontSize: '15px',
64
+ fontWeight: '500'
64
65
  };
65
66
 
66
67
  const progressStyles: React.CSSProperties = {
@@ -22,7 +22,7 @@
22
22
  text-align: center;
23
23
  margin-bottom: 0px;
24
24
  font-size: 16px;
25
- font-weight: 500;
25
+ font-weight: 400;
26
26
  text-overflow: ellipsis;
27
27
  white-space: nowrap;
28
28
  overflow: hidden;
package/src/index.scss CHANGED
@@ -70,7 +70,7 @@
70
70
  --red: #ff0000;
71
71
 
72
72
  body {
73
- font-family: 'Inter', sans-serif !important;
73
+ font-family: "Inter" !important;
74
74
  padding: 70px 0 0;
75
75
  margin: 0;
76
76
 
package/src/index.tsx CHANGED
@@ -51,7 +51,6 @@ const TemplateBuilder = ({
51
51
  <>
52
52
  <Provider store={store}>
53
53
  <Router>
54
-
55
54
  <App
56
55
  secretKey={secretKey}
57
56
  styles={styles}