@livechat/design-system-react-components 2.18.0 → 2.19.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 (43) hide show
  1. package/dist/components/AnimatedTextContainer/AnimatedTextContainer.d.ts +4 -0
  2. package/dist/components/AnimatedTextContainer/index.d.ts +1 -0
  3. package/dist/components/AnimatedTextContainer/types.d.ts +22 -0
  4. package/dist/components/AppFrame/components/NavigationTopBar/NavigationTopBar.d.ts +1 -1
  5. package/dist/components/AppFrame/components/NavigationTopBar/examples.d.ts +1 -0
  6. package/dist/components/AppFrame/stories-helpers.d.ts +1 -0
  7. package/dist/components/AutoComplete/types.d.ts +4 -0
  8. package/dist/components/Checkbox/Checkbox.d.ts +4 -0
  9. package/dist/components/FormField/FormField.d.ts +4 -0
  10. package/dist/components/Input/types.d.ts +4 -0
  11. package/dist/components/NumericInput/NumericInput.d.ts +1 -0
  12. package/dist/components/Picker/types.d.ts +4 -0
  13. package/dist/components/RadioButton/RadioButton.d.ts +1 -0
  14. package/dist/components/ReadOnlyText/ReadOnlyText.d.ts +11 -0
  15. package/dist/components/ReadOnlyText/index.d.ts +2 -0
  16. package/dist/components/TagInput/TagInput.d.ts +1 -1
  17. package/dist/components/TagInput/types.d.ts +4 -0
  18. package/dist/components/Textarea/Textarea.d.ts +1 -0
  19. package/dist/components/Tooltip/components/index.d.ts +0 -1
  20. package/dist/components/Tooltip/index.d.ts +0 -1
  21. package/dist/components/Typography/index.d.ts +1 -0
  22. package/dist/components/Typography/types.d.ts +2 -1
  23. package/dist/components/UserGuide/UserGuide.d.ts +4 -0
  24. package/dist/components/UserGuide/components/UserGuideBubbleStep/UserGuideBubbleStep.d.ts +4 -0
  25. package/dist/components/UserGuide/components/UserGuideBubbleStep/types.d.ts +32 -0
  26. package/dist/components/UserGuide/components/UserGuideStep/UserGuideStep.d.ts +4 -0
  27. package/dist/components/UserGuide/components/UserGuideStep/types.d.ts +50 -0
  28. package/dist/components/UserGuide/components/index.d.ts +2 -0
  29. package/dist/components/UserGuide/index.d.ts +3 -0
  30. package/dist/components/UserGuide/stories-helpers.d.ts +5 -0
  31. package/dist/components/UserGuide/types.d.ts +42 -0
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.js +3377 -3407
  35. package/dist/providers/ReadOnlyFormFieldProvider.d.ts +16 -0
  36. package/dist/style.css +1 -1
  37. package/dist/utils/types.d.ts +4 -0
  38. package/package.json +3 -3
  39. package/dist/components/Tooltip/components/UserGuide/SpotlightOverlay.d.ts +0 -8
  40. package/dist/components/Tooltip/components/UserGuide/UserGuide.d.ts +0 -12
  41. package/dist/components/Tooltip/components/UserGuide/UserGuideStep.d.ts +0 -16
  42. package/dist/components/Tooltip/components/UserGuide/index.d.ts +0 -1
  43. /package/dist/components/{Tooltip/components/UserGuide → UserGuide}/virtualElementReference.d.ts +0 -0
@@ -1,6 +1,10 @@
1
1
  import * as React from 'react';
2
2
  export type Size = 'compact' | 'medium' | 'large';
3
3
  export interface ComponentCoreProps {
4
+ /**
5
+ * The ID of the component
6
+ */
7
+ id?: string;
4
8
  /**
5
9
  * The children of the component
6
10
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/design-system-react-components",
3
- "version": "2.18.0",
3
+ "version": "2.19.0",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -76,7 +76,7 @@
76
76
  "dependencies": {
77
77
  "@floating-ui/react": "^0.26.25",
78
78
  "@livechat/data-utils": "^0.2.16",
79
- "@livechat/design-system-icons": "^2.15.0",
79
+ "@livechat/design-system-icons": "^2.19.0",
80
80
  "clsx": "^1.1.1",
81
81
  "date-fns": "^2.28.0",
82
82
  "lodash.debounce": "^4.0.8",
@@ -86,5 +86,5 @@
86
86
  "react-transition-group": "^4.4.2",
87
87
  "react-virtuoso": "^4.7.11"
88
88
  },
89
- "gitHead": "ca526ca6def9c59c087281e6cf52e1851568a9af"
89
+ "gitHead": "0f37a6f016252d469a0b0b86f62f20c9eb64e7d0"
90
90
  }
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- declare const SpotlightOverlay: ({ gap, isVisible, slide, disablePointerEvents, }: {
3
- gap: DOMRect | null;
4
- isVisible: boolean;
5
- slide: boolean;
6
- disablePointerEvents: boolean;
7
- }) => React.ReactElement | null;
8
- export default SpotlightOverlay;
@@ -1,12 +0,0 @@
1
- import { ModalPortalProps } from '../../../Modal';
2
- import { ITooltipProps } from '../../types';
3
- import * as React from 'react';
4
- interface IOwnProps {
5
- shouldSlide?: boolean;
6
- className?: string;
7
- disableSpotlightPointerEvents?: boolean;
8
- }
9
- interface IUserGuide extends IOwnProps, Omit<ITooltipProps, 'triggerRenderer'>, Omit<ModalPortalProps, 'children'> {
10
- }
11
- export declare const UserGuide: React.FC<React.PropsWithChildren<IUserGuide>>;
12
- export {};
@@ -1,16 +0,0 @@
1
- import { TooltipTheme } from '../../types';
2
- import * as React from 'react';
3
- export declare const UserGuideStep: React.FC<{
4
- header: string;
5
- text: string;
6
- image?: {
7
- src: string;
8
- alt: string;
9
- };
10
- currentStep: number;
11
- stepMax: number;
12
- closeWithX?: boolean;
13
- theme?: TooltipTheme;
14
- handleClickPrimary: () => void;
15
- handleCloseAction?: (ev: KeyboardEvent | React.MouseEvent) => void;
16
- }>;
@@ -1 +0,0 @@
1
- export { UserGuide } from './UserGuide';