jamespot-react-components 1.0.145 → 1.0.146

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 (219) hide show
  1. package/build/jamespot-react-components.js +499 -496
  2. package/build/jamespot-react-components.js.LICENSE.txt +26 -5
  3. package/build/jamespot-react-components.js.map +1 -1
  4. package/build/src/components/404/index.d.ts +2 -1
  5. package/build/src/components/Beta/BETA_JRCColorPicker/BETA_JRCColorPicker.d.ts +2 -1
  6. package/build/src/components/Beta/BETA_JRCColorPicker/ColorInput.d.ts +2 -1
  7. package/build/src/components/Beta/BETA_JRCColorPicker/ColorPalette.d.ts +3 -2
  8. package/build/src/components/Beta/BETA_JRCColorPicker/ColorPicker.d.ts +4 -3
  9. package/build/src/components/Beta/BETA_JRCColorPicker/ColorRange.d.ts +2 -1
  10. package/build/src/components/Beta/BETA_JRCColorPicker/DragArea.d.ts +2 -2
  11. package/build/src/components/Beta/BETA_JRCColorPicker/JRCColorPicker.types.d.ts +4 -4
  12. package/build/src/components/Beta/BETA_JRCDoubleClick/BETA_JRCDoubleClick.d.ts +2 -2
  13. package/build/src/components/Beta/BETA_JRCDragAndDrop/BETA_JRCDragAndDrop.d.ts +2 -2
  14. package/build/src/components/Common/DashedFocusBorder.d.ts +1 -1
  15. package/build/src/components/Common/FastCss.d.ts +1 -1
  16. package/build/src/components/Common/JRCConditionalWrapper.d.ts +2 -2
  17. package/build/src/components/Common/LimitLines.d.ts +1 -1
  18. package/build/src/components/Common/util/getColor.util.d.ts +1 -1
  19. package/build/src/components/Editors/components/EditorCheckbox.d.ts +2 -1
  20. package/build/src/components/Editors/components/EditorColorPicker.d.ts +2 -1
  21. package/build/src/components/Editors/components/EditorInput.d.ts +2 -1
  22. package/build/src/components/Editors/components/EditorSelect.d.ts +4 -3
  23. package/build/src/components/Editors/components/EditorUploader.d.ts +3 -2
  24. package/build/src/components/Form/Common/ClickAwayListener.d.ts +4 -4
  25. package/build/src/components/Form/Common/FormDescription.d.ts +2 -2
  26. package/build/src/components/Form/Common/FormHelper.d.ts +3 -2
  27. package/build/src/components/Form/Common/FormLabel.d.ts +1 -1
  28. package/build/src/components/Form/Common/FormMessageFeedback.d.ts +2 -1
  29. package/build/src/components/Form/Common/types.d.ts +1 -1
  30. package/build/src/components/Form/Input/Common/JRCFormErrors.d.ts +2 -1
  31. package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.d.ts +2 -2
  32. package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.types.d.ts +3 -3
  33. package/build/src/components/Form/Input/Common/useFormControls.d.ts +5 -5
  34. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.d.ts +2 -1
  35. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.d.ts +2 -1
  36. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.d.ts +2 -1
  37. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.d.ts +2 -1
  38. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +2 -2
  39. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.d.ts +2 -2
  40. package/build/src/components/Form/Input/JRCFormColor/JRCFormColor.d.ts +2 -1
  41. package/build/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.d.ts +5 -5
  42. package/build/src/components/Form/Input/JRCFormEmail/JRCFormEmail.d.ts +2 -1
  43. package/build/src/components/Form/Input/JRCFormEmail/JRCInputEmail.d.ts +2 -2
  44. package/build/src/components/Form/Input/JRCFormFieldRender.d.ts +2 -2
  45. package/build/src/components/Form/Input/JRCFormFile/File.d.ts +2 -1
  46. package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.d.ts +2 -2
  47. package/build/src/components/Form/Input/JRCFormImage/JRCFormImage.d.ts +3 -3
  48. package/build/src/components/Form/Input/JRCFormNumber/JRCFormNumber.d.ts +2 -1
  49. package/build/src/components/Form/Input/JRCFormRange/JRCFormRange.d.ts +2 -1
  50. package/build/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.d.ts +2 -2
  51. package/build/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.d.ts +1 -1
  52. package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +3 -3
  53. package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.d.ts +4 -4
  54. package/build/src/components/Form/Input/JRCFormRichText/extensions/mentions/MentionList.d.ts +2 -2
  55. package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelect.d.ts +4 -4
  56. package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.d.ts +2 -1
  57. package/build/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.d.ts +2 -2
  58. package/build/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.d.ts +1 -1
  59. package/build/src/components/Form/Input/JRCFormText/JRCFormText.d.ts +2 -1
  60. package/build/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.d.ts +1 -1
  61. package/build/src/components/Form/Input/JRCFormURL/JRCFormUrl.d.ts +2 -1
  62. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.d.ts +5 -5
  63. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.d.ts +5 -5
  64. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.d.ts +5 -5
  65. package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.d.ts +3 -3
  66. package/build/src/components/Form/Input/JRCInputFile/JRCInputFile.d.ts +4 -4
  67. package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.d.ts +3 -3
  68. package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.d.ts +3 -3
  69. package/build/src/components/Form/Input/JRCInputRichText/JRCInputRichText.d.ts +4 -4
  70. package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +3 -3
  71. package/build/src/components/Form/Input/JRCInputText/JRCInputText.stories.d.ts +2 -2
  72. package/build/src/components/Form/Input/JRCInputText/JRCInputText.style.d.ts +4 -4
  73. package/build/src/components/Form/Input/JRCInputText/JRCInputTextIconButton.d.ts +3 -3
  74. package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.d.ts +2 -2
  75. package/build/src/components/Form/Input/JRCInputTime/JRCInputTime.d.ts +2 -2
  76. package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.d.ts +3 -3
  77. package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.d.ts +2 -2
  78. package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.d.ts +2 -2
  79. package/build/src/components/Form/Input/JRCSelect/JRCInputAudience.d.ts +3 -3
  80. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.d.ts +4 -4
  81. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +3 -2
  82. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.d.ts +2 -2
  83. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.defaults.d.ts +2 -1
  84. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +1 -1
  85. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +9 -9
  86. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +1 -1
  87. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.d.ts +2 -2
  88. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectList.d.ts +3 -2
  89. package/build/src/components/Form/Input/JRCSelect/JRCInputTaxonomy.d.ts +3 -3
  90. package/build/src/components/Form/Input/JRCSelect/SelectHierarchicalTreeModal.d.ts +2 -2
  91. package/build/src/components/Form/Input/JRCStyledInput.d.ts +4 -3
  92. package/build/src/components/Form/Input/ReduxFormControls.d.ts +1 -1
  93. package/build/src/components/JRCAlert/JRCAlert.d.ts +1 -1
  94. package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +1 -1
  95. package/build/src/components/JRCAppHeader/JRCAppHeader.d.ts +2 -1
  96. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +2 -1
  97. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +3 -3
  98. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +4 -4
  99. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +1 -1
  100. package/build/src/components/JRCAppLeftColumn/JRCDefaultMenu.d.ts +2 -1
  101. package/build/src/components/JRCAvatar/JRCAvatar.d.ts +3 -2
  102. package/build/src/components/JRCButton/JRCButton.d.ts +7 -7
  103. package/build/src/components/JRCButton/JRCButton.stories.d.ts +2 -2
  104. package/build/src/components/JRCButton/JRCButtonConfig.d.ts +1 -1
  105. package/build/src/components/JRCButton/JRCValidationButton.d.ts +2 -2
  106. package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +2 -1
  107. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +2 -1
  108. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.styles.d.ts +3 -3
  109. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +6 -6
  110. package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +2 -1
  111. package/build/src/components/JRCCard/JRCCard.d.ts +5 -5
  112. package/build/src/components/JRCCard/JRCCardImg.d.ts +3 -3
  113. package/build/src/components/JRCColumnCenter/JRCColumnCenter.d.ts +1 -1
  114. package/build/src/components/JRCColumnLeft/JRCColumnLeft.d.ts +1 -1
  115. package/build/src/components/JRCColumnRight/JRCColumnRight.d.ts +1 -1
  116. package/build/src/components/JRCCropImage/JRCCropImage.d.ts +6 -6
  117. package/build/src/components/JRCDate/JRCDate.d.ts +2 -1
  118. package/build/src/components/JRCDate/JRCDate.stories.d.ts +2 -2
  119. package/build/src/components/JRCDropDown/JRCDropDown.d.ts +1 -1
  120. package/build/src/components/JRCEllipsis/JRCEllipsis.d.ts +3 -2
  121. package/build/src/components/JRCFile/JRCFile.d.ts +2 -1
  122. package/build/src/components/JRCFile/JRCFileApplication.d.ts +2 -1
  123. package/build/src/components/JRCFile/JRCFileAudio.d.ts +2 -1
  124. package/build/src/components/JRCFile/JRCFileAvatar.d.ts +2 -1
  125. package/build/src/components/JRCFile/JRCFileImage.d.ts +3 -2
  126. package/build/src/components/JRCFile/JRCFileVideo.d.ts +2 -1
  127. package/build/src/components/JRCFile/types.d.ts +1 -1
  128. package/build/src/components/JRCFileOpen/JRCFileOpen.d.ts +1 -1
  129. package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +2 -1
  130. package/build/src/components/JRCFileViewer/JRCFileViewerArrows.d.ts +2 -1
  131. package/build/src/components/JRCFileViewer/JRCFileViewerContent.d.ts +3 -2
  132. package/build/src/components/JRCFileViewer/JRCFileViewerContentApplication.d.ts +2 -2
  133. package/build/src/components/JRCFileViewer/JRCFileViewerContentAudio.d.ts +1 -1
  134. package/build/src/components/JRCFileViewer/JRCFileViewerContentImage.d.ts +1 -1
  135. package/build/src/components/JRCFileViewer/JRCFileViewerContentVideo.d.ts +1 -1
  136. package/build/src/components/JRCFileViewer/JRCFileViewerOpenWithOptions.d.ts +3 -2
  137. package/build/src/components/JRCFileViewer/types.d.ts +4 -4
  138. package/build/src/components/JRCFlex/JRCFlexBox.d.ts +5 -5
  139. package/build/src/components/JRCFolders/JRCFolder.d.ts +2 -1
  140. package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +2 -1
  141. package/build/src/components/JRCFolders/JRCFolders.d.ts +2 -1
  142. package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +2 -2
  143. package/build/src/components/JRCFolders/types.d.ts +2 -2
  144. package/build/src/components/JRCGrid/JRCGrid.d.ts +1 -1
  145. package/build/src/components/JRCGrid/JRCGrid.stories.d.ts +5 -5
  146. package/build/src/components/JRCHref/JRCHref.d.ts +6 -6
  147. package/build/src/components/JRCHtml/JRCHtml.d.ts +2 -2
  148. package/build/src/components/JRCIcon/JRCIcon.d.ts +2 -1
  149. package/build/src/components/JRCIcon/JRCIcon.stories.d.ts +2 -2
  150. package/build/src/components/JRCIconButton/JRCIconButton.d.ts +2 -2
  151. package/build/src/components/JRCImg/JRCImg.d.ts +3 -2
  152. package/build/src/components/JRCList/JRCList.d.ts +5 -4
  153. package/build/src/components/JRCList/JRCList.stories.d.ts +1 -1
  154. package/build/src/components/JRCList/JRCList.styles.d.ts +5 -5
  155. package/build/src/components/JRCLoader/JRCLoader.d.ts +3 -2
  156. package/build/src/components/JRCLoader/JRCSkeleton.d.ts +2 -1
  157. package/build/src/components/JRCMenu/JRCMenu.stories.d.ts +2 -2
  158. package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +1 -1
  159. package/build/src/components/JRCModal/JRCModal.styles.d.ts +1 -1
  160. package/build/src/components/JRCModalImg/JRCModalImg.d.ts +2 -2
  161. package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +2 -2
  162. package/build/src/components/JRCPagination/JRCPagination.d.ts +5 -4
  163. package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.d.ts +1 -1
  164. package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.styles.d.ts +2 -2
  165. package/build/src/components/JRCSkeleton/JRCSkeletonLine.d.ts +3 -2
  166. package/build/src/components/JRCSkeleton/JRCSkeletonList.d.ts +1 -1
  167. package/build/src/components/JRCSkeleton/JRCSkeletonSquare.d.ts +1 -1
  168. package/build/src/components/JRCTabs/JRCTabs.d.ts +3 -3
  169. package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +2 -2
  170. package/build/src/components/JRCTag/JRCTag.d.ts +2 -2
  171. package/build/src/components/JRCThemeProvider/JRCThemeProvider.d.ts +1 -1
  172. package/build/src/components/JRCTooltip/JRCBaseTooltip.d.ts +4 -3
  173. package/build/src/components/JRCTooltip/JRCTooltip.d.ts +1 -1
  174. package/build/src/components/JRCTypo/JRCTypo.d.ts +10 -10
  175. package/build/src/components/JRCTypo/JRCTypo.stories.d.ts +7 -7
  176. package/build/src/components/JRCTypography/JRCTypography.d.d.ts +4 -4
  177. package/build/src/components/JRCTypography/JRCTypography.d.ts +2 -1
  178. package/build/src/components/JRCTypography/JRCTypography.styles.d.ts +6 -6
  179. package/build/src/components/Stepper/JRCFadeStepper.d.ts +2 -2
  180. package/build/src/components/Stepper/JRCImageStepper.d.ts +3 -3
  181. package/build/src/components/Stepper/JRCStepper.d.ts +3 -3
  182. package/build/src/components/Stepper/JRCStepper.stories.d.ts +2 -2
  183. package/build/src/components/Templates/JRCAppColumn.d.ts +2 -2
  184. package/build/src/components/Templates/JRCAppTab.d.ts +3 -3
  185. package/build/src/components/Templates/JRCBase.template.d.ts +2 -2
  186. package/build/src/components/Templates/JRCColumn.d.ts +2 -2
  187. package/build/src/components/Templates/JRCMainColumn.d.ts +2 -2
  188. package/build/src/components/Templates/JRCPanel.d.ts +2 -2
  189. package/build/src/components/Templates/JRCStepperPage.d.ts +2 -2
  190. package/build/src/components/Templates/JRCTwoColumns.template.d.ts +1 -1
  191. package/build/src/components/Templates/template.type.d.ts +13 -13
  192. package/build/src/components/Widgets/JRCWidgetArticleAttachment/JRCWidgetArticleAttachment.d.ts +2 -1
  193. package/build/src/components/Widgets/JRCWidgetArticleAttachment/JRCWidgetArticleAttachmentEditor.d.ts +2 -2
  194. package/build/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButton.d.ts +2 -1
  195. package/build/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButtonEditor.d.ts +3 -2
  196. package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.d.ts +2 -2
  197. package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGalleryEditor.d.ts +3 -2
  198. package/build/src/components/Widgets/JRCWidgetArticleImage/JRCWidgetArticleImage.d.ts +2 -1
  199. package/build/src/components/Widgets/JRCWidgetArticleImage/JRCWidgetArticleImageEditor.d.ts +3 -2
  200. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.d.ts +2 -1
  201. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleTextEditor.d.ts +3 -2
  202. package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitle.d.ts +2 -1
  203. package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitleEditor.d.ts +2 -2
  204. package/build/src/components/Widgets/JRCWidgetEmptyInplace.d.ts +3 -2
  205. package/build/src/components/Widgets/components/Attachment.d.ts +5 -4
  206. package/build/src/components/Widgets/components/Image.d.ts +3 -2
  207. package/build/src/components/Widgets/components/WidgetMissingToken.d.ts +2 -1
  208. package/build/src/hooks/UseImageLoader.d.ts +1 -1
  209. package/build/src/storybook/decorators.d.ts +2 -2
  210. package/build/src/styles/Theme.stories.d.ts +2 -2
  211. package/build/src/styles/theme.d.ts +9 -9
  212. package/build/src/utils/test-utils.d.ts +1 -1
  213. package/build/src/utils/utils.array.d.ts +1 -1
  214. package/build/src/utils/utils.color.d.ts +1 -1
  215. package/build/src/utils/utils.date.d.ts +1 -1
  216. package/package.json +145 -146
  217. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +0 -320
  218. package/build/src/components/Templates/template.styles.d.ts +0 -323
  219. package/pnpm-lock.yaml +0 -20909
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
2
3
  /**
3
4
  * Component used as a <input type="text"/>
@@ -6,4 +7,4 @@ import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
6
7
  * @returns JSX.Element
7
8
  * @deprecated Create a JRCInput alternative compatible with react-hook-form
8
9
  */
9
- export declare const JRCFormNumberField: (props: JRCWritableFormInputProps) => JSX.Element;
10
+ export declare const JRCFormNumberField: (props: JRCWritableFormInputProps) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
2
3
  export interface JRCFormRangeProps extends JRCWritableFormInputProps {
3
4
  min: number;
@@ -12,4 +13,4 @@ export interface JRCFormRangeProps extends JRCWritableFormInputProps {
12
13
  * @returns JSX.Element
13
14
  * @deprecated use JRCInputRange instead
14
15
  */
15
- export declare const JRCFormRangeField: (props: JRCFormRangeProps) => JSX.Element;
16
+ export declare const JRCFormRangeField: (props: JRCFormRangeProps) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- export declare type JRCFormReceiveACopyInputProps = React.ComponentPropsWithoutRef<'input'>;
2
+ export type JRCFormReceiveACopyInputProps = React.ComponentPropsWithoutRef<'input'>;
3
3
  /**
4
4
  * @deprecated Create a JRCInput alternative compatible with react-hook-form
5
5
  */
6
6
  export declare const JRCFormReceiveACopyField: (props: {
7
7
  name: string;
8
- }) => JSX.Element;
8
+ }) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
- decorators: ((storyFunc: any) => JSX.Element)[];
4
+ decorators: ((storyFunc: any) => React.JSX.Element)[];
5
5
  };
6
6
  export default _default;
7
7
  export declare const FormReceiveACopy: React.VFC<{}>;
@@ -5,12 +5,12 @@ export declare const EditorInplace: import("styled-components").StyledComponent<
5
5
  fontSize?: string | undefined;
6
6
  }, never>;
7
7
  export declare const Editor: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
- export declare const CharactersCount: import("styled-components").StyledComponent<({ variant, ...props }: import("../../../..").JRCTypographyProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const CharactersCount: import("styled-components").StyledComponent<({ variant, ...props }: import("../../../..").JRCTypographyProps) => React.JSX.Element, import("styled-components").DefaultTheme, {}, never>;
9
9
  export declare function FontSizeSelect(props: {
10
10
  onChange: (size: number) => void;
11
- }): JSX.Element;
11
+ }): React.JSX.Element;
12
12
  export declare const FixedMenuWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
13
13
  export declare const MenuWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
14
14
  export declare const Spacer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
15
15
  export declare const ReadOnlyBorder: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
- export declare function SimpleInputColor(props: React.ComponentPropsWithoutRef<'input'>): JSX.Element;
16
+ export declare function SimpleInputColor(props: React.ComponentPropsWithoutRef<'input'>): React.JSX.Element;
@@ -12,12 +12,12 @@ export declare const MenuBar: ({ editor, toolbarOptions, isFixed, }: {
12
12
  editor: Editor | null;
13
13
  toolbarOptions: FormRichTextFieldToolbarProps[] | '*';
14
14
  isFixed: boolean;
15
- }) => JSX.Element | null;
16
- export declare type RichTextValue = {
15
+ }) => React.JSX.Element | null;
16
+ export type RichTextValue = {
17
17
  html: string;
18
18
  text: string;
19
19
  };
20
- export declare type FormRichTextFieldProps = {
20
+ export type FormRichTextFieldProps = {
21
21
  name: string;
22
22
  placeholder?: string;
23
23
  value: Partial<RichTextValue> | undefined;
@@ -49,4 +49,4 @@ export declare const FormRichTextField: React.ForwardRefExoticComponent<{
49
49
  * validation props: required
50
50
  * @returns JSX.Element
51
51
  */
52
- export declare const JRCFormRichTextField: (props: JRCWritableFormInputProps) => JSX.Element;
52
+ export declare const JRCFormRichTextField: (props: JRCWritableFormInputProps) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { SuggestionProps } from '@tiptap/suggestion';
3
3
  import { AudienceAutocomplete } from 'jamespot-user-api';
4
- declare type Props = Pick<SuggestionProps<AudienceAutocomplete>, 'items' | 'command'>;
5
- export declare type MentionListRef = {
4
+ type Props = Pick<SuggestionProps<AudienceAutocomplete>, 'items' | 'command'>;
5
+ export type MentionListRef = {
6
6
  onKeyDown: (props: {
7
7
  event: KeyboardEvent;
8
8
  }) => boolean;
@@ -7,18 +7,18 @@ import { FieldValues } from 'react-hook-form/dist/types';
7
7
  /**
8
8
  * @deprecated Use JRCInputSelect alternatives instead
9
9
  */
10
- export declare const JRCFormSelectInput: (props: any) => JSX.Element;
10
+ export declare const JRCFormSelectInput: (props: any) => React.JSX.Element;
11
11
  /**
12
12
  * @deprecated Use JRCInputSelect alternatives instead
13
13
  */
14
- export declare const JRCFormSelectAsyncInput: (props: any) => JSX.Element;
14
+ export declare const JRCFormSelectAsyncInput: (props: any) => React.JSX.Element;
15
15
  /**
16
16
  * @deprecated Use JRCInputSelect alternatives instead
17
17
  */
18
18
  export declare const JRCFormSelectFieldRender: <TValue extends FieldValues = FieldValues>(props: JRCFormSelectProps<TValue> & {
19
19
  input: WrappedFieldInputProps;
20
20
  inputState: InputState;
21
- }) => JSX.Element;
21
+ }) => React.JSX.Element;
22
22
  /**
23
23
  * Props of the JRCFormSelectField element
24
24
  *
@@ -77,7 +77,7 @@ export interface JRCFormSelectProps<T extends FieldValues = FieldValues> extends
77
77
  * @returns JSX.Element
78
78
  */
79
79
  declare const JRCFormSelectField: {
80
- <TValue extends FieldValues = FieldValues>(props: JRCFormSelectProps<TValue>): JSX.Element;
80
+ <TValue extends FieldValues = FieldValues>(props: JRCFormSelectProps<TValue>): React.JSX.Element;
81
81
  defaultProps: JRCFormSelectProps<JRCValueLabelProps>;
82
82
  };
83
83
  export { JRCFormSelectField };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { JRCFormSelectProps } from './JRCFormSelect';
2
3
  import { FieldValues } from 'react-hook-form/dist/types';
3
4
  /**
@@ -8,5 +9,5 @@ import { FieldValues } from 'react-hook-form/dist/types';
8
9
  * @returns JSX.Element
9
10
  * @deprecated Use JRCInputSelect alternatives instead
10
11
  */
11
- declare const JRCFormSelectTagField: <TValue extends FieldValues = FieldValues>(props: JRCFormSelectProps<TValue>) => JSX.Element;
12
+ declare const JRCFormSelectTagField: <TValue extends FieldValues = FieldValues>(props: JRCFormSelectProps<TValue>) => React.JSX.Element;
12
13
  export { JRCFormSelectTagField };
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- export declare type JRCFormSendAlertInputProps = React.ComponentPropsWithoutRef<'input'>;
2
+ export type JRCFormSendAlertInputProps = React.ComponentPropsWithoutRef<'input'>;
3
3
  /**
4
4
  * @deprecated Create or use a JRCInput alternative compatible with react-hook-form instead
5
5
  */
6
6
  export declare const JRCFormSendAlertField: (props: {
7
7
  name: string;
8
- }) => JSX.Element;
8
+ }) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
- decorators: ((storyFunc: any) => JSX.Element)[];
4
+ decorators: ((storyFunc: any) => React.JSX.Element)[];
5
5
  };
6
6
  export default _default;
7
7
  export declare const FormSendAlert: React.VFC<{}>;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
2
3
  /**
3
4
  * Component used as a <input type="text"/>
@@ -6,4 +7,4 @@ import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
6
7
  * @returns JSX.Element
7
8
  * @deprecated Use JRCInputText or JRCInputTextArea instead
8
9
  */
9
- export declare const JRCFormTextField: (props: JRCWritableFormInputProps) => JSX.Element;
10
+ export declare const JRCFormTextField: (props: JRCWritableFormInputProps) => React.JSX.Element;
@@ -23,4 +23,4 @@ export declare const JRCFormTextarea: import("styled-components").StyledComponen
23
23
  * @returns JSX.Element
24
24
  * @deprecated Use JRCInputText or JRCInputTextArea instead
25
25
  */
26
- export declare const JRCFormTextareaField: (props: TextareaFormInputProps) => JSX.Element;
26
+ export declare const JRCFormTextareaField: (props: TextareaFormInputProps) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
2
3
  /**
3
4
  * Component used as a <input type="url"/> with a url validation
@@ -6,4 +7,4 @@ import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
6
7
  * @returns JSX.Element
7
8
  * @deprecated Create / use a JRCInputAlternative compatible with react-hook-form instead
8
9
  */
9
- export declare const JRCFormUrlField: (props: JRCWritableFormInputProps) => JSX.Element;
10
+ export declare const JRCFormUrlField: (props: JRCWritableFormInputProps) => React.JSX.Element;
@@ -3,13 +3,13 @@ import { ControllerRenderProps } from 'react-hook-form/dist/types/controller';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
5
5
  import { FieldValues } from 'react-hook-form/dist/types';
6
- declare type CheckboxOption<TFieldValues> = {
6
+ type CheckboxOption<TFieldValues> = {
7
7
  label: string | JSX.Element;
8
8
  value: string | number | TFieldValues;
9
9
  disabled?: boolean;
10
10
  recommended?: boolean;
11
11
  };
12
- export declare type CheckboxProps<TFieldValues> = DataCy & {
12
+ export type CheckboxProps<TFieldValues> = DataCy & {
13
13
  disabled?: boolean;
14
14
  checkboxMode?: 'checkbox' | 'toggle' | 'radio';
15
15
  options: Array<CheckboxOption<TFieldValues>>;
@@ -25,12 +25,12 @@ export declare type CheckboxProps<TFieldValues> = DataCy & {
25
25
  readOnly?: boolean;
26
26
  getReadOnlyLabel?: (value: TFieldValues) => React.ReactNode;
27
27
  };
28
- export declare type JRCInputCheckboxProps<TFieldValues extends FieldValues = FieldValues> = CheckboxProps<TFieldValues> & JRCInputFieldProps<TFieldValues>;
29
- export declare type NativeCheckboxProps<TFieldValues extends FieldValues = FieldValues> = CheckboxProps<TFieldValues> & Omit<ControllerRenderProps<TFieldValues>, 'value'> & {
28
+ export type JRCInputCheckboxProps<TFieldValues extends FieldValues = FieldValues> = CheckboxProps<TFieldValues> & JRCInputFieldProps<TFieldValues>;
29
+ export type NativeCheckboxProps<TFieldValues extends FieldValues = FieldValues> = CheckboxProps<TFieldValues> & Omit<ControllerRenderProps<TFieldValues>, 'value'> & {
30
30
  value: TFieldValues | TFieldValues[];
31
31
  };
32
32
  export declare const ReadOnlyUl: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
33
- export declare function JRCInputCheckbox<TFieldValues extends FieldValues = FieldValues>({ name, control, rules, label, htmlFor, labelIsLegend, description, helper, ...props }: JRCInputCheckboxProps<TFieldValues>): JSX.Element;
33
+ export declare function JRCInputCheckbox<TFieldValues extends FieldValues = FieldValues>({ name, control, rules, label, htmlFor, labelIsLegend, description, helper, ...props }: JRCInputCheckboxProps<TFieldValues>): React.JSX.Element;
34
34
  export declare namespace JRCInputCheckbox {
35
35
  var defaultProps: {
36
36
  direction: string;
@@ -2,13 +2,13 @@
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { ControllerRenderProps } from 'react-hook-form/dist/types/controller';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
- export declare type CheckboxValue<T extends FieldValues = FieldValues> = string | number | T;
6
- export declare type CheckboxOption<TFieldValues extends FieldValues = FieldValues> = {
5
+ export type CheckboxValue<T extends FieldValues = FieldValues> = string | number | T;
6
+ export type CheckboxOption<TFieldValues extends FieldValues = FieldValues> = {
7
7
  label: string | JSX.Element;
8
8
  value: CheckboxValue<TFieldValues>;
9
9
  disabled?: boolean;
10
10
  };
11
- export declare type InnerProps<TFieldValues extends FieldValues = FieldValues> = {
11
+ export type InnerProps<TFieldValues extends FieldValues = FieldValues> = {
12
12
  disabled?: boolean;
13
13
  checkboxMode?: 'checkbox' | 'toggle' | 'radio';
14
14
  options: CheckboxOption<TFieldValues>[];
@@ -20,7 +20,7 @@ export declare type InnerProps<TFieldValues extends FieldValues = FieldValues> =
20
20
  backgroundOnSelect?: boolean;
21
21
  valueTypeIsBoolean?: boolean;
22
22
  };
23
- export declare type JRCInputCheckboxProps<TFieldValues extends FieldValues = FieldValues> = InnerProps<TFieldValues> & JRCInputFieldProps<TFieldValues>;
24
- export declare type InputCheckboxProps<TFieldValues extends FieldValues = FieldValues> = InnerProps<TFieldValues> & Omit<ControllerRenderProps<TFieldValues>, 'value'> & {
23
+ export type JRCInputCheckboxProps<TFieldValues extends FieldValues = FieldValues> = InnerProps<TFieldValues> & JRCInputFieldProps<TFieldValues>;
24
+ export type InputCheckboxProps<TFieldValues extends FieldValues = FieldValues> = InnerProps<TFieldValues> & Omit<ControllerRenderProps<TFieldValues>, 'value'> & {
25
25
  value: TFieldValues | TFieldValues[];
26
26
  };
@@ -3,19 +3,19 @@ import { ControllerRenderProps } from 'react-hook-form/dist/types/controller';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
5
5
  import { FieldValues } from 'react-hook-form/dist/types';
6
- declare type CheckboxOption<TFieldValues> = {
6
+ type CheckboxOption<TFieldValues> = {
7
7
  label: string | JSX.Element;
8
8
  value: string | number | TFieldValues;
9
9
  };
10
- export declare type CheckboxProps<TFieldValues> = DataCy & {
10
+ export type CheckboxProps<TFieldValues> = DataCy & {
11
11
  options: Array<CheckboxOption<TFieldValues>>;
12
12
  readOnly?: boolean;
13
13
  getLabel?: (option: CheckboxOption<TFieldValues>) => React.ReactNode;
14
14
  canReorder?: boolean;
15
15
  };
16
- export declare type JRCInputCheckboxProps<TFieldValues extends FieldValues = FieldValues> = CheckboxProps<TFieldValues> & JRCInputFieldProps<TFieldValues>;
17
- export declare type NativeCheckboxProps<TFieldValues extends FieldValues = FieldValues> = CheckboxProps<TFieldValues> & Omit<ControllerRenderProps<TFieldValues>, 'value'> & {
16
+ export type JRCInputCheckboxProps<TFieldValues extends FieldValues = FieldValues> = CheckboxProps<TFieldValues> & JRCInputFieldProps<TFieldValues>;
17
+ export type NativeCheckboxProps<TFieldValues extends FieldValues = FieldValues> = CheckboxProps<TFieldValues> & Omit<ControllerRenderProps<TFieldValues>, 'value'> & {
18
18
  value: TFieldValues[];
19
19
  };
20
- export declare function JRCInputReorderCheckbox<TFieldValues extends FieldValues = FieldValues>({ name, control, rules, label, htmlFor, labelIsLegend, description, helper, margin, ...props }: JRCInputCheckboxProps<TFieldValues>): JSX.Element;
20
+ export declare function JRCInputReorderCheckbox<TFieldValues extends FieldValues = FieldValues>({ name, control, rules, label, htmlFor, labelIsLegend, description, helper, margin, ...props }: JRCInputCheckboxProps<TFieldValues>): React.JSX.Element;
21
21
  export {};
@@ -2,14 +2,14 @@ import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
- export declare type NativeInputProps = DataCy & React.ComponentPropsWithoutRef<'input'> & {
5
+ export type NativeInputProps = DataCy & React.ComponentPropsWithoutRef<'input'> & {
6
6
  type?: 'date' | 'time' | 'datetime-local';
7
7
  };
8
- export declare type JRCInputDateProps<TFieldValues extends FieldValues = FieldValues> = NativeInputProps & JRCInputFieldProps<TFieldValues>;
8
+ export type JRCInputDateProps<TFieldValues extends FieldValues = FieldValues> = NativeInputProps & JRCInputFieldProps<TFieldValues>;
9
9
  /**
10
10
  * Component used as a <input type="date"/>
11
11
  * @param props JRCInputFieldProps
12
12
  * validation props: required
13
13
  * @returns JSX.Element
14
14
  */
15
- export declare function JRCInputDate<T extends FieldValues = FieldValues>(props: JRCInputDateProps<T>): JSX.Element;
15
+ export declare function JRCInputDate<T extends FieldValues = FieldValues>(props: JRCInputDateProps<T>): React.JSX.Element;
@@ -3,15 +3,15 @@ import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
5
  import { ApiWrapper, FileResponse } from 'jamespot-user-api';
6
- export declare type NativeInputFileProps = DataCy & Omit<React.ComponentPropsWithoutRef<'input'>, 'value' | 'onChange'> & {
6
+ export type NativeInputFileProps = DataCy & Omit<React.ComponentPropsWithoutRef<'input'>, 'value' | 'onChange'> & {
7
7
  token?: string | undefined;
8
8
  attrName?: string;
9
9
  onLoading?: (state: boolean) => void;
10
10
  value: ApiWrapper<FileResponse>[];
11
11
  onChange: (files: ApiWrapper<FileResponse>[]) => void;
12
12
  };
13
- export declare type JRCInputFileProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & Omit<NativeInputFileProps, 'value' | 'onChange'>;
14
- export declare const InputFile: React.ForwardRefExoticComponent<DataCy & Omit<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value"> & {
13
+ export type JRCInputFileProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & Omit<NativeInputFileProps, 'value' | 'onChange'>;
14
+ export declare const InputFile: React.ForwardRefExoticComponent<DataCy & Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange" | "value"> & {
15
15
  token?: string | undefined;
16
16
  attrName?: string | undefined;
17
17
  onLoading?: ((state: boolean) => void) | undefined;
@@ -24,4 +24,4 @@ export declare const InputFile: React.ForwardRefExoticComponent<DataCy & Omit<Pi
24
24
  * validation props: required
25
25
  * @returns JSX.Element
26
26
  */
27
- export declare function JRCInputFile<T extends FieldValues = FieldValues>(props: JRCInputFileProps<T>): JSX.Element;
27
+ export declare function JRCInputFile<T extends FieldValues = FieldValues>(props: JRCInputFileProps<T>): React.JSX.Element;
@@ -3,7 +3,7 @@ import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
5
  import { FileResponse } from 'jamespot-user-api';
6
- export declare type NativeInputImageProps = DataCy & Omit<React.ComponentPropsWithoutRef<'input'>, 'value' | 'onChange'> & {
6
+ export type NativeInputImageProps = DataCy & Omit<React.ComponentPropsWithoutRef<'input'>, 'value' | 'onChange'> & {
7
7
  token?: string | undefined;
8
8
  attrName?: string;
9
9
  onLoading?: (state: boolean) => void;
@@ -25,11 +25,11 @@ export declare type NativeInputImageProps = DataCy & Omit<React.ComponentPropsWi
25
25
  disableCrop?: boolean;
26
26
  buttonsPosition?: 'inside' | 'under';
27
27
  };
28
- export declare type JRCInputImageProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & Omit<NativeInputImageProps, 'value' | 'onChange'>;
28
+ export type JRCInputImageProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & Omit<NativeInputImageProps, 'value' | 'onChange'>;
29
29
  /**
30
30
  * Component used as a <input type="file"/>
31
31
  * @param props JRCInputFieldProps
32
32
  * validation props: required
33
33
  * @returns JSX.Element
34
34
  */
35
- export declare function JRCInputImage<T extends FieldValues = FieldValues>(props: JRCInputImageProps<T>): JSX.Element;
35
+ export declare function JRCInputImage<T extends FieldValues = FieldValues>(props: JRCInputImageProps<T>): React.JSX.Element;
@@ -2,12 +2,12 @@ import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
- export declare type JRCInputRangeProps = DataCy & React.ComponentPropsWithoutRef<'input'>;
6
- export declare const InputRange: React.ForwardRefExoticComponent<DataCy & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
5
+ export type JRCInputRangeProps = DataCy & React.ComponentPropsWithoutRef<'input'>;
6
+ export declare const InputRange: React.ForwardRefExoticComponent<DataCy & Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
7
7
  /**
8
8
  * Component used as a <input type="range"/>
9
9
  * @param props JRCInputFieldProps
10
10
  * validation props: required
11
11
  * @returns JSX.Element
12
12
  */
13
- export declare function JRCInputRange<T extends FieldValues = FieldValues>(props: JRCInputFieldProps<T>): JSX.Element;
13
+ export declare function JRCInputRange<T extends FieldValues = FieldValues>(props: JRCInputFieldProps<T>): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { FieldValues } from 'react-hook-form/dist/types';
4
4
  /**
@@ -7,8 +7,8 @@ import { FieldValues } from 'react-hook-form/dist/types';
7
7
  * validation props: required
8
8
  * @returns JSX.Element
9
9
  */
10
- export declare type FormRichTextFieldToolbarProps = 'font-size' | 'text-color' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'list-ul' | 'list-ol' | 'align-left' | 'align-center' | 'align-right' | 'align-justify' | 'link' | 'undo' | 'redo' | 'edit-html';
11
- export declare type FormRichTextFieldOptionsProps = {
10
+ export type FormRichTextFieldToolbarProps = 'font-size' | 'text-color' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'list-ul' | 'list-ol' | 'align-left' | 'align-center' | 'align-right' | 'align-justify' | 'link' | 'undo' | 'redo' | 'edit-html';
11
+ export type FormRichTextFieldOptionsProps = {
12
12
  richTextFixedToolbar: boolean;
13
13
  richTextCustomToolbar: Array<FormRichTextFieldToolbarProps>;
14
14
  richTextHideCharactersCount: boolean;
@@ -23,4 +23,4 @@ export declare function JRCInputRichText<T extends FieldValues = FieldValues>({
23
23
  isComponentVisible?: boolean;
24
24
  inplace?: boolean;
25
25
  placeholder?: string;
26
- } & JRCInputFieldProps<T>): JSX.Element;
26
+ } & JRCInputFieldProps<T>): React.JSX.Element;
@@ -2,10 +2,10 @@ import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
- export declare type JRCInputTextProps = DataCy & React.ComponentPropsWithoutRef<'input'> & {
5
+ export type JRCInputTextProps = DataCy & React.ComponentPropsWithoutRef<'input'> & {
6
6
  width?: string;
7
7
  };
8
- export declare const RenderInput: React.ForwardRefExoticComponent<DataCy & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
8
+ export declare const RenderInput: React.ForwardRefExoticComponent<DataCy & Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
9
9
  width?: string | undefined;
10
10
  } & React.RefAttributes<HTMLInputElement>>;
11
11
  /**
@@ -16,4 +16,4 @@ export declare const RenderInput: React.ForwardRefExoticComponent<DataCy & Pick<
16
16
  */
17
17
  export declare function JRCInputText<T extends FieldValues = FieldValues>(props: JRCInputFieldProps<T> & {
18
18
  width?: string;
19
- }): JSX.Element;
19
+ }): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { Meta, Story } from '@storybook/react';
4
4
  declare const _default: Meta<import("@storybook/react").Args>;
@@ -7,4 +7,4 @@ export declare const InputText: Story<JRCInputFieldProps<{
7
7
  text: string;
8
8
  }>>;
9
9
  export declare const InputTextIconButton: any;
10
- export declare const AllInputs: () => JSX.Element;
10
+ export declare const AllInputs: () => React.JSX.Element;
@@ -1,13 +1,13 @@
1
- export declare const IconBefore: import("styled-components").StyledComponent<({ color, variant, name, size, isMargin, className, }: import("components/JRCIcon/JRCIcon").JRCIconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const IconBefore: import("styled-components").StyledComponent<({ color, variant, name, size, isMargin, className, }: import("components/JRCIcon/JRCIcon").JRCIconProps) => import("react").JSX.Element, import("styled-components").DefaultTheme, {}, never>;
2
2
  export declare const IconAfter: import("styled-components").StyledComponent<{
3
- ({ hasLicense, ...props }: Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "onClick"> & import("../../../../types/dataAttributes").DataCy & {
3
+ ({ hasLicense, ...props }: Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "onClick"> & import("../../../../types/dataAttributes").DataCy & {
4
4
  icon: string;
5
5
  size?: "small" | "medium" | undefined;
6
6
  onClick?: ((event?: import("react").MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void) | undefined;
7
7
  name?: string | undefined;
8
8
  value?: string | undefined;
9
9
  disabled?: boolean | undefined;
10
- type?: "button" | "reset" | "submit" | undefined;
10
+ type?: "button" | "submit" | "reset" | undefined;
11
11
  bgBaseGrey?: 0 | 1 | 2 | undefined;
12
12
  color?: import("../../../../styles/theme").Colors | import("../../../../styles/theme").Shades | "inherit" | undefined;
13
13
  tooltip?: Omit<import("../../../..").JRCTooltipProps, "children"> | undefined;
@@ -17,7 +17,7 @@ export declare const IconAfter: import("styled-components").StyledComponent<{
17
17
  type: string;
18
18
  variant: string;
19
19
  size: string;
20
- }): JSX.Element;
20
+ }): import("react").JSX.Element;
21
21
  defaultProps: {
22
22
  type: string;
23
23
  variant: string;
@@ -1,17 +1,17 @@
1
1
  import * as React from 'react';
2
2
  import { DataCy } from '../../../../types/dataAttributes';
3
- export declare type JRCInputTextIconButtonProps = DataCy & React.ComponentPropsWithoutRef<'input'> & {
3
+ export type JRCInputTextIconButtonProps = DataCy & React.ComponentPropsWithoutRef<'input'> & {
4
4
  iconBefore: string;
5
5
  iconButtonAfter?: {
6
6
  icon: string;
7
7
  onClick: () => void;
8
8
  };
9
9
  };
10
- export declare const InputTextIconButton: React.ForwardRefExoticComponent<DataCy & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
10
+ export declare const InputTextIconButton: React.ForwardRefExoticComponent<DataCy & Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
11
11
  iconBefore: string;
12
12
  iconButtonAfter?: {
13
13
  icon: string;
14
14
  onClick: () => void;
15
15
  } | undefined;
16
16
  } & React.RefAttributes<HTMLInputElement>>;
17
- export declare function JRCInputTextIconButton(props: any): JSX.Element;
17
+ export declare function JRCInputTextIconButton(props: any): React.JSX.Element;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
- export declare type JRCInputTextareaProps = DataCy & React.ComponentPropsWithoutRef<'textarea'>;
5
+ export type JRCInputTextareaProps = DataCy & React.ComponentPropsWithoutRef<'textarea'>;
6
6
  export declare const StyledTextArea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, DataCy & {
7
7
  error?: boolean | undefined;
8
8
  valid?: boolean | undefined;
@@ -14,4 +14,4 @@ export declare const StyledTextArea: import("styled-components").StyledComponent
14
14
  * validation props: required
15
15
  * @returns JSX.Element
16
16
  */
17
- export declare function JRCInputTextarea<T extends FieldValues = FieldValues>(props: JRCInputFieldProps<T>): JSX.Element;
17
+ export declare function JRCInputTextarea<T extends FieldValues = FieldValues>(props: JRCInputFieldProps<T>): React.JSX.Element;
@@ -2,11 +2,11 @@ import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
- export declare type JRCInputTimeProps = DataCy & React.ComponentPropsWithoutRef<'input'>;
5
+ export type JRCInputTimeProps = DataCy & React.ComponentPropsWithoutRef<'input'>;
6
6
  /**
7
7
  * Component used as a <input type="hour"/>
8
8
  * @param props JRCInputFieldProps
9
9
  * validation props: required
10
10
  * @returns JSX.Element
11
11
  */
12
- export declare function JRCInputTime<T extends FieldValues = FieldValues>(props: JRCInputFieldProps<T>): JSX.Element;
12
+ export declare function JRCInputTime<T extends FieldValues = FieldValues>(props: JRCInputFieldProps<T>): React.JSX.Element;
@@ -2,10 +2,10 @@ import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { DataCy } from '../../../../types/dataAttributes';
4
4
  import { FieldValues } from 'react-hook-form/dist/types';
5
- export declare type JRCInputUrlProps = DataCy & React.ComponentPropsWithoutRef<'input'> & {
5
+ export type JRCInputUrlProps = DataCy & React.ComponentPropsWithoutRef<'input'> & {
6
6
  width?: string;
7
7
  };
8
- export declare const RenderInput: React.ForwardRefExoticComponent<DataCy & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
8
+ export declare const RenderInput: React.ForwardRefExoticComponent<DataCy & Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
9
9
  width?: string | undefined;
10
10
  } & React.RefAttributes<HTMLInputElement>>;
11
11
  /**
@@ -16,4 +16,4 @@ export declare const RenderInput: React.ForwardRefExoticComponent<DataCy & Pick<
16
16
  */
17
17
  export declare function JRCInputUrl<T extends FieldValues = FieldValues>(props: JRCInputFieldProps<T> & {
18
18
  width?: string;
19
- }): JSX.Element;
19
+ }): React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
3
  import { FieldValues } from 'react-hook-form/dist/types';
4
- export declare type JRCAutocompleteCommunityProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & {
4
+ export type JRCAutocompleteCommunityProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & {
5
5
  multiple?: boolean;
6
6
  searchable?: boolean;
7
7
  };
8
- export declare function JRCInputCommunity<T extends FieldValues = FieldValues>(props: JRCAutocompleteCommunityProps<T>, _ref: React.ForwardedRef<HTMLInputElement>): JSX.Element;
8
+ export declare function JRCInputCommunity<T extends FieldValues = FieldValues>(props: JRCAutocompleteCommunityProps<T>, _ref: React.ForwardedRef<HTMLInputElement>): React.JSX.Element;
@@ -2,11 +2,11 @@ import { Meta, Story } from '@storybook/react';
2
2
  import { JRCAutocompleteCommunityProps } from './JRCAutocompleteCommunity';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- declare type Community = {
5
+ type Community = {
6
6
  uri: string;
7
7
  title: string;
8
8
  };
9
- declare type FormData = {
9
+ type FormData = {
10
10
  selectSimple: Community;
11
11
  selectMultiple: Array<Community>;
12
12
  };
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { FieldValues } from 'react-hook-form/dist/types';
3
3
  import { JRCAutocompleteProps } from './JRCInputSelect.types';
4
- export declare type JRCInputAudienceProps<T extends FieldValues = FieldValues> = JRCAutocompleteProps<T> & {
4
+ export type JRCInputAudienceProps<T extends FieldValues = FieldValues> = JRCAutocompleteProps<T> & {
5
5
  multiple?: boolean;
6
6
  searchable?: boolean;
7
7
  };
8
- export declare function JRCInputAudience<T extends FieldValues = FieldValues>(props: JRCInputAudienceProps<T>): JSX.Element;
8
+ export declare function JRCInputAudience<T extends FieldValues = FieldValues>(props: JRCInputAudienceProps<T>): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { AutocompleteLittle, JRCAutocompleteProps, NativeAutocompleteProps } from './JRCInputSelect.types';
3
3
  import { FieldValues } from 'react-hook-form/dist/types';
4
4
  export declare function CustomOption({ option, }: {
@@ -7,11 +7,11 @@ export declare function CustomOption({ option, }: {
7
7
  custom?: boolean;
8
8
  icon?: string;
9
9
  };
10
- }): JSX.Element;
10
+ }): React.JSX.Element;
11
11
  export declare function CustomSelectedOption({ option }: {
12
12
  option: AutocompleteLittle & {
13
13
  icon?: string;
14
14
  };
15
- }): JSX.Element;
15
+ }): React.JSX.Element;
16
16
  export declare const NativeAutocomplete: <T extends FieldValues = FieldValues>(props: NativeAutocompleteProps<T>) => JSX.Element;
17
- export declare function JRCInputAutocomplete<T extends FieldValues = FieldValues>(props: JRCAutocompleteProps<T>): JSX.Element;
17
+ export declare function JRCInputAutocomplete<T extends FieldValues = FieldValues>(props: JRCAutocompleteProps<T>): React.JSX.Element;
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  import { AudienceAutocomplete } from 'jamespot-user-api';
2
3
  export declare const CSSViewsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare type AVProps = {
4
+ export type AVProps = {
4
5
  views: Array<'folder' | 'user' | 'group' | 'community'>;
5
6
  initialValues: AudienceAutocomplete[];
6
7
  onConfirm: (values: any) => void;
7
8
  };
8
- declare const JRCInputAutocompleteViews: ({ views, initialValues, onConfirm }: AVProps) => JSX.Element;
9
+ declare const JRCInputAutocompleteViews: ({ views, initialValues, onConfirm }: AVProps) => React.JSX.Element;
9
10
  export { JRCInputAutocompleteViews };