@tui-cruises/mein-schiff-web-react-component-library 2.2.8 → 2.2.9

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.2.9](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.2.8...v2.2.9) (2025-09-08)
6
+
5
7
  ### [2.2.7](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.2.6...v2.2.7) (2025-08-25)
6
8
 
7
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tui-cruises/mein-schiff-web-react-component-library",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "main": "./index.tsx",
5
5
  "types": "./index.tsx",
6
6
  "type": "module",
@@ -14,12 +14,11 @@ import { de, enGB } from 'date-fns/locale';
14
14
 
15
15
  import { twJoin } from 'tailwind-merge';
16
16
  import { Icon } from '../Icon';
17
- import { Locale as I18nLocale } from '@tuic/i18n';
18
17
  import { TextButton } from '../TextButton';
19
18
  import { differenceInMonths, type Locale } from 'date-fns';
20
19
 
21
20
  type BaseProps = Omit<DayPickerBase, 'locale' | 'fromDate'> & {
22
- localeCode?: I18nLocale;
21
+ localeCode?: string;
23
22
  useShowMoreButtonOnMobile?: boolean;
24
23
  showPrevMonthsButtonLabel?: string;
25
24
  showNextMonthsButtonLabel?: string;
@@ -32,7 +31,7 @@ export type CalendarProps =
32
31
  | (BaseProps & DayPickerMultipleProps)
33
32
  | (BaseProps & DayPickerRangeProps);
34
33
 
35
- const DEFAULT_LOCALE: I18nLocale = 'de';
34
+ const DEFAULT_LOCALE: string = 'de';
36
35
 
37
36
  /**
38
37
  * Calendar integration
@@ -59,7 +58,7 @@ function Calendar({
59
58
  toMonth,
60
59
  ...props
61
60
  }: CalendarProps) {
62
- const [usedLocale, setUsedLocale] = useState<I18nLocale | undefined>(undefined);
61
+ const [usedLocale, setUsedLocale] = useState<Locale | undefined>(undefined);
63
62
  const [currentMonth, setCurrentMonth] = useState<Date | undefined>(
64
63
  useShowMoreButtonOnMobile ? (month ?? defaultMonth) : undefined,
65
64
  );