Răsfoiți Sursa

update inline so all props have comments (#2353)

Tom Gotsman 1 an în urmă
părinte
comite
32b9b00e05

+ 4 - 0
reflex/components/el/elements/inline.py

@@ -86,6 +86,7 @@ class Data(BaseHTML):
 
     tag = "data"
 
+    # Specifies the machine-readable translation of the data element.
     value: Var[Union[str, int, bool]]
 
 
@@ -124,6 +125,7 @@ class Q(BaseHTML):
 
     tag = "q"
 
+    # Specifies the source URL of the quote.
     cite: Var[Union[str, int, bool]]
 
 
@@ -191,6 +193,8 @@ class Time(BaseHTML):
     """Display the time element."""
 
     tag = "time"
+
+    # Specifies the date and/or time of the element.
     date_time: Var[Union[str, int, bool]]
 
 

+ 3 - 0
reflex/components/el/elements/inline.pyi

@@ -1262,6 +1262,7 @@ class Data(BaseHTML):
 
         Args:
             *children: The children of the component.
+            value: Specifies the machine-readable translation of the data element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
@@ -2097,6 +2098,7 @@ class Q(BaseHTML):
 
         Args:
             *children: The children of the component.
+            cite: Specifies the source URL of the quote.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
@@ -3629,6 +3631,7 @@ class Time(BaseHTML):
 
         Args:
             *children: The children of the component.
+            date_time: Specifies the date and/or time of the element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.

+ 1 - 0
reflex/components/radix/themes/typography/quote.pyi

@@ -227,6 +227,7 @@ class Quote(el.Q, CommonMarginProps, RadixThemesComponent):
             *children: Child components.
             color: map to CSS default color property.
             color_scheme: map to radix color property.
+            cite: Specifies the source URL of the quote.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.