sticky.pyi 32 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100
  1. """Stub file for reflex/components/core/sticky.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Literal, Mapping, Optional, Sequence, overload
  6. from reflex.components.component import ComponentNamespace
  7. from reflex.components.core.breakpoints import Breakpoints
  8. from reflex.components.el.elements.inline import A
  9. from reflex.components.el.elements.media import Svg
  10. from reflex.components.radix.themes.typography.text import Text
  11. from reflex.event import EventType
  12. from reflex.vars.base import Var
  13. class StickyLogo(Svg):
  14. @overload
  15. @classmethod
  16. def create( # type: ignore
  17. cls,
  18. *children,
  19. width: Var[int | str] | int | str | None = None,
  20. height: Var[int | str] | int | str | None = None,
  21. xmlns: Var[str] | str | None = None,
  22. access_key: Var[str] | str | None = None,
  23. auto_capitalize: Literal[
  24. "characters", "none", "off", "on", "sentences", "words"
  25. ]
  26. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  27. | None = None,
  28. content_editable: Literal["inherit", "plaintext-only", False, True]
  29. | Var[Literal["inherit", "plaintext-only", False, True]]
  30. | None = None,
  31. context_menu: Var[str] | str | None = None,
  32. dir: Var[str] | str | None = None,
  33. draggable: Var[bool] | bool | None = None,
  34. enter_key_hint: Literal[
  35. "done", "enter", "go", "next", "previous", "search", "send"
  36. ]
  37. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  38. | None = None,
  39. hidden: Var[bool] | bool | None = None,
  40. input_mode: Literal[
  41. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  42. ]
  43. | Var[
  44. Literal[
  45. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  46. ]
  47. ]
  48. | None = None,
  49. item_prop: Var[str] | str | None = None,
  50. lang: Var[str] | str | None = None,
  51. role: Literal[
  52. "alert",
  53. "alertdialog",
  54. "application",
  55. "article",
  56. "banner",
  57. "button",
  58. "cell",
  59. "checkbox",
  60. "columnheader",
  61. "combobox",
  62. "complementary",
  63. "contentinfo",
  64. "definition",
  65. "dialog",
  66. "directory",
  67. "document",
  68. "feed",
  69. "figure",
  70. "form",
  71. "grid",
  72. "gridcell",
  73. "group",
  74. "heading",
  75. "img",
  76. "link",
  77. "list",
  78. "listbox",
  79. "listitem",
  80. "log",
  81. "main",
  82. "marquee",
  83. "math",
  84. "menu",
  85. "menubar",
  86. "menuitem",
  87. "menuitemcheckbox",
  88. "menuitemradio",
  89. "navigation",
  90. "none",
  91. "note",
  92. "option",
  93. "presentation",
  94. "progressbar",
  95. "radio",
  96. "radiogroup",
  97. "region",
  98. "row",
  99. "rowgroup",
  100. "rowheader",
  101. "scrollbar",
  102. "search",
  103. "searchbox",
  104. "separator",
  105. "slider",
  106. "spinbutton",
  107. "status",
  108. "switch",
  109. "tab",
  110. "table",
  111. "tablist",
  112. "tabpanel",
  113. "term",
  114. "textbox",
  115. "timer",
  116. "toolbar",
  117. "tooltip",
  118. "tree",
  119. "treegrid",
  120. "treeitem",
  121. ]
  122. | Var[
  123. Literal[
  124. "alert",
  125. "alertdialog",
  126. "application",
  127. "article",
  128. "banner",
  129. "button",
  130. "cell",
  131. "checkbox",
  132. "columnheader",
  133. "combobox",
  134. "complementary",
  135. "contentinfo",
  136. "definition",
  137. "dialog",
  138. "directory",
  139. "document",
  140. "feed",
  141. "figure",
  142. "form",
  143. "grid",
  144. "gridcell",
  145. "group",
  146. "heading",
  147. "img",
  148. "link",
  149. "list",
  150. "listbox",
  151. "listitem",
  152. "log",
  153. "main",
  154. "marquee",
  155. "math",
  156. "menu",
  157. "menubar",
  158. "menuitem",
  159. "menuitemcheckbox",
  160. "menuitemradio",
  161. "navigation",
  162. "none",
  163. "note",
  164. "option",
  165. "presentation",
  166. "progressbar",
  167. "radio",
  168. "radiogroup",
  169. "region",
  170. "row",
  171. "rowgroup",
  172. "rowheader",
  173. "scrollbar",
  174. "search",
  175. "searchbox",
  176. "separator",
  177. "slider",
  178. "spinbutton",
  179. "status",
  180. "switch",
  181. "tab",
  182. "table",
  183. "tablist",
  184. "tabpanel",
  185. "term",
  186. "textbox",
  187. "timer",
  188. "toolbar",
  189. "tooltip",
  190. "tree",
  191. "treegrid",
  192. "treeitem",
  193. ]
  194. ]
  195. | None = None,
  196. slot: Var[str] | str | None = None,
  197. spell_check: Var[bool] | bool | None = None,
  198. tab_index: Var[int] | int | None = None,
  199. title: Var[str] | str | None = None,
  200. style: Sequence[Mapping[str, Any]]
  201. | Mapping[str, Any]
  202. | Var[Mapping[str, Any]]
  203. | Breakpoints
  204. | None = None,
  205. key: Any | None = None,
  206. id: Any | None = None,
  207. class_name: Any | None = None,
  208. autofocus: bool | None = None,
  209. custom_attrs: dict[str, Var | Any] | None = None,
  210. on_blur: Optional[EventType[()]] = None,
  211. on_click: Optional[EventType[()]] = None,
  212. on_context_menu: Optional[EventType[()]] = None,
  213. on_double_click: Optional[EventType[()]] = None,
  214. on_focus: Optional[EventType[()]] = None,
  215. on_mount: Optional[EventType[()]] = None,
  216. on_mouse_down: Optional[EventType[()]] = None,
  217. on_mouse_enter: Optional[EventType[()]] = None,
  218. on_mouse_leave: Optional[EventType[()]] = None,
  219. on_mouse_move: Optional[EventType[()]] = None,
  220. on_mouse_out: Optional[EventType[()]] = None,
  221. on_mouse_over: Optional[EventType[()]] = None,
  222. on_mouse_up: Optional[EventType[()]] = None,
  223. on_scroll: Optional[EventType[()]] = None,
  224. on_unmount: Optional[EventType[()]] = None,
  225. **props,
  226. ) -> "StickyLogo":
  227. """Create the simple Reflex logo SVG.
  228. Returns:
  229. The simple Reflex logo SVG.
  230. """
  231. ...
  232. def add_style(self): ...
  233. class StickyLabel(Text):
  234. @overload
  235. @classmethod
  236. def create( # type: ignore
  237. cls,
  238. *children,
  239. as_child: Var[bool] | bool | None = None,
  240. as_: Literal[
  241. "abbr",
  242. "b",
  243. "cite",
  244. "del",
  245. "div",
  246. "em",
  247. "i",
  248. "ins",
  249. "kbd",
  250. "label",
  251. "mark",
  252. "p",
  253. "s",
  254. "samp",
  255. "span",
  256. "sub",
  257. "sup",
  258. "u",
  259. ]
  260. | Var[
  261. Literal[
  262. "abbr",
  263. "b",
  264. "cite",
  265. "del",
  266. "div",
  267. "em",
  268. "i",
  269. "ins",
  270. "kbd",
  271. "label",
  272. "mark",
  273. "p",
  274. "s",
  275. "samp",
  276. "span",
  277. "sub",
  278. "sup",
  279. "u",
  280. ]
  281. ]
  282. | None = None,
  283. size: Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]]
  284. | Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
  285. | Var[
  286. Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]]
  287. | Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
  288. ]
  289. | None = None,
  290. weight: Breakpoints[str, Literal["bold", "light", "medium", "regular"]]
  291. | Literal["bold", "light", "medium", "regular"]
  292. | Var[
  293. Breakpoints[str, Literal["bold", "light", "medium", "regular"]]
  294. | Literal["bold", "light", "medium", "regular"]
  295. ]
  296. | None = None,
  297. align: Breakpoints[str, Literal["center", "left", "right"]]
  298. | Literal["center", "left", "right"]
  299. | Var[
  300. Breakpoints[str, Literal["center", "left", "right"]]
  301. | Literal["center", "left", "right"]
  302. ]
  303. | None = None,
  304. trim: Breakpoints[str, Literal["both", "end", "normal", "start"]]
  305. | Literal["both", "end", "normal", "start"]
  306. | Var[
  307. Breakpoints[str, Literal["both", "end", "normal", "start"]]
  308. | Literal["both", "end", "normal", "start"]
  309. ]
  310. | None = None,
  311. color_scheme: Literal[
  312. "amber",
  313. "blue",
  314. "bronze",
  315. "brown",
  316. "crimson",
  317. "cyan",
  318. "gold",
  319. "grass",
  320. "gray",
  321. "green",
  322. "indigo",
  323. "iris",
  324. "jade",
  325. "lime",
  326. "mint",
  327. "orange",
  328. "pink",
  329. "plum",
  330. "purple",
  331. "red",
  332. "ruby",
  333. "sky",
  334. "teal",
  335. "tomato",
  336. "violet",
  337. "yellow",
  338. ]
  339. | Var[
  340. Literal[
  341. "amber",
  342. "blue",
  343. "bronze",
  344. "brown",
  345. "crimson",
  346. "cyan",
  347. "gold",
  348. "grass",
  349. "gray",
  350. "green",
  351. "indigo",
  352. "iris",
  353. "jade",
  354. "lime",
  355. "mint",
  356. "orange",
  357. "pink",
  358. "plum",
  359. "purple",
  360. "red",
  361. "ruby",
  362. "sky",
  363. "teal",
  364. "tomato",
  365. "violet",
  366. "yellow",
  367. ]
  368. ]
  369. | None = None,
  370. high_contrast: Var[bool] | bool | None = None,
  371. access_key: Var[str] | str | None = None,
  372. auto_capitalize: Literal[
  373. "characters", "none", "off", "on", "sentences", "words"
  374. ]
  375. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  376. | None = None,
  377. content_editable: Literal["inherit", "plaintext-only", False, True]
  378. | Var[Literal["inherit", "plaintext-only", False, True]]
  379. | None = None,
  380. context_menu: Var[str] | str | None = None,
  381. dir: Var[str] | str | None = None,
  382. draggable: Var[bool] | bool | None = None,
  383. enter_key_hint: Literal[
  384. "done", "enter", "go", "next", "previous", "search", "send"
  385. ]
  386. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  387. | None = None,
  388. hidden: Var[bool] | bool | None = None,
  389. input_mode: Literal[
  390. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  391. ]
  392. | Var[
  393. Literal[
  394. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  395. ]
  396. ]
  397. | None = None,
  398. item_prop: Var[str] | str | None = None,
  399. lang: Var[str] | str | None = None,
  400. role: Literal[
  401. "alert",
  402. "alertdialog",
  403. "application",
  404. "article",
  405. "banner",
  406. "button",
  407. "cell",
  408. "checkbox",
  409. "columnheader",
  410. "combobox",
  411. "complementary",
  412. "contentinfo",
  413. "definition",
  414. "dialog",
  415. "directory",
  416. "document",
  417. "feed",
  418. "figure",
  419. "form",
  420. "grid",
  421. "gridcell",
  422. "group",
  423. "heading",
  424. "img",
  425. "link",
  426. "list",
  427. "listbox",
  428. "listitem",
  429. "log",
  430. "main",
  431. "marquee",
  432. "math",
  433. "menu",
  434. "menubar",
  435. "menuitem",
  436. "menuitemcheckbox",
  437. "menuitemradio",
  438. "navigation",
  439. "none",
  440. "note",
  441. "option",
  442. "presentation",
  443. "progressbar",
  444. "radio",
  445. "radiogroup",
  446. "region",
  447. "row",
  448. "rowgroup",
  449. "rowheader",
  450. "scrollbar",
  451. "search",
  452. "searchbox",
  453. "separator",
  454. "slider",
  455. "spinbutton",
  456. "status",
  457. "switch",
  458. "tab",
  459. "table",
  460. "tablist",
  461. "tabpanel",
  462. "term",
  463. "textbox",
  464. "timer",
  465. "toolbar",
  466. "tooltip",
  467. "tree",
  468. "treegrid",
  469. "treeitem",
  470. ]
  471. | Var[
  472. Literal[
  473. "alert",
  474. "alertdialog",
  475. "application",
  476. "article",
  477. "banner",
  478. "button",
  479. "cell",
  480. "checkbox",
  481. "columnheader",
  482. "combobox",
  483. "complementary",
  484. "contentinfo",
  485. "definition",
  486. "dialog",
  487. "directory",
  488. "document",
  489. "feed",
  490. "figure",
  491. "form",
  492. "grid",
  493. "gridcell",
  494. "group",
  495. "heading",
  496. "img",
  497. "link",
  498. "list",
  499. "listbox",
  500. "listitem",
  501. "log",
  502. "main",
  503. "marquee",
  504. "math",
  505. "menu",
  506. "menubar",
  507. "menuitem",
  508. "menuitemcheckbox",
  509. "menuitemradio",
  510. "navigation",
  511. "none",
  512. "note",
  513. "option",
  514. "presentation",
  515. "progressbar",
  516. "radio",
  517. "radiogroup",
  518. "region",
  519. "row",
  520. "rowgroup",
  521. "rowheader",
  522. "scrollbar",
  523. "search",
  524. "searchbox",
  525. "separator",
  526. "slider",
  527. "spinbutton",
  528. "status",
  529. "switch",
  530. "tab",
  531. "table",
  532. "tablist",
  533. "tabpanel",
  534. "term",
  535. "textbox",
  536. "timer",
  537. "toolbar",
  538. "tooltip",
  539. "tree",
  540. "treegrid",
  541. "treeitem",
  542. ]
  543. ]
  544. | None = None,
  545. slot: Var[str] | str | None = None,
  546. spell_check: Var[bool] | bool | None = None,
  547. tab_index: Var[int] | int | None = None,
  548. title: Var[str] | str | None = None,
  549. style: Sequence[Mapping[str, Any]]
  550. | Mapping[str, Any]
  551. | Var[Mapping[str, Any]]
  552. | Breakpoints
  553. | None = None,
  554. key: Any | None = None,
  555. id: Any | None = None,
  556. class_name: Any | None = None,
  557. autofocus: bool | None = None,
  558. custom_attrs: dict[str, Var | Any] | None = None,
  559. on_blur: Optional[EventType[()]] = None,
  560. on_click: Optional[EventType[()]] = None,
  561. on_context_menu: Optional[EventType[()]] = None,
  562. on_double_click: Optional[EventType[()]] = None,
  563. on_focus: Optional[EventType[()]] = None,
  564. on_mount: Optional[EventType[()]] = None,
  565. on_mouse_down: Optional[EventType[()]] = None,
  566. on_mouse_enter: Optional[EventType[()]] = None,
  567. on_mouse_leave: Optional[EventType[()]] = None,
  568. on_mouse_move: Optional[EventType[()]] = None,
  569. on_mouse_out: Optional[EventType[()]] = None,
  570. on_mouse_over: Optional[EventType[()]] = None,
  571. on_mouse_up: Optional[EventType[()]] = None,
  572. on_scroll: Optional[EventType[()]] = None,
  573. on_unmount: Optional[EventType[()]] = None,
  574. **props,
  575. ) -> "StickyLabel":
  576. """Create the sticky label.
  577. Returns:
  578. The sticky label.
  579. """
  580. ...
  581. def add_style(self): ...
  582. class StickyBadge(A):
  583. @overload
  584. @classmethod
  585. def create( # type: ignore
  586. cls,
  587. *children,
  588. download: Var[bool | str] | bool | str | None = None,
  589. href: Var[str] | str | None = None,
  590. href_lang: Var[str] | str | None = None,
  591. media: Var[str] | str | None = None,
  592. ping: Var[str] | str | None = None,
  593. referrer_policy: Literal[
  594. "",
  595. "no-referrer",
  596. "no-referrer-when-downgrade",
  597. "origin",
  598. "origin-when-cross-origin",
  599. "same-origin",
  600. "strict-origin",
  601. "strict-origin-when-cross-origin",
  602. "unsafe-url",
  603. ]
  604. | Var[
  605. Literal[
  606. "",
  607. "no-referrer",
  608. "no-referrer-when-downgrade",
  609. "origin",
  610. "origin-when-cross-origin",
  611. "same-origin",
  612. "strict-origin",
  613. "strict-origin-when-cross-origin",
  614. "unsafe-url",
  615. ]
  616. ]
  617. | None = None,
  618. rel: Var[str] | str | None = None,
  619. target: Literal["_blank", "_parent", "_self", "_top"]
  620. | Var[Literal["_blank", "_parent", "_self", "_top"] | str]
  621. | str
  622. | None = None,
  623. access_key: Var[str] | str | None = None,
  624. auto_capitalize: Literal[
  625. "characters", "none", "off", "on", "sentences", "words"
  626. ]
  627. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  628. | None = None,
  629. content_editable: Literal["inherit", "plaintext-only", False, True]
  630. | Var[Literal["inherit", "plaintext-only", False, True]]
  631. | None = None,
  632. context_menu: Var[str] | str | None = None,
  633. dir: Var[str] | str | None = None,
  634. draggable: Var[bool] | bool | None = None,
  635. enter_key_hint: Literal[
  636. "done", "enter", "go", "next", "previous", "search", "send"
  637. ]
  638. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  639. | None = None,
  640. hidden: Var[bool] | bool | None = None,
  641. input_mode: Literal[
  642. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  643. ]
  644. | Var[
  645. Literal[
  646. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  647. ]
  648. ]
  649. | None = None,
  650. item_prop: Var[str] | str | None = None,
  651. lang: Var[str] | str | None = None,
  652. role: Literal[
  653. "alert",
  654. "alertdialog",
  655. "application",
  656. "article",
  657. "banner",
  658. "button",
  659. "cell",
  660. "checkbox",
  661. "columnheader",
  662. "combobox",
  663. "complementary",
  664. "contentinfo",
  665. "definition",
  666. "dialog",
  667. "directory",
  668. "document",
  669. "feed",
  670. "figure",
  671. "form",
  672. "grid",
  673. "gridcell",
  674. "group",
  675. "heading",
  676. "img",
  677. "link",
  678. "list",
  679. "listbox",
  680. "listitem",
  681. "log",
  682. "main",
  683. "marquee",
  684. "math",
  685. "menu",
  686. "menubar",
  687. "menuitem",
  688. "menuitemcheckbox",
  689. "menuitemradio",
  690. "navigation",
  691. "none",
  692. "note",
  693. "option",
  694. "presentation",
  695. "progressbar",
  696. "radio",
  697. "radiogroup",
  698. "region",
  699. "row",
  700. "rowgroup",
  701. "rowheader",
  702. "scrollbar",
  703. "search",
  704. "searchbox",
  705. "separator",
  706. "slider",
  707. "spinbutton",
  708. "status",
  709. "switch",
  710. "tab",
  711. "table",
  712. "tablist",
  713. "tabpanel",
  714. "term",
  715. "textbox",
  716. "timer",
  717. "toolbar",
  718. "tooltip",
  719. "tree",
  720. "treegrid",
  721. "treeitem",
  722. ]
  723. | Var[
  724. Literal[
  725. "alert",
  726. "alertdialog",
  727. "application",
  728. "article",
  729. "banner",
  730. "button",
  731. "cell",
  732. "checkbox",
  733. "columnheader",
  734. "combobox",
  735. "complementary",
  736. "contentinfo",
  737. "definition",
  738. "dialog",
  739. "directory",
  740. "document",
  741. "feed",
  742. "figure",
  743. "form",
  744. "grid",
  745. "gridcell",
  746. "group",
  747. "heading",
  748. "img",
  749. "link",
  750. "list",
  751. "listbox",
  752. "listitem",
  753. "log",
  754. "main",
  755. "marquee",
  756. "math",
  757. "menu",
  758. "menubar",
  759. "menuitem",
  760. "menuitemcheckbox",
  761. "menuitemradio",
  762. "navigation",
  763. "none",
  764. "note",
  765. "option",
  766. "presentation",
  767. "progressbar",
  768. "radio",
  769. "radiogroup",
  770. "region",
  771. "row",
  772. "rowgroup",
  773. "rowheader",
  774. "scrollbar",
  775. "search",
  776. "searchbox",
  777. "separator",
  778. "slider",
  779. "spinbutton",
  780. "status",
  781. "switch",
  782. "tab",
  783. "table",
  784. "tablist",
  785. "tabpanel",
  786. "term",
  787. "textbox",
  788. "timer",
  789. "toolbar",
  790. "tooltip",
  791. "tree",
  792. "treegrid",
  793. "treeitem",
  794. ]
  795. ]
  796. | None = None,
  797. slot: Var[str] | str | None = None,
  798. spell_check: Var[bool] | bool | None = None,
  799. tab_index: Var[int] | int | None = None,
  800. title: Var[str] | str | None = None,
  801. style: Sequence[Mapping[str, Any]]
  802. | Mapping[str, Any]
  803. | Var[Mapping[str, Any]]
  804. | Breakpoints
  805. | None = None,
  806. key: Any | None = None,
  807. id: Any | None = None,
  808. class_name: Any | None = None,
  809. autofocus: bool | None = None,
  810. custom_attrs: dict[str, Var | Any] | None = None,
  811. on_blur: Optional[EventType[()]] = None,
  812. on_click: Optional[EventType[()]] = None,
  813. on_context_menu: Optional[EventType[()]] = None,
  814. on_double_click: Optional[EventType[()]] = None,
  815. on_focus: Optional[EventType[()]] = None,
  816. on_mount: Optional[EventType[()]] = None,
  817. on_mouse_down: Optional[EventType[()]] = None,
  818. on_mouse_enter: Optional[EventType[()]] = None,
  819. on_mouse_leave: Optional[EventType[()]] = None,
  820. on_mouse_move: Optional[EventType[()]] = None,
  821. on_mouse_out: Optional[EventType[()]] = None,
  822. on_mouse_over: Optional[EventType[()]] = None,
  823. on_mouse_up: Optional[EventType[()]] = None,
  824. on_scroll: Optional[EventType[()]] = None,
  825. on_unmount: Optional[EventType[()]] = None,
  826. **props,
  827. ) -> "StickyBadge":
  828. """Create the sticky badge.
  829. Returns:
  830. The sticky badge.
  831. """
  832. ...
  833. def add_style(self): ...
  834. class StickyNamespace(ComponentNamespace):
  835. label = staticmethod(StickyLabel.create)
  836. logo = staticmethod(StickyLogo.create)
  837. @staticmethod
  838. def __call__(
  839. *children,
  840. download: Var[bool | str] | bool | str | None = None,
  841. href: Var[str] | str | None = None,
  842. href_lang: Var[str] | str | None = None,
  843. media: Var[str] | str | None = None,
  844. ping: Var[str] | str | None = None,
  845. referrer_policy: Literal[
  846. "",
  847. "no-referrer",
  848. "no-referrer-when-downgrade",
  849. "origin",
  850. "origin-when-cross-origin",
  851. "same-origin",
  852. "strict-origin",
  853. "strict-origin-when-cross-origin",
  854. "unsafe-url",
  855. ]
  856. | Var[
  857. Literal[
  858. "",
  859. "no-referrer",
  860. "no-referrer-when-downgrade",
  861. "origin",
  862. "origin-when-cross-origin",
  863. "same-origin",
  864. "strict-origin",
  865. "strict-origin-when-cross-origin",
  866. "unsafe-url",
  867. ]
  868. ]
  869. | None = None,
  870. rel: Var[str] | str | None = None,
  871. target: Literal["_blank", "_parent", "_self", "_top"]
  872. | Var[Literal["_blank", "_parent", "_self", "_top"] | str]
  873. | str
  874. | None = None,
  875. access_key: Var[str] | str | None = None,
  876. auto_capitalize: Literal[
  877. "characters", "none", "off", "on", "sentences", "words"
  878. ]
  879. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  880. | None = None,
  881. content_editable: Literal["inherit", "plaintext-only", False, True]
  882. | Var[Literal["inherit", "plaintext-only", False, True]]
  883. | None = None,
  884. context_menu: Var[str] | str | None = None,
  885. dir: Var[str] | str | None = None,
  886. draggable: Var[bool] | bool | None = None,
  887. enter_key_hint: Literal[
  888. "done", "enter", "go", "next", "previous", "search", "send"
  889. ]
  890. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  891. | None = None,
  892. hidden: Var[bool] | bool | None = None,
  893. input_mode: Literal[
  894. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  895. ]
  896. | Var[
  897. Literal[
  898. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  899. ]
  900. ]
  901. | None = None,
  902. item_prop: Var[str] | str | None = None,
  903. lang: Var[str] | str | None = None,
  904. role: Literal[
  905. "alert",
  906. "alertdialog",
  907. "application",
  908. "article",
  909. "banner",
  910. "button",
  911. "cell",
  912. "checkbox",
  913. "columnheader",
  914. "combobox",
  915. "complementary",
  916. "contentinfo",
  917. "definition",
  918. "dialog",
  919. "directory",
  920. "document",
  921. "feed",
  922. "figure",
  923. "form",
  924. "grid",
  925. "gridcell",
  926. "group",
  927. "heading",
  928. "img",
  929. "link",
  930. "list",
  931. "listbox",
  932. "listitem",
  933. "log",
  934. "main",
  935. "marquee",
  936. "math",
  937. "menu",
  938. "menubar",
  939. "menuitem",
  940. "menuitemcheckbox",
  941. "menuitemradio",
  942. "navigation",
  943. "none",
  944. "note",
  945. "option",
  946. "presentation",
  947. "progressbar",
  948. "radio",
  949. "radiogroup",
  950. "region",
  951. "row",
  952. "rowgroup",
  953. "rowheader",
  954. "scrollbar",
  955. "search",
  956. "searchbox",
  957. "separator",
  958. "slider",
  959. "spinbutton",
  960. "status",
  961. "switch",
  962. "tab",
  963. "table",
  964. "tablist",
  965. "tabpanel",
  966. "term",
  967. "textbox",
  968. "timer",
  969. "toolbar",
  970. "tooltip",
  971. "tree",
  972. "treegrid",
  973. "treeitem",
  974. ]
  975. | Var[
  976. Literal[
  977. "alert",
  978. "alertdialog",
  979. "application",
  980. "article",
  981. "banner",
  982. "button",
  983. "cell",
  984. "checkbox",
  985. "columnheader",
  986. "combobox",
  987. "complementary",
  988. "contentinfo",
  989. "definition",
  990. "dialog",
  991. "directory",
  992. "document",
  993. "feed",
  994. "figure",
  995. "form",
  996. "grid",
  997. "gridcell",
  998. "group",
  999. "heading",
  1000. "img",
  1001. "link",
  1002. "list",
  1003. "listbox",
  1004. "listitem",
  1005. "log",
  1006. "main",
  1007. "marquee",
  1008. "math",
  1009. "menu",
  1010. "menubar",
  1011. "menuitem",
  1012. "menuitemcheckbox",
  1013. "menuitemradio",
  1014. "navigation",
  1015. "none",
  1016. "note",
  1017. "option",
  1018. "presentation",
  1019. "progressbar",
  1020. "radio",
  1021. "radiogroup",
  1022. "region",
  1023. "row",
  1024. "rowgroup",
  1025. "rowheader",
  1026. "scrollbar",
  1027. "search",
  1028. "searchbox",
  1029. "separator",
  1030. "slider",
  1031. "spinbutton",
  1032. "status",
  1033. "switch",
  1034. "tab",
  1035. "table",
  1036. "tablist",
  1037. "tabpanel",
  1038. "term",
  1039. "textbox",
  1040. "timer",
  1041. "toolbar",
  1042. "tooltip",
  1043. "tree",
  1044. "treegrid",
  1045. "treeitem",
  1046. ]
  1047. ]
  1048. | None = None,
  1049. slot: Var[str] | str | None = None,
  1050. spell_check: Var[bool] | bool | None = None,
  1051. tab_index: Var[int] | int | None = None,
  1052. title: Var[str] | str | None = None,
  1053. style: Sequence[Mapping[str, Any]]
  1054. | Mapping[str, Any]
  1055. | Var[Mapping[str, Any]]
  1056. | Breakpoints
  1057. | None = None,
  1058. key: Any | None = None,
  1059. id: Any | None = None,
  1060. class_name: Any | None = None,
  1061. autofocus: bool | None = None,
  1062. custom_attrs: dict[str, Var | Any] | None = None,
  1063. on_blur: Optional[EventType[()]] = None,
  1064. on_click: Optional[EventType[()]] = None,
  1065. on_context_menu: Optional[EventType[()]] = None,
  1066. on_double_click: Optional[EventType[()]] = None,
  1067. on_focus: Optional[EventType[()]] = None,
  1068. on_mount: Optional[EventType[()]] = None,
  1069. on_mouse_down: Optional[EventType[()]] = None,
  1070. on_mouse_enter: Optional[EventType[()]] = None,
  1071. on_mouse_leave: Optional[EventType[()]] = None,
  1072. on_mouse_move: Optional[EventType[()]] = None,
  1073. on_mouse_out: Optional[EventType[()]] = None,
  1074. on_mouse_over: Optional[EventType[()]] = None,
  1075. on_mouse_up: Optional[EventType[()]] = None,
  1076. on_scroll: Optional[EventType[()]] = None,
  1077. on_unmount: Optional[EventType[()]] = None,
  1078. **props,
  1079. ) -> "StickyBadge":
  1080. """Create the sticky badge.
  1081. Returns:
  1082. The sticky badge.
  1083. """
  1084. ...
  1085. sticky = StickyNamespace()