Skip to content
Snippets Groups Projects
Commit 03b4f77a authored by Enrique Alcántara's avatar Enrique Alcántara
Browse files

Merge branch 'renovate/gitlab-uisvg' into 'master'

Update GitLab UI/SVG

See merge request gitlab-org/gitlab!37456
parents f4b8fb60 951521f3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -9,17 +9,15 @@ import { initialRequest } from 'jest/issue_show/mock_data';
import { TEST_HOST } from 'spec/test_constants';
import axios from '~/lib/utils/axios_utils';
import { mockEpicMeta, mockEpicData } from '../mock_data';
import { useMockIntersectionObserver } from 'helpers/mock_dom_observer';
 
describe('EpicAppComponent', () => {
useMockIntersectionObserver();
let vm;
let mock;
 
beforeEach(() => {
window.IntersectionObserver = class {
disconnect = jest.fn();
observe = jest.fn();
};
mock = new MockAdapter(axios);
mock.onGet(`${TEST_HOST}/realtime_changes`).reply(200, initialRequest);
 
Loading
Loading
@@ -34,7 +32,6 @@ describe('EpicAppComponent', () => {
});
 
afterEach(() => {
delete window.IntersectionObserver;
mock.restore();
vm.$destroy();
});
Loading
Loading
Loading
Loading
@@ -9,17 +9,15 @@ import { initialRequest } from 'jest/issue_show/mock_data';
import { TEST_HOST } from 'spec/test_constants';
import axios from '~/lib/utils/axios_utils';
import { mockEpicMeta, mockEpicData } from '../mock_data';
import { useMockIntersectionObserver } from 'helpers/mock_dom_observer';
 
describe('EpicBodyComponent', () => {
useMockIntersectionObserver();
let vm;
let mock;
 
beforeEach(() => {
window.IntersectionObserver = class {
disconnect = jest.fn();
observe = jest.fn();
};
mock = new MockAdapter(axios);
mock.onGet(`${TEST_HOST}/realtime_changes`).reply(200, initialRequest);
 
Loading
Loading
@@ -34,7 +32,6 @@ describe('EpicBodyComponent', () => {
});
 
afterEach(() => {
delete window.IntersectionObserver;
mock.restore();
vm.$destroy();
});
Loading
Loading
Loading
Loading
@@ -42,8 +42,8 @@
"@babel/plugin-syntax-import-meta": "^7.10.1",
"@babel/preset-env": "^7.10.1",
"@gitlab/at.js": "1.5.5",
"@gitlab/svgs": "1.152.0",
"@gitlab/ui": "17.34.0",
"@gitlab/svgs": "1.153.0",
"@gitlab/ui": "17.35.0",
"@gitlab/visual-review-tools": "1.6.1",
"@rails/actioncable": "^6.0.3-1",
"@sentry/browser": "^5.10.2",
Loading
Loading
Loading
Loading
@@ -31,9 +31,7 @@ exports[`Design management list item component with no notes renders item with c
</span>
</div>
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -99,9 +97,7 @@ exports[`Design management list item component with no notes renders item with c
</span>
</div>
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -167,9 +163,7 @@ exports[`Design management list item component with no notes renders item with c
</span>
</div>
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -222,9 +216,7 @@ exports[`Design management list item component with no notes renders item with n
>
<!---->
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -277,9 +269,7 @@ exports[`Design management list item component with no notes renders loading spi
>
<!---->
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<gl-loading-icon-stub
color="orange"
label="Loading"
Loading
Loading
@@ -337,9 +327,7 @@ exports[`Design management list item component with notes renders item with mult
>
<!---->
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -409,9 +397,7 @@ exports[`Design management list item component with notes renders item with sing
>
<!---->
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
Loading
Loading
@@ -31,9 +31,7 @@ exports[`Design management list item component with no notes renders item with c
</span>
</div>
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -99,9 +97,7 @@ exports[`Design management list item component with no notes renders item with c
</span>
</div>
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -167,9 +163,7 @@ exports[`Design management list item component with no notes renders item with c
</span>
</div>
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -222,9 +216,7 @@ exports[`Design management list item component with no notes renders item with n
>
<!---->
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -277,9 +269,7 @@ exports[`Design management list item component with no notes renders loading spi
>
<!---->
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<gl-loading-icon-stub
color="orange"
label="Loading"
Loading
Loading
@@ -337,9 +327,7 @@ exports[`Design management list item component with notes renders item with mult
>
<!---->
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
@@ -409,9 +397,7 @@ exports[`Design management list item component with notes renders item with sing
>
<!---->
<gl-intersection-observer-stub
options="[object Object]"
>
<gl-intersection-observer-stub>
<!---->
<img
Loading
Loading
Loading
Loading
@@ -8,6 +8,7 @@ import '~/behaviors/markdown/render_gfm';
import IssuableApp from '~/issue_show/components/app.vue';
import eventHub from '~/issue_show/event_hub';
import { initialRequest, secondRequest } from '../mock_data';
import { useMockIntersectionObserver } from 'helpers/mock_dom_observer';
 
function formatText(text) {
return text.trim().replace(/\s\s+/g, ' ');
Loading
Loading
@@ -22,6 +23,8 @@ const zoomMeetingUrl = 'https://gitlab.zoom.us/j/95919234811';
const publishedIncidentUrl = 'https://status.com/';
 
describe('Issuable output', () => {
useMockIntersectionObserver();
let mock;
let realtimeRequestCount = 0;
let wrapper;
Loading
Loading
@@ -45,11 +48,6 @@ describe('Issuable output', () => {
</div>
`);
 
window.IntersectionObserver = class {
disconnect = jest.fn();
observe = jest.fn();
};
mock = new MockAdapter(axios);
mock
.onGet('/gitlab-org/gitlab-shell/-/issues/9/realtime_changes/realtime_changes')
Loading
Loading
@@ -84,7 +82,6 @@ describe('Issuable output', () => {
});
 
afterEach(() => {
delete window.IntersectionObserver;
mock.restore();
realtimeRequestCount = 0;
 
Loading
Loading
import autofocusonshow from '~/vue_shared/directives/autofocusonshow';
import { useMockIntersectionObserver } from 'helpers/mock_dom_observer';
 
/**
* We're testing this directive's hooks as pure functions
Loading
Loading
@@ -6,20 +7,14 @@ import autofocusonshow from '~/vue_shared/directives/autofocusonshow';
* on underlying DOM methods.
*/
describe('AutofocusOnShow directive', () => {
useMockIntersectionObserver();
describe('with input invisible on component render', () => {
let el;
 
beforeEach(() => {
setFixtures('<div id="container" style="display: none;"><input id="inputel"/></div>');
el = document.querySelector('#inputel');
window.IntersectionObserver = class {
observe = jest.fn();
};
});
afterEach(() => {
delete window.IntersectionObserver;
});
 
it('should bind IntersectionObserver on input element', () => {
Loading
Loading
Loading
Loading
@@ -843,15 +843,15 @@
eslint-plugin-vue "^6.2.1"
vue-eslint-parser "^7.0.0"
 
"@gitlab/svgs@1.152.0":
version "1.152.0"
resolved "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-1.152.0.tgz#663c9a5f073f59b66f4241ef2d3fea2205846905"
integrity sha512-daZHOBVAwjsU6n60IycanoO/JymfQ36vrr46OUdWjHdp0ATYrgh+01LcxiSNLdlyndIRqHWGtwmuilokM9q6Vg==
"@gitlab/svgs@1.153.0":
version "1.153.0"
resolved "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-1.153.0.tgz#79db0598382e6990d242f2e8dc0911903b1f558c"
integrity sha512-9letemutba300jT8BgxmYjUjMGDJifFFulPBNT4bxT+U2Ki+X+xs57Il3o/FNv5feJOPAlYS8Z/aEII8145g1g==
 
"@gitlab/ui@17.34.0":
version "17.34.0"
resolved "https://registry.yarnpkg.com/@gitlab/ui/-/ui-17.34.0.tgz#4f3708579d6822280c26e27b6055e29336be4871"
integrity sha512-g8mhdB8lOn7lFeWvWkEu5xqV/A0RZDfAMEU2aylLeInTCIrn2V638y80U4Kb2Suu78ji/rYgtjZRSmy8ZDvAQA==
"@gitlab/ui@17.35.0":
version "17.35.0"
resolved "https://registry.yarnpkg.com/@gitlab/ui/-/ui-17.35.0.tgz#dfbdae98dbc0e184c5d1bf0d1cd991f7aa915dcd"
integrity sha512-KvGOh5dPE+sCQKbvj4KlKtnmVOxP97K54Ibh9R6n4N37jAc71mlDInMXpNow1nf+7mAL6ca1cPknIkmuf2+B3g==
dependencies:
"@babel/standalone" "^7.0.0"
"@gitlab/vue-toasted" "^1.3.0"
Loading
Loading
@@ -863,6 +863,7 @@
lodash "^4.17.14"
portal-vue "^2.1.6"
resize-observer-polyfill "^1.5.1"
sanitize-html "^1.22.0"
url-search-params-polyfill "^5.0.0"
vue-runtime-helpers "^1.1.2"
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment