jamespot-react-components 1.0.137 → 1.0.139

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 (51) hide show
  1. package/build/assets/ai.0bd1828cb6ec10ad92d900c710079cac.png +0 -0
  2. package/build/assets/default.2ca3180f8cdd6f14c4184439f06173cb.png +0 -0
  3. package/build/assets/docx.d99aeeb833c328dc360bb2dc1d99126f.png +0 -0
  4. package/build/assets/mp3.c4f6cf8e048c8d1fd70ea5676f9e35bb.png +0 -0
  5. package/build/assets/mp4.c631e40ab77a5009bec629505396f88b.png +0 -0
  6. package/build/assets/pdf.25c19fbb11dacc87994bdce830d7e5ed.png +0 -0
  7. package/build/assets/pptx.fc266e95afba9abd862da4d909e1ad68.png +0 -0
  8. package/build/assets/psd.cca4c1ac52e6e24770486bf5bc6d6ff9.png +0 -0
  9. package/build/assets/svg.21a77099744d94b9214c52043ef39d95.png +0 -0
  10. package/build/assets/ttf.28668a6c059779e01fe7dc66dd70ef40.png +0 -0
  11. package/build/assets/txt.d0b32e515641b99e8e31165279361eb4.png +0 -0
  12. package/build/assets/xlsx.a3b00a8cd84f504b94d1cfc617b4080f.png +0 -0
  13. package/build/assets/zip.b8f8ab347fc92f763a2d44617a82b66e.png +0 -0
  14. package/build/jamespot-react-components.js +564 -432
  15. package/build/jamespot-react-components.js.map +1 -1
  16. package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.d.ts +1 -1
  17. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.utils.d.ts +1 -1
  18. package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +2 -2
  19. package/build/src/components/JRCFile/JRCFile.d.ts +2 -0
  20. package/build/src/components/JRCFile/JRCFile.stories.d.ts +4 -0
  21. package/build/src/components/JRCFile/JRCFileApplication.d.ts +2 -0
  22. package/build/src/components/JRCFile/JRCFileAudio.d.ts +2 -0
  23. package/build/src/components/JRCFile/JRCFileAvatar.d.ts +6 -0
  24. package/build/src/components/JRCFile/JRCFileImage.d.ts +13 -0
  25. package/build/src/components/JRCFile/JRCFileVideo.d.ts +2 -0
  26. package/build/src/components/JRCFile/types.d.ts +6 -0
  27. package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +2 -0
  28. package/build/src/components/JRCFileViewer/JRCFileViewer.stories.d.ts +4 -0
  29. package/build/src/components/JRCFileViewer/JRCFileViewer.styles.d.ts +16 -0
  30. package/build/src/components/JRCFileViewer/JRCFileViewerArrows.d.ts +3 -0
  31. package/build/src/components/JRCFileViewer/JRCFileViewerContent.d.ts +8 -0
  32. package/build/src/components/JRCFileViewer/JRCFileViewerContentApplication.d.ts +9 -0
  33. package/build/src/components/JRCFileViewer/JRCFileViewerContentAudio.d.ts +4 -0
  34. package/build/src/components/JRCFileViewer/JRCFileViewerContentImage.d.ts +4 -0
  35. package/build/src/components/JRCFileViewer/JRCFileViewerContentVideo.d.ts +4 -0
  36. package/build/src/components/JRCFileViewer/JRCFileViewerOpenWithOptions.d.ts +7 -0
  37. package/build/src/components/JRCFileViewer/types.d.ts +19 -0
  38. package/build/src/components/JRCFileViewer/utils.d.ts +4 -0
  39. package/build/src/components/JRCModal/JRCModal.d.ts +1 -0
  40. package/build/src/components/JRCModal/JRCModal.styles.d.ts +3 -1
  41. package/build/src/components/Widgets/components/Attachment.d.ts +1 -1
  42. package/build/src/hooks/UseImageLoader.d.ts +6 -0
  43. package/build/src/hooks/UseKeyPress.d.ts +5 -0
  44. package/build/src/index.d.ts +5 -0
  45. package/build/src/styles/theme.d.ts +2 -2
  46. package/build/src/utils/test-utils.d.ts +2 -2
  47. package/build/src/utils/utils.document.d.ts +3 -0
  48. package/build/src/utils/utils.files.d.ts +10 -0
  49. package/build/src/utils/utils.image.d.ts +1 -0
  50. package/package.json +24 -19
  51. package/pnpm-lock.yaml +15531 -0
@@ -19,7 +19,7 @@ export interface JRCFormInputFileFieldProps extends React.ComponentPropsWithoutR
19
19
  limit?: number;
20
20
  token?: string;
21
21
  multiple?: boolean;
22
- accept?: 'image/png' | 'image/jpg' | 'image/png, image/jpg' | 'image/png, image/jpeg, image/jpg' | 'image/pdf' | 'image/doc' | 'image/pdf, image/doc';
22
+ accept?: 'image/png' | 'image/jpg' | 'image/png, image/jpg' | 'image/png, image/jpeg, image/jpg' | 'image/pdf' | 'image/doc' | 'image/pdf, image/doc' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.oasis.opendocument.spreadsheet,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.oasis.opendocument.text,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.oasis.opendocument.presentation';
23
23
  input?: WrappedFieldInputProps;
24
24
  onUploadSuccess?: (response: FileResponse) => void;
25
25
  onDeleteSuccess?: (index: number) => void;
@@ -1 +1 @@
1
- export declare function getNewValue<Value>(value: number[] | string[] | Value[] | undefined, optionValue: string | number | Value, checked: boolean): (string | number | Value)[] | undefined;
1
+ export declare function getNewValue<Value>(value: number[] | string[] | Value[] | undefined, optionValue: string | number | Value, checked: boolean, defaultEmptyValue?: undefined | Value[]): (string | number | Value)[];
@@ -6,7 +6,7 @@ import { Colors, Shades } from 'styles/theme';
6
6
  * @member fileName name of download file
7
7
  */
8
8
  export interface JRCButtonDownloadProps extends JRCButtonProps {
9
- content: object | string;
9
+ data: object | string;
10
10
  isIconButton?: boolean;
11
11
  fileName?: string;
12
12
  iconColor?: Colors | Shades | 'inherit';
@@ -17,4 +17,4 @@ export interface JRCButtonDownloadProps extends JRCButtonProps {
17
17
  * @param {label, action?, color?, variant?} props, @see JRCButtonDropdownProps
18
18
  * @returns JSX.Element
19
19
  */
20
- export declare const JRCButtonDownload: ({ icon, iconColor, isIconButton, content, fileName, ...props }: JRCButtonDownloadProps) => JSX.Element;
20
+ export declare const JRCButtonDownload: ({ icon, iconColor, isIconButton, data, fileName, ...props }: JRCButtonDownloadProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { JRCFileProps } from './types';
2
+ export declare const JRCFile: ({ uri, mimetype, display }: JRCFileProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const File: Story<any>;
@@ -0,0 +1,2 @@
1
+ import { JRCFileProps } from './types';
2
+ export declare const JRCFileApplication: ({ mimetype }: JRCFileProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { JRCFileProps } from './types';
2
+ export declare const JRCFileAudio: ({ uri, mimetype, display }: JRCFileProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { JRCFileProps } from './types';
2
+ export declare const CSSFile: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
+ size: number;
4
+ backgroundColor: string;
5
+ }, never>;
6
+ export declare const JRCFileAvatar: ({ uri, size, mimetype }: JRCFileProps) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { JRCFileProps } from './types';
2
+ export declare const BackgroundImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
+ uri: string;
4
+ }, never>;
5
+ export declare const Image: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
6
+ maxWidth: number;
7
+ maxHeight: number;
8
+ }, never>;
9
+ export declare const JRCFileImage: ({ uri, size, mimetype, display }: JRCFileProps) => JSX.Element;
10
+ export declare const Img: ({ uri, size }: {
11
+ uri: string;
12
+ size: number | undefined;
13
+ }) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { JRCFileProps } from './types';
2
+ export declare const JRCFileVideo: ({ uri, mimetype, display }: JRCFileProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare type JRCFileProps = {
2
+ uri?: string;
3
+ mimetype: string;
4
+ size?: number;
5
+ display?: 'default' | 'avatar';
6
+ };
@@ -0,0 +1,2 @@
1
+ import { JRCFileViewerProps, JRCFileViewerFileProps } from './types';
2
+ export declare const JRCFileViewer: <T extends JRCFileViewerFileProps>({ files, children, openWithOptions, _DEBUG, }: JRCFileViewerProps<T>) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const FileViewer: Story<any>;
@@ -0,0 +1,16 @@
1
+ export declare const CSSFileViewer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const CSSFileViewerHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const CSSFileViewerHeaderContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const CSSFileViewerFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const CSSFileViewerContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const CSSFileViewerContentAudio: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const CSSFileViewerApplicationContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const CSSFileViewerApplicationContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
+ export declare const CSSFileViewerOptions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const CSSFileViewerContentImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
+ export declare const CSSFileViewerContentVideo: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
+ export declare const CSSFileViewerImageBackground: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
13
+ uri: string;
14
+ }, never>;
15
+ export declare const CSSFileViewerArrowsButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const CSSFileViewerArrows: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,3 @@
1
+ export declare const JRCFileViewerArrows: ({ onRelease }: {
2
+ onRelease: (direction: string) => void;
3
+ }) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { JRCFileViewerFileProps, JRCFileViewerOpenWithOptionsType } from './types';
2
+ declare type JRCFileViewerContentProps = {
3
+ file: JRCFileViewerFileProps;
4
+ openWithOptions: JRCFileViewerOpenWithOptionsType;
5
+ _DEBUG: boolean;
6
+ };
7
+ export declare const JRCFileViewerContent: ({ file, openWithOptions }: JRCFileViewerContentProps) => JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { JRCFileViewerFileProps, JRCFileViewerOpenWithOptionType } from './types';
3
+ declare type JRCFileViewerContentApplicationProps = {
4
+ file?: JRCFileViewerFileProps;
5
+ options?: JRCFileViewerOpenWithOptionType[];
6
+ children: React.ReactNode;
7
+ };
8
+ export declare const JRCFileViewerContentApplication: ({ file, options, children }: JRCFileViewerContentApplicationProps) => JSX.Element;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare const JRCFileViewerContentAudio: ({ children }: {
3
+ children: React.ReactNode;
4
+ }) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare const JRCFileViewerContentImage: ({ children }: {
3
+ children: React.ReactNode;
4
+ }) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare const JRCFileViewerContentVideo: ({ children }: {
3
+ children: React.ReactNode;
4
+ }) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { JRCFileViewerFileProps, JRCFileViewerOpenWithOptionType } from './types';
2
+ declare type JRCFileViewerOpenWithOptionsProps = {
3
+ file: JRCFileViewerFileProps;
4
+ options: JRCFileViewerOpenWithOptionType[];
5
+ };
6
+ export declare const JRCFileViewerOpenWithOptions: ({ file, options }: JRCFileViewerOpenWithOptionsProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ export declare type JRCFileViewerProps<T> = {
3
+ files: T[];
4
+ openWithOptions: JRCFileViewerOpenWithOptionsType;
5
+ children(setIndex: (idFile: number) => void): React.ReactElement<HTMLElement>;
6
+ _DEBUG: boolean;
7
+ };
8
+ export declare type JRCFileViewerFileProps = {
9
+ id: number;
10
+ type: string;
11
+ mimetype: string;
12
+ title: string;
13
+ uri?: string;
14
+ };
15
+ export declare type JRCFileViewerOpenWithOptionsType = Record<string, JRCFileViewerOpenWithOptionType[]>;
16
+ export declare type JRCFileViewerOpenWithOptionType = {
17
+ label: string;
18
+ onClick: (item: JRCFileViewerFileProps | undefined) => void;
19
+ };
@@ -0,0 +1,4 @@
1
+ import { JRCFileViewerFileProps } from './types';
2
+ export declare function videoUrl(file: JRCFileViewerFileProps): string;
3
+ export declare function audioUrl(file: JRCFileViewerFileProps): string;
4
+ export declare function imageUrl(file: JRCFileViewerFileProps, size?: string): string;
@@ -44,6 +44,7 @@ export interface JRCModalProps {
44
44
  radius?: ModalBorderRadius;
45
45
  isFull?: boolean;
46
46
  isFullHeight?: boolean;
47
+ isFullScreen?: boolean;
47
48
  modalOptions?: ReactNode;
48
49
  portalId?: string;
49
50
  inPlace?: boolean;
@@ -2,7 +2,9 @@ export declare type ModalBorderRadius = 'medium' | 'small';
2
2
  export declare const JRCModalBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
3
  isFullHeight?: boolean | undefined;
4
4
  }, never>;
5
- export declare const JRCModalContainerFull: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const JRCModalContainerFull: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
6
+ isFullScreen?: boolean | undefined;
7
+ }, never>;
6
8
  export declare const JRCModalContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7
9
  isFullHeight?: boolean | undefined;
8
10
  overflow?: "hidden" | undefined;
@@ -1,5 +1,5 @@
1
1
  import { WidgetFileType } from 'jamespot-user-api';
2
- export declare const CSSAttachment: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const CSSAttachment: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
3
3
  export declare const CSSAttachmentImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
4
  width: number;
5
5
  height: number;
@@ -0,0 +1,6 @@
1
+ export declare const useImageLoader: (url: string, maxWidth?: number | undefined) => {
2
+ loading: boolean;
3
+ error: boolean;
4
+ width: number;
5
+ height: number;
6
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const useKeyPress: (targetKey: string, initialValue?: boolean | undefined) => {
3
+ keyPressed: boolean | undefined;
4
+ setKeyPressed: React.Dispatch<React.SetStateAction<boolean | undefined>>;
5
+ };
@@ -56,7 +56,10 @@ export { BETA_JRCDragAndDrop } from './components/Beta/BETA_JRCDragAndDrop/BETA_
56
56
  export { JRCDropDown } from './components/JRCDropDown/JRCDropDown';
57
57
  export { JRCEllipsis } from './components/JRCEllipsis/JRCEllipsis';
58
58
  export { JRCFadeStepper } from './components/Stepper/JRCFadeStepper';
59
+ export { JRCFile } from './components/JRCFile/JRCFile';
60
+ export { JRCFileAvatar } from './components/JRCFile/JRCFileAvatar';
59
61
  export { JRCFileOpen } from './components/JRCFileOpen/JRCFileOpen';
62
+ export { JRCFileViewer } from './components/JRCFileViewer/JRCFileViewer';
60
63
  export { JRCFlexBox } from './components/JRCFlex/JRCFlexBox';
61
64
  export { JRCFolders } from './components/JRCFolders/JRCFolders';
62
65
  export { JRCFormCheckbox } from './components/Form/Input/JRCFormCheckbox/JRCFormCheckbox';
@@ -139,6 +142,8 @@ export { LabelDescriptionOption } from './components/Form/Input/JRCSelect/JRCInp
139
142
  export { StyledInput } from './components/Form/Input/JRCStyledInput';
140
143
  export { useDebounce } from './hooks/UseDebounce';
141
144
  export { useDidMountEffect } from './hooks/UseDidMountEffect';
145
+ export { useImageLoader } from './hooks/UseImageLoader';
146
+ export { useKeyPress } from './hooks/UseKeyPress';
142
147
  export { useTimeout } from './hooks/UseTimeout';
143
148
  /****
144
149
  *
@@ -18,7 +18,7 @@ export declare type ThemeConfigOptions = {
18
18
  navTextColor: string;
19
19
  bgColorNotLogged: string;
20
20
  };
21
- export declare type Colors = 'primary' | 'secondary' | 'headerColor' | 'headerTextColor' | 'headerUserBackground' | 'headerUserTextColor' | 'headerSearchBarTextColor' | 'headerSearchBarBackgroundColor' | 'lavender' | 'orange' | 'yellow' | 'green' | 'navy' | 'overseas' | 'sandLight' | 'sand' | 'grey0' | 'grey1' | 'grey2' | 'grey3' | 'grey4' | 'grey5' | 'grey6' | 'black' | 'black10' | 'black15' | 'black20' | 'white';
21
+ export declare type Colors = 'primary' | 'secondary' | 'headerColor' | 'headerTextColor' | 'headerUserBackground' | 'headerUserTextColor' | 'headerSearchBarTextColor' | 'headerSearchBarBackgroundColor' | 'lavender' | 'orange' | 'yellow' | 'green' | 'navy' | 'overseas' | 'night2' | 'sandLight' | 'sand' | 'grey0' | 'grey1' | 'grey2' | 'grey3' | 'grey4' | 'grey5' | 'grey6' | 'black' | 'black10' | 'black15' | 'black20' | 'white';
22
22
  declare type ThemeConfigColorType = {
23
23
  [color in Colors]: string;
24
24
  };
@@ -28,7 +28,7 @@ declare type ThemeConfigShadeType = {
28
28
  };
29
29
  export declare type ColorsOrShades = Colors | Shades;
30
30
  export declare const NATIVE_COLORS: readonly ["currentColor", "inherit", "transparent"];
31
- export declare type NativeColor = typeof NATIVE_COLORS[number];
31
+ export declare type NativeColor = (typeof NATIVE_COLORS)[number];
32
32
  export declare type FontWeight = {
33
33
  light: number;
34
34
  normal: number;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { RenderOptions } from '@testing-library/react';
2
+ import { RenderOptions, RenderResult } from '@testing-library/react';
3
3
  export interface RenderWrapperProps {
4
4
  children: React.ReactNode;
5
5
  }
6
- declare const renderWithWrapper: (ui: React.ReactElement, options?: Omit<RenderOptions<typeof import("@testing-library/dom/types/queries"), HTMLElement>, "queries"> | undefined) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement>;
6
+ declare const renderWithWrapper: (ui: React.ReactElement, options?: Omit<RenderOptions<typeof import("@testing-library/dom/types/queries"), HTMLElement>, "queries"> | undefined) => RenderResult;
7
7
  export { renderWithWrapper };
@@ -1,4 +1,7 @@
1
1
  export declare function isDocumentElement(el: HTMLElement | typeof window): el is typeof window;
2
+ /**
3
+ * Quick fix (type error with npm but not with pnpm. Dunno why)
4
+ */
2
5
  export declare function scrollTo(el: HTMLElement | typeof window, top: number): void;
3
6
  export declare function getScrollParent(element: HTMLElement): HTMLElement;
4
7
  export declare function scrollIntoView(menuEl: HTMLElement, focusedEl: HTMLElement): void;
@@ -0,0 +1,10 @@
1
+ export declare function fileExtension(mimetype: string): string;
2
+ export declare function fileAvatar(mimetype: string): {
3
+ ext: string;
4
+ path: string;
5
+ colors: {
6
+ primary: string;
7
+ light: string;
8
+ dark: string;
9
+ };
10
+ };
@@ -1,3 +1,4 @@
1
+ export declare const getExtensionFromName: (name: string) => string;
1
2
  export declare function getIconExtensionFile(fileName: string, basePath: string): {
2
3
  path: string;
3
4
  colors: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.137",
3
+ "version": "1.0.139",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",
@@ -31,13 +31,13 @@
31
31
  "@babel/preset-env": "^7.12.7",
32
32
  "@babel/preset-react": "^7.12.7",
33
33
  "@babel/preset-typescript": "^7.12.7",
34
- "@storybook/addon-actions": "^6.4.19",
35
- "@storybook/addon-docs": "^6.4.19",
36
- "@storybook/addon-essentials": "^6.4.19",
37
- "@storybook/addon-links": "^6.4.19",
38
- "@storybook/builder-webpack5": "^6.4.19",
39
- "@storybook/manager-webpack5": "^6.4.19",
40
- "@storybook/react": "^6.4.19",
34
+ "@storybook/addon-actions": "6.4.19",
35
+ "@storybook/addon-docs": "6.4.19",
36
+ "@storybook/addon-essentials": "6.4.19",
37
+ "@storybook/addon-links": "6.4.19",
38
+ "@storybook/builder-webpack5": "6.4.19",
39
+ "@storybook/manager-webpack5": "6.4.19",
40
+ "@storybook/react": "6.4.19",
41
41
  "@testing-library/dom": "^8.11.0",
42
42
  "@testing-library/jest-dom": "^5.12.0",
43
43
  "@testing-library/react": "^12.1.2",
@@ -46,6 +46,7 @@
46
46
  "@types/chroma-js": "^2.1.3",
47
47
  "@types/classnames": "^2.2.10",
48
48
  "@types/jest": "^27.0.2",
49
+ "@types/node": "^20.3.1",
49
50
  "@types/react": "^17.0.2",
50
51
  "@types/react-dom": "^17.0.2",
51
52
  "@types/react-redux": "^7.1.24",
@@ -56,6 +57,7 @@
56
57
  "@types/react-test-renderer": "^17.0.1",
57
58
  "@types/redux-form": "^8.3.5",
58
59
  "@types/styled-components": "^5.1.4",
60
+ "@types/testing-library__jest-dom": "^5.12.0",
59
61
  "@types/uuid": "^8.3.1",
60
62
  "@typescript-eslint/eslint-plugin": "^5.4.0",
61
63
  "@typescript-eslint/parser": "^5.4.0",
@@ -89,19 +91,21 @@
89
91
  "webpack-dev-server": "^4.4.0"
90
92
  },
91
93
  "dependencies": {
92
- "@tiptap/extension-character-count": "^2.0.0-beta.203",
93
- "@tiptap/extension-color": "^2.0.0-beta.203",
94
- "@tiptap/extension-link": "^2.0.0-beta.203",
95
- "@tiptap/extension-mention": "^2.0.0-beta.204",
96
- "@tiptap/extension-placeholder": "^2.0.1",
97
- "@tiptap/extension-text-align": "^2.0.0-beta.203",
98
- "@tiptap/extension-text-style": "^2.0.0-beta.203",
99
- "@tiptap/extension-underline": "^2.0.0-beta.203",
100
- "@tiptap/react": "^2.0.0-beta.203",
101
- "@tiptap/starter-kit": "^2.0.0-beta.203",
94
+ "@tiptap/core": "^2.0.3",
95
+ "@tiptap/extension-character-count": "^2.0.3",
96
+ "@tiptap/extension-color": "^2.0.3",
97
+ "@tiptap/extension-link": "^2.0.3",
98
+ "@tiptap/extension-mention": "^2.0.3",
99
+ "@tiptap/extension-placeholder": "^2.0.3",
100
+ "@tiptap/extension-text-align": "^2.0.3",
101
+ "@tiptap/extension-text-style": "^2.0.3",
102
+ "@tiptap/extension-underline": "^2.0.3",
103
+ "@tiptap/react": "^2.0.3",
104
+ "@tiptap/starter-kit": "^2.0.3",
105
+ "@tiptap/suggestion": "^2.0.3",
102
106
  "chroma-js": "^2.1.1",
103
107
  "classnames": "^2.3.1",
104
- "jamespot-user-api": "^1.0.107",
108
+ "jamespot-user-api": "^1.0.109",
105
109
  "moment": "^2.29.1",
106
110
  "react": "^17.x",
107
111
  "react-beautiful-dnd": "^13.1.1",
@@ -122,6 +126,7 @@
122
126
  "slick-carousel": "^1.8.1",
123
127
  "styled-components": "^5.2.1",
124
128
  "styled-reset": "^4.2.3",
129
+ "tippy.js": "^6.3.7",
125
130
  "uuid": "^8.3.2"
126
131
  },
127
132
  "peerDependencies": {