@connectif/ui-components 5.5.1 → 5.6.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/CHANGELOG.md +7 -0
- package/dist/components/button/Button.d.ts +8 -0
- package/dist/components/button/ButtonWithActions.d.ts +1 -0
- package/dist/components/input/CalendarMonth.d.ts +2 -1
- package/dist/components/input/ItemSelector.d.ts +2 -1
- package/dist/components/input/SelectPopover.d.ts +18 -19
- package/dist/components/input/SelectPopoverItem.d.ts +6 -13
- package/dist/components/input/{DateIntervalPicker.d.ts → date-interval-picker/DateIntervalPicker.d.ts} +49 -25
- package/dist/components/input/date-interval-picker/DateIntervalPickerDefaultButton.d.ts +9 -0
- package/dist/components/input/date-interval-picker/DateIntervalPickerInputButton.d.ts +10 -0
- package/dist/components/input/{DateIntervalPickerInputs.d.ts → date-interval-picker/DateIntervalPickerInputs.d.ts} +4 -4
- package/dist/components/input/{DateIntervalPickerList.d.ts → date-interval-picker/DateIntervalPickerList.d.ts} +2 -2
- package/dist/components/input/date-interval-picker/DateIntervalPickerPopover.d.ts +54 -0
- package/dist/components/input/date-interval-picker/DateIntervalRangeSelector.d.ts +13 -0
- package/dist/components/input/index.d.ts +4 -3
- package/dist/index.js +1701 -1375
- package/dist/models/SelectableItem.d.ts +14 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/components/input/DateIntervalPickerPopover.d.ts +0 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@connectif/ui-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.0",
|
|
4
4
|
"description": "A comprehensive UI component library for all Connectif projects.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"storybook": "storybook dev -p 6006",
|
|
12
12
|
"build-storybook": "storybook build",
|
|
13
13
|
"lint": "eslint './**/*.{ts,tsx}' './src/components/**/*.json' --quiet",
|
|
14
|
-
"test": "jest",
|
|
14
|
+
"test": "TZ=UTC jest",
|
|
15
15
|
"build": "node esbuild.js && tsc --project tsconfig.build.json",
|
|
16
16
|
"build-watch": "chokidar \"src/**/*\" -c \"node build-watch.js $FRONT_PATH\"",
|
|
17
17
|
"cspell": "cspell \"./src/**/{en.json,es.ts}\" --config cspell.json",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { DateInterval } from '../../models/DateInterval';
|
|
2
|
-
import { ComparisonInterval } from '../../models/ComparisonInterval';
|
|
3
|
-
export type DateIntervalPickerPopoverProps = {
|
|
4
|
-
interval: DateInterval;
|
|
5
|
-
startDate: Date;
|
|
6
|
-
endDate: Date;
|
|
7
|
-
color: string;
|
|
8
|
-
maxSelectableDays: number;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
allowCompare?: boolean;
|
|
11
|
-
comparisonInterval?: ComparisonInterval | null;
|
|
12
|
-
comparisonStartDate?: Date | null;
|
|
13
|
-
comparisonEndDate?: Date | null;
|
|
14
|
-
comparisonColor: string;
|
|
15
|
-
intersectionColor: string;
|
|
16
|
-
minDate: Date;
|
|
17
|
-
maxDate: Date;
|
|
18
|
-
allowedIntervals?: DateInterval[];
|
|
19
|
-
anchorEl?: HTMLElement | null;
|
|
20
|
-
showTime?: boolean;
|
|
21
|
-
onApply: (values: {
|
|
22
|
-
interval: DateInterval;
|
|
23
|
-
startDate: Date;
|
|
24
|
-
endDate: Date;
|
|
25
|
-
comparisonInterval: ComparisonInterval | null;
|
|
26
|
-
comparisonStartDate: Date | null;
|
|
27
|
-
comparisonEndDate: Date | null;
|
|
28
|
-
}) => void;
|
|
29
|
-
onCancel: () => void;
|
|
30
|
-
};
|
|
31
|
-
declare const DateIntervalPickerPopover: ({ interval, startDate, endDate, color, maxSelectableDays, allowCompare, comparisonInterval, comparisonStartDate, comparisonEndDate, comparisonColor, intersectionColor, anchorEl, minDate, maxDate, allowedIntervals, showTime, onApply, onCancel }: DateIntervalPickerPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export default DateIntervalPickerPopover;
|