@alauda/ui 6.5.9-beta.2 → 6.5.9-beta.21

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.
@@ -15,6 +15,7 @@ export declare class NumberInputComponent extends CommonFormControl<number> impl
15
15
  placeholder: string;
16
16
  controlsPosition: string;
17
17
  angleControls: boolean;
18
+ clearable: boolean;
18
19
  inputRef: ElementRef<HTMLInputElement>;
19
20
  private readonly addonBeforeRefs;
20
21
  private readonly addonAfterRefs;
@@ -30,5 +31,5 @@ export declare class NumberInputComponent extends CommonFormControl<number> impl
30
31
  private parsePrecision;
31
32
  private getStepPrecision;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "aui-number-input", never, { "size": "size"; "min": "min"; "max": "max"; "step": "step"; "precision": "precision"; "controls": "controls"; "placeholder": "placeholder"; "controlsPosition": "controlsPosition"; "angleControls": "angleControls"; }, {}, ["addonBeforeRefs", "addonAfterRefs"], ["[auiInputAddonBefore]", "[auiInputAddonAfter]"]>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "aui-number-input", never, { "size": "size"; "min": "min"; "max": "max"; "step": "step"; "precision": "precision"; "controls": "controls"; "placeholder": "placeholder"; "controlsPosition": "controlsPosition"; "angleControls": "angleControls"; "clearable": "clearable"; }, {}, ["addonBeforeRefs", "addonAfterRefs"], ["[auiInputAddonBefore]", "[auiInputAddonAfter]"]>;
34
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.5.9-beta.2",
3
+ "version": "6.5.9-beta.21",
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",
@@ -13,3 +13,4 @@
13
13
  | controls | 是否使用控制按钮 | boolean | true |
14
14
  | placeholder | 占位符 | string | '' |
15
15
  | controlsPosition | 控制按钮位置(暂未实现) | string | - |
16
+ | clearable | 是否可以清空已输入的值 | boolean | false |
package/theme/_var.scss CHANGED
@@ -65,7 +65,7 @@ $tab-label-focus-box-shadow: inset 0 0 0 3px use-rgba(primary, 0.3);
65
65
  $tab-header-close-icon-size: 16px;
66
66
  $tab-header-title-font-size: use-var(font-size-xxl);
67
67
  $tab-header-title-spacing: 20px;
68
- $tab-header-title-padding: 20px 0 16px;
68
+ $tab-header-title-padding: 20px 0 12px;
69
69
 
70
70
  // date picker
71
71
  $date-picker-body-size: 216px;
@@ -9,6 +9,7 @@ export declare class TimePickerPanelComponent extends CommonFormControl<Dayjs> i
9
9
  get format(): string;
10
10
  private _format;
11
11
  get totalWidth(): number;
12
+ onMousedown(): boolean;
12
13
  hourStep: number;
13
14
  minuteStep: number;
14
15
  secondStep: number;