@occmundial/occ-atomic 2.0.0-beta.4 → 2.0.0-beta.6
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/Button/__snapshots__/Button.test.js.snap +11 -13
- package/build/Button/styles.js +2 -2
- package/build/Text/Text.js +429 -112
- package/build/Text/Text.test.js +5 -5
- package/build/Text/__snapshots__/Text.test.js.snap +144 -86
- package/build/Text/styles.js +165 -81
- package/build/Toaster/__snapshots__/Toaster.test.js.snap +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
# [2.0.0-beta.6](https://github.com/occmundial/occ-atomic/compare/v2.0.0-beta.5...v2.0.0-beta.6) (2024-04-22)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Force padding of 0 in ghostPink button ([778ef27](https://github.com/occmundial/occ-atomic/commit/778ef27301183f43ace721b625582c14c353009b))
|
7
|
+
|
8
|
+
# [2.0.0-beta.5](https://github.com/occmundial/occ-atomic/compare/v2.0.0-beta.4...v2.0.0-beta.5) (2024-04-19)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* Changed font variable to the old one ([75dc28b](https://github.com/occmundial/occ-atomic/commit/75dc28bc0bd174057449c45d4ebe79366ffc8433))
|
14
|
+
|
15
|
+
|
16
|
+
### Features
|
17
|
+
|
18
|
+
* Changed some examples with tables ([3efe252](https://github.com/occmundial/occ-atomic/commit/3efe252c3d8651976f28e951081c717861c0ad56))
|
19
|
+
* Updated Text component documentation ([73e4b21](https://github.com/occmundial/occ-atomic/commit/73e4b21d488ba012df82d2e4fb85c18689c5d586))
|
20
|
+
* Updated text component with new tokens ([b5f75ee](https://github.com/occmundial/occ-atomic/commit/b5f75eec430126b36c06dcd60bb320ccdf7eee0f))
|
21
|
+
* Upgrade font tokens ([069bf92](https://github.com/occmundial/occ-atomic/commit/069bf9237f5b52492961f96f0a6f4a79469f4448))
|
22
|
+
|
1
23
|
# [2.0.0-beta.4](https://github.com/occmundial/occ-atomic/compare/v2.0.0-beta.3...v2.0.0-beta.4) (2024-04-19)
|
2
24
|
|
3
25
|
|
@@ -4,14 +4,6 @@ exports[`Button matches the snapshot 1`] = `ShallowWrapper {}`;
|
|
4
4
|
|
5
5
|
exports[`Button styles matches the snapshot 1`] = `
|
6
6
|
Object {
|
7
|
-
"@keyframes iconRotate": Object {
|
8
|
-
"from": Object {
|
9
|
-
"transform": "rotate(0deg)",
|
10
|
-
},
|
11
|
-
"to": Object {
|
12
|
-
"transform": "rotate(360deg)",
|
13
|
-
},
|
14
|
-
},
|
15
7
|
"block": Object {
|
16
8
|
"display": "block",
|
17
9
|
"width": "100%",
|
@@ -28,7 +20,7 @@ Object {
|
|
28
20
|
"boxSizing": "border-box",
|
29
21
|
"cursor": "pointer",
|
30
22
|
"display": "inline-block",
|
31
|
-
"font": "400 14px/1.5 '
|
23
|
+
"font": "400 14px/1.5 'OccText', sans-serif",
|
32
24
|
"marginBottom": 0,
|
33
25
|
"maxWidth": "100%",
|
34
26
|
"padding": Array [
|
@@ -105,8 +97,14 @@ Object {
|
|
105
97
|
"background": "transparent",
|
106
98
|
"border": "none",
|
107
99
|
"color": "#f13465",
|
108
|
-
"paddingLeft":
|
109
|
-
|
100
|
+
"paddingLeft": Array [
|
101
|
+
0,
|
102
|
+
"!important",
|
103
|
+
],
|
104
|
+
"paddingRight": Array [
|
105
|
+
0,
|
106
|
+
"!important",
|
107
|
+
],
|
110
108
|
},
|
111
109
|
"ghostWhite": Object {
|
112
110
|
"& i": Object {
|
@@ -165,7 +163,7 @@ Object {
|
|
165
163
|
"12px",
|
166
164
|
],
|
167
165
|
},
|
168
|
-
"font": "400 18px/1.5 '
|
166
|
+
"font": "400 18px/1.5 'OccText', sans-serif",
|
169
167
|
"padding": Array [
|
170
168
|
"12px",
|
171
169
|
"32px",
|
@@ -204,7 +202,7 @@ Object {
|
|
204
202
|
"8px",
|
205
203
|
],
|
206
204
|
},
|
207
|
-
"font": "400 16px/1.5 '
|
205
|
+
"font": "400 16px/1.5 'OccText', sans-serif",
|
208
206
|
"padding": Array [
|
209
207
|
"12px",
|
210
208
|
"24px",
|
package/build/Button/styles.js
CHANGED
@@ -220,8 +220,8 @@ var _default = {
|
|
220
220
|
background: 'transparent',
|
221
221
|
color: sec,
|
222
222
|
border: 'none',
|
223
|
-
paddingLeft: 0,
|
224
|
-
paddingRight: 0,
|
223
|
+
paddingLeft: [0, '!important'],
|
224
|
+
paddingRight: [0, '!important'],
|
225
225
|
'&:hover, &:active': {
|
226
226
|
color: secDark,
|
227
227
|
'& i': {
|