react-native-paper-dates 0.5.1 → 0.8.1
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/README.md +13 -3
- package/lib/commonjs/Date/AnimatedCrossView.js +7 -6
- package/lib/commonjs/Date/AnimatedCrossView.js.map +1 -1
- package/lib/commonjs/Date/AutoSizer.js +4 -3
- package/lib/commonjs/Date/AutoSizer.js.map +1 -1
- package/lib/commonjs/Date/Calendar.js +37 -31
- package/lib/commonjs/Date/Calendar.js.map +1 -1
- package/lib/commonjs/Date/CalendarEdit.js +18 -14
- package/lib/commonjs/Date/CalendarEdit.js.map +1 -1
- package/lib/commonjs/Date/CalendarHeader.js +21 -10
- package/lib/commonjs/Date/CalendarHeader.js.map +1 -1
- package/lib/commonjs/Date/DatePickerInput.js +29 -23
- package/lib/commonjs/Date/DatePickerInput.js.map +1 -1
- package/lib/commonjs/Date/DatePickerModalContent.js +4 -0
- package/lib/commonjs/Date/DatePickerModalContent.js.map +1 -1
- package/lib/commonjs/Date/DatePickerModalContentHeader.js +34 -26
- package/lib/commonjs/Date/DatePickerModalContentHeader.js.map +1 -1
- package/lib/commonjs/Date/DatePickerModalHeader.js +8 -1
- package/lib/commonjs/Date/DatePickerModalHeader.js.map +1 -1
- package/lib/commonjs/Date/DatePickerModalHeaderBackground.js +4 -3
- package/lib/commonjs/Date/DatePickerModalHeaderBackground.js.map +1 -1
- package/lib/commonjs/Date/DateRangeInput.js +13 -8
- package/lib/commonjs/Date/DateRangeInput.js.map +1 -1
- package/lib/commonjs/Date/Day.js +5 -1
- package/lib/commonjs/Date/Day.js.map +1 -1
- package/lib/commonjs/Date/DayName.js +4 -3
- package/lib/commonjs/Date/DayName.js.map +1 -1
- package/lib/commonjs/Date/DayNames.js +5 -4
- package/lib/commonjs/Date/DayNames.js.map +1 -1
- package/lib/commonjs/Date/DayRange.js +7 -6
- package/lib/commonjs/Date/DayRange.js.map +1 -1
- package/lib/commonjs/Date/Month.js +47 -34
- package/lib/commonjs/Date/Month.js.map +1 -1
- package/lib/commonjs/Date/Swiper.js +33 -27
- package/lib/commonjs/Date/Swiper.js.map +1 -1
- package/lib/commonjs/Date/Swiper.native.js +27 -21
- package/lib/commonjs/Date/Swiper.native.js.map +1 -1
- package/lib/commonjs/Date/SwiperUtils.js +5 -4
- package/lib/commonjs/Date/SwiperUtils.js.map +1 -1
- package/lib/commonjs/Date/YearPicker.js +28 -18
- package/lib/commonjs/Date/YearPicker.js.map +1 -1
- package/lib/commonjs/Date/dateUtils.js +49 -37
- package/lib/commonjs/Date/dateUtils.js.map +1 -1
- package/lib/commonjs/Date/inputUtils.js +8 -7
- package/lib/commonjs/Date/inputUtils.js.map +1 -1
- package/lib/commonjs/TextInputMask.js +7 -6
- package/lib/commonjs/TextInputMask.js.map +1 -1
- package/lib/commonjs/Time/AmPmSwitcher.js +12 -10
- package/lib/commonjs/Time/AmPmSwitcher.js.map +1 -1
- package/lib/commonjs/Time/AnalogClock.js +12 -7
- package/lib/commonjs/Time/AnalogClock.js.map +1 -1
- package/lib/commonjs/Time/AnalogClockHours.js +5 -4
- package/lib/commonjs/Time/AnalogClockHours.js.map +1 -1
- package/lib/commonjs/Time/AnalogClockMinutes.js +5 -4
- package/lib/commonjs/Time/AnalogClockMinutes.js.map +1 -1
- package/lib/commonjs/Time/AnimatedClockSwitcher.js +6 -5
- package/lib/commonjs/Time/AnimatedClockSwitcher.js.map +1 -1
- package/lib/commonjs/Time/TimeInput.js +14 -10
- package/lib/commonjs/Time/TimeInput.js.map +1 -1
- package/lib/commonjs/Time/TimeInputs.js +10 -9
- package/lib/commonjs/Time/TimeInputs.js.map +1 -1
- package/lib/commonjs/Time/TimePicker.js +10 -9
- package/lib/commonjs/Time/TimePicker.js.map +1 -1
- package/lib/commonjs/Time/TimePickerModal.js +23 -16
- package/lib/commonjs/Time/TimePickerModal.js.map +1 -1
- package/lib/commonjs/Time/timeUtils.js +7 -6
- package/lib/commonjs/Time/timeUtils.js.map +1 -1
- package/lib/commonjs/index.js +38 -11
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/translations/en.js +6 -1
- package/lib/commonjs/translations/en.js.map +1 -1
- package/lib/commonjs/translations/enGB.js +25 -0
- package/lib/commonjs/translations/enGB.js.map +1 -0
- package/lib/commonjs/translations/nl.js +6 -1
- package/lib/commonjs/translations/nl.js.map +1 -1
- package/lib/commonjs/translations/pl.js +25 -0
- package/lib/commonjs/translations/pl.js.map +1 -0
- package/lib/commonjs/translations/pt.js +25 -0
- package/lib/commonjs/translations/pt.js.map +1 -0
- package/lib/commonjs/translations/utils.js.map +1 -1
- package/lib/commonjs/utils.js +4 -4
- package/lib/module/Date/AnimatedCrossView.js +7 -6
- package/lib/module/Date/AnimatedCrossView.js.map +1 -1
- package/lib/module/Date/AutoSizer.js +4 -3
- package/lib/module/Date/AutoSizer.js.map +1 -1
- package/lib/module/Date/Calendar.js +37 -31
- package/lib/module/Date/Calendar.js.map +1 -1
- package/lib/module/Date/CalendarEdit.js +18 -14
- package/lib/module/Date/CalendarEdit.js.map +1 -1
- package/lib/module/Date/CalendarHeader.js +19 -9
- package/lib/module/Date/CalendarHeader.js.map +1 -1
- package/lib/module/Date/DatePickerInput.js +29 -23
- package/lib/module/Date/DatePickerInput.js.map +1 -1
- package/lib/module/Date/DatePickerModalContent.js +4 -0
- package/lib/module/Date/DatePickerModalContent.js.map +1 -1
- package/lib/module/Date/DatePickerModalContentHeader.js +32 -24
- package/lib/module/Date/DatePickerModalContentHeader.js.map +1 -1
- package/lib/module/Date/DatePickerModalHeader.js +8 -1
- package/lib/module/Date/DatePickerModalHeader.js.map +1 -1
- package/lib/module/Date/DatePickerModalHeaderBackground.js +4 -3
- package/lib/module/Date/DatePickerModalHeaderBackground.js.map +1 -1
- package/lib/module/Date/DateRangeInput.js +13 -8
- package/lib/module/Date/DateRangeInput.js.map +1 -1
- package/lib/module/Date/Day.js +5 -1
- package/lib/module/Date/Day.js.map +1 -1
- package/lib/module/Date/DayName.js +4 -3
- package/lib/module/Date/DayName.js.map +1 -1
- package/lib/module/Date/DayNames.js +5 -4
- package/lib/module/Date/DayNames.js.map +1 -1
- package/lib/module/Date/DayRange.js +7 -6
- package/lib/module/Date/DayRange.js.map +1 -1
- package/lib/module/Date/Month.js +43 -31
- package/lib/module/Date/Month.js.map +1 -1
- package/lib/module/Date/Swiper.js +32 -26
- package/lib/module/Date/Swiper.js.map +1 -1
- package/lib/module/Date/Swiper.native.js +27 -21
- package/lib/module/Date/Swiper.native.js.map +1 -1
- package/lib/module/Date/SwiperUtils.js +5 -4
- package/lib/module/Date/SwiperUtils.js.map +1 -1
- package/lib/module/Date/YearPicker.js +28 -18
- package/lib/module/Date/YearPicker.js.map +1 -1
- package/lib/module/Date/dateUtils.js +33 -25
- package/lib/module/Date/dateUtils.js.map +1 -1
- package/lib/module/Date/inputUtils.js +8 -7
- package/lib/module/Date/inputUtils.js.map +1 -1
- package/lib/module/TextInputMask.js +7 -6
- package/lib/module/TextInputMask.js.map +1 -1
- package/lib/module/Time/AmPmSwitcher.js +12 -10
- package/lib/module/Time/AmPmSwitcher.js.map +1 -1
- package/lib/module/Time/AnalogClock.js +12 -7
- package/lib/module/Time/AnalogClock.js.map +1 -1
- package/lib/module/Time/AnalogClockHours.js +5 -4
- package/lib/module/Time/AnalogClockHours.js.map +1 -1
- package/lib/module/Time/AnalogClockMinutes.js +5 -4
- package/lib/module/Time/AnalogClockMinutes.js.map +1 -1
- package/lib/module/Time/AnimatedClockSwitcher.js +6 -5
- package/lib/module/Time/AnimatedClockSwitcher.js.map +1 -1
- package/lib/module/Time/TimeInput.js +14 -10
- package/lib/module/Time/TimeInput.js.map +1 -1
- package/lib/module/Time/TimeInputs.js +10 -9
- package/lib/module/Time/TimeInputs.js.map +1 -1
- package/lib/module/Time/TimePicker.js +10 -9
- package/lib/module/Time/TimePicker.js.map +1 -1
- package/lib/module/Time/TimePickerModal.js +23 -16
- package/lib/module/Time/TimePickerModal.js.map +1 -1
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/translations/en.js +6 -1
- package/lib/module/translations/en.js.map +1 -1
- package/lib/module/translations/enGB.js +18 -0
- package/lib/module/translations/enGB.js.map +1 -0
- package/lib/module/translations/nl.js +6 -1
- package/lib/module/translations/nl.js.map +1 -1
- package/lib/module/translations/pl.js +18 -0
- package/lib/module/translations/pl.js.map +1 -0
- package/lib/module/translations/pt.js +18 -0
- package/lib/module/translations/pt.js.map +1 -0
- package/lib/module/translations/utils.js.map +1 -1
- package/lib/typescript/Date/DatePickerInput.d.ts +9 -9
- package/lib/typescript/Date/DatePickerModalContentHeader.d.ts +1 -0
- package/lib/typescript/Date/DatePickerModalHeader.d.ts +1 -0
- package/lib/typescript/TextInputMask.d.ts +3 -3
- package/lib/typescript/Time/AmPmSwitcher.d.ts +1 -1
- package/lib/typescript/Time/AnalogClock.d.ts +1 -1
- package/lib/typescript/Time/TimeInputs.d.ts +1 -1
- package/lib/typescript/Time/TimePickerModal.d.ts +3 -2
- package/lib/typescript/index.d.ts +3 -0
- package/lib/typescript/translations/enGB.d.ts +3 -0
- package/lib/typescript/translations/pl.d.ts +3 -0
- package/lib/typescript/translations/pt.d.ts +3 -0
- package/lib/typescript/translations/utils.d.ts +5 -0
- package/package.json +19 -24
- package/src/Date/CalendarEdit.tsx +3 -0
- package/src/Date/CalendarHeader.tsx +17 -2
- package/src/Date/DatePickerInput.tsx +8 -3
- package/src/Date/DatePickerModalContent.tsx +2 -0
- package/src/Date/DatePickerModalContentHeader.tsx +13 -3
- package/src/Date/DatePickerModalHeader.tsx +6 -0
- package/src/Date/DateRangeInput.tsx +7 -1
- package/src/Date/Day.tsx +4 -0
- package/src/Date/Month.tsx +8 -0
- package/src/Date/Swiper.tsx +1 -0
- package/src/Date/YearPicker.tsx +6 -1
- package/src/Time/AmPmSwitcher.tsx +1 -1
- package/src/Time/AnalogClock.tsx +5 -5
- package/src/Time/AnalogClockMinutes.tsx +4 -1
- package/src/Time/TimeInput.tsx +3 -0
- package/src/Time/TimeInputs.tsx +1 -5
- package/src/Time/TimePickerModal.tsx +11 -3
- package/src/index.tsx +3 -0
- package/src/translations/en.ts +5 -0
- package/src/translations/enGB.ts +20 -0
- package/src/translations/nl.ts +5 -0
- package/src/translations/pl.ts +21 -0
- package/src/translations/pt.ts +20 -0
- package/src/translations/utils.ts +5 -0
- package/src/.DS_Store +0 -0
package/src/Time/AnalogClock.tsx
CHANGED
|
@@ -35,11 +35,7 @@ function AnalogClock({
|
|
|
35
35
|
minutes: number
|
|
36
36
|
focused: PossibleClockTypes
|
|
37
37
|
is24Hour: boolean
|
|
38
|
-
onChange: ({
|
|
39
|
-
hours,
|
|
40
|
-
minutes,
|
|
41
|
-
focused,
|
|
42
|
-
}: {
|
|
38
|
+
onChange: (hoursMinutesAndFocused: {
|
|
43
39
|
hours: number
|
|
44
40
|
minutes: number
|
|
45
41
|
focused?: undefined | PossibleClockTypes
|
|
@@ -74,11 +70,15 @@ function AnalogClock({
|
|
|
74
70
|
let pickedHours = getHours(angle, previousHourType)
|
|
75
71
|
|
|
76
72
|
let hours12AndPm = !hours24 && modeRef.current === 'PM'
|
|
73
|
+
|
|
77
74
|
// Avoiding the "24h"
|
|
78
75
|
// Should be 12h for 12 hours and PM mode
|
|
79
76
|
if ((hours12AndPm || hours24) && pickedHours + 12 < 24) {
|
|
80
77
|
pickedHours += 12
|
|
81
78
|
}
|
|
79
|
+
if (modeRef.current === 'AM' && pickedHours === 12) {
|
|
80
|
+
pickedHours = 0
|
|
81
|
+
}
|
|
82
82
|
|
|
83
83
|
if (pickedHours === 24) {
|
|
84
84
|
pickedHours = 0
|
|
@@ -30,7 +30,10 @@ function AnalogClockMinutes({ minutes }: { minutes: number }) {
|
|
|
30
30
|
]}
|
|
31
31
|
>
|
|
32
32
|
<View style={styles.outerHourInner}>
|
|
33
|
-
<Text
|
|
33
|
+
<Text
|
|
34
|
+
style={isCurrent ? { color } : undefined}
|
|
35
|
+
selectable={false}
|
|
36
|
+
>
|
|
34
37
|
{isZero ? '00' : currentMinutes}
|
|
35
38
|
</Text>
|
|
36
39
|
</View>
|
package/src/Time/TimeInput.tsx
CHANGED
|
@@ -96,6 +96,9 @@ function TimeInput(
|
|
|
96
96
|
rippleColor={Color(theme.colors.primary).fade(0.7).hex()}
|
|
97
97
|
onPress={() => onPress(clockType)}
|
|
98
98
|
borderless={true}
|
|
99
|
+
// RN types bug
|
|
100
|
+
hasTVPreferredFocus={undefined}
|
|
101
|
+
tvParallaxProperties={undefined}
|
|
99
102
|
>
|
|
100
103
|
<View />
|
|
101
104
|
</TouchableRipple>
|
package/src/Time/TimeInputs.tsx
CHANGED
|
@@ -35,11 +35,7 @@ function TimeInputs({
|
|
|
35
35
|
hours: number
|
|
36
36
|
minutes: number
|
|
37
37
|
onFocusInput: (type: PossibleClockTypes) => any
|
|
38
|
-
onChange: ({
|
|
39
|
-
hours,
|
|
40
|
-
minutes,
|
|
41
|
-
focused,
|
|
42
|
-
}: {
|
|
38
|
+
onChange: (hoursMinutesAndFocused: {
|
|
43
39
|
hours: number
|
|
44
40
|
minutes: number
|
|
45
41
|
focused?: undefined | PossibleClockTypes
|
|
@@ -35,6 +35,7 @@ export function TimePickerModal({
|
|
|
35
35
|
hours,
|
|
36
36
|
minutes,
|
|
37
37
|
label = 'Select time',
|
|
38
|
+
uppercase = true,
|
|
38
39
|
cancelLabel = 'Cancel',
|
|
39
40
|
confirmLabel = 'Ok',
|
|
40
41
|
animationType = 'none',
|
|
@@ -42,13 +43,14 @@ export function TimePickerModal({
|
|
|
42
43
|
}: {
|
|
43
44
|
locale?: undefined | string
|
|
44
45
|
label?: string
|
|
46
|
+
uppercase?: boolean
|
|
45
47
|
cancelLabel?: string
|
|
46
48
|
confirmLabel?: string
|
|
47
49
|
hours?: number | undefined
|
|
48
50
|
minutes?: number | undefined
|
|
49
51
|
visible: boolean | undefined
|
|
50
52
|
onDismiss: () => any
|
|
51
|
-
onConfirm: (
|
|
53
|
+
onConfirm: (hoursAndMinutes: { hours: number; minutes: number }) => any
|
|
52
54
|
animationType?: 'slide' | 'fade' | 'none'
|
|
53
55
|
}) {
|
|
54
56
|
const theme = useTheme()
|
|
@@ -134,7 +136,7 @@ export function TimePickerModal({
|
|
|
134
136
|
>
|
|
135
137
|
<View style={styles.labelContainer}>
|
|
136
138
|
<Text style={[styles.label, { color: theme.colors.text }]}>
|
|
137
|
-
{label.toUpperCase()}
|
|
139
|
+
{uppercase ? label.toUpperCase() : label}
|
|
138
140
|
</Text>
|
|
139
141
|
</View>
|
|
140
142
|
<View style={styles.timePickerContainer}>
|
|
@@ -155,13 +157,19 @@ export function TimePickerModal({
|
|
|
155
157
|
size={24}
|
|
156
158
|
style={styles.inputTypeToggle}
|
|
157
159
|
accessibilityLabel="toggle keyboard"
|
|
160
|
+
// RN types bug
|
|
161
|
+
hasTVPreferredFocus={undefined}
|
|
162
|
+
tvParallaxProperties={undefined}
|
|
158
163
|
/>
|
|
159
164
|
<View style={styles.fill} />
|
|
160
|
-
<Button onPress={onDismiss}
|
|
165
|
+
<Button onPress={onDismiss} uppercase={uppercase}>
|
|
166
|
+
{cancelLabel}
|
|
167
|
+
</Button>
|
|
161
168
|
<Button
|
|
162
169
|
onPress={() =>
|
|
163
170
|
onConfirm({ hours: localHours, minutes: localMinutes })
|
|
164
171
|
}
|
|
172
|
+
uppercase={uppercase}
|
|
165
173
|
>
|
|
166
174
|
{confirmLabel}
|
|
167
175
|
</Button>
|
package/src/index.tsx
CHANGED
|
@@ -9,3 +9,6 @@ export type { TranslationsType } from './translations/utils'
|
|
|
9
9
|
export { registerTranslation, getTranslation } from './translations/utils'
|
|
10
10
|
export { default as nl } from './translations/nl'
|
|
11
11
|
export { default as en } from './translations/en'
|
|
12
|
+
export { default as pl } from './translations/pl'
|
|
13
|
+
export { default as pt } from './translations/pt'
|
|
14
|
+
export { default as enGB } from './translations/enGB'
|
package/src/translations/en.ts
CHANGED
|
@@ -11,5 +11,10 @@ const en: TranslationsType = {
|
|
|
11
11
|
mustBeLowerThan: 'Must be earlier then',
|
|
12
12
|
mustBeBetween: 'Must be between',
|
|
13
13
|
dateIsDisabled: 'Day is not allowed',
|
|
14
|
+
previous: 'Previous',
|
|
15
|
+
next: 'Next',
|
|
16
|
+
typeInDate: 'Type in date',
|
|
17
|
+
pickDateFromCalendar: 'Pick date from calendar',
|
|
18
|
+
close: 'Close',
|
|
14
19
|
}
|
|
15
20
|
export default en
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TranslationsType } from './utils'
|
|
2
|
+
|
|
3
|
+
const enGB: TranslationsType = {
|
|
4
|
+
save: 'Save',
|
|
5
|
+
selectSingle: 'Select date',
|
|
6
|
+
selectMultiple: 'Select dates',
|
|
7
|
+
selectRange: 'Select period',
|
|
8
|
+
notAccordingToDateFormat: (inputFormat: string) =>
|
|
9
|
+
`Date format must be ${inputFormat}`,
|
|
10
|
+
mustBeHigherThan: 'Must be later then',
|
|
11
|
+
mustBeLowerThan: 'Must be earlier then',
|
|
12
|
+
mustBeBetween: 'Must be between',
|
|
13
|
+
dateIsDisabled: 'Day is not allowed',
|
|
14
|
+
previous: 'Previous',
|
|
15
|
+
next: 'Next',
|
|
16
|
+
typeInDate: 'Type in date',
|
|
17
|
+
pickDateFromCalendar: 'Pick date from calendar',
|
|
18
|
+
close: 'Close',
|
|
19
|
+
}
|
|
20
|
+
export default enGB
|
package/src/translations/nl.ts
CHANGED
|
@@ -11,5 +11,10 @@ const nl: TranslationsType = {
|
|
|
11
11
|
mustBeLowerThan: 'Moet eerder dan',
|
|
12
12
|
mustBeBetween: 'Moet tussen',
|
|
13
13
|
dateIsDisabled: 'Deze dag mag niet',
|
|
14
|
+
previous: 'Vorige',
|
|
15
|
+
next: 'Volgende',
|
|
16
|
+
typeInDate: 'Typ datum',
|
|
17
|
+
pickDateFromCalendar: 'Kies datum van kalender',
|
|
18
|
+
close: 'Sluit',
|
|
14
19
|
}
|
|
15
20
|
export default nl
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { TranslationsType } from './utils'
|
|
2
|
+
|
|
3
|
+
const pl: TranslationsType = {
|
|
4
|
+
save: 'Zapisz',
|
|
5
|
+
selectSingle: 'Wybierz datę',
|
|
6
|
+
selectMultiple: 'Wybierz daty',
|
|
7
|
+
selectRange: 'Wybierz zakres',
|
|
8
|
+
notAccordingToDateFormat: (inputFormat: string) =>
|
|
9
|
+
`Data musi mieć format ${inputFormat}`,
|
|
10
|
+
mustBeHigherThan: 'Nie wcześniej niż',
|
|
11
|
+
mustBeLowerThan: 'Nie później niż',
|
|
12
|
+
mustBeBetween: 'Pomiędzy',
|
|
13
|
+
dateIsDisabled: 'Niedozwolona data',
|
|
14
|
+
|
|
15
|
+
previous: 'Poprzedni',
|
|
16
|
+
next: 'Dalej',
|
|
17
|
+
typeInDate: 'Wpisz datę',
|
|
18
|
+
pickDateFromCalendar: 'Wybierz datę z kalendarza',
|
|
19
|
+
close: 'Zamknij',
|
|
20
|
+
}
|
|
21
|
+
export default pl
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TranslationsType } from './utils'
|
|
2
|
+
|
|
3
|
+
const pt: TranslationsType = {
|
|
4
|
+
save: 'Salvar',
|
|
5
|
+
selectSingle: 'Selecione a data',
|
|
6
|
+
selectMultiple: 'Selecione as datas',
|
|
7
|
+
selectRange: 'Selecione o período',
|
|
8
|
+
notAccordingToDateFormat: (inputFormat: string) =>
|
|
9
|
+
`O formato da data deve ser ${inputFormat}`,
|
|
10
|
+
mustBeHigherThan: 'Deve ser depois de',
|
|
11
|
+
mustBeLowerThan: 'Deve ser antes de',
|
|
12
|
+
mustBeBetween: 'Deve estar entre',
|
|
13
|
+
dateIsDisabled: 'Data não é permitida',
|
|
14
|
+
previous: 'Anterior',
|
|
15
|
+
next: 'Próximo',
|
|
16
|
+
typeInDate: 'Digite a data',
|
|
17
|
+
pickDateFromCalendar: 'Escolha a data do calendário',
|
|
18
|
+
close: 'Fechar',
|
|
19
|
+
}
|
|
20
|
+
export default pt
|
|
@@ -8,6 +8,11 @@ export type TranslationsType = {
|
|
|
8
8
|
mustBeLowerThan: string
|
|
9
9
|
mustBeBetween: string
|
|
10
10
|
dateIsDisabled: string
|
|
11
|
+
previous: string
|
|
12
|
+
next: string
|
|
13
|
+
typeInDate: string
|
|
14
|
+
pickDateFromCalendar: string
|
|
15
|
+
close: string
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
let translationsPerLocale: Record<string, TranslationsType> = {}
|
package/src/.DS_Store
DELETED
|
Binary file
|