reflex 0.4.6a3__py3-none-any.whl → 0.4.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of reflex might be problematic. Click here for more details.

Files changed (69) hide show
  1. reflex/.templates/apps/blank/code/blank.py +1 -0
  2. reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +1 -1
  3. reflex/.templates/jinja/custom_components/src.py.jinja2 +8 -8
  4. reflex/.templates/jinja/web/pages/index.js.jinja2 +0 -4
  5. reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +2 -6
  6. reflex/.templates/web/utils/state.js +6 -1
  7. reflex/__init__.py +2 -0
  8. reflex/__init__.pyi +2 -0
  9. reflex/app.py +12 -16
  10. reflex/app.pyi +2 -0
  11. reflex/compiler/compiler.py +10 -11
  12. reflex/compiler/utils.py +3 -3
  13. reflex/components/chakra/forms/pininput.py +2 -1
  14. reflex/components/component.py +71 -131
  15. reflex/components/core/banner.py +1 -1
  16. reflex/components/core/upload.py +2 -1
  17. reflex/components/datadisplay/__init__.py +1 -0
  18. reflex/components/datadisplay/logo.py +49 -0
  19. reflex/components/el/elements/forms.py +7 -4
  20. reflex/components/el/elements/forms.pyi +0 -1
  21. reflex/components/lucide/icon.py +3 -2
  22. reflex/components/lucide/icon.pyi +2 -2
  23. reflex/components/markdown/markdown.py +10 -6
  24. reflex/components/markdown/markdown.pyi +0 -3
  25. reflex/components/radix/themes/components/select.py +10 -3
  26. reflex/config.py +1 -1
  27. reflex/config.pyi +1 -1
  28. reflex/constants/base.py +4 -5
  29. reflex/constants/base.pyi +94 -0
  30. reflex/constants/compiler.py +8 -0
  31. reflex/custom_components/custom_components.py +33 -38
  32. reflex/experimental/__init__.py +14 -0
  33. reflex/experimental/hooks.py +75 -0
  34. reflex/page.py +1 -1
  35. reflex/reflex.py +18 -32
  36. reflex/style.py +4 -4
  37. reflex/testing.py +1 -1
  38. reflex/utils/console.py +6 -4
  39. reflex/utils/exec.py +17 -1
  40. reflex/utils/export.py +0 -3
  41. reflex/utils/prerequisites.py +243 -43
  42. reflex/utils/processes.py +6 -1
  43. reflex/utils/telemetry.py +14 -2
  44. reflex/utils/types.py +3 -2
  45. reflex/vars.py +6 -6
  46. reflex/vars.pyi +2 -1
  47. {reflex-0.4.6a3.dist-info → reflex-0.4.7.dist-info}/METADATA +15 -10
  48. {reflex-0.4.6a3.dist-info → reflex-0.4.7.dist-info}/RECORD +51 -65
  49. {reflex-0.4.6a3.dist-info → reflex-0.4.7.dist-info}/WHEEL +1 -1
  50. reflex/.templates/apps/sidebar/README.md +0 -69
  51. reflex/.templates/apps/sidebar/assets/favicon.ico +0 -0
  52. reflex/.templates/apps/sidebar/assets/github.svg +0 -10
  53. reflex/.templates/apps/sidebar/assets/logo.svg +0 -68
  54. reflex/.templates/apps/sidebar/assets/paneleft.svg +0 -13
  55. reflex/.templates/apps/sidebar/assets/reflex_black.svg +0 -37
  56. reflex/.templates/apps/sidebar/assets/reflex_white.svg +0 -8
  57. reflex/.templates/apps/sidebar/code/__init__.py +0 -1
  58. reflex/.templates/apps/sidebar/code/components/__init__.py +0 -0
  59. reflex/.templates/apps/sidebar/code/components/sidebar.py +0 -152
  60. reflex/.templates/apps/sidebar/code/pages/__init__.py +0 -3
  61. reflex/.templates/apps/sidebar/code/pages/dashboard.py +0 -22
  62. reflex/.templates/apps/sidebar/code/pages/index.py +0 -18
  63. reflex/.templates/apps/sidebar/code/pages/settings.py +0 -61
  64. reflex/.templates/apps/sidebar/code/sidebar.py +0 -16
  65. reflex/.templates/apps/sidebar/code/styles.py +0 -60
  66. reflex/.templates/apps/sidebar/code/templates/__init__.py +0 -1
  67. reflex/.templates/apps/sidebar/code/templates/template.py +0 -145
  68. {reflex-0.4.6a3.dist-info → reflex-0.4.7.dist-info}/LICENSE +0 -0
  69. {reflex-0.4.6a3.dist-info → reflex-0.4.7.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  reflex/.templates/apps/blank/assets/favicon.ico,sha256=baxxgDAQ2V4-G5Q4S2yK5uUJTUGkv-AOWBQ0xd6myUo,4286
2
2
  reflex/.templates/apps/blank/code/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- reflex/.templates/apps/blank/code/blank.py,sha256=Mi1_qyQOaEp30Ta07Y0l6idpIbRvuj8uD_Wbl0y2bLs,838
3
+ reflex/.templates/apps/blank/code/blank.py,sha256=VrFd5rZKvaHrtDprNsprL3R-eIKeeSwhZhLcFv5P2wU,861
4
4
  reflex/.templates/apps/demo/.gitignore,sha256=E0XWl5WEAeQrw8_bgtaUHU1dtao3PqnkQw2CFg1_HzA,32
5
5
  reflex/.templates/apps/demo/assets/favicon.ico,sha256=baxxgDAQ2V4-G5Q4S2yK5uUJTUGkv-AOWBQ0xd6myUo,4286
6
6
  reflex/.templates/apps/demo/assets/github.svg,sha256=3iQ3eRL-89bBiXmL0joQc_c8ag_tf8jPZYe4yygGnd4,1475
@@ -29,38 +29,20 @@ reflex/.templates/apps/demo/code/webui/components/navbar.py,sha256=1T10fDy-h3rRu
29
29
  reflex/.templates/apps/demo/code/webui/components/sidebar.py,sha256=YTi33v3FMZAbPdbaA3U0AYUa1jw20aysxjyPm7H3JFY,1735
30
30
  reflex/.templates/apps/demo/code/webui/state.py,sha256=4WrimIPB0HGNLBkCgWEpE1XPO3pXQNH8nZQVPKa3FII,4001
31
31
  reflex/.templates/apps/demo/code/webui/styles.py,sha256=uRkh7p30iWWDK86UlFolT9jL2HRHEhdfaKU0tYeNS_M,2281
32
- reflex/.templates/apps/sidebar/README.md,sha256=O4htjVuua3WBX16b0JjxT8e7Y7cqJASaOIuzM0fEvKU,2392
33
- reflex/.templates/apps/sidebar/assets/favicon.ico,sha256=baxxgDAQ2V4-G5Q4S2yK5uUJTUGkv-AOWBQ0xd6myUo,4286
34
- reflex/.templates/apps/sidebar/assets/github.svg,sha256=3iQ3eRL-89bBiXmL0joQc_c8ag_tf8jPZYe4yygGnd4,1475
35
- reflex/.templates/apps/sidebar/assets/logo.svg,sha256=f_YiqcSiX3jtK3j43YmEZK6z9f-KPCXcZN6vU71wgeQ,5403
36
- reflex/.templates/apps/sidebar/assets/paneleft.svg,sha256=yXj0tH-VpnQaEwriXmb9ar2HgeXcGU5W6d4buKDUkA4,807
37
- reflex/.templates/apps/sidebar/assets/reflex_black.svg,sha256=3EnRAihBIXdNZIf5cuFystIyoV6encwuYmWLHlZfLIw,1899
38
- reflex/.templates/apps/sidebar/assets/reflex_white.svg,sha256=ucznGXW_oNzZnoNZ1aPYWDf-rOBnspFrTIz3Lw8Vb_s,908
39
- reflex/.templates/apps/sidebar/code/__init__.py,sha256=kYpJ6_dYllTemD8RF6s_LH8zL10PuK4Zuogutt1oeAI,32
40
- reflex/.templates/apps/sidebar/code/components/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- reflex/.templates/apps/sidebar/code/components/sidebar.py,sha256=_0N14kyj4B3dz9b7ACslh-FyksraBcJhIU9p6rwd-HE,3906
42
- reflex/.templates/apps/sidebar/code/pages/__init__.py,sha256=-sAdgxOrv5BNtXWFTcE2HXCXGOVxGtPabY-oyGTskks,89
43
- reflex/.templates/apps/sidebar/code/pages/dashboard.py,sha256=McQduLCrLER8cZ_fBRtOWtdruVUPXWrh7b3uKKAZ3eo,490
44
- reflex/.templates/apps/sidebar/code/pages/index.py,sha256=zLYpL9Wzh0riIgHmZKRGS7jbpVifAkyhWehOBUVVPEM,436
45
- reflex/.templates/apps/sidebar/code/pages/settings.py,sha256=je4wsOAqNGYkSCs1BcvAKh21ui1UN4D34eEltqZRbSk,1571
46
- reflex/.templates/apps/sidebar/code/sidebar.py,sha256=WXiYCt4a_stS1IQ4qZp4BLdnEmUI5rEQ5uWazUx9bzA,270
47
- reflex/.templates/apps/sidebar/code/styles.py,sha256=zt-zTHvs_wvCww0YqkkyjT1ALcIE0NRcH_SNu9XVsbE,1570
48
- reflex/.templates/apps/sidebar/code/templates/__init__.py,sha256=QpwPNBsNWxZbp6GBzSIjGwbQ_Dl1Zk_5ODaSxb6rZJ4,43
49
- reflex/.templates/apps/sidebar/code/templates/template.py,sha256=HmMOkeWFC7rHzTOiTCsyx0tQWnhktgdE9EN_W7dyI7U,3904
50
32
  reflex/.templates/jinja/app/rxconfig.py.jinja2,sha256=Scfnv_vZXIPQcz8zNIa4FmjEym1U5VMMWX4lryUMi10,74
51
33
  reflex/.templates/jinja/custom_components/README.md.jinja2,sha256=qA4XZDxOTc2gRIG7CO1VvVawOgThwZqU2RZvRTPhXwE,127
52
34
  reflex/.templates/jinja/custom_components/__init__.py.jinja2,sha256=z5n2tvoS7iNDaM6mUGKETdpGlC0oA1_rrYURu7O_xpk,32
53
35
  reflex/.templates/jinja/custom_components/demo_app.py.jinja2,sha256=ipbKtObNqQLcwbFowod_bSWW4bttW_8bNyTXl7JL1zg,826
54
- reflex/.templates/jinja/custom_components/pyproject.toml.jinja2,sha256=mPiBk3jt-jl-cC3FlROP-ScjPpb8SXyLt5rFE19R-ic,615
55
- reflex/.templates/jinja/custom_components/src.py.jinja2,sha256=JZyMF2PP1u2BWVJ5_qnQPK8J1ZQ_6VN7M4RxODR4sV8,2262
36
+ reflex/.templates/jinja/custom_components/pyproject.toml.jinja2,sha256=PfE_WclDh5mknUkTh0D9uWseht38GvPpDu8-31TwkzI,614
37
+ reflex/.templates/jinja/custom_components/src.py.jinja2,sha256=e80PwMI6NoeQtGJ0NXWhYrkqUe7jvvJTFuztYQe-R5w,2403
56
38
  reflex/.templates/jinja/web/package.json.jinja2,sha256=YU9PF8WgiQ8OPlG3oLDX31t2R0o6DFntCh698NTiDK8,548
57
39
  reflex/.templates/jinja/web/pages/_app.js.jinja2,sha256=rmyh8K-1dqEdRzj5CcYGERa6_GTErkJoQ8z77Kw_ZLk,930
58
40
  reflex/.templates/jinja/web/pages/_document.js.jinja2,sha256=E2r3MWp-gimAa6DdRs9ErQpPEyjS_yV5fdid_wdOOlA,182
59
41
  reflex/.templates/jinja/web/pages/base_page.js.jinja2,sha256=-Jykv29ZqzsQyyRe_iR2gUD5ac-X5RhDrGs0-diOMOA,400
60
42
  reflex/.templates/jinja/web/pages/component.js.jinja2,sha256=1Pui62uSL7LYA7FXZrh9ZmhKH8vHYu663eR134hhsAY,86
61
43
  reflex/.templates/jinja/web/pages/custom_component.js.jinja2,sha256=jDqpIxibHp1imx6xT8cpr8hgdXXWHTU7uqYB5pBvyXk,882
62
- reflex/.templates/jinja/web/pages/index.js.jinja2,sha256=76fvCk0qrSK2DQyZ_8hYTcASNqzUDi82H3hYFvpKnuU,412
63
- reflex/.templates/jinja/web/pages/stateful_component.js.jinja2,sha256=5c9jtCp6jEdsVuBZVywgL5MnoZ3TYQnckx5vCrblPsc,461
44
+ reflex/.templates/jinja/web/pages/index.js.jinja2,sha256=5yzGDRJ-pMCnYwVSnUCQk7eZK-hfD0VW7tLISHkMnvA,343
45
+ reflex/.templates/jinja/web/pages/stateful_component.js.jinja2,sha256=jl8HEaDdJbb_CuTjGsdHOeyv9pf3HpwO8ugP2vlLSw0,388
64
46
  reflex/.templates/jinja/web/pages/stateful_components.js.jinja2,sha256=BfHi7ckH9u5xOliKWxjgmnia6AJbNnII97SC-dt_KSU,101
65
47
  reflex/.templates/jinja/web/pages/utils.js.jinja2,sha256=xi1ryZ2dqWM4pmB4p028hxRtsdP6T3ZR5a8OG_U1IAs,3883
66
48
  reflex/.templates/jinja/web/styles/styles.css.jinja2,sha256=4-CvqGR8-nRzkuCOSp_PdqmhPEmOs_kOhskOlhLMEUg,141
@@ -77,19 +59,19 @@ reflex/.templates/web/styles/tailwind.css,sha256=zBp60NAZ3bHTLQ7LWIugrCbOQdhiXdb
77
59
  reflex/.templates/web/utils/client_side_routing.js,sha256=iGGnZY07XMNLUT2GT_Y6OEICP7uc1FaWn9cPlQUpGgo,1254
78
60
  reflex/.templates/web/utils/helpers/dataeditor.js,sha256=anZgi8RJ_J0yqDez1Ks51fNDIQOvP3WkIm1QRDwccSk,1622
79
61
  reflex/.templates/web/utils/helpers/range.js,sha256=FevdZzCVxjF57ullfjpcUpeOXRxh5v09YnBB0jPbrS4,1152
80
- reflex/.templates/web/utils/state.js,sha256=8-23V8L-SPZ7AxZTZrS9GnaGNctbZFjQyuvA48niVAU,21563
81
- reflex/__init__.py,sha256=q-Bl8LGgPQ_PJeMjCimCp1QrvGIzATyUxQ9WhXCChHg,5676
82
- reflex/__init__.pyi,sha256=HJBNJ__wI-Ub-5zPdAh2VfKSJ48dvh41fkkydDjrAGg,7565
62
+ reflex/.templates/web/utils/state.js,sha256=m5gabxVM8O54fqgdQWu0gZ9XfptQIC2VymMWAPaslZs,21688
63
+ reflex/__init__.py,sha256=qwTfjJemUEeC1Nt3WY1K7YQfy4wexNg6nXQ1PPWNzzk,5723
64
+ reflex/__init__.pyi,sha256=5z4RX4_rMuLjtXgZry7e_fnvmcZG2oKT7CHcmHSv0OA,7649
83
65
  reflex/__main__.py,sha256=6cVrGEyT3j3tEvlEVUatpaYfbB5EF3UVY-6vc_Z7-hw,108
84
66
  reflex/admin.py,sha256=-bTxFUEoHo4X9FzmcSa6KSVVPpF7wh38lBvF67GhSvQ,373
85
- reflex/app.py,sha256=czuw0LtiTdBYuNpk2ncV1GaIadlCSwARWuGV9h-IHP8,44631
86
- reflex/app.pyi,sha256=rbma5FRlD76JOtdFxUcWrgcVuLS47CmXivr-f8vKTbY,4928
67
+ reflex/app.py,sha256=HOOX7ghG6xBN0E2tuhm7mP6gaM-yznLIsvlbIL3ExyM,44562
68
+ reflex/app.pyi,sha256=y6giMJpuUCQguCyrGQKnWvhDCpuN9ktXoNb7OZl5l2g,5010
87
69
  reflex/app_module_for_backend.py,sha256=APD4jFsG-Tfd0vZWAfsdBYj4E4PeGZjjWeOZwBfUKRM,1152
88
70
  reflex/base.py,sha256=oVOWMxWOSc96Jon0R4fWrSt0PkMqoPhaM0PJGoK147o,4250
89
71
  reflex/compiler/__init__.py,sha256=r8jqmDSFf09iV2lHlNhfc9XrTLjNxfDNwPYlxS4cmHE,27
90
- reflex/compiler/compiler.py,sha256=j4_fSMOMMeS_cMCrDgsKmF9SXKSg6PXJDcSVxHcHEys,17012
72
+ reflex/compiler/compiler.py,sha256=M8F3F2Ul_K-Y9ty2eYhu3iZnQNNYhb_wr3uycjwo0qs,17037
91
73
  reflex/compiler/templates.py,sha256=TKjq2cTtiwNZ_zIYNSTA6vG3CU2EoyrFTfkq8zhAL68,4344
92
- reflex/compiler/utils.py,sha256=yGYtK_5JS1N7nOQt59xEtUfqkudzEBYlAEybNxnCZho,13997
74
+ reflex/compiler/utils.py,sha256=NiPTBrNI2-boGVqzy9AQzbtNZQ8bGNrD_7VxFzmdTMg,14022
93
75
  reflex/components/__init__.py,sha256=_HDLeN8JYJaL2vsx0O7ihzAnIJUtUL2zknAUbT9YLYg,530
94
76
  reflex/components/base/__init__.py,sha256=regtioYXwTxqWuf4Z7H51rjn2Vs1Kr1Fh_i4s-W1m0A,325
95
77
  reflex/components/base/app_wrap.py,sha256=_LPpPO8c8M6dyEsyoahJaDKk-zEK4qvR_lSnaLpqUKM,573
@@ -175,7 +157,7 @@ reflex/components/chakra/forms/numberinput.py,sha256=8TrkEmE4PyxDQ0nlHIWwz-1Jhpy
175
157
  reflex/components/chakra/forms/numberinput.pyi,sha256=WHKoLc_xU8_cVAoTakRsxkqKwQ8roG7EKewVbX_oj2c,18377
176
158
  reflex/components/chakra/forms/password.py,sha256=rjFELopI5j5exce9QZJqf4hSIp5aW44DUbpbpfiB24w,256
177
159
  reflex/components/chakra/forms/password.pyi,sha256=7fVBY1OjuJKJZiOIZrDgjBUBMzg1UCQGWlRsPpVr0Qs,5834
178
- reflex/components/chakra/forms/pininput.py,sha256=ZmA4wDve9NVGOqc_6rN5LJFgnz2YvZRBiijtIIXDImg,6501
160
+ reflex/components/chakra/forms/pininput.py,sha256=PZX8z86Pihvh5ifOnfBWk1u-l9ej7mnTm1DfiXiEUC8,6507
179
161
  reflex/components/chakra/forms/pininput.pyi,sha256=Ypsy_ZIGGXLNKyDHjCKtY_vXkLFRCOL8N2croQ1prYU,9432
180
162
  reflex/components/chakra/forms/radio.py,sha256=zvfm04qyWnflk8ZfXnW4Samu12ySo24C3T4oAu_h4kA,3176
181
163
  reflex/components/chakra/forms/radio.pyi,sha256=mgxiJzvsxYONoiJHs0GOD2jEX7FT9TabIRpE6AtXi14,8414
@@ -250,9 +232,9 @@ reflex/components/chakra/typography/span.py,sha256=2DbW5DB27ijtTeugSDUVp3nQ64mrG
250
232
  reflex/components/chakra/typography/span.pyi,sha256=fOYu3o8OaSDwaWiu-7CrEm8w9azlxHhiZcKqcFxRe6o,3443
251
233
  reflex/components/chakra/typography/text.py,sha256=9YXBdK5UYqgDam3ITeRSnd8bu9ht3zydt0pkmJAECsk,472
252
234
  reflex/components/chakra/typography/text.pyi,sha256=QwD1kqrIpXwu-RaZpnoGbsMHb4D3t9CfHjgbS7ds9G8,3667
253
- reflex/components/component.py,sha256=ZMVHpkh6ajAqpX5OCtKtQgy3M_Y8AiXn4h3DslLCbCE,66152
235
+ reflex/components/component.py,sha256=LtZmicoXd9AXuj1WQXX7fCg8bpl7-_lRD1Elhcy_oP8,64790
254
236
  reflex/components/core/__init__.py,sha256=mMSd2IZqBgGf7zkjuPeA-oIiIXu_O08fk9x15D8hBSU,844
255
- reflex/components/core/banner.py,sha256=kc9vSySgXzFxB_XaeWlw51UC4LaujrSjRSmgQI4z0yI,5937
237
+ reflex/components/core/banner.py,sha256=DxYh4ORFIQlPPxvT-gudF0A8yj22oy6D_0IldTVHuZU,5943
256
238
  reflex/components/core/banner.pyi,sha256=PPS1GJLp5uyD1h6mI0Fs-IKf9w4l7qG50rmkSA_HVno,17164
257
239
  reflex/components/core/client_side_routing.py,sha256=mdZsGuc1V9qvOE0TaLEnXmXo0qHuPjc_dZrSjnlZsqc,1873
258
240
  reflex/components/core/client_side_routing.pyi,sha256=FWhsNuSnkQYgrXKBfu7aWcIIr12sx4hkFBT-18mZ4us,6406
@@ -266,13 +248,14 @@ reflex/components/core/html.pyi,sha256=6lqiYm9XUcRuR1kW6Ken8GAyf63-f5R5Swrli9B0e
266
248
  reflex/components/core/layout/__init__.py,sha256=znldZaj_NGt8qCZDG70GMwjMTskcvCf_2N_EjCAHwdc,30
267
249
  reflex/components/core/match.py,sha256=XP5JEOTQ_jnmJ8LRWoC7TeAOYyKSE3Qw6-BjVDDu5m0,9989
268
250
  reflex/components/core/responsive.py,sha256=ycKULWxCRiUC_eWf_B1nhk9K0JXx5Uxw7acwPgWO8R4,1907
269
- reflex/components/core/upload.py,sha256=pS7VUtF1bacQL8iwojiZq7b0vx0ZF5uUu9TqbO_UuUo,8993
251
+ reflex/components/core/upload.py,sha256=zmyszQqaV-Y6gLHYM_BovmPoD4MUoP8ZVJR-0i3XPN8,9000
270
252
  reflex/components/core/upload.pyi,sha256=ydHJzn0k1PgedzGZ2bho8iNwyQIwOH2EkvmS2SESdOQ,8667
271
- reflex/components/datadisplay/__init__.py,sha256=Uag6mVnKyDpVIIChVzeUdxXfGWRTO19s6KQ8UXVWDSk,334
253
+ reflex/components/datadisplay/__init__.py,sha256=9HXaq0tuYBDm06AeWYmi1ywwNBsFEnbSe3zlVNCw7wk,357
272
254
  reflex/components/datadisplay/code.py,sha256=yHOBO28grF8EZzbVZ-iiBrAF05AxHRTM39QX9g0j7bc,11227
273
255
  reflex/components/datadisplay/code.pyi,sha256=n3wbVKBBzjhkL6KP9bUZYQ9mvGZaM35cDmqIs2XLj44,31107
274
256
  reflex/components/datadisplay/dataeditor.py,sha256=WdeEGRVlC1W2WnPn4zKhmyoaKTqgowqiiLg8zeuHTGw,12632
275
257
  reflex/components/datadisplay/dataeditor.pyi,sha256=e451O8T16GDPd01W5wPeIYynFO16keYW5EcSpOgF0m0,10485
258
+ reflex/components/datadisplay/logo.py,sha256=fdQ9gDxBln8MDRDN3hP4JkF6BhttnD6GhgGRaBmu0EU,2562
276
259
  reflex/components/el/__init__.py,sha256=3QR9GuYBnFvtxLQm_aeSUzGJsqJBUjeTt6tcHyCqAcQ,73
277
260
  reflex/components/el/constants/__init__.py,sha256=9h2hdnOSltQLDEM6w1nGmv1B8Bf0tMquTCi5RhvBT6c,113
278
261
  reflex/components/el/constants/html.py,sha256=hIebFwWritMmd3VCMYBNg0k_2UM1QDIhT_Q-EQsCWEA,7175
@@ -283,8 +266,8 @@ reflex/components/el/element.pyi,sha256=SITIQnDK-QtlwJNASXLmbdZAzCgAbI4oNdfNonY-
283
266
  reflex/components/el/elements/__init__.py,sha256=WYfDTRAgm47AcIf2ePjzVHKOVEKDW1IpyQ5NG664sRA,3529
284
267
  reflex/components/el/elements/base.py,sha256=7o_ifyF0Hq_zRpF5-WbiXWP7cgsiXju1jllUPnrOK8w,1982
285
268
  reflex/components/el/elements/base.pyi,sha256=qhpHzY_6qWH-ng0L7UDIvKAcDNDq6XAWa1x2eC9hCkw,6411
286
- reflex/components/el/elements/forms.py,sha256=jnVrmjcFf_tThZaPMGoN5k_pObGjafy26upPupKRjo0,20046
287
- reflex/components/el/elements/forms.pyi,sha256=Ve11hV0XLSMg6WEBtaOkQM3I9GSYJvAwv3o8E0JvxG4,100523
269
+ reflex/components/el/elements/forms.py,sha256=VdGfO6eHI_I1Dij2fGavM3G1BOLeZTNAbT_a1Jye7WQ,20102
270
+ reflex/components/el/elements/forms.pyi,sha256=b15l8fP1DObftk6WPCE-FtzhUQKWKi3DtBJS9PH6hRM,100476
288
271
  reflex/components/el/elements/inline.py,sha256=0NozHMAyJaaUCRbmjX0MqMRmRYYmPk2EOCtKAr6SIE8,3610
289
272
  reflex/components/el/elements/inline.pyi,sha256=WMcrJOSEX1A4QP3gWSUNlfMELbEq7eFNwJyPjmISwag,166595
290
273
  reflex/components/el/elements/media.py,sha256=leBasBQ4NS4xRxTY7U3s7T8CdiFlTO6n3lc8v-7lhdM,7929
@@ -306,11 +289,11 @@ reflex/components/gridjs/datatable.py,sha256=jinq5J8CIcmdbMynVLc9HAPCAVhozsN_gjX
306
289
  reflex/components/gridjs/datatable.pyi,sha256=0lZJE_FC0Nq5tVRMv2VsMPfIlsGhwQniNoFgCWzsBl0,7124
307
290
  reflex/components/literals.py,sha256=hogLnwTJxFJODIvqihg-GD9kFZVsEBDoYzaRit56Nuk,501
308
291
  reflex/components/lucide/__init__.py,sha256=EggTK2MuQKQeOBLKW-mF0VaDK9zdWBImu1HO2dvHZbE,73
309
- reflex/components/lucide/icon.py,sha256=VQQXTGGPi55DBT-3ROIMu7awIlzCq_WbrzWClgwm6nU,34206
310
- reflex/components/lucide/icon.pyi,sha256=niEcfSFEue3cHD9NeRq2UEEmh7SamK6bjp3JZ6ZKxh8,38019
292
+ reflex/components/lucide/icon.py,sha256=r-2o0_Cfsooad6oWmEvt2gjAZQwwkQX_Oflv8oyfcLw,34237
293
+ reflex/components/lucide/icon.pyi,sha256=8A9R0Tf5zszS627Pt55TGL5Po42TxelLMQoWCToykyQ,38020
311
294
  reflex/components/markdown/__init__.py,sha256=Dfl1At5uYoY7H4ufZU_RY2KOGQDLtj75dsZ2BTqqAns,87
312
- reflex/components/markdown/markdown.py,sha256=v6mQN4vvRqSV57iy3-A3fDEHk2kamOnQArc_lRzXDLs,11348
313
- reflex/components/markdown/markdown.pyi,sha256=ANonxADcyMQSA0QG54hMuYpoBbvN7ID-Xc-B6w7d4Kg,5387
295
+ reflex/components/markdown/markdown.py,sha256=lmNv8TiUpmzmPQc8KcOV0tS_bPEsiJnF2Hwgij1akIk,11448
296
+ reflex/components/markdown/markdown.pyi,sha256=zWh6GTxnthGDMZARfBNm-h1n0evbrGCbbWe4rb6EQiY,5278
314
297
  reflex/components/media/__init__.py,sha256=TsrfSzpXcRImityfegI2N9-vfj1a47ONUS-vyCUCEds,44
315
298
  reflex/components/media/icon.py,sha256=1N268zLI9opst8EQkF5gPA-UN0aMprguUJgSbdFdo5g,102
316
299
  reflex/components/moment/__init__.py,sha256=XSYjQyEDvcSyLhS0uaoBWlLSp-whmqCkhvXh7bpotAY,79
@@ -390,7 +373,7 @@ reflex/components/radix/themes/components/radiogroup.pyi,sha256=4A_iObTwZH2Be9I0
390
373
  reflex/components/radix/themes/components/scroll_area.py,sha256=0Oc5K7sycSH_X8HbVI2A_FS8AddoFXcwvH_YZpsjTkc,920
391
374
  reflex/components/radix/themes/components/scroll_area.pyi,sha256=jtpiX8b4LZWZwpUi4jElgkBfwOLIDgjnOSm-W88oaXc,4427
392
375
  reflex/components/radix/themes/components/scrollarea.pyi,sha256=rwOEpVI0m9gMjlSPPwOgUGc4n8tD2g5NQZ-NyvBGFWg,6513
393
- reflex/components/radix/themes/components/select.py,sha256=BFx07foqIUm_neLZwiKV6Ddr_HRLZKtklRLHyGvwEv4,7906
376
+ reflex/components/radix/themes/components/select.py,sha256=otgJdSdoE9VVv2z3PgtKJmDY_Ln6wPJlCz2ixFp9mDY,8028
394
377
  reflex/components/radix/themes/components/select.pyi,sha256=u5bmgAuFqV1A9_avfUZ9uYxWi8y0eqqM7-H_LVKEyaw,45123
395
378
  reflex/components/radix/themes/components/separator.py,sha256=si-4AZAKvjQwo6DCiHKdND7pK13vL1eWHCTO5OpIfb0,868
396
379
  reflex/components/radix/themes/components/separator.pyi,sha256=Uw1Bk8px4gCdv-1gnhH_z8x2Uq68ksE9773G3uLLxDo,6078
@@ -473,12 +456,13 @@ reflex/components/tags/iter_tag.py,sha256=edHT77BBlvKtGP3f4cu_hhlovkYUO5FGTZKHkJ
473
456
  reflex/components/tags/match_tag.py,sha256=pMwy46ewquPNwa1S71sDS_0Ga8YuviSrbpBU-_CWsoQ,387
474
457
  reflex/components/tags/tag.py,sha256=hT7zHJyut6SlCiQS6SZ-CaUrHgfLgm9NjNDQWo7uCEQ,2778
475
458
  reflex/components/tags/tagless.py,sha256=qO7Gm4V0ITDyymHkyltfz53155ZBt-W_WIPDYy93ca0,587
476
- reflex/config.py,sha256=1cdHF5nryLbN9ScQl2aZOSiwPn-CuA-sYNVKJOcX0KU,11089
477
- reflex/config.pyi,sha256=yLCqx4jzCO2vXHqDucvvVJXG8n7tHbeZyAmCbQtoDTM,3325
459
+ reflex/config.py,sha256=X3EuGVVUv4trzc2tLZwhzwc3uVQTUtiBEPZr_atAfgk,11082
460
+ reflex/config.pyi,sha256=zQwPQ1bN4HjTHQGeKGOONrFPpw7XN7Osi2L41cRwtyw,3318
478
461
  reflex/constants/__init__.py,sha256=jraOx-vMBIhpcvw3Pk0j3syZ3SSC2IXc1XsuIY0cgBc,2036
479
- reflex/constants/base.py,sha256=A9XCFVJyOj6PQ8WDIW61ZUwx5gmeuXyRbyvuPcGPIWw,5818
462
+ reflex/constants/base.py,sha256=qaJIa0W_IJ_s7uoe17PWN6T7a2Yvw8c-elGgPGG1M8M,5640
463
+ reflex/constants/base.pyi,sha256=S9mWWVp88KP16Cnh3guOPqLtIHc24SBBk6oKdoU1jgc,2980
480
464
  reflex/constants/colors.py,sha256=G9GKXNF-iIGti2xugCb8VIvNjKn6Vnbcv4TqSJ1EKF4,1599
481
- reflex/constants/compiler.py,sha256=ddlVpVPimB-CvNuw38HhsO1nd4OwIZaxQbpwrEm17lQ,3852
465
+ reflex/constants/compiler.py,sha256=mNtx6wDot1SsMgL-lCYLz7GlsZR3zK5Ncvm1ZPtcUFA,4137
482
466
  reflex/constants/config.py,sha256=7uUypVy-ezLt3UN3jXEX1XvL3sKaCLBwnJCyYjg9erI,1331
483
467
  reflex/constants/custom_components.py,sha256=SX0SQVb-d6HJkZdezFL4UgkumyF6eJF682y4OvRUqUM,1268
484
468
  reflex/constants/event.py,sha256=7cEUTWdIhWVw7g5Bn9yTZlxNnJY5MeJL55q-vT1YOZ0,2668
@@ -486,38 +470,40 @@ reflex/constants/installer.py,sha256=wzoO_TaXF6N54CKmqpSSzT9QGIPalYn245AtUIIlEY0
486
470
  reflex/constants/route.py,sha256=9ydQEdlz3YwGmGMHVGz7zA-INoOLtz_xUU2S-WmhZZM,1940
487
471
  reflex/constants/style.py,sha256=gSzu0sQEQjW81PekxJnwRs7SXQQVco-LxtVjCi0IQZc,636
488
472
  reflex/custom_components/__init__.py,sha256=R4zsvOi4dfPmHc18KEphohXnQFBPnUCb50cMR5hSLDE,36
489
- reflex/custom_components/custom_components.py,sha256=v8qe2MD8Z0GelVY4_BBkIJWmLS9VaUrCrzYzc4OwxAE,32037
473
+ reflex/custom_components/custom_components.py,sha256=Q2Ef3QvO3fheL-rcUF8g92xmY54UtJAHs7t_Dq1P65A,31705
490
474
  reflex/event.py,sha256=tQH1fLdBrTRI150VxiK6SbUBByPQxMNDylaSBYVliYM,26634
475
+ reflex/experimental/__init__.py,sha256=nx9HxdZfYmCjR6LWbB6ms1Y_saZQWVQBUNSQAFs_F6s,287
476
+ reflex/experimental/hooks.py,sha256=8LWdoq1aQPCA3ySDtlUzsPGiizM8CINvHUU6-ukZIFs,1647
491
477
  reflex/middleware/__init__.py,sha256=x7xTeDuc73Hjj43k1J63naC9x8vzFxl4sq7cCFBX7sk,111
492
478
  reflex/middleware/hydrate_middleware.py,sha256=iXgB_VID2moU9gNpc79TJHGGhQgDH6miT32T_0Ow5tU,1484
493
479
  reflex/middleware/middleware.py,sha256=PX9TPaCHI1O-F3OucsZSp94gtMP3ALYs3zXSALOlN9E,1169
494
480
  reflex/model.py,sha256=tYmzGknVtDk-3qBi84pw4xxEwZIRhjDJGkTBpUcjCQA,13091
495
- reflex/page.py,sha256=tyqyisi3AUapkoStPNROI7fM0rZ9KU1lpi5OgJcGsvk,1922
496
- reflex/reflex.py,sha256=Xd68qPYWh0qIVF1v_xKFPeIuToliqECGgYbIlROXoTs,18257
481
+ reflex/page.py,sha256=4FYtFn52sMb0ZhR5xHWd559HmRcpsMAHx9jjKchiyGE,1921
482
+ reflex/reflex.py,sha256=Tl-yi5jR0rXW2ZIkjZ8e9H9K9FkSA_FUG4mfAkPo-rk,17871
497
483
  reflex/route.py,sha256=mRv4rHuSI6x-uWALujPfM5PNtoRea6cuThjchHtA2hQ,2908
498
484
  reflex/state.py,sha256=Crlh4A916t1dmURTD_ZvQz0ihhPxEaWswgY6rbgdBE0,105642
499
- reflex/style.py,sha256=FEkQEsGU8v4q3pILdhTWNh1KwIh3LgS_n0Yx-wxFUhQ,8820
500
- reflex/testing.py,sha256=W2FfNWFMZdcHhic5EMQMFU0o01CaAsKRqIjvc29mqus,29811
485
+ reflex/style.py,sha256=3gM5xJpn1yd5UnRDRKrJWgCd871Rj_ZnxhQyWCspx2Q,8834
486
+ reflex/testing.py,sha256=_tE8HYqrhpbra7LPaN_d2a_5X1bPh3RosddNx05s6Is,29808
501
487
  reflex/utils/__init__.py,sha256=y-AHKiRQAhk2oAkvn7W8cRVTZVK625ff8tTwvZtO7S4,24
502
488
  reflex/utils/build.py,sha256=9LE93QlbfTHYyQWTgGZYSXX7QGDYzuE01ttWUVw_rGQ,8573
503
- reflex/utils/console.py,sha256=X6LJX_7246VnP28-FDFiNGQKoH3HNRtqvfvlfveOuEQ,4941
489
+ reflex/utils/console.py,sha256=0tXRzziZcTCsGgW5kTHmuc4rdgkAf0xD10Gx8_J1vhg,5018
504
490
  reflex/utils/exceptions.py,sha256=oniHYS_c18hvwva4tvEmO33Fjmp605uFJBX4liKuqp8,504
505
- reflex/utils/exec.py,sha256=jQH2JxwcrJYlsMVkPyndjunJOCnU__e2-WMKk9TFuSo,9414
506
- reflex/utils/export.py,sha256=daLyx4W-Kjit7Wjg5Db7-yFarF8r0d2IJ8aliXLDXZo,2454
491
+ reflex/utils/exec.py,sha256=EzoY78uAhkSP8hm4Dxe_FQmWqSYq9vQtck5ukRBgY3Q,9969
492
+ reflex/utils/export.py,sha256=XzoJ9ipgT4jVOCy98XamdLv_99YI3-fE2FuVK9_HDiU,2357
507
493
  reflex/utils/format.py,sha256=4vY7NP-f7B2euJ5F5dM3yh5SYPzCY3bVZDATG2DMaMU,22648
508
494
  reflex/utils/imports.py,sha256=yah1kSVsOyUxA0wOMxJTwcmu6xlmkLJtV_zRIhshpsA,1919
509
495
  reflex/utils/path_ops.py,sha256=Vy6fU_bXvOcCvbXdTSmeLwy_C4h9seYU-3yIrVdZEZQ,4737
510
- reflex/utils/prerequisites.py,sha256=XnNsVQ6P7gjPB3KZyB2PoucgQ2HDKeC4H0ge3pF1MgU,38849
511
- reflex/utils/processes.py,sha256=8RLqpeotmEFdGfQ7QWwqIp0DV31WZjgDbsvyYCF71yI,8279
496
+ reflex/utils/prerequisites.py,sha256=eZRuHKmUm59Hj_VEc91u3v8LJL6WGkmJDLpW2AXud8Y,45847
497
+ reflex/utils/processes.py,sha256=SaDkqJVyhdyp5gE3Rn8MbU1VMNGN3BTObK5WWwqoEAE,8481
512
498
  reflex/utils/pyi_generator.py,sha256=VyGG0Tj3nvyBi2OQU-oscWRhJyRiYG9rUvJolKLK5Gg,27674
513
499
  reflex/utils/serializers.py,sha256=4LOCpri11NKVocnPb4zzgIBvW8fT-fX0h_1DIMfv5yI,8538
514
- reflex/utils/telemetry.py,sha256=iQBH5gcAmMBOyGjb49yqQXJudJsG_jpxsdxW4a-Xs3g,3760
515
- reflex/utils/types.py,sha256=-OT6RLGOfKnzlArNua7Kld6DLFeUFAasHS5B2RjLqsE,13585
500
+ reflex/utils/telemetry.py,sha256=NYAzPe7nU0EUwq2hIAByOzlie_5RhFlfHganBqG5OfA,4013
501
+ reflex/utils/types.py,sha256=IUU7Gb6A_b-m1GbLb-fFhCp89YGddDgfCjSttF9od2c,13677
516
502
  reflex/utils/watch.py,sha256=HzGrHQIZ_62Di0BO46kd2AZktNA3A6nFIBuf8c6ip30,2609
517
- reflex/vars.py,sha256=LNQkoL58s5Ea4nB8H8N6ZUe24xzuC_4lNpqnDUi50p8,67145
518
- reflex/vars.pyi,sha256=4sZo25A0nZ5nLhZ_uUnnz8enzBddhBvGmuHZAM2JhU4,5575
519
- reflex-0.4.6a3.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
520
- reflex-0.4.6a3.dist-info/METADATA,sha256=c0_RIq4-ml9_zuDJ06tAABRpmFQ2bxEGudsd9re1uWU,11367
521
- reflex-0.4.6a3.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
522
- reflex-0.4.6a3.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
523
- reflex-0.4.6a3.dist-info/RECORD,,
503
+ reflex/vars.py,sha256=mef13GC4G_Iqicliyp6k9EWGULC1p1UewgM7gJODcBw,67152
504
+ reflex/vars.pyi,sha256=7sVCLoLg9Y7QAmXWz6FCtVmScpSV84u0yQ3ZBImb_Bk,5583
505
+ reflex-0.4.7.dist-info/LICENSE,sha256=dw3zLrp9f5ObD7kqS32vWfhcImfO52PMmRqvtxq_YEE,11358
506
+ reflex-0.4.7.dist-info/METADATA,sha256=YWbBojYwXsTkHnuSj9lyShlPqiaZf65NTGgG0vIH53I,11813
507
+ reflex-0.4.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
508
+ reflex-0.4.7.dist-info/entry_points.txt,sha256=H1Z5Yat_xJfy0dRT1Frk2PkO_p41Xy7fCKlj4FcdL9o,44
509
+ reflex-0.4.7.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.6.1
2
+ Generator: poetry-core 1.9.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,69 +0,0 @@
1
- # Welcome to Reflex!
2
-
3
- This is the base Reflex template - installed when you run `reflex init`.
4
-
5
- If you want to use a different template, pass the `--template` flag to `reflex init`.
6
- For example, if you want a more basic starting point, you can run:
7
-
8
- ```bash
9
- reflex init --template blank
10
- ```
11
-
12
- ## About this Template
13
-
14
- This template has the following directory structure:
15
-
16
- ```bash
17
- ├── README.md
18
- ├── assets
19
- ├── rxconfig.py
20
- └── {your_app}
21
- ├── __init__.py
22
- ├── components
23
- │   ├── __init__.py
24
- │   └── sidebar.py
25
- ├── pages
26
- │   ├── __init__.py
27
- │   ├── dashboard.py
28
- │   ├── index.py
29
- │   └── settings.py
30
- ├── styles.py
31
- ├── templates
32
- │   ├── __init__.py
33
- │   └── template.py
34
- └── {your_app}.py
35
- ```
36
-
37
- See the [Project Structure docs](https://reflex.dev/docs/getting-started/project-structure/) for more information on general Reflex project structure.
38
-
39
- ### Adding Pages
40
-
41
- In this template, the pages in your app are defined in `{your_app}/pages/`.
42
- Each page is a function that returns a Reflex component.
43
- For example, to edit this page you can modify `{your_app}/pages/index.py`.
44
- See the [pages docs](https://reflex.dev/docs/pages/routes/) for more information on pages.
45
-
46
- In this template, instead of using `rx.add_page` or the `@rx.page` decorator,
47
- we use the `@template` decorator from `{your_app}/templates/template.py`.
48
-
49
- To add a new page:
50
-
51
- 1. Add a new file in `{your_app}/pages/`. We recommend using one file per page, but you can also group pages in a single file.
52
- 2. Add a new function with the `@template` decorator, which takes the same arguments as `@rx.page`.
53
- 3. Import the page in your `{your_app}/pages/__init__.py` file and it will automatically be added to the app.
54
-
55
-
56
- ### Adding Components
57
-
58
- In order to keep your code organized, we recommend putting components that are
59
- used across multiple pages in the `{your_app}/components/` directory.
60
-
61
- In this template, we have a sidebar component in `{your_app}/components/sidebar.py`.
62
-
63
- ### Adding State
64
-
65
- As your app grows, we recommend using [substates](https://reflex.dev/docs/substates/overview/)
66
- to organize your state.
67
-
68
- You can either define substates in their own files, or if the state is
69
- specific to a page, you can define it in the page file itself.
@@ -1,10 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Github" clip-path="url(#clip0_469_1929)">
3
- <path id="Vector" d="M8.0004 0.587524C3.80139 0.587524 0.400391 3.98851 0.400391 8.1875C0.400391 11.5505 2.57589 14.391 5.59689 15.398C5.97689 15.4645 6.11939 15.2365 6.11939 15.037C6.11939 14.8565 6.10989 14.258 6.10989 13.6215C4.20039 13.973 3.70639 13.156 3.55439 12.7285C3.46889 12.51 3.09839 11.8355 2.77539 11.655C2.50939 11.5125 2.12939 11.161 2.76589 11.1515C3.36439 11.142 3.79189 11.7025 3.93439 11.9305C4.61839 13.08 5.71089 12.757 6.14789 12.5575C6.21439 12.0635 6.41388 11.731 6.6324 11.541C4.94139 11.351 3.17439 10.6955 3.17439 7.7885C3.17439 6.962 3.46889 6.27801 3.95339 5.74601C3.87739 5.55601 3.61139 4.77701 4.02939 3.73201C4.02939 3.73201 4.66589 3.53251 6.11939 4.51101C6.7274 4.34001 7.3734 4.25451 8.0194 4.25451C8.6654 4.25451 9.3114 4.34001 9.9194 4.51101C11.3729 3.52301 12.0094 3.73201 12.0094 3.73201C12.4274 4.77701 12.1614 5.55601 12.0854 5.74601C12.5699 6.27801 12.8644 6.9525 12.8644 7.7885C12.8644 10.705 11.0879 11.351 9.3969 11.541C9.6724 11.7785 9.9099 12.2345 9.9099 12.947C9.9099 13.9635 9.9004 14.7805 9.9004 15.037C9.9004 15.2365 10.0429 15.474 10.4229 15.398C13.5165 14.3536 15.5996 11.4527 15.6004 8.1875C15.6004 3.98851 12.1994 0.587524 8.0004 0.587524Z" fill="#494369"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_469_1929">
7
- <rect width="16" height="16" fill="white"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
@@ -1,68 +0,0 @@
1
- <svg width="80" height="78" viewBox="0 0 80 78" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g filter="url(#filter0_ddddi_449_2821)">
3
- <path d="M13 11C13 6.58172 16.5817 3 21 3H59C63.4183 3 67 6.58172 67 11V49C67 52.3137 64.3137 55 61 55H19C15.6863 55 13 52.3137 13 49V11Z" fill="url(#paint0_radial_449_2821)"/>
4
- <path d="M13 11C13 6.58172 16.5817 3 21 3H59C63.4183 3 67 6.58172 67 11V49C67 52.3137 64.3137 55 61 55H19C15.6863 55 13 52.3137 13 49V11Z" fill="url(#paint1_radial_449_2821)"/>
5
- <g filter="url(#filter1_i_449_2821)">
6
- <path d="M31 37.5C30.4477 37.5 30 37.0523 30 36.5V13.5001C30 12.9478 30.4477 12.5001 31 12.5001H49C49.5523 12.5001 50 12.9478 50 13.5001V21.5001C50 22.0524 49.5523 22.5001 49 22.5001H45V18.5001C45 17.9478 44.5523 17.5001 44 17.5001H36C35.4477 17.5001 35 17.9478 35 18.5001V21.5001C35 22.0524 35.4477 22.5001 36 22.5001H45V27.5001H36C35.4477 27.5001 35 27.9478 35 28.5001V36.5C35 37.0523 34.5523 37.5 34 37.5H31ZM46 37.5C45.4477 37.5 45 37.0523 45 36.5V27.5001H49C49.5523 27.5001 50 27.9478 50 28.5001V36.5C50 37.0523 49.5523 37.5 49 37.5H46Z" fill="url(#paint2_radial_449_2821)"/>
7
- </g>
8
- <path d="M13 11C13 6.58172 16.5817 3 21 3H59C63.4183 3 67 6.58172 67 11V49C67 52.3137 64.3137 55 61 55H19C15.6863 55 13 52.3137 13 49V11Z" stroke="#20117E" stroke-opacity="0.04"/>
9
- </g>
10
- <defs>
11
- <filter id="filter0_ddddi_449_2821" x="0.5" y="0.5" width="79" height="77" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
12
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
13
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
14
- <feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect1_dropShadow_449_2821"/>
15
- <feOffset dy="10"/>
16
- <feGaussianBlur stdDeviation="8"/>
17
- <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0705882 0 0 0 0 0.231373 0 0 0 0.06 0"/>
18
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_449_2821"/>
19
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
20
- <feMorphology radius="6" operator="erode" in="SourceAlpha" result="effect2_dropShadow_449_2821"/>
21
- <feOffset dy="12"/>
22
- <feGaussianBlur stdDeviation="3"/>
23
- <feColorMatrix type="matrix" values="0 0 0 0 0.0784314 0 0 0 0 0.0705882 0 0 0 0 0.231373 0 0 0 0.1 0"/>
24
- <feBlend mode="normal" in2="effect1_dropShadow_449_2821" result="effect2_dropShadow_449_2821"/>
25
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
26
- <feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow_449_2821"/>
27
- <feOffset dy="10"/>
28
- <feGaussianBlur stdDeviation="3"/>
29
- <feColorMatrix type="matrix" values="0 0 0 0 0.12549 0 0 0 0 0.0666667 0 0 0 0 0.494118 0 0 0 0.16 0"/>
30
- <feBlend mode="normal" in2="effect2_dropShadow_449_2821" result="effect3_dropShadow_449_2821"/>
31
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
32
- <feMorphology radius="1" operator="dilate" in="SourceAlpha" result="effect4_dropShadow_449_2821"/>
33
- <feOffset dy="2"/>
34
- <feGaussianBlur stdDeviation="1"/>
35
- <feColorMatrix type="matrix" values="0 0 0 0 0.12549 0 0 0 0 0.0666667 0 0 0 0 0.494118 0 0 0 0.05 0"/>
36
- <feBlend mode="normal" in2="effect3_dropShadow_449_2821" result="effect4_dropShadow_449_2821"/>
37
- <feBlend mode="normal" in="SourceGraphic" in2="effect4_dropShadow_449_2821" result="shape"/>
38
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
39
- <feOffset dy="-8"/>
40
- <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
41
- <feColorMatrix type="matrix" values="0 0 0 0 0.678431 0 0 0 0 0.607843 0 0 0 0 0.972549 0 0 0 0.2 0"/>
42
- <feBlend mode="normal" in2="shape" result="effect5_innerShadow_449_2821"/>
43
- </filter>
44
- <filter id="filter1_i_449_2821" x="30" y="12.5001" width="20" height="26.9999" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
45
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
46
- <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
47
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
48
- <feOffset dy="2"/>
49
- <feGaussianBlur stdDeviation="1.5"/>
50
- <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
51
- <feColorMatrix type="matrix" values="0 0 0 0 0.12549 0 0 0 0 0.0666667 0 0 0 0 0.494118 0 0 0 0.32 0"/>
52
- <feBlend mode="normal" in2="shape" result="effect1_innerShadow_449_2821"/>
53
- </filter>
54
- <radialGradient id="paint0_radial_449_2821" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(40 3) rotate(90) scale(52 54)">
55
- <stop stop-color="white" stop-opacity="0.9"/>
56
- <stop offset="1" stop-color="#4E3DB9" stop-opacity="0.24"/>
57
- </radialGradient>
58
- <radialGradient id="paint1_radial_449_2821" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(40 3) rotate(90) scale(52 54)">
59
- <stop stop-color="white"/>
60
- <stop offset="1" stop-color="#F7F7F7"/>
61
- </radialGradient>
62
- <radialGradient id="paint2_radial_449_2821" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(40 12.5001) rotate(90) scale(24.9999 20)">
63
- <stop stop-color="#F5F3FF"/>
64
- <stop stop-color="white"/>
65
- <stop offset="1" stop-color="#E1DDF4"/>
66
- </radialGradient>
67
- </defs>
68
- </svg>
@@ -1,13 +0,0 @@
1
- <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id="PaneLeft" clip-path="url(#clip0_469_1942)">
3
- <g id="Vector">
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M7.80217 0.525009C7.34654 0.525009 6.97717 0.894373 6.97717 1.35001V10.65C6.97717 11.1056 7.34654 11.475 7.80217 11.475H10.6522C11.1078 11.475 11.4772 11.1056 11.4772 10.65V1.35001C11.4772 0.894373 11.1078 0.525009 10.6522 0.525009H7.80217ZM8.02717 10.425V1.57501H10.4272V10.425H8.02717Z" fill="#494369"/>
5
- <path d="M3.78215 8.14502L2.16213 6.525H5.92717V5.475H2.16213L3.78215 3.85498L3.03969 3.11252L0.523438 5.62877V6.37123L3.03969 8.88748L3.78215 8.14502Z" fill="#494369"/>
6
- </g>
7
- </g>
8
- <defs>
9
- <clipPath id="clip0_469_1942">
10
- <rect width="12" height="12" fill="white"/>
11
- </clipPath>
12
- </defs>
13
- </svg>
@@ -1,37 +0,0 @@
1
- <svg width="67" height="14" viewBox="0 0 67 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect width="67" height="14" fill="#1E1E1E"/>
3
- <g id="Nav Template &#62; Initial" clip-path="url(#clip0_0_1)">
4
- <rect width="1440" height="1024" transform="translate(-16 -17)" fill="white"/>
5
- <g id="Sidebar">
6
- <g clip-path="url(#clip1_0_1)">
7
- <path d="M-16 -17H264V1007H-16V-17Z" fill="white"/>
8
- <g id="Header">
9
- <path d="M-16 -17H264V31H-16V-17Z" fill="white"/>
10
- <g id="Button">
11
- <rect x="-4" y="-3" width="74.316" height="20" rx="6" fill="white"/>
12
- <g id="Logo">
13
- <g id="Reflex">
14
- <path d="M0 13.6316V0.368408H10.6106V5.67369H7.95792V3.02105H2.65264V5.67369H7.95792V8.32633H2.65264V13.6316H0ZM7.95792 13.6316V8.32633H10.6106V13.6316H7.95792Z" fill="#110F1F"/>
15
- <path d="M13.2632 13.6316V0.368408H21.2211V3.02105H15.9158V5.67369H21.2211V8.32633H15.9158V10.979H21.2211V13.6316H13.2632Z" fill="#110F1F"/>
16
- <path d="M23.8738 13.6316V0.368408H31.8317V3.02105H26.5264V5.67369H31.8317V8.32633H26.5264V13.6316H23.8738Z" fill="#110F1F"/>
17
- <path d="M34.4843 13.6316V0.368408H37.137V10.979H42.4422V13.6316H34.4843Z" fill="#110F1F"/>
18
- <path d="M45.0949 13.6316V0.368408H53.0528V3.02105H47.7475V5.67369H53.0528V8.32633H47.7475V10.979H53.0528V13.6316H45.0949Z" fill="#110F1F"/>
19
- <path d="M55.7054 5.67369V0.368408H58.3581V5.67369H55.7054ZM63.6634 5.67369V0.368408H66.316V5.67369H63.6634ZM58.3581 8.32633V5.67369H63.6634V8.32633H58.3581ZM55.7054 13.6316V8.32633H58.3581V13.6316H55.7054ZM63.6634 13.6316V8.32633H66.316V13.6316H63.6634Z" fill="#110F1F"/>
20
- </g>
21
- </g>
22
- </g>
23
- <path d="M264 30.5H-16V31.5H264V30.5Z" fill="#F4F3F6"/>
24
- </g>
25
- </g>
26
- <path d="M263.5 -17V1007H264.5V-17H263.5Z" fill="#F4F3F6"/>
27
- </g>
28
- </g>
29
- <defs>
30
- <clipPath id="clip0_0_1">
31
- <rect width="1440" height="1024" fill="white" transform="translate(-16 -17)"/>
32
- </clipPath>
33
- <clipPath id="clip1_0_1">
34
- <path d="M-16 -17H264V1007H-16V-17Z" fill="white"/>
35
- </clipPath>
36
- </defs>
37
- </svg>
@@ -1,8 +0,0 @@
1
- <svg width="56" height="12" viewBox="0 0 56 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M0 11.5999V0.399902H8.96V4.8799H6.72V2.6399H2.24V4.8799H6.72V7.1199H2.24V11.5999H0ZM6.72 11.5999V7.1199H8.96V11.5999H6.72Z" fill="white"/>
3
- <path d="M11.2 11.5999V0.399902H17.92V2.6399H13.44V4.8799H17.92V7.1199H13.44V9.3599H17.92V11.5999H11.2Z" fill="white"/>
4
- <path d="M20.16 11.5999V0.399902H26.88V2.6399H22.4V4.8799H26.88V7.1199H22.4V11.5999H20.16Z" fill="white"/>
5
- <path d="M29.12 11.5999V0.399902H31.36V9.3599H35.84V11.5999H29.12Z" fill="white"/>
6
- <path d="M38.08 11.5999V0.399902H44.8V2.6399H40.32V4.8799H44.8V7.1199H40.32V9.3599H44.8V11.5999H38.08Z" fill="white"/>
7
- <path d="M47.04 4.8799V0.399902H49.28V4.8799H47.04ZM53.76 4.8799V0.399902H56V4.8799H53.76ZM49.28 7.1199V4.8799H53.76V7.1199H49.28ZM47.04 11.5999V7.1199H49.28V11.5999H47.04ZM53.76 11.5999V7.1199H56V11.5999H53.76Z" fill="white"/>
8
- </svg>
@@ -1 +0,0 @@
1
- """Base template for Reflex."""
@@ -1,152 +0,0 @@
1
- """Sidebar component for the app."""
2
-
3
- from code import styles
4
-
5
- import reflex as rx
6
-
7
-
8
- def sidebar_header() -> rx.Component:
9
- """Sidebar header.
10
-
11
- Returns:
12
- The sidebar header component.
13
- """
14
- return rx.hstack(
15
- # The logo.
16
- rx.color_mode_cond(
17
- rx.image(src="/reflex_black.svg", height="2em"),
18
- rx.image(src="/reflex_white.svg", height="2em"),
19
- ),
20
- rx.spacer(),
21
- # Link to Reflex GitHub repo.
22
- rx.link(
23
- rx.center(
24
- rx.image(
25
- src="/github.svg",
26
- height="3em",
27
- padding="0.5em",
28
- ),
29
- box_shadow=styles.box_shadow,
30
- bg="transparent",
31
- border_radius=styles.border_radius,
32
- _hover={
33
- "bg": styles.accent_color,
34
- },
35
- ),
36
- href="https://github.com/reflex-dev/reflex",
37
- ),
38
- align="center",
39
- width="100%",
40
- border_bottom=styles.border,
41
- padding="1em",
42
- )
43
-
44
-
45
- def sidebar_footer() -> rx.Component:
46
- """Sidebar footer.
47
-
48
- Returns:
49
- The sidebar footer component.
50
- """
51
- return rx.hstack(
52
- rx.spacer(),
53
- rx.link(
54
- rx.text("Docs"),
55
- href="https://reflex.dev/docs/getting-started/introduction/",
56
- style=styles.link_style,
57
- ),
58
- rx.link(
59
- rx.text("Blog"),
60
- href="https://reflex.dev/blog/",
61
- style=styles.link_style,
62
- ),
63
- width="100%",
64
- border_top=styles.border,
65
- padding="1em",
66
- )
67
-
68
-
69
- def sidebar_item(text: str, icon: str, url: str) -> rx.Component:
70
- """Sidebar item.
71
-
72
- Args:
73
- text: The text of the item.
74
- icon: The icon of the item.
75
- url: The URL of the item.
76
-
77
- Returns:
78
- rx.Component: The sidebar item component.
79
- """
80
- # Whether the item is active.
81
- active = (rx.State.router.page.path == f"/{text.lower()}") | (
82
- (rx.State.router.page.path == "/") & text == "Home"
83
- )
84
-
85
- return rx.link(
86
- rx.hstack(
87
- rx.image(
88
- src=icon,
89
- height="2.5em",
90
- padding="0.5em",
91
- ),
92
- rx.text(
93
- text,
94
- ),
95
- bg=rx.cond(
96
- active,
97
- styles.accent_color,
98
- "transparent",
99
- ),
100
- color=rx.cond(
101
- active,
102
- styles.accent_text_color,
103
- styles.text_color,
104
- ),
105
- align="center",
106
- border_radius=styles.border_radius,
107
- box_shadow=styles.box_shadow,
108
- width="100%",
109
- padding_x="1em",
110
- ),
111
- href=url,
112
- width="100%",
113
- )
114
-
115
-
116
- def sidebar() -> rx.Component:
117
- """The sidebar.
118
-
119
- Returns:
120
- The sidebar component.
121
- """
122
- # Get all the decorated pages and add them to the sidebar.
123
- from reflex.page import get_decorated_pages
124
-
125
- return rx.box(
126
- rx.vstack(
127
- sidebar_header(),
128
- rx.vstack(
129
- *[
130
- sidebar_item(
131
- text=page.get("title", page["route"].strip("/").capitalize()),
132
- icon=page.get("image", "/github.svg"),
133
- url=page["route"],
134
- )
135
- for page in get_decorated_pages()
136
- ],
137
- width="100%",
138
- overflow_y="auto",
139
- align_items="flex-start",
140
- padding="1em",
141
- ),
142
- rx.spacer(),
143
- sidebar_footer(),
144
- height="100dvh",
145
- ),
146
- display=["none", "none", "block"],
147
- min_width=styles.sidebar_width,
148
- height="100%",
149
- position="sticky",
150
- top="0px",
151
- border_right=styles.border,
152
- )
@@ -1,3 +0,0 @@
1
- from .dashboard import dashboard
2
- from .index import index
3
- from .settings import settings