jamespot-react-components 1.2.34 → 1.2.36

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 (499) hide show
  1. package/README.md +4 -4
  2. package/build/jamespot-react-components.js +3796 -3797
  3. package/build/jamespot-react-components.js.LICENSE.txt +48 -41
  4. package/build/jamespot-react-components.js.map +1 -1
  5. package/build/jest.config.d.ts +3 -0
  6. package/build/src/components/404/index.d.ts +1 -2
  7. package/build/src/components/Beta/BETA_JRCDoubleClick/BETA_JRCDoubleClick.d.ts +3 -3
  8. package/build/src/components/Beta/BETA_JRCDragAndDrop/BETA_JRCDragAndDrop.d.ts +3 -3
  9. package/build/src/components/Common/JRCConditionalWrapper.d.ts +8 -8
  10. package/build/src/components/Deprecated/Deprecated_JRCEllipsis/Deprecated_JRCEllipsis.d.ts +2 -3
  11. package/build/src/components/Deprecated/Deprecated_JRCEllipsis/JRCEllipsis.stories.d.ts +9 -0
  12. package/build/src/components/Drives/Dropbox/DropboxDocuments.d.ts +2 -4
  13. package/build/src/components/Drives/JRCDriveDropbox.d.ts +2 -4
  14. package/build/src/components/Drives/JRCDriveMSGraph.d.ts +2 -4
  15. package/build/src/components/Drives/MicrosoftGraph/MSGraphAccessDenied.d.ts +1 -2
  16. package/build/src/components/Drives/MicrosoftGraph/MSGraphDocuments.d.ts +2 -4
  17. package/build/src/components/Drives/MicrosoftGraph/MSGraphGroups.d.ts +2 -4
  18. package/build/src/components/Drives/MicrosoftGraph/MSGraphTenants.d.ts +5 -7
  19. package/build/src/components/Drives/MicrosoftGraph/components/TenantEntityItem.d.ts +2 -3
  20. package/build/src/components/Drives/components/DriveAccountHeader.d.ts +2 -4
  21. package/build/src/components/Drives/components/DriveFiltererList.d.ts +10 -46
  22. package/build/src/components/Drives/components/DriveIsEmpty.d.ts +1 -2
  23. package/build/src/components/Drives/components/DriveItem.d.ts +1 -2
  24. package/build/src/components/Drives/components/EntityAvatar.d.ts +3 -4
  25. package/build/src/components/Drives/components/EntityItem.d.ts +7 -29
  26. package/build/src/components/Drives/components/EntityItemSelection.d.ts +1 -2
  27. package/build/src/components/Drives/components/EntityItemTitle.d.ts +2 -3
  28. package/build/src/components/Drives/hooks.d.ts +3 -4
  29. package/build/src/components/Editors/components/EditorCheckbox.d.ts +2 -3
  30. package/build/src/components/Editors/components/EditorColorPicker.d.ts +3 -4
  31. package/build/src/components/Editors/components/EditorImageUpload.d.ts +2 -2
  32. package/build/src/components/Editors/components/EditorInput.d.ts +3 -4
  33. package/build/src/components/Editors/components/EditorInputCheckbox.d.ts +1 -2
  34. package/build/src/components/Editors/components/EditorInputDatetime.d.ts +1 -2
  35. package/build/src/components/Editors/components/EditorInputImage.d.ts +1 -2
  36. package/build/src/components/Editors/components/EditorInputToggle.d.ts +4 -5
  37. package/build/src/components/Editors/components/EditorSelect.d.ts +2 -3
  38. package/build/src/components/Editors/components/EditorUploader.d.ts +4 -5
  39. package/build/src/components/Form/Common/ClickAwayListener.d.ts +4 -4
  40. package/build/src/components/Form/Common/FormDescription.d.ts +1 -2
  41. package/build/src/components/Form/Common/FormHelper.d.ts +3 -4
  42. package/build/src/components/Form/Common/FormLabel.d.ts +5 -5
  43. package/build/src/components/Form/Common/FormMessageFeedback.d.ts +1 -2
  44. package/build/src/components/Form/Input/Common/JRCFormErrors.d.ts +2 -3
  45. package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.d.ts +1 -2
  46. package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.types.d.ts +5 -7
  47. package/build/src/components/Form/Input/Common/useFormControls.d.ts +2 -2
  48. package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience.d.ts +1 -2
  49. package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.d.ts +4 -0
  50. package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity.d.ts +1 -2
  51. package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.d.ts +4 -0
  52. package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.d.ts +1 -2
  53. package/build/src/components/Form/Input/Deprecated/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.d.ts +4 -0
  54. package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.d.ts +1 -2
  55. package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.stories.d.ts +6 -0
  56. package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +8 -8
  57. package/build/src/components/Form/Input/Deprecated/JRCFormCheckbox/JRCFormCheckbox.types.d.ts +3 -3
  58. package/build/src/components/Form/Input/Deprecated/JRCFormColor/JRCFormColor.d.ts +1 -2
  59. package/build/src/components/Form/Input/Deprecated/JRCFormColor/JRCFormColor.stories.d.ts +5 -0
  60. package/build/src/components/Form/Input/Deprecated/JRCFormEmail/JRCFormEmail.d.ts +1 -2
  61. package/build/src/components/Form/Input/Deprecated/JRCFormEmail/JRCFormEmail.stories.d.ts +5 -0
  62. package/build/src/components/Form/Input/Deprecated/JRCFormFieldRender.d.ts +5 -5
  63. package/build/src/components/Form/Input/Deprecated/JRCFormFile/JRCFormFile.d.ts +1 -2
  64. package/build/src/components/Form/Input/Deprecated/JRCFormFile/components/File.d.ts +4 -5
  65. package/build/src/components/Form/Input/Deprecated/JRCFormImage/JRCFormImage.d.ts +4 -4
  66. package/build/src/components/Form/Input/Deprecated/JRCFormImage/JRCFormImage.stories.d.ts +5 -0
  67. package/build/src/components/Form/Input/Deprecated/JRCFormNumber/JRCFormNumber.d.ts +1 -2
  68. package/build/src/components/Form/Input/Deprecated/JRCFormNumber/JRCFormNumber.stories.d.ts +5 -0
  69. package/build/src/components/Form/Input/Deprecated/JRCFormRange/JRCFormRange.d.ts +1 -2
  70. package/build/src/components/Form/Input/Deprecated/JRCFormRange/JRCFormRange.stories.d.ts +5 -0
  71. package/build/src/components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy.d.ts +3 -3
  72. package/build/src/components/Form/Input/Deprecated/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.d.ts +3 -3
  73. package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +6 -9
  74. package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField.d.ts +8 -9
  75. package/build/src/components/Form/Input/Deprecated/JRCFormRichText/JRCFormRichTextField.stories.d.ts +8 -0
  76. package/build/src/components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelect.d.ts +8 -20
  77. package/build/src/components/Form/Input/Deprecated/JRCFormSelect/JRCFormSelectTag.d.ts +7 -3
  78. package/build/src/components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert.d.ts +3 -3
  79. package/build/src/components/Form/Input/Deprecated/JRCFormSendAlert/JRCFormSendAlert.stories.d.ts +3 -3
  80. package/build/src/components/Form/Input/Deprecated/JRCFormText/JRCFormText.d.ts +1 -2
  81. package/build/src/components/Form/Input/Deprecated/JRCFormText/JRCFormText.stories.d.ts +5 -0
  82. package/build/src/components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea.d.ts +7 -7
  83. package/build/src/components/Form/Input/Deprecated/JRCFormTextarea/JRCFormTextarea.stories.d.ts +5 -0
  84. package/build/src/components/Form/Input/Deprecated/JRCFormURL/JRCFormUrl.d.ts +1 -2
  85. package/build/src/components/Form/Input/Deprecated/JRCFormURL/JRCFormUrl.stories.d.ts +5 -0
  86. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.d.ts +6 -7
  87. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.d.ts +7 -0
  88. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.d.ts +1 -3
  89. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.d.ts +5 -5
  90. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputReorderCheckbox.stories.d.ts +5 -0
  91. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputToggle.d.ts +15 -24
  92. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputToggle.stories.d.ts +5 -0
  93. package/build/src/components/Form/Input/JRCInputCheckbox/components/JRCCheckbox.d.ts +2 -3
  94. package/build/src/components/Form/Input/JRCInputCheckbox/components/JRCRadio.d.ts +1 -2
  95. package/build/src/components/Form/Input/JRCInputCheckbox/components/JRCToggle.d.ts +1 -2
  96. package/build/src/components/Form/Input/JRCInputColor/ColorInput.d.ts +1 -2
  97. package/build/src/components/Form/Input/JRCInputColor/ColorPalette.d.ts +1 -2
  98. package/build/src/components/Form/Input/JRCInputColor/ColorPicker.d.ts +1 -2
  99. package/build/src/components/Form/Input/JRCInputColor/ColorRange.d.ts +1 -2
  100. package/build/src/components/Form/Input/JRCInputColor/DragArea.d.ts +5 -5
  101. package/build/src/components/Form/Input/JRCInputColor/JRCInputColor.d.ts +1 -2
  102. package/build/src/components/Form/Input/JRCInputColor/JRCInputColor.stories.d.ts +7 -0
  103. package/build/src/components/Form/Input/JRCInputColor/JRCInputColor.styles.d.ts +1 -1
  104. package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRaw.d.ts +2 -3
  105. package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRaw.stories.d.ts +5 -0
  106. package/build/src/components/Form/Input/JRCInputColor/JRCInputColorRawProps.d.ts +0 -1
  107. package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.d.ts +3 -3
  108. package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.d.ts +7 -0
  109. package/build/src/components/Form/Input/JRCInputDateTime/JRCInputDateTIme.stories.d.ts +7 -0
  110. package/build/src/components/Form/Input/JRCInputDateTime/JRCInputDateTime.d.ts +3 -3
  111. package/build/src/components/Form/Input/JRCInputEmail/JRCInputEmail.d.ts +1 -2
  112. package/build/src/components/Form/Input/JRCInputEmail/JRCInputEmail.stories.d.ts +7 -0
  113. package/build/src/components/Form/Input/JRCInputFile/JRCInputFile.d.ts +8 -8
  114. package/build/src/components/Form/Input/JRCInputFile/JRCInputFile.stories.d.ts +5 -0
  115. package/build/src/components/Form/Input/JRCInputFile/utils/file.api.d.ts +1 -1
  116. package/build/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvanced.stories.d.ts +6 -0
  117. package/build/src/components/Form/Input/JRCInputFileAdvanced/JRCInputFileAdvancedRaw.d.ts +4 -5
  118. package/build/src/components/Form/Input/JRCInputFileAdvanced/types.d.ts +3 -0
  119. package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.d.ts +2 -33
  120. package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.stories.d.ts +6 -0
  121. package/build/src/components/Form/Input/JRCInputImage/JRCInputImage.styles.d.ts +5 -5
  122. package/build/src/components/Form/Input/JRCInputImage/types.d.ts +33 -0
  123. package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.d.ts +4 -4
  124. package/build/src/components/Form/Input/JRCInputRange/JRCInputRange.stories.d.ts +7 -0
  125. package/build/src/components/Form/Input/JRCInputSearchRaw/JRCInputSearchRaw.d.ts +1 -2
  126. package/build/src/components/Form/Input/JRCInputSearchRaw/JRCInputSearchRaw.stories.d.ts +5 -0
  127. package/build/src/components/Form/Input/JRCInputText/JRCInputPassword.d.ts +6 -6
  128. package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +15 -15
  129. package/build/src/components/Form/Input/JRCInputText/JRCInputText.stories.d.ts +9 -0
  130. package/build/src/components/Form/Input/JRCInputText/JRCInputText.style.d.ts +26 -27
  131. package/build/src/components/Form/Input/JRCInputText/JRCInputTextIconButton.d.ts +9 -9
  132. package/build/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.d.ts +17 -17
  133. package/build/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.style.d.ts +6 -7
  134. package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.d.ts +3 -3
  135. package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.d.ts +7 -0
  136. package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextareaRaw.d.ts +4 -4
  137. package/build/src/components/Form/Input/JRCInputTime/JRCInputTime.d.ts +3 -3
  138. package/build/src/components/Form/Input/JRCInputTime/JRCInputTime.stories.d.ts +7 -0
  139. package/build/src/components/Form/Input/JRCInputTinyMCE/JRCInputTinyMCE.d.ts +4 -5
  140. package/build/src/components/Form/Input/JRCInputTinyMCE/JRCInputTinyMCE.stories.d.ts +7 -0
  141. package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw.d.ts +3 -27
  142. package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw.stories.d.ts +5 -0
  143. package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCTinyMCEFileUploadModal.d.ts +1 -2
  144. package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCTinyMCEImageUploadModal.d.ts +1 -2
  145. package/build/src/components/Form/Input/JRCInputTinyMCERaw/JRCTinyMCEVideoUploadModal.d.ts +1 -2
  146. package/build/src/components/Form/Input/JRCInputTinyMCERaw/extensions/JIAExtension/JIATextGenerationExtension.d.ts +1 -1
  147. package/build/src/components/Form/Input/JRCInputTinyMCERaw/extensions/JTinyMCEExtensions.d.ts +2 -9
  148. package/build/src/components/Form/Input/JRCInputTinyMCERaw/extensions/MarkdownExtension/MarkdownExtension.d.ts +1 -1
  149. package/build/src/components/Form/Input/JRCInputTinyMCERaw/types.d.ts +7 -0
  150. package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.d.ts +6 -6
  151. package/build/src/components/Form/Input/JRCInputUrl/JRCInputUrl.stories.d.ts +7 -0
  152. package/build/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.d.ts +10 -0
  153. package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.d.ts +2 -2
  154. package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.d.ts +13 -0
  155. package/build/src/components/Form/Input/JRCSelect/JRCInputAudience.d.ts +1 -2
  156. package/build/src/components/Form/Input/JRCSelect/JRCInputAudience.stories.d.ts +5 -0
  157. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.d.ts +6 -6
  158. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +1 -2
  159. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.d.ts +1 -2
  160. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.defaults.d.ts +2 -3
  161. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +12 -0
  162. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +277 -274
  163. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +8 -13
  164. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +11 -0
  165. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectExtended.d.ts +1 -2
  166. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.d.ts +5 -17
  167. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectHierarchicalTree.stories.d.ts +4 -0
  168. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectList.d.ts +1 -2
  169. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectList.stories.d.ts +4 -0
  170. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectRaw.d.ts +0 -1
  171. package/build/src/components/Form/Input/JRCSelect/SelectHierarchicalTreeModal.d.ts +2 -2
  172. package/build/src/components/Form/Input/JRCStyledInput.d.ts +14 -15
  173. package/build/src/components/Form/Input/temporary.types.d.ts +1 -1
  174. package/build/src/components/JRCAlbum/JRCAlbum.d.ts +1 -2
  175. package/build/src/components/JRCAlbum/components/AlbumItem.d.ts +2 -3
  176. package/build/src/components/JRCAlbum/components/AlbumX1.d.ts +1 -2
  177. package/build/src/components/JRCAlbum/components/AlbumX2.d.ts +1 -2
  178. package/build/src/components/JRCAlbum/components/AlbumX3.d.ts +1 -2
  179. package/build/src/components/JRCAlbum/components/AlbumX4.d.ts +1 -2
  180. package/build/src/components/JRCAlbum/components/AlbumX5.d.ts +1 -2
  181. package/build/src/components/JRCAlbum/styles.d.ts +1 -1
  182. package/build/src/components/JRCAlert/JRCAlert.d.ts +7 -7
  183. package/build/src/components/JRCAlert/JRCAlert.stories.d.ts +8 -0
  184. package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +3 -3
  185. package/build/src/components/JRCAppHeader/JRCAppHeader.d.ts +1 -2
  186. package/build/src/components/JRCAppHeader/JRCAppHeader.stories.d.ts +5 -0
  187. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +1 -2
  188. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +2 -3
  189. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +19 -20
  190. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +2 -2
  191. package/build/src/components/JRCAppLeftColumn/JRCDefaultMenu.d.ts +2 -3
  192. package/build/src/components/JRCAttachments/JRCAttachments.d.ts +1 -2
  193. package/build/src/components/JRCAttachments/JRCAttachments.stories.d.ts +5 -0
  194. package/build/src/components/JRCAvatar/JRCAvatar.d.ts +1 -2
  195. package/build/src/components/JRCAvatar/JRCAvatar.stories.d.ts +5 -0
  196. package/build/src/components/JRCAvatars/JRCAvatars.d.ts +1 -2
  197. package/build/src/components/JRCAvatars/JRCAvatars.stories.d.ts +6 -0
  198. package/build/src/components/JRCBreadcrumb/JRCBreadcrumb.d.ts +1 -2
  199. package/build/src/components/JRCBreadcrumb/JRCBreadcrumb.stories.d.ts +5 -0
  200. package/build/src/components/JRCBusinessContactList/JRCBusinessContactList.d.ts +1 -2
  201. package/build/src/components/JRCBusinessContactList/JRCBusinessContactList.stories.d.ts +5 -0
  202. package/build/src/components/JRCBusinessContacts/JRCBusinessContacts.d.ts +1 -2
  203. package/build/src/components/JRCBusinessContacts/JRCBusinessContacts.stories.d.ts +6 -0
  204. package/build/src/components/JRCButton/Button.d.ts +23 -0
  205. package/build/src/components/JRCButton/JRCButton.d.ts +16 -97
  206. package/build/src/components/JRCButton/JRCButton.stories.d.ts +2 -3
  207. package/build/src/components/JRCButton/JRCButtonConfig.d.ts +1 -17
  208. package/build/src/components/JRCButton/JRCValidationButton.d.ts +3 -3
  209. package/build/src/components/JRCButton/types.d.ts +54 -0
  210. package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +2 -3
  211. package/build/src/components/JRCButtonDownload/JRCButtonDownload.stories.d.ts +8 -0
  212. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +1 -2
  213. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.styles.d.ts +27 -25
  214. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +5 -5
  215. package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +1 -2
  216. package/build/src/components/JRCButtonFile/JRCButtonFile.stories.d.ts +7 -0
  217. package/build/src/components/JRCCalendar/CalendarStyle.d.ts +3 -3
  218. package/build/src/components/JRCCalendar/JRCCalendar.d.ts +2 -32
  219. package/build/src/components/JRCCalendar/JRCCalendar.stories.d.ts +6 -0
  220. package/build/src/components/JRCCalendar/JRCCalendarEvent.d.ts +2 -33
  221. package/build/src/components/JRCCalendar/JRCCalendarModal.d.ts +2 -2
  222. package/build/src/components/JRCCalendar/JRCEventStatusButton.d.ts +1 -2
  223. package/build/src/components/JRCCalendar/types.d.ts +60 -0
  224. package/build/src/components/JRCCard/JRCCard.d.ts +6 -6
  225. package/build/src/components/JRCCard/JRCCard.stories.d.ts +5 -0
  226. package/build/src/components/JRCCard/JRCCardImg.d.ts +5 -5
  227. package/build/src/components/JRCCard/JRCCardImg.stories.d.ts +5 -0
  228. package/build/src/components/JRCCollapse/JRCCollapse.d.ts +4 -4
  229. package/build/src/components/JRCCollapse/JRCCollapse.stories.d.ts +7 -0
  230. package/build/src/components/JRCColumnCenter/JRCColumnCenter.d.ts +3 -3
  231. package/build/src/components/JRCColumnLeft/JRCColumnLeft.d.ts +3 -3
  232. package/build/src/components/JRCColumnRight/JRCColumnRight.d.ts +3 -3
  233. package/build/src/components/JRCCommentsBloc/AvatarWrapper.d.ts +1 -0
  234. package/build/src/components/JRCCommentsBloc/JRCComment.d.ts +6 -8
  235. package/build/src/components/JRCCommentsBloc/JRCCommentsBloc.d.ts +8 -12
  236. package/build/src/components/JRCCommentsBloc/JRCCommentsBloc.stories.d.ts +5 -0
  237. package/build/src/components/JRCCommentsBloc/components/CommentsHeader.d.ts +1 -2
  238. package/build/src/components/JRCCommentsBloc/components/EditComment.d.ts +3 -5
  239. package/build/src/components/JRCCommentsBloc/components/NewComment.d.ts +7 -8
  240. package/build/src/components/JRCCropImage/JRCCropImage.d.ts +1 -2
  241. package/build/src/components/JRCCropImage/JRCCropImage.stories.d.ts +5 -0
  242. package/build/src/components/JRCDate/JRCDate.d.ts +2 -3
  243. package/build/src/components/JRCDate/JRCDate.stories.d.ts +7 -0
  244. package/build/src/components/JRCDisplayCard/JRCDisplayCard.d.ts +3 -3
  245. package/build/src/components/JRCDisplayCard/JRCDisplayCard.stories.d.ts +8 -0
  246. package/build/src/components/JRCDropDown/JRCDropDown.d.ts +4 -4
  247. package/build/src/components/JRCDropDown/JRCDropDown.stories.d.ts +5 -0
  248. package/build/src/components/JRCEmptySpace/JRCEmptySpace.d.ts +5 -4
  249. package/build/src/components/JRCEmptySpace/JRCEmptySpace.stories.d.ts +4 -0
  250. package/build/src/components/JRCFile/JRCFile.d.ts +1 -2
  251. package/build/src/components/JRCFile/JRCFile.stories.d.ts +4 -0
  252. package/build/src/components/JRCFile/JRCFileApplication.d.ts +1 -2
  253. package/build/src/components/JRCFile/JRCFileAudio.d.ts +1 -2
  254. package/build/src/components/JRCFile/JRCFileAvatar.d.ts +1 -2
  255. package/build/src/components/JRCFile/JRCFileFolder.d.ts +1 -2
  256. package/build/src/components/JRCFile/JRCFileImage.d.ts +3 -4
  257. package/build/src/components/JRCFile/JRCFileVideo.d.ts +1 -2
  258. package/build/src/components/JRCFileOpen/JRCFileOpen.d.ts +3 -3
  259. package/build/src/components/JRCFileViewer/JRCFileViewer.d.ts +2 -14
  260. package/build/src/components/JRCFileViewer/JRCFileViewer.stories.d.ts +4 -0
  261. package/build/src/components/JRCFileViewer/JRCFileViewerArrows.d.ts +1 -2
  262. package/build/src/components/JRCFileViewer/JRCFileViewerContent.d.ts +2 -3
  263. package/build/src/components/JRCFileViewer/JRCFileViewerContentApplication.d.ts +4 -4
  264. package/build/src/components/JRCFileViewer/JRCFileViewerContentAudio.d.ts +3 -3
  265. package/build/src/components/JRCFileViewer/JRCFileViewerContentImage.d.ts +3 -3
  266. package/build/src/components/JRCFileViewer/JRCFileViewerContentVideo.d.ts +3 -3
  267. package/build/src/components/JRCFileViewer/JRCFileViewerOpenWithOptions.d.ts +2 -3
  268. package/build/src/components/JRCFileViewer/types.d.ts +2 -2
  269. package/build/src/components/JRCFlex/JRCFlexBox.d.ts +1 -9
  270. package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +2 -3
  271. package/build/src/components/JRCFolders/JRCFolders.d.ts +3 -5
  272. package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +7 -0
  273. package/build/src/components/JRCFolders/components/FileLittleList.d.ts +1 -2
  274. package/build/src/components/JRCFolders/styles.d.ts +1 -1
  275. package/build/src/components/JRCFolders/types.d.ts +1 -0
  276. package/build/src/components/JRCGrid/JRCGrid.d.ts +3 -3
  277. package/build/src/components/JRCGrid/JRCGrid.stories.d.ts +4 -5
  278. package/build/src/components/JRCGroupList/JRCGroupList.d.ts +1 -2
  279. package/build/src/components/JRCGroupList/JRCGroupList.stories.d.ts +5 -0
  280. package/build/src/components/JRCGroups/JRCGroups.d.ts +1 -2
  281. package/build/src/components/JRCGroups/JRCGroups.stories.d.ts +6 -0
  282. package/build/src/components/JRCHref/JRCHref.d.ts +6 -6
  283. package/build/src/components/JRCHref/JRCHref.stories.d.ts +5 -0
  284. package/build/src/components/JRCHtml/JRCHtml.d.ts +6 -6
  285. package/build/src/components/JRCHtml/JRCHtml.stories.d.ts +5 -0
  286. package/build/src/components/JRCIcon/JRCIcon.d.ts +1 -2
  287. package/build/src/components/JRCIcon/JRCIcon.stories.d.ts +1 -2
  288. package/build/src/components/JRCIconButton/JRCIconButton.d.ts +26 -26
  289. package/build/src/components/JRCIconButton/JRCIconButton.stories.d.ts +5 -0
  290. package/build/src/components/JRCImg/JRCImg.d.ts +1 -2
  291. package/build/src/components/JRCImg/JRCImg.stories.d.ts +6 -0
  292. package/build/src/components/JRCList/JRCList.d.ts +1 -2
  293. package/build/src/components/JRCList/JRCList.stories.d.ts +12 -0
  294. package/build/src/components/JRCList/JRCList.styles.d.ts +7 -8
  295. package/build/src/components/JRCList/JRCListMockData.stories.d.ts +4 -0
  296. package/build/src/components/JRCLoader/JRCLoader.d.ts +1 -2
  297. package/build/src/components/JRCLoader/JRCSkeleton.d.ts +1 -2
  298. package/build/src/components/JRCMenu/JRCMenu.d.ts +2 -3
  299. package/build/src/components/JRCMenu/JRCMenu.stories.d.ts +1 -2
  300. package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +3 -3
  301. package/build/src/components/JRCMessage/JRCMessage.d.ts +3 -3
  302. package/build/src/components/JRCMessage/JRCMessage.stories.d.ts +8 -0
  303. package/build/src/components/JRCModal/JRCModal.styles.d.ts +13 -13
  304. package/build/src/components/JRCModal/JRCModalContent.d.ts +7 -7
  305. package/build/src/components/JRCModal/JRCModalContentForm.d.ts +2 -2
  306. package/build/src/components/JRCModal/JRCModalLayout.d.ts +4 -4
  307. package/build/src/components/JRCModal/templates/JRCModal.d.ts +1 -2
  308. package/build/src/components/JRCModal/templates/JRCModal.stories.d.ts +4 -0
  309. package/build/src/components/JRCModal/templates/JRCModal.types.d.ts +3 -3
  310. package/build/src/components/JRCModal/templates/JRCModalForm.d.ts +1 -2
  311. package/build/src/components/JRCModal/templates/JRCModalForm.stories.d.ts +4 -0
  312. package/build/src/components/JRCModal/types.d.ts +1 -0
  313. package/build/src/components/JRCModalImg/JRCModalImg.d.ts +3 -3
  314. package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +6 -0
  315. package/build/src/components/JRCModalUserList/CSSAvatarWrapper.d.ts +3 -0
  316. package/build/src/components/JRCModalUserList/JRCModalUserList.d.ts +1 -5
  317. package/build/src/components/JRCObjectList/JRCObjectList.d.ts +3 -3
  318. package/build/src/components/JRCPagination/JRCPagination.d.ts +2 -3
  319. package/build/src/components/JRCPagination/JRCPagination.stories.d.ts +5 -0
  320. package/build/src/components/JRCProgressBar/JRCProgressBar.d.ts +2 -3
  321. package/build/src/components/JRCPublishButton/JRCPublishButton.d.ts +2 -3
  322. package/build/src/components/JRCPublishButton/PublishButtonEntry.d.ts +2 -2
  323. package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.d.ts +4 -4
  324. package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.stories.d.ts +5 -0
  325. package/build/src/components/JRCSidePanelModal/JRCSidePanelModal.styles.d.ts +7 -7
  326. package/build/src/components/JRCSkeleton/JRCSkeletonLine.d.ts +1 -2
  327. package/build/src/components/JRCSkeleton/JRCSkeletonList.d.ts +2 -2
  328. package/build/src/components/JRCTabs/JRCTabs.d.ts +5 -5
  329. package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +6 -0
  330. package/build/src/components/JRCTag/JRCTag.d.ts +5 -5
  331. package/build/src/components/JRCTag/JRCTag.stories.d.ts +5 -0
  332. package/build/src/components/JRCThemeProvider/JRCThemeProvider.d.ts +3 -3
  333. package/build/src/components/JRCTooltip/JRCBaseTooltip.d.ts +1 -2
  334. package/build/src/components/JRCTooltip/JRCTooltip.d.ts +2 -32
  335. package/build/src/components/JRCTooltip/JRCTooltip.stories.d.ts +1 -1
  336. package/build/src/components/JRCTooltip/types.d.ts +31 -0
  337. package/build/src/components/JRCTypo/JRCTypo.d.ts +11 -11
  338. package/build/src/components/JRCTypo/JRCTypo.stories.d.ts +6 -7
  339. package/build/src/components/JRCTypography/JRCTypography.d.d.ts +7 -6
  340. package/build/src/components/JRCTypography/JRCTypography.d.ts +1 -2
  341. package/build/src/components/JRCTypography/JRCTypography.styles.d.ts +2 -2
  342. package/build/src/components/JRCUserHighlightFields/JRCUserHighlightFields.d.ts +1 -2
  343. package/build/src/components/JRCUserList/JRCUserList.d.ts +1 -2
  344. package/build/src/components/JRCUserList/JRCUserList.stories.d.ts +5 -0
  345. package/build/src/components/JRCUserPopup/JRCUserPopup.d.ts +2 -2
  346. package/build/src/components/JRCUserPopup/JRCUserPopup.stories.d.ts +5 -0
  347. package/build/src/components/JRCUserStatusIcon/JRCUserStatusIcon.d.ts +1 -2
  348. package/build/src/components/JRCUsers/JRCUsers.d.ts +1 -2
  349. package/build/src/components/JRCUsers/JRCUsers.stories.d.ts +6 -0
  350. package/build/src/components/Pages/JRCPageNotLogged.d.ts +2 -2
  351. package/build/src/components/Stepper/JRCFadeStepper.d.ts +3 -3
  352. package/build/src/components/Stepper/JRCImageStepper.d.ts +1 -2
  353. package/build/src/components/Stepper/JRCStepper.d.ts +3 -3
  354. package/build/src/components/Stepper/JRCStepper.stories.d.ts +4 -0
  355. package/build/src/components/Templates/AppColumn.d.ts +3 -0
  356. package/build/src/components/Templates/JRCAppColumn.d.ts +1 -2
  357. package/build/src/components/Templates/JRCAppTab.d.ts +2 -3
  358. package/build/src/components/Templates/JRCBase.template.d.ts +6 -6
  359. package/build/src/components/Templates/JRCBasicAutoMarginContainer.d.ts +1 -2
  360. package/build/src/components/Templates/JRCColumn.d.ts +1 -2
  361. package/build/src/components/Templates/JRCContainer.d.ts +1 -2
  362. package/build/src/components/Templates/JRCMainColumn.d.ts +1 -2
  363. package/build/src/components/Templates/JRCPanel.d.ts +1 -2
  364. package/build/src/components/Templates/JRCStepperPage.d.ts +6 -6
  365. package/build/src/components/Templates/JRCTemplate.stories.d.ts +6 -0
  366. package/build/src/components/Templates/JRCTwoColumns.template.d.ts +3 -3
  367. package/build/src/components/Templates/MainColumn.d.ts +2 -0
  368. package/build/src/components/Templates/template.styles.d.ts +276 -276
  369. package/build/src/components/Templates/template.type.d.ts +6 -6
  370. package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.d.ts +2 -3
  371. package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery.stories.d.ts +8 -0
  372. package/build/src/components/Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGalleryEditor.d.ts +1 -2
  373. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.d.ts +3 -4
  374. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleText.stories.d.ts +195 -0
  375. package/build/src/components/Widgets/JRCWidgetArticleText/JRCWidgetArticleTextEditor.d.ts +1 -2
  376. package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitle.d.ts +2 -3
  377. package/build/src/components/Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitleEditor.d.ts +3 -3
  378. package/build/src/components/Widgets/JRCWidgetAttachment/JRCWidgetArticleAttachmentEditor.d.ts +3 -3
  379. package/build/src/components/Widgets/JRCWidgetAttachment/JRCWidgetAttachment.d.ts +3 -4
  380. package/build/src/components/Widgets/JRCWidgetAttachment/JRCWidgetAttachment.stories.d.ts +7 -0
  381. package/build/src/components/Widgets/JRCWidgetButton/JRCWidgetButton.d.ts +1 -2
  382. package/build/src/components/Widgets/JRCWidgetButton/JRCWidgetButton.stories.d.ts +4 -0
  383. package/build/src/components/Widgets/JRCWidgetButton/JRCWidgetButtonEditor.d.ts +3 -3
  384. package/build/src/components/Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDav.d.ts +4 -4
  385. package/build/src/components/Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDavEditor.d.ts +1 -2
  386. package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList.d.ts +1 -2
  387. package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList.stories.d.ts +4 -0
  388. package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListEditor.d.ts +3 -4
  389. package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListEditorItemLink.d.ts +2 -3
  390. package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListImage.d.ts +4 -5
  391. package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListItem.d.ts +3 -3
  392. package/build/src/components/Widgets/JRCWidgetCheckList/JRCWidgetCheckListLink.d.ts +2 -3
  393. package/build/src/components/Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDav.d.ts +3 -3
  394. package/build/src/components/Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDavEditor.d.ts +1 -2
  395. package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImap.d.ts +1 -2
  396. package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapAttachments.d.ts +1 -2
  397. package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapDate.d.ts +1 -2
  398. package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapEditor.d.ts +1 -2
  399. package/build/src/components/Widgets/JRCWidgetEmailsImap/JRCWidgetEmailsImapLevel2.d.ts +2 -3
  400. package/build/src/components/Widgets/JRCWidgetEmailsImap/WidgetEmailsImapStatus.d.ts +1 -2
  401. package/build/src/components/Widgets/JRCWidgetEmailsImap/components/WidgetEmailsItemBody.d.ts +2 -3
  402. package/build/src/components/Widgets/JRCWidgetEmailsImap/components/WidgetEmailsItemFooter.d.ts +1 -2
  403. package/build/src/components/Widgets/JRCWidgetEmailsImap/components/WidgetEmailsItemHeader.d.ts +1 -2
  404. package/build/src/components/Widgets/JRCWidgetEmailsImap/components/WidgetEmailsItemSubject.d.ts +1 -2
  405. package/build/src/components/Widgets/JRCWidgetEmptyInplace.d.ts +1 -2
  406. package/build/src/components/Widgets/JRCWidgetIcon.d.ts +1 -2
  407. package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetArticleImageEditor.d.ts +2 -4
  408. package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetImage.d.ts +1 -2
  409. package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetImage.stories.d.ts +4 -0
  410. package/build/src/components/Widgets/JRCWidgetImage/JRCWidgetImageEditor.d.ts +1 -2
  411. package/build/src/components/Widgets/JRCWidgetImage/styles.d.ts +3 -3
  412. package/build/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsence.d.ts +1 -2
  413. package/build/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsenceEditor.d.ts +1 -2
  414. package/build/src/components/Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsenceStatus.d.ts +1 -2
  415. package/build/src/components/Widgets/JRCWidgetPresence/JRCWidgetPresence.d.ts +2 -8
  416. package/build/src/components/Widgets/JRCWidgetPresence/JRCWidgetPresenceEditor.d.ts +2 -3
  417. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey.d.ts +1 -2
  418. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey.stories.d.ts +4 -0
  419. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditor.d.ts +1 -2
  420. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditor.styles.d.ts +1 -1
  421. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditorAddEntry.d.ts +1 -2
  422. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditorEntries.d.ts +1 -2
  423. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyImage.d.ts +4 -5
  424. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyItemWrapper.d.ts +3 -3
  425. package/build/src/components/Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyResponse.d.ts +4 -5
  426. package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditor.d.ts +1 -2
  427. package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditorSlide.d.ts +4 -17
  428. package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetArticleSliderEditorSlideRemove.d.ts +2 -3
  429. package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetSlider.d.ts +1 -2
  430. package/build/src/components/Widgets/JRCWidgetSlider/JRCWidgetSlider.stories.d.ts +5 -0
  431. package/build/src/components/Widgets/JRCWidgetSlider/components/SliderArrows.d.ts +1 -2
  432. package/build/src/components/Widgets/JRCWidgetSlider/components/SliderDots.d.ts +3 -4
  433. package/build/src/components/Widgets/JRCWidgetSlider/components/SliderImage.d.ts +2 -3
  434. package/build/src/components/Widgets/JRCWidgetSlider/components/SliderSlideTitle.d.ts +1 -2
  435. package/build/src/components/Widgets/JRCWidgetSlider/types.d.ts +1 -1
  436. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetDatasourceTableEditor.d.ts +5 -54
  437. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetDatasourceTableEditor.styles.d.ts +1 -1
  438. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetExcelDatasourceTableEditor.d.ts +5 -54
  439. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.d.ts +6 -6
  440. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.stories.d.ts +6 -0
  441. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.styles.d.ts +3 -3
  442. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableEditor.d.ts +2 -43
  443. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableSharedEditor.d.ts +1 -2
  444. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableTdRenderer.d.ts +3 -11
  445. package/build/src/components/Widgets/JRCWidgetTable/JRCWidgetTableTdRendererText.d.ts +2 -10
  446. package/build/src/components/Widgets/JRCWidgetTable/components/ModalButton.d.ts +5 -5
  447. package/build/src/components/Widgets/JRCWidgetTable/components/ModalColumnLabelize.d.ts +2 -3
  448. package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceFetchDatasource.d.ts +1 -2
  449. package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelView.d.ts +4 -13
  450. package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelViewChanges.d.ts +1 -2
  451. package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelViewColumn.d.ts +3 -4
  452. package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceModelViewColumnAction.d.ts +3 -12
  453. package/build/src/components/Widgets/JRCWidgetTable/components/WidgetDatasourceObject.d.ts +1 -2
  454. package/build/src/components/Widgets/JRCWidgetTable/model/doc/DocEditor.d.ts +5 -13
  455. package/build/src/components/Widgets/JRCWidgetTable/model/doc/DocEditorObject.d.ts +1 -2
  456. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditor.d.ts +3 -11
  457. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorBrokenModel.d.ts +1 -2
  458. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorModel.d.ts +2 -10
  459. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorModelColumn.d.ts +1 -2
  460. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorObject.d.ts +1 -2
  461. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorSelectDocument.d.ts +1 -2
  462. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorSelectWedocFile.d.ts +1 -2
  463. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorSpreadSheets.d.ts +1 -2
  464. package/build/src/components/Widgets/JRCWidgetTable/model/excel/ExcelEditorUploader.d.ts +1 -2
  465. package/build/src/components/Widgets/JRCWidgetTable/model/studio/StudioEditor.d.ts +5 -13
  466. package/build/src/components/Widgets/JRCWidgetTable/model/studio/StudioEditorApp.d.ts +1 -2
  467. package/build/src/components/Widgets/JRCWidgetTable/model/studio/StudioEditorFetch.d.ts +1 -2
  468. package/build/src/components/Widgets/JRCWidgetTable/model/studio/StudioEditorObject.d.ts +1 -2
  469. package/build/src/components/Widgets/JRCWidgetTable/types.d.ts +24 -0
  470. package/build/src/components/Widgets/JRCWidgetTable/utils.d.ts +1 -1
  471. package/build/src/components/Widgets/components/WidgetAvatarList.d.ts +3 -4
  472. package/build/src/components/Widgets/components/WidgetImageLine.d.ts +1 -2
  473. package/build/src/components/Widgets/components/WidgetMissingToken.d.ts +1 -2
  474. package/build/src/components/Widgets/context/hooks.d.ts +1 -173
  475. package/build/src/components/Widgets/context/provider.d.ts +5 -5
  476. package/build/src/components/Widgets/styles.d.ts +7 -7
  477. package/build/src/components/api/jamespot/mockApiWrapper.d.ts +10 -0
  478. package/build/src/components/api/jamespot/mock_jamespot.d.ts +0 -10
  479. package/build/src/components/index.d.ts +173 -0
  480. package/build/src/hooks/UseKeyPress.d.ts +1 -2
  481. package/build/src/index.d.ts +4 -186
  482. package/build/src/storybook/decorators.d.ts +1 -2
  483. package/build/src/styles/Theme.stories.d.ts +1 -2
  484. package/build/src/styles/utils.d.ts +2 -7
  485. package/build/src/types.d.ts +11 -13
  486. package/build/src/utils/index.d.ts +1 -41
  487. package/build/src/utils/test-utils.d.ts +3 -3
  488. package/build/src/utils/utils.array.d.ts +2 -2
  489. package/build/src/utils/utils.files.d.ts +1 -1
  490. package/jest.config.ts +10 -7
  491. package/package.json +87 -101
  492. package/build/src/components/Widgets/JRCWidgetTable/pagination.test.d.ts +0 -1
  493. package/build/src/components/Widgets/JRCWidgetTable/utils.test.d.ts +0 -1
  494. package/build/src/utils/utils.array.test.d.ts +0 -1
  495. package/build/src/utils/utils.color.test.d.ts +0 -1
  496. package/build/src/utils/utils.html.test.d.ts +0 -1
  497. package/build/src/utils/utils.regexp.test.d.ts +0 -1
  498. package/build/src/utils/utils.string.test.d.ts +0 -1
  499. package/build/src/utils/utils.time.test.d.ts +0 -1
@@ -1,108 +1,27 @@
1
- import * as React from 'react';
2
- import { ButtonType } from './JRCButtonConfig';
3
- import { DataCy } from '../../types/dataAttributes';
4
- import { DashedFocusBorderProps } from '../Common/DashedFocusBorder';
5
- import { JRCTooltipProps } from '../JRCTooltip/JRCTooltip';
6
- export type ButtonColors = 'primary' | 'valid' | 'danger' | 'secondary' | 'cancel' | 'neutral' | 'white';
7
- export type JRCButtonProps = React.ComponentPropsWithoutRef<'button'> & DataCy & {
8
- /** Color of the background of the button */
9
- color?: ButtonColors;
10
- themeCustom?: ButtonType;
11
- /** Indicates loading of content on the button */
1
+ import { ButtonProps } from './types';
2
+ import { JRCTooltipProps } from '../JRCTooltip/types';
3
+ export type JRCButtonProps = ButtonProps & {
4
+ /** tooltip tooltip props */
5
+ tooltip?: Omit<JRCTooltipProps, 'children'>;
6
+ };
7
+ export declare const JRCButton: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("../../types/dataAttributes").DataCy & {
8
+ color?: import("./types").ButtonColors;
9
+ themeCustom?: import("./types").ButtonType;
12
10
  loader?: boolean;
13
- /** This Boolean attribute specifies that the button should have input focus when the page loads */
14
11
  autofocus?: boolean;
15
- /** Defines the value associated with the button’s name when it’s submitted with the form data */
16
12
  value?: string;
17
- /** Enhance your button with an icon */
18
13
  icon?: string;
19
- /** set the icon at the right of the button */
20
14
  iconRight?: boolean;
21
- /** The variant is used to define what type of action the button will take */
22
- variant?: 'contained' | 'outlined' | 'link';
23
- /** @deprecated CSS float attribute */
24
- float?: 'left' | 'right';
25
- /** CSS min-width attribute */
15
+ variant?: "contained" | "outlined" | "link";
16
+ float?: "left" | "right";
26
17
  minWidth?: string;
27
- /** has license. If false, the button will be disabled with a license tooltip. Default to true */
28
18
  hasLicense?: boolean;
29
- /** tooltip tooltip props */
30
- tooltip?: Omit<JRCTooltipProps, 'children'>;
31
- /** label, optional, replaces children */
32
19
  label?: string;
33
- /** Disable margins **/
34
20
  noMargin?: boolean;
35
- size?: 'm' | 's';
21
+ size?: "m" | "s";
36
22
  srOnly?: string;
37
- borderRadius?: 'right';
38
- };
39
- /**
40
- * Button styling. May be used as a <a> tag
41
- */
42
- export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
43
- $themeButton: ButtonType;
44
- hasLabel: boolean;
45
- } & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & DataCy & {
46
- /** Color of the background of the button */
47
- color?: ButtonColors | undefined;
48
- themeCustom?: ButtonType | undefined;
49
- /** Indicates loading of content on the button */
50
- loader?: boolean | undefined;
51
- /** This Boolean attribute specifies that the button should have input focus when the page loads */
52
- autofocus?: boolean | undefined;
53
- /** Defines the value associated with the button’s name when it’s submitted with the form data */
54
- value?: string | undefined;
55
- /** Enhance your button with an icon */
56
- icon?: string | undefined;
57
- /** set the icon at the right of the button */
58
- iconRight?: boolean | undefined;
59
- /** The variant is used to define what type of action the button will take */
60
- variant?: "link" | "contained" | "outlined" | undefined;
61
- /** @deprecated CSS float attribute */
62
- float?: "left" | "right" | undefined;
63
- /** CSS min-width attribute */
64
- minWidth?: string | undefined;
65
- /** has license. If false, the button will be disabled with a license tooltip. Default to true */
66
- hasLicense?: boolean | undefined;
67
- /** tooltip tooltip props */
68
- tooltip?: Omit<JRCTooltipProps, "children"> | undefined;
69
- /** label, optional, replaces children */
70
- label?: string | undefined;
71
- /** Disable margins **/
72
- noMargin?: boolean | undefined;
73
- size?: "s" | "m" | undefined;
74
- srOnly?: string | undefined;
75
- borderRadius?: "right" | undefined;
76
- } & DashedFocusBorderProps, never>;
77
- export declare const JRCButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & DataCy & {
78
- /** Color of the background of the button */
79
- color?: ButtonColors | undefined;
80
- themeCustom?: ButtonType | undefined;
81
- /** Indicates loading of content on the button */
82
- loader?: boolean | undefined;
83
- /** This Boolean attribute specifies that the button should have input focus when the page loads */
84
- autofocus?: boolean | undefined;
85
- /** Defines the value associated with the button’s name when it’s submitted with the form data */
86
- value?: string | undefined;
87
- /** Enhance your button with an icon */
88
- icon?: string | undefined;
89
- /** set the icon at the right of the button */
90
- iconRight?: boolean | undefined;
91
- /** The variant is used to define what type of action the button will take */
92
- variant?: "link" | "contained" | "outlined" | undefined;
93
- /** @deprecated CSS float attribute */
94
- float?: "left" | "right" | undefined;
95
- /** CSS min-width attribute */
96
- minWidth?: string | undefined;
97
- /** has license. If false, the button will be disabled with a license tooltip. Default to true */
98
- hasLicense?: boolean | undefined;
23
+ borderRadius?: "right";
24
+ } & {
99
25
  /** tooltip tooltip props */
100
- tooltip?: Omit<JRCTooltipProps, "children"> | undefined;
101
- /** label, optional, replaces children */
102
- label?: string | undefined;
103
- /** Disable margins **/
104
- noMargin?: boolean | undefined;
105
- size?: "s" | "m" | undefined;
106
- srOnly?: string | undefined;
107
- borderRadius?: "right" | undefined;
108
- } & React.RefAttributes<HTMLButtonElement>>;
26
+ tooltip?: Omit<JRCTooltipProps, "children">;
27
+ } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,12 +1,11 @@
1
- import * as React from 'react';
1
+ import { Meta, StoryFn, StoryObj } from '@storybook/react-webpack5';
2
2
  import { JRCButtonProps } from './JRCButton';
3
3
  import { JRCValidationButton } from './JRCValidationButton';
4
- import { Meta, StoryFn, StoryObj } from '@storybook/react-webpack5';
5
4
  declare const meta: Meta;
6
5
  export default meta;
7
6
  export declare const ButtonWithChildren: StoryFn<JRCButtonProps>;
8
7
  export declare const ButtonWithLabel: StoryFn<JRCButtonProps>;
9
- export declare const AllButtons: () => React.JSX.Element;
8
+ export declare const AllButtons: () => import("react/jsx-runtime").JSX.Element;
10
9
  type Story = StoryObj<typeof JRCValidationButton>;
11
10
  export declare const ValidationButtonClicked: Story;
12
11
  export declare const ValidationButtonClickReset: Story;
@@ -1,21 +1,5 @@
1
- import { Colors, ColorsOrShades } from '../../styles/theme';
2
- import { ButtonColors } from './JRCButton';
1
+ import { ButtonColors, ButtonType } from './types';
3
2
  export declare const defaultLinkStyle: ButtonType;
4
- export type ButtonType = {
5
- color: Colors;
6
- background: ColorsOrShades;
7
- border: Colors;
8
- active: {
9
- background: ColorsOrShades;
10
- border: ColorsOrShades;
11
- 'text-decoration'?: 'underline' | 'none';
12
- };
13
- hover: {
14
- background: ColorsOrShades;
15
- border: ColorsOrShades;
16
- 'text-decoration'?: 'underline' | 'none';
17
- };
18
- };
19
3
  type ButtonConfig = Record<'contained' | 'outlined', Record<ButtonColors | 'disabled', ButtonType>> & Record<'link', Record<ButtonColors | 'disabled', ButtonType>>;
20
4
  export declare const BUTTON_CONFIG: ButtonConfig;
21
5
  export {};
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { MouseEvent } from 'react';
2
2
  import { JRCButtonProps } from './JRCButton';
3
3
  /**
4
4
  * @see JRCButtonProps
@@ -6,7 +6,7 @@ import { JRCButtonProps } from './JRCButton';
6
6
  * @member validationMessage, optional validation message, default to "Confirm / Valider"
7
7
  */
8
8
  export type JRCValidationButtonProps = JRCButtonProps & {
9
- onValidationClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
9
+ onValidationClick?: (e: MouseEvent<HTMLButtonElement>) => void;
10
10
  validationMessage?: string;
11
11
  };
12
- export declare const JRCValidationButton: ({ onClick, onValidationClick, children, color, variant, icon, ...props }: JRCValidationButtonProps) => React.JSX.Element;
12
+ export declare const JRCValidationButton: ({ onClick, onValidationClick, children, color, variant, icon, ...props }: JRCValidationButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,54 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { Colors, ColorsOrShades } from '../../styles/theme';
3
+ import { DataCy } from '../../types/dataAttributes';
4
+ import { DashedFocusBorderProps } from '../Common/DashedFocusBorder';
5
+ export type ButtonType = {
6
+ color: Colors;
7
+ background: ColorsOrShades;
8
+ border: Colors;
9
+ active: {
10
+ background: ColorsOrShades;
11
+ border: ColorsOrShades;
12
+ 'text-decoration'?: 'underline' | 'none';
13
+ };
14
+ hover: {
15
+ background: ColorsOrShades;
16
+ border: ColorsOrShades;
17
+ 'text-decoration'?: 'underline' | 'none';
18
+ };
19
+ };
20
+ export type ButtonColors = 'primary' | 'valid' | 'danger' | 'secondary' | 'cancel' | 'neutral' | 'white';
21
+ export type ButtonProps = ComponentPropsWithoutRef<'button'> & DataCy & {
22
+ /** Color of the background of the button */
23
+ color?: ButtonColors;
24
+ themeCustom?: ButtonType;
25
+ /** Indicates loading of content on the button */
26
+ loader?: boolean;
27
+ /** This Boolean attribute specifies that the button should have input focus when the page loads */
28
+ autofocus?: boolean;
29
+ /** Defines the value associated with the button’s name when it’s submitted with the form data */
30
+ value?: string;
31
+ /** Enhance your button with an icon */
32
+ icon?: string;
33
+ /** set the icon at the right of the button */
34
+ iconRight?: boolean;
35
+ /** The variant is used to define what type of action the button will take */
36
+ variant?: 'contained' | 'outlined' | 'link';
37
+ /** @deprecated CSS float attribute */
38
+ float?: 'left' | 'right';
39
+ /** CSS min-width attribute */
40
+ minWidth?: string;
41
+ /** has license. If false, the button will be disabled with a license tooltip. Default to true */
42
+ hasLicense?: boolean;
43
+ /** label, optional, replaces children */
44
+ label?: string;
45
+ /** Disable margins **/
46
+ noMargin?: boolean;
47
+ size?: 'm' | 's';
48
+ srOnly?: string;
49
+ borderRadius?: 'right';
50
+ };
51
+ export type StyledButtonProps = {
52
+ $themeButton: ButtonType;
53
+ hasLabel: boolean;
54
+ } & ButtonProps & DashedFocusBorderProps;
@@ -1,6 +1,5 @@
1
- import React from 'react';
1
+ import { Colors, Shades } from '../../styles/theme';
2
2
  import { JRCButtonProps } from '../JRCButton/JRCButton';
3
- import { Colors, Shades } from 'styles/theme';
4
3
  /**
5
4
  * Interface to provide JRCButtonDownloadProps props
6
5
  * @member content text stringify to download
@@ -18,4 +17,4 @@ export interface JRCButtonDownloadProps extends JRCButtonProps {
18
17
  * @param {label, action?, color?, variant?} props, @see JRCButtonDropdownProps
19
18
  * @returns JSX.Element
20
19
  */
21
- export declare const JRCButtonDownload: ({ icon, iconColor, isIconButton, data, fileName, ...props }: JRCButtonDownloadProps) => React.JSX.Element;
20
+ export declare const JRCButtonDownload: ({ icon, iconColor, isIconButton, data, fileName, ...props }: JRCButtonDownloadProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { JRCButtonDownloadProps } from './JRCButtonDownload';
2
+ import { Meta } from '@storybook/react-webpack5';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Simple: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonDownloadProps>;
6
+ export declare const CustomIconAndLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonDownloadProps>;
7
+ export declare const CustomIconButton: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonDownloadProps>;
8
+ export declare const CustomColorIconButton: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonDownloadProps>;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
1
  import type { JRCButtonDropdownProps } from './JRCButtonDropdown.types';
3
- export declare const JRCButtonDropdown: (props: JRCButtonDropdownProps) => React.JSX.Element;
2
+ export declare const JRCButtonDropdown: (props: JRCButtonDropdownProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,27 +1,29 @@
1
- import React from 'react';
2
- import type { ButtonProps, MenuWithTitleProps, DropdownOptionProps } from './JRCButtonDropdown.types';
3
- import { ButtonType } from '../JRCButton/JRCButtonConfig';
4
- export declare const MarginLessJRCButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("../../types/dataAttributes").DataCy & {
5
- color?: import("../JRCButton/JRCButton").ButtonColors | undefined;
6
- themeCustom?: ButtonType | undefined;
7
- loader?: boolean | undefined;
8
- autofocus?: boolean | undefined;
9
- value?: string | undefined;
10
- icon?: string | undefined;
11
- iconRight?: boolean | undefined;
12
- variant?: "link" | "contained" | "outlined" | undefined;
13
- float?: "left" | "right" | undefined;
14
- minWidth?: string | undefined;
15
- hasLicense?: boolean | undefined;
16
- tooltip?: Omit<import("../..").JRCTooltipProps, "children"> | undefined;
17
- label?: string | undefined;
18
- noMargin?: boolean | undefined;
19
- size?: "s" | "m" | undefined;
20
- srOnly?: string | undefined;
21
- borderRadius?: "right" | undefined;
22
- } & React.RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, ButtonProps & {
23
- small?: boolean | undefined;
1
+ import { ButtonType } from '../JRCButton/types';
2
+ import type { ButtonProps, DropdownOptionProps, MenuWithTitleProps } from './JRCButtonDropdown.types';
3
+ export declare const MarginLessJRCButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("../../types/dataAttributes").DataCy & {
4
+ color?: import("../JRCButton/types").ButtonColors;
5
+ themeCustom?: ButtonType;
6
+ loader?: boolean;
7
+ autofocus?: boolean;
8
+ value?: string;
9
+ icon?: string;
10
+ iconRight?: boolean;
11
+ variant?: "contained" | "outlined" | "link";
12
+ float?: "left" | "right";
13
+ minWidth?: string;
14
+ hasLicense?: boolean;
15
+ label?: string;
16
+ noMargin?: boolean;
17
+ size?: "m" | "s";
18
+ srOnly?: string;
19
+ borderRadius?: "right";
20
+ } & {
21
+ tooltip?: Omit<import("../..").JRCTooltipProps, "children">;
22
+ } & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, ButtonProps & {
23
+ small?: boolean;
24
24
  }, never>;
25
25
  export declare const MenuWithoutTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
26
- export declare const MenuWithTitle: ({ direction, label, themeButton, children }: MenuWithTitleProps) => React.JSX.Element;
27
- export declare const DropdownOption: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, DropdownOptionProps, never>;
26
+ export declare const MenuWithTitle: ({ direction, label, themeButton, children }: MenuWithTitleProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const DropdownOption: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, DropdownOptionProps & {
28
+ lastChild?: boolean;
29
+ }, never>;
@@ -1,10 +1,10 @@
1
1
  import { JRCButtonProps } from '../JRCButton/JRCButton';
2
- import React from 'react';
2
+ import { ButtonType } from '../JRCButton/types';
3
3
  import { JRCIconProps } from '../JRCIcon/JRCIcon';
4
- import { ButtonType } from '../JRCButton/JRCButtonConfig';
4
+ import { ReactElement, ReactNode, MouseEvent } from 'react';
5
5
  export type JRCButtonDropdownOptionProps = {
6
6
  icon?: Pick<JRCIconProps, 'name' | 'color' | 'variant'>;
7
- label: string | React.ReactElement<string>;
7
+ label: string | ReactElement<string>;
8
8
  onClick?: () => void;
9
9
  href?: string;
10
10
  target?: '_blank';
@@ -18,7 +18,7 @@ export type JRCButtonDropdownProps = {
18
18
  small?: boolean;
19
19
  smallOpenDirection?: 'right' | 'left';
20
20
  optionSelected?: boolean;
21
- onClick?: (event?: React.MouseEvent) => void;
21
+ onClick?: (event?: MouseEvent<HTMLButtonElement>) => void;
22
22
  variant?: JRCButtonProps['variant'];
23
23
  options: Array<JRCButtonDropdownOptionProps>;
24
24
  semiTransparentClosed?: boolean;
@@ -40,7 +40,7 @@ export type OpenDirection = {
40
40
  export type MenuWithTitleProps = OpenDirection & {
41
41
  label: string;
42
42
  themeButton: ButtonProps['$themeButton'];
43
- children: React.ReactNode;
43
+ children: ReactNode;
44
44
  };
45
45
  export type DropdownOptionProps = {
46
46
  optionSelected?: boolean;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { JRCButtonProps } from '../JRCButton/JRCButton';
3
2
  /**
4
3
  * Interface to provide JRCMenu props
@@ -15,4 +14,4 @@ export interface JRCButtonFileProps extends JRCButtonProps {
15
14
  * @param {label, action?, color?, variant?} props, @see JRCButtonDropdownProps
16
15
  * @returns JSX.Element
17
16
  */
18
- export declare const JRCButtonFile: ({ icon, multiple, getContent, ...props }: JRCButtonFileProps) => React.JSX.Element;
17
+ export declare const JRCButtonFile: ({ icon, multiple, getContent, ...props }: JRCButtonFileProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { JRCButtonFileProps } from './JRCButtonFile';
2
+ import { Meta } from '@storybook/react-webpack5';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Simple: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonFileProps>;
6
+ export declare const Multiple: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonFileProps>;
7
+ export declare const CustomIconAndLabel: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCButtonFileProps>;
@@ -1,5 +1,5 @@
1
1
  export declare const CalendarStyle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
- loading?: boolean | undefined;
3
- view: 'list' | 'grid';
4
- fullScreen?: boolean | undefined;
2
+ loading?: boolean;
3
+ view: "list" | "grid";
4
+ fullScreen?: boolean;
5
5
  }, never>;
@@ -1,32 +1,2 @@
1
- import React, { ReactNode } from 'react';
2
- import { CalendarEventViewAbstractType, CalendarEventWithExtensions, JArticleApi, JCalendarApi, JGlobalApi } from 'jamespot-user-api';
3
- import { CalendarApi } from '@fullcalendar/core';
4
- export type JRCCalendarProps = {
5
- events?: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>[];
6
- loading?: boolean;
7
- onChangeDates?: (start: Date, end: Date) => void;
8
- onError: (errorMsg?: string) => void;
9
- onSuccess: (message: string) => void;
10
- handler: {
11
- global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
12
- calendar: Pick<JCalendarApi, 'reviveSubmit'>;
13
- article: Pick<JArticleApi, 'delete'>;
14
- };
15
- defaultView: CalendarView;
16
- eventModalExtraComponent?: (event: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>) => ReactNode;
17
- onChangeView?: (view: {
18
- label: string;
19
- value: CalendarView;
20
- }) => void;
21
- fullScreen?: boolean;
22
- deportedToolbar?: {
23
- onChangeLabel?: (label: string) => void;
24
- onCalendarApiInit?: (api?: CalendarApi) => void;
25
- view?: {
26
- label: string;
27
- value: CalendarView;
28
- };
29
- };
30
- };
31
- export type CalendarView = 'dayGridMonth' | 'timeGridWeek' | 'timeGridDay' | 'list';
32
- export declare const JRCCalendar: ({ events, loading, onChangeDates, onError, handler, onSuccess, defaultView, eventModalExtraComponent, onChangeView, fullScreen, deportedToolbar, }: JRCCalendarProps) => React.JSX.Element;
1
+ import { JRCCalendarProps } from './types';
2
+ export declare const JRCCalendar: ({ events, loading, onChangeDates, onError, handler, onSuccess, defaultView, eventModalExtraComponent, onChangeView, fullScreen, deportedToolbar, }: JRCCalendarProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react-webpack5';
2
+ import { JRCCalendar } from './JRCCalendar';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ type Story = StoryObj<typeof JRCCalendar>;
6
+ export declare const Primary: Story;
@@ -1,33 +1,2 @@
1
- import * as React from 'react';
2
- import { CalendarView } from './JRCCalendar';
3
- import { Audience, JCalendarApi, JGlobalApi, UserResponseStatus } from 'jamespot-user-api';
4
- import { SubscriptionModifiers } from './JRCEventStatusButton';
5
- export type JRCCalendarEventProps = {
6
- id: string;
7
- title: string;
8
- start: Date | null;
9
- end: Date | null;
10
- status: UserResponseStatus | null;
11
- display: CalendarView;
12
- onClick: (id: number) => void;
13
- audience: Pick<Audience, '_url' | 'title' | 'uri'>[];
14
- allDay?: boolean;
15
- textColor?: string;
16
- backgroundColor?: string;
17
- address?: string;
18
- image: boolean;
19
- type: string;
20
- isVisio?: boolean;
21
- handler: {
22
- global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
23
- calendar: Pick<JCalendarApi, 'reviveSubmit'>;
24
- };
25
- onError: (errMsg?: string) => void;
26
- onSuccess: (message: string) => void;
27
- noGestion: boolean;
28
- setSubscriptionModifiers: (fn: (prev: SubscriptionModifiers) => SubscriptionModifiers) => void;
29
- uri: string;
30
- canSubscribe: boolean;
31
- subscriptionModifiers: SubscriptionModifiers;
32
- };
33
- export declare const JRCCalendarEvent: ({ status, title, start, end, display, id: stringId, onClick, audience, allDay, textColor, backgroundColor, address, image, type, isVisio, handler, onError, onSuccess, noGestion, setSubscriptionModifiers, uri, canSubscribe, subscriptionModifiers, }: JRCCalendarEventProps) => React.JSX.Element | null;
1
+ import { JRCCalendarEventProps } from './types';
2
+ export declare const JRCCalendarEvent: ({ status, title, start, end, display, id: stringId, onClick, audience, allDay, textColor, backgroundColor, address, image, type, isVisio, handler, onError, onSuccess, noGestion, setSubscriptionModifiers, uri, canSubscribe, subscriptionModifiers, }: JRCCalendarEventProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  import { CalendarEventViewAbstractType, CalendarEventWithExtensions, JArticleApi, JCalendarApi, JGlobalApi } from 'jamespot-user-api';
3
3
  import { SubscriptionModifiers } from './JRCEventStatusButton';
4
4
  export type JRCCalendarModalProps = {
@@ -16,4 +16,4 @@ export type JRCCalendarModalProps = {
16
16
  setSubscriptionModifiers: (fn: (prev: SubscriptionModifiers) => SubscriptionModifiers) => void;
17
17
  subscriptionModifiers: SubscriptionModifiers;
18
18
  };
19
- export declare const JRCCalendarModal: ({ open, closeHandler, event, handler, onError, onSuccess, extraComponent, setSubscriptionModifiers, subscriptionModifiers, }: JRCCalendarModalProps) => React.JSX.Element;
19
+ export declare const JRCCalendarModal: ({ open, closeHandler, event, handler, onError, onSuccess, extraComponent, setSubscriptionModifiers, subscriptionModifiers, }: JRCCalendarModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { JGlobalApi, UserResponseStatus } from 'jamespot-user-api';
3
2
  export type SubscriptionModifiers = {
4
3
  uri: string;
@@ -21,4 +20,4 @@ export type JRCEventStatusButtonProps = {
21
20
  eventUri: string;
22
21
  status: UserResponseStatus | null;
23
22
  };
24
- export declare const JRCEventStatusButton: ({ onError, handler, onSuccess, eventId, eventUri, eventType, eventIsVisio, initialStatus, canSubscribe, setSubscriptionModifiers, status, }: JRCEventStatusButtonProps) => React.JSX.Element | null;
23
+ export declare const JRCEventStatusButton: ({ onError, handler, onSuccess, eventId, eventUri, eventType, eventIsVisio, initialStatus, canSubscribe, setSubscriptionModifiers, status, }: JRCEventStatusButtonProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,60 @@
1
+ import { CalendarApi } from '@fullcalendar/core';
2
+ import { Audience, CalendarEventViewAbstractType, CalendarEventWithExtensions, JArticleApi, JCalendarApi, JGlobalApi, UserResponseStatus } from 'jamespot-user-api';
3
+ import { ReactNode } from 'react';
4
+ import { SubscriptionModifiers } from './JRCEventStatusButton';
5
+ export type CalendarView = 'dayGridMonth' | 'timeGridWeek' | 'timeGridDay' | 'list';
6
+ export type JRCCalendarProps = {
7
+ events?: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>[];
8
+ loading?: boolean;
9
+ onChangeDates?: (start: Date, end: Date) => void;
10
+ onError: (errorMsg?: string) => void;
11
+ onSuccess: (message: string) => void;
12
+ handler: {
13
+ global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
14
+ calendar: Pick<JCalendarApi, 'reviveSubmit'>;
15
+ article: Pick<JArticleApi, 'delete'>;
16
+ };
17
+ defaultView: CalendarView;
18
+ eventModalExtraComponent?: (event: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>) => ReactNode;
19
+ onChangeView?: (view: {
20
+ label: string;
21
+ value: CalendarView;
22
+ }) => void;
23
+ fullScreen?: boolean;
24
+ deportedToolbar?: {
25
+ onChangeLabel?: (label: string) => void;
26
+ onCalendarApiInit?: (api?: CalendarApi) => void;
27
+ view?: {
28
+ label: string;
29
+ value: CalendarView;
30
+ };
31
+ };
32
+ };
33
+ export type JRCCalendarEventProps = {
34
+ id: string;
35
+ title: string;
36
+ start: Date | null;
37
+ end: Date | null;
38
+ status: UserResponseStatus | null;
39
+ display: CalendarView;
40
+ onClick: (id: number) => void;
41
+ audience: Pick<Audience, '_url' | 'title' | 'uri'>[];
42
+ allDay?: boolean;
43
+ textColor?: string;
44
+ backgroundColor?: string;
45
+ address?: string;
46
+ image: boolean;
47
+ type: string;
48
+ isVisio?: boolean;
49
+ handler: {
50
+ global: Pick<JGlobalApi, 'updateAction' | 'removeAction'>;
51
+ calendar: Pick<JCalendarApi, 'reviveSubmit'>;
52
+ };
53
+ onError: (errMsg?: string) => void;
54
+ onSuccess: (message: string) => void;
55
+ noGestion: boolean;
56
+ setSubscriptionModifiers: (fn: (prev: SubscriptionModifiers) => SubscriptionModifiers) => void;
57
+ uri: string;
58
+ canSubscribe: boolean;
59
+ subscriptionModifiers: SubscriptionModifiers;
60
+ };
@@ -1,7 +1,7 @@
1
- import { MessageType } from 'components/Common/util/getColor.util';
2
- import * as React from 'react';
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { MessageType } from '../Common/util/getColor.util';
3
3
  export type TVariants = 'span' | 'div';
4
- export type JRCCardProps = React.ComponentPropsWithoutRef<'div'> & {
4
+ export type JRCCardProps = ComponentPropsWithoutRef<'div'> & {
5
5
  variant?: TVariants;
6
6
  type?: MessageType;
7
7
  padding?: PaddingValues;
@@ -15,7 +15,7 @@ export declare const PADDING: {
15
15
  large: string;
16
16
  };
17
17
  export declare const Card: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
18
- type?: MessageType | undefined;
19
- padding?: "base" | "small" | "medium" | "large" | "mini" | undefined;
18
+ type?: MessageType;
19
+ padding?: PaddingValues;
20
20
  }, never>;
21
- export declare const JRCCard: (props: JRCCardProps) => React.JSX.Element;
21
+ export declare const JRCCard: (props: JRCCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { JRCCardProps } from './JRCCard';
2
+ import { Meta } from '@storybook/react-webpack5';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Primary: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCCardProps>;
@@ -1,5 +1,5 @@
1
1
  import { ImgUrlProps } from 'jamespot-user-api';
2
- import * as React from 'react';
2
+ import { ReactNode } from 'react';
3
3
  declare const ASPECTS: {
4
4
  '4:3': number;
5
5
  '5:4': number;
@@ -19,18 +19,18 @@ export type JRCCardImgProps = {
19
19
  img?: string;
20
20
  imgFromObject?: ImgUrlProps;
21
21
  title: string;
22
- content?: React.ReactNode;
22
+ content?: ReactNode;
23
23
  aspect?: keyof typeof ASPECTS;
24
24
  href?: string;
25
25
  onClick?: (event: any) => any;
26
26
  actions?: {
27
- children: React.ReactNode;
27
+ children: ReactNode;
28
28
  position?: ActionsPosition;
29
29
  };
30
30
  lazyLoading?: boolean;
31
31
  };
32
32
  export declare const Actions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
33
- position?: ActionsPosition | undefined;
33
+ position?: ActionsPosition;
34
34
  }, never>;
35
- export declare const JRCCardImg: (props: JRCCardImgProps) => React.JSX.Element;
35
+ export declare const JRCCardImg: (props: JRCCardImgProps) => import("react/jsx-runtime").JSX.Element;
36
36
  export {};
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react-webpack5';
2
+ import { JRCCardImgProps } from './JRCCardImg';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Primary: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, JRCCardImgProps>;