@gitlab/ui 45.0.0 → 46.1.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 +58 -0
- package/dist/components/base/alert/alert.js +9 -1
- package/dist/components/base/token_selector/token_container.js +1 -1
- package/dist/components/base/token_selector/token_selector.js +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +2 -2
- package/src/components/base/alert/alert.spec.js +13 -14
- package/src/components/base/alert/alert.vue +14 -1
- package/src/components/base/banner/banner.spec.js +4 -4
- package/src/components/base/datepicker/datepicker.spec.js +1 -1
- package/src/components/base/daterange_picker/daterange_picker.spec.js +4 -4
- package/src/components/base/drawer/drawer.spec.js +2 -2
- package/src/components/base/dropdown/dropdown.spec.js +5 -5
- package/src/components/base/filtered_search/filtered_search.spec.js +4 -4
- package/src/components/base/filtered_search/filtered_search_token.spec.js +9 -9
- package/src/components/base/filtered_search/filtered_search_token_segment.spec.js +12 -12
- package/src/components/base/form/form_textarea/form_textarea.spec.js +2 -2
- package/src/components/base/infinite_scroll/infinite_scroll.spec.js +6 -6
- package/src/components/base/label/label.spec.js +5 -5
- package/src/components/base/modal/modal.spec.js +1 -1
- package/src/components/base/nav/nav.spec.js +1 -1
- package/src/components/base/nav/nav_item_dropdown.spec.js +3 -3
- package/src/components/base/paginated_list/paginated_list.spec.js +1 -1
- package/src/components/base/pagination/pagination.spec.js +2 -2
- package/src/components/base/search_box_by_click/search_box_by_click.spec.js +7 -7
- package/src/components/base/search_box_by_type/search_box_by_type.spec.js +2 -2
- package/src/components/base/sorting/sorting.spec.js +1 -1
- package/src/components/base/sorting/sorting_item.spec.js +2 -2
- package/src/components/base/tabs/tabs/scrollable_tabs.spec.js +1 -1
- package/src/components/base/tabs/tabs/tabs.spec.js +6 -6
- package/src/components/base/token/token.spec.js +1 -1
- package/src/components/base/token_selector/token_container.spec.js +1 -1
- package/src/components/base/token_selector/token_container.vue +48 -45
- package/src/components/base/token_selector/token_selector.spec.js +4 -4
- package/src/components/base/token_selector/token_selector.vue +1 -1
- package/src/components/base/token_selector/token_selector_dropdown.spec.js +1 -1
- package/src/components/charts/column/column_chart.spec.js +1 -1
- package/src/components/charts/sparkline/sparkline.spec.js +2 -2
- package/src/directives/resize_observer/resize_observer.spec.js +5 -5
- package/src/scss/utilities.scss +0 -202
- package/src/scss/utility-mixins/display.scss +0 -35
- package/src/scss/utility-mixins/flex.scss +0 -7
- package/src/scss/utility-mixins/spacing.scss +0 -91
|
@@ -85,7 +85,7 @@ describe('sorting component', () => {
|
|
|
85
85
|
|
|
86
86
|
selectDirectionButton().trigger('click');
|
|
87
87
|
|
|
88
|
-
expect(wrapper.emitted()
|
|
88
|
+
expect(wrapper.emitted('sortDirectionChange')[0]).toEqual([true]);
|
|
89
89
|
});
|
|
90
90
|
|
|
91
91
|
it('should allow custom sort tooltip to be applied', () => {
|
|
@@ -36,7 +36,7 @@ describe('sorting item component', () => {
|
|
|
36
36
|
it('does not show the check icon when the active prop is not provided', () => {
|
|
37
37
|
createComponent();
|
|
38
38
|
|
|
39
|
-
expect(findActiveIcon().exists()).
|
|
39
|
+
expect(findActiveIcon().exists()).toBe(true);
|
|
40
40
|
expect(findActiveIcon().classes()).toContain('inactive');
|
|
41
41
|
});
|
|
42
42
|
|
|
@@ -45,7 +45,7 @@ describe('sorting item component', () => {
|
|
|
45
45
|
active: true,
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
expect(findActiveIcon().exists()).
|
|
48
|
+
expect(findActiveIcon().exists()).toBe(true);
|
|
49
49
|
expect(findActiveIcon().classes()).not.toContain('inactive');
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -88,7 +88,7 @@ describe('GlScrollableTabs', () => {
|
|
|
88
88
|
});
|
|
89
89
|
|
|
90
90
|
it('passes props through', () => {
|
|
91
|
-
expect(NAV_CLASS).
|
|
91
|
+
expect(NAV_CLASS).toBe('gl-scrollable-tabs-nav');
|
|
92
92
|
expect(wrapper.findComponent(GlTabs).props()).toMatchObject({
|
|
93
93
|
...TEST_DEFAULT_PROPS,
|
|
94
94
|
navClass: [NAV_CLASS, TEST_DEFAULT_PROPS.navClass],
|
|
@@ -234,9 +234,9 @@ describe('tabs component', () => {
|
|
|
234
234
|
|
|
235
235
|
// `input` event should only be fired if the active tab changes.
|
|
236
236
|
if (expectedActiveTabIndex > 0) {
|
|
237
|
-
expect(wrapper.emitted()
|
|
237
|
+
expect(wrapper.emitted('input')[1]).toEqual([expectedActiveTabIndex]);
|
|
238
238
|
} else {
|
|
239
|
-
expect(wrapper.emitted()
|
|
239
|
+
expect(wrapper.emitted('input')[1]).toBeUndefined();
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
242
|
}
|
|
@@ -339,8 +339,8 @@ describe('tabs component', () => {
|
|
|
339
339
|
|
|
340
340
|
await nextTick();
|
|
341
341
|
|
|
342
|
-
expect(wrapper.emitted()
|
|
343
|
-
expect(wrapper.emitted()
|
|
342
|
+
expect(wrapper.emitted('input')[0]).toEqual([1]);
|
|
343
|
+
expect(wrapper.emitted('input')[1]).toEqual([1]);
|
|
344
344
|
});
|
|
345
345
|
});
|
|
346
346
|
});
|
|
@@ -352,7 +352,7 @@ describe('tabs component', () => {
|
|
|
352
352
|
|
|
353
353
|
await nextTick();
|
|
354
354
|
|
|
355
|
-
expect(wrapper.emitted()
|
|
355
|
+
expect(wrapper.emitted('input')[0]).toEqual([0]);
|
|
356
356
|
});
|
|
357
357
|
});
|
|
358
358
|
|
|
@@ -363,7 +363,7 @@ describe('tabs component', () => {
|
|
|
363
363
|
await nextTick();
|
|
364
364
|
await findTabByText('Second').trigger('click');
|
|
365
365
|
|
|
366
|
-
expect(wrapper.emitted()
|
|
366
|
+
expect(wrapper.emitted('input')[1]).toEqual([1]);
|
|
367
367
|
});
|
|
368
368
|
});
|
|
369
369
|
|
|
@@ -17,7 +17,7 @@ describe('Token component', () => {
|
|
|
17
17
|
it('emits close when "x" is clicked', () => {
|
|
18
18
|
wrapper = createComponent();
|
|
19
19
|
findIcon(wrapper).vm.$emit('click');
|
|
20
|
-
expect(wrapper.emitted(
|
|
20
|
+
expect(wrapper.emitted('close')).toHaveLength(1);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
it('hides the icon when view-only', () => {
|
|
@@ -205,7 +205,7 @@ describe('GlTokenContainer', () => {
|
|
|
205
205
|
describe('when escape key is pressed', () => {
|
|
206
206
|
it('fires `cancel-focus` event', async () => {
|
|
207
207
|
await setup(0, keyboard.escape);
|
|
208
|
-
expect(wrapper.emitted('cancel-focus')).
|
|
208
|
+
expect(wrapper.emitted('cancel-focus')).toHaveLength(1);
|
|
209
209
|
});
|
|
210
210
|
});
|
|
211
211
|
|
|
@@ -128,54 +128,57 @@ export default {
|
|
|
128
128
|
</script>
|
|
129
129
|
|
|
130
130
|
<template>
|
|
131
|
-
<div
|
|
132
|
-
ref="tokenContainer"
|
|
133
|
-
class="gl-display-flex gl-flex-wrap gl-align-items-center gl-my-n1 gl-mx-n1 gl-w-full"
|
|
134
|
-
role="listbox"
|
|
135
|
-
aria-multiselectable="false"
|
|
136
|
-
aria-orientation="horizontal"
|
|
137
|
-
:aria-invalid="state === false && 'true'"
|
|
138
|
-
@keydown.left="handleLeftArrow"
|
|
139
|
-
@keydown.right="handleRightArrow"
|
|
140
|
-
@keydown.home="handleHome"
|
|
141
|
-
@keydown.end="handleEnd"
|
|
142
|
-
@keydown.delete="handleDelete"
|
|
143
|
-
@keydown.esc="handleEscape"
|
|
144
|
-
@keydown.tab.exact.prevent="handleTab"
|
|
145
|
-
>
|
|
131
|
+
<div class="gl-display-flex gl-flex-wrap-nowrap gl-align-items-flex-start gl-w-full">
|
|
146
132
|
<div
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
@
|
|
133
|
+
ref="tokenContainer"
|
|
134
|
+
class="gl-display-flex gl-flex-wrap gl-align-items-center gl-my-n1 gl-mx-n1 gl-w-full"
|
|
135
|
+
role="listbox"
|
|
136
|
+
aria-multiselectable="false"
|
|
137
|
+
aria-orientation="horizontal"
|
|
138
|
+
:aria-invalid="state === false && 'true'"
|
|
139
|
+
@keydown.left="handleLeftArrow"
|
|
140
|
+
@keydown.right="handleRightArrow"
|
|
141
|
+
@keydown.home="handleHome"
|
|
142
|
+
@keydown.end="handleEnd"
|
|
143
|
+
@keydown.delete="handleDelete"
|
|
144
|
+
@keydown.esc="handleEscape"
|
|
145
|
+
@keydown.tab.exact.prevent="handleTab"
|
|
155
146
|
>
|
|
156
|
-
<
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
:
|
|
160
|
-
:
|
|
161
|
-
|
|
147
|
+
<div
|
|
148
|
+
v-for="(token, index) in tokens"
|
|
149
|
+
ref="tokens"
|
|
150
|
+
:key="token.id"
|
|
151
|
+
:data-token-id="token.id"
|
|
152
|
+
class="gl-token-selector-token-container gl-px-1 gl-py-2 gl-outline-none"
|
|
153
|
+
role="option"
|
|
154
|
+
tabindex="-1"
|
|
155
|
+
@focus="bindFocusEvent ? handleTokenFocus(index) : null"
|
|
162
156
|
>
|
|
163
|
-
<
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
157
|
+
<gl-token
|
|
158
|
+
class="gl-cursor-default"
|
|
159
|
+
:class="token.class"
|
|
160
|
+
:style="token.style"
|
|
161
|
+
:view-only="viewOnly"
|
|
162
|
+
@close="handleClose(token)"
|
|
163
|
+
>
|
|
164
|
+
<slot name="token-content" :token="token">
|
|
165
|
+
<span>
|
|
166
|
+
{{ token.name }}
|
|
167
|
+
</span>
|
|
168
|
+
</slot>
|
|
169
|
+
</gl-token>
|
|
170
|
+
</div>
|
|
171
|
+
<slot name="text-input"></slot>
|
|
172
|
+
</div>
|
|
173
|
+
<div v-if="showClearAllButton" class="gl-ml-3 gl-p-1">
|
|
174
|
+
<gl-button
|
|
175
|
+
size="small"
|
|
176
|
+
aria-label="Clear all"
|
|
177
|
+
icon="clear"
|
|
178
|
+
category="tertiary"
|
|
179
|
+
data-testid="clear-all-button"
|
|
180
|
+
@click.stop="$emit('clear-all')"
|
|
181
|
+
/>
|
|
169
182
|
</div>
|
|
170
|
-
<slot name="text-input"></slot>
|
|
171
|
-
<gl-button
|
|
172
|
-
v-if="showClearAllButton"
|
|
173
|
-
size="small"
|
|
174
|
-
aria-label="Clear all"
|
|
175
|
-
icon="clear"
|
|
176
|
-
category="tertiary"
|
|
177
|
-
data-testid="clear-all-button"
|
|
178
|
-
@click.stop="$emit('clear-all')"
|
|
179
|
-
/>
|
|
180
183
|
</div>
|
|
181
184
|
</template>
|
|
@@ -398,7 +398,7 @@ describe('GlTokenSelector', () => {
|
|
|
398
398
|
});
|
|
399
399
|
|
|
400
400
|
it('fires `focus` event', () => {
|
|
401
|
-
expect(wrapper.emitted('focus')).
|
|
401
|
+
expect(wrapper.emitted('focus')).toHaveLength(1);
|
|
402
402
|
});
|
|
403
403
|
});
|
|
404
404
|
|
|
@@ -414,7 +414,7 @@ describe('GlTokenSelector', () => {
|
|
|
414
414
|
});
|
|
415
415
|
|
|
416
416
|
it('fires `blur` event', () => {
|
|
417
|
-
expect(wrapper.emitted('blur')).
|
|
417
|
+
expect(wrapper.emitted('blur')).toHaveLength(1);
|
|
418
418
|
});
|
|
419
419
|
|
|
420
420
|
it('removes focus class from main container', () => {
|
|
@@ -566,7 +566,7 @@ describe('GlTokenSelector', () => {
|
|
|
566
566
|
|
|
567
567
|
textInput.trigger('keydown');
|
|
568
568
|
|
|
569
|
-
expect(wrapper.emitted('keydown')).
|
|
569
|
+
expect(wrapper.emitted('keydown')).toHaveLength(1);
|
|
570
570
|
});
|
|
571
571
|
});
|
|
572
572
|
});
|
|
@@ -624,7 +624,7 @@ describe('GlTokenSelector', () => {
|
|
|
624
624
|
|
|
625
625
|
container.trigger('click');
|
|
626
626
|
|
|
627
|
-
expect(wrapper.emitted('focus')).
|
|
627
|
+
expect(wrapper.emitted('focus')).toHaveLength(1);
|
|
628
628
|
});
|
|
629
629
|
});
|
|
630
630
|
|
|
@@ -415,7 +415,7 @@ export default {
|
|
|
415
415
|
<input
|
|
416
416
|
ref="textInput"
|
|
417
417
|
type="text"
|
|
418
|
-
class="gl-token-selector-input gl-bg-none gl-font-regular gl-font-base gl-line-height-normal gl-px-1 gl-h-auto gl-text-gray-900 gl-border-none gl-outline-none gl-flex-grow-1"
|
|
418
|
+
class="gl-token-selector-input gl-bg-none gl-font-regular gl-font-base gl-line-height-normal gl-px-1 gl-h-auto gl-text-gray-900 gl-border-none gl-outline-none gl-flex-grow-1 gl-w-40p"
|
|
419
419
|
:value="inputText"
|
|
420
420
|
:autocomplete="autocomplete"
|
|
421
421
|
:aria-labelledby="ariaLabelledby"
|
|
@@ -55,7 +55,7 @@ describe('column chart component', () => {
|
|
|
55
55
|
it('emits "created" when onCreated is called', () => {
|
|
56
56
|
wrapper.vm.onCreated(wrapper.vm.chart);
|
|
57
57
|
|
|
58
|
-
expect(wrapper.emitted('created')).
|
|
58
|
+
expect(wrapper.emitted('created')).toHaveLength(1);
|
|
59
59
|
});
|
|
60
60
|
|
|
61
61
|
it('calls event listener when "chartItemClicked" is emitted on the Chart component', () => {
|
|
@@ -119,7 +119,7 @@ describe('sparkline chart component', () => {
|
|
|
119
119
|
});
|
|
120
120
|
|
|
121
121
|
it('shows the tooltip when mousing over an axis point in the component', async () => {
|
|
122
|
-
expect(getTooltip().attributes('show')).
|
|
122
|
+
expect(getTooltip().attributes('show')).toBe(undefined);
|
|
123
123
|
|
|
124
124
|
const mockData = { seriesData: [{ data: [5, 8] }] };
|
|
125
125
|
getXAxisLabelFormatter()(mockData);
|
|
@@ -137,7 +137,7 @@ describe('sparkline chart component', () => {
|
|
|
137
137
|
wrapper.trigger('mouseleave');
|
|
138
138
|
await wrapper.vm.$nextTick();
|
|
139
139
|
|
|
140
|
-
expect(getTooltip().attributes('show')).
|
|
140
|
+
expect(getTooltip().attributes('show')).toBe(undefined);
|
|
141
141
|
});
|
|
142
142
|
|
|
143
143
|
it('adds the right content to the tooltip', async () => {
|
|
@@ -76,15 +76,15 @@ describe('resize observer directive', () => {
|
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
expect(observersCount()).toBe(1);
|
|
79
|
-
expect(wrapper.element.glResizeHandler).not.
|
|
79
|
+
expect(wrapper.element.glResizeHandler).not.toBe(undefined);
|
|
80
80
|
|
|
81
81
|
await wrapper.setData({ isEnabled: false });
|
|
82
82
|
|
|
83
|
-
expect(wrapper.element.glResizeHandler).
|
|
83
|
+
expect(wrapper.element.glResizeHandler).toBe(undefined);
|
|
84
84
|
|
|
85
85
|
await wrapper.setData({ isEnabled: true });
|
|
86
86
|
|
|
87
|
-
expect(wrapper.element.glResizeHandler).not.
|
|
87
|
+
expect(wrapper.element.glResizeHandler).not.toBe(undefined);
|
|
88
88
|
});
|
|
89
89
|
|
|
90
90
|
it('does a clean up when the component is destroyed', () => {
|
|
@@ -92,11 +92,11 @@ describe('resize observer directive', () => {
|
|
|
92
92
|
|
|
93
93
|
const { element } = wrapper;
|
|
94
94
|
|
|
95
|
-
expect(element.glResizeHandler).not.
|
|
95
|
+
expect(element.glResizeHandler).not.toBe(undefined);
|
|
96
96
|
|
|
97
97
|
wrapper.destroy();
|
|
98
98
|
|
|
99
|
-
expect(element.glResizeHandler).
|
|
99
|
+
expect(element.glResizeHandler).toBe(undefined);
|
|
100
100
|
});
|
|
101
101
|
|
|
102
102
|
describe('check directive value', () => {
|
package/src/scss/utilities.scss
CHANGED
|
@@ -2701,18 +2701,6 @@
|
|
|
2701
2701
|
display: flex !important;
|
|
2702
2702
|
}
|
|
2703
2703
|
|
|
2704
|
-
.gl-xs-display-flex {
|
|
2705
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2706
|
-
display: flex;
|
|
2707
|
-
}
|
|
2708
|
-
}
|
|
2709
|
-
|
|
2710
|
-
.gl-xs-display-flex\! {
|
|
2711
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2712
|
-
display: flex !important;
|
|
2713
|
-
}
|
|
2714
|
-
}
|
|
2715
|
-
|
|
2716
2704
|
.gl-sm-display-flex {
|
|
2717
2705
|
@include gl-media-breakpoint-up(sm) {
|
|
2718
2706
|
display: flex;
|
|
@@ -2757,18 +2745,6 @@
|
|
|
2757
2745
|
display: inline-flex !important;
|
|
2758
2746
|
}
|
|
2759
2747
|
|
|
2760
|
-
.gl-xs-display-inline-flex {
|
|
2761
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2762
|
-
display: inline-flex;
|
|
2763
|
-
}
|
|
2764
|
-
}
|
|
2765
|
-
|
|
2766
|
-
.gl-xs-display-inline-flex\! {
|
|
2767
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2768
|
-
display: inline-flex !important;
|
|
2769
|
-
}
|
|
2770
|
-
}
|
|
2771
|
-
|
|
2772
2748
|
.gl-sm-display-inline-flex {
|
|
2773
2749
|
@include gl-media-breakpoint-up(sm) {
|
|
2774
2750
|
display: inline-flex;
|
|
@@ -2813,18 +2789,6 @@
|
|
|
2813
2789
|
display: block !important;
|
|
2814
2790
|
}
|
|
2815
2791
|
|
|
2816
|
-
.gl-xs-display-block {
|
|
2817
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2818
|
-
display: block;
|
|
2819
|
-
}
|
|
2820
|
-
}
|
|
2821
|
-
|
|
2822
|
-
.gl-xs-display-block\! {
|
|
2823
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2824
|
-
display: block !important;
|
|
2825
|
-
}
|
|
2826
|
-
}
|
|
2827
|
-
|
|
2828
2792
|
.gl-sm-display-block {
|
|
2829
2793
|
@include gl-media-breakpoint-up(sm) {
|
|
2830
2794
|
display: block;
|
|
@@ -2869,18 +2833,6 @@
|
|
|
2869
2833
|
display: inline !important;
|
|
2870
2834
|
}
|
|
2871
2835
|
|
|
2872
|
-
.gl-xs-display-inline {
|
|
2873
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2874
|
-
display: inline;
|
|
2875
|
-
}
|
|
2876
|
-
}
|
|
2877
|
-
|
|
2878
|
-
.gl-xs-display-inline\! {
|
|
2879
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2880
|
-
display: inline !important;
|
|
2881
|
-
}
|
|
2882
|
-
}
|
|
2883
|
-
|
|
2884
2836
|
.gl-sm-display-inline {
|
|
2885
2837
|
@include gl-media-breakpoint-up(sm) {
|
|
2886
2838
|
display: inline;
|
|
@@ -2925,18 +2877,6 @@
|
|
|
2925
2877
|
display: inline-block !important;
|
|
2926
2878
|
}
|
|
2927
2879
|
|
|
2928
|
-
.gl-xs-display-inline-block {
|
|
2929
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2930
|
-
display: inline-block;
|
|
2931
|
-
}
|
|
2932
|
-
}
|
|
2933
|
-
|
|
2934
|
-
.gl-xs-display-inline-block\! {
|
|
2935
|
-
@include gl-media-breakpoint-down(sm) {
|
|
2936
|
-
display: inline-block !important;
|
|
2937
|
-
}
|
|
2938
|
-
}
|
|
2939
|
-
|
|
2940
2880
|
.gl-sm-display-inline-block {
|
|
2941
2881
|
@include gl-media-breakpoint-up(sm) {
|
|
2942
2882
|
display: inline-block;
|
|
@@ -3088,18 +3028,6 @@
|
|
|
3088
3028
|
align-items: stretch !important;
|
|
3089
3029
|
}
|
|
3090
3030
|
|
|
3091
|
-
.gl-xs-align-items-baseline {
|
|
3092
|
-
@include gl-media-breakpoint-down(sm) {
|
|
3093
|
-
align-items: baseline;
|
|
3094
|
-
}
|
|
3095
|
-
}
|
|
3096
|
-
|
|
3097
|
-
.gl-xs-align-items-baseline\! {
|
|
3098
|
-
@include gl-media-breakpoint-down(sm) {
|
|
3099
|
-
align-items: baseline !important;
|
|
3100
|
-
}
|
|
3101
|
-
}
|
|
3102
|
-
|
|
3103
3031
|
.gl-lg-align-items-baseline {
|
|
3104
3032
|
@include gl-media-breakpoint-up(lg) {
|
|
3105
3033
|
align-items: baseline;
|
|
@@ -6704,26 +6632,6 @@
|
|
|
6704
6632
|
margin-top: $gl-spacing-scale-5 !important;
|
|
6705
6633
|
}
|
|
6706
6634
|
}
|
|
6707
|
-
.gl-sm-pr-0 {
|
|
6708
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6709
|
-
padding-right: 0;
|
|
6710
|
-
}
|
|
6711
|
-
}
|
|
6712
|
-
.gl-sm-pr-0\! {
|
|
6713
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6714
|
-
padding-right: 0 !important;
|
|
6715
|
-
}
|
|
6716
|
-
}
|
|
6717
|
-
.gl-sm-pr-1 {
|
|
6718
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6719
|
-
padding-right: $gl-spacing-scale-1;
|
|
6720
|
-
}
|
|
6721
|
-
}
|
|
6722
|
-
.gl-sm-pr-1\! {
|
|
6723
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6724
|
-
padding-right: $gl-spacing-scale-1 !important;
|
|
6725
|
-
}
|
|
6726
|
-
}
|
|
6727
6635
|
.gl-sm-pr-2 {
|
|
6728
6636
|
@include gl-media-breakpoint-down(sm) {
|
|
6729
6637
|
padding-right: $gl-spacing-scale-2;
|
|
@@ -6744,16 +6652,6 @@
|
|
|
6744
6652
|
padding-right: $gl-spacing-scale-3 !important;
|
|
6745
6653
|
}
|
|
6746
6654
|
}
|
|
6747
|
-
.gl-sm-pr-4 {
|
|
6748
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6749
|
-
padding-right: $gl-spacing-scale-4;
|
|
6750
|
-
}
|
|
6751
|
-
}
|
|
6752
|
-
.gl-sm-pr-4\! {
|
|
6753
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6754
|
-
padding-right: $gl-spacing-scale-4 !important;
|
|
6755
|
-
}
|
|
6756
|
-
}
|
|
6757
6655
|
.gl-sm-pr-5 {
|
|
6758
6656
|
@include gl-media-breakpoint-down(sm) {
|
|
6759
6657
|
padding-right: $gl-spacing-scale-5;
|
|
@@ -6764,66 +6662,6 @@
|
|
|
6764
6662
|
padding-right: $gl-spacing-scale-5 !important;
|
|
6765
6663
|
}
|
|
6766
6664
|
}
|
|
6767
|
-
.gl-sm-pb-0 {
|
|
6768
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6769
|
-
padding-bottom: 0;
|
|
6770
|
-
}
|
|
6771
|
-
}
|
|
6772
|
-
.gl-sm-pb-0\! {
|
|
6773
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6774
|
-
padding-bottom: 0 !important;
|
|
6775
|
-
}
|
|
6776
|
-
}
|
|
6777
|
-
.gl-sm-pb-1 {
|
|
6778
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6779
|
-
padding-bottom: $gl-spacing-scale-1;
|
|
6780
|
-
}
|
|
6781
|
-
}
|
|
6782
|
-
.gl-sm-pb-1\! {
|
|
6783
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6784
|
-
padding-bottom: $gl-spacing-scale-1 !important;
|
|
6785
|
-
}
|
|
6786
|
-
}
|
|
6787
|
-
.gl-sm-pb-2 {
|
|
6788
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6789
|
-
padding-bottom: $gl-spacing-scale-2;
|
|
6790
|
-
}
|
|
6791
|
-
}
|
|
6792
|
-
.gl-sm-pb-2\! {
|
|
6793
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6794
|
-
padding-bottom: $gl-spacing-scale-2 !important;
|
|
6795
|
-
}
|
|
6796
|
-
}
|
|
6797
|
-
.gl-sm-pb-3 {
|
|
6798
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6799
|
-
padding-bottom: $gl-spacing-scale-3;
|
|
6800
|
-
}
|
|
6801
|
-
}
|
|
6802
|
-
.gl-sm-pb-3\! {
|
|
6803
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6804
|
-
padding-bottom: $gl-spacing-scale-3 !important;
|
|
6805
|
-
}
|
|
6806
|
-
}
|
|
6807
|
-
.gl-sm-pb-4 {
|
|
6808
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6809
|
-
padding-bottom: $gl-spacing-scale-4;
|
|
6810
|
-
}
|
|
6811
|
-
}
|
|
6812
|
-
.gl-sm-pb-4\! {
|
|
6813
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6814
|
-
padding-bottom: $gl-spacing-scale-4 !important;
|
|
6815
|
-
}
|
|
6816
|
-
}
|
|
6817
|
-
.gl-sm-pb-5 {
|
|
6818
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6819
|
-
padding-bottom: $gl-spacing-scale-5;
|
|
6820
|
-
}
|
|
6821
|
-
}
|
|
6822
|
-
.gl-sm-pb-5\! {
|
|
6823
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6824
|
-
padding-bottom: $gl-spacing-scale-5 !important;
|
|
6825
|
-
}
|
|
6826
|
-
}
|
|
6827
6665
|
.gl-sm-pl-0 {
|
|
6828
6666
|
@include gl-media-breakpoint-down(sm) {
|
|
6829
6667
|
padding-left: 0;
|
|
@@ -6834,46 +6672,6 @@
|
|
|
6834
6672
|
padding-left: 0 !important;
|
|
6835
6673
|
}
|
|
6836
6674
|
}
|
|
6837
|
-
.gl-sm-pl-1 {
|
|
6838
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6839
|
-
padding-left: $gl-spacing-scale-1;
|
|
6840
|
-
}
|
|
6841
|
-
}
|
|
6842
|
-
.gl-sm-pl-1\! {
|
|
6843
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6844
|
-
padding-left: $gl-spacing-scale-1 !important;
|
|
6845
|
-
}
|
|
6846
|
-
}
|
|
6847
|
-
.gl-sm-pl-2 {
|
|
6848
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6849
|
-
padding-left: $gl-spacing-scale-2;
|
|
6850
|
-
}
|
|
6851
|
-
}
|
|
6852
|
-
.gl-sm-pl-2\! {
|
|
6853
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6854
|
-
padding-left: $gl-spacing-scale-2 !important;
|
|
6855
|
-
}
|
|
6856
|
-
}
|
|
6857
|
-
.gl-sm-pl-3 {
|
|
6858
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6859
|
-
padding-left: $gl-spacing-scale-3;
|
|
6860
|
-
}
|
|
6861
|
-
}
|
|
6862
|
-
.gl-sm-pl-3\! {
|
|
6863
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6864
|
-
padding-left: $gl-spacing-scale-3 !important;
|
|
6865
|
-
}
|
|
6866
|
-
}
|
|
6867
|
-
.gl-sm-pl-4 {
|
|
6868
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6869
|
-
padding-left: $gl-spacing-scale-4;
|
|
6870
|
-
}
|
|
6871
|
-
}
|
|
6872
|
-
.gl-sm-pl-4\! {
|
|
6873
|
-
@include gl-media-breakpoint-down(sm) {
|
|
6874
|
-
padding-left: $gl-spacing-scale-4 !important;
|
|
6875
|
-
}
|
|
6876
|
-
}
|
|
6877
6675
|
.gl-sm-pl-5 {
|
|
6878
6676
|
@include gl-media-breakpoint-down(sm) {
|
|
6879
6677
|
padding-left: $gl-spacing-scale-5;
|
|
@@ -36,13 +36,6 @@
|
|
|
36
36
|
display: flex;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
@mixin gl-xs-display-flex {
|
|
40
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
41
|
-
@include gl-media-breakpoint-down(sm) {
|
|
42
|
-
@include gl-display-flex;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
39
|
@mixin gl-sm-display-flex {
|
|
47
40
|
@include gl-media-breakpoint-up(sm) {
|
|
48
41
|
@include gl-display-flex;
|
|
@@ -65,13 +58,6 @@
|
|
|
65
58
|
display: inline-flex;
|
|
66
59
|
}
|
|
67
60
|
|
|
68
|
-
@mixin gl-xs-display-inline-flex {
|
|
69
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
70
|
-
@include gl-media-breakpoint-down(sm) {
|
|
71
|
-
@include gl-display-inline-flex;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
61
|
@mixin gl-sm-display-inline-flex {
|
|
76
62
|
@include gl-media-breakpoint-up(sm) {
|
|
77
63
|
@include gl-display-inline-flex;
|
|
@@ -94,13 +80,6 @@
|
|
|
94
80
|
display: block;
|
|
95
81
|
}
|
|
96
82
|
|
|
97
|
-
@mixin gl-xs-display-block {
|
|
98
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
99
|
-
@include gl-media-breakpoint-down(sm) {
|
|
100
|
-
@include gl-display-block;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
83
|
@mixin gl-sm-display-block {
|
|
105
84
|
@include gl-media-breakpoint-up(sm) {
|
|
106
85
|
@include gl-display-block;
|
|
@@ -123,13 +102,6 @@
|
|
|
123
102
|
display: inline;
|
|
124
103
|
}
|
|
125
104
|
|
|
126
|
-
@mixin gl-xs-display-inline {
|
|
127
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
128
|
-
@include gl-media-breakpoint-down(sm) {
|
|
129
|
-
@include gl-display-inline;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
105
|
@mixin gl-sm-display-inline {
|
|
134
106
|
@include gl-media-breakpoint-up(sm) {
|
|
135
107
|
@include gl-display-inline;
|
|
@@ -152,13 +124,6 @@
|
|
|
152
124
|
display: inline-block;
|
|
153
125
|
}
|
|
154
126
|
|
|
155
|
-
@mixin gl-xs-display-inline-block {
|
|
156
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
157
|
-
@include gl-media-breakpoint-down(sm) {
|
|
158
|
-
@include gl-display-inline-block;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
127
|
@mixin gl-sm-display-inline-block {
|
|
163
128
|
@include gl-media-breakpoint-up(sm) {
|
|
164
129
|
@include gl-display-inline-block;
|
|
@@ -23,13 +23,6 @@
|
|
|
23
23
|
align-items: stretch;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
@mixin gl-xs-align-items-baseline {
|
|
27
|
-
// stylelint-disable-next-line @gitlab/no-gl-media-breakpoint-down
|
|
28
|
-
@include gl-media-breakpoint-down(sm) {
|
|
29
|
-
@include gl-align-items-baseline;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
26
|
@mixin gl-lg-align-items-baseline {
|
|
34
27
|
@include gl-media-breakpoint-up(lg) {
|
|
35
28
|
@include gl-align-items-baseline;
|