From 8e975fa5d4696a873e7c781af416d4c47f420ff3 Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:14:07 +0700 Subject: [PATCH 01/14] MSP-3486 update Context.Provider in App --- src/components/App.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index 0f72692..96bcc67 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1,8 +1,8 @@ import { ConfigProvider } from 'antd' import ruRu from 'antd/locale/ru_RU' -import { useState } from 'react' +import { useEffect, useState } from 'react' -import { lightTheme } from '@constants/theme.ts' +import { darkTheme, lightTheme } from '@constants/theme.ts' import { Context } from '@stores/index.tsx' @@ -12,10 +12,19 @@ import './app.scss' const App = () => { const [themes, setTheme] = useState(lightTheme) + const [changeTheme, setChangeTheme] = useState( + localStorage.getItem('theme') + ? JSON.parse(localStorage.getItem('theme') || '') + : true + ) + + useEffect(() => { + setTheme(() => (changeTheme ? darkTheme : lightTheme)) + }, [changeTheme]) return (
- + From 4762a0defdcb3ba940e2172ee34c3d835b4edbfb Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:15:59 +0700 Subject: [PATCH 02/14] MSP-3486 update theme.ts --- src/constants/theme.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/constants/theme.ts b/src/constants/theme.ts index 605d371..6e883f5 100644 --- a/src/constants/theme.ts +++ b/src/constants/theme.ts @@ -1,5 +1,17 @@ import { theme } from 'antd' -export const darkTheme = { algorithm: theme.darkAlgorithm } +export const darkTheme = { + algorithm: theme.darkAlgorithm, + cssVar: true, + token: { + colorBgLayout: '#000000' + } +} -export const lightTheme = { algorithm: theme.defaultAlgorithm } +export const lightTheme = { + algorithm: theme.defaultAlgorithm, + cssVar: true, + token: { + colorBgLayout: '#FFFFFF' + } +} From 6f2f4915cd8de152eb447ac1d8cf900c639d609b Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:17:53 +0700 Subject: [PATCH 03/14] MSP-3486 update stores --- src/stores/index.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/stores/index.tsx b/src/stores/index.tsx index 57b7e0f..ceffc60 100644 --- a/src/stores/index.tsx +++ b/src/stores/index.tsx @@ -21,11 +21,19 @@ import UIReducer from './redusers/UISlice.ts' export interface ContextProps { setTheme: Dispatch< - SetStateAction<{ algorithm: (token: SeedToken) => MapToken }> + SetStateAction<{ + algorithm: (token: SeedToken) => MapToken + cssVar: boolean + token: { colorBgLayout: string } + }> > + changeTheme: boolean + setChangeTheme: Dispatch> } export const Context = createContext({ + changeTheme: false, + setChangeTheme: () => false, setTheme: () => theme.defaultAlgorithm }) From 2e0c468d1183da627d61e75d2ffa47e493f7690a Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:50:43 +0700 Subject: [PATCH 04/14] MSP-3486 update styleConst --- src/constants/style/styleConst.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/style/styleConst.scss b/src/constants/style/styleConst.scss index 74a35cc..a043921 100644 --- a/src/constants/style/styleConst.scss +++ b/src/constants/style/styleConst.scss @@ -8,7 +8,7 @@ $text-size-header2: 1.25rem; $text-color-gray: var(--ant-primary-color); $background-color: #F0F2F5; $grey: #606060; -$border-color: #d9d9d9; +$border-color: var(--ant-color-border); $error-red: #cf1322; $blue-color: #40A9FF; From e78faf9b9bb39701956384e13e7f23c40482e4e7 Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:27:07 +0700 Subject: [PATCH 05/14] MSP-3486 update hover style in table and add theme in CodeMirrorMerge in CompareVersionModal --- .../CompareVersionModal/compare-version-modal.scss | 5 ----- src/components/CompareVersionModal/index.tsx | 10 +++++++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/CompareVersionModal/compare-version-modal.scss b/src/components/CompareVersionModal/compare-version-modal.scss index 8e98ec2..df98ba5 100644 --- a/src/components/CompareVersionModal/compare-version-modal.scss +++ b/src/components/CompareVersionModal/compare-version-modal.scss @@ -31,11 +31,6 @@ &__row { cursor: pointer; - &.ant-table-row { - &:hover td { - background-color: white !important; - } - } } } } diff --git a/src/components/CompareVersionModal/index.tsx b/src/components/CompareVersionModal/index.tsx index 99ca7c3..1e00c21 100644 --- a/src/components/CompareVersionModal/index.tsx +++ b/src/components/CompareVersionModal/index.tsx @@ -1,7 +1,7 @@ import { EditorState, EditorView } from '@uiw/react-codemirror' import { Button, Spin, Table } from 'antd' import { ColumnsType } from 'antd/es/table' -import { FC, memo, useState } from 'react' +import { FC, memo, useContext, useState } from 'react' import CodeMirrorMerge from 'react-codemirror-merge' import Modal from '@widgets/Modal' @@ -20,6 +20,7 @@ import { VersionType } from '@type/version.type' import './compare-version-modal.scss' import dayjs from 'dayjs' import { dateFormats } from '@constants/date.ts' +import { Context } from '@stores/index.tsx' const Original = CodeMirrorMerge.Original @@ -37,6 +38,7 @@ const CompareVersionModal: FC = ({ const { data: allUsers = [], isLoading: isUsersLoading } = userServiceApi.useGetAllUsersQuery() const { profile } = useAppSelector((state) => state.profileReducer) + const { changeTheme } = useContext(Context) const isLoading = isVersionLoading || isUsersLoading if (isLoading) { return @@ -79,7 +81,10 @@ const CompareVersionModal: FC = ({ Версия: {selectedItem.configVersion} {config?.version ? `Текущая версия : ${config?.version}` : `Версия: ${config?.configVersion}`}
- + @@ -95,7 +100,6 @@ const CompareVersionModal: FC = ({ ) : (
Date: Tue, 25 Jun 2024 13:29:10 +0700 Subject: [PATCH 06/14] MSP-3486 add theme in Editor in ConfigurationEditorCode --- src/components/ConfigurationEditorCode/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/ConfigurationEditorCode/index.tsx b/src/components/ConfigurationEditorCode/index.tsx index 891f258..9c2ded3 100644 --- a/src/components/ConfigurationEditorCode/index.tsx +++ b/src/components/ConfigurationEditorCode/index.tsx @@ -1,10 +1,12 @@ -import { FC } from 'react' +import { FC, useContext } from 'react' import { ConfigurationEditorPropsType } from '@pages/ConfigurationEditorPage' import Editor from '@monaco-editor/react' import { ConfigType } from '@pages/ModulesPage/module.type.ts' import { message } from 'antd' +import { Context } from '@stores/index.tsx' const ConfigurationEditorCode: FC = ({setDisableBtn= () => {}, bufConfig, setBufConfig }) => { + const { changeTheme } = useContext(Context) const debounce = (func: (...args: any[]) => void, wait: number) => { let timeout: NodeJS.Timeout return (...args: []) => { @@ -44,7 +46,7 @@ const ConfigurationEditorCode: FC = ({setDisableBt width="auto" height="100vh" language="json" - theme="vs-white" + theme={changeTheme ? 'vs-dark' : 'vs-white'} value={editorValue} onChange={handleChange} options={{ From 0df7073ac0ebf2ce4874300a615e2c3899f267f5 Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:30:32 +0700 Subject: [PATCH 07/14] MSP-3486 add theme in ReactJsonView in ConfigurationEditorJson and ConfigurationPreviewModal --- src/components/ConfigurationEditorJson/index.tsx | 6 ++++-- src/components/ConfigurationPreviewModal/index.tsx | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/ConfigurationEditorJson/index.tsx b/src/components/ConfigurationEditorJson/index.tsx index 4978dca..3298bd7 100644 --- a/src/components/ConfigurationEditorJson/index.tsx +++ b/src/components/ConfigurationEditorJson/index.tsx @@ -1,10 +1,12 @@ -import { FC } from 'react' +import { FC, useContext } from 'react' import {ConfigurationEditorPropsType} from '@pages/ConfigurationEditorPage' import { ReactJsonView } from 'isp-ui-kit' import {Spin} from 'antd' import { cleanEmptyParamsObject } from '@utils/objectUtils.ts' +import { Context } from '@stores/index.tsx' const ConfigurationEditorJson: FC = ({ bufConfig = {}, setBufConfig, isCurrentConfigLoading}) => { + const { changeTheme } = useContext(Context) if (isCurrentConfigLoading) { return } @@ -19,9 +21,9 @@ const ConfigurationEditorJson: FC = ({ bufConfig = return ( handleEdit(updated_src)} - displayDataTypes={false} displayObjectSize={false} name={null} diff --git a/src/components/ConfigurationPreviewModal/index.tsx b/src/components/ConfigurationPreviewModal/index.tsx index 5a6756c..7855dd4 100644 --- a/src/components/ConfigurationPreviewModal/index.tsx +++ b/src/components/ConfigurationPreviewModal/index.tsx @@ -1,11 +1,12 @@ import { ReactJsonView } from 'isp-ui-kit' -import { FC, memo } from 'react' +import { FC, memo, useContext } from 'react' import Modal from '@widgets/Modal' import { ConfigurationPreviewModalPropsType } from '@components/ConfigurationPreviewModal/configuration-preview-modal.type.ts' import './configuration-preview-modal.scss' +import { Context } from '@stores/index.tsx' const ConfigurationPreviewModal: FC = ({ @@ -14,6 +15,7 @@ const ConfigurationPreviewModal: FC = ({ open, onClose }) => { + const { changeTheme } = useContext(Context) const data = JSON.parse(JSON.stringify(config.data || {})) const configName = versionCompare ? `Версия: ${config.configVersion}` @@ -22,6 +24,7 @@ const ConfigurationPreviewModal: FC = ({
Date: Tue, 25 Jun 2024 13:41:12 +0700 Subject: [PATCH 08/14] MSP-3486 add theme in JSONSchemaView in JsonSchemaViewer --- src/widgets/JSONViewer/index.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/widgets/JSONViewer/index.tsx b/src/widgets/JSONViewer/index.tsx index 57c9ca8..771f041 100644 --- a/src/widgets/JSONViewer/index.tsx +++ b/src/widgets/JSONViewer/index.tsx @@ -1,7 +1,9 @@ import RefParser from '@apidevtools/json-schema-ref-parser' import JSONSchemaView from 'json-schema-view-js' import cloneDeep from 'lodash.clonedeep' -import React, { useEffect, useRef } from 'react' +import { FC, useContext, useEffect, useRef } from 'react' + +import { Context } from '@stores/index.tsx' import 'json-schema-view-js/dist/style.min.css' @@ -9,7 +11,8 @@ interface JsonSchemaViewerProps { schema: object } -const JsonSchemaViewer: React.FC = ({ schema }) => { +const JsonSchemaViewer: FC = ({ schema }) => { + const { changeTheme } = useContext(Context) const myRef = useRef(null) useEffect(() => { @@ -28,7 +31,9 @@ const JsonSchemaViewer: React.FC = ({ schema }) => { if (err) { console.log(err) } else { - const view = new JSONSchemaView(dereferencedSchema, 3) + const view = new JSONSchemaView(dereferencedSchema, 3, { + theme: changeTheme ? 'dark' : '' + }) if (myRef.current) { myRef.current.appendChild(view.render()) } From f9b6f03a9ea53c5018bdb941dcbff2001cc18b43 Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:34:40 +0700 Subject: [PATCH 09/14] MSP-3486 add Button for change theme in ProfilePage --- src/pages/ProfilePage/index.tsx | 19 ++++++++++++++++--- src/pages/ProfilePage/profile-page.scss | 9 +++++++-- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/pages/ProfilePage/index.tsx b/src/pages/ProfilePage/index.tsx index aee9f2b..96c212f 100644 --- a/src/pages/ProfilePage/index.tsx +++ b/src/pages/ProfilePage/index.tsx @@ -1,5 +1,5 @@ import { Button, Descriptions, Popconfirm } from 'antd' -import { useState } from 'react' +import { useContext, useEffect, useState } from 'react' import PermissionList from '@widgets/PermissionList' @@ -9,13 +9,23 @@ import RoleList from '@components/RoleList' import { useAppSelector } from '@hooks/redux.ts' import useLogout from '@hooks/useLogout.tsx' -import './profile-page.scss' +import { Context } from '@stores/index.tsx' +import './profile-page.scss' const ProfilePage = () => { const [isModalOpen, setIsModalOpen] = useState(false) const { profile } = useAppSelector((state) => state.profileReducer) const { logoutUser, isLoading } = useLogout() + const { changeTheme, setChangeTheme } = useContext(Context) + + const onChangeTheme = () => { + setChangeTheme((prev: any) => !prev) + } + + useEffect(() => { + localStorage.setItem('theme', JSON.stringify(changeTheme)) + }, [changeTheme]) return (
@@ -23,7 +33,10 @@ const ProfilePage = () => { onClose={() => setIsModalOpen(false)} open={isModalOpen} /> -

{`${profile.lastName} ${profile.firstName}`}

+
+

{`${profile.lastName} ${profile.firstName}`}

+ +
diff --git a/src/pages/ProfilePage/profile-page.scss b/src/pages/ProfilePage/profile-page.scss index 614b8b5..99fa3af 100644 --- a/src/pages/ProfilePage/profile-page.scss +++ b/src/pages/ProfilePage/profile-page.scss @@ -3,13 +3,18 @@ .profile-page { height: 100vh; overflow: auto; - border: 1px solid #F0F0F0; + border: 1px solid var(--ant-color-border); padding: $basic-padding * 2; - background: #fff; display: flex; flex-direction: column; align-items: start; + &__header { + display: flex; + justify-content: space-between; + width: 100%; + } + &__title { font-size: $text-size-header1; } From 3369c84a691f38d109155268c1c59d319d56d1c7 Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:37:58 +0700 Subject: [PATCH 10/14] MSP-3486 remove three-columns style in RolesPage --- src/pages/RolesPage/index.tsx | 3 +-- src/pages/RolesPage/roles-page.scss | 8 +------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/pages/RolesPage/index.tsx b/src/pages/RolesPage/index.tsx index 547cb04..99f0945 100644 --- a/src/pages/RolesPage/index.tsx +++ b/src/pages/RolesPage/index.tsx @@ -25,7 +25,6 @@ import { NewRoleType, PermissionKeysType, RoleType } from '@type/roles.type.ts' import './roles-page.scss' - const { Column, EmptyData, NoData } = Layout const RolesPage = () => { @@ -191,7 +190,7 @@ const RolesPage = () => { } return ( -
+
Date: Tue, 25 Jun 2024 13:23:01 +0700 Subject: [PATCH 11/14] MSP-3486 remove background color and three-columns style in ApplicationsPage --- src/pages/ApplicationsPage/applications-page.scss | 10 +--------- src/pages/ApplicationsPage/index.tsx | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/pages/ApplicationsPage/applications-page.scss b/src/pages/ApplicationsPage/applications-page.scss index a455dd0..c951766 100644 --- a/src/pages/ApplicationsPage/applications-page.scss +++ b/src/pages/ApplicationsPage/applications-page.scss @@ -3,7 +3,6 @@ .applications-page { height: 100%; display: flex; - background: #fff; &__list { .ant-list-item { @@ -21,14 +20,7 @@ max-height: 100vh; } - .three-columns { - display: flex; - background: #fff; - box-shadow: inset -1px 0px 0px $border-color; - height: 100%; - } - .modal__wrap{ - min-width: 350px; + min-width: 380px; } } diff --git a/src/pages/ApplicationsPage/index.tsx b/src/pages/ApplicationsPage/index.tsx index be8ad9c..5b05c1a 100644 --- a/src/pages/ApplicationsPage/index.tsx +++ b/src/pages/ApplicationsPage/index.tsx @@ -172,7 +172,7 @@ const ApplicationsPage = () => { } return ( -
+
Date: Tue, 25 Jun 2024 13:55:24 +0700 Subject: [PATCH 12/14] MSP-3486 remove three-columns style in ModulesPage --- src/pages/ModulesPage/index.tsx | 2 +- src/pages/ModulesPage/modules-page.scss | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/pages/ModulesPage/index.tsx b/src/pages/ModulesPage/index.tsx index 46b9aca..0d598d5 100644 --- a/src/pages/ModulesPage/index.tsx +++ b/src/pages/ModulesPage/index.tsx @@ -188,7 +188,7 @@ const ModulesPage = () => { } return ( -
+
Date: Tue, 25 Jun 2024 13:53:50 +0700 Subject: [PATCH 13/14] MSP-3486 update style ( border and background ) for theme --- .../active-configurations-table.scss | 4 +++- src/components/Layout/layout.scss | 3 +-- src/pages/AppAccessPage/app-access-page.scss | 1 - .../configuration-editor-page.scss | 1 - src/pages/ConnectionsPage/connections.scss | 2 +- src/pages/SecurityLogPage/security-log-page.scss | 1 - src/pages/SessionsPage/sessions-page.scss | 1 - src/pages/UserEditor/user-editor.scss | 1 - src/pages/UsersPage/users-page.scss | 1 - src/ui/CloseBtn/close-btn.scss | 8 +++++++- src/widgets/Modal/modal.scss | 6 +++--- 11 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/components/ActiveConfigurationsTable/active-configurations-table.scss b/src/components/ActiveConfigurationsTable/active-configurations-table.scss index 3c34169..847545a 100644 --- a/src/components/ActiveConfigurationsTable/active-configurations-table.scss +++ b/src/components/ActiveConfigurationsTable/active-configurations-table.scss @@ -10,11 +10,13 @@ &__table { &__name-field { input { + color: #606060; border: none; background-color: transparent; width: 100%; &:focus-visible { + color: var(--ant-color-text); padding: $basic-padding; border-radius: 4px; outline: 1px solid $blue-color; @@ -34,7 +36,7 @@ .active-config { tr { - background: $blue-light; + background: var(--ant-color-info-bg); } } diff --git a/src/components/Layout/layout.scss b/src/components/Layout/layout.scss index a1504be..33c2c0a 100644 --- a/src/components/Layout/layout.scss +++ b/src/components/Layout/layout.scss @@ -19,7 +19,6 @@ } .ant-menu-title-content { - color: #1B1B1B; padding-left: 10px } } @@ -30,7 +29,7 @@ display: none !important; } - border-bottom: 1px solid lightgray; + border-bottom: 1px solid var(--ant-color-border); border-radius: 0 !important; & .ant-menu-submenu-title { diff --git a/src/pages/AppAccessPage/app-access-page.scss b/src/pages/AppAccessPage/app-access-page.scss index f6cb859..92e4686 100644 --- a/src/pages/AppAccessPage/app-access-page.scss +++ b/src/pages/AppAccessPage/app-access-page.scss @@ -3,7 +3,6 @@ .app-access-page { display: flex; height: 100%; - background: #fff; .ant-tree { background: none; diff --git a/src/pages/ConfigurationEditorPage/configuration-editor-page.scss b/src/pages/ConfigurationEditorPage/configuration-editor-page.scss index f7f37ce..7608262 100644 --- a/src/pages/ConfigurationEditorPage/configuration-editor-page.scss +++ b/src/pages/ConfigurationEditorPage/configuration-editor-page.scss @@ -3,7 +3,6 @@ .configuration-editor-page { display: flex; flex-direction: column; - background: white; -ms-overflow-style: none; /* IE и Edge */ scrollbar-width: none; border-left: 1px solid $border-color; diff --git a/src/pages/ConnectionsPage/connections.scss b/src/pages/ConnectionsPage/connections.scss index 436e270..1ff4bcd 100644 --- a/src/pages/ConnectionsPage/connections.scss +++ b/src/pages/ConnectionsPage/connections.scss @@ -18,7 +18,7 @@ &__inner-marker { font-size: 11px; - border: 1px solid #15D1E6; + border: 1px solid var(--ant-color-border); border-radius: 12px; padding: 0 4px; margin: 4px diff --git a/src/pages/SecurityLogPage/security-log-page.scss b/src/pages/SecurityLogPage/security-log-page.scss index 7f110af..d66bfb5 100644 --- a/src/pages/SecurityLogPage/security-log-page.scss +++ b/src/pages/SecurityLogPage/security-log-page.scss @@ -2,7 +2,6 @@ .security-log-page { height: 100%; - background: #fff; border: 1px solid $border-color; &__header { diff --git a/src/pages/SessionsPage/sessions-page.scss b/src/pages/SessionsPage/sessions-page.scss index 45e95f0..05e47a9 100644 --- a/src/pages/SessionsPage/sessions-page.scss +++ b/src/pages/SessionsPage/sessions-page.scss @@ -2,7 +2,6 @@ .sessions-page { height: 100%; - background: #fff; border: 1px solid $border-color; &__header { diff --git a/src/pages/UserEditor/user-editor.scss b/src/pages/UserEditor/user-editor.scss index 3dd6a2b..9356347 100644 --- a/src/pages/UserEditor/user-editor.scss +++ b/src/pages/UserEditor/user-editor.scss @@ -1,7 +1,6 @@ @import "../../constants/style/styleConst"; .user-editor { - background: #fff; height: 100%; border: 1px solid $border-color; diff --git a/src/pages/UsersPage/users-page.scss b/src/pages/UsersPage/users-page.scss index 96bc529..5be148b 100644 --- a/src/pages/UsersPage/users-page.scss +++ b/src/pages/UsersPage/users-page.scss @@ -2,7 +2,6 @@ .users-page { height: 100%; - background: #fff; border: 1px solid $border-color; .ant-btn-group >.ant-btn:first-child { z-index: 2; diff --git a/src/ui/CloseBtn/close-btn.scss b/src/ui/CloseBtn/close-btn.scss index 3f0e0fc..d190fe4 100644 --- a/src/ui/CloseBtn/close-btn.scss +++ b/src/ui/CloseBtn/close-btn.scss @@ -5,4 +5,10 @@ position: absolute; top: 8px; right: 8px; -} \ No newline at end of file + + svg { + path { + fill: var(--ant-color-text) !important; + } + } +} diff --git a/src/widgets/Modal/modal.scss b/src/widgets/Modal/modal.scss index 1c580c4..def814a 100644 --- a/src/widgets/Modal/modal.scss +++ b/src/widgets/Modal/modal.scss @@ -5,7 +5,7 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); - background-color: rgba(211, 211, 211, 0.8); + background-color: var(--ant-color-bg-mask); width: 100%; height: 100%; display: flex; @@ -17,7 +17,7 @@ min-height: 170px; max-height: 90vh; max-width: 90%; - background: white; + background: var(--ant-layout-light-sider-bg); color: white; z-index: 10; border-radius: 16px; @@ -32,7 +32,7 @@ &__header { height: 50px; - background: white; + background: var(--ant-layout-light-sider-bg); overflow: hidden; border-top-left-radius: 16px; border-top-right-radius: 16px; From bc178cb595bc0f6ded012cf12c3ee6c32f9b9ebc Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 15:29:08 +0700 Subject: [PATCH 14/14] MSP-3486 up version to 0.13.0 --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 402a860..a9bd58e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 0.13.0 +- Добавлена темная тема ## 0.12.6 - Добавлены кропки "удалить/добавть" в JsonView - Добавлен скролл к JsonView diff --git a/package-lock.json b/package-lock.json index 968da3b..7fab136 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "isp-admin-ui", - "version": "0.12.5", + "version": "0.13.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "isp-admin-ui", - "version": "0.12.5", + "version": "0.13.0", "dependencies": { "@apidevtools/json-schema-ref-parser": "^9.0.6", "@codemirror/lang-json": "^6.0.1", diff --git a/package.json b/package.json index b95e561..992dfea 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "isp-admin-ui", "private": true, - "version": "0.12.6", + "version": "0.13.0", "type": "module", "scripts": { "start": "vite",