@magic-color/vue
Advanced tools
Comparing version 1.0.4 to 1.1.0
@@ -23,3 +23,3 @@ import * as vue from 'vue'; | ||
displayBgColor: globalThis.ComputedRef<string>; | ||
colorValue: globalThis.WritableComputedRef<string | HsbColor>; | ||
colorValue: globalThis.WritableComputedRef<string | HsbColor | magic_color.RgbColor | magic_color.HslColor | magic_color.LabColor>; | ||
handlePanelChange: ({ x, y }: { | ||
@@ -47,4 +47,8 @@ x: number; | ||
declare const _default$3: vue.DefineComponent<{ | ||
disable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
type: { | ||
type: PropType<"hue" | "alpha">; | ||
type: PropType<"hue" | "normal" | "alpha">; | ||
default: string; | ||
@@ -64,2 +68,5 @@ }; | ||
}; | ||
/** | ||
* The value of the control block. It should be a number between 0 and 1. | ||
*/ | ||
modelValue: { | ||
@@ -69,2 +76,10 @@ type: NumberConstructor; | ||
}; | ||
barColor: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
wrapperColor: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
}, { | ||
@@ -80,2 +95,3 @@ canvasRef: globalThis.Ref<HTMLCanvasElement | null>; | ||
barStyle: globalThis.ComputedRef<{ | ||
transition?: string | undefined; | ||
position: string; | ||
@@ -96,4 +112,8 @@ top: string; | ||
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<globalThis.ExtractPropTypes<{ | ||
disable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
type: { | ||
type: PropType<"hue" | "alpha">; | ||
type: PropType<"hue" | "normal" | "alpha">; | ||
default: string; | ||
@@ -113,2 +133,5 @@ }; | ||
}; | ||
/** | ||
* The value of the control block. It should be a number between 0 and 1. | ||
*/ | ||
modelValue: { | ||
@@ -118,10 +141,21 @@ type: NumberConstructor; | ||
}; | ||
barColor: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
wrapperColor: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
}>> & { | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
disable: boolean; | ||
width: number; | ||
height: number; | ||
color: string; | ||
type: "hue" | "alpha"; | ||
type: "hue" | "normal" | "alpha"; | ||
modelValue: number; | ||
barColor: string; | ||
wrapperColor: string; | ||
}, {}>; | ||
@@ -128,0 +162,0 @@ |
{ | ||
"name": "@magic-color/vue", | ||
"type": "module", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"description": "Magic color vue component.", | ||
@@ -41,3 +41,3 @@ "author": "Chris <hizyyv@gmail.com>", | ||
"dependencies": { | ||
"magic-color": "1.0.4" | ||
"magic-color": "1.1.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51806
1120
1
+ Added@magic-color/core@1.1.0(transitive)
+ Addedchroma-js@2.6.0(transitive)
+ Addedmagic-color@1.1.0(transitive)
- Removed@magic-color/core@1.0.4(transitive)
- Removedmagic-color@1.0.4(transitive)
Updatedmagic-color@1.1.0