Sfoglia il codice sorgente

use Literal, Protocol, SupportsIndex and get_args from built-in typing package

Falko Schindler 1 anno fa
parent
commit
5383de7102
100 ha cambiato i file con 100 aggiunte e 119 eliminazioni
  1. 1 3
      examples/trello_cards/draganddrop.py
  2. 1 1
      fetch_tailwind.py
  3. 1 3
      nicegui/elements/keyboard.py
  4. 1 3
      nicegui/elements/mixins/color_elements.py
  5. 1 3
      nicegui/elements/scroll_area.py
  6. 1 3
      nicegui/elements/spinner.py
  7. 1 3
      nicegui/elements/table.py
  8. 1 3
      nicegui/functions/notify.py
  9. 1 1
      nicegui/language.py
  10. 1 3
      nicegui/observables.py
  11. 1 3
      nicegui/page_layout.py
  12. 1 2
      nicegui/run.py
  13. 1 1
      nicegui/tailwind_types/accent_color.py
  14. 1 1
      nicegui/tailwind_types/align_content.py
  15. 1 1
      nicegui/tailwind_types/align_items.py
  16. 1 1
      nicegui/tailwind_types/align_self.py
  17. 1 1
      nicegui/tailwind_types/animation.py
  18. 1 1
      nicegui/tailwind_types/appearance.py
  19. 1 1
      nicegui/tailwind_types/aspect_ratio.py
  20. 1 1
      nicegui/tailwind_types/backdrop_blur.py
  21. 1 1
      nicegui/tailwind_types/backdrop_brightness.py
  22. 1 1
      nicegui/tailwind_types/backdrop_contrast.py
  23. 1 1
      nicegui/tailwind_types/backdrop_grayscale.py
  24. 1 1
      nicegui/tailwind_types/backdrop_hue_rotate.py
  25. 1 1
      nicegui/tailwind_types/backdrop_invert.py
  26. 1 1
      nicegui/tailwind_types/backdrop_opacity.py
  27. 1 1
      nicegui/tailwind_types/backdrop_saturate.py
  28. 1 1
      nicegui/tailwind_types/backdrop_sepia.py
  29. 1 1
      nicegui/tailwind_types/background_attachment.py
  30. 1 1
      nicegui/tailwind_types/background_blend_mode.py
  31. 1 1
      nicegui/tailwind_types/background_clip.py
  32. 1 1
      nicegui/tailwind_types/background_color.py
  33. 1 1
      nicegui/tailwind_types/background_image.py
  34. 1 1
      nicegui/tailwind_types/background_origin.py
  35. 1 1
      nicegui/tailwind_types/background_position.py
  36. 1 1
      nicegui/tailwind_types/background_repeat.py
  37. 1 1
      nicegui/tailwind_types/background_size.py
  38. 1 1
      nicegui/tailwind_types/blur.py
  39. 1 1
      nicegui/tailwind_types/border_collapse.py
  40. 1 1
      nicegui/tailwind_types/border_color.py
  41. 1 1
      nicegui/tailwind_types/border_radius.py
  42. 1 1
      nicegui/tailwind_types/border_spacing.py
  43. 1 1
      nicegui/tailwind_types/border_style.py
  44. 1 1
      nicegui/tailwind_types/border_width.py
  45. 1 1
      nicegui/tailwind_types/box_decoration_break.py
  46. 1 1
      nicegui/tailwind_types/box_shadow.py
  47. 1 1
      nicegui/tailwind_types/box_shadow_color.py
  48. 1 1
      nicegui/tailwind_types/box_sizing.py
  49. 1 1
      nicegui/tailwind_types/break_after.py
  50. 1 1
      nicegui/tailwind_types/break_before.py
  51. 1 1
      nicegui/tailwind_types/break_inside.py
  52. 1 1
      nicegui/tailwind_types/brightness.py
  53. 1 1
      nicegui/tailwind_types/caption_side.py
  54. 1 1
      nicegui/tailwind_types/caret_color.py
  55. 1 1
      nicegui/tailwind_types/clear.py
  56. 1 1
      nicegui/tailwind_types/columns.py
  57. 1 1
      nicegui/tailwind_types/content.py
  58. 1 1
      nicegui/tailwind_types/contrast.py
  59. 1 1
      nicegui/tailwind_types/cursor.py
  60. 1 1
      nicegui/tailwind_types/display.py
  61. 1 1
      nicegui/tailwind_types/divide_color.py
  62. 1 1
      nicegui/tailwind_types/divide_style.py
  63. 1 1
      nicegui/tailwind_types/divide_width.py
  64. 1 1
      nicegui/tailwind_types/drop_shadow.py
  65. 1 1
      nicegui/tailwind_types/fill.py
  66. 1 1
      nicegui/tailwind_types/flex.py
  67. 1 1
      nicegui/tailwind_types/flex_basis.py
  68. 1 1
      nicegui/tailwind_types/flex_direction.py
  69. 1 1
      nicegui/tailwind_types/flex_grow.py
  70. 1 1
      nicegui/tailwind_types/flex_shrink.py
  71. 1 1
      nicegui/tailwind_types/flex_wrap.py
  72. 1 1
      nicegui/tailwind_types/floats.py
  73. 1 1
      nicegui/tailwind_types/font_family.py
  74. 1 1
      nicegui/tailwind_types/font_size.py
  75. 1 1
      nicegui/tailwind_types/font_smoothing.py
  76. 1 1
      nicegui/tailwind_types/font_style.py
  77. 1 1
      nicegui/tailwind_types/font_variant_numeric.py
  78. 1 1
      nicegui/tailwind_types/font_weight.py
  79. 1 1
      nicegui/tailwind_types/gap.py
  80. 1 1
      nicegui/tailwind_types/gradient_color_stops.py
  81. 1 1
      nicegui/tailwind_types/grayscale.py
  82. 1 1
      nicegui/tailwind_types/grid_auto_columns.py
  83. 1 1
      nicegui/tailwind_types/grid_auto_flow.py
  84. 1 1
      nicegui/tailwind_types/grid_auto_rows.py
  85. 1 1
      nicegui/tailwind_types/grid_column_start_end.py
  86. 1 1
      nicegui/tailwind_types/grid_row_start_end.py
  87. 1 1
      nicegui/tailwind_types/grid_template_columns.py
  88. 1 1
      nicegui/tailwind_types/grid_template_rows.py
  89. 1 1
      nicegui/tailwind_types/height.py
  90. 1 1
      nicegui/tailwind_types/hue_rotate.py
  91. 1 1
      nicegui/tailwind_types/hyphens.py
  92. 1 1
      nicegui/tailwind_types/invert.py
  93. 1 1
      nicegui/tailwind_types/isolation.py
  94. 1 1
      nicegui/tailwind_types/justify_content.py
  95. 1 1
      nicegui/tailwind_types/justify_items.py
  96. 1 1
      nicegui/tailwind_types/justify_self.py
  97. 1 1
      nicegui/tailwind_types/letter_spacing.py
  98. 1 1
      nicegui/tailwind_types/line_clamp.py
  99. 1 1
      nicegui/tailwind_types/line_height.py
  100. 1 1
      nicegui/tailwind_types/list_style_image.py

+ 1 - 3
examples/trello_cards/draganddrop.py

@@ -1,8 +1,6 @@
 from __future__ import annotations
 
-from typing import Callable, Optional
-
-from typing_extensions import Protocol
+from typing import Callable, Optional, Protocol
 
 from nicegui import ui
 

+ 1 - 1
fetch_tailwind.py

@@ -84,7 +84,7 @@ for property in properties:
     if not property.members:
         continue
     with (Path(__file__).parent / 'nicegui' / 'tailwind_types' / f'{property.snake_title}.py').open('w') as f:
-        f.write('from typing_extensions import Literal\n')
+        f.write('from typing import Literal\n')
         f.write('\n')
         f.write(f'{property.pascal_title} = Literal[\n')
         for short_member in property.short_members:

+ 1 - 3
nicegui/elements/keyboard.py

@@ -1,6 +1,4 @@
-from typing import Any, Callable, List
-
-from typing_extensions import Literal
+from typing import Any, Callable, List, Literal
 
 from ..binding import BindableProperty
 from ..element import Element

+ 1 - 3
nicegui/elements/mixins/color_elements.py

@@ -1,6 +1,4 @@
-from typing import Any
-
-from typing_extensions import get_args
+from typing import Any, get_args
 
 from ...element import Element
 from ...tailwind_types.background_color import BackgroundColor

+ 1 - 3
nicegui/elements/scroll_area.py

@@ -1,6 +1,4 @@
-from typing import Any, Callable, Optional
-
-from typing_extensions import Literal
+from typing import Any, Callable, Literal, Optional
 
 from ..element import Element
 from ..events import GenericEventArguments, ScrollEventArguments, handle_event

+ 1 - 3
nicegui/elements/spinner.py

@@ -1,6 +1,4 @@
-from typing import Optional
-
-from typing_extensions import Literal
+from typing import Literal, Optional
 
 from .mixins.color_elements import TextColorElement
 

+ 1 - 3
nicegui/elements/table.py

@@ -1,6 +1,4 @@
-from typing import Any, Callable, Dict, List, Optional
-
-from typing_extensions import Literal
+from typing import Any, Callable, Dict, List, Literal, Optional
 
 from ..element import Element
 from ..events import GenericEventArguments, TableSelectionEventArguments, handle_event

+ 1 - 3
nicegui/functions/notify.py

@@ -1,6 +1,4 @@
-from typing import Any, Optional, Union
-
-from typing_extensions import Literal
+from typing import Any, Literal, Optional, Union
 
 from .. import globals, outbox
 

+ 1 - 1
nicegui/language.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Language = Literal[
     'ar',

+ 1 - 3
nicegui/observables.py

@@ -1,6 +1,4 @@
-from typing import Any, Callable, Dict, Iterable, List, Set, Union, overload
-
-from typing_extensions import SupportsIndex
+from typing import Any, Callable, Dict, Iterable, List, Set, SupportsIndex, Union, overload
 
 
 class ObservableDict(dict):

+ 1 - 3
nicegui/page_layout.py

@@ -1,6 +1,4 @@
-from typing import Optional
-
-from typing_extensions import Literal
+from typing import Literal, Optional
 
 from . import globals
 from .element import Element

+ 1 - 2
nicegui/run.py

@@ -4,11 +4,10 @@ import os
 import socket
 import sys
 from pathlib import Path
-from typing import Any, List, Optional, Tuple, Union
+from typing import Any, List, Literal, Optional, Tuple, Union
 
 import __main__
 import uvicorn
-from typing_extensions import Literal
 from uvicorn.main import STARTUP_FAILURE
 from uvicorn.supervisors import ChangeReload, Multiprocess
 

+ 1 - 1
nicegui/tailwind_types/accent_color.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 AccentColor = Literal[
     'inherit',

+ 1 - 1
nicegui/tailwind_types/align_content.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 AlignContent = Literal[
     'normal',

+ 1 - 1
nicegui/tailwind_types/align_items.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 AlignItems = Literal[
     'start',

+ 1 - 1
nicegui/tailwind_types/align_self.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 AlignSelf = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/animation.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Animation = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/appearance.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Appearance = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/aspect_ratio.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 AspectRatio = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/backdrop_blur.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropBlur = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/backdrop_brightness.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropBrightness = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/backdrop_contrast.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropContrast = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/backdrop_grayscale.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropGrayscale = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/backdrop_hue_rotate.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropHueRotate = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/backdrop_invert.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropInvert = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/backdrop_opacity.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropOpacity = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/backdrop_saturate.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropSaturate = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/backdrop_sepia.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackdropSepia = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/background_attachment.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundAttachment = Literal[
     'fixed',

+ 1 - 1
nicegui/tailwind_types/background_blend_mode.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundBlendMode = Literal[
     'normal',

+ 1 - 1
nicegui/tailwind_types/background_clip.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundClip = Literal[
     'border',

+ 1 - 1
nicegui/tailwind_types/background_color.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundColor = Literal[
     'inherit',

+ 1 - 1
nicegui/tailwind_types/background_image.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundImage = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/background_origin.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundOrigin = Literal[
     'border',

+ 1 - 1
nicegui/tailwind_types/background_position.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundPosition = Literal[
     'bottom',

+ 1 - 1
nicegui/tailwind_types/background_repeat.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundRepeat = Literal[
     'repeat',

+ 1 - 1
nicegui/tailwind_types/background_size.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BackgroundSize = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/blur.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Blur = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/border_collapse.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BorderCollapse = Literal[
     'collapse',

+ 1 - 1
nicegui/tailwind_types/border_color.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BorderColor = Literal[
     'inherit',

+ 1 - 1
nicegui/tailwind_types/border_radius.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BorderRadius = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/border_spacing.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BorderSpacing = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/border_style.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BorderStyle = Literal[
     'solid',

+ 1 - 1
nicegui/tailwind_types/border_width.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BorderWidth = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/box_decoration_break.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BoxDecorationBreak = Literal[
     'clone',

+ 1 - 1
nicegui/tailwind_types/box_shadow.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BoxShadow = Literal[
     'sm',

+ 1 - 1
nicegui/tailwind_types/box_shadow_color.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BoxShadowColor = Literal[
     'inherit',

+ 1 - 1
nicegui/tailwind_types/box_sizing.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BoxSizing = Literal[
     'border',

+ 1 - 1
nicegui/tailwind_types/break_after.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BreakAfter = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/break_before.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BreakBefore = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/break_inside.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 BreakInside = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/brightness.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Brightness = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/caption_side.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 CaptionSide = Literal[
     'top',

+ 1 - 1
nicegui/tailwind_types/caret_color.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 CaretColor = Literal[
     'inherit',

+ 1 - 1
nicegui/tailwind_types/clear.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Clear = Literal[
     'left',

+ 1 - 1
nicegui/tailwind_types/columns.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Columns = Literal[
     '1',

+ 1 - 1
nicegui/tailwind_types/content.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Content = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/contrast.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Contrast = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/cursor.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Cursor = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/display.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Display = Literal[
     'block',

+ 1 - 1
nicegui/tailwind_types/divide_color.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 DivideColor = Literal[
     'inherit',

+ 1 - 1
nicegui/tailwind_types/divide_style.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 DivideStyle = Literal[
     'solid',

+ 1 - 1
nicegui/tailwind_types/divide_width.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 DivideWidth = Literal[
     'x-0',

+ 1 - 1
nicegui/tailwind_types/drop_shadow.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 DropShadow = Literal[
     'sm',

+ 1 - 1
nicegui/tailwind_types/fill.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Fill = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/flex.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Flex = Literal[
     '1',

+ 1 - 1
nicegui/tailwind_types/flex_basis.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FlexBasis = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/flex_direction.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FlexDirection = Literal[
     'row',

+ 1 - 1
nicegui/tailwind_types/flex_grow.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FlexGrow = Literal[
     '',

+ 1 - 1
nicegui/tailwind_types/flex_shrink.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FlexShrink = Literal[
     '',

+ 1 - 1
nicegui/tailwind_types/flex_wrap.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FlexWrap = Literal[
     'wrap',

+ 1 - 1
nicegui/tailwind_types/floats.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Floats = Literal[
     'right',

+ 1 - 1
nicegui/tailwind_types/font_family.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FontFamily = Literal[
     'sans',

+ 1 - 1
nicegui/tailwind_types/font_size.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FontSize = Literal[
     'xs',

+ 1 - 1
nicegui/tailwind_types/font_smoothing.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FontSmoothing = Literal[
     'antialiased',

+ 1 - 1
nicegui/tailwind_types/font_style.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FontStyle = Literal[
     'italic',

+ 1 - 1
nicegui/tailwind_types/font_variant_numeric.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FontVariantNumeric = Literal[
     'normal-nums',

+ 1 - 1
nicegui/tailwind_types/font_weight.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 FontWeight = Literal[
     'thin',

+ 1 - 1
nicegui/tailwind_types/gap.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Gap = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/gradient_color_stops.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 GradientColorStops = Literal[
     'from-inherit',

+ 1 - 1
nicegui/tailwind_types/grayscale.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Grayscale = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/grid_auto_columns.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 GridAutoColumns = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/grid_auto_flow.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 GridAutoFlow = Literal[
     'row',

+ 1 - 1
nicegui/tailwind_types/grid_auto_rows.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 GridAutoRows = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/grid_column_start_end.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 GridColumnStartEnd = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/grid_row_start_end.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 GridRowStartEnd = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/grid_template_columns.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 GridTemplateColumns = Literal[
     '1',

+ 1 - 1
nicegui/tailwind_types/grid_template_rows.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 GridTemplateRows = Literal[
     '1',

+ 1 - 1
nicegui/tailwind_types/height.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Height = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/hue_rotate.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 HueRotate = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/hyphens.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Hyphens = Literal[
     'none',

+ 1 - 1
nicegui/tailwind_types/invert.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Invert = Literal[
     '0',

+ 1 - 1
nicegui/tailwind_types/isolation.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 Isolation = Literal[
     'isolate',

+ 1 - 1
nicegui/tailwind_types/justify_content.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 JustifyContent = Literal[
     'normal',

+ 1 - 1
nicegui/tailwind_types/justify_items.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 JustifyItems = Literal[
     'start',

+ 1 - 1
nicegui/tailwind_types/justify_self.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 JustifySelf = Literal[
     'auto',

+ 1 - 1
nicegui/tailwind_types/letter_spacing.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 LetterSpacing = Literal[
     'tighter',

+ 1 - 1
nicegui/tailwind_types/line_clamp.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 LineClamp = Literal[
     '1',

+ 1 - 1
nicegui/tailwind_types/line_height.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 LineHeight = Literal[
     '3',

+ 1 - 1
nicegui/tailwind_types/list_style_image.py

@@ -1,4 +1,4 @@
-from typing_extensions import Literal
+from typing import Literal
 
 ListStyleImage = Literal[
     'none',

Some files were not shown because too many files changed in this diff