From c097c73bec3040036c151d3907a20c4e57de18a8 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 29 Aug 2024 14:54:57 +0200 Subject: [PATCH] Add tabbedgroup again --- src/UI/Base/TabbedGroup.svelte | 197 +++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 src/UI/Base/TabbedGroup.svelte 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
+
+
+ + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + +
+ +
+ +