@stenajs-webui/calendar 17.30.4 → 17.30.6
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 +24 -0
- package/dist/features/calendar-with-month-year-pickers/CalendarWithMonthYearPickers.d.ts +1 -1
- package/dist/features/month-picker/MonthPicker.d.ts +1 -0
- package/dist/features/month-picker/MonthPickerCell.d.ts +1 -0
- package/dist/index.es.js +610 -600
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v17.30.6 (Tue Jan 24 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Use stena icons for year buttons in calendar [#552](https://github.com/StenaIT/stenajs-webui/pull/552) ([@mattias800](https://github.com/mattias800))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Mattias Andersson ([@mattias800](https://github.com/mattias800))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v17.30.5 (Tue Jan 24 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Show month names in correct locale [#551](https://github.com/StenaIT/stenajs-webui/pull/551) ([@mattias800](https://github.com/mattias800))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Mattias Andersson ([@mattias800](https://github.com/mattias800))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v17.30.4 (Tue Jan 24 2023)
|
|
2
26
|
|
|
3
27
|
#### 🐛 Bug Fix
|
|
@@ -9,5 +9,5 @@ interface CalendarWithMonthYearPickersProps<T> extends Omit<CalendarProps<T>, "d
|
|
|
9
9
|
setCurrentPanel: (currentPanel: CalendarPanelType) => void;
|
|
10
10
|
onSelectPreset: (preset: CalendarPreset) => void;
|
|
11
11
|
}
|
|
12
|
-
export declare const CalendarWithMonthYearPickers: <T>({ dateInFocus, setDateInFocus, currentPanel, setCurrentPanel, ...props }: CalendarWithMonthYearPickersProps<T>) => JSX.Element;
|
|
12
|
+
export declare const CalendarWithMonthYearPickers: <T>({ locale, dateInFocus, setDateInFocus, currentPanel, setCurrentPanel, ...props }: CalendarWithMonthYearPickersProps<T>) => JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -2,5 +2,6 @@ import * as React from "react";
|
|
|
2
2
|
import { Month } from "../../util/calendar/CalendarDataFactory";
|
|
3
3
|
import { ValueAndOnValueChangeProps } from "@stenajs-webui/forms";
|
|
4
4
|
export interface MonthPickerProps extends ValueAndOnValueChangeProps<Month> {
|
|
5
|
+
locale?: Locale;
|
|
5
6
|
}
|
|
6
7
|
export declare const MonthPicker: React.FC<MonthPickerProps>;
|
|
@@ -3,6 +3,7 @@ import { ValueAndOnValueChangeProps } from "@stenajs-webui/forms";
|
|
|
3
3
|
import { Month } from "../../util/calendar/CalendarDataFactory";
|
|
4
4
|
interface Props extends ValueAndOnValueChangeProps<Month> {
|
|
5
5
|
month: Month;
|
|
6
|
+
locale: Locale;
|
|
6
7
|
}
|
|
7
8
|
export declare const MonthPickerCell: React.FC<Props>;
|
|
8
9
|
export {};
|