@alauda/ui 5.7.7-beta.0 → 5.7.7-beta.4

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 (56) hide show
  1. package/alauda-ui.d.ts +15 -13
  2. package/alauda-ui.metadata.json +1 -1
  3. package/bundles/alauda-ui.umd.js +66 -24
  4. package/bundles/alauda-ui.umd.js.map +1 -1
  5. package/bundles/alauda-ui.umd.min.js +1 -1
  6. package/bundles/alauda-ui.umd.min.js.map +1 -1
  7. package/esm2015/alauda-ui.js +16 -14
  8. package/esm2015/alauda-ui.ngsummary.json +1 -1
  9. package/esm2015/autocomplete/suggestion/suggestion.component.js +1 -1
  10. package/esm2015/autocomplete/suggestion/suggestion.component.scss.ngstyle.js +1 -1
  11. package/esm2015/checkbox/checkbox.component.js +3 -3
  12. package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
  13. package/esm2015/checkbox/checkbox.component.scss.ngstyle.js +1 -1
  14. package/esm2015/checkbox/checkbox.module.ngfactory.js +1 -1
  15. package/esm2015/date-picker/date-picker.module.ngfactory.js +9 -8
  16. package/esm2015/date-picker/date-picker.module.ngsummary.json +1 -1
  17. package/esm2015/icon/icon.component.js +1 -1
  18. package/esm2015/icon/icon.component.scss.ngstyle.js +1 -1
  19. package/esm2015/input/input.module.js +3 -1
  20. package/esm2015/input/input.module.ngfactory.js +3 -2
  21. package/esm2015/input/input.module.ngsummary.json +1 -1
  22. package/esm2015/input/number-input/number-input.component.js +4 -3
  23. package/esm2015/input/number-input/number-input.component.ngfactory.js +26 -13
  24. package/esm2015/input/number-input/number-input.component.scss.ngstyle.js +1 -1
  25. package/esm2015/page/page.component.js +1 -1
  26. package/esm2015/page/page.component.scss.ngstyle.js +1 -1
  27. package/esm2015/paginator/paginator.module.ngfactory.js +9 -8
  28. package/esm2015/paginator/paginator.module.ngsummary.json +1 -1
  29. package/esm2015/radio/radio-button/radio-button.component.js +1 -1
  30. package/esm2015/radio/radio-button/radio-button.component.scss.ngstyle.js +1 -1
  31. package/esm2015/radio/radio.component.js +1 -1
  32. package/esm2015/radio/radio.component.scss.ngstyle.js +1 -1
  33. package/esm2015/select/multi-select/multi-select.component.js +1 -1
  34. package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
  35. package/esm2015/select/option/option.component.js +1 -1
  36. package/esm2015/select/option/option.component.scss.ngstyle.js +1 -1
  37. package/esm2015/select/select.module.ngfactory.js +8 -7
  38. package/esm2015/select/select.module.ngsummary.json +1 -1
  39. package/esm2015/shared/click-outside.directive.js +26 -0
  40. package/esm2015/shared/click-outside.directive.ngsummary.json +1 -0
  41. package/esm2015/shared/shared.module.js +11 -0
  42. package/esm2015/shared/shared.module.ngfactory.js +11 -0
  43. package/esm2015/shared/shared.module.ngsummary.json +1 -0
  44. package/esm2015/time-picker/time-picker.module.ngfactory.js +5 -4
  45. package/esm2015/time-picker/time-picker.module.ngsummary.json +1 -1
  46. package/esm2015/tree-select/tree-select.module.ngfactory.js +3 -2
  47. package/esm2015/tree-select/tree-select.module.ngsummary.json +1 -1
  48. package/fesm2015/alauda-ui.js +48 -12
  49. package/fesm2015/alauda-ui.js.map +1 -1
  50. package/input/number-input/number-input.component.d.ts +1 -0
  51. package/package.json +1 -1
  52. package/shared/click-outside.directive.d.ts +7 -0
  53. package/shared/shared.module.d.ts +2 -0
  54. package/shared/shared.module.ngfactory.d.ts +3 -0
  55. package/theme/_mixin.scss +6 -0
  56. package/theme/style.css +7 -0
@@ -13,6 +13,7 @@ export declare class NumberInputComponent extends CommonFormControl<number> impl
13
13
  placeholder: string;
14
14
  controlsPosition: string;
15
15
  inputRef: ElementRef<HTMLInputElement>;
16
+ isFocus: boolean;
16
17
  ngAfterViewInit(): void;
17
18
  valueIn(v: number): number;
18
19
  valueOut(value: number): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "5.7.7-beta.0",
3
+ "version": "5.7.7-beta.4",
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",
@@ -0,0 +1,7 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ export declare class ClickOutsideDirective {
3
+ private readonly el;
4
+ auiClickOutside: EventEmitter<Event>;
5
+ onBodyClick(event: Event): void;
6
+ constructor(el: ElementRef<HTMLElement>);
7
+ }
@@ -0,0 +1,2 @@
1
+ export declare class SharedModule {
2
+ }
@@ -0,0 +1,3 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from './shared.module';
3
+ export declare const SharedModuleNgFactory: i0.NgModuleFactory<i1.SharedModule>;
package/theme/_mixin.scss CHANGED
@@ -23,6 +23,12 @@
23
23
  @mixin modal-shadow() {
24
24
  box-shadow: 0 4px 16px 0 get-rgba(n-1, 0.2);
25
25
  }
26
+ @mixin page-header-shadow() {
27
+ box-shadow: 0 1px 4px 0 get-rgba(n-1, 0.1);
28
+ }
29
+ @mixin page-snackbar-shadow() {
30
+ box-shadow: 0 -1px 4px 0 get-rgba(n-1, 0.1);
31
+ }
26
32
 
27
33
  @mixin transition($target: all) {
28
34
  transition: $target $animation-duration $animation-interpolation;
package/theme/style.css CHANGED
@@ -52,6 +52,13 @@
52
52
  --aui-icon-size-s: 12px;
53
53
  --aui-border-radius-l: 4px;
54
54
  --aui-border-radius-m: 2px;
55
+ --aui-page-header-height: 60px;
56
+ --aui-page-toolbar-height: 44px;
57
+ --aui-page-snackbar-height: 60px;
58
+ --aui-page-sider-width: 260px;
59
+ --aui-page-padding-m: 20px;
60
+ --aui-page-padding-s: 16px;
61
+ --aui-border-m: 1px;
55
62
  --aui-color-blue: 0, 122, 245;
56
63
  --aui-color-b-0: 0, 103, 208;
57
64
  --aui-color-b-1: 38, 141, 246;