@makolabs/ripple 0.0.1-dev.6 → 0.0.1-dev.7
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.
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
<div>
|
|
78
78
|
<button type="button" class={navGroupClasses} onclick={toggle}>
|
|
79
79
|
{@render labelArea(labelClasses)}
|
|
80
|
-
|
|
80
|
+
{@render Icon(chevronIconClasses, 0.7)}
|
|
81
81
|
</button>
|
|
82
82
|
|
|
83
83
|
{#if isActive}
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
rounded-md bg-slate-800 text-left text-sm/6 text-gray-700"
|
|
90
90
|
onclick={toggle}
|
|
91
91
|
>
|
|
92
|
-
|
|
92
|
+
{@render Icon('size-4 shrink-0 -rotate-180 text-gray-600', 0.7)}
|
|
93
93
|
</button>
|
|
94
94
|
</div>
|
|
95
95
|
<ul class={navUlClasses}>
|
|
@@ -98,3 +98,19 @@
|
|
|
98
98
|
</div>
|
|
99
99
|
{/if}
|
|
100
100
|
</div>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
{#snippet Icon(className: string, size: number)}
|
|
104
|
+
<svg
|
|
105
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
106
|
+
width="{size}em"
|
|
107
|
+
height="{size}em"
|
|
108
|
+
viewBox="0 0 16 16"
|
|
109
|
+
class={className}
|
|
110
|
+
>
|
|
111
|
+
<path
|
|
112
|
+
fill="currentColor"
|
|
113
|
+
d="M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04"
|
|
114
|
+
/>
|
|
115
|
+
</svg>
|
|
116
|
+
{/snippet}
|