@epam/assets 6.4.4 → 6.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/assets",
3
- "version": "6.4.4",
3
+ "version": "6.5.0",
4
4
  "description": "EPAM Assets Library",
5
5
  "author": "EPAM",
6
6
  "license": "MIT",
@@ -13,7 +13,7 @@
13
13
  "type": "git",
14
14
  "url": "https://github.com/epam/UUI"
15
15
  },
16
- "gitHead": "f6da9778ecbb962b8197fa94c085537156a7529c",
16
+ "gitHead": "8d3a27e4e2ff865cd2d3342f5423ca73b91fc6d4",
17
17
  "publishConfig": {
18
18
  "directory": "build"
19
19
  }
@@ -1,160 +1,160 @@
1
- @use 'colors' as *;
2
- @use 'fonts' as *;
3
-
4
- @mixin overflow-ellipsis() {
5
- overflow: hidden;
6
- text-overflow: ellipsis;
7
- }
8
-
9
- @mixin typography-header() {
10
- :global(.hero-header), h1, h2, h3, h4, h5, h6 {
11
- margin: 0;
12
- }
13
-
14
- :global(.hero-header), h2 {
15
- font-family: $font-source-sans;
16
- font-weight: 700;
17
- }
18
-
19
- :global(.hero-header) {
20
- margin: 30px 0;
21
- font-size: 72px;
22
- line-height: 72px;
23
- }
24
-
25
- h3, h4, h5, h6 {
26
- font-family: $font-source-sans;
27
- font-weight: 600;
28
- }
29
-
30
- h1, h2, h3, h4, h5, h6 {
31
- margin-bottom: 0.5em;
32
- margin-top: 1.2em;
33
- line-height: 1.35em;
34
- }
35
-
36
- h1 {
37
- font-size: 42px;
38
- }
39
-
40
- h2 {
41
- font-size: 30px;
42
- }
43
-
44
- h3 {
45
- font-size: 24px;
46
- }
47
-
48
- h4 {
49
- font-size: 18px;
50
- }
51
-
52
- h5 {
53
- font-size: 16px;
54
- }
55
-
56
- h6 {
57
- font-size: 14px;
58
- }
59
- }
60
-
61
- @mixin typography-inline() {
62
- b, strong {
63
- font-family: $font-source-sans;
64
- font-weight: 600;
65
- color: $night900;
66
- }
67
-
68
- i, em {
69
- font-family: $font-source-sans;
70
- font-weight: 400;
71
- font-style: italic;
72
- }
73
-
74
- a {
75
- display: inline-flex;
76
- align-items: center;
77
- color: $sky;
78
- text-decoration: underline;
79
-
80
- &:hover {
81
- color: darken($sky, 10%);
82
- }
83
- }
84
-
85
- code {
86
- padding: 0.125em 0.25em;
87
- color: $night50;
88
- background-color: $night700;
89
- border-radius: 3px;
90
- font-family: monospace;
91
- font-weight: 400;
92
- white-space: pre-wrap;
93
- word-wrap: normal;
94
- }
95
- }
96
-
97
- @mixin typography-block() {
98
- b, strong {
99
- color: $night900;
100
- }
101
-
102
- ol, ul {
103
- padding: 0;
104
- }
105
-
106
- li {
107
- margin-left: 1.25em;
108
- line-height: 1.5;
109
- }
110
-
111
- pre {
112
- padding: 1.25em;
113
- color: $night50;
114
- background-color: $night700;
115
- border-radius: 3px;
116
- font-family: monospace;
117
- font-weight: 400;
118
- white-space: pre-wrap;
119
- word-wrap: normal;
120
- }
121
-
122
- img {
123
- max-width: 100%;
124
- }
125
-
126
- figure {
127
- margin: 0;
128
-
129
- figcaption {
130
- font-size: 0.9em;
131
- opacity: 0.9;
132
- text-align: center;
133
- }
134
- }
135
-
136
- p {
137
- margin: 0.5em 0;
138
- line-height: 1.5;
139
- }
140
- }
141
-
142
- @mixin typography-12() {
143
- font-size: 12px;
144
- }
145
-
146
- @mixin typography-14() {
147
- font-size: 14px;
148
- }
149
-
150
- @mixin typography-16() {
151
- font-size: 16px;
152
- }
153
-
154
- @mixin typography-loveship() {
155
- font-family: $font-source-sans;
156
- color: $night700;
157
- @include typography-header();
158
- @include typography-block();
159
- @include typography-inline();
160
- }
1
+ @use 'colors' as *;
2
+ @use 'fonts' as *;
3
+
4
+ @mixin overflow-ellipsis() {
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ }
8
+
9
+ @mixin typography-header() {
10
+ :global(.hero-header), h1, h2, h3, h4, h5, h6 {
11
+ margin: 0;
12
+ }
13
+
14
+ :global(.hero-header), h2 {
15
+ font-family: $font-source-sans;
16
+ font-weight: 700;
17
+ }
18
+
19
+ :global(.hero-header) {
20
+ margin: 30px 0;
21
+ font-size: 72px;
22
+ line-height: 72px;
23
+ }
24
+
25
+ h3, h4, h5, h6 {
26
+ font-family: $font-source-sans;
27
+ font-weight: 600;
28
+ }
29
+
30
+ h1, h2, h3, h4, h5, h6 {
31
+ margin-bottom: 0.5em;
32
+ margin-top: 1.2em;
33
+ line-height: 1.35em;
34
+ }
35
+
36
+ h1 {
37
+ font-size: 42px;
38
+ }
39
+
40
+ h2 {
41
+ font-size: 30px;
42
+ }
43
+
44
+ h3 {
45
+ font-size: 24px;
46
+ }
47
+
48
+ h4 {
49
+ font-size: 18px;
50
+ }
51
+
52
+ h5 {
53
+ font-size: 16px;
54
+ }
55
+
56
+ h6 {
57
+ font-size: 14px;
58
+ }
59
+ }
60
+
61
+ @mixin typography-inline() {
62
+ b, strong {
63
+ font-family: $font-source-sans;
64
+ font-weight: 600;
65
+ color: $night900;
66
+ }
67
+
68
+ i, em {
69
+ font-family: $font-source-sans;
70
+ font-weight: 400;
71
+ font-style: italic;
72
+ }
73
+
74
+ a {
75
+ display: inline-flex;
76
+ align-items: center;
77
+ color: $sky;
78
+ text-decoration: underline;
79
+
80
+ &:hover {
81
+ color: darken($sky, 10%);
82
+ }
83
+ }
84
+
85
+ code {
86
+ padding: 0.125em 0.25em;
87
+ color: $night50;
88
+ background-color: $night700;
89
+ border-radius: 3px;
90
+ font-family: monospace;
91
+ font-weight: 400;
92
+ white-space: pre-wrap;
93
+ word-wrap: normal;
94
+ }
95
+ }
96
+
97
+ @mixin typography-block() {
98
+ b, strong {
99
+ color: $night900;
100
+ }
101
+
102
+ ol, ul {
103
+ padding: 0;
104
+ }
105
+
106
+ li {
107
+ margin-inline-start: 1.25em;
108
+ line-height: 1.5;
109
+ }
110
+
111
+ pre {
112
+ padding: 1.25em;
113
+ color: $night50;
114
+ background-color: $night700;
115
+ border-radius: 3px;
116
+ font-family: monospace;
117
+ font-weight: 400;
118
+ white-space: pre-wrap;
119
+ word-wrap: normal;
120
+ }
121
+
122
+ img {
123
+ max-width: 100%;
124
+ }
125
+
126
+ figure {
127
+ margin: 0;
128
+
129
+ figcaption {
130
+ font-size: 0.9em;
131
+ opacity: 0.9;
132
+ text-align: center;
133
+ }
134
+ }
135
+
136
+ p {
137
+ margin: 0.5em 0;
138
+ line-height: 1.5;
139
+ }
140
+ }
141
+
142
+ @mixin typography-12() {
143
+ font-size: 12px;
144
+ }
145
+
146
+ @mixin typography-14() {
147
+ font-size: 14px;
148
+ }
149
+
150
+ @mixin typography-16() {
151
+ font-size: 16px;
152
+ }
153
+
154
+ @mixin typography-loveship() {
155
+ font-family: $font-source-sans;
156
+ color: $night700;
157
+ @include typography-header();
158
+ @include typography-block();
159
+ @include typography-inline();
160
+ }
@@ -1,175 +1,175 @@
1
- @use 'colors' as *;
2
- @use 'fonts' as *;
3
-
4
- @mixin overflow-ellipsis() {
5
- overflow: hidden;
6
- text-overflow: ellipsis;
7
- }
8
-
9
- @mixin typography-header() {
10
- :global(.hero-header), h1, h2, h3, h4, h5, h6 {
11
- margin: 0;
12
- }
13
-
14
- :global(.hero-header) {
15
- font-family: $font-museo-slab;
16
- font-weight: 700;
17
- margin: 30px 0;
18
- font-size: 66px;
19
- line-height: 72px;
20
- }
21
-
22
- :global(.hero-header), :global(.promo-header) {
23
- color: $gray90;
24
- text-align: center;
25
- }
26
-
27
- :global(.promo-header), h1, h2, h3 {
28
- font-family: $font-museo-sans;
29
- font-weight: 500;
30
- }
31
-
32
- :global(.promo-header) {
33
- text-transform: uppercase;
34
- }
35
-
36
- h4, h5, h6 {
37
- font-family: $font-source-sans;
38
- font-weight: 600;
39
- }
40
-
41
- h1, h2, h3, h4, h5, h6 {
42
- margin-bottom: 0.5em;
43
- margin-top: 1.2em;
44
- line-height: 1.35em;
45
- }
46
-
47
- h1 {
48
- font-size: 36px;
49
- }
50
-
51
- h2 {
52
- font-size: 30px;
53
- letter-spacing: 0.1px;
54
-
55
- &:global(.promo-header) {
56
- letter-spacing: 2px;
57
- }
58
- }
59
-
60
- h3 {
61
- font-size: 24px;
62
- }
63
-
64
- h4 {
65
- font-size: 18px;
66
- letter-spacing: 0.1px;
67
- }
68
-
69
- h5 {
70
- font-size: 16px;
71
- }
72
-
73
- h6 {
74
- font-size: 14px;
75
- }
76
- }
77
-
78
- @mixin typography-inline() {
79
- b, strong {
80
- font-family: $font-source-sans;
81
- font-weight: 600;
82
- }
83
-
84
- i, em {
85
- font-family: $font-source-sans;
86
- font-weight: 400;
87
- font-style: italic;
88
- }
89
-
90
- a {
91
- display: inline-flex;
92
- align-items: center;
93
- color: $blue;
94
- text-decoration: underline;
95
-
96
- &:visited {
97
- color: #5214CC;
98
-
99
- &:hover {
100
- color: #3F0F9E;
101
- }
102
- }
103
-
104
- &:hover {
105
- color: $blue-dark;
106
- }
107
- }
108
-
109
- code {
110
- padding: 0.125em 0.25em;
111
- color: $gray80;
112
- background-color: $gray30;
113
- font-family: $font-roboto-mono;
114
- font-weight: 400;
115
- white-space: pre-wrap;
116
- word-wrap: normal;
117
- }
118
- }
119
-
120
- @mixin typography-block() {
121
- ol, ul {
122
- padding: 0;
123
- }
124
-
125
- li {
126
- margin-left: 1.25em;
127
- line-height: 1.5;
128
- }
129
-
130
- pre {
131
- padding: 1.25em;
132
- font-family: monospace;
133
- white-space: pre-wrap;
134
- word-wrap: normal;
135
- }
136
-
137
- img {
138
- max-width: 100%;
139
- }
140
-
141
- figure {
142
- margin: 0;
143
-
144
- figcaption {
145
- font-size: 0.9em;
146
- opacity: 0.9;
147
- text-align: center;
148
- }
149
- }
150
-
151
- p {
152
- margin: 0.5em 0;
153
- line-height: 1.5;
154
- }
155
- }
156
-
157
- @mixin typography-12() {
158
- font-size: 12px;
159
- }
160
-
161
- @mixin typography-14() {
162
- font-size: 14px;
163
- }
164
-
165
- @mixin typography-16() {
166
- font-size: 16px;
167
- }
168
-
169
- @mixin typography-promo() {
170
- @include typography-header();
171
- @include typography-block();
172
- @include typography-inline();
173
- color: $gray80;
174
- font-family: $font-source-sans;
175
- }
1
+ @use 'colors' as *;
2
+ @use 'fonts' as *;
3
+
4
+ @mixin overflow-ellipsis() {
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ }
8
+
9
+ @mixin typography-header() {
10
+ :global(.hero-header), h1, h2, h3, h4, h5, h6 {
11
+ margin: 0;
12
+ }
13
+
14
+ :global(.hero-header) {
15
+ font-family: $font-museo-slab;
16
+ font-weight: 700;
17
+ margin: 30px 0;
18
+ font-size: 66px;
19
+ line-height: 72px;
20
+ }
21
+
22
+ :global(.hero-header), :global(.promo-header) {
23
+ color: $gray90;
24
+ text-align: center;
25
+ }
26
+
27
+ :global(.promo-header), h1, h2, h3 {
28
+ font-family: $font-museo-sans;
29
+ font-weight: 500;
30
+ }
31
+
32
+ :global(.promo-header) {
33
+ text-transform: uppercase;
34
+ }
35
+
36
+ h4, h5, h6 {
37
+ font-family: $font-source-sans;
38
+ font-weight: 600;
39
+ }
40
+
41
+ h1, h2, h3, h4, h5, h6 {
42
+ margin-bottom: 0.5em;
43
+ margin-top: 1.2em;
44
+ line-height: 1.35em;
45
+ }
46
+
47
+ h1 {
48
+ font-size: 36px;
49
+ }
50
+
51
+ h2 {
52
+ font-size: 30px;
53
+ letter-spacing: 0.1px;
54
+
55
+ &:global(.promo-header) {
56
+ letter-spacing: 2px;
57
+ }
58
+ }
59
+
60
+ h3 {
61
+ font-size: 24px;
62
+ }
63
+
64
+ h4 {
65
+ font-size: 18px;
66
+ letter-spacing: 0.1px;
67
+ }
68
+
69
+ h5 {
70
+ font-size: 16px;
71
+ }
72
+
73
+ h6 {
74
+ font-size: 14px;
75
+ }
76
+ }
77
+
78
+ @mixin typography-inline() {
79
+ b, strong {
80
+ font-family: $font-source-sans;
81
+ font-weight: 600;
82
+ }
83
+
84
+ i, em {
85
+ font-family: $font-source-sans;
86
+ font-weight: 400;
87
+ font-style: italic;
88
+ }
89
+
90
+ a {
91
+ display: inline-flex;
92
+ align-items: center;
93
+ color: $blue;
94
+ text-decoration: underline;
95
+
96
+ &:visited {
97
+ color: #5214CC;
98
+
99
+ &:hover {
100
+ color: #3F0F9E;
101
+ }
102
+ }
103
+
104
+ &:hover {
105
+ color: $blue-dark;
106
+ }
107
+ }
108
+
109
+ code {
110
+ padding: 0.125em 0.25em;
111
+ color: $gray80;
112
+ background-color: $gray30;
113
+ font-family: $font-roboto-mono;
114
+ font-weight: 400;
115
+ white-space: pre-wrap;
116
+ word-wrap: normal;
117
+ }
118
+ }
119
+
120
+ @mixin typography-block() {
121
+ ol, ul {
122
+ padding: 0;
123
+ }
124
+
125
+ li {
126
+ margin-inline-start: 1.25em;
127
+ line-height: 1.5;
128
+ }
129
+
130
+ pre {
131
+ padding: 1.25em;
132
+ font-family: monospace;
133
+ white-space: pre-wrap;
134
+ word-wrap: normal;
135
+ }
136
+
137
+ img {
138
+ max-width: 100%;
139
+ }
140
+
141
+ figure {
142
+ margin: 0;
143
+
144
+ figcaption {
145
+ font-size: 0.9em;
146
+ opacity: 0.9;
147
+ text-align: center;
148
+ }
149
+ }
150
+
151
+ p {
152
+ margin: 0.5em 0;
153
+ line-height: 1.5;
154
+ }
155
+ }
156
+
157
+ @mixin typography-12() {
158
+ font-size: 12px;
159
+ }
160
+
161
+ @mixin typography-14() {
162
+ font-size: 14px;
163
+ }
164
+
165
+ @mixin typography-16() {
166
+ font-size: 16px;
167
+ }
168
+
169
+ @mixin typography-promo() {
170
+ @include typography-header();
171
+ @include typography-block();
172
+ @include typography-inline();
173
+ color: $gray80;
174
+ font-family: $font-source-sans;
175
+ }