@r2digisolutions/components 0.21.23 → 0.21.24
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.
|
@@ -108,18 +108,24 @@
|
|
|
108
108
|
{:else if children}
|
|
109
109
|
{@render children()}
|
|
110
110
|
{:else if hasBody}
|
|
111
|
-
|
|
111
|
+
{#if secondary}
|
|
112
|
+
<div class="grid gap-4 lg:grid-cols-[minmax(0,1fr)_20rem] xl:grid-cols-[minmax(0,1fr)_22rem]">
|
|
113
|
+
<div class="min-w-0 space-y-4">
|
|
114
|
+
{#if primary}
|
|
115
|
+
{@render primary()}
|
|
116
|
+
{/if}
|
|
117
|
+
</div>
|
|
118
|
+
<aside class="min-w-0 space-y-4">
|
|
119
|
+
{@render secondary()}
|
|
120
|
+
</aside>
|
|
121
|
+
</div>
|
|
122
|
+
{:else}
|
|
112
123
|
<div class="min-w-0 space-y-4">
|
|
113
124
|
{#if primary}
|
|
114
125
|
{@render primary()}
|
|
115
126
|
{/if}
|
|
116
127
|
</div>
|
|
117
|
-
|
|
118
|
-
<aside class="min-w-0 space-y-4">
|
|
119
|
-
{@render secondary()}
|
|
120
|
-
</aside>
|
|
121
|
-
{/if}
|
|
122
|
-
</div>
|
|
128
|
+
{/if}
|
|
123
129
|
{#if footer}
|
|
124
130
|
<div class="space-y-4">
|
|
125
131
|
{@render footer()}
|