@dpa-id-components/dpa-shared-components 22.0.0-next.5 → 22.0.0-next.6

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 (41) hide show
  1. package/dist/components/UiBadge/UiBadge.vue.d.ts +1 -1
  2. package/dist/components/UiInput/UiInput.vue.d.ts +35 -32
  3. package/dist/components/UiListItem/UiListItem.vue.d.ts +0 -1
  4. package/dist/components/UiMenu/UiMenu.vue.d.ts +0 -2
  5. package/dist/dpa-shared-components.js +1075 -1062
  6. package/dist/src/components/UiBadge/UiBadge.stories.ts +1 -1
  7. package/dist/src/components/UiBadge/UiBadge.vue +3 -8
  8. package/dist/src/components/UiCheckbox/README.md +9 -9
  9. package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +2 -2
  10. package/dist/src/components/UiDatePicker/UiDatePicker.vue +20 -20
  11. package/dist/src/components/UiInput/README.md +28 -17
  12. package/dist/src/components/UiInput/UiInput.spec.ts +20 -0
  13. package/dist/src/components/UiInput/UiInput.stories.ts +15 -1
  14. package/dist/src/components/UiInput/UiInput.vue +7 -4
  15. package/dist/src/components/UiListItem/README.md +0 -1
  16. package/dist/src/components/UiListItem/UiListItem.vue +2 -5
  17. package/dist/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue +1 -1
  18. package/dist/src/components/UiMenu/README.md +0 -2
  19. package/dist/src/components/UiMenu/UiMenu.stories.ts +0 -3
  20. package/dist/src/components/UiMenu/UiMenu.vue +3 -8
  21. package/dist/src/components/UiPopover/UiPopover.stories.ts +1 -1
  22. package/dist/src/components/UiPopover/UiPopover.vue +1 -1
  23. package/dist/src/components/UiSelect/UiSelect.vue +14 -2
  24. package/dist/src/components/UiSpinner/UiSpinner.spec.ts +1 -1
  25. package/dist/src/components/UiSpinner/UiSpinner.stories.ts +1 -1
  26. package/dist/src/components/UiSpinner/UiSpinner.vue +31 -32
  27. package/dist/style.css +1 -1
  28. package/package.json +15 -8
  29. package/src/components/UiBadge/UiBadge.vue +3 -8
  30. package/src/components/UiCheckbox/README.md +9 -9
  31. package/src/components/UiDatePicker/UiDatePicker.vue +20 -20
  32. package/src/components/UiInput/README.md +28 -17
  33. package/src/components/UiInput/UiInput.vue +7 -4
  34. package/src/components/UiListItem/README.md +0 -1
  35. package/src/components/UiListItem/UiListItem.vue +2 -5
  36. package/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue +1 -1
  37. package/src/components/UiMenu/README.md +0 -2
  38. package/src/components/UiMenu/UiMenu.vue +3 -8
  39. package/src/components/UiPopover/UiPopover.vue +1 -1
  40. package/src/components/UiSelect/UiSelect.vue +14 -2
  41. package/src/components/UiSpinner/UiSpinner.vue +31 -32
@@ -1,6 +1,6 @@
1
1
  import { UiIconName } from '../UiIcon/UiIcon.vue';
2
2
  type __VLS_Props = {
3
- appearance?: "accent-red" | "accent-red-dark" | "accent-orange" | "accent-purple" | "accent-green" | "primary" | "neutral-primary" | "neutral-emphasis" | "neutral-medium" | "neutral-faint";
3
+ appearance?: "accent-red" | "accent-orange" | "accent-purple" | "accent-green" | "primary" | "neutral-primary" | "neutral-medium" | "neutral-faint";
4
4
  iconName?: UiIconName;
5
5
  };
6
6
  declare var __VLS_6: {};
@@ -1,35 +1,38 @@
1
- type __VLS_Slots = {
2
- /**
3
- * Label content.
4
- */
5
- default?: () => any;
6
- /**
7
- * Extra content.
8
- */
9
- extra?: () => any;
10
- buttons?: () => any;
11
- };
12
- type __VLS_Props = {
13
- id?: string;
14
- type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url" | (string & {});
15
- label?: string;
16
- isTextarea?: boolean;
17
- inputStatus?: "info" | "warning" | "error";
18
- };
19
- type __VLS_ModelProps = {
20
- modelValue?: string;
1
+ declare const __VLS_export: <ModelValue extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<({
3
+ id?: string;
4
+ type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url" | (string & {});
5
+ label?: string;
6
+ isTextarea?: boolean;
7
+ inputStatus?: "info" | "warning" | "error";
8
+ } & {
9
+ modelValue?: ModelValue;
10
+ }) & {
11
+ "onUpdate:modelValue"?: ((value: ModelValue | undefined) => any) | undefined;
12
+ }> & (typeof globalThis extends {
13
+ __VLS_PROPS_FALLBACK: infer P;
14
+ } ? P : {});
15
+ expose: (exposed: {}) => void;
16
+ attrs: any;
17
+ slots: {
18
+ /**
19
+ * Label content.
20
+ */
21
+ default?: () => any;
22
+ /**
23
+ * Extra content.
24
+ */
25
+ extra?: () => any;
26
+ buttons?: () => any;
27
+ };
28
+ emit: (event: "update:modelValue", value: ModelValue | undefined) => void;
29
+ }>) => import('vue').VNode & {
30
+ __ctx?: Awaited<typeof __VLS_setup>;
21
31
  };
22
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
23
- declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
- "update:modelValue": (value: string | undefined) => any;
25
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
27
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
32
  declare const _default: typeof __VLS_export;
30
33
  export default _default;
31
- type __VLS_WithSlots<T, S> = T & {
32
- new (): {
33
- $slots: S;
34
- };
35
- };
34
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
35
+ [K in keyof T]: T[K];
36
+ } : {
37
+ [K in keyof T as K]: T[K];
38
+ }) & {};
@@ -10,7 +10,6 @@ type __VLS_Props = {
10
10
  imageShape?: "rounded" | "square";
11
11
  iconSize?: "sm" | "md" | "lg";
12
12
  checkboxAppearance?: "primary" | "secondary";
13
- checkboxSize?: "sm" | "md";
14
13
  isChecked?: boolean;
15
14
  disabled?: boolean;
16
15
  };
@@ -38,7 +38,6 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
38
38
  resetLabel?: string;
39
39
  iconSize?: "sm" | "md" | "lg";
40
40
  imageShape?: "rounded" | "square";
41
- checkboxSize?: "sm" | "md";
42
41
  checkboxAppearance?: "primary" | "secondary";
43
42
  listVariant?: "checkbox" | "selectable" | "blank";
44
43
  } & {
@@ -57,7 +56,6 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
57
56
  slots: {
58
57
  default?: (props: {
59
58
  checkboxAppearance: "primary" | "secondary";
60
- checkboxSize: "sm" | "md";
61
59
  iconSize: "sm" | "md" | "lg";
62
60
  imageShape: "square" | "rounded";
63
61
  listVariant: "checkbox" | "selectable" | "blank";