react-beauty-calendar 1.2.9 → 1.2.10

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.
@@ -1,2 +1 @@
1
- import { TFunction } from 'i18next';
2
- export declare const useLanguage: () => [string, TFunction];
1
+ export {};
@@ -1,7 +1,2 @@
1
- import { BookingViewType } from '../../@types/booking';
2
- interface DaysWeekProps {
3
- daysOfWeek: Date[];
4
- bookingViewType: BookingViewType;
5
- }
6
- declare const DaysWeek: ({ daysOfWeek, bookingViewType }: DaysWeekProps) => import("react/jsx-runtime").JSX.Element;
1
+ declare const DaysWeek: () => import("react/jsx-runtime").JSX.Element;
7
2
  export default DaysWeek;
@@ -1,8 +1,3 @@
1
- import { BlocksTimeStructure } from '../EmptySlot';
2
- interface ActualTimerIndicatorProps {
3
- color?: string;
4
- isFirstDay: boolean;
5
- slotData: BlocksTimeStructure;
6
- }
1
+ import { ActualTimerIndicatorProps } from '../../../utils/props';
7
2
  export declare const ActualTimerIndicator: ({ color, isFirstDay, slotData, }: ActualTimerIndicatorProps) => import("react/jsx-runtime").JSX.Element | undefined;
8
3
  export default ActualTimerIndicator;
@@ -44,7 +44,6 @@ interface TimeInfoEvents {
44
44
  resetPrevView: () => void;
45
45
  }
46
46
  export interface TimeInfoProps {
47
- isDragging: boolean;
48
47
  slotData: BlocksTimeStructure;
49
48
  events: TimeInfoEvents;
50
49
  }
@@ -98,4 +97,9 @@ export interface useResizableCardHookProps {
98
97
  onStartAtChange?: (datetime: Date) => void;
99
98
  onSubTime?: (datetime: Date) => void;
100
99
  }
100
+ export interface ActualTimerIndicatorProps {
101
+ color?: string;
102
+ isFirstDay: boolean;
103
+ slotData: BlocksTimeStructure;
104
+ }
101
105
  export {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "license": "MIT",
13
13
  "private": false,
14
- "version": "1.2.9",
14
+ "version": "1.2.10",
15
15
  "keywords": [
16
16
  "react",
17
17
  "component",
@@ -58,9 +58,7 @@
58
58
  "cmdk": "^1.1.1",
59
59
  "date-fns": "^4.1.0",
60
60
  "dayjs": "^1.11.13",
61
- "i18next": "^25.1.1",
62
61
  "motion": "^12.12.1",
63
- "react-i18next": "^15.5.1",
64
62
  "react-resizable": "^3.0.5",
65
63
  "react-router": "^7.4.0",
66
64
  "react-spinners": "^0.16.1",
@@ -1,3 +0,0 @@
1
- import { JSX, PropsWithChildren } from 'react';
2
- declare const I18n: ({ children }: PropsWithChildren) => JSX.Element | null;
3
- export default I18n;
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- "create_new_booking": "Create new booking"
3
- }
4
- ;
5
-
6
- export default _default;
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- "create_new_booking": "Criar novo agendamento"
3
- }
4
- ;
5
-
6
- export default _default;