@tb-dev/vue-components 5.3.0 → 5.4.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/__base/button/index.d.ts +1 -1
- package/dist/components/__base/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/components/__base/pagination/PaginationItem.vue.d.ts +1 -1
- package/dist/components/__base/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/components/__base/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/components/__base/pagination/PaginationPrevious.vue.d.ts +1 -1
- package/dist/index.js +1 -0
- package/package.json +2 -2
|
@@ -2,6 +2,6 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
export { default as Button } from './Button.vue';
|
|
3
3
|
export declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
5
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
-
size: "default" | "sm" | "lg" | "icon" | null;
|
|
18
|
+
size: "default" | "xs" | "sm" | "lg" | "icon" | null;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -16,7 +16,7 @@ declare function __VLS_template(): {
|
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
-
size: "default" | "sm" | "lg" | "icon" | null;
|
|
19
|
+
size: "default" | "xs" | "sm" | "lg" | "icon" | null;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
22
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
-
size: "default" | "sm" | "lg" | "icon" | null;
|
|
18
|
+
size: "default" | "xs" | "sm" | "lg" | "icon" | null;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
-
size: "default" | "sm" | "lg" | "icon" | null;
|
|
18
|
+
size: "default" | "xs" | "sm" | "lg" | "icon" | null;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
-
size: "default" | "sm" | "lg" | "icon" | null;
|
|
18
|
+
size: "default" | "xs" | "sm" | "lg" | "icon" | null;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -271,6 +271,7 @@ const buttonVariants = cva(
|
|
|
271
271
|
},
|
|
272
272
|
size: {
|
|
273
273
|
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
274
|
+
xs: "h-6 rounded-md gap-1 px-1.5 has-[>svg]:px-1.5 text-xs",
|
|
274
275
|
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
275
276
|
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
276
277
|
icon: "size-9"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/vue-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"description": "Vue components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"tailwindcss": "^4.1.12",
|
|
48
48
|
"tslib": "^2.8.1",
|
|
49
49
|
"typescript": "~5.9.2",
|
|
50
|
-
"vite": "^7.1.
|
|
50
|
+
"vite": "^7.1.3",
|
|
51
51
|
"vite-plugin-dts": "^4.5.4",
|
|
52
52
|
"vue-tsc": "~3.0.5"
|
|
53
53
|
},
|