@coorpacademy/components 11.18.7 → 11.18.8-alpha.12
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/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.js +1 -1
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/button-menu/style.css +10 -0
- package/es/atom/button-menu/types.d.ts +1 -1
- package/es/atom/button-menu/types.d.ts.map +1 -1
- package/es/atom/button-menu/types.js +1 -1
- package/es/atom/button-menu/types.js.map +1 -1
- package/es/atom/empty-search-result/index.d.ts +1 -0
- package/es/atom/empty-search-result/index.d.ts.map +1 -1
- package/es/atom/empty-search-result/index.js +6 -4
- package/es/atom/empty-search-result/index.js.map +1 -1
- package/es/atom/empty-search-result/style.css +16 -1
- package/es/atom/status-item/index.d.ts +1 -0
- package/es/atom/status-item/index.d.ts.map +1 -1
- package/es/atom/status-item/index.js +3 -2
- package/es/atom/status-item/index.js.map +1 -1
- package/es/atom/status-item/style.css +15 -17
- package/es/atom/status-item/types.d.ts +2 -0
- package/es/atom/status-item/types.d.ts.map +1 -1
- package/es/atom/status-item/types.js +1 -0
- package/es/atom/status-item/types.js.map +1 -1
- package/es/atom/tag/index.js +4 -4
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/tag/style.css +11 -8
- package/es/atom/title/types.d.ts +9 -0
- package/es/atom/title/types.d.ts.map +1 -0
- package/es/atom/title/types.js +2 -0
- package/es/atom/title/types.js.map +1 -0
- package/es/molecule/banner/style.css +4 -2
- package/es/molecule/brand-tabs/index.d.ts +1 -0
- package/es/molecule/brand-tabs/index.d.ts.map +1 -1
- package/es/molecule/brand-tabs/index.js +10 -1
- package/es/molecule/brand-tabs/index.js.map +1 -1
- package/es/molecule/brand-tabs/style.css +7 -4
- package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/es/molecule/bulk-progress-bar/index.js +4 -2
- package/es/molecule/bulk-progress-bar/index.js.map +1 -1
- package/es/molecule/bulk-progress-bar/style.css +5 -0
- package/es/molecule/card/index.d.ts +53 -0
- package/es/molecule/card/index.d.ts.map +1 -1
- package/es/molecule/card/index.js +14 -12
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/style.css +47 -5
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.js +46 -9
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/style.css +32 -0
- package/es/molecule/cm-popin/types.d.ts +31 -1
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js +13 -3
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/dashboard/cards-list/index.d.ts +57 -1
- package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +39 -5
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/dashboard/cards-list/prop-types.d.ts +14 -0
- package/es/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -0
- package/es/molecule/dashboard/cards-list/prop-types.js +2 -0
- package/es/molecule/dashboard/cards-list/prop-types.js.map +1 -0
- package/es/molecule/draggable-list/index.d.ts +32 -12
- package/es/molecule/expandible-actionable-table/index.d.ts +3 -0
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/index.js +15 -2
- package/es/molecule/expandible-actionable-table/index.js.map +1 -1
- package/es/molecule/expandible-actionable-table/style.css +5 -0
- package/es/molecule/expandible-actionable-table/types.d.ts +5 -0
- package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.js +3 -1
- package/es/molecule/expandible-actionable-table/types.js.map +1 -1
- package/es/molecule/review-header-steps/index.d.ts.map +1 -1
- package/es/molecule/review-header-steps/index.js +3 -4
- package/es/molecule/review-header-steps/index.js.map +1 -1
- package/es/molecule/review-header-steps/prop-types.d.ts +1 -0
- package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
- package/es/molecule/review-header-steps/style.css +6 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +45 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.js +15 -3
- package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/es/organism/list-item/index.d.ts +44 -13
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +72 -38
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +28 -5
- package/es/organism/list-items/index.d.ts +36 -12
- package/es/organism/list-items/index.d.ts.map +1 -1
- package/es/organism/list-items/index.js +19 -4
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/list-items/style.css +42 -0
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +1 -0
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/review-header/types.d.ts +1 -0
- package/es/organism/review-header/types.d.ts.map +1 -1
- package/es/organism/rewards-form/index.d.ts +45 -0
- package/es/organism/select-opponents/index.d.ts +67 -12
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/index.js +3 -3
- package/es/organism/select-opponents/index.js.map +1 -1
- package/es/organism/select-opponents/style.css +6 -0
- package/es/organism/select-opponents/types.d.ts +75 -14
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/select-opponents/types.js +2 -2
- package/es/organism/select-opponents/types.js.map +1 -1
- package/es/organism/sidebar/index.d.ts +3 -1
- package/es/organism/sidebar/index.d.ts.map +1 -1
- package/es/organism/sidebar/index.js +9 -5
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/organism/sidebar/style.css +14 -0
- package/es/organism/title-and-input/index.d.ts +84 -29
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +84 -29
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +112 -0
- package/es/organism/wizard-contents/index.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.js +37 -4
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/organism/wizard-contents/style.css +22 -0
- package/es/template/app-player/loading/index.d.ts +19 -1
- package/es/template/app-player/player/index.d.ts +38 -2
- package/es/template/app-player/player/slides/index.d.ts +19 -1
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +19 -1
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +72 -2
- package/es/template/app-player/popin-end/summary.d.ts +53 -1
- package/es/template/app-review/index.d.ts +20 -1
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +20 -1
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +20 -1
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +122 -13
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +4 -2
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/brand-update/style.css +4 -4
- package/es/template/common/dashboard/index.d.ts +89 -1
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.js +6 -2
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/dashboard/style.css +5 -0
- package/es/template/common/search-page/index.d.ts +123 -1
- package/es/template/common/search-page/index.d.ts.map +1 -1
- package/es/template/common/search-page/index.js +8 -3
- package/es/template/common/search-page/index.js.map +1 -1
- package/es/template/common/search-page/style.css +5 -0
- package/es/template/external-course/index.d.ts +19 -1
- package/es/template/teams-dashboard/index.d.ts +53 -1
- package/es/variables/colors.css +3 -2
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.js +1 -1
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/style.css +10 -0
- package/lib/atom/button-menu/types.d.ts +1 -1
- package/lib/atom/button-menu/types.d.ts.map +1 -1
- package/lib/atom/button-menu/types.js +1 -1
- package/lib/atom/button-menu/types.js.map +1 -1
- package/lib/atom/empty-search-result/index.d.ts +1 -0
- package/lib/atom/empty-search-result/index.d.ts.map +1 -1
- package/lib/atom/empty-search-result/index.js +6 -4
- package/lib/atom/empty-search-result/index.js.map +1 -1
- package/lib/atom/empty-search-result/style.css +16 -1
- package/lib/atom/status-item/index.d.ts +1 -0
- package/lib/atom/status-item/index.d.ts.map +1 -1
- package/lib/atom/status-item/index.js +3 -2
- package/lib/atom/status-item/index.js.map +1 -1
- package/lib/atom/status-item/style.css +15 -17
- package/lib/atom/status-item/types.d.ts +2 -0
- package/lib/atom/status-item/types.d.ts.map +1 -1
- package/lib/atom/status-item/types.js +1 -0
- package/lib/atom/status-item/types.js.map +1 -1
- package/lib/atom/tag/index.js +4 -4
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/tag/style.css +11 -8
- package/lib/atom/title/types.d.ts +9 -0
- package/lib/atom/title/types.d.ts.map +1 -0
- package/lib/atom/title/types.js +2 -0
- package/lib/atom/title/types.js.map +1 -0
- package/lib/molecule/banner/style.css +4 -2
- package/lib/molecule/brand-tabs/index.d.ts +1 -0
- package/lib/molecule/brand-tabs/index.d.ts.map +1 -1
- package/lib/molecule/brand-tabs/index.js +11 -1
- package/lib/molecule/brand-tabs/index.js.map +1 -1
- package/lib/molecule/brand-tabs/style.css +7 -4
- package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/bulk-progress-bar/index.js +4 -2
- package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
- package/lib/molecule/bulk-progress-bar/style.css +5 -0
- package/lib/molecule/card/index.d.ts +53 -0
- package/lib/molecule/card/index.d.ts.map +1 -1
- package/lib/molecule/card/index.js +15 -11
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/style.css +47 -5
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.js +48 -8
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/style.css +32 -0
- package/lib/molecule/cm-popin/types.d.ts +31 -1
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +15 -3
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts +57 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +43 -5
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/prop-types.d.ts +14 -0
- package/lib/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -0
- package/lib/molecule/dashboard/cards-list/prop-types.js +2 -0
- package/lib/molecule/dashboard/cards-list/prop-types.js.map +1 -0
- package/lib/molecule/draggable-list/index.d.ts +32 -12
- package/lib/molecule/expandible-actionable-table/index.d.ts +3 -0
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/index.js +17 -2
- package/lib/molecule/expandible-actionable-table/index.js.map +1 -1
- package/lib/molecule/expandible-actionable-table/style.css +5 -0
- package/lib/molecule/expandible-actionable-table/types.d.ts +5 -0
- package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.js +3 -1
- package/lib/molecule/expandible-actionable-table/types.js.map +1 -1
- package/lib/molecule/review-header-steps/index.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/index.js +3 -4
- package/lib/molecule/review-header-steps/index.js.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.d.ts +1 -0
- package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/style.css +6 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +45 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.js +17 -3
- package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
- package/lib/organism/list-item/index.d.ts +44 -13
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +73 -37
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +28 -5
- package/lib/organism/list-items/index.d.ts +36 -12
- package/lib/organism/list-items/index.d.ts.map +1 -1
- package/lib/organism/list-items/index.js +21 -4
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/list-items/style.css +42 -0
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +1 -0
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/review-header/types.d.ts +1 -0
- package/lib/organism/review-header/types.d.ts.map +1 -1
- package/lib/organism/rewards-form/index.d.ts +45 -0
- package/lib/organism/select-opponents/index.d.ts +67 -12
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/index.js +3 -3
- package/lib/organism/select-opponents/index.js.map +1 -1
- package/lib/organism/select-opponents/style.css +6 -0
- package/lib/organism/select-opponents/types.d.ts +75 -14
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.js +2 -2
- package/lib/organism/select-opponents/types.js.map +1 -1
- package/lib/organism/sidebar/index.d.ts +3 -1
- package/lib/organism/sidebar/index.d.ts.map +1 -1
- package/lib/organism/sidebar/index.js +8 -4
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/organism/sidebar/style.css +14 -0
- package/lib/organism/title-and-input/index.d.ts +84 -29
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +84 -29
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +112 -0
- package/lib/organism/wizard-contents/index.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.js +39 -4
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/organism/wizard-contents/style.css +22 -0
- package/lib/template/app-player/loading/index.d.ts +19 -1
- package/lib/template/app-player/player/index.d.ts +38 -2
- package/lib/template/app-player/player/slides/index.d.ts +19 -1
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +19 -1
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +72 -2
- package/lib/template/app-player/popin-end/summary.d.ts +53 -1
- package/lib/template/app-review/index.d.ts +20 -1
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +20 -1
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +20 -1
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +122 -13
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +4 -2
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/brand-update/style.css +4 -4
- package/lib/template/common/dashboard/index.d.ts +89 -1
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.js +6 -2
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/dashboard/style.css +5 -0
- package/lib/template/common/search-page/index.d.ts +123 -1
- package/lib/template/common/search-page/index.d.ts.map +1 -1
- package/lib/template/common/search-page/index.js +9 -3
- package/lib/template/common/search-page/index.js.map +1 -1
- package/lib/template/common/search-page/style.css +5 -0
- package/lib/template/external-course/index.d.ts +19 -1
- package/lib/template/teams-dashboard/index.d.ts +53 -1
- package/lib/variables/colors.css +3 -2
- package/locales/.mtslconfig.json +1 -0
- package/locales/et/global.json +3 -3
- package/package.json +3 -3
|
@@ -12,23 +12,6 @@ declare const TitleAndInput: {
|
|
|
12
12
|
subtitleSize: import("prop-types").Requireable<string>;
|
|
13
13
|
}>>>;
|
|
14
14
|
field: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
15
|
-
title: import("prop-types").Requireable<string>;
|
|
16
|
-
placeholder: import("prop-types").Requireable<string>;
|
|
17
|
-
description: import("prop-types").Requireable<string>;
|
|
18
|
-
hint: import("prop-types").Requireable<string>;
|
|
19
|
-
options: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
20
|
-
selected: import("prop-types").Validator<boolean>;
|
|
21
|
-
name: import("prop-types").Validator<string>;
|
|
22
|
-
value: import("prop-types").Requireable<string>;
|
|
23
|
-
}>>[]>;
|
|
24
|
-
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
25
|
-
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
26
|
-
multiple: import("prop-types").Requireable<boolean>;
|
|
27
|
-
modified: import("prop-types").Requireable<boolean>;
|
|
28
|
-
disabled: import("prop-types").Requireable<boolean>;
|
|
29
|
-
error: import("prop-types").Requireable<string>;
|
|
30
|
-
theme: import("prop-types").Requireable<string>;
|
|
31
|
-
}> | import("prop-types").InferProps<{
|
|
32
15
|
title: import("prop-types").Requireable<string>;
|
|
33
16
|
placeholder: import("prop-types").Requireable<string>;
|
|
34
17
|
value: import("prop-types").Requireable<string>;
|
|
@@ -47,24 +30,96 @@ declare const TitleAndInput: {
|
|
|
47
30
|
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
48
31
|
onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
49
32
|
onSuggestionSelected: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
33
|
+
}> | import("prop-types").InferProps<{
|
|
34
|
+
title: import("prop-types").Requireable<string>;
|
|
35
|
+
placeholder: import("prop-types").Requireable<string>;
|
|
36
|
+
description: import("prop-types").Requireable<string>;
|
|
37
|
+
hint: import("prop-types").Requireable<string>;
|
|
38
|
+
options: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
39
|
+
selected: import("prop-types").Validator<boolean>;
|
|
40
|
+
name: import("prop-types").Validator<string>;
|
|
41
|
+
value: import("prop-types").Requireable<string>;
|
|
42
|
+
}>>[]>;
|
|
43
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
44
|
+
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
45
|
+
multiple: import("prop-types").Requireable<boolean>;
|
|
46
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
47
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
48
|
+
error: import("prop-types").Requireable<string>;
|
|
49
|
+
theme: import("prop-types").Requireable<string>;
|
|
50
50
|
}> | import("prop-types").InferProps<{
|
|
51
51
|
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
52
|
-
|
|
53
|
-
title: import("prop-types").
|
|
54
|
-
title: import("prop-types").Requireable<string>;
|
|
55
|
-
subtitle: import("prop-types").Requireable<string>;
|
|
56
|
-
type: import("prop-types").Requireable<string>;
|
|
57
|
-
'data-name': import("prop-types").Requireable<string>;
|
|
58
|
-
titleSize: import("prop-types").Requireable<string>;
|
|
59
|
-
subtitleSize: import("prop-types").Requireable<string>;
|
|
60
|
-
}>>>;
|
|
52
|
+
checkboxWithTitle: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
53
|
+
title: import("prop-types").Requireable<string>;
|
|
61
54
|
name: import("prop-types").Requireable<string>;
|
|
62
55
|
checked: import("prop-types").Requireable<boolean>;
|
|
63
|
-
onChange: import("prop-types").
|
|
56
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
64
57
|
'aria-label': import("prop-types").Requireable<string>;
|
|
65
58
|
'data-name': import("prop-types").Requireable<string>;
|
|
66
59
|
}>>;
|
|
67
|
-
|
|
60
|
+
sectionTitle: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
61
|
+
removeMargin: import("prop-types").Requireable<boolean>;
|
|
62
|
+
title: import("prop-types").Requireable<string>;
|
|
63
|
+
subtitle: import("prop-types").Requireable<string>;
|
|
64
|
+
type: import("prop-types").Requireable<string>;
|
|
65
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
66
|
+
titleSize: import("prop-types").Requireable<string>;
|
|
67
|
+
subtitleSize: import("prop-types").Requireable<string>;
|
|
68
|
+
}>>;
|
|
69
|
+
child: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
70
|
+
childType: import("prop-types").Requireable<string>;
|
|
71
|
+
inputText: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
72
|
+
theme: import("prop-types").Requireable<string>;
|
|
73
|
+
size: import("prop-types").Requireable<string>;
|
|
74
|
+
autoFocus: import("prop-types").Requireable<boolean>;
|
|
75
|
+
title: import("prop-types").Requireable<string>;
|
|
76
|
+
placeholder: import("prop-types").Requireable<string>;
|
|
77
|
+
defaultValue: import("prop-types").Requireable<string>;
|
|
78
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
79
|
+
value: import("prop-types").Requireable<string>;
|
|
80
|
+
hint: import("prop-types").Requireable<string>;
|
|
81
|
+
error: import("prop-types").Requireable<string>;
|
|
82
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
83
|
+
description: import("prop-types").Requireable<string>;
|
|
84
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
85
|
+
valid: import("prop-types").Requireable<boolean>;
|
|
86
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
87
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
88
|
+
}>>;
|
|
89
|
+
title: import("prop-types").Requireable<string>;
|
|
90
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
91
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
92
|
+
}> | import("prop-types").InferProps<{
|
|
93
|
+
childType: import("prop-types").Requireable<string>;
|
|
94
|
+
list: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
95
|
+
name: import("prop-types").Requireable<string>;
|
|
96
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
97
|
+
onReset: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
98
|
+
imageTypes: (props: any, propName: any, componentName: any) => Error | null;
|
|
99
|
+
error: import("prop-types").Requireable<string>;
|
|
100
|
+
buttonAriaLabel: import("prop-types").Requireable<string>;
|
|
101
|
+
errorButtonLabel: import("prop-types").Requireable<string>;
|
|
102
|
+
labelLink: import("prop-types").Requireable<string>;
|
|
103
|
+
hrefLink: import("prop-types").Requireable<string>;
|
|
104
|
+
title: import("prop-types").Requireable<string>;
|
|
105
|
+
description: import("prop-types").Requireable<string>;
|
|
106
|
+
uploadLabel: import("prop-types").Requireable<string>;
|
|
107
|
+
previewLabel: import("prop-types").Requireable<string>;
|
|
108
|
+
previewContent: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
109
|
+
type: import("prop-types").Requireable<string>;
|
|
110
|
+
src: import("prop-types").Requireable<string>;
|
|
111
|
+
label: import("prop-types").Requireable<string>;
|
|
112
|
+
}>>;
|
|
113
|
+
loading: import("prop-types").Requireable<boolean>;
|
|
114
|
+
modified: import("prop-types").Requireable<boolean>;
|
|
115
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
116
|
+
children: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
117
|
+
pdfButtonLabel: import("prop-types").Requireable<string>;
|
|
118
|
+
pdfButtonAriaLabel: import("prop-types").Requireable<string>;
|
|
119
|
+
}> | null | undefined)[]>;
|
|
120
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
121
|
+
}> | import("prop-types").InferProps<{
|
|
122
|
+
childType: import("prop-types").Requireable<string>;
|
|
68
123
|
name: import("prop-types").Requireable<string>;
|
|
69
124
|
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
70
125
|
onReset: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -90,6 +145,7 @@ declare const TitleAndInput: {
|
|
|
90
145
|
pdfButtonLabel: import("prop-types").Requireable<string>;
|
|
91
146
|
pdfButtonAriaLabel: import("prop-types").Requireable<string>;
|
|
92
147
|
}> | import("prop-types").InferProps<{
|
|
148
|
+
childType: import("prop-types").Requireable<string>;
|
|
93
149
|
title: import("prop-types").Requireable<string>;
|
|
94
150
|
placeholder: import("prop-types").Requireable<string>;
|
|
95
151
|
description: import("prop-types").Requireable<string>;
|
|
@@ -107,7 +163,6 @@ declare const TitleAndInput: {
|
|
|
107
163
|
error: import("prop-types").Requireable<string>;
|
|
108
164
|
theme: import("prop-types").Requireable<string>;
|
|
109
165
|
}> | null | undefined>>;
|
|
110
|
-
childType: import("prop-types").Requireable<string>;
|
|
111
166
|
}> | null | undefined)[]>;
|
|
112
167
|
}> | null | undefined>>;
|
|
113
168
|
childType: import("prop-types").Validator<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAiBtD,QAAA,MAAM,aAAa;YAAW,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAiBtD,QAAA,MAAM,aAAa;YAAW,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB/C,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -13,23 +13,6 @@ declare const propTypes: {
|
|
|
13
13
|
subtitleSize: PropTypes.Requireable<string>;
|
|
14
14
|
}>>>;
|
|
15
15
|
field: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
16
|
-
title: PropTypes.Requireable<string>;
|
|
17
|
-
placeholder: PropTypes.Requireable<string>;
|
|
18
|
-
description: PropTypes.Requireable<string>;
|
|
19
|
-
hint: PropTypes.Requireable<string>;
|
|
20
|
-
options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
21
|
-
selected: PropTypes.Validator<boolean>;
|
|
22
|
-
name: PropTypes.Validator<string>;
|
|
23
|
-
value: PropTypes.Requireable<string>;
|
|
24
|
-
}>>[]>;
|
|
25
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
-
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
multiple: PropTypes.Requireable<boolean>;
|
|
28
|
-
modified: PropTypes.Requireable<boolean>;
|
|
29
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
30
|
-
error: PropTypes.Requireable<string>;
|
|
31
|
-
theme: PropTypes.Requireable<string>;
|
|
32
|
-
}> | PropTypes.InferProps<{
|
|
33
16
|
title: PropTypes.Requireable<string>;
|
|
34
17
|
placeholder: PropTypes.Requireable<string>;
|
|
35
18
|
value: PropTypes.Requireable<string>;
|
|
@@ -48,24 +31,96 @@ declare const propTypes: {
|
|
|
48
31
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
49
32
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
50
33
|
onSuggestionSelected: PropTypes.Requireable<(...args: any[]) => any>;
|
|
34
|
+
}> | PropTypes.InferProps<{
|
|
35
|
+
title: PropTypes.Requireable<string>;
|
|
36
|
+
placeholder: PropTypes.Requireable<string>;
|
|
37
|
+
description: PropTypes.Requireable<string>;
|
|
38
|
+
hint: PropTypes.Requireable<string>;
|
|
39
|
+
options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
40
|
+
selected: PropTypes.Validator<boolean>;
|
|
41
|
+
name: PropTypes.Validator<string>;
|
|
42
|
+
value: PropTypes.Requireable<string>;
|
|
43
|
+
}>>[]>;
|
|
44
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
46
|
+
multiple: PropTypes.Requireable<boolean>;
|
|
47
|
+
modified: PropTypes.Requireable<boolean>;
|
|
48
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
49
|
+
error: PropTypes.Requireable<string>;
|
|
50
|
+
theme: PropTypes.Requireable<string>;
|
|
51
51
|
}> | PropTypes.InferProps<{
|
|
52
52
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
53
|
-
|
|
54
|
-
title: PropTypes.
|
|
55
|
-
title: PropTypes.Requireable<string>;
|
|
56
|
-
subtitle: PropTypes.Requireable<string>;
|
|
57
|
-
type: PropTypes.Requireable<string>;
|
|
58
|
-
'data-name': PropTypes.Requireable<string>;
|
|
59
|
-
titleSize: PropTypes.Requireable<string>;
|
|
60
|
-
subtitleSize: PropTypes.Requireable<string>;
|
|
61
|
-
}>>>;
|
|
53
|
+
checkboxWithTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
54
|
+
title: PropTypes.Requireable<string>;
|
|
62
55
|
name: PropTypes.Requireable<string>;
|
|
63
56
|
checked: PropTypes.Requireable<boolean>;
|
|
64
|
-
onChange: PropTypes.
|
|
57
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
65
58
|
'aria-label': PropTypes.Requireable<string>;
|
|
66
59
|
'data-name': PropTypes.Requireable<string>;
|
|
67
60
|
}>>;
|
|
68
|
-
|
|
61
|
+
sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
62
|
+
removeMargin: PropTypes.Requireable<boolean>;
|
|
63
|
+
title: PropTypes.Requireable<string>;
|
|
64
|
+
subtitle: PropTypes.Requireable<string>;
|
|
65
|
+
type: PropTypes.Requireable<string>;
|
|
66
|
+
'data-name': PropTypes.Requireable<string>;
|
|
67
|
+
titleSize: PropTypes.Requireable<string>;
|
|
68
|
+
subtitleSize: PropTypes.Requireable<string>;
|
|
69
|
+
}>>;
|
|
70
|
+
child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
71
|
+
childType: PropTypes.Requireable<string>;
|
|
72
|
+
inputText: PropTypes.Requireable<PropTypes.InferProps<{
|
|
73
|
+
theme: PropTypes.Requireable<string>;
|
|
74
|
+
size: PropTypes.Requireable<string>;
|
|
75
|
+
autoFocus: PropTypes.Requireable<boolean>;
|
|
76
|
+
title: PropTypes.Requireable<string>;
|
|
77
|
+
placeholder: PropTypes.Requireable<string>;
|
|
78
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
79
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
80
|
+
value: PropTypes.Requireable<string>;
|
|
81
|
+
hint: PropTypes.Requireable<string>;
|
|
82
|
+
error: PropTypes.Requireable<string>;
|
|
83
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
84
|
+
description: PropTypes.Requireable<string>;
|
|
85
|
+
modified: PropTypes.Requireable<boolean>;
|
|
86
|
+
valid: PropTypes.Requireable<boolean>;
|
|
87
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
88
|
+
'data-name': PropTypes.Requireable<string>;
|
|
89
|
+
}>>;
|
|
90
|
+
title: PropTypes.Requireable<string>;
|
|
91
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
92
|
+
'data-name': PropTypes.Requireable<string>;
|
|
93
|
+
}> | PropTypes.InferProps<{
|
|
94
|
+
childType: PropTypes.Requireable<string>;
|
|
95
|
+
list: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
96
|
+
name: PropTypes.Requireable<string>;
|
|
97
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
98
|
+
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
99
|
+
imageTypes: (props: any, propName: any, componentName: any) => Error | null;
|
|
100
|
+
error: PropTypes.Requireable<string>;
|
|
101
|
+
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
102
|
+
errorButtonLabel: PropTypes.Requireable<string>;
|
|
103
|
+
labelLink: PropTypes.Requireable<string>;
|
|
104
|
+
hrefLink: PropTypes.Requireable<string>;
|
|
105
|
+
title: PropTypes.Requireable<string>;
|
|
106
|
+
description: PropTypes.Requireable<string>;
|
|
107
|
+
uploadLabel: PropTypes.Requireable<string>;
|
|
108
|
+
previewLabel: PropTypes.Requireable<string>;
|
|
109
|
+
previewContent: PropTypes.Requireable<PropTypes.InferProps<{
|
|
110
|
+
type: PropTypes.Requireable<string>;
|
|
111
|
+
src: PropTypes.Requireable<string>;
|
|
112
|
+
label: PropTypes.Requireable<string>;
|
|
113
|
+
}>>;
|
|
114
|
+
loading: PropTypes.Requireable<boolean>;
|
|
115
|
+
modified: PropTypes.Requireable<boolean>;
|
|
116
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
117
|
+
children: PropTypes.Requireable<(...args: any[]) => any>;
|
|
118
|
+
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
119
|
+
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
120
|
+
}> | null | undefined)[]>;
|
|
121
|
+
'data-name': PropTypes.Requireable<string>;
|
|
122
|
+
}> | PropTypes.InferProps<{
|
|
123
|
+
childType: PropTypes.Requireable<string>;
|
|
69
124
|
name: PropTypes.Requireable<string>;
|
|
70
125
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
71
126
|
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -91,6 +146,7 @@ declare const propTypes: {
|
|
|
91
146
|
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
92
147
|
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
93
148
|
}> | PropTypes.InferProps<{
|
|
149
|
+
childType: PropTypes.Requireable<string>;
|
|
94
150
|
title: PropTypes.Requireable<string>;
|
|
95
151
|
placeholder: PropTypes.Requireable<string>;
|
|
96
152
|
description: PropTypes.Requireable<string>;
|
|
@@ -108,7 +164,6 @@ declare const propTypes: {
|
|
|
108
164
|
error: PropTypes.Requireable<string>;
|
|
109
165
|
theme: PropTypes.Requireable<string>;
|
|
110
166
|
}> | null | undefined>>;
|
|
111
|
-
childType: PropTypes.Requireable<string>;
|
|
112
167
|
}> | null | undefined)[]>;
|
|
113
168
|
}> | null | undefined>>;
|
|
114
169
|
childType: PropTypes.Validator<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAE/D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQd,CAAC;AACF,oBAAY,kBAAkB,GAAG;IAC/B,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EACD,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAC3C,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,GACzC,oBAAoB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -7,11 +7,75 @@ declare namespace WizardContents {
|
|
|
7
7
|
title: PropTypes.Requireable<string>;
|
|
8
8
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
9
|
}>>>;
|
|
10
|
+
const actions: PropTypes.Requireable<PropTypes.InferProps<{
|
|
11
|
+
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
|
+
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
13
|
+
menuAriaLabel: PropTypes.Requireable<string>;
|
|
14
|
+
buttons: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
15
|
+
'data-name': PropTypes.Requireable<string>;
|
|
16
|
+
label: PropTypes.Requireable<string>;
|
|
17
|
+
type: PropTypes.Requireable<string>;
|
|
18
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
+
}> | null | undefined)[]>;
|
|
20
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
+
}>>;
|
|
22
|
+
firstButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
|
+
type: PropTypes.Requireable<string>;
|
|
24
|
+
label: PropTypes.Requireable<string>;
|
|
25
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
26
|
+
'data-name': PropTypes.Requireable<string>;
|
|
27
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
28
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
29
|
+
position: PropTypes.Requireable<string>;
|
|
30
|
+
type: PropTypes.Requireable<string>;
|
|
31
|
+
}>>;
|
|
32
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
+
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
|
+
href: PropTypes.Requireable<string>;
|
|
35
|
+
download: PropTypes.Requireable<boolean>;
|
|
36
|
+
target: PropTypes.Requireable<string>;
|
|
37
|
+
}>>;
|
|
38
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
39
|
+
className: PropTypes.Requireable<string>;
|
|
40
|
+
customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
41
|
+
}>>;
|
|
42
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
43
|
+
type: PropTypes.Requireable<string>;
|
|
44
|
+
label: PropTypes.Requireable<string>;
|
|
45
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
46
|
+
'data-name': PropTypes.Requireable<string>;
|
|
47
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
48
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
49
|
+
position: PropTypes.Requireable<string>;
|
|
50
|
+
type: PropTypes.Requireable<string>;
|
|
51
|
+
}>>;
|
|
52
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
53
|
+
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
54
|
+
href: PropTypes.Requireable<string>;
|
|
55
|
+
download: PropTypes.Requireable<boolean>;
|
|
56
|
+
target: PropTypes.Requireable<string>;
|
|
57
|
+
}>>;
|
|
58
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
59
|
+
className: PropTypes.Requireable<string>;
|
|
60
|
+
customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
61
|
+
}>>;
|
|
62
|
+
}>>;
|
|
10
63
|
const steps: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
11
64
|
title: PropTypes.Requireable<string>;
|
|
12
65
|
done: PropTypes.Requireable<boolean>;
|
|
13
66
|
current: PropTypes.Requireable<boolean>;
|
|
14
67
|
}> | null | undefined)[]>;
|
|
68
|
+
const tabs: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
69
|
+
tab: PropTypes.Requireable<PropTypes.InferProps<{
|
|
70
|
+
title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
71
|
+
href: PropTypes.Requireable<string>;
|
|
72
|
+
status: PropTypes.Requireable<string>;
|
|
73
|
+
selected: PropTypes.Requireable<boolean>;
|
|
74
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
75
|
+
}>>;
|
|
76
|
+
index: PropTypes.Requireable<number>;
|
|
77
|
+
isLightTab: PropTypes.Requireable<boolean>;
|
|
78
|
+
}> | null | undefined)[]>;
|
|
15
79
|
const summary: PropTypes.Requireable<PropTypes.InferProps<{
|
|
16
80
|
title: PropTypes.Requireable<string>;
|
|
17
81
|
side: PropTypes.Requireable<string>;
|
|
@@ -211,6 +275,7 @@ declare namespace WizardContents {
|
|
|
211
275
|
'data-name': PropTypes.Requireable<string>;
|
|
212
276
|
}>>;
|
|
213
277
|
sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
|
|
278
|
+
removeMargin: PropTypes.Requireable<boolean>;
|
|
214
279
|
title: PropTypes.Requireable<string>;
|
|
215
280
|
subtitle: PropTypes.Requireable<string>;
|
|
216
281
|
type: PropTypes.Requireable<string>;
|
|
@@ -270,6 +335,50 @@ declare namespace WizardContents {
|
|
|
270
335
|
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
271
336
|
}> | null | undefined)[]>;
|
|
272
337
|
'data-name': PropTypes.Requireable<string>;
|
|
338
|
+
}> | PropTypes.InferProps<{
|
|
339
|
+
childType: PropTypes.Requireable<string>;
|
|
340
|
+
name: PropTypes.Requireable<string>;
|
|
341
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
342
|
+
onReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
343
|
+
imageTypes: (props: any, propName: any, componentName: any) => Error | null;
|
|
344
|
+
error: PropTypes.Requireable<string>;
|
|
345
|
+
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
346
|
+
errorButtonLabel: PropTypes.Requireable<string>;
|
|
347
|
+
labelLink: PropTypes.Requireable<string>;
|
|
348
|
+
hrefLink: PropTypes.Requireable<string>;
|
|
349
|
+
title: PropTypes.Requireable<string>;
|
|
350
|
+
description: PropTypes.Requireable<string>;
|
|
351
|
+
uploadLabel: PropTypes.Requireable<string>;
|
|
352
|
+
previewLabel: PropTypes.Requireable<string>;
|
|
353
|
+
previewContent: PropTypes.Requireable<PropTypes.InferProps<{
|
|
354
|
+
type: PropTypes.Requireable<string>;
|
|
355
|
+
src: PropTypes.Requireable<string>;
|
|
356
|
+
label: PropTypes.Requireable<string>;
|
|
357
|
+
}>>;
|
|
358
|
+
loading: PropTypes.Requireable<boolean>;
|
|
359
|
+
modified: PropTypes.Requireable<boolean>;
|
|
360
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
361
|
+
children: PropTypes.Requireable<(...args: any[]) => any>;
|
|
362
|
+
pdfButtonLabel: PropTypes.Requireable<string>;
|
|
363
|
+
pdfButtonAriaLabel: PropTypes.Requireable<string>;
|
|
364
|
+
}> | PropTypes.InferProps<{
|
|
365
|
+
childType: PropTypes.Requireable<string>;
|
|
366
|
+
title: PropTypes.Requireable<string>;
|
|
367
|
+
placeholder: PropTypes.Requireable<string>;
|
|
368
|
+
description: PropTypes.Requireable<string>;
|
|
369
|
+
hint: PropTypes.Requireable<string>;
|
|
370
|
+
options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
371
|
+
selected: PropTypes.Validator<boolean>;
|
|
372
|
+
name: PropTypes.Validator<string>;
|
|
373
|
+
value: PropTypes.Requireable<string>;
|
|
374
|
+
}>>[]>;
|
|
375
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
376
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
377
|
+
multiple: PropTypes.Requireable<boolean>;
|
|
378
|
+
modified: PropTypes.Requireable<boolean>;
|
|
379
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
380
|
+
error: PropTypes.Requireable<string>;
|
|
381
|
+
theme: PropTypes.Requireable<string>;
|
|
273
382
|
}> | null | undefined>>;
|
|
274
383
|
}> | null | undefined)[]>;
|
|
275
384
|
}> | PropTypes.InferProps<{
|
|
@@ -281,6 +390,7 @@ declare namespace WizardContents {
|
|
|
281
390
|
fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
|
|
282
391
|
type: PropTypes.Requireable<string>;
|
|
283
392
|
current: PropTypes.Requireable<boolean>;
|
|
393
|
+
selected: PropTypes.Requireable<boolean>;
|
|
284
394
|
icon: PropTypes.Requireable<string>;
|
|
285
395
|
value: PropTypes.Requireable<string>;
|
|
286
396
|
}> | null | undefined> | null | undefined)[]>;
|
|
@@ -343,6 +453,8 @@ declare namespace WizardContents {
|
|
|
343
453
|
isBulkMenu: PropTypes.Requireable<boolean>;
|
|
344
454
|
}> | null | undefined>>;
|
|
345
455
|
isNestedTable: PropTypes.Requireable<boolean>;
|
|
456
|
+
emptyStateFirstMessage: PropTypes.Requireable<string>;
|
|
457
|
+
emptyStateSecondMessage: PropTypes.Requireable<string>;
|
|
346
458
|
}> | null | undefined>>;
|
|
347
459
|
const previousStep: PropTypes.Requireable<PropTypes.InferProps<{
|
|
348
460
|
label: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/wizard-contents/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/wizard-contents/index.js"],"names":[],"mappings":";AA0IA,yDAqCC"}
|
|
@@ -12,11 +12,13 @@ import ContentTranslate from '../content-translation';
|
|
|
12
12
|
import OrganismSearchAndChipsResults from '../search-and-chips-results';
|
|
13
13
|
import CourseSelection from '../course-selection';
|
|
14
14
|
import CourseSections from '../../molecule/course-sections';
|
|
15
|
+
import BrandTabs from '../../molecule/brand-tabs';
|
|
16
|
+
import BulletPointMenuButton from '../../molecule/bullet-point-menu-button';
|
|
15
17
|
import RewardsForm from '../rewards-form';
|
|
16
18
|
import ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';
|
|
17
19
|
import style from './style.css';
|
|
18
20
|
|
|
19
|
-
const buildHeader = (wizardHeader, steps) => {
|
|
21
|
+
const buildHeader = (wizardHeader, actions, steps, tabs) => {
|
|
20
22
|
const {
|
|
21
23
|
title,
|
|
22
24
|
onClick
|
|
@@ -30,12 +32,25 @@ const buildHeader = (wizardHeader, steps) => {
|
|
|
30
32
|
};
|
|
31
33
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
32
34
|
className: style.header
|
|
35
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: style.titleWrapper
|
|
33
37
|
}, /*#__PURE__*/React.createElement(ButtonLinkIconOnly, buttonCloseIcon), /*#__PURE__*/React.createElement("div", {
|
|
34
38
|
className: style.headerTitle,
|
|
35
39
|
"data-name": 'content-title'
|
|
36
|
-
}, title)), /*#__PURE__*/React.createElement(
|
|
40
|
+
}, title)), actions ? /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
className: style.actionsWrapper
|
|
42
|
+
}, /*#__PURE__*/React.createElement(BulletPointMenuButton, actions.bulletPointMenuButton), /*#__PURE__*/React.createElement("div", {
|
|
43
|
+
className: style.buttonLink
|
|
44
|
+
}, /*#__PURE__*/React.createElement(ButtonLink, actions.firstButtonLink)), /*#__PURE__*/React.createElement("div", {
|
|
45
|
+
className: style.buttonLink
|
|
46
|
+
}, /*#__PURE__*/React.createElement(ButtonLink, actions.secondButtonLink))) : null), steps ? /*#__PURE__*/React.createElement(WizardSteps, {
|
|
37
47
|
steps: steps
|
|
38
|
-
})
|
|
48
|
+
}) : null, tabs ? /*#__PURE__*/React.createElement("div", {
|
|
49
|
+
className: style.tabs
|
|
50
|
+
}, /*#__PURE__*/React.createElement(BrandTabs, {
|
|
51
|
+
type: "light",
|
|
52
|
+
tabs: tabs
|
|
53
|
+
})) : null);
|
|
39
54
|
};
|
|
40
55
|
|
|
41
56
|
const buildForm = content => {
|
|
@@ -131,13 +146,15 @@ const WizardContents = props => {
|
|
|
131
146
|
const {
|
|
132
147
|
isLoading,
|
|
133
148
|
wizardHeader,
|
|
149
|
+
actions,
|
|
134
150
|
steps,
|
|
151
|
+
tabs,
|
|
135
152
|
summary,
|
|
136
153
|
content,
|
|
137
154
|
nextStep,
|
|
138
155
|
previousStep
|
|
139
156
|
} = props;
|
|
140
|
-
const headerView = buildHeader(wizardHeader, steps);
|
|
157
|
+
const headerView = buildHeader(wizardHeader, actions, steps, tabs);
|
|
141
158
|
const formView = buildForm(_extends({}, content, {
|
|
142
159
|
isLoading
|
|
143
160
|
}));
|
|
@@ -180,7 +197,23 @@ WizardContents.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
180
197
|
title: PropTypes.string,
|
|
181
198
|
onClick: PropTypes.func
|
|
182
199
|
}).isRequired,
|
|
200
|
+
actions: PropTypes.shape({
|
|
201
|
+
bulletPointMenuButton: PropTypes.shape({
|
|
202
|
+
buttonAriaLabel: PropTypes.string,
|
|
203
|
+
menuAriaLabel: PropTypes.string,
|
|
204
|
+
buttons: PropTypes.arrayOf(PropTypes.shape({
|
|
205
|
+
'data-name': PropTypes.string,
|
|
206
|
+
label: PropTypes.string,
|
|
207
|
+
type: PropTypes.string,
|
|
208
|
+
onClick: PropTypes.func
|
|
209
|
+
})),
|
|
210
|
+
onClick: PropTypes.func
|
|
211
|
+
}),
|
|
212
|
+
firstButtonLink: PropTypes.shape(ButtonLink.propTypes),
|
|
213
|
+
secondButtonLink: PropTypes.shape(ButtonLink.propTypes)
|
|
214
|
+
}),
|
|
183
215
|
steps: WizardSteps.propTypes.steps,
|
|
216
|
+
tabs: BrandTabs.propTypes.tabs,
|
|
184
217
|
summary: PropTypes.shape(_extends({}, WizardSummary.propTypes)),
|
|
185
218
|
content: PropTypes.oneOfType([PropTypes.shape(_extends({}, BrandForm.propTypes, {
|
|
186
219
|
type: PropTypes.oneOf(['form'])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","getOr","PropTypes","ButtonLink","ButtonLinkIconOnly","WizardSteps","WizardSummary","BrandForm","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable","style","buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","bool","shape","string","func","isRequired","oneOfType","oneOf"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n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,EAAErC,SAAS,CAACuE,KAAV,CAAgB;IAC5BrC,KAAK,EAAElC,SAAS,CAACwE,MADW;IAE5BvD,OAAO,EAAEjB,SAAS,CAACyE;EAFS,CAAhB,CAxCW;EA4CzBnC,QAAQ,EAAEtC,SAAS,CAACuE,KAAV,CAAgB;IACxB9C,IAAI,EAAEzB,SAAS,CAAC4E,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExB1C,KAAK,EAAElC,SAAS,CAACwE,MAFO;IAGxBvD,OAAO,EAAEjB,SAAS,CAACyE;EAHK,CAAhB;AA5Ce,CAA3B;AAmDA,eAAelB,cAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","getOr","PropTypes","ButtonLink","ButtonLinkIconOnly","WizardSteps","WizardSummary","BrandForm","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","BrandTabs","BulletPointMenuButton","RewardsForm","ExpandibleActionableErrorsTable","style","buildHeader","wizardHeader","actions","steps","tabs","title","onClick","buttonCloseIcon","size","icon","header","titleWrapper","headerTitle","actionsWrapper","bulletPointMenuButton","buttonLink","firstButtonLink","secondButtonLink","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","bool","shape","string","func","isRequired","buttonAriaLabel","menuAriaLabel","buttons","arrayOf","oneOfType","oneOf"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport BrandTabs from '../../molecule/brand-tabs';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, actions, steps, tabs) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.titleWrapper}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n {actions ? (\n <div className={style.actionsWrapper}>\n <BulletPointMenuButton {...actions.bulletPointMenuButton} />\n <div className={style.buttonLink}>\n <ButtonLink {...actions.firstButtonLink} />\n </div>\n <div className={style.buttonLink}>\n <ButtonLink {...actions.secondButtonLink} />\n </div>\n </div>\n ) : null}\n </div>\n {steps ? <WizardSteps steps={steps} /> : null}\n {tabs ? (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={tabs} />\n </div>\n ) : null}\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, actions, steps, tabs, summary, content, nextStep, previousStep} =\n props;\n const headerView = buildHeader(wizardHeader, actions, steps, tabs);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n actions: PropTypes.shape({\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 firstButtonLink: PropTypes.shape(ButtonLink.propTypes),\n secondButtonLink: PropTypes.shape(ButtonLink.propTypes)\n }),\n steps: WizardSteps.propTypes.steps,\n tabs: BrandTabs.propTypes.tabs,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTyp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