@capillarytech/creatives-library 3.1.7 → 3.1.9

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.
Files changed (30) hide show
  1. package/package.json +2 -2
  2. package/translations/en.json +1 -1
  3. package/v2Components/CapTagList/index.js +1 -1
  4. package/v2Components/CapTagList/messages.js +1 -1
  5. package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/_wechatRichmediaTemplatePrev.scss +0 -1
  6. package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/index.js +1 -3
  7. package/v2Containers/Templates/index.js +7 -12
  8. package/v2Containers/WeChat/RichmediaTemplates/Create/_createRichmedia.scss +3 -0
  9. package/v2Containers/WeChat/RichmediaTemplates/Create/index.js +2 -4
  10. package/containers/Cap/messsages.js +0 -63
  11. package/v2Components/DateFilter/index.js +0 -349
  12. package/v2Components/DateFilter/messages.js +0 -17
  13. package/v2Components/DateFilter/tests/index.test.js +0 -15
  14. package/v2Components/DateRange/index.js +0 -113
  15. package/v2Components/DateRange/messages.js +0 -13
  16. package/v2Components/DateRange/tests/index.test.js +0 -10
  17. package/v2Components/Header/index.js +0 -46
  18. package/v2Components/Header/tests/index.test.js +0 -10
  19. package/v2Components/PageHeader/_pageHeader.scss +0 -22
  20. package/v2Components/PageHeader/index.js +0 -37
  21. package/v2Components/PageHeader/messages.js +0 -13
  22. package/v2Components/PageHeader/tests/index.test.js +0 -10
  23. package/v2Components/Sidebar/_sidebar.scss +0 -115
  24. package/v2Components/Sidebar/index.js +0 -208
  25. package/v2Components/Sidebar/messages.js +0 -21
  26. package/v2Components/Sidebar/tests/index.test.js +0 -10
  27. package/v2Components/SmsEditor/index.js +0 -55
  28. package/v2Components/SmsEditor/tests/index.test.js +0 -10
  29. package/v2Components/TopBar/_topbar.scss +0 -46
  30. package/v2Containers/TemplatesV2/_templatesV2.scss +0 -5
@@ -1,55 +0,0 @@
1
- /**
2
- *
3
- * SmsEditor
4
- *
5
- */
6
-
7
- import PropTypes from 'prop-types';
8
-
9
- import React from 'react';
10
- // import styled from 'styled-components';
11
- import {TextArea} from 'semantic-ui-react';
12
-
13
-
14
- class SmsEditor extends React.Component { // eslint-disable-line react/prefer-stateless-function
15
- constructor(props) {
16
- super(props);
17
- if (this.props.content) {
18
- this.state = {
19
- content: this.props.content,
20
- };
21
- } else {
22
- this.state = {
23
- content: '',
24
- };
25
- }
26
- this.onContentChange = this.onContentChange.bind(this);
27
- }
28
-
29
- onContentChange(e, data) {
30
- this.props.onDataChange(data);
31
- this.setState({
32
- content: data,
33
- });
34
- }
35
-
36
- render() {
37
- return (
38
- <div>
39
- <TextArea
40
- autoHeight
41
- style={{minHeight: 100}}
42
- value={this.props.content}
43
- onChange={(e, data) => { this.onContentChange(e, data); }}
44
- />
45
- </div>
46
- );
47
- }
48
- }
49
-
50
- SmsEditor.propTypes = {
51
- content: PropTypes.string,
52
- onDataChange: PropTypes.func,
53
- };
54
-
55
- export default SmsEditor;
@@ -1,10 +0,0 @@
1
- // import React from 'react';
2
- // import { shallow } from 'enzyme';
3
-
4
- // import SmsEditor from '../index';
5
-
6
- // describe('<SmsEditor />', () => {
7
- // it('Expect to have unit tests specified', () => {
8
- // expect(true).toEqual(false);
9
- // });
10
- // });
@@ -1,46 +0,0 @@
1
- .ui.navbar.menu {
2
- height: 40px !important;
3
- }
4
- .ui.menu.navbar .item>img.logo{
5
- height: 27px !important;
6
- padding-left: 0!important;
7
- margin: 0 auto;
8
- max-width: 200px;
9
- }
10
- .ui.menu.navbar .ui.selection.dropdown{
11
- height: 40px !important;
12
- }
13
-
14
- .ui.menu .ui.dropdown .menu>.selected.item {
15
- background: #151821;
16
- }
17
- .org-list-drp-dwn .menu > .item{
18
- height: 40px !important;
19
- }
20
- .ui.menu.navbar .ui.dropdown .menu>.item{
21
- height: 40px !important;
22
- }
23
-
24
- .ui.search.selection.dropdown>input.search{
25
- padding-left: 12px !important;
26
- padding-top: 8px !important;
27
- padding-bottom: 8px !important;
28
- }
29
-
30
- .ui.menu:not(.vertical) .right.item, .ui.menu:not(.vertical) .right.menu {
31
- padding-right: 4px;
32
- }
33
-
34
- .ui.menu .item {
35
- padding-left: 12px !important;
36
- padding-right: 12px !important;
37
- }
38
-
39
- .ui.secondary.vertical.menu>.item {
40
- margin-bottom: 0 !important;
41
- padding: 8px 16px !important;
42
- }
43
-
44
- .ui.menu.navbar .item.dropdownItem {
45
- padding: 0px !important;
46
- }
@@ -1,5 +0,0 @@
1
- .cap-tab-v2-wrapper{
2
- .ant-tabs-tabpane {
3
- border: none;
4
- }
5
- }