@stubber/ui 1.0.14 → 1.0.15
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.
|
@@ -33,7 +33,12 @@ export let hasOverlay = true;
|
|
|
33
33
|
<SheetPrimitive.Close
|
|
34
34
|
class="ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none"
|
|
35
35
|
>
|
|
36
|
-
|
|
36
|
+
<!-- rather than introduce a new param, just doing this if for now. may want to expose a slot later on -->
|
|
37
|
+
{#if side != "left"}
|
|
38
|
+
<i class="fa-regular fa-xmark h-4 w-4" />
|
|
39
|
+
{:else}
|
|
40
|
+
<i class="fa-kit fa-editor-tab-minimize text-xl"></i>
|
|
41
|
+
{/if}
|
|
37
42
|
<span class="sr-only">Close</span>
|
|
38
43
|
</SheetPrimitive.Close>
|
|
39
44
|
</SheetPrimitive.Content>
|