@gitlab/ui 93.1.0 → 93.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 (100) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/components/base/alert/alert.js +1 -0
  3. package/dist/components/base/avatar/avatar.js +7 -1
  4. package/dist/components/base/datepicker/datepicker.js +3 -1
  5. package/dist/components/base/drawer/drawer.js +1 -0
  6. package/dist/components/base/form/form_input/form_input.js +7 -1
  7. package/dist/components/base/form/form_select/form_select.js +7 -1
  8. package/dist/components/base/toast/toast.js +1 -0
  9. package/dist/components/base/token/token.js +1 -0
  10. package/dist/index.css +3 -3
  11. package/dist/index.css.map +1 -1
  12. package/dist/tokens/build/js/tokens.dark.js +2 -1
  13. package/dist/tokens/build/js/tokens.js +2 -1
  14. package/dist/tokens/css/tokens.css +1 -0
  15. package/dist/tokens/css/tokens.dark.css +1 -0
  16. package/dist/tokens/js/tokens.dark.js +1 -0
  17. package/dist/tokens/js/tokens.js +1 -0
  18. package/dist/tokens/json/tokens.dark.json +22 -0
  19. package/dist/tokens/json/tokens.json +22 -0
  20. package/dist/tokens/scss/_tokens.dark.scss +1 -0
  21. package/dist/tokens/scss/_tokens.scss +1 -0
  22. package/dist/tokens/scss/_tokens_custom_properties.scss +1 -0
  23. package/dist/tokens/tailwind/tokens.cjs +1 -0
  24. package/package.json +1 -1
  25. package/src/components/base/accordion/accordion_item.scss +1 -1
  26. package/src/components/base/alert/alert.scss +8 -8
  27. package/src/components/base/alert/alert.vue +1 -0
  28. package/src/components/base/avatar/avatar.scss +6 -6
  29. package/src/components/base/avatar/avatar.vue +4 -0
  30. package/src/components/base/avatar_labeled/avatar_labeled.scss +9 -9
  31. package/src/components/base/avatar_link/avatar_link.scss +6 -6
  32. package/src/components/base/avatars_inline/avatars_inline.scss +9 -9
  33. package/src/components/base/badge/badge.scss +6 -6
  34. package/src/components/base/banner/banner.scss +1 -1
  35. package/src/components/base/breadcrumb/breadcrumb.scss +8 -8
  36. package/src/components/base/broadcast_message/broadcast_message.scss +9 -9
  37. package/src/components/base/button/button.scss +18 -18
  38. package/src/components/base/card/card.scss +4 -4
  39. package/src/components/base/datepicker/datepicker.scss +14 -14
  40. package/src/components/base/datepicker/datepicker.vue +1 -0
  41. package/src/components/base/daterange_picker/daterange_picker.scss +7 -7
  42. package/src/components/base/drawer/drawer.scss +14 -14
  43. package/src/components/base/drawer/drawer.vue +1 -0
  44. package/src/components/base/dropdown/dropdown.scss +15 -15
  45. package/src/components/base/dropdown/dropdown_item.scss +15 -15
  46. package/src/components/base/dropdown/dropdown_section_header.scss +4 -4
  47. package/src/components/base/filtered_search/filtered_search.scss +9 -9
  48. package/src/components/base/filtered_search/filtered_search_suggestion.scss +2 -2
  49. package/src/components/base/filtered_search/filtered_search_suggestion_list.scss +2 -2
  50. package/src/components/base/filtered_search/filtered_search_token.scss +9 -9
  51. package/src/components/base/filtered_search/filtered_search_token_segment.scss +3 -3
  52. package/src/components/base/form/form_checkbox/form_checkbox.scss +10 -10
  53. package/src/components/base/form/form_group/form_group.scss +6 -6
  54. package/src/components/base/form/form_input/form_input.scss +2 -2
  55. package/src/components/base/form/form_input/form_input.vue +3 -0
  56. package/src/components/base/form/form_radio_group/form_radio_group.scss +2 -2
  57. package/src/components/base/form/form_select/form_select.scss +3 -3
  58. package/src/components/base/form/form_select/form_select.vue +3 -0
  59. package/src/components/base/infinite_scroll/infinite_scroll.scss +2 -2
  60. package/src/components/base/label/label.scss +12 -12
  61. package/src/components/base/link/link.scss +1 -1
  62. package/src/components/base/loading_icon/loading_icon.scss +4 -4
  63. package/src/components/base/markdown/markdown.scss +14 -14
  64. package/src/components/base/modal/modal.scss +12 -12
  65. package/src/components/base/new_dropdowns/dropdown.scss +17 -17
  66. package/src/components/base/new_dropdowns/dropdown_item.scss +10 -10
  67. package/src/components/base/new_dropdowns/listbox/listbox.scss +4 -4
  68. package/src/components/base/pagination/pagination.scss +5 -5
  69. package/src/components/base/path/path.scss +11 -11
  70. package/src/components/base/popover/popover.scss +1 -1
  71. package/src/components/base/search_box_by_click/search_box_by_click.scss +5 -5
  72. package/src/components/base/search_box_by_type/search_box_by_type.scss +9 -9
  73. package/src/components/base/segmented_control/segmented_control.scss +4 -4
  74. package/src/components/base/table/table.scss +6 -6
  75. package/src/components/base/tabs/tabs/tabs.scss +18 -18
  76. package/src/components/base/toast/toast.js +1 -0
  77. package/src/components/base/toast/toast.scss +10 -10
  78. package/src/components/base/toggle/toggle.scss +17 -17
  79. package/src/components/base/token/token.scss +13 -13
  80. package/src/components/base/token/token.vue +1 -0
  81. package/src/components/base/tooltip/tooltip.scss +3 -3
  82. package/src/components/charts/legend/legend.scss +17 -17
  83. package/src/components/charts/series_label/series_label.scss +6 -6
  84. package/src/components/charts/single_stat/single_stat.scss +1 -1
  85. package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.scss +1 -1
  86. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.scss +4 -4
  87. package/src/components/experimental/duo/chat/duo_chat.scss +15 -15
  88. package/src/components/shared_components/charts/tooltip_default_format.scss +5 -5
  89. package/src/scss/typescale/_index.scss +15 -15
  90. package/src/tokens/build/css/tokens.css +1 -0
  91. package/src/tokens/build/css/tokens.dark.css +1 -0
  92. package/src/tokens/build/js/tokens.dark.js +1 -0
  93. package/src/tokens/build/js/tokens.js +1 -0
  94. package/src/tokens/build/json/tokens.dark.json +22 -0
  95. package/src/tokens/build/json/tokens.json +22 -0
  96. package/src/tokens/build/scss/_tokens.dark.scss +1 -0
  97. package/src/tokens/build/scss/_tokens.scss +1 -0
  98. package/src/tokens/build/scss/_tokens_custom_properties.scss +1 -0
  99. package/src/tokens/build/tailwind/tokens.cjs +1 -0
  100. package/src/tokens/text.tokens.json +8 -0
@@ -1,20 +1,20 @@
1
1
  @mixin gl-tmp-dropdown-item-style {
2
- @include gl-align-items-center;
2
+ @apply gl-items-center;
3
3
  @include gl-bg-transparent;
4
4
  @apply gl-border-0;
5
- @include gl-display-flex;
6
- @include gl-font-base;
7
- @include gl-font-weight-normal;
8
- @include gl-line-height-normal;
5
+ @apply gl-flex;
6
+ @apply gl-text-base;
7
+ @apply gl-font-normal;
8
+ @apply gl-leading-normal;
9
9
  @apply gl-px-5;
10
10
  @apply gl-py-0;
11
11
  position: relative;
12
- @include gl-rounded-0;
12
+ @apply gl-rounded-none;
13
13
  @include gl-shadow-none;
14
14
  @include gl-text-gray-900;
15
15
  @include gl-text-left;
16
16
  @include gl-w-full;
17
- @include gl-white-space-normal;
17
+ @apply gl-whitespace-normal;
18
18
  }
19
19
 
20
20
  .gl-dropdown-item {
@@ -23,18 +23,18 @@
23
23
  @include gl-cursor-pointer;
24
24
 
25
25
  .gl-avatar {
26
- @include gl-flex-shrink-0;
26
+ @apply gl-shrink-0;
27
27
  @apply gl-mr-3;
28
28
  }
29
29
 
30
30
  .gl-dropdown-item-check-icon {
31
- @include gl-flex-shrink-0;
31
+ @apply gl-shrink-0;
32
32
  @apply gl-mr-3;
33
33
  @include gl-text-gray-700;
34
34
  }
35
35
 
36
36
  .gl-dropdown-item-icon {
37
- @include gl-flex-shrink-0;
37
+ @apply gl-shrink-0;
38
38
  @apply gl-mr-3;
39
39
  }
40
40
 
@@ -49,7 +49,7 @@
49
49
 
50
50
  .gl-dropdown-item-text-wrapper {
51
51
  @include gl-min-w-0;
52
- @include gl-flex-grow-1;
52
+ @apply gl-grow;
53
53
  @apply gl-mr-3;
54
54
  @apply gl-py-3;
55
55
  }
@@ -60,18 +60,18 @@
60
60
  }
61
61
 
62
62
  &.disable-hover {
63
- @include gl-text-decoration-none;
63
+ @apply gl-no-underline;
64
64
  }
65
65
 
66
66
  &:disabled {
67
67
  @include gl-text-gray-500;
68
68
 
69
69
  .gl-new-dropdown-item-check-icon {
70
- @include gl-reset-color;
70
+ @apply gl-text-inherit;
71
71
  }
72
72
 
73
73
  .gl-new-dropdown-item-text-secondary {
74
- @include gl-reset-color;
74
+ @apply gl-text-inherit;
75
75
  }
76
76
 
77
77
  .gl-avatar {
@@ -84,7 +84,7 @@
84
84
  &:focus,
85
85
  &.is-focused {
86
86
  @include gl-bg-gray-50;
87
- @include gl-text-decoration-none;
87
+ @apply gl-no-underline;
88
88
  @include gl-text-gray-900;
89
89
 
90
90
  // make sure the text color is not overridden
@@ -1,12 +1,12 @@
1
1
  @mixin gl-tmp-dropdown-section-header-style {
2
- @include gl-font-base;
2
+ @apply gl-text-base;
3
3
  @include gl-text-gray-900;
4
- @include gl-line-height-normal;
4
+ @apply gl-leading-normal;
5
5
  @include gl-text-left;
6
- @include gl-font-weight-bold;
6
+ @apply gl-font-bold;
7
7
  @apply gl-py-3;
8
8
  @apply gl-px-4;
9
- @include gl-white-space-normal;
9
+ @apply gl-whitespace-normal;
10
10
  }
11
11
 
12
12
  /* Styling when the component is used on its own */
@@ -1,14 +1,14 @@
1
1
  .gl-filtered-search-scrollable-container {
2
2
  @include gl-bg-white;
3
- @include gl-display-flex;
4
- @include gl-flex-grow-1;
5
- @include gl-flex-basis-0;
3
+ @apply gl-flex;
4
+ @apply gl-grow;
5
+ @apply gl-basis-0;
6
6
  @include gl-overflow-hidden;
7
- @include gl-align-items-center;
7
+ @apply gl-items-center;
8
8
  @apply gl-py-2;
9
9
  @apply gl-pl-4;
10
10
  @apply gl-pr-7;
11
- @include gl-inset-border-1-gray-400;
11
+ @apply gl-shadow-inner-1-gray-400;
12
12
  @apply gl-border-none;
13
13
  @apply gl-rounded-base;
14
14
 
@@ -22,13 +22,13 @@
22
22
  }
23
23
 
24
24
  .gl-filtered-search-scrollable {
25
- @include gl-display-flex;
25
+ @apply gl-flex;
26
26
  @include gl-overflow-y-auto;
27
27
  @include gl-w-full;
28
28
  }
29
29
 
30
30
  .gl-filtered-search-item {
31
- @include gl-display-flex;
31
+ @apply gl-flex;
32
32
  @apply gl-px-1;
33
33
 
34
34
  &:first-child {
@@ -40,10 +40,10 @@
40
40
  .gl-filtered-search-term-value {
41
41
  @include gl-h-full;
42
42
  @include gl-w-full;
43
- @include gl-align-items-center;
43
+ @apply gl-items-center;
44
44
  }
45
45
 
46
- @include gl-flex-grow-1;
46
+ @apply gl-grow;
47
47
  @apply gl-p-0;
48
48
  @apply gl-pl-1;
49
49
  @include gl-h-6;
@@ -4,8 +4,8 @@
4
4
 
5
5
  .gl-filtered-search-suggestion-active {
6
6
  @include gl-bg-gray-100;
7
- @include gl-text-decoration-none;
7
+ @apply gl-no-underline;
8
8
  @include gl-text-gray-900;
9
- @include gl-outline-0;
9
+ @apply gl-outline-none;
10
10
  @include gl-focus($inset: true);
11
11
  }
@@ -2,7 +2,7 @@
2
2
  // GitLab
3
3
 
4
4
  .gl-filtered-search-suggestion-list.dropdown-menu {
5
- @include gl-display-block;
5
+ @apply gl-block;
6
6
  width: $gl-dropdown-width;
7
7
  @apply gl-p-2;
8
8
  @apply gl-border-gray-200;
@@ -22,7 +22,7 @@
22
22
  }
23
23
 
24
24
  .gl-dropdown-divider {
25
- @include gl-mx-n2;
25
+ @apply -gl-mx-2;
26
26
  }
27
27
 
28
28
  .gl-spinner-container {
@@ -4,8 +4,8 @@
4
4
  }
5
5
 
6
6
  @include gl-h-6;
7
- @include gl-display-inline-flex;
8
- @include gl-white-space-nowrap;
7
+ @apply gl-inline-flex;
8
+ @apply gl-whitespace-nowrap;
9
9
  @include gl-cursor-pointer;
10
10
 
11
11
  &.gl-filtered-search-token-hover {
@@ -23,13 +23,13 @@
23
23
  }
24
24
 
25
25
  .gl-token {
26
- @include gl-rounded-0;
26
+ @apply gl-rounded-none;
27
27
 
28
28
  &.gl-filtered-search-token-type {
29
29
  @include gl-h-6;
30
30
  @include gl-bg-gray-50;
31
- @include gl-rounded-top-right-none;
32
- @include gl-rounded-bottom-right-none;
31
+ @apply gl-rounded-tr-none;
32
+ @apply gl-rounded-br-none;
33
33
  @apply gl-py-2;
34
34
  @apply gl-px-3;
35
35
  @apply gl-mr-1;
@@ -39,17 +39,17 @@
39
39
  @include gl-h-6;
40
40
  @include gl-bg-gray-50;
41
41
  @apply gl-mr-1;
42
- @include gl-rounded-0;
42
+ @apply gl-rounded-none;
43
43
  }
44
44
 
45
45
  &.gl-filtered-search-token-data {
46
46
  @include gl-h-6;
47
47
  @include gl-bg-gray-100;
48
- @include gl-rounded-top-right-small;
49
- @include gl-rounded-bottom-right-small;
48
+ @apply gl-rounded-tr-small;
49
+ @apply gl-rounded-br-small;
50
50
 
51
51
  .gl-filtered-search-token-data-content {
52
- @include gl-display-inline-flex;
52
+ @apply gl-inline-flex;
53
53
  }
54
54
  }
55
55
  }
@@ -1,9 +1,9 @@
1
1
  .gl-filtered-search-token-segment {
2
- @include gl-display-inline-flex;
3
- @include gl-align-items-center;
2
+ @apply gl-inline-flex;
3
+ @apply gl-items-center;
4
4
  @include gl-w-full;
5
5
  @include gl-h-6;
6
- @include gl-white-space-nowrap;
6
+ @apply gl-whitespace-nowrap;
7
7
  @include gl-cursor-pointer;
8
8
 
9
9
  &.gl-filtered-search-token-segment-active {
@@ -1,30 +1,30 @@
1
1
  @mixin gl-tmp-form-checkbox-inline-styles {
2
2
  @apply gl-mt-1;
3
3
  @apply gl-ml-0;
4
- @include gl-align-self-start;
4
+ @apply gl-self-start;
5
5
  position: static;
6
6
  @include gl-h-auto;
7
7
  @apply gl-mr-0;
8
8
  }
9
9
 
10
10
  .gl-form-checkbox-group {
11
- @include gl-line-height-normal;
11
+ @apply gl-leading-normal;
12
12
  }
13
13
 
14
14
  .gl-form-checkbox,
15
15
  .gl-form-radio {
16
- @include gl-font-base;
17
- @include gl-line-height-normal;
16
+ @apply gl-text-base;
17
+ @apply gl-leading-normal;
18
18
  color: var(--gl-text-color-default);
19
19
 
20
20
  &.form-check {
21
- @include gl-display-flex;
21
+ @apply gl-flex;
22
22
  @apply gl-pl-0;
23
23
  }
24
24
 
25
25
  &.form-check-inline {
26
- @include gl-display-inline-flex;
27
- @include gl-align-items-center;
26
+ @apply gl-inline-flex;
27
+ @apply gl-items-center;
28
28
  }
29
29
 
30
30
  .form-check-input {
@@ -39,7 +39,7 @@
39
39
 
40
40
  .form-check-label {
41
41
  @apply gl-pl-3;
42
- @include gl-line-height-normal;
42
+ @apply gl-leading-normal;
43
43
  }
44
44
 
45
45
  .form-check-input:disabled,
@@ -214,8 +214,8 @@
214
214
  .help-text {
215
215
  @apply gl-mt-2;
216
216
  @apply gl-mb-0;
217
- @include gl-font-base;
218
- @include gl-line-height-normal;
217
+ @apply gl-text-base;
218
+ @apply gl-leading-normal;
219
219
  color: var(--gl-text-color-subtle);
220
220
  }
221
221
  }
@@ -2,9 +2,9 @@
2
2
  @apply gl-mb-5;
3
3
 
4
4
  .col-form-label {
5
- @include gl-font-base;
6
- @include gl-font-weight-bold;
7
- @include gl-line-height-normal;
5
+ @apply gl-text-base;
6
+ @apply gl-font-bold;
7
+ @apply gl-leading-normal;
8
8
  @apply gl-pt-0;
9
9
  @apply gl-pb-3;
10
10
  color: var(--gl-text-color-strong);
@@ -17,7 +17,7 @@
17
17
 
18
18
  .optional-label,
19
19
  .label-description {
20
- @include gl-font-weight-normal;
20
+ @apply gl-font-normal;
21
21
  }
22
22
 
23
23
  .invalid-feedback {
@@ -32,8 +32,8 @@
32
32
  .valid-feedback,
33
33
  .text-muted,
34
34
  .gl-text-secondary {
35
- @include gl-font-base;
36
- @include gl-line-height-normal;
35
+ @apply gl-text-base;
36
+ @apply gl-leading-normal;
37
37
  }
38
38
 
39
39
  .text-muted {
@@ -1,8 +1,8 @@
1
1
  .gl-form-input,
2
2
  .gl-form-input.form-control {
3
3
  @include gl-font-regular;
4
- @include gl-font-base;
5
- @include gl-line-height-normal;
4
+ @apply gl-text-base;
5
+ @apply gl-leading-normal;
6
6
  @apply gl-py-3;
7
7
  @apply gl-px-4;
8
8
  @include gl-h-auto;
@@ -42,13 +42,16 @@ export default {
42
42
  const { default: defaultWidth, ...nonDefaultWidths } = this.width;
43
43
 
44
44
  return [
45
+ // eslint-disable-next-line @gitlab/tailwind -- Not a CSS utility
45
46
  ...(defaultWidth ? [`gl-form-input-${defaultWidth}`] : []),
46
47
  ...Object.entries(nonDefaultWidths).map(
48
+ // eslint-disable-next-line @gitlab/tailwind -- Not a CSS utility
47
49
  ([breakpoint, width]) => `gl-${breakpoint}-form-input-${width}`
48
50
  ),
49
51
  ];
50
52
  }
51
53
 
54
+ // eslint-disable-next-line @gitlab/tailwind -- Not a CSS utility
52
55
  return [`gl-form-input-${this.width}`];
53
56
  },
54
57
  listeners() {
@@ -1,4 +1,4 @@
1
1
  .gl-form-radio-group {
2
- @include gl-font-base;
3
- @include gl-line-height-normal;
2
+ @apply gl-text-base;
3
+ @apply gl-leading-normal;
4
4
  }
@@ -9,14 +9,14 @@ See: https://gitlab.com/gitlab-org/gitlab/issues/30055
9
9
 
10
10
  /* stylelint-disable property-no-vendor-prefix */
11
11
  .gl-form-select {
12
- @include gl-font-base;
12
+ @apply gl-text-base;
13
13
  @include gl-font-regular;
14
14
  @include gl-opacity-10;
15
- @include gl-line-height-normal;
15
+ @apply gl-leading-normal;
16
16
  @apply gl-py-3;
17
17
  @apply gl-pl-4;
18
18
  @include gl-h-auto;
19
- @include gl-text-truncate;
19
+ @apply gl-truncate;
20
20
  @include gl-bg-no-repeat;
21
21
  @apply gl-border-none;
22
22
  appearance: none;
@@ -34,13 +34,16 @@ export default {
34
34
  const { default: defaultWidth, ...nonDefaultWidths } = this.width;
35
35
 
36
36
  return [
37
+ // eslint-disable-next-line @gitlab/tailwind -- Not a CSS utility
37
38
  ...(defaultWidth ? [`gl-form-select-${defaultWidth}`] : []),
38
39
  ...Object.entries(nonDefaultWidths).map(
40
+ // eslint-disable-next-line @gitlab/tailwind -- Not a CSS utility
39
41
  ([breakpoint, width]) => `gl-${breakpoint}-form-select-${width}`
40
42
  ),
41
43
  ];
42
44
  }
43
45
 
46
+ // eslint-disable-next-line @gitlab/tailwind -- Not a CSS utility
44
47
  return [`gl-form-select-${this.width}`];
45
48
  },
46
49
  },
@@ -1,11 +1,11 @@
1
1
  .gl-infinite-scroll-container {
2
2
  @include gl-overflow-x-hidden;
3
3
  @include gl-overflow-y-auto;
4
- @include gl-font-base;
4
+ @apply gl-text-base;
5
5
  }
6
6
 
7
7
  .gl-infinite-scroll-legend {
8
8
  @include gl-text-center;
9
- @include gl-font-sm;
9
+ @apply gl-text-sm;
10
10
  @include gl-text-gray-900;
11
11
  }
@@ -4,15 +4,15 @@ $label-padding-horizontal: 0.75 * $grid-size;
4
4
  $label-padding-horizontal-half: 0.375 * $grid-size;
5
5
 
6
6
  .gl-label {
7
- @include gl-align-items-center;
7
+ @apply gl-items-center;
8
8
  background-color: var(--gl-background-color-default);
9
9
  @include gl-overflow-hidden;
10
- @include gl-display-inline-flex;
10
+ @apply gl-inline-flex;
11
11
  @include gl-rounded-pill;
12
12
  position: relative;
13
13
  @include gl-max-w-full;
14
- @include gl-font-sm;
15
- @include gl-line-height-normal;
14
+ @apply gl-text-sm;
15
+ @apply gl-leading-normal;
16
16
  box-shadow: var(--label-inset-border) !important;
17
17
 
18
18
  @media (forced-colors: active) {
@@ -28,16 +28,16 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
28
28
  }
29
29
 
30
30
  .gl-label-link {
31
- @include gl-display-flex;
32
- @include gl-font-weight-normal;
31
+ @apply gl-flex;
32
+ @apply gl-font-normal;
33
33
  @include gl-overflow-hidden;
34
- @include gl-reset-color;
34
+ @apply gl-text-inherit;
35
35
  @include gl-max-w-full;
36
36
 
37
37
  &:hover,
38
38
  &:focus,
39
39
  &:focus:active {
40
- @include gl-reset-color;
40
+ @apply gl-text-inherit;
41
41
  @include gl-shadow-none;
42
42
  @include gl-outline-none;
43
43
  }
@@ -58,14 +58,14 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
58
58
 
59
59
  .gl-label-text,
60
60
  .gl-label-text-scoped {
61
- @include gl-display-block;
61
+ @apply gl-block;
62
62
  padding: $gl-spacing-scale-1 $label-padding-horizontal;
63
63
  @include str-truncated($label-max-width);
64
64
  }
65
65
 
66
66
  > #{$label-close-button} {
67
67
  @apply gl-border-0;
68
- @include gl-display-flex;
68
+ @apply gl-flex;
69
69
  width: px-to-rem(14px);
70
70
  height: px-to-rem(14px);
71
71
  margin-left: -$label-padding-horizontal-half;
@@ -145,7 +145,7 @@ $label-padding-horizontal-half: 0.375 * $grid-size;
145
145
  }
146
146
 
147
147
  .gl-label-tooltip-title {
148
- @include gl-display-block;
148
+ @apply gl-block;
149
149
  @include gl-text-theme-indigo-300;
150
- @include gl-font-weight-bold;
150
+ @apply gl-font-bold;
151
151
  }
@@ -7,7 +7,7 @@
7
7
  &:active,
8
8
  &:focus,
9
9
  &:focus:active {
10
- @include gl-text-decoration-underline;
10
+ @apply gl-underline;
11
11
  @include gl-focus($outline: true, $outline-offset: $outline-width);
12
12
  }
13
13
  }
@@ -29,18 +29,18 @@ $gl-loader-dots-size-xl: 1rem;
29
29
  }
30
30
 
31
31
  .gl-spinner-container {
32
- @include gl-line-height-0;
32
+ @apply gl-leading-0;
33
33
  @include gl-text-center;
34
34
  }
35
35
 
36
36
  .gl-spinner {
37
37
  position: relative;
38
- @include gl-display-inline-flex;
38
+ @apply gl-inline-flex;
39
39
  @include gl-rounded-full;
40
40
  @apply gl-border-solid;
41
41
  @include gl-mx-auto;
42
42
  @apply gl-my-0;
43
- @include gl-font-base;
43
+ @apply gl-text-base;
44
44
 
45
45
  animation-name: gl-spinner-rotate;
46
46
  animation-duration: 0.6s;
@@ -78,7 +78,7 @@ $gl-loader-dots-size-xl: 1rem;
78
78
  }
79
79
 
80
80
  .gl-dots-loader {
81
- @include gl-line-height-0;
81
+ @apply gl-leading-0;
82
82
  @include gl-text-center;
83
83
  }
84
84
 
@@ -1,9 +1,9 @@
1
1
  .gl-markdown {
2
- @include gl-font-size-markdown;
3
- @include gl-line-height-24;
2
+ @apply gl-text-lg;
3
+ @apply gl-leading-24;
4
4
  color: $gl-text-color;
5
5
  @include gl-font-regular;
6
- @include gl-font-weight-normal;
6
+ @apply gl-font-normal;
7
7
 
8
8
  :first-child {
9
9
  @apply gl-mt-0;
@@ -57,13 +57,13 @@
57
57
 
58
58
  &.sm {
59
59
  @include gl-font-size-markdown-sm;
60
- @include gl-line-height-20;
60
+ @apply gl-leading-20;
61
61
  }
62
62
  }
63
63
 
64
64
  .sm {
65
65
  @include gl-font-size-markdown-sm;
66
- @include gl-line-height-20;
66
+ @apply gl-leading-20;
67
67
  }
68
68
 
69
69
  .monospace,
@@ -82,7 +82,7 @@
82
82
 
83
83
  .idiff {
84
84
  @apply gl-rounded-base;
85
- @include gl-display-inline-flex;
85
+ @apply gl-inline-flex;
86
86
  @apply gl-px-2;
87
87
  }
88
88
 
@@ -112,15 +112,15 @@
112
112
 
113
113
  code {
114
114
  @include gl-bg-white;
115
- @include gl-rounded-0;
115
+ @apply gl-rounded-none;
116
116
  @include gl-text-gray-900;
117
117
  @apply gl-p-0;
118
118
  }
119
119
  }
120
120
 
121
121
  .audio-container {
122
- @include gl-display-inline-flex;
123
- @include gl-flex-direction-column;
122
+ @apply gl-inline-flex;
123
+ @apply gl-flex-col;
124
124
  @include gl-w-full;
125
125
 
126
126
  audio {
@@ -147,12 +147,12 @@
147
147
  @apply gl-px-3;
148
148
  @apply gl-py-4;
149
149
  @include gl-inset-border-b-1-gray-100;
150
- @include gl-vertical-align-top;
150
+ @apply gl-align-top;
151
151
  }
152
152
 
153
153
  th {
154
154
  @include gl-inset-border-y-1-gray-100;
155
- @include gl-font-weight-bold;
155
+ @apply gl-font-bold;
156
156
  }
157
157
 
158
158
  thead {
@@ -166,8 +166,8 @@
166
166
  }
167
167
 
168
168
  .gl-compact-markdown {
169
- @include gl-font-base;
170
- @include gl-line-height-20;
169
+ @apply gl-text-base;
170
+ @apply gl-leading-20;
171
171
 
172
172
  h1,
173
173
  .gl-h1 {
@@ -206,7 +206,7 @@
206
206
  }
207
207
 
208
208
  .sm {
209
- @include gl-font-sm;
209
+ @apply gl-text-sm;
210
210
  }
211
211
 
212
212
  .monospace,