edvoyui-component-library-test-flight 0.0.109 → 0.0.110
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/tabs/EUITabs.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
import "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/tabs/EUITabs.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Users/rajmohan/Documents/Workspace/edvoy-ui-v2/src/components/tabs/EUITabs.vue?vue&type=style&index=0&scoped=141184c6&lang.css";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUITabs.vue.d.ts.map
|
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
:id="`id-${tab.name}`"
|
|
12
12
|
type="button"
|
|
13
13
|
class="[&:not(:focus-visible)]:focus:outline-none relative w-full inline-flex items-center transition-colors duration-100"
|
|
14
|
+
:class="tab?.disabled?' cursor-not-allowed ':''"
|
|
14
15
|
role="tab"
|
|
15
16
|
tabindex="-1"
|
|
16
17
|
@click="selectTab(tabindex)"
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
<button
|
|
53
54
|
v-for="(tab, tabindex) in tabs"
|
|
54
55
|
:disabled="tab?.disabled"
|
|
56
|
+
|
|
55
57
|
:key="tabindex"
|
|
56
58
|
type="button"
|
|
57
59
|
role="tab"
|
|
@@ -64,6 +66,7 @@
|
|
|
64
66
|
activeTabIndex === tabindex
|
|
65
67
|
? 'border-gray-900 text-gray-900'
|
|
66
68
|
: 'border-transparent text-gray-500',
|
|
69
|
+
tab?.disabled?' cursor-not-allowed ':''
|
|
67
70
|
]"
|
|
68
71
|
@click="selectTab(tabindex)"
|
|
69
72
|
>
|
|
@@ -91,6 +94,7 @@
|
|
|
91
94
|
activeTabIndex === tabindex
|
|
92
95
|
? 'border-purple-800 text-purple-800 bg-white z-10 rounded-t-lg shadow-[0px_2px_4px_0px_rgba(55,65,81,0.1)]'
|
|
93
96
|
: 'border-transparent text-gray-500 z-0',
|
|
97
|
+
tab?.disabled?' cursor-not-allowed ':''
|
|
94
98
|
]"
|
|
95
99
|
@click="selectTab(tabindex)"
|
|
96
100
|
>
|
|
@@ -113,9 +117,9 @@
|
|
|
113
117
|
:id="`id-${tab.name}`"
|
|
114
118
|
class="px-4 py-1 text-sm font-semibold transition-colors duration-150 ease-in-out border rounded-full"
|
|
115
119
|
:class="
|
|
116
|
-
|
|
120
|
+
[ activeTabIndex === tabindex
|
|
117
121
|
? 'shadow-lg shadow-gray-100 bg-white border-gray-200 focus-within:border-purple-600 text-gray-900'
|
|
118
|
-
: 'border-white hover:bg-gray-50 text-gray-700'
|
|
122
|
+
: 'border-white hover:bg-gray-50 text-gray-700',tab?.disabled?' cursor-not-allowed ':'']
|
|
119
123
|
"
|
|
120
124
|
@click="selectTab(tabindex)"
|
|
121
125
|
>
|