edvoyui-component-library-test-flight 0.0.86 → 0.0.88
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=4fdb3faa&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
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<button
|
|
8
8
|
v-for="(tab, tabindex) in tabs"
|
|
9
9
|
:key="tabindex"
|
|
10
|
+
:id="`id-${tab.name}`"
|
|
10
11
|
type="button"
|
|
11
12
|
class="[&:not(:focus-visible)]:focus:outline-none relative w-full inline-flex items-center transition-colors duration-100"
|
|
12
13
|
role="tab"
|
|
@@ -48,9 +49,10 @@
|
|
|
48
49
|
v-for="(tab, tabindex) in tabs"
|
|
49
50
|
:key="tabindex"
|
|
50
51
|
role="tab"
|
|
52
|
+
:id="`id-${tab.name}`"
|
|
51
53
|
:class="['px-3 py-1 leading-5 transition-all duration-150 ease-in-out hover:text-gray-800',
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
tabSize === 'sm' ? 'text-sm font-semibold border-b-2' : 'text-base font-bold border-b-[3px]',
|
|
55
|
+
activeTabIndex === tabindex
|
|
54
56
|
? 'border-gray-900 text-gray-900'
|
|
55
57
|
: 'border-transparent text-gray-500']"
|
|
56
58
|
@click="selectTab(tabindex)"
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
v-for="(tab, tabindex) in tabs"
|
|
69
71
|
:key="tabindex"
|
|
70
72
|
role="tab"
|
|
73
|
+
:id="`id-${tab.name}`"
|
|
71
74
|
class="px-4 py-1 text-sm font-semibold transition-colors duration-150 ease-in-out border rounded-full"
|
|
72
75
|
:class="
|
|
73
76
|
activeTabIndex === tabindex
|
|
@@ -121,6 +124,7 @@ watch(
|
|
|
121
124
|
() => props.defaultActiveIndex,
|
|
122
125
|
(newIndex) => {
|
|
123
126
|
activeTabIndex.value = newIndex ?? 0;
|
|
127
|
+
|
|
124
128
|
}
|
|
125
129
|
);
|
|
126
130
|
</script>
|