@sabrenski/spire-ui-vue 0.3.17 → 0.3.19
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/components/ColorPicker/ColorPicker.vue.d.ts +1 -0
- package/dist/components/ColorPicker/types.d.ts +4 -0
- package/dist/spire-ui.cjs +33 -33
- package/dist/spire-ui.css +1 -1
- package/dist/spire-ui.js +5781 -5719
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Placement } from '../../composables';
|
|
1
2
|
export type ColorFormat = 'hex' | 'rgb' | 'hsl';
|
|
2
3
|
export type ColorPickerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export type { Placement };
|
|
3
5
|
export interface HSVA {
|
|
4
6
|
h: number;
|
|
5
7
|
s: number;
|
|
@@ -39,6 +41,8 @@ export interface ColorPickerProps {
|
|
|
39
41
|
inline?: boolean;
|
|
40
42
|
/** Show clear button to reset the color value */
|
|
41
43
|
clearable?: boolean;
|
|
44
|
+
/** Placement of the dropdown relative to the trigger */
|
|
45
|
+
placement?: Placement;
|
|
42
46
|
}
|
|
43
47
|
export interface ColorPickerAreaProps {
|
|
44
48
|
hue: number;
|