@true-engineering/true-react-common-ui-kit 3.0.0-alpha.3 → 3.0.0-alpha.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@true-engineering/true-react-common-ui-kit",
3
- "version": "3.0.0-alpha.3",
3
+ "version": "3.0.0-alpha.4",
4
4
  "description": "True Engineering React UI Kit with theming support",
5
5
  "author": "True Engineering (https://trueengineering.ru)",
6
6
  "keywords": [
@@ -5,6 +5,7 @@ import clsx from 'clsx';
5
5
  import { isAfter, isBefore, isValid } from 'date-fns';
6
6
  import {
7
7
  addDataTestId,
8
+ getTestId,
8
9
  isEmpty,
9
10
  isNotEmpty,
10
11
  isStringNotEmpty,
@@ -125,6 +126,7 @@ export const DatePicker = forwardRef<ReactDatePicker, IDatePickerProps>(
125
126
  iconType: isClearable && hasDateInputValue ? undefined : 'calendar',
126
127
  tweakStyles: tweakDateInputStyles,
127
128
  ...(isRange ? { startDate: startDateValue, endDate: endDateValue } : { date: dateValue }),
129
+ testId: getTestId(testId, 'input'),
128
130
  };
129
131
 
130
132
  const handleChangeDate = (value: Date | null, event?: SyntheticEvent) => {