mirror of
https://github.com/wassname/talk.git
synced 2026-07-22 13:00:29 +08:00
[next] Admin Configure (#2076)
* feat: Add RadioButton and CheckBox * feat: configure facebook and google auth * feat: configure sso, localAuth and displayName + some tests * test: add integration tests for configure auth * test: more integration tests * feat: add oidc support * test: add oidc integration test * feat: generate sso key initially * fix: import fetchQuery from correct package * fix: admin url * fix: set timezone to utc when testing * refactor: improve route config * fix: remove obsolete line * fix: clientMutationId increment * fix: oidc only create when enabled * fix: copy * test: update snapshots * feat: fixed graphql logging extension * Update src/locales/en-US/admin.ftl Co-Authored-By: cvle <vinh@wikiwi.io> * Apply suggestions from code review Co-Authored-By: cvle <vinh@wikiwi.io> * test: update snapshots * fix: change Local Auth to Email Authentication * fix: copy updates
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
border-radius: var(--round-corners);
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
width: calc(29 * var(--spacing-unit));
|
||||
|
||||
&:read-only {
|
||||
background-color: var(--palette-grey-lightest);
|
||||
}
|
||||
&:disabled {
|
||||
color: var(--palette-text-secondary);
|
||||
background-color: var(--palette-grey-lightest);
|
||||
}
|
||||
}
|
||||
|
||||
.colorRegular {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import cn from "classnames";
|
||||
import React, { ChangeEvent, EventHandler } from "react";
|
||||
import React, { AllHTMLAttributes, ChangeEvent, EventHandler } from "react";
|
||||
import { StatelessComponent } from "react";
|
||||
import { withStyles } from "talk-ui/hocs";
|
||||
import * as styles from "./TextField.css";
|
||||
import styles from "./TextField.css";
|
||||
|
||||
export interface TextFieldProps {
|
||||
id?: string;
|
||||
@@ -52,6 +52,11 @@ export interface TextFieldProps {
|
||||
onChange?: EventHandler<ChangeEvent<HTMLInputElement>>;
|
||||
|
||||
disabled?: boolean;
|
||||
|
||||
autoComplete?: AllHTMLAttributes<HTMLInputElement>["autoComplete"];
|
||||
autoCorrect?: AllHTMLAttributes<HTMLInputElement>["autoCorrect"];
|
||||
autoCapitalize?: AllHTMLAttributes<HTMLInputElement>["autoCapitalize"];
|
||||
spellCheck?: AllHTMLAttributes<HTMLInputElement>["spellCheck"];
|
||||
}
|
||||
|
||||
const TextField: StatelessComponent<TextFieldProps> = props => {
|
||||
|
||||
Reference in New Issue
Block a user