@antscorp/antsomi-ui 1.3.5-beta.242 → 1.3.5-beta.243
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.
|
@@ -407,7 +407,7 @@ export const AdvancedPicker = props => {
|
|
|
407
407
|
React.createElement(ErrorMessage, { errorMessage: errorMessage })),
|
|
408
408
|
renderDropdownFooter()),
|
|
409
409
|
React.createElement(Divider, null),
|
|
410
|
-
timeFormat && valueType !== 'HOUR' && valueType !== 'MINUTE' ? (React.createElement(TimeLabel, { "$width": timeFormat.length * 30 },
|
|
410
|
+
timeFormat && valueType !== 'HOUR' && valueType !== 'MINUTE' ? (React.createElement(TimeLabel, { "$width": timeFormat.length * 30, "$isRangePicker": operatorKey === 'between' },
|
|
411
411
|
['HH', 'HHmm', 'HHmmss'].includes(timeFormat) ? React.createElement("span", null, "Hours") : null,
|
|
412
412
|
['HHmm', 'HHmmss', 'mm'].includes(timeFormat) ? React.createElement("span", null, "Minutes") : null,
|
|
413
413
|
timeFormat === 'HHmmss' ? React.createElement("span", null, "Seconds") : null)) : null));
|
|
@@ -9,4 +9,5 @@ export declare const DatePickerFooter: import("styled-components").StyledCompone
|
|
|
9
9
|
export declare const CalendarIconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
10
|
export declare const TimeLabel: import("styled-components").StyledComponent<"div", any, {
|
|
11
11
|
$width: number;
|
|
12
|
+
$isRangePicker: boolean;
|
|
12
13
|
}, never>;
|
|
@@ -101,7 +101,8 @@ export const CalendarIconWrapper = styled.div `
|
|
|
101
101
|
export const TimeLabel = styled.div `
|
|
102
102
|
position: absolute;
|
|
103
103
|
right: 0;
|
|
104
|
-
top: 120px;
|
|
104
|
+
/* top: 120px; */
|
|
105
|
+
top: ${props => (props.$isRangePicker ? '140px' : '120px')};
|
|
105
106
|
height: 39.1px;
|
|
106
107
|
width: ${props => `${props.$width}px`};
|
|
107
108
|
/* width: 180px; */
|