16 Commits

Author SHA1 Message Date
Rapptz
cdce8fae5b Change ui.TextInput.value to not be Optional 2022-08-17 02:26:17 -04:00
Lilly Rose Berner
7267d18d9e
Improve component typing 2022-05-16 15:30:03 -04:00
NextChai
e7ce8b6b77
Add container operations documentation to TextInput 2022-04-30 03:58:11 -04:00
Lilly Rose Berner
7ee15e1d68
Use typing.Literal for channel and component type annotation 2022-04-29 06:07:22 -04:00
Rapptz
e515378076 Remove annotation on row property in subclasses 2022-03-29 23:04:34 -04:00
Rapptz
3215cb65e2 Raise if custom_id is not a str 2022-03-29 23:04:34 -04:00
UltimateSppy765
6d494585f5
Correct documentation for TextInput.custom_id 2022-03-23 18:38:22 -04:00
Rapptz
934ab4151a Mark state refresh methods as private with an underscore
People kept wondering what it is or what it does.
2022-03-14 07:50:25 -04:00
Rapptz
37d55c8ec4 Add TextInput.__str__ special method
Closes #7504
2022-03-05 21:05:46 -05:00
Josh
147948af9b
Use typing.Self throughout library 2022-03-01 07:53:24 -05:00
Nihaal Sangha
90cabd1673
Fix various typos 2022-02-27 21:19:19 -05:00
Rapptz
d01e73fca5 Document more uses of type ignore 2022-02-21 23:08:26 -05:00
Josh
6dbd40a8ef
Remove use of typing.Self from TextInput 2022-02-21 09:13:18 -05:00
Rapptz
e56f64218a Rename default_value to default for TextInput 2022-02-20 11:04:50 -05:00
Rapptz
88b520b5ab Reformat code using black
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
2022-02-20 08:04:58 -05:00
Josh
19c6687b55
Add support for Modal Interactions 2022-02-20 04:57:44 -05:00