@tb-dev/vue 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ import { VNode } from 'vue';
2
+ import { ButtonIconProps } from './types';
3
+ declare const _default: <T extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & ButtonIconProps<T> & Partial<{}>> & import('vue').PublicProps;
5
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
6
+ attrs: any;
7
+ slots: Readonly<{
8
+ default?: () => VNode;
9
+ }> & {
10
+ default?: () => VNode;
11
+ };
12
+ emit: {};
13
+ }>) => import('vue').VNode & {
14
+ __ctx?: Awaited<typeof __VLS_setup>;
15
+ };
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = {
18
+ [K in keyof T]: T[K];
19
+ } & {};
@@ -0,0 +1,3 @@
1
+ import { default as ButtonIcon } from './ButtonIcon.vue';
2
+ export type * from './types';
3
+ export { ButtonIcon };
@@ -0,0 +1,9 @@
1
+ import { Component } from 'vue';
2
+ export interface ButtonIconProps<T extends string> {
3
+ buttonClass?: string;
4
+ class?: string;
5
+ icon: Component;
6
+ iconClass?: string;
7
+ iconSize?: number;
8
+ to?: T;
9
+ }
@@ -1,5 +1,6 @@
1
1
  export * from './badge';
2
2
  export * from './button';
3
+ export * from './button-icon';
3
4
  export * from './button-link';
4
5
  export * from './card';
5
6
  export * from './checkbox';
@@ -4,14 +4,16 @@ declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
5
5
  slots: Readonly<{
6
6
  content?: () => VNode;
7
+ default?: () => VNode;
7
8
  footer?: () => VNode;
8
9
  header?: () => VNode;
9
- inset: () => VNode;
10
+ inset?: () => VNode;
10
11
  }> & {
11
12
  content?: () => VNode;
13
+ default?: () => VNode;
12
14
  footer?: () => VNode;
13
15
  header?: () => VNode;
14
- inset: () => VNode;
16
+ inset?: () => VNode;
15
17
  };
16
18
  refs: {};
17
19
  rootEl: any;
@@ -1,4 +1,4 @@
1
1
  import { default as Sidebar } from './Sidebar.vue';
2
- import { SidebarProps } from './types';
3
- export { Sidebar, type SidebarProps };
4
- export { useSidebar } from '../__base/sidebar';
2
+ export type * from './types';
3
+ export { Sidebar };
4
+ export { SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, } from '../__base/sidebar';