trepur_components 1.0.2 → 1.0.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/src/lib/components/Accordion/index.js +3 -1
- package/dist/src/lib/components/Accordion/index.js.map +1 -1
- package/dist/src/lib/components/Accordion/style.module.css +4 -0
- package/dist/src/lib/components/Accordion/style.module.css.map +1 -0
- package/dist/src/lib/components/Carousel/index.d.ts +0 -1
- package/dist/src/lib/components/Carousel/index.js +1 -1
- package/dist/src/lib/components/Carousel/index.js.map +1 -1
- package/dist/src/lib/components/ImageLinkList/index.d.ts +1 -1
- package/dist/src/lib/components/Nav/index.d.ts +1 -1
- package/dist/src/lib/components/Nav/index.js +2 -2
- package/dist/src/lib/components/Nav/index.js.map +1 -1
- package/dist/src/lib/components/SocialBlock/index.js +2 -2
- package/dist/src/lib/components/SocialBlock/index.js.map +1 -1
- package/dist/{components → src/lib/components}/Timeline/index.css +2 -0
- package/dist/src/lib/components/Timeline/index.css.map +1 -0
- package/dist/{components → src/lib/components}/Tubestops/index.css +35 -30
- package/dist/src/lib/components/Tubestops/index.css.map +1 -0
- package/dist/src/lib/typography/index.d.ts +1 -3
- package/dist/src/lib/typography/index.js +1 -1
- package/dist/src/lib/typography/index.js.map +1 -1
- package/package.json +13 -6
- package/dist/components/Accordion/Accordion.stories.tsx +0 -88
- package/dist/components/Accordion/index.tsx +0 -31
- package/dist/components/AlertBar/AlertBar.stories.tsx +0 -105
- package/dist/components/AlertBar/index.tsx +0 -127
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.tsx +0 -60
- package/dist/components/Breadcrumbs/index.tsx +0 -55
- package/dist/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.tsx +0 -52
- package/dist/components/BreadcrumbsBordered/index.tsx +0 -44
- package/dist/components/BreadcrumbsItem/BreadcrumbsItem.stories.tsx +0 -54
- package/dist/components/BreadcrumbsItem/index.tsx +0 -151
- package/dist/components/Button/button.stories.tsx +0 -148
- package/dist/components/Button/index.tsx +0 -91
- package/dist/components/Card/Card.stories.tsx +0 -150
- package/dist/components/Card/index.tsx +0 -162
- package/dist/components/CardWithTopImage/CardWithTopImage.stories.tsx +0 -48
- package/dist/components/CardWithTopImage/index.tsx +0 -40
- package/dist/components/Carousel/Carousel.stories.tsx +0 -369
- package/dist/components/Carousel/index.tsx +0 -267
- package/dist/components/ChevronCard/ChevronCard.stories.tsx +0 -21
- package/dist/components/ChevronCard/index.tsx +0 -39
- package/dist/components/Collapsible/Collapsible.stories.tsx +0 -70
- package/dist/components/Collapsible/index.tsx +0 -124
- package/dist/components/Column/Column.stories.tsx +0 -82
- package/dist/components/Column/index.tsx +0 -114
- package/dist/components/Container/Container.stories.tsx +0 -38
- package/dist/components/Container/index.tsx +0 -30
- package/dist/components/FooterBar/FooterBar.stories.tsx +0 -57
- package/dist/components/FooterBar/index.tsx +0 -44
- package/dist/components/Form/Form.stories.tsx +0 -93
- package/dist/components/Form/index.tsx +0 -58
- package/dist/components/FyreCard/FyreCard.stories.tsx +0 -29
- package/dist/components/FyreCard/index.tsx +0 -46
- package/dist/components/Greeting/Greeting.stories.tsx +0 -42
- package/dist/components/Greeting/index.tsx +0 -46
- package/dist/components/HamburgerIcon/HamburgerIcon.stories.tsx +0 -50
- package/dist/components/HamburgerIcon/index.tsx +0 -65
- package/dist/components/Icon/Icon.stories.tsx +0 -102
- package/dist/components/Icon/index.tsx +0 -112
- package/dist/components/Image/Image.stories.tsx +0 -88
- package/dist/components/Image/index.tsx +0 -113
- package/dist/components/ImageLink/ImageLink.stories.tsx +0 -60
- package/dist/components/ImageLink/index.tsx +0 -62
- package/dist/components/ImageLinkList/ImageLinkList.stories.tsx +0 -34
- package/dist/components/ImageLinkList/index.tsx +0 -33
- package/dist/components/InformationIcon/InformationIcon.stories.tsx +0 -86
- package/dist/components/InformationIcon/index.tsx +0 -84
- package/dist/components/Input/Input.stories.tsx +0 -99
- package/dist/components/Input/index.tsx +0 -126
- package/dist/components/Jumbotron/Jumbotron.stories.tsx +0 -22
- package/dist/components/Jumbotron/index.tsx +0 -25
- package/dist/components/Nav/Nav.stories.tsx +0 -155
- package/dist/components/Nav/index.tsx +0 -180
- package/dist/components/NavItem/NavItem.stories.tsx +0 -89
- package/dist/components/NavItem/index.tsx +0 -65
- package/dist/components/NewsCard/NewsCard.stories.tsx +0 -71
- package/dist/components/NewsCard/index.tsx +0 -48
- package/dist/components/Profile/Profile.stories.tsx +0 -50
- package/dist/components/Profile/index.tsx +0 -87
- package/dist/components/Row/Row.stories.tsx +0 -51
- package/dist/components/Row/index.tsx +0 -24
- package/dist/components/Search/Search.stories.tsx +0 -58
- package/dist/components/Search/index.tsx +0 -58
- package/dist/components/SocialBlock/SocialBlock.stories.tsx +0 -114
- package/dist/components/SocialBlock/index.tsx +0 -161
- package/dist/components/StarRating/StarRating.stories.tsx +0 -23
- package/dist/components/StarRating/index.tsx +0 -71
- package/dist/components/Testimonial/Testimonial.stories.tsx +0 -110
- package/dist/components/Testimonial/index.tsx +0 -50
- package/dist/components/TextAndTitle/TextAndTitle.stories.tsx +0 -65
- package/dist/components/TextAndTitle/index.tsx +0 -257
- package/dist/components/TextArea/TextArea.stories.tsx +0 -67
- package/dist/components/TextArea/index.tsx +0 -97
- package/dist/components/Timeline/Timeline.stories.tsx +0 -100
- package/dist/components/Timeline/index.tsx +0 -315
- package/dist/components/Tubestops/Tubestops.stories.tsx +0 -66
- package/dist/components/Tubestops/index.tsx +0 -77
- package/dist/components/UserIcon/UserIcon.stories.tsx +0 -67
- package/dist/components/UserIcon/index.tsx +0 -42
- package/dist/components/Video/Video.stories.tsx +0 -23
- package/dist/components/Video/index.tsx +0 -49
- package/dist/fonts/Sora/OFL.txt +0 -93
- package/dist/fonts/Sora/README.txt +0 -70
- package/dist/fonts/Sora/Sora-VariableFont_wght.ttf +0 -0
- package/dist/fonts/Sora/static/Sora-Bold.ttf +0 -0
- package/dist/fonts/Sora/static/Sora-ExtraBold.ttf +0 -0
- package/dist/fonts/Sora/static/Sora-ExtraLight.ttf +0 -0
- package/dist/fonts/Sora/static/Sora-Light.ttf +0 -0
- package/dist/fonts/Sora/static/Sora-Medium.ttf +0 -0
- package/dist/fonts/Sora/static/Sora-Regular.ttf +0 -0
- package/dist/fonts/Sora/static/Sora-SemiBold.ttf +0 -0
- package/dist/fonts/Sora/static/Sora-Thin.ttf +0 -0
- package/dist/index.js +0 -272
- package/dist/src/lib/components/Accordion/Accordion.stories.d.ts +0 -6
- package/dist/src/lib/components/Accordion/Accordion.stories.js +0 -80
- package/dist/src/lib/components/Accordion/Accordion.stories.js.map +0 -1
- package/dist/src/lib/components/AlertBar/AlertBar.stories.d.ts +0 -6
- package/dist/src/lib/components/AlertBar/AlertBar.stories.js +0 -91
- package/dist/src/lib/components/AlertBar/AlertBar.stories.js.map +0 -1
- package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -6
- package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.js +0 -56
- package/dist/src/lib/components/Breadcrumbs/Breadcrumbs.stories.js.map +0 -1
- package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.d.ts +0 -6
- package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +0 -45
- package/dist/src/lib/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js.map +0 -1
- package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.d.ts +0 -6
- package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.js +0 -50
- package/dist/src/lib/components/BreadcrumbsItem/BreadcrumbsItem.stories.js.map +0 -1
- package/dist/src/lib/components/Button/button.stories.d.ts +0 -6
- package/dist/src/lib/components/Button/button.stories.js +0 -132
- package/dist/src/lib/components/Button/button.stories.js.map +0 -1
- package/dist/src/lib/components/Card/Card.stories.d.ts +0 -8
- package/dist/src/lib/components/Card/Card.stories.js +0 -124
- package/dist/src/lib/components/Card/Card.stories.js.map +0 -1
- package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.d.ts +0 -6
- package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.js +0 -40
- package/dist/src/lib/components/CardWithTopImage/CardWithTopImage.stories.js.map +0 -1
- package/dist/src/lib/components/Carousel/Carousel.stories.d.ts +0 -6
- package/dist/src/lib/components/Carousel/Carousel.stories.js +0 -297
- package/dist/src/lib/components/Carousel/Carousel.stories.js.map +0 -1
- package/dist/src/lib/components/ChevronCard/ChevronCard.stories.d.ts +0 -6
- package/dist/src/lib/components/ChevronCard/ChevronCard.stories.js +0 -14
- package/dist/src/lib/components/ChevronCard/ChevronCard.stories.js.map +0 -1
- package/dist/src/lib/components/Collapsible/Collapsible.stories.d.ts +0 -6
- package/dist/src/lib/components/Collapsible/Collapsible.stories.js +0 -66
- package/dist/src/lib/components/Collapsible/Collapsible.stories.js.map +0 -1
- package/dist/src/lib/components/Column/Column.stories.d.ts +0 -6
- package/dist/src/lib/components/Column/Column.stories.js +0 -64
- package/dist/src/lib/components/Column/Column.stories.js.map +0 -1
- package/dist/src/lib/components/Container/Container.stories.d.ts +0 -6
- package/dist/src/lib/components/Container/Container.stories.js +0 -30
- package/dist/src/lib/components/Container/Container.stories.js.map +0 -1
- package/dist/src/lib/components/FooterBar/footerBar.stories.d.ts +0 -6
- package/dist/src/lib/components/FooterBar/footerBar.stories.js +0 -48
- package/dist/src/lib/components/FooterBar/footerBar.stories.js.map +0 -1
- package/dist/src/lib/components/Form/Form.stories.d.ts +0 -6
- package/dist/src/lib/components/Form/Form.stories.js +0 -82
- package/dist/src/lib/components/Form/Form.stories.js.map +0 -1
- package/dist/src/lib/components/FyreCard/FyreCard.stories.d.ts +0 -6
- package/dist/src/lib/components/FyreCard/FyreCard.stories.js +0 -22
- package/dist/src/lib/components/FyreCard/FyreCard.stories.js.map +0 -1
- package/dist/src/lib/components/Greeting/Greeting.stories.d.ts +0 -6
- package/dist/src/lib/components/Greeting/Greeting.stories.js +0 -33
- package/dist/src/lib/components/Greeting/Greeting.stories.js.map +0 -1
- package/dist/src/lib/components/HamburgerIcon/HamburgerIcon.stories.d.ts +0 -6
- package/dist/src/lib/components/HamburgerIcon/HamburgerIcon.stories.js +0 -46
- package/dist/src/lib/components/HamburgerIcon/HamburgerIcon.stories.js.map +0 -1
- package/dist/src/lib/components/Icon/Icon.stories.d.ts +0 -6
- package/dist/src/lib/components/Icon/Icon.stories.js +0 -87
- package/dist/src/lib/components/Icon/Icon.stories.js.map +0 -1
- package/dist/src/lib/components/Image/Image.stories.d.ts +0 -6
- package/dist/src/lib/components/Image/Image.stories.js +0 -73
- package/dist/src/lib/components/Image/Image.stories.js.map +0 -1
- package/dist/src/lib/components/ImageLink/ImageLink.stories.d.ts +0 -9
- package/dist/src/lib/components/ImageLink/ImageLink.stories.js +0 -50
- package/dist/src/lib/components/ImageLink/ImageLink.stories.js.map +0 -1
- package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.d.ts +0 -6
- package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.js +0 -27
- package/dist/src/lib/components/ImageLinkList/ImageLinkList.stories.js.map +0 -1
- package/dist/src/lib/components/InformationIcon/InformationIcon.stories.d.ts +0 -6
- package/dist/src/lib/components/InformationIcon/InformationIcon.stories.js +0 -73
- package/dist/src/lib/components/InformationIcon/InformationIcon.stories.js.map +0 -1
- package/dist/src/lib/components/Input/Input.stories.d.ts +0 -6
- package/dist/src/lib/components/Input/Input.stories.js +0 -95
- package/dist/src/lib/components/Input/Input.stories.js.map +0 -1
- package/dist/src/lib/components/Jumbotron/Jumbotron.stories.d.ts +0 -6
- package/dist/src/lib/components/Jumbotron/Jumbotron.stories.js +0 -16
- package/dist/src/lib/components/Jumbotron/Jumbotron.stories.js.map +0 -1
- package/dist/src/lib/components/Nav/Nav.stories.d.ts +0 -6
- package/dist/src/lib/components/Nav/Nav.stories.js +0 -134
- package/dist/src/lib/components/Nav/Nav.stories.js.map +0 -1
- package/dist/src/lib/components/NavItem/NavItem.stories.d.ts +0 -6
- package/dist/src/lib/components/NavItem/NavItem.stories.js +0 -75
- package/dist/src/lib/components/NavItem/NavItem.stories.js.map +0 -1
- package/dist/src/lib/components/NewsCard/NewsCard.stories.d.ts +0 -6
- package/dist/src/lib/components/NewsCard/NewsCard.stories.js +0 -60
- package/dist/src/lib/components/NewsCard/NewsCard.stories.js.map +0 -1
- package/dist/src/lib/components/Profile/Profile.stories.d.ts +0 -6
- package/dist/src/lib/components/Profile/Profile.stories.js +0 -41
- package/dist/src/lib/components/Profile/Profile.stories.js.map +0 -1
- package/dist/src/lib/components/Row/Row.stories.d.ts +0 -6
- package/dist/src/lib/components/Row/Row.stories.js +0 -37
- package/dist/src/lib/components/Row/Row.stories.js.map +0 -1
- package/dist/src/lib/components/Search/Search.stories.d.ts +0 -6
- package/dist/src/lib/components/Search/Search.stories.js +0 -48
- package/dist/src/lib/components/Search/Search.stories.js.map +0 -1
- package/dist/src/lib/components/SocialBlock/SocialBlock.stories.d.ts +0 -6
- package/dist/src/lib/components/SocialBlock/SocialBlock.stories.js +0 -58
- package/dist/src/lib/components/SocialBlock/SocialBlock.stories.js.map +0 -1
- package/dist/src/lib/components/StarRating/StarRating.stories.d.ts +0 -6
- package/dist/src/lib/components/StarRating/StarRating.stories.js +0 -17
- package/dist/src/lib/components/StarRating/StarRating.stories.js.map +0 -1
- package/dist/src/lib/components/Testimonial/Testimonial.stories.d.ts +0 -6
- package/dist/src/lib/components/Testimonial/Testimonial.stories.js +0 -95
- package/dist/src/lib/components/Testimonial/Testimonial.stories.js.map +0 -1
- package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.d.ts +0 -6
- package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.js +0 -63
- package/dist/src/lib/components/TextAndTitle/TextAndTitle.stories.js.map +0 -1
- package/dist/src/lib/components/TextArea/TextArea.stories.d.ts +0 -6
- package/dist/src/lib/components/TextArea/TextArea.stories.js +0 -63
- package/dist/src/lib/components/TextArea/TextArea.stories.js.map +0 -1
- package/dist/src/lib/components/Timeline/Timeline.stories.d.ts +0 -6
- package/dist/src/lib/components/Timeline/Timeline.stories.js +0 -87
- package/dist/src/lib/components/Timeline/Timeline.stories.js.map +0 -1
- package/dist/src/lib/components/Tubestops/Tubestops.stories.d.ts +0 -6
- package/dist/src/lib/components/Tubestops/Tubestops.stories.js +0 -62
- package/dist/src/lib/components/Tubestops/Tubestops.stories.js.map +0 -1
- package/dist/src/lib/components/UserIcon/UserIcon.stories.d.ts +0 -6
- package/dist/src/lib/components/UserIcon/UserIcon.stories.js +0 -63
- package/dist/src/lib/components/UserIcon/UserIcon.stories.js.map +0 -1
- package/dist/src/lib/components/Video/Video.stories.d.ts +0 -6
- package/dist/src/lib/components/Video/Video.stories.js +0 -17
- package/dist/src/lib/components/Video/Video.stories.js.map +0 -1
- package/dist/src/lib/typography/Fonts.stories.d.ts +0 -6
- package/dist/src/lib/typography/Fonts.stories.js +0 -12
- package/dist/src/lib/typography/Fonts.stories.js.map +0 -1
- package/dist/styles/base.css +0 -73
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Carousel from './index';
|
|
3
|
-
import { idAndClassName } from '../../utils/controls';
|
|
4
|
-
import Card from '../Card';
|
|
5
|
-
import logo from '@assets/images/primary-logo.png';
|
|
6
|
-
const slides = [
|
|
7
|
-
React.createElement(Card, { key: 'card_1', className: 'keen-slider__slide', image: logo, subTitle: 'This is a subtitle', description: 'This is a description paragraph', extraText: 'This is another paragraph', rounded: true, bordered: true }),
|
|
8
|
-
React.createElement(Card, { key: 'card_2', className: 'keen-slider__slide', image: logo, subTitle: 'This is a subtitle', description: 'This is a description paragraph', extraText: 'This is another paragraph', rounded: true, bordered: true }),
|
|
9
|
-
React.createElement(Card, { key: 'card_3', className: 'keen-slider__slide', image: logo, subTitle: 'This is a subtitle', description: 'This is a description paragraph', extraText: 'This is another paragraph', rounded: true, bordered: true }),
|
|
10
|
-
React.createElement(Card, { key: 'card_4', className: 'keen-slider__slide', image: logo, subTitle: 'This is a subtitle', description: 'This is a description paragraph', extraText: 'This is another paragraph', rounded: true, bordered: true })
|
|
11
|
-
];
|
|
12
|
-
const componentMeta = {
|
|
13
|
-
title: 'Trepur Components/Rupert Bennett/Organisms/Carousel',
|
|
14
|
-
component: Carousel,
|
|
15
|
-
parameters: {},
|
|
16
|
-
argTypes: Object.assign(Object.assign({}, idAndClassName), { breakpoints: {
|
|
17
|
-
type: { name: 'number', required: false },
|
|
18
|
-
description: 'The slide to begin on',
|
|
19
|
-
table: {
|
|
20
|
-
category: '',
|
|
21
|
-
subcategory: '',
|
|
22
|
-
type: { summary: 'number' },
|
|
23
|
-
defaultValue: { summary: 'undefined' }
|
|
24
|
-
}
|
|
25
|
-
}, defaultAnimation: {
|
|
26
|
-
type: { name: 'number', required: false },
|
|
27
|
-
description: 'The slide to begin on',
|
|
28
|
-
table: {
|
|
29
|
-
category: '',
|
|
30
|
-
subcategory: '',
|
|
31
|
-
type: { summary: 'number' },
|
|
32
|
-
defaultValue: { summary: 'undefined' }
|
|
33
|
-
}
|
|
34
|
-
}, drag: {
|
|
35
|
-
type: { name: 'boolean', required: false },
|
|
36
|
-
description: 'Can the carousel be dragged or not',
|
|
37
|
-
table: {
|
|
38
|
-
category: '',
|
|
39
|
-
subcategory: '',
|
|
40
|
-
type: { summary: 'boolean' },
|
|
41
|
-
defaultValue: { summary: 'undefined' }
|
|
42
|
-
}
|
|
43
|
-
}, dragSpeed: {
|
|
44
|
-
type: { name: 'number', required: false },
|
|
45
|
-
description: 'The slide to begin on',
|
|
46
|
-
table: {
|
|
47
|
-
category: '',
|
|
48
|
-
subcategory: '',
|
|
49
|
-
type: { summary: 'number' },
|
|
50
|
-
defaultValue: { summary: 'undefined' }
|
|
51
|
-
}
|
|
52
|
-
}, initial: {
|
|
53
|
-
type: { name: 'number', required: false },
|
|
54
|
-
description: 'The slide to begin on',
|
|
55
|
-
table: {
|
|
56
|
-
category: '',
|
|
57
|
-
subcategory: '',
|
|
58
|
-
type: { summary: 'number' },
|
|
59
|
-
defaultValue: { summary: 'undefined' }
|
|
60
|
-
}
|
|
61
|
-
}, loop: {
|
|
62
|
-
type: { name: 'boolean', required: false },
|
|
63
|
-
description: 'loop the end back to the start',
|
|
64
|
-
table: {
|
|
65
|
-
category: '',
|
|
66
|
-
subcategory: '',
|
|
67
|
-
type: { summary: 'boolean' },
|
|
68
|
-
defaultValue: { summary: 'undefined' }
|
|
69
|
-
}
|
|
70
|
-
}, mode: {
|
|
71
|
-
type: { name: 'string', required: false },
|
|
72
|
-
description: 'snap, free or snap-free',
|
|
73
|
-
table: {
|
|
74
|
-
category: '',
|
|
75
|
-
subcategory: '',
|
|
76
|
-
type: { summary: 'string' },
|
|
77
|
-
defaultValue: { summary: 'undefined' }
|
|
78
|
-
}
|
|
79
|
-
}, range: {
|
|
80
|
-
type: { name: 'number', required: false },
|
|
81
|
-
description: '',
|
|
82
|
-
table: {
|
|
83
|
-
category: '',
|
|
84
|
-
subcategory: '',
|
|
85
|
-
type: { summary: 'number' },
|
|
86
|
-
defaultValue: { summary: 'undefined' }
|
|
87
|
-
}
|
|
88
|
-
}, renderMode: {
|
|
89
|
-
type: { name: 'number', required: false },
|
|
90
|
-
description: '',
|
|
91
|
-
table: {
|
|
92
|
-
category: '',
|
|
93
|
-
subcategory: '',
|
|
94
|
-
type: { summary: 'number' },
|
|
95
|
-
defaultValue: { summary: 'undefined' }
|
|
96
|
-
}
|
|
97
|
-
}, rtl: {
|
|
98
|
-
type: { name: 'boolean', required: false },
|
|
99
|
-
description: 'to display right to left',
|
|
100
|
-
table: {
|
|
101
|
-
category: '',
|
|
102
|
-
subcategory: '',
|
|
103
|
-
type: { summary: 'boolean' },
|
|
104
|
-
defaultValue: { summary: 'undefined' }
|
|
105
|
-
}
|
|
106
|
-
}, rubberband: {
|
|
107
|
-
type: { name: 'boolean', required: false },
|
|
108
|
-
description: '',
|
|
109
|
-
table: {
|
|
110
|
-
category: '',
|
|
111
|
-
subcategory: '',
|
|
112
|
-
type: { summary: 'boolean' },
|
|
113
|
-
defaultValue: { summary: 'undefined' }
|
|
114
|
-
}
|
|
115
|
-
}, slides: {
|
|
116
|
-
type: { name: 'boolean', required: false },
|
|
117
|
-
description: '',
|
|
118
|
-
table: {
|
|
119
|
-
category: '',
|
|
120
|
-
subcategory: '',
|
|
121
|
-
type: { summary: 'boolean' },
|
|
122
|
-
defaultValue: { summary: 'undefined' }
|
|
123
|
-
}
|
|
124
|
-
}, vertical: {
|
|
125
|
-
type: { name: 'boolean', required: false },
|
|
126
|
-
description: 'displays the slider vertically',
|
|
127
|
-
table: {
|
|
128
|
-
category: '',
|
|
129
|
-
subcategory: '',
|
|
130
|
-
type: { summary: 'boolean' },
|
|
131
|
-
defaultValue: { summary: 'undefined' }
|
|
132
|
-
}
|
|
133
|
-
}, animationStarted: {
|
|
134
|
-
type: { name: 'boolean', required: false },
|
|
135
|
-
description: '',
|
|
136
|
-
table: {
|
|
137
|
-
category: '',
|
|
138
|
-
subcategory: '',
|
|
139
|
-
type: { summary: 'boolean' },
|
|
140
|
-
defaultValue: { summary: 'undefined' }
|
|
141
|
-
}
|
|
142
|
-
}, animationStopped: {
|
|
143
|
-
type: { name: 'boolean', required: false },
|
|
144
|
-
description: '',
|
|
145
|
-
table: {
|
|
146
|
-
category: '',
|
|
147
|
-
subcategory: '',
|
|
148
|
-
type: { summary: 'boolean' },
|
|
149
|
-
defaultValue: { summary: 'undefined' }
|
|
150
|
-
}
|
|
151
|
-
}, animationEnded: {
|
|
152
|
-
type: { name: 'boolean', required: false },
|
|
153
|
-
description: '',
|
|
154
|
-
table: {
|
|
155
|
-
category: '',
|
|
156
|
-
subcategory: '',
|
|
157
|
-
type: { summary: 'boolean' },
|
|
158
|
-
defaultValue: { summary: 'undefined' }
|
|
159
|
-
}
|
|
160
|
-
}, destroyed: {
|
|
161
|
-
type: { name: 'boolean', required: false },
|
|
162
|
-
description: '',
|
|
163
|
-
table: {
|
|
164
|
-
category: '',
|
|
165
|
-
subcategory: '',
|
|
166
|
-
type: { summary: 'boolean' },
|
|
167
|
-
defaultValue: { summary: 'undefined' }
|
|
168
|
-
}
|
|
169
|
-
}, detailsChanged: {
|
|
170
|
-
type: { name: 'boolean', required: false },
|
|
171
|
-
description: '',
|
|
172
|
-
table: {
|
|
173
|
-
category: '',
|
|
174
|
-
subcategory: '',
|
|
175
|
-
type: { summary: 'boolean' },
|
|
176
|
-
defaultValue: { summary: 'undefined' }
|
|
177
|
-
}
|
|
178
|
-
}, dragged: {
|
|
179
|
-
type: { name: 'boolean', required: false },
|
|
180
|
-
description: '',
|
|
181
|
-
table: {
|
|
182
|
-
category: '',
|
|
183
|
-
subcategory: '',
|
|
184
|
-
type: { summary: 'boolean' },
|
|
185
|
-
defaultValue: { summary: 'undefined' }
|
|
186
|
-
}
|
|
187
|
-
}, dragStarted: {
|
|
188
|
-
type: { name: 'boolean', required: false },
|
|
189
|
-
description: '',
|
|
190
|
-
table: {
|
|
191
|
-
category: '',
|
|
192
|
-
subcategory: '',
|
|
193
|
-
type: { summary: 'boolean' },
|
|
194
|
-
defaultValue: { summary: 'undefined' }
|
|
195
|
-
}
|
|
196
|
-
}, dragChecked: {
|
|
197
|
-
type: { name: 'boolean', required: false },
|
|
198
|
-
description: '',
|
|
199
|
-
table: {
|
|
200
|
-
category: '',
|
|
201
|
-
subcategory: '',
|
|
202
|
-
type: { summary: 'boolean' },
|
|
203
|
-
defaultValue: { summary: 'undefined' }
|
|
204
|
-
}
|
|
205
|
-
}, dragEnded: {
|
|
206
|
-
type: { name: 'boolean', required: false },
|
|
207
|
-
description: '',
|
|
208
|
-
table: {
|
|
209
|
-
category: '',
|
|
210
|
-
subcategory: '',
|
|
211
|
-
type: { summary: 'boolean' },
|
|
212
|
-
defaultValue: { summary: 'undefined' }
|
|
213
|
-
}
|
|
214
|
-
}, beforeOptionsChanged: {
|
|
215
|
-
type: { name: 'boolean', required: false },
|
|
216
|
-
description: '',
|
|
217
|
-
table: {
|
|
218
|
-
category: '',
|
|
219
|
-
subcategory: '',
|
|
220
|
-
type: { summary: 'boolean' },
|
|
221
|
-
defaultValue: { summary: 'undefined' }
|
|
222
|
-
}
|
|
223
|
-
}, optionsChanged: {
|
|
224
|
-
type: { name: 'boolean', required: false },
|
|
225
|
-
description: '',
|
|
226
|
-
table: {
|
|
227
|
-
category: '',
|
|
228
|
-
subcategory: '',
|
|
229
|
-
type: { summary: 'boolean' },
|
|
230
|
-
defaultValue: { summary: 'undefined' }
|
|
231
|
-
}
|
|
232
|
-
}, updated: {
|
|
233
|
-
type: { name: 'boolean', required: false },
|
|
234
|
-
description: '',
|
|
235
|
-
table: {
|
|
236
|
-
category: '',
|
|
237
|
-
subcategory: '',
|
|
238
|
-
type: { summary: 'boolean' },
|
|
239
|
-
defaultValue: { summary: 'undefined' }
|
|
240
|
-
}
|
|
241
|
-
}, perView: {
|
|
242
|
-
type: { name: 'number', required: false },
|
|
243
|
-
description: 'The number of slides to show at a time',
|
|
244
|
-
table: {
|
|
245
|
-
category: '',
|
|
246
|
-
subcategory: '',
|
|
247
|
-
type: { summary: 'number' },
|
|
248
|
-
defaultValue: { summary: 'undefined' }
|
|
249
|
-
}
|
|
250
|
-
}, spacing: {
|
|
251
|
-
type: { name: 'number', required: false },
|
|
252
|
-
description: 'The spacing left and right of each slide',
|
|
253
|
-
table: {
|
|
254
|
-
category: '',
|
|
255
|
-
subcategory: '',
|
|
256
|
-
type: { summary: 'number' },
|
|
257
|
-
defaultValue: { summary: 'undefined' }
|
|
258
|
-
}
|
|
259
|
-
}, number: {
|
|
260
|
-
type: { name: 'number', required: false },
|
|
261
|
-
description: '',
|
|
262
|
-
table: {
|
|
263
|
-
category: '',
|
|
264
|
-
subcategory: '',
|
|
265
|
-
type: { summary: 'number' },
|
|
266
|
-
defaultValue: { summary: 'undefined' }
|
|
267
|
-
}
|
|
268
|
-
}, origin: {
|
|
269
|
-
type: { name: 'boolean', required: false },
|
|
270
|
-
description: '',
|
|
271
|
-
table: {
|
|
272
|
-
category: '',
|
|
273
|
-
subcategory: '',
|
|
274
|
-
type: { summary: 'boolean' },
|
|
275
|
-
defaultValue: { summary: 'undefined' }
|
|
276
|
-
}
|
|
277
|
-
} }),
|
|
278
|
-
args: {
|
|
279
|
-
loop: true,
|
|
280
|
-
drag: true,
|
|
281
|
-
slides,
|
|
282
|
-
spacing: 16,
|
|
283
|
-
perView: 4,
|
|
284
|
-
arrows: {
|
|
285
|
-
visible: true
|
|
286
|
-
},
|
|
287
|
-
dots: {
|
|
288
|
-
visible: true,
|
|
289
|
-
colours: 'bg-primary',
|
|
290
|
-
activeColours: 'bg-secondary'
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
};
|
|
294
|
-
const Template = (args) => React.createElement(Carousel, Object.assign({}, args));
|
|
295
|
-
export const _Carousel = Template.bind({});
|
|
296
|
-
export default componentMeta;
|
|
297
|
-
//# sourceMappingURL=Carousel.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.stories.js","sourceRoot":"","sources":["../../../../../src/lib/components/Carousel/Carousel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,QAAQ,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,IAAI,MAAM,kBAAkB,CAAA;AAEnC,OAAO,IAAI,MAAM,iCAAiC,CAAA;AAElD,MAAM,MAAM,GAAG;IACb,oBAAC,IAAI,IACH,GAAG,EAAC,QAAQ,EACZ,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,IAAI,EACX,QAAQ,EAAC,oBAAoB,EAC7B,WAAW,EAAC,iCAAiC,EAC7C,SAAS,EAAC,2BAA2B,EACrC,OAAO,QACP,QAAQ,SACR;IACF,oBAAC,IAAI,IACH,GAAG,EAAC,QAAQ,EACZ,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,IAAI,EACX,QA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AAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;YACzC,WAAW,EAAE,EAAE;YACf,KAAK,EAAE;gBACL,QAAQ,EAAE,EAAE;gBACZ,WAAW,EAAE,EAAE;gBACf,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;gBAC3B,YAAY,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;aACvC;SACF,EACD,MAAM,EAAE;YACN,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC1C,WAAW,EAAE,EAAE;YACf,KAAK,EAAE;gBACL,QAAQ,EAAE,EAAE;gBACZ,WAAW,EAAE,EAAE;gBACf,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;gBAC5B,YAAY,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;aACvC;SACF,GACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,IAAI;QACV,MAAM;QACN,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,CAAC;QACV,MAAM,EAAE;YACN,OAAO,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,YAAY;YACrB,aAAa,EAAE,cAAc;SAC9B;KACF;CACF,CAAA;AAED,MAAM,QAAQ,GAAoC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAC,QAAQ,oBAAK,IAAI,EAAI,CAAA;AAElF,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE1C,eAAe,aAAa,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ChevronCard from './index';
|
|
3
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
4
|
-
declare const componentMeta: ComponentMeta<typeof ChevronCard>;
|
|
5
|
-
export declare const _ChevronCard: ComponentStory<React.FC<import("./index").Props>>;
|
|
6
|
-
export default componentMeta;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { idAndClassName } from '../../utils/controls';
|
|
3
|
-
import ChevronCard from './index';
|
|
4
|
-
const componentMeta = {
|
|
5
|
-
title: 'Trepur Components/Other/Organisms/Chevron Card',
|
|
6
|
-
component: ChevronCard,
|
|
7
|
-
parameters: {},
|
|
8
|
-
argTypes: Object.assign({}, idAndClassName),
|
|
9
|
-
args: {}
|
|
10
|
-
};
|
|
11
|
-
const Template = (args) => React.createElement(ChevronCard, Object.assign({}, args));
|
|
12
|
-
export const _ChevronCard = Template.bind({});
|
|
13
|
-
export default componentMeta;
|
|
14
|
-
//# sourceMappingURL=ChevronCard.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronCard.stories.js","sourceRoot":"","sources":["../../../../../src/lib/components/ChevronCard/ChevronCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,WAAW,MAAM,SAAS,CAAA;AAGjC,MAAM,aAAa,GAAsC;IACvD,KAAK,EAAE,gDAAgD;IACvD,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,EAAE;IACd,QAAQ,oBACH,cAAc,CAClB;IACD,IAAI,EAAE,EACL;CACF,CAAA;AAED,MAAM,QAAQ,GAAuC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAC,WAAW,oBAAK,IAAI,EAAI,CAAA;AAExF,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE7C,eAAe,aAAa,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import Collapsible from './index';
|
|
3
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
4
|
-
declare const componentMeta: ComponentMeta<typeof Collapsible>;
|
|
5
|
-
export declare const _Collapsible: ComponentStory<({ id, className, title, subtitle, boldTitle, borderTop, borderBottom, showBottomLine, iconProps, children }: import("./index").Props) => JSX.Element>;
|
|
6
|
-
export default componentMeta;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Collapsible from './index';
|
|
3
|
-
const componentMeta = {
|
|
4
|
-
title: 'Trepur Components/Other/Atoms/Collapsible',
|
|
5
|
-
component: Collapsible,
|
|
6
|
-
parameters: {},
|
|
7
|
-
argTypes: {
|
|
8
|
-
title: {
|
|
9
|
-
description: '',
|
|
10
|
-
control: 'text',
|
|
11
|
-
table: {
|
|
12
|
-
category: ''
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
subtitle: {
|
|
16
|
-
description: '',
|
|
17
|
-
control: 'text',
|
|
18
|
-
table: {
|
|
19
|
-
category: ''
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
borderTop: {
|
|
23
|
-
description: '',
|
|
24
|
-
control: 'boolean',
|
|
25
|
-
table: {
|
|
26
|
-
category: ''
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
borderBottom: {
|
|
30
|
-
description: '',
|
|
31
|
-
control: 'boolean',
|
|
32
|
-
table: {
|
|
33
|
-
category: ''
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
showBottomLine: {
|
|
37
|
-
description: '',
|
|
38
|
-
control: 'boolean',
|
|
39
|
-
table: {
|
|
40
|
-
category: ''
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
children: {
|
|
44
|
-
description: '',
|
|
45
|
-
control: 'array',
|
|
46
|
-
table: {
|
|
47
|
-
category: ''
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
args: {
|
|
52
|
-
title: 'This is a title',
|
|
53
|
-
subtitle: 'This is a subtitle',
|
|
54
|
-
showBottomLine: true,
|
|
55
|
-
iconProps: {
|
|
56
|
-
type: 'heart',
|
|
57
|
-
colour: 'white',
|
|
58
|
-
bgColour: 'primary'
|
|
59
|
-
},
|
|
60
|
-
children: React.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?")
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const Template = (args) => React.createElement(Collapsible, Object.assign({}, args));
|
|
64
|
-
export const _Collapsible = Template.bind({});
|
|
65
|
-
export default componentMeta;
|
|
66
|
-
//# sourceMappingURL=Collapsible.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.stories.js","sourceRoot":"","sources":["../../../../../src/lib/components/Collapsible/Collapsible.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,WAAW,MAAM,SAAS,CAAA;AAGjC,MAAM,aAAa,GAAsC;IACvD,KAAK,EAAE,2CAA2C;IAClD,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,EAAE;IACd,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,MAAM;YACf,KAAK,EAAE;gBACL,QAAQ,EAAE,EAAE;aACb;SACF;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,MAAM;YACf,KAAK,EAAE;gBACL,QAAQ,EAAE,EAAE;aACb;SACF;QACD,SAAS,EAAE;YACT,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE;gBACL,QAAQ,EAAE,EAAE;aACb;SACF;QACD,YAAY,EAAE;YACZ,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE;gBACL,QAAQ,EAAE,EAAE;aACb;SACF;QACD,cAAc,EAAE;YACd,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE;gBACL,QAAQ,EAAE,EAAE;aACb;SACF;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE;gBACL,QAAQ,EAAE,EAAE;aACb;SACF;KACF;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,iBAAiB;QACxB,QAAQ,EAAE,oBAAoB;QAC9B,cAAc,EAAE,IAAI;QACpB,SAAS,EAAE;YACT,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,OAAO;YACf,QAAQ,EAAE,SAAS;SACpB;QACD,QAAQ,EAAE,yeAA8c;KACzd;CACF,CAAA;AAED,MAAM,QAAQ,GAAuC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAC,WAAW,oBAAK,IAAI,EAAI,CAAA;AAExF,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE7C,eAAe,aAAa,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Column from './index';
|
|
3
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
4
|
-
declare const componentMeta: ComponentMeta<typeof Column>;
|
|
5
|
-
export declare const _Column: ComponentStory<React.FC<import("./index").Props>>;
|
|
6
|
-
export default componentMeta;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Column from './index';
|
|
3
|
-
import { idAndClassName } from '../../utils/controls';
|
|
4
|
-
import CardWithTopImage from '../CardWithTopImage';
|
|
5
|
-
import logo from '@assets/images/primary-logo.png';
|
|
6
|
-
const cardChild = (React.createElement(CardWithTopImage, { id: 'cardwithtopimage', imageProps: {
|
|
7
|
-
image: logo,
|
|
8
|
-
roundedFull: true
|
|
9
|
-
} },
|
|
10
|
-
React.createElement("p", null, "This is some text"),
|
|
11
|
-
React.createElement("p", null, "This is some more text"),
|
|
12
|
-
React.createElement("p", null, "This is a bit more text"),
|
|
13
|
-
React.createElement("p", null, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem odit ad sed, quam recusandae voluptatem provident eveniet beatae omnis vero minus unde facilis. Quia commodi quas odit iusto ut enim!")));
|
|
14
|
-
const componentMeta = {
|
|
15
|
-
title: 'Trepur Components/Rupert Bennett/Atoms/Column',
|
|
16
|
-
component: Column,
|
|
17
|
-
parameters: {},
|
|
18
|
-
argTypes: Object.assign(Object.assign({}, idAndClassName), { sm: {
|
|
19
|
-
type: { name: 'number', required: false },
|
|
20
|
-
description: 'The number of sections out of 12 that the component should span on sm screens',
|
|
21
|
-
table: {
|
|
22
|
-
type: { summary: 'number' }
|
|
23
|
-
}
|
|
24
|
-
}, md: {
|
|
25
|
-
type: { name: 'number', required: false },
|
|
26
|
-
description: 'The number of sections out of 12 that the component should span on md screens',
|
|
27
|
-
table: {
|
|
28
|
-
type: { summary: 'number' }
|
|
29
|
-
}
|
|
30
|
-
}, lg: {
|
|
31
|
-
type: { name: 'number', required: false },
|
|
32
|
-
description: 'The number of sections out of 12 that the component should span on lg screens',
|
|
33
|
-
table: {
|
|
34
|
-
type: { summary: 'number' }
|
|
35
|
-
}
|
|
36
|
-
}, xl: {
|
|
37
|
-
type: { name: 'number', required: false },
|
|
38
|
-
description: 'The number of sections out of 12 that the component should span on xl screens',
|
|
39
|
-
table: {
|
|
40
|
-
type: { summary: 'number' }
|
|
41
|
-
}
|
|
42
|
-
}, children: {
|
|
43
|
-
type: { name: 'other', value: 'string | React.ReactNode' },
|
|
44
|
-
description: 'The child elements to show in the component',
|
|
45
|
-
table: {
|
|
46
|
-
type: {
|
|
47
|
-
summary: 'Array'
|
|
48
|
-
},
|
|
49
|
-
defaultValue: { summary: 'undefined' }
|
|
50
|
-
}
|
|
51
|
-
} }),
|
|
52
|
-
args: {
|
|
53
|
-
sm: 12,
|
|
54
|
-
md: 8,
|
|
55
|
-
lg: 4,
|
|
56
|
-
xl: 2,
|
|
57
|
-
className: 'bg-facebook md:bg-twitter lg-whatsapp xl:bg-linkedin border',
|
|
58
|
-
children: cardChild
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
const Template = (args) => React.createElement(Column, Object.assign({}, args));
|
|
62
|
-
export const _Column = Template.bind({});
|
|
63
|
-
export default componentMeta;
|
|
64
|
-
//# sourceMappingURL=Column.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Column.stories.js","sourceRoot":"","sources":["../../../../../src/lib/components/Column/Column.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,MAAM,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,gBAAgB,MAAM,8BAA8B,CAAA;AAC3D,OAAO,IAAI,MAAM,iCAAiC,CAAA;AAGlD,MAAM,SAAS,GAAG,CAChB,oBAAC,gBAAgB,IACf,EAAE,EAAC,kBAAkB,EACrB,UAAU,EAAE;QACV,KAAK,EAAE,IAAI;QACX,WAAW,EAAE,IAAI;KAClB;IAED,mDAAwB;IACxB,wDAA6B;IAC7B,yDAA8B;IAC9B,wOAA6M,CAC5L,CACpB,CAAA;AAED,MAAM,aAAa,GAAiC;IAClD,KAAK,EAAE,+CAA+C;IACtD,SAAS,EAAE,MAAM;IACjB,UAAU,EAAE,EAAE;IACd,QAAQ,kCACH,cAAc,KACjB,EAAE,EAAE;YACF,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;YACzC,WAAW,EAAE,+EAA+E;YAC5F,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE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"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import Container from './index';
|
|
3
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
4
|
-
declare const componentMeta: ComponentMeta<typeof Container>;
|
|
5
|
-
export declare const _Container: ComponentStory<({ id, className, maxWidth, children }: import("./index").Props) => JSX.Element>;
|
|
6
|
-
export default componentMeta;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Container from './index';
|
|
3
|
-
import { idAndClassName } from '../../utils/controls';
|
|
4
|
-
const componentMeta = {
|
|
5
|
-
title: 'Trepur Components/Rupert Bennett/Atoms/Container',
|
|
6
|
-
component: Container,
|
|
7
|
-
argTypes: Object.assign(Object.assign({}, idAndClassName), { maxWidth: {
|
|
8
|
-
type: { name: 'number', required: false },
|
|
9
|
-
description: 'The number of pixles for the component to span',
|
|
10
|
-
control: { type: 'number', min: 1, step: 1 },
|
|
11
|
-
defaultValue: '1200'
|
|
12
|
-
}, children: {
|
|
13
|
-
type: { name: 'other', value: 'string | React.ReactNode' },
|
|
14
|
-
description: 'The child elements to show in the component',
|
|
15
|
-
table: {
|
|
16
|
-
type: {
|
|
17
|
-
summary: 'Array'
|
|
18
|
-
},
|
|
19
|
-
defaultValue: { summary: 'undefined' }
|
|
20
|
-
}
|
|
21
|
-
} }),
|
|
22
|
-
args: {
|
|
23
|
-
className: 'border',
|
|
24
|
-
children: React.createElement("p", null, "This is a centered container with a max width")
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
const Template = (args) => React.createElement(Container, Object.assign({}, args));
|
|
28
|
-
export const _Container = Template.bind({});
|
|
29
|
-
export default componentMeta;
|
|
30
|
-
//# sourceMappingURL=Container.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Container.stories.js","sourceRoot":"","sources":["../../../../../src/lib/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,SAAS,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAGhD,MAAM,aAAa,GAAoC;IACrD,KAAK,EAAE,kDAAkD;IACzD,SAAS,EAAE,SAAS;IACpB,QAAQ,kCACH,cAAc,KACjB,QAAQ,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;YACzC,WAAW,EAAE,gDAAgD;YAC7D,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;YAC5C,YAAY,EAAE,MAAM;SACrB,EACD,QAAQ,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,0BAA0B,EAAE;YAC1D,WAAW,EAAE,6CAA6C;YAC1D,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,OAAO,EAAE,OAAO;iBACjB;gBACD,YAAY,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;aACvC;SACF,GACF;IACD,IAAI,EAAE;QACJ,SAAS,EAAE,QAAQ;QACnB,QAAQ,EAAE,+EAAoD;KAC/D;CACF,CAAA;AAED,MAAM,QAAQ,GAAqC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAC,SAAS,oBAAK,IAAI,EAAI,CAAA;AAEpF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE3C,eAAe,aAAa,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import FooterBar from './index';
|
|
3
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
4
|
-
declare const componentMeta: ComponentMeta<typeof FooterBar>;
|
|
5
|
-
export declare const _FooterBar: ComponentStory<({ id, className, text, buttonProps, theme }: import("./index").Props) => JSX.Element>;
|
|
6
|
-
export default componentMeta;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import FooterBar from './index';
|
|
3
|
-
import { idAndClassName } from '../../utils/controls';
|
|
4
|
-
import { action } from '@storybook/addon-actions';
|
|
5
|
-
const componentMeta = {
|
|
6
|
-
title: 'Trepur Components/Rupert Bennett/Organisms/Footer Bar',
|
|
7
|
-
component: FooterBar,
|
|
8
|
-
parameters: {},
|
|
9
|
-
argTypes: Object.assign(Object.assign({}, idAndClassName), { text: {
|
|
10
|
-
type: { name: 'string', required: false },
|
|
11
|
-
description: 'The text to show on the component',
|
|
12
|
-
table: {
|
|
13
|
-
type: { summary: 'default' }
|
|
14
|
-
},
|
|
15
|
-
defaultValue: { summary: 'undefined' }
|
|
16
|
-
}, buttonProps: {
|
|
17
|
-
type: { name: 'other', value: 'object' },
|
|
18
|
-
description: 'The props to pass to the button to display on the component',
|
|
19
|
-
table: {
|
|
20
|
-
type: {
|
|
21
|
-
summary: 'object'
|
|
22
|
-
},
|
|
23
|
-
defaultValue: { summary: 'undefined' }
|
|
24
|
-
}
|
|
25
|
-
}, theme: {
|
|
26
|
-
type: { name: 'string', required: false },
|
|
27
|
-
options: ['dark', 'light'],
|
|
28
|
-
description: 'The variant of button to render',
|
|
29
|
-
table: {
|
|
30
|
-
type: { summary: 'light' },
|
|
31
|
-
defaultValue: { summary: 'light' }
|
|
32
|
-
},
|
|
33
|
-
defaultValue: 'light',
|
|
34
|
-
control: { type: 'radio' }
|
|
35
|
-
} }),
|
|
36
|
-
args: {
|
|
37
|
-
text: 'RupertBennett.com Copyright 2022 All rights reserved',
|
|
38
|
-
theme: 'dark',
|
|
39
|
-
buttonProps: {
|
|
40
|
-
children: 'Admin Panel',
|
|
41
|
-
onClick: action('button clicked')
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
const Template = (args) => React.createElement(FooterBar, Object.assign({}, args));
|
|
46
|
-
export const _FooterBar = Template.bind({});
|
|
47
|
-
export default componentMeta;
|
|
48
|
-
//# sourceMappingURL=footerBar.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"footerBar.stories.js","sourceRoot":"","sources":["../../../../../src/lib/components/FooterBar/footerBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,SAAS,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AAEjD,MAAM,aAAa,GAAoC;IACrD,KAAK,EAAE,uDAAuD;IAC9D,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,EAAE;IACd,QAAQ,kCACH,cAAc,KACjB,IAAI,EAAE;YACJ,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;YACzC,WAAW,EAAE,mCAAmC;YAChD,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;aAC7B;YACD,YAAY,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SACvC,EACD,WAAW,EAAE;YACX,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE;YACxC,WAAW,EAAE,6DAA6D;YAC1E,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,OAAO,EAAE,QAAQ;iBAClB;gBACD,YAAY,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;aACvC;SACF,EACD,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;YACzC,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;YAC1B,WAAW,EAAE,iCAAiC;YAC9C,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;gBAC1B,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;aACnC;YACD,YAAY,EAAE,OAAO;YACrB,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC3B,GACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,sDAAsD;QAC5D,KAAK,EAAE,MAAM;QACb,WAAW,EAAE;YACX,QAAQ,EAAE,aAAa;YACvB,OAAO,EAAE,MAAM,CAAC,gBAAgB,CAAC;SAClC;KACF;CACF,CAAA;AAED,MAAM,QAAQ,GAAqC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAC,SAAS,oBAAK,IAAI,EAAI,CAAA;AAEpF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE3C,eAAe,aAAa,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import Form from './index';
|
|
3
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
4
|
-
declare const componentMeta: ComponentMeta<typeof Form>;
|
|
5
|
-
export declare const _Form: ComponentStory<({ id, className, title, titleClasses, onSubmit, ref, components }: import("./index").Props) => JSX.Element>;
|
|
6
|
-
export default componentMeta;
|