@ascentgl/ads-ui 20.2.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 +51 -37
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +18 -9
- package/package.json +12 -12
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>;
|
|
@@ -1805,6 +1805,7 @@ declare class AdsDatetimepickerComponent extends AbstractInputComponent implemen
|
|
|
1805
1805
|
offset: SimpleChange;
|
|
1806
1806
|
showTimePicker: SimpleChange;
|
|
1807
1807
|
immediateValidation: SimpleChange;
|
|
1808
|
+
allowPastValues: SimpleChange;
|
|
1808
1809
|
}): void;
|
|
1809
1810
|
/** @ignore */
|
|
1810
1811
|
ngOnDestroy(): void;
|
|
@@ -2173,6 +2174,7 @@ type AdsModalData = {
|
|
|
2173
2174
|
contentPadding?: string;
|
|
2174
2175
|
actionsPadding?: string;
|
|
2175
2176
|
actionsCentered?: boolean;
|
|
2177
|
+
[key: string]: unknown;
|
|
2176
2178
|
};
|
|
2177
2179
|
declare enum ModalPanelClass {
|
|
2178
2180
|
Confirmation = "ads-confirmation"
|
|
@@ -2183,20 +2185,20 @@ declare enum ModalActionType {
|
|
|
2183
2185
|
Delete = "delete"
|
|
2184
2186
|
}
|
|
2185
2187
|
declare class AdsModalComponent extends AbstractWindowResizeComponent implements AfterViewInit {
|
|
2186
|
-
private dialogRef;
|
|
2187
|
-
private registry;
|
|
2188
|
-
private renderer;
|
|
2189
|
-
private elRef;
|
|
2190
|
-
data: AdsModalData;
|
|
2191
2188
|
/** @ignore */
|
|
2192
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;
|
|
2193
2195
|
/** @ignore */
|
|
2194
2196
|
private defaultHeaderPadding;
|
|
2195
2197
|
/** @ignore */
|
|
2196
2198
|
private defaultContentPadding;
|
|
2197
2199
|
/** @ignore */
|
|
2198
2200
|
private defaultActionPadding;
|
|
2199
|
-
constructor(
|
|
2201
|
+
constructor();
|
|
2200
2202
|
/** @ignore */
|
|
2201
2203
|
ngAfterViewInit(): void;
|
|
2202
2204
|
/** @ignore */
|
|
@@ -2483,6 +2485,7 @@ type ScmsNavItem = {
|
|
|
2483
2485
|
href?: string;
|
|
2484
2486
|
subItems?: ScmsNavSubItem[];
|
|
2485
2487
|
showDividerAfterItem?: boolean;
|
|
2488
|
+
stickToBottom?: boolean;
|
|
2486
2489
|
};
|
|
2487
2490
|
type ScmsNavSubItem = {
|
|
2488
2491
|
label: string;
|
|
@@ -2516,6 +2519,12 @@ declare class AdsScmsSideNavBarComponent extends AbstractSideNavBarComponent {
|
|
|
2516
2519
|
/** @ignore */
|
|
2517
2520
|
isMobile: i0.WritableSignal<boolean>;
|
|
2518
2521
|
/** @ignore */
|
|
2522
|
+
regularNavItems: i0.Signal<ScmsNavItem[]>;
|
|
2523
|
+
/** @ignore */
|
|
2524
|
+
bottomNavItems: i0.Signal<ScmsNavItem[]>;
|
|
2525
|
+
/** @ignore */
|
|
2526
|
+
hasBottomItems: i0.Signal<boolean>;
|
|
2527
|
+
/** @ignore */
|
|
2519
2528
|
hasActiveLink(item: ScmsNavItem): boolean;
|
|
2520
2529
|
/** @ignore */
|
|
2521
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
|
+
"version": "20.3.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ascentgl/ads-icons": ">=0.0.0",
|
|
6
6
|
"@ascentgl/ads-utils": ">=0.0.0",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"types": "./src/lib/components/header/index.d.ts",
|
|
45
45
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs"
|
|
46
46
|
},
|
|
47
|
-
"./src/lib/components/shell-layout": {
|
|
48
|
-
"types": "./src/lib/components/shell-layout/index.d.ts",
|
|
49
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs"
|
|
50
|
-
},
|
|
51
47
|
"./src/lib/components/splash-page": {
|
|
52
48
|
"types": "./src/lib/components/splash-page/index.d.ts",
|
|
53
49
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs"
|
|
54
50
|
},
|
|
51
|
+
"./src/lib/components/shell-layout": {
|
|
52
|
+
"types": "./src/lib/components/shell-layout/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs"
|
|
54
|
+
},
|
|
55
55
|
"./src/lib/components/buttons/button-container": {
|
|
56
56
|
"types": "./src/lib/components/buttons/button-container/index.d.ts",
|
|
57
57
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs"
|
|
@@ -68,21 +68,21 @@
|
|
|
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/logo/primary-logo": {
|
|
72
|
-
"types": "./src/lib/components/logo/primary-logo/index.d.ts",
|
|
73
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs"
|
|
74
|
-
},
|
|
75
71
|
"./src/lib/components/progress-indicators/progress-bar": {
|
|
76
72
|
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
77
73
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
|
|
78
74
|
},
|
|
75
|
+
"./src/lib/components/progress-indicators/progress-spinner": {
|
|
76
|
+
"types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
|
|
78
|
+
},
|
|
79
79
|
"./src/lib/components/progress-indicators/progress-indicator-spinner": {
|
|
80
80
|
"types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
|
|
81
81
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
|
|
82
82
|
},
|
|
83
|
-
"./src/lib/components/
|
|
84
|
-
"types": "./src/lib/components/
|
|
85
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-
|
|
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",
|