@ascentgl/ads-ui 20.8.0 → 20.10.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.
- package/fesm2022/ascentgl-ads-ui.mjs +31 -14
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +16 -5
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ import * as i3$8 from '@angular/material/bottom-sheet';
|
|
|
54
54
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
55
55
|
import * as i4$9 from '@angular/material/list';
|
|
56
56
|
import * as i2$2 from '@angular/material/tabs';
|
|
57
|
+
import { MatTabChangeEvent } from '@angular/material/tabs';
|
|
57
58
|
import { HttpClient } from '@angular/common/http';
|
|
58
59
|
|
|
59
60
|
type Size$1 = 'sm' | 'md' | 'lg';
|
|
@@ -134,7 +135,7 @@ declare class AdsNumericBadgeComponent extends AdsIconHoverComponent {
|
|
|
134
135
|
/** provide icon name. NOTE: the icon must be registered in icon registry **/
|
|
135
136
|
name: i0.InputSignal<adsIcon>;
|
|
136
137
|
/** choose ads icon theme **/
|
|
137
|
-
theme: i0.InputSignal<"
|
|
138
|
+
theme: i0.InputSignal<"primary" | "iconPrimary" | "success" | "warn" | "white">;
|
|
138
139
|
/** set badge value as number **/
|
|
139
140
|
value: i0.InputSignal<number>;
|
|
140
141
|
/** @ignore **/
|
|
@@ -221,7 +222,7 @@ declare class AdsButtonModule {
|
|
|
221
222
|
|
|
222
223
|
declare class AdsButtonContainerComponent {
|
|
223
224
|
/** How buttons in the container should be placed */
|
|
224
|
-
justify: i0.InputSignal<"
|
|
225
|
+
justify: i0.InputSignal<"flex-start" | "flex-end" | "center">;
|
|
225
226
|
/** The gap between elements */
|
|
226
227
|
gap: i0.InputSignal<number>;
|
|
227
228
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonContainerComponent, never>;
|
|
@@ -2417,6 +2418,7 @@ type NavItem = {
|
|
|
2417
2418
|
label: string;
|
|
2418
2419
|
icon: adsIcon;
|
|
2419
2420
|
href: string;
|
|
2421
|
+
stickToBottom?: boolean;
|
|
2420
2422
|
};
|
|
2421
2423
|
|
|
2422
2424
|
declare abstract class AbstractSideNavBarComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
@@ -2480,13 +2482,19 @@ declare class AdsSideNavBarComponent extends AbstractSideNavBarComponent {
|
|
|
2480
2482
|
splitter: SplitComponent;
|
|
2481
2483
|
/** @ignore */
|
|
2482
2484
|
sideNavArea: ElementRef;
|
|
2485
|
+
/** @ignore */
|
|
2486
|
+
regularNavItems: i0.Signal<NavItem[]>;
|
|
2487
|
+
/** @ignore */
|
|
2488
|
+
bottomNavItems: i0.Signal<NavItem[]>;
|
|
2489
|
+
/** @ignore */
|
|
2490
|
+
hasBottomItems: i0.Signal<boolean>;
|
|
2483
2491
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsSideNavBarComponent, never>;
|
|
2484
2492
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsSideNavBarComponent, "ads-side-nav-bar", never, { "searchTemplate": { "alias": "searchTemplate"; "required": false; "isSignal": true; }; "extraDataTemplate": { "alias": "extraDataTemplate"; "required": false; "isSignal": true; }; "navItems": { "alias": "navItems"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
2485
2493
|
}
|
|
2486
2494
|
|
|
2487
2495
|
declare class AdsSideNavBarModule {
|
|
2488
2496
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsSideNavBarModule, never>;
|
|
2489
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsSideNavBarModule, [typeof AdsSideNavBarComponent], [typeof i2.CommonModule, typeof AdsPrimaryLogoModule, typeof i4$8.SplitComponent, typeof i4$8.SplitAreaComponent, typeof i3$2.RouterOutlet, typeof i3$2.RouterLink, typeof i3$2.RouterLinkActive, typeof i4.AdsIconModule], [typeof AdsSideNavBarComponent]>;
|
|
2497
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsSideNavBarModule, [typeof AdsSideNavBarComponent], [typeof i2.CommonModule, typeof AdsPrimaryLogoModule, typeof i4$8.SplitComponent, typeof i4$8.SplitAreaComponent, typeof i3$2.RouterOutlet, typeof i3$2.RouterLink, typeof i3$2.RouterLinkActive, typeof i4.AdsIconModule, typeof AdsDividerModule], [typeof AdsSideNavBarComponent]>;
|
|
2490
2498
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsSideNavBarModule>;
|
|
2491
2499
|
}
|
|
2492
2500
|
|
|
@@ -3015,21 +3023,24 @@ declare class AdsOrgDisplayTextModule {
|
|
|
3015
3023
|
}
|
|
3016
3024
|
|
|
3017
3025
|
interface Tab {
|
|
3018
|
-
text
|
|
3026
|
+
text?: string;
|
|
3019
3027
|
disabled?: boolean;
|
|
3020
3028
|
template?: TemplateRef<unknown>;
|
|
3029
|
+
headerTemplate?: TemplateRef<unknown>;
|
|
3021
3030
|
}
|
|
3022
3031
|
declare class AdsTabsComponent {
|
|
3023
3032
|
tabs: Tab[];
|
|
3024
3033
|
selectedIndex: number;
|
|
3025
3034
|
selectedIndexChange: EventEmitter<number>;
|
|
3035
|
+
focusChange(event: MatTabChangeEvent): void;
|
|
3036
|
+
tabClicked(event: MouseEvent): void;
|
|
3026
3037
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsTabsComponent, never>;
|
|
3027
3038
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsTabsComponent, "ads-tabs", never, { "tabs": { "alias": "tabs"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, never, false, never>;
|
|
3028
3039
|
}
|
|
3029
3040
|
|
|
3030
3041
|
declare class AdsTabsModule {
|
|
3031
3042
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsTabsModule, never>;
|
|
3032
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTabsModule, [typeof AdsTabsComponent], [typeof i2$2.MatTabGroup, typeof i2$2.MatTab, typeof i2.NgTemplateOutlet], [typeof AdsTabsComponent]>;
|
|
3043
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTabsModule, [typeof AdsTabsComponent], [typeof i2$2.MatTabGroup, typeof i2$2.MatTab, typeof i2.NgTemplateOutlet, typeof i2$2.MatTabLabel], [typeof AdsTabsComponent]>;
|
|
3033
3044
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsTabsModule>;
|
|
3034
3045
|
}
|
|
3035
3046
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascentgl/ads-ui",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.10.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": ">=20.3.0",
|
|
6
6
|
"date-fns": ">=4.1.0",
|
|
@@ -75,6 +75,10 @@
|
|
|
75
75
|
"types": "./src/lib/components/logo/primary-logo/index.d.ts",
|
|
76
76
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs"
|
|
77
77
|
},
|
|
78
|
+
"./src/lib/components/progress-indicators/progress-bar": {
|
|
79
|
+
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
80
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
|
|
81
|
+
},
|
|
78
82
|
"./src/lib/components/progress-indicators/progress-indicator-spinner": {
|
|
79
83
|
"types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
|
|
80
84
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
|
|
@@ -83,10 +87,6 @@
|
|
|
83
87
|
"types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
|
|
84
88
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
|
|
85
89
|
},
|
|
86
|
-
"./src/lib/components/progress-indicators/progress-bar": {
|
|
87
|
-
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
88
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
|
|
89
|
-
},
|
|
90
90
|
"./src/lib/components/tags/tag-container": {
|
|
91
91
|
"types": "./src/lib/components/tags/tag-container/index.d.ts",
|
|
92
92
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs"
|