mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
[CORL-314] Rename to Coral (#2318)
* chore: rename talk to coral * fix: lint and unit tests * fix: snapshot
This commit is contained in:
@@ -2,8 +2,8 @@ import { Localized } from "fluent-react/compat";
|
||||
import React from "react";
|
||||
import CopyToClipboard from "react-copy-to-clipboard";
|
||||
|
||||
import { Button } from "talk-ui/components";
|
||||
import { PropTypesOf } from "talk-ui/types";
|
||||
import { Button } from "coral-ui/components";
|
||||
import { PropTypesOf } from "coral-ui/types";
|
||||
|
||||
interface Props extends PropTypesOf<typeof Button> {
|
||||
text: string;
|
||||
|
||||
@@ -2,7 +2,7 @@ import { noop } from "lodash";
|
||||
import React from "react";
|
||||
import { createRenderer } from "react-test-renderer/shallow";
|
||||
|
||||
import { PropTypesOf } from "talk-framework/types";
|
||||
import { PropTypesOf } from "coral-framework/types";
|
||||
|
||||
import DurationField, { DURATION_UNIT } from "./DurationField";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Localized } from "fluent-react/compat";
|
||||
import React, { ChangeEvent, Component } from "react";
|
||||
|
||||
import { Flex, Option, SelectField, TextField } from "talk-ui/components";
|
||||
import { Flex, Option, SelectField, TextField } from "coral-ui/components";
|
||||
|
||||
import styles from "./DurationField.css";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { noop } from "lodash";
|
||||
import React from "react";
|
||||
import { createRenderer } from "react-test-renderer/shallow";
|
||||
|
||||
import { PropTypesOf } from "talk-framework/types";
|
||||
import { PropTypesOf } from "coral-framework/types";
|
||||
|
||||
import FacebookButton from "./FacebookButton";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React from "react";
|
||||
import { FunctionComponent } from "react";
|
||||
|
||||
import { PropTypesOf } from "talk-framework/types";
|
||||
import { Button } from "talk-ui/components";
|
||||
import { PropTypesOf } from "coral-framework/types";
|
||||
import { Button } from "coral-ui/components";
|
||||
|
||||
import styles from "./FacebookButton.css";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { noop } from "lodash";
|
||||
import React from "react";
|
||||
import { createRenderer } from "react-test-renderer/shallow";
|
||||
|
||||
import { PropTypesOf } from "talk-framework/types";
|
||||
import { PropTypesOf } from "coral-framework/types";
|
||||
|
||||
import GoogleButton from "./GoogleButton";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React from "react";
|
||||
import { FunctionComponent } from "react";
|
||||
|
||||
import { PropTypesOf } from "talk-framework/types";
|
||||
import { Button } from "talk-ui/components";
|
||||
import { PropTypesOf } from "coral-framework/types";
|
||||
import { Button } from "coral-ui/components";
|
||||
|
||||
import styles from "./GoogleButton.css";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { noop } from "lodash";
|
||||
import React from "react";
|
||||
import { createRenderer } from "react-test-renderer/shallow";
|
||||
|
||||
import { PropTypesOf } from "talk-framework/types";
|
||||
import { PropTypesOf } from "coral-framework/types";
|
||||
|
||||
import OIDCButton from "./OIDCButton";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React from "react";
|
||||
import { FunctionComponent } from "react";
|
||||
|
||||
import { PropTypesOf } from "talk-framework/types";
|
||||
import { Button } from "talk-ui/components";
|
||||
import { PropTypesOf } from "coral-framework/types";
|
||||
import { Button } from "coral-ui/components";
|
||||
|
||||
import styles from "./OIDCButton.css";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Localized } from "fluent-react/compat";
|
||||
import React, { FunctionComponent } from "react";
|
||||
|
||||
import { Omit, PropTypesOf } from "talk-framework/types";
|
||||
import { PasswordField as PasswordFieldUI } from "talk-ui/components";
|
||||
import { Omit, PropTypesOf } from "coral-framework/types";
|
||||
import { PasswordField as PasswordFieldUI } from "coral-ui/components";
|
||||
|
||||
export interface Props
|
||||
extends Omit<
|
||||
|
||||
@@ -44,84 +44,84 @@ $fullscreenZIndex: 10;
|
||||
}
|
||||
|
||||
.iconBold {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "format_bold";
|
||||
}
|
||||
}
|
||||
|
||||
.iconItalic {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "format_italic";
|
||||
}
|
||||
}
|
||||
|
||||
.iconTitle {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "title";
|
||||
}
|
||||
}
|
||||
|
||||
.iconQuote {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "format_quote";
|
||||
}
|
||||
}
|
||||
|
||||
.iconUnorderedList {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "format_list_bulleted";
|
||||
}
|
||||
}
|
||||
|
||||
.iconOrderedList {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "format_list_numbered";
|
||||
}
|
||||
}
|
||||
|
||||
.iconLink {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "link";
|
||||
}
|
||||
}
|
||||
|
||||
.iconImage {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "insert_photo";
|
||||
}
|
||||
}
|
||||
|
||||
.iconPreview {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "remove_red_eye";
|
||||
}
|
||||
}
|
||||
|
||||
.iconSideBySide {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "chrome_reader_mode";
|
||||
}
|
||||
}
|
||||
|
||||
.iconFullscreen {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "fullscreen";
|
||||
}
|
||||
}
|
||||
|
||||
.iconGuide {
|
||||
composes: icon from "talk-ui/shared/icon.css";
|
||||
composes: icon from "coral-ui/shared/icon.css";
|
||||
&::before {
|
||||
content: "help_outline";
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import cn from "classnames";
|
||||
import React, { ChangeEvent, Component, Ref } from "react";
|
||||
import SimpleMDE from "simplemde";
|
||||
|
||||
import { GetMessage, withGetMessage } from "talk-framework/lib/i18n";
|
||||
import { GetMessage, withGetMessage } from "coral-framework/lib/i18n";
|
||||
|
||||
import styles from "./MarkdownEditor.css";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user