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 +1,2 @@
1
- export declare const WidgetMissingToken: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const WidgetMissingToken: () => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- export declare const useImageLoader: (url: string, maxWidth?: number | undefined) => {
1
+ export declare const useImageLoader: (url: string, maxWidth?: number) => {
2
2
  loading: boolean;
3
3
  error: boolean;
4
4
  width: number;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const withReduxForm: (storyFunc: any) => JSX.Element;
1
+ import * as React from 'react';
2
+ export declare const withReduxForm: (storyFunc: any) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  };
5
5
  export default _default;
6
- export declare const Colors: () => JSX.Element;
6
+ export declare const Colors: () => React.JSX.Element;
@@ -4,7 +4,7 @@ export interface ITheme {
4
4
  get: () => DefaultTheme;
5
5
  initTheme: (options?: ThemeConfigOptions) => void;
6
6
  }
7
- export declare type ThemeConfigOptions = {
7
+ export type ThemeConfigOptions = {
8
8
  fontFamily?: string;
9
9
  linkColor: string;
10
10
  buttonColor: string;
@@ -18,25 +18,25 @@ export declare type ThemeConfigOptions = {
18
18
  navTextColor: string;
19
19
  bgColorNotLogged: string;
20
20
  };
21
- export declare type Colors = 'primary' | 'secondary' | 'headerColor' | 'headerTextColor' | 'headerUserBackground' | 'headerUserTextColor' | 'headerSearchBarTextColor' | 'headerSearchBarBackgroundColor' | 'lavender' | 'orange' | 'yellow' | 'green' | 'navy' | 'overseas' | 'night2' | 'sandLight' | 'sand' | 'grey0' | 'grey1' | 'grey2' | 'grey3' | 'grey4' | 'grey5' | 'grey6' | 'black' | 'black10' | 'black15' | 'black20' | 'white';
22
- declare type ThemeConfigColorType = {
21
+ export type Colors = 'primary' | 'secondary' | 'headerColor' | 'headerTextColor' | 'headerUserBackground' | 'headerUserTextColor' | 'headerSearchBarTextColor' | 'headerSearchBarBackgroundColor' | 'lavender' | 'orange' | 'yellow' | 'green' | 'navy' | 'overseas' | 'night2' | 'sandLight' | 'sand' | 'grey0' | 'grey1' | 'grey2' | 'grey3' | 'grey4' | 'grey5' | 'grey6' | 'black' | 'black10' | 'black15' | 'black20' | 'white';
22
+ type ThemeConfigColorType = {
23
23
  [color in Colors]: string;
24
24
  };
25
- export declare type Shades = 'primaryL15' | 'primaryL80' | 'primaryL90' | 'primaryD20' | 'secondaryL15' | 'secondaryL80' | 'secondaryL90' | 'secondaryD20' | 'greenL20' | 'greenL80' | 'greenL90' | 'greenD20' | 'orangeL15' | 'orangeL80' | 'orangeL90' | 'orangeD20';
26
- declare type ThemeConfigShadeType = {
25
+ export type Shades = 'primaryL15' | 'primaryL80' | 'primaryL90' | 'primaryD20' | 'secondaryL15' | 'secondaryL80' | 'secondaryL90' | 'secondaryD20' | 'greenL20' | 'greenL80' | 'greenL90' | 'greenD20' | 'orangeL15' | 'orangeL80' | 'orangeL90' | 'orangeD20';
26
+ type ThemeConfigShadeType = {
27
27
  [color in Shades]: string;
28
28
  };
29
- export declare type ColorsOrShades = Colors | Shades;
29
+ export type ColorsOrShades = Colors | Shades;
30
30
  export declare const NATIVE_COLORS: readonly ["currentColor", "inherit", "transparent"];
31
- export declare type NativeColor = (typeof NATIVE_COLORS)[number];
32
- export declare type FontWeight = {
31
+ export type NativeColor = (typeof NATIVE_COLORS)[number];
32
+ export type FontWeight = {
33
33
  light: number;
34
34
  normal: number;
35
35
  medium: number;
36
36
  semiBold: number;
37
37
  bold: number;
38
38
  };
39
- export declare type ThemeType = {
39
+ export type ThemeType = {
40
40
  dpr: number;
41
41
  fallbackUrl: {
42
42
  article: string;
@@ -3,5 +3,5 @@ import { RenderOptions, RenderResult } from '@testing-library/react';
3
3
  export interface RenderWrapperProps {
4
4
  children: React.ReactNode;
5
5
  }
6
- declare const renderWithWrapper: (ui: React.ReactElement, options?: Omit<RenderOptions<typeof import("@testing-library/dom/types/queries"), HTMLElement>, "queries"> | undefined) => RenderResult;
6
+ declare const renderWithWrapper: (ui: React.ReactElement, options?: Omit<RenderOptions, 'queries'>) => RenderResult;
7
7
  export { renderWithWrapper };
@@ -1,4 +1,4 @@
1
- declare type Uri = {
1
+ type Uri = {
2
2
  uri: string;
3
3
  };
4
4
  export declare const inArray: <T extends Uri>(arr: T[], value: T) => boolean;
@@ -1,4 +1,4 @@
1
- declare type ColorTransparencyPercent = 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;
1
+ type ColorTransparencyPercent = 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;
2
2
  export declare function colorTransparency(color: string, percent: ColorTransparencyPercent): string;
3
3
  export declare const colorimetry: {
4
4
  isValid: typeof isValidHexColor;
@@ -6,7 +6,7 @@ export interface extractDateProps {
6
6
  minutes: number;
7
7
  seconds: number;
8
8
  }
9
- export declare type DateFormat = 'date' | 'date-time' | 'date-time-sec' | 'time' | 'time-sec';
9
+ export type DateFormat = 'date' | 'date-time' | 'date-time-sec' | 'time' | 'time-sec';
10
10
  export declare const extractDate: (str: string) => extractDateProps;
11
11
  /**
12
12
  * Convert date string to timestamp
package/package.json CHANGED
@@ -1,147 +1,146 @@
1
1
  {
2
- "name": "jamespot-react-components",
3
- "version": "1.0.145",
4
- "description": "",
5
- "main": "./build/jamespot-react-components.js",
6
- "types": "./build/src/index.d.ts",
7
- "scripts": {
8
- "dev": "webpack --env NODE_ENV=development",
9
- "local": "webpack --env NODE_ENV=development WATCH=true",
10
- "build": "webpack --env NODE_ENV=production",
11
- "build-theme": "webpack --env NODE_ENV=theme",
12
- "build-dev-vm": "webpack --env NODE_ENV=development NODE_RUN=VM",
13
- "watch-dev-vm": "webpack --env NODE_ENV=development NODE_RUN=VM WATCH=true",
14
- "prettier": "npx prettier --write ./",
15
- "lint": "npx eslint ./src/ . --ext .ts,.tsx,.js",
16
- "lint:fix": "npx eslint ./src/ . --ext .ts,.tsx,.js --fix ",
17
- "lint:ci": "npx eslint --output-file eslint_report.json --format json . --ext .ts,.tsx,.js",
18
- "test": "jest --updateSnapshot",
19
- "test:watch": "npm run test -- --watch --verbose",
20
- "storybook": "start-storybook -p 6006",
21
- "storybook-no-cache": "cross-env NODE_ENV=development STORYBOOK_MODE=true PUBLIC_PATH='' start-storybook -s ./.storybook/assets/ -c .storybook -p 3022 --no-manager-cache",
22
- "build-storybook": "build-storybook",
23
- "prepare": "husky install"
24
- },
25
- "keywords": [],
26
- "author": "",
27
- "devDependencies": {
28
- "@babel/core": "^7.12.8",
29
- "@babel/plugin-proposal-class-properties": "^7.12.1",
30
- "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
31
- "@babel/preset-env": "^7.12.7",
32
- "@babel/preset-react": "^7.12.7",
33
- "@babel/preset-typescript": "^7.12.7",
34
- "@storybook/addon-actions": "6.4.19",
35
- "@storybook/addon-docs": "6.4.19",
36
- "@storybook/addon-essentials": "6.4.19",
37
- "@storybook/addon-links": "6.4.19",
38
- "@storybook/builder-webpack5": "6.4.19",
39
- "@storybook/manager-webpack5": "6.4.19",
40
- "@storybook/react": "6.4.19",
41
- "@testing-library/dom": "^8.11.0",
42
- "@testing-library/jest-dom": "^5.12.0",
43
- "@testing-library/react": "^12.1.2",
44
- "@testing-library/react-hooks": "^5.1.2",
45
- "@testing-library/user-event": "^13.1.8",
46
- "@types/chroma-js": "^2.1.3",
47
- "@types/classnames": "^2.2.10",
48
- "@types/dompurify": "^3.0.2",
49
- "@types/jest": "^27.0.2",
50
- "@types/node": "^20.3.1",
51
- "@types/react": "^17.0.2",
52
- "@types/react-dom": "^17.0.2",
53
- "@types/react-redux": "^7.1.24",
54
- "@types/react-router-dom": "^5.3.3",
55
- "@types/react-select": "^3.1.2",
56
- "@types/react-slick": "^0.23.4",
57
- "@types/react-table": "^7.7.3",
58
- "@types/react-test-renderer": "^17.0.1",
59
- "@types/redux-form": "^8.3.5",
60
- "@types/styled-components": "^5.1.4",
61
- "@types/testing-library__jest-dom": "^5.12.0",
62
- "@types/uuid": "^8.3.1",
63
- "@typescript-eslint/eslint-plugin": "^5.4.0",
64
- "@typescript-eslint/parser": "^5.4.0",
65
- "babel-jest": "^27.3.1",
66
- "babel-loader": "^8.2.1",
67
- "babel-plugin-react-intl": "^8.1.1",
68
- "babel-plugin-styled-components": "^1.12.0",
69
- "cross-env": "^6.0.3",
70
- "css-loader": "^4.2.1",
71
- "eslint": "^8.2.0",
72
- "eslint-config-prettier": "^8.3.0",
73
- "eslint-plugin-react-hooks": "^4.6.0",
74
- "file-loader": "^6.2.0",
75
- "html-webpack-plugin": "^5.5.0",
76
- "husky": "^7.0.4",
77
- "identity-obj-proxy": "^3.0.0",
78
- "jest": "^27.3.1",
79
- "jest-styled-components": "^7.0.3",
80
- "lint-staged": "^12.0.2",
81
- "prettier": "^2.4.1",
82
- "react-test-renderer": "^17.0.1",
83
- "redux-form": "^8.3.8",
84
- "source-map-loader": "^1.0.1",
85
- "style-loader": "^1.2.1",
86
- "ts-jest": "^27.0.7",
87
- "ts-loader": "^8.0.2",
88
- "ts-node": "^10.3.0",
89
- "typescript": "^4.4.4",
90
- "webpack": "^5.62.1",
91
- "webpack-cli": "^4.9.1",
92
- "webpack-dev-server": "^4.4.0"
93
- },
94
- "dependencies": {
95
- "@tiptap/core": "^2.0.3",
96
- "@tiptap/extension-character-count": "^2.0.3",
97
- "@tiptap/extension-color": "^2.0.3",
98
- "@tiptap/extension-link": "^2.0.3",
99
- "@tiptap/extension-mention": "^2.0.3",
100
- "@tiptap/extension-placeholder": "^2.0.3",
101
- "@tiptap/extension-text-align": "^2.0.3",
102
- "@tiptap/extension-text-style": "^2.0.3",
103
- "@tiptap/extension-underline": "^2.0.3",
104
- "@tiptap/react": "^2.0.3",
105
- "@tiptap/starter-kit": "^2.0.3",
106
- "@tiptap/suggestion": "^2.0.3",
107
- "chroma-js": "^2.1.1",
108
- "classnames": "^2.3.1",
109
- "dompurify": "^3.0.5",
110
- "jamespot-user-api": "^1.0.115",
111
- "moment": "^2.29.1",
112
- "react": "^17.x",
113
- "react-beautiful-dnd": "^13.1.1",
114
- "react-dnd": "^14.0.4",
115
- "react-dnd-html5-backend": "^14.0.2",
116
- "react-dom": "^17.0.2",
117
- "react-easy-crop": "^4.6.3",
118
- "react-hook-form": "^7.25.0",
119
- "react-intl": "^5.8.6",
120
- "react-redux": "^7.2.9",
121
- "react-router-dom": "^6.2.1",
122
- "react-select": "^3.2.0",
123
- "react-slick": "^0.28.1",
124
- "react-table": "^7.7.0",
125
- "react-tooltip": "^4.2.21",
126
- "redux": "^4.2.0",
127
- "redux-form": "^8.x",
128
- "slick-carousel": "^1.8.1",
129
- "styled-components": "^5.2.1",
130
- "styled-reset": "^4.2.3",
131
- "tippy.js": "^6.3.7",
132
- "uuid": "^8.3.2"
133
- },
134
- "peerDependencies": {
135
- "react": "^17.x",
136
- "redux-form": "^8.x"
137
- },
138
- "lint-staged": {
139
- "*.{js,jsx,ts,tsx}": [
140
- "npm run lint:fix",
141
- "npm run prettier"
142
- ],
143
- "*.{json,md}": [
144
- "npm run prettier"
145
- ]
146
- }
147
- }
2
+ "name": "jamespot-react-components",
3
+ "version": "1.0.146",
4
+ "description": "",
5
+ "main": "./build/jamespot-react-components.js",
6
+ "types": "./build/src/index.d.ts",
7
+ "keywords": [],
8
+ "author": "",
9
+ "devDependencies": {
10
+ "@babel/core": "^7.12.8",
11
+ "@babel/plugin-proposal-class-properties": "^7.12.1",
12
+ "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
13
+ "@babel/preset-env": "^7.12.7",
14
+ "@babel/preset-react": "^7.12.7",
15
+ "@babel/preset-typescript": "^7.12.7",
16
+ "@storybook/addon-actions": "6.4.19",
17
+ "@storybook/addon-docs": "6.4.19",
18
+ "@storybook/addon-essentials": "6.4.19",
19
+ "@storybook/addon-links": "6.4.19",
20
+ "@storybook/builder-webpack5": "6.4.19",
21
+ "@storybook/manager-webpack5": "6.4.19",
22
+ "@storybook/react": "6.4.19",
23
+ "@testing-library/dom": "^8.11.0",
24
+ "@testing-library/jest-dom": "^5.12.0",
25
+ "@testing-library/react": "^12.1.2",
26
+ "@testing-library/react-hooks": "^5.1.2",
27
+ "@testing-library/user-event": "^13.1.8",
28
+ "@types/chroma-js": "^2.1.3",
29
+ "@types/classnames": "^2.2.10",
30
+ "@types/dompurify": "^3.0.2",
31
+ "@types/jest": "^27.0.2",
32
+ "@types/node": "^20.3.1",
33
+ "@types/react": "^17.0.2",
34
+ "@types/react-dom": "^17.0.2",
35
+ "@types/react-redux": "^7.1.24",
36
+ "@types/react-router-dom": "^5.3.3",
37
+ "@types/react-select": "^3.1.2",
38
+ "@types/react-slick": "^0.23.4",
39
+ "@types/react-table": "^7.7.3",
40
+ "@types/react-test-renderer": "^17.0.1",
41
+ "@types/redux-form": "^8.3.5",
42
+ "@types/styled-components": "^5.1.4",
43
+ "@types/testing-library__jest-dom": "^5.12.0",
44
+ "@types/uuid": "^8.3.1",
45
+ "@typescript-eslint/eslint-plugin": "^5.4.0",
46
+ "@typescript-eslint/parser": "^5.4.0",
47
+ "babel-jest": "^27.3.1",
48
+ "babel-loader": "^8.2.1",
49
+ "babel-plugin-react-intl": "^8.1.1",
50
+ "babel-plugin-styled-components": "^1.12.0",
51
+ "cross-env": "^6.0.3",
52
+ "css-loader": "^4.2.1",
53
+ "eslint": "^8.2.0",
54
+ "eslint-config-prettier": "^8.3.0",
55
+ "eslint-plugin-react-hooks": "^4.6.0",
56
+ "file-loader": "^6.2.0",
57
+ "html-webpack-plugin": "^5.5.0",
58
+ "husky": "^7.0.4",
59
+ "identity-obj-proxy": "^3.0.0",
60
+ "jest": "^27.3.1",
61
+ "jest-styled-components": "^7.0.3",
62
+ "lint-staged": "^12.0.2",
63
+ "prettier": "^2.4.1",
64
+ "react-test-renderer": "^17.0.1",
65
+ "redux-form": "^8.3.8",
66
+ "source-map-loader": "^1.0.1",
67
+ "style-loader": "^1.2.1",
68
+ "ts-jest": "^27.0.7",
69
+ "ts-loader": "^8.0.2",
70
+ "ts-node": "^10.3.0",
71
+ "typescript": "^4.4.4",
72
+ "webpack": "^5.62.1",
73
+ "webpack-cli": "^4.9.1",
74
+ "webpack-dev-server": "^4.4.0"
75
+ },
76
+ "dependencies": {
77
+ "@tiptap/core": "^2.0.3",
78
+ "@tiptap/extension-character-count": "^2.0.3",
79
+ "@tiptap/extension-color": "^2.0.3",
80
+ "@tiptap/extension-link": "^2.0.3",
81
+ "@tiptap/extension-mention": "^2.0.3",
82
+ "@tiptap/extension-placeholder": "^2.0.3",
83
+ "@tiptap/extension-text-align": "^2.0.3",
84
+ "@tiptap/extension-text-style": "^2.0.3",
85
+ "@tiptap/extension-underline": "^2.0.3",
86
+ "@tiptap/react": "^2.0.3",
87
+ "@tiptap/starter-kit": "^2.0.3",
88
+ "@tiptap/suggestion": "^2.0.3",
89
+ "chroma-js": "^2.1.1",
90
+ "classnames": "^2.3.1",
91
+ "dompurify": "^3.0.5",
92
+ "jamespot-user-api": "^1.0.116",
93
+ "moment": "^2.29.1",
94
+ "react": "^17.x",
95
+ "react-beautiful-dnd": "^13.1.1",
96
+ "react-dnd": "^14.0.4",
97
+ "react-dnd-html5-backend": "^14.0.2",
98
+ "react-dom": "^17.0.2",
99
+ "react-easy-crop": "^4.6.3",
100
+ "react-hook-form": "^7.25.0",
101
+ "react-intl": "^5.8.6",
102
+ "react-redux": "^7.2.9",
103
+ "react-router-dom": "^6.2.1",
104
+ "react-select": "^3.2.0",
105
+ "react-slick": "^0.28.1",
106
+ "react-table": "^7.7.0",
107
+ "react-tooltip": "^4.2.21",
108
+ "redux": "^4.2.0",
109
+ "redux-form": "^8.x",
110
+ "slick-carousel": "^1.8.1",
111
+ "styled-components": "^5.2.1",
112
+ "styled-reset": "^4.2.3",
113
+ "tippy.js": "^6.3.7",
114
+ "uuid": "^8.3.2"
115
+ },
116
+ "peerDependencies": {
117
+ "react": "^17.x",
118
+ "redux-form": "^8.x"
119
+ },
120
+ "lint-staged": {
121
+ "*.{js,jsx,ts,tsx}": [
122
+ "npm run lint:fix",
123
+ "npm run prettier"
124
+ ],
125
+ "*.{json,md}": [
126
+ "npm run prettier"
127
+ ]
128
+ },
129
+ "scripts": {
130
+ "dev": "webpack --env NODE_ENV=development",
131
+ "local": "webpack --env NODE_ENV=development WATCH=true",
132
+ "build": "webpack --env NODE_ENV=production",
133
+ "build-theme": "webpack --env NODE_ENV=theme",
134
+ "build-dev-vm": "webpack --env NODE_ENV=development NODE_RUN=VM",
135
+ "watch-dev-vm": "webpack --env NODE_ENV=development NODE_RUN=VM WATCH=true",
136
+ "prettier": "npx prettier --write ./",
137
+ "lint": "npx eslint ./src/ . --ext .ts,.tsx,.js",
138
+ "lint:fix": "npx eslint ./src/ . --ext .ts,.tsx,.js --fix ",
139
+ "lint:ci": "npx eslint --output-file eslint_report.json --format json . --ext .ts,.tsx,.js",
140
+ "test": "jest --updateSnapshot",
141
+ "test:watch": "npm run test -- --watch --verbose",
142
+ "storybook": "start-storybook -p 6006",
143
+ "storybook-no-cache": "cross-env NODE_ENV=development STORYBOOK_MODE=true PUBLIC_PATH='' start-storybook -s ./.storybook/assets/ -c .storybook -p 3022 --no-manager-cache",
144
+ "build-storybook": "build-storybook"
145
+ }
146
+ }