@gitlab/ui 94.1.0 → 94.2.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 (60) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/index.css +2 -2
  3. package/dist/index.css.map +1 -1
  4. package/dist/tokens/build/js/tokens.dark.js +9 -1
  5. package/dist/tokens/build/js/tokens.js +9 -1
  6. package/dist/tokens/css/tokens.css +8 -0
  7. package/dist/tokens/css/tokens.dark.css +8 -0
  8. package/dist/tokens/js/tokens.dark.js +8 -0
  9. package/dist/tokens/js/tokens.js +8 -0
  10. package/dist/tokens/json/tokens.dark.json +219 -0
  11. package/dist/tokens/json/tokens.json +219 -0
  12. package/dist/tokens/scss/_tokens.dark.scss +8 -0
  13. package/dist/tokens/scss/_tokens.scss +8 -0
  14. package/dist/tokens/scss/_tokens_custom_properties.scss +8 -0
  15. package/package.json +1 -1
  16. package/src/components/base/avatar/avatar.scss +6 -6
  17. package/src/components/base/avatar_link/avatar_link.scss +1 -1
  18. package/src/components/base/avatars_inline/avatars_inline.scss +2 -2
  19. package/src/components/base/badge/badge.scss +1 -1
  20. package/src/components/base/breadcrumb/breadcrumb.scss +1 -1
  21. package/src/components/base/button/button.scss +3 -3
  22. package/src/components/base/drawer/drawer.scss +1 -1
  23. package/src/components/base/dropdown/dropdown.scss +1 -1
  24. package/src/components/base/dropdown/dropdown_divider.scss +1 -1
  25. package/src/components/base/filtered_search/filtered_search.scss +6 -6
  26. package/src/components/base/filtered_search/filtered_search_suggestion_list.scss +2 -2
  27. package/src/components/base/filtered_search/filtered_search_term.scss +1 -0
  28. package/src/components/base/filtered_search/filtered_search_token.scss +10 -7
  29. package/src/components/base/filtered_search/filtered_search_token_segment.scss +1 -0
  30. package/src/components/base/form/form_checkbox/form_checkbox.scss +2 -2
  31. package/src/components/base/infinite_scroll/infinite_scroll.scss +2 -2
  32. package/src/components/base/label/label.scss +5 -5
  33. package/src/components/base/loading_icon/loading_icon.scss +1 -1
  34. package/src/components/base/markdown/markdown.scss +1 -1
  35. package/src/components/base/markdown/markdown_typescale_demo.html +1 -1
  36. package/src/components/base/modal/modal.scss +1 -1
  37. package/src/components/base/nav/nav.scss +1 -1
  38. package/src/components/base/new_dropdowns/dropdown.scss +5 -5
  39. package/src/components/base/path/path.scss +1 -1
  40. package/src/components/base/segmented_control/segmented_control.scss +1 -1
  41. package/src/components/base/table/table.scss +1 -1
  42. package/src/components/base/tabs/tabs/tabs.scss +1 -1
  43. package/src/components/base/toggle/toggle.scss +3 -3
  44. package/src/components/base/token/token.scss +4 -18
  45. package/src/components/charts/legend/legend.scss +4 -4
  46. package/src/components/charts/series_label/series_label.scss +2 -2
  47. package/src/components/experimental/duo/chat/duo_chat.scss +1 -1
  48. package/src/components/shared_components/clear_icon_button/clear_icon_button.scss +1 -1
  49. package/src/tokens/build/css/tokens.css +8 -0
  50. package/src/tokens/build/css/tokens.dark.css +8 -0
  51. package/src/tokens/build/js/tokens.dark.js +8 -0
  52. package/src/tokens/build/js/tokens.js +8 -0
  53. package/src/tokens/build/json/tokens.dark.json +219 -0
  54. package/src/tokens/build/json/tokens.json +219 -0
  55. package/src/tokens/build/scss/_tokens.dark.scss +8 -0
  56. package/src/tokens/build/scss/_tokens.scss +8 -0
  57. package/src/tokens/build/scss/_tokens_custom_properties.scss +8 -0
  58. package/src/tokens/contextual/filtered-search.tokens.json +72 -0
  59. package/src/tokens/contextual/token.tokens.json +21 -0
  60. package/tailwind.defaults.js +2 -1
@@ -92,7 +92,7 @@
92
92
  }
93
93
 
94
94
  .gl-button-text {
95
- @include gl-overflow-hidden;
95
+ @apply gl-overflow-hidden;
96
96
  @apply gl-text-ellipsis;
97
97
  @apply gl-whitespace-nowrap;
98
98
  // Added to address a FF bug which causes cut off text: https://bugzilla.mozilla.org/show_bug.cgi?id=1406552
@@ -322,7 +322,7 @@
322
322
  &:active,
323
323
  &:focus,
324
324
  &:focus:active {
325
- @include gl-focus;
325
+ @apply gl-focus;
326
326
  }
327
327
  }
328
328
  }
@@ -498,7 +498,7 @@
498
498
  &:focus,
499
499
  &:focus:active {
500
500
  @apply gl-bg-transparent;
501
- @include gl-focus;
501
+ @apply gl-focus;
502
502
  }
503
503
 
504
504
  &.disabled,
@@ -13,7 +13,7 @@ $gl-drawer-scrim-gradient: linear-gradient(
13
13
  position: fixed;
14
14
  @apply gl-h-full;
15
15
  @apply gl-w-full;
16
- @include gl-overflow-y-auto;
16
+ @apply gl-overflow-y-auto;
17
17
  @include gl-shadow-lg;
18
18
  @apply gl-text-base;
19
19
  @apply gl-leading-normal;
@@ -133,7 +133,7 @@
133
133
 
134
134
  .gl-dropdown-button-text {
135
135
  @include gl-mr-auto;
136
- @include gl-overflow-hidden;
136
+ @apply gl-overflow-hidden;
137
137
  @apply gl-text-ellipsis;
138
138
  }
139
139
 
@@ -1,5 +1,5 @@
1
1
  @mixin gl-tmp-dropdown-divider-style {
2
- @include gl-overflow-hidden;
2
+ @apply gl-overflow-hidden;
3
3
  @apply gl-h-0;
4
4
  @apply gl-my-2;
5
5
  @apply gl-mx-0;
@@ -1,29 +1,29 @@
1
1
  .gl-filtered-search-scrollable-container {
2
- @apply gl-bg-white;
3
2
  @apply gl-flex;
4
3
  @apply gl-grow;
5
4
  @apply gl-basis-0;
6
- @include gl-overflow-hidden;
5
+ @apply gl-overflow-hidden;
7
6
  @apply gl-items-center;
8
7
  @apply gl-py-2;
9
8
  @apply gl-pl-4;
10
9
  @apply gl-pr-7;
11
- @apply gl-shadow-inner-1-gray-400;
12
10
  @apply gl-border-none;
13
11
  @apply gl-rounded-base;
12
+ box-shadow: inset 0 0 0 $gl-border-size-1 var(--gl-control-border-color-default);
13
+ background-color: var(--gl-control-background-color-default);
14
14
 
15
15
  .input-group-prepend + & {
16
- @include gl-rounded-left-none;
16
+ @apply gl-rounded-l-none;
17
17
  }
18
18
  }
19
19
 
20
20
  .gl-filtered-search-scrollable-container-with-search-button {
21
- @include gl-rounded-right-none;
21
+ @apply gl-rounded-r-none;
22
22
  }
23
23
 
24
24
  .gl-filtered-search-scrollable {
25
25
  @apply gl-flex;
26
- @include gl-overflow-y-auto;
26
+ @apply gl-overflow-y-auto;
27
27
  @apply gl-w-full;
28
28
  }
29
29
 
@@ -6,13 +6,13 @@
6
6
  width: $gl-dropdown-width;
7
7
  @apply gl-p-2;
8
8
  @apply gl-border-gray-200;
9
- @include gl-rounded-lg;
9
+ @apply gl-rounded-lg;
10
10
  @include gl-shadow-md;
11
11
  }
12
12
 
13
13
  .gl-filtered-search-suggestion-list {
14
14
  position: absolute;
15
- @include gl-overflow-y-auto;
15
+ @apply gl-overflow-y-auto;
16
16
  max-height: $gl-max-dropdown-max-height;
17
17
 
18
18
  .gl-filtered-search-suggestion,
@@ -6,6 +6,7 @@
6
6
 
7
7
  .gl-filtered-search-term-input {
8
8
  @apply gl-p-0;
9
+ @apply gl-bg-transparent;
9
10
  @apply gl-border-none;
10
11
  @include gl-outline-none;
11
12
  @apply gl-h-6;
@@ -11,12 +11,15 @@
11
11
  &.gl-filtered-search-token-hover {
12
12
  &:hover {
13
13
  .gl-filtered-search-token-type {
14
- @apply gl-bg-gray-100;
14
+ background-color: var(--gl-filtered-search-token-type-background-color-hover);
15
+ }
16
+
17
+ .gl-filtered-search-token-data {
18
+ background-color: var(--gl-filtered-search-token-data-background-color-hover);
15
19
  }
16
20
 
17
- .gl-filtered-search-token-data,
18
21
  .gl-filtered-search-token-operator {
19
- @apply gl-bg-gray-200;
22
+ background-color: var(--gl-filtered-search-token-operator-background-color-hover);
20
23
  }
21
24
  }
22
25
  }
@@ -27,26 +30,26 @@
27
30
 
28
31
  &.gl-filtered-search-token-type {
29
32
  @apply gl-h-6;
30
- @apply gl-bg-gray-50;
31
33
  @apply gl-rounded-tr-none;
32
34
  @apply gl-rounded-br-none;
33
35
  @apply gl-py-2;
34
36
  @apply gl-px-3;
35
37
  @apply gl-mr-1;
38
+ background-color: var(--gl-filtered-search-token-type-background-color-default);
36
39
  }
37
40
 
38
41
  &.gl-filtered-search-token-operator {
39
42
  @apply gl-h-6;
40
- @apply gl-bg-gray-50;
41
43
  @apply gl-mr-1;
42
44
  @apply gl-rounded-none;
45
+ background-color: var(--gl-filtered-search-token-operator-background-color-default);
43
46
  }
44
47
 
45
48
  &.gl-filtered-search-token-data {
46
49
  @apply gl-h-6;
47
- @apply gl-bg-gray-100;
48
50
  @apply gl-rounded-tr-small;
49
51
  @apply gl-rounded-br-small;
52
+ background-color: var(--gl-filtered-search-token-data-background-color-default);
50
53
 
51
54
  .gl-filtered-search-token-data-content {
52
55
  @apply gl-inline-flex;
@@ -55,6 +58,6 @@
55
58
  }
56
59
 
57
60
  .gl-filtered-search-token-operator-description {
58
- @apply gl-text-gray-600;
61
+ @apply gl-text-subtle;
59
62
  @include gl-ml-auto;
60
63
  }
@@ -14,6 +14,7 @@
14
14
  .gl-filtered-search-token-segment-input {
15
15
  @apply gl-p-0;
16
16
  @apply gl-h-full;
17
+ @apply gl-bg-transparent;
17
18
  @apply gl-border-none;
18
19
  @include gl-outline-none;
19
20
  min-width: $gl-dropdown-width;
@@ -33,7 +33,7 @@
33
33
  &:active,
34
34
  &:focus,
35
35
  &:focus:active {
36
- @include gl-focus;
36
+ @apply gl-focus;
37
37
  }
38
38
  }
39
39
 
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  .custom-control-input:not(:disabled):focus ~ .custom-control-label::before {
79
- @include gl-focus;
79
+ @apply gl-focus;
80
80
  border-color: var(--gl-control-border-color-focus);
81
81
  }
82
82
 
@@ -1,6 +1,6 @@
1
1
  .gl-infinite-scroll-container {
2
- @include gl-overflow-x-hidden;
3
- @include gl-overflow-y-auto;
2
+ @apply gl-overflow-x-hidden;
3
+ @apply gl-overflow-y-auto;
4
4
  @apply gl-text-base;
5
5
  }
6
6
 
@@ -6,9 +6,9 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
6
6
  .gl-label {
7
7
  @apply gl-items-center;
8
8
  background-color: var(--gl-background-color-default);
9
- @include gl-overflow-hidden;
9
+ @apply gl-overflow-hidden;
10
10
  @apply gl-inline-flex;
11
- @include gl-rounded-pill;
11
+ @apply gl-rounded-pill;
12
12
  position: relative;
13
13
  @include gl-max-w-full;
14
14
  @apply gl-text-sm;
@@ -30,7 +30,7 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
30
30
  .gl-label-link {
31
31
  @apply gl-flex;
32
32
  @apply gl-font-normal;
33
- @include gl-overflow-hidden;
33
+ @apply gl-overflow-hidden;
34
34
  @apply gl-text-inherit;
35
35
  @include gl-max-w-full;
36
36
 
@@ -71,12 +71,12 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
71
71
  margin-left: -$label-padding-horizontal-half;
72
72
  margin-right: $label-padding-horizontal-half;
73
73
  @apply gl-p-0;
74
- @include gl-rounded-full;
74
+ @apply gl-rounded-full;
75
75
  @include gl-shadow-none;
76
76
 
77
77
  &:focus,
78
78
  &:active {
79
- @include gl-focus;
79
+ @apply gl-focus;
80
80
  }
81
81
 
82
82
  .gl-icon {
@@ -36,7 +36,7 @@ $gl-loader-dots-size-xl: 1rem;
36
36
  .gl-spinner {
37
37
  position: relative;
38
38
  @apply gl-inline-flex;
39
- @include gl-rounded-full;
39
+ @apply gl-rounded-full;
40
40
  @apply gl-border-solid;
41
41
  @include gl-mx-auto;
42
42
  @apply gl-my-0;
@@ -108,7 +108,7 @@
108
108
  @apply gl-px-4;
109
109
  @include gl-inset-border-1-gray-100;
110
110
  @apply gl-my-7;
111
- @include gl-overflow-auto;
111
+ @apply gl-overflow-auto;
112
112
 
113
113
  code {
114
114
  @apply gl-bg-white;
@@ -140,7 +140,7 @@
140
140
 
141
141
  code {
142
142
  @apply gl-bg-white;
143
- @include gl-rounded-none;
143
+ @apply gl-rounded-none;
144
144
  @apply gl-text-gray-900;
145
145
  @include gl-px-0;
146
146
  @include gl-py-0;
@@ -9,7 +9,7 @@ $modal-box-shadow: 0 4px 16px $t-gray-a-24;
9
9
  }
10
10
 
11
11
  body.modal-open {
12
- @include gl-overflow-hidden;
12
+ @apply gl-overflow-hidden;
13
13
  }
14
14
 
15
15
  .gl-modal {
@@ -1,7 +1,7 @@
1
1
  .nav {
2
2
  &-link {
3
3
  &:focus-visible {
4
- @include gl-focus;
4
+ @apply gl-focus;
5
5
  }
6
6
  }
7
7
  }
@@ -7,7 +7,7 @@
7
7
  @include gl-cursor-pointer;
8
8
 
9
9
  &:focus {
10
- @include gl-focus;
10
+ @apply gl-focus;
11
11
  }
12
12
  }
13
13
  }
@@ -16,7 +16,7 @@
16
16
  @apply gl-hidden;
17
17
  @apply gl-bg-white;
18
18
  @apply gl-border-1 gl-border-solid gl-border-gray-200;
19
- @include gl-rounded-lg;
19
+ @apply gl-rounded-lg;
20
20
  @include gl-shadow-md;
21
21
  top: 0;
22
22
  left: 0;
@@ -34,14 +34,14 @@
34
34
  .gl-new-dropdown-contents {
35
35
  position: relative;
36
36
  @apply gl-grow;
37
- @include gl-overflow-y-auto;
37
+ @apply gl-overflow-y-auto;
38
38
  @apply gl-pl-0;
39
39
  @apply gl-mb-0;
40
40
  @apply gl-py-2;
41
41
  @apply gl-list-none;
42
42
 
43
43
  &:focus-visible {
44
- @include gl-focus;
44
+ @apply gl-focus;
45
45
  }
46
46
 
47
47
  ul {
@@ -72,7 +72,7 @@
72
72
 
73
73
  .gl-new-dropdown-button-text {
74
74
  @include gl-mr-auto;
75
- @include gl-overflow-hidden;
75
+ @apply gl-overflow-hidden;
76
76
  @apply gl-text-ellipsis;
77
77
  }
78
78
 
@@ -35,7 +35,7 @@ $path-chevron-right-margin: px-to-rem(14px);
35
35
  @apply gl-m-0;
36
36
  @apply gl-list-none;
37
37
  @apply gl-inline-flex;
38
- @include gl-overflow-hidden;
38
+ @apply gl-overflow-hidden;
39
39
  margin-left: -1px;
40
40
  position: relative;
41
41
  }
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  &:focus-within {
80
- @include gl-focus;
80
+ @apply gl-focus;
81
81
  }
82
82
 
83
83
  &.disabled,
@@ -39,7 +39,7 @@ table.gl-table {
39
39
  }
40
40
 
41
41
  &:focus-visible {
42
- @include gl-focus;
42
+ @apply gl-focus;
43
43
  position: relative;
44
44
  z-index: 1;
45
45
  }
@@ -158,7 +158,7 @@
158
158
  }
159
159
 
160
160
  .gl-scrollable-tabs-nav {
161
- @include gl-overflow-hidden;
161
+ @apply gl-overflow-hidden;
162
162
  position: relative;
163
163
  @include gl-flex-nowrap;
164
164
  }
@@ -92,7 +92,7 @@ $toggle-height: 2.5 * $grid-size;
92
92
  height: $toggle-height;
93
93
  @include gl-outline-none;
94
94
  user-select: none;
95
- @include gl-rounded-pill;
95
+ @apply gl-rounded-pill;
96
96
  @include gl-transition-slow;
97
97
  @apply gl-leading-normal;
98
98
 
@@ -112,7 +112,7 @@ $toggle-height: 2.5 * $grid-size;
112
112
  &:active,
113
113
  &:focus,
114
114
  &:focus:active {
115
- @include gl-focus;
115
+ @apply gl-focus;
116
116
  }
117
117
 
118
118
  .toggle-loading {
@@ -120,7 +120,7 @@ $toggle-height: 2.5 * $grid-size;
120
120
  }
121
121
 
122
122
  .toggle-icon {
123
- @include gl-rounded-full;
123
+ @apply gl-rounded-full;
124
124
  @apply gl-bg-white;
125
125
  position: absolute;
126
126
  @apply gl-inline-flex;
@@ -1,7 +1,7 @@
1
1
  .gl-token {
2
- @apply gl-text-gray-900;
3
- @apply gl-bg-gray-100;
4
- @include gl-rounded-small;
2
+ color: var(--gl-token-foreground-color);
3
+ background-color: var(--gl-token-background-color);
4
+ @apply gl-rounded-small;
5
5
  @apply gl-pl-3;
6
6
  @apply gl-inline-flex;
7
7
  @apply gl-flex-col;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .gl-token-search-type-variant {
17
- @apply gl-bg-gray-100;
17
+ background-color: var(--gl-token-background-color);
18
18
  @apply gl-rounded-tr-none;
19
19
  @apply gl-rounded-br-none;
20
20
  }
@@ -39,20 +39,6 @@
39
39
 
40
40
  .gl-token-close {
41
41
  @apply gl-ml-2;
42
- @apply gl-text-inherit;
43
- @include gl-cursor-pointer;
44
-
45
- opacity: 0.8;
46
42
  color: inherit !important;
47
43
  background-color: transparent !important;
48
-
49
- &:hover,
50
- &:focus {
51
- @include gl-opacity-10;
52
- }
53
-
54
- &:focus,
55
- &:hover:focus {
56
- @include gl-focus($important: true);
57
- }
58
44
  }
@@ -10,7 +10,7 @@ $legend-body-h: $gl-spacing-scale-13 - $gl-spacing-scale-4;
10
10
  .gl-legend-inline {
11
11
  // match the height of gl-legend-tabular (header + body)
12
12
  max-height: $gl-line-height-24 + $legend-body-h;
13
- @include gl-overflow-auto;
13
+ @apply gl-overflow-auto;
14
14
  }
15
15
  }
16
16
 
@@ -59,7 +59,7 @@ $legend-body-h: $gl-spacing-scale-13 - $gl-spacing-scale-4;
59
59
  .gl-legend-tabular-header-cell,
60
60
  .gl-legend-tabular-details-cell {
61
61
  @apply gl-whitespace-nowrap;
62
- @include gl-overflow-hidden;
62
+ @apply gl-overflow-hidden;
63
63
  @apply gl-text-ellipsis;
64
64
  @apply gl-text-right;
65
65
  @apply gl-w-1/8;
@@ -73,7 +73,7 @@ $legend-body-h: $gl-spacing-scale-13 - $gl-spacing-scale-4;
73
73
 
74
74
  .gl-legend-tabular-body {
75
75
  height: $legend-body-h;
76
- @include gl-overflow-y-auto;
76
+ @apply gl-overflow-y-auto;
77
77
  }
78
78
 
79
79
  .gl-legend-tabular-row {
@@ -91,7 +91,7 @@ $legend-body-h: $gl-spacing-scale-13 - $gl-spacing-scale-4;
91
91
  }
92
92
 
93
93
  .gl-legend-tabular-title-cell {
94
- @include gl-overflow-hidden;
94
+ @apply gl-overflow-hidden;
95
95
  @apply gl-w-1/2;
96
96
  }
97
97
  }
@@ -1,7 +1,7 @@
1
1
  .gl-series-label-container {
2
2
  @apply gl-flex;
3
3
  @apply gl-text-base;
4
- @include gl-overflow-hidden;
4
+ @apply gl-overflow-hidden;
5
5
  @apply gl-break-words;
6
6
  }
7
7
 
@@ -18,6 +18,6 @@
18
18
  // In case there are no spaces in the series label -
19
19
  // as there are quite a few possible cases where
20
20
  // Prometheus queries return long labels with no spaces.
21
- @include gl-overflow-hidden;
21
+ @apply gl-overflow-hidden;
22
22
  @apply gl-break-words;
23
23
  }
@@ -41,7 +41,7 @@ $duo-chat-scrim-gradient: linear-gradient(to bottom, rgba($gray-10, 0), $gray-10
41
41
  position: fixed;
42
42
  @apply gl-h-full;
43
43
  @apply gl-w-full;
44
- @include gl-overflow-y-auto;
44
+ @apply gl-overflow-y-auto;
45
45
  @include gl-shadow-lg;
46
46
  @apply gl-text-base;
47
47
  @apply gl-leading-normal;
@@ -5,6 +5,6 @@
5
5
  @apply gl-text-gray-500;
6
6
 
7
7
  &:focus {
8
- @include gl-focus;
8
+ @apply gl-focus;
9
9
  }
10
10
  }
@@ -497,6 +497,7 @@
497
497
  --gl-control-background-color-concatenation: var(--gl-color-neutral-10); /* Used for the background of static content that prepends or appends a text input. */
498
498
  --gl-control-background-color-disabled: var(--gl-color-neutral-10); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
499
499
  --gl-control-background-color-default: var(--gl-color-neutral-0); /* Used for form control (input, radio button, checkbox, textarea) default background. */
500
+ --gl-token-background-color: var(--gl-color-neutral-100); /* Used for the token background color. */
500
501
  --gl-tab-selected-indicator-color-default: var(--gl-color-blue-500); /* Used for the selected indicator of a tab. */
501
502
  --gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
502
503
  --gl-spinner-segment-color-default: var(--gl-color-neutral-700); /* Used for the animated segment of a loading spinner. */
@@ -520,6 +521,12 @@
520
521
  --gl-label-light-button-background-color-hover: var(--gl-color-neutral-950); /* Used for the label remove button background on a light background color in the hover state. */
521
522
  --gl-label-light-button-background-color-default: var(--gl-color-alpha-0); /* Used for the label remove button background on a light background color in the default state. */
522
523
  --gl-label-light-text-color: var(--gl-color-neutral-950); /* Used for the label text color on a light background color. */
524
+ --gl-filtered-search-token-operator-background-color-hover: var(--gl-color-neutral-200); /* Used for the filtered search operator token background color in the hover state. */
525
+ --gl-filtered-search-token-operator-background-color-default: var(--gl-color-neutral-50); /* Used for the filtered search operator background color in the default state. */
526
+ --gl-filtered-search-token-data-background-color-hover: var(--gl-color-neutral-200); /* Used for the filtered search data token background color in the hover state. */
527
+ --gl-filtered-search-token-data-background-color-default: var(--gl-color-neutral-100); /* Used for the filtered search data background color in the default state. */
528
+ --gl-filtered-search-token-type-background-color-hover: var(--gl-color-neutral-100); /* Used for the filtered search type token background color in the hover state. */
529
+ --gl-filtered-search-token-type-background-color-default: var(--gl-color-neutral-50); /* Used for the filtered search type token background color in the default state. */
523
530
  --gl-datepicker-background-color: var(--gl-color-neutral-0); /* Used for the background color of datepicker. */
524
531
  --gl-button-disabled-border-color: var(--gl-color-neutral-100); /* Used for the border of a disabled button. */
525
532
  --gl-button-disabled-background-color: var(--gl-color-neutral-10); /* Used for the background of a disabled button. */
@@ -762,6 +769,7 @@
762
769
  --gl-control-placeholder-color: var(--gl-text-color-disabled); /* Used for placeholder text within inputs. */
763
770
  --gl-control-text-color-valid: var(--gl-text-color-success); /* Used for the helper text when the input is valid. */
764
771
  --gl-control-text-color-error: var(--gl-text-color-danger); /* Used for the helper text when the input is invalid. */
772
+ --gl-token-foreground-color: var(--gl-text-color-default); /* Used for the token foreground color. */
765
773
  --gl-table-sorting-icon-color: var(--gl-text-color-heading); /* Used for the color of the sorting icons in the column headers. */
766
774
  --gl-table-row-background-color-hover: var(--gl-background-color-subtle); /* Used for the background of a table row in hover state. */
767
775
  --gl-datepicker-date-text-color-selected: var(--gl-control-indicator-color-selected); /* Used for the datepicker date text color state indicators. */
@@ -497,6 +497,7 @@
497
497
  --gl-control-background-color-concatenation: var(--gl-color-alpha-light-4); /* Used for the background of static content that prepends or appends a text input. */
498
498
  --gl-control-background-color-disabled: var(--gl-color-alpha-light-4); /* Used for disabled form control (checkbox, input, radio button, textarea) background. */
499
499
  --gl-control-background-color-default: var(--gl-color-alpha-dark-40); /* Used for form control (input, radio button, checkbox, textarea) default background. */
500
+ --gl-token-background-color: var(--gl-color-neutral-800); /* Used for the token background color. */
500
501
  --gl-tab-selected-indicator-color-default: var(--gl-color-blue-400); /* Used for the selected indicator of a tab. */
501
502
  --gl-spinner-segment-color-light: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner on a dark background. */
502
503
  --gl-spinner-segment-color-default: var(--gl-color-neutral-200); /* Used for the animated segment of a loading spinner. */
@@ -520,6 +521,12 @@
520
521
  --gl-label-light-button-background-color-hover: var(--gl-color-neutral-950); /* Used for the label remove button background on a light background color in the hover state. */
521
522
  --gl-label-light-button-background-color-default: var(--gl-color-alpha-0); /* Used for the label remove button background on a light background color in the default state. */
522
523
  --gl-label-light-text-color: var(--gl-color-neutral-950); /* Used for the label text color on a light background color. */
524
+ --gl-filtered-search-token-operator-background-color-hover: var(--gl-color-neutral-700); /* Used for the filtered search operator token background color in the hover state. */
525
+ --gl-filtered-search-token-operator-background-color-default: var(--gl-color-neutral-900); /* Used for the filtered search operator background color in the default state. */
526
+ --gl-filtered-search-token-data-background-color-hover: var(--gl-color-neutral-700); /* Used for the filtered search data token background color in the hover state. */
527
+ --gl-filtered-search-token-data-background-color-default: var(--gl-color-neutral-800); /* Used for the filtered search data background color in the default state. */
528
+ --gl-filtered-search-token-type-background-color-hover: var(--gl-color-neutral-800); /* Used for the filtered search type token background color in the hover state. */
529
+ --gl-filtered-search-token-type-background-color-default: var(--gl-color-neutral-900); /* Used for the filtered search type token background color in the default state. */
523
530
  --gl-datepicker-background-color: var(--gl-color-neutral-900); /* Used for the background color of datepicker. */
524
531
  --gl-button-disabled-border-color: var(--gl-color-neutral-800); /* Used for the border of a disabled button. */
525
532
  --gl-button-disabled-background-color: var(--gl-color-neutral-950); /* Used for the background of a disabled button. */
@@ -762,6 +769,7 @@
762
769
  --gl-control-placeholder-color: var(--gl-text-color-disabled); /* Used for placeholder text within inputs. */
763
770
  --gl-control-text-color-valid: var(--gl-text-color-success); /* Used for the helper text when the input is valid. */
764
771
  --gl-control-text-color-error: var(--gl-text-color-danger); /* Used for the helper text when the input is invalid. */
772
+ --gl-token-foreground-color: var(--gl-text-color-default); /* Used for the token foreground color. */
765
773
  --gl-table-sorting-icon-color: var(--gl-text-color-heading); /* Used for the color of the sorting icons in the column headers. */
766
774
  --gl-table-row-background-color-hover: var(--gl-background-color-subtle); /* Used for the background of a table row in hover state. */
767
775
  --gl-datepicker-date-text-color-selected: var(--gl-control-indicator-color-selected); /* Used for the datepicker date text color state indicators. */
@@ -627,6 +627,12 @@ export const GL_BUTTON_DISABLED_BACKGROUND_COLOR = '#18171d'; // Used for the ba
627
627
  export const GL_BUTTON_DISABLED_BORDER_COLOR = '#3a383f'; // Used for the border of a disabled button.
628
628
  export const GL_DATEPICKER_BACKGROUND_COLOR = '#28272d'; // Used for the background color of datepicker.
629
629
  export const GL_DATEPICKER_DATE_TEXT_COLOR_SELECTED = '#18171d'; // Used for the datepicker date text color state indicators.
630
+ export const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_DEFAULT = '#28272d'; // Used for the filtered search type token background color in the default state.
631
+ export const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_HOVER = '#3a383f'; // Used for the filtered search type token background color in the hover state.
632
+ export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_DEFAULT = '#3a383f'; // Used for the filtered search data background color in the default state.
633
+ export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_HOVER = '#4c4b51'; // Used for the filtered search data token background color in the hover state.
634
+ export const GL_FILTERED_SEARCH_TOKEN_OPERATOR_BACKGROUND_COLOR_DEFAULT = '#28272d'; // Used for the filtered search operator background color in the default state.
635
+ export const GL_FILTERED_SEARCH_TOKEN_OPERATOR_BACKGROUND_COLOR_HOVER = '#4c4b51'; // Used for the filtered search operator token background color in the hover state.
630
636
  export const GL_LABEL_LIGHT_TEXT_COLOR = '#18171d'; // Used for the label text color on a light background color.
631
637
  export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_DEFAULT = 'transparent'; // Used for the label remove button background on a light background color in the default state.
632
638
  export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_HOVER = '#18171d'; // Used for the label remove button background on a light background color in the hover state.
@@ -652,6 +658,8 @@ export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animate
652
658
  export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#28272d'; // Used for the background of a table row in hover state.
653
659
  export const GL_TABLE_SORTING_ICON_COLOR = '#fff'; // Used for the color of the sorting icons in the column headers.
654
660
  export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#428fdc'; // Used for the selected indicator of a tab.
661
+ export const GL_TOKEN_FOREGROUND_COLOR = '#ececef'; // Used for the token foreground color.
662
+ export const GL_TOKEN_BACKGROUND_COLOR = '#3a383f'; // Used for the token background color.
655
663
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = 'rgba(05, 05, 06, 0.4)'; // Used for form control (input, radio button, checkbox, textarea) default background.
656
664
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = 'rgba(255, 255, 255, 0.04)'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
657
665
  export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = 'rgba(255, 255, 255, 0.04)'; // Used for the background of static content that prepends or appends a text input.
@@ -627,6 +627,12 @@ export const GL_BUTTON_DISABLED_BACKGROUND_COLOR = '#fbfafd'; // Used for the ba
627
627
  export const GL_BUTTON_DISABLED_BORDER_COLOR = '#dcdcde'; // Used for the border of a disabled button.
628
628
  export const GL_DATEPICKER_BACKGROUND_COLOR = '#fff'; // Used for the background color of datepicker.
629
629
  export const GL_DATEPICKER_DATE_TEXT_COLOR_SELECTED = '#fff'; // Used for the datepicker date text color state indicators.
630
+ export const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_DEFAULT = '#ececef'; // Used for the filtered search type token background color in the default state.
631
+ export const GL_FILTERED_SEARCH_TOKEN_TYPE_BACKGROUND_COLOR_HOVER = '#dcdcde'; // Used for the filtered search type token background color in the hover state.
632
+ export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_DEFAULT = '#dcdcde'; // Used for the filtered search data background color in the default state.
633
+ export const GL_FILTERED_SEARCH_TOKEN_DATA_BACKGROUND_COLOR_HOVER = '#bfbfc3'; // Used for the filtered search data token background color in the hover state.
634
+ export const GL_FILTERED_SEARCH_TOKEN_OPERATOR_BACKGROUND_COLOR_DEFAULT = '#ececef'; // Used for the filtered search operator background color in the default state.
635
+ export const GL_FILTERED_SEARCH_TOKEN_OPERATOR_BACKGROUND_COLOR_HOVER = '#bfbfc3'; // Used for the filtered search operator token background color in the hover state.
630
636
  export const GL_LABEL_LIGHT_TEXT_COLOR = '#18171d'; // Used for the label text color on a light background color.
631
637
  export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_DEFAULT = 'transparent'; // Used for the label remove button background on a light background color in the default state.
632
638
  export const GL_LABEL_LIGHT_BUTTON_BACKGROUND_COLOR_HOVER = '#18171d'; // Used for the label remove button background on a light background color in the hover state.
@@ -652,6 +658,8 @@ export const GL_SPINNER_SEGMENT_COLOR_LIGHT = '#bfbfc3'; // Used for the animate
652
658
  export const GL_TABLE_ROW_BACKGROUND_COLOR_HOVER = '#fbfafd'; // Used for the background of a table row in hover state.
653
659
  export const GL_TABLE_SORTING_ICON_COLOR = '#18171d'; // Used for the color of the sorting icons in the column headers.
654
660
  export const GL_TAB_SELECTED_INDICATOR_COLOR_DEFAULT = '#1f75cb'; // Used for the selected indicator of a tab.
661
+ export const GL_TOKEN_FOREGROUND_COLOR = '#3a383f'; // Used for the token foreground color.
662
+ export const GL_TOKEN_BACKGROUND_COLOR = '#dcdcde'; // Used for the token background color.
655
663
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = '#fff'; // Used for form control (input, radio button, checkbox, textarea) default background.
656
664
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = '#fbfafd'; // Used for disabled form control (checkbox, input, radio button, textarea) background.
657
665
  export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = '#fbfafd'; // Used for the background of static content that prepends or appends a text input.