@leapdevuk/component-toolbox 0.0.114 → 0.0.115

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.
@@ -1,6 +1,5 @@
1
1
  export { default as LCTDatePicker } from './DatePicker';
2
2
  export { formatDate as lctFormatDate } from './utils';
3
- export { getLocalDisplayFormattedDate as lctGetLocalDisplayFormattedDate } from './utils';
4
- export { getLocalDisplayFormattedDateTime as lctGetLocalDisplayFormattedDateTime } from './utils';
3
+ export { lctFormatDateTime as lctFormatDateTime } from '../datepicker/utils';
5
4
  export { getLocale as lctGetLocale } from './utils';
6
5
  export { parseDate as lctParseDate } from './utils';
@@ -14,7 +14,6 @@ export declare const defaultDate: (formatString?: string) => string;
14
14
  export declare const formatDate: (date?: Date | null, startOfDate?: boolean, endOfDate?: boolean, isUTC?: boolean, dateOnly?: boolean) => string | null;
15
15
  export declare const parseDate: (date: any, formatString: string | undefined, localDateformat: string, parseKeyboardVal?: boolean) => string | null;
16
16
  export declare const getLocale: (leapContext?: LeapContext) => Locale | undefined;
17
- export declare const getLocalDisplayFormattedDate: (value?: string | Date, locale?: Locale) => string;
18
- export declare const getLocalDisplayFormattedDateTime: (value?: string | Date, locale?: Locale, adjustTimezone?: boolean) => string;
17
+ export declare const lctFormatDateTime: (value?: string | Date, locale?: Locale, isUtc?: boolean, dateOnly?: boolean, show24H?: boolean) => string;
19
18
  export declare const getDateTimeWithOffset: (date: string) => Date;
20
19
  export declare const isStringNullOrUndefined: (value?: string | null) => boolean;
@@ -1,6 +1 @@
1
1
  export { default as LCTDateRangePicker } from './DateRangePicker';
2
- export { formatDate as lctFormatDate } from '../datepicker/utils';
3
- export { getLocalDisplayFormattedDate as lctGetLocalDisplayFormattedDate } from '../datepicker/utils';
4
- export { getLocalDisplayFormattedDateTime as lctGetLocalDisplayFormattedDateTime } from '../datepicker/utils';
5
- export { getLocale as lctGetLocale } from '../datepicker/utils';
6
- export { parseDate as lctParseDate } from '../datepicker/utils';