@gitlab/ui 66.32.0 → 66.32.1
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 +7 -0
- package/dist/components/base/new_dropdowns/listbox/listbox.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +2 -2
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/package.json +5 -5
- package/src/components/base/new_dropdowns/listbox/listbox.scss +10 -0
- package/src/components/base/new_dropdowns/listbox/listbox.vue +1 -0
- package/src/scss/fonts.scss +34 -2
- package/src/scss/storybook.scss +1 -0
- package/src/scss/storybook_dark_mode.scss +1 -1
package/dist/tokens/js/tokens.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "66.32.
|
|
3
|
+
"version": "66.32.1",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"@babel/core": "^7.23.2",
|
|
92
92
|
"@babel/preset-env": "^7.23.2",
|
|
93
93
|
"@babel/preset-react": "^7.22.15",
|
|
94
|
-
"@gitlab/eslint-plugin": "19.
|
|
95
|
-
"@gitlab/fonts": "^1.
|
|
96
|
-
"@gitlab/stylelint-config": "5.0.
|
|
94
|
+
"@gitlab/eslint-plugin": "19.2.0",
|
|
95
|
+
"@gitlab/fonts": "^1.3.0",
|
|
96
|
+
"@gitlab/stylelint-config": "5.0.1",
|
|
97
97
|
"@gitlab/svgs": "3.66.0",
|
|
98
98
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
99
99
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"babel-loader": "^8.0.5",
|
|
123
123
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
124
124
|
"bootstrap": "4.6.2",
|
|
125
|
-
"cypress": "13.3.
|
|
125
|
+
"cypress": "13.3.1",
|
|
126
126
|
"cypress-axe": "^1.4.0",
|
|
127
127
|
"dompurify": "^3.0.0",
|
|
128
128
|
"emoji-regex": "^10.0.0",
|
|
@@ -28,6 +28,16 @@ $clear-button-size: 24px;
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
// top container radius minus its border size to avoid the small gap between the focus ring and container
|
|
32
|
+
$input-focus-ring-border-radius: calc($gl-border-radius-large - $gl-border-size-1);
|
|
33
|
+
|
|
34
|
+
&.gl-listbox-topmost {
|
|
35
|
+
.gl-listbox-search-input {
|
|
36
|
+
border-top-left-radius: $input-focus-ring-border-radius;
|
|
37
|
+
border-top-right-radius: $input-focus-ring-border-radius;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
31
41
|
.gl-listbox-search-icon {
|
|
32
42
|
@include gl-absolute;
|
|
33
43
|
top: calc(50% - #{$search-icon-size} / 2);
|
package/src/scss/fonts.scss
CHANGED
|
@@ -13,18 +13,34 @@ Usage:
|
|
|
13
13
|
*/
|
|
14
14
|
font-display: block;
|
|
15
15
|
font-style: normal;
|
|
16
|
-
|
|
16
|
+
/* stylelint-disable-next-line property-no-unknown */
|
|
17
|
+
font-named-instance: 'Regular';
|
|
17
18
|
src: url('../../static/fonts/GitLabSans.woff2') format('woff2');
|
|
18
19
|
}
|
|
19
20
|
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: 'GitLab Sans';
|
|
23
|
+
font-weight: 100 900;
|
|
24
|
+
/**
|
|
25
|
+
* Applications should use a less aggressive font-display value than this.
|
|
26
|
+
* This is done to make sure Storybook Previews load the font.
|
|
27
|
+
*/
|
|
28
|
+
font-display: block;
|
|
29
|
+
font-style: italic;
|
|
30
|
+
/* stylelint-disable-next-line property-no-unknown */
|
|
31
|
+
font-named-instance: 'Regular';
|
|
32
|
+
src: url('../../static/fonts/GitLabSans-Italic.woff2') format('woff2');
|
|
33
|
+
}
|
|
34
|
+
|
|
20
35
|
/* -------------------------------------------------------
|
|
21
36
|
Monospaced font: GitLab Mono.
|
|
22
37
|
|
|
23
38
|
Usage:
|
|
24
|
-
html { font-family: 'GitLab Mono',
|
|
39
|
+
html { font-family: 'GitLab Mono', monospace; }
|
|
25
40
|
*/
|
|
26
41
|
@font-face {
|
|
27
42
|
font-family: 'GitLab Mono';
|
|
43
|
+
font-weight: 100 900;
|
|
28
44
|
/**
|
|
29
45
|
* Applications should use a less aggressive font-display value than this.
|
|
30
46
|
* This is done to make sure Storybook Previews load the font.
|
|
@@ -33,3 +49,19 @@ Usage:
|
|
|
33
49
|
font-style: normal;
|
|
34
50
|
src: url('../../static/fonts/GitLabMono.woff2') format('woff2');
|
|
35
51
|
}
|
|
52
|
+
|
|
53
|
+
@font-face {
|
|
54
|
+
font-family: 'GitLab Mono';
|
|
55
|
+
font-weight: 100 900;
|
|
56
|
+
/**
|
|
57
|
+
* Applications should use a less aggressive font-display value than this.
|
|
58
|
+
* This is done to make sure Storybook Previews load the font.
|
|
59
|
+
*/
|
|
60
|
+
font-display: block;
|
|
61
|
+
font-style: italic;
|
|
62
|
+
src: url('../../static/fonts/GitLabMono-Italic.woff2') format('woff2');
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
* {
|
|
66
|
+
font-synthesis: none;
|
|
67
|
+
}
|
package/src/scss/storybook.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import 'variables';
|
|
2
|
+
@import '../../dist/tokens/css/tokens.dark';
|
|
2
3
|
|
|
3
4
|
// conditional overrides for dark mode for use in storybook.
|
|
4
5
|
// Because we only use application.css from gitlab (and not
|
|
@@ -15,7 +16,6 @@
|
|
|
15
16
|
// Note that we are assigning variables with different values due to the way GitLab inverts variables in dark mode.
|
|
16
17
|
// e.g. text color is usually $gray-900, but in dark mode $gray-900 variable gets inverted to $gray-50
|
|
17
18
|
--gl-text-color: #{$gray-50};
|
|
18
|
-
--gray-600: #{$gray-300};
|
|
19
19
|
|
|
20
20
|
color-scheme: dark;
|
|
21
21
|
|