forked from streamlit/streamlit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Describe your changes Adds the ability to add an Icon (emoji or Material) to `st.link_button` ## GitHub Issue Link (if applicable) ## Testing Plan - Unit Tests (JS and/or Python) ✅ - E2E Tests ✅ --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
- Loading branch information
1 parent
57ceda6
commit c94837e
Showing
43 changed files
with
92 additions
and
1 deletion.
There are no files selected for viewing
Binary file added
BIN
+2.97 KB
...snapshots__/linux/st_link_button_test/st_link_button-6[dark_theme-chromium].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.55 KB
..._snapshots__/linux/st_link_button_test/st_link_button-6[dark_theme-firefox].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
+3.03 KB
...__snapshots__/linux/st_link_button_test/st_link_button-6[dark_theme-webkit].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
+2.96 KB
...napshots__/linux/st_link_button_test/st_link_button-6[light_theme-chromium].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.5 KB
...snapshots__/linux/st_link_button_test/st_link_button-6[light_theme-firefox].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
+3.06 KB
..._snapshots__/linux/st_link_button_test/st_link_button-6[light_theme-webkit].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
+3.22 KB
...snapshots__/linux/st_link_button_test/st_link_button-7[dark_theme-chromium].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.02 KB
..._snapshots__/linux/st_link_button_test/st_link_button-7[dark_theme-firefox].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
+3.32 KB
...__snapshots__/linux/st_link_button_test/st_link_button-7[dark_theme-webkit].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
+3.2 KB
...napshots__/linux/st_link_button_test/st_link_button-7[light_theme-chromium].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.9 KB
...snapshots__/linux/st_link_button_test/st_link_button-7[light_theme-firefox].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
+3.35 KB
..._snapshots__/linux/st_link_button_test/st_link_button-7[light_theme-webkit].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
+2.97 KB
...ots__/linux/st_link_button_test/st_link_button-focus_6[dark_theme-chromium].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.55 KB
...hots__/linux/st_link_button_test/st_link_button-focus_6[dark_theme-firefox].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
+3.03 KB
...shots__/linux/st_link_button_test/st_link_button-focus_6[dark_theme-webkit].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
+2.96 KB
...ts__/linux/st_link_button_test/st_link_button-focus_6[light_theme-chromium].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.5 KB
...ots__/linux/st_link_button_test/st_link_button-focus_6[light_theme-firefox].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
+3.06 KB
...hots__/linux/st_link_button_test/st_link_button-focus_6[light_theme-webkit].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
+3.22 KB
...ots__/linux/st_link_button_test/st_link_button-focus_7[dark_theme-chromium].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.02 KB
...hots__/linux/st_link_button_test/st_link_button-focus_7[dark_theme-firefox].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
+3.32 KB
...shots__/linux/st_link_button_test/st_link_button-focus_7[dark_theme-webkit].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
+3.2 KB
...ts__/linux/st_link_button_test/st_link_button-focus_7[light_theme-chromium].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.9 KB
...ots__/linux/st_link_button_test/st_link_button-focus_7[light_theme-firefox].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
+3.35 KB
...hots__/linux/st_link_button_test/st_link_button-focus_7[light_theme-webkit].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
+2.97 KB
...ots__/linux/st_link_button_test/st_link_button-hover_6[dark_theme-chromium].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.55 KB
...hots__/linux/st_link_button_test/st_link_button-hover_6[dark_theme-firefox].png
Oops, something went wrong.
Binary file added
BIN
+3.03 KB
...shots__/linux/st_link_button_test/st_link_button-hover_6[dark_theme-webkit].png
Oops, something went wrong.
Binary file added
BIN
+2.96 KB
...ts__/linux/st_link_button_test/st_link_button-hover_6[light_theme-chromium].png
Oops, something went wrong.
Binary file added
BIN
+4.5 KB
...ots__/linux/st_link_button_test/st_link_button-hover_6[light_theme-firefox].png
Oops, something went wrong.
Binary file added
BIN
+3.06 KB
...hots__/linux/st_link_button_test/st_link_button-hover_6[light_theme-webkit].png
Oops, something went wrong.
Binary file added
BIN
+3.22 KB
...ots__/linux/st_link_button_test/st_link_button-hover_7[dark_theme-chromium].png
Oops, something went wrong.
Binary file added
BIN
+5.02 KB
...hots__/linux/st_link_button_test/st_link_button-hover_7[dark_theme-firefox].png
Oops, something went wrong.
Binary file added
BIN
+3.32 KB
...shots__/linux/st_link_button_test/st_link_button-hover_7[dark_theme-webkit].png
Oops, something went wrong.
Binary file added
BIN
+3.2 KB
...ts__/linux/st_link_button_test/st_link_button-hover_7[light_theme-chromium].png
Oops, something went wrong.
Binary file added
BIN
+4.9 KB
...ots__/linux/st_link_button_test/st_link_button-hover_7[light_theme-firefox].png
Oops, something went wrong.
Binary file added
BIN
+3.35 KB
...hots__/linux/st_link_button_test/st_link_button-hover_7[light_theme-webkit].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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,5 @@ message LinkButton { | |
bool disabled = 7; | ||
bool use_container_width = 8; | ||
string type = 9; | ||
string icon = 10; | ||
} |