@gitlab/ui 80.7.2 → 80.8.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 (28) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/components/base/button/button.js +1 -2
  3. package/dist/components/base/form/form_textarea/form_textarea.js +1 -1
  4. package/dist/index.css +2 -2
  5. package/dist/index.css.map +1 -1
  6. package/dist/tailwind.css +1 -1
  7. package/dist/tailwind.css.map +1 -1
  8. package/dist/utility_classes.css +1 -1
  9. package/dist/utility_classes.css.map +1 -1
  10. package/package.json +1 -1
  11. package/src/components/base/alert/alert.scss +4 -0
  12. package/src/components/base/avatar_labeled/avatar_labeled.scss +1 -1
  13. package/src/components/base/badge/badge.scss +4 -0
  14. package/src/components/base/button/button.scss +33 -0
  15. package/src/components/base/button/button.vue +1 -9
  16. package/src/components/base/form/form_checkbox/form_checkbox.scss +25 -1
  17. package/src/components/base/form/form_combobox/form_combobox.stories.js +1 -1
  18. package/src/components/base/form/form_input/form_input.scss +4 -0
  19. package/src/components/base/form/form_select/form_select.scss +5 -0
  20. package/src/components/base/form/form_textarea/form_textarea.vue +3 -3
  21. package/src/components/base/label/label.scss +8 -0
  22. package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.stories.js +1 -1
  23. package/src/components/base/new_dropdowns/listbox/listbox.md +1 -1
  24. package/src/components/base/new_dropdowns/listbox/listbox.stories.js +2 -2
  25. package/src/internal/color_contrast/color_contrast.vue +1 -1
  26. package/src/scss/mixins.scss +12 -0
  27. package/src/scss/storybook.scss +2 -2
  28. package/src/scss/variables.scss +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # [80.8.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.7.2...v80.8.0) (2024-05-09)
2
+
3
+
4
+ ### Features
5
+
6
+ * **ForcedColorsMode:** Improve readability of components ([d968b6d](https://gitlab.com/gitlab-org/gitlab-ui/commit/d968b6db2ecb18eb5299ea1825d9699aacd3168d))
7
+ * **ForcedColorsMode:** Improve readability of components ([3d918b7](https://gitlab.com/gitlab-org/gitlab-ui/commit/3d918b7965d859ca4864714f181026066c3c03fc))
8
+ * **ForcedColorsMode:** Improve readability of components ([d00e2e3](https://gitlab.com/gitlab-org/gitlab-ui/commit/d00e2e3470507ad127fb575a179b56834a7f78b1))
9
+ * **ForcedColorsMode:** Improve readability of components ([65ed389](https://gitlab.com/gitlab-org/gitlab-ui/commit/65ed3898e7ce88d21b03024446024108c7beaaa1))
10
+ * **ForcedColorsMode:** Improve readability of components ([69f82f7](https://gitlab.com/gitlab-org/gitlab-ui/commit/69f82f7adad75e43d5c0917813b9c59a61791aa1))
11
+
1
12
  ## [80.7.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v80.7.1...v80.7.2) (2024-05-09)
2
13
 
3
14
 
@@ -83,8 +83,7 @@ var script = {
83
83
  },
84
84
  buttonClasses() {
85
85
  const classes = ['gl-button'];
86
- const nonCategoryVariants = [buttonVariantOptions.dashed, buttonVariantOptions.link, buttonVariantOptions.reset];
87
- if (!nonCategoryVariants.includes(this.variant) && this.category !== buttonCategoryOptions.primary) {
86
+ if (this.category !== buttonCategoryOptions.primary) {
88
87
  classes.push(`btn-${this.variant}-${this.category}`);
89
88
  }
90
89
  classes.push({
@@ -84,7 +84,7 @@ var script = {
84
84
  return this.remainingCharacterCount < 0;
85
85
  },
86
86
  characterCountTextClass() {
87
- return this.isCharacterCountOverLimit ? 'gl-text-red-500' : 'gl-text-gray-500';
87
+ return this.isCharacterCountOverLimit ? 'gl-text-danger' : 'gl-text-subtle';
88
88
  },
89
89
  showCharacterCount() {
90
90
  return this.characterCount !== null;