@aures5g/vue-component-library 0.2.0 → 0.3.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.
- package/dist/components/tag/UITag.vue.d.ts +61 -0
- package/dist/components/tag/uiTag.const.d.ts +13 -0
- package/dist/components/tag/uiTag.theme.d.ts +14 -0
- package/dist/index.d.ts +3 -2
- package/dist/style.css +1 -1
- package/dist/vue-component-library.js +700 -528
- package/dist/vue-component-library.umd.cjs +16 -16
- package/package.json +5 -2
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type TagPassThroughOptions } from 'primevue/tag';
|
|
2
|
+
import type { PassThrough } from 'primevue/ts-helpers';
|
|
3
|
+
import { type PassThroughOptions } from 'primevue/passthrough';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
|
+
value?: string;
|
|
6
|
+
severity?: "success" | "info" | "warning" | "secondary" | "danger" | "contrast" | "primary";
|
|
7
|
+
pt?: PassThrough<TagPassThroughOptions>;
|
|
8
|
+
ptOptions?: PassThroughOptions;
|
|
9
|
+
size?: "sm" | "lg";
|
|
10
|
+
}>, {
|
|
11
|
+
value: string;
|
|
12
|
+
severity: "primary";
|
|
13
|
+
pt: any;
|
|
14
|
+
ptOptions: () => {
|
|
15
|
+
mergeSections: boolean;
|
|
16
|
+
mergeProps: boolean;
|
|
17
|
+
};
|
|
18
|
+
size: "sm";
|
|
19
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
20
|
+
value?: string;
|
|
21
|
+
severity?: "success" | "info" | "warning" | "secondary" | "danger" | "contrast" | "primary";
|
|
22
|
+
pt?: PassThrough<TagPassThroughOptions>;
|
|
23
|
+
ptOptions?: PassThroughOptions;
|
|
24
|
+
size?: "sm" | "lg";
|
|
25
|
+
}>, {
|
|
26
|
+
value: string;
|
|
27
|
+
severity: "primary";
|
|
28
|
+
pt: any;
|
|
29
|
+
ptOptions: () => {
|
|
30
|
+
mergeSections: boolean;
|
|
31
|
+
mergeProps: boolean;
|
|
32
|
+
};
|
|
33
|
+
size: "sm";
|
|
34
|
+
}>>>, {
|
|
35
|
+
value: string;
|
|
36
|
+
size: "sm" | "lg";
|
|
37
|
+
pt: any;
|
|
38
|
+
ptOptions: {
|
|
39
|
+
mergeSections: boolean;
|
|
40
|
+
mergeProps: boolean;
|
|
41
|
+
};
|
|
42
|
+
severity: "success" | "info" | "warning" | "secondary" | "danger" | "contrast" | "primary";
|
|
43
|
+
}, {}>;
|
|
44
|
+
export default _default;
|
|
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
|
+
} & {};
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToOption<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
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const TAG_SEVERITY: {
|
|
2
|
+
readonly PRIMARY: "primary";
|
|
3
|
+
readonly SECONDARY: "secondary";
|
|
4
|
+
readonly INFO: "info";
|
|
5
|
+
readonly CONTRAST: "contrast";
|
|
6
|
+
readonly SUCCESS: "success";
|
|
7
|
+
readonly WARNING: "warning";
|
|
8
|
+
readonly DANGER: "danger";
|
|
9
|
+
};
|
|
10
|
+
export declare const TAG_SIZE: {
|
|
11
|
+
readonly SMALL: "sm";
|
|
12
|
+
readonly LARGE: "lg";
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const BASE_TAG = "rounded-xs inline-flex shrink-0 items-center";
|
|
2
|
+
export declare const TAG_WITH_ICON = "pr-sm pl-xs";
|
|
3
|
+
export declare const TAG_WITHOUT_ICON = "px-sm";
|
|
4
|
+
export declare const TAG_SMALL = "h-[24px] label-medium";
|
|
5
|
+
export declare const TAG_LARGE = "h-[28px] label-large";
|
|
6
|
+
export declare const TAG_PRIMARY = "bg-primary text-on-primary";
|
|
7
|
+
export declare const TAG_SECONDARY = "border-secondary border-[1px] text-secondary";
|
|
8
|
+
export declare const TAG_SUCCESS = "bg-success text-on-success";
|
|
9
|
+
export declare const TAG_INFO = "bg-secondary-container text-on-secondary-container";
|
|
10
|
+
export declare const TAG_WARNING = "bg-warning text-on-warning";
|
|
11
|
+
export declare const TAG_DANGER = "bg-error text-on-error";
|
|
12
|
+
export declare const TAG_CONTRAST = "bg-inverse-surface text-inverse-on-surface";
|
|
13
|
+
export declare const TAG_VALUE_WITH_ICON = "ml-xs";
|
|
14
|
+
export declare const TAG_VALUE_WITHOUT_ICON = "";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import './assets/
|
|
1
|
+
import './assets/style.scss';
|
|
2
2
|
import HelloWorld from './components/HelloWorld/HelloWorld.vue';
|
|
3
3
|
import PrimeVue from './config/primevue';
|
|
4
4
|
import UIButton from './components/button/UIButton.vue';
|
|
5
5
|
import UIMenu from './components/menu/UIMenu.vue';
|
|
6
|
-
|
|
6
|
+
import UITag from './components/tag/UITag.vue';
|
|
7
|
+
export { HelloWorld, PrimeVue, UIButton, UIMenu, UITag };
|