[CORL-219] Common Tweaks (#2460)

* fix: i18n fixes

* fix: figma tweaks

* fix: tweaked date manipulation logic

* fix: linting

* fix: linting

* fix: tests
This commit is contained in:
Wyatt Johnson
2019-08-12 16:44:35 -04:00
committed by Kim Gardner
parent 7900b02c40
commit 8d78677154
16 changed files with 90 additions and 75 deletions
@@ -2,7 +2,7 @@ import cn from "classnames";
import { Localized } from "fluent-react/compat";
import React, { FunctionComponent } from "react";
import { reduceSeconds, UNIT } from "coral-framework/lib/i18n";
import { reduceSeconds, UNIT } from "coral-common/helpers/i18n";
import {
Box,
Flex,
@@ -1,7 +1,7 @@
import { Localized } from "fluent-react/compat";
import React, { FunctionComponent } from "react";
import { reduceSeconds } from "coral-framework/lib/i18n";
import { reduceSeconds } from "coral-common/helpers/i18n";
interface From {
start: Date;
@@ -3,12 +3,8 @@ import { Localized } from "fluent-react/compat";
import React, { FunctionComponent, useCallback } from "react";
import { Field, Form } from "react-final-form";
import {
GetMessage,
ScaledUnit,
withGetMessage,
} from "coral-framework/lib/i18n";
import { ScaledUnit } from "coral-common/helpers/i18n";
import { GetMessage, withGetMessage } from "coral-framework/lib/i18n";
import {
Button,
CheckBox,
@@ -1,13 +1,9 @@
import { Localized } from "fluent-react/compat";
import React, { FunctionComponent, useCallback, useState } from "react";
import {
GetMessage,
ScaledUnit,
withGetMessage,
} from "coral-framework/lib/i18n";
import NotAvailable from "coral-admin/components/NotAvailable";
import { ScaledUnit } from "coral-common/helpers/i18n";
import { GetMessage, withGetMessage } from "coral-framework/lib/i18n";
import {
Button,
Card,