reflex-reactbits 0.2.1__tar.gz → 0.2.2__tar.gz
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.
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/PKG-INFO +13 -8
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/README.md +12 -7
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/animations.py +4 -4
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/backgrounds.py +2 -2
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/catalog.json +55 -55
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/components.py +8 -8
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/micro.py +22 -22
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/source.py +19 -2
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/text_animations.py +17 -17
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits.egg-info/PKG-INFO +13 -8
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/pyproject.toml +1 -1
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/LICENSE +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/__init__.py +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/animations.pyi +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/backgrounds.pyi +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/base.py +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/base.pyi +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/catalog.py +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/cli.py +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/components.pyi +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/micro.pyi +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/py.typed +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/text_animations.pyi +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits.egg-info/SOURCES.txt +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits.egg-info/dependency_links.txt +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits.egg-info/entry_points.txt +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits.egg-info/requires.txt +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits.egg-info/top_level.txt +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/setup.cfg +0 -0
- {reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/tests/test_wrappers.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reflex-reactbits
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Reflex wrappers for React Bits: 200+ animated text effects, backgrounds, UI components and micro interactions.
|
|
5
5
|
Author-email: Ernesto Crespo <ecrespo@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -82,8 +82,11 @@ bundle. So this package ships only the Python side:
|
|
|
82
82
|
app at `assets/reactbits/<Category>/<Name>/` — the same thing `npx shadcn add` does in
|
|
83
83
|
a React project. The files are pinned to the React Bits commit these wrappers were
|
|
84
84
|
generated from.
|
|
85
|
-
3. Reflex imports that file client-side only (`NoSSRComponent`) and installs
|
|
86
|
-
versions React Bits is locked to (`
|
|
85
|
+
3. Reflex imports that file client-side only (`NoSSRComponent`) and installs exact npm
|
|
86
|
+
versions: the ones React Bits is locked to (`ogl`, `matter-js`, Hugeicons, ...), except
|
|
87
|
+
for `motion` 14, `three` 0.186 (with `@react-three/fiber` 9.8 and `@react-three/drei`
|
|
88
|
+
10.7) and `gsap` 3.15, which are newer than React Bits' lockfile (see `DEP_VERSIONS` in
|
|
89
|
+
`scripts/generate_wrappers.py`).
|
|
87
90
|
|
|
88
91
|
The copied files belong to your app: **edit them freely**, they are never overwritten.
|
|
89
92
|
Commit them if you want reproducible offline builds.
|
|
@@ -93,10 +96,12 @@ Sources are resolved from `REACTBITS_SOURCE_DIR` (a local clone of
|
|
|
93
96
|
GitHub raw files at `REACTBITS_REF` (defaults to the pinned commit).
|
|
94
97
|
|
|
95
98
|
React Bits 2.0 no longer needs React Router, Chakra UI or Tailwind, so the sources are
|
|
96
|
-
copied as-is with
|
|
97
|
-
WebGL context on unmount instead of calling `loseContext()
|
|
99
|
+
copied as-is with two exceptions. Components that render their own `<canvas>` keep their
|
|
100
|
+
WebGL context on unmount instead of calling `loseContext()`: React StrictMode (on in Reflex
|
|
98
101
|
dev mode) re-runs effects on the same canvas, and a lost context would leave the component
|
|
99
|
-
frozen or blank.
|
|
102
|
+
frozen or blank. And `color_bends` and `paper_crumple` move off three.js APIs deprecated
|
|
103
|
+
after r180 (`THREE.Clock` → `THREE.Timer`, `PCFSoftShadowMap` → `PCFShadowMap`), so the
|
|
104
|
+
newer `three` does not log deprecation warnings.
|
|
100
105
|
|
|
101
106
|
Each copy records the React Bits commit it came from in `.reactbits-ref`. When a newer
|
|
102
107
|
version of this package is generated from another commit, existing copies are **not**
|
|
@@ -238,10 +243,10 @@ given pull request introduces.
|
|
|
238
243
|
|
|
239
244
|
```bash
|
|
240
245
|
# 1. bump the version
|
|
241
|
-
$EDITOR pyproject.toml # [project] version = "0.2.
|
|
246
|
+
$EDITOR pyproject.toml # [project] version = "0.2.2"
|
|
242
247
|
|
|
243
248
|
# 2. tag it; the tag must match that version or release.yml stops
|
|
244
|
-
git tag v0.2.
|
|
249
|
+
git tag v0.2.2 && git push origin v0.2.2
|
|
245
250
|
```
|
|
246
251
|
|
|
247
252
|
The tag triggers `release.yml`, which builds, creates the GitHub release with the
|
|
@@ -49,8 +49,11 @@ bundle. So this package ships only the Python side:
|
|
|
49
49
|
app at `assets/reactbits/<Category>/<Name>/` — the same thing `npx shadcn add` does in
|
|
50
50
|
a React project. The files are pinned to the React Bits commit these wrappers were
|
|
51
51
|
generated from.
|
|
52
|
-
3. Reflex imports that file client-side only (`NoSSRComponent`) and installs
|
|
53
|
-
versions React Bits is locked to (`
|
|
52
|
+
3. Reflex imports that file client-side only (`NoSSRComponent`) and installs exact npm
|
|
53
|
+
versions: the ones React Bits is locked to (`ogl`, `matter-js`, Hugeicons, ...), except
|
|
54
|
+
for `motion` 14, `three` 0.186 (with `@react-three/fiber` 9.8 and `@react-three/drei`
|
|
55
|
+
10.7) and `gsap` 3.15, which are newer than React Bits' lockfile (see `DEP_VERSIONS` in
|
|
56
|
+
`scripts/generate_wrappers.py`).
|
|
54
57
|
|
|
55
58
|
The copied files belong to your app: **edit them freely**, they are never overwritten.
|
|
56
59
|
Commit them if you want reproducible offline builds.
|
|
@@ -60,10 +63,12 @@ Sources are resolved from `REACTBITS_SOURCE_DIR` (a local clone of
|
|
|
60
63
|
GitHub raw files at `REACTBITS_REF` (defaults to the pinned commit).
|
|
61
64
|
|
|
62
65
|
React Bits 2.0 no longer needs React Router, Chakra UI or Tailwind, so the sources are
|
|
63
|
-
copied as-is with
|
|
64
|
-
WebGL context on unmount instead of calling `loseContext()
|
|
66
|
+
copied as-is with two exceptions. Components that render their own `<canvas>` keep their
|
|
67
|
+
WebGL context on unmount instead of calling `loseContext()`: React StrictMode (on in Reflex
|
|
65
68
|
dev mode) re-runs effects on the same canvas, and a lost context would leave the component
|
|
66
|
-
frozen or blank.
|
|
69
|
+
frozen or blank. And `color_bends` and `paper_crumple` move off three.js APIs deprecated
|
|
70
|
+
after r180 (`THREE.Clock` → `THREE.Timer`, `PCFSoftShadowMap` → `PCFShadowMap`), so the
|
|
71
|
+
newer `three` does not log deprecation warnings.
|
|
67
72
|
|
|
68
73
|
Each copy records the React Bits commit it came from in `.reactbits-ref`. When a newer
|
|
69
74
|
version of this package is generated from another commit, existing copies are **not**
|
|
@@ -205,10 +210,10 @@ given pull request introduces.
|
|
|
205
210
|
|
|
206
211
|
```bash
|
|
207
212
|
# 1. bump the version
|
|
208
|
-
$EDITOR pyproject.toml # [project] version = "0.2.
|
|
213
|
+
$EDITOR pyproject.toml # [project] version = "0.2.2"
|
|
209
214
|
|
|
210
215
|
# 2. tag it; the tag must match that version or release.yml stops
|
|
211
|
-
git tag v0.2.
|
|
216
|
+
git tag v0.2.2 && git push origin v0.2.2
|
|
212
217
|
```
|
|
213
218
|
|
|
214
219
|
The tag triggers `release.yml`, which builds, creates the GitHub release with the
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/animations.py
RENAMED
|
@@ -29,7 +29,7 @@ class AnimatedContent(ReactBitsComponent):
|
|
|
29
29
|
_rb_category = "Animations"
|
|
30
30
|
_rb_name = "AnimatedContent"
|
|
31
31
|
_rb_files = ('AnimatedContent.jsx',)
|
|
32
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
32
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
33
33
|
|
|
34
34
|
container: rx.Var[Any] = field(
|
|
35
35
|
doc="Scroll container that drives the animation, as a selector or an element. Defaults to the page. Default: window."
|
|
@@ -123,7 +123,7 @@ class BlobCursor(ReactBitsComponent):
|
|
|
123
123
|
_rb_category = "Animations"
|
|
124
124
|
_rb_name = "BlobCursor"
|
|
125
125
|
_rb_files = ('BlobCursor.css', 'BlobCursor.jsx')
|
|
126
|
-
lib_dependencies: list[str] = ['three@0.
|
|
126
|
+
lib_dependencies: list[str] = ['three@0.186.1']
|
|
127
127
|
|
|
128
128
|
material: rx.Var[Literal["chrome", "jelly", "pearl", "ink"]] = field(
|
|
129
129
|
doc="What the blob is made of. Chrome is liquid metal, jelly a glossy colored gel, pearl an iridescent shell and ink a flat goo. Default: 'chrome'."
|
|
@@ -853,7 +853,7 @@ class FadeContent(ReactBitsComponent):
|
|
|
853
853
|
_rb_category = "Animations"
|
|
854
854
|
_rb_name = "FadeContent"
|
|
855
855
|
_rb_files = ('FadeContent.jsx',)
|
|
856
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
856
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
857
857
|
|
|
858
858
|
container: rx.Var[Any] = field(
|
|
859
859
|
doc="Scroll container that drives the fade, as a selector or an element. Defaults to the page. Default: window."
|
|
@@ -1286,7 +1286,7 @@ class ImageTrail(ReactBitsComponent):
|
|
|
1286
1286
|
_rb_category = "Animations"
|
|
1287
1287
|
_rb_name = "ImageTrail"
|
|
1288
1288
|
_rb_files = ('ImageTrail.css', 'ImageTrail.jsx')
|
|
1289
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
1289
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
1290
1290
|
|
|
1291
1291
|
items: rx.Var[list[str]] = field(
|
|
1292
1292
|
doc="Image URLs shown in the trail, in order. Default: []."
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/backgrounds.py
RENAMED
|
@@ -756,7 +756,7 @@ class ColorBends(ReactBitsComponent):
|
|
|
756
756
|
_rb_category = "Backgrounds"
|
|
757
757
|
_rb_name = "ColorBends"
|
|
758
758
|
_rb_files = ('ColorBends.css', 'ColorBends.jsx')
|
|
759
|
-
lib_dependencies: list[str] = ['three@0.
|
|
759
|
+
lib_dependencies: list[str] = ['three@0.186.1']
|
|
760
760
|
|
|
761
761
|
rotation: rx.Var[int | float] = field(
|
|
762
762
|
doc="Base rotation angle in degrees. Default: 90."
|
|
@@ -2345,7 +2345,7 @@ class Hyperspeed(ReactBitsComponent):
|
|
|
2345
2345
|
_rb_category = "Backgrounds"
|
|
2346
2346
|
_rb_name = "Hyperspeed"
|
|
2347
2347
|
_rb_files = ('Hyperspeed.css', 'Hyperspeed.jsx')
|
|
2348
|
-
lib_dependencies: list[str] = ['three@0.
|
|
2348
|
+
lib_dependencies: list[str] = ['three@0.186.1']
|
|
2349
2349
|
|
|
2350
2350
|
curve: rx.Var[Literal["straight", "gentle", "winding", "hills", "racing", "deep"]] = field(
|
|
2351
2351
|
doc="Shape of the road. Switching between curves morphs the road smoothly. Default: 'winding'."
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/catalog.json
RENAMED
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"description": "Text starts blurred then crisply resolves for a soft-focus reveal effect.",
|
|
183
183
|
"docs_url": "https://reactbits.dev/text-animations/blur-text",
|
|
184
184
|
"npm": [
|
|
185
|
-
"motion@
|
|
185
|
+
"motion@14.3.0"
|
|
186
186
|
],
|
|
187
187
|
"props": [
|
|
188
188
|
{
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"description": "Layouts characters around a circle with optional rotation animation.",
|
|
359
359
|
"docs_url": "https://reactbits.dev/text-animations/circular-text",
|
|
360
360
|
"npm": [
|
|
361
|
-
"motion@
|
|
361
|
+
"motion@14.3.0"
|
|
362
362
|
],
|
|
363
363
|
"props": [
|
|
364
364
|
{
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
"description": "Animated number counter supporting formatting and decimals.",
|
|
505
505
|
"docs_url": "https://reactbits.dev/text-animations/count-up",
|
|
506
506
|
"npm": [
|
|
507
|
-
"motion@
|
|
507
|
+
"motion@14.3.0"
|
|
508
508
|
],
|
|
509
509
|
"props": [
|
|
510
510
|
{
|
|
@@ -798,7 +798,7 @@
|
|
|
798
798
|
"description": "Hacker-style decryption cycling random glyphs until resolving to real text.",
|
|
799
799
|
"docs_url": "https://reactbits.dev/text-animations/decrypted-text",
|
|
800
800
|
"npm": [
|
|
801
|
-
"motion@
|
|
801
|
+
"motion@14.3.0"
|
|
802
802
|
],
|
|
803
803
|
"props": [
|
|
804
804
|
{
|
|
@@ -1454,7 +1454,7 @@
|
|
|
1454
1454
|
"description": "Lines unfold into place like creased paper opening flat.",
|
|
1455
1455
|
"docs_url": "https://reactbits.dev/text-animations/fold-text",
|
|
1456
1456
|
"npm": [
|
|
1457
|
-
"gsap@3.
|
|
1457
|
+
"gsap@3.15.0"
|
|
1458
1458
|
],
|
|
1459
1459
|
"props": [
|
|
1460
1460
|
{
|
|
@@ -2056,7 +2056,7 @@
|
|
|
2056
2056
|
"description": "A headline with a drifting colour mesh or image showing through, revealed word by word.",
|
|
2057
2057
|
"docs_url": "https://reactbits.dev/text-animations/masked-heading",
|
|
2058
2058
|
"npm": [
|
|
2059
|
-
"gsap@3.
|
|
2059
|
+
"gsap@3.15.0"
|
|
2060
2060
|
],
|
|
2061
2061
|
"props": [
|
|
2062
2062
|
{
|
|
@@ -2460,7 +2460,7 @@
|
|
|
2460
2460
|
"description": "Cycles through multiple phrases with 3D rotate / flip transitions.",
|
|
2461
2461
|
"docs_url": "https://reactbits.dev/text-animations/rotating-text",
|
|
2462
2462
|
"npm": [
|
|
2463
|
-
"motion@
|
|
2463
|
+
"motion@14.3.0"
|
|
2464
2464
|
],
|
|
2465
2465
|
"props": [
|
|
2466
2466
|
{
|
|
@@ -2656,7 +2656,7 @@
|
|
|
2656
2656
|
"description": "Detects cursor position and applies a distortion effect to text.",
|
|
2657
2657
|
"docs_url": "https://reactbits.dev/text-animations/scrambled-text",
|
|
2658
2658
|
"npm": [
|
|
2659
|
-
"gsap@3.
|
|
2659
|
+
"gsap@3.15.0"
|
|
2660
2660
|
],
|
|
2661
2661
|
"props": [
|
|
2662
2662
|
{
|
|
@@ -2770,7 +2770,7 @@
|
|
|
2770
2770
|
"description": "Text gently floats / parallax shifts on scroll.",
|
|
2771
2771
|
"docs_url": "https://reactbits.dev/text-animations/scroll-float",
|
|
2772
2772
|
"npm": [
|
|
2773
|
-
"gsap@3.
|
|
2773
|
+
"gsap@3.15.0"
|
|
2774
2774
|
],
|
|
2775
2775
|
"props": [
|
|
2776
2776
|
{
|
|
@@ -2916,7 +2916,7 @@
|
|
|
2916
2916
|
"description": "Text gently unblurs and reveals on scroll.",
|
|
2917
2917
|
"docs_url": "https://reactbits.dev/text-animations/scroll-reveal",
|
|
2918
2918
|
"npm": [
|
|
2919
|
-
"gsap@3.
|
|
2919
|
+
"gsap@3.15.0"
|
|
2920
2920
|
],
|
|
2921
2921
|
"props": [
|
|
2922
2922
|
{
|
|
@@ -3068,7 +3068,7 @@
|
|
|
3068
3068
|
"description": "Text marquee animatio - speed and distortion scale with user's scroll velocity.",
|
|
3069
3069
|
"docs_url": "https://reactbits.dev/text-animations/scroll-velocity",
|
|
3070
3070
|
"npm": [
|
|
3071
|
-
"motion@
|
|
3071
|
+
"motion@14.3.0"
|
|
3072
3072
|
],
|
|
3073
3073
|
"props": [
|
|
3074
3074
|
{
|
|
@@ -3395,7 +3395,7 @@
|
|
|
3395
3395
|
"docs_url": "https://reactbits.dev/text-animations/shuffle",
|
|
3396
3396
|
"npm": [
|
|
3397
3397
|
"@gsap/react@2.1.2",
|
|
3398
|
-
"gsap@3.
|
|
3398
|
+
"gsap@3.15.0"
|
|
3399
3399
|
],
|
|
3400
3400
|
"props": [
|
|
3401
3401
|
{
|
|
@@ -3791,7 +3791,7 @@
|
|
|
3791
3791
|
"docs_url": "https://reactbits.dev/text-animations/split-text",
|
|
3792
3792
|
"npm": [
|
|
3793
3793
|
"@gsap/react@2.1.2",
|
|
3794
|
-
"gsap@3.
|
|
3794
|
+
"gsap@3.15.0"
|
|
3795
3795
|
],
|
|
3796
3796
|
"props": [
|
|
3797
3797
|
{
|
|
@@ -3971,7 +3971,7 @@
|
|
|
3971
3971
|
"description": "Outlined letterforms draw themselves on, then flood with fill.",
|
|
3972
3972
|
"docs_url": "https://reactbits.dev/text-animations/stroke-text",
|
|
3973
3973
|
"npm": [
|
|
3974
|
-
"gsap@3.
|
|
3974
|
+
"gsap@3.15.0"
|
|
3975
3975
|
],
|
|
3976
3976
|
"props": [
|
|
3977
3977
|
{
|
|
@@ -4529,7 +4529,7 @@
|
|
|
4529
4529
|
"description": "A seamless text marquee that flows along curved SVG paths.",
|
|
4530
4530
|
"docs_url": "https://reactbits.dev/text-animations/text-loop",
|
|
4531
4531
|
"npm": [
|
|
4532
|
-
"gsap@3.
|
|
4532
|
+
"gsap@3.15.0"
|
|
4533
4533
|
],
|
|
4534
4534
|
"props": [
|
|
4535
4535
|
{
|
|
@@ -4916,7 +4916,7 @@
|
|
|
4916
4916
|
"description": "Typewriter effect with blinking cursor and adjustable typing cadence.",
|
|
4917
4917
|
"docs_url": "https://reactbits.dev/text-animations/text-type",
|
|
4918
4918
|
"npm": [
|
|
4919
|
-
"gsap@3.
|
|
4919
|
+
"gsap@3.15.0"
|
|
4920
4920
|
],
|
|
4921
4921
|
"props": [
|
|
4922
4922
|
{
|
|
@@ -5127,7 +5127,7 @@
|
|
|
5127
5127
|
"description": "Applies dynamic blur / clarity based over a series of words in order.",
|
|
5128
5128
|
"docs_url": "https://reactbits.dev/text-animations/true-focus",
|
|
5129
5129
|
"npm": [
|
|
5130
|
-
"motion@
|
|
5130
|
+
"motion@14.3.0"
|
|
5131
5131
|
],
|
|
5132
5132
|
"props": [
|
|
5133
5133
|
{
|
|
@@ -5556,7 +5556,7 @@
|
|
|
5556
5556
|
"description": "Wrapper that reveals its content on scroll with slides, blur, 3D tilts, soft wipes and staggered children.",
|
|
5557
5557
|
"docs_url": "https://reactbits.dev/animations/animated-content",
|
|
5558
5558
|
"npm": [
|
|
5559
|
-
"gsap@3.
|
|
5559
|
+
"gsap@3.15.0"
|
|
5560
5560
|
],
|
|
5561
5561
|
"props": [
|
|
5562
5562
|
{
|
|
@@ -5773,7 +5773,7 @@
|
|
|
5773
5773
|
"description": "Liquid metal blob cursor that stretches, sloshes and bursts into droplets, in chrome, jelly, pearl or ink.",
|
|
5774
5774
|
"docs_url": "https://reactbits.dev/animations/blob-cursor",
|
|
5775
5775
|
"npm": [
|
|
5776
|
-
"three@0.
|
|
5776
|
+
"three@0.186.1"
|
|
5777
5777
|
],
|
|
5778
5778
|
"props": [
|
|
5779
5779
|
{
|
|
@@ -7380,7 +7380,7 @@
|
|
|
7380
7380
|
"description": "Wrapper that fades content in on scroll, plain or out of focus, from washed-out gray, or through grain, mist and pixel blocks.",
|
|
7381
7381
|
"docs_url": "https://reactbits.dev/animations/fade-content",
|
|
7382
7382
|
"npm": [
|
|
7383
|
-
"gsap@3.
|
|
7383
|
+
"gsap@3.15.0"
|
|
7384
7384
|
],
|
|
7385
7385
|
"props": [
|
|
7386
7386
|
{
|
|
@@ -8349,7 +8349,7 @@
|
|
|
8349
8349
|
"description": "Cursor-based image trail with several built-in variants.",
|
|
8350
8350
|
"docs_url": "https://reactbits.dev/animations/image-trail",
|
|
8351
8351
|
"npm": [
|
|
8352
|
-
"gsap@3.
|
|
8352
|
+
"gsap@3.15.0"
|
|
8353
8353
|
],
|
|
8354
8354
|
"props": [
|
|
8355
8355
|
{
|
|
@@ -11785,7 +11785,7 @@
|
|
|
11785
11785
|
"description": "Panels expand on hover or focus, revealing parallax imagery and captions.",
|
|
11786
11786
|
"docs_url": "https://reactbits.dev/components/accordion-gallery",
|
|
11787
11787
|
"npm": [
|
|
11788
|
-
"gsap@3.
|
|
11788
|
+
"gsap@3.15.0"
|
|
11789
11789
|
],
|
|
11790
11790
|
"props": [
|
|
11791
11791
|
{
|
|
@@ -12434,7 +12434,7 @@
|
|
|
12434
12434
|
"description": "Floating circular expanding menu with staggered item reveal.",
|
|
12435
12435
|
"docs_url": "https://reactbits.dev/components/bubble-menu",
|
|
12436
12436
|
"npm": [
|
|
12437
|
-
"gsap@3.
|
|
12437
|
+
"gsap@3.15.0"
|
|
12438
12438
|
],
|
|
12439
12439
|
"props": [
|
|
12440
12440
|
{
|
|
@@ -14369,7 +14369,7 @@
|
|
|
14369
14369
|
"description": "Cards recede into depth on a 3D rail, with drag, keyboard and auto-advance.",
|
|
14370
14370
|
"docs_url": "https://reactbits.dev/components/depth-carousel",
|
|
14371
14371
|
"npm": [
|
|
14372
|
-
"gsap@3.
|
|
14372
|
+
"gsap@3.15.0"
|
|
14373
14373
|
],
|
|
14374
14374
|
"props": [
|
|
14375
14375
|
{
|
|
@@ -17539,7 +17539,7 @@
|
|
|
17539
17539
|
"description": "Swinging 3D badge on a stretchy woven band that you can drag, throw or click to flip.",
|
|
17540
17540
|
"docs_url": "https://reactbits.dev/components/lanyard",
|
|
17541
17541
|
"npm": [
|
|
17542
|
-
"three@0.
|
|
17542
|
+
"three@0.186.1"
|
|
17543
17543
|
],
|
|
17544
17544
|
"props": [
|
|
17545
17545
|
{
|
|
@@ -18219,9 +18219,9 @@
|
|
|
18219
18219
|
"description": "A product-style 3D model viewer that frames itself and floats over a soft shadow.",
|
|
18220
18220
|
"docs_url": "https://reactbits.dev/components/model-viewer",
|
|
18221
18221
|
"npm": [
|
|
18222
|
-
"@react-three/drei@10.7.
|
|
18223
|
-
"@react-three/fiber@9.
|
|
18224
|
-
"three@0.
|
|
18222
|
+
"@react-three/drei@10.7.9",
|
|
18223
|
+
"@react-three/fiber@9.8.2",
|
|
18224
|
+
"three@0.186.1"
|
|
18225
18225
|
],
|
|
18226
18226
|
"props": [
|
|
18227
18227
|
{
|
|
@@ -18427,7 +18427,7 @@
|
|
|
18427
18427
|
"description": "WebGL slider that melts between images with a displacement transition.",
|
|
18428
18428
|
"docs_url": "https://reactbits.dev/components/morph-slider",
|
|
18429
18429
|
"npm": [
|
|
18430
|
-
"gsap@3.
|
|
18430
|
+
"gsap@3.15.0",
|
|
18431
18431
|
"ogl@1.0.11"
|
|
18432
18432
|
],
|
|
18433
18433
|
"props": [
|
|
@@ -20018,7 +20018,7 @@
|
|
|
20018
20018
|
"description": "Pile of cards you can drag, flick or click through, with thrown cards tucking underneath.",
|
|
20019
20019
|
"docs_url": "https://reactbits.dev/components/stack",
|
|
20020
20020
|
"npm": [
|
|
20021
|
-
"motion@
|
|
20021
|
+
"motion@14.3.0"
|
|
20022
20022
|
],
|
|
20023
20023
|
"props": [
|
|
20024
20024
|
{
|
|
@@ -20160,7 +20160,7 @@
|
|
|
20160
20160
|
"description": "Menu with staggered item animations and smooth transitions on open/close.",
|
|
20161
20161
|
"docs_url": "https://reactbits.dev/components/staggered-menu",
|
|
20162
20162
|
"npm": [
|
|
20163
|
-
"gsap@3.
|
|
20163
|
+
"gsap@3.15.0"
|
|
20164
20164
|
],
|
|
20165
20165
|
"props": [
|
|
20166
20166
|
{
|
|
@@ -22494,7 +22494,7 @@
|
|
|
22494
22494
|
"description": "Vibrant color bends with smooth flowing animation.",
|
|
22495
22495
|
"docs_url": "https://reactbits.dev/backgrounds/color-bends",
|
|
22496
22496
|
"npm": [
|
|
22497
|
-
"three@0.
|
|
22497
|
+
"three@0.186.1"
|
|
22498
22498
|
],
|
|
22499
22499
|
"props": [
|
|
22500
22500
|
{
|
|
@@ -26067,7 +26067,7 @@
|
|
|
26067
26067
|
"description": "Night highway of glowing light trails on a winding road that warps into hyperspace while you hold.",
|
|
26068
26068
|
"docs_url": "https://reactbits.dev/backgrounds/hyperspeed",
|
|
26069
26069
|
"npm": [
|
|
26070
|
-
"three@0.
|
|
26070
|
+
"three@0.186.1"
|
|
26071
26071
|
],
|
|
26072
26072
|
"props": [
|
|
26073
26073
|
{
|
|
@@ -33353,7 +33353,7 @@
|
|
|
33353
33353
|
"npm": [
|
|
33354
33354
|
"@hugeicons/core-free-icons@4.3.3",
|
|
33355
33355
|
"@hugeicons/react@1.1.10",
|
|
33356
|
-
"motion@
|
|
33356
|
+
"motion@14.3.0"
|
|
33357
33357
|
],
|
|
33358
33358
|
"props": [
|
|
33359
33359
|
{
|
|
@@ -33932,7 +33932,7 @@
|
|
|
33932
33932
|
"npm": [
|
|
33933
33933
|
"@hugeicons/core-free-icons@4.3.3",
|
|
33934
33934
|
"@hugeicons/react@1.1.10",
|
|
33935
|
-
"motion@
|
|
33935
|
+
"motion@14.3.0"
|
|
33936
33936
|
],
|
|
33937
33937
|
"props": [
|
|
33938
33938
|
{
|
|
@@ -34129,7 +34129,7 @@
|
|
|
34129
34129
|
"description": "Tick-ring dial you flick by angle, with a comet that streaks behind the lit head.",
|
|
34130
34130
|
"docs_url": "https://reactbits.dev/micro/comet-dial",
|
|
34131
34131
|
"npm": [
|
|
34132
|
-
"motion@
|
|
34132
|
+
"motion@14.3.0"
|
|
34133
34133
|
],
|
|
34134
34134
|
"props": [
|
|
34135
34135
|
{
|
|
@@ -34317,7 +34317,7 @@
|
|
|
34317
34317
|
"description": "Wrapper that makes any child dodge the pointer until it relents and glides home.",
|
|
34318
34318
|
"docs_url": "https://reactbits.dev/micro/dodge-field",
|
|
34319
34319
|
"npm": [
|
|
34320
|
-
"motion@
|
|
34320
|
+
"motion@14.3.0"
|
|
34321
34321
|
],
|
|
34322
34322
|
"props": [
|
|
34323
34323
|
{
|
|
@@ -34463,7 +34463,7 @@
|
|
|
34463
34463
|
"description": "Two-faced card that flips in 3D on a click, drag or flick and settles on a spring.",
|
|
34464
34464
|
"docs_url": "https://reactbits.dev/micro/flip-card",
|
|
34465
34465
|
"npm": [
|
|
34466
|
-
"motion@
|
|
34466
|
+
"motion@14.3.0"
|
|
34467
34467
|
],
|
|
34468
34468
|
"props": [
|
|
34469
34469
|
{
|
|
@@ -35674,7 +35674,7 @@
|
|
|
35674
35674
|
"description": "Radio group of chips where the chosen one swells and barges its neighbours outward.",
|
|
35675
35675
|
"docs_url": "https://reactbits.dev/micro/jelly-radio",
|
|
35676
35676
|
"npm": [
|
|
35677
|
-
"motion@
|
|
35677
|
+
"motion@14.3.0"
|
|
35678
35678
|
],
|
|
35679
35679
|
"props": [
|
|
35680
35680
|
{
|
|
@@ -36024,7 +36024,7 @@
|
|
|
36024
36024
|
"description": "An image that crumples into a textured 3D sheet while you hold and drag it.",
|
|
36025
36025
|
"docs_url": "https://reactbits.dev/micro/paper-crumple",
|
|
36026
36026
|
"npm": [
|
|
36027
|
-
"three@0.
|
|
36027
|
+
"three@0.186.1"
|
|
36028
36028
|
],
|
|
36029
36029
|
"props": [
|
|
36030
36030
|
{
|
|
@@ -36496,7 +36496,7 @@
|
|
|
36496
36496
|
"npm": [
|
|
36497
36497
|
"@hugeicons/core-free-icons@4.3.3",
|
|
36498
36498
|
"@hugeicons/react@1.1.10",
|
|
36499
|
-
"motion@
|
|
36499
|
+
"motion@14.3.0"
|
|
36500
36500
|
],
|
|
36501
36501
|
"props": [
|
|
36502
36502
|
{
|
|
@@ -37051,7 +37051,7 @@
|
|
|
37051
37051
|
"description": "Segmented control whose rubber thumb stretches across the gap and squashes into place.",
|
|
37052
37052
|
"docs_url": "https://reactbits.dev/micro/rubber-segment",
|
|
37053
37053
|
"npm": [
|
|
37054
|
-
"motion@
|
|
37054
|
+
"motion@14.3.0"
|
|
37055
37055
|
],
|
|
37056
37056
|
"props": [
|
|
37057
37057
|
{
|
|
@@ -37219,7 +37219,7 @@
|
|
|
37219
37219
|
"description": "Number chip you drag to scrub, with rubber-band limits and click to type.",
|
|
37220
37220
|
"docs_url": "https://reactbits.dev/micro/scrub-field",
|
|
37221
37221
|
"npm": [
|
|
37222
|
-
"motion@
|
|
37222
|
+
"motion@14.3.0"
|
|
37223
37223
|
],
|
|
37224
37224
|
"props": [
|
|
37225
37225
|
{
|
|
@@ -37600,7 +37600,7 @@
|
|
|
37600
37600
|
"npm": [
|
|
37601
37601
|
"@hugeicons/core-free-icons@4.3.3",
|
|
37602
37602
|
"@hugeicons/react@1.1.10",
|
|
37603
|
-
"motion@
|
|
37603
|
+
"motion@14.3.0"
|
|
37604
37604
|
],
|
|
37605
37605
|
"props": [
|
|
37606
37606
|
{
|
|
@@ -37770,7 +37770,7 @@
|
|
|
37770
37770
|
"npm": [
|
|
37771
37771
|
"@hugeicons/core-free-icons@4.3.3",
|
|
37772
37772
|
"@hugeicons/react@1.1.10",
|
|
37773
|
-
"motion@
|
|
37773
|
+
"motion@14.3.0"
|
|
37774
37774
|
],
|
|
37775
37775
|
"props": [
|
|
37776
37776
|
{
|
|
@@ -38076,7 +38076,7 @@
|
|
|
38076
38076
|
"docs_url": "https://reactbits.dev/micro/spring-check",
|
|
38077
38077
|
"npm": [
|
|
38078
38078
|
"@hugeicons/core-free-icons@4.3.3",
|
|
38079
|
-
"motion@
|
|
38079
|
+
"motion@14.3.0"
|
|
38080
38080
|
],
|
|
38081
38081
|
"props": [
|
|
38082
38082
|
{
|
|
@@ -38221,7 +38221,7 @@
|
|
|
38221
38221
|
"description": "Switch whose thumb stretches with speed and squashes against the end when you flick it.",
|
|
38222
38222
|
"docs_url": "https://reactbits.dev/micro/squish-switch",
|
|
38223
38223
|
"npm": [
|
|
38224
|
-
"motion@
|
|
38224
|
+
"motion@14.3.0"
|
|
38225
38225
|
],
|
|
38226
38226
|
"props": [
|
|
38227
38227
|
{
|
|
@@ -38378,7 +38378,7 @@
|
|
|
38378
38378
|
"description": "Agent task status glyph that morphs from an idle ring to a progress arc, then a check.",
|
|
38379
38379
|
"docs_url": "https://reactbits.dev/micro/status-mark",
|
|
38380
38380
|
"npm": [
|
|
38381
|
-
"motion@
|
|
38381
|
+
"motion@14.3.0"
|
|
38382
38382
|
],
|
|
38383
38383
|
"props": [
|
|
38384
38384
|
{
|
|
@@ -38527,7 +38527,7 @@
|
|
|
38527
38527
|
"npm": [
|
|
38528
38528
|
"@hugeicons/core-free-icons@4.3.3",
|
|
38529
38529
|
"@hugeicons/react@1.1.10",
|
|
38530
|
-
"motion@
|
|
38530
|
+
"motion@14.3.0"
|
|
38531
38531
|
],
|
|
38532
38532
|
"props": [
|
|
38533
38533
|
{
|
|
@@ -38745,7 +38745,7 @@
|
|
|
38745
38745
|
"npm": [
|
|
38746
38746
|
"@hugeicons/core-free-icons@4.3.3",
|
|
38747
38747
|
"@hugeicons/react@1.1.10",
|
|
38748
|
-
"motion@
|
|
38748
|
+
"motion@14.3.0"
|
|
38749
38749
|
],
|
|
38750
38750
|
"props": [
|
|
38751
38751
|
{
|
|
@@ -38928,7 +38928,7 @@
|
|
|
38928
38928
|
"description": "Ticket whose perforated stub tears off by hand, fibre by fibre, and drops away.",
|
|
38929
38929
|
"docs_url": "https://reactbits.dev/micro/tear-ticket",
|
|
38930
38930
|
"npm": [
|
|
38931
|
-
"motion@
|
|
38931
|
+
"motion@14.3.0"
|
|
38932
38932
|
],
|
|
38933
38933
|
"props": [
|
|
38934
38934
|
{
|
|
@@ -39230,7 +39230,7 @@
|
|
|
39230
39230
|
"npm": [
|
|
39231
39231
|
"@hugeicons/core-free-icons@4.3.3",
|
|
39232
39232
|
"@hugeicons/react@1.1.10",
|
|
39233
|
-
"motion@
|
|
39233
|
+
"motion@14.3.0"
|
|
39234
39234
|
],
|
|
39235
39235
|
"props": [
|
|
39236
39236
|
{
|
|
@@ -39618,7 +39618,7 @@
|
|
|
39618
39618
|
"description": "Thumbless range slider of thin bars where drag speed raises a wake behind the handle.",
|
|
39619
39619
|
"docs_url": "https://reactbits.dev/micro/wake-slider",
|
|
39620
39620
|
"npm": [
|
|
39621
|
-
"motion@
|
|
39621
|
+
"motion@14.3.0"
|
|
39622
39622
|
],
|
|
39623
39623
|
"props": [
|
|
39624
39624
|
{
|
|
@@ -39809,7 +39809,7 @@
|
|
|
39809
39809
|
"description": "Tooltip group where the first label waits, then its siblings open instantly while warm.",
|
|
39810
39810
|
"docs_url": "https://reactbits.dev/micro/warm-tooltip",
|
|
39811
39811
|
"npm": [
|
|
39812
|
-
"motion@
|
|
39812
|
+
"motion@14.3.0"
|
|
39813
39813
|
],
|
|
39814
39814
|
"props": [
|
|
39815
39815
|
{
|
|
@@ -39965,7 +39965,7 @@
|
|
|
39965
39965
|
"description": "Groups WarmTooltips so moving between them skips the open delay.",
|
|
39966
39966
|
"docs_url": "https://reactbits.dev/micro/warm-tooltip",
|
|
39967
39967
|
"npm": [
|
|
39968
|
-
"motion@
|
|
39968
|
+
"motion@14.3.0"
|
|
39969
39969
|
],
|
|
39970
39970
|
"sub": true,
|
|
39971
39971
|
"props": [
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/components.py
RENAMED
|
@@ -29,7 +29,7 @@ class AccordionGallery(ReactBitsComponent):
|
|
|
29
29
|
_rb_category = "Components"
|
|
30
30
|
_rb_name = "AccordionGallery"
|
|
31
31
|
_rb_files = ('AccordionGallery.css', 'AccordionGallery.jsx')
|
|
32
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
32
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
33
33
|
|
|
34
34
|
items: rx.Var[list[Any]] = field(
|
|
35
35
|
doc="The panels to render. Each needs an image, and optionally a label, link and alt text. Default: DEFAULT_ITEMS."
|
|
@@ -295,7 +295,7 @@ class BubbleMenu(ReactBitsComponent):
|
|
|
295
295
|
_rb_category = "Components"
|
|
296
296
|
_rb_name = "BubbleMenu"
|
|
297
297
|
_rb_files = ('BubbleMenu.css', 'BubbleMenu.jsx')
|
|
298
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
298
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
299
299
|
|
|
300
300
|
logo: rx.Var[Component | str] = field(
|
|
301
301
|
doc="Logo content shown in the central bubble (string src or JSX). Default: \u2014."
|
|
@@ -1090,7 +1090,7 @@ class DepthCarousel(ReactBitsComponent):
|
|
|
1090
1090
|
_rb_category = "Components"
|
|
1091
1091
|
_rb_name = "DepthCarousel"
|
|
1092
1092
|
_rb_files = ('DepthCarousel.css', 'DepthCarousel.jsx')
|
|
1093
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
1093
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
1094
1094
|
|
|
1095
1095
|
items: rx.Var[list[Any]] = field(
|
|
1096
1096
|
doc="Slides to display. Pass image URLs or objects with an image URL and alt text. Default: DEFAULT_ITEMS."
|
|
@@ -2385,7 +2385,7 @@ class Lanyard(ReactBitsComponent):
|
|
|
2385
2385
|
_rb_category = "Components"
|
|
2386
2386
|
_rb_name = "Lanyard"
|
|
2387
2387
|
_rb_files = ('Lanyard.css', 'Lanyard.jsx')
|
|
2388
|
-
lib_dependencies: list[str] = ['three@0.
|
|
2388
|
+
lib_dependencies: list[str] = ['three@0.186.1']
|
|
2389
2389
|
|
|
2390
2390
|
front_image: rx.Var[str] = field(
|
|
2391
2391
|
doc="Image URL printed on the front of the card. Any size or aspect works."
|
|
@@ -2676,7 +2676,7 @@ class ModelViewer(ReactBitsComponent):
|
|
|
2676
2676
|
_rb_category = "Components"
|
|
2677
2677
|
_rb_name = "ModelViewer"
|
|
2678
2678
|
_rb_files = ('ModelViewer.jsx',)
|
|
2679
|
-
lib_dependencies: list[str] = ['@react-three/drei@10.7.
|
|
2679
|
+
lib_dependencies: list[str] = ['@react-three/drei@10.7.9', '@react-three/fiber@9.8.2', 'three@0.186.1']
|
|
2680
2680
|
|
|
2681
2681
|
url: rx.Var[str] = field(
|
|
2682
2682
|
doc="URL of the model. Supports glb, gltf, fbx and obj. Default: -."
|
|
@@ -2770,7 +2770,7 @@ class MorphSlider(ReactBitsComponent):
|
|
|
2770
2770
|
_rb_category = "Components"
|
|
2771
2771
|
_rb_name = "MorphSlider"
|
|
2772
2772
|
_rb_files = ('MorphSlider.css', 'MorphSlider.jsx')
|
|
2773
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
2773
|
+
lib_dependencies: list[str] = ['gsap@3.15.0', 'ogl@1.0.11']
|
|
2774
2774
|
|
|
2775
2775
|
items: rx.Var[list[Any]] = field(
|
|
2776
2776
|
doc="Slides to morph between. Each item is an image URL with an optional caption. Default: DEFAULT_ITEMS."
|
|
@@ -3452,7 +3452,7 @@ class Stack(ReactBitsComponent):
|
|
|
3452
3452
|
_rb_category = "Components"
|
|
3453
3453
|
_rb_name = "Stack"
|
|
3454
3454
|
_rb_files = ('Stack.css', 'Stack.jsx')
|
|
3455
|
-
lib_dependencies: list[str] = ['motion@
|
|
3455
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
3456
3456
|
|
|
3457
3457
|
cards: rx.Var[list[Any]] = field(
|
|
3458
3458
|
doc="The cards in the stack, top first. Images fill the card automatically, any other content works too. Default: four sample photos."
|
|
@@ -3519,7 +3519,7 @@ class StaggeredMenu(ReactBitsComponent):
|
|
|
3519
3519
|
_rb_category = "Components"
|
|
3520
3520
|
_rb_name = "StaggeredMenu"
|
|
3521
3521
|
_rb_files = ('StaggeredMenu.css', 'StaggeredMenu.jsx')
|
|
3522
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
3522
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
3523
3523
|
|
|
3524
3524
|
position: rx.Var[Literal["left", "right"]] = field(
|
|
3525
3525
|
doc="Anchor position for the menu panel (left or right side). Default: 'right'."
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/micro.py
RENAMED
|
@@ -29,7 +29,7 @@ class BellToggle(ReactBitsComponent):
|
|
|
29
29
|
_rb_category = "Micro"
|
|
30
30
|
_rb_name = "BellToggle"
|
|
31
31
|
_rb_files = ('BellToggle.css', 'BellToggle.jsx')
|
|
32
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@
|
|
32
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@14.3.0']
|
|
33
33
|
|
|
34
34
|
off_label: rx.Var[str] = field(
|
|
35
35
|
doc="The face at rest. Its width sets how far the pill is clipped. Default: 'Notify me'."
|
|
@@ -260,7 +260,7 @@ class CodeSlots(ReactBitsComponent):
|
|
|
260
260
|
_rb_category = "Micro"
|
|
261
261
|
_rb_name = "CodeSlots"
|
|
262
262
|
_rb_files = ('CodeSlots.css', 'CodeSlots.jsx')
|
|
263
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@
|
|
263
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@14.3.0']
|
|
264
264
|
|
|
265
265
|
length: rx.Var[int | float] = field(
|
|
266
266
|
doc="Number of slots. Default: 6."
|
|
@@ -345,7 +345,7 @@ class CometDial(ReactBitsComponent):
|
|
|
345
345
|
_rb_category = "Micro"
|
|
346
346
|
_rb_name = "CometDial"
|
|
347
347
|
_rb_files = ('CometDial.css', 'CometDial.jsx')
|
|
348
|
-
lib_dependencies: list[str] = ['motion@
|
|
348
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
349
349
|
|
|
350
350
|
value: rx.Var[int | float] = field(
|
|
351
351
|
doc="Controlled value. A change from outside launches the reading on the tap spring."
|
|
@@ -424,7 +424,7 @@ class DodgeField(ReactBitsComponent):
|
|
|
424
424
|
_rb_category = "Micro"
|
|
425
425
|
_rb_name = "DodgeField"
|
|
426
426
|
_rb_files = ('DodgeField.css', 'DodgeField.jsx')
|
|
427
|
-
lib_dependencies: list[str] = ['motion@
|
|
427
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
428
428
|
|
|
429
429
|
taunts: rx.Var[list[str]] = field(
|
|
430
430
|
doc="Labels for the built-in pill: the first at rest, then one per dodge, the last once it relents. Default: DEFAULT_TAUNTS."
|
|
@@ -494,7 +494,7 @@ class FlipCard(ReactBitsComponent):
|
|
|
494
494
|
_rb_category = "Micro"
|
|
495
495
|
_rb_name = "FlipCard"
|
|
496
496
|
_rb_files = ('FlipCard.css', 'FlipCard.jsx')
|
|
497
|
-
lib_dependencies: list[str] = ['motion@
|
|
497
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
498
498
|
|
|
499
499
|
front: rx.Var[Component | str] = field(
|
|
500
500
|
doc="Content of the front face."
|
|
@@ -990,7 +990,7 @@ class JellyRadio(ReactBitsComponent):
|
|
|
990
990
|
_rb_category = "Micro"
|
|
991
991
|
_rb_name = "JellyRadio"
|
|
992
992
|
_rb_files = ('JellyRadio.css', 'JellyRadio.jsx')
|
|
993
|
-
lib_dependencies: list[str] = ['motion@
|
|
993
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
994
994
|
|
|
995
995
|
items: rx.Var[list[Any]] = field(
|
|
996
996
|
doc="The chips. A string is both value and label. Default: DEFAULT_ITEMS."
|
|
@@ -1138,7 +1138,7 @@ class PaperCrumple(ReactBitsComponent):
|
|
|
1138
1138
|
_rb_category = "Micro"
|
|
1139
1139
|
_rb_name = "PaperCrumple"
|
|
1140
1140
|
_rb_files = ('PaperCrumple.css', 'PaperCrumple.jsx')
|
|
1141
|
-
lib_dependencies: list[str] = ['three@0.
|
|
1141
|
+
lib_dependencies: list[str] = ['three@0.186.1']
|
|
1142
1142
|
|
|
1143
1143
|
src: rx.Var[str] = field(
|
|
1144
1144
|
doc="Required image URL. PNG transparency is preserved. Remote image servers must allow CORS. Default: -."
|
|
@@ -1335,7 +1335,7 @@ class PromptBar(ReactBitsComponent):
|
|
|
1335
1335
|
_rb_category = "Micro"
|
|
1336
1336
|
_rb_name = "PromptBar"
|
|
1337
1337
|
_rb_files = ('PromptBar.css', 'PromptBar.jsx')
|
|
1338
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@
|
|
1338
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@14.3.0']
|
|
1339
1339
|
|
|
1340
1340
|
placeholder: rx.Var[str] = field(
|
|
1341
1341
|
doc="Shown while the field is empty. Default: 'Ask anything'."
|
|
@@ -1557,7 +1557,7 @@ class RubberSegment(ReactBitsComponent):
|
|
|
1557
1557
|
_rb_category = "Micro"
|
|
1558
1558
|
_rb_name = "RubberSegment"
|
|
1559
1559
|
_rb_files = ('RubberSegment.css', 'RubberSegment.jsx')
|
|
1560
|
-
lib_dependencies: list[str] = ['motion@
|
|
1560
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
1561
1561
|
|
|
1562
1562
|
items: rx.Var[list[Any]] = field(
|
|
1563
1563
|
doc="The slots, in order. A string is both value and label. Default: -."
|
|
@@ -1627,7 +1627,7 @@ class ScrubField(ReactBitsComponent):
|
|
|
1627
1627
|
_rb_category = "Micro"
|
|
1628
1628
|
_rb_name = "ScrubField"
|
|
1629
1629
|
_rb_files = ('ScrubField.css', 'ScrubField.jsx')
|
|
1630
|
-
lib_dependencies: list[str] = ['motion@
|
|
1630
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
1631
1631
|
|
|
1632
1632
|
label: rx.Var[str] = field(
|
|
1633
1633
|
doc="The field name. Drag anywhere on the chip to scrub; click without moving to type. Default: 'Radius'."
|
|
@@ -1790,7 +1790,7 @@ class SlideCommit(ReactBitsComponent):
|
|
|
1790
1790
|
_rb_category = "Micro"
|
|
1791
1791
|
_rb_name = "SlideCommit"
|
|
1792
1792
|
_rb_files = ('SlideCommit.css', 'SlideCommit.jsx')
|
|
1793
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@
|
|
1793
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@14.3.0']
|
|
1794
1794
|
|
|
1795
1795
|
label: rx.Var[Component | str] = field(
|
|
1796
1796
|
doc="The instruction centred in the pill; the capsule wipes it as you drag. Default: 'Slide to pay'."
|
|
@@ -1863,7 +1863,7 @@ class SlingButton(ReactBitsComponent):
|
|
|
1863
1863
|
_rb_category = "Micro"
|
|
1864
1864
|
_rb_name = "SlingButton"
|
|
1865
1865
|
_rb_files = ('SlingButton.css', 'SlingButton.jsx')
|
|
1866
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@
|
|
1866
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@14.3.0']
|
|
1867
1867
|
|
|
1868
1868
|
pad_color: rx.Var[str] = field(
|
|
1869
1869
|
doc="The pad fill. Default: '#f5f5f5'."
|
|
@@ -2002,7 +2002,7 @@ class SpringCheck(ReactBitsComponent):
|
|
|
2002
2002
|
_rb_category = "Micro"
|
|
2003
2003
|
_rb_name = "SpringCheck"
|
|
2004
2004
|
_rb_files = ('SpringCheck.css', 'SpringCheck.jsx')
|
|
2005
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', 'motion@
|
|
2005
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', 'motion@14.3.0']
|
|
2006
2006
|
|
|
2007
2007
|
label: rx.Var[Component | str] = field(
|
|
2008
2008
|
doc="The words beside the box; the strike-through is exactly their width. Default: 'Ship the build'."
|
|
@@ -2066,7 +2066,7 @@ class SquishSwitch(ReactBitsComponent):
|
|
|
2066
2066
|
_rb_category = "Micro"
|
|
2067
2067
|
_rb_name = "SquishSwitch"
|
|
2068
2068
|
_rb_files = ('SquishSwitch.css', 'SquishSwitch.jsx')
|
|
2069
|
-
lib_dependencies: list[str] = ['motion@
|
|
2069
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
2070
2070
|
|
|
2071
2071
|
checked: rx.Var[bool] = field(
|
|
2072
2072
|
doc="Controlled state. Leave it out to let the switch keep its own."
|
|
@@ -2136,7 +2136,7 @@ class StatusMark(ReactBitsComponent):
|
|
|
2136
2136
|
_rb_category = "Micro"
|
|
2137
2137
|
_rb_name = "StatusMark"
|
|
2138
2138
|
_rb_files = ('StatusMark.css', 'StatusMark.jsx')
|
|
2139
|
-
lib_dependencies: list[str] = ['motion@
|
|
2139
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
2140
2140
|
|
|
2141
2141
|
status: rx.Var[Literal["pending", "running", "done", "failed", "cancelled"]] = field(
|
|
2142
2142
|
doc="The lifecycle state. Every change morphs the glyph in place. Default: 'pending'."
|
|
@@ -2200,7 +2200,7 @@ class SwipeRow(ReactBitsComponent):
|
|
|
2200
2200
|
_rb_category = "Micro"
|
|
2201
2201
|
_rb_name = "SwipeRow"
|
|
2202
2202
|
_rb_files = ('SwipeRow.css', 'SwipeRow.jsx')
|
|
2203
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@
|
|
2203
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@14.3.0']
|
|
2204
2204
|
|
|
2205
2205
|
actions: rx.Var[list[Any]] = field(
|
|
2206
2206
|
doc="The drawer, outermost first. Each has id, label, an optional icon, an optional color for secondary actions, dismiss to fold the row when pressed, and onSelect. The first is the full-swipe action and always folds the row. Default: DEFAULT_ACTIONS."
|
|
@@ -2282,7 +2282,7 @@ class SwipeToast(ReactBitsComponent):
|
|
|
2282
2282
|
_rb_category = "Micro"
|
|
2283
2283
|
_rb_name = "SwipeToast"
|
|
2284
2284
|
_rb_files = ('SwipeToast.css', 'SwipeToast.jsx')
|
|
2285
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@
|
|
2285
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@14.3.0']
|
|
2286
2286
|
|
|
2287
2287
|
title: rx.Var[Component | str] = field(
|
|
2288
2288
|
doc="The first line. Default: 'File archived'."
|
|
@@ -2361,7 +2361,7 @@ class TearTicket(ReactBitsComponent):
|
|
|
2361
2361
|
_rb_category = "Micro"
|
|
2362
2362
|
_rb_name = "TearTicket"
|
|
2363
2363
|
_rb_files = ('TearTicket.css', 'TearTicket.jsx')
|
|
2364
|
-
lib_dependencies: list[str] = ['motion@
|
|
2364
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
2365
2365
|
|
|
2366
2366
|
stub: rx.Var[Component | str] = field(
|
|
2367
2367
|
doc="Content of the tear-off stub."
|
|
@@ -2482,7 +2482,7 @@ class ThoughtLine(ReactBitsComponent):
|
|
|
2482
2482
|
_rb_category = "Micro"
|
|
2483
2483
|
_rb_name = "ThoughtLine"
|
|
2484
2484
|
_rb_files = ('ThoughtLine.css', 'ThoughtLine.jsx')
|
|
2485
|
-
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@
|
|
2485
|
+
lib_dependencies: list[str] = ['@hugeicons/core-free-icons@4.3.3', '@hugeicons/react@1.1.10', 'motion@14.3.0']
|
|
2486
2486
|
|
|
2487
2487
|
label: rx.Var[str] = field(
|
|
2488
2488
|
doc="The working line. It breathes, and it is the spoken text. Default: 'Thinking\u2026'."
|
|
@@ -2646,7 +2646,7 @@ class WakeSlider(ReactBitsComponent):
|
|
|
2646
2646
|
_rb_category = "Micro"
|
|
2647
2647
|
_rb_name = "WakeSlider"
|
|
2648
2648
|
_rb_files = ('WakeSlider.css', 'WakeSlider.jsx')
|
|
2649
|
-
lib_dependencies: list[str] = ['motion@
|
|
2649
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
2650
2650
|
|
|
2651
2651
|
value: rx.Var[int | float] = field(
|
|
2652
2652
|
doc="Controlled value."
|
|
@@ -2728,7 +2728,7 @@ class WarmTooltip(ReactBitsComponent):
|
|
|
2728
2728
|
_rb_category = "Micro"
|
|
2729
2729
|
_rb_name = "WarmTooltip"
|
|
2730
2730
|
_rb_files = ('WarmTooltip.css', 'WarmTooltip.jsx')
|
|
2731
|
-
lib_dependencies: list[str] = ['motion@
|
|
2731
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
2732
2732
|
|
|
2733
2733
|
content: rx.Var[Component | str] = field(
|
|
2734
2734
|
doc="The label. Keep it to a few words. Default: -."
|
|
@@ -2792,7 +2792,7 @@ class WarmTooltipGroup(ReactBitsComponent):
|
|
|
2792
2792
|
_rb_category = "Micro"
|
|
2793
2793
|
_rb_name = "WarmTooltip"
|
|
2794
2794
|
_rb_files = ('WarmTooltip.css', 'WarmTooltip.jsx')
|
|
2795
|
-
lib_dependencies: list[str] = ['motion@
|
|
2795
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
2796
2796
|
|
|
2797
2797
|
delay: rx.Var[int | float] = field(doc="Open delay in ms.")
|
|
2798
2798
|
warm_window: rx.Var[int | float] = field(doc="How long (ms) the group stays warm.")
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/source.py
RENAMED
|
@@ -55,8 +55,25 @@ _TEXT_SUFFIXES = {".js", ".jsx", ".css", ".ts", ".tsx", ".json"}
|
|
|
55
55
|
|
|
56
56
|
# Small, surgical patches so the plain JS-CSS variant runs inside a Reflex app.
|
|
57
57
|
# React Bits 2.0 no longer imports react-router, Chakra UI or Tailwind classes,
|
|
58
|
-
# so the per-file patches the 1.x sources needed are gone.
|
|
59
|
-
|
|
58
|
+
# so the per-file patches the 1.x sources needed are gone. The ones left move
|
|
59
|
+
# off three.js APIs deprecated after r180 (React Bits is locked to r180, the
|
|
60
|
+
# wrappers install r186), which otherwise log a console warning.
|
|
61
|
+
PATCHES: dict[tuple[str, str], list[tuple[str, str]]] = {
|
|
62
|
+
# THREE.Clock is deprecated since r183 in favour of THREE.Timer, which only
|
|
63
|
+
# advances when update() is called.
|
|
64
|
+
("Backgrounds", "ColorBends.jsx"): [
|
|
65
|
+
("const clock = new THREE.Clock();", "const clock = new THREE.Timer();"),
|
|
66
|
+
(
|
|
67
|
+
"const dt = clock.getDelta();\n const elapsed = clock.elapsedTime;",
|
|
68
|
+
"clock.update();\n const dt = clock.getDelta();\n const elapsed = clock.getElapsed();",
|
|
69
|
+
),
|
|
70
|
+
],
|
|
71
|
+
# WebGLRenderer dropped PCFSoftShadowMap in r182: three falls back to
|
|
72
|
+
# PCFShadowMap (now soft as well), so this only silences the warning.
|
|
73
|
+
("Micro", "PaperCrumple.jsx"): [
|
|
74
|
+
("renderer.shadowMap.type = THREE.PCFSoftShadowMap;", "renderer.shadowMap.type = THREE.PCFShadowMap;"),
|
|
75
|
+
],
|
|
76
|
+
}
|
|
60
77
|
|
|
61
78
|
# Patches applied to every component file that renders its own ``<canvas>``.
|
|
62
79
|
#
|
|
@@ -104,7 +104,7 @@ class BlurText(ReactBitsComponent):
|
|
|
104
104
|
_rb_category = "TextAnimations"
|
|
105
105
|
_rb_name = "BlurText"
|
|
106
106
|
_rb_files = ('BlurText.jsx',)
|
|
107
|
-
lib_dependencies: list[str] = ['motion@
|
|
107
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
108
108
|
|
|
109
109
|
text: rx.Var[str] = field(
|
|
110
110
|
doc="The text content to animate."
|
|
@@ -183,7 +183,7 @@ class CircularText(ReactBitsComponent):
|
|
|
183
183
|
_rb_category = "TextAnimations"
|
|
184
184
|
_rb_name = "CircularText"
|
|
185
185
|
_rb_files = ('CircularText.css', 'CircularText.jsx')
|
|
186
|
-
lib_dependencies: list[str] = ['motion@
|
|
186
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
187
187
|
|
|
188
188
|
text: rx.Var[str] = field(
|
|
189
189
|
doc="The text laid out around the ring. End it with a separator for a seamless loop."
|
|
@@ -250,7 +250,7 @@ class CountUp(ReactBitsComponent):
|
|
|
250
250
|
_rb_category = "TextAnimations"
|
|
251
251
|
_rb_name = "CountUp"
|
|
252
252
|
_rb_files = ('CountUp.jsx',)
|
|
253
|
-
lib_dependencies: list[str] = ['motion@
|
|
253
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
254
254
|
|
|
255
255
|
to: rx.Var[int | float] = field(
|
|
256
256
|
doc="The target number to count up to. Default: \u2014."
|
|
@@ -380,7 +380,7 @@ class DecryptedText(ReactBitsComponent):
|
|
|
380
380
|
_rb_category = "TextAnimations"
|
|
381
381
|
_rb_name = "DecryptedText"
|
|
382
382
|
_rb_files = ('DecryptedText.jsx',)
|
|
383
|
-
lib_dependencies: list[str] = ['motion@
|
|
383
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
384
384
|
|
|
385
385
|
text: rx.Var[str] = field(
|
|
386
386
|
doc="The text to decrypt. Default: -."
|
|
@@ -667,7 +667,7 @@ class FoldText(ReactBitsComponent):
|
|
|
667
667
|
_rb_category = "TextAnimations"
|
|
668
668
|
_rb_name = "FoldText"
|
|
669
669
|
_rb_files = ('FoldText.css', 'FoldText.jsx')
|
|
670
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
670
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
671
671
|
|
|
672
672
|
text: rx.Var[str] = field(
|
|
673
673
|
doc="The text to split and fold into place. Line breaks are kept. Default: 'Design unfolds'."
|
|
@@ -929,7 +929,7 @@ class MaskedHeading(ReactBitsComponent):
|
|
|
929
929
|
_rb_category = "TextAnimations"
|
|
930
930
|
_rb_name = "MaskedHeading"
|
|
931
931
|
_rb_files = ('MaskedHeading.css', 'MaskedHeading.jsx')
|
|
932
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
932
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
933
933
|
|
|
934
934
|
text: rx.Var[str] = field(
|
|
935
935
|
doc="Heading copy. Default: 'Designed in the details'."
|
|
@@ -1104,7 +1104,7 @@ class RotatingText(ReactBitsComponent):
|
|
|
1104
1104
|
_rb_category = "TextAnimations"
|
|
1105
1105
|
_rb_name = "RotatingText"
|
|
1106
1106
|
_rb_files = ('RotatingText.css', 'RotatingText.jsx')
|
|
1107
|
-
lib_dependencies: list[str] = ['motion@
|
|
1107
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
1108
1108
|
|
|
1109
1109
|
texts: rx.Var[list[str]] = field(
|
|
1110
1110
|
doc="The texts to rotate through. Default: []."
|
|
@@ -1189,7 +1189,7 @@ class ScrambledText(ReactBitsComponent):
|
|
|
1189
1189
|
_rb_category = "TextAnimations"
|
|
1190
1190
|
_rb_name = "ScrambledText"
|
|
1191
1191
|
_rb_files = ('ScrambledText.css', 'ScrambledText.jsx')
|
|
1192
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
1192
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
1193
1193
|
|
|
1194
1194
|
radius: rx.Var[int | float] = field(
|
|
1195
1195
|
doc="Distance from the pointer, in px, within which letters react. Default: 100."
|
|
@@ -1241,7 +1241,7 @@ class ScrollFloat(ReactBitsComponent):
|
|
|
1241
1241
|
_rb_category = "TextAnimations"
|
|
1242
1242
|
_rb_name = "ScrollFloat"
|
|
1243
1243
|
_rb_files = ('ScrollFloat.css', 'ScrollFloat.jsx')
|
|
1244
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
1244
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
1245
1245
|
|
|
1246
1246
|
scroll_container_ref: rx.Var[Any] = field(
|
|
1247
1247
|
doc="Ref to the element that scrolls. Leave it out to use the page. Default: window."
|
|
@@ -1305,7 +1305,7 @@ class ScrollReveal(ReactBitsComponent):
|
|
|
1305
1305
|
_rb_category = "TextAnimations"
|
|
1306
1306
|
_rb_name = "ScrollReveal"
|
|
1307
1307
|
_rb_files = ('ScrollReveal.css', 'ScrollReveal.jsx')
|
|
1308
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
1308
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
1309
1309
|
|
|
1310
1310
|
scroll_container_ref: rx.Var[Any] = field(
|
|
1311
1311
|
doc="Ref to the element that scrolls. Leave it out to use the page. Default: window."
|
|
@@ -1372,7 +1372,7 @@ class ScrollVelocity(ReactBitsComponent):
|
|
|
1372
1372
|
_rb_category = "TextAnimations"
|
|
1373
1373
|
_rb_name = "ScrollVelocity"
|
|
1374
1374
|
_rb_files = ('ScrollVelocity.css', 'ScrollVelocity.jsx')
|
|
1375
|
-
lib_dependencies: list[str] = ['motion@
|
|
1375
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
1376
1376
|
|
|
1377
1377
|
scroll_container_ref: rx.Var[Any] = field(
|
|
1378
1378
|
doc="Optional ref for a custom scroll container to track scroll position."
|
|
@@ -1520,7 +1520,7 @@ class Shuffle(ReactBitsComponent):
|
|
|
1520
1520
|
_rb_category = "TextAnimations"
|
|
1521
1521
|
_rb_name = "Shuffle"
|
|
1522
1522
|
_rb_files = ('Shuffle.css', 'Shuffle.jsx')
|
|
1523
|
-
lib_dependencies: list[str] = ['@gsap/react@2.1.2', 'gsap@3.
|
|
1523
|
+
lib_dependencies: list[str] = ['@gsap/react@2.1.2', 'gsap@3.15.0']
|
|
1524
1524
|
|
|
1525
1525
|
text: rx.Var[str] = field(
|
|
1526
1526
|
doc="The text content to shuffle."
|
|
@@ -1689,7 +1689,7 @@ class SplitText(ReactBitsComponent):
|
|
|
1689
1689
|
_rb_category = "TextAnimations"
|
|
1690
1690
|
_rb_name = "SplitText"
|
|
1691
1691
|
_rb_files = ('SplitText.jsx',)
|
|
1692
|
-
lib_dependencies: list[str] = ['@gsap/react@2.1.2', 'gsap@3.
|
|
1692
|
+
lib_dependencies: list[str] = ['@gsap/react@2.1.2', 'gsap@3.15.0']
|
|
1693
1693
|
|
|
1694
1694
|
text: rx.Var[str] = field(
|
|
1695
1695
|
doc="The text content to animate."
|
|
@@ -1768,7 +1768,7 @@ class StrokeText(ReactBitsComponent):
|
|
|
1768
1768
|
_rb_category = "TextAnimations"
|
|
1769
1769
|
_rb_name = "StrokeText"
|
|
1770
1770
|
_rb_files = ('StrokeText.css', 'StrokeText.jsx')
|
|
1771
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
1771
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
1772
1772
|
|
|
1773
1773
|
text: rx.Var[str] = field(
|
|
1774
1774
|
doc="The heading copy rendered as measured SVG glyphs. Default: DEFAULT_TEXT."
|
|
@@ -2012,7 +2012,7 @@ class TextLoop(ReactBitsComponent):
|
|
|
2012
2012
|
_rb_category = "TextAnimations"
|
|
2013
2013
|
_rb_name = "TextLoop"
|
|
2014
2014
|
_rb_files = ('TextLoop.css', 'TextLoop.jsx')
|
|
2015
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
2015
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
2016
2016
|
|
|
2017
2017
|
text: rx.Var[str] = field(
|
|
2018
2018
|
doc="The phrase repeated along the curve. Default: 'React \u2726 Bits'."
|
|
@@ -2178,7 +2178,7 @@ class TextType(ReactBitsComponent):
|
|
|
2178
2178
|
_rb_category = "TextAnimations"
|
|
2179
2179
|
_rb_name = "TextType"
|
|
2180
2180
|
_rb_files = ('TextType.css', 'TextType.jsx')
|
|
2181
|
-
lib_dependencies: list[str] = ['gsap@3.
|
|
2181
|
+
lib_dependencies: list[str] = ['gsap@3.15.0']
|
|
2182
2182
|
|
|
2183
2183
|
text: rx.Var[str | list[str]] = field(
|
|
2184
2184
|
doc="A sentence, or a list of sentences typed one after another. Default: -."
|
|
@@ -2269,7 +2269,7 @@ class TrueFocus(ReactBitsComponent):
|
|
|
2269
2269
|
_rb_category = "TextAnimations"
|
|
2270
2270
|
_rb_name = "TrueFocus"
|
|
2271
2271
|
_rb_files = ('TrueFocus.css', 'TrueFocus.jsx')
|
|
2272
|
-
lib_dependencies: list[str] = ['motion@
|
|
2272
|
+
lib_dependencies: list[str] = ['motion@14.3.0']
|
|
2273
2273
|
|
|
2274
2274
|
sentence: rx.Var[str] = field(
|
|
2275
2275
|
doc="The text to display with the focus animation. Default: 'True Focus'."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reflex-reactbits
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Reflex wrappers for React Bits: 200+ animated text effects, backgrounds, UI components and micro interactions.
|
|
5
5
|
Author-email: Ernesto Crespo <ecrespo@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -82,8 +82,11 @@ bundle. So this package ships only the Python side:
|
|
|
82
82
|
app at `assets/reactbits/<Category>/<Name>/` — the same thing `npx shadcn add` does in
|
|
83
83
|
a React project. The files are pinned to the React Bits commit these wrappers were
|
|
84
84
|
generated from.
|
|
85
|
-
3. Reflex imports that file client-side only (`NoSSRComponent`) and installs
|
|
86
|
-
versions React Bits is locked to (`
|
|
85
|
+
3. Reflex imports that file client-side only (`NoSSRComponent`) and installs exact npm
|
|
86
|
+
versions: the ones React Bits is locked to (`ogl`, `matter-js`, Hugeicons, ...), except
|
|
87
|
+
for `motion` 14, `three` 0.186 (with `@react-three/fiber` 9.8 and `@react-three/drei`
|
|
88
|
+
10.7) and `gsap` 3.15, which are newer than React Bits' lockfile (see `DEP_VERSIONS` in
|
|
89
|
+
`scripts/generate_wrappers.py`).
|
|
87
90
|
|
|
88
91
|
The copied files belong to your app: **edit them freely**, they are never overwritten.
|
|
89
92
|
Commit them if you want reproducible offline builds.
|
|
@@ -93,10 +96,12 @@ Sources are resolved from `REACTBITS_SOURCE_DIR` (a local clone of
|
|
|
93
96
|
GitHub raw files at `REACTBITS_REF` (defaults to the pinned commit).
|
|
94
97
|
|
|
95
98
|
React Bits 2.0 no longer needs React Router, Chakra UI or Tailwind, so the sources are
|
|
96
|
-
copied as-is with
|
|
97
|
-
WebGL context on unmount instead of calling `loseContext()
|
|
99
|
+
copied as-is with two exceptions. Components that render their own `<canvas>` keep their
|
|
100
|
+
WebGL context on unmount instead of calling `loseContext()`: React StrictMode (on in Reflex
|
|
98
101
|
dev mode) re-runs effects on the same canvas, and a lost context would leave the component
|
|
99
|
-
frozen or blank.
|
|
102
|
+
frozen or blank. And `color_bends` and `paper_crumple` move off three.js APIs deprecated
|
|
103
|
+
after r180 (`THREE.Clock` → `THREE.Timer`, `PCFSoftShadowMap` → `PCFShadowMap`), so the
|
|
104
|
+
newer `three` does not log deprecation warnings.
|
|
100
105
|
|
|
101
106
|
Each copy records the React Bits commit it came from in `.reactbits-ref`. When a newer
|
|
102
107
|
version of this package is generated from another commit, existing copies are **not**
|
|
@@ -238,10 +243,10 @@ given pull request introduces.
|
|
|
238
243
|
|
|
239
244
|
```bash
|
|
240
245
|
# 1. bump the version
|
|
241
|
-
$EDITOR pyproject.toml # [project] version = "0.2.
|
|
246
|
+
$EDITOR pyproject.toml # [project] version = "0.2.2"
|
|
242
247
|
|
|
243
248
|
# 2. tag it; the tag must match that version or release.yml stops
|
|
244
|
-
git tag v0.2.
|
|
249
|
+
git tag v0.2.2 && git push origin v0.2.2
|
|
245
250
|
```
|
|
246
251
|
|
|
247
252
|
The tag triggers `release.yml`, which builds, creates the GitHub release with the
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "reflex-reactbits"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Reflex wrappers for React Bits: 200+ animated text effects, backgrounds, UI components and micro interactions."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/__init__.py
RENAMED
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/animations.pyi
RENAMED
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/backgrounds.pyi
RENAMED
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/base.py
RENAMED
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/base.pyi
RENAMED
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/catalog.py
RENAMED
|
File without changes
|
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/components.pyi
RENAMED
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/micro.pyi
RENAMED
|
File without changes
|
{reflex_reactbits-0.2.1 → reflex_reactbits-0.2.2}/custom_components/reflex_reactbits/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|