@leapdevuk/component-toolbox 0.0.120 → 0.0.121

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
@@ -73,3 +73,15 @@
73
73
  ### Bug Fixes
74
74
 
75
75
  - Fixed issue with revert being called early on calendar selection
76
+
77
+ ## 0.0.120 (2025-05-30)
78
+
79
+ ### Features
80
+
81
+ - Updated DateRangePicker to use sdk alerts for validation
82
+
83
+ ## 0.0.121 (2025-04-15)
84
+
85
+ ### Release 0.0.121
86
+
87
+ - Release of Test verion 0.0.121-test.1
@@ -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;