Skip to content

Commit 86dac7b

Browse files
Merge pull request #8098 from nextcloud-libraries/dependabot/npm_and_yarn/nextcloud/eslint-config-9.0.0-rc.7
chore(deps-dev): bump @nextcloud/eslint-config from 9.0.0-rc.6 to 9.0.0-rc.7
2 parents e1c9a48 + d870e12 commit 86dac7b

File tree

54 files changed

+468
-414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+468
-414
lines changed

package-lock.json

Lines changed: 235 additions & 180 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"@mdi/svg": "^7.4.47",
129129
"@nextcloud/babel-config": "^1.3.0",
130130
"@nextcloud/browserslist-config": "^3.1.2",
131-
"@nextcloud/eslint-config": "^9.0.0-rc.6",
131+
"@nextcloud/eslint-config": "^9.0.0-rc.7",
132132
"@nextcloud/stylelint-config": "^3.2.0",
133133
"@nextcloud/vite-config": "^2.5.0",
134134
"@nextcloud/webpack-vue-config": "github:nextcloud/webpack-vue-config#vue3",

src/components/NcActionInput/NcActionInput.vue

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -160,51 +160,51 @@ For the `NcSelect` component, all events will be passed through. Please see the
160160
<NcDateTimePicker
161161
v-if="datePickerType"
162162
ref="datetimepicker"
163-
:model-value="modelValue"
163+
:modelValue="modelValue"
164164
style="z-index: 99999999999;"
165165
:placeholder="text"
166166
:disabled="disabled"
167167
:type="datePickerType"
168-
:input-class="['mx-input', { focusable: isFocusable }]"
168+
:inputClass="['mx-input', { focusable: isFocusable }]"
169169
class="action-input__datetimepicker"
170-
append-to-body
170+
appendToBody
171171
v-bind="$attrs"
172-
@update:model-value="onUpdateModelValue" />
172+
@update:modelValue="onUpdateModelValue" />
173173

174174
<NcDateTimePickerNative
175175
v-else-if="isNativePicker"
176176
:id="idNativeDateTimePicker"
177-
:model-value="modelValue"
177+
:modelValue="modelValue"
178178
:label="label"
179179
:type="nativeDatePickerType"
180-
:input-class="{ focusable: isFocusable }"
180+
:inputClass="{ focusable: isFocusable }"
181181
class="action-input__datetimepicker"
182182
v-bind="$attrs"
183-
@update:model-value="onUpdateModelValue" />
183+
@update:modelValue="onUpdateModelValue" />
184184

185185
<NcSelect
186186
v-else-if="isMultiselectType"
187-
:model-value="modelValue"
187+
:modelValue="modelValue"
188188
:placeholder="text"
189189
:disabled="disabled"
190-
:append-to-body="false"
191-
:input-class="{ focusable: isFocusable }"
190+
:appendToBody="false"
191+
:inputClass="{ focusable: isFocusable }"
192192
class="action-input__multi"
193193
v-bind="$attrs"
194-
@update:model-value="onUpdateModelValue" />
194+
@update:modelValue="onUpdateModelValue" />
195195

196196
<NcPasswordField
197197
v-else-if="type === 'password'"
198198
:id="inputId"
199-
:model-value="modelValue"
199+
:modelValue="modelValue"
200200
:label="label"
201-
:label-outside="!label || labelOutside"
201+
:labelOutside="!label || labelOutside"
202202
:placeholder="text"
203203
:disabled="disabled"
204-
:input-class="{ focusable: isFocusable }"
205-
:show-trailing-button="showTrailingButton && !disabled"
204+
:inputClass="{ focusable: isFocusable }"
205+
:showTrailingButton="showTrailingButton && !disabled"
206206
v-bind="$attrs"
207-
@update:model-value="onUpdateModelValue" />
207+
@update:modelValue="onUpdateModelValue" />
208208

209209
<div v-else-if="type === 'color'" class="action-input__container">
210210
<label
@@ -217,10 +217,10 @@ For the `NcSelect` component, all events will be passed through. Please see the
217217
<div class="action-input__input-container">
218218
<NcColorPicker
219219
id="inputId"
220-
:model-value="modelValue"
220+
:modelValue="modelValue"
221221
class="colorpicker__trigger"
222222
v-bind="$attrs"
223-
@update:model-value="onUpdateModelValue"
223+
@update:modelValue="onUpdateModelValue"
224224
@submit="$refs.form.requestSubmit()">
225225
<button
226226
class="colorpicker__preview"
@@ -233,19 +233,19 @@ For the `NcSelect` component, all events will be passed through. Please see the
233233
<NcTextField
234234
v-else
235235
:id="inputId"
236-
:model-value="modelValue"
236+
:modelValue="modelValue"
237237
:label="label"
238-
:label-outside="!label || labelOutside"
238+
:labelOutside="!label || labelOutside"
239239
:placeholder="text"
240240
:disabled="disabled"
241-
:input-class="{ focusable: isFocusable }"
241+
:inputClass="{ focusable: isFocusable }"
242242
:type="type"
243-
trailing-button-icon="arrowRight"
244-
:trailing-button-label="trailingButtonLabel"
245-
:show-trailing-button="showTrailingButton && !disabled"
243+
trailingButtonIcon="arrowRight"
244+
:trailingButtonLabel="trailingButtonLabel"
245+
:showTrailingButton="showTrailingButton && !disabled"
246246
v-bind="$attrs"
247-
@trailing-button-click="$refs.form.requestSubmit()"
248-
@update:model-value="onUpdateModelValue" />
247+
@trailingButtonClick="$refs.form.requestSubmit()"
248+
@update:modelValue="onUpdateModelValue" />
249249
</div>
250250
</div>
251251
</form>

src/components/NcAppContent/NcAppContent.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,17 +127,17 @@ export default {
127127
<Pane
128128
class="splitpanes__pane-list"
129129
:size="listPaneSize || paneDefaults.list.size"
130-
:min-size="paneDefaults.list.min"
131-
:max-size="paneDefaults.list.max">
130+
:minSize="paneDefaults.list.min"
131+
:maxSize="paneDefaults.list.max">
132132
<!-- @slot Provide a list to the app content -->
133133
<slot name="list" />
134134
</Pane>
135135

136136
<Pane
137137
class="splitpanes__pane-details"
138138
:size="detailsPaneSize"
139-
:min-size="paneDefaults.details.min"
140-
:max-size="paneDefaults.details.max">
139+
:minSize="paneDefaults.details.min"
140+
:maxSize="paneDefaults.details.max">
141141
<!-- @slot Provide the main content to the app content -->
142142
<slot />
143143
</Pane>

src/components/NcAppNavigationItem/NcAppNavigationItem.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,12 +385,12 @@ Just set the `pinned` prop.
385385
ref="actions"
386386
class="app-navigation-entry__actions"
387387
container="#app-navigation-vue"
388-
:boundaries-element="actionsBoundariesElement"
388+
:boundariesElement="actionsBoundariesElement"
389389
:inline="inlineActions"
390390
:placement="menuPlacement"
391391
:open="menuOpen"
392-
:force-menu="forceMenu"
393-
:default-icon="menuIcon"
392+
:forceMenu="forceMenu"
393+
:defaultIcon="menuIcon"
394394
:variant="(to && isActive) || active ? 'tertiary-on-primary' : 'tertiary'"
395395
@update:open="onMenuToggle">
396396
<template #icon>

src/components/NcAppNavigationSearch/NcAppNavigationSearch.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ export default {
131131
v-model="model"
132132
:aria-label="label"
133133
class="app-navigation-search__input"
134-
label-outside
134+
labelOutside
135135
:placeholder="placeholder ?? label"
136-
show-trailing-button
137-
:trailing-button-label="t('Clear search')"
136+
showTrailingButton
137+
:trailingButtonLabel="t('Clear search')"
138138
type="search"
139-
@trailing-button-click="onCloseSearch">
139+
@trailingButtonClick="onCloseSearch">
140140
<template #trailing-button-icon>
141141
<IconClose :size="20" />
142142
</template>

src/components/NcAppNavigationSettings/NcAppNavigationSettings.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ onClickOutside(container, () => {
7474
</NcButton>
7575
</div>
7676
<Transition
77-
:enter-active-class="$style.animationActive"
78-
:leave-active-class="$style.animationActive"
79-
:enter-from-class="$style.animationStop"
80-
:leave-to-class="$style.animationStop">
77+
:enterActiveClass="$style.animationActive"
78+
:leaveActiveClass="$style.animationActive"
79+
:enterFromClass="$style.animationStop"
80+
:leaveToClass="$style.animationStop">
8181
<div
8282
v-show="open"
8383
:id="contentId"

src/components/NcAppSettingsDialog/NcAppSettingsDialog.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ function unregisterSection(id: string) {
215215
<NcDialog
216216
v-if="open"
217217
class="app-settings"
218-
content-classes="app-settings__content"
219-
navigation-classes="app-settings__navigation"
220-
:additional-trap-elements
218+
contentClasses="app-settings__content"
219+
navigationClasses="app-settings__navigation"
220+
:additionalTrapElements
221221
:container
222-
close-on-click-outside
222+
closeOnClickOutside
223223
:navigation-aria-label="t('Settings navigation')"
224224
size="large"
225225
:name

src/components/NcAppSidebar/NcAppSidebar.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -739,8 +739,8 @@ If the sidebar should be shown conditionally without any explicit toggle button,
739739
<transition
740740
appear
741741
name="slide-right"
742-
@after-enter="onAfterEnter"
743-
@after-leave="onAfterLeave">
742+
@afterEnter="onAfterEnter"
743+
@afterLeave="onAfterLeave">
744744
<aside
745745
v-show="open"
746746
id="app-sidebar-vue"
@@ -869,7 +869,7 @@ If the sidebar should be shown conditionally without any explicit toggle button,
869869
<NcActions
870870
v-if="isSlotPopulated($slots['secondary-actions']?.())"
871871
class="app-sidebar-header__menu"
872-
:force-menu="forceMenu">
872+
:forceMenu="forceMenu">
873873
<slot name="secondary-actions" />
874874
</NcActions>
875875
</div>
@@ -915,7 +915,7 @@ If the sidebar should be shown conditionally without any explicit toggle button,
915915
v-show="!loading"
916916
ref="tabs"
917917
:active="active"
918-
:force-tabs="forceTabs"
918+
:forceTabs="forceTabs"
919919
@update:active="onUpdateActive">
920920
<slot />
921921
</NcAppSidebarTabs>

src/components/NcAvatar/NcAvatar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ export default {
228228
v-model:open="contactsMenuOpenState"
229229
:aria-label="avatarAriaLabel"
230230
:container="menuContainer"
231-
force-menu
232-
manual-open
231+
forceMenu
232+
manualOpen
233233
variant="tertiary-no-background"
234234
@click="toggleMenu">
235235
<component

0 commit comments

Comments
 (0)