+ {overlay && (
+
+ )}
+
+ {
+ !hideClose && (
+
+
+
+ )
+ }
+
+ {children}
+
+
+
+ )
+ }}
+
+
+ )
+ }
+}
+
+export default themeable(PopUp);
diff --git a/src/renderers/Form/InputColor.tsx b/src/renderers/Form/InputColor.tsx
index 1b2070a90..94e6ab781 100644
--- a/src/renderers/Form/InputColor.tsx
+++ b/src/renderers/Form/InputColor.tsx
@@ -68,12 +68,11 @@ export default class ColorControl extends React.PureComponent<
};
render() {
- const {className, classPrefix: ns, value, ...rest} = this.props;
-
+ const {className, classPrefix: ns, value, env, ...rest} = this.props;
return (
...
}>
-
+
);
diff --git a/src/renderers/Form/InputDate.tsx b/src/renderers/Form/InputDate.tsx
index 6cd4e50c9..1464f41fc 100644
--- a/src/renderers/Form/InputDate.tsx
+++ b/src/renderers/Form/InputDate.tsx
@@ -424,6 +424,7 @@ export default class DateControl extends React.PureComponent<
format,
timeFormat,
valueFormat,
+ env,
largeMode,
render,
...rest
@@ -441,6 +442,7 @@ export default class DateControl extends React.PureComponent<
format={valueFormat || format}
{...this.state}
classnames={cx}
+ useMobileUI={env.useMobileUI}
schedules={this.state.schedules}
largeMode={largeMode}
onScheduleClick={this.onScheduleClick.bind(this)}
diff --git a/src/renderers/Form/InputDateRange.tsx b/src/renderers/Form/InputDateRange.tsx
index 91fc1e4c3..146ae4ba2 100644
--- a/src/renderers/Form/InputDateRange.tsx
+++ b/src/renderers/Form/InputDateRange.tsx
@@ -172,6 +172,7 @@ export default class DateRangeControl extends React.Component