@gitlab/ui 79.2.0 → 79.4.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ # [79.4.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v79.3.0...v79.4.0) (2024-04-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **GlBreadcrumb:** Fix containerWidth calc with ResizeObserver ([daa8013](https://gitlab.com/gitlab-org/gitlab-ui/commit/daa80133e1e56383fb857c12cc9384c553a2b389))
7
+ * **GlBreadcrumb:** Fix details in resize calc ([4025e2e](https://gitlab.com/gitlab-org/gitlab-ui/commit/4025e2e0af2a41aa843ccd7c6f1fae25fd2ac170))
8
+ * **GlBreadcrumb:** Watch autoResize prop and react to change ([b4808bf](https://gitlab.com/gitlab-org/gitlab-ui/commit/b4808bfaa59646a6155b394d4c22d4a1c85c6cfb))
9
+
10
+
11
+ ### Features
12
+
13
+ * **GlBreadcrumb:** Add boolean prop to disable auto-resize ([0dad528](https://gitlab.com/gitlab-org/gitlab-ui/commit/0dad528cb2774c3c7bd9ccdafb7f9c8b00a88c23))
14
+
15
+ # [79.3.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v79.2.0...v79.3.0) (2024-04-25)
16
+
17
+
18
+ ### Features
19
+
20
+ * **DesignTokens:** add new text colors and deprecate pilot text colors ([818f109](https://gitlab.com/gitlab-org/gitlab-ui/commit/818f109b4151319a7d51025a8eae9bcf2a6e37e4))
21
+
1
22
  # [79.2.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v79.1.1...v79.2.0) (2024-04-24)
2
23
 
3
24
 
@@ -50,6 +50,14 @@ var script = {
50
50
  type: String,
51
51
  required: false,
52
52
  default: () => translate('GlBreadcrumb.showMoreLabel', 'Show more breadcrumbs')
53
+ },
54
+ /**
55
+ * Allows to disable auto-resize behavior. Items will then overflow their container instead of being collapsed into a dropdown.
56
+ */
57
+ autoResize: {
58
+ type: Boolean,
59
+ required: false,
60
+ default: true
53
61
  }
54
62
  },
55
63
  data() {
@@ -97,17 +105,23 @@ var script = {
97
105
  items: {
98
106
  handler: 'measureAndMakeBreadcrumbsFit',
99
107
  deep: true
108
+ },
109
+ autoResize(newValue) {
110
+ if (newValue) this.enableAutoResize();else this.disableAutoResize();
100
111
  }
101
112
  },
102
113
  created() {
103
114
  this.debounceMakeBreadcrumbsFit = debounce(this.makeBreadcrumbsFit, 25);
104
115
  },
105
116
  mounted() {
106
- window.addEventListener('resize', this.debounceMakeBreadcrumbsFit);
107
- this.measureAndMakeBreadcrumbsFit();
117
+ if (this.autoResize) {
118
+ this.enableAutoResize();
119
+ } else {
120
+ this.resizeDone = true;
121
+ }
108
122
  },
109
123
  beforeDestroy() {
110
- window.removeEventListener('resize', this.debounceMakeBreadcrumbsFit);
124
+ this.disableAutoResize();
111
125
  },
112
126
  methods: {
113
127
  resetItems() {
@@ -132,9 +146,9 @@ var script = {
132
146
  this.resizeDone = false;
133
147
  this.resetItems();
134
148
  const containerWidth = this.$el.clientWidth;
135
- const buttonWidth = 50; // px
149
+ const buttonWidth = 40; // px
136
150
 
137
- if (this.totalBreadcrumbsWidth + buttonWidth > containerWidth) {
151
+ if (this.totalBreadcrumbsWidth > containerWidth) {
138
152
  // Not all breadcrumb items fit. Start moving items over to the dropdown.
139
153
  const startSlicingAt = 0;
140
154
 
@@ -158,6 +172,18 @@ var script = {
158
172
  },
159
173
  getAriaCurrentAttr(index) {
160
174
  return this.isLastItem(index) ? 'page' : false;
175
+ },
176
+ enableAutoResize() {
177
+ this.resizeObserver || (this.resizeObserver = new ResizeObserver(this.debounceMakeBreadcrumbsFit));
178
+ this.resizeObserver.observe(this.$el);
179
+ this.measureAndMakeBreadcrumbsFit();
180
+ },
181
+ disableAutoResize() {
182
+ if (this.resizeObserver) {
183
+ this.resizeObserver.unobserve(this.$el);
184
+ this.resizeObserver = null;
185
+ }
186
+ this.resetItems();
161
187
  }
162
188
  }
163
189
  };
@@ -358,13 +358,13 @@ const __vue_script__ = script;
358
358
  var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('nav',{staticClass:"gl-pagination text-nowrap",attrs:{"aria-label":"Pagination"}},[_c('ul',{staticClass:"pagination",class:_vm.wrapperClasses},[_c('li',{staticClass:"page-item",class:{
359
359
  disabled: _vm.prevPageIsDisabled,
360
360
  'flex-fill': _vm.isFillAlign,
361
- },attrs:{"aria-hidden":_vm.prevPageIsDisabled}},[_c(_vm.prevPageIsDisabled ? 'span' : 'a',{tag:"component",staticClass:"gl-link page-link prev-page-item gl-display-flex",attrs:{"aria-label":_vm.prevPageAriaLabel,"href":_vm.prevPageHref},on:{"click":function($event){return _vm.handlePrevious($event, _vm.value - 1)}}},[_vm._t("previous",function(){return [_c('gl-icon',{attrs:{"name":"chevron-left"}}),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.prevText))])]},null,{ page: _vm.value - 1, disabled: _vm.prevPageIsDisabled })],2)],1),_vm._v(" "),_vm._l((_vm.visibleItems),function(item){return _c('li',{key:item.key,staticClass:"page-item",class:{
361
+ },attrs:{"data-testid":"page-item","aria-hidden":_vm.prevPageIsDisabled}},[_c(_vm.prevPageIsDisabled ? 'span' : 'a',{tag:"component",staticClass:"gl-link page-link prev-page-item gl-display-flex",attrs:{"data-testid":"page-link","aria-label":_vm.prevPageAriaLabel,"href":_vm.prevPageHref},on:{"click":function($event){return _vm.handlePrevious($event, _vm.value - 1)}}},[_vm._t("previous",function(){return [_c('gl-icon',{attrs:{"name":"chevron-left"}}),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.prevText))])]},null,{ page: _vm.value - 1, disabled: _vm.prevPageIsDisabled })],2)],1),_vm._v(" "),_vm._l((_vm.visibleItems),function(item){return _c('li',{key:item.key,staticClass:"page-item",class:{
362
362
  disabled: item.disabled,
363
363
  'flex-fill': _vm.isFillAlign,
364
- }},[_c(item.component,_vm._g(_vm._b({tag:"component",staticClass:"page-link",attrs:{"size":"md","aria-disabled":item.disabled}},'component',item.attrs,false),item.listeners),[_vm._t(item.slot,function(){return [_vm._v(_vm._s(item.content))]},null,item.slotData)],2)],1)}),_vm._v(" "),_c('li',{staticClass:"page-item",class:{
364
+ },attrs:{"data-testid":"page-item"}},[_c(item.component,_vm._g(_vm._b({tag:"component",staticClass:"page-link",attrs:{"data-testid":"page-link","size":"md","aria-disabled":item.disabled}},'component',item.attrs,false),item.listeners),[_vm._t(item.slot,function(){return [_vm._v(_vm._s(item.content))]},null,item.slotData)],2)],1)}),_vm._v(" "),_c('li',{staticClass:"page-item",class:{
365
365
  disabled: _vm.nextPageIsDisabled,
366
366
  'flex-fill': _vm.isFillAlign,
367
- },attrs:{"aria-hidden":_vm.nextPageIsDisabled}},[_c(_vm.nextPageIsDisabled ? 'span' : 'a',{tag:"component",staticClass:"gl-link page-link next-page-item gl-display-flex",attrs:{"aria-label":_vm.nextPageAriaLabel,"href":_vm.nextPageHref},on:{"click":function($event){return _vm.handleNext($event, _vm.value + 1)}}},[_vm._t("next",function(){return [_c('span',[_vm._v(_vm._s(_vm.nextText))]),_vm._v(" "),_c('gl-icon',{attrs:{"name":"chevron-right"}})]},null,{ page: _vm.value + 1, disabled: _vm.nextPageIsDisabled })],2)],1)],2)]):_vm._e()};
367
+ },attrs:{"data-testid":"page-item","aria-hidden":_vm.nextPageIsDisabled}},[_c(_vm.nextPageIsDisabled ? 'span' : 'a',{tag:"component",staticClass:"gl-link page-link next-page-item gl-display-flex",attrs:{"data-testid":"page-link","aria-label":_vm.nextPageAriaLabel,"href":_vm.nextPageHref},on:{"click":function($event){return _vm.handleNext($event, _vm.value + 1)}}},[_vm._t("next",function(){return [_c('span',[_vm._v(_vm._s(_vm.nextText))]),_vm._v(" "),_c('gl-icon',{attrs:{"name":"chevron-right"}})]},null,{ page: _vm.value + 1, disabled: _vm.nextPageIsDisabled })],2)],1)],2)]):_vm._e()};
368
368
  var __vue_staticRenderFns__ = [];
369
369
 
370
370
  /* style */
@@ -1,12 +1,20 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 24 Apr 2024 16:36:49 GMT
3
+ * Generated on Thu, 25 Apr 2024 15:30:17 GMT
4
4
  */
5
5
 
6
6
  :root {
7
- --gl-text-tertiary: #89888d;
8
- --gl-text-secondary: #737278;
9
- --gl-text-primary: #333238;
7
+ --gl-text-color-disabled: #89888d; /* Used for disabled text. */
8
+ --gl-text-color-success: #217645; /* Used for text indicating success or validity. */
9
+ --gl-text-color-danger: #c91c00; /* Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination. */
10
+ --gl-text-color-link: #0b5cad; /* Used for default text links. */
11
+ --gl-text-color-heading: #1f1e24; /* Used for headings level 1-6. */
12
+ --gl-text-color-strong: #1f1e24; /* Used for text with the highest contrast. */
13
+ --gl-text-color-subtle: #626168; /* Used for supplemental text that doesn't need to be as prominent as other text. */
14
+ --gl-text-color-default: #434248; /* Used for the default text color. */
15
+ --gl-text-tertiary: #89888d; /* Use text.color.disabled instead */
16
+ --gl-text-secondary: #737278; /* Use text.color.subtle instead */
17
+ --gl-text-primary: #333238; /* Use text.color.strong instead */
10
18
  --gl-line-height-52: 3.25rem;
11
19
  --gl-line-height-44: 2.75rem;
12
20
  --gl-line-height-42: 2.625rem;
@@ -1,12 +1,18 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 24 Apr 2024 16:36:49 GMT
3
+ * Generated on Thu, 25 Apr 2024 15:30:17 GMT
4
4
  */
5
5
 
6
6
  :root.gl-dark {
7
- --gl-text-tertiary: #737278;
8
- --gl-text-secondary: #89888d;
9
- --gl-text-primary: #ececef;
7
+ --gl-text-color-disabled: #89888d; /* Used for disabled text. */
8
+ --gl-text-color-link: #63a6e9; /* Used for default text links. */
9
+ --gl-text-color-heading: #fff; /* Used for headings level 1-6. */
10
+ --gl-text-color-strong: #fff; /* Used for text with the highest contrast. */
11
+ --gl-text-color-subtle: #bfbfc3; /* Used for supplemental text that doesn't need to be as prominent as other text. */
12
+ --gl-text-color-default: #ececef; /* Used for the default text color. */
13
+ --gl-text-tertiary: #737278; /* Use text.color.disabled instead */
14
+ --gl-text-secondary: #89888d; /* Use text.color.subtle instead */
15
+ --gl-text-primary: #ececef; /* Use text.color.strong instead */
10
16
  --red-950: #fff4f3;
11
17
  --red-900: #fcf1ef;
12
18
  --red-800: #fdd4cd;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 24 Apr 2024 16:36:49 GMT
3
+ * Generated on Thu, 25 Apr 2024 15:30:17 GMT
4
4
  */
5
5
 
6
6
  export const DATA_VIZ_GREEN_50 = "#133a03";
@@ -199,6 +199,12 @@ export const RED_700 = "#fcb5aa";
199
199
  export const RED_800 = "#fdd4cd";
200
200
  export const RED_900 = "#fcf1ef";
201
201
  export const RED_950 = "#fff4f3";
202
- export const GL_TEXT_PRIMARY = "#ececef";
203
- export const GL_TEXT_SECONDARY = "#89888d";
204
- export const GL_TEXT_TERTIARY = "#737278";
202
+ export const GL_TEXT_PRIMARY = "#ececef"; // Use text.color.strong instead
203
+ export const GL_TEXT_SECONDARY = "#89888d"; // Use text.color.subtle instead
204
+ export const GL_TEXT_TERTIARY = "#737278"; // Use text.color.disabled instead
205
+ export const GL_TEXT_COLOR_DEFAULT = "#ececef"; // Used for the default text color.
206
+ export const GL_TEXT_COLOR_SUBTLE = "#bfbfc3"; // Used for supplemental text that doesn't need to be as prominent as other text.
207
+ export const GL_TEXT_COLOR_STRONG = "#fff"; // Used for text with the highest contrast.
208
+ export const GL_TEXT_COLOR_HEADING = "#fff"; // Used for headings level 1-6.
209
+ export const GL_TEXT_COLOR_LINK = "#63a6e9"; // Used for default text links.
210
+ export const GL_TEXT_COLOR_DISABLED = "#89888d"; // Used for disabled text.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 24 Apr 2024 16:36:49 GMT
3
+ * Generated on Thu, 25 Apr 2024 15:30:17 GMT
4
4
  */
5
5
 
6
6
  export const DATA_VIZ_GREEN_50 = "#ddfab7";
@@ -233,6 +233,14 @@ export const GL_LINE_HEIGHT_36 = "2.25rem";
233
233
  export const GL_LINE_HEIGHT_42 = "2.625rem";
234
234
  export const GL_LINE_HEIGHT_44 = "2.75rem";
235
235
  export const GL_LINE_HEIGHT_52 = "3.25rem";
236
- export const GL_TEXT_PRIMARY = "#333238";
237
- export const GL_TEXT_SECONDARY = "#737278";
238
- export const GL_TEXT_TERTIARY = "#89888d";
236
+ export const GL_TEXT_PRIMARY = "#333238"; // Use text.color.strong instead
237
+ export const GL_TEXT_SECONDARY = "#737278"; // Use text.color.subtle instead
238
+ export const GL_TEXT_TERTIARY = "#89888d"; // Use text.color.disabled instead
239
+ export const GL_TEXT_COLOR_DEFAULT = "#434248"; // Used for the default text color.
240
+ export const GL_TEXT_COLOR_SUBTLE = "#626168"; // Used for supplemental text that doesn't need to be as prominent as other text.
241
+ export const GL_TEXT_COLOR_STRONG = "#1f1e24"; // Used for text with the highest contrast.
242
+ export const GL_TEXT_COLOR_HEADING = "#1f1e24"; // Used for headings level 1-6.
243
+ export const GL_TEXT_COLOR_LINK = "#0b5cad"; // Used for default text links.
244
+ export const GL_TEXT_COLOR_DANGER = "#c91c00"; // Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.
245
+ export const GL_TEXT_COLOR_SUCCESS = "#217645"; // Used for text indicating success or validity.
246
+ export const GL_TEXT_COLOR_DISABLED = "#89888d"; // Used for disabled text.
@@ -222,7 +222,15 @@
222
222
  "t-white-a-08": "rgba(255, 255, 255, 0.08)",
223
223
  "text-primary": "#ececef",
224
224
  "text-secondary": "#89888d",
225
- "text-tertiary": "#737278"
225
+ "text-tertiary": "#737278",
226
+ "text-color-default": "#ececef",
227
+ "text-color-subtle": "#bfbfc3",
228
+ "text-color-strong": "#fff",
229
+ "text-color-heading": "#fff",
230
+ "text-color-link": "#63a6e9",
231
+ "text-color-danger": "#c91c00",
232
+ "text-color-success": "#217645",
233
+ "text-color-disabled": "#89888d"
226
234
  },
227
235
  "dimension": {
228
236
  "line-height-12": "0.75rem",
@@ -4800,12 +4800,16 @@
4800
4800
  "primary": {
4801
4801
  "value": "#ececef",
4802
4802
  "$type": "color",
4803
+ "comment": "Use text.color.strong instead",
4804
+ "deprecated": true,
4803
4805
  "themeable": true,
4804
4806
  "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
4805
4807
  "isSource": true,
4806
4808
  "original": {
4807
4809
  "value": "#ececef",
4808
4810
  "$type": "color",
4811
+ "comment": "Use text.color.strong instead",
4812
+ "deprecated": true,
4809
4813
  "themeable": true
4810
4814
  },
4811
4815
  "name": "TEXT_PRIMARY",
@@ -4818,12 +4822,16 @@
4818
4822
  "secondary": {
4819
4823
  "value": "#89888d",
4820
4824
  "$type": "color",
4825
+ "comment": "Use text.color.subtle instead",
4826
+ "deprecated": true,
4821
4827
  "themeable": true,
4822
4828
  "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
4823
4829
  "isSource": true,
4824
4830
  "original": {
4825
4831
  "value": "#89888d",
4826
4832
  "$type": "color",
4833
+ "comment": "Use text.color.subtle instead",
4834
+ "deprecated": true,
4827
4835
  "themeable": true
4828
4836
  },
4829
4837
  "name": "TEXT_SECONDARY",
@@ -4836,12 +4844,16 @@
4836
4844
  "tertiary": {
4837
4845
  "value": "#737278",
4838
4846
  "$type": "color",
4847
+ "comment": "Use text.color.disabled instead",
4848
+ "deprecated": true,
4839
4849
  "themeable": true,
4840
4850
  "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
4841
4851
  "isSource": true,
4842
4852
  "original": {
4843
4853
  "value": "#737278",
4844
4854
  "$type": "color",
4855
+ "comment": "Use text.color.disabled instead",
4856
+ "deprecated": true,
4845
4857
  "themeable": true
4846
4858
  },
4847
4859
  "name": "TEXT_TERTIARY",
@@ -4850,6 +4862,176 @@
4850
4862
  "text",
4851
4863
  "tertiary"
4852
4864
  ]
4865
+ },
4866
+ "color": {
4867
+ "default": {
4868
+ "value": "#ececef",
4869
+ "$type": "color",
4870
+ "comment": "Used for the default text color.",
4871
+ "themeable": true,
4872
+ "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
4873
+ "isSource": true,
4874
+ "original": {
4875
+ "value": "#ececef",
4876
+ "$type": "color",
4877
+ "comment": "Used for the default text color.",
4878
+ "themeable": true
4879
+ },
4880
+ "name": "TEXT_COLOR_DEFAULT",
4881
+ "attributes": {},
4882
+ "path": [
4883
+ "text",
4884
+ "color",
4885
+ "default"
4886
+ ]
4887
+ },
4888
+ "subtle": {
4889
+ "value": "#bfbfc3",
4890
+ "$type": "color",
4891
+ "comment": "Used for supplemental text that doesn't need to be as prominent as other text.",
4892
+ "themeable": true,
4893
+ "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
4894
+ "isSource": true,
4895
+ "original": {
4896
+ "value": "#bfbfc3",
4897
+ "$type": "color",
4898
+ "comment": "Used for supplemental text that doesn't need to be as prominent as other text.",
4899
+ "themeable": true
4900
+ },
4901
+ "name": "TEXT_COLOR_SUBTLE",
4902
+ "attributes": {},
4903
+ "path": [
4904
+ "text",
4905
+ "color",
4906
+ "subtle"
4907
+ ]
4908
+ },
4909
+ "strong": {
4910
+ "value": "#fff",
4911
+ "$type": "color",
4912
+ "comment": "Used for text with the highest contrast.",
4913
+ "themeable": true,
4914
+ "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
4915
+ "isSource": true,
4916
+ "original": {
4917
+ "value": "#fff",
4918
+ "$type": "color",
4919
+ "comment": "Used for text with the highest contrast.",
4920
+ "themeable": true
4921
+ },
4922
+ "name": "TEXT_COLOR_STRONG",
4923
+ "attributes": {},
4924
+ "path": [
4925
+ "text",
4926
+ "color",
4927
+ "strong"
4928
+ ]
4929
+ },
4930
+ "heading": {
4931
+ "value": "#fff",
4932
+ "$type": "color",
4933
+ "comment": "Used for headings level 1-6.",
4934
+ "themeable": true,
4935
+ "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
4936
+ "isSource": true,
4937
+ "original": {
4938
+ "value": "#fff",
4939
+ "$type": "color",
4940
+ "comment": "Used for headings level 1-6.",
4941
+ "themeable": true
4942
+ },
4943
+ "name": "TEXT_COLOR_HEADING",
4944
+ "attributes": {},
4945
+ "path": [
4946
+ "text",
4947
+ "color",
4948
+ "heading"
4949
+ ]
4950
+ },
4951
+ "link": {
4952
+ "value": "#63a6e9",
4953
+ "$type": "color",
4954
+ "comment": "Used for default text links.",
4955
+ "themeable": true,
4956
+ "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
4957
+ "isSource": true,
4958
+ "original": {
4959
+ "value": "#63a6e9",
4960
+ "$type": "color",
4961
+ "comment": "Used for default text links.",
4962
+ "themeable": true
4963
+ },
4964
+ "name": "TEXT_COLOR_LINK",
4965
+ "attributes": {},
4966
+ "path": [
4967
+ "text",
4968
+ "color",
4969
+ "link"
4970
+ ]
4971
+ },
4972
+ "danger": {
4973
+ "value": "#c91c00",
4974
+ "$type": "color",
4975
+ "comment": "Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.",
4976
+ "themeable": true,
4977
+ "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.tokens.json",
4978
+ "isSource": false,
4979
+ "original": {
4980
+ "value": "#c91c00",
4981
+ "$type": "color",
4982
+ "comment": "Used for text indicating a problem, critical state, destructive action, error, failure, removal, stop, or declination.",
4983
+ "themeable": true
4984
+ },
4985
+ "name": "TEXT_COLOR_DANGER",
4986
+ "attributes": {},
4987
+ "path": [
4988
+ "text",
4989
+ "color",
4990
+ "danger"
4991
+ ]
4992
+ },
4993
+ "success": {
4994
+ "value": "#217645",
4995
+ "$type": "color",
4996
+ "comment": "Used for text indicating success or validity.",
4997
+ "themeable": true,
4998
+ "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.tokens.json",
4999
+ "isSource": false,
5000
+ "original": {
5001
+ "value": "#217645",
5002
+ "$type": "color",
5003
+ "comment": "Used for text indicating success or validity.",
5004
+ "themeable": true
5005
+ },
5006
+ "name": "TEXT_COLOR_SUCCESS",
5007
+ "attributes": {},
5008
+ "path": [
5009
+ "text",
5010
+ "color",
5011
+ "success"
5012
+ ]
5013
+ },
5014
+ "disabled": {
5015
+ "value": "#89888d",
5016
+ "$type": "color",
5017
+ "comment": "Used for disabled text.",
5018
+ "themeable": true,
5019
+ "filePath": "/builds/gitlab-org/gitlab-ui/src/tokens/text.dark.tokens.json",
5020
+ "isSource": true,
5021
+ "original": {
5022
+ "value": "#89888d",
5023
+ "$type": "color",
5024
+ "comment": "Used for disabled text.",
5025
+ "themeable": true
5026
+ },
5027
+ "name": "TEXT_COLOR_DISABLED",
5028
+ "attributes": {},
5029
+ "path": [
5030
+ "text",
5031
+ "color",
5032
+ "disabled"
5033
+ ]
5034
+ }
4853
5035
  }
4854
5036
  }
4855
5037
  }
@@ -222,7 +222,15 @@
222
222
  "t-white-a-08": "rgba(255, 255, 255, 0.08)",
223
223
  "text-primary": "#333238",
224
224
  "text-secondary": "#737278",
225
- "text-tertiary": "#89888d"
225
+ "text-tertiary": "#89888d",
226
+ "text-color-default": "#434248",
227
+ "text-color-subtle": "#626168",
228
+ "text-color-strong": "#1f1e24",
229
+ "text-color-heading": "#1f1e24",
230
+ "text-color-link": "#0b5cad",
231
+ "text-color-danger": "#c91c00",
232
+ "text-color-success": "#217645",
233
+ "text-color-disabled": "#89888d"
226
234
  },
227
235
  "dimension": {
228
236
  "line-height-12": "0.75rem",