wally-ui 1.5.1 → 1.5.2
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.
package/package.json
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
<nav class="">
|
|
2
|
-
<
|
|
1
|
+
<nav class="transition duration-200 ease-in-out" aria-label="Breadcrumb">
|
|
2
|
+
<ol class="flex items-center flex-wrap gap-x-2 gap-y-1 text-sm text-neutral-500 dark:text-neutral-400 antialiased">
|
|
3
3
|
@for (item of items(); track item.label; let isLast = $last) {
|
|
4
4
|
@if (!isLast && item.url) {
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
<li class="flex items-center gap-2">
|
|
6
|
+
<a
|
|
7
|
+
[routerLink]="item.url"
|
|
8
|
+
class="hover:text-blue-500 transition-colors">
|
|
9
|
+
{{ item.label }}
|
|
10
|
+
</a>
|
|
11
|
+
<span class="text-neutral-500 dark:text-neutral-500" aria-hidden="true">/</span>
|
|
12
|
+
</li>
|
|
11
13
|
} @else {
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
<li>
|
|
15
|
+
<span class="text-[#0a0a0a] dark:text-white font-medium" [attr.aria-current]="isLast ? 'page' : null">
|
|
16
|
+
{{ item.label }}
|
|
17
|
+
</span>
|
|
18
|
+
</li>
|
|
15
19
|
}
|
|
16
20
|
}
|
|
17
|
-
</
|
|
21
|
+
</ol>
|
|
18
22
|
</nav>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@if (label()) {
|
|
2
|
-
<div class="py-2">
|
|
2
|
+
<div class="py-2 antialiased">
|
|
3
3
|
<label [for]="inputId" class="block text-sm font-medium text-[#0a0a0a] dark:text-white">
|
|
4
4
|
{{ label() }}
|
|
5
5
|
</label>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
focus:outline-none focus:ring-2 focus:ring-neutral-300
|
|
20
20
|
bg-gray-100
|
|
21
21
|
dark:bg-[#1b1b1b] dark:text-white dark:placeholder:text-neutral-500 dark:focus:ring-neutral-700
|
|
22
|
-
disabled:opacity-70 disabled:pointer-events-none disabled:cursor-not-allowed
|
|
22
|
+
disabled:opacity-70 disabled:pointer-events-none disabled:cursor-not-allowed antialiased
|
|
23
23
|
transition duration-200 ease-in-out
|
|
24
24
|
py-4 px-4" [ngClass]="{
|
|
25
25
|
'pe-12': type() === 'password',
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
@if (errorMessage()) {
|
|
66
66
|
<div class="py-1" [id]="inputId + '-error'">
|
|
67
|
-
<span class="text-sm text-red-500 font-medium">
|
|
67
|
+
<span class="text-sm text-red-500 font-medium antialiased">
|
|
68
68
|
{{ errorMessage() }}
|
|
69
69
|
</span>
|
|
70
70
|
</div>
|