@livechat/design-system-react-components 2.2.2 → 2.3.0
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/components/Accordion/Accordion.d.ts +3 -0
- package/dist/components/Accordion/components/AccordionAnimatedLabel.d.ts +3 -0
- package/dist/components/Accordion/components/AccordionMultilineElement.d.ts +6 -0
- package/dist/components/Accordion/helpers.d.ts +10 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/stories-helpers.d.ts +4 -0
- package/dist/components/Accordion/types.d.ts +45 -0
- package/dist/components/ActionBar/ActionBar.d.ts +3 -0
- package/dist/components/ActionBar/ActionBarItem.d.ts +3 -0
- package/dist/components/ActionBar/constants.d.ts +3 -0
- package/dist/components/ActionBar/index.d.ts +2 -0
- package/dist/components/ActionBar/types.d.ts +45 -0
- package/dist/components/ActionCard/ActionCard.d.ts +4 -0
- package/dist/components/ActionCard/index.d.ts +2 -0
- package/dist/components/ActionCard/types.d.ts +23 -0
- package/dist/components/ActionMenu/ActionMenu.d.ts +3 -0
- package/dist/components/ActionMenu/ActionMenuItem.d.ts +3 -0
- package/dist/components/ActionMenu/index.d.ts +3 -0
- package/dist/components/ActionMenu/stories-constants.d.ts +15 -0
- package/dist/components/ActionMenu/types.d.ts +80 -0
- package/dist/components/Alert/Alert.d.ts +29 -0
- package/dist/components/Alert/index.d.ts +1 -0
- package/dist/components/AppFrame/AppFrame.d.ts +3 -0
- package/dist/components/AppFrame/components/ExpirationCounter/ExpirationCounter.d.ts +21 -0
- package/dist/components/AppFrame/components/MobileNavigation/MobileNavigation.d.ts +3 -0
- package/dist/components/AppFrame/components/MobileNavigation/types.d.ts +8 -0
- package/dist/components/AppFrame/components/Navigation/Navigation.d.ts +3 -0
- package/dist/components/AppFrame/components/Navigation/types.d.ts +8 -0
- package/dist/components/AppFrame/components/NavigationGroup/NavigationGroup.d.ts +3 -0
- package/dist/components/AppFrame/components/NavigationGroup/types.d.ts +16 -0
- package/dist/components/AppFrame/components/NavigationItem/NavigationItem.d.ts +3 -0
- package/dist/components/AppFrame/components/NavigationItem/types.d.ts +40 -0
- package/dist/components/AppFrame/components/NavigationTopBar/NavigationTopBar.d.ts +45 -0
- package/dist/components/AppFrame/components/NavigationTopBar/examples.d.ts +15 -0
- package/dist/components/AppFrame/components/NavigationTopBar/types.d.ts +59 -0
- package/dist/components/AppFrame/components/SideNavigation/SideNavigation.d.ts +3 -0
- package/dist/components/AppFrame/components/SideNavigation/types.d.ts +28 -0
- package/dist/components/AppFrame/components/SideNavigationGroup/SideNavigationGroup.d.ts +3 -0
- package/dist/components/AppFrame/components/SideNavigationGroup/types.d.ts +32 -0
- package/dist/components/AppFrame/components/SideNavigationItem/SideNavigationItem.d.ts +3 -0
- package/dist/components/AppFrame/components/SideNavigationItem/constants.d.ts +3 -0
- package/dist/components/AppFrame/components/SideNavigationItem/types.d.ts +44 -0
- package/dist/components/AppFrame/components/index.d.ts +10 -0
- package/dist/components/AppFrame/index.d.ts +2 -0
- package/dist/components/AppFrame/stories-helpers.d.ts +19 -0
- package/dist/components/AppFrame/types.d.ts +47 -0
- package/dist/components/AutoComplete/AutoComplete.d.ts +13 -0
- package/dist/components/AutoComplete/helpers.d.ts +7 -0
- package/dist/components/AutoComplete/index.d.ts +5 -0
- package/dist/components/AutoComplete/types.d.ts +27 -0
- package/dist/components/Avatar/Avatar.d.ts +42 -0
- package/dist/components/Avatar/Avatar.helpers.d.ts +3 -0
- package/dist/components/Avatar/index.d.ts +3 -0
- package/dist/components/Avatar/types.d.ts +8 -0
- package/dist/components/Badge/Badge.d.ts +27 -0
- package/dist/components/Badge/Badge.helpers.d.ts +1 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +70 -0
- package/dist/components/Button/Button.helpers.d.ts +6 -0
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Button/types.d.ts +2 -0
- package/dist/components/Card/Card.d.ts +30 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.d.ts +16 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +4 -0
- package/dist/components/DatePicker/DatePickerNavbar.d.ts +4 -0
- package/dist/components/DatePicker/DatePickerRangeCalendarsWrapper.d.ts +2 -0
- package/dist/components/DatePicker/RangeDatePicker.d.ts +17 -0
- package/dist/components/DatePicker/helpers.d.ts +17 -0
- package/dist/components/DatePicker/hooks.d.ts +7 -0
- package/dist/components/DatePicker/index.d.ts +3 -0
- package/dist/components/DatePicker/types.d.ts +101 -0
- package/dist/components/DetailsCard/DetailsCard.d.ts +40 -0
- package/dist/components/DetailsCard/index.d.ts +2 -0
- package/dist/components/DetailsCardInfo/DetailsCardInfo.d.ts +8 -0
- package/dist/components/DetailsCardInfo/index.d.ts +1 -0
- package/dist/components/FieldDescription/FieldDescription.d.ts +3 -0
- package/dist/components/FieldDescription/index.d.ts +1 -0
- package/dist/components/FieldError/FieldError.d.ts +3 -0
- package/dist/components/FieldError/index.d.ts +1 -0
- package/dist/components/FieldGroup/FieldGroup.d.ts +8 -0
- package/dist/components/FieldGroup/index.d.ts +1 -0
- package/dist/components/FileUploadProgress/FileUploadProgress.d.ts +42 -0
- package/dist/components/FileUploadProgress/FileUploadProgressActions.d.ts +9 -0
- package/dist/components/FileUploadProgress/index.d.ts +2 -0
- package/dist/components/Form/Form.d.ts +16 -0
- package/dist/components/Form/index.d.ts +2 -0
- package/dist/components/FormField/FormField.d.ts +40 -0
- package/dist/components/FormField/index.d.ts +1 -0
- package/dist/components/FormGroup/FormGroup.d.ts +16 -0
- package/dist/components/FormGroup/index.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +32 -0
- package/dist/components/Icon/IconsShowcase/IconsShowcase.d.ts +11 -0
- package/dist/components/Icon/IconsShowcase/constans.d.ts +3 -0
- package/dist/components/Icon/IconsShowcase/helpers.d.ts +3 -0
- package/dist/components/Icon/IconsShowcase/types.d.ts +9 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/types.d.ts +3 -0
- package/dist/components/Input/Input.d.ts +29 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/InviteAgents/InviteAgents.d.ts +3 -0
- package/dist/components/InviteAgents/components/AnimatedButton/AnimatedButton.d.ts +24 -0
- package/dist/components/InviteAgents/helpers.d.ts +4 -0
- package/dist/components/InviteAgents/index.d.ts +2 -0
- package/dist/components/InviteAgents/types.d.ts +34 -0
- package/dist/components/Link/Link.d.ts +14 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/Loader/Loader.d.ts +20 -0
- package/dist/components/Loader/index.d.ts +1 -0
- package/dist/components/Modal/Modal.d.ts +25 -0
- package/dist/components/Modal/StoriesComponents.d.ts +4 -0
- package/dist/components/Modal/components/ActionModalContent.d.ts +29 -0
- package/dist/components/Modal/components/ModalBase.d.ts +24 -0
- package/dist/components/Modal/components/ModalCloseButton.d.ts +7 -0
- package/dist/components/Modal/components/ModalHeader.d.ts +26 -0
- package/dist/components/Modal/components/ModalPortal.d.ts +8 -0
- package/dist/components/Modal/index.d.ts +11 -0
- package/dist/components/NumericInput/NumericInput.d.ts +12 -0
- package/dist/components/NumericInput/index.d.ts +1 -0
- package/dist/components/OnboardingChecklist/OnboardingChecklist.d.ts +3 -0
- package/dist/components/OnboardingChecklist/components/CheckListItem.d.ts +3 -0
- package/dist/components/OnboardingChecklist/components/index.d.ts +1 -0
- package/dist/components/OnboardingChecklist/index.d.ts +2 -0
- package/dist/components/OnboardingChecklist/types.d.ts +97 -0
- package/dist/components/Picker/Picker.d.ts +3 -0
- package/dist/components/Picker/components/PickerList.d.ts +27 -0
- package/dist/components/Picker/components/PickerListItem.d.ts +14 -0
- package/dist/components/Picker/components/PickerTrigger.d.ts +18 -0
- package/dist/components/Picker/components/PickerTriggerBody.d.ts +23 -0
- package/dist/components/Picker/constants.d.ts +40 -0
- package/dist/components/Picker/helpers.d.ts +6 -0
- package/dist/components/Picker/hooks/useFloatingPicker.d.ts +36 -0
- package/dist/components/Picker/hooks/usePickerItems.d.ts +23 -0
- package/dist/components/Picker/index.d.ts +3 -0
- package/dist/components/Picker/types.d.ts +143 -0
- package/dist/components/Popover/Popover.d.ts +3 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/types.d.ts +65 -0
- package/dist/components/ProductSwitcher/ProductSwitcher.d.ts +4 -0
- package/dist/components/ProductSwitcher/components/ProductRow/ProductRow.d.ts +10 -0
- package/dist/components/ProductSwitcher/components/ProductTile/ProductTile.d.ts +9 -0
- package/dist/components/ProductSwitcher/constants.d.ts +7 -0
- package/dist/components/ProductSwitcher/helpers.d.ts +10 -0
- package/dist/components/ProductSwitcher/hooks/useProductSwitcher.d.ts +14 -0
- package/dist/components/ProductSwitcher/index.d.ts +4 -0
- package/dist/components/ProductSwitcher/openwidgetLogoUri.d.ts +1 -0
- package/dist/components/ProductSwitcher/types.d.ts +46 -0
- package/dist/components/Progress/Progress.helpers.d.ts +3 -0
- package/dist/components/Progress/ProgressBar.d.ts +21 -0
- package/dist/components/Progress/ProgressCircle.d.ts +21 -0
- package/dist/components/Progress/constants.d.ts +3 -0
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/PromoBanner/PromoBanner.d.ts +43 -0
- package/dist/components/PromoBanner/index.d.ts +1 -0
- package/dist/components/PromoBannerV2/PromoBannerV2.d.ts +45 -0
- package/dist/components/PromoBannerV2/constants.d.ts +1 -0
- package/dist/components/PromoBannerV2/index.d.ts +2 -0
- package/dist/components/RadioButton/RadioButton.d.ts +7 -0
- package/dist/components/RadioButton/index.d.ts +1 -0
- package/dist/components/Search/Search.d.ts +40 -0
- package/dist/components/Search/index.d.ts +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +39 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/Skeleton/SkeletonAvatar.d.ts +16 -0
- package/dist/components/Skeleton/SkeletonText.d.ts +16 -0
- package/dist/components/Skeleton/SkeletonWrapper.d.ts +16 -0
- package/dist/components/Skeleton/index.d.ts +3 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts +13 -0
- package/dist/components/StatusBadge/index.d.ts +1 -0
- package/dist/components/Switch/Switch.d.ts +47 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Tab/Tab.d.ts +31 -0
- package/dist/components/Tab/TabsWrapper.d.ts +3 -0
- package/dist/components/Tab/index.d.ts +2 -0
- package/dist/components/Tag/Tag.d.ts +3 -0
- package/dist/components/Tag/constants.d.ts +2 -0
- package/dist/components/Tag/index.d.ts +3 -0
- package/dist/components/Tag/types.d.ts +55 -0
- package/dist/components/TagInput/TagInput.d.ts +3 -0
- package/dist/components/TagInput/components/EditableTag.d.ts +13 -0
- package/dist/components/TagInput/components/EditableTagContent.d.ts +11 -0
- package/dist/components/TagInput/components/EmailTagInput.d.ts +5 -0
- package/dist/components/TagInput/index.d.ts +4 -0
- package/dist/components/TagInput/types.d.ts +41 -0
- package/dist/components/Textarea/Textarea.d.ts +6 -0
- package/dist/components/Textarea/index.d.ts +1 -0
- package/dist/components/Toast/Toast.d.ts +16 -0
- package/dist/components/Toast/ToastWrapper.d.ts +20 -0
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.d.ts +3 -0
- package/dist/components/Tooltip/Tooltip.helpers.d.ts +10 -0
- package/dist/components/Tooltip/components/Info.d.ts +3 -0
- package/dist/components/Tooltip/components/Interactive.d.ts +3 -0
- package/dist/components/Tooltip/components/Reports.d.ts +7 -0
- package/dist/components/Tooltip/components/Simple.d.ts +4 -0
- package/dist/components/Tooltip/components/UserGuide/SpotlightOverlay.d.ts +8 -0
- package/dist/components/Tooltip/components/UserGuide/UserGuide.d.ts +12 -0
- package/dist/components/Tooltip/components/UserGuide/UserGuideStep.d.ts +16 -0
- package/dist/components/Tooltip/components/UserGuide/index.d.ts +1 -0
- package/dist/components/Tooltip/components/UserGuide/virtualElementReference.d.ts +9 -0
- package/dist/components/Tooltip/components/index.d.ts +5 -0
- package/dist/components/Tooltip/index.d.ts +4 -0
- package/dist/components/Tooltip/types.d.ts +199 -0
- package/dist/components/Typography/Display.d.ts +18 -0
- package/dist/components/Typography/Heading.d.ts +19 -0
- package/dist/components/Typography/Text.d.ts +31 -0
- package/dist/components/Typography/index.d.ts +4 -0
- package/dist/components/Typography/types.d.ts +4 -0
- package/dist/components/UpdateBadge/UpdateBadge.d.ts +2 -0
- package/dist/components/UpdateBadge/index.d.ts +1 -0
- package/dist/components/UploadBar/UploadBar.d.ts +49 -0
- package/dist/components/UploadBar/index.d.ts +1 -0
- package/dist/foundations/design-token.d.ts +374 -0
- package/dist/foundations/index.d.ts +5 -0
- package/dist/foundations/radius-token.d.ts +13 -0
- package/dist/foundations/shadow-token.d.ts +24 -0
- package/dist/foundations/spacing-token.d.ts +22 -0
- package/dist/foundations/transition-token.d.ts +17 -0
- package/dist/hooks/helpers.d.ts +3 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/types.d.ts +13 -0
- package/dist/hooks/useAnimations.d.ts +12 -0
- package/dist/hooks/useHeightResizer.d.ts +3 -0
- package/dist/hooks/useMobileViewDetector.d.ts +3 -0
- package/dist/hooks/useSharedResizeObserver.d.ts +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +55 -0
- package/dist/index.js +1435 -1440
- package/dist/providers/AppFrameProvider.d.ts +14 -0
- package/dist/providers/ThemeProvider.d.ts +20 -0
- package/dist/providers/constants.d.ts +4 -0
- package/dist/providers/helpers.d.ts +4 -0
- package/dist/providers/index.d.ts +5 -0
- package/dist/providers/types.d.ts +1 -0
- package/dist/utils/PdfIcon.d.ts +2 -0
- package/dist/utils/getDesignTokenWithOpacity.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/keyCodes.d.ts +12 -0
- package/dist/utils/noop.d.ts +1 -0
- package/dist/utils/plural.d.ts +1 -0
- package/dist/utils/story-parameters.d.ts +3 -0
- package/dist/utils/types.d.ts +16 -0
- package/package.json +2 -2
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface IChecklistItemProps {
|
|
3
|
+
/**
|
|
4
|
+
* Define the unique id of the item
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* Set the title of the item
|
|
9
|
+
*/
|
|
10
|
+
title: string;
|
|
11
|
+
/**
|
|
12
|
+
* Set the additional text for the title
|
|
13
|
+
*/
|
|
14
|
+
titleHint?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Set the description of the item
|
|
17
|
+
*/
|
|
18
|
+
description: string;
|
|
19
|
+
/**
|
|
20
|
+
* The element to display when the item is active
|
|
21
|
+
*/
|
|
22
|
+
cta: React.ReactElement;
|
|
23
|
+
/**
|
|
24
|
+
* The element to display in the right column when the item is active
|
|
25
|
+
*/
|
|
26
|
+
placeholder: React.ReactElement;
|
|
27
|
+
}
|
|
28
|
+
export interface ICheckListItem extends Omit<IChecklistItemProps, 'placeholder'> {
|
|
29
|
+
isActive: boolean;
|
|
30
|
+
isChecked: boolean;
|
|
31
|
+
isLastElement: boolean;
|
|
32
|
+
onClick: (id: string) => void;
|
|
33
|
+
}
|
|
34
|
+
export type ICompletionMessageDataProps = {
|
|
35
|
+
/**
|
|
36
|
+
* Set the title of the complete state
|
|
37
|
+
*/
|
|
38
|
+
title: string;
|
|
39
|
+
/**
|
|
40
|
+
* Set the greeting text of the complete state
|
|
41
|
+
*/
|
|
42
|
+
greetingText?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The element to display when the checklist is completed before the animation starts
|
|
45
|
+
*/
|
|
46
|
+
placeholder?: React.ReactElement;
|
|
47
|
+
/**
|
|
48
|
+
* Define the delay betweend displaying complete placeholder and the animation starts
|
|
49
|
+
*/
|
|
50
|
+
delay?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Define the custom heigh of content visible after checklist complete
|
|
53
|
+
*/
|
|
54
|
+
height?: number;
|
|
55
|
+
};
|
|
56
|
+
export interface IOnboardingChecklistProps {
|
|
57
|
+
/**
|
|
58
|
+
* The CSS class for the component
|
|
59
|
+
*/
|
|
60
|
+
className?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Set the title of the checklist
|
|
63
|
+
*/
|
|
64
|
+
title: string;
|
|
65
|
+
/**
|
|
66
|
+
* Set the greeting text of the checklist
|
|
67
|
+
*/
|
|
68
|
+
greetingText?: string;
|
|
69
|
+
/**
|
|
70
|
+
* The list of items to display
|
|
71
|
+
*/
|
|
72
|
+
items: IChecklistItemProps[];
|
|
73
|
+
/**
|
|
74
|
+
* Set to define the active item
|
|
75
|
+
*/
|
|
76
|
+
activeItemId: string;
|
|
77
|
+
/**
|
|
78
|
+
* Set to defined the complete items
|
|
79
|
+
*/
|
|
80
|
+
completedItemsIds: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Callback function when list element is clicked
|
|
83
|
+
*/
|
|
84
|
+
onActiveChange: (id: string) => void;
|
|
85
|
+
/**
|
|
86
|
+
* The CSS class for the right column
|
|
87
|
+
*/
|
|
88
|
+
placeholderClassName?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Set to define the checklist is completed
|
|
91
|
+
*/
|
|
92
|
+
isCompleted?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Complete element which will be displayed when `isCompleted` is true
|
|
95
|
+
*/
|
|
96
|
+
completionMessageData: ICompletionMessageDataProps;
|
|
97
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FloatingContext } from '@floating-ui/react';
|
|
2
|
+
import { VirtuosoProps } from 'react-virtuoso';
|
|
3
|
+
import { IPickerListItem } from '../types';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export interface IPickerListProps {
|
|
6
|
+
pickerType?: 'single' | 'multi';
|
|
7
|
+
options: IPickerListItem[];
|
|
8
|
+
context: FloatingContext<HTMLButtonElement>;
|
|
9
|
+
setFloating: (node: HTMLElement | null) => void;
|
|
10
|
+
floatingStyles: React.CSSProperties;
|
|
11
|
+
maxHeight: number;
|
|
12
|
+
listElementsRef: React.MutableRefObject<(HTMLElement | null)[]>;
|
|
13
|
+
activeIndex: number | null;
|
|
14
|
+
selectedKeys: string[];
|
|
15
|
+
isPositioned: boolean;
|
|
16
|
+
searchDisabled: boolean;
|
|
17
|
+
onItemRemove: (key: string) => void;
|
|
18
|
+
setPointer: (pointer: boolean) => void;
|
|
19
|
+
onSelect: (key: string) => void;
|
|
20
|
+
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
21
|
+
getItemProps: (userProps?: React.HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
22
|
+
emptyStateText?: string;
|
|
23
|
+
hideWhenEmpty?: boolean;
|
|
24
|
+
listClassName?: string;
|
|
25
|
+
virtuosoProps?: VirtuosoProps<IPickerListItem, unknown>;
|
|
26
|
+
}
|
|
27
|
+
export declare const PickerList: React.FC<IPickerListProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IPickerListItem } from '../types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface IPickerListItemProps {
|
|
4
|
+
index: number;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
numberOfItems: number;
|
|
8
|
+
listElementsRef: React.MutableRefObject<(HTMLElement | null)[]>;
|
|
9
|
+
onSelect: (key: string) => void;
|
|
10
|
+
getItemProps: (userProps?: React.HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
11
|
+
item: IPickerListItem;
|
|
12
|
+
}
|
|
13
|
+
export declare const PickerListItem: React.FC<IPickerListItemProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Size } from '../../../utils';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface PickerTriggerProps {
|
|
4
|
+
setReference: (element: HTMLElement | null) => void;
|
|
5
|
+
getReferenceProps: (userProps?: React.HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
6
|
+
testId?: string;
|
|
7
|
+
size?: Size;
|
|
8
|
+
isMultiSelect?: boolean;
|
|
9
|
+
isItemSelected: boolean;
|
|
10
|
+
hideClearButton?: boolean;
|
|
11
|
+
isDisabled?: boolean;
|
|
12
|
+
isRequired?: boolean;
|
|
13
|
+
isError?: boolean;
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
onClear: () => void;
|
|
16
|
+
setTriggerFocus: (v: boolean) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const PickerTrigger: React.FC<React.PropsWithChildren<PickerTriggerProps>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Size } from '../../../utils';
|
|
2
|
+
import { PickerType, IPickerListItem } from '../types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface ITriggerBodyProps {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
isSearchDisabled?: boolean;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
searchPhrase?: string;
|
|
10
|
+
selectedItems?: IPickerListItem[] | null;
|
|
11
|
+
type: PickerType;
|
|
12
|
+
clearSearchAfterSelection?: boolean;
|
|
13
|
+
size?: Size;
|
|
14
|
+
onItemRemove: (key: string) => void;
|
|
15
|
+
onSelect: (key: string) => void;
|
|
16
|
+
onFilter: (text: string) => void;
|
|
17
|
+
onClear: () => void;
|
|
18
|
+
virtualItemRef: React.MutableRefObject<HTMLElement | null>;
|
|
19
|
+
isTriggerFocused: boolean;
|
|
20
|
+
inputRef?: React.RefObject<HTMLInputElement>;
|
|
21
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
22
|
+
}
|
|
23
|
+
export declare const PickerTriggerBody: React.FC<ITriggerBodyProps>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IPickerListItem } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const ITEM_GAP_HEIGHT = 2;
|
|
4
|
+
export declare const MIN_LIST_HEIGHT = 200;
|
|
5
|
+
export declare const DEFAULT_LIST_HEIGHT = 400;
|
|
6
|
+
export declare const DEFAULT_PICKER_OPTIONS: ({
|
|
7
|
+
key: string;
|
|
8
|
+
name: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
} | {
|
|
11
|
+
key: string;
|
|
12
|
+
name: string;
|
|
13
|
+
groupHeader?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
key: string;
|
|
16
|
+
name: string;
|
|
17
|
+
groupHeader: boolean;
|
|
18
|
+
})[];
|
|
19
|
+
export declare const SELECTED_OPTIONS: {
|
|
20
|
+
key: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}[];
|
|
23
|
+
export declare const DEFAULT_EXTENDED_OPTIONS: ({
|
|
24
|
+
key: string;
|
|
25
|
+
name: string;
|
|
26
|
+
groupHeader: boolean;
|
|
27
|
+
disabled?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
key: string;
|
|
30
|
+
name: string;
|
|
31
|
+
groupHeader?: undefined;
|
|
32
|
+
disabled?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
key: string;
|
|
35
|
+
name: string;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
groupHeader?: undefined;
|
|
38
|
+
})[];
|
|
39
|
+
export declare const DEFAULT_MORE_PICKER_OPTIONS: IPickerListItem[];
|
|
40
|
+
export declare const SELECT_ALL_OPTION_KEY = "select-all";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPickerListItem } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const findIndicesWhere: <T>(array: T[], predicate: (item: T) => boolean) => number[];
|
|
4
|
+
export declare const getNormalizedItems: (items: IPickerListItem[]) => IPickerListItem[];
|
|
5
|
+
export declare const getPickerListItemKey: ({ key }: IPickerListItem) => string;
|
|
6
|
+
export declare const getNewIndexes: (prev: string[], key: string) => string[];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FloatingContext, Placement, Strategy, UseClickProps, UseDismissProps } from '@floating-ui/react';
|
|
2
|
+
import { IPickerListItem } from '../types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
interface UseFloatingPickerProps {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
items: IPickerListItem[];
|
|
7
|
+
placement?: Placement;
|
|
8
|
+
floatingStrategy?: Strategy;
|
|
9
|
+
useClickHookProps?: UseClickProps;
|
|
10
|
+
useDismissHookProps?: UseDismissProps;
|
|
11
|
+
openedOnInit: boolean;
|
|
12
|
+
minListHeight: number;
|
|
13
|
+
maxListHeight: number;
|
|
14
|
+
isOpen?: boolean;
|
|
15
|
+
onVisibilityChange?: (open: boolean, event?: Event | undefined) => void;
|
|
16
|
+
searchPhrase?: string;
|
|
17
|
+
}
|
|
18
|
+
interface IUseFloatingPicker {
|
|
19
|
+
getReferenceProps: (userProps?: React.HTMLProps<Element> | undefined) => Record<string, unknown>;
|
|
20
|
+
setReference: (element: HTMLElement | null) => void;
|
|
21
|
+
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
22
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, 'selected' | 'active'>) => Record<string, unknown>;
|
|
23
|
+
floatingStyles: React.CSSProperties;
|
|
24
|
+
isPositioned: boolean;
|
|
25
|
+
context: FloatingContext<HTMLButtonElement>;
|
|
26
|
+
nodeId: string;
|
|
27
|
+
setFloating: (node: HTMLElement | null) => void;
|
|
28
|
+
activeIndex: number | null;
|
|
29
|
+
listElementsRef: React.MutableRefObject<(HTMLElement | null)[]>;
|
|
30
|
+
virtualItemRef: React.RefObject<HTMLDivElement>;
|
|
31
|
+
maxHeight: number;
|
|
32
|
+
pointer: boolean;
|
|
33
|
+
setPointer: (pointer: boolean) => void;
|
|
34
|
+
}
|
|
35
|
+
export declare const useFloatingPicker: ({ disabled, items, placement, minListHeight, maxListHeight, floatingStrategy, useDismissHookProps, useClickHookProps, isOpen, onVisibilityChange, searchPhrase, }: UseFloatingPickerProps) => IUseFloatingPicker;
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IPickerListItem } from '../types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface UsePickerItemsProps {
|
|
4
|
+
selected?: IPickerListItem[] | null;
|
|
5
|
+
options: IPickerListItem[];
|
|
6
|
+
type: 'single' | 'multi';
|
|
7
|
+
selectAllOptionText?: string;
|
|
8
|
+
onSelect: (items: IPickerListItem[] | null) => void;
|
|
9
|
+
setOpen: (isOpen: boolean) => void;
|
|
10
|
+
clearSearchAfterSelection: boolean;
|
|
11
|
+
inputRef: React.RefObject<HTMLInputElement>;
|
|
12
|
+
}
|
|
13
|
+
interface IUsePickerItems {
|
|
14
|
+
selectedKeys: string[];
|
|
15
|
+
items: IPickerListItem[];
|
|
16
|
+
searchPhrase: string;
|
|
17
|
+
handleSelect: (key: string) => void;
|
|
18
|
+
handleOnFilter: (text: string) => void;
|
|
19
|
+
handleItemRemove: (itemKey: string) => void;
|
|
20
|
+
handleClear: () => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const usePickerItems: ({ selected, options, type, selectAllOptionText, onSelect, setOpen, clearSearchAfterSelection, inputRef, }: UsePickerItemsProps) => IUsePickerItems;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { InputHTMLAttributes, ReactElement } from 'react';
|
|
2
|
+
import { Placement, Strategy, UseClickProps, UseDismissProps } from '@floating-ui/react';
|
|
3
|
+
import { VirtuosoProps } from 'react-virtuoso';
|
|
4
|
+
import { Size } from '../../utils';
|
|
5
|
+
import { ComponentCoreProps } from '../../utils/types';
|
|
6
|
+
import { IconSource } from '../Icon';
|
|
7
|
+
|
|
8
|
+
export interface IPickerListItem {
|
|
9
|
+
key: string;
|
|
10
|
+
name: string;
|
|
11
|
+
customElement?: {
|
|
12
|
+
listItemBody?: ReactElement;
|
|
13
|
+
selectedItemBody?: ReactElement;
|
|
14
|
+
};
|
|
15
|
+
groupHeader?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
icon?: IconSource;
|
|
18
|
+
avatarSrc?: string;
|
|
19
|
+
secondaryText?: string;
|
|
20
|
+
showCheckbox?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export type PickerType = 'single' | 'multi';
|
|
23
|
+
export interface IPickerProps extends ComponentCoreProps {
|
|
24
|
+
/**
|
|
25
|
+
* Specify the custom id
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The CSS class for picker container
|
|
30
|
+
*/
|
|
31
|
+
className?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The CSS class for picker list
|
|
34
|
+
*/
|
|
35
|
+
listClassName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Specify the max height of the picker list
|
|
38
|
+
*/
|
|
39
|
+
maxListHeight?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Specify the min height of the picker list
|
|
42
|
+
*/
|
|
43
|
+
minListHeight?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Specify whether the picker should be disabled
|
|
46
|
+
*/
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Specify whether the picker should be in error state
|
|
50
|
+
*/
|
|
51
|
+
error?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Array of picker options
|
|
54
|
+
*/
|
|
55
|
+
options: IPickerListItem[];
|
|
56
|
+
/**
|
|
57
|
+
* Array of picker selected options
|
|
58
|
+
*/
|
|
59
|
+
selected?: IPickerListItem[] | null;
|
|
60
|
+
/**
|
|
61
|
+
* Specify the picker size
|
|
62
|
+
*/
|
|
63
|
+
size?: Size;
|
|
64
|
+
/**
|
|
65
|
+
* Specify the placeholder for search input
|
|
66
|
+
*/
|
|
67
|
+
placeholder?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Specify whether the option select is required
|
|
70
|
+
*/
|
|
71
|
+
isRequired?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Text if no search result were found
|
|
74
|
+
*/
|
|
75
|
+
noSearchResultText?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Text for `select all` option which will be visible if defined in multi select mode
|
|
78
|
+
*/
|
|
79
|
+
selectAllOptionText?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Set `multi` to specify whether the picker should allow to multi selection
|
|
82
|
+
*/
|
|
83
|
+
type?: PickerType;
|
|
84
|
+
/**
|
|
85
|
+
* Set to disable search input
|
|
86
|
+
*/
|
|
87
|
+
searchDisabled?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Set to hide clear selection button
|
|
90
|
+
*/
|
|
91
|
+
hideClearButton?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Set picker visibility
|
|
94
|
+
*/
|
|
95
|
+
isVisible?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Optional handler called on picker list hide
|
|
98
|
+
*/
|
|
99
|
+
onClose?: (event?: Event) => void;
|
|
100
|
+
/**
|
|
101
|
+
* Optional handler called on picker list show
|
|
102
|
+
*/
|
|
103
|
+
onOpen?: (event?: Event) => void;
|
|
104
|
+
/**
|
|
105
|
+
* Will open picker on component initialization
|
|
106
|
+
*/
|
|
107
|
+
openedOnInit?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Callback called after item selection
|
|
110
|
+
*/
|
|
111
|
+
onSelect: (selectedItems: IPickerListItem[] | null) => void;
|
|
112
|
+
/**
|
|
113
|
+
* Clears the search input after item select
|
|
114
|
+
*/
|
|
115
|
+
clearSearchAfterSelection?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* The popover placement related to the trigger element
|
|
118
|
+
*/
|
|
119
|
+
placement?: Placement;
|
|
120
|
+
/**
|
|
121
|
+
* Floating strategy for the picker component from @floating-ui/react
|
|
122
|
+
*/
|
|
123
|
+
floatingStrategy?: Strategy;
|
|
124
|
+
/**
|
|
125
|
+
* Set the `floating-ui` useDismiss hook params if you need more control
|
|
126
|
+
* https://floating-ui.com/docs/usedismiss
|
|
127
|
+
*/
|
|
128
|
+
useDismissHookProps?: UseDismissProps;
|
|
129
|
+
/**
|
|
130
|
+
* Set the `floating-ui` useClick hook params if you need more control
|
|
131
|
+
* https://floating-ui.com/docs/useclick
|
|
132
|
+
*/
|
|
133
|
+
useClickHookProps?: UseClickProps;
|
|
134
|
+
/**
|
|
135
|
+
* Props for the Virtuoso component
|
|
136
|
+
* https://virtuoso.dev/virtuoso-api-reference/
|
|
137
|
+
*/
|
|
138
|
+
virtuosoProps?: VirtuosoProps<IPickerListItem, unknown>;
|
|
139
|
+
/**
|
|
140
|
+
* Additional props for the input element
|
|
141
|
+
*/
|
|
142
|
+
inputProps?: InputHTMLAttributes<HTMLInputElement> | Record<string, unknown>;
|
|
143
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { OffsetOptions } from '@floating-ui/core';
|
|
2
|
+
import { Placement, UseClickProps, UseDismissProps, FlipOptions, Strategy } from '@floating-ui/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface IPopoverProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/**
|
|
7
|
+
* The CSS class for popover container
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The CSS class for trigger container
|
|
12
|
+
*/
|
|
13
|
+
triggerClassName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The popover placement related to the trigger element
|
|
16
|
+
*/
|
|
17
|
+
placement?: Placement;
|
|
18
|
+
/**
|
|
19
|
+
* Optional handler called on tooltip hide
|
|
20
|
+
*/
|
|
21
|
+
onClose?: (event?: Event) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Optional handler called on tooltip show
|
|
24
|
+
*/
|
|
25
|
+
onOpen?: (event?: Event) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Set popover visibility
|
|
28
|
+
*/
|
|
29
|
+
isVisible?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Will open menu on component initialization
|
|
32
|
+
*/
|
|
33
|
+
openedOnInit?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Set the popover placement to keep it in view
|
|
36
|
+
*/
|
|
37
|
+
flipOptions?: FlipOptions;
|
|
38
|
+
/**
|
|
39
|
+
* Set the popover offset
|
|
40
|
+
*/
|
|
41
|
+
offsetSize?: OffsetOptions;
|
|
42
|
+
/**
|
|
43
|
+
* Set `false` if the menu is not to be closed with an esc press
|
|
44
|
+
*/
|
|
45
|
+
closeOnEsc?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Trigger element
|
|
48
|
+
*/
|
|
49
|
+
triggerRenderer: React.ReactElement | (() => React.ReactNode);
|
|
50
|
+
/**
|
|
51
|
+
* Set the `floating-ui` useDismiss hook params if you need more control
|
|
52
|
+
* https://floating-ui.com/docs/usedismiss
|
|
53
|
+
*/
|
|
54
|
+
useDismissHookProps?: UseDismissProps;
|
|
55
|
+
/**
|
|
56
|
+
* Set the `floating-ui` useClick hook params if you need more control
|
|
57
|
+
* https://floating-ui.com/docs/useclick
|
|
58
|
+
*/
|
|
59
|
+
useClickHookProps?: UseClickProps;
|
|
60
|
+
/**
|
|
61
|
+
* Set the type of CSS position property to use
|
|
62
|
+
* https://floating-ui.com/docs/usefloating#strategy
|
|
63
|
+
*/
|
|
64
|
+
floatingStrategy?: Strategy;
|
|
65
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, MouseEvent } from 'react';
|
|
2
|
+
import { ProductOption, ProductId } from '../../types';
|
|
3
|
+
|
|
4
|
+
type IProps = {
|
|
5
|
+
onClick: (event: MouseEvent, id: ProductId) => void;
|
|
6
|
+
product: ProductOption;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const ProductRow: FC<IProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ProductOption } from '../../types';
|
|
3
|
+
|
|
4
|
+
type IProps = Pick<ProductOption, 'icon' | 'notificationCount' | 'backgroundColors' | 'expired' | 'iconColor' | 'borderColor'> & {
|
|
5
|
+
isMainProduct?: boolean;
|
|
6
|
+
withBorder?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const ProductTile: FC<IProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ProductOption, ProductData, ProductId } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const ProductSwitcherProducts: ProductOption[];
|
|
4
|
+
export declare const labsRedirectData: ProductData[];
|
|
5
|
+
export declare const stagingRedirectData: ProductData[];
|
|
6
|
+
export declare const prodRedirectData: ProductData[];
|
|
7
|
+
export declare const alwaysVisibleProducts: ProductId[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ProductName, ProductData, ProductId, ProductOption, ProductSubscription, Env } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const getRedirectURL: (productClientId: string, productRedirectUri: string, organizationId: string, mainProductId: ProductId, env: Env) => string;
|
|
4
|
+
export declare const getTrialDaysLeft: (trialEnd: string) => number;
|
|
5
|
+
export declare const isVisibleProduct: (productId: ProductId, installedProducts: {
|
|
6
|
+
product: ProductName;
|
|
7
|
+
}[]) => boolean;
|
|
8
|
+
export declare const createProductOption: (product: ProductOption, redirectData: ProductData[], subscriptions: ProductSubscription, organizationId: string, mainProductId: ProductId, env: Env) => ProductOption;
|
|
9
|
+
export declare const getRedirectDataByEnv: (env: Env) => ProductData[];
|
|
10
|
+
export declare const getUtmSource: (env: Env, mainProductId: ProductId) => string | undefined;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Env, ProductId, ProductName, ProductOption, ProductSubscription } from '../types';
|
|
2
|
+
|
|
3
|
+
export interface IProductSwitcherHook {
|
|
4
|
+
env?: Env;
|
|
5
|
+
installedProducts: {
|
|
6
|
+
product: ProductName;
|
|
7
|
+
}[];
|
|
8
|
+
organizationId: string;
|
|
9
|
+
subscriptions: ProductSubscription;
|
|
10
|
+
mainProductId: ProductId;
|
|
11
|
+
}
|
|
12
|
+
export declare const useProductSwitcher: ({ env, installedProducts, subscriptions, organizationId, mainProductId, }: IProductSwitcherHook) => {
|
|
13
|
+
products: ProductOption[];
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OpenWidgetLogoUri = "data:image/svg+xml,%3Csvg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cg clip-path=\"url(%23clip0_24854_8994)\"%3E%3Crect width=\"40\" height=\"40\" fill=\"%230066FF\"/%3E%3Cg filter=\"url(%23filter0_f_24854_8994)\"%3E%3Cpath d=\"M32.6382 31.0816C41.9891 31.0816 49.5694 23.5012 49.5694 14.1504C49.5694 4.79953 41.9891 -2.78082 32.6382 -2.78082C23.2874 -2.78082 15.707 4.79953 15.707 14.1504C15.707 23.5012 23.2874 31.0816 32.6382 31.0816Z\" fill=\"%23FF4205\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter1_f_24854_8994)\"%3E%3Cpath d=\"M10.417 50.1292C19.7679 50.1292 27.3482 42.5488 27.3482 33.198C27.3482 23.8471 19.7679 16.2668 10.417 16.2668C1.0662 16.2668 -6.51416 23.8471 -6.51416 33.198C-6.51416 42.5488 1.0662 50.1292 10.417 50.1292Z\" fill=\"%2373CE3B\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter2_f_24854_8994)\"%3E%3Cpath d=\"M9.35788 16.2667C15.2022 16.2667 19.9399 11.529 19.9399 5.68472C19.9399 -0.159555 15.2022 -4.89728 9.35788 -4.89728C3.5136 -4.89728 -1.22412 -0.159555 -1.22412 5.68472C-1.22412 11.529 3.5136 16.2667 9.35788 16.2667Z\" fill=\"%233750FF\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter3_f_24854_8994)\"%3E%3Cpath d=\"M7.24274 18.3831C13.6714 18.3831 18.8829 13.1716 18.8829 6.74292C18.8829 0.314217 13.6714 -4.89728 7.24274 -4.89728C0.814034 -4.89728 -4.39746 0.314217 -4.39746 6.74292C-4.39746 13.1716 0.814034 18.3831 7.24274 18.3831Z\" fill=\"%233750FF\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter4_f_24854_8994)\"%3E%3Cpath d=\"M8.29938 21.5577C14.7281 21.5577 19.9396 16.3462 19.9396 9.91748C19.9396 3.48878 14.7281 -1.72272 8.29938 -1.72272C1.87068 -1.72272 -3.34082 3.48878 -3.34082 9.91748C-3.34082 16.3462 1.87068 21.5577 8.29938 21.5577Z\" fill=\"%233750FF\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter5_f_24854_8994)\"%3E%3Cpath d=\"M33.6973 45.8964C40.126 45.8964 45.3375 40.6849 45.3375 34.2562C45.3375 27.8275 40.126 22.616 33.6973 22.616C27.2686 22.616 22.0571 27.8275 22.0571 34.2562C22.0571 40.6849 27.2686 45.8964 33.6973 45.8964Z\" fill=\"%23FFD001\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter6_f_24854_8994)\"%3E%3Cpath d=\"M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z\" fill=\"%23FFD001\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter7_f_24854_8994)\"%3E%3Cpath d=\"M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z\" fill=\"%23FFD001\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter8_f_24854_8994)\"%3E%3Cpath d=\"M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z\" fill=\"%2373CE3B\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter9_f_24854_8994)\"%3E%3Cpath d=\"M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z\" fill=\"%2373CE3B\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter10_f_24854_8994)\"%3E%3Cpath d=\"M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z\" fill=\"%2373CE3B\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter11_f_24854_8994)\"%3E%3Cpath d=\"M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z\" fill=\"%2373CE3B\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter12_f_24854_8994)\"%3E%3Cpath d=\"M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z\" fill=\"%2373CE3B\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter13_f_24854_8994)\"%3E%3Cpath d=\"M9.35898 38.489C12.8655 38.489 15.7082 35.6463 15.7082 32.1398C15.7082 28.6332 12.8655 25.7906 9.35898 25.7906C5.8524 25.7906 3.00977 28.6332 3.00977 32.1398C3.00977 35.6463 5.8524 38.489 9.35898 38.489Z\" fill=\"%2373CE3B\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter14_f_24854_8994)\"%3E%3Cpath d=\"M38.9871 31.0816C46.5846 31.0816 52.7437 24.9225 52.7437 17.325C52.7437 9.7274 46.5846 3.56836 38.9871 3.56836C31.3895 3.56836 25.2305 9.7274 25.2305 17.325C25.2305 24.9225 31.3895 31.0816 38.9871 31.0816Z\" fill=\"%23FF4205\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter15_f_24854_8994)\"%3E%3Cpath d=\"M38.9879 25.7905C45.4166 25.7905 50.6281 20.579 50.6281 14.1503C50.6281 7.72157 45.4166 2.51007 38.9879 2.51007C32.5592 2.51007 27.3477 7.72157 27.3477 14.1503C27.3477 20.579 32.5592 25.7905 38.9879 25.7905Z\" fill=\"%23FF4205\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter16_f_24854_8994)\"%3E%3Cpath d=\"M9.35868 21.5578C14.0341 21.5578 17.8243 17.7676 17.8243 13.0922C17.8243 8.41674 14.0341 4.62656 9.35868 4.62656C4.68325 4.62656 0.893066 8.41674 0.893066 13.0922C0.893066 17.7676 4.68325 21.5578 9.35868 21.5578Z\" fill=\"%233750FF\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter17_f_24854_8994)\"%3E%3Cpath d=\"M31.5797 18.3831C35.0862 18.3831 37.9289 15.5404 37.9289 12.0339C37.9289 8.5273 35.0862 5.68466 31.5797 5.68466C28.0731 5.68466 25.2305 8.5273 25.2305 12.0339C25.2305 15.5404 28.0731 18.3831 31.5797 18.3831Z\" fill=\"%23FF2E00\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter18_f_24854_8994)\"%3E%3Cpath d=\"M12.5312 14.1503C18.3755 14.1503 23.1132 9.41257 23.1132 3.5683C23.1132 -2.27598 18.3755 -7.0137 12.5312 -7.0137C6.68694 -7.0137 1.94922 -2.27598 1.94922 3.5683C1.94922 9.41257 6.68694 14.1503 12.5312 14.1503Z\" fill=\"%233851FF\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter19_f_24854_8994)\"%3E%3Cpath d=\"M28.4057 13.0921C34.25 13.0921 38.9877 8.35441 38.9877 2.51013C38.9877 -3.33415 34.25 -8.07187 28.4057 -8.07187C22.5615 -8.07187 17.8237 -3.33415 17.8237 2.51013C17.8237 8.35441 22.5615 13.0921 28.4057 13.0921Z\" fill=\"%23F3354D\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter20_f_24854_8994)\"%3E%3Cpath d=\"M33.6958 48.0128C39.54 48.0128 44.2778 43.275 44.2778 37.4308C44.2778 31.5865 39.54 26.8488 33.6958 26.8488C27.8515 26.8488 23.1138 31.5865 23.1138 37.4308C23.1138 43.275 27.8515 48.0128 33.6958 48.0128Z\" fill=\"%23FFD101\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter21_f_24854_8994)\"%3E%3Cpath d=\"M8.30173 43.78C14.146 43.78 18.8837 39.0422 18.8837 33.198C18.8837 27.3537 14.146 22.616 8.30173 22.616C2.45745 22.616 -2.28027 27.3537 -2.28027 33.198C-2.28027 39.0422 2.45745 43.78 8.30173 43.78Z\" fill=\"%237FCF35\"/%3E%3C/g%3E%3Cg filter=\"url(%23filter22_f_24854_8994)\"%3E%3Cpath d=\"M6.18454 34.2562C12.0288 34.2562 16.7665 29.5184 16.7665 23.6742C16.7665 17.8299 12.0288 13.0922 6.18454 13.0922C0.340261 13.0922 -4.39746 17.8299 -4.39746 23.6742C-4.39746 29.5184 0.340261 34.2562 6.18454 34.2562Z\" fill=\"%231D7DD0\"/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cfilter id=\"filter0_f_24854_8994\" x=\"-8.29297\" y=\"-26.7808\" width=\"81.8623\" height=\"81.8624\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter1_f_24854_8994\" x=\"-30.5142\" y=\"-7.73322\" width=\"81.8623\" height=\"81.8624\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter2_f_24854_8994\" x=\"-25.2241\" y=\"-28.8973\" width=\"69.1641\" height=\"69.164\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter3_f_24854_8994\" x=\"-28.3975\" y=\"-28.8973\" width=\"71.2803\" height=\"71.2804\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter4_f_24854_8994\" x=\"-27.3408\" y=\"-25.7227\" width=\"71.2803\" height=\"71.2804\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter5_f_24854_8994\" x=\"-1.94287\" y=\"-1.38403\" width=\"71.2803\" height=\"71.2804\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter6_f_24854_8994\" x=\"-6.17627\" y=\"0.732361\" width=\"71.2803\" height=\"71.2804\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter7_f_24854_8994\" x=\"-6.17627\" y=\"0.732361\" width=\"71.2803\" height=\"71.2804\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter8_f_24854_8994\" x=\"-27.3408\" y=\"-3.50043\" width=\"67.0479\" height=\"67.0476\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter9_f_24854_8994\" x=\"-27.3408\" y=\"-3.50043\" width=\"67.0479\" height=\"67.0476\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter10_f_24854_8994\" x=\"-27.3408\" y=\"-3.50043\" width=\"67.0479\" height=\"67.0476\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter11_f_24854_8994\" x=\"-27.3408\" y=\"-3.50043\" width=\"67.0479\" height=\"67.0476\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter12_f_24854_8994\" x=\"-27.3408\" y=\"-3.50043\" width=\"67.0479\" height=\"67.0476\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter13_f_24854_8994\" x=\"-20.9902\" y=\"1.79056\" width=\"60.6982\" height=\"60.6984\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter14_f_24854_8994\" x=\"1.23047\" y=\"-20.4316\" width=\"75.5132\" height=\"75.5132\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter15_f_24854_8994\" x=\"3.34766\" y=\"-21.4899\" width=\"71.2803\" height=\"71.2804\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter16_f_24854_8994\" x=\"-23.1069\" y=\"-19.3734\" width=\"64.9312\" height=\"64.9312\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter17_f_24854_8994\" x=\"1.23047\" y=\"-18.3153\" width=\"60.6982\" height=\"60.6984\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"12\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter18_f_24854_8994\" x=\"-9.05078\" y=\"-18.0137\" width=\"43.1641\" height=\"43.164\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"5.5\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter19_f_24854_8994\" x=\"6.82373\" y=\"-19.0719\" width=\"43.1641\" height=\"43.164\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"5.5\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter20_f_24854_8994\" x=\"12.1138\" y=\"15.8488\" width=\"43.1641\" height=\"43.164\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"5.5\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter21_f_24854_8994\" x=\"-13.2803\" y=\"11.616\" width=\"43.1641\" height=\"43.164\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"5.5\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3Cfilter id=\"filter22_f_24854_8994\" x=\"-15.3975\" y=\"2.09216\" width=\"43.1641\" height=\"43.164\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"%3E%3CfeFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/%3E%3CfeBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"/%3E%3CfeGaussianBlur stdDeviation=\"5.5\" result=\"effect1_foregroundBlur_24854_8994\"/%3E%3C/filter%3E%3CclipPath id=\"clip0_24854_8994\"%3E%3Crect width=\"40\" height=\"40\" fill=\"white\"/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A";
|