@coorpacademy/components 11.42.3 → 11.42.5
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 -1
- package/es/atom/checkbox-with-title/index.js.map +1 -1
- package/es/atom/input-search/index.d.ts +1 -0
- package/es/atom/input-search/index.d.ts.map +1 -1
- package/es/atom/input-search/index.js +7 -2
- package/es/atom/input-search/index.js.map +1 -1
- package/es/atom/input-text/index.d.ts +1 -0
- package/es/atom/input-text/index.d.ts.map +1 -1
- package/es/atom/input-text/index.js +3 -0
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text-with-title/index.d.ts +1 -0
- package/es/atom/radio-group/style.css +3 -1
- package/es/molecule/brand-form-group/index.d.ts +1 -0
- package/es/molecule/brand-form-group/index.d.ts.map +1 -1
- package/es/molecule/brand-form-group/index.js +10 -1
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +3 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/course-sections/index.d.ts +1 -0
- package/es/molecule/drag-and-drop/index.d.ts +1 -0
- package/es/molecule/drag-and-drop/upload-report.d.ts +1 -0
- package/es/molecule/draggable-list/index.d.ts +1 -0
- package/es/molecule/multi-filter-panel/index.d.ts +1 -0
- package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.d.ts +1 -0
- package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/es/molecule/search-form/index.d.ts +1 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
- package/es/molecule/translation-modal/index.d.ts +2 -0
- package/es/organism/assignment-edition/index.d.ts +259 -0
- package/es/organism/assignment-edition/index.d.ts.map +1 -0
- package/es/organism/assignment-edition/index.js +116 -0
- package/es/organism/assignment-edition/index.js.map +1 -0
- package/es/organism/assignment-edition/style.css +27 -0
- package/es/organism/assignment-edition/types.d.ts +310 -0
- package/es/organism/assignment-edition/types.d.ts.map +1 -0
- package/es/organism/assignment-edition/types.js +53 -0
- package/es/organism/assignment-edition/types.js.map +1 -0
- package/es/organism/brand-form/index.d.ts +1 -0
- package/es/organism/brand-learning-priorities/index.d.ts +1 -0
- package/es/organism/brand-table/index.d.ts +1 -0
- package/es/organism/content-selection-list/index.d.ts +8 -1
- package/es/organism/content-selection-list/index.d.ts.map +1 -1
- package/es/organism/content-selection-list/index.js +15 -6
- package/es/organism/content-selection-list/index.js.map +1 -1
- package/es/organism/content-selection-list/types.d.ts +13 -0
- package/es/organism/content-selection-list/types.d.ts.map +1 -1
- package/es/organism/content-selection-list/types.js +7 -0
- package/es/organism/content-selection-list/types.js.map +1 -1
- package/es/organism/content-skill-modal/index.d.ts +4 -0
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +4 -0
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/content-translation/index.d.ts +1 -0
- package/es/organism/filter-checkbox-and-search/index.d.ts +1 -0
- package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/props-types.d.ts +1 -0
- package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
- package/es/organism/icon-editor/index.d.ts +1 -0
- package/es/organism/icon-editor/index.d.ts.map +1 -1
- package/es/organism/icon-editor/types.d.ts +1 -0
- package/es/organism/icon-editor/types.d.ts.map +1 -1
- package/es/organism/list-item/index.d.ts +1 -0
- package/es/organism/list-items/index.d.ts +3 -0
- package/es/organism/mooc-header/index.d.ts +1 -0
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/rewards-form/index.d.ts +2 -0
- package/es/organism/select-opponents/index.d.ts +2 -0
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +2 -0
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/skill-edition/index.d.ts +9 -0
- package/es/organism/skill-edition/index.d.ts.map +1 -1
- package/es/organism/skill-edition/types.d.ts +9 -0
- package/es/organism/skill-edition/types.d.ts.map +1 -1
- package/es/organism/title-and-input/index.d.ts +4 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +4 -0
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +5 -0
- package/es/template/app-player/loading/index.d.ts +3 -0
- package/es/template/app-player/player/index.d.ts +6 -0
- package/es/template/app-player/player/slides/index.d.ts +3 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +3 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +3 -0
- package/es/template/app-review/index.d.ts +3 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +3 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +3 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +277 -0
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +7 -0
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/certification-detail/index.d.ts +3 -0
- package/es/template/common/dashboard/index.d.ts +6 -0
- package/es/template/common/search-page/index.d.ts +3 -0
- package/es/template/external-course/index.d.ts +3 -0
- package/es/template/playlist-detail/index.d.ts +3 -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 -1
- package/lib/atom/checkbox-with-title/index.js.map +1 -1
- package/lib/atom/input-search/index.d.ts +1 -0
- package/lib/atom/input-search/index.d.ts.map +1 -1
- package/lib/atom/input-search/index.js +7 -2
- package/lib/atom/input-search/index.js.map +1 -1
- package/lib/atom/input-text/index.d.ts +1 -0
- package/lib/atom/input-text/index.d.ts.map +1 -1
- package/lib/atom/input-text/index.js +3 -0
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text-with-title/index.d.ts +1 -0
- package/lib/atom/radio-group/style.css +3 -1
- package/lib/molecule/brand-form-group/index.d.ts +1 -0
- package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
- package/lib/molecule/brand-form-group/index.js +10 -1
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +3 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/course-sections/index.d.ts +1 -0
- package/lib/molecule/drag-and-drop/index.d.ts +1 -0
- package/lib/molecule/drag-and-drop/upload-report.d.ts +1 -0
- package/lib/molecule/draggable-list/index.d.ts +1 -0
- package/lib/molecule/multi-filter-panel/index.d.ts +1 -0
- package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.d.ts +1 -0
- package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/lib/molecule/search-form/index.d.ts +1 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
- package/lib/molecule/translation-modal/index.d.ts +2 -0
- package/lib/organism/assignment-edition/index.d.ts +259 -0
- package/lib/organism/assignment-edition/index.d.ts.map +1 -0
- package/lib/organism/assignment-edition/index.js +123 -0
- package/lib/organism/assignment-edition/index.js.map +1 -0
- package/lib/organism/assignment-edition/style.css +27 -0
- package/lib/organism/assignment-edition/types.d.ts +310 -0
- package/lib/organism/assignment-edition/types.d.ts.map +1 -0
- package/lib/organism/assignment-edition/types.js +58 -0
- package/lib/organism/assignment-edition/types.js.map +1 -0
- package/lib/organism/brand-form/index.d.ts +1 -0
- package/lib/organism/brand-learning-priorities/index.d.ts +1 -0
- package/lib/organism/brand-table/index.d.ts +1 -0
- package/lib/organism/content-selection-list/index.d.ts +8 -1
- package/lib/organism/content-selection-list/index.d.ts.map +1 -1
- package/lib/organism/content-selection-list/index.js +15 -6
- package/lib/organism/content-selection-list/index.js.map +1 -1
- package/lib/organism/content-selection-list/types.d.ts +13 -0
- package/lib/organism/content-selection-list/types.d.ts.map +1 -1
- package/lib/organism/content-selection-list/types.js +7 -0
- package/lib/organism/content-selection-list/types.js.map +1 -1
- package/lib/organism/content-skill-modal/index.d.ts +4 -0
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +4 -0
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/content-translation/index.d.ts +1 -0
- package/lib/organism/filter-checkbox-and-search/index.d.ts +1 -0
- package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts +1 -0
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
- package/lib/organism/icon-editor/index.d.ts +1 -0
- package/lib/organism/icon-editor/index.d.ts.map +1 -1
- package/lib/organism/icon-editor/types.d.ts +1 -0
- package/lib/organism/icon-editor/types.d.ts.map +1 -1
- package/lib/organism/list-item/index.d.ts +1 -0
- package/lib/organism/list-items/index.d.ts +3 -0
- package/lib/organism/mooc-header/index.d.ts +1 -0
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/rewards-form/index.d.ts +2 -0
- package/lib/organism/select-opponents/index.d.ts +2 -0
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +2 -0
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.d.ts +9 -0
- package/lib/organism/skill-edition/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/types.d.ts +9 -0
- package/lib/organism/skill-edition/types.d.ts.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +4 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +4 -0
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +5 -0
- package/lib/template/app-player/loading/index.d.ts +3 -0
- package/lib/template/app-player/player/index.d.ts +6 -0
- package/lib/template/app-player/player/slides/index.d.ts +3 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +3 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +3 -0
- package/lib/template/app-review/index.d.ts +3 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +3 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +3 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +277 -0
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +7 -0
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/certification-detail/index.d.ts +3 -0
- package/lib/template/common/dashboard/index.d.ts +6 -0
- package/lib/template/common/search-page/index.d.ts +3 -0
- package/lib/template/external-course/index.d.ts +3 -0
- package/lib/template/playlist-detail/index.d.ts +3 -0
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ declare namespace TitleAndCheckBoxWrapper {
|
|
|
7
7
|
title: PropTypes.Requireable<string>;
|
|
8
8
|
name: PropTypes.Requireable<string>;
|
|
9
9
|
checked: PropTypes.Requireable<boolean>;
|
|
10
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
10
11
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
12
|
'aria-label': PropTypes.Requireable<string>;
|
|
12
13
|
'data-name': PropTypes.Requireable<string>;
|
|
@@ -108,6 +109,7 @@ declare namespace TitleAndCheckBoxWrapper {
|
|
|
108
109
|
title: PropTypes.Requireable<string>;
|
|
109
110
|
placeholder: PropTypes.Requireable<string>;
|
|
110
111
|
defaultValue: PropTypes.Requireable<string>;
|
|
112
|
+
maxLength: PropTypes.Requireable<number>;
|
|
111
113
|
disabled: PropTypes.Requireable<boolean>;
|
|
112
114
|
readOnly: PropTypes.Requireable<boolean>;
|
|
113
115
|
value: PropTypes.Requireable<string>;
|
|
@@ -17,6 +17,7 @@ declare namespace TranslationModal {
|
|
|
17
17
|
title: PropTypes.Requireable<string>;
|
|
18
18
|
placeholder: PropTypes.Requireable<string>;
|
|
19
19
|
defaultValue: PropTypes.Requireable<string>;
|
|
20
|
+
maxLength: PropTypes.Requireable<number>;
|
|
20
21
|
disabled: PropTypes.Requireable<boolean>;
|
|
21
22
|
readOnly: PropTypes.Requireable<boolean>;
|
|
22
23
|
value: PropTypes.Requireable<string>;
|
|
@@ -55,6 +56,7 @@ declare namespace TranslationModal {
|
|
|
55
56
|
title: PropTypes.Requireable<string>;
|
|
56
57
|
placeholder: PropTypes.Requireable<string>;
|
|
57
58
|
defaultValue: PropTypes.Requireable<string>;
|
|
59
|
+
maxLength: PropTypes.Requireable<number>;
|
|
58
60
|
disabled: PropTypes.Requireable<boolean>;
|
|
59
61
|
readOnly: PropTypes.Requireable<boolean>;
|
|
60
62
|
value: PropTypes.Requireable<string>;
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AssignmentEditionProps } from './types';
|
|
3
|
+
export type { AssignmentEditionProps, AssignmentEditionPropsFixture } from './types';
|
|
4
|
+
declare const AssignmentEdition: {
|
|
5
|
+
({ information, audience, contents, dates, busy, isFetching, focusSection }: AssignmentEditionProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
information: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
8
|
+
title: import("prop-types").Validator<string>;
|
|
9
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
10
|
+
error: import("prop-types").Requireable<string>;
|
|
11
|
+
field: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
12
|
+
type: import("prop-types").Requireable<string>;
|
|
13
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
14
|
+
autoFocus: import("prop-types").Requireable<boolean>;
|
|
15
|
+
title: import("prop-types").Requireable<string>;
|
|
16
|
+
placeholder: import("prop-types").Requireable<string>;
|
|
17
|
+
defaultValue: import("prop-types").Requireable<string>;
|
|
18
|
+
theme: import("prop-types").Requireable<string>;
|
|
19
|
+
maxLength: import("prop-types").Requireable<number>;
|
|
20
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
21
|
+
readOnly: import("prop-types").Requireable<boolean>;
|
|
22
|
+
value: import("prop-types").Requireable<string>;
|
|
23
|
+
hint: import("prop-types").Requireable<string>;
|
|
24
|
+
error: import("prop-types").Requireable<string>;
|
|
25
|
+
description: import("prop-types").Requireable<string>;
|
|
26
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
27
|
+
valid: import("prop-types").Requireable<boolean>;
|
|
28
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
29
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
30
|
+
inputColor: import("prop-types").Requireable<boolean>;
|
|
31
|
+
}>>>;
|
|
32
|
+
}>>>;
|
|
33
|
+
audience: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
34
|
+
title: import("prop-types").Validator<string>;
|
|
35
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
36
|
+
disabledExplanation: import("prop-types").Requireable<string>;
|
|
37
|
+
team: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
38
|
+
label: import("prop-types").Validator<string>;
|
|
39
|
+
name: import("prop-types").Validator<string>;
|
|
40
|
+
}>>;
|
|
41
|
+
invalidTargets: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
42
|
+
ref: import("prop-types").Validator<string>;
|
|
43
|
+
label: import("prop-types").Validator<string>;
|
|
44
|
+
onRemove: import("prop-types").Validator<(...args: any[]) => any>;
|
|
45
|
+
}> | null | undefined)[]>;
|
|
46
|
+
invalidLabel: import("prop-types").Requireable<string>;
|
|
47
|
+
error: import("prop-types").Requireable<string>;
|
|
48
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
49
|
+
everyone: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
50
|
+
title: import("prop-types").Requireable<string>;
|
|
51
|
+
label: import("prop-types").Validator<string>;
|
|
52
|
+
value: import("prop-types").Validator<boolean>;
|
|
53
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
54
|
+
}>>;
|
|
55
|
+
populations: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
56
|
+
title: import("prop-types").Requireable<string>;
|
|
57
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
58
|
+
label: import("prop-types").Requireable<string>;
|
|
59
|
+
options: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
60
|
+
name: import("prop-types").Validator<string>;
|
|
61
|
+
value: import("prop-types").Validator<string>;
|
|
62
|
+
selected: import("prop-types").Validator<boolean>;
|
|
63
|
+
count: import("prop-types").Requireable<NonNullable<string | number | null | undefined>>;
|
|
64
|
+
}> | null | undefined)[]>;
|
|
65
|
+
removeLabel: import("prop-types").Requireable<string>;
|
|
66
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
67
|
+
}>>;
|
|
68
|
+
upload: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
69
|
+
title: import("prop-types").Requireable<string>;
|
|
70
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
71
|
+
templateLink: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
72
|
+
label: import("prop-types").Requireable<string>;
|
|
73
|
+
href: import("prop-types").Requireable<string>;
|
|
74
|
+
}>>;
|
|
75
|
+
templatePreview: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
76
|
+
header: import("prop-types").Validator<string>;
|
|
77
|
+
rows: import("prop-types").Requireable<(string | null | undefined)[]>;
|
|
78
|
+
}>>;
|
|
79
|
+
dropzone: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
80
|
+
description: import("prop-types").Requireable<string>;
|
|
81
|
+
browse: import("prop-types").Requireable<string>;
|
|
82
|
+
dropLabel: import("prop-types").Requireable<string>;
|
|
83
|
+
loadingLabel: import("prop-types").Requireable<string>;
|
|
84
|
+
}>>;
|
|
85
|
+
status: import("prop-types").Validator<string>;
|
|
86
|
+
error: import("prop-types").Requireable<string>;
|
|
87
|
+
onUpload: import("prop-types").Validator<(...args: any[]) => any>;
|
|
88
|
+
file: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
89
|
+
name: import("prop-types").Requireable<string>;
|
|
90
|
+
detail: import("prop-types").Requireable<string>;
|
|
91
|
+
}>>;
|
|
92
|
+
summary: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
93
|
+
valid: import("prop-types").Requireable<string>;
|
|
94
|
+
unknown: import("prop-types").Requireable<string>;
|
|
95
|
+
ambiguous: import("prop-types").Requireable<string>;
|
|
96
|
+
inactive: import("prop-types").Requireable<string>;
|
|
97
|
+
}>>;
|
|
98
|
+
keptLabel: import("prop-types").Requireable<string>;
|
|
99
|
+
report: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
100
|
+
label: import("prop-types").Validator<string>;
|
|
101
|
+
onDownload: import("prop-types").Validator<(...args: any[]) => any>;
|
|
102
|
+
}>>;
|
|
103
|
+
removeLabel: import("prop-types").Requireable<string>;
|
|
104
|
+
onRemove: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
105
|
+
}>>;
|
|
106
|
+
individuals: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
107
|
+
title: import("prop-types").Requireable<string>;
|
|
108
|
+
placeholder: import("prop-types").Requireable<string>;
|
|
109
|
+
value: import("prop-types").Requireable<string>;
|
|
110
|
+
suggestions: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
111
|
+
id: import("prop-types").Validator<string>;
|
|
112
|
+
label: import("prop-types").Validator<string>;
|
|
113
|
+
login: import("prop-types").Validator<string>;
|
|
114
|
+
}> | null | undefined)[]>;
|
|
115
|
+
selected: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
116
|
+
id: import("prop-types").Validator<string>;
|
|
117
|
+
label: import("prop-types").Validator<string>;
|
|
118
|
+
login: import("prop-types").Validator<string>;
|
|
119
|
+
}> | null | undefined)[]>;
|
|
120
|
+
removeLabel: import("prop-types").Requireable<string>;
|
|
121
|
+
onSearch: import("prop-types").Validator<(...args: any[]) => any>;
|
|
122
|
+
onAdd: import("prop-types").Validator<(...args: any[]) => any>;
|
|
123
|
+
onRemove: import("prop-types").Validator<(...args: any[]) => any>;
|
|
124
|
+
}>>;
|
|
125
|
+
total: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
126
|
+
label: import("prop-types").Validator<string>;
|
|
127
|
+
detail: import("prop-types").Requireable<string>;
|
|
128
|
+
}>>;
|
|
129
|
+
}>>>;
|
|
130
|
+
contents: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
131
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
132
|
+
title: import("prop-types").Validator<string>;
|
|
133
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
134
|
+
button: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
135
|
+
label: import("prop-types").Validator<string>;
|
|
136
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
137
|
+
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
138
|
+
}>>>;
|
|
139
|
+
list: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
140
|
+
title: import("prop-types").Requireable<string>;
|
|
141
|
+
items: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
142
|
+
hidden: import("prop-types").Requireable<boolean>;
|
|
143
|
+
hint: import("prop-types").Requireable<string>;
|
|
144
|
+
ref: import("prop-types").Validator<string>;
|
|
145
|
+
title: import("prop-types").Validator<string>;
|
|
146
|
+
subtitle: import("prop-types").Validator<string>;
|
|
147
|
+
image: import("prop-types").Validator<string>;
|
|
148
|
+
tags: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
149
|
+
label: import("prop-types").Validator<string>;
|
|
150
|
+
iconName: import("prop-types").Validator<string>;
|
|
151
|
+
}>>>;
|
|
152
|
+
checkbox: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
153
|
+
checked: import("prop-types").Validator<boolean>;
|
|
154
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
155
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
156
|
+
}>>>;
|
|
157
|
+
deleteButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
158
|
+
label: import("prop-types").Requireable<string>;
|
|
159
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
160
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
161
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
162
|
+
}>>;
|
|
163
|
+
}>>[]>;
|
|
164
|
+
search: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
165
|
+
value: import("prop-types").Validator<string>;
|
|
166
|
+
placeholder: import("prop-types").Validator<string>;
|
|
167
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
168
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
169
|
+
}>>;
|
|
170
|
+
emptyResult: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
171
|
+
title: import("prop-types").Validator<string>;
|
|
172
|
+
description: import("prop-types").Validator<string>;
|
|
173
|
+
}>>;
|
|
174
|
+
checkbox: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
175
|
+
title: import("prop-types").Validator<string>;
|
|
176
|
+
checked: import("prop-types").Validator<boolean>;
|
|
177
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
178
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
179
|
+
}>>;
|
|
180
|
+
}>>>;
|
|
181
|
+
error: import("prop-types").Requireable<string>;
|
|
182
|
+
hiddenLabel: import("prop-types").Requireable<string>;
|
|
183
|
+
isFetching: import("prop-types").Requireable<boolean>;
|
|
184
|
+
actionButtons: import("prop-types").Requireable<(object | null | undefined)[]>;
|
|
185
|
+
checkboxWithTitle: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
186
|
+
title: import("prop-types").Requireable<string>;
|
|
187
|
+
checked: import("prop-types").Requireable<boolean>;
|
|
188
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
189
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
190
|
+
}>>;
|
|
191
|
+
readOnly: import("prop-types").Requireable<boolean>;
|
|
192
|
+
}>>>;
|
|
193
|
+
dates: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
194
|
+
title: import("prop-types").Validator<string>;
|
|
195
|
+
error: import("prop-types").Requireable<string>;
|
|
196
|
+
fields: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
197
|
+
type: import("prop-types").Requireable<string>;
|
|
198
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
199
|
+
title: import("prop-types").Requireable<string>;
|
|
200
|
+
name: import("prop-types").Requireable<string>;
|
|
201
|
+
value: import("prop-types").Requireable<string>;
|
|
202
|
+
min: import("prop-types").Requireable<string>;
|
|
203
|
+
max: import("prop-types").Requireable<string>;
|
|
204
|
+
error: import("prop-types").Requireable<string>;
|
|
205
|
+
hint: import("prop-types").Requireable<string>;
|
|
206
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
207
|
+
required: import("prop-types").Requireable<boolean>;
|
|
208
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
209
|
+
suffix: import("prop-types").Requireable<string>;
|
|
210
|
+
theme: import("prop-types").Requireable<string>;
|
|
211
|
+
}>>[]>;
|
|
212
|
+
rule: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
213
|
+
title: import("prop-types").Validator<string>;
|
|
214
|
+
hint: import("prop-types").Requireable<string>;
|
|
215
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
216
|
+
options: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
217
|
+
title: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
218
|
+
title: import("prop-types").Validator<string>;
|
|
219
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
220
|
+
}>>>;
|
|
221
|
+
name: import("prop-types").Requireable<string>;
|
|
222
|
+
checked: import("prop-types").Requireable<boolean>;
|
|
223
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
224
|
+
example: import("prop-types").Requireable<string>;
|
|
225
|
+
hint: import("prop-types").Requireable<string>;
|
|
226
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
227
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
228
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
229
|
+
}>>[]>;
|
|
230
|
+
}>>>;
|
|
231
|
+
reminders: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
232
|
+
hint: import("prop-types").Validator<string>;
|
|
233
|
+
switches: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
234
|
+
onChange: import("prop-types").Validator<(...args: any[]) => any>;
|
|
235
|
+
title: import("prop-types").Requireable<string>;
|
|
236
|
+
name: import("prop-types").Requireable<string>;
|
|
237
|
+
id: import("prop-types").Requireable<string>;
|
|
238
|
+
value: import("prop-types").Requireable<boolean>;
|
|
239
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
240
|
+
description: import("prop-types").Requireable<string>;
|
|
241
|
+
'aria-labelledby': import("prop-types").Requireable<string>;
|
|
242
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
243
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
244
|
+
titlePosition: import("prop-types").Requireable<string>;
|
|
245
|
+
theme: import("prop-types").Requireable<string>;
|
|
246
|
+
details: import("prop-types").Requireable<string>;
|
|
247
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
248
|
+
requiredSelection: import("prop-types").Requireable<boolean>;
|
|
249
|
+
icon: import("prop-types").Requireable<string>;
|
|
250
|
+
}>>[]>;
|
|
251
|
+
}>>>;
|
|
252
|
+
}>>>;
|
|
253
|
+
busy: import("prop-types").Requireable<boolean>;
|
|
254
|
+
isFetching: import("prop-types").Requireable<boolean>;
|
|
255
|
+
focusSection: import("prop-types").Requireable<string>;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
export default AssignmentEdition;
|
|
259
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/assignment-edition/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAC,sBAAsB,EAAY,MAAM,SAAS,CAAC;AAG1D,YAAY,EAAC,sBAAsB,EAAE,6BAA6B,EAAC,MAAM,SAAS,CAAC;AAEnF,QAAA,MAAM,iBAAiB;iFAQpB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGxB,CAAC;AAGF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
+
import React, { useEffect, useMemo, useRef } from 'react';
|
|
3
|
+
import uniqueId from 'lodash/fp/uniqueId';
|
|
4
|
+
import BrandFormGroup from '../../molecule/brand-form-group';
|
|
5
|
+
import AssignmentAudience from '../assignment-audience';
|
|
6
|
+
import ContentSelectionList from '../content-selection-list';
|
|
7
|
+
import Title from '../../atom/title';
|
|
8
|
+
import RadioWithTitle from '../../atom/radio-with-title';
|
|
9
|
+
import InputSwitch from '../../atom/input-switch';
|
|
10
|
+
import Loader from '../../atom/loader';
|
|
11
|
+
import { propTypes } from './types';
|
|
12
|
+
import style from './style.css';
|
|
13
|
+
const AssignmentEdition = ({
|
|
14
|
+
information,
|
|
15
|
+
audience,
|
|
16
|
+
contents,
|
|
17
|
+
dates,
|
|
18
|
+
busy = false,
|
|
19
|
+
isFetching = false,
|
|
20
|
+
focusSection
|
|
21
|
+
}) => {
|
|
22
|
+
const root = useRef(null);
|
|
23
|
+
const radioName = useMemo(() => uniqueId('assignment-rule-'), []);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
if (!focusSection || isFetching) return;
|
|
26
|
+
const section = root.current?.querySelector(`#assignment-${focusSection}`);
|
|
27
|
+
if (!section) return;
|
|
28
|
+
const findHeader = ancestor => {
|
|
29
|
+
if (!ancestor) return null;
|
|
30
|
+
return ancestor.querySelector('[data-name="header-with-actions-wrapper"]') || findHeader(ancestor.parentElement);
|
|
31
|
+
};
|
|
32
|
+
const header = findHeader(root.current?.parentElement || null);
|
|
33
|
+
const bottom = header?.parentElement?.getBoundingClientRect().bottom || 0;
|
|
34
|
+
section.style.scrollMarginTop = `${bottom + 16}px`;
|
|
35
|
+
section.scrollIntoView?.({
|
|
36
|
+
block: 'start'
|
|
37
|
+
});
|
|
38
|
+
}, [focusSection, isFetching]);
|
|
39
|
+
if (isFetching) {
|
|
40
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
className: style.loaderContainer
|
|
42
|
+
}, /*#__PURE__*/React.createElement(Loader, {
|
|
43
|
+
className: style.loader,
|
|
44
|
+
theme: "coorpmanager"
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
48
|
+
ref: root,
|
|
49
|
+
className: style.container
|
|
50
|
+
}, /*#__PURE__*/React.createElement("section", {
|
|
51
|
+
id: "assignment-information",
|
|
52
|
+
"data-name": "assignment-information",
|
|
53
|
+
className: style.card
|
|
54
|
+
}, /*#__PURE__*/React.createElement(BrandFormGroup, {
|
|
55
|
+
title: information.title,
|
|
56
|
+
subtitle: information.subtitle,
|
|
57
|
+
error: information.error,
|
|
58
|
+
fields: [{
|
|
59
|
+
...information.field,
|
|
60
|
+
type: 'text',
|
|
61
|
+
maxLength: 100,
|
|
62
|
+
theme: 'coorpmanager',
|
|
63
|
+
disabled: busy || information.field.disabled
|
|
64
|
+
}]
|
|
65
|
+
})), /*#__PURE__*/React.createElement("section", {
|
|
66
|
+
id: "assignment-audience",
|
|
67
|
+
"data-name": "assignment-audience",
|
|
68
|
+
className: style.card
|
|
69
|
+
}, /*#__PURE__*/React.createElement(AssignmentAudience, _extends({}, audience, {
|
|
70
|
+
disabled: busy || audience.disabled
|
|
71
|
+
}))), /*#__PURE__*/React.createElement("section", {
|
|
72
|
+
id: "assignment-contents",
|
|
73
|
+
"data-name": "assignment-contents",
|
|
74
|
+
className: style.card
|
|
75
|
+
}, /*#__PURE__*/React.createElement(ContentSelectionList, _extends({}, contents, {
|
|
76
|
+
disabled: busy || contents.disabled
|
|
77
|
+
}))), /*#__PURE__*/React.createElement("section", {
|
|
78
|
+
id: "assignment-dates",
|
|
79
|
+
"data-name": "assignment-dates",
|
|
80
|
+
className: style.card
|
|
81
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
82
|
+
className: style.content
|
|
83
|
+
}, /*#__PURE__*/React.createElement(BrandFormGroup, {
|
|
84
|
+
title: dates.title,
|
|
85
|
+
error: dates.error,
|
|
86
|
+
fields: dates.fields.map(field => ({
|
|
87
|
+
...field,
|
|
88
|
+
type: 'date',
|
|
89
|
+
theme: 'coorpmanager',
|
|
90
|
+
disabled: busy || field.disabled
|
|
91
|
+
}))
|
|
92
|
+
}), /*#__PURE__*/React.createElement(Title, {
|
|
93
|
+
type: "form-group",
|
|
94
|
+
title: dates.rule.title
|
|
95
|
+
}), dates.rule.hint ? /*#__PURE__*/React.createElement("div", null, dates.rule.hint) : null, dates.rule.options.map((option, index) => /*#__PURE__*/React.createElement(RadioWithTitle, _extends({}, option, {
|
|
96
|
+
key: option['data-name'] || option.title.title,
|
|
97
|
+
title: {
|
|
98
|
+
...option.title,
|
|
99
|
+
subtitle: option.title.subtitle || '',
|
|
100
|
+
type: 'form-group',
|
|
101
|
+
subtitleSize: 'extra-small',
|
|
102
|
+
'data-name': `assignment-rule-title-${index}`
|
|
103
|
+
},
|
|
104
|
+
name: option.name || radioName,
|
|
105
|
+
checked: Boolean(option.checked),
|
|
106
|
+
disabled: busy || dates.rule.disabled || option.disabled,
|
|
107
|
+
"aria-label": option['aria-label'] || option.title.title
|
|
108
|
+
}))), /*#__PURE__*/React.createElement("div", null, dates.reminders.hint), dates.reminders.switches.map((reminder, index) => /*#__PURE__*/React.createElement(InputSwitch, _extends({}, reminder, {
|
|
109
|
+
key: reminder.name || reminder['data-name'] || reminder.title || index,
|
|
110
|
+
theme: "coorpmanager",
|
|
111
|
+
disabled: busy || reminder.disabled
|
|
112
|
+
}))))));
|
|
113
|
+
};
|
|
114
|
+
AssignmentEdition.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
115
|
+
export default AssignmentEdition;
|
|
116
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useEffect","useMemo","useRef","uniqueId","BrandFormGroup","AssignmentAudience","ContentSelectionList","Title","RadioWithTitle","InputSwitch","Loader","propTypes","style","AssignmentEdition","information","audience","contents","dates","busy","isFetching","focusSection","root","radioName","section","current","querySelector","findHeader","ancestor","parentElement","header","bottom","getBoundingClientRect","scrollMarginTop","scrollIntoView","block","createElement","className","loaderContainer","loader","theme","ref","container","id","card","title","subtitle","error","fields","field","type","maxLength","disabled","_extends","content","map","rule","hint","options","option","index","key","subtitleSize","name","checked","Boolean","reminders","switches","reminder","process","env","NODE_ENV"],"sources":["../../../src/organism/assignment-edition/index.tsx"],"sourcesContent":["import React, {useEffect, useMemo, useRef} from 'react';\nimport uniqueId from 'lodash/fp/uniqueId';\nimport BrandFormGroup from '../../molecule/brand-form-group';\nimport AssignmentAudience from '../assignment-audience';\nimport ContentSelectionList from '../content-selection-list';\nimport Title from '../../atom/title';\nimport RadioWithTitle from '../../atom/radio-with-title';\nimport InputSwitch from '../../atom/input-switch';\nimport Loader from '../../atom/loader';\nimport {AssignmentEditionProps, propTypes} from './types';\nimport style from './style.css';\n\nexport type {AssignmentEditionProps, AssignmentEditionPropsFixture} from './types';\n\nconst AssignmentEdition = ({\n information,\n audience,\n contents,\n dates,\n busy = false,\n isFetching = false,\n focusSection\n}: AssignmentEditionProps) => {\n const root = useRef<HTMLDivElement>(null);\n const radioName = useMemo(() => uniqueId('assignment-rule-'), []);\n\n useEffect(() => {\n if (!focusSection || isFetching) return;\n const section = root.current?.querySelector<HTMLElement>(`#assignment-${focusSection}`);\n if (!section) return;\n const findHeader = (ancestor: HTMLElement | null): HTMLElement | null => {\n if (!ancestor) return null;\n return (\n ancestor.querySelector<HTMLElement>('[data-name=\"header-with-actions-wrapper\"]') ||\n findHeader(ancestor.parentElement)\n );\n };\n const header = findHeader(root.current?.parentElement || null);\n const bottom = header?.parentElement?.getBoundingClientRect().bottom || 0;\n section.style.scrollMarginTop = `${bottom + 16}px`;\n section.scrollIntoView?.({block: 'start'});\n }, [focusSection, isFetching]);\n\n if (isFetching) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n return (\n <div ref={root} className={style.container}>\n <section\n id=\"assignment-information\"\n data-name=\"assignment-information\"\n className={style.card}\n >\n <BrandFormGroup\n title={information.title}\n subtitle={information.subtitle}\n error={information.error}\n fields={[\n {\n ...information.field,\n type: 'text',\n maxLength: 100,\n theme: 'coorpmanager',\n disabled: busy || information.field.disabled\n }\n ]}\n />\n </section>\n <section id=\"assignment-audience\" data-name=\"assignment-audience\" className={style.card}>\n <AssignmentAudience {...audience} disabled={busy || audience.disabled} />\n </section>\n <section id=\"assignment-contents\" data-name=\"assignment-contents\" className={style.card}>\n <ContentSelectionList {...contents} disabled={busy || contents.disabled} />\n </section>\n <section id=\"assignment-dates\" data-name=\"assignment-dates\" className={style.card}>\n <div className={style.content}>\n <BrandFormGroup\n title={dates.title}\n error={dates.error}\n fields={dates.fields.map(field => ({\n ...field,\n type: 'date',\n theme: 'coorpmanager',\n disabled: busy || field.disabled\n }))}\n />\n <Title type=\"form-group\" title={dates.rule.title} />\n {dates.rule.hint ? <div>{dates.rule.hint}</div> : null}\n {dates.rule.options.map((option, index) => (\n <RadioWithTitle\n {...option}\n key={option['data-name'] || option.title.title}\n title={{\n ...option.title,\n subtitle: option.title.subtitle || '',\n type: 'form-group',\n subtitleSize: 'extra-small',\n 'data-name': `assignment-rule-title-${index}`\n }}\n name={option.name || radioName}\n checked={Boolean(option.checked)}\n disabled={busy || dates.rule.disabled || option.disabled}\n aria-label={option['aria-label'] || option.title.title}\n />\n ))}\n <div>{dates.reminders.hint}</div>\n {dates.reminders.switches.map((reminder, index) => (\n <InputSwitch\n {...reminder}\n key={reminder.name || reminder['data-name'] || reminder.title || index}\n theme=\"coorpmanager\"\n disabled={busy || reminder.disabled}\n />\n ))}\n </div>\n </section>\n </div>\n );\n};\n\nAssignmentEdition.propTypes = propTypes;\nexport default AssignmentEdition;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,OAAO,EAAEC,MAAM,QAAO,OAAO;AACvD,OAAOC,QAAQ,MAAM,oBAAoB;AACzC,OAAOC,cAAc,MAAM,iCAAiC;AAC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2
|
+
@value white, cm_grey_100 from colors;
|
|
3
|
+
|
|
4
|
+
.container {
|
|
5
|
+
composes: container from '../skill-edition/style.css';
|
|
6
|
+
gap: 24px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.content {
|
|
10
|
+
composes: contentContainer from '../skill-edition/style.css';
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.loaderContainer {
|
|
14
|
+
composes: loaderContainer from '../skill-edition/style.css';
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.loader {
|
|
18
|
+
composes: loader from '../skill-edition/style.css';
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.card {
|
|
22
|
+
padding: 32px;
|
|
23
|
+
border: 1px solid cm_grey_100;
|
|
24
|
+
border-radius: 12px;
|
|
25
|
+
background: white;
|
|
26
|
+
scroll-margin-top: 16px;
|
|
27
|
+
}
|