@xaypay/tui 0.0.104 → 0.0.106
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/.eslintrc.js +30 -0
- package/.husky/pre-commit +4 -0
- package/.prettierrc +10 -0
- package/.storybook/main.js +42 -45
- package/.storybook/preview.js +7 -7
- package/cli-command.js +1 -1
- package/dist/index.es.js +183 -152
- package/dist/index.js +183 -152
- package/package.json +16 -4
- package/rollup.config.js +11 -11
- package/src/assets_old/icons/demo-files/demo.js +16 -18
- package/src/components/autocomplate/autocomplate.stories.js +30 -28
- package/src/components/autocomplate/index.js +145 -127
- package/src/components/button/button.stories.js +6 -6
- package/src/components/button/index.js +176 -126
- package/src/components/captcha/captcha.stories.js +12 -8
- package/src/components/captcha/index.js +47 -50
- package/src/components/checkbox/checkbox.stories.js +7 -7
- package/src/components/checkbox/index.js +77 -93
- package/src/components/file/file.stories.js +15 -15
- package/src/components/file/index.js +114 -116
- package/src/components/icon/Arrow.js +18 -18
- package/src/components/icon/CaptchaArrowDown.js +18 -18
- package/src/components/icon/CaptchaArrowUp.js +18 -18
- package/src/components/icon/CheckboxChecked.js +20 -20
- package/src/components/icon/CheckboxUnchecked.js +20 -20
- package/src/components/icon/Close.js +18 -18
- package/src/components/icon/CloseIcon.js +18 -18
- package/src/components/icon/CloseSlide.js +18 -18
- package/src/components/icon/DeleteComponent.js +19 -19
- package/src/components/icon/Dots.js +18 -18
- package/src/components/icon/HeartFilled.js +22 -23
- package/src/components/icon/HeartOutline.js +22 -22
- package/src/components/icon/Icon.js +3 -5
- package/src/components/icon/ListItemDelete.js +18 -18
- package/src/components/icon/ListItemJpeg.js +20 -20
- package/src/components/icon/ListItemJpg.js +20 -20
- package/src/components/icon/ListItemPdf.js +20 -20
- package/src/components/icon/ListItemPng.js +20 -20
- package/src/components/icon/Next.js +19 -19
- package/src/components/icon/Nextarrow.js +18 -18
- package/src/components/icon/PDF.js +18 -18
- package/src/components/icon/Prev.js +19 -19
- package/src/components/icon/RangeArrowDefault.js +41 -52
- package/src/components/icon/RangeArrowError.js +41 -52
- package/src/components/icon/RangeArrowSuccess.js +41 -52
- package/src/components/icon/RemoveFile.js +19 -19
- package/src/components/icon/ToasterClose.js +18 -18
- package/src/components/icon/ToasterError.js +18 -18
- package/src/components/icon/ToasterInfo.js +18 -18
- package/src/components/icon/ToasterSuccess.js +18 -18
- package/src/components/icon/ToasterWarning.js +18 -18
- package/src/components/icon/Tooltip.js +18 -18
- package/src/components/icon/Upload.js +24 -24
- package/src/components/input/index.js +267 -224
- package/src/components/input/input.stories.js +20 -21
- package/src/components/modal/index.js +172 -157
- package/src/components/modal/modal.stories.js +79 -78
- package/src/components/newAutocomplete/NewAutocomplete.stories.js +93 -51
- package/src/components/newAutocomplete/index.js +342 -216
- package/src/components/newFile/fileItem.js +213 -191
- package/src/components/newFile/index.js +231 -173
- package/src/components/newFile/newFile.stories.js +32 -35
- package/src/components/pagination/index.js +95 -126
- package/src/components/pagination/pagination.stories.js +363 -365
- package/src/components/pagination/paginationRange.js +42 -67
- package/src/components/radio/index.js +49 -62
- package/src/components/radio/radio.stories.js +7 -7
- package/src/components/select/index.js +316 -221
- package/src/components/select/select.stories.js +25 -14
- package/src/components/singleCheckbox/Checkbox.js +53 -0
- package/src/components/singleCheckbox/index.js +36 -36
- package/src/components/singleCheckbox/singleCheckbox.stories.js +21 -7
- package/src/components/stepper/index.js +35 -30
- package/src/components/stepper/stepper.stories.js +11 -11
- package/src/components/table/index.js +280 -148
- package/src/components/table/table.stories.js +105 -217
- package/src/components/table/td.js +80 -72
- package/src/components/table/th.js +19 -16
- package/src/components/textarea/index.js +86 -62
- package/src/components/textarea/textarea.stories.js +10 -13
- package/src/components/toaster/Toast.js +177 -159
- package/src/components/toaster/index.js +107 -111
- package/src/components/toaster/toaster.stories.js +582 -367
- package/src/components/tooltip/index.js +79 -46
- package/src/components/tooltip/tooltip.stories.js +9 -10
- package/src/components/typography/index.js +108 -101
- package/src/components/typography/typography.stories.js +16 -19
- package/src/index.js +20 -20
- package/src/stories/configuration.stories.mdx +9 -0
- package/src/utils/index.js +11 -11
- package/tui.config.js +345 -338
package/tui.config.js
CHANGED
|
@@ -1,320 +1,320 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
// default properties for <Button /> component
|
|
3
3
|
BUTTON: {
|
|
4
|
-
size: '16px',
|
|
5
|
-
font: 'Arial',
|
|
6
|
-
radius: '6px',
|
|
7
|
-
width: '100%',
|
|
8
|
-
weight: '400',
|
|
9
|
-
type: 'button',
|
|
10
|
-
height: '46px',
|
|
11
|
-
color: 'white',
|
|
12
|
-
border: 'none',
|
|
13
|
-
disabled: false,
|
|
14
|
-
cursor: 'pointer',
|
|
15
|
-
contentWidth: false,
|
|
16
|
-
padding: '12px 20px',
|
|
17
|
-
textTransform: 'none',
|
|
18
|
-
boxSizing: 'border-box',
|
|
19
|
-
disabledColor: 'rgba(60, 57, 62, 1)',
|
|
20
|
-
backgroundColor: 'rgba(0, 35, 106, 1)',
|
|
21
|
-
disabledLineColor: 'rgba(60, 57, 62, 1)',
|
|
4
|
+
size: '16px', // for font size
|
|
5
|
+
font: 'Arial', // for font family
|
|
6
|
+
radius: '6px', // for border radius
|
|
7
|
+
width: '100%', // for width
|
|
8
|
+
weight: '400', // for font weight
|
|
9
|
+
type: 'button', // for type
|
|
10
|
+
height: '46px', // for height
|
|
11
|
+
color: 'white', // for color
|
|
12
|
+
border: 'none', // for border
|
|
13
|
+
disabled: false, // for disabled
|
|
14
|
+
cursor: 'pointer', // for cursor
|
|
15
|
+
contentWidth: false, // for auto width, if contentWidth prop is exsit, then button get size automatically from inner content
|
|
16
|
+
padding: '12px 20px', // for padding
|
|
17
|
+
textTransform: 'none', // for text transform
|
|
18
|
+
boxSizing: 'border-box', // for box sizing
|
|
19
|
+
disabledColor: 'rgba(60, 57, 62, 1)', // for color in disabled mode
|
|
20
|
+
backgroundColor: 'rgba(0, 35, 106, 1)', // for background color
|
|
21
|
+
disabledLineColor: 'rgba(60, 57, 62, 1)', // for border color (outline) in disabled mode
|
|
22
22
|
disabledBackgroundColor: 'rgba(238, 238, 238, 1)', // for background color in disabled mode
|
|
23
23
|
transition: 'background-color 240ms, color 240ms', // for transition
|
|
24
|
-
hoverColor: '#001745',
|
|
25
|
-
backgroundHoverColor: '#CB3A3A',
|
|
26
|
-
btnIconMarginRight: '5px'
|
|
24
|
+
hoverColor: '#001745', // for hover color
|
|
25
|
+
backgroundHoverColor: '#CB3A3A', // for hover background color
|
|
26
|
+
btnIconMarginRight: '5px', // for button icon margin right
|
|
27
27
|
},
|
|
28
28
|
// default properties for <Input /> component
|
|
29
29
|
INPUT: {
|
|
30
|
-
size: '16px',
|
|
31
|
-
type: 'text',
|
|
32
|
-
width: '100%',
|
|
33
|
-
radius: '0px',
|
|
34
|
-
className: '',
|
|
35
|
-
height: '46px',
|
|
36
|
-
required: false,
|
|
37
|
-
disabled: false,
|
|
38
|
-
errorLeft: '0px',
|
|
39
|
-
errorZindex: '1',
|
|
40
|
-
marginTop: '10px',
|
|
41
|
-
iconWidth: '64px',
|
|
42
|
-
errorSize: '14px',
|
|
43
|
-
labelSize: '16px',
|
|
44
|
-
errorColor: '#e00',
|
|
45
|
-
labelWeight: '500',
|
|
46
|
-
errorClassName: '',
|
|
47
|
-
telErrorMessage: '',
|
|
48
|
-
phoneDisplay: 'flex',
|
|
49
|
-
autoComplete: 'off',
|
|
50
|
-
padding: '12px 15px',
|
|
51
|
-
labelColor: '#3c393e',
|
|
52
|
-
errorAnimation: false,
|
|
53
|
-
labelDisplay: 'block',
|
|
54
|
-
labelLineHeight: '22px',
|
|
55
|
-
errorLineHeight: '19px',
|
|
56
|
-
boxSizing: 'border-box',
|
|
57
|
-
borderRight: '1px solid',
|
|
58
|
-
backgroundColor: 'white',
|
|
59
|
-
backgroundDisableColor: '#FBFBFB',
|
|
60
|
-
color: 'rgb(60, 57, 62)',
|
|
61
|
-
labelMarginBottom: '6px',
|
|
62
|
-
phoneAlignItems: 'center',
|
|
63
|
-
transform: 'scale3d(0,0,0)',
|
|
64
|
-
borderRightColor: '#d1d1d1',
|
|
65
|
-
borderRightColorHover: '#3c393e',
|
|
66
|
-
phoneJustifyContent: 'center',
|
|
67
|
-
boxShadow: '0 0 0 2px #d1d1d1',
|
|
68
|
-
errorAnimationDuration: '240ms',
|
|
69
|
-
boxShadowHover: '0 0 0 2px #3c393e',
|
|
30
|
+
size: '16px', // for font size
|
|
31
|
+
type: 'text', // for type
|
|
32
|
+
width: '100%', // for width
|
|
33
|
+
radius: '0px', // for input and also (if there exist left or right icons) icons block border-radius
|
|
34
|
+
className: '', // for input classname (you can set custom class for your custom css)
|
|
35
|
+
height: '46px', // for height
|
|
36
|
+
required: false, // for showing required mark on label (it meens input is required)
|
|
37
|
+
disabled: false, // for disabled
|
|
38
|
+
errorLeft: '0px', // for error message position from left
|
|
39
|
+
errorZindex: '1', // for error message z-index
|
|
40
|
+
marginTop: '10px', // for error message position from top
|
|
41
|
+
iconWidth: '64px', // for left or right icon block width (you can add your custom icon and you can set icon block size)
|
|
42
|
+
errorSize: '14px', // for error font size
|
|
43
|
+
labelSize: '16px', // for label font size
|
|
44
|
+
errorColor: '#e00', // for error message color
|
|
45
|
+
labelWeight: '500', // for label font weight
|
|
46
|
+
errorClassName: '', // for error message classname (you can set custom class for your custom css)
|
|
47
|
+
telErrorMessage: '', // for error message when type is tel
|
|
48
|
+
phoneDisplay: 'flex', // for phone extention display, work when input type is tel
|
|
49
|
+
autoComplete: 'off', // for autocomplete fill mode (browser specific, may not work)
|
|
50
|
+
padding: '12px 15px', // for padding
|
|
51
|
+
labelColor: '#3c393e', // for label color
|
|
52
|
+
errorAnimation: false, // for error showing animation
|
|
53
|
+
labelDisplay: 'block', // for label display
|
|
54
|
+
labelLineHeight: '22px', // for label line height
|
|
55
|
+
errorLineHeight: '19px', // for error message line height
|
|
56
|
+
boxSizing: 'border-box', // for box sizing
|
|
57
|
+
borderRight: '1px solid', // for type tel right border
|
|
58
|
+
backgroundColor: 'white', // for input and also (if there exist left or right icons) icons block background color
|
|
59
|
+
backgroundDisableColor: '#FBFBFB', // for input and also (if there exist left or right icons) icons block background color when input is disable
|
|
60
|
+
color: 'rgb(60, 57, 62)', // for input color
|
|
61
|
+
labelMarginBottom: '6px', // for label margin bottom
|
|
62
|
+
phoneAlignItems: 'center', // for phone extention inside item, work when input type is tel
|
|
63
|
+
transform: 'scale3d(0,0,0)', // for transform (when have error message and errorAnimation prop is true)
|
|
64
|
+
borderRightColor: '#d1d1d1', // for type tel right border
|
|
65
|
+
borderRightColorHover: '#3c393e', // for type tel right border color when hover is active
|
|
66
|
+
phoneJustifyContent: 'center', // for phone extention inside item, work when input type is tel
|
|
67
|
+
boxShadow: '0 0 0 2px #d1d1d1', // for border size and color
|
|
68
|
+
errorAnimationDuration: '240ms', // for animation duration (when have error message and errorAnimation prop is true)
|
|
69
|
+
boxShadowHover: '0 0 0 2px #3c393e', // for border size and color in hover mode (set if you want to change it)
|
|
70
70
|
},
|
|
71
71
|
// default properties for <Tooltip /> component
|
|
72
72
|
TOOLTIP: {
|
|
73
|
-
type: 'top',
|
|
74
|
-
width: '46px',
|
|
75
|
-
radius: '0px',
|
|
76
|
-
className: '',
|
|
77
|
-
color: 'white',
|
|
78
|
-
height: '46px',
|
|
79
|
-
fontSize: '14px',
|
|
80
|
-
tooltipRadius: '3px',
|
|
81
|
-
tooltipWidth: '100px',
|
|
82
|
-
backgroundColor: 'transparent',
|
|
83
|
-
fontFamily: 'Arial, sans-serif',
|
|
84
|
-
tooltipBackgroundColor: '#03a9f4'
|
|
73
|
+
type: 'top', // for tooltip type (top, right, bottom, left)
|
|
74
|
+
width: '46px', // for tooltip parent block width
|
|
75
|
+
radius: '0px', // for tooltip parent block border radius
|
|
76
|
+
className: '', // for tooltip className (maybe you want to add your custom class for your custom css)
|
|
77
|
+
color: 'white', // for tooltip color
|
|
78
|
+
height: '46px', // for tooltip parent block height
|
|
79
|
+
fontSize: '14px', // for tooltip font size
|
|
80
|
+
tooltipRadius: '3px', // for tooltip border radius
|
|
81
|
+
tooltipWidth: '100px', // for tooltip width
|
|
82
|
+
backgroundColor: 'transparent', // for tooltip parent block background color (maybe you want to see it)
|
|
83
|
+
fontFamily: 'Arial, sans-serif', // for tooltip font family
|
|
84
|
+
tooltipBackgroundColor: '#03a9f4', // for tooltip backgrond color
|
|
85
85
|
},
|
|
86
86
|
// default properties for <Typography /> component
|
|
87
87
|
TYPOGRAPHY: {
|
|
88
|
-
radius: '0px',
|
|
89
|
-
border: 'none',
|
|
90
|
-
cursor: 'default',
|
|
91
|
-
textShadow: 'none',
|
|
88
|
+
radius: '0px', // for border radius
|
|
89
|
+
border: 'none', // for border
|
|
90
|
+
cursor: 'default', // for cursor
|
|
91
|
+
textShadow: 'none', // for text shadow
|
|
92
92
|
|
|
93
|
-
colorp: '#3C393E',
|
|
94
|
-
colorh1: '#3C393E',
|
|
95
|
-
colorh2: '#3C393E',
|
|
96
|
-
colorh3: '#3C393E',
|
|
97
|
-
colorh4: '#3C393E',
|
|
98
|
-
colorh5: '#3C393E',
|
|
99
|
-
colorh6: '#3C393E',
|
|
100
|
-
colorspan: '#3C393E',
|
|
93
|
+
colorp: '#3C393E', // for variant p color
|
|
94
|
+
colorh1: '#3C393E', // for variant h1 color
|
|
95
|
+
colorh2: '#3C393E', // for variant h2 color
|
|
96
|
+
colorh3: '#3C393E', // for variant h3 color
|
|
97
|
+
colorh4: '#3C393E', // for variant h4 color
|
|
98
|
+
colorh5: '#3C393E', // for variant h5 color
|
|
99
|
+
colorh6: '#3C393E', // for variant h6 color
|
|
100
|
+
colorspan: '#3C393E', // for variant span color
|
|
101
101
|
|
|
102
|
-
sizep: '13px',
|
|
103
|
-
sizeh1: '70px',
|
|
104
|
-
sizeh2: '50px',
|
|
105
|
-
sizeh3: '38px',
|
|
106
|
-
sizeh4: '24px',
|
|
107
|
-
sizeh5: '20px',
|
|
108
|
-
sizeh6: '14px',
|
|
109
|
-
sizespan: '12px',
|
|
102
|
+
sizep: '13px', // for variant p font size
|
|
103
|
+
sizeh1: '70px', // for variant h1 font size
|
|
104
|
+
sizeh2: '50px', // for variant h2 font size
|
|
105
|
+
sizeh3: '38px', // for variant h3 font size
|
|
106
|
+
sizeh4: '24px', // for variant h4 font size
|
|
107
|
+
sizeh5: '20px', // for variant h5 font size
|
|
108
|
+
sizeh6: '14px', // for variant h6 font size
|
|
109
|
+
sizespan: '12px', // for variant span font size
|
|
110
110
|
|
|
111
|
-
textAlignp: 'left',
|
|
112
|
-
textAlignh1: 'left',
|
|
113
|
-
textAlignh2: 'left',
|
|
114
|
-
textAlignh3: 'left',
|
|
115
|
-
textAlignh4: 'left',
|
|
116
|
-
textAlignh5: 'left',
|
|
117
|
-
textAlignh6: 'left',
|
|
118
|
-
textAlignspan: 'left',
|
|
111
|
+
textAlignp: 'left', // for variant p text align
|
|
112
|
+
textAlignh1: 'left', // for variant h1 text align
|
|
113
|
+
textAlignh2: 'left', // for variant h2 text align
|
|
114
|
+
textAlignh3: 'left', // for variant h3 text align
|
|
115
|
+
textAlignh4: 'left', // for variant h4 text align
|
|
116
|
+
textAlignh5: 'left', // for variant h5 text align
|
|
117
|
+
textAlignh6: 'left', // for variant h6 text align
|
|
118
|
+
textAlignspan: 'left', // for variant span text align
|
|
119
119
|
|
|
120
|
-
weightp: '500',
|
|
121
|
-
weighth1: '400',
|
|
122
|
-
weighth2: '400',
|
|
123
|
-
weighth3: '400',
|
|
124
|
-
weighth4: '600',
|
|
125
|
-
weighth5: '600',
|
|
126
|
-
weighth6: '600',
|
|
127
|
-
weightspan: '500',
|
|
120
|
+
weightp: '500', // for variant p font weight
|
|
121
|
+
weighth1: '400', // for variant h1 font weight
|
|
122
|
+
weighth2: '400', // for variant h2 font weight
|
|
123
|
+
weighth3: '400', // for variant h3 font weight
|
|
124
|
+
weighth4: '600', // for variant h4 font weight
|
|
125
|
+
weighth5: '600', // for variant h5 font weight
|
|
126
|
+
weighth6: '600', // for variant h6 font weight
|
|
127
|
+
weightspan: '500', // for variant span font weight
|
|
128
128
|
|
|
129
|
-
backgroundColorp: 'transparent',
|
|
130
|
-
backgroundColorh1: 'transparent',
|
|
131
|
-
backgroundColorh2: 'transparent',
|
|
132
|
-
backgroundColorh3: 'transparent',
|
|
133
|
-
backgroundColorh4: 'transparent',
|
|
134
|
-
backgroundColorh5: 'transparent',
|
|
135
|
-
backgroundColorh6: 'transparent',
|
|
136
|
-
backgroundColorspan: 'transparent',
|
|
129
|
+
backgroundColorp: 'transparent', // for variant p background color
|
|
130
|
+
backgroundColorh1: 'transparent', // for variant h1 background color
|
|
131
|
+
backgroundColorh2: 'transparent', // for variant h2 background color
|
|
132
|
+
backgroundColorh3: 'transparent', // for variant h3 background color
|
|
133
|
+
backgroundColorh4: 'transparent', // for variant h4 background color
|
|
134
|
+
backgroundColorh5: 'transparent', // for variant h5 background color
|
|
135
|
+
backgroundColorh6: 'transparent', // for variant h6 background color
|
|
136
|
+
backgroundColorspan: 'transparent', // for variant span background color
|
|
137
137
|
|
|
138
|
-
textDecorationp: 'none',
|
|
139
|
-
textDecorationh1: 'none',
|
|
140
|
-
textDecorationh2: 'none',
|
|
141
|
-
textDecorationh3: 'none',
|
|
142
|
-
textDecorationh4: 'none',
|
|
143
|
-
textDecorationh5: 'none',
|
|
144
|
-
textDecorationh6: 'none',
|
|
145
|
-
textDecorationspan: 'none',
|
|
138
|
+
textDecorationp: 'none', // for variant p text decoration
|
|
139
|
+
textDecorationh1: 'none', // for variant h1 text decoration
|
|
140
|
+
textDecorationh2: 'none', // for variant h2 text decoration
|
|
141
|
+
textDecorationh3: 'none', // for variant h3 text decoration
|
|
142
|
+
textDecorationh4: 'none', // for variant h4 text decoration
|
|
143
|
+
textDecorationh5: 'none', // for variant h5 text decoration
|
|
144
|
+
textDecorationh6: 'none', // for variant h6 text decoration
|
|
145
|
+
textDecorationspan: 'none', // for variant span text decoration
|
|
146
146
|
|
|
147
|
-
fontStylep: 'normal',
|
|
148
|
-
fontStyleh1: 'normal',
|
|
149
|
-
fontStyleh2: 'normal',
|
|
150
|
-
fontStyleh3: 'normal',
|
|
151
|
-
fontStyleh4: 'normal',
|
|
152
|
-
fontStyleh5: 'normal',
|
|
153
|
-
fontStyleh6: 'normal',
|
|
154
|
-
fontStylespan: 'normal',
|
|
147
|
+
fontStylep: 'normal', // for variant p font style
|
|
148
|
+
fontStyleh1: 'normal', // for variant h1 font style
|
|
149
|
+
fontStyleh2: 'normal', // for variant h2 font style
|
|
150
|
+
fontStyleh3: 'normal', // for variant h3 font style
|
|
151
|
+
fontStyleh4: 'normal', // for variant h4 font style
|
|
152
|
+
fontStyleh5: 'normal', // for variant h5 font style
|
|
153
|
+
fontStyleh6: 'normal', // for variant h6 font style
|
|
154
|
+
fontStylespan: 'normal', // for variant span font style
|
|
155
155
|
|
|
156
|
-
lineHeightp: 'normal',
|
|
157
|
-
lineHeighth1: 'normal',
|
|
158
|
-
lineHeighth2: 'normal',
|
|
159
|
-
lineHeighth3: 'normal',
|
|
160
|
-
lineHeighth4: 'normal',
|
|
161
|
-
lineHeighth5: 'normal',
|
|
162
|
-
lineHeighth6: 'normal',
|
|
163
|
-
lineHeightspan: 'normal',
|
|
156
|
+
lineHeightp: 'normal', // for variant p line height
|
|
157
|
+
lineHeighth1: 'normal', // for variant h1 line height
|
|
158
|
+
lineHeighth2: 'normal', // for variant h2 line height
|
|
159
|
+
lineHeighth3: 'normal', // for variant h3 line height
|
|
160
|
+
lineHeighth4: 'normal', // for variant h4 line height
|
|
161
|
+
lineHeighth5: 'normal', // for variant h5 line height
|
|
162
|
+
lineHeighth6: 'normal', // for variant h6 line height
|
|
163
|
+
lineHeightspan: 'normal', // for variant span line height
|
|
164
164
|
|
|
165
|
-
textTransformp: 'none',
|
|
166
|
-
textTransformh1: 'none',
|
|
167
|
-
textTransformh2: 'none',
|
|
168
|
-
textTransformh3: 'none',
|
|
169
|
-
textTransformh4: 'none',
|
|
170
|
-
textTransformh5: 'none',
|
|
171
|
-
textTransformh6: 'none',
|
|
172
|
-
textTransformspan: 'none',
|
|
173
|
-
|
|
174
|
-
fontFamilyp: 'Arial, sans-serif',
|
|
175
|
-
fontFamilyh1: 'Arial, sans-serif',
|
|
176
|
-
fontFamilyh2: 'Arial, sans-serif',
|
|
177
|
-
fontFamilyh3: 'Arial, sans-serif',
|
|
178
|
-
fontFamilyh4: 'Arial, sans-serif',
|
|
179
|
-
fontFamilyh5: 'Arial, sans-serif',
|
|
180
|
-
fontFamilyh6: 'Arial, sans-serif',
|
|
181
|
-
fontFamilyspan: 'Arial, sans-serif',
|
|
165
|
+
textTransformp: 'none', // for variant p text transform
|
|
166
|
+
textTransformh1: 'none', // for variant h1 text transform
|
|
167
|
+
textTransformh2: 'none', // for variant h2 text transform
|
|
168
|
+
textTransformh3: 'none', // for variant h3 text transform
|
|
169
|
+
textTransformh4: 'none', // for variant h4 text transform
|
|
170
|
+
textTransformh5: 'none', // for variant h5 text transform
|
|
171
|
+
textTransformh6: 'none', // for variant h6 text transform
|
|
172
|
+
textTransformspan: 'none', // for variant span text transform
|
|
173
|
+
|
|
174
|
+
fontFamilyp: 'Arial, sans-serif', // for variant p font family
|
|
175
|
+
fontFamilyh1: 'Arial, sans-serif', // for variant h1 font family
|
|
176
|
+
fontFamilyh2: 'Arial, sans-serif', // for variant h2 font family
|
|
177
|
+
fontFamilyh3: 'Arial, sans-serif', // for variant h3 font family
|
|
178
|
+
fontFamilyh4: 'Arial, sans-serif', // for variant h4 font family
|
|
179
|
+
fontFamilyh5: 'Arial, sans-serif', // for variant h5 font family
|
|
180
|
+
fontFamilyh6: 'Arial, sans-serif', // for variant h6 font family
|
|
181
|
+
fontFamilyspan: 'Arial, sans-serif', // for variant span font family
|
|
182
182
|
},
|
|
183
183
|
// default properties for <Select /> component
|
|
184
184
|
SELECT: {
|
|
185
|
-
dots: false,
|
|
186
|
-
showCloseIcon: true,
|
|
187
|
-
marginTop: '10px',
|
|
188
|
-
labelWeight: '500',
|
|
189
|
-
labelColor: '#3C393E',
|
|
190
|
-
labelDisplay: 'block',
|
|
191
|
-
labelFontSize: '16px',
|
|
192
|
-
labelLineHeight: '22px',
|
|
193
|
-
labelMarginBottom: '6px',
|
|
194
|
-
labelTextTransform: 'none',
|
|
195
|
-
|
|
196
|
-
errorSize: '14px',
|
|
197
|
-
errorColor: 'rgb(238, 0, 0)',
|
|
185
|
+
dots: false, // for options, cut text and add dots
|
|
186
|
+
showCloseIcon: true, // for select reset icon, when prop exist or true is show, otherwise is hide
|
|
187
|
+
marginTop: '10px', // for error message postion from top
|
|
188
|
+
labelWeight: '500', // for label font weight
|
|
189
|
+
labelColor: '#3C393E', // for label color
|
|
190
|
+
labelDisplay: 'block', // for label display
|
|
191
|
+
labelFontSize: '16px', // for label font size
|
|
192
|
+
labelLineHeight: '22px', // for label line height
|
|
193
|
+
labelMarginBottom: '6px', // for label margin bottom
|
|
194
|
+
labelTextTransform: 'none', // for label text transform
|
|
195
|
+
|
|
196
|
+
errorSize: '14px', // for error font size
|
|
197
|
+
errorColor: 'rgb(238, 0, 0)', // for error color
|
|
198
198
|
|
|
199
|
-
cursor: 'pointer',
|
|
200
|
-
selectedRadius: '6px',
|
|
201
|
-
selectedColor: '#3C393E',
|
|
202
|
-
selectedFontSize: '16px',
|
|
203
|
-
selectedMinHeight: '46px',
|
|
204
|
-
selectedFontWeight: '500',
|
|
205
|
-
selectedLineHeight: '22px',
|
|
206
|
-
selectedPadding: '0px 15px',
|
|
207
|
-
selectedHoverColor: '#373538',
|
|
208
|
-
selectedBoxSizing: 'border-box',
|
|
209
|
-
selectedTransition: 'border-color 240ms',
|
|
210
|
-
selectedBackgroundColor: '#FBFBFB',
|
|
211
|
-
selectedDisableBackgroundColor: '#FBFBFB',
|
|
199
|
+
cursor: 'pointer', // for selected cursor
|
|
200
|
+
selectedRadius: '6px', // for selected border radius
|
|
201
|
+
selectedColor: '#3C393E', // for selected color
|
|
202
|
+
selectedFontSize: '16px', // for selected font size
|
|
203
|
+
selectedMinHeight: '46px', // for selected height
|
|
204
|
+
selectedFontWeight: '500', // for selected font weight
|
|
205
|
+
selectedLineHeight: '22px', // for selected line height
|
|
206
|
+
selectedPadding: '0px 15px', // for selected padding
|
|
207
|
+
selectedHoverColor: '#373538', // for selected color ( when hover )
|
|
208
|
+
selectedBoxSizing: 'border-box', // for selected box sizing
|
|
209
|
+
selectedTransition: 'border-color 240ms', // for selected transition
|
|
210
|
+
selectedBackgroundColor: '#FBFBFB', // for selected background color
|
|
211
|
+
selectedDisableBackgroundColor: '#FBFBFB', // for selected background color when selet is disable
|
|
212
212
|
|
|
213
|
-
optionsBorderRadius: '6px',
|
|
214
|
-
optionsBackgroundColor: '#FBFBFB',
|
|
215
|
-
optionsBoxShadow: '0 0 10px rgba(60, 57, 62, 0.08)',
|
|
213
|
+
optionsBorderRadius: '6px', // for options block border radius
|
|
214
|
+
optionsBackgroundColor: '#FBFBFB', // for options block background color
|
|
215
|
+
optionsBoxShadow: '0 0 10px rgba(60, 57, 62, 0.08)', // for options block box shadow
|
|
216
216
|
|
|
217
|
-
optionItemColor: '#3C393E',
|
|
218
|
-
optionItemFontSize: '16px',
|
|
219
|
-
optionItemCursor: 'pointer',
|
|
220
|
-
optionItemMinHeight: '46px',
|
|
221
|
-
optionItemFontWeight: '500',
|
|
222
|
-
optionItemLineHeight: '25px',
|
|
223
|
-
optionItemPadding: '0px 15px',
|
|
224
|
-
optionItemMarginBottom: '2px',
|
|
225
|
-
optionItemColorHover: '#00236A',
|
|
226
|
-
optionItemBoxSizing: 'border-box',
|
|
227
|
-
optionItemBackgroudColor: '#ffffff',
|
|
228
|
-
optionItemBackgroudColorHover: 'unset',
|
|
217
|
+
optionItemColor: '#3C393E', // for option color
|
|
218
|
+
optionItemFontSize: '16px', // for option font size
|
|
219
|
+
optionItemCursor: 'pointer', // for option cursor
|
|
220
|
+
optionItemMinHeight: '46px', // for option min height
|
|
221
|
+
optionItemFontWeight: '500', // for option font weight
|
|
222
|
+
optionItemLineHeight: '25px', // for option line height
|
|
223
|
+
optionItemPadding: '0px 15px', // for option padding
|
|
224
|
+
optionItemMarginBottom: '2px', // for option margin bottom
|
|
225
|
+
optionItemColorHover: '#00236A', // for option color ( when hover )
|
|
226
|
+
optionItemBoxSizing: 'border-box', // for option box sizing
|
|
227
|
+
optionItemBackgroudColor: '#ffffff', // for option background color
|
|
228
|
+
optionItemBackgroudColorHover: 'unset', // for option background color ( when hover )
|
|
229
229
|
|
|
230
230
|
boxShadow: '0 0 0 2px #d1d1d1',
|
|
231
|
-
boxShadowHover: '0 0 0 2px #3c393e'
|
|
231
|
+
boxShadowHover: '0 0 0 2px #3c393e',
|
|
232
232
|
},
|
|
233
233
|
// default properties for <Textarea /> component
|
|
234
234
|
TEXTAREA: {
|
|
235
|
-
size: '16px',
|
|
236
|
-
radius: '6px',
|
|
237
|
-
width: '400px',
|
|
238
|
-
resize: 'none',
|
|
239
|
-
height: '134px',
|
|
240
|
-
maxLength: 1500,
|
|
241
|
-
color: '#3C393E',
|
|
242
|
-
marginTop: '10px',
|
|
243
|
-
minWidth: '200px',
|
|
244
|
-
maxWidth: '500px',
|
|
245
|
-
labelSize: '16px',
|
|
246
|
-
errorSize: '12px',
|
|
247
|
-
minHeight: '100px',
|
|
248
|
-
maxHeight: '300px',
|
|
249
|
-
padding: '12px 15px',
|
|
250
|
-
errorColor: '#E40E00',
|
|
251
|
-
labelColor: '#3C393E',
|
|
252
|
-
labelWeight: 'normal',
|
|
253
|
-
labelDisplay: 'block',
|
|
254
|
-
boxSizing: 'border-box',
|
|
255
|
-
backgroundColor: 'white',
|
|
256
|
-
labelMarginBottom: '10px',
|
|
257
|
-
borderHoverColor: '#3C393E',
|
|
258
|
-
borderFocusColor: '#00236A',
|
|
259
|
-
labelRequiredColor: '#ee0000',
|
|
260
|
-
boxShadow: '0 0 0 2px #d1d1d1',
|
|
235
|
+
size: '16px', // for font size
|
|
236
|
+
radius: '6px', // for border radius
|
|
237
|
+
width: '400px', // for width
|
|
238
|
+
resize: 'none', // for resize
|
|
239
|
+
height: '134px', // for height
|
|
240
|
+
maxLength: 1500, // for characters maximum count
|
|
241
|
+
color: '#3C393E', // for color
|
|
242
|
+
marginTop: '10px', // for error message position from top
|
|
243
|
+
minWidth: '200px', // for minimum width
|
|
244
|
+
maxWidth: '500px', // for maximum width
|
|
245
|
+
labelSize: '16px', // for label font size
|
|
246
|
+
errorSize: '12px', // for error font size
|
|
247
|
+
minHeight: '100px', // for minimum height
|
|
248
|
+
maxHeight: '300px', // for maximum height
|
|
249
|
+
padding: '12px 15px', // for padding
|
|
250
|
+
errorColor: '#E40E00', // for error color
|
|
251
|
+
labelColor: '#3C393E', // for label color
|
|
252
|
+
labelWeight: 'normal', // for label font weight
|
|
253
|
+
labelDisplay: 'block', // for label display
|
|
254
|
+
boxSizing: 'border-box', // for box sizing
|
|
255
|
+
backgroundColor: 'white', // for background color
|
|
256
|
+
labelMarginBottom: '10px', // for label margin bottom
|
|
257
|
+
borderHoverColor: '#3C393E', // for border color when hover action is happaning
|
|
258
|
+
borderFocusColor: '#00236A', // for boredr color when focus action is happaning
|
|
259
|
+
labelRequiredColor: '#ee0000', // for label required mark color
|
|
260
|
+
boxShadow: '0 0 0 2px #d1d1d1', // for border size and color
|
|
261
261
|
},
|
|
262
262
|
// default properties for <NewAutocomplete /> component
|
|
263
263
|
NEWAUTOCOMPLETE: {
|
|
264
|
-
labelWeight: 500,
|
|
265
|
-
marginTop: '10px',
|
|
266
|
-
labelSize: '16px',
|
|
267
|
-
labelColor: '#3c393e',
|
|
268
|
-
labelDisplay: 'block',
|
|
269
|
-
labelLineHeight: '22px',
|
|
270
|
-
labelMarginBottom: '6px',
|
|
271
|
-
labelTextTransform: 'none',
|
|
272
|
-
labelRequiredColor: '#ee0000',
|
|
273
|
-
|
|
274
|
-
className: '',
|
|
275
|
-
searchCount: 3,
|
|
276
|
-
errorSize: '16px',
|
|
277
|
-
autoComplete: 'off',
|
|
278
|
-
errorColor: '#ee0000',
|
|
264
|
+
labelWeight: 500, // for label font weight
|
|
265
|
+
marginTop: '10px', // for error message position from top
|
|
266
|
+
labelSize: '16px', // for label font size
|
|
267
|
+
labelColor: '#3c393e', // for label color
|
|
268
|
+
labelDisplay: 'block', // for label display
|
|
269
|
+
labelLineHeight: '22px', // for label line height
|
|
270
|
+
labelMarginBottom: '6px', // for label margin bottom
|
|
271
|
+
labelTextTransform: 'none', // for label text transform
|
|
272
|
+
labelRequiredColor: '#ee0000', // for label required mark color
|
|
273
|
+
|
|
274
|
+
className: '', // for autocomplete class if it need
|
|
275
|
+
searchCount: 3, // for autocomplete show result logic
|
|
276
|
+
errorSize: '16px', // for error font size
|
|
277
|
+
autoComplete: 'off', // for off auto fill functionality ( browser specific, maybe will not work )
|
|
278
|
+
errorColor: '#ee0000', // for error color
|
|
279
279
|
|
|
280
|
-
contentDisplay: 'flex',
|
|
281
|
-
contentDirection: 'column',
|
|
282
|
-
contentPosition: 'relative',
|
|
283
|
-
showOptionDuration: '640ms',
|
|
284
|
-
innerErrorPadding: '0px 15px',
|
|
285
|
-
innerErrorBackgroundColor: 'green',
|
|
280
|
+
contentDisplay: 'flex', // for autocomplete parent block display
|
|
281
|
+
contentDirection: 'column', // for autocomplete parent block flex direction
|
|
282
|
+
contentPosition: 'relative', // for autocomplete parent block position
|
|
283
|
+
showOptionDuration: '640ms', // for autocomplete parent block animation duration
|
|
284
|
+
innerErrorPadding: '0px 15px', // for autocomplete error padding
|
|
285
|
+
innerErrorBackgroundColor: 'green', // for autocomplete inner error message background color
|
|
286
286
|
|
|
287
|
-
contentTopWeight: 500,
|
|
288
|
-
contentTopSize: '16px',
|
|
289
|
-
contentTopRadius: '6px',
|
|
290
|
-
contentTopHeight: '46px',
|
|
291
|
-
contentTopDisplay: 'flex',
|
|
292
|
-
contentTopDirection: 'row',
|
|
293
|
-
contentTopColor: '#3C393E',
|
|
294
|
-
contentTopMaxWidth: '400px',
|
|
295
|
-
contentTopLineHeight: '22px',
|
|
296
|
-
contentTopPadding: '0px 15px',
|
|
297
|
-
contentTopBoxSizing: 'border-box',
|
|
298
|
-
contentTopBorder: '0 0 0 2px #D1D1D1',
|
|
299
|
-
contentTopBorderHover: '0 0 0 2px #3C393E',
|
|
300
|
-
contentTopBorderActive: '0 0 0 2px #00236A',
|
|
287
|
+
contentTopWeight: 500, // for autocomplate top block font weight
|
|
288
|
+
contentTopSize: '16px', // for autocomplate top block font size
|
|
289
|
+
contentTopRadius: '6px', // for autocomplate top block border radius
|
|
290
|
+
contentTopHeight: '46px', // for autocomplate top block height
|
|
291
|
+
contentTopDisplay: 'flex', // for autocomplate top block display
|
|
292
|
+
contentTopDirection: 'row', // for autocomplate top block flex direction
|
|
293
|
+
contentTopColor: '#3C393E', // for autocomplate top block color
|
|
294
|
+
contentTopMaxWidth: '400px', // for autocomplate top block max width
|
|
295
|
+
contentTopLineHeight: '22px', // for autocomplate top block line height
|
|
296
|
+
contentTopPadding: '0px 15px', // for autocomplate top block padding
|
|
297
|
+
contentTopBoxSizing: 'border-box', // for autocomplate top block box sizing
|
|
298
|
+
contentTopBorder: '0 0 0 2px #D1D1D1', // for autocomplate top block border color
|
|
299
|
+
contentTopBorderHover: '0 0 0 2px #3C393E', // for autocomplate top block border hover color
|
|
300
|
+
contentTopBorderActive: '0 0 0 2px #00236A', // for autocomplate top block border active color
|
|
301
301
|
|
|
302
|
-
contentBottomZindex: 1,
|
|
303
|
-
contentBottomLeft: '0px',
|
|
304
|
-
contentBottomRadius: '6px',
|
|
305
|
-
contentBottomWidth: '100%',
|
|
306
|
-
contentBottomMinHeight: '0px',
|
|
307
|
-
contentBottomMaxWidth: '400px',
|
|
308
|
-
contentBottomOverflow: 'hidden',
|
|
309
|
-
contentBottomPosition: 'absolute',
|
|
310
|
-
contentBottomBackgroundColor: '#FBFBFB',
|
|
302
|
+
contentBottomZindex: 1, // for autocomplete bottom block z-index
|
|
303
|
+
contentBottomLeft: '0px', // for autocomplete bottom block left
|
|
304
|
+
contentBottomRadius: '6px', // for autocomplete bottom block border radius
|
|
305
|
+
contentBottomWidth: '100%', // for autocomplete bottom block width
|
|
306
|
+
contentBottomMinHeight: '0px', // for autocomplete bottom block minimal height
|
|
307
|
+
contentBottomMaxWidth: '400px', // for autocomplete bottom block maximum width
|
|
308
|
+
contentBottomOverflow: 'hidden', // for autocomplete bottom block overflow
|
|
309
|
+
contentBottomPosition: 'absolute', // for autocomplete bottom block position
|
|
310
|
+
contentBottomBackgroundColor: '#FBFBFB', // for autocomplete bottom block background color
|
|
311
311
|
contentBottomBoxShadow: '0 0 10px rgba(60, 57, 62, 0.08)', // for autocomplete bottom block box shadow
|
|
312
312
|
|
|
313
|
-
contentBottomInnerDisplay: 'flex',
|
|
314
|
-
contentBottomInnerOverflowY: 'auto',
|
|
315
|
-
contentBottomInnerMaxHeight: '234px',
|
|
316
|
-
contentBottomInnerOverflowX: 'hidden',
|
|
317
|
-
contentBottomInnerDirection: 'column',
|
|
313
|
+
contentBottomInnerDisplay: 'flex', // for autocomplete bottom block inner display
|
|
314
|
+
contentBottomInnerOverflowY: 'auto', // for autocomplete bottom block inner overflow y
|
|
315
|
+
contentBottomInnerMaxHeight: '234px', // for autocomplete bottom block inner maximum height
|
|
316
|
+
contentBottomInnerOverflowX: 'hidden', // for autocomplete bottom block inner overflow x
|
|
317
|
+
contentBottomInnerDirection: 'column', // for autocomplete bottom block inner flex direction
|
|
318
318
|
|
|
319
319
|
contentBottomRowHeight: '46px', // for autocomplete bottom block inner row height
|
|
320
320
|
contentBottomRowDisplay: 'flex', // for autocomplete bottom block inner row display
|
|
@@ -331,77 +331,84 @@ module.exports = {
|
|
|
331
331
|
contentBottomRowTransition: 'all 240ms', // for autocomplete bottom block inner row transition
|
|
332
332
|
contentBottomRowBackgroundColor: '#ffffff', // for autocomplete bottom block inner row background color
|
|
333
333
|
contentBottomRowHoverBackgroundColor: 'initial', // for autocomplete bottom block inner row hover background color
|
|
334
|
+
backgroundDisableColor: '#F6F9FC', // for autocomplete disable background color
|
|
334
335
|
},
|
|
335
336
|
// default properties for <Captcha /> component
|
|
336
337
|
Captcha: {
|
|
337
|
-
size: '16px',
|
|
338
|
-
color: '#3C393E'
|
|
338
|
+
size: '16px', // for captcha label font size
|
|
339
|
+
color: '#3C393E', // for captcha label color
|
|
339
340
|
},
|
|
340
341
|
// default properties for <File /> component
|
|
341
342
|
File: {
|
|
342
|
-
or: 'կամ',
|
|
343
|
-
weight: 400,
|
|
344
|
-
size: '12px',
|
|
345
|
-
radius: '6px',
|
|
346
|
-
height: '200px',
|
|
347
|
-
color: '#3C393E',
|
|
348
|
-
upload: 'Բեռնել',
|
|
349
|
-
maxWidth: '440px',
|
|
350
|
-
labelSize: '16px',
|
|
351
|
-
border: '2px dashed',
|
|
352
|
-
labelColor: '#4A4A4D',
|
|
353
|
-
errorColor: '#ee0000',
|
|
354
|
-
borderColor: '#D1D1D1',
|
|
355
|
-
listItemHeight: '70px',
|
|
356
|
-
uploadColor: '#0DA574',
|
|
357
|
-
progressColor: '#4A4A4D',
|
|
358
|
-
progressFontSize: '16px',
|
|
359
|
-
listItemErrorSize: '16px',
|
|
360
|
-
backgroundColor: '#F8F8F8',
|
|
361
|
-
listItemErrorColor: 'black',
|
|
362
|
-
borderHoverColor: '#00236A',
|
|
363
|
-
fileAreaImageHeight: 'auto',
|
|
364
|
-
listItemPadding: '14px 20px',
|
|
365
|
-
fileSizeText: 'Առավելագույնը',
|
|
366
|
-
fileAreaImageWidth: '27.8rem',
|
|
367
|
-
labelRequiredColor: '#ee0000',
|
|
368
|
-
progressTrackColor: '#E5E8E8',
|
|
369
|
-
extentionsRowMarginTop: '40px',
|
|
370
|
-
progressFailedColor: '#E40E00',
|
|
371
|
-
progressSuccessColor: '#069768',
|
|
372
|
-
progressLoadingColor: '#051942',
|
|
373
|
-
formatError: 'ֆայլի սխալ ֆորմատ',
|
|
374
|
-
noChoosenFile: 'Ֆայլը ընտրված չէ',
|
|
375
|
-
listItemBackgroundColor: '#F6F8F8',
|
|
376
|
-
maxSizeError: 'Առավելագույն ծավալ',
|
|
377
|
-
putFileHere: 'Տեղադրել ֆայլը այստեղ',
|
|
378
|
-
hiddenBackgroundColor: 'rgba(60, 57, 62, 0.4)',
|
|
343
|
+
or: 'կամ', // for file place text
|
|
344
|
+
weight: 400, // for file place font weight
|
|
345
|
+
size: '12px', // for file font size
|
|
346
|
+
radius: '6px', // for file place border radius
|
|
347
|
+
height: '200px', // for file choose place height
|
|
348
|
+
color: '#3C393E', // for file place color
|
|
349
|
+
upload: 'Բեռնել', // for file place text
|
|
350
|
+
maxWidth: '440px', // for file width
|
|
351
|
+
labelSize: '16px', // for file font size
|
|
352
|
+
border: '2px dashed', // for file choose place border
|
|
353
|
+
labelColor: '#4A4A4D', // for file color
|
|
354
|
+
errorColor: '#ee0000', // for file place and error message error color
|
|
355
|
+
borderColor: '#D1D1D1', // for file choose place border color
|
|
356
|
+
listItemHeight: '70px', // for file list item height
|
|
357
|
+
uploadColor: '#0DA574', // for file place upload text color
|
|
358
|
+
progressColor: '#4A4A4D', // for file progress bar color
|
|
359
|
+
progressFontSize: '16px', // for file progress bar font size
|
|
360
|
+
listItemErrorSize: '16px', // for file multiple mode error font size
|
|
361
|
+
backgroundColor: '#F8F8F8', // for file choose place background color
|
|
362
|
+
listItemErrorColor: 'black', // for file multiple mode error color
|
|
363
|
+
borderHoverColor: '#00236A', // for file border color, when hover is happening
|
|
364
|
+
fileAreaImageHeight: 'auto', // for file place choosen image preview height
|
|
365
|
+
listItemPadding: '14px 20px', // for file list item padding
|
|
366
|
+
fileSizeText: 'Առավելագույնը', // for file place file size text
|
|
367
|
+
fileAreaImageWidth: '27.8rem', // for file place choosen image preview width
|
|
368
|
+
labelRequiredColor: '#ee0000', // for file label required color
|
|
369
|
+
progressTrackColor: '#E5E8E8', // for file item progress track background color
|
|
370
|
+
extentionsRowMarginTop: '40px', // for file extentions row margin top
|
|
371
|
+
progressFailedColor: '#E40E00', // for file list item progress backfround color when file upload is failed
|
|
372
|
+
progressSuccessColor: '#069768', // for file list item progress background color when file upload is success
|
|
373
|
+
progressLoadingColor: '#051942', // for file list item progress background color when file upload is loading
|
|
374
|
+
formatError: 'ֆայլի սխալ ֆորմատ', // for file error text when file extention is invalid
|
|
375
|
+
noChoosenFile: 'Ֆայլը ընտրված չէ', // for file error text when file is not choosen
|
|
376
|
+
listItemBackgroundColor: '#F6F8F8', // for file list item background color
|
|
377
|
+
maxSizeError: 'Առավելագույն ծավալ', // for file error text when choosen file size is more then maxSize prop
|
|
378
|
+
putFileHere: 'Տեղադրել ֆայլը այստեղ', // for file place text
|
|
379
|
+
hiddenBackgroundColor: 'rgba(60, 57, 62, 0.4)', // for file place background color when hover on file place and there is a choosen file
|
|
379
380
|
listItemBackgroundErrorColor: 'rgba(255, 0, 0, 0.7)', // for file multiple mode error background color
|
|
380
381
|
},
|
|
381
382
|
// default properties for <Modal /> component
|
|
382
383
|
MODAL: {
|
|
383
|
-
alignItems: 'center',
|
|
384
|
-
justifyContent: 'center',
|
|
385
|
-
mMaxWidth: '95%',
|
|
386
|
-
mMaxHeight: '95vh',
|
|
387
|
-
outsideClose: true,
|
|
388
|
-
radius: '14px',
|
|
389
|
-
minWidth: '320px',
|
|
390
|
-
headerSize: '20px',
|
|
391
|
-
minHeight: '200px',
|
|
392
|
-
headerWeight: '600',
|
|
393
|
-
imageHeight: '100%',
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
384
|
+
alignItems: 'center', // for modal ( flex-start, center, flex-end ) --> align-items
|
|
385
|
+
justifyContent: 'center', // for modal ( flex-start, center, flex-end ) --> justify-content
|
|
386
|
+
mMaxWidth: '95%', // for modal max width
|
|
387
|
+
mMaxHeight: '95vh', // for modal max height
|
|
388
|
+
outsideClose: true, // for modal close when happened outside click
|
|
389
|
+
radius: '14px', // for modal border radius
|
|
390
|
+
minWidth: '320px', // for modal min width
|
|
391
|
+
headerSize: '20px', // for modal header font size
|
|
392
|
+
minHeight: '200px', // for modal min height
|
|
393
|
+
headerWeight: '600', // for modal header font weight
|
|
394
|
+
imageHeight: '100%', // for modal image height on images mode
|
|
395
|
+
imageWidth: '', // for modal image width on images mode
|
|
396
|
+
headerHeight: '30px', // for modal header height
|
|
397
|
+
grayDecorHeight: '80px', // for modal top decoration when show slider
|
|
398
|
+
width: 'fit-content', // for modal width
|
|
399
|
+
height: 'fit-content', // for modal width
|
|
400
|
+
headerColor: '#00236a', // for modal header color
|
|
401
|
+
backgroundColor: 'white', // for modal background color
|
|
402
|
+
padding: '20px 20px 20px', // for modal padding
|
|
403
|
+
layerBackgroundColor: 'rgba(0,0,0,0.4)', // for modal parent layer background color
|
|
404
|
+
borderWidth: '20px', // for modal padding from border transparent
|
|
405
|
+
borderStyle: 'solid', // for modal border style
|
|
406
|
+
borderColor: 'transparent', // for modal border color
|
|
407
|
+
imageWrapHeight: '80vh', // for image wrap
|
|
408
|
+
},
|
|
409
|
+
SINGLECHECKBOX: {
|
|
410
|
+
checkedColor: '#00236A', // for checkbox background ( fill ) color
|
|
411
|
+
unCheckedColor: '#D1D1D1', // for checkbox border color
|
|
405
412
|
},
|
|
406
413
|
// default properties for <Table /> component
|
|
407
414
|
TABLE: {
|
|
@@ -421,5 +428,5 @@ module.exports = {
|
|
|
421
428
|
|
|
422
429
|
tBodyRowBorder: '1px solid #eeeeee',
|
|
423
430
|
tBodyMarginTop: '20px',
|
|
424
|
-
}
|
|
425
|
-
}
|
|
431
|
+
},
|
|
432
|
+
}
|