@ascentgl/ads-ui 0.0.132 → 0.0.134
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 +32 -24
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/lib/components/modal/modal.component.d.ts +4 -1
- package/lib/services/window/abstract-window-resize.component.d.ts +1 -0
- package/package.json +5 -5
- package/src/assets/sass/ads-ui/overrides/angular-material/_html.scss +1 -2
|
@@ -3,6 +3,7 @@ import { MatDialogRef } from '@angular/material/dialog';
|
|
|
3
3
|
import { AdsIconRegistry } from '@ascentgl/ads-icons';
|
|
4
4
|
import { GENERIC_COLLECTION } from '@ascentgl/ads-utils';
|
|
5
5
|
import { Variant } from '../buttons/button';
|
|
6
|
+
import { AbstractWindowResizeComponent } from '../../services/window/abstract-window-resize.component';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export type AdsModalData = {
|
|
8
9
|
id?: string;
|
|
@@ -33,13 +34,15 @@ export declare enum ModalActionType {
|
|
|
33
34
|
Confirm = "confirm",
|
|
34
35
|
Delete = "delete"
|
|
35
36
|
}
|
|
36
|
-
export declare class AdsModalComponent implements AfterViewInit {
|
|
37
|
+
export declare class AdsModalComponent extends AbstractWindowResizeComponent implements AfterViewInit {
|
|
37
38
|
private dialogRef;
|
|
38
39
|
private registry;
|
|
39
40
|
private renderer;
|
|
40
41
|
private elRef;
|
|
41
42
|
data: AdsModalData;
|
|
42
43
|
/** @ignore */
|
|
44
|
+
protected get mobileWidth(): number;
|
|
45
|
+
/** @ignore */
|
|
43
46
|
private defaultHeaderPadding;
|
|
44
47
|
/** @ignore */
|
|
45
48
|
private defaultContentPadding;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascentgl/ads-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.134",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ascentgl/ads-icons": ">=0.0.0",
|
|
6
6
|
"@ascentgl/ads-utils": ">=0.0.0",
|
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
"types": "./src/lib/components/logo/primary-logo/index.d.ts",
|
|
73
73
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs"
|
|
74
74
|
},
|
|
75
|
+
"./src/lib/components/progress-indicators/progress-bar": {
|
|
76
|
+
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
|
|
78
|
+
},
|
|
75
79
|
"./src/lib/components/progress-indicators/progress-indicator-spinner": {
|
|
76
80
|
"types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
|
|
77
81
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
|
|
@@ -80,10 +84,6 @@
|
|
|
80
84
|
"types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
|
|
81
85
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
|
|
82
86
|
},
|
|
83
|
-
"./src/lib/components/progress-indicators/progress-bar": {
|
|
84
|
-
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
85
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
|
|
86
|
-
},
|
|
87
87
|
"./src/lib/components/tags/tag-container": {
|
|
88
88
|
"types": "./src/lib/components/tags/tag-container/index.d.ts",
|
|
89
89
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs"
|
|
@@ -9,7 +9,6 @@ html {
|
|
|
9
9
|
--mdc-filled-text-field-input-text-placeholder-color: #{color(medium)} !important;
|
|
10
10
|
--mdc-filled-text-field-error-hover-label-text-color: #{color(error)} !important;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
--mat-form-field-container-height: 48px !important;
|
|
13
|
+
--mat-dialog-container-small-max-width: calc(100vw - 32px) !important;
|
|
15
14
|
}
|