-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
579 changed files
with
365,178 additions
and
80,457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
"plasma-ui", | ||
"plasma-new-hope", | ||
"plasma-asdk", | ||
"caldera", | ||
"caldera-online", | ||
"sdds-serv" | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
const META = require('./meta'); | ||
|
||
module.exports = () => { | ||
const { PACKAGE, PROCESSED_DATA } = process.env; | ||
|
||
// INFO: результат команды `lerna la --since` - список пакетов в которых были изменения | ||
// или они связаны в графе зависимостей lerna | ||
const processedData = JSON.parse(PROCESSED_DATA); | ||
|
||
// INFO: Список пакетов которые нужно поставить если они есть в списке processedData | ||
const packageScope = META[PACKAGE].scope || []; | ||
const packageTheme = META[PACKAGE].themes; | ||
|
||
// INFO: Список обязательных пакетов без которых не будет работать сборка | ||
// INFO: Например для корректной сборки storybook в `plasma-asdk` нужно ставить plasma-core | ||
// INFO: Это workaround - временно позволяет обойти ошибки в инфре | ||
const requiredDeps = META[PACKAGE].required || []; | ||
|
||
// INFO: Пакет с документацией, например `plasma-web-docs` или `sdds-serv-docs` | ||
const packageDocs = `${PACKAGE}-docs`; | ||
|
||
const computedScope = processedData.filter((dep) => [...packageScope, packageDocs].includes(dep)); | ||
|
||
const scope = new Set([...computedScope, ...requiredDeps, PACKAGE]); | ||
|
||
if (scope.has(packageDocs)) { | ||
scope.add('plasma-docs-ui'); | ||
} | ||
|
||
if (scope.has(packageTheme)) { | ||
scope.add('data-themes'); | ||
scope.add('plasma-typo'); | ||
} | ||
|
||
const scopeList = Array.from(scope); | ||
|
||
return scopeList.length === 1 ? `@salutejs/${scopeList[0]}` : `@salutejs/{${scopeList.join(',')}}`; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
const commonScope = ['plasma-icons', 'plasma-sb-utils', 'plasma-tokens', 'plasma-tokens-utils']; | ||
|
||
module.exports = { | ||
'caldera-online': { | ||
scope: [...commonScope, 'caldera-online-themes', 'plasma-new-hope'], | ||
themes: 'caldera-online-themes', | ||
}, | ||
'plasma-asdk': { | ||
scope: [...commonScope, 'plasma-tokens-b2b', 'plasma-typo', 'plasma-themes', 'plasma-new-hope'], | ||
required: ['plasma-core'], | ||
themes: 'plasma-themes', | ||
}, | ||
'plasma-b2c': { | ||
scope: [ | ||
...commonScope, | ||
'plasma-core', | ||
'plasma-hope', | ||
'plasma-new-hope', | ||
'plasma-tokens-b2c', | ||
'plasma-tokens-web', | ||
'plasma-typo', | ||
], | ||
required: ['plasma-new-hope'], | ||
themes: '', | ||
}, | ||
'plasma-new-hope': { | ||
scope: [...commonScope, 'plasma-core'], | ||
required: [], | ||
}, | ||
'plasma-ui': { | ||
scope: [...commonScope, 'plasma-core', 'plasma-typo'], | ||
required: ['plasma-icons'], | ||
themes: '', | ||
}, | ||
'plasma-web': { | ||
scope: [ | ||
...commonScope, | ||
'plasma-core', | ||
'plasma-hope', | ||
'plasma-new-hope', | ||
'plasma-tokens-b2c', | ||
'plasma-tokens-b2b', | ||
'plasma-tokens-web', | ||
'plasma-typo', | ||
], | ||
required: ['plasma-new-hope'], | ||
themes: '', | ||
}, | ||
'sdds-serv': { | ||
scope: [...commonScope, 'sdds-themes', 'plasma-new-hope'], | ||
required: [], | ||
themes: 'sdds-themes', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...flows/documentation-deploy-dev-subdir.yml → ...flows/documentation-deploy-stage-demo.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+16 KB
...nts/Cell/Cell.component-test.tsx/plasma-new-hope Cell Styled -- _align.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.1 KB
...ents/Cell/Cell.component-test.tsx/plasma-new-hope Cell Styled -- _size.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.13 KB
...ts/Cell/Cell.component-test.tsx/plasma-new-hope Cell Styled -- default.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.52 KB
...nts/Cell/Cell.component-test.tsx/plasma-new-hope Cell Styled -- simple.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.2 KB
...mponents/Cell/Cell.component-test.tsx/plasma-web Cell Styled -- _align.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.13 KB
...ponents/Cell/Cell.component-test.tsx/plasma-web Cell Styled -- default.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.52 KB
...mponents/Cell/Cell.component-test.tsx/plasma-web Cell Styled -- simple.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+49 Bytes
(100%)
...s/b2c/components/Chip/Chip.component-test.tsx/plasma-web Chip -- _view.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.62 KB
(93%)
...pdown.component-test.tsx/plasma-hope Dropdown -- auto placement bottom.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.05 KB
(91%)
...Dropdown.component-test.tsx/plasma-hope Dropdown -- auto placement top.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-20.5 KB
...own.component-test.tsx/plasma-hope Dropdown -- block and popup's width.snap.png
Binary file not shown.
Binary file modified
BIN
-391 Bytes
(95%)
...mponent-test.tsx/plasma-hope Dropdown -- handling dropdown menu height.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-21.3 KB
...Dropdown.component-test.tsx/plasma-hope Dropdown -- radius and padding.snap.png
Binary file not shown.
Binary file modified
BIN
-399 Bytes
(98%)
...ts/Dropdown/Dropdown.component-test.tsx/plasma-hope Dropdown -- simple.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1 Byte
(100%)
.../Editable/Editable.component-test.tsx/plasma-hope Editable -- onChange.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1004 Bytes
(96%)
...gination.component-test.tsx/plasma-new-hope Pagination Styled -- _size.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-429 Bytes
(99%)
...agination.component-test.tsx/plasma-new-hope Pagination Styled -- type.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-30.9 KB
...Field/TextField.component-test.tsx/plasma-b2c TextField -- _size empty.snap.png
Binary file not shown.
Binary file removed
BIN
-26 KB
...extField.component-test.tsx/plasma-b2c TextField -- _size with content.snap.png
Binary file not shown.
Binary file removed
BIN
-22.6 KB
...s/TextField/TextField.component-test.tsx/plasma-b2c TextField -- _size.snap.png
Binary file not shown.
Binary file removed
BIN
-18.6 KB
...ield.component-test.tsx/plasma-b2c TextField -- _view_innerLabel empty.snap.png
Binary file not shown.
Binary file removed
BIN
-19.7 KB
.../TextField.component-test.tsx/plasma-b2c TextField -- _view_innerLabel.snap.png
Binary file not shown.
Binary file added
BIN
+5.26 KB
...extField.component-test.tsx/plasma-web TextField -- _animatedHintlabel.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.64 KB
...ld.component-test.tsx/plasma-web TextField -- _animatedHintplaceholder.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.5 KB
...tField.component-test.tsx/plasma-web TextField -- _enumerationTypechip.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.12 KB
...tField/TextField.component-test.tsx/plasma-web TextField -- _maxLength.snap.png
Oops, something went wrong.
Binary file added
BIN
+12.1 KB
...s/TextField/TextField.component-test.tsx/plasma-web TextField -- _size.snap.png
Oops, something went wrong.
Binary file added
BIN
+15.3 KB
...TextField/TextField.component-test.tsx/plasma-web TextField -- _status.snap.png
Oops, something went wrong.
Binary file added
BIN
+17.7 KB
...extField.component-test.tsx/plasma-web TextField -- content with label.snap.png
Oops, something went wrong.
Binary file added
BIN
+11.2 KB
...TextField/TextField.component-test.tsx/plasma-web TextField -- content.snap.png
Oops, something went wrong.
File renamed without changes
Binary file added
BIN
+4.29 KB
...extField/TextField.component-test.tsx/plasma-web TextField -- disabled.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.35 KB
...s/TextField/TextField.component-test.tsx/plasma-web TextField -- empty.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.59 KB
...TextField/TextField.component-test.tsx/plasma-web TextField -- focused.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.51 KB
...extField/TextField.component-test.tsx/plasma-web TextField -- readOnly.snap.png
Oops, something went wrong.
Binary file added
BIN
+6.19 KB
...d.component-test.tsx/plasma-web TextField keyboard navigation -- chips.snap.png
Oops, something went wrong.
Binary file removed
BIN
-5.12 KB
...d/TextFieldBase.component-test.tsx/plasma-core TextField -- _maxLength.snap.png
Diff not rendered.
Binary file removed
BIN
-11.1 KB
...ield/TextFieldBase.component-test.tsx/plasma-core TextField -- content.snap.png
Diff not rendered.
Binary file removed
BIN
-4.28 KB
...eld/TextFieldBase.component-test.tsx/plasma-core TextField -- disabled.snap.png
Diff not rendered.
Binary file removed
BIN
-4.13 KB
...tField/TextFieldBase.component-test.tsx/plasma-core TextField -- empty.snap.png
Diff not rendered.
Binary file removed
BIN
-4.59 KB
...ield/TextFieldBase.component-test.tsx/plasma-core TextField -- focused.snap.png
Diff not rendered.
Binary file removed
BIN
-4.54 KB
...eld/TextFieldBase.component-test.tsx/plasma-core TextField -- readOnly.snap.png
Diff not rendered.
Binary file removed
BIN
-14.8 KB
...se.component-test.tsx/plasma-core TextField -- success, warning, error.snap.png
Diff not rendered.
Binary file added
BIN
+15.8 KB
...nts/Cell/Cell.component-test.tsx/plasma-new-hope Cell Styled -- _align.snap.png
Oops, something went wrong.
Binary file added
BIN
+18.7 KB
...ents/Cell/Cell.component-test.tsx/plasma-new-hope Cell Styled -- _size.snap.png
Oops, something went wrong.
Binary file added
BIN
+7.04 KB
...ts/Cell/Cell.component-test.tsx/plasma-new-hope Cell Styled -- default.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.54 KB
...nts/Cell/Cell.component-test.tsx/plasma-new-hope Cell Styled -- simple.snap.png
Oops, something went wrong.
Binary file added
BIN
+15.8 KB
...mponents/Cell/Cell.component-test.tsx/plasma-web Cell Styled -- _align.snap.png
Oops, something went wrong.
Binary file added
BIN
+7.04 KB
...ponents/Cell/Cell.component-test.tsx/plasma-web Cell Styled -- default.snap.png
Oops, something went wrong.
Binary file added
BIN
+4.54 KB
...mponents/Cell/Cell.component-test.tsx/plasma-web Cell Styled -- simple.snap.png
Oops, something went wrong.
Binary file modified
BIN
+40 Bytes
(100%)
...s/web/components/Chip/Chip.component-test.tsx/plasma-web Chip -- _view.snap.png
Oops, something went wrong.
Binary file modified
BIN
-1.03 KB
(95%)
...pdown.component-test.tsx/plasma-hope Dropdown -- auto placement bottom.snap.png
Oops, something went wrong.
Binary file modified
BIN
-568 Bytes
(97%)
...Dropdown.component-test.tsx/plasma-hope Dropdown -- auto placement top.snap.png
Oops, something went wrong.
Binary file removed
BIN
-22.7 KB
...own.component-test.tsx/plasma-hope Dropdown -- block and popup's width.snap.png
Diff not rendered.
Binary file modified
BIN
-2.31 KB
(75%)
...mponent-test.tsx/plasma-hope Dropdown -- handling dropdown menu height.snap.png
Oops, something went wrong.
Binary file removed
BIN
-24 KB
...Dropdown.component-test.tsx/plasma-hope Dropdown -- radius and padding.snap.png
Diff not rendered.
Binary file modified
BIN
-1.54 KB
(93%)
...ts/Dropdown/Dropdown.component-test.tsx/plasma-hope Dropdown -- simple.snap.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
.../Editable/Editable.component-test.tsx/plasma-hope Editable -- onChange.snap.png
Oops, something went wrong.
Binary file modified
BIN
-841 Bytes
(97%)
...gination.component-test.tsx/plasma-new-hope Pagination Styled -- _size.snap.png
Oops, something went wrong.
Binary file modified
BIN
-390 Bytes
(99%)
...agination.component-test.tsx/plasma-new-hope Pagination Styled -- type.snap.png
Oops, something went wrong.
Binary file modified
BIN
+563 Bytes
(110%)
...extField.component-test.tsx/plasma-web TextField -- _animatedHintlabel.snap.png
Oops, something went wrong.
Binary file modified
BIN
+553 Bytes
(110%)
...ld.component-test.tsx/plasma-web TextField -- _animatedHintplaceholder.snap.png
Oops, something went wrong.
Binary file added
BIN
+16.7 KB
...tField.component-test.tsx/plasma-web TextField -- _enumerationTypechip.snap.png
Oops, something went wrong.
Binary file modified
BIN
+401 Bytes
(110%)
...tField/TextField.component-test.tsx/plasma-web TextField -- _maxLength.snap.png
Oops, something went wrong.
Binary file modified
BIN
+1.07 KB
(110%)
...s/TextField/TextField.component-test.tsx/plasma-web TextField -- _size.snap.png
Oops, something went wrong.
Binary file modified
BIN
+2.5 KB
(120%)
...TextField/TextField.component-test.tsx/plasma-web TextField -- _status.snap.png
Oops, something went wrong.
Binary file modified
BIN
+1.98 KB
(110%)
...extField.component-test.tsx/plasma-web TextField -- content with label.snap.png
Oops, something went wrong.
Binary file modified
BIN
+1.12 KB
(110%)
...TextField/TextField.component-test.tsx/plasma-web TextField -- content.snap.png
Oops, something went wrong.
Binary file modified
BIN
+399 Bytes
(110%)
...TextField/TextField.component-test.tsx/plasma-web TextField -- default.snap.png
Oops, something went wrong.
Binary file modified
BIN
+358 Bytes
(110%)
...extField/TextField.component-test.tsx/plasma-web TextField -- disabled.snap.png
Oops, something went wrong.
Binary file modified
BIN
+730 Bytes
(120%)
...s/TextField/TextField.component-test.tsx/plasma-web TextField -- empty.snap.png
Oops, something went wrong.
Binary file modified
BIN
+397 Bytes
(110%)
...TextField/TextField.component-test.tsx/plasma-web TextField -- focused.snap.png
Oops, something went wrong.
Binary file modified
BIN
+399 Bytes
(110%)
...extField/TextField.component-test.tsx/plasma-web TextField -- readOnly.snap.png
Oops, something went wrong.
Binary file added
BIN
+6.48 KB
...d.component-test.tsx/plasma-web TextField keyboard navigation -- chips.snap.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.