jamespot-react-components 1.2.24 → 1.2.26
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 +847 -805
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/Common/DashedFocusBorder.stories.d.ts +1 -1
- package/build/src/components/Common/JRCConditionalWrapper.stories.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputFile/utils/file.api.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.style.d.ts +1 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +1 -0
- package/build/src/components/Form/Input/JRCStyledInput.d.ts +2 -0
- package/build/src/components/JRCAlbum/JRCAlbum.stories.d.ts +1 -1
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +1 -0
- package/build/src/components/JRCButton/JRCButton.stories.d.ts +1 -1
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.stories.d.ts +1 -1
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.styles.d.ts +3 -1
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +1 -0
- package/build/src/components/JRCCalendar/CalendarStyle.d.ts +1 -0
- package/build/src/components/JRCCalendar/JRCCalendar.d.ts +16 -3
- package/build/src/components/JRCCalendar/JRCCalendarEvent.d.ts +1 -1
- package/build/src/components/JRCCalendar/JRCCalendarModal.d.ts +1 -1
- package/build/src/components/JRCCalendar/JRCEventStatusButton.d.ts +2 -2
- package/build/src/components/JRCCommentsBloc/JRCComment.d.ts +2 -2
- package/build/src/components/JRCCommentsBloc/JRCCommentsBloc.d.ts +2 -2
- package/build/src/components/JRCDropDown/JRCDropDown.d.ts +4 -2
- package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +1 -1
- package/build/src/components/JRCIcon/JRCIcon.stories.d.ts +1 -1
- package/build/src/components/JRCIconButton/JRCIconButton.d.ts +2 -0
- package/build/src/components/JRCLoader/JRCLoader.stories.d.ts +1 -1
- package/build/src/components/JRCPublishButton/JRCPublishButton.d.ts +10 -7
- package/build/src/components/JRCPublishButton/JRCPublishButton.stories.d.ts +5 -2
- package/build/src/components/JRCPublishButton/PublishButtonEntry.d.ts +1 -1
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.d.ts +1 -0
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.styles.d.ts +1 -0
- package/build/src/components/JRCTooltip/JRCTooltip.stories.d.ts +1 -1
- package/build/src/components/JRCTypography/JRCTypography.stories.d.ts +1 -1
- package/build/src/components/Templates/template.styles.d.ts +2 -0
- package/build/src/components/Templates/template.type.d.ts +2 -0
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditor.d.ts +1 -1
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetDatasourceTableEditor.d.ts +2 -2
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetExcelDatasourceTableEditor.d.ts +2 -2
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableEditor.d.ts +1 -1
- package/build/src/components/Widgets/JRCWidgetTable/utils.d.ts +1 -1
- package/build/src/components/Widgets/context/hooks.d.ts +3 -3
- package/build/src/styles/theme.d.ts +1 -0
- package/build/src/types.d.ts +2 -0
- package/build/src/utils/utils.date.d.ts +6 -0
- package/package.json +12 -13
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.d.ts +0 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.d.ts +0 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.d.ts +0 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormColor/JRCFormColor.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormEmail/JRCFormEmail.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormImage/JRCFormImage.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormNumber/JRCFormNumber.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormRange/JRCFormRange.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField.stories.d.ts +0 -7
- package/build/src/components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelect.stories.d.ts +0 -17
- package/build/src/components/Form/Input/Deprecated/JRCFormText/JRCFormText.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormURL/JRCFormUrl.stories.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.stories.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputToggle.stories.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColor.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRaw.stories.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputDateTime/JRCInputDateTIme.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputEmail/JRCInputEmail.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputFile/JRCInputFile.stories.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvanced.stories.d.ts +0 -5
- package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.stories.d.ts +0 -5
- package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputSearchRaw/JRCInputSearchRaw.stories.d.ts +0 -5
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.stories.d.ts +0 -9
- package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputTime/JRCInputTime.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputTinyMCE/JRCInputTinyMCE.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw.stories.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.stories.d.ts +0 -6
- package/build/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.d.ts +0 -9
- package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.d.ts +0 -12
- package/build/src/components/Form/Input/JRCSelect/JRCInputAudience.stories.d.ts +0 -4
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +0 -11
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +0 -10
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.stories.d.ts +0 -3
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectList.stories.d.ts +0 -3
- package/build/src/components/JRCAlert/JRCAlert.stories.d.ts +0 -7
- package/build/src/components/JRCAppHeader/JRCAppHeader.stories.d.ts +0 -4
- package/build/src/components/JRCAttachments/JRCAttachments.stories.d.ts +0 -4
- package/build/src/components/JRCAvatar/JRCAvatar.stories.d.ts +0 -4
- package/build/src/components/JRCAvatars/JRCAvatars.stories.d.ts +0 -6
- package/build/src/components/JRCBreadcrumb/JRCBreadcrumb.stories.d.ts +0 -4
- package/build/src/components/JRCBusinessContactList/JRCBusinessContactList.stories.d.ts +0 -4
- package/build/src/components/JRCBusinessContacts/JRCBusinessContacts.stories.d.ts +0 -6
- package/build/src/components/JRCButtonDownload/JRCButtonDownload.stories.d.ts +0 -7
- package/build/src/components/JRCButtonFile/JRCButtonFile.stories.d.ts +0 -6
- package/build/src/components/JRCCalendar/JRCCalendar.stories.d.ts +0 -6
- package/build/src/components/JRCCard/JRCCard.stories.d.ts +0 -4
- package/build/src/components/JRCCard/JRCCardImg.stories.d.ts +0 -4
- package/build/src/components/JRCCollapse/JRCCollapse.stories.d.ts +0 -8
- package/build/src/components/JRCCommentsBloc/JRCCommentsBloc.stories.d.ts +0 -4
- package/build/src/components/JRCCropImage/JRCCropImage.stories.d.ts +0 -4
- package/build/src/components/JRCDate/JRCDate.stories.d.ts +0 -8
- package/build/src/components/JRCDisplayCard/JRCDisplayCard.stories.d.ts +0 -9
- package/build/src/components/JRCDropDown/JRCDropDown.stories.d.ts +0 -4
- package/build/src/components/JRCEllipsis/JRCEllipsis.stories.d.ts +0 -9
- package/build/src/components/JRCEmptySpace/JRCEmptySpace.stories.d.ts +0 -3
- package/build/src/components/JRCFile/JRCFile.stories.d.ts +0 -3
- package/build/src/components/JRCFileViewer/JRCFileViewer.stories.d.ts +0 -3
- package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +0 -8
- package/build/src/components/JRCGroupList/JRCGroupList.stories.d.ts +0 -4
- package/build/src/components/JRCGroups/JRCGroups.stories.d.ts +0 -6
- package/build/src/components/JRCHref/JRCHref.stories.d.ts +0 -4
- package/build/src/components/JRCHtml/JRCHtml.stories.d.ts +0 -4
- package/build/src/components/JRCIconButton/JRCIconButton.stories.d.ts +0 -4
- package/build/src/components/JRCImg/JRCImg.stories.d.ts +0 -5
- package/build/src/components/JRCList/JRCList.stories.d.ts +0 -11
- package/build/src/components/JRCList/JRCListMockData.stories.d.ts +0 -3
- package/build/src/components/JRCMessage/JRCMessage.stories.d.ts +0 -7
- package/build/src/components/JRCModal/templates/JRCModal.stories.d.ts +0 -3
- package/build/src/components/JRCModal/templates/JRCModalForm.stories.d.ts +0 -3
- package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +0 -6
- package/build/src/components/JRCPagination/JRCPagination.stories.d.ts +0 -4
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.stories.d.ts +0 -4
- package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +0 -6
- package/build/src/components/JRCTag/JRCTag.stories.d.ts +0 -4
- package/build/src/components/JRCUserList/JRCUserList.stories.d.ts +0 -4
- package/build/src/components/JRCUserPopup/JRCUserPopup.stories.d.ts +0 -4
- package/build/src/components/JRCUsers/JRCUsers.stories.d.ts +0 -6
- package/build/src/components/Stepper/JRCStepper.stories.d.ts +0 -4
- package/build/src/components/Templates/JRCTemplate.stories.d.ts +0 -5
- package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.stories.d.ts +0 -7
- package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.stories.d.ts +0 -194
- package/build/src/components/Widgets/JRCWidgetAttachment/JRCWidgetAttachment.stories.d.ts +0 -6
- package/build/src/components/Widgets/JRCWidgetButton/JRCWidgetButton.stories.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList.stories.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetImage.stories.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey.stories.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetSlider.stories.d.ts +0 -4
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.stories.d.ts +0 -30
- package/build/tsconfig.tsbuildinfo +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
2
|
import { JRCConditionalWrapperProps } from './JRCConditionalWrapper';
|
|
3
3
|
type JRCConditionalWrapperStoryProps = JRCConditionalWrapperProps & {
|
|
4
4
|
wrappedContent: string;
|
|
@@ -16,6 +16,7 @@ export declare const IconAfter: import("styled-components").StyledComponent<{
|
|
|
16
16
|
hasLicense?: boolean | undefined;
|
|
17
17
|
bg?: import("../../../../styles/theme").Colors | import("../../../../styles/theme").Shades | undefined;
|
|
18
18
|
bgHover?: import("../../../../styles/theme").Colors | import("../../../../styles/theme").Shades | undefined;
|
|
19
|
+
borderColor?: import("../../../../styles/theme").Colors | import("../../../../styles/theme").Shades | undefined;
|
|
19
20
|
iconSize?: number | undefined;
|
|
20
21
|
badgeNumber?: number | undefined;
|
|
21
22
|
colorVariant?: string | undefined;
|
|
@@ -23,6 +23,7 @@ export declare const StyledInput: import("styled-components").StyledComponent<"i
|
|
|
23
23
|
export type StyledSelectProps = DataCy & IconsProps & {
|
|
24
24
|
searchable?: boolean;
|
|
25
25
|
sizeVariant?: 's' | 'md';
|
|
26
|
+
noMargin?: boolean;
|
|
26
27
|
};
|
|
27
28
|
export declare const StyledSelect: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, DataCy & {
|
|
28
29
|
error?: boolean | undefined;
|
|
@@ -31,6 +32,7 @@ export declare const StyledSelect: import("styled-components").StyledComponent<"
|
|
|
31
32
|
} & IconsProps & {
|
|
32
33
|
searchable?: boolean | undefined;
|
|
33
34
|
sizeVariant?: "s" | "md" | undefined;
|
|
35
|
+
noMargin?: boolean | undefined;
|
|
34
36
|
}, never>;
|
|
35
37
|
export declare const MaxLengthIndicatorContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
36
38
|
export declare const MaxLengthIndicator: ({ maxLength, actualLength }: {
|
|
@@ -36,6 +36,7 @@ export declare const JRCIconButtonAppLeftColumn: import("styled-components").Sty
|
|
|
36
36
|
hasLicense?: boolean | undefined;
|
|
37
37
|
bg?: import("../../styles/theme").Colors | import("../../styles/theme").Shades | undefined;
|
|
38
38
|
bgHover?: import("../../styles/theme").Colors | import("../../styles/theme").Shades | undefined;
|
|
39
|
+
borderColor?: import("../../styles/theme").Colors | import("../../styles/theme").Shades | undefined;
|
|
39
40
|
iconSize?: number | undefined;
|
|
40
41
|
badgeNumber?: number | undefined;
|
|
41
42
|
colorVariant?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { JRCButtonProps } from './JRCButton';
|
|
3
3
|
import { JRCValidationButton } from './JRCValidationButton';
|
|
4
|
-
import { Meta, StoryFn, StoryObj } from '@storybook/react';
|
|
4
|
+
import { Meta, StoryFn, StoryObj } from '@storybook/react-webpack5';
|
|
5
5
|
declare const meta: Meta;
|
|
6
6
|
export default meta;
|
|
7
7
|
export declare const ButtonWithChildren: StoryFn<JRCButtonProps>;
|
|
@@ -17,7 +17,9 @@ export declare const MarginLessJRCButton: import("styled-components").StyledComp
|
|
|
17
17
|
label?: string | undefined;
|
|
18
18
|
noMargin?: boolean | undefined;
|
|
19
19
|
size?: "s" | "m" | undefined;
|
|
20
|
-
} & React.RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, ButtonProps
|
|
20
|
+
} & React.RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, ButtonProps & {
|
|
21
|
+
small?: boolean | undefined;
|
|
22
|
+
}, never>;
|
|
21
23
|
export declare const MenuWithoutTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
24
|
export declare const MenuWithTitle: ({ direction, label, themeButton, children }: MenuWithTitleProps) => React.JSX.Element;
|
|
23
25
|
export declare const DropdownOption: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, DropdownOptionProps, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { CalendarEventViewAbstractType, CalendarEventWithExtensions, JArticleApi, JCalendarApi, JGlobalApi } from 'jamespot-user-api';
|
|
3
|
+
import { CalendarApi } from '@fullcalendar/core';
|
|
3
4
|
export type JRCCalendarProps = {
|
|
4
5
|
events?: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>[];
|
|
5
6
|
loading?: boolean;
|
|
@@ -7,13 +8,25 @@ export type JRCCalendarProps = {
|
|
|
7
8
|
onError: (errorMsg?: string) => void;
|
|
8
9
|
onSuccess: (message: string) => void;
|
|
9
10
|
handler: {
|
|
10
|
-
global: Pick<JGlobalApi, 'updateAction'>;
|
|
11
|
+
global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
|
|
11
12
|
calendar: Pick<JCalendarApi, 'reviveSubmit'>;
|
|
12
13
|
article: Pick<JArticleApi, 'delete'>;
|
|
13
14
|
};
|
|
14
15
|
defaultView: CalendarView;
|
|
15
16
|
eventModalExtraComponent?: (event: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>) => ReactNode;
|
|
16
|
-
onChangeView?: (view:
|
|
17
|
+
onChangeView?: (view: {
|
|
18
|
+
label: string;
|
|
19
|
+
value: CalendarView;
|
|
20
|
+
}) => void;
|
|
21
|
+
fullScreen?: boolean;
|
|
22
|
+
deportedToolbar?: {
|
|
23
|
+
onChangeLabel?: (label: string) => void;
|
|
24
|
+
onCalendarApiInit?: (api?: CalendarApi) => void;
|
|
25
|
+
view?: {
|
|
26
|
+
label: string;
|
|
27
|
+
value: CalendarView;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
17
30
|
};
|
|
18
31
|
export type CalendarView = 'dayGridMonth' | 'timeGridWeek' | 'timeGridDay' | 'list';
|
|
19
|
-
export declare const JRCCalendar: ({ events, loading, onChangeDates, onError, handler, onSuccess, defaultView, eventModalExtraComponent, onChangeView, }: JRCCalendarProps) => React.JSX.Element;
|
|
32
|
+
export declare const JRCCalendar: ({ events, loading, onChangeDates, onError, handler, onSuccess, defaultView, eventModalExtraComponent, onChangeView, fullScreen, deportedToolbar, }: JRCCalendarProps) => React.JSX.Element;
|
|
@@ -19,7 +19,7 @@ export type JRCCalendarEventProps = {
|
|
|
19
19
|
type: string;
|
|
20
20
|
isVisio?: boolean;
|
|
21
21
|
handler: {
|
|
22
|
-
global: Pick<JGlobalApi, 'updateAction'>;
|
|
22
|
+
global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
|
|
23
23
|
calendar: Pick<JCalendarApi, 'reviveSubmit'>;
|
|
24
24
|
};
|
|
25
25
|
onError: (errMsg?: string) => void;
|
|
@@ -8,7 +8,7 @@ export type JRCCalendarModalProps = {
|
|
|
8
8
|
handler: {
|
|
9
9
|
article: Pick<JArticleApi, 'delete'>;
|
|
10
10
|
calendar: Pick<JCalendarApi, 'reviveSubmit'>;
|
|
11
|
-
global: Pick<JGlobalApi, 'updateAction'>;
|
|
11
|
+
global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
|
|
12
12
|
};
|
|
13
13
|
onError: (errorMsg?: string) => void;
|
|
14
14
|
onSuccess: (message: string) => void;
|
|
@@ -14,11 +14,11 @@ export type JRCEventStatusButtonProps = {
|
|
|
14
14
|
onError: (errorMessage: string) => void;
|
|
15
15
|
onSuccess: (message: string) => void;
|
|
16
16
|
handler: {
|
|
17
|
-
global: Pick<JGlobalApi, 'updateAction'>;
|
|
17
|
+
global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
|
|
18
18
|
};
|
|
19
19
|
canSubscribe?: boolean;
|
|
20
20
|
setSubscriptionModifiers: (fn: (prev: SubscriptionModifiers) => SubscriptionModifiers) => void;
|
|
21
21
|
eventUri: string;
|
|
22
22
|
status: UserResponseStatus | null;
|
|
23
23
|
};
|
|
24
|
-
export declare const JRCEventStatusButton: ({ onError, handler, onSuccess, eventId, eventUri, eventType, eventIsVisio, initialStatus, canSubscribe, setSubscriptionModifiers, status, }: JRCEventStatusButtonProps) => React.JSX.Element;
|
|
24
|
+
export declare const JRCEventStatusButton: ({ onError, handler, onSuccess, eventId, eventUri, eventType, eventIsVisio, initialStatus, canSubscribe, setSubscriptionModifiers, status, }: JRCEventStatusButtonProps) => React.JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Model, UpdateCommentParams, WidgetDisplayMode, WidgetWrapperProps, JFileApi,
|
|
1
|
+
import { Model, UpdateCommentParams, WidgetDisplayMode, WidgetWrapperProps, JFileApi, JUserApi, CommentWithExtensions, JGlobalApi } from 'jamespot-user-api';
|
|
2
2
|
import { jCommentList } from 'jamespot-user-api/lib/src/types/comment';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { DriveOrFilebank, JRCInputTinyMCERawProps } from 'types';
|
|
@@ -28,7 +28,7 @@ export type JRCCommentProps = {
|
|
|
28
28
|
file: Pick<JFileApi, 'copy'>;
|
|
29
29
|
drive: Pick<JDriveApi, 'msDocuments' | 'dropboxDocuments' | 'groups' | 'tenants' | 'listAccount' | 'isAccountLogged' | 'checkAccountToken' | 'getAccount' | 'logout' | 'setDefaultAccount' | 'getDocument'>;
|
|
30
30
|
user: Pick<JUserApi, 'get' | 'getFields'>;
|
|
31
|
-
|
|
31
|
+
global: Pick<JGlobalApi, 'addAction' | 'removeAction' | 'getUsers'>;
|
|
32
32
|
questionAnswer: Pick<JQuestionAnswerApi, 'selectResponse' | 'unselectResponse'>;
|
|
33
33
|
};
|
|
34
34
|
socialQuestion?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddCommentParams, Model, UpdateCommentParams, WidgetDisplayMode, WidgetWrapperProps, jUserList, JFileApi,
|
|
1
|
+
import { AddCommentParams, Model, UpdateCommentParams, WidgetDisplayMode, WidgetWrapperProps, jUserList, JFileApi, JUserApi, CommentWithExtensions, JGlobalApi } from 'jamespot-user-api';
|
|
2
2
|
import { jCommentList } from 'jamespot-user-api/lib/src/types/comment';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { JRCInputTinyMCERawProps } from '../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
@@ -37,7 +37,7 @@ export type JRCCommentsBlocProps = {
|
|
|
37
37
|
file: Pick<JFileApi, 'copy' | 'deleteFile'>;
|
|
38
38
|
drive: Pick<JDriveApi, 'msDocuments' | 'dropboxDocuments' | 'groups' | 'tenants' | 'listAccount' | 'isAccountLogged' | 'checkAccountToken' | 'getAccount' | 'logout' | 'setDefaultAccount' | 'getDocument'>;
|
|
39
39
|
user: Pick<JUserApi, 'get' | 'getFields'>;
|
|
40
|
-
|
|
40
|
+
global: Pick<JGlobalApi, 'addAction' | 'removeAction' | 'getUsers'>;
|
|
41
41
|
questionAnswer: Pick<JQuestionAnswerApi, 'selectResponse' | 'unselectResponse'>;
|
|
42
42
|
};
|
|
43
43
|
socialQuestion?: {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Colors } from '../../styles/theme';
|
|
2
3
|
export interface JRCDropDownProps {
|
|
3
4
|
trigger: React.ReactNode;
|
|
4
5
|
dropdown: (collapseDropdown: () => void) => React.ReactNode;
|
|
5
6
|
align?: 'left' | 'right';
|
|
6
7
|
onToggle?: (isOpen: boolean) => void;
|
|
7
8
|
withBorder?: boolean;
|
|
9
|
+
borderColor?: Colors;
|
|
8
10
|
}
|
|
9
|
-
export declare const JRCDropDown: ({ trigger, dropdown, align, onToggle, withBorder }: JRCDropDownProps) => React.JSX.Element;
|
|
11
|
+
export declare const JRCDropDown: ({ trigger, dropdown, align, onToggle, withBorder, borderColor }: JRCDropDownProps) => React.JSX.Element;
|
|
@@ -2,9 +2,9 @@ import * as React from 'react';
|
|
|
2
2
|
import { JRCFileViewerProps } from './types';
|
|
3
3
|
export declare const JRCFileViewer: <T extends {
|
|
4
4
|
type: string;
|
|
5
|
+
uri: string;
|
|
5
6
|
id: number;
|
|
6
7
|
mainType: string;
|
|
7
|
-
uri: string;
|
|
8
8
|
dateCreation: string;
|
|
9
9
|
dateModified: string | null;
|
|
10
10
|
title: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { JRCIcon } from './JRCIcon';
|
|
3
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
4
4
|
declare const meta: Meta;
|
|
5
5
|
export default meta;
|
|
6
6
|
type Story = StoryObj<typeof JRCIcon>;
|
|
@@ -6,6 +6,7 @@ declare const colorVariants: Record<string, {
|
|
|
6
6
|
color: Colors | Shades;
|
|
7
7
|
bg: Colors | Shades;
|
|
8
8
|
bgHover: Colors | Shades;
|
|
9
|
+
borderColor: Colors | Shades;
|
|
9
10
|
}>;
|
|
10
11
|
/**
|
|
11
12
|
* IconButton props
|
|
@@ -36,6 +37,7 @@ export type JRCIconButtonProps = Omit<React.ComponentPropsWithoutRef<'button'>,
|
|
|
36
37
|
hasLicense?: boolean;
|
|
37
38
|
bg?: Colors | Shades;
|
|
38
39
|
bgHover?: Colors | Shades;
|
|
40
|
+
borderColor?: Colors | Shades;
|
|
39
41
|
iconSize?: number;
|
|
40
42
|
badgeNumber?: number;
|
|
41
43
|
colorVariant?: keyof typeof colorVariants;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import { JRCTooltipProps } from '../JRCTooltip/JRCTooltip';
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import { PublishButtonEntryProps } from './PublishButtonEntry';
|
|
4
2
|
import { DataCy } from '../../types/dataAttributes';
|
|
3
|
+
import { JRCTooltipProps } from '../JRCTooltip/JRCTooltip';
|
|
4
|
+
import { PublishButtonEntryProps } from './PublishButtonEntry';
|
|
5
|
+
type PublishButtonSection = {
|
|
6
|
+
sectionLabel: string;
|
|
7
|
+
entries: Array<Omit<PublishButtonEntryProps, 'favoriteClick'>>;
|
|
8
|
+
};
|
|
5
9
|
export type PublishButtonProps = DataCy & {
|
|
6
|
-
sections: Array<
|
|
7
|
-
sectionLabel: string;
|
|
8
|
-
entries: Array<PublishButtonEntryProps>;
|
|
9
|
-
}>;
|
|
10
|
+
sections: Array<PublishButtonSection>;
|
|
10
11
|
hasFavorites?: boolean;
|
|
12
|
+
favoriteOnClick?: (entryKey: string) => void;
|
|
11
13
|
loading: boolean;
|
|
12
14
|
label?: string;
|
|
13
15
|
tooltip?: Omit<JRCTooltipProps, 'children'>;
|
|
14
16
|
position?: 'left' | 'right';
|
|
15
17
|
icon: string;
|
|
16
18
|
};
|
|
17
|
-
export declare const JRCPublishButton: ({ tooltip, label, icon, sections, hasFavorites, loading, position, dataCy, }: PublishButtonProps) => React.JSX.Element;
|
|
19
|
+
export declare const JRCPublishButton: ({ tooltip, label, icon, sections, hasFavorites, favoriteOnClick, loading, position, dataCy, }: PublishButtonProps) => React.JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
1
2
|
import { JRCPublishButton } from './JRCPublishButton';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof JRCPublishButton>;
|
|
6
6
|
export declare const Primary: Story;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const PrimaryNoSelectedFavorites: Story;
|
|
8
|
+
export declare const WithoutFavorites: Story;
|
|
9
|
+
export declare const WithTitleLessSection: Story;
|
|
10
|
+
export declare const WithEmptySection: Story;
|
|
8
11
|
export declare const Play: Story;
|
|
@@ -8,9 +8,9 @@ export type PublishButtonEntryProps = DataCy & {
|
|
|
8
8
|
url?: string;
|
|
9
9
|
label: string;
|
|
10
10
|
isFavorite: boolean;
|
|
11
|
-
favoriteClick: MouseEventHandler<HTMLButtonElement>;
|
|
12
11
|
};
|
|
13
12
|
export type PublishButtonExtraProps = {
|
|
14
13
|
hasFavorites?: boolean;
|
|
14
|
+
favoriteClick: MouseEventHandler<HTMLButtonElement>;
|
|
15
15
|
};
|
|
16
16
|
export declare const PublishButtonEntry: (props: PublishButtonEntryProps & PublishButtonExtraProps) => React.JSX.Element;
|
|
@@ -4,6 +4,7 @@ export declare const JRCModalBox: import("styled-components").StyledComponent<"d
|
|
|
4
4
|
open?: boolean | undefined;
|
|
5
5
|
inplace?: boolean | undefined;
|
|
6
6
|
offsetTop?: number | undefined;
|
|
7
|
+
zIndex?: number | undefined;
|
|
7
8
|
}, never>;
|
|
8
9
|
export declare const JRCModalTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
10
|
export declare const JRCModalOptions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -3,9 +3,11 @@ import { JRCColumn } from './JRCColumn';
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import type { Closing, Open, LayoutMode, ColumnPosition } from './template.type';
|
|
5
5
|
import { FlexDirection } from '../JRCFlex/JRCFlexBox';
|
|
6
|
+
import { Colors } from '../../styles/theme';
|
|
6
7
|
export declare const BasicAutoMarginWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
8
|
export declare const ContainerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
9
|
$flexDirection?: FlexDirection | undefined;
|
|
10
|
+
backgroundColor?: Colors | undefined;
|
|
9
11
|
}, never>;
|
|
10
12
|
export declare const ScrollWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11
13
|
$flexDirection?: FlexDirection | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlexDirection } from '../JRCFlex/JRCFlexBox';
|
|
3
|
+
import { Colors } from '../../styles/theme';
|
|
3
4
|
export type LayoutMode = 'fluid' | 'center' | 'centerTop';
|
|
4
5
|
export type ColumnPosition = 'left' | 'right';
|
|
5
6
|
export type JRCBasicAutoMarginContainerProps = {
|
|
@@ -12,6 +13,7 @@ export type JRCContainerProps = {
|
|
|
12
13
|
maxWidth?: string;
|
|
13
14
|
flexDirection?: FlexDirection;
|
|
14
15
|
hasPadding?: boolean;
|
|
16
|
+
backgroundColor?: Colors;
|
|
15
17
|
};
|
|
16
18
|
export type JRCColumnProps = {
|
|
17
19
|
children: React.ReactNode;
|
|
@@ -14,9 +14,9 @@ export declare const EditorSlide: ({ forceOpen, title, text, displayAs, backgrou
|
|
|
14
14
|
forceOpen?: boolean | undefined;
|
|
15
15
|
file?: {
|
|
16
16
|
type: string;
|
|
17
|
+
uri: string;
|
|
17
18
|
id: number;
|
|
18
19
|
mainType: string;
|
|
19
|
-
uri: string;
|
|
20
20
|
dateCreation: string;
|
|
21
21
|
dateModified: string | null;
|
|
22
22
|
title: string;
|
|
@@ -13,8 +13,8 @@ export type WidgetDatasourceContext = EditorBaseContext<WidgetDatasourceTableCon
|
|
|
13
13
|
handlers: WidgetDatasourceHandlers;
|
|
14
14
|
};
|
|
15
15
|
export declare const JRCWidgetDatasourceTableEditor: ({ uri, limit, tableHeadColor, tableHeadTextColor, tableHeadIconColor, tableRowColor, tableRowTextColor, tableColumnsData, tableBorderRadius, tableSizedColumns, tableSizedColumnsWidth, hook, handlers, onChange, onSave, onStateChange, onError, }: {
|
|
16
|
-
uri?: string | undefined;
|
|
17
16
|
limit?: number | boolean | undefined;
|
|
17
|
+
uri?: string | undefined;
|
|
18
18
|
tableColumnsData?: {
|
|
19
19
|
name?: string | undefined;
|
|
20
20
|
label?: string | undefined;
|
|
@@ -38,8 +38,8 @@ export declare const JRCWidgetDatasourceTableEditor: ({ uri, limit, tableHeadCol
|
|
|
38
38
|
isActive: HookIsActive;
|
|
39
39
|
};
|
|
40
40
|
} & WidgetEditorActions<{
|
|
41
|
-
uri?: string | undefined;
|
|
42
41
|
limit?: number | boolean | undefined;
|
|
42
|
+
uri?: string | undefined;
|
|
43
43
|
tableColumnsData?: {
|
|
44
44
|
name?: string | undefined;
|
|
45
45
|
label?: string | undefined;
|
package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetExcelDatasourceTableEditor.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ export type WidgetExcelDatasourceContext = EditorBaseContext<WidgetExcelDatasour
|
|
|
13
13
|
handlers: WidgetExcelDatasourceHandlers;
|
|
14
14
|
};
|
|
15
15
|
export declare const JRCWidgetExcelDatasourceTableEditor: ({ uri, limit, tableHeadColor, tableHeadTextColor, tableHeadIconColor, tableRowColor, tableRowTextColor, tableColumnsData, tableSizedColumns, tableSizedColumnsWidth, tableBorderRadius, hook, handlers, onChange, onSave, onStateChange, onError, }: {
|
|
16
|
-
uri?: string | undefined;
|
|
17
16
|
limit?: number | boolean | undefined;
|
|
17
|
+
uri?: string | undefined;
|
|
18
18
|
tableColumnsData?: {
|
|
19
19
|
name?: string | undefined;
|
|
20
20
|
label?: string | undefined;
|
|
@@ -38,8 +38,8 @@ export declare const JRCWidgetExcelDatasourceTableEditor: ({ uri, limit, tableHe
|
|
|
38
38
|
isActive: HookIsActive;
|
|
39
39
|
};
|
|
40
40
|
} & WidgetEditorActions<{
|
|
41
|
-
uri?: string | undefined;
|
|
42
41
|
limit?: number | boolean | undefined;
|
|
42
|
+
uri?: string | undefined;
|
|
43
43
|
tableColumnsData?: {
|
|
44
44
|
name?: string | undefined;
|
|
45
45
|
label?: string | undefined;
|
|
@@ -26,11 +26,11 @@ export declare const JRCWidgetTableEditor: ({ limit, tableHeadColor, tableHeadTe
|
|
|
26
26
|
widget: {} | {
|
|
27
27
|
type: "text";
|
|
28
28
|
} | {
|
|
29
|
+
type: "select";
|
|
29
30
|
options: {
|
|
30
31
|
value: string;
|
|
31
32
|
label: string;
|
|
32
33
|
}[];
|
|
33
|
-
type: "select";
|
|
34
34
|
} | {
|
|
35
35
|
type: "date";
|
|
36
36
|
};
|
|
@@ -29,8 +29,8 @@ export declare const useEditorContext: <T = EditorBaseContext<{
|
|
|
29
29
|
name: import("jamespot-user-api").WidgetsName.ExcelDatasourceTable;
|
|
30
30
|
uniqid: string;
|
|
31
31
|
content: {
|
|
32
|
-
uri?: string | undefined;
|
|
33
32
|
limit?: number | boolean | undefined;
|
|
33
|
+
uri?: string | undefined;
|
|
34
34
|
tableColumnsData?: {
|
|
35
35
|
name?: string | undefined;
|
|
36
36
|
label?: string | undefined;
|
|
@@ -103,8 +103,8 @@ export declare const useEditorContext: <T = EditorBaseContext<{
|
|
|
103
103
|
css?: Record<string, string> | undefined;
|
|
104
104
|
edit?: boolean | undefined;
|
|
105
105
|
} | {
|
|
106
|
-
uri?: string | undefined;
|
|
107
106
|
limit?: number | boolean | undefined;
|
|
107
|
+
uri?: string | undefined;
|
|
108
108
|
tableColumnsData?: {
|
|
109
109
|
name?: string | undefined;
|
|
110
110
|
label?: string | undefined;
|
|
@@ -122,8 +122,8 @@ export declare const useEditorContext: <T = EditorBaseContext<{
|
|
|
122
122
|
tableSizedColumns?: boolean | undefined;
|
|
123
123
|
tableSizedColumnsWidth?: number | undefined;
|
|
124
124
|
} | {
|
|
125
|
-
uri?: string | undefined;
|
|
126
125
|
limit?: number | boolean | undefined;
|
|
126
|
+
uri?: string | undefined;
|
|
127
127
|
tableColumnsData?: {
|
|
128
128
|
name?: string | undefined;
|
|
129
129
|
label?: string | undefined;
|
package/build/src/types.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { AutocompleteView } from './components/Form/Input/JRCSelect/JRCInputAutocompleteViews';
|
|
2
|
+
export type { CalendarApi } from '@fullcalendar/core';
|
|
3
|
+
export type { CalendarView } from './components/JRCCalendar/JRCCalendar';
|
|
2
4
|
export type { Editor } from 'tinymce';
|
|
3
5
|
export type { JRCDragAndDropProps } from './components/Beta/BETA_JRCDragAndDrop/BETA_JRCDragAndDrop';
|
|
4
6
|
export type { JRCConditionalWrapperProps } from './components/Common/JRCConditionalWrapper';
|
|
@@ -8,6 +8,12 @@ export interface extractDateProps {
|
|
|
8
8
|
}
|
|
9
9
|
export type DateFormat = 'date' | 'date-time' | 'date-time-sec' | 'time' | 'time-sec';
|
|
10
10
|
export declare const extractDate: (str?: string | Date) => extractDateProps;
|
|
11
|
+
/**
|
|
12
|
+
* Format date to YYYY-MM-DD
|
|
13
|
+
* @param {Date} date - Date to format
|
|
14
|
+
* @returns {string} Formatted date string
|
|
15
|
+
*/
|
|
16
|
+
export declare const formatDate: (date: Date) => string;
|
|
11
17
|
/**
|
|
12
18
|
* Format date to YYYY-MM-DD hh:mm:ss format
|
|
13
19
|
* @param {Date} date - Date to format
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.26",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/jamespot-react-components.js",
|
|
6
6
|
"types": "./build/src/index.d.ts",
|
|
@@ -17,19 +17,16 @@
|
|
|
17
17
|
"@babel/preset-env": "^7.12.7",
|
|
18
18
|
"@babel/preset-react": "^7.12.7",
|
|
19
19
|
"@babel/preset-typescript": "^7.12.7",
|
|
20
|
-
"@chromatic-com/storybook": "^
|
|
20
|
+
"@chromatic-com/storybook": "^4.0.1",
|
|
21
21
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
22
22
|
"@lcov-viewer/istanbul-report": "^1.4.0",
|
|
23
|
-
"@storybook/addon-a11y": "^
|
|
24
|
-
"@storybook/addon-
|
|
25
|
-
"@storybook/addon-
|
|
26
|
-
"@storybook/addon-
|
|
27
|
-
"@storybook/addon-links": "^8.6.12",
|
|
23
|
+
"@storybook/addon-a11y": "^9.0.15",
|
|
24
|
+
"@storybook/addon-coverage": "^2.0.0",
|
|
25
|
+
"@storybook/addon-docs": "^9.0.15",
|
|
26
|
+
"@storybook/addon-links": "^9.0.15",
|
|
28
27
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
29
|
-
"@storybook/react": "^
|
|
30
|
-
"@storybook/
|
|
31
|
-
"@storybook/test": "^8.6.12",
|
|
32
|
-
"@storybook/test-runner": "^0.22.0",
|
|
28
|
+
"@storybook/react-webpack5": "^9.0.15",
|
|
29
|
+
"@storybook/test-runner": "^0.23.0",
|
|
33
30
|
"@testing-library/dom": "^8.11.0",
|
|
34
31
|
"@testing-library/jest-dom": "^5.12.0",
|
|
35
32
|
"@testing-library/react": "^12.1.2",
|
|
@@ -66,6 +63,7 @@
|
|
|
66
63
|
"eslint-config-prettier": "^8.3.0",
|
|
67
64
|
"eslint-plugin-react": "^7.34.2",
|
|
68
65
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
66
|
+
"eslint-plugin-storybook": "9.0.15",
|
|
69
67
|
"file-loader": "^6.2.0",
|
|
70
68
|
"fork-ts-checker-webpack-plugin": "^8.0.0",
|
|
71
69
|
"html-webpack-plugin": "^5.5.0",
|
|
@@ -79,7 +77,7 @@
|
|
|
79
77
|
"react-test-renderer": "^17.0.1",
|
|
80
78
|
"redux-form": "^8.3.8",
|
|
81
79
|
"source-map-loader": "^1.0.1",
|
|
82
|
-
"storybook": "^
|
|
80
|
+
"storybook": "^9.0.15",
|
|
83
81
|
"style-loader": "^1.2.1",
|
|
84
82
|
"ts-jest": "^27.0.7",
|
|
85
83
|
"ts-loader": "^8.0.2",
|
|
@@ -96,11 +94,12 @@
|
|
|
96
94
|
"@fullcalendar/list": "^6.1.17",
|
|
97
95
|
"@fullcalendar/react": "^6.1.17",
|
|
98
96
|
"@fullcalendar/timegrid": "^6.1.17",
|
|
97
|
+
"@storybook/testing-library": "^0.2.2",
|
|
99
98
|
"@tinymce/tinymce-react": "^5.1.1",
|
|
100
99
|
"chroma-js": "^2.1.1",
|
|
101
100
|
"classnames": "^2.3.1",
|
|
102
101
|
"dompurify": "^3.0.5",
|
|
103
|
-
"jamespot-user-api": "^1.2.
|
|
102
|
+
"jamespot-user-api": "^1.2.26",
|
|
104
103
|
"react": "^17.x",
|
|
105
104
|
"react-beautiful-dnd": "^13.1.1",
|
|
106
105
|
"react-dnd": "^14.0.4",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const _default: import("@storybook/core/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("@storybook/core/csf").Args>;
|
|
2
|
-
export default _default;
|
|
3
|
-
export declare const AutocompleteAudience: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, any>;
|