yuyeon 0.3.0-rc.8 → 0.3.1-rc.0

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.
@@ -6,12 +6,12 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
6
6
  modelValue?: unknown;
7
7
  width?: unknown;
8
8
  height?: unknown;
9
+ align?: unknown;
9
10
  theme?: unknown;
10
11
  closeDelay?: unknown;
11
12
  openDelay?: unknown;
12
13
  transition?: unknown;
13
14
  minWidth?: unknown;
14
- align?: unknown;
15
15
  minHeight?: unknown;
16
16
  maxWidth?: unknown;
17
17
  maxHeight?: unknown;
@@ -68,6 +68,16 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
68
68
  type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
69
69
  default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
70
70
  };
71
+ align: unknown extends Defaults["align"] ? {
72
+ type: PropType<"top" | "bottom" | "start" | "end" | "center">;
73
+ default: string;
74
+ } : Omit<{
75
+ type: PropType<"top" | "bottom" | "start" | "end" | "center">;
76
+ default: string;
77
+ }, "type" | "default"> & {
78
+ type: PropType<unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"]>;
79
+ default: unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"];
80
+ };
71
81
  theme: unknown extends Defaults["theme"] ? PropType<string> : {
72
82
  type: PropType<unknown extends Defaults["theme"] ? string : string | Defaults["theme"]>;
73
83
  default: unknown extends Defaults["theme"] ? string : string | Defaults["theme"];
@@ -118,16 +128,6 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
118
128
  type: PropType<unknown extends Defaults["minWidth"] ? string | number : NonNullable<string | number> | Defaults["minWidth"]>;
119
129
  default: unknown extends Defaults["minWidth"] ? string | number : NonNullable<string | number> | Defaults["minWidth"];
120
130
  };
121
- align: unknown extends Defaults["align"] ? {
122
- type: PropType<"top" | "bottom" | "start" | "end" | "center">;
123
- default: string;
124
- } : Omit<{
125
- type: PropType<"top" | "bottom" | "start" | "end" | "center">;
126
- default: string;
127
- }, "type" | "default"> & {
128
- type: PropType<unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"]>;
129
- default: unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"];
130
- };
131
131
  minHeight: unknown extends Defaults["minHeight"] ? PropType<string | number> : {
132
132
  type: PropType<unknown extends Defaults["minHeight"] ? string | number : NonNullable<string | number> | Defaults["minHeight"]>;
133
133
  default: unknown extends Defaults["minHeight"] ? string | number : NonNullable<string | number> | Defaults["minHeight"];
@@ -350,6 +350,10 @@ export declare const YDialog: import('vue').DefineComponent<{
350
350
  };
351
351
  width: PropType<string | number>;
352
352
  height: PropType<string | number>;
353
+ align: {
354
+ type: PropType<"top" | "bottom" | "start" | "end" | "center">;
355
+ default: string;
356
+ };
353
357
  theme: PropType<string>;
354
358
  closeDelay: {
355
359
  type: PropType<number>;
@@ -366,10 +370,6 @@ export declare const YDialog: import('vue').DefineComponent<{
366
370
  default: string;
367
371
  };
368
372
  minWidth: PropType<string | number>;
369
- align: {
370
- type: PropType<"top" | "bottom" | "start" | "end" | "center">;
371
- default: string;
372
- };
373
373
  minHeight: PropType<string | number>;
374
374
  maxWidth: PropType<string | number>;
375
375
  maxHeight: PropType<string | number>;
@@ -0,0 +1,15 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+
3
+ export declare const styleColorPropsOptions: {
4
+ color: StringConstructor;
5
+ background: StringConstructor;
6
+ backgroundOpacity: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ };
11
+ export declare function useStyleColor(props: ExtractPropTypes<typeof styleColorPropsOptions>, name: string): {
12
+ colorVars: import('vue').ComputedRef<{
13
+ [x: string]: string | undefined;
14
+ }>;
15
+ };
@@ -1,4 +1,5 @@
1
1
  export declare function isColorValue(value: string): boolean;
2
+ export declare function colorRgb(color: string): string;
2
3
  export declare function isTextColorIsLight(r: number, g: number, b: number): boolean;
3
4
  export * from './const';
4
5
  export * from './conversion';