@ascentgl/ads-ui 0.0.19 → 0.0.21
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/esm2022/index.mjs +2 -1
- package/esm2022/lib/components/error-page/error-page.component.mjs +2 -2
- package/esm2022/lib/components/logo/ascent-logo/ascent-logo.component.mjs +24 -13
- package/esm2022/lib/components/nav-bar/horizontal-nav-bar/horizontal-nav-bar.component.mjs +32 -0
- package/esm2022/lib/components/nav-bar/horizontal-nav-bar/horizontal-nav-bar.module.mjs +19 -0
- package/esm2022/lib/components/nav-bar/horizontal-nav-bar/index.mjs +2 -0
- package/esm2022/lib/components/nav-bar/horizontal-nav-bar/public-api.mjs +3 -0
- package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.component.mjs +3 -3
- package/esm2022/lib/components/nav-bar/side-nav-bar/abstract-side-nav-bar.component.mjs +10 -8
- package/esm2022/lib/components/nav-bar/side-nav-bar/side-nav-bar.component.mjs +3 -3
- package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.component.mjs +2 -2
- package/esm2022/lib/components/tags/create-tag/create-tag.component.mjs +2 -2
- package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.component.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui.mjs +86 -30
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/components/logo/ascent-logo/ascent-logo.component.d.ts +10 -11
- package/lib/components/nav-bar/horizontal-nav-bar/horizontal-nav-bar.component.d.ts +21 -0
- package/lib/components/nav-bar/horizontal-nav-bar/horizontal-nav-bar.module.d.ts +9 -0
- package/lib/components/nav-bar/horizontal-nav-bar/index.d.ts +1 -0
- package/lib/components/nav-bar/horizontal-nav-bar/public-api.d.ts +2 -0
- package/lib/components/nav-bar/side-nav-bar/abstract-side-nav-bar.component.d.ts +2 -1
- package/package.json +25 -25
- package/src/assets/sass/ads-ui/overrides/_angular-material.scss +0 -1
- package/src/assets/sass/ads-ui/overrides/angular-material/_tabs.scss +0 -57
package/index.d.ts
CHANGED
|
@@ -55,3 +55,4 @@ export * from './lib/components/nav-bar/scms-side-nav-bar';
|
|
|
55
55
|
export * from './lib/components/steppers/numeric-stepper';
|
|
56
56
|
export * from './lib/components/steppers/vertical-stepper';
|
|
57
57
|
export * from './lib/components/steppers/stepper';
|
|
58
|
+
export * from './lib/components/nav-bar/horizontal-nav-bar';
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
1
2
|
import { AbstractLogoComponent } from '../primary-logo/abstract-logo-component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export declare class AdsAscentLogoComponent extends AbstractLogoComponent implements OnInit {
|
|
5
|
+
/** @ignore */
|
|
6
|
+
isDarkMode: boolean;
|
|
7
|
+
/** @ignore */
|
|
8
|
+
isStorybook: boolean;
|
|
8
9
|
/** @ignore */
|
|
9
|
-
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
/** @ignore */
|
|
12
|
+
private updateThemeFromClassList;
|
|
10
13
|
/**
|
|
11
14
|
* Logo size
|
|
12
15
|
*/
|
|
13
16
|
size: import("@angular/core").InputSignal<"small" | "large">;
|
|
14
|
-
/**
|
|
15
|
-
* Logo color
|
|
16
|
-
*/
|
|
17
|
-
color: import("@angular/core").InputSignal<AdsAscentLogoColor>;
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsAscentLogoComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdsAscentLogoComponent, "ads-ascent-logo", never, { "size": { "alias": "size"; "required": false; "isSignal": true; };
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsAscentLogoComponent, "ads-ascent-logo", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
20
19
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type HorizontalNavLink = {
|
|
5
|
+
text: string;
|
|
6
|
+
route: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare class AdsHorizontalNavBarComponent implements OnInit {
|
|
10
|
+
private router;
|
|
11
|
+
/** @ignore */
|
|
12
|
+
constructor(router: Router);
|
|
13
|
+
/**
|
|
14
|
+
* Array of nav items to display in the nav bar
|
|
15
|
+
*/
|
|
16
|
+
links: HorizontalNavLink[];
|
|
17
|
+
/** @ignore */
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsHorizontalNavBarComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsHorizontalNavBarComponent, "ads-horizontal-nav-bar", never, { "links": { "alias": "links"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./horizontal-nav-bar.component";
|
|
3
|
+
import * as i2 from "@angular/material/tabs";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
export declare class AdsHorizontalNavBarModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsHorizontalNavBarModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsHorizontalNavBarModule, [typeof i1.AdsHorizontalNavBarComponent], [typeof i2.MatTabNav, typeof i2.MatTabLink, typeof i3.RouterOutlet, typeof i3.RouterLink, typeof i3.RouterLinkActive, typeof i2.MatTabNavPanel], [typeof i1.AdsHorizontalNavBarComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdsHorizontalNavBarModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { SplitComponent } from 'angular-split';
|
|
2
|
+
import { SplitComponent, SplitGutterInteractionEvent } from 'angular-split';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare abstract class AbstractSideNavBarComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
@@ -25,6 +25,7 @@ export declare abstract class AbstractSideNavBarComponent implements OnInit, Aft
|
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
/** @ignore */
|
|
27
27
|
ngAfterViewInit(): void;
|
|
28
|
+
dragEnd(event: SplitGutterInteractionEvent): void;
|
|
28
29
|
/** Expand the sidebar between collapsed and expanded */
|
|
29
30
|
/** @ignore */
|
|
30
31
|
expandSidebar(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascentgl/ads-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ascentgl/ads-icons": ">=0.0.0",
|
|
6
6
|
"@ascentgl/ads-utils": ">=0.0.0",
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
"esm": "./esm2022/src/lib/components/drag-and-drop-list/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs",
|
|
42
42
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs"
|
|
43
43
|
},
|
|
44
|
-
"./src/lib/components/footer": {
|
|
45
|
-
"types": "./src/lib/components/footer/index.d.ts",
|
|
46
|
-
"esm2022": "./esm2022/src/lib/components/footer/ascentgl-ads-ui-src-lib-components-footer.mjs",
|
|
47
|
-
"esm": "./esm2022/src/lib/components/footer/ascentgl-ads-ui-src-lib-components-footer.mjs",
|
|
48
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs"
|
|
49
|
-
},
|
|
50
44
|
"./src/lib/components/header": {
|
|
51
45
|
"types": "./src/lib/components/header/index.d.ts",
|
|
52
46
|
"esm2022": "./esm2022/src/lib/components/header/ascentgl-ads-ui-src-lib-components-header.mjs",
|
|
53
47
|
"esm": "./esm2022/src/lib/components/header/ascentgl-ads-ui-src-lib-components-header.mjs",
|
|
54
48
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs"
|
|
55
49
|
},
|
|
50
|
+
"./src/lib/components/footer": {
|
|
51
|
+
"types": "./src/lib/components/footer/index.d.ts",
|
|
52
|
+
"esm2022": "./esm2022/src/lib/components/footer/ascentgl-ads-ui-src-lib-components-footer.mjs",
|
|
53
|
+
"esm": "./esm2022/src/lib/components/footer/ascentgl-ads-ui-src-lib-components-footer.mjs",
|
|
54
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs"
|
|
55
|
+
},
|
|
56
56
|
"./src/lib/components/shell-layout": {
|
|
57
57
|
"types": "./src/lib/components/shell-layout/index.d.ts",
|
|
58
58
|
"esm2022": "./esm2022/src/lib/components/shell-layout/ascentgl-ads-ui-src-lib-components-shell-layout.mjs",
|
|
@@ -65,24 +65,18 @@
|
|
|
65
65
|
"esm": "./esm2022/src/lib/components/splash-page/ascentgl-ads-ui-src-lib-components-splash-page.mjs",
|
|
66
66
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs"
|
|
67
67
|
},
|
|
68
|
-
"./src/lib/components/error-page/error-page-code": {
|
|
69
|
-
"types": "./src/lib/components/error-page/error-page-code/index.d.ts",
|
|
70
|
-
"esm2022": "./esm2022/src/lib/components/error-page/error-page-code/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs",
|
|
71
|
-
"esm": "./esm2022/src/lib/components/error-page/error-page-code/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs",
|
|
72
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs"
|
|
73
|
-
},
|
|
74
|
-
"./src/lib/components/footer/container": {
|
|
75
|
-
"types": "./src/lib/components/footer/container/index.d.ts",
|
|
76
|
-
"esm2022": "./esm2022/src/lib/components/footer/container/ascentgl-ads-ui-src-lib-components-footer-container.mjs",
|
|
77
|
-
"esm": "./esm2022/src/lib/components/footer/container/ascentgl-ads-ui-src-lib-components-footer-container.mjs",
|
|
78
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs"
|
|
79
|
-
},
|
|
80
68
|
"./src/lib/components/buttons/button-container": {
|
|
81
69
|
"types": "./src/lib/components/buttons/button-container/index.d.ts",
|
|
82
70
|
"esm2022": "./esm2022/src/lib/components/buttons/button-container/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs",
|
|
83
71
|
"esm": "./esm2022/src/lib/components/buttons/button-container/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs",
|
|
84
72
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs"
|
|
85
73
|
},
|
|
74
|
+
"./src/lib/components/error-page/error-page-code": {
|
|
75
|
+
"types": "./src/lib/components/error-page/error-page-code/index.d.ts",
|
|
76
|
+
"esm2022": "./esm2022/src/lib/components/error-page/error-page-code/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs",
|
|
77
|
+
"esm": "./esm2022/src/lib/components/error-page/error-page-code/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs",
|
|
78
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs"
|
|
79
|
+
},
|
|
86
80
|
"./src/lib/components/header/container": {
|
|
87
81
|
"types": "./src/lib/components/header/container/index.d.ts",
|
|
88
82
|
"esm2022": "./esm2022/src/lib/components/header/container/ascentgl-ads-ui-src-lib-components-header-container.mjs",
|
|
@@ -95,6 +89,18 @@
|
|
|
95
89
|
"esm": "./esm2022/src/lib/components/logo/primary-logo/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs",
|
|
96
90
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs"
|
|
97
91
|
},
|
|
92
|
+
"./src/lib/components/footer/container": {
|
|
93
|
+
"types": "./src/lib/components/footer/container/index.d.ts",
|
|
94
|
+
"esm2022": "./esm2022/src/lib/components/footer/container/ascentgl-ads-ui-src-lib-components-footer-container.mjs",
|
|
95
|
+
"esm": "./esm2022/src/lib/components/footer/container/ascentgl-ads-ui-src-lib-components-footer-container.mjs",
|
|
96
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs"
|
|
97
|
+
},
|
|
98
|
+
"./src/lib/components/progress-indicators/progress-indicator-spinner": {
|
|
99
|
+
"types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
|
|
100
|
+
"esm2022": "./esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs",
|
|
101
|
+
"esm": "./esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs",
|
|
102
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
|
|
103
|
+
},
|
|
98
104
|
"./src/lib/components/progress-indicators/progress-bar": {
|
|
99
105
|
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
100
106
|
"esm2022": "./esm2022/src/lib/components/progress-indicators/progress-bar/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs",
|
|
@@ -107,12 +113,6 @@
|
|
|
107
113
|
"esm": "./esm2022/src/lib/components/progress-indicators/progress-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs",
|
|
108
114
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
|
|
109
115
|
},
|
|
110
|
-
"./src/lib/components/progress-indicators/progress-indicator-spinner": {
|
|
111
|
-
"types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
|
|
112
|
-
"esm2022": "./esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs",
|
|
113
|
-
"esm": "./esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs",
|
|
114
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
|
|
115
|
-
},
|
|
116
116
|
"./src/lib/components/tags/tag-container": {
|
|
117
117
|
"types": "./src/lib/components/tags/tag-container/index.d.ts",
|
|
118
118
|
"esm2022": "./esm2022/src/lib/components/tags/tag-container/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs",
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@import 'angular-material/dropdown';
|
|
3
3
|
@import 'angular-material/snackbar';
|
|
4
4
|
@import 'angular-material/datetimepicker';
|
|
5
|
-
@import 'angular-material/tabs';
|
|
6
5
|
@import 'angular-material/tooltip';
|
|
7
6
|
@import 'angular-material/expansion-panel';
|
|
8
7
|
@import 'angular-material/search-dropdown-modal';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
@import '../../abstracts/variables';
|
|
2
|
-
@import '../../abstracts/functions';
|
|
3
|
-
|
|
4
|
-
.mdc-tab {
|
|
5
|
-
padding: 0 32px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.mat-mdc-tab-header {
|
|
9
|
-
--mdc-secondary-navigation-tab-container-height: 45px !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.mat-mdc-tab-link {
|
|
13
|
-
&:hover {
|
|
14
|
-
.mdc-tab-indicator__content {
|
|
15
|
-
opacity: 1;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.mdc-tab-indicator__content--underline {
|
|
19
|
-
--mdc-tab-indicator-active-indicator-color: #{color(secondary-hover)} !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.mdc-tab__ripple::before {
|
|
23
|
-
opacity: 1 !important;
|
|
24
|
-
background-color: color(light-30) !important;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:focus,
|
|
29
|
-
&:active {
|
|
30
|
-
.mdc-tab__ripple::before {
|
|
31
|
-
opacity: 1 !important;
|
|
32
|
-
background-color: color(light) !important;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.mdc-tab-indicator__content--underline {
|
|
38
|
-
--mdc-tab-indicator-active-indicator-color: #{color(secondary)} !important;
|
|
39
|
-
--mat-tab-header-active-focus-indicator-color: #{color(secondary-pressed)} !important;
|
|
40
|
-
--mat-tab-header-active-hover-indicator-color: #{color(secondary-hover)} !important;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.mdc-tab__text-label {
|
|
44
|
-
--mat-tab-header-active-label-text-color: #{color(medium)} !important;
|
|
45
|
-
--mat-tab-header-inactive-label-text-color: #{color(medium)} !important;
|
|
46
|
-
--mat-tab-header-active-focus-label-text-color: #{color(medium)} !important;
|
|
47
|
-
--mat-tab-header-active-hover-label-text-color: #{color(medium)} !important;
|
|
48
|
-
--mat-tab-header-inactive-hover-label-text-color: #{color(medium)} !important;
|
|
49
|
-
--mat-tab-header-inactive-focus-label-text-color: #{color(medium)} !important;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.mat-mdc-tab-link {
|
|
53
|
-
--mat-tab-header-label-text-size: 16px;
|
|
54
|
-
--mat-tab-header-label-text-weight: font-weight(regular);
|
|
55
|
-
--mat-tab-header-label-text-line-height: 21px;
|
|
56
|
-
--mat-tab-header-label-text-tracking: normal;
|
|
57
|
-
}
|