diff --git a/src/UI/Base/TabbedGroup.svelte b/src/UI/Base/TabbedGroup.svelte new file mode 100644 index 000000000..1bef33d5d --- /dev/null +++ b/src/UI/Base/TabbedGroup.svelte @@ -0,0 +1,197 @@ + + +
+ { + if (e.detail >= 0) { + tab.setData(e.detail) + } + }} + > +
+ + {#if $$slots.title0} + twJoin("tab", selected && "primary", !$condition0 && "hidden")} + > +
+ Tab 0 +
+
+ {/if} + {#if $$slots.title1} + twJoin("tab", selected && "primary", !$condition1 && "hidden")} + > +
+ +
+
+ {/if} + {#if $$slots.title2} + twJoin("tab", selected && "primary", !$condition2 && "hidden")} + > +
+ +
+
+ {/if} + {#if $$slots.title3} + twJoin("tab", selected && "primary", !$condition3 && "hidden")} + > +
+ +
+
+ {/if} + {#if $$slots.title4} + twJoin("tab", selected && "primary", !$condition4 && "hidden")} + > +
+ +
+
+ {/if} + {#if $$slots.title5} + twJoin("tab", selected && "primary", !$condition5 && "hidden")} + > +
+ +
+
+ {/if} + {#if $$slots.title6} + twJoin("tab", selected && "primary", !$condition6 && "hidden")} + > +
+ +
+
+ {/if} +
+ +
+
+ + + +
Empty
+
+
+ + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + +
+ +
+ +