Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release by 15.05.2024 #1205

Merged
merged 41 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0d41a66
chore(deps): update dependency @rollup/plugin-babel to v6.0.4
renovate[bot] Apr 18, 2024
078f927
fix(icons): Fix dislike and like
iljs May 3, 2024
1a2ab4b
Update versions
Salute-Eva May 3, 2024
154852c
Update package-lock.json files
Salute-Eva May 3, 2024
c0b8751
fix(plasma-*): fix ref target for TextField
Yakutoc Apr 25, 2024
35ce292
fix(plasma-*): update api report
Yakutoc Apr 25, 2024
e34ac1c
Update versions
Salute-Eva May 6, 2024
bed1fc6
Update package-lock.json files
Salute-Eva May 6, 2024
d3055f4
feat(plasma-new-hope, web, b2c): Dropdown refactoring
TitanKuzmich Apr 16, 2024
04c5ea1
feat(plasma-new-hope): Tree view temporary check
shuga2704 May 6, 2024
932b15a
feat(plasma-new-hope): fixes
shuga2704 May 6, 2024
3e1128e
feat(plasma-b2c, web): tests fixes
shuga2704 May 6, 2024
c220e84
feat(plasma-new-hope): Backward compatibility
shuga2704 May 7, 2024
e833a2c
feat(plasma-new-hope): keyboard navi refactoring
shuga2704 May 7, 2024
a513cde
feat(plasma-new-hope): fixes
shuga2704 May 7, 2024
6321e79
feat(plasma-docs): fix
shuga2704 May 8, 2024
68f84c2
Update versions
Salute-Eva May 10, 2024
61e1b4c
Update package-lock.json files
Salute-Eva May 10, 2024
9358ede
feat(plasma-new-hope): Add to web
iljs Apr 23, 2024
54ed13b
feat(plasma-new-hope): Add to b2c
iljs Apr 23, 2024
6bddd7e
feat(plasma-new-hope): Add docs
iljs Apr 24, 2024
ede70c5
feat(new-hope): fix
iljs May 8, 2024
b142856
Update versions
Salute-Eva May 12, 2024
24e3dbb
Update package-lock.json files
Salute-Eva May 12, 2024
4774591
test: add perftest visual report in job artifacts
akhdrv Apr 3, 2024
88a41e0
feat(plasma-new-hope): refactor Checkbox & Radiobox file structure & …
TitanKuzmich Apr 11, 2024
c08fb5f
feat(plasma-web/b2c): refactor Checkbox & Radiobox configs
TitanKuzmich Apr 11, 2024
70facd7
feat(plasma-web/core): update Radiobox & Checkbox tests
TitanKuzmich Apr 11, 2024
4196859
test(plasma-web/b2c): update snapshots for Checkbox & Radiobox
TitanKuzmich Apr 11, 2024
4cbecd4
docs: regenerate api reports
TitanKuzmich Apr 11, 2024
caf6c23
feat(plasma-asdk,caldera-online,sdds-serv): refactor Checkbox & Radio…
TitanKuzmich Apr 11, 2024
4a1fc4e
Update versions
Salute-Eva May 13, 2024
68b4163
Update package-lock.json files
Salute-Eva May 13, 2024
576a48d
chore(sdds-docs): changed a way to connect tokens/themes
Yakutoc Apr 26, 2024
890bacc
chore(sdds-docs): fix docs
Yakutoc Apr 26, 2024
f2adc91
fix(sdds-serv): export Pagination
Yakutoc Apr 26, 2024
81c3316
docs(sdds-serv): fix Dropdown docs
TitanKuzmich May 13, 2024
b00d2b3
feat(sdds-serv): add Popover component
TitanKuzmich May 13, 2024
df77652
fix(sdds-serv): update api report
Yakutoc May 14, 2024
79cd8be
Update versions
Salute-Eva May 15, 2024
343c52c
Update package-lock.json files
Salute-Eva May 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/performance-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,16 @@ jobs:
./current/.perftool/cache/

- name: Run performance test
run: |
cd current
npx perftool --baselineRefDir ../baseline -o perftest/pr-result.json --baselineOutputPath perftest/base-result.json --compareOutputPath perftest/comparison.json --baseBranchRef ${{ github.event.pull_request.base.sha }} --currentBranchRef ${{ github.event.pull_request.head.sha }}
run: >
cd current &&
npx perftool
--baselineRefDir ../baseline
-o perftest/pr-result.json
--baselineOutputPath perftest/base-result.json
--compareOutputPath perftest/comparison.json
--visualReportPath perftest/report.html
--baseBranchRef ${{ github.event.pull_request.base.sha }}
--currentBranchRef ${{ github.event.pull_request.head.sha }}

- name: Save perftool cache
run: >
Expand All @@ -149,7 +156,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: Component performance comparison result
path: ${{ github.workspace }}/current/perftest/*.json
path: ${{ github.workspace }}/current/perftest/*

- name: Write report comment
if: always()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
1 change: 1 addition & 0 deletions cypress/support/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './commands';
import '@cypress/code-coverage/support';
import 'cypress-real-events';
// по какой-то причине axe подключается только через require
// иначе не поднимается dev-server webpack'а
require('cypress-axe');
Expand Down
9 changes: 8 additions & 1 deletion cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
"compilerOptions": {
"target": "es5",
"lib": ["esnext", "dom"],
"types": ["cypress", "@testing-library/cypress", "@types/cypress-image-snapshot", "node", "cypress-axe"],
"types": [
"cypress",
"@testing-library/cypress",
"@types/cypress-image-snapshot",
"node",
"cypress-axe",
"cypress-real-events"
],
"typeRoots": ["./@types"],
"resolveJsonModule": true
},
Expand Down
2,913 changes: 1,507 additions & 1,406 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@
"@cypress/webpack-preprocessor": "5.9.1",
"@salutejs/eslint-config": "1.2.0",
"@salutejs/eslint-config-base": "0.4.0",
"@salutejs/perftool": "0.26.1",
"@salutejs/perftool": "0.28.0",
"@salutejs/prettier-config": "0.3.0",
"@testing-library/cypress": "7.0.7",
"@types/cypress-image-snapshot": "3.1.6",
"@types/lodash": "4.14.191",
"@types/mocha": "9.0.0",
"@types/node": "16.11.6",
"@types/react-native": "0.69.6",
Expand Down Expand Up @@ -132,6 +133,7 @@
"webpack-dev-server": "3.11.2"
},
"dependencies": {
"cypress-real-events": "1.12.0",
"babel-plugin-annotate-pure-calls": "0.4.0",
"patch-package": "8.0.0"
},
Expand Down
37 changes: 2 additions & 35 deletions packages/caldera-online/api/caldera-online.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@ import { bodyXXSBold } from '@salutejs/caldera-online-themes/tokens';
import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
import { ButtonHTMLAttributes } from 'react';
import { ButtonProps as ButtonProps_2 } from '@salutejs/plasma-new-hope/styled-components';
import { ComponentClass } from 'react';
import { CustomDropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
import { CustomToastProps } from '@salutejs/plasma-new-hope/types/components/Toast/Toast.types';
import { DropdownPlacement } from '@salutejs/plasma-new-hope/styled-components';
import { DropdownProps } from '@salutejs/plasma-new-hope/styled-components';
import { DropdownTrigger } from '@salutejs/plasma-new-hope/styled-components';
import { dsplL } from '@salutejs/caldera-online-themes/tokens';
import { dsplLBold } from '@salutejs/caldera-online-themes/tokens';
import { dsplM } from '@salutejs/caldera-online-themes/tokens';
Expand All @@ -50,7 +46,6 @@ import { h5 } from '@salutejs/caldera-online-themes/tokens';
import { h5Bold } from '@salutejs/caldera-online-themes/tokens';
import { HTMLAttributes } from 'react';
import type { InputHTMLAttributes } from 'react';
import { JSXElementConstructor } from 'react';
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
Expand All @@ -63,10 +58,7 @@ import { PopupProps } from '@salutejs/plasma-new-hope/styled-components';
import { PopupProvider } from '@salutejs/plasma-new-hope/styled-components';
import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
import { ReactElement } from 'react';
import { ReactFragment } from 'react';
import { ReactNode } from 'react';
import { ReactPortal } from 'react';
import { RefAttributes } from 'react';
import { SegmentGroupProps } from '@salutejs/plasma-new-hope/styled-components';
import { SegmentItemProps } from '@salutejs/plasma-new-hope/styled-components';
Expand All @@ -90,7 +82,6 @@ import { ToastRole } from '@salutejs/plasma-new-hope/styled-components';
import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
import { useToast } from '@salutejs/plasma-new-hope/styled-components';
import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';

export { addFocus }

Expand Down Expand Up @@ -211,7 +202,7 @@ export const Checkbox: FunctionComponent<BaseboxProps>;
// @public (undocumented)
export type CheckboxProps = typeof CheckboxComponent;

// @public
// @public (undocumented)
export const Dropdown: FunctionComponent<PropsType< {
size: {
xs: string;
Expand All @@ -221,35 +212,11 @@ l: string;
};
view: {
default: string;
primary: string;
};
}> & HTMLAttributes<HTMLDivElement> & CustomDropdownProps & RefAttributes<HTMLDivElement>>;

// @public
export const DropdownItem: FunctionComponent<PropsType<Variants> & Omit<HTMLAttributes<HTMLDivElement>, "onSelect"> & {
id?: string | undefined;
disabled?: boolean | undefined;
label?: ReactNode;
role?: string | undefined;
contentLeft?: string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | FunctionComponent<any> | ReactFragment | ReactPortal | ComponentClass<any, any> | null | undefined;
contentRight?: string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | FunctionComponent<any> | ReactFragment | ReactPortal | ComponentClass<any, any> | null | undefined;
name?: string | undefined;
checked?: boolean | undefined;
text?: string | undefined;
value?: string | number | boolean | undefined;
isSelected?: boolean | undefined;
onClick?: ((event: MouseEvent_2<HTMLDivElement, MouseEvent>) => void) | undefined;
onSelect?: ((value?: any, text?: any) => void) | undefined;
size?: string | undefined;
view?: string | undefined;
} & RefAttributes<HTMLDivElement>>;

export { DropdownPlacement }
}> & DropdownProps & RefAttributes<HTMLDivElement>>;

export { DropdownProps }

export { DropdownTrigger }

// @public (undocumented)
export const DsplL: FunctionComponent<PropsType< {
size: {
Expand Down
18 changes: 9 additions & 9 deletions packages/caldera-online/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/caldera-online/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salutejs/caldera-online",
"version": "0.37.0",
"version": "0.40.0-dev.0",
"description": "Salute Design System / React UI kit for Caldera-online web applications",
"author": "Salute Frontend Team <[email protected]>",
"license": "MIT",
Expand All @@ -20,7 +20,7 @@
},
"dependencies": {
"@salutejs/caldera-online-themes": "0.11.0",
"@salutejs/plasma-new-hope": "0.77.0"
"@salutejs/plasma-new-hope": "0.80.0-dev.0"
},
"peerDependencies": {
"react": ">=16.13.1",
Expand Down Expand Up @@ -95,4 +95,4 @@
"Fanil Zubairov"
],
"sideEffects": false
}
}
Loading
Loading