@mindly/ui-components 8.2.29 → 8.2.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.
@@ -186,6 +186,7 @@ export type OnBoardingSingleRoundImageSelectScreenType = OnBoardingBaseScreenTyp
186
186
  export type OnBoardingSingleScaleSelectScreenType = OnBoardingBaseScreenType & OnBoardingScreenDescriptionType & {
187
187
  minLabel?: string;
188
188
  maxLabel?: string;
189
+ emojiSize?: 'small' | 'large' | 'medium';
189
190
  options: OnBoardingScreenOptionWithScaleType[];
190
191
  };
191
192
  export type OnBoardingLoaderScreenType = OnBoardingBaseScreenType & {
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
2
  import { ListBoxProps } from './types';
3
- export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, variant, onboardingTheme, isOnboardingPreview, isTransparent, isRoundCorners, maxSelectionCount, initialVisibleCount, t, ...props }: ListBoxProps<T>): React.ReactElement;
3
+ export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, variant, onboardingTheme, isOnboardingPreview, isTransparent, isRoundCorners, maxSelectionCount, initialVisibleCount, emojiSize, t, ...props }: ListBoxProps<T>): React.ReactElement;
@@ -25,5 +25,6 @@ export type ListBoxProps<T> = AriaListBoxProps<T> & {
25
25
  isRoundCorners?: boolean;
26
26
  maxSelectionCount?: number;
27
27
  initialVisibleCount?: number;
28
+ emojiSize?: 'small' | 'large' | 'medium';
28
29
  t?: WithTranslation['t'];
29
30
  };
@@ -9,6 +9,7 @@ type ListBoxImageItemProps = {
9
9
  onboardingTheme?: OnBoardingThemeV2Type;
10
10
  labelProps: DOMAttributes<HTMLDivElement>;
11
11
  isOnboardingPreview?: boolean;
12
+ emojiSize?: 'small' | 'large' | 'medium';
12
13
  };
13
- declare const _default: React.MemoExoticComponent<({ isSelected, item, variant, onboardingTheme, labelProps, isOnboardingPreview, }: ListBoxImageItemProps) => import("react/jsx-runtime").JSX.Element>;
14
+ declare const _default: React.MemoExoticComponent<({ isSelected, item, variant, onboardingTheme, labelProps, isOnboardingPreview, emojiSize, }: ListBoxImageItemProps) => import("react/jsx-runtime").JSX.Element>;
14
15
  export default _default;
@@ -1,7 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import { ItemProps } from 'react-stately';
3
3
  import { ListBoxItemProps, ListOptionsProps } from './types';
4
- export declare const ListOption: React.ForwardRefExoticComponent<ListOptionsProps & {
5
- maxSelectionCount?: number;
6
- } & React.RefAttributes<HTMLIonItemElement>>;
4
+ export declare const ListOption: React.ForwardRefExoticComponent<ListOptionsProps & React.RefAttributes<HTMLIonItemElement>>;
7
5
  export declare const ListBoxItem: (props: ItemProps<unknown> & ListBoxItemProps) => React.ReactElement;
@@ -19,6 +19,8 @@ export type ListOptionsProps = {
19
19
  selectionMode?: 'single' | 'multiple' | 'none';
20
20
  isTransparent?: boolean;
21
21
  isRoundCorners?: boolean;
22
+ maxSelectionCount?: number;
23
+ emojiSize?: 'small' | 'large' | 'medium';
22
24
  };
23
25
  export type ListBoxItemProps = {
24
26
  icon?: React.ReactNode;
@@ -31,6 +33,5 @@ export type ListBoxItemProps = {
31
33
  customContent?: boolean;
32
34
  onClick?: HTMLIonItemElement['onclick'];
33
35
  image?: ResponseFileType | null;
34
- maxSelectionCount?: number;
35
36
  };
36
37
  export type { Selection } from 'react-stately';