jamespot-react-components 1.0.184 → 1.0.185
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/build/jamespot-react-components.js +1080 -1073
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/Form/Input/{JRCFormAutocomplete → Deprecated/JRCFormAutocomplete}/JRCFormAutocompleteAudience.d.ts +3 -2
- package/build/src/components/Form/Input/{JRCFormAutocomplete → Deprecated/JRCFormAutocomplete}/JRCFormAutocompleteCommunity.d.ts +2 -2
- package/build/src/components/Form/Input/{JRCFormAutocomplete → Deprecated/JRCFormAutocomplete}/JRCFormAutocompleteTaxonomy.d.ts +2 -2
- package/build/src/components/Form/Input/{JRCFormCheckbox → Deprecated/JRCFormCheckbox}/JRCFormCheckbox.types.d.ts +1 -1
- package/build/src/components/Form/Input/{JRCFormFieldRender.d.ts → Deprecated/JRCFormFieldRender.d.ts} +3 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormFile/JRCFormFile.d.ts +7 -0
- package/build/src/components/Form/Input/{JRCFormFile → Deprecated/JRCFormFile}/JRCFormFile.styles.d.ts +0 -2
- package/build/src/components/Form/Input/{JRCFormRichText → Deprecated/JRCFormRichText}/JRCFormRichEditorField.styles.d.ts +1 -1
- package/build/src/components/Form/Input/{JRCFormRichText → Deprecated/JRCFormRichText}/JRCFormRichTextField.d.ts +2 -2
- package/build/src/components/Form/Input/{JRCFormTextarea → Deprecated/JRCFormTextarea}/JRCFormTextarea.d.ts +1 -1
- package/build/src/components/Form/Input/{JRCFormCheckbox → JRCInputCheckbox/components}/JRCCheckbox.d.ts +1 -1
- package/build/src/components/Form/Input/{JRCFormCheckbox → JRCInputCheckbox/components}/JRCRadio.d.ts +1 -1
- package/build/src/components/Form/Input/{JRCFormCheckbox → JRCInputCheckbox/components}/JRCToggle.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvanced.stories.d.ts +6 -0
- package/build/src/components/Form/Input/{JRCFormFile/JRCFormFile.d.ts → JRCInputFileAdvanced/JRCInputFileAdvancedRaw.d.ts} +5 -16
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.d.ts +0 -12
- package/build/src/components/Form/Input/JRCStyledInput.d.ts +1 -1
- package/build/src/components/JRCAttachments/JRCAttachments.d.ts +1 -2
- package/build/src/components/JRCCommentsBloc/JRCComment.d.ts +2 -4
- package/build/src/components/JRCCommentsBloc/JRCCommentsBloc.d.ts +3 -2
- package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +4 -4
- package/build/src/components/JRCTabs/JRCTabs.d.ts +7 -7
- package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +1 -1
- package/build/src/components/Widgets/JRCWidgetAttachment/JRCWidgetAttachment.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditor.d.ts +4 -4
- package/build/src/index.d.ts +21 -20
- package/build/src/types.d.ts +14 -13
- package/package.json +2 -2
- package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.stories.d.ts +0 -5
- package/build/src/components/Form/Input/{JRCFormAutocomplete → Deprecated/JRCFormAutocomplete}/JRCFormAutocompleteAudience.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormAutocomplete → Deprecated/JRCFormAutocomplete}/JRCFormAutocompleteCommunity.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormAutocomplete → Deprecated/JRCFormAutocomplete}/JRCFormAutocompleteTaxonomy.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormCheckbox → Deprecated/JRCFormCheckbox}/JRCFormCheckbox.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormCheckbox → Deprecated/JRCFormCheckbox}/JRCFormCheckbox.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormCheckbox → Deprecated/JRCFormCheckbox}/JRCFormCheckbox.style.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormColor → Deprecated/JRCFormColor}/JRCFormColor.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormColor → Deprecated/JRCFormColor}/JRCFormColor.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormDateTime → Deprecated/JRCFormDateTime}/JRCFormDateTime.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormDateTime/JRCFormInputDateTime.stories.d.ts → Deprecated/JRCFormDateTime/JRCFormDateTime.stories.d.ts} +0 -0
- package/build/src/components/Form/Input/{JRCFormEmail → Deprecated/JRCFormEmail}/JRCFormEmail.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormEmail → Deprecated/JRCFormEmail}/JRCFormEmail.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormFile → Deprecated/JRCFormFile/components}/File.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormImage → Deprecated/JRCFormImage}/JRCFormImage.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormImage → Deprecated/JRCFormImage}/JRCFormImage.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormImage → Deprecated/JRCFormImage}/JRCFormImage.styles.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormNumber → Deprecated/JRCFormNumber}/JRCFormNumber.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormNumber → Deprecated/JRCFormNumber}/JRCFormNumber.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormRange → Deprecated/JRCFormRange}/JRCFormRange.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormRange → Deprecated/JRCFormRange}/JRCFormRange.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormReceiveACopy → Deprecated/JRCFormReceiveACopy}/JRCFormReceiveACopy.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormReceiveACopy → Deprecated/JRCFormReceiveACopy}/JRCFormReceiveACopy.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormRichText → Deprecated/JRCFormRichText}/JRCFormRichTextField.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormRichText → Deprecated/JRCFormRichText}/extensions/mentions/MentionList.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormRichText → Deprecated/JRCFormRichText}/extensions/mentions/mention.css.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormRichText → Deprecated/JRCFormRichText/utils}/suggestion.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormSelect → Deprecated/JRCFormSelect}/JRCFormSelect.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormSelect → Deprecated/JRCFormSelect}/JRCFormSelect.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormSelect → Deprecated/JRCFormSelect}/JRCFormSelectTag.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormSelect → Deprecated/JRCFormSelect/utils}/Extension.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormSendAlert → Deprecated/JRCFormSendAlert}/JRCFormSendAlert.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormSendAlert → Deprecated/JRCFormSendAlert}/JRCFormSendAlert.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormText → Deprecated/JRCFormText}/JRCFormText.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormText → Deprecated/JRCFormText}/JRCFormText.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormTextarea → Deprecated/JRCFormTextarea}/JRCFormTextarea.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormURL → Deprecated/JRCFormURL}/JRCFormUrl.d.ts +0 -0
- package/build/src/components/Form/Input/{JRCFormURL → Deprecated/JRCFormURL}/JRCFormUrl.stories.d.ts +0 -0
- package/build/src/components/Form/Input/{ReduxFormControls.d.ts → Deprecated/ReduxFormControls.d.ts} +0 -0
- package/build/src/components/Form/Input/{JRCFormFile → JRCInputFile/utils}/file.api.d.ts +2 -2
|
@@ -9,6 +9,7 @@ export interface JRCAutocompleteAudienceProps extends JRCFormSelectProps<any> {
|
|
|
9
9
|
* @param props JRCAutocompleteAudienceProps
|
|
10
10
|
* validation props: required
|
|
11
11
|
* @returns JSX.Element
|
|
12
|
+
* @deprecated use JRCInputAutocomplete and its variants instead
|
|
12
13
|
*/
|
|
13
|
-
declare const
|
|
14
|
-
export {
|
|
14
|
+
declare const JRCFormAutocompleteAudienceField: (props: JRCAutocompleteAudienceProps) => React.JSX.Element;
|
|
15
|
+
export { JRCFormAutocompleteAudienceField };
|
|
@@ -7,5 +7,5 @@ import { JRCFormSelectProps } from '../JRCFormSelect/JRCFormSelect';
|
|
|
7
7
|
* @returns JSX.Element
|
|
8
8
|
* @deprecated use JRCInputAutocomplete and its variants instead
|
|
9
9
|
*/
|
|
10
|
-
declare const
|
|
11
|
-
export {
|
|
10
|
+
declare const JRCFormAutocompleteCommunityField: (props: JRCFormSelectProps<any>) => React.JSX.Element;
|
|
11
|
+
export { JRCFormAutocompleteCommunityField };
|
|
@@ -10,5 +10,5 @@ export interface JRCAutocompleteTaxonomyProps extends JRCFormSelectProps<any> {
|
|
|
10
10
|
* @returns JSX.Element
|
|
11
11
|
* @deprecated use JRCInputAutocomplete and its variants instead
|
|
12
12
|
*/
|
|
13
|
-
declare const
|
|
14
|
-
export {
|
|
13
|
+
declare const JRCFormAutocompleteTaxonomyField: (props: JRCAutocompleteTaxonomyProps) => React.JSX.Element;
|
|
14
|
+
export { JRCFormAutocompleteTaxonomyField };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { JRCFormLabelProps } from '../Common/FormLabel';
|
|
3
2
|
import { WrappedFieldInputProps, WrappedFieldProps } from 'redux-form';
|
|
4
3
|
import { JRCTooltipProps } from 'components/JRCTooltip/JRCTooltip';
|
|
5
|
-
import { DataCy } from '
|
|
4
|
+
import { DataCy } from '../../../../types/dataAttributes';
|
|
5
|
+
import { JRCFormLabelProps } from '../../Common/FormLabel';
|
|
6
6
|
/**
|
|
7
7
|
* Props used for all inputs
|
|
8
8
|
*
|
|
@@ -60,7 +60,7 @@ export type InputState = DataCy & {
|
|
|
60
60
|
};
|
|
61
61
|
export declare const StyledDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
62
62
|
size: string;
|
|
63
|
-
} & import("
|
|
63
|
+
} & import("../../../JRCTypo/JRCTypo").JRCTextProps, "size">;
|
|
64
64
|
/**
|
|
65
65
|
* Render of a default input redux form field
|
|
66
66
|
* This render is used for all kin of inputs.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { JRCInputFileAdavancedProps } from '../../JRCInputFileAdvanced/JRCInputFileAdvancedRaw';
|
|
3
|
+
export type JRCFormInputFileFieldProps = JRCInputFileAdavancedProps;
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use JRCInputFile instead
|
|
6
|
+
*/
|
|
7
|
+
export declare const JRCFormInputFileField: (props: JRCFormInputFileFieldProps) => React.JSX.Element;
|
|
@@ -2,8 +2,6 @@ export declare const Container: import("styled-components").StyledComponent<"div
|
|
|
2
2
|
export declare const ContainerList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
3
|
export declare const List: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const Image: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const LabelContainer: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
export declare const FileUploadWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
5
|
export declare const LabelField: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
8
6
|
export declare const CloseButton: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
9
7
|
export declare const FileWrapper: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
@@ -5,7 +5,7 @@ export declare const EditorInplace: import("styled-components").StyledComponent<
|
|
|
5
5
|
fontSize?: string | undefined;
|
|
6
6
|
}, never>;
|
|
7
7
|
export declare const Editor: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const CharactersCount: import("styled-components").StyledComponent<({ variant, ...props }: import("
|
|
8
|
+
export declare const CharactersCount: import("styled-components").StyledComponent<({ variant, ...props }: import("../../../../..").JRCTypographyProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
9
9
|
export declare function FontSizeSelect(props: {
|
|
10
10
|
onChange: (size: number) => void;
|
|
11
11
|
}): React.JSX.Element;
|
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { Editor } from '@tiptap/react';
|
|
3
3
|
import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
|
|
4
4
|
import { EventHandler, EventOrValueHandler } from 'redux-form';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { FormRichTextFieldOptionsProps, FormRichTextFieldToolbarProps } from '../../JRCInputRichText/JRCInputRichText';
|
|
6
|
+
import { DataCy } from '../../../../../types/dataAttributes';
|
|
7
7
|
/**
|
|
8
8
|
* This component is used with redux-form (studio) and with react-hook-form!!
|
|
9
9
|
* @deprecated Use JRCInputTinyMCE instead
|
|
@@ -11,7 +11,7 @@ import { ExternalFormFieldRenderProps } from '../JRCFormFieldRender';
|
|
|
11
11
|
export interface TextareaFormInputProps extends Omit<React.ComponentPropsWithoutRef<'textarea'>, 'type'>, ExternalFormFieldRenderProps {
|
|
12
12
|
name: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const JRCFormTextarea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, import("
|
|
14
|
+
export declare const JRCFormTextarea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, import("../../../../../types/dataAttributes").DataCy & {
|
|
15
15
|
error?: boolean | undefined;
|
|
16
16
|
valid?: boolean | undefined;
|
|
17
17
|
readOnly?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FormInputProps } from '
|
|
2
|
+
import { FormInputProps } from '../../Deprecated/JRCFormFieldRender';
|
|
3
3
|
export declare const CheckboxWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const JRCCheckbox: React.ForwardRefExoticComponent<FormInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FormInputProps } from '
|
|
2
|
+
import { FormInputProps } from '../../Deprecated/JRCFormFieldRender';
|
|
3
3
|
export declare const RadioWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const JRCRadio: React.ForwardRefExoticComponent<FormInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FormInputProps } from '
|
|
2
|
+
import { FormInputProps } from '../../Deprecated/JRCFormFieldRender';
|
|
3
3
|
export declare const JRCToggle: React.ForwardRefExoticComponent<FormInputProps & React.RefAttributes<HTMLInputElement>>;
|
package/build/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvanced.stories.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, Story } from '@storybook/react';
|
|
2
|
+
import { JRCInputFileAdavancedProps } from './JRCInputFileAdvancedRaw';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const File: Story<JRCInputFileAdavancedProps>;
|
|
6
|
+
export declare const FileMultiple: Story<JRCInputFileAdavancedProps>;
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
+
import { Drive, jFileLittle } from 'jamespot-user-api';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { WrappedFieldInputProps } from 'redux-form';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
/**
|
|
6
|
-
* Props type for JRCFormInputFileFieldProps (to fix with next version of this JRC)
|
|
7
|
-
* @member disable optional boolean
|
|
8
|
-
* @member required optional boolean
|
|
9
|
-
* @member loading optional boolean
|
|
10
|
-
* @member accept optional mime-type
|
|
11
|
-
* @member input redux form input object
|
|
12
|
-
*/
|
|
13
|
-
export interface JRCFormInputFileFieldProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
4
|
+
export type DriveOrFilebank = Drive | 'fileBank';
|
|
5
|
+
export interface JRCInputFileAdavancedProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
14
6
|
required?: boolean;
|
|
15
7
|
loading?: boolean;
|
|
16
8
|
className?: string;
|
|
@@ -26,9 +18,6 @@ export interface JRCFormInputFileFieldProps extends React.ComponentPropsWithoutR
|
|
|
26
18
|
onUploadStart?: (count?: number) => void;
|
|
27
19
|
existingFiles?: Array<jFileLittle>;
|
|
28
20
|
deleteFile?: (id: number) => Promise<void>;
|
|
21
|
+
activeDrives?: DriveOrFilebank[];
|
|
29
22
|
}
|
|
30
|
-
export declare const
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated Use JRCInputFile instead
|
|
33
|
-
*/
|
|
34
|
-
export declare const JRCFormInputFileField: (props: JRCFormInputFileFieldProps) => React.JSX.Element;
|
|
23
|
+
export declare const JRCInputFileAdvancedRaw: React.ForwardRefExoticComponent<JRCInputFileAdavancedProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -4,18 +4,6 @@
|
|
|
4
4
|
* @param element
|
|
5
5
|
*/
|
|
6
6
|
export declare function getIndex(arr: Array<any>, element: any): number;
|
|
7
|
-
/**
|
|
8
|
-
* Remove an object within an array (works with objects)
|
|
9
|
-
* @param arr
|
|
10
|
-
* @param value
|
|
11
|
-
*/
|
|
12
|
-
export declare function removeItem<T>(arr: Array<T>, value: T): Array<T>;
|
|
13
|
-
/**
|
|
14
|
-
* Adds an object within an array. Instantiate it if the arr is neither an array nor defined
|
|
15
|
-
* @param arr
|
|
16
|
-
* @param value
|
|
17
|
-
*/
|
|
18
|
-
export declare function addItem<T>(arr: Array<T> | any, value: T): Array<T>;
|
|
19
7
|
/**
|
|
20
8
|
* Sorts, Adds an index then groups an array with a grouping function
|
|
21
9
|
* @param arr array to order
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { InputState } from './JRCFormFieldRender';
|
|
3
2
|
import { DataCy } from '../../../types/dataAttributes';
|
|
3
|
+
import { InputState } from './Deprecated/JRCFormFieldRender';
|
|
4
4
|
/**
|
|
5
5
|
* Input styles are &&& encapsulated in order to go over the reset styles
|
|
6
6
|
* and the not-resseted legacy style set with input[type="toto"]
|
|
@@ -6,6 +6,5 @@ export type JRCAttachmentsProps = {
|
|
|
6
6
|
getAccessHash?: (fileId: number) => Promise<string>;
|
|
7
7
|
onError: (message?: string) => void;
|
|
8
8
|
onDelete?: (id: number) => void;
|
|
9
|
-
onRecomputePreview: () => void;
|
|
10
9
|
};
|
|
11
|
-
export declare const JRCAttachments: ({ files, isWedocActive, getAccessHash, onError, onDelete
|
|
10
|
+
export declare const JRCAttachments: ({ files, isWedocActive, getAccessHash, onError, onDelete }: JRCAttachmentsProps) => React.JSX.Element;
|
|
@@ -15,7 +15,7 @@ export type JRCCommentProps = {
|
|
|
15
15
|
value: string | object;
|
|
16
16
|
}[]>;
|
|
17
17
|
fetchSocialActionUserList?: () => Promise<jUserList[]>;
|
|
18
|
-
deleteFile
|
|
18
|
+
deleteFile: (id: number) => Promise<void>;
|
|
19
19
|
addAction?: () => Promise<void>;
|
|
20
20
|
removeAction?: () => Promise<void>;
|
|
21
21
|
onError?: (message?: string) => void;
|
|
@@ -25,13 +25,11 @@ export type JRCCommentProps = {
|
|
|
25
25
|
isWedocActive: boolean;
|
|
26
26
|
getAccessHash?: (fileId: number) => Promise<string>;
|
|
27
27
|
onGetHashError: (message?: string) => void;
|
|
28
|
-
onRecomputePreview: () => void;
|
|
29
28
|
mocks?: {
|
|
30
29
|
socialActionGetUsers: typeof jamespot.socialAction.getUsers<jUserList>;
|
|
31
30
|
socialActionAdd: typeof jamespot.socialAction.add;
|
|
32
31
|
socialActionRemove: typeof jamespot.socialAction.remove;
|
|
33
|
-
fileDeleteFile: typeof jamespot.file.deleteFile;
|
|
34
32
|
};
|
|
35
33
|
};
|
|
36
34
|
export declare const DropdownButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
37
|
-
export declare const JRCComment: ({ isFocused, comment, token, tinyMCEConfig, onCommentUpdate, onCommentDelete, fetchUser, fetchUserFields, fetchSocialActionUserList, addAction, removeAction, onError, highlightFields, userModel, userAccountStatus, isWedocActive, getAccessHash, onGetHashError,
|
|
35
|
+
export declare const JRCComment: ({ isFocused, comment, token, tinyMCEConfig, onCommentUpdate, onCommentDelete, fetchUser, fetchUserFields, fetchSocialActionUserList, addAction, removeAction, onError, highlightFields, userModel, userAccountStatus, isWedocActive, getAccessHash, onGetHashError, mocks, deleteFile, }: JRCCommentProps) => React.JSX.Element;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { jCommentList } from 'jamespot-user-api/lib/src/types/comment';
|
|
3
3
|
import { AddCommentParams, jUserList, jUserView, Model, UpdateCommentParams } from 'jamespot-user-api';
|
|
4
4
|
import { JRCInputTinyMCERawProps } from '../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
5
|
+
import { DriveOrFilebank } from '../Form/Input/JRCInputFileAdvanced/JRCInputFileAdvancedRaw';
|
|
5
6
|
export type JRCCommentsBlocProps = {
|
|
6
7
|
comments?: jCommentList[];
|
|
7
8
|
initialCommentsNumber?: number;
|
|
@@ -28,7 +29,7 @@ export type JRCCommentsBlocProps = {
|
|
|
28
29
|
isWedocActive: boolean;
|
|
29
30
|
getAccessHash?: (fileId: number) => Promise<string>;
|
|
30
31
|
onGetHashError: (message?: string) => void;
|
|
31
|
-
|
|
32
|
+
activeDrives: DriveOrFilebank[];
|
|
32
33
|
};
|
|
33
34
|
export declare const AvatarWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
34
|
-
export declare const JRCCommentsBloc: ({ comments, initialCommentsNumber, currentUser, tinyMCEConfig, onComment, loading, token, onCommentDelete, onCommentUpdate, fetchUser, fetchUserFields, deleteFile, fetchSocialActionUserList, addLike, removeLike, onError, highlightFields, userModel, userAccountStatus, isWedocActive, getAccessHash, onGetHashError,
|
|
35
|
+
export declare const JRCCommentsBloc: ({ comments, initialCommentsNumber, currentUser, tinyMCEConfig, onComment, loading, token, onCommentDelete, onCommentUpdate, fetchUser, fetchUserFields, deleteFile, fetchSocialActionUserList, addLike, removeLike, onError, highlightFields, userModel, userAccountStatus, isWedocActive, getAccessHash, onGetHashError, activeDrives, }: JRCCommentsBlocProps) => React.JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { JRCFileViewerProps } from './types';
|
|
3
3
|
export declare const JRCFileViewer: <T extends {
|
|
4
|
-
title: string;
|
|
5
4
|
type: string;
|
|
6
5
|
id: number;
|
|
7
|
-
uri: string;
|
|
8
6
|
mainType: string;
|
|
9
|
-
|
|
7
|
+
uri: string;
|
|
10
8
|
dateCreation: string;
|
|
11
9
|
dateModified: string | null;
|
|
10
|
+
title: string;
|
|
11
|
+
_url: string;
|
|
12
12
|
mimetype: string;
|
|
13
|
-
path?: string | undefined;
|
|
14
13
|
size: number;
|
|
14
|
+
path?: string | undefined;
|
|
15
15
|
}>({ files, size, children, openWithOptions, }: JRCFileViewerProps<T>) => React.JSX.Element;
|
|
@@ -12,8 +12,8 @@ export declare const JRCDefaultIconVerticalItem: import("styled-components").Sty
|
|
|
12
12
|
* Interface of a single Menu Item props
|
|
13
13
|
* @member label label of the tag
|
|
14
14
|
*/
|
|
15
|
-
export interface ItemEntriesProps {
|
|
16
|
-
key:
|
|
15
|
+
export interface ItemEntriesProps<T extends string = string> {
|
|
16
|
+
key: T;
|
|
17
17
|
label: React.ReactNode;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
@@ -23,18 +23,18 @@ export interface ItemEntriesProps {
|
|
|
23
23
|
* @member direction direction of tab to horizontal or vertical
|
|
24
24
|
* @member callback tab selection handler
|
|
25
25
|
*/
|
|
26
|
-
export type JRCTabsProps = DataCy & {
|
|
27
|
-
entries?: ItemEntriesProps[];
|
|
28
|
-
activeItem?:
|
|
26
|
+
export type JRCTabsProps<T extends string = string> = DataCy & {
|
|
27
|
+
entries?: ItemEntriesProps<T>[];
|
|
28
|
+
activeItem?: T;
|
|
29
29
|
direction: 'horizontal' | 'vertical';
|
|
30
|
-
callback: (key:
|
|
30
|
+
callback: (key: T) => void;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @param {entries, activeItem, direction} props, @see JRCTabsProps interface
|
|
35
35
|
* @returns JSX.Element
|
|
36
36
|
*/
|
|
37
|
-
export declare const JRCTabs: ({ entries, activeItem, direction, callback, dataCy, }: JRCTabsProps) => JSX.Element;
|
|
37
|
+
export declare const JRCTabs: <T extends string = string>({ entries, activeItem, direction, callback, dataCy, }: JRCTabsProps<T>) => JSX.Element;
|
|
38
38
|
/**
|
|
39
39
|
* Interface to provide JRCTabPanel props
|
|
40
40
|
* @member active whether the tab is active
|
|
@@ -3,5 +3,5 @@ import { JRCTabsProps } from './JRCTabs';
|
|
|
3
3
|
import { Meta, Story } from '@storybook/react';
|
|
4
4
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const Primary: Story<JRCTabsProps
|
|
6
|
+
export declare const Primary: Story<JRCTabsProps<string>>;
|
|
7
7
|
export declare const EmbeddedTab: () => React.JSX.Element;
|
|
@@ -13,7 +13,6 @@ export type JRCWidgetAttachmentProps = {
|
|
|
13
13
|
}[];
|
|
14
14
|
fileDisplay?: 'list';
|
|
15
15
|
onDelete?: (idFile: number) => void;
|
|
16
|
-
onRecomputePreview: () => void;
|
|
17
16
|
onError: (message?: string) => void;
|
|
18
17
|
mocks?: {
|
|
19
18
|
fileGetDownloads: typeof jamespot.file.getDownload;
|
|
@@ -23,7 +22,7 @@ export type JRCWidgetAttachmentProps = {
|
|
|
23
22
|
/**
|
|
24
23
|
* TODO: resolveFileMimetype should be done before
|
|
25
24
|
*/
|
|
26
|
-
export declare const JRCWidgetAttachment: ({ files, inline, onClick, onDelete,
|
|
25
|
+
export declare const JRCWidgetAttachment: ({ files, inline, onClick, onDelete, onError, mocks, }: JRCWidgetAttachmentProps & {
|
|
27
26
|
onClick: (idFile: number) => void;
|
|
28
27
|
inline?: boolean | undefined;
|
|
29
28
|
}) => React.JSX.Element;
|
|
@@ -12,17 +12,17 @@ export declare const JRCWidgetArticleSliderEditor: ({ slides, loop, useDots, tok
|
|
|
12
12
|
export declare const EditorSlide: ({ forceOpen, title, text, displayAs, backgroundSize, backgroundPosition, file, token, onUploadSuccess, onSave, onClickDelete, }: {
|
|
13
13
|
forceOpen?: boolean | undefined;
|
|
14
14
|
file?: {
|
|
15
|
-
title: string;
|
|
16
15
|
type: string;
|
|
17
16
|
id: number;
|
|
18
|
-
uri: string;
|
|
19
17
|
mainType: string;
|
|
20
|
-
|
|
18
|
+
uri: string;
|
|
21
19
|
dateCreation: string;
|
|
22
20
|
dateModified: string | null;
|
|
21
|
+
title: string;
|
|
22
|
+
_url: string;
|
|
23
23
|
mimetype: string;
|
|
24
|
-
path?: string | undefined;
|
|
25
24
|
size: number;
|
|
25
|
+
path?: string | undefined;
|
|
26
26
|
} | undefined;
|
|
27
27
|
token?: string | undefined;
|
|
28
28
|
onUploadStart: () => void;
|
package/build/src/index.d.ts
CHANGED
|
@@ -35,9 +35,6 @@ export { JRCAppContainer } from './components/JRCAppContainer/JRCAppContainer';
|
|
|
35
35
|
export { JRCAppHeader } from './components/JRCAppHeader/JRCAppHeader';
|
|
36
36
|
export { JRCAppLeftColumn } from './components/JRCAppLeftColumn/JRCAppLeftColumn';
|
|
37
37
|
export { JRCAttachments } from './components/JRCAttachments/JRCAttachments';
|
|
38
|
-
export { JRCAutocompleteAudienceField } from './components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience';
|
|
39
|
-
export { JRCAutocompleteCommunityField } from './components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity';
|
|
40
|
-
export { JRCAutocompleteTaxonomyField } from './components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy';
|
|
41
38
|
export { JRCAvatar } from './components/JRCAvatar/JRCAvatar';
|
|
42
39
|
export { JRCBaseTooltip } from './components/JRCTooltip/JRCBaseTooltip';
|
|
43
40
|
export { JRCButton } from './components/JRCButton/JRCButton';
|
|
@@ -46,7 +43,7 @@ export { JRCButtonDropdown } from './components/JRCButtonDropdown/JRCButtonDropd
|
|
|
46
43
|
export { JRCButtonFile } from './components/JRCButtonFile/JRCButtonFile';
|
|
47
44
|
export { JRCCard } from './components/JRCCard/JRCCard';
|
|
48
45
|
export { JRCCardImg } from './components/JRCCard/JRCCardImg';
|
|
49
|
-
export { JRCCheckbox } from './components/Form/Input/
|
|
46
|
+
export { JRCCheckbox } from './components/Form/Input/JRCInputCheckbox/components/JRCCheckbox';
|
|
50
47
|
export { JRCColumn } from './components/Templates/JRCColumn';
|
|
51
48
|
export { JRCColumnCenter } from './components/JRCColumnCenter/JRCColumnCenter';
|
|
52
49
|
export { JRCColumnLeft } from './components/JRCColumnLeft/JRCColumnLeft';
|
|
@@ -67,22 +64,25 @@ export { JRCFileOpen } from './components/JRCFileOpen/JRCFileOpen';
|
|
|
67
64
|
export { JRCFileViewer } from './components/JRCFileViewer/JRCFileViewer';
|
|
68
65
|
export { JRCFlexBox } from './components/JRCFlex/JRCFlexBox';
|
|
69
66
|
export { JRCFolders } from './components/JRCFolders/JRCFolders';
|
|
70
|
-
export {
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
74
|
-
export {
|
|
75
|
-
export {
|
|
76
|
-
export {
|
|
77
|
-
export {
|
|
78
|
-
export {
|
|
79
|
-
export {
|
|
80
|
-
export {
|
|
81
|
-
export {
|
|
82
|
-
export {
|
|
83
|
-
export {
|
|
84
|
-
export {
|
|
85
|
-
export {
|
|
67
|
+
export { JRCFormAutocompleteAudienceField } from './components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience';
|
|
68
|
+
export { JRCFormAutocompleteCommunityField } from './components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity';
|
|
69
|
+
export { JRCFormAutocompleteTaxonomyField } from './components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy';
|
|
70
|
+
export { JRCFormCheckbox } from './components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox';
|
|
71
|
+
export { JRCFormColorField } from './components/Form/Input/Deprecated/JRCFormColor/JRCFormColor';
|
|
72
|
+
export { JRCFormDatetimeField } from './components/Form/Input/Deprecated/JRCFormDateTime/JRCFormDateTime';
|
|
73
|
+
export { JRCFormEmailField } from './components/Form/Input/Deprecated/JRCFormEmail/JRCFormEmail';
|
|
74
|
+
export { JRCFormInputFileField } from './components/Form/Input/Deprecated/JRCFormFile/JRCFormFile';
|
|
75
|
+
export { JRCFormInputImage, JRCFormInputImageField, } from './components/Form/Input/Deprecated/JRCFormImage/JRCFormImage';
|
|
76
|
+
export { JRCFormNumberField } from './components/Form/Input/Deprecated/JRCFormNumber/JRCFormNumber';
|
|
77
|
+
export { JRCFormRangeField } from './components/Form/Input/Deprecated/JRCFormRange/JRCFormRange';
|
|
78
|
+
export { JRCFormReceiveACopyField } from './components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy';
|
|
79
|
+
export { JRCFormRichTextField } from './components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField';
|
|
80
|
+
export { JRCFormSelectInput, JRCFormSelectField } from './components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelect';
|
|
81
|
+
export { JRCFormSelectTagField } from './components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelectTag';
|
|
82
|
+
export { JRCFormSendAlertField } from './components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert';
|
|
83
|
+
export { JRCFormTextarea, JRCFormTextareaField, } from './components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea';
|
|
84
|
+
export { JRCFormTextField } from './components/Form/Input/Deprecated/JRCFormText/JRCFormText';
|
|
85
|
+
export { JRCFormUrlField } from './components/Form/Input/Deprecated/JRCFormURL/JRCFormUrl';
|
|
86
86
|
export { JRCGrid } from './components/JRCGrid/JRCGrid';
|
|
87
87
|
export { JRCH1, JRCH2, JRCH3, JRCH4, JRCH5, JRCText } from './components/JRCTypo/JRCTypo';
|
|
88
88
|
export { JRCHtml } from './components/JRCHtml/JRCHtml';
|
|
@@ -99,6 +99,7 @@ export { JRCInputCommunity } from './components/Form/Input/JRCSelect/JRCAutocomp
|
|
|
99
99
|
export { JRCInputDate } from './components/Form/Input/JRCInputDate/JRCInputDate';
|
|
100
100
|
export { JRCInputEmail } from './components/Form/Input/JRCInputEmail/JRCInputEmail';
|
|
101
101
|
export { JRCInputFile } from './components/Form/Input/JRCInputFile/JRCInputFile';
|
|
102
|
+
export { JRCInputFileAdvancedRaw } from './components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvancedRaw';
|
|
102
103
|
export { JRCInputImage } from './components/Form/Input/JRCInputImage/JRCInputImage';
|
|
103
104
|
export { JRCInputReorderCheckbox } from './components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox';
|
|
104
105
|
export { JRCInputRichText } from './components/Form/Input/JRCInputRichText/JRCInputRichText';
|
package/build/src/types.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
export * from './components/Form/Common/types';
|
|
2
|
+
export type { DriveOrFilebank } from './components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvancedRaw';
|
|
2
3
|
export type { JRCAlertProps } from './components/JRCAlert/JRCAlert';
|
|
3
4
|
export type { JRCAppColumnProps, JRCAppTabsProps, TabEventProps, JRCTabEntry, JRCMainColumnProps, JRCColumnProps, JRCContainerProps, LayoutMode, } from './components/Templates/template.type';
|
|
4
5
|
export type { JRCAppContainerProps } from './components/JRCAppContainer/JRCAppContainer';
|
|
5
6
|
export type { JRCAppHeaderProps } from './components/JRCAppHeader/JRCAppHeader.types';
|
|
6
7
|
export type { JRCAppLeftColumnProps, SectionEntry } from './components/JRCAppLeftColumn/JRCAppLeftColumn.types';
|
|
7
|
-
export type { JRCAutocompleteAudienceProps } from './components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience';
|
|
8
|
+
export type { JRCAutocompleteAudienceProps } from './components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience';
|
|
8
9
|
export type { JRCAutocompleteCommunityProps } from './components/Form/Input/JRCSelect/JRCAutocompleteCommunity';
|
|
9
10
|
export type { JRCAutocompleteProps } from './components/Form/Input/JRCSelect/JRCInputSelect.types';
|
|
10
11
|
export type { JRCInputSelectHierarchicalTreeProps } from './components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree';
|
|
11
12
|
export type { JRCInputSelectListProps } from './components/Form/Input/JRCSelect/JRCInputSelectList';
|
|
12
|
-
export type { JRCAutocompleteTaxonomyProps } from './components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy';
|
|
13
|
+
export type { JRCAutocompleteTaxonomyProps } from './components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy';
|
|
13
14
|
export type { JRCAvatarProps } from './components/JRCAvatar/JRCAvatar';
|
|
14
15
|
export type { JRCBaseTooltipProps } from './components/JRCTooltip/JRCBaseTooltip';
|
|
15
16
|
export type { JRCButtonDownloadProps } from './components/JRCButtonDownload/JRCButtonDownload';
|
|
@@ -28,15 +29,15 @@ export type { JRCDropDownProps } from './components/JRCDropDown/JRCDropDown';
|
|
|
28
29
|
export type { JRCEllipsisProps } from './components/JRCEllipsis/JRCEllipsis';
|
|
29
30
|
export type { JRCFileOpenProps } from './components/JRCFileOpen/JRCFileOpen';
|
|
30
31
|
export type { JRCFlexBoxProps } from './components/JRCFlex/JRCFlexBox';
|
|
31
|
-
export type { JRCFormCheckboxProps } from './components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types';
|
|
32
|
-
export type { JRCFormDateProps } from './components/Form/Input/JRCFormDateTime/JRCFormDateTime';
|
|
33
|
-
export type {
|
|
34
|
-
export type { JRCFormInputImageProps, JRCFormInputImageFieldProps, } from './components/Form/Input/JRCFormImage/JRCFormImage';
|
|
35
|
-
export type { JRCFormRangeProps } from './components/Form/Input/JRCFormRange/JRCFormRange';
|
|
36
|
-
export type { JRCFormReceiveACopyInputProps } from './components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy';
|
|
37
|
-
export type { RichTextValue, FormRichTextFieldProps, } from './components/Form/Input/JRCFormRichText/JRCFormRichTextField';
|
|
38
|
-
export type { JRCFormSelectProps } from './components/Form/Input/JRCFormSelect/JRCFormSelect';
|
|
39
|
-
export type { JRCFormSendAlertInputProps } from './components/Form/Input/JRCFormSendAlert/JRCFormSendAlert';
|
|
32
|
+
export type { JRCFormCheckboxProps } from './components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.types';
|
|
33
|
+
export type { JRCFormDateProps } from './components/Form/Input/Deprecated/JRCFormDateTime/JRCFormDateTime';
|
|
34
|
+
export type { JRCFormInputFileFieldProps } from './components/Form/Input/Deprecated/JRCFormFile/JRCFormFile';
|
|
35
|
+
export type { JRCFormInputImageProps, JRCFormInputImageFieldProps, } from './components/Form/Input/Deprecated/JRCFormImage/JRCFormImage';
|
|
36
|
+
export type { JRCFormRangeProps } from './components/Form/Input/Deprecated/JRCFormRange/JRCFormRange';
|
|
37
|
+
export type { JRCFormReceiveACopyInputProps } from './components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy';
|
|
38
|
+
export type { RichTextValue, FormRichTextFieldProps, } from './components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField';
|
|
39
|
+
export type { JRCFormSelectProps } from './components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelect';
|
|
40
|
+
export type { JRCFormSendAlertInputProps } from './components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert';
|
|
40
41
|
export type { JRCGridProps } from './components/JRCGrid/JRCGrid';
|
|
41
42
|
export type { JRCH1Props, JRCH2Props, JRCH3Props, JRCH4Props, JRCH5Props, JRCTextProps, } from './components/JRCTypo/JRCTypo';
|
|
42
43
|
export type { JRCHtmlProps } from './components/JRCHtml/JRCHtml';
|
|
@@ -78,10 +79,10 @@ export type { JRCTooltipProps } from './components/JRCTooltip/JRCTooltip';
|
|
|
78
79
|
export type { JRCTypographyProps } from './components/JRCTypography/JRCTypography.d';
|
|
79
80
|
export type { JRCValidationButtonProps } from './components/JRCButton/JRCValidationButton';
|
|
80
81
|
export type { JRCValueLabelProps } from './components/Form/Common/types';
|
|
81
|
-
export type { JRCWritableFormInputProps } from './components/Form/Input/JRCFormFieldRender';
|
|
82
|
+
export type { JRCWritableFormInputProps } from './components/Form/Input/Deprecated/JRCFormFieldRender';
|
|
82
83
|
export type { MentionQuery, TinyMention } from './components/Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
83
84
|
export type { MessageType } from './components/Common/util/getColor.util';
|
|
84
|
-
export type { TextareaFormInputProps } from './components/Form/Input/JRCFormTextarea/JRCFormTextarea';
|
|
85
|
+
export type { TextareaFormInputProps } from './components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea';
|
|
85
86
|
export type { ThemeConfigOptions, ThemeType } from './styles/theme';
|
|
86
87
|
/****
|
|
87
88
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.185",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/jamespot-react-components.js",
|
|
6
6
|
"types": "./build/src/index.d.ts",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"chroma-js": "^2.1.1",
|
|
93
93
|
"classnames": "^2.3.1",
|
|
94
94
|
"dompurify": "^3.0.5",
|
|
95
|
-
"jamespot-user-api": "^1.0.
|
|
95
|
+
"jamespot-user-api": "^1.0.155",
|
|
96
96
|
"moment": "2.29.4",
|
|
97
97
|
"react": "^17.x",
|
|
98
98
|
"react-beautiful-dnd": "^13.1.1",
|
|
@@ -1,5 +0,0 @@
|
|
|
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<import("./JRCFormFile").JRCFormInputFileFieldProps>;
|
|
5
|
-
export declare const FileMultiple: Story<import("./JRCFormFile").JRCFormInputFileFieldProps>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/src/components/Form/Input/{JRCFormColor → Deprecated/JRCFormColor}/JRCFormColor.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/src/components/Form/Input/{JRCFormEmail → Deprecated/JRCFormEmail}/JRCFormEmail.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/build/src/components/Form/Input/{JRCFormFile → Deprecated/JRCFormFile/components}/File.d.ts
RENAMED
|
File without changes
|
package/build/src/components/Form/Input/{JRCFormImage → Deprecated/JRCFormImage}/JRCFormImage.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/src/components/Form/Input/{JRCFormRange → Deprecated/JRCFormRange}/JRCFormRange.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|