@connectif/ui-components 9.0.7 → 9.1.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 +12 -0
- package/dist/components/button/ButtonWithActions.d.ts +1 -1
- package/dist/components/input/CalendarMonth.d.ts +3 -1
- package/dist/components/input/DateCalendar.d.ts +8 -0
- package/dist/components/input/DaysOfWeekRow.d.ts +5 -1
- package/dist/components/input/Select.d.ts +1 -1
- package/dist/components/input/index.d.ts +2 -0
- package/dist/index.js +476 -268
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [9.1.0] - 2026-07-09
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added `DateCalendar` input component with month navigation, selectable day, optional min/max bounds, and optional highlighted date.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Upgraded to TypeScript 6.
|
|
12
|
+
- `CalendarMonth`: added optional `todayForegroundColor` and `hideMonthLabel` props and switched internal highlight color usage to theme-aware values.
|
|
13
|
+
- `DaysOfWeekRow`: added optional `transparentBackground` and `dayLabelFormat` props to support reusable day-label rendering
|
|
14
|
+
|
|
3
15
|
## [9.0.7] - 2026-06-24
|
|
4
16
|
|
|
5
17
|
### Fixed
|
|
@@ -37,7 +37,7 @@ declare const ButtonWithActions: React.ForwardRefExoticComponent<Pick<MuiButtonP
|
|
|
37
37
|
size?: "M" | "L" | "XL";
|
|
38
38
|
component?: "label" | "button";
|
|
39
39
|
text: string;
|
|
40
|
-
iconId?: import("
|
|
40
|
+
iconId?: import("..").IconId;
|
|
41
41
|
icon?: React.ReactNode;
|
|
42
42
|
iconSize?: import("../icon/Icon").IconSize;
|
|
43
43
|
iconEnd?: boolean;
|
|
@@ -14,6 +14,8 @@ export type CalendarMonthProps = {
|
|
|
14
14
|
onSelect?: (day: number) => void;
|
|
15
15
|
allowKeyboardNavigation?: boolean;
|
|
16
16
|
focusedDate?: SimpleDate | null;
|
|
17
|
+
todayForegroundColor?: string;
|
|
18
|
+
hideMonthLabel?: boolean;
|
|
17
19
|
};
|
|
18
|
-
declare const CalendarMonth: ({ minDate, maxDate, year, month, selections, intersectionColor, onSelect, allowKeyboardNavigation, focusedDate }: CalendarMonthProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare const CalendarMonth: ({ minDate, maxDate, year, month, selections, intersectionColor, onSelect, allowKeyboardNavigation, focusedDate, todayForegroundColor, hideMonthLabel }: CalendarMonthProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
21
|
export default CalendarMonth;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type DateCalendarProps = {
|
|
2
|
+
value?: Date | null;
|
|
3
|
+
onSelect?: (date: Date | null) => void;
|
|
4
|
+
minDate?: Date | null;
|
|
5
|
+
maxDate?: Date | null;
|
|
6
|
+
};
|
|
7
|
+
declare const DateCalendar: ({ value, onSelect, minDate, maxDate }: DateCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default DateCalendar;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
export type DaysOfWeekRowProps = {
|
|
2
|
+
transparentBackground?: boolean;
|
|
3
|
+
dayLabelFormat?: 'narrow' | 'short-lowercase';
|
|
4
|
+
};
|
|
5
|
+
declare const DaysOfWeekRow: ({ transparentBackground, dayLabelFormat }: DaysOfWeekRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
6
|
export default DaysOfWeekRow;
|
|
@@ -97,7 +97,7 @@ export type SelectProps<T extends string | number | undefined, Multiple extends
|
|
|
97
97
|
open?: boolean;
|
|
98
98
|
onOpen?: () => void;
|
|
99
99
|
};
|
|
100
|
-
export declare const BootstrapInput: import("@emotion/styled").StyledComponent<import("@mui/material
|
|
100
|
+
export declare const BootstrapInput: import("@emotion/styled").StyledComponent<import("@mui/material").InputBaseProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
101
101
|
type SelectComponent = <T extends string | number | undefined = string | number | undefined, Multiple extends boolean | undefined = undefined, Value = SelectValue<T, Multiple>>(props: SelectProps<T, Multiple, Value>) => React.ReactElement | null;
|
|
102
102
|
declare const _default: SelectComponent;
|
|
103
103
|
export default _default;
|
|
@@ -37,6 +37,7 @@ export { default as SelectPopover } from './SelectPopover';
|
|
|
37
37
|
export { default as Checkbox } from './Checkbox';
|
|
38
38
|
export { default as Radio } from './Radio';
|
|
39
39
|
export { default as PageSelector } from './PageSelector';
|
|
40
|
+
export { default as DateCalendar } from './DateCalendar';
|
|
40
41
|
export type { AutocompleteProps } from './autocomplete/Autocomplete';
|
|
41
42
|
export type { SelectProps } from './Select';
|
|
42
43
|
export type { SwitchProps } from './Switch';
|
|
@@ -53,3 +54,4 @@ export type { SelectableItem } from '../../models/SelectableItem';
|
|
|
53
54
|
export type { CheckboxProps } from './Checkbox';
|
|
54
55
|
export type { RadioProps } from './Radio';
|
|
55
56
|
export type { PageSelectorProps } from './PageSelector';
|
|
57
|
+
export type { DateCalendarProps } from './DateCalendar';
|