lizaui 12.0.8 → 12.0.10

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.
Files changed (28) hide show
  1. package/dist/calendar/index.cjs.js +5 -3
  2. package/dist/calendar/index.cjs.js.map +1 -1
  3. package/dist/calendar/index.es.js +5 -3
  4. package/dist/calendar/index.es.js.map +1 -1
  5. package/dist/chunks/{Popover-D58r5T0g.js → Popover-BT2w6PD8.js} +415 -182
  6. package/dist/chunks/Popover-BT2w6PD8.js.map +1 -0
  7. package/dist/chunks/{Popover-_QQSl_8r.js → Popover-DmBlqKH-.js} +437 -182
  8. package/dist/chunks/Popover-DmBlqKH-.js.map +1 -0
  9. package/dist/components/calendar/date-picker/date-picker.d.ts +1 -1
  10. package/dist/components/calendar/date-picker/date-picker.d.ts.map +1 -1
  11. package/dist/components/calendar/date-picker/interface/date-picker.interface.d.ts +11 -0
  12. package/dist/components/calendar/date-picker/interface/date-picker.interface.d.ts.map +1 -1
  13. package/dist/components/tiny-popover/Popover.d.ts.map +1 -1
  14. package/dist/components/tiny-popover/popover-motion.d.ts +21 -0
  15. package/dist/components/tiny-popover/popover-motion.d.ts.map +1 -0
  16. package/dist/components/tiny-popover/types.d.ts +28 -0
  17. package/dist/components/tiny-popover/types.d.ts.map +1 -1
  18. package/dist/components/travel-calendar/calendar-travel-form.d.ts +6 -0
  19. package/dist/components/travel-calendar/calendar-travel-form.d.ts.map +1 -1
  20. package/dist/tiny-popover/index.cjs.js +1 -1
  21. package/dist/tiny-popover/index.es.js +1 -1
  22. package/dist/travel-calendar/index.cjs.js +224 -218
  23. package/dist/travel-calendar/index.cjs.js.map +1 -1
  24. package/dist/travel-calendar/index.es.js +224 -218
  25. package/dist/travel-calendar/index.es.js.map +1 -1
  26. package/package.json +1 -1
  27. package/dist/chunks/Popover-D58r5T0g.js.map +0 -1
  28. package/dist/chunks/Popover-_QQSl_8r.js.map +0 -1
@@ -11,7 +11,7 @@ const Calendar = require("react-calendar");
11
11
  const DateInput = require("react-date-picker/dist/DateInput");
12
12
  const DatePicker = require("react-date-picker");
13
13
  const compilerRuntime = require("react/compiler-runtime");
14
- const Popover = require("../chunks/Popover-_QQSl_8r.js");
14
+ const Popover = require("../chunks/Popover-DmBlqKH-.js");
15
15
  const tailwindMerge = require("tailwind-merge");
16
16
  const uuid = require("uuid");
17
17
  const labelError = require("../chunks/label-error-BItokOb6.js");
@@ -973,6 +973,8 @@ const CalendarPicker = ({
973
973
  radius = "input",
974
974
  tileContent = null,
975
975
  showActionButtons = true,
976
+ popoverAnimation = "zoom",
977
+ popoverAlign = "start",
976
978
  dayPlaceholder = "dd",
977
979
  monthPlaceholder = "mm",
978
980
  yearPlaceholder = "yyyy"
@@ -1133,9 +1135,9 @@ const CalendarPicker = ({
1133
1135
  const labelClass = utils.cn("form-control-label block font-normal text-sm text-foreground dark:text-default-600 mb-1", {
1134
1136
  "text-danger": isInvalid
1135
1137
  });
1136
- return /* @__PURE__ */ jsxRuntime.jsx(Popover.Popover, { isOpen: show, containerStyle: {
1138
+ return /* @__PURE__ */ jsxRuntime.jsx(Popover.Popover, { isOpen: show, animation: popoverAnimation, containerStyle: {
1137
1139
  zIndex: "100"
1138
- }, align: "start", content: /* @__PURE__ */ jsxRuntime.jsxs(CalendarStyle, { color, showcalendar: show.toString(), widthcalendar: inputRef.current, showdoubleview: showDoubleView.toString(), className: "shadow-medium bg-content1 rounded-2xl overflow-hidden", radius, children: [
1140
+ }, align: popoverAlign, content: /* @__PURE__ */ jsxRuntime.jsxs(CalendarStyle, { color, showcalendar: show.toString(), widthcalendar: inputRef.current, showdoubleview: showDoubleView.toString(), className: "shadow-medium bg-content1 rounded-2xl overflow-hidden", radius, children: [
1139
1141
  loading ? (
1140
1142
  /* <Loading size="sm" color="secondary" /> */
1141
1143
  /* @__PURE__ */ jsxRuntime.jsx("p", { children: "loading" })