@occmundial/occ-atomic 1.38.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ # [1.39.0](https://github.com/occmundial/occ-atomic/compare/v1.38.0...v1.39.0) (2023-11-09)
2
+
3
+
4
+ ### Features
5
+
6
+ * Add new font styles ([105e874](https://github.com/occmundial/occ-atomic/commit/105e8746850109c3a2815ee0c4e4aba9c4258641))
7
+ * Modify font styles in button component ([5771b56](https://github.com/occmundial/occ-atomic/commit/5771b565b824d23956bcefe45726b295d3db4883))
8
+ * Modify fontWeight in avatar styles ([0b9ab15](https://github.com/occmundial/occ-atomic/commit/0b9ab15dcd51b0637a7f9c740ec9998095f07469))
9
+ * Modify lineHeight ([141a448](https://github.com/occmundial/occ-atomic/commit/141a4489a9b233f4d6fb47d4cbee3f34742e9188))
10
+ * Modify lineHeight ([5338b94](https://github.com/occmundial/occ-atomic/commit/5338b942de7ad741f0b01f85f2fc1ae65dc2f3e2))
11
+ * Update font styles ([374d696](https://github.com/occmundial/occ-atomic/commit/374d696cb494843ff994978bd6f9ca6e659d4146))
12
+ * Update font styles ([ba80d4c](https://github.com/occmundial/occ-atomic/commit/ba80d4c8b8c722930703d4a0af568d7b8b03937d))
13
+ * Update fontSize ([1890bf9](https://github.com/occmundial/occ-atomic/commit/1890bf9e1e8ae0ca51f44af31cd013dda96c0e1a))
14
+ * Update fontSize in check component ([be54e58](https://github.com/occmundial/occ-atomic/commit/be54e5851dcc018a840948e150f83a4a4b8fad5b))
15
+
1
16
  # [1.38.0](https://github.com/occmundial/occ-atomic/compare/v1.37.0...v1.38.0) (2023-11-09)
2
17
 
3
18
 
@@ -38,7 +38,7 @@ var _default = {
38
38
  fontFamily: _fonts["default"].body,
39
39
  fontSize: '57px',
40
40
  lineHeight: '72px',
41
- fontWeight: '600',
41
+ fontWeight: '400',
42
42
  background: _colors["default"].grey100,
43
43
  color: _colors["default"].grey200,
44
44
  textAlign: 'center',
@@ -58,10 +58,10 @@ var _default = {
58
58
  padding: [0, small],
59
59
  borderRadius: radius,
60
60
  fontFamily: _fonts["default"].body,
61
- fontWeight: 600,
62
- fontSize: 13,
63
- lineHeight: "".concat(base, "px"),
64
- letterSpacing: 1,
61
+ fontWeight: 400,
62
+ fontSize: 14,
63
+ lineHeight: 1.5,
64
+ letterSpacing: 0,
65
65
  textAlign: 'center',
66
66
  textDecoration: 'none',
67
67
  whiteSpace: 'nowrap',
@@ -309,9 +309,9 @@ var _default = {
309
309
  },
310
310
  // Sizes
311
311
  md: {
312
- fontSize: 15,
312
+ fontSize: 16,
313
313
  height: 40,
314
- lineHeight: "".concat(base, "px"),
314
+ lineHeight: 1.5,
315
315
  '& i': {
316
316
  width: _iconSizes["default"].small,
317
317
  height: _iconSizes["default"].small
@@ -321,9 +321,9 @@ var _default = {
321
321
  }
322
322
  },
323
323
  lg: {
324
- fontSize: 15,
324
+ fontSize: 16,
325
325
  height: large,
326
- lineHeight: "".concat(base, "px"),
326
+ lineHeight: 1.5,
327
327
  '& i': {
328
328
  width: _iconSizes["default"].small,
329
329
  height: _iconSizes["default"].small
@@ -79,7 +79,7 @@ var _default = {
79
79
  },
80
80
  label: {
81
81
  fontFamily: _fonts["default"].body,
82
- fontSize: '15px',
82
+ fontSize: '16px',
83
83
  color: _colors["default"].grey7,
84
84
  paddingTop: '3px',
85
85
  paddingLeft: '5px',
@@ -91,7 +91,7 @@ var _default = {
91
91
  right: {
92
92
  extend: 'label',
93
93
  flex: 'none',
94
- fontSize: '13px',
94
+ fontSize: '14px',
95
95
  color: _colors["default"].grey1,
96
96
  paddingRight: '0',
97
97
  "float": 'right'
@@ -17,7 +17,7 @@ var _default = {
17
17
  paddingLeft: '0',
18
18
  fontFamily: _fonts["default"].body,
19
19
  color: _colors["default"].grey7,
20
- fontSize: '13px'
20
+ fontSize: '14px'
21
21
  },
22
22
  btn: {
23
23
  display: 'inline-block',
@@ -25,8 +25,8 @@ var _default = {
25
25
  },
26
26
  label: {
27
27
  fontFamily: _fonts["default"].body,
28
- fontSize: 13,
29
- lineHeight: '20px',
28
+ fontSize: 14,
29
+ lineHeight: 1.5,
30
30
  color: _colors["default"].ink,
31
31
  transition: '0.3s all',
32
32
  '& a': {
@@ -18,7 +18,7 @@ var _default = {
18
18
  position: 'relative',
19
19
  background: 'transparent',
20
20
  fontFamily: _fonts["default"].body,
21
- fontSize: '13px',
21
+ fontSize: '14px',
22
22
  color: _colors["default"].black,
23
23
  border: "1px solid ".concat(_colors["default"].grey1),
24
24
  height: '30px',
@@ -40,10 +40,10 @@ var smallIcon = _iconSizes["default"].small;
40
40
  var paddingStandardTag = [1, tiny, 3, tiny],
41
41
  paddingMediumTag = [5, gutter, 7, gutter],
42
42
  paddingBigTag = [tiny, small],
43
- tagTextLineHeight = 1.4,
44
- tagTextStandardSize = 11,
45
- tagTextMediumSize = 15,
46
- tagTextBigSize = 17,
43
+ tagTextLineHeight = 1.5,
44
+ tagTextStandardSize = 10,
45
+ tagTextMediumSize = 16,
46
+ tagTextBigSize = 16,
47
47
  bigTagHeight = 40;
48
48
  var _default = {
49
49
  tag: {
@@ -71,7 +71,7 @@ var _default = {
71
71
  tagText: {
72
72
  boxSizing: 'border-box',
73
73
  fontFamily: _fonts["default"].body,
74
- fontWeight: '600',
74
+ fontWeight: '400',
75
75
  fontStyle: 'normal',
76
76
  fontStretch: 'normal',
77
77
  letterSpacing: 'normal',
@@ -21,62 +21,60 @@ var _default = {
21
21
  text: {
22
22
  letterSpacing: 0,
23
23
  fontFamily: _fonts["default"].body,
24
- fontWeight: 400,
24
+ fontWeight: 300,
25
25
  fontStyle: 'normal',
26
26
  margin: 0
27
27
  },
28
28
  // Sizes
29
29
  hero: _defineProperty({
30
- fontSize: 28,
31
- lineHeight: '32px',
32
- fontWeight: 600
30
+ fontSize: 32,
31
+ lineHeight: 1.1,
32
+ fontWeight: 400,
33
+ letterSpacing: -0.64
33
34
  }, "@media screen and (min-width:".concat(_grid["default"].sm, "px)"), {
34
- fontSize: 57,
35
- lineHeight: '72px',
36
- letterSpacing: -2
35
+ fontSize: 48,
36
+ letterSpacing: -0.96
37
37
  }),
38
38
  headline: _defineProperty({
39
39
  fontSize: 28,
40
- lineHeight: '32px',
41
- fontWeight: 600
40
+ lineHeight: 1.1,
41
+ fontWeight: 400
42
42
  }, "@media screen and (min-width:".concat(_grid["default"].sm, "px)"), {
43
- fontSize: 36,
44
- lineHeight: '48px',
45
- letterSpacing: -0.5
43
+ fontSize: 40
46
44
  }),
47
45
  heading: {
48
- fontSize: 22,
49
- lineHeight: '32px',
50
- fontWeight: 600
46
+ fontSize: 24,
47
+ lineHeight: 1.1,
48
+ fontWeight: 400
51
49
  },
52
50
  subheading: {
53
- fontSize: 17,
54
- lineHeight: '24px',
55
- fontWeight: 600
51
+ fontSize: 18,
52
+ lineHeight: 1.1,
53
+ fontWeight: 400
56
54
  },
57
55
  extraLarge: {
58
- fontSize: 22,
59
- lineHeight: '32px'
56
+ fontSize: 20,
57
+ lineHeight: 1.5
60
58
  },
61
59
  large: {
62
- fontSize: 17,
63
- lineHeight: '24px'
60
+ fontSize: 18,
61
+ lineHeight: 1.5
64
62
  },
65
63
  standard: {
66
- fontSize: 15,
67
- lineHeight: '24px'
64
+ fontSize: 16,
65
+ lineHeight: 1.5
68
66
  },
69
67
  small: {
70
- fontSize: 13,
71
- lineHeight: '16px'
68
+ fontSize: 14,
69
+ lineHeight: 1.5
72
70
  },
73
71
  micro: {
74
- fontSize: 11,
75
- lineHeight: '16px'
72
+ fontSize: 12,
73
+ lineHeight: 1.5
76
74
  },
77
75
  // Weight
78
76
  strong: {
79
- fontWeight: 600
77
+ fontWeight: 400
80
78
  },
81
79
  // Colors
82
80
  primary: {
@@ -82,8 +82,8 @@ var _default = {
82
82
  },
83
83
  label: {
84
84
  fontFamily: _fonts["default"].body,
85
- fontSize: 13,
86
- lineHeight: '20px',
85
+ fontSize: 14,
86
+ lineHeight: 1.5,
87
87
  color: _colors["default"].ink,
88
88
  transition: '0.3s all',
89
89
  '& a': {
@@ -113,9 +113,9 @@ var _default = {
113
113
  height: 40,
114
114
  color: _colors["default"].ink,
115
115
  fontFamily: _fonts["default"].body,
116
- fontWeight: 'normal',
117
- fontSize: 15,
118
- lineHeight: '24px',
116
+ fontWeight: 300,
117
+ fontSize: 16,
118
+ lineHeight: 1.5,
119
119
  background: _colors["default"].bgWhite,
120
120
  border: "1px solid ".concat(_colors["default"].grey200),
121
121
  borderRadius: 4,
@@ -154,14 +154,14 @@ var _default = {
154
154
  },
155
155
  paddingRight: 32,
156
156
  '& optgroup': {
157
- fontSize: 13,
157
+ fontSize: 14,
158
158
  fontWeight: 'normal',
159
- lineHeight: '40px',
159
+ lineHeight: 1.5,
160
160
  color: _colors["default"].inkLight
161
161
  },
162
162
  '& option': {
163
- fontSize: 15,
164
- lineHeight: '40px',
163
+ fontSize: 16,
164
+ lineHeight: 1.5,
165
165
  color: _colors["default"].ink,
166
166
  '&:disabled': {
167
167
  color: _colors["default"].inkLighter
@@ -238,7 +238,9 @@ var _default = {
238
238
  textAlign: 'right'
239
239
  },
240
240
  assistiveText: {
241
- color: _colors["default"].inkLighter
241
+ color: _colors["default"].inkLighter,
242
+ fontSize: 12,
243
+ fontWeight: 300
242
244
  },
243
245
  errorAssistiveText: {
244
246
  color: _colors["default"].errorText
@@ -21,8 +21,8 @@ var _default = {
21
21
  tooltip: {
22
22
  padding: '16px',
23
23
  borderRadius: '4px',
24
- fontSize: '13px',
25
- lineHeight: '16px'
24
+ fontSize: '14px',
25
+ lineHeight: 1.5
26
26
  },
27
27
  info: {
28
28
  background: infoLight,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "1.38.0",
3
+ "version": "1.39.0",
4
4
  "description": "Collection of shareable styled React components for OCC applications.",
5
5
  "homepage": "http://occmundial.github.io/occ-atomic",
6
6
  "main": "build/index.js",