@gitlab/ui 62.9.1 → 62.9.3

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": "62.9.1",
3
+ "version": "62.9.3",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -89,7 +89,7 @@
89
89
  "@gitlab/eslint-plugin": "19.0.0",
90
90
  "@gitlab/fonts": "^1.2.0",
91
91
  "@gitlab/stylelint-config": "4.1.0",
92
- "@gitlab/svgs": "3.43.0",
92
+ "@gitlab/svgs": "3.44.0",
93
93
  "@rollup/plugin-commonjs": "^11.1.0",
94
94
  "@rollup/plugin-node-resolve": "^7.1.3",
95
95
  "@rollup/plugin-replace": "^2.3.2",
@@ -118,10 +118,10 @@
118
118
  "bootstrap": "4.6.2",
119
119
  "cypress": "12.11.0",
120
120
  "emoji-regex": "^10.0.0",
121
- "eslint": "8.39.0",
121
+ "eslint": "8.40.0",
122
122
  "eslint-import-resolver-jest": "3.0.2",
123
- "eslint-plugin-cypress": "2.13.2",
124
- "eslint-plugin-storybook": "0.6.11",
123
+ "eslint-plugin-cypress": "2.13.3",
124
+ "eslint-plugin-storybook": "0.6.12",
125
125
  "glob": "^7.2.0",
126
126
  "identity-obj-proxy": "^3.0.0",
127
127
  "inquirer-select-directory": "^1.2.0",
@@ -222,8 +222,7 @@ export default {
222
222
  },
223
223
  methods: {
224
224
  hasSlotContents(slotName) {
225
- // eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
226
- return Boolean(this.$slots[slotName]);
225
+ return Boolean(this.$scopedSlots[slotName]?.());
227
226
  },
228
227
  show(...args) {
229
228
  this.$refs.dropdown.show(...args);
@@ -53,14 +53,17 @@
53
53
  }
54
54
  }
55
55
 
56
- &.gl-new-dropdown-toggle-no-caret,
57
- &.gl-new-dropdown-toggle-no-caret.btn-sm {
56
+ &.gl-new-dropdown-toggle-no-caret {
58
57
  @include gl-p-3;
59
58
 
60
59
  .gl-new-dropdown-chevron {
61
60
  @include gl-display-none;
62
61
  }
63
62
  }
63
+
64
+ &.gl-new-dropdown-toggle-no-caret.btn-sm {
65
+ @include gl-p-2;
66
+ }
64
67
  }
65
68
 
66
69
  .gl-new-dropdown-toggle {