@opsydyn/effect-three-foldkit 0.2.0 → 0.3.0
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 +6 -1
- package/dist/element.d.ts +86 -2
- package/dist/element.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.0](https://github.com/opsydyn/fold-kit-experiments/compare/effect-three-foldkit-v0.2.0...effect-three-foldkit-v0.3.0) (2026-10-19)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **effect-three:** Drei's Billboard, RoundedBox and Backdrop, Detailed, CameraShake and Clone ([3ec570e](https://github.com/opsydyn/fold-kit-experiments/commit/3ec570e14e7632565adf846ef48b66287713a291))
|
|
8
|
+
|
|
3
9
|
## [0.2.0](https://github.com/opsydyn/fold-kit-experiments/compare/effect-three-foldkit-v0.1.0...effect-three-foldkit-v0.2.0) (2026-10-19)
|
|
4
10
|
|
|
5
11
|
### ⚠ BREAKING CHANGES
|
|
@@ -66,5 +72,4 @@
|
|
|
66
72
|
### Bug Fixes
|
|
67
73
|
|
|
68
74
|
- **effect-three-foldkit:** build the troika package before typechecking tests ([31df93f](https://github.com/opsydyn/fold-kit-experiments/commit/31df93f215dbedf865410e5384a21307ab367404))
|
|
69
|
-
- **effect-three-foldkit:** draw real WebGPU in Linux e2e ([fdf82e7](https://github.com/opsydyn/fold-kit-experiments/commit/fdf82e7815a901d09bea5fbd50769f398eded5c6))
|
|
70
75
|
- **effect-three-foldkit:** draw real WebGPU in Linux e2e ([186db41](https://github.com/opsydyn/fold-kit-experiments/commit/186db41bf649888f31e83c49db5bd4c23facd0e6))
|
package/dist/element.d.ts
CHANGED
|
@@ -81,6 +81,18 @@ export declare const sceneElement: CustomElement.CustomElementSpec<"effect-three
|
|
|
81
81
|
readonly lookAt: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
82
82
|
readonly damping: Schema.Finite;
|
|
83
83
|
readonly autoRotate: Schema.Finite;
|
|
84
|
+
readonly shake: Schema.withDecodingDefaultKey<Schema.NullOr<Schema.Struct<{
|
|
85
|
+
readonly intensity: Schema.Finite;
|
|
86
|
+
readonly decay: Schema.Boolean;
|
|
87
|
+
readonly decayRate: Schema.Finite;
|
|
88
|
+
readonly maxYaw: Schema.Finite;
|
|
89
|
+
readonly maxPitch: Schema.Finite;
|
|
90
|
+
readonly maxRoll: Schema.Finite;
|
|
91
|
+
readonly yawFrequency: Schema.Finite;
|
|
92
|
+
readonly pitchFrequency: Schema.Finite;
|
|
93
|
+
readonly rollFrequency: Schema.Finite;
|
|
94
|
+
readonly trigger: Schema.Finite;
|
|
95
|
+
}>>, never>;
|
|
84
96
|
}>, Schema.TaggedStruct<"Orthographic", {
|
|
85
97
|
readonly zoom: Schema.Finite;
|
|
86
98
|
readonly near: Schema.Finite;
|
|
@@ -89,6 +101,18 @@ export declare const sceneElement: CustomElement.CustomElementSpec<"effect-three
|
|
|
89
101
|
readonly lookAt: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
90
102
|
readonly damping: Schema.Finite;
|
|
91
103
|
readonly autoRotate: Schema.Finite;
|
|
104
|
+
readonly shake: Schema.withDecodingDefaultKey<Schema.NullOr<Schema.Struct<{
|
|
105
|
+
readonly intensity: Schema.Finite;
|
|
106
|
+
readonly decay: Schema.Boolean;
|
|
107
|
+
readonly decayRate: Schema.Finite;
|
|
108
|
+
readonly maxYaw: Schema.Finite;
|
|
109
|
+
readonly maxPitch: Schema.Finite;
|
|
110
|
+
readonly maxRoll: Schema.Finite;
|
|
111
|
+
readonly yawFrequency: Schema.Finite;
|
|
112
|
+
readonly pitchFrequency: Schema.Finite;
|
|
113
|
+
readonly rollFrequency: Schema.Finite;
|
|
114
|
+
readonly trigger: Schema.Finite;
|
|
115
|
+
}>>, never>;
|
|
92
116
|
}>]>;
|
|
93
117
|
readonly gestures: Schema.Literals<readonly ["page", "scene"]>;
|
|
94
118
|
readonly views: Schema.$Array<Schema.Struct<{
|
|
@@ -101,6 +125,18 @@ export declare const sceneElement: CustomElement.CustomElementSpec<"effect-three
|
|
|
101
125
|
readonly lookAt: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
102
126
|
readonly damping: Schema.Finite;
|
|
103
127
|
readonly autoRotate: Schema.Finite;
|
|
128
|
+
readonly shake: Schema.withDecodingDefaultKey<Schema.NullOr<Schema.Struct<{
|
|
129
|
+
readonly intensity: Schema.Finite;
|
|
130
|
+
readonly decay: Schema.Boolean;
|
|
131
|
+
readonly decayRate: Schema.Finite;
|
|
132
|
+
readonly maxYaw: Schema.Finite;
|
|
133
|
+
readonly maxPitch: Schema.Finite;
|
|
134
|
+
readonly maxRoll: Schema.Finite;
|
|
135
|
+
readonly yawFrequency: Schema.Finite;
|
|
136
|
+
readonly pitchFrequency: Schema.Finite;
|
|
137
|
+
readonly rollFrequency: Schema.Finite;
|
|
138
|
+
readonly trigger: Schema.Finite;
|
|
139
|
+
}>>, never>;
|
|
104
140
|
}>, Schema.TaggedStruct<"Orthographic", {
|
|
105
141
|
readonly zoom: Schema.Finite;
|
|
106
142
|
readonly near: Schema.Finite;
|
|
@@ -109,6 +145,18 @@ export declare const sceneElement: CustomElement.CustomElementSpec<"effect-three
|
|
|
109
145
|
readonly lookAt: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
110
146
|
readonly damping: Schema.Finite;
|
|
111
147
|
readonly autoRotate: Schema.Finite;
|
|
148
|
+
readonly shake: Schema.withDecodingDefaultKey<Schema.NullOr<Schema.Struct<{
|
|
149
|
+
readonly intensity: Schema.Finite;
|
|
150
|
+
readonly decay: Schema.Boolean;
|
|
151
|
+
readonly decayRate: Schema.Finite;
|
|
152
|
+
readonly maxYaw: Schema.Finite;
|
|
153
|
+
readonly maxPitch: Schema.Finite;
|
|
154
|
+
readonly maxRoll: Schema.Finite;
|
|
155
|
+
readonly yawFrequency: Schema.Finite;
|
|
156
|
+
readonly pitchFrequency: Schema.Finite;
|
|
157
|
+
readonly rollFrequency: Schema.Finite;
|
|
158
|
+
readonly trigger: Schema.Finite;
|
|
159
|
+
}>>, never>;
|
|
112
160
|
}>]>;
|
|
113
161
|
readonly rect: Schema.Struct<{
|
|
114
162
|
readonly x: Schema.Finite;
|
|
@@ -129,6 +177,18 @@ export declare const sceneElement: CustomElement.CustomElementSpec<"effect-three
|
|
|
129
177
|
readonly lookAt: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
130
178
|
readonly damping: Schema.Finite;
|
|
131
179
|
readonly autoRotate: Schema.Finite;
|
|
180
|
+
readonly shake: Schema.withDecodingDefaultKey<Schema.NullOr<Schema.Struct<{
|
|
181
|
+
readonly intensity: Schema.Finite;
|
|
182
|
+
readonly decay: Schema.Boolean;
|
|
183
|
+
readonly decayRate: Schema.Finite;
|
|
184
|
+
readonly maxYaw: Schema.Finite;
|
|
185
|
+
readonly maxPitch: Schema.Finite;
|
|
186
|
+
readonly maxRoll: Schema.Finite;
|
|
187
|
+
readonly yawFrequency: Schema.Finite;
|
|
188
|
+
readonly pitchFrequency: Schema.Finite;
|
|
189
|
+
readonly rollFrequency: Schema.Finite;
|
|
190
|
+
readonly trigger: Schema.Finite;
|
|
191
|
+
}>>, never>;
|
|
132
192
|
}>, Schema.TaggedStruct<"Orthographic", {
|
|
133
193
|
readonly zoom: Schema.Finite;
|
|
134
194
|
readonly near: Schema.Finite;
|
|
@@ -137,9 +197,21 @@ export declare const sceneElement: CustomElement.CustomElementSpec<"effect-three
|
|
|
137
197
|
readonly lookAt: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
138
198
|
readonly damping: Schema.Finite;
|
|
139
199
|
readonly autoRotate: Schema.Finite;
|
|
200
|
+
readonly shake: Schema.withDecodingDefaultKey<Schema.NullOr<Schema.Struct<{
|
|
201
|
+
readonly intensity: Schema.Finite;
|
|
202
|
+
readonly decay: Schema.Boolean;
|
|
203
|
+
readonly decayRate: Schema.Finite;
|
|
204
|
+
readonly maxYaw: Schema.Finite;
|
|
205
|
+
readonly maxPitch: Schema.Finite;
|
|
206
|
+
readonly maxRoll: Schema.Finite;
|
|
207
|
+
readonly yawFrequency: Schema.Finite;
|
|
208
|
+
readonly pitchFrequency: Schema.Finite;
|
|
209
|
+
readonly rollFrequency: Schema.Finite;
|
|
210
|
+
readonly trigger: Schema.Finite;
|
|
211
|
+
}>>, never>;
|
|
140
212
|
}>]>;
|
|
141
213
|
readonly background: Schema.NullOr<Schema.Int>;
|
|
142
|
-
readonly children: Schema.$Array<Schema.Codec<import("@opsydyn/effect-three").SceneNode,
|
|
214
|
+
readonly children: Schema.$Array<Schema.Codec<import("@opsydyn/effect-three").SceneNode, unknown, never, never>>;
|
|
143
215
|
}>>;
|
|
144
216
|
readonly overlays: Schema.$Array<Schema.Struct<{
|
|
145
217
|
readonly key: Schema.String;
|
|
@@ -325,6 +397,18 @@ export declare const sceneElement: CustomElement.CustomElementSpec<"effect-three
|
|
|
325
397
|
}>, Schema.TaggedStruct<"Circle", {
|
|
326
398
|
readonly radius: Schema.Finite;
|
|
327
399
|
readonly segments: Schema.Int;
|
|
400
|
+
}>, Schema.TaggedStruct<"RoundedBox", {
|
|
401
|
+
readonly width: Schema.Finite;
|
|
402
|
+
readonly height: Schema.Finite;
|
|
403
|
+
readonly depth: Schema.Finite;
|
|
404
|
+
readonly radius: Schema.Finite;
|
|
405
|
+
readonly smoothness: Schema.Int;
|
|
406
|
+
readonly bevelSegments: Schema.Int;
|
|
407
|
+
readonly steps: Schema.Int;
|
|
408
|
+
readonly creaseAngle: Schema.Finite;
|
|
409
|
+
}>, Schema.TaggedStruct<"Backdrop", {
|
|
410
|
+
readonly floor: Schema.Finite;
|
|
411
|
+
readonly segments: Schema.Int;
|
|
328
412
|
}>]>;
|
|
329
413
|
}>>;
|
|
330
414
|
readonly materials: Schema.$Array<Schema.Struct<{
|
|
@@ -396,7 +480,7 @@ export declare const sceneElement: CustomElement.CustomElementSpec<"effect-three
|
|
|
396
480
|
}>]>;
|
|
397
481
|
}>>;
|
|
398
482
|
}>;
|
|
399
|
-
readonly children: Schema.$Array<Schema.Codec<import("@opsydyn/effect-three").SceneNode,
|
|
483
|
+
readonly children: Schema.$Array<Schema.Codec<import("@opsydyn/effect-three").SceneNode, unknown, never, never>>;
|
|
400
484
|
}>;
|
|
401
485
|
}, {
|
|
402
486
|
'scene-click': Schema.Struct<{
|
package/dist/element.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../src/element.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,qFAAqF;AACrF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,IAAI,CAAC;AAIhD,wEAAwE;AACxE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;EAW3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAE5D,oFAAoF;AACpF,eAAO,MAAM,eAAe;;EAE1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAE1D,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../src/element.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,qFAAqF;AACrF,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCvB,CAAC;AAEH,sDAAsD;AACtD,eAAO,MAAM,YAAY;oBAChB,aAAa;0BACP,oBAAoB;0BACpB,oBAAoB;0BACpB,oBAAoB;wBACtB,kBAAkB;2BACf,qBAAqB;0BACtB,oBAAoB;2BACnB,qBAAqB;4BACpB,sBAAsB;oBAC9B,aAAa;mBACd,YAAY;sBACT,gBAAgB;sBAChB,eAAe;0BACX,oBAAoB;wBACtB,iBAAiB;2BACd,qBAAqB;uBACzB,gBAAgB;4BACX,sBAAsB;sBAC5B,gBAAgB;uBACf,iBAAiB;wBAChB,kBAAkB;sBACpB,gBAAgB;uBACf,iBAAiB;uBACjB,iBAAiB;iCACP,mBAAmB;CACwC,CAAC;AAElF,yFAAyF;AACzF,eAAO,MAAM,cAAc;;;QAEV,MAAM;;EACrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opsydyn/effect-three-foldkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Thin Foldkit adapter for @opsydyn/effect-three.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"typescript": "7.0.2"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@opsydyn/effect-three": "0.
|
|
69
|
+
"@opsydyn/effect-three": "0.3.0",
|
|
70
70
|
"effect": "^4.0.0",
|
|
71
71
|
"foldkit": "0.167.0",
|
|
72
72
|
"three": ">=0.186.0 <0.187.0"
|