trepur_components 0.2.2 → 0.2.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/dist/{Assets → assets}/Images/logoBlue.png +0 -0
- package/dist/{Assets → assets}/Images/logoBlueBorder.png +0 -0
- package/dist/{Assets → assets}/Images/logoCoco.png +0 -0
- package/dist/{Assets → assets}/Images/logoCocoBanner.png +0 -0
- package/dist/{Assets → assets}/Images/logoWhite.png +0 -0
- package/dist/{Assets → assets}/Images/logoWhiteBorder.png +0 -0
- package/dist/{Assets → assets}/Images/user.jpeg +0 -0
- package/dist/{Assets → assets}/Videos/example.mp4 +0 -0
- package/dist/{Assets → assets}/Videos/example.ogv +0 -0
- package/dist/components/Atoms/AlertBar/AlertBar.stories.js +79 -64
- package/dist/components/Atoms/Breadcrumbs/Breadcrumbs.stories.js +45 -37
- package/dist/components/Atoms/BreadcrumbsItem/BreadcrumbsItem.stories.js +98 -81
- package/dist/components/Atoms/Button/button.stories.js +74 -56
- package/dist/components/Atoms/Collapsible/Collapsible.stories.js +154 -141
- package/dist/components/Atoms/Column/Column.stories.js +42 -24
- package/dist/components/Atoms/Icon/Icon.stories.js +38 -20
- package/dist/components/Atoms/Image/Image.stories.js +40 -21
- package/dist/components/Atoms/InformationIcon/InformationIcon.stories.js +103 -90
- package/dist/components/Atoms/Input/Input.stories.js +55 -42
- package/dist/components/Atoms/NavItem/NavItem.stories.js +108 -93
- package/dist/components/Atoms/Row/Row.stories.js +33 -18
- package/dist/components/Atoms/StarRating/StarRating.stories.js +41 -22
- package/dist/components/Atoms/TextAndTitle/TextAndTitle.stories.js +62 -49
- package/dist/components/Atoms/Tubestops/Tubestops.stories.js +51 -43
- package/dist/components/Atoms/Video/Video.stories.js +50 -29
- package/dist/components/Organisms/Accordion/Accordion.stories.js +97 -93
- package/dist/components/Organisms/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +95 -92
- package/dist/components/Organisms/Card/Card.stories.js +135 -128
- package/dist/components/Organisms/CardWithTopImage/CardWithTopImage.stories.js +57 -48
- package/dist/components/Organisms/Carousel/Carousel.stories.js +123 -104
- package/dist/components/Organisms/Chevron Card/ChevronCard.stories.js +27 -17
- package/dist/components/Organisms/Form/Form.stories.js +118 -112
- package/dist/components/Organisms/FyreCard/FyreCard.stories.js +115 -106
- package/dist/components/Organisms/ImageLink/ImageLink.stories.js +72 -49
- package/dist/components/Organisms/ImageLinkList/ImageLinkList.stories.js +43 -30
- package/dist/components/Organisms/Jumbotron/Jumbotron.stories.js +50 -37
- package/dist/components/Organisms/Nav/Nav.stories.js +107 -97
- package/dist/components/Organisms/NewsCard/NewsCard.stories.js +65 -52
- package/dist/components/Organisms/Profile/Profile.stories.js +86 -77
- package/dist/components/Organisms/Search/Search.stories.js +54 -41
- package/dist/components/Organisms/Testimonial/Testimonial.stories.js +111 -98
- package/dist/components/Organisms/Timeline/Timeline.stories.js +70 -66
- package/dist/components/Organisms/UserIcon/UserIcon.stories.js +51 -37
- package/dist/index.css +4 -0
- package/package.json +4 -2
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,69 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
import AlertBar from './index';
|
|
1
|
+
"use strict";
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
control: 'text',
|
|
34
|
-
table: {
|
|
35
|
-
category: ''
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
leftIconColor: {
|
|
39
|
-
description: '',
|
|
40
|
-
control: 'color',
|
|
41
|
-
table: {
|
|
42
|
-
category: 'Colors'
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
rightIcon: {
|
|
46
|
-
description: '',
|
|
47
|
-
control: 'text',
|
|
48
|
-
table: {
|
|
49
|
-
category: ''
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
rightIconColor: {
|
|
53
|
-
description: '',
|
|
54
|
-
control: 'color',
|
|
55
|
-
table: {
|
|
56
|
-
category: 'Colors'
|
|
57
|
-
}
|
|
58
|
-
},
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._AlertBar = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
var _default = {
|
|
15
|
+
title: 'Trepur Components/Atoms/AlertBar',
|
|
16
|
+
component: _index.default,
|
|
17
|
+
parameters: {},
|
|
18
|
+
argTypes: {
|
|
19
|
+
text: {
|
|
20
|
+
description: 'The text the appears as an overlay on the Jumbotron',
|
|
21
|
+
control: 'text',
|
|
22
|
+
table: {
|
|
23
|
+
category: ''
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
textColor: {
|
|
27
|
+
description: '',
|
|
28
|
+
control: 'color',
|
|
29
|
+
table: {
|
|
30
|
+
category: 'Colors'
|
|
31
|
+
}
|
|
59
32
|
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
33
|
+
type: {
|
|
34
|
+
description: 'Select',
|
|
35
|
+
options: ['success', 'warning', 'error'],
|
|
36
|
+
control: {
|
|
37
|
+
type: 'select'
|
|
38
|
+
},
|
|
39
|
+
table: {
|
|
40
|
+
category: ''
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
leftIcon: {
|
|
44
|
+
description: '',
|
|
45
|
+
control: 'text',
|
|
46
|
+
table: {
|
|
47
|
+
category: ''
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
leftIconColor: {
|
|
51
|
+
description: '',
|
|
52
|
+
control: 'color',
|
|
53
|
+
table: {
|
|
54
|
+
category: 'Colors'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
rightIcon: {
|
|
58
|
+
description: '',
|
|
59
|
+
control: 'text',
|
|
60
|
+
table: {
|
|
61
|
+
category: ''
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
rightIconColor: {
|
|
65
|
+
description: '',
|
|
66
|
+
control: 'color',
|
|
67
|
+
table: {
|
|
68
|
+
category: 'Colors'
|
|
69
|
+
}
|
|
63
70
|
}
|
|
64
|
-
}
|
|
71
|
+
},
|
|
72
|
+
args: {
|
|
73
|
+
text: 'this is a message',
|
|
74
|
+
type: 'success'
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
exports.default = _default;
|
|
78
|
+
|
|
79
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
65
80
|
|
|
66
|
-
const
|
|
81
|
+
const _AlertBar = Template.bind({});
|
|
67
82
|
|
|
68
|
-
|
|
69
|
-
_AlertBar.args = {};
|
|
83
|
+
exports._AlertBar = _AlertBar;
|
|
84
|
+
_AlertBar.args = {};
|
|
@@ -1,41 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
name: 'link 2'
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
link: '/',
|
|
28
|
-
name: 'link 3'
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
link: '/',
|
|
32
|
-
name: 'link 4'
|
|
33
|
-
}
|
|
34
|
-
]
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._Breadcrumbs = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
var _default = {
|
|
15
|
+
title: 'Trepur Components/Atoms/Breadcrumbs',
|
|
16
|
+
components: _index.default,
|
|
17
|
+
argTypes: {
|
|
18
|
+
links: {
|
|
19
|
+
description: '',
|
|
20
|
+
control: 'array',
|
|
21
|
+
table: {
|
|
22
|
+
category: ''
|
|
23
|
+
}
|
|
35
24
|
}
|
|
36
|
-
}
|
|
25
|
+
},
|
|
26
|
+
args: {
|
|
27
|
+
links: [{
|
|
28
|
+
link: '/',
|
|
29
|
+
name: 'link 1'
|
|
30
|
+
}, {
|
|
31
|
+
link: '/',
|
|
32
|
+
name: 'link 2'
|
|
33
|
+
}, {
|
|
34
|
+
link: '/',
|
|
35
|
+
name: 'link 3'
|
|
36
|
+
}, {
|
|
37
|
+
link: '/',
|
|
38
|
+
name: 'link 4'
|
|
39
|
+
}]
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.default = _default;
|
|
43
|
+
|
|
44
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
37
45
|
|
|
38
|
-
const
|
|
46
|
+
const _Breadcrumbs = Template.bind({});
|
|
39
47
|
|
|
40
|
-
|
|
48
|
+
exports._Breadcrumbs = _Breadcrumbs;
|
|
41
49
|
_Breadcrumbs.args = {};
|
|
@@ -1,86 +1,103 @@
|
|
|
1
|
-
|
|
2
|
-
import Column from '../Column';
|
|
3
|
-
import BreadcrumbsItem from './index'
|
|
4
|
-
import './index.css';
|
|
1
|
+
"use strict";
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
borderColor: {
|
|
40
|
-
description: '',
|
|
41
|
-
control: 'color',
|
|
42
|
-
table: {
|
|
43
|
-
category: 'Colors'
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
hoverBgColor: {
|
|
47
|
-
description: '',
|
|
48
|
-
control: 'color',
|
|
49
|
-
table: {
|
|
50
|
-
category: 'Colors',
|
|
51
|
-
subcategory: 'Hover'
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
hoverTextColor: {
|
|
55
|
-
description: '',
|
|
56
|
-
control: 'color',
|
|
57
|
-
table: {
|
|
58
|
-
category: 'Colors',
|
|
59
|
-
subcategory: 'Hover'
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
hoverBorderColor: {
|
|
63
|
-
description: '',
|
|
64
|
-
control: 'color',
|
|
65
|
-
table: {
|
|
66
|
-
category: 'Colors',
|
|
67
|
-
subcategory: 'Hover'
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
type: {
|
|
71
|
-
description: '',
|
|
72
|
-
control: 'text',
|
|
73
|
-
table: {
|
|
74
|
-
category: '',
|
|
75
|
-
}
|
|
76
|
-
},
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._BreadcrumbsItem = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _Column = _interopRequireDefault(require("../Column"));
|
|
11
|
+
|
|
12
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
13
|
+
|
|
14
|
+
require("./index.css");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
var _default = {
|
|
19
|
+
title: 'Trepur Components/Atoms/Breadcrumbs Item',
|
|
20
|
+
components: _index.default,
|
|
21
|
+
parameters: {},
|
|
22
|
+
argTypes: {
|
|
23
|
+
link: {
|
|
24
|
+
description: '',
|
|
25
|
+
control: 'text',
|
|
26
|
+
table: {
|
|
27
|
+
category: ''
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
name: {
|
|
31
|
+
description: '',
|
|
32
|
+
control: 'text',
|
|
33
|
+
table: {
|
|
34
|
+
category: ''
|
|
35
|
+
}
|
|
77
36
|
},
|
|
78
|
-
|
|
79
|
-
|
|
37
|
+
textColor: {
|
|
38
|
+
description: '',
|
|
39
|
+
control: 'color',
|
|
40
|
+
table: {
|
|
41
|
+
category: 'Colors'
|
|
42
|
+
}
|
|
80
43
|
},
|
|
81
|
-
|
|
44
|
+
bgColor: {
|
|
45
|
+
description: '',
|
|
46
|
+
control: 'color',
|
|
47
|
+
table: {
|
|
48
|
+
category: 'Colors'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
borderColor: {
|
|
52
|
+
description: '',
|
|
53
|
+
control: 'color',
|
|
54
|
+
table: {
|
|
55
|
+
category: 'Colors'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
hoverBgColor: {
|
|
59
|
+
description: '',
|
|
60
|
+
control: 'color',
|
|
61
|
+
table: {
|
|
62
|
+
category: 'Colors',
|
|
63
|
+
subcategory: 'Hover'
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
hoverTextColor: {
|
|
67
|
+
description: '',
|
|
68
|
+
control: 'color',
|
|
69
|
+
table: {
|
|
70
|
+
category: 'Colors',
|
|
71
|
+
subcategory: 'Hover'
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
hoverBorderColor: {
|
|
75
|
+
description: '',
|
|
76
|
+
control: 'color',
|
|
77
|
+
table: {
|
|
78
|
+
category: 'Colors',
|
|
79
|
+
subcategory: 'Hover'
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
type: {
|
|
83
|
+
description: '',
|
|
84
|
+
control: 'text',
|
|
85
|
+
table: {
|
|
86
|
+
category: ''
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
args: {
|
|
91
|
+
name: 'Link 1'
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
exports.default = _default;
|
|
95
|
+
|
|
96
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_Column.default, {
|
|
97
|
+
sm: 1
|
|
98
|
+
}, /*#__PURE__*/_react.default.createElement(_index.default, args));
|
|
82
99
|
|
|
83
|
-
const
|
|
100
|
+
const _BreadcrumbsItem = Template.bind({});
|
|
84
101
|
|
|
85
|
-
|
|
86
|
-
_BreadcrumbsItem.args = {};
|
|
102
|
+
exports._BreadcrumbsItem = _BreadcrumbsItem;
|
|
103
|
+
_BreadcrumbsItem.args = {};
|
|
@@ -1,68 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
import Button from './index'
|
|
3
|
-
import { action } from '@storybook/addon-actions'
|
|
4
|
-
import './Styles.css'
|
|
5
|
-
import { buttonOptions } from '../../../utils/controls'
|
|
1
|
+
"use strict";
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.SocialButtonWhatsapp = exports.SocialButtonTwitter = exports.SocialButtonFacebook = exports.HoverButton = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
11
|
+
|
|
12
|
+
var _addonActions = require("@storybook/addon-actions");
|
|
13
|
+
|
|
14
|
+
require("./Styles.css");
|
|
15
|
+
|
|
16
|
+
var _controls = require("../../../utils/controls");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
|
|
20
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21
|
+
|
|
22
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
23
|
+
|
|
24
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
+
|
|
26
|
+
var _default = {
|
|
27
|
+
title: 'Trepur Components/Atoms/Button',
|
|
28
|
+
component: _index.default,
|
|
29
|
+
parameters: {
|
|
30
|
+
docs: {
|
|
31
|
+
description: {
|
|
32
|
+
component: 'A Button which can either be internal, external or social as well as a standard design or a slide design.'
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
argTypes: _objectSpread({}, _controls.buttonOptions),
|
|
37
|
+
args: {}
|
|
22
38
|
};
|
|
39
|
+
exports.default = _default;
|
|
23
40
|
|
|
24
|
-
const Template =
|
|
41
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
25
42
|
|
|
26
|
-
|
|
43
|
+
const HoverButton = Template.bind({});
|
|
44
|
+
exports.HoverButton = HoverButton;
|
|
27
45
|
HoverButton.args = {
|
|
28
|
-
|
|
46
|
+
ctaText: 'This is a button'
|
|
29
47
|
};
|
|
30
|
-
|
|
31
|
-
|
|
48
|
+
const SocialButtonFacebook = Template.bind({});
|
|
49
|
+
exports.SocialButtonFacebook = SocialButtonFacebook;
|
|
32
50
|
SocialButtonFacebook.args = {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
onClick: (0, _addonActions.action)('button-click'),
|
|
52
|
+
buttonCenterIcon: 'facebook-f',
|
|
53
|
+
hoverButtonBgColor: 'white',
|
|
54
|
+
buttonBgColor: '#3b5999',
|
|
55
|
+
buttonTextColor: 'white',
|
|
56
|
+
hoverButtonTextColor: '#3b5999',
|
|
57
|
+
hoverButtonBorderColor: '#3b5999',
|
|
58
|
+
buttonType: 'social',
|
|
59
|
+
url: '/'
|
|
42
60
|
};
|
|
43
|
-
|
|
44
|
-
|
|
61
|
+
const SocialButtonWhatsapp = Template.bind({});
|
|
62
|
+
exports.SocialButtonWhatsapp = SocialButtonWhatsapp;
|
|
45
63
|
SocialButtonWhatsapp.args = {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
64
|
+
onClick: (0, _addonActions.action)('button-click'),
|
|
65
|
+
buttonCenterIcon: 'whatsapp',
|
|
66
|
+
hoverButtonBgColor: 'white',
|
|
67
|
+
buttonBgColor: '#25d366',
|
|
68
|
+
buttonTextColor: 'white',
|
|
69
|
+
hoverButtonTextColor: '#25d366',
|
|
70
|
+
hoverButtonBorderColor: '#25d366',
|
|
71
|
+
buttonType: 'social',
|
|
72
|
+
url: '/'
|
|
55
73
|
};
|
|
56
|
-
|
|
57
|
-
|
|
74
|
+
const SocialButtonTwitter = Template.bind({});
|
|
75
|
+
exports.SocialButtonTwitter = SocialButtonTwitter;
|
|
58
76
|
SocialButtonTwitter.args = {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
77
|
+
onClick: (0, _addonActions.action)('button-click'),
|
|
78
|
+
buttonCenterIcon: 'twitter',
|
|
79
|
+
hoverButtonBgColor: 'white',
|
|
80
|
+
buttonBgColor: '#55acee',
|
|
81
|
+
buttonTextColor: 'white',
|
|
82
|
+
hoverButtonTextColor: '#55acee',
|
|
83
|
+
hoverButtonBorderColor: '#55acee',
|
|
84
|
+
buttonType: 'social',
|
|
85
|
+
url: '/'
|
|
68
86
|
};
|