Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ body:
validations:
required: true

projects: ['atls/11']
projects: ['atls/11']
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ body:
validations:
required: true

projects: ['atls/11']
projects: ['atls/11']
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ body:
validations:
required: true

projects: ['atls/11']
projects: ['atls/11']
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ body:
label: Материалы
placeholder: Ссылка на репу, статью

projects: ['atls/11']
projects: ['atls/11']
22 changes: 13 additions & 9 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
name: Publish to registry

on:
pull_request:
types:
- closed
branches:
- master
paths-ignore:
- '.github/**'
pull_request
# workflow_dispatch:
# pull_request:
# types:
# - closed
# branches:
# - master
# paths-ignore:
# - '.github/**'

jobs:
publish:
if: github.event.pull_request.merged == true
uses: atls/shared/.github/workflows/publish.yaml@master
# if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
# if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
# uses: atls/shared/.github/workflows/publish.yaml@master
uses: atls/shared/.github/workflows/publish.yaml@feat/force-npm
permissions: write-all
with:
appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }}
Expand Down
1,421 changes: 1,211 additions & 210 deletions .pnp.cjs

Large diffs are not rendered by default.

3,616 changes: 2,317 additions & 1,299 deletions .yarn/releases/yarn-remote.mjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"detect-circular": "madge . -c"
},
"devDependencies": {
"@atls/code-runtime": "2.1.2",
"@atls/code-runtime": "2.1.9",
"@atls/config-jest": "1.1.1",
"@jest/core": "29.7.0",
"@types/jest": "29.5.12",
Expand All @@ -23,5 +23,5 @@
"prettier": "2.8.3",
"typescript": "5.5.4"
},
"packageManager": "yarn@4.6.0"
"packageManager": "yarn@4.9.2"
}
4 changes: 2 additions & 2 deletions theme/theme-colors-generator/src/FigmaThemeColorsGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ export class FigmaThemeColorsGenerator extends FigmaThemeGenerator {

const buttonState = buttonStatesSet.get(this.formatString(style))
const formattedStyle = this.formatString(style)
const formattedState = this.formatString(state)
const formattedState = this.formatString(state) as keyof typeof buttonState

if (buttonState && buttonState[formattedState]) return
if (buttonState?.[formattedState]) return

buttonStatesSet.set(formattedStyle, {
...buttonState,
Expand Down
Loading
Loading