@carbon/vue 3.0.15 → 3.0.17
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 +3 -3
- package/dist/carbon-vue-3.common.js.map +1 -1
- package/dist/carbon-vue-3.umd.js +3 -3
- package/dist/carbon-vue-3.umd.js.map +1 -1
- package/dist/carbon-vue-3.umd.min.js +1 -1
- package/dist/carbon-vue-3.umd.min.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +10 -8
- package/src/components/CvCheckbox/CvCheckbox.vue +2 -2
- package/src/components/CvComboBox/CvComboBox.vue +1 -1
package/dist/web-types.json
CHANGED
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/vue",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.17",
|
|
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",
|
|
8
8
|
"types": "src/index.d.ts",
|
|
9
9
|
"web-types": "dist/web-types.json",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
11
|
+
"postinstall": "npx ibmtelemetry --config=telemetry.yml || true",
|
|
12
|
+
"pack_postinstall": "echo removed by packrat.js",
|
|
13
|
+
"prepack": "node packrat.js --disable",
|
|
14
|
+
"postpack": "node packrat.js --enable",
|
|
14
15
|
"build": "vue-cli-service build --target lib --name carbon-vue-3 ./src/index.js --no-clean",
|
|
15
16
|
"lint": "vue-cli-service lint",
|
|
16
17
|
"build-web-types": "vue-docgen-web-types --outFile dist/web-types.json",
|
|
@@ -23,14 +24,15 @@
|
|
|
23
24
|
"lint:es": "eslint src/**/*.{js,vue}",
|
|
24
25
|
"lint:style": "vue-cli-service lint:style",
|
|
25
26
|
"serve:storybook": "cd ./storybook && yarn run serve",
|
|
26
|
-
"test": "vue-cli-service test:unit --no-coverage"
|
|
27
|
+
"test": "vue-cli-service test:unit --no-coverage",
|
|
28
|
+
"dev_postinstall": "node devPreinstall.js && node .storybook/postinstall.js"
|
|
27
29
|
},
|
|
28
30
|
"workspaces": [
|
|
29
31
|
"storybook"
|
|
30
32
|
],
|
|
31
33
|
"dependencies": {
|
|
32
34
|
"@carbon/icons-vue": "^10.60.0",
|
|
33
|
-
"@ibm/telemetry-js": "^1.
|
|
35
|
+
"@ibm/telemetry-js": "^1.5.1",
|
|
34
36
|
"@vueuse/core": "^4.11.2",
|
|
35
37
|
"carbon-components": "^10.58.5",
|
|
36
38
|
"eslint-plugin-prettier-vue": "^4.2.0",
|
|
@@ -42,6 +44,7 @@
|
|
|
42
44
|
"@babel/eslint-parser": "^7.17.0",
|
|
43
45
|
"@commitlint/cli": "^16.3.0",
|
|
44
46
|
"@commitlint/config-conventional": "^16.2.4",
|
|
47
|
+
"@npmcli/package-json": "^5.1.0",
|
|
45
48
|
"@testing-library/dom": "^8.19.0",
|
|
46
49
|
"@testing-library/user-event": "^14.4.3",
|
|
47
50
|
"@testing-library/vue": "^6.6.1",
|
|
@@ -66,7 +69,6 @@
|
|
|
66
69
|
"jest": "^27.5.1",
|
|
67
70
|
"lerna": "^6.5.1",
|
|
68
71
|
"lint-staged": "^12.5.0",
|
|
69
|
-
"pinst": "^3.0.0",
|
|
70
72
|
"postcss": "^8.4.19",
|
|
71
73
|
"postcss-loader": "^6.2.1",
|
|
72
74
|
"prettier": "^2.8.0",
|
|
@@ -177,5 +179,5 @@
|
|
|
177
179
|
"url": "git+https://github.com/carbon-design-system/carbon-components-vue.git"
|
|
178
180
|
},
|
|
179
181
|
"sideEffects": true,
|
|
180
|
-
"gitHead": "
|
|
182
|
+
"gitHead": "087b0c47cb2368713fa1c27079f0462afefe497b"
|
|
181
183
|
}
|
|
@@ -80,10 +80,10 @@ const props = defineProps({
|
|
|
80
80
|
// Track focus
|
|
81
81
|
let hasFocus = ref(false);
|
|
82
82
|
function onFocus() {
|
|
83
|
-
hasFocus = true;
|
|
83
|
+
hasFocus.value = true;
|
|
84
84
|
}
|
|
85
85
|
function onBlur() {
|
|
86
|
-
hasFocus = false;
|
|
86
|
+
hasFocus.value = false;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
const cvId = useCvId(props);
|