jamespot-react-components 1.0.145 → 1.0.146
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 +499 -496
- package/build/jamespot-react-components.js.LICENSE.txt +26 -5
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/404/index.d.ts +2 -1
- package/build/src/components/Beta/BETA_JRCColorPicker/BETA_JRCColorPicker.d.ts +2 -1
- package/build/src/components/Beta/BETA_JRCColorPicker/ColorInput.d.ts +2 -1
- package/build/src/components/Beta/BETA_JRCColorPicker/ColorPalette.d.ts +3 -2
- package/build/src/components/Beta/BETA_JRCColorPicker/ColorPicker.d.ts +4 -3
- package/build/src/components/Beta/BETA_JRCColorPicker/ColorRange.d.ts +2 -1
- package/build/src/components/Beta/BETA_JRCColorPicker/DragArea.d.ts +2 -2
- package/build/src/components/Beta/BETA_JRCColorPicker/JRCColorPicker.types.d.ts +4 -4
- package/build/src/components/Beta/BETA_JRCDoubleClick/BETA_JRCDoubleClick.d.ts +2 -2
- package/build/src/components/Beta/BETA_JRCDragAndDrop/BETA_JRCDragAndDrop.d.ts +2 -2
- package/build/src/components/Common/DashedFocusBorder.d.ts +1 -1
- package/build/src/components/Common/FastCss.d.ts +1 -1
- package/build/src/components/Common/JRCConditionalWrapper.d.ts +2 -2
- package/build/src/components/Common/LimitLines.d.ts +1 -1
- package/build/src/components/Common/util/getColor.util.d.ts +1 -1
- package/build/src/components/Editors/components/EditorCheckbox.d.ts +2 -1
- package/build/src/components/Editors/components/EditorColorPicker.d.ts +2 -1
- package/build/src/components/Editors/components/EditorInput.d.ts +2 -1
- package/build/src/components/Editors/components/EditorSelect.d.ts +4 -3
- package/build/src/components/Editors/components/EditorUploader.d.ts +3 -2
- package/build/src/components/Form/Common/ClickAwayListener.d.ts +4 -4
- package/build/src/components/Form/Common/FormDescription.d.ts +2 -2
- package/build/src/components/Form/Common/FormHelper.d.ts +3 -2
- package/build/src/components/Form/Common/FormLabel.d.ts +1 -1
- package/build/src/components/Form/Common/FormMessageFeedback.d.ts +2 -1
- package/build/src/components/Form/Common/types.d.ts +1 -1
- package/build/src/components/Form/Input/Common/JRCFormErrors.d.ts +2 -1
- package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.d.ts +2 -2
- package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.types.d.ts +3 -3
- package/build/src/components/Form/Input/Common/useFormControls.d.ts +5 -5
- package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +2 -2
- package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.d.ts +2 -2
- package/build/src/components/Form/Input/JRCFormColor/JRCFormColor.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.d.ts +5 -5
- package/build/src/components/Form/Input/JRCFormEmail/JRCFormEmail.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormEmail/JRCInputEmail.d.ts +2 -2
- package/build/src/components/Form/Input/JRCFormFieldRender.d.ts +2 -2
- package/build/src/components/Form/Input/JRCFormFile/File.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.d.ts +2 -2
- package/build/src/components/Form/Input/JRCFormImage/JRCFormImage.d.ts +3 -3
- package/build/src/components/Form/Input/JRCFormNumber/JRCFormNumber.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormRange/JRCFormRange.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.d.ts +2 -2
- package/build/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.d.ts +1 -1
- package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +3 -3
- package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.d.ts +4 -4
- package/build/src/components/Form/Input/JRCFormRichText/extensions/mentions/MentionList.d.ts +2 -2
- package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelect.d.ts +4 -4
- package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.d.ts +2 -2
- package/build/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.d.ts +1 -1
- package/build/src/components/Form/Input/JRCFormText/JRCFormText.d.ts +2 -1
- package/build/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.d.ts +1 -1
- package/build/src/components/Form/Input/JRCFormURL/JRCFormUrl.d.ts +2 -1
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.d.ts +5 -5
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.d.ts +5 -5
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.d.ts +5 -5
- package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputFile/JRCInputFile.d.ts +4 -4
- package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputRichText/JRCInputRichText.d.ts +4 -4
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.stories.d.ts +2 -2
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.style.d.ts +4 -4
- package/build/src/components/Form/Input/JRCInputText/JRCInputTextIconButton.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.d.ts +2 -2
- package/build/src/components/Form/Input/JRCInputTime/JRCInputTime.d.ts +2 -2
- package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.d.ts +3 -3
- package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.d.ts +2 -2
- package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.d.ts +2 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputAudience.d.ts +3 -3
- package/build/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.d.ts +4 -4
- package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +3 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.d.ts +2 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.defaults.d.ts +2 -1
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +1 -1
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +9 -9
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +1 -1
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.d.ts +2 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectList.d.ts +3 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputTaxonomy.d.ts +3 -3
- package/build/src/components/Form/Input/JRCSelect/SelectHierarchicalTreeModal.d.ts +2 -2
- package/build/src/components/Form/Input/JRCStyledInput.d.ts +4 -3
- package/build/src/components/Form/Input/ReduxFormControls.d.ts +1 -1
- package/build/src/components/JRCAlert/JRCAlert.d.ts +1 -1
- package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +1 -1
- package/build/src/components/JRCAppHeader/JRCAppHeader.d.ts +2 -1
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +2 -1
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +3 -3
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +4 -4
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +1 -1
- package/build/src/components/JRCAppLeftColumn/JRCDefaultMenu.d.ts +2 -1
- package/build/src/components/JRCAvatar/JRCAvatar.d.ts +3 -2
- package/build/src/components/JRCButton/JRCButton.d.ts +7 -7
- package/build/src/components/JRCButton/JRCButton.stories.d.ts +2 -2
- package/build/src/components/JRCButton/JRCButtonConfig.d.ts +1 -1
- package/build/src/components/JRCButton/JRCValidationButton.d.ts +2 -2
- package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +2 -1
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +2 -1
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.styles.d.ts +3 -3
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +6 -6
- package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +2 -1
- package/build/src/components/JRCCard/JRCCard.d.ts +5 -5
- package/build/src/components/JRCCard/JRCCardImg.d.ts +3 -3
- package/build/src/components/JRCColumnCenter/JRCColumnCenter.d.ts +1 -1
- package/build/src/components/JRCColumnLeft/JRCColumnLeft.d.ts +1 -1
- package/build/src/components/JRCColumnRight/JRCColumnRight.d.ts +1 -1
- package/build/src/components/JRCCropImage/JRCCropImage.d.ts +6 -6
- package/build/src/components/JRCDate/JRCDate.d.ts +2 -1
- package/build/src/components/JRCDate/JRCDate.stories.d.ts +2 -2
- package/build/src/components/JRCDropDown/JRCDropDown.d.ts +1 -1
- package/build/src/components/JRCEllipsis/JRCEllipsis.d.ts +3 -2
- package/build/src/components/JRCFile/JRCFile.d.ts +2 -1
- package/build/src/components/JRCFile/JRCFileApplication.d.ts +2 -1
- package/build/src/components/JRCFile/JRCFileAudio.d.ts +2 -1
- package/build/src/components/JRCFile/JRCFileAvatar.d.ts +2 -1
- package/build/src/components/JRCFile/JRCFileImage.d.ts +3 -2
- package/build/src/components/JRCFile/JRCFileVideo.d.ts +2 -1
- package/build/src/components/JRCFile/types.d.ts +1 -1
- package/build/src/components/JRCFileOpen/JRCFileOpen.d.ts +1 -1
- package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +2 -1
- package/build/src/components/JRCFileViewer/JRCFileViewerArrows.d.ts +2 -1
- package/build/src/components/JRCFileViewer/JRCFileViewerContent.d.ts +3 -2
- package/build/src/components/JRCFileViewer/JRCFileViewerContentApplication.d.ts +2 -2
- package/build/src/components/JRCFileViewer/JRCFileViewerContentAudio.d.ts +1 -1
- package/build/src/components/JRCFileViewer/JRCFileViewerContentImage.d.ts +1 -1
- package/build/src/components/JRCFileViewer/JRCFileViewerContentVideo.d.ts +1 -1
- package/build/src/components/JRCFileViewer/JRCFileViewerOpenWithOptions.d.ts +3 -2
- package/build/src/components/JRCFileViewer/types.d.ts +4 -4
- package/build/src/components/JRCFlex/JRCFlexBox.d.ts +5 -5
- package/build/src/components/JRCFolders/JRCFolder.d.ts +2 -1
- package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +2 -1
- package/build/src/components/JRCFolders/JRCFolders.d.ts +2 -1
- package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +2 -2
- package/build/src/components/JRCFolders/types.d.ts +2 -2
- package/build/src/components/JRCGrid/JRCGrid.d.ts +1 -1
- package/build/src/components/JRCGrid/JRCGrid.stories.d.ts +5 -5
- package/build/src/components/JRCHref/JRCHref.d.ts +6 -6
- package/build/src/components/JRCHtml/JRCHtml.d.ts +2 -2
- package/build/src/components/JRCIcon/JRCIcon.d.ts +2 -1
- package/build/src/components/JRCIcon/JRCIcon.stories.d.ts +2 -2
- package/build/src/components/JRCIconButton/JRCIconButton.d.ts +2 -2
- package/build/src/components/JRCImg/JRCImg.d.ts +3 -2
- package/build/src/components/JRCList/JRCList.d.ts +5 -4
- package/build/src/components/JRCList/JRCList.stories.d.ts +1 -1
- package/build/src/components/JRCList/JRCList.styles.d.ts +5 -5
- package/build/src/components/JRCLoader/JRCLoader.d.ts +3 -2
- package/build/src/components/JRCLoader/JRCSkeleton.d.ts +2 -1
- package/build/src/components/JRCMenu/JRCMenu.stories.d.ts +2 -2
- package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +1 -1
- package/build/src/components/JRCModal/JRCModal.styles.d.ts +1 -1
- package/build/src/components/JRCModalImg/JRCModalImg.d.ts +2 -2
- package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +2 -2
- package/build/src/components/JRCPagination/JRCPagination.d.ts +5 -4
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.d.ts +1 -1
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.styles.d.ts +2 -2
- package/build/src/components/JRCSkeleton/JRCSkeletonLine.d.ts +3 -2
- package/build/src/components/JRCSkeleton/JRCSkeletonList.d.ts +1 -1
- package/build/src/components/JRCSkeleton/JRCSkeletonSquare.d.ts +1 -1
- package/build/src/components/JRCTabs/JRCTabs.d.ts +3 -3
- package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +2 -2
- package/build/src/components/JRCTag/JRCTag.d.ts +2 -2
- package/build/src/components/JRCThemeProvider/JRCThemeProvider.d.ts +1 -1
- package/build/src/components/JRCTooltip/JRCBaseTooltip.d.ts +4 -3
- package/build/src/components/JRCTooltip/JRCTooltip.d.ts +1 -1
- package/build/src/components/JRCTypo/JRCTypo.d.ts +10 -10
- package/build/src/components/JRCTypo/JRCTypo.stories.d.ts +7 -7
- package/build/src/components/JRCTypography/JRCTypography.d.d.ts +4 -4
- package/build/src/components/JRCTypography/JRCTypography.d.ts +2 -1
- package/build/src/components/JRCTypography/JRCTypography.styles.d.ts +6 -6
- package/build/src/components/Stepper/JRCFadeStepper.d.ts +2 -2
- package/build/src/components/Stepper/JRCImageStepper.d.ts +3 -3
- package/build/src/components/Stepper/JRCStepper.d.ts +3 -3
- package/build/src/components/Stepper/JRCStepper.stories.d.ts +2 -2
- package/build/src/components/Templates/JRCAppColumn.d.ts +2 -2
- package/build/src/components/Templates/JRCAppTab.d.ts +3 -3
- package/build/src/components/Templates/JRCBase.template.d.ts +2 -2
- package/build/src/components/Templates/JRCColumn.d.ts +2 -2
- package/build/src/components/Templates/JRCMainColumn.d.ts +2 -2
- package/build/src/components/Templates/JRCPanel.d.ts +2 -2
- package/build/src/components/Templates/JRCStepperPage.d.ts +2 -2
- package/build/src/components/Templates/JRCTwoColumns.template.d.ts +1 -1
- package/build/src/components/Templates/template.type.d.ts +13 -13
- package/build/src/components/Widgets/JRCWidgetArticleAttachment/JRCWidgetArticleAttachment.d.ts +2 -1
- package/build/src/components/Widgets/JRCWidgetArticleAttachment/JRCWidgetArticleAttachmentEditor.d.ts +2 -2
- package/build/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButton.d.ts +2 -1
- package/build/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButtonEditor.d.ts +3 -2
- package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.d.ts +2 -2
- package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGalleryEditor.d.ts +3 -2
- package/build/src/components/Widgets/JRCWidgetArticleImage/JRCWidgetArticleImage.d.ts +2 -1
- package/build/src/components/Widgets/JRCWidgetArticleImage/JRCWidgetArticleImageEditor.d.ts +3 -2
- package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.d.ts +2 -1
- package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleTextEditor.d.ts +3 -2
- package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitle.d.ts +2 -1
- package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitleEditor.d.ts +2 -2
- package/build/src/components/Widgets/JRCWidgetEmptyInplace.d.ts +3 -2
- package/build/src/components/Widgets/components/Attachment.d.ts +5 -4
- package/build/src/components/Widgets/components/Image.d.ts +3 -2
- package/build/src/components/Widgets/components/WidgetMissingToken.d.ts +2 -1
- package/build/src/hooks/UseImageLoader.d.ts +1 -1
- package/build/src/storybook/decorators.d.ts +2 -2
- package/build/src/styles/Theme.stories.d.ts +2 -2
- package/build/src/styles/theme.d.ts +9 -9
- package/build/src/utils/test-utils.d.ts +1 -1
- package/build/src/utils/utils.array.d.ts +1 -1
- package/build/src/utils/utils.color.d.ts +1 -1
- package/build/src/utils/utils.date.d.ts +1 -1
- package/package.json +145 -146
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +0 -320
- package/build/src/components/Templates/template.styles.d.ts +0 -323
- package/pnpm-lock.yaml +0 -20909
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const WidgetMissingToken: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const withReduxForm: (storyFunc: any) => JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const withReduxForm: (storyFunc: any) => React.JSX.Element;
|
|
@@ -4,7 +4,7 @@ export interface ITheme {
|
|
|
4
4
|
get: () => DefaultTheme;
|
|
5
5
|
initTheme: (options?: ThemeConfigOptions) => void;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type ThemeConfigOptions = {
|
|
8
8
|
fontFamily?: string;
|
|
9
9
|
linkColor: string;
|
|
10
10
|
buttonColor: string;
|
|
@@ -18,25 +18,25 @@ export declare type ThemeConfigOptions = {
|
|
|
18
18
|
navTextColor: string;
|
|
19
19
|
bgColorNotLogged: string;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
22
|
-
|
|
21
|
+
export 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
|
+
type ThemeConfigColorType = {
|
|
23
23
|
[color in Colors]: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
26
|
-
|
|
25
|
+
export type Shades = 'primaryL15' | 'primaryL80' | 'primaryL90' | 'primaryD20' | 'secondaryL15' | 'secondaryL80' | 'secondaryL90' | 'secondaryD20' | 'greenL20' | 'greenL80' | 'greenL90' | 'greenD20' | 'orangeL15' | 'orangeL80' | 'orangeL90' | 'orangeD20';
|
|
26
|
+
type ThemeConfigShadeType = {
|
|
27
27
|
[color in Shades]: string;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type ColorsOrShades = Colors | Shades;
|
|
30
30
|
export declare const NATIVE_COLORS: readonly ["currentColor", "inherit", "transparent"];
|
|
31
|
-
export
|
|
32
|
-
export
|
|
31
|
+
export type NativeColor = (typeof NATIVE_COLORS)[number];
|
|
32
|
+
export type FontWeight = {
|
|
33
33
|
light: number;
|
|
34
34
|
normal: number;
|
|
35
35
|
medium: number;
|
|
36
36
|
semiBold: number;
|
|
37
37
|
bold: number;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type ThemeType = {
|
|
40
40
|
dpr: number;
|
|
41
41
|
fallbackUrl: {
|
|
42
42
|
article: string;
|
|
@@ -3,5 +3,5 @@ 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
|
|
6
|
+
declare const renderWithWrapper: (ui: React.ReactElement, options?: Omit<RenderOptions, 'queries'>) => RenderResult;
|
|
7
7
|
export { renderWithWrapper };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type ColorTransparencyPercent = 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;
|
|
2
2
|
export declare function colorTransparency(color: string, percent: ColorTransparencyPercent): string;
|
|
3
3
|
export declare const colorimetry: {
|
|
4
4
|
isValid: typeof isValidHexColor;
|
|
@@ -6,7 +6,7 @@ export interface extractDateProps {
|
|
|
6
6
|
minutes: number;
|
|
7
7
|
seconds: number;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type DateFormat = 'date' | 'date-time' | 'date-time-sec' | 'time' | 'time-sec';
|
|
10
10
|
export declare const extractDate: (str: string) => extractDateProps;
|
|
11
11
|
/**
|
|
12
12
|
* Convert date string to timestamp
|
package/package.json
CHANGED
|
@@ -1,147 +1,146 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"lint
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
2
|
+
"name": "jamespot-react-components",
|
|
3
|
+
"version": "1.0.146",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "./build/jamespot-react-components.js",
|
|
6
|
+
"types": "./build/src/index.d.ts",
|
|
7
|
+
"keywords": [],
|
|
8
|
+
"author": "",
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"@babel/core": "^7.12.8",
|
|
11
|
+
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
12
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
|
|
13
|
+
"@babel/preset-env": "^7.12.7",
|
|
14
|
+
"@babel/preset-react": "^7.12.7",
|
|
15
|
+
"@babel/preset-typescript": "^7.12.7",
|
|
16
|
+
"@storybook/addon-actions": "6.4.19",
|
|
17
|
+
"@storybook/addon-docs": "6.4.19",
|
|
18
|
+
"@storybook/addon-essentials": "6.4.19",
|
|
19
|
+
"@storybook/addon-links": "6.4.19",
|
|
20
|
+
"@storybook/builder-webpack5": "6.4.19",
|
|
21
|
+
"@storybook/manager-webpack5": "6.4.19",
|
|
22
|
+
"@storybook/react": "6.4.19",
|
|
23
|
+
"@testing-library/dom": "^8.11.0",
|
|
24
|
+
"@testing-library/jest-dom": "^5.12.0",
|
|
25
|
+
"@testing-library/react": "^12.1.2",
|
|
26
|
+
"@testing-library/react-hooks": "^5.1.2",
|
|
27
|
+
"@testing-library/user-event": "^13.1.8",
|
|
28
|
+
"@types/chroma-js": "^2.1.3",
|
|
29
|
+
"@types/classnames": "^2.2.10",
|
|
30
|
+
"@types/dompurify": "^3.0.2",
|
|
31
|
+
"@types/jest": "^27.0.2",
|
|
32
|
+
"@types/node": "^20.3.1",
|
|
33
|
+
"@types/react": "^17.0.2",
|
|
34
|
+
"@types/react-dom": "^17.0.2",
|
|
35
|
+
"@types/react-redux": "^7.1.24",
|
|
36
|
+
"@types/react-router-dom": "^5.3.3",
|
|
37
|
+
"@types/react-select": "^3.1.2",
|
|
38
|
+
"@types/react-slick": "^0.23.4",
|
|
39
|
+
"@types/react-table": "^7.7.3",
|
|
40
|
+
"@types/react-test-renderer": "^17.0.1",
|
|
41
|
+
"@types/redux-form": "^8.3.5",
|
|
42
|
+
"@types/styled-components": "^5.1.4",
|
|
43
|
+
"@types/testing-library__jest-dom": "^5.12.0",
|
|
44
|
+
"@types/uuid": "^8.3.1",
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
46
|
+
"@typescript-eslint/parser": "^5.4.0",
|
|
47
|
+
"babel-jest": "^27.3.1",
|
|
48
|
+
"babel-loader": "^8.2.1",
|
|
49
|
+
"babel-plugin-react-intl": "^8.1.1",
|
|
50
|
+
"babel-plugin-styled-components": "^1.12.0",
|
|
51
|
+
"cross-env": "^6.0.3",
|
|
52
|
+
"css-loader": "^4.2.1",
|
|
53
|
+
"eslint": "^8.2.0",
|
|
54
|
+
"eslint-config-prettier": "^8.3.0",
|
|
55
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
56
|
+
"file-loader": "^6.2.0",
|
|
57
|
+
"html-webpack-plugin": "^5.5.0",
|
|
58
|
+
"husky": "^7.0.4",
|
|
59
|
+
"identity-obj-proxy": "^3.0.0",
|
|
60
|
+
"jest": "^27.3.1",
|
|
61
|
+
"jest-styled-components": "^7.0.3",
|
|
62
|
+
"lint-staged": "^12.0.2",
|
|
63
|
+
"prettier": "^2.4.1",
|
|
64
|
+
"react-test-renderer": "^17.0.1",
|
|
65
|
+
"redux-form": "^8.3.8",
|
|
66
|
+
"source-map-loader": "^1.0.1",
|
|
67
|
+
"style-loader": "^1.2.1",
|
|
68
|
+
"ts-jest": "^27.0.7",
|
|
69
|
+
"ts-loader": "^8.0.2",
|
|
70
|
+
"ts-node": "^10.3.0",
|
|
71
|
+
"typescript": "^4.4.4",
|
|
72
|
+
"webpack": "^5.62.1",
|
|
73
|
+
"webpack-cli": "^4.9.1",
|
|
74
|
+
"webpack-dev-server": "^4.4.0"
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@tiptap/core": "^2.0.3",
|
|
78
|
+
"@tiptap/extension-character-count": "^2.0.3",
|
|
79
|
+
"@tiptap/extension-color": "^2.0.3",
|
|
80
|
+
"@tiptap/extension-link": "^2.0.3",
|
|
81
|
+
"@tiptap/extension-mention": "^2.0.3",
|
|
82
|
+
"@tiptap/extension-placeholder": "^2.0.3",
|
|
83
|
+
"@tiptap/extension-text-align": "^2.0.3",
|
|
84
|
+
"@tiptap/extension-text-style": "^2.0.3",
|
|
85
|
+
"@tiptap/extension-underline": "^2.0.3",
|
|
86
|
+
"@tiptap/react": "^2.0.3",
|
|
87
|
+
"@tiptap/starter-kit": "^2.0.3",
|
|
88
|
+
"@tiptap/suggestion": "^2.0.3",
|
|
89
|
+
"chroma-js": "^2.1.1",
|
|
90
|
+
"classnames": "^2.3.1",
|
|
91
|
+
"dompurify": "^3.0.5",
|
|
92
|
+
"jamespot-user-api": "^1.0.116",
|
|
93
|
+
"moment": "^2.29.1",
|
|
94
|
+
"react": "^17.x",
|
|
95
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
96
|
+
"react-dnd": "^14.0.4",
|
|
97
|
+
"react-dnd-html5-backend": "^14.0.2",
|
|
98
|
+
"react-dom": "^17.0.2",
|
|
99
|
+
"react-easy-crop": "^4.6.3",
|
|
100
|
+
"react-hook-form": "^7.25.0",
|
|
101
|
+
"react-intl": "^5.8.6",
|
|
102
|
+
"react-redux": "^7.2.9",
|
|
103
|
+
"react-router-dom": "^6.2.1",
|
|
104
|
+
"react-select": "^3.2.0",
|
|
105
|
+
"react-slick": "^0.28.1",
|
|
106
|
+
"react-table": "^7.7.0",
|
|
107
|
+
"react-tooltip": "^4.2.21",
|
|
108
|
+
"redux": "^4.2.0",
|
|
109
|
+
"redux-form": "^8.x",
|
|
110
|
+
"slick-carousel": "^1.8.1",
|
|
111
|
+
"styled-components": "^5.2.1",
|
|
112
|
+
"styled-reset": "^4.2.3",
|
|
113
|
+
"tippy.js": "^6.3.7",
|
|
114
|
+
"uuid": "^8.3.2"
|
|
115
|
+
},
|
|
116
|
+
"peerDependencies": {
|
|
117
|
+
"react": "^17.x",
|
|
118
|
+
"redux-form": "^8.x"
|
|
119
|
+
},
|
|
120
|
+
"lint-staged": {
|
|
121
|
+
"*.{js,jsx,ts,tsx}": [
|
|
122
|
+
"npm run lint:fix",
|
|
123
|
+
"npm run prettier"
|
|
124
|
+
],
|
|
125
|
+
"*.{json,md}": [
|
|
126
|
+
"npm run prettier"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"scripts": {
|
|
130
|
+
"dev": "webpack --env NODE_ENV=development",
|
|
131
|
+
"local": "webpack --env NODE_ENV=development WATCH=true",
|
|
132
|
+
"build": "webpack --env NODE_ENV=production",
|
|
133
|
+
"build-theme": "webpack --env NODE_ENV=theme",
|
|
134
|
+
"build-dev-vm": "webpack --env NODE_ENV=development NODE_RUN=VM",
|
|
135
|
+
"watch-dev-vm": "webpack --env NODE_ENV=development NODE_RUN=VM WATCH=true",
|
|
136
|
+
"prettier": "npx prettier --write ./",
|
|
137
|
+
"lint": "npx eslint ./src/ . --ext .ts,.tsx,.js",
|
|
138
|
+
"lint:fix": "npx eslint ./src/ . --ext .ts,.tsx,.js --fix ",
|
|
139
|
+
"lint:ci": "npx eslint --output-file eslint_report.json --format json . --ext .ts,.tsx,.js",
|
|
140
|
+
"test": "jest --updateSnapshot",
|
|
141
|
+
"test:watch": "npm run test -- --watch --verbose",
|
|
142
|
+
"storybook": "start-storybook -p 6006",
|
|
143
|
+
"storybook-no-cache": "cross-env NODE_ENV=development STORYBOOK_MODE=true PUBLIC_PATH='' start-storybook -s ./.storybook/assets/ -c .storybook -p 3022 --no-manager-cache",
|
|
144
|
+
"build-storybook": "build-storybook"
|
|
145
|
+
}
|
|
146
|
+
}
|