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,38 +1,38 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-
|
|
1
|
+
import { Meta } from '@storybook/react-vite';
|
|
2
2
|
import { JRCWidgetWelcome } from './JRCWidgetWelcome';
|
|
3
3
|
import { ProfileDisplayType, Position, TextFontWeight, EditorFontSize } from '../const';
|
|
4
4
|
declare const _default: Meta<typeof JRCWidgetWelcome>;
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const Default: {
|
|
7
|
-
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
7
|
+
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('./JRCWidgetWelcome').JRCWidgetWelcomeProps>;
|
|
8
8
|
args: {};
|
|
9
9
|
};
|
|
10
10
|
export declare const CustomMessage: {
|
|
11
|
-
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
11
|
+
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('./JRCWidgetWelcome').JRCWidgetWelcomeProps>;
|
|
12
12
|
args: {
|
|
13
13
|
message: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export declare const WithFullName: {
|
|
17
|
-
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
17
|
+
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('./JRCWidgetWelcome').JRCWidgetWelcomeProps>;
|
|
18
18
|
args: {
|
|
19
19
|
displayMode: ProfileDisplayType;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export declare const TopLeft: {
|
|
23
|
-
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
23
|
+
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('./JRCWidgetWelcome').JRCWidgetWelcomeProps>;
|
|
24
24
|
args: {
|
|
25
25
|
position: Position;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
export declare const BottomRight: {
|
|
29
|
-
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
29
|
+
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('./JRCWidgetWelcome').JRCWidgetWelcomeProps>;
|
|
30
30
|
args: {
|
|
31
31
|
position: Position;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
export declare const CustomBackground: {
|
|
35
|
-
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
35
|
+
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('./JRCWidgetWelcome').JRCWidgetWelcomeProps>;
|
|
36
36
|
args: {
|
|
37
37
|
css: {
|
|
38
38
|
background: string;
|
|
@@ -43,13 +43,13 @@ export declare const CustomBackground: {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
export declare const NoLineBreak: {
|
|
46
|
-
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
46
|
+
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('./JRCWidgetWelcome').JRCWidgetWelcomeProps>;
|
|
47
47
|
args: {
|
|
48
48
|
lineBreak: boolean;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
export declare const InteractionTest: {
|
|
52
|
-
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-
|
|
52
|
+
render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('./JRCWidgetWelcome').JRCWidgetWelcomeProps>;
|
|
53
53
|
play: ({ canvasElement }: {
|
|
54
54
|
canvasElement: HTMLElement;
|
|
55
55
|
}) => Promise<void>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
export declare const LoadsImage: StoryObj;
|
|
5
|
+
export declare const LoadsImageWithMaxWidth: StoryObj;
|
|
6
|
+
export declare const HandlesError: StoryObj;
|
|
7
|
+
export declare const SkipsLoadWhenDelayIsZero: StoryObj;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export { useCalendarDate } from '../components/JRCCalendar/useCalendarDate';
|
|
1
2
|
export { useAbortController } from './useAbortController';
|
|
3
|
+
export { useApi } from './useApi';
|
|
2
4
|
export { useCancelOnUnmount } from './useCancelOnUnmount';
|
|
3
5
|
export { useDebounce } from './UseDebounce';
|
|
4
6
|
export { useDidMountEffect } from './UseDidMountEffect';
|
|
@@ -8,4 +10,3 @@ export { useRefSize } from './useRefSize';
|
|
|
8
10
|
export { useThemeContext } from './useThemeContext';
|
|
9
11
|
export { useTimeout } from './UseTimeout';
|
|
10
12
|
export { useWindowSize } from './useWindowSize';
|
|
11
|
-
export { useCalendarDate } from '../components/JRCCalendar/useCalendarDate';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ declare global {
|
|
|
4
4
|
export { default as Theme } from './styles/theme';
|
|
5
5
|
export { default as Resources } from './translation';
|
|
6
6
|
export * as components from './components';
|
|
7
|
-
export { JRC404 } from './components/404';
|
|
7
|
+
export { JRC404 } from './components/404/JRC404';
|
|
8
8
|
export { FocusVisibleOutline } from './components/Common/Outline';
|
|
9
9
|
export { SkipToContent } from './components/Common/SkipToContent';
|
|
10
10
|
export { SROnly } from './components/Common/SROnly';
|
|
11
11
|
export { JTinyMCEExtensionsBuilders } from './components/Form/Input/JRCInputTinyMCERaw/extensions/JTinyMCEExtensions';
|
|
12
|
-
export {
|
|
12
|
+
export { JRCProvider } from './components/JRCProvider/JRCProvider';
|
|
13
13
|
export * from './hooks';
|
|
14
14
|
export * from './types';
|
|
15
15
|
export { getColor } from './styles/theme';
|
|
@@ -12,6 +12,14 @@ export type FontWeight = {
|
|
|
12
12
|
semiBold: number;
|
|
13
13
|
bold: number;
|
|
14
14
|
};
|
|
15
|
+
export type ThemeSize = {
|
|
16
|
+
xs: number;
|
|
17
|
+
sm: number;
|
|
18
|
+
md: number;
|
|
19
|
+
l: number;
|
|
20
|
+
xl: number;
|
|
21
|
+
};
|
|
22
|
+
export type ThemeSizeValues = keyof ThemeSize;
|
|
15
23
|
export type ThemeType = {
|
|
16
24
|
dpr: number;
|
|
17
25
|
fallbackUrl: {
|
|
@@ -45,13 +53,7 @@ export type ThemeType = {
|
|
|
45
53
|
l: number;
|
|
46
54
|
xl: number;
|
|
47
55
|
};
|
|
48
|
-
size:
|
|
49
|
-
xs: number;
|
|
50
|
-
sm: number;
|
|
51
|
-
md: number;
|
|
52
|
-
l: number;
|
|
53
|
-
xl: number;
|
|
54
|
-
};
|
|
56
|
+
size: ThemeSize;
|
|
55
57
|
};
|
|
56
58
|
export declare function getColor(theme: ThemeType, color: string): string;
|
|
57
59
|
declare const Theme: ITheme;
|
|
@@ -274,6 +274,11 @@ declare const _default: {
|
|
|
274
274
|
"INTRANET_Selection_Group": "Select a group",
|
|
275
275
|
"JIA_TINY_BUTTON_TOOLTIP": "AI features to help you write",
|
|
276
276
|
"JIA_TINY_DEVELOP": "Develop",
|
|
277
|
+
"JIA_TINY_EN_TRANSLATION": "English translation",
|
|
278
|
+
"JIA_TINY_ES_TRANSLATION": "Spanish translation",
|
|
279
|
+
"JIA_TINY_FORMAL_TONE": "Formal tone",
|
|
280
|
+
"JIA_TINY_FUNNY_TONE": "Funny tone",
|
|
281
|
+
"JIA_TINY_SPELLCHECK": "Spell check",
|
|
277
282
|
"JIA_TINY_SUMMARIZE": "Summarize",
|
|
278
283
|
"JIA_TINY_TLDR": "TLDR",
|
|
279
284
|
"Office_No_Providers": "Aucun fournisseur disponible, contactez un administrateur",
|
package/dist/src/types.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export type { JRCSkeletonLineProps } from './components/JRCSkeleton/JRCSkeletonL
|
|
|
74
74
|
export type { JRCSkeletonSquareProps } from './components/JRCSkeleton/JRCSkeletonSquare';
|
|
75
75
|
export type { ItemEntriesProps, JRCTabPanelProps, JRCTabsProps } from './components/JRCTabs/JRCTabs';
|
|
76
76
|
export type { JRCTagProps } from './components/JRCTag/JRCTag';
|
|
77
|
-
export type {
|
|
77
|
+
export type { JRCProviderProps } from './components/JRCProvider/JRCProvider';
|
|
78
78
|
export type { JRCBaseTooltipProps } from './components/JRCTooltip/JRCBaseTooltip';
|
|
79
79
|
export type { JRCTooltipProps } from './components/JRCTooltip/types';
|
|
80
80
|
export type { JRCH1Props, JRCH2Props, JRCH3Props, JRCH4Props, JRCH5Props, JRCTextProps, } from './components/JRCTypo/JRCTypo';
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export declare function sanitizeHtml(dirtyHtml?: string): string;
|
|
2
|
+
export declare function truncateHtml(html: string, maxChars: number): {
|
|
3
|
+
html: string;
|
|
4
|
+
truncated: boolean;
|
|
5
|
+
};
|
|
2
6
|
export declare const htmlDecodeSpecialChars: (str: string) => string;
|
|
3
7
|
export declare function decodeHtml(html: string): string;
|
package/package.json
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.85",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/jamespot-react-components.cjs",
|
|
6
6
|
"module": "dist/jamespot-react-components.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
|
-
"nyc": {
|
|
10
|
-
"sourceMap": false,
|
|
11
|
-
"instrument": false
|
|
12
|
-
},
|
|
13
9
|
"keywords": [],
|
|
14
10
|
"author": "",
|
|
15
11
|
"peerDependencies": {
|
|
16
12
|
"@tanstack/react-table": "^8.21.3",
|
|
17
|
-
"@types/react": "^19.2.
|
|
13
|
+
"@types/react": "^19.2.14",
|
|
18
14
|
"@types/react-dom": "^19.2.3",
|
|
19
15
|
"jamespot-front-business": "*",
|
|
20
16
|
"jamespot-user-api": "*",
|
|
21
|
-
"react": "^19.2.
|
|
17
|
+
"react": "^19.2.4",
|
|
22
18
|
"react-dnd": "^14.0.5",
|
|
23
19
|
"react-dnd-html5-backend": "^14.1.0",
|
|
24
|
-
"react-dom": "^19.2.
|
|
25
|
-
"react-hook-form": "^7.
|
|
20
|
+
"react-dom": "^19.2.4",
|
|
21
|
+
"react-hook-form": "^7.72.0",
|
|
26
22
|
"react-intl": "^7.1.14",
|
|
27
23
|
"react-router-dom": "^6.30.3",
|
|
28
|
-
"styled-components": "^6.3.
|
|
24
|
+
"styled-components": "^6.3.12",
|
|
29
25
|
"tinymce": "7.5.1"
|
|
30
26
|
},
|
|
31
27
|
"devDependencies": {
|
|
32
|
-
"@chromatic-com/storybook": "^
|
|
28
|
+
"@chromatic-com/storybook": "^5.1.2",
|
|
33
29
|
"@eslint/js": "^9.39.4",
|
|
34
30
|
"@fullcalendar/core": "^6.1.20",
|
|
35
31
|
"@fullcalendar/daygrid": "^6.1.20",
|
|
@@ -37,35 +33,21 @@
|
|
|
37
33
|
"@fullcalendar/list": "^6.1.20",
|
|
38
34
|
"@fullcalendar/react": "^6.1.20",
|
|
39
35
|
"@fullcalendar/timegrid": "^6.1.20",
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@storybook/addon-
|
|
43
|
-
"@storybook/
|
|
44
|
-
"@storybook/addon-docs": "9.1.16",
|
|
45
|
-
"@storybook/addon-links": "9.1.16",
|
|
46
|
-
"@storybook/react-vite": "9.1.16",
|
|
47
|
-
"@storybook/react-webpack5": "9.1.16",
|
|
48
|
-
"@storybook/test-runner": "^0.23.0",
|
|
49
|
-
"@storybook/testing-library": "^0.2.2",
|
|
36
|
+
"@storybook/addon-a11y": "10.3.6",
|
|
37
|
+
"@storybook/addon-links": "10.3.6",
|
|
38
|
+
"@storybook/addon-vitest": "10.3.6",
|
|
39
|
+
"@storybook/react-vite": "10.3.6",
|
|
50
40
|
"@tanstack/react-table": "^8.21.3",
|
|
51
|
-
"@testing-library/dom": "^
|
|
52
|
-
"@testing-library/
|
|
53
|
-
"@testing-library/react": "^14.3.1",
|
|
54
|
-
"@testing-library/react-hooks": "^5.1.3",
|
|
55
|
-
"@testing-library/user-event": "^13.5.0",
|
|
41
|
+
"@testing-library/dom": "^10.4.1",
|
|
42
|
+
"@testing-library/react": "^16.3.2",
|
|
56
43
|
"@tinymce/tinymce-react": "^6.3.0",
|
|
57
|
-
"@types/chroma-js": "^2.4.5",
|
|
58
|
-
"@types/jest": "^30.0.0",
|
|
59
44
|
"@types/node": "^24.12.0",
|
|
60
45
|
"@types/react": "^19.2.14",
|
|
61
46
|
"@types/react-dom": "^19.2.3",
|
|
62
|
-
"@types/testing-library__jest-dom": "^5.14.9",
|
|
63
47
|
"@types/uuid": "^10.0.0",
|
|
64
48
|
"@vitejs/plugin-react": "^5.2.0",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"concurrently": "^9.2.1",
|
|
68
|
-
"cross-env": "^10.1.0",
|
|
49
|
+
"@vitest/browser-playwright": "^4.1.5",
|
|
50
|
+
"@vitest/coverage-v8": "^4.1.5",
|
|
69
51
|
"date-fns": "^4.1.0",
|
|
70
52
|
"dompurify": "^3.3.3",
|
|
71
53
|
"eslint": "^9.39.4",
|
|
@@ -74,17 +56,14 @@
|
|
|
74
56
|
"eslint-plugin-import": "^2.32.0",
|
|
75
57
|
"eslint-plugin-react": "^7.37.5",
|
|
76
58
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
77
|
-
"eslint-plugin-storybook": "
|
|
78
|
-
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
59
|
+
"eslint-plugin-storybook": "10.3.6",
|
|
79
60
|
"globals": "^16.5.0",
|
|
80
61
|
"html2canvas": "^1.4.1",
|
|
81
|
-
"jamespot-front-business": "^1.3.
|
|
82
|
-
"jamespot-user-api": "^1.3.
|
|
83
|
-
"
|
|
84
|
-
"jest-environment-jsdom": "^30.3.0",
|
|
62
|
+
"jamespot-front-business": "^1.3.85",
|
|
63
|
+
"jamespot-user-api": "^1.3.85",
|
|
64
|
+
"jsdom": "^26.1.0",
|
|
85
65
|
"knip": "^5.88.1",
|
|
86
66
|
"lint-staged": "^16.4.0",
|
|
87
|
-
"nyc": "^17.1.0",
|
|
88
67
|
"playwright": "^1.59.0",
|
|
89
68
|
"prettier": "^3.8.1",
|
|
90
69
|
"react": "^19.2.4",
|
|
@@ -100,18 +79,16 @@
|
|
|
100
79
|
"react-router-dom": "^6.30.3",
|
|
101
80
|
"react-tooltip": "^5.30.0",
|
|
102
81
|
"react-transition-state": "^2.3.3",
|
|
103
|
-
"storybook": "
|
|
82
|
+
"storybook": "10.3.6",
|
|
104
83
|
"styled-components": "^6.3.12",
|
|
105
84
|
"tinymce": "7.5.1",
|
|
106
|
-
"ts-jest": "^29.4.6",
|
|
107
|
-
"ts-node": "^10.9.2",
|
|
108
85
|
"typescript": "^5.9.3",
|
|
109
86
|
"typescript-eslint": "^8.58.0",
|
|
110
87
|
"uuid": "^10.0.0",
|
|
111
88
|
"vite": "^7.3.1",
|
|
112
89
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
113
90
|
"vite-plugin-dts": "^4.5.4",
|
|
114
|
-
"
|
|
91
|
+
"vitest": "^4.1.5"
|
|
115
92
|
},
|
|
116
93
|
"lint-staged": {
|
|
117
94
|
"*.{js,jsx,ts,tsx}": [
|
|
@@ -134,13 +111,8 @@
|
|
|
134
111
|
"lint": "eslint",
|
|
135
112
|
"lint:fix": "eslint --fix",
|
|
136
113
|
"storybook": "storybook dev -p 6006",
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"storybook
|
|
140
|
-
"test": "pnpm test:jest && pnpm test:storybook",
|
|
141
|
-
"test:clearJest": "jest --clearCache",
|
|
142
|
-
"test:jest": "cross-env NODE_ENV=test jest --runInBand --detectOpenHandles --logHeapUsage",
|
|
143
|
-
"test:storybook": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm storybook:serve\" \"pnpm storybook:test\"",
|
|
144
|
-
"test:storybook:standalone": "test-storybook --maxWorkers=1 --coverage"
|
|
114
|
+
"test": "vitest run --coverage",
|
|
115
|
+
"test:unit": "vitest run --project=unit",
|
|
116
|
+
"test:storybook": "vitest run --project=storybook"
|
|
145
117
|
}
|
|
146
118
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Props Type for JRCThemeProviderProps
|
|
4
|
-
* @member children : enclosed React component
|
|
5
|
-
*/
|
|
6
|
-
export interface JRCThemeProviderProps {
|
|
7
|
-
layout?: boolean;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare const JRCThemeProvider: ({ layout, children }: JRCThemeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
File without changes
|
package/vite
DELETED
|
File without changes
|
|
File without changes
|