184 Commits (7c52dbdba01bf2572db862381c9949d61de08f22)

Author SHA1 Message Date
Rapptz d5946d1cbc Fix bounds for TextInput and Label generic 2 days ago
lmaotrigine 50b0d219b5
Add missing versionadded to some BaseView items 3 days ago
Rapptz 63357e0113 Revert "Add second generic parameter for view for DynamicItem" 3 days ago
Rapptz 9677dada1f Fix Modal not raising when hitting the 5 item limit 3 days ago
Rapptz bb45e050b9 Change Modal inheritance to BaseView instead of View 3 days ago
Rapptz fe7ce982f3 Add second generic parameter for view for DynamicItem 3 days ago
Rapptz 6d5013030b Flip if statement for wrapped ActionRow components in modals 5 days ago
Rapptz de09031899 Allow TextDisplay as a top-level component in modals 5 days ago
Rapptz 9bda89b0d6 Update total count tracking to always consider the wrapper object 6 days ago
DA344 0309aac335
Add a swap method for dynamic item's dispatching 7 days ago
Rapptz 20f4bc40ad Remove outdated comment 1 week ago
Rapptz 59e28af19f Fix Section.accessory being MISSING 1 week ago
Sacul 27d69e98e2
Fix note in button decorator in action row 1 week ago
DA344 24aa98b923
Fix Section.children and accessory's parent being None 1 week ago
Rapptz 9dbf13c2f9 Document Section.accessory as an attribute 1 week ago
Rapptz 44a44e938f Reformat entire project with ruff instead of black 1 week ago
Rapptz 3ef6272e07 Fix error with View.from_message when having multiple items 1 week ago
Rapptz d58c055c5b Remove unused import 1 week ago
Rapptz 5d49f11709 Remove View.from_dict typing 1 week ago
Rapptz fc12a41cdf Run black 1 week ago
Rapptz 064cb7af71 Add View.total_children_count 1 week ago
Rapptz f08c042217 Add content_length method to LayoutView and container items 1 week ago
Rapptz 6f6d990195 Fix type error with ItemCallbackType 1 week ago
Rapptz 4854c56d58 Allow discord.File in places where UnfurledMediaItem or str are allowed 1 week ago
Rapptz 9ef5b054e5 Refactor total children count to an overrideable method 1 week ago
Rapptz 2a69ac4ca8 Document difference between View and LayoutView 1 week ago
Rapptz 24d3a12117 Remove unused row parameter from TextDisplay 2 weeks ago
Rapptz 4f539b710f Fix type errors in all examples 2 weeks ago
Soheab 13432591c6
Fix various docs around UI items 2 weeks ago
Rapptz 38c6407ffd Maintain a reference to View dispatched tasks 2 weeks ago
Rapptz 3fb627d078 Add support for label components and select in modals 2 weeks ago
Rapptz 9fb74fd7a1 Remove unnecessary TypeGuard 2 weeks ago
Rapptz 8c1886799d Don't recreate ItemCallbackType 2 weeks ago
DA344 50caa3c82c
Add support for components V2 2 weeks ago
Leonardo 7f16a06479
Copy Select options when creating View class 2 months ago
Rapptz 8953938a53 Update Pyright to v1.1.394 6 months ago
DA344 6ab747f9e5
Add support for sending views in stateless webhooks 6 months ago
Jun-Ah 준아 97ca618570
Fix incorrect Select max option condition 1 year ago
Rapptz c055fd32bb Fix ui.Button providing a custom_id for premium buttons 1 year ago
DA344 be9edf8deb
Remove setting sku_id explicitly via button decorator 1 year ago
DA344 356474ffb9
Add ButtonStyle.premium 1 year ago
Soheab 2248fc1946
Fix various code around Message.interaction(_metadata) 1 year ago
ナニカ dc6d33c303
copy over original row position for dynamic items 1 year ago
Josh 4e03b170ef
Update pyright version 2 years ago
Rapptz 76666fbcf4 Properly check for maximum number of children 2 years ago
Soheab_ 070ae24d8d
Document all limits in discord.ui 2 years ago
Rapptz 3258507b4a Call inner item callback and interaction_check by default 2 years ago
Rapptz de6a6af5d3 Fix DynamicItem row attribute being overridden 2 years ago
Rapptz 078b500657 Fix dynamic item views having a timeout causing it to evict 2 years ago
Lukas Vacula 3009c46080
Fix typo in documentation; "users" -> "roles" 2 years ago