@carbon/vue 3.0.25 → 3.0.26
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/carbon-vue-3.common.js +382 -269
- package/dist/carbon-vue-3.common.js.map +1 -1
- package/dist/carbon-vue-3.umd.js +382 -269
- package/dist/carbon-vue-3.umd.js.map +1 -1
- package/dist/carbon-vue-3.umd.min.js +3 -3
- package/dist/carbon-vue-3.umd.min.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
- package/src/components/CvSvg/_CvSvg.vue +1 -1
- package/src/components/CvSvg/__tests__/__snapshots__/CvSvg.spec.js.snap +11 -0
package/dist/web-types.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/vue",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.26",
|
|
5
5
|
"description": "A collection of components for the Carbon Design System built using Vue.js",
|
|
6
6
|
"packageManager": "yarn@3.2.0",
|
|
7
7
|
"main": "dist/carbon-vue-3.umd.min.js",
|
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
return h(props.svg);
|
|
34
34
|
} else if (isSvg.value) {
|
|
35
35
|
// an SVG document
|
|
36
|
-
return h('svg', {
|
|
36
|
+
return h('svg', { innerHTML: props.svg });
|
|
37
37
|
} else {
|
|
38
38
|
if (isSymbol.value) {
|
|
39
39
|
return h('svg', {}, [h('use', { attrs: { href: props.svg } })]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`Svg with fake icon renders the SVG inline 1`] = `
|
|
4
|
+
<svg>
|
|
5
|
+
<!--?xml version="1.0" encoding="utf-8"?--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="root">
|
|
6
|
+
<g fill-rule="evenodd" id="g">
|
|
7
|
+
<path id="path" d="M7 7H4v2h3v3h2V9h3V7H9V4H7v3zm1 9A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
10
|
+
</svg>
|
|
11
|
+
`;
|