diff --git a/app/package.json b/app/package.json index 20659f7e8d..0c317a9f11 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "@epam/app", - "version": "5.11.1-rc.0", + "version": "5.12.1", "description": "EPAM Unified UI landing", "author": "EPAM", "license": "MIT", @@ -17,19 +17,19 @@ "dependencies": { "@babel/plugin-proposal-private-property-in-object": "7.21.11", "@elastic/apm-rum": "^5.14.0", - "@epam/assets": "5.11.1-rc.0", - "@epam/draft-rte": "5.11.1-rc.0", - "@epam/electric": "5.11.1-rc.0", + "@epam/assets": "5.12.1", + "@epam/draft-rte": "5.12.1", + "@epam/electric": "5.12.1", "@epam/internal": "0.0.2", - "@epam/loveship": "5.11.1-rc.0", - "@epam/promo": "5.11.1-rc.0", - "@epam/uui": "5.11.1-rc.0", - "@epam/uui-components": "5.11.1-rc.0", - "@epam/uui-core": "5.11.1-rc.0", - "@epam/uui-db": "5.11.1-rc.0", - "@epam/uui-docs": "5.11.1-rc.0", - "@epam/uui-editor": "5.11.1-rc.0", - "@epam/uui-timeline": "5.11.1-rc.0", + "@epam/loveship": "5.12.1", + "@epam/promo": "5.12.1", + "@epam/uui": "5.12.1", + "@epam/uui-components": "5.12.1", + "@epam/uui-core": "5.12.1", + "@epam/uui-db": "5.12.1", + "@epam/uui-docs": "5.12.1", + "@epam/uui-editor": "5.12.1", + "@epam/uui-timeline": "5.12.1", "@tanstack/react-query": "^5.17.19", "@udecode/plate-common": "31.3.2", "amplitude-js": "8.9.1", diff --git a/app/src/common/AppHeader.tsx b/app/src/common/AppHeader.tsx index ac5da2cc34..11dfaaf0f5 100644 --- a/app/src/common/AppHeader.tsx +++ b/app/src/common/AppHeader.tsx @@ -226,7 +226,7 @@ export function AppHeader() { priority: 5, render: () => ( } + renderTarget={ (props) => } renderBody={ (props) => ( @@ -241,7 +241,7 @@ export function AppHeader() { { id: 'git', priority: 4, - render: () => , + render: () => , }, { id: 'gitStar', @@ -273,7 +273,7 @@ export function AppHeader() { priority: 1, render: renderDirectionSwitcher, }, - { id: 'globalMenu', priority: 100500, render: () => }, + { id: 'globalMenu', priority: 100500, render: () => }, ].filter((i) => !!i); }; diff --git a/app/src/demo/tables/filteredTable/filters.tsx b/app/src/demo/tables/filteredTable/filters.tsx index 1853d07c6d..b47714befe 100644 --- a/app/src/demo/tables/filteredTable/filters.tsx +++ b/app/src/demo/tables/filteredTable/filters.tsx @@ -25,7 +25,8 @@ export const getFilters = (): TableFiltersConfig[] => { ), predicates: defaultPredicates.multiPicker, showSearch: false, - }, { + }, + { field: 'countryId', columnKey: 'countryName', title: 'Country', @@ -47,39 +48,45 @@ export const getFilters = (): TableFiltersConfig[] => { ) } /> ), - }, { + }, + { field: 'jobTitleId', columnKey: 'jobTitle', title: 'Title', type: 'multiPicker', dataSource: new LazyDataSource({ api: svc.api.demo.jobTitles }), - }, { + }, + { field: 'departmentId', columnKey: 'departmentName', title: 'Department', type: 'singlePicker', dataSource: new LazyDataSource({ api: svc.api.demo.departments }), predicates: [{ predicate: 'eq', name: 'is' }, { predicate: 'neq', name: 'is not' }], - }, { + }, + { field: 'officeId', columnKey: 'officeAddress', title: 'Office', type: 'singlePicker', dataSource: new LazyDataSource({ api: svc.api.demo.offices }), - }, { + }, + { field: 'managerId', columnKey: 'managerName', title: 'Manager', type: 'multiPicker', dataSource: new LazyDataSource({ api: svc.api.demo.managers }), - }, { + }, + { field: 'cityId', columnKey: 'cityName', title: 'City', type: 'multiPicker', getName: (item) => `${item.name} (${item.countryName})`, dataSource: new LazyDataSource({ api: svc.api.demo.cities }), - }, { + }, + { field: 'workload', columnKey: 'workload', title: 'Workload', @@ -89,18 +96,21 @@ export const getFilters = (): TableFiltersConfig[] => { { predicate: 'eq', name: '=' }, { predicate: 'neq', name: '≠' }, { predicate: 'lte', name: '≤' }, { predicate: 'gte', name: '≥' }, ], showSearch: false, - }, { + }, + { field: 'salary', columnKey: 'salary', title: 'Salary', type: 'numeric', predicates: defaultPredicates.numeric, - }, { + }, + { field: 'hireDate', columnKey: 'hireDate', title: 'Hire Date', type: 'datePicker', - }, { + }, + { field: 'birthDate', columnKey: 'birthDate', title: 'Birth Date', diff --git a/app/src/docs/_examples/mainMenu/Basic.example.tsx b/app/src/docs/_examples/mainMenu/Basic.example.tsx index ec199737e1..0dadd769ad 100644 --- a/app/src/docs/_examples/mainMenu/Basic.example.tsx +++ b/app/src/docs/_examples/mainMenu/Basic.example.tsx @@ -49,7 +49,7 @@ export default function MainMenuBasicExample() { ( - + ) } renderBody={ (props) => ( @@ -76,9 +76,9 @@ export default function MainMenuBasicExample() { { id: 'trainingCatalog', priority: 3, render: (p) => }, { id: 'requests', priority: 3, render: (p) => }, { id: 'flexSpacer', priority: 100, render: (p) => }, - { id: 'help', priority: 1, render: (p) => }, + { id: 'help', priority: 1, render: (p) => }, { id: 'avatar', priority: 2, render: renderAvatar }, - { id: 'globalMenu', priority: 100, render: (p) => }, + { id: 'globalMenu', priority: 100, render: (p) => }, ]; }; diff --git a/app/src/docs/_examples/mainMenu/Responsive.example.tsx b/app/src/docs/_examples/mainMenu/Responsive.example.tsx index d86e30066a..adf2ca43f3 100644 --- a/app/src/docs/_examples/mainMenu/Responsive.example.tsx +++ b/app/src/docs/_examples/mainMenu/Responsive.example.tsx @@ -37,7 +37,7 @@ export default function MainMenuResponsiveExample() { ( - + ) } renderBody={ (props) => ( @@ -118,10 +118,10 @@ export default function MainMenuResponsiveExample() { ), }, { id: 'flexSpacer', priority: 100, render: (p) => }, - { id: 'pinIcon', priority: 8, render: (p) => {} } /> }, - { id: 'helpIcon', priority: 8, render: (p) => {} } /> }, + { id: 'pinIcon', priority: 8, render: (p) => {} } /> }, + { id: 'helpIcon', priority: 8, render: (p) => {} } /> }, { id: 'avatar', priority: 9, render: renderAvatar }, - { id: 'globalMenu', priority: 100, render: (p) => }, + { id: 'globalMenu', priority: 100, render: (p) => }, ]; }; diff --git a/app/src/docs/_examples/richTextEditor/WithInnerScroll.example.tsx b/app/src/docs/_examples/richTextEditor/WithInnerScroll.example.tsx index 518b7348e4..0504a87709 100644 --- a/app/src/docs/_examples/richTextEditor/WithInnerScroll.example.tsx +++ b/app/src/docs/_examples/richTextEditor/WithInnerScroll.example.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { FileUploadResponse, useUuiContext } from '@epam/uui-core'; -import { ErrorNotification, Panel } from '@epam/promo'; +import { ErrorNotification, FlexRow } from '@epam/promo'; import { SlateEditor, defaultPlugins, imagePlugin, videoPlugin, attachmentPlugin, toDoListPlugin, baseMarksPlugin, linkPlugin, iframePlugin, notePlugin, separatorPlugin, uploadFilePlugin, tablePlugin, quotePlugin, colorPlugin, superscriptPlugin, headerPlugin, listPlugin, placeholderPlugin, EditorValue, codeBlockPlugin, @@ -56,7 +56,7 @@ export default function WithInnerScrollExample() { ]; return ( - + - + ); } diff --git a/app/src/docs/_examples/tooltip/Basic.example.tsx b/app/src/docs/_examples/tooltip/Basic.example.tsx deleted file mode 100644 index aabc82db60..0000000000 --- a/app/src/docs/_examples/tooltip/Basic.example.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react'; -import { Button, FlexRow, Tooltip } from '@epam/uui'; - -export default function BasicTooltipExample() { - return ( - - -