@xaypay/tui 0.0.119 → 0.0.120
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/index.es.js +4112 -4330
- package/dist/index.js +4111 -4331
- package/package.json +1 -1
- package/storybook-static/favicon.ico +0 -0
- package/tui.config.js +1 -1
- package/.eslintrc.js +0 -30
- package/.husky/pre-commit +0 -4
- package/.prettierrc +0 -10
- package/.storybook/main.js +0 -48
- package/.storybook/preview.js +0 -9
- package/rollup.config.js +0 -37
- package/src/assets/attach.svg +0 -4
- package/src/assets/delete.svg +0 -4
- package/src/assets/down-arrow.svg +0 -4
- package/src/assets/figma-image.png +0 -0
- package/src/assets/heart-filled.svg +0 -17
- package/src/assets/heart-outline.svg +0 -14
- package/src/assets/like-filled.svg +0 -21
- package/src/assets/like-outline.svg +0 -21
- package/src/assets/minus.svg +0 -4
- package/src/assets/pdf.svg +0 -3
- package/src/assets/plus.svg +0 -4
- package/src/assets/range-arrow-default.svg +0 -19
- package/src/assets/range-arrow-error.svg +0 -19
- package/src/assets/range-arrow-success.svg +0 -19
- package/src/assets/star-filled.svg +0 -21
- package/src/assets/star-outline.svg +0 -5
- package/src/assets/table-settings-icon.svg +0 -3
- package/src/assets/up-arrow.svg +0 -4
- package/src/assets_old/icons/Read Me.txt +0 -7
- package/src/assets_old/icons/demo-files/demo.css +0 -152
- package/src/assets_old/icons/demo-files/demo.js +0 -28
- package/src/assets_old/icons/demo.html +0 -192
- package/src/assets_old/icons/fonts/icomoon.eot +0 -0
- package/src/assets_old/icons/fonts/icomoon.svg +0 -21
- package/src/assets_old/icons/fonts/icomoon.ttf +0 -0
- package/src/assets_old/icons/fonts/icomoon.woff +0 -0
- package/src/assets_old/icons/selection.json +0 -1
- package/src/assets_old/icons/style.css +0 -58
- package/src/components/autocomplate/autocomplate.module.css +0 -95
- package/src/components/autocomplate/autocomplate.stories.js +0 -35
- package/src/components/autocomplate/index.js +0 -164
- package/src/components/button/button.stories.js +0 -13
- package/src/components/button/index.js +0 -187
- package/src/components/captcha/captcha.module.css +0 -74
- package/src/components/captcha/captcha.stories.js +0 -21
- package/src/components/captcha/index.js +0 -158
- package/src/components/checkbox/checkbox.module.css +0 -0
- package/src/components/checkbox/checkbox.stories.js +0 -76
- package/src/components/checkbox/index.js +0 -120
- package/src/components/file/file.module.css +0 -114
- package/src/components/file/file.stories.js +0 -20
- package/src/components/file/index.js +0 -138
- package/src/components/icon/Active.js +0 -20
- package/src/components/icon/Arrow.js +0 -19
- package/src/components/icon/Cancel.js +0 -19
- package/src/components/icon/CaptchaArrowDown.js +0 -19
- package/src/components/icon/CaptchaArrowUp.js +0 -19
- package/src/components/icon/CheckboxChecked.js +0 -21
- package/src/components/icon/CheckboxUnchecked.js +0 -21
- package/src/components/icon/Close.js +0 -19
- package/src/components/icon/CloseIcon.js +0 -19
- package/src/components/icon/CloseSlide.js +0 -19
- package/src/components/icon/DeActive.js +0 -20
- package/src/components/icon/DeleteComponent.js +0 -20
- package/src/components/icon/Done.js +0 -19
- package/src/components/icon/Dots.js +0 -19
- package/src/components/icon/DownArrow.js +0 -20
- package/src/components/icon/HeartFilled.js +0 -25
- package/src/components/icon/HeartOutline.js +0 -25
- package/src/components/icon/Heic.js +0 -21
- package/src/components/icon/Icon.js +0 -11
- package/src/components/icon/ListItemDelete.js +0 -19
- package/src/components/icon/ListItemJpeg.js +0 -21
- package/src/components/icon/ListItemJpg.js +0 -21
- package/src/components/icon/ListItemPdf.js +0 -21
- package/src/components/icon/ListItemPng.js +0 -21
- package/src/components/icon/Next.js +0 -20
- package/src/components/icon/Nextarrow.js +0 -19
- package/src/components/icon/PDF.js +0 -19
- package/src/components/icon/Prev.js +0 -20
- package/src/components/icon/RangeArrowDefault.js +0 -43
- package/src/components/icon/RangeArrowError.js +0 -43
- package/src/components/icon/RangeArrowSuccess.js +0 -43
- package/src/components/icon/Reject.js +0 -19
- package/src/components/icon/RemoveFile.js +0 -20
- package/src/components/icon/Required.js +0 -19
- package/src/components/icon/ToasterClose.js +0 -19
- package/src/components/icon/ToasterError.js +0 -19
- package/src/components/icon/ToasterInfo.js +0 -19
- package/src/components/icon/ToasterSuccess.js +0 -19
- package/src/components/icon/ToasterWarning.js +0 -19
- package/src/components/icon/Tooltip.js +0 -19
- package/src/components/icon/UpArrow.js +0 -20
- package/src/components/icon/Upload.js +0 -25
- package/src/components/icon/Wrong.js +0 -21
- package/src/components/icon/Zoom.js +0 -21
- package/src/components/icon/index.js +0 -0
- package/src/components/input/index.js +0 -688
- package/src/components/input/input.module.css +0 -51
- package/src/components/input/input.stories.js +0 -26
- package/src/components/modal/index.js +0 -436
- package/src/components/modal/modal.module.css +0 -22
- package/src/components/modal/modal.stories.js +0 -88
- package/src/components/newAutocomplete/NewAutocomplete.stories.js +0 -102
- package/src/components/newAutocomplete/autocomplete.module.css +0 -4
- package/src/components/newAutocomplete/index.js +0 -592
- package/src/components/newFile/fileItem.js +0 -281
- package/src/components/newFile/index.js +0 -731
- package/src/components/newFile/newFile.stories.js +0 -93
- package/src/components/pagination/index.js +0 -234
- package/src/components/pagination/pagination.module.css +0 -93
- package/src/components/pagination/pagination.stories.js +0 -371
- package/src/components/pagination/paginationRange.js +0 -45
- package/src/components/radio/index.js +0 -236
- package/src/components/radio/radio.module.css +0 -59
- package/src/components/radio/radio.stories.js +0 -59
- package/src/components/select/index.js +0 -534
- package/src/components/select/select.module.css +0 -93
- package/src/components/select/select.stories.js +0 -39
- package/src/components/singleCheckbox/Checkbox.js +0 -84
- package/src/components/singleCheckbox/index.js +0 -65
- package/src/components/singleCheckbox/singleCheckbox.stories.js +0 -24
- package/src/components/stepper/index.js +0 -45
- package/src/components/stepper/stepper.module.css +0 -57
- package/src/components/stepper/stepper.stories.js +0 -17
- package/src/components/table/index.js +0 -789
- package/src/components/table/table.module.css +0 -63
- package/src/components/table/table.stories.js +0 -497
- package/src/components/table/td.js +0 -429
- package/src/components/table/th.js +0 -103
- package/src/components/textarea/index.js +0 -285
- package/src/components/textarea/textarea.module.css +0 -25
- package/src/components/textarea/textarea.stories.js +0 -56
- package/src/components/toaster/Toast.js +0 -203
- package/src/components/toaster/index.js +0 -131
- package/src/components/toaster/toaster.module.css +0 -201
- package/src/components/toaster/toaster.stories.js +0 -593
- package/src/components/tooltip/index.js +0 -156
- package/src/components/tooltip/tooltip.module.css +0 -46
- package/src/components/tooltip/tooltip.stories.js +0 -30
- package/src/components/typography/index.js +0 -124
- package/src/components/typography/typography.module.css +0 -57
- package/src/components/typography/typography.stories.js +0 -22
- package/src/index.js +0 -19
- package/src/stories/Introduction.stories.mdx +0 -210
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/stories/changelog.stories.mdx +0 -172
- package/src/stories/configuration.stories.mdx +0 -715
- package/src/stories/documentation.stories.mdx +0 -118
- package/src/stories/static/autocomplete-usage.png +0 -0
- package/src/stories/static/button-usage-icon.png +0 -0
- package/src/stories/static/button-usage.png +0 -0
- package/src/stories/static/captcha-usage.png +0 -0
- package/src/stories/static/checkbox-group-usage-2.png +0 -0
- package/src/stories/static/checkbox-group-usage.png +0 -0
- package/src/stories/static/file-single-usage.png +0 -0
- package/src/stories/static/file-usage.png +0 -0
- package/src/stories/static/input-usage.png +0 -0
- package/src/stories/static/modal-usage.png +0 -0
- package/src/stories/static/radio-usage.png +0 -0
- package/src/stories/static/select-usage.png +0 -0
- package/src/stories/static/table-body-data-structure-first-part-usage.png +0 -0
- package/src/stories/static/table-body-data-structure-second-part-usage.png +0 -0
- package/src/stories/static/table-body-data-structure-third-part-usage.png +0 -0
- package/src/stories/static/table-component-usage.png +0 -0
- package/src/stories/static/table-header-data-structure-usage.png +0 -0
- package/src/stories/static/table-new-data-structure-usage.png +0 -0
- package/src/stories/static/textarea-usage.png +0 -0
- package/src/stories/static/toaster-container-usage.png +0 -0
- package/src/stories/static/toaster-usage.png +0 -0
- package/src/stories/static/tooltip-usage.png +0 -0
- package/src/stories/usage.stories.mdx +0 -201
- package/src/utils/index.js +0 -29
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/addon-docs';
|
|
2
|
-
import Code from './assets/code-brackets.svg';
|
|
3
|
-
import Colors from './assets/colors.svg';
|
|
4
|
-
import Comments from './assets/comments.svg';
|
|
5
|
-
import Direction from './assets/direction.svg';
|
|
6
|
-
import Flow from './assets/flow.svg';
|
|
7
|
-
import Plugin from './assets/plugin.svg';
|
|
8
|
-
import Repo from './assets/repo.svg';
|
|
9
|
-
import StackAlt from './assets/stackalt.svg';
|
|
10
|
-
|
|
11
|
-
<Meta title="Intro/Documentation" />
|
|
12
|
-
|
|
13
|
-
<style>
|
|
14
|
-
{`
|
|
15
|
-
.subheading {
|
|
16
|
-
--mediumdark: '#999999';
|
|
17
|
-
font-weight: 900;
|
|
18
|
-
font-size: 13px;
|
|
19
|
-
color: #999;
|
|
20
|
-
letter-spacing: 6px;
|
|
21
|
-
line-height: 24px;
|
|
22
|
-
text-transform: uppercase;
|
|
23
|
-
margin-bottom: 12px;
|
|
24
|
-
margin-top: 40px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.link-list {
|
|
28
|
-
display: grid;
|
|
29
|
-
grid-template-columns: 1fr;
|
|
30
|
-
grid-template-rows: 1fr 1fr;
|
|
31
|
-
row-gap: 10px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media (min-width: 620px) {
|
|
35
|
-
.link-list {
|
|
36
|
-
row-gap: 20px;
|
|
37
|
-
column-gap: 20px;
|
|
38
|
-
grid-template-columns: 1fr 1fr;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@media all and (-ms-high-contrast:none) {
|
|
43
|
-
.link-list {
|
|
44
|
-
display: -ms-grid;
|
|
45
|
-
-ms-grid-columns: 1fr 1fr;
|
|
46
|
-
-ms-grid-rows: 1fr 1fr;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.link-item {
|
|
51
|
-
display: block;
|
|
52
|
-
padding: 20px 30px 20px 15px;
|
|
53
|
-
border: 1px solid #00000010;
|
|
54
|
-
border-radius: 5px;
|
|
55
|
-
transition: background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out;
|
|
56
|
-
color: #333333;
|
|
57
|
-
display: flex;
|
|
58
|
-
align-items: flex-start;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.link-item:hover {
|
|
62
|
-
border-color: #1EA7FD50;
|
|
63
|
-
transform: translate3d(0, -3px, 0);
|
|
64
|
-
box-shadow: rgba(0, 0, 0, 0.08) 0 3px 10px 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.link-item:active {
|
|
68
|
-
border-color: #1EA7FD;
|
|
69
|
-
transform: translate3d(0, 0, 0);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.link-item strong {
|
|
73
|
-
font-weight: 700;
|
|
74
|
-
display: block;
|
|
75
|
-
margin-bottom: 2px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.link-item img {
|
|
79
|
-
height: 40px;
|
|
80
|
-
width: 40px;
|
|
81
|
-
margin-right: 15px;
|
|
82
|
-
flex: none;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.link-item span {
|
|
86
|
-
font-size: 14px;
|
|
87
|
-
line-height: 20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.tip {
|
|
91
|
-
display: inline-block;
|
|
92
|
-
border-radius: 1em;
|
|
93
|
-
font-size: 11px;
|
|
94
|
-
line-height: 12px;
|
|
95
|
-
font-weight: 700;
|
|
96
|
-
background: #E7FDD8;
|
|
97
|
-
color: #66BF3C;
|
|
98
|
-
padding: 4px 12px;
|
|
99
|
-
margin-right: 10px;
|
|
100
|
-
vertical-align: top;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.tip-wrapper {
|
|
104
|
-
font-size: 13px;
|
|
105
|
-
line-height: 20px;
|
|
106
|
-
margin-top: 40px;
|
|
107
|
-
margin-bottom: 40px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.tip-wrapper code {
|
|
111
|
-
font-size: 12px;
|
|
112
|
-
display: inline-block;
|
|
113
|
-
}
|
|
114
|
-
`}
|
|
115
|
-
</style>
|
|
116
|
-
|
|
117
|
-
# Documentation
|
|
118
|
-
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/addon-docs';
|
|
2
|
-
import Code from './assets/code-brackets.svg';
|
|
3
|
-
import Colors from './assets/colors.svg';
|
|
4
|
-
import Comments from './assets/comments.svg';
|
|
5
|
-
import Direction from './assets/direction.svg';
|
|
6
|
-
import Flow from './assets/flow.svg';
|
|
7
|
-
import Plugin from './assets/plugin.svg';
|
|
8
|
-
import Repo from './assets/repo.svg';
|
|
9
|
-
import StackAlt from './assets/stackalt.svg';
|
|
10
|
-
|
|
11
|
-
import fileImage from './static/file-usage.png';
|
|
12
|
-
import captcha from './static/captcha-usage.png';
|
|
13
|
-
import inputImage from './static/input-usage.png';
|
|
14
|
-
import radioImage from './static/radio-usage.png';
|
|
15
|
-
import modalImage from './static/modal-usage.png';
|
|
16
|
-
import buttonImage from './static/button-usage.png';
|
|
17
|
-
import selectImage from './static/select-usage.png';
|
|
18
|
-
import toastImage from './static/toaster-usage.png';
|
|
19
|
-
import tooltipImage from './static/tooltip-usage.png';
|
|
20
|
-
import textareaImage from './static/textarea-usage.png';
|
|
21
|
-
import buttonImageIcon from './static/button-usage-icon.png';
|
|
22
|
-
import fileSingleImage from './static/file-single-usage.png';
|
|
23
|
-
import checkboxGroup from './static/checkbox-group-usage.png';
|
|
24
|
-
import tableComponent from './static/table-component-usage.png';
|
|
25
|
-
import toasterImage from './static/toaster-container-usage.png';
|
|
26
|
-
import autocompleteImage from './static/autocomplete-usage.png';
|
|
27
|
-
import checkboxGroup2 from './static/checkbox-group-usage-2.png';
|
|
28
|
-
import tableBodyStructureNew from './static/table-new-data-structure-usage.png';
|
|
29
|
-
import tableHeaderStructure from './static/table-header-data-structure-usage.png';
|
|
30
|
-
import tableBodyStructureFirst from './static/table-body-data-structure-first-part-usage.png';
|
|
31
|
-
import tableBodyStructureThird from './static/table-body-data-structure-third-part-usage.png';
|
|
32
|
-
import tableBodyStructureSecond from './static/table-body-data-structure-second-part-usage.png';
|
|
33
|
-
|
|
34
|
-
<Meta title="Intro/Usage" />
|
|
35
|
-
|
|
36
|
-
<style>
|
|
37
|
-
{`
|
|
38
|
-
.subheading {
|
|
39
|
-
--mediumdark: '#999999';
|
|
40
|
-
font-weight: 900;
|
|
41
|
-
font-size: 13px;
|
|
42
|
-
color: #999;
|
|
43
|
-
letter-spacing: 6px;
|
|
44
|
-
line-height: 24px;
|
|
45
|
-
text-transform: uppercase;
|
|
46
|
-
margin-bottom: 12px;
|
|
47
|
-
margin-top: 40px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.sbdocs-content {
|
|
51
|
-
max-width: 80% !important;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.link-list {
|
|
55
|
-
display: grid;
|
|
56
|
-
grid-template-columns: 1fr;
|
|
57
|
-
grid-template-rows: 1fr 1fr;
|
|
58
|
-
row-gap: 10px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@media (min-width: 620px) {
|
|
62
|
-
.link-list {
|
|
63
|
-
row-gap: 20px;
|
|
64
|
-
column-gap: 20px;
|
|
65
|
-
grid-template-columns: 1fr 1fr;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@media all and (-ms-high-contrast:none) {
|
|
70
|
-
.link-list {
|
|
71
|
-
display: -ms-grid;
|
|
72
|
-
-ms-grid-columns: 1fr 1fr;
|
|
73
|
-
-ms-grid-rows: 1fr 1fr;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.link-item {
|
|
78
|
-
display: block;
|
|
79
|
-
padding: 20px 30px 20px 15px;
|
|
80
|
-
border: 1px solid #00000010;
|
|
81
|
-
border-radius: 5px;
|
|
82
|
-
transition: background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out;
|
|
83
|
-
color: #333333;
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: flex-start;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.link-item:hover {
|
|
89
|
-
border-color: #1EA7FD50;
|
|
90
|
-
transform: translate3d(0, -3px, 0);
|
|
91
|
-
box-shadow: rgba(0, 0, 0, 0.08) 0 3px 10px 0;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.link-item:active {
|
|
95
|
-
border-color: #1EA7FD;
|
|
96
|
-
transform: translate3d(0, 0, 0);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.link-item strong {
|
|
100
|
-
font-weight: 700;
|
|
101
|
-
display: block;
|
|
102
|
-
margin-bottom: 2px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.link-item img {
|
|
106
|
-
height: 40px;
|
|
107
|
-
width: 40px;
|
|
108
|
-
margin-right: 15px;
|
|
109
|
-
flex: none;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.link-item span {
|
|
113
|
-
font-size: 14px;
|
|
114
|
-
line-height: 20px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.tip {
|
|
118
|
-
display: inline-block;
|
|
119
|
-
border-radius: 1em;
|
|
120
|
-
font-size: 11px;
|
|
121
|
-
line-height: 12px;
|
|
122
|
-
font-weight: 700;
|
|
123
|
-
background: #E7FDD8;
|
|
124
|
-
color: #66BF3C;
|
|
125
|
-
padding: 4px 12px;
|
|
126
|
-
margin-right: 10px;
|
|
127
|
-
vertical-align: top;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.tip-wrapper {
|
|
131
|
-
font-size: 13px;
|
|
132
|
-
line-height: 20px;
|
|
133
|
-
margin-top: 40px;
|
|
134
|
-
margin-bottom: 40px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.tip-wrapper code {
|
|
138
|
-
font-size: 12px;
|
|
139
|
-
display: inline-block;
|
|
140
|
-
}
|
|
141
|
-
`}
|
|
142
|
-
</style>
|
|
143
|
-
|
|
144
|
-
# Usage
|
|
145
|
-
|
|
146
|
-
### Button
|
|
147
|
-
<img src={buttonImage} alt="button image" />
|
|
148
|
-
|
|
149
|
-
#### Button with icon prop
|
|
150
|
-
<img src={buttonImageIcon} alt="button image" />
|
|
151
|
-
|
|
152
|
-
### Input
|
|
153
|
-
<img src={inputImage} alt="input image" />
|
|
154
|
-
|
|
155
|
-
### Tooltip
|
|
156
|
-
<img src={tooltipImage} alt="tooltip image" />
|
|
157
|
-
|
|
158
|
-
### Select
|
|
159
|
-
<img src={selectImage} alt="select image" />
|
|
160
|
-
|
|
161
|
-
### Toaster
|
|
162
|
-
|
|
163
|
-
#### Toaster container usage
|
|
164
|
-
<img src={toasterImage} alt="toaster image" />
|
|
165
|
-
|
|
166
|
-
#### createToast function usage
|
|
167
|
-
<img src={toastImage} alt="toaster image" />
|
|
168
|
-
|
|
169
|
-
### Textarea
|
|
170
|
-
<img src={textareaImage} alt="textarea image" />
|
|
171
|
-
|
|
172
|
-
### NewAutocomplete
|
|
173
|
-
<img src={autocompleteImage} alt="autocomplete image" />
|
|
174
|
-
|
|
175
|
-
### Captcha
|
|
176
|
-
<img src={captcha} alt="captcha image" />
|
|
177
|
-
|
|
178
|
-
### NewFile in Multiple Mode
|
|
179
|
-
<img src={fileImage} alt="file image" />
|
|
180
|
-
|
|
181
|
-
### NewFile in Single Mode
|
|
182
|
-
<img src={fileSingleImage} alt="file image" />
|
|
183
|
-
|
|
184
|
-
### Modal
|
|
185
|
-
<img src={modalImage} alt="file image" />
|
|
186
|
-
|
|
187
|
-
### Table
|
|
188
|
-
<img src={tableComponent} alt="file image" />
|
|
189
|
-
<img src={tableHeaderStructure} alt="file image" />
|
|
190
|
-
<img src={tableBodyStructureFirst} alt="file image" />
|
|
191
|
-
<img src={tableBodyStructureSecond} alt="file image" />
|
|
192
|
-
<img src={tableBodyStructureNew} alt="file image" />
|
|
193
|
-
<img src={tableBodyStructureThird} alt="file image" />
|
|
194
|
-
|
|
195
|
-
### Checkbox Group
|
|
196
|
-
<img src={checkboxGroup} alt="file image" />
|
|
197
|
-
<img src={checkboxGroup2} alt="file image" />
|
|
198
|
-
|
|
199
|
-
### Radio
|
|
200
|
-
<img src={radioImage} alt="file image" />
|
|
201
|
-
|
package/src/utils/index.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const _ = require('lodash')
|
|
2
|
-
|
|
3
|
-
export const compereConfigs = () => {
|
|
4
|
-
let projectConfig = {}
|
|
5
|
-
let packageConfig = {}
|
|
6
|
-
|
|
7
|
-
try {
|
|
8
|
-
packageConfig = require('../tui.config.js')
|
|
9
|
-
} catch (e) {
|
|
10
|
-
try {
|
|
11
|
-
packageConfig = require('../../tui.config.js')
|
|
12
|
-
} catch (err) {
|
|
13
|
-
packageConfig = {}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
try {
|
|
18
|
-
projectConfig = require('../../../../tui.config.js')
|
|
19
|
-
} catch (error) {
|
|
20
|
-
projectConfig = {}
|
|
21
|
-
// console.log(error, 'Project: if you want to use custom styles, create tui.config.js file in your project root');
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
return _.merge(packageConfig, projectConfig)
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export const hasOwnerProperty = (object, property) => {
|
|
28
|
-
return Object.prototype.hasOwnProperty.call(object, property)
|
|
29
|
-
}
|