Commit d1eb3b42 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch '976-fix-search-styling-in-dropdown-gitlab-ui-integration-test' into 'master'

Upgrade @gitlab/ui to v21.30.1

See merge request gitlab-org/gitlab!44781
parents 1f6aef6b a8e3e771
......@@ -229,11 +229,7 @@ export default {
<p class="gl-new-dropdown-header-top">
{{ __('Assign To') }}
</p>
<gl-search-box-by-type
v-model.trim="search"
class="m-2"
:placeholder="__('Search users')"
/>
<gl-search-box-by-type v-model.trim="search" :placeholder="__('Search users')" />
<div class="dropdown-content dropdown-body">
<template v-if="userListValid">
<gl-dropdown-item
......
......@@ -60,7 +60,7 @@ export default {
</script>
<template>
<gl-dropdown :text="value">
<gl-search-box-by-type v-model.trim="searchTerm" class="gl-m-3" />
<gl-search-box-by-type v-model.trim="searchTerm" />
<gl-dropdown-item
v-for="environment in filteredResults"
:key="environment"
......
......@@ -130,7 +130,6 @@ export default {
<gl-search-box-by-type
v-model.trim="searchQuery"
:placeholder="s__('ClusterIntegration|Search domains')"
class="gl-m-3"
/>
<gl-dropdown-item
v-for="domain in filteredDomains"
......
......@@ -80,7 +80,6 @@ export default {
<gl-search-box-by-type
ref="searchBox"
v-model.trim="environmentSearch"
class="gl-m-3"
@focus="fetchEnvironments"
@keyup="fetchEnvironments"
/>
......
......@@ -301,7 +301,7 @@ export default {
"
@hide="resetDropdown"
>
<gl-search-box-by-type v-model.trim="searchTerm" class="gl-m-3" />
<gl-search-box-by-type v-model.trim="searchTerm" />
<gl-loading-icon v-if="isFetching" />
......
......@@ -205,7 +205,6 @@ export default {
<gl-search-box-by-type
ref="searchBox"
v-model.trim="searchQuery"
class="gl-m-3"
:placeholder="this.$options.translations.searchMilestones"
@input="onSearchBoxInput"
@keydown.enter.prevent="onSearchBoxEnter"
......
......@@ -192,7 +192,7 @@ export default {
>
<div class="d-flex flex-column overflow-hidden">
<gl-dropdown-section-header>{{ __('Environment') }}</gl-dropdown-section-header>
<gl-search-box-by-type class="gl-m-3" @input="debouncedEnvironmentsSearch" />
<gl-search-box-by-type @input="debouncedEnvironmentsSearch" />
<gl-loading-icon v-if="environmentsLoading" :inline="true" />
<div v-else class="flex-fill overflow-auto">
......
......@@ -80,11 +80,7 @@ export default {
>
<div class="d-flex flex-column overflow-hidden">
<gl-dropdown-section-header>{{ __('Dashboard') }}</gl-dropdown-section-header>
<gl-search-box-by-type
ref="monitorDashboardsDropdownSearch"
v-model="searchTerm"
class="gl-m-3"
/>
<gl-search-box-by-type ref="monitorDashboardsDropdownSearch" v-model="searchTerm" />
<div class="flex-fill overflow-auto">
<gl-dropdown-item
......
......@@ -237,7 +237,6 @@ export default {
<gl-search-box-by-type
v-model.trim="searchTerm"
:placeholder="__('Search branches and tags')"
class="gl-p-2"
/>
<gl-dropdown-item
v-for="(ref, index) in filteredRefs"
......
......@@ -119,7 +119,6 @@ export default {
<gl-dropdown-divider />
<gl-search-box-by-type
v-model.trim="authorInput"
class="gl-m-3"
:placeholder="__('Search')"
@input="searchAuthors"
/>
......
......@@ -139,7 +139,6 @@ export default {
<gl-search-box-by-type
ref="searchBox"
v-model.trim="query"
class="gl-m-3"
:placeholder="i18n.searchPlaceholder"
@input="onSearchBoxInput"
@keydown.enter.prevent="onSearchBoxEnter"
......
......@@ -72,12 +72,7 @@ export default {
css-class="deploy-link js-deploy-url inline"
/>
<gl-dropdown size="small" class="js-mr-wigdet-deployment-dropdown">
<gl-search-box-by-type
v-model.trim="searchTerm"
v-autofocusonshow
autofocus
class="gl-m-3"
/>
<gl-search-box-by-type v-model.trim="searchTerm" v-autofocusonshow autofocus />
<gl-dropdown-item
v-for="change in filteredChanges"
:key="change.path"
......
......@@ -82,7 +82,7 @@ export default {
<gl-icon name="chevron-down" />
</template>
<gl-search-box-by-type v-model.trim="searchTerm" v-autofocusonshow autofocus class="gl-m-3" />
<gl-search-box-by-type v-model.trim="searchTerm" v-autofocusonshow autofocus />
<gl-deprecated-dropdown-item
v-for="timezone in filteredResults"
:key="timezone.formattedTimezone"
......
......@@ -149,7 +149,7 @@ export default {
<gl-dropdown-section-header>{{ __('Select a label') }} </gl-dropdown-section-header>
</slot>
<div class="mb-3 px-3">
<gl-search-box-by-type v-model.trim="searchTerm" class="mb-2" />
<gl-search-box-by-type v-model.trim="searchTerm" />
</div>
<div class="mb-3 px-3">
<gl-dropdown-item
......
......@@ -135,7 +135,7 @@ export default {
<gl-dropdown-section-header>
{{ $options.text.projectDropdownHeader }}
</gl-dropdown-section-header>
<gl-search-box-by-type v-model.trim="projectSearchTerm" class="gl-my-2 gl-mx-3" />
<gl-search-box-by-type v-model.trim="projectSearchTerm" />
<gl-dropdown-item
:is-check-item="true"
:is-checked="selectAllProjects"
......
......@@ -134,7 +134,7 @@ export default {
<gl-icon class="gl-ml-2" name="chevron-down" />
</template>
<gl-dropdown-section-header>{{ __('Groups') }}</gl-dropdown-section-header>
<gl-search-box-by-type v-model.trim="searchTerm" class="gl-m-3" />
<gl-search-box-by-type v-model.trim="searchTerm" />
<gl-dropdown-item
v-for="group in availableGroups"
:key="group.id"
......
......@@ -182,7 +182,7 @@ export default {
<gl-icon class="gl-ml-2" name="chevron-down" />
</template>
<gl-dropdown-section-header>{{ __('Projects') }}</gl-dropdown-section-header>
<gl-search-box-by-type v-model.trim="searchTerm" class="gl-m-3" />
<gl-search-box-by-type v-model.trim="searchTerm" />
<gl-dropdown-item
v-for="project in availableProjects"
......
......@@ -48,7 +48,7 @@ export default {
<template>
<gl-dropdown :text="dropdownTitle" @show="fetchSyncNamespaces('')">
<gl-search-box-by-type class=".gl-m-3" :debounce="500" @input="fetchSyncNamespaces" />
<gl-search-box-by-type :debounce="500" @input="fetchSyncNamespaces" />
<button
v-for="namespace in synchronizationNamespaces"
:key="namespace.id"
......
......@@ -90,7 +90,6 @@ export default {
v-if="filter.options.length >= 20"
ref="searchBox"
v-model="filterTerm"
class="gl-m-3"
:placeholder="__('Filter...')"
/>
......
......@@ -198,7 +198,7 @@ export default {
<gl-dropdown-section-header class="d-flex justify-content-center">{{
__('Assign Iteration')
}}</gl-dropdown-section-header>
<gl-search-box-by-type ref="search" v-model="searchTerm" class="gl-m-3" />
<gl-search-box-by-type ref="search" v-model="searchTerm" />
<gl-dropdown-item
v-for="iterationItem in iterations"
:key="iterationItem.id"
......
......@@ -214,7 +214,7 @@ export default {
data-track-label="review_app"
@click="ok"
>
<gl-search-box-by-type v-model.trim="changesSearchTerm" class="gl-m-3" />
<gl-search-box-by-type v-model.trim="changesSearchTerm" />
<template #button-content>
{{ s__('VisualReviewApp|Open review app') }}
<gl-icon class="fgray" name="external-link" />
......
......@@ -4,7 +4,7 @@ exports[`Value Stream Analytics LabelsSelector with no item selected will render
"<gl-dropdown-stub headertext=\\"\\" text=\\"\\" category=\\"tertiary\\" variant=\\"default\\" size=\\"medium\\" toggleclass=\\"gl-overflow-hidden\\" class=\\"gl-w-full\\">
<gl-dropdown-section-header-stub>Select a label </gl-dropdown-section-header-stub>
<div class=\\"mb-3 px-3\\">
<gl-search-box-by-type-stub value=\\"\\" clearbuttontitle=\\"Clear\\" class=\\"mb-2\\"></gl-search-box-by-type-stub>
<gl-search-box-by-type-stub value=\\"\\" clearbuttontitle=\\"Clear\\"></gl-search-box-by-type-stub>
</div>
<div class=\\"mb-3 px-3\\">
<gl-dropdown-item-stub avatarurl=\\"\\" iconcolor=\\"\\" iconname=\\"\\" iconrightname=\\"\\" secondarytext=\\"\\" class=\\"\\">
......@@ -33,7 +33,7 @@ exports[`Value Stream Analytics LabelsSelector with selectedLabelId set will ren
"<gl-dropdown-stub headertext=\\"\\" text=\\"\\" category=\\"tertiary\\" variant=\\"default\\" size=\\"medium\\" toggleclass=\\"gl-overflow-hidden\\" class=\\"gl-w-full\\">
<gl-dropdown-section-header-stub>Select a label </gl-dropdown-section-header-stub>
<div class=\\"mb-3 px-3\\">
<gl-search-box-by-type-stub value=\\"\\" clearbuttontitle=\\"Clear\\" class=\\"mb-2\\"></gl-search-box-by-type-stub>
<gl-search-box-by-type-stub value=\\"\\" clearbuttontitle=\\"Clear\\"></gl-search-box-by-type-stub>
</div>
<div class=\\"mb-3 px-3\\">
<gl-dropdown-item-stub avatarurl=\\"\\" iconcolor=\\"\\" iconname=\\"\\" iconrightname=\\"\\" secondarytext=\\"\\" class=\\"\\">
......
......@@ -114,7 +114,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
<!---->
<div
class="gl-search-box-by-type gl-m-3"
class="gl-search-box-by-type"
>
<svg
class="gl-search-box-by-type-search-icon gl-icon s16"
......@@ -225,7 +225,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
<!---->
<div
class="gl-search-box-by-type gl-m-3"
class="gl-search-box-by-type"
>
<svg
class="gl-search-box-by-type-search-icon gl-icon s16"
......
......@@ -52,7 +52,6 @@ exports[`Dashboard template matches the default snapshot 1`] = `
</gl-dropdown-section-header-stub>
<gl-search-box-by-type-stub
class="gl-m-3"
clearbuttontitle="Clear"
value=""
/>
......
......@@ -866,10 +866,10 @@
resolved "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-1.171.0.tgz#abc3092bf804f0898301626130e0f3231834924a"
integrity sha512-TPfdqIxQDda+0CQHhb9XdF50lmqDmADu6yT8R4oZi6BoUtWLdiHbyFt+RnVU6t7EmjIKicNAii7Ga+f2ljCfUA==
"@gitlab/ui@21.29.0":
version "21.29.0"
resolved "https://registry.yarnpkg.com/@gitlab/ui/-/ui-21.29.0.tgz#598ac5265aa39db4f63a1c7801df322c1234eaa2"
integrity sha512-sGsL1YmKUJAUEVAKwq+9Km2qOpiTf+We7o7az8fBcN+PKaGWfPhEXLskCwToky7mwuKBBTpwX2qdf+7lk/iu7A==
"@gitlab/ui@21.30.1":
version "21.30.1"
resolved "https://registry.yarnpkg.com/@gitlab/ui/-/ui-21.30.1.tgz#561bd10c5264e48d16be4c5706827f40ec31286f"
integrity sha512-JdLA8x7fOk1qgsqBeNhlmg1VTJIrl+ECWea8whoyqWnI95GPuiM5ZSnehZHA6FoNwB9n/u1GnVSLCHcqvHZW0w==
dependencies:
"@babel/standalone" "^7.0.0"
"@gitlab/vue-toasted" "^1.3.0"
......
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