ods-component-lib 1.18.60 → 1.18.62
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/index.js +335 -13
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +335 -13
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsInput/OdsInput.stories.d.ts +45 -0
- package/dist/stories/OdsInput/Samples/BasicInput.Sample.d.ts +1 -0
- package/dist/stories/OdsInputNumber/OdsInputNumber.stories.d.ts +72 -0
- package/dist/stories/OdsInputNumber/Samples/BasicInputNumber.Sample.d.ts +1 -0
- package/dist/stories/OdsModal/OdsModal.stories.d.ts +28 -0
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +1 -0
- package/dist/stories/OdsRadio/OdsRadio.stories.d.ts +32 -0
- package/dist/stories/OdsRadio/Samples/BasicRadio.Sample.d.ts +1 -0
- package/dist/stories/OdsRadio/Samples/DisabledRadio.Sample.d.ts +1 -0
- package/dist/stories/OdsRadioGroup/OdsRadioGroup.stories.d.ts +51 -0
- package/dist/stories/OdsRadioGroup/Samples/BasicRadioGroup.Sample.d.ts +1 -0
- package/dist/stories/OdsSearch/OdsSearch.stories.d.ts +33 -0
- package/dist/stories/OdsSearch/Samples/BasicSearch.Sample.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import OdsInput from "../../components/antd/input/OdsInput.";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsInput;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
allowClear: {
|
|
8
|
+
options: string[];
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
disabled: {
|
|
12
|
+
options: string[];
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
options: string[];
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
variant: {
|
|
23
|
+
options: string[];
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
onChange: {
|
|
30
|
+
action: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
onPressEnter: {
|
|
34
|
+
action: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
parameters: {
|
|
39
|
+
controls: {
|
|
40
|
+
exclude: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
export declare const BasicInput: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import OdsInputNumber from "../../components/antd/inputNumber/OdsInputNumber";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsInputNumber;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
autoFocus: {
|
|
8
|
+
options: string[];
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
changeOnBlur: {
|
|
12
|
+
options: string[];
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
changeOnWheel: {
|
|
16
|
+
options: string[];
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
options: string[];
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
keyboard: {
|
|
24
|
+
options: string[];
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
readOnly: {
|
|
28
|
+
options: string[];
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
status: {
|
|
32
|
+
options: string[];
|
|
33
|
+
control: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
options: string[];
|
|
40
|
+
control: {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
variant: {
|
|
46
|
+
options: string[];
|
|
47
|
+
control: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
onChange: {
|
|
53
|
+
action: string;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
onPressEnter: {
|
|
57
|
+
action: string;
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
60
|
+
onStep: {
|
|
61
|
+
action: string;
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
parameters: {
|
|
66
|
+
controls: {
|
|
67
|
+
exclude: string[];
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
export default _default;
|
|
72
|
+
export declare const BasicInputNumber: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import OdsModal from "../../components/antd/modal/OdsModal";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsModal;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
title: {
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
open: {
|
|
11
|
+
options: string[];
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
onOk: {
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
onCancel: {
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
parameters: {
|
|
22
|
+
controls: {
|
|
23
|
+
exclude: string[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
export declare const Basic: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicModal: any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import OdsRadio from "../../components/antd/radio/OdsRadio";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsRadio;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
autoFocus: {
|
|
8
|
+
options: string[];
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
checked: {
|
|
12
|
+
options: string[];
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
defaultChecked: {
|
|
16
|
+
options: string[];
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
value: {
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
parameters: {
|
|
27
|
+
controls: {};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
31
|
+
export declare const BasicRadio: any;
|
|
32
|
+
export declare const DisabledRadio: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DisabledTemplate: any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import OdsRadioGroup from "../../components/antd/radio/OdsRadioGroup";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsRadioGroup;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
buttonStyle: {
|
|
8
|
+
options: string[];
|
|
9
|
+
description: string;
|
|
10
|
+
control: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
defaultValue: {
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
options: string[];
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
name: {
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
options: {
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
optionType: {
|
|
28
|
+
options: string[];
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
options: string[];
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
value: {
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
onChange: {
|
|
42
|
+
action: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
parameters: {
|
|
47
|
+
controls: {};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
export declare const BasicRadioGroup: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import OdsSearch from "../../components/antd/input/OdsSearch";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsSearch;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
enterButton: {
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
loading: {
|
|
11
|
+
options: string[];
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
onSearch: {
|
|
15
|
+
action: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
options: string[];
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
parameters: {
|
|
27
|
+
controls: {
|
|
28
|
+
exclude: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
export declare const BasicSearch: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|