@gitlab/ui 54.2.2 → 54.3.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 +14 -0
- package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown.js +1 -1
- package/dist/components/base/new_dropdowns/disclosure/mock_data.js +2 -2
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +5 -5
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.stories.js +2 -2
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.vue +1 -0
- package/src/components/base/new_dropdowns/disclosure/mock_data.js +2 -2
- package/src/scss/utilities.scss +8 -0
- package/src/scss/utility-mixins/sizing.scss +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "54.
|
|
3
|
+
"version": "54.3.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@gitlab/eslint-plugin": "18.1.0",
|
|
88
88
|
"@gitlab/fonts": "^1.2.0",
|
|
89
89
|
"@gitlab/stylelint-config": "4.1.0",
|
|
90
|
-
"@gitlab/svgs": "3.
|
|
90
|
+
"@gitlab/svgs": "3.18.0",
|
|
91
91
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
92
92
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
93
93
|
"@rollup/plugin-replace": "^2.3.2",
|
|
@@ -123,9 +123,9 @@
|
|
|
123
123
|
"glob": "^7.2.0",
|
|
124
124
|
"identity-obj-proxy": "^3.0.0",
|
|
125
125
|
"inquirer-select-directory": "^1.2.0",
|
|
126
|
-
"jest": "^29.4.
|
|
127
|
-
"jest-circus": "29.4.
|
|
128
|
-
"jest-environment-jsdom": "29.4.
|
|
126
|
+
"jest": "^29.4.1",
|
|
127
|
+
"jest-circus": "29.4.1",
|
|
128
|
+
"jest-environment-jsdom": "29.4.1",
|
|
129
129
|
"markdownlint-cli": "^0.29.0",
|
|
130
130
|
"mockdate": "^2.0.5",
|
|
131
131
|
"npm-run-all": "^4.1.5",
|
|
@@ -147,7 +147,7 @@ export const CustomListItem = (args, { argTypes }) => ({
|
|
|
147
147
|
template: template(
|
|
148
148
|
`
|
|
149
149
|
<template #list-item="{ item }">
|
|
150
|
-
<a ref="link" class="gl-display-flex gl-align-items-center gl-justify-content-space-between gl-hover-text-gray-900 gl-hover-text-decoration-none gl-text-gray-900" :href="item.href" v-bind="item.extraAttrs">
|
|
150
|
+
<a tabindex="-1" ref="link" class="gl-display-flex gl-align-items-center gl-justify-content-space-between gl-hover-text-gray-900 gl-hover-text-decoration-none gl-text-gray-900" :href="item.href" v-bind="item.extraAttrs">
|
|
151
151
|
{{ item.text }}
|
|
152
152
|
<gl-badge pill size="sm" variant="neutral">{{ item.count }}</gl-badge>
|
|
153
153
|
</a>
|
|
@@ -231,7 +231,7 @@ export const CustomGroupsAndItems = (args, { argTypes }) => ({
|
|
|
231
231
|
{{ group.name }} <gl-badge pill size="sm" variant="neutral">{{ getTotalMrs(group.items) }}</gl-badge>
|
|
232
232
|
</template>
|
|
233
233
|
<template #list-item="{ item }">
|
|
234
|
-
<a
|
|
234
|
+
<a tabindex="-1" ref="link" class="gl-display-flex gl-align-items-center gl-justify-content-space-between gl-hover-text-gray-900 gl-hover-text-decoration-none gl-text-gray-900" :href="item.href" v-bind="item.extraAttrs">
|
|
235
235
|
{{ item.text }}
|
|
236
236
|
<gl-badge pill size="sm" variant="neutral">{{ item.count }}</gl-badge>
|
|
237
237
|
</a>
|
|
@@ -33,7 +33,7 @@ export const mockItems = [
|
|
|
33
33
|
export const mockItemsCustomItem = [
|
|
34
34
|
{
|
|
35
35
|
text: 'Assigned to you',
|
|
36
|
-
href: 'https://gitlab.com/dashboard/merge_requests',
|
|
36
|
+
href: 'https://gitlab.com/dashboard/merge_requests?assignee_username=root',
|
|
37
37
|
count: '2',
|
|
38
38
|
extraAttrs: {
|
|
39
39
|
target: '_blank',
|
|
@@ -42,7 +42,7 @@ export const mockItemsCustomItem = [
|
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
text: 'Review requests from you',
|
|
45
|
-
href: 'https://gitlab.com/dashboard/merge_requests',
|
|
45
|
+
href: 'https://gitlab.com/dashboard/merge_requests?reviewer_username=root',
|
|
46
46
|
count: 0,
|
|
47
47
|
extraAttrs: {
|
|
48
48
|
target: '_blank',
|
package/src/scss/utilities.scss
CHANGED
|
@@ -4963,6 +4963,14 @@
|
|
|
4963
4963
|
min-height: 0 !important;
|
|
4964
4964
|
}
|
|
4965
4965
|
|
|
4966
|
+
.gl-min-h-5 {
|
|
4967
|
+
min-height: $gl-spacing-scale-5;
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4970
|
+
.gl-min-h-5\! {
|
|
4971
|
+
min-height: $gl-spacing-scale-5 !important;
|
|
4972
|
+
}
|
|
4973
|
+
|
|
4966
4974
|
.gl-min-h-6 {
|
|
4967
4975
|
min-height: $gl-spacing-scale-6;
|
|
4968
4976
|
}
|