trepur_components 0.2.3 → 0.2.4
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 → lib/assets}/Images/logoBlue.png +0 -0
- package/dist/{Assets → lib/assets}/Images/logoBlueBorder.png +0 -0
- package/dist/{Assets → lib/assets}/Images/logoCoco.png +0 -0
- package/dist/{Assets → lib/assets}/Images/logoCocoBanner.png +0 -0
- package/dist/{Assets → lib/assets}/Images/logoWhite.png +0 -0
- package/dist/{Assets → lib/assets}/Images/logoWhiteBorder.png +0 -0
- package/dist/{Assets → lib/assets}/Images/user.jpeg +0 -0
- package/dist/{Assets → lib/assets}/Videos/example.mp4 +0 -0
- package/dist/{Assets → lib/assets}/Videos/example.ogv +0 -0
- package/dist/lib/components/Atoms/AlertBar/AlertBar.stories.js +84 -0
- package/dist/{components → lib/components}/Atoms/AlertBar/index.js +0 -0
- package/dist/lib/components/Atoms/Breadcrumbs/Breadcrumbs.stories.js +49 -0
- package/dist/{components → lib/components}/Atoms/Breadcrumbs/index.js +0 -0
- package/dist/lib/components/Atoms/BreadcrumbsItem/BreadcrumbsItem.stories.js +103 -0
- package/dist/{components → lib/components}/Atoms/BreadcrumbsItem/index.css +0 -0
- package/dist/{components → lib/components}/Atoms/BreadcrumbsItem/index.js +0 -0
- package/dist/{components → lib/components}/Atoms/Button/Styles.css +0 -0
- package/dist/lib/components/Atoms/Button/button.stories.js +86 -0
- package/dist/{components → lib/components}/Atoms/Button/index.js +0 -0
- package/dist/lib/components/Atoms/Collapsible/Collapsible.stories.js +157 -0
- package/dist/{components → lib/components}/Atoms/Collapsible/index.js +0 -0
- package/dist/lib/components/Atoms/Column/Column.stories.js +42 -0
- package/dist/{components → lib/components}/Atoms/Column/index.js +0 -0
- package/dist/lib/components/Atoms/Icon/Icon.stories.js +39 -0
- package/dist/{components → lib/components}/Atoms/Icon/index.js +0 -0
- package/dist/lib/components/Atoms/Image/Image.stories.js +40 -0
- package/dist/{components → lib/components}/Atoms/Image/index.js +0 -0
- package/dist/lib/components/Atoms/InformationIcon/InformationIcon.stories.js +108 -0
- package/dist/{components → lib/components}/Atoms/InformationIcon/index.js +0 -0
- package/dist/lib/components/Atoms/Input/Input.stories.js +60 -0
- package/dist/{components → lib/components}/Atoms/Input/index.js +0 -0
- package/dist/lib/components/Atoms/NavItem/NavItem.stories.js +115 -0
- package/dist/{components → lib/components}/Atoms/NavItem/index.js +0 -0
- package/dist/lib/components/Atoms/Row/Row.stories.js +33 -0
- package/dist/{components → lib/components}/Atoms/Row/index.js +0 -0
- package/dist/lib/components/Atoms/StarRating/StarRating.stories.js +41 -0
- package/dist/{components → lib/components}/Atoms/StarRating/index.css +0 -0
- package/dist/{components → lib/components}/Atoms/StarRating/index.js +0 -0
- package/dist/lib/components/Atoms/TextAndTitle/TextAndTitle.stories.js +66 -0
- package/dist/{components → lib/components}/Atoms/TextAndTitle/index.js +0 -0
- package/dist/lib/components/Atoms/Tubestops/Tubestops.stories.js +57 -0
- package/dist/{components → lib/components}/Atoms/Tubestops/index.js +0 -0
- package/dist/{components → lib/components}/Atoms/Tubestops/styles.css +0 -0
- package/dist/lib/components/Atoms/Video/Video.stories.js +50 -0
- package/dist/{components → lib/components}/Atoms/Video/index.js +0 -0
- package/dist/lib/components/Organisms/Accordion/Accordion.stories.js +103 -0
- package/dist/{components → lib/components}/Organisms/Accordion/index.js +0 -0
- package/dist/lib/components/Organisms/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +125 -0
- package/dist/{components → lib/components}/Organisms/BreadcrumbsBordered/index.js +0 -0
- package/dist/{components → lib/components}/Organisms/Card/Card.stories.js +135 -128
- package/dist/{components → lib/components}/Organisms/Card/index.js +0 -0
- package/dist/lib/components/Organisms/CardWithTopImage/CardWithTopImage.stories.js +73 -0
- package/dist/{components → lib/components}/Organisms/CardWithTopImage/index.js +0 -0
- package/dist/{components → lib/components}/Organisms/CardWithTopImage/styles.css +0 -0
- package/dist/lib/components/Organisms/Carousel/Carousel.stories.js +130 -0
- package/dist/{components → lib/components}/Organisms/Carousel/index.css +0 -0
- package/dist/{components → lib/components}/Organisms/Carousel/index.js +0 -0
- package/dist/lib/components/Organisms/Chevron Card/ChevronCard.stories.js +28 -0
- package/dist/{components → lib/components}/Organisms/Chevron Card/index.js +0 -0
- package/dist/{components → lib/components}/Organisms/Chevron Card/styles.css +0 -0
- package/dist/lib/components/Organisms/Form/Form.stories.js +124 -0
- package/dist/{components → lib/components}/Organisms/Form/index.js +0 -0
- package/dist/lib/components/Organisms/FyreCard/FyreCard.stories.js +136 -0
- package/dist/{components → lib/components}/Organisms/FyreCard/index.js +0 -0
- package/dist/lib/components/Organisms/ImageLink/ImageLink.stories.js +87 -0
- package/dist/{components → lib/components}/Organisms/ImageLink/index.js +0 -0
- package/dist/lib/components/Organisms/ImageLinkList/ImageLinkList.stories.js +48 -0
- package/dist/{components → lib/components}/Organisms/ImageLinkList/index.js +0 -0
- package/dist/lib/components/Organisms/Jumbotron/Jumbotron.stories.js +55 -0
- package/dist/{components → lib/components}/Organisms/Jumbotron/index.js +0 -0
- package/dist/lib/components/Organisms/Nav/Nav.stories.js +113 -0
- package/dist/{components → lib/components}/Organisms/Nav/index.js +0 -0
- package/dist/lib/components/Organisms/NewsCard/NewsCard.stories.js +69 -0
- package/dist/{components → lib/components}/Organisms/NewsCard/index.js +0 -0
- package/dist/lib/components/Organisms/Profile/Profile.stories.js +94 -0
- package/dist/{components → lib/components}/Organisms/Profile/index.js +0 -0
- package/dist/lib/components/Organisms/Search/Search.stories.js +57 -0
- package/dist/{components → lib/components}/Organisms/Search/index.js +0 -0
- package/dist/lib/components/Organisms/Testimonial/Testimonial.stories.js +116 -0
- package/dist/{components → lib/components}/Organisms/Testimonial/index.js +0 -0
- package/dist/lib/components/Organisms/Timeline/Timeline.stories.js +77 -0
- package/dist/{components → lib/components}/Organisms/Timeline/index.js +0 -0
- package/dist/{components → lib/components}/Organisms/Timeline/styles.css +0 -0
- package/dist/lib/components/Organisms/UserIcon/UserIcon.stories.js +55 -0
- package/dist/{components → lib/components}/Organisms/UserIcon/index.js +0 -0
- package/dist/{index.js → lib/index.js} +0 -0
- package/dist/{utils → lib/utils}/controls.js +0 -0
- package/package.json +3 -3
- package/dist/components/Atoms/AlertBar/AlertBar.stories.js +0 -69
- package/dist/components/Atoms/Breadcrumbs/Breadcrumbs.stories.js +0 -41
- package/dist/components/Atoms/BreadcrumbsItem/BreadcrumbsItem.stories.js +0 -86
- package/dist/components/Atoms/Button/button.stories.js +0 -68
- package/dist/components/Atoms/Collapsible/Collapsible.stories.js +0 -144
- package/dist/components/Atoms/Column/Column.stories.js +0 -24
- package/dist/components/Atoms/Icon/Icon.stories.js +0 -21
- package/dist/components/Atoms/Image/Image.stories.js +0 -21
- package/dist/components/Atoms/InformationIcon/InformationIcon.stories.js +0 -95
- package/dist/components/Atoms/Input/Input.stories.js +0 -47
- package/dist/components/Atoms/NavItem/NavItem.stories.js +0 -100
- package/dist/components/Atoms/Row/Row.stories.js +0 -18
- package/dist/components/Atoms/StarRating/StarRating.stories.js +0 -22
- package/dist/components/Atoms/TextAndTitle/TextAndTitle.stories.js +0 -53
- package/dist/components/Atoms/Tubestops/Tubestops.stories.js +0 -49
- package/dist/components/Atoms/Video/Video.stories.js +0 -29
- package/dist/components/Organisms/Accordion/Accordion.stories.js +0 -99
- package/dist/components/Organisms/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +0 -122
- package/dist/components/Organisms/CardWithTopImage/CardWithTopImage.stories.js +0 -64
- package/dist/components/Organisms/Carousel/Carousel.stories.js +0 -111
- package/dist/components/Organisms/Chevron Card/ChevronCard.stories.js +0 -18
- package/dist/components/Organisms/Form/Form.stories.js +0 -118
- package/dist/components/Organisms/FyreCard/FyreCard.stories.js +0 -127
- package/dist/components/Organisms/ImageLink/ImageLink.stories.js +0 -64
- package/dist/components/Organisms/ImageLinkList/ImageLinkList.stories.js +0 -35
- package/dist/components/Organisms/Jumbotron/Jumbotron.stories.js +0 -42
- package/dist/components/Organisms/Nav/Nav.stories.js +0 -103
- package/dist/components/Organisms/NewsCard/NewsCard.stories.js +0 -56
- package/dist/components/Organisms/Profile/Profile.stories.js +0 -85
- package/dist/components/Organisms/Search/Search.stories.js +0 -44
- package/dist/components/Organisms/Testimonial/Testimonial.stories.js +0 -103
- package/dist/components/Organisms/Timeline/Timeline.stories.js +0 -73
- package/dist/components/Organisms/UserIcon/UserIcon.stories.js +0 -41
|
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
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
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
|
+
}
|
|
32
|
+
},
|
|
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
|
+
}
|
|
70
|
+
}
|
|
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);
|
|
80
|
+
|
|
81
|
+
const _AlertBar = Template.bind({});
|
|
82
|
+
|
|
83
|
+
exports._AlertBar = _AlertBar;
|
|
84
|
+
_AlertBar.args = {};
|
|
File without changes
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
}
|
|
24
|
+
}
|
|
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);
|
|
45
|
+
|
|
46
|
+
const _Breadcrumbs = Template.bind({});
|
|
47
|
+
|
|
48
|
+
exports._Breadcrumbs = _Breadcrumbs;
|
|
49
|
+
_Breadcrumbs.args = {};
|
|
File without changes
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
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
|
+
}
|
|
36
|
+
},
|
|
37
|
+
textColor: {
|
|
38
|
+
description: '',
|
|
39
|
+
control: 'color',
|
|
40
|
+
table: {
|
|
41
|
+
category: 'Colors'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
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));
|
|
99
|
+
|
|
100
|
+
const _BreadcrumbsItem = Template.bind({});
|
|
101
|
+
|
|
102
|
+
exports._BreadcrumbsItem = _BreadcrumbsItem;
|
|
103
|
+
_BreadcrumbsItem.args = {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
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: {}
|
|
38
|
+
};
|
|
39
|
+
exports.default = _default;
|
|
40
|
+
|
|
41
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
42
|
+
|
|
43
|
+
const HoverButton = Template.bind({});
|
|
44
|
+
exports.HoverButton = HoverButton;
|
|
45
|
+
HoverButton.args = {
|
|
46
|
+
ctaText: 'This is a button'
|
|
47
|
+
};
|
|
48
|
+
const SocialButtonFacebook = Template.bind({});
|
|
49
|
+
exports.SocialButtonFacebook = SocialButtonFacebook;
|
|
50
|
+
SocialButtonFacebook.args = {
|
|
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: '/'
|
|
60
|
+
};
|
|
61
|
+
const SocialButtonWhatsapp = Template.bind({});
|
|
62
|
+
exports.SocialButtonWhatsapp = SocialButtonWhatsapp;
|
|
63
|
+
SocialButtonWhatsapp.args = {
|
|
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: '/'
|
|
73
|
+
};
|
|
74
|
+
const SocialButtonTwitter = Template.bind({});
|
|
75
|
+
exports.SocialButtonTwitter = SocialButtonTwitter;
|
|
76
|
+
SocialButtonTwitter.args = {
|
|
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: '/'
|
|
86
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._Collapsible = 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/Collapsible',
|
|
16
|
+
components: _index.default,
|
|
17
|
+
parameters: {},
|
|
18
|
+
argTypes: {
|
|
19
|
+
title: {
|
|
20
|
+
description: '',
|
|
21
|
+
control: 'text',
|
|
22
|
+
table: {
|
|
23
|
+
category: ''
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
subtitle: {
|
|
27
|
+
description: '',
|
|
28
|
+
control: 'text',
|
|
29
|
+
table: {
|
|
30
|
+
category: ''
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
isDropdown: {
|
|
34
|
+
description: '',
|
|
35
|
+
control: 'boolean',
|
|
36
|
+
table: {
|
|
37
|
+
category: ''
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
icon: {
|
|
41
|
+
description: '',
|
|
42
|
+
control: 'text',
|
|
43
|
+
table: {
|
|
44
|
+
category: ''
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
content: {
|
|
48
|
+
description: '',
|
|
49
|
+
control: 'text',
|
|
50
|
+
table: {
|
|
51
|
+
category: ''
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
boldTitle: {
|
|
55
|
+
description: '',
|
|
56
|
+
control: 'boolean',
|
|
57
|
+
table: {
|
|
58
|
+
category: ''
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
borderTop: {
|
|
62
|
+
description: '',
|
|
63
|
+
control: 'boolean',
|
|
64
|
+
table: {
|
|
65
|
+
category: ''
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
borderBottom: {
|
|
69
|
+
description: '',
|
|
70
|
+
control: 'boolean',
|
|
71
|
+
table: {
|
|
72
|
+
category: ''
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
showBottomLine: {
|
|
76
|
+
description: '',
|
|
77
|
+
control: 'boolean',
|
|
78
|
+
table: {
|
|
79
|
+
category: ''
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
children: {
|
|
83
|
+
description: '',
|
|
84
|
+
control: 'array',
|
|
85
|
+
table: {
|
|
86
|
+
category: ''
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
contentBgColor: {
|
|
90
|
+
description: '',
|
|
91
|
+
control: 'color',
|
|
92
|
+
table: {
|
|
93
|
+
category: 'Colors'
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
contentTextColor: {
|
|
97
|
+
description: '',
|
|
98
|
+
control: 'color',
|
|
99
|
+
table: {
|
|
100
|
+
category: 'Colors'
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
bgColor: {
|
|
104
|
+
description: '',
|
|
105
|
+
control: 'color',
|
|
106
|
+
table: {
|
|
107
|
+
category: 'Colors'
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
textColor: {
|
|
111
|
+
description: '',
|
|
112
|
+
control: 'color',
|
|
113
|
+
table: {
|
|
114
|
+
category: 'Colors'
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
hoverBgColor: {
|
|
118
|
+
description: '',
|
|
119
|
+
control: 'color',
|
|
120
|
+
table: {
|
|
121
|
+
category: 'Colors',
|
|
122
|
+
subcategory: 'Hover'
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
hoverTextColor: {
|
|
126
|
+
description: '',
|
|
127
|
+
control: 'color',
|
|
128
|
+
table: {
|
|
129
|
+
category: 'Colors',
|
|
130
|
+
subcategory: 'Hover'
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
iconSize: {
|
|
134
|
+
description: 'Between 1 and 5',
|
|
135
|
+
control: 'number',
|
|
136
|
+
table: {
|
|
137
|
+
category: ''
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
args: {
|
|
142
|
+
title: 'This is a title',
|
|
143
|
+
subtitle: 'This is a subtitle',
|
|
144
|
+
isDropdown: true,
|
|
145
|
+
icon: 'th',
|
|
146
|
+
boldTitle: true,
|
|
147
|
+
children: [/*#__PURE__*/_react.default.createElement("p", null, "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Error, unde perferendis quibusdam eos repellendus vero rerum sunt reiciendis velit autem odio, fuga molestiae perspiciatis dolor voluptatum mollitia quos ipsa! Doloribus? Lorem ipsum, dolor sit amet consectetur adipisicing elit. Reiciendis ducimus, dolorum tempore unde earum aspernatur placeat magnam, alias neque, blanditiis esse tenetur dignissimos in optio nihil libero cum cupiditate debitis?")]
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
exports.default = _default;
|
|
151
|
+
|
|
152
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
153
|
+
|
|
154
|
+
const _Collapsible = Template.bind({});
|
|
155
|
+
|
|
156
|
+
exports._Collapsible = _Collapsible;
|
|
157
|
+
_Collapsible.args = {};
|
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._Column = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
11
|
+
|
|
12
|
+
var _controls = require("../../../utils/controls");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
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; }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
var _default = {
|
|
23
|
+
title: 'Trepur Components/Atoms/Column',
|
|
24
|
+
component: _index.default,
|
|
25
|
+
parameters: {},
|
|
26
|
+
argTypes: _objectSpread({}, _controls.columnOptions),
|
|
27
|
+
args: {
|
|
28
|
+
sm: 1,
|
|
29
|
+
md: 1,
|
|
30
|
+
lg: 1,
|
|
31
|
+
xl: 1,
|
|
32
|
+
className: 'border h-16'
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.default = _default;
|
|
36
|
+
|
|
37
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
38
|
+
|
|
39
|
+
const _Column = Template.bind({});
|
|
40
|
+
|
|
41
|
+
exports._Column = _Column;
|
|
42
|
+
_Column.args = {};
|
|
File without changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._Icon = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
11
|
+
|
|
12
|
+
var _controls = require("../../../utils/controls");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
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; }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
var _default = {
|
|
23
|
+
title: 'Trepur Components/Atoms/Icon',
|
|
24
|
+
components: _index.default,
|
|
25
|
+
parameters: {},
|
|
26
|
+
argTypes: _objectSpread({}, _controls.iconOptions),
|
|
27
|
+
args: {
|
|
28
|
+
type: 'th',
|
|
29
|
+
size: 3
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.default = _default;
|
|
33
|
+
|
|
34
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
35
|
+
|
|
36
|
+
const _Icon = Template.bind({});
|
|
37
|
+
|
|
38
|
+
exports._Icon = _Icon;
|
|
39
|
+
_Icon.args = {};
|
|
File without changes
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._Image = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
11
|
+
|
|
12
|
+
var _logoWhite = _interopRequireDefault(require("../../../Assets/Images/logoWhite.png"));
|
|
13
|
+
|
|
14
|
+
var _controls = require("../../../utils/controls");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
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; }
|
|
23
|
+
|
|
24
|
+
var _default = {
|
|
25
|
+
title: 'Trepur Components/Atoms/Image',
|
|
26
|
+
components: _index.default,
|
|
27
|
+
parameters: {},
|
|
28
|
+
argTypes: _objectSpread({}, _controls.imageOptions),
|
|
29
|
+
args: {
|
|
30
|
+
image: _logoWhite.default
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.default = _default;
|
|
34
|
+
|
|
35
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
36
|
+
|
|
37
|
+
const _Image = Template.bind({});
|
|
38
|
+
|
|
39
|
+
exports._Image = _Image;
|
|
40
|
+
_Image.args = {};
|
|
File without changes
|