wally-ui 1.0.10 → 1.0.12
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wally-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "About Where’s Wally? Right here — bringing you ready-to-use Angular components with Wally-UI. Stop searching, start building.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"wally": "dist/cli.js"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"bugs": {
|
|
46
46
|
"url": "https://github.com/WalissonCF/wally-ui/issues"
|
|
47
47
|
},
|
|
48
|
-
"homepage": "https://github.
|
|
48
|
+
"homepage": "https://walissoncf.github.io/wally-ui/",
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/fs-extra": "^11.0.4",
|
|
51
51
|
"@types/node": "^24.5.1",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<button [type]="buttonType()" [disabled]="buttonDisabled() || buttonLoading()" class="
|
|
2
2
|
group
|
|
3
|
+
relative
|
|
3
4
|
w-full
|
|
4
5
|
flex items-center justify-center
|
|
5
6
|
bg-[#0a0a0a] hover:bg-[#0a0a0a]/85
|
|
@@ -14,6 +15,15 @@
|
|
|
14
15
|
cursor-pointer
|
|
15
16
|
">
|
|
16
17
|
|
|
18
|
+
@if (buttonNotification()) {
|
|
19
|
+
<span class="absolute top-0 right-0 -mt-1 -mr-1 flex size-3">
|
|
20
|
+
<span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-sky-400 opacity-75">
|
|
21
|
+
</span>
|
|
22
|
+
<span class="relative inline-flex size-3 rounded-full bg-sky-500">
|
|
23
|
+
</span>
|
|
24
|
+
</span>
|
|
25
|
+
}
|
|
26
|
+
|
|
17
27
|
@if (buttonLoading()) {
|
|
18
28
|
<svg class="mr-3 -ml-1 size-4 animate-spin dark:text-[#0a0a0a]" xmlns="http://www.w3.org/2000/svg" fill="none"
|
|
19
29
|
viewBox="0 0 24 24">
|
|
@@ -10,8 +10,9 @@ import { CommonModule } from '@angular/common';
|
|
|
10
10
|
templateUrl: './button.html',
|
|
11
11
|
})
|
|
12
12
|
export class Button {
|
|
13
|
-
buttonText: InputSignal<string> = input<string>('
|
|
13
|
+
buttonText: InputSignal<string> = input<string>('Wally Button');
|
|
14
14
|
buttonType: InputSignal<string> = input<string>('button');
|
|
15
15
|
buttonDisabled: InputSignal<boolean> = input<boolean>(false);
|
|
16
16
|
buttonLoading: InputSignal<boolean> = input<boolean>(false);
|
|
17
|
+
buttonNotification: InputSignal<boolean> = input<boolean>(false);
|
|
17
18
|
}
|
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
<
|
|
2
|
-
<div class="p-4">
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<div class="h-dvh antialiased font-mono">
|
|
2
|
+
<div class="w-full h-full flex flex-col items-center justify-center p-4">
|
|
3
|
+
<div class="max-w-md">
|
|
4
|
+
<h1 class="text-2xl font-bold text-[#0a0a0a] dark:text-white">
|
|
5
|
+
Wally UI
|
|
6
|
+
</h1>
|
|
7
|
+
<h2 class="text-xl font-semibold text-[#0a0a0a] dark:text-white">
|
|
8
|
+
Where's Wally? Right here!
|
|
9
|
+
</h2>
|
|
10
|
+
<p class="mt-4 text-gray-700 dark:text-gray-400">
|
|
11
|
+
Stop searching for the perfect Angular components. Wally UI brings you a
|
|
12
|
+
collection of ready-to-use, beautifully crafted components that integrate
|
|
13
|
+
seamlessly with your projects.
|
|
14
|
+
</p>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div class="w-full max-w-md">
|
|
18
|
+
<code
|
|
19
|
+
class="w-full mt-6 block bg-gray-200 dark:bg-[#121212] dark:text-white text-[#0a0a0a] p-4 rounded-md text-sm cursor-pointer hover:opacity-85 transition-colorsselect-all"
|
|
20
|
+
onclick="navigator.clipboard.writeText('npx wally-ui add button')">
|
|
21
|
+
<pre class="m-0">$ npx wally-ui add button</pre>
|
|
22
|
+
</code>
|
|
23
|
+
</div>
|
|
24
|
+
<wally-button></wally-button>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
</div>
|