@momo-kits/calendar 0.81.43 → 0.88.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/CalendarPro.tsx +4 -4
- package/Day.tsx +5 -3
- package/HeaderControl.tsx +1 -1
- package/TabHeader.tsx +4 -2
- package/index.tsx +1 -1
- package/package.json +1 -1
package/CalendarPro.tsx
CHANGED
|
@@ -287,7 +287,7 @@ export default class CalendarPro extends Component<
|
|
|
287
287
|
? Colors.red_03
|
|
288
288
|
: Colors.black_17
|
|
289
289
|
}
|
|
290
|
-
typography={'
|
|
290
|
+
typography={'label_s_medium'}
|
|
291
291
|
style={[
|
|
292
292
|
styles.textDay,
|
|
293
293
|
{
|
|
@@ -364,16 +364,16 @@ export default class CalendarPro extends Component<
|
|
|
364
364
|
<View style={styles.row} key={idx.toString()}>
|
|
365
365
|
<Text
|
|
366
366
|
color={theme.colors.error.primary}
|
|
367
|
-
typography={'
|
|
367
|
+
typography={'description_default_regular'}
|
|
368
368
|
style={styles.txtMonthLunar}>
|
|
369
369
|
{labelDate}
|
|
370
370
|
</Text>
|
|
371
371
|
<Text
|
|
372
|
-
typography={'
|
|
372
|
+
typography={'description_default_regular'}
|
|
373
373
|
style={styles.subTextLunar}>
|
|
374
374
|
{`${translate(labelHoliday)}`}
|
|
375
375
|
</Text>
|
|
376
|
-
<Text typography={'
|
|
376
|
+
<Text typography={'description_default_regular'}>
|
|
377
377
|
{labelHighlight}
|
|
378
378
|
</Text>
|
|
379
379
|
</View>
|
package/Day.tsx
CHANGED
|
@@ -191,18 +191,20 @@ class Day extends Component<DayProps> {
|
|
|
191
191
|
top: Spacing.XS,
|
|
192
192
|
right: Spacing.XS,
|
|
193
193
|
}}
|
|
194
|
-
typography={'
|
|
194
|
+
typography={'label_xs_medium'}
|
|
195
195
|
color={lunarTextColor}>
|
|
196
196
|
{this.lunarDate.lunarDay === 1
|
|
197
197
|
? `${this.lunarDate.lunarDay}/${this.lunarDate.lunarMonth}`
|
|
198
198
|
: this.lunarDate.lunarDay}
|
|
199
199
|
</Text>
|
|
200
200
|
)}
|
|
201
|
-
<Text typography={'
|
|
201
|
+
<Text typography={'header_s_semibold'} color={textColor}>
|
|
202
202
|
{text}
|
|
203
203
|
</Text>
|
|
204
204
|
{!!price && (
|
|
205
|
-
<Text
|
|
205
|
+
<Text
|
|
206
|
+
typography={'description_xs_regular'}
|
|
207
|
+
color={priceColor}>
|
|
206
208
|
{price}
|
|
207
209
|
</Text>
|
|
208
210
|
)}
|
package/HeaderControl.tsx
CHANGED
|
@@ -40,7 +40,7 @@ const HeaderControl: ForwardRefRenderFunction<
|
|
|
40
40
|
<TouchableOpacity onPress={onPressBackArrow}>
|
|
41
41
|
<Icon source="24_arrow_chevron_left_small" />
|
|
42
42
|
</TouchableOpacity>
|
|
43
|
-
<Text typography={'
|
|
43
|
+
<Text typography={'header_s_semibold'} style={styles.txtHeader}>
|
|
44
44
|
{headerFormat}
|
|
45
45
|
</Text>
|
|
46
46
|
<TouchableOpacity onPress={onPressNextArrow}>
|
package/TabHeader.tsx
CHANGED
|
@@ -74,10 +74,12 @@ export default class TabHeader extends React.Component<
|
|
|
74
74
|
backgroundColor: theme.colors.background.surface,
|
|
75
75
|
},
|
|
76
76
|
]}>
|
|
77
|
-
<Text
|
|
77
|
+
<Text
|
|
78
|
+
typography={'description_default_regular'}
|
|
79
|
+
color={Colors.black_12}>
|
|
78
80
|
{translate(label)}
|
|
79
81
|
</Text>
|
|
80
|
-
<Text typography={'
|
|
82
|
+
<Text typography={'header_s_semibold'}>
|
|
81
83
|
{`${dayOfWeekFromState || dayOfWeekFromDefault || '--'} `}
|
|
82
84
|
{formattedDateFromState || formattedDateFromDefault || '--/--/----'}
|
|
83
85
|
</Text>
|
package/index.tsx
CHANGED
|
@@ -315,7 +315,7 @@ class Calendar extends Component<CalendarProps, CalendarState> {
|
|
|
315
315
|
styles.viewSwitch,
|
|
316
316
|
{backgroundColor: theme.colors.background.surface},
|
|
317
317
|
]}>
|
|
318
|
-
<Text typography={'
|
|
318
|
+
<Text typography={'label_default_medium'}>
|
|
319
319
|
{translate('chooseRoundtrip')}
|
|
320
320
|
</Text>
|
|
321
321
|
<Switch
|