jamespot-react-components 1.3.83 → 1.3.85
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/CLAUDE.md +62 -0
- package/README.md +2 -116
- package/dist/jamespot-react-components.cjs +1191 -1184
- package/dist/jamespot-react-components.js +14084 -14070
- package/dist/src/components/404/JRC404.stories.d.ts +4 -0
- package/dist/src/components/Common/JRCConditionalWrapper.stories.d.ts +1 -1
- package/dist/src/components/Common/LimitLines.d.ts +1 -1
- package/dist/src/components/Common/Outline.stories.d.ts +1 -1
- package/dist/src/components/Deprecated/Deprecated_ClickAwayListener/ClickAwayListener.stories.d.ts +1 -1
- package/dist/src/components/Deprecated/Deprecated_JRCEllipsis/JRCEllipsis.stories.d.ts +1 -1
- package/dist/src/components/Drives/Dropbox/DropboxDocuments.d.ts +1 -4
- package/dist/src/components/Drives/JRCDriveDropbox.d.ts +2 -5
- package/dist/src/components/Drives/JRCDriveMSGraph.d.ts +2 -5
- package/dist/src/components/Drives/MicrosoftGraph/MSGraphDocuments.d.ts +1 -4
- package/dist/src/components/Drives/MicrosoftGraph/MSGraphGroups.d.ts +2 -5
- package/dist/src/components/Drives/MicrosoftGraph/MSGraphTenants.d.ts +2 -5
- package/dist/src/components/Drives/components/DriveAccountHeader.d.ts +2 -5
- package/dist/src/components/Drives/hooks.d.ts +1 -5
- package/dist/src/components/Editors/components/EditorButtonToggle.stories.d.ts +7 -0
- package/dist/src/components/Editors/components/EditorImageUpload.d.ts +2 -5
- package/dist/src/components/Editors/components/EditorInputCheckbox.stories.d.ts +8 -0
- package/dist/src/components/Editors/components/EditorInputImage.d.ts +1 -4
- package/dist/src/components/Editors/components/EditorInputNumber.stories.d.ts +8 -0
- package/dist/src/components/Editors/components/EditorInputToggle.stories.d.ts +7 -0
- package/dist/src/components/Editors/components/EditorRichText.d.ts +1 -5
- package/dist/src/components/Editors/components/EditorRichTextDialog.d.ts +1 -5
- package/dist/src/components/Form/Common/ClickAwayListener.stories.d.ts +1 -1
- package/dist/src/components/Form/Common/FormMessageFeedback.stories.d.ts +1 -1
- package/dist/src/components/Form/Input/Common/JRCFormErrors.stories.d.ts +1 -1
- package/dist/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.d.ts +4 -4
- package/dist/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputCheckbox/JRCInputToggle.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputColor/JRCInputColor.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputColor/JRCInputColorRaw.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputDateMulti/JRCInputDateMulti.stories.d.ts +1 -1
- package/dist/src/components/Form/Input/JRCInputDateTime/JRCInputDateTIme.stories.d.ts +1 -1
- package/dist/src/components/Form/Input/JRCInputEmail/JRCInputEmail.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputFile/JRCInputFile.d.ts +3 -3
- package/dist/src/components/Form/Input/JRCInputFile/JRCInputFile.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvanced.stories.d.ts +3 -3
- package/dist/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvancedRaw.d.ts +1 -6
- package/dist/src/components/Form/Input/JRCInputImage/JRCInputImage.stories.d.ts +3 -3
- package/dist/src/components/Form/Input/JRCInputRange/JRCInputRange.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputSearchRaw/JRCInputSearchRaw.stories.d.ts +1 -1
- package/dist/src/components/Form/Input/JRCInputSimpleFile/JRCInputSimpleFile.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputText/JRCInputPassword.stories.d.ts +10 -0
- package/dist/src/components/Form/Input/JRCInputText/JRCInputText.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.stories.d.ts +45 -0
- package/dist/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputTime/JRCInputTime.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputTinyMCE/JRCInputTinyMCE.d.ts +2 -5
- package/dist/src/components/Form/Input/JRCInputTinyMCE/JRCInputTinyMCE.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw.d.ts +1 -4
- package/dist/src/components/Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCInputTinyMCERaw/extensions/JIAExtension/JIATextGenerationExtension.d.ts +1 -0
- package/dist/src/components/Form/Input/JRCInputUrl/JRCInputUrl.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCSelect/JRCInputAudience.d.ts +0 -4
- package/dist/src/components/Form/Input/JRCSelect/JRCInputAudience.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.stories.d.ts +2 -2
- package/dist/src/components/Form/Input/JRCSelect/JRCInputSelectList.stories.d.ts +2 -2
- package/dist/src/components/JRCAlbum/JRCAlbum.stories.d.ts +1 -1
- package/dist/src/components/JRCAlbum/components/AlbumItem.d.ts +2 -2
- package/dist/src/components/JRCAlbum/components/AlbumX1.d.ts +1 -1
- package/dist/src/components/JRCAlbum/styles.d.ts +4 -16
- package/dist/src/components/JRCAlbum/types.d.ts +1 -2
- package/dist/src/components/JRCAlert/JRCAlert.stories.d.ts +5 -5
- package/dist/src/components/JRCAppHeader/JRCAppHeader.stories.d.ts +2 -2
- package/dist/src/components/JRCAttachments/JRCAttachments.d.ts +3 -2
- package/dist/src/components/JRCAttachments/JRCAttachments.stories.d.ts +3 -2
- package/dist/src/components/JRCAvatar/JRCAvatar.d.ts +1 -1
- package/dist/src/components/JRCAvatar/JRCAvatar.stories.d.ts +2 -2
- package/dist/src/components/JRCAvatars/JRCAvatars.stories.d.ts +1 -1
- package/dist/src/components/JRCBreadcrumb/JRCBreadcrumb.stories.d.ts +2 -2
- package/dist/src/components/JRCBusinessContactList/JRCBusinessContactList.stories.d.ts +2 -2
- package/dist/src/components/JRCBusinessContacts/JRCBusinessContacts.stories.d.ts +1 -1
- package/dist/src/components/JRCButtonDownload/JRCButtonDownload.stories.d.ts +5 -5
- package/dist/src/components/JRCButtonDropdown/JRCButtonDropdown.stories.d.ts +1 -1
- package/dist/src/components/JRCButtonFile/JRCButtonFile.stories.d.ts +4 -4
- package/dist/src/components/JRCCalendar/JRCCalendar.d.ts +1 -1
- package/dist/src/components/JRCCalendar/JRCCalendar.stories.d.ts +1 -1
- package/dist/src/components/JRCCalendar/JRCCalendarModal.d.ts +2 -7
- package/dist/src/components/JRCCalendar/types.d.ts +1 -8
- package/dist/src/components/JRCCard/JRCCard.stories.d.ts +2 -2
- package/dist/src/components/JRCCard/JRCCardImg.stories.d.ts +2 -2
- package/dist/src/components/JRCCollapse/JRCCollapse.stories.d.ts +1 -1
- package/dist/src/components/JRCCommentsBloc/JRCComment.d.ts +2 -12
- package/dist/src/components/JRCCommentsBloc/JRCCommentsBloc.d.ts +2 -12
- package/dist/src/components/JRCCommentsBloc/JRCCommentsBloc.stories.d.ts +2 -2
- package/dist/src/components/JRCCommentsBloc/components/EditComment.d.ts +2 -7
- package/dist/src/components/JRCCommentsBloc/components/NewComment.d.ts +2 -7
- package/dist/src/components/JRCConfirmationModal/JRCConfirmationModal.stories.d.ts +6 -0
- package/dist/src/components/JRCCropImage/JRCCropImage.stories.d.ts +2 -2
- package/dist/src/components/JRCDate/JRCDate.stories.d.ts +1 -1
- package/dist/src/components/JRCDisplayCard/JRCDisplayCard.stories.d.ts +2 -2
- package/dist/src/components/JRCDragNDrop/JRCDndOneLevel.stories.d.ts +1 -1
- package/dist/src/components/JRCDragNDrop/JRCDndOneLevelWithStack.stories.d.ts +1 -1
- package/dist/src/components/JRCDragNDrop/JRCDndTwoLevelWithStack.stories.d.ts +1 -1
- package/dist/src/components/JRCDropDown/JRCDropDown.stories.d.ts +1 -1
- package/dist/src/components/JRCEditor/JRCEditor.stories.d.ts +1 -1
- package/dist/src/components/JRCEmptySpace/JRCEmptySpace.stories.d.ts +2 -2
- package/dist/src/components/JRCFile/JRCFile.stories.d.ts +2 -2
- package/dist/src/components/JRCFile/JRCFileAvatar.d.ts +7 -1
- package/dist/src/components/JRCFileViewer/JRCFileViewer.stories.d.ts +2 -2
- package/dist/src/components/JRCFileViewer/JRCFileViewerOpenWithOptions.stories.d.ts +7 -0
- package/dist/src/components/JRCFlex/JRCFlexBox.stories.d.ts +1 -1
- package/dist/src/components/JRCFolders/JRCFolders.stories.d.ts +1 -1
- package/dist/src/components/JRCGifSelector/JRCGifSelector.stories.d.ts +1 -1
- package/dist/src/components/JRCGroupList/JRCGroupList.stories.d.ts +2 -2
- package/dist/src/components/JRCGroups/JRCGroups.stories.d.ts +1 -1
- package/dist/src/components/JRCHtml/JRCHtml.d.ts +8 -6
- package/dist/src/components/JRCHtml/JRCHtml.stories.d.ts +4 -2
- package/dist/src/components/JRCIcon/JRCIcon.stories.d.ts +1 -1
- package/dist/src/components/JRCIconButton/JRCIconButton.stories.d.ts +2 -2
- package/dist/src/components/JRCImg/JRCImg.stories.d.ts +3 -3
- package/dist/src/components/JRCList/JRCList.stories.d.ts +3 -3
- package/dist/src/components/JRCList/JRCListMockData.stories.d.ts +8 -2
- package/dist/src/components/JRCLoadMore/JRCLoadMore.stories.d.ts +1 -1
- package/dist/src/components/JRCLoader/JRCLoader.stories.d.ts +1 -1
- package/dist/src/components/JRCMediaLoader/JRCMediaLoader.stories.d.ts +1 -1
- package/dist/src/components/JRCMessage/JRCMessage.stories.d.ts +5 -5
- package/dist/src/components/JRCMetas/JRCMetas.d.ts +2 -1
- package/dist/src/components/JRCMetas/JRCMetas.stories.d.ts +3 -0
- package/dist/src/components/JRCModal/templates/JRCModal.stories.d.ts +2 -2
- package/dist/src/components/JRCModal/templates/JRCModalForm.stories.d.ts +2 -2
- package/dist/src/components/JRCModalImg/JRCModalImg.stories.d.ts +2 -2
- package/dist/src/components/JRCPagination/JRCPagination.stories.d.ts +2 -2
- package/dist/src/components/JRCProvider/JRCContext.d.ts +5 -0
- package/dist/src/components/JRCProvider/JRCProvider.d.ts +9 -0
- package/dist/src/components/JRCPublishButton/JRCPublishButton.stories.d.ts +1 -1
- package/dist/src/components/JRCQRCode/JRCQRCode.stories.d.ts +1 -1
- package/dist/src/components/JRCSidePanelModal/JRCSidePanelModal.stories.d.ts +2 -2
- package/dist/src/components/JRCSidePanelModal/JRCSidePanelModalForm.stories.d.ts +2 -2
- package/dist/src/components/JRCSkeleton/JRCSkeletonList.stories.d.ts +7 -0
- package/dist/src/components/JRCSlider/JRCSlider.stories.d.ts +2 -2
- package/dist/src/components/JRCSocialActions/JRCSocialActions.d.ts +2 -5
- package/dist/src/components/JRCStyledHref/JRCStyledHref.stories.d.ts +2 -2
- package/dist/src/components/JRCTabs/JRCTabs.stories.d.ts +2 -2
- package/dist/src/components/JRCTag/JRCTag.stories.d.ts +2 -2
- package/dist/src/components/JRCTooltip/JRCTooltip.stories.d.ts +1 -1
- package/dist/src/components/JRCTypography/JRCTypography.stories.d.ts +1 -1
- package/dist/src/components/JRCUserList/JRCUserList.stories.d.ts +2 -2
- package/dist/src/components/JRCUserPopup/JRCUserPopup.d.ts +2 -5
- package/dist/src/components/JRCUserPopup/JRCUserPopup.stories.d.ts +5 -4
- package/dist/src/components/JRCUsers/JRCUsers.stories.d.ts +1 -1
- package/dist/src/components/Stepper/JRCStepper.stories.d.ts +1 -1
- package/dist/src/components/Templates/JRCTemplate.stories.d.ts +3 -3
- package/dist/src/components/Templates/JRCTwoColumns.template.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetAccessibility/JRCWidgetAccessibility.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetAccessibility/JRCWidgetAccessibilityEditor.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.stories.d.ts +2 -2
- package/dist/src/components/Widgets/JRCWidgetArticleSlider/JRCWidgetArticleSliderEditor.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetArticleSlider/JRCWidgetArticleSliderEditorSlide.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetArticleSlider/JRCWidgetArticleSliderEditorSlideRemove.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.stories.d.ts +2 -2
- package/dist/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitle.stories.d.ts +8 -0
- package/dist/src/components/Widgets/JRCWidgetAttachment/JRCWidgetAttachment.d.ts +23 -5
- package/dist/src/components/Widgets/JRCWidgetAttachment/JRCWidgetAttachment.stories.d.ts +3 -4
- package/dist/src/components/Widgets/JRCWidgetButton/JRCWidgetButton.stories.d.ts +2 -2
- package/dist/src/components/Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDav.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDavEditor.stories.d.ts +6 -0
- package/dist/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList.stories.d.ts +2 -2
- package/dist/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListEditor.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListImage.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListItem.d.ts +1 -4
- package/dist/src/components/Widgets/JRCWidgetColor/JRCWidgetColor.stories.d.ts +8 -0
- package/dist/src/components/Widgets/JRCWidgetColor/JRCWidgetColorEditor.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDav.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDavEditor.stories.d.ts +6 -0
- package/dist/src/components/Widgets/JRCWidgetCover/JRCWidgetCoverEditor.d.ts +1 -1
- package/dist/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImap.stories.d.ts +8 -0
- package/dist/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapEditor.stories.d.ts +6 -0
- package/dist/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapLevel2.stories.d.ts +8 -0
- package/dist/src/components/Widgets/JRCWidgetEmptyInplace.stories.d.ts +6 -0
- package/dist/src/components/Widgets/JRCWidgetExtension/JRCWidgetExtensionEditor.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetIcon.stories.d.ts +8 -0
- package/dist/src/components/Widgets/JRCWidgetImage/JRCWidgetArticleImageEditor.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetImage/JRCWidgetImage.stories.d.ts +2 -2
- package/dist/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsence.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsenceEditor.stories.d.ts +6 -0
- package/dist/src/components/Widgets/JRCWidgetPresence/JRCWidgetPresenceEditor.stories.d.ts +8 -0
- package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey.stories.d.ts +2 -2
- package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditor.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditorAddEntry.stories.d.ts +6 -0
- package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditorEntries.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyImage.stories.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyItemWrapper.d.ts +1 -4
- package/dist/src/components/Widgets/JRCWidgetSlider/JRCWidgetSliderEditor.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetSlider/JRCWidgetSliderEditorSlide.d.ts +2 -5
- package/dist/src/components/Widgets/JRCWidgetSlider/components/CoverSliderSlide.stories.d.ts +6 -0
- package/dist/src/components/Widgets/JRCWidgetSurveyDate/JRCWidgetSurveyDate.stories.d.ts +2 -2
- package/dist/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.stories.d.ts +4 -4
- package/dist/src/components/Widgets/JRCWidgetText/JRCWidgetText.stories.d.ts +8 -0
- package/dist/src/components/Widgets/JRCWidgetText/JRCWidgetTextEditor.d.ts +3 -6
- package/dist/src/components/Widgets/JRCWidgetUserProfile/JRCWidgetUserProfile.stories.d.ts +6 -6
- package/dist/src/components/Widgets/JRCWidgetWelcome/JRCWidgetWelcome.stories.d.ts +9 -9
- package/dist/src/hooks/UseDebounce.stories.d.ts +1 -1
- package/dist/src/hooks/UseImageLoader.stories.d.ts +7 -0
- package/dist/src/hooks/index.d.ts +2 -1
- package/dist/src/hooks/useApi.d.ts +2 -0
- package/dist/src/hooks/useRefSize.stories.d.ts +4 -0
- package/dist/src/index.d.ts +2 -2
- package/dist/src/styles/theme.d.ts +9 -7
- package/dist/src/translation/lang.json.d.ts +5 -0
- package/dist/src/types.d.ts +1 -1
- package/dist/src/utils/utils.html.d.ts +4 -0
- package/package.json +24 -52
- package/dist/src/components/JRCThemeProvider/JRCThemeProvider.d.ts +0 -10
- package/jamespot-react-components@1.3.14 +0 -0
- package/vite +0 -0
- /package/dist/src/components/404/{index.d.ts → JRC404.d.ts} +0 -0
package/dist/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.stories.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { WidgetArticleGalleryContent } from 'jamespot-user-api';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, WidgetArticleGalleryContent & {
|
|
6
6
|
maxWidth: number;
|
|
7
7
|
onClick: (idFile: number) => void;
|
|
8
8
|
}>;
|
package/dist/src/components/Widgets/JRCWidgetArticleSlider/JRCWidgetArticleSliderEditor.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const JRCWidgetArticleSliderEditor: ({ slides, loop, autoplay, delay, useDots, token, onChange, onSave,
|
|
1
|
+
import { WidgetArticleSliderContent } from 'jamespot-user-api';
|
|
2
|
+
export declare const JRCWidgetArticleSliderEditor: ({ slides, loop, autoplay, delay, useDots, token, onChange, onSave, }: WidgetArticleSliderContent & {
|
|
3
3
|
token: string;
|
|
4
4
|
onSave: (content: Partial<WidgetArticleSliderContent>) => void;
|
|
5
5
|
onChange: (content: Partial<WidgetArticleSliderContent>, override?: boolean) => void;
|
|
6
|
-
handlers: {
|
|
7
|
-
file: Pick<JFileApi, "upload" | "update" | "deleteImage" | "deleteFile">;
|
|
8
|
-
};
|
|
9
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
package/dist/src/components/Widgets/JRCWidgetArticleSlider/JRCWidgetArticleSliderEditorSlide.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jFileLittle } from 'jamespot-user-api';
|
|
2
2
|
import { WidgetArticleSlideAttributes } from './types';
|
|
3
|
-
export declare const JRCWidgetArticleSliderEditorSlide: ({ forceOpen, title, text, opacityColor, opacityFilter, displayAs, backgroundSize, backgroundPosition, file, token, onUploadSuccess, onSave, onClickDelete,
|
|
3
|
+
export declare const JRCWidgetArticleSliderEditorSlide: ({ forceOpen, title, text, opacityColor, opacityFilter, displayAs, backgroundSize, backgroundPosition, file, token, onUploadSuccess, onSave, onClickDelete, }: {
|
|
4
4
|
forceOpen?: boolean;
|
|
5
5
|
file?: jFileLittle;
|
|
6
6
|
token?: string;
|
|
@@ -8,7 +8,4 @@ export declare const JRCWidgetArticleSliderEditorSlide: ({ forceOpen, title, tex
|
|
|
8
8
|
onUploadSuccess: (response: jFileLittle | undefined) => void;
|
|
9
9
|
onSave: (slide: Partial<WidgetArticleSlideAttributes>) => void;
|
|
10
10
|
onClickDelete: () => void;
|
|
11
|
-
handlers: {
|
|
12
|
-
file: Pick<JFileApi, "upload" | "update" | "deleteImage" | "deleteFile">;
|
|
13
|
-
};
|
|
14
11
|
} & Pick<WidgetArticleSlideAttributes, "title" | "text" | "opacityColor" | "opacityFilter" | "displayAs" | "backgroundSize" | "backgroundPosition">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetArticleSliderEditorSlideRemove } from './JRCWidgetArticleSliderEditorSlideRemove';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetArticleSliderEditorSlideRemove>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetArticleSliderEditorSlideRemove>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const WithCustomDescription: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WidgetDisplayMode } from 'jamespot-user-api';
|
|
2
2
|
import { JRCInputTinyMCERawProps } from '../../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
3
3
|
import { TinyMCEExtension } from '../../Form/Input/JRCInputTinyMCERaw/types';
|
|
4
4
|
export type JRCWidgetArticleTextProps = {
|
|
@@ -9,8 +9,5 @@ export type JRCWidgetArticleTextProps = {
|
|
|
9
9
|
onChange: (text: string) => void;
|
|
10
10
|
additionalExtensions?: Array<TinyMCEExtension>;
|
|
11
11
|
tinyMCECommonOptions?: Pick<JRCInputTinyMCERawProps, 'commonOptions' | 'mentionsQueries'> & Partial<Pick<JRCInputTinyMCERawProps, 'tinymceScriptSrc'>>;
|
|
12
|
-
handlers: {
|
|
13
|
-
file: Pick<JFileApi, 'upload'>;
|
|
14
|
-
};
|
|
15
12
|
};
|
|
16
|
-
export declare const JRCWidgetArticleText: ({ text, autoFocus, token, mode, onChange, additionalExtensions, tinyMCECommonOptions,
|
|
13
|
+
export declare const JRCWidgetArticleText: ({ text, autoFocus, token, mode, onChange, additionalExtensions, tinyMCECommonOptions, }: JRCWidgetArticleTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { WidgetArticleTextContent, WidgetDefaultProps } from 'jamespot-user-api';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, WidgetDefaultProps & {
|
|
6
6
|
content: WidgetArticleTextContent;
|
|
7
7
|
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetArticleTitle } from './JRCWidgetArticleTitle';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetArticleTitle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetArticleTitle>;
|
|
6
|
+
export declare const ReadOnly: Story;
|
|
7
|
+
export declare const InplaceEdit: Story;
|
|
8
|
+
export declare const HtmlContent: Story;
|
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
import { default as jamespot } from 'jamespot-user-api';
|
|
2
|
+
declare const DISPLAYS: {
|
|
3
|
+
readonly medium: {
|
|
4
|
+
readonly avatar: 40;
|
|
5
|
+
readonly radius: "sm";
|
|
6
|
+
readonly space: "sm";
|
|
7
|
+
};
|
|
8
|
+
readonly large: {
|
|
9
|
+
readonly avatar: 80;
|
|
10
|
+
readonly radius: "md";
|
|
11
|
+
readonly space: "md";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type AttachmentDisplayValues = keyof typeof DISPLAYS;
|
|
2
15
|
export declare const CSSWidgetAttachment: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
-
|
|
16
|
+
$display: AttachmentDisplayValues;
|
|
17
|
+
}>> & string;
|
|
18
|
+
export declare const CSSWidgetAttachmentButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
19
|
+
$display: AttachmentDisplayValues;
|
|
4
20
|
}>> & string;
|
|
21
|
+
export declare const CSSWidgetAttachmentActions: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
22
|
export type JRCWidgetAttachmentProps = {
|
|
6
23
|
files: {
|
|
7
24
|
id: number;
|
|
@@ -18,11 +35,12 @@ export type JRCWidgetAttachmentProps = {
|
|
|
18
35
|
fileGeneratePreview: typeof jamespot.file.generatePreview;
|
|
19
36
|
};
|
|
20
37
|
mode?: 'view' | 'edit';
|
|
38
|
+
onClick: (idFile: number) => void;
|
|
39
|
+
inline?: boolean;
|
|
40
|
+
display?: AttachmentDisplayValues;
|
|
21
41
|
};
|
|
22
42
|
/**
|
|
23
43
|
* TODO: resolveFileMimetype should be done before
|
|
24
44
|
*/
|
|
25
|
-
export declare const JRCWidgetAttachment: ({ files, inline, onClick, onDelete, onError, mocks, mode, }: JRCWidgetAttachmentProps
|
|
26
|
-
|
|
27
|
-
inline?: boolean;
|
|
28
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
export declare const JRCWidgetAttachment: ({ files, inline, onClick, onDelete, onError, mocks, mode, display, }: JRCWidgetAttachmentProps) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCWidgetAttachmentProps } from './JRCWidgetAttachment';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
6
|
-
|
|
7
|
-
}>;
|
|
5
|
+
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCWidgetAttachmentProps>;
|
|
6
|
+
export declare const Large: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCWidgetAttachmentProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
declare const _default: Meta;
|
|
3
3
|
export default _default;
|
|
4
|
-
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
4
|
+
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('@storybook/react-vite').Args>;
|
package/dist/src/components/Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDav.stories.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetCalendarCalDav } from './JRCWidgetCalendarCalDav';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetCalendarCalDav>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetCalendarCalDav>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetCalendarCalDavEditor } from './JRCWidgetCalendarCalDavEditor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetCalendarCalDavEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetCalendarCalDavEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
declare const _default: Meta;
|
|
3
3
|
export default _default;
|
|
4
|
-
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
4
|
+
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('@storybook/react-vite').Args>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CombinedWidgetContent,
|
|
1
|
+
import { CombinedWidgetContent, WidgetCheckListContent, WidgetCheckListContentArr } from 'jamespot-user-api';
|
|
2
2
|
type JRCWidgetCheckListEditorProps = {
|
|
3
3
|
token?: string;
|
|
4
4
|
uniqid: string;
|
|
@@ -13,9 +13,6 @@ type JRCWidgetCheckListEditorProps = {
|
|
|
13
13
|
}) => void;
|
|
14
14
|
onSave?: (uniqid: string, content: Partial<CombinedWidgetContent>) => void;
|
|
15
15
|
handleChange: (content: Partial<WidgetCheckListContent>) => void;
|
|
16
|
-
handlers: {
|
|
17
|
-
file: Pick<JFileApi, 'upload' | 'update' | 'deleteImage' | 'deleteFile'>;
|
|
18
|
-
};
|
|
19
16
|
};
|
|
20
|
-
export declare const JRCWidgetCheckListEditor: ({ token, uniqid, content, inplace, onChangeContent, onChangeWrapper, handleChange,
|
|
17
|
+
export declare const JRCWidgetCheckListEditor: ({ token, uniqid, content, inplace, onChangeContent, onChangeWrapper, handleChange, }: JRCWidgetCheckListEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
18
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetCheckListImage } from './JRCWidgetCheckListImage';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetCheckListImage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetCheckListImage>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const RemovableOnHover: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WidgetCheckListContentArr, jFileLittle, jHref } from 'jamespot-user-api';
|
|
2
2
|
import { FC, RefObject } from 'react';
|
|
3
3
|
type Item = {
|
|
4
4
|
title: string;
|
|
@@ -20,9 +20,6 @@ type JRCWidgetCheckListItemProps = {
|
|
|
20
20
|
handleRemoveImage: (idWidget: number) => void;
|
|
21
21
|
handleAddImageWidget: (index: number, file: jFileLittle) => void;
|
|
22
22
|
handleNewItem: () => void;
|
|
23
|
-
handlers: {
|
|
24
|
-
file: Pick<JFileApi, 'upload' | 'update' | 'deleteImage' | 'deleteFile'>;
|
|
25
|
-
};
|
|
26
23
|
};
|
|
27
24
|
export declare const JRCWidgetCheckListItem: FC<JRCWidgetCheckListItemProps>;
|
|
28
25
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetColor } from './JRCWidgetColor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetColor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetColor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const NoColor: Story;
|
|
8
|
+
export declare const TransparentRed: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetColorEditor } from './JRCWidgetColorEditor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetColorEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetColorEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const NoColor: Story;
|
package/dist/src/components/Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDav.stories.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetContactCardDav } from './JRCWidgetContactCardDav';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetContactCardDav>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetContactCardDav>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetContactCardDavEditor } from './JRCWidgetContactCardDavEditor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetContactCardDavEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetContactCardDavEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -13,4 +13,4 @@ export interface JRCWidgetCoverEditorProps {
|
|
|
13
13
|
/**
|
|
14
14
|
* Widget Cover editor component
|
|
15
15
|
*/
|
|
16
|
-
export declare const JRCWidgetCoverEditor: ({ uniqid, content, onChangeContent, token, tinyMCECommonOptions,
|
|
16
|
+
export declare const JRCWidgetCoverEditor: ({ uniqid, content, onChangeContent, token, tinyMCECommonOptions, }: JRCWidgetCoverEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetEmailsImap } from './JRCWidgetEmailsImap';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetEmailsImap>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetEmailsImap>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
8
|
+
export declare const AllUnread: Story;
|
package/dist/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapEditor.stories.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetEmailsImapEditor } from './JRCWidgetEmailsImapEditor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetEmailsImapEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetEmailsImapEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
package/dist/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapLevel2.stories.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetEmailsImapLevel2 } from './JRCWidgetEmailsImapLevel2';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetEmailsImapLevel2>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetEmailsImapLevel2>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Zero: Story;
|
|
8
|
+
export declare const ExceedsMaxValue: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetEmptyInplace } from './JRCWidgetEmptyInplace';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetEmptyInplace>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetEmptyInplace>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetExtensionEditor } from './JRCWidgetExtensionEditor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetExtensionEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetExtensionEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetIcon } from './JRCWidgetIcon';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetIcon>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Zero: Story;
|
|
8
|
+
export declare const ExceedsMaxValue: Story;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WidgetArticleImageContent, WidgetStateProps } from 'jamespot-user-api';
|
|
2
2
|
/**
|
|
3
3
|
* Custom widget image editor for article widget image
|
|
4
4
|
*/
|
|
5
|
-
export declare const JRCWidgetArticleImageEditor: ({ token, content, onSave, onStateChange,
|
|
5
|
+
export declare const JRCWidgetArticleImageEditor: ({ token, content, onSave, onStateChange, }: {
|
|
6
6
|
token: string | undefined;
|
|
7
7
|
content: WidgetArticleImageContent;
|
|
8
8
|
onChange: (content: Partial<WidgetArticleImageContent>, override?: boolean) => void;
|
|
9
9
|
onSave: (content: Partial<WidgetArticleImageContent>) => void;
|
|
10
10
|
onStateChange: (state: WidgetStateProps) => void;
|
|
11
|
-
handlers: {
|
|
12
|
-
file: Pick<JFileApi, "upload" | "update" | "deleteImage" | "deleteFile">;
|
|
13
|
-
};
|
|
14
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
declare const _default: Meta;
|
|
3
3
|
export default _default;
|
|
4
|
-
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
4
|
+
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('@storybook/react-vite').Args>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetLuccaAbsence } from './JRCWidgetLuccaAbsence';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetLuccaAbsence>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetLuccaAbsence>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Empty: Story;
|
package/dist/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsenceEditor.stories.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetLuccaAbsenceEditor } from './JRCWidgetLuccaAbsenceEditor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetLuccaAbsenceEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetLuccaAbsenceEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetPresenceEditor } from './JRCWidgetPresenceEditor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetPresenceEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetPresenceEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const WithLimit: Story;
|
|
8
|
+
export declare const Closing: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
declare const _default: Meta;
|
|
3
3
|
export default _default;
|
|
4
|
-
export declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
4
|
+
export declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('@storybook/react-vite').Args>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CombinedWidgetContent,
|
|
1
|
+
import { CombinedWidgetContent, WidgetQuickSurveyContent, WidgetQuickSurveyContentArr } from 'jamespot-user-api';
|
|
2
2
|
type JRCWidgetSurveyEditorProps = {
|
|
3
3
|
token?: string;
|
|
4
4
|
uniqid: string;
|
|
@@ -14,9 +14,6 @@ type JRCWidgetSurveyEditorProps = {
|
|
|
14
14
|
}) => void;
|
|
15
15
|
onSave?: (uniqid: string, content: Partial<CombinedWidgetContent>) => void;
|
|
16
16
|
handleChange: (content: Partial<WidgetQuickSurveyContent>) => void;
|
|
17
|
-
handlers: {
|
|
18
|
-
file: Pick<JFileApi, 'upload' | 'update' | 'deleteImage' | 'deleteFile'>;
|
|
19
|
-
};
|
|
20
17
|
};
|
|
21
|
-
export declare const JRCWidgetQuickSurveyEditor: ({ token, uniqid, uri, content, inplace, handleChange,
|
|
18
|
+
export declare const JRCWidgetQuickSurveyEditor: ({ token, uniqid, uri, content, inplace, handleChange, }: JRCWidgetSurveyEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
19
|
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetQuickSurveyEditorAddEntry } from './JRCWidgetQuickSurveyEditorAddEntry';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetQuickSurveyEditorAddEntry>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetQuickSurveyEditorAddEntry>;
|
|
6
|
+
export declare const Primary: Story;
|
package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditorEntries.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const JRCWidgetQuickSurveyEditorEntries: ({ content, token, handleChange, isStarted,
|
|
1
|
+
import { WidgetQuickSurveyContent } from 'jamespot-user-api';
|
|
2
|
+
export declare const JRCWidgetQuickSurveyEditorEntries: ({ content, token, handleChange, isStarted, }: {
|
|
3
3
|
content: WidgetQuickSurveyContent;
|
|
4
4
|
token: string;
|
|
5
5
|
handleChange: (content: Partial<WidgetQuickSurveyContent>) => void;
|
|
6
6
|
isStarted?: boolean;
|
|
7
|
-
handlers: {
|
|
8
|
-
file: Pick<JFileApi, "upload" | "update" | "deleteImage" | "deleteFile">;
|
|
9
|
-
};
|
|
10
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyImage.stories.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetQuickSurveyImage } from './JRCWidgetQuickSurveyImage';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetQuickSurveyImage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetQuickSurveyImage>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const RemovableOnHover: Story;
|
package/dist/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyItemWrapper.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jFileLittle, WidgetQuickSurveyContentArr } from 'jamespot-user-api';
|
|
2
2
|
import { FC, RefObject } from 'react';
|
|
3
3
|
type Item = {
|
|
4
4
|
title: string;
|
|
@@ -17,9 +17,6 @@ type JRCWidgetQuickSurveyWrapperItemProps = {
|
|
|
17
17
|
handleAddImageWidget: (index: number, file: jFileLittle) => void;
|
|
18
18
|
handleNewItem: () => void;
|
|
19
19
|
isStarted?: boolean;
|
|
20
|
-
handlers: {
|
|
21
|
-
file: Pick<JFileApi, 'upload' | 'update' | 'deleteImage' | 'deleteFile'>;
|
|
22
|
-
};
|
|
23
20
|
};
|
|
24
21
|
export declare const JRCWidgetQuickSurveyWrapperItem: FC<JRCWidgetQuickSurveyWrapperItemProps>;
|
|
25
22
|
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WidgetSliderContent } from 'jamespot-user-api';
|
|
2
2
|
import { JRCInputTinyMCERawProps } from '../../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
3
|
-
export declare const JRCWidgetSliderEditor: ({ slides, loop, autoplay, delay, useDots, token, onChange, tinyMCECommonOptions,
|
|
3
|
+
export declare const JRCWidgetSliderEditor: ({ slides, loop, autoplay, delay, useDots, token, onChange, tinyMCECommonOptions, }: WidgetSliderContent & {
|
|
4
4
|
token: string;
|
|
5
5
|
onSave: (content: Partial<WidgetSliderContent>) => void;
|
|
6
6
|
onChange: (content: Partial<WidgetSliderContent>, override?: boolean) => void;
|
|
7
7
|
tinyMCECommonOptions?: Pick<JRCInputTinyMCERawProps, "commonOptions" | "mentionsQueries">;
|
|
8
|
-
handlers?: {
|
|
9
|
-
file: Pick<JFileApi, "get" | "upload" | "update" | "deleteImage" | "deleteFile">;
|
|
10
|
-
};
|
|
11
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WidgetCoverSlide } from 'jamespot-user-api';
|
|
2
2
|
import { JRCInputTinyMCERawProps } from '../../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
3
|
-
export declare const JRCWidgetSliderEditorSlide: ({ forceOpen, id, title, text, titleHeading, opacityColor, opacityFilter, button, token, onUploadSuccess, onSave, onClickDelete, tinyMCECommonOptions,
|
|
3
|
+
export declare const JRCWidgetSliderEditorSlide: ({ forceOpen, id, title, text, titleHeading, opacityColor, opacityFilter, button, token, onUploadSuccess, onSave, onClickDelete, tinyMCECommonOptions, }: {
|
|
4
4
|
forceOpen?: boolean;
|
|
5
5
|
token?: string;
|
|
6
6
|
onUploadStart: () => void;
|
|
@@ -8,7 +8,4 @@ export declare const JRCWidgetSliderEditorSlide: ({ forceOpen, id, title, text,
|
|
|
8
8
|
onSave: (slide: Partial<WidgetCoverSlide>) => void;
|
|
9
9
|
onClickDelete: () => void;
|
|
10
10
|
tinyMCECommonOptions?: Pick<JRCInputTinyMCERawProps, "commonOptions" | "mentionsQueries">;
|
|
11
|
-
handlers?: {
|
|
12
|
-
file: Pick<JFileApi, "get" | "upload" | "update" | "deleteImage" | "deleteFile">;
|
|
13
|
-
};
|
|
14
11
|
} & Pick<WidgetCoverSlide, "id" | "title" | "text" | "titleHeading" | "opacityColor" | "opacityFilter" | "button">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { CoverSliderSlide } from './CoverSliderSlide';
|
|
3
|
+
declare const meta: Meta<typeof CoverSliderSlide>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CoverSliderSlide>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCWidgetSurveyDateProps } from './JRCWidgetSurveyDate';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCWidgetSurveyDateProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
declare const _default: Meta;
|
|
3
3
|
export default _default;
|
|
4
|
-
export declare const WidgetTable: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
-
export declare const WidgetDatasourceTableStudio: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
6
|
-
export declare const WidgetExcelDatasourceTable: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
4
|
+
export declare const WidgetTable: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('@storybook/react-vite').Args>;
|
|
5
|
+
export declare const WidgetDatasourceTableStudio: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('@storybook/react-vite').Args>;
|
|
6
|
+
export declare const WidgetExcelDatasourceTable: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('@storybook/react-vite').Args>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetText } from './JRCWidgetText';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetText>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const CenteredAccent: Story;
|
|
8
|
+
export declare const Empty: Story;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TinyMCEExtension } from '../../Form/Input/JRCInputTinyMCERaw/types';
|
|
1
|
+
import { WidgetTextContent } from 'jamespot-user-api';
|
|
3
2
|
import { JRCInputTinyMCERawProps } from '../../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
3
|
+
import { TinyMCEExtension } from '../../Form/Input/JRCInputTinyMCERaw/types';
|
|
4
4
|
export interface JRCWidgetTextEditorProps extends WidgetTextContent {
|
|
5
5
|
uniqid: string;
|
|
6
6
|
content: WidgetTextContent;
|
|
@@ -8,11 +8,8 @@ export interface JRCWidgetTextEditorProps extends WidgetTextContent {
|
|
|
8
8
|
token: string | undefined;
|
|
9
9
|
additionalExtensions?: Array<TinyMCEExtension>;
|
|
10
10
|
tinyMCECommonOptions?: Pick<JRCInputTinyMCERawProps, 'commonOptions' | 'mentionsQueries'> & Partial<Pick<JRCInputTinyMCERawProps, 'tinymceScriptSrc'>>;
|
|
11
|
-
handlers: {
|
|
12
|
-
file: Pick<JFileApi, 'upload'>;
|
|
13
|
-
};
|
|
14
11
|
}
|
|
15
12
|
/**
|
|
16
13
|
* Widget Text editor component
|
|
17
14
|
*/
|
|
18
|
-
export declare const JRCWidgetTextEditor: ({ uniqid, content, onChangeContent, token, additionalExtensions, tinyMCECommonOptions,
|
|
15
|
+
export declare const JRCWidgetTextEditor: ({ uniqid, content, onChangeContent, token, additionalExtensions, tinyMCECommonOptions, }: JRCWidgetTextEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCWidgetUserProfile, JRCWidgetUserProfileProps } from './JRCWidgetUserProfile';
|
|
3
3
|
declare const _default: Meta<typeof JRCWidgetUserProfile>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const OnlyPicture: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
6
|
-
export declare const WithFirstName: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
7
|
-
export declare const WithFirstNameLastName: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
8
|
-
export declare const MissingFirstName: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
9
|
-
export declare const MissingLastName: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const OnlyPicture: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCWidgetUserProfileProps>;
|
|
6
|
+
export declare const WithFirstName: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCWidgetUserProfileProps>;
|
|
7
|
+
export declare const WithFirstNameLastName: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCWidgetUserProfileProps>;
|
|
8
|
+
export declare const MissingFirstName: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCWidgetUserProfileProps>;
|
|
9
|
+
export declare const MissingLastName: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCWidgetUserProfileProps>;
|