@leapdevuk/component-toolbox 0.0.123 → 0.0.125
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 +18 -0
- package/dist/components/datepicker/index.d.ts +1 -0
- package/dist/components/datepicker/utils.d.ts +1 -0
- package/dist/index.cjs.js +21 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +223 -207
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.0.125 (2025-07-09)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Utility function formatReportDate now accepts a locale object, replacing the previous locale code string
|
|
8
|
+
|
|
9
|
+
## 0.0.124 (2025-07-08)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- Added utility function formatReportDate to regionally format dates for reporting
|
|
14
|
+
|
|
3
15
|
## 0.0.112 (2025-04-15)
|
|
4
16
|
|
|
5
17
|
### Release
|
|
@@ -85,3 +97,9 @@
|
|
|
85
97
|
### Release 0.0.121
|
|
86
98
|
|
|
87
99
|
- Release of Test verion 0.0.121-test.1
|
|
100
|
+
|
|
101
|
+
## 0.0.122 (2025-06-20)
|
|
102
|
+
|
|
103
|
+
### Bug Fixes
|
|
104
|
+
|
|
105
|
+
- Updated size of the preview icon
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as LCTDatePicker } from './DatePicker';
|
|
2
2
|
export { formatDate as lctFormatDate } from './utils';
|
|
3
3
|
export { lctFormatDateTime as lctFormatDateTime } from '../datepicker/utils';
|
|
4
|
+
export { formatReportDate as lctFormatReportDate } from './utils';
|
|
4
5
|
export { getLocale as lctGetLocale } from './utils';
|
|
5
6
|
export { parseDate as lctParseDate } from './utils';
|
|
6
7
|
export { utcFormat as lctUTCFormat } from './utils';
|
|
@@ -16,6 +16,7 @@ export declare const formatDate: (date?: Date | null, startOfDate?: boolean, end
|
|
|
16
16
|
export declare const parseDate: (date: any, formatString: string | undefined, localDateformat: string, parseKeyboardVal?: boolean) => string | null;
|
|
17
17
|
export declare const getLocale: (leapContext?: LeapContext) => Locale | undefined;
|
|
18
18
|
export declare const lctFormatDateTime: (value?: string | Date, locale?: Locale, isUtc?: boolean, dateOnly?: boolean, show24H?: boolean) => string;
|
|
19
|
+
export declare const formatReportDate: (date: string | null, locale: Locale) => string;
|
|
19
20
|
/**
|
|
20
21
|
* @deprecated The method should not be used
|
|
21
22
|
*/
|