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 13.03.2024 #1112

Merged
merged 62 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
41c738d
ci: check exist "sdds-serv-docs" dir [no ci]
Yakutoc Mar 2, 2024
c78761e
chore: update version for "@auto-it" patches
Yakutoc Feb 26, 2024
09c34c7
ci(doc-deploy): add "Deploy documentation and storybook artefacts to …
Yakutoc Feb 29, 2024
f3f6845
feat(sdds-serv): add Button Group & Dropdown
TitanKuzmich Mar 4, 2024
7571fcd
docs: regenrate api reports
TitanKuzmich Mar 5, 2024
9c5cced
feat(caldera/-online): fix DropdownItem export
TitanKuzmich Mar 4, 2024
97dc95a
Update versions
Salute-Eva Mar 5, 2024
5ed70ef
Update package-lock.json files
Salute-Eva Mar 5, 2024
7f85f2a
fix(new-hope): tooltip classname fix
iljs Mar 3, 2024
3817242
Update versions
Salute-Eva Mar 5, 2024
bbf2c14
Update package-lock.json files
Salute-Eva Mar 5, 2024
5a481c7
fix(plasma-tokens-*): Add `new` directory for for new tokens
neretin-trike Mar 5, 2024
a301217
Update versions
Salute-Eva Mar 5, 2024
a4ae498
Update package-lock.json files
Salute-Eva Mar 5, 2024
8cb1ccf
chore(sdds-serve-docs): init package
Yakutoc Feb 20, 2024
4bbdd93
chore(sdds-serve-docs): add package documentations
Yakutoc Feb 20, 2024
5a26679
docs(sdds-serv-docs): add dropdown docs & update Drawer/ButtonGroup
TitanKuzmich Mar 4, 2024
0638aea
chore(sdds-serv-docs): Update versions
Yakutoc Mar 6, 2024
02a0296
feat(new-hope): edit calendar range logic and fix name
iljs Mar 3, 2024
a2aeca4
Update versions
Salute-Eva Mar 6, 2024
bac7ccb
chore: update package-locks [no ci]
Yakutoc Mar 6, 2024
6789781
chore(storybook): bump storybook to "@latest"
Yakutoc Mar 6, 2024
63657a5
ci: enable build sdds-serv docs
Yakutoc Mar 6, 2024
6e05aad
ci: refactoring deploy to `/dev` dir [no ci]
Yakutoc Mar 6, 2024
f2cc1e9
fix(ui): fix pickers documentation bug with overflow
iljs Mar 4, 2024
d9225a8
Update versions
Salute-Eva Mar 7, 2024
2aa3860
Update package-lock.json files
Salute-Eva Mar 7, 2024
d836fac
feat(plasma-new-hope): TextField's label tag got a display:block
shuga2704 Mar 1, 2024
b4a8c5f
feat(plasma-new-hope): Update note in TextField
shuga2704 Mar 5, 2024
b9200a0
Update versions
Salute-Eva Mar 7, 2024
614f36b
Update package-lock.json files
Salute-Eva Mar 7, 2024
0f15cc7
chore: remove sdds-srvc dir
TitanKuzmich Mar 12, 2024
ce222a0
feat(plasma-icons): Add svg icons A, B, C
kayman233 Mar 5, 2024
73fb350
feat(plasma-icons): Fix svg icons A, B, C
kayman233 Mar 5, 2024
537884b
feat(plasma-icons): Add svg icons D-K
kayman233 Mar 5, 2024
5e90d62
feat(plasma-icons): Add svg icons L-Q
kayman233 Mar 5, 2024
f71e24f
feat(plasma-icons): Add svg icons R, S
kayman233 Mar 5, 2024
57f9596
feat(plasma-icons): Add svg icons T, V, W
kayman233 Mar 5, 2024
2b08188
Update versions
Salute-Eva Mar 12, 2024
3f0452a
Update package-lock.json files
Salute-Eva Mar 12, 2024
eaa8c07
feat(plasma-icons): remove react components from scalable
kayman233 Mar 6, 2024
ddaf9e3
feat(plasma-icons): move old icons to own directory
kayman233 Mar 6, 2024
ce00372
feat(plasma-icons): build-time generate Icon components
kayman233 Mar 6, 2024
f56c021
Update versions
Salute-Eva Mar 12, 2024
b16d6da
Update package-lock.json files
Salute-Eva Mar 12, 2024
733fa9c
feat: remove scale tokens from bButton & ButtonGroup
TitanKuzmich Mar 12, 2024
f76400e
Update versions
Salute-Eva Mar 12, 2024
7ec8e28
chore: bump manual package-locks
TitanKuzmich Mar 12, 2024
cacc953
feat(plasma-new-hope): add Grid component
TitanKuzmich Mar 9, 2024
85e3fc0
feat(plasma-web/b2c): add to css build components by exact match
TitanKuzmich Mar 11, 2024
56664fc
feat(plasma-web/b2c): add Grid from new-hope & update tests
TitanKuzmich Mar 10, 2024
0a221d6
feat(plasma-hope): remove Grid
TitanKuzmich Mar 11, 2024
ba3209b
docs(plasma-web-docs): update Grid docs
TitanKuzmich Mar 11, 2024
4f406ca
docs(sdds-serv-docs): add Grid docs
TitanKuzmich Mar 11, 2024
3727e4d
docs: regenerate api reports
TitanKuzmich Mar 11, 2024
b675895
feat(sdds-serv): add grid component
TitanKuzmich Mar 11, 2024
1e88d78
Update versions
Salute-Eva Mar 13, 2024
847fbce
Update package-lock.json files
Salute-Eva Mar 13, 2024
b648023
feat(plasma-web, b2c, new-hope): Added ButtonBase
shuga2704 Feb 29, 2024
30b8f10
Update versions
Salute-Eva Mar 13, 2024
6d0b461
Update package-lock.json files
Salute-Eva Mar 13, 2024
00b472c
Merge remote-tracking branch 'origin/dev' into release_2024-03-13
Yakutoc Mar 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
97 changes: 97 additions & 0 deletions .github/workflows/documentation-deploy-dev-subdir.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Deploy documentation and storybook artefacts to "/dev"

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
env:
PREFIX: 'dev'
steps:
- uses: actions/checkout@v4
with:
show-progress: false

- name: Prepare environment
uses: ./.github/actions/prepare-environment

- name: Lerna bootstrap
run: npx lerna bootstrap

- name: Prepare directories
run: |
mkdir -p s3_build

- name: Plasma Website
run: |
npm run build --prefix="./website/plasma-website"
cp -R ./website/plasma-website/build/. ./s3_build

- name: Plasma UI Docs
run: |
npm run build --prefix="./website/plasma-ui-docs"
cp -R ./website/plasma-ui-docs/build ./s3_build/ui

- name: Plasma Web Docs
run: |
npm run build --prefix="./website/plasma-web-docs"
cp -R ./website/plasma-web-docs/build ./s3_build/web

- name: Plasma SDDS SERV Docs
run: |
npm run build --prefix="./website/sdds-serv-docs"
cp -R ./website/sdds-serv-docs/build ./s3_build/sdds-serv

- name: Plasma UI Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-ui"
cp -R ./packages/plasma-ui/build-sb ./s3_build/ui-storybook

- name: Plasma Web Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-web"
cp -R ./packages/plasma-web/build-sb ./s3_build/web-storybook

- name: Plasma B2C Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-b2c"
cp -R ./packages/plasma-b2c/build-sb ./s3_build/b2c-storybook

- name: Plasma "ASDK" Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-asdk"
cp -R ./packages/plasma-asdk/build-sb ./s3_build/asdk-storybook

- name: Plasma "New-hope" Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-new-hope"
cp -R ./packages/plasma-new-hope/build-sb ./s3_build/new-hope-storybook

- name: Plasma "Caldera-online" Storybook
run: |
npm run storybook:build --prefix="./packages/caldera-online"
cp -R ./packages/caldera-online/build-sb ./s3_build/caldera-online-storybook

- name: Plasma "SDDS SERV" Storybook
run: |
npm run storybook:build --prefix="./packages/sdds-serv"
cp -R ./packages/sdds-serv/build-sb ./s3_build/sdds-serv-storybook

- name: Install s3cmd
run: pip3 install s3cmd

- name: Upload to S3 documentation artefacts
run: >
s3cmd
--access_key ${{ secrets.AWS_ACCESS_KEY_ID }}
--secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
--host ${{ secrets.AWS_ENDPOINT }}
--host-bucket ${{ secrets.AWS_ENDPOINT }}
--bucket-location ${{ secrets.AWS_REGION }}
--signature-v2
--delete-removed
--no-mime-magic
sync
./s3_build/
s3://${{ secrets.AWS_S3_BUCKET_2 }}/dev/
5 changes: 5 additions & 0 deletions .github/workflows/documentation-deploy-stage-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
npm run build --prefix="./website/plasma-web-docs"
cp -R ./website/plasma-web-docs/build ./s3_build/next-${{ github.sha }}/web

- name: Plasma SDDS SERV Docs
run: |
npm run build --prefix="./website/sdds-serv-docs"
cp -R ./website/sdds-serv-docs/build ./s3_build/next-${{ github.sha }}/sdds-serv

- name: Plasma UI Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-ui"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/documentation-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jobs:
npm run build --prefix="./website/plasma-web-docs"
cp -R ./website/plasma-web-docs/build ./s3_build/next-${{ github.sha }}/web


- name: Plasma SDDS-SERV Docs
run: |
npm run build --prefix="./website/sdds-serv-docs"
cp -R ./website/sdds-serv-docs/build ./s3_build/next-${{ github.sha }}/sdds-serv

- name: Plasma UI Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-ui"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/documentation-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,14 @@ jobs:
enumeration.push('plasma-website');
}

if(enumeration.includes('plasma-website') && !enumeration.includes('plasma-b2c')) {
if (enumeration.includes('plasma-website') && !enumeration.includes('plasma-b2c')) {
enumeration.push('plasma-b2c');
}

if (enumeration.includes('plasma-ui-docs')) {
enumeration.push('plasma-web');
}

if(!enumeration.includes('plasma-typo')) {
enumeration.push('plasma-typo');
}

if (!enumeration.includes('plasma-typo')) {
enumeration.push('plasma-typo');
}
Expand All @@ -123,17 +119,21 @@ jobs:
- name: Plasma UI Docs
if: ${{ needs.scope.outputs.HAS_PLASMA_UI_DOCS == 'true' && needs.scope.outputs.HAS_PLASMA_UI == 'true' }}
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm run build --prefix="./website/plasma-ui-docs"
cp -R ./website/plasma-ui-docs/build ./s3_build/${PR_NAME}/ui

- name: Plasma Web Docs
if: ${{ needs.scope.outputs.HAS_PLASMA_WEB_DOCS == 'true' }}
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm run build --prefix="./website/plasma-web-docs"
cp -R ./website/plasma-web-docs/build ./s3_build/${PR_NAME}/web

- name: Plasma SDDS-SERV Docs
if: ${{ needs.scope.outputs.HAS_SDDS_SERV == 'true' }}
run: |
npm run build --prefix="./website/sdds-serv-docs"
cp -R ./website/sdds-serv-docs/build ./s3_build/${PR_NAME}/sdds-serv

- name: Plasma UI Storybook
if: ${{ needs.scope.outputs.HAS_PLASMA_UI == 'true' }}
run: |
Expand Down
Binary file not shown.
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.
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.
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.
25 changes: 25 additions & 0 deletions packages/caldera-online/api/caldera-online.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ 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';
Expand Down Expand Up @@ -49,6 +50,7 @@ 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 @@ -61,7 +63,10 @@ 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 @@ -85,6 +90,7 @@ 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 @@ -214,6 +220,25 @@ 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 }

export { DropdownProps }
Expand Down
Loading
Loading