@alauda/ui 6.1.5-beta.1 → 6.1.5-beta.2
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 +72 -68
- 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/accordion/accordion-item/accordion-item.component.js +1 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.scss.ngstyle.js +1 -1
- package/esm2015/date-picker/calendar/date-picker-panel/component.js +3 -3
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +3 -3
- package/esm2015/date-picker/calendar/date-picker-panel/style.scss.ngstyle.js +1 -1
- package/esm2015/date-picker/calendar/range-picker-panel/component.js +3 -3
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +4 -4
- package/esm2015/date-picker/calendar/range-picker-panel/style.scss.ngstyle.js +1 -1
- package/esm2015/date-picker/trigger/trigger.component.js +1 -1
- package/esm2015/date-picker/trigger/trigger.style.scss.shim.ngstyle.js +1 -1
- package/esm2015/input/number-input/number-input.component.js +1 -1
- package/esm2015/input/number-input/number-input.component.scss.ngstyle.js +1 -1
- package/esm2015/input/tags-input/tags-input.component.js +1 -1
- package/esm2015/input/tags-input/tags-input.component.scss.ngstyle.js +1 -1
- package/esm2015/select/multi-select/multi-select.component.js +3 -3
- package/esm2015/select/multi-select/multi-select.component.ngfactory.js +25 -26
- package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
- package/esm2015/select/select.component.js +2 -2
- package/esm2015/select/select.component.ngfactory.js +32 -33
- package/esm2015/select/select.component.scss.ngstyle.js +1 -1
- package/esm2015/select/select.module.ngfactory.js +1 -1
- package/esm2015/time-picker/component.js +40 -30
- package/esm2015/time-picker/component.ngfactory.js +51 -58
- package/esm2015/time-picker/component.ngsummary.json +1 -1
- package/esm2015/time-picker/panel/panel.component.js +3 -3
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +2 -2
- package/esm2015/time-picker/panel/panel.style.scss.ngstyle.js +1 -1
- package/esm2015/time-picker/style.scss.ngstyle.js +1 -1
- package/esm2015/time-picker/time-picker.module.ngfactory.js +1 -1
- package/esm2015/tree-select/tree-select.component.js +6 -9
- package/esm2015/tree-select/tree-select.component.ngfactory.js +28 -29
- package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
- package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +1 -1
- package/esm2015/tree-select/tree-select.module.ngfactory.js +1 -1
- package/fesm2015/alauda-ui.js +68 -60
- package/fesm2015/alauda-ui.js.map +1 -1
- package/package.json +1 -1
- package/theme/_mixin.scss +35 -0
- package/time-picker/component.d.ts +8 -10
- package/tree-select/tree-select.component.d.ts +1 -2
package/package.json
CHANGED
package/theme/_mixin.scss
CHANGED
|
@@ -98,6 +98,41 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
@mixin input-field-indicator() {
|
|
102
|
+
&__icon-container {
|
|
103
|
+
display: block;
|
|
104
|
+
position: relative;
|
|
105
|
+
color: get-color(n-4);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&__clear {
|
|
109
|
+
display: none;
|
|
110
|
+
|
|
111
|
+
.aui-icon {
|
|
112
|
+
@include clear-button;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.isClearable:not(.isDisabled):hover & {
|
|
117
|
+
&__indicator {
|
|
118
|
+
display: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&__clear {
|
|
122
|
+
display: flex;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@mixin input-error() {
|
|
128
|
+
border-color: get-color(red) !important;
|
|
129
|
+
|
|
130
|
+
&:focus,
|
|
131
|
+
&.isFocused {
|
|
132
|
+
@include outline-shadow(red);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
101
136
|
@mixin expand-button() {
|
|
102
137
|
display: inline-flex;
|
|
103
138
|
justify-content: center;
|
|
@@ -17,21 +17,19 @@ export declare class TimePickerComponent extends CommonFormControl<TimePickerDat
|
|
|
17
17
|
minuteStep: number;
|
|
18
18
|
secondStep: number;
|
|
19
19
|
footerTemplate: TemplateRef<void>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
readonly open: EventEmitter<void>;
|
|
21
|
+
readonly close: EventEmitter<void>;
|
|
22
|
+
tooltipRef: TooltipDirective;
|
|
23
23
|
timeValue: Dayjs;
|
|
24
24
|
timeFormatValue: string;
|
|
25
|
-
focused: boolean;
|
|
26
|
-
hovered: boolean;
|
|
27
|
-
bem: import("../utils").Bem;
|
|
28
|
-
get rootClass(): string;
|
|
29
25
|
writeValue(value: TimePickerDataLike): void;
|
|
30
26
|
setValue(value: Dayjs): void;
|
|
31
27
|
changeFromPanel(value: Dayjs): void;
|
|
32
28
|
changeFromInput(source: string): void;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
30
|
+
onBlur(): void;
|
|
31
|
+
openPanel(): void;
|
|
32
|
+
closePanel(): void;
|
|
33
|
+
clearValue(event: Event): void;
|
|
36
34
|
submit(close?: boolean, value?: Dayjs): void;
|
|
37
35
|
}
|
|
@@ -37,11 +37,11 @@ export declare class TreeSelectComponent<T = unknown> extends CommonFormControl<
|
|
|
37
37
|
containerWidth: string;
|
|
38
38
|
displayText: string;
|
|
39
39
|
flattedNodes: Array<TreeNode<T>>;
|
|
40
|
+
get isClearable(): string;
|
|
40
41
|
get opened(): boolean;
|
|
41
42
|
get inputReadonly(): boolean;
|
|
42
43
|
get filterString(): string;
|
|
43
44
|
set filterString(val: string);
|
|
44
|
-
get rootClass(): string;
|
|
45
45
|
openNodes(): void;
|
|
46
46
|
closeNodes(): void;
|
|
47
47
|
updatePosition(): void;
|
|
@@ -58,7 +58,6 @@ export declare class TreeSelectComponent<T = unknown> extends CommonFormControl<
|
|
|
58
58
|
writeValue(value: T): void;
|
|
59
59
|
getPlaceholder(): string;
|
|
60
60
|
getInputValue(): string;
|
|
61
|
-
displayClearable(): string;
|
|
62
61
|
trackByLabel: (_: number, node: TreeNode<T>) => string;
|
|
63
62
|
private flatNodesData;
|
|
64
63
|
private getLabelFromNode;
|