Skip to content

Commit b56b063

Browse files
catropejenkins-bot
authored and
jenkins-bot
committed
build: Update Vue to 3.5.13
Temporarily comment out `expose` in the components that use it, until vuejs/language-tools#5069 is resolved. Bug: T374140 Change-Id: I358722b602cedb88075df681a4d677abb10fe5b5
1 parent 6a3cd19 commit b56b063

File tree

10 files changed

+84
-95
lines changed

10 files changed

+84
-95
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ module.exports = {
124124
],
125125
rules: {
126126
'vue/no-unsupported-features': [ 'error', {
127-
version: '^3.4.28'
127+
version: '^3.5.13'
128128
} ],
129129
'vue/component-name-in-template-casing': [ 'error', 'kebab-case' ],
130130
'vue/custom-event-name-casing': [ 'error', 'kebab-case' ]

npm-shrinkwrap.json

+59-91
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/codex-docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"prismjs": "1.29.0",
4545
"svglint": "3.1.0",
4646
"svgo": "3.3.2",
47-
"vue": "3.4.28"
47+
"vue": "3.5.13"
4848
},
4949
"devDependencies": {
5050
"@types/escape-html": "1.0.4",

packages/codex/.eslintrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"rules": {
2222
"vue/no-unsupported-features": [ "error", {
23-
"version": "^3.4.28"
23+
"version": "^3.5.13"
2424
} ],
2525
"vue/component-name-in-template-casing": [ "error", "kebab-case" ]
2626
}

packages/codex/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"vue-tsc": "2.1.10"
8686
},
8787
"peerDependencies": {
88-
"vue": "3.4.28"
88+
"vue": "3.5.13"
8989
},
9090
"dependencies": {
9191
"@floating-ui/vue": "1.0.6",

packages/codex/src/components/input-chip/InputChip.vue

+4
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,13 @@ export default defineComponent( {
7272
default: false
7373
}
7474
},
75+
// expose is temporarily disabled to work around a Vue / vue-tsc bug, see
76+
// https://github.com/vuejs/language-tools/issues/5069
77+
/*
7578
expose: [
7679
'focus'
7780
],
81+
*/
7882
emits: [
7983
/**
8084
* Emitted when a chip is removed by the user.

packages/codex/src/components/menu/Menu.vue

+5
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,9 @@ export default defineComponent( {
309309
*/
310310
'load-more'
311311
],
312+
// expose is temporarily disabled to work around a Vue / vue-tsc bug, see
313+
// https://github.com/vuejs/language-tools/issues/5069
314+
/*
312315
expose: [
313316
'isExpanded',
314317
'clearActive',
@@ -317,6 +320,7 @@ export default defineComponent( {
317320
'getComputedMenuItems',
318321
'delegateKeyNavigation'
319322
],
323+
*/
320324
setup( props, { emit, slots, attrs } ) {
321325
/**
322326
* Computed array of menu items and groups with a unique ID added to each menu item. This
@@ -1077,6 +1081,7 @@ export default defineComponent( {
10771081
*
10781082
* @return {boolean}
10791083
*/
1084+
// eslint-disable-next-line vue/no-unused-properties
10801085
isExpanded(): boolean {
10811086
return this.expanded;
10821087
},

packages/codex/src/components/tabs/Tabs.vue

+4
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,15 @@ export default defineComponent( {
156156
* Some methods are exposed to allow for programmatic selection of
157157
* the active tab from outside of the component.
158158
*/
159+
// expose is temporarily disabled to work around a Vue / vue-tsc bug, see
160+
// https://github.com/vuejs/language-tools/issues/5069
161+
/*
159162
expose: [
160163
'select',
161164
'next',
162165
'prev'
163166
],
167+
*/
164168
165169
setup( props, { slots, emit } ) {
166170
const rootElement = ref<HTMLDivElement>();

packages/codex/src/components/text-area/TextArea.vue

+4
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,17 @@ export default defineComponent( {
6262
name: 'CdxTextArea',
6363
components: { CdxIcon },
6464
inheritAttrs: false,
65+
// expose is temporarily disabled to work around a Vue / vue-tsc bug, see
66+
// https://github.com/vuejs/language-tools/issues/5069
67+
/*
6568
expose: [
6669
'focus',
6770
'blur',
6871
'checkValidity',
6972
'reportValidity',
7073
'setCustomValidity'
7174
],
75+
*/
7276
props: {
7377
/**
7478
* Current value of the textarea.

packages/codex/src/components/text-input/TextInput.vue

+4
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,17 @@ export default defineComponent( {
6868
*/
6969
inheritAttrs: false,
7070
71+
// expose is temporarily disabled to work around a Vue / vue-tsc bug, see
72+
// https://github.com/vuejs/language-tools/issues/5069
73+
/*
7174
expose: [
7275
'focus',
7376
'blur',
7477
'checkValidity',
7578
'reportValidity',
7679
'setCustomValidity'
7780
],
81+
*/
7882
7983
props: {
8084
/**

0 commit comments

Comments
 (0)