@gitlab/ui 119.2.0 → 120.1.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/dist/components/base/badge/badge.js +1 -2
- package/dist/components/base/illustration/illustration.js +1 -1
- package/dist/components/charts/single_stat/single_stat.js +1 -1
- package/dist/components/regions/empty_state/empty_state.js +13 -3
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tokens/figma/contextual.tokens.json +10 -5
- package/dist/tokens/json/tokens.dark.json +10 -0
- package/dist/tokens/json/tokens.json +10 -0
- package/dist/utils/constants.js +0 -1
- package/dist/vendor/bootstrap-vue/src/components/popover/helpers/bv-popover-template.js +4 -1
- package/package.json +3 -3
- package/src/components/base/badge/badge.scss +17 -35
- package/src/components/base/badge/badge.vue +1 -2
- package/src/components/base/illustration/illustration.vue +0 -1
- package/src/components/charts/single_stat/single_stat.vue +1 -1
- package/src/components/regions/empty_state/empty_state.vue +13 -2
- package/src/tokens/build/figma/contextual.tokens.json +10 -5
- package/src/tokens/build/json/tokens.dark.json +10 -0
- package/src/tokens/build/json/tokens.json +10 -0
- package/src/tokens/contextual/badge.tokens.json +10 -5
- package/src/utils/constants.js +0 -1
- package/src/vendor/bootstrap-vue/src/components/popover/helpers/bv-popover-template.js +9 -1
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"FRAME_FILL",
|
|
16
16
|
"SHAPE_FILL"
|
|
17
17
|
]
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
|
+
"$deprecated": true
|
|
19
20
|
},
|
|
20
21
|
"hover": {
|
|
21
22
|
"$value": "{badge.muted.background.color.default}",
|
|
@@ -26,7 +27,8 @@
|
|
|
26
27
|
"FRAME_FILL",
|
|
27
28
|
"SHAPE_FILL"
|
|
28
29
|
]
|
|
29
|
-
}
|
|
30
|
+
},
|
|
31
|
+
"$deprecated": true
|
|
30
32
|
},
|
|
31
33
|
"focus": {
|
|
32
34
|
"$value": "{badge.muted.background.color.hover}",
|
|
@@ -37,7 +39,8 @@
|
|
|
37
39
|
"FRAME_FILL",
|
|
38
40
|
"SHAPE_FILL"
|
|
39
41
|
]
|
|
40
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"$deprecated": true
|
|
41
44
|
},
|
|
42
45
|
"active": {
|
|
43
46
|
"$value": {
|
|
@@ -138,7 +141,8 @@
|
|
|
138
141
|
"com.figma.scope": [
|
|
139
142
|
"TEXT_FILL"
|
|
140
143
|
]
|
|
141
|
-
}
|
|
144
|
+
},
|
|
145
|
+
"$deprecated": true
|
|
142
146
|
},
|
|
143
147
|
"active": {
|
|
144
148
|
"$value": {
|
|
@@ -194,7 +198,8 @@
|
|
|
194
198
|
"SHAPE_FILL",
|
|
195
199
|
"TEXT_FILL"
|
|
196
200
|
]
|
|
197
|
-
}
|
|
201
|
+
},
|
|
202
|
+
"$deprecated": true
|
|
198
203
|
},
|
|
199
204
|
"active": {
|
|
200
205
|
"$value": {
|
package/src/utils/constants.js
CHANGED
|
@@ -39,7 +39,15 @@ export const BVPopoverTemplate = /*#__PURE__*/ extend({
|
|
|
39
39
|
}),
|
|
40
40
|
isUndefinedOrNull($title) || $title === ''
|
|
41
41
|
? /* istanbul ignore next */ h()
|
|
42
|
-
: h(
|
|
42
|
+
: h(
|
|
43
|
+
'h3',
|
|
44
|
+
{
|
|
45
|
+
staticClass: 'popover-header',
|
|
46
|
+
domProps: titleDomProps,
|
|
47
|
+
attrs: { role: 'presentation' }
|
|
48
|
+
},
|
|
49
|
+
[$title]
|
|
50
|
+
),
|
|
43
51
|
isUndefinedOrNull($content) || $content === ''
|
|
44
52
|
? /* istanbul ignore next */ h()
|
|
45
53
|
: h('div', { staticClass: 'popover-body', domProps: contentDomProps }, [$content])
|