jamespot-react-components 1.2.54 → 1.2.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/jamespot-react-components.js +1877 -2494
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/Beta/BETA_JRCDoubleClick/BETA_JRCDoubleClick.d.ts +2 -1
- package/build/src/components/Beta/BETA_JRCDragAndDrop/BETA_JRCDragAndDrop.d.ts +2 -1
- package/build/src/components/Common/BorderRadius.d.ts +0 -2
- package/build/src/components/Common/JRCConditionalWrapper.d.ts +2 -1
- package/build/src/components/Drives/Dropbox/DropboxDocuments.d.ts +0 -1
- package/build/src/components/Drives/MicrosoftGraph/MSGraphGroups.d.ts +0 -2
- package/build/src/components/Drives/components/DriveAccountHeader.d.ts +2 -1
- package/build/src/components/Drives/components/DriveIsEmpty.d.ts +0 -1
- package/build/src/components/Drives/components/EntityItem.d.ts +0 -1
- package/build/src/components/Drives/components/EntityItemTitle.d.ts +0 -2
- package/build/src/components/Drives/hooks.d.ts +1 -16
- package/build/src/components/Editors/components/EditorButtonToggle.d.ts +10 -0
- package/build/src/components/Editors/components/EditorCheckbox.d.ts +0 -1
- package/build/src/components/Editors/components/EditorColorPicker.d.ts +0 -1
- package/build/src/components/Editors/components/EditorInput.d.ts +0 -1
- package/build/src/components/Editors/components/EditorInputCheckbox.d.ts +0 -1
- package/build/src/components/Editors/components/EditorSelect.d.ts +3 -2
- package/build/src/components/Form/Common/ClickAwayListener.d.ts +4 -3
- package/build/src/components/Form/Common/FormHelper.d.ts +1 -1
- package/build/src/components/Form/Common/FormLabel.d.ts +1 -1
- package/build/src/components/Form/Common/FormMessageFeedback.d.ts +1 -4
- package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.d.ts +3 -0
- package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.types.d.ts +3 -2
- package/build/src/components/Form/Input/Common/useFormControls.d.ts +2 -18
- package/build/src/components/Form/Input/JRCInputCheckbox/Checkbox.type.d.ts +6 -0
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.d.ts +3 -9
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.d.ts +2 -6
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputToggle.d.ts +5 -5
- package/build/src/components/Form/Input/{Deprecated/JRCFormCheckbox/JRCFormCheckbox.style.d.ts → JRCInputCheckbox/components/CheckboxOrToggle.d.ts} +11 -9
- package/build/src/components/Form/Input/JRCInputCheckbox/components/JRCCheckbox.d.ts +1 -4
- 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 -1
- package/build/src/components/Form/Input/JRCInputColor/ColorPalette.d.ts +0 -5
- package/build/src/components/Form/Input/JRCInputColor/ColorPicker.d.ts +0 -16
- package/build/src/components/Form/Input/JRCInputColor/ColorRange.d.ts +0 -11
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColor.styles.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRaw.d.ts +0 -3
- package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRawProps.d.ts +2 -1
- package/build/src/components/Form/Input/{Deprecated/JRCFormFile/components → JRCInputFileAdvanced}/File.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputFileAdvanced/File.styles.d.ts +6 -0
- package/build/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvancedRaw.d.ts +0 -5
- package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.d.ts +0 -4
- package/build/src/components/Form/Input/JRCInputSearchRaw/JRCInputSearchRaw.d.ts +2 -1
- package/build/src/components/Form/Input/JRCInputText/JRCInputPassword.d.ts +0 -8
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +0 -5
- package/build/src/components/Form/Input/JRCInputText/JRCInputTextIconButton.d.ts +0 -10
- package/build/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.d.ts +2 -15
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/extensions/JIAExtension/JIATextGenerationExtension.d.ts +2 -1
- package/build/src/components/Form/Input/JRCInputTinyMCERaw/extensions/JTinyMCEExtensions.d.ts +9 -1
- package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.d.ts +3 -6
- package/build/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.d.ts +0 -14
- package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +1 -2
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +8 -4
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +3 -3
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.d.ts +0 -11
- package/build/src/components/Form/Input/JRCSelect/SelectHierarchicalTreeModal.d.ts +0 -4
- package/build/src/components/Form/Input/JRCStyledInput.d.ts +13 -14
- package/build/src/components/JRCAlbum/components/AlbumItem.d.ts +0 -4
- package/build/src/components/JRCAlbum/styles.d.ts +0 -3
- package/build/src/components/JRCAppHeader/JRCAppHeader.styles.d.ts +0 -1
- package/build/src/components/JRCAudience/JRCAudience.d.ts +2 -1
- package/build/src/components/JRCAvatars/JRCAvatars.d.ts +2 -1
- package/build/src/components/JRCBusinessContacts/JRCBusinessContacts.d.ts +2 -1
- package/build/src/components/JRCButton/JRCButtonConfig.d.ts +0 -1
- package/build/src/components/JRCCalendar/JRCCalendar.d.ts +1 -5
- package/build/src/components/JRCCalendar/JRCCalendarEvent.d.ts +2 -1
- package/build/src/components/JRCCalendar/JRCCalendarModal.d.ts +2 -1
- package/build/src/components/JRCCalendar/JRCEventStatusButton.d.ts +2 -6
- package/build/src/components/JRCCalendar/types.d.ts +3 -31
- package/build/src/components/JRCCard/JRCCard.d.ts +7 -10
- package/build/src/components/JRCCard/JRCCardImg.d.ts +1 -1
- package/build/src/components/JRCCommentsBloc/JRCComment.d.ts +2 -2
- package/build/src/components/JRCCommentsBloc/components/CommentsHeader.d.ts +2 -1
- package/build/src/components/JRCCommentsBloc/components/EditComment.d.ts +2 -1
- package/build/src/components/JRCCommentsBloc/components/NewComment.d.ts +2 -1
- package/build/src/components/JRCConfirmationModal/JRCConfirmationModal.d.ts +8 -0
- package/build/src/components/JRCDragNDrop/index.d.ts +0 -1
- package/build/src/components/JRCEmptySpace/JRCEmptySpace.d.ts +1 -1
- package/build/src/components/JRCFile/JRCFileAvatar.d.ts +0 -4
- package/build/src/components/JRCFile/JRCFileFolder.d.ts +0 -14
- package/build/src/components/JRCFile/JRCFileImage.d.ts +0 -16
- package/build/src/components/JRCFileViewer/JRCFileViewer.styles.d.ts +0 -3
- package/build/src/components/JRCFolders/JRCFolders.d.ts +0 -5
- package/build/src/components/JRCFolders/components/FileLittleList.d.ts +2 -1
- package/build/src/components/JRCFolders/styles.d.ts +0 -1
- package/build/src/components/JRCFolders/types.d.ts +0 -19
- package/build/src/components/JRCGroups/JRCGroups.d.ts +2 -1
- package/build/src/components/JRCList/JRCList.d.ts +3 -2
- package/build/src/components/JRCList/JRCList.styles.d.ts +3 -2
- package/build/src/components/JRCMenu/JRCMenu.d.ts +0 -7
- package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +1 -7
- package/build/src/components/JRCModal/JRCModalContent.d.ts +0 -3
- package/build/src/components/JRCModal/JRCModalContentForm.d.ts +2 -1
- package/build/src/components/JRCPagination/JRCPagination.d.ts +0 -6
- package/build/src/components/JRCProgressBar/JRCProgressBar.d.ts +2 -6
- package/build/src/components/JRCPublishButton/PublishButtonEntry.d.ts +2 -1
- package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.styles.d.ts +0 -3
- package/build/src/components/JRCSkeleton/JRCSkeletonList.d.ts +2 -1
- package/build/src/components/JRCTabs/JRCTabs.d.ts +2 -5
- package/build/src/components/JRCTooltip/JRCBaseTooltip.d.ts +2 -1
- package/build/src/components/JRCTypography/JRCTypography.d.d.ts +3 -2
- package/build/src/components/JRCUserHighlightFields/JRCUserHighlightFields.d.ts +2 -1
- package/build/src/components/JRCUserStatusIcon/JRCUserStatusIcon.d.ts +2 -1
- package/build/src/components/JRCUsers/JRCUsers.d.ts +2 -1
- package/build/src/components/Pages/JRCPageNotLogged.d.ts +1 -1
- package/build/src/components/Stepper/JRCFadeStepper.d.ts +2 -1
- package/build/src/components/Stepper/JRCImageStepper.d.ts +2 -1
- package/build/src/components/Stepper/JRCStepper.d.ts +2 -1
- package/build/src/components/Templates/JRCAppTab.d.ts +1 -2
- package/build/src/components/Templates/JRCBase.template.d.ts +0 -3
- package/build/src/components/Templates/JRCStepperPage.d.ts +2 -1
- package/build/src/components/Templates/template.utils.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitleEditor.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDav.d.ts +2 -10
- package/build/src/components/Widgets/JRCWidgetCalendarCalDav/styles.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList.d.ts +4 -11
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListEditor.d.ts +0 -7
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListEditorItemLink.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListImage.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListItem.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListLink.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDav.d.ts +2 -6
- package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImap.d.ts +2 -1
- package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapAttachments.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapLevel2.d.ts +0 -4
- package/build/src/components/Widgets/JRCWidgetEmailsImap/WidgetEmailsImapStatus.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetEmailsImap/styles.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetIcon.d.ts +2 -4
- package/build/src/components/Widgets/JRCWidgetImage/styles.d.ts +0 -5
- package/build/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsence.d.ts +0 -7
- package/build/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsenceStatus.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetPresence/JRCWidgetPresence.styles.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyImage.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyItemWrapper.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditor.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditorSlide.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetSlider/components/SliderDots.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetSlider/types.d.ts +0 -6
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetDatasourceTableEditor.styles.d.ts +0 -4
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.d.ts +3 -11
- package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.styles.d.ts +0 -4
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelViewChanges.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetTable/const.d.ts +0 -3
- package/build/src/components/Widgets/JRCWidgetTable/ensure.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorBrokenModel.d.ts +0 -2
- package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorSpreadSheets.d.ts +0 -1
- package/build/src/components/Widgets/JRCWidgetTable/types.d.ts +1 -48
- package/build/src/components/Widgets/components/WidgetAvatarList.d.ts +0 -5
- package/build/src/components/Widgets/const.d.ts +0 -28
- package/build/src/components/Widgets/context/provider.d.ts +5 -5
- package/build/src/components/Widgets/styles.d.ts +0 -7
- package/build/src/components/api/jamespot/mocks/application/application.d.ts +2 -1
- package/build/src/components/api/jamespot/mocks/datasource/datasource.d.ts +2 -1
- package/build/src/components/api/jamespot/mocks/network/network.d.ts +2 -1
- package/build/src/components/index.d.ts +0 -17
- package/build/src/index.d.ts +0 -1
- package/build/src/styles/theme.d.ts +1 -3
- package/build/src/styles/utils.d.ts +0 -1
- package/build/src/types.d.ts +3 -15
- package/build/src/utils/utils.html.d.ts +0 -2
- package/externals.json +0 -2
- package/package.json +12 -24
- package/build/src/components/Drives/MicrosoftGraph/MSGraphAccessDenied.d.ts +0 -2
- package/build/src/components/Drives/components/DriveFiltererList.d.ts +0 -24
- package/build/src/components/Drives/components/DriveItem.d.ts +0 -6
- package/build/src/components/Editors/components/EditorInputDatetime.d.ts +0 -3
- package/build/src/components/Form/Common/FormDescription.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience.d.ts +0 -14
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity.d.ts +0 -10
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.d.ts +0 -13
- package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.d.ts +0 -20
- package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.stories.d.ts +0 -6
- package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.types.d.ts +0 -56
- package/build/src/components/Form/Input/Deprecated/JRCFormColor/JRCFormColor.d.ts +0 -9
- package/build/src/components/Form/Input/Deprecated/JRCFormColor/JRCFormColor.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormEmail/JRCFormEmail.d.ts +0 -9
- package/build/src/components/Form/Input/Deprecated/JRCFormEmail/JRCFormEmail.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormFieldRender.d.ts +0 -72
- package/build/src/components/Form/Input/Deprecated/JRCFormFile/JRCFormFile.d.ts +0 -6
- package/build/src/components/Form/Input/Deprecated/JRCFormFile/JRCFormFile.styles.d.ts +0 -12
- package/build/src/components/Form/Input/Deprecated/JRCFormImage/JRCFormImage.d.ts +0 -20
- package/build/src/components/Form/Input/Deprecated/JRCFormImage/JRCFormImage.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormImage/JRCFormImage.styles.d.ts +0 -4
- package/build/src/components/Form/Input/Deprecated/JRCFormNumber/JRCFormNumber.d.ts +0 -9
- package/build/src/components/Form/Input/Deprecated/JRCFormNumber/JRCFormNumber.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormRange/JRCFormRange.d.ts +0 -15
- package/build/src/components/Form/Input/Deprecated/JRCFormRange/JRCFormRange.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy.d.ts +0 -8
- package/build/src/components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.d.ts +0 -7
- package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +0 -13
- package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField.d.ts +0 -47
- package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField.stories.d.ts +0 -8
- package/build/src/components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelect.d.ts +0 -71
- package/build/src/components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelectTag.d.ts +0 -17
- package/build/src/components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert.d.ts +0 -8
- package/build/src/components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert.stories.d.ts +0 -7
- package/build/src/components/Form/Input/Deprecated/JRCFormText/JRCFormText.d.ts +0 -9
- package/build/src/components/Form/Input/Deprecated/JRCFormText/JRCFormText.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea.d.ts +0 -26
- package/build/src/components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/JRCFormURL/JRCFormUrl.d.ts +0 -9
- package/build/src/components/Form/Input/Deprecated/JRCFormURL/JRCFormUrl.stories.d.ts +0 -5
- package/build/src/components/Form/Input/Deprecated/ReduxFormControls.d.ts +0 -24
- package/build/src/components/Form/Input/temporary.types.d.ts +0 -20
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +0 -52
- package/build/src/components/JRCAvatar/JRCAvatar.oldtest.d.ts +0 -1
- package/build/src/components/JRCFileOpen/extensions.d.ts +0 -1
- package/build/src/components/JRCFileViewer/utils.d.ts +0 -4
- package/build/src/components/JRCHtml/JRCHtml.oldtest.d.ts +0 -1
- package/build/src/components/JRCImg/JRCImg.oldtest.d.ts +0 -1
- package/build/src/components/JRCPagination/JRCPagination.oldtest.d.ts +0 -1
- package/build/src/components/Templates/template.styles.d.ts +0 -338
- package/build/src/components/Widgets/JRCWidgetSlider/mock.d.ts +0 -2
- package/build/src/components/Widgets/JRCWidgetTable/components/ModalButton.d.ts +0 -8
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceFetchDatasource.d.ts +0 -5
- package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceObject.d.ts +0 -5
- package/build/src/components/Widgets/components/WidgetImageLine.d.ts +0 -6
- package/build/src/components/Widgets/utils.oldtest.d.ts +0 -1
- package/build/src/storybook/decorators.d.ts +0 -1
- package/build/src/utils/test-utils.d.ts +0 -7
- package/build/src/utils/utils.files.oldtest.d.ts +0 -1
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { WidgetLuccaAbsenceUser } from 'jamespot-user-api';
|
|
2
|
-
export declare const UIList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const UIListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const UIListItemAvatar: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const UIListItemNoAvatar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
|
-
bgColor: string;
|
|
7
|
-
}, never>;
|
|
8
|
-
export declare const UIListItemData: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
2
|
export declare const JRCWidgetLuccaAbsence: ({ list }: {
|
|
10
3
|
list: WidgetLuccaAbsenceUser[];
|
|
11
4
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,3 @@ export declare const CSSWidgetPresenceListItemBtn: import("styled-components").S
|
|
|
7
7
|
export declare const CSSWidgetPresenceLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
8
|
isOn: boolean;
|
|
9
9
|
}, never>;
|
|
10
|
-
export declare const CSSWidgetPresenceAvatar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jFileLittle } from 'jamespot-user-api';
|
|
2
|
-
export declare const CSSRowImageWrapper: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
3
|
-
margin: number;
|
|
4
|
-
}, never>;
|
|
5
2
|
export declare const JRCWidgetQuickSurveyImage: ({ file, margin, onClick, handleRemove, }: {
|
|
6
3
|
file: jFileLittle;
|
|
7
4
|
margin?: number;
|
package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyItemWrapper.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { jFileLittle, WidgetQuickSurveyContentArr } from 'jamespot-user-api';
|
|
2
2
|
import { FC, RefObject } from 'react';
|
|
3
|
-
export declare const CSSRowLinkWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
|
-
border?: boolean;
|
|
5
|
-
}, never>;
|
|
6
3
|
type Item = {
|
|
7
4
|
title: string;
|
|
8
5
|
id?: number;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { WidgetArticleSliderContent } from 'jamespot-user-api';
|
|
2
|
-
export declare const CSSSlide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const CSSSlideTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const CSSFlexColumn: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
2
|
export declare const JRCWidgetArticleSliderEditor: ({ slides, loop, useDots, token, onChange, onSave, }: WidgetArticleSliderContent & {
|
|
6
3
|
token: string;
|
|
7
4
|
onSave: (content: Partial<WidgetArticleSliderContent>) => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jFileLittle } from 'jamespot-user-api';
|
|
2
2
|
import { WidgetSliderSlide } from './types';
|
|
3
|
-
export declare const CSSScroll: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const JRCWidgetArticleSliderEditorSlide: ({ forceOpen, title, text, opacityColor, opacityFilter, displayAs, backgroundSize, backgroundPosition, file, token, onUploadSuccess, onSave, onClickDelete, }: {
|
|
5
4
|
forceOpen?: boolean;
|
|
6
5
|
file?: jFileLittle;
|
package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetDatasourceTableEditor.styles.d.ts
CHANGED
|
@@ -11,7 +11,3 @@ export declare const CSSFlexInput: import("styled-components").StyledComponent<"
|
|
|
11
11
|
export declare const CSSListItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
12
12
|
isActive?: boolean;
|
|
13
13
|
}, never>;
|
|
14
|
-
export declare const CSSAlertMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
-
export declare const CSSDisabled: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
}, never>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export type SortValues = 'ascending' | 'descending';
|
|
4
|
-
export declare const sort: (data: Record<string, WidgetDatasourceValues>[], sortBy: SortValues, name: string, colType: WidgetTableColumnTypes) => Record<string, WidgetDatasourceValues>[];
|
|
5
|
-
export declare function isASortableProperty(data: Record<string, WidgetDatasourceValues>[], name: string): boolean | "" | 0;
|
|
1
|
+
import { WidgetDatasourceValues, WidgetTableColumn, WidgetTableContent } from 'jamespot-user-api';
|
|
2
|
+
type SortValues = 'ascending' | 'descending';
|
|
6
3
|
export type JRCWidgetTableProps = WidgetTableContent & {
|
|
7
4
|
columns: WidgetTableColumn[];
|
|
8
5
|
rows: Record<string, WidgetDatasourceValues>[];
|
|
@@ -11,9 +8,4 @@ export type JRCWidgetTableProps = WidgetTableContent & {
|
|
|
11
8
|
initialPage?: number;
|
|
12
9
|
};
|
|
13
10
|
export declare const JRCWidgetTable: (args: JRCWidgetTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
ariaSort: "none" | "ascending" | "descending" | "other" | undefined;
|
|
17
|
-
width?: number;
|
|
18
|
-
onClick: () => void;
|
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -18,10 +18,6 @@ export declare const CSSTableRadius: import("styled-components").StyledComponent
|
|
|
18
18
|
borderRadius: number;
|
|
19
19
|
}, never>;
|
|
20
20
|
export declare const CSSTableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
21
|
-
export declare const CSSEllipsis: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
22
|
-
width?: number;
|
|
23
|
-
line: number;
|
|
24
|
-
}, never>;
|
|
25
21
|
export declare const CSSReadMoreWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
26
22
|
export declare const CSSReadMoreGradient: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
27
23
|
backgroundColor: string;
|
package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelViewChanges.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { WidgetTableColumn } from 'jamespot-user-api';
|
|
2
|
-
export declare const CSSAlert: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const CSSWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const CSSModel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
2
|
export declare const WidgetDatasourceModelViewChanges: ({ model, excelHeaders, onChange, }: {
|
|
6
3
|
model: WidgetTableColumn[];
|
|
7
4
|
excelHeaders: string[] | undefined;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
export declare const SUPPORTED_DISPLAY_TYPE: string[];
|
|
2
2
|
export declare const SUPPORTED_SORTABLE_TYPE: string[];
|
|
3
|
-
export declare const SUPPORTED_ELLIPSIS_TYPE: string[];
|
|
4
3
|
export declare const SUPPORTED_LABELIZE_TYPE: string[];
|
|
5
|
-
export declare const SUPPORTED_DATE_FORMAT_TYPE: string[];
|
|
6
|
-
export declare const SUPPORTED_NUMBER_FORMAT_TYPE: string[];
|
|
7
4
|
export declare const SUPPORTED_MIMETYPES: string[];
|
|
8
5
|
export declare enum DATASOURCE_TYPE {
|
|
9
6
|
DOC = "doc",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DatasourceDataTypeUrl } from 'jamespot-user-api';
|
|
2
|
-
export declare function ensureIsObject(object: unknown): object is object;
|
|
3
2
|
export declare function ensureIsUrl(object: unknown): object is DatasourceDataTypeUrl;
|
|
4
3
|
export declare function ensureIsStringOrNumber(value: unknown): value is string;
|
|
5
4
|
export declare function ensureIsNumber(value: unknown): value is number;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const CSSAlert: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
-
export declare const CSSWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
1
|
export declare const ExcelEditorBrokenModel: () => import("react/jsx-runtime").JSX.Element;
|
package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorSpreadSheets.d.ts
CHANGED
|
@@ -2,4 +2,3 @@ export declare const ExcelEditorSpreadSheets: ({ uri, onHandleCancel }: {
|
|
|
2
2
|
uri: string;
|
|
3
3
|
onHandleCancel: () => void;
|
|
4
4
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare function isValidSpreadsheet(spreadsheet: string, spreadsheetListHeader: Record<string, string[]>): boolean;
|
|
@@ -1,53 +1,6 @@
|
|
|
1
1
|
import { JApplicationApi, JDatasourceApi, JFilebankApi, JWedocApi, Network, WidgetDatasourceTableContent, WidgetExcelDatasourceTableContent } from 'jamespot-user-api';
|
|
2
|
-
import { EditorBaseContext, Handlers } from '../context/provider';
|
|
3
2
|
import { FoldersHandlers } from '../../JRCFolders/types';
|
|
4
|
-
|
|
5
|
-
export type DataLinkValue = {
|
|
6
|
-
href: string;
|
|
7
|
-
label: string;
|
|
8
|
-
};
|
|
9
|
-
export type DataOptionValue = {
|
|
10
|
-
value: string;
|
|
11
|
-
options: {
|
|
12
|
-
value: string;
|
|
13
|
-
label: string;
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
16
|
-
export type DataOption = {
|
|
17
|
-
type: 'select';
|
|
18
|
-
data: DataOptionValue;
|
|
19
|
-
};
|
|
20
|
-
export type DataText = {
|
|
21
|
-
type: 'text';
|
|
22
|
-
data: DataTextValue;
|
|
23
|
-
};
|
|
24
|
-
export type DataLink = {
|
|
25
|
-
type: 'link';
|
|
26
|
-
data: DataLinkValue;
|
|
27
|
-
};
|
|
28
|
-
export type DataTypes = 'select' | 'text' | 'link';
|
|
29
|
-
export type DataType = Array<DataOption | DataText | DataLink>;
|
|
30
|
-
export type SourceTypeText = {
|
|
31
|
-
type: 'text';
|
|
32
|
-
data: string;
|
|
33
|
-
};
|
|
34
|
-
export type SourceTypeSelect = {
|
|
35
|
-
type: 'select';
|
|
36
|
-
data: {
|
|
37
|
-
value: string;
|
|
38
|
-
options: {
|
|
39
|
-
label: string;
|
|
40
|
-
value: string;
|
|
41
|
-
}[];
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
export type SourceTypeLink = {
|
|
45
|
-
type: 'link';
|
|
46
|
-
data: {
|
|
47
|
-
href: string;
|
|
48
|
-
label: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
3
|
+
import { EditorBaseContext, Handlers } from '../context/provider';
|
|
51
4
|
export type WidgetDatasourceHandlers = Handlers & {
|
|
52
5
|
jamespot: {
|
|
53
6
|
datasource: Omit<JDatasourceApi, 'jApi' | 'network'>;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { jUserLittle } from 'jamespot-user-api';
|
|
2
|
-
export declare const CSSAvatarList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const CSSAvatarListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
|
|
4
|
-
overlap?: boolean;
|
|
5
|
-
small?: boolean;
|
|
6
|
-
}, never>;
|
|
7
2
|
export declare const WidgetAvatarList: ({ list, left }: {
|
|
8
3
|
list: jUserLittle[];
|
|
9
4
|
left: number;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
export declare const EditorColorsOptions: string[];
|
|
2
|
-
export declare const EditorLineHeightOptions: {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
}[];
|
|
6
2
|
export declare const EditorVariantOptions: {
|
|
7
3
|
label: string;
|
|
8
4
|
value: string;
|
|
@@ -11,10 +7,6 @@ export declare const EditorLinkTargetOptions: {
|
|
|
11
7
|
label: string;
|
|
12
8
|
value: string;
|
|
13
9
|
}[];
|
|
14
|
-
export declare const EditorLinkOpeningOptions: {
|
|
15
|
-
label: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}[];
|
|
18
10
|
export declare const EditorSizeOptions: {
|
|
19
11
|
label: string;
|
|
20
12
|
value: string;
|
|
@@ -23,18 +15,6 @@ export declare const EditorRadiusOptions: {
|
|
|
23
15
|
label: string;
|
|
24
16
|
value: string;
|
|
25
17
|
}[];
|
|
26
|
-
export declare const EditorImageDisplayOptions: {
|
|
27
|
-
label: string;
|
|
28
|
-
value: string;
|
|
29
|
-
}[];
|
|
30
|
-
export declare const EditorBackgroundPositionOptions: {
|
|
31
|
-
label: string;
|
|
32
|
-
value: string;
|
|
33
|
-
}[];
|
|
34
|
-
export declare const EditorBackgroundSizeOptions: {
|
|
35
|
-
label: string;
|
|
36
|
-
value: string;
|
|
37
|
-
}[];
|
|
38
18
|
export declare const EditorHeadingOptions: {
|
|
39
19
|
label: string;
|
|
40
20
|
value: string;
|
|
@@ -47,14 +27,6 @@ export declare const EditorGalleryImageNumberOptions: {
|
|
|
47
27
|
label: string;
|
|
48
28
|
value: string;
|
|
49
29
|
}[];
|
|
50
|
-
export declare const EditorGalleryHeightModeOptions: {
|
|
51
|
-
label: string;
|
|
52
|
-
value: string;
|
|
53
|
-
}[];
|
|
54
|
-
export declare const EditorFontSizeOptions: {
|
|
55
|
-
label: string;
|
|
56
|
-
value: string;
|
|
57
|
-
}[];
|
|
58
30
|
export declare const EditorOpacityOptions: {
|
|
59
31
|
label: string;
|
|
60
32
|
value: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { CombinedWidgetContent, HookListType, WidgetStateProps } from 'jamespot-user-api';
|
|
3
3
|
export type HookIsActive = (name: keyof HookListType) => boolean | undefined;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
type OnError = (message: string) => void;
|
|
5
|
+
type OnStateChange = (state: WidgetStateProps) => void;
|
|
6
|
+
type OnChange<T> = (content: Partial<T>, override?: boolean) => void;
|
|
7
|
+
type OnSave<T> = (content: Partial<T>) => void;
|
|
8
8
|
export type Handlers = {
|
|
9
9
|
handleStart: () => void;
|
|
10
10
|
handleCatch: (reason: any) => void;
|
|
@@ -19,8 +19,8 @@ export type EditorBaseContext<T = CombinedWidgetContent> = {
|
|
|
19
19
|
onSave: OnSave<T>;
|
|
20
20
|
onError: OnError;
|
|
21
21
|
};
|
|
22
|
-
export declare const EditorContainerContext: <T>() => import("react").Context<T | null>;
|
|
23
22
|
export declare const ContainerContext: import("react").Context<unknown>;
|
|
24
23
|
export declare const EditorContainerProvider: <T>(props: {
|
|
25
24
|
children: ReactNode;
|
|
26
25
|
} & T) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export {};
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
export declare const CSSPlaceholder: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
2
|
export declare const CSSEmptyWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const CSSHiddenDiv: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const CSSEmptyText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
3
|
export declare const CSSWrapperText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
4
|
color?: string;
|
|
7
5
|
heading?: string;
|
|
8
6
|
fontSize?: string;
|
|
9
7
|
}, never>;
|
|
10
8
|
export declare const CSSText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
-
export declare const CSSForm: import("styled-components").StyledComponent<"form", import("styled-components").DefaultTheme, {}, never>;
|
|
12
9
|
export declare const CSSTextareaWrapper: import("styled-components").StyledComponent<"form", import("styled-components").DefaultTheme, {}, never>;
|
|
13
10
|
export declare const StyledTextarea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
14
11
|
heading?: string;
|
|
15
12
|
color?: string;
|
|
16
13
|
}, never>;
|
|
17
|
-
export declare const StyledInput: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
18
|
-
heading?: string;
|
|
19
|
-
color?: string;
|
|
20
|
-
}, never>;
|
|
21
14
|
export declare const CSSWidgetEditorListItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
15
|
export declare const CSSWidgetEditorListItemLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
23
16
|
export declare const CSSWidgetEditorListOption: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DatasourceModel, DatasourceResult, JApplicationApi, StudioApplicationBase } from 'jamespot-user-api';
|
|
2
|
-
|
|
2
|
+
type ApplicationMocks = {
|
|
3
3
|
list: StudioApplicationBase[];
|
|
4
4
|
app: StudioApplicationBase;
|
|
5
5
|
};
|
|
@@ -7,3 +7,4 @@ export declare function getApplicationApiMock(mocks: ApplicationMocks): Pick<JAp
|
|
|
7
7
|
export declare const mock_studio_datasource_model: DatasourceModel;
|
|
8
8
|
export declare const mock_studio_datasource_data: any;
|
|
9
9
|
export declare const mock_studio_datasource_result: DatasourceResult<any>;
|
|
10
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DatasourceArticleLittle, DatasourceStudioLittle, DatasourceModel, DatasourceResult, DatasourceType, jFileLittle, JDatasourceApi } from 'jamespot-user-api';
|
|
2
|
-
|
|
2
|
+
type DatasourceMockType = {
|
|
3
3
|
result: DatasourceResult<any>;
|
|
4
4
|
model: DatasourceModel;
|
|
5
5
|
headers?: string[];
|
|
@@ -12,3 +12,4 @@ export declare const mock_excel_datasource_headers: string[];
|
|
|
12
12
|
export declare const mock_excel_datasource_model: DatasourceModel;
|
|
13
13
|
export declare const mock_excel_datasource_data: any;
|
|
14
14
|
export declare const mock_excel_datasource_result: DatasourceResult<any>;
|
|
15
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jFileLittle, Network } from 'jamespot-user-api';
|
|
2
|
-
|
|
2
|
+
type NetworkMocks = {
|
|
3
3
|
file: jFileLittle;
|
|
4
4
|
token?: string;
|
|
5
5
|
};
|
|
6
6
|
export declare function getNetworkAppiMock(mocks: NetworkMocks): Pick<Network, 'token' | 'postFile' | 'getUrl'>;
|
|
7
|
+
export {};
|
|
@@ -9,23 +9,6 @@ export { Deprecated_JRCEllipsis } from './Deprecated/Deprecated_JRCEllipsis/Depr
|
|
|
9
9
|
export { JRCDriveDropbox } from './Drives/JRCDriveDropbox';
|
|
10
10
|
export { JRCDriveMSGraph } from './Drives/JRCDriveMSGraph';
|
|
11
11
|
export { ClickAwayListener } from './Form/Common/ClickAwayListener';
|
|
12
|
-
export { JRCFormAutocompleteAudienceField } from './Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience';
|
|
13
|
-
export { JRCFormAutocompleteCommunityField } from './Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity';
|
|
14
|
-
export { JRCFormAutocompleteTaxonomyField } from './Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy';
|
|
15
|
-
export { JRCFormCheckbox } from './Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox';
|
|
16
|
-
export { JRCFormColorField } from './Form/Input/Deprecated/JRCFormColor/JRCFormColor';
|
|
17
|
-
export { JRCFormEmailField } from './Form/Input/Deprecated/JRCFormEmail/JRCFormEmail';
|
|
18
|
-
export { JRCFormInputFileField } from './Form/Input/Deprecated/JRCFormFile/JRCFormFile';
|
|
19
|
-
export { JRCFormInputImage, JRCFormInputImageField } from './Form/Input/Deprecated/JRCFormImage/JRCFormImage';
|
|
20
|
-
export { JRCFormNumberField } from './Form/Input/Deprecated/JRCFormNumber/JRCFormNumber';
|
|
21
|
-
export { JRCFormRangeField } from './Form/Input/Deprecated/JRCFormRange/JRCFormRange';
|
|
22
|
-
export { JRCFormReceiveACopyField } from './Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy';
|
|
23
|
-
export { JRCFormRichTextField } from './Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField';
|
|
24
|
-
export { JRCFormSelectTagField } from './Form/Input/Deprecated/JRCFormSelect/JRCFormSelectTag';
|
|
25
|
-
export { JRCFormSendAlertField } from './Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert';
|
|
26
|
-
export { JRCFormTextField } from './Form/Input/Deprecated/JRCFormText/JRCFormText';
|
|
27
|
-
export { JRCFormTextarea, JRCFormTextareaField } from './Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea';
|
|
28
|
-
export { JRCFormUrlField } from './Form/Input/Deprecated/JRCFormURL/JRCFormUrl';
|
|
29
12
|
export { JRCCheckbox } from './Form/Input/JRCInputCheckbox/components/JRCCheckbox';
|
|
30
13
|
export { JRCInputCheckbox, JRCInputCheckboxRaw } from './Form/Input/JRCInputCheckbox/JRCInputCheckbox';
|
|
31
14
|
export { JRCInputReorderCheckbox } from './Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox';
|
package/build/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
|
-
|
|
2
|
+
interface ITheme {
|
|
3
3
|
config: DefaultTheme | undefined;
|
|
4
4
|
get: () => DefaultTheme;
|
|
5
5
|
initTheme: (options?: ThemeConfigOptions) => DefaultTheme;
|
|
@@ -28,8 +28,6 @@ type ThemeConfigShadeType = {
|
|
|
28
28
|
[color in Shades]: string;
|
|
29
29
|
};
|
|
30
30
|
export type ColorsOrShades = Colors | Shades;
|
|
31
|
-
export declare const NATIVE_COLORS: readonly ["currentColor", "inherit", "transparent"];
|
|
32
|
-
export type NativeColor = (typeof NATIVE_COLORS)[number];
|
|
33
31
|
export type FontWeight = {
|
|
34
32
|
light: number;
|
|
35
33
|
normal: number;
|
|
@@ -27,6 +27,5 @@ export declare const HSBToRGB: (hue: number, saturation: number, brightness: num
|
|
|
27
27
|
export declare const RGBToHSB: (r: number, g: number, b: number) => number[];
|
|
28
28
|
export declare const hexToHSL: (H: any) => number[];
|
|
29
29
|
export declare function hlsToHex(h: number, s: number, l: number): string[];
|
|
30
|
-
export declare const RGBToHSL: (rgb: string) => number[];
|
|
31
30
|
export declare const colorContrast: (color: string) => string;
|
|
32
31
|
export declare const brightness: (color: string) => number;
|
package/build/src/types.d.ts
CHANGED
|
@@ -2,23 +2,10 @@ export type { CalendarApi } from '@fullcalendar/core';
|
|
|
2
2
|
export type { Editor } from 'tinymce';
|
|
3
3
|
export type { JRCDragAndDropProps } from './components/Beta/BETA_JRCDragAndDrop/BETA_JRCDragAndDrop';
|
|
4
4
|
export type { JRCConditionalWrapperProps } from './components/Common/JRCConditionalWrapper';
|
|
5
|
-
export type { MessageType } from './utils/utils.color';
|
|
6
5
|
export type { JRCEllipsisProps } from './components/Deprecated/Deprecated_JRCEllipsis/Deprecated_JRCEllipsis';
|
|
7
6
|
export * from './components/Form/Common/types';
|
|
8
7
|
export type { JRCInputFieldProps, NameControl } from './components/Form/Input/Common/JRCFormFieldRenderer.types';
|
|
9
8
|
export type { FormControls } from './components/Form/Input/Common/useFormControls';
|
|
10
|
-
export type { JRCAutocompleteAudienceProps } from './components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience';
|
|
11
|
-
export type { JRCAutocompleteTaxonomyProps } from './components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy';
|
|
12
|
-
export type { JRCFormCheckboxProps } from './components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.types';
|
|
13
|
-
export type { JRCWritableFormInputProps } from './components/Form/Input/Deprecated/JRCFormFieldRender';
|
|
14
|
-
export type { JRCFormInputFileFieldProps } from './components/Form/Input/Deprecated/JRCFormFile/JRCFormFile';
|
|
15
|
-
export type { JRCFormInputImageFieldProps, JRCFormInputImageProps, } from './components/Form/Input/Deprecated/JRCFormImage/JRCFormImage';
|
|
16
|
-
export type { JRCFormRangeProps } from './components/Form/Input/Deprecated/JRCFormRange/JRCFormRange';
|
|
17
|
-
export type { JRCFormReceiveACopyInputProps } from './components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy';
|
|
18
|
-
export type { FormRichTextFieldProps } from './components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField';
|
|
19
|
-
export type { JRCFormSelectProps } from './components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelect';
|
|
20
|
-
export type { JRCFormSendAlertInputProps } from './components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert';
|
|
21
|
-
export type { TextareaFormInputProps } from './components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea';
|
|
22
9
|
export type { CheckboxOption, CheckboxValue, InnerProps, InputCheckboxProps, JRCInputCheckboxProps, } from './components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types';
|
|
23
10
|
export type { JRCInputDateProps } from './components/Form/Input/JRCInputDate/JRCInputDate';
|
|
24
11
|
export type { JRCInputDateTimeProps } from './components/Form/Input/JRCInputDateTime/JRCInputDateTime';
|
|
@@ -47,7 +34,7 @@ export type { JRCValidationButtonProps } from './components/JRCButton/JRCValidat
|
|
|
47
34
|
export type { JRCButtonDownloadProps } from './components/JRCButtonDownload/JRCButtonDownload';
|
|
48
35
|
export type { JRCButtonDropdownOptionProps, JRCButtonDropdownProps, } from './components/JRCButtonDropdown/JRCButtonDropdown.types';
|
|
49
36
|
export type { JRCButtonFileProps } from './components/JRCButtonFile/JRCButtonFile';
|
|
50
|
-
export type {
|
|
37
|
+
export type { CalendarEvent, CalendarView, JRCCalendarProps } from './components/JRCCalendar/types';
|
|
51
38
|
export type { JRCCardProps } from './components/JRCCard/JRCCard';
|
|
52
39
|
export type { JRCCardImgProps } from './components/JRCCard/JRCCardImg';
|
|
53
40
|
export type { JRCColumnCenterProps } from './components/JRCColumnCenter/JRCColumnCenter';
|
|
@@ -80,7 +67,7 @@ export type { JRCModalUserListProps } from './components/JRCModalUserList/JRCMod
|
|
|
80
67
|
export type { JRCPaginationProps } from './components/JRCPagination/JRCPagination';
|
|
81
68
|
export type { PublishButtonProps } from './components/JRCPublishButton/JRCPublishButton';
|
|
82
69
|
export type { PublishButtonEntryProps } from './components/JRCPublishButton/PublishButtonEntry';
|
|
83
|
-
export type {
|
|
70
|
+
export type { JRCSidePanelModalFormProps, JRCSidePanelModalProps } from './components/JRCSidePanelModal/types';
|
|
84
71
|
export type { JRCSkeletonLineProps } from './components/JRCSkeleton/JRCSkeletonLine';
|
|
85
72
|
export type { JRCSkeletonSquareProps } from './components/JRCSkeleton/JRCSkeletonSquare';
|
|
86
73
|
export type { ItemEntriesProps, JRCTabPanelProps, JRCTabsProps } from './components/JRCTabs/JRCTabs';
|
|
@@ -95,3 +82,4 @@ export type { JRCTemplateTwoColumnsProps } from './components/Templates/JRCTwoCo
|
|
|
95
82
|
export type { JRCAppColumnProps, JRCAppTabsProps, JRCColumnProps, JRCContainerProps, JRCMainColumnProps, JRCTabEntry, LayoutMode, TabEventProps, } from './components/Templates/template.type';
|
|
96
83
|
export type { JRCWidgetCheckListEntries } from './components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList';
|
|
97
84
|
export type { Colors, ColorsOrShades, Shades, ThemeConfigOptions, ThemeType } from './styles/theme';
|
|
85
|
+
export type { MessageType } from './utils/utils.color';
|
package/externals.json
CHANGED
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
"react": "React",
|
|
4
4
|
"react-dom": "ReactDOM",
|
|
5
5
|
"react-redux": "reactRedux",
|
|
6
|
-
"react-select": "reactSelect",
|
|
7
6
|
"react-hook-form": "reactHookForm",
|
|
8
7
|
"redux": "redux",
|
|
9
|
-
"redux-form": "reduxForm",
|
|
10
8
|
"react-intl": "reactIntl",
|
|
11
9
|
"react-router-dom": "reactRouterDom",
|
|
12
10
|
"styled-components": "styledComponents",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.55",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/jamespot-react-components.js",
|
|
6
6
|
"types": "./build/src/index.d.ts",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"@chromatic-com/storybook": "^4.1.1",
|
|
15
15
|
"@fullcalendar/core": "^6.1.19",
|
|
16
16
|
"@fullcalendar/daygrid": "^6.1.19",
|
|
17
|
+
"@fullcalendar/interaction": "^6.1.19",
|
|
17
18
|
"@fullcalendar/list": "^6.1.19",
|
|
18
19
|
"@fullcalendar/react": "^6.1.19",
|
|
19
20
|
"@fullcalendar/timegrid": "^6.1.19",
|
|
@@ -35,14 +36,12 @@
|
|
|
35
36
|
"@types/chroma-js": "^2.4.5",
|
|
36
37
|
"@types/dompurify": "^3.2.0",
|
|
37
38
|
"@types/jest": "^30.0.0",
|
|
38
|
-
"@types/node": "^20.19.
|
|
39
|
-
"@types/react": "^18.3.
|
|
39
|
+
"@types/node": "^20.19.21",
|
|
40
|
+
"@types/react": "^18.3.26",
|
|
40
41
|
"@types/react-dom": "^18.3.7",
|
|
41
42
|
"@types/react-redux": "^7.1.34",
|
|
42
43
|
"@types/react-router-dom": "^5.3.3",
|
|
43
|
-
"@types/react-slick": "^0.23.13",
|
|
44
44
|
"@types/react-table": "^7.7.20",
|
|
45
|
-
"@types/redux-form": "^8.3.11",
|
|
46
45
|
"@types/styled-components": "^5.1.34",
|
|
47
46
|
"@types/testing-library__jest-dom": "^5.14.9",
|
|
48
47
|
"@types/tinymce": "^4.6.9",
|
|
@@ -54,7 +53,7 @@
|
|
|
54
53
|
"concurrently": "^9.2.1",
|
|
55
54
|
"cross-env": "^6.0.3",
|
|
56
55
|
"css-loader": "^6.11.0",
|
|
57
|
-
"dompurify": "^3.
|
|
56
|
+
"dompurify": "^3.3.0",
|
|
58
57
|
"eslint": "^8.57.1",
|
|
59
58
|
"eslint-config-prettier": "^8.10.2",
|
|
60
59
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
@@ -65,56 +64,48 @@
|
|
|
65
64
|
"eslint-plugin-storybook": "9.1.3",
|
|
66
65
|
"file-loader": "^6.2.0",
|
|
67
66
|
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
68
|
-
"html-webpack-plugin": "^5.6.4",
|
|
69
67
|
"husky": "^7.0.4",
|
|
70
68
|
"identity-obj-proxy": "^3.0.0",
|
|
71
|
-
"jamespot-user-api": "^1.2.
|
|
69
|
+
"jamespot-user-api": "^1.2.55",
|
|
72
70
|
"jest": "^30.2.0",
|
|
73
71
|
"jest-environment-jsdom": "^30.2.0",
|
|
74
72
|
"jest-styled-components": "^7.2.0",
|
|
73
|
+
"knip": "^5.65.0",
|
|
75
74
|
"lint-staged": "^12.5.0",
|
|
76
75
|
"nyc": "^17.1.0",
|
|
77
76
|
"prettier": "^3.6.2",
|
|
78
77
|
"react": "^18.3.1",
|
|
79
|
-
"react-
|
|
80
|
-
"react-day-picker": "^9.11.0",
|
|
78
|
+
"react-day-picker": "^9.11.1",
|
|
81
79
|
"react-dnd": "^14.0.5",
|
|
82
80
|
"react-dnd-html5-backend": "^14.1.0",
|
|
83
81
|
"react-dnd-test-backend": "^16.0.1",
|
|
84
82
|
"react-dom": "^18.3.1",
|
|
85
|
-
"react-hook-form": "^7.
|
|
83
|
+
"react-hook-form": "^7.65.0",
|
|
86
84
|
"react-image-crop": "^11.0.10",
|
|
87
85
|
"react-intl": "7.1.11",
|
|
88
86
|
"react-qr-code": "^2.0.18",
|
|
89
87
|
"react-redux": "^8.1.3",
|
|
90
88
|
"react-router-dom": "^6.30.1",
|
|
91
|
-
"react-select": "^5.10.2",
|
|
92
|
-
"react-slick": "^0.31.0",
|
|
93
89
|
"react-table": "^7.8.0",
|
|
94
90
|
"react-test-renderer": "^17.0.2",
|
|
95
91
|
"react-tooltip": "^4.5.1",
|
|
96
92
|
"redux": "^4.2.1",
|
|
97
|
-
"redux-form": "^8.3.10",
|
|
98
|
-
"slick-carousel": "^1.8.1",
|
|
99
93
|
"source-map-loader": "^1.1.3",
|
|
100
94
|
"storybook": "^9.1.10",
|
|
101
95
|
"style-loader": "^1.3.0",
|
|
102
96
|
"styled-components": "^5.3.11",
|
|
103
|
-
"
|
|
104
|
-
"tippy.js": "^6.3.7",
|
|
105
|
-
"ts-jest": "^29.4.4",
|
|
97
|
+
"ts-jest": "^29.4.5",
|
|
106
98
|
"ts-loader": "^9.5.4",
|
|
107
99
|
"ts-node": "^10.9.2",
|
|
108
100
|
"typescript": "^5.9.3",
|
|
109
101
|
"uuid": "^10.0.0",
|
|
110
102
|
"wait-on": "^8.0.5",
|
|
111
|
-
"webpack": "^5.102.
|
|
103
|
+
"webpack": "^5.102.1",
|
|
112
104
|
"webpack-cli": "^4.10.0",
|
|
113
105
|
"webpack-dev-server": "^4.15.2"
|
|
114
106
|
},
|
|
115
107
|
"peerDependencies": {
|
|
116
|
-
"react": "^18.x"
|
|
117
|
-
"redux-form": "^8.x"
|
|
108
|
+
"react": "^18.x"
|
|
118
109
|
},
|
|
119
110
|
"lint-staged": {
|
|
120
111
|
"*.{js,jsx,ts,tsx}": [
|
|
@@ -129,9 +120,6 @@
|
|
|
129
120
|
"node": ">=20.17.0 <21.0.0",
|
|
130
121
|
"pnpm": ">=9.9.0 <10"
|
|
131
122
|
},
|
|
132
|
-
"dependencies": {
|
|
133
|
-
"@fullcalendar/interaction": "^6.1.19"
|
|
134
|
-
},
|
|
135
123
|
"scripts": {
|
|
136
124
|
"dev": "webpack --env NODE_ENV=development",
|
|
137
125
|
"local": "webpack --env NODE_ENV=development WATCH=true",
|