@occmundial/occ-atomic 1.37.0 → 1.39.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.
- package/CHANGELOG.md +22 -0
- package/build/Avatar/AvatarContent/styles.js +1 -1
- package/build/Button/styles.js +8 -8
- package/build/Check/styles.js +2 -2
- package/build/Footer/Footer.js +2 -1
- package/build/Pager/styles.js +1 -1
- package/build/Pill/styles.js +2 -2
- package/build/SwitchGroup/styles.js +1 -1
- package/build/Tag/styles.js +5 -5
- package/build/Text/styles.js +27 -29
- package/build/TextField/styles.js +12 -10
- package/build/Tooltip/styles.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
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
|
+
|
16
|
+
# [1.38.0](https://github.com/occmundial/occ-atomic/compare/v1.37.0...v1.38.0) (2023-11-09)
|
17
|
+
|
18
|
+
|
19
|
+
### Features
|
20
|
+
|
21
|
+
* Add testId for bottomLinks ([39e677e](https://github.com/occmundial/occ-atomic/commit/39e677e51710f009410a78a2166cf42b73fdfa2b))
|
22
|
+
|
1
23
|
# [1.37.0](https://github.com/occmundial/occ-atomic/compare/v1.36.0...v1.37.0) (2023-10-19)
|
2
24
|
|
3
25
|
|
package/build/Button/styles.js
CHANGED
@@ -58,10 +58,10 @@ var _default = {
|
|
58
58
|
padding: [0, small],
|
59
59
|
borderRadius: radius,
|
60
60
|
fontFamily: _fonts["default"].body,
|
61
|
-
fontWeight:
|
62
|
-
fontSize:
|
63
|
-
lineHeight:
|
64
|
-
letterSpacing:
|
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:
|
312
|
+
fontSize: 16,
|
313
313
|
height: 40,
|
314
|
-
lineHeight:
|
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:
|
324
|
+
fontSize: 16,
|
325
325
|
height: large,
|
326
|
-
lineHeight:
|
326
|
+
lineHeight: 1.5,
|
327
327
|
'& i': {
|
328
328
|
width: _iconSizes["default"].small,
|
329
329
|
height: _iconSizes["default"].small
|
package/build/Check/styles.js
CHANGED
@@ -79,7 +79,7 @@ var _default = {
|
|
79
79
|
},
|
80
80
|
label: {
|
81
81
|
fontFamily: _fonts["default"].body,
|
82
|
-
fontSize: '
|
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: '
|
94
|
+
fontSize: '14px',
|
95
95
|
color: _colors["default"].grey1,
|
96
96
|
paddingRight: '0',
|
97
97
|
"float": 'right'
|
package/build/Footer/Footer.js
CHANGED
@@ -100,7 +100,8 @@ var Footer = function Footer(_ref) {
|
|
100
100
|
}, /*#__PURE__*/_react["default"].createElement(_Text["default"], {
|
101
101
|
tag: "label",
|
102
102
|
small: true,
|
103
|
-
mid: true
|
103
|
+
mid: true,
|
104
|
+
testId: item.testId
|
104
105
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
105
106
|
className: classes.link,
|
106
107
|
href: item.href,
|
package/build/Pager/styles.js
CHANGED
package/build/Pill/styles.js
CHANGED
@@ -18,7 +18,7 @@ var _default = {
|
|
18
18
|
position: 'relative',
|
19
19
|
background: 'transparent',
|
20
20
|
fontFamily: _fonts["default"].body,
|
21
|
-
fontSize: '
|
21
|
+
fontSize: '14px',
|
22
22
|
color: _colors["default"].black,
|
23
23
|
border: "1px solid ".concat(_colors["default"].grey1),
|
24
24
|
height: '30px',
|
package/build/Tag/styles.js
CHANGED
@@ -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.
|
44
|
-
tagTextStandardSize =
|
45
|
-
tagTextMediumSize =
|
46
|
-
tagTextBigSize =
|
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: '
|
74
|
+
fontWeight: '400',
|
75
75
|
fontStyle: 'normal',
|
76
76
|
fontStretch: 'normal',
|
77
77
|
letterSpacing: 'normal',
|
package/build/Text/styles.js
CHANGED
@@ -21,62 +21,60 @@ var _default = {
|
|
21
21
|
text: {
|
22
22
|
letterSpacing: 0,
|
23
23
|
fontFamily: _fonts["default"].body,
|
24
|
-
fontWeight:
|
24
|
+
fontWeight: 300,
|
25
25
|
fontStyle: 'normal',
|
26
26
|
margin: 0
|
27
27
|
},
|
28
28
|
// Sizes
|
29
29
|
hero: _defineProperty({
|
30
|
-
fontSize:
|
31
|
-
lineHeight:
|
32
|
-
fontWeight:
|
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:
|
35
|
-
|
36
|
-
letterSpacing: -2
|
35
|
+
fontSize: 48,
|
36
|
+
letterSpacing: -0.96
|
37
37
|
}),
|
38
38
|
headline: _defineProperty({
|
39
39
|
fontSize: 28,
|
40
|
-
lineHeight:
|
41
|
-
fontWeight:
|
40
|
+
lineHeight: 1.1,
|
41
|
+
fontWeight: 400
|
42
42
|
}, "@media screen and (min-width:".concat(_grid["default"].sm, "px)"), {
|
43
|
-
fontSize:
|
44
|
-
lineHeight: '48px',
|
45
|
-
letterSpacing: -0.5
|
43
|
+
fontSize: 40
|
46
44
|
}),
|
47
45
|
heading: {
|
48
|
-
fontSize:
|
49
|
-
lineHeight:
|
50
|
-
fontWeight:
|
46
|
+
fontSize: 24,
|
47
|
+
lineHeight: 1.1,
|
48
|
+
fontWeight: 400
|
51
49
|
},
|
52
50
|
subheading: {
|
53
|
-
fontSize:
|
54
|
-
lineHeight:
|
55
|
-
fontWeight:
|
51
|
+
fontSize: 18,
|
52
|
+
lineHeight: 1.1,
|
53
|
+
fontWeight: 400
|
56
54
|
},
|
57
55
|
extraLarge: {
|
58
|
-
fontSize:
|
59
|
-
lineHeight:
|
56
|
+
fontSize: 20,
|
57
|
+
lineHeight: 1.5
|
60
58
|
},
|
61
59
|
large: {
|
62
|
-
fontSize:
|
63
|
-
lineHeight:
|
60
|
+
fontSize: 18,
|
61
|
+
lineHeight: 1.5
|
64
62
|
},
|
65
63
|
standard: {
|
66
|
-
fontSize:
|
67
|
-
lineHeight:
|
64
|
+
fontSize: 16,
|
65
|
+
lineHeight: 1.5
|
68
66
|
},
|
69
67
|
small: {
|
70
|
-
fontSize:
|
71
|
-
lineHeight:
|
68
|
+
fontSize: 14,
|
69
|
+
lineHeight: 1.5
|
72
70
|
},
|
73
71
|
micro: {
|
74
|
-
fontSize:
|
75
|
-
lineHeight:
|
72
|
+
fontSize: 12,
|
73
|
+
lineHeight: 1.5
|
76
74
|
},
|
77
75
|
// Weight
|
78
76
|
strong: {
|
79
|
-
fontWeight:
|
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:
|
86
|
-
lineHeight:
|
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:
|
117
|
-
fontSize:
|
118
|
-
lineHeight:
|
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:
|
157
|
+
fontSize: 14,
|
158
158
|
fontWeight: 'normal',
|
159
|
-
lineHeight:
|
159
|
+
lineHeight: 1.5,
|
160
160
|
color: _colors["default"].inkLight
|
161
161
|
},
|
162
162
|
'& option': {
|
163
|
-
fontSize:
|
164
|
-
lineHeight:
|
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
|
package/build/Tooltip/styles.js
CHANGED
package/package.json
CHANGED