From 3e157afdab1e4fb0e5015adc40e2ad1bd5dc6e99 Mon Sep 17 00:00:00 2001 From: txix Date: Tue, 29 Oct 2024 10:45:55 +0300 Subject: [PATCH] 2024-10-29 10:45:55: merge [main:56455eabdb1f192f35922d62b7737ba53dd32c36]; --- CHANGELOG.md | 2 ++ dist/index.js | 2 +- package.json | 2 +- src/Layout/Column/column.scss | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 148b148..8ce119a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +### 0.9.1 +- Исправлена максимальная высота в компоненте "Колонка". ### 0.9.0 - В компоненте FormCodeEditor библиотека codeMirror заменена на monaco ### 0.8.1 diff --git a/dist/index.js b/dist/index.js index 568ae86..2e8cad0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -166133,7 +166133,7 @@ const Vve = (t) => { ); }; ka( - '.column{border:1px solid var(--ant-color-border);border-bottom:0;border-top:0;min-width:300px}.column .react-resizable-handle-e{right:-12px;transform:none}.column .react-resizable-handle{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAxYTEgMSAwIDEgMSAyIDB2MTBhMSAxIDAgMCAxLTIgMFYxem0zIDBhMSAxIDAgMSAxIDIgMHYxMGExIDEgMCAwIDEtMiAwVjF6IiBmaWxsPSIjQzFDN0QwIi8+PC9zdmc+")}.column__header{display:flex;flex-direction:column;gap:8px;padding:10px}.column__header__title{font-family:PT Sans,sans-serif;font-size:19px;font-weight:500;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.column__header__actions{display:flex;gap:8px}.column__header__actions .ant-input-affix-wrapper:hover svg{fill:#1890ff}.column__header__actions .ant-input-affix-wrapper .ant-input-prefix{cursor:pointer;margin-left:auto;position:absolute;right:5px;top:50%;transform:translateY(-50%);z-index:10}.column__header__actions .ant-input-affix-wrapper-focused .ant-input-prefix .anticon-search svg{display:none}.column__header__actions button{flex-shrink:0}.column__items{max-height:calc(100vh - 60px);padding:0 8px}.column .ant-list-items .column__items__item{cursor:pointer}.column .ant-list-items .column__items__item span{align-items:center;display:flex;width:100%}.column .ant-list-items .column__items__item span svg{margin-bottom:3px}.column .ant-list-items .column__items__item:hover:not(.active){background:var(--ant-control-item-bg-hover)!important}.column .ant-list-items .ant-list-item-meta-title{color:var(--ant-primary-color);font-family:Roboto,sans-serif;font-size:14px;font-weight:400;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column .ant-list-items .ant-list-item-meta-description span{align-items:center;display:inline}.column .ant-list-items .active{background:var(--ant-color-info-bg)!important}.column .ant-list-items .active .ant-list-item-meta-title{color:var(--ant-color-primary)!important}.column .ant-list-items .active svg path{fill:#1890ff}.column .ant-list-item{border-bottom:1px solid var(--ant-color-border)!important;padding:8px 12px}.column .simplebar-content{padding:0!important}.column .simplebar-scrollbar:before{background-color:grey}', + '.column{border:1px solid var(--ant-color-border);border-bottom:0;border-top:0;min-width:300px}.column .react-resizable-handle-e{right:-12px;transform:none}.column .react-resizable-handle{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAxYTEgMSAwIDEgMSAyIDB2MTBhMSAxIDAgMCAxLTIgMFYxem0zIDBhMSAxIDAgMSAxIDIgMHYxMGExIDEgMCAwIDEtMiAwVjF6IiBmaWxsPSIjQzFDN0QwIi8+PC9zdmc+")}.column__header{display:flex;flex-direction:column;gap:8px;padding:10px}.column__header__title{font-family:PT Sans,sans-serif;font-size:19px;font-weight:500;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.column__header__actions{display:flex;gap:8px}.column__header__actions .ant-input-affix-wrapper:hover svg{fill:#1890ff}.column__header__actions .ant-input-affix-wrapper .ant-input-prefix{cursor:pointer;margin-left:auto;position:absolute;right:5px;top:50%;transform:translateY(-50%);z-index:10}.column__header__actions .ant-input-affix-wrapper-focused .ant-input-prefix .anticon-search svg{display:none}.column__header__actions button{flex-shrink:0}.column__items{max-height:calc(100vh - 90px);padding:0 8px}.column .ant-list-items .column__items__item{cursor:pointer}.column .ant-list-items .column__items__item span{align-items:center;display:flex;width:100%}.column .ant-list-items .column__items__item span svg{margin-bottom:3px}.column .ant-list-items .column__items__item:hover:not(.active){background:var(--ant-control-item-bg-hover)!important}.column .ant-list-items .ant-list-item-meta-title{color:var(--ant-primary-color);font-family:Roboto,sans-serif;font-size:14px;font-weight:400;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column .ant-list-items .ant-list-item-meta-description span{align-items:center;display:inline}.column .ant-list-items .active{background:var(--ant-color-info-bg)!important}.column .ant-list-items .active .ant-list-item-meta-title{color:var(--ant-color-primary)!important}.column .ant-list-items .active svg path{fill:#1890ff}.column .ant-list-item{border-bottom:1px solid var(--ant-color-border)!important;padding:8px 12px}.column .simplebar-content{padding:0!important}.column .simplebar-scrollbar:before{background-color:grey}', ); ka( '.column-content{max-height:100vh;width:100%}.column-content .simplebar-scrollbar:before{background-color:grey}', diff --git a/package.json b/package.json index e0c0a86..0abe24d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "isp-ui-kit", - "version": "0.9.0", + "version": "0.9.1", "description": "react ui lib for project", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/Layout/Column/column.scss b/src/Layout/Column/column.scss index 87e42b4..d891b5e 100644 --- a/src/Layout/Column/column.scss +++ b/src/Layout/Column/column.scss @@ -68,7 +68,7 @@ } &__items { - max-height: calc(100vh - 60px); + max-height: calc(100vh - 90px); padding: 0 8px; }