@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,55 +1,30 @@
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" | "large" | "xl">;
9
- default: string;
10
- };
11
- fill: {
12
- type: import('vue').PropType<string>;
13
- default: string;
14
- };
15
- color: {
16
- type: import('vue').PropType<string>;
17
- default: string;
18
- };
19
- iconIsFilled: {
20
- type: import('vue').PropType<boolean>;
21
- default: boolean;
22
- };
23
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
6
+ color?: string;
7
+ fill?: string;
8
+ iconIsFilled?: boolean;
9
+ size?: "small" | "medium" | "large" | "xl";
10
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
24
11
  size: "small" | "medium" | "large" | "xl";
25
12
  fill: string;
26
13
  color: string;
27
14
  iconIsFilled: boolean;
28
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
15
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
29
16
  P: {};
30
17
  B: {};
31
18
  D: {};
32
19
  C: {};
33
20
  M: {};
34
21
  Defaults: {};
35
- }, Readonly<import('vue').ExtractPropTypes<{
36
- size: {
37
- type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
38
- default: string;
39
- };
40
- fill: {
41
- type: import('vue').PropType<string>;
42
- default: string;
43
- };
44
- color: {
45
- type: import('vue').PropType<string>;
46
- default: string;
47
- };
48
- iconIsFilled: {
49
- type: import('vue').PropType<boolean>;
50
- default: boolean;
51
- };
52
- }>> & Readonly<{}>, {}, {}, {}, {}, {
22
+ }, Readonly<{
23
+ color?: string;
24
+ fill?: string;
25
+ iconIsFilled?: boolean;
26
+ size?: "small" | "medium" | "large" | "xl";
27
+ }> & Readonly<{}>, {}, {}, {}, {}, {
53
28
  size: "small" | "medium" | "large" | "xl";
54
29
  fill: string;
55
30
  color: string;
@@ -58,24 +33,12 @@ declare const meta: {
58
33
  __isFragment?: never;
59
34
  __isTeleport?: never;
60
35
  __isSuspense?: never;
61
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
62
- size: {
63
- type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
64
- default: string;
65
- };
66
- fill: {
67
- type: import('vue').PropType<string>;
68
- default: string;
69
- };
70
- color: {
71
- type: import('vue').PropType<string>;
72
- default: string;
73
- };
74
- iconIsFilled: {
75
- type: import('vue').PropType<boolean>;
76
- default: boolean;
77
- };
78
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
36
+ } & import('vue').ComponentOptionsBase<Readonly<{
37
+ color?: string;
38
+ fill?: string;
39
+ iconIsFilled?: boolean;
40
+ size?: "small" | "medium" | "large" | "xl";
41
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
79
42
  size: "small" | "medium" | "large" | "xl";
80
43
  fill: string;
81
44
  color: string;
@@ -125,53 +88,29 @@ declare const meta: {
125
88
  };
126
89
  components: {
127
90
  UiFilterBadge: {
128
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
129
- size: {
130
- type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
131
- default: string;
132
- };
133
- fill: {
134
- type: import('vue').PropType<string>;
135
- default: string;
136
- };
137
- color: {
138
- type: import('vue').PropType<string>;
139
- default: string;
140
- };
141
- iconIsFilled: {
142
- type: import('vue').PropType<boolean>;
143
- default: boolean;
144
- };
145
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
91
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
92
+ color?: string;
93
+ fill?: string;
94
+ iconIsFilled?: boolean;
95
+ size?: "small" | "medium" | "large" | "xl";
96
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
146
97
  size: "small" | "medium" | "large" | "xl";
147
98
  fill: string;
148
99
  color: string;
149
100
  iconIsFilled: boolean;
150
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
101
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
151
102
  P: {};
152
103
  B: {};
153
104
  D: {};
154
105
  C: {};
155
106
  M: {};
156
107
  Defaults: {};
157
- }, Readonly<import('vue').ExtractPropTypes<{
158
- size: {
159
- type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
160
- default: string;
161
- };
162
- fill: {
163
- type: import('vue').PropType<string>;
164
- default: string;
165
- };
166
- color: {
167
- type: import('vue').PropType<string>;
168
- default: string;
169
- };
170
- iconIsFilled: {
171
- type: import('vue').PropType<boolean>;
172
- default: boolean;
173
- };
174
- }>> & Readonly<{}>, {}, {}, {}, {}, {
108
+ }, Readonly<{
109
+ color?: string;
110
+ fill?: string;
111
+ iconIsFilled?: boolean;
112
+ size?: "small" | "medium" | "large" | "xl";
113
+ }> & Readonly<{}>, {}, {}, {}, {}, {
175
114
  size: "small" | "medium" | "large" | "xl";
176
115
  fill: string;
177
116
  color: string;
@@ -180,24 +119,12 @@ declare const meta: {
180
119
  __isFragment?: never;
181
120
  __isTeleport?: never;
182
121
  __isSuspense?: never;
183
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
184
- size: {
185
- type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
186
- default: string;
187
- };
188
- fill: {
189
- type: import('vue').PropType<string>;
190
- default: string;
191
- };
192
- color: {
193
- type: import('vue').PropType<string>;
194
- default: string;
195
- };
196
- iconIsFilled: {
197
- type: import('vue').PropType<boolean>;
198
- default: boolean;
199
- };
200
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
122
+ } & import('vue').ComponentOptionsBase<Readonly<{
123
+ color?: string;
124
+ fill?: string;
125
+ iconIsFilled?: boolean;
126
+ size?: "small" | "medium" | "large" | "xl";
127
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
201
128
  size: "small" | "medium" | "large" | "xl";
202
129
  fill: string;
203
130
  color: string;
@@ -207,59 +134,23 @@ declare const meta: {
207
134
  default?(_: {}): any;
208
135
  };
209
136
  });
210
- UiIconButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
211
- size: {
212
- type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
213
- default: string;
214
- };
215
- disabled: {
216
- type: import('vue').PropType<boolean>;
217
- default: boolean;
218
- };
219
- title: {
220
- type: import('vue').PropType<string>;
221
- default: string;
222
- };
223
- iconName: {
224
- type: import('vue').PropType<string>;
225
- required: true;
226
- };
227
- backgroundColor: {
228
- type: import('vue').PropType<"none" | "blue" | "gray-hover">;
229
- default: string;
230
- };
231
- iconColor: {
232
- type: import('vue').PropType<"blue" | "gray" | "white">;
233
- default: string;
234
- };
235
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
236
- click: (payload: any) => void;
237
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
238
- size: {
239
- type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
240
- default: string;
241
- };
242
- disabled: {
243
- type: import('vue').PropType<boolean>;
244
- default: boolean;
245
- };
246
- title: {
247
- type: import('vue').PropType<string>;
248
- default: string;
249
- };
250
- iconName: {
251
- type: import('vue').PropType<string>;
252
- required: true;
253
- };
254
- backgroundColor: {
255
- type: import('vue').PropType<"none" | "blue" | "gray-hover">;
256
- default: string;
257
- };
258
- iconColor: {
259
- type: import('vue').PropType<"blue" | "gray" | "white">;
260
- default: string;
261
- };
262
- }>> & Readonly<{
137
+ UiIconButton: import('vue').DefineComponent<{
138
+ iconName: typeof import('../UiIcon/iconNames').iconNames[number];
139
+ title?: string;
140
+ disabled?: boolean;
141
+ backgroundColor?: "blue" | "none" | "gray-hover";
142
+ iconColor?: "blue" | "gray" | "white";
143
+ size?: "small" | "medium" | "large" | "xl";
144
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
145
+ click: (payload: any) => any;
146
+ }, string, import('vue').PublicProps, Readonly<{
147
+ iconName: typeof import('../UiIcon/iconNames').iconNames[number];
148
+ title?: string;
149
+ disabled?: boolean;
150
+ backgroundColor?: "blue" | "none" | "gray-hover";
151
+ iconColor?: "blue" | "gray" | "white";
152
+ size?: "small" | "medium" | "large" | "xl";
153
+ }> & Readonly<{
263
154
  onClick?: ((payload: any) => any) | undefined;
264
155
  }>, {
265
156
  size: "small" | "medium" | "large" | "xl";
@@ -267,7 +158,7 @@ declare const meta: {
267
158
  title: string;
268
159
  backgroundColor: "blue" | "none" | "gray-hover";
269
160
  iconColor: "blue" | "gray" | "white";
270
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
161
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
271
162
  };
272
163
  template: string;
273
164
  };
@@ -1,51 +1,26 @@
1
- declare function __VLS_template(): {
2
- default?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- color?: string;
6
- fill?: string;
7
- iconIsFilled?: boolean;
8
- size?: "small" | "medium" | "large" | "xl";
9
- }>, {
10
- color: string;
11
- fill: string;
12
- iconIsFilled: boolean;
13
- size: string;
14
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
15
2
  color?: string;
16
3
  fill?: string;
17
4
  iconIsFilled?: boolean;
18
5
  size?: "small" | "medium" | "large" | "xl";
19
- }>, {
20
- color: string;
21
- fill: string;
22
- iconIsFilled: boolean;
23
- size: string;
24
- }>>> & Readonly<{}>, {
6
+ };
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: HTMLDivElement;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
17
  size: "small" | "medium" | "large" | "xl";
26
18
  fill: string;
27
19
  color: string;
28
20
  iconIsFilled: boolean;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
23
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: import('vue').PropType<T[K]>;
38
- required: true;
39
- };
40
- };
41
- type __VLS_WithDefaults<P, D> = {
42
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
- default: D[K];
44
- }> : P[K];
45
- };
46
- type __VLS_Prettify<T> = {
47
- [K in keyof T]: T[K];
48
- } & {};
49
24
  type __VLS_WithTemplateSlots<T, S> = T & {
50
25
  new (): {
51
26
  $slots: S;