@maliardic/ma-ui 0.2.0 → 0.2.1
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,8 +1,8 @@
|
|
|
1
|
-
import * as _maliardic_ma_icon from '@maliardic/ma-icon';
|
|
2
|
-
import { MaiconName, MaiconGlyph } from '@maliardic/ma-icon';
|
|
3
1
|
import * as _angular_core from '@angular/core';
|
|
4
2
|
import { TemplateRef, Type, Provider, OnDestroy, OnInit, PipeTransform, AfterViewInit, AfterViewChecked, WritableSignal, InputSignal } from '@angular/core';
|
|
5
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import * as _maliardic_ma_icon from '@maliardic/ma-icon';
|
|
5
|
+
import { MaiconName, MaiconGlyph } from '@maliardic/ma-icon';
|
|
6
6
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
7
7
|
import * as _maliardic_ma_ui from '@maliardic/ma-ui';
|
|
8
8
|
|
|
@@ -70,7 +70,7 @@ interface MAccordionHeaderTemplateContext {
|
|
|
70
70
|
declare class MAccordionPanel {
|
|
71
71
|
readonly value: _angular_core.InputSignal<string>;
|
|
72
72
|
readonly header: _angular_core.InputSignal<string>;
|
|
73
|
-
readonly icon: _angular_core.InputSignal<
|
|
73
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
74
74
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
75
75
|
readonly headerTemplate: _angular_core.Signal<TemplateRef<MAccordionHeaderTemplateContext> | undefined>;
|
|
76
76
|
readonly panelId: string;
|
|
@@ -124,7 +124,7 @@ declare class MBadge {
|
|
|
124
124
|
|
|
125
125
|
type MButtonType = "button" | "submit" | "reset";
|
|
126
126
|
declare class MButton {
|
|
127
|
-
readonly icon: _angular_core.InputSignal<
|
|
127
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
128
128
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
129
129
|
readonly size: _angular_core.InputSignal<MControlSize>;
|
|
130
130
|
readonly type: _angular_core.InputSignal<MButtonType>;
|
|
@@ -455,7 +455,7 @@ declare function createMIconSvg(document: Document, name: string | null | undefi
|
|
|
455
455
|
*/
|
|
456
456
|
declare class MIcon {
|
|
457
457
|
/** Icon name. Unknown names render nothing. */
|
|
458
|
-
readonly name: _angular_core.InputSignal<
|
|
458
|
+
readonly name: _angular_core.InputSignal<string | null | undefined>;
|
|
459
459
|
/** Accessible name. Empty means decorative (`aria-hidden`). */
|
|
460
460
|
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
461
461
|
protected readonly strokeWidth = 1.5;
|
|
@@ -467,7 +467,7 @@ declare class MIcon {
|
|
|
467
467
|
declare class MInput implements ControlValueAccessor {
|
|
468
468
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
469
469
|
readonly type: _angular_core.InputSignal<MInputType>;
|
|
470
|
-
readonly icon: _angular_core.InputSignal<
|
|
470
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
471
471
|
readonly mask: _angular_core.InputSignal<string>;
|
|
472
472
|
readonly rawValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
473
473
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
@@ -502,7 +502,7 @@ declare class MInput implements ControlValueAccessor {
|
|
|
502
502
|
|
|
503
503
|
declare class MInputNumber implements ControlValueAccessor {
|
|
504
504
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
505
|
-
readonly icon: _angular_core.InputSignal<
|
|
505
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
506
506
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
507
507
|
readonly value: _angular_core.InputSignal<string | number | null>;
|
|
508
508
|
readonly name: _angular_core.InputSignal<string>;
|
|
@@ -606,7 +606,7 @@ interface MMenuItem {
|
|
|
606
606
|
id?: string;
|
|
607
607
|
label?: string;
|
|
608
608
|
value: string;
|
|
609
|
-
icon?: MIconName;
|
|
609
|
+
icon?: MIconName | string;
|
|
610
610
|
disabled?: boolean;
|
|
611
611
|
items?: readonly MMenuItem[];
|
|
612
612
|
routerLink?: string | readonly unknown[];
|
|
@@ -950,7 +950,7 @@ declare class MSelect implements ControlValueAccessor, OnDestroy {
|
|
|
950
950
|
private overlayRef;
|
|
951
951
|
private outsideSubscription;
|
|
952
952
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
953
|
-
readonly icon: _angular_core.InputSignal<
|
|
953
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
954
954
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
955
955
|
readonly value: _angular_core.InputSignal<unknown>;
|
|
956
956
|
readonly name: _angular_core.InputSignal<string>;
|
|
@@ -1422,7 +1422,7 @@ interface MTabHeaderTemplateContext {
|
|
|
1422
1422
|
declare class MTab {
|
|
1423
1423
|
readonly value: _angular_core.InputSignal<string>;
|
|
1424
1424
|
readonly label: _angular_core.InputSignal<string>;
|
|
1425
|
-
readonly icon: _angular_core.InputSignal<
|
|
1425
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
1426
1426
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1427
1427
|
readonly lazy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1428
1428
|
readonly headerTemplate: _angular_core.Signal<TemplateRef<MTabHeaderTemplateContext> | undefined>;
|
|
@@ -1498,7 +1498,7 @@ interface MToastOptions {
|
|
|
1498
1498
|
sticky?: boolean;
|
|
1499
1499
|
life?: number;
|
|
1500
1500
|
/** maicon name. Empty string hides the icon; omitted uses the type default. */
|
|
1501
|
-
icon?: MIconName |
|
|
1501
|
+
icon?: MIconName | string;
|
|
1502
1502
|
closable?: boolean;
|
|
1503
1503
|
styleClass?: string;
|
|
1504
1504
|
}
|
|
@@ -1509,7 +1509,7 @@ interface MToastMessage {
|
|
|
1509
1509
|
type: MToastType;
|
|
1510
1510
|
sticky: boolean;
|
|
1511
1511
|
life: number;
|
|
1512
|
-
icon: MIconName |
|
|
1512
|
+
icon: MIconName | string;
|
|
1513
1513
|
closable: boolean;
|
|
1514
1514
|
styleClass: string;
|
|
1515
1515
|
closing: boolean;
|
|
@@ -1594,7 +1594,7 @@ declare class MButtonDirective {
|
|
|
1594
1594
|
private iconElement;
|
|
1595
1595
|
readonly size: _angular_core.InputSignal<MControlSize>;
|
|
1596
1596
|
/** maicon name rendered before the content. */
|
|
1597
|
-
readonly icon: _angular_core.InputSignal<
|
|
1597
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
1598
1598
|
readonly block: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1599
1599
|
readonly iconOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1600
1600
|
constructor();
|
|
@@ -1692,7 +1692,7 @@ declare function syncMThemeToOverlay(hostEl: HTMLElement, overlayPaneEl: HTMLEle
|
|
|
1692
1692
|
interface MConfirmation {
|
|
1693
1693
|
header?: string;
|
|
1694
1694
|
message: string;
|
|
1695
|
-
icon?: MIconName;
|
|
1695
|
+
icon?: MIconName | string;
|
|
1696
1696
|
acceptLabel?: string;
|
|
1697
1697
|
rejectLabel?: string;
|
|
1698
1698
|
acceptVisible?: boolean;
|