Commit 3f65134
feat: Radio Groups & Checkboxes (#3073)
* components
* style(pre-commit): auto fixes from pre-commit.com hooks
* Apply suggestions from code review
Signed-off-by: Lala Sabathil <aiko@aitsys.dev>
* Apply suggestion from @Lulalaby
Signed-off-by: Lala Sabathil <aiko@aitsys.dev>
* Apply suggestion from @Lulalaby
Signed-off-by: Lala Sabathil <aiko@aitsys.dev>
* style(pre-commit): auto fixes from pre-commit.com hooks
* ui.RadioGroup
* ui.CheckboxGroup
* ,
* style(pre-commit): auto fixes from pre-commit.com hooks
* ui.Checkbox
* style(pre-commit): auto fixes from pre-commit.com hooks
* docs and label set methods
* style(pre-commit): auto fixes from pre-commit.com hooks
* _component_to_item
* style(pre-commit): auto fixes from pre-commit.com hooks
* options
* style(pre-commit): auto fixes from pre-commit.com hooks
* imports
* style(pre-commit): auto fixes from pre-commit.com hooks
* check
* all
* style(pre-commit): auto fixes from pre-commit.com hooks
* fix checkbox
* option docs
* Checkbox.value
* Update discord/ui/radio_group.py
Co-authored-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
* Update discord/components.py
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
* Update discord/components.py
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
* convert to generate_underlying
* values
* copyright
* RadioGroup.value clarification
* typing
* enum docs
* docs
* fix group underlying
* update types.components
* style(pre-commit): auto fixes from pre-commit.com hooks
* change `values` to None if not received through interaction
* adjustments
* more adjustments
* style(pre-commit): auto fixes from pre-commit.com hooks
* versions
* option setter
* s
* correct option valiadation
* remove type ignores
* style(pre-commit): auto fixes from pre-commit.com hooks
* adjust custom_id check
* style(pre-commit): auto fixes from pre-commit.com hooks
---------
Signed-off-by: Lala Sabathil <aiko@aitsys.dev>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lala Sabathil <aiko@aitsys.dev>
Co-authored-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Co-authored-by: Lala Sabathil <lala@pycord.dev>
Co-authored-by: Paillat <paillat@pycord.dev>1 parent d2e99a7 commit 3f65134
19 files changed
Lines changed: 1350 additions & 46 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments