@itcase/ui 1.4.8 → 1.4.10

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.
@@ -1,216 +1,237 @@
1
1
  @define-mixin h1 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
2
- @mixin font $weight, var(--typography-h1-min, 32px), var(--typography-h1-max, 38px),
3
- $minLetterSpacing, var(--typography-h1-min-line-height, 64px),
4
- var(--typography-h1-max-line-height, 80px), $maxLetterSpacing,
5
- var(--typography-h1-font, system-ui);
2
+ @mixin font $weight, var(--typography-h1-min), var(--typography-h1-max),
3
+ $minLetterSpacing, var(--typography-h1-min-line-height),
4
+ var(--typography-h1-max-line-height), $maxLetterSpacing,
5
+ var(--typography-h1-font);
6
6
  }
7
7
 
8
8
  @define-mixin h2 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
9
- @mixin font $weight, var(--typography-h2-min, 26px), var(--typography-h2-max, 32px),
10
- $minLetterSpacing, var(--typography-h2-min-line-height, 46px),
11
- var(--typography-h2-max-line-height, 58px), $maxLetterSpacing,
12
- var(--typography-h2-font, system-ui);
9
+ @mixin font $weight, var(--typography-h2-min), var(--typography-h2-max),
10
+ $minLetterSpacing, var(--typography-h2-min-line-height),
11
+ var(--typography-h2-max-line-height), $maxLetterSpacing,
12
+ var(--typography-h2-font);
13
13
  }
14
14
 
15
15
  @define-mixin h3 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
16
- @mixin font $weight, var(--typography-h3-min, 18px), var(--typography-h3-max, 24px),
17
- $minLetterSpacing, var(--typography-h3-min-line-height, 32px),
18
- var(--typography-h3-max-line-height, 40px), $maxLetterSpacing,
19
- var(--typography-h3-font, system-ui);
16
+ @mixin font $weight, var(--typography-h3-min), var(--typography-h3-max),
17
+ $minLetterSpacing, var(--typography-h3-min-line-height),
18
+ var(--typography-h3-max-line-height), $maxLetterSpacing,
19
+ var(--typography-h3-font);
20
20
  }
21
21
 
22
22
  @define-mixin h4 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
23
- @mixin font $weight, var(--typography-h4-min, 16px), var(--typography-h4-max, 18px),
24
- $minLetterSpacing, var(--typography-h4-min-line-height, 24px),
25
- var(--typography-h4-max-line-height, 30px), $maxLetterSpacing,
26
- var(--typography-h4-font, system-ui);
23
+ @mixin font $weight, var(--typography-h4-min), var(--typography-h4-max),
24
+ $minLetterSpacing, var(--typography-h4-min-line-height),
25
+ var(--typography-h4-max-line-height), $maxLetterSpacing,
26
+ var(--typography-h4-font);
27
27
  }
28
28
 
29
29
  @define-mixin h5 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
30
- @mixin font $weight, var(--typography-h5-min, 14px), var(--typography-h5-max, 16px),
31
- $minLetterSpacing, var(--typography-h5-min-line-height, 18px),
32
- var(--typography-h5-max-line-height, 26px), $maxLetterSpacing,
33
- var(--typography-h5-font, system-ui);
30
+ @mixin font $weight, var(--typography-h5-min), var(--typography-h5-max),
31
+ $minLetterSpacing, var(--typography-h5-min-line-height),
32
+ var(--typography-h5-max-line-height), $maxLetterSpacing,
33
+ var(--typography-h5-font);
34
34
  }
35
35
 
36
36
  @define-mixin h6 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
37
- @mixin font $weight, var(--typography-h6-min, 12px), var(--typography-h6-max, 18px),
38
- $minLetterSpacing, var(--typography-h6-min-line-height, 16px),
39
- var(--typography-h6-max-line-height, 24px), $maxLetterSpacing,
40
- var(--typography-h6-font, system-ui);
37
+ @mixin font $weight, var(--typography-h6-min), var(--typography-h6-max),
38
+ $minLetterSpacing, var(--typography-h6-min-line-height),
39
+ var(--typography-h6-max-line-height), $maxLetterSpacing,
40
+ var(--typography-h6-font);
41
41
  }
42
42
 
43
- @define-mixin hero_h1 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
44
- @mixin font $weight, var(--typography-hero1-min, 32px), var(--typography-hero1-max, 38px),
45
- $minLetterSpacing, var(--typography-hero1-min-line-height, 64px),
46
- var(--typography-hero1-max-line-height, 80px), $maxLetterSpacing,
47
- var(--typography-hero1-font, system-ui);
43
+ @define-mixin hero_h1 $weight: normal, $minLetterSpacing: 0,
44
+ $maxLetterSpacing: 0 {
45
+ @mixin font $weight, var(--typography-hero1-min), var(--typography-hero1-max),
46
+ $minLetterSpacing, var(--typography-hero1-min-line-height),
47
+ var(--typography-hero1-max-line-height), $maxLetterSpacing,
48
+ var(--typography-hero1-font);
48
49
  }
49
50
 
50
- @define-mixin hero_h2 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
51
- @mixin font $weight, var(--typography-hero2-min, 26px), var(--typography-hero2-max, 32px),
52
- $minLetterSpacing, var(--typography-hero2-min-line-height, 46px),
53
- var(--typography-hero2-max-line-height, 58px), $maxLetterSpacing,
54
- var(--typography-hero2-font, system-ui);
51
+ @define-mixin hero_h2 $weight: normal, $minLetterSpacing: 0,
52
+ $maxLetterSpacing: 0 {
53
+ @mixin font $weight, var(--typography-hero2-min), var(--typography-hero2-max),
54
+ $minLetterSpacing, var(--typography-hero2-min-line-height),
55
+ var(--typography-hero2-max-line-height), $maxLetterSpacing,
56
+ var(--typography-hero2-font);
55
57
  }
56
58
 
57
- @define-mixin hero_h3 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
58
- @mixin font $weight, var(--typography-hero3-min, 18px), var(--typography-hero3-max, 24px),
59
- $minLetterSpacing, var(--typography-hero3-min-line-height, 32px),
60
- var(--typography-hero3-max-line-height, 40px), $maxLetterSpacing,
61
- var(--typography-hero3-font, system-ui);
59
+ @define-mixin hero_h3 $weight: normal, $minLetterSpacing: 0,
60
+ $maxLetterSpacing: 0 {
61
+ @mixin font $weight, var(--typography-hero3-min), var(--typography-hero3-max),
62
+ $minLetterSpacing, var(--typography-hero3-min-line-height),
63
+ var(--typography-hero3-max-line-height), $maxLetterSpacing,
64
+ var(--typography-hero3-font);
62
65
  }
63
66
 
64
- @define-mixin hero_h4 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
65
- @mixin font $weight, var(--typography-hero4-min, 16px), var(--typography-hero4-max, 18px),
66
- $minLetterSpacing, var(--typography-hero4-min-line-height, 24px),
67
- var(--typography-hero4-max-line-height, 30px), $maxLetterSpacing,
68
- var(--typography-hero4-font, system-ui);
67
+ @define-mixin hero_h4 $weight: normal, $minLetterSpacing: 0,
68
+ $maxLetterSpacing: 0 {
69
+ @mixin font $weight, var(--typography-hero4-min), var(--typography-hero4-max),
70
+ $minLetterSpacing, var(--typography-hero4-min-line-height),
71
+ var(--typography-hero4-max-line-height), $maxLetterSpacing,
72
+ var(--typography-hero4-font);
69
73
  }
70
74
 
71
- @define-mixin hero_h5 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
72
- @mixin font $weight, var(--typography-hero5-min, 14px), var(--typography-hero5-max, 16px),
73
- $minLetterSpacing, var(--typography-hero5-min-line-height, 18px),
74
- var(--typography-hero5-max-line-height, 26px), $maxLetterSpacing,
75
- var(--typography-hero5-font, system-ui);
75
+ @define-mixin hero_h5 $weight: normal, $minLetterSpacing: 0,
76
+ $maxLetterSpacing: 0 {
77
+ @mixin font $weight, var(--typography-hero5-min), var(--typography-hero5-max),
78
+ $minLetterSpacing, var(--typography-hero5-min-line-height),
79
+ var(--typography-hero5-max-line-height), $maxLetterSpacing,
80
+ var(--typography-hero5-font);
76
81
  }
77
82
 
78
- @define-mixin hero_h6 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
79
- @mixin font $weight, var(--typography-hero6-min, 12px), var(--typography-hero6-max, 18px),
80
- $minLetterSpacing, var(--typography-hero6-min-line-height, 16px),
81
- var(--typography-hero6-max-line-height, 24px), $maxLetterSpacing,
82
- var(--typography-hero6-font, system-ui);
83
+ @define-mixin hero_h6 $weight: normal, $minLetterSpacing: 0,
84
+ $maxLetterSpacing: 0 {
85
+ @mixin font $weight, var(--typography-hero6-min), var(--typography-hero6-max),
86
+ $minLetterSpacing, var(--typography-hero6-min-line-height),
87
+ var(--typography-hero6-max-line-height), $maxLetterSpacing,
88
+ var(--typography-hero6-font);
83
89
  }
84
90
 
85
91
  @define-mixin p $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
86
- @mixin font $weight, var(--typography-p-min, 16px), var(--typography-p-max, 24px),
87
- $minLetterSpacing, var(--typography-p-min-line-height, 24px),
88
- var(--typography-p-max-line-height, 36px), $maxLetterSpacing,
89
- var(--typography-p-font, system-ui);
92
+ @mixin font $weight, var(--typography-p-min), var(--typography-p-max),
93
+ $minLetterSpacing, var(--typography-p-min-line-height),
94
+ var(--typography-p-max-line-height), $maxLetterSpacing,
95
+ var(--typography-p-font);
90
96
  }
91
97
 
92
- @define-mixin text-xxl $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
93
- @mixin font $weight, var(--typography-text-xxl-min, 24px), var(--typography-text-xxl-max, 28px),
94
- $minLetterSpacing, var(--typography-text-xxl-min-line-height, 24px),
95
- var(--typography-text-xxl-max-line-height, 28px), $maxLetterSpacing,
96
- var(--typography-text-xxl-font, system-ui);
98
+ @define-mixin text-xxl $weight: normal, $minLetterSpacing: 0,
99
+ $maxLetterSpacing: 0 {
100
+ @mixin font $weight, var(--typography-text-xxl-min),
101
+ var(--typography-text-xxl-max), $minLetterSpacing,
102
+ var(--typography-text-xxl-min-line-height),
103
+ var(--typography-text-xxl-max-line-height), $maxLetterSpacing,
104
+ var(--typography-text-xxl-font);
97
105
  }
98
106
 
99
- @define-mixin text-xl $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
100
- @mixin font $weight, var(--typography-text-xl-min, 20px), var(--typography-text-xl-max, 24px),
101
- $minLetterSpacing, var(--typography-text-xl-min-line-height, 20px),
102
- var(--typography-text-xl-max-line-height, 24px), $maxLetterSpacing,
103
- var(--typography-text-xl-font, system-ui);
107
+ @define-mixin text-xl $weight: normal, $minLetterSpacing: 0,
108
+ $maxLetterSpacing: 0 {
109
+ @mixin font $weight, var(--typography-text-xl-min),
110
+ var(--typography-text-xl-max), $minLetterSpacing,
111
+ var(--typography-text-xl-min-line-height),
112
+ var(--typography-text-xl-max-line-height), $maxLetterSpacing,
113
+ var(--typography-text-xl-font);
104
114
  }
105
115
 
106
116
  @define-mixin text-l $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
107
- @mixin font $weight, var(--typography-text-l-min, 18px), var(--typography-text-l-max, 24px),
108
- $minLetterSpacing, var(--typography-text-l-min-line-height, 18px),
109
- var(--typography-text-l-max-line-height, 24px), $maxLetterSpacing,
110
- var(--typography-text-l-font, system-ui);
117
+ @mixin font $weight, var(--typography-text-l-min),
118
+ var(--typography-text-l-max), $minLetterSpacing,
119
+ var(--typography-text-l-min-line-height),
120
+ var(--typography-text-l-max-line-height), $maxLetterSpacing,
121
+ var(--typography-text-l-font);
111
122
  }
112
123
 
113
124
  @define-mixin text-m $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
114
- @mixin font $weight, var(--typography-text-m-min, 16px), var(--typography-text-m-max, 18px),
115
- $minLetterSpacing, var(--typography-text-m-min-line-height, 16px),
116
- var(--typography-text-m-max-line-height, 20px), $maxLetterSpacing,
117
- var(--typography-text-m-font, system-ui);
125
+ @mixin font $weight, var(--typography-text-m-min),
126
+ var(--typography-text-m-max), $minLetterSpacing,
127
+ var(--typography-text-m-min-line-height),
128
+ var(--typography-text-m-max-line-height), $maxLetterSpacing,
129
+ var(--typography-text-m-font);
118
130
  }
119
131
 
120
132
  @define-mixin text-s $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
121
- @mixin font $weight, var(--typography-text-s-min, 14px), var(--typography-text-s-max, 18px),
122
- $minLetterSpacing, var(--typography-text-s-min-line-height, 14px),
123
- var(--typography-text-s-max-line-height, 18px), $maxLetterSpacing,
124
- var(--typography-text-s-font, system-ui);
133
+ @mixin font $weight, var(--typography-text-s-min),
134
+ var(--typography-text-s-max), $minLetterSpacing,
135
+ var(--typography-text-s-min-line-height),
136
+ var(--typography-text-s-max-line-height), $maxLetterSpacing,
137
+ var(--typography-text-s-font);
125
138
  }
126
139
 
127
- @define-mixin text-xs $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
128
- @mixin font $weight, var(--typography-text-xs-min, 12px), var(--typography-text-xs-max, 16px),
129
- $minLetterSpacing, var(--typography-text-xs-min-line-height, 12px),
130
- var(--typography-text-xs-max-line-height, 16px), $maxLetterSpacing,
131
- var(--typography-text-xs-font, system-ui);
140
+ @define-mixin text-xs $weight: normal, $minLetterSpacing: 0,
141
+ $maxLetterSpacing: 0 {
142
+ @mixin font $weight, var(--typography-text-xs-min),
143
+ var(--typography-text-xs-max), $minLetterSpacing,
144
+ var(--typography-text-xs-min-line-height),
145
+ var(--typography-text-xs-max-line-height), $maxLetterSpacing,
146
+ var(--typography-text-xs-font);
132
147
  }
133
148
 
134
- @define-mixin text-xxs $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
135
- @mixin font $weight, var(--typography-text-xxs-min, 10px), var(--typography-text-xxs-max, 14px),
136
- $minLetterSpacing, var(--typography-text-xxs-min-line-height, 10px),
137
- var(--typography-text-xxs-max-line-height, 14px), $maxLetterSpacing,
138
- var(--typography-text-xxs-font, system-ui);
149
+ @define-mixin text-xxs $weight: normal, $minLetterSpacing: 0,
150
+ $maxLetterSpacing: 0 {
151
+ @mixin font $weight, var(--typography-text-xxs-min),
152
+ var(--typography-text-xxs-max), $minLetterSpacing,
153
+ var(--typography-text-xxs-min-line-height),
154
+ var(--typography-text-xxs-max-line-height), $maxLetterSpacing,
155
+ var(--typography-text-xxs-font);
139
156
  }
140
157
 
141
158
  @define-mixin email-h1 $weight: normal {
142
- @mixin font-fixed $weight, var(--typography-email-h1, 32px),
143
- var(--typography-email-h1-line-height, 38px), var(--font-email);
159
+ @mixin font-fixed $weight, var(--typography-email-h1),
160
+ var(--typography-email-h1-line-height), var(--font-email);
144
161
  }
145
162
 
146
163
  @define-mixin email-h2 $weight: normal {
147
- @mixin font-fixed $weight, var(--typography-email-h2, 26px),
148
- var(--typography-email-h2-line-height, 32px), var(--font-email);
164
+ @mixin font-fixed $weight, var(--typography-email-h2),
165
+ var(--typography-email-h2-line-height), var(--font-email);
149
166
  }
150
167
 
151
168
  @define-mixin email-h3 $weight: normal {
152
- @mixin font-fixed $weight, var(--typography-email-h3, 18px),
153
- var(--typography-email-h3-line-height, 24px), var(--font-email);
169
+ @mixin font-fixed $weight, var(--typography-email-h3),
170
+ var(--typography-email-h3-line-height), var(--font-email);
154
171
  }
155
172
 
156
173
  @define-mixin email-h4 $weight: normal {
157
- @mixin font-fixed $weight, var(--typography-email-h4, 24px),
158
- var(--typography-email-h4-line-height, 30px), var(--font-email);
174
+ @mixin font-fixed $weight, var(--typography-email-h4),
175
+ var(--typography-email-h4-line-height), var(--font-email);
159
176
  }
160
177
 
161
178
  @define-mixin email-h5 $weight: normal {
162
- @mixin font-fixed $weight, var(--typography-email-h5, 18px),
163
- var(--typography-email-h5-line-height, 24px), var(--font-email);
179
+ @mixin font-fixed $weight, var(--typography-email-h5),
180
+ var(--typography-email-h5-line-height), var(--font-email);
164
181
  }
165
182
 
166
183
  @define-mixin email-h6 $weight: normal {
167
- @mixin font-fixed $weight, var(--typography-email-h6, 12px),
168
- var(--typography-email-h6-line-height, 18px), var(--font-email);
184
+ @mixin font-fixed $weight, var(--typography-email-h6),
185
+ var(--typography-email-h6-line-height), var(--font-email);
169
186
  }
170
187
 
171
188
  @define-mixin email-p $weight: normal {
172
- @mixin font-fixed $weight, var(--typography-email-p, 16px),
173
- var(--typography-email-p-line-height, 24px), var(--font-email);
189
+ @mixin font-fixed $weight, var(--typography-email-p),
190
+ var(--typography-email-p-line-height), var(--font-email);
174
191
  }
175
192
 
176
193
  @define-mixin email-text-xxl $weight: normal {
177
- @mixin font-fixed $weight, var(--typography-email-text-xxl, 24px),
178
- var(--typography-email-text-xxl-line-height, 28px), var(--font-email);
194
+ @mixin font-fixed $weight, var(--typography-email-text-xxl),
195
+ var(--typography-email-text-xxl-line-height), var(--font-email);
179
196
  }
180
197
 
181
198
  @define-mixin email-text-xl $weight: normal {
182
- @mixin font-fixed $weight, var(--typography-email-text-xl, 20px),
183
- var(--typography-email-text-xl-line-height, 24px), var(--font-email);
199
+ @mixin font-fixed $weight, var(--typography-email-text-xl),
200
+ var(--typography-email-text-xl-line-height), var(--font-email);
184
201
  }
185
202
 
186
203
  @define-mixin email-text-l $weight: normal {
187
- @mixin font-fixed $weight, var(--typography-email-text-l, 18px),
188
- var(--typography-email-text-l-line-height, 24px), var(--font-email);
204
+ @mixin font-fixed $weight, var(--typography-email-text-l),
205
+ var(--typography-email-text-l-line-height), var(--font-email);
189
206
  }
190
207
 
191
208
  @define-mixin email-text-m $weight: normal {
192
- @mixin font-fixed $weight, var(--typography-email-text-m, 16px),
193
- var(--typography-email-text-m-line-height, 18px), var(--font-email);
209
+ @mixin font-fixed $weight, var(--typography-email-text-m),
210
+ var(--typography-email-text-m-line-height), var(--font-email);
194
211
  }
195
212
 
196
213
  @define-mixin email-text-s $weight: normal {
197
- @mixin font-fixed $weight, var(--typography-email-text-s, 14px),
198
- var(--typography-email-text-s-line-height, 18px), var(--font-email);
214
+ @mixin font-fixed $weight, var(--typography-email-text-s),
215
+ var(--typography-email-text-s-line-height), var(--font-email);
199
216
  }
200
217
 
201
218
  @define-mixin email-text-xs $weight: normal {
202
- @mixin font-fixed $weight, var(--typography-email-text-xs, 12px),
203
- var(--typographyemail-text-xs-line-height, 16px), var(--font-email);
219
+ @mixin font-fixed $weight, var(--typography-email-text-xs),
220
+ var(--typographyemail-text-xs-line-height), var(--font-email);
204
221
  }
205
222
 
206
223
  @define-mixin email-text-xxs $weight: normal {
207
- @mixin font-fixed $weight, var(--typography-email-text-xxs, 10px),
208
- var(--typography-email-text-xxs-line-height, 14px), var(--font-email);
224
+ @mixin font-fixed $weight, var(--typography-email-text-xxs),
225
+ var(--typography-email-text-xxs-line-height), var(--font-email);
209
226
  }
210
227
 
211
228
  @define-mixin text-gradient-primary {
212
229
  color: transparent;
213
- background: linear-gradient(90deg, hsla(266, 100%, 64%, 1) 0%, hsla(213, 79%, 68%, 1) 50%);
230
+ background: linear-gradient(
231
+ 90deg,
232
+ hsl(266, 100%, 64%, 1) 0%,
233
+ hsl(213, 79%, 68%, 1) 50%
234
+ );
214
235
  background-clip: text;
215
236
  text-fill-color: transparent;
216
237
  }
@@ -1,34 +1,33 @@
1
- @define-mixin font $fontWeight, $minFontSize, $maxFontSize, $minLetterSpacing, $minLineHeight,
2
- $maxLineHeight, $maxLetterSpacing, $fontFamily {
1
+ /* stylelint-disable declaration-property-value-keyword-no-deprecated */
2
+ @define-mixin font $fontWeight, $minFontSize, $maxFontSize, $minLetterSpacing,
3
+ $minLineHeight, $maxLineHeight, $maxLetterSpacing, $fontFamily {
3
4
  font-size: fluid(
4
5
  $minFontSize,
5
6
  $maxFontSize,
6
- var(--typography-min-viewport, 360px),
7
- var(--typography-max-viewport, 1920px)
7
+ var(--typography-min-viewport),
8
+ var(--typography-max-viewport)
8
9
  );
9
10
  font-weight: $fontWeight;
10
11
  line-height: fluid(
11
12
  $minLineHeight,
12
13
  $maxLineHeight,
13
- var(--typography-min-viewport, 360px),
14
- var(--typography-max-viewport, 1920px)
14
+ var(--typography-min-viewport),
15
+ var(--typography-max-viewport)
15
16
  );
16
17
  letter-spacing: fluid(
17
18
  $minLetterSpacing,
18
19
  $maxLetterSpacing,
19
- var(--typography-min-viewport, 360px),
20
- var(--typography-max-viewport, 1920px)
20
+ var(--typography-min-viewport),
21
+ var(--typography-max-viewport)
21
22
  );
22
23
  font-family: $fontFamily;
23
24
  }
24
-
25
25
  @define-mixin font-fixed $weight, $size, $line, $family {
26
26
  font-size: $size;
27
27
  font-weight: $weight;
28
28
  font-family: $family;
29
29
  line-height: $line;
30
30
  }
31
-
32
31
  @define-mixin word-wrap {
33
32
  overflow-wrap: break-word;
34
33
  word-wrap: break-word;
@@ -2,28 +2,32 @@
2
2
  &_active {
3
3
  &_hover {
4
4
  @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
5
- senary, surface, error, success, warning, info, danger, disabled,
6
- gradient {
5
+ senary, surface, error, success, warning, info, danger, gradient {
7
6
  &_$(type) {
8
- @each $color in primary, secondary, tertiary, quaternary, quinary,
9
- senary, accent, disabled, hover, active {
7
+ @each $color in primary, secondary, tertiary, quaternary {
10
8
  &-$(color) {
11
9
  &:hover {
12
10
  background: var(--color-$(type)-$(color));
13
11
  }
12
+ &-hover {
13
+ &:hover {
14
+ background: var(--color-$(type)-$(color)-hover);
15
+ }
16
+ &-active {
17
+ &:hover {
18
+ background: var(--color-$(type)-$(color)-active-hover);
19
+ }
20
+ }
21
+ }
22
+ &-active {
23
+ &:hover {
24
+ background: var(--color-$(type)-$(color)-active);
25
+ }
26
+ }
14
27
  }
15
28
  }
16
29
  }
17
30
  }
18
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
19
- senary, surface, error, success, warning, info, danger, disabled,
20
- gradient {
21
- &_$(type) {
22
- &-primary {
23
- background: var(--color-$(type)-primary);
24
- }
25
- }
26
- }
27
31
  }
28
32
  }
29
33
  }
@@ -1,10 +1,10 @@
1
1
  import { Meta, Typeset } from '@storybook/blocks'
2
2
 
3
- <Meta title="Tokens / Typography" />
3
+ <Meta title="Tokens / Typography / AM" />
4
4
 
5
5
  export const typography = {
6
6
  type: {
7
- primary: 'PF Din Display Pro Family, sans-serif',
7
+ primary: 'Wix Madefor Display, sans-serif',
8
8
  },
9
9
  weight: {
10
10
  regular: '400',
@@ -27,7 +27,7 @@ export const SampleText = 'Lorem ipsum dolor sit amet, consectetur adipiscing el
27
27
  # Typography
28
28
 
29
29
 
30
- **Font:** PF Din Display Pro Family
30
+ **Font:** Wix Madefor Display
31
31
 
32
32
  **Title:** H1- H6
33
33
 
@@ -47,7 +47,7 @@ export const SampleText = 'Lorem ipsum dolor sit amet, consectetur adipiscing el
47
47
 
48
48
  export const textography = {
49
49
  type: {
50
- primary: 'PF Din Display Pro Family, sans-serif',
50
+ primary: 'Wix Madefor Display, sans-serif',
51
51
  },
52
52
  weight: {
53
53
  regular: '400',
@@ -0,0 +1,82 @@
1
+ import { Meta, Typeset } from '@storybook/blocks'
2
+
3
+ <Meta title="Tokens / Typography / Baikal" />
4
+
5
+ export const typography = {
6
+ type: {
7
+ primary: 'PF-Din-Display-Pro, sans-serif',
8
+ },
9
+ weight: {
10
+ regular: '400',
11
+ bold: '700',
12
+ extrabold: '800',
13
+ black: '900',
14
+ },
15
+ size: {
16
+ h1: 64,
17
+ h2: 46,
18
+ h3: 32,
19
+ h4: 24,
20
+ h5: 18,
21
+ h6: 16,
22
+ },
23
+ }
24
+
25
+ export const SampleText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
26
+
27
+ # Typography
28
+
29
+
30
+ **Font:** PF-Din-Display-Pro
31
+
32
+ **Title:** H1- H6
33
+
34
+ <Typeset
35
+ fontSizes={[
36
+ Number(typography.size.h1),
37
+ Number(typography.size.h2),
38
+ Number(typography.size.h3),
39
+ Number(typography.size.h4),
40
+ Number(typography.size.h5),
41
+ Number(typography.size.h6),
42
+ ]}
43
+ fontWeight={typography.weight.regular}
44
+ sampleText={SampleText}
45
+ fontFamily={typography.type.primary}
46
+ />
47
+
48
+ export const textography = {
49
+ type: {
50
+ primary: 'PF-Din-Display-Pro, sans-serif',
51
+ },
52
+ weight: {
53
+ regular: '400',
54
+ semibold: '600',
55
+ },
56
+ size: {
57
+ xxl: 24,
58
+ xl: 22,
59
+ l: 20,
60
+ m: 16,
61
+ s: 14,
62
+ xs: 12,
63
+ xxs: 10,
64
+ },
65
+ }
66
+
67
+ **Text:** xxl- xxs
68
+
69
+ <Typeset
70
+ fontSizes={[
71
+ Number(textography.size.xxl),
72
+ Number(textography.size.xl),
73
+ Number(textography.size.l),
74
+ Number(textography.size.m),
75
+ Number(textography.size.s),
76
+ Number(textography.size.xs),
77
+ Number(textography.size.xxs),
78
+ ]}
79
+ fontWeight={textography.weight.regular}
80
+ sampleText={SampleText}
81
+ fontFamily={textography.type.primary}
82
+ />
@@ -1,6 +1,7 @@
1
1
  import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
2
- import { tAlignDirectionProps, tAlignmentProps, tAlignProps, tDirectionProps, tElevationProps, tFillHoverProps, tFillProps, tJustifyContentProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tTypeProps, tUnderlineProps, tWidthProps } from 'types';
2
+ import { tAlignDirectionProps, tAlignmentProps, tDirectionProps, tFillHoverProps, tFillProps, tJustifyContentProps, tShapeProps, tSizeProps, tTextAlignProps, tTextColorActiveProps, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tTextWrapProps, tTypeProps, tUnderlineProps } from 'types';
3
3
  import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
4
+ import { tAlignProps, tElevationProps, tWidthProps } from '@itcase/types';
4
5
  import { iStyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
5
6
  export interface iDropdownProps extends iStyleAttributes {
6
7
  [key: number | string | symbol]: any;
@@ -1,3 +1,2 @@
1
1
  declare const alignProps: readonly ["topLeft", "topCenter", "topRight", "left", "center", "right", "bottomLeft", "bottomCenter", "bottomRight"];
2
- export type tAlignProps = (typeof alignProps)[number];
3
2
  export { alignProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.4.8",
3
+ "version": "1.4.10",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -97,19 +97,19 @@
97
97
  "dependencies": {
98
98
  "@emotion/is-prop-valid": "^1.3.1",
99
99
  "@itcase/common": "^1.2.22",
100
- "@itcase/config": "^1.0.26",
100
+ "@itcase/config": "^1.0.36",
101
101
  "@itcase/icons": "^1.0.29",
102
- "@itcase/storybook-config": "^1.1.8",
103
- "@itcase/tokens-am": "^1.0.28",
104
- "@itcase/tokens-baikal": "^1.0.30",
102
+ "@itcase/storybook-config": "^1.1.9",
103
+ "@itcase/tokens-am": "^1.1.0",
104
+ "@itcase/tokens-baikal": "^1.1.0",
105
105
  "clsx": "^2.1.1",
106
106
  "date-fns": "^4.1.0",
107
107
  "eslint-import-resolver-alias": "^1.1.2",
108
108
  "eslint-plugin-import": "^2.31.0",
109
- "framer-motion": "^12.7.3",
109
+ "framer-motion": "^12.7.4",
110
110
  "js-cookie": "^3.0.5",
111
111
  "lodash": "^4.17.21",
112
- "motion": "^12.7.3",
112
+ "motion": "^12.7.4",
113
113
  "rc-slider": "^11.1.8",
114
114
  "react": "^18.3.1",
115
115
  "react-dadata": "^2.27.4",
@@ -134,7 +134,7 @@
134
134
  "@babel/preset-react": "^7.26.3",
135
135
  "@commitlint/cli": "^19.8.0",
136
136
  "@commitlint/config-conventional": "^19.8.0",
137
- "@itcase/lint": "^1.1.5",
137
+ "@itcase/lint": "^1.1.7",
138
138
  "@rollup/plugin-alias": "^5.1.1",
139
139
  "@rollup/plugin-babel": "^6.0.4",
140
140
  "@rollup/plugin-commonjs": "^28.0.3",