@blueprint-chart/ui 2.7.0 → 2.9.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.
- package/dist/components/Form/FormControl/FormControlColorInput/FormControlColorInputPicker.vue.d.ts +12 -0
- package/dist/components/Form/FormControl/FormControlColorInput/FormControlColorInputPopover.vue.d.ts +4 -0
- package/dist/components/Form/FormControl/FormControlColorInput/FormControlColorInputSwatches.vue.d.ts +7 -0
- package/dist/composables/injection-keys.d.ts +9 -1
- package/dist/composables/useHexColorField.d.ts +5 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3982 -4795
- package/dist/style.css +1 -1
- package/dist/utils/expandHexColor.d.ts +1 -0
- package/dist/utils/hsv.d.ts +7 -0
- package/dist/utils/toHexColor.d.ts +1 -0
- package/package.json +5 -4
package/dist/components/Form/FormControl/FormControlColorInput/FormControlColorInputPicker.vue.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string) => any;
|
|
6
|
+
pick: (color: string) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
9
|
+
onPick?: ((color: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
package/dist/components/Form/FormControl/FormControlColorInput/FormControlColorInputPopover.vue.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { PopoverPlacement } from 'bootstrap-vue-next';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
target: HTMLElement | null;
|
|
4
|
+
ignore?: HTMLElement | null;
|
|
3
5
|
manual?: boolean;
|
|
6
|
+
placement?: PopoverPlacement;
|
|
4
7
|
};
|
|
5
8
|
type __VLS_ModelProps = {
|
|
6
9
|
modelValue: string;
|
|
@@ -14,6 +17,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
14
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
18
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
19
|
}>, {
|
|
20
|
+
placement: PopoverPlacement;
|
|
17
21
|
manual: boolean;
|
|
18
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
pick: (color: string) => any;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onPick?: ((color: string) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, InjectionKey } from 'vue';
|
|
1
|
+
import { Component, InjectionKey, Ref } from 'vue';
|
|
2
2
|
import { ChildEntriesContext } from './useChildEntries';
|
|
3
3
|
import { FormControlDropdownOption } from '../components/Form/FormControl/FormControlDropdown/FormControlDropdown.vue';
|
|
4
4
|
export declare const ButtonGroupEntriesKey: InjectionKey<ChildEntriesContext<{
|
|
@@ -27,3 +27,11 @@ export declare const ToggleEntriesKey: InjectionKey<ChildEntriesContext<{
|
|
|
27
27
|
title?: string;
|
|
28
28
|
disabled?: boolean;
|
|
29
29
|
}>>;
|
|
30
|
+
export interface ColorSwatchGroup {
|
|
31
|
+
label: string;
|
|
32
|
+
swatches: readonly {
|
|
33
|
+
name: string;
|
|
34
|
+
color: string;
|
|
35
|
+
}[];
|
|
36
|
+
}
|
|
37
|
+
export declare const ColorSwatchGroupsKey: InjectionKey<Ref<ColorSwatchGroup[]>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ export * from './bootstrap-vue-next';
|
|
|
2
2
|
export { IconSize, ChartType } from './enums';
|
|
3
3
|
export { useChildEntriesProvider, useChildEntry } from './composables/useChildEntries';
|
|
4
4
|
export type { ChildEntriesContext } from './composables/useChildEntries';
|
|
5
|
-
export { ButtonGroupEntriesKey, DropdownEntriesKey, PaletteEntriesKey, IconRailEntriesKey, ToggleEntriesKey, } from './composables/injection-keys';
|
|
5
|
+
export { ButtonGroupEntriesKey, DropdownEntriesKey, PaletteEntriesKey, IconRailEntriesKey, ToggleEntriesKey, ColorSwatchGroupsKey, } from './composables/injection-keys';
|
|
6
|
+
export type { ColorSwatchGroup } from './composables/injection-keys';
|
|
6
7
|
export { useBreakpoint } from './composables/useBreakpoint';
|
|
7
8
|
export { BOOTSTRAP_BREAKPOINTS } from './utils/bootstrapBreakpoints';
|
|
8
9
|
export type { BootstrapBreakpoint } from './utils/bootstrapBreakpoints';
|
|
@@ -16,6 +17,7 @@ export { default as BcRing } from './components/Effect/BcRing/BcRing.vue';
|
|
|
16
17
|
export { default as FormControlCheckbox } from './components/Form/FormControl/FormControlCheckbox.vue';
|
|
17
18
|
export { default as FormControlColorInput } from './components/Form/FormControl/FormControlColorInput/FormControlColorInput.vue';
|
|
18
19
|
export { default as FormControlColorInputPopover } from './components/Form/FormControl/FormControlColorInput/FormControlColorInputPopover.vue';
|
|
20
|
+
export { default as FormControlColorInputPicker } from './components/Form/FormControl/FormControlColorInput/FormControlColorInputPicker.vue';
|
|
19
21
|
export { default as FormControlDirectionPicker } from './components/Form/FormControl/FormControlDirectionPicker/FormControlDirectionPicker.vue';
|
|
20
22
|
export { default as FormControlColorsInput } from './components/Form/FormControl/FormControlColorsInput.vue';
|
|
21
23
|
export { default as FormControlButtonGroup } from './components/Form/FormControl/FormControlButtonGroup/FormControlButtonGroup.vue';
|