@gitlab/ui 122.7.0 → 122.9.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 (86) hide show
  1. package/README.md +5 -2
  2. package/dist/components/base/breadcrumb/breadcrumb.js +1 -1
  3. package/dist/components/base/search_box_by_click/search_box_by_click.js +1 -1
  4. package/dist/components/dashboards/dashboard_panel/dashboard_panel.js +1 -1
  5. package/dist/components/regions/dashboard_skeleton/dashboard_skeleton.js +1 -1
  6. package/dist/index.css +2 -2
  7. package/dist/index.css.map +1 -1
  8. package/dist/tailwind.css +1 -1
  9. package/dist/tailwind.css.map +1 -1
  10. package/dist/tokens/build/js/tokens.dark.js +25 -7
  11. package/dist/tokens/build/js/tokens.js +24 -6
  12. package/dist/tokens/css/tokens.css +23 -5
  13. package/dist/tokens/css/tokens.dark.css +24 -6
  14. package/dist/tokens/docs/tokens-tailwind-docs.dark.json +356 -0
  15. package/dist/tokens/docs/tokens-tailwind-docs.json +356 -0
  16. package/dist/tokens/figma/constants.tokens.json +94 -0
  17. package/dist/tokens/figma/contextual.tokens.json +80 -1
  18. package/dist/tokens/figma/semantic.tokens.json +34 -0
  19. package/dist/tokens/js/tokens.dark.js +24 -6
  20. package/dist/tokens/js/tokens.js +23 -5
  21. package/dist/tokens/json/tokens.dark.json +750 -173
  22. package/dist/tokens/json/tokens.json +749 -172
  23. package/dist/tokens/scss/_tokens.dark.scss +24 -6
  24. package/dist/tokens/scss/_tokens.scss +23 -5
  25. package/dist/tokens/scss/_tokens_custom_properties.scss +23 -5
  26. package/dist/tokens/tailwind/tokens.cjs +2 -0
  27. package/package.json +1 -1
  28. package/src/components/base/alert/alert.scss +1 -1
  29. package/src/components/base/avatar/avatar.scss +3 -3
  30. package/src/components/base/avatars_inline/avatars_inline.scss +1 -1
  31. package/src/components/base/breadcrumb/breadcrumb.scss +1 -1
  32. package/src/components/base/breadcrumb/breadcrumb.vue +1 -1
  33. package/src/components/base/broadcast_message/broadcast_message.scss +1 -1
  34. package/src/components/base/button/button.scss +1 -1
  35. package/src/components/base/card/card.scss +5 -5
  36. package/src/components/base/datepicker/datepicker.scss +3 -3
  37. package/src/components/base/dropdown/dropdown.scss +1 -1
  38. package/src/components/base/filtered_search/filtered_search.scss +1 -1
  39. package/src/components/base/filtered_search/filtered_search_suggestion_list.scss +1 -1
  40. package/src/components/base/form/form_input/form_input.scss +1 -0
  41. package/src/components/base/form/form_select/form_select.scss +1 -0
  42. package/src/components/base/form/input_group_text/input_group_text.scss +6 -5
  43. package/src/components/base/keyset_pagination/keyset_pagination.scss +1 -1
  44. package/src/components/base/link/link.scss +1 -1
  45. package/src/components/base/markdown/markdown.scss +3 -3
  46. package/src/components/base/modal/modal.scss +5 -5
  47. package/src/components/base/new_dropdowns/dropdown.scss +1 -6
  48. package/src/components/base/new_dropdowns/dropdown_item.scss +1 -1
  49. package/src/components/base/pagination/pagination.scss +2 -2
  50. package/src/components/base/path/path.scss +2 -2
  51. package/src/components/base/search_box_by_click/search_box_by_click.vue +1 -1
  52. package/src/components/base/tabs/tabs/tabs.scss +1 -1
  53. package/src/components/base/toast/toast.scss +1 -1
  54. package/src/components/base/token/token.scss +1 -1
  55. package/src/components/base/tooltip/tooltip.scss +1 -1
  56. package/src/components/charts/single_stat/single_stat.scss +1 -1
  57. package/src/components/dashboards/dashboard_panel/dashboard_panel.vue +2 -2
  58. package/src/components/regions/dashboard_skeleton/dashboard_skeleton.vue +1 -1
  59. package/src/scss/mixins.scss +2 -2
  60. package/src/scss/variables.scss +0 -1
  61. package/src/tokens/build/css/tokens.css +23 -5
  62. package/src/tokens/build/css/tokens.dark.css +24 -6
  63. package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +356 -0
  64. package/src/tokens/build/docs/tokens-tailwind-docs.json +356 -0
  65. package/src/tokens/build/figma/constants.tokens.json +94 -0
  66. package/src/tokens/build/figma/contextual.tokens.json +80 -1
  67. package/src/tokens/build/figma/semantic.tokens.json +34 -0
  68. package/src/tokens/build/js/tokens.dark.js +24 -6
  69. package/src/tokens/build/js/tokens.js +23 -5
  70. package/src/tokens/build/json/tokens.dark.json +750 -173
  71. package/src/tokens/build/json/tokens.json +749 -172
  72. package/src/tokens/build/scss/_tokens.dark.scss +24 -6
  73. package/src/tokens/build/scss/_tokens.scss +23 -5
  74. package/src/tokens/build/scss/_tokens_custom_properties.scss +23 -5
  75. package/src/tokens/build/tailwind/tokens.cjs +14 -0
  76. package/src/tokens/constant/border.tokens.json +96 -0
  77. package/src/tokens/contextual/alert.tokens.json +12 -0
  78. package/src/tokens/contextual/broadcast.tokens.json +10 -0
  79. package/src/tokens/contextual/button.tokens.json +12 -0
  80. package/src/tokens/contextual/card.tokens.json +16 -0
  81. package/src/tokens/contextual/dropdown.tokens.json +12 -1
  82. package/src/tokens/contextual/modal.tokens.json +16 -0
  83. package/src/tokens/semantic/action.tokens.json +12 -0
  84. package/src/tokens/semantic/border.tokens.json +12 -0
  85. package/src/tokens/semantic/control.tokens.json +10 -0
  86. package/tailwind.defaults.js +2 -3
@@ -35,20 +35,20 @@ body.modal-open {
35
35
  }
36
36
 
37
37
  .modal-content {
38
- @apply gl-rounded-base;
39
38
  @apply gl-border-0;
40
39
  @apply gl-shadow-lg;
41
40
  @apply gl-text-default;
42
41
  @apply gl-bg-overlap;
42
+ border-radius: var(--gl-modal-border-radius);
43
43
 
44
44
  > :first-child {
45
- @apply gl-rounded-tl-base;
46
- @apply gl-rounded-tr-base;
45
+ border-top-left-radius: var(--gl-modal-border-radius);
46
+ border-top-right-radius: var(--gl-modal-border-radius);
47
47
  }
48
48
 
49
49
  > :last-child {
50
- @apply gl-rounded-bl-base;
51
- @apply gl-rounded-br-base;
50
+ border-bottom-left-radius: var(--gl-modal-border-radius);
51
+ border-bottom-right-radius: var(--gl-modal-border-radius);
52
52
  }
53
53
  }
54
54
 
@@ -11,10 +11,6 @@
11
11
  // these create the 45deg cutoff angle at the base of the caret
12
12
  border-bottom: 1px solid var(--gl-dropdown-background-color);
13
13
  border-right: 1px solid var(--gl-dropdown-background-color);
14
-
15
- // match the dropdown border
16
- border-top: 1px solid var(--gl-dropdown-border-color);
17
- border-left: 1px solid var(--gl-dropdown-border-color);
18
14
  position: absolute;
19
15
  }
20
16
 
@@ -31,8 +27,7 @@
31
27
  .gl-new-dropdown-panel {
32
28
  @apply gl-hidden;
33
29
  @apply gl-bg-dropdown;
34
- @apply gl-border-1 gl-border-solid gl-border-dropdown;
35
- @apply gl-rounded-lg;
30
+ border-radius: var(--gl-dropdown-border-radius);
36
31
  @apply gl-drop-shadow-md;
37
32
  top: 0;
38
33
  left: 0;
@@ -103,7 +103,7 @@
103
103
  .gl-new-dropdown-item-content {
104
104
  transition: background-color $gl-transition-duration-fast $gl-easing-out-cubic,
105
105
  box-shadow $gl-transition-duration-medium $gl-easing-out-cubic;
106
- @apply gl-rounded-base;
106
+ @apply gl-rounded-default;
107
107
  @apply gl-border-0;
108
108
  @apply gl-w-full;
109
109
  background-color: var(--gl-dropdown-option-background-color-unselected-default);
@@ -3,10 +3,10 @@
3
3
  @apply gl-text-nowrap;
4
4
 
5
5
  ul {
6
+ border-radius: var(--gl-action-border-radius);
6
7
  @apply gl-flex;
7
8
  @apply gl-pl-0;
8
9
  @apply gl-list-none;
9
- @apply gl-rounded-base;
10
10
  }
11
11
 
12
12
  a {
@@ -15,6 +15,7 @@
15
15
  }
16
16
 
17
17
  .gl-pagination-item {
18
+ border-radius: var(--gl-action-border-radius);
18
19
  transition: color $gl-transition-duration-medium $gl-easing-out-cubic,
19
20
  background-color $gl-transition-duration-medium $gl-easing-out-cubic,
20
21
  border-color $gl-transition-duration-medium $gl-easing-out-cubic,
@@ -23,7 +24,6 @@
23
24
  @apply gl-justify-center;
24
25
  @apply gl-p-3;
25
26
  @apply gl-leading-normal;
26
- @apply gl-rounded-base;
27
27
  @apply gl-no-underline;
28
28
  @apply gl-min-w-7;
29
29
  @apply gl-text-center;
@@ -59,8 +59,8 @@ $path-chevron-right-margin: px-to-rem(14px);
59
59
  @apply gl-z-0;
60
60
  @apply gl-font-bold;
61
61
  @apply gl-leading-normal;
62
- @apply gl-rounded-tl-base;
63
- @apply gl-rounded-bl-base;
62
+ @apply gl-rounded-tl-default;
63
+ @apply gl-rounded-bl-default;
64
64
  @apply gl-border-none;
65
65
  background-color: var(--gl-action-neutral-background-color-default);
66
66
  color: var(--gl-action-neutral-foreground-color-default);
@@ -270,7 +270,7 @@ export default {
270
270
  ref="input"
271
271
  v-model="currentValue"
272
272
  class="gl-search-box-by-click-input"
273
- :class="{ '!gl-rounded-base': !showSearchButton }"
273
+ :class="{ '!gl-rounded-control': !showSearchButton }"
274
274
  v-bind="inputAttributes"
275
275
  :disabled="disabled"
276
276
  @focus="isFocused = true"
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  &:focus {
51
- border-radius: $gl-border-radius-base;
51
+ @apply gl-rounded-default;
52
52
  }
53
53
 
54
54
  &.disabled {
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  .gl-toast {
26
- @apply gl-rounded-base;
26
+ @apply gl-rounded-default;
27
27
  @apply gl-text-base;
28
28
  @apply gl-py-5;
29
29
  @apply gl-px-6;
@@ -1,7 +1,7 @@
1
1
  .gl-token {
2
2
  color: var(--gl-token-foreground-color);
3
3
  background-color: var(--gl-token-background-color);
4
- @apply gl-rounded-small;
4
+ @apply gl-rounded-sm;
5
5
  @apply gl-pl-3;
6
6
  @apply gl-inline-flex;
7
7
  @apply gl-flex-col;
@@ -4,7 +4,7 @@
4
4
 
5
5
  .tooltip-inner {
6
6
  @apply gl-drop-shadow-md;
7
- @apply gl-rounded-base;
7
+ @apply gl-rounded-default;
8
8
  @apply gl-leading-normal;
9
9
  @apply gl-font-normal;
10
10
  @apply gl-py-3;
@@ -5,7 +5,7 @@
5
5
 
6
6
  &:hover[tabindex='0'] {
7
7
  @apply gl-bg-strong;
8
- @apply gl-rounded-base;
8
+ @apply gl-rounded-default;
9
9
  }
10
10
 
11
11
  .gl-single-stat-number {
@@ -201,7 +201,7 @@ export default {
201
201
 
202
202
  <gl-truncate
203
203
  v-if="hasTitle"
204
- class="gl-font-bold gl-text-default"
204
+ class="gl-min-w-0 gl-font-bold gl-text-default"
205
205
  :text="title"
206
206
  with-tooltip
207
207
  />
@@ -209,7 +209,7 @@ export default {
209
209
  <template v-if="hasTitlePopover">
210
210
  <gl-icon
211
211
  :id="titlePopoverId"
212
- class="gl-ml-2"
212
+ class="gl-ml-2 gl-min-w-5"
213
213
  data-testid="panel-title-popover-icon"
214
214
  name="information-o"
215
215
  variant="info"
@@ -16,7 +16,7 @@ export default {
16
16
  <template>
17
17
  <div class="row dashboard-cards">
18
18
  <div v-for="index in cards" :key="index" class="col-12 col-md-6 col-xl-4 gl-px-3">
19
- <div class="gl-rounded-t-base gl-bg-status-neutral gl-py-6"></div>
19
+ <div class="gl-rounded-t-default gl-bg-status-neutral gl-py-6"></div>
20
20
  <div class="dashboard-card-body card-body gl-bg-gray-50">
21
21
  <div class="row">
22
22
  <div class="col-1 gl-self-center">
@@ -151,7 +151,7 @@
151
151
  @error "#{$name} is not a valid breakpoint for this @container query.";
152
152
  }
153
153
  @if $min != 0 {
154
- @container #{$containerName} (min-width: #{$min}) {
154
+ @container #{$containerName} (width >= #{$min}) {
155
155
  @if & {
156
156
  :where(html.with-gl-container-queries) & {
157
157
  @content
@@ -164,7 +164,7 @@
164
164
  }
165
165
  }
166
166
  @if $includeMQFallback {
167
- @media (min-width: $min) {
167
+ @media (width >= $min) {
168
168
  @if & {
169
169
  :where(html:not(.with-gl-container-queries)) & {
170
170
  @content;
@@ -179,7 +179,6 @@ $gl-border-radius-base: $gl-spacing-scale-2;
179
179
  $gl-border-radius-large: $gl-spacing-scale-3;
180
180
  $gl-border-radius-6: $gl-spacing-scale-6;
181
181
  $gl-border-radius-7: $gl-spacing-scale-7;
182
- $gl-border-radius-full: 50%;
183
182
 
184
183
  // component height
185
184
  $gl-button-small-size: px-to-rem(24px);
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  :root, .gl-light-scope {
6
+ --gl-border-radius-full: 9999px;
6
7
  --gl-color-alpha-0: transparent;
7
8
  --gl-color-alpha-dark-2: rgba(05, 05, 06, 0.02);
8
9
  --gl-color-alpha-dark-4: rgba(05, 05, 06, 0.04);
@@ -542,6 +543,18 @@
542
543
  --gl-text-primary: #28272d; /** Use text.color.default instead. */
543
544
  --gl-text-secondary: #737278; /** Use text.color.subtle instead. */
544
545
  --gl-text-tertiary: #89888d; /** Use text.color.disabled instead. */
546
+ --gl-border-radius-none: var(--gl-spacing-scale-0);
547
+ --gl-border-radius-xs: var(--gl-spacing-scale-px);
548
+ --gl-border-radius-sm: var(--gl-spacing-scale-1);
549
+ --gl-border-radius-md: var(--gl-spacing-scale-2);
550
+ --gl-border-radius-lg: var(--gl-spacing-scale-3);
551
+ --gl-border-radius-xl: var(--gl-spacing-scale-4);
552
+ --gl-border-radius-2xl: var(--gl-spacing-scale-5);
553
+ --gl-border-radius-3xl: var(--gl-spacing-scale-6);
554
+ --gl-border-color-default: var(--gl-color-neutral-100); /** Used for the default border color. */
555
+ --gl-border-color-subtle: var(--gl-color-neutral-50); /** Used for a subtle border in combination with the default background. */
556
+ --gl-border-color-strong: var(--gl-color-neutral-200); /** Used for a distinct border that emphasizes an edge or boundaries. */
557
+ --gl-border-color-transparent: var(--gl-color-alpha-0); /** Used when a border needs to be present, but not visibly perceived. */
545
558
  --gl-alert-neutral-border-top-color: var(--gl-color-alpha-0); /** Used for the border center color of a neutral alert. */
546
559
  --gl-alert-neutral-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a neutral alert. */
547
560
  --gl-alert-info-border-top-color: var(--gl-color-alpha-0); /** Used for the border color of an info alert. */
@@ -822,10 +835,6 @@
822
835
  --gl-background-color-overlap: var(--gl-color-neutral-0); /** Used for components, like tooltips and drawers, and content, like a sticky header, that overlap other content. */
823
836
  --gl-background-color-section: var(--gl-color-neutral-0); /** Used for containers, like a card header, that are visually distinct from the default page background only when necessary to maintain affordance and hierarchy in different modes. */
824
837
  --gl-background-color-overlay: var(--gl-color-alpha-dark-24); /** Used for an overlay that covers other content. */
825
- --gl-border-color-default: var(--gl-color-neutral-100); /** Used for the default border color. */
826
- --gl-border-color-subtle: var(--gl-color-neutral-50); /** Used for a subtle border in combination with the default background. */
827
- --gl-border-color-strong: var(--gl-color-neutral-200); /** Used for a distinct border that emphasizes an edge or boundaries. */
828
- --gl-border-color-transparent: var(--gl-color-alpha-0); /** Used when a border needs to be present, but not visibly perceived. */
829
838
  --gl-control-background-color-default: var(--gl-color-neutral-0); /** Used for form control (input, radio button, checkbox, textarea) default background. */
830
839
  --gl-control-background-color-disabled: var(--gl-color-neutral-10); /** Used for disabled form control (checkbox, input, radio button, textarea) background. */
831
840
  --gl-control-background-color-concatenation: var(--gl-color-neutral-10); /** Used for the background of static content that prepends or appends a text input. */
@@ -896,6 +905,8 @@
896
905
  --gl-text-color-danger: var(--gl-color-red-600); /** Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination. */
897
906
  --gl-text-color-success: var(--gl-color-green-600); /** Used for text indicating success, completion, approval, addition, or validity. */
898
907
  --gl-text-color-disabled: var(--gl-color-neutral-400); /** Used for disabled text. */
908
+ --gl-border-radius-default: var(--gl-border-radius-md);
909
+ --gl-border-color-section: var(--gl-border-color-default); /** Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page. */
899
910
  --gl-alert-neutral-title-color: var(--gl-text-color-heading); /** Used for the title color of a neutral alert. */
900
911
  --gl-alert-neutral-background-color: var(--gl-feedback-neutral-background-color); /** Used for the background color of a neutral alert. */
901
912
  --gl-alert-info-title-color: var(--gl-text-color-heading); /** Used for the title color of an info alert. */
@@ -971,6 +982,7 @@
971
982
  --gl-datepicker-date-text-color-selected: var(--gl-control-indicator-color-selected); /** Used for the datepicker date text color state indicators. */
972
983
  --gl-dropdown-background-color: var(--gl-background-color-overlap); /** Used for the background of a dropdown. */
973
984
  --gl-dropdown-border-color: var(--gl-border-color-strong); /** Used for the border of a dropdown. */
985
+ --gl-dropdown-border-radius: var(--gl-border-radius-lg); /** Used for the border radius of a dropdown. */
974
986
  --gl-dropdown-divider-color: var(--gl-border-color-default); /** Used for the divider of a dropdown. */
975
987
  --gl-dropdown-option-text-color-default: var(--gl-action-neutral-foreground-color-default); /** Used for the text of a dropdown option in the default state. */
976
988
  --gl-dropdown-option-text-color-disabled: var(--gl-action-disabled-foreground-color); /** Used for the text of a dropdown option in the disabled state. */
@@ -1019,7 +1031,6 @@
1019
1031
  --gl-action-strong-neutral-background-color-focus: var(--gl-action-strong-neutral-background-color-hover); /** Used for the background of a strong neutral action in the focus state. */
1020
1032
  --gl-action-strong-neutral-foreground-color-hover: var(--gl-action-strong-neutral-foreground-color-default); /** Used for the foreground of a strong neutral action in the hover state. */
1021
1033
  --gl-action-strong-neutral-border-color-hover: var(--gl-action-strong-neutral-border-color-default); /** Used for the border of a strong neutral action in the hover state. */
1022
- --gl-border-color-section: var(--gl-border-color-default); /** Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page. */
1023
1034
  --gl-control-text-color-error: var(--gl-text-color-danger); /** Used for the helper text when the input is invalid. */
1024
1035
  --gl-control-text-color-valid: var(--gl-text-color-success); /** Used for the helper text when the input is valid. */
1025
1036
  --gl-control-placeholder-color: var(--gl-text-color-disabled); /** Used for placeholder text within inputs. */
@@ -1032,6 +1043,7 @@
1032
1043
  --gl-icon-color-warning: var(--gl-text-color-warning); /** Used for an icon associated with a warning. */
1033
1044
  --gl-icon-color-danger: var(--gl-text-color-danger); /** Used for an icon associated with an error or danger. */
1034
1045
  --gl-icon-color-success: var(--gl-text-color-success); /** Used for an icon associated with success or validity. */
1046
+ --gl-alert-border-radius: var(--gl-border-radius-default); /** Used for alert border radius. */
1035
1047
  --gl-badge-muted-background-color-focus: var(--gl-badge-muted-background-color-hover); /** Used for the background of a muted badge in the focus state. */
1036
1048
  --gl-badge-neutral-background-color-focus: var(--gl-badge-neutral-background-color-hover); /** Used for the background of a neutral badge in the focus state. */
1037
1049
  --gl-badge-info-background-color-focus: var(--gl-badge-info-background-color-hover); /** Used for the background of an informational badge in the focus state. */
@@ -1039,6 +1051,7 @@
1039
1051
  --gl-badge-warning-background-color-focus: var(--gl-badge-warning-background-color-hover); /** Used for the background of a warning badge in the focus state. */
1040
1052
  --gl-badge-danger-background-color-focus: var(--gl-badge-danger-background-color-hover); /** Used for the background of a danger badge in the focus state. */
1041
1053
  --gl-badge-tier-background-color-focus: var(--gl-badge-tier-background-color-hover); /** Used for the background of a tier related badge in the focus state. */
1054
+ --gl-broadcast-banner-border-radius: var(--gl-border-radius-default); /** Used for broadcast banner border radius. */
1042
1055
  --gl-button-default-tertiary-foreground-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the foreground of a default borderless, tertiary button in the hover state. */
1043
1056
  --gl-button-default-tertiary-foreground-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the foreground of a default borderless, tertiary button in the focus state. */
1044
1057
  --gl-button-default-tertiary-foreground-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the foreground of a default borderless, tertiary button in the active state. */
@@ -1062,19 +1075,24 @@
1062
1075
  --gl-button-selected-foreground-color-focus: var(--gl-button-default-primary-foreground-color-focus); /** Used for the foreground of a selected button in the focus state. */
1063
1076
  --gl-button-selected-foreground-color-active: var(--gl-button-default-primary-foreground-color-active); /** Used for the foreground of a selected button in the active state. */
1064
1077
  --gl-button-selected-background-color-focus: var(--gl-button-default-primary-background-color-focus); /** Used for the background of a selected button in the focus state. */
1078
+ --gl-card-border-radius: var(--gl-border-radius-default); /** Used for card border radius. */
1065
1079
  --gl-chart-axis-pointer-color: var(--gl-icon-color-subtle); /** Used in charts for the color of the reference line and axis value under mouse pointer. */
1066
1080
  --gl-chart-zoom-handle-color: var(--gl-icon-color-subtle); /** Used in charts for the handle color when zooming in on a specific area of data. */
1067
1081
  --gl-dropdown-option-text-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the text of a dropdown option in the hover state. */
1068
1082
  --gl-dropdown-option-text-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the text of a dropdown option in the focus state. */
1069
1083
  --gl-dropdown-option-text-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the text of a dropdown option in the active state. */
1084
+ --gl-modal-border-radius: var(--gl-border-radius-default); /** Used for modal border radius. */
1070
1085
  --gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-strong-neutral-background-color-focus); /** Used for the icon color of an unchecked toggle switch in the focus state. */
1071
1086
  --gl-toggle-switch-icon-color-checked-focus: var(--gl-action-strong-confirm-background-color-focus); /** Used for the icon color of a checked toggle switch in the focus state. */
1087
+ --gl-action-border-radius: var(--gl-border-radius-default); /** Used for the border radius of an action. */
1072
1088
  --gl-action-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected action in the focus state. */
1073
1089
  --gl-action-selected-border-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the border of a selected action in the focus state. */
1074
1090
  --gl-action-strong-confirm-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-hover); /** Used for the foreground of a strong confirm action in the focus state. */
1075
1091
  --gl-action-strong-confirm-border-color-focus: var(--gl-action-strong-confirm-border-color-hover); /** Used for the border of a strong confirm action in the focus state. */
1076
1092
  --gl-action-strong-neutral-foreground-color-focus: var(--gl-action-strong-neutral-foreground-color-hover); /** Used for the foreground of a strong neutral action in the focus state. */
1077
1093
  --gl-action-strong-neutral-border-color-focus: var(--gl-action-strong-neutral-border-color-hover); /** Used for the border of a strong neutral action in the focus state. */
1094
+ --gl-control-border-radius: var(--gl-border-radius-default); /** Used for form control (input, radio button, checkbox, textarea) default border radius. */
1095
+ --gl-button-border-radius: var(--gl-action-border-radius); /** Used for button border radius. */
1078
1096
  --gl-button-confirm-primary-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the foreground of a confirm (positive) primary button in the focus state. */
1079
1097
  --gl-action-selected-foreground-color-active: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected action in the active state. */
1080
1098
  --gl-action-strong-confirm-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the foreground of a strong confirm action in the active state. */
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  :root.gl-dark, .gl-dark-scope {
6
+ --gl-border-radius-full: 9999px;
6
7
  --gl-color-alpha-0: transparent;
7
8
  --gl-color-alpha-dark-2: rgba(05, 05, 06, 0.02);
8
9
  --gl-color-alpha-dark-4: rgba(05, 05, 06, 0.04);
@@ -542,6 +543,18 @@
542
543
  --gl-text-primary: #ececef; /** Use text.color.default instead. */
543
544
  --gl-text-secondary: #89888d; /** Use text.color.subtle instead. */
544
545
  --gl-text-tertiary: #737278; /** Use text.color.disabled instead. */
546
+ --gl-border-radius-none: var(--gl-spacing-scale-0);
547
+ --gl-border-radius-xs: var(--gl-spacing-scale-px);
548
+ --gl-border-radius-sm: var(--gl-spacing-scale-1);
549
+ --gl-border-radius-md: var(--gl-spacing-scale-2);
550
+ --gl-border-radius-lg: var(--gl-spacing-scale-3);
551
+ --gl-border-radius-xl: var(--gl-spacing-scale-4);
552
+ --gl-border-radius-2xl: var(--gl-spacing-scale-5);
553
+ --gl-border-radius-3xl: var(--gl-spacing-scale-6);
554
+ --gl-border-color-default: var(--gl-color-neutral-700); /** Used for the default border color. */
555
+ --gl-border-color-subtle: var(--gl-color-neutral-800); /** Used for a subtle border in combination with the default background. */
556
+ --gl-border-color-strong: var(--gl-color-neutral-600); /** Used for a distinct border that emphasizes an edge or boundaries. */
557
+ --gl-border-color-transparent: var(--gl-color-alpha-0); /** Used when a border needs to be present, but not visibly perceived. */
545
558
  --gl-alert-neutral-border-top-color: var(--gl-color-neutral-400); /** Used for the border center color of a neutral alert. */
546
559
  --gl-alert-neutral-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a neutral alert. */
547
560
  --gl-alert-info-border-top-color: var(--gl-color-blue-400); /** Used for the border color of an info alert. */
@@ -752,7 +765,7 @@
752
765
  --gl-dropdown-option-background-color-selected-default: var(--gl-color-neutral-800); /** Used for the background of a selected dropdown option in the default state. */
753
766
  --gl-dropdown-option-background-color-selected-hover: var(--gl-color-neutral-700); /** Used for the background of a selected dropdown option in the hover state. */
754
767
  --gl-dropdown-option-background-color-selected-active: var(--gl-color-neutral-900); /** Used for the background of a selected dropdown option in the active state. */
755
- --gl-dropdown-search-background-color: var(--gl-color-alpha-dark-24); /** Used for the background of a search input in a dropdown listbox. */
768
+ --gl-dropdown-search-background-color: var(--gl-color-alpha-dark-16); /** Used for the background of a search input in a dropdown listbox. */
756
769
  --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. */
757
770
  --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. */
758
771
  --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. */
@@ -822,10 +835,6 @@
822
835
  --gl-background-color-overlap: var(--gl-color-neutral-900); /** Used for components, like tooltips and drawers, and content, like a sticky header, that overlap other content. */
823
836
  --gl-background-color-section: var(--gl-color-neutral-800); /** Used for containers, like a card header, that are visually distinct from the default page background only when necessary to maintain affordance and hierarchy in different modes. */
824
837
  --gl-background-color-overlay: rgba(0,0,0,0.64); /** Used for an overlay that covers other content. */
825
- --gl-border-color-default: var(--gl-color-neutral-700); /** Used for the default border color. */
826
- --gl-border-color-subtle: var(--gl-color-neutral-800); /** Used for a subtle border in combination with the default background. */
827
- --gl-border-color-strong: var(--gl-color-neutral-600); /** Used for a distinct border that emphasizes an edge or boundaries. */
828
- --gl-border-color-transparent: var(--gl-color-alpha-0); /** Used when a border needs to be present, but not visibly perceived. */
829
838
  --gl-control-background-color-default: var(--gl-color-alpha-dark-40); /** Used for form control (input, radio button, checkbox, textarea) default background. */
830
839
  --gl-control-background-color-disabled: var(--gl-color-alpha-light-4); /** Used for disabled form control (checkbox, input, radio button, textarea) background. */
831
840
  --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. */
@@ -896,6 +905,8 @@
896
905
  --gl-text-color-danger: var(--gl-color-red-300); /** Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination. */
897
906
  --gl-text-color-success: var(--gl-color-green-300); /** Used for text indicating success, completion, approval, addition, or validity. */
898
907
  --gl-text-color-disabled: var(--gl-color-neutral-400); /** Used for disabled text. */
908
+ --gl-border-radius-default: var(--gl-border-radius-md);
909
+ --gl-border-color-section: var(--gl-background-color-default); /** Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page. */
899
910
  --gl-alert-neutral-title-color: var(--gl-text-color-heading); /** Used for the title color of a neutral alert. */
900
911
  --gl-alert-neutral-background-color: var(--gl-feedback-neutral-background-color); /** Used for the background color of a neutral alert. */
901
912
  --gl-alert-info-title-color: var(--gl-color-blue-300); /** Used for the title color of an info alert. */
@@ -971,6 +982,7 @@
971
982
  --gl-datepicker-date-text-color-selected: var(--gl-control-indicator-color-selected); /** Used for the datepicker date text color state indicators. */
972
983
  --gl-dropdown-background-color: var(--gl-background-color-overlap); /** Used for the background of a dropdown. */
973
984
  --gl-dropdown-border-color: var(--gl-border-color-default); /** Used for the border of a dropdown. */
985
+ --gl-dropdown-border-radius: var(--gl-border-radius-lg); /** Used for the border radius of a dropdown. */
974
986
  --gl-dropdown-divider-color: var(--gl-border-color-subtle); /** Used for the divider of a dropdown. */
975
987
  --gl-dropdown-option-text-color-default: var(--gl-action-neutral-foreground-color-default); /** Used for the text of a dropdown option in the default state. */
976
988
  --gl-dropdown-option-text-color-disabled: var(--gl-action-disabled-foreground-color); /** Used for the text of a dropdown option in the disabled state. */
@@ -1019,7 +1031,6 @@
1019
1031
  --gl-action-strong-neutral-background-color-focus: var(--gl-action-strong-neutral-background-color-hover); /** Used for the background of a strong neutral action in the focus state. */
1020
1032
  --gl-action-strong-neutral-foreground-color-hover: var(--gl-color-neutral-0); /** Used for the foreground of a strong neutral action in the hover state. */
1021
1033
  --gl-action-strong-neutral-border-color-hover: var(--gl-action-strong-neutral-border-color-default); /** Used for the border of a strong neutral action in the hover state. */
1022
- --gl-border-color-section: var(--gl-background-color-default); /** Used for the border color that surrounds content or elements when they appear as a closed container or closed section of the page. */
1023
1034
  --gl-control-text-color-error: var(--gl-text-color-danger); /** Used for the helper text when the input is invalid. */
1024
1035
  --gl-control-text-color-valid: var(--gl-text-color-success); /** Used for the helper text when the input is valid. */
1025
1036
  --gl-control-placeholder-color: var(--gl-text-color-disabled); /** Used for placeholder text within inputs. */
@@ -1032,6 +1043,7 @@
1032
1043
  --gl-icon-color-warning: var(--gl-text-color-warning); /** Used for an icon associated with a warning. */
1033
1044
  --gl-icon-color-danger: var(--gl-text-color-danger); /** Used for an icon associated with an error or danger. */
1034
1045
  --gl-icon-color-success: var(--gl-text-color-success); /** Used for an icon associated with success or validity. */
1046
+ --gl-alert-border-radius: var(--gl-border-radius-default); /** Used for alert border radius. */
1035
1047
  --gl-badge-muted-background-color-focus: var(--gl-badge-muted-background-color-hover); /** Used for the background of a muted badge in the focus state. */
1036
1048
  --gl-badge-neutral-background-color-focus: var(--gl-badge-neutral-background-color-hover); /** Used for the background of a neutral badge in the focus state. */
1037
1049
  --gl-badge-info-background-color-focus: var(--gl-badge-info-background-color-hover); /** Used for the background of an informational badge in the focus state. */
@@ -1039,6 +1051,7 @@
1039
1051
  --gl-badge-warning-background-color-focus: var(--gl-badge-warning-background-color-hover); /** Used for the background of a warning badge in the focus state. */
1040
1052
  --gl-badge-danger-background-color-focus: var(--gl-badge-danger-background-color-hover); /** Used for the background of a danger badge in the focus state. */
1041
1053
  --gl-badge-tier-background-color-focus: var(--gl-badge-tier-background-color-hover); /** Used for the background of a tier related badge in the focus state. */
1054
+ --gl-broadcast-banner-border-radius: var(--gl-border-radius-default); /** Used for broadcast banner border radius. */
1042
1055
  --gl-button-default-tertiary-foreground-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the foreground of a default borderless, tertiary button in the hover state. */
1043
1056
  --gl-button-default-tertiary-foreground-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the foreground of a default borderless, tertiary button in the focus state. */
1044
1057
  --gl-button-default-tertiary-foreground-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the foreground of a default borderless, tertiary button in the active state. */
@@ -1062,19 +1075,24 @@
1062
1075
  --gl-button-selected-foreground-color-focus: var(--gl-color-neutral-950); /** Used for the foreground of a selected button in the focus state. */
1063
1076
  --gl-button-selected-foreground-color-active: var(--gl-color-neutral-950); /** Used for the foreground of a selected button in the active state. */
1064
1077
  --gl-button-selected-background-color-focus: var(--gl-color-neutral-200); /** Used for the background of a selected button in the focus state. */
1078
+ --gl-card-border-radius: var(--gl-border-radius-default); /** Used for card border radius. */
1065
1079
  --gl-chart-axis-pointer-color: var(--gl-icon-color-subtle); /** Used in charts for the color of the reference line and axis value under mouse pointer. */
1066
1080
  --gl-chart-zoom-handle-color: var(--gl-icon-color-subtle); /** Used in charts for the handle color when zooming in on a specific area of data. */
1067
1081
  --gl-dropdown-option-text-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the text of a dropdown option in the hover state. */
1068
1082
  --gl-dropdown-option-text-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the text of a dropdown option in the focus state. */
1069
1083
  --gl-dropdown-option-text-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the text of a dropdown option in the active state. */
1084
+ --gl-modal-border-radius: var(--gl-border-radius-default); /** Used for modal border radius. */
1070
1085
  --gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-strong-neutral-background-color-focus); /** Used for the icon color of an unchecked toggle switch in the focus state. */
1071
1086
  --gl-toggle-switch-icon-color-checked-focus: var(--gl-action-strong-confirm-background-color-focus); /** Used for the icon color of a checked toggle switch in the focus state. */
1087
+ --gl-action-border-radius: var(--gl-border-radius-default); /** Used for the border radius of an action. */
1072
1088
  --gl-action-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected action in the focus state. */
1073
1089
  --gl-action-selected-border-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the border of a selected action in the focus state. */
1074
1090
  --gl-action-strong-confirm-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-hover); /** Used for the foreground of a strong confirm action in the focus state. */
1075
1091
  --gl-action-strong-confirm-border-color-focus: var(--gl-action-strong-confirm-border-color-hover); /** Used for the border of a strong confirm action in the focus state. */
1076
1092
  --gl-action-strong-neutral-foreground-color-focus: var(--gl-action-strong-neutral-foreground-color-hover); /** Used for the foreground of a strong neutral action in the focus state. */
1077
1093
  --gl-action-strong-neutral-border-color-focus: var(--gl-action-strong-neutral-border-color-hover); /** Used for the border of a strong neutral action in the focus state. */
1094
+ --gl-control-border-radius: var(--gl-border-radius-default); /** Used for form control (input, radio button, checkbox, textarea) default border radius. */
1095
+ --gl-button-border-radius: var(--gl-action-border-radius); /** Used for button border radius. */
1078
1096
  --gl-button-confirm-primary-foreground-color-focus: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the foreground of a confirm (positive) primary button in the focus state. */
1079
1097
  --gl-action-selected-foreground-color-active: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected action in the active state. */
1080
1098
  --gl-action-strong-confirm-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the foreground of a strong confirm action in the active state. */