@area8975/ui 0.1.0 → 0.1.1-dev.5
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/fesm2022/area8975-ui.mjs +50 -197
- package/fesm2022/area8975-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/types/area8975-ui.d.ts +19 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@area8975/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1-dev.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^22.0.0",
|
|
6
6
|
"@angular/core": "^22.0.0",
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
"module": "fesm2022/area8975-ui.mjs",
|
|
34
34
|
"typings": "types/area8975-ui.d.ts",
|
|
35
35
|
"type": "module"
|
|
36
|
-
}
|
|
36
|
+
}
|
package/types/area8975-ui.d.ts
CHANGED
|
@@ -1761,20 +1761,24 @@ export declare class UiLoadingComponent {
|
|
|
1761
1761
|
}
|
|
1762
1762
|
export declare const UI_LOADING_TYPES: ["spinner", "throbber", "pulse-ring", "pulse-dot", "wave", "equaliser", "terminal", "blinking-caret", "shimmer-text", "loading-dots", "bouncing-dots", "fading-dots"];
|
|
1763
1763
|
export type UiLoadingType = typeof UI_LOADING_TYPES[number];
|
|
1764
|
+
type ModalSize = 'sm' | 'md' | 'lg';
|
|
1765
|
+
/**
|
|
1766
|
+
* Centered dialog with a backdrop. Uses ui-overlay for dismissal/focus,
|
|
1767
|
+
* no ui-floating since there's nothing to position against.
|
|
1768
|
+
*/
|
|
1764
1769
|
export declare class UiModalComponent {
|
|
1765
|
-
readonly isOpen: import("@angular/core").ModelSignal<boolean>;
|
|
1766
|
-
readonly closeBehaviour: import("@angular/core").InputSignal<UiOverlayCloseBehaviour>;
|
|
1767
|
-
readonly title: import("@angular/core").InputSignal<string>;
|
|
1768
|
-
readonly classes: import("@angular/core").InputSignal<string>;
|
|
1769
|
-
readonly headerElement: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
1770
|
-
readonly footerElement: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
1771
1770
|
readonly panelElement: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
1772
|
-
readonly
|
|
1771
|
+
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
1772
|
+
readonly closeBehaviour: import("@angular/core").InputSignal<UiOverlayCloseBehaviour>;
|
|
1773
|
+
readonly toggle: () => void;
|
|
1774
|
+
readonly close: () => void;
|
|
1775
|
+
readonly size: import("@angular/core").InputSignal<ModalSize>;
|
|
1776
|
+
readonly generatedSizeClasses: import("@angular/core").Signal<string>;
|
|
1773
1777
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiModalComponent, never>;
|
|
1774
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiModalComponent, "ui-modal",
|
|
1775
|
-
"
|
|
1776
|
-
"alias": "
|
|
1777
|
-
"required":
|
|
1778
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiModalComponent, "ui-modal", ["uiModal"], {
|
|
1779
|
+
"open": {
|
|
1780
|
+
"alias": "open";
|
|
1781
|
+
"required": false;
|
|
1778
1782
|
"isSignal": true;
|
|
1779
1783
|
};
|
|
1780
1784
|
"closeBehaviour": {
|
|
@@ -1782,19 +1786,14 @@ export declare class UiModalComponent {
|
|
|
1782
1786
|
"required": false;
|
|
1783
1787
|
"isSignal": true;
|
|
1784
1788
|
};
|
|
1785
|
-
"
|
|
1786
|
-
"alias": "
|
|
1787
|
-
"required": false;
|
|
1788
|
-
"isSignal": true;
|
|
1789
|
-
};
|
|
1790
|
-
"classes": {
|
|
1791
|
-
"alias": "classes";
|
|
1789
|
+
"size": {
|
|
1790
|
+
"alias": "size";
|
|
1792
1791
|
"required": false;
|
|
1793
1792
|
"isSignal": true;
|
|
1794
1793
|
};
|
|
1795
1794
|
}, {
|
|
1796
|
-
"
|
|
1797
|
-
},
|
|
1795
|
+
"open": "openChange";
|
|
1796
|
+
}, never, ["*"], true, never>;
|
|
1798
1797
|
}
|
|
1799
1798
|
/**
|
|
1800
1799
|
* Formats a money value, e.g. -42.1 as "-£42.10".
|