@fxlt/common-ui 0.0.1 → 0.0.3-rc1
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 +2 -62
- package/components.css +18 -3
- package/dialogs.css +45 -91
- package/fesm2022/fxlt-common-ui.mjs +378 -94
- package/fesm2022/fxlt-common-ui.mjs.map +1 -1
- package/index.d.ts +105 -34
- package/package.json +4 -2
- package/src/lib/styles/components.css +18 -3
- package/src/lib/styles/dialogs.css +45 -91
- package/src/lib/ui/components/button/button.component.html +1 -1
- package/src/lib/ui/components/checkbox/checkbox.component.html +6 -7
- package/src/lib/ui/components/input/input.component.html +2 -0
- package/src/lib/ui/components/rich-text-area/rich-text-area.component.html +3 -0
- package/src/lib/ui/components/select/select.component.css +22 -0
- package/src/lib/ui/components/select/select.component.html +14 -1
- package/src/lib/ui/components/skeleton-table-loading/skeleton-table-loading.component.html +21 -0
- package/src/lib/ui/components/switch/switch.component.html +1 -1
- package/src/lib/ui/components/toast/toast.component.html +1 -1
- package/src/lib/ui/dialogs/confirmation/confirmation.component.html +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div
|
|
2
|
-
class="relative
|
|
2
|
+
class="relative flex items-center w-10 h-5 rounded-full transition-colors duration-300 cursor-pointer"
|
|
3
3
|
[ngClass]="{
|
|
4
4
|
'bg-success': value && !disabled,
|
|
5
5
|
'bg-button-default': !value && !disabled,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div
|
|
2
2
|
animate.enter="horizontal-fade-in-animation"
|
|
3
3
|
animate.leave="horizontal-fade-out-animation"
|
|
4
|
-
class="flex border-l-[3px] items-center bg-bg-primary gap-semi min-w-[250px] max-w-[
|
|
4
|
+
class="flex border-l-[3px] items-center bg-bg-primary gap-semi min-w-[250px] max-w-[400px] px-large py-semi rounded shadow-lg transition-all duration-300 ease-in-out transform opacity-100 translate-y-0"
|
|
5
5
|
[ngClass]="{
|
|
6
6
|
'border-success': type === 'success',
|
|
7
7
|
'border-critical': type === 'error',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<div animate.enter="fade-in-animation">
|
|
2
|
-
<div class="txt-
|
|
1
|
+
<div animate.enter="fade-in-animation" class="dialog-container">
|
|
2
|
+
<div class="txt-dialog-header">{{ title }}</div>
|
|
3
3
|
<mat-dialog-content>
|
|
4
|
-
<div class="txt-default">{{message}}</div>
|
|
4
|
+
<div class="txt-default">{{ message }}</div>
|
|
5
5
|
</mat-dialog-content>
|
|
6
6
|
<mat-dialog-actions align="end">
|
|
7
7
|
<fx-ui-button class="mr-1" [label]="cancelLabel" (clicked)="cancel()"></fx-ui-button>
|
|
8
|
-
<fx-ui-button buttonVariant="primary" class="mr-1" [label]="confirmLabel" (clicked)="accept()"></fx-ui-button>
|
|
8
|
+
<fx-ui-button buttonVariant="primary" class="mr-1" [label]="confirmLabel" (clicked)="accept()" [loading]="loading" class="min-w-[100px]"></fx-ui-button>
|
|
9
9
|
</mat-dialog-actions>
|
|
10
10
|
</div>
|