jamespot-react-components 1.0.99 → 1.0.104

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.
@@ -24,7 +24,7 @@ export declare const JRCIconButtonAppLeftColumn: import("styled-components").Sty
24
24
  (props: Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & import("../../types/dataAttributes").DataCy & {
25
25
  icon: string;
26
26
  size?: "small" | "medium" | undefined;
27
- onClick?: ((event?: import("react").MouseEvent<Element, MouseEvent> | undefined) => void) | undefined;
27
+ onClick?: ((event?: import("react").MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void) | undefined;
28
28
  name?: string | undefined;
29
29
  value?: string | undefined;
30
30
  disabled?: boolean | undefined;
@@ -17,7 +17,7 @@ import { DataCy } from '../../types/dataAttributes';
17
17
  export declare type JRCIconButtonProps = React.ComponentPropsWithoutRef<'button'> & DataCy & {
18
18
  icon: string;
19
19
  size?: 'small' | 'medium';
20
- onClick?: (event?: React.MouseEvent) => void;
20
+ onClick?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
21
21
  name?: string;
22
22
  value?: string;
23
23
  disabled?: boolean;
@@ -1,2 +1,3 @@
1
+ import React from 'react';
1
2
  import { JRCContainerProps } from './template.type';
2
- export declare const JRCContainer: ({ children, scrollRef, ...props }: JRCContainerProps) => JSX.Element;
3
+ export declare const JRCContainer: React.ForwardRefExoticComponent<JRCContainerProps & React.RefAttributes<HTMLDivElement>>;
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  export declare type JRCContainerProps = {
3
3
  children: React.ReactNode;
4
4
  className?: string;
5
- scrollRef?: React.MutableRefObject<HTMLDivElement>;
6
5
  };
7
6
  export declare type JRCColumnProps = {
8
7
  children: React.ReactNode;
@@ -69,7 +69,7 @@ export { JRCFormSendAlertField } from './components/Form/Input/JRCFormSendAlert/
69
69
  export { JRCFormTextarea, JRCFormTextareaField } from './components/Form/Input/JRCFormTextarea/JRCFormTextarea';
70
70
  export { JRCFormTextField } from './components/Form/Input/JRCFormText/JRCFormText';
71
71
  export { JRCFormUrlField } from './components/Form/Input/JRCFormURL/JRCFormUrl';
72
- export { JRCGrid } from 'components/JRCGrid/JRCGrid';
72
+ export { JRCGrid } from './components/JRCGrid/JRCGrid';
73
73
  export { JRCH1, JRCH2, JRCH3, JRCH4, JRCH5, JRCText } from './components/JRCTypo/JRCTypo';
74
74
  export { JRCIcon } from './components/JRCIcon/JRCIcon';
75
75
  export { JRCIconButton } from './components/JRCIconButton/JRCIconButton';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.99",
3
+ "version": "1.0.104",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",
@@ -98,7 +98,7 @@
98
98
  "@types/redux-logger": "^3.0.8",
99
99
  "chroma-js": "^2.1.1",
100
100
  "classnames": "^2.3.1",
101
- "jamespot-user-api": "^1.0.72",
101
+ "jamespot-user-api": "^1.0.76",
102
102
  "moment": "^2.29.1",
103
103
  "react": "^17.x",
104
104
  "react-dnd": "^14.0.4",
@@ -345,4 +345,4 @@
345
345
 
346
346
 
347
347
 
348
- window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.03b36f08.iframe.bundle.js"></script><script src="899.f19a54f4.iframe.bundle.js"></script><script src="main.796ce979.iframe.bundle.js"></script></body></html>
348
+ window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.03b36f08.iframe.bundle.js"></script><script src="899.f19a54f4.iframe.bundle.js"></script><script src="main.8996cd39.iframe.bundle.js"></script></body></html>