groundfloor-react-ui 1.2.8 → 1.2.10
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 +461 -430
- package/dist/index.js +469 -438
- package/package.json +15 -43
- package/rollup.config.js +6 -6
- package/assets/fonts/Averta/Averta-Black.woff2 +0 -0
- package/assets/fonts/Averta/Averta-BlackItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-Bold.woff2 +0 -0
- package/assets/fonts/Averta/Averta-BoldItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ExtraBold.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ExtraBoldItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ExtraThin.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ExtraThinItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-Light.woff2 +0 -0
- package/assets/fonts/Averta/Averta-LightItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-Regular.woff2 +0 -0
- package/assets/fonts/Averta/Averta-RegularItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-SemiBold.woff2 +0 -0
- package/assets/fonts/Averta/Averta-SemiBoldItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-Thin.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ThinItalic.woff2 +0 -0
- package/assets/fonts/Beauty/BeautyDemo.woff +0 -0
- package/assets/icons/app-logo.svg +0 -3
- package/assets/icons/arrow-down.svg +0 -3
- package/assets/icons/arrow-rotate.svg +0 -1
- package/assets/icons/arrow-up.svg +0 -3
- package/assets/icons/bell.svg +0 -3
- package/assets/icons/check.svg +0 -3
- package/assets/icons/checkmark.svg +0 -3
- package/assets/icons/chevron-down.svg +0 -3
- package/assets/icons/chevron-left.svg +0 -3
- package/assets/icons/chevron-right.svg +0 -3
- package/assets/icons/cloud-icon.svg +0 -3
- package/assets/icons/connection.svg +0 -3
- package/assets/icons/cross-icon.svg +0 -3
- package/assets/icons/default.svg +0 -1
- package/assets/icons/door-internal-active.svg +0 -1
- package/assets/icons/edit-icon.svg +0 -3
- package/assets/icons/ellipses-horizontal.svg +0 -3
- package/assets/icons/ellipses.svg +0 -3
- package/assets/icons/email.svg +0 -3
- package/assets/icons/eye-hide-view.svg +0 -1
- package/assets/icons/eye-hide.svg +0 -1
- package/assets/icons/file-attach-white.svg +0 -3
- package/assets/icons/file-attach.svg +0 -3
- package/assets/icons/file-icon.svg +0 -1
- package/assets/icons/file-upload.svg +0 -3
- package/assets/icons/functional-equation-regular.svg +0 -147
- package/assets/icons/hamburger-menu.svg +0 -3
- package/assets/icons/heart.svg +0 -18
- package/assets/icons/image.svg +0 -3
- package/assets/icons/info.svg +0 -3
- package/assets/icons/jpg-icon.svg +0 -3
- package/assets/icons/magnifier.svg +0 -3
- package/assets/icons/menu-ellipse-two.svg +0 -1
- package/assets/icons/menu-ellipse.svg +0 -53
- package/assets/icons/pause-all.svg +0 -1
- package/assets/icons/pdf-icon.svg +0 -3
- package/assets/icons/pen-icon.svg +0 -3
- package/assets/icons/plus-outlined.svg +0 -3
- package/assets/icons/resume.svg +0 -1
- package/assets/icons/sign-icon.svg +0 -3
- package/assets/icons/star.svg +0 -3
- package/assets/icons/trash-icon.svg +0 -59
- package/assets/icons/triangle-down.svg +0 -3
- package/assets/icons/users.svg +0 -11
- package/assets/icons/view.svg +0 -3
- package/assets/icons/watcher.svg +0 -3
- package/assets/icons/zoom-in-white.svg +0 -1
- package/assets/styles/global.css +0 -0
- package/assets/styles/global.scss +0 -0
- package/components/Accordion/Accordion.js +0 -167
- package/components/Accordion/AccordionSB.js +0 -170
- package/components/Accordion/AccordionSBfooter.js +0 -171
- package/components/Accordion/index.js +0 -4
- package/components/ArrowBar/ArrowBar.js +0 -276
- package/components/ArrowBar/index.js +0 -2
- package/components/Avatar/Avatar.js +0 -171
- package/components/Avatar/AvatarSB.js +0 -255
- package/components/Avatar/AvatarSBfooter.js +0 -279
- package/components/Avatar/index.js +0 -4
- package/components/Banner/Banner.js +0 -70
- package/components/Banner/index.js +0 -2
- package/components/Breadcrumb/Breadcrumb.js +0 -225
- package/components/Breadcrumb/index.js +0 -2
- package/components/Button/PrimaryButton.js +0 -167
- package/components/Button/SecondaryButton.js +0 -156
- package/components/Button/TinyButton.js +0 -101
- package/components/Button/index.js +0 -6
- package/components/Cards/Card.js +0 -43
- package/components/Cards/CardRef.js +0 -71
- package/components/Cards/DocumentCard.js +0 -215
- package/components/Cards/index.js +0 -5
- package/components/Content/Content.js +0 -50
- package/components/Content/index.js +0 -1
- package/components/DesignComponent/StyledComponent/StyledComponent.js +0 -326
- package/components/DesignComponent/StyledComponent/index.js +0 -1
- package/components/DesignComponent/index.js +0 -1
- package/components/Divider/Divider.js +0 -56
- package/components/Divider/index.js +0 -2
- package/components/Drawer/Drawer.js +0 -84
- package/components/Drawer/index.js +0 -2
- package/components/ErrorBoundary/ErrorBoundary.js +0 -44
- package/components/ErrorBoundary/index.js +0 -1
- package/components/FilterChip/FilterChip.js +0 -70
- package/components/FilterChip/index.js +0 -1
- package/components/Footer/Footer.js +0 -57
- package/components/Footer/FooterContent.js +0 -98
- package/components/Footer/index.js +0 -3
- package/components/Form/FormComponent.js +0 -244
- package/components/Form/HeaderComponent.js +0 -64
- package/components/Form/SubmitComponent.js +0 -63
- package/components/Form/index.js +0 -5
- package/components/GroupAvatars/GroupAvatars.js +0 -139
- package/components/GroupAvatars/index.js +0 -1
- package/components/GroupButtons/ButtonPopup.js +0 -191
- package/components/GroupButtons/GroupButtons.js +0 -150
- package/components/GroupButtons/GroupButtonsPopup.js +0 -163
- package/components/GroupButtons/index.js +0 -3
- package/components/GroupStatusCircle/GroupStatusCircle.js +0 -135
- package/components/GroupStatusCircle/index.js +0 -1
- package/components/Header/Header.js +0 -58
- package/components/Header/index.js +0 -1
- package/components/HyperLink/HyperLink.js +0 -114
- package/components/HyperLink/index.js +0 -1
- package/components/Icon/Icon.js +0 -176
- package/components/Icon/index.js +0 -1
- package/components/Images/Image.js +0 -107
- package/components/Images/index.js +0 -2
- package/components/Inputs/CheckBoxInput.js +0 -339
- package/components/Inputs/ColorInput.js +0 -145
- package/components/Inputs/DateSelect.js +0 -461
- package/components/Inputs/DropdownSelect.js +0 -690
- package/components/Inputs/DropzoneInput.js +0 -450
- package/components/Inputs/NumericInput.js +0 -166
- package/components/Inputs/PasswordInput.js +0 -242
- package/components/Inputs/RadioInput.js +0 -292
- package/components/Inputs/SearchInput.js +0 -19
- package/components/Inputs/Signature.js +0 -369
- package/components/Inputs/TextArea.js +0 -214
- package/components/Inputs/TextInput.js +0 -235
- package/components/Inputs/TimeInput.js +0 -186
- package/components/Inputs/ToggleSwitch.js +0 -157
- package/components/Inputs/index.js +0 -15
- package/components/Label/Label.js +0 -48
- package/components/Label/index.js +0 -1
- package/components/Loaders/Loader.js +0 -179
- package/components/Loaders/index.js +0 -2
- package/components/Modal/ModalComp.js +0 -216
- package/components/Modal/index.js +0 -1
- package/components/Overlay/Overlay.js +0 -158
- package/components/Overlay/index.js +0 -1
- package/components/Pagination/Pagination.js +0 -59
- package/components/Pagination/index.js +0 -1
- package/components/ProgressBar/ProgressBar.js +0 -101
- package/components/ProgressBar/index.js +0 -1
- package/components/ProgressSteps/ProgressSteps.js +0 -121
- package/components/ProgressSteps/index.js +0 -1
- package/components/Rating/Rating.js +0 -258
- package/components/Rating/index.js +0 -1
- package/components/SecondaryLink/DarkSecondaryLink.js +0 -97
- package/components/SecondaryLink/LightSecondaryLink.js +0 -93
- package/components/SecondaryLink/index.js +0 -3
- package/components/Sidebar/Navbar.js +0 -306
- package/components/Sidebar/Sidebar.js +0 -207
- package/components/Sidebar/index.js +0 -3
- package/components/StatusChip/PrimaryStatusChip.js +0 -78
- package/components/StatusChip/SecondaryStatusChip.js +0 -78
- package/components/StatusChip/SlimPrimaryStatusChip.js +0 -92
- package/components/StatusChip/SlimSecondaryStatusChip.js +0 -93
- package/components/StatusChip/index.js +0 -6
- package/components/StatusCircle/StatusCircle.js +0 -64
- package/components/StatusCircle/index.js +0 -1
- package/components/Tables/Table.js +0 -178
- package/components/Tables/index.js +0 -1
- package/components/Tooltip/Tooltip.js +0 -581
- package/components/Tooltip/index.js +0 -1
- package/components/Typography/Typography.js +0 -77
- package/components/Typography/index.js +0 -2
- package/components/constants/colors.js +0 -33
- package/components/constants/defaultStyle.js +0 -801
- package/components/constants/defaultThemeColor.js +0 -16
- package/components/constants/index.js +0 -7
- package/components/constants/utils.js +0 -31
- package/components/global/FontStyle.js +0 -131
- package/components/global/index.js +0 -1
- package/index.js +0 -41
|
@@ -1,801 +0,0 @@
|
|
|
1
|
-
import defaultThemeColor from './defaultThemeColor';
|
|
2
|
-
|
|
3
|
-
const defaultStyles = {
|
|
4
|
-
/**
|
|
5
|
-
* Common Style poroperties of all the element of the library
|
|
6
|
-
*/
|
|
7
|
-
common: {
|
|
8
|
-
color: 'blue',
|
|
9
|
-
'background-color': `${defaultThemeColor.bgColor}`,
|
|
10
|
-
},
|
|
11
|
-
/**
|
|
12
|
-
* Default Style of the element label
|
|
13
|
-
*/
|
|
14
|
-
label: {
|
|
15
|
-
'padding-left': '6px',
|
|
16
|
-
'font-style': 'normal',
|
|
17
|
-
'font-weight': 'normal',
|
|
18
|
-
'font-size': '14px',
|
|
19
|
-
display: 'flex',
|
|
20
|
-
width: 'inherit',
|
|
21
|
-
'align-items': 'flex-start',
|
|
22
|
-
|
|
23
|
-
'margin-bottom': '0',
|
|
24
|
-
'padding-bottom': '0',
|
|
25
|
-
},
|
|
26
|
-
button: {
|
|
27
|
-
color: 'red',
|
|
28
|
-
'border-color': 'black',
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Default Style of the progressBar
|
|
33
|
-
*/
|
|
34
|
-
// progressWrapper: {
|
|
35
|
-
// height: '10px',
|
|
36
|
-
// 'border-radius': '10px',
|
|
37
|
-
// 'margin-top': '13px',
|
|
38
|
-
// 'margin-left': '13px',
|
|
39
|
-
// 'margin-right': '13px',
|
|
40
|
-
// width: 'inherit',
|
|
41
|
-
// 'background-color': `${defaultThemeColor.primary['primary-1']}`,
|
|
42
|
-
// },
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Default Style of the progressBar Container
|
|
46
|
-
*/
|
|
47
|
-
// containerWrapper: {
|
|
48
|
-
// height: 'inherit',
|
|
49
|
-
// width: 'inherit',
|
|
50
|
-
// transition: 'width 1s ease-in-out',
|
|
51
|
-
// 'border-radius': 'inherit',
|
|
52
|
-
// 'text-align': 'right',
|
|
53
|
-
// 'background-color': `${defaultThemeColor.primary['primary-1']}`,
|
|
54
|
-
// },
|
|
55
|
-
/**
|
|
56
|
-
* Default Style of the progressBar Label
|
|
57
|
-
*/
|
|
58
|
-
progressbarLabel: {
|
|
59
|
-
display: 'block',
|
|
60
|
-
'margin-left': '13px',
|
|
61
|
-
'margin-bottom': '7px',
|
|
62
|
-
'padding-bottom': '0',
|
|
63
|
-
'font-style': 'normal',
|
|
64
|
-
'font-weight': 'normal',
|
|
65
|
-
'font-size': '14px',
|
|
66
|
-
color: `${defaultThemeColor.neutral['neutral-2']}`,
|
|
67
|
-
},
|
|
68
|
-
/**
|
|
69
|
-
* Default Style of the Spinner
|
|
70
|
-
*/
|
|
71
|
-
spinner: {
|
|
72
|
-
'background-color': `${defaultThemeColor.variant['neutral-1']}`,
|
|
73
|
-
},
|
|
74
|
-
/**
|
|
75
|
-
* Default Style of the Avatar
|
|
76
|
-
*/
|
|
77
|
-
avatarContainer: {
|
|
78
|
-
background: 'transparent',
|
|
79
|
-
display: 'flex',
|
|
80
|
-
'align-items': 'center',
|
|
81
|
-
width: '100%',
|
|
82
|
-
position: 'relative',
|
|
83
|
-
},
|
|
84
|
-
avatarCircle: {
|
|
85
|
-
|
|
86
|
-
'border-radius': '50%',
|
|
87
|
-
display: 'flex',
|
|
88
|
-
'align-items': 'center',
|
|
89
|
-
'justify-content': 'center',
|
|
90
|
-
'box-sizing': 'border-box',
|
|
91
|
-
},
|
|
92
|
-
avatarCircleSM: {
|
|
93
|
-
'font-weight': '600',
|
|
94
|
-
'font-size': '13px',
|
|
95
|
-
'min-width': '30px',
|
|
96
|
-
'min-height': '30px',
|
|
97
|
-
},
|
|
98
|
-
avatarCircleMD: {
|
|
99
|
-
'font-weight': '400',
|
|
100
|
-
'font-size': '12px',
|
|
101
|
-
'min-width': '32px',
|
|
102
|
-
'min-height': '32px',
|
|
103
|
-
},
|
|
104
|
-
avatarCircleLG: {
|
|
105
|
-
'font-weight': '400',
|
|
106
|
-
'font-size': '16px',
|
|
107
|
-
'min-width': '38px',
|
|
108
|
-
'min-height': '38px',
|
|
109
|
-
},
|
|
110
|
-
avatarName: {
|
|
111
|
-
},
|
|
112
|
-
avatarNameSM: {
|
|
113
|
-
'margin-left': '8px',
|
|
114
|
-
'font-size': '14px',
|
|
115
|
-
},
|
|
116
|
-
avatarNameMD: {
|
|
117
|
-
'margin-left': '10px',
|
|
118
|
-
'font-size': '16px',
|
|
119
|
-
},
|
|
120
|
-
avatarNameLG: {
|
|
121
|
-
'margin-left': '12px',
|
|
122
|
-
'font-size': '16px',
|
|
123
|
-
},
|
|
124
|
-
/**
|
|
125
|
-
* Default Style of the textbox wrapper
|
|
126
|
-
*/
|
|
127
|
-
'textbox-wrapper': {
|
|
128
|
-
border: `1px solid ${defaultThemeColor.border}`,
|
|
129
|
-
'border-radius': '4px',
|
|
130
|
-
padding: '6.5px 7px',
|
|
131
|
-
display: 'flex',
|
|
132
|
-
'align-items': 'center',
|
|
133
|
-
'line-height': '.5rem',
|
|
134
|
-
'background-color': `${defaultThemeColor['bgColor']}`,
|
|
135
|
-
},
|
|
136
|
-
/**
|
|
137
|
-
* Default Style of the input wrapper
|
|
138
|
-
*/
|
|
139
|
-
'input-wrapper': {
|
|
140
|
-
border: '0',
|
|
141
|
-
outline: '0',
|
|
142
|
-
color: `${defaultThemeColor.variant['primary-2']}`,
|
|
143
|
-
margin: '0 5px',
|
|
144
|
-
padding: '0px',
|
|
145
|
-
'font-size': '14px',
|
|
146
|
-
'flex-grow': '1',
|
|
147
|
-
'flex-shrink': '0',
|
|
148
|
-
},
|
|
149
|
-
'textarea-wrapper': {
|
|
150
|
-
border: '0',
|
|
151
|
-
outline: '0',
|
|
152
|
-
color: `${defaultThemeColor.variant['primary-2']}`,
|
|
153
|
-
margin: '0 5px',
|
|
154
|
-
padding: '5px',
|
|
155
|
-
'font-size': '14px',
|
|
156
|
-
'flex-grow': '1',
|
|
157
|
-
'flex-shrink': '0',
|
|
158
|
-
'line-height': '12px',
|
|
159
|
-
},
|
|
160
|
-
/**
|
|
161
|
-
* Default Style of the input label
|
|
162
|
-
*/
|
|
163
|
-
'label-text': {
|
|
164
|
-
'font-family': 'Averta',
|
|
165
|
-
'font-style': 'normal',
|
|
166
|
-
'font-weight': 'normal',
|
|
167
|
-
'font-size': '14px',
|
|
168
|
-
color: `${defaultThemeColor.variant['neutral-2']}`,
|
|
169
|
-
display: 'flex',
|
|
170
|
-
'align-items': 'center',
|
|
171
|
-
'justify-content': 'center',
|
|
172
|
-
width: 'max-content',
|
|
173
|
-
'background-color': 'transparent',
|
|
174
|
-
'margin-bottom': '0px',
|
|
175
|
-
'padding-bottom': '0px',
|
|
176
|
-
},
|
|
177
|
-
/**
|
|
178
|
-
* Default Style of the Image
|
|
179
|
-
*/
|
|
180
|
-
image: {
|
|
181
|
-
'border-radius': '0%',
|
|
182
|
-
width: '100%',
|
|
183
|
-
height: '100%',
|
|
184
|
-
},
|
|
185
|
-
imageAvatar: {
|
|
186
|
-
'border-radius': '50%',
|
|
187
|
-
'box-sizing': 'border-box',
|
|
188
|
-
position: 'absolute',
|
|
189
|
-
},
|
|
190
|
-
imageAvatarSM: {
|
|
191
|
-
'border-radius': '50%',
|
|
192
|
-
'box-sizing': 'border-box',
|
|
193
|
-
position: 'absolute',
|
|
194
|
-
width: '30px',
|
|
195
|
-
height: '30px',
|
|
196
|
-
},
|
|
197
|
-
imageAvatarMD: {
|
|
198
|
-
'border-radius': '50%',
|
|
199
|
-
'box-sizing': 'border-box',
|
|
200
|
-
position: 'absolute',
|
|
201
|
-
width: '32px',
|
|
202
|
-
height: '32px',
|
|
203
|
-
},
|
|
204
|
-
imageAvatarLG: {
|
|
205
|
-
'border-radius': '50%',
|
|
206
|
-
'box-sizing': 'border-box',
|
|
207
|
-
position: 'absolute',
|
|
208
|
-
width: '38px',
|
|
209
|
-
height: '38px',
|
|
210
|
-
},
|
|
211
|
-
table: {
|
|
212
|
-
table: {
|
|
213
|
-
style: {
|
|
214
|
-
borderRadius: '4px',
|
|
215
|
-
paddingRight: '0px', // For the vertical scroll bar
|
|
216
|
-
// borderBottom: `1px solid red`,
|
|
217
|
-
backgroundColor: 'transparent',
|
|
218
|
-
},
|
|
219
|
-
},
|
|
220
|
-
checkbox: {
|
|
221
|
-
style: {
|
|
222
|
-
maxHeight: '28px',
|
|
223
|
-
maxWidth: '28px',
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
|
-
|
|
227
|
-
headRow: {
|
|
228
|
-
style: {
|
|
229
|
-
background: `${defaultThemeColor.variant['neutral-5']}`,
|
|
230
|
-
borderLeft: `1px solid ${defaultThemeColor.variant['neutral-5']}`,
|
|
231
|
-
borderRight: `1px headRowsolid ${defaultThemeColor.variant['neutral-5']}`,
|
|
232
|
-
borderTop: `1px solid ${defaultThemeColor.variant['neutral-5']}`,
|
|
233
|
-
borderTopLeftRadius: '4px',
|
|
234
|
-
borderTopRightRadius: '4px',
|
|
235
|
-
paddingLeft: '56px', // To align to the body cells on the left side
|
|
236
|
-
borderBottom: 'none',
|
|
237
|
-
minHeight: '44px',
|
|
238
|
-
maxHeight: '44px',
|
|
239
|
-
},
|
|
240
|
-
},
|
|
241
|
-
headCells: {
|
|
242
|
-
style: {
|
|
243
|
-
// color: `${defaultThemeColor.variant['primary-2']}`,
|
|
244
|
-
fontSize: '14px',
|
|
245
|
-
fontWeight: '600',
|
|
246
|
-
'&:first-of-type': {
|
|
247
|
-
paddingLeft: '0px !important', //Remove default value since already apply the paddingLeft to the whole table to align the head to the body
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
rows: {
|
|
252
|
-
//This apply to all row of data not to the head table
|
|
253
|
-
style: {
|
|
254
|
-
background: `${defaultThemeColor.variant['bgColor']}`,
|
|
255
|
-
'&:not(:last-of-type)': {
|
|
256
|
-
borderBottomColor: 'none',
|
|
257
|
-
},
|
|
258
|
-
'&:last-of-type': {
|
|
259
|
-
borderBottomLeftRadius: '4px',
|
|
260
|
-
borderBottomRightRadius: '4px',
|
|
261
|
-
},
|
|
262
|
-
borderLeft: `1px solid ${defaultThemeColor.variant['neutral-5']}`,
|
|
263
|
-
borderRight: `1px solid ${defaultThemeColor.variant['neutral-5']}`,
|
|
264
|
-
borderBottom: `1px solid ${defaultThemeColor.variant['neutral-5']}`,
|
|
265
|
-
},
|
|
266
|
-
highlightOnHoverStyle: {
|
|
267
|
-
backgroundColor: `${defaultThemeColor.variant['neutral-5']}`,
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
},
|
|
271
|
-
/**
|
|
272
|
-
* Default Style of the Header
|
|
273
|
-
*/
|
|
274
|
-
header: {
|
|
275
|
-
display: 'flex',
|
|
276
|
-
'justify-content': 'space-between',
|
|
277
|
-
'align-items': 'center',
|
|
278
|
-
position: 'fixed',
|
|
279
|
-
'z-index': '1000',
|
|
280
|
-
top: '0',
|
|
281
|
-
right: '0',
|
|
282
|
-
left: '0',
|
|
283
|
-
'min-height': '51px',
|
|
284
|
-
'padding-left': '39px',
|
|
285
|
-
'font-size': '16px',
|
|
286
|
-
},
|
|
287
|
-
/**
|
|
288
|
-
* Default Style of the Content
|
|
289
|
-
*/
|
|
290
|
-
content: {
|
|
291
|
-
'background-color': '#eef1f7',
|
|
292
|
-
width: '100%',
|
|
293
|
-
'min-height': '100%',
|
|
294
|
-
'padding-top': '53px',
|
|
295
|
-
'box-sizing': 'border-box',
|
|
296
|
-
display: 'flex',
|
|
297
|
-
'flex-direction': 'column',
|
|
298
|
-
'margin-left': '70px',
|
|
299
|
-
// 'transition': 'margin-left ease 400ms !important',
|
|
300
|
-
},
|
|
301
|
-
/**
|
|
302
|
-
* Default Style of the radio component
|
|
303
|
-
*/
|
|
304
|
-
'radio-outer-circle': {
|
|
305
|
-
width: '20px',
|
|
306
|
-
height: '20px',
|
|
307
|
-
'min-width': '20px',
|
|
308
|
-
'min-height': '20px',
|
|
309
|
-
'border-radius': '50%',
|
|
310
|
-
display: 'flex',
|
|
311
|
-
'justify-content': 'center',
|
|
312
|
-
'align-items': 'center',
|
|
313
|
-
},
|
|
314
|
-
'radio-inner-circle': {
|
|
315
|
-
display: 'flex',
|
|
316
|
-
'align-self': 'center',
|
|
317
|
-
margin: '0',
|
|
318
|
-
// 'padding': '.5px',
|
|
319
|
-
'border-radius': '50%',
|
|
320
|
-
},
|
|
321
|
-
'radio-label': {
|
|
322
|
-
display: 'block',
|
|
323
|
-
'margin-bottom': '7px',
|
|
324
|
-
'padding-bottom': '0',
|
|
325
|
-
color: `${defaultThemeColor.variant['neutral-2']}`,
|
|
326
|
-
},
|
|
327
|
-
'option-text': {
|
|
328
|
-
// 'background-color': `${defaultThemeColor.bgColor}`,
|
|
329
|
-
color: '#A9B1B8',
|
|
330
|
-
'font-size': '16px',
|
|
331
|
-
},
|
|
332
|
-
/**
|
|
333
|
-
* Default Style of the Sidebar
|
|
334
|
-
*/
|
|
335
|
-
sidebarContainer: {
|
|
336
|
-
'min-height': '100%',
|
|
337
|
-
position: 'fixed',
|
|
338
|
-
color: 'white',
|
|
339
|
-
width: '70px',
|
|
340
|
-
transition: 'width ease 400ms',
|
|
341
|
-
},
|
|
342
|
-
/**
|
|
343
|
-
* Default Style of the checkbox label
|
|
344
|
-
*/
|
|
345
|
-
'checkBox-outer': {
|
|
346
|
-
border: `2px solid ${defaultThemeColor.border}`,
|
|
347
|
-
minWidth: '20px',
|
|
348
|
-
width: '20px',
|
|
349
|
-
height: '20px',
|
|
350
|
-
'border-radius': '3px',
|
|
351
|
-
cursor: 'pointer',
|
|
352
|
-
'background-color': `${defaultThemeColor.bgColor}`,
|
|
353
|
-
},
|
|
354
|
-
'checkBox-inner': {
|
|
355
|
-
'background-repeat': 'no-repeat',
|
|
356
|
-
'background-position': 'center',
|
|
357
|
-
minWidth: '20px',
|
|
358
|
-
width: '20px',
|
|
359
|
-
height: '20px',
|
|
360
|
-
color: `${defaultThemeColor.bgColor}`,
|
|
361
|
-
cursor: 'pointer',
|
|
362
|
-
'text-align': 'center',
|
|
363
|
-
'border-radius': '3px',
|
|
364
|
-
},
|
|
365
|
-
'check-label': {
|
|
366
|
-
display: 'block',
|
|
367
|
-
'margin-bottom': '7px',
|
|
368
|
-
'padding-bottom': '0px',
|
|
369
|
-
color: `${defaultThemeColor.variant['neutral-2']}`,
|
|
370
|
-
},
|
|
371
|
-
'checkbox-option-text': {
|
|
372
|
-
'font-size': '16px',
|
|
373
|
-
'margin-left': '10px',
|
|
374
|
-
'background-color': `${defaultThemeColor.bgColor}`,
|
|
375
|
-
},
|
|
376
|
-
'toggle-switch-wrapper': {
|
|
377
|
-
display: 'flex',
|
|
378
|
-
'align-items': 'center',
|
|
379
|
-
gap: '7px',
|
|
380
|
-
width: 'fit-content',
|
|
381
|
-
},
|
|
382
|
-
'toggle-switch-checkbox-label': {
|
|
383
|
-
position: 'absolute',
|
|
384
|
-
width: '45px',
|
|
385
|
-
height: '22px',
|
|
386
|
-
'border-radius': '31px',
|
|
387
|
-
cursor: 'pointer',
|
|
388
|
-
marginBottom: '0px',
|
|
389
|
-
},
|
|
390
|
-
'toggle-switch-option-text': {
|
|
391
|
-
// 'background-color': `${defaultThemeColor.bgColor}`,
|
|
392
|
-
color: `${defaultThemeColor.neutral['neutral-1']}`,
|
|
393
|
-
'font-size': '16px',
|
|
394
|
-
'margin-right': '30px',
|
|
395
|
-
},
|
|
396
|
-
/**
|
|
397
|
-
* Default Style of the dropZone component
|
|
398
|
-
*/
|
|
399
|
-
'dropzone-parent': {
|
|
400
|
-
height: '86px',
|
|
401
|
-
'padding-left': '8px',
|
|
402
|
-
'padding-right': '8px',
|
|
403
|
-
display: 'flex',
|
|
404
|
-
'justify-content': 'center',
|
|
405
|
-
'align-items': 'center',
|
|
406
|
-
'font-size': '16px',
|
|
407
|
-
'border-radius': '5.5px',
|
|
408
|
-
color: ` ${defaultThemeColor.textColor}`,
|
|
409
|
-
},
|
|
410
|
-
'dropzone-file-div': {
|
|
411
|
-
width: 'inherit',
|
|
412
|
-
height: '38px',
|
|
413
|
-
display: 'flex',
|
|
414
|
-
'justify-content': 'center',
|
|
415
|
-
'align-items': 'center',
|
|
416
|
-
'font-size': '14px',
|
|
417
|
-
color: `${defaultThemeColor.textColor}`,
|
|
418
|
-
'background-color': `${defaultThemeColor.bgColor}`,
|
|
419
|
-
'box-shadow': '0px 5px 15px rgba(33, 55, 71, 0.096946)',
|
|
420
|
-
'border-radius': '5.5px',
|
|
421
|
-
'margin-top': '5px',
|
|
422
|
-
},
|
|
423
|
-
'dropzone-text-div': {
|
|
424
|
-
display: 'flex',
|
|
425
|
-
'justify-content': 'center',
|
|
426
|
-
'margin-left': '14px',
|
|
427
|
-
color: `${defaultThemeColor.textColor}`,
|
|
428
|
-
'background-color': 'transparent',
|
|
429
|
-
},
|
|
430
|
-
'dropzone-file-name': {
|
|
431
|
-
'margin-left': '5px',
|
|
432
|
-
overflow: 'hidden',
|
|
433
|
-
'text-overflow': 'ellipsis',
|
|
434
|
-
'white-space': 'nowrap',
|
|
435
|
-
padding: '2px',
|
|
436
|
-
'font-size': '14px',
|
|
437
|
-
color: '#494949',
|
|
438
|
-
},
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* Default Style of the signature component
|
|
442
|
-
*/
|
|
443
|
-
'signature-parent-div': {
|
|
444
|
-
'border-radius': '5.5px',
|
|
445
|
-
'align-content': 'flex-start',
|
|
446
|
-
'justify-content': 'center',
|
|
447
|
-
width: 'inherit',
|
|
448
|
-
'max-width': '532px',
|
|
449
|
-
height: '86px',
|
|
450
|
-
display: 'block',
|
|
451
|
-
'flex-flow': 'column wrap',
|
|
452
|
-
'font-size': '17px',
|
|
453
|
-
color: `${defaultThemeColor.textColor}`,
|
|
454
|
-
'background-color': `${defaultThemeColor.bgColor}`,
|
|
455
|
-
},
|
|
456
|
-
'signature-wrapper-div': {
|
|
457
|
-
display: 'flex',
|
|
458
|
-
flex: 'auto',
|
|
459
|
-
'justify-content': 'center',
|
|
460
|
-
'align-items': 'center',
|
|
461
|
-
'font-size': '17px',
|
|
462
|
-
height: 'inherit',
|
|
463
|
-
color: `${defaultThemeColor.textColor}`,
|
|
464
|
-
'background-color': 'transparent',
|
|
465
|
-
},
|
|
466
|
-
'signature-input-text': {
|
|
467
|
-
border: '0',
|
|
468
|
-
'text-align': 'center',
|
|
469
|
-
display: 'block',
|
|
470
|
-
height: '48px',
|
|
471
|
-
width: `calc(100% - 54px)!important`,
|
|
472
|
-
'background-color': `${defaultThemeColor.bgColor}`,
|
|
473
|
-
'font-family': 'Beauty',
|
|
474
|
-
'background-clip': 'padding-box',
|
|
475
|
-
color: '#444444',
|
|
476
|
-
'font-style': 'normal',
|
|
477
|
-
'font-weight': 'normal',
|
|
478
|
-
'font-size': '47px',
|
|
479
|
-
'padding-left': '10px',
|
|
480
|
-
},
|
|
481
|
-
/**
|
|
482
|
-
* Default Style of the modal component
|
|
483
|
-
*/
|
|
484
|
-
'modal-background': {
|
|
485
|
-
position: 'fixed',
|
|
486
|
-
top: '0',
|
|
487
|
-
left: '0',
|
|
488
|
-
width: '100%',
|
|
489
|
-
height: '100%',
|
|
490
|
-
background: 'rgba(0, 0, 0, 0.6)',
|
|
491
|
-
'z-index': '2000',
|
|
492
|
-
},
|
|
493
|
-
'modal-wrapper': {
|
|
494
|
-
position: 'fixed',
|
|
495
|
-
display: 'flex',
|
|
496
|
-
'align-items': 'end',
|
|
497
|
-
'justify-content': 'center',
|
|
498
|
-
'flex-direction': 'column',
|
|
499
|
-
background: 'white',
|
|
500
|
-
width: 'fit-content',
|
|
501
|
-
height: 'fit-content',
|
|
502
|
-
top: '50%',
|
|
503
|
-
left: '50%',
|
|
504
|
-
transform: 'translate(-50%, -50%)',
|
|
505
|
-
'border-radius': '5px',
|
|
506
|
-
},
|
|
507
|
-
'modal-close-button': {
|
|
508
|
-
cursor: 'pointer',
|
|
509
|
-
width: 'fit-content',
|
|
510
|
-
height: 'fit-content',
|
|
511
|
-
padding: '0',
|
|
512
|
-
'padding-right': '5px',
|
|
513
|
-
'padding-top': '5px',
|
|
514
|
-
color: `${defaultThemeColor.textColor}`,
|
|
515
|
-
},
|
|
516
|
-
/*
|
|
517
|
-
* Default Style of the checkbox label
|
|
518
|
-
*/
|
|
519
|
-
footer: {
|
|
520
|
-
display: 'flex',
|
|
521
|
-
'margin-top': 'auto',
|
|
522
|
-
width: '100%',
|
|
523
|
-
},
|
|
524
|
-
/**
|
|
525
|
-
* Default Style of drawer
|
|
526
|
-
*/
|
|
527
|
-
drawer: {
|
|
528
|
-
'min-height': '100%',
|
|
529
|
-
overflow: 'hidden',
|
|
530
|
-
position: 'fixed',
|
|
531
|
-
width: '360px',
|
|
532
|
-
transition: 'transform ease 400ms',
|
|
533
|
-
display: 'flex',
|
|
534
|
-
'flex-direction': 'column',
|
|
535
|
-
|
|
536
|
-
'box-sizing': 'border-box',
|
|
537
|
-
|
|
538
|
-
top: '51px',
|
|
539
|
-
right: '0px',
|
|
540
|
-
'z-index': '1001',
|
|
541
|
-
// 'transform': 'translateX(${({ drawerOpen }) => drawerOpen ? "0px" : "360px"})',
|
|
542
|
-
},
|
|
543
|
-
'drawer-close': {
|
|
544
|
-
transform: 'translateX(360px)',
|
|
545
|
-
},
|
|
546
|
-
'drawer-open': {
|
|
547
|
-
transform: 'translateX(0px)',
|
|
548
|
-
},
|
|
549
|
-
/**
|
|
550
|
-
* Default Style of the tooltip
|
|
551
|
-
*/
|
|
552
|
-
'tooltip-container': {
|
|
553
|
-
|
|
554
|
-
'border-radius': '3.6px',
|
|
555
|
-
|
|
556
|
-
'box-shadow': '0px 5px 33px rgba(56, 66, 100, 0.482627)',
|
|
557
|
-
|
|
558
|
-
display: 'flex',
|
|
559
|
-
'flex-direction': 'column',
|
|
560
|
-
padding: '0',
|
|
561
|
-
transition: 'opacity 0.3s',
|
|
562
|
-
'z-index': '9999',
|
|
563
|
-
},
|
|
564
|
-
'tooltip-arrow': {
|
|
565
|
-
height: '19px', //'1rem',
|
|
566
|
-
position: 'absolute',
|
|
567
|
-
width: '29px', //'1rem',
|
|
568
|
-
'pointer-events': 'none',
|
|
569
|
-
},
|
|
570
|
-
'tooltip-arrow-before': {
|
|
571
|
-
'border-style': 'solid',
|
|
572
|
-
content: '',
|
|
573
|
-
display: 'block',
|
|
574
|
-
height: '0',
|
|
575
|
-
margin: 'auto',
|
|
576
|
-
width: '0',
|
|
577
|
-
},
|
|
578
|
-
'tooltip-arrow-after': {
|
|
579
|
-
'border-style': 'solid',
|
|
580
|
-
content: '',
|
|
581
|
-
display: 'block',
|
|
582
|
-
height: '0',
|
|
583
|
-
margin: 'auto',
|
|
584
|
-
position: 'absolute',
|
|
585
|
-
width: '0',
|
|
586
|
-
},
|
|
587
|
-
'tp-cont-bottom-arrow-before': {
|
|
588
|
-
'border-width': '0 15px 0px 15px',
|
|
589
|
-
position: 'absolute',
|
|
590
|
-
top: '-1px',
|
|
591
|
-
},
|
|
592
|
-
'tp-cont-bottom-arrow-after': {
|
|
593
|
-
|
|
594
|
-
// 'border-width': '0 0.5rem 0.4rem 0.5rem',
|
|
595
|
-
'border-width': '0 15px 19px 15px',
|
|
596
|
-
},
|
|
597
|
-
'tp-cont-top-arrow-before': {
|
|
598
|
-
|
|
599
|
-
// 'border-width': '0.4rem 0.5rem 0 0.5rem',
|
|
600
|
-
'border-width': '0px 15px 0 15px',
|
|
601
|
-
position: 'absolute',
|
|
602
|
-
top: '1px',
|
|
603
|
-
},
|
|
604
|
-
'tp-cont-top-arrow-after': {
|
|
605
|
-
|
|
606
|
-
// 'border-width': '0.4rem 0.5rem 0 0.5rem',
|
|
607
|
-
'border-width': '19px 15px 0 15px',
|
|
608
|
-
},
|
|
609
|
-
'tp-cont-right-arrow-before': {
|
|
610
|
-
|
|
611
|
-
'border-width': '15px 0px 15px 0',
|
|
612
|
-
},
|
|
613
|
-
'tp-cont-right-arrow-after': {
|
|
614
|
-
|
|
615
|
-
// 'border-width': '0.5rem 0.4rem 0.5rem 0',
|
|
616
|
-
'border-width': '15px 19px 15px 0',
|
|
617
|
-
left: '6px',
|
|
618
|
-
top: '0',
|
|
619
|
-
},
|
|
620
|
-
'tp-cont-left-arrow-before': {
|
|
621
|
-
|
|
622
|
-
// 'border-width': '0.5rem 0 0.5rem 0.4em',
|
|
623
|
-
'border-width': '15px 0 15px 0px',
|
|
624
|
-
},
|
|
625
|
-
'tp-cont-left-arrow-after': {
|
|
626
|
-
|
|
627
|
-
// 'border-width': '0.5rem 0 0.5rem 0.4em',
|
|
628
|
-
'border-width': '15px 0 15px 19px',
|
|
629
|
-
left: '3px',
|
|
630
|
-
top: '0',
|
|
631
|
-
},
|
|
632
|
-
'tp-cont-bottom-arrow': {
|
|
633
|
-
left: '0',
|
|
634
|
-
'margin-top': '-19px', //'-0.4rem',
|
|
635
|
-
top: '0',
|
|
636
|
-
},
|
|
637
|
-
'tp-cont-top-arrow': {
|
|
638
|
-
bottom: '0',
|
|
639
|
-
left: '0',
|
|
640
|
-
'margin-bottom': '-19px', //'-1rem',
|
|
641
|
-
},
|
|
642
|
-
'tp-cont-right-arrow': {
|
|
643
|
-
left: '0',
|
|
644
|
-
'margin-left': '-24px', //'-0.7rem',
|
|
645
|
-
},
|
|
646
|
-
'tp-cont-left-arrow': {
|
|
647
|
-
'margin-right': '-24px', //'-0.7rem',
|
|
648
|
-
right: '0',
|
|
649
|
-
},
|
|
650
|
-
/**
|
|
651
|
-
* Default Style of the overlay
|
|
652
|
-
*/
|
|
653
|
-
overlay: {
|
|
654
|
-
'border-radius': '3.6px',
|
|
655
|
-
display: 'flex',
|
|
656
|
-
'flex-direction': 'column',
|
|
657
|
-
padding: '0',
|
|
658
|
-
transition: 'opacity 0.3s',
|
|
659
|
-
'z-index': '9999',
|
|
660
|
-
},
|
|
661
|
-
'simple-overlay': {
|
|
662
|
-
|
|
663
|
-
'border-radius': '6px',
|
|
664
|
-
|
|
665
|
-
// 'box-shadow': '0px 5px 33px rgba(56, 66, 100, 0.482627)',
|
|
666
|
-
|
|
667
|
-
display: 'flex',
|
|
668
|
-
'flex-direction': 'column',
|
|
669
|
-
padding: '0',
|
|
670
|
-
transition: 'opacity 0.3s',
|
|
671
|
-
'z-index': '9999',
|
|
672
|
-
},
|
|
673
|
-
/**
|
|
674
|
-
* Default Style of the Sidebar
|
|
675
|
-
*/
|
|
676
|
-
'sidebar-container': {
|
|
677
|
-
'min-height': '100%',
|
|
678
|
-
overflowX: 'hidden',
|
|
679
|
-
position: 'fixed',
|
|
680
|
-
transition: 'width ease 400ms',
|
|
681
|
-
display: 'flex',
|
|
682
|
-
'flex-direction': 'column',
|
|
683
|
-
'z-index': '1001',
|
|
684
|
-
},
|
|
685
|
-
'sidebar-container-open': {
|
|
686
|
-
width: '240px',
|
|
687
|
-
},
|
|
688
|
-
'sidebar-container-close': {
|
|
689
|
-
width: '70px',
|
|
690
|
-
},
|
|
691
|
-
'sidebar-container-mobile-open': {
|
|
692
|
-
width: '240px',
|
|
693
|
-
'z-index': '1001',
|
|
694
|
-
},
|
|
695
|
-
'sidebar-container-mobile-close': {
|
|
696
|
-
width: '0px',
|
|
697
|
-
'z-index': '1001',
|
|
698
|
-
},
|
|
699
|
-
'sidebar-pusher': {
|
|
700
|
-
'min-height': '100%',
|
|
701
|
-
overflow: 'hidden',
|
|
702
|
-
'background-color': 'transparent',
|
|
703
|
-
position: 'fixed',
|
|
704
|
-
transition: 'width ease 400ms',
|
|
705
|
-
},
|
|
706
|
-
'sidebar-pusher-open': {
|
|
707
|
-
width: '240px',
|
|
708
|
-
},
|
|
709
|
-
'sidebar-pusher-close': {
|
|
710
|
-
width: '70px',
|
|
711
|
-
},
|
|
712
|
-
'sidebar-pusher-mobile': {
|
|
713
|
-
width: '0px',
|
|
714
|
-
},
|
|
715
|
-
/**
|
|
716
|
-
* Default Style of the ModalComp
|
|
717
|
-
*/
|
|
718
|
-
'modalComp-custom-style': {
|
|
719
|
-
content: {
|
|
720
|
-
top: '50%',
|
|
721
|
-
left: '50%',
|
|
722
|
-
right: 'auto',
|
|
723
|
-
bottom: 'auto',
|
|
724
|
-
marginRight: '-50%',
|
|
725
|
-
transform: 'translate(-50%, -50%)',
|
|
726
|
-
zIndex: '999',
|
|
727
|
-
},
|
|
728
|
-
},
|
|
729
|
-
'modalComp-modal-close': {
|
|
730
|
-
position: 'absolute',
|
|
731
|
-
top: '15px',
|
|
732
|
-
right: '10px',
|
|
733
|
-
outline: 'none',
|
|
734
|
-
border: 'none',
|
|
735
|
-
background: 'transparent',
|
|
736
|
-
cursor: 'pointer',
|
|
737
|
-
},
|
|
738
|
-
'modalComp-modal-body': {
|
|
739
|
-
'margin-top': '20px',
|
|
740
|
-
'margin-bottom': '15px',
|
|
741
|
-
},
|
|
742
|
-
'modalComp-modal-footer': {
|
|
743
|
-
'margin-top': '30px',
|
|
744
|
-
'margin-bottom': '15px',
|
|
745
|
-
'border-top': `1px solid ${defaultThemeColor.border}`,
|
|
746
|
-
padding: '1rem 3rem 0rem 3rem',
|
|
747
|
-
'&:before': {
|
|
748
|
-
content: '',
|
|
749
|
-
position: 'fixed',
|
|
750
|
-
display: 'inline-block',
|
|
751
|
-
left: 0,
|
|
752
|
-
right: 0,
|
|
753
|
-
'margin-top': '-0.9rem',
|
|
754
|
-
'z-index': -1,
|
|
755
|
-
},
|
|
756
|
-
/**
|
|
757
|
-
* Default Style of the SelectComp
|
|
758
|
-
*/
|
|
759
|
-
'selectComp-label-wrapper': {
|
|
760
|
-
paddingBottom: '10px',
|
|
761
|
-
display: 'flex',
|
|
762
|
-
width: '25vw',
|
|
763
|
-
},
|
|
764
|
-
},
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
'popOver-Content': {
|
|
768
|
-
padding: '16px',
|
|
769
|
-
color: 'white',
|
|
770
|
-
width: '226px',
|
|
771
|
-
borderRadius: '3.6px'
|
|
772
|
-
},
|
|
773
|
-
'popOver-header': {
|
|
774
|
-
marginBottom: '8px',
|
|
775
|
-
fontWeight: '600'
|
|
776
|
-
},
|
|
777
|
-
'popOver-body': {
|
|
778
|
-
marginBottom: '11.5px'
|
|
779
|
-
},
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
* Default style of the ColorInput
|
|
783
|
-
*/
|
|
784
|
-
'ColorWrapper': {
|
|
785
|
-
|
|
786
|
-
borderRadius: '4.87px',
|
|
787
|
-
|
|
788
|
-
padding: '8px 21px',
|
|
789
|
-
display: 'flex',
|
|
790
|
-
},
|
|
791
|
-
|
|
792
|
-
'input-color': {
|
|
793
|
-
|
|
794
|
-
borderRadius: '4px',
|
|
795
|
-
width: '24px',
|
|
796
|
-
height: '24px',
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
};
|
|
800
|
-
|
|
801
|
-
export default defaultStyles;
|