@tb-dev/vue-components 5.2.0 → 5.4.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/__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.css +15 -1
- package/dist/index.js +2 -0
- package/package.json +12 -12
|
@@ -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.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties {
|
|
3
3
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
4
4
|
*, :before, :after, ::backdrop {
|
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
--tw-animation-duration: initial;
|
|
8
8
|
--tw-animation-fill-mode: none;
|
|
9
9
|
--tw-animation-iteration-count: 1;
|
|
10
|
+
--tw-enter-blur: 0;
|
|
10
11
|
--tw-enter-opacity: 1;
|
|
11
12
|
--tw-enter-rotate: 0;
|
|
12
13
|
--tw-enter-scale: 1;
|
|
13
14
|
--tw-enter-translate-x: 0;
|
|
14
15
|
--tw-enter-translate-y: 0;
|
|
16
|
+
--tw-exit-blur: 0;
|
|
15
17
|
--tw-exit-opacity: 1;
|
|
16
18
|
--tw-exit-rotate: 0;
|
|
17
19
|
--tw-exit-scale: 1;
|
|
@@ -50,6 +52,12 @@
|
|
|
50
52
|
initial-value: 1;
|
|
51
53
|
}
|
|
52
54
|
|
|
55
|
+
@property --tw-enter-blur {
|
|
56
|
+
syntax: "*";
|
|
57
|
+
inherits: false;
|
|
58
|
+
initial-value: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
53
61
|
@property --tw-enter-opacity {
|
|
54
62
|
syntax: "*";
|
|
55
63
|
inherits: false;
|
|
@@ -80,6 +88,12 @@
|
|
|
80
88
|
initial-value: 0;
|
|
81
89
|
}
|
|
82
90
|
|
|
91
|
+
@property --tw-exit-blur {
|
|
92
|
+
syntax: "*";
|
|
93
|
+
inherits: false;
|
|
94
|
+
initial-value: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
83
97
|
@property --tw-exit-opacity {
|
|
84
98
|
syntax: "*";
|
|
85
99
|
inherits: false;
|
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 has-[>svg]:px-1.5",
|
|
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"
|
|
@@ -6623,6 +6624,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
6623
6624
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
6624
6625
|
__name: "Sonner",
|
|
6625
6626
|
props: {
|
|
6627
|
+
id: {},
|
|
6626
6628
|
invert: { type: Boolean },
|
|
6627
6629
|
theme: {},
|
|
6628
6630
|
position: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/vue-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Vue components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,30 +24,30 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@tanstack/vue-table": "^8.21.3",
|
|
27
|
-
"@tb-dev/utils": "^7.0.
|
|
28
|
-
"@tb-dev/vue": "^3.
|
|
29
|
-
"@vueuse/core": "^13.
|
|
27
|
+
"@tb-dev/utils": "^7.0.12",
|
|
28
|
+
"@tb-dev/vue": "^3.2.1",
|
|
29
|
+
"@vueuse/core": "^13.7.0",
|
|
30
30
|
"class-variance-authority": "^0.7.1",
|
|
31
31
|
"clsx": "^2.1.1",
|
|
32
|
-
"lucide-vue-next": "^0.
|
|
32
|
+
"lucide-vue-next": "^0.540.0",
|
|
33
33
|
"reka-ui": "^2.4.1",
|
|
34
34
|
"tailwind-merge": "^3.3.1",
|
|
35
|
-
"tw-animate-css": "^1.3.
|
|
35
|
+
"tw-animate-css": "^1.3.7",
|
|
36
36
|
"vaul-vue": "^0.4.1",
|
|
37
37
|
"vue": "^3.5.18",
|
|
38
38
|
"vue-router": "^4.5.1",
|
|
39
|
-
"vue-sonner": "^2.0.
|
|
39
|
+
"vue-sonner": "^2.0.8"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@tailwindcss/vite": "^4.1.
|
|
43
|
-
"@tb-dev/eslint-config": "^8.0.
|
|
44
|
-
"@types/node": "^24.
|
|
42
|
+
"@tailwindcss/vite": "^4.1.12",
|
|
43
|
+
"@tb-dev/eslint-config": "^8.0.6",
|
|
44
|
+
"@types/node": "^24.3.0",
|
|
45
45
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
46
46
|
"eslint": "^9.33.0",
|
|
47
|
-
"tailwindcss": "^4.1.
|
|
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
|
},
|