@momo-kits/calendar 0.165.1-expo.2 → 0.165.2-beta.2

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.
Files changed (2) hide show
  1. package/Day.tsx +3 -0
  2. package/package.json +1 -1
package/Day.tsx CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  useScaleSize,
7
7
  Spacing,
8
8
  Text,
9
+ exportFontFamily,
9
10
  } from '@momo-kits/foundation';
10
11
  import { DayProps } from './types';
11
12
  import { ContainerContext } from './index';
@@ -39,6 +40,7 @@ const Day: React.FC<DayProps> = props => {
39
40
  const scaledSpacing = useScaleSize(Spacing.XS);
40
41
  const scaledFontSize = useScaleSize(8);
41
42
  const scaledLineHeight = useScaleSize(12);
43
+ const lunarFontFamily = exportFontFamily('regular');
42
44
 
43
45
  const itemWidth = (size.width - Spacing.M) / 7;
44
46
  if (isEmpty || !date) {
@@ -126,6 +128,7 @@ const Day: React.FC<DayProps> = props => {
126
128
  color: lunarTextColor,
127
129
  fontSize: scaledFontSize,
128
130
  lineHeight: scaledLineHeight,
131
+ fontFamily: lunarFontFamily,
129
132
  }}
130
133
  >
131
134
  {lunarDate.lunarDay === 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/calendar",
3
- "version": "0.165.1-expo.2",
3
+ "version": "0.165.2-beta.2",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "peerDependencies": {