@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.
Files changed (35) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +16 -11
  3. package/bundles/alauda-ui.umd.js.map +1 -1
  4. package/bundles/alauda-ui.umd.min.js +1 -1
  5. package/bundles/alauda-ui.umd.min.js.map +1 -1
  6. package/esm2015/autocomplete/suggestion/suggestion.component.js +1 -1
  7. package/esm2015/autocomplete/suggestion/suggestion.component.scss.ngstyle.js +1 -1
  8. package/esm2015/checkbox/checkbox.component.js +3 -3
  9. package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
  10. package/esm2015/checkbox/checkbox.component.scss.ngstyle.js +1 -1
  11. package/esm2015/checkbox/checkbox.module.ngfactory.js +1 -1
  12. package/esm2015/icon/icon.component.js +1 -1
  13. package/esm2015/icon/icon.component.scss.ngstyle.js +1 -1
  14. package/esm2015/notification/notification.component.js +8 -3
  15. package/esm2015/notification/notification.component.ngfactory.js +10 -8
  16. package/esm2015/notification/notification.component.scss.ngstyle.js +1 -1
  17. package/esm2015/notification/notification.config.js +1 -1
  18. package/esm2015/notification/notification.module.ngfactory.js +1 -1
  19. package/esm2015/radio/radio-button/radio-button.component.js +1 -1
  20. package/esm2015/radio/radio-button/radio-button.component.scss.ngstyle.js +1 -1
  21. package/esm2015/radio/radio.component.js +1 -1
  22. package/esm2015/radio/radio.component.scss.ngstyle.js +1 -1
  23. package/esm2015/select/multi-select/multi-select.component.js +1 -1
  24. package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
  25. package/esm2015/select/option/option.component.js +1 -1
  26. package/esm2015/select/option/option.component.scss.ngstyle.js +1 -1
  27. package/esm2015/switch/switch.component.js +1 -1
  28. package/esm2015/switch/switch.component.scss.ngstyle.js +1 -1
  29. package/fesm2015/alauda-ui.js +16 -11
  30. package/fesm2015/alauda-ui.js.map +1 -1
  31. package/notification/notification.component.d.ts +2 -0
  32. package/notification/notification.config.d.ts +1 -0
  33. package/package.json +1 -1
  34. package/theme/_var.scss +0 -27
  35. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "5.7.7-beta.5",
3
+ "version": "5.7.7-beta.9",
4
4
  "description": "Angular UI components by Alauda Frontend Team.",
5
5
  "repository": "git+https://github.com/alauda/alauda-ui.git",
6
6
  "author": "Alauda Frontend",
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
 
package/theme/style.css CHANGED
@@ -62,6 +62,7 @@
62
62
  --aui-form-item-width-l: 732px;
63
63
  --aui-form-item-width-m: 436px;
64
64
  --aui-form-item-width-s: 140px;
65
+ --aui-border-m: 1px;
65
66
  --aui-color-blue: 0, 122, 245;
66
67
  --aui-color-b-0: 0, 103, 208;
67
68
  --aui-color-b-1: 38, 141, 246;