@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "54.2.2",
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.17.0",
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.0",
127
- "jest-circus": "29.4.0",
128
- "jest-environment-jsdom": "29.4.0",
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 ref="link" tabindex="-1" 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">
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>
@@ -340,6 +340,7 @@ export default {
340
340
  <gl-disclosure-dropdown-item
341
341
  v-for="groupItem in item.items"
342
342
  :key="groupItem.text"
343
+ :item="groupItem"
343
344
  @action="handleAction"
344
345
  >
345
346
  <!-- @slot Custom template of the disclosure dropdown item -->
@@ -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',
@@ -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
  }
@@ -346,6 +346,10 @@
346
346
  min-height: 0;
347
347
  }
348
348
 
349
+ @mixin gl-min-h-5 {
350
+ min-height: $gl-spacing-scale-5;
351
+ }
352
+
349
353
  @mixin gl-min-h-6 {
350
354
  min-height: $gl-spacing-scale-6;
351
355
  }