@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.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 dateFormat = ((_a = props.dateFormat) != null ? _a : withTime) ? `dd MMM yyyy, HH:mm '${timezoneLabel}'` : "dd MMM yyyy";
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: false,
5527
+ closeButton: true,
5527
5528
  className: "container-toast",
5528
5529
  transition: Bounce
5529
5530
  };