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 21.08.2024 #1382

Merged
merged 81 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
96067f8
feat(plasma-new-hope): portal prop added to Autocomplete
denivladislav Aug 7, 2024
1d2d2e9
docs(plasma-{new-hope, web}, sdds-{cs, dfa, serv): docs updated
denivladislav Aug 7, 2024
6f37f67
feat(plasma-{b2c, web}): portal prop test added
denivladislav Aug 7, 2024
a16d993
Update versions
Salute-Eva Aug 9, 2024
9e69e60
Update package-lock.json files
Salute-Eva Aug 9, 2024
9895625
test(plasma-b2c): update tests and snapshots for Button and Range
IgorYar Aug 6, 2024
496523c
fix(plasma-{new-hope, b2c, web): Tabs --plasma-tokens changed
denivladislav Aug 13, 2024
580d0c6
fix(plasma-{new-hope, b2c, web): Dropdown --plasma-tokens changed
denivladislav Aug 13, 2024
41aaebb
fix(plasma-{new-hope, b2c, web}): Popover --plasma-colors tokens changed
denivladislav Aug 13, 2024
a3f34cd
fix(plasma-{b2c, web}): Switch --plasma-colors tokens changed
denivladislav Aug 13, 2024
0cc5fc1
fix(plasma-{new-hope, b2c, web}): TextField --plasma-colors tokens ch…
denivladislav Aug 13, 2024
07f428c
fix(plasma-{b2c, web}): snapshots updated
denivladislav Aug 13, 2024
4c1daad
Update versions
Salute-Eva Aug 14, 2024
87a2a39
Update package-lock.json files
Salute-Eva Aug 14, 2024
32dfa2a
chore(plasma-tokens-native): Remove `plasma-tokens-native`
neretin-trike Jul 16, 2024
b5ccdff
chore: Remove configs for `upload-assets`
neretin-trike Jul 16, 2024
1921324
chore: Update infrastructure for `upload-assets`
neretin-trike Jul 16, 2024
7c69dcf
fix: Remove build "@auto-it" plugins from publish-common [no ci]
neretin-trike Aug 16, 2024
3f0634b
feat(plasma-web,plasma-b2c): Add `@salutejs/plasma-themes` deps to pa…
neretin-trike Aug 13, 2024
68013c8
feat(core-themes): Add methods for fallback tokens generate
neretin-trike Aug 13, 2024
6ade372
feat(plasma-themes): Update theme
neretin-trike Aug 13, 2024
371bfec
feat(*-themes): Add brightness tokens to all themes
neretin-trike Aug 16, 2024
c88b093
Update versions
Salute-Eva Aug 16, 2024
c634d73
Update package-lock.json files
Salute-Eva Aug 16, 2024
bb4f1cd
refactor(*-docs): Update introducing docs
neretin-trike Aug 13, 2024
8797c89
fix(plasma-new-hope): Tabs and TabItem types and PropsTable fixed
denivladislav Aug 16, 2024
9ae53c2
fix(sdds-*): type casting removed
denivladislav Aug 16, 2024
90d552e
feat(plasma-{b2c, web}, sdds-*): TabsController description fixed
denivladislav Aug 16, 2024
83f6804
docs(plasma-{new-hope, b2c, web}, sdds-*): docs updated; missing exam…
denivladislav Aug 16, 2024
60b3143
docs(plasma-{b2c, web}, sdds-*): api reports regenerated
denivladislav Aug 16, 2024
a35598e
Update versions
Salute-Eva Aug 19, 2024
798f9ee
Update package-lock.json files
Salute-Eva Aug 19, 2024
921d23a
feat: Deprecate isOpen/isVisible public props, change to opened
vadim-kudr Aug 7, 2024
9de279e
Update versions
Salute-Eva Aug 19, 2024
8ae8196
Update package-lock.json files
Salute-Eva Aug 19, 2024
6cba1e5
feat(plasma-tokens): Update theme sdds_cs
simashova Aug 12, 2024
ac49797
Update versions
Salute-Eva Aug 19, 2024
18448f6
Update package-lock.json files
Salute-Eva Aug 19, 2024
182fe83
feat(plasma-tokens): Add theme sdds_serv
simashova Aug 19, 2024
111fa67
Update versions
Salute-Eva Aug 19, 2024
df6b930
Update package-lock.json files
Salute-Eva Aug 19, 2024
9728b1b
feat(plasma-tokens): Add theme sdds_dfa
neretin-trike Aug 19, 2024
bb8e4ea
Update versions
Salute-Eva Aug 19, 2024
a74a6c3
Update package-lock.json files
Salute-Eva Aug 19, 2024
9aa3143
fix(new-hope): remove label bug
iljs Aug 13, 2024
5cf6b93
Update versions
Salute-Eva Aug 19, 2024
fa50ed2
Update package-lock.json files
Salute-Eva Aug 19, 2024
2e5d95f
fix(b2c): add to default story in radiobox
iljs Aug 13, 2024
d913c2f
fix(new-hope): remove label bug
iljs Aug 13, 2024
10665bd
Update versions
Salute-Eva Aug 19, 2024
bb44229
Update package-lock.json files
Salute-Eva Aug 19, 2024
35ebc59
feat(plasma-icons): add new icons Table [16x16]
Yakutoc Aug 15, 2024
eababdf
feat(plasma-icons): add new icons Table [24x24]
Yakutoc Aug 15, 2024
107ef0c
feat(plasma-icons): add new icons Table [36x36]
Yakutoc Aug 15, 2024
b285bc4
Update versions
Salute-Eva Aug 20, 2024
ada9bfe
Update package-lock.json files
Salute-Eva Aug 20, 2024
ac2c1fd
feat(web, b2c): Select and SelectNew are merged. SelectNew is gone.
shuga2704 Aug 9, 2024
f8a5870
Update versions
Salute-Eva Aug 20, 2024
7d5f481
Update package-lock.json files
Salute-Eva Aug 20, 2024
265f380
feat(plasma-tokens): Add theme plasma_b2c
luizasok Aug 19, 2024
c2e1216
Update versions
Salute-Eva Aug 20, 2024
68d27fb
Update package-lock.json files
Salute-Eva Aug 20, 2024
db06972
feat(plasma-tokens): Add theme plasma_web
luizasok Aug 20, 2024
2a21111
Update versions
Salute-Eva Aug 20, 2024
2c02c9d
Update package-lock.json files
Salute-Eva Aug 20, 2024
9aa8887
fix: Fix Modal overflow-y side effect
vadim-kudr Jul 29, 2024
dddb5f1
Update versions
Salute-Eva Aug 20, 2024
57f3758
Update package-lock.json files
Salute-Eva Aug 20, 2024
57fcd7d
feat(plasma-icons): add new icons DoubleDisclosure_{Down,Up} [16x16]
Yakutoc Aug 20, 2024
c005a02
feat(plasma-icons): add new icons DoubleDisclosure_{Down,Up} [24x24]
Yakutoc Aug 20, 2024
3eeb597
feat(plasma-icons): add new icons DoubleDisclosure_{Down,Up} [36x36]
Yakutoc Aug 20, 2024
36e0170
Update versions
Salute-Eva Aug 21, 2024
b739f18
Update package-lock.json files
Salute-Eva Aug 21, 2024
79a32ac
fix(plasma-website): fix searchForm input shifting when typing
denivladislav Aug 20, 2024
c1056bd
Update versions
Salute-Eva Aug 21, 2024
699a02f
fix: Fix Modal overflow-y side effect
Aug 21, 2024
814cf8b
Update versions
Salute-Eva Aug 21, 2024
ce19ae5
Update package-lock.json files
Salute-Eva Aug 21, 2024
00c0a96
fix(plasma-tokens): Update tokens for plasma themes
neretin-trike Aug 21, 2024
01498dc
Update versions
Salute-Eva Aug 21, 2024
a13fd22
Update package-lock.json files
Salute-Eva Aug 21, 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
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ utils/plasma-sb-utils/src/helpers/flattenPalette.ts
utils/plasma-tokens-utils/*
!utils/plasma-tokens-utils/src

utils/plasma-tokens-native/data

scaffold
!scaffold/template-docs
!scaffold/template-component
6 changes: 0 additions & 6 deletions .github/processing-scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ module.exports = () => {
HAS_PACKAGES_CYPRESS_RUN: false,
HAS_PACKAGES_DS_CHANGES: false,
HAS_DEPLOY_WEBSITE: false,
HAS_ASSETS: false,
};
}

Expand Down Expand Up @@ -79,17 +78,12 @@ module.exports = () => {

const HAS_DEPLOY_WEBSITE = HAS_PACKAGES_DS_CHANGES || PROCESSED_DATA.includes('plasma-website');

// INFO: HAS_ASSETS - это флаг для управления логикой "@auto-it" плагина upload-assets-extend
// INFO: Изменения в plasma-tokens или plasma-tokens-utils так же повлияют на то что в packagesList окажется plasma-tokens-native
const HAS_ASSETS = PROCESSED_DATA.includes('plasma-tokens-native');

return {
RAW_DATA: JSON.stringify(rawData),
PACKAGES_DOCUMENTATIONS_RUN: JSON.stringify(PACKAGES_DOCUMENTATIONS_RUN),
PACKAGES_CYPRESS_RUN: JSON.stringify(PACKAGES_CYPRESS_RUN),
PROCESSED_DATA: JSON.stringify(PROCESSED_DATA),
HAS_PACKAGES_CYPRESS_RUN: Boolean(PACKAGES_CYPRESS_RUN.length),
HAS_ASSETS,
HAS_DEPLOY_WEBSITE,
HAS_PACKAGES_DS_CHANGES,
};
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: ./.github/actions/prepare-environment

- name: Set default scope
run: echo "SCOPE={b2c,web,core,hope,new-hope,icons,typo,tokens,tokens-b2c,tokens-utils,tokens-native,cy-utils,ui}" >> $GITHUB_ENV
run: echo "SCOPE={b2c,web,core,hope,new-hope,icons,typo,tokens,tokens-b2c,tokens-utils,cy-utils,ui}" >> $GITHUB_ENV

- name: Install React 17
if: ${{ inputs.with-react-17 }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
uses: ./.github/workflows/publish-common.yml
with:
ref: refs/pull/${{github.event.pull_request.number}}/merge
upload_assets: ${{ fromJSON(needs.state.outputs.STATE).HAS_ASSETS }}
auto-options: '--no-changelog'
secrets:
gh_token: ${{ secrets.GH_TOKEN }}
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/publish-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ on:
type: string
description: "Manual set repo ref"
default: ''
upload_assets:
type: boolean
default: false
auto-options:
type: string
description: "@auto-it cli arguments for example --no-changelog"
Expand Down Expand Up @@ -58,14 +55,11 @@ jobs:
- name: API Report
run: npm run api:report

- name: Build "@auto-it" plugins
run: npm run auto-plugins:build

- name: Release Info
run: npm whoami && npx lerna info && npx auto info || echo 'auto info returned 1'

- name: Create Release
run: upload_assets="${{ inputs.upload_assets }}" upload_assets_targets=${{ toJSON(vars.UPLOAD_ASSETS_TARGETS) }} npm run release -- ${{ inputs.auto-options }}
run: npm run release -- ${{ inputs.auto-options }}

- name: Update package-lock files
if: ${{ inputs.with-update-package-lock }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
uses: ./.github/workflows/publish-common.yml
with:
with-update-package-lock: true
upload_assets: true
secrets:
gh_token: ${{ secrets.GH_TOKEN }}
npm_registry_token: ${{ secrets.NPM_REGISTRY_TOKEN }}
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/publish-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
outputs:
HAS_ASSETS: ${{ steps.scope.outputs.result }}
PR: ${{ steps.pull_request.outputs.result }}
steps:
## Получаем актуальное состояние dev branch
Expand Down Expand Up @@ -64,20 +63,6 @@ jobs:
SHA: ${{ fromJSON(steps.pull_request.outputs.result).sha }}
run: |
echo "RAW_DATA=$(npx lerna la --json --since=${{ env.SHA }} | jq -c)" >> "$GITHUB_OUTPUT"

## Высчитываем условие для загрузки assets
- name: Computed scope state
id: scope
uses: actions/github-script@v6
env:
RAW_DATA: ${{ steps.lerna_ls.outputs.RAW_DATA }}
with:
script: |
const processingScope = require('./.github/processing-scope.js');

const state = processingScope();

return state.HAS_ASSETS ?? false;

publish:
name: Publish RC version
Expand All @@ -87,7 +72,6 @@ jobs:
with:
with-update-package-lock: true
commit-message: "Update package-lock.json files"
upload_assets: ${{ needs.state.outputs.HAS_ASSETS == 'true' }}
auto-options: '--no-changelog'
secrets:
gh_token: ${{ secrets.GH_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ perftest
.perftool
s3_build
temp
**/.DS_Store
163 changes: 0 additions & 163 deletions auto-plugins/README.md

This file was deleted.

1 change: 0 additions & 1 deletion auto-plugins/src/index.ts

This file was deleted.

Loading
Loading