From 47b1d7bb733b9e74ba3b0ed95f0cd7d0edf4d830 Mon Sep 17 00:00:00 2001 From: Brian Fleming Date: Fri, 13 Sep 2024 13:57:40 -0400 Subject: [PATCH] Style Tipline settings area menu to better match the Check UI (#2105) * begin to style tipline settings area menu to better match the Check UI * add unrelated missing form layout class * sort prop types to be a good citizen * [smoke tests] Run all smoke tests for this branch * [smoke tests] Run all smoke tests for this branch --- .../ButtonMain.module.css | 2 +- .../team/Newsletter/NewsletterHeader.js | 14 +- .../team/SmoochBot/SmoochBot.module.css | 29 +++ .../team/SmoochBot/SmoochBotConfig.js | 172 ++++++++---------- .../SmoochBot/SmoochBotIntegrationButton.js | 23 ++- .../team/SmoochBot/SmoochBotIntegrations.js | 31 +--- .../team/SmoochBot/SmoochBotSettings.js | 11 +- .../team/SmoochBot/SmoochBotSidebar.js | 43 +++-- .../components/team/SmoochBot/localizables.js | 5 +- 9 files changed, 162 insertions(+), 168 deletions(-) create mode 100644 src/app/components/team/SmoochBot/SmoochBot.module.css diff --git a/src/app/components/cds/buttons-checkboxes-chips/ButtonMain.module.css b/src/app/components/cds/buttons-checkboxes-chips/ButtonMain.module.css index 03370742a6..97d237b031 100644 --- a/src/app/components/cds/buttons-checkboxes-chips/ButtonMain.module.css +++ b/src/app/components/cds/buttons-checkboxes-chips/ButtonMain.module.css @@ -307,7 +307,7 @@ &.theme-black:not([type='button']:disabled):not([type='submit']:disabled) { &.contained { - @mixin main-button-contained-theme var(--color-gray-15), var(--color-gray-59), var(--color-white-100), var(--color-white-100); + @mixin main-button-contained-theme var(--color-gray-15), var(--color-gray-37), var(--color-white-100), var(--color-white-100); } &.outlined { diff --git a/src/app/components/team/Newsletter/NewsletterHeader.js b/src/app/components/team/Newsletter/NewsletterHeader.js index a1517cb6fb..b8af19737d 100644 --- a/src/app/components/team/Newsletter/NewsletterHeader.js +++ b/src/app/components/team/Newsletter/NewsletterHeader.js @@ -1,10 +1,10 @@ -/* eslint-disable react/sort-prop-types */ import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage, defineMessages, injectIntl, intlShape } from 'react-intl'; import Select from '../../cds/inputs/Select'; import LimitedTextField from '../../layout/inputs/LimitedTextField'; import Upload from '../../cds/inputs/Upload'; +import inputStyles from '../../../styles/css/inputs.module.css'; import styles from './NewsletterComponent.module.css'; const messages = defineMessages({ @@ -58,7 +58,7 @@ const NewsletterHeader = ({ setFile, setFileName, }) => ( -
+