@aures5g/vue-component-library 0.41.0 → 0.43.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/src/components/button/uiButton.const.d.ts +2 -0
- package/dist/src/components/button/uiButton.theme.d.ts +4 -0
- package/dist/src/components/iconButton/UIIconButton.vue.d.ts +2 -1
- package/dist/src/components/iconButton/uiIconButton.const.d.ts +20 -0
- package/dist/src/components/iconButton/uiIconButton.theme.d.ts +9 -3
- package/dist/vue-component-library.cjs +30 -30
- package/dist/vue-component-library.css +1 -1
- package/dist/vue-component-library.js +1765 -1740
- package/package.json +1 -1
|
@@ -5,5 +5,7 @@ export declare const BUTTON_SEVERITY: {
|
|
|
5
5
|
readonly SUCCESS: "success";
|
|
6
6
|
readonly WARNING: "warning";
|
|
7
7
|
readonly DANGER: "danger";
|
|
8
|
+
readonly FILLED: "filled";
|
|
9
|
+
readonly TRANPARENT: "transparent";
|
|
8
10
|
};
|
|
9
11
|
export type ButtonSeverities = (typeof BUTTON_SEVERITY)[keyof typeof BUTTON_SEVERITY];
|
|
@@ -5,6 +5,8 @@ export declare const BUTTON_TEXT = "text-primary px-md hover:bg-primary/[0.08] h
|
|
|
5
5
|
export declare const BUTTON_SUCCESS = "bg-success text-on-success px-xl hover:shadow-1 h-[2.5rem]";
|
|
6
6
|
export declare const BUTTON_WARNING = "bg-warning text-on-warning px-xl hover:shadow-1 h-[2.5rem]";
|
|
7
7
|
export declare const BUTTON_DANGER = "bg-error text-on-error px-xl hover:shadow-1 h-[2.5rem]";
|
|
8
|
+
export declare const BUTTON_FILLED = "bg-on-primary px-xl hover:shadow-1 h-[2.5rem] hover:after:bg-on-surface-variant/[0.08]";
|
|
9
|
+
export declare const BUTTON_TRANSPARENT = "border border-on-primary/[0.16] text-on-primary px-xl hover:shadow-1 h-[2.5rem] hover:after:bg-on-primary/[0.08]";
|
|
8
10
|
export declare const ACTION_BUTTON = "flex-row-reverse w-full gap-sm pr-lg";
|
|
9
11
|
export declare const ACTION_BUTTON_LABEL = "grow truncate text-left";
|
|
10
12
|
export declare const BASE_LABEL = "title-small";
|
|
@@ -17,3 +19,5 @@ export declare const BUTTON_ICON_ONLY_LARGE = "h-[2.5rem] text-[1.25rem] !p-0 w-
|
|
|
17
19
|
export declare const BUTTON_ICON_ONLY_LABEL = "hidden";
|
|
18
20
|
export declare const DEFAULT_DISABLED = "px-xl h-[2.5rem] !bg-on-surface/[0.08] text-on-surface/[0.38]";
|
|
19
21
|
export declare const OUTLINED_DISABLED = "px-xl h-[2.5rem] border !border-on-surface/[0.12] !bg-transparent text-on-surface/[0.38]";
|
|
22
|
+
export declare const FILLED_DISABLED = "px-xl h-[2.5rem] bg-on-primary/[0.12] text-on-primary/[0.5] hover:after:hidden";
|
|
23
|
+
export declare const TRANSPARENT_DISABLED = "px-xl h-[2.5rem] border border-on-primary/[0.12] text-on-primary/[0.5] hover:after:hidden";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type ButtonPassThroughOptions } from 'primevue/button';
|
|
2
2
|
import { type PassThroughOptions } from 'primevue/passthrough';
|
|
3
3
|
import type { PassThrough } from '@primevue/core';
|
|
4
|
-
import { type IconButtonSeverities } from './uiIconButton.const';
|
|
4
|
+
import { type IconButtonSeverities, type ButtonSize } from './uiIconButton.const';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
severity?: IconButtonSeverities;
|
|
7
7
|
label?: string;
|
|
8
8
|
pt?: PassThrough<ButtonPassThroughOptions>;
|
|
9
9
|
ptOptions?: PassThroughOptions;
|
|
10
|
+
size: ButtonSize;
|
|
10
11
|
isDisabled?: boolean;
|
|
11
12
|
};
|
|
12
13
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
@@ -2,6 +2,26 @@ export declare const ICON_BUTTON_SEVERITY: {
|
|
|
2
2
|
readonly PRIMARY: "primary";
|
|
3
3
|
readonly SECONDARY: "secondary";
|
|
4
4
|
readonly OUTLINED: "outlined";
|
|
5
|
+
readonly STANDARD: "standard";
|
|
6
|
+
readonly FILLED: "filled";
|
|
7
|
+
readonly TRANSPARENT: "transparent";
|
|
5
8
|
readonly TEXT: "text";
|
|
6
9
|
};
|
|
7
10
|
export type IconButtonSeverities = (typeof ICON_BUTTON_SEVERITY)[keyof typeof ICON_BUTTON_SEVERITY];
|
|
11
|
+
export declare const BUTTON_SIZE: {
|
|
12
|
+
readonly LARGE: "large";
|
|
13
|
+
readonly MEDIUM: "medium";
|
|
14
|
+
readonly SMALL: "small";
|
|
15
|
+
};
|
|
16
|
+
export type ButtonSize = (typeof BUTTON_SIZE)[keyof typeof BUTTON_SIZE];
|
|
17
|
+
export declare const SIZE_MAP: {
|
|
18
|
+
readonly large: {
|
|
19
|
+
readonly class: "size-[2.5rem] text-[1.25rem]";
|
|
20
|
+
};
|
|
21
|
+
readonly medium: {
|
|
22
|
+
readonly class: "size-[2.5rem] text-[1rem]";
|
|
23
|
+
};
|
|
24
|
+
readonly small: {
|
|
25
|
+
readonly class: "size-[2rem] text-[1rem]";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
export declare const BASE_ICON_BUTTON = "rounded-full
|
|
1
|
+
export declare const BASE_ICON_BUTTON = "rounded-full flex justify-center items-center relative hover:after:rounded-full hover:after:size-full hover:after:absolute hover:after:left-0";
|
|
2
2
|
export declare const NO_LABEL = "hidden";
|
|
3
3
|
export declare const ICON_BUTTON_PRIMARY = "bg-primary text-on-primary hover:after:bg-on-primary/[0.08]";
|
|
4
4
|
export declare const ICON_BUTTON_SECONDARY = "bg-secondary-container text-on-secondary-container hover:after:bg-on-secondary-container/[0.08]";
|
|
5
5
|
export declare const ICON_BUTTON_OUTLINED = "border border-on-surface-variant text-on-surface-variant hover:after:bg-on-surface-variant/[0.08]";
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const ICON_BUTTON_STANDARD = "text-on-surface-variant hover:after:bg-on-surface-variant/[0.08]";
|
|
7
|
+
export declare const ICON_BUTTON_FILLED = "bg-on-primary hover:after:bg-on-surface-variant/[0.08]";
|
|
8
|
+
export declare const ICON_BUTTON_TRANSPARENT = "bg-transparent border border-on-primary/[0.16] text-on-primary";
|
|
9
|
+
export declare const ICON_BUTTON_TEXT = "text-on-primary";
|
|
7
10
|
export declare const DEFAULT_DISABLED = "bg-on-surface/[0.08] text-on-surface/[0.38] hover:after:hidden";
|
|
8
11
|
export declare const OUTLINED_DISABLED = "border border-on-surface/[0.12] bg-transparent text-on-surface/[0.38] hover:after:hidden";
|
|
9
|
-
export declare const
|
|
12
|
+
export declare const STANDARD_DISABLED = "bg-transparent text-on-surface/[0.38] hover:after:hidden";
|
|
13
|
+
export declare const FILLED_DISABLED = "bg-on-primary/[0.12] text-on-primary/[0.28] hover:after:hidden";
|
|
14
|
+
export declare const TRANSPARENT_DISABLED = "bg-transparent border border-on-primary/[0.08] text-on-primary/[0.5] hover:after:hidden";
|
|
15
|
+
export declare const TEXT_DISABLED = "text-on-primary/[0.5] hover:after:hidden";
|