@pismo/marola 2.1.29 → 2.1.31

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.
@@ -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';