@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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@carbon/vue",
4
- "version": "3.0.14",
4
+ "version": "3.0.16",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
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.15",
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
- "_postinstall": "node prepare.js && node .storybook/postinstall.js && ibmtelemetry --config=telemetry.yml",
12
- "prepack": "pinst --disable",
13
- "postpack": "pinst --enable",
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.2.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": "42b70938c7b033489892a7f7b27e2b1a8ba1e3d9"
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);
@@ -342,7 +342,7 @@ function doMove(up) {
342
342
  newHighlight = currentHighlight + 1;
343
343
  }
344
344
  }
345
- highlighted.value = dataOptions[newHighlight].value;
345
+ highlighted.value = dataOptions.value[newHighlight].value;
346
346
  }
347
347
  }
348
348
  function updateOptions() {