@ctlyst.id/internal-ui 4.0.0 → 4.0.2

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.
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
  };