@gitlab/ui 137.1.1 → 137.1.2

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.
@@ -177,7 +177,7 @@ var script = {
177
177
  return this.tag === VUE_ROUTER_LINK_TAG && isVue3(this);
178
178
  },
179
179
  externalLinkLabel() {
180
- return translate('GlLink.externalLink', '(external link)');
180
+ return this.shouldShowExternalIcon ? translate('GlLink.externalLink', '(external link)') : undefined;
181
181
  },
182
182
  shouldShowExternalIcon() {
183
183
  const allowedVariants = [linkVariantInline, linkVariantMeta, null]; // null represents default/UI variant
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "137.1.1",
3
+ "version": "137.1.2",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -147,10 +147,10 @@
147
147
  "gitlab-api-async-iterator": "^1.3.1",
148
148
  "glob": "11.1.0",
149
149
  "identity-obj-proxy": "^3.0.0",
150
- "jest": "30.5.0",
151
- "jest-circus": "30.5.0",
152
- "jest-environment-jsdom": "30.5.0",
153
- "jest-environment-node": "30.5.0",
150
+ "jest": "30.5.1",
151
+ "jest-circus": "30.5.1",
152
+ "jest-environment-jsdom": "30.5.1",
153
+ "jest-environment-node": "30.5.1",
154
154
  "jest-image-snapshot": "^6.5.2",
155
155
  "merge-cobertura": "^1.0.9",
156
156
  "mockdate": "^3.0.5",
@@ -169,7 +169,7 @@
169
169
  "rollup-plugin-string": "^3.0.0",
170
170
  "rollup-plugin-svg": "^2.0.0",
171
171
  "rollup-plugin-vue": "^5.1.9",
172
- "sass": "^1.103.1",
172
+ "sass": "^1.104.0",
173
173
  "sass-loader": "^10.5.2",
174
174
  "sass-true": "^9",
175
175
  "start-server-and-test": "^2.1.5",
@@ -163,7 +163,9 @@ export default {
163
163
  return this.tag === VUE_ROUTER_LINK_TAG && isVue3(this);
164
164
  },
165
165
  externalLinkLabel() {
166
- return translate('GlLink.externalLink', '(external link)');
166
+ return this.shouldShowExternalIcon
167
+ ? translate('GlLink.externalLink', '(external link)')
168
+ : undefined;
167
169
  },
168
170
  shouldShowExternalIcon() {
169
171
  const allowedVariants = [linkVariantInline, linkVariantMeta, null]; // null represents default/UI variant