@ctlyst.id/internal-ui 4.0.0 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2734,7 +2734,8 @@ var Datepicker = ({
|
|
2734
2734
|
}) => {
|
2735
2735
|
var _a, _b;
|
2736
2736
|
const selected = value ? new Date(value) : void 0;
|
2737
|
-
const
|
2737
|
+
const timezoneLabelFormat = timezoneLabel ? `${timezoneLabel}` : "";
|
2738
|
+
const dateFormat = ((_a = props.dateFormat) != null ? _a : withTime) ? `dd MMM yyyy, HH:mm '${timezoneLabelFormat}` : "dd MMM yyyy";
|
2738
2739
|
const getTimeProps = () => {
|
2739
2740
|
if (!withTime) return {};
|
2740
2741
|
return {
|
@@ -5523,7 +5524,7 @@ var DEFAULT_OPTIONS = {
|
|
5523
5524
|
draggable: true,
|
5524
5525
|
icon: false,
|
5525
5526
|
theme: "colored",
|
5526
|
-
closeButton:
|
5527
|
+
closeButton: true,
|
5527
5528
|
className: "container-toast",
|
5528
5529
|
transition: Bounce
|
5529
5530
|
};
|