@coorpacademy/components 11.40.4 → 11.40.6-alpha.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/button-link/index.d.ts +15 -8
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +75 -37
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/types.d.ts +20 -14
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js +4 -3
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/button-menu/index.d.ts +1 -3
- package/es/atom/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.js +1 -7
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/button-menu/types.d.ts +2 -6
- package/es/atom/button-menu/types.d.ts.map +1 -1
- package/es/atom/chip/index.d.ts +4 -0
- package/es/atom/chip/index.d.ts.map +1 -1
- package/es/atom/chip/index.js +12 -6
- package/es/atom/chip/index.js.map +1 -1
- package/es/atom/input-switch/index.d.ts.map +1 -1
- package/es/atom/input-switch/index.js +2 -1
- package/es/atom/input-switch/index.js.map +1 -1
- package/es/atom/input-switch/style.css +4 -1
- package/es/atom/radio-with-title/index.d.ts +16 -8
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +16 -8
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/title/index.d.ts +16 -8
- package/es/atom/title/index.d.ts.map +1 -1
- package/es/atom/title/index.js +5 -2
- package/es/atom/title/index.js.map +1 -1
- package/es/molecule/base-modal/index.d.ts +1 -0
- package/es/molecule/base-modal/index.d.ts.map +1 -1
- package/es/molecule/base-modal/index.js +6 -2
- package/es/molecule/base-modal/index.js.map +1 -1
- package/es/molecule/base-modal/style.css +5 -0
- package/es/molecule/bullet-point-menu-button/index.d.ts +1 -3
- package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/types.d.ts +1 -3
- package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/es/molecule/button-menu-action/index.d.ts +19 -11
- package/es/molecule/button-menu-action/index.d.ts.map +1 -1
- package/es/molecule/button-menu-action/index.js +27 -3
- package/es/molecule/button-menu-action/index.js.map +1 -1
- package/es/molecule/button-menu-action/types.d.ts +22 -12
- package/es/molecule/button-menu-action/types.d.ts.map +1 -1
- package/es/molecule/button-menu-action/types.js +7 -2
- package/es/molecule/button-menu-action/types.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +135 -85
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/index.d.ts +17 -14
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.d.ts +17 -14
- package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/es/molecule/icon-picker-modal/index.d.ts +1 -2
- package/es/molecule/icon-picker-modal/index.d.ts.map +1 -1
- package/es/molecule/icon-picker-modal/index.js +16 -43
- package/es/molecule/icon-picker-modal/index.js.map +1 -1
- package/es/molecule/multi-filter-panel/index.d.ts +19 -0
- package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/index.js +39 -10
- package/es/molecule/multi-filter-panel/index.js.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.d.ts +26 -1
- package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.js +5 -0
- package/es/molecule/multi-filter-panel/prop-types.js.map +1 -1
- package/es/molecule/multi-filter-panel/style.css +8 -0
- package/es/molecule/quick-filters/index.d.ts +15 -8
- package/es/molecule/quick-filters/index.d.ts.map +1 -1
- package/es/molecule/quick-filters/types.d.ts +15 -8
- package/es/molecule/quick-filters/types.d.ts.map +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +16 -8
- package/es/molecule/title-radio-wrapper/index.d.ts +16 -8
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +16 -8
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/organism/content-skill-modal/index.d.ts +135 -68
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +135 -68
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- 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/index.js +5 -2
- package/es/organism/filter-checkbox-and-search/index.js.map +1 -1
- package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
- package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/props-types.js +1 -0
- package/es/organism/filter-checkbox-and-search/props-types.js.map +1 -1
- package/es/organism/filter-checkbox-and-search/style.css +2 -0
- package/es/organism/filter-chip/index.d.ts +3 -0
- package/es/organism/filter-chip/index.d.ts.map +1 -1
- package/es/organism/filter-chip/index.js +12 -4
- package/es/organism/filter-chip/index.js.map +1 -1
- package/es/organism/filter-chip/prop-types.d.ts +14 -7
- package/es/organism/filter-chip/prop-types.d.ts.map +1 -1
- package/es/organism/filter-chip/prop-types.js +3 -0
- package/es/organism/filter-chip/prop-types.js.map +1 -1
- package/es/organism/filter-switch/index.d.ts +23 -0
- package/es/organism/filter-switch/index.d.ts.map +1 -0
- package/es/organism/filter-switch/index.js +76 -0
- package/es/organism/filter-switch/index.js.map +1 -0
- package/es/organism/filter-switch/prop-types.d.ts +28 -0
- package/es/organism/filter-switch/prop-types.d.ts.map +1 -0
- package/es/organism/filter-switch/prop-types.js +15 -0
- package/es/organism/filter-switch/prop-types.js.map +1 -0
- package/es/organism/filter-switch/style.css +46 -0
- package/es/organism/icon-editor/index.d.ts +15 -8
- package/es/organism/icon-editor/index.d.ts.map +1 -1
- package/es/organism/icon-editor/types.d.ts +15 -8
- package/es/organism/icon-editor/types.d.ts.map +1 -1
- package/es/organism/list-items/index.d.ts +116 -68
- package/es/organism/rewards-form/index.d.ts +16 -8
- package/es/organism/select-opponents/index.d.ts +16 -8
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +16 -8
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/setup-header/index.d.ts +60 -32
- package/es/organism/title-and-input/index.d.ts +47 -24
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +47 -24
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +63 -38
- package/es/template/app-player/loading/index.d.ts +135 -85
- package/es/template/app-player/player/index.d.ts +278 -170
- package/es/template/app-player/player/slides/header/index.d.ts +8 -0
- package/es/template/app-player/player/slides/header/index.d.ts.map +1 -1
- package/es/template/app-player/player/slides/header/index.js +89 -3
- package/es/template/app-player/player/slides/header/index.js.map +1 -1
- package/es/template/app-player/player/slides/header/style.css +1 -1
- package/es/template/app-player/player/slides/index.d.ts +143 -85
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +135 -85
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +143 -85
- package/es/template/app-review/index.d.ts +135 -85
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +135 -85
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +135 -85
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-create/index.d.ts +60 -32
- package/es/template/back-office/brand-create/index.d.ts.map +1 -1
- package/es/template/back-office/brand-list/index.d.ts +60 -32
- package/es/template/back-office/brand-list/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +599 -298
- package/es/template/back-office/dashboard-preview/index.d.ts +60 -32
- package/es/template/back-office/layout/index.d.ts +60 -32
- package/es/template/back-office/layout/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.d.ts +270 -170
- package/es/template/common/search-page/index.d.ts +135 -85
- package/es/template/external-course/index.d.ts +135 -85
- package/es/variables/colors.d.ts +1 -0
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +1 -0
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/button-link/index.d.ts +15 -8
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +75 -37
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/types.d.ts +20 -14
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js +4 -3
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-menu/index.d.ts +1 -3
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.js +1 -7
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/types.d.ts +2 -6
- package/lib/atom/button-menu/types.d.ts.map +1 -1
- package/lib/atom/chip/index.d.ts +4 -0
- package/lib/atom/chip/index.d.ts.map +1 -1
- package/lib/atom/chip/index.js +12 -6
- package/lib/atom/chip/index.js.map +1 -1
- package/lib/atom/input-switch/index.d.ts.map +1 -1
- package/lib/atom/input-switch/index.js +2 -1
- package/lib/atom/input-switch/index.js.map +1 -1
- package/lib/atom/input-switch/style.css +4 -1
- package/lib/atom/radio-with-title/index.d.ts +16 -8
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +16 -8
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/title/index.d.ts +16 -8
- package/lib/atom/title/index.d.ts.map +1 -1
- package/lib/atom/title/index.js +5 -2
- package/lib/atom/title/index.js.map +1 -1
- package/lib/molecule/base-modal/index.d.ts +1 -0
- package/lib/molecule/base-modal/index.d.ts.map +1 -1
- package/lib/molecule/base-modal/index.js +6 -2
- package/lib/molecule/base-modal/index.js.map +1 -1
- package/lib/molecule/base-modal/style.css +5 -0
- package/lib/molecule/bullet-point-menu-button/index.d.ts +1 -3
- package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/types.d.ts +1 -3
- package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/lib/molecule/button-menu-action/index.d.ts +19 -11
- package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
- package/lib/molecule/button-menu-action/index.js +26 -2
- package/lib/molecule/button-menu-action/index.js.map +1 -1
- package/lib/molecule/button-menu-action/types.d.ts +22 -12
- package/lib/molecule/button-menu-action/types.d.ts.map +1 -1
- package/lib/molecule/button-menu-action/types.js +7 -2
- package/lib/molecule/button-menu-action/types.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +135 -85
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/index.d.ts +17 -14
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.d.ts +17 -14
- package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/lib/molecule/icon-picker-modal/index.d.ts +1 -2
- package/lib/molecule/icon-picker-modal/index.d.ts.map +1 -1
- package/lib/molecule/icon-picker-modal/index.js +16 -43
- package/lib/molecule/icon-picker-modal/index.js.map +1 -1
- package/lib/molecule/multi-filter-panel/index.d.ts +19 -0
- package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/index.js +39 -9
- package/lib/molecule/multi-filter-panel/index.js.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.d.ts +26 -1
- package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.js +5 -0
- package/lib/molecule/multi-filter-panel/prop-types.js.map +1 -1
- package/lib/molecule/multi-filter-panel/style.css +8 -0
- package/lib/molecule/quick-filters/index.d.ts +15 -8
- package/lib/molecule/quick-filters/index.d.ts.map +1 -1
- package/lib/molecule/quick-filters/types.d.ts +15 -8
- package/lib/molecule/quick-filters/types.d.ts.map +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +16 -8
- package/lib/molecule/title-radio-wrapper/index.d.ts +16 -8
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +16 -8
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/index.d.ts +135 -68
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +135 -68
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- 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/index.js +5 -2
- package/lib/organism/filter-checkbox-and-search/index.js.map +1 -1
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/props-types.js +1 -0
- package/lib/organism/filter-checkbox-and-search/props-types.js.map +1 -1
- package/lib/organism/filter-checkbox-and-search/style.css +2 -0
- package/lib/organism/filter-chip/index.d.ts +3 -0
- package/lib/organism/filter-chip/index.d.ts.map +1 -1
- package/lib/organism/filter-chip/index.js +12 -4
- package/lib/organism/filter-chip/index.js.map +1 -1
- package/lib/organism/filter-chip/prop-types.d.ts +14 -7
- package/lib/organism/filter-chip/prop-types.d.ts.map +1 -1
- package/lib/organism/filter-chip/prop-types.js +3 -0
- package/lib/organism/filter-chip/prop-types.js.map +1 -1
- package/lib/organism/filter-switch/index.d.ts +23 -0
- package/lib/organism/filter-switch/index.d.ts.map +1 -0
- package/lib/organism/filter-switch/index.js +83 -0
- package/lib/organism/filter-switch/index.js.map +1 -0
- package/lib/organism/filter-switch/prop-types.d.ts +28 -0
- package/lib/organism/filter-switch/prop-types.d.ts.map +1 -0
- package/lib/organism/filter-switch/prop-types.js +20 -0
- package/lib/organism/filter-switch/prop-types.js.map +1 -0
- package/lib/organism/filter-switch/style.css +46 -0
- package/lib/organism/icon-editor/index.d.ts +15 -8
- package/lib/organism/icon-editor/index.d.ts.map +1 -1
- package/lib/organism/icon-editor/types.d.ts +15 -8
- package/lib/organism/icon-editor/types.d.ts.map +1 -1
- package/lib/organism/list-items/index.d.ts +116 -68
- package/lib/organism/rewards-form/index.d.ts +16 -8
- package/lib/organism/select-opponents/index.d.ts +16 -8
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +16 -8
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/setup-header/index.d.ts +60 -32
- package/lib/organism/title-and-input/index.d.ts +47 -24
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +47 -24
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +63 -38
- package/lib/template/app-player/loading/index.d.ts +135 -85
- package/lib/template/app-player/player/index.d.ts +278 -170
- package/lib/template/app-player/player/slides/header/index.d.ts +8 -0
- package/lib/template/app-player/player/slides/header/index.d.ts.map +1 -1
- package/lib/template/app-player/player/slides/header/index.js +89 -3
- package/lib/template/app-player/player/slides/header/index.js.map +1 -1
- package/lib/template/app-player/player/slides/header/style.css +1 -1
- package/lib/template/app-player/player/slides/index.d.ts +143 -85
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +135 -85
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +143 -85
- package/lib/template/app-review/index.d.ts +135 -85
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +135 -85
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +135 -85
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-create/index.d.ts +60 -32
- package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-list/index.d.ts +60 -32
- package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +599 -298
- package/lib/template/back-office/dashboard-preview/index.d.ts +60 -32
- package/lib/template/back-office/layout/index.d.ts +60 -32
- package/lib/template/back-office/layout/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +270 -170
- package/lib/template/common/search-page/index.d.ts +135 -85
- package/lib/template/external-course/index.d.ts +135 -85
- package/lib/variables/colors.d.ts +1 -0
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +1 -0
- package/lib/variables/colors.js.map +1 -1
- package/package.json +2 -2
|
@@ -15,7 +15,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
15
15
|
tooltipPlacement: PropTypes.Requireable<string>;
|
|
16
16
|
'data-name': PropTypes.Requireable<string>;
|
|
17
17
|
'data-testid': PropTypes.Requireable<string>;
|
|
18
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
+
icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
19
19
|
position: PropTypes.Requireable<string>;
|
|
20
20
|
type: PropTypes.Requireable<string>;
|
|
21
21
|
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -23,11 +23,19 @@ declare const ContentSkillModalPropTypes: {
|
|
|
23
23
|
color: PropTypes.Requireable<string>;
|
|
24
24
|
backgroundColor: PropTypes.Requireable<string>;
|
|
25
25
|
size: PropTypes.Requireable<number>;
|
|
26
|
-
customStyle: PropTypes.Requireable<
|
|
27
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
28
|
-
}>;
|
|
26
|
+
customStyle: PropTypes.Requireable<object>;
|
|
29
27
|
}>>;
|
|
30
|
-
}
|
|
28
|
+
}> | (PropTypes.InferProps<{
|
|
29
|
+
position: PropTypes.Requireable<string>;
|
|
30
|
+
type: PropTypes.Requireable<string>;
|
|
31
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
32
|
+
name: PropTypes.Validator<string>;
|
|
33
|
+
color: PropTypes.Requireable<string>;
|
|
34
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
35
|
+
size: PropTypes.Requireable<number>;
|
|
36
|
+
customStyle: PropTypes.Requireable<object>;
|
|
37
|
+
}>>;
|
|
38
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
31
39
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
40
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
33
41
|
href: PropTypes.Requireable<string>;
|
|
@@ -38,9 +46,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
38
46
|
hoverColor: PropTypes.Requireable<string>;
|
|
39
47
|
disabled: PropTypes.Requireable<boolean>;
|
|
40
48
|
className: PropTypes.Requireable<string>;
|
|
41
|
-
customStyle: PropTypes.Requireable<
|
|
42
|
-
|
|
43
|
-
}>;
|
|
49
|
+
customStyle: PropTypes.Requireable<object>;
|
|
50
|
+
contentCustomStyle: PropTypes.Requireable<object>;
|
|
44
51
|
useTitle: PropTypes.Requireable<boolean>;
|
|
45
52
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
46
53
|
}>>;
|
|
@@ -169,7 +176,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
169
176
|
tooltipPlacement: PropTypes.Requireable<string>;
|
|
170
177
|
'data-name': PropTypes.Requireable<string>;
|
|
171
178
|
'data-testid': PropTypes.Requireable<string>;
|
|
172
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
179
|
+
icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
173
180
|
position: PropTypes.Requireable<string>;
|
|
174
181
|
type: PropTypes.Requireable<string>;
|
|
175
182
|
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -177,11 +184,19 @@ declare const ContentSkillModalPropTypes: {
|
|
|
177
184
|
color: PropTypes.Requireable<string>;
|
|
178
185
|
backgroundColor: PropTypes.Requireable<string>;
|
|
179
186
|
size: PropTypes.Requireable<number>;
|
|
180
|
-
customStyle: PropTypes.Requireable<
|
|
181
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
182
|
-
}>;
|
|
187
|
+
customStyle: PropTypes.Requireable<object>;
|
|
183
188
|
}>>;
|
|
184
|
-
}
|
|
189
|
+
}> | (PropTypes.InferProps<{
|
|
190
|
+
position: PropTypes.Requireable<string>;
|
|
191
|
+
type: PropTypes.Requireable<string>;
|
|
192
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
193
|
+
name: PropTypes.Validator<string>;
|
|
194
|
+
color: PropTypes.Requireable<string>;
|
|
195
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
196
|
+
size: PropTypes.Requireable<number>;
|
|
197
|
+
customStyle: PropTypes.Requireable<object>;
|
|
198
|
+
}>>;
|
|
199
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
185
200
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
186
201
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
187
202
|
href: PropTypes.Requireable<string>;
|
|
@@ -192,13 +207,13 @@ declare const ContentSkillModalPropTypes: {
|
|
|
192
207
|
hoverColor: PropTypes.Requireable<string>;
|
|
193
208
|
disabled: PropTypes.Requireable<boolean>;
|
|
194
209
|
className: PropTypes.Requireable<string>;
|
|
195
|
-
customStyle: PropTypes.Requireable<
|
|
196
|
-
|
|
197
|
-
}>;
|
|
210
|
+
customStyle: PropTypes.Requireable<object>;
|
|
211
|
+
contentCustomStyle: PropTypes.Requireable<object>;
|
|
198
212
|
useTitle: PropTypes.Requireable<boolean>;
|
|
199
213
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
200
214
|
}> | PropTypes.InferProps<{
|
|
201
215
|
button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
216
|
+
withChevron: PropTypes.Requireable<boolean>;
|
|
202
217
|
type: PropTypes.Requireable<string>;
|
|
203
218
|
usage: PropTypes.Requireable<string>;
|
|
204
219
|
label: PropTypes.Requireable<string>;
|
|
@@ -208,7 +223,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
208
223
|
tooltipPlacement: PropTypes.Requireable<string>;
|
|
209
224
|
'data-name': PropTypes.Requireable<string>;
|
|
210
225
|
'data-testid': PropTypes.Requireable<string>;
|
|
211
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
226
|
+
icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
212
227
|
position: PropTypes.Requireable<string>;
|
|
213
228
|
type: PropTypes.Requireable<string>;
|
|
214
229
|
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -216,11 +231,19 @@ declare const ContentSkillModalPropTypes: {
|
|
|
216
231
|
color: PropTypes.Requireable<string>;
|
|
217
232
|
backgroundColor: PropTypes.Requireable<string>;
|
|
218
233
|
size: PropTypes.Requireable<number>;
|
|
219
|
-
customStyle: PropTypes.Requireable<
|
|
220
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
221
|
-
}>;
|
|
234
|
+
customStyle: PropTypes.Requireable<object>;
|
|
222
235
|
}>>;
|
|
223
|
-
}
|
|
236
|
+
}> | (PropTypes.InferProps<{
|
|
237
|
+
position: PropTypes.Requireable<string>;
|
|
238
|
+
type: PropTypes.Requireable<string>;
|
|
239
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
240
|
+
name: PropTypes.Validator<string>;
|
|
241
|
+
color: PropTypes.Requireable<string>;
|
|
242
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
243
|
+
size: PropTypes.Requireable<number>;
|
|
244
|
+
customStyle: PropTypes.Requireable<object>;
|
|
245
|
+
}>>;
|
|
246
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
224
247
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
225
248
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
226
249
|
href: PropTypes.Requireable<string>;
|
|
@@ -231,9 +254,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
231
254
|
hoverColor: PropTypes.Requireable<string>;
|
|
232
255
|
disabled: PropTypes.Requireable<boolean>;
|
|
233
256
|
className: PropTypes.Requireable<string>;
|
|
234
|
-
customStyle: PropTypes.Requireable<
|
|
235
|
-
|
|
236
|
-
}>;
|
|
257
|
+
customStyle: PropTypes.Requireable<object>;
|
|
258
|
+
contentCustomStyle: PropTypes.Requireable<object>;
|
|
237
259
|
useTitle: PropTypes.Requireable<boolean>;
|
|
238
260
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
239
261
|
}>>>;
|
|
@@ -254,9 +276,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
254
276
|
color: PropTypes.Requireable<string>;
|
|
255
277
|
backgroundColor: PropTypes.Requireable<string>;
|
|
256
278
|
size: PropTypes.Requireable<number>;
|
|
257
|
-
customStyle: PropTypes.Requireable<
|
|
258
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
259
|
-
}>;
|
|
279
|
+
customStyle: PropTypes.Requireable<object>;
|
|
260
280
|
}>>;
|
|
261
281
|
}>>;
|
|
262
282
|
customStyle: PropTypes.Requireable<{
|
|
@@ -278,6 +298,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
278
298
|
primaryColor: PropTypes.Requireable<string>;
|
|
279
299
|
closeOnClick: PropTypes.Requireable<boolean>;
|
|
280
300
|
enableScroll: PropTypes.Requireable<boolean>;
|
|
301
|
+
containerCustom: PropTypes.Requireable<object>;
|
|
302
|
+
showFade: PropTypes.Requireable<boolean>;
|
|
281
303
|
}> | null | undefined>>;
|
|
282
304
|
}>>;
|
|
283
305
|
}> | PropTypes.InferProps<{
|
|
@@ -316,9 +338,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
316
338
|
color: PropTypes.Requireable<string>;
|
|
317
339
|
backgroundColor: PropTypes.Requireable<string>;
|
|
318
340
|
size: PropTypes.Requireable<number>;
|
|
319
|
-
customStyle: PropTypes.Requireable<
|
|
320
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
321
|
-
}>;
|
|
341
|
+
customStyle: PropTypes.Requireable<object>;
|
|
322
342
|
}>>;
|
|
323
343
|
}>>;
|
|
324
344
|
customStyle: PropTypes.Requireable<{
|
|
@@ -346,7 +366,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
346
366
|
tooltipPlacement: PropTypes.Requireable<string>;
|
|
347
367
|
'data-name': PropTypes.Requireable<string>;
|
|
348
368
|
'data-testid': PropTypes.Requireable<string>;
|
|
349
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
369
|
+
icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
350
370
|
position: PropTypes.Requireable<string>;
|
|
351
371
|
type: PropTypes.Requireable<string>;
|
|
352
372
|
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -354,11 +374,19 @@ declare const ContentSkillModalPropTypes: {
|
|
|
354
374
|
color: PropTypes.Requireable<string>;
|
|
355
375
|
backgroundColor: PropTypes.Requireable<string>;
|
|
356
376
|
size: PropTypes.Requireable<number>;
|
|
357
|
-
customStyle: PropTypes.Requireable<
|
|
358
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
359
|
-
}>;
|
|
377
|
+
customStyle: PropTypes.Requireable<object>;
|
|
360
378
|
}>>;
|
|
361
|
-
}
|
|
379
|
+
}> | (PropTypes.InferProps<{
|
|
380
|
+
position: PropTypes.Requireable<string>;
|
|
381
|
+
type: PropTypes.Requireable<string>;
|
|
382
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
383
|
+
name: PropTypes.Validator<string>;
|
|
384
|
+
color: PropTypes.Requireable<string>;
|
|
385
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
386
|
+
size: PropTypes.Requireable<number>;
|
|
387
|
+
customStyle: PropTypes.Requireable<object>;
|
|
388
|
+
}>>;
|
|
389
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
362
390
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
363
391
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
364
392
|
href: PropTypes.Requireable<string>;
|
|
@@ -369,9 +397,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
369
397
|
hoverColor: PropTypes.Requireable<string>;
|
|
370
398
|
disabled: PropTypes.Requireable<boolean>;
|
|
371
399
|
className: PropTypes.Requireable<string>;
|
|
372
|
-
customStyle: PropTypes.Requireable<
|
|
373
|
-
|
|
374
|
-
}>;
|
|
400
|
+
customStyle: PropTypes.Requireable<object>;
|
|
401
|
+
contentCustomStyle: PropTypes.Requireable<object>;
|
|
375
402
|
useTitle: PropTypes.Requireable<boolean>;
|
|
376
403
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
377
404
|
}> | PropTypes.InferProps<{
|
|
@@ -396,9 +423,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
396
423
|
color: PropTypes.Requireable<string>;
|
|
397
424
|
backgroundColor: PropTypes.Requireable<string>;
|
|
398
425
|
size: PropTypes.Requireable<number>;
|
|
399
|
-
customStyle: PropTypes.Requireable<
|
|
400
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
401
|
-
}>;
|
|
426
|
+
customStyle: PropTypes.Requireable<object>;
|
|
402
427
|
}>>;
|
|
403
428
|
}>>;
|
|
404
429
|
customStyle: PropTypes.Requireable<{
|
|
@@ -417,6 +442,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
417
442
|
title: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
|
|
418
443
|
title: PropTypes.Requireable<string>;
|
|
419
444
|
subtitle: PropTypes.Requireable<string>;
|
|
445
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
420
446
|
type: PropTypes.Requireable<string>;
|
|
421
447
|
'data-name': PropTypes.Requireable<string>;
|
|
422
448
|
titleSize: PropTypes.Requireable<string>;
|
|
@@ -451,7 +477,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
451
477
|
tooltipPlacement: PropTypes.Requireable<string>;
|
|
452
478
|
'data-name': PropTypes.Requireable<string>;
|
|
453
479
|
'data-testid': PropTypes.Requireable<string>;
|
|
454
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
480
|
+
icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
455
481
|
position: PropTypes.Requireable<string>;
|
|
456
482
|
type: PropTypes.Requireable<string>;
|
|
457
483
|
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -459,11 +485,19 @@ declare const ContentSkillModalPropTypes: {
|
|
|
459
485
|
color: PropTypes.Requireable<string>;
|
|
460
486
|
backgroundColor: PropTypes.Requireable<string>;
|
|
461
487
|
size: PropTypes.Requireable<number>;
|
|
462
|
-
customStyle: PropTypes.Requireable<
|
|
463
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
464
|
-
}>;
|
|
488
|
+
customStyle: PropTypes.Requireable<object>;
|
|
465
489
|
}>>;
|
|
466
|
-
}
|
|
490
|
+
}> | (PropTypes.InferProps<{
|
|
491
|
+
position: PropTypes.Requireable<string>;
|
|
492
|
+
type: PropTypes.Requireable<string>;
|
|
493
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
494
|
+
name: PropTypes.Validator<string>;
|
|
495
|
+
color: PropTypes.Requireable<string>;
|
|
496
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
497
|
+
size: PropTypes.Requireable<number>;
|
|
498
|
+
customStyle: PropTypes.Requireable<object>;
|
|
499
|
+
}>>;
|
|
500
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
467
501
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
468
502
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
469
503
|
href: PropTypes.Requireable<string>;
|
|
@@ -474,9 +508,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
474
508
|
hoverColor: PropTypes.Requireable<string>;
|
|
475
509
|
disabled: PropTypes.Requireable<boolean>;
|
|
476
510
|
className: PropTypes.Requireable<string>;
|
|
477
|
-
customStyle: PropTypes.Requireable<
|
|
478
|
-
|
|
479
|
-
}>;
|
|
511
|
+
customStyle: PropTypes.Requireable<object>;
|
|
512
|
+
contentCustomStyle: PropTypes.Requireable<object>;
|
|
480
513
|
useTitle: PropTypes.Requireable<boolean>;
|
|
481
514
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
482
515
|
}>>;
|
|
@@ -522,7 +555,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
522
555
|
tooltipPlacement: PropTypes.Requireable<string>;
|
|
523
556
|
'data-name': PropTypes.Requireable<string>;
|
|
524
557
|
'data-testid': PropTypes.Requireable<string>;
|
|
525
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
558
|
+
icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
526
559
|
position: PropTypes.Requireable<string>;
|
|
527
560
|
type: PropTypes.Requireable<string>;
|
|
528
561
|
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -530,11 +563,19 @@ declare const ContentSkillModalPropTypes: {
|
|
|
530
563
|
color: PropTypes.Requireable<string>;
|
|
531
564
|
backgroundColor: PropTypes.Requireable<string>;
|
|
532
565
|
size: PropTypes.Requireable<number>;
|
|
533
|
-
customStyle: PropTypes.Requireable<
|
|
534
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
535
|
-
}>;
|
|
566
|
+
customStyle: PropTypes.Requireable<object>;
|
|
536
567
|
}>>;
|
|
537
|
-
}
|
|
568
|
+
}> | (PropTypes.InferProps<{
|
|
569
|
+
position: PropTypes.Requireable<string>;
|
|
570
|
+
type: PropTypes.Requireable<string>;
|
|
571
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
572
|
+
name: PropTypes.Validator<string>;
|
|
573
|
+
color: PropTypes.Requireable<string>;
|
|
574
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
575
|
+
size: PropTypes.Requireable<number>;
|
|
576
|
+
customStyle: PropTypes.Requireable<object>;
|
|
577
|
+
}>>;
|
|
578
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
538
579
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
539
580
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
540
581
|
href: PropTypes.Requireable<string>;
|
|
@@ -545,14 +586,14 @@ declare const ContentSkillModalPropTypes: {
|
|
|
545
586
|
hoverColor: PropTypes.Requireable<string>;
|
|
546
587
|
disabled: PropTypes.Requireable<boolean>;
|
|
547
588
|
className: PropTypes.Requireable<string>;
|
|
548
|
-
customStyle: PropTypes.Requireable<
|
|
549
|
-
|
|
550
|
-
}>;
|
|
589
|
+
customStyle: PropTypes.Requireable<object>;
|
|
590
|
+
contentCustomStyle: PropTypes.Requireable<object>;
|
|
551
591
|
useTitle: PropTypes.Requireable<boolean>;
|
|
552
592
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
553
593
|
}> | null | undefined)[]>;
|
|
554
594
|
buttonMenuAction: PropTypes.Requireable<PropTypes.InferProps<{
|
|
555
595
|
button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
596
|
+
withChevron: PropTypes.Requireable<boolean>;
|
|
556
597
|
type: PropTypes.Requireable<string>;
|
|
557
598
|
usage: PropTypes.Requireable<string>;
|
|
558
599
|
label: PropTypes.Requireable<string>;
|
|
@@ -562,7 +603,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
562
603
|
tooltipPlacement: PropTypes.Requireable<string>;
|
|
563
604
|
'data-name': PropTypes.Requireable<string>;
|
|
564
605
|
'data-testid': PropTypes.Requireable<string>;
|
|
565
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
606
|
+
icon: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
566
607
|
position: PropTypes.Requireable<string>;
|
|
567
608
|
type: PropTypes.Requireable<string>;
|
|
568
609
|
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -570,11 +611,19 @@ declare const ContentSkillModalPropTypes: {
|
|
|
570
611
|
color: PropTypes.Requireable<string>;
|
|
571
612
|
backgroundColor: PropTypes.Requireable<string>;
|
|
572
613
|
size: PropTypes.Requireable<number>;
|
|
573
|
-
customStyle: PropTypes.Requireable<
|
|
574
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
575
|
-
}>;
|
|
614
|
+
customStyle: PropTypes.Requireable<object>;
|
|
576
615
|
}>>;
|
|
577
|
-
}
|
|
616
|
+
}> | (PropTypes.InferProps<{
|
|
617
|
+
position: PropTypes.Requireable<string>;
|
|
618
|
+
type: PropTypes.Requireable<string>;
|
|
619
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
620
|
+
name: PropTypes.Validator<string>;
|
|
621
|
+
color: PropTypes.Requireable<string>;
|
|
622
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
623
|
+
size: PropTypes.Requireable<number>;
|
|
624
|
+
customStyle: PropTypes.Requireable<object>;
|
|
625
|
+
}>>;
|
|
626
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
578
627
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
579
628
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
580
629
|
href: PropTypes.Requireable<string>;
|
|
@@ -585,9 +634,8 @@ declare const ContentSkillModalPropTypes: {
|
|
|
585
634
|
hoverColor: PropTypes.Requireable<string>;
|
|
586
635
|
disabled: PropTypes.Requireable<boolean>;
|
|
587
636
|
className: PropTypes.Requireable<string>;
|
|
588
|
-
customStyle: PropTypes.Requireable<
|
|
589
|
-
|
|
590
|
-
}>;
|
|
637
|
+
customStyle: PropTypes.Requireable<object>;
|
|
638
|
+
contentCustomStyle: PropTypes.Requireable<object>;
|
|
591
639
|
useTitle: PropTypes.Requireable<boolean>;
|
|
592
640
|
customLabelClassName: PropTypes.Requireable<string>;
|
|
593
641
|
}>>>;
|
|
@@ -608,9 +656,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
608
656
|
color: PropTypes.Requireable<string>;
|
|
609
657
|
backgroundColor: PropTypes.Requireable<string>;
|
|
610
658
|
size: PropTypes.Requireable<number>;
|
|
611
|
-
customStyle: PropTypes.Requireable<
|
|
612
|
-
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
613
|
-
}>;
|
|
659
|
+
customStyle: PropTypes.Requireable<object>;
|
|
614
660
|
}>>;
|
|
615
661
|
}>>;
|
|
616
662
|
customStyle: PropTypes.Requireable<{
|
|
@@ -632,21 +678,27 @@ declare const ContentSkillModalPropTypes: {
|
|
|
632
678
|
primaryColor: PropTypes.Requireable<string>;
|
|
633
679
|
closeOnClick: PropTypes.Requireable<boolean>;
|
|
634
680
|
enableScroll: PropTypes.Requireable<boolean>;
|
|
681
|
+
containerCustom: PropTypes.Requireable<object>;
|
|
682
|
+
showFade: PropTypes.Requireable<boolean>;
|
|
635
683
|
}>>;
|
|
636
684
|
}>>>;
|
|
637
685
|
filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
638
686
|
title: PropTypes.Requireable<string>;
|
|
639
687
|
onClearAll: PropTypes.Requireable<(...args: any[]) => any>;
|
|
688
|
+
onRemoveSelectedFilter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
640
689
|
options: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
|
|
641
690
|
type: PropTypes.Requireable<string>;
|
|
642
691
|
options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
643
692
|
title: PropTypes.Requireable<string>;
|
|
693
|
+
titleAriaLabel: PropTypes.Requireable<string>;
|
|
644
694
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
645
695
|
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
646
696
|
label: PropTypes.Requireable<string>;
|
|
647
697
|
type: PropTypes.Requireable<string>;
|
|
698
|
+
textColor: PropTypes.Requireable<string>;
|
|
648
699
|
selected: PropTypes.Requireable<boolean>;
|
|
649
700
|
icon: PropTypes.Requireable<string>;
|
|
701
|
+
customIcon: PropTypes.Requireable<string>;
|
|
650
702
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
651
703
|
}> | null | undefined)[]>;
|
|
652
704
|
}>>;
|
|
@@ -654,6 +706,7 @@ declare const ContentSkillModalPropTypes: {
|
|
|
654
706
|
type: PropTypes.Requireable<string>;
|
|
655
707
|
options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
656
708
|
title: PropTypes.Requireable<string>;
|
|
709
|
+
titleAriaLabel: PropTypes.Requireable<string>;
|
|
657
710
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
658
711
|
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
659
712
|
label: PropTypes.Requireable<string>;
|
|
@@ -677,6 +730,20 @@ declare const ContentSkillModalPropTypes: {
|
|
|
677
730
|
searchIconAriaLabel: PropTypes.Requireable<string>;
|
|
678
731
|
}>>;
|
|
679
732
|
}>>;
|
|
733
|
+
}> | PropTypes.InferProps<{
|
|
734
|
+
type: PropTypes.Requireable<string>;
|
|
735
|
+
options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
736
|
+
title: PropTypes.Validator<string>;
|
|
737
|
+
titleAriaLabel: PropTypes.Requireable<string>;
|
|
738
|
+
onClear: PropTypes.Validator<(...args: any[]) => any>;
|
|
739
|
+
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
740
|
+
label: PropTypes.Validator<string>;
|
|
741
|
+
value: PropTypes.Validator<boolean>;
|
|
742
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
743
|
+
theme: PropTypes.Validator<string>;
|
|
744
|
+
ariaLabel: PropTypes.Validator<string>;
|
|
745
|
+
}> | null | undefined)[]>;
|
|
746
|
+
}>>;
|
|
680
747
|
}> | null | undefined> | null | undefined)[]>;
|
|
681
748
|
}>>>;
|
|
682
749
|
modal: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAStD,QAAA,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAStD,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IACpD,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
|
|
@@ -5,6 +5,7 @@ declare const FilterCheckboxAndSearch: {
|
|
|
5
5
|
(props: FilterCheckboxAndSearchProps, context: WebContextValues): JSX.Element;
|
|
6
6
|
propTypes: {
|
|
7
7
|
title: import("prop-types").Requireable<string>;
|
|
8
|
+
titleAriaLabel: import("prop-types").Requireable<string>;
|
|
8
9
|
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
9
10
|
options: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
10
11
|
label: import("prop-types").Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAKjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAKjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgG1B,CAAC;AAQF,eAAe,uBAAuB,CAAC"}
|
|
@@ -33,6 +33,7 @@ const INITIAL_VISIBLE_OPTIONS = 5;
|
|
|
33
33
|
const FilterCheckboxAndSearch = (props, context) => {
|
|
34
34
|
const {
|
|
35
35
|
title,
|
|
36
|
+
titleAriaLabel,
|
|
36
37
|
searchOptions,
|
|
37
38
|
onClear,
|
|
38
39
|
options
|
|
@@ -59,7 +60,8 @@ const FilterCheckboxAndSearch = (props, context) => {
|
|
|
59
60
|
className: style.titleAndTagWrapper,
|
|
60
61
|
"data-testid": "filter-checkbox-and-searh-title-and-tag-wrapper"
|
|
61
62
|
}, /*#__PURE__*/React.createElement(Title, {
|
|
62
|
-
title: title
|
|
63
|
+
title: title,
|
|
64
|
+
ariaLabel: titleAriaLabel
|
|
63
65
|
}), hasSelectedFilters ? /*#__PURE__*/React.createElement(Tag, {
|
|
64
66
|
label: _toString(selectedFiltersCount),
|
|
65
67
|
type: "info",
|
|
@@ -71,7 +73,8 @@ const FilterCheckboxAndSearch = (props, context) => {
|
|
|
71
73
|
type: "text",
|
|
72
74
|
"data-testid": "filter-checkbox-and-search-clear-button",
|
|
73
75
|
onClick: onClear,
|
|
74
|
-
customStyle: CLEAR_BUTTON_STYLE
|
|
76
|
+
customStyle: CLEAR_BUTTON_STYLE,
|
|
77
|
+
hoverColor: COLORS.cm_grey_700
|
|
75
78
|
})) : null), searchOptions ? /*#__PURE__*/React.createElement("div", {
|
|
76
79
|
className: style.search
|
|
77
80
|
}, /*#__PURE__*/React.createElement(Search, searchOptions)) : null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","useCallback","useMemo","useState","Title","Tag","ButtonLink","Provider","GetTranslateFromContext","CheckboxWithTitle","COLORS","Search","style","propTypes","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCheckboxAndSearch","props","context","title","searchOptions","onClear","options","translate","showMore","setShowMore","selectedFiltersCount","_pipe","_filter","selected","_size","hasSelectedFilters","handleShowMore","visibleOptions","slice","createElement","className","container","header","titleAndTagWrapper","label","_toString","type","size","clearButtonContainer","onClick","customStyle","search","optionsContainer","_isEmpty","emptySearchResult","map","value","count","index","key","optionRow","onChange","name","checked","optionCount","icon","position","faIcon","color","cm_grey_500","process","env","NODE_ENV","contextTypes","childContextTypes"],"sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo, useState} from 'react';\nimport {filter, isEmpty, pipe, size, toString} from 'lodash/fp';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport {COLORS} from '../../variables/colors';\nimport Search from '../../atom/input-search';\nimport style from './style.css';\nimport propTypes, {FilterCheckboxAndSearchProps} from './props-types';\n\nconst CLEAR_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst SHOW_BUTTON_STYLE = {\n fontSize: '14px',\n fontWeight: '600',\n fontFamily: 'Gilroy',\n padding: '0'\n};\nconst CHECKBOX_TITLE_STYLE = {\n marginRight: '16px',\n fontSize: '14px',\n fontFamily: 'Gilroy',\n fontWeight: 'normal'\n};\nconst INITIAL_VISIBLE_OPTIONS = 5;\n\nconst FilterCheckboxAndSearch = (\n props: FilterCheckboxAndSearchProps,\n context: WebContextValues\n) => {\n const {title, searchOptions, onClear, options} = props;\n const translate = GetTranslateFromContext(context);\n const [showMore, setShowMore] = useState(false);\n const selectedFiltersCount = pipe(filter({selected: true}), size)(options);\n const hasSelectedFilters = selectedFiltersCount > 0;\n\n const handleShowMore = useCallback(() => {\n setShowMore(!showMore);\n }, [showMore]);\n\n const visibleOptions = useMemo(() => {\n return showMore ? options : options.slice(0, INITIAL_VISIBLE_OPTIONS);\n }, [options, showMore]);\n\n return (\n <div data-testid=\"filter-checkbox-and-search-container\" className={style.container}>\n <div className={style.header} data-testid=\"filter-checkbox-and-search-header\">\n <div\n className={style.titleAndTagWrapper}\n data-testid=\"filter-checkbox-and-searh-title-and-tag-wrapper\"\n >\n <Title title={title} />\n {hasSelectedFilters ? (\n <Tag label={toString(selectedFiltersCount)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.clearButtonContainer}>\n <ButtonLink\n label={translate('clear')}\n type=\"text\"\n data-testid=\"filter-checkbox-and-search-clear-button\"\n onClick={onClear}\n customStyle={CLEAR_BUTTON_STYLE}\n />\n </div>\n ) : null}\n </div>\n {searchOptions ? (\n <div className={style.search}>\n <Search {...searchOptions} />\n </div>\n ) : null}\n <div\n data-testid=\"filter-checkbox-and-search-options-container\"\n className={style.optionsContainer}\n >\n {isEmpty(visibleOptions) ? (\n <p\n className={style.emptySearchResult}\n data-testid=\"filter-checkbox-and-search-empty-message\"\n >\n No results... Try adjusting your search.\n </p>\n ) : (\n visibleOptions.map(({value, label, selected, count, onClick}, index) => (\n <div\n key={value}\n className={style.optionRow}\n data-testid={`filter-checkbox-and-search-option-row-${index}`}\n >\n <CheckboxWithTitle\n key={value}\n title={label}\n onChange={onClick}\n name={label}\n checked={selected}\n customStyle={CHECKBOX_TITLE_STYLE}\n />\n <p className={style.optionCount}>{count}</p>\n </div>\n ))\n )}\n </div>\n {size(options) > INITIAL_VISIBLE_OPTIONS ? (\n <ButtonLink\n label={showMore ? translate('Show less') : translate('Show more')}\n type=\"text\"\n icon={{\n position: 'right',\n faIcon: {\n name: showMore ? 'chevron-up' : 'chevron-down',\n size: 16,\n color: COLORS.cm_grey_500\n }\n }}\n customStyle={SHOW_BUTTON_STYLE}\n onClick={handleShowMore}\n data-testid=\"filter-checkbox-and-search-show-button\"\n />\n ) : null}\n </div>\n );\n};\n\nFilterCheckboxAndSearch.propTypes = propTypes;\n\nFilterCheckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCheckboxAndSearch;\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAO,OAAO;AAE3D,OAAOC,KAAK,MAAM,kBAAkB;AACpC,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,QAAQ,IAAGC,uBAAuB,QAAO,qBAAqB;AAErE,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9D,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,MAAM,MAAM,yBAAyB;AAC5C,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,MAAsC,eAAe;AAErE,MAAMC,kBAAkB,GAAG;EAACC,UAAU,EAAE,QAAQ;EAAEC,OAAO,EAAE;AAAC,CAAC;AAC7D,MAAMC,iBAAiB,GAAG;EACxBC,QAAQ,EAAE,MAAM;EAChBH,UAAU,EAAE,KAAK;EACjBI,UAAU,EAAE,QAAQ;EACpBH,OAAO,EAAE;AACX,CAAC;AACD,MAAMI,oBAAoB,GAAG;EAC3BC,WAAW,EAAE,MAAM;EACnBH,QAAQ,EAAE,MAAM;EAChBC,UAAU,EAAE,QAAQ;EACpBJ,UAAU,EAAE;AACd,CAAC;AACD,MAAMO,uBAAuB,GAAG,CAAC;AAEjC,MAAMC,uBAAuB,GAAGA,CAC9BC,KAAmC,EACnCC,OAAyB,KACtB;EACH,MAAM;IAACC,KAAK;IAAEC,aAAa;IAAEC,OAAO;IAAEC;EAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useCallback","useMemo","useState","Title","Tag","ButtonLink","Provider","GetTranslateFromContext","CheckboxWithTitle","COLORS","Search","style","propTypes","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCheckboxAndSearch","props","context","title","titleAriaLabel","searchOptions","onClear","options","translate","showMore","setShowMore","selectedFiltersCount","_pipe","_filter","selected","_size","hasSelectedFilters","handleShowMore","visibleOptions","slice","createElement","className","container","header","titleAndTagWrapper","ariaLabel","label","_toString","type","size","clearButtonContainer","onClick","customStyle","hoverColor","cm_grey_700","search","optionsContainer","_isEmpty","emptySearchResult","map","value","count","index","key","optionRow","onChange","name","checked","optionCount","icon","position","faIcon","color","cm_grey_500","process","env","NODE_ENV","contextTypes","childContextTypes"],"sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo, useState} from 'react';\nimport {filter, isEmpty, pipe, size, toString} from 'lodash/fp';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport {COLORS} from '../../variables/colors';\nimport Search from '../../atom/input-search';\nimport style from './style.css';\nimport propTypes, {FilterCheckboxAndSearchProps} from './props-types';\n\nconst CLEAR_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst SHOW_BUTTON_STYLE = {\n fontSize: '14px',\n fontWeight: '600',\n fontFamily: 'Gilroy',\n padding: '0'\n};\nconst CHECKBOX_TITLE_STYLE = {\n marginRight: '16px',\n fontSize: '14px',\n fontFamily: 'Gilroy',\n fontWeight: 'normal'\n};\nconst INITIAL_VISIBLE_OPTIONS = 5;\n\nconst FilterCheckboxAndSearch = (\n props: FilterCheckboxAndSearchProps,\n context: WebContextValues\n) => {\n const {title, titleAriaLabel, searchOptions, onClear, options} = props;\n const translate = GetTranslateFromContext(context);\n const [showMore, setShowMore] = useState(false);\n const selectedFiltersCount = pipe(filter({selected: true}), size)(options);\n const hasSelectedFilters = selectedFiltersCount > 0;\n\n const handleShowMore = useCallback(() => {\n setShowMore(!showMore);\n }, [showMore]);\n\n const visibleOptions = useMemo(() => {\n return showMore ? options : options.slice(0, INITIAL_VISIBLE_OPTIONS);\n }, [options, showMore]);\n\n return (\n <div data-testid=\"filter-checkbox-and-search-container\" className={style.container}>\n <div className={style.header} data-testid=\"filter-checkbox-and-search-header\">\n <div\n className={style.titleAndTagWrapper}\n data-testid=\"filter-checkbox-and-searh-title-and-tag-wrapper\"\n >\n <Title title={title} ariaLabel={titleAriaLabel} />\n {hasSelectedFilters ? (\n <Tag label={toString(selectedFiltersCount)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.clearButtonContainer}>\n <ButtonLink\n label={translate('clear')}\n type=\"text\"\n data-testid=\"filter-checkbox-and-search-clear-button\"\n onClick={onClear}\n customStyle={CLEAR_BUTTON_STYLE}\n hoverColor={COLORS.cm_grey_700}\n />\n </div>\n ) : null}\n </div>\n {searchOptions ? (\n <div className={style.search}>\n <Search {...searchOptions} />\n </div>\n ) : null}\n <div\n data-testid=\"filter-checkbox-and-search-options-container\"\n className={style.optionsContainer}\n >\n {isEmpty(visibleOptions) ? (\n <p\n className={style.emptySearchResult}\n data-testid=\"filter-checkbox-and-search-empty-message\"\n >\n No results... Try adjusting your search.\n </p>\n ) : (\n visibleOptions.map(({value, label, selected, count, onClick}, index) => (\n <div\n key={value}\n className={style.optionRow}\n data-testid={`filter-checkbox-and-search-option-row-${index}`}\n >\n <CheckboxWithTitle\n key={value}\n title={label}\n onChange={onClick}\n name={label}\n checked={selected}\n customStyle={CHECKBOX_TITLE_STYLE}\n />\n <p className={style.optionCount}>{count}</p>\n </div>\n ))\n )}\n </div>\n {size(options) > INITIAL_VISIBLE_OPTIONS ? (\n <ButtonLink\n label={showMore ? translate('Show less') : translate('Show more')}\n type=\"text\"\n icon={{\n position: 'right',\n faIcon: {\n name: showMore ? 'chevron-up' : 'chevron-down',\n size: 16,\n color: COLORS.cm_grey_500\n }\n }}\n customStyle={SHOW_BUTTON_STYLE}\n onClick={handleShowMore}\n data-testid=\"filter-checkbox-and-search-show-button\"\n />\n ) : null}\n </div>\n );\n};\n\nFilterCheckboxAndSearch.propTypes = propTypes;\n\nFilterCheckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCheckboxAndSearch;\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
declare const propTypes: {
|
|
3
3
|
title: PropTypes.Requireable<string>;
|
|
4
|
+
titleAriaLabel: PropTypes.Requireable<string>;
|
|
4
5
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
5
6
|
options: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
6
7
|
label: PropTypes.Requireable<string>;
|
|
@@ -44,6 +45,7 @@ declare type SearchType = {
|
|
|
44
45
|
};
|
|
45
46
|
export declare type FilterCheckboxAndSearchProps = {
|
|
46
47
|
title: string;
|
|
48
|
+
titleAriaLabel?: string;
|
|
47
49
|
onClear: () => void;
|
|
48
50
|
searchOptions: SearchType;
|
|
49
51
|
options: FilterCheckboxAndSearchOptions[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"props-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;IAC1B,OAAO,EAAE,8BAA8B,EAAE,CAAC;CAC3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props-types.js","names":["PropTypes","Search","propTypes","title","string","onClear","func","options","arrayOf","shape","label","value","selected","bool","ref","count","number","onClick","searchOptions"],"sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport Search from '../../atom/input-search';\n\nconst propTypes = {\n title: PropTypes.string,\n onClear: PropTypes.func,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n selected: PropTypes.bool,\n ref: PropTypes.string,\n count: PropTypes.number,\n onClick: PropTypes.func\n })\n ),\n searchOptions: PropTypes.shape(Search.propTypes)\n};\n\nexport type FilterCheckboxAndSearchOptions = {\n label: string;\n value: string;\n selected: boolean;\n ref: string;\n count: number;\n onClick: () => void;\n};\n\ntype SearchType = {\n value?: string;\n placeholder: string;\n onChange?: () => void;\n onClear?: () => void;\n onFocus?: () => void;\n onBlur?: () => void;\n theme?: 'default' | 'coorpmanager';\n dataTestId?: string;\n};\n\nexport type FilterCheckboxAndSearchProps = {\n title: string;\n onClear: () => void;\n searchOptions: SearchType;\n options: FilterCheckboxAndSearchOptions[];\n};\n\nexport default propTypes;\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,MAAM,MAAM,yBAAyB;AAE5C,MAAMC,SAAS,GAAG;EAChBC,KAAK,EAAEH,SAAS,CAACI,MAAM;EACvBC,
|
|
1
|
+
{"version":3,"file":"props-types.js","names":["PropTypes","Search","propTypes","title","string","titleAriaLabel","onClear","func","options","arrayOf","shape","label","value","selected","bool","ref","count","number","onClick","searchOptions"],"sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport Search from '../../atom/input-search';\n\nconst propTypes = {\n title: PropTypes.string,\n titleAriaLabel: PropTypes.string,\n onClear: PropTypes.func,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n selected: PropTypes.bool,\n ref: PropTypes.string,\n count: PropTypes.number,\n onClick: PropTypes.func\n })\n ),\n searchOptions: PropTypes.shape(Search.propTypes)\n};\n\nexport type FilterCheckboxAndSearchOptions = {\n label: string;\n value: string;\n selected: boolean;\n ref: string;\n count: number;\n onClick: () => void;\n};\n\ntype SearchType = {\n value?: string;\n placeholder: string;\n onChange?: () => void;\n onClear?: () => void;\n onFocus?: () => void;\n onBlur?: () => void;\n theme?: 'default' | 'coorpmanager';\n dataTestId?: string;\n};\n\nexport type FilterCheckboxAndSearchProps = {\n title: string;\n titleAriaLabel?: string;\n onClear: () => void;\n searchOptions: SearchType;\n options: FilterCheckboxAndSearchOptions[];\n};\n\nexport default propTypes;\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,MAAM,MAAM,yBAAyB;AAE5C,MAAMC,SAAS,GAAG;EAChBC,KAAK,EAAEH,SAAS,CAACI,MAAM;EACvBC,cAAc,EAAEL,SAAS,CAACI,MAAM;EAChCE,OAAO,EAAEN,SAAS,CAACO,IAAI;EACvBC,OAAO,EAAER,SAAS,CAACS,OAAO,CACxBT,SAAS,CAACU,KAAK,CAAC;IACdC,KAAK,EAAEX,SAAS,CAACI,MAAM;IACvBQ,KAAK,EAAEZ,SAAS,CAACI,MAAM;IACvBS,QAAQ,EAAEb,SAAS,CAACc,IAAI;IACxBC,GAAG,EAAEf,SAAS,CAACI,MAAM;IACrBY,KAAK,EAAEhB,SAAS,CAACiB,MAAM;IACvBC,OAAO,EAAElB,SAAS,CAACO;EACrB,CAAC,CACH,CAAC;EACDY,aAAa,EAAEnB,SAAS,CAACU,KAAK,CAACT,MAAM,CAACC,SAAS;AACjD,CAAC;AA8BD,eAAeA,SAAS","ignoreList":[]}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@value cm_grey_500 from colors;
|
|
3
3
|
@value cm_grey_100 from colors;
|
|
4
4
|
@value cm_grey_400 from colors;
|
|
5
|
+
@value cm_grey_700 from colors;
|
|
5
6
|
|
|
6
7
|
.container {
|
|
7
8
|
display: flex;
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
justify-content: space-between;
|
|
47
48
|
align-items: center;
|
|
48
49
|
height: 20px;
|
|
50
|
+
cursor: pointer;
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
.optionCount {
|
|
@@ -5,12 +5,15 @@ declare const FilterChip: {
|
|
|
5
5
|
(props: FilterChipProps, context: WebContextValues): JSX.Element;
|
|
6
6
|
propTypes: {
|
|
7
7
|
title: import("prop-types").Requireable<string>;
|
|
8
|
+
titleAriaLabel: import("prop-types").Requireable<string>;
|
|
8
9
|
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
9
10
|
options: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
10
11
|
label: import("prop-types").Requireable<string>;
|
|
11
12
|
type: import("prop-types").Requireable<string>;
|
|
13
|
+
textColor: import("prop-types").Requireable<string>;
|
|
12
14
|
selected: import("prop-types").Requireable<boolean>;
|
|
13
15
|
icon: import("prop-types").Requireable<string>;
|
|
16
|
+
customIcon: import("prop-types").Requireable<string>;
|
|
14
17
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
15
18
|
}> | null | undefined)[]>;
|
|
16
19
|
};
|