jamespot-react-components 1.2.35 → 1.2.37
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/README.md +4 -4
- package/build/jamespot-react-components.js +3799 -3798
- package/build/jamespot-react-components.js.LICENSE.txt +48 -41
- package/build/jamespot-react-components.js.map +1 -1
- package/build/jest.config.d.ts +3 -0
- package/build/src/components/404/index.d.ts +1 -2
- package/build/src/components/Beta/BETA_JRCDoubleClick/BETA_JRCDoubleClick.d.ts +3 -3
- package/build/src/components/Beta/BETA_JRCDragAndDrop/BETA_JRCDragAndDrop.d.ts +3 -3
- package/build/src/components/Common/JRCConditionalWrapper.d.ts +8 -8
- package/build/src/components/Deprecated/Deprecated_JRCEllipsis/Deprecated_JRCEllipsis.d.ts +2 -3
- package/build/src/components/Deprecated/Deprecated_JRCEllipsis/JRCEllipsis.stories.d.ts +9 -0
- package/build/src/components/Drives/Dropbox/DropboxDocuments.d.ts +2 -4
- package/build/src/components/Drives/JRCDriveDropbox.d.ts +2 -4
- package/build/src/components/Drives/JRCDriveMSGraph.d.ts +2 -4
- package/build/src/components/Drives/MicrosoftGraph/MSGraphAccessDenied.d.ts +1 -2
- package/build/src/components/Drives/MicrosoftGraph/MSGraphDocuments.d.ts +2 -4
- package/build/src/components/Drives/MicrosoftGraph/MSGraphGroups.d.ts +2 -4
- package/build/src/components/Drives/MicrosoftGraph/MSGraphTenants.d.ts +5 -7
- package/build/src/components/Drives/MicrosoftGraph/components/TenantEntityItem.d.ts +2 -3
- package/build/src/components/Drives/components/DriveAccountHeader.d.ts +2 -4
- package/build/src/components/Drives/components/DriveFiltererList.d.ts +10 -46
- package/build/src/components/Drives/components/DriveIsEmpty.d.ts +1 -2
- package/build/src/components/Drives/components/DriveItem.d.ts +1 -2
- package/build/src/components/Drives/components/EntityAvatar.d.ts +3 -4
- package/build/src/components/Drives/components/EntityItem.d.ts +7 -29
- package/build/src/components/Drives/components/EntityItemSelection.d.ts +1 -2
- package/build/src/components/Drives/components/EntityItemTitle.d.ts +2 -3
- package/build/src/components/Drives/hooks.d.ts +3 -4
- package/build/src/components/Editors/components/EditorCheckbox.d.ts +2 -3
- package/build/src/components/Editors/components/EditorColorPicker.d.ts +3 -4
- package/build/src/components/Editors/components/EditorImageUpload.d.ts +2 -2
- package/build/src/components/Editors/components/EditorInput.d.ts +3 -4
- package/build/src/components/Editors/components/EditorInputCheckbox.d.ts +1 -2
- package/build/src/components/Editors/components/EditorInputDatetime.d.ts +1 -2
- package/build/src/components/Editors/components/EditorInputImage.d.ts +1 -2
- package/build/src/components/Editors/components/EditorInputToggle.d.ts +4 -5
- package/build/src/components/Editors/components/EditorSelect.d.ts +2 -3
- package/build/src/components/Editors/components/EditorUploader.d.ts +4 -5
- package/build/src/components/Form/Common/ClickAwayListener.d.ts +4 -4
- package/build/src/components/Form/Common/FormDescription.d.ts +1 -2
- package/build/src/components/Form/Common/FormHelper.d.ts +3 -4
- package/build/src/components/Form/Common/FormLabel.d.ts +5 -5
- package/build/src/components/Form/Common/FormMessageFeedback.d.ts +1 -2
- package/build/src/components/Form/Input/Common/JRCFormErrors.d.ts +2 -3
- package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.d.ts +1 -2
- package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.types.d.ts +5 -7
- package/build/src/components/Form/Input/Common/useFormControls.d.ts +2 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.d.ts +4 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.d.ts +4 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.d.ts +4 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.stories.d.ts +6 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +8 -8
- package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.types.d.ts +3 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormColor/JRCFormColor.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormColor/JRCFormColor.stories.d.ts +5 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormEmail/JRCFormEmail.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormEmail/JRCFormEmail.stories.d.ts +5 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormFieldRender.d.ts +5 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormFile/JRCFormFile.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormFile/components/File.d.ts +4 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormImage/JRCFormImage.d.ts +4 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormImage/JRCFormImage.stories.d.ts +5 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormNumber/JRCFormNumber.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormNumber/JRCFormNumber.stories.d.ts +5 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormRange/JRCFormRange.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormRange/JRCFormRange.stories.d.ts +5 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy.d.ts +3 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.d.ts +3 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +6 -9
- package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField.d.ts +8 -9
- package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField.stories.d.ts +8 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelect.d.ts +8 -20
- package/build/src/components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelectTag.d.ts +7 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert.d.ts +3 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert.stories.d.ts +3 -3
- package/build/src/components/Form/Input/Deprecated/JRCFormText/JRCFormText.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormText/JRCFormText.stories.d.ts +5 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea.d.ts +7 -7
- package/build/src/components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea.stories.d.ts +5 -0
- package/build/src/components/Form/Input/Deprecated/JRCFormURL/JRCFormUrl.d.ts +1 -2
- package/build/src/components/Form/Input/Deprecated/JRCFormURL/JRCFormUrl.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.d.ts +6 -7
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.d.ts +1 -3
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.d.ts +5 -5
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputToggle.d.ts +15 -24
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputToggle.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCInputCheckbox/components/JRCCheckbox.d.ts +2 -3
- package/build/src/components/Form/Input/JRCInputCheckbox/components/JRCRadio.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputCheckbox/components/JRCToggle.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputColor/ColorInput.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputColor/ColorPalette.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputColor/ColorPicker.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputColor/ColorRange.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputColor/DragArea.d.ts +5 -5
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColor.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColor.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColor.styles.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRaw.d.ts +2 -3
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRaw.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRawProps.d.ts +0 -1
- package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputDateTime/JRCInputDateTIme.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputDateTime/JRCInputDateTime.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputEmail/JRCInputEmail.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputEmail/JRCInputEmail.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputFile/JRCInputFile.d.ts +8 -8
- package/build/src/components/Form/Input/JRCInputFile/JRCInputFile.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCInputFile/utils/file.api.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvanced.stories.d.ts +6 -0
- package/build/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvancedRaw.d.ts +4 -5
- package/build/src/components/Form/Input/JRCInputFileAdvanced/types.d.ts +3 -0
- package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.d.ts +2 -33
- package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.stories.d.ts +6 -0
- package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.styles.d.ts +5 -5
- package/build/src/components/Form/Input/JRCInputImage/types.d.ts +33 -0
- package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.d.ts +4 -4
- package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputSearchRaw/JRCInputSearchRaw.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputSearchRaw/JRCInputSearchRaw.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCInputText/JRCInputPassword.d.ts +6 -6
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +15 -15
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.stories.d.ts +9 -0
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.style.d.ts +26 -27
- package/build/src/components/Form/Input/JRCInputText/JRCInputTextIconButton.d.ts +9 -9
- package/build/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.d.ts +17 -17
- package/build/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.style.d.ts +6 -7
- package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextareaRaw.d.ts +4 -4
- package/build/src/components/Form/Input/JRCInputTime/JRCInputTime.d.ts +3 -3
- package/build/src/components/Form/Input/JRCInputTime/JRCInputTime.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputTinyMCE/JRCInputTinyMCE.d.ts +4 -5
- package/build/src/components/Form/Input/JRCInputTinyMCE/JRCInputTinyMCE.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw.d.ts +3 -27
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCTinyMCEFileUploadModal.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCTinyMCEImageUploadModal.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCTinyMCEVideoUploadModal.d.ts +1 -2
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/extensions/JIAExtension/JIATextGenerationExtension.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/extensions/JTinyMCEExtensions.d.ts +2 -9
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/extensions/MarkdownExtension/MarkdownExtension.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/types.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.d.ts +6 -6
- package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.stories.d.ts +7 -0
- package/build/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.d.ts +10 -0
- package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.d.ts +2 -2
- package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.d.ts +13 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputAudience.d.ts +1 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputAudience.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.d.ts +6 -6
- package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +1 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.d.ts +1 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.defaults.d.ts +2 -3
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +12 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +277 -274
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +8 -13
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +11 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectExtended.d.ts +1 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.d.ts +5 -17
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.stories.d.ts +4 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectList.d.ts +1 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectList.stories.d.ts +4 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelectRaw.d.ts +0 -1
- package/build/src/components/Form/Input/JRCSelect/SelectHierarchicalTreeModal.d.ts +2 -2
- package/build/src/components/Form/Input/JRCStyledInput.d.ts +14 -15
- package/build/src/components/Form/Input/temporary.types.d.ts +1 -1
- package/build/src/components/JRCAlbum/JRCAlbum.d.ts +1 -2
- package/build/src/components/JRCAlbum/components/AlbumItem.d.ts +2 -3
- package/build/src/components/JRCAlbum/components/AlbumX1.d.ts +1 -2
- package/build/src/components/JRCAlbum/components/AlbumX2.d.ts +1 -2
- package/build/src/components/JRCAlbum/components/AlbumX3.d.ts +1 -2
- package/build/src/components/JRCAlbum/components/AlbumX4.d.ts +1 -2
- package/build/src/components/JRCAlbum/components/AlbumX5.d.ts +1 -2
- package/build/src/components/JRCAlbum/styles.d.ts +1 -1
- package/build/src/components/JRCAlert/JRCAlert.d.ts +7 -7
- package/build/src/components/JRCAlert/JRCAlert.stories.d.ts +8 -0
- package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +3 -3
- package/build/src/components/JRCAppHeader/JRCAppHeader.d.ts +1 -2
- package/build/src/components/JRCAppHeader/JRCAppHeader.stories.d.ts +5 -0
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +1 -2
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +2 -3
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +19 -20
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +2 -2
- package/build/src/components/JRCAppLeftColumn/JRCDefaultMenu.d.ts +2 -3
- package/build/src/components/JRCAttachments/JRCAttachments.d.ts +1 -2
- package/build/src/components/JRCAttachments/JRCAttachments.stories.d.ts +5 -0
- package/build/src/components/JRCAvatar/JRCAvatar.d.ts +1 -2
- package/build/src/components/JRCAvatar/JRCAvatar.stories.d.ts +5 -0
- package/build/src/components/JRCAvatars/JRCAvatars.d.ts +1 -2
- package/build/src/components/JRCAvatars/JRCAvatars.stories.d.ts +6 -0
- package/build/src/components/JRCBreadcrumb/JRCBreadcrumb.d.ts +1 -2
- package/build/src/components/JRCBreadcrumb/JRCBreadcrumb.stories.d.ts +5 -0
- package/build/src/components/JRCBusinessContactList/JRCBusinessContactList.d.ts +1 -2
- package/build/src/components/JRCBusinessContactList/JRCBusinessContactList.stories.d.ts +5 -0
- package/build/src/components/JRCBusinessContacts/JRCBusinessContacts.d.ts +1 -2
- package/build/src/components/JRCBusinessContacts/JRCBusinessContacts.stories.d.ts +6 -0
- package/build/src/components/JRCButton/Button.d.ts +23 -0
- package/build/src/components/JRCButton/JRCButton.d.ts +16 -97
- package/build/src/components/JRCButton/JRCButton.stories.d.ts +2 -3
- package/build/src/components/JRCButton/JRCButtonConfig.d.ts +1 -17
- package/build/src/components/JRCButton/JRCValidationButton.d.ts +3 -3
- package/build/src/components/JRCButton/types.d.ts +54 -0
- package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +2 -3
- package/build/src/components/JRCButtonDownload/JRCButtonDownload.stories.d.ts +8 -0
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +1 -2
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.styles.d.ts +25 -25
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +5 -5
- package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +1 -2
- package/build/src/components/JRCButtonFile/JRCButtonFile.stories.d.ts +7 -0
- package/build/src/components/JRCCalendar/CalendarStyle.d.ts +3 -3
- package/build/src/components/JRCCalendar/JRCCalendar.d.ts +2 -32
- package/build/src/components/JRCCalendar/JRCCalendar.stories.d.ts +6 -0
- package/build/src/components/JRCCalendar/JRCCalendarEvent.d.ts +2 -33
- package/build/src/components/JRCCalendar/JRCCalendarModal.d.ts +2 -2
- package/build/src/components/JRCCalendar/JRCEventStatusButton.d.ts +1 -2
- package/build/src/components/JRCCalendar/types.d.ts +60 -0
- package/build/src/components/JRCCard/JRCCard.d.ts +6 -6
- package/build/src/components/JRCCard/JRCCard.stories.d.ts +5 -0
- package/build/src/components/JRCCard/JRCCardImg.d.ts +5 -5
- package/build/src/components/JRCCard/JRCCardImg.stories.d.ts +5 -0
- package/build/src/components/JRCCollapse/JRCCollapse.d.ts +4 -4
- package/build/src/components/JRCCollapse/JRCCollapse.stories.d.ts +7 -0
- package/build/src/components/JRCColumnCenter/JRCColumnCenter.d.ts +3 -3
- package/build/src/components/JRCColumnLeft/JRCColumnLeft.d.ts +3 -3
- package/build/src/components/JRCColumnRight/JRCColumnRight.d.ts +3 -3
- package/build/src/components/JRCCommentsBloc/AvatarWrapper.d.ts +1 -0
- package/build/src/components/JRCCommentsBloc/JRCComment.d.ts +6 -8
- package/build/src/components/JRCCommentsBloc/JRCCommentsBloc.d.ts +8 -12
- package/build/src/components/JRCCommentsBloc/JRCCommentsBloc.stories.d.ts +5 -0
- package/build/src/components/JRCCommentsBloc/components/CommentsHeader.d.ts +1 -2
- package/build/src/components/JRCCommentsBloc/components/EditComment.d.ts +3 -5
- package/build/src/components/JRCCommentsBloc/components/NewComment.d.ts +7 -8
- package/build/src/components/JRCCropImage/JRCCropImage.d.ts +1 -2
- package/build/src/components/JRCCropImage/JRCCropImage.stories.d.ts +5 -0
- package/build/src/components/JRCDate/JRCDate.d.ts +2 -3
- package/build/src/components/JRCDate/JRCDate.stories.d.ts +7 -0
- package/build/src/components/JRCDisplayCard/JRCDisplayCard.d.ts +3 -3
- package/build/src/components/JRCDisplayCard/JRCDisplayCard.stories.d.ts +8 -0
- package/build/src/components/JRCDropDown/JRCDropDown.d.ts +4 -4
- package/build/src/components/JRCDropDown/JRCDropDown.stories.d.ts +5 -0
- package/build/src/components/JRCEmptySpace/JRCEmptySpace.d.ts +5 -4
- package/build/src/components/JRCEmptySpace/JRCEmptySpace.stories.d.ts +4 -0
- package/build/src/components/JRCFile/JRCFile.d.ts +1 -2
- package/build/src/components/JRCFile/JRCFile.stories.d.ts +4 -0
- package/build/src/components/JRCFile/JRCFileApplication.d.ts +1 -2
- package/build/src/components/JRCFile/JRCFileAudio.d.ts +1 -2
- package/build/src/components/JRCFile/JRCFileAvatar.d.ts +1 -2
- package/build/src/components/JRCFile/JRCFileFolder.d.ts +1 -2
- package/build/src/components/JRCFile/JRCFileImage.d.ts +3 -4
- package/build/src/components/JRCFile/JRCFileVideo.d.ts +1 -2
- package/build/src/components/JRCFileOpen/JRCFileOpen.d.ts +3 -3
- package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +2 -14
- package/build/src/components/JRCFileViewer/JRCFileViewer.stories.d.ts +4 -0
- package/build/src/components/JRCFileViewer/JRCFileViewerArrows.d.ts +1 -2
- package/build/src/components/JRCFileViewer/JRCFileViewerContent.d.ts +2 -3
- package/build/src/components/JRCFileViewer/JRCFileViewerContentApplication.d.ts +4 -4
- package/build/src/components/JRCFileViewer/JRCFileViewerContentAudio.d.ts +3 -3
- package/build/src/components/JRCFileViewer/JRCFileViewerContentImage.d.ts +3 -3
- package/build/src/components/JRCFileViewer/JRCFileViewerContentVideo.d.ts +3 -3
- package/build/src/components/JRCFileViewer/JRCFileViewerOpenWithOptions.d.ts +2 -3
- package/build/src/components/JRCFileViewer/types.d.ts +2 -2
- package/build/src/components/JRCFlex/JRCFlexBox.d.ts +1 -9
- package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +2 -3
- package/build/src/components/JRCFolders/JRCFolders.d.ts +3 -5
- package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +7 -0
- package/build/src/components/JRCFolders/components/FileLittleList.d.ts +1 -2
- package/build/src/components/JRCFolders/styles.d.ts +1 -1
- package/build/src/components/JRCFolders/types.d.ts +1 -0
- package/build/src/components/JRCGrid/JRCGrid.d.ts +3 -3
- package/build/src/components/JRCGrid/JRCGrid.stories.d.ts +4 -5
- package/build/src/components/JRCGroupList/JRCGroupList.d.ts +1 -2
- package/build/src/components/JRCGroupList/JRCGroupList.stories.d.ts +5 -0
- package/build/src/components/JRCGroups/JRCGroups.d.ts +1 -2
- package/build/src/components/JRCGroups/JRCGroups.stories.d.ts +6 -0
- package/build/src/components/JRCHref/JRCHref.d.ts +6 -6
- package/build/src/components/JRCHref/JRCHref.stories.d.ts +5 -0
- package/build/src/components/JRCHtml/JRCHtml.d.ts +6 -6
- package/build/src/components/JRCHtml/JRCHtml.stories.d.ts +5 -0
- package/build/src/components/JRCIcon/JRCIcon.d.ts +1 -2
- package/build/src/components/JRCIcon/JRCIcon.stories.d.ts +1 -2
- package/build/src/components/JRCIconButton/JRCIconButton.d.ts +26 -26
- package/build/src/components/JRCIconButton/JRCIconButton.stories.d.ts +5 -0
- package/build/src/components/JRCImg/JRCImg.d.ts +1 -2
- package/build/src/components/JRCImg/JRCImg.stories.d.ts +6 -0
- package/build/src/components/JRCList/JRCList.d.ts +1 -2
- package/build/src/components/JRCList/JRCList.stories.d.ts +12 -0
- package/build/src/components/JRCList/JRCList.styles.d.ts +7 -8
- package/build/src/components/JRCList/JRCListMockData.stories.d.ts +4 -0
- package/build/src/components/JRCLoader/JRCLoader.d.ts +1 -2
- package/build/src/components/JRCLoader/JRCSkeleton.d.ts +1 -2
- package/build/src/components/JRCMenu/JRCMenu.d.ts +2 -3
- package/build/src/components/JRCMenu/JRCMenu.stories.d.ts +1 -2
- package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +3 -3
- package/build/src/components/JRCMessage/JRCMessage.d.ts +3 -3
- package/build/src/components/JRCMessage/JRCMessage.stories.d.ts +8 -0
- package/build/src/components/JRCModal/JRCModal.styles.d.ts +13 -13
- package/build/src/components/JRCModal/JRCModalContent.d.ts +7 -7
- package/build/src/components/JRCModal/JRCModalContentForm.d.ts +2 -2
- package/build/src/components/JRCModal/JRCModalLayout.d.ts +4 -4
- package/build/src/components/JRCModal/templates/JRCModal.d.ts +1 -2
- package/build/src/components/JRCModal/templates/JRCModal.stories.d.ts +4 -0
- package/build/src/components/JRCModal/templates/JRCModal.types.d.ts +3 -3
- package/build/src/components/JRCModal/templates/JRCModalForm.d.ts +1 -2
- package/build/src/components/JRCModal/templates/JRCModalForm.stories.d.ts +4 -0
- package/build/src/components/JRCModal/types.d.ts +1 -0
- package/build/src/components/JRCModalImg/JRCModalImg.d.ts +3 -3
- package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +6 -0
- package/build/src/components/JRCModalUserList/CSSAvatarWrapper.d.ts +3 -0
- package/build/src/components/JRCModalUserList/JRCModalUserList.d.ts +1 -5
- package/build/src/components/JRCObjectList/JRCObjectList.d.ts +3 -3
- package/build/src/components/JRCPagination/JRCPagination.d.ts +2 -3
- package/build/src/components/JRCPagination/JRCPagination.stories.d.ts +5 -0
- package/build/src/components/JRCProgressBar/JRCProgressBar.d.ts +2 -3
- package/build/src/components/JRCPublishButton/JRCPublishButton.d.ts +2 -3
- package/build/src/components/JRCPublishButton/PublishButtonEntry.d.ts +2 -2
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.d.ts +4 -4
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.stories.d.ts +5 -0
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.styles.d.ts +7 -7
- package/build/src/components/JRCSkeleton/JRCSkeletonLine.d.ts +1 -2
- package/build/src/components/JRCSkeleton/JRCSkeletonList.d.ts +2 -2
- package/build/src/components/JRCTabs/JRCTabs.d.ts +5 -5
- package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +6 -0
- package/build/src/components/JRCTag/JRCTag.d.ts +5 -5
- package/build/src/components/JRCTag/JRCTag.stories.d.ts +5 -0
- package/build/src/components/JRCThemeProvider/JRCThemeProvider.d.ts +3 -3
- package/build/src/components/JRCTooltip/JRCBaseTooltip.d.ts +1 -2
- package/build/src/components/JRCTooltip/JRCTooltip.d.ts +2 -32
- package/build/src/components/JRCTooltip/JRCTooltip.stories.d.ts +1 -1
- package/build/src/components/JRCTooltip/types.d.ts +31 -0
- package/build/src/components/JRCTypo/JRCTypo.d.ts +11 -11
- package/build/src/components/JRCTypo/JRCTypo.stories.d.ts +6 -7
- package/build/src/components/JRCTypography/JRCTypography.d.d.ts +7 -6
- package/build/src/components/JRCTypography/JRCTypography.d.ts +1 -2
- package/build/src/components/JRCTypography/JRCTypography.styles.d.ts +2 -2
- package/build/src/components/JRCUserHighlightFields/JRCUserHighlightFields.d.ts +1 -2
- package/build/src/components/JRCUserList/JRCUserList.d.ts +1 -2
- package/build/src/components/JRCUserList/JRCUserList.stories.d.ts +5 -0
- package/build/src/components/JRCUserPopup/JRCUserPopup.d.ts +2 -2
- package/build/src/components/JRCUserPopup/JRCUserPopup.stories.d.ts +5 -0
- package/build/src/components/JRCUserStatusIcon/JRCUserStatusIcon.d.ts +1 -2
- package/build/src/components/JRCUsers/JRCUsers.d.ts +1 -2
- package/build/src/components/JRCUsers/JRCUsers.stories.d.ts +6 -0
- package/build/src/components/Pages/JRCPageNotLogged.d.ts +2 -2
- package/build/src/components/Stepper/JRCFadeStepper.d.ts +3 -3
- package/build/src/components/Stepper/JRCImageStepper.d.ts +1 -2
- package/build/src/components/Stepper/JRCStepper.d.ts +3 -3
- package/build/src/components/Stepper/JRCStepper.stories.d.ts +4 -0
- package/build/src/components/Templates/AppColumn.d.ts +3 -0
- package/build/src/components/Templates/JRCAppColumn.d.ts +1 -2
- package/build/src/components/Templates/JRCAppTab.d.ts +2 -3
- package/build/src/components/Templates/JRCBase.template.d.ts +6 -6
- package/build/src/components/Templates/JRCBasicAutoMarginContainer.d.ts +1 -2
- package/build/src/components/Templates/JRCColumn.d.ts +1 -2
- package/build/src/components/Templates/JRCContainer.d.ts +1 -2
- package/build/src/components/Templates/JRCMainColumn.d.ts +1 -2
- package/build/src/components/Templates/JRCPanel.d.ts +1 -2
- package/build/src/components/Templates/JRCStepperPage.d.ts +6 -6
- package/build/src/components/Templates/JRCTemplate.stories.d.ts +6 -0
- package/build/src/components/Templates/JRCTwoColumns.template.d.ts +3 -3
- package/build/src/components/Templates/MainColumn.d.ts +2 -0
- package/build/src/components/Templates/template.styles.d.ts +276 -276
- package/build/src/components/Templates/template.type.d.ts +6 -6
- package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.stories.d.ts +8 -0
- package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGalleryEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.d.ts +3 -4
- package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.stories.d.ts +195 -0
- package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleTextEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitle.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitleEditor.d.ts +3 -3
- package/build/src/components/Widgets/JRCWidgetAttachment/JRCWidgetArticleAttachmentEditor.d.ts +3 -3
- package/build/src/components/Widgets/JRCWidgetAttachment/JRCWidgetAttachment.d.ts +3 -4
- package/build/src/components/Widgets/JRCWidgetAttachment/JRCWidgetAttachment.stories.d.ts +7 -0
- package/build/src/components/Widgets/JRCWidgetButton/JRCWidgetButton.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetButton/JRCWidgetButton.stories.d.ts +4 -0
- package/build/src/components/Widgets/JRCWidgetButton/JRCWidgetButtonEditor.d.ts +3 -3
- package/build/src/components/Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDav.d.ts +4 -4
- package/build/src/components/Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDavEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList.stories.d.ts +4 -0
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListEditor.d.ts +3 -4
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListEditorItemLink.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListImage.d.ts +4 -5
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListItem.d.ts +3 -3
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListLink.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDav.d.ts +3 -3
- package/build/src/components/Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDavEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImap.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapAttachments.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapDate.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapLevel2.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetEmailsImap/WidgetEmailsImapStatus.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmailsImap/components/WidgetEmailsItemBody.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetEmailsImap/components/WidgetEmailsItemFooter.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmailsImap/components/WidgetEmailsItemHeader.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmailsImap/components/WidgetEmailsItemSubject.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetEmptyInplace.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetIcon.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetArticleImageEditor.d.ts +2 -4
- package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetImage.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetImage.stories.d.ts +4 -0
- package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetImageEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetImage/styles.d.ts +3 -3
- package/build/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsence.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsenceEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsenceStatus.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetPresence/JRCWidgetPresence.d.ts +2 -8
- package/build/src/components/Widgets/JRCWidgetPresence/JRCWidgetPresenceEditor.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey.stories.d.ts +4 -0
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditor.styles.d.ts +1 -1
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditorAddEntry.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditorEntries.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyImage.d.ts +4 -5
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyItemWrapper.d.ts +3 -3
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyResponse.d.ts +4 -5
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditorSlide.d.ts +4 -17
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditorSlideRemove.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetSlider.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetSlider.stories.d.ts +5 -0
- package/build/src/components/Widgets/JRCWidgetSlider/components/SliderArrows.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetSlider/components/SliderDots.d.ts +3 -4
- package/build/src/components/Widgets/JRCWidgetSlider/components/SliderImage.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetSlider/components/SliderSlideTitle.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetSlider/types.d.ts +1 -1
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetDatasourceTableEditor.d.ts +5 -54
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetDatasourceTableEditor.styles.d.ts +1 -1
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetExcelDatasourceTableEditor.d.ts +5 -54
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.d.ts +6 -6
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.stories.d.ts +6 -0
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.styles.d.ts +3 -3
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableEditor.d.ts +2 -43
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableSharedEditor.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableTdRenderer.d.ts +3 -11
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableTdRendererText.d.ts +2 -10
- package/build/src/components/Widgets/JRCWidgetTable/components/ModalButton.d.ts +5 -5
- package/build/src/components/Widgets/JRCWidgetTable/components/ModalColumnLabelize.d.ts +2 -3
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceFetchDatasource.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelView.d.ts +4 -13
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelViewChanges.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelViewColumn.d.ts +3 -4
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelViewColumnAction.d.ts +3 -12
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceObject.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/doc/DocEditor.d.ts +5 -13
- package/build/src/components/Widgets/JRCWidgetTable/model/doc/DocEditorObject.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditor.d.ts +3 -11
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorBrokenModel.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorModel.d.ts +2 -10
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorModelColumn.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorObject.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorSelectDocument.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorSelectWedocFile.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorSpreadSheets.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorUploader.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/studio/StudioEditor.d.ts +5 -13
- package/build/src/components/Widgets/JRCWidgetTable/model/studio/StudioEditorApp.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/studio/StudioEditorFetch.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/studio/StudioEditorObject.d.ts +1 -2
- package/build/src/components/Widgets/JRCWidgetTable/types.d.ts +24 -0
- package/build/src/components/Widgets/JRCWidgetTable/utils.d.ts +1 -1
- package/build/src/components/Widgets/components/WidgetAvatarList.d.ts +3 -4
- package/build/src/components/Widgets/components/WidgetImageLine.d.ts +1 -2
- package/build/src/components/Widgets/components/WidgetMissingToken.d.ts +1 -2
- package/build/src/components/Widgets/context/hooks.d.ts +1 -173
- package/build/src/components/Widgets/context/provider.d.ts +5 -5
- package/build/src/components/Widgets/styles.d.ts +7 -7
- package/build/src/components/api/jamespot/mockApiWrapper.d.ts +10 -0
- package/build/src/components/api/jamespot/mock_jamespot.d.ts +0 -10
- package/build/src/components/index.d.ts +173 -0
- package/build/src/hooks/UseKeyPress.d.ts +1 -2
- package/build/src/index.d.ts +4 -186
- package/build/src/storybook/decorators.d.ts +1 -2
- package/build/src/styles/Theme.stories.d.ts +1 -2
- package/build/src/styles/utils.d.ts +2 -7
- package/build/src/types.d.ts +11 -13
- package/build/src/utils/index.d.ts +1 -41
- package/build/src/utils/test-utils.d.ts +3 -3
- package/build/src/utils/utils.array.d.ts +2 -2
- package/build/src/utils/utils.files.d.ts +1 -1
- package/jest.config.ts +10 -7
- package/package.json +87 -101
- package/build/src/components/Widgets/JRCWidgetTable/pagination.test.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetTable/utils.test.d.ts +0 -1
- package/build/src/utils/utils.array.test.d.ts +0 -1
- package/build/src/utils/utils.color.test.d.ts +0 -1
- package/build/src/utils/utils.html.test.d.ts +0 -1
- package/build/src/utils/utils.regexp.test.d.ts +0 -1
- package/build/src/utils/utils.string.test.d.ts +0 -1
- package/build/src/utils/utils.time.test.d.ts +0 -1
|
@@ -1,108 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
themeCustom?: ButtonType;
|
|
11
|
-
/** Indicates loading of content on the button */
|
|
1
|
+
import { ButtonProps } from './types';
|
|
2
|
+
import { JRCTooltipProps } from '../JRCTooltip/types';
|
|
3
|
+
export type JRCButtonProps = ButtonProps & {
|
|
4
|
+
/** tooltip tooltip props */
|
|
5
|
+
tooltip?: Omit<JRCTooltipProps, 'children'>;
|
|
6
|
+
};
|
|
7
|
+
export declare const JRCButton: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("../../types/dataAttributes").DataCy & {
|
|
8
|
+
color?: import("./types").ButtonColors;
|
|
9
|
+
themeCustom?: import("./types").ButtonType;
|
|
12
10
|
loader?: boolean;
|
|
13
|
-
/** This Boolean attribute specifies that the button should have input focus when the page loads */
|
|
14
11
|
autofocus?: boolean;
|
|
15
|
-
/** Defines the value associated with the button’s name when it’s submitted with the form data */
|
|
16
12
|
value?: string;
|
|
17
|
-
/** Enhance your button with an icon */
|
|
18
13
|
icon?: string;
|
|
19
|
-
/** set the icon at the right of the button */
|
|
20
14
|
iconRight?: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/** @deprecated CSS float attribute */
|
|
24
|
-
float?: 'left' | 'right';
|
|
25
|
-
/** CSS min-width attribute */
|
|
15
|
+
variant?: "contained" | "outlined" | "link";
|
|
16
|
+
float?: "left" | "right";
|
|
26
17
|
minWidth?: string;
|
|
27
|
-
/** has license. If false, the button will be disabled with a license tooltip. Default to true */
|
|
28
18
|
hasLicense?: boolean;
|
|
29
|
-
/** tooltip tooltip props */
|
|
30
|
-
tooltip?: Omit<JRCTooltipProps, 'children'>;
|
|
31
|
-
/** label, optional, replaces children */
|
|
32
19
|
label?: string;
|
|
33
|
-
/** Disable margins **/
|
|
34
20
|
noMargin?: boolean;
|
|
35
|
-
size?:
|
|
21
|
+
size?: "m" | "s";
|
|
36
22
|
srOnly?: string;
|
|
37
|
-
borderRadius?:
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Button styling. May be used as a <a> tag
|
|
41
|
-
*/
|
|
42
|
-
export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
43
|
-
$themeButton: ButtonType;
|
|
44
|
-
hasLabel: boolean;
|
|
45
|
-
} & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & DataCy & {
|
|
46
|
-
/** Color of the background of the button */
|
|
47
|
-
color?: ButtonColors | undefined;
|
|
48
|
-
themeCustom?: ButtonType | undefined;
|
|
49
|
-
/** Indicates loading of content on the button */
|
|
50
|
-
loader?: boolean | undefined;
|
|
51
|
-
/** This Boolean attribute specifies that the button should have input focus when the page loads */
|
|
52
|
-
autofocus?: boolean | undefined;
|
|
53
|
-
/** Defines the value associated with the button’s name when it’s submitted with the form data */
|
|
54
|
-
value?: string | undefined;
|
|
55
|
-
/** Enhance your button with an icon */
|
|
56
|
-
icon?: string | undefined;
|
|
57
|
-
/** set the icon at the right of the button */
|
|
58
|
-
iconRight?: boolean | undefined;
|
|
59
|
-
/** The variant is used to define what type of action the button will take */
|
|
60
|
-
variant?: "link" | "contained" | "outlined" | undefined;
|
|
61
|
-
/** @deprecated CSS float attribute */
|
|
62
|
-
float?: "left" | "right" | undefined;
|
|
63
|
-
/** CSS min-width attribute */
|
|
64
|
-
minWidth?: string | undefined;
|
|
65
|
-
/** has license. If false, the button will be disabled with a license tooltip. Default to true */
|
|
66
|
-
hasLicense?: boolean | undefined;
|
|
67
|
-
/** tooltip tooltip props */
|
|
68
|
-
tooltip?: Omit<JRCTooltipProps, "children"> | undefined;
|
|
69
|
-
/** label, optional, replaces children */
|
|
70
|
-
label?: string | undefined;
|
|
71
|
-
/** Disable margins **/
|
|
72
|
-
noMargin?: boolean | undefined;
|
|
73
|
-
size?: "s" | "m" | undefined;
|
|
74
|
-
srOnly?: string | undefined;
|
|
75
|
-
borderRadius?: "right" | undefined;
|
|
76
|
-
} & DashedFocusBorderProps, never>;
|
|
77
|
-
export declare const JRCButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & DataCy & {
|
|
78
|
-
/** Color of the background of the button */
|
|
79
|
-
color?: ButtonColors | undefined;
|
|
80
|
-
themeCustom?: ButtonType | undefined;
|
|
81
|
-
/** Indicates loading of content on the button */
|
|
82
|
-
loader?: boolean | undefined;
|
|
83
|
-
/** This Boolean attribute specifies that the button should have input focus when the page loads */
|
|
84
|
-
autofocus?: boolean | undefined;
|
|
85
|
-
/** Defines the value associated with the button’s name when it’s submitted with the form data */
|
|
86
|
-
value?: string | undefined;
|
|
87
|
-
/** Enhance your button with an icon */
|
|
88
|
-
icon?: string | undefined;
|
|
89
|
-
/** set the icon at the right of the button */
|
|
90
|
-
iconRight?: boolean | undefined;
|
|
91
|
-
/** The variant is used to define what type of action the button will take */
|
|
92
|
-
variant?: "link" | "contained" | "outlined" | undefined;
|
|
93
|
-
/** @deprecated CSS float attribute */
|
|
94
|
-
float?: "left" | "right" | undefined;
|
|
95
|
-
/** CSS min-width attribute */
|
|
96
|
-
minWidth?: string | undefined;
|
|
97
|
-
/** has license. If false, the button will be disabled with a license tooltip. Default to true */
|
|
98
|
-
hasLicense?: boolean | undefined;
|
|
23
|
+
borderRadius?: "right";
|
|
24
|
+
} & {
|
|
99
25
|
/** tooltip tooltip props */
|
|
100
|
-
tooltip?: Omit<JRCTooltipProps, "children"
|
|
101
|
-
|
|
102
|
-
label?: string | undefined;
|
|
103
|
-
/** Disable margins **/
|
|
104
|
-
noMargin?: boolean | undefined;
|
|
105
|
-
size?: "s" | "m" | undefined;
|
|
106
|
-
srOnly?: string | undefined;
|
|
107
|
-
borderRadius?: "right" | undefined;
|
|
108
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
26
|
+
tooltip?: Omit<JRCTooltipProps, "children">;
|
|
27
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Meta, StoryFn, StoryObj } from '@storybook/react-webpack5';
|
|
2
2
|
import { JRCButtonProps } from './JRCButton';
|
|
3
3
|
import { JRCValidationButton } from './JRCValidationButton';
|
|
4
|
-
import { Meta, StoryFn, StoryObj } from '@storybook/react-webpack5';
|
|
5
4
|
declare const meta: Meta;
|
|
6
5
|
export default meta;
|
|
7
6
|
export declare const ButtonWithChildren: StoryFn<JRCButtonProps>;
|
|
8
7
|
export declare const ButtonWithLabel: StoryFn<JRCButtonProps>;
|
|
9
|
-
export declare const AllButtons: () =>
|
|
8
|
+
export declare const AllButtons: () => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
type Story = StoryObj<typeof JRCValidationButton>;
|
|
11
10
|
export declare const ValidationButtonClicked: Story;
|
|
12
11
|
export declare const ValidationButtonClickReset: Story;
|
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ButtonColors } from './JRCButton';
|
|
1
|
+
import { ButtonColors, ButtonType } from './types';
|
|
3
2
|
export declare const defaultLinkStyle: ButtonType;
|
|
4
|
-
export type ButtonType = {
|
|
5
|
-
color: Colors;
|
|
6
|
-
background: ColorsOrShades;
|
|
7
|
-
border: Colors;
|
|
8
|
-
active: {
|
|
9
|
-
background: ColorsOrShades;
|
|
10
|
-
border: ColorsOrShades;
|
|
11
|
-
'text-decoration'?: 'underline' | 'none';
|
|
12
|
-
};
|
|
13
|
-
hover: {
|
|
14
|
-
background: ColorsOrShades;
|
|
15
|
-
border: ColorsOrShades;
|
|
16
|
-
'text-decoration'?: 'underline' | 'none';
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
3
|
type ButtonConfig = Record<'contained' | 'outlined', Record<ButtonColors | 'disabled', ButtonType>> & Record<'link', Record<ButtonColors | 'disabled', ButtonType>>;
|
|
20
4
|
export declare const BUTTON_CONFIG: ButtonConfig;
|
|
21
5
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
2
|
import { JRCButtonProps } from './JRCButton';
|
|
3
3
|
/**
|
|
4
4
|
* @see JRCButtonProps
|
|
@@ -6,7 +6,7 @@ import { JRCButtonProps } from './JRCButton';
|
|
|
6
6
|
* @member validationMessage, optional validation message, default to "Confirm / Valider"
|
|
7
7
|
*/
|
|
8
8
|
export type JRCValidationButtonProps = JRCButtonProps & {
|
|
9
|
-
onValidationClick?: (e:
|
|
9
|
+
onValidationClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
10
10
|
validationMessage?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const JRCValidationButton: ({ onClick, onValidationClick, children, color, variant, icon, ...props }: JRCValidationButtonProps) =>
|
|
12
|
+
export declare const JRCValidationButton: ({ onClick, onValidationClick, children, color, variant, icon, ...props }: JRCValidationButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { Colors, ColorsOrShades } from '../../styles/theme';
|
|
3
|
+
import { DataCy } from '../../types/dataAttributes';
|
|
4
|
+
import { DashedFocusBorderProps } from '../Common/DashedFocusBorder';
|
|
5
|
+
export type ButtonType = {
|
|
6
|
+
color: Colors;
|
|
7
|
+
background: ColorsOrShades;
|
|
8
|
+
border: Colors;
|
|
9
|
+
active: {
|
|
10
|
+
background: ColorsOrShades;
|
|
11
|
+
border: ColorsOrShades;
|
|
12
|
+
'text-decoration'?: 'underline' | 'none';
|
|
13
|
+
};
|
|
14
|
+
hover: {
|
|
15
|
+
background: ColorsOrShades;
|
|
16
|
+
border: ColorsOrShades;
|
|
17
|
+
'text-decoration'?: 'underline' | 'none';
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type ButtonColors = 'primary' | 'valid' | 'danger' | 'secondary' | 'cancel' | 'neutral' | 'white';
|
|
21
|
+
export type ButtonProps = ComponentPropsWithoutRef<'button'> & DataCy & {
|
|
22
|
+
/** Color of the background of the button */
|
|
23
|
+
color?: ButtonColors;
|
|
24
|
+
themeCustom?: ButtonType;
|
|
25
|
+
/** Indicates loading of content on the button */
|
|
26
|
+
loader?: boolean;
|
|
27
|
+
/** This Boolean attribute specifies that the button should have input focus when the page loads */
|
|
28
|
+
autofocus?: boolean;
|
|
29
|
+
/** Defines the value associated with the button’s name when it’s submitted with the form data */
|
|
30
|
+
value?: string;
|
|
31
|
+
/** Enhance your button with an icon */
|
|
32
|
+
icon?: string;
|
|
33
|
+
/** set the icon at the right of the button */
|
|
34
|
+
iconRight?: boolean;
|
|
35
|
+
/** The variant is used to define what type of action the button will take */
|
|
36
|
+
variant?: 'contained' | 'outlined' | 'link';
|
|
37
|
+
/** @deprecated CSS float attribute */
|
|
38
|
+
float?: 'left' | 'right';
|
|
39
|
+
/** CSS min-width attribute */
|
|
40
|
+
minWidth?: string;
|
|
41
|
+
/** has license. If false, the button will be disabled with a license tooltip. Default to true */
|
|
42
|
+
hasLicense?: boolean;
|
|
43
|
+
/** label, optional, replaces children */
|
|
44
|
+
label?: string;
|
|
45
|
+
/** Disable margins **/
|
|
46
|
+
noMargin?: boolean;
|
|
47
|
+
size?: 'm' | 's';
|
|
48
|
+
srOnly?: string;
|
|
49
|
+
borderRadius?: 'right';
|
|
50
|
+
};
|
|
51
|
+
export type StyledButtonProps = {
|
|
52
|
+
$themeButton: ButtonType;
|
|
53
|
+
hasLabel: boolean;
|
|
54
|
+
} & ButtonProps & DashedFocusBorderProps;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Colors, Shades } from '../../styles/theme';
|
|
2
2
|
import { JRCButtonProps } from '../JRCButton/JRCButton';
|
|
3
|
-
import { Colors, Shades } from 'styles/theme';
|
|
4
3
|
/**
|
|
5
4
|
* Interface to provide JRCButtonDownloadProps props
|
|
6
5
|
* @member content text stringify to download
|
|
@@ -18,4 +17,4 @@ export interface JRCButtonDownloadProps extends JRCButtonProps {
|
|
|
18
17
|
* @param {label, action?, color?, variant?} props, @see JRCButtonDropdownProps
|
|
19
18
|
* @returns JSX.Element
|
|
20
19
|
*/
|
|
21
|
-
export declare const JRCButtonDownload: ({ icon, iconColor, isIconButton, data, fileName, ...props }: JRCButtonDownloadProps) =>
|
|
20
|
+
export declare const JRCButtonDownload: ({ icon, iconColor, isIconButton, data, fileName, ...props }: JRCButtonDownloadProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JRCButtonDownloadProps } from './JRCButtonDownload';
|
|
2
|
+
import { Meta } from '@storybook/react-webpack5';
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Simple: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonDownloadProps>;
|
|
6
|
+
export declare const CustomIconAndLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonDownloadProps>;
|
|
7
|
+
export declare const CustomIconButton: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonDownloadProps>;
|
|
8
|
+
export declare const CustomColorIconButton: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonDownloadProps>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { JRCButtonDropdownProps } from './JRCButtonDropdown.types';
|
|
3
|
-
export declare const JRCButtonDropdown: (props: JRCButtonDropdownProps) =>
|
|
2
|
+
export declare const JRCButtonDropdown: (props: JRCButtonDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { ButtonProps,
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} &
|
|
23
|
-
small?: boolean
|
|
1
|
+
import { ButtonType } from '../JRCButton/types';
|
|
2
|
+
import type { ButtonProps, DropdownOptionProps, MenuWithTitleProps } from './JRCButtonDropdown.types';
|
|
3
|
+
export declare const MarginLessJRCButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("../../types/dataAttributes").DataCy & {
|
|
4
|
+
color?: import("../JRCButton/types").ButtonColors;
|
|
5
|
+
themeCustom?: ButtonType;
|
|
6
|
+
loader?: boolean;
|
|
7
|
+
autofocus?: boolean;
|
|
8
|
+
value?: string;
|
|
9
|
+
icon?: string;
|
|
10
|
+
iconRight?: boolean;
|
|
11
|
+
variant?: "contained" | "outlined" | "link";
|
|
12
|
+
float?: "left" | "right";
|
|
13
|
+
minWidth?: string;
|
|
14
|
+
hasLicense?: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
noMargin?: boolean;
|
|
17
|
+
size?: "m" | "s";
|
|
18
|
+
srOnly?: string;
|
|
19
|
+
borderRadius?: "right";
|
|
20
|
+
} & {
|
|
21
|
+
tooltip?: Omit<import("../..").JRCTooltipProps, "children">;
|
|
22
|
+
} & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, ButtonProps & {
|
|
23
|
+
small?: boolean;
|
|
24
24
|
}, never>;
|
|
25
25
|
export declare const MenuWithoutTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
26
|
-
export declare const MenuWithTitle: ({ direction, label, themeButton, children }: MenuWithTitleProps) =>
|
|
26
|
+
export declare const MenuWithTitle: ({ direction, label, themeButton, children }: MenuWithTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export declare const DropdownOption: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, DropdownOptionProps & {
|
|
28
|
-
lastChild?: boolean
|
|
28
|
+
lastChild?: boolean;
|
|
29
29
|
}, never>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { JRCButtonProps } from '../JRCButton/JRCButton';
|
|
2
|
-
import
|
|
2
|
+
import { ButtonType } from '../JRCButton/types';
|
|
3
3
|
import { JRCIconProps } from '../JRCIcon/JRCIcon';
|
|
4
|
-
import {
|
|
4
|
+
import { ReactElement, ReactNode, MouseEvent } from 'react';
|
|
5
5
|
export type JRCButtonDropdownOptionProps = {
|
|
6
6
|
icon?: Pick<JRCIconProps, 'name' | 'color' | 'variant'>;
|
|
7
|
-
label: string |
|
|
7
|
+
label: string | ReactElement<string>;
|
|
8
8
|
onClick?: () => void;
|
|
9
9
|
href?: string;
|
|
10
10
|
target?: '_blank';
|
|
@@ -18,7 +18,7 @@ export type JRCButtonDropdownProps = {
|
|
|
18
18
|
small?: boolean;
|
|
19
19
|
smallOpenDirection?: 'right' | 'left';
|
|
20
20
|
optionSelected?: boolean;
|
|
21
|
-
onClick?: (event?:
|
|
21
|
+
onClick?: (event?: MouseEvent<HTMLButtonElement>) => void;
|
|
22
22
|
variant?: JRCButtonProps['variant'];
|
|
23
23
|
options: Array<JRCButtonDropdownOptionProps>;
|
|
24
24
|
semiTransparentClosed?: boolean;
|
|
@@ -40,7 +40,7 @@ export type OpenDirection = {
|
|
|
40
40
|
export type MenuWithTitleProps = OpenDirection & {
|
|
41
41
|
label: string;
|
|
42
42
|
themeButton: ButtonProps['$themeButton'];
|
|
43
|
-
children:
|
|
43
|
+
children: ReactNode;
|
|
44
44
|
};
|
|
45
45
|
export type DropdownOptionProps = {
|
|
46
46
|
optionSelected?: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { JRCButtonProps } from '../JRCButton/JRCButton';
|
|
3
2
|
/**
|
|
4
3
|
* Interface to provide JRCMenu props
|
|
@@ -15,4 +14,4 @@ export interface JRCButtonFileProps extends JRCButtonProps {
|
|
|
15
14
|
* @param {label, action?, color?, variant?} props, @see JRCButtonDropdownProps
|
|
16
15
|
* @returns JSX.Element
|
|
17
16
|
*/
|
|
18
|
-
export declare const JRCButtonFile: ({ icon, multiple, getContent, ...props }: JRCButtonFileProps) =>
|
|
17
|
+
export declare const JRCButtonFile: ({ icon, multiple, getContent, ...props }: JRCButtonFileProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JRCButtonFileProps } from './JRCButtonFile';
|
|
2
|
+
import { Meta } from '@storybook/react-webpack5';
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Simple: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonFileProps>;
|
|
6
|
+
export declare const Multiple: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonFileProps>;
|
|
7
|
+
export declare const CustomIconAndLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonFileProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const CalendarStyle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
|
-
loading?: boolean
|
|
3
|
-
view:
|
|
4
|
-
fullScreen?: boolean
|
|
2
|
+
loading?: boolean;
|
|
3
|
+
view: "list" | "grid";
|
|
4
|
+
fullScreen?: boolean;
|
|
5
5
|
}, never>;
|
|
@@ -1,32 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { CalendarApi } from '@fullcalendar/core';
|
|
4
|
-
export type JRCCalendarProps = {
|
|
5
|
-
events?: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>[];
|
|
6
|
-
loading?: boolean;
|
|
7
|
-
onChangeDates?: (start: Date, end: Date) => void;
|
|
8
|
-
onError: (errorMsg?: string) => void;
|
|
9
|
-
onSuccess: (message: string) => void;
|
|
10
|
-
handler: {
|
|
11
|
-
global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
|
|
12
|
-
calendar: Pick<JCalendarApi, 'reviveSubmit'>;
|
|
13
|
-
article: Pick<JArticleApi, 'delete'>;
|
|
14
|
-
};
|
|
15
|
-
defaultView: CalendarView;
|
|
16
|
-
eventModalExtraComponent?: (event: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>) => ReactNode;
|
|
17
|
-
onChangeView?: (view: {
|
|
18
|
-
label: string;
|
|
19
|
-
value: CalendarView;
|
|
20
|
-
}) => void;
|
|
21
|
-
fullScreen?: boolean;
|
|
22
|
-
deportedToolbar?: {
|
|
23
|
-
onChangeLabel?: (label: string) => void;
|
|
24
|
-
onCalendarApiInit?: (api?: CalendarApi) => void;
|
|
25
|
-
view?: {
|
|
26
|
-
label: string;
|
|
27
|
-
value: CalendarView;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export type CalendarView = 'dayGridMonth' | 'timeGridWeek' | 'timeGridDay' | 'list';
|
|
32
|
-
export declare const JRCCalendar: ({ events, loading, onChangeDates, onError, handler, onSuccess, defaultView, eventModalExtraComponent, onChangeView, fullScreen, deportedToolbar, }: JRCCalendarProps) => React.JSX.Element;
|
|
1
|
+
import { JRCCalendarProps } from './types';
|
|
2
|
+
export declare const JRCCalendar: ({ events, loading, onChangeDates, onError, handler, onSuccess, defaultView, eventModalExtraComponent, onChangeView, fullScreen, deportedToolbar, }: JRCCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,33 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { Audience, JCalendarApi, JGlobalApi, UserResponseStatus } from 'jamespot-user-api';
|
|
4
|
-
import { SubscriptionModifiers } from './JRCEventStatusButton';
|
|
5
|
-
export type JRCCalendarEventProps = {
|
|
6
|
-
id: string;
|
|
7
|
-
title: string;
|
|
8
|
-
start: Date | null;
|
|
9
|
-
end: Date | null;
|
|
10
|
-
status: UserResponseStatus | null;
|
|
11
|
-
display: CalendarView;
|
|
12
|
-
onClick: (id: number) => void;
|
|
13
|
-
audience: Pick<Audience, '_url' | 'title' | 'uri'>[];
|
|
14
|
-
allDay?: boolean;
|
|
15
|
-
textColor?: string;
|
|
16
|
-
backgroundColor?: string;
|
|
17
|
-
address?: string;
|
|
18
|
-
image: boolean;
|
|
19
|
-
type: string;
|
|
20
|
-
isVisio?: boolean;
|
|
21
|
-
handler: {
|
|
22
|
-
global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
|
|
23
|
-
calendar: Pick<JCalendarApi, 'reviveSubmit'>;
|
|
24
|
-
};
|
|
25
|
-
onError: (errMsg?: string) => void;
|
|
26
|
-
onSuccess: (message: string) => void;
|
|
27
|
-
noGestion: boolean;
|
|
28
|
-
setSubscriptionModifiers: (fn: (prev: SubscriptionModifiers) => SubscriptionModifiers) => void;
|
|
29
|
-
uri: string;
|
|
30
|
-
canSubscribe: boolean;
|
|
31
|
-
subscriptionModifiers: SubscriptionModifiers;
|
|
32
|
-
};
|
|
33
|
-
export declare const JRCCalendarEvent: ({ status, title, start, end, display, id: stringId, onClick, audience, allDay, textColor, backgroundColor, address, image, type, isVisio, handler, onError, onSuccess, noGestion, setSubscriptionModifiers, uri, canSubscribe, subscriptionModifiers, }: JRCCalendarEventProps) => React.JSX.Element | null;
|
|
1
|
+
import { JRCCalendarEventProps } from './types';
|
|
2
|
+
export declare const JRCCalendarEvent: ({ status, title, start, end, display, id: stringId, onClick, audience, allDay, textColor, backgroundColor, address, image, type, isVisio, handler, onError, onSuccess, noGestion, setSubscriptionModifiers, uri, canSubscribe, subscriptionModifiers, }: JRCCalendarEventProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { CalendarEventViewAbstractType, CalendarEventWithExtensions, JArticleApi, JCalendarApi, JGlobalApi } from 'jamespot-user-api';
|
|
3
3
|
import { SubscriptionModifiers } from './JRCEventStatusButton';
|
|
4
4
|
export type JRCCalendarModalProps = {
|
|
@@ -16,4 +16,4 @@ export type JRCCalendarModalProps = {
|
|
|
16
16
|
setSubscriptionModifiers: (fn: (prev: SubscriptionModifiers) => SubscriptionModifiers) => void;
|
|
17
17
|
subscriptionModifiers: SubscriptionModifiers;
|
|
18
18
|
};
|
|
19
|
-
export declare const JRCCalendarModal: ({ open, closeHandler, event, handler, onError, onSuccess, extraComponent, setSubscriptionModifiers, subscriptionModifiers, }: JRCCalendarModalProps) =>
|
|
19
|
+
export declare const JRCCalendarModal: ({ open, closeHandler, event, handler, onError, onSuccess, extraComponent, setSubscriptionModifiers, subscriptionModifiers, }: JRCCalendarModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { JGlobalApi, UserResponseStatus } from 'jamespot-user-api';
|
|
3
2
|
export type SubscriptionModifiers = {
|
|
4
3
|
uri: string;
|
|
@@ -21,4 +20,4 @@ export type JRCEventStatusButtonProps = {
|
|
|
21
20
|
eventUri: string;
|
|
22
21
|
status: UserResponseStatus | null;
|
|
23
22
|
};
|
|
24
|
-
export declare const JRCEventStatusButton: ({ onError, handler, onSuccess, eventId, eventUri, eventType, eventIsVisio, initialStatus, canSubscribe, setSubscriptionModifiers, status, }: JRCEventStatusButtonProps) =>
|
|
23
|
+
export declare const JRCEventStatusButton: ({ onError, handler, onSuccess, eventId, eventUri, eventType, eventIsVisio, initialStatus, canSubscribe, setSubscriptionModifiers, status, }: JRCEventStatusButtonProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CalendarApi } from '@fullcalendar/core';
|
|
2
|
+
import { Audience, CalendarEventViewAbstractType, CalendarEventWithExtensions, JArticleApi, JCalendarApi, JGlobalApi, UserResponseStatus } from 'jamespot-user-api';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { SubscriptionModifiers } from './JRCEventStatusButton';
|
|
5
|
+
export type CalendarView = 'dayGridMonth' | 'timeGridWeek' | 'timeGridDay' | 'list';
|
|
6
|
+
export type JRCCalendarProps = {
|
|
7
|
+
events?: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>[];
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
onChangeDates?: (start: Date, end: Date) => void;
|
|
10
|
+
onError: (errorMsg?: string) => void;
|
|
11
|
+
onSuccess: (message: string) => void;
|
|
12
|
+
handler: {
|
|
13
|
+
global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
|
|
14
|
+
calendar: Pick<JCalendarApi, 'reviveSubmit'>;
|
|
15
|
+
article: Pick<JArticleApi, 'delete'>;
|
|
16
|
+
};
|
|
17
|
+
defaultView: CalendarView;
|
|
18
|
+
eventModalExtraComponent?: (event: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>) => ReactNode;
|
|
19
|
+
onChangeView?: (view: {
|
|
20
|
+
label: string;
|
|
21
|
+
value: CalendarView;
|
|
22
|
+
}) => void;
|
|
23
|
+
fullScreen?: boolean;
|
|
24
|
+
deportedToolbar?: {
|
|
25
|
+
onChangeLabel?: (label: string) => void;
|
|
26
|
+
onCalendarApiInit?: (api?: CalendarApi) => void;
|
|
27
|
+
view?: {
|
|
28
|
+
label: string;
|
|
29
|
+
value: CalendarView;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export type JRCCalendarEventProps = {
|
|
34
|
+
id: string;
|
|
35
|
+
title: string;
|
|
36
|
+
start: Date | null;
|
|
37
|
+
end: Date | null;
|
|
38
|
+
status: UserResponseStatus | null;
|
|
39
|
+
display: CalendarView;
|
|
40
|
+
onClick: (id: number) => void;
|
|
41
|
+
audience: Pick<Audience, '_url' | 'title' | 'uri'>[];
|
|
42
|
+
allDay?: boolean;
|
|
43
|
+
textColor?: string;
|
|
44
|
+
backgroundColor?: string;
|
|
45
|
+
address?: string;
|
|
46
|
+
image: boolean;
|
|
47
|
+
type: string;
|
|
48
|
+
isVisio?: boolean;
|
|
49
|
+
handler: {
|
|
50
|
+
global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
|
|
51
|
+
calendar: Pick<JCalendarApi, 'reviveSubmit'>;
|
|
52
|
+
};
|
|
53
|
+
onError: (errMsg?: string) => void;
|
|
54
|
+
onSuccess: (message: string) => void;
|
|
55
|
+
noGestion: boolean;
|
|
56
|
+
setSubscriptionModifiers: (fn: (prev: SubscriptionModifiers) => SubscriptionModifiers) => void;
|
|
57
|
+
uri: string;
|
|
58
|
+
canSubscribe: boolean;
|
|
59
|
+
subscriptionModifiers: SubscriptionModifiers;
|
|
60
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { MessageType } from '../Common/util/getColor.util';
|
|
3
3
|
export type TVariants = 'span' | 'div';
|
|
4
|
-
export type JRCCardProps =
|
|
4
|
+
export type JRCCardProps = ComponentPropsWithoutRef<'div'> & {
|
|
5
5
|
variant?: TVariants;
|
|
6
6
|
type?: MessageType;
|
|
7
7
|
padding?: PaddingValues;
|
|
@@ -15,7 +15,7 @@ export declare const PADDING: {
|
|
|
15
15
|
large: string;
|
|
16
16
|
};
|
|
17
17
|
export declare const Card: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
18
|
-
type?: MessageType
|
|
19
|
-
padding?:
|
|
18
|
+
type?: MessageType;
|
|
19
|
+
padding?: PaddingValues;
|
|
20
20
|
}, never>;
|
|
21
|
-
export declare const JRCCard: (props: JRCCardProps) =>
|
|
21
|
+
export declare const JRCCard: (props: JRCCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { JRCCardProps } from './JRCCard';
|
|
2
|
+
import { Meta } from '@storybook/react-webpack5';
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCCardProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImgUrlProps } from 'jamespot-user-api';
|
|
2
|
-
import
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
declare const ASPECTS: {
|
|
4
4
|
'4:3': number;
|
|
5
5
|
'5:4': number;
|
|
@@ -19,18 +19,18 @@ export type JRCCardImgProps = {
|
|
|
19
19
|
img?: string;
|
|
20
20
|
imgFromObject?: ImgUrlProps;
|
|
21
21
|
title: string;
|
|
22
|
-
content?:
|
|
22
|
+
content?: ReactNode;
|
|
23
23
|
aspect?: keyof typeof ASPECTS;
|
|
24
24
|
href?: string;
|
|
25
25
|
onClick?: (event: any) => any;
|
|
26
26
|
actions?: {
|
|
27
|
-
children:
|
|
27
|
+
children: ReactNode;
|
|
28
28
|
position?: ActionsPosition;
|
|
29
29
|
};
|
|
30
30
|
lazyLoading?: boolean;
|
|
31
31
|
};
|
|
32
32
|
export declare const Actions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
33
|
-
position?: ActionsPosition
|
|
33
|
+
position?: ActionsPosition;
|
|
34
34
|
}, never>;
|
|
35
|
-
export declare const JRCCardImg: (props: JRCCardImgProps) =>
|
|
35
|
+
export declare const JRCCardImg: (props: JRCCardImgProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react-webpack5';
|
|
2
|
+
import { JRCCardImgProps } from './JRCCardImg';
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCCardImgProps>;
|