37 Commits (beeffdce966fb515328447ce2fe4e477c176ff1f)

Author SHA1 Message Date
DA344 e2cf721e9c
Fix container items having out of date internal state 8 months ago
Rapptz 6f6d990195 Fix type error with ItemCallbackType 11 months ago
Rapptz 8c1886799d Don't recreate ItemCallbackType 11 months ago
DA344 50caa3c82c
Add support for components V2 11 months ago
Rapptz c055fd32bb Fix ui.Button providing a custom_id for premium buttons 2 years ago
DA344 be9edf8deb
Remove setting sku_id explicitly via button decorator 2 years ago
DA344 356474ffb9
Add ButtonStyle.premium 2 years ago
Soheab_ 070ae24d8d
Document all limits in discord.ui 2 years ago
Ionite 6981eb69c4
Normalize type formatting in TypeError 4 years ago
Varun J c26473d0eb
Fix views not being persistent if modifying custom_id after __init__ 4 years ago
Lilly Rose Berner 7267d18d9e
Improve component typing 4 years ago
Lilly Rose Berner 7ee15e1d68
Use typing.Literal for channel and component type annotation 4 years ago
Rapptz e515378076 Remove annotation on row property in subclasses 4 years ago
Rapptz 3215cb65e2 Raise if custom_id is not a str 4 years ago
Rapptz 968a1f366f Change View callback order to (self, interaction, item) 4 years ago
Rapptz 934ab4151a Mark state refresh methods as private with an underscore 4 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 4 years ago
Josh 147948af9b
Use typing.Self throughout library 4 years ago
Josh d409ddd227
Alter return-type of button/select decorators 4 years ago
Rapptz 097b6064f1 Fix ui.Button constructor default style to match the decorator 5 years ago
Rapptz 9ac459b5d3 Add a default style for buttons 5 years ago
Nadir Chowdhury abac04b759
Fix link buttons not being regarded as persistent 5 years ago
Josh 233d10649c
[docs] Update Sphinx and Fix various references 5 years ago
Rapptz 1c640ad72b Lazily create Button custom_ids in decorator interface 5 years ago
Rapptz 47f2d04940 Allow passing Emoji in components 5 years ago
Rapptz 7c40e83d10 Ensure views added to Client.add_view are persistent views 5 years ago
Rapptz c811932ca7 Don't mark URL buttons as dispatchable 5 years ago
Rapptz 09f0ed1fba Mention that rows are explicitly 0 indexed. 5 years ago
Rapptz 7bd1211b36 Rework item grouping behaviour to take into consideration weights 5 years ago
Rapptz ef9f61a933 Add support for select components 5 years ago
Rapptz 6874aa73c4 Add PartialEmoji.from_str helper 5 years ago
Zomatree 6cc3e572ba
Button labels can be None 5 years ago
Rapptz 5e96ad9261 Force button style to link if a URL is passed 5 years ago
Rapptz eda6680377 Rename enums to use official API naming 5 years ago
Rapptz ed9badcddf Make Item and Button generic over the underlying view 5 years ago
Rapptz 4c0ebc9221 Change the way callbacks are defined to allow deriving 5 years ago
Rapptz 98570793e4 Add initial support for buttons and components 5 years ago