@alauda/ui 5.7.7-beta.5 → 5.7.7-beta.9
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/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +16 -11
- package/bundles/alauda-ui.umd.js.map +1 -1
- package/bundles/alauda-ui.umd.min.js +1 -1
- package/bundles/alauda-ui.umd.min.js.map +1 -1
- package/esm2015/autocomplete/suggestion/suggestion.component.js +1 -1
- package/esm2015/autocomplete/suggestion/suggestion.component.scss.ngstyle.js +1 -1
- package/esm2015/checkbox/checkbox.component.js +3 -3
- package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
- package/esm2015/checkbox/checkbox.component.scss.ngstyle.js +1 -1
- package/esm2015/checkbox/checkbox.module.ngfactory.js +1 -1
- package/esm2015/icon/icon.component.js +1 -1
- package/esm2015/icon/icon.component.scss.ngstyle.js +1 -1
- package/esm2015/notification/notification.component.js +8 -3
- package/esm2015/notification/notification.component.ngfactory.js +10 -8
- package/esm2015/notification/notification.component.scss.ngstyle.js +1 -1
- package/esm2015/notification/notification.config.js +1 -1
- package/esm2015/notification/notification.module.ngfactory.js +1 -1
- package/esm2015/radio/radio-button/radio-button.component.js +1 -1
- package/esm2015/radio/radio-button/radio-button.component.scss.ngstyle.js +1 -1
- package/esm2015/radio/radio.component.js +1 -1
- package/esm2015/radio/radio.component.scss.ngstyle.js +1 -1
- package/esm2015/select/multi-select/multi-select.component.js +1 -1
- package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
- package/esm2015/select/option/option.component.js +1 -1
- package/esm2015/select/option/option.component.scss.ngstyle.js +1 -1
- package/esm2015/switch/switch.component.js +1 -1
- package/esm2015/switch/switch.component.scss.ngstyle.js +1 -1
- package/fesm2015/alauda-ui.js +16 -11
- package/fesm2015/alauda-ui.js.map +1 -1
- package/notification/notification.component.d.ts +2 -0
- package/notification/notification.config.d.ts +1 -0
- package/package.json +1 -1
- package/theme/_var.scss +0 -27
- package/theme/style.css +1 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
1
2
|
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ViewContainerRef } from '@angular/core';
|
|
2
3
|
import { MessageComponent } from '../message/message.component';
|
|
3
4
|
import { Bem } from '../utils';
|
|
@@ -14,6 +15,7 @@ export declare class NotificationComponent extends MessageComponent implements A
|
|
|
14
15
|
remains: number;
|
|
15
16
|
childComponentInstance: unknown;
|
|
16
17
|
customClass: string;
|
|
18
|
+
footerPortal: TemplatePortal<unknown>;
|
|
17
19
|
private readonly portalOutlet;
|
|
18
20
|
private readonly modalEl;
|
|
19
21
|
constructor(viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef, cfr: ComponentFactoryResolver);
|
|
@@ -4,6 +4,7 @@ import { MessageConfig, MessageGlobalConfig } from '../message/public-api';
|
|
|
4
4
|
export interface NotificationConfig extends MessageConfig {
|
|
5
5
|
title?: string;
|
|
6
6
|
contentRef?: TemplateRef<any> | ComponentType<void>;
|
|
7
|
+
footerRef?: TemplateRef<any>;
|
|
7
8
|
context?: unknown;
|
|
8
9
|
customClass?: string;
|
|
9
10
|
}
|
package/package.json
CHANGED
package/theme/_var.scss
CHANGED
|
@@ -175,18 +175,6 @@ $checkbox-outline-color: $outline-color-primary;
|
|
|
175
175
|
$checkbox-tag-bg-color: $color-disabled-bg;
|
|
176
176
|
$checkbox-tag-bg-color-hover: $color-primary-extra-light;
|
|
177
177
|
|
|
178
|
-
// Switch
|
|
179
|
-
$switch-duration: 0.3s;
|
|
180
|
-
$switch-background-color: #ccc;
|
|
181
|
-
$switch-border-color: #ccc;
|
|
182
|
-
$switch-checked-color: $color-primary;
|
|
183
|
-
$switch-box-shadow-color: rgba(0, 0, 0, 0.4);
|
|
184
|
-
$switch-disabled-bg-color: #f2f2f2;
|
|
185
|
-
$switch-checked-disabled-bg-color: $color-primary-lighter;
|
|
186
|
-
$switch-bar-width: 30px;
|
|
187
|
-
$switch-bar-height: 16px;
|
|
188
|
-
$switch-bar-focus-shadow: #b3d4ff;
|
|
189
|
-
|
|
190
178
|
$default-border-color: #ccc;
|
|
191
179
|
$disabled-border-color: #ccc;
|
|
192
180
|
$hover-border-color: $color-primary;
|
|
@@ -319,21 +307,6 @@ $section-border-color: $card-border-color;
|
|
|
319
307
|
$section-border-style: $border-style-dashed;
|
|
320
308
|
$section-border-width: $border-width;
|
|
321
309
|
|
|
322
|
-
// Notification
|
|
323
|
-
$notification-margin: 0 20px 10px 0;
|
|
324
|
-
$notification-padding: 16px 20px 16px 16px;
|
|
325
|
-
$notification-border-left-width: 4px;
|
|
326
|
-
$notification-content-max-height: 150px;
|
|
327
|
-
$notification-content-padding-right: 4px;
|
|
328
|
-
|
|
329
|
-
$notification-title-color: #4d4d4d;
|
|
330
|
-
$notification-title-margin-bottom: 4px;
|
|
331
|
-
$notification-body-width: 308px;
|
|
332
|
-
$notification-body-margin: 0 16px 0 8px;
|
|
333
|
-
$notification-close-right: 10px;
|
|
334
|
-
$notification-close-width: 12px;
|
|
335
|
-
$notification-close-hover-color: $color-primary;
|
|
336
|
-
|
|
337
310
|
// Icon
|
|
338
311
|
$icon-margin-hoz: 4px;
|
|
339
312
|
|