@gitlab/ui 50.1.0 → 50.1.2
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
|
+
## [50.1.2](https://gitlab.com/gitlab-org/gitlab-ui/compare/v50.1.1...v50.1.2) (2022-11-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **charts:** fix toolbox icons default + hover colors ([1fecdd6](https://gitlab.com/gitlab-org/gitlab-ui/commit/1fecdd65a67f47edf2afdf7481b2545d3ecc19e7))
|
|
7
|
+
|
|
8
|
+
## [50.1.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v50.1.0...v50.1.1) (2022-11-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **charts:** Update chart toolbar icons ([18dd203](https://gitlab.com/gitlab-org/gitlab-ui/commit/18dd2037af0591d9cb0c38f21008e5d67b5beaab))
|
|
14
|
+
|
|
1
15
|
# [50.1.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v50.0.1...v50.1.0) (2022-11-23)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -9,7 +9,6 @@ const gray200 = '#bfbfc3';
|
|
|
9
9
|
const gray300 = '#a4a3a8';
|
|
10
10
|
const gray500 = '#737278';
|
|
11
11
|
const gray600 = '#626168';
|
|
12
|
-
const gray700 = '#535158';
|
|
13
12
|
const gray900 = '#333238';
|
|
14
13
|
const dataVizGreen500 = '#619025';
|
|
15
14
|
const dataVizGreen600 = '#4e7f0e';
|
|
@@ -164,11 +163,11 @@ const createTheme = function () {
|
|
|
164
163
|
emphasis: {
|
|
165
164
|
iconStyle: {
|
|
166
165
|
borderWidth: 0,
|
|
167
|
-
color:
|
|
166
|
+
color: gray900
|
|
168
167
|
}
|
|
169
168
|
},
|
|
170
169
|
iconStyle: {
|
|
171
|
-
color:
|
|
170
|
+
color: gray500,
|
|
172
171
|
borderWidth: 0
|
|
173
172
|
},
|
|
174
173
|
itemGap: 8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const scrollHandleSvgPath = 'path://M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zM6 4a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1zm4 0a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1z';
|
|
2
|
-
const marqueeSelectionSvgPath = 'path://
|
|
3
|
-
const redoSvgPath = 'path://
|
|
4
|
-
const clearAllSvgPath = 'path://
|
|
5
|
-
const downloadSvgPath = 'path://
|
|
2
|
+
const marqueeSelectionSvgPath = 'path://M-6.251 -7L-7 -7L-7 -4.753A0.749 0.749 0 0 0 -5.502 -4.753L-5.502 -5.502L-4.753 -5.502A0.749 0.749 0 0 0 -4.753 -7L-6.251 -7ZM-6.251 -2.0067A0.749 0.749 0 0 1 -5.502 -1.2577L-5.502 1.239A0.749 0.749 0 1 1 -7 1.239L-7 -1.2577A0.749 0.749 0 0 1 -6.251 -2.0067ZM0.8455 0.8455L2.3505 4.3578L4.3578 2.3505L0.8455 0.8455ZM0.2883 -1.023L5.6251 1.264A0.9987 0.9987 0 0 1 5.9387 2.8888L4.943 3.8835L6.7616 5.703A0.749 0.749 0 1 1 5.703 6.7616L3.8835 4.943L2.8888 5.9387A0.9987 0.9987 0 0 1 1.264 5.6251L-1.023 0.2883C-1.3785 -0.5406 -0.5406 -1.3785 0.2883 -1.023ZM-6.251 6.9813L-7 6.9813L-7 4.7343A0.749 0.749 0 1 1 -5.502 4.7343L-5.502 5.4833L-4.753 5.4833A0.749 0.749 0 1 1 -4.753 6.9813L-6.251 6.9813ZM-2.0067 -6.251A0.749 0.749 0 0 1 -1.2577 -7L1.239 -7A0.749 0.749 0 1 1 1.239 -5.502L-1.2577 -5.502A0.749 0.749 0 0 1 -2.0067 -6.251ZM6.2323 -7L6.9813 -7L6.9813 -4.753A0.749 0.749 0 1 1 5.4833 -4.753L5.4833 -5.502L4.7343 -5.502A0.749 0.749 0 1 1 4.7343 -7L6.2323 -7Z';
|
|
3
|
+
const redoSvgPath = 'path://M1.8332 -6.7552A7.0001 7.0001 0 0 0 -5.6875 -4.082L-5.6875 -5.4689A0.6563 0.6563 0 0 0 -7 -5.4689L-7 -1.7501L-3.2812 -1.7501A0.6563 0.6563 0 0 0 -3.2812 -3.0626L-4.7923 -3.0626A5.6876 5.6876 0 1 1 -5.2526 2.1822A0.6563 0.6563 0 0 0 -6.4645 2.6853A7.0001 7.0001 0 1 0 1.8332 -6.7561Z';
|
|
4
|
+
const clearAllSvgPath = 'path://M-1.8332 -6.7552A7.0001 7.0001 0 0 1 5.6875 -4.082L5.6875 -5.4689A0.6563 0.6563 0 1 1 7 -5.4689L7 -1.7501L3.2812 -1.7501A0.6563 0.6563 0 1 1 3.2812 -3.0626L4.7923 -3.0626A5.6876 5.6876 0 1 0 5.2526 2.1822A0.6563 0.6563 0 1 1 6.4645 2.6853A7.0001 7.0001 0 1 1 -1.8332 -6.7561Z';
|
|
5
|
+
const downloadSvgPath = 'path://M3.78 -0.841A0.75 0.75 0 0 0 2.72 -0.841L0.75 1.129L0.75 -6.25A0.75 0.75 0 0 0 -0.75 -6.25L-0.75 1.129L-2.72 -0.841A0.75 0.75 0 0 0 -3.78 0.219L-0.53 3.469L0 4L0.53 3.47L3.78 0.22A0.75 0.75 0 0 0 3.78 -0.841ZM-5.5 1.75A0.75 0.75 0 0 0 -7 1.75L-7 5A2 2 0 0 0 -5 7L5 7A2 2 0 0 0 7 5L7 1.75A0.75 0.75 0 0 0 5.5 1.75L5.5 5A0.5 0.5 0 0 1 5 5.5L-5 5.5A0.5 0.5 0 0 1 -5.5 5L-5.5 1.75Z';
|
|
6
6
|
|
|
7
7
|
export { clearAllSvgPath, downloadSvgPath, marqueeSelectionSvgPath, redoSvgPath, scrollHandleSvgPath };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "50.1.
|
|
3
|
+
"version": "50.1.2",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@babel/preset-env": "^7.20.2",
|
|
86
86
|
"@gitlab/eslint-plugin": "18.1.0",
|
|
87
87
|
"@gitlab/stylelint-config": "4.1.0",
|
|
88
|
-
"@gitlab/svgs": "3.
|
|
88
|
+
"@gitlab/svgs": "3.10.0",
|
|
89
89
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
90
90
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
91
91
|
"@rollup/plugin-replace": "^2.3.2",
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
gray300,
|
|
6
6
|
gray500,
|
|
7
7
|
gray600,
|
|
8
|
-
gray700,
|
|
9
8
|
gray900,
|
|
10
9
|
red500,
|
|
11
10
|
whiteNormal,
|
|
@@ -209,11 +208,11 @@ export const createTheme = (options = {}) => ({
|
|
|
209
208
|
emphasis: {
|
|
210
209
|
iconStyle: {
|
|
211
210
|
borderWidth: 0,
|
|
212
|
-
color:
|
|
211
|
+
color: gray900,
|
|
213
212
|
},
|
|
214
213
|
},
|
|
215
214
|
iconStyle: {
|
|
216
|
-
color:
|
|
215
|
+
color: gray500,
|
|
217
216
|
borderWidth: 0,
|
|
218
217
|
},
|
|
219
218
|
itemGap: 8,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export const scrollHandleSvgPath =
|
|
2
2
|
'path://M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zM6 4a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1zm4 0a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1z';
|
|
3
3
|
export const marqueeSelectionSvgPath =
|
|
4
|
-
'path://
|
|
4
|
+
'path://M-6.251 -7L-7 -7L-7 -4.753A0.749 0.749 0 0 0 -5.502 -4.753L-5.502 -5.502L-4.753 -5.502A0.749 0.749 0 0 0 -4.753 -7L-6.251 -7ZM-6.251 -2.0067A0.749 0.749 0 0 1 -5.502 -1.2577L-5.502 1.239A0.749 0.749 0 1 1 -7 1.239L-7 -1.2577A0.749 0.749 0 0 1 -6.251 -2.0067ZM0.8455 0.8455L2.3505 4.3578L4.3578 2.3505L0.8455 0.8455ZM0.2883 -1.023L5.6251 1.264A0.9987 0.9987 0 0 1 5.9387 2.8888L4.943 3.8835L6.7616 5.703A0.749 0.749 0 1 1 5.703 6.7616L3.8835 4.943L2.8888 5.9387A0.9987 0.9987 0 0 1 1.264 5.6251L-1.023 0.2883C-1.3785 -0.5406 -0.5406 -1.3785 0.2883 -1.023ZM-6.251 6.9813L-7 6.9813L-7 4.7343A0.749 0.749 0 1 1 -5.502 4.7343L-5.502 5.4833L-4.753 5.4833A0.749 0.749 0 1 1 -4.753 6.9813L-6.251 6.9813ZM-2.0067 -6.251A0.749 0.749 0 0 1 -1.2577 -7L1.239 -7A0.749 0.749 0 1 1 1.239 -5.502L-1.2577 -5.502A0.749 0.749 0 0 1 -2.0067 -6.251ZM6.2323 -7L6.9813 -7L6.9813 -4.753A0.749 0.749 0 1 1 5.4833 -4.753L5.4833 -5.502L4.7343 -5.502A0.749 0.749 0 1 1 4.7343 -7L6.2323 -7Z';
|
|
5
5
|
export const redoSvgPath =
|
|
6
|
-
'path://
|
|
6
|
+
'path://M1.8332 -6.7552A7.0001 7.0001 0 0 0 -5.6875 -4.082L-5.6875 -5.4689A0.6563 0.6563 0 0 0 -7 -5.4689L-7 -1.7501L-3.2812 -1.7501A0.6563 0.6563 0 0 0 -3.2812 -3.0626L-4.7923 -3.0626A5.6876 5.6876 0 1 1 -5.2526 2.1822A0.6563 0.6563 0 0 0 -6.4645 2.6853A7.0001 7.0001 0 1 0 1.8332 -6.7561Z';
|
|
7
7
|
export const clearAllSvgPath =
|
|
8
|
-
'path://
|
|
8
|
+
'path://M-1.8332 -6.7552A7.0001 7.0001 0 0 1 5.6875 -4.082L5.6875 -5.4689A0.6563 0.6563 0 1 1 7 -5.4689L7 -1.7501L3.2812 -1.7501A0.6563 0.6563 0 1 1 3.2812 -3.0626L4.7923 -3.0626A5.6876 5.6876 0 1 0 5.2526 2.1822A0.6563 0.6563 0 1 1 6.4645 2.6853A7.0001 7.0001 0 1 1 -1.8332 -6.7561Z';
|
|
9
9
|
export const downloadSvgPath =
|
|
10
|
-
'path://
|
|
10
|
+
'path://M3.78 -0.841A0.75 0.75 0 0 0 2.72 -0.841L0.75 1.129L0.75 -6.25A0.75 0.75 0 0 0 -0.75 -6.25L-0.75 1.129L-2.72 -0.841A0.75 0.75 0 0 0 -3.78 0.219L-0.53 3.469L0 4L0.53 3.47L3.78 0.22A0.75 0.75 0 0 0 3.78 -0.841ZM-5.5 1.75A0.75 0.75 0 0 0 -7 1.75L-7 5A2 2 0 0 0 -5 7L5 7A2 2 0 0 0 7 5L7 1.75A0.75 0.75 0 0 0 5.5 1.75L5.5 5A0.5 0.5 0 0 1 5 5.5L-5 5.5A0.5 0.5 0 0 1 -5.5 5L-5.5 1.75Z';
|