@ascentgl/ads-ui 20.3.0 → 20.3.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/fesm2022/ascentgl-ads-ui.mjs +19 -15
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +17 -9
- package/package.json +22 -22
package/index.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ declare class AdsNumericBadgeComponent extends AdsIconHoverComponent {
|
|
|
134
134
|
/** provide icon name. NOTE: the icon must be registered in icon registry **/
|
|
135
135
|
name: i0.InputSignal<adsIcon>;
|
|
136
136
|
/** choose ads icon theme **/
|
|
137
|
-
theme: i0.InputSignal<"
|
|
137
|
+
theme: i0.InputSignal<"iconPrimary" | "primary" | "success" | "warn" | "white">;
|
|
138
138
|
/** set badge value as number **/
|
|
139
139
|
value: i0.InputSignal<number>;
|
|
140
140
|
/** @ignore **/
|
|
@@ -208,7 +208,7 @@ declare class AdsButtonComponent {
|
|
|
208
208
|
/** Whether the button is a smaller version */
|
|
209
209
|
size: i0.InputSignal<Size>;
|
|
210
210
|
/** Sets the "type" attribute on the button */
|
|
211
|
-
type: i0.InputSignal<"
|
|
211
|
+
type: i0.InputSignal<"submit" | "button" | "reset">;
|
|
212
212
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonComponent, never>;
|
|
213
213
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsButtonComponent, "ads-button", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
214
214
|
}
|
|
@@ -221,7 +221,7 @@ declare class AdsButtonModule {
|
|
|
221
221
|
|
|
222
222
|
declare class AdsButtonContainerComponent {
|
|
223
223
|
/** How buttons in the container should be placed */
|
|
224
|
-
justify: i0.InputSignal<"
|
|
224
|
+
justify: i0.InputSignal<"center" | "flex-start" | "flex-end">;
|
|
225
225
|
/** The gap between elements */
|
|
226
226
|
gap: i0.InputSignal<number>;
|
|
227
227
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonContainerComponent, never>;
|
|
@@ -2174,6 +2174,7 @@ type AdsModalData = {
|
|
|
2174
2174
|
contentPadding?: string;
|
|
2175
2175
|
actionsPadding?: string;
|
|
2176
2176
|
actionsCentered?: boolean;
|
|
2177
|
+
[key: string]: unknown;
|
|
2177
2178
|
};
|
|
2178
2179
|
declare enum ModalPanelClass {
|
|
2179
2180
|
Confirmation = "ads-confirmation"
|
|
@@ -2184,20 +2185,20 @@ declare enum ModalActionType {
|
|
|
2184
2185
|
Delete = "delete"
|
|
2185
2186
|
}
|
|
2186
2187
|
declare class AdsModalComponent extends AbstractWindowResizeComponent implements AfterViewInit {
|
|
2187
|
-
private dialogRef;
|
|
2188
|
-
private registry;
|
|
2189
|
-
private renderer;
|
|
2190
|
-
private elRef;
|
|
2191
|
-
data: AdsModalData;
|
|
2192
2188
|
/** @ignore */
|
|
2193
2189
|
protected get mobileWidth(): number;
|
|
2190
|
+
protected dialogRef: MatDialogRef<any, any>;
|
|
2191
|
+
protected registry: AdsIconRegistry;
|
|
2192
|
+
protected renderer: Renderer2;
|
|
2193
|
+
protected elRef: ElementRef<any>;
|
|
2194
|
+
data: AdsModalData;
|
|
2194
2195
|
/** @ignore */
|
|
2195
2196
|
private defaultHeaderPadding;
|
|
2196
2197
|
/** @ignore */
|
|
2197
2198
|
private defaultContentPadding;
|
|
2198
2199
|
/** @ignore */
|
|
2199
2200
|
private defaultActionPadding;
|
|
2200
|
-
constructor(
|
|
2201
|
+
constructor();
|
|
2201
2202
|
/** @ignore */
|
|
2202
2203
|
ngAfterViewInit(): void;
|
|
2203
2204
|
/** @ignore */
|
|
@@ -2484,6 +2485,7 @@ type ScmsNavItem = {
|
|
|
2484
2485
|
href?: string;
|
|
2485
2486
|
subItems?: ScmsNavSubItem[];
|
|
2486
2487
|
showDividerAfterItem?: boolean;
|
|
2488
|
+
stickToBottom?: boolean;
|
|
2487
2489
|
};
|
|
2488
2490
|
type ScmsNavSubItem = {
|
|
2489
2491
|
label: string;
|
|
@@ -2517,6 +2519,12 @@ declare class AdsScmsSideNavBarComponent extends AbstractSideNavBarComponent {
|
|
|
2517
2519
|
/** @ignore */
|
|
2518
2520
|
isMobile: i0.WritableSignal<boolean>;
|
|
2519
2521
|
/** @ignore */
|
|
2522
|
+
regularNavItems: i0.Signal<ScmsNavItem[]>;
|
|
2523
|
+
/** @ignore */
|
|
2524
|
+
bottomNavItems: i0.Signal<ScmsNavItem[]>;
|
|
2525
|
+
/** @ignore */
|
|
2526
|
+
hasBottomItems: i0.Signal<boolean>;
|
|
2527
|
+
/** @ignore */
|
|
2520
2528
|
hasActiveLink(item: ScmsNavItem): boolean;
|
|
2521
2529
|
/** @ignore */
|
|
2522
2530
|
hasActiveSubLink(item: ScmsNavSubItem): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascentgl/ads-ui",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ascentgl/ads-icons": ">=0.0.0",
|
|
6
6
|
"@ascentgl/ads-utils": ">=0.0.0",
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
"types": "./src/lib/components/avatar/index.d.ts",
|
|
33
33
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs"
|
|
34
34
|
},
|
|
35
|
+
"./src/lib/components/drag-and-drop-list": {
|
|
36
|
+
"types": "./src/lib/components/drag-and-drop-list/index.d.ts",
|
|
37
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs"
|
|
38
|
+
},
|
|
35
39
|
"./src/lib/components/footer": {
|
|
36
40
|
"types": "./src/lib/components/footer/index.d.ts",
|
|
37
41
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs"
|
|
@@ -40,13 +44,17 @@
|
|
|
40
44
|
"types": "./src/lib/components/header/index.d.ts",
|
|
41
45
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs"
|
|
42
46
|
},
|
|
47
|
+
"./src/lib/components/splash-page": {
|
|
48
|
+
"types": "./src/lib/components/splash-page/index.d.ts",
|
|
49
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs"
|
|
50
|
+
},
|
|
43
51
|
"./src/lib/components/shell-layout": {
|
|
44
52
|
"types": "./src/lib/components/shell-layout/index.d.ts",
|
|
45
53
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs"
|
|
46
54
|
},
|
|
47
|
-
"./src/lib/components/
|
|
48
|
-
"types": "./src/lib/components/
|
|
49
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-
|
|
55
|
+
"./src/lib/components/buttons/button-container": {
|
|
56
|
+
"types": "./src/lib/components/buttons/button-container/index.d.ts",
|
|
57
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs"
|
|
50
58
|
},
|
|
51
59
|
"./src/lib/components/error-page/error-page-code": {
|
|
52
60
|
"types": "./src/lib/components/error-page/error-page-code/index.d.ts",
|
|
@@ -56,33 +64,25 @@
|
|
|
56
64
|
"types": "./src/lib/components/footer/container/index.d.ts",
|
|
57
65
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs"
|
|
58
66
|
},
|
|
59
|
-
"./src/lib/components/buttons/button-container": {
|
|
60
|
-
"types": "./src/lib/components/buttons/button-container/index.d.ts",
|
|
61
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs"
|
|
62
|
-
},
|
|
63
|
-
"./src/lib/components/drag-and-drop-list": {
|
|
64
|
-
"types": "./src/lib/components/drag-and-drop-list/index.d.ts",
|
|
65
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs"
|
|
66
|
-
},
|
|
67
67
|
"./src/lib/components/header/container": {
|
|
68
68
|
"types": "./src/lib/components/header/container/index.d.ts",
|
|
69
69
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs"
|
|
70
70
|
},
|
|
71
|
-
"./src/lib/components/
|
|
72
|
-
"types": "./src/lib/components/
|
|
73
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-
|
|
74
|
-
},
|
|
75
|
-
"./src/lib/components/progress-indicators/progress-indicator-spinner": {
|
|
76
|
-
"types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
|
|
77
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
|
|
71
|
+
"./src/lib/components/progress-indicators/progress-bar": {
|
|
72
|
+
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
73
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
|
|
78
74
|
},
|
|
79
75
|
"./src/lib/components/progress-indicators/progress-spinner": {
|
|
80
76
|
"types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
|
|
81
77
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
|
|
82
78
|
},
|
|
83
|
-
"./src/lib/components/progress-indicators/progress-
|
|
84
|
-
"types": "./src/lib/components/progress-indicators/progress-
|
|
85
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-
|
|
79
|
+
"./src/lib/components/progress-indicators/progress-indicator-spinner": {
|
|
80
|
+
"types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
|
|
81
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
|
|
82
|
+
},
|
|
83
|
+
"./src/lib/components/logo/primary-logo": {
|
|
84
|
+
"types": "./src/lib/components/logo/primary-logo/index.d.ts",
|
|
85
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs"
|
|
86
86
|
},
|
|
87
87
|
"./src/lib/components/tags/tag-container": {
|
|
88
88
|
"types": "./src/lib/components/tags/tag-container/index.d.ts",
|