@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.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.js
CHANGED
@@ -3080,7 +3080,8 @@ var Datepicker = ({
|
|
3080
3080
|
}) => {
|
3081
3081
|
var _a, _b;
|
3082
3082
|
const selected = value ? new Date(value) : void 0;
|
3083
|
-
const
|
3083
|
+
const timezoneLabelFormat = timezoneLabel ? `${timezoneLabel}` : "";
|
3084
|
+
const dateFormat = ((_a = props.dateFormat) != null ? _a : withTime) ? `dd MMM yyyy, HH:mm '${timezoneLabelFormat}` : "dd MMM yyyy";
|
3084
3085
|
const getTimeProps = () => {
|
3085
3086
|
if (!withTime) return {};
|
3086
3087
|
return {
|
@@ -5663,7 +5664,7 @@ var DEFAULT_OPTIONS = {
|
|
5663
5664
|
draggable: true,
|
5664
5665
|
icon: false,
|
5665
5666
|
theme: "colored",
|
5666
|
-
closeButton:
|
5667
|
+
closeButton: true,
|
5667
5668
|
className: "container-toast",
|
5668
5669
|
transition: import_react_toastify.Bounce
|
5669
5670
|
};
|