intelicoreact 1.0.28 → 1.0.30

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 (119) hide show
  1. package/dist/Atomic/FormElements/ActionAlert/ActionAlert.js +2 -2
  2. package/dist/Atomic/FormElements/ActionAlert/ActionAlert.scss +13 -9
  3. package/dist/Atomic/FormElements/AdvancedStatus/AdvancedStatus.scss +27 -22
  4. package/dist/Atomic/FormElements/Calendar/Calendar.scss +68 -45
  5. package/dist/Atomic/FormElements/CheckboxInput/CheckboxInput.scss +55 -30
  6. package/dist/Atomic/FormElements/CheckboxesLine/CheckboxesLine.scss +3 -3
  7. package/dist/Atomic/FormElements/CheckboxesLine/partial/AnyOuterClass.scss +1 -1
  8. package/dist/Atomic/FormElements/Dropdown/Dropdown.scss +100 -51
  9. package/dist/Atomic/FormElements/Dropdown/components/DropdownLoader.scss +27 -9
  10. package/dist/Atomic/FormElements/Input/Input.js +2 -0
  11. package/dist/Atomic/FormElements/Input/Input.scss +63 -38
  12. package/dist/Atomic/FormElements/InputCalendar/InputCalendar.js +1 -1
  13. package/dist/Atomic/FormElements/InputCalendar/InputCalendar.scss +7 -2
  14. package/dist/Atomic/FormElements/InputColor/InputColor.js +49 -0
  15. package/dist/Atomic/FormElements/InputColor/InputColor.scss +18 -0
  16. package/dist/Atomic/FormElements/InputDateRange/InputDateRange.scss +176 -130
  17. package/dist/Atomic/FormElements/InputMask/InputMask.scss +69 -57
  18. package/dist/Atomic/FormElements/InputMask2/InputMask2.js +4 -2
  19. package/dist/Atomic/FormElements/InputMask2/InputMask2.scss +80 -68
  20. package/dist/Atomic/FormElements/InputsRow/InputsRow.scss +10 -4
  21. package/dist/Atomic/FormElements/Label/Label.js +2 -2
  22. package/dist/Atomic/FormElements/Label/Label.scss +19 -15
  23. package/dist/Atomic/FormElements/MobileCalendar/MobileCalendar.js +41 -43
  24. package/dist/Atomic/FormElements/MobileCalendar/MobileCalendar.scss +41 -34
  25. package/dist/Atomic/FormElements/MultiSelect/MultiSelect.scss +5 -3
  26. package/dist/Atomic/FormElements/NumericInput/NumericInput.scss +63 -37
  27. package/dist/Atomic/FormElements/RadioGroup/RadioGroup.scss +5 -1
  28. package/dist/Atomic/FormElements/RadioInput/RadioInput.scss +27 -16
  29. package/dist/Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.scss +72 -40
  30. package/dist/Atomic/FormElements/RangeCalendar/RangeCalendar.scss +38 -24
  31. package/dist/Atomic/FormElements/RangeInputs/RangeInputs.scss +19 -15
  32. package/dist/Atomic/FormElements/RangeList/RangeList.scss +56 -42
  33. package/dist/Atomic/FormElements/RangeList/partial/AnyOuterClass.scss +7 -10
  34. package/dist/Atomic/FormElements/RangeSlider/RangeSlider.js +6 -6
  35. package/dist/Atomic/FormElements/RangeSlider/RangeSlider.scss +71 -44
  36. package/dist/Atomic/FormElements/RangeSlider/RangeSlider.stories.scss +12 -8
  37. package/dist/Atomic/FormElements/SwitchableRow/SwitchableRow.scss +5 -6
  38. package/dist/Atomic/FormElements/SwitchableRow/partial/AnyOuterClass.scss +3 -3
  39. package/dist/Atomic/FormElements/Switcher/Switcher.scss +29 -21
  40. package/dist/Atomic/FormElements/Switcher/partial/AnyOuterClass.scss +4 -3
  41. package/dist/Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.scss +10 -7
  42. package/dist/Atomic/FormElements/SwitcherCheckbox/partial/AnyOuterClass.scss +4 -3
  43. package/dist/Atomic/FormElements/SwitcherHide/SwitcherHide.scss +10 -7
  44. package/dist/Atomic/FormElements/SwitcherHide/partial/AnyOuterClass.scss +4 -3
  45. package/dist/Atomic/FormElements/SwitcherRadio/SwitcherRadio.scss +1 -0
  46. package/dist/Atomic/FormElements/SwitcherRadio/partial/AnyOuterClass.scss +4 -3
  47. package/dist/Atomic/FormElements/SwitcherRange/SwitcherRange.scss +19 -16
  48. package/dist/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.scss +1 -1
  49. package/dist/Atomic/FormElements/SwitcherRangeList/partial/AnyOuterClass.scss +10 -12
  50. package/dist/Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.js +1 -1
  51. package/dist/Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.scss +35 -33
  52. package/dist/Atomic/FormElements/SwitcherTagsDropdown/partial/AnyOuterClass.scss +4 -3
  53. package/dist/Atomic/FormElements/SwitcherTagsDropdown/partial/States.js +100 -100
  54. package/dist/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.scss +7 -4
  55. package/dist/Atomic/FormElements/SwitcherTextarea/partial/AnyOuterClass.scss +5 -4
  56. package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.js +9 -9
  57. package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.scss +86 -43
  58. package/dist/Atomic/FormElements/TextSwitcher/TextSwitcher.scss +40 -27
  59. package/dist/Atomic/FormElements/TextSwitcher/partial/AnyOuterClass.scss +2 -1
  60. package/dist/Atomic/FormElements/Textarea/Textarea.scss +18 -14
  61. package/dist/Atomic/FormElements/TieredCheckboxes/TieredCheckboxes.scss +9 -7
  62. package/dist/Atomic/FormElements/TimeRange/TimeRange.scss +3 -3
  63. package/dist/Atomic/FormElements/UserContacts/UserContacts.scss +0 -1
  64. package/dist/Atomic/FormElements/UserContacts/partial/AnyOuterClass.scss +11 -10
  65. package/dist/Atomic/FormElements/UserContacts/partial/defaultIcons.js +1 -0
  66. package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.js +1 -1
  67. package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.scss +24 -17
  68. package/dist/Atomic/FormElements/WidgetPseudoTable/partial/AnyOuterClass.scss +33 -28
  69. package/dist/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.scss +24 -17
  70. package/dist/Atomic/FormElements/WidgetWithSwitchableRows/partial/AnyOuterClass.scss +33 -28
  71. package/dist/Atomic/Layout/Header/Header.scss +44 -25
  72. package/dist/Atomic/Layout/MainMenu/MainMenu.scss +69 -35
  73. package/dist/Atomic/Layout/Spinner/Spinner.scss +30 -10
  74. package/dist/Atomic/UI/Accordion/Accordion.scss +75 -63
  75. package/dist/Atomic/UI/AccordionTable/AccordionTable.js +6 -6
  76. package/dist/Atomic/UI/AccordionTable/AccordionTable.scss +68 -29
  77. package/dist/Atomic/UI/AdvancedTag/AdvancedTags.scss +59 -43
  78. package/dist/Atomic/UI/Alert/Alert.scss +28 -20
  79. package/dist/Atomic/UI/Arrow/Arrow.scss +3 -5
  80. package/dist/Atomic/UI/Button/Button.scss +53 -39
  81. package/dist/Atomic/UI/ButtonsBar/ButtonsBar.scss +2 -1
  82. package/dist/Atomic/UI/Chart/Chart.scss +14 -13
  83. package/dist/Atomic/UI/Chart/partial/AnyOuterClass.scss +20 -15
  84. package/dist/Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.scss +7 -2
  85. package/dist/Atomic/UI/Chart/partial/datasetSetters.js +0 -6
  86. package/dist/Atomic/UI/Chart/partial/optionsSetters.js +0 -5
  87. package/dist/Atomic/UI/CircleProgressBar/CircleProgressBar.scss +28 -22
  88. package/dist/Atomic/UI/DateTime/DateTime.js +2 -2
  89. package/dist/Atomic/UI/DateTime/DateTime.scss +1 -2
  90. package/dist/Atomic/UI/DateTime/partial/AnyOuterClass.scss +6 -5
  91. package/dist/Atomic/UI/DoubleString/DoubleString.scss +11 -7
  92. package/dist/Atomic/UI/DoubleString/partial/AnyOuterClass.scss +8 -6
  93. package/dist/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.js +1 -1
  94. package/dist/Atomic/UI/ExampleChartIntegration/partial/AnyOuterClass.scss +26 -17
  95. package/dist/Atomic/UI/Hint/Hint.js +7 -7
  96. package/dist/Atomic/UI/Hint/Hint.scss +38 -22
  97. package/dist/Atomic/UI/Modal/Modal.scss +90 -47
  98. package/dist/Atomic/UI/MonoAccordion/MonoAccordion.scss +17 -12
  99. package/dist/Atomic/UI/MonoAccordion/partial/AnyOuterClass.scss +8 -5
  100. package/dist/Atomic/UI/NavLine/NavLine.js +1 -1
  101. package/dist/Atomic/UI/NavLine/NavLine.scss +89 -54
  102. package/dist/Atomic/UI/NavLine/Tabs.js +72 -72
  103. package/dist/Atomic/UI/PageTitle/PageTitle.scss +41 -35
  104. package/dist/Atomic/UI/ProgressLine/ProgressLine.scss +113 -69
  105. package/dist/Atomic/UI/Status/Status.scss +21 -14
  106. package/dist/Atomic/UI/Table/Table.scss +70 -58
  107. package/dist/Atomic/UI/Table/TdTypes/TdTypes.scss +33 -29
  108. package/dist/Atomic/UI/Tag/Tag.scss +38 -24
  109. package/dist/Atomic/UI/TagList/TagList.js +1 -7
  110. package/dist/Atomic/UI/TagList/TagList.scss +11 -8
  111. package/dist/Atomic/UI/UserBox/UserBox.scss +14 -7
  112. package/dist/Functions/fieldValueFormatters.js +23 -18
  113. package/dist/Functions/usePasswordChecker.js +9 -2
  114. package/dist/Functions/utils.js +1 -1
  115. package/dist/Molecular/FormElement/FormElement.scss +7 -3
  116. package/dist/scss/_fonts.scss +143 -109
  117. package/dist/scss/_vars.scss +21 -21
  118. package/dist/scss/main.scss +33 -27
  119. package/package.json +1 -1
@@ -19,8 +19,6 @@ require("./MobileCalendar.scss");
19
19
 
20
20
  var _reactFeather = require("react-feather");
21
21
 
22
- var _io = require("react-icons/io5");
23
-
24
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
23
 
26
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -37,7 +35,7 @@ var MobileCalendar = function MobileCalendar(_ref) {
37
35
  _ref$rows = _ref.rows,
38
36
  rows = _ref$rows === void 0 ? 5 : _ref$rows,
39
37
  _ref$label = _ref.label,
40
- label = _ref$label === void 0 ? "" : _ref$label,
38
+ label = _ref$label === void 0 ? '' : _ref$label,
41
39
  _ref$timeout = _ref.timeout,
42
40
  timeout = _ref$timeout === void 0 ? 75 : _ref$timeout,
43
41
  _ref$isMobile = _ref.isMobile,
@@ -48,21 +46,21 @@ var MobileCalendar = function MobileCalendar(_ref) {
48
46
  listItemHeight = _ref$listItemHeight === void 0 ? 32 : _ref$listItemHeight,
49
47
  _ref$classes = _ref.classes,
50
48
  classes = _ref$classes === void 0 ? {
51
- wrapper: "",
52
- label: "",
53
- body: "",
54
- yearsBlock: "",
55
- yearsList: "",
56
- yearsListItem: "",
57
- monthsBlock: "",
58
- monthsList: "",
59
- monthsListItem: "",
60
- daysBlock: "",
61
- daysList: "",
62
- daysListItem: "",
63
- prevItem: "",
64
- nextItem: "",
65
- activeItem: ""
49
+ wrapper: '',
50
+ label: '',
51
+ body: '',
52
+ yearsBlock: '',
53
+ yearsList: '',
54
+ yearsListItem: '',
55
+ monthsBlock: '',
56
+ monthsList: '',
57
+ monthsListItem: '',
58
+ daysBlock: '',
59
+ daysList: '',
60
+ daysListItem: '',
61
+ prevItem: '',
62
+ nextItem: '',
63
+ activeItem: ''
66
64
  } : _ref$classes,
67
65
  _ref$onChange = _ref.onChange,
68
66
  onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange,
@@ -70,8 +68,8 @@ var MobileCalendar = function MobileCalendar(_ref) {
70
68
  onMinDateReached = _ref$onMinDateReached === void 0 ? function () {} : _ref$onMinDateReached,
71
69
  _ref$onMaxDateReached = _ref.onMaxDateReached,
72
70
  onMaxDateReached = _ref$onMaxDateReached === void 0 ? function () {} : _ref$onMaxDateReached;
73
- var Body = document.querySelector("body");
74
- var listItem = document.querySelector(".mobile-calendar_wrapper_body_months-list--item");
71
+ var Body = document.querySelector('body');
72
+ var listItem = document.querySelector('.mobile-calendar_wrapper_body_months-list--item');
75
73
 
76
74
  var _useState = (0, _react.useState)(value ? (0, _moment.default)(value) : (0, _moment.default)()),
77
75
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -299,8 +297,8 @@ var MobileCalendar = function MobileCalendar(_ref) {
299
297
 
300
298
 
301
299
  (0, _react.useEffect)(function () {
302
- if ((0, _moment.default)(date.format("L")).isBefore(minDate.format("L"))) setDate(minDate);
303
- if ((0, _moment.default)(date.format("L")).isAfter(maxDate.format("L"))) setDate(maxDate);
300
+ if ((0, _moment.default)(date.format('L')).isBefore(minDate.format('L'))) setDate(minDate);
301
+ if ((0, _moment.default)(date.format('L')).isAfter(maxDate.format('L'))) setDate(maxDate);
304
302
  }, []); //Events Observer
305
303
 
306
304
  (0, _react.useEffect)(function () {
@@ -312,21 +310,21 @@ var MobileCalendar = function MobileCalendar(_ref) {
312
310
  (0, _react.useEffect)(function () {
313
311
  onChange(date);
314
312
  dateRef.current = date;
315
- if ((0, _moment.default)(date.format("L")).isSame(minDate.format("L"))) onMinDateReached(minDate);
316
- if ((0, _moment.default)(date.format("L")).isSame(maxDate.format("L"))) onMaxDateReached(maxDate);
313
+ if ((0, _moment.default)(date.format('L')).isSame(minDate.format('L'))) onMinDateReached(minDate);
314
+ if ((0, _moment.default)(date.format('L')).isSame(maxDate.format('L'))) onMaxDateReached(maxDate);
317
315
  }, [date]); //monthList Events
318
316
 
319
317
  (0, _react.useEffect)(function () {
320
318
  if (monthsListRef !== null && monthsListRef !== void 0 && monthsListRef.current) {
321
319
  var _monthsListRef$curren, _monthsListRef$curren2;
322
320
 
323
- monthsListRef === null || monthsListRef === void 0 ? void 0 : (_monthsListRef$curren = monthsListRef.current) === null || _monthsListRef$curren === void 0 ? void 0 : _monthsListRef$curren.addEventListener("mousewheel", function (e) {
324
- return onWheel(e, "months");
321
+ monthsListRef === null || monthsListRef === void 0 ? void 0 : (_monthsListRef$curren = monthsListRef.current) === null || _monthsListRef$curren === void 0 ? void 0 : _monthsListRef$curren.addEventListener('mousewheel', function (e) {
322
+ return onWheel(e, 'months');
325
323
  }, {
326
324
  passive: false
327
325
  });
328
- monthsListRef === null || monthsListRef === void 0 ? void 0 : (_monthsListRef$curren2 = monthsListRef.current) === null || _monthsListRef$curren2 === void 0 ? void 0 : _monthsListRef$curren2.addEventListener("touchstart", function (e) {
329
- return onTouchStart(e, "months");
326
+ monthsListRef === null || monthsListRef === void 0 ? void 0 : (_monthsListRef$curren2 = monthsListRef.current) === null || _monthsListRef$curren2 === void 0 ? void 0 : _monthsListRef$curren2.addEventListener('touchstart', function (e) {
327
+ return onTouchStart(e, 'months');
330
328
  }, {
331
329
  passive: false
332
330
  });
@@ -335,8 +333,8 @@ var MobileCalendar = function MobileCalendar(_ref) {
335
333
  return function () {
336
334
  var _monthsListRef$curren3, _monthsListRef$curren4;
337
335
 
338
- monthsListRef === null || monthsListRef === void 0 ? void 0 : (_monthsListRef$curren3 = monthsListRef.current) === null || _monthsListRef$curren3 === void 0 ? void 0 : _monthsListRef$curren3.clearEventListeners("mousewheel");
339
- monthsListRef === null || monthsListRef === void 0 ? void 0 : (_monthsListRef$curren4 = monthsListRef.current) === null || _monthsListRef$curren4 === void 0 ? void 0 : _monthsListRef$curren4.clearEventListeners("touchstart");
336
+ monthsListRef === null || monthsListRef === void 0 ? void 0 : (_monthsListRef$curren3 = monthsListRef.current) === null || _monthsListRef$curren3 === void 0 ? void 0 : _monthsListRef$curren3.clearEventListeners('mousewheel');
337
+ monthsListRef === null || monthsListRef === void 0 ? void 0 : (_monthsListRef$curren4 = monthsListRef.current) === null || _monthsListRef$curren4 === void 0 ? void 0 : _monthsListRef$curren4.clearEventListeners('touchstart');
340
338
  };
341
339
  }, [monthsListRef]); //daysList Events
342
340
 
@@ -344,13 +342,13 @@ var MobileCalendar = function MobileCalendar(_ref) {
344
342
  if (daysListRef !== null && daysListRef !== void 0 && daysListRef.current) {
345
343
  var _daysListRef$current, _daysListRef$current2;
346
344
 
347
- daysListRef === null || daysListRef === void 0 ? void 0 : (_daysListRef$current = daysListRef.current) === null || _daysListRef$current === void 0 ? void 0 : _daysListRef$current.addEventListener("mousewheel", function (e) {
348
- return onWheel(e, "days");
345
+ daysListRef === null || daysListRef === void 0 ? void 0 : (_daysListRef$current = daysListRef.current) === null || _daysListRef$current === void 0 ? void 0 : _daysListRef$current.addEventListener('mousewheel', function (e) {
346
+ return onWheel(e, 'days');
349
347
  }, {
350
348
  passive: false
351
349
  });
352
- daysListRef === null || daysListRef === void 0 ? void 0 : (_daysListRef$current2 = daysListRef.current) === null || _daysListRef$current2 === void 0 ? void 0 : _daysListRef$current2.addEventListener("touchstart", function (e) {
353
- return onTouchStart(e, "days");
350
+ daysListRef === null || daysListRef === void 0 ? void 0 : (_daysListRef$current2 = daysListRef.current) === null || _daysListRef$current2 === void 0 ? void 0 : _daysListRef$current2.addEventListener('touchstart', function (e) {
351
+ return onTouchStart(e, 'days');
354
352
  }, {
355
353
  passive: false
356
354
  });
@@ -359,8 +357,8 @@ var MobileCalendar = function MobileCalendar(_ref) {
359
357
  return function () {
360
358
  var _daysListRef$current3, _daysListRef$current4;
361
359
 
362
- daysListRef === null || daysListRef === void 0 ? void 0 : (_daysListRef$current3 = daysListRef.current) === null || _daysListRef$current3 === void 0 ? void 0 : _daysListRef$current3.clearEventListeners("mousewheel");
363
- daysListRef === null || daysListRef === void 0 ? void 0 : (_daysListRef$current4 = daysListRef.current) === null || _daysListRef$current4 === void 0 ? void 0 : _daysListRef$current4.clearEventListeners("touchstart");
360
+ daysListRef === null || daysListRef === void 0 ? void 0 : (_daysListRef$current3 = daysListRef.current) === null || _daysListRef$current3 === void 0 ? void 0 : _daysListRef$current3.clearEventListeners('mousewheel');
361
+ daysListRef === null || daysListRef === void 0 ? void 0 : (_daysListRef$current4 = daysListRef.current) === null || _daysListRef$current4 === void 0 ? void 0 : _daysListRef$current4.clearEventListeners('touchstart');
364
362
  };
365
363
  }, [daysListRef]); //yearsList Events
366
364
 
@@ -368,13 +366,13 @@ var MobileCalendar = function MobileCalendar(_ref) {
368
366
  if (yearsListRef !== null && yearsListRef !== void 0 && yearsListRef.current) {
369
367
  var _yearsListRef$current, _yearsListRef$current2;
370
368
 
371
- yearsListRef === null || yearsListRef === void 0 ? void 0 : (_yearsListRef$current = yearsListRef.current) === null || _yearsListRef$current === void 0 ? void 0 : _yearsListRef$current.addEventListener("mousewheel", function (e) {
372
- return onWheel(e, "years");
369
+ yearsListRef === null || yearsListRef === void 0 ? void 0 : (_yearsListRef$current = yearsListRef.current) === null || _yearsListRef$current === void 0 ? void 0 : _yearsListRef$current.addEventListener('mousewheel', function (e) {
370
+ return onWheel(e, 'years');
373
371
  }, {
374
372
  passive: false
375
373
  });
376
- yearsListRef === null || yearsListRef === void 0 ? void 0 : (_yearsListRef$current2 = yearsListRef.current) === null || _yearsListRef$current2 === void 0 ? void 0 : _yearsListRef$current2.addEventListener("touchstart", function (e) {
377
- return onTouchStart(e, "years");
374
+ yearsListRef === null || yearsListRef === void 0 ? void 0 : (_yearsListRef$current2 = yearsListRef.current) === null || _yearsListRef$current2 === void 0 ? void 0 : _yearsListRef$current2.addEventListener('touchstart', function (e) {
375
+ return onTouchStart(e, 'years');
378
376
  }, {
379
377
  passive: false
380
378
  });
@@ -383,8 +381,8 @@ var MobileCalendar = function MobileCalendar(_ref) {
383
381
  return function () {
384
382
  var _yearsListRef$current3, _yearsListRef$current4;
385
383
 
386
- yearsListRef === null || yearsListRef === void 0 ? void 0 : (_yearsListRef$current3 = yearsListRef.current) === null || _yearsListRef$current3 === void 0 ? void 0 : _yearsListRef$current3.clearEventListeners("mousewheel");
387
- yearsListRef === null || yearsListRef === void 0 ? void 0 : (_yearsListRef$current4 = yearsListRef.current) === null || _yearsListRef$current4 === void 0 ? void 0 : _yearsListRef$current4.clearEventListeners("touchstart");
384
+ yearsListRef === null || yearsListRef === void 0 ? void 0 : (_yearsListRef$current3 = yearsListRef.current) === null || _yearsListRef$current3 === void 0 ? void 0 : _yearsListRef$current3.clearEventListeners('mousewheel');
385
+ yearsListRef === null || yearsListRef === void 0 ? void 0 : (_yearsListRef$current4 = yearsListRef.current) === null || _yearsListRef$current4 === void 0 ? void 0 : _yearsListRef$current4.clearEventListeners('touchstart');
388
386
  };
389
387
  }, [yearsListRef]); //--RENDER--//
390
388
 
@@ -533,7 +531,7 @@ var MobileCalendar = function MobileCalendar(_ref) {
533
531
  className: "mobile-calendar_wrapper_label ".concat(classes === null || classes === void 0 ? void 0 : classes.label)
534
532
  }, label), showSelectedDate && /*#__PURE__*/_react.default.createElement("div", {
535
533
  className: "mobile-calendar_wrapper_label ".concat(classes === null || classes === void 0 ? void 0 : classes.label)
536
- }, (0, _moment.default)(date).format("LL")), /*#__PURE__*/_react.default.createElement("div", {
534
+ }, (0, _moment.default)(date).format('LL')), /*#__PURE__*/_react.default.createElement("div", {
537
535
  className: "mobile-calendar_wrapper_body ".concat(classes === null || classes === void 0 ? void 0 : classes.body)
538
536
  }, renderMonthsBlock(), renderDaysBlock(), renderYearsBlock()));
539
537
  };
@@ -1,46 +1,49 @@
1
1
  .unselectable {
2
2
  -webkit-touch-callout: none;
3
- -webkit-user-select: none;
4
- -khtml-user-select: none;
5
- -moz-user-select: none;
6
- -ms-user-select: none;
3
+
7
4
  user-select: none;
8
5
  }
9
6
 
10
- .mobile-calendar_wrapper{
11
- @extend .unselectable;
7
+ .mobile-calendar_wrapper {
12
8
  max-width: 350px;
13
- background: #F8FBFF;
14
9
  padding: 10px;
15
- box-shadow: 0 0 10px 10px #00000014;
10
+
16
11
  border-radius: 16px;
12
+ background: #F8FBFF;
13
+ box-shadow: 0 0 10px 10px #00000014;
14
+
15
+ @extend .unselectable;
16
+
17
+ &_label {
18
+ margin: 16px 0;
17
19
 
18
- &_label{
19
20
  text-align: center;
21
+
20
22
  font-size: 16px;
21
23
  line-height: 24px;
22
- margin: 16px 0px;
23
24
  }
24
25
 
25
- &_body{
26
+ &_body {
26
27
  display: flex;
27
28
  justify-content: space-between;
28
29
 
29
30
  &_months,
30
31
  &_days,
31
- &_years{
32
+ &_years {
32
33
  display: flex;
33
- flex-direction: column;
34
34
  align-items: center;
35
+ flex-direction: column;
35
36
 
36
37
  &--prev,
37
- &--next{
38
- color:#A6AAB4;
38
+ &--next {
39
39
  cursor: pointer;
40
+
41
+ color: #A6AAB4;
40
42
  }
41
43
 
42
- &-list{
44
+ &-list {
43
45
  position: relative;
46
+
44
47
  overflow: hidden;
45
48
 
46
49
  // &::before,
@@ -67,54 +70,58 @@
67
70
  // transform: translateY(100%);
68
71
  // }
69
72
 
70
- &--item{
73
+ &--item {
71
74
  display: flex;
72
75
  align-items: center;
73
76
  justify-content: center;
74
- color: #3B414B;
75
- height: 32px;
77
+
76
78
  width: 90px;
79
+ height: 32px;
80
+
77
81
  cursor: pointer;
78
82
 
79
- &:not(.active){
83
+ color: #3B414B;
84
+
85
+ &:not(.active) {
80
86
  transition: transform 1s;
81
87
  }
82
- &:not(.active)[attr-scroll-direction="1"]{
88
+
89
+ &:not(.active)[attr-scroll-direction="1"] {
83
90
  transform: translateY(25%);
84
91
  }
85
- &:not(.active)[attr-scroll-direction="-1"]{
92
+
93
+ &:not(.active)[attr-scroll-direction="-1"] {
86
94
  transform: translateY(-25%);
87
95
  }
88
96
 
89
- &:not(.active)[attr-is-scrolling="1"]{
97
+ &:not(.active)[attr-is-scrolling="1"] {
90
98
  opacity: 0.3;
91
99
  }
92
100
 
93
-
94
- &.active{
95
- background: #FFFFFF;
96
- border: 1px solid #FFFFFF;
101
+ &.active {
97
102
  box-sizing: border-box;
98
- box-shadow: 0px 4px 26px rgba(0, 67, 96, 0.1);
103
+
104
+ border: 1px solid #FFF;
99
105
  border-radius: 8px;
106
+ background: #FFF;
107
+ box-shadow: 0 4px 26px rgb(0 67 96 / 10%);
100
108
  }
101
109
 
102
- &.transparent{
110
+ &.transparent {
103
111
  opacity: 0.5;
104
112
  }
105
113
  }
106
114
 
107
- &_touch-zone{
115
+ &_touch-zone {
116
+ position: absolute;
117
+ z-index: 5;
108
118
  top: 0;
109
119
  left: 0;
120
+
110
121
  width: 100%;
111
122
  height: 100%;
112
- position: absolute;
113
- z-index: 5;
114
123
  }
115
124
  }
116
-
117
-
118
125
  }
119
126
  }
120
127
  }
@@ -1,11 +1,13 @@
1
1
  .multiselect {
2
2
  display: inline-flex;
3
3
  flex-direction: column;
4
- background-color: #fff;
5
- border: 1px solid #e2e5ec;
6
- border-radius: 4px;
4
+
7
5
  padding: 8px 10px;
8
6
 
7
+ border: 1px solid #E2E5EC;
8
+ border-radius: 4px;
9
+ background-color: #FFF;
10
+
9
11
  &__item {
10
12
  height: 24px;
11
13
  }
@@ -1,50 +1,58 @@
1
1
  .input {
2
2
  position: relative;
3
+
4
+ width: 100%;
5
+ padding: 0 10px;
6
+
3
7
  word-break: break-all;
8
+
4
9
  border: none;
5
10
  background: none;
6
- padding: 0 10px;
7
- width: 100%;
11
+
8
12
  &::-webkit-outer-spin-button,
9
13
  &::-webkit-inner-spin-button {
10
- -webkit-appearance: none;
14
+ appearance: none;
11
15
  }
12
16
 
13
17
  &__wrap {
14
18
  display: flex;
15
19
  align-items: center;
16
- border: 1px solid #e2e5ec;
20
+
17
21
  box-sizing: border-box;
18
- background-color: #fff;
19
22
  height: 28px;
23
+
24
+ border: 1px solid #E2E5EC;
20
25
  border-radius: 4px;
26
+ background-color: #FFF;
21
27
 
22
28
  &_focus {
23
- border-color: #6b81dd;
24
- filter: drop-shadow(0px 0px 4px rgba(93, 120, 255, 0.5));
29
+ border-color: #6B81DD;
30
+ filter: drop-shadow(0 0 4px rgb(93 120 255 / 50%));
25
31
  }
26
32
 
27
33
  &_disabled {
28
- background: #f7f8fa;
29
- opacity: 0.5;
30
- border-color: #a6acb1;
31
34
  pointer-events: none;
35
+
36
+ opacity: 0.5;
37
+ border-color: #A6ACB1;
38
+ background: #F7F8FA;
32
39
  }
33
40
 
34
41
  &_error {
35
- border-color: #f06d8d;
42
+ border-color: #F06D8D;
36
43
  }
37
44
  }
38
45
 
39
46
  &_disabled {
40
- background: #f7f8fa;
41
- opacity: 0.5;
42
- border-color: #a6acb1;
43
47
  pointer-events: none;
48
+
49
+ opacity: 0.5;
50
+ border-color: #A6ACB1;
51
+ background: #F7F8FA;
44
52
  }
45
53
 
46
54
  &_error {
47
- border-color: #f06d8d;
55
+ border-color: #F06D8D;
48
56
  }
49
57
 
50
58
  svg {
@@ -52,49 +60,59 @@
52
60
  }
53
61
 
54
62
  &__input {
63
+ box-sizing: border-box;
55
64
  width: 100%;
56
65
  height: 100%;
57
- box-sizing: border-box;
58
- font-size: 13px;
59
- font-weight: 400;
60
- color: #1e1e2d;
61
- border: none;
62
66
  padding: 0 5px;
67
+
68
+ color: #1E1E2D;
69
+ border: none;
63
70
  border-radius: 4px;
71
+
72
+ font-size: 13px;
73
+ font-weight: 400;
64
74
  }
65
75
 
66
76
  &__close {
67
77
  position: relative;
68
- opacity: 0.6;
78
+
79
+ visibility: hidden;
80
+
69
81
  width: 14px;
70
82
  height: 14px;
71
- background: none;
72
- cursor: pointer;
73
83
  margin-right: 4px;
74
- visibility: hidden;
84
+
85
+ cursor: pointer;
75
86
  pointer-events: none;
87
+
88
+ opacity: 0.6;
89
+ background: none;
90
+
76
91
  &:hover {
77
92
  opacity: 1;
78
93
  }
79
94
 
80
- &:before,
81
- &:after {
82
- content: '';
95
+ &::before,
96
+ &::after {
83
97
  position: absolute;
84
98
  top: 0;
85
- left: 0;
86
99
  right: 0;
87
- margin: auto;
88
- height: 14px;
100
+ left: 0;
101
+
89
102
  width: 2px;
90
- background-color: #9aa0b9;
103
+ height: 14px;
104
+ margin: auto;
105
+
106
+ content: "";
107
+
108
+ background-color: #9AA0B9;
91
109
  }
92
110
 
93
- &:before {
111
+ &::before {
94
112
  transform: rotate(45deg);
95
113
  }
96
114
 
97
- &:after {
115
+ &::after {
98
116
  transform: rotate(-45deg);
99
117
  }
100
118
  }
@@ -102,23 +120,30 @@
102
120
  &__nums {
103
121
  display: flex;
104
122
  align-items: center;
123
+
105
124
  height: 100%;
106
125
  }
107
126
 
108
127
  &__num-btn {
109
- cursor: pointer;
110
128
  display: flex;
111
129
  align-items: center;
112
130
  justify-content: center;
113
- height: 100%;
131
+
114
132
  width: 24px;
115
- border-left: 1px solid #e2e5ec;
133
+ height: 100%;
134
+
135
+ cursor: pointer;
136
+ user-select: none;
137
+
138
+ border-left: 1px solid #E2E5EC;
116
139
  background: none;
140
+
117
141
  font-size: 20px;
118
- user-select: none;
142
+
119
143
  &.disabled {
120
144
  opacity: 0.3;
121
145
  }
146
+
122
147
  svg {
123
148
  margin-right: 0;
124
149
  }
@@ -135,6 +160,7 @@
135
160
 
136
161
  .input__wrap:hover .input__close {
137
162
  visibility: visible;
163
+
138
164
  pointer-events: all;
139
165
  }
140
166
 
@@ -1,7 +1,9 @@
1
1
  .radio-group {
2
2
  display: flex;
3
+
3
4
  &--col {
4
5
  flex-direction: column;
6
+
5
7
  .radio-input:not(:last-child) {
6
8
  margin-bottom: 10px;
7
9
  }
@@ -9,13 +11,15 @@
9
11
 
10
12
  &--row {
11
13
  align-items: center;
14
+
12
15
  .radio-input:not(:last-child) {
13
16
  margin-right: 10px;
14
17
  }
15
18
  }
16
19
 
17
20
  &--disabled {
18
- opacity: 0.5;
19
21
  pointer-events: none;
22
+
23
+ opacity: 0.5;
20
24
  }
21
25
  }
@@ -3,13 +3,15 @@
3
3
  .radio-input {
4
4
  display: inline-flex;
5
5
  align-items: center;
6
+
6
7
  cursor: pointer;
7
8
 
8
9
  &_disabled {
9
10
  .radio-input__input {
10
- opacity: 0.3;
11
- pointer-events: none;
12
11
  cursor: auto;
12
+ pointer-events: none;
13
+
14
+ opacity: 0.3;
13
15
  }
14
16
  }
15
17
 
@@ -20,27 +22,32 @@
20
22
  }
21
23
 
22
24
  &__input {
25
+ position: relative;
26
+
23
27
  width: 14px;
24
28
  height: 14px;
25
- border-radius: 50%;
29
+
26
30
  border: 1px solid $color--gray;
27
- position: relative;
28
- background-color: #ffff;
31
+ border-radius: 50%;
32
+ background-color: #FFFF;
29
33
  }
30
34
 
31
35
  &__mark {
32
- width: 10px;
33
- height: 10px;
34
- border-radius: 50%;
35
- background-color: $color--primary;
36
36
  position: absolute;
37
+ z-index: 1;
37
38
  top: 0;
38
- bottom: 0;
39
39
  right: 0;
40
+ bottom: 0;
40
41
  left: 0;
41
- margin: auto;
42
- z-index: 1;
42
+
43
43
  display: none;
44
+
45
+ width: 10px;
46
+ height: 10px;
47
+ margin: auto;
48
+
49
+ border-radius: 50%;
50
+ background-color: $color--primary;
44
51
  }
45
52
 
46
53
  .radio-input__radio:checked ~ .radio-input__mark {
@@ -48,16 +55,20 @@
48
55
  }
49
56
 
50
57
  &__radio {
51
- opacity: 0;
52
58
  position: absolute;
53
- height: 0;
59
+
54
60
  width: 0;
61
+ height: 0;
62
+
63
+ opacity: 0;
55
64
  }
56
65
 
57
66
  &__label {
67
+ margin-left: 5px;
68
+
69
+ user-select: none;
70
+
58
71
  font-size: 13px;
59
72
  font-weight: 400;
60
- user-select: none;
61
- margin-left: 5px;
62
73
  }
63
74
  }