@leapdevuk/component-toolbox 0.0.114 → 0.0.116

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.
@@ -0,0 +1,47 @@
1
+ # Changelog
2
+
3
+ ## 0.0.112 (2025-04-15)
4
+
5
+ ### Release
6
+
7
+ - Test verions release 0.0.111-test.5
8
+
9
+ ## 0.0.111-test.5 (2025-04-15)
10
+
11
+ ### Features
12
+
13
+ - Added support for change log.
14
+
15
+ ### Bug Fixes
16
+
17
+ - DateRangePicker: Split update property to fromDate and toDate (was initially a combined function)
18
+ - DateRangePicker: Fixed dateTime when region is summer/winter time (checking against local dateTime)
19
+ - DatePicker: Fixed dateTime when region is summer/winter time (checking against local dateTime)
20
+
21
+ ## 0.0.113 (2025-05-14)
22
+
23
+ ### Features
24
+
25
+ - Added property on AccordionTable to support component props on grid (row: onMouseOver, onMouseLeave ect.)
26
+
27
+ ## 0.0.114 (2025-05-21)
28
+
29
+ ### Features
30
+
31
+ - Added parameter on getLocalDisplayFormattedDateTime to specify if time should be adjusted on local time zone
32
+
33
+ ## 0.0.115 (2025-05-22)
34
+
35
+ ### Removed
36
+
37
+ - getLocalDisplayFormattedDateTime
38
+
39
+ ### Added
40
+
41
+ - lctFormatDateTime supporting 24 hours, UTC & DateOnly
42
+
43
+ ## 0.0.116 (2025-05-22)
44
+
45
+ ### Features
46
+
47
+ - Added property on NumberDisplay 'hideNoValueText' to work alongside 'hideNoValue' to display an alternative character on zero values
@@ -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';
@@ -4,10 +4,11 @@ interface IProps {
4
4
  color?: string;
5
5
  displayAsQty?: boolean;
6
6
  hideNoValue?: boolean;
7
+ hideNoValueText?: string;
7
8
  notCurrency?: boolean;
8
9
  showNegative?: boolean;
9
10
  prefix?: string;
10
11
  value?: number;
11
12
  }
12
- declare const LCTNumberDisplay: ({ align, bold, color, displayAsQty, hideNoValue, notCurrency, showNegative, prefix, value, }: IProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const LCTNumberDisplay: ({ align, bold, color, displayAsQty, hideNoValue, hideNoValueText, notCurrency, showNegative, prefix, value, }: IProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export default LCTNumberDisplay;