@typeolymp/ui-components 3.0.15 → 3.0.16

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/build/index.js CHANGED
@@ -117,26 +117,32 @@ var theme = {
117
117
  heading: {
118
118
  h1: {
119
119
  fontSize: "40px",
120
+ fontWeight: 700,
120
121
  lineHeight: "50px",
121
122
  },
122
123
  h2: {
123
124
  fontSize: "32px",
125
+ fontWeight: 600,
124
126
  lineHeight: "40px",
125
127
  },
126
128
  h3: {
127
129
  fontSize: "28px",
130
+ fontWeight: 600,
128
131
  lineHeight: "35px",
129
132
  },
130
133
  h4: {
131
134
  fontSize: "24px",
135
+ fontWeight: 600,
132
136
  lineHeight: "30px",
133
137
  },
134
138
  h5: {
135
139
  fontSize: "20px",
140
+ fontWeight: 600,
136
141
  lineHeight: "25px",
137
142
  },
138
143
  h6: {
139
144
  fontSize: "16px",
145
+ fontWeight: 600,
140
146
  lineHeight: "20px",
141
147
  },
142
148
  },
@@ -159,20 +165,20 @@ var theme = {
159
165
  },
160
166
  paragraph: {
161
167
  tiny: {
162
- fontSize: "12px",
163
- lineHeight: "18px",
168
+ fontSize: "14px",
169
+ lineHeight: "20px",
164
170
  },
165
171
  small: {
166
- fontSize: "14px",
167
- lineHeight: "21px",
172
+ fontSize: "16px",
173
+ lineHeight: "23px",
168
174
  },
169
175
  medium: {
170
- fontSize: "16px",
171
- lineHeight: "24px",
176
+ fontSize: "18px",
177
+ lineHeight: "26px",
172
178
  },
173
179
  large: {
174
- fontSize: "18px",
175
- lineHeight: "27px",
180
+ fontSize: "20px",
181
+ lineHeight: "29px",
176
182
  },
177
183
  },
178
184
  icon: {
@@ -4120,9 +4126,12 @@ var flags = (_a$1 = {},
4120
4126
  _a$1);
4121
4127
  var Flag = function (props) { return (jsxRuntime.jsx(Wrapper$9, __assign$2({}, props, { children: flags[props.locale] }))); };
4122
4128
 
4123
- var StyledHeading = styled__default["default"].span(templateObject_1$R || (templateObject_1$R = __makeTemplateObject$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 700;\n font-style: normal;\n line-height: ", ";\n letter-spacing: ", ";\n margin: 0;\n color: ", ";\n text-align: ", ";\n text-decoration: ", ";\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 700;\n font-style: normal;\n line-height: ", ";\n letter-spacing: ", ";\n margin: 0;\n color: ", ";\n text-align: ", ";\n text-decoration: ", ";\n"])), theme.fonts.heading, function (_a) {
4129
+ var StyledHeading = styled__default["default"].span(templateObject_1$R || (templateObject_1$R = __makeTemplateObject$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n font-style: normal;\n line-height: ", ";\n letter-spacing: ", ";\n margin: 0;\n color: ", ";\n text-align: ", ";\n text-decoration: ", ";\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n font-style: normal;\n line-height: ", ";\n letter-spacing: ", ";\n margin: 0;\n color: ", ";\n text-align: ", ";\n text-decoration: ", ";\n"])), theme.fonts.heading, function (_a) {
4124
4130
  var type = _a.type;
4125
4131
  return theme.heading[type].fontSize;
4132
+ }, function (_a) {
4133
+ var type = _a.type;
4134
+ return theme.heading[type].fontWeight;
4126
4135
  }, function (_a) {
4127
4136
  var type = _a.type;
4128
4137
  return theme.heading[type].lineHeight;