@mulsense/xnew 0.1.1 → 0.1.3

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.
@@ -4,7 +4,7 @@ export declare function AccordionFrame(frame: xnew.Unit, {}?: {}): {
4
4
  open(): void;
5
5
  close(): void;
6
6
  };
7
- export declare function AccordionButton(button: xnew.Unit, {}?: {}): void;
7
+ export declare function AccordionHeader(header: xnew.Unit, {}?: {}): void;
8
8
  export declare function AccordionBullet(bullet: xnew.Unit, { type }?: {
9
9
  type?: string;
10
10
  }): {
@@ -1,5 +1,5 @@
1
1
  import { xnew } from '../core/xnew';
2
- export declare function VirtualStick(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
2
+ export declare function TouchStick(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
3
3
  size?: number | undefined;
4
4
  fill?: string | undefined;
5
5
  fillOpacity?: number | undefined;
@@ -8,7 +8,7 @@ export declare function VirtualStick(self: xnew.Unit, { size, fill, fillOpacity,
8
8
  strokeWidth?: number | undefined;
9
9
  strokeLinejoin?: string | undefined;
10
10
  }): void;
11
- export declare function VirtualDPad(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
11
+ export declare function TouchDPad(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
12
12
  size?: number | undefined;
13
13
  fill?: string | undefined;
14
14
  fillOpacity?: number | undefined;
@@ -17,7 +17,7 @@ export declare function VirtualDPad(self: xnew.Unit, { size, fill, fillOpacity,
17
17
  strokeWidth?: number | undefined;
18
18
  strokeLinejoin?: string | undefined;
19
19
  }): void;
20
- export declare function VirtualButton(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
20
+ export declare function TouchButton(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
21
21
  size?: number | undefined;
22
22
  fill?: string | undefined;
23
23
  fillOpacity?: number | undefined;
@@ -6,6 +6,4 @@ export declare function ModalContent(content: xnew.Unit, { duration, easing, bac
6
6
  duration?: number;
7
7
  easing?: string;
8
8
  background?: string;
9
- }): {
10
- transition(status: number): void;
11
- };
9
+ }): void;
@@ -1 +1 @@
1
- export declare function ResizeEvent(self: any): void;
1
+ export declare function ResizeEvent(resize: any): void;
@@ -0,0 +1,28 @@
1
+ import { xnew } from '../core/xnew';
2
+ export declare function TouchStick(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
3
+ size?: number | undefined;
4
+ fill?: string | undefined;
5
+ fillOpacity?: number | undefined;
6
+ stroke?: string | undefined;
7
+ strokeOpacity?: number | undefined;
8
+ strokeWidth?: number | undefined;
9
+ strokeLinejoin?: string | undefined;
10
+ }): void;
11
+ export declare function TouchDPad(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
12
+ size?: number | undefined;
13
+ fill?: string | undefined;
14
+ fillOpacity?: number | undefined;
15
+ stroke?: string | undefined;
16
+ strokeOpacity?: number | undefined;
17
+ strokeWidth?: number | undefined;
18
+ strokeLinejoin?: string | undefined;
19
+ }): void;
20
+ export declare function TouchButton(self: xnew.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
21
+ size?: number | undefined;
22
+ fill?: string | undefined;
23
+ fillOpacity?: number | undefined;
24
+ stroke?: string | undefined;
25
+ strokeOpacity?: number | undefined;
26
+ strokeWidth?: number | undefined;
27
+ strokeLinejoin?: string | undefined;
28
+ }): void;
@@ -1,34 +1,21 @@
1
- declare class MapEx<Key, Value> {
2
- protected map: Map<Key, Value>;
3
- get size(): number;
4
- forEach(callback: (value: Value, key: Key, map: Map<Key, Value>) => any): void;
5
- clear(): void;
6
- }
7
- export declare class MapSet<Key, Value> extends MapEx<Key, Set<Value>> {
8
- has(key: Key, value?: Value): boolean;
9
- get(key: Key): Set<Value> | undefined;
10
- keys(): IterableIterator<Key>;
1
+ export declare class MapSet<Key, Value> extends Map<Key, Set<Value>> {
2
+ has(key: Key): boolean;
3
+ has(key: Key, value: Value): boolean;
11
4
  add(key: Key, value: Value): MapSet<Key, Value>;
12
- delete(key: Key, value?: Value): boolean;
5
+ keys(): IterableIterator<Key>;
6
+ keys(key: Key): IterableIterator<Value>;
7
+ delete(key: Key): boolean;
8
+ delete(key: Key, value: Value): boolean;
13
9
  }
14
- export declare class MapMap<Key1, Key2, Value> extends MapEx<Key1, Map<Key2, Value>> {
15
- has(key1: Key1, key2?: Key2): boolean;
16
- set(key1: Key1, key2: Key2, value: Value): MapMap<Key1, Key2, Value>;
10
+ export declare class MapMap<Key1, Key2, Value> extends Map<Key1, Map<Key2, Value>> {
11
+ has(key1: Key1): boolean;
12
+ has(key1: Key1, key2: Key2): boolean;
13
+ set(key1: Key1, value: Map<Key2, Value>): this;
14
+ set(key1: Key1, key2: Key2, value: Value): this;
17
15
  get(key1: Key1): Map<Key2, Value> | undefined;
18
16
  get(key1: Key1, key2: Key2): Value | undefined;
19
17
  keys(): IterableIterator<Key1>;
20
18
  keys(key1: Key1): IterableIterator<Key2>;
21
- delete(key1: Key1, key2?: Key2): boolean;
22
- }
23
- export declare class MapMapMap<Key1, Key2, Key3, Value> extends MapEx<Key1, MapMap<Key2, Key3, Value>> {
24
- has(key1: Key1, key2?: Key2, key3?: Key3): boolean;
25
- set(key1: Key1, key2: Key2, key3: Key3, value: Value): MapMapMap<Key1, Key2, Key3, Value>;
26
- get(key1: Key1): MapMap<Key2, Key3, Value> | undefined;
27
- get(key1: Key1, key2: Key2): Map<Key3, Value> | undefined;
28
- get(key1: Key1, key2: Key2, key3: Key3): Value | undefined;
29
- keys(): IterableIterator<Key1>;
30
- keys(key1: Key1): IterableIterator<Key2>;
31
- keys(key1: Key1, key2: Key2): IterableIterator<Key3>;
32
- delete(key1: Key1, key2?: Key2, key3?: Key3): boolean;
19
+ delete(key1: Key1): boolean;
20
+ delete(key1: Key1, key2: Key2): boolean;
33
21
  }
34
- export {};
@@ -1,95 +1,79 @@
1
- import { MapSet, MapMapMap } from './map';
2
- declare const LIFECYCLE_EVENTS: readonly ["start", "update", "stop", "finalize"];
3
- type LifecycleEvent = typeof LIFECYCLE_EVENTS[number];
1
+ import { MapSet, MapMap } from './map';
2
+ export type UnitElement = HTMLElement | SVGElement;
4
3
  interface Context {
5
4
  stack: Context | null;
6
5
  key: string;
7
6
  value: any;
8
7
  }
9
8
  interface Snapshot {
10
- unit: Unit | null;
9
+ unit: Unit;
11
10
  context: Context | null;
12
- element: HTMLElement | SVGElement | null;
11
+ element: UnitElement | null;
13
12
  }
14
13
  interface Capture {
15
14
  checker: (unit: Unit) => boolean;
16
15
  execute: (unit: Unit) => any;
17
16
  }
18
17
  interface UnitInternal {
19
- root: Unit;
20
18
  parent: Unit | null;
21
19
  children: Unit[];
22
20
  target: Object | null;
23
21
  props?: Object;
22
+ baseElement: UnitElement;
23
+ baseContext: Context | null;
24
+ baseComponent: Function;
25
+ currentElement: UnitElement;
26
+ currentContext: Context | null;
24
27
  nextNest: {
25
- element: HTMLElement | SVGElement;
28
+ element: UnitElement;
26
29
  position: InsertPosition;
27
30
  };
28
- baseElement: HTMLElement | SVGElement;
29
- currentElement: HTMLElement | SVGElement;
30
- baseContext: Context | null;
31
- baseComponent: Function | null;
32
- components: Function[];
31
+ components: Set<Function>;
32
+ listeners: MapMap<string, Function, [UnitElement, Function]>;
33
+ sublisteners: MapMap<string, Function, [UnitElement | Window | Document, Function]>;
33
34
  captures: Capture[];
34
35
  state: string;
35
36
  tostart: boolean;
36
- upcount: number;
37
- resolved: boolean;
38
37
  defines: Record<string, any>;
39
- system: Record<LifecycleEvent, Function[]>;
38
+ system: Record<string, Function[]>;
40
39
  }
41
40
  export declare class Unit {
42
41
  [key: string]: any;
43
42
  _: UnitInternal;
44
43
  static roots: Unit[];
44
+ static current: Unit | null;
45
45
  constructor(target: Object | null, component?: Function | string, props?: Object);
46
- get element(): HTMLElement | SVGElement;
46
+ get element(): UnitElement;
47
47
  start(): void;
48
48
  stop(): void;
49
49
  finalize(): void;
50
50
  reboot(): void;
51
- get components(): Function[];
52
- on(type: string, listener: Function, options?: boolean | AddEventListenerOptions): Unit;
53
- off(type?: string, listener?: Function): Unit;
54
- emit(type: string, ...args: any[]): void;
55
- static initialize(unit: Unit): void;
51
+ static initialize(unit: Unit, nextNest: {
52
+ element: UnitElement;
53
+ position: InsertPosition;
54
+ }): void;
56
55
  static finalize(unit: Unit): void;
57
- static nest(unit: Unit, tag: string): HTMLElement | SVGElement | null;
56
+ static nest(unit: Unit, tag: string): UnitElement | null;
58
57
  static extend(unit: Unit, component: Function, props?: Object): void;
59
58
  static start(unit: Unit, time: number): void;
60
59
  static stop(unit: Unit): void;
61
60
  static update(unit: Unit, time: number): void;
62
61
  static ticker(time: number): void;
63
62
  static reset(): void;
64
- }
65
- export declare class UnitScope {
66
- static current: Unit | null;
67
- static contexts: Map<Unit | null, Context>;
68
- static initialize(unit: Unit | null, context: Context | null): void;
69
- static finalize(unit: Unit): void;
70
- static set(unit: Unit, context: Context): void;
71
- static get(unit: Unit | null): Context | null;
72
- static execute(snapshot: Snapshot | null, func: Function, ...args: any[]): any;
73
- static snapshot(unit?: Unit | null): Snapshot | null;
63
+ static wrap(listener: Function): (...args: any[]) => any;
64
+ static scope(snapshot: Snapshot | null, func: Function, ...args: any[]): any;
65
+ static snapshot(unit: Unit): Snapshot | null;
74
66
  static stack(unit: Unit, key: string, value: any): void;
75
67
  static trace(unit: Unit, key: string): any;
76
- }
77
- export declare class UnitComponent {
78
- static components: MapSet<Unit, Function>;
79
- static units: MapSet<Function, Unit>;
80
- static finalize(unit: Unit): void;
81
- static add(unit: Unit, component: Function): void;
68
+ static componentUnits: MapSet<Function, Unit>;
69
+ get components(): Set<Function>;
82
70
  static find(component: Function): Unit[];
83
- }
84
- export declare class UnitEvent {
85
- static units: MapSet<string, Unit>;
86
- static listeners: MapMapMap<Unit, string, Function, [HTMLElement | SVGElement, (...args: any[]) => void]>;
87
- static on(unit: Unit, type: string, listener: Function, options?: boolean | AddEventListenerOptions): void;
88
- static off(unit: Unit, type?: string, listener?: Function): void;
89
- static emit(unit: Unit, type: string, ...args: any[]): void;
90
- static sublisteners: MapMapMap<Unit | null, string, Function, [HTMLElement | SVGElement | Window | Document, (...args: any[]) => void]>;
91
- static subon(unit: Unit | null, target: HTMLElement | SVGElement | Window | Document, type: string, listener: Function, options?: boolean | AddEventListenerOptions): void;
92
- static suboff(unit: Unit | null, target: HTMLElement | SVGElement | Window | Document | null, type?: string, listener?: Function): void;
71
+ static typeUnits: MapSet<string, Unit>;
72
+ on(type: string, listener: Function, options?: boolean | AddEventListenerOptions): void;
73
+ off(type?: string, listener?: Function): void;
74
+ emit(type: string, ...args: any[]): void;
75
+ static subon(unit: any, target: UnitElement | Window | Document, type: string, listener: Function, options?: boolean | AddEventListenerOptions): void;
76
+ static suboff(unit: any, target: UnitElement | Window | Document | null, type?: string, listener?: Function): void;
93
77
  }
94
78
  export declare class UnitPromise {
95
79
  private promise;
@@ -4,10 +4,9 @@ import { Screen } from './basics/Screen';
4
4
  import { InputFrame } from './basics/Input';
5
5
  import { ModalFrame, ModalContent } from './basics/Modal';
6
6
  import { TabFrame, TabButton, TabContent } from './basics/Tab';
7
- import { AccordionFrame, AccordionButton, AccordionBullet, AccordionContent } from './basics/Accordion';
8
- import { PanelFrame, PanelGroup } from './basics/Panel';
7
+ import { AccordionFrame, AccordionHeader, AccordionBullet, AccordionContent } from './basics/Accordion';
9
8
  import { DragFrame, DragTarget } from './basics/SubWIndow';
10
- import { VirtualStick, VirtualDPad, VirtualButton } from './basics/Controller';
9
+ import { TouchStick, TouchDPad, TouchButton } from './basics/Touch';
11
10
  import { Unit } from './core/unit';
12
11
  import { xnewtype as basetype } from './core/xnew';
13
12
  import { synthesizer } from './audio/synthesizer';
@@ -18,20 +17,18 @@ declare const basics: {
18
17
  ModalFrame: typeof ModalFrame;
19
18
  ModalContent: typeof ModalContent;
20
19
  AccordionFrame: typeof AccordionFrame;
21
- AccordionButton: typeof AccordionButton;
20
+ AccordionHeader: typeof AccordionHeader;
22
21
  AccordionBullet: typeof AccordionBullet;
23
22
  AccordionContent: typeof AccordionContent;
24
23
  TabFrame: typeof TabFrame;
25
24
  TabButton: typeof TabButton;
26
25
  TabContent: typeof TabContent;
27
- PanelFrame: typeof PanelFrame;
28
- PanelGroup: typeof PanelGroup;
29
26
  InputFrame: typeof InputFrame;
30
27
  DragFrame: typeof DragFrame;
31
28
  DragTarget: typeof DragTarget;
32
- VirtualStick: typeof VirtualStick;
33
- VirtualDPad: typeof VirtualDPad;
34
- VirtualButton: typeof VirtualButton;
29
+ TouchStick: typeof TouchStick;
30
+ TouchDPad: typeof TouchDPad;
31
+ TouchButton: typeof TouchButton;
35
32
  };
36
33
  declare const audio: {
37
34
  synthesizer: typeof synthesizer;
package/dist/xnew.d.ts CHANGED
@@ -1,62 +1,102 @@
1
- declare function ResizeEvent(self: any): void;
1
+ declare function ResizeEvent(resize: any): void;
2
2
 
3
- declare const LIFECYCLE_EVENTS: readonly ["start", "update", "stop", "finalize"];
4
- type LifecycleEvent = typeof LIFECYCLE_EVENTS[number];
3
+ declare class MapSet<Key, Value> extends Map<Key, Set<Value>> {
4
+ has(key: Key): boolean;
5
+ has(key: Key, value: Value): boolean;
6
+ add(key: Key, value: Value): MapSet<Key, Value>;
7
+ keys(): IterableIterator<Key>;
8
+ keys(key: Key): IterableIterator<Value>;
9
+ delete(key: Key): boolean;
10
+ delete(key: Key, value: Value): boolean;
11
+ }
12
+ declare class MapMap<Key1, Key2, Value> extends Map<Key1, Map<Key2, Value>> {
13
+ has(key1: Key1): boolean;
14
+ has(key1: Key1, key2: Key2): boolean;
15
+ set(key1: Key1, value: Map<Key2, Value>): this;
16
+ set(key1: Key1, key2: Key2, value: Value): this;
17
+ get(key1: Key1): Map<Key2, Value> | undefined;
18
+ get(key1: Key1, key2: Key2): Value | undefined;
19
+ keys(): IterableIterator<Key1>;
20
+ keys(key1: Key1): IterableIterator<Key2>;
21
+ delete(key1: Key1): boolean;
22
+ delete(key1: Key1, key2: Key2): boolean;
23
+ }
24
+
25
+ type UnitElement = HTMLElement | SVGElement;
5
26
  interface Context {
6
27
  stack: Context | null;
7
28
  key: string;
8
29
  value: any;
9
30
  }
31
+ interface Snapshot {
32
+ unit: Unit;
33
+ context: Context | null;
34
+ element: UnitElement | null;
35
+ }
10
36
  interface Capture {
11
37
  checker: (unit: Unit) => boolean;
12
38
  execute: (unit: Unit) => any;
13
39
  }
14
40
  interface UnitInternal {
15
- root: Unit;
16
41
  parent: Unit | null;
17
42
  children: Unit[];
18
43
  target: Object | null;
19
44
  props?: Object;
45
+ baseElement: UnitElement;
46
+ baseContext: Context | null;
47
+ baseComponent: Function;
48
+ currentElement: UnitElement;
49
+ currentContext: Context | null;
20
50
  nextNest: {
21
- element: HTMLElement | SVGElement;
51
+ element: UnitElement;
22
52
  position: InsertPosition;
23
53
  };
24
- baseElement: HTMLElement | SVGElement;
25
- currentElement: HTMLElement | SVGElement;
26
- baseContext: Context | null;
27
- baseComponent: Function | null;
28
- components: Function[];
54
+ components: Set<Function>;
55
+ listeners: MapMap<string, Function, [UnitElement, Function]>;
56
+ sublisteners: MapMap<string, Function, [UnitElement | Window | Document, Function]>;
29
57
  captures: Capture[];
30
58
  state: string;
31
59
  tostart: boolean;
32
- upcount: number;
33
- resolved: boolean;
34
60
  defines: Record<string, any>;
35
- system: Record<LifecycleEvent, Function[]>;
61
+ system: Record<string, Function[]>;
36
62
  }
37
63
  declare class Unit {
38
64
  [key: string]: any;
39
65
  _: UnitInternal;
40
66
  static roots: Unit[];
67
+ static current: Unit | null;
41
68
  constructor(target: Object | null, component?: Function | string, props?: Object);
42
- get element(): HTMLElement | SVGElement;
69
+ get element(): UnitElement;
43
70
  start(): void;
44
71
  stop(): void;
45
72
  finalize(): void;
46
73
  reboot(): void;
47
- get components(): Function[];
48
- on(type: string, listener: Function, options?: boolean | AddEventListenerOptions): Unit;
49
- off(type?: string, listener?: Function): Unit;
50
- emit(type: string, ...args: any[]): void;
51
- static initialize(unit: Unit): void;
74
+ static initialize(unit: Unit, nextNest: {
75
+ element: UnitElement;
76
+ position: InsertPosition;
77
+ }): void;
52
78
  static finalize(unit: Unit): void;
53
- static nest(unit: Unit, tag: string): HTMLElement | SVGElement | null;
79
+ static nest(unit: Unit, tag: string): UnitElement | null;
54
80
  static extend(unit: Unit, component: Function, props?: Object): void;
55
81
  static start(unit: Unit, time: number): void;
56
82
  static stop(unit: Unit): void;
57
83
  static update(unit: Unit, time: number): void;
58
84
  static ticker(time: number): void;
59
85
  static reset(): void;
86
+ static wrap(listener: Function): (...args: any[]) => any;
87
+ static scope(snapshot: Snapshot | null, func: Function, ...args: any[]): any;
88
+ static snapshot(unit: Unit): Snapshot | null;
89
+ static stack(unit: Unit, key: string, value: any): void;
90
+ static trace(unit: Unit, key: string): any;
91
+ static componentUnits: MapSet<Function, Unit>;
92
+ get components(): Set<Function>;
93
+ static find(component: Function): Unit[];
94
+ static typeUnits: MapSet<string, Unit>;
95
+ on(type: string, listener: Function, options?: boolean | AddEventListenerOptions): void;
96
+ off(type?: string, listener?: Function): void;
97
+ emit(type: string, ...args: any[]): void;
98
+ static subon(unit: any, target: UnitElement | Window | Document, type: string, listener: Function, options?: boolean | AddEventListenerOptions): void;
99
+ static suboff(unit: any, target: UnitElement | Window | Document | null, type?: string, listener?: Function): void;
60
100
  }
61
101
 
62
102
  interface xnewtype$1 {
@@ -92,9 +132,7 @@ declare function ModalContent(content: xnew$1.Unit, { duration, easing, backgrou
92
132
  duration?: number;
93
133
  easing?: string;
94
134
  background?: string;
95
- }): {
96
- transition(status: number): void;
97
- };
135
+ }): void;
98
136
 
99
137
  declare function TabFrame(frame: xnew$1.Unit, { select }?: {
100
138
  select?: number | undefined;
@@ -113,7 +151,7 @@ declare function AccordionFrame(frame: xnew$1.Unit, {}?: {}): {
113
151
  open(): void;
114
152
  close(): void;
115
153
  };
116
- declare function AccordionButton(button: xnew$1.Unit, {}?: {}): void;
154
+ declare function AccordionHeader(header: xnew$1.Unit, {}?: {}): void;
117
155
  declare function AccordionBullet(bullet: xnew$1.Unit, { type }?: {
118
156
  type?: string;
119
157
  }): {
@@ -128,19 +166,13 @@ declare function AccordionContent(content: xnew$1.Unit, { open, duration, easing
128
166
  transition(status: number): void;
129
167
  };
130
168
 
131
- declare function PanelFrame(frame: xnew$1.Unit): void;
132
- declare function PanelGroup(group: xnew$1.Unit, { name, open }?: {
133
- name?: string;
134
- open?: boolean;
135
- }): void;
136
-
137
169
  declare function DragFrame(frame: xnew$1.Unit, { x, y }?: {
138
170
  x?: number;
139
171
  y?: number;
140
172
  }): void;
141
173
  declare function DragTarget(target: xnew$1.Unit, {}?: {}): void;
142
174
 
143
- declare function VirtualStick(self: xnew$1.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
175
+ declare function TouchStick(self: xnew$1.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
144
176
  size?: number | undefined;
145
177
  fill?: string | undefined;
146
178
  fillOpacity?: number | undefined;
@@ -149,7 +181,7 @@ declare function VirtualStick(self: xnew$1.Unit, { size, fill, fillOpacity, stro
149
181
  strokeWidth?: number | undefined;
150
182
  strokeLinejoin?: string | undefined;
151
183
  }): void;
152
- declare function VirtualDPad(self: xnew$1.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
184
+ declare function TouchDPad(self: xnew$1.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
153
185
  size?: number | undefined;
154
186
  fill?: string | undefined;
155
187
  fillOpacity?: number | undefined;
@@ -158,7 +190,7 @@ declare function VirtualDPad(self: xnew$1.Unit, { size, fill, fillOpacity, strok
158
190
  strokeWidth?: number | undefined;
159
191
  strokeLinejoin?: string | undefined;
160
192
  }): void;
161
- declare function VirtualButton(self: xnew$1.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
193
+ declare function TouchButton(self: xnew$1.Unit, { size, fill, fillOpacity, stroke, strokeOpacity, strokeWidth, strokeLinejoin }?: {
162
194
  size?: number | undefined;
163
195
  fill?: string | undefined;
164
196
  fillOpacity?: number | undefined;
@@ -243,20 +275,18 @@ declare const basics: {
243
275
  ModalFrame: typeof ModalFrame;
244
276
  ModalContent: typeof ModalContent;
245
277
  AccordionFrame: typeof AccordionFrame;
246
- AccordionButton: typeof AccordionButton;
278
+ AccordionHeader: typeof AccordionHeader;
247
279
  AccordionBullet: typeof AccordionBullet;
248
280
  AccordionContent: typeof AccordionContent;
249
281
  TabFrame: typeof TabFrame;
250
282
  TabButton: typeof TabButton;
251
283
  TabContent: typeof TabContent;
252
- PanelFrame: typeof PanelFrame;
253
- PanelGroup: typeof PanelGroup;
254
284
  InputFrame: typeof InputFrame;
255
285
  DragFrame: typeof DragFrame;
256
286
  DragTarget: typeof DragTarget;
257
- VirtualStick: typeof VirtualStick;
258
- VirtualDPad: typeof VirtualDPad;
259
- VirtualButton: typeof VirtualButton;
287
+ TouchStick: typeof TouchStick;
288
+ TouchDPad: typeof TouchDPad;
289
+ TouchButton: typeof TouchButton;
260
290
  };
261
291
  declare const audio: {
262
292
  synthesizer: typeof synthesizer;