@apexcura/ui-components 0.0.16-Beta154 → 0.0.16-Beta155
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.
- package/dist/Components/RadioElement.d.ts +12 -1
- package/dist/Types/types.d.ts +8 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/report.html +2 -2
- package/package.json +1 -1
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ElementType } from '../Types/types';
|
|
3
|
-
|
|
3
|
+
type radioValueProps = {
|
|
4
|
+
value: {
|
|
5
|
+
key?: string | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
value?: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
type RadioProps = ElementType & {
|
|
11
|
+
value: radioValueProps;
|
|
12
|
+
};
|
|
13
|
+
export declare const RadioElement: (props: RadioProps) => React.JSX.Element;
|
|
14
|
+
export {};
|
package/dist/Types/types.d.ts
CHANGED
|
@@ -18,6 +18,13 @@ type dropDownValueProps = {
|
|
|
18
18
|
value?: string | undefined;
|
|
19
19
|
} | undefined;
|
|
20
20
|
};
|
|
21
|
+
type radioValueProps = {
|
|
22
|
+
value: {
|
|
23
|
+
key?: string | undefined;
|
|
24
|
+
label?: string | undefined;
|
|
25
|
+
value?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
21
28
|
export type ElementType = {
|
|
22
29
|
active?: number;
|
|
23
30
|
visitedClassName?: string;
|
|
@@ -40,7 +47,7 @@ export type ElementType = {
|
|
|
40
47
|
size?: SizeType;
|
|
41
48
|
errorText?: string;
|
|
42
49
|
errorClassName?: string;
|
|
43
|
-
value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | dropDownValueProps;
|
|
50
|
+
value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | dropDownValueProps | radioValueProps;
|
|
44
51
|
status?: 'error' | 'warning';
|
|
45
52
|
styles?: React.CSSProperties;
|
|
46
53
|
variant?: 'outlined' | 'borderless' | 'filled';
|