Skip to content

Commit

Permalink
Rename List -> UkList to prevent List Type collision
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac-Flath committed Nov 22, 2024
1 parent e4210f6 commit 60ea786
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fh_frankenui/_modidx.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
'fh_frankenui.core.LabelTextArea': ('core.html#labeltextarea', 'fh_frankenui/core.py'),
'fh_frankenui.core.LabelUkSelect': ('core.html#labelukselect', 'fh_frankenui/core.py'),
'fh_frankenui.core.Legend': ('core.html#legend', 'fh_frankenui/core.py'),
'fh_frankenui.core.List': ('core.html#list', 'fh_frankenui/core.py'),
'fh_frankenui.core.ListT': ('core.html#listt', 'fh_frankenui/core.py'),
'fh_frankenui.core.ListT._generate_next_value_': ( 'core.html#listt._generate_next_value_',
'fh_frankenui/core.py'),
Expand Down Expand Up @@ -157,6 +156,7 @@
'fh_frankenui.core.UkFormSection': ('core.html#ukformsection', 'fh_frankenui/core.py'),
'fh_frankenui.core.UkIcon': ('core.html#ukicon', 'fh_frankenui/core.py'),
'fh_frankenui.core.UkIconLink': ('core.html#ukiconlink', 'fh_frankenui/core.py'),
'fh_frankenui.core.UkList': ('core.html#uklist', 'fh_frankenui/core.py'),
'fh_frankenui.core.UkSelect': ('core.html#ukselect', 'fh_frankenui/core.py'),
'fh_frankenui.core._TableCell': ('core.html#_tablecell', 'fh_frankenui/core.py'),
'fh_frankenui.core._headers_theme': ('core.html#_headers_theme', 'fh_frankenui/core.py'),
Expand Down
4 changes: 2 additions & 2 deletions fh_frankenui/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'Section', 'Form', 'Fieldset', 'Legend', 'Input', 'Select', 'Radio', 'CheckboxX', 'Range', 'Toggle_switch',
'TextArea', 'Switch', 'FormLabel', 'LabelT', 'Label', 'UkFormSection', 'GenericLabelInput', 'LabelInput',
'LabelRadio', 'LabelCheckboxX', 'LabelRange', 'LabelTextArea', 'LabelSwitch', 'LabelSelect', 'Options',
'UkSelect', 'LabelUkSelect', 'AT', 'ListT', 'List', 'ModalContainer', 'ModalDialog', 'ModalHeader',
'UkSelect', 'LabelUkSelect', 'AT', 'ListT', 'UkList', 'ModalContainer', 'ModalDialog', 'ModalHeader',
'ModalBody', 'ModalFooter', 'ModalTitle', 'ModalCloseButton', 'Modal', 'PaddingT', 'PositionT',
'Placeholder', 'Progress', 'UkIcon', 'UkIconLink', 'DiceBearAvatar', 'FlexT', 'Grid', 'DivFullySpaced',
'DivCentered', 'DivLAligned', 'DivRAligned', 'DivVStacked', 'DivHStacked', 'NavT', 'NavContainer',
Expand Down Expand Up @@ -501,7 +501,7 @@ def _generate_next_value_(name, start, count, last_values): return str2ukcls('li
striped = auto()

# %% ../nbs/01_core.ipynb
def List(*c, cls=(), **kwargs): return fh.Ul(*c, cls=('uk-list',stringify(cls)), **kwargs)
def UkList(*c, cls=(), **kwargs): return fh.Ul(*c, cls=('uk-list',stringify(cls)), **kwargs)

# %% ../nbs/01_core.ipynb
def ModalContainer(*c, cls=(), **kwargs): return fh.Div(*c, cls=('uk-modal uk-modal-container',stringify(cls)), uk_modal=True, **kwargs)
Expand Down
2 changes: 1 addition & 1 deletion nbs/01_core.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@
"outputs": [],
"source": [
"#| export\n",
"def List(*c, cls=(), **kwargs): return fh.Ul(*c, cls=('uk-list',stringify(cls)), **kwargs)"
"def UkList(*c, cls=(), **kwargs): return fh.Ul(*c, cls=('uk-list',stringify(cls)), **kwargs)"
]
},
{
Expand Down

0 comments on commit 60ea786

Please sign in to comment.