@gitlab/ui 98.5.1 → 99.0.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 +23 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_details_modal/duo_chat_context_item_details_modal.js +1 -1
- package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +1 -1
- package/dist/components/experimental/duo/chat/mock_data.js +1 -1
- package/dist/components/experimental/experiment_badge/experiment_badge.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/package.json +8 -11
- package/src/components/base/skeleton_loader/skeleton_loader.md +28 -4
- package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_details_modal/duo_chat_context_item_details_modal.vue +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +1 -1
- package/src/components/experimental/duo/chat/duo_chat.scss +228 -0
- package/src/components/experimental/duo/chat/mock_data.js +1 -1
- package/src/components/experimental/experiment_badge/experiment_badge.vue +8 -2
- package/src/scss/gitlab_ui.scss +0 -1
- package/src/scss/storybook.scss +0 -1
- package/src/scss/typescale/typescale.md +0 -1
- package/src/scss/typescale/typescale_demo.scss +1 -2
- package/dist/utility_classes.css +0 -2
- package/dist/utility_classes.css.map +0 -1
- package/src/scss/utilities.scss +0 -9196
- package/src/scss/utility-mixins/accessibility.scss +0 -19
- package/src/scss/utility-mixins/animation.scss +0 -90
- package/src/scss/utility-mixins/background.scss +0 -421
- package/src/scss/utility-mixins/border.scss +0 -498
- package/src/scss/utility-mixins/box-shadow.scss +0 -220
- package/src/scss/utility-mixins/clearfix.scss +0 -9
- package/src/scss/utility-mixins/color.scss +0 -228
- package/src/scss/utility-mixins/composite.scss +0 -24
- package/src/scss/utility-mixins/cursor.scss +0 -36
- package/src/scss/utility-mixins/deprecated.scss +0 -20
- package/src/scss/utility-mixins/display.scss +0 -192
- package/src/scss/utility-mixins/flex.scss +0 -360
- package/src/scss/utility-mixins/grid.scss +0 -50
- package/src/scss/utility-mixins/image.scss +0 -8
- package/src/scss/utility-mixins/index.scss +0 -47
- package/src/scss/utility-mixins/list-style.scss +0 -12
- package/src/scss/utility-mixins/opacity.scss +0 -32
- package/src/scss/utility-mixins/outline.scss +0 -12
- package/src/scss/utility-mixins/overflow.scss +0 -45
- package/src/scss/utility-mixins/pointer-events.scss +0 -12
- package/src/scss/utility-mixins/sizing.scss +0 -582
- package/src/scss/utility-mixins/spacing.scss +0 -1564
- package/src/scss/utility-mixins/svg.scss +0 -79
- package/src/scss/utility-mixins/text.scss +0 -183
- package/src/scss/utility-mixins/transform.scss +0 -58
- package/src/scss/utility-mixins/transition.scss +0 -44
- package/src/scss/utility-mixins/typography.scss +0 -381
- package/src/scss/utility-mixins/vertical-align.scss +0 -22
- package/src/scss/utility-mixins/visibility.scss +0 -12
- package/src/scss/utility-mixins/z-index.scss +0 -37
|
@@ -1,381 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Font family utility
|
|
3
|
-
*
|
|
4
|
-
* naming convention: gl-font-{family-name}
|
|
5
|
-
* Notes:
|
|
6
|
-
* - Strictly based on design system typography specs
|
|
7
|
-
*/
|
|
8
|
-
@mixin gl-font-monospace {
|
|
9
|
-
font-family: $gl-monospace-font;
|
|
10
|
-
font-variant-ligatures: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin gl-font-regular {
|
|
14
|
-
font-family: $gl-regular-font;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Font style utility
|
|
19
|
-
*
|
|
20
|
-
* naming convention: gl-font-style-{family-name}
|
|
21
|
-
*/
|
|
22
|
-
@mixin gl-font-style-italic {
|
|
23
|
-
font-style: italic;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin gl-font-style-normal {
|
|
27
|
-
font-style: normal;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Heading utility
|
|
32
|
-
*
|
|
33
|
-
* naming convention: gl-heading-{level}
|
|
34
|
-
* Notes:
|
|
35
|
-
* - Includes a default margin bottom
|
|
36
|
-
* - Fixed sizes have limited use, check
|
|
37
|
-
* https://design.gitlab.com/product-foundations/type-fundamentals
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
@mixin gl-heading-6 {
|
|
41
|
-
@include gl-heading-scale-200;
|
|
42
|
-
margin-bottom: $gl-mb-heading;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@mixin gl-heading-6-fixed {
|
|
46
|
-
@include gl-heading-scale-200-fixed;
|
|
47
|
-
margin-bottom: $gl-mb-heading;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@mixin gl-heading-5 {
|
|
51
|
-
@include gl-heading-scale-300;
|
|
52
|
-
margin-bottom: $gl-mb-heading;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@mixin gl-heading-5-fixed {
|
|
56
|
-
@include gl-heading-scale-300-fixed;
|
|
57
|
-
margin-bottom: $gl-mb-heading;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@mixin gl-heading-4 {
|
|
61
|
-
@include gl-heading-scale-400;
|
|
62
|
-
margin-bottom: $gl-mb-heading;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@mixin gl-heading-4-fixed {
|
|
66
|
-
@include gl-heading-scale-400-fixed;
|
|
67
|
-
margin-bottom: $gl-mb-heading;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@mixin gl-heading-3 {
|
|
71
|
-
@include gl-heading-scale-500;
|
|
72
|
-
margin-bottom: $gl-mb-heading;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
@mixin gl-heading-3-fixed {
|
|
76
|
-
@include gl-heading-scale-500-fixed;
|
|
77
|
-
margin-bottom: $gl-mb-heading;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@mixin gl-heading-2 {
|
|
81
|
-
@include gl-heading-scale-600;
|
|
82
|
-
margin-bottom: $gl-mb-heading;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@mixin gl-heading-2-fixed {
|
|
86
|
-
@include gl-heading-scale-600-fixed;
|
|
87
|
-
margin-bottom: $gl-mb-heading;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@mixin gl-heading-1 {
|
|
91
|
-
@include gl-heading-scale-700;
|
|
92
|
-
margin-bottom: $gl-mb-heading;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@mixin gl-heading-1-fixed {
|
|
96
|
-
@include gl-heading-scale-700-fixed;
|
|
97
|
-
margin-bottom: $gl-mb-heading;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@mixin gl-heading-display {
|
|
101
|
-
@include gl-heading-scale-800;
|
|
102
|
-
margin-bottom: $gl-mb-heading-display;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Heading scale utility
|
|
107
|
-
*
|
|
108
|
-
* naming convention: gl-heading-scale-{size-variable-value}
|
|
109
|
-
*
|
|
110
|
-
* Notes:
|
|
111
|
-
* - For contextual heading size adjustments only, check
|
|
112
|
-
* https://design.gitlab.com/product-foundations/type-fundamentals
|
|
113
|
-
* - See variables.scss for font-size default and fixed scales.
|
|
114
|
-
*/
|
|
115
|
-
|
|
116
|
-
@mixin gl-heading-scale-100 {
|
|
117
|
-
@include gl-heading-scale(100);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@mixin gl-heading-scale-100-fixed {
|
|
121
|
-
@include gl-heading-scale(100, $fixed: true);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@mixin gl-heading-scale-200 {
|
|
125
|
-
@include gl-heading-scale(200);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
@mixin gl-heading-scale-200-fixed {
|
|
129
|
-
@include gl-heading-scale(200, $fixed: true);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
@mixin gl-heading-scale-300 {
|
|
133
|
-
@include gl-heading-scale(300);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@mixin gl-heading-scale-300-fixed {
|
|
137
|
-
@include gl-heading-scale(300, $fixed: true);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
@mixin gl-heading-scale-400 {
|
|
141
|
-
@include gl-heading-scale(400);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@mixin gl-heading-scale-400-fixed {
|
|
145
|
-
@include gl-heading-scale(400, $fixed: true);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@mixin gl-heading-scale-500 {
|
|
149
|
-
@include gl-heading-scale(500);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@mixin gl-heading-scale-500-fixed {
|
|
153
|
-
@include gl-heading-scale(500, $fixed: true);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
@mixin gl-heading-scale-600 {
|
|
157
|
-
@include gl-heading-scale(600);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
@mixin gl-heading-scale-600-fixed {
|
|
161
|
-
@include gl-heading-scale(600, $fixed: true);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
@mixin gl-heading-scale-700 {
|
|
165
|
-
@include gl-heading-scale(700);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
@mixin gl-heading-scale-700-fixed {
|
|
169
|
-
@include gl-heading-scale(700, $fixed: true);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
@mixin gl-heading-scale-800 {
|
|
173
|
-
@include gl-heading-scale(800);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
@mixin gl-heading-scale-800-fixed {
|
|
177
|
-
@include gl-heading-scale(800, $fixed: true);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* DEPRECATED
|
|
182
|
-
* TODO: migrate all of these away
|
|
183
|
-
* Font size utility
|
|
184
|
-
*
|
|
185
|
-
* naming convention: gl-font-{type-scale-size}
|
|
186
|
-
* Notes:
|
|
187
|
-
* - Strictly based on design system type scale. See
|
|
188
|
-
* $gl-type-scale for further references.
|
|
189
|
-
*/
|
|
190
|
-
@mixin gl-font-xs {
|
|
191
|
-
font-size: $gl-font-size-xs;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@mixin gl-font-sm {
|
|
195
|
-
font-size: $gl-font-size-sm;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
@mixin gl-font-base {
|
|
199
|
-
font-size: $gl-font-size;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
@mixin gl-font-lg {
|
|
203
|
-
font-size: $gl-font-size-lg;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
@mixin gl-font-size-h-display {
|
|
207
|
-
font-size: $gl-font-size-h-display;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
@mixin gl-font-size-h1 {
|
|
211
|
-
font-size: $gl-font-size-h1;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
@mixin gl-font-size-h2 {
|
|
215
|
-
font-size: $gl-font-size-h2;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
@mixin gl-font-size-h-display-xl {
|
|
219
|
-
font-size: $gl-font-size-h-display-xl;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
@mixin gl-font-size-h1-xl {
|
|
223
|
-
font-size: $gl-font-size-h1-xl;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
@mixin gl-font-size-h2-xl {
|
|
227
|
-
font-size: $gl-font-size-h2-xl;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
@mixin gl-font-icon-size {
|
|
231
|
-
font-size: $default-icon-size;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
@mixin gl-font-size-markdown-sm {
|
|
235
|
-
font-size: $gl-font-size-markdown-sm;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
@mixin gl-font-size-markdown {
|
|
239
|
-
font-size: $gl-font-size-markdown;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
@mixin gl-font-size-markdown-h1 {
|
|
243
|
-
font-size: $gl-font-size-markdown-h1;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
@mixin gl-font-size-markdown-h2 {
|
|
247
|
-
font-size: $gl-font-size-markdown-h2;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
@mixin gl-font-size-markdown-h3 {
|
|
251
|
-
font-size: $gl-font-size-markdown-h3;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
@mixin gl-font-size-compact-markdown-h1 {
|
|
255
|
-
font-size: $gl-font-size-compact-markdown-h1;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
@mixin gl-reset-font-size {
|
|
259
|
-
font-size: inherit;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Font-weight utilities.
|
|
264
|
-
*
|
|
265
|
-
* naming convention: gl-font-weight-[bold|normal|number]
|
|
266
|
-
*/
|
|
267
|
-
|
|
268
|
-
@mixin gl-font-weight-100 {
|
|
269
|
-
font-weight: 100;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
@mixin gl-font-weight-300 {
|
|
273
|
-
font-weight: 300;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
@mixin gl-font-weight-normal {
|
|
277
|
-
font-weight: $gl-font-weight-normal;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
@mixin gl-font-weight-semibold {
|
|
281
|
-
font-weight: $gl-font-weight-semibold;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
@mixin gl-font-weight-bold {
|
|
285
|
-
font-weight: $gl-font-weight-bold;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
@mixin gl-sm-font-weight-bold {
|
|
289
|
-
@include gl-media-breakpoint-up(sm) {
|
|
290
|
-
@include gl-font-weight-bold;
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* Line height utilities.
|
|
296
|
-
*
|
|
297
|
-
* naming convention:
|
|
298
|
-
* - gl-line-height-ratio-{ratio-multiplied-by-1000}
|
|
299
|
-
* - gl-line-height-{line-height-in-pixels}
|
|
300
|
-
* notes:
|
|
301
|
-
* - Strictly based in gl-line-height-{n} variables
|
|
302
|
-
*/
|
|
303
|
-
|
|
304
|
-
// TODO: Remove after migration
|
|
305
|
-
@mixin gl-line-height-0 {
|
|
306
|
-
line-height: 0;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
// TODO: Remove after migration
|
|
310
|
-
@mixin gl-line-height-1 {
|
|
311
|
-
line-height: 1;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
@mixin gl-line-height-ratio-0000 {
|
|
315
|
-
line-height: 0;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
@mixin gl-line-height-ratio-1000 {
|
|
319
|
-
line-height: 1;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
@mixin gl-line-height-ratio-1125 {
|
|
323
|
-
line-height: 1.125;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
@mixin gl-line-height-ratio-1250 {
|
|
327
|
-
line-height: 1.25;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
@mixin gl-line-height-normal {
|
|
331
|
-
line-height: $gl-line-height-16;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
@mixin gl-line-height-12 {
|
|
335
|
-
line-height: $gl-line-height-12;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
@mixin gl-line-height-20 {
|
|
339
|
-
line-height: $gl-line-height-20;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
@mixin gl-line-height-24 {
|
|
343
|
-
line-height: $gl-line-height-24;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
@mixin gl-line-height-28 {
|
|
347
|
-
line-height: $gl-line-height-28;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
@mixin gl-line-height-32 {
|
|
351
|
-
line-height: $gl-line-height-32;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
@mixin gl-line-height-36 {
|
|
355
|
-
line-height: $gl-line-height-36;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
@mixin gl-line-height-42 {
|
|
359
|
-
line-height: $gl-line-height-42;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
@mixin gl-line-height-52 {
|
|
363
|
-
line-height: $gl-line-height-52;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
@mixin gl-reset-line-height {
|
|
367
|
-
line-height: inherit;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* Letter spacing utilities.
|
|
372
|
-
*
|
|
373
|
-
* naming convention: gl-letter-spacing-{letter-spacing}{unit}
|
|
374
|
-
*/
|
|
375
|
-
@mixin gl-letter-spacing-06em {
|
|
376
|
-
letter-spacing: 0.06em;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
@mixin gl-letter-spacing-n01em {
|
|
380
|
-
letter-spacing: -0.01em;
|
|
381
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Vertical align utilities
|
|
3
|
-
*/
|
|
4
|
-
@mixin gl-vertical-align-baseline {
|
|
5
|
-
vertical-align: baseline;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin gl-vertical-align-middle {
|
|
9
|
-
vertical-align: middle;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@mixin gl-vertical-align-top {
|
|
13
|
-
vertical-align: top;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin gl-vertical-align-bottom {
|
|
17
|
-
vertical-align: bottom;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@mixin gl-vertical-align-text-bottom {
|
|
21
|
-
vertical-align: text-bottom;
|
|
22
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* z-index utilities
|
|
3
|
-
*
|
|
4
|
-
* naming convention: gl-z-index-{value}
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
@mixin gl-z-index-0 {
|
|
8
|
-
z-index: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@mixin gl-z-index-1($focus: true) {
|
|
12
|
-
z-index: 1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin gl-z-index-2 {
|
|
16
|
-
z-index: 2;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin gl-z-index-3 {
|
|
20
|
-
z-index: 3;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@mixin gl-z-index-4 {
|
|
24
|
-
z-index: 4;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@mixin gl-z-index-200 {
|
|
28
|
-
z-index: 200;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@mixin gl-z-index-999 {
|
|
32
|
-
z-index: 999;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@mixin gl-z-index-9999 {
|
|
36
|
-
z-index: 9999;
|
|
37
|
-
}
|