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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import { JRCConditionalWrapperProps } from './JRCConditionalWrapper';
|
|
3
3
|
type JRCConditionalWrapperStoryProps = JRCConditionalWrapperProps & {
|
|
4
4
|
wrappedContent: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropboxDocumentEntity
|
|
1
|
+
import { DropboxDocumentEntity } from 'jamespot-user-api';
|
|
2
2
|
type DropboxDocumentsProps = {
|
|
3
3
|
path: string;
|
|
4
4
|
initialFolderColor?: string;
|
|
@@ -10,9 +10,6 @@ type DropboxDocumentsProps = {
|
|
|
10
10
|
onSelectDocument?: (entity: DropboxDocumentEntity) => void;
|
|
11
11
|
onSelectMultiDocument?: (entity: DropboxDocumentEntity) => void;
|
|
12
12
|
onError?: (code: string) => void;
|
|
13
|
-
handlers: {
|
|
14
|
-
drive: Pick<JDriveApi, 'dropboxDocuments'>;
|
|
15
|
-
};
|
|
16
13
|
id: string;
|
|
17
14
|
service: string;
|
|
18
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DriveAccount, DriveItemType, DropboxDocumentEntity
|
|
1
|
+
import { DriveAccount, DriveItemType, DropboxDocumentEntity } from 'jamespot-user-api';
|
|
2
2
|
type JRCDriveDropboxProps = {
|
|
3
3
|
initialFolder?: DriveItemType;
|
|
4
4
|
initialFolderColor?: string;
|
|
@@ -9,13 +9,10 @@ type JRCDriveDropboxProps = {
|
|
|
9
9
|
onSelectMultiDocument?: (items: DropboxDocumentEntity[]) => void;
|
|
10
10
|
onSelectDocument?: (item: DropboxDocumentEntity, lastFolder: DropboxDocumentEntity | undefined) => void;
|
|
11
11
|
onError?: (code?: string) => void;
|
|
12
|
-
handlers: {
|
|
13
|
-
drive: Pick<JDriveApi, 'dropboxDocuments' | 'groups' | 'tenants' | 'listAccount' | 'isAccountLogged' | 'checkAccountToken' | 'getAccount' | 'logout' | 'setDefaultAccount'>;
|
|
14
|
-
};
|
|
15
12
|
handleLogin?: boolean;
|
|
16
13
|
onLogin?: (account: DriveAccount) => void;
|
|
17
14
|
onLogout?: () => void;
|
|
18
15
|
currentAccount?: DriveAccount;
|
|
19
16
|
};
|
|
20
|
-
export declare const JRCDriveDropbox: ({ initialFolder, initialFolderColor, useDocumentFilters, useFilter, useNavigation, onSelect, onSelectDocument, onSelectMultiDocument, onError,
|
|
17
|
+
export declare const JRCDriveDropbox: ({ initialFolder, initialFolderColor, useDocumentFilters, useFilter, useNavigation, onSelect, onSelectDocument, onSelectMultiDocument, onError, handleLogin, onLogin, currentAccount, }: JRCDriveDropboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
18
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DriveAccount, DriveItemType,
|
|
1
|
+
import { DriveAccount, DriveItemType, MSDocumentParams, MSUnifiedEntity } from 'jamespot-user-api';
|
|
2
2
|
type JRCDriveMSGraphProps = {
|
|
3
3
|
initialParams?: MSDocumentParams;
|
|
4
4
|
initialFolder?: DriveItemType;
|
|
@@ -10,13 +10,10 @@ type JRCDriveMSGraphProps = {
|
|
|
10
10
|
onSelectMultiDocument?: (items: MSUnifiedEntity[], driveParams: MSDocumentParams) => void;
|
|
11
11
|
onSelectDocument?: (item: MSUnifiedEntity, lastFolder: MSUnifiedEntity | undefined, driveParams: MSDocumentParams) => void;
|
|
12
12
|
onError?: (code?: string) => void;
|
|
13
|
-
handlers: {
|
|
14
|
-
drive: Pick<JDriveApi, 'msDocuments' | 'groups' | 'tenants' | 'listAccount' | 'isAccountLogged' | 'checkAccountToken' | 'getAccount' | 'logout' | 'setDefaultAccount'>;
|
|
15
|
-
};
|
|
16
13
|
handleLogin?: boolean;
|
|
17
14
|
onLogin?: (account: DriveAccount) => void;
|
|
18
15
|
onLogout?: () => void;
|
|
19
16
|
currentAccount?: DriveAccount;
|
|
20
17
|
};
|
|
21
|
-
export declare const JRCDriveMSGraph: ({ initialParams, initialFolder, initialFolderColor, useDocumentFilters, useFilter, useNavigation, onSelect, onSelectDocument, onSelectMultiDocument, onError,
|
|
18
|
+
export declare const JRCDriveMSGraph: ({ initialParams, initialFolder, initialFolderColor, useDocumentFilters, useFilter, useNavigation, onSelect, onSelectDocument, onSelectMultiDocument, onError, handleLogin, onLogin, currentAccount, }: JRCDriveMSGraphProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
19
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MSDocumentParams, MSUnifiedEntity } from 'jamespot-user-api';
|
|
2
2
|
type MSGraphDocumentsProps = {
|
|
3
3
|
driveDocumentParams: MSDocumentParams;
|
|
4
4
|
initialFolderColor?: string;
|
|
@@ -10,9 +10,6 @@ type MSGraphDocumentsProps = {
|
|
|
10
10
|
onSelectDocument?: (entity: MSUnifiedEntity) => void;
|
|
11
11
|
onSelectMultiDocument?: (entity: MSUnifiedEntity) => void;
|
|
12
12
|
onError?: (code: string) => void;
|
|
13
|
-
handlers: {
|
|
14
|
-
drive: Pick<JDriveApi, 'msDocuments'>;
|
|
15
|
-
};
|
|
16
13
|
id: string;
|
|
17
14
|
};
|
|
18
15
|
export declare const MSGraphDocuments: (props: MSGraphDocumentsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MSGroupEntity } from 'jamespot-user-api';
|
|
2
2
|
export declare const LoaderWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
type MSGraphGroupsProps = {
|
|
4
4
|
useFilter: boolean;
|
|
@@ -7,10 +7,7 @@ type MSGraphGroupsProps = {
|
|
|
7
7
|
onSelect?: (entity: MSGroupEntity) => void;
|
|
8
8
|
onClick: (entity: MSGroupEntity) => void;
|
|
9
9
|
onError?: (code: string) => void;
|
|
10
|
-
handlers: {
|
|
11
|
-
drive: Pick<JDriveApi, 'groups'>;
|
|
12
|
-
};
|
|
13
10
|
id: string;
|
|
14
11
|
};
|
|
15
|
-
export declare const MSGraphGroups: ({ useFilter, useNavigation, onSelect, onClick,
|
|
12
|
+
export declare const MSGraphGroups: ({ useFilter, useNavigation, onSelect, onClick, onError, id, }: MSGraphGroupsProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
13
|
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const MSGraphTenants: ({ initialFolderColor, onClick, onError,
|
|
1
|
+
import { MSTenantEntity } from 'jamespot-user-api';
|
|
2
|
+
export declare const MSGraphTenants: ({ initialFolderColor, onClick, onError, id, }: {
|
|
3
3
|
initialFolderColor?: string;
|
|
4
4
|
onClick: (entity: MSTenantEntity) => void;
|
|
5
5
|
onError?: (code: string) => void;
|
|
6
|
-
handlers: {
|
|
7
|
-
drive: Pick<JDriveApi, "tenants">;
|
|
8
|
-
};
|
|
9
6
|
id: string;
|
|
10
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DriveAccount
|
|
1
|
+
import { DriveAccount } from 'jamespot-user-api';
|
|
2
2
|
import { DriveService } from '../drive.types';
|
|
3
3
|
type DriveAccountHeaderProps = {
|
|
4
4
|
accounts?: DriveAccount[];
|
|
@@ -7,13 +7,10 @@ type DriveAccountHeaderProps = {
|
|
|
7
7
|
onLogout: () => void;
|
|
8
8
|
onLogin: (account: DriveAccount) => void;
|
|
9
9
|
onSetDefaultAccount: (account: DriveAccount) => void;
|
|
10
|
-
handlers: {
|
|
11
|
-
drive: Pick<JDriveApi, 'getAccount' | 'logout' | 'setDefaultAccount'>;
|
|
12
|
-
};
|
|
13
10
|
onLoginError: (errorMsg?: string) => void;
|
|
14
11
|
service: DriveService;
|
|
15
12
|
description?: string;
|
|
16
13
|
onError?: (code: string) => void;
|
|
17
14
|
};
|
|
18
|
-
export declare const DriveAccountHeader: ({ accounts, activeAccount, onLogout, onLogin, onSetDefaultAccount,
|
|
15
|
+
export declare const DriveAccountHeader: ({ accounts, activeAccount, onLogout, onLogin, onSetDefaultAccount, isLogged, onLoginError, service, description, onError, }: DriveAccountHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
16
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { JDriveApi } from 'jamespot-user-api';
|
|
2
1
|
type ErrorType = {
|
|
3
2
|
error: number;
|
|
4
3
|
errorMsg: string;
|
|
@@ -10,10 +9,7 @@ type ErrorType = {
|
|
|
10
9
|
/**
|
|
11
10
|
* This is only used inside App365. if you need to use it outside of this component, consider making it a slice
|
|
12
11
|
*/
|
|
13
|
-
export declare function useTenants({
|
|
14
|
-
handlers: {
|
|
15
|
-
drive: Pick<JDriveApi, 'tenants'>;
|
|
16
|
-
};
|
|
12
|
+
export declare function useTenants({ id }: {
|
|
17
13
|
id: string;
|
|
18
14
|
}): {
|
|
19
15
|
loading: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { EditorButtonToggle } from './EditorButtonToggle';
|
|
3
|
+
declare const meta: Meta<typeof EditorButtonToggle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof EditorButtonToggle>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const SmallSize: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jFileLittle } from 'jamespot-user-api';
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
3
|
type EditorImageUploadProps = {
|
|
4
4
|
token: string;
|
|
@@ -8,9 +8,6 @@ type EditorImageUploadProps = {
|
|
|
8
8
|
onUploadSuccess: (file: jFileLittle | undefined) => void;
|
|
9
9
|
onLoading?: (isLoading: boolean) => void;
|
|
10
10
|
deferServerCalls?: boolean;
|
|
11
|
-
handlers: {
|
|
12
|
-
file: Pick<JFileApi, 'upload' | 'update' | 'deleteImage' | 'deleteFile'>;
|
|
13
|
-
};
|
|
14
11
|
};
|
|
15
|
-
export declare const EditorImageUpload: ({ token, children, initialFile, onUploadSuccess, onLoading, allowCustomRatio, deferServerCalls,
|
|
12
|
+
export declare const EditorImageUpload: ({ token, children, initialFile, onUploadSuccess, onLoading, allowCustomRatio, deferServerCalls, }: EditorImageUploadProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
13
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { EditorInputCheckbox } from './EditorInputCheckbox';
|
|
3
|
+
declare const meta: Meta<typeof EditorInputCheckbox>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof EditorInputCheckbox>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jFileLittle } from 'jamespot-user-api';
|
|
2
2
|
export interface EditorInputImageHandle {
|
|
3
3
|
/** Persists any pending image changes (upload, crop, delete). Resolves with the final file or undefined. */
|
|
4
4
|
save: () => Promise<jFileLittle | undefined>;
|
|
@@ -10,9 +10,6 @@ type EditorInputImageProps = {
|
|
|
10
10
|
deferServerCalls?: boolean;
|
|
11
11
|
onLoading?: (isLoading: boolean) => void;
|
|
12
12
|
allowCustomRatio?: boolean;
|
|
13
|
-
handlers: {
|
|
14
|
-
file: Pick<JFileApi, 'upload' | 'update' | 'deleteImage' | 'deleteFile'>;
|
|
15
|
-
};
|
|
16
13
|
};
|
|
17
14
|
export declare const EditorInputImage: import('react').ForwardRefExoticComponent<EditorInputImageProps & import('react').RefAttributes<EditorInputImageHandle>>;
|
|
18
15
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { EditorInputNumber } from './EditorInputNumber';
|
|
3
|
+
declare const meta: Meta<typeof EditorInputNumber>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof EditorInputNumber>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { EditorInputToggle } from './EditorInputToggle';
|
|
3
|
+
declare const meta: Meta<typeof EditorInputToggle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof EditorInputToggle>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const InitiallyOn: Story;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { JFileApi } from 'jamespot-user-api';
|
|
2
1
|
import { JRCInputTinyMCERawProps } from '../../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
3
2
|
export type EditorRichTextProps = {
|
|
4
3
|
label?: string;
|
|
@@ -7,8 +6,5 @@ export type EditorRichTextProps = {
|
|
|
7
6
|
height?: number;
|
|
8
7
|
token?: string;
|
|
9
8
|
tinyMCECommonOptions: Pick<JRCInputTinyMCERawProps, 'commonOptions' | 'mentionsQueries'>;
|
|
10
|
-
handlers: {
|
|
11
|
-
file: Pick<JFileApi, 'upload'>;
|
|
12
|
-
};
|
|
13
9
|
};
|
|
14
|
-
export declare const EditorRichText: ({ initialValue, onChange, height, token, tinyMCECommonOptions,
|
|
10
|
+
export declare const EditorRichText: ({ initialValue, onChange, height, token, tinyMCECommonOptions, }: EditorRichTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { JFileApi } from 'jamespot-user-api';
|
|
2
1
|
import { JRCInputTinyMCERawProps } from '../../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
3
2
|
import { TinyMCEExtension } from '../../Form/Input/JRCInputTinyMCERaw/types';
|
|
4
3
|
export type EditorRichTextDialogProps = {
|
|
@@ -7,8 +6,5 @@ export type EditorRichTextDialogProps = {
|
|
|
7
6
|
token?: string;
|
|
8
7
|
additionalExtensions?: Array<TinyMCEExtension>;
|
|
9
8
|
tinyMCECommonOptions?: Pick<JRCInputTinyMCERawProps, 'commonOptions' | 'mentionsQueries'> & Partial<Pick<JRCInputTinyMCERawProps, 'tinymceScriptSrc'>>;
|
|
10
|
-
handlers: {
|
|
11
|
-
file: Pick<JFileApi, 'upload'>;
|
|
12
|
-
};
|
|
13
9
|
};
|
|
14
|
-
export declare const EditorRichTextDialog: ({ text, onChange, token, additionalExtensions, tinyMCECommonOptions,
|
|
10
|
+
export declare const EditorRichTextDialog: ({ text, onChange, token, additionalExtensions, tinyMCECommonOptions, }: EditorRichTextDialogProps) => 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 { JRCInputCheckboxProps } from './JRCInputCheckbox.types';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputCheckbox: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
6
|
-
export declare const InputCheckboxHelperWithComponent: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
7
|
-
export declare const InputRadio: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputCheckbox: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputCheckboxProps<any>>;
|
|
6
|
+
export declare const InputCheckboxHelperWithComponent: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputCheckboxProps<any>>;
|
|
7
|
+
export declare const InputRadio: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputCheckboxProps<any>>;
|
package/dist/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.stories.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputCheckboxReorderProps } from './JRCInputCheckbox.types';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputReorderCheckbox: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputReorderCheckbox: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputCheckboxReorderProps<any>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { ToggleRawProps } from './JRCInputToggle';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputToggle: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputToggle: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, ToggleRawProps<any>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCColorPickerProps } from './JRCInputColor';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputColor: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputColor: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCColorPickerProps<{
|
|
6
6
|
color: string;
|
|
7
7
|
}>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputColorRawProps } from './JRCInputColorRawProps';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputColorRaw: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputColorRaw: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputColorRawProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputDate: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputDate: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFieldProps<{
|
|
6
6
|
date: string;
|
|
7
7
|
}>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputEmail: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputEmail: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFieldProps<{
|
|
6
6
|
email: string;
|
|
7
7
|
}>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
2
|
-
import { DataCy } from '../../../../types/dataAttributes';
|
|
3
|
-
import { FieldValues } from 'react-hook-form';
|
|
4
1
|
import { ApiWrapper, jFileLittle } from 'jamespot-user-api';
|
|
5
2
|
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import { FieldValues } from 'react-hook-form';
|
|
4
|
+
import { DataCy } from '../../../../types/dataAttributes';
|
|
5
|
+
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
6
6
|
type BaseInputFileProps = DataCy & Omit<ComponentPropsWithoutRef<'input'>, 'value' | 'onChange'> & {
|
|
7
7
|
token?: string;
|
|
8
8
|
attrName?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputFileProps } from './JRCInputFile';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputFile: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputFile: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFileProps>;
|
package/dist/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvanced.stories.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputFileAdavancedProps } from './JRCInputFileAdvancedRaw';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const File: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
6
|
-
export declare const FileMultiple: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const File: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFileAdavancedProps>;
|
|
6
|
+
export declare const FileMultiple: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFileAdavancedProps>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Drive,
|
|
1
|
+
import { Drive, jFileLittle, Network } from 'jamespot-user-api';
|
|
2
2
|
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { FoldersHandlers } from '../../../JRCFolders/types';
|
|
4
3
|
export type DriveOrFilebank = Drive | 'fileBank';
|
|
5
4
|
export interface JRCInputFileAdavancedProps extends ComponentPropsWithoutRef<'input'> {
|
|
6
5
|
required?: boolean;
|
|
@@ -21,10 +20,6 @@ export interface JRCInputFileAdavancedProps extends ComponentPropsWithoutRef<'in
|
|
|
21
20
|
activeDrives?: DriveOrFilebank[];
|
|
22
21
|
dispatchOnError?: (code?: string) => void;
|
|
23
22
|
maxFileSize?: number;
|
|
24
|
-
handlers?: FoldersHandlers & {
|
|
25
|
-
file: Pick<JFileApi, 'copy'>;
|
|
26
|
-
drive: Pick<JDriveApi, 'msDocuments' | 'dropboxDocuments' | 'groups' | 'tenants' | 'listAccount' | 'isAccountLogged' | 'checkAccountToken' | 'getAccount' | 'logout' | 'setDefaultAccount' | 'getDocument'>;
|
|
27
|
-
};
|
|
28
23
|
directFilePopupOpening?: {
|
|
29
24
|
open: boolean;
|
|
30
25
|
onClose: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputImageProps } from './types';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputImageHorizontal: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
6
|
-
export declare const InputImageVertical: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputImageHorizontal: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputImageProps>;
|
|
6
|
+
export declare const InputImageVertical: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputImageProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputRange: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputRange: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFieldProps<{
|
|
6
6
|
range: string;
|
|
7
7
|
}>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputSimpleFileProps } from './JRCInputSimpleFile';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputSimpleFile: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputSimpleFile: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputSimpleFileProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
|
+
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const InputPassword: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFieldProps<{
|
|
6
|
+
password: string;
|
|
7
|
+
}>>;
|
|
8
|
+
export declare const InputPasswordNewPassword: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFieldProps<{
|
|
9
|
+
password: string;
|
|
10
|
+
}>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
3
3
|
import { JRCInputText } from './JRCInputText';
|
|
4
4
|
declare const meta: Meta;
|
|
5
5
|
export default meta;
|
|
6
|
-
export declare const InputText: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
6
|
+
export declare const InputText: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFieldProps<{
|
|
7
7
|
text: string;
|
|
8
8
|
}>>;
|
|
9
9
|
export declare const InputTextIconButton: any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
|
+
declare const _default: Meta;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const InputTextRaw: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
5
|
+
margin?: string | undefined;
|
|
6
|
+
width?: string | undefined;
|
|
7
|
+
readOnly?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
isRequired?: boolean;
|
|
10
|
+
label?: string;
|
|
11
|
+
htmlFor?: string;
|
|
12
|
+
labelIsLegend?: boolean;
|
|
13
|
+
description?: string;
|
|
14
|
+
helper?: Omit<import('../../../..').JRCTooltipProps, "children">;
|
|
15
|
+
errors?: import('react-hook-form').FieldError;
|
|
16
|
+
customRef?: import('react').Ref<HTMLInputElement>;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const InputTextRawDisabled: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
19
|
+
margin?: string | undefined;
|
|
20
|
+
width?: string | undefined;
|
|
21
|
+
readOnly?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
isRequired?: boolean;
|
|
24
|
+
label?: string;
|
|
25
|
+
htmlFor?: string;
|
|
26
|
+
labelIsLegend?: boolean;
|
|
27
|
+
description?: string;
|
|
28
|
+
helper?: Omit<import('../../../..').JRCTooltipProps, "children">;
|
|
29
|
+
errors?: import('react-hook-form').FieldError;
|
|
30
|
+
customRef?: import('react').Ref<HTMLInputElement>;
|
|
31
|
+
}>;
|
|
32
|
+
export declare const InputTextRawWithError: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
33
|
+
margin?: string | undefined;
|
|
34
|
+
width?: string | undefined;
|
|
35
|
+
readOnly?: boolean;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
isRequired?: boolean;
|
|
38
|
+
label?: string;
|
|
39
|
+
htmlFor?: string;
|
|
40
|
+
labelIsLegend?: boolean;
|
|
41
|
+
description?: string;
|
|
42
|
+
helper?: Omit<import('../../../..').JRCTooltipProps, "children">;
|
|
43
|
+
errors?: import('react-hook-form').FieldError;
|
|
44
|
+
customRef?: import('react').Ref<HTMLInputElement>;
|
|
45
|
+
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputTextarea: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputTextarea: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFieldProps<{
|
|
6
6
|
textarea: string;
|
|
7
7
|
}>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const InputTime: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
5
|
+
export declare const InputTime: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCInputFieldProps<{
|
|
6
6
|
hour: string;
|
|
7
7
|
}>>;
|