jamespot-react-components 1.2.1 → 1.2.2
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { JRCInputSelectProps } from './JRCInputSelect.types';
|
|
3
1
|
import { BaseAutocomplete, PagingResults } from 'jamespot-user-api';
|
|
2
|
+
import * as React from 'react';
|
|
4
3
|
import { FieldValues } from 'react-hook-form';
|
|
5
4
|
import { JRCModalProps } from '../../../JRCModal/templates/JRCModal.types';
|
|
5
|
+
import { JRCInputSelectProps } from './JRCInputSelect.types';
|
|
6
6
|
export type JRCInputSelectListProps<T extends FieldValues = FieldValues> = Omit<JRCInputSelectProps<T>, 'asyncPromise'> & Pick<JRCModalProps, 'inPlace'> & {
|
|
7
7
|
asyncPromise?: (inputValue: string, page?: number) => Promise<PagingResults<any>>;
|
|
8
8
|
displayModal?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { NativeSelectProps } from './JRCInputSelect.types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
3
|
+
import { NativeSelectProps } from './JRCInputSelect.types';
|
|
4
4
|
export declare const JRCInputSelectRaw: <T extends FieldValues = FieldValues, U = any>(props: Pick<Partial<NativeSelectProps<T, U>>, "ref"> & Omit<NativeSelectProps<T, U>, "ref">) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/jamespot-react-components.js",
|
|
6
6
|
"types": "./build/src/index.d.ts",
|
|
@@ -75,12 +75,10 @@
|
|
|
75
75
|
"lint-staged": "^12.0.2",
|
|
76
76
|
"nyc": "^17.1.0",
|
|
77
77
|
"prettier": "^2.4.1",
|
|
78
|
-
"react-docgen-typescript-plugin": "^1.0.8",
|
|
79
78
|
"react-test-renderer": "^17.0.1",
|
|
80
79
|
"redux-form": "^8.3.8",
|
|
81
80
|
"source-map-loader": "^1.0.1",
|
|
82
81
|
"storybook": "^8.6.12",
|
|
83
|
-
"storybook-addon-react-docgen": "^1.2.44",
|
|
84
82
|
"style-loader": "^1.2.1",
|
|
85
83
|
"ts-jest": "^27.0.7",
|
|
86
84
|
"ts-loader": "^8.0.2",
|
|
@@ -96,7 +94,7 @@
|
|
|
96
94
|
"chroma-js": "^2.1.1",
|
|
97
95
|
"classnames": "^2.3.1",
|
|
98
96
|
"dompurify": "^3.0.5",
|
|
99
|
-
"jamespot-user-api": "^1.2.
|
|
97
|
+
"jamespot-user-api": "^1.2.2",
|
|
100
98
|
"react": "^17.x",
|
|
101
99
|
"react-beautiful-dnd": "^13.1.1",
|
|
102
100
|
"react-dnd": "^14.0.4",
|