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

Add bottom bar functionality. Export Secondary Button and add related docs #482

Merged
merged 18 commits into from
Oct 1, 2024
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
c99d610
docs(methods): allow passing color key in web_app_set_background_color
heyqbnk Oct 1, 2024
d60342b
feat(bridge): add BackgroundColor type. Use it the web_app_set_backgr…
heyqbnk Oct 1, 2024
816bed8
feat(bridge): add web_app_set_bottom_bar_color to support checks
heyqbnk Oct 1, 2024
8d40f8a
feat(sdk,mini-app): add "bottomBarColor" to GetCssVarNameFn first arg
heyqbnk Oct 1, 2024
ff20b41
feat(sdk,mini-app): add bottomBarColor value in state. Set Background…
heyqbnk Oct 1, 2024
435e918
chore(sdk,mini-app): remove static file
heyqbnk Oct 1, 2024
9b70abb
feat(sdk,mini-app): add bottom bar functionality. Allow passing wider…
heyqbnk Oct 1, 2024
2d46387
chore(sdk,mini-app): reorganize exports
heyqbnk Oct 1, 2024
71aef19
docs(methods): refactor web_app_setup_secondary_button parameters tab…
heyqbnk Oct 1, 2024
705e047
feat(bridge): add position parameter in web_app_setup_secondary_butto…
heyqbnk Oct 1, 2024
f40e575
feat(sdk,secondary-button): add position in state
heyqbnk Oct 1, 2024
c789d7e
chore(sdk,secondary-button): remove static file
heyqbnk Oct 1, 2024
c0ba6a7
chore(sdk,secondary-button): remove instance file
heyqbnk Oct 1, 2024
77afbbf
feat(sdk,secondary-button): add position-related functionality
heyqbnk Oct 1, 2024
9607445
feat(sdk,secondary-button): export component
heyqbnk Oct 1, 2024
c3ddb74
docs(sdk): add Secondary Button docs
heyqbnk Oct 1, 2024
7a7829a
docs(changeset): - Add `web_app_set_bottom_bar_color` in `supports`
heyqbnk Oct 1, 2024
34652a2
docs(changeset): - Enhance the Secondary Button with the `position` s…
heyqbnk Oct 1, 2024
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
7 changes: 7 additions & 0 deletions .changeset/shy-papayas-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@telegram-apps/bridge": minor
---

- Add `web_app_set_bottom_bar_color` in `supports`
- Widen type for `web_app_set_background_color.color`
- Add `web_app_setup_secondary_button.position`
6 changes: 6 additions & 0 deletions .changeset/wild-cheetahs-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@telegram-apps/sdk": minor
---

- Enhance the Secondary Button with the `position` signal. Export the component
- Add bottom bar related functionality in the Mini App component
Loading