@gitlab/ui 68.7.0 → 69.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 +40 -0
- package/dist/components/base/banner/banner.js +5 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +1 -1
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +3 -3
- package/src/components/base/banner/banner.vue +5 -1
- package/src/scss/utilities.scss +70 -46
- package/src/scss/utility-mixins/flex.scss +6 -14
- package/src/scss/utility-mixins/sizing.scss +24 -7
- package/src/scss/utility-mixins/spacing.scss +6 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "69.0.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -167,10 +167,10 @@
|
|
|
167
167
|
"storybook-dark-mode": "3.0.1",
|
|
168
168
|
"style-dictionary": "^3.8.0",
|
|
169
169
|
"stylelint": "15.10.2",
|
|
170
|
-
"vue": "2.7.
|
|
170
|
+
"vue": "2.7.15",
|
|
171
171
|
"vue-loader": "^15.8.3",
|
|
172
172
|
"vue-loader-vue3": "npm:vue-loader@17",
|
|
173
|
-
"vue-template-compiler": "2.7.
|
|
173
|
+
"vue-template-compiler": "2.7.15",
|
|
174
174
|
"vue-test-utils-compat": "^0.0.10",
|
|
175
175
|
"webpack": "^5.9.0"
|
|
176
176
|
},
|
|
@@ -109,7 +109,11 @@ export default {
|
|
|
109
109
|
<template>
|
|
110
110
|
<gl-card
|
|
111
111
|
class="gl-pl-6 gl-pr-8 gl-py-6"
|
|
112
|
-
:class="{
|
|
112
|
+
:class="{
|
|
113
|
+
'gl-banner-introduction': isIntroducing,
|
|
114
|
+
'gl-border-none!': embedded,
|
|
115
|
+
'gl-bg-gray-10!': !isIntroducing,
|
|
116
|
+
}"
|
|
113
117
|
body-class="gl-display-flex gl-p-0!"
|
|
114
118
|
>
|
|
115
119
|
<div v-if="svgPath" class="gl-banner-illustration">
|
package/src/scss/utilities.scss
CHANGED
|
@@ -3530,18 +3530,6 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
|
|
|
3530
3530
|
flex-direction: column !important;
|
|
3531
3531
|
}
|
|
3532
3532
|
|
|
3533
|
-
.gl-sm-flex-direction-column {
|
|
3534
|
-
@include gl-media-breakpoint-down(md) {
|
|
3535
|
-
flex-direction: column;
|
|
3536
|
-
}
|
|
3537
|
-
}
|
|
3538
|
-
|
|
3539
|
-
.gl-sm-flex-direction-column\! {
|
|
3540
|
-
@include gl-media-breakpoint-down(md) {
|
|
3541
|
-
flex-direction: column !important;
|
|
3542
|
-
}
|
|
3543
|
-
}
|
|
3544
|
-
|
|
3545
3533
|
.gl-md-flex-direction-column {
|
|
3546
3534
|
@include gl-media-breakpoint-up(md) {
|
|
3547
3535
|
flex-direction: column;
|
|
@@ -3566,18 +3554,6 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
|
|
|
3566
3554
|
}
|
|
3567
3555
|
}
|
|
3568
3556
|
|
|
3569
|
-
.gl-xs-flex-direction-column {
|
|
3570
|
-
@include gl-media-breakpoint-down(sm) {
|
|
3571
|
-
flex-direction: column;
|
|
3572
|
-
}
|
|
3573
|
-
}
|
|
3574
|
-
|
|
3575
|
-
.gl-xs-flex-direction-column\! {
|
|
3576
|
-
@include gl-media-breakpoint-down(sm) {
|
|
3577
|
-
flex-direction: column !important;
|
|
3578
|
-
}
|
|
3579
|
-
}
|
|
3580
|
-
|
|
3581
3557
|
.gl-flex-direction-column-reverse {
|
|
3582
3558
|
flex-direction: column-reverse;
|
|
3583
3559
|
}
|
|
@@ -3650,6 +3626,18 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
|
|
|
3650
3626
|
flex-direction: row-reverse !important;
|
|
3651
3627
|
}
|
|
3652
3628
|
|
|
3629
|
+
.gl-sm-flex-direction-row-reverse {
|
|
3630
|
+
@include gl-media-breakpoint-up(sm) {
|
|
3631
|
+
flex-direction: row-reverse;
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3634
|
+
|
|
3635
|
+
.gl-sm-flex-direction-row-reverse\! {
|
|
3636
|
+
@include gl-media-breakpoint-up(sm) {
|
|
3637
|
+
flex-direction: row-reverse !important;
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
|
|
3653
3641
|
.gl-flex-shrink-0 {
|
|
3654
3642
|
flex-shrink: 0;
|
|
3655
3643
|
}
|
|
@@ -4911,18 +4899,6 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
|
|
|
4911
4899
|
width: $grid-size * 40 !important;
|
|
4912
4900
|
}
|
|
4913
4901
|
|
|
4914
|
-
.gl-xs-w-full {
|
|
4915
|
-
@include gl-media-breakpoint-down(sm) {
|
|
4916
|
-
width: 100%;
|
|
4917
|
-
}
|
|
4918
|
-
}
|
|
4919
|
-
|
|
4920
|
-
.gl-xs-w-full\! {
|
|
4921
|
-
@include gl-media-breakpoint-down(sm) {
|
|
4922
|
-
width: 100% !important;
|
|
4923
|
-
}
|
|
4924
|
-
}
|
|
4925
|
-
|
|
4926
4902
|
.gl-sm-w-full {
|
|
4927
4903
|
@include gl-media-breakpoint-up(sm) {
|
|
4928
4904
|
width: 100%;
|
|
@@ -5127,6 +5103,54 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
|
|
|
5127
5103
|
}
|
|
5128
5104
|
}
|
|
5129
5105
|
|
|
5106
|
+
.gl-sm-w-25p {
|
|
5107
|
+
@include gl-media-breakpoint-up(sm) {
|
|
5108
|
+
width: 25%;
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
|
|
5112
|
+
.gl-sm-w-25p\! {
|
|
5113
|
+
@include gl-media-breakpoint-up(sm) {
|
|
5114
|
+
width: 25% !important;
|
|
5115
|
+
}
|
|
5116
|
+
}
|
|
5117
|
+
|
|
5118
|
+
.gl-sm-w-30p {
|
|
5119
|
+
@include gl-media-breakpoint-up(sm) {
|
|
5120
|
+
width: 30%;
|
|
5121
|
+
}
|
|
5122
|
+
}
|
|
5123
|
+
|
|
5124
|
+
.gl-sm-w-30p\! {
|
|
5125
|
+
@include gl-media-breakpoint-up(sm) {
|
|
5126
|
+
width: 30% !important;
|
|
5127
|
+
}
|
|
5128
|
+
}
|
|
5129
|
+
|
|
5130
|
+
.gl-sm-w-40p {
|
|
5131
|
+
@include gl-media-breakpoint-up(sm) {
|
|
5132
|
+
width: 40%;
|
|
5133
|
+
}
|
|
5134
|
+
}
|
|
5135
|
+
|
|
5136
|
+
.gl-sm-w-40p\! {
|
|
5137
|
+
@include gl-media-breakpoint-up(sm) {
|
|
5138
|
+
width: 40% !important;
|
|
5139
|
+
}
|
|
5140
|
+
}
|
|
5141
|
+
|
|
5142
|
+
.gl-sm-w-75p {
|
|
5143
|
+
@include gl-media-breakpoint-up(sm) {
|
|
5144
|
+
width: 75%;
|
|
5145
|
+
}
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
.gl-sm-w-75p\! {
|
|
5149
|
+
@include gl-media-breakpoint-up(sm) {
|
|
5150
|
+
width: 75% !important;
|
|
5151
|
+
}
|
|
5152
|
+
}
|
|
5153
|
+
|
|
5130
5154
|
.gl-md-w-15 {
|
|
5131
5155
|
@include gl-media-breakpoint-up(md) {
|
|
5132
5156
|
width: $gl-spacing-scale-15;
|
|
@@ -7102,16 +7126,6 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
|
|
|
7102
7126
|
.gl-row-gap-7\! {
|
|
7103
7127
|
row-gap: $gl-spacing-scale-7 !important;
|
|
7104
7128
|
}
|
|
7105
|
-
.gl-xs-mb-3 {
|
|
7106
|
-
@include gl-media-breakpoint-down(sm) {
|
|
7107
|
-
margin-bottom: $gl-spacing-scale-3;
|
|
7108
|
-
}
|
|
7109
|
-
}
|
|
7110
|
-
.gl-xs-mb-3\! {
|
|
7111
|
-
@include gl-media-breakpoint-down(sm) {
|
|
7112
|
-
margin-bottom: $gl-spacing-scale-3 !important;
|
|
7113
|
-
}
|
|
7114
|
-
}
|
|
7115
7129
|
.gl-sm-ml-3 {
|
|
7116
7130
|
@include gl-media-breakpoint-up(sm) {
|
|
7117
7131
|
margin-left: $gl-spacing-scale-3;
|
|
@@ -7172,6 +7186,16 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
|
|
|
7172
7186
|
margin-top: $gl-spacing-scale-6 !important;
|
|
7173
7187
|
}
|
|
7174
7188
|
}
|
|
7189
|
+
.gl-sm-mb-0 {
|
|
7190
|
+
@include gl-media-breakpoint-up(sm) {
|
|
7191
|
+
margin-bottom: 0;
|
|
7192
|
+
}
|
|
7193
|
+
}
|
|
7194
|
+
.gl-sm-mb-0\! {
|
|
7195
|
+
@include gl-media-breakpoint-up(sm) {
|
|
7196
|
+
margin-bottom: 0 !important;
|
|
7197
|
+
}
|
|
7198
|
+
}
|
|
7175
7199
|
.gl-sm-mb-7 {
|
|
7176
7200
|
@include gl-media-breakpoint-up(sm) {
|
|
7177
7201
|
margin-bottom: $gl-spacing-scale-7;
|
|
@@ -117,13 +117,6 @@
|
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
@mixin gl-sm-flex-direction-column {
|
|
121
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
122
|
-
@include gl-media-breakpoint-down(md) {
|
|
123
|
-
@include gl-flex-direction-column;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
120
|
@mixin gl-md-flex-direction-column {
|
|
128
121
|
@include gl-media-breakpoint-up(md) {
|
|
129
122
|
@include gl-flex-direction-column;
|
|
@@ -136,13 +129,6 @@
|
|
|
136
129
|
}
|
|
137
130
|
}
|
|
138
131
|
|
|
139
|
-
@mixin gl-xs-flex-direction-column {
|
|
140
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
141
|
-
@include gl-media-breakpoint-down(sm) {
|
|
142
|
-
flex-direction: column;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
132
|
@mixin gl-flex-direction-column-reverse {
|
|
147
133
|
flex-direction: column-reverse;
|
|
148
134
|
}
|
|
@@ -179,6 +165,12 @@
|
|
|
179
165
|
flex-direction: row-reverse;
|
|
180
166
|
}
|
|
181
167
|
|
|
168
|
+
@mixin gl-sm-flex-direction-row-reverse {
|
|
169
|
+
@include gl-media-breakpoint-up(sm) {
|
|
170
|
+
flex-direction: row-reverse;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
182
174
|
@mixin gl-flex-shrink-0 {
|
|
183
175
|
flex-shrink: 0;
|
|
184
176
|
}
|
|
@@ -138,13 +138,6 @@
|
|
|
138
138
|
width: $grid-size * 40;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
@mixin gl-xs-w-full {
|
|
142
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
143
|
-
@include gl-media-breakpoint-down(sm) {
|
|
144
|
-
@include gl-w-full;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
141
|
@mixin gl-sm-w-full {
|
|
149
142
|
@include gl-media-breakpoint-up(sm) {
|
|
150
143
|
@include gl-w-full;
|
|
@@ -255,6 +248,30 @@
|
|
|
255
248
|
}
|
|
256
249
|
}
|
|
257
250
|
|
|
251
|
+
@mixin gl-sm-w-25p {
|
|
252
|
+
@include gl-media-breakpoint-up(sm) {
|
|
253
|
+
width: 25%;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
@mixin gl-sm-w-30p {
|
|
258
|
+
@include gl-media-breakpoint-up(sm) {
|
|
259
|
+
width: 30%;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@mixin gl-sm-w-40p {
|
|
264
|
+
@include gl-media-breakpoint-up(sm) {
|
|
265
|
+
width: 40%;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
@mixin gl-sm-w-75p {
|
|
270
|
+
@include gl-media-breakpoint-up(sm) {
|
|
271
|
+
width: 75%;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
258
275
|
@mixin gl-md-w-15 {
|
|
259
276
|
@include gl-media-breakpoint-up(md) {
|
|
260
277
|
@include gl-w-15;
|
|
@@ -981,14 +981,6 @@
|
|
|
981
981
|
* notes:
|
|
982
982
|
* - Utilities should strictly follow $gl-spacing-scale
|
|
983
983
|
*/
|
|
984
|
-
|
|
985
|
-
@mixin gl-xs-mb-3 {
|
|
986
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
987
|
-
@include gl-media-breakpoint-down(sm) {
|
|
988
|
-
@include gl-mb-3;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
|
|
992
984
|
@mixin gl-sm-ml-3 {
|
|
993
985
|
@include gl-media-breakpoint-up(sm) {
|
|
994
986
|
@include gl-ml-3;
|
|
@@ -1025,6 +1017,12 @@
|
|
|
1025
1017
|
}
|
|
1026
1018
|
}
|
|
1027
1019
|
|
|
1020
|
+
@mixin gl-sm-mb-0 {
|
|
1021
|
+
@include gl-media-breakpoint-up(sm) {
|
|
1022
|
+
margin-bottom: 0;
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1028
1026
|
@mixin gl-sm-mb-7 {
|
|
1029
1027
|
@include gl-media-breakpoint-up(sm) {
|
|
1030
1028
|
@include gl-mb-7;
|