crdx-components 1.0.0 → 2.0.0

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.
Files changed (105) hide show
  1. package/fesm2022/crdx-components.mjs +1960 -0
  2. package/fesm2022/crdx-components.mjs.map +1 -0
  3. package/package.json +28 -23
  4. package/src/lib/styles/index.scss +1 -0
  5. package/src/lib/styles/overrides/_index.scss +2 -4
  6. package/src/lib/styles/overrides/_mat-button-overrides.scss +0 -11
  7. package/src/lib/styles/overrides/_mat-checkbox-overrides.scss +2 -2
  8. package/src/lib/styles/overrides/_mat-radio-overrides.scss +40 -0
  9. package/types/crdx-components.d.ts +811 -0
  10. package/types/crdx-components.d.ts.map +1 -0
  11. package/.github/workflows/publish.yml +0 -38
  12. package/bun.lock +0 -491
  13. package/crdx-components-1.0.0.tgz +0 -0
  14. package/crdx-components-tokenized-components-1.0.1.tgz +0 -0
  15. package/ng-package.json +0 -12
  16. package/npm +0 -0
  17. package/src/index.ts +0 -45
  18. package/src/lib/components/breadcrumb/breadcrumb.component.css +0 -206
  19. package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -15
  20. package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -47
  21. package/src/lib/components/button/button.css +0 -371
  22. package/src/lib/components/button/button.html +0 -187
  23. package/src/lib/components/button/button.ts +0 -103
  24. package/src/lib/components/card/card.css +0 -285
  25. package/src/lib/components/card/card.html +0 -69
  26. package/src/lib/components/card/card.ts +0 -93
  27. package/src/lib/components/checkbox/checkbox-showcase.component.css +0 -42
  28. package/src/lib/components/checkbox/checkbox-showcase.component.html +0 -36
  29. package/src/lib/components/checkbox/checkbox-showcase.component.ts +0 -13
  30. package/src/lib/components/checkbox/checkbox.css +0 -10
  31. package/src/lib/components/checkbox/checkbox.html +0 -13
  32. package/src/lib/components/checkbox/checkbox.ts +0 -64
  33. package/src/lib/components/circular-progress-stepper/circular-progress-stepper.css +0 -89
  34. package/src/lib/components/circular-progress-stepper/circular-progress-stepper.html +0 -23
  35. package/src/lib/components/circular-progress-stepper/circular-progress-stepper.ts +0 -40
  36. package/src/lib/components/dialogs/alert-modal/alert-modal.css +0 -118
  37. package/src/lib/components/dialogs/alert-modal/alert-modal.html +0 -29
  38. package/src/lib/components/dialogs/alert-modal/alert-modal.ts +0 -28
  39. package/src/lib/components/dialogs/confirm-modal/confirm-modal.css +0 -219
  40. package/src/lib/components/dialogs/confirm-modal/confirm-modal.html +0 -60
  41. package/src/lib/components/dialogs/confirm-modal/confirm-modal.store.ts +0 -139
  42. package/src/lib/components/dialogs/confirm-modal/confirm-modal.ts +0 -63
  43. package/src/lib/components/dialogs/container-custom/container-custom.css +0 -11
  44. package/src/lib/components/dialogs/container-custom/container-custom.html +0 -3
  45. package/src/lib/components/dialogs/container-custom/container-custom.ts +0 -37
  46. package/src/lib/components/dialogs/container-custom/custom-modal.state.ts +0 -57
  47. package/src/lib/components/dialogs/error-modal/error-modal.css +0 -53
  48. package/src/lib/components/dialogs/error-modal/error-modal.html +0 -17
  49. package/src/lib/components/dialogs/error-modal/error-modal.ts +0 -20
  50. package/src/lib/components/dialogs/side-modal/side-modal.css +0 -80
  51. package/src/lib/components/dialogs/side-modal/side-modal.html +0 -30
  52. package/src/lib/components/dialogs/side-modal/side-modal.state.ts +0 -78
  53. package/src/lib/components/dialogs/side-modal/side-modal.ts +0 -50
  54. package/src/lib/components/divider/divider.css +0 -24
  55. package/src/lib/components/divider/divider.html +0 -7
  56. package/src/lib/components/divider/divider.ts +0 -13
  57. package/src/lib/components/footer-actions/footer/footer-flow.store.ts +0 -30
  58. package/src/lib/components/footer-actions/footer/footer.html +0 -14
  59. package/src/lib/components/footer-actions/footer/footer.ts +0 -50
  60. package/src/lib/components/footer-actions/modal-footer-actions/modal-footer-actions.css +0 -44
  61. package/src/lib/components/footer-actions/modal-footer-actions/modal-footer-actions.html +0 -7
  62. package/src/lib/components/footer-actions/modal-footer-actions/modal-footer-actions.ts +0 -12
  63. package/src/lib/components/footer-actions/page-footer-actions/page-footer-actions.css +0 -31
  64. package/src/lib/components/footer-actions/page-footer-actions/page-footer-actions.html +0 -7
  65. package/src/lib/components/footer-actions/page-footer-actions/page-footer-actions.ts +0 -12
  66. package/src/lib/components/form-field/select-field.css +0 -178
  67. package/src/lib/components/form-field/select-field.html +0 -94
  68. package/src/lib/components/form-field/select-field.ts +0 -324
  69. package/src/lib/components/form-field/text-field.css +0 -41
  70. package/src/lib/components/form-field/text-field.html +0 -38
  71. package/src/lib/components/form-field/text-field.ts +0 -102
  72. package/src/lib/components/header/header.css +0 -142
  73. package/src/lib/components/header/header.html +0 -36
  74. package/src/lib/components/header/header.ts +0 -101
  75. package/src/lib/components/icon-button/icon-button.css +0 -445
  76. package/src/lib/components/icon-button/icon-button.html +0 -15
  77. package/src/lib/components/icon-button/icon-button.ts +0 -49
  78. package/src/lib/components/list-item/list-item.css +0 -122
  79. package/src/lib/components/list-item/list-item.html +0 -79
  80. package/src/lib/components/list-item/list-item.ts +0 -104
  81. package/src/lib/components/menu/menu.css +0 -39
  82. package/src/lib/components/menu/menu.html +0 -57
  83. package/src/lib/components/menu/menu.ts +0 -159
  84. package/src/lib/components/shared-table/shared-table-cell-template.directive.ts +0 -25
  85. package/src/lib/components/shared-table/shared-table.component.css +0 -223
  86. package/src/lib/components/shared-table/shared-table.component.html +0 -96
  87. package/src/lib/components/shared-table/shared-table.component.ts +0 -172
  88. package/src/lib/components/sidebar/sidebar.css +0 -234
  89. package/src/lib/components/sidebar/sidebar.html +0 -67
  90. package/src/lib/components/sidebar/sidebar.ts +0 -92
  91. package/src/lib/components/slide-toggle/slide-toggle.css +0 -0
  92. package/src/lib/components/slide-toggle/slide-toggle.html +0 -3
  93. package/src/lib/components/slide-toggle/slide-toggle.ts +0 -18
  94. package/src/lib/components/spinner/spinner.css +0 -9
  95. package/src/lib/components/spinner/spinner.html +0 -9
  96. package/src/lib/components/spinner/spinner.ts +0 -17
  97. package/src/lib/components/tooltip/tooltip.css +0 -32
  98. package/src/lib/components/tooltip/tooltip.html +0 -3
  99. package/src/lib/components/tooltip/tooltip.ts +0 -31
  100. package/src/lib/icons/register-icons.ts +0 -101
  101. package/src/lib/lib-ui/lib-ui.html +0 -1
  102. package/src/lib/lib-ui/lib-ui.scss +0 -0
  103. package/src/lib/lib-ui/lib-ui.ts +0 -9
  104. package/tsconfig.json +0 -30
  105. package/tsconfig.lib.json +0 -20
@@ -1,80 +0,0 @@
1
- .container {
2
- height: 100dvh;
3
- width: 100%;
4
- max-height: 100dvh;
5
- box-sizing: border-box;
6
- background-color: var(--side-sheets-enabled-container-sheet-side-docked-standard-container-color, #f8f9fa);
7
- border-radius: 8px 0px 0px 8px;
8
- display: flex;
9
- flex-direction: column;
10
- overflow: hidden;
11
- animation: animationDialog 0.5s ease;
12
- }
13
-
14
- .side-modal__header {
15
- display: flex;
16
- justify-content: space-between;
17
- align-items: center;
18
- gap: 8px;
19
- margin-bottom: 1.5rem;
20
- padding: 1rem 1rem 0;
21
- }
22
-
23
- .title {
24
- color: var(--side-sheets-enabled-headline-sheet-side-docked-headline-color, #434749);
25
- font-family: var(--side-sheets-enabled-headline-sheet-side-docked-headline-font, 'Heebo'), sans-serif;
26
- font-size: var(--side-sheets-enabled-headline-sheet-side-docked-headline-size, 22px);
27
- font-style: normal;
28
- font-weight: var(--side-sheets-enabled-headline-sheet-side-docked-headline-weight, 400);
29
- line-height: calc(var(--side-sheets-enabled-headline-sheet-side-docked-headline-line-height, 28) * 1px);
30
- letter-spacing: var(--side-sheets-enabled-headline-sheet-side-docked-headline-tracking, 0px);
31
- margin: 0;
32
- }
33
-
34
- .side-modal__header button {
35
- background-color: transparent;
36
- border: none;
37
- height: 40px;
38
- width: 40px;
39
- min-width: 40px;
40
- border-radius: 999px;
41
- display: inline-flex;
42
- align-items: center;
43
- justify-content: center;
44
- cursor: pointer;
45
- color: #696D6F;
46
- }
47
-
48
- .side-modal__header button mat-icon {
49
- font-size: 24px;
50
- }
51
-
52
- .side-modal__icon-btn svg {
53
- display: block;
54
- }
55
-
56
- .side-modal__content {
57
- width: 100%;
58
- box-sizing: border-box;
59
- flex: 1 1 auto;
60
- min-height: 0;
61
- overflow-y: auto;
62
- overflow-x: hidden;
63
- padding-top: 0;
64
- padding-bottom: 0;
65
- }
66
-
67
- .side-modal__footer {
68
- width: 100%;
69
- flex: 0 0 auto;
70
- }
71
-
72
- @keyframes animationDialog {
73
- from {
74
- transform: translateX(100%);
75
- }
76
-
77
- to {
78
- transform: translateX(0);
79
- }
80
- }
@@ -1,30 +0,0 @@
1
- <div class="container" [@dialogAnimation]="dialogState()" (@dialogAnimation.done)="onAnimationDone($event)">
2
- <header class="side-modal__header">
3
- <div style="display: flex; align-items: center;">
4
- @if (shouldShowBack()) {
5
- <button type="button" class="side-modal__icon-btn" (click)="onBackClick()" aria-label="Volver">
6
- <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
7
- <path d="M14 6H3.83L8.41 1.41L7 0L0 7L7 14L8.41 12.59L3.83 8H14V6Z" fill="#434749" />
8
- </svg>
9
- </button>
10
- }
11
- <h4 class="title">{{title}}</h4>
12
- </div>
13
-
14
- <button type="button" class="side-modal__icon-btn" (click)="closeDialog()" aria-label="Cerrar">
15
- <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
16
- <path d="M1.4 14L0 12.6L5.6 7L0 1.4L1.4 0L7 5.6L12.6 0L14 1.4L8.4 7L14 12.6L12.6 14L7 8.4L1.4 14Z"
17
- fill="#434749" />
18
- </svg>
19
- </button>
20
- </header>
21
-
22
- <main class="side-modal__content container-content app-scrollbar-figma">
23
- <ng-container *ngComponentOutlet="content"></ng-container>
24
- </main>
25
- @if (footer) {
26
- <footer class="side-modal__footer">
27
- <ng-container *ngComponentOutlet="footer"></ng-container>
28
- </footer>
29
- }
30
- </div>
@@ -1,78 +0,0 @@
1
- import { Dialog, DialogRef } from '@angular/cdk/dialog';
2
- import { Overlay } from '@angular/cdk/overlay';
3
- import { inject, Injectable, signal, Type, WritableSignal } from '@angular/core';
4
- import { NavigationStart, Router } from '@angular/router';
5
- import { SideModal } from './side-modal';
6
-
7
- export interface SideModalHeaderConfig {
8
- showBackButton?: () => boolean;
9
- onBack?: () => void;
10
- }
11
-
12
- @Injectable({
13
- providedIn: 'root'
14
- })
15
- export class SideModalStore {
16
- private readonly dialog = inject(Dialog);
17
- private readonly overlay = inject(Overlay);
18
- private readonly dialogState: WritableSignal<'open' | 'closed' | 'action'> = signal('open');
19
- private currentDialogRef?: DialogRef<unknown, unknown>;
20
- private readonly router = inject(Router);
21
-
22
- openSideModal(
23
- content: Type<unknown>,
24
- title: string,
25
- width: string,
26
- footer?: Type<unknown>,
27
- headerConfig?: SideModalHeaderConfig
28
- ): DialogRef<unknown, unknown> {
29
- this.dialogState.set('open');
30
- const positionBuilder = this.overlay.position();
31
- const strategy = positionBuilder.global().end();
32
-
33
- this.currentDialogRef = this.dialog.open<unknown>(SideModal, {
34
- width: width,
35
- height: '100%',
36
- disableClose: true,
37
- hasBackdrop: true,
38
- backdropClass: 'lib-side-modal-backdrop',
39
- positionStrategy: strategy,
40
- data: {
41
- title: title,
42
- content,
43
- dialogState: this.dialogState,
44
- footer,
45
- headerConfig,
46
- },
47
- closeOnNavigation: true
48
- });
49
-
50
- const sub = this.router.events.subscribe(event => {
51
- if (event instanceof NavigationStart) {
52
- this.closeSideModal();
53
- sub.unsubscribe();
54
- }
55
- });
56
-
57
- return this.currentDialogRef;
58
- }
59
-
60
- isOnAction(): boolean {
61
- return this.dialogState() === 'action';
62
- }
63
-
64
- closeSideModal(_data?: unknown): void {
65
- void _data;
66
- if (this.currentDialogRef) {
67
- this.currentDialogRef.close();
68
- this.currentDialogRef = undefined;
69
- }
70
- this.dialogState.set('closed');
71
- }
72
-
73
- actionSideModal(): void {
74
- this.dialogState.set('action');
75
- }
76
-
77
-
78
- }
@@ -1,50 +0,0 @@
1
- import { animate, state, style, transition, trigger,AnimationEvent } from '@angular/animations';
2
- import { DialogRef,DIALOG_DATA } from '@angular/cdk/dialog';
3
- import { CommonModule, NgComponentOutlet } from '@angular/common';
4
- import { Component, inject, Type, WritableSignal } from '@angular/core';
5
- import { SideModalHeaderConfig } from './side-modal.state';
6
-
7
-
8
- @Component({
9
- selector: 'lib-side-modal, app-side-modal',
10
- imports: [CommonModule, NgComponentOutlet],
11
- templateUrl: './side-modal.html',
12
- styleUrl: './side-modal.css',
13
- animations: [
14
- trigger('dialogAnimation',[
15
- state('closed', style({ transform: 'translateX(100%)' })),
16
- state('open', style({ transform: 'translateX(0)'})),
17
- transition('open => closed', [animate('0.5s ease')]),
18
- ])
19
- ]
20
- })
21
- export class SideModal {
22
- readonly dialogData = inject(DIALOG_DATA);
23
- readonly dialogRef = inject(DialogRef);
24
-
25
- readonly content: Type<any> = this.dialogData.content;
26
- readonly title:string = this.dialogData.title;
27
- readonly footer: Type<any> | undefined = this.dialogData.footer;
28
- readonly headerConfig: SideModalHeaderConfig | undefined = this.dialogData.headerConfig;
29
- readonly dialogState:WritableSignal<'open' | 'closed'> = this.dialogData.dialogState;
30
-
31
- closeDialog(): void {
32
- this.dialogState.set('closed');
33
- }
34
-
35
- shouldShowBack(): boolean {
36
- return this.headerConfig?.showBackButton?.() ?? false;
37
- }
38
-
39
- onBackClick(): void {
40
- this.headerConfig?.onBack?.();
41
- }
42
-
43
- onAnimationDone(event: AnimationEvent): void {
44
- if (event.toState === 'action' || event.toState === 'closed') {
45
- this.dialogRef.close(true);
46
- }
47
- }
48
-
49
-
50
- }
@@ -1,24 +0,0 @@
1
- /* Host como flex para que el divisor vertical (align-self: stretch) tome la altura del padre. */
2
- :host {
3
- display: flex;
4
- align-items: stretch;
5
- }
6
-
7
- .ui-divider {
8
- flex-shrink: 0;
9
- background: var(--divider-enabled-container-divider-color, #c3c7c9);
10
- }
11
-
12
- .ui-divider--horizontal {
13
- width: 100%;
14
- height: var(--divider-enabled-container-divider-thickness, 0.0625rem);
15
- min-height: 0.0625rem;
16
- }
17
-
18
- .ui-divider--vertical {
19
- width: var(--divider-enabled-container-divider-thickness, 0.0625rem);
20
- min-width: 0.0625rem;
21
- align-self: stretch;
22
- /* Permite que stretch funcione en contenedores flex con min-height */
23
- min-height: 0;
24
- }
@@ -1,7 +0,0 @@
1
- <div
2
- class="ui-divider"
3
- [class.ui-divider--horizontal]="orientation() === 'horizontal'"
4
- [class.ui-divider--vertical]="orientation() === 'vertical'"
5
- role="separator"
6
- [attr.aria-orientation]="orientation()"
7
- ></div>
@@ -1,13 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'lib-divider',
5
- standalone: true,
6
- templateUrl: './divider.html',
7
- styleUrl: './divider.css',
8
- changeDetection: ChangeDetectionStrategy.OnPush,
9
- })
10
- export class LibDividerComponent {
11
- /** Orientación: horizontal (full width) o vertical (full height). Figma: Horizontal/Full-width, Vertical/Full-width */
12
- orientation = input<'horizontal' | 'vertical'>('horizontal');
13
- }
@@ -1,30 +0,0 @@
1
- import { Injectable, signal } from '@angular/core';
2
-
3
- @Injectable({ providedIn: 'root' })
4
- export class FooterFlowStore {
5
- readonly totalSteps = signal(1);
6
- readonly currentStep = signal(1);
7
-
8
- setTotalSteps(total: number): void {
9
- this.totalSteps.set(Math.max(1, total));
10
- if (this.currentStep() > this.totalSteps()) {
11
- this.currentStep.set(this.totalSteps());
12
- }
13
- }
14
-
15
- reset(): void {
16
- this.currentStep.set(1);
17
- }
18
-
19
- advance(): void {
20
- if (this.currentStep() < this.totalSteps()) {
21
- this.currentStep.update((step) => step + 1);
22
- }
23
- }
24
-
25
- retreat(): void {
26
- if (this.currentStep() > 1) {
27
- this.currentStep.update((step) => step - 1);
28
- }
29
- }
30
- }
@@ -1,14 +0,0 @@
1
- <lib-modal-footer-actions>
2
- <lib-button
3
- variant="outlined"
4
- size="small"
5
- [label]="'Cancelar' | translate"
6
- (click)="onCancel()"
7
- />
8
- <lib-button
9
- variant="filled"
10
- size="small"
11
- [label]="primaryLabel() | translate"
12
- (click)="onContinue()"
13
- />
14
- </lib-modal-footer-actions>
@@ -1,50 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';
2
- import { ConfirmModalStore } from '../../dialogs/confirm-modal/confirm-modal.store';
3
- import { LibButtonComponent } from '../../button/button';
4
- import { ModalFooterActionsComponent } from '../modal-footer-actions/modal-footer-actions';
5
- import { SideModalStore } from '../../dialogs/side-modal/side-modal.state';
6
- import { TranslatePipe } from '@ngx-translate/core';
7
- import { FooterFlowStore } from './footer-flow.store';
8
-
9
- @Component({
10
- selector: 'lib-side-modal-footer',
11
- standalone: true,
12
- imports: [ModalFooterActionsComponent, LibButtonComponent, TranslatePipe],
13
- templateUrl: './footer.html',
14
- changeDetection: ChangeDetectionStrategy.OnPush,
15
- })
16
- export class FooterComponent {
17
- private readonly sideModalStore = inject(SideModalStore);
18
- private readonly confirmModalStore = inject(ConfirmModalStore);
19
- private readonly flowStore = inject(FooterFlowStore);
20
-
21
- readonly primaryLabel = computed(() =>
22
- this.flowStore.currentStep() < this.flowStore.totalSteps() ? 'NEXT' : 'SAVE'
23
- );
24
-
25
- onCancel(): void {
26
- this.sideModalStore.closeSideModal();
27
- }
28
-
29
- onContinue(): void {
30
- if (this.flowStore.currentStep() < this.flowStore.totalSteps()) {
31
- this.flowStore.advance();
32
- return;
33
- }
34
-
35
- const dialogRef = this.confirmModalStore.open(
36
- '¿Guardar cambios?',
37
- 'Guardar',
38
- '',
39
- '',
40
- 'max-content',
41
- 'Cancelar',
42
- );
43
-
44
- dialogRef.closed.subscribe((result: unknown) => {
45
- if (result === true) {
46
- this.sideModalStore.closeSideModal({ step: this.flowStore.totalSteps(), saved: true });
47
- }
48
- });
49
- }
50
- }
@@ -1,44 +0,0 @@
1
- :host {
2
- display: block;
3
- width: 100%;
4
- }
5
-
6
-
7
- :host-context(.side-modal__content) {
8
- width: calc(100% + 2rem);
9
- margin-left: -1rem;
10
- margin-right: -1rem;
11
- margin-bottom: -1rem;
12
- }
13
-
14
- :host-context(.side-modal__content) .lib-modal-footer-actions__buttons {
15
- padding-left: 0;
16
- padding-right: 0;
17
- }
18
-
19
- .lib-modal-footer-actions {
20
- display: flex;
21
- flex-direction: column;
22
- align-items: stretch;
23
- width: 100%;
24
- align-self: flex-end;
25
- flex: 0 0 auto;
26
- margin-top: auto;
27
- background: var(--side-sheets-enabled-container-sheet-side-docked-standard-container-color,
28
- var(--app-side-sheets-enabled-container-sheet-side-docked-standard-container-color, #F7FAFC));
29
- z-index: 10;
30
- position: sticky;
31
- bottom: 0;
32
- }
33
-
34
- .lib-modal-footer-actions__buttons {
35
- display: flex;
36
- align-items: center;
37
- gap: 8px;
38
- padding: 0.75rem 1.5rem 1.25rem;
39
- }
40
-
41
- .lib-modal-footer-actions__buttons lib-mat-button,
42
- .lib-modal-footer-actions__buttons .lib-mat-btn {
43
- width: auto;
44
- }
@@ -1,7 +0,0 @@
1
- <div class="lib-modal-footer-actions">
2
- <lib-divider orientation="horizontal" />
3
- <div class="lib-modal-footer-actions__buttons">
4
- <ng-content></ng-content>
5
- </div>
6
- </div>
7
-
@@ -1,12 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import { LibDividerComponent } from '../../divider/divider';
3
-
4
- @Component({
5
- selector: 'lib-modal-footer-actions',
6
- standalone: true,
7
- imports: [LibDividerComponent],
8
- templateUrl: './modal-footer-actions.html',
9
- styleUrl: './modal-footer-actions.css',
10
- changeDetection: ChangeDetectionStrategy.OnPush,
11
- })
12
- export class ModalFooterActionsComponent {}
@@ -1,31 +0,0 @@
1
- :host {
2
- display: block;
3
- width: 100%;
4
- }
5
-
6
- :host-context(.side-modal__content) {
7
- width: calc(100% + 2rem);
8
- margin-left: -1rem;
9
- margin-right: -1rem;
10
- margin-bottom: -1rem;
11
- }
12
-
13
- .lib-page-footer-actions {
14
- display: flex;
15
- flex-direction: column;
16
- align-items: stretch;
17
- width: 100%;
18
- }
19
-
20
- .lib-page-footer-actions__buttons {
21
- display: flex;
22
- align-items: center;
23
- gap: 8px;
24
- padding: 12px 24px 0;
25
- justify-content: flex-end;
26
- }
27
-
28
- .lib-page-footer-actions__buttons lib-mat-button,
29
- .lib-page-footer-actions__buttons .lib-mat-btn {
30
- width: auto;
31
- }
@@ -1,7 +0,0 @@
1
- <div class="lib-page-footer-actions">
2
- <lib-divider orientation="horizontal" />
3
- <div class="lib-page-footer-actions__buttons">
4
- <ng-content></ng-content>
5
- </div>
6
- </div>
7
-
@@ -1,12 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import { LibDividerComponent } from '../../divider/divider';
3
-
4
- @Component({
5
- selector: 'lib-page-footer-actions',
6
- standalone: true,
7
- imports: [LibDividerComponent],
8
- templateUrl: './page-footer-actions.html',
9
- styleUrl: './page-footer-actions.css',
10
- changeDetection: ChangeDetectionStrategy.OnPush,
11
- })
12
- export class PageFooterActionsComponent {}