@xaypay/tui 0.0.119 → 0.0.121
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 +3983 -4344
- package/dist/index.js +3982 -4345
- package/package.json +1 -1
- 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,715 +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/Configuration" />
|
|
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
|
-
.sbdocs-content {
|
|
28
|
-
max-width: 80% !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.link-list {
|
|
32
|
-
display: grid;
|
|
33
|
-
grid-template-columns: 1fr;
|
|
34
|
-
grid-template-rows: 1fr 1fr;
|
|
35
|
-
row-gap: 10px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@media (min-width: 620px) {
|
|
39
|
-
.link-list {
|
|
40
|
-
row-gap: 20px;
|
|
41
|
-
column-gap: 20px;
|
|
42
|
-
grid-template-columns: 1fr 1fr;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@media all and (-ms-high-contrast:none) {
|
|
47
|
-
.link-list {
|
|
48
|
-
display: -ms-grid;
|
|
49
|
-
-ms-grid-columns: 1fr 1fr;
|
|
50
|
-
-ms-grid-rows: 1fr 1fr;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.link-item {
|
|
55
|
-
display: block;
|
|
56
|
-
padding: 20px 30px 20px 15px;
|
|
57
|
-
border: 1px solid #00000010;
|
|
58
|
-
border-radius: 5px;
|
|
59
|
-
transition: background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out;
|
|
60
|
-
color: #333333;
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: flex-start;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.link-item:hover {
|
|
66
|
-
border-color: #1EA7FD50;
|
|
67
|
-
transform: translate3d(0, -3px, 0);
|
|
68
|
-
box-shadow: rgba(0, 0, 0, 0.08) 0 3px 10px 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.link-item:active {
|
|
72
|
-
border-color: #1EA7FD;
|
|
73
|
-
transform: translate3d(0, 0, 0);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.link-item strong {
|
|
77
|
-
font-weight: 700;
|
|
78
|
-
display: block;
|
|
79
|
-
margin-bottom: 2px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.link-item img {
|
|
83
|
-
height: 40px;
|
|
84
|
-
width: 40px;
|
|
85
|
-
margin-right: 15px;
|
|
86
|
-
flex: none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.link-item span {
|
|
90
|
-
font-size: 14px;
|
|
91
|
-
line-height: 20px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.tip {
|
|
95
|
-
display: inline-block;
|
|
96
|
-
border-radius: 1em;
|
|
97
|
-
font-size: 11px;
|
|
98
|
-
line-height: 12px;
|
|
99
|
-
font-weight: 700;
|
|
100
|
-
background: #E7FDD8;
|
|
101
|
-
color: #66BF3C;
|
|
102
|
-
padding: 4px 12px;
|
|
103
|
-
margin-right: 10px;
|
|
104
|
-
vertical-align: top;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.tip-wrapper {
|
|
108
|
-
font-size: 13px;
|
|
109
|
-
line-height: 20px;
|
|
110
|
-
margin-top: 40px;
|
|
111
|
-
margin-bottom: 40px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.tip-wrapper code {
|
|
115
|
-
font-size: 12px;
|
|
116
|
-
display: inline-block;
|
|
117
|
-
}
|
|
118
|
-
`}
|
|
119
|
-
</style>
|
|
120
|
-
|
|
121
|
-
# Configuration
|
|
122
|
-
|
|
123
|
-
### BUTTON
|
|
124
|
-
|
|
125
|
-
```
|
|
126
|
-
{
|
|
127
|
-
size: '16px', // for font size
|
|
128
|
-
font: 'Arial', // for font family
|
|
129
|
-
radius: '6px', // for border radius
|
|
130
|
-
width: '100%', // for width
|
|
131
|
-
weight: '400', // for font weight
|
|
132
|
-
className: '', // for button class
|
|
133
|
-
type: 'button', // for type
|
|
134
|
-
height: '46px', // for height
|
|
135
|
-
color: 'white', // for color
|
|
136
|
-
border: 'none', // for border
|
|
137
|
-
disabled: false, // for disabled
|
|
138
|
-
cursor: 'pointer', // for cursor
|
|
139
|
-
contentWidth: false, // for auto width, if contentWidth prop is exsit, then button get size automatically from inner content
|
|
140
|
-
padding: '12px 20px', // for padding
|
|
141
|
-
textTransform: 'none', // for text transform
|
|
142
|
-
boxSizing: 'border-box', // for box sizing
|
|
143
|
-
disabledColor: 'rgba(60, 57, 62, 1)', // for color in disabled mode
|
|
144
|
-
backgroundColor: 'rgba(0, 35, 106, 1)', // for background color
|
|
145
|
-
disabledLineColor: 'rgba(60, 57, 62, 1)', // for border color (outline) in disabled mode
|
|
146
|
-
disabledBackgroundColor: 'rgba(238, 238, 238, 1)', // for background color in disabled mode
|
|
147
|
-
transition: 'background-color 240ms, color 240ms', // for transition
|
|
148
|
-
hoverColor: '#001745', // for hover color
|
|
149
|
-
backgroundHoverColor: '#CB3A3A', // for hover background color
|
|
150
|
-
btnIconMarginRight: '5px' // for button icon margin right
|
|
151
|
-
}
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### INPUT
|
|
155
|
-
|
|
156
|
-
```
|
|
157
|
-
{
|
|
158
|
-
size: '16px', // for font size
|
|
159
|
-
type: 'text', // for type
|
|
160
|
-
width: '100%', // for width
|
|
161
|
-
radius: '0px', // for input and also (if there exist left or right icons) icons block border-radius
|
|
162
|
-
className: '', // for input classname (you can set custom class for your custom css)
|
|
163
|
-
height: '46px', // for height
|
|
164
|
-
required: false, // for showing required mark on label (it meens input is required)
|
|
165
|
-
disabled: false, // for disabled
|
|
166
|
-
errorLeft: '0px', // for error message position from left
|
|
167
|
-
errorZindex: '1', // for error message z-index
|
|
168
|
-
marginTop: '10px', // for error message position from top
|
|
169
|
-
iconWidth: '64px', // for left or right icon block width (you can add your custom icon and you can set icon block size)
|
|
170
|
-
errorSize: '14px', // for error font size
|
|
171
|
-
labelSize: '16px', // for label font size
|
|
172
|
-
errorColor: '#e00', // for error message color
|
|
173
|
-
labelWeight: '500', // for label font weight
|
|
174
|
-
errorClassName: '', // for error message classname (you can set custom class for your custom css)
|
|
175
|
-
phoneDisplay: 'flex', // for phone extention display, work when input type is tel
|
|
176
|
-
autoComplete: 'off', // for autocomplete fill mode (browser specific, may not work)
|
|
177
|
-
padding: '12px 15px', // for padding
|
|
178
|
-
labelColor: '#3c393e', // for label color
|
|
179
|
-
errorAnimation: false, // for error showing animation
|
|
180
|
-
labelDisplay: 'block', // for label display
|
|
181
|
-
labelLineHeight: '22px', // for label line height
|
|
182
|
-
errorLineHeight: '19px', // for error message line height
|
|
183
|
-
boxSizing: 'border-box', // for box sizing
|
|
184
|
-
backgroundColor: 'white', // for input and also (if there exist left or right icons) icons block background color
|
|
185
|
-
color: 'rgb(60, 57, 62)', // for input color
|
|
186
|
-
labelMarginBottom: '6px', // for label margin bottom
|
|
187
|
-
phoneAlignItems: 'center', // for phone extention inside item, work when input type is tel
|
|
188
|
-
errorPosition: 'absolute', // for error message position (maybe you want to show error message in custom place)
|
|
189
|
-
transform: 'scale3d(0,0,0)', // for transform (when have error message and errorAnimation prop is true)
|
|
190
|
-
phoneJustifyContent: 'center', // for phone extention inside item, work when input type is tel
|
|
191
|
-
boxShadow: '0 0 0 2px #d1d1d1', // for border size and color
|
|
192
|
-
errorAnimationDuration: '240ms', // for animation duration (when have error message and errorAnimation prop is true)
|
|
193
|
-
backgroundDisableColor: '#FBFBFB', // for input and also (if there exist left or right icons) icons block background color when input is disable
|
|
194
|
-
boxShadowHover: '0 0 0 2px #3c393e', // for border size and color in hover mode (set if you want to change it)
|
|
195
|
-
labelFontFamily: 'Arial, sans-serif', // for label font family
|
|
196
|
-
}
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
### TOOLTIP
|
|
200
|
-
```
|
|
201
|
-
{
|
|
202
|
-
type: 'top', // for tooltip type (top, right, bottom, left)
|
|
203
|
-
width: '46px', // for tooltip parent block width
|
|
204
|
-
radius: '0px', // for tooltip parent block border radius
|
|
205
|
-
className: '', // for tooltip className (maybe you want to add your custom class for your custom css)
|
|
206
|
-
color: 'white', // for tooltip color
|
|
207
|
-
height: '46px', // for tooltip parent block height
|
|
208
|
-
fontSize: '14px', // for tooltip font size
|
|
209
|
-
tooltipRadius: '3px', // for tooltip border radius
|
|
210
|
-
tooltipWidth: '100px', // for tooltip width
|
|
211
|
-
backgroundColor: 'transparent', // for tooltip parent block background color (maybe you want to see it)
|
|
212
|
-
fontFamily: 'Arial, sans-serif', // for tooltip font family
|
|
213
|
-
tooltipBackgroundColor: '#03a9f4' // for tooltip backgrond color
|
|
214
|
-
}
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
### TYPOGRAPHY
|
|
218
|
-
|
|
219
|
-
```
|
|
220
|
-
{
|
|
221
|
-
radius: '0px', // for border radius
|
|
222
|
-
border: 'none', // for border
|
|
223
|
-
cursor: 'default', // for cursor
|
|
224
|
-
textShadow: 'none', // for text shadow
|
|
225
|
-
className: '', // for typography class
|
|
226
|
-
|
|
227
|
-
colorp: '#3C393E', // for variant p color
|
|
228
|
-
colorh1: '#3C393E', // for variant h1 color
|
|
229
|
-
colorh2: '#3C393E', // for variant h2 color
|
|
230
|
-
colorh3: '#3C393E', // for variant h3 color
|
|
231
|
-
colorh4: '#3C393E', // for variant h4 color
|
|
232
|
-
colorh5: '#3C393E', // for variant h5 color
|
|
233
|
-
colorh6: '#3C393E', // for variant h6 color
|
|
234
|
-
colorspan: '#3C393E', // for variant span color
|
|
235
|
-
|
|
236
|
-
sizep: '13px', // for variant p font size
|
|
237
|
-
sizeh1: '70px', // for variant h1 font size
|
|
238
|
-
sizeh2: '50px', // for variant h2 font size
|
|
239
|
-
sizeh3: '38px', // for variant h3 font size
|
|
240
|
-
sizeh4: '24px', // for variant h4 font size
|
|
241
|
-
sizeh5: '20px', // for variant h5 font size
|
|
242
|
-
sizeh6: '14px', // for variant h6 font size
|
|
243
|
-
sizespan: '12px', // for variant span font size
|
|
244
|
-
|
|
245
|
-
textAlignp: '0px', // for variant p text align
|
|
246
|
-
textAlignh1: '0px', // for variant h1 text align
|
|
247
|
-
textAlignh2: '0px', // for variant h2 text align
|
|
248
|
-
textAlignh3: '0px', // for variant h3 text align
|
|
249
|
-
textAlignh4: '0px', // for variant h4 text align
|
|
250
|
-
textAlignh5: '0px', // for variant h5 text align
|
|
251
|
-
textAlignh6: '0px', // for variant h6 text align
|
|
252
|
-
textAlignspan: '0px', // for variant span text align
|
|
253
|
-
|
|
254
|
-
weightp: '500', // for variant p font weight
|
|
255
|
-
weighth1: '400', // for variant h1 font weight
|
|
256
|
-
weighth2: '400', // for variant h2 font weight
|
|
257
|
-
weighth3: '400', // for variant h3 font weight
|
|
258
|
-
weighth4: '600', // for variant h4 font weight
|
|
259
|
-
weighth5: '600', // for variant h5 font weight
|
|
260
|
-
weighth6: '600', // for variant h6 font weight
|
|
261
|
-
weightspan: '500', // for variant span font weight
|
|
262
|
-
|
|
263
|
-
colorHoverp: '#3C393E', // for variant p color in hover mode
|
|
264
|
-
colorHoverh1: '#3C393E', // for variant h1 color in hover mode
|
|
265
|
-
colorHoverh2: '#3C393E', // for variant h2 color in hover mode
|
|
266
|
-
colorHoverh3: '#3C393E', // for variant h3 color in hover mode
|
|
267
|
-
colorHoverh4: '#3C393E', // for variant h4 color in hover mode
|
|
268
|
-
colorHoverh5: '#3C393E', // for variant h5 color in hover mode
|
|
269
|
-
colorHoverh6: '#3C393E', // for variant h6 color in hover mode
|
|
270
|
-
colorHoverspan: '#3C393E', // for variant span color in hover mode
|
|
271
|
-
|
|
272
|
-
backgroundColorp: 'transparent', // for variant p background color
|
|
273
|
-
backgroundColorh1: 'transparent', // for variant h1 background color
|
|
274
|
-
backgroundColorh2: 'transparent', // for variant h2 background color
|
|
275
|
-
backgroundColorh3: 'transparent', // for variant h3 background color
|
|
276
|
-
backgroundColorh4: 'transparent', // for variant h4 background color
|
|
277
|
-
backgroundColorh5: 'transparent', // for variant h5 background color
|
|
278
|
-
backgroundColorh6: 'transparent', // for variant h6 background color
|
|
279
|
-
backgroundColorspan: 'transparent', // for variant span background color
|
|
280
|
-
|
|
281
|
-
textDecorationp: 'none', // for variant p text decoration
|
|
282
|
-
textDecorationh1: 'none', // for variant h1 text decoration
|
|
283
|
-
textDecorationh2: 'none', // for variant h2 text decoration
|
|
284
|
-
textDecorationh3: 'none', // for variant h3 text decoration
|
|
285
|
-
textDecorationh4: 'none', // for variant h4 text decoration
|
|
286
|
-
textDecorationh5: 'none', // for variant h5 text decoration
|
|
287
|
-
textDecorationh6: 'none', // for variant h6 text decoration
|
|
288
|
-
textDecorationspan: 'none', // for variant span text decoration
|
|
289
|
-
|
|
290
|
-
fontStylep: 'normal', // for variant p font style
|
|
291
|
-
fontStyleh1: 'normal', // for variant h1 font style
|
|
292
|
-
fontStyleh2: 'normal', // for variant h2 font style
|
|
293
|
-
fontStyleh3: 'normal', // for variant h3 font style
|
|
294
|
-
fontStyleh4: 'normal', // for variant h4 font style
|
|
295
|
-
fontStyleh5: 'normal', // for variant h5 font style
|
|
296
|
-
fontStyleh6: 'normal', // for variant h6 font style
|
|
297
|
-
fontStylespan: 'normal', // for variant span font style
|
|
298
|
-
|
|
299
|
-
lineHeightp: 'normal', // for variant p line height
|
|
300
|
-
lineHeighth1: 'normal', // for variant h1 line height
|
|
301
|
-
lineHeighth2: 'normal', // for variant h2 line height
|
|
302
|
-
lineHeighth3: 'normal', // for variant h3 line height
|
|
303
|
-
lineHeighth4: 'normal', // for variant h4 line height
|
|
304
|
-
lineHeighth5: 'normal', // for variant h5 line height
|
|
305
|
-
lineHeighth6: 'normal', // for variant h6 line height
|
|
306
|
-
lineHeightspan: 'normal', // for variant span line height
|
|
307
|
-
|
|
308
|
-
textTransformp: 'none', // for variant p text transform
|
|
309
|
-
textTransformh1: 'none', // for variant h1 text transform
|
|
310
|
-
textTransformh2: 'none', // for variant h2 text transform
|
|
311
|
-
textTransformh3: 'none', // for variant h3 text transform
|
|
312
|
-
textTransformh4: 'none', // for variant h4 text transform
|
|
313
|
-
textTransformh5: 'none', // for variant h5 text transform
|
|
314
|
-
textTransformh6: 'none', // for variant h6 text transform
|
|
315
|
-
textTransformspan: 'none', // for variant span text transform
|
|
316
|
-
|
|
317
|
-
fontFamilyp: 'Arial, sans-serif', // for variant p font family
|
|
318
|
-
fontFamilyh1: 'Arial, sans-serif', // for variant h1 font family
|
|
319
|
-
fontFamilyh2: 'Arial, sans-serif', // for variant h2 font family
|
|
320
|
-
fontFamilyh3: 'Arial, sans-serif', // for variant h3 font family
|
|
321
|
-
fontFamilyh4: 'Arial, sans-serif', // for variant h4 font family
|
|
322
|
-
fontFamilyh5: 'Arial, sans-serif', // for variant h5 font family
|
|
323
|
-
fontFamilyh6: 'Arial, sans-serif', // for variant h6 font family
|
|
324
|
-
fontFamilyspan: 'Arial, sans-serif', // for variant span font family
|
|
325
|
-
}
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
### SELECT
|
|
329
|
-
|
|
330
|
-
```
|
|
331
|
-
{
|
|
332
|
-
dots: false, // for options, cut text and add dots
|
|
333
|
-
showCloseIcon: false, // for select reset icon, when prop exist or true is show, otherwise is hide
|
|
334
|
-
className: '', // for select class
|
|
335
|
-
marginTop: '10px', // for error message postion from top
|
|
336
|
-
labelWeight: '500', // for label font weight
|
|
337
|
-
labelColor: '#3C393E', // for label color
|
|
338
|
-
labelDisplay: 'block', // for label display
|
|
339
|
-
labelFontSize: '16px', // for label font size
|
|
340
|
-
labelLineHeight: '22px', // for label line height
|
|
341
|
-
labelMarginBottom: '6px', // for label margin bottom
|
|
342
|
-
labelTextTransform: 'none', // for label text transform
|
|
343
|
-
labelFontFamily: 'Arial, sans-serif', // for label font family
|
|
344
|
-
|
|
345
|
-
errorSize: '14px', // for error font size
|
|
346
|
-
errorColor: 'rgb(238, 0, 0)', // for error color
|
|
347
|
-
|
|
348
|
-
cursor: 'pointer', // for selected cursor
|
|
349
|
-
selectedRadius: '6px', // for selected border radius
|
|
350
|
-
selectedColor: '#3C393E', // for selected color
|
|
351
|
-
selectedFontSize: '16px', // for selected font size
|
|
352
|
-
selectedMinHeight: '46px', // for selected height
|
|
353
|
-
selectedFontWeight: '500', // for selected font weight
|
|
354
|
-
selectedLineHeight: '22px', // for selected line height
|
|
355
|
-
selectedPadding: '0px 15px', // for selected padding
|
|
356
|
-
selectedBorder: '2px solid', // for selected border
|
|
357
|
-
selectedHoverColor: '#373538', // for selected color ( when hover )
|
|
358
|
-
selectedBorderColor: '#D1D1D1', // for selected border color
|
|
359
|
-
selectedBoxSizing: 'border-box', // for selected box sizing
|
|
360
|
-
selectedTransition: 'border-color 240ms', // for selected transition
|
|
361
|
-
selectedBackgroundColor: '#FBFBFB', // for selected background color
|
|
362
|
-
selectedDisableBackgroundColor: '#FBFBFB', // for selected background color when selet is disable
|
|
363
|
-
|
|
364
|
-
optionsBorderRadius: '6px', // for options block border radius
|
|
365
|
-
optionsBackgroundColor: '#FBFBFB', // for options block background color
|
|
366
|
-
optionsBoxShadow: '0 0 10px rgba(60, 57, 62, 0.08)', // for options block box shadow
|
|
367
|
-
|
|
368
|
-
optionItemColor: '#3C393E', // for option color
|
|
369
|
-
optionItemFontSize: '16px', // for option font size
|
|
370
|
-
optionItemCursor: 'pointer', // for option cursor
|
|
371
|
-
optionItemMinHeight: '46px', // for option min height
|
|
372
|
-
optionItemFontWeight: '500', // for option font weight
|
|
373
|
-
optionItemLineHeight: '22px', // for option line height
|
|
374
|
-
optionItemPadding: '0px 15px', // for option padding
|
|
375
|
-
optionItemMarginBottom: '2px', // for option margin bottom
|
|
376
|
-
optionItemColorHover: '#00236A', // for option color ( when hover )
|
|
377
|
-
optionItemBoxSizing: 'border-box', // for option box sizing
|
|
378
|
-
optionItemBackgroudColor: '#ffffff', // for option background color
|
|
379
|
-
optionItemBackgroudColorHover: 'unset', // for option background color ( when hover )
|
|
380
|
-
}
|
|
381
|
-
```
|
|
382
|
-
|
|
383
|
-
### TOASTER
|
|
384
|
-
|
|
385
|
-
```
|
|
386
|
-
{
|
|
387
|
-
toast.success();
|
|
388
|
-
toast.success(title);
|
|
389
|
-
toast.success(title, {
|
|
390
|
-
timer: 5000, ---> timer must be a number, for example 5000, is a 5 seconds
|
|
391
|
-
position: 'top-right', ---> one of this strings ['top-left', 'top-right', 'top-center', 'bottom-left', 'bottom-right', 'bottom-center']
|
|
392
|
-
description: 'Toast description' ---> description is a string for toast description
|
|
393
|
-
});
|
|
394
|
-
|
|
395
|
-
toast.info();
|
|
396
|
-
toast.info(title);
|
|
397
|
-
toast.info(title, {
|
|
398
|
-
timer: 5000, ---> timer must be a number, for example 5000, is a 5 seconds
|
|
399
|
-
position: 'top-right', ---> one of this strings ['top-left', 'top-right', 'top-center', 'bottom-left', 'bottom-right', 'bottom-center']
|
|
400
|
-
description: 'Toast description' ---> description is a string for toast description
|
|
401
|
-
});
|
|
402
|
-
|
|
403
|
-
toast.warn();
|
|
404
|
-
toast.warn(title);
|
|
405
|
-
toast.warn(title, {
|
|
406
|
-
timer: 5000, ---> timer must be a number, for example 5000, is a 5 seconds
|
|
407
|
-
position: 'top-right', ---> one of this strings ['top-left', 'top-right', 'top-center', 'bottom-left', 'bottom-right', 'bottom-center']
|
|
408
|
-
description: 'Toast description' ---> description is a string for toast description
|
|
409
|
-
});
|
|
410
|
-
|
|
411
|
-
toast.error();
|
|
412
|
-
toast.error(title);
|
|
413
|
-
toast.error(title, {
|
|
414
|
-
timer: 5000, ---> timer must be a number, for example 5000, is a 5 seconds
|
|
415
|
-
position: 'top-right', ---> one of this strings ['top-left', 'top-right', 'top-center', 'bottom-left', 'bottom-right', 'bottom-center']
|
|
416
|
-
description: 'Toast description' ---> description is a string for toast description
|
|
417
|
-
});
|
|
418
|
-
className: '' // for pagination class
|
|
419
|
-
}
|
|
420
|
-
```
|
|
421
|
-
|
|
422
|
-
### TEXTAREA
|
|
423
|
-
|
|
424
|
-
```
|
|
425
|
-
{
|
|
426
|
-
size: '16px', // for font size
|
|
427
|
-
radius: '6px', // for border radius
|
|
428
|
-
className: '', // for Textarera class
|
|
429
|
-
width: '400px', // for width
|
|
430
|
-
resize: 'none', // for resize
|
|
431
|
-
height: '134px', // for height
|
|
432
|
-
maxLength: 1500, // for characters maximum count
|
|
433
|
-
color: '#3C393E', // for color
|
|
434
|
-
marginTop: '10px', // for error message position from top
|
|
435
|
-
minWidth: '200px', // for minimum width
|
|
436
|
-
maxWidth: '500px', // for maximum width
|
|
437
|
-
labelSize: '16px', // for label font size
|
|
438
|
-
errorSize: '12px', // for error font size
|
|
439
|
-
minHeight: '100px', // for minimum height
|
|
440
|
-
maxHeight: '300px', // for maximum height
|
|
441
|
-
padding: '12px 15px', // for padding
|
|
442
|
-
errorColor: '#E40E00', // for error color
|
|
443
|
-
labelColor: '#3C393E', // for label color
|
|
444
|
-
labelWeight: 'normal', // for label font weight
|
|
445
|
-
labelDisplay: 'block', // for label display
|
|
446
|
-
boxSizing: 'border-box', // for box sizing
|
|
447
|
-
backgroundColor: 'white', // for background color
|
|
448
|
-
labelMarginBottom: '10px', // for label margin bottom
|
|
449
|
-
borderHoverColor: '#3C393E', // for border color when hover action is happaning
|
|
450
|
-
borderFocusColor: '#00236A', // for boredr color when focus action is happaning
|
|
451
|
-
showCharacterCount: true, // for showing textarea character count ( set itself without configuration file)
|
|
452
|
-
boxShadow: '0 0 0 2px #d1d1d1', // for border size and color
|
|
453
|
-
labelFontFamily: 'Arial, sans-serif', s// for label font family
|
|
454
|
-
}
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
### New AutoComplete
|
|
458
|
-
|
|
459
|
-
```
|
|
460
|
-
{
|
|
461
|
-
labelWeight: 500, // for label font weight
|
|
462
|
-
marginTop: '10px', // for error message position from top
|
|
463
|
-
labelSize: '16px', // for label font size
|
|
464
|
-
labelColor: '#3c393e', // for label color
|
|
465
|
-
labelDisplay: 'block', // for label display
|
|
466
|
-
labelLineHeight: '22px', // for label line height
|
|
467
|
-
labelMarginBottom: '6px', // for label margin bottom
|
|
468
|
-
labelTextTransform: 'none', // for label text transform
|
|
469
|
-
labelFontFamily: 'Arial, sans-serif', // for label font family
|
|
470
|
-
|
|
471
|
-
className: '', // for autocomplete class if it need
|
|
472
|
-
searchCount: 3, // for autocomplete show result logic
|
|
473
|
-
errorSize: '16px', // for error font size
|
|
474
|
-
autoComplete: 'off', // for off auto fill functionality ( browser specific, maybe will not work )
|
|
475
|
-
errorColor: '#ee0000', // for error color
|
|
476
|
-
|
|
477
|
-
contentDisplay: 'flex', // for autocomplete parent block display
|
|
478
|
-
contentDirection: 'column', // for autocomplete parent block flex direction
|
|
479
|
-
contentPosition: 'relative', // for autocomplete parent block position
|
|
480
|
-
showOptionDuration: '640ms', // for autocomplete parent block animation duration
|
|
481
|
-
innerErrorPadding: '0px 15px', // for autocomplete error padding
|
|
482
|
-
innerErrorBackgroundColor: '#FBFBFB', // for autocomplete inner error message background color
|
|
483
|
-
|
|
484
|
-
contentTopWeight: 500, // for autocomplate top block font weight
|
|
485
|
-
contentTopSize: '16px', // for autocomplate top block font size
|
|
486
|
-
contentTopRadius: '6px', // for autocomplate top block border radius
|
|
487
|
-
contentTopHeight: '46px', // for autocomplate top block height
|
|
488
|
-
contentTopDisplay: 'flex', // for autocomplate top block display
|
|
489
|
-
contentTopDirection: 'row', // for autocomplate top block flex direction
|
|
490
|
-
contentTopColor: '#3C393E', // for autocomplate top block color
|
|
491
|
-
contentTopMaxWidth: '400px', // for autocomplate top block max width
|
|
492
|
-
contentTopLineHeight: '22px', // for autocomplate top block line height
|
|
493
|
-
contentTopPadding: '0px 15px', // for autocomplate top block padding
|
|
494
|
-
contentTopBorder: '2px solid', // for autocomplate top block border
|
|
495
|
-
contentTopBorderColor: '#D1D1D1', // for autocomplate top block border color
|
|
496
|
-
contentTopBoxSizing: 'border-box', // for autocomplate top block box sizing
|
|
497
|
-
contentTopBorderHoverColor: '#3C393E', // for autocomplate top block border hover color
|
|
498
|
-
contentTopBorderActiveColor: '#00236A', // for autocomplate top block border active color
|
|
499
|
-
|
|
500
|
-
contentBottomZindex: 1, // for autocomplete bottom block z-index
|
|
501
|
-
contentBottomLeft: '0px', // for autocomplete bottom block left
|
|
502
|
-
contentBottomRadius: '6px', // for autocomplete bottom block border radius
|
|
503
|
-
contentBottomWidth: '100%', // for autocomplete bottom block width
|
|
504
|
-
contentBottomMinHeight: '0px', // for autocomplete bottom block minimal height
|
|
505
|
-
contentBottomMaxWidth: '400px', // for autocomplete bottom block maximum width
|
|
506
|
-
contentBottomOverflow: 'hidden', // for autocomplete bottom block overflow
|
|
507
|
-
contentBottomPosition: 'absolute', // for autocomplete bottom block position
|
|
508
|
-
contentBottomBackgroundColor: '#FBFBFB', // for autocomplete bottom block background color
|
|
509
|
-
contentBottomBoxShadow: '0 0 10px rgba(60, 57, 62, 0.08)', // for autocomplete bottom block box shadow
|
|
510
|
-
|
|
511
|
-
contentBottomInnerDisplay: 'flex', // for autocomplete bottom block inner display
|
|
512
|
-
contentBottomInnerOverflowY: 'auto', // for autocomplete bottom block inner overflow y
|
|
513
|
-
contentBottomInnerMaxHeight: '234px', // for autocomplete bottom block inner maximum height
|
|
514
|
-
contentBottomInnerOverflowX: 'hidden', // for autocomplete bottom block inner overflow x
|
|
515
|
-
contentBottomInnerDirection: 'column', // for autocomplete bottom block inner flex direction
|
|
516
|
-
|
|
517
|
-
contentBottomRowHeight: '46px', // for autocomplete bottom block inner row height
|
|
518
|
-
contentBottomRowDisplay: 'flex', // for autocomplete bottom block inner row display
|
|
519
|
-
contentBottomRowFontWeight: 500, // for autocomplete bottom block inner row font weight
|
|
520
|
-
contentBottomRowColor: '#3C393E', // for autocomplete bottom block inner row color
|
|
521
|
-
contentBottomRowFontSize: '16px', // for autocomplete bottom block inner row font size
|
|
522
|
-
contentBottomRowCursor: 'pointer', // for autocomplete bottom block inner row cursor
|
|
523
|
-
contentBottomRowLineHeight: '22px', // for autocomplete bottom block inner row line height
|
|
524
|
-
contentBottomRowMarginBottom: '2px', // for autocomplete bottom block inner row margin bottom
|
|
525
|
-
contentBottomRowPadding: '0px 15px', // for autocomplete bottom block inner row padding
|
|
526
|
-
contentBottomRowAlignItems: 'center', // for autocomplete bottom block inner row align items ( flex )
|
|
527
|
-
contentBottomRowHoverColor: '#00236A', // for autocomplete bottom block inner row hove color
|
|
528
|
-
contentBottomRowBoxSizing: 'border-box', // for autocomplete bottom block inner row box sizing
|
|
529
|
-
contentBottomRowTransition: 'all 240ms', // for autocomplete bottom block inner row transition
|
|
530
|
-
contentBottomRowBackgroundColor: '#ffffff', // for autocomplete bottom block inner row background color
|
|
531
|
-
contentBottomRowHoverBackgroundColor: 'initial', // for autocomplete bottom block inner row hover background color
|
|
532
|
-
}
|
|
533
|
-
```
|
|
534
|
-
|
|
535
|
-
### CAPTCHA
|
|
536
|
-
|
|
537
|
-
```
|
|
538
|
-
{
|
|
539
|
-
size: '16px', // for captcha label font size (configurable from config.js)
|
|
540
|
-
color: '#3C393E', // for captcha label color (configurable from config.js)
|
|
541
|
-
className: '', // for captach class
|
|
542
|
-
label: 'for example. Captcha', // for captcha label (add itself on each component)
|
|
543
|
-
range: 'for example. 72', // for captcha range (add itself on each component)
|
|
544
|
-
getRange: 'is must be function', // for captcha get current range (add itself on each component)
|
|
545
|
-
}
|
|
546
|
-
```
|
|
547
|
-
|
|
548
|
-
### FILE
|
|
549
|
-
```
|
|
550
|
-
{
|
|
551
|
-
or: 'կամ', // for file place text
|
|
552
|
-
weight: 400, // for file place font weight
|
|
553
|
-
size: '12px', // for file font size
|
|
554
|
-
radius: '6px', // for file place border radius
|
|
555
|
-
className: '', // for file class
|
|
556
|
-
width: '440px', // for file width
|
|
557
|
-
height: '200px', // for file choose place height
|
|
558
|
-
color: '#3C393E', // for file place color
|
|
559
|
-
upload: 'Բեռնել', // for file place text
|
|
560
|
-
labelSize: '16px', // for file font size
|
|
561
|
-
errorSize: '12px', // for file error font size
|
|
562
|
-
border: '2px dashed', // for file choose place border
|
|
563
|
-
errorColor: '#ee0000', // for file error message color
|
|
564
|
-
labelColor: '#4A4A4D', // for file color
|
|
565
|
-
errorColor: '#ee0000', // for file place error color
|
|
566
|
-
borderColor: '#D1D1D1', // for file choose place border color
|
|
567
|
-
listItemHeight: '70px', // for file list item height
|
|
568
|
-
uploadColor: '#0DA574', // for file place upload text color
|
|
569
|
-
timeForRemoveError: 4000, // for file error hide time when format is wrong
|
|
570
|
-
progressColor: '#4A4A4D', // for file progress bar color
|
|
571
|
-
progressFontSize: '16px', // for file progress bar font size
|
|
572
|
-
listItemErrorSize: '16px', // for file multiple mode error font size
|
|
573
|
-
backgroundColor: '#F8F8F8', // for file choose place background color
|
|
574
|
-
listItemErrorColor: 'black', // for file multiple mode error color
|
|
575
|
-
borderHoverColor: '#00236A', // for file border color, when hover is happening
|
|
576
|
-
fileAreaImageHeight: 'auto', // for file place choosen image preview height
|
|
577
|
-
listItemPadding: '14px 20px', // for file list item padding
|
|
578
|
-
fileSizeText: 'Առավելագույնը', // for file place file size text
|
|
579
|
-
fileAreaImageWidth: '27.8rem', // for file place choosen image preview width
|
|
580
|
-
progressTrackColor: '#E5E8E8', // for file item progress track background color
|
|
581
|
-
extentionsRowMarginTop: '40px', // for file extentions row margin top
|
|
582
|
-
progressFailedColor: '#E40E00', // for file list item progress backfround color when file upload is failed
|
|
583
|
-
progressSuccessColor: '#069768', // for file list item progress background color when file upload is success
|
|
584
|
-
progressLoadingColor: '#051942', // for file list item progress background color when file upload is loading
|
|
585
|
-
formatError: 'ֆայլի սխալ ֆորմատ', // for file error text when file extention is invalid
|
|
586
|
-
noChoosenFile: 'Ֆայլը ընտրված չէ', // for file error text when file is not choosen
|
|
587
|
-
listItemBackgroundColor: '#F6F8F8', // for file list item background color
|
|
588
|
-
maxSizeError: 'Առավելագույն ծավալ', // for file error text when choosen file size is more then maxSize prop
|
|
589
|
-
putFileHere: 'Տեղադրել ֆայլը այստեղ', // for file place text
|
|
590
|
-
hiddenBackgroundColor: 'rgba(60, 57, 62, 0.4)', // for file place background color when hover on file place and there is a choosen file
|
|
591
|
-
listItemBackgroundErrorColor: 'rgba(255, 0, 0, 0.7)', // for file multiple mode error background color
|
|
592
|
-
|
|
593
|
-
uploadBtnFont: 'Arial', // for button font familty
|
|
594
|
-
uploadBtnSize: '14px', // for button font size
|
|
595
|
-
uploadBtnLabel: 'Բեռնել', // for button text
|
|
596
|
-
uploadBtnColor: '#fff', // for button color
|
|
597
|
-
uploadBtnHeight: '30px', // for button height
|
|
598
|
-
uploadBtnBackgroundColor: 'rgba(0, 35, 106, 1)' // for button background color
|
|
599
|
-
}
|
|
600
|
-
```
|
|
601
|
-
|
|
602
|
-
### MODAL
|
|
603
|
-
```
|
|
604
|
-
{
|
|
605
|
-
alignItems: 'center', // for modal ( flex-start, center, flex-end ) --> align-items
|
|
606
|
-
justifyContent: 'center', // for modal ( flex-start, center, flex-end ) --> justify-content
|
|
607
|
-
className: '', // for modal class
|
|
608
|
-
mMaxWidth: '95%', // for modal max width
|
|
609
|
-
mMaxHeight: '95vh', // for modal max height
|
|
610
|
-
outsideClose: true, // for modal close when happened outside click
|
|
611
|
-
radius: '14px', // for modal border radius
|
|
612
|
-
minWidth: '320px', // for modal min width
|
|
613
|
-
headerSize: '20px', // for modal header font size
|
|
614
|
-
minHeight: '200px', // for modal min height
|
|
615
|
-
headerWeight: '600', // for modal header font weight
|
|
616
|
-
imageHeight: '100%', // for modal image height on images mode
|
|
617
|
-
imageWidth: '', // for modal image width on images mode
|
|
618
|
-
headerHeight: '30px', // for modal header height
|
|
619
|
-
grayDecorHeight: '80px', // for modal top decoration when show slider
|
|
620
|
-
width: 'fit-content', // for modal width
|
|
621
|
-
height: 'fit-content', // for modal width
|
|
622
|
-
headerColor: '#00236a', // for modal header color
|
|
623
|
-
backgroundColor: 'white', // for modal background color
|
|
624
|
-
padding: '10px 20px 20px', // for modal padding
|
|
625
|
-
layerBackgroundColor: 'rgba(0,0,0,0.4)', // for modal parent layer background color
|
|
626
|
-
borderWidth: '20px', // for modal padding from border transparent
|
|
627
|
-
borderStyle: 'solid', // for modal border style
|
|
628
|
-
imageMargin: '0px', // for image margin
|
|
629
|
-
imageMaxWidth: '100%', // for image max width
|
|
630
|
-
imageWrapHeight: '80vh', // for image wrap
|
|
631
|
-
imageWrapWidth: '100%', // for image wrap
|
|
632
|
-
}
|
|
633
|
-
```
|
|
634
|
-
|
|
635
|
-
### CHECKBOX
|
|
636
|
-
```
|
|
637
|
-
{
|
|
638
|
-
checkedColor: '#00236A', // for checkbox background ( fill ) color
|
|
639
|
-
unCheckedColor: '#D1D1D1', // for checkbox border color
|
|
640
|
-
labelMarginLeft: '10px', // for checkbox label margin left
|
|
641
|
-
checkBoxMarginBottom: '10px' // for checkbox margin bottom
|
|
642
|
-
className: '' // for checkbox class
|
|
643
|
-
}
|
|
644
|
-
```
|
|
645
|
-
|
|
646
|
-
### TABLE
|
|
647
|
-
```
|
|
648
|
-
{
|
|
649
|
-
tHeadFontSize: '16px', // for table header font size
|
|
650
|
-
tHeadFontWeight: 600, // for table header font weight
|
|
651
|
-
tHeadColor: '#FBFBFB', // for table header color
|
|
652
|
-
tHeadTextAlign: 'center', // for table header text align
|
|
653
|
-
tHeadPadding: '11px 20px', // for table header padding
|
|
654
|
-
tHeadBorderRadius: '14px', // for table header border radius
|
|
655
|
-
tHeadBackgroundColor: '#00236A', // for table header background color
|
|
656
|
-
tHeadFamily: 'Noto Sans Armenia', // for table header font family
|
|
657
|
-
|
|
658
|
-
tBodyColor: '#3C393E', // for table body color
|
|
659
|
-
tBodyFontSize: '16px', // for table body font size
|
|
660
|
-
tBodyFontWeight: 500, // for table body font weight
|
|
661
|
-
tBodyTextAlign: 'center', // for table body text align
|
|
662
|
-
tBodyPadding: '11px 20px', // for table body padding
|
|
663
|
-
tBodyFontFamily: 'Noto Sans Armenia', // for table body font family
|
|
664
|
-
tBodyRowMarginTop: '10px', // for table tr margin top
|
|
665
|
-
tBodyBoxShadow: '', // for table body box shadow
|
|
666
|
-
|
|
667
|
-
tBodyRowBorder: '1px solid #eeeeee', // for table body row border
|
|
668
|
-
openListColor: '#A3A5A9', // for table body opened list color
|
|
669
|
-
openListFontSize: '', // for table body opened list font size
|
|
670
|
-
openListFontFamily: '', // for table body opened list font family
|
|
671
|
-
className: '', // for table class
|
|
672
|
-
tableRowItem: false, // for table tr show item ( boolean prop )
|
|
673
|
-
tableRowBGColor: 'transparent', // for table tr background color
|
|
674
|
-
tableRowRadius: '6px', // for table tr border radius
|
|
675
|
-
tableRowBoxShadow: '', // for table tr box shadow
|
|
676
|
-
tableColumnMaxWidth: '', // for table column max width
|
|
677
|
-
tableColumnMinWidth: '', // for table column min width
|
|
678
|
-
}
|
|
679
|
-
```
|
|
680
|
-
|
|
681
|
-
### PAGINATION
|
|
682
|
-
```
|
|
683
|
-
{
|
|
684
|
-
className: '' // for pagination class
|
|
685
|
-
}
|
|
686
|
-
```
|
|
687
|
-
|
|
688
|
-
```
|
|
689
|
-
### STEPPER
|
|
690
|
-
```
|
|
691
|
-
{
|
|
692
|
-
className: '' // for pagination class
|
|
693
|
-
}
|
|
694
|
-
```
|
|
695
|
-
|
|
696
|
-
### RADIO
|
|
697
|
-
```
|
|
698
|
-
{
|
|
699
|
-
size: '20px', // for width and height
|
|
700
|
-
className: '', // for parent element class
|
|
701
|
-
borderSize: '2px', // for border width
|
|
702
|
-
borderStyle: 'solid', // for border style
|
|
703
|
-
borderColor: '#E7E7E7', // for border color
|
|
704
|
-
radioMarginRight: '10px', // for circle margin right
|
|
705
|
-
borderActiveColor: '#3C3D46', // for active border color
|
|
706
|
-
radioItemMarginRight: '10px', // for radio item margin right ( circle + label )
|
|
707
|
-
radioItemMarginBottom: '10px', // for radio item margin bottom ( circle + label )
|
|
708
|
-
|
|
709
|
-
labelColor: '#3C3D46', // for label color
|
|
710
|
-
labelFontSize: '16px', // for label font size
|
|
711
|
-
labelFontWeight: '500', // for label font weight
|
|
712
|
-
labelLineHeight: '21px', // for label line height
|
|
713
|
-
labelFontFamily: 'Arial, sans-serif', // for label font family
|
|
714
|
-
}
|
|
715
|
-
```
|