@mindly/ui-components 5.49.2 → 5.49.4

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.
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ interface IconProps extends React.SVGAttributes<SVGElement> {
3
+ size?: number | string;
4
+ color?: string;
5
+ }
6
+ export declare function IconAttachMoney({ size, color, style, ...props }: IconProps): JSX.Element;
7
+ export {};
@@ -76,3 +76,4 @@ export * from './IconSend';
76
76
  export * from './IconGallery';
77
77
  export * from './IconText';
78
78
  export * from './IconCheckCircle';
79
+ export * from './IconAttachMoney';
@@ -1 +1,2 @@
1
1
  export { default as ListBox } from './ListBox';
2
+ export * from './types';
@@ -5,7 +5,7 @@ export declare enum ListBoxSelectionType {
5
5
  Radio = "radio"
6
6
  }
7
7
  export type ListBoxProps<T> = AriaListBoxProps<T> & {
8
- type?: ListBoxSelectionType;
8
+ type?: `${ListBoxSelectionType}`;
9
9
  enableSelection?: boolean;
10
10
  selectedIconProps?: IconProps;
11
11
  selectionPosition?: 'start' | 'end';
@@ -1 +1,2 @@
1
1
  export * from './ListBoxItem';
2
+ export * from './types';
@@ -1,6 +1,6 @@
1
1
  import { ListState, Node } from 'react-stately';
2
2
  import * as React from 'react';
3
- import { ListBoxSelectionType } from '../ListBox/types';
3
+ import { ListBoxSelectionType } from '../ListBox';
4
4
  import { IconProps } from '../../types';
5
5
  export type ListOptionsProps = {
6
6
  item: Node<unknown>;
@@ -9,18 +9,19 @@ export type ListOptionsProps = {
9
9
  divider?: boolean;
10
10
  value?: string;
11
11
  selectedIconProps?: IconProps;
12
- type?: ListBoxSelectionType;
12
+ type?: `${ListBoxSelectionType}`;
13
13
  selectionPosition?: 'start' | 'end';
14
14
  enableSelection?: boolean;
15
- customContent?: boolean;
16
15
  };
17
16
  export type ListBoxItemProps = {
18
17
  icon?: React.ReactNode;
19
- type?: ListBoxSelectionType;
18
+ type?: `${ListBoxSelectionType}`;
20
19
  selectedIconProps?: IconProps;
21
20
  divider?: boolean;
22
21
  value?: string;
23
22
  children: React.ReactNode;
24
23
  className?: string;
25
- onClick?: HTMLIonItemElement["onclick"];
24
+ customContent?: boolean;
25
+ onClick?: HTMLIonItemElement['onclick'];
26
26
  };
27
+ export type { Selection } from 'react-stately';