@gitlab/ui 114.1.2 → 114.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.
Files changed (30) hide show
  1. package/dist/components/base/filtered_search/filtered_search.js +9 -1
  2. package/dist/index.css +2 -2
  3. package/dist/index.css.map +1 -1
  4. package/dist/tokens/build/js/tokens.dark.js +5 -1
  5. package/dist/tokens/build/js/tokens.js +5 -1
  6. package/dist/tokens/css/tokens.css +4 -0
  7. package/dist/tokens/css/tokens.dark.css +4 -0
  8. package/dist/tokens/figma/semantic.tokens.json +46 -0
  9. package/dist/tokens/js/tokens.dark.js +4 -0
  10. package/dist/tokens/js/tokens.js +4 -0
  11. package/dist/tokens/json/tokens.dark.json +106 -0
  12. package/dist/tokens/json/tokens.json +106 -0
  13. package/dist/tokens/scss/_tokens.dark.scss +4 -0
  14. package/dist/tokens/scss/_tokens.scss +4 -0
  15. package/dist/tokens/scss/_tokens_custom_properties.scss +4 -0
  16. package/package.json +1 -1
  17. package/src/components/base/breadcrumb/breadcrumb.md +17 -0
  18. package/src/components/base/filtered_search/filtered_search.vue +10 -1
  19. package/src/components/base/table/table.scss +22 -23
  20. package/src/tokens/build/css/tokens.css +4 -0
  21. package/src/tokens/build/css/tokens.dark.css +4 -0
  22. package/src/tokens/build/figma/semantic.tokens.json +46 -0
  23. package/src/tokens/build/js/tokens.dark.js +4 -0
  24. package/src/tokens/build/js/tokens.js +4 -0
  25. package/src/tokens/build/json/tokens.dark.json +106 -0
  26. package/src/tokens/build/json/tokens.json +106 -0
  27. package/src/tokens/build/scss/_tokens.dark.scss +4 -0
  28. package/src/tokens/build/scss/_tokens.scss +4 -0
  29. package/src/tokens/build/scss/_tokens_custom_properties.scss +4 -0
  30. package/src/tokens/semantic/highlight.tokens.json +48 -0
@@ -307,7 +307,11 @@ var script = {
307
307
  if (this.tokens.length === 1) {
308
308
  return;
309
309
  }
310
- this.tokens.splice(idx, 1);
310
+ const [destroyedToken] = this.tokens.splice(idx, 1);
311
+ /**
312
+ * Emitted when a token is destroyed, with the token as the payload.
313
+ */
314
+ this.$emit('token-destroy', destroyedToken);
311
315
 
312
316
  // First, attempt to honor the user's activation intent behind the
313
317
  // destruction of the token, if any. Otherwise, try to maintain the
@@ -348,6 +352,10 @@ var script = {
348
352
  this.activeTokenIdx = idx + newStrings.length;
349
353
  },
350
354
  completeToken() {
355
+ /**
356
+ * Emitted when a token is completed, with the token as the payload.
357
+ */
358
+ this.$emit('token-complete', this.activeToken);
351
359
  if (this.activeTokenIdx === this.lastTokenIdx - 1) {
352
360
  this.activeTokenIdx = this.lastTokenIdx;
353
361
  } else {