@capillarytech/creatives-library 8.0.230 → 8.0.231
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/package.json +1 -1
- package/v2Components/CapPageSpinner/index.js +8 -4
- package/v2Components/CapPageSpinner/index.scss +14 -2
- package/v2Components/CmsTemplatesComponent/index.js +1 -1
- package/v2Components/Pagination/_pagination.scss +5 -1
- package/v2Containers/Email/index.js +1 -1
- package/v2Containers/Templates/_templates.scss +1 -1
package/package.json
CHANGED
|
@@ -9,10 +9,14 @@ export const CapPageSpinner = (props) => {
|
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
11
|
<CapRow className="cap-custom-page-spinner">
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
{props.spinning &&
|
|
13
|
+
<CapRow className="cap-custom-page-spinner-content">
|
|
14
|
+
<CapSpin spinning={props.spinning}>
|
|
15
|
+
{props.children}
|
|
16
|
+
</CapSpin>
|
|
17
|
+
{props.spinning && <CapLabel className="cap-custom-page-spinner-text">{props.intl.formatMessage(messages.text)}</CapLabel>}
|
|
18
|
+
</CapRow>
|
|
19
|
+
}
|
|
16
20
|
</CapRow>
|
|
17
21
|
);
|
|
18
22
|
};
|
|
@@ -5,10 +5,22 @@
|
|
|
5
5
|
flex-direction: row;
|
|
6
6
|
align-items: center;
|
|
7
7
|
justify-content: center;
|
|
8
|
-
width: 100%;
|
|
9
|
-
padding-top: 1.25rem;
|
|
10
8
|
text-align: center;
|
|
11
9
|
gap: 0.5rem;
|
|
10
|
+
background-color: white;
|
|
11
|
+
|
|
12
|
+
.cap-custom-page-spinner-content {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
gap: 0.5rem;
|
|
18
|
+
position: fixed;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
padding: 0.5rem;
|
|
21
|
+
border-radius: 0.5rem;
|
|
22
|
+
background-color: white;
|
|
23
|
+
}
|
|
12
24
|
|
|
13
25
|
.cap-custom-page-spinner-text {
|
|
14
26
|
color: $FONT_COLOR_02;
|
|
@@ -40,7 +40,7 @@ function CmsTemplatesComponent(props) {
|
|
|
40
40
|
}, []);
|
|
41
41
|
|
|
42
42
|
return (<CapSpin spinning={props.cmsTemplatesLoader}>
|
|
43
|
-
<div className="
|
|
43
|
+
<div className="pagination-container full-height">
|
|
44
44
|
<CapCustomCardList cardList={cardDataList} type="Email" />
|
|
45
45
|
</div>
|
|
46
46
|
</CapSpin>);
|
|
@@ -2616,7 +2616,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
2616
2616
|
}) : [];
|
|
2617
2617
|
return (<div>
|
|
2618
2618
|
<CapSpin spinning={isLoading} tip={loadingTip}>
|
|
2619
|
-
{!_.isEmpty(templates) && <div className="
|
|
2619
|
+
{!_.isEmpty(templates) && <div className="pagination-container full-height">
|
|
2620
2620
|
<CapCustomCardList key={`${currentChannel}-card-list`} cardList={cardDataList} type={'Email'} />
|
|
2621
2621
|
</div>}
|
|
2622
2622
|
</CapSpin>
|