@dao-style/core 1.0.0-beta.4 → 1.0.0-beta.6

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.
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import './styles/color/var.json';
3
3
  import './styles/color/alias.json';
4
4
  declare function locale(lang: string): any;
5
5
  export * from './components';
6
- export * from './utils/constant';
6
+ export * from './utils';
7
7
  declare const _default: {
8
8
  install: ((app: App<any>, ...options: any[]) => any) & {
9
9
  install?: ((app: App<any>, ...options: any[]) => any) | undefined;
@@ -5,7 +5,16 @@ import type { NavProvide, NavSubProvide } from '../components/nav/types';
5
5
  import type { BreadcrumbProvide } from '../components/breadcrumb/breadcrumb-props';
6
6
  import { ExpansionName, ExpansionState } from '../components/expansion/props';
7
7
  import type { ModelValueAnyType } from '../components/checkbox/props';
8
+ export interface DelayObj {
9
+ show?: number;
10
+ hide?: number;
11
+ }
12
+ export type DelayProp = number | string | DelayObj;
8
13
  export declare const placements: Placement[];
14
+ export declare const componentSize: readonly ["sm", "md", "lg", "xl"];
15
+ export type ComponentSize = typeof componentSize[number];
16
+ export declare const validateStatus: readonly ["default", "error", "success", "validating"];
17
+ export type ValidateStatus = typeof validateStatus[number];
9
18
  export declare const radioGroupKey: unique symbol;
10
19
  export declare const tabModelValueKey: InjectionKey<Ref<string>>;
11
20
  export declare const addTabFnKey: InjectionKey<AddTabFn>;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export * from './constant';
@@ -1,16 +1,7 @@
1
1
  import { VNode } from 'vue';
2
- export declare const componentSize: readonly ["sm", "md", "lg", "xl"];
3
- export type ComponentSize = typeof componentSize[number];
4
- export declare const validateStatus: readonly ["default", "error", "success", "validating"];
5
- export type ValidateStatus = typeof validateStatus[number];
6
2
  export type ParamsSlotFn<T extends object> = (args: T) => VNode[];
7
3
  export type SlotFn = () => VNode[];
8
4
  export type EmptyFn = () => void;
9
- export interface DelayObj {
10
- show?: number;
11
- hide?: number;
12
- }
13
- export type DelayProp = number | string | DelayObj;
14
5
  export type AnyFn = (...args: any) => any;
15
6
  export declare const emitHelperFn: (...args: any) => void;
16
7
  export type SetExtractEmitsReturn<Emits extends Record<string, AnyFn>, EmitKey extends keyof Emits, ReturnType = void> = Emits extends Record<infer EmitsKey, AnyFn> ? EmitKey extends EmitsKey ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dao-style/core",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.6",
4
4
  "scripts": {
5
5
  "dev": "npm run dev:docs",
6
6
  "dev:docs": "vitepress dev docs",