jamespot-react-components 1.3.43 → 1.3.44

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.
@@ -0,0 +1,6 @@
1
+ import { FieldValues } from 'react-hook-form';
2
+ import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
3
+ import { DataCy } from '../../../../types/dataAttributes';
4
+ import { ComponentPropsWithoutRef } from 'react';
5
+ export type JRCInputSimpleFileProps<T extends FieldValues = FieldValues> = JRCInputFieldProps<T> & DataCy & Omit<ComponentPropsWithoutRef<'input'>, 'value' | 'onChange'>;
6
+ export declare function JRCInputSimpleFile<T extends FieldValues = FieldValues>(props: JRCInputSimpleFileProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react-webpack5';
2
+ import { JRCInputSimpleFileProps } from './JRCInputSimpleFile';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const InputSimpleFile: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-webpack5').ReactRenderer, JRCInputSimpleFileProps>;
@@ -0,0 +1,4 @@
1
+ import { DataCy } from '../../../../types/dataAttributes';
2
+ export declare const JRCInputSimpleFileRaw: import('react').ForwardRefExoticComponent<DataCy & Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange"> & {
3
+ onChange?: (file: File | undefined) => void;
4
+ } & import('react').RefAttributes<HTMLInputElement>>;
@@ -5,5 +5,5 @@ export type JRCMessageProps = {
5
5
  message?: string | ReactNode;
6
6
  messages?: string[];
7
7
  };
8
- export declare const JRCMessage: ({ variant, message, messages }: JRCMessageProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const JRCMessage: ({ variant, message, messages }: JRCMessageProps) => import("react/jsx-runtime").JSX.Element | null;
9
9
  export {};
@@ -22,6 +22,8 @@ export { JRCInputFile } from './Form/Input/JRCInputFile/JRCInputFile';
22
22
  export { JRCInputFileAdvancedRaw } from './Form/Input/JRCInputFileAdvanced/JRCInputFileAdvancedRaw';
23
23
  export { JRCInputImage } from './Form/Input/JRCInputImage/JRCInputImage';
24
24
  export { JRCInputSearchRaw } from './Form/Input/JRCInputSearchRaw/JRCInputSearchRaw';
25
+ export { JRCInputSimpleFile } from './Form/Input/JRCInputSimpleFile/JRCInputSimpleFile';
26
+ export { JRCInputSimpleFileRaw } from './Form/Input/JRCInputSimpleFile/JRCInputSimpleFileRaw';
25
27
  export { JRCInputPassword } from './Form/Input/JRCInputText/JRCInputPassword';
26
28
  export { JRCInputNumber, JRCInputText } from './Form/Input/JRCInputText/JRCInputText';
27
29
  export { JRCInputTextIconButton } from './Form/Input/JRCInputText/JRCInputTextIconButton';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.3.43",
3
+ "version": "1.3.44",
4
4
  "description": "",
5
5
  "main": "dist/jamespot-react-components.js",
6
6
  "module": "dist/jamespot-react-components.mjs",
@@ -78,7 +78,7 @@
78
78
  "globals": "^16.5.0",
79
79
  "html2canvas": "^1.4.1",
80
80
  "husky": "^9.1.7",
81
- "jamespot-user-api": "^1.3.43",
81
+ "jamespot-user-api": "^1.3.44",
82
82
  "jest": "^30.2.0",
83
83
  "jest-environment-jsdom": "^30.2.0",
84
84
  "knip": "^5.70.0",