@coorpacademy/components 11.33.7 → 11.33.8
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 +13 -2
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +2 -2
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/style.css +2 -2
- package/es/atom/button-link/types.d.ts +28 -4
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js +14 -5
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/button-link-icon/style.css +2 -2
- package/es/atom/button-menu/index.d.ts +18 -0
- package/es/atom/button-menu/index.d.ts.map +1 -1
- package/es/atom/button-menu/index.js +19 -3
- package/es/atom/button-menu/index.js.map +1 -1
- package/es/atom/button-menu/style.css +19 -6
- package/es/atom/button-menu/types.d.ts +39 -0
- package/es/atom/button-menu/types.d.ts.map +1 -1
- package/es/atom/button-menu/types.js +7 -2
- package/es/atom/button-menu/types.js.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +37 -0
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +37 -0
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/tag/style.css +10 -6
- package/es/atom/title/index.d.ts +37 -0
- package/es/atom/title/index.d.ts.map +1 -1
- package/es/atom/title/index.js +10 -4
- package/es/atom/title/index.js.map +1 -1
- package/es/atom/title/style.css +9 -1
- package/es/molecule/bullet-point-menu-button/index.d.ts +17 -0
- package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/es/molecule/bullet-point-menu-button/style.css +20 -16
- package/es/molecule/bullet-point-menu-button/types.d.ts +17 -0
- package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +120 -8
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +4 -1
- package/es/molecule/expandible-actionable-table/index.d.ts +47 -2
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.d.ts +47 -2
- package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/es/molecule/filters/index.js +2 -2
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/filters/style.css +7 -7
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +37 -0
- package/es/molecule/title-radio-wrapper/index.d.ts +37 -0
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +37 -0
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +4 -1
- package/es/organism/header-with-actions/index.d.ts +95 -0
- package/es/organism/header-with-actions/index.d.ts.map +1 -0
- package/es/organism/header-with-actions/index.js +48 -0
- package/es/organism/header-with-actions/index.js.map +1 -0
- package/es/organism/header-with-actions/style.css +55 -0
- package/es/organism/header-with-actions/types.d.ts +120 -0
- package/es/organism/header-with-actions/types.d.ts.map +1 -0
- package/es/organism/header-with-actions/types.js +27 -0
- package/es/organism/header-with-actions/types.js.map +1 -0
- package/es/organism/list-item/index.d.ts +4 -1
- package/es/organism/list-item/index.js +7 -4
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +4 -6
- package/es/organism/list-items/index.d.ts +76 -6
- package/es/organism/list-items/index.d.ts.map +1 -1
- package/es/organism/list-items/index.js +12 -6
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/list-items/style.css +8 -2
- package/es/organism/rewards-form/index.d.ts +37 -0
- package/es/organism/select-opponents/index.d.ts +37 -0
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +37 -0
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/setup-header/index.d.ts +52 -8
- package/es/organism/title-and-input/index.d.ts +74 -0
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +74 -0
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +110 -6
- package/es/template/app-player/loading/index.d.ts +120 -8
- package/es/template/app-player/player/index.d.ts +240 -16
- package/es/template/app-player/player/slides/index.d.ts +120 -8
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +120 -8
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +120 -8
- package/es/template/app-review/index.d.ts +120 -8
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +120 -8
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +120 -8
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-create/index.d.ts +52 -8
- package/es/template/back-office/brand-create/index.d.ts.map +1 -1
- package/es/template/back-office/brand-list/index.d.ts +52 -8
- package/es/template/back-office/brand-list/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +378 -28
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +13 -3
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/brand-update/style.css +4 -0
- package/es/template/back-office/dashboard-preview/index.d.ts +52 -8
- package/es/template/back-office/layout/index.d.ts +52 -8
- package/es/template/back-office/layout/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.d.ts +240 -16
- package/es/template/common/search-page/index.d.ts +120 -8
- package/es/template/external-course/index.d.ts +120 -8
- package/es/variables/colors.css +5 -1
- 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 +13 -2
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +2 -2
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/style.css +2 -2
- package/lib/atom/button-link/types.d.ts +28 -4
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js +15 -6
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/button-link-icon/style.css +2 -2
- package/lib/atom/button-menu/index.d.ts +18 -0
- package/lib/atom/button-menu/index.d.ts.map +1 -1
- package/lib/atom/button-menu/index.js +19 -3
- package/lib/atom/button-menu/index.js.map +1 -1
- package/lib/atom/button-menu/style.css +19 -6
- package/lib/atom/button-menu/types.d.ts +39 -0
- package/lib/atom/button-menu/types.d.ts.map +1 -1
- package/lib/atom/button-menu/types.js +7 -2
- package/lib/atom/button-menu/types.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +37 -0
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +37 -0
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/tag/style.css +10 -6
- package/lib/atom/title/index.d.ts +37 -0
- package/lib/atom/title/index.d.ts.map +1 -1
- package/lib/atom/title/index.js +10 -4
- package/lib/atom/title/index.js.map +1 -1
- package/lib/atom/title/style.css +9 -1
- package/lib/molecule/bullet-point-menu-button/index.d.ts +17 -0
- package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
- package/lib/molecule/bullet-point-menu-button/style.css +20 -16
- package/lib/molecule/bullet-point-menu-button/types.d.ts +17 -0
- package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +120 -8
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +4 -1
- package/lib/molecule/expandible-actionable-table/index.d.ts +47 -2
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.d.ts +47 -2
- package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/lib/molecule/filters/index.js +2 -2
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/filters/style.css +7 -7
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +37 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts +37 -0
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +37 -0
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +4 -1
- package/lib/organism/header-with-actions/index.d.ts +95 -0
- package/lib/organism/header-with-actions/index.d.ts.map +1 -0
- package/lib/organism/header-with-actions/index.js +53 -0
- package/lib/organism/header-with-actions/index.js.map +1 -0
- package/lib/organism/header-with-actions/style.css +55 -0
- package/lib/organism/header-with-actions/types.d.ts +120 -0
- package/lib/organism/header-with-actions/types.d.ts.map +1 -0
- package/lib/organism/header-with-actions/types.js +32 -0
- package/lib/organism/header-with-actions/types.js.map +1 -0
- package/lib/organism/list-item/index.d.ts +4 -1
- package/lib/organism/list-item/index.js +7 -4
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +4 -6
- package/lib/organism/list-items/index.d.ts +76 -6
- package/lib/organism/list-items/index.d.ts.map +1 -1
- package/lib/organism/list-items/index.js +12 -6
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/list-items/style.css +8 -2
- package/lib/organism/rewards-form/index.d.ts +37 -0
- package/lib/organism/select-opponents/index.d.ts +37 -0
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +37 -0
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/setup-header/index.d.ts +52 -8
- package/lib/organism/title-and-input/index.d.ts +74 -0
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +74 -0
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +110 -6
- package/lib/template/app-player/loading/index.d.ts +120 -8
- package/lib/template/app-player/player/index.d.ts +240 -16
- package/lib/template/app-player/player/slides/index.d.ts +120 -8
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +120 -8
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +120 -8
- package/lib/template/app-review/index.d.ts +120 -8
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +120 -8
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +120 -8
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-create/index.d.ts +52 -8
- package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-list/index.d.ts +52 -8
- package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +378 -28
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +13 -3
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/brand-update/style.css +4 -0
- package/lib/template/back-office/dashboard-preview/index.d.ts +52 -8
- package/lib/template/back-office/layout/index.d.ts +52 -8
- package/lib/template/back-office/layout/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +240 -16
- package/lib/template/common/search-page/index.d.ts +120 -8
- package/lib/template/external-course/index.d.ts +120 -8
- package/lib/variables/colors.css +5 -1
- 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
- package/LICENSE +0 -201
|
@@ -17,6 +17,43 @@ export declare const propTypes: {
|
|
|
17
17
|
}>;
|
|
18
18
|
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
19
19
|
}>>;
|
|
20
|
+
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
21
|
+
type: PropTypes.Requireable<string>;
|
|
22
|
+
usage: PropTypes.Requireable<string>;
|
|
23
|
+
label: PropTypes.Requireable<string>;
|
|
24
|
+
content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
25
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
26
|
+
tooltipText: PropTypes.Requireable<string>;
|
|
27
|
+
tooltipPlacement: PropTypes.Requireable<string>;
|
|
28
|
+
'data-name': PropTypes.Requireable<string>;
|
|
29
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
30
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
31
|
+
position: PropTypes.Validator<string>;
|
|
32
|
+
type: PropTypes.Requireable<string>;
|
|
33
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
|
+
name: PropTypes.Validator<string>;
|
|
35
|
+
color: PropTypes.Requireable<string>;
|
|
36
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
37
|
+
size: PropTypes.Requireable<number>;
|
|
38
|
+
customStyle: PropTypes.Requireable<{
|
|
39
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
}>>;
|
|
42
|
+
}>>;
|
|
43
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
44
|
+
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
45
|
+
href: PropTypes.Requireable<string>;
|
|
46
|
+
download: PropTypes.Requireable<boolean>;
|
|
47
|
+
target: PropTypes.Requireable<string>;
|
|
48
|
+
}>>;
|
|
49
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
50
|
+
hoverColor: PropTypes.Requireable<string>;
|
|
51
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
52
|
+
className: PropTypes.Requireable<string>;
|
|
53
|
+
customStyle: PropTypes.Requireable<{
|
|
54
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
55
|
+
}>;
|
|
56
|
+
}>>;
|
|
20
57
|
}>>>;
|
|
21
58
|
name: PropTypes.Requireable<string>;
|
|
22
59
|
checked: PropTypes.Requireable<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/radio-with-title/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/radio-with-title/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOrB,CAAC;AAEF,oBAAY,mBAAmB,GAAG;IAChC,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
package/es/atom/tag/style.css
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
@value colors: "../../variables/colors.css";
|
|
2
2
|
@value white from colors;
|
|
3
|
+
@value cm_yellow_100 from colors;
|
|
3
4
|
@value cm_yellow_200 from colors;
|
|
5
|
+
@value cm_yellow_300 from colors;
|
|
4
6
|
@value cm_positive_100 from colors;
|
|
7
|
+
@value cm_positive_300 from colors;
|
|
5
8
|
@value cm_negative_100 from colors;
|
|
6
9
|
@value cm_orange_700 from colors;
|
|
10
|
+
@value cm_orange_800 from colors;
|
|
7
11
|
@value black from colors;
|
|
8
12
|
@value cm_grey_100 from colors;
|
|
9
13
|
@value cm_grey_500 from colors;
|
|
@@ -44,14 +48,14 @@
|
|
|
44
48
|
|
|
45
49
|
.progress {
|
|
46
50
|
composes: tag;
|
|
47
|
-
background-color: color(
|
|
48
|
-
color:
|
|
51
|
+
background-color: color(cm_yellow_100 a(25%));
|
|
52
|
+
color: cm_yellow_300;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
.success {
|
|
52
56
|
composes: tag;
|
|
53
|
-
background-color: color(cm_positive_100 a(
|
|
54
|
-
color:
|
|
57
|
+
background-color: color(cm_positive_100 a(20%));
|
|
58
|
+
color: cm_positive_300;
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
.failure {
|
|
@@ -62,8 +66,8 @@
|
|
|
62
66
|
|
|
63
67
|
.warning {
|
|
64
68
|
composes: tag;
|
|
65
|
-
background-color: color(cm_orange_700 a(
|
|
66
|
-
color:
|
|
69
|
+
background-color: color(cm_orange_700 a(18%));
|
|
70
|
+
color: cm_orange_800;
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
.info {
|
package/es/atom/title/index.d.ts
CHANGED
|
@@ -18,6 +18,43 @@ declare namespace Title {
|
|
|
18
18
|
}>;
|
|
19
19
|
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
20
20
|
}>>;
|
|
21
|
+
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
22
|
+
type: PropTypes.Requireable<string>;
|
|
23
|
+
usage: PropTypes.Requireable<string>;
|
|
24
|
+
label: PropTypes.Requireable<string>;
|
|
25
|
+
content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
26
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
27
|
+
tooltipText: PropTypes.Requireable<string>;
|
|
28
|
+
tooltipPlacement: PropTypes.Requireable<string>;
|
|
29
|
+
'data-name': PropTypes.Requireable<string>;
|
|
30
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
31
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
32
|
+
position: PropTypes.Validator<string>;
|
|
33
|
+
type: PropTypes.Requireable<string>;
|
|
34
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
35
|
+
name: PropTypes.Validator<string>;
|
|
36
|
+
color: PropTypes.Requireable<string>;
|
|
37
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
38
|
+
size: PropTypes.Requireable<number>;
|
|
39
|
+
customStyle: PropTypes.Requireable<{
|
|
40
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
}>>;
|
|
43
|
+
}>>;
|
|
44
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
|
+
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
46
|
+
href: PropTypes.Requireable<string>;
|
|
47
|
+
download: PropTypes.Requireable<boolean>;
|
|
48
|
+
target: PropTypes.Requireable<string>;
|
|
49
|
+
}>>;
|
|
50
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
51
|
+
hoverColor: PropTypes.Requireable<string>;
|
|
52
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
53
|
+
className: PropTypes.Requireable<string>;
|
|
54
|
+
customStyle: PropTypes.Requireable<{
|
|
55
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
56
|
+
}>;
|
|
57
|
+
}>>;
|
|
21
58
|
};
|
|
22
59
|
}
|
|
23
60
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/title/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/title/index.js"],"names":[],"mappings":";AA8CA,gDAgCC"}
|
package/es/atom/title/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import _isEmpty from "lodash/fp/isEmpty";
|
|
1
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import Icon from '../icon';
|
|
5
6
|
import Tag from '../tag';
|
|
7
|
+
import ButtonLink from '../button-link';
|
|
6
8
|
import style from './style.css';
|
|
7
9
|
const getTitleStyle = (type, size) => {
|
|
8
10
|
switch (type) {
|
|
@@ -49,7 +51,8 @@ const Title = props => {
|
|
|
49
51
|
titleSize = 'standard',
|
|
50
52
|
subtitleSize = 'standard',
|
|
51
53
|
icon,
|
|
52
|
-
tag
|
|
54
|
+
tag,
|
|
55
|
+
button
|
|
53
56
|
} = props;
|
|
54
57
|
const titleStyle = getTitleStyle(type, titleSize);
|
|
55
58
|
const subtitleStyle = getSubtitleStyle(type, subtitleSize);
|
|
@@ -60,10 +63,12 @@ const Title = props => {
|
|
|
60
63
|
className: style.container
|
|
61
64
|
}, icon ? /*#__PURE__*/React.createElement(Icon, _extends({}, icon, {
|
|
62
65
|
className: style.icon
|
|
63
|
-
})) : null, /*#__PURE__*/React.createElement("div",
|
|
66
|
+
})) : null, /*#__PURE__*/React.createElement("div", {
|
|
67
|
+
className: style.titleContainer
|
|
68
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
64
69
|
className: titleStyle,
|
|
65
70
|
"data-name": dataName
|
|
66
|
-
}, title, tag ? /*#__PURE__*/React.createElement(Tag, tag) : null), subtitleSection));
|
|
71
|
+
}, title, tag ? /*#__PURE__*/React.createElement(Tag, tag) : null), subtitleSection), !_isEmpty(button) ? /*#__PURE__*/React.createElement(ButtonLink, button) : null));
|
|
67
72
|
};
|
|
68
73
|
Title.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
69
74
|
title: PropTypes.string,
|
|
@@ -73,7 +78,8 @@ Title.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
73
78
|
titleSize: PropTypes.oneOf(['standard', 'standard-light-weight', 'medium', 'small']),
|
|
74
79
|
subtitleSize: PropTypes.oneOf(['standard', 'standard-without-margin', 'small', 'small-without-margin', 'extra-small']),
|
|
75
80
|
icon: PropTypes.shape(Icon.propTypes),
|
|
76
|
-
tag: PropTypes.shape(Tag.propTypes)
|
|
81
|
+
tag: PropTypes.shape(Tag.propTypes),
|
|
82
|
+
button: PropTypes.shape(ButtonLink.propTypes)
|
|
77
83
|
} : {};
|
|
78
84
|
export default Title;
|
|
79
85
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","Icon","Tag","style","getTitleStyle","type","size","titlePage","titleFormGroupLightWeight","titleFormGroup","mediumTitleFormGroup","smallTitleFormGroup","getSubtitleStyle","subtitlePage","subtitleFormGroup","subtitleFormGroupWithoutMargin","smallSubtitleFormGroup","smallSubtitleFormGroupWithoutMargin","extraSmallSubtitleFormGroup","Title","props","title","subtitle","dataName","titleSize","subtitleSize","icon","tag","titleStyle","subtitleStyle","subtitleSection","createElement","className","container","_extends","propTypes","process","env","NODE_ENV","string","oneOf","shape"],"sources":["../../../src/atom/title/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Icon from '../icon';\nimport Tag from '../tag';\nimport style from './style.css';\n\nconst getTitleStyle = (type, size) => {\n switch (type) {\n case 'page':\n return style.titlePage;\n case 'form-group':\n switch (size) {\n case 'standard-light-weight':\n return style.titleFormGroupLightWeight;\n case 'standard':\n return style.titleFormGroup;\n case 'medium':\n return style.mediumTitleFormGroup;\n case 'small':\n return style.smallTitleFormGroup;\n }\n }\n};\n\nconst getSubtitleStyle = (type, size) => {\n switch (type) {\n case 'page':\n return style.subtitlePage;\n case 'form-group':\n switch (size) {\n case 'standard':\n return style.subtitleFormGroup;\n case 'standard-without-margin':\n return style.subtitleFormGroupWithoutMargin;\n case 'small':\n return style.smallSubtitleFormGroup;\n case 'small-without-margin':\n return style.smallSubtitleFormGroupWithoutMargin;\n case 'extra-small':\n return style.extraSmallSubtitleFormGroup;\n }\n }\n};\n\nconst Title = props => {\n const {\n title,\n subtitle,\n type,\n 'data-name': dataName,\n titleSize = 'standard',\n subtitleSize = 'standard',\n icon,\n tag\n } = props;\n const titleStyle = getTitleStyle(type, titleSize);\n const subtitleStyle = getSubtitleStyle(type, subtitleSize);\n\n const subtitleSection = subtitle ? <div className={subtitleStyle}>{subtitle}</div> : null;\n\n return (\n <div className={style.container}>\n {icon ? <Icon {...icon} className={style.icon} /> : null}\n <div>\n <div className={titleStyle} data-name={dataName}>\n
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","Icon","Tag","ButtonLink","style","getTitleStyle","type","size","titlePage","titleFormGroupLightWeight","titleFormGroup","mediumTitleFormGroup","smallTitleFormGroup","getSubtitleStyle","subtitlePage","subtitleFormGroup","subtitleFormGroupWithoutMargin","smallSubtitleFormGroup","smallSubtitleFormGroupWithoutMargin","extraSmallSubtitleFormGroup","Title","props","title","subtitle","dataName","titleSize","subtitleSize","icon","tag","button","titleStyle","subtitleStyle","subtitleSection","createElement","className","container","_extends","titleContainer","_isEmpty","propTypes","process","env","NODE_ENV","string","oneOf","shape"],"sources":["../../../src/atom/title/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty} from 'lodash/fp';\nimport Icon from '../icon';\nimport Tag from '../tag';\nimport ButtonLink from '../button-link';\nimport style from './style.css';\n\nconst getTitleStyle = (type, size) => {\n switch (type) {\n case 'page':\n return style.titlePage;\n case 'form-group':\n switch (size) {\n case 'standard-light-weight':\n return style.titleFormGroupLightWeight;\n case 'standard':\n return style.titleFormGroup;\n case 'medium':\n return style.mediumTitleFormGroup;\n case 'small':\n return style.smallTitleFormGroup;\n }\n }\n};\n\nconst getSubtitleStyle = (type, size) => {\n switch (type) {\n case 'page':\n return style.subtitlePage;\n case 'form-group':\n switch (size) {\n case 'standard':\n return style.subtitleFormGroup;\n case 'standard-without-margin':\n return style.subtitleFormGroupWithoutMargin;\n case 'small':\n return style.smallSubtitleFormGroup;\n case 'small-without-margin':\n return style.smallSubtitleFormGroupWithoutMargin;\n case 'extra-small':\n return style.extraSmallSubtitleFormGroup;\n }\n }\n};\n\nconst Title = props => {\n const {\n title,\n subtitle,\n type,\n 'data-name': dataName,\n titleSize = 'standard',\n subtitleSize = 'standard',\n icon,\n tag,\n button\n } = props;\n const titleStyle = getTitleStyle(type, titleSize);\n const subtitleStyle = getSubtitleStyle(type, subtitleSize);\n\n const subtitleSection = subtitle ? <div className={subtitleStyle}>{subtitle}</div> : null;\n\n return (\n <div className={style.container}>\n {icon ? <Icon {...icon} className={style.icon} /> : null}\n <div className={style.titleContainer}>\n <div>\n <div className={titleStyle} data-name={dataName}>\n {title}\n {tag ? <Tag {...tag} /> : null}\n </div>\n {subtitleSection}\n </div>\n {!isEmpty(button) ? <ButtonLink {...button} /> : null}\n </div>\n </div>\n );\n};\n\nTitle.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string,\n type: PropTypes.oneOf(['page', 'form-group']),\n 'data-name': PropTypes.string,\n titleSize: PropTypes.oneOf(['standard', 'standard-light-weight', 'medium', 'small']),\n subtitleSize: PropTypes.oneOf([\n 'standard',\n 'standard-without-margin',\n 'small',\n 'small-without-margin',\n 'extra-small'\n ]),\n icon: PropTypes.shape(Icon.propTypes),\n tag: PropTypes.shape(Tag.propTypes),\n button: PropTypes.shape(ButtonLink.propTypes)\n};\nexport default Title;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,OAAOC,IAAI,MAAM,SAAS;AAC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AO,CAAC,CAAC;EACpFlB,YAAY,EAAE1B,SAAS,CAAC4C,KAAK,CAAC,CAC5B,UAAU,EACV,yBAAyB,EACzB,OAAO,EACP,sBAAsB,EACtB,aAAa,CACd,CAAC;EACFjB,IAAI,EAAE3B,SAAS,CAAC6C,KAAK,CAAC5C,IAAI,CAACsC,SAAS,CAAC;EACrCX,GAAG,EAAE5B,SAAS,CAAC6C,KAAK,CAAC3C,GAAG,CAACqC,SAAS,CAAC;EACnCV,MAAM,EAAE7B,SAAS,CAAC6C,KAAK,CAAC1C,UAAU,CAACoC,SAAS;AAC9C,CAAC;AACD,eAAenB,KAAK","ignoreList":[]}
|
package/es/atom/title/style.css
CHANGED
|
@@ -14,6 +14,14 @@
|
|
|
14
14
|
color: cm_grey_700;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
.titleContainer {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 8px;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
17
25
|
.titlePage {
|
|
18
26
|
composes: title;
|
|
19
27
|
font-size: 32px;
|
|
@@ -30,7 +38,7 @@
|
|
|
30
38
|
|
|
31
39
|
.titleFormGroupLightWeight {
|
|
32
40
|
composes: titleFormGroup;
|
|
33
|
-
font-weight:
|
|
41
|
+
font-weight: normal;
|
|
34
42
|
}
|
|
35
43
|
|
|
36
44
|
.mediumTitleFormGroup {
|
|
@@ -12,6 +12,23 @@ declare const BulletPointMenuButton: {
|
|
|
12
12
|
label: import("prop-types").Validator<string>;
|
|
13
13
|
onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
14
14
|
type: import("prop-types").Requireable<string>;
|
|
15
|
+
buttonLinkType: import("prop-types").Requireable<string>;
|
|
16
|
+
icon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
17
|
+
position: import("prop-types").Validator<string>;
|
|
18
|
+
type: import("prop-types").Requireable<string>;
|
|
19
|
+
faIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
20
|
+
name: import("prop-types").Validator<string>;
|
|
21
|
+
color: import("prop-types").Requireable<string>;
|
|
22
|
+
backgroundColor: import("prop-types").Requireable<string>;
|
|
23
|
+
size: import("prop-types").Requireable<number>;
|
|
24
|
+
customStyle: import("prop-types").Requireable<{
|
|
25
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
}>>;
|
|
28
|
+
}>>;
|
|
29
|
+
customStyle: import("prop-types").Requireable<{
|
|
30
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
31
|
+
}>;
|
|
15
32
|
}> | null | undefined)[]>;
|
|
16
33
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
17
34
|
menuButtonClassName: import("prop-types").Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,0BAA0B,EAAC,MAAM,SAAS,CAAC;AAG9D,QAAA,MAAM,qBAAqB;YAAW,0BAA0B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,0BAA0B,EAAC,MAAM,SAAS,CAAC;AAG9D,QAAA,MAAM,qBAAqB;YAAW,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2D/D,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
|
|
@@ -13,38 +13,40 @@
|
|
|
13
13
|
.bulletPointWrapper > button {
|
|
14
14
|
position: relative;
|
|
15
15
|
cursor: pointer;
|
|
16
|
-
|
|
16
|
+
}
|
|
17
17
|
|
|
18
18
|
.bulletPointMenu {
|
|
19
|
-
min-width: 80px;
|
|
20
|
-
/* positioning */
|
|
21
19
|
position: absolute;
|
|
22
|
-
|
|
23
|
-
bottom: 54px;
|
|
20
|
+
top: 48px;
|
|
24
21
|
right: 0px;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-self: flex-end;
|
|
25
|
+
padding: 12px;
|
|
26
|
+
min-width: 80px;
|
|
27
|
+
max-height: 135px;
|
|
28
|
+
overflow-y: scroll;
|
|
29
|
+
background: #ffffff;
|
|
30
|
+
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.07);
|
|
31
|
+
border-radius: 12px;
|
|
30
32
|
overflow: hidden;
|
|
31
|
-
background-color:
|
|
33
|
+
transition: visibility 0.5s ease, opacity 0.5s ease; background-color: #ffffff;
|
|
32
34
|
visibility: hidden;
|
|
33
|
-
opacity:0;
|
|
34
|
-
|
|
35
|
+
opacity: 0;
|
|
36
|
+
z-index: 99;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
.visible {
|
|
38
40
|
/* fade in combo */
|
|
39
41
|
max-height: max-content;
|
|
40
42
|
visibility: visible;
|
|
41
|
-
opacity:1;
|
|
43
|
+
opacity: 1;
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
/*
|
|
45
47
|
bulk theme
|
|
46
48
|
*/
|
|
47
|
-
.bulkBulletPointMenu{
|
|
49
|
+
.bulkBulletPointMenu {
|
|
48
50
|
min-width: 80px;
|
|
49
51
|
/* positioning */
|
|
50
52
|
position: absolute;
|
|
@@ -52,7 +54,9 @@
|
|
|
52
54
|
bottom: 54px;
|
|
53
55
|
right: 0px;
|
|
54
56
|
/* elevation shadow */
|
|
55
|
-
box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
|
|
57
|
+
box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
|
|
58
|
+
rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
|
|
59
|
+
rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
|
|
56
60
|
z-index: 1;
|
|
57
61
|
/* round corners */
|
|
58
62
|
border-radius: 7px;
|
|
@@ -10,6 +10,23 @@ declare const propTypes: {
|
|
|
10
10
|
label: PropTypes.Validator<string>;
|
|
11
11
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
12
|
type: PropTypes.Requireable<string>;
|
|
13
|
+
buttonLinkType: PropTypes.Requireable<string>;
|
|
14
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
15
|
+
position: PropTypes.Validator<string>;
|
|
16
|
+
type: PropTypes.Requireable<string>;
|
|
17
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
+
name: PropTypes.Validator<string>;
|
|
19
|
+
color: PropTypes.Requireable<string>;
|
|
20
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
21
|
+
size: PropTypes.Requireable<number>;
|
|
22
|
+
customStyle: PropTypes.Requireable<{
|
|
23
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
}>>;
|
|
26
|
+
}>>;
|
|
27
|
+
customStyle: PropTypes.Requireable<{
|
|
28
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
29
|
+
}>;
|
|
13
30
|
}> | null | undefined)[]>;
|
|
14
31
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
32
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,0BAA0B,GAAG;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,iCAAiC,GAAG;IAAC,KAAK,EAAE,0BAA0B,CAAA;CAAC,CAAC"}
|
|
@@ -24,6 +24,43 @@ declare const propTypes: {
|
|
|
24
24
|
}>;
|
|
25
25
|
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
26
26
|
}>>;
|
|
27
|
+
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
28
|
+
type: PropTypes.Requireable<string>;
|
|
29
|
+
usage: PropTypes.Requireable<string>;
|
|
30
|
+
label: PropTypes.Requireable<string>;
|
|
31
|
+
content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
32
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
33
|
+
tooltipText: PropTypes.Requireable<string>;
|
|
34
|
+
tooltipPlacement: PropTypes.Requireable<string>;
|
|
35
|
+
'data-name': PropTypes.Requireable<string>;
|
|
36
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
37
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
+
position: PropTypes.Validator<string>;
|
|
39
|
+
type: PropTypes.Requireable<string>;
|
|
40
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
41
|
+
name: PropTypes.Validator<string>;
|
|
42
|
+
color: PropTypes.Requireable<string>;
|
|
43
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
44
|
+
size: PropTypes.Requireable<number>;
|
|
45
|
+
customStyle: PropTypes.Requireable<{
|
|
46
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
}>>;
|
|
49
|
+
}>>;
|
|
50
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
51
|
+
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
52
|
+
href: PropTypes.Requireable<string>;
|
|
53
|
+
download: PropTypes.Requireable<boolean>;
|
|
54
|
+
target: PropTypes.Requireable<string>;
|
|
55
|
+
}>>;
|
|
56
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
57
|
+
hoverColor: PropTypes.Requireable<string>;
|
|
58
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
59
|
+
className: PropTypes.Requireable<string>;
|
|
60
|
+
customStyle: PropTypes.Requireable<{
|
|
61
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
}>>;
|
|
27
64
|
}>>;
|
|
28
65
|
headerIcon: PropTypes.Requireable<string>;
|
|
29
66
|
backgroundImage: PropTypes.Requireable<string>;
|
|
@@ -34,7 +71,9 @@ declare const propTypes: {
|
|
|
34
71
|
'aria-label': PropTypes.Requireable<string>;
|
|
35
72
|
largeButton: PropTypes.Requireable<boolean>;
|
|
36
73
|
type: PropTypes.Requireable<string>;
|
|
37
|
-
customStyle: PropTypes.Requireable<
|
|
74
|
+
customStyle: PropTypes.Requireable<{
|
|
75
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
76
|
+
}>;
|
|
38
77
|
}>>;
|
|
39
78
|
secondButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
40
79
|
label: PropTypes.Requireable<string>;
|
|
@@ -42,7 +81,9 @@ declare const propTypes: {
|
|
|
42
81
|
type: PropTypes.Requireable<string>;
|
|
43
82
|
'aria-label': PropTypes.Requireable<string>;
|
|
44
83
|
largeButton: PropTypes.Requireable<boolean>;
|
|
45
|
-
customStyle: PropTypes.Requireable<
|
|
84
|
+
customStyle: PropTypes.Requireable<{
|
|
85
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
86
|
+
}>;
|
|
46
87
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
47
88
|
position: PropTypes.Requireable<string>;
|
|
48
89
|
type: PropTypes.Requireable<string>;
|
|
@@ -54,7 +95,9 @@ declare const propTypes: {
|
|
|
54
95
|
type: PropTypes.Requireable<string>;
|
|
55
96
|
'aria-label': PropTypes.Requireable<string>;
|
|
56
97
|
largeButton: PropTypes.Requireable<boolean>;
|
|
57
|
-
customStyle: PropTypes.Requireable<
|
|
98
|
+
customStyle: PropTypes.Requireable<{
|
|
99
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
100
|
+
}>;
|
|
58
101
|
}>>;
|
|
59
102
|
onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
60
103
|
icon: PropTypes.Requireable<string>;
|
|
@@ -101,8 +144,17 @@ declare const propTypes: {
|
|
|
101
144
|
'data-name': PropTypes.Requireable<string>;
|
|
102
145
|
'data-testid': PropTypes.Requireable<string>;
|
|
103
146
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
104
|
-
position: PropTypes.
|
|
147
|
+
position: PropTypes.Validator<string>;
|
|
105
148
|
type: PropTypes.Requireable<string>;
|
|
149
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
150
|
+
name: PropTypes.Validator<string>;
|
|
151
|
+
color: PropTypes.Requireable<string>;
|
|
152
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
153
|
+
size: PropTypes.Requireable<number>;
|
|
154
|
+
customStyle: PropTypes.Requireable<{
|
|
155
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
156
|
+
}>;
|
|
157
|
+
}>>;
|
|
106
158
|
}>>;
|
|
107
159
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
108
160
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -114,7 +166,9 @@ declare const propTypes: {
|
|
|
114
166
|
hoverColor: PropTypes.Requireable<string>;
|
|
115
167
|
disabled: PropTypes.Requireable<boolean>;
|
|
116
168
|
className: PropTypes.Requireable<string>;
|
|
117
|
-
customStyle: PropTypes.Requireable<
|
|
169
|
+
customStyle: PropTypes.Requireable<{
|
|
170
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
171
|
+
}>;
|
|
118
172
|
}>>;
|
|
119
173
|
selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
|
|
120
174
|
title: PropTypes.Requireable<string>;
|
|
@@ -138,7 +192,10 @@ declare const propTypes: {
|
|
|
138
192
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
139
193
|
title: PropTypes.Validator<string>;
|
|
140
194
|
subtitle: PropTypes.Requireable<string>;
|
|
141
|
-
provider: PropTypes.Requireable<
|
|
195
|
+
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
196
|
+
label: PropTypes.Requireable<string>;
|
|
197
|
+
type: PropTypes.Requireable<string>;
|
|
198
|
+
}>>;
|
|
142
199
|
selected: PropTypes.Requireable<boolean>;
|
|
143
200
|
selectedColor: PropTypes.Requireable<string>;
|
|
144
201
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -232,6 +289,23 @@ declare const propTypes: {
|
|
|
232
289
|
label: PropTypes.Validator<string>;
|
|
233
290
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
234
291
|
type: PropTypes.Requireable<string>;
|
|
292
|
+
buttonLinkType: PropTypes.Requireable<string>;
|
|
293
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
294
|
+
position: PropTypes.Validator<string>;
|
|
295
|
+
type: PropTypes.Requireable<string>;
|
|
296
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
297
|
+
name: PropTypes.Validator<string>;
|
|
298
|
+
color: PropTypes.Requireable<string>;
|
|
299
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
300
|
+
size: PropTypes.Requireable<number>;
|
|
301
|
+
customStyle: PropTypes.Requireable<{
|
|
302
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
303
|
+
}>;
|
|
304
|
+
}>>;
|
|
305
|
+
}>>;
|
|
306
|
+
customStyle: PropTypes.Requireable<{
|
|
307
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
308
|
+
}>;
|
|
235
309
|
}> | null | undefined)[]>;
|
|
236
310
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
237
311
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -254,8 +328,17 @@ declare const propTypes: {
|
|
|
254
328
|
'data-name': PropTypes.Requireable<string>;
|
|
255
329
|
'data-testid': PropTypes.Requireable<string>;
|
|
256
330
|
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
257
|
-
position: PropTypes.
|
|
331
|
+
position: PropTypes.Validator<string>;
|
|
258
332
|
type: PropTypes.Requireable<string>;
|
|
333
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
334
|
+
name: PropTypes.Validator<string>;
|
|
335
|
+
color: PropTypes.Requireable<string>;
|
|
336
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
337
|
+
size: PropTypes.Requireable<number>;
|
|
338
|
+
customStyle: PropTypes.Requireable<{
|
|
339
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
340
|
+
}>;
|
|
341
|
+
}>>;
|
|
259
342
|
}>>;
|
|
260
343
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
261
344
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -267,7 +350,9 @@ declare const propTypes: {
|
|
|
267
350
|
hoverColor: PropTypes.Requireable<string>;
|
|
268
351
|
disabled: PropTypes.Requireable<boolean>;
|
|
269
352
|
className: PropTypes.Requireable<string>;
|
|
270
|
-
customStyle: PropTypes.Requireable<
|
|
353
|
+
customStyle: PropTypes.Requireable<{
|
|
354
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
355
|
+
}>;
|
|
271
356
|
}> | PropTypes.InferProps<{
|
|
272
357
|
componentType: PropTypes.Requireable<string>;
|
|
273
358
|
disabled: PropTypes.Requireable<boolean>;
|
|
@@ -279,6 +364,23 @@ declare const propTypes: {
|
|
|
279
364
|
label: PropTypes.Validator<string>;
|
|
280
365
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
281
366
|
type: PropTypes.Requireable<string>;
|
|
367
|
+
buttonLinkType: PropTypes.Requireable<string>;
|
|
368
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
369
|
+
position: PropTypes.Validator<string>;
|
|
370
|
+
type: PropTypes.Requireable<string>;
|
|
371
|
+
faIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
372
|
+
name: PropTypes.Validator<string>;
|
|
373
|
+
color: PropTypes.Requireable<string>;
|
|
374
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
375
|
+
size: PropTypes.Requireable<number>;
|
|
376
|
+
customStyle: PropTypes.Requireable<{
|
|
377
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
378
|
+
}>;
|
|
379
|
+
}>>;
|
|
380
|
+
}>>;
|
|
381
|
+
customStyle: PropTypes.Requireable<{
|
|
382
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
383
|
+
}>;
|
|
282
384
|
}> | null | undefined)[]>;
|
|
283
385
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
284
386
|
menuButtonClassName: PropTypes.Requireable<string>;
|
|
@@ -290,6 +392,16 @@ declare const propTypes: {
|
|
|
290
392
|
}> | null | undefined>>;
|
|
291
393
|
title: PropTypes.Requireable<string>;
|
|
292
394
|
isFetching: PropTypes.Requireable<boolean>;
|
|
395
|
+
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
396
|
+
value: PropTypes.Requireable<string>;
|
|
397
|
+
placeholder: PropTypes.Validator<string>;
|
|
398
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
399
|
+
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
400
|
+
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
401
|
+
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
402
|
+
theme: PropTypes.Requireable<string>;
|
|
403
|
+
dataTestId: PropTypes.Requireable<string>;
|
|
404
|
+
}>>;
|
|
293
405
|
}> | null | undefined>>;
|
|
294
406
|
}>>;
|
|
295
407
|
link: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC;IAC/B,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;QACzB,IAAI,EACA,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,GAChD,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;KACtD,CAAC;IACF,IAAI,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;CACpD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -62,7 +62,10 @@ declare namespace DraggableList {
|
|
|
62
62
|
}> | PropTypes.InferProps<{
|
|
63
63
|
title: PropTypes.Validator<string>;
|
|
64
64
|
subtitle: PropTypes.Requireable<string>;
|
|
65
|
-
provider: PropTypes.Requireable<
|
|
65
|
+
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
66
|
+
label: PropTypes.Requireable<string>;
|
|
67
|
+
type: PropTypes.Requireable<string>;
|
|
68
|
+
}>>;
|
|
66
69
|
selected: PropTypes.Requireable<boolean>;
|
|
67
70
|
selectedColor: PropTypes.Requireable<string>;
|
|
68
71
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|