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
|
@@ -1,144 +1,157 @@
|
|
|
1
|
-
|
|
2
|
-
import Collapsible from './index';
|
|
1
|
+
"use strict";
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
argTypes: {
|
|
9
|
-
title: {
|
|
10
|
-
description: '',
|
|
11
|
-
control: 'text',
|
|
12
|
-
table: {
|
|
13
|
-
category: ''
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
subtitle: {
|
|
17
|
-
description: '',
|
|
18
|
-
control: 'text',
|
|
19
|
-
table: {
|
|
20
|
-
category: ''
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
isDropdown: {
|
|
24
|
-
description: '',
|
|
25
|
-
control: 'boolean',
|
|
26
|
-
table: {
|
|
27
|
-
category: ''
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
icon: {
|
|
31
|
-
description: '',
|
|
32
|
-
control: 'text',
|
|
33
|
-
table: {
|
|
34
|
-
category: ''
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
content: {
|
|
38
|
-
description: '',
|
|
39
|
-
control: 'text',
|
|
40
|
-
table: {
|
|
41
|
-
category: ''
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
boldTitle: {
|
|
45
|
-
description: '',
|
|
46
|
-
control: 'boolean',
|
|
47
|
-
table: {
|
|
48
|
-
category: ''
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
borderTop: {
|
|
52
|
-
description: '',
|
|
53
|
-
control: 'boolean',
|
|
54
|
-
table: {
|
|
55
|
-
category: ''
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
borderBottom: {
|
|
59
|
-
description: '',
|
|
60
|
-
control: 'boolean',
|
|
61
|
-
table: {
|
|
62
|
-
category: ''
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
showBottomLine: {
|
|
66
|
-
description: '',
|
|
67
|
-
control: 'boolean',
|
|
68
|
-
table: {
|
|
69
|
-
category: ''
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
children: {
|
|
73
|
-
description: '',
|
|
74
|
-
control: 'array',
|
|
75
|
-
table: {
|
|
76
|
-
category: ''
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
contentBgColor: {
|
|
80
|
-
description: '',
|
|
81
|
-
control: 'color',
|
|
82
|
-
table: {
|
|
83
|
-
category: 'Colors'
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
contentTextColor: {
|
|
87
|
-
description: '',
|
|
88
|
-
control: 'color',
|
|
89
|
-
table: {
|
|
90
|
-
category: 'Colors'
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
bgColor: {
|
|
94
|
-
description: '',
|
|
95
|
-
control: 'color',
|
|
96
|
-
table: {
|
|
97
|
-
category: 'Colors'
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
textColor: {
|
|
101
|
-
description: '',
|
|
102
|
-
control: 'color',
|
|
103
|
-
table: {
|
|
104
|
-
category: 'Colors'
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
hoverBgColor: {
|
|
108
|
-
description: '',
|
|
109
|
-
control: 'color',
|
|
110
|
-
table: {
|
|
111
|
-
category: 'Colors',
|
|
112
|
-
subcategory: 'Hover'
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
hoverTextColor: {
|
|
116
|
-
description: '',
|
|
117
|
-
control: 'color',
|
|
118
|
-
table: {
|
|
119
|
-
category: 'Colors',
|
|
120
|
-
subcategory: 'Hover'
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
iconSize: {
|
|
124
|
-
description: 'Between 1 and 5',
|
|
125
|
-
control: 'number',
|
|
126
|
-
table: {
|
|
127
|
-
category: '',
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
},
|
|
131
|
-
args: {
|
|
132
|
-
title: 'This is a title',
|
|
133
|
-
subtitle: 'This is a subtitle',
|
|
134
|
-
isDropdown: true,
|
|
135
|
-
icon: 'th',
|
|
136
|
-
boldTitle: true,
|
|
137
|
-
children: [<p>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?</p>]
|
|
138
|
-
},
|
|
139
|
-
}
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._Collapsible = void 0;
|
|
140
7
|
|
|
141
|
-
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
142
9
|
|
|
143
|
-
|
|
144
|
-
|
|
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 = {};
|
|
@@ -1,24 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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 = {};
|
|
@@ -1,21 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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;
|
|
21
39
|
_Icon.args = {};
|
|
@@ -1,21 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 = {};
|
|
@@ -1,95 +1,108 @@
|
|
|
1
|
-
|
|
2
|
-
import InformationIcon 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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
table: {
|
|
48
|
-
category: '',
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
bgColor: {
|
|
52
|
-
description: '',
|
|
53
|
-
control: 'color',
|
|
54
|
-
table: {
|
|
55
|
-
category: 'Colors',
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
textColor: {
|
|
59
|
-
description: '',
|
|
60
|
-
control: 'color',
|
|
61
|
-
table: {
|
|
62
|
-
category: 'Colors',
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
hoverBgColor: {
|
|
66
|
-
description: '',
|
|
67
|
-
control: 'color',
|
|
68
|
-
table: {
|
|
69
|
-
category: 'Colors',
|
|
70
|
-
subcategory: 'Hover'
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
hoverTextColor: {
|
|
74
|
-
description: '',
|
|
75
|
-
control: 'color',
|
|
76
|
-
table: {
|
|
77
|
-
category: 'Colors',
|
|
78
|
-
subcategory: 'Hover'
|
|
79
|
-
}
|
|
80
|
-
},
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._InformationIcon = 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/Information Icon',
|
|
16
|
+
components: _index.default,
|
|
17
|
+
parameters: {},
|
|
18
|
+
argTypes: {
|
|
19
|
+
type: {
|
|
20
|
+
description: 'The name of the icon you wish to use',
|
|
21
|
+
control: 'text',
|
|
22
|
+
table: {
|
|
23
|
+
category: ''
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
text: {
|
|
27
|
+
description: '',
|
|
28
|
+
control: 'text',
|
|
29
|
+
table: {
|
|
30
|
+
category: ''
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
number: {
|
|
34
|
+
description: '',
|
|
35
|
+
control: 'number',
|
|
36
|
+
table: {
|
|
37
|
+
category: ''
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
size: {
|
|
41
|
+
description: 'An integer between 1 and 5 to dictate the magnification of the icon',
|
|
42
|
+
control: 'number',
|
|
43
|
+
table: {
|
|
44
|
+
category: ''
|
|
45
|
+
}
|
|
81
46
|
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
47
|
+
bordered: {
|
|
48
|
+
description: '',
|
|
49
|
+
control: 'boolean',
|
|
50
|
+
table: {
|
|
51
|
+
category: ''
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
rounded: {
|
|
55
|
+
description: '',
|
|
56
|
+
control: 'boolean',
|
|
57
|
+
table: {
|
|
58
|
+
category: ''
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
bgColor: {
|
|
62
|
+
description: '',
|
|
63
|
+
control: 'color',
|
|
64
|
+
table: {
|
|
65
|
+
category: 'Colors'
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
textColor: {
|
|
69
|
+
description: '',
|
|
70
|
+
control: 'color',
|
|
71
|
+
table: {
|
|
72
|
+
category: 'Colors'
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
hoverBgColor: {
|
|
76
|
+
description: '',
|
|
77
|
+
control: 'color',
|
|
78
|
+
table: {
|
|
79
|
+
category: 'Colors',
|
|
80
|
+
subcategory: 'Hover'
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
hoverTextColor: {
|
|
84
|
+
description: '',
|
|
85
|
+
control: 'color',
|
|
86
|
+
table: {
|
|
87
|
+
category: 'Colors',
|
|
88
|
+
subcategory: 'Hover'
|
|
89
|
+
}
|
|
89
90
|
}
|
|
90
|
-
}
|
|
91
|
+
},
|
|
92
|
+
args: {
|
|
93
|
+
type: 'th',
|
|
94
|
+
text: 'Text',
|
|
95
|
+
number: 21,
|
|
96
|
+
size: 3,
|
|
97
|
+
bordered: true,
|
|
98
|
+
rounded: true
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
exports.default = _default;
|
|
102
|
+
|
|
103
|
+
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
91
104
|
|
|
92
|
-
const
|
|
105
|
+
const _InformationIcon = Template.bind({});
|
|
93
106
|
|
|
94
|
-
|
|
95
|
-
_InformationIcon.args = {};
|
|
107
|
+
exports._InformationIcon = _InformationIcon;
|
|
108
|
+
_InformationIcon.args = {};
|