@profitliga/ui 1.1.1 → 1.1.2
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/ConfirmDialog/ConfirmDialog.types.d.ts +6 -2
- package/dist/components/Message/Message.vue.d.ts +1 -1
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +18 -0
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/ProgressBar/progress.stories.d.ts +6 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1727 -1648
- package/dist/ui.css +1 -1
- package/package.json +2 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.stories.d.ts +0 -9
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { Component } from 'vue';
|
|
1
|
+
import { Component, VNode } from 'vue';
|
|
2
2
|
import { IButtonProps } from '../Button/Button.types';
|
|
3
3
|
export interface ConfirmDialogButtonProps extends Omit<IButtonProps, 'icon' | 'iconOnly'> {
|
|
4
4
|
label?: string;
|
|
5
5
|
}
|
|
6
6
|
export interface ConfirmOptions {
|
|
7
7
|
title?: string;
|
|
8
|
+
variant?: 'danger' | 'success';
|
|
8
9
|
description?: string;
|
|
10
|
+
content?: VNode;
|
|
9
11
|
icon?: Component;
|
|
10
12
|
iconColor?: string;
|
|
11
13
|
acceptProps?: ConfirmDialogButtonProps;
|
|
12
|
-
rejectProps?: ConfirmDialogButtonProps
|
|
14
|
+
rejectProps?: ConfirmDialogButtonProps & {
|
|
15
|
+
enabled?: boolean;
|
|
16
|
+
};
|
|
13
17
|
accept?: () => void;
|
|
14
18
|
reject?: () => void;
|
|
15
19
|
}
|
|
@@ -35,7 +35,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
35
35
|
default: undefined;
|
|
36
36
|
};
|
|
37
37
|
}>> & Readonly<{}>, {
|
|
38
|
-
type: "error" | "
|
|
38
|
+
type: "error" | "success" | "warning" | "info";
|
|
39
39
|
title: string;
|
|
40
40
|
message: string;
|
|
41
41
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ProgressRootProps } from 'reka-ui';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface IProgressValue {
|
|
4
|
+
label: string;
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
}
|
|
7
|
+
interface IProgressRootProps extends ProgressRootProps {
|
|
8
|
+
value?: Record<number, IProgressValue>;
|
|
9
|
+
viewLabel?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: DefineComponent<IProgressRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: string[] | undefined) => any;
|
|
13
|
+
"update:max": (value: number) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<IProgressRootProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
|
|
16
|
+
"onUpdate:max"?: ((value: number) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { default as ProgressRoot } from './ProgressBar.vue';
|
|
3
|
+
declare const meta: Meta<typeof ProgressRoot>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ProgressRoot>;
|
|
6
|
+
export declare const Default: Story;
|