@dpa-id-components/dpa-shared-components 22.0.0-next.5 → 22.0.0-next.7
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.
- package/dist/components/UiBadge/UiBadge.vue.d.ts +1 -1
- package/dist/components/UiInput/UiInput.vue.d.ts +35 -32
- package/dist/components/UiListItem/UiListItem.vue.d.ts +0 -1
- package/dist/components/UiMenu/UiMenu.vue.d.ts +0 -2
- package/dist/dpa-shared-components.js +3189 -3171
- package/dist/src/components/UiBadge/UiBadge.stories.ts +1 -1
- package/dist/src/components/UiBadge/UiBadge.vue +3 -8
- package/dist/src/components/UiButton/UiButton.stories.ts +17 -0
- package/dist/src/components/UiCheckbox/README.md +9 -9
- package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +2 -2
- package/dist/src/components/UiDatePicker/UiDatePicker.vue +20 -20
- package/dist/src/components/UiIcon/UiIconLoading.vue +8 -1
- package/dist/src/components/UiInput/README.md +28 -17
- package/dist/src/components/UiInput/UiInput.spec.ts +20 -0
- package/dist/src/components/UiInput/UiInput.stories.ts +15 -1
- package/dist/src/components/UiInput/UiInput.vue +7 -4
- package/dist/src/components/UiListItem/README.md +0 -1
- package/dist/src/components/UiListItem/UiListItem.vue +2 -5
- package/dist/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue +1 -1
- package/dist/src/components/UiMenu/README.md +0 -2
- package/dist/src/components/UiMenu/UiMenu.stories.ts +0 -3
- package/dist/src/components/UiMenu/UiMenu.vue +4 -9
- package/dist/src/components/UiPopover/UiPopover.stories.ts +1 -1
- package/dist/src/components/UiPopover/UiPopover.vue +18 -15
- package/dist/src/components/UiSelect/UiSelect.vue +14 -2
- package/dist/src/components/UiSpinner/UiSpinner.spec.ts +1 -1
- package/dist/src/components/UiSpinner/UiSpinner.stories.ts +1 -1
- package/dist/src/components/UiSpinner/UiSpinner.vue +31 -32
- package/dist/style.css +1 -1
- package/package.json +15 -8
- package/src/components/UiBadge/UiBadge.vue +3 -8
- package/src/components/UiCheckbox/README.md +9 -9
- package/src/components/UiDatePicker/UiDatePicker.vue +20 -20
- package/src/components/UiIcon/UiIconLoading.vue +8 -1
- package/src/components/UiInput/README.md +28 -17
- package/src/components/UiInput/UiInput.vue +7 -4
- package/src/components/UiListItem/README.md +0 -1
- package/src/components/UiListItem/UiListItem.vue +2 -5
- package/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue +1 -1
- package/src/components/UiMenu/README.md +0 -2
- package/src/components/UiMenu/UiMenu.vue +4 -9
- package/src/components/UiPopover/UiPopover.vue +18 -15
- package/src/components/UiSelect/UiSelect.vue +14 -2
- 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-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
|
32
|
-
|
|
33
|
-
|
|
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
|
+
}) & {};
|
|
@@ -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";
|