ods-component-lib 1.18.52 → 1.18.53
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/antd/cascader/OdsCascader.d.ts +4 -0
- package/dist/components/antd/cascader/OdsCascader.styled.d.ts +46 -0
- package/dist/components/antd/dropdown/OdsDropdown.d.ts +2 -2
- package/dist/components/antd/steps/OdsSteps.d.ts +8 -1
- package/dist/components/antd/typography/OdsLink.d.ts +5 -2
- package/dist/components/antd/typography/OdsParagraph.d.ts +5 -2
- package/dist/components/antd/typography/OdsTypography.d.ts +7 -0
- package/dist/components/antd/typography/Typography.styled.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +50 -46
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +48 -45
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/Commons/OdsParagraph/OdsParagraph.stories.d.ts +15 -0
- package/dist/stories/Commons/OdsParagraph/Samples/BasicParagraph.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsParagraph/Samples/BasicTypography.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsRate/OdsRate.stories.d.ts +17 -0
- package/dist/stories/Commons/OdsRate/Samples/AllowHalfWithTooltips.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsRate/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsRate/Samples/OtherCharacter.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsRate/Samples/Readonly.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSpin/OdsSpin.stories.d.ts +9 -0
- package/dist/stories/Commons/OdsSpin/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/OdsSteps.stories.d.ts +20 -0
- package/dist/stories/Commons/OdsSteps/Samples/BasicError.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/BasicHorizontal.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/BasicVertical.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/SwitchStep.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/SwitchStepWithDrawer.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/SwitchStepWithDrawerSecond.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/WithIcon.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsTab/OdsTab.stories.d.ts +16 -0
- package/dist/stories/Commons/OdsTab/Samples/BasicWithDisabled.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsTab/Samples/Indicator.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsTab/Samples/Slide.Sample.d.ts +1 -0
- package/dist/stories/OdsCascader/OdsCascader.stories.d.ts +17 -0
- package/dist/stories/OdsCascader/Samples/BasicWithDefaultValue.Sample.d.ts +1 -0
- package/dist/stories/OdsCascader/Samples/CustomFieldNames.Sample.d.ts +1 -0
- package/dist/stories/OdsCascader/Samples/MultipleWithDisabled.Sample.d.ts +1 -0
- package/dist/stories/OdsCascader/Samples/Search.Sample.d.ts +1 -0
- package/dist/stories/OdsCollapse/OdsCollapse.stories.d.ts +16 -0
- package/dist/stories/OdsCollapse/Samples/BasicVSAccordion.Sample.d.ts +1 -0
- package/dist/stories/OdsCollapse/Samples/BasicVsCustom.Sample.d.ts +1 -0
- package/dist/stories/OdsCollapse/Samples/NestedCollapse.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/OdsSelect.stories.d.ts +7 -50
- package/dist/stories/OdsSelect/Samples/BasicWithOptGroup.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +16 -0
- package/dist/stories/OdsSwitch/OdsSwitch.stories.d.ts +16 -0
- package/dist/stories/OdsSwitch/Samples/BasicDisabled.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/Samples/Checked.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/Samples/CheckedChildrenDisplayIcon.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/Samples/CheckedChildrenDisplayText.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/Samples/CheckedLoading.Sample.d.ts +1 -0
- package/dist/stories/OdsTag/OdsTag.stories.d.ts +9 -1
- package/dist/stories/OdsTag/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/OdsTag/Samples/Colorful.Sample.d.ts +1 -0
- package/dist/stories/OdsTag/Samples/Status.Sample.d.ts +1 -0
- package/dist/stories/OdsTitle/OdsTitle.stories.d.ts +5 -5
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("../../../components/antd/typography/OdsParagraph").StyledOdsParagraphProps) => import("react").JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
exclude: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const BasicTypography: any;
|
|
15
|
+
export declare const BasicParagraph: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicParagraphTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTypographyTemplate: any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import OdsRate from "../../../components/antd/rate/OdsRate";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsRate;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
exclude: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const Basic: any;
|
|
15
|
+
export declare const Readonly: any;
|
|
16
|
+
export declare const AllowHalfWithTooltips: any;
|
|
17
|
+
export declare const OtherCharacter: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AllowHalfWithTooltipsTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OtherCharacterTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ReadonlyTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("../../../components/antd/steps/OdsSteps").IStepsProps) => import("react").JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
exclude: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const BasicHorizontal: any;
|
|
15
|
+
export declare const BasicError: any;
|
|
16
|
+
export declare const BasicVertical: any;
|
|
17
|
+
export declare const WithIcon: any;
|
|
18
|
+
export declare const SwitchStep: any;
|
|
19
|
+
export declare const SwitchStepWithDrawer: any;
|
|
20
|
+
export declare const SwitchStepWithDrawerSecond: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicErrorTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicHorizontalTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicVerticalTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SwitchStepTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SwitchStepWithDrawerTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SwitchStepWithDrawerSecondTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WithIconTemplate: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import OdsTab from "../../../components/antd/tab/OdsTab";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsTab;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
exclude: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const BasicWithDisabled: any;
|
|
15
|
+
export declare const Indicator: any;
|
|
16
|
+
export declare const Slide: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicWithDisabledTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IndicatorTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SlideTemplate: any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import OdsCascader from "../../components/antd/cascader/OdsCascader";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsCascader;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
exclude: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const BasicWithDefaultValue: any;
|
|
15
|
+
export declare const MultipleWithDisabled: any;
|
|
16
|
+
export declare const Search: any;
|
|
17
|
+
export declare const CustomFieldNames: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicWithDefaultValueTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CustomFieldNamesTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MultipleWithDisabledTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SearchTemplate: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import OdsCollapse from "../../components/antd/collapse/OdsCollapse";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsCollapse;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
exclude: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const BasicVsCustom: any;
|
|
15
|
+
export declare const BasicVSAccordion: any;
|
|
16
|
+
export declare const NestedCollapse: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicVSAccordionTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicVsCustomTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NestedCollapseTemplate: any;
|
|
@@ -1,61 +1,18 @@
|
|
|
1
|
-
import
|
|
1
|
+
import OdsSelect from "../../components/antd/select/OdsSelect";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: typeof
|
|
4
|
+
component: typeof OdsSelect;
|
|
5
5
|
tags: string[];
|
|
6
|
-
argTypes:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
variant: {
|
|
14
|
-
options: string[];
|
|
15
|
-
control: {
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
onBlur: {
|
|
20
|
-
action: string;
|
|
21
|
-
};
|
|
22
|
-
onChange: {
|
|
23
|
-
action: string;
|
|
24
|
-
};
|
|
25
|
-
onClear: {
|
|
26
|
-
action: string;
|
|
27
|
-
};
|
|
28
|
-
onDeselect: {
|
|
29
|
-
action: string;
|
|
30
|
-
};
|
|
31
|
-
onDropdownVisibleChange: {
|
|
32
|
-
action: string;
|
|
33
|
-
};
|
|
34
|
-
onFocus: {
|
|
35
|
-
action: string;
|
|
36
|
-
};
|
|
37
|
-
onInputKeyDown: {
|
|
38
|
-
action: string;
|
|
39
|
-
};
|
|
40
|
-
onMouseEnter: {
|
|
41
|
-
action: string;
|
|
42
|
-
};
|
|
43
|
-
onMouseLeave: {
|
|
44
|
-
action: string;
|
|
45
|
-
};
|
|
46
|
-
onPopupScroll: {
|
|
47
|
-
action: string;
|
|
48
|
-
};
|
|
49
|
-
onSearch: {
|
|
50
|
-
action: string;
|
|
51
|
-
};
|
|
52
|
-
onSelect: {
|
|
53
|
-
action: string;
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
exclude: any;
|
|
54
10
|
};
|
|
55
11
|
};
|
|
56
12
|
};
|
|
57
13
|
export default _default;
|
|
58
14
|
export declare const BasicWithDisabled: any;
|
|
15
|
+
export declare const BasicWithOptGroup: any;
|
|
59
16
|
export declare const ModeSingleAllowClearShowSearch: any;
|
|
60
17
|
export declare const ModeMultipleMaxCount: any;
|
|
61
18
|
export declare const ModeMultipleResponsive: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicWithOptGroupTemplate: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import OdsSwitch from "../../components/antd/switch/OdsSwitch";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsSwitch;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const BasicDisabled: any;
|
|
13
|
+
export declare const Checked: any;
|
|
14
|
+
export declare const CheckedLoading: any;
|
|
15
|
+
export declare const CheckedChildrenDisplayText: any;
|
|
16
|
+
export declare const CheckedChildrenDisplayIcon: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import OdsSwitch from "../../components/antd/switch/OdsSwitch";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsSwitch;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const BasicDisabled: any;
|
|
13
|
+
export declare const Checked: any;
|
|
14
|
+
export declare const CheckedLoading: any;
|
|
15
|
+
export declare const CheckedChildrenDisplayText: any;
|
|
16
|
+
export declare const CheckedChildrenDisplayIcon: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicDisabledTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CheckedTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CheckedChildrenDisplayIconTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CheckedChildrenDisplayTextTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CheckedLoadingTemplate: any;
|
|
@@ -3,7 +3,15 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: typeof OdsTag;
|
|
5
5
|
tags: string[];
|
|
6
|
-
argTypes:
|
|
6
|
+
argTypes: any;
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
exclude: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
7
12
|
};
|
|
8
13
|
export default _default;
|
|
14
|
+
export declare const Basic: any;
|
|
15
|
+
export declare const Colorful: any;
|
|
16
|
+
export declare const Status: any;
|
|
9
17
|
export declare const OdsTagBasicTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ColorfulTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StatusTemplate: any;
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
tags: string[];
|
|
6
6
|
argTypes: {
|
|
7
7
|
code: {
|
|
8
|
-
options:
|
|
8
|
+
options: boolean[];
|
|
9
9
|
description: string;
|
|
10
10
|
};
|
|
11
11
|
copyable: {
|
|
@@ -15,7 +15,7 @@ declare const _default: {
|
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
17
|
disabled: {
|
|
18
|
-
options:
|
|
18
|
+
options: boolean[];
|
|
19
19
|
description: string;
|
|
20
20
|
};
|
|
21
21
|
editable: {
|
|
@@ -25,14 +25,14 @@ declare const _default: {
|
|
|
25
25
|
description: string;
|
|
26
26
|
};
|
|
27
27
|
level: {
|
|
28
|
-
options:
|
|
28
|
+
options: number[];
|
|
29
29
|
control: {
|
|
30
30
|
type: string;
|
|
31
31
|
};
|
|
32
32
|
description: string;
|
|
33
33
|
};
|
|
34
34
|
mark: {
|
|
35
|
-
options:
|
|
35
|
+
options: boolean[];
|
|
36
36
|
description: string;
|
|
37
37
|
};
|
|
38
38
|
onClick: {
|
|
@@ -40,7 +40,7 @@ declare const _default: {
|
|
|
40
40
|
description: string;
|
|
41
41
|
};
|
|
42
42
|
italic: {
|
|
43
|
-
options:
|
|
43
|
+
options: boolean[];
|
|
44
44
|
description: string;
|
|
45
45
|
};
|
|
46
46
|
type: {
|