@antify/ui 2.2.11 → 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,7 +38,7 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"tailwindcss": "4.0.
|
|
41
|
+
"tailwindcss": "4.0.7",
|
|
42
42
|
"vue": "^3.4.29"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
|
47
47
|
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
48
48
|
"@fortawesome/vue-fontawesome": "^3.0.8",
|
|
49
|
-
"@tailwindcss/vite": "4.0.13",
|
|
50
49
|
"@tiptap/extension-heading": "^2.11.5",
|
|
51
50
|
"@tiptap/extension-underline": "^2.11.5",
|
|
52
51
|
"@tiptap/pm": "^2.11.5",
|
|
@@ -73,6 +72,7 @@
|
|
|
73
72
|
"@storybook/vue3": "^8.6.4",
|
|
74
73
|
"@storybook/vue3-vite": "^8.6.4",
|
|
75
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",
|