Skip to content

Commit 81179a5

Browse files
committed
chore: listbox and dropbox changes
1 parent 5e848d7 commit 81179a5

File tree

27 files changed

+76
-73
lines changed

27 files changed

+76
-73
lines changed

storage/framework/core/components/combobox/components.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ declare module 'vue' {
1515
ErrorIcon: typeof import('./src/components/icons/ErrorIcon.vue')['default']
1616
Example: typeof import('./src/components/Example.vue')['default']
1717
Expand: typeof import('./src/components/Expand.vue')['default']
18-
Footer: typeof import('./src/components/Footer.vue')['default']
18+
Footer: typeof import('./src/Footer.vue')['default']
1919
HeadlessToast: typeof import('./src/components/HeadlessToast.vue')['default']
2020
HeadlessToastWithProps: typeof import('./src/components/HeadlessToastWithProps.vue')['default']
21-
Hero: typeof import('./src/components/Hero.vue')['default']
21+
Hero: typeof import('./src/Hero.vue')['default']
2222
InfoIcon: typeof import('./src/components/icons/InfoIcon.vue')['default']
23-
Installation: typeof import('./src/components/Installation.vue')['default']
23+
Installation: typeof import('./src/Installation.vue')['default']
2424
Loader: typeof import('./src/components/icons/Loader.vue')['default']
2525
'Mdi:heart': typeof import('~icons/mdi/heart')['default']
2626
Others: typeof import('./src/components/Others.vue')['default']
@@ -30,13 +30,13 @@ declare module 'vue' {
3030
Starport: typeof import('vue-starport')['Starport']
3131
StarportCarrier: typeof import('vue-starport')['StarportCarrier']
3232
Styles: typeof import('./src/components/Styles.vue')['default']
33-
Styling: typeof import('./src/components/Styling.vue')['default']
33+
Styling: typeof import('./src/Styling.vue')['default']
3434
SuccessIcon: typeof import('./src/components/icons/SuccessIcon.vue')['default']
3535
Theming: typeof import('./src/components/Theming.vue')['default']
3636
Toast: typeof import('./src/components/Toast.vue')['default']
3737
Toaster: typeof import('./src/components/Toaster.vue')['default']
3838
Types: typeof import('./src/components/Types.vue')['default']
39-
Usage: typeof import('./src/components/Usage.vue')['default']
39+
Usage: typeof import('./src/Usage.vue')['default']
4040
WarningIcon: typeof import('./src/components/icons/WarningIcon.vue')['default']
4141
}
4242
}

storage/framework/core/components/combobox/src/App.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script lang="ts" setup>
2-
import Footer from './components/Footer.vue'
3-
import Hero from './components/Hero.vue'
4-
import Installation from './components/Installation.vue'
5-
import Styling from './components/Styling.vue'
2+
import Footer from './Footer.vue'
3+
import Hero from './Hero.vue'
4+
import Installation from './Installation.vue'
5+
import Styling from './Styling.vue'
66
import { useSEOHeader } from './composables/useSEOHeader'
77
88
useSEOHeader()

storage/framework/core/components/combobox/src/components/Hero.vue renamed to storage/framework/core/components/combobox/src/Hero.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
<script lang="ts" setup>
2-
import { TransitionRoot } from '@headlessui/vue'
2+
import {
3+
TransitionRoot,
4+
Combobox,
5+
ComboboxButton,
6+
ComboboxInput,
7+
ComboboxOption,
8+
ComboboxOptions
9+
} from '@headlessui/vue'
10+
311
import { computed, ref } from 'vue'
4-
import { Combobox, ComboboxButton, ComboboxInput, ComboboxOption, ComboboxOptions } from '../components'
512
613
interface Person {
714
id: number

storage/framework/core/components/combobox/src/components/Installation.vue renamed to storage/framework/core/components/combobox/src/Installation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts" setup>
22
import { ref } from 'vue'
3-
import { useCopyCode } from '../composables/useCopyCode'
3+
import { useCopyCode } from './composables/useCopyCode'
44
55
const code = `bun install @stacksjs/combobox`
66

storage/framework/core/components/combobox/src/components/Styling.vue renamed to storage/framework/core/components/combobox/src/Styling.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts" setup>
22
import { ref } from 'vue'
3-
import { useCopyCode } from '../composables/useCopyCode'
3+
import { useCopyCode } from './composables/useCopyCode'
44
55
const showCheckIcon = ref(false)
66

storage/framework/core/components/combobox/src/components/Usage.vue renamed to storage/framework/core/components/combobox/src/Usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts" setup>
22
import { ref } from 'vue'
3-
import { useCopyCode } from '../composables/useCopyCode'
3+
import { useCopyCode } from './composables/useCopyCode'
44
55
const code = `<!-- App.vue -->
66
<script lang="ts" setup>

storage/framework/core/components/combobox/src/components/index.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

storage/framework/core/components/combobox/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import type { Plugin } from 'vue'
2-
import { Combobox, ComboboxButton, ComboboxInput, ComboboxOption, ComboboxOptions } from './components'
2+
import {
3+
Combobox,
4+
ComboboxButton,
5+
ComboboxInput,
6+
ComboboxOption,
7+
ComboboxOptions,
8+
} from '@headlessui/vue'
39

410
const plugin: Plugin = {
511
install(app) {

storage/framework/core/components/dropdown/components.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ declare module 'vue' {
1515
ErrorIcon: typeof import('./src/components/icons/ErrorIcon.vue')['default']
1616
Example: typeof import('./src/components/Example.vue')['default']
1717
Expand: typeof import('./src/components/Expand.vue')['default']
18-
Footer: typeof import('./src/components/Footer.vue')['default']
18+
Footer: typeof import('./src/Footer.vue')['default']
1919
HeadlessToast: typeof import('./src/components/HeadlessToast.vue')['default']
2020
HeadlessToastWithProps: typeof import('./src/components/HeadlessToastWithProps.vue')['default']
21-
Hero: typeof import('./src/components/Hero.vue')['default']
21+
Hero: typeof import('./src/Hero.vue')['default']
2222
InfoIcon: typeof import('./src/components/icons/InfoIcon.vue')['default']
23-
Installation: typeof import('./src/components/Installation.vue')['default']
23+
Installation: typeof import('./src/Installation.vue')['default']
2424
Loader: typeof import('./src/components/icons/Loader.vue')['default']
2525
'Mdi:heart': typeof import('~icons/mdi/heart')['default']
2626
Others: typeof import('./src/components/Others.vue')['default']
@@ -30,13 +30,13 @@ declare module 'vue' {
3030
Starport: typeof import('vue-starport')['Starport']
3131
StarportCarrier: typeof import('vue-starport')['StarportCarrier']
3232
Styles: typeof import('./src/components/Styles.vue')['default']
33-
Styling: typeof import('./src/components/Styling.vue')['default']
33+
Styling: typeof import('./src/Styling.vue')['default']
3434
SuccessIcon: typeof import('./src/components/icons/SuccessIcon.vue')['default']
3535
Theming: typeof import('./src/components/Theming.vue')['default']
3636
Toast: typeof import('./src/components/Toast.vue')['default']
3737
Toaster: typeof import('./src/components/Toaster.vue')['default']
3838
Types: typeof import('./src/components/Types.vue')['default']
39-
Usage: typeof import('./src/components/Usage.vue')['default']
39+
Usage: typeof import('./src/Usage.vue')['default']
4040
WarningIcon: typeof import('./src/components/icons/WarningIcon.vue')['default']
4141
}
4242
}

0 commit comments

Comments
 (0)