jamespot-react-components 1.0.145 → 1.0.147

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.
Files changed (237) hide show
  1. package/build/assets/gif.605d1d151a01356b376d5c4ac2f40d19.png +0 -0
  2. package/build/jamespot-react-components.js +540 -570
  3. package/build/jamespot-react-components.js.LICENSE.txt +26 -5
  4. package/build/jamespot-react-components.js.map +1 -1
  5. package/build/src/components/404/index.d.ts +2 -1
  6. package/build/src/components/Beta/BETA_JRCColorPicker/BETA_JRCColorPicker.d.ts +2 -1
  7. package/build/src/components/Beta/BETA_JRCColorPicker/ColorInput.d.ts +2 -1
  8. package/build/src/components/Beta/BETA_JRCColorPicker/ColorPalette.d.ts +3 -2
  9. package/build/src/components/Beta/BETA_JRCColorPicker/ColorPicker.d.ts +4 -3
  10. package/build/src/components/Beta/BETA_JRCColorPicker/ColorRange.d.ts +2 -1
  11. package/build/src/components/Beta/BETA_JRCColorPicker/DragArea.d.ts +2 -2
  12. package/build/src/components/Beta/BETA_JRCColorPicker/JRCColorPicker.types.d.ts +4 -4
  13. package/build/src/components/Beta/BETA_JRCDoubleClick/BETA_JRCDoubleClick.d.ts +2 -2
  14. package/build/src/components/Beta/BETA_JRCDragAndDrop/BETA_JRCDragAndDrop.d.ts +2 -2
  15. package/build/src/components/Common/DashedFocusBorder.d.ts +1 -1
  16. package/build/src/components/Common/FastCss.d.ts +2 -1
  17. package/build/src/components/Common/JRCConditionalWrapper.d.ts +2 -2
  18. package/build/src/components/Common/LimitLines.d.ts +1 -1
  19. package/build/src/components/Common/util/getColor.util.d.ts +1 -1
  20. package/build/src/components/Editors/components/EditorCheckbox.d.ts +2 -1
  21. package/build/src/components/Editors/components/EditorColorPicker.d.ts +2 -1
  22. package/build/src/components/Editors/components/EditorInput.d.ts +4 -2
  23. package/build/src/components/Editors/components/EditorSelect.d.ts +6 -4
  24. package/build/src/components/Editors/components/EditorUploader.d.ts +5 -4
  25. package/build/src/components/Form/Common/ClickAwayListener.d.ts +4 -4
  26. package/build/src/components/Form/Common/FormDescription.d.ts +2 -2
  27. package/build/src/components/Form/Common/FormHelper.d.ts +3 -2
  28. package/build/src/components/Form/Common/FormLabel.d.ts +1 -1
  29. package/build/src/components/Form/Common/FormMessageFeedback.d.ts +2 -1
  30. package/build/src/components/Form/Common/types.d.ts +1 -1
  31. package/build/src/components/Form/Input/Common/JRCFormErrors.d.ts +2 -1
  32. package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.d.ts +2 -2
  33. package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.types.d.ts +3 -3
  34. package/build/src/components/Form/Input/Common/useFormControls.d.ts +5 -5
  35. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.d.ts +2 -1
  36. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.d.ts +2 -1
  37. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.d.ts +2 -1
  38. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.d.ts +2 -1
  39. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +2 -2
  40. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.d.ts +2 -2
  41. package/build/src/components/Form/Input/JRCFormColor/JRCFormColor.d.ts +2 -1
  42. package/build/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.d.ts +5 -5
  43. package/build/src/components/Form/Input/JRCFormEmail/JRCFormEmail.d.ts +2 -1
  44. package/build/src/components/Form/Input/JRCFormEmail/JRCInputEmail.d.ts +2 -2
  45. package/build/src/components/Form/Input/JRCFormFieldRender.d.ts +2 -2
  46. package/build/src/components/Form/Input/JRCFormFile/File.d.ts +4 -3
  47. package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.d.ts +5 -5
  48. package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.styles.d.ts +1 -1
  49. package/build/src/components/Form/Input/JRCFormFile/file.api.d.ts +15 -2
  50. package/build/src/components/Form/Input/JRCFormImage/JRCFormImage.d.ts +3 -3
  51. package/build/src/components/Form/Input/JRCFormNumber/JRCFormNumber.d.ts +2 -1
  52. package/build/src/components/Form/Input/JRCFormRange/JRCFormRange.d.ts +2 -1
  53. package/build/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.d.ts +2 -2
  54. package/build/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.d.ts +1 -1
  55. package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +3 -3
  56. package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.d.ts +4 -4
  57. package/build/src/components/Form/Input/JRCFormRichText/extensions/mentions/MentionList.d.ts +2 -2
  58. package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelect.d.ts +4 -4
  59. package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.d.ts +2 -1
  60. package/build/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.d.ts +2 -2
  61. package/build/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.d.ts +1 -1
  62. package/build/src/components/Form/Input/JRCFormText/JRCFormText.d.ts +2 -1
  63. package/build/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.d.ts +1 -1
  64. package/build/src/components/Form/Input/JRCFormURL/JRCFormUrl.d.ts +2 -1
  65. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.d.ts +5 -5
  66. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.d.ts +5 -5
  67. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.d.ts +5 -5
  68. package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.d.ts +3 -3
  69. package/build/src/components/Form/Input/JRCInputFile/JRCInputFile.d.ts +9 -9
  70. package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.d.ts +6 -8
  71. package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.d.ts +3 -3
  72. package/build/src/components/Form/Input/JRCInputRichText/JRCInputRichText.d.ts +4 -4
  73. package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +3 -3
  74. package/build/src/components/Form/Input/JRCInputText/JRCInputText.stories.d.ts +2 -2
  75. package/build/src/components/Form/Input/JRCInputText/JRCInputText.style.d.ts +4 -4
  76. package/build/src/components/Form/Input/JRCInputText/JRCInputTextIconButton.d.ts +3 -3
  77. package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.d.ts +2 -2
  78. package/build/src/components/Form/Input/JRCInputTime/JRCInputTime.d.ts +2 -2
  79. package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.d.ts +3 -3
  80. package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.d.ts +2 -2
  81. package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.d.ts +2 -2
  82. package/build/src/components/Form/Input/JRCSelect/JRCInputAudience.d.ts +3 -3
  83. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.d.ts +4 -4
  84. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +3 -2
  85. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.d.ts +2 -2
  86. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.defaults.d.ts +2 -1
  87. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +1 -1
  88. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +9 -9
  89. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +1 -1
  90. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.d.ts +2 -2
  91. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectList.d.ts +3 -2
  92. package/build/src/components/Form/Input/JRCSelect/JRCInputTaxonomy.d.ts +3 -3
  93. package/build/src/components/Form/Input/JRCSelect/SelectHierarchicalTreeModal.d.ts +2 -2
  94. package/build/src/components/Form/Input/JRCStyledInput.d.ts +4 -3
  95. package/build/src/components/Form/Input/ReduxFormControls.d.ts +1 -1
  96. package/build/src/components/JRCAlert/JRCAlert.d.ts +1 -1
  97. package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +1 -1
  98. package/build/src/components/JRCAppHeader/JRCAppHeader.d.ts +2 -1
  99. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +2 -1
  100. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +3 -3
  101. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +4 -4
  102. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +1 -1
  103. package/build/src/components/JRCAppLeftColumn/JRCDefaultMenu.d.ts +2 -1
  104. package/build/src/components/JRCAvatar/JRCAvatar.d.ts +3 -2
  105. package/build/src/components/JRCButton/JRCButton.d.ts +5 -5
  106. package/build/src/components/JRCButton/JRCButton.stories.d.ts +2 -2
  107. package/build/src/components/JRCButton/JRCButtonConfig.d.ts +1 -1
  108. package/build/src/components/JRCButton/JRCValidationButton.d.ts +2 -2
  109. package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +2 -1
  110. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +2 -1
  111. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.styles.d.ts +2 -2
  112. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +6 -6
  113. package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +2 -1
  114. package/build/src/components/JRCCard/JRCCard.d.ts +5 -5
  115. package/build/src/components/JRCCard/JRCCardImg.d.ts +3 -3
  116. package/build/src/components/JRCColumnCenter/JRCColumnCenter.d.ts +1 -1
  117. package/build/src/components/JRCColumnLeft/JRCColumnLeft.d.ts +1 -1
  118. package/build/src/components/JRCColumnRight/JRCColumnRight.d.ts +1 -1
  119. package/build/src/components/JRCCropImage/JRCCropImage.d.ts +6 -6
  120. package/build/src/components/JRCDate/JRCDate.d.ts +2 -1
  121. package/build/src/components/JRCDate/JRCDate.stories.d.ts +2 -2
  122. package/build/src/components/JRCDropDown/JRCDropDown.d.ts +1 -1
  123. package/build/src/components/JRCEllipsis/JRCEllipsis.d.ts +3 -2
  124. package/build/src/components/JRCEmptySpace/JRCEmptySpace.d.ts +12 -0
  125. package/build/src/components/JRCEmptySpace/JRCEmptySpace.stories.d.ts +4 -0
  126. package/build/src/components/JRCFile/JRCFile.d.ts +2 -1
  127. package/build/src/components/JRCFile/JRCFileApplication.d.ts +2 -1
  128. package/build/src/components/JRCFile/JRCFileAudio.d.ts +2 -1
  129. package/build/src/components/JRCFile/JRCFileAvatar.d.ts +2 -1
  130. package/build/src/components/JRCFile/JRCFileImage.d.ts +6 -2
  131. package/build/src/components/JRCFile/JRCFileVideo.d.ts +2 -1
  132. package/build/src/components/JRCFile/types.d.ts +1 -1
  133. package/build/src/components/JRCFileOpen/JRCFileOpen.d.ts +1 -1
  134. package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +14 -2
  135. package/build/src/components/JRCFileViewer/JRCFileViewer.styles.d.ts +1 -0
  136. package/build/src/components/JRCFileViewer/JRCFileViewerArrows.d.ts +7 -2
  137. package/build/src/components/JRCFileViewer/JRCFileViewerContent.d.ts +7 -5
  138. package/build/src/components/JRCFileViewer/JRCFileViewerContentApplication.d.ts +5 -4
  139. package/build/src/components/JRCFileViewer/JRCFileViewerContentAudio.d.ts +1 -1
  140. package/build/src/components/JRCFileViewer/JRCFileViewerContentImage.d.ts +1 -1
  141. package/build/src/components/JRCFileViewer/JRCFileViewerContentVideo.d.ts +1 -1
  142. package/build/src/components/JRCFileViewer/JRCFileViewerOpenWithOptions.d.ts +6 -4
  143. package/build/src/components/JRCFileViewer/types.d.ts +6 -12
  144. package/build/src/components/JRCFileViewer/utils.d.ts +4 -4
  145. package/build/src/components/JRCFlex/JRCFlexBox.d.ts +5 -5
  146. package/build/src/components/JRCFolders/JRCFolder.d.ts +2 -1
  147. package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +2 -1
  148. package/build/src/components/JRCFolders/JRCFolders.d.ts +2 -1
  149. package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +2 -2
  150. package/build/src/components/JRCFolders/types.d.ts +2 -2
  151. package/build/src/components/JRCGrid/JRCGrid.d.ts +1 -1
  152. package/build/src/components/JRCGrid/JRCGrid.stories.d.ts +5 -5
  153. package/build/src/components/JRCHref/JRCHref.d.ts +8 -7
  154. package/build/src/components/JRCHtml/JRCHtml.d.ts +2 -2
  155. package/build/src/components/JRCIcon/JRCIcon.d.ts +2 -1
  156. package/build/src/components/JRCIcon/JRCIcon.stories.d.ts +2 -2
  157. package/build/src/components/JRCIconButton/JRCIconButton.d.ts +2 -2
  158. package/build/src/components/JRCImg/JRCImg.d.ts +3 -2
  159. package/build/src/components/JRCList/JRCList.d.ts +5 -4
  160. package/build/src/components/JRCList/JRCList.stories.d.ts +1 -1
  161. package/build/src/components/JRCList/JRCList.styles.d.ts +5 -5
  162. package/build/src/components/JRCLoader/JRCLoader.d.ts +3 -2
  163. package/build/src/components/JRCLoader/JRCSkeleton.d.ts +2 -1
  164. package/build/src/components/JRCMenu/JRCMenu.stories.d.ts +2 -2
  165. package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +1 -1
  166. package/build/src/components/JRCModal/JRCModal.styles.d.ts +1 -1
  167. package/build/src/components/JRCModalImg/JRCModalImg.d.ts +2 -2
  168. package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +2 -2
  169. package/build/src/components/JRCPagination/JRCPagination.d.ts +5 -4
  170. package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.d.ts +1 -1
  171. package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.styles.d.ts +1 -1
  172. package/build/src/components/JRCSkeleton/JRCSkeletonLine.d.ts +3 -2
  173. package/build/src/components/JRCSkeleton/JRCSkeletonList.d.ts +1 -1
  174. package/build/src/components/JRCSkeleton/JRCSkeletonSquare.d.ts +1 -1
  175. package/build/src/components/JRCTabs/JRCTabs.d.ts +3 -3
  176. package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +2 -2
  177. package/build/src/components/JRCTag/JRCTag.d.ts +2 -2
  178. package/build/src/components/JRCThemeProvider/JRCThemeProvider.d.ts +1 -1
  179. package/build/src/components/JRCTooltip/JRCBaseTooltip.d.ts +4 -3
  180. package/build/src/components/JRCTooltip/JRCTooltip.d.ts +1 -1
  181. package/build/src/components/JRCTypo/JRCTypo.d.ts +10 -10
  182. package/build/src/components/JRCTypo/JRCTypo.stories.d.ts +7 -7
  183. package/build/src/components/JRCTypography/JRCTypography.d.d.ts +4 -4
  184. package/build/src/components/JRCTypography/JRCTypography.d.ts +2 -1
  185. package/build/src/components/JRCTypography/JRCTypography.styles.d.ts +6 -6
  186. package/build/src/components/Stepper/JRCFadeStepper.d.ts +2 -2
  187. package/build/src/components/Stepper/JRCImageStepper.d.ts +3 -3
  188. package/build/src/components/Stepper/JRCStepper.d.ts +3 -3
  189. package/build/src/components/Stepper/JRCStepper.stories.d.ts +2 -2
  190. package/build/src/components/Templates/JRCAppColumn.d.ts +2 -2
  191. package/build/src/components/Templates/JRCAppTab.d.ts +3 -3
  192. package/build/src/components/Templates/JRCBase.template.d.ts +2 -2
  193. package/build/src/components/Templates/JRCColumn.d.ts +2 -2
  194. package/build/src/components/Templates/JRCMainColumn.d.ts +2 -2
  195. package/build/src/components/Templates/JRCPanel.d.ts +2 -2
  196. package/build/src/components/Templates/JRCStepperPage.d.ts +2 -2
  197. package/build/src/components/Templates/JRCTwoColumns.template.d.ts +1 -1
  198. package/build/src/components/Templates/template.type.d.ts +13 -13
  199. package/build/src/components/Widgets/JRCWidgetArticleAttachment/JRCWidgetArticleAttachment.d.ts +6 -5
  200. package/build/src/components/Widgets/JRCWidgetArticleAttachment/JRCWidgetArticleAttachment.stories.d.ts +7 -0
  201. package/build/src/components/Widgets/JRCWidgetArticleAttachment/JRCWidgetArticleAttachmentEditor.d.ts +2 -2
  202. package/build/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButton.d.ts +2 -1
  203. package/build/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButtonEditor.d.ts +3 -2
  204. package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.d.ts +6 -16
  205. package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.stories.d.ts +8 -0
  206. package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGalleryEditor.d.ts +3 -2
  207. package/build/src/components/Widgets/JRCWidgetArticleImage/JRCWidgetArticleImage.d.ts +6 -5
  208. package/build/src/components/Widgets/JRCWidgetArticleImage/JRCWidgetArticleImage.stories.d.ts +8 -0
  209. package/build/src/components/Widgets/JRCWidgetArticleImage/JRCWidgetArticleImageEditor.d.ts +3 -2
  210. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.d.ts +2 -1
  211. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.stories.d.ts +7 -0
  212. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleTextEditor.d.ts +3 -2
  213. package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitle.d.ts +8 -4
  214. package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitleEditor.d.ts +2 -2
  215. package/build/src/components/Widgets/JRCWidgetEmptyInplace.d.ts +3 -2
  216. package/build/src/components/Widgets/components/WidgetMissingToken.d.ts +2 -1
  217. package/build/src/components/Widgets/const.d.ts +0 -4
  218. package/build/src/components/Widgets/utils.d.ts +3 -3
  219. package/build/src/hooks/UseImageLoader.d.ts +1 -1
  220. package/build/src/hooks/useRefSize.d.ts +6 -0
  221. package/build/src/index.d.ts +3 -0
  222. package/build/src/storybook/decorators.d.ts +2 -2
  223. package/build/src/styles/Theme.stories.d.ts +2 -2
  224. package/build/src/styles/theme.d.ts +9 -9
  225. package/build/src/types.d.ts +1 -0
  226. package/build/src/utils/index.d.ts +4 -2
  227. package/build/src/utils/test-utils.d.ts +1 -1
  228. package/build/src/utils/utils.array.d.ts +1 -1
  229. package/build/src/utils/utils.color.d.ts +3 -1
  230. package/build/src/utils/utils.date.d.ts +1 -1
  231. package/build/src/utils/utils.files.d.ts +113 -2
  232. package/package.json +145 -146
  233. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +0 -320
  234. package/build/src/components/Templates/template.styles.d.ts +0 -323
  235. package/build/src/components/Widgets/components/Attachment.d.ts +0 -33
  236. package/build/src/components/Widgets/components/Image.d.ts +0 -9
  237. package/pnpm-lock.yaml +0 -20909
@@ -6,4 +6,4 @@ import * as React from 'react';
6
6
  export interface JRCColumnLeftProps {
7
7
  children: React.ReactNode;
8
8
  }
9
- export declare const JRCColumnLeft: (props: JRCColumnLeftProps) => JSX.Element;
9
+ export declare const JRCColumnLeft: (props: JRCColumnLeftProps) => React.JSX.Element;
@@ -6,4 +6,4 @@ import * as React from 'react';
6
6
  export interface JRCColumnRightProps {
7
7
  children: React.ReactNode;
8
8
  }
9
- export declare const JRCColumnRight: (props: JRCColumnRightProps) => JSX.Element;
9
+ export declare const JRCColumnRight: (props: JRCColumnRightProps) => React.JSX.Element;
@@ -1,14 +1,14 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { Area as _Area, Point as _Point, Size as _Size } from 'react-easy-crop/types';
3
3
  import { JRCModalProps } from '../JRCModal/JRCModal';
4
- export declare type Size = _Size;
5
- export declare type Point = _Point;
6
- export declare type Area = _Area;
7
- export declare type JRCCropImageProps = Pick<JRCModalProps, 'open' | 'closeHandler'> & {
4
+ export type Size = _Size;
5
+ export type Point = _Point;
6
+ export type Area = _Area;
7
+ export type JRCCropImageProps = Pick<JRCModalProps, 'open' | 'closeHandler'> & {
8
8
  aspectRatio?: number | undefined;
9
9
  src?: string | undefined;
10
10
  save: (cropConfig: Area & {
11
11
  rotation: number;
12
12
  }) => void;
13
13
  };
14
- export declare function JRCCropImage(props: JRCCropImageProps): JSX.Element;
14
+ export declare function JRCCropImage(props: JRCCropImageProps): React.JSX.Element;
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import { DateFormat } from 'utils/utils.date';
2
3
  export interface JRCDateProps {
3
4
  date?: string;
4
5
  format?: DateFormat;
5
6
  }
6
- export declare const JRCDate: (props: JRCDateProps) => JSX.Element | null;
7
+ export declare const JRCDate: (props: JRCDateProps) => React.JSX.Element | null;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { JRCDateProps } from './JRCDate';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: JRCDateProps) => JSX.Element | null;
5
+ component: (props: JRCDateProps) => React.JSX.Element | null;
6
6
  };
7
7
  export default _default;
8
8
  import { Story } from '@storybook/react';
@@ -4,4 +4,4 @@ export interface JRCDropDownProps {
4
4
  dropdown: React.ReactNode;
5
5
  align?: 'left' | 'right';
6
6
  }
7
- export declare const JRCDropDown: ({ trigger, dropdown, align }: JRCDropDownProps) => JSX.Element;
7
+ export declare const JRCDropDown: ({ trigger, dropdown, align }: JRCDropDownProps) => React.JSX.Element;
@@ -1,7 +1,8 @@
1
+ import * as React from 'react';
1
2
  import { JRCTooltipProps } from '../JRCTooltip/JRCTooltip';
2
- export declare type JRCEllipsisProps = {
3
+ export type JRCEllipsisProps = {
3
4
  label?: string;
4
5
  length: number;
5
6
  position?: JRCTooltipProps['position'];
6
7
  };
7
- export declare const JRCEllipsis: ({ label, length, position }: JRCEllipsisProps) => JSX.Element;
8
+ export declare const JRCEllipsis: ({ label, length, position }: JRCEllipsisProps) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ type EmptySpaceBgColor = 'sandLight' | 'sky15';
3
+ export type JRCEmptySpaceProps = {
4
+ img: string;
5
+ imgAlt?: string;
6
+ title: string;
7
+ description?: string;
8
+ actions?: React.ReactChild;
9
+ bgColor?: EmptySpaceBgColor;
10
+ };
11
+ export declare const JRCEmptySpace: React.FC<JRCEmptySpaceProps>;
12
+ export {};
@@ -0,0 +1,4 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const EmptySpace: Story<any>;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import { JRCFileProps } from './types';
2
- export declare const JRCFile: ({ uri, mimetype, display }: JRCFileProps) => JSX.Element;
3
+ export declare const JRCFile: ({ uri, mimetype, display }: JRCFileProps) => React.JSX.Element;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import { JRCFileProps } from './types';
2
- export declare const JRCFileApplication: ({ mimetype }: JRCFileProps) => JSX.Element;
3
+ export declare const JRCFileApplication: ({ mimetype }: JRCFileProps) => React.JSX.Element;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import { JRCFileProps } from './types';
2
- export declare const JRCFileAudio: ({ uri, mimetype, display }: JRCFileProps) => JSX.Element;
3
+ export declare const JRCFileAudio: ({ uri, mimetype, display }: JRCFileProps) => React.JSX.Element;
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import { JRCFileProps } from './types';
2
3
  export declare const CSSFile: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
4
  size: number;
4
5
  backgroundColor: string;
5
6
  }, never>;
6
- export declare const JRCFileAvatar: ({ uri, size, mimetype }: JRCFileProps) => JSX.Element;
7
+ export declare const JRCFileAvatar: ({ uri, size, mimetype }: JRCFileProps) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { JRCFileProps } from './types';
2
3
  export declare const BackgroundImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
4
  uri: string;
@@ -6,8 +7,11 @@ export declare const Image: import("styled-components").StyledComponent<"img", i
6
7
  maxWidth: number;
7
8
  maxHeight: number;
8
9
  }, never>;
9
- export declare const JRCFileImage: ({ uri, size, mimetype, display }: JRCFileProps) => JSX.Element;
10
+ export declare const JRCFileImage: ({ uri, size, mimetype, display }: JRCFileProps) => React.JSX.Element;
11
+ export declare const BackgroundImageLoader: ({ uri }: {
12
+ uri: string;
13
+ }) => React.JSX.Element;
10
14
  export declare const Img: ({ uri, size }: {
11
15
  uri: string;
12
16
  size: number | undefined;
13
- }) => JSX.Element;
17
+ }) => React.JSX.Element;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import { JRCFileProps } from './types';
2
- export declare const JRCFileVideo: ({ uri, mimetype, display }: JRCFileProps) => JSX.Element;
3
+ export declare const JRCFileVideo: ({ uri, mimetype, display }: JRCFileProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- export declare type JRCFileProps = {
1
+ export type JRCFileProps = {
2
2
  uri?: string;
3
3
  mimetype: string;
4
4
  size?: number;
@@ -5,4 +5,4 @@ export interface JRCFileOpenProps {
5
5
  fileActions?: any;
6
6
  title: string;
7
7
  }
8
- export declare const JRCFileOpen: (props: JRCFileOpenProps) => JSX.Element;
8
+ export declare const JRCFileOpen: (props: JRCFileOpenProps) => React.JSX.Element;
@@ -1,2 +1,14 @@
1
- import { JRCFileViewerProps, JRCFileViewerFileProps } from './types';
2
- export declare const JRCFileViewer: <T extends JRCFileViewerFileProps>({ files, children, openWithOptions, _DEBUG, }: JRCFileViewerProps<T>) => JSX.Element;
1
+ import * as React from 'react';
2
+ import { JRCFileViewerProps } from './types';
3
+ export declare const JRCFileViewer: <T extends {
4
+ title: string;
5
+ id: number;
6
+ type: string;
7
+ uri: string;
8
+ mainType: string;
9
+ dateCreation: string;
10
+ _url: string;
11
+ dateModified: string | null;
12
+ mimetype: string;
13
+ path?: string | undefined;
14
+ }>({ files, size, children, openWithOptions, }: JRCFileViewerProps<T>) => React.JSX.Element;
@@ -13,4 +13,5 @@ export declare const CSSFileViewerImageBackground: import("styled-components").S
13
13
  uri: string;
14
14
  }, never>;
15
15
  export declare const CSSFileViewerArrowsButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const CSSFileViewerStep: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
17
  export declare const CSSFileViewerArrows: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,3 +1,8 @@
1
- export declare const JRCFileViewerArrows: ({ onRelease }: {
1
+ import * as React from 'react';
2
+ type JRCFileViewerArrowsProps = {
3
+ index: number;
4
+ total: number;
2
5
  onRelease: (direction: string) => void;
3
- }) => JSX.Element;
6
+ };
7
+ export declare const JRCFileViewerArrows: ({ index, total, onRelease }: JRCFileViewerArrowsProps) => React.JSX.Element;
8
+ export {};
@@ -1,8 +1,10 @@
1
- import { JRCFileViewerFileProps, JRCFileViewerOpenWithOptionsType } from './types';
2
- declare type JRCFileViewerContentProps = {
3
- file: JRCFileViewerFileProps;
1
+ import * as React from 'react';
2
+ import { JRCFileViewerOpenWithOptionsType } from './types';
3
+ import { jFileLittle } from 'jamespot-user-api';
4
+ type JRCFileViewerContentProps = {
5
+ file: jFileLittle;
6
+ size?: string;
4
7
  openWithOptions: JRCFileViewerOpenWithOptionsType;
5
- _DEBUG: boolean;
6
8
  };
7
- export declare const JRCFileViewerContent: ({ file, openWithOptions }: JRCFileViewerContentProps) => JSX.Element;
9
+ export declare const JRCFileViewerContent: ({ file, size, openWithOptions }: JRCFileViewerContentProps) => React.JSX.Element;
8
10
  export {};
@@ -1,9 +1,10 @@
1
1
  import * as React from 'react';
2
- import { JRCFileViewerFileProps, JRCFileViewerOpenWithOptionType } from './types';
3
- declare type JRCFileViewerContentApplicationProps = {
4
- file?: JRCFileViewerFileProps;
2
+ import { JRCFileViewerOpenWithOptionType } from './types';
3
+ import { jFileLittle } from 'jamespot-user-api';
4
+ type JRCFileViewerContentApplicationProps = {
5
+ file?: jFileLittle;
5
6
  options?: JRCFileViewerOpenWithOptionType[];
6
7
  children: React.ReactNode;
7
8
  };
8
- export declare const JRCFileViewerContentApplication: ({ file, options, children }: JRCFileViewerContentApplicationProps) => JSX.Element;
9
+ export declare const JRCFileViewerContentApplication: ({ file, options, children }: JRCFileViewerContentApplicationProps) => React.JSX.Element;
9
10
  export {};
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export declare const JRCFileViewerContentAudio: ({ children }: {
3
3
  children: React.ReactNode;
4
- }) => JSX.Element;
4
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export declare const JRCFileViewerContentImage: ({ children }: {
3
3
  children: React.ReactNode;
4
- }) => JSX.Element;
4
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export declare const JRCFileViewerContentVideo: ({ children }: {
3
3
  children: React.ReactNode;
4
- }) => JSX.Element;
4
+ }) => React.JSX.Element;
@@ -1,7 +1,9 @@
1
- import { JRCFileViewerFileProps, JRCFileViewerOpenWithOptionType } from './types';
2
- declare type JRCFileViewerOpenWithOptionsProps = {
3
- file: JRCFileViewerFileProps;
1
+ import * as React from 'react';
2
+ import { JRCFileViewerOpenWithOptionType } from './types';
3
+ import { jFileLittle } from 'jamespot-user-api';
4
+ type JRCFileViewerOpenWithOptionsProps = {
5
+ file: jFileLittle;
4
6
  options: JRCFileViewerOpenWithOptionType[];
5
7
  };
6
- export declare const JRCFileViewerOpenWithOptions: ({ file, options }: JRCFileViewerOpenWithOptionsProps) => JSX.Element;
8
+ export declare const JRCFileViewerOpenWithOptions: ({ file, options }: JRCFileViewerOpenWithOptionsProps) => React.JSX.Element;
7
9
  export {};
@@ -1,19 +1,13 @@
1
1
  /// <reference types="react" />
2
- export declare type JRCFileViewerProps<T> = {
2
+ import { jFileLittle } from 'jamespot-user-api';
3
+ export type JRCFileViewerProps<T> = {
3
4
  files: T[];
5
+ size?: string;
4
6
  openWithOptions: JRCFileViewerOpenWithOptionsType;
5
7
  children(setIndex: (idFile: number) => void): React.ReactElement<HTMLElement>;
6
- _DEBUG: boolean;
7
8
  };
8
- export declare type JRCFileViewerFileProps = {
9
- id: number;
10
- type: string;
11
- mimetype: string;
12
- title: string;
13
- uri?: string;
14
- };
15
- export declare type JRCFileViewerOpenWithOptionsType = Record<string, JRCFileViewerOpenWithOptionType[]>;
16
- export declare type JRCFileViewerOpenWithOptionType = {
9
+ export type JRCFileViewerOpenWithOptionsType = Record<string, JRCFileViewerOpenWithOptionType[]>;
10
+ export type JRCFileViewerOpenWithOptionType = {
17
11
  label: string;
18
- onClick: (item: JRCFileViewerFileProps | undefined) => void;
12
+ onClick: (item: jFileLittle | undefined) => void;
19
13
  };
@@ -1,4 +1,4 @@
1
- import { JRCFileViewerFileProps } from './types';
2
- export declare function videoUrl(file: JRCFileViewerFileProps): string;
3
- export declare function audioUrl(file: JRCFileViewerFileProps): string;
4
- export declare function imageUrl(file: JRCFileViewerFileProps, size?: string): string;
1
+ import { jFileLittle } from 'jamespot-user-api';
2
+ export declare function videoUrl(file: jFileLittle): string;
3
+ export declare function audioUrl(file: jFileLittle): string;
4
+ export declare function imageUrl(file: jFileLittle, size?: string): string;
@@ -1,5 +1,5 @@
1
1
  import { FastCssProps } from '../Common/FastCss';
2
- declare type FlexBoxProps = Omit<FastCssProps, 'display'> & {
2
+ type FlexBoxProps = Omit<FastCssProps, 'display'> & {
3
3
  direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse';
4
4
  inline?: boolean;
5
5
  flex?: boolean | string;
@@ -9,15 +9,15 @@ declare type FlexBoxProps = Omit<FastCssProps, 'display'> & {
9
9
  childFull?: boolean;
10
10
  };
11
11
  export declare const JRCFlexBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Omit<FastCssProps, "display"> & {
12
- direction?: "row" | "column" | "column-reverse" | "row-reverse" | undefined;
12
+ direction?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
13
13
  inline?: boolean | undefined;
14
14
  flex?: string | boolean | undefined;
15
15
  gap?: number | undefined;
16
- x?: "space-around" | "space-between" | "space-evenly" | "center" | "flex-end" | "flex-start" | undefined;
17
- y?: "space-around" | "space-between" | "space-evenly" | "center" | "flex-end" | "flex-start" | undefined;
16
+ x?: "center" | "flex-start" | "flex-end" | "space-around" | "space-between" | "space-evenly" | undefined;
17
+ y?: "center" | "flex-start" | "flex-end" | "space-around" | "space-between" | "space-evenly" | undefined;
18
18
  childFull?: boolean | undefined;
19
19
  }, never>;
20
- export declare type JRCFlexBoxProps = FlexBoxProps & {
20
+ export type JRCFlexBoxProps = FlexBoxProps & {
21
21
  as?: string;
22
22
  };
23
23
  export {};
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { JRCFolderProps } from './types';
2
- declare const JRCFolder: (props: JRCFolderProps) => JSX.Element;
3
+ declare const JRCFolder: (props: JRCFolderProps) => React.JSX.Element;
3
4
  export { JRCFolder };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import { FolderType } from 'jamespot-user-api';
2
3
  declare const JRCFolderBreadcrumb: ({ entries, onPress, }: {
3
4
  entries: Array<FolderType>;
4
5
  onPress: (entry: FolderType) => void;
5
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
6
7
  export { JRCFolderBreadcrumb };
@@ -1,4 +1,5 @@
1
+ import * as React from 'react';
1
2
  import { JRCFoldersProps } from './types';
2
3
  export declare const inUriArray: (arr: Array<string>, uriValue: string) => boolean;
3
4
  export declare const updateUriArray: (arr: string[], uriValue: string) => Array<string>;
4
- export declare const JRCFolders: ({ loadDocuments, allowMultiSelection, asyncBanksPromise, asyncFoldersPromise, asyncDocumentsPromise, initialFolders, initialDocuments, onSelectFolder, onSelectDocument, }: JRCFoldersProps) => JSX.Element;
5
+ export declare const JRCFolders: ({ loadDocuments, allowMultiSelection, asyncBanksPromise, asyncFoldersPromise, asyncDocumentsPromise, initialFolders, initialDocuments, onSelectFolder, onSelectDocument, }: JRCFoldersProps) => React.JSX.Element;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { Story } from '@storybook/react';
3
3
  import { JRCFoldersProps } from './types';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ loadDocuments, allowMultiSelection, asyncBanksPromise, asyncFoldersPromise, asyncDocumentsPromise, initialFolders, initialDocuments, onSelectFolder, onSelectDocument, }: JRCFoldersProps) => JSX.Element;
6
+ component: ({ loadDocuments, allowMultiSelection, asyncBanksPromise, asyncFoldersPromise, asyncDocumentsPromise, initialFolders, initialDocuments, onSelectFolder, onSelectDocument, }: JRCFoldersProps) => React.JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Folders: Story<JRCFoldersProps>;
@@ -1,5 +1,5 @@
1
1
  import { ApiPagingResults, ApiWrapper, FileBankDocument, FileBankProps, FolderType } from 'jamespot-user-api';
2
- export declare type JRCFoldersProps = {
2
+ export type JRCFoldersProps = {
3
3
  loadDocuments?: boolean;
4
4
  initialFolders?: string[];
5
5
  initialDocuments?: string[];
@@ -18,7 +18,7 @@ export interface JRCFolderProps {
18
18
  color: string;
19
19
  size: 'sm' | 'md' | 'lg';
20
20
  }
21
- export declare type FolderProps = {
21
+ export type FolderProps = {
22
22
  id: number | string;
23
23
  type: 'folder' | 'rootFolder';
24
24
  uri: string;
@@ -8,4 +8,4 @@ export interface JRCGridProps {
8
8
  children: React.ReactNode;
9
9
  cols: '1' | '2' | '3';
10
10
  }
11
- export declare const JRCGrid: (props: JRCGridProps) => JSX.Element;
11
+ export declare const JRCGrid: (props: JRCGridProps) => React.JSX.Element;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: (props: import("./JRCGrid").JRCGridProps) => JSX.Element;
4
+ component: (props: import("./JRCGrid").JRCGridProps) => React.JSX.Element;
5
5
  };
6
6
  export default _default;
7
- export declare const Grid_1_col: () => JSX.Element;
8
- export declare const Grid_2_col_Left_Center: () => JSX.Element;
9
- export declare const Grid_3_col_Left_Center_Right: () => JSX.Element;
7
+ export declare const Grid_1_col: () => React.JSX.Element;
8
+ export declare const Grid_2_col_Left_Center: () => React.JSX.Element;
9
+ export declare const Grid_3_col_Left_Center_Right: () => React.JSX.Element;
@@ -1,22 +1,23 @@
1
1
  import * as React from 'react';
2
2
  import { DataCy } from '../../types/dataAttributes';
3
+ import { ButtonColors } from '../JRCButton/JRCButton';
3
4
  /**
4
5
  * Props type for JRCLinkToArticle and JRCLinkToUser
5
6
  * @member idObject number : id of the record
6
7
  */
7
- export declare type JRCLinkToProps = DataCy & React.ComponentPropsWithoutRef<'a'> & {
8
+ export type JRCLinkToProps = DataCy & React.ComponentPropsWithoutRef<'a'> & {
8
9
  idObject?: number;
9
10
  };
10
- declare type NativeProps = React.ComponentPropsWithoutRef<'a'> & {
11
+ type NativeProps = React.ComponentPropsWithoutRef<'a'> & {
11
12
  useLink?: boolean;
12
13
  hasLicense?: boolean;
13
14
  };
14
- declare type AnchorProps = {
15
+ type AnchorProps = {
15
16
  as?: 'a';
16
17
  };
17
- declare type ButtonProps = {
18
+ type ButtonProps = {
18
19
  variant?: 'contained' | 'outlined';
19
- color?: 'primary' | 'valid' | 'danger' | 'secondary';
20
+ color?: ButtonColors;
20
21
  float?: 'left' | 'right';
21
22
  disabled?: boolean;
22
23
  children?: React.ReactNode;
@@ -26,6 +27,6 @@ declare type ButtonProps = {
26
27
  * Props type for JRCStyledHref
27
28
  * @member as render the link styled as a button
28
29
  */
29
- export declare type JRCStyledHrefProps = DataCy & (AnchorProps | ButtonProps) & NativeProps;
30
- export declare const JRCStyledHref: ({ dataCy, hasLicense, href, useLink, ...props }: JRCStyledHrefProps) => JSX.Element;
30
+ export type JRCStyledHrefProps = DataCy & (AnchorProps | ButtonProps) & NativeProps;
31
+ export declare const JRCStyledHref: ({ dataCy, hasLicense, href, useLink, ...props }: JRCStyledHrefProps) => React.JSX.Element;
31
32
  export {};
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { LimitLinesProps } from '../Common/LimitLines';
3
- export declare type JRCHtmlProps = LimitLinesProps & {
3
+ export type JRCHtmlProps = LimitLinesProps & {
4
4
  className?: string;
5
5
  as?: React.ElementType | keyof JSX.IntrinsicElements;
6
6
  __html: string | undefined;
7
7
  };
8
8
  export declare const JRCHtml: React.ForwardRefExoticComponent<LimitLinesProps & {
9
9
  className?: string | undefined;
10
- as?: "symbol" | "object" | "g" | "b" | "div" | "big" | "link" | "small" | "sub" | "sup" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "style" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
10
+ as?: "symbol" | "object" | "g" | "b" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
11
11
  __html: string | undefined;
12
12
  } & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  /**
2
3
  * Props type for JRCIcon
3
4
  * @property name string: Name of the icon (required)
@@ -20,4 +21,4 @@ export interface JRCIconProps {
20
21
  isMargin?: boolean;
21
22
  className?: string;
22
23
  }
23
- export declare const JRCIcon: ({ color, variant, name, size, isMargin, className, }: JRCIconProps) => JSX.Element;
24
+ export declare const JRCIcon: ({ color, variant, name, size, isMargin, className, }: JRCIconProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { JRCIconProps } from './JRCIcon';
3
3
  import { Meta, Story } from '@storybook/react';
4
4
  declare const _default: Meta<import("@storybook/react").Args>;
5
5
  export default _default;
6
6
  export declare const Primary: Story<JRCIconProps>;
7
- export declare const AllIcons: () => JSX.Element;
7
+ export declare const AllIcons: () => React.JSX.Element;
@@ -16,7 +16,7 @@ import { DataCy } from '../../types/dataAttributes';
16
16
  * @member variant can be 'circle' | 'square';
17
17
  * @member hasLicense If false, the button will be disabled with a license tooltip. Default to true
18
18
  */
19
- export declare type JRCIconButtonProps = Omit<React.ComponentPropsWithoutRef<'button'>, 'onClick'> & DataCy & {
19
+ export type JRCIconButtonProps = Omit<React.ComponentPropsWithoutRef<'button'>, 'onClick'> & DataCy & {
20
20
  icon: string;
21
21
  size?: 'small' | 'medium';
22
22
  onClick?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
@@ -36,7 +36,7 @@ declare const defaultProps: {
36
36
  size: string;
37
37
  };
38
38
  declare const JRCIconButton: {
39
- ({ hasLicense, ...props }: JRCIconButtonProps & typeof defaultProps): JSX.Element;
39
+ ({ hasLicense, ...props }: JRCIconButtonProps & typeof defaultProps): React.JSX.Element;
40
40
  defaultProps: {
41
41
  type: string;
42
42
  variant: string;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { ImgUrlProps } from 'jamespot-user-api';
2
3
  /**
3
4
  * @see ImgUrlProps
@@ -27,11 +28,11 @@ import { ImgUrlProps } from 'jamespot-user-api';
27
28
  *
28
29
  * @property className - className of the <img /> tag
29
30
  */
30
- export declare type JRCImgProps = ImgUrlProps & {
31
+ export type JRCImgProps = ImgUrlProps & {
31
32
  loading?: 'eager' | 'lazy';
32
33
  alt: string;
33
34
  className?: string;
34
35
  onError?: () => void;
35
36
  onLoad?: () => void;
36
37
  };
37
- export declare const JRCImg: (props: JRCImgProps) => JSX.Element;
38
+ export declare const JRCImg: (props: JRCImgProps) => React.JSX.Element;
@@ -1,10 +1,11 @@
1
+ import * as React from 'react';
1
2
  import { Column } from 'react-table';
2
3
  import type { Orders } from 'jamespot-user-api';
3
- export declare type LoadMorePagination = {
4
+ export type LoadMorePagination = {
4
5
  type: 'loadMore';
5
6
  end: boolean;
6
7
  };
7
- export declare type PaginationPagination = {
8
+ export type PaginationPagination = {
8
9
  type?: 'pagination';
9
10
  page: number;
10
11
  perPage: number;
@@ -18,7 +19,7 @@ export declare type PaginationPagination = {
18
19
  * @member config config object. See the Type for use
19
20
  * @member className className
20
21
  */
21
- export declare type JRCListProps<T extends Record<string, unknown>> = {
22
+ export type JRCListProps<T extends Record<string, unknown>> = {
22
23
  columns: Array<Column<T>>;
23
24
  data: Array<T>;
24
25
  eventHandlers?: {
@@ -34,4 +35,4 @@ export declare type JRCListProps<T extends Record<string, unknown>> = {
34
35
  };
35
36
  className?: string;
36
37
  };
37
- export declare const JRCList: <T extends Record<string, unknown>>(props: JRCListProps<T>) => JSX.Element;
38
+ export declare const JRCList: <T extends Record<string, unknown>>(props: JRCListProps<T>) => React.JSX.Element;
@@ -2,7 +2,7 @@ import { JRCListProps } from './JRCList';
2
2
  import { Meta, Story } from '@storybook/react';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- declare type MyData = {
5
+ type MyData = {
6
6
  uri: string;
7
7
  col1: number;
8
8
  col2: number;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  export declare const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {}, never>;
3
3
  export declare const Thead: import("styled-components").StyledComponent<"thead", import("styled-components").DefaultTheme, {}, never>;
4
4
  export declare const TBody: import("styled-components").StyledComponent<"tbody", import("styled-components").DefaultTheme, {}, never>;
@@ -10,16 +10,16 @@ export declare const Tr: import("styled-components").StyledComponent<"tr", impor
10
10
  }, never>;
11
11
  export declare const Td: import("styled-components").StyledComponent<"td", import("styled-components").DefaultTheme, {}, never>;
12
12
  export declare const LoadMore: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
13
- export declare type DraggableTBodyProps = {
13
+ export type DraggableTBodyProps = {
14
14
  draggable: boolean;
15
15
  children: Array<JSX.Element>;
16
16
  };
17
- export declare type DraggableTrProps = {
17
+ export type DraggableTrProps = {
18
18
  index: number;
19
19
  onDrag: (dragIndex: number, dropIndex: number) => void;
20
20
  onDrop: () => void;
21
21
  draggable: boolean;
22
22
  children: Array<JSX.Element>;
23
23
  };
24
- export declare const DraggableTBody: ({ draggable, children }: DraggableTBodyProps) => JSX.Element;
25
- export declare const DraggableTr: ({ index, onDrag, onDrop, draggable, children }: DraggableTrProps) => JSX.Element;
24
+ export declare const DraggableTBody: ({ draggable, children }: DraggableTBodyProps) => React.JSX.Element;
25
+ export declare const DraggableTr: ({ index, onDrag, onDrop, draggable, children }: DraggableTrProps) => React.JSX.Element;