@gitlab/ui 78.12.0 → 78.14.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,17 @@
1
+ # [78.14.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v78.13.0...v78.14.0) (2024-04-12)
2
+
3
+
4
+ ### Features
5
+
6
+ * **tailwind:** add transparent to supported colors ([8b43228](https://gitlab.com/gitlab-org/gitlab-ui/commit/8b43228294ee2c0d5adf864e5281fe73e9f79cc0))
7
+
8
+ # [78.13.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v78.12.0...v78.13.0) (2024-04-11)
9
+
10
+
11
+ ### Features
12
+
13
+ * **tailwind:** add data-viz colors to the preset ([9b31bd0](https://gitlab.com/gitlab-org/gitlab-ui/commit/9b31bd063e8284921048729ed4f130dcf312de82))
14
+
1
15
  # [78.12.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v78.11.0...v78.12.0) (2024-04-10)
2
16
 
3
17
 
@@ -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 Fri, 12 Apr 2024 16:19:06 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 Fri, 12 Apr 2024 16:19:06 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 Fri, 12 Apr 2024 16:19:06 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 Fri, 12 Apr 2024 16:19:06 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 Fri, 12 Apr 2024 16:19:06 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 Fri, 12 Apr 2024 16:19:06 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.14.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -19,16 +19,25 @@ 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;
25
32
  }, {});
26
33
 
27
34
  const colors = {
35
+ transparent: 'transparent',
28
36
  white: cssCustomPropertyWithValue(COMPILED_TOKENS.white),
29
37
  black: cssCustomPropertyWithValue(COMPILED_TOKENS.black),
30
38
  ...baseColors,
31
39
  ...themeColors,
40
+ ...dataVizColors,
32
41
  };
33
42
 
34
43
  const gridSize = 0.5; // rem