trepur_components 0.2.0 → 0.2.3
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/Atoms/AlertBar/AlertBar.stories.js +64 -79
- package/dist/components/Atoms/Breadcrumbs/Breadcrumbs.stories.js +37 -45
- package/dist/components/Atoms/BreadcrumbsItem/BreadcrumbsItem.stories.js +81 -98
- package/dist/components/Atoms/Button/button.stories.js +56 -74
- package/dist/components/Atoms/Collapsible/Collapsible.stories.js +141 -154
- package/dist/components/Atoms/Column/Column.stories.js +24 -42
- package/dist/components/Atoms/Icon/Icon.stories.js +20 -38
- package/dist/components/Atoms/Image/Image.stories.js +21 -40
- package/dist/components/Atoms/InformationIcon/InformationIcon.stories.js +90 -103
- package/dist/components/Atoms/Input/Input.stories.js +42 -55
- package/dist/components/Atoms/NavItem/NavItem.stories.js +93 -108
- package/dist/components/Atoms/Row/Row.stories.js +18 -33
- package/dist/components/Atoms/StarRating/StarRating.stories.js +22 -41
- package/dist/components/Atoms/TextAndTitle/TextAndTitle.stories.js +49 -62
- package/dist/components/Atoms/Tubestops/Tubestops.stories.js +43 -51
- package/dist/components/Atoms/Video/Video.stories.js +29 -50
- package/dist/components/Organisms/Accordion/Accordion.stories.js +93 -97
- package/dist/components/Organisms/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +92 -95
- package/dist/components/Organisms/Card/Card.stories.js +128 -135
- package/dist/components/Organisms/CardWithTopImage/CardWithTopImage.stories.js +48 -57
- package/dist/components/Organisms/Carousel/Carousel.stories.js +104 -123
- package/dist/components/Organisms/Chevron Card/ChevronCard.stories.js +17 -27
- package/dist/components/Organisms/Form/Form.stories.js +112 -118
- package/dist/components/Organisms/FyreCard/FyreCard.stories.js +106 -115
- package/dist/components/Organisms/ImageLink/ImageLink.stories.js +49 -72
- package/dist/components/Organisms/ImageLinkList/ImageLinkList.stories.js +30 -43
- package/dist/components/Organisms/Jumbotron/Jumbotron.stories.js +37 -50
- package/dist/components/Organisms/Nav/Nav.stories.js +97 -107
- package/dist/components/Organisms/NewsCard/NewsCard.stories.js +52 -65
- package/dist/components/Organisms/Profile/Profile.stories.js +77 -86
- package/dist/components/Organisms/Search/Search.stories.js +41 -54
- package/dist/components/Organisms/Testimonial/Testimonial.stories.js +98 -111
- package/dist/components/Organisms/Timeline/Timeline.stories.js +66 -70
- package/dist/components/Organisms/UserIcon/UserIcon.stories.js +37 -51
- package/dist/index.css +4 -0
- package/package.json +6 -2
- package/dist/components/Atoms/Button/button.stories.mdx +0 -72
|
@@ -1,157 +1,144 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Collapsible from './index';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Trepur Components/Atoms/Collapsible',
|
|
6
|
+
components: Collapsible,
|
|
7
|
+
parameters: {},
|
|
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
|
+
}
|
|
7
140
|
|
|
8
|
-
|
|
141
|
+
const Template = (args) => <Collapsible {...args} />;
|
|
9
142
|
|
|
10
|
-
|
|
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 = {};
|
|
143
|
+
export const _Collapsible = Template.bind({});
|
|
144
|
+
_Collapsible.args = {};
|
|
@@ -1,42 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
+
import React from 'react'
|
|
2
|
+
import Column from './index'
|
|
3
|
+
import { columnOptions } from '../../../utils/controls'
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Trepur Components/Atoms/Column',
|
|
7
|
+
component: Column,
|
|
8
|
+
parameters: {},
|
|
9
|
+
argTypes: {
|
|
10
|
+
...columnOptions
|
|
11
|
+
},
|
|
12
|
+
args: {
|
|
13
|
+
sm: 1,
|
|
14
|
+
md: 1,
|
|
15
|
+
lg: 1,
|
|
16
|
+
xl: 1,
|
|
17
|
+
className: 'border h-16'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const Template = (args) => <Column {...args} />;
|
|
22
|
+
|
|
23
|
+
export const _Column = Template.bind({});
|
|
24
|
+
_Column.args = {};
|
|
@@ -1,39 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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;
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import Icon from './index'
|
|
3
|
+
import { iconOptions } from '../../../utils/controls'
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Trepur Components/Atoms/Icon',
|
|
7
|
+
components: Icon,
|
|
8
|
+
parameters: {},
|
|
9
|
+
argTypes: {
|
|
10
|
+
...iconOptions
|
|
11
|
+
},
|
|
12
|
+
args: {
|
|
13
|
+
type: 'th',
|
|
14
|
+
size: 3
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const Template = (args) => <Icon {...args} />;
|
|
19
|
+
|
|
20
|
+
export const _Icon = Template.bind({});
|
|
39
21
|
_Icon.args = {};
|
|
@@ -1,40 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
+
import React from 'react'
|
|
2
|
+
import Image from './index'
|
|
3
|
+
import logo from '../../../Assets/Images/logoWhite.png'
|
|
4
|
+
import { imageOptions } from '../../../utils/controls'
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Trepur Components/Atoms/Image',
|
|
8
|
+
components: Image,
|
|
9
|
+
parameters: {},
|
|
10
|
+
argTypes: {
|
|
11
|
+
...imageOptions
|
|
12
|
+
},
|
|
13
|
+
args: {
|
|
14
|
+
image: logo
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const Template = (args) => <Image {...args} />;
|
|
19
|
+
|
|
20
|
+
export const _Image = Template.bind({});
|
|
21
|
+
_Image.args = {};
|
|
@@ -1,108 +1,95 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import InformationIcon from './index'
|
|
2
3
|
|
|
3
|
-
|
|
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
|
-
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Trepur Components/Atoms/Information Icon',
|
|
6
|
+
components: InformationIcon,
|
|
7
|
+
parameters: {},
|
|
8
|
+
argTypes: {
|
|
9
|
+
type: {
|
|
10
|
+
description: 'The name of the icon you wish to use',
|
|
11
|
+
control: 'text',
|
|
12
|
+
table: {
|
|
13
|
+
category: '',
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
text: {
|
|
17
|
+
description: '',
|
|
18
|
+
control: 'text',
|
|
19
|
+
table: {
|
|
20
|
+
category: '',
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
number: {
|
|
24
|
+
description: '',
|
|
25
|
+
control: 'number',
|
|
26
|
+
table: {
|
|
27
|
+
category: '',
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
size: {
|
|
31
|
+
description: 'An integer between 1 and 5 to dictate the magnification of the icon',
|
|
32
|
+
control: 'number',
|
|
33
|
+
table: {
|
|
34
|
+
category: '',
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
bordered: {
|
|
38
|
+
description: '',
|
|
39
|
+
control: 'boolean',
|
|
40
|
+
table: {
|
|
41
|
+
category: '',
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
rounded: {
|
|
45
|
+
description: '',
|
|
46
|
+
control: 'boolean',
|
|
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
|
+
},
|
|
46
81
|
},
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
-
}
|
|
82
|
+
args: {
|
|
83
|
+
type: 'th',
|
|
84
|
+
text: 'Text',
|
|
85
|
+
number: 21,
|
|
86
|
+
size: 3,
|
|
87
|
+
bordered: true,
|
|
88
|
+
rounded: true
|
|
90
89
|
}
|
|
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);
|
|
90
|
+
}
|
|
104
91
|
|
|
105
|
-
const
|
|
92
|
+
const Template = (args) => <InformationIcon {...args} />;
|
|
106
93
|
|
|
107
|
-
|
|
108
|
-
_InformationIcon.args = {};
|
|
94
|
+
export const _InformationIcon = Template.bind({});
|
|
95
|
+
_InformationIcon.args = {};
|