@connectif/ui-components 2.3.3 → 2.4.0
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/components/card/EnhancedCard.d.ts +4 -2
- package/dist/components/icon/icons.d.ts +3 -0
- package/dist/components/input/DateIntervalPicker.d.ts +5 -1
- package/dist/components/input/DateIntervalPickerInputs.d.ts +7 -1
- package/dist/components/input/DateIntervalPickerPopover.d.ts +2 -1
- package/dist/components/input/SelectPopover.d.ts +6 -2
- package/dist/components/layout/SwipeableViews.d.ts +2 -1
- package/dist/components/popover/Popover.d.ts +3 -1
- package/dist/components/scrollable/Carousel.d.ts +9 -0
- package/dist/components/scrollable/index.d.ts +2 -0
- package/dist/components/tab/TabContent.d.ts +6 -1
- package/dist/components/tab/Tabs.d.ts +5 -1
- package/dist/i18n/en.d.ts +2 -1
- package/dist/i18n/es.d.ts +2 -1
- package/dist/i18n/fr.d.ts +2 -1
- package/dist/i18n/it.d.ts +2 -1
- package/dist/i18n/pt.d.ts +2 -1
- package/dist/index.js +1040 -545
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/DateUtils.d.ts +5 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { DateInterval } from '../models/DateInterval';
|
|
|
4
4
|
import { SimpleDate } from '../models/SimpleDate';
|
|
5
5
|
export type DateTimeFormat = 'dateTimeVeryLongFormat' | 'dateTimeLongFormat' | 'dateTimeMediumFormat' | 'dateMediumLongFormat' | 'dateMediumFormat' | 'timeFormat' | 'shortTimeFormat' | 'dateFormat' | 'yearMonthFormat' | 'yearMonthLongFormat' | 'twoDigitsFormat';
|
|
6
6
|
export declare function formatDate(date: Date, locale: string, timezone: string, format?: DateTimeFormat): string;
|
|
7
|
-
export declare function getWeekDayNamesForLocale(locale: string, format?: 'long' | 'short' | 'narrow'): string[];
|
|
7
|
+
export declare function getWeekDayNamesForLocale(locale: string, format?: 'long' | 'short' | 'narrow', timezone?: string): string[];
|
|
8
8
|
/**
|
|
9
9
|
* Return a string representing a date in the format for the supplied locale.
|
|
10
10
|
* For example, if the locale is 'en-US' and the returned value is `"MM/DD/YYYY"`,
|
|
@@ -43,3 +43,7 @@ export declare function areSameSimpleDate(...simpleDates: (SimpleDate | null)[])
|
|
|
43
43
|
*/
|
|
44
44
|
export declare function dateToSimpleDate(date: Date | null | undefined, timezone: string): SimpleDate | null;
|
|
45
45
|
export declare function getDisplayEndDate(date: Date, timezone: string): Date;
|
|
46
|
+
/**
|
|
47
|
+
* Return a date applying a time
|
|
48
|
+
*/
|
|
49
|
+
export declare function applyTimeToDate(date: Date, time: Date): Date;
|