Skip to content

Commit b3754b8

Browse files
committed
chore: lint
1 parent eef2c09 commit b3754b8

37 files changed

+61
-61
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
export type TabCategory =
2-
| 'pinned'
3-
| 'app'
4-
| 'vue-devtools'
5-
| 'analyze'
6-
| 'server'
7-
| 'modules'
8-
| 'documentation'
9-
| 'advanced'
1+
export type TabCategory
2+
= | 'pinned'
3+
| 'app'
4+
| 'vue-devtools'
5+
| 'analyze'
6+
| 'server'
7+
| 'modules'
8+
| 'documentation'
9+
| 'advanced'

packages/devtools-ui-kit/playground/components/ShowSource.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ watch(show, async () => {
1919

2020
<template>
2121
<div class="mt-2">
22-
<span n="xs" class="n-link cursor-pointer text-gray n-transition hover:n-link-hover n-link-base" @click="show = !show">
22+
<span n="xs" class="n-link cursor-pointer text-gray n-link-base n-transition hover:n-link-hover" @click="show = !show">
2323
{{ show ? 'Hide' : 'Show' }} source
2424
</span>
2525
<div v-if="show" ref="embed" class="dark:filter-invert-100" />

packages/devtools-ui-kit/playground/pages/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const radio = ref('a')
77
</script>
88

99
<template>
10-
<div class="relative p-10 n-bg-base">
11-
<div class="mx-auto w-full flex flex-col gap-4 container">
10+
<div class="relative n-bg-base p-10">
11+
<div class="container mx-auto w-full flex flex-col gap-4">
1212
<NTip n="hover:yellow-600 dark:hover:yellow-500">
1313
This library is heavily working in progress. Breaking changes may not follow semver. Pin the version if used.
1414
</NTip>

packages/devtools-ui-kit/src/components/NCheckbox.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const checked = useVModel(props, 'modelValue', emit, { passive: true })
1717

1818
<template>
1919
<label
20-
class="n-checkbox hover:n-checkbox-hover select-none items-center n-disabled:n-disabled"
20+
class="n-checkbox select-none items-center hover:n-checkbox-hover n-disabled:n-disabled"
2121
:checked="checked || null"
2222
:disabled="disabled || null"
2323
>
@@ -28,7 +28,7 @@ const checked = useVModel(props, 'modelValue', emit, { passive: true })
2828
:disabled="disabled"
2929
@keypress.enter="checked = !checked"
3030
>
31-
<span class="n-checkbox-box n-checked:n-checkbox-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition">
31+
<span class="n-checkbox-box n-transition n-checked:n-checkbox-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base">
3232
<NIcon class="n-checkbox-icon scale-0 transform op0 n-transition n-checked:scale-100 n-checked:op100" />
3333
</span>
3434
<span :class="checked ? '' : 'op50'" class="n-transition"><slot /></span>

packages/devtools-ui-kit/src/components/NDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default {
5959
<Teleport v-if="shown" to="body">
6060
<div
6161
v-show="show"
62-
class="fixed inset-0 z-100 flex items-center justify-center n-transition n-glass-effect"
62+
class="fixed inset-0 z-100 flex items-center justify-center n-glass-effect n-transition"
6363
role="dialog"
6464
aria-modal="true"
6565
:class="[

packages/devtools-ui-kit/src/components/NDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const transitionType = {
6161
:border="`${transition === 'right' ? 'l' : transition === 'bottom' ? 't' : 'b'} base`"
6262
flex="~ col gap-1"
6363
:class="{ 'right-0': transition === 'right' || transition === 'bottom' }"
64-
absolute bottom-0 z-10 z-20 of-auto text-sm n-glass-effect
64+
absolute bottom-0 z-10 z-20 of-auto n-glass-effect text-sm
6565
:style="{
6666
top: transition === 'bottom' ? 'auto' : `${height}px`,
6767
left: transition === 'right' && !width ? 'auto' : `${width}px`,

packages/devtools-ui-kit/src/components/NDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ onClickOutside(el, () => {
2727
</slot>
2828

2929
<div
30-
class="absolute z-10 border n-border-base rounded shadow n-transition n-bg-base"
30+
class="absolute z-10 border n-border-base rounded n-bg-base shadow n-transition"
3131
:class="[enabled ? 'op-100' : 'op0 pointer-events-none -translate-y-1', direction === 'end' ? 'right-0' : 'left-0']"
3232
>
3333
<slot />

packages/devtools-ui-kit/src/components/NNavbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function update(event: any) {
1414
</script>
1515

1616
<template>
17-
<div flex="~ col gap2 wrap" border="b base" flex-1 n-navbar-glass :class="[{ p4: !noPadding }]">
17+
<div flex="~ col gap2 wrap" border="b base" n-navbar-glass flex-1 :class="[{ p4: !noPadding }]">
1818
<div flex="~ gap4 wrap" items-center>
1919
<slot name="search">
2020
<NTextInput

packages/devtools-ui-kit/src/components/NNotification.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ devtoolsUiProvideNotificationFn((data) => {
3636
<div
3737
border="~ base"
3838
flex="~ inline gap2"
39-
m-3 inline-block items-center rounded px-4 py-1 transition-all duration-300 bg-base
39+
m-3 inline-block items-center rounded bg-base px-4 py-1 transition-all duration-300
4040
:style="show ? {} : { transform: `translateY(${position.startsWith('top') ? '-' : ''}300%)` }"
4141
:class="[show ? 'shadow' : 'shadow-none', classes]"
4242
>

packages/devtools-ui-kit/src/components/NRadio.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const model = useVModel(props, 'modelValue', emit, { passive: true })
1919

2020
<template>
2121
<label
22-
class="n-radio inline-flex hover:n-radio-hover select-none items-center n-disabled:n-disabled"
22+
class="n-radio inline-flex select-none items-center hover:n-radio-hover n-disabled:n-disabled"
2323
:checked="model === value || null"
2424
:disabled="disabled || null"
2525
>
@@ -32,8 +32,8 @@ const model = useVModel(props, 'modelValue', emit, { passive: true })
3232
:value="value"
3333
@keypress.enter="model = value!"
3434
>
35-
<span class="n-radio-box n-checked:n-radio-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base n-transition">
36-
<div class="n-radio-inner n-checked:n-radio-inner-checked n-transition" />
35+
<span class="n-radio-box n-transition n-checked:n-radio-box-checked peer-active:n-active-base peer-focus-visible:n-focus-base">
36+
<div class="n-radio-inner n-transition n-checked:n-radio-inner-checked" />
3737
</span>
3838
<span><slot /></span>
3939
</label>

0 commit comments

Comments
 (0)