@codeleap/mobile 2.3.16 → 2.3.19
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/package.json
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
1
|
import { FilterKeys } from '@codeleap/common'
|
|
2
2
|
import { Paths } from '@codeleap/common/dist/types/pathMapping'
|
|
3
|
-
import { TextStyle, ViewStyle } from 'react-native'
|
|
3
|
+
import { TextStyle, ViewStyle } from 'react-native'
|
|
4
4
|
|
|
5
5
|
type CalendarTheme = {
|
|
6
|
-
timelineContainer?: object
|
|
7
|
-
contentStyle?: ViewStyle
|
|
8
|
-
event?: object
|
|
9
|
-
eventTitle?: object
|
|
10
|
-
eventSummary?: object
|
|
11
|
-
eventTimes?: object
|
|
12
|
-
line?: object
|
|
13
|
-
verticalLine?: object
|
|
14
|
-
nowIndicatorLine?: object
|
|
15
|
-
nowIndicatorKnob?: object
|
|
16
|
-
timeLabel?: object
|
|
17
|
-
todayTextColor?: string
|
|
18
|
-
calendarBackground?: string
|
|
19
|
-
indicatorColor?: string
|
|
20
|
-
textSectionTitleColor?: string
|
|
21
|
-
textSectionTitleDisabledColor?: string
|
|
22
|
-
dayTextColor?: string
|
|
23
|
-
selectedDayTextColor?: string
|
|
24
|
-
monthTextColor?: string
|
|
25
|
-
selectedDayBackgroundColor?: string
|
|
26
|
-
arrowColor?: string
|
|
27
|
-
textDisabledColor?: string
|
|
28
|
-
textInactiveColor?: string
|
|
6
|
+
timelineContainer?: object
|
|
7
|
+
contentStyle?: ViewStyle
|
|
8
|
+
event?: object
|
|
9
|
+
eventTitle?: object
|
|
10
|
+
eventSummary?: object
|
|
11
|
+
eventTimes?: object
|
|
12
|
+
line?: object
|
|
13
|
+
verticalLine?: object
|
|
14
|
+
nowIndicatorLine?: object
|
|
15
|
+
nowIndicatorKnob?: object
|
|
16
|
+
timeLabel?: object
|
|
17
|
+
todayTextColor?: string
|
|
18
|
+
calendarBackground?: string
|
|
19
|
+
indicatorColor?: string
|
|
20
|
+
textSectionTitleColor?: string
|
|
21
|
+
textSectionTitleDisabledColor?: string
|
|
22
|
+
dayTextColor?: string
|
|
23
|
+
selectedDayTextColor?: string
|
|
24
|
+
monthTextColor?: string
|
|
25
|
+
selectedDayBackgroundColor?: string
|
|
26
|
+
arrowColor?: string
|
|
27
|
+
textDisabledColor?: string
|
|
28
|
+
textInactiveColor?: string
|
|
29
29
|
backgroundColor?: string; //TODO: remove in V2
|
|
30
|
-
dotColor?: string
|
|
31
|
-
selectedDotColor?: string
|
|
32
|
-
disabledArrowColor?: string
|
|
33
|
-
textDayFontFamily?: TextStyle['fontFamily']
|
|
34
|
-
textMonthFontFamily?: TextStyle['fontFamily']
|
|
35
|
-
textDayHeaderFontFamily?: TextStyle['fontFamily']
|
|
36
|
-
textDayFontWeight?: TextStyle['fontWeight']
|
|
37
|
-
textMonthFontWeight?: TextStyle['fontWeight']
|
|
38
|
-
textDayHeaderFontWeight?: TextStyle['fontWeight']
|
|
39
|
-
textDayFontSize?: number
|
|
40
|
-
textMonthFontSize?: number
|
|
41
|
-
textDayHeaderFontSize?: number
|
|
42
|
-
agendaDayTextColor?: string
|
|
43
|
-
agendaDayNumColor?: string
|
|
44
|
-
agendaTodayColor?: string
|
|
45
|
-
agendaKnobColor?: string
|
|
46
|
-
todayButtonFontFamily?: TextStyle['fontFamily']
|
|
47
|
-
todayButtonFontWeight?: TextStyle['fontWeight']
|
|
48
|
-
todayButtonFontSize?: number
|
|
49
|
-
textDayStyle?: TextStyle
|
|
50
|
-
dotStyle?: object
|
|
51
|
-
arrowStyle?: ViewStyle
|
|
52
|
-
todayBackgroundColor?: string
|
|
53
|
-
disabledDotColor?: string
|
|
54
|
-
inactiveDotColor?: string
|
|
55
|
-
todayDotColor?: string
|
|
56
|
-
todayButtonTextColor?: string
|
|
57
|
-
todayButtonPosition?: string
|
|
58
|
-
arrowHeight?: number
|
|
59
|
-
arrowWidth?: number
|
|
60
|
-
weekVerticalMargin?: number
|
|
30
|
+
dotColor?: string
|
|
31
|
+
selectedDotColor?: string
|
|
32
|
+
disabledArrowColor?: string
|
|
33
|
+
textDayFontFamily?: TextStyle['fontFamily']
|
|
34
|
+
textMonthFontFamily?: TextStyle['fontFamily']
|
|
35
|
+
textDayHeaderFontFamily?: TextStyle['fontFamily']
|
|
36
|
+
textDayFontWeight?: TextStyle['fontWeight']
|
|
37
|
+
textMonthFontWeight?: TextStyle['fontWeight']
|
|
38
|
+
textDayHeaderFontWeight?: TextStyle['fontWeight']
|
|
39
|
+
textDayFontSize?: number
|
|
40
|
+
textMonthFontSize?: number
|
|
41
|
+
textDayHeaderFontSize?: number
|
|
42
|
+
agendaDayTextColor?: string
|
|
43
|
+
agendaDayNumColor?: string
|
|
44
|
+
agendaTodayColor?: string
|
|
45
|
+
agendaKnobColor?: string
|
|
46
|
+
todayButtonFontFamily?: TextStyle['fontFamily']
|
|
47
|
+
todayButtonFontWeight?: TextStyle['fontWeight']
|
|
48
|
+
todayButtonFontSize?: number
|
|
49
|
+
textDayStyle?: TextStyle
|
|
50
|
+
dotStyle?: object
|
|
51
|
+
arrowStyle?: ViewStyle
|
|
52
|
+
todayBackgroundColor?: string
|
|
53
|
+
disabledDotColor?: string
|
|
54
|
+
inactiveDotColor?: string
|
|
55
|
+
todayDotColor?: string
|
|
56
|
+
todayButtonTextColor?: string
|
|
57
|
+
todayButtonPosition?: string
|
|
58
|
+
arrowHeight?: number
|
|
59
|
+
arrowWidth?: number
|
|
60
|
+
weekVerticalMargin?: number
|
|
61
61
|
stylesheet?: {
|
|
62
62
|
calendar?: {
|
|
63
|
-
main?: object
|
|
64
|
-
header?: object
|
|
65
|
-
}
|
|
63
|
+
main?: object
|
|
64
|
+
header?: object
|
|
65
|
+
}
|
|
66
66
|
day?: {
|
|
67
|
-
basic?: object
|
|
68
|
-
period?: object
|
|
69
|
-
}
|
|
70
|
-
dot?: object
|
|
71
|
-
marking?: object
|
|
67
|
+
basic?: object
|
|
68
|
+
period?: object
|
|
69
|
+
}
|
|
70
|
+
dot?: object
|
|
71
|
+
marking?: object
|
|
72
72
|
'calendar-list'?: {
|
|
73
|
-
main?: object
|
|
74
|
-
}
|
|
73
|
+
main?: object
|
|
74
|
+
}
|
|
75
75
|
agenda?: {
|
|
76
|
-
main?: object
|
|
77
|
-
list?: object
|
|
78
|
-
}
|
|
76
|
+
main?: object
|
|
77
|
+
list?: object
|
|
78
|
+
}
|
|
79
79
|
expandable?: {
|
|
80
|
-
main?: object
|
|
81
|
-
}
|
|
82
|
-
}
|
|
80
|
+
main?: object
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
type FlatStyleKeys = 'dot' | 'marking'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* @flow */
|
|
2
2
|
|
|
3
3
|
export interface KeyboardAwareInterface {
|
|
4
|
-
getScrollResponder: () => void
|
|
4
|
+
getScrollResponder: () => void
|
|
5
5
|
scrollToPosition: (x: number, y: number, animated?: boolean) => void,
|
|
6
|
-
scrollToEnd: (animated?: boolean) => void
|
|
7
|
-
scrollForExtraHeightOnAndroid: (extraHeight: number) => void
|
|
6
|
+
scrollToEnd: (animated?: boolean) => void
|
|
7
|
+
scrollForExtraHeightOnAndroid: (extraHeight: number) => void
|
|
8
8
|
scrollToFocusedInput: (
|
|
9
9
|
reactNode: Object,
|
|
10
10
|
extraHeight: number,
|