@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.
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListBox/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxEmojiItem.d.ts +2 -1
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxItem.d.ts +1 -3
- package/dist/cjs/lib2/shared/ui/ListBoxItem/types.d.ts +2 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListBox/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxEmojiItem.d.ts +2 -1
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxItem.d.ts +1 -3
- package/dist/esm/lib2/shared/ui/ListBoxItem/types.d.ts +2 -1
- package/dist/index.d.ts +6 -5
- package/package.json +1 -1
- package/src/lib2/shared/css/tailwind.css +1 -0
|
@@ -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;
|
|
@@ -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';
|