@e280/sly 0.3.0-4 → 0.3.0-5

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/x/index.html CHANGED
@@ -9,7 +9,7 @@
9
9
  <title>sly</title>
10
10
  <link rel="icon" href="/assets/favicon.png"/>
11
11
  <link rel="stylesheet" href="demo/demo.css?v=633361cda103"/>
12
- <script type="module" src="demo/demo.bundle.min.js?v=f9ff7b34dd7e"></script>
12
+ <script type="module" src="demo/demo.bundle.min.js?v=54044b052860"></script>
13
13
 
14
14
 
15
15
  <meta name="theme-color" content="#95ff7b">
@@ -25,7 +25,7 @@
25
25
  <img class=icon alt="" src="/assets/favicon.png"/>
26
26
  <h1>sly testing page</h1>
27
27
  <p><a href="https://github.com/e280/sly">github.com/e280/sly</a></p>
28
- <p class=lil>v0.3.0-4</p>
28
+ <p class=lil>v0.3.0-5</p>
29
29
  <div class="demo"></div>
30
30
  </body>
31
31
  </html>
@@ -3,9 +3,9 @@ import { Drops } from "./drops.js";
3
3
  export declare class DragAndDrops<Draggy, Droppy> {
4
4
  private params;
5
5
  /** what is currently being dragged */
6
- $draggy: import("@e280/strata").SignalFn<Draggy | undefined>;
6
+ $draggy: import("@e280/strata").Signal<Draggy | undefined>;
7
7
  /** what dropzone are we curently hovering over */
8
- $droppy: import("@e280/strata").SignalFn<Droppy | undefined>;
8
+ $droppy: import("@e280/strata").Signal<Droppy | undefined>;
9
9
  constructor(params: {
10
10
  /** accept a dropped item that was declared within this system */
11
11
  acceptDrop: (event: DragEvent, draggy: Draggy, droppy: Droppy) => void;
package/x/loot/drops.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /** dropzone that accepts user-dropped stuff like files */
2
2
  export declare class Drops {
3
3
  private params;
4
- $indicator: import("@e280/strata").SignalFn<boolean>;
4
+ $indicator: import("@e280/strata").Signal<boolean>;
5
5
  constructor(params: {
6
6
  /** whether or not the dragged item is acceptable for a drop */
7
7
  predicate: (event: DragEvent) => boolean;
@@ -1,3 +1,3 @@
1
- export declare function useSignal<Value>(value: Value): import("@e280/strata").SignalFn<Value>;
2
- export declare function useDerived<Value>(fn: () => Value): import("@e280/strata").DerivedFn<Value>;
3
- export declare function useLazy<Value>(fn: () => Value): import("@e280/strata").LazyFn<Value>;
1
+ export declare function useSignal<Value>(value: Value): import("@e280/strata").Signal<Value>;
2
+ export declare function useDerived<Value>(fn: () => Value): import("@e280/strata").Derived<Value>;
3
+ export declare function useLazy<Value>(fn: () => Value): import("@e280/strata").Lazy<Value>;