ros.grant.common 2.0.1669 → 2.0.1671

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.
@@ -361,6 +361,8 @@ class AirDateTimePickerValidator {
361
361
  if (!dateValue) {
362
362
  return true;
363
363
  }
364
+ let elParent = $(item).parents(".experience-item")[0]
365
+ let isTillNowChecked = $(elParent).find('#TillNow').prop('checked')
364
366
 
365
367
  let attr = $(item).data();
366
368
 
@@ -383,7 +385,7 @@ class AirDateTimePickerValidator {
383
385
  return false;
384
386
  }
385
387
 
386
- if (attr.startPairedInputId || attr.endPairedInputId) {
388
+ if (!isTillNowChecked && (attr.startPairedInputId || attr.endPairedInputId)) {
387
389
  return AirDateTimePickerValidator.validatePairedInputs(validDateTime, dateMask, toFormatDateMask, attr, item);
388
390
  }
389
391
 
@@ -19,7 +19,6 @@
19
19
  width: 100%;
20
20
  min-height: 48px;
21
21
  padding: 12px 16px;
22
- font-family: 'PT Sans', sans-serif;
23
22
  -webkit-appearance: none;
24
23
  overflow: auto; //Remove the default vertical scrollbar in IE.
25
24
  resize: none;
@@ -1,4 +1,5 @@
1
1
  @import "../../Tokens/colorThemeVK.less";
2
+ @import "../../SystemVariables.less";
2
3
 
3
4
  .page-wrapper.vk.blue-theme {
4
5
  --brand-text-nav-link: @brand-text-nav-link;
@@ -45,5 +46,8 @@
45
46
  --Stroke: @neutral-bg-stroke-default; // — фон и цвет обводки неактивных инпутов, цвет неактивных кнопок
46
47
  --StrokeHover: @neutral-bg-stroke-hover; // - цвет границ инпутов при наведении и в фокусе
47
48
  --Icon: @neutral-icon-default;
49
+ --TooltipBG:@system-bg-attention-secondary;
50
+ --Disabled: @neutral-bg-island-default;
51
+ --Link:@brand-bg-primary-default;
48
52
  }
49
53
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.1669",
2
+ "version": "2.0.1671",
3
3
  "name": "ros.grant.common",
4
4
  "private": false,
5
5
  "scripts": {