@bbki.ng/site 5.4.32 → 5.4.34
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @bbki.ng/site
|
|
2
2
|
|
|
3
|
+
## 5.4.34
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 352e08b: fix graident blur utility cls
|
|
8
|
+
- Updated dependencies [352e08b]
|
|
9
|
+
- @bbki.ng/ui@0.1.8
|
|
10
|
+
|
|
11
|
+
## 5.4.33
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- aaee63e: fix style
|
|
16
|
+
- eada3c3: fix style
|
|
17
|
+
- 7b07af6: fix style
|
|
18
|
+
- Updated dependencies [aaee63e]
|
|
19
|
+
- Updated dependencies [eada3c3]
|
|
20
|
+
- Updated dependencies [7b07af6]
|
|
21
|
+
- @bbki.ng/ui@0.1.7
|
|
22
|
+
|
|
3
23
|
## 5.4.32
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bbki.ng/site",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.34",
|
|
4
4
|
"description": "code behind bbki.ng",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react-dom": "^18.0.0",
|
|
15
15
|
"react-router-dom": "6",
|
|
16
16
|
"swr": "^2.2.5",
|
|
17
|
-
"@bbki.ng/ui": "0.1.
|
|
17
|
+
"@bbki.ng/ui": "0.1.8"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@eslint/compat": "^1.0.0",
|
|
@@ -42,7 +42,11 @@ void drawSpiral(vec2 uv) {
|
|
|
42
42
|
vec2 p = uv - center;
|
|
43
43
|
p.x *= aspect;
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
// Clamp scale so the spiral never grows beyond ~480px equivalent
|
|
46
|
+
float maxSpiralPx = 480.0;
|
|
47
|
+
float baseScale = 4.0;
|
|
48
|
+
float minDim = min(uResolution.x, uResolution.y) / uDevicePixelRatio;
|
|
49
|
+
float scale = max(baseScale, minDim / maxSpiralPx * baseScale);
|
|
46
50
|
p *= scale;
|
|
47
51
|
|
|
48
52
|
// early exit: spiral fits within radius ~0.35 in curve space
|
|
@@ -84,7 +88,7 @@ void drawSpiral(vec2 uv) {
|
|
|
84
88
|
float dc = distance(p, closest);
|
|
85
89
|
minDist = min(minDist, dc);
|
|
86
90
|
|
|
87
|
-
float lineWidth = 0.
|
|
91
|
+
float lineWidth = 0.005;
|
|
88
92
|
float alpha = 1.0 - smoothstep(0.0, lineWidth, minDist);
|
|
89
93
|
|
|
90
94
|
float spiralAlpha = alpha * 0.8 * uSpiralOpacity;
|
|
@@ -74,7 +74,7 @@ const Streaming = () => {
|
|
|
74
74
|
hide-scroll-bar
|
|
75
75
|
hide-scroll-button
|
|
76
76
|
ref={bbMsgHistoryRef}
|
|
77
|
-
style={{ height: '100%', '--bb-max-height': '
|
|
77
|
+
style={{ height: '100%', '--bb-max-height': '260px' } as React.CSSProperties}
|
|
78
78
|
>
|
|
79
79
|
{formattedData}
|
|
80
80
|
</bb-msg-history>
|