@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,374 @@
|
|
|
1
|
+
export declare const DesignToken: {
|
|
2
|
+
/** @deprecated */
|
|
3
|
+
Background: string;
|
|
4
|
+
Background01: string;
|
|
5
|
+
Background02: string;
|
|
6
|
+
Background03: string;
|
|
7
|
+
/** @deprecated */
|
|
8
|
+
SurfaceBasicDefault: string;
|
|
9
|
+
SurfacePrimaryDefault: string;
|
|
10
|
+
/** @deprecated */
|
|
11
|
+
SurfaceBasicSubtle: string;
|
|
12
|
+
SurfaceSecondaryDefault: string;
|
|
13
|
+
SurfaceSecondaryHover: string;
|
|
14
|
+
SurfaceSecondaryActive: string;
|
|
15
|
+
SurfaceSecondaryDisabled: string;
|
|
16
|
+
/** @deprecated */
|
|
17
|
+
SurfacePrimaryHoverOpacity: string;
|
|
18
|
+
/** @deprecated */
|
|
19
|
+
SurfaceBasicHover: string;
|
|
20
|
+
SurfacePrimaryHover: string;
|
|
21
|
+
/** @deprecated */
|
|
22
|
+
SurfaceBasicActive: string;
|
|
23
|
+
SurfacePrimaryActive: string;
|
|
24
|
+
SurfacePrimaryActiveColored: string;
|
|
25
|
+
/** @deprecated */
|
|
26
|
+
SurfaceBasicDisabled: string;
|
|
27
|
+
SurfacePrimaryDisabled: string;
|
|
28
|
+
SurfaceTertiaryDefault: string;
|
|
29
|
+
/** @deprecated */
|
|
30
|
+
SurfaceSecondarySubtle: string;
|
|
31
|
+
SurfaceModerateDefault: string;
|
|
32
|
+
SurfaceModerateHover: string;
|
|
33
|
+
SurfaceModerateActive: string;
|
|
34
|
+
SurfaceTertiaryHover: string;
|
|
35
|
+
SurfaceTertiaryActive: string;
|
|
36
|
+
SurfaceTertiaryDisabled: string;
|
|
37
|
+
/** @deprecated */
|
|
38
|
+
SurfaceFeedbackInfo: string;
|
|
39
|
+
SurfaceAccentEmphasisLowInfo: string;
|
|
40
|
+
/** @deprecated */
|
|
41
|
+
SurfaceFeedbackNegative: string;
|
|
42
|
+
SurfaceAccentEmphasisLowNegative: string;
|
|
43
|
+
/** @deprecated */
|
|
44
|
+
SurfaceFeedbackWarning: string;
|
|
45
|
+
SurfaceAccentEmphasisLowWarning: string;
|
|
46
|
+
/** @deprecated */
|
|
47
|
+
SurfaceFeedbackPositive: string;
|
|
48
|
+
SurfaceAccentEmphasisLowPositive: string;
|
|
49
|
+
SurfaceAccentEmphasisLowPurple: string;
|
|
50
|
+
SurfaceAccentEmphasisMinInfo: string;
|
|
51
|
+
SurfaceAccentEmphasisMinNegative: string;
|
|
52
|
+
SurfaceAccentEmphasisMinWarning: string;
|
|
53
|
+
SurfaceAccentEmphasisMinPositive: string;
|
|
54
|
+
SurfaceAccentEmphasisMinPurple: string;
|
|
55
|
+
SurfaceAccentOndarkNegativeDefault: string;
|
|
56
|
+
SurfaceAccentOndarkNegativeHover: string;
|
|
57
|
+
SurfaceAccentOndarkWarningDefault: string;
|
|
58
|
+
SurfaceAccentOndarkWarningHover: string;
|
|
59
|
+
SurfaceAccentOndarkInfoDefault: string;
|
|
60
|
+
SurfaceAccentOndarkInfoHover: string;
|
|
61
|
+
SurfaceAccentOndarkPositiveDefault: string;
|
|
62
|
+
SurfaceAccentOndarkPositiveHover: string;
|
|
63
|
+
SurfaceAccentEmphasisSubtleNegative: string;
|
|
64
|
+
SurfaceAccentEmphasisSubtleWarning: string;
|
|
65
|
+
SurfaceAccentEmphasisSubtleInfo: string;
|
|
66
|
+
SurfaceAccentEmphasisSubtlePositive: string;
|
|
67
|
+
/** @deprecated */
|
|
68
|
+
SurfaceInvertDefault: string;
|
|
69
|
+
SurfaceInvertPrimary: string;
|
|
70
|
+
/** @deprecated */
|
|
71
|
+
SurfaceInvertSubtle: string;
|
|
72
|
+
SurfaceInvertSecondary: string;
|
|
73
|
+
SurfaceInvertDisabled: string;
|
|
74
|
+
SurfaceLockedDefault: string;
|
|
75
|
+
SurfaceLockedHover: string;
|
|
76
|
+
SurfaceLockedActive: string;
|
|
77
|
+
SurfaceLockedDisabled: string;
|
|
78
|
+
SurfaceLockedWhite: string;
|
|
79
|
+
SurfaceLockedBlack: string;
|
|
80
|
+
SurfaceAccentEmphasisMediumNegative: string;
|
|
81
|
+
SurfaceAccentEmphasisMediumPositive: string;
|
|
82
|
+
SurfaceAccentEmphasisHighInfo: string;
|
|
83
|
+
SurfaceAccentEmphasisHighNegative: string;
|
|
84
|
+
SurfaceAccentEmphasisHighWarning: string;
|
|
85
|
+
SurfaceAccentEmphasisHighPositive: string;
|
|
86
|
+
SurfaceAccentEmphasisHighPurple: string;
|
|
87
|
+
SurfaceOpacityBasicHover: string;
|
|
88
|
+
SurfaceOpacityBasicActive: string;
|
|
89
|
+
SurfaceOpacityInvertHover: string;
|
|
90
|
+
SurfaceOpacityInvertActive: string;
|
|
91
|
+
/** @deprecated */
|
|
92
|
+
SurfaceOverlay: string;
|
|
93
|
+
SurfaceGradient01: string;
|
|
94
|
+
SurfaceGradient02: string;
|
|
95
|
+
SurfaceGradient03: string;
|
|
96
|
+
SurfaceGradient04: string;
|
|
97
|
+
SurfaceGradient05: string;
|
|
98
|
+
SurfaceGradient06: string;
|
|
99
|
+
SurfaceGradient07: string;
|
|
100
|
+
SurfaceGradient08: string;
|
|
101
|
+
SurfaceGradient09: string;
|
|
102
|
+
SurfaceGradient10: string;
|
|
103
|
+
SurfaceGradient11: string;
|
|
104
|
+
SurfaceGradient12: string;
|
|
105
|
+
SurfaceGradient13: string;
|
|
106
|
+
SurfaceGradient14: string;
|
|
107
|
+
SurfaceOtherOverlay: string;
|
|
108
|
+
SurfaceOtherAgent: string;
|
|
109
|
+
SurfaceOtherAgentHover: string;
|
|
110
|
+
SurfaceOtherSkeleton: string;
|
|
111
|
+
/** @deprecated */
|
|
112
|
+
SurfaceOtherInternalNote: string;
|
|
113
|
+
SurfaceOtherInternalNoteHover: string;
|
|
114
|
+
SurfaceOtherVisitor: string;
|
|
115
|
+
SurfaceOtherVisitorHover: string;
|
|
116
|
+
/** @deprecated */
|
|
117
|
+
ContentDefault: string;
|
|
118
|
+
ContentBasicPrimary: string;
|
|
119
|
+
/** @deprecated */
|
|
120
|
+
ContentSubtle: string;
|
|
121
|
+
ContentBasicSecondary: string;
|
|
122
|
+
/** @deprecated */
|
|
123
|
+
ContentDisabled: string;
|
|
124
|
+
ContentBasicDisabled: string;
|
|
125
|
+
ContentBasicNegative: string;
|
|
126
|
+
ContentBasicWarning: string;
|
|
127
|
+
ContentBasicPositive: string;
|
|
128
|
+
ContentBasicInfo: string;
|
|
129
|
+
ContentBasicPurple: string;
|
|
130
|
+
ContentBasicGradient01: string;
|
|
131
|
+
/** @deprecated */
|
|
132
|
+
ContentWhiteLocked: string;
|
|
133
|
+
ContentLockedWhite: string;
|
|
134
|
+
/** @deprecated */
|
|
135
|
+
ContentBlackLocked: string;
|
|
136
|
+
ContentLockedBlack: string;
|
|
137
|
+
ContentLockedDefault: string;
|
|
138
|
+
ContentLockedHover: string;
|
|
139
|
+
ContentLockedActive: string;
|
|
140
|
+
ContentLockedDisabled: string;
|
|
141
|
+
/** @deprecated */
|
|
142
|
+
ContentInvertDefault: string;
|
|
143
|
+
ContentInvertPrimary: string;
|
|
144
|
+
/** @deprecated */
|
|
145
|
+
ContentInvertSubtle: string;
|
|
146
|
+
ContentInvertSecondary: string;
|
|
147
|
+
ContentInvertDisabled: string;
|
|
148
|
+
ContentInvertGradient01: string;
|
|
149
|
+
/** @deprecated */
|
|
150
|
+
BorderDefault: string;
|
|
151
|
+
BorderBasicPrimary: string;
|
|
152
|
+
BorderBasicSecondary: string;
|
|
153
|
+
/** @deprecated */
|
|
154
|
+
BorderSubtle: string;
|
|
155
|
+
BorderBasicTertiary: string;
|
|
156
|
+
/** @deprecated */
|
|
157
|
+
BorderHover: string;
|
|
158
|
+
BorderBasicHover: string;
|
|
159
|
+
/** @deprecated */
|
|
160
|
+
BorderDisabled: string;
|
|
161
|
+
BorderBasicDisabled: string;
|
|
162
|
+
BorderBasicNegative: string;
|
|
163
|
+
BorderBasicWarning: string;
|
|
164
|
+
BorderBasicPositive: string;
|
|
165
|
+
BorderBasicInfo: string;
|
|
166
|
+
BorderBasicPurple: string;
|
|
167
|
+
BorderBasicContrast: string;
|
|
168
|
+
/** @deprecated */
|
|
169
|
+
BorderInvertDefault: string;
|
|
170
|
+
BorderInvertPrimary: string;
|
|
171
|
+
/** @deprecated */
|
|
172
|
+
BorderInvertSubtle: string;
|
|
173
|
+
BorderInvertSecondary: string;
|
|
174
|
+
BorderInvertHover: string;
|
|
175
|
+
BorderInvertDisabled: string;
|
|
176
|
+
/** @deprecated */
|
|
177
|
+
ColorActionActive: string;
|
|
178
|
+
ActionPrimaryActive: string;
|
|
179
|
+
/** @deprecated */
|
|
180
|
+
ColorActionHover: string;
|
|
181
|
+
ActionPrimaryHover: string;
|
|
182
|
+
/** @deprecated */
|
|
183
|
+
ColorActionDefault: string;
|
|
184
|
+
ActionPrimaryDefault: string;
|
|
185
|
+
ColorActionDefaultRgb: string;
|
|
186
|
+
/** @deprecated */
|
|
187
|
+
ColorActionDisabled: string;
|
|
188
|
+
ActionPrimaryDisabled: string;
|
|
189
|
+
/** @deprecated */
|
|
190
|
+
ColorNegativeActive: string;
|
|
191
|
+
ActionNegativeActive: string;
|
|
192
|
+
/** @deprecated */
|
|
193
|
+
ColorNegativeHover: string;
|
|
194
|
+
ActionNegativeHover: string;
|
|
195
|
+
/** @deprecated */
|
|
196
|
+
ColorNegativeDefault: string;
|
|
197
|
+
ActionNegativeDefault: string;
|
|
198
|
+
/** @deprecated */
|
|
199
|
+
ColorNegativeDisabled: string;
|
|
200
|
+
ActionNegativeDisabled: string;
|
|
201
|
+
/** @deprecated */
|
|
202
|
+
ColorWarningDefault: string;
|
|
203
|
+
ActionWarningDefault: string;
|
|
204
|
+
/** @deprecated */
|
|
205
|
+
ColorWarningHover: string;
|
|
206
|
+
ActionWarningHover: string;
|
|
207
|
+
ActionWarningDisabled: string;
|
|
208
|
+
/** @deprecated */
|
|
209
|
+
ColorPositiveDefault: string;
|
|
210
|
+
ActionPositiveDefault: string;
|
|
211
|
+
/** @deprecated */
|
|
212
|
+
ColorPositiveHover: string;
|
|
213
|
+
ActionPositiveHover: string;
|
|
214
|
+
/** @deprecated */
|
|
215
|
+
ColorPositiveDisabled: string;
|
|
216
|
+
ActionPositiveDisabled: string;
|
|
217
|
+
ActionNeutralDefault: string;
|
|
218
|
+
ActionNeutralHover: string;
|
|
219
|
+
ActionNeutralDisabled: string;
|
|
220
|
+
ActionHighContrastDefault: string;
|
|
221
|
+
ActionHighContrastHover: string;
|
|
222
|
+
ActionHighContrastActive: string;
|
|
223
|
+
ActionHighContrastDisabled: string;
|
|
224
|
+
/** @deprecated */
|
|
225
|
+
ColorBot: string;
|
|
226
|
+
SurfaceOtherBot: string;
|
|
227
|
+
SurfaceOtherBotHover: string;
|
|
228
|
+
ColorBlack: string;
|
|
229
|
+
ColorWhite: string;
|
|
230
|
+
DecorBlue900: string;
|
|
231
|
+
DecorBlue800: string;
|
|
232
|
+
DecorBlue700: string;
|
|
233
|
+
DecorBlue600: string;
|
|
234
|
+
DecorBlue500: string;
|
|
235
|
+
DecorBlue400: string;
|
|
236
|
+
DecorBlue300: string;
|
|
237
|
+
DecorBlue200: string;
|
|
238
|
+
DecorBlue100: string;
|
|
239
|
+
DecorBlue50: string;
|
|
240
|
+
DecorOrange900: string;
|
|
241
|
+
DecorOrange800: string;
|
|
242
|
+
DecorOrange700: string;
|
|
243
|
+
DecorOrange600: string;
|
|
244
|
+
DecorOrange500: string;
|
|
245
|
+
DecorOrange400: string;
|
|
246
|
+
DecorOrange300: string;
|
|
247
|
+
DecorOrange200: string;
|
|
248
|
+
DecorOrange100: string;
|
|
249
|
+
DecorOrange50: string;
|
|
250
|
+
DecorYellow900: string;
|
|
251
|
+
DecorYellow800: string;
|
|
252
|
+
DecorYellow700: string;
|
|
253
|
+
DecorYellow600: string;
|
|
254
|
+
DecorYellow500: string;
|
|
255
|
+
DecorYellow400: string;
|
|
256
|
+
DecorYellow300: string;
|
|
257
|
+
DecorYellow200: string;
|
|
258
|
+
DecorYellow100: string;
|
|
259
|
+
DecorYellow50: string;
|
|
260
|
+
DecorGray950: string;
|
|
261
|
+
DecorGray900: string;
|
|
262
|
+
DecorGray800: string;
|
|
263
|
+
DecorGray700: string;
|
|
264
|
+
DecorGray600: string;
|
|
265
|
+
DecorGray500: string;
|
|
266
|
+
DecorGray400: string;
|
|
267
|
+
DecorGray300: string;
|
|
268
|
+
DecorGray200: string;
|
|
269
|
+
DecorGray150: string;
|
|
270
|
+
DecorGray100: string;
|
|
271
|
+
DecorGray75: string;
|
|
272
|
+
DecorGray50: string;
|
|
273
|
+
DecorGray40: string;
|
|
274
|
+
DecorGray20: string;
|
|
275
|
+
DecorGreen900: string;
|
|
276
|
+
DecorGreen800: string;
|
|
277
|
+
DecorGreen700: string;
|
|
278
|
+
DecorGreen600: string;
|
|
279
|
+
DecorGreen500: string;
|
|
280
|
+
DecorGreen400: string;
|
|
281
|
+
DecorGreen300: string;
|
|
282
|
+
DecorGreen200: string;
|
|
283
|
+
DecorGreen100: string;
|
|
284
|
+
DecorGreen50: string;
|
|
285
|
+
DecorRed900: string;
|
|
286
|
+
DecorRed800: string;
|
|
287
|
+
DecorRed700: string;
|
|
288
|
+
DecorRed600: string;
|
|
289
|
+
DecorRed500: string;
|
|
290
|
+
DecorRed400: string;
|
|
291
|
+
DecorRed300: string;
|
|
292
|
+
DecorRed200: string;
|
|
293
|
+
DecorRed100: string;
|
|
294
|
+
DecorRed50: string;
|
|
295
|
+
DecorPurple900: string;
|
|
296
|
+
DecorPurple800: string;
|
|
297
|
+
DecorPurple700: string;
|
|
298
|
+
DecorPurple600: string;
|
|
299
|
+
DecorPurple500: string;
|
|
300
|
+
DecorPurple400: string;
|
|
301
|
+
DecorPurple300: string;
|
|
302
|
+
DecorPurple200: string;
|
|
303
|
+
DecorPurple100: string;
|
|
304
|
+
DecorPurple50: string;
|
|
305
|
+
DecorBrown50: string;
|
|
306
|
+
DecorBrown300: string;
|
|
307
|
+
ProductsLivechat: string;
|
|
308
|
+
ProductsHelpdesk: string;
|
|
309
|
+
ProductsChatbot: string;
|
|
310
|
+
ProductsKnowledgebase: string;
|
|
311
|
+
IllustrationsPrimary: string;
|
|
312
|
+
IllustrationsSecondary: string;
|
|
313
|
+
IllustrationsStroke: string;
|
|
314
|
+
TagSurface01: string;
|
|
315
|
+
TagContent01: string;
|
|
316
|
+
BtnBasicBackgroundEnabled: string;
|
|
317
|
+
BtnBasicBackgroundHover: string;
|
|
318
|
+
BtnBasicBackgroundDisabled: string;
|
|
319
|
+
BtnBasicBackgroundActive: string;
|
|
320
|
+
BtnBasicBackgroundLoading: string;
|
|
321
|
+
BtnSecondaryBackgroundEnabled: string;
|
|
322
|
+
BtnSecondaryBackgroundHover: string;
|
|
323
|
+
BtnSecondaryBackgroundDisabled: string;
|
|
324
|
+
BtnSecondaryBackgroundActive: string;
|
|
325
|
+
BtnSecondaryBackgroundLoading: string;
|
|
326
|
+
BtnPlainIconBackgroundHover: string;
|
|
327
|
+
BtnPlainIconBackgroundActive: string;
|
|
328
|
+
PickerListBackground: string;
|
|
329
|
+
PickerListGroupBackground: string;
|
|
330
|
+
PickerListOptionBackgroundHover: string;
|
|
331
|
+
PickerListOptionBackgroundActiveHover: string;
|
|
332
|
+
PickerListOptionBackgroundFocus: string;
|
|
333
|
+
PickerListOptionBackgroundActive: string;
|
|
334
|
+
PopoverBackground: string;
|
|
335
|
+
SurfaceAvatar1: string;
|
|
336
|
+
SurfaceAvatar2: string;
|
|
337
|
+
SurfaceAvatar3: string;
|
|
338
|
+
SurfaceAvatar4: string;
|
|
339
|
+
SurfaceAvatar5: string;
|
|
340
|
+
SurfaceAvatar6: string;
|
|
341
|
+
SurfaceAvatar7: string;
|
|
342
|
+
SurfaceAvatar8: string;
|
|
343
|
+
SurfaceAvatar9: string;
|
|
344
|
+
SurfaceAvatar10: string;
|
|
345
|
+
NavbarBackground: string;
|
|
346
|
+
TooltipBackgroundBasic: string;
|
|
347
|
+
TooltipBackgroundInvert: string;
|
|
348
|
+
TooltipBorder: string;
|
|
349
|
+
TooltipBorderForSvg: string;
|
|
350
|
+
AnimatedGradientValue1: string;
|
|
351
|
+
AnimatedGradientValue2: string;
|
|
352
|
+
AnimatedGradientValue3: string;
|
|
353
|
+
ContentBasicInternalNote: string;
|
|
354
|
+
ContentBasicBot: string;
|
|
355
|
+
ActionLockDefault: string;
|
|
356
|
+
ActionLockHover: string;
|
|
357
|
+
ActionLockActive: string;
|
|
358
|
+
ActionLockDisabled: string;
|
|
359
|
+
SurfaceOtherInternalNoteMessageArea: string;
|
|
360
|
+
SurfaceOtherInternalNoteDefault: string;
|
|
361
|
+
ContentBasicInternalNoteMessagePlaceholder: string;
|
|
362
|
+
ContentBasicInternalNoteMessageActive: string;
|
|
363
|
+
OnePopoverMessageBackgroundDefault: string;
|
|
364
|
+
OnePopoverBorderDefault: string;
|
|
365
|
+
OnePopoverBorderActive: string;
|
|
366
|
+
OneTooltipBackground: string;
|
|
367
|
+
ContentBasicAutofill: string;
|
|
368
|
+
ProductsHello: string;
|
|
369
|
+
ProductsPlatform: string;
|
|
370
|
+
SurfaceCheckListItemOpenBackground: string;
|
|
371
|
+
SurfaceCheckListBackground: string;
|
|
372
|
+
ContentBasicPlaceholder: string;
|
|
373
|
+
};
|
|
374
|
+
export type DesignTokenKey = keyof typeof DesignToken;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { DesignToken } from './design-token';
|
|
2
|
+
export { SpacingToken } from './spacing-token';
|
|
3
|
+
export { ShadowToken } from './shadow-token';
|
|
4
|
+
export { RadiusToken } from './radius-token';
|
|
5
|
+
export { TransitionDurationToken, TransitionTimingToken, TransitionDelayToken, } from './transition-token';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const RadiusToken: {
|
|
2
|
+
Radius0: string;
|
|
3
|
+
Radius1: string;
|
|
4
|
+
Radius2: string;
|
|
5
|
+
Radius3: string;
|
|
6
|
+
Radius4: string;
|
|
7
|
+
0: string;
|
|
8
|
+
1: string;
|
|
9
|
+
2: string;
|
|
10
|
+
3: string;
|
|
11
|
+
4: string;
|
|
12
|
+
};
|
|
13
|
+
export type RadiusTokenKey = keyof typeof RadiusToken;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const ShadowToken: {
|
|
2
|
+
Float: string;
|
|
3
|
+
PopOver: string;
|
|
4
|
+
Modal: string;
|
|
5
|
+
Tooltip: string;
|
|
6
|
+
TooltipArrowBottom: string;
|
|
7
|
+
TooltipArrowTop: string;
|
|
8
|
+
TooltipArrowRight: string;
|
|
9
|
+
TooltipArrowLeft: string;
|
|
10
|
+
TooltipArrow: string;
|
|
11
|
+
Focus: string;
|
|
12
|
+
DividerBottom: string;
|
|
13
|
+
DividerTop: string;
|
|
14
|
+
DividerBottomLeft: string;
|
|
15
|
+
DividerTopLeft: string;
|
|
16
|
+
DividerTopRight: string;
|
|
17
|
+
DividerBottomRight: string;
|
|
18
|
+
MessageBox: string;
|
|
19
|
+
FixedRight: string;
|
|
20
|
+
FixedLeft: string;
|
|
21
|
+
FixedTop: string;
|
|
22
|
+
FixedBottom: string;
|
|
23
|
+
};
|
|
24
|
+
export type ShadowTokenKey = keyof typeof ShadowToken;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const SpacingToken: {
|
|
2
|
+
Spacing0: string;
|
|
3
|
+
Spacing05: string;
|
|
4
|
+
Spacing1: string;
|
|
5
|
+
Spacing2: string;
|
|
6
|
+
Spacing3: string;
|
|
7
|
+
Spacing4: string;
|
|
8
|
+
Spacing5: string;
|
|
9
|
+
Spacing6: string;
|
|
10
|
+
Spacing7: string;
|
|
11
|
+
Spacing8: string;
|
|
12
|
+
Spacing9: string;
|
|
13
|
+
Spacing10: string;
|
|
14
|
+
Spacing11: string;
|
|
15
|
+
Spacing12: string;
|
|
16
|
+
Spacing14: string;
|
|
17
|
+
Spacing16: string;
|
|
18
|
+
Spacing18: string;
|
|
19
|
+
Spacing20: string;
|
|
20
|
+
Spacing24: string;
|
|
21
|
+
};
|
|
22
|
+
export type SpacingTokenKey = keyof typeof SpacingToken;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const TransitionDurationToken: {
|
|
2
|
+
Fast1: string;
|
|
3
|
+
Fast2: string;
|
|
4
|
+
Moderate1: string;
|
|
5
|
+
};
|
|
6
|
+
export type TransitionDurationTokenKey = keyof typeof TransitionDurationToken;
|
|
7
|
+
export declare const TransitionTimingToken: {
|
|
8
|
+
EaseIn: string;
|
|
9
|
+
EaseOut: string;
|
|
10
|
+
};
|
|
11
|
+
export type TransitionTimingTokenKey = keyof typeof TransitionTimingToken;
|
|
12
|
+
export declare const TransitionDelayToken: {
|
|
13
|
+
Instant: string;
|
|
14
|
+
Moderate: string;
|
|
15
|
+
Slow: string;
|
|
16
|
+
};
|
|
17
|
+
export type TransitionDelayTokenKey = keyof typeof TransitionDelayToken;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type NODE = HTMLDivElement | null;
|
|
2
|
+
export type CALLBACK = (newSize: DOMRectReadOnly) => void;
|
|
3
|
+
export interface IUseHeightResizer {
|
|
4
|
+
size: number;
|
|
5
|
+
handleResizeRef: (node: NODE) => void;
|
|
6
|
+
}
|
|
7
|
+
export interface IUseMobileViewDetectorProps {
|
|
8
|
+
mobileBreakpoint: number;
|
|
9
|
+
}
|
|
10
|
+
export interface IUseMobileViewDetector {
|
|
11
|
+
isMobile: boolean;
|
|
12
|
+
handleResizeRef: (node: NODE) => void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface UseAnimationsProps {
|
|
3
|
+
isVisible: boolean;
|
|
4
|
+
elementRef: React.RefObject<HTMLDivElement>;
|
|
5
|
+
}
|
|
6
|
+
interface IUseAnimations {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
isMounted: boolean;
|
|
9
|
+
setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
10
|
+
}
|
|
11
|
+
export declare const useAnimations: ({ isVisible, elementRef, }: UseAnimationsProps) => IUseAnimations;
|
|
12
|
+
export {};
|