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
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { Colors } from '../../styles/theme';
2
3
  /**
3
4
  * Props type for JRCLoader
@@ -12,6 +13,6 @@ interface JRCSpinnerProps {
12
13
  interface JRCLoaderVariantProps {
13
14
  variant?: 'spinner' | 'skeleton';
14
15
  }
15
- export declare type JRCLoaderProps = JRCLoaderVariantProps & JRCSpinnerProps;
16
- export declare const JRCLoader: ({ color, size, variant, className }: JRCLoaderProps) => JSX.Element;
16
+ export type JRCLoaderProps = JRCLoaderVariantProps & JRCSpinnerProps;
17
+ export declare const JRCLoader: ({ color, size, variant, className }: JRCLoaderProps) => React.JSX.Element;
17
18
  export {};
@@ -1 +1,2 @@
1
- export declare const Skeleton: () => JSX.Element;
1
+ import * as React from 'react';
2
+ export declare const Skeleton: () => React.JSX.Element;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: ({ items, defaultActiveItem }: import("./JRCMenu").JRCMenuProps) => JSX.Element;
5
5
  };
6
6
  export default _default;
7
- export declare const jrcmenu: () => JSX.Element;
7
+ export declare const jrcmenu: () => React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const VerticalItemFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const JRCDefaultIconVerticalItem: import("styled-components").StyledComponent<({ color, variant, name, size, isMargin, className, }: import("../JRCIcon/JRCIcon").JRCIconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const JRCDefaultIconVerticalItem: import("styled-components").StyledComponent<({ color, variant, name, size, isMargin, className, }: import("../JRCIcon/JRCIcon").JRCIconProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
4
4
  export interface ItemProps {
5
5
  isActive: boolean;
6
6
  }
@@ -1,4 +1,4 @@
1
- export declare type ModalBorderRadius = 'medium' | 'small';
1
+ export type ModalBorderRadius = 'medium' | 'small';
2
2
  export declare const JRCModalBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
3
  isFullHeight?: boolean | undefined;
4
4
  }, never>;
@@ -8,7 +8,7 @@ import { DataCy } from '../../types/dataAttributes';
8
8
  * @member children default ReactNode children in the Modal content
9
9
  * @member variant optional style button "contained" | "outlined"
10
10
  */
11
- export declare type JRCModalImgButtonType = ComponentPropsWithoutRef<'button'> & DataCy & {
11
+ export type JRCModalImgButtonType = ComponentPropsWithoutRef<'button'> & DataCy & {
12
12
  children: ReactNode;
13
13
  color?: 'primary' | 'valid' | 'danger';
14
14
  variant?: 'contained' | 'outlined';
@@ -40,4 +40,4 @@ export interface JRCModalImgProps {
40
40
  };
41
41
  className?: string;
42
42
  }
43
- export declare const JRCModalImg: ({ open, closeHandler, buttons, children, title, showIconClose, img, className, }: JRCModalImgProps) => JSX.Element | null;
43
+ export declare const JRCModalImg: ({ open, closeHandler, buttons, children, title, showIconClose, img, className, }: JRCModalImgProps) => React.JSX.Element | null;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { JRCModalImgProps } from './JRCModalImg';
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 SkeletonModal: Story<JRCModalImgProps>;
7
- export declare const ShowAndHideModal: () => JSX.Element;
7
+ export declare const ShowAndHideModal: () => React.JSX.Element;
@@ -1,5 +1,6 @@
1
+ import * as React from 'react';
1
2
  import { DataCy } from '../../types/dataAttributes';
2
- export declare type PaginationBulletProps = DataCy & {
3
+ export type PaginationBulletProps = DataCy & {
3
4
  number: number;
4
5
  isActive: boolean;
5
6
  clickHandler: (page: number) => void;
@@ -10,10 +11,10 @@ export declare type PaginationBulletProps = DataCy & {
10
11
  * @member nbrOfPage number : total nb of pages
11
12
  * @member clickHandler (page: number) => void; callback when click on a page number
12
13
  */
13
- export declare type JRCPaginationProps = DataCy & {
14
+ export type JRCPaginationProps = DataCy & {
14
15
  activePage: number;
15
16
  nbrOfPage: number;
16
17
  clickHandler: (page: number) => void;
17
18
  };
18
- export declare const PaginationBullet: ({ number, isActive, dataCy, clickHandler }: PaginationBulletProps) => JSX.Element;
19
- export declare const JRCPagination: ({ activePage, nbrOfPage, clickHandler, dataCy }: JRCPaginationProps) => JSX.Element;
19
+ export declare const PaginationBullet: ({ number, isActive, dataCy, clickHandler }: PaginationBulletProps) => React.JSX.Element;
20
+ export declare const JRCPagination: ({ activePage, nbrOfPage, clickHandler, dataCy }: JRCPaginationProps) => React.JSX.Element;
@@ -2,7 +2,7 @@ import React, { ReactNode } from 'react';
2
2
  /**
3
3
  * Type for JRCSidePanelModal props
4
4
  */
5
- export declare type JRCSidePanelModalProps = {
5
+ export type JRCSidePanelModalProps = {
6
6
  open: boolean;
7
7
  closeHandler: () => void;
8
8
  children?: ReactNode;
@@ -1,4 +1,4 @@
1
- export declare type ModalBorderRadius = 'medium' | 'small';
1
+ export type ModalBorderRadius = 'medium' | 'small';
2
2
  export declare const JRCModalBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
3
  position?: "left" | "right" | undefined;
4
4
  open?: boolean | undefined;
@@ -1,5 +1,6 @@
1
+ import * as React from 'react';
1
2
  import { TSizes } from '../JRCTypography/JRCTypography.d';
2
- export declare type JRCSkeletonLineProps = {
3
+ export type JRCSkeletonLineProps = {
3
4
  width?: string;
4
5
  size?: TSizes;
5
6
  lineHeight?: number;
@@ -7,4 +8,4 @@ export declare type JRCSkeletonLineProps = {
7
8
  borderRadius?: string;
8
9
  margin?: string;
9
10
  };
10
- export declare const JRCSkeletonLine: ({ width, size, lineHeight, height, borderRadius, margin, }: JRCSkeletonLineProps) => JSX.Element;
11
+ export declare const JRCSkeletonLine: ({ width, size, lineHeight, height, borderRadius, margin, }: JRCSkeletonLineProps) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type SkeletonListProps = {
2
+ export type SkeletonListProps = {
3
3
  margin?: string;
4
4
  width?: string;
5
5
  };
@@ -1,4 +1,4 @@
1
- export declare type JRCSkeletonSquareProps = {
1
+ export type JRCSkeletonSquareProps = {
2
2
  ratio?: {
3
3
  x: number;
4
4
  y: number;
@@ -7,7 +7,7 @@ export declare const VerticalWrapper: import("styled-components").StyledComponen
7
7
  export declare const VerticalItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
8
8
  export declare const ItemButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, ItemProps, never>;
9
9
  export declare const VerticalItemFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
- export declare const JRCDefaultIconVerticalItem: import("styled-components").StyledComponent<({ color, variant, name, size, isMargin, className, }: import("../JRCIcon/JRCIcon").JRCIconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const JRCDefaultIconVerticalItem: import("styled-components").StyledComponent<({ color, variant, name, size, isMargin, className, }: import("../JRCIcon/JRCIcon").JRCIconProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
11
11
  /**
12
12
  * Interface of a single Menu Item props
13
13
  * @member label label of the tag
@@ -23,7 +23,7 @@ export interface ItemEntriesProps {
23
23
  * @member direction direction of tab to horizontal or vertical
24
24
  * @member callback tab selection handler
25
25
  */
26
- export declare type JRCTabsProps = DataCy & {
26
+ export type JRCTabsProps = DataCy & {
27
27
  entries?: ItemEntriesProps[];
28
28
  activeItem?: string;
29
29
  direction: 'horizontal' | 'vertical';
@@ -44,4 +44,4 @@ export interface JRCTabPanelProps {
44
44
  active: boolean;
45
45
  children: React.ReactNode;
46
46
  }
47
- export declare const JRCTabPanel: ({ children, active }: JRCTabPanelProps) => JSX.Element;
47
+ export declare const JRCTabPanel: ({ children, active }: JRCTabPanelProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { JRCTabsProps } from './JRCTabs';
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<JRCTabsProps>;
7
- export declare const EmbeddedTab: () => JSX.Element;
7
+ export declare const EmbeddedTab: () => React.JSX.Element;
@@ -17,7 +17,7 @@ import { UriOrTypeId } from 'components/Form/Common/types';
17
17
  * @member fallbackUrl - url loaded if the uri leads to an undefined image
18
18
  * @member clickVariant - whether the hover/focus style is a selectable item or a deletable item
19
19
  */
20
- export declare type JRCTagProps<T> = UriOrTypeId & {
20
+ export type JRCTagProps<T> = UriOrTypeId & {
21
21
  collapsed?: boolean;
22
22
  label?: string;
23
23
  value?: T;
@@ -37,4 +37,4 @@ export declare type JRCTagProps<T> = UriOrTypeId & {
37
37
  };
38
38
  onLoad?: () => void;
39
39
  };
40
- export declare function JRCTag<T>(props: JRCTagProps<T>): JSX.Element;
40
+ export declare function JRCTag<T>(props: JRCTagProps<T>): React.JSX.Element;
@@ -14,4 +14,4 @@ export interface JRCThemeProviderProps {
14
14
  layout?: boolean;
15
15
  children: React.ReactNode;
16
16
  }
17
- export declare const JRCThemeProvider: ({ layout, children }: JRCThemeProviderProps) => JSX.Element;
17
+ export declare const JRCThemeProvider: ({ layout, children }: JRCThemeProviderProps) => React.JSX.Element;
@@ -1,8 +1,9 @@
1
+ import * as React from 'react';
1
2
  export declare const tooltipSizes: {
2
3
  padding: Record<string, string>;
3
4
  };
4
- export declare type TooltipSizes = keyof typeof tooltipSizes.padding;
5
- export declare type JRCBaseTooltipProps = {
5
+ export type TooltipSizes = keyof typeof tooltipSizes.padding;
6
+ export type JRCBaseTooltipProps = {
6
7
  tooltip: any;
7
8
  children: any;
8
9
  dataEventOff: 'click' | 'mouseleave';
@@ -18,4 +19,4 @@ export declare type JRCBaseTooltipProps = {
18
19
  delayShow?: number;
19
20
  events?: any;
20
21
  };
21
- export declare const JRCBaseTooltip: (props: JRCBaseTooltipProps) => JSX.Element;
22
+ export declare const JRCBaseTooltip: (props: JRCBaseTooltipProps) => React.JSX.Element;
@@ -25,4 +25,4 @@ export interface JRCTooltipProps {
25
25
  /** overwrite span wrapper style */
26
26
  className?: string;
27
27
  }
28
- export declare const JRCTooltip: (props: JRCTooltipProps) => JSX.Element;
28
+ export declare const JRCTooltip: (props: JRCTooltipProps) => React.JSX.Element;
@@ -4,36 +4,36 @@ import * as React from 'react';
4
4
  * Props Type for JRCH1
5
5
  * @see HTML.H1 props
6
6
  */
7
- export declare type JRCH1Props = React.ComponentPropsWithoutRef<'h1'>;
8
- declare const JRCH1: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "key" | keyof React.HTMLAttributes<HTMLHeadingElement>>, never>;
7
+ export type JRCH1Props = React.ComponentPropsWithoutRef<'h1'>;
8
+ declare const JRCH1: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
9
9
  /**
10
10
  * @deprecated use JRCTypography instead
11
11
  * Props Type for JRCH2
12
12
  * @see HTML.H2 props
13
13
  */
14
- export declare type JRCH2Props = React.ComponentPropsWithoutRef<'h2'>;
15
- declare const JRCH2: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "key" | keyof React.HTMLAttributes<HTMLHeadingElement>>, never>;
14
+ export type JRCH2Props = React.ComponentPropsWithoutRef<'h2'>;
15
+ declare const JRCH2: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
16
16
  /**
17
17
  * @deprecated use JRCTypography instead
18
18
  * Props Type for JRCH3
19
19
  * @see HTML.H3 props
20
20
  */
21
- export declare type JRCH3Props = React.ComponentPropsWithoutRef<'h3'>;
22
- declare const JRCH3: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "key" | keyof React.HTMLAttributes<HTMLHeadingElement>>, never>;
21
+ export type JRCH3Props = React.ComponentPropsWithoutRef<'h3'>;
22
+ declare const JRCH3: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
23
23
  /**
24
24
  * @deprecated use JRCTypography instead
25
25
  * Props Type for JRCH4
26
26
  * @see HTML.H4 props
27
27
  */
28
- export declare type JRCH4Props = React.ComponentPropsWithoutRef<'h3'>;
29
- declare const JRCH4: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "key" | keyof React.HTMLAttributes<HTMLHeadingElement>>, never>;
28
+ export type JRCH4Props = React.ComponentPropsWithoutRef<'h3'>;
29
+ declare const JRCH4: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
30
30
  /**
31
31
  * @deprecated use JRCTypography instead
32
32
  * Props Type for JRCH5
33
33
  * @see HTML.H5 props
34
34
  */
35
- export declare type JRCH5Props = React.ComponentPropsWithoutRef<'h5'>;
36
- declare const JRCH5: import("styled-components").StyledComponent<"h5", import("styled-components").DefaultTheme, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "key" | keyof React.HTMLAttributes<HTMLHeadingElement>>, never>;
35
+ export type JRCH5Props = React.ComponentPropsWithoutRef<'h5'>;
36
+ declare const JRCH5: import("styled-components").StyledComponent<"h5", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>;
37
37
  /**
38
38
  * @deprecated use JRCTypography instead
39
39
  * Props Type for JRCText
@@ -1,12 +1,12 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { JRCH1Props, JRCH2Props, JRCH3Props, JRCH4Props, JRCH5Props, JRCTextProps } from './JRCTypo';
3
3
  declare const _default: {
4
4
  title: string;
5
5
  };
6
6
  export default _default;
7
- export declare const H1: (args: JRCH1Props) => JSX.Element;
8
- export declare const H2: (args: JRCH2Props) => JSX.Element;
9
- export declare const H3: (args: JRCH3Props) => JSX.Element;
10
- export declare const H4: (args: JRCH4Props) => JSX.Element;
11
- export declare const H5: (args: JRCH5Props) => JSX.Element;
12
- export declare const P: (args: JRCTextProps) => JSX.Element;
7
+ export declare const H1: (args: JRCH1Props) => React.JSX.Element;
8
+ export declare const H2: (args: JRCH2Props) => React.JSX.Element;
9
+ export declare const H3: (args: JRCH3Props) => React.JSX.Element;
10
+ export declare const H4: (args: JRCH4Props) => React.JSX.Element;
11
+ export declare const H5: (args: JRCH5Props) => React.JSX.Element;
12
+ export declare const P: (args: JRCTextProps) => React.JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { FastCssProps } from 'components/Common/FastCss';
2
2
  import React from 'react';
3
3
  import { Colors, FontWeight } from '../../styles/theme';
4
- export declare type TSizes = 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';
5
- export declare type TVariants = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span';
6
- export declare type TWeight = keyof FontWeight;
4
+ export type TSizes = 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';
5
+ export type TVariants = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span';
6
+ export type TWeight = keyof FontWeight;
7
7
  /**
8
8
  * Props type for JRCTypography
9
9
  * @member children ReactNode content of the button
@@ -12,7 +12,7 @@ export declare type TWeight = keyof FontWeight;
12
12
  * @member size You can change the font-size with the size property
13
13
  * @member variant You can change the semantic element with the variant property
14
14
  */
15
- export declare type JRCTypographyProps = FastCssProps & {
15
+ export type JRCTypographyProps = FastCssProps & {
16
16
  /** Additional className for override the component: */
17
17
  className?: string;
18
18
  /** You can custom the font-weight with the weight property */
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import { JRCTypographyProps } from './JRCTypography.d';
2
- export declare const JRCTypography: ({ variant, ...props }: JRCTypographyProps) => JSX.Element;
3
+ export declare const JRCTypography: ({ variant, ...props }: JRCTypographyProps) => React.JSX.Element;
@@ -2,11 +2,11 @@ import { FastCssProps } from 'components/Common/FastCss';
2
2
  import { JRCTypographyProps } from './JRCTypography.d';
3
3
  export declare const lineHeightRatio = 1.5;
4
4
  export declare const SIZES: Readonly<{
5
- s: number;
6
- m: number;
7
- l: number;
8
- xl: number;
9
- xxl: number;
10
- xxxl: number;
5
+ s: 12;
6
+ m: 14;
7
+ l: 16;
8
+ xl: 18;
9
+ xxl: 24;
10
+ xxxl: 32;
11
11
  }>;
12
12
  export declare const Typography: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, Pick<JRCTypographyProps, "color" | "size" | "weight"> & FastCssProps, never>;
@@ -3,8 +3,8 @@ import * as React from 'react';
3
3
  * @member activeStep active step of the stepper. Starts at 0.
4
4
  * @member children iterable of the steps (!!)
5
5
  */
6
- export declare type JRCFadeStepperProps = {
6
+ export type JRCFadeStepperProps = {
7
7
  activeStep: number;
8
8
  children: React.ReactNode | Iterable<React.ReactNode>;
9
9
  };
10
- export declare function JRCFadeStepper(props: JRCFadeStepperProps): JSX.Element | null;
10
+ export declare function JRCFadeStepper(props: JRCFadeStepperProps): React.JSX.Element | null;
@@ -1,14 +1,14 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  /**
3
3
  * @member stepNumber step number. Like an array, if there are two items, the stepNumber should be initialized to 2
4
4
  * @member activeStep active step of the stepper. Starts at 0.
5
5
  * @member src image source
6
6
  * @member alt image alternative text
7
7
  */
8
- export declare type JRCImageStepperProps = {
8
+ export type JRCImageStepperProps = {
9
9
  stepNumber: number;
10
10
  activeStep: number;
11
11
  src: string;
12
12
  alt: string;
13
13
  };
14
- export declare function JRCImageStepper(props: JRCImageStepperProps): JSX.Element;
14
+ export declare function JRCImageStepper(props: JRCImageStepperProps): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type Step = {
2
+ export type Step = {
3
3
  label: string | React.ReactNode;
4
4
  onClick?: (step: number) => void;
5
5
  };
@@ -7,8 +7,8 @@ export declare type Step = {
7
7
  * @member steps array of steps
8
8
  * @member activeStep active step of the stepper. Starts at 0.
9
9
  */
10
- export declare type JRCStepperProps = {
10
+ export type JRCStepperProps = {
11
11
  steps?: Array<Step>;
12
12
  activeStep: number;
13
13
  };
14
- export declare function JRCStepper(props: JRCStepperProps): JSX.Element;
14
+ export declare function JRCStepper(props: JRCStepperProps): React.JSX.Element;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { Meta } from '@storybook/react';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const FadeStepper: () => JSX.Element;
5
+ export declare const FadeStepper: () => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { JRCAppColumnProps } from './template.type';
3
- export declare function JRCAppColumn({ description, activeTab, tabs, mode, ...props }: JRCAppColumnProps): JSX.Element;
3
+ export declare function JRCAppColumn({ description, activeTab, tabs, mode, ...props }: JRCAppColumnProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { Closing, JRCAppTabProps, JRCAppTabsProps, Open } from './template.type';
3
- export declare function JRCAppTab({ label, active, icon, onClick, href, target, open, closing, count }: JRCAppTabProps): JSX.Element;
4
- export declare function JRCAppTabs({ tabs, activeTab, ...props }: JRCAppTabsProps & Open & Closing): JSX.Element;
3
+ export declare function JRCAppTab({ label, active, icon, onClick, href, target, open, closing, count }: JRCAppTabProps): React.JSX.Element;
4
+ export declare function JRCAppTabs({ tabs, activeTab, ...props }: JRCAppTabsProps & Open & Closing): React.JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- export declare type JRCTemplateBaseProps = {
2
+ export type JRCTemplateBaseProps = {
3
3
  children: React.ReactNode;
4
4
  isLoading: boolean;
5
5
  title?: React.ReactNode;
6
6
  };
7
7
  export declare const ChildrenContainerStyle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
- export declare const ChildrenContainer: (props: JRCTemplateBaseProps) => JSX.Element;
8
+ export declare const ChildrenContainer: (props: JRCTemplateBaseProps) => React.JSX.Element;
9
9
  export declare const JRCTemplateBase: React.FC<any>;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { JRCColumnProps } from './template.type';
3
- export declare function JRCColumn({ children, mode, position, ...props }: JRCColumnProps): JSX.Element;
3
+ export declare function JRCColumn({ children, mode, position, ...props }: JRCColumnProps): React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { JRCMainColumnProps } from './template.type';
3
- export declare function JRCMainColumn({ children, ...props }: JRCMainColumnProps): JSX.Element;
3
+ export declare function JRCMainColumn({ children, ...props }: JRCMainColumnProps): React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { JRCPanelProps } from './template.type';
3
- export declare function JRCPanel({ children, width, open }: JRCPanelProps): JSX.Element;
3
+ export declare function JRCPanel({ children, width, open }: JRCPanelProps): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Step } from 'components/Stepper/JRCStepper';
3
- export declare type JRCStepperPageProps = {
3
+ export type JRCStepperPageProps = {
4
4
  children: React.ReactNode | Iterable<React.ReactNode>;
5
5
  activeStep: number;
6
6
  imgSrc: string;
@@ -9,4 +9,4 @@ export declare type JRCStepperPageProps = {
9
9
  loadingContent?: React.ReactNode | string;
10
10
  isLoading?: boolean;
11
11
  };
12
- export declare const JRCStepperPage: (props: JRCStepperPageProps) => JSX.Element;
12
+ export declare const JRCStepperPage: (props: JRCStepperPageProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { JRCAppLeftColumnProps, SectionEntry } from 'types';
3
3
  import { JRCTemplateBaseProps } from './JRCBase.template';
4
- export declare type JRCTemplateTwoColumnsProps<T extends SectionEntry> = {
4
+ export type JRCTemplateTwoColumnsProps<T extends SectionEntry> = {
5
5
  leftColumn: JRCAppLeftColumnProps<T>;
6
6
  } & JRCTemplateBaseProps;
7
7
  export declare const JRCTemplateTwoColumns: React.FC<any>;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
- export declare type LayoutMode = 'fluid' | 'center';
3
- export declare type ColumnPosition = 'left' | 'right';
4
- export declare type JRCContainerProps = {
2
+ export type LayoutMode = 'fluid' | 'center';
3
+ export type ColumnPosition = 'left' | 'right';
4
+ export type JRCContainerProps = {
5
5
  children: React.ReactNode;
6
6
  className?: string;
7
7
  mode?: LayoutMode;
8
8
  };
9
- export declare type JRCColumnProps = {
9
+ export type JRCColumnProps = {
10
10
  children: React.ReactNode;
11
11
  className?: string;
12
12
  width?: number;
@@ -14,29 +14,29 @@ export declare type JRCColumnProps = {
14
14
  mode?: LayoutMode;
15
15
  position?: ColumnPosition;
16
16
  };
17
- export declare type JRCMainColumnProps = {
17
+ export type JRCMainColumnProps = {
18
18
  children: React.ReactNode;
19
19
  className?: string;
20
20
  mode?: LayoutMode;
21
21
  padding?: string;
22
22
  };
23
- export declare type JRCTabEntry = {
23
+ export type JRCTabEntry = {
24
24
  key: string;
25
25
  label: string;
26
26
  icon: string;
27
27
  group?: string | undefined;
28
28
  count?: number;
29
29
  };
30
- export declare type TabEventProps = {
30
+ export type TabEventProps = {
31
31
  onClick?: (key: string) => void;
32
32
  href?: string;
33
33
  target?: '_blank';
34
34
  };
35
- export declare type JRCAppTabsProps = {
35
+ export type JRCAppTabsProps = {
36
36
  tabs: Array<JRCTabEntry & TabEventProps>;
37
37
  activeTab?: string;
38
38
  };
39
- export declare type JRCAppColumnProps = Partial<JRCAppTabsProps> & {
39
+ export type JRCAppColumnProps = Partial<JRCAppTabsProps> & {
40
40
  className?: string;
41
41
  mode?: LayoutMode;
42
42
  description: {
@@ -46,18 +46,18 @@ export declare type JRCAppColumnProps = Partial<JRCAppTabsProps> & {
46
46
  description: string;
47
47
  };
48
48
  };
49
- export declare type JRCPanelProps = {
49
+ export type JRCPanelProps = {
50
50
  children: React.ReactNode;
51
51
  width: number;
52
52
  open: boolean;
53
53
  };
54
- export declare type Open = {
54
+ export type Open = {
55
55
  open: boolean;
56
56
  };
57
- export declare type Closing = {
57
+ export type Closing = {
58
58
  closing: boolean;
59
59
  };
60
- export declare type JRCAppTabProps = Open & Closing & {
60
+ export type JRCAppTabProps = Open & Closing & {
61
61
  label: string;
62
62
  icon: string;
63
63
  onClick?: () => void;
@@ -1,5 +1,6 @@
1
- import { WidgetArticleAttachmentContent, WidgetDefaultProps } from 'jamespot-user-api';
2
- export declare const JRCWidgetArticleAttachment: ({ content, mode, onStateChange, }: WidgetDefaultProps & {
3
- content: WidgetArticleAttachmentContent;
4
- token: string | undefined;
5
- }) => JSX.Element;
1
+ import React from 'react';
2
+ import { WidgetArticleAttachmentContent } from 'jamespot-user-api';
3
+ export declare const CSSWidgetAttachment: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const JRCWidgetArticleAttachment: ({ files, onClick, }: WidgetArticleAttachmentContent & {
5
+ onClick: (idFile: number) => void;
6
+ }) => React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { WidgetArticleAttachmentContent } from 'jamespot-user-api';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Primary: Story<WidgetArticleAttachmentContent & {
6
+ onClick: (idFile: number) => void;
7
+ }>;
@@ -1,6 +1,6 @@
1
1
  import { CombinedWidgetContent, WidgetArticleAttachmentContent, WidgetStateProps } from 'jamespot-user-api';
2
2
  import React from 'react';
3
- declare type JRCWidgetArticleAttachmentEditorProps = {
3
+ type JRCWidgetArticleAttachmentEditorProps = {
4
4
  token: string | undefined;
5
5
  content: WidgetArticleAttachmentContent;
6
6
  onChange: (content: CombinedWidgetContent, override?: boolean) => void;
@@ -8,5 +8,5 @@ declare type JRCWidgetArticleAttachmentEditorProps = {
8
8
  onStateChange?: (state: WidgetStateProps) => void;
9
9
  onOpen?: (view: React.ReactElement) => void;
10
10
  };
11
- export declare const JRCWidgetArticleAttachmentEditor: ({ token, content, onChange, onSave, }: JRCWidgetArticleAttachmentEditorProps) => JSX.Element;
11
+ export declare const JRCWidgetArticleAttachmentEditor: ({ token, content, onChange, onSave, }: JRCWidgetArticleAttachmentEditorProps) => React.JSX.Element;
12
12
  export {};
@@ -1,4 +1,5 @@
1
1
  import { WidgetArticleButtonContent, WidgetDefaultProps } from 'jamespot-user-api';
2
+ import React from 'react';
2
3
  export declare const JRCWidgetArticleButton: ({ content, onClick, onStateChange, }: WidgetDefaultProps & {
3
4
  content: WidgetArticleButtonContent;
4
- }) => JSX.Element;
5
+ }) => React.JSX.Element;