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
|
@@ -7,7 +7,7 @@ export declare const VerticalWrapper: import("styled-components").StyledComponen
|
|
|
7
7
|
export declare const VerticalItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
|
|
8
8
|
export declare const ItemButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, ItemProps, never>;
|
|
9
9
|
export declare const VerticalItemFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
-
export declare const JRCDefaultIconVerticalItem: import("styled-components").StyledComponent<({ color, variant, name, size, isMargin, className, }: import("../JRCIcon/JRCIcon").JRCIconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const JRCDefaultIconVerticalItem: import("styled-components").StyledComponent<({ color, variant, name, size, isMargin, className, }: import("../JRCIcon/JRCIcon").JRCIconProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
11
11
|
/**
|
|
12
12
|
* Interface of a single Menu Item props
|
|
13
13
|
* @member label label of the tag
|
|
@@ -23,7 +23,7 @@ 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
|
|
26
|
+
export type JRCTabsProps = DataCy & {
|
|
27
27
|
entries?: ItemEntriesProps[];
|
|
28
28
|
activeItem?: string;
|
|
29
29
|
direction: 'horizontal' | 'vertical';
|
|
@@ -44,4 +44,4 @@ export interface JRCTabPanelProps {
|
|
|
44
44
|
active: boolean;
|
|
45
45
|
children: React.ReactNode;
|
|
46
46
|
}
|
|
47
|
-
export declare const JRCTabPanel: ({ children, active }: JRCTabPanelProps) => JSX.Element;
|
|
47
|
+
export declare const JRCTabPanel: ({ children, active }: JRCTabPanelProps) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
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
6
|
export declare const Primary: Story<JRCTabsProps>;
|
|
7
|
-
export declare const EmbeddedTab: () => JSX.Element;
|
|
7
|
+
export declare const EmbeddedTab: () => React.JSX.Element;
|
|
@@ -17,7 +17,7 @@ import { UriOrTypeId } from 'components/Form/Common/types';
|
|
|
17
17
|
* @member fallbackUrl - url loaded if the uri leads to an undefined image
|
|
18
18
|
* @member clickVariant - whether the hover/focus style is a selectable item or a deletable item
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type JRCTagProps<T> = UriOrTypeId & {
|
|
21
21
|
collapsed?: boolean;
|
|
22
22
|
label?: string;
|
|
23
23
|
value?: T;
|
|
@@ -37,4 +37,4 @@ export declare type JRCTagProps<T> = UriOrTypeId & {
|
|
|
37
37
|
};
|
|
38
38
|
onLoad?: () => void;
|
|
39
39
|
};
|
|
40
|
-
export declare function JRCTag<T>(props: JRCTagProps<T>): JSX.Element;
|
|
40
|
+
export declare function JRCTag<T>(props: JRCTagProps<T>): React.JSX.Element;
|
|
@@ -14,4 +14,4 @@ export interface JRCThemeProviderProps {
|
|
|
14
14
|
layout?: boolean;
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
}
|
|
17
|
-
export declare const JRCThemeProvider: ({ layout, children }: JRCThemeProviderProps) => JSX.Element;
|
|
17
|
+
export declare const JRCThemeProvider: ({ layout, children }: JRCThemeProviderProps) => React.JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export declare const tooltipSizes: {
|
|
2
3
|
padding: Record<string, string>;
|
|
3
4
|
};
|
|
4
|
-
export
|
|
5
|
-
export
|
|
5
|
+
export type TooltipSizes = keyof typeof tooltipSizes.padding;
|
|
6
|
+
export type JRCBaseTooltipProps = {
|
|
6
7
|
tooltip: any;
|
|
7
8
|
children: any;
|
|
8
9
|
dataEventOff: 'click' | 'mouseleave';
|
|
@@ -18,4 +19,4 @@ export declare type JRCBaseTooltipProps = {
|
|
|
18
19
|
delayShow?: number;
|
|
19
20
|
events?: any;
|
|
20
21
|
};
|
|
21
|
-
export declare const JRCBaseTooltip: (props: JRCBaseTooltipProps) => JSX.Element;
|
|
22
|
+
export declare const JRCBaseTooltip: (props: JRCBaseTooltipProps) => React.JSX.Element;
|
|
@@ -4,36 +4,36 @@ import * as React from 'react';
|
|
|
4
4
|
* Props Type for JRCH1
|
|
5
5
|
* @see HTML.H1 props
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
declare const JRCH1: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme,
|
|
7
|
+
export type JRCH1Props = React.ComponentPropsWithoutRef<'h1'>;
|
|
8
|
+
declare const JRCH1: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated use JRCTypography instead
|
|
11
11
|
* Props Type for JRCH2
|
|
12
12
|
* @see HTML.H2 props
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
15
|
-
declare const JRCH2: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme,
|
|
14
|
+
export type JRCH2Props = React.ComponentPropsWithoutRef<'h2'>;
|
|
15
|
+
declare const JRCH2: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
|
|
16
16
|
/**
|
|
17
17
|
* @deprecated use JRCTypography instead
|
|
18
18
|
* Props Type for JRCH3
|
|
19
19
|
* @see HTML.H3 props
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
22
|
-
declare const JRCH3: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme,
|
|
21
|
+
export type JRCH3Props = React.ComponentPropsWithoutRef<'h3'>;
|
|
22
|
+
declare const JRCH3: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
|
|
23
23
|
/**
|
|
24
24
|
* @deprecated use JRCTypography instead
|
|
25
25
|
* Props Type for JRCH4
|
|
26
26
|
* @see HTML.H4 props
|
|
27
27
|
*/
|
|
28
|
-
export
|
|
29
|
-
declare const JRCH4: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme,
|
|
28
|
+
export type JRCH4Props = React.ComponentPropsWithoutRef<'h3'>;
|
|
29
|
+
declare const JRCH4: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
|
|
30
30
|
/**
|
|
31
31
|
* @deprecated use JRCTypography instead
|
|
32
32
|
* Props Type for JRCH5
|
|
33
33
|
* @see HTML.H5 props
|
|
34
34
|
*/
|
|
35
|
-
export
|
|
36
|
-
declare const JRCH5: import("styled-components").StyledComponent<"h5", import("styled-components").DefaultTheme,
|
|
35
|
+
export type JRCH5Props = React.ComponentPropsWithoutRef<'h5'>;
|
|
36
|
+
declare const JRCH5: import("styled-components").StyledComponent<"h5", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
|
|
37
37
|
/**
|
|
38
38
|
* @deprecated use JRCTypography instead
|
|
39
39
|
* Props Type for JRCText
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { JRCH1Props, JRCH2Props, JRCH3Props, JRCH4Props, JRCH5Props, JRCTextProps } from './JRCTypo';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
|
-
export declare const H1: (args: JRCH1Props) => JSX.Element;
|
|
8
|
-
export declare const H2: (args: JRCH2Props) => JSX.Element;
|
|
9
|
-
export declare const H3: (args: JRCH3Props) => JSX.Element;
|
|
10
|
-
export declare const H4: (args: JRCH4Props) => JSX.Element;
|
|
11
|
-
export declare const H5: (args: JRCH5Props) => JSX.Element;
|
|
12
|
-
export declare const P: (args: JRCTextProps) => JSX.Element;
|
|
7
|
+
export declare const H1: (args: JRCH1Props) => React.JSX.Element;
|
|
8
|
+
export declare const H2: (args: JRCH2Props) => React.JSX.Element;
|
|
9
|
+
export declare const H3: (args: JRCH3Props) => React.JSX.Element;
|
|
10
|
+
export declare const H4: (args: JRCH4Props) => React.JSX.Element;
|
|
11
|
+
export declare const H5: (args: JRCH5Props) => React.JSX.Element;
|
|
12
|
+
export declare const P: (args: JRCTextProps) => React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FastCssProps } from 'components/Common/FastCss';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Colors, FontWeight } from '../../styles/theme';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
4
|
+
export type TSizes = 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';
|
|
5
|
+
export type TVariants = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span';
|
|
6
|
+
export type TWeight = keyof FontWeight;
|
|
7
7
|
/**
|
|
8
8
|
* Props type for JRCTypography
|
|
9
9
|
* @member children ReactNode content of the button
|
|
@@ -12,7 +12,7 @@ export declare type TWeight = keyof FontWeight;
|
|
|
12
12
|
* @member size You can change the font-size with the size property
|
|
13
13
|
* @member variant You can change the semantic element with the variant property
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type JRCTypographyProps = FastCssProps & {
|
|
16
16
|
/** Additional className for override the component: */
|
|
17
17
|
className?: string;
|
|
18
18
|
/** You can custom the font-weight with the weight property */
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { JRCTypographyProps } from './JRCTypography.d';
|
|
2
|
-
export declare const JRCTypography: ({ variant, ...props }: JRCTypographyProps) => JSX.Element;
|
|
3
|
+
export declare const JRCTypography: ({ variant, ...props }: JRCTypographyProps) => React.JSX.Element;
|
|
@@ -2,11 +2,11 @@ import { FastCssProps } from 'components/Common/FastCss';
|
|
|
2
2
|
import { JRCTypographyProps } from './JRCTypography.d';
|
|
3
3
|
export declare const lineHeightRatio = 1.5;
|
|
4
4
|
export declare const SIZES: Readonly<{
|
|
5
|
-
s:
|
|
6
|
-
m:
|
|
7
|
-
l:
|
|
8
|
-
xl:
|
|
9
|
-
xxl:
|
|
10
|
-
xxxl:
|
|
5
|
+
s: 12;
|
|
6
|
+
m: 14;
|
|
7
|
+
l: 16;
|
|
8
|
+
xl: 18;
|
|
9
|
+
xxl: 24;
|
|
10
|
+
xxxl: 32;
|
|
11
11
|
}>;
|
|
12
12
|
export declare const Typography: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, Pick<JRCTypographyProps, "color" | "size" | "weight"> & FastCssProps, never>;
|
|
@@ -3,8 +3,8 @@ import * as React from 'react';
|
|
|
3
3
|
* @member activeStep active step of the stepper. Starts at 0.
|
|
4
4
|
* @member children iterable of the steps (!!)
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type JRCFadeStepperProps = {
|
|
7
7
|
activeStep: number;
|
|
8
8
|
children: React.ReactNode | Iterable<React.ReactNode>;
|
|
9
9
|
};
|
|
10
|
-
export declare function JRCFadeStepper(props: JRCFadeStepperProps): JSX.Element | null;
|
|
10
|
+
export declare function JRCFadeStepper(props: JRCFadeStepperProps): React.JSX.Element | null;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* @member stepNumber step number. Like an array, if there are two items, the stepNumber should be initialized to 2
|
|
4
4
|
* @member activeStep active step of the stepper. Starts at 0.
|
|
5
5
|
* @member src image source
|
|
6
6
|
* @member alt image alternative text
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type JRCImageStepperProps = {
|
|
9
9
|
stepNumber: number;
|
|
10
10
|
activeStep: number;
|
|
11
11
|
src: string;
|
|
12
12
|
alt: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function JRCImageStepper(props: JRCImageStepperProps): JSX.Element;
|
|
14
|
+
export declare function JRCImageStepper(props: JRCImageStepperProps): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type Step = {
|
|
3
3
|
label: string | React.ReactNode;
|
|
4
4
|
onClick?: (step: number) => void;
|
|
5
5
|
};
|
|
@@ -7,8 +7,8 @@ export declare type Step = {
|
|
|
7
7
|
* @member steps array of steps
|
|
8
8
|
* @member activeStep active step of the stepper. Starts at 0.
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type JRCStepperProps = {
|
|
11
11
|
steps?: Array<Step>;
|
|
12
12
|
activeStep: number;
|
|
13
13
|
};
|
|
14
|
-
export declare function JRCStepper(props: JRCStepperProps): JSX.Element;
|
|
14
|
+
export declare function JRCStepper(props: JRCStepperProps): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { Meta } from '@storybook/react';
|
|
3
3
|
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const FadeStepper: () => JSX.Element;
|
|
5
|
+
export declare const FadeStepper: () => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { JRCAppColumnProps } from './template.type';
|
|
3
|
-
export declare function JRCAppColumn({ description, activeTab, tabs, mode, ...props }: JRCAppColumnProps): JSX.Element;
|
|
3
|
+
export declare function JRCAppColumn({ description, activeTab, tabs, mode, ...props }: JRCAppColumnProps): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { Closing, JRCAppTabProps, JRCAppTabsProps, Open } from './template.type';
|
|
3
|
-
export declare function JRCAppTab({ label, active, icon, onClick, href, target, open, closing, count }: JRCAppTabProps): JSX.Element;
|
|
4
|
-
export declare function JRCAppTabs({ tabs, activeTab, ...props }: JRCAppTabsProps & Open & Closing): JSX.Element;
|
|
3
|
+
export declare function JRCAppTab({ label, active, icon, onClick, href, target, open, closing, count }: JRCAppTabProps): React.JSX.Element;
|
|
4
|
+
export declare function JRCAppTabs({ tabs, activeTab, ...props }: JRCAppTabsProps & Open & Closing): React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type JRCTemplateBaseProps = {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
isLoading: boolean;
|
|
5
5
|
title?: React.ReactNode;
|
|
6
6
|
};
|
|
7
7
|
export declare const ChildrenContainerStyle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const ChildrenContainer: (props: JRCTemplateBaseProps) => JSX.Element;
|
|
8
|
+
export declare const ChildrenContainer: (props: JRCTemplateBaseProps) => React.JSX.Element;
|
|
9
9
|
export declare const JRCTemplateBase: React.FC<any>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { JRCColumnProps } from './template.type';
|
|
3
|
-
export declare function JRCColumn({ children, mode, position, ...props }: JRCColumnProps): JSX.Element;
|
|
3
|
+
export declare function JRCColumn({ children, mode, position, ...props }: JRCColumnProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { JRCMainColumnProps } from './template.type';
|
|
3
|
-
export declare function JRCMainColumn({ children, ...props }: JRCMainColumnProps): JSX.Element;
|
|
3
|
+
export declare function JRCMainColumn({ children, ...props }: JRCMainColumnProps): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { JRCPanelProps } from './template.type';
|
|
3
|
-
export declare function JRCPanel({ children, width, open }: JRCPanelProps): JSX.Element;
|
|
3
|
+
export declare function JRCPanel({ children, width, open }: JRCPanelProps): React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Step } from 'components/Stepper/JRCStepper';
|
|
3
|
-
export
|
|
3
|
+
export type JRCStepperPageProps = {
|
|
4
4
|
children: React.ReactNode | Iterable<React.ReactNode>;
|
|
5
5
|
activeStep: number;
|
|
6
6
|
imgSrc: string;
|
|
@@ -9,4 +9,4 @@ export declare type JRCStepperPageProps = {
|
|
|
9
9
|
loadingContent?: React.ReactNode | string;
|
|
10
10
|
isLoading?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare const JRCStepperPage: (props: JRCStepperPageProps) => JSX.Element;
|
|
12
|
+
export declare const JRCStepperPage: (props: JRCStepperPageProps) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { JRCAppLeftColumnProps, SectionEntry } from 'types';
|
|
3
3
|
import { JRCTemplateBaseProps } from './JRCBase.template';
|
|
4
|
-
export
|
|
4
|
+
export type JRCTemplateTwoColumnsProps<T extends SectionEntry> = {
|
|
5
5
|
leftColumn: JRCAppLeftColumnProps<T>;
|
|
6
6
|
} & JRCTemplateBaseProps;
|
|
7
7
|
export declare const JRCTemplateTwoColumns: React.FC<any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type LayoutMode = 'fluid' | 'center';
|
|
3
|
+
export type ColumnPosition = 'left' | 'right';
|
|
4
|
+
export type JRCContainerProps = {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
className?: string;
|
|
7
7
|
mode?: LayoutMode;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type JRCColumnProps = {
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
className?: string;
|
|
12
12
|
width?: number;
|
|
@@ -14,29 +14,29 @@ export declare type JRCColumnProps = {
|
|
|
14
14
|
mode?: LayoutMode;
|
|
15
15
|
position?: ColumnPosition;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type JRCMainColumnProps = {
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
className?: string;
|
|
20
20
|
mode?: LayoutMode;
|
|
21
21
|
padding?: string;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type JRCTabEntry = {
|
|
24
24
|
key: string;
|
|
25
25
|
label: string;
|
|
26
26
|
icon: string;
|
|
27
27
|
group?: string | undefined;
|
|
28
28
|
count?: number;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type TabEventProps = {
|
|
31
31
|
onClick?: (key: string) => void;
|
|
32
32
|
href?: string;
|
|
33
33
|
target?: '_blank';
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type JRCAppTabsProps = {
|
|
36
36
|
tabs: Array<JRCTabEntry & TabEventProps>;
|
|
37
37
|
activeTab?: string;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type JRCAppColumnProps = Partial<JRCAppTabsProps> & {
|
|
40
40
|
className?: string;
|
|
41
41
|
mode?: LayoutMode;
|
|
42
42
|
description: {
|
|
@@ -46,18 +46,18 @@ export declare type JRCAppColumnProps = Partial<JRCAppTabsProps> & {
|
|
|
46
46
|
description: string;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type JRCPanelProps = {
|
|
50
50
|
children: React.ReactNode;
|
|
51
51
|
width: number;
|
|
52
52
|
open: boolean;
|
|
53
53
|
};
|
|
54
|
-
export
|
|
54
|
+
export type Open = {
|
|
55
55
|
open: boolean;
|
|
56
56
|
};
|
|
57
|
-
export
|
|
57
|
+
export type Closing = {
|
|
58
58
|
closing: boolean;
|
|
59
59
|
};
|
|
60
|
-
export
|
|
60
|
+
export type JRCAppTabProps = Open & Closing & {
|
|
61
61
|
label: string;
|
|
62
62
|
icon: string;
|
|
63
63
|
onClick?: () => void;
|
package/build/src/components/Widgets/JRCWidgetArticleAttachment/JRCWidgetArticleAttachment.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WidgetArticleAttachmentContent, WidgetDefaultProps } from 'jamespot-user-api';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare const JRCWidgetArticleAttachment: ({ content, mode, onStateChange, }: WidgetDefaultProps & {
|
|
3
4
|
content: WidgetArticleAttachmentContent;
|
|
4
5
|
token: string | undefined;
|
|
5
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CombinedWidgetContent, WidgetArticleAttachmentContent, WidgetStateProps } from 'jamespot-user-api';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
type JRCWidgetArticleAttachmentEditorProps = {
|
|
4
4
|
token: string | undefined;
|
|
5
5
|
content: WidgetArticleAttachmentContent;
|
|
6
6
|
onChange: (content: CombinedWidgetContent, override?: boolean) => void;
|
|
@@ -8,5 +8,5 @@ declare type JRCWidgetArticleAttachmentEditorProps = {
|
|
|
8
8
|
onStateChange?: (state: WidgetStateProps) => void;
|
|
9
9
|
onOpen?: (view: React.ReactElement) => void;
|
|
10
10
|
};
|
|
11
|
-
export declare const JRCWidgetArticleAttachmentEditor: ({ token, content, onChange, onSave, }: JRCWidgetArticleAttachmentEditorProps) => JSX.Element;
|
|
11
|
+
export declare const JRCWidgetArticleAttachmentEditor: ({ token, content, onChange, onSave, }: JRCWidgetArticleAttachmentEditorProps) => React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { WidgetArticleButtonContent, WidgetDefaultProps } from 'jamespot-user-api';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare const JRCWidgetArticleButton: ({ content, onClick, onStateChange, }: WidgetDefaultProps & {
|
|
3
4
|
content: WidgetArticleButtonContent;
|
|
4
|
-
}) => JSX.Element;
|
|
5
|
+
}) => React.JSX.Element;
|
package/build/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButtonEditor.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CombinedWidgetContent, WidgetArticleButtonContent, WidgetStateProps } from 'jamespot-user-api';
|
|
2
|
-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type JRCWidgetArticleButtonEditorProps = {
|
|
3
4
|
content: WidgetArticleButtonContent;
|
|
4
5
|
onChange: (content: CombinedWidgetContent, override?: boolean) => void;
|
|
5
6
|
onSave: (content: CombinedWidgetContent) => void;
|
|
6
7
|
onStateChange?: (state: WidgetStateProps) => void;
|
|
7
8
|
};
|
|
8
9
|
export declare function useFirstRender(): boolean;
|
|
9
|
-
export declare const JRCWidgetArticleButtonEditor: ({ content, onChange, onSave }: JRCWidgetArticleButtonEditorProps) => JSX.Element;
|
|
10
|
+
export declare const JRCWidgetArticleButtonEditor: ({ content, onChange, onSave }: JRCWidgetArticleButtonEditorProps) => React.JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -7,11 +7,11 @@ export declare const CSSColumnGallery: import("styled-components").StyledCompone
|
|
|
7
7
|
export declare const CSSGalleryWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
8
|
width: number | string;
|
|
9
9
|
}, never>;
|
|
10
|
-
|
|
10
|
+
type JRCWidgetArticleGalleryProps = WidgetDefaultProps & {
|
|
11
11
|
content: WidgetArticleGalleryContent;
|
|
12
12
|
token: string | undefined;
|
|
13
13
|
onUploadSuccess?: (fileResponse: FileResponse) => void;
|
|
14
14
|
renderItem?: (widgetWrapper: WidgetWrapperProps) => React.ReactElement;
|
|
15
15
|
};
|
|
16
|
-
export declare const JRCWidgetArticleGallery: ({ width, content, onStateChange }: JRCWidgetArticleGalleryProps) => JSX.Element;
|
|
16
|
+
export declare const JRCWidgetArticleGallery: ({ width, content, onStateChange }: JRCWidgetArticleGalleryProps) => React.JSX.Element;
|
|
17
17
|
export {};
|
package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGalleryEditor.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CombinedWidgetContent, WidgetArticleGalleryContent, WidgetKeys, WidgetStateProps } from 'jamespot-user-api';
|
|
2
|
-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type JRCWidgetArticleGalleryEditorProps = {
|
|
3
4
|
token: string | undefined;
|
|
4
5
|
content: WidgetArticleGalleryContent;
|
|
5
6
|
onChange: (content: CombinedWidgetContent, override?: boolean) => void;
|
|
@@ -7,5 +8,5 @@ declare type JRCWidgetArticleGalleryEditorProps = {
|
|
|
7
8
|
onStateChange?: (state: WidgetStateProps, uniqid?: string) => void;
|
|
8
9
|
onRegisterEditor?: (uniqid: string, name: WidgetKeys) => void;
|
|
9
10
|
};
|
|
10
|
-
export declare const JRCWidgetArticleGalleryEditor: ({ token, content, onChange, onSave, }: JRCWidgetArticleGalleryEditorProps) => JSX.Element;
|
|
11
|
+
export declare const JRCWidgetArticleGalleryEditor: ({ token, content, onChange, onSave, }: JRCWidgetArticleGalleryEditorProps) => React.JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WidgetDefaultProps, WidgetArticleImageContent } from 'jamespot-user-api';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare const JRCWidgetArticleImage: ({ width, content, onStateChange, }: WidgetDefaultProps & {
|
|
3
4
|
content: WidgetArticleImageContent;
|
|
4
5
|
token: string | undefined;
|
|
5
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { CombinedWidgetContent, WidgetArticleImageContent } from 'jamespot-user-api';
|
|
2
3
|
import { WidgetStateProps } from 'jamespot-user-api';
|
|
3
4
|
export declare const JRCWidgetArticleImageEditor: ({ token, content, onSave, onChange, onStateChange, }: {
|
|
4
5
|
token: string | undefined;
|
|
5
6
|
content: WidgetArticleImageContent;
|
|
6
|
-
onChange: (content: CombinedWidgetContent, override?: boolean
|
|
7
|
+
onChange: (content: CombinedWidgetContent, override?: boolean) => void;
|
|
7
8
|
onSave: (content: CombinedWidgetContent) => void;
|
|
8
9
|
onStateChange: (state: WidgetStateProps) => void;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { WidgetDefaultProps, WidgetArticleTextContent } from 'jamespot-user-api';
|
|
2
3
|
export declare const JRCWidgetArticleText: ({ content, mode, inplace, isComponentVisible, onChange, }: WidgetDefaultProps & {
|
|
3
4
|
content: WidgetArticleTextContent;
|
|
4
|
-
}) => JSX.Element;
|
|
5
|
+
}) => React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { CombinedWidgetContent, WidgetArticleTextContent } from 'jamespot-user-api';
|
|
2
3
|
export declare const JRCWidgetArticleTextEditor: ({ content, onChange, onSave, }: {
|
|
3
4
|
content: WidgetArticleTextContent;
|
|
4
5
|
onSave: (content: CombinedWidgetContent) => void;
|
|
5
|
-
onChange: (content: CombinedWidgetContent, override?: boolean
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
onChange: (content: CombinedWidgetContent, override?: boolean) => void;
|
|
7
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { WidgetArticleTitleContent, WidgetDefaultProps } from 'jamespot-user-api';
|
|
2
3
|
export declare const JRCWidgetArticleTitle: ({ content, onChange, isComponentVisible, inplace, mode, }: WidgetDefaultProps & {
|
|
3
4
|
content: WidgetArticleTitleContent;
|
|
4
|
-
}) => JSX.Element;
|
|
5
|
+
}) => React.JSX.Element;
|
|
@@ -5,5 +5,5 @@ export declare const JRCWidgetArticleTitleEditor: ({ content, onChange, onSave,
|
|
|
5
5
|
content: WidgetArticleTitleContent;
|
|
6
6
|
onOpen: (view: React.ReactElement) => void;
|
|
7
7
|
onSave: (content: CombinedWidgetContent) => void;
|
|
8
|
-
onChange: (content: CombinedWidgetContent, override?: boolean
|
|
9
|
-
}) => JSX.Element;
|
|
8
|
+
onChange: (content: CombinedWidgetContent, override?: boolean) => void;
|
|
9
|
+
}) => React.JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type JRCWidgetEmptyInplaceProps = {
|
|
2
3
|
url: string;
|
|
3
4
|
label: string;
|
|
4
5
|
description: string;
|
|
5
6
|
onClick: () => void;
|
|
6
7
|
};
|
|
7
|
-
export declare const JRCWidgetEmptyInplace: ({ url, label, description, onClick }: JRCWidgetEmptyInplaceProps) => JSX.Element;
|
|
8
|
+
export declare const JRCWidgetEmptyInplace: ({ url, label, description, onClick }: JRCWidgetEmptyInplaceProps) => React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { WidgetFileType } from 'jamespot-user-api';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare const CSSAttachment: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
3
4
|
export declare const CSSAttachmentImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
5
|
width: number;
|
|
@@ -14,20 +15,20 @@ export declare const AttachmentImage: ({ width, height, file, }: {
|
|
|
14
15
|
width: number;
|
|
15
16
|
height: number;
|
|
16
17
|
file: WidgetFileType;
|
|
17
|
-
}) => JSX.Element;
|
|
18
|
+
}) => React.JSX.Element;
|
|
18
19
|
export declare const AttachmentLabel: ({ file }: {
|
|
19
20
|
file: WidgetFileType;
|
|
20
|
-
}) => JSX.Element;
|
|
21
|
+
}) => React.JSX.Element;
|
|
21
22
|
export declare const AttachmentOption: ({ name, width, height, onClick, }: {
|
|
22
23
|
name: string;
|
|
23
24
|
width: number;
|
|
24
25
|
height: number;
|
|
25
26
|
onClick?: (() => void) | undefined;
|
|
26
|
-
}) => JSX.Element;
|
|
27
|
+
}) => React.JSX.Element;
|
|
27
28
|
export declare const Attachment: ({ file, width, onClickRemove, onClickDownload, }: {
|
|
28
29
|
file: WidgetFileType;
|
|
29
30
|
width?: number | undefined;
|
|
30
31
|
onClickRemove?: (() => void) | undefined;
|
|
31
32
|
onClickRemoveWithPrompt?: (() => void) | undefined;
|
|
32
33
|
onClickDownload?: (() => void) | undefined;
|
|
33
|
-
}) => JSX.Element;
|
|
34
|
+
}) => React.JSX.Element;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { CSSBackgroundPosition, CSSBackgroundSize } from 'jamespot-user-api';
|
|
2
|
-
|
|
3
|
+
type ImageProps = {
|
|
3
4
|
url: string;
|
|
4
5
|
displayAs?: 'image' | 'background';
|
|
5
6
|
backgroundPosition?: CSSBackgroundPosition;
|
|
6
7
|
backgroundSize?: CSSBackgroundSize;
|
|
7
8
|
};
|
|
8
|
-
export declare const Image: ({ url, displayAs, backgroundPosition, backgroundSize, }: ImageProps) => JSX.Element;
|
|
9
|
+
export declare const Image: ({ url, displayAs, backgroundPosition, backgroundSize, }: ImageProps) => React.JSX.Element;
|
|
9
10
|
export {};
|