@antscorp/antsomi-ui 1.3.5-beta.241 → 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; */
@@ -484,6 +484,7 @@ export const getUrlNoCache = (url = '', cacheValue = 0) => {
484
484
  try {
485
485
  const newUrl = new URL(url);
486
486
  newUrl.searchParams.append('nocache', `${cacheValue}`);
487
+ urlNoCache = newUrl.toString();
487
488
  }
488
489
  catch (error) {
489
490
  urlNoCache = url;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.241",
3
+ "version": "1.3.5-beta.243",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",