Skip to content

Commit 8d6fb63

Browse files
authored
tests(controllers): Split _controls.py into separate files (posit-dev#1652)
1 parent 144ab69 commit 8d6fb63

File tree

17 files changed

+7219
-7040
lines changed

17 files changed

+7219
-7040
lines changed

shiny/playwright/controller/__init__.py

Lines changed: 42 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,56 @@
1-
from ._controls import (
2-
Accordion,
3-
AccordionPanel,
4-
Card,
5-
Chat,
6-
DownloadButton,
7-
DownloadLink,
1+
from ._input_buttons import (
82
InputActionButton,
93
InputActionLink,
10-
InputCheckbox,
11-
InputCheckboxGroup,
124
InputDarkMode,
5+
InputFile,
6+
InputTaskButton,
7+
)
8+
9+
from ._input_fields import (
1310
InputDate,
1411
InputDateRange,
15-
InputFile,
1612
InputNumeric,
1713
InputPassword,
14+
InputText,
15+
InputTextArea,
16+
)
17+
18+
from ._input_controls import (
19+
InputCheckbox,
20+
InputCheckboxGroup,
1821
InputRadioButtons,
1922
InputSelect,
2023
InputSelectize,
2124
InputSlider,
2225
InputSliderRange,
2326
InputSwitch,
24-
InputTaskButton,
25-
InputText,
26-
InputTextArea,
27+
)
28+
29+
from ._overlay import (
30+
Popover,
31+
Tooltip,
32+
)
33+
34+
from ._layout import (
35+
Sidebar,
36+
)
37+
38+
from ._accordion import (
39+
Accordion,
40+
AccordionPanel,
41+
)
42+
43+
from ._card import Card, ValueBox
44+
45+
from ._file import (
46+
DownloadButton,
47+
DownloadLink,
48+
)
49+
50+
from ._chat import (
51+
Chat,
52+
)
53+
from ._navs import (
2754
NavPanel,
2855
NavsetBar,
2956
NavsetCardPill,
@@ -34,6 +61,8 @@
3461
NavsetPillList,
3562
NavsetTab,
3663
NavsetUnderline,
64+
)
65+
from ._output import (
3766
OutputCode,
3867
OutputDataFrame,
3968
OutputImage,
@@ -42,10 +71,6 @@
4271
OutputText,
4372
OutputTextVerbatim,
4473
OutputUi,
45-
Popover,
46-
Sidebar,
47-
Tooltip,
48-
ValueBox,
4974
)
5075

5176
__all__ = [

0 commit comments

Comments
 (0)