Skip to content

Typings refactoring#293

Merged
ykornilov merged 5 commits intorelease/v10from
typings-refactoring
Dec 29, 2025
Merged

Typings refactoring#293
ykornilov merged 5 commits intorelease/v10from
typings-refactoring

Conversation

@ykornilov
Copy link
Collaborator

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

Comment on lines -23 to -28
| 'context'
| 'noOverlay'
| 'focusable'
| 'globalParams'
| 'editMode'
| 'settings'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you removed 'globalParams', 'settings' and 'context'?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in DashKitProps they are optional but in DashKitCtxShape they are required, so I added them in separate fields in DashKitCtxShape

@ykornilov ykornilov merged commit bccfd4d into release/v10 Dec 29, 2025
3 checks passed
@ykornilov ykornilov deleted the typings-refactoring branch December 29, 2025 10:39
ykornilov added a commit that referenced this pull request Feb 13, 2026
* refactor: use PluginWidgetProps type for adjustWidgetLayout

* refactor: deduplicate types using DashKitProps references

* refactor: extract type from item prop instead of passing separately

* refactor: make width and height optional in PluginWidgetProps

* refactor: consolidate grid layout types in common

---------

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>
ykornilov added a commit that referenced this pull request Feb 13, 2026
* refactor: use PluginWidgetProps type for adjustWidgetLayout

* refactor: deduplicate types using DashKitProps references

* refactor: extract type from item prop instead of passing separately

* refactor: make width and height optional in PluginWidgetProps

* refactor: consolidate grid layout types in common

---------

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>
github-merge-queue bot pushed a commit that referenced this pull request Feb 13, 2026
* fix!: move GridLayout from JS to TS (#277)

* fix!: move GridLayout from JS to TS

* chore: update ci workflow

---------

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>

* chore: move ReactGridLayout from JS to TS (#278)

* chore: move ReactGridLayout from JS to TS

* chore: add comments

---------

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>

* fix!: move GridItem from JS to TS (#279)

* fix!: move GridItem from JS to TS

---------

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>

* chore: translate Item to TS (#280)

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>

* fix!: move prepareItem from JS to TS (#284)

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>

* fix: move withContext from JS to TS (#285)

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>

* chore: typings refactoring (#293)

* refactor: use PluginWidgetProps type for adjustWidgetLayout

* refactor: deduplicate types using DashKitProps references

* refactor: extract type from item prop instead of passing separately

* refactor: make width and height optional in PluginWidgetProps

* refactor: consolidate grid layout types in common

---------

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>

---------

Co-authored-by: Yury Kornilov <kornilovyv@yandex-team.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants