@portnet/ui 0.1.60 → 1.1.0

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 (62) hide show
  1. package/dist/components/buttons/PuiButton.js +13 -11
  2. package/dist/components/buttons/PuiIconButton.js +9 -7
  3. package/dist/components/common/PuiAlertContext.js +1 -1
  4. package/dist/components/common/StyledMuiButton.js +9 -7
  5. package/dist/components/common/StyledMuiTextField.js +10 -8
  6. package/dist/components/inputs/PuiAutocomplete.js +11 -8
  7. package/dist/components/inputs/PuiCheckbox.js +13 -10
  8. package/dist/components/inputs/PuiCheckboxGroup.js +8 -6
  9. package/dist/components/inputs/PuiCheckboxItem.js +9 -7
  10. package/dist/components/inputs/PuiDateField.js +10 -8
  11. package/dist/components/inputs/PuiDateTimeField.js +12 -11
  12. package/dist/components/inputs/PuiFileField.js +11 -9
  13. package/dist/components/inputs/PuiRadioGroup.js +9 -7
  14. package/dist/components/inputs/PuiRadioItem.js +8 -6
  15. package/dist/components/inputs/PuiSelect.js +12 -9
  16. package/dist/components/inputs/PuiTextField.js +9 -7
  17. package/dist/components/others/PuiBadge.js +6 -4
  18. package/dist/components/others/PuiChip.js +16 -14
  19. package/dist/components/others/PuiDialog.js +9 -7
  20. package/dist/components/others/PuiFormikForm.js +1 -1
  21. package/dist/components/others/PuiGrid.js +5 -3
  22. package/dist/components/others/PuiIcon.js +9 -7
  23. package/dist/components/others/PuiLoadingBackdrop.js +1 -1
  24. package/dist/components/others/PuiMainContainer.js +8 -6
  25. package/dist/components/others/PuiNavigation.js +7 -5
  26. package/dist/components/others/PuiSection.js +8 -6
  27. package/dist/components/others/PuiTooltip.js +10 -8
  28. package/dist/components/providers/PuiAlertProvider.js +10 -7
  29. package/dist/components/providers/PuiLocalizationProvider.js +7 -5
  30. package/dist/components/referentiel/common/ReferetielContext.js +1 -1
  31. package/dist/components/referentiel/common/constants/specificReferentielsBaseFilters.js +1 -1
  32. package/dist/components/referentiel/common/constants/specificReferentielsValidationSchemas.js +1 -1
  33. package/dist/components/referentiel/components/PuiBasePopupReferentielField.js +7 -5
  34. package/dist/components/referentiel/components/PuiCustomPopupReferentielField.js +7 -5
  35. package/dist/components/referentiel/components/PuiSimplePopupReferentielField.js +8 -5
  36. package/dist/components/referentiel/components/PuiSimpleReferentielField.js +11 -8
  37. package/dist/components/referentiel/components/PuiSpecificReferentielField.js +10 -7
  38. package/dist/components/referentiel/providers/PuiReferentielProvider.js +7 -5
  39. package/dist/components/tab/PuiTab.js +1 -1
  40. package/dist/components/tab/PuiTabs.js +13 -9
  41. package/dist/components/table/ActionPopover.js +3 -1
  42. package/dist/components/table/PuiTable.js +11 -8
  43. package/dist/components/table/PuiTableAction.js +6 -4
  44. package/dist/components/typography/PuiDefinition.js +1 -1
  45. package/dist/components/typography/PuiIndication.js +7 -5
  46. package/dist/components/typography/PuiMainTitle.js +8 -5
  47. package/dist/components/ui/dialogs/PuiSearchDialog.js +9 -7
  48. package/dist/components/ui/pages/errors/PuiErrorBasePage.js +1 -1
  49. package/dist/components/ui/pages/errors/PuiForbiddenErrorPage.js +1 -1
  50. package/dist/components/ui/pages/errors/PuiNetworkErrorPage.js +1 -1
  51. package/dist/components/ui/pages/errors/PuiNotFoundErrorPage.js +1 -1
  52. package/dist/components/ui/pages/errors/PuiServerErrorPage.js +1 -1
  53. package/dist/components/ui/pages/general/PuiDefaultPage.js +1 -1
  54. package/dist/components/ui/pages/general/PuiSearchPage.js +70 -15
  55. package/dist/config/mapping.js +1 -1
  56. package/dist/hooks/useAlert.js +2 -2
  57. package/dist/hooks/useAxios.js +1 -1
  58. package/dist/hooks/useQuery.js +4 -2
  59. package/dist/index.js +1 -1
  60. package/package.json +3 -2
  61. package/dist/components/others/DateTimePickerField.js +0 -287
  62. package/dist/components/others/custom-datepicker.css +0 -227
@@ -1,287 +0,0 @@
1
- "use strict";
2
-
3
- require("core-js/modules/es.weak-map.js");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- require("core-js/modules/web.dom-collections.iterator.js");
9
- require("core-js/modules/es.regexp.exec.js");
10
- require("core-js/modules/es.regexp.test.js");
11
- require("core-js/modules/es.parse-int.js");
12
- var _AccessTime = _interopRequireDefault(require("@mui/icons-material/AccessTime"));
13
- var _CalendarMonth = _interopRequireDefault(require("@mui/icons-material/CalendarMonth"));
14
- var _material = require("@mui/material");
15
- var _InputAdornment = _interopRequireDefault(require("@mui/material/InputAdornment"));
16
- var _reactDatepicker = _interopRequireWildcard(require("@trendmicro/react-datepicker"));
17
- var _formik = require("formik");
18
- var _momentTimezone = _interopRequireDefault(require("moment-timezone"));
19
- var _react = _interopRequireWildcard(require("react"));
20
- var _PuiButton = _interopRequireDefault(require("../buttons/PuiButton"));
21
- var _StyledMuiTextField = _interopRequireDefault(require("../common/StyledMuiTextField"));
22
- require("./custom-datepicker.css");
23
- var _jsxRuntime = require("react/jsx-runtime");
24
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
25
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
26
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
- const dateTimeRegex = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s\d{2}\s\d{4}\s\d{2}:\d{2}:\d{2}\sGMT[+-]\d{4}\s\(UTC[+-]\d{2}:\d{2}\)$/;
28
- const DATE_TIME_FORMATS = {
29
- LONG: "YYYY-MM-DD HH:mm:ss",
30
- SHORT: "YYYY-MM-DD HH:mm"
31
- };
32
- const DateTimePickerField = _ref => {
33
- let {
34
- label,
35
- name,
36
- format = "YYYY-MM-DD HH:mm",
37
- onChange,
38
- minDate,
39
- maxDate,
40
- value,
41
- required = true,
42
- error = false,
43
- helperText = null,
44
- fullWidth = true
45
- } = _ref;
46
- const [field] = (0, _formik.useField)(name);
47
- const [anchorEl, setAnchorEl] = (0, _react.useState)(null);
48
- const [timeAnchorEl, setTimeAnchorEl] = (0, _react.useState)(null);
49
- const [selectedDate, setSelectedDate] = (0, _react.useState)((0, _momentTimezone.default)(new Date()).format("YYYY-MM-DD"));
50
- const [selectedTime, setSelectedTime] = (0, _react.useState)((0, _momentTimezone.default)(new Date()).format("HH:mm"));
51
- const openDatePopover = Boolean(anchorEl);
52
- const openTimePopover = Boolean(timeAnchorEl);
53
- const hasInitialized = (0, _react.useRef)(false);
54
- const [canUpdate, setCanUpdate] = (0, _react.useState)(true);
55
- (0, _react.useEffect)(() => {
56
- const initialize = () => {
57
- const initialValue = value || (field === null || field === void 0 ? void 0 : field.value);
58
- setSelectedDate(initialValue ? (0, _momentTimezone.default)(initialValue).format("YYYY-MM-DD") : "");
59
- setSelectedTime(initialValue ? (0, _momentTimezone.default)(initialValue).format("HH:mm") : "");
60
- hasInitialized.current = true;
61
- };
62
- if (canUpdate && !hasInitialized.current && (value || field !== null && field !== void 0 && field.value)) {
63
- initialize();
64
- }
65
- return () => {
66
- hasInitialized.current = false;
67
- };
68
- }, [value, field === null || field === void 0 ? void 0 : field.value]);
69
- const handleDateTimeClick = event => setAnchorEl(event.currentTarget);
70
- const handleTimeClick = event => setTimeAnchorEl(event.currentTarget);
71
- const handleDateChange = date => setSelectedDate((0, _momentTimezone.default)(date).format("YYYY-MM-DD"));
72
- const handleTimeChange = time => setSelectedTime(time);
73
- const handleDateClose = () => {
74
- const combinedDateTime = "".concat(selectedDate, " ").concat(selectedTime);
75
- console.log("🚀 ~ handleDateClose ~ combinedDateTime:", combinedDateTime);
76
- const unixTimestamp = _momentTimezone.default.utc(combinedDateTime, "YYYY-MM-DD HH:mm");
77
- console.log("🚀 ~ handleDateClose ~ unixTimestamp:", unixTimestamp);
78
- setCanUpdate(false);
79
- if (onChange) onChange(unixTimestamp);
80
- setAnchorEl(null);
81
- };
82
- const handleTimeClose = () => setTimeAnchorEl(null);
83
- const convertDateTimeFormat = dateStr => {
84
- const regex = /^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}(:\d{2})?$/;
85
- if (!regex.test(dateStr)) {
86
- return null;
87
- }
88
- try {
89
- const [datePart, timePart] = dateStr.split(" ");
90
- const [year, month, day] = datePart.split("-");
91
- return "".concat(day, "/").concat(month, "/").concat(year, " ").concat(timePart);
92
- } catch (error) {
93
- return null;
94
- }
95
- };
96
- const renderTimeSelectors = () => {
97
- const timeParts = selectedTime === null || selectedTime === void 0 ? void 0 : selectedTime.split(":");
98
- const hours = timeParts === null || timeParts === void 0 ? void 0 : timeParts[0];
99
- const minutes = timeParts === null || timeParts === void 0 ? void 0 : timeParts[1];
100
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Box, {
101
- style: {
102
- display: "flex",
103
- gap: 4,
104
- padding: 4
105
- },
106
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Select, {
107
- value: hours,
108
- onChange: e => handleTimeChange("".concat(e.target.value, ":").concat(minutes)),
109
- style: {
110
- width: "55px",
111
- fontSize: 11.5,
112
- height: "25px"
113
- },
114
- MenuProps: {
115
- anchorOrigin: {
116
- vertical: "bottom",
117
- horizontal: "left",
118
- padding: 0
119
- },
120
- transformOrigin: {
121
- vertical: "top",
122
- horizontal: "left"
123
- },
124
- getContentAnchorEl: null
125
- },
126
- children: [...Array(24).keys()].map(hour => /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.MenuItem, {
127
- style: {
128
- fontSize: 11.5
129
- },
130
- value: String(hour).padStart(2, "0"),
131
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
132
- style: {
133
- marginRight: 4
134
- },
135
- children: String(hour).padStart(2, "0")
136
- })
137
- }, hour))
138
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Select, {
139
- value: minutes,
140
- onChange: e => handleTimeChange("".concat(hours, ":").concat(e.target.value)),
141
- style: {
142
- width: "55px",
143
- fontSize: 11.5,
144
- height: "25px"
145
- },
146
- MenuProps: {
147
- anchorOrigin: {
148
- vertical: "bottom",
149
- padding: 0
150
- },
151
- transformOrigin: {
152
- vertical: "top",
153
- horizontal: "left"
154
- },
155
- getContentAnchorEl: null
156
- },
157
- children: [...Array(60).keys()].map(minute => /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.MenuItem, {
158
- style: {
159
- fontSize: 11.5
160
- },
161
- value: String(minute).padStart(2, "0"),
162
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
163
- style: {
164
- marginRight: 4
165
- },
166
- children: String(minute).padStart(2, "0")
167
- })
168
- }, minute))
169
- })]
170
- });
171
- };
172
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Box, {
173
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_StyledMuiTextField.default, {
174
- name: name,
175
- label: label,
176
- value: convertDateTimeFormat(selectedDate + " " + selectedTime),
177
- fullWidth: fullWidth,
178
- onClick: handleDateTimeClick,
179
- readOnly: true,
180
- error: error,
181
- helperText: helperText,
182
- required: required,
183
- InputProps: {
184
- endAdornment: /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputAdornment.default, {
185
- position: "end",
186
- style: {
187
- marginLeft: -10,
188
- marginTop: "-0.1px"
189
- },
190
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CalendarMonth.default, {
191
- fontSize: "small"
192
- })
193
- })
194
- }
195
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Popover, {
196
- open: openDatePopover,
197
- anchorEl: anchorEl,
198
- onClose: handleDateClose,
199
- anchorOrigin: {
200
- vertical: "bottom",
201
- horizontal: "left"
202
- },
203
- style: {
204
- width: "310px"
205
- },
206
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Box, {
207
- style: {
208
- padding: 16
209
- },
210
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Box, {
211
- sx: {
212
- display: "flex",
213
- alignItems: "center",
214
- justifyContent: "space-around"
215
- },
216
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactDatepicker.DateInput, {
217
- value: selectedDate,
218
- onChange: date => handleDateChange(date)
219
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.TextField, {
220
- value: selectedTime,
221
- onChange: event => {
222
- const inputValue = event.target.value;
223
- if (/^[0-9:]*$/.test(inputValue)) setSelectedTime(inputValue);
224
- },
225
- onBlur: () => {
226
- const [hour, minute] = selectedTime === null || selectedTime === void 0 ? void 0 : selectedTime.split(":").map(val => parseInt(val, 10) || 0);
227
- const validatedHour = String(Math.min(23, hour)).padStart(2, "0");
228
- const validatedMinute = String(Math.min(59, minute)).padStart(2, "0");
229
- setSelectedTime("".concat(validatedHour, ":").concat(validatedMinute));
230
- },
231
- sx: {
232
- "& .MuiInputBase-root": {
233
- width: "100%",
234
- fontSize: 12.5
235
- },
236
- "& .MuiOutlinedInput-input": {
237
- padding: "4px",
238
- height: "23.5px"
239
- }
240
- },
241
- InputProps: {
242
- startAdornment: /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputAdornment.default, {
243
- onClick: handleTimeClick,
244
- position: "start",
245
- style: {
246
- marginLeft: -10,
247
- cursor: "pointer"
248
- },
249
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AccessTime.default, {
250
- fontSize: "small"
251
- })
252
- })
253
- }
254
- })]
255
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactDatepicker.default, {
256
- date: selectedDate,
257
- onSelect: date => handleDateChange(date),
258
- minDate: minDate,
259
- maxDate: maxDate
260
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Box, {
261
- sx: {
262
- textAlign: "right",
263
- padding: 1
264
- },
265
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiButton.default, {
266
- onClick: handleDateClose,
267
- children: "Choisir"
268
- })
269
- })]
270
- })
271
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Popover, {
272
- open: openTimePopover,
273
- anchorEl: timeAnchorEl,
274
- onClose: handleTimeClose,
275
- anchorOrigin: {
276
- vertical: "bottom",
277
- horizontal: "left"
278
- },
279
- style: {
280
- marginTop: 16,
281
- marginLeft: -4
282
- },
283
- children: renderTimeSelectors()
284
- })]
285
- });
286
- };
287
- var _default = exports.default = DateTimePickerField;
@@ -1,227 +0,0 @@
1
- .datepicker---date-picker-container---1kNBY {
2
- -webkit-box-sizing: border-box;
3
- -moz-box-sizing: border-box;
4
- box-sizing: border-box;
5
- line-height: 20px;
6
- border: none;
7
- border-radius: 0;
8
- -webkit-box-shadow: none;
9
- box-shadow: none;
10
- padding: 0 5px;
11
- position: relative;
12
- display: inline-block;
13
- }
14
- .datepicker---date-picker-container---1kNBY *,
15
- .datepicker---date-picker-container---1kNBY *:before,
16
- .datepicker---date-picker-container---1kNBY *:after {
17
- -webkit-box-sizing: inherit;
18
- -moz-box-sizing: inherit;
19
- box-sizing: inherit;
20
- }
21
- .datepicker---date-picker-container---1kNBY .react-datepicker__header {
22
- text-align: center;
23
- background-color: #fff;
24
- border: none;
25
- position: relative;
26
- padding: 0;
27
- }
28
- .datepicker---date-picker-container---1kNBY .react-datepicker__month {
29
- margin: 0;
30
- text-align: center;
31
- }
32
- .datepicker---date-picker-container---1kNBY .react-datepicker__current-month {
33
- color: #222;
34
- font-family: "Roboto", sans-serif !important;
35
- font-weight: bold;
36
- font-size: 13px;
37
- height: 20px;
38
- margin: 8px 0;
39
- }
40
- .datepicker---date-picker-container---1kNBY .react-datepicker__navigation {
41
- background: none;
42
- line-height: 20px;
43
- text-align: center;
44
- cursor: pointer;
45
- position: absolute;
46
- top: 3px;
47
- padding: 5px;
48
- border: none;
49
- z-index: 1;
50
- outline: 0;
51
- width: 30px;
52
- height: 30px;
53
- background-color: transparent;
54
- background-position: center center;
55
- background-repeat: no-repeat;
56
- }
57
- .datepicker---date-picker-container---1kNBY
58
- .react-datepicker__navigation:hover {
59
- border-radius: 3px;
60
- background-color: #eee;
61
- }
62
- .datepicker---date-picker-container---1kNBY
63
- .react-datepicker__navigation--previous {
64
- left: 8px;
65
- background-image: url(data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgVHJlbmQgTWljcm8gU3R5bGUgUG9ydGFsIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPg0KICA8dGl0bGU+YW5nbGUtbGVmdDwvdGl0bGU+DQogIDxwYXRoIGZpbGw9InJnYigzNCwzNCwzNCkiIGQ9Ik05LjUwMSAxMi41MDZsLTQuNDk5LTQuNTA2IDQuNDg4LTQuNDk0IDEgMS0zLjQ5IDMuNDk0IDMuNTAxIDMuNTA2eiI+PC9wYXRoPg0KPC9zdmc+);
66
- }
67
- .datepicker---date-picker-container---1kNBY
68
- .react-datepicker__navigation--next {
69
- right: 8px;
70
- background-image: url(data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgVHJlbmQgTWljcm8gU3R5bGUgUG9ydGFsIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPg0KICA8dGl0bGU+YW5nbGUtcmlnaHQ8L3RpdGxlPg0KICA8cGF0aCBmaWxsPSJyZ2IoMzQsMzQsMzQpIiBkPSJNNi41MDEgMTIuNWwtMS0xIDMuNTAxLTMuNTA2LTMuNDktMy40OTQgMS0xIDQuNDg4IDQuNDk0eiI+PC9wYXRoPg0KPC9zdmc+);
71
- }
72
- .datepicker---date-picker-container---1kNBY .react-datepicker__day,
73
- .datepicker---date-picker-container---1kNBY .react-datepicker__day-name {
74
- color: #222;
75
- display: inline-block;
76
- text-align: center;
77
- width: 30px;
78
- line-height: 20px;
79
- border: 0;
80
- padding: 5px;
81
- margin: 2px;
82
- }
83
- .datepicker---date-picker-container---1kNBY .react-datepicker__day {
84
- cursor: pointer;
85
- font-size: 13px;
86
- font-family: "Roboto", sans-serif !important;
87
- }
88
- .datepicker---date-picker-container---1kNBY .react-datepicker__day:hover {
89
- background: #eee;
90
- cursor: pointer;
91
- border-radius: 50%;
92
- }
93
- .datepicker---date-picker-container---1kNBY
94
- .react-datepicker__day.react-datepicker__day--disabled,
95
- .datepicker---date-picker-container---1kNBY
96
- .react-datepicker__day:hover.react-datepicker__day--disabled {
97
- background: inherit;
98
- cursor: default;
99
- color: #bbb;
100
- }
101
- .datepicker---date-picker-container---1kNBY .react-datepicker__day-name {
102
- padding-top: 9px;
103
- font-size: 12px;
104
- font-weight: bold;
105
- font-family: "Roboto", sans-serif !important;
106
- }
107
- .datepicker---date-picker-container---1kNBY .react-datepicker__day-names {
108
- white-space: nowrap;
109
- }
110
- .datepicker---date-picker-container---1kNBY
111
- .react-datepicker__day--outside-month {
112
- color: #bbb;
113
- }
114
- .datepicker---date-picker-container---1kNBY .react-datepicker__day--today {
115
- color: #888 !important;
116
- }
117
-
118
- .datepicker---date-picker-container---1kNBY
119
- .react-datepicker__day--today.react-datepicker__day--selected {
120
- color: #fff !important;
121
- }
122
-
123
- .datepicker---date-picker-container---1kNBY .react-datepicker__day--selected {
124
- color: #fff;
125
- font-weight: bold;
126
- font-family: "Roboto", sans-serif !important;
127
- background-color: #232f66 !important;
128
- border-radius: 50%;
129
- }
130
- .datepicker---date-picker-container---1kNBY
131
- .react-datepicker__day--selected:hover {
132
- background-color: #232f66 !important;
133
- }
134
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
135
- .datepicker---date-input---1vOyn > input {
136
- height: 32px;
137
- }
138
- }
139
- .datepicker---date-input-container---2zD9B {
140
- -webkit-box-sizing: border-box;
141
- -moz-box-sizing: border-box;
142
- box-sizing: border-box;
143
- line-height: 20px;
144
- position: relative;
145
- }
146
- .datepicker---date-input-container---2zD9B *,
147
- .datepicker---date-input-container---2zD9B *:before,
148
- .datepicker---date-input-container---2zD9B *:after {
149
- -webkit-box-sizing: inherit;
150
- -moz-box-sizing: inherit;
151
- box-sizing: inherit;
152
- }
153
- .datepicker---date-input---1vOyn {
154
- width: 120px;
155
- }
156
- .datepicker---date-input---1vOyn > input {
157
- display: block;
158
- width: 100%;
159
- height: auto;
160
- line-height: inherit;
161
- padding: 5px 12px;
162
- padding-left: 30px;
163
- font-size: 13px;
164
- font-family: "Roboto", sans-serif !important;
165
- color: #222;
166
- border: 1px solid #ccc;
167
- border-radius: 3px;
168
- outline: none;
169
- }
170
- .datepicker---date-input---1vOyn > input:focus {
171
- border-color: #232f66 !important;
172
- }
173
- .datepicker---date-input-icon---1UeQu {
174
- position: absolute;
175
- left: 9px;
176
- top: 8px;
177
- color: #666;
178
- width: 14px;
179
- height: 14px;
180
- }
181
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
182
- .datepicker---time-input---2ICRB > input {
183
- height: 32px;
184
- }
185
- }
186
- .datepicker---time-input-container---s4Ikh {
187
- -webkit-box-sizing: border-box;
188
- -moz-box-sizing: border-box;
189
- box-sizing: border-box;
190
- line-height: 20px;
191
- position: relative;
192
- }
193
- .datepicker---time-input-container---s4Ikh *,
194
- .datepicker---time-input-container---s4Ikh *:before,
195
- .datepicker---time-input-container---s4Ikh *:after {
196
- -webkit-box-sizing: inherit;
197
- -moz-box-sizing: inherit;
198
- box-sizing: inherit;
199
- }
200
- .datepicker---time-input---2ICRB {
201
- width: 120px;
202
- }
203
- .datepicker---time-input---2ICRB > input {
204
- display: block;
205
- width: 100%;
206
- height: auto;
207
- line-height: inherit;
208
- padding: 5px 12px;
209
- padding-left: 30px;
210
- font-size: 13px;
211
- font-family: "Roboto", sans-serif !important;
212
- color: #222;
213
- border: 1px solid #ccc;
214
- border-radius: 3px;
215
- outline: none;
216
- }
217
- .datepicker---time-input---2ICRB > input:focus {
218
- border-color: #232f66 !important;
219
- }
220
- .datepicker---time-input-icon---3TeZ8 {
221
- position: absolute;
222
- left: 9px;
223
- top: 8px;
224
- color: #666;
225
- width: 14px;
226
- height: 14px;
227
- }