Commit c741b421 authored by Enrique Alcantara's avatar Enrique Alcantara

Rename GlNewButton to GlButton

The GlNewButton component has been renamed
to GlButton in Gitlab UI 12.0
parent 383c0d19
<script>
import { GlNewButton } from '@gitlab/ui';
import { GlButton } from '@gitlab/ui';
export default {
components: {
GlNewButton,
GlButton,
},
};
</script>
......@@ -19,10 +19,10 @@ export default {
}}
</p>
<div>
<gl-new-button
<gl-button
ref="documentationButton"
href="https://gitlab.com/gitlab-org/project-templates/static-site-editor-middleman"
>{{ s__('StaticSiteEditor|View documentation') }}</gl-new-button
>{{ s__('StaticSiteEditor|View documentation') }}</gl-button
>
</div>
</div>
......
<script>
import PackageTags from '../../shared/components/package_tags.vue';
import PublishMethod from './publish_method.vue';
import { GlNewButton, GlIcon, GlLink, GlSprintf, GlTooltipDirective } from '@gitlab/ui';
import { GlButton, GlIcon, GlLink, GlSprintf, GlTooltipDirective } from '@gitlab/ui';
import { getPackageType } from '../../shared/utils';
import timeagoMixin from '~/vue_shared/mixins/timeago';
import { mapState } from 'vuex';
......@@ -9,7 +9,7 @@ import { mapState } from 'vuex';
export default {
name: 'PackagesListRow',
components: {
GlNewButton,
GlButton,
GlIcon,
GlLink,
GlSprintf,
......@@ -108,7 +108,7 @@ export default {
</div>
<div v-if="deleteAvailable" class="table-section section-10 d-flex justify-content-end">
<gl-new-button
<gl-button
ref="action-delete"
icon="remove"
category="primary"
......
......@@ -84,7 +84,7 @@ exports[`packages_list_row renders 1`] = `
<div
class="table-section section-10 d-flex justify-content-end"
>
<gl-new-button-stub
<gl-button-stub
aria-label="Remove package"
category="primary"
icon="remove"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment