Skip to content

Commit

Permalink
fix(vue): add missing emits exports
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Apr 28, 2024
1 parent 9d701dd commit 758439e
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 12 deletions.
4 changes: 2 additions & 2 deletions frameworks/vue/src/components/clipboard/clipboard-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export interface ClipboardInputProps extends PolymorphicProps {}
</script>

<script setup lang="ts">
import { ark } from '../factory';
import { useClipboardContext } from './use-clipboard-context';
import { ark } from '../factory'
import { useClipboardContext } from './use-clipboard-context'
defineProps<ClipboardInputProps>()
const clipboard = useClipboardContext()
Expand Down
1 change: 1 addition & 0 deletions frameworks/vue/src/components/color-picker/color-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export {
export {
default as Root,
type ColorPickerRootProps as RootProps,
type ColorPickerRootEmits as RootEmits,
} from './color-picker-root.vue'
export {
default as Swatch,
Expand Down
6 changes: 5 additions & 1 deletion frameworks/vue/src/components/color-picker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ export {
default as ColorPickerPositioner,
type ColorPickerPositionerProps,
} from './color-picker-positioner.vue'
export { default as ColorPickerRoot, type ColorPickerRootProps } from './color-picker-root.vue'
export {
default as ColorPickerRoot,
type ColorPickerRootProps,
type ColorPickerRootEmits,
} from './color-picker-root.vue'
export {
default as ColorPickerSwatch,
type ColorPickerSwatchProps,
Expand Down
1 change: 1 addition & 0 deletions frameworks/vue/src/components/hover-card/hover-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export {
export {
default as Root,
type HoverCardRootEmits,
type HoverCardRootEmits as RootEmits,
type HoverCardRootProps as RootProps,
} from './hover-card-root.vue'
export {
Expand Down
2 changes: 1 addition & 1 deletion frameworks/vue/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ export * from './switch'
export * from './tabs'
export * from './tags-input'
export * from './toast'
export * from './toggle-group'
export * from './toggle-group' // 1
export * from './tooltip'
export * from './tree-view'
2 changes: 1 addition & 1 deletion frameworks/vue/src/components/menu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export {
default as MenuRadioItemGroup,
type MenuRadioItemGroupProps,
} from './menu-radio-item-group.vue'
export { default as MenuRoot, type MenuRootProps } from './menu-root.vue'
export { default as MenuRoot, type MenuRootProps, type MenuRootEmits } from './menu-root.vue'
export { default as MenuSeparator, type MenuSeparatorProps } from './menu-separator.vue'
export { default as MenuTrigger, type MenuTriggerProps } from './menu-trigger.vue'
export { default as MenuTriggerItem, type MenuTriggerItemProps } from './menu-trigger-item.vue'
Expand Down
2 changes: 1 addition & 1 deletion frameworks/vue/src/components/menu/menu-trigger-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface MenuTriggerItemProps extends PolymorphicProps {}
</script>

<script setup lang="ts">
import { ark } from '../factory';
import { ark } from '../factory'
defineProps<MenuTriggerItemProps>()
const triggerItemProps = useMenuTriggerItemContext()
Expand Down
6 changes: 5 additions & 1 deletion frameworks/vue/src/components/popover/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ export {
} from './popover-description.vue'
export { default as PopoverIndicator, type PopoverIndicatorProps } from './popover-indicator.vue'
export { default as PopoverPositioner, type PopoverPositionerProps } from './popover-positioner.vue'
export { default as PopoverRoot, type PopoverRootProps } from './popover-root.vue'
export {
default as PopoverRoot,
type PopoverRootProps,
type PopoverRootEmits,
} from './popover-root.vue'
export { default as PopoverTitle, type PopoverTitleProps } from './popover-title.vue'
export { default as PopoverTrigger, type PopoverTriggerProps } from './popover-trigger.vue'
export { type UsePopoverContext, usePopoverContext } from './use-popover-context'
Expand Down
6 changes: 5 additions & 1 deletion frameworks/vue/src/components/popover/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ export {
default as Positioner,
type PopoverPositionerProps as PositionerProps,
} from './popover-positioner.vue'
export { default as Root, type PopoverRootProps as RootProps } from './popover-root.vue'
export {
default as Root,
type PopoverRootProps as RootProps,
type PopoverRootEmits as RootEmits,
} from './popover-root.vue'
export { default as Title, type PopoverTitleProps as TitleProps } from './popover-title.vue'
export {
default as Trigger,
Expand Down
6 changes: 5 additions & 1 deletion frameworks/vue/src/components/radio-group/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export {
type RadioGroupItemTextProps,
} from './radio-group-item-text.vue'
export { default as RadioGroupLabel, type RadioGroupLabelProps } from './radio-group-label.vue'
export { default as RadioGroupRoot, type RadioGroupRootProps } from './radio-group-root.vue'
export {
default as RadioGroupRoot,
type RadioGroupRootProps,
type RadioGroupRootEmits,
} from './radio-group-root.vue'
export { useRadioGroupContext, type UseRadioGroupContext } from './use-radio-group-context'
export {
useRadioGroupItemContext,
Expand Down
6 changes: 5 additions & 1 deletion frameworks/vue/src/components/slider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ export {
type SliderMarkerGroupProps,
} from './slider-marker-group.vue'
export { default as SliderRange, type SliderRangeProps } from './slider-range.vue'
export { default as SliderRoot, type SliderRootProps } from './slider-root.vue'
export {
default as SliderRoot,
type SliderRootProps,
type SliderRootEmits,
} from './slider-root.vue'
export { default as SliderThumb, type SliderThumbProps } from './slider-thumb.vue'
export { default as SliderTrack, type SliderTrackProps } from './slider-track.vue'
export { default as SliderValueText, type SliderValueTextProps } from './slider-value-text.vue'
Expand Down
6 changes: 5 additions & 1 deletion frameworks/vue/src/components/tree-view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ export {
} from './tree-view-item-indicator.vue'
export { default as TreeViewItemText, type TreeViewItemTextProps } from './tree-view-item-text.vue'
export { default as TreeViewLabel, type TreeViewLabelProps } from './tree-view-label.vue'
export { default as TreeViewRoot, type TreeViewRootProps } from './tree-view-root.vue'
export {
default as TreeViewRoot,
type TreeViewRootProps,
type TreeViewRootEmits,
} from './tree-view-root.vue'
export { default as TreeViewTree, type TreeViewTreeProps } from './tree-view-tree.vue'
export { type UseTreeViewContext, useTreeViewContext } from './use-tree-view-context'
export { type UseTreeViewItemContext, useTreeViewItemContext } from './use-tree-view-item-context'
Expand Down
6 changes: 5 additions & 1 deletion frameworks/vue/src/components/tree-view/tree-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,9 @@ export {
type TreeViewItemTextProps as ItemTextProps,
} from './tree-view-item-text.vue'
export { default as Label, type TreeViewLabelProps as LabelProps } from './tree-view-label.vue'
export { default as Root, type TreeViewRootProps as RootProps } from './tree-view-root.vue'
export {
default as Root,
type TreeViewRootProps as RootProps,
type TreeViewRootEmits as RootEmits,
} from './tree-view-root.vue'
export { default as Tree, type TreeViewTreeProps as TreeProps } from './tree-view-tree.vue'

0 comments on commit 758439e

Please sign in to comment.