@histoire/controls 0.16.4 → 0.16.5

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.
Files changed (52) hide show
  1. package/dist/components/HstCopyIcon.vue.d.ts +10 -13
  2. package/dist/components/HstWrapper.vue.d.ts +22 -30
  3. package/dist/components/button/HstButton.story.vue.d.ts +1 -1
  4. package/dist/components/button/HstButton.vue.d.ts +10 -15
  5. package/dist/components/button/HstButtonGroup.story.vue.d.ts +1 -1
  6. package/dist/components/button/HstButtonGroup.vue.d.ts +26 -21
  7. package/dist/components/checkbox/HstCheckbox.story.vue.d.ts +1 -1
  8. package/dist/components/checkbox/HstCheckbox.vue.d.ts +18 -19
  9. package/dist/components/checkbox/HstCheckboxList.story.vue.d.ts +1 -1
  10. package/dist/components/checkbox/HstCheckboxList.vue.d.ts +28 -21
  11. package/dist/components/checkbox/HstSimpleCheckbox.story.vue.d.ts +1 -1
  12. package/dist/components/checkbox/HstSimpleCheckbox.vue.d.ts +17 -18
  13. package/dist/components/colorselect/HstColorSelect.story.vue.d.ts +1 -1
  14. package/dist/components/colorselect/HstColorSelect.vue.d.ts +18 -19
  15. package/dist/components/design-tokens/HstColorShades.story.vue.d.ts +1 -1
  16. package/dist/components/design-tokens/HstColorShades.vue.d.ts +25 -20
  17. package/dist/components/design-tokens/HstTokenGrid.story.vue.d.ts +1 -1
  18. package/dist/components/design-tokens/HstTokenGrid.vue.d.ts +30 -32
  19. package/dist/components/design-tokens/HstTokenList.story.vue.d.ts +1 -1
  20. package/dist/components/design-tokens/HstTokenList.vue.d.ts +19 -18
  21. package/dist/components/json/HstJson.story.vue.d.ts +1 -1
  22. package/dist/components/json/HstJson.vue.d.ts +20 -19
  23. package/dist/components/number/HstNumber.story.vue.d.ts +1 -1
  24. package/dist/components/number/HstNumber.vue.d.ts +18 -19
  25. package/dist/components/radio/HstRadio.story.vue.d.ts +1 -1
  26. package/dist/components/radio/HstRadio.vue.d.ts +26 -21
  27. package/dist/components/select/CustomSelect.vue.d.ts +23 -20
  28. package/dist/components/select/HstSelect.story.vue.d.ts +1 -1
  29. package/dist/components/select/HstSelect.vue.d.ts +26 -21
  30. package/dist/components/slider/HstSlider.story.vue.d.ts +1 -1
  31. package/dist/components/slider/HstSlider.vue.d.ts +33 -22
  32. package/dist/components/text/HstText.story.vue.d.ts +1 -1
  33. package/dist/components/text/HstText.vue.d.ts +18 -19
  34. package/dist/components/textarea/HstTextarea.story.vue.d.ts +1 -1
  35. package/dist/components/textarea/HstTextarea.vue.d.ts +18 -19
  36. package/dist/index.d.ts +1566 -530
  37. package/dist/index.es.js +5357 -4920
  38. package/dist/style-standalone.css +148 -145
  39. package/dist/style.css +1 -1
  40. package/package.json +26 -26
  41. package/src/components/checkbox/HstCheckbox.vue +3 -3
  42. package/src/components/checkbox/HstCheckboxList.vue +3 -3
  43. package/src/components/checkbox/HstSimpleCheckbox.vue +2 -2
  44. package/src/components/checkbox/__snapshots__/HstCheckbox.spec.ts.snap +3 -69
  45. package/src/components/json/HstJson.vue +2 -2
  46. package/src/components/select/CustomSelect.vue +2 -2
  47. package/src/components/select/HstSelect.vue +2 -2
  48. package/tsconfig.json +1 -2
  49. package/vite.config.ts +18 -9
  50. package/dist/peeky-preview.d.ts +0 -1
  51. package/peeky.config.ts +0 -21
  52. package/src/peeky-preview.ts +0 -1
@@ -1,16 +1,13 @@
1
1
  import type { Awaitable } from '@histoire/shared';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- content: string | (() => Awaitable<string>);
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- content: string | (() => Awaitable<string>);
6
- }>>>, {}>;
7
- export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToRuntimeProps<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
2
+ declare const _default: import("vue").DefineComponent<{
3
+ content: {
4
+ type: import("vue").PropType<string | (() => Awaitable<string>)>;
5
+ required: true;
6
+ };
7
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ content: {
9
+ type: import("vue").PropType<string | (() => Awaitable<string>)>;
14
10
  required: true;
15
11
  };
16
- };
12
+ }>>, {}, {}>;
13
+ export default _default;
@@ -1,37 +1,29 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- title?: string;
3
- tag?: string;
4
- }>, {
5
- title: any;
6
- tag: string;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- title?: string;
9
- tag?: string;
10
- }>, {
11
- title: any;
12
- tag: string;
13
- }>>>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ title: {
3
+ type: import("vue").PropType<string>;
4
+ default: any;
5
+ };
6
+ tag: {
7
+ type: import("vue").PropType<string>;
8
+ default: string;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ title: {
12
+ type: import("vue").PropType<string>;
13
+ default: any;
14
+ };
15
+ tag: {
16
+ type: import("vue").PropType<string>;
17
+ default: string;
18
+ };
19
+ }>>, {
14
20
  title: string;
15
21
  tag: string;
16
- }>, {
17
- default: (_: {}) => any;
18
- actions: (_: {}) => any;
22
+ }, {}>, {
23
+ default?(_: {}): any;
24
+ actions?(_: {}): any;
19
25
  }>;
20
26
  export default _default;
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToRuntimeProps<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
30
- type __VLS_WithDefaults<P, D> = {
31
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
32
- default: D[K];
33
- } : P[K];
34
- };
35
27
  type __VLS_WithTemplateSlots<T, S> = T & {
36
28
  new (): {
37
29
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,20 +1,15 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- color?: "flat" | "default" | "primary";
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- color?: "flat" | "default" | "primary";
5
- }>>>, {}>, {
6
- default: (_: {}) => any;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ color: {
3
+ type: import("vue").PropType<"flat" | "default" | "primary">;
4
+ };
5
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ color: {
7
+ type: import("vue").PropType<"flat" | "default" | "primary">;
8
+ };
9
+ }>>, {}, {}>, {
10
+ default?(_: {}): any;
7
11
  }>;
8
12
  export default _default;
9
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToRuntimeProps<T> = {
11
- [K in keyof T]-?: {} extends Pick<T, K> ? {
12
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
- } : {
14
- type: import('vue').PropType<T[K]>;
15
- required: true;
16
- };
17
- };
18
13
  type __VLS_WithTemplateSlots<T, S> = T & {
19
14
  new (): {
20
15
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,29 +1,34 @@
1
1
  import { HstControlOption } from '../../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- title?: string;
4
- modelValue?: string;
5
- options: string[] | number[] | HstControlOption[] | Record<string, string | number>;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ title: {
4
+ type: import("vue").PropType<string>;
5
+ };
6
+ modelValue: {
7
+ type: import("vue").PropType<string>;
8
+ };
9
+ options: {
10
+ type: import("vue").PropType<string[] | Record<string, string | number> | number[] | HstControlOption[]>;
11
+ required: true;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
14
  "update:modelValue": (value: string) => void;
8
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
- title?: string;
10
- modelValue?: string;
11
- options: string[] | number[] | HstControlOption[] | Record<string, string | number>;
12
- }>>> & {
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ title: {
17
+ type: import("vue").PropType<string>;
18
+ };
19
+ modelValue: {
20
+ type: import("vue").PropType<string>;
21
+ };
22
+ options: {
23
+ type: import("vue").PropType<string[] | Record<string, string | number> | number[] | HstControlOption[]>;
24
+ required: true;
25
+ };
26
+ }>> & {
13
27
  "onUpdate:modelValue"?: (value: string) => any;
14
- }, {}>, {
15
- actions: (_: {}) => any;
28
+ }, {}, {}>, {
29
+ actions?(_: {}): any;
16
30
  }>;
17
31
  export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
32
  type __VLS_WithTemplateSlots<T, S> = T & {
28
33
  new (): {
29
34
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,26 +1,25 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- modelValue?: boolean | "true" | "false";
3
- title?: string;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: import("vue").PropType<boolean | "true" | "false">;
4
+ };
5
+ title: {
6
+ type: import("vue").PropType<string>;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
9
  'update:modelValue': (newValue: boolean | "true" | "false") => true;
6
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- modelValue?: boolean | "true" | "false";
8
- title?: string;
9
- }>>> & {
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ modelValue: {
12
+ type: import("vue").PropType<boolean | "true" | "false">;
13
+ };
14
+ title: {
15
+ type: import("vue").PropType<string>;
16
+ };
17
+ }>> & {
10
18
  "onUpdate:modelValue"?: (newValue: boolean | "true" | "false") => any;
11
- }, {}>, {
12
- actions: (_: {}) => any;
19
+ }, {}, {}>, {
20
+ actions?(_: {}): any;
13
21
  }>;
14
22
  export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
23
  type __VLS_WithTemplateSlots<T, S> = T & {
25
24
  new (): {
26
25
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,29 +1,36 @@
1
1
  import { HstControlOption } from '../../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- title?: string;
4
- modelValue: Array<string>;
5
- options: string[] | HstControlOption[];
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ title: {
4
+ type: import("vue").PropType<string>;
5
+ };
6
+ modelValue: {
7
+ type: import("vue").PropType<string[]>;
8
+ required: true;
9
+ };
10
+ options: {
11
+ type: import("vue").PropType<string[] | HstControlOption[]>;
12
+ required: true;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
15
  "update:modelValue": (value: string[]) => void;
8
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
- title?: string;
10
- modelValue: Array<string>;
11
- options: string[] | HstControlOption[];
12
- }>>> & {
16
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ title: {
18
+ type: import("vue").PropType<string>;
19
+ };
20
+ modelValue: {
21
+ type: import("vue").PropType<string[]>;
22
+ required: true;
23
+ };
24
+ options: {
25
+ type: import("vue").PropType<string[] | HstControlOption[]>;
26
+ required: true;
27
+ };
28
+ }>> & {
13
29
  "onUpdate:modelValue"?: (value: string[]) => any;
14
- }, {}>, {
15
- actions: (_: {}) => any;
30
+ }, {}, {}>, {
31
+ actions?(_: {}): any;
16
32
  }>;
17
33
  export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
34
  type __VLS_WithTemplateSlots<T, S> = T & {
28
35
  new (): {
29
36
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,21 +1,20 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- modelValue?: boolean;
3
- withToggle?: boolean;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: import("vue").PropType<boolean>;
4
+ };
5
+ withToggle: {
6
+ type: import("vue").PropType<boolean>;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
9
  'update:modelValue': (newValue: boolean) => true;
6
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- modelValue?: boolean;
8
- withToggle?: boolean;
9
- }>>> & {
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ modelValue: {
12
+ type: import("vue").PropType<boolean>;
13
+ };
14
+ withToggle: {
15
+ type: import("vue").PropType<boolean>;
16
+ };
17
+ }>> & {
10
18
  "onUpdate:modelValue"?: (newValue: boolean) => any;
11
- }, {}>;
19
+ }, {}, {}>;
12
20
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,26 +1,25 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- title?: string;
3
- modelValue?: string;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ title: {
3
+ type: import("vue").PropType<string>;
4
+ };
5
+ modelValue: {
6
+ type: import("vue").PropType<string>;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
9
  'update:modelValue': (newValue: string) => true;
6
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- title?: string;
8
- modelValue?: string;
9
- }>>> & {
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ title: {
12
+ type: import("vue").PropType<string>;
13
+ };
14
+ modelValue: {
15
+ type: import("vue").PropType<string>;
16
+ };
17
+ }>> & {
10
18
  "onUpdate:modelValue"?: (newValue: string) => any;
11
- }, {}>, {
12
- actions: (_: {}) => any;
19
+ }, {}, {}>, {
20
+ actions?(_: {}): any;
13
21
  }>;
14
22
  export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
23
  type __VLS_WithTemplateSlots<T, S> = T & {
25
24
  new (): {
26
25
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,26 +1,31 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- shades: Record<string, any>;
3
- getName?: (key: string, color: string) => string;
4
- search?: string;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- shades: Record<string, any>;
7
- getName?: (key: string, color: string) => string;
8
- search?: string;
9
- }>>>, {}>, {
10
- default: (_: {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ shades: {
3
+ type: import("vue").PropType<Record<string, any>>;
4
+ required: true;
5
+ };
6
+ getName: {
7
+ type: import("vue").PropType<(key: string, color: string) => string>;
8
+ };
9
+ search: {
10
+ type: import("vue").PropType<string>;
11
+ };
12
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ shades: {
14
+ type: import("vue").PropType<Record<string, any>>;
15
+ required: true;
16
+ };
17
+ getName: {
18
+ type: import("vue").PropType<(key: string, color: string) => string>;
19
+ };
20
+ search: {
21
+ type: import("vue").PropType<string>;
22
+ };
23
+ }>>, {}, {}>, {
24
+ default?(_: {
11
25
  color: string;
12
- }) => any;
26
+ }): any;
13
27
  }>;
14
28
  export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
29
  type __VLS_WithTemplateSlots<T, S> = T & {
25
30
  new (): {
26
31
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,44 +1,42 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- tokens: Record<string, string | number | any[] | Record<string, any>>;
3
- colSize?: number;
4
- getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
5
- }>, {
6
- colSize: number;
7
- getName: any;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- tokens: Record<string, string | number | any[] | Record<string, any>>;
10
- colSize?: number;
11
- getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
12
- }>, {
13
- colSize: number;
14
- getName: any;
15
- }>>>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ getName: {
3
+ type: import("vue").PropType<(key: string, value: string | number | any[] | Record<string, any>) => string>;
4
+ default: any;
5
+ };
6
+ colSize: {
7
+ type: import("vue").PropType<number>;
8
+ default: number;
9
+ };
10
+ tokens: {
11
+ type: import("vue").PropType<Record<string, string | number | any[] | Record<string, any>>>;
12
+ required: true;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ getName: {
16
+ type: import("vue").PropType<(key: string, value: string | number | any[] | Record<string, any>) => string>;
17
+ default: any;
18
+ };
19
+ colSize: {
20
+ type: import("vue").PropType<number>;
21
+ default: number;
22
+ };
23
+ tokens: {
24
+ type: import("vue").PropType<Record<string, string | number | any[] | Record<string, any>>>;
25
+ required: true;
26
+ };
27
+ }>>, {
16
28
  getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
17
29
  colSize: number;
18
- }>, {
19
- default: (_: {
30
+ }, {}>, {
31
+ default?(_: {
20
32
  token: {
21
33
  key: string;
22
34
  name: string;
23
35
  value: string | Record<string, any>;
24
36
  };
25
- }) => any;
37
+ }): any;
26
38
  }>;
27
39
  export default _default;
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToRuntimeProps<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
35
- };
36
- };
37
- type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
39
- default: D[K];
40
- } : P[K];
41
- };
42
40
  type __VLS_WithTemplateSlots<T, S> = T & {
43
41
  new (): {
44
42
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,28 +1,29 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- tokens: Record<string, string | number | any[] | Record<string, any>>;
3
- getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- tokens: Record<string, string | number | any[] | Record<string, any>>;
6
- getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
7
- }>>>, {}>, {
8
- default: (_: {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ tokens: {
3
+ type: import("vue").PropType<Record<string, string | number | any[] | Record<string, any>>>;
4
+ required: true;
5
+ };
6
+ getName: {
7
+ type: import("vue").PropType<(key: string, value: string | number | any[] | Record<string, any>) => string>;
8
+ };
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
+ tokens: {
11
+ type: import("vue").PropType<Record<string, string | number | any[] | Record<string, any>>>;
12
+ required: true;
13
+ };
14
+ getName: {
15
+ type: import("vue").PropType<(key: string, value: string | number | any[] | Record<string, any>) => string>;
16
+ };
17
+ }>>, {}, {}>, {
18
+ default?(_: {
9
19
  token: {
10
20
  key: string;
11
21
  name: string;
12
22
  value: string | Record<string, any>;
13
23
  };
14
- }) => any;
24
+ }): any;
15
25
  }>;
16
26
  export default _default;
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToRuntimeProps<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
26
27
  type __VLS_WithTemplateSlots<T, S> = T & {
27
28
  new (): {
28
29
  $slots: S;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;