@gitlab/ui 87.6.0 → 87.7.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 (33) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown.js +4 -1
  3. package/dist/components/base/new_dropdowns/listbox/listbox.js +4 -1
  4. package/dist/config.js +22 -3
  5. package/dist/index.css +1 -1
  6. package/dist/index.css.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/tokens/build/js/tokens.dark.js +16 -11
  9. package/dist/tokens/build/js/tokens.js +16 -11
  10. package/dist/tokens/css/tokens.css +15 -10
  11. package/dist/tokens/css/tokens.dark.css +15 -10
  12. package/dist/tokens/js/tokens.dark.js +15 -10
  13. package/dist/tokens/js/tokens.js +15 -10
  14. package/dist/tokens/json/tokens.dark.json +145 -20
  15. package/dist/tokens/json/tokens.json +145 -20
  16. package/dist/tokens/scss/_tokens.dark.scss +15 -10
  17. package/dist/tokens/scss/_tokens.scss +15 -10
  18. package/dist/tokens/scss/_tokens_custom_properties.scss +5 -0
  19. package/package.json +1 -1
  20. package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.vue +4 -1
  21. package/src/components/base/new_dropdowns/listbox/listbox.vue +4 -1
  22. package/src/config.js +21 -2
  23. package/src/index.js +1 -0
  24. package/src/tokens/build/css/tokens.css +15 -10
  25. package/src/tokens/build/css/tokens.dark.css +15 -10
  26. package/src/tokens/build/js/tokens.dark.js +15 -10
  27. package/src/tokens/build/js/tokens.js +15 -10
  28. package/src/tokens/build/json/tokens.dark.json +145 -20
  29. package/src/tokens/build/json/tokens.json +145 -20
  30. package/src/tokens/build/scss/_tokens.dark.scss +15 -10
  31. package/src/tokens/build/scss/_tokens.scss +15 -10
  32. package/src/tokens/build/scss/_tokens_custom_properties.scss +5 -0
  33. package/src/tokens/feedback.tokens.json +60 -10
@@ -510,16 +510,21 @@ $gl-icon-color-strong: $gl-color-neutral-10; // Used for an icon with the highes
510
510
  $gl-icon-color-subtle: $gl-color-neutral-300; // Used for a static or decorational icon. Can be paired with subtle text.
511
511
  $gl-icon-color-default: $gl-color-neutral-100; // Used for the default icon color. Can be paired with default text.
512
512
  $gl-focus-ring-outer-color: $gl-color-blue-400; // Used for the outer color portion of the focus ring.
513
- $gl-feedback-danger-icon-color: $gl-color-red-300; // Used for an icon associated with danger or critical feedback.
514
- $gl-feedback-danger-background-color: $gl-color-red-900; // Used for a background associated with danger or critical feedback.
515
- $gl-feedback-warning-icon-color: $gl-color-orange-300; // Used for an icon associated with warning feedback or confidential content.
516
- $gl-feedback-warning-background-color: $gl-color-orange-900; // Used for a background associated with warning feedback or to let a user know about confidential content.
517
- $gl-feedback-success-icon-color: $gl-color-green-300; // Used for an icon associated with successful feedback or a new section.
518
- $gl-feedback-success-background-color: $gl-color-green-900; // Used for a background associated with successful feedback or a new section resulting from a user action.
519
- $gl-feedback-info-icon-color: $gl-color-blue-300; // Used for an icon associated with informational feedback.
520
- $gl-feedback-info-background-color: $gl-color-blue-900; // Used for a background associated with informational feedback or a highlighted section resulting from a user action.
521
- $gl-feedback-neutral-icon-color: $gl-color-neutral-300; // Used for an icon associated with a neutral feedback section.
522
- $gl-feedback-neutral-background-color: $gl-color-neutral-900; // Used for a background associated with neutral feedback.
513
+ $gl-feedback-danger-icon-color: $gl-color-red-300; // Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
514
+ $gl-feedback-danger-text-color: $gl-color-red-200; // Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
515
+ $gl-feedback-danger-background-color: $gl-color-red-900; // Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
516
+ $gl-feedback-warning-icon-color: $gl-color-orange-300; // Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information.
517
+ $gl-feedback-warning-text-color: $gl-color-orange-200; // Used for the text of a warning feedback item when notifying about a potential issue or sensitive information.
518
+ $gl-feedback-warning-background-color: $gl-color-orange-900; // Used for the background of a warning feedback item when notifying about a potential issue or sensitive information.
519
+ $gl-feedback-success-icon-color: $gl-color-green-300; // Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action.
520
+ $gl-feedback-success-text-color: $gl-color-green-200; // Used for the text of a success feedback item when confirming the successful completion of a user-initiated action.
521
+ $gl-feedback-success-background-color: $gl-color-green-900; // Used for the background of a success feedback item when confirming the successful completion of a user-initiated action.
522
+ $gl-feedback-info-icon-color: $gl-color-blue-300; // Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
523
+ $gl-feedback-info-text-color: $gl-color-blue-200; // Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
524
+ $gl-feedback-info-background-color: $gl-color-blue-900; // Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
525
+ $gl-feedback-neutral-icon-color: $gl-color-neutral-300; // Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency.
526
+ $gl-feedback-neutral-text-color: $gl-color-neutral-200; // Used for the text of a neutral feedback item when there isn't a specific meaning or urgency.
527
+ $gl-feedback-neutral-background-color: $gl-color-neutral-900; // Used for the background of a neutral feedback item when there isn't a specific meaning or urgency.
523
528
  $gl-feedback-link-color-strong: $gl-color-blue-700; // Used for a link on a strong feedback background.
524
529
  $gl-feedback-icon-color-strong: $gl-color-neutral-900; // Used for an icon on a strong feedback background.
525
530
  $gl-feedback-text-color-strong: $gl-color-neutral-900; // Used for text on a strong feedback background.
@@ -510,16 +510,21 @@ $gl-icon-color-strong: $gl-color-neutral-900; // Used for an icon with the highe
510
510
  $gl-icon-color-subtle: $gl-color-neutral-500; // Used for a static or decorational icon. Can be paired with subtle text.
511
511
  $gl-icon-color-default: $gl-color-neutral-700; // Used for the default icon color. Can be paired with default text.
512
512
  $gl-focus-ring-outer-color: $gl-color-blue-500; // Used for the outer color portion of the focus ring.
513
- $gl-feedback-danger-icon-color: $gl-color-red-600; // Used for an icon associated with danger or critical feedback.
514
- $gl-feedback-danger-background-color: $gl-color-red-50; // Used for a background associated with danger or critical feedback.
515
- $gl-feedback-warning-icon-color: $gl-color-orange-600; // Used for an icon associated with warning feedback or confidential content.
516
- $gl-feedback-warning-background-color: $gl-color-orange-50; // Used for a background associated with warning feedback or to let a user know about confidential content.
517
- $gl-feedback-success-icon-color: $gl-color-green-600; // Used for an icon associated with successful feedback or a new section.
518
- $gl-feedback-success-background-color: $gl-color-green-50; // Used for a background associated with successful feedback or a new section resulting from a user action.
519
- $gl-feedback-info-icon-color: $gl-color-blue-600; // Used for an icon associated with informational feedback.
520
- $gl-feedback-info-background-color: $gl-color-blue-50; // Used for a background associated with informational feedback or a highlighted section resulting from a user action.
521
- $gl-feedback-neutral-icon-color: $gl-color-neutral-600; // Used for an icon associated with a neutral feedback section.
522
- $gl-feedback-neutral-background-color: $gl-color-neutral-50; // Used for a background associated with neutral feedback.
513
+ $gl-feedback-danger-icon-color: $gl-color-red-600; // Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
514
+ $gl-feedback-danger-text-color: $gl-color-red-700; // Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
515
+ $gl-feedback-danger-background-color: $gl-color-red-50; // Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
516
+ $gl-feedback-warning-icon-color: $gl-color-orange-600; // Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information.
517
+ $gl-feedback-warning-text-color: $gl-color-orange-700; // Used for the text of a warning feedback item when notifying about a potential issue or sensitive information.
518
+ $gl-feedback-warning-background-color: $gl-color-orange-50; // Used for the background of a warning feedback item when notifying about a potential issue or sensitive information.
519
+ $gl-feedback-success-icon-color: $gl-color-green-600; // Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action.
520
+ $gl-feedback-success-text-color: $gl-color-green-700; // Used for the text of a success feedback item when confirming the successful completion of a user-initiated action.
521
+ $gl-feedback-success-background-color: $gl-color-green-50; // Used for the background of a success feedback item when confirming the successful completion of a user-initiated action.
522
+ $gl-feedback-info-icon-color: $gl-color-blue-600; // Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
523
+ $gl-feedback-info-text-color: $gl-color-blue-700; // Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
524
+ $gl-feedback-info-background-color: $gl-color-blue-50; // Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
525
+ $gl-feedback-neutral-icon-color: $gl-color-neutral-600; // Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency.
526
+ $gl-feedback-neutral-text-color: $gl-color-neutral-700; // Used for the text of a neutral feedback item when there isn't a specific meaning or urgency.
527
+ $gl-feedback-neutral-background-color: $gl-color-neutral-50; // Used for the background of a neutral feedback item when there isn't a specific meaning or urgency.
523
528
  $gl-feedback-link-color-strong: $gl-color-blue-300; // Used for a link on a strong feedback background.
524
529
  $gl-feedback-icon-color-strong: $gl-color-neutral-0; // Used for an icon on a strong feedback background.
525
530
  $gl-feedback-text-color-strong: $gl-color-neutral-0; // Used for text on a strong feedback background.
@@ -496,14 +496,19 @@ $gl-feedback-text-color-strong: var(--gl-feedback-text-color-strong);
496
496
  $gl-feedback-icon-color-strong: var(--gl-feedback-icon-color-strong);
497
497
  $gl-feedback-link-color-strong: var(--gl-feedback-link-color-strong);
498
498
  $gl-feedback-neutral-background-color: var(--gl-feedback-neutral-background-color);
499
+ $gl-feedback-neutral-text-color: var(--gl-feedback-neutral-text-color);
499
500
  $gl-feedback-neutral-icon-color: var(--gl-feedback-neutral-icon-color);
500
501
  $gl-feedback-info-background-color: var(--gl-feedback-info-background-color);
502
+ $gl-feedback-info-text-color: var(--gl-feedback-info-text-color);
501
503
  $gl-feedback-info-icon-color: var(--gl-feedback-info-icon-color);
502
504
  $gl-feedback-success-background-color: var(--gl-feedback-success-background-color);
505
+ $gl-feedback-success-text-color: var(--gl-feedback-success-text-color);
503
506
  $gl-feedback-success-icon-color: var(--gl-feedback-success-icon-color);
504
507
  $gl-feedback-warning-background-color: var(--gl-feedback-warning-background-color);
508
+ $gl-feedback-warning-text-color: var(--gl-feedback-warning-text-color);
505
509
  $gl-feedback-warning-icon-color: var(--gl-feedback-warning-icon-color);
506
510
  $gl-feedback-danger-background-color: var(--gl-feedback-danger-background-color);
511
+ $gl-feedback-danger-text-color: var(--gl-feedback-danger-text-color);
507
512
  $gl-feedback-danger-icon-color: var(--gl-feedback-danger-icon-color);
508
513
  $gl-focus-ring-outer-color: var(--gl-focus-ring-outer-color);
509
514
  $gl-focus-ring-inner-color: var(--gl-focus-ring-inner-color);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "87.6.0",
3
+ "version": "87.7.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -3,6 +3,7 @@
3
3
  import clamp from 'lodash/clamp';
4
4
  import uniqueId from 'lodash/uniqueId';
5
5
  import { stopEvent, filterVisible } from '../../../../utils/utils';
6
+ import { glDropdownConfig } from '../../../../config';
6
7
  import {
7
8
  GL_DROPDOWN_SHOWN,
8
9
  GL_DROPDOWN_HIDDEN,
@@ -235,7 +236,9 @@ export default {
235
236
  improvedHideHeuristics: {
236
237
  type: Boolean,
237
238
  required: false,
238
- default: false,
239
+ default() {
240
+ return Boolean(glDropdownConfig.useImprovedHideHeuristics);
241
+ },
239
242
  },
240
243
  },
241
244
  data() {
@@ -4,6 +4,7 @@ import clamp from 'lodash/clamp';
4
4
  import uniqueId from 'lodash/uniqueId';
5
5
  import isNil from 'lodash/isNil';
6
6
  import { stopEvent } from '../../../../utils/utils';
7
+ import { glDropdownConfig } from '../../../../config';
7
8
  import {
8
9
  GL_DROPDOWN_SHOWN,
9
10
  GL_DROPDOWN_HIDDEN,
@@ -356,7 +357,9 @@ export default {
356
357
  improvedHideHeuristics: {
357
358
  type: Boolean,
358
359
  required: false,
359
- default: false,
360
+ default() {
361
+ return Boolean(glDropdownConfig.useImprovedHideHeuristics);
362
+ },
360
363
  },
361
364
  },
362
365
  data() {
package/src/config.js CHANGED
@@ -39,6 +39,8 @@ try {
39
39
 
40
40
  export const i18n = translationKeys;
41
41
 
42
+ export const glDropdownConfig = {};
43
+
42
44
  let configured = false;
43
45
 
44
46
  /**
@@ -47,9 +49,9 @@ let configured = false;
47
49
  * @typedef {object} GitLabUIConfiguration
48
50
  * @template TValue=string
49
51
  * @property {undefined | Object} translations Generic translations for component labels to fall back to.
50
- * @property {boolean} disableTranslations Whether translation capabilities should be disabled. Suppresses the warning about missing translations.
52
+ * @property {boolean} [useImprovedHideHeuristics] Temporary flag to enable improved hide heuristics for dropdowns.
51
53
  */
52
- const setConfigs = ({ translations } = {}) => {
54
+ const setConfigs = ({ translations, useImprovedHideHeuristics } = {}) => {
53
55
  if (configured) {
54
56
  if (process.env.NODE_ENV === 'development') {
55
57
  throw new Error('GitLab UI can only be configured once!');
@@ -87,6 +89,23 @@ const setConfigs = ({ translations } = {}) => {
87
89
 
88
90
  Object.assign(i18n, translations);
89
91
  }
92
+
93
+ // Temporary flag to enable the improved hide heuristics feature.
94
+ // This flag allows the feature to be opt-in during the rollout phase,
95
+ // giving us the flexibility to test and validate its impact on user experience.
96
+
97
+ // The global variable `useImprovedHideHeuristics` is set to a boolean value
98
+ // to indicate whether the improved hide heuristics should be used.
99
+
100
+ // Future Plan:
101
+ // Once the improved hide heuristics feature is validated and stable,
102
+ // we will remove this temporary flag and make the feature the default behavior.
103
+ // At that point, there will be no need for opt-in or opt-out mechanisms for this feature.
104
+ if (typeof useImprovedHideHeuristics === 'boolean') {
105
+ Object.assign(glDropdownConfig, {
106
+ useImprovedHideHeuristics,
107
+ });
108
+ }
90
109
  };
91
110
 
92
111
  export default setConfigs;
package/src/index.js CHANGED
@@ -39,6 +39,7 @@ export { default as GlDashboardSkeleton } from './components/regions/dashboard_s
39
39
  export { default as GlEmptyState } from './components/regions/empty_state/empty_state.vue';
40
40
  export { default as GlForm } from './components/base/form/form.vue';
41
41
  export { default as GlFormCharacterCount } from './components/base/form/form_character_count/form_character_count.vue';
42
+ export { default as GlFormDate } from './components/base/form/form_date/form_date.vue';
42
43
  export { default as GlFormInput } from './components/base/form/form_input/form_input.vue';
43
44
  export { default as GlFormInputGroup } from './components/base/form/form_input_group/form_input_group.vue';
44
45
  export { default as GlFormRadio } from './components/base/form/form_radio/form_radio.vue';
@@ -512,16 +512,21 @@
512
512
  --gl-icon-color-subtle: var(--gl-color-neutral-500); /* Used for a static or decorational icon. Can be paired with subtle text. */
513
513
  --gl-icon-color-default: var(--gl-color-neutral-700); /* Used for the default icon color. Can be paired with default text. */
514
514
  --gl-focus-ring-outer-color: var(--gl-color-blue-500); /* Used for the outer color portion of the focus ring. */
515
- --gl-feedback-danger-icon-color: var(--gl-color-red-600); /* Used for an icon associated with danger or critical feedback. */
516
- --gl-feedback-danger-background-color: var(--gl-color-red-50); /* Used for a background associated with danger or critical feedback. */
517
- --gl-feedback-warning-icon-color: var(--gl-color-orange-600); /* Used for an icon associated with warning feedback or confidential content. */
518
- --gl-feedback-warning-background-color: var(--gl-color-orange-50); /* Used for a background associated with warning feedback or to let a user know about confidential content. */
519
- --gl-feedback-success-icon-color: var(--gl-color-green-600); /* Used for an icon associated with successful feedback or a new section. */
520
- --gl-feedback-success-background-color: var(--gl-color-green-50); /* Used for a background associated with successful feedback or a new section resulting from a user action. */
521
- --gl-feedback-info-icon-color: var(--gl-color-blue-600); /* Used for an icon associated with informational feedback. */
522
- --gl-feedback-info-background-color: var(--gl-color-blue-50); /* Used for a background associated with informational feedback or a highlighted section resulting from a user action. */
523
- --gl-feedback-neutral-icon-color: var(--gl-color-neutral-600); /* Used for an icon associated with a neutral feedback section. */
524
- --gl-feedback-neutral-background-color: var(--gl-color-neutral-50); /* Used for a background associated with neutral feedback. */
515
+ --gl-feedback-danger-icon-color: var(--gl-color-red-600); /* Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
516
+ --gl-feedback-danger-text-color: var(--gl-color-red-700); /* Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
517
+ --gl-feedback-danger-background-color: var(--gl-color-red-50); /* Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
518
+ --gl-feedback-warning-icon-color: var(--gl-color-orange-600); /* Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information. */
519
+ --gl-feedback-warning-text-color: var(--gl-color-orange-700); /* Used for the text of a warning feedback item when notifying about a potential issue or sensitive information. */
520
+ --gl-feedback-warning-background-color: var(--gl-color-orange-50); /* Used for the background of a warning feedback item when notifying about a potential issue or sensitive information. */
521
+ --gl-feedback-success-icon-color: var(--gl-color-green-600); /* Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action. */
522
+ --gl-feedback-success-text-color: var(--gl-color-green-700); /* Used for the text of a success feedback item when confirming the successful completion of a user-initiated action. */
523
+ --gl-feedback-success-background-color: var(--gl-color-green-50); /* Used for the background of a success feedback item when confirming the successful completion of a user-initiated action. */
524
+ --gl-feedback-info-icon-color: var(--gl-color-blue-600); /* Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
525
+ --gl-feedback-info-text-color: var(--gl-color-blue-700); /* Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
526
+ --gl-feedback-info-background-color: var(--gl-color-blue-50); /* Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
527
+ --gl-feedback-neutral-icon-color: var(--gl-color-neutral-600); /* Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency. */
528
+ --gl-feedback-neutral-text-color: var(--gl-color-neutral-700); /* Used for the text of a neutral feedback item when there isn't a specific meaning or urgency. */
529
+ --gl-feedback-neutral-background-color: var(--gl-color-neutral-50); /* Used for the background of a neutral feedback item when there isn't a specific meaning or urgency. */
525
530
  --gl-feedback-link-color-strong: var(--gl-color-blue-300); /* Used for a link on a strong feedback background. */
526
531
  --gl-feedback-icon-color-strong: var(--gl-color-neutral-0); /* Used for an icon on a strong feedback background. */
527
532
  --gl-feedback-text-color-strong: var(--gl-color-neutral-0); /* Used for text on a strong feedback background. */
@@ -512,16 +512,21 @@
512
512
  --gl-icon-color-subtle: var(--gl-color-neutral-300); /* Used for a static or decorational icon. Can be paired with subtle text. */
513
513
  --gl-icon-color-default: var(--gl-color-neutral-100); /* Used for the default icon color. Can be paired with default text. */
514
514
  --gl-focus-ring-outer-color: var(--gl-color-blue-400); /* Used for the outer color portion of the focus ring. */
515
- --gl-feedback-danger-icon-color: var(--gl-color-red-300); /* Used for an icon associated with danger or critical feedback. */
516
- --gl-feedback-danger-background-color: var(--gl-color-red-900); /* Used for a background associated with danger or critical feedback. */
517
- --gl-feedback-warning-icon-color: var(--gl-color-orange-300); /* Used for an icon associated with warning feedback or confidential content. */
518
- --gl-feedback-warning-background-color: var(--gl-color-orange-900); /* Used for a background associated with warning feedback or to let a user know about confidential content. */
519
- --gl-feedback-success-icon-color: var(--gl-color-green-300); /* Used for an icon associated with successful feedback or a new section. */
520
- --gl-feedback-success-background-color: var(--gl-color-green-900); /* Used for a background associated with successful feedback or a new section resulting from a user action. */
521
- --gl-feedback-info-icon-color: var(--gl-color-blue-300); /* Used for an icon associated with informational feedback. */
522
- --gl-feedback-info-background-color: var(--gl-color-blue-900); /* Used for a background associated with informational feedback or a highlighted section resulting from a user action. */
523
- --gl-feedback-neutral-icon-color: var(--gl-color-neutral-300); /* Used for an icon associated with a neutral feedback section. */
524
- --gl-feedback-neutral-background-color: var(--gl-color-neutral-900); /* Used for a background associated with neutral feedback. */
515
+ --gl-feedback-danger-icon-color: var(--gl-color-red-300); /* Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
516
+ --gl-feedback-danger-text-color: var(--gl-color-red-200); /* Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
517
+ --gl-feedback-danger-background-color: var(--gl-color-red-900); /* Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention. */
518
+ --gl-feedback-warning-icon-color: var(--gl-color-orange-300); /* Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information. */
519
+ --gl-feedback-warning-text-color: var(--gl-color-orange-200); /* Used for the text of a warning feedback item when notifying about a potential issue or sensitive information. */
520
+ --gl-feedback-warning-background-color: var(--gl-color-orange-900); /* Used for the background of a warning feedback item when notifying about a potential issue or sensitive information. */
521
+ --gl-feedback-success-icon-color: var(--gl-color-green-300); /* Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action. */
522
+ --gl-feedback-success-text-color: var(--gl-color-green-200); /* Used for the text of a success feedback item when confirming the successful completion of a user-initiated action. */
523
+ --gl-feedback-success-background-color: var(--gl-color-green-900); /* Used for the background of a success feedback item when confirming the successful completion of a user-initiated action. */
524
+ --gl-feedback-info-icon-color: var(--gl-color-blue-300); /* Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
525
+ --gl-feedback-info-text-color: var(--gl-color-blue-200); /* Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
526
+ --gl-feedback-info-background-color: var(--gl-color-blue-900); /* Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action. */
527
+ --gl-feedback-neutral-icon-color: var(--gl-color-neutral-300); /* Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency. */
528
+ --gl-feedback-neutral-text-color: var(--gl-color-neutral-200); /* Used for the text of a neutral feedback item when there isn't a specific meaning or urgency. */
529
+ --gl-feedback-neutral-background-color: var(--gl-color-neutral-900); /* Used for the background of a neutral feedback item when there isn't a specific meaning or urgency. */
525
530
  --gl-feedback-link-color-strong: var(--gl-color-blue-700); /* Used for a link on a strong feedback background. */
526
531
  --gl-feedback-icon-color-strong: var(--gl-color-neutral-900); /* Used for an icon on a strong feedback background. */
527
532
  --gl-feedback-text-color-strong: var(--gl-color-neutral-900); /* Used for text on a strong feedback background. */
@@ -495,16 +495,21 @@ export const GL_FEEDBACK_BACKGROUND_COLOR_STRONG = '#fbfafd'; // Used for a back
495
495
  export const GL_FEEDBACK_TEXT_COLOR_STRONG = '#28272d'; // Used for text on a strong feedback background.
496
496
  export const GL_FEEDBACK_ICON_COLOR_STRONG = '#28272d'; // Used for an icon on a strong feedback background.
497
497
  export const GL_FEEDBACK_LINK_COLOR_STRONG = '#0b5cad'; // Used for a link on a strong feedback background.
498
- export const GL_FEEDBACK_NEUTRAL_BACKGROUND_COLOR = '#28272d'; // Used for a background associated with neutral feedback.
499
- export const GL_FEEDBACK_NEUTRAL_ICON_COLOR = '#a4a3a8'; // Used for an icon associated with a neutral feedback section.
500
- export const GL_FEEDBACK_INFO_BACKGROUND_COLOR = '#033464'; // Used for a background associated with informational feedback or a highlighted section resulting from a user action.
501
- export const GL_FEEDBACK_INFO_ICON_COLOR = '#63a6e9'; // Used for an icon associated with informational feedback.
502
- export const GL_FEEDBACK_SUCCESS_BACKGROUND_COLOR = '#0a4020'; // Used for a background associated with successful feedback or a new section resulting from a user action.
503
- export const GL_FEEDBACK_SUCCESS_ICON_COLOR = '#52b87a'; // Used for an icon associated with successful feedback or a new section.
504
- export const GL_FEEDBACK_WARNING_BACKGROUND_COLOR = '#5c2900'; // Used for a background associated with warning feedback or to let a user know about confidential content.
505
- export const GL_FEEDBACK_WARNING_ICON_COLOR = '#d99530'; // Used for an icon associated with warning feedback or confidential content.
506
- export const GL_FEEDBACK_DANGER_BACKGROUND_COLOR = '#660e00'; // Used for a background associated with danger or critical feedback.
507
- export const GL_FEEDBACK_DANGER_ICON_COLOR = '#f57f6c'; // Used for an icon associated with danger or critical feedback.
498
+ export const GL_FEEDBACK_NEUTRAL_BACKGROUND_COLOR = '#28272d'; // Used for the background of a neutral feedback item when there isn't a specific meaning or urgency.
499
+ export const GL_FEEDBACK_NEUTRAL_TEXT_COLOR = '#bfbfc3'; // Used for the text of a neutral feedback item when there isn't a specific meaning or urgency.
500
+ export const GL_FEEDBACK_NEUTRAL_ICON_COLOR = '#a4a3a8'; // Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency.
501
+ export const GL_FEEDBACK_INFO_BACKGROUND_COLOR = '#033464'; // Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
502
+ export const GL_FEEDBACK_INFO_TEXT_COLOR = '#9dc7f1'; // Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
503
+ export const GL_FEEDBACK_INFO_ICON_COLOR = '#63a6e9'; // Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
504
+ export const GL_FEEDBACK_SUCCESS_BACKGROUND_COLOR = '#0a4020'; // Used for the background of a success feedback item when confirming the successful completion of a user-initiated action.
505
+ export const GL_FEEDBACK_SUCCESS_TEXT_COLOR = '#91d4a8'; // Used for the text of a success feedback item when confirming the successful completion of a user-initiated action.
506
+ export const GL_FEEDBACK_SUCCESS_ICON_COLOR = '#52b87a'; // Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action.
507
+ export const GL_FEEDBACK_WARNING_BACKGROUND_COLOR = '#5c2900'; // Used for the background of a warning feedback item when notifying about a potential issue or sensitive information.
508
+ export const GL_FEEDBACK_WARNING_TEXT_COLOR = '#e9be74'; // Used for the text of a warning feedback item when notifying about a potential issue or sensitive information.
509
+ export const GL_FEEDBACK_WARNING_ICON_COLOR = '#d99530'; // Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information.
510
+ export const GL_FEEDBACK_DANGER_BACKGROUND_COLOR = '#660e00'; // Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
511
+ export const GL_FEEDBACK_DANGER_TEXT_COLOR = '#fcb5aa'; // Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
512
+ export const GL_FEEDBACK_DANGER_ICON_COLOR = '#f57f6c'; // Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
508
513
  export const GL_FOCUS_RING_OUTER_COLOR = '#428fdc'; // Used for the outer color portion of the focus ring.
509
514
  export const GL_FOCUS_RING_INNER_COLOR = '#18171d'; // Used for the inner neutral portion of the focus ring.
510
515
  export const GL_ICON_COLOR_DEFAULT = '#dcdcde'; // Used for the default icon color. Can be paired with default text.
@@ -495,16 +495,21 @@ export const GL_FEEDBACK_BACKGROUND_COLOR_STRONG = '#18171d'; // Used for a back
495
495
  export const GL_FEEDBACK_TEXT_COLOR_STRONG = '#fff'; // Used for text on a strong feedback background.
496
496
  export const GL_FEEDBACK_ICON_COLOR_STRONG = '#fff'; // Used for an icon on a strong feedback background.
497
497
  export const GL_FEEDBACK_LINK_COLOR_STRONG = '#63a6e9'; // Used for a link on a strong feedback background.
498
- export const GL_FEEDBACK_NEUTRAL_BACKGROUND_COLOR = '#ececef'; // Used for a background associated with neutral feedback.
499
- export const GL_FEEDBACK_NEUTRAL_ICON_COLOR = '#626168'; // Used for an icon associated with a neutral feedback section.
500
- export const GL_FEEDBACK_INFO_BACKGROUND_COLOR = '#e9f3fc'; // Used for a background associated with informational feedback or a highlighted section resulting from a user action.
501
- export const GL_FEEDBACK_INFO_ICON_COLOR = '#1068bf'; // Used for an icon associated with informational feedback.
502
- export const GL_FEEDBACK_SUCCESS_BACKGROUND_COLOR = '#ecf4ee'; // Used for a background associated with successful feedback or a new section resulting from a user action.
503
- export const GL_FEEDBACK_SUCCESS_ICON_COLOR = '#217645'; // Used for an icon associated with successful feedback or a new section.
504
- export const GL_FEEDBACK_WARNING_BACKGROUND_COLOR = '#fdf1dd'; // Used for a background associated with warning feedback or to let a user know about confidential content.
505
- export const GL_FEEDBACK_WARNING_ICON_COLOR = '#9e5400'; // Used for an icon associated with warning feedback or confidential content.
506
- export const GL_FEEDBACK_DANGER_BACKGROUND_COLOR = '#fcf1ef'; // Used for a background associated with danger or critical feedback.
507
- export const GL_FEEDBACK_DANGER_ICON_COLOR = '#c91c00'; // Used for an icon associated with danger or critical feedback.
498
+ export const GL_FEEDBACK_NEUTRAL_BACKGROUND_COLOR = '#ececef'; // Used for the background of a neutral feedback item when there isn't a specific meaning or urgency.
499
+ export const GL_FEEDBACK_NEUTRAL_TEXT_COLOR = '#4c4b51'; // Used for the text of a neutral feedback item when there isn't a specific meaning or urgency.
500
+ export const GL_FEEDBACK_NEUTRAL_ICON_COLOR = '#626168'; // Used for the icon of a neutral feedback item when there isn't a specific meaning or urgency.
501
+ export const GL_FEEDBACK_INFO_BACKGROUND_COLOR = '#e9f3fc'; // Used for the background of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
502
+ export const GL_FEEDBACK_INFO_TEXT_COLOR = '#0b5cad'; // Used for the text of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
503
+ export const GL_FEEDBACK_INFO_ICON_COLOR = '#1068bf'; // Used for the icon of an informational feedback item when highlighting new information or a change that doesn't require immediate action.
504
+ export const GL_FEEDBACK_SUCCESS_BACKGROUND_COLOR = '#ecf4ee'; // Used for the background of a success feedback item when confirming the successful completion of a user-initiated action.
505
+ export const GL_FEEDBACK_SUCCESS_TEXT_COLOR = '#24663b'; // Used for the text of a success feedback item when confirming the successful completion of a user-initiated action.
506
+ export const GL_FEEDBACK_SUCCESS_ICON_COLOR = '#217645'; // Used for the icon of a success feedback item when confirming the successful completion of a user-initiated action.
507
+ export const GL_FEEDBACK_WARNING_BACKGROUND_COLOR = '#fdf1dd'; // Used for the background of a warning feedback item when notifying about a potential issue or sensitive information.
508
+ export const GL_FEEDBACK_WARNING_TEXT_COLOR = '#8f4700'; // Used for the text of a warning feedback item when notifying about a potential issue or sensitive information.
509
+ export const GL_FEEDBACK_WARNING_ICON_COLOR = '#9e5400'; // Used for the icon of a warning feedback item when notifying about a potential issue or sensitive information.
510
+ export const GL_FEEDBACK_DANGER_BACKGROUND_COLOR = '#fcf1ef'; // Used for the background of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
511
+ export const GL_FEEDBACK_DANGER_TEXT_COLOR = '#ae1800'; // Used for the text of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
512
+ export const GL_FEEDBACK_DANGER_ICON_COLOR = '#c91c00'; // Used for the icon of a danger feedback item when notifying about a critical issue that has just occurred and requires immediate attention.
508
513
  export const GL_FOCUS_RING_OUTER_COLOR = '#1f75cb'; // Used for the outer color portion of the focus ring.
509
514
  export const GL_FOCUS_RING_INNER_COLOR = '#fff'; // Used for the inner neutral portion of the focus ring.
510
515
  export const GL_ICON_COLOR_DEFAULT = '#4c4b51'; // Used for the default icon color. Can be paired with default text.