@pismo/marola 2.1.28 → 2.1.30

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.
@@ -12,7 +12,7 @@ declare const meta: {
12
12
  minDate?: dayjs.Dayjs | undefined;
13
13
  maxDate?: dayjs.Dayjs | undefined;
14
14
  disableDates?: ((date: dayjs.Dayjs) => boolean) | undefined;
15
- onChange: (date: dayjs.Dayjs | [dayjs.Dayjs | null, dayjs.Dayjs | null]) => void;
15
+ onChange: (date: dayjs.Dayjs | [dayjs.Dayjs | null, dayjs.Dayjs | null] | null) => void;
16
16
  placement?: "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | undefined;
17
17
  navigatorInput?: boolean | undefined;
18
18
  className?: string | undefined;
@@ -27,7 +27,7 @@ declare const meta: {
27
27
  minDate?: dayjs.Dayjs | undefined;
28
28
  maxDate?: dayjs.Dayjs | undefined;
29
29
  disableDates?: ((date: dayjs.Dayjs) => boolean) | undefined;
30
- onChange: (date: dayjs.Dayjs | [dayjs.Dayjs | null, dayjs.Dayjs | null]) => void;
30
+ onChange: (date: dayjs.Dayjs | [dayjs.Dayjs | null, dayjs.Dayjs | null] | null) => void;
31
31
  placement?: "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | undefined;
32
32
  navigatorInput?: boolean | undefined;
33
33
  className?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { jsx as d, jsxs as x } from "react/jsx-runtime";
2
2
  import { d as E } from "../../dayjs.min-ClQKmc--.js";
3
- import { s as i } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s as i } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  import { getWeekdayNames as I, getMonthGrid as W, isDateInRange as S, isRangeStart as c, isRangeEnd as y, isDisabled as k, isCurrentDay as h, formatDateForInput as A } from "./dateUtils.js";
5
5
  const H = (a, n, s) => {
6
6
  if (!n[0] || !s) return !1;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
2
  import { Icon as o } from "../Icon/Icon.js";
3
- import { s as t } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s as t } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  import { getPreviousMonth as d, getNextMonth as n } from "./dateUtils.js";
5
5
  const v = ({ currentMonth: e, locale: r, setCurrentMonth: i }) => /* @__PURE__ */ s("div", { className: t["month-header-row"], "data-testid": "dual-calendar-header", children: [
6
6
  /* @__PURE__ */ a(
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, jsx as e, Fragment as n } from "react/jsx-runtime";
2
2
  import { Icon as o } from "../Icon/Icon.js";
3
- import { s as t } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s as t } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  const k = ({
5
5
  currentViewMode: r,
6
6
  currentMonth: a,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as f, jsx as n } from "react/jsx-runtime";
2
2
  import { Icon as s } from "../Icon/Icon.js";
3
- import { s as i } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s as i } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  const p = ({
5
5
  navigateToPrevious: b,
6
6
  navigateToNext: u,
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { d as Y } from "../../dayjs.min-ClQKmc--.js";
3
- import { s } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  const T = ({
5
5
  currentViewMode: d,
6
6
  currentMonth: i,
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type DraggableProps<T> = React.PropsWithChildren<{
2
+ export type DraggableProps<T> = React.PropsWithChildren<{
3
3
  /** Unique identifier for the draggable element */
4
4
  id: string;
5
5
  /** Callback when an item is dropped */
@@ -44,4 +44,3 @@ type DraggableProps<T> = React.PropsWithChildren<{
44
44
  ['data-divider-up-testid']?: string;
45
45
  }>;
46
46
  export declare const Draggable: <T extends object>({ children, id, onDropItem, data, index, onDragStarted, onDragEnded, forceDirection, noDraggable, classNameElementDrag, classNameZoneWrapper, classNameZoneOnOverWrapper, offsetZoneTopToDrop, offsetZoneDownToDrop, ["data-testid"]: dataTestId, ["data-zone-testid"]: dataZoneTestId, ["data-zone-up-testid"]: dataZoneUpTestId, ["data-zone-down-testid"]: dataZoneDownTestId, ["data-divider-down-testid"]: dataDividerDownTestId, ["data-divider-up-testid"]: dataDividerUpTestId, mode, renderWithoutDrag, }: DraggableProps<T>) => import("react/jsx-runtime").JSX.Element;
47
- export {};
@@ -9,31 +9,7 @@ declare const meta: {
9
9
  layout: string;
10
10
  };
11
11
  subcomponents: {
12
- Draggable: <T extends object>({ children, id, onDropItem, data, index, onDragStarted, onDragEnded, forceDirection, noDraggable, classNameElementDrag, classNameZoneWrapper, classNameZoneOnOverWrapper, offsetZoneTopToDrop, offsetZoneDownToDrop, ["data-testid"]: dataTestId, ["data-zone-testid"]: dataZoneTestId, ["data-zone-up-testid"]: dataZoneUpTestId, ["data-zone-down-testid"]: dataZoneDownTestId, ["data-divider-down-testid"]: dataDividerDownTestId, ["data-divider-up-testid"]: dataDividerUpTestId, mode, renderWithoutDrag, }: {
13
- id: string;
14
- onDropItem?: ((fromData: T, direction: "up" | "down") => void) | undefined;
15
- onDragStarted?: VoidFunction | undefined;
16
- onDragEnded?: VoidFunction | undefined;
17
- mode?: "replace" | "sort" | undefined;
18
- data?: T | undefined;
19
- index: number;
20
- forceDirection?: "up" | "down" | undefined;
21
- noDraggable?: boolean | undefined;
22
- classNameElementDrag?: string | undefined;
23
- classNameZoneWrapper?: string | undefined;
24
- classNameZoneOnOverWrapper?: string | undefined;
25
- offsetZoneTopToDrop?: string | number | undefined;
26
- offsetZoneDownToDrop?: string | number | undefined;
27
- renderWithoutDrag?: import('react').ReactNode;
28
- "data-testid"?: string | undefined;
29
- "data-zone-testid"?: string | undefined;
30
- "data-zone-up-testid"?: string | undefined;
31
- "data-zone-down-testid"?: string | undefined;
32
- "data-divider-down-testid"?: string | undefined;
33
- "data-divider-up-testid"?: string | undefined;
34
- } & {
35
- children?: import('react').ReactNode;
36
- }) => import("react/jsx-runtime").JSX.Element;
12
+ Draggable: <T extends object>({ children, id, onDropItem, data, index, onDragStarted, onDragEnded, forceDirection, noDraggable, classNameElementDrag, classNameZoneWrapper, classNameZoneOnOverWrapper, offsetZoneTopToDrop, offsetZoneDownToDrop, ["data-testid"]: dataTestId, ["data-zone-testid"]: dataZoneTestId, ["data-zone-up-testid"]: dataZoneUpTestId, ["data-zone-down-testid"]: dataZoneDownTestId, ["data-divider-down-testid"]: dataDividerDownTestId, ["data-divider-up-testid"]: dataDividerUpTestId, mode, renderWithoutDrag, }: import('./Draggable').DraggableProps<T>) => import("react/jsx-runtime").JSX.Element;
37
13
  };
38
14
  };
39
15
  export default meta;
@@ -2,4 +2,4 @@
2
2
  * This file is automatically generated. Any changes will be lost.
3
3
  * run "yarn generate-icon-types" or "yarn build" to regenerate it.
4
4
  */
5
- export type IconName = 'alien-8bit' | 'arrow-down-arrow-up' | 'arrow-down-z-a' | 'arrow-left' | 'arrow-right' | 'arrow-right-to-arc' | 'arrow-up-right-from-square' | 'arrows-rotate' | 'badge-check' | 'bell' | 'building-columns' | 'calendar-days' | 'check-double' | 'chevron-down' | 'chevron-right' | 'chevron-up' | 'chevrons-right' | 'circle' | 'circle-arrow-right' | 'circle-check' | 'circle-check-outline' | 'circle-exclamation' | 'circle-exclamation-outline' | 'circle-info' | 'circle-minus' | 'circle-plus' | 'circle-x' | 'circle-xmark' | 'circle-xmark-outline' | 'clock' | 'clock-rotate-left' | 'coin' | 'coins' | 'computer-classic' | 'copy' | 'credit-card' | 'credit-card-blank' | 'credit-card-front' | 'download' | 'ellipsis-vertical' | 'empty-img' | 'empty-set' | 'eye' | 'eye-slash' | 'filter-list' | 'fingerprint' | 'folder-magnifying-glass' | 'folder-open' | 'gift-card' | 'grid-2' | 'grid-horizontal' | 'grip-dots-vertical' | 'headphones-simple' | 'house-blank' | 'id-badge' | 'inbox-full' | 'light/star' | 'list' | 'loader' | 'lock-keyhole' | 'lock-keyhole-open' | 'logo' | 'magnifying-glass' | 'map-location-dot' | 'map-pin' | 'mobile-screen-button' | 'money-bill-transfer' | 'money-bill-trend-up' | 'money-bills' | 'notes-medical' | 'paste' | 'pen' | 'pen-to-square' | 'percent' | 'piggy-bank' | 'rectangle-history' | 'rectangle-history-circle-user' | 'rectangle-terminal' | 'rotate' | 'scale-balanced' | 'server' | 'sheet-plastic' | 'sidebar' | 'solid/star' | 'squirrel' | 'stethoscope' | 'store' | 'timer' | 'trash' | 'trash-can' | 'upload' | 'user' | 'user-gear' | 'user-group' | 'user-tie' | 'user-tie-hair' | 'user-vneck' | 'users' | 'wallet' | 'warehouse-full' | 'xmark';
5
+ export type IconName = 'alien-8bit' | 'arrow-down-arrow-up' | 'arrow-down-z-a' | 'arrow-left' | 'arrow-right' | 'arrow-right-to-arc' | 'arrow-up-right-from-square' | 'arrows-rotate' | 'badge-check' | 'bell' | 'building-columns' | 'calendar-days' | 'check-double' | 'chevron-down' | 'chevron-right' | 'chevron-up' | 'chevrons-right' | 'circle' | 'circle-arrow-right' | 'circle-check' | 'circle-check-outline' | 'circle-exclamation' | 'circle-exclamation-outline' | 'circle-info' | 'circle-minus' | 'circle-plus' | 'circle-x' | 'circle-xmark' | 'circle-xmark-outline' | 'clock' | 'clock-rotate-left' | 'coin' | 'coins' | 'computer-classic' | 'copy' | 'credit-card' | 'credit-card-blank' | 'credit-card-front' | 'download' | 'ellipsis-vertical' | 'empty-img' | 'empty-set' | 'eye' | 'eye-slash' | 'filter-list' | 'fingerprint' | 'folder-magnifying-glass' | 'folder-open' | 'gift-card' | 'grid-2' | 'grid-horizontal' | 'grip-dots-vertical' | 'headphones-simple' | 'house-blank' | 'id-badge' | 'inbox-full' | 'light/star' | 'list' | 'loader' | 'lock-keyhole' | 'lock-keyhole-open' | 'logo' | 'magnifying-glass' | 'map-location-dot' | 'map-pin' | 'mobile-screen-button' | 'money-bill-transfer' | 'money-bill-trend-up' | 'money-bills' | 'notes-medical' | 'paste' | 'pen' | 'pen-to-square' | 'percent' | 'piggy-bank' | 'rectangle-history' | 'rectangle-history-circle-user' | 'rectangle-terminal' | 'rotate' | 'scale-balanced' | 'server' | 'sheet-plastic' | 'sidebar' | 'sitemap' | 'solid/star' | 'squirrel' | 'stethoscope' | 'store' | 'timer' | 'trash' | 'trash-can' | 'upload' | 'user' | 'user-gear' | 'user-group' | 'user-tie' | 'user-tie-hair' | 'user-vneck' | 'users' | 'wallet' | 'warehouse-full' | 'xmark';