@tresjs/leches 0.14.0-next.0 → 0.14.1
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/BooleanControl.vue.d.ts +6 -17
- package/dist/components/ButtonControl.vue.d.ts +4 -15
- package/dist/components/ColorControl.vue.d.ts +6 -17
- package/dist/components/ControlInput.vue.d.ts +6 -16
- package/dist/components/ControlLabel.vue.d.ts +7 -0
- package/dist/components/FPSGraph.vue.d.ts +4 -15
- package/dist/components/Folder.vue.d.ts +4 -15
- package/dist/components/NumberControl.vue.d.ts +6 -17
- package/dist/components/SelectControl.vue.d.ts +6 -17
- package/dist/components/SliderControl.vue.d.ts +6 -17
- package/dist/components/TextControl.vue.d.ts +6 -17
- package/dist/components/TresLeches.vue.d.ts +6 -14
- package/dist/components/VectorControl.vue.d.ts +6 -17
- package/dist/composables/useControls.d.ts +4 -4
- package/dist/composables/useDraggable/component.d.ts +3 -3
- package/dist/composables/useDraggable/index.d.ts +21 -6
- package/dist/index.d.ts +1 -1
- package/dist/tresleches.css +8 -0
- package/dist/tresleches.js +445 -424
- package/dist/tresleches.umd.cjs +3 -3
- package/dist/utils/index.d.ts +1 -1
- package/package.json +46 -41
- package/dist/style.css +0 -8
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
7
|
change: (...args: any[]) => void;
|
|
7
|
-
}, string, import(
|
|
8
|
-
label: string;
|
|
9
|
-
control: Control;
|
|
10
|
-
}>>> & {
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
label: string;
|
|
7
|
-
control: Control;
|
|
8
|
-
}>>>, {}, {}>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
5
|
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
7
|
+
export default _default;
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
7
|
change: (...args: any[]) => void;
|
|
7
|
-
}, string, import(
|
|
8
|
-
label: string;
|
|
9
|
-
control: Control;
|
|
10
|
-
}>>> & {
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
control: Control;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
6
|
change: (...args: any[]) => void;
|
|
6
|
-
}, string, import(
|
|
7
|
-
control: Control;
|
|
8
|
-
}>>> & {
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
8
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
10
|
-
}, {}, {}>;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
10
|
export default _default;
|
|
12
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
control: Control;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
7
|
+
export default _default;
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
label: string;
|
|
7
|
-
control: Control;
|
|
8
|
-
}>>>, {}, {}>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
5
|
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
controls: Control[];
|
|
4
4
|
label: string | number;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
controls: Control[];
|
|
7
|
-
label: string | number;
|
|
8
|
-
}>>>, {}, {}>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
5
|
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
7
|
change: (...args: any[]) => void;
|
|
7
|
-
}, string, import(
|
|
8
|
-
label: string;
|
|
9
|
-
control: Control;
|
|
10
|
-
}>>> & {
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
7
|
change: (...args: any[]) => void;
|
|
7
|
-
}, string, import(
|
|
8
|
-
label: string;
|
|
9
|
-
control: Control;
|
|
10
|
-
}>>> & {
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
7
|
change: (...args: any[]) => void;
|
|
7
|
-
}, string, import(
|
|
8
|
-
label: string;
|
|
9
|
-
control: Control;
|
|
10
|
-
}>>> & {
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
7
|
change: (...args: any[]) => void;
|
|
7
|
-
}, string, import(
|
|
8
|
-
label: string;
|
|
9
|
-
control: Control;
|
|
10
|
-
}>>> & {
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
uuid?: string
|
|
3
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
uuid?: string | undefined;
|
|
5
|
-
}>>>, {}, {}>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
uuid?: string;
|
|
15
3
|
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
|
+
handle: HTMLElement;
|
|
6
|
+
}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Control } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
label: string;
|
|
4
4
|
control: Control;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
7
|
change: (...args: any[]) => void;
|
|
7
|
-
}, string, import(
|
|
8
|
-
label: string;
|
|
9
|
-
control: Control;
|
|
10
|
-
}>>> & {
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ToRefs } from 'vue';
|
|
2
|
+
import { Control } from '../types';
|
|
3
3
|
export declare const CONTROLS_CONTEXT_KEY: unique symbol;
|
|
4
4
|
export declare function useControlsProvider(uuid?: string): {
|
|
5
5
|
[key: string]: Control;
|
|
@@ -10,8 +10,8 @@ export declare const useControls: (folderNameOrParams: string | {
|
|
|
10
10
|
}, paramsOrOptions?: {
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
} | {
|
|
13
|
-
uuid?: string
|
|
14
|
-
}
|
|
13
|
+
uuid?: string;
|
|
14
|
+
}, options?: {
|
|
15
15
|
uuid?: string;
|
|
16
16
|
}) => Control | ToRefs<{
|
|
17
17
|
[key: string]: Control;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { UseDraggableOptions } from '@vueuse/core';
|
|
2
|
+
import { RenderableComponent } from '.';
|
|
3
3
|
export interface UseDraggableProps extends UseDraggableOptions, RenderableComponent {
|
|
4
4
|
/**
|
|
5
5
|
* When provided, use `useStorage` to preserve element's position
|
|
@@ -12,4 +12,4 @@ export interface UseDraggableProps extends UseDraggableOptions, RenderableCompon
|
|
|
12
12
|
*/
|
|
13
13
|
storageType?: 'local' | 'session';
|
|
14
14
|
}
|
|
15
|
-
export declare const UseDraggable: import(
|
|
15
|
+
export declare const UseDraggable: import('vue').DefineComponent<UseDraggableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UseDraggableProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { MaybeRefOrGetter } from '@vueuse/shared';
|
|
2
2
|
export declare const defaultWindow: (Window & typeof globalThis) | undefined;
|
|
3
3
|
export interface Position {
|
|
4
4
|
x: number;
|
|
@@ -89,13 +89,28 @@ export interface UseDraggableOptions {
|
|
|
89
89
|
* @param options
|
|
90
90
|
*/
|
|
91
91
|
export declare function useDraggable(target: MaybeRefOrGetter<HTMLElement | SVGElement | null | undefined>, options?: UseDraggableOptions): {
|
|
92
|
-
position: import(
|
|
92
|
+
position: import('vue').Ref<{
|
|
93
|
+
x: number;
|
|
94
|
+
y: number;
|
|
95
|
+
}, Position | {
|
|
96
|
+
x: number;
|
|
97
|
+
y: number;
|
|
98
|
+
}>;
|
|
99
|
+
isDragging: import('vue').ComputedRef<boolean>;
|
|
100
|
+
style: import('vue').ComputedRef<string>;
|
|
101
|
+
x: import('vue').Ref<number, number>;
|
|
102
|
+
y: import('vue').Ref<number, number>;
|
|
103
|
+
} | {
|
|
104
|
+
position: import('vue').Ref<{
|
|
105
|
+
x: number;
|
|
106
|
+
y: number;
|
|
107
|
+
}, Position | {
|
|
93
108
|
x: number;
|
|
94
109
|
y: number;
|
|
95
110
|
}>;
|
|
96
|
-
isDragging: import(
|
|
97
|
-
style: import(
|
|
98
|
-
x: import(
|
|
99
|
-
y: import(
|
|
111
|
+
isDragging: import('vue').ComputedRef<boolean>;
|
|
112
|
+
style: import('vue').ComputedRef<string>;
|
|
113
|
+
x: import('vue').Ref<number, number>;
|
|
114
|
+
y: import('vue').Ref<number, number>;
|
|
100
115
|
};
|
|
101
116
|
export type UseDraggableReturn = ReturnType<typeof useDraggable>;
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* name: @tresjs/leches
|
|
3
|
+
* version: v0.14.1
|
|
4
|
+
* (c) 2025
|
|
5
|
+
* description: Tasty GUI for Vue controls 🍰
|
|
6
|
+
* author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
|
|
7
|
+
*/
|
|
8
|
+
*,:before,:after{--tl-rotate:0;--tl-rotate-x:0;--tl-rotate-y:0;--tl-rotate-z:0;--tl-scale-x:1;--tl-scale-y:1;--tl-scale-z:1;--tl-skew-x:0;--tl-skew-y:0;--tl-translate-x:0;--tl-translate-y:0;--tl-translate-z:0;--tl-pan-x: ;--tl-pan-y: ;--tl-pinch-zoom: ;--tl-scroll-snap-strictness:proximity;--tl-ordinal: ;--tl-slashed-zero: ;--tl-numeric-figure: ;--tl-numeric-spacing: ;--tl-numeric-fraction: ;--tl-border-spacing-x:0;--tl-border-spacing-y:0;--tl-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--tl-ring-shadow:0 0 rgb(0 0 0 / 0);--tl-shadow-inset: ;--tl-shadow:0 0 rgb(0 0 0 / 0);--tl-ring-inset: ;--tl-ring-offset-width:0px;--tl-ring-offset-color:#fff;--tl-ring-width:0px;--tl-ring-color:rgb(147 197 253 / .5);--tl-blur: ;--tl-brightness: ;--tl-contrast: ;--tl-drop-shadow: ;--tl-grayscale: ;--tl-hue-rotate: ;--tl-invert: ;--tl-saturate: ;--tl-sepia: ;--tl-backdrop-blur: ;--tl-backdrop-brightness: ;--tl-backdrop-contrast: ;--tl-backdrop-grayscale: ;--tl-backdrop-hue-rotate: ;--tl-backdrop-invert: ;--tl-backdrop-opacity: ;--tl-backdrop-saturate: ;--tl-backdrop-sepia: }::backdrop{--tl-rotate:0;--tl-rotate-x:0;--tl-rotate-y:0;--tl-rotate-z:0;--tl-scale-x:1;--tl-scale-y:1;--tl-scale-z:1;--tl-skew-x:0;--tl-skew-y:0;--tl-translate-x:0;--tl-translate-y:0;--tl-translate-z:0;--tl-pan-x: ;--tl-pan-y: ;--tl-pinch-zoom: ;--tl-scroll-snap-strictness:proximity;--tl-ordinal: ;--tl-slashed-zero: ;--tl-numeric-figure: ;--tl-numeric-spacing: ;--tl-numeric-fraction: ;--tl-border-spacing-x:0;--tl-border-spacing-y:0;--tl-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--tl-ring-shadow:0 0 rgb(0 0 0 / 0);--tl-shadow-inset: ;--tl-shadow:0 0 rgb(0 0 0 / 0);--tl-ring-inset: ;--tl-ring-offset-width:0px;--tl-ring-offset-color:#fff;--tl-ring-width:0px;--tl-ring-color:rgb(147 197 253 / .5);--tl-blur: ;--tl-brightness: ;--tl-contrast: ;--tl-drop-shadow: ;--tl-grayscale: ;--tl-hue-rotate: ;--tl-invert: ;--tl-saturate: ;--tl-sepia: ;--tl-backdrop-blur: ;--tl-backdrop-brightness: ;--tl-backdrop-contrast: ;--tl-backdrop-grayscale: ;--tl-backdrop-hue-rotate: ;--tl-backdrop-invert: ;--tl-backdrop-opacity: ;--tl-backdrop-saturate: ;--tl-backdrop-sepia: }@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/robotomono/v23/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SeW4AJi8SJQtQ4Y.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/robotomono/v23/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_QOW4AJi8SJQtQ4Y.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/robotomono/v23/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_R-W4AJi8SJQtQ4Y.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/robotomono/v23/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_S-W4AJi8SJQtQ4Y.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/robotomono/v23/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SuW4AJi8SJQtQ4Y.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/robotomono/v23/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4AJi8SJQt.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.i-ic-baseline-drag-indicator{--tl-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11 18c0 1.1-.9 2-2 2s-2-.9-2-2s.9-2 2-2s2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2'/%3E%3C/svg%3E");-webkit-mask:var(--tl-icon) no-repeat;mask:var(--tl-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-ic\:baseline-check{--tl-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z'/%3E%3C/svg%3E");-webkit-mask:var(--tl-icon) no-repeat;mask:var(--tl-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-ic\:baseline-keyboard-arrow-down{--tl-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6l-6-6z'/%3E%3C/svg%3E");-webkit-mask:var(--tl-icon) no-repeat;mask:var(--tl-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-ic\:baseline-keyboard-arrow-up{--tl-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z'/%3E%3C/svg%3E");-webkit-mask:var(--tl-icon) no-repeat;mask:var(--tl-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.tl-absolute{position:absolute}.tl-relative{position:relative}.tl-bottom-0\.5{bottom:.125rem}.tl-right-0\.5{right:.125rem}.tl-z-24{z-index:24}.-tl-mt-0\.5{margin-top:-.125rem}.tl-mb-2{margin-bottom:.5rem}.tl-mb-4{margin-bottom:1rem}.tl-mr-2{margin-right:.5rem}.tl-box-border{box-sizing:border-box}.tl-block{display:block}.tl-hidden{display:none}.tl-h-0\.75{height:.1875rem}.tl-h-30px{height:30px}.tl-h-4{height:1rem}.tl-min-h-32px{min-height:32px}.tl-w-1\/2{width:50%}.tl-w-1\/3{width:33.3333333333%}.tl-w-1\/4{width:25%}.tl-w-2\/3{width:66.6666666667%}.tl-w-2\/5{width:40%}.tl-w-280px{width:280px}.tl-w-3{width:.75rem}.tl-w-30px{width:30px}.tl-w-4{width:1rem}.tl-w-full{width:100%}.tl-flex{display:flex}.tl-inline-flex{display:inline-flex}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.tl-animate-fade-in{animation:fade-in 1s linear 1}.tl-animate-fade-out{animation:fade-out 1s linear 1}.tl-animate-duration-200{animation-duration:.2s}.tl-animate-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.tl-cursor-pointer{cursor:pointer}.tl-cursor-grabbing{cursor:grabbing}.tl-cursor-ew-resize{cursor:ew-resize}.tl-select-none{-webkit-user-select:none;user-select:none}.tl-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tl-items-center{align-items:center}.tl-justify-start{justify-content:flex-start}.tl-justify-center{justify-content:center}.tl-justify-between{justify-content:space-between}.tl-gap-0\.5{gap:.125rem}.tl-gap-1{gap:.25rem}.tl-gap-2{gap:.5rem}.tl-gap-4{gap:1rem}.tl-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tl-border{border-width:1px}.tl-border-2{border-width:2px}.tl-border-4{border-width:4px}.tl-border-black{--tl-border-opacity:1;border-color:rgb(0 0 0 / var(--tl-border-opacity))}.tl-border-gray-300{--tl-border-opacity:1;border-color:rgb(209 213 219 / var(--tl-border-opacity))}.focus\:tl-border-gray-200:focus{--tl-border-opacity:1;border-color:rgb(229 231 235 / var(--tl-border-opacity))}.tl-rounded{border-radius:.25rem}.tl-rounded-full{border-radius:9999px}.tl-rounded-md{border-radius:.375rem}.tl-rounded-sm{border-radius:.125rem}.tl-rounded-b{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.tl-border-none{border-style:none}.tl-border-solid{border-style:solid}.tl-bg-dark-200{--tl-bg-opacity:1;background-color:rgb(50 50 50 / var(--tl-bg-opacity))}.tl-bg-dark-500{--tl-bg-opacity:1;background-color:rgb(31 31 31 / var(--tl-bg-opacity))}.tl-bg-dark-600{--tl-bg-opacity:1;background-color:rgb(28 28 30 / var(--tl-bg-opacity))}.tl-bg-dark-700{--tl-bg-opacity:1;background-color:rgb(27 27 27 / var(--tl-bg-opacity))}.tl-bg-gray-100{--tl-bg-opacity:1;background-color:rgb(243 244 246 / var(--tl-bg-opacity))}.tl-bg-gray-200{--tl-bg-opacity:1;background-color:rgb(229 231 235 / var(--tl-bg-opacity))}.tl-bg-transparent{background-color:transparent}.tl-bg-white{--tl-bg-opacity:1;background-color:rgb(255 255 255 / var(--tl-bg-opacity))}.tl-p-0{padding:0}.tl-p-1{padding:.25rem}.tl-p-1\.5{padding:.375rem}.tl-p-2{padding:.5rem}.tl-p-4{padding:1rem}.tl-px-0{padding-left:0;padding-right:0}.tl-px-1{padding-left:.25rem;padding-right:.25rem}.tl-px-2\.5{padding-left:.625rem;padding-right:.625rem}.tl-px-3{padding-left:.75rem;padding-right:.75rem}.tl-px-4{padding-left:1rem;padding-right:1rem}.tl-py-1{padding-top:.25rem;padding-bottom:.25rem}.tl-py-2{padding-top:.5rem;padding-bottom:.5rem}.tl-pt-4{padding-top:1rem}.tl-text-left{text-align:left}.tl-text-right{text-align:right}.tl-text-0\.65rem{font-size:.65rem}.tl-text-base{font-size:1rem;line-height:1.5rem}.tl-text-sm{font-size:.875rem;line-height:1.25rem}.tl-text-xs{font-size:.75rem;line-height:1rem}.tl-text-gray-200{--tl-text-opacity:1;color:rgb(229 231 235 / var(--tl-text-opacity))}.tl-text-gray-300{--tl-text-opacity:1;color:rgb(209 213 219 / var(--tl-text-opacity))}.tl-text-gray-400{--tl-text-opacity:1;color:rgb(156 163 175 / var(--tl-text-opacity))}.tl-text-gray-500{--tl-text-opacity:1;color:rgb(107 114 128 / var(--tl-text-opacity))}.tl-text-gray-700{--tl-text-opacity:1;color:rgb(55 65 81 / var(--tl-text-opacity))}.tl-text-light{--tl-text-opacity:1;color:rgb(246 246 246 / var(--tl-text-opacity))}.tl-text-light-100{--tl-text-opacity:1;color:rgb(252 252 252 / var(--tl-text-opacity))}.tl-font-bold{font-weight:700}.tl-line-height-0{line-height:0}.tl-font-sans{font-family:Roboto Mono,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.tl-shadow-lg{--tl-shadow:var(--tl-shadow-inset) 0 10px 15px -3px var(--tl-shadow-color, rgb(0 0 0 / .1)),var(--tl-shadow-inset) 0 4px 6px -4px var(--tl-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tl-ring-offset-shadow),var(--tl-ring-shadow),var(--tl-shadow)}.tl-shadow-xl{--tl-shadow:var(--tl-shadow-inset) 0 20px 25px -5px var(--tl-shadow-color, rgb(0 0 0 / .1)),var(--tl-shadow-inset) 0 8px 10px -6px var(--tl-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tl-ring-offset-shadow),var(--tl-ring-shadow),var(--tl-shadow)}.important-tl-outline-gray-200{--tl-outline-color-opacity:1 !important;outline-color:rgb(229 231 235 / var(--tl-outline-color-opacity))!important}.tl-outline-none{outline:2px solid transparent;outline-offset:2px}.focus\:tl-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:tl-ring-2:focus{--tl-ring-width:2px;--tl-ring-offset-shadow:var(--tl-ring-inset) 0 0 0 var(--tl-ring-offset-width) var(--tl-ring-offset-color);--tl-ring-shadow:var(--tl-ring-inset) 0 0 0 calc(var(--tl-ring-width) + var(--tl-ring-offset-width)) var(--tl-ring-color);box-shadow:var(--tl-ring-offset-shadow),var(--tl-ring-shadow),var(--tl-shadow)}.focus\:tl-ring-blue-600:focus{--tl-ring-opacity:1;--tl-ring-color:rgb(37 99 235 / var(--tl-ring-opacity)) }.tl-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.tl-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.tl-duration-200{transition-duration:.2s}input[type=range][data-v-207d19a7]{outline:none;appearance:none;-webkit-appearance:none;-moz-appearance:none}input[type=range][data-v-207d19a7]::-webkit-slider-thumb{height:1rem;width:.75rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;border-radius:.125rem;--tl-bg-opacity:1;background-color:rgb(50 50 50 / var(--tl-bg-opacity));--tl-shadow:var(--tl-shadow-inset) 0 10px 15px -3px var(--tl-shadow-color, rgb(0 0 0 / .1)),var(--tl-shadow-inset) 0 4px 6px -4px var(--tl-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tl-ring-offset-shadow),var(--tl-ring-shadow),var(--tl-shadow)}input[type=range][data-v-207d19a7]::-moz-range-thumb{height:1rem;width:.75rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;border-radius:.125rem;--tl-bg-opacity:1;background-color:rgb(50 50 50 / var(--tl-bg-opacity));--tl-shadow:var(--tl-shadow-inset) 0 10px 15px -3px var(--tl-shadow-color, rgb(0 0 0 / .1)),var(--tl-shadow-inset) 0 4px 6px -4px var(--tl-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tl-ring-offset-shadow),var(--tl-ring-shadow),var(--tl-shadow)}input[type=color]{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.125rem;border-style:none;background-color:transparent;padding:0;outline:2px solid transparent;outline-offset:2px;cursor:pointer}input[type=color]::-webkit-color-swatch-wrapper{border-style:none;padding:0}input[type=color]::-webkit-color-swatch{margin-top:-.125rem;height:30px;width:30px;border-radius:.125rem;border-style:none;padding:0}.leches-btn[data-v-926dfadc]{display:flex;cursor:pointer;align-items:center;border-radius:.375rem;border-style:none;font-weight:700;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.leches-btn-sm[data-v-926dfadc]{padding:.5rem .625rem;font-size:.75rem;line-height:1rem}.leches-btn-md[data-v-926dfadc]{padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem}.leches-btn-lg[data-v-926dfadc]{padding:.5rem 1rem;font-size:1rem;line-height:1.5rem}.leches-btn-block[data-v-926dfadc]{width:100%;justify-content:center;padding:.5rem 1rem;font-size:1rem;line-height:1.5rem}.leches-btn-primary[data-v-926dfadc]{--tl-bg-opacity:1;background-color:rgb(243 244 246 / var(--tl-bg-opacity));--tl-text-opacity:1;color:rgb(55 65 81 / var(--tl-text-opacity))}.leches-btn-primary[data-v-926dfadc]:hover{--tl-bg-opacity:1;background-color:rgb(229 231 235 / var(--tl-bg-opacity))}.leches-btn-secondary[data-v-926dfadc]{--tl-bg-opacity:1;background-color:rgb(27 27 27 / var(--tl-bg-opacity));--tl-text-opacity:1;color:rgb(252 252 252 / var(--tl-text-opacity))}.leches-btn-secondary[data-v-926dfadc]:hover{--tl-bg-opacity:1;background-color:rgb(28 28 30 / var(--tl-bg-opacity))}
|