@leapdevuk/component-toolbox 0.0.119 → 0.0.121-test.1

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/dist/CHANGELOG.md CHANGED
@@ -67,3 +67,9 @@
67
67
  ### Features
68
68
 
69
69
  - Updated DatePicker to use sdk alerts for validation
70
+
71
+ ## 0.0.120 (2025-05-29)
72
+
73
+ ### Bug Fixes
74
+
75
+ - Fixed issue with revert being called early on calendar selection
@@ -1,5 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { Locale } from 'date-fns';
3
+ import { Api } from '@leapdev/leap-host';
3
4
  interface IValidationError {
4
5
  fromDate: boolean;
5
6
  toDate: boolean;
@@ -41,6 +42,7 @@ interface IDatePickerProps {
41
42
  toDate: string | null;
42
43
  locale?: Locale;
43
44
  calendars?: 1 | 2 | 3;
45
+ sdk?: Api;
44
46
  }
45
47
  declare const LCTDateRangePicker: FC<IDatePickerProps>;
46
48
  export default LCTDateRangePicker;