@gitlab/ui 114.1.1 → 114.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 (31) hide show
  1. package/dist/components/base/breadcrumb/breadcrumb.js +4 -16
  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/breadcrumb/breadcrumb.scss +18 -2
  19. package/src/components/base/breadcrumb/breadcrumb.vue +4 -17
  20. package/src/components/base/table/table.scss +22 -23
  21. package/src/tokens/build/css/tokens.css +4 -0
  22. package/src/tokens/build/css/tokens.dark.css +4 -0
  23. package/src/tokens/build/figma/semantic.tokens.json +46 -0
  24. package/src/tokens/build/js/tokens.dark.js +4 -0
  25. package/src/tokens/build/js/tokens.js +4 -0
  26. package/src/tokens/build/json/tokens.dark.json +106 -0
  27. package/src/tokens/build/json/tokens.json +106 -0
  28. package/src/tokens/build/scss/_tokens.dark.scss +4 -0
  29. package/src/tokens/build/scss/_tokens.scss +4 -0
  30. package/src/tokens/build/scss/_tokens_custom_properties.scss +4 -0
  31. package/src/tokens/semantic/highlight.tokens.json +48 -0
@@ -23010,6 +23010,112 @@
23010
23010
  }
23011
23011
  }
23012
23012
  },
23013
+ "highlight": {
23014
+ "match": {
23015
+ "background": {
23016
+ "color": {
23017
+ "$value": "#ab6100",
23018
+ "$type": "color",
23019
+ "$description": "Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning.",
23020
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23021
+ "isSource": true,
23022
+ "original": {
23023
+ "$value": {
23024
+ "default": "{color.orange.500}",
23025
+ "dark": "{color.orange.200}"
23026
+ },
23027
+ "$type": "color",
23028
+ "$description": "Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning."
23029
+ },
23030
+ "name": "HIGHLIGHT_MATCH_BACKGROUND_COLOR",
23031
+ "attributes": {},
23032
+ "path": [
23033
+ "highlight",
23034
+ "match",
23035
+ "background",
23036
+ "color"
23037
+ ]
23038
+ }
23039
+ },
23040
+ "text": {
23041
+ "color": {
23042
+ "$value": "#fff",
23043
+ "$type": "color",
23044
+ "$description": "Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status.",
23045
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23046
+ "isSource": true,
23047
+ "original": {
23048
+ "$value": {
23049
+ "default": "{color.neutral.0}",
23050
+ "dark": "{color.neutral.950}"
23051
+ },
23052
+ "$type": "color",
23053
+ "$description": "Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status."
23054
+ },
23055
+ "name": "HIGHLIGHT_MATCH_TEXT_COLOR",
23056
+ "attributes": {},
23057
+ "path": [
23058
+ "highlight",
23059
+ "match",
23060
+ "text",
23061
+ "color"
23062
+ ]
23063
+ }
23064
+ }
23065
+ },
23066
+ "target": {
23067
+ "background": {
23068
+ "color": {
23069
+ "$value": "#e9f3fc",
23070
+ "$type": "color",
23071
+ "$description": "Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action.",
23072
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23073
+ "isSource": true,
23074
+ "original": {
23075
+ "$value": {
23076
+ "default": "{color.blue.50}",
23077
+ "dark": "{color.blue.950}"
23078
+ },
23079
+ "$type": "color",
23080
+ "$description": "Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action."
23081
+ },
23082
+ "name": "HIGHLIGHT_TARGET_BACKGROUND_COLOR",
23083
+ "attributes": {},
23084
+ "path": [
23085
+ "highlight",
23086
+ "target",
23087
+ "background",
23088
+ "color"
23089
+ ]
23090
+ }
23091
+ },
23092
+ "border": {
23093
+ "color": {
23094
+ "$value": "#9dc7f1",
23095
+ "$type": "color",
23096
+ "$description": "Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states.",
23097
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23098
+ "isSource": true,
23099
+ "original": {
23100
+ "$value": {
23101
+ "default": "{color.blue.200}",
23102
+ "dark": "{color.blue.700}"
23103
+ },
23104
+ "$type": "color",
23105
+ "$description": "Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states."
23106
+ },
23107
+ "name": "HIGHLIGHT_TARGET_BORDER_COLOR",
23108
+ "attributes": {},
23109
+ "path": [
23110
+ "highlight",
23111
+ "target",
23112
+ "border",
23113
+ "color"
23114
+ ]
23115
+ }
23116
+ }
23117
+ }
23118
+ },
23013
23119
  "icon": {
23014
23120
  "color": {
23015
23121
  "default": {
@@ -829,6 +829,10 @@ $gl-feedback-danger-background-color: $gl-color-red-900; // Used for the backgro
829
829
  $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.
830
830
  $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.
831
831
  $gl-focus-ring-outer-color: $gl-color-blue-400; // Used for the outer color portion of the focus ring.
832
+ $gl-highlight-match-background-color: $gl-color-orange-200; // Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning.
833
+ $gl-highlight-match-text-color: $gl-color-neutral-950; // Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status.
834
+ $gl-highlight-target-background-color: $gl-color-blue-950; // Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action.
835
+ $gl-highlight-target-border-color: $gl-color-blue-700; // Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states.
832
836
  $gl-icon-color-info: $gl-color-blue-200; // Used for an icon associated with information or help.
833
837
  $gl-shadow-color-default: $gl-color-alpha-dark-40; // Used for the default shadow color.
834
838
  $gl-status-neutral-background-color: $gl-color-neutral-800; // Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state.
@@ -829,6 +829,10 @@ $gl-feedback-danger-background-color: $gl-color-red-50; // Used for the backgrou
829
829
  $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.
830
830
  $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.
831
831
  $gl-focus-ring-outer-color: $gl-color-blue-500; // Used for the outer color portion of the focus ring.
832
+ $gl-highlight-match-background-color: $gl-color-orange-500; // Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning.
833
+ $gl-highlight-match-text-color: $gl-color-neutral-0; // Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status.
834
+ $gl-highlight-target-background-color: $gl-color-blue-50; // Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action.
835
+ $gl-highlight-target-border-color: $gl-color-blue-200; // Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states.
832
836
  $gl-icon-color-info: $gl-color-blue-700; // Used for an icon associated with information or help.
833
837
  $gl-shadow-color-default: $gl-color-alpha-dark-16; // Used for the default shadow color.
834
838
  $gl-status-neutral-background-color: $gl-color-neutral-100; // Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state.
@@ -1005,6 +1005,10 @@ $gl-feedback-danger-text-color: var(--gl-feedback-danger-text-color);
1005
1005
  $gl-feedback-danger-icon-color: var(--gl-feedback-danger-icon-color);
1006
1006
  $gl-focus-ring-outer-color: var(--gl-focus-ring-outer-color);
1007
1007
  $gl-focus-ring-inner-color: var(--gl-focus-ring-inner-color);
1008
+ $gl-highlight-match-background-color: var(--gl-highlight-match-background-color);
1009
+ $gl-highlight-match-text-color: var(--gl-highlight-match-text-color);
1010
+ $gl-highlight-target-background-color: var(--gl-highlight-target-background-color);
1011
+ $gl-highlight-target-border-color: var(--gl-highlight-target-border-color);
1008
1012
  $gl-icon-color-default: var(--gl-icon-color-default);
1009
1013
  $gl-icon-color-subtle: var(--gl-icon-color-subtle);
1010
1014
  $gl-icon-color-strong: var(--gl-icon-color-strong);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "114.1.1",
3
+ "version": "114.2.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -1,5 +1,22 @@
1
1
  ## Usage
2
2
 
3
+ The `GlBreadcrumb` component comes with a smart auto-resize feature. When there is not enough space
4
+ to show all breadcrumb `items` in a single row, the component moves items into an ellipsis dropdown,
5
+ starting with the first one. The last breadcrumb item (which represents the current page) stays
6
+ always visible.
7
+
8
+ ### Auto-resize
9
+
10
+ **Important:** For the auto-resize to function correctly it is necessary that the `GlBreadcrumb`
11
+ component itself takes all the horizontal space it can get. How to do this depends on the
12
+ CSS `display` mode (block, flex, grid) of its parent element.
13
+
14
+ **Example:** In a flexbox layout, allow the component to `flex-grow`:
15
+
16
+ ```js
17
+ <gl-breadcrumb class="gl-grow" :items="items" />
18
+ ```
19
+
3
20
  ### `items` prop
4
21
 
5
22
  This component also allows for optional avatars on each item.
@@ -33,8 +33,9 @@ $breadcrumb-max-width: $grid-size * 16;
33
33
  text-decoration-thickness: auto;
34
34
  text-decoration-style: solid;
35
35
  text-decoration-color: transparent;
36
- transition: box-shadow $gl-transition-duration-medium $gl-easing-out-cubic,
37
- text-decoration-color $gl-transition-duration-medium $gl-easing-out-cubic;
36
+ transition:
37
+ box-shadow $gl-transition-duration-medium $gl-easing-out-cubic,
38
+ text-decoration-color $gl-transition-duration-medium $gl-easing-out-cubic;
38
39
  @include gl-prefers-reduced-motion-transition;
39
40
 
40
41
  &:hover {
@@ -66,4 +67,19 @@ $breadcrumb-max-width: $grid-size * 16;
66
67
 
67
68
  .gl-breadcrumb-item-md {
68
69
  @apply gl-text-base;
70
+
71
+ /**
72
+ * If the last/only item, which is always visible, has a very long title,
73
+ * it could overflow the breadcrumb component. This CSS makes sure it
74
+ * shows an ellipsis instead.
75
+ * But this CSS cannot be active while we do the size calculation, as that
76
+ * would then not take the real unshrunk width of that item into account.
77
+ */
78
+ &.gl-breadcrumb-only-item {
79
+ @apply gl-max-w-full gl-shrink;
80
+
81
+ a {
82
+ @apply gl-max-w-full gl-overflow-hidden gl-text-ellipsis gl-text-nowrap;
83
+ }
84
+ }
69
85
  }
@@ -81,23 +81,11 @@ export default {
81
81
  breadcrumbStyle() {
82
82
  return this.resizeDone ? {} : { opacity: 0 };
83
83
  },
84
- itemStyle() {
85
- /**
86
- * If the last/only item, which is always visible, has a very long title,
87
- * it could overflow the breadcrumb component. This CSS makes sure it
88
- * shows an ellipsis instead.
89
- * But this CSS cannot be active while we do the size calculation, as that
90
- * would then not take the real unshrunk width of that item into account.
91
- */
84
+ itemClass() {
92
85
  if (this.resizeDone && this.fittingItems.length === 1) {
93
- return {
94
- 'flex-shrink': 1,
95
- 'text-overflow': 'ellipsis',
96
- 'overflow-x': 'hidden',
97
- 'text-wrap': 'nowrap',
98
- };
86
+ return 'gl-breadcrumb-only-item';
99
87
  }
100
- return {};
88
+ return '';
101
89
  },
102
90
  dropdownSize() {
103
91
  return this.size === 'sm' ? 'small' : 'medium';
@@ -231,11 +219,10 @@ export default {
231
219
  :key="index"
232
220
  :text="item.text"
233
221
  :href="item.href"
234
- :style="itemStyle"
235
222
  :to="item.to"
236
223
  :size="size"
237
224
  :aria-current="getAriaCurrentAttr(index)"
238
- :class="hideItemClass(item)"
225
+ :class="[hideItemClass(item), itemClass]"
239
226
  ><gl-avatar
240
227
  v-if="item.avatarPath"
241
228
  :src="item.avatarPath"
@@ -10,37 +10,35 @@ table.gl-table {
10
10
  @apply gl-leading-normal;
11
11
  @apply gl-text-base;
12
12
  @apply gl-align-top;
13
+ @apply gl-text-default;
14
+ @apply gl-font-normal;
13
15
  }
14
16
 
15
- th {
16
- @apply gl-text-heading gl-font-bold;
17
+ &:focus-visible {
18
+ @apply gl-focus;
19
+ position: relative;
20
+ z-index: 1;
21
+ }
22
+ }
17
23
 
18
- .gl-table-th-sort-icon-wrapper {
19
- @apply gl-ml-2;
20
- }
24
+ thead tr th {
25
+ @apply gl-text-heading gl-font-bold;
21
26
 
22
- &.gl-table-th-align-right > div {
23
- @apply gl-flex-row-reverse;
27
+ .gl-table-th-sort-icon-wrapper {
28
+ @apply gl-ml-2;
29
+ }
24
30
 
25
- .gl-table-th-sort-icon-wrapper {
26
- @apply gl-ml-0 gl-mr-2;
27
- }
28
- }
31
+ &.gl-table-th-align-right > div {
32
+ @apply gl-flex-row-reverse;
29
33
 
30
- [name='sort-icon'] {
31
- user-select: none;
32
- color: var(--gl-table-sorting-icon-color);
34
+ .gl-table-th-sort-icon-wrapper {
35
+ @apply gl-ml-0 gl-mr-2;
33
36
  }
34
37
  }
35
38
 
36
- td {
37
- @apply gl-text-default;
38
- }
39
-
40
- &:focus-visible {
41
- @apply gl-focus;
42
- position: relative;
43
- z-index: 1;
39
+ [name='sort-icon'] {
40
+ user-select: none;
41
+ color: var(--gl-table-sorting-icon-color);
44
42
  }
45
43
  }
46
44
 
@@ -74,7 +72,8 @@ table.gl-table {
74
72
  @apply gl-block;
75
73
  }
76
74
 
77
- > td[data-label] {
75
+ > td[data-label],
76
+ > th[data-label] {
78
77
  @apply gl-border-l-1 gl-border-r-1 gl-border-l-solid gl-border-r-solid;
79
78
 
80
79
  &::before {
@@ -831,6 +831,10 @@
831
831
  --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. */
832
832
  --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. */
833
833
  --gl-focus-ring-outer-color: var(--gl-color-blue-500); /* Used for the outer color portion of the focus ring. */
834
+ --gl-highlight-match-background-color: var(--gl-color-orange-500); /* Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning. */
835
+ --gl-highlight-match-text-color: var(--gl-color-neutral-0); /* Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status. */
836
+ --gl-highlight-target-background-color: var(--gl-color-blue-50); /* Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action. */
837
+ --gl-highlight-target-border-color: var(--gl-color-blue-200); /* Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states. */
834
838
  --gl-icon-color-info: var(--gl-color-blue-700); /* Used for an icon associated with information or help. */
835
839
  --gl-shadow-color-default: var(--gl-color-alpha-dark-16); /* Used for the default shadow color. */
836
840
  --gl-status-neutral-background-color: var(--gl-color-neutral-100); /* Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
@@ -831,6 +831,10 @@
831
831
  --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. */
832
832
  --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. */
833
833
  --gl-focus-ring-outer-color: var(--gl-color-blue-400); /* Used for the outer color portion of the focus ring. */
834
+ --gl-highlight-match-background-color: var(--gl-color-orange-200); /* Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning. */
835
+ --gl-highlight-match-text-color: var(--gl-color-neutral-950); /* Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status. */
836
+ --gl-highlight-target-background-color: var(--gl-color-blue-950); /* Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action. */
837
+ --gl-highlight-target-border-color: var(--gl-color-blue-700); /* Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states. */
834
838
  --gl-icon-color-info: var(--gl-color-blue-200); /* Used for an icon associated with information or help. */
835
839
  --gl-shadow-color-default: var(--gl-color-alpha-dark-40); /* Used for the default shadow color. */
836
840
  --gl-status-neutral-background-color: var(--gl-color-neutral-800); /* Used for the background of a neutral status item when the status is neither positive nor negative, or when indicating a special but stable state. */
@@ -1059,6 +1059,52 @@
1059
1059
  }
1060
1060
  }
1061
1061
  },
1062
+ "highlight": {
1063
+ "match": {
1064
+ "background": {
1065
+ "color": {
1066
+ "$value": {
1067
+ "default": "{color.orange.500}",
1068
+ "dark": "{color.orange.200}"
1069
+ },
1070
+ "$type": "color",
1071
+ "$description": "Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning."
1072
+ }
1073
+ },
1074
+ "text": {
1075
+ "color": {
1076
+ "$value": {
1077
+ "default": "{color.neutral.0}",
1078
+ "dark": "{color.neutral.950}"
1079
+ },
1080
+ "$type": "color",
1081
+ "$description": "Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status."
1082
+ }
1083
+ }
1084
+ },
1085
+ "target": {
1086
+ "background": {
1087
+ "color": {
1088
+ "$value": {
1089
+ "default": "{color.blue.50}",
1090
+ "dark": "{color.blue.950}"
1091
+ },
1092
+ "$type": "color",
1093
+ "$description": "Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action."
1094
+ }
1095
+ },
1096
+ "border": {
1097
+ "color": {
1098
+ "$value": {
1099
+ "default": "{color.blue.200}",
1100
+ "dark": "{color.blue.700}"
1101
+ },
1102
+ "$type": "color",
1103
+ "$description": "Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states."
1104
+ }
1105
+ }
1106
+ }
1107
+ },
1062
1108
  "icon": {
1063
1109
  "color": {
1064
1110
  "default": {
@@ -1005,6 +1005,10 @@ export const GL_FEEDBACK_DANGER_TEXT_COLOR = '#fcb5aa';
1005
1005
  export const GL_FEEDBACK_DANGER_ICON_COLOR = '#f6806d';
1006
1006
  export const GL_FOCUS_RING_OUTER_COLOR = '#428fdc';
1007
1007
  export const GL_FOCUS_RING_INNER_COLOR = '#18171d';
1008
+ export const GL_HIGHLIGHT_MATCH_BACKGROUND_COLOR = '#e9be74';
1009
+ export const GL_HIGHLIGHT_MATCH_TEXT_COLOR = '#18171d';
1010
+ export const GL_HIGHLIGHT_TARGET_BACKGROUND_COLOR = '#1d283e';
1011
+ export const GL_HIGHLIGHT_TARGET_BORDER_COLOR = '#2f5ca0';
1008
1012
  export const GL_ICON_COLOR_DEFAULT = '#ececef';
1009
1013
  export const GL_ICON_COLOR_SUBTLE = '#bfbfc3';
1010
1014
  export const GL_ICON_COLOR_STRONG = '#fff';
@@ -1005,6 +1005,10 @@ export const GL_FEEDBACK_DANGER_TEXT_COLOR = '#a32c12';
1005
1005
  export const GL_FEEDBACK_DANGER_ICON_COLOR = '#c02f12';
1006
1006
  export const GL_FOCUS_RING_OUTER_COLOR = '#1f75cb';
1007
1007
  export const GL_FOCUS_RING_INNER_COLOR = '#fff';
1008
+ export const GL_HIGHLIGHT_MATCH_BACKGROUND_COLOR = '#ab6100';
1009
+ export const GL_HIGHLIGHT_MATCH_TEXT_COLOR = '#fff';
1010
+ export const GL_HIGHLIGHT_TARGET_BACKGROUND_COLOR = '#e9f3fc';
1011
+ export const GL_HIGHLIGHT_TARGET_BORDER_COLOR = '#9dc7f1';
1008
1012
  export const GL_ICON_COLOR_DEFAULT = '#3a383f';
1009
1013
  export const GL_ICON_COLOR_SUBTLE = '#626168';
1010
1014
  export const GL_ICON_COLOR_STRONG = '#18171d';
@@ -23010,6 +23010,112 @@
23010
23010
  }
23011
23011
  }
23012
23012
  },
23013
+ "highlight": {
23014
+ "match": {
23015
+ "background": {
23016
+ "color": {
23017
+ "$value": "#e9be74",
23018
+ "$type": "color",
23019
+ "$description": "Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning.",
23020
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23021
+ "isSource": true,
23022
+ "original": {
23023
+ "$value": {
23024
+ "default": "{color.orange.500}",
23025
+ "dark": "{color.orange.200}"
23026
+ },
23027
+ "$type": "color",
23028
+ "$description": "Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning."
23029
+ },
23030
+ "name": "HIGHLIGHT_MATCH_BACKGROUND_COLOR",
23031
+ "attributes": {},
23032
+ "path": [
23033
+ "highlight",
23034
+ "match",
23035
+ "background",
23036
+ "color"
23037
+ ]
23038
+ }
23039
+ },
23040
+ "text": {
23041
+ "color": {
23042
+ "$value": "#18171d",
23043
+ "$type": "color",
23044
+ "$description": "Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status.",
23045
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23046
+ "isSource": true,
23047
+ "original": {
23048
+ "$value": {
23049
+ "default": "{color.neutral.0}",
23050
+ "dark": "{color.neutral.950}"
23051
+ },
23052
+ "$type": "color",
23053
+ "$description": "Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status."
23054
+ },
23055
+ "name": "HIGHLIGHT_MATCH_TEXT_COLOR",
23056
+ "attributes": {},
23057
+ "path": [
23058
+ "highlight",
23059
+ "match",
23060
+ "text",
23061
+ "color"
23062
+ ]
23063
+ }
23064
+ }
23065
+ },
23066
+ "target": {
23067
+ "background": {
23068
+ "color": {
23069
+ "$value": "#1d283e",
23070
+ "$type": "color",
23071
+ "$description": "Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action.",
23072
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23073
+ "isSource": true,
23074
+ "original": {
23075
+ "$value": {
23076
+ "default": "{color.blue.50}",
23077
+ "dark": "{color.blue.950}"
23078
+ },
23079
+ "$type": "color",
23080
+ "$description": "Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action."
23081
+ },
23082
+ "name": "HIGHLIGHT_TARGET_BACKGROUND_COLOR",
23083
+ "attributes": {},
23084
+ "path": [
23085
+ "highlight",
23086
+ "target",
23087
+ "background",
23088
+ "color"
23089
+ ]
23090
+ }
23091
+ },
23092
+ "border": {
23093
+ "color": {
23094
+ "$value": "#2f5ca0",
23095
+ "$type": "color",
23096
+ "$description": "Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states.",
23097
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23098
+ "isSource": true,
23099
+ "original": {
23100
+ "$value": {
23101
+ "default": "{color.blue.200}",
23102
+ "dark": "{color.blue.700}"
23103
+ },
23104
+ "$type": "color",
23105
+ "$description": "Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states."
23106
+ },
23107
+ "name": "HIGHLIGHT_TARGET_BORDER_COLOR",
23108
+ "attributes": {},
23109
+ "path": [
23110
+ "highlight",
23111
+ "target",
23112
+ "border",
23113
+ "color"
23114
+ ]
23115
+ }
23116
+ }
23117
+ }
23118
+ },
23013
23119
  "icon": {
23014
23120
  "color": {
23015
23121
  "default": {
@@ -23010,6 +23010,112 @@
23010
23010
  }
23011
23011
  }
23012
23012
  },
23013
+ "highlight": {
23014
+ "match": {
23015
+ "background": {
23016
+ "color": {
23017
+ "$value": "#ab6100",
23018
+ "$type": "color",
23019
+ "$description": "Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning.",
23020
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23021
+ "isSource": true,
23022
+ "original": {
23023
+ "$value": {
23024
+ "default": "{color.orange.500}",
23025
+ "dark": "{color.orange.200}"
23026
+ },
23027
+ "$type": "color",
23028
+ "$description": "Used for temporary visual emphasis of backgrounds of matched search terms, filtered results, or autocomplete suggestions without implying any particular state or meaning."
23029
+ },
23030
+ "name": "HIGHLIGHT_MATCH_BACKGROUND_COLOR",
23031
+ "attributes": {},
23032
+ "path": [
23033
+ "highlight",
23034
+ "match",
23035
+ "background",
23036
+ "color"
23037
+ ]
23038
+ }
23039
+ },
23040
+ "text": {
23041
+ "color": {
23042
+ "$value": "#fff",
23043
+ "$type": "color",
23044
+ "$description": "Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status.",
23045
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23046
+ "isSource": true,
23047
+ "original": {
23048
+ "$value": {
23049
+ "default": "{color.neutral.0}",
23050
+ "dark": "{color.neutral.950}"
23051
+ },
23052
+ "$type": "color",
23053
+ "$description": "Used for text within temporarily highlighted matches to maintain readability while drawing attention without conveying status."
23054
+ },
23055
+ "name": "HIGHLIGHT_MATCH_TEXT_COLOR",
23056
+ "attributes": {},
23057
+ "path": [
23058
+ "highlight",
23059
+ "match",
23060
+ "text",
23061
+ "color"
23062
+ ]
23063
+ }
23064
+ }
23065
+ },
23066
+ "target": {
23067
+ "background": {
23068
+ "color": {
23069
+ "$value": "#e9f3fc",
23070
+ "$type": "color",
23071
+ "$description": "Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action.",
23072
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23073
+ "isSource": true,
23074
+ "original": {
23075
+ "$value": {
23076
+ "default": "{color.blue.50}",
23077
+ "dark": "{color.blue.950}"
23078
+ },
23079
+ "$type": "color",
23080
+ "$description": "Used for temporary visual emphasis for backgrounds of referenced elements (for example URL anchors, hover states) or to show relationships between content without implying status or requiring action."
23081
+ },
23082
+ "name": "HIGHLIGHT_TARGET_BACKGROUND_COLOR",
23083
+ "attributes": {},
23084
+ "path": [
23085
+ "highlight",
23086
+ "target",
23087
+ "background",
23088
+ "color"
23089
+ ]
23090
+ }
23091
+ },
23092
+ "border": {
23093
+ "color": {
23094
+ "$value": "#9dc7f1",
23095
+ "$type": "color",
23096
+ "$description": "Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states.",
23097
+ "filePath": "src/tokens/semantic/highlight.tokens.json",
23098
+ "isSource": true,
23099
+ "original": {
23100
+ "$value": {
23101
+ "default": "{color.blue.200}",
23102
+ "dark": "{color.blue.700}"
23103
+ },
23104
+ "$type": "color",
23105
+ "$description": "Used to provide additional visual emphasis for borders of temporarily targeted elements or when visualizing connections between related content, distinct from persistent states."
23106
+ },
23107
+ "name": "HIGHLIGHT_TARGET_BORDER_COLOR",
23108
+ "attributes": {},
23109
+ "path": [
23110
+ "highlight",
23111
+ "target",
23112
+ "border",
23113
+ "color"
23114
+ ]
23115
+ }
23116
+ }
23117
+ }
23118
+ },
23013
23119
  "icon": {
23014
23120
  "color": {
23015
23121
  "default": {