@gitlab/ui 78.12.0 → 78.13.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,10 @@
1
+ # [78.13.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v78.12.0...v78.13.0) (2024-04-11)
2
+
3
+
4
+ ### Features
5
+
6
+ * **tailwind:** add data-viz colors to the preset ([9b31bd0](https://gitlab.com/gitlab-org/gitlab-ui/commit/9b31bd063e8284921048729ed4f130dcf312de82))
7
+
1
8
  # [78.12.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v78.11.0...v78.12.0) (2024-04-10)
2
9
 
3
10
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 10 Apr 2024 13:35:48 GMT
3
+ * Generated on Thu, 11 Apr 2024 19:09:08 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 10 Apr 2024 13:35:48 GMT
3
+ * Generated on Thu, 11 Apr 2024 19:09:09 GMT
4
4
  */
5
5
 
6
6
  :root.gl-dark {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 10 Apr 2024 13:35:48 GMT
3
+ * Generated on Thu, 11 Apr 2024 19:09:09 GMT
4
4
  */
5
5
 
6
6
  export const DATA_VIZ_GREEN_50 = "#133a03";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 10 Apr 2024 13:35:48 GMT
3
+ * Generated on Thu, 11 Apr 2024 19:09:08 GMT
4
4
  */
5
5
 
6
6
  export const DATA_VIZ_GREEN_50 = "#ddfab7";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 10 Apr 2024 13:35:48 GMT
3
+ // Generated on Thu, 11 Apr 2024 19:09:09 GMT
4
4
 
5
5
  $gl-text-tertiary: #737278 !default;
6
6
  $gl-text-secondary: #89888d !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 10 Apr 2024 13:35:48 GMT
3
+ // Generated on Thu, 11 Apr 2024 19:09:08 GMT
4
4
 
5
5
  $gl-text-tertiary: #89888d !default;
6
6
  $gl-text-secondary: #737278 !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "78.12.0",
3
+ "version": "78.13.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -19,6 +19,13 @@ const themeColors = Object.entries(COMPILED_TOKENS.theme).reduce((acc, [, scales
19
19
  return acc;
20
20
  }, {});
21
21
 
22
+ const dataVizColors = Object.entries(COMPILED_TOKENS['data-viz']).reduce((acc, [, scales]) => {
23
+ Object.entries(scales).forEach(([, token]) => {
24
+ acc[token.path.join('-')] = cssCustomPropertyWithValue(token);
25
+ });
26
+ return acc;
27
+ }, {});
28
+
22
29
  const textColors = Object.entries(COMPILED_TOKENS.text).reduce((acc, [scale, token]) => {
23
30
  acc[scale] = cssCustomPropertyWithValue(token);
24
31
  return acc;
@@ -29,6 +36,7 @@ const colors = {
29
36
  black: cssCustomPropertyWithValue(COMPILED_TOKENS.black),
30
37
  ...baseColors,
31
38
  ...themeColors,
39
+ ...dataVizColors,
32
40
  };
33
41
 
34
42
  const gridSize = 0.5; // rem