trepur_components 0.2.0 → 0.2.1
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/{components/Organisms/Accordion → Accordion}/index.js +0 -0
- package/dist/{components/Atoms/AlertBar → AlertBar}/index.js +0 -0
- package/dist/{components/Atoms/Breadcrumbs → Breadcrumbs}/index.js +0 -0
- package/dist/{components/Organisms/BreadcrumbsBordered → BreadcrumbsBordered}/index.js +0 -0
- package/dist/{components/Atoms/BreadcrumbsItem → BreadcrumbsItem}/index.css +0 -0
- package/dist/{components/Atoms/BreadcrumbsItem → BreadcrumbsItem}/index.js +0 -0
- package/dist/{components/Atoms/Button → Button}/Styles.css +0 -0
- package/dist/{components/Atoms/Button → Button}/index.js +0 -0
- package/dist/{components/Organisms/Card → Card}/index.js +0 -0
- package/dist/{components/Organisms/CardWithTopImage → CardWithTopImage}/index.js +0 -0
- package/dist/{components/Organisms/CardWithTopImage → CardWithTopImage}/styles.css +0 -0
- package/dist/{components/Organisms/Carousel → Carousel}/index.css +0 -0
- package/dist/{components/Organisms/Carousel → Carousel}/index.js +0 -0
- package/dist/{components/Organisms/Chevron Card → Chevron Card}/index.js +0 -0
- package/dist/{components/Organisms/Chevron Card → Chevron Card}/styles.css +0 -0
- package/dist/{components/Atoms/Collapsible → Collapsible}/index.js +0 -0
- package/dist/{components/Atoms/Column → Column}/index.js +0 -0
- package/dist/{components/Organisms/Form → Form}/index.js +0 -0
- package/dist/{components/Organisms/FyreCard → FyreCard}/index.js +0 -0
- package/dist/{components/Atoms/Icon → Icon}/index.js +0 -0
- package/dist/{components/Atoms/Image → Image}/index.js +0 -0
- package/dist/{components/Organisms/ImageLink → ImageLink}/index.js +0 -0
- package/dist/{components/Organisms/ImageLinkList → ImageLinkList}/index.js +0 -0
- package/dist/{components/Atoms/InformationIcon → InformationIcon}/index.js +0 -0
- package/dist/{components/Atoms/Input → Input}/index.js +0 -0
- package/dist/{components/Organisms/Jumbotron → Jumbotron}/index.js +0 -0
- package/dist/{components/Organisms/Nav → Nav}/index.js +0 -0
- package/dist/{components/Atoms/NavItem → NavItem}/index.js +0 -0
- package/dist/{components/Organisms/NewsCard → NewsCard}/index.js +0 -0
- package/dist/{components/Organisms/Profile → Profile}/index.js +0 -0
- package/dist/{components/Atoms/Row → Row}/index.js +0 -0
- package/dist/{components/Organisms/Search → Search}/index.js +0 -0
- package/dist/{components/Atoms/StarRating → StarRating}/index.css +0 -0
- package/dist/{components/Atoms/StarRating → StarRating}/index.js +0 -0
- package/dist/{components/Organisms/Testimonial → Testimonial}/index.js +0 -0
- package/dist/{components/Atoms/TextAndTitle → TextAndTitle}/index.js +0 -0
- package/dist/{components/Organisms/Timeline → Timeline}/index.js +0 -0
- package/dist/{components/Organisms/Timeline → Timeline}/styles.css +0 -0
- package/dist/{components/Atoms/Tubestops → Tubestops}/index.js +0 -0
- package/dist/{components/Atoms/Tubestops → Tubestops}/styles.css +0 -0
- package/dist/{components/Organisms/UserIcon → UserIcon}/index.js +0 -0
- package/dist/{components/Atoms/Video → Video}/index.js +0 -0
- package/package.json +4 -2
- package/dist/Assets/Images/logoBlue.png +0 -0
- package/dist/Assets/Images/logoBlueBorder.png +0 -0
- package/dist/Assets/Images/logoCoco.png +0 -0
- package/dist/Assets/Images/logoCocoBanner.png +0 -0
- package/dist/Assets/Images/logoWhite.png +0 -0
- package/dist/Assets/Images/logoWhiteBorder.png +0 -0
- package/dist/Assets/Images/user.jpeg +0 -0
- package/dist/Assets/Videos/example.mp4 +0 -0
- package/dist/Assets/Videos/example.ogv +0 -0
- package/dist/components/Atoms/AlertBar/AlertBar.stories.js +0 -84
- package/dist/components/Atoms/Breadcrumbs/Breadcrumbs.stories.js +0 -49
- package/dist/components/Atoms/BreadcrumbsItem/BreadcrumbsItem.stories.js +0 -103
- package/dist/components/Atoms/Button/button.stories.js +0 -86
- package/dist/components/Atoms/Button/button.stories.mdx +0 -72
- package/dist/components/Atoms/Collapsible/Collapsible.stories.js +0 -157
- package/dist/components/Atoms/Column/Column.stories.js +0 -42
- package/dist/components/Atoms/Icon/Icon.stories.js +0 -39
- package/dist/components/Atoms/Image/Image.stories.js +0 -40
- package/dist/components/Atoms/InformationIcon/InformationIcon.stories.js +0 -108
- package/dist/components/Atoms/Input/Input.stories.js +0 -60
- package/dist/components/Atoms/NavItem/NavItem.stories.js +0 -115
- package/dist/components/Atoms/Row/Row.stories.js +0 -33
- package/dist/components/Atoms/StarRating/StarRating.stories.js +0 -41
- package/dist/components/Atoms/TextAndTitle/TextAndTitle.stories.js +0 -66
- package/dist/components/Atoms/Tubestops/Tubestops.stories.js +0 -57
- package/dist/components/Atoms/Video/Video.stories.js +0 -50
- package/dist/components/Organisms/Accordion/Accordion.stories.js +0 -103
- package/dist/components/Organisms/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +0 -125
- package/dist/components/Organisms/Card/Card.stories.js +0 -359
- package/dist/components/Organisms/CardWithTopImage/CardWithTopImage.stories.js +0 -73
- package/dist/components/Organisms/Carousel/Carousel.stories.js +0 -130
- package/dist/components/Organisms/Chevron Card/ChevronCard.stories.js +0 -28
- package/dist/components/Organisms/Form/Form.stories.js +0 -124
- package/dist/components/Organisms/FyreCard/FyreCard.stories.js +0 -136
- package/dist/components/Organisms/ImageLink/ImageLink.stories.js +0 -87
- package/dist/components/Organisms/ImageLinkList/ImageLinkList.stories.js +0 -48
- package/dist/components/Organisms/Jumbotron/Jumbotron.stories.js +0 -55
- package/dist/components/Organisms/Nav/Nav.stories.js +0 -113
- package/dist/components/Organisms/NewsCard/NewsCard.stories.js +0 -69
- package/dist/components/Organisms/Profile/Profile.stories.js +0 -94
- package/dist/components/Organisms/Search/Search.stories.js +0 -57
- package/dist/components/Organisms/Testimonial/Testimonial.stories.js +0 -116
- package/dist/components/Organisms/Timeline/Timeline.stories.js +0 -77
- package/dist/components/Organisms/UserIcon/UserIcon.stories.js +0 -55
- package/dist/index.js +0 -263
- package/dist/utils/controls.js +0 -505
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports._VideoCard = exports._ImageCard = exports._Card = 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
|
-
var _example = _interopRequireDefault(require("../../../Assets/Videos/example.mp4"));
|
|
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/Organisms/Card',
|
|
26
|
-
component: _index.default,
|
|
27
|
-
parameters: {},
|
|
28
|
-
argTypes: _objectSpread({
|
|
29
|
-
title: {
|
|
30
|
-
description: '',
|
|
31
|
-
control: 'text',
|
|
32
|
-
table: {
|
|
33
|
-
category: ''
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
image: {
|
|
37
|
-
description: '',
|
|
38
|
-
control: 'text',
|
|
39
|
-
table: {
|
|
40
|
-
category: ''
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
subTitle: {
|
|
44
|
-
description: '',
|
|
45
|
-
control: 'text',
|
|
46
|
-
table: {
|
|
47
|
-
category: ''
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
description: {
|
|
51
|
-
description: '',
|
|
52
|
-
control: 'text',
|
|
53
|
-
table: {
|
|
54
|
-
category: ''
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
extraText: {
|
|
58
|
-
description: '',
|
|
59
|
-
control: 'text',
|
|
60
|
-
table: {
|
|
61
|
-
category: ''
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
imageBelowTitle: {
|
|
65
|
-
description: '',
|
|
66
|
-
control: 'boolean',
|
|
67
|
-
table: {
|
|
68
|
-
category: ''
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
titleLeft: {
|
|
72
|
-
description: '',
|
|
73
|
-
control: 'boolean',
|
|
74
|
-
table: {
|
|
75
|
-
category: ''
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
titleRight: {
|
|
79
|
-
description: '',
|
|
80
|
-
control: 'boolean',
|
|
81
|
-
table: {
|
|
82
|
-
category: ''
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
titleBold: {
|
|
86
|
-
description: '',
|
|
87
|
-
control: 'boolean',
|
|
88
|
-
table: {
|
|
89
|
-
category: ''
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
image: {
|
|
93
|
-
description: '',
|
|
94
|
-
control: 'text',
|
|
95
|
-
table: {
|
|
96
|
-
category: ''
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
rounded: {
|
|
100
|
-
description: '',
|
|
101
|
-
control: 'boolean',
|
|
102
|
-
table: {
|
|
103
|
-
category: ''
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
bordered: {
|
|
107
|
-
description: '',
|
|
108
|
-
control: 'boolean',
|
|
109
|
-
table: {
|
|
110
|
-
category: ''
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}, _controls.buttonOptions),
|
|
114
|
-
args: {
|
|
115
|
-
title: 'This is a title',
|
|
116
|
-
subTitle: 'This is a subtitle',
|
|
117
|
-
description: 'This is a description paragraph',
|
|
118
|
-
extraText: 'This is another paragraph',
|
|
119
|
-
bordered: true,
|
|
120
|
-
classNames: 'w-96'
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
exports.default = _default;
|
|
124
|
-
|
|
125
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
126
|
-
|
|
127
|
-
const _Card = Template.bind({});
|
|
128
|
-
|
|
129
|
-
exports._Card = _Card;
|
|
130
|
-
_Card.args = {};
|
|
131
|
-
|
|
132
|
-
const _ImageCard = Template.bind({});
|
|
133
|
-
|
|
134
|
-
exports._ImageCard = _ImageCard;
|
|
135
|
-
_ImageCard.args = {
|
|
136
|
-
image: 'https://picsum.photos/500/300'
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
const _VideoCard = Template.bind({});
|
|
140
|
-
|
|
141
|
-
exports._VideoCard = _VideoCard;
|
|
142
|
-
_VideoCard.args = {
|
|
143
|
-
mp4File: _example.default,
|
|
144
|
-
withControls: false,
|
|
145
|
-
autoPlay: true
|
|
146
|
-
}; // export const _Card = (args) => {
|
|
147
|
-
// return (
|
|
148
|
-
// <Card
|
|
149
|
-
// id='card'
|
|
150
|
-
// title={args.title}
|
|
151
|
-
// titleClass='text-center font-bold'
|
|
152
|
-
// subTitle={args.subTitle}
|
|
153
|
-
// extraText={args.extraText}
|
|
154
|
-
// description={args.description}
|
|
155
|
-
// image={args.image}
|
|
156
|
-
// hasCta={args.hasCta}
|
|
157
|
-
// ctaText={args.ctaText}
|
|
158
|
-
// url='/'
|
|
159
|
-
// imageBelowTitle={args.imageBelowTitle}
|
|
160
|
-
// rounded={args.rounded}
|
|
161
|
-
// buttonStyle={args.buttonStyle}
|
|
162
|
-
// bordered={args.bordered}/>
|
|
163
|
-
// )
|
|
164
|
-
// }
|
|
165
|
-
// export const CardTitleBold = (args) => {
|
|
166
|
-
// return (
|
|
167
|
-
// <Card
|
|
168
|
-
// id='card'
|
|
169
|
-
// title={args.title}
|
|
170
|
-
// titleBold
|
|
171
|
-
// bordered={true}/>
|
|
172
|
-
// )
|
|
173
|
-
// }
|
|
174
|
-
// export const CardTitleLeft = (args) => {
|
|
175
|
-
// return (
|
|
176
|
-
// <Card
|
|
177
|
-
// id='card'
|
|
178
|
-
// title={args.title}
|
|
179
|
-
// titleLeft
|
|
180
|
-
// bordered={true}/>
|
|
181
|
-
// )
|
|
182
|
-
// }
|
|
183
|
-
// export const CardTitleRight = (args) => {
|
|
184
|
-
// return (
|
|
185
|
-
// <Card
|
|
186
|
-
// id='card'
|
|
187
|
-
// title={args.title}
|
|
188
|
-
// titleRight
|
|
189
|
-
// bordered={true}/>
|
|
190
|
-
// )
|
|
191
|
-
// }
|
|
192
|
-
// export const CardWithImage = (args) => {
|
|
193
|
-
// return (
|
|
194
|
-
// <Card
|
|
195
|
-
// id='card'
|
|
196
|
-
// title={args.title}
|
|
197
|
-
// titleClass='text-center font-bold'
|
|
198
|
-
// image='https://picsum.photos/500/300'
|
|
199
|
-
// bordered={true}/>
|
|
200
|
-
// )
|
|
201
|
-
// }
|
|
202
|
-
// export const CardWithText = (args) => {
|
|
203
|
-
// return (
|
|
204
|
-
// <Card
|
|
205
|
-
// id='card'
|
|
206
|
-
// title={args.title}
|
|
207
|
-
// titleClass='text-center font-bold'
|
|
208
|
-
// subTitle={args.subTitle}
|
|
209
|
-
// extraText={args.extraText}
|
|
210
|
-
// description={args.description}
|
|
211
|
-
// image='https://picsum.photos/500/500'
|
|
212
|
-
// bordered={true}/>
|
|
213
|
-
// )
|
|
214
|
-
// }
|
|
215
|
-
// export const CardWithButton = (args) => {
|
|
216
|
-
// return (
|
|
217
|
-
// <Card
|
|
218
|
-
// id='card'
|
|
219
|
-
// title={args.title}
|
|
220
|
-
// titleClass='text-center font-bold'
|
|
221
|
-
// subTitle={args.subTitle}
|
|
222
|
-
// extraText={args.extraText}
|
|
223
|
-
// description={args.description}
|
|
224
|
-
// image='https://picsum.photos/500/300'
|
|
225
|
-
// hasCta={args.hasCta}
|
|
226
|
-
// ctaText={args.ctaText}
|
|
227
|
-
// url='/'
|
|
228
|
-
// buttonType='internal'
|
|
229
|
-
// buttonStyle={args.buttonStyle}
|
|
230
|
-
// bordered={true}/>
|
|
231
|
-
// )
|
|
232
|
-
// }
|
|
233
|
-
// export const CardWithButtonStyles = (args) => {
|
|
234
|
-
// return (
|
|
235
|
-
// <Card
|
|
236
|
-
// id='card'
|
|
237
|
-
// title={args.title}
|
|
238
|
-
// titleClass='text-center font-bold'
|
|
239
|
-
// subTitle={args.subTitle}
|
|
240
|
-
// extraText={args.extraText}
|
|
241
|
-
// description={args.description}
|
|
242
|
-
// image='https://picsum.photos/500/300'
|
|
243
|
-
// hasCta={args.hasCta}
|
|
244
|
-
// ctaText={args.ctaText}
|
|
245
|
-
// url='/'
|
|
246
|
-
// buttonType='internal'
|
|
247
|
-
// buttonStyle={args.buttonStyle}
|
|
248
|
-
// bordered={true}
|
|
249
|
-
// buttonBgColor='blue'
|
|
250
|
-
// buttonTextColor='white'
|
|
251
|
-
// buttonBorderColor='blue'
|
|
252
|
-
// hoverButtonBgColor='white'
|
|
253
|
-
// hoverButtonTextColor='blue'
|
|
254
|
-
// hoverButtonBorderColor='blue'
|
|
255
|
-
// />
|
|
256
|
-
// )
|
|
257
|
-
// }
|
|
258
|
-
// export const CardWithSlideButton = (args) => {
|
|
259
|
-
// return (
|
|
260
|
-
// <Card
|
|
261
|
-
// id='card'
|
|
262
|
-
// title={args.title}
|
|
263
|
-
// titleClass='text-center font-bold'
|
|
264
|
-
// subTitle={args.subTitle}
|
|
265
|
-
// extraText={args.extraText}
|
|
266
|
-
// description={args.description}
|
|
267
|
-
// image='https://picsum.photos/500/300'
|
|
268
|
-
// hasCta={args.hasCta}
|
|
269
|
-
// buttonDesign='slide'
|
|
270
|
-
// buttonBgColor='red'
|
|
271
|
-
// buttonTextColor='white'
|
|
272
|
-
// buttonBorderColor='red'
|
|
273
|
-
// hoverButtonTextColor='red'
|
|
274
|
-
// hoverButtonBgColor='red'
|
|
275
|
-
// hoverButtonBorderColor='red'
|
|
276
|
-
// ctaText={args.ctaText}
|
|
277
|
-
// url='/'
|
|
278
|
-
// buttonType='button'
|
|
279
|
-
// bordered={true}/>
|
|
280
|
-
// )
|
|
281
|
-
// }
|
|
282
|
-
// export const CardWithImageBelowTitle = (args) => {
|
|
283
|
-
// return (
|
|
284
|
-
// <Card
|
|
285
|
-
// id='card'
|
|
286
|
-
// title={args.title}
|
|
287
|
-
// titleClass='text-center font-bold'
|
|
288
|
-
// subTitle={args.subTitle}
|
|
289
|
-
// extraText={args.extraText}
|
|
290
|
-
// description={args.description}
|
|
291
|
-
// image='https://picsum.photos/500/300'
|
|
292
|
-
// hasCta={args.hasCta}
|
|
293
|
-
// ctaText={args.ctaText}
|
|
294
|
-
// url='/'
|
|
295
|
-
// buttonType='button'
|
|
296
|
-
// buttonStyle={args.buttonStyle}
|
|
297
|
-
// imageBelowTitle={true}
|
|
298
|
-
// bordered={true}/>
|
|
299
|
-
// )
|
|
300
|
-
// }
|
|
301
|
-
// export const CardRounded = (args) => {
|
|
302
|
-
// return (
|
|
303
|
-
// <Card
|
|
304
|
-
// id='card'
|
|
305
|
-
// title={args.title}
|
|
306
|
-
// titleClass='text-center font-bold'
|
|
307
|
-
// subTitle={args.subTitle}
|
|
308
|
-
// extraText={args.extraText}
|
|
309
|
-
// description={args.description}
|
|
310
|
-
// image='https://picsum.photos/500/300'
|
|
311
|
-
// hasCta={args.hasCta}
|
|
312
|
-
// ctaText={args.ctaText}
|
|
313
|
-
// url='/'
|
|
314
|
-
// buttonType='button'
|
|
315
|
-
// buttonStyle={args.buttonStyle}
|
|
316
|
-
// rounded={true}
|
|
317
|
-
// bordered={true}/>
|
|
318
|
-
// )
|
|
319
|
-
// }
|
|
320
|
-
// export const lotsOfCards = (args) => {
|
|
321
|
-
// const options = ['300', '400', '500']
|
|
322
|
-
// let cards = []
|
|
323
|
-
// let width, height
|
|
324
|
-
// for (let i = 0; i < 8 ; i++) {
|
|
325
|
-
// width = options[Math.floor(Math.random() * (2 + 0))]
|
|
326
|
-
// height = options[Math.floor(Math.random() * (2 + 0))]
|
|
327
|
-
// cards.push(<Card
|
|
328
|
-
// id={'card_' + i}
|
|
329
|
-
// classNames='m-2'
|
|
330
|
-
// title={args.title}
|
|
331
|
-
// titleClass='text-center font-bold'
|
|
332
|
-
// subTitle={args.subTitle}
|
|
333
|
-
// extraText={args.extraText}
|
|
334
|
-
// description={args.description}
|
|
335
|
-
// image={'https://picsum.photos/' + width + '/' + height}
|
|
336
|
-
// hasCta={args.hasCta}
|
|
337
|
-
// ctaText={args.ctaText}
|
|
338
|
-
// imageBelowTitle={args.imageBelowTitle}
|
|
339
|
-
// rounded={true}
|
|
340
|
-
// bordered={true}
|
|
341
|
-
// buttonType='internal'
|
|
342
|
-
// url='/?path=/story/components-card--lots-of-cards'/>
|
|
343
|
-
// )
|
|
344
|
-
// }
|
|
345
|
-
// return (
|
|
346
|
-
// <div className="grid grid-cols-4 grid-flow-row">
|
|
347
|
-
// {cards}
|
|
348
|
-
// </div>
|
|
349
|
-
// )
|
|
350
|
-
// }
|
|
351
|
-
// export const ImageCard = (args) => {
|
|
352
|
-
// return (
|
|
353
|
-
// <Card
|
|
354
|
-
// image='https://picsum.photos/500/300'
|
|
355
|
-
// rounded={args.rounded}
|
|
356
|
-
// bordered={args.bordered}
|
|
357
|
-
// />
|
|
358
|
-
// )
|
|
359
|
-
// }
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports._CardWithTopImage = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _index = _interopRequireDefault(require("./index"));
|
|
11
|
-
|
|
12
|
-
var _logoBlue = _interopRequireDefault(require("../../../Assets/Images/logoBlue.png"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
|
-
var _default = {
|
|
17
|
-
title: 'Trepur Components/Organisms/Card With Top Image',
|
|
18
|
-
component: _index.default,
|
|
19
|
-
parameters: {},
|
|
20
|
-
argTypes: {
|
|
21
|
-
image: {
|
|
22
|
-
description: '',
|
|
23
|
-
control: 'text',
|
|
24
|
-
table: {
|
|
25
|
-
category: ''
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
roundedImage: {
|
|
29
|
-
description: '',
|
|
30
|
-
control: 'boolean',
|
|
31
|
-
table: {
|
|
32
|
-
category: ''
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
roundedCard: {
|
|
36
|
-
description: '',
|
|
37
|
-
control: 'boolean',
|
|
38
|
-
table: {
|
|
39
|
-
category: ''
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
shadow: {
|
|
43
|
-
description: '',
|
|
44
|
-
control: 'boolean',
|
|
45
|
-
table: {
|
|
46
|
-
category: ''
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
args: {
|
|
51
|
-
image: _logoBlue.default,
|
|
52
|
-
roundedImage: true
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
exports.default = _default;
|
|
56
|
-
|
|
57
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
58
|
-
|
|
59
|
-
const _CardWithTopImage = Template.bind({});
|
|
60
|
-
|
|
61
|
-
exports._CardWithTopImage = _CardWithTopImage;
|
|
62
|
-
_CardWithTopImage.args = {}; // export const _CardWithTopImage = (args) => {
|
|
63
|
-
// return (
|
|
64
|
-
// <CardWithTopImage image={logo} roundedImage shadow/>
|
|
65
|
-
// )
|
|
66
|
-
// }
|
|
67
|
-
// export const CardWithChild = (args) => {
|
|
68
|
-
// return (
|
|
69
|
-
// <CardWithTopImage image={logo} roundedImage shadow>
|
|
70
|
-
// <Button className='mt-20' ctaText='Hello'/>
|
|
71
|
-
// </CardWithTopImage>
|
|
72
|
-
// )
|
|
73
|
-
// }
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports._Carousel = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _index = _interopRequireDefault(require("./index"));
|
|
11
|
-
|
|
12
|
-
require("./index.css");
|
|
13
|
-
|
|
14
|
-
var _example = _interopRequireDefault(require("../../../Assets/Videos/example.mp4"));
|
|
15
|
-
|
|
16
|
-
var _Video = _interopRequireDefault(require("../../Atoms/Video"));
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
20
|
-
const textSlides = [/*#__PURE__*/_react.default.createElement("div", {
|
|
21
|
-
className: "bg-black"
|
|
22
|
-
}, /*#__PURE__*/_react.default.createElement(_Video.default, {
|
|
23
|
-
classes: "mx-auto",
|
|
24
|
-
mp4File: _example.default,
|
|
25
|
-
autoPlay: true
|
|
26
|
-
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
27
|
-
className: "h-32 border bg-brand-primary"
|
|
28
|
-
}, /*#__PURE__*/_react.default.createElement("h3", {
|
|
29
|
-
className: "text-center pt-8 text-4xl"
|
|
30
|
-
}, "2")), /*#__PURE__*/_react.default.createElement("div", {
|
|
31
|
-
className: "h-32 border bg-brand-secondary"
|
|
32
|
-
}, /*#__PURE__*/_react.default.createElement("h3", {
|
|
33
|
-
className: "text-center pt-8 text-4xl"
|
|
34
|
-
}, "3"))];
|
|
35
|
-
var _default = {
|
|
36
|
-
title: 'Trepur Components/Organisms/Carousel',
|
|
37
|
-
component: _index.default,
|
|
38
|
-
parameters: {},
|
|
39
|
-
argTypes: {
|
|
40
|
-
slides: {
|
|
41
|
-
description: '',
|
|
42
|
-
control: 'array',
|
|
43
|
-
table: {
|
|
44
|
-
category: ''
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
slidesToShow: {
|
|
48
|
-
description: '',
|
|
49
|
-
control: 'number',
|
|
50
|
-
table: {
|
|
51
|
-
category: ''
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
slidesToScroll: {
|
|
55
|
-
description: '',
|
|
56
|
-
control: 'number',
|
|
57
|
-
table: {
|
|
58
|
-
category: ''
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
infinite: {
|
|
62
|
-
description: '',
|
|
63
|
-
control: 'boolean',
|
|
64
|
-
table: {
|
|
65
|
-
category: ''
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
arrows: {
|
|
69
|
-
description: '',
|
|
70
|
-
control: 'boolean',
|
|
71
|
-
table: {
|
|
72
|
-
category: ''
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
dots: {
|
|
76
|
-
description: '',
|
|
77
|
-
control: 'boolean',
|
|
78
|
-
table: {
|
|
79
|
-
category: ''
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
speed: {
|
|
83
|
-
description: 'milliseconds',
|
|
84
|
-
control: 'number',
|
|
85
|
-
table: {
|
|
86
|
-
category: ''
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
autoPlay: {
|
|
90
|
-
description: '',
|
|
91
|
-
control: 'boolean',
|
|
92
|
-
table: {
|
|
93
|
-
category: ''
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
autoPlaySpeed: {
|
|
97
|
-
description: 'milliseconds',
|
|
98
|
-
control: 'number',
|
|
99
|
-
table: {
|
|
100
|
-
category: ''
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
speed: {
|
|
104
|
-
description: 'milliseconds',
|
|
105
|
-
control: 'number',
|
|
106
|
-
table: {
|
|
107
|
-
category: ''
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
args: {
|
|
112
|
-
slides: textSlides,
|
|
113
|
-
slidesToShow: 1,
|
|
114
|
-
slidesToScroll: 1,
|
|
115
|
-
dots: true,
|
|
116
|
-
arrows: true,
|
|
117
|
-
infinite: true,
|
|
118
|
-
autoPlay: true,
|
|
119
|
-
autoPlaySpeed: 2500,
|
|
120
|
-
speed: 1000
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
exports.default = _default;
|
|
124
|
-
|
|
125
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
126
|
-
|
|
127
|
-
const _Carousel = Template.bind({});
|
|
128
|
-
|
|
129
|
-
exports._Carousel = _Carousel;
|
|
130
|
-
_Carousel.args = {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports._ChevronCard = 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/Organisms/Chevron Card',
|
|
16
|
-
component: _index.default,
|
|
17
|
-
parameters: {},
|
|
18
|
-
argTypes: {},
|
|
19
|
-
args: {}
|
|
20
|
-
};
|
|
21
|
-
exports.default = _default;
|
|
22
|
-
|
|
23
|
-
const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);
|
|
24
|
-
|
|
25
|
-
const _ChevronCard = Template.bind({});
|
|
26
|
-
|
|
27
|
-
exports._ChevronCard = _ChevronCard;
|
|
28
|
-
_ChevronCard.args = {};
|