@coorpacademy/components 11.42.1 → 11.42.4
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/es/atom/checkbox-with-title/index.d.ts +1 -0
- package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/es/atom/checkbox-with-title/index.js +6 -3
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/radio-group/style.css +3 -1
- package/es/atom/radio-with-title/index.d.ts +3 -0
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/index.js +23 -5
- package/es/atom/radio-with-title/index.js.map +1 -1
- package/es/atom/radio-with-title/style.css +27 -0
- package/es/atom/radio-with-title/types.d.ts +6 -0
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.js +3 -0
- package/es/atom/radio-with-title/types.js.map +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.js +20 -3
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/style.css +17 -0
- package/es/molecule/cm-popin/types.d.ts +36 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js +3 -0
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +6 -0
- package/es/molecule/progress-bar/index.d.ts +16 -7
- package/es/molecule/progress-bar/index.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.js +61 -4
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/progress-bar/style.css +56 -0
- package/es/molecule/table/index.d.ts +8 -0
- package/es/molecule/table/index.d.ts.map +1 -1
- package/es/molecule/table/index.js +43 -5
- package/es/molecule/table/index.js.map +1 -1
- package/es/molecule/table/style.css +24 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +1 -0
- package/es/molecule/title-radio-wrapper/index.d.ts +3 -0
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +3 -0
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/molecule/wizard-summary/index.d.ts +3 -0
- package/es/molecule/wizard-summary/index.d.ts.map +1 -1
- package/es/molecule/wizard-summary/index.js +35 -3
- package/es/molecule/wizard-summary/index.js.map +1 -1
- package/es/molecule/wizard-summary/style.css +54 -1
- package/es/organism/brand-learning-priorities/index.d.ts +6 -0
- package/es/organism/brand-table/index.d.ts +8 -0
- package/es/organism/content-selection-list/index.d.ts +95 -0
- package/es/organism/content-selection-list/index.d.ts.map +1 -0
- package/es/organism/content-selection-list/index.js +175 -0
- package/es/organism/content-selection-list/index.js.map +1 -0
- package/es/organism/content-selection-list/style.css +8 -0
- package/es/organism/content-selection-list/types.d.ts +113 -0
- package/es/organism/content-selection-list/types.d.ts.map +1 -0
- package/es/organism/content-selection-list/types.js +58 -0
- package/es/organism/content-selection-list/types.js.map +1 -0
- package/es/organism/content-skill-modal/index.d.ts +7 -0
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +7 -0
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/list-item/index.d.ts +9 -1
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +16 -3
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +15 -0
- package/es/organism/list-items/index.d.ts +7 -0
- package/es/organism/rewards-form/index.d.ts +1 -0
- package/es/organism/select-opponents/index.d.ts +1 -0
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +1 -0
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/skill-edition/index.d.ts +8 -3
- package/es/organism/skill-edition/index.d.ts.map +1 -1
- package/es/organism/skill-edition/index.js +3 -168
- package/es/organism/skill-edition/index.js.map +1 -1
- package/es/organism/skill-edition/styles.d.ts +10 -0
- package/es/organism/skill-edition/styles.d.ts.map +1 -0
- package/es/organism/skill-edition/styles.js +10 -0
- package/es/organism/skill-edition/styles.js.map +1 -0
- package/es/organism/skill-edition/types.d.ts +10 -54
- package/es/organism/skill-edition/types.d.ts.map +1 -1
- package/es/organism/skill-edition/types.js +3 -52
- package/es/organism/skill-edition/types.js.map +1 -1
- package/es/organism/title-and-input/index.d.ts +1 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +1 -0
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +4 -0
- package/es/template/app-player/loading/index.d.ts +33 -0
- package/es/template/app-player/player/index.d.ts +66 -0
- package/es/template/app-player/player/slides/index.d.ts +33 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +33 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +33 -0
- package/es/template/app-review/index.d.ts +33 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +33 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +33 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +80 -3
- package/es/template/certification-detail/index.d.ts +33 -0
- package/es/template/common/dashboard/index.d.ts +66 -0
- package/es/template/common/search-page/index.d.ts +33 -0
- package/es/template/external-course/index.d.ts +33 -0
- package/es/template/playlist-detail/index.d.ts +33 -0
- package/lib/atom/checkbox-with-title/index.d.ts +1 -0
- package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
- package/lib/atom/checkbox-with-title/index.js +6 -3
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/radio-group/style.css +3 -1
- package/lib/atom/radio-with-title/index.d.ts +3 -0
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/index.js +23 -5
- package/lib/atom/radio-with-title/index.js.map +1 -1
- package/lib/atom/radio-with-title/style.css +27 -0
- package/lib/atom/radio-with-title/types.d.ts +6 -0
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.js +3 -0
- package/lib/atom/radio-with-title/types.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.js +20 -3
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/style.css +17 -0
- package/lib/molecule/cm-popin/types.d.ts +36 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +3 -0
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +6 -0
- package/lib/molecule/progress-bar/index.d.ts +16 -7
- package/lib/molecule/progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.js +61 -4
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/progress-bar/style.css +56 -0
- package/lib/molecule/table/index.d.ts +8 -0
- package/lib/molecule/table/index.d.ts.map +1 -1
- package/lib/molecule/table/index.js +43 -5
- package/lib/molecule/table/index.js.map +1 -1
- package/lib/molecule/table/style.css +24 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +1 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts +3 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +3 -0
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/molecule/wizard-summary/index.d.ts +3 -0
- package/lib/molecule/wizard-summary/index.d.ts.map +1 -1
- package/lib/molecule/wizard-summary/index.js +35 -3
- package/lib/molecule/wizard-summary/index.js.map +1 -1
- package/lib/molecule/wizard-summary/style.css +54 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +6 -0
- package/lib/organism/brand-table/index.d.ts +8 -0
- package/lib/organism/content-selection-list/index.d.ts +95 -0
- package/lib/organism/content-selection-list/index.d.ts.map +1 -0
- package/lib/organism/content-selection-list/index.js +181 -0
- package/lib/organism/content-selection-list/index.js.map +1 -0
- package/lib/organism/content-selection-list/style.css +8 -0
- package/lib/organism/content-selection-list/types.d.ts +113 -0
- package/lib/organism/content-selection-list/types.d.ts.map +1 -0
- package/lib/organism/content-selection-list/types.js +63 -0
- package/lib/organism/content-selection-list/types.js.map +1 -0
- package/lib/organism/content-skill-modal/index.d.ts +7 -0
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +7 -0
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/list-item/index.d.ts +9 -1
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +16 -3
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +15 -0
- package/lib/organism/list-items/index.d.ts +7 -0
- package/lib/organism/rewards-form/index.d.ts +1 -0
- package/lib/organism/select-opponents/index.d.ts +1 -0
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +1 -0
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.d.ts +8 -3
- package/lib/organism/skill-edition/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.js +11 -174
- package/lib/organism/skill-edition/index.js.map +1 -1
- package/lib/organism/skill-edition/styles.d.ts +10 -0
- package/lib/organism/skill-edition/styles.d.ts.map +1 -0
- package/lib/organism/skill-edition/styles.js +15 -0
- package/lib/organism/skill-edition/styles.js.map +1 -0
- package/lib/organism/skill-edition/types.d.ts +10 -54
- package/lib/organism/skill-edition/types.d.ts.map +1 -1
- package/lib/organism/skill-edition/types.js +6 -53
- package/lib/organism/skill-edition/types.js.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +1 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +1 -0
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +4 -0
- package/lib/template/app-player/loading/index.d.ts +33 -0
- package/lib/template/app-player/player/index.d.ts +66 -0
- package/lib/template/app-player/player/slides/index.d.ts +33 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +33 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +33 -0
- package/lib/template/app-review/index.d.ts +33 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +33 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +33 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +80 -3
- package/lib/template/certification-detail/index.d.ts +33 -0
- package/lib/template/common/dashboard/index.d.ts +66 -0
- package/lib/template/common/search-page/index.d.ts +33 -0
- package/lib/template/external-course/index.d.ts +33 -0
- package/lib/template/playlist-detail/index.d.ts +33 -0
- package/package.json +2 -2
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { ButtonLinkProps } from '../../atom/button-link/types';
|
|
3
|
+
export declare const ContentSelectionListPropTypes: {
|
|
4
|
+
title: PropTypes.Validator<string>;
|
|
5
|
+
subtitle: PropTypes.Requireable<string>;
|
|
6
|
+
button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
7
|
+
label: PropTypes.Validator<string>;
|
|
8
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
9
|
+
}>>>;
|
|
10
|
+
list: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
11
|
+
title: PropTypes.Requireable<string>;
|
|
12
|
+
items: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
13
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
14
|
+
hint: PropTypes.Requireable<string>;
|
|
15
|
+
ref: PropTypes.Validator<string>;
|
|
16
|
+
title: PropTypes.Validator<string>;
|
|
17
|
+
subtitle: PropTypes.Validator<string>;
|
|
18
|
+
image: PropTypes.Validator<string>;
|
|
19
|
+
tags: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
20
|
+
label: PropTypes.Validator<string>;
|
|
21
|
+
iconName: PropTypes.Validator<string>;
|
|
22
|
+
}>>>;
|
|
23
|
+
checkbox: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
24
|
+
checked: PropTypes.Validator<boolean>;
|
|
25
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
26
|
+
}>>>;
|
|
27
|
+
deleteButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
28
|
+
label: PropTypes.Requireable<string>;
|
|
29
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
30
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
31
|
+
}>>;
|
|
32
|
+
}>>[]>;
|
|
33
|
+
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
|
+
value: PropTypes.Validator<string>;
|
|
35
|
+
placeholder: PropTypes.Validator<string>;
|
|
36
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
37
|
+
}>>;
|
|
38
|
+
emptyResult: PropTypes.Requireable<PropTypes.InferProps<{
|
|
39
|
+
title: PropTypes.Validator<string>;
|
|
40
|
+
description: PropTypes.Validator<string>;
|
|
41
|
+
}>>;
|
|
42
|
+
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
43
|
+
title: PropTypes.Validator<string>;
|
|
44
|
+
checked: PropTypes.Validator<boolean>;
|
|
45
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
46
|
+
}>>;
|
|
47
|
+
}>>>;
|
|
48
|
+
error: PropTypes.Requireable<string>;
|
|
49
|
+
hiddenLabel: PropTypes.Requireable<string>;
|
|
50
|
+
isFetching: PropTypes.Requireable<boolean>;
|
|
51
|
+
actionButtons: PropTypes.Requireable<(object | null | undefined)[]>;
|
|
52
|
+
checkboxWithTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
53
|
+
title: PropTypes.Requireable<string>;
|
|
54
|
+
checked: PropTypes.Requireable<boolean>;
|
|
55
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
56
|
+
}>>;
|
|
57
|
+
readOnly: PropTypes.Requireable<boolean>;
|
|
58
|
+
};
|
|
59
|
+
export declare type ContentListItemType = {
|
|
60
|
+
hidden?: boolean;
|
|
61
|
+
hint?: string;
|
|
62
|
+
ref: string;
|
|
63
|
+
title: string;
|
|
64
|
+
subtitle: string;
|
|
65
|
+
image: string;
|
|
66
|
+
tags: {
|
|
67
|
+
label: string;
|
|
68
|
+
iconName: string;
|
|
69
|
+
};
|
|
70
|
+
checkbox: {
|
|
71
|
+
checked: boolean;
|
|
72
|
+
onChange: (value: boolean) => void;
|
|
73
|
+
};
|
|
74
|
+
deleteButton?: ButtonLinkProps;
|
|
75
|
+
};
|
|
76
|
+
export declare type CheckboxWithTitleProps = {
|
|
77
|
+
title?: string;
|
|
78
|
+
checked?: boolean;
|
|
79
|
+
onChange?: (value: boolean) => void;
|
|
80
|
+
};
|
|
81
|
+
export declare type ContentPropsType = {
|
|
82
|
+
error?: string;
|
|
83
|
+
hiddenLabel?: string;
|
|
84
|
+
title: string;
|
|
85
|
+
subtitle?: string;
|
|
86
|
+
button: {
|
|
87
|
+
label: string;
|
|
88
|
+
onClick: () => void;
|
|
89
|
+
};
|
|
90
|
+
list: {
|
|
91
|
+
title?: string;
|
|
92
|
+
items?: ContentListItemType[];
|
|
93
|
+
search?: {
|
|
94
|
+
value: string;
|
|
95
|
+
placeholder: string;
|
|
96
|
+
onChange: (value: string) => void;
|
|
97
|
+
};
|
|
98
|
+
emptyResult?: {
|
|
99
|
+
title: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
102
|
+
checkbox?: {
|
|
103
|
+
title: string;
|
|
104
|
+
checked: boolean;
|
|
105
|
+
onChange: (value: boolean) => void;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
actionButtons?: ButtonLinkProps[];
|
|
109
|
+
checkboxWithTitle?: CheckboxWithTitleProps;
|
|
110
|
+
isFetching?: boolean;
|
|
111
|
+
readOnly?: boolean;
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-selection-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDzC,CAAC;AAEF,oBAAY,mBAAmB,GAAG;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;KACpC,CAAC;IACF,YAAY,CAAC,EAAE,eAAe,C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
3
|
+
title: PropTypes.string.isRequired,
|
|
4
|
+
subtitle: PropTypes.string,
|
|
5
|
+
button: PropTypes.shape({
|
|
6
|
+
label: PropTypes.string.isRequired,
|
|
7
|
+
onClick: PropTypes.func.isRequired
|
|
8
|
+
}).isRequired,
|
|
9
|
+
list: PropTypes.shape({
|
|
10
|
+
title: PropTypes.string,
|
|
11
|
+
items: PropTypes.arrayOf(PropTypes.shape({
|
|
12
|
+
hidden: PropTypes.bool,
|
|
13
|
+
hint: PropTypes.string,
|
|
14
|
+
ref: PropTypes.string.isRequired,
|
|
15
|
+
title: PropTypes.string.isRequired,
|
|
16
|
+
subtitle: PropTypes.string.isRequired,
|
|
17
|
+
image: PropTypes.string.isRequired,
|
|
18
|
+
tags: PropTypes.shape({
|
|
19
|
+
label: PropTypes.string.isRequired,
|
|
20
|
+
iconName: PropTypes.string.isRequired
|
|
21
|
+
}).isRequired,
|
|
22
|
+
checkbox: PropTypes.shape({
|
|
23
|
+
checked: PropTypes.bool.isRequired,
|
|
24
|
+
onChange: PropTypes.func.isRequired
|
|
25
|
+
}).isRequired,
|
|
26
|
+
deleteButton: PropTypes.shape({
|
|
27
|
+
label: PropTypes.string,
|
|
28
|
+
'aria-label': PropTypes.string,
|
|
29
|
+
onClick: PropTypes.func
|
|
30
|
+
})
|
|
31
|
+
}).isRequired),
|
|
32
|
+
search: PropTypes.shape({
|
|
33
|
+
value: PropTypes.string.isRequired,
|
|
34
|
+
placeholder: PropTypes.string.isRequired,
|
|
35
|
+
onChange: PropTypes.func.isRequired
|
|
36
|
+
}),
|
|
37
|
+
emptyResult: PropTypes.shape({
|
|
38
|
+
title: PropTypes.string.isRequired,
|
|
39
|
+
description: PropTypes.string.isRequired
|
|
40
|
+
}),
|
|
41
|
+
checkbox: PropTypes.shape({
|
|
42
|
+
title: PropTypes.string.isRequired,
|
|
43
|
+
checked: PropTypes.bool.isRequired,
|
|
44
|
+
onChange: PropTypes.func.isRequired
|
|
45
|
+
})
|
|
46
|
+
}).isRequired,
|
|
47
|
+
error: PropTypes.string,
|
|
48
|
+
hiddenLabel: PropTypes.string,
|
|
49
|
+
isFetching: PropTypes.bool,
|
|
50
|
+
actionButtons: PropTypes.arrayOf(PropTypes.object),
|
|
51
|
+
checkboxWithTitle: PropTypes.shape({
|
|
52
|
+
title: PropTypes.string,
|
|
53
|
+
checked: PropTypes.bool,
|
|
54
|
+
onChange: PropTypes.func
|
|
55
|
+
}),
|
|
56
|
+
readOnly: PropTypes.bool
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","names":["PropTypes","ContentSelectionListPropTypes","title","string","isRequired","subtitle","button","shape","label","onClick","func","list","items","arrayOf","hidden","bool","hint","ref","image","tags","iconName","checkbox","checked","onChange","deleteButton","search","value","placeholder","emptyResult","description","error","hiddenLabel","isFetching","actionButtons","object","checkboxWithTitle","readOnly"],"sources":["../../../src/organism/content-selection-list/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\n\nexport const ContentSelectionListPropTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n button: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired\n }).isRequired,\n list: PropTypes.shape({\n title: PropTypes.string,\n items: PropTypes.arrayOf(\n PropTypes.shape({\n hidden: PropTypes.bool,\n hint: PropTypes.string,\n ref: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n image: PropTypes.string.isRequired,\n tags: PropTypes.shape({\n label: PropTypes.string.isRequired,\n iconName: PropTypes.string.isRequired\n }).isRequired,\n checkbox: PropTypes.shape({\n checked: PropTypes.bool.isRequired,\n onChange: PropTypes.func.isRequired\n }).isRequired,\n deleteButton: PropTypes.shape({\n label: PropTypes.string,\n 'aria-label': PropTypes.string,\n onClick: PropTypes.func\n })\n }).isRequired\n ),\n search: PropTypes.shape({\n value: PropTypes.string.isRequired,\n placeholder: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired\n }),\n emptyResult: PropTypes.shape({\n title: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired\n }),\n checkbox: PropTypes.shape({\n title: PropTypes.string.isRequired,\n checked: PropTypes.bool.isRequired,\n onChange: PropTypes.func.isRequired\n })\n }).isRequired,\n error: PropTypes.string,\n hiddenLabel: PropTypes.string,\n isFetching: PropTypes.bool,\n actionButtons: PropTypes.arrayOf(PropTypes.object),\n checkboxWithTitle: PropTypes.shape({\n title: PropTypes.string,\n checked: PropTypes.bool,\n onChange: PropTypes.func\n }),\n readOnly: PropTypes.bool\n};\n\nexport type ContentListItemType = {\n hidden?: boolean;\n hint?: string;\n ref: string;\n title: string;\n subtitle: string;\n image: string;\n tags: {\n label: string;\n iconName: string;\n };\n checkbox: {\n checked: boolean;\n onChange: (value: boolean) => void;\n };\n deleteButton?: ButtonLinkProps;\n};\n\nexport type CheckboxWithTitleProps = {\n title?: string;\n checked?: boolean;\n onChange?: (value: boolean) => void;\n};\n\nexport type ContentPropsType = {\n error?: string;\n hiddenLabel?: string;\n title: string;\n subtitle?: string;\n button: {\n label: string;\n onClick: () => void;\n };\n list: {\n title?: string;\n items?: ContentListItemType[];\n search?: {\n value: string;\n placeholder: string;\n onChange: (value: string) => void;\n };\n emptyResult?: {\n title: string;\n description: string;\n };\n checkbox?: {\n title: string;\n checked: boolean;\n onChange: (value: boolean) => void;\n };\n };\n actionButtons?: ButtonLinkProps[];\n checkboxWithTitle?: CheckboxWithTitleProps;\n isFetching?: boolean;\n readOnly?: boolean;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAGlC,OAAO,MAAMC,6BAA6B,GAAG;EAC3CC,KAAK,EAAEF,SAAS,CAACG,MAAM,CAACC,UAAU;EAClCC,QAAQ,EAAEL,SAAS,CAACG,MAAM;EAC1BG,MAAM,EAAEN,SAAS,CAACO,KAAK,CA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SAAS,CAACG,MAAM,CAACC,UAAU;MACxCmB,QAAQ,EAAEvB,SAAS,CAACU,IAAI,CAACN;IAC3B,CAAC,CAAC;IACFwB,WAAW,EAAE5B,SAAS,CAACO,KAAK,CAAC;MAC3BL,KAAK,EAAEF,SAAS,CAACG,MAAM,CAACC,UAAU;MAClCyB,WAAW,EAAE7B,SAAS,CAACG,MAAM,CAACC;IAChC,CAAC,CAAC;IACFiB,QAAQ,EAAErB,SAAS,CAACO,KAAK,CAAC;MACxBL,KAAK,EAAEF,SAAS,CAACG,MAAM,CAACC,UAAU;MAClCkB,OAAO,EAAEtB,SAAS,CAACe,IAAI,CAACX,UAAU;MAClCmB,QAAQ,EAAEvB,SAAS,CAACU,IAAI,CAACN;IAC3B,CAAC;EACH,CAAC,CAAC,CAACA,UAAU;EACb0B,KAAK,EAAE9B,SAAS,CAACG,MAAM;EACvB4B,WAAW,EAAE/B,SAAS,CAACG,MAAM;EAC7B6B,UAAU,EAAEhC,SAAS,CAACe,IAAI;EAC1BkB,aAAa,EAAEjC,SAAS,CAACa,OAAO,CAACb,SAAS,CAACkC,MAAM,CAAC;EAClDC,iBAAiB,EAAEnC,SAAS,CAACO,KAAK,CAAC;IACjCL,KAAK,EAAEF,SAAS,CAACG,MAAM;IACvBmB,OAAO,EAAEtB,SAAS,CAACe,IAAI;IACvBQ,QAAQ,EAAEvB,SAAS,CAACU;EACtB,CAAC,CAAC;EACF0B,QAAQ,EAAEpC,SAAS,CAACe;AACtB,CAAC","ignoreList":[]}
|
|
@@ -153,6 +153,11 @@ declare const ContentSkillModal: {
|
|
|
153
153
|
size: import("prop-types").Requireable<number>;
|
|
154
154
|
wrapperSize: import("prop-types").Requireable<number>;
|
|
155
155
|
}>>;
|
|
156
|
+
imageOverlay: import("prop-types").Requireable<string>;
|
|
157
|
+
contentBadge: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
158
|
+
category: import("prop-types").Requireable<string>;
|
|
159
|
+
label: import("prop-types").Requireable<string>;
|
|
160
|
+
}>>;
|
|
156
161
|
image: import("prop-types").Requireable<string>;
|
|
157
162
|
checkbox: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
158
163
|
value: import("prop-types").Requireable<string>;
|
|
@@ -170,6 +175,7 @@ declare const ContentSkillModal: {
|
|
|
170
175
|
customStyle: import("prop-types").Requireable<{
|
|
171
176
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
172
177
|
}>;
|
|
178
|
+
className: import("prop-types").Requireable<string>;
|
|
173
179
|
}>>;
|
|
174
180
|
}> | null | undefined)[]>;
|
|
175
181
|
type: import("prop-types").Requireable<string>;
|
|
@@ -564,6 +570,7 @@ declare const ContentSkillModal: {
|
|
|
564
570
|
customStyle: import("prop-types").Requireable<{
|
|
565
571
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
566
572
|
}>;
|
|
573
|
+
className: import("prop-types").Requireable<string>;
|
|
567
574
|
}>>;
|
|
568
575
|
actionButtons: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
569
576
|
type: import("prop-types").Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
|
|
@@ -150,6 +150,11 @@ declare const ContentSkillModalPropTypes: {
|
|
|
150
150
|
size: PropTypes.Requireable<number>;
|
|
151
151
|
wrapperSize: PropTypes.Requireable<number>;
|
|
152
152
|
}>>;
|
|
153
|
+
imageOverlay: PropTypes.Requireable<string>;
|
|
154
|
+
contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
|
|
155
|
+
category: PropTypes.Requireable<string>;
|
|
156
|
+
label: PropTypes.Requireable<string>;
|
|
157
|
+
}>>;
|
|
153
158
|
image: PropTypes.Requireable<string>;
|
|
154
159
|
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
155
160
|
value: PropTypes.Requireable<string>;
|
|
@@ -167,6 +172,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
167
172
|
customStyle: PropTypes.Requireable<{
|
|
168
173
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
169
174
|
}>;
|
|
175
|
+
className: PropTypes.Requireable<string>;
|
|
170
176
|
}>>;
|
|
171
177
|
}> | null | undefined)[]>;
|
|
172
178
|
type: PropTypes.Requireable<string>;
|
|
@@ -561,6 +567,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
561
567
|
customStyle: PropTypes.Requireable<{
|
|
562
568
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
563
569
|
}>;
|
|
570
|
+
className: PropTypes.Requireable<string>;
|
|
564
571
|
}>>;
|
|
565
572
|
actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
566
573
|
type: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAStD,QAAA,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAStD,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;CACnB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ListItem;
|
|
2
|
-
declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, provider, selected, selectedColor, subtitle, titleTags, details, progress, dataColumns, order, "aria-label": ariaLabel, disabled, contentType, isBulkStyle, isOverflowHidden, onClick, leftIcon, image, checkbox, "data-name": dataName }: {
|
|
2
|
+
declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, provider, selected, selectedColor, subtitle, titleTags, details, progress, dataColumns, order, "aria-label": ariaLabel, disabled, contentType, isBulkStyle, isOverflowHidden, onClick, leftIcon, image, imageOverlay, contentBadge, checkbox, "data-name": dataName }: {
|
|
3
3
|
buttonLink: any;
|
|
4
4
|
secondButtonLink: any;
|
|
5
5
|
bulletPointMenuButton: any;
|
|
@@ -22,6 +22,8 @@ declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton,
|
|
|
22
22
|
onClick?: import("lodash/fp").LodashNoop | undefined;
|
|
23
23
|
leftIcon: any;
|
|
24
24
|
image: any;
|
|
25
|
+
imageOverlay: any;
|
|
26
|
+
contentBadge: any;
|
|
25
27
|
checkbox: any;
|
|
26
28
|
"data-name": any;
|
|
27
29
|
}, context: any): JSX.Element;
|
|
@@ -129,6 +131,11 @@ declare namespace ListItem {
|
|
|
129
131
|
size: PropTypes.Requireable<number>;
|
|
130
132
|
wrapperSize: PropTypes.Requireable<number>;
|
|
131
133
|
}>>;
|
|
134
|
+
imageOverlay: PropTypes.Requireable<string>;
|
|
135
|
+
contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
|
|
136
|
+
category: PropTypes.Requireable<string>;
|
|
137
|
+
label: PropTypes.Requireable<string>;
|
|
138
|
+
}>>;
|
|
132
139
|
image: PropTypes.Requireable<string>;
|
|
133
140
|
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
134
141
|
value: PropTypes.Requireable<string>;
|
|
@@ -146,6 +153,7 @@ declare namespace ListItem {
|
|
|
146
153
|
customStyle: PropTypes.Requireable<{
|
|
147
154
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
148
155
|
}>;
|
|
156
|
+
className: PropTypes.Requireable<string>;
|
|
149
157
|
}>>;
|
|
150
158
|
};
|
|
151
159
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA0LC"}
|
|
@@ -17,6 +17,8 @@ import ButtonLink from '../../atom/button-link';
|
|
|
17
17
|
import BulletPointMenuButton from '../../molecule/bullet-point-menu-button';
|
|
18
18
|
import { COLORS } from '../../variables/colors';
|
|
19
19
|
import CardImagePreview from '../../atom/card-image-preview';
|
|
20
|
+
import Selectable from '../../molecule/card/selectable';
|
|
21
|
+
import ContentBadge from '../../atom/content-badge';
|
|
20
22
|
import CheckboxWithTitle from '../../atom/checkbox-with-title';
|
|
21
23
|
import ProgressBar from '../../molecule/progress-bar';
|
|
22
24
|
import style from './style.css';
|
|
@@ -50,6 +52,8 @@ const ListItem = ({
|
|
|
50
52
|
onClick = _noop,
|
|
51
53
|
leftIcon,
|
|
52
54
|
image,
|
|
55
|
+
imageOverlay,
|
|
56
|
+
contentBadge,
|
|
53
57
|
checkbox,
|
|
54
58
|
'data-name': dataName
|
|
55
59
|
}, context) => {
|
|
@@ -106,10 +110,17 @@ const ListItem = ({
|
|
|
106
110
|
preset: leftIcon.preset || 'xl',
|
|
107
111
|
borderRadius: leftIcon.borderRadius || '25%'
|
|
108
112
|
}) : null, !leftIcon && image ? /*#__PURE__*/React.createElement("div", {
|
|
109
|
-
className: style.containerImage
|
|
113
|
+
className: classnames(style.containerImage, imageOverlay && style.imageWithOverlay)
|
|
110
114
|
}, /*#__PURE__*/React.createElement(CardImagePreview, {
|
|
111
115
|
image: image
|
|
112
|
-
})
|
|
116
|
+
}), imageOverlay === 'hidden' ? /*#__PURE__*/React.createElement("div", {
|
|
117
|
+
className: style.imageOverlay,
|
|
118
|
+
"aria-hidden": "true",
|
|
119
|
+
"data-name": "content-image-overlay"
|
|
120
|
+
}, /*#__PURE__*/React.createElement(Selectable, {
|
|
121
|
+
isSelected: true,
|
|
122
|
+
hidden: true
|
|
123
|
+
})) : null) : null) : null, /*#__PURE__*/React.createElement("div", {
|
|
113
124
|
className: style.titleWrapper
|
|
114
125
|
}, /*#__PURE__*/React.createElement("div", {
|
|
115
126
|
className: style.titleProviderWrapper
|
|
@@ -148,7 +159,7 @@ const ListItem = ({
|
|
|
148
159
|
className: style.progressLabel
|
|
149
160
|
}, progress.label)) : null), dataColumnsView), /*#__PURE__*/React.createElement("div", {
|
|
150
161
|
className: style.settings
|
|
151
|
-
}, tagsView, selected ? /*#__PURE__*/React.createElement(FaIcon, {
|
|
162
|
+
}, tagsView, contentBadge ? /*#__PURE__*/React.createElement(ContentBadge, contentBadge) : null, selected ? /*#__PURE__*/React.createElement(FaIcon, {
|
|
152
163
|
iconName: "circle-check",
|
|
153
164
|
iconColor: primarySelectedColor,
|
|
154
165
|
backgroundColor: COLORS.white,
|
|
@@ -246,6 +257,8 @@ ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
246
257
|
size: PropTypes.number,
|
|
247
258
|
wrapperSize: PropTypes.number
|
|
248
259
|
}),
|
|
260
|
+
imageOverlay: PropTypes.oneOf(['hidden']),
|
|
261
|
+
contentBadge: PropTypes.shape(ContentBadge.propTypes),
|
|
249
262
|
image: PropTypes.string,
|
|
250
263
|
checkbox: PropTypes.shape(CheckboxWithTitle.propTypes)
|
|
251
264
|
} : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","convert","classnames","Provider","Tag","FaIcon","ButtonLink","BulletPointMenuButton","COLORS","CardImagePreview","CheckboxWithTitle","ProgressBar","style","THIN_PROGRESS_STYLE","backgroundColor","cm_positive_500","borderRadius","animation","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","titleTags","details","progress","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","_noop","leftIcon","image","checkbox","dataName","context","skin","primarySelectedColor","_get","mapUncapped","_map","cap","checkable","isPublished","selectedStyle","tagSelectedStyle","color","tagsView","tag","index","type","createElement","key","className","_extends","customStyle","dataColumnsView","dataColumn","label","orderView","undefined","role","extractedIndex","_pipe","_split","_last","wrapper","gridLayout","flexLayout","withSubtitle","cursorPointer","checked","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","containerImage","titleWrapper","titleProviderWrapper","_isEmpty","titleBeforeTags","replace","dangerouslySetInnerHTML","__html","providerTag","map","progressBar","value","max","displayInfo","progressLabel","settings","white","size","faSize","wrapperSize","contextTypes","childContextTypes","translate","propTypes","process","env","NODE_ENV","string","isRequired","arrayOf","shape","number","oneOf","bool","icon","position","func","buttonAriaLabel","menuAriaLabel","buttons","id"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get, last, split, pipe} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport FaIcon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport {COLORS} from '../../variables/colors';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport ProgressBar from '../../molecule/progress-bar';\nimport style from './style.css';\n\n// The thin completion bar: ProgressBar styles its inner bar through its `style` prop.\nconst THIN_PROGRESS_STYLE = {\n backgroundColor: COLORS.cm_positive_500,\n borderRadius: '4px',\n animation: 'none'\n};\n\nconst ListItem = (\n {\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n provider,\n selected,\n selectedColor,\n subtitle,\n titleTags,\n details,\n progress,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n disabled = false,\n contentType,\n isBulkStyle = false,\n isOverflowHidden = false,\n onClick = noop,\n leftIcon,\n image,\n checkbox,\n 'data-name': dataName\n },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || get('common.primary', skin);\n const mapUncapped = map.convert({cap: false});\n const checkable = checkbox || false;\n let isPublished = false;\n\n const selectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.15))`),\n color: primarySelectedColor\n }\n : {};\n\n const tagsView = mapUncapped((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} customStyle={tagSelectedStyle} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = mapUncapped((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} role=\"group\" aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n const extractedIndex = pipe(split('-'), last)(dataName);\n\n return (\n <div\n className={classnames(\n style.wrapper,\n isBulkStyle ? style.gridLayout : style.flexLayout,\n subtitle && style.withSubtitle,\n disabled && style.disabled,\n onClick !== noop && !disabled && style.cursorPointer,\n checkbox?.checked && style.checked\n )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n data-name={dataName}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n {leftIcon || image || checkable ? (\n <div className={style.leftSection}>\n {checkable ? <CheckboxWithTitle {...checkbox} /> : null}\n {leftIcon && !image ? (\n <FaIcon\n iconName={leftIcon.iconName}\n gradientBackground={leftIcon.gradientBackground || true}\n iconColor={leftIcon.iconColor || primarySelectedColor}\n preset={leftIcon.preset || 'xl'}\n borderRadius={leftIcon.borderRadius || '25%'}\n />\n ) : null}\n {!leftIcon && image ? (\n <div className={style.containerImage}>\n <CardImagePreview image={image} />\n </div>\n ) : null}\n </div>\n ) : null}\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n {title ? (\n <div\n className={classnames(style.title, !isEmpty(titleTags) && style.titleBeforeTags)}\n title={title.replace(/<[^>]*>/g, '')}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n ) : null}\n {!isEmpty(provider) ? (\n <Tag label={provider.label} type={provider.type} className={style.providerTag} />\n ) : null}\n {!isEmpty(titleTags) ? (\n <div className={style.titleTags} data-name=\"title-tags\">\n {titleTags.map(tag => (\n <div key={tag.label} className={style.tag}>\n <Tag {...tag} />\n </div>\n ))}\n </div>\n ) : null}\n </div>\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n {details ? <div className={style.details}>{details}</div> : null}\n {progress ? (\n <div className={style.progress} data-name=\"list-item-progress\">\n <ProgressBar\n className={style.progressBar}\n value={progress.value}\n max={100}\n style={THIN_PROGRESS_STYLE}\n displayInfo={false}\n />\n <span className={style.progressLabel}>{progress.label}</span>\n </div>\n ) : null}\n </div>\n {dataColumnsView}\n </div>\n <div className={style.settings}>\n {tagsView}\n {selected ? (\n <FaIcon\n iconName=\"circle-check\"\n iconColor={primarySelectedColor}\n backgroundColor={COLORS.white}\n size={{faSize: 16, wrapperSize: 16}}\n />\n ) : null}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton\n {...bulletPointMenuButton}\n data-name={`bullet-point-menu-button-${extractedIndex}`}\n />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n // Tags shown right after the title\n titleTags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n type: Tag.propTypes.type\n })\n ),\n // A second line under the subtitle\n details: PropTypes.string,\n // A thin completion bar (0 to 100) with its label\n progress: PropTypes.shape({\n value: PropTypes.number.isRequired,\n label: PropTypes.string.isRequired\n }),\n 'data-name': PropTypes.string,\n provider: PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['info', 'default', 'success', 'failure', 'warning', 'progress'])\n }),\n selected: PropTypes.bool,\n selectedColor: PropTypes.string,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n isBulkStyle: PropTypes.bool,\n isOverflowHidden: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string,\n leftIcon: PropTypes.shape({\n iconName: PropTypes.string,\n iconColor: PropTypes.string,\n backgroundColor: PropTypes.string,\n borderRadius: PropTypes.string,\n preset: PropTypes.string,\n gradientBackground: PropTypes.bool,\n size: PropTypes.number,\n wrapperSize: PropTypes.number\n }),\n image: PropTypes.string,\n checkbox: PropTypes.shape(CheckboxWithTitle.propTypes)\n};\n\nexport default ListItem;\n"],"mappings":";;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,SAAQC,OAAO,QAAO,oBAAoB;AAC1C,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,QAAQ,MAAM,qBAAqB;AAC1C,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAOC,MAAM,MAAM,iBAAiB;AACpC,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,qBAAqB,MAAM,yCAAyC;AAC3E,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,gBAAgB,MAAM,+BAA+B;AAC5D,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9D,OAAOC,WAAW,MAAM,6BAA6B;AACrD,OAAOC,KAAK,MAAM,aAAa;;AAE/B;AACA,MAAMC,mBAAmB,GAAG;EAC1BC,eAAe,EAAEN,MAAM,CAACO,eAAe;EACvCC,YAAY,EAAE,KAAK;EACnBC,SAAS,EAAE;AACb,CAAC;AAED,MAAMC,QAAQ,GAAGA,CACf;EACEC,UAAU;EACVC,gBAAgB;EAChBC,qBAAqB;EACrBC,IAAI;EACJC,KAAK;EACLC,QAAQ;EACRC,QAAQ;EACRC,aAAa;EACb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ypes","convert","classnames","Provider","Tag","FaIcon","ButtonLink","BulletPointMenuButton","COLORS","CardImagePreview","Selectable","ContentBadge","CheckboxWithTitle","ProgressBar","style","THIN_PROGRESS_STYLE","backgroundColor","cm_positive_500","borderRadius","animation","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","titleTags","details","progress","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","_noop","leftIcon","image","imageOverlay","contentBadge","checkbox","dataName","context","skin","primarySelectedColor","_get","mapUncapped","_map","cap","checkable","isPublished","selectedStyle","tagSelectedStyle","color","tagsView","tag","index","type","createElement","key","className","_extends","customStyle","dataColumnsView","dataColumn","label","orderView","undefined","role","extractedIndex","_pipe","_split","_last","wrapper","gridLayout","flexLayout","withSubtitle","cursorPointer","checked","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","containerImage","imageWithOverlay","isSelected","hidden","titleWrapper","titleProviderWrapper","_isEmpty","titleBeforeTags","replace","dangerouslySetInnerHTML","__html","providerTag","map","progressBar","value","max","displayInfo","progressLabel","settings","white","size","faSize","wrapperSize","contextTypes","childContextTypes","translate","propTypes","process","env","NODE_ENV","string","isRequired","arrayOf","shape","number","oneOf","bool","icon","position","func","buttonAriaLabel","menuAriaLabel","buttons","id"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get, last, split, pipe} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport FaIcon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport {COLORS} from '../../variables/colors';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport Selectable from '../../molecule/card/selectable';\nimport ContentBadge from '../../atom/content-badge';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport ProgressBar from '../../molecule/progress-bar';\nimport style from './style.css';\n\n// The thin completion bar: ProgressBar styles its inner bar through its `style` prop.\nconst THIN_PROGRESS_STYLE = {\n backgroundColor: COLORS.cm_positive_500,\n borderRadius: '4px',\n animation: 'none'\n};\n\nconst ListItem = (\n {\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n provider,\n selected,\n selectedColor,\n subtitle,\n titleTags,\n details,\n progress,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n disabled = false,\n contentType,\n isBulkStyle = false,\n isOverflowHidden = false,\n onClick = noop,\n leftIcon,\n image,\n imageOverlay,\n contentBadge,\n checkbox,\n 'data-name': dataName\n },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || get('common.primary', skin);\n const mapUncapped = map.convert({cap: false});\n const checkable = checkbox || false;\n let isPublished = false;\n\n const selectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.15))`),\n color: primarySelectedColor\n }\n : {};\n\n const tagsView = mapUncapped((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} customStyle={tagSelectedStyle} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = mapUncapped((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} role=\"group\" aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n const extractedIndex = pipe(split('-'), last)(dataName);\n\n return (\n <div\n className={classnames(\n style.wrapper,\n isBulkStyle ? style.gridLayout : style.flexLayout,\n subtitle && style.withSubtitle,\n disabled && style.disabled,\n onClick !== noop && !disabled && style.cursorPointer,\n checkbox?.checked && style.checked\n )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n data-name={dataName}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n {leftIcon || image || checkable ? (\n <div className={style.leftSection}>\n {checkable ? <CheckboxWithTitle {...checkbox} /> : null}\n {leftIcon && !image ? (\n <FaIcon\n iconName={leftIcon.iconName}\n gradientBackground={leftIcon.gradientBackground || true}\n iconColor={leftIcon.iconColor || primarySelectedColor}\n preset={leftIcon.preset || 'xl'}\n borderRadius={leftIcon.borderRadius || '25%'}\n />\n ) : null}\n {!leftIcon && image ? (\n <div\n className={classnames(style.containerImage, imageOverlay && style.imageWithOverlay)}\n >\n <CardImagePreview image={image} />\n {imageOverlay === 'hidden' ? (\n <div\n className={style.imageOverlay}\n aria-hidden=\"true\"\n data-name=\"content-image-overlay\"\n >\n <Selectable isSelected hidden />\n </div>\n ) : null}\n </div>\n ) : null}\n </div>\n ) : null}\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n {title ? (\n <div\n className={classnames(style.title, !isEmpty(titleTags) && style.titleBeforeTags)}\n title={title.replace(/<[^>]*>/g, '')}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n ) : null}\n {!isEmpty(provider) ? (\n <Tag label={provider.label} type={provider.type} className={style.providerTag} />\n ) : null}\n {!isEmpty(titleTags) ? (\n <div className={style.titleTags} data-name=\"title-tags\">\n {titleTags.map(tag => (\n <div key={tag.label} className={style.tag}>\n <Tag {...tag} />\n </div>\n ))}\n </div>\n ) : null}\n </div>\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n {details ? <div className={style.details}>{details}</div> : null}\n {progress ? (\n <div className={style.progress} data-name=\"list-item-progress\">\n <ProgressBar\n className={style.progressBar}\n value={progress.value}\n max={100}\n style={THIN_PROGRESS_STYLE}\n displayInfo={false}\n />\n <span className={style.progressLabel}>{progress.label}</span>\n </div>\n ) : null}\n </div>\n {dataColumnsView}\n </div>\n <div className={style.settings}>\n {tagsView}\n {contentBadge ? <ContentBadge {...contentBadge} /> : null}\n {selected ? (\n <FaIcon\n iconName=\"circle-check\"\n iconColor={primarySelectedColor}\n backgroundColor={COLORS.white}\n size={{faSize: 16, wrapperSize: 16}}\n />\n ) : null}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton\n {...bulletPointMenuButton}\n data-name={`bullet-point-menu-button-${extractedIndex}`}\n />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n // Tags shown right after the title\n titleTags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n type: Tag.propTypes.type\n })\n ),\n // A second line under the subtitle\n details: PropTypes.string,\n // A thin completion bar (0 to 100) with its label\n progress: PropTypes.shape({\n value: PropTypes.number.isRequired,\n label: PropTypes.string.isRequired\n }),\n 'data-name': PropTypes.string,\n provider: PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['info', 'default', 'success', 'failure', 'warning', 'progress'])\n }),\n selected: PropTypes.bool,\n selectedColor: PropTypes.string,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n isBulkStyle: PropTypes.bool,\n isOverflowHidden: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string,\n leftIcon: PropTypes.shape({\n iconName: PropTypes.string,\n iconColor: PropTypes.string,\n backgroundColor: PropTypes.string,\n borderRadius: PropTypes.string,\n preset: PropTypes.string,\n gradientBackground: PropTypes.bool,\n size: PropTypes.number,\n wrapperSize: PropTypes.number\n }),\n imageOverlay: PropTypes.oneOf(['hidden']),\n contentBadge: PropTypes.shape(ContentBadge.propTypes),\n image: PropTypes.string,\n checkbox: PropTypes.shape(CheckboxWithTitle.propTypes)\n};\n\nexport default ListItem;\n"],"mappings":";;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,SAAQC,OAAO,QAAO,oBAAoB;AAC1C,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,QAAQ,MAAM,qBAAqB;AAC1C,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAOC,MAAM,MAAM,iBAAiB;AACpC,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,qBAAqB,MAAM,yCAAyC;AAC3E,SAAQC,MAAM,QA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: relative;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.imageOverlay {
|
|
199
|
+
position: absolute;
|
|
200
|
+
top: 0;
|
|
201
|
+
left: 0;
|
|
202
|
+
width: 56px;
|
|
203
|
+
height: 56px;
|
|
204
|
+
border-radius: 8px;
|
|
205
|
+
overflow: hidden;
|
|
206
|
+
pointer-events: none;
|
|
207
|
+
}
|
|
@@ -159,6 +159,11 @@ declare namespace ListItems {
|
|
|
159
159
|
size: PropTypes.Requireable<number>;
|
|
160
160
|
wrapperSize: PropTypes.Requireable<number>;
|
|
161
161
|
}>>;
|
|
162
|
+
imageOverlay: PropTypes.Requireable<string>;
|
|
163
|
+
contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
|
|
164
|
+
category: PropTypes.Requireable<string>;
|
|
165
|
+
label: PropTypes.Requireable<string>;
|
|
166
|
+
}>>;
|
|
162
167
|
image: PropTypes.Requireable<string>;
|
|
163
168
|
checkbox: PropTypes.Requireable<PropTypes.InferProps<{
|
|
164
169
|
value: PropTypes.Requireable<string>;
|
|
@@ -176,6 +181,7 @@ declare namespace ListItems {
|
|
|
176
181
|
customStyle: PropTypes.Requireable<{
|
|
177
182
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
178
183
|
}>;
|
|
184
|
+
className: PropTypes.Requireable<string>;
|
|
179
185
|
}>>;
|
|
180
186
|
}> | null | undefined)[]>;
|
|
181
187
|
type: PropTypes.Requireable<string>;
|
|
@@ -570,6 +576,7 @@ declare namespace ListItems {
|
|
|
570
576
|
customStyle: PropTypes.Requireable<{
|
|
571
577
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
572
578
|
}>;
|
|
579
|
+
className: PropTypes.Requireable<string>;
|
|
573
580
|
}>>;
|
|
574
581
|
actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
575
582
|
type: PropTypes.Requireable<string>;
|
|
@@ -21,6 +21,7 @@ declare namespace RewardsForm {
|
|
|
21
21
|
customStyle: PropTypes.Requireable<{
|
|
22
22
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
23
23
|
}>;
|
|
24
|
+
className: PropTypes.Requireable<string>;
|
|
24
25
|
}>>;
|
|
25
26
|
sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
26
27
|
removeMargin: PropTypes.Requireable<boolean>;
|
|
@@ -20,6 +20,7 @@ declare const SelectOpponents: {
|
|
|
20
20
|
customStyle: import("prop-types").Requireable<{
|
|
21
21
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
22
22
|
}>;
|
|
23
|
+
className: import("prop-types").Requireable<string>;
|
|
23
24
|
}>>;
|
|
24
25
|
sectionTitle: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
25
26
|
removeMargin: import("prop-types").Requireable<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnD,CAAC;AAIF,eAAe,eAAe,CAAC"}
|
|
@@ -18,6 +18,7 @@ export declare const propTypes: {
|
|
|
18
18
|
customStyle: PropTypes.Requireable<{
|
|
19
19
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
20
20
|
}>;
|
|
21
|
+
className: PropTypes.Requireable<string>;
|
|
21
22
|
}>>;
|
|
22
23
|
sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
24
|
removeMargin: PropTypes.Requireable<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE;QACL,SAAS,EAAE,iBAAiB,GAAG,cAAc,CAAC;QAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,KAAK,EAAE,4BAA4B,EAAE,CAAC;CACvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -130,7 +130,7 @@ declare const SkillEdition: {
|
|
|
130
130
|
}>>>;
|
|
131
131
|
content: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
132
132
|
title: import("prop-types").Validator<string>;
|
|
133
|
-
subtitle: import("prop-types").
|
|
133
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
134
134
|
button: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
135
135
|
label: import("prop-types").Validator<string>;
|
|
136
136
|
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
@@ -138,6 +138,8 @@ declare const SkillEdition: {
|
|
|
138
138
|
list: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
139
139
|
title: import("prop-types").Requireable<string>;
|
|
140
140
|
items: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
141
|
+
hidden: import("prop-types").Requireable<boolean>;
|
|
142
|
+
hint: import("prop-types").Requireable<string>;
|
|
141
143
|
ref: import("prop-types").Validator<string>;
|
|
142
144
|
title: import("prop-types").Validator<string>;
|
|
143
145
|
subtitle: import("prop-types").Validator<string>;
|
|
@@ -152,14 +154,15 @@ declare const SkillEdition: {
|
|
|
152
154
|
}>>>;
|
|
153
155
|
deleteButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
154
156
|
label: import("prop-types").Requireable<string>;
|
|
157
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
155
158
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
156
159
|
}>>;
|
|
157
160
|
}>>[]>;
|
|
158
|
-
search: import("prop-types").
|
|
161
|
+
search: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
159
162
|
value: import("prop-types").Validator<string>;
|
|
160
163
|
placeholder: import("prop-types").Validator<string>;
|
|
161
164
|
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
162
|
-
}
|
|
165
|
+
}>>;
|
|
163
166
|
emptyResult: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
164
167
|
title: import("prop-types").Validator<string>;
|
|
165
168
|
description: import("prop-types").Validator<string>;
|
|
@@ -170,6 +173,8 @@ declare const SkillEdition: {
|
|
|
170
173
|
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
171
174
|
}>>;
|
|
172
175
|
}>>>;
|
|
176
|
+
error: import("prop-types").Requireable<string>;
|
|
177
|
+
hiddenLabel: import("prop-types").Requireable<string>;
|
|
173
178
|
isFetching: import("prop-types").Requireable<boolean>;
|
|
174
179
|
actionButtons: import("prop-types").Requireable<(object | null | undefined)[]>;
|
|
175
180
|
checkboxWithTitle: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/skill-edition/index.tsx"],"names":[],"mappings":";AAQA,OAAkB,EAEhB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/skill-edition/index.tsx"],"names":[],"mappings":";AAQA,OAAkB,EAEhB,qBAAqB,EAItB,MAAM,SAAS,CAAC;AAuQjB,QAAA,MAAM,YAAY;YAAW,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcjD,CAAC;AAIF,eAAe,YAAY,CAAC"}
|