Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
romhml committed Oct 20, 2024
1 parent dfba09f commit 33a1231
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion devtools/app/components/ComponentPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ const rendererVisible = ref(true)
const renderer = ref()
const rendererReady = ref(false)
function onRendererReady() {
// rendererVisible.value = !!renderer.value.contentWindow.document.getElementById('ui-devtools-renderer')
rendererReady.value = true
setTimeout(() => rendererVisible.value = !!renderer.value.contentWindow.document.getElementById('ui-devtools-renderer'), 500)
}
watch(() => props.component, () => rendererReady.value = false)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"embla-carousel-fade": "^8.3.0",
"embla-carousel-vue": "^8.3.0",
"embla-carousel-wheel-gestures": "^8.0.1",
"fast-equals": "^5.0.1",
"fast-deep-equal": "^3.1.3",
"fuse.js": "^7.0.0",
"get-port-please": "^3.1.2",
"ohash": "^1.1.4",
Expand Down
2 changes: 1 addition & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { resolve } = createResolver(import.meta.url)
export default defineNuxtConfig({
devtools: { enabled: true },

modules: ['../src/module'],
modules: ['../dist/module'],

future: {
compatibilityVersion: 4
Expand Down
12 changes: 3 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/runtime/components/InputMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ extendDevtoolsMeta({ defaultProps: { items: ['Option 1', 'Option 2', 'Option 3']
import { computed, ref, toRef, onMounted } from 'vue'
import { ComboboxRoot, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxSeparator, ComboboxItem, ComboboxItemIndicator, TagsInputRoot, TagsInputItem, TagsInputItemText, TagsInputItemDelete, TagsInputInput, useForwardPropsEmits } from 'radix-vue'
import { defu } from 'defu'
import { deepEqual as isEqual } from 'fast-equals'
import isEqual from 'fast-deep-equal'
import { reactivePick } from '@vueuse/core'
import { useAppConfig } from '#imports'
import { useButtonGroup } from '../composables/useButtonGroup'
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/components/SelectMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ extendDevtoolsMeta({ defaultProps: { items: ['Option 1', 'Option 2', 'Option 3']
import { computed, toRef } from 'vue'
import { ComboboxRoot, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxSeparator, ComboboxItem, ComboboxItemIndicator, useForwardPropsEmits } from 'radix-vue'
import { defu } from 'defu'
import { deepEqual as isEqual } from 'fast-equals'
import isEqual from 'fast-deep-equal'
import { reactivePick } from '@vueuse/core'
import { useAppConfig } from '#imports'
import { useButtonGroup } from '../composables/useButtonGroup'
Expand Down

0 comments on commit 33a1231

Please sign in to comment.