diff --git a/components/lib/colorpicker/BaseColorPicker.vue b/components/lib/colorpicker/BaseColorPicker.vue new file mode 100644 index 000000000..a5b12c034 --- /dev/null +++ b/components/lib/colorpicker/BaseColorPicker.vue @@ -0,0 +1,91 @@ + diff --git a/components/lib/colorpicker/ColorPicker.d.ts b/components/lib/colorpicker/ColorPicker.d.ts index 0b0e75dc9..d4ebb031f 100755 --- a/components/lib/colorpicker/ColorPicker.d.ts +++ b/components/lib/colorpicker/ColorPicker.d.ts @@ -66,7 +66,7 @@ export interface ColorPickerPassThroughOptions { /** * Uses to pass attributes to the color handler's DOM element. */ - colorHandler?: ColorPickerPassThroughOptionType; + colorHandle?: ColorPickerPassThroughOptionType; /** * Uses to pass attributes to the hue's DOM element. */ @@ -74,7 +74,7 @@ export interface ColorPickerPassThroughOptions { /** * Uses to pass attributes to the hue handler's DOM element. */ - hueHandler?: ColorPickerPassThroughOptionType; + hueHandle: ColorPickerPassThroughOptionType; } /** @@ -151,6 +151,11 @@ export interface ColorPickerProps { * @type {ColorPickerPassThroughOptions} */ pt?: ColorPickerPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } export interface ColorPickerSlots {} diff --git a/components/lib/colorpicker/ColorPicker.vue b/components/lib/colorpicker/ColorPicker.vue index f4694ad53..d1f06d326 100755 --- a/components/lib/colorpicker/ColorPicker.vue +++ b/components/lib/colorpicker/ColorPicker.vue @@ -1,17 +1,17 @@