@react-hive/honey-layout 1.0.0-beta → 1.3.0-beta

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.
@@ -3,28 +3,28 @@ type HoneyLazyContentProps = {
3
3
  /**
4
4
  * Determines whether the content should be mounted or unmounted.
5
5
  */
6
- mount: boolean;
6
+ isMount: boolean;
7
7
  /**
8
- * The delay in milliseconds before unmounting the content when `mount` is set to `false`.
8
+ * The delay in milliseconds before unmounting the content when `isMount` is set to `false`.
9
9
  */
10
10
  unmountDelay: number;
11
11
  /**
12
- * Determines whether the content should always remain mounted, regardless of the value of `mount`.
12
+ * Determines whether the content should always remain mounted, regardless of the value of `isMount`.
13
13
  * If `true`, the content will never be unmounted.
14
14
  *
15
15
  * @default false
16
16
  */
17
- alwaysMounted?: boolean;
17
+ isAlwaysMounted?: boolean;
18
18
  /**
19
- * Determines whether the content should remain mounted after the first mount.
20
- * If `true`, the content will not be unmounted after the first time it's mounted.
19
+ * Determines whether the content should remain mounted after the mount.
20
+ * If `true`, the content will not be unmounted after the time it's mounted.
21
21
  *
22
22
  * @default false
23
23
  */
24
- keepAfterMount?: boolean;
24
+ isKeepAfterMount?: boolean;
25
25
  };
26
26
  /**
27
27
  * Component for lazy loading/unloading content based on a mount/unmount state.
28
28
  */
29
- export declare const HoneyLazyContent: ({ children, mount, unmountDelay, alwaysMounted, keepAfterMount, }: PropsWithChildren<HoneyLazyContentProps>) => import('react').ReactNode;
29
+ export declare const HoneyLazyContent: ({ children, isMount, unmountDelay, isAlwaysMounted, isKeepAfterMount, }: PropsWithChildren<HoneyLazyContentProps>) => import('react').ReactNode;
30
30
  export {};
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
2
2
  import { ComponentWithAs, HoneyStatusContentOptions } from '../../types';
3
3
  import { HoneyListItem, HoneyListItemKey } from './HoneyList.types';
4
4
  import { HoneyBoxProps } from '../HoneyBox';
5
- export type HoneyListGenericProps<Item extends HoneyListItem, T = unknown> = Omit<HoneyBoxProps<HTMLElement>, 'children'> & {
5
+ export type HoneyListGenericProps<Item extends HoneyListItem, T = unknown> = HoneyBoxProps & {
6
6
  children: (item: Item, itemIndex: number, thisItems: Item[]) => ReactNode;
7
7
  items: Item[] | undefined;
8
8
  itemKey?: HoneyListItemKey<Item>;