@dpa-id-components/dpa-shared-components 11.0.0-alpha.0 → 12.0.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.
Files changed (96) hide show
  1. package/README.md +29 -0
  2. package/dist/components/DpaMediaItem/DpaMediaItem.stories.d.ts +25 -80
  3. package/dist/components/DpaMediaItem/DpaMediaItem.vue.d.ts +18 -49
  4. package/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +194 -54
  5. package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +182 -42
  6. package/dist/components/UiBadge/UiBadge.stories.d.ts +31 -95
  7. package/dist/components/UiBadge/UiBadge.vue.d.ts +15 -50
  8. package/dist/components/UiButton/UiButton.stories.d.ts +32 -96
  9. package/dist/components/UiButton/UiButton.vue.d.ts +16 -51
  10. package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +1 -2
  11. package/dist/components/UiButtonGroup/UiButtonGroup.vue.d.ts +9 -3
  12. package/dist/components/UiCard/UiCard.stories.d.ts +1 -2
  13. package/dist/components/UiCard/UiCard.vue.d.ts +9 -3
  14. package/dist/components/UiCheckBox/UiCheckBox.stories.d.ts +25 -80
  15. package/dist/components/UiCheckBox/UiCheckBox.vue.d.ts +15 -46
  16. package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +12 -43
  17. package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +7 -35
  18. package/dist/components/UiChip/UiChip.stories.d.ts +16 -44
  19. package/dist/components/UiChip/UiChip.vue.d.ts +14 -36
  20. package/dist/components/UiCollapseNavigation/UiCollapseNavigation.stories.d.ts +22 -44
  21. package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +16 -36
  22. package/dist/components/UiColorPicker/UiColorPicker.stories.d.ts +8 -17
  23. package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +6 -28
  24. package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +2374 -825
  25. package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2153 -133
  26. package/dist/components/UiDialog/UiDialog.stories.d.ts +80 -279
  27. package/dist/components/UiDialog/UiDialog.vue.d.ts +17 -63
  28. package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +56 -165
  29. package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +14 -39
  30. package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +62 -195
  31. package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +16 -42
  32. package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +50 -171
  33. package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +5 -55
  34. package/dist/components/UiIcon/IconOverview.vue.d.ts +5 -0
  35. package/dist/components/UiIcon/UiIcon.stories.d.ts +16 -40
  36. package/dist/components/UiIcon/UiIcon.vue.d.ts +4 -31
  37. package/dist/components/UiIconButton/UiIconButton.stories.d.ts +37 -109
  38. package/dist/components/UiIconButton/UiIconButton.vue.d.ts +6 -42
  39. package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +70 -230
  40. package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +16 -42
  41. package/dist/components/UiInput/UiInput.stories.d.ts +154 -511
  42. package/dist/components/UiInput/UiInput.vue.d.ts +23 -90
  43. package/dist/components/UiList/UiList.stories.d.ts +147 -493
  44. package/dist/components/UiList/UiList.vue.d.ts +9 -3
  45. package/dist/components/UiListItem/UiListItem.stories.d.ts +96 -327
  46. package/dist/components/UiListItem/UiListItem.vue.d.ts +19 -68
  47. package/dist/components/UiMenu/UiMenu.stories.d.ts +36 -41
  48. package/dist/components/UiMenu/UiMenu.vue.d.ts +8 -11
  49. package/dist/components/UiMenu/UiMenuItem.vue.d.ts +9 -12
  50. package/dist/components/UiMenu/UiMenuList.vue.d.ts +13 -29
  51. package/dist/components/UiMenu/UiMenuTypes.d.ts +1 -1
  52. package/dist/components/UiOverlay/UiOverlay.stories.d.ts +2 -3
  53. package/dist/components/UiOverlay/UiOverlay.vue.d.ts +9 -3
  54. package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +118 -373
  55. package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +14 -30
  56. package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +46 -119
  57. package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +5 -42
  58. package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +152 -461
  59. package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +27 -60
  60. package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +61 -128
  61. package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +22 -41
  62. package/dist/components/UiSection/UiSection.stories.d.ts +19 -56
  63. package/dist/components/UiSection/UiSection.vue.d.ts +14 -39
  64. package/dist/components/UiSectionDivider/UiSectionDivider.stories.d.ts +27 -76
  65. package/dist/components/UiSectionDivider/UiSectionDivider.vue.d.ts +4 -29
  66. package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +30 -75
  67. package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +7 -36
  68. package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +20 -57
  69. package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +4 -32
  70. package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +48 -135
  71. package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +20 -45
  72. package/dist/components/UiSpinner/UiSpinner.stories.d.ts +16 -41
  73. package/dist/components/UiSpinner/UiSpinner.vue.d.ts +4 -29
  74. package/dist/components/UiTextButton/UiTextButton.stories.d.ts +31 -104
  75. package/dist/components/UiTextButton/UiTextButton.vue.d.ts +14 -52
  76. package/dist/components/UiToggleButton/UiToggleButton.stories.d.ts +31 -104
  77. package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +15 -52
  78. package/dist/components/UiTooltip/UiTooltip.stories.d.ts +94 -303
  79. package/dist/components/UiTooltip/UiTooltip.vue.d.ts +20 -75
  80. package/dist/components/index.d.ts +0 -1
  81. package/dist/compositions/index.d.ts +0 -1
  82. package/dist/compositions/useBreakpoints/UseBreakpoints.stories.d.ts +0 -1
  83. package/dist/compositions/useBreakpoints/UseBreakpoints.vue.d.ts +2 -0
  84. package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +1 -1
  85. package/dist/directives/clickAway/clickAway.d.ts +0 -1
  86. package/dist/directives/index.d.ts +0 -1
  87. package/dist/dpa-shared-components.d.ts +1 -0
  88. package/dist/dpa-shared-components.mjs +12448 -13034
  89. package/dist/dpa-shared-components.umd.js +7 -7
  90. package/dist/index.d.ts +0 -1
  91. package/dist/stories/Typography/Typography.stories.d.ts +0 -1
  92. package/dist/stories/Typography/TypographyOverview.vue.d.ts +5 -0
  93. package/dist/style.css +1 -1
  94. package/dist/tailwind.config.cjs +3 -3
  95. package/dist/utils/index.d.ts +0 -1
  96. package/package.json +9 -8
@@ -1,27 +1,5 @@
1
1
  import { iconNames } from '../UiIcon/iconNames';
2
-
3
- declare function __VLS_template(): {
4
- default?(_: {}): any;
5
- };
6
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
- iconName?: (typeof iconNames)[number] | null;
8
- size?: "xs" | "small" | "medium" | "large";
9
- color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
10
- disabledVariant?: "primary" | "secondary";
11
- disabled?: boolean;
12
- href?: string;
13
- rounded?: boolean;
14
- }>, {
15
- iconName: null;
16
- size: string;
17
- color: string;
18
- disabledVariant: string;
19
- disabled: boolean;
20
- rounded: boolean;
21
- href: string;
22
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- click: () => void;
24
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
25
3
  iconName?: (typeof iconNames)[number] | null;
26
4
  size?: "xs" | "small" | "medium" | "large";
27
5
  color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
@@ -29,15 +7,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
29
7
  disabled?: boolean;
30
8
  href?: string;
31
9
  rounded?: boolean;
32
- }>, {
33
- iconName: null;
34
- size: string;
35
- color: string;
36
- disabledVariant: string;
37
- disabled: boolean;
38
- rounded: boolean;
39
- href: string;
40
- }>>> & Readonly<{
10
+ };
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ default?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ rootEl: any;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
21
+ click: () => any;
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
41
23
  onClick?: (() => any) | undefined;
42
24
  }>, {
43
25
  size: "xs" | "small" | "medium" | "large";
@@ -47,26 +29,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
47
29
  iconName: (typeof iconNames)[number] | null;
48
30
  disabledVariant: "primary" | "secondary";
49
31
  href: string;
50
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
52
34
  export default _default;
53
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
- type __VLS_TypePropsToRuntimeProps<T> = {
55
- [K in keyof T]-?: {} extends Pick<T, K> ? {
56
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
57
- } : {
58
- type: import('vue').PropType<T[K]>;
59
- required: true;
60
- };
61
- };
62
- type __VLS_WithDefaults<P, D> = {
63
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
- default: D[K];
65
- }> : P[K];
66
- };
67
- type __VLS_Prettify<T> = {
68
- [K in keyof T]: T[K];
69
- } & {};
70
35
  type __VLS_WithTemplateSlots<T, S> = T & {
71
36
  new (): {
72
37
  $slots: S;
@@ -1,9 +1,8 @@
1
1
  import { StoryObj } from '@storybook/vue3';
2
-
3
2
  declare const meta: {
4
3
  title: string;
5
4
  component: {
6
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
7
6
  P: {};
8
7
  B: {};
9
8
  D: {};
@@ -1,8 +1,14 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
3
8
  };
4
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
12
  export default _default;
7
13
  type __VLS_WithTemplateSlots<T, S> = T & {
8
14
  new (): {
@@ -1,9 +1,8 @@
1
1
  import { StoryObj } from '@storybook/vue3';
2
-
3
2
  declare const meta: {
4
3
  title: string;
5
4
  component: {
6
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLLIElement, import('vue').ComponentProvideOptions, {
7
6
  P: {};
8
7
  B: {};
9
8
  D: {};
@@ -1,8 +1,14 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLLIElement;
3
8
  };
4
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
12
  export default _default;
7
13
  type __VLS_WithTemplateSlots<T, S> = T & {
8
14
  new (): {
@@ -1,34 +1,15 @@
1
1
  import { StoryObj } from '@storybook/vue3';
2
-
3
2
  declare const meta: {
4
3
  title: string;
5
4
  component: {
6
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
7
- size: {
8
- type: import('vue').PropType<"small" | "medium">;
9
- default: string;
10
- };
11
- disabled: {
12
- type: import('vue').PropType<boolean>;
13
- default: boolean;
14
- };
15
- errorMessage: {
16
- type: import('vue').PropType<string>;
17
- default: string;
18
- };
19
- color: {
20
- type: import('vue').PropType<"blue" | "gray">;
21
- default: string;
22
- };
23
- checked: {
24
- type: import('vue').PropType<boolean>;
25
- default: boolean;
26
- };
27
- showError: {
28
- type: import('vue').PropType<boolean>;
29
- default: boolean;
30
- };
31
- }>> & Readonly<{
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
6
+ color?: "blue" | "gray";
7
+ size?: "small" | "medium";
8
+ disabled?: boolean;
9
+ checked?: boolean;
10
+ showError?: boolean;
11
+ errorMessage?: string;
12
+ }> & Readonly<{
32
13
  onChange?: ((...args: any[]) => any) | undefined;
33
14
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
15
  change: (...args: any[]) => void;
@@ -39,39 +20,21 @@ declare const meta: {
39
20
  color: "blue" | "gray";
40
21
  checked: boolean;
41
22
  showError: boolean;
42
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
23
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLLabelElement, import('vue').ComponentProvideOptions, {
43
24
  P: {};
44
25
  B: {};
45
26
  D: {};
46
27
  C: {};
47
28
  M: {};
48
29
  Defaults: {};
49
- }, Readonly<import('vue').ExtractPropTypes<{
50
- size: {
51
- type: import('vue').PropType<"small" | "medium">;
52
- default: string;
53
- };
54
- disabled: {
55
- type: import('vue').PropType<boolean>;
56
- default: boolean;
57
- };
58
- errorMessage: {
59
- type: import('vue').PropType<string>;
60
- default: string;
61
- };
62
- color: {
63
- type: import('vue').PropType<"blue" | "gray">;
64
- default: string;
65
- };
66
- checked: {
67
- type: import('vue').PropType<boolean>;
68
- default: boolean;
69
- };
70
- showError: {
71
- type: import('vue').PropType<boolean>;
72
- default: boolean;
73
- };
74
- }>> & Readonly<{
30
+ }, Readonly<{
31
+ color?: "blue" | "gray";
32
+ size?: "small" | "medium";
33
+ disabled?: boolean;
34
+ checked?: boolean;
35
+ showError?: boolean;
36
+ errorMessage?: string;
37
+ }> & Readonly<{
75
38
  onChange?: ((...args: any[]) => any) | undefined;
76
39
  }>, {}, {}, {}, {}, {
77
40
  size: "small" | "medium";
@@ -84,32 +47,14 @@ declare const meta: {
84
47
  __isFragment?: never;
85
48
  __isTeleport?: never;
86
49
  __isSuspense?: never;
87
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
88
- size: {
89
- type: import('vue').PropType<"small" | "medium">;
90
- default: string;
91
- };
92
- disabled: {
93
- type: import('vue').PropType<boolean>;
94
- default: boolean;
95
- };
96
- errorMessage: {
97
- type: import('vue').PropType<string>;
98
- default: string;
99
- };
100
- color: {
101
- type: import('vue').PropType<"blue" | "gray">;
102
- default: string;
103
- };
104
- checked: {
105
- type: import('vue').PropType<boolean>;
106
- default: boolean;
107
- };
108
- showError: {
109
- type: import('vue').PropType<boolean>;
110
- default: boolean;
111
- };
112
- }>> & Readonly<{
50
+ } & import('vue').ComponentOptionsBase<Readonly<{
51
+ color?: "blue" | "gray";
52
+ size?: "small" | "medium";
53
+ disabled?: boolean;
54
+ checked?: boolean;
55
+ showError?: boolean;
56
+ errorMessage?: string;
57
+ }> & Readonly<{
113
58
  onChange?: ((...args: any[]) => any) | undefined;
114
59
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
115
60
  change: (...args: any[]) => void;
@@ -1,37 +1,23 @@
1
- declare function __VLS_template(): {
2
- default?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
5
2
  color?: "blue" | "gray";
6
3
  size?: "small" | "medium";
7
4
  disabled?: boolean;
8
5
  checked?: boolean;
9
6
  showError?: boolean;
10
7
  errorMessage?: string;
11
- }>, {
12
- color: string;
13
- size: string;
14
- disabled: boolean;
15
- checked: boolean;
16
- showError: boolean;
17
- errorMessage: string;
18
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: HTMLLabelElement;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
19
  change: (...args: any[]) => void;
20
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
21
- color?: "blue" | "gray";
22
- size?: "small" | "medium";
23
- disabled?: boolean;
24
- checked?: boolean;
25
- showError?: boolean;
26
- errorMessage?: string;
27
- }>, {
28
- color: string;
29
- size: string;
30
- disabled: boolean;
31
- checked: boolean;
32
- showError: boolean;
33
- errorMessage: string;
34
- }>>> & Readonly<{
20
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
35
21
  onChange?: ((...args: any[]) => any) | undefined;
36
22
  }>, {
37
23
  size: "small" | "medium";
@@ -40,26 +26,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
40
26
  color: "blue" | "gray";
41
27
  checked: boolean;
42
28
  showError: boolean;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
44
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
31
  export default _default;
46
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
- type __VLS_TypePropsToRuntimeProps<T> = {
48
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
- } : {
51
- type: import('vue').PropType<T[K]>;
52
- required: true;
53
- };
54
- };
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
32
  type __VLS_WithTemplateSlots<T, S> = T & {
64
33
  new (): {
65
34
  $slots: S;
@@ -1,58 +1,27 @@
1
1
  import { StoryObj } from '@storybook/vue3';
2
-
3
2
  declare const meta: {
4
3
  title: string;
5
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
- disabled: {
7
- type: import('vue').PropType<boolean>;
8
- default: boolean;
9
- };
10
- item: {
11
- type: import('vue').PropType<{
12
- name: string;
13
- isChecked: boolean;
14
- iconName: string;
15
- }[]>;
16
- default: () => never[];
17
- };
18
- firstEntryChecksAll: {
19
- type: import('vue').PropType<boolean>;
20
- default: boolean;
21
- };
22
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
+ component: import('vue').DefineComponent<{
5
+ item?: import('./UiCheckBoxGroup.vue').CheckboxItem[];
6
+ firstEntryChecksAll?: boolean;
7
+ disabled?: boolean;
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
9
  input: (...args: any[]) => void;
24
10
  "checked-all": (...args: any[]) => void;
25
11
  "item-checked": (...args: any[]) => void;
26
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
- disabled: {
28
- type: import('vue').PropType<boolean>;
29
- default: boolean;
30
- };
31
- item: {
32
- type: import('vue').PropType<{
33
- name: string;
34
- isChecked: boolean;
35
- iconName: string;
36
- }[]>;
37
- default: () => never[];
38
- };
39
- firstEntryChecksAll: {
40
- type: import('vue').PropType<boolean>;
41
- default: boolean;
42
- };
43
- }>> & Readonly<{
12
+ }, string, import('vue').PublicProps, Readonly<{
13
+ item?: import('./UiCheckBoxGroup.vue').CheckboxItem[];
14
+ firstEntryChecksAll?: boolean;
15
+ disabled?: boolean;
16
+ }> & Readonly<{
44
17
  onInput?: ((...args: any[]) => any) | undefined;
45
18
  "onChecked-all"?: ((...args: any[]) => any) | undefined;
46
19
  "onItem-checked"?: ((...args: any[]) => any) | undefined;
47
20
  }>, {
48
21
  disabled: boolean;
49
- item: {
50
- name: string;
51
- isChecked: boolean;
52
- iconName: string;
53
- }[];
22
+ item: import('./UiCheckBoxGroup.vue').CheckboxItem[];
54
23
  firstEntryChecksAll: boolean;
55
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
56
25
  argTypes: {
57
26
  firstEntryChecksAll: {
58
27
  control: "boolean";
@@ -1,29 +1,18 @@
1
- type CheckboxItem = {
1
+ export type CheckboxItem = {
2
2
  name: string;
3
3
  isChecked: boolean;
4
- iconName: string;
4
+ iconName?: string;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ type __VLS_Props = {
7
7
  item?: CheckboxItem[];
8
8
  firstEntryChecksAll?: boolean;
9
9
  disabled?: boolean;
10
- }>, {
11
- item: () => never[];
12
- firstEntryChecksAll: boolean;
13
- disabled: boolean;
14
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
12
  input: (...args: any[]) => void;
16
13
  "checked-all": (...args: any[]) => void;
17
14
  "item-checked": (...args: any[]) => void;
18
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
- item?: CheckboxItem[];
20
- firstEntryChecksAll?: boolean;
21
- disabled?: boolean;
22
- }>, {
23
- item: () => never[];
24
- firstEntryChecksAll: boolean;
25
- disabled: boolean;
26
- }>>> & Readonly<{
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
27
16
  onInput?: ((...args: any[]) => any) | undefined;
28
17
  "onChecked-all"?: ((...args: any[]) => any) | undefined;
29
18
  "onItem-checked"?: ((...args: any[]) => any) | undefined;
@@ -31,22 +20,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
31
20
  disabled: boolean;
32
21
  item: CheckboxItem[];
33
22
  firstEntryChecksAll: boolean;
34
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
35
24
  export default _default;
36
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
- type __VLS_TypePropsToRuntimeProps<T> = {
38
- [K in keyof T]-?: {} extends Pick<T, K> ? {
39
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
- } : {
41
- type: import('vue').PropType<T[K]>;
42
- required: true;
43
- };
44
- };
45
- type __VLS_WithDefaults<P, D> = {
46
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
- default: D[K];
48
- }> : P[K];
49
- };
50
- type __VLS_Prettify<T> = {
51
- [K in keyof T]: T[K];
52
- } & {};
@@ -1,46 +1,27 @@
1
1
  import { StoryObj } from '@storybook/vue3';
2
-
3
2
  declare const meta: {
4
3
  title: string;
5
4
  component: {
6
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
7
- size: {
8
- type: import('vue').PropType<"small" | "medium" | "big">;
9
- default: string;
10
- };
11
- cursorStyle: {
12
- type: import('vue').PropType<"text" | "default" | "pointer">;
13
- default: string;
14
- };
15
- isVisible: {
16
- type: import('vue').PropType<boolean>;
17
- default: boolean;
18
- };
19
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
6
+ cursorStyle?: "default" | "text" | "pointer";
7
+ isVisible?: boolean;
8
+ size?: "small" | "medium" | "big";
9
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
20
10
  size: "small" | "medium" | "big";
21
11
  cursorStyle: "default" | "text" | "pointer";
22
12
  isVisible: boolean;
23
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
13
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
24
14
  P: {};
25
15
  B: {};
26
16
  D: {};
27
17
  C: {};
28
18
  M: {};
29
19
  Defaults: {};
30
- }, Readonly<import('vue').ExtractPropTypes<{
31
- size: {
32
- type: import('vue').PropType<"small" | "medium" | "big">;
33
- default: string;
34
- };
35
- cursorStyle: {
36
- type: import('vue').PropType<"text" | "default" | "pointer">;
37
- default: string;
38
- };
39
- isVisible: {
40
- type: import('vue').PropType<boolean>;
41
- default: boolean;
42
- };
43
- }>> & Readonly<{}>, {}, {}, {}, {}, {
20
+ }, Readonly<{
21
+ cursorStyle?: "default" | "text" | "pointer";
22
+ isVisible?: boolean;
23
+ size?: "small" | "medium" | "big";
24
+ }> & Readonly<{}>, {}, {}, {}, {}, {
44
25
  size: "small" | "medium" | "big";
45
26
  cursorStyle: "default" | "text" | "pointer";
46
27
  isVisible: boolean;
@@ -48,20 +29,11 @@ declare const meta: {
48
29
  __isFragment?: never;
49
30
  __isTeleport?: never;
50
31
  __isSuspense?: never;
51
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
52
- size: {
53
- type: import('vue').PropType<"small" | "medium" | "big">;
54
- default: string;
55
- };
56
- cursorStyle: {
57
- type: import('vue').PropType<"text" | "default" | "pointer">;
58
- default: string;
59
- };
60
- isVisible: {
61
- type: import('vue').PropType<boolean>;
62
- default: boolean;
63
- };
64
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
32
+ } & import('vue').ComponentOptionsBase<Readonly<{
33
+ cursorStyle?: "default" | "text" | "pointer";
34
+ isVisible?: boolean;
35
+ size?: "small" | "medium" | "big";
36
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
65
37
  size: "small" | "medium" | "big";
66
38
  cursorStyle: "default" | "text" | "pointer";
67
39
  isVisible: boolean;
@@ -1,46 +1,24 @@
1
- declare function __VLS_template(): {
2
- default?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
5
2
  cursorStyle?: "default" | "text" | "pointer";
6
3
  isVisible?: boolean;
7
4
  size?: "small" | "medium" | "big";
8
- }>, {
9
- cursorStyle: string;
10
- isVisible: boolean;
11
- size: string;
12
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- cursorStyle?: "default" | "text" | "pointer";
14
- isVisible?: boolean;
15
- size?: "small" | "medium" | "big";
16
- }>, {
17
- cursorStyle: string;
18
- isVisible: boolean;
19
- size: string;
20
- }>>> & Readonly<{}>, {
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
16
  size: "small" | "medium" | "big";
22
17
  cursorStyle: "default" | "text" | "pointer";
23
18
  isVisible: boolean;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
21
  export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToRuntimeProps<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };
36
- type __VLS_WithDefaults<P, D> = {
37
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
- default: D[K];
39
- }> : P[K];
40
- };
41
- type __VLS_Prettify<T> = {
42
- [K in keyof T]: T[K];
43
- } & {};
44
22
  type __VLS_WithTemplateSlots<T, S> = T & {
45
23
  new (): {
46
24
  $slots: S;