@stubber/ui 1.0.15 → 1.0.16
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.
|
@@ -30,16 +30,13 @@ export let hasOverlay = true;
|
|
|
30
30
|
{...$$restProps}
|
|
31
31
|
>
|
|
32
32
|
<slot />
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{#if side != "left"}
|
|
33
|
+
<slot name="close">
|
|
34
|
+
<SheetPrimitive.Close
|
|
35
|
+
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"
|
|
36
|
+
>
|
|
38
37
|
<i class="fa-regular fa-xmark h-4 w-4" />
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
<span class="sr-only">Close</span>
|
|
43
|
-
</SheetPrimitive.Close>
|
|
38
|
+
<span class="sr-only">Close</span>
|
|
39
|
+
</SheetPrimitive.Close>
|
|
40
|
+
</slot>
|
|
44
41
|
</SheetPrimitive.Content>
|
|
45
42
|
</SheetPortal>
|