@maltjoy/core-vue 6.3.0 → 6.4.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.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import { TJoyIndicatorsVariants } from '../JoyIndicators/JoyIndicators.types';
3
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
3
  /** Value is used for the parent v-model. Mandatory */
5
4
  value: {
@@ -12,7 +11,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
11
  default: boolean;
13
12
  };
14
13
  variant: {
15
- type: PropType<TJoyIndicatorsVariants>;
14
+ type: PropType<"default">;
16
15
  default: string;
17
16
  };
18
17
  /** Indicators are text-less buttons by design. To make them more accessible, you can pass them an aria-label that will describe more their action. */
@@ -31,7 +30,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
31
30
  default: boolean;
32
31
  };
33
32
  variant: {
34
- type: PropType<TJoyIndicatorsVariants>;
33
+ type: PropType<"default">;
35
34
  default: string;
36
35
  };
37
36
  /** Indicators are text-less buttons by design. To make them more accessible, you can pass them an aria-label that will describe more their action. */
@@ -40,6 +39,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
40
39
  };
41
40
  }>> & Readonly<{}>, {
42
41
  selected: boolean;
43
- variant: TJoyIndicatorsVariants;
42
+ variant: "default";
44
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
45
44
  export default _default;
@@ -1 +1 @@
1
- export type TJoyIndicatorsVariants = 'default' | 'light';
1
+ export type TJoyIndicatorsVariants = 'default';
@@ -1,10 +1,9 @@
1
1
  import { PropType } from 'vue';
2
2
  import VJoyIndicator from '../JoyIndicator/VJoyIndicator.vue';
3
- import { TJoyIndicatorsVariants } from './JoyIndicators.types';
4
3
  declare function isSelected(indicator: typeof VJoyIndicator): boolean;
5
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
5
  variant: {
7
- type: PropType<TJoyIndicatorsVariants>;
6
+ type: PropType<"default">;
8
7
  };
9
8
  /** Use the component with a v-model to easily handle selected items */
10
9
  modelValue: {
@@ -21,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
21
20
  default: boolean;
22
21
  };
23
22
  variant: {
24
- type: PropType<TJoyIndicatorsVariants>;
23
+ type: PropType<"default">;
25
24
  default: string;
26
25
  };
27
26
  ariaLabel: {
@@ -37,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
37
36
  default: boolean;
38
37
  };
39
38
  variant: {
40
- type: PropType<TJoyIndicatorsVariants>;
39
+ type: PropType<"default">;
41
40
  default: string;
42
41
  };
43
42
  ariaLabel: {
@@ -45,14 +44,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
45
44
  };
46
45
  }>> & Readonly<{}>, {
47
46
  selected: boolean;
48
- variant: TJoyIndicatorsVariants;
47
+ variant: "default";
49
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>[]>;
50
49
  isSelected: typeof isSelected;
51
50
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
51
  "update:modelValue": (value: string | number) => any;
53
52
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
54
53
  variant: {
55
- type: PropType<TJoyIndicatorsVariants>;
54
+ type: PropType<"default">;
56
55
  };
57
56
  /** Use the component with a v-model to easily handle selected items */
58
57
  modelValue: {