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.
Files changed (186) hide show
  1. package/dist/index.es.js +461 -430
  2. package/dist/index.js +469 -438
  3. package/package.json +15 -43
  4. package/rollup.config.js +6 -6
  5. package/assets/fonts/Averta/Averta-Black.woff2 +0 -0
  6. package/assets/fonts/Averta/Averta-BlackItalic.woff2 +0 -0
  7. package/assets/fonts/Averta/Averta-Bold.woff2 +0 -0
  8. package/assets/fonts/Averta/Averta-BoldItalic.woff2 +0 -0
  9. package/assets/fonts/Averta/Averta-ExtraBold.woff2 +0 -0
  10. package/assets/fonts/Averta/Averta-ExtraBoldItalic.woff2 +0 -0
  11. package/assets/fonts/Averta/Averta-ExtraThin.woff2 +0 -0
  12. package/assets/fonts/Averta/Averta-ExtraThinItalic.woff2 +0 -0
  13. package/assets/fonts/Averta/Averta-Light.woff2 +0 -0
  14. package/assets/fonts/Averta/Averta-LightItalic.woff2 +0 -0
  15. package/assets/fonts/Averta/Averta-Regular.woff2 +0 -0
  16. package/assets/fonts/Averta/Averta-RegularItalic.woff2 +0 -0
  17. package/assets/fonts/Averta/Averta-SemiBold.woff2 +0 -0
  18. package/assets/fonts/Averta/Averta-SemiBoldItalic.woff2 +0 -0
  19. package/assets/fonts/Averta/Averta-Thin.woff2 +0 -0
  20. package/assets/fonts/Averta/Averta-ThinItalic.woff2 +0 -0
  21. package/assets/fonts/Beauty/BeautyDemo.woff +0 -0
  22. package/assets/icons/app-logo.svg +0 -3
  23. package/assets/icons/arrow-down.svg +0 -3
  24. package/assets/icons/arrow-rotate.svg +0 -1
  25. package/assets/icons/arrow-up.svg +0 -3
  26. package/assets/icons/bell.svg +0 -3
  27. package/assets/icons/check.svg +0 -3
  28. package/assets/icons/checkmark.svg +0 -3
  29. package/assets/icons/chevron-down.svg +0 -3
  30. package/assets/icons/chevron-left.svg +0 -3
  31. package/assets/icons/chevron-right.svg +0 -3
  32. package/assets/icons/cloud-icon.svg +0 -3
  33. package/assets/icons/connection.svg +0 -3
  34. package/assets/icons/cross-icon.svg +0 -3
  35. package/assets/icons/default.svg +0 -1
  36. package/assets/icons/door-internal-active.svg +0 -1
  37. package/assets/icons/edit-icon.svg +0 -3
  38. package/assets/icons/ellipses-horizontal.svg +0 -3
  39. package/assets/icons/ellipses.svg +0 -3
  40. package/assets/icons/email.svg +0 -3
  41. package/assets/icons/eye-hide-view.svg +0 -1
  42. package/assets/icons/eye-hide.svg +0 -1
  43. package/assets/icons/file-attach-white.svg +0 -3
  44. package/assets/icons/file-attach.svg +0 -3
  45. package/assets/icons/file-icon.svg +0 -1
  46. package/assets/icons/file-upload.svg +0 -3
  47. package/assets/icons/functional-equation-regular.svg +0 -147
  48. package/assets/icons/hamburger-menu.svg +0 -3
  49. package/assets/icons/heart.svg +0 -18
  50. package/assets/icons/image.svg +0 -3
  51. package/assets/icons/info.svg +0 -3
  52. package/assets/icons/jpg-icon.svg +0 -3
  53. package/assets/icons/magnifier.svg +0 -3
  54. package/assets/icons/menu-ellipse-two.svg +0 -1
  55. package/assets/icons/menu-ellipse.svg +0 -53
  56. package/assets/icons/pause-all.svg +0 -1
  57. package/assets/icons/pdf-icon.svg +0 -3
  58. package/assets/icons/pen-icon.svg +0 -3
  59. package/assets/icons/plus-outlined.svg +0 -3
  60. package/assets/icons/resume.svg +0 -1
  61. package/assets/icons/sign-icon.svg +0 -3
  62. package/assets/icons/star.svg +0 -3
  63. package/assets/icons/trash-icon.svg +0 -59
  64. package/assets/icons/triangle-down.svg +0 -3
  65. package/assets/icons/users.svg +0 -11
  66. package/assets/icons/view.svg +0 -3
  67. package/assets/icons/watcher.svg +0 -3
  68. package/assets/icons/zoom-in-white.svg +0 -1
  69. package/assets/styles/global.css +0 -0
  70. package/assets/styles/global.scss +0 -0
  71. package/components/Accordion/Accordion.js +0 -167
  72. package/components/Accordion/AccordionSB.js +0 -170
  73. package/components/Accordion/AccordionSBfooter.js +0 -171
  74. package/components/Accordion/index.js +0 -4
  75. package/components/ArrowBar/ArrowBar.js +0 -276
  76. package/components/ArrowBar/index.js +0 -2
  77. package/components/Avatar/Avatar.js +0 -171
  78. package/components/Avatar/AvatarSB.js +0 -255
  79. package/components/Avatar/AvatarSBfooter.js +0 -279
  80. package/components/Avatar/index.js +0 -4
  81. package/components/Banner/Banner.js +0 -70
  82. package/components/Banner/index.js +0 -2
  83. package/components/Breadcrumb/Breadcrumb.js +0 -225
  84. package/components/Breadcrumb/index.js +0 -2
  85. package/components/Button/PrimaryButton.js +0 -167
  86. package/components/Button/SecondaryButton.js +0 -156
  87. package/components/Button/TinyButton.js +0 -101
  88. package/components/Button/index.js +0 -6
  89. package/components/Cards/Card.js +0 -43
  90. package/components/Cards/CardRef.js +0 -71
  91. package/components/Cards/DocumentCard.js +0 -215
  92. package/components/Cards/index.js +0 -5
  93. package/components/Content/Content.js +0 -50
  94. package/components/Content/index.js +0 -1
  95. package/components/DesignComponent/StyledComponent/StyledComponent.js +0 -326
  96. package/components/DesignComponent/StyledComponent/index.js +0 -1
  97. package/components/DesignComponent/index.js +0 -1
  98. package/components/Divider/Divider.js +0 -56
  99. package/components/Divider/index.js +0 -2
  100. package/components/Drawer/Drawer.js +0 -84
  101. package/components/Drawer/index.js +0 -2
  102. package/components/ErrorBoundary/ErrorBoundary.js +0 -44
  103. package/components/ErrorBoundary/index.js +0 -1
  104. package/components/FilterChip/FilterChip.js +0 -70
  105. package/components/FilterChip/index.js +0 -1
  106. package/components/Footer/Footer.js +0 -57
  107. package/components/Footer/FooterContent.js +0 -98
  108. package/components/Footer/index.js +0 -3
  109. package/components/Form/FormComponent.js +0 -244
  110. package/components/Form/HeaderComponent.js +0 -64
  111. package/components/Form/SubmitComponent.js +0 -63
  112. package/components/Form/index.js +0 -5
  113. package/components/GroupAvatars/GroupAvatars.js +0 -139
  114. package/components/GroupAvatars/index.js +0 -1
  115. package/components/GroupButtons/ButtonPopup.js +0 -191
  116. package/components/GroupButtons/GroupButtons.js +0 -150
  117. package/components/GroupButtons/GroupButtonsPopup.js +0 -163
  118. package/components/GroupButtons/index.js +0 -3
  119. package/components/GroupStatusCircle/GroupStatusCircle.js +0 -135
  120. package/components/GroupStatusCircle/index.js +0 -1
  121. package/components/Header/Header.js +0 -58
  122. package/components/Header/index.js +0 -1
  123. package/components/HyperLink/HyperLink.js +0 -114
  124. package/components/HyperLink/index.js +0 -1
  125. package/components/Icon/Icon.js +0 -176
  126. package/components/Icon/index.js +0 -1
  127. package/components/Images/Image.js +0 -107
  128. package/components/Images/index.js +0 -2
  129. package/components/Inputs/CheckBoxInput.js +0 -339
  130. package/components/Inputs/ColorInput.js +0 -145
  131. package/components/Inputs/DateSelect.js +0 -461
  132. package/components/Inputs/DropdownSelect.js +0 -690
  133. package/components/Inputs/DropzoneInput.js +0 -450
  134. package/components/Inputs/NumericInput.js +0 -166
  135. package/components/Inputs/PasswordInput.js +0 -242
  136. package/components/Inputs/RadioInput.js +0 -292
  137. package/components/Inputs/SearchInput.js +0 -19
  138. package/components/Inputs/Signature.js +0 -369
  139. package/components/Inputs/TextArea.js +0 -214
  140. package/components/Inputs/TextInput.js +0 -235
  141. package/components/Inputs/TimeInput.js +0 -186
  142. package/components/Inputs/ToggleSwitch.js +0 -157
  143. package/components/Inputs/index.js +0 -15
  144. package/components/Label/Label.js +0 -48
  145. package/components/Label/index.js +0 -1
  146. package/components/Loaders/Loader.js +0 -179
  147. package/components/Loaders/index.js +0 -2
  148. package/components/Modal/ModalComp.js +0 -216
  149. package/components/Modal/index.js +0 -1
  150. package/components/Overlay/Overlay.js +0 -158
  151. package/components/Overlay/index.js +0 -1
  152. package/components/Pagination/Pagination.js +0 -59
  153. package/components/Pagination/index.js +0 -1
  154. package/components/ProgressBar/ProgressBar.js +0 -101
  155. package/components/ProgressBar/index.js +0 -1
  156. package/components/ProgressSteps/ProgressSteps.js +0 -121
  157. package/components/ProgressSteps/index.js +0 -1
  158. package/components/Rating/Rating.js +0 -258
  159. package/components/Rating/index.js +0 -1
  160. package/components/SecondaryLink/DarkSecondaryLink.js +0 -97
  161. package/components/SecondaryLink/LightSecondaryLink.js +0 -93
  162. package/components/SecondaryLink/index.js +0 -3
  163. package/components/Sidebar/Navbar.js +0 -306
  164. package/components/Sidebar/Sidebar.js +0 -207
  165. package/components/Sidebar/index.js +0 -3
  166. package/components/StatusChip/PrimaryStatusChip.js +0 -78
  167. package/components/StatusChip/SecondaryStatusChip.js +0 -78
  168. package/components/StatusChip/SlimPrimaryStatusChip.js +0 -92
  169. package/components/StatusChip/SlimSecondaryStatusChip.js +0 -93
  170. package/components/StatusChip/index.js +0 -6
  171. package/components/StatusCircle/StatusCircle.js +0 -64
  172. package/components/StatusCircle/index.js +0 -1
  173. package/components/Tables/Table.js +0 -178
  174. package/components/Tables/index.js +0 -1
  175. package/components/Tooltip/Tooltip.js +0 -581
  176. package/components/Tooltip/index.js +0 -1
  177. package/components/Typography/Typography.js +0 -77
  178. package/components/Typography/index.js +0 -2
  179. package/components/constants/colors.js +0 -33
  180. package/components/constants/defaultStyle.js +0 -801
  181. package/components/constants/defaultThemeColor.js +0 -16
  182. package/components/constants/index.js +0 -7
  183. package/components/constants/utils.js +0 -31
  184. package/components/global/FontStyle.js +0 -131
  185. package/components/global/index.js +0 -1
  186. package/index.js +0 -41
@@ -1,461 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- import React, { useEffect, useRef, useState } from 'react';
3
- import DatePicker from 'react-datepicker';
4
- import styled, { useTheme } from 'styled-components';
5
- import defaultThemeColor from '../constants/defaultThemeColor';
6
-
7
- import { Icon } from '../Icon';
8
-
9
- const Wrapper = styled.div`
10
- display: flex;
11
- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'text')};
12
-
13
- .react-datepicker-wrapper {
14
- display: flex;
15
- }
16
-
17
- .react-datepicker {
18
- font-size: 14px;
19
- background-color: ${({ theme }) => theme.bgColor};
20
- color: #444444;
21
- border: 1px solid ${({ theme }) => theme.neutral['neutral-5']};
22
- border-radius: 6.6px;
23
- display: flex;
24
- flex-direction: column;
25
- position: relative;
26
- }
27
-
28
- .react-datepicker__input-container {
29
- border: 1px solid ${({ theme }) => theme.border};
30
- border-radius: 4px;
31
- padding: 6px 12px;
32
- display: flex;
33
- align-items: center;
34
- background-color: ${({ theme }) => theme.bgColor};
35
-
36
- &:focus-within {
37
- border: 1px solid ${({ theme }) => theme.variant['primary-1']};
38
- outline: none;
39
- }
40
-
41
- input {
42
- border: none;
43
- outline: none;
44
- width: 100%;
45
- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'text')};
46
- }
47
- }
48
-
49
- .react-datepicker__triangle {
50
- ::before,
51
- ::after {
52
- display: none;
53
- }
54
- }
55
-
56
- .react-datepicker__month-container {
57
- display: flex;
58
- flex-direction: column;
59
- flex-wrap: wrap;
60
- align-content: center;
61
- justify-content: center;
62
- align-items: center;
63
- }
64
- .react-datepicker__month-select {
65
- font-size: 16px;
66
- border: none;
67
- }
68
- .react-datepicker__current-month,
69
- .react-datepicker-time__header,
70
- .react-datepicker-year-header,
71
- .react-datepicker__navigation {
72
- display: none;
73
- }
74
- .react-datepicker__day--outside-month {
75
- color: #a9b1b8 !important;
76
- }
77
- .react-datepicker__header__dropdown,
78
- .react-datepicker__header__dropdown--select {
79
- margin-top: 16px;
80
- margin-bottom: 30px;
81
- border: none;
82
- }
83
- .react-datepicker__header {
84
- text-align: center;
85
- border-bottom: none;
86
- border-top-left-radius: 6.6px;
87
- border-top-right-radius: 6.6px;
88
- padding: 0;
89
- position: relative;
90
- background-color: ${({ theme }) => theme.bgColor};
91
- }
92
- .react-datepicker__year-select {
93
- border: none;
94
-
95
- &::focus-visible {
96
- border: none;
97
- }
98
- }
99
- .react-datepicker__day {
100
- cursor: pointer;
101
- padding: 3px;
102
- color: ${({ theme }) => theme.textColor};
103
- }
104
- .react-datepicker__day--selected,
105
- .react-datepicker__day--keyboard-selected {
106
- background: ${({ theme }) => theme.variant['primary-1']};
107
- border-radius: 2.4px;
108
- color: ${({ theme }) => theme.bgColor};
109
- }
110
- .react-datepicker__day-names,
111
- .react-datepicker__day-name {
112
- color: #9d9d9d;
113
- padding: 3px;
114
- text-transform: uppercase;
115
- font-size: 12px !important;
116
- }
117
-
118
- .react-datepicker__day-names {
119
- margin-bottom: -14px;
120
- }
121
-
122
- .calender-year {
123
- select {
124
- border: none;
125
- cursor: pointer;
126
- outline: none;
127
- font-size: 16px;
128
- font-weight: bold;
129
- &:focus {
130
- outline: none;
131
- border: none;
132
- }
133
- }
134
- }
135
- .react-datepicker__day-name,
136
- .react-datepicker__day,
137
- .react-datepicker__time-name {
138
- width: 30.2px;
139
- line-height: 27.2px;
140
- text-align: center;
141
- margin: 2.656px;
142
- }
143
-
144
- .react-datepicker::before,
145
- .react-datepicker::after {
146
- box-sizing: initial !important;
147
- }
148
- `;
149
-
150
- Wrapper.defaultProps = {
151
- theme: defaultThemeColor,
152
- };
153
-
154
- const CalendarHeaderDiv = styled.div`
155
- display: flex;
156
- align-items: flex-start;
157
- justify-content: center;
158
- font-size: 16px;
159
- padding-top: 12px;
160
- padding-bottom: 15px;
161
- `;
162
-
163
- const IconDiv = styled.div`
164
- display: flex;
165
- justify-content: center;
166
- margin-left: 6px;
167
- `;
168
-
169
- const DropDownContainer = styled('div')`
170
- width: inherit;
171
- `;
172
-
173
- const DropDownHeader = styled('div')`
174
- display: flex;
175
- flex-direction: row;
176
- cursor: pointer;
177
- `;
178
-
179
- const DropDownListContainer = styled('div')`
180
- margin-top: 8px;
181
- position: absolute;
182
- z-index: 100;
183
- width: inherit;
184
- margin-left: -20px;
185
- overflow-y: hidden;
186
- overflow-x: hidden;
187
- background: white;
188
- box-shadow: 0px 6px 20px rgb(56 66 100 / 15%);
189
- border-radius: 4px;
190
- `;
191
-
192
- const DropDownList = styled('ul')`
193
- list-style: none;
194
- padding: 0;
195
- margin: 12px;
196
- margin-right: 8px;
197
- padding-bottom: 10px;
198
- width: 132px;
199
- height: 178px;
200
- overflow-y: scroll;
201
- overflow-x: hidden;
202
-
203
- ::-webkit-scrollbar {
204
- width: 6px;
205
- }
206
-
207
- ::-webkit-scrollbar-thumb {
208
- background-clip: padding-box;
209
- border-radius: 10px;
210
- background-color: ${({ theme }) => theme.neutral['neutral-3']};
211
- }
212
-
213
- /* Track */
214
- ::-webkit-scrollbar-track {
215
- // margin: 5px;
216
- background-color: ${({ theme }) => theme.neutral['neutral-4']};
217
- border-radius: 10px;
218
- }
219
- `;
220
- DropDownList.defaultProps = {
221
- theme: defaultThemeColor,
222
- };
223
-
224
- const ListItem = styled('li')`
225
- text-align: left;
226
- font-style: normal;
227
- font-weight: normal;
228
- font-size: 14px;
229
- line-height: 17px;
230
- padding-left: 12px;
231
- padding-bottom: 12px;
232
- cursor: pointer;
233
- `;
234
-
235
- export const DateSelect = ({ startDate, setStartDate, disabled, theme, ...props }) => {
236
- const activeTheme = useTheme() || defaultThemeColor
237
-
238
- const months = [
239
- 'January',
240
- 'February',
241
- 'March',
242
- 'April',
243
- 'May',
244
- 'June',
245
- 'July',
246
- 'August',
247
- 'September',
248
- 'October',
249
- 'November',
250
- 'December',
251
- ];
252
- var years = [];
253
- for (var i = 2010; i <= new Date().getFullYear() + 10; i++) {
254
- years.push(i);
255
- }
256
-
257
- const refMonth = useRef(null);
258
- const refYear = useRef(null);
259
- const [isOpen, setIsOpen] = useState(false);
260
- const [isOpenYear, setIsOpenYear] = useState(false);
261
- const [hover, setHover] = useState(false);
262
- const [hoverYear, setHoverYear] = useState(false);
263
- const [selectedYear, setSelectedYear] = useState(startDate.getFullYear());
264
- const [selectedMonth, setSelectedMonth] = useState(
265
- months[startDate.getMonth()]
266
- );
267
-
268
- useEffect(() => {
269
- setSelectedMonth(months[startDate.getMonth()]);
270
- setSelectedYear(startDate.getFullYear());
271
- }, [startDate]);
272
-
273
- useEffect(() => {
274
- document.addEventListener('click', handleClickOutsideMonth, true);
275
-
276
- return () => {
277
- document.removeEventListener('click', handleClickOutsideMonth, true);
278
- };
279
- }, []);
280
-
281
- const handleClickOutsideMonth = (event) => {
282
- if (refMonth.current && !refMonth.current.contains(event.target)) {
283
- setIsOpen(false);
284
- }
285
- };
286
-
287
- const handleClickOutsideYear = (event) => {
288
- if (refYear.current && !refYear.current.contains(event.target)) {
289
- setIsOpenYear(false);
290
- }
291
- };
292
-
293
- useEffect(() => {
294
- document.addEventListener('click', handleClickOutsideYear, true);
295
-
296
- return () => {
297
- document.removeEventListener('click', handleClickOutsideYear, true);
298
- };
299
- }, []);
300
-
301
- return (
302
- <Wrapper disabled={disabled} theme={theme} {...props}>
303
- <DatePicker
304
- selected={startDate}
305
- dateFormat='dd/MM/yyyy'
306
- useWeekdaysShort={true}
307
- onChange={(date) => setStartDate(date)}
308
- placeholderText={'select date'}
309
- adjustDateOnChange
310
- disabled={disabled}
311
- dropdownMode='select'
312
- renderCustomHeader={({ date, changeYear, changeMonth }) => {
313
- return (
314
- <CalendarHeaderDiv>
315
- <div style={{ display: 'flex' }}>
316
- <DropDownContainer ref={refMonth}>
317
- <DropDownHeader
318
- onClick={() => {
319
- setIsOpen(!isOpen);
320
- setIsOpenYear(false);
321
- }}
322
- >
323
- <span
324
- onMouseEnter={() => setHover(true)}
325
- onMouseLeave={() => setHover(false)}
326
- style={{
327
- color: `${hover ? activeTheme.variant['primary-1'] : activeTheme.textColor
328
- }`,
329
- }}
330
- >
331
- {months[date.getMonth()]}
332
- </span>
333
- <IconDiv>
334
- <Icon
335
- icon='triangle-down'
336
- color={hover ? activeTheme.variant['primary-1'] : activeTheme.textColor}
337
- size={7}
338
- />
339
- </IconDiv>
340
- </DropDownHeader>
341
- {isOpen && (
342
- <DropDownListContainer>
343
- <DropDownList theme={theme} onMouseEnter={() => setHover(true)}>
344
- {months.map((option, index) => (
345
- <ListItem
346
- selectedMonth={selectedMonth}
347
- onClick={() => {
348
- setHover(false);
349
- changeMonth(index);
350
- setIsOpen(false);
351
- setSelectedMonth(months[index]);
352
- }}
353
- key={Math.random()}
354
- >
355
- <span
356
- style={{
357
- color: `${selectedMonth === option
358
- ? activeTheme.variant['primary-1']
359
- : activeTheme.textColor
360
- }`,
361
- }}
362
- >
363
- {option}
364
- </span>
365
- </ListItem>
366
- ))}
367
- </DropDownList>
368
- </DropDownListContainer>
369
- )}
370
- </DropDownContainer>
371
- <DropDownContainer ref={refYear}>
372
- <DropDownHeader
373
- style={{ marginLeft: '28px' }}
374
- onClick={() => {
375
- setIsOpenYear(!isOpenYear);
376
- setIsOpen(false);
377
- }}
378
- >
379
- <span
380
- onMouseEnter={() => setHoverYear(true)}
381
- onMouseLeave={() => setHoverYear(false)}
382
- style={{
383
- color: `${hoverYear
384
- ? activeTheme.variant['primary-1']
385
- : activeTheme.textColor
386
- }`,
387
- }}
388
- >
389
- {date.getFullYear()}
390
- </span>
391
- <IconDiv>
392
- <Icon
393
- icon='triangle-down'
394
- color={hoverYear ? activeTheme.variant['primary-1'] : activeTheme.textColor}
395
- size={7}
396
- />
397
- </IconDiv>
398
- </DropDownHeader>
399
- {isOpenYear && (
400
- <DropDownListContainer>
401
- <DropDownList onMouseEnter={() => setHoverYear(true)}>
402
- {years.map((option, index) => (
403
- <ListItem
404
- onClick={() => {
405
- setHoverYear(false);
406
- changeYear(option);
407
- setSelectedYear(option);
408
- setIsOpenYear(false);
409
- }}
410
- key={Math.random()}
411
- >
412
- <span
413
- style={{
414
- color: `${selectedYear === option
415
- ? activeTheme.variant['primary-1']
416
- : activeTheme.textColor
417
- }`,
418
- }}
419
- >
420
- {option}
421
- </span>
422
- </ListItem>
423
- ))}
424
- </DropDownList>
425
- </DropDownListContainer>
426
- )}
427
- </DropDownContainer>
428
- </div>
429
- </CalendarHeaderDiv>
430
- );
431
- }}
432
- />
433
- </Wrapper>
434
- );
435
- };
436
-
437
- DateSelect.propTypes = {
438
- /**
439
- * Date Props in GMT Format
440
- */
441
- startDate: PropTypes.any,
442
- /**
443
- * Date onChange Function
444
- */
445
- setStartDate: PropTypes.func,
446
- /**
447
- * Disable property of DateSelect
448
- */
449
- disabled: PropTypes.bool,
450
- /**
451
- * theme object
452
- */
453
- theme: PropTypes.object,
454
- };
455
-
456
- DateSelect.defaultProps = {
457
- theme: defaultThemeColor,
458
- startDate: '',
459
- setStartDate: () => { },
460
- disabled: false,
461
- };