@gitlab/ui 32.60.0 → 32.64.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 +28 -0
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +9 -9
- package/scss_to_js/scss_variables.js +1 -0
- package/scss_to_js/scss_variables.json +5 -0
- package/src/scss/utilities.scss +42 -0
- package/src/scss/utility-mixins/flex.scss +6 -0
- package/src/scss/utility-mixins/spacing.scss +14 -0
- package/src/scss/utility-mixins/typography.scss +4 -0
- package/src/scss/variables.scss +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "32.
|
|
3
|
+
"version": "32.64.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -90,15 +90,15 @@
|
|
|
90
90
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
91
91
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
92
92
|
"@rollup/plugin-replace": "^2.3.2",
|
|
93
|
-
"@storybook/addon-a11y": "6.4.
|
|
94
|
-
"@storybook/addon-docs": "6.4.
|
|
95
|
-
"@storybook/addon-essentials": "6.4.
|
|
93
|
+
"@storybook/addon-a11y": "6.4.13",
|
|
94
|
+
"@storybook/addon-docs": "6.4.13",
|
|
95
|
+
"@storybook/addon-essentials": "6.4.13",
|
|
96
96
|
"@storybook/addon-knobs": "6.4.0",
|
|
97
|
-
"@storybook/addon-storyshots": "6.4.
|
|
98
|
-
"@storybook/addon-storyshots-puppeteer": "6.4.
|
|
99
|
-
"@storybook/addon-viewport": "6.4.
|
|
100
|
-
"@storybook/theming": "6.4.
|
|
101
|
-
"@storybook/vue": "6.4.
|
|
97
|
+
"@storybook/addon-storyshots": "6.4.13",
|
|
98
|
+
"@storybook/addon-storyshots-puppeteer": "6.4.13",
|
|
99
|
+
"@storybook/addon-viewport": "6.4.13",
|
|
100
|
+
"@storybook/theming": "6.4.13",
|
|
101
|
+
"@storybook/vue": "6.4.13",
|
|
102
102
|
"@vue/test-utils": "1.3.0",
|
|
103
103
|
"autoprefixer": "^9.7.6",
|
|
104
104
|
"babel-jest": "^26.6.3",
|
|
@@ -240,6 +240,7 @@ export const glLineHeight24 = '1.5rem'
|
|
|
240
240
|
export const glLineHeight28 = '1.75rem'
|
|
241
241
|
export const glLineHeight32 = '2rem'
|
|
242
242
|
export const glLineHeight36 = '2.25rem'
|
|
243
|
+
export const glLineHeight42 = '2.625rem'
|
|
243
244
|
export const glLineHeight44 = '2.75rem'
|
|
244
245
|
export const glLineHeight52 = '3.25rem'
|
|
245
246
|
export const glFontSize = '0.875rem'
|
|
@@ -1249,6 +1249,11 @@
|
|
|
1249
1249
|
"value": "px-to-rem(36px)",
|
|
1250
1250
|
"compiledValue": "2.25rem"
|
|
1251
1251
|
},
|
|
1252
|
+
{
|
|
1253
|
+
"name": "$gl-line-height-42",
|
|
1254
|
+
"value": "px-to-rem(42px)",
|
|
1255
|
+
"compiledValue": "2.625rem"
|
|
1256
|
+
},
|
|
1252
1257
|
{
|
|
1253
1258
|
"name": "$gl-line-height-44",
|
|
1254
1259
|
"value": "px-to-rem(44px)",
|
package/src/scss/utilities.scss
CHANGED
|
@@ -2940,6 +2940,18 @@
|
|
|
2940
2940
|
}
|
|
2941
2941
|
}
|
|
2942
2942
|
|
|
2943
|
+
.gl-md-flex-direction-column {
|
|
2944
|
+
@include gl-media-breakpoint-up(md) {
|
|
2945
|
+
@include gl-flex-direction-column;
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
.gl-md-flex-direction-column\! {
|
|
2950
|
+
@include gl-media-breakpoint-up(md) {
|
|
2951
|
+
@include gl-flex-direction-column;
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2954
|
+
|
|
2943
2955
|
.gl-xs-flex-direction-column {
|
|
2944
2956
|
@include gl-media-breakpoint-down(sm) {
|
|
2945
2957
|
flex-direction: column;
|
|
@@ -4666,6 +4678,12 @@
|
|
|
4666
4678
|
.gl-pr-9\! {
|
|
4667
4679
|
padding-right: $gl-spacing-scale-9 !important;
|
|
4668
4680
|
}
|
|
4681
|
+
.gl-pr-10 {
|
|
4682
|
+
padding-right: $gl-spacing-scale-10;
|
|
4683
|
+
}
|
|
4684
|
+
.gl-pr-10\! {
|
|
4685
|
+
padding-right: $gl-spacing-scale-10 !important;
|
|
4686
|
+
}
|
|
4669
4687
|
.gl-pl-0 {
|
|
4670
4688
|
padding-left: 0;
|
|
4671
4689
|
}
|
|
@@ -4726,6 +4744,12 @@
|
|
|
4726
4744
|
.gl-pl-9\! {
|
|
4727
4745
|
padding-left: $gl-spacing-scale-9 !important;
|
|
4728
4746
|
}
|
|
4747
|
+
.gl-pl-10 {
|
|
4748
|
+
padding-left: $gl-spacing-scale-10;
|
|
4749
|
+
}
|
|
4750
|
+
.gl-pl-10\! {
|
|
4751
|
+
padding-left: $gl-spacing-scale-10 !important;
|
|
4752
|
+
}
|
|
4729
4753
|
.gl-pl-11 {
|
|
4730
4754
|
padding-left: $gl-spacing-scale-11;
|
|
4731
4755
|
}
|
|
@@ -6306,6 +6330,16 @@
|
|
|
6306
6330
|
padding-left: $gl-spacing-scale-5 !important;
|
|
6307
6331
|
}
|
|
6308
6332
|
}
|
|
6333
|
+
.gl-md-pl-7 {
|
|
6334
|
+
@include gl-media-breakpoint-up(md) {
|
|
6335
|
+
padding-left: $gl-spacing-scale-7;
|
|
6336
|
+
}
|
|
6337
|
+
}
|
|
6338
|
+
.gl-md-pl-7\! {
|
|
6339
|
+
@include gl-media-breakpoint-up(md) {
|
|
6340
|
+
padding-left: $gl-spacing-scale-7 !important;
|
|
6341
|
+
}
|
|
6342
|
+
}
|
|
6309
6343
|
.gl-lg-pt-0 {
|
|
6310
6344
|
@include gl-media-breakpoint-up(lg) {
|
|
6311
6345
|
padding-top: 0;
|
|
@@ -7297,6 +7331,14 @@
|
|
|
7297
7331
|
line-height: $gl-line-height-36 !important;
|
|
7298
7332
|
}
|
|
7299
7333
|
|
|
7334
|
+
.gl-line-height-42 {
|
|
7335
|
+
line-height: $gl-line-height-42;
|
|
7336
|
+
}
|
|
7337
|
+
|
|
7338
|
+
.gl-line-height-42\! {
|
|
7339
|
+
line-height: $gl-line-height-42 !important;
|
|
7340
|
+
}
|
|
7341
|
+
|
|
7300
7342
|
.gl-line-height-52 {
|
|
7301
7343
|
line-height: $gl-line-height-52;
|
|
7302
7344
|
}
|
|
@@ -96,6 +96,12 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
@mixin gl-md-flex-direction-column {
|
|
100
|
+
@include gl-media-breakpoint-up(md) {
|
|
101
|
+
@include gl-flex-direction-column;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
99
105
|
@mixin gl-xs-flex-direction-column {
|
|
100
106
|
@include gl-media-breakpoint-down(sm) {
|
|
101
107
|
flex-direction: column;
|
|
@@ -134,6 +134,10 @@
|
|
|
134
134
|
padding-right: $gl-spacing-scale-9;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
@mixin gl-pr-10 {
|
|
138
|
+
padding-right: $gl-spacing-scale-10;
|
|
139
|
+
}
|
|
140
|
+
|
|
137
141
|
@mixin gl-pl-0 {
|
|
138
142
|
padding-left: 0;
|
|
139
143
|
}
|
|
@@ -174,6 +178,10 @@
|
|
|
174
178
|
padding-left: $gl-spacing-scale-9;
|
|
175
179
|
}
|
|
176
180
|
|
|
181
|
+
@mixin gl-pl-10 {
|
|
182
|
+
padding-left: $gl-spacing-scale-10;
|
|
183
|
+
}
|
|
184
|
+
|
|
177
185
|
@mixin gl-pl-11 {
|
|
178
186
|
padding-left: $gl-spacing-scale-11;
|
|
179
187
|
}
|
|
@@ -1195,6 +1203,12 @@
|
|
|
1195
1203
|
}
|
|
1196
1204
|
}
|
|
1197
1205
|
|
|
1206
|
+
@mixin gl-md-pl-7 {
|
|
1207
|
+
@include gl-media-breakpoint-up(md) {
|
|
1208
|
+
@include gl-pl-7;
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1198
1212
|
@mixin gl-lg-pt-0 {
|
|
1199
1213
|
@include gl-media-breakpoint-up(lg) {
|
|
1200
1214
|
@include gl-pt-0;
|
package/src/scss/variables.scss
CHANGED
|
@@ -316,6 +316,7 @@ $gl-line-height-24: px-to-rem(24px);
|
|
|
316
316
|
$gl-line-height-28: px-to-rem(28px);
|
|
317
317
|
$gl-line-height-32: px-to-rem(32px);
|
|
318
318
|
$gl-line-height-36: px-to-rem(36px);
|
|
319
|
+
$gl-line-height-42: px-to-rem(42px);
|
|
319
320
|
$gl-line-height-44: px-to-rem(44px);
|
|
320
321
|
$gl-line-height-52: px-to-rem(52px);
|
|
321
322
|
|