|  | 
| 22 | 22 | from .._docstring import add_example | 
| 23 | 23 | from .._namespaces import resolve_id_or_none | 
| 24 | 24 | from .._utils import private_random_int | 
| 25 |  | -from ..types import DEPRECATED, MISSING, MaybeMissing, NavSetArg, is_missing | 
|  | 25 | +from ..types import DEPRECATED, MISSING, Maybe, NavSetArg, is_missing | 
| 26 | 26 | from ._bootstrap import column, row | 
| 27 | 27 | from ._card import CardItem, WrapperCallable, card, card_body, card_footer, card_header | 
| 28 | 28 | from ._html_deps_shinyverse import components_dependencies | 
| @@ -1013,11 +1013,11 @@ class NavbarOptions: | 
| 1013 | 1013 |     def __init__( | 
| 1014 | 1014 |         self, | 
| 1015 | 1015 |         *, | 
| 1016 |  | -        position: MaybeMissing[NavbarOptionsPositionT] = MISSING, | 
| 1017 |  | -        bg: MaybeMissing[str | None] = MISSING, | 
| 1018 |  | -        theme: MaybeMissing[NavbarOptionsThemeT] = MISSING, | 
| 1019 |  | -        underline: MaybeMissing[bool] = MISSING, | 
| 1020 |  | -        collapsible: MaybeMissing[bool] = MISSING, | 
|  | 1016 | +        position: Maybe[NavbarOptionsPositionT] = MISSING, | 
|  | 1017 | +        bg: Maybe[str | None] = MISSING, | 
|  | 1018 | +        theme: Maybe[NavbarOptionsThemeT] = MISSING, | 
|  | 1019 | +        underline: Maybe[bool] = MISSING, | 
|  | 1020 | +        collapsible: Maybe[bool] = MISSING, | 
| 1021 | 1021 |         **attrs: TagAttrValue, | 
| 1022 | 1022 |     ): | 
| 1023 | 1023 |         self._is_default = {} | 
| @@ -1070,11 +1070,11 @@ def __repr__(self): | 
| 1070 | 1070 | 
 | 
| 1071 | 1071 | @add_example() | 
| 1072 | 1072 | def navbar_options( | 
| 1073 |  | -    position: MaybeMissing[NavbarOptionsPositionT] = MISSING, | 
| 1074 |  | -    bg: MaybeMissing[str | None] = MISSING, | 
| 1075 |  | -    theme: MaybeMissing[NavbarOptionsThemeT] = MISSING, | 
| 1076 |  | -    underline: MaybeMissing[bool] = MISSING, | 
| 1077 |  | -    collapsible: MaybeMissing[bool] = MISSING, | 
|  | 1073 | +    position: Maybe[NavbarOptionsPositionT] = MISSING, | 
|  | 1074 | +    bg: Maybe[str | None] = MISSING, | 
|  | 1075 | +    theme: Maybe[NavbarOptionsThemeT] = MISSING, | 
|  | 1076 | +    underline: Maybe[bool] = MISSING, | 
|  | 1077 | +    collapsible: Maybe[bool] = MISSING, | 
| 1078 | 1078 |     **attrs: TagAttrValue, | 
| 1079 | 1079 | ) -> NavbarOptions: | 
| 1080 | 1080 |     """ | 
| @@ -1120,11 +1120,11 @@ def navbar_options( | 
| 1120 | 1120 | 
 | 
| 1121 | 1121 | def navbar_options_resolve_deprecated( | 
| 1122 | 1122 |     options_user: Optional[NavbarOptions] = None, | 
| 1123 |  | -    position: MaybeMissing[NavbarOptionsPositionT] = DEPRECATED, | 
| 1124 |  | -    bg: MaybeMissing[str | None] = DEPRECATED, | 
| 1125 |  | -    inverse: MaybeMissing[bool] = DEPRECATED, | 
| 1126 |  | -    underline: MaybeMissing[bool] = DEPRECATED, | 
| 1127 |  | -    collapsible: MaybeMissing[bool] = DEPRECATED, | 
|  | 1123 | +    position: Maybe[NavbarOptionsPositionT] = DEPRECATED, | 
|  | 1124 | +    bg: Maybe[str | None] = DEPRECATED, | 
|  | 1125 | +    inverse: Maybe[bool] = DEPRECATED, | 
|  | 1126 | +    underline: Maybe[bool] = DEPRECATED, | 
|  | 1127 | +    collapsible: Maybe[bool] = DEPRECATED, | 
| 1128 | 1128 |     fn_caller: str = "navset_bar", | 
| 1129 | 1129 | ) -> NavbarOptions: | 
| 1130 | 1130 |     options_user = options_user if options_user is not None else navbar_options() | 
| @@ -1375,11 +1375,11 @@ def navset_bar( | 
| 1375 | 1375 |     navbar_options: Optional[NavbarOptions] = None, | 
| 1376 | 1376 |     fluid: bool = True, | 
| 1377 | 1377 |     # Deprecated -- v1.3.0 2025-01 ---- | 
| 1378 |  | -    position: MaybeMissing[NavbarOptionsPositionT] = DEPRECATED, | 
| 1379 |  | -    bg: MaybeMissing[str | None] = DEPRECATED, | 
| 1380 |  | -    inverse: MaybeMissing[bool] = DEPRECATED, | 
| 1381 |  | -    underline: MaybeMissing[bool] = DEPRECATED, | 
| 1382 |  | -    collapsible: MaybeMissing[bool] = DEPRECATED, | 
|  | 1378 | +    position: Maybe[NavbarOptionsPositionT] = DEPRECATED, | 
|  | 1379 | +    bg: Maybe[str | None] = DEPRECATED, | 
|  | 1380 | +    inverse: Maybe[bool] = DEPRECATED, | 
|  | 1381 | +    underline: Maybe[bool] = DEPRECATED, | 
|  | 1382 | +    collapsible: Maybe[bool] = DEPRECATED, | 
| 1383 | 1383 | ) -> NavSetBar: | 
| 1384 | 1384 |     """ | 
| 1385 | 1385 |     Render nav items as a navbar. | 
|  | 
0 commit comments