@fluid-topics/ft-reorderable-list 1.2.48 → 1.2.50

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.
@@ -0,0 +1,13 @@
1
+ export declare class RemoveItemEvent extends CustomEvent<{
2
+ id: string;
3
+ }> {
4
+ constructor(id: string);
5
+ }
6
+ export declare class EditItemEvent extends CustomEvent<{
7
+ id: string;
8
+ }> {
9
+ constructor(id: string);
10
+ }
11
+ export declare class OrderChangeEvent extends CustomEvent<void> {
12
+ constructor();
13
+ }
package/build/event.js ADDED
@@ -0,0 +1,15 @@
1
+ export class RemoveItemEvent extends CustomEvent {
2
+ constructor(id) {
3
+ super("reorderable-list-item-remove", { detail: { id: id }, bubbles: true, composed: true });
4
+ }
5
+ }
6
+ export class EditItemEvent extends CustomEvent {
7
+ constructor(id) {
8
+ super("reorderable-list-item-edit", { detail: { id: id }, bubbles: true, composed: true });
9
+ }
10
+ }
11
+ export class OrderChangeEvent extends CustomEvent {
12
+ constructor() {
13
+ super("reorderable-list-order-change", { bubbles: true, composed: true });
14
+ }
15
+ }