@blueprint-chart/ui 2.6.0 → 2.8.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.
@@ -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;
@@ -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;
@@ -10,13 +10,15 @@ type __VLS_Props = {
10
10
  /** Card is real, but the thumb area shimmers until `thumbSrc` arrives. */
11
11
  thumbLoading?: boolean;
12
12
  };
13
- declare var __VLS_6: {}, __VLS_8: {}, __VLS_25: {};
13
+ declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {}, __VLS_27: {};
14
14
  type __VLS_Slots = {} & {
15
- status?: (props: typeof __VLS_6) => any;
15
+ thumb?: (props: typeof __VLS_6) => any;
16
16
  } & {
17
- actions?: (props: typeof __VLS_8) => any;
17
+ status?: (props: typeof __VLS_8) => any;
18
18
  } & {
19
- footer?: (props: typeof __VLS_25) => any;
19
+ actions?: (props: typeof __VLS_10) => any;
20
+ } & {
21
+ footer?: (props: typeof __VLS_27) => any;
20
22
  };
21
23
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
24
  click: () => any;
@@ -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[]>>;
@@ -0,0 +1,5 @@
1
+ import { Ref } from 'vue';
2
+ export declare function useHexColorField(model: Ref<string>): {
3
+ onHexInput: (event: Event) => void;
4
+ onHexChange: (event: Event) => void;
5
+ };
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';