@antify/ui 2.2.10 → 2.2.12
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.
|
@@ -18,9 +18,13 @@ const props = withDefaults(defineProps<{
|
|
|
18
18
|
tabItems?: TabItem[];
|
|
19
19
|
expanded?: boolean;
|
|
20
20
|
skeleton?: boolean;
|
|
21
|
+
leftBorder?: boolean;
|
|
22
|
+
rightBorder?: boolean;
|
|
21
23
|
}>(), {
|
|
22
24
|
expanded: false,
|
|
23
25
|
skeleton: false,
|
|
26
|
+
leftBorder: false,
|
|
27
|
+
rightBorder: false,
|
|
24
28
|
});
|
|
25
29
|
|
|
26
30
|
const currentActive = useVModel(props, 'modelValue', emits);
|
|
@@ -30,6 +34,8 @@ const containerClasses = computed(() => ({
|
|
|
30
34
|
|
|
31
35
|
const scrollContainerClasses = computed(() => ({
|
|
32
36
|
'w-full': props.expanded,
|
|
37
|
+
'border-l': props.leftBorder,
|
|
38
|
+
'border-r': props.rightBorder,
|
|
33
39
|
}));
|
|
34
40
|
|
|
35
41
|
function clickTab(tabItem: TabItem) {
|
|
@@ -48,7 +54,7 @@ function clickTab(tabItem: TabItem) {
|
|
|
48
54
|
<template>
|
|
49
55
|
<div :class="containerClasses">
|
|
50
56
|
<div
|
|
51
|
-
class="flex gap-px bg-base-300 border-
|
|
57
|
+
class="flex gap-px bg-base-300 border-base-300 overflow-x-auto"
|
|
52
58
|
:class="scrollContainerClasses"
|
|
53
59
|
>
|
|
54
60
|
<slot>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antify/ui",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -38,63 +38,63 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"tailwindcss": "
|
|
41
|
+
"tailwindcss": "4.0.7",
|
|
42
42
|
"vue": "^3.4.29"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@floating-ui/vue": "^1.1.
|
|
46
|
-
"@fortawesome/free-regular-svg-icons": "^6.
|
|
47
|
-
"@fortawesome/free-solid-svg-icons": "^6.
|
|
48
|
-
"@fortawesome/vue-fontawesome": "^3.0.
|
|
49
|
-
"@
|
|
50
|
-
"@tiptap/extension-
|
|
51
|
-
"@tiptap/
|
|
52
|
-
"@tiptap/
|
|
53
|
-
"@tiptap/
|
|
54
|
-
"@tiptap/vue-3": "^2.1.16",
|
|
45
|
+
"@floating-ui/vue": "^1.1.6",
|
|
46
|
+
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
|
47
|
+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
48
|
+
"@fortawesome/vue-fontawesome": "^3.0.8",
|
|
49
|
+
"@tiptap/extension-heading": "^2.11.5",
|
|
50
|
+
"@tiptap/extension-underline": "^2.11.5",
|
|
51
|
+
"@tiptap/pm": "^2.11.5",
|
|
52
|
+
"@tiptap/starter-kit": "^2.11.5",
|
|
53
|
+
"@tiptap/vue-3": "^2.11.5",
|
|
55
54
|
"@vuepic/vue-datepicker": "^6.1.0",
|
|
56
|
-
"@vueuse/components": "^10.
|
|
57
|
-
"@vueuse/core": "^10.
|
|
58
|
-
"@vueuse/router": "^10.
|
|
55
|
+
"@vueuse/components": "^10.11.1",
|
|
56
|
+
"@vueuse/core": "^10.11.1",
|
|
57
|
+
"@vueuse/router": "^10.11.1",
|
|
59
58
|
"big.js": "^6.2.2"
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|
|
62
61
|
"@antify/validate": "^1.14.0",
|
|
63
|
-
"@chromatic-com/storybook": "^3.2.
|
|
64
|
-
"@eslint/js": "^9.
|
|
62
|
+
"@chromatic-com/storybook": "^3.2.5",
|
|
63
|
+
"@eslint/js": "^9.22.0",
|
|
65
64
|
"@faker-js/faker": "^8.4.1",
|
|
66
|
-
"@nuxt/eslint-plugin": "^1.
|
|
67
|
-
"@storybook/addon-essentials": "^8.
|
|
68
|
-
"@storybook/addon-interactions": "^8.
|
|
69
|
-
"@storybook/addon-links": "^8.
|
|
70
|
-
"@storybook/addon-onboarding": "^8.
|
|
71
|
-
"@storybook/blocks": "^8.
|
|
72
|
-
"@storybook/test": "^8.
|
|
73
|
-
"@storybook/vue3": "^8.
|
|
74
|
-
"@storybook/vue3-vite": "^8.
|
|
75
|
-
"@stylistic/eslint-plugin": "^3.0
|
|
65
|
+
"@nuxt/eslint-plugin": "^1.2.0",
|
|
66
|
+
"@storybook/addon-essentials": "^8.6.4",
|
|
67
|
+
"@storybook/addon-interactions": "^8.6.4",
|
|
68
|
+
"@storybook/addon-links": "^8.6.4",
|
|
69
|
+
"@storybook/addon-onboarding": "^8.6.4",
|
|
70
|
+
"@storybook/blocks": "^8.6.4",
|
|
71
|
+
"@storybook/test": "^8.6.4",
|
|
72
|
+
"@storybook/vue3": "^8.6.4",
|
|
73
|
+
"@storybook/vue3-vite": "^8.6.4",
|
|
74
|
+
"@stylistic/eslint-plugin": "^3.1.0",
|
|
75
|
+
"@tailwindcss/vite": "4.0.7",
|
|
76
76
|
"@tsconfig/node20": "^20.1.4",
|
|
77
77
|
"@types/big.js": "^6.2.2",
|
|
78
78
|
"@types/jsdom": "^21.1.7",
|
|
79
|
-
"@types/node": "^20.
|
|
80
|
-
"@vitejs/plugin-vue": "^5.
|
|
79
|
+
"@types/node": "^20.17.24",
|
|
80
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
81
81
|
"@vue/test-utils": "^2.4.6",
|
|
82
82
|
"@vue/tsconfig": "^0.5.1",
|
|
83
|
-
"chromatic": "^11.
|
|
84
|
-
"eslint-plugin-storybook": "^0.11.
|
|
85
|
-
"eslint-plugin-vue": "^9.
|
|
86
|
-
"globals": "^15.
|
|
87
|
-
"jsdom": "^24.1.
|
|
88
|
-
"npm-run-all2": "^6.2.
|
|
83
|
+
"chromatic": "^11.27.0",
|
|
84
|
+
"eslint-plugin-storybook": "^0.11.4",
|
|
85
|
+
"eslint-plugin-vue": "^9.33.0",
|
|
86
|
+
"globals": "^15.15.0",
|
|
87
|
+
"jsdom": "^24.1.3",
|
|
88
|
+
"npm-run-all2": "^6.2.6",
|
|
89
89
|
"standard-version": "^9.5.0",
|
|
90
|
-
"storybook": "^8.
|
|
90
|
+
"storybook": "^8.6.4",
|
|
91
91
|
"storybook-vue3-router": "^5.0.0",
|
|
92
|
-
"typescript": "~5.5.
|
|
93
|
-
"typescript-eslint": "^8.
|
|
92
|
+
"typescript": "~5.5.4",
|
|
93
|
+
"typescript-eslint": "^8.26.1",
|
|
94
94
|
"unbuild": "^2.0.0",
|
|
95
|
-
"vite": "^5.
|
|
96
|
-
"vitest": "^1.6.
|
|
97
|
-
"vue-tsc": "^2.
|
|
95
|
+
"vite": "^5.4.14",
|
|
96
|
+
"vitest": "^1.6.1",
|
|
97
|
+
"vue-tsc": "^2.2.8"
|
|
98
98
|
},
|
|
99
99
|
"scripts": {
|
|
100
100
|
"dev": "storybook dev -p 6006 --no-open",
|