@livechat/design-system-react-components 2.31.1 → 2.33.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.
Files changed (77) hide show
  1. package/README.md +2 -4
  2. package/dist/components/Accordion/stories-helpers.d.ts +0 -1
  3. package/dist/components/ActionBar/constants.d.ts +0 -1
  4. package/dist/components/ActionCard/ActionCard.d.ts +0 -1
  5. package/dist/components/ActionMenu/stories-constants.d.ts +0 -1
  6. package/dist/components/AnimatedTextContainer/AnimatedTextContainer.d.ts +0 -1
  7. package/dist/components/AutoComplete/helpers.d.ts +0 -1
  8. package/dist/components/AutoComplete/index.d.ts +0 -1
  9. package/dist/components/DatePicker/RangeDatePicker.d.ts +0 -1
  10. package/dist/components/DatePicker/helpers.d.ts +0 -1
  11. package/dist/components/DatePicker/hooks.d.ts +0 -1
  12. package/dist/components/DatePicker/types.d.ts +0 -1
  13. package/dist/components/EmptyState/EmptyState.d.ts +0 -1
  14. package/dist/components/EmptyState/types.d.ts +0 -1
  15. package/dist/components/FloatingPortal/FloatingPortal.d.ts +0 -1
  16. package/dist/components/FloatingPortal/index.d.ts +0 -1
  17. package/dist/components/Icon/IconsShowcase/constans.d.ts +0 -1
  18. package/dist/components/Icon/IconsShowcase/helpers.d.ts +0 -1
  19. package/dist/components/Icon/types.d.ts +0 -1
  20. package/dist/components/InviteAgents/InviteAgents.d.ts +0 -1
  21. package/dist/components/InviteAgents/helpers.d.ts +0 -1
  22. package/dist/components/InviteAgents/types.d.ts +0 -1
  23. package/dist/components/ListItem/ListItem.d.ts +0 -1
  24. package/dist/components/ListItem/types.d.ts +0 -1
  25. package/dist/components/Modal/components/ModalPortal.d.ts +0 -1
  26. package/dist/components/OverflowTooltipText/OverflowTooltipText.d.ts +0 -1
  27. package/dist/components/Picker/constants.d.ts +0 -1
  28. package/dist/components/Picker/helpers.d.ts +0 -1
  29. package/dist/components/Picker/types.d.ts +0 -1
  30. package/dist/components/ProductSwitcher/ProductSwitcher.d.ts +0 -1
  31. package/dist/components/ProductSwitcher/components/ProductRow/ProductRow.d.ts +0 -1
  32. package/dist/components/ProductSwitcher/components/ProductTile/ProductTile.d.ts +0 -1
  33. package/dist/components/ProductSwitcher/constants.d.ts +0 -1
  34. package/dist/components/ProductSwitcher/helpers.d.ts +0 -1
  35. package/dist/components/ProductSwitcher/hooks/useProductSwitcher.d.ts +0 -1
  36. package/dist/components/ProductSwitcher/types.d.ts +0 -1
  37. package/dist/components/Progress/Progress.helpers.d.ts +0 -1
  38. package/dist/components/RangeDatePickerV2/RangeDatePickerV2.d.ts +0 -1
  39. package/dist/components/RangeDatePickerV2/components/RangeDatePickerV2Label.d.ts +0 -1
  40. package/dist/components/RangeDatePickerV2/helpers.d.ts +0 -1
  41. package/dist/components/RangeDatePickerV2/types.d.ts +0 -1
  42. package/dist/components/SelectableCard/SelectableCard.d.ts +0 -1
  43. package/dist/components/SelectableCard/components/GallerySelectableCard/GallerySelectableCard.d.ts +0 -1
  44. package/dist/components/SelectableCard/components/InteractiveSelectableCard/InteractiveGrid/InteractiveGrid.d.ts +0 -1
  45. package/dist/components/SelectableCard/components/InteractiveSelectableCard/InteractiveSelectableCard.d.ts +0 -1
  46. package/dist/components/SelectableCard/components/InteractiveSelectableCard/types.d.ts +0 -1
  47. package/dist/components/SelectableCard/components/ThumbnailSelectableCard/ThumbnailSelectableCard.d.ts +0 -1
  48. package/dist/components/SystemMessage/components/SystemMessageTimestamp.d.ts +0 -1
  49. package/dist/components/Table/Table.d.ts +0 -1
  50. package/dist/components/Table/TableBody.d.ts +0 -1
  51. package/dist/components/Table/TableRow.d.ts +0 -1
  52. package/dist/components/Table/stories-constants.d.ts +0 -1
  53. package/dist/components/Table/stories-helpers.d.ts +0 -1
  54. package/dist/components/Tooltip/Tooltip.helpers.d.ts +0 -1
  55. package/dist/components/UserGuide/UserGuide.d.ts +0 -1
  56. package/dist/components/UserGuide/components/UserGuideBubbleStep/UserGuideBubbleStep.d.ts +0 -1
  57. package/dist/components/UserGuide/components/UserGuideBubbleStep/types.d.ts +0 -1
  58. package/dist/components/UserGuide/components/UserGuideStep/UserGuideStep.d.ts +0 -1
  59. package/dist/components/UserGuide/components/UserGuideStep/types.d.ts +0 -1
  60. package/dist/components/UserGuide/stories-helpers.d.ts +0 -1
  61. package/dist/components/UserGuide/types.d.ts +4 -1
  62. package/dist/hooks/helpers.d.ts +0 -1
  63. package/dist/hooks/useHeightResizer.d.ts +0 -1
  64. package/dist/hooks/useInteractive.d.ts +0 -1
  65. package/dist/hooks/useIsOverflow.d.ts +0 -1
  66. package/dist/hooks/useMobileViewDetector.d.ts +0 -1
  67. package/dist/hooks/useOnHover.d.ts +0 -1
  68. package/dist/hooks/useSharedResizeObserver.d.ts +0 -1
  69. package/dist/index.cjs +1 -1
  70. package/dist/index.d.ts +0 -1
  71. package/dist/index.js +2086 -2093
  72. package/dist/providers/ReadOnlyFormFieldProvider.d.ts +0 -1
  73. package/dist/providers/ThemeProvider.d.ts +0 -1
  74. package/dist/providers/helpers.d.ts +0 -1
  75. package/dist/utils/story-parameters.d.ts +0 -1
  76. package/package.json +5 -5
  77. /package/dist/{style.css → design-system-react-components.css} +0 -0
package/README.md CHANGED
@@ -16,7 +16,6 @@
16
16
 
17
17
  This package contains a library of reusable React components designed to be used in various projects. These components are the building blocks of our design system and can be easily integrated into your applications.
18
18
 
19
-
20
19
  ## Installation
21
20
 
22
21
  Run the following command using [npm](https://www.npmjs.com/) (or with you other favorite package manager, eg. [yarn](https://yarnpkg.com/)):
@@ -30,7 +29,7 @@ npm install @livechat/design-system-react-components @livechat/design-system-ico
30
29
  It is required to import the `CSS` directly into your project so it could be applied to components:
31
30
 
32
31
  ```js
33
- import '@livechat/design-system-react-components/dist/style.css';
32
+ import '@livechat/design-system-react-components/dist/design-system-react-components.css';
34
33
  ```
35
34
 
36
35
  You can import components directly from the npm package:
@@ -55,7 +54,6 @@ At this stage of the project we consider Storybook and Figma as parts of our doc
55
54
  [Storybook](https://design.livechat.com/) - includes design system foundations, describes components API and allows to familiarize with the thier capabilities
56
55
  [Figma](https://www.figma.com/file/2pFu80PXO5A2tfyrAGnx91/Product-Components) - it's not an official documentation from design perspective but we follow a simple rule of working in public
57
56
 
58
-
59
57
  ### Development
60
58
 
61
59
  Required version of `node.js` is `20.14.0`.
@@ -78,4 +76,4 @@ If `Storybook` is not enough, you can additionaly run `npm start:example` which
78
76
 
79
77
  ### Contributing
80
78
 
81
- For the `contribution/testing/releasing` guides please refer to the [main repository](https://github.com/livechat/design-system/) documentation.
79
+ For the `contribution/testing/releasing` guides please refer to the [main repository](https://github.com/livechat/design-system/) documentation.
@@ -1,4 +1,3 @@
1
1
  import { IPickerListItem } from '../Picker';
2
-
3
2
  export declare const RULE_PICKER_OPTIONS: IPickerListItem[];
4
3
  export declare const TAGS_PICKER_OPTIONS: IPickerListItem[];
@@ -1,3 +1,2 @@
1
1
  import { IActionBarOption } from './types';
2
-
3
2
  export declare const getDefaultOptions: (onClickHandler: (key: string) => void) => IActionBarOption[];
@@ -1,4 +1,3 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
2
  import { ActionCardProps } from './types';
3
-
4
3
  export declare const ActionCard: FC<PropsWithChildren<ActionCardProps>>;
@@ -1,5 +1,4 @@
1
1
  import { default as noop } from '../../utils/noop';
2
-
3
2
  export declare const exampleOptions: ({
4
3
  key: string;
5
4
  element: import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { IAnimatedTextContainerProps } from './types';
3
-
4
3
  export declare const AnimatedTextContainer: FC<IAnimatedTextContainerProps>;
@@ -1,6 +1,5 @@
1
1
  import { IPickerListItem } from '../Picker';
2
2
  import { AutoCompleteProps, IAutoCompleteListItem } from './types';
3
-
4
3
  export declare const areAllOptionsStrings: (options: AutoCompleteProps["options"]) => options is string[];
5
4
  export declare const buildOptionsFromStrings: (options: string[]) => IPickerListItem[];
6
5
  export declare const buildOptionsFromAutoCompleteListItems: (options: IAutoCompleteListItem[]) => IPickerListItem[];
@@ -1,5 +1,4 @@
1
1
  import { AutoComplete } from './AutoComplete';
2
2
  import { AutoCompleteProps } from './types';
3
-
4
3
  export { AutoComplete };
5
4
  export type { AutoCompleteProps };
@@ -1,6 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IRangeDatePickerProps } from './types';
3
-
4
3
  export declare const RangeDatePicker: {
5
4
  ({ options, initialSelectedItemKey, initialFromDate, initialToDate, customTempFromDate, customTempToDate, toMonth, today, onChange, onRangeSelect, onSelect, onCustomTempDateRangeChange, children, }: IRangeDatePickerProps): ReactElement;
6
5
  defaultProps: {
@@ -1,5 +1,4 @@
1
1
  import { IRangeDatePickerProps, IRangeDatePickerState, IRangeDatePickerOption } from './types';
2
-
3
2
  export declare const isDateWithinRange: (date: Date, range: {
4
3
  from?: Date;
5
4
  to?: Date;
@@ -1,4 +1,3 @@
1
1
  import { Dispatch, ReducerAction, ReducerState } from 'react';
2
2
  import { IRangeDatePickerProps, RangeDatePickerReducer } from './types';
3
-
4
3
  export declare const useRangeDatePickerState: (props: IRangeDatePickerProps) => [ReducerState<RangeDatePickerReducer>, Dispatch<ReducerAction<RangeDatePickerReducer>>];
@@ -1,6 +1,5 @@
1
1
  import { Reducer, ReactElement } from 'react';
2
2
  import { DayPickerProps, DateRange } from 'react-day-picker';
3
-
4
3
  export type IDatePickerProps = DayPickerProps;
5
4
  export interface IDatePickerCustomNavigationProps {
6
5
  currentMonth: Date;
@@ -1,3 +1,2 @@
1
1
  import { IEmptyStateProps } from './types';
2
-
3
2
  export declare const EmptyState: ({ type, image, icon, title, description, actions, centered, }: IEmptyStateProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export type IEmptyStateProps = ({
4
3
  /**
5
4
  * Specify the empty state type
@@ -1,3 +1,2 @@
1
1
  import { FloatingPortalProps } from '@floating-ui/react';
2
-
3
2
  export declare const FloatingPortal: ({ children, id, root, preserveTabOrder, }: FloatingPortalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { FloatingPortal } from './FloatingPortal';
2
-
3
2
  export { FloatingPortal };
@@ -1,3 +1,2 @@
1
1
  import { IconGroup, IconName } from './types';
2
-
3
2
  export declare const IconsData: Record<IconName, IconGroup>;
@@ -1,3 +1,2 @@
1
1
  import { IconGroup, IconName } from './types';
2
-
3
2
  export declare const getIconsByGroup: (group: IconGroup) => IconName[];
@@ -1,3 +1,2 @@
1
1
  import { FC, SVGProps } from 'react';
2
-
3
2
  export type IconSource = FC<SVGProps<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
1
  import { InviteAgentsProps } from './types';
2
-
3
2
  export declare const InviteAgents: import('react').NamedExoticComponent<InviteAgentsProps>;
@@ -1,3 +1,2 @@
1
1
  import { Agent } from './types';
2
-
3
2
  export declare const getSortedAgents: (agents: Agent[]) => Agent[];
@@ -1,5 +1,4 @@
1
1
  import { ComponentCoreProps } from '../../utils/types';
2
-
3
2
  export interface Agent {
4
3
  name: string;
5
4
  email: string;
@@ -1,6 +1,5 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
2
  import { ListItemProps } from './types';
3
-
4
3
  export declare const ListItem: FC<PropsWithChildren<ListItemProps>>;
5
4
  /**
6
5
  * @deprecated Use `ListItem` instead. This will be removed in a future release.
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export interface ListItemProps {
4
3
  /**
5
4
  * Renders given element on the left of element
@@ -1,5 +1,4 @@
1
1
  import { FC, PropsWithChildren, ReactNode, HTMLAttributes } from 'react';
2
-
3
2
  export interface ModalPortalProps extends HTMLAttributes<HTMLDivElement> {
4
3
  children: ReactNode;
5
4
  zIndex: number;
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { OverflowTooltipTextProps } from './types';
3
-
4
3
  export declare const OverflowTooltipText: FC<OverflowTooltipTextProps>;
@@ -1,5 +1,4 @@
1
1
  import { IPickerListItem } from './types';
2
-
3
2
  export declare const ITEM_GAP_HEIGHT = 2;
4
3
  export declare const MIN_LIST_HEIGHT = 200;
5
4
  export declare const DEFAULT_LIST_HEIGHT = 400;
@@ -1,5 +1,4 @@
1
1
  import { IPickerListItem } from './types';
2
-
3
2
  export declare const findIndicesWhere: <T>(array: T[], predicate: (item: T) => boolean) => number[];
4
3
  export declare const getNormalizedItems: (items: IPickerListItem[]) => IPickerListItem[];
5
4
  export declare const getPickerListItemKey: ({ key }: IPickerListItem) => string;
@@ -6,7 +6,6 @@ import { ComponentCoreProps } from '../../utils/types';
6
6
  import { AvatarType } from '../Avatar/types';
7
7
  import { IconSource } from '../Icon';
8
8
  import { TagProps } from '../Tag';
9
-
10
9
  export interface IPickerListItem {
11
10
  key: string;
12
11
  name: string;
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { ProductSwitcherProps } from './types';
3
-
4
3
  export declare const ProductSwitcher: FC<ProductSwitcherProps>;
@@ -1,6 +1,5 @@
1
1
  import { FC, MouseEvent } from 'react';
2
2
  import { ProductOption, ProductId } from '../../types';
3
-
4
3
  type IProps = {
5
4
  onClick: (event: MouseEvent, id: ProductId) => void;
6
5
  product: ProductOption;
@@ -1,6 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { ProductOption } from '../../types';
3
-
4
3
  type IProps = Pick<ProductOption, 'icon' | 'notificationCount' | 'backgroundColors' | 'expired' | 'iconColor' | 'borderColor'> & {
5
4
  isMainProduct?: boolean;
6
5
  withBorder?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { ProductOption, ProductData, ProductId } from './types';
2
-
3
2
  export declare const ProductSwitcherProducts: ProductOption[];
4
3
  export declare const labsRedirectData: ProductData[];
5
4
  export declare const stagingRedirectData: ProductData[];
@@ -1,5 +1,4 @@
1
1
  import { ProductName, ProductData, ProductId, ProductOption, ProductSubscription, Env } from './types';
2
-
3
2
  export declare const getRedirectURL: (productClientId: string, productRedirectUri: string, organizationId: string, mainProductId: ProductId, env: Env) => string;
4
3
  export declare const getTrialDaysLeft: (trialEnd: string) => number;
5
4
  export declare const isVisibleProduct: (productId: ProductId, installedProducts: {
@@ -1,5 +1,4 @@
1
1
  import { Env, ProductId, ProductName, ProductOption, ProductSubscription } from '../types';
2
-
3
2
  export interface IProductSwitcherHook {
4
3
  env?: Env;
5
4
  installedProducts: {
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { IconSource } from '../Icon';
3
-
4
3
  export type ProductId = 'livechat' | 'helpdesk' | 'chatbot' | 'openwidget' | 'knowledgebase' | 'teamchat' | 'accounts';
5
4
  export type ProductName = 'LiveChat' | 'HelpDesk' | 'ChatBot' | 'OpenWidget' | 'KnowledgeBase' | 'TeamChat' | 'Accounts';
6
5
  export type Env = 'labs' | 'staging' | 'prod';
@@ -1,3 +1,2 @@
1
1
  import { ProgressStatus } from './constants';
2
-
3
2
  export declare function getPercentNumber(status: ProgressStatus, percent?: number): number;
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { IRangeDatePickerV2Props } from './types';
3
-
4
3
  export declare const RangeDatePickerV2: FC<IRangeDatePickerV2Props>;
@@ -1,6 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { DateRange } from 'react-day-picker';
3
-
4
3
  interface IRangeDatePickerV2LabelProps {
5
4
  tempDate?: DateRange;
6
5
  date?: DateRange;
@@ -1,6 +1,5 @@
1
1
  import { DateRange } from 'react-day-picker';
2
2
  import { RANGE_DATE_PICKER_OPTION_ID } from './types';
3
-
4
3
  type RangeDatePickerSelectOptions = {
5
4
  id: RANGE_DATE_PICKER_OPTION_ID;
6
5
  label: string;
@@ -1,6 +1,5 @@
1
1
  import { DateRange } from 'react-day-picker';
2
2
  import { IRangeDatePickerCoreProps } from '../DatePicker/types';
3
-
4
3
  export type RANGE_DATE_PICKER_OPTION_ID = 'today' | 'yesterday' | 'last7days' | 'last30days' | 'lastMonth' | 'currentMonth';
5
4
  export interface IRangeDatePickerV2Props extends Omit<IRangeDatePickerCoreProps, 'children'> {
6
5
  triggerClassName?: string;
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { ISelectableCardProps } from './types';
3
-
4
3
  export declare const SelectableCard: FC<ISelectableCardProps>;
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { IGallerySelectableCardProps } from './types';
3
-
4
3
  export declare const GallerySelectableCard: FC<IGallerySelectableCardProps>;
@@ -1,6 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { ComponentCoreProps } from '../../../../../utils/types';
3
-
4
3
  interface IGridComponentProps extends ComponentCoreProps {
5
4
  }
6
5
  export declare const GridWrapper: FC<IGridComponentProps>;
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { IInteractiveSelectableCardProps } from './types';
3
-
4
3
  export declare const InteractiveSelectableCard: FC<IInteractiveSelectableCardProps>;
@@ -1,4 +1,3 @@
1
1
  import { ISelectableCardCoreProps } from '../../types';
2
-
3
2
  export interface IInteractiveSelectableCardProps extends ISelectableCardCoreProps {
4
3
  }
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { IThumbnailSelectableCardProps } from './types';
3
-
4
3
  export declare const ThumbnailSelectableCard: FC<IThumbnailSelectableCardProps>;
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
-
3
2
  interface ISystemMessageTimestampProps {
4
3
  timestamp: string;
5
4
  timestampWithSeconds: string;
@@ -1,3 +1,2 @@
1
1
  import { ITableProps } from './types';
2
-
3
2
  export declare const Table: <T>({ data, columns, stripped, size, pin, selectable, getRowId, resizable, selectedRows, onSelectionChange, rowSelectionMessage, rowActions, testId, }: ITableProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { Column } from './types';
2
-
3
2
  interface TableBodyProps<T> {
4
3
  data: T[];
5
4
  columns: Column<T>[];
@@ -1,5 +1,4 @@
1
1
  import { Column } from './types';
2
-
3
2
  interface TableRowProps<T> {
4
3
  row: T;
5
4
  columns: Column<T>[];
@@ -1,4 +1,3 @@
1
1
  import { Column, DataForPinningExample } from './types';
2
-
3
2
  export declare const columnsForPinningExample: Column<DataForPinningExample>[];
4
3
  export declare const dataForPinningExample: DataForPinningExample[];
@@ -1,3 +1,2 @@
1
1
  import { Data } from './types';
2
-
3
2
  export declare const generateData: (length: number) => Data[];
@@ -1,7 +1,6 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { IconKind } from '../Icon';
3
3
  import { TooltipTheme } from './types';
4
-
5
4
  export declare function getIconType(theme: TooltipTheme): IconKind;
6
5
  export declare function getArrowPositionStyles(arrowOffsetY?: number, arrowOffsetX?: number, arrowY?: number, arrowX?: number): CSSProperties | undefined;
7
6
  export declare const getArrowTokens: (tooltipStyle: string | undefined) => {
@@ -1,4 +1,3 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
2
  import { IUserGuide } from './types';
3
-
4
3
  export declare const UserGuide: FC<PropsWithChildren<IUserGuide>>;
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { IUserGuideBubbleStepProps } from './types';
3
-
4
3
  export declare const UserGuideBubbleStep: FC<IUserGuideBubbleStepProps>;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export interface IUserGuideBubbleStepProps {
4
3
  /**
5
4
  * The message for the first bubble
@@ -1,4 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { IUserGuideStepProps } from './types';
3
-
4
3
  export declare const UserGuideStep: FC<IUserGuideStepProps>;
@@ -1,5 +1,4 @@
1
1
  import { MouseEvent } from 'react';
2
-
3
2
  export interface IUserGuideStepProps {
4
3
  /**
5
4
  * The header of the step
@@ -1,5 +1,4 @@
1
1
  import { ReactElement } from 'react';
2
-
3
2
  export declare const AppContent: ({ onStartGuideClick, }: {
4
3
  onStartGuideClick: () => void;
5
4
  }) => ReactElement;
@@ -1,5 +1,4 @@
1
1
  import { Placement } from '@floating-ui/react';
2
-
3
2
  export type CursorTiming = 'fast1' | 'fast2' | 'moderate1' | 'moderate2';
4
3
  export interface IUserGuide {
5
4
  /**
@@ -26,6 +25,10 @@ export interface IUserGuide {
26
25
  * The visibility of the user guide
27
26
  */
28
27
  isVisible?: boolean;
28
+ /**
29
+ * Set to true to hide the overlay
30
+ */
31
+ hideOverlay?: boolean;
29
32
  /**
30
33
  * The custom z-index value for the overlay
31
34
  */
@@ -1,3 +1,2 @@
1
1
  import { NODE } from './types';
2
-
3
2
  export declare const resizeCallback: (node: NODE, handler: (newSize: DOMRectReadOnly) => void) => void;
@@ -1,3 +1,2 @@
1
1
  import { IUseHeightResizer } from './types';
2
-
3
2
  export declare const useHeightResizer: () => IUseHeightResizer;
@@ -1,3 +1,2 @@
1
1
  import { IUseInteractive, UseInteractiveProps } from './types';
2
-
3
2
  export declare const useInteractive: ({ onClick, }: UseInteractiveProps) => IUseInteractive;
@@ -1,3 +1,2 @@
1
1
  import { RefObject } from 'react';
2
-
3
2
  export declare const useIsOverflow: <T extends HTMLElement>(ref: RefObject<T>) => boolean;
@@ -1,3 +1,2 @@
1
1
  import { IUseMobileViewDetector, IUseMobileViewDetectorProps } from './types';
2
-
3
2
  export declare const useMobileViewDetector: ({ mobileBreakpoint, }: IUseMobileViewDetectorProps) => IUseMobileViewDetector;
@@ -1,3 +1,2 @@
1
1
  import { IUseOnHover } from './types';
2
-
3
2
  export declare const useOnHover: (initialState?: boolean) => IUseOnHover;
@@ -1,5 +1,4 @@
1
1
  import { CALLBACK, NODE } from './types';
2
-
3
2
  export declare const useSharedResizeObserver: {
4
3
  observe: (node: NODE, callback: CALLBACK) => void;
5
4
  unobserve: (node: NODE) => void;