@coorpacademy/components 11.20.4 → 11.20.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/molecule/cm-popin/style.css +1 -1
- package/es/molecule/cm-popin/types.d.ts +9 -12
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +9 -12
- package/es/molecule/expandible-actionable-table/style.css +2 -2
- package/es/molecule/quick-access-card/style.css +1 -1
- package/es/organism/list-item/index.d.ts +11 -14
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +11 -15
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +7 -8
- package/es/organism/list-items/index.d.ts +9 -12
- package/es/organism/list-items/index.d.ts.map +1 -1
- package/es/organism/list-items/index.js +10 -1
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/list-items/style.css +4 -8
- package/es/template/app-player/loading/index.d.ts +9 -12
- package/es/template/app-player/player/index.d.ts +18 -24
- package/es/template/app-player/player/slides/index.d.ts +9 -12
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +9 -12
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +9 -12
- package/es/template/app-review/index.d.ts +9 -12
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +9 -12
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +9 -12
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +18 -24
- package/es/template/common/dashboard/index.d.ts +18 -24
- package/es/template/common/search-page/index.d.ts +9 -12
- package/es/template/external-course/index.d.ts +9 -12
- package/lib/molecule/cm-popin/style.css +1 -1
- package/lib/molecule/cm-popin/types.d.ts +9 -12
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +9 -12
- package/lib/molecule/expandible-actionable-table/style.css +2 -2
- package/lib/molecule/quick-access-card/style.css +1 -1
- package/lib/organism/list-item/index.d.ts +11 -14
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +11 -16
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +7 -8
- package/lib/organism/list-items/index.d.ts +9 -12
- package/lib/organism/list-items/index.d.ts.map +1 -1
- package/lib/organism/list-items/index.js +10 -1
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/list-items/style.css +4 -8
- package/lib/template/app-player/loading/index.d.ts +9 -12
- package/lib/template/app-player/player/index.d.ts +18 -24
- package/lib/template/app-player/player/slides/index.d.ts +9 -12
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +9 -12
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +9 -12
- package/lib/template/app-review/index.d.ts +9 -12
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +9 -12
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +9 -12
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +18 -24
- package/lib/template/common/dashboard/index.d.ts +18 -24
- package/lib/template/common/search-page/index.d.ts +9 -12
- package/lib/template/external-course/index.d.ts +9 -12
- package/package.json +2 -2
|
@@ -129,19 +129,16 @@ declare const propTypes: {
|
|
|
129
129
|
}>>;
|
|
130
130
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
131
131
|
}>>;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
download: PropTypes.Requireable<boolean>;
|
|
141
|
-
target: PropTypes.Requireable<string>;
|
|
132
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
133
|
+
type: PropTypes.Requireable<string>;
|
|
134
|
+
label: PropTypes.Requireable<string>;
|
|
135
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
136
|
+
dataName: PropTypes.Requireable<string>;
|
|
137
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
138
|
+
position: PropTypes.Requireable<string>;
|
|
139
|
+
type: PropTypes.Requireable<string>;
|
|
142
140
|
}>>;
|
|
143
|
-
|
|
144
|
-
className: PropTypes.Requireable<string>;
|
|
141
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
145
142
|
}>>;
|
|
146
143
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
147
144
|
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -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;AAInC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAElD,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;AAInC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAElD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ableList {
|
|
|
77
77
|
}>>;
|
|
78
78
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
79
79
|
}>>;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
download: PropTypes.Requireable<boolean>;
|
|
89
|
-
target: PropTypes.Requireable<string>;
|
|
80
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
81
|
+
type: PropTypes.Requireable<string>;
|
|
82
|
+
label: PropTypes.Requireable<string>;
|
|
83
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
84
|
+
dataName: PropTypes.Requireable<string>;
|
|
85
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
86
|
+
position: PropTypes.Requireable<string>;
|
|
87
|
+
type: PropTypes.Requireable<string>;
|
|
90
88
|
}>>;
|
|
91
|
-
|
|
92
|
-
className: PropTypes.Requireable<string>;
|
|
89
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
93
90
|
}>>;
|
|
94
91
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
95
92
|
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
.columnFirst .columFirstWrapper,
|
|
89
89
|
.columnFirstSticky .columFirstWrapper {
|
|
90
90
|
display: flex;
|
|
91
|
-
justify-content: start;
|
|
91
|
+
justify-content: flex-start;
|
|
92
92
|
gap: 16px;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
color: cm_grey_700;
|
|
115
115
|
border-top: 1px solid light;
|
|
116
116
|
display: flex;
|
|
117
|
-
justify-content: end;
|
|
117
|
+
justify-content: flex-end;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.columnLastSticky {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default ListItem;
|
|
2
|
-
declare function ListItem({ buttonLink,
|
|
2
|
+
declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, dataColumns, order, "aria-label": ariaLabel, contentType, isBulkStyle }: {
|
|
3
3
|
buttonLink: any;
|
|
4
|
-
|
|
4
|
+
secondButtonLink: any;
|
|
5
5
|
bulletPointMenuButton: any;
|
|
6
6
|
tags: any;
|
|
7
7
|
title: any;
|
|
@@ -30,19 +30,16 @@ declare namespace ListItem {
|
|
|
30
30
|
}>>;
|
|
31
31
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
32
|
}>>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
download: PropTypes.Requireable<boolean>;
|
|
42
|
-
target: PropTypes.Requireable<string>;
|
|
33
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
|
+
type: PropTypes.Requireable<string>;
|
|
35
|
+
label: PropTypes.Requireable<string>;
|
|
36
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
37
|
+
dataName: PropTypes.Requireable<string>;
|
|
38
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
39
|
+
position: PropTypes.Requireable<string>;
|
|
40
|
+
type: PropTypes.Requireable<string>;
|
|
43
41
|
}>>;
|
|
44
|
-
|
|
45
|
-
className: PropTypes.Requireable<string>;
|
|
42
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
46
43
|
}>>;
|
|
47
44
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
48
45
|
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAUA;;;;;;;;;;;gBA0DC"}
|
|
@@ -5,14 +5,13 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import classnames from 'classnames';
|
|
6
6
|
import Tag from '../../atom/tag';
|
|
7
7
|
import ButtonLink from '../../atom/button-link';
|
|
8
|
-
import ButtonLinkIconOnly from '../../atom/button-link-icon-only';
|
|
9
8
|
import BulletPointMenuButton from '../../molecule/bullet-point-menu-button'; // eslint-disable-next-line css-modules/no-unused-class
|
|
10
9
|
|
|
11
10
|
import style from './style.css';
|
|
12
11
|
|
|
13
12
|
const ListItem = ({
|
|
14
13
|
buttonLink,
|
|
15
|
-
|
|
14
|
+
secondButtonLink,
|
|
16
15
|
bulletPointMenuButton,
|
|
17
16
|
tags,
|
|
18
17
|
title,
|
|
@@ -56,7 +55,7 @@ const ListItem = ({
|
|
|
56
55
|
title: title
|
|
57
56
|
}, title), dataColumnsView), /*#__PURE__*/React.createElement("div", {
|
|
58
57
|
className: style.settings
|
|
59
|
-
}, tagsView, buttonLink ? /*#__PURE__*/React.createElement(ButtonLink, buttonLink) : null,
|
|
58
|
+
}, tagsView, buttonLink ? /*#__PURE__*/React.createElement(ButtonLink, buttonLink) : null, secondButtonLink ? /*#__PURE__*/React.createElement(ButtonLink, secondButtonLink) : null, !_isEmpty(bulletPointMenuButton) ? /*#__PURE__*/React.createElement(BulletPointMenuButton, bulletPointMenuButton) : null));
|
|
60
59
|
};
|
|
61
60
|
|
|
62
61
|
ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
@@ -77,19 +76,16 @@ ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
77
76
|
}),
|
|
78
77
|
onClick: PropTypes.func
|
|
79
78
|
}),
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
download: PropTypes.bool,
|
|
89
|
-
target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top'])
|
|
79
|
+
secondButtonLink: PropTypes.shape({
|
|
80
|
+
type: PropTypes.string,
|
|
81
|
+
label: PropTypes.string,
|
|
82
|
+
ariaLabel: PropTypes.string,
|
|
83
|
+
dataName: PropTypes.string,
|
|
84
|
+
icon: PropTypes.shape({
|
|
85
|
+
position: PropTypes.string,
|
|
86
|
+
type: PropTypes.string
|
|
90
87
|
}),
|
|
91
|
-
|
|
92
|
-
className: PropTypes.string
|
|
88
|
+
onClick: PropTypes.func
|
|
93
89
|
}),
|
|
94
90
|
bulletPointMenuButton: PropTypes.shape({
|
|
95
91
|
buttonAriaLabel: PropTypes.string,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","classnames","Tag","ButtonLink","
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","classnames","Tag","ButtonLink","BulletPointMenuButton","style","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","dataColumns","order","ariaLabel","contentType","isBulkStyle","isPublished","tagsView","convert","cap","tag","index","type","dataColumnsView","dataColumn","className","label","orderView","undefined","wrapper","gridLayout","dataColumnsWrapper","settings","propTypes","string","isRequired","arrayOf","shape","oneOf","dataName","icon","position","onClick","func","buttonAriaLabel","menuAriaLabel","buttons","bool","number","id"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map} from 'lodash/fp';\nimport classnames from 'classnames';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\n// eslint-disable-next-line css-modules/no-unused-class\nimport style from './style.css';\n\nconst ListItem = ({\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n contentType,\n isBulkStyle = false\n}) => {\n let isPublished = false;\n\n const tagsView = map.convert({cap: false})((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = map.convert({cap: false})((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n return (\n <div className={classnames(style.wrapper, isBulkStyle && style.gridLayout)}>\n <div className={style.dataColumnsWrapper}>\n {isPublished && contentType === 'certification' ? orderView : null}\n <div className={style.title} title={title}>\n {title}\n </div>\n {dataColumnsView}\n </div>\n\n <div className={style.settings}>\n {tagsView}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton {...bulletPointMenuButton} />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n isBulkStyle: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string\n};\n\nexport default ListItem;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,yCAAlC,C,CACA;;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAG,CAAC;EAChBC,UADgB;EAEhBC,gBAFgB;EAGhBC,qBAHgB;EAIhBC,IAJgB;EAKhBC,KALgB;EAMhBC,WANgB;EAOhBC,KAPgB;EAQhB,cAAcC,SARE;EAShBC,WATgB;EAUhBC,WAAW,GAAG;AAVE,CAAD,KAWX;EACJ,IAAIC,WAAW,GAAG,KAAlB;;EAEA,MAAMC,QAAQ,GAAG,KAAIC,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EAA0B,CAACC,GAAD,EAAMC,KAAN,KAAgB;IACzDL,WAAW,GAAGI,GAAG,CAACE,IAAJ,KAAa,SAA3B;IACA,oBACE;MAAK,GAAG,EAAED,KAAV;MAAiB,SAAS,EAAEjB,KAAK,CAACgB;IAAlC,gBACE,oBAAC,GAAD,EAASA,GAAT,CADF,CADF;EAKD,CAPgB,EAOdX,IAPc,CAAjB;;EASA,MAAMc,eAAe,GAAG,KAAIL,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EAA0B,CAACK,UAAD,EAAaH,KAAb,KAAuB;I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C,MAFY;IAGrCY,OAAO,EAAE/C,SAAS,CAACqC,OAAV,CACPrC,SAAS,CAACsC,KAAV,CAAgB;MACd,aAAatC,SAAS,CAACmC,MADT;MAEdR,KAAK,EAAE3B,SAAS,CAACmC,MAFH;MAGdZ,IAAI,EAAEvB,SAAS,CAACmC,MAHF;MAIdQ,OAAO,EAAE3C,SAAS,CAAC4C;IAJL,CAAhB,CADO,CAH4B;IAWrCD,OAAO,EAAE3C,SAAS,CAAC4C;EAXkB,CAAhB,CA/BJ;EA4CnBlC,IAAI,EAAEV,SAAS,CAACqC,OAAV,CACJrC,SAAS,CAACsC,KAAV,CAAgB;IACdX,KAAK,EAAE3B,SAAS,CAACmC,MADH;IAEdZ,IAAI,EAAEvB,SAAS,CAACuC,KAAV,CAAgB,CAAC,SAAD,EAAY,SAAZ,EAAuB,SAAvB,EAAkC,UAAlC,EAA8C,SAA9C,CAAhB;EAFQ,CAAhB,CADI,CA5Ca;EAkDnBvB,WAAW,EAAEhB,SAAS,CAACgD,IAlDJ;EAmDnBnC,KAAK,EAAEb,SAAS,CAACiD,MAnDE;EAoDnB,cAAcjD,SAAS,CAACmC,MApDL;EAqDnBpB,WAAW,EAAEf,SAAS,CAACmC,MArDJ;EAsDnBe,EAAE,EAAElD,SAAS,CAACmC;AAtDK,CAArB;AAyDA,eAAe7B,QAAf"}
|
|
@@ -17,22 +17,19 @@
|
|
|
17
17
|
justify-content: space-between;
|
|
18
18
|
padding: 0 24px;
|
|
19
19
|
width: 100%;
|
|
20
|
-
gap: 24px;
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
.gridLayout {
|
|
24
23
|
display: grid;
|
|
25
|
-
grid-template-columns:
|
|
24
|
+
grid-template-columns: 60% auto;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
.title {
|
|
29
28
|
color: cm_grey_900;
|
|
30
|
-
flex-grow: 0;
|
|
31
29
|
display: flex;
|
|
32
30
|
height: 56px;
|
|
33
31
|
align-items: center;
|
|
34
|
-
|
|
35
|
-
flex: 1 0 0;
|
|
32
|
+
flex: 2 0 0;
|
|
36
33
|
font-family: Gilroy;
|
|
37
34
|
font-size: 16px;
|
|
38
35
|
font-stretch: normal;
|
|
@@ -51,6 +48,8 @@
|
|
|
51
48
|
display: flex;
|
|
52
49
|
height: 100%;
|
|
53
50
|
gap: 16px;
|
|
51
|
+
text-overflow: ellipsis;
|
|
52
|
+
white-space: nowrap;
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
.tag {
|
|
@@ -62,7 +61,6 @@
|
|
|
62
61
|
display: flex;
|
|
63
62
|
height: 56px;
|
|
64
63
|
align-items: center;
|
|
65
|
-
gap: 16px;
|
|
66
64
|
flex: 1 0 0;
|
|
67
65
|
color: cm_grey_500;
|
|
68
66
|
font-family: Gilroy;
|
|
@@ -86,7 +84,8 @@
|
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
.dataColumnsWrapper {
|
|
89
|
-
align-items: center;
|
|
90
87
|
display: flex;
|
|
91
|
-
|
|
88
|
+
width: 100%;
|
|
89
|
+
align-items: center;
|
|
90
|
+
align-content: space-between;
|
|
92
91
|
}
|
|
@@ -66,19 +66,16 @@ declare namespace ListItems {
|
|
|
66
66
|
}>>;
|
|
67
67
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
68
68
|
}>>;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
download: PropTypes.Requireable<boolean>;
|
|
78
|
-
target: PropTypes.Requireable<string>;
|
|
69
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
70
|
+
type: PropTypes.Requireable<string>;
|
|
71
|
+
label: PropTypes.Requireable<string>;
|
|
72
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
73
|
+
dataName: PropTypes.Requireable<string>;
|
|
74
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
75
|
+
position: PropTypes.Requireable<string>;
|
|
76
|
+
type: PropTypes.Requireable<string>;
|
|
79
77
|
}>>;
|
|
80
|
-
|
|
81
|
-
className: PropTypes.Requireable<string>;
|
|
78
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
82
79
|
}>>;
|
|
83
80
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
84
81
|
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-items/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-items/index.js"],"names":[],"mappings":";AA0EA;;;;;;gBAsBC"}
|
|
@@ -41,7 +41,16 @@ const buildListItemsView = (content, ariaLabel, selectMultiple) => {
|
|
|
41
41
|
}, tableHeader.map((tableHeaderItem, index) => /*#__PURE__*/React.createElement("div", {
|
|
42
42
|
key: `tableHeadeColumn-key-${index}`,
|
|
43
43
|
className: style.tableHeaderItem,
|
|
44
|
-
"data-name": `tableHeader-${index}
|
|
44
|
+
"data-name": `tableHeader-${index}`,
|
|
45
|
+
style: index === 0 ? {
|
|
46
|
+
flexGrow: 2,
|
|
47
|
+
flexShrink: 0,
|
|
48
|
+
flexBasis: 0
|
|
49
|
+
} : {
|
|
50
|
+
flexGrow: 1,
|
|
51
|
+
flexShrink: 0,
|
|
52
|
+
flexBasis: 0
|
|
53
|
+
}
|
|
45
54
|
}, tableHeaderItem))), /*#__PURE__*/React.createElement("div", {
|
|
46
55
|
className: style.settings
|
|
47
56
|
}, '')) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","isNil","isEmpty","ListItem","DraggableList","Title","ButtonLink","SelectMultiple","ExpandibleActionableTable","style","buildListItemsView","content","ariaLabel","selectMultiple","items","itemType","onDrop","isDraggable","tableHeader","itemsView","length","map","item","contentType","index","id","tableHeaderView","tableHeaderWrapper","dataColumnsWrapper","tableHeaderItem","settings","list","listWithSelectMultiple","buildContentView","type","ListItems","title","buttonLink","contentView","header","actionsWrapper","propTypes","string","shape","oneOfType","arrayOf","oneOf","func","bool"],"sources":["../../../src/organism/list-items/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport isNil from 'lodash/fp/isNil';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport ListItem from '../list-item';\nimport DraggableList from '../../molecule/draggable-list';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport ExpandibleActionableTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildListItemsView = (content, ariaLabel, selectMultiple) => {\n const {items, itemType, onDrop, isDraggable = false, tableHeader} = content;\n const itemsView =\n isDraggable && items.length > 1 ? (\n <DraggableList\n items={items.map(item => ({...item, contentType: itemType}))}\n itemType=\"list-item\"\n onDrop={onDrop}\n />\n ) : (\n items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} order={null} contentType={itemType} />\n </li>\n ))\n );\n const tableHeaderView =\n !isNil(tableHeader) && !isEmpty(tableHeader) ? (\n <div className={style.tableHeaderWrapper}>\n <div className={style.dataColumnsWrapper}>\n {tableHeader.map((tableHeaderItem, index) => (\n <div\n key={`tableHeadeColumn-key-${index}`}\n className={style.tableHeaderItem}\n data-name={`tableHeader-${index}`}\n >\n {tableHeaderItem}\n </div>\n ))}\n </div>\n <div className={style.settings}>{''}</div>\n </div>\n ) : null;\n return (\n <div>\n {tableHeaderView}\n <ul\n className={!selectMultiple ? style.list : style.listWithSelectMultiple}\n aria-label={ariaLabel}\n data-name={'content-list'}\n >\n {itemsView}\n </ul>\n </div>\n );\n};\n\nconst buildContentView = (content, ariaLabel, selectMultiple) => {\n const {type} = content;\n switch (type) {\n case 'list':\n return buildListItemsView(content, ariaLabel, selectMultiple);\n case 'expandible-actionable-table':\n return <ExpandibleActionableTable {...content} />;\n }\n};\n\nconst ListItems = ({title, buttonLink, selectMultiple, content, 'aria-label': ariaLabel}) => {\n const contentView = buildContentView(content, ariaLabel, selectMultiple);\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.actionsWrapper}>\n {selectMultiple ? (\n <div className={style.selectMultiple}>\n <SelectMultiple {...selectMultiple} />\n </div>\n ) : null}\n\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n {contentView}\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n selectMultiple: PropTypes.shape(SelectMultiple.propTypes),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n type: PropTypes.oneOf(['list']),\n itemType: PropTypes.string,\n onDrop: PropTypes.func,\n isDraggable: PropTypes.bool,\n tableHeader: PropTypes.arrayOf(PropTypes.string)\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n type: PropTypes.oneOf(['expandible-actionable-table'])\n })\n ]),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,OAAP,MAAoB,mBAApB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,aAAP,MAA0B,+BAA1B;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,cAAP,MAA2B,gCAA3B;AACA,OAAOC,yBAAP,MAAsC,4CAAtC;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,kBAAkB,GAAG,CAACC,OAAD,EAAUC,SAAV,EAAqBC,cAArB,KAAwC;EACjE,MAAM;IAACC,KAAD;IAAQC,QAAR;IAAkBC,MAAlB;IAA0BC,WAAW,GAAG,KAAxC;IAA+CC;EAA/C,IAA8DP,OAApE;EACA,MAAMQ,SAAS,GACbF,WAAW,IAAIH,KAAK,CAACM,MAAN,GAAe,CAA9B,gBACE,oBAAC,aAAD;IACE,KAAK,EAAEN,KAAK,CAACO,GAAN,CAAUC,IAAI,iBAASA,IAAT;MAAeC,WAAW,EAAER;IAA5B,EAAd,CADT;IAEE,QAAQ,EAAC,WAFX;IAGE,MAAM,EAAEC;EAHV,EADF,GAOEF,KAAK,CAACO,GAAN,CAAU,CAACC,IAAD,EAAOE,KAAP,kBACR;IAAI,GAAG,EAAEF,IAAI,CAACG,EAAd;IAAkB,SAAS,EAAEhB,KAAK,CAACa,IAAnC;IAAyC,aAAY,WAAUE,KAAM;EAArE,gBACE,oBAAC,QAAD,eAAcF,IAAd;IAAoB,KAAK,EAAE,IAA3B;IAAiC,WAAW,EAAEP;EAA9C,GADF,CADF,CARJ;EAcA,MAAMW,eAAe,GACnB,CAACzB,KAAK,CAACiB,WAAD,CAAN,IAAuB,CAAChB,OAAO,CAACgB,WAAD,CAA/B,gBACE;IAAK,SAAS,EAAET,KAAK,CAACkB;EAAtB,gBACE;IAAK,SAAS,EAAElB,KAAK,CAACmB;EAAtB,GACGV,WAAW,CAACG,GAAZ,CAAgB,CAACQ,eAAD,EAAkBL,KAAlB,kBACf;IACE,GAAG,EAAG,wBAAuBA,KAAM,EADrC;IAEE,SAAS,EAAEf,KAAK,CAACoB,eAFnB;IAGE,aAAY,eAAcL,KAAM;
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","isNil","isEmpty","ListItem","DraggableList","Title","ButtonLink","SelectMultiple","ExpandibleActionableTable","style","buildListItemsView","content","ariaLabel","selectMultiple","items","itemType","onDrop","isDraggable","tableHeader","itemsView","length","map","item","contentType","index","id","tableHeaderView","tableHeaderWrapper","dataColumnsWrapper","tableHeaderItem","flexGrow","flexShrink","flexBasis","settings","list","listWithSelectMultiple","buildContentView","type","ListItems","title","buttonLink","contentView","header","actionsWrapper","propTypes","string","shape","oneOfType","arrayOf","oneOf","func","bool"],"sources":["../../../src/organism/list-items/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport isNil from 'lodash/fp/isNil';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport ListItem from '../list-item';\nimport DraggableList from '../../molecule/draggable-list';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport ExpandibleActionableTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildListItemsView = (content, ariaLabel, selectMultiple) => {\n const {items, itemType, onDrop, isDraggable = false, tableHeader} = content;\n const itemsView =\n isDraggable && items.length > 1 ? (\n <DraggableList\n items={items.map(item => ({...item, contentType: itemType}))}\n itemType=\"list-item\"\n onDrop={onDrop}\n />\n ) : (\n items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} order={null} contentType={itemType} />\n </li>\n ))\n );\n const tableHeaderView =\n !isNil(tableHeader) && !isEmpty(tableHeader) ? (\n <div className={style.tableHeaderWrapper}>\n <div className={style.dataColumnsWrapper}>\n {tableHeader.map((tableHeaderItem, index) => (\n <div\n key={`tableHeadeColumn-key-${index}`}\n className={style.tableHeaderItem}\n data-name={`tableHeader-${index}`}\n style={\n index === 0\n ? {flexGrow: 2, flexShrink: 0, flexBasis: 0}\n : {flexGrow: 1, flexShrink: 0, flexBasis: 0}\n }\n >\n {tableHeaderItem}\n </div>\n ))}\n </div>\n <div className={style.settings}>{''}</div>\n </div>\n ) : null;\n return (\n <div>\n {tableHeaderView}\n <ul\n className={!selectMultiple ? style.list : style.listWithSelectMultiple}\n aria-label={ariaLabel}\n data-name={'content-list'}\n >\n {itemsView}\n </ul>\n </div>\n );\n};\n\nconst buildContentView = (content, ariaLabel, selectMultiple) => {\n const {type} = content;\n switch (type) {\n case 'list':\n return buildListItemsView(content, ariaLabel, selectMultiple);\n case 'expandible-actionable-table':\n return <ExpandibleActionableTable {...content} />;\n }\n};\n\nconst ListItems = ({title, buttonLink, selectMultiple, content, 'aria-label': ariaLabel}) => {\n const contentView = buildContentView(content, ariaLabel, selectMultiple);\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.actionsWrapper}>\n {selectMultiple ? (\n <div className={style.selectMultiple}>\n <SelectMultiple {...selectMultiple} />\n </div>\n ) : null}\n\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n {contentView}\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n selectMultiple: PropTypes.shape(SelectMultiple.propTypes),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n type: PropTypes.oneOf(['list']),\n itemType: PropTypes.string,\n onDrop: PropTypes.func,\n isDraggable: PropTypes.bool,\n tableHeader: PropTypes.arrayOf(PropTypes.string)\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n type: PropTypes.oneOf(['expandible-actionable-table'])\n })\n ]),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,OAAP,MAAoB,mBAApB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,aAAP,MAA0B,+BAA1B;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,cAAP,MAA2B,gCAA3B;AACA,OAAOC,yBAAP,MAAsC,4CAAtC;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA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align-items: center;
|
|
61
|
-
gap: 24px;
|
|
62
60
|
border-radius: 7px;
|
|
63
|
-
padding: 8px
|
|
61
|
+
padding: 8px 24px;
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
|
|
67
65
|
.tableHeaderItem {
|
|
68
66
|
display: flex;
|
|
69
|
-
gap: 16px;
|
|
70
67
|
flex: 1 0 0;
|
|
71
68
|
overflow: hidden;
|
|
72
69
|
align-items: flex-start;
|
|
73
|
-
gap: 8px;
|
|
74
70
|
flex-shrink: 0;
|
|
75
71
|
color: var(--font-font-color-tertiary, #9999A8);
|
|
76
72
|
text-overflow: ellipsis;
|
|
@@ -85,11 +81,11 @@
|
|
|
85
81
|
align-items: center;
|
|
86
82
|
display: flex;
|
|
87
83
|
width: 100%;
|
|
88
|
-
|
|
84
|
+
align-content: space-between;
|
|
89
85
|
}
|
|
90
86
|
|
|
91
87
|
.settings {
|
|
92
88
|
align-items: center;
|
|
93
89
|
display: flex;
|
|
94
90
|
height: 100%;
|
|
95
|
-
}
|
|
91
|
+
}
|
|
@@ -131,19 +131,16 @@ declare namespace PlayerLoading {
|
|
|
131
131
|
}>>;
|
|
132
132
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
133
133
|
}>>;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
download: PropTypes.Requireable<boolean>;
|
|
143
|
-
target: PropTypes.Requireable<string>;
|
|
134
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
135
|
+
type: PropTypes.Requireable<string>;
|
|
136
|
+
label: PropTypes.Requireable<string>;
|
|
137
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
138
|
+
dataName: PropTypes.Requireable<string>;
|
|
139
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
140
|
+
position: PropTypes.Requireable<string>;
|
|
141
|
+
type: PropTypes.Requireable<string>;
|
|
144
142
|
}>>;
|
|
145
|
-
|
|
146
|
-
className: PropTypes.Requireable<string>;
|
|
143
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
147
144
|
}>>;
|
|
148
145
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
149
146
|
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -182,19 +182,16 @@ declare namespace SlidePlayer {
|
|
|
182
182
|
}>>;
|
|
183
183
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
184
184
|
}>>;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
download: PropTypes.Requireable<boolean>;
|
|
194
|
-
target: PropTypes.Requireable<string>;
|
|
185
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
186
|
+
type: PropTypes.Requireable<string>;
|
|
187
|
+
label: PropTypes.Requireable<string>;
|
|
188
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
189
|
+
dataName: PropTypes.Requireable<string>;
|
|
190
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
191
|
+
position: PropTypes.Requireable<string>;
|
|
192
|
+
type: PropTypes.Requireable<string>;
|
|
195
193
|
}>>;
|
|
196
|
-
|
|
197
|
-
className: PropTypes.Requireable<string>;
|
|
194
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
198
195
|
}>>;
|
|
199
196
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
200
197
|
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -429,19 +426,16 @@ declare namespace SlidePlayer {
|
|
|
429
426
|
}>>;
|
|
430
427
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
431
428
|
}>>;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
download: PropTypes.Requireable<boolean>;
|
|
441
|
-
target: PropTypes.Requireable<string>;
|
|
429
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
430
|
+
type: PropTypes.Requireable<string>;
|
|
431
|
+
label: PropTypes.Requireable<string>;
|
|
432
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
433
|
+
dataName: PropTypes.Requireable<string>;
|
|
434
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
435
|
+
position: PropTypes.Requireable<string>;
|
|
436
|
+
type: PropTypes.Requireable<string>;
|
|
442
437
|
}>>;
|
|
443
|
-
|
|
444
|
-
className: PropTypes.Requireable<string>;
|
|
438
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
445
439
|
}>>;
|
|
446
440
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
447
441
|
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -188,19 +188,16 @@ declare namespace SlidesPlayer {
|
|
|
188
188
|
}>>;
|
|
189
189
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
190
190
|
}>>;
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
download: PropTypes.Requireable<boolean>;
|
|
200
|
-
target: PropTypes.Requireable<string>;
|
|
191
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
192
|
+
type: PropTypes.Requireable<string>;
|
|
193
|
+
label: PropTypes.Requireable<string>;
|
|
194
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
195
|
+
dataName: PropTypes.Requireable<string>;
|
|
196
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
197
|
+
position: PropTypes.Requireable<string>;
|
|
198
|
+
type: PropTypes.Requireable<string>;
|
|
201
199
|
}>>;
|
|
202
|
-
|
|
203
|
-
className: PropTypes.Requireable<string>;
|
|
200
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
204
201
|
}>>;
|
|
205
202
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
206
203
|
buttonAriaLabel: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -216,19 +216,16 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
216
216
|
}>>;
|
|
217
217
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
218
218
|
}>>;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
download: PropTypes.Requireable<boolean>;
|
|
228
|
-
target: PropTypes.Requireable<string>;
|
|
219
|
+
secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
|
|
220
|
+
type: PropTypes.Requireable<string>;
|
|
221
|
+
label: PropTypes.Requireable<string>;
|
|
222
|
+
ariaLabel: PropTypes.Requireable<string>;
|
|
223
|
+
dataName: PropTypes.Requireable<string>;
|
|
224
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
225
|
+
position: PropTypes.Requireable<string>;
|
|
226
|
+
type: PropTypes.Requireable<string>;
|
|
229
227
|
}>>;
|
|
230
|
-
|
|
231
|
-
className: PropTypes.Requireable<string>;
|
|
228
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
232
229
|
}>>;
|
|
233
230
|
bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
234
231
|
buttonAriaLabel: PropTypes.Requireable<string>;
|