Calendar redesign
This commit is contained in:
committed by
Sofiya Tepikin
parent
885da5c293
commit
5a555f5965
@@ -4,7 +4,7 @@ import { StyleSheet, View } from 'react-native'
|
||||
|
||||
import AppText from '../common/app-text'
|
||||
|
||||
import { Typography } from '../../styles/redesign'
|
||||
import { Typography } from '../../styles'
|
||||
import { CHART_YAXIS_WIDTH } from '../../config'
|
||||
import { shared as labels } from '../../i18n/en/labels'
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
|
||||
|
||||
import { Shape } from 'react-native/Libraries/ART/ReactNativeART'
|
||||
|
||||
import { Colors } from '../../styles/redesign'
|
||||
import { Colors } from '../../styles'
|
||||
import { CHART_STROKE_WIDTH, CHART_GRID_LINE_HORIZONTAL_WIDTH } from '../../config'
|
||||
|
||||
const ChartLine = ({ path, isNfpLine }) => {
|
||||
|
||||
@@ -27,7 +27,7 @@ import {
|
||||
CHART_XAXIS_HEIGHT_RATIO
|
||||
} from '../../config'
|
||||
import { shared } from '../../i18n/en/labels'
|
||||
import { Colors, Spacing } from '../../styles/redesign'
|
||||
import { Colors, Spacing } from '../../styles'
|
||||
|
||||
class CycleChart extends Component {
|
||||
static propTypes = {
|
||||
|
||||
@@ -8,7 +8,7 @@ import AppText from '../common/app-text'
|
||||
|
||||
import cycleModule from '../../lib/cycle'
|
||||
import { dateEnding } from '../helpers/home'
|
||||
import { Containers, Typography } from '../../styles/redesign'
|
||||
import { Containers, Typography } from '../../styles'
|
||||
|
||||
const CycleDayLabel = ({ height, date }) => {
|
||||
const dayDate = LocalDate.parse(date)
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { Component } from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import { Path, Shape } from 'react-native/Libraries/ART/ReactNativeART'
|
||||
|
||||
import { Colors } from '../../styles/redesign'
|
||||
import { Colors } from '../../styles'
|
||||
|
||||
import {
|
||||
CHART_COLUMN_WIDTH,
|
||||
|
||||
@@ -4,7 +4,7 @@ import { StyleSheet, View } from 'react-native'
|
||||
|
||||
import { getTickPositions } from '../helpers/chart'
|
||||
|
||||
import { Colors } from '../../styles/redesign'
|
||||
import { Colors } from '../../styles'
|
||||
import { CHART_GRID_LINE_HORIZONTAL_WIDTH, CHART_YAXIS_WIDTH } from '../../config'
|
||||
|
||||
const HorizontalGrid = ({ height }) => {
|
||||
|
||||
@@ -8,7 +8,7 @@ import Button from '../common/button'
|
||||
import { connect } from 'react-redux'
|
||||
import { navigate } from '../../slices/navigation'
|
||||
|
||||
import { Containers } from '../../styles/redesign'
|
||||
import { Containers } from '../../styles'
|
||||
import { shared } from '../../i18n/en/labels'
|
||||
|
||||
const NoData = ({ navigate }) => {
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import { StyleSheet, View } from 'react-native'
|
||||
|
||||
import { Colors, Containers } from '../../styles/redesign'
|
||||
import { Colors, Containers } from '../../styles'
|
||||
import {
|
||||
CHART_COLUMN_WIDTH,
|
||||
CHART_DOT_RADIUS,
|
||||
|
||||
@@ -4,7 +4,7 @@ import { StyleSheet , View } from 'react-native'
|
||||
|
||||
import DripIcon from '../../assets/drip-icons'
|
||||
|
||||
import { Colors, Containers } from '../../styles/redesign'
|
||||
import { Colors, Containers } from '../../styles'
|
||||
import { CHART_YAXIS_WIDTH, CHART_ICON_SIZE } from '../../config'
|
||||
|
||||
const SymptomIcon = ({ symptom, height }) => {
|
||||
|
||||
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types'
|
||||
|
||||
import AppText from '../common/app-text'
|
||||
|
||||
import { Sizes } from '../../styles/redesign'
|
||||
import { Sizes } from '../../styles'
|
||||
|
||||
const Tick = ({ yPosition, height, isBold, shouldShowLabel, label }) => {
|
||||
const top = yPosition - height / 2
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Image, StyleSheet, View } from 'react-native'
|
||||
import AppText from '../common/app-text'
|
||||
import CloseIcon from '../common/close-icon'
|
||||
|
||||
import { Containers, Spacing } from '../../styles/redesign'
|
||||
import { Containers, Spacing } from '../../styles'
|
||||
import { chart } from '../../i18n/en/labels'
|
||||
|
||||
const image = require('../../assets/swipe.png')
|
||||
|
||||
Reference in New Issue
Block a user