@mulsense/xnew 0.2.0 → 0.2.2
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/dist/addons/xpixi.d.ts +3 -0
- package/dist/addons/xpixi.js +5 -0
- package/dist/addons/xpixi.mjs +5 -0
- package/dist/types/audio/audio.d.ts +27 -8
- package/dist/types/basics/Audio.d.ts +2 -0
- package/dist/types/basics/Input.d.ts +7 -1
- package/dist/types/core/audio.d.ts +64 -0
- package/dist/types/core/time.d.ts +1 -1
- package/dist/types/core/unit.d.ts +1 -1
- package/dist/types/icons/icons.d.ts +327 -0
- package/dist/types/index.d.ts +11 -2
- package/dist/xnew.d.ts +339 -8
- package/dist/xnew.js +1456 -92
- package/dist/xnew.mjs +1456 -92
- package/package.json +1 -1
package/dist/xnew.d.ts
CHANGED
|
@@ -70,7 +70,6 @@ declare class Unit {
|
|
|
70
70
|
stop(): void;
|
|
71
71
|
finalize(): void;
|
|
72
72
|
reboot(): void;
|
|
73
|
-
append(...args: any[]): void;
|
|
74
73
|
static initialize(unit: Unit, anchor: UnitElement | null): void;
|
|
75
74
|
static finalize(unit: Unit): void;
|
|
76
75
|
static nest(unit: Unit, tag: string): UnitElement;
|
|
@@ -358,12 +357,336 @@ declare function DirectionalPad(self: Unit, { size, diagonal, fill, fillOpacity,
|
|
|
358
357
|
strokeLinejoin?: string;
|
|
359
358
|
}): void;
|
|
360
359
|
|
|
361
|
-
declare
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
360
|
+
declare function VolumeController(unit: Unit, {}?: {}): void;
|
|
361
|
+
|
|
362
|
+
declare const icons: {
|
|
363
|
+
AcademicCap(unit: Unit, props: Object): void;
|
|
364
|
+
AdjustmentsHorizontal(unit: Unit, props: Object): void;
|
|
365
|
+
AdjustmentsVertical(unit: Unit, props: Object): void;
|
|
366
|
+
ArchiveBox(unit: Unit, props: Object): void;
|
|
367
|
+
ArchiveBoxArrowDown(unit: Unit, props: Object): void;
|
|
368
|
+
ArchiveBoxXMark(unit: Unit, props: Object): void;
|
|
369
|
+
ArrowDown(unit: Unit, props: Object): void;
|
|
370
|
+
ArrowDownCircle(unit: Unit, props: Object): void;
|
|
371
|
+
ArrowDownLeft(unit: Unit, props: Object): void;
|
|
372
|
+
ArrowDownOnSquare(unit: Unit, props: Object): void;
|
|
373
|
+
ArrowDownOnSquareStack(unit: Unit, props: Object): void;
|
|
374
|
+
ArrowDownRight(unit: Unit, props: Object): void;
|
|
375
|
+
ArrowDownTray(unit: Unit, props: Object): void;
|
|
376
|
+
ArrowLeft(unit: Unit, props: Object): void;
|
|
377
|
+
ArrowLeftCircle(unit: Unit, props: Object): void;
|
|
378
|
+
ArrowLeftEndOnRectangle(unit: Unit, props: Object): void;
|
|
379
|
+
ArrowLeftOnRectangle(unit: Unit, props: Object): void;
|
|
380
|
+
ArrowLeftStartOnRectangle(unit: Unit, props: Object): void;
|
|
381
|
+
ArrowLongDown(unit: Unit, props: Object): void;
|
|
382
|
+
ArrowLongLeft(unit: Unit, props: Object): void;
|
|
383
|
+
ArrowLongRight(unit: Unit, props: Object): void;
|
|
384
|
+
ArrowLongUp(unit: Unit, props: Object): void;
|
|
385
|
+
ArrowPath(unit: Unit, props: Object): void;
|
|
386
|
+
ArrowPathRoundedSquare(unit: Unit, props: Object): void;
|
|
387
|
+
ArrowRight(unit: Unit, props: Object): void;
|
|
388
|
+
ArrowRightCircle(unit: Unit, props: Object): void;
|
|
389
|
+
ArrowRightEndOnRectangle(unit: Unit, props: Object): void;
|
|
390
|
+
ArrowRightOnRectangle(unit: Unit, props: Object): void;
|
|
391
|
+
ArrowRightStartOnRectangle(unit: Unit, props: Object): void;
|
|
392
|
+
ArrowSmallDown(unit: Unit, props: Object): void;
|
|
393
|
+
ArrowSmallLeft(unit: Unit, props: Object): void;
|
|
394
|
+
ArrowSmallRight(unit: Unit, props: Object): void;
|
|
395
|
+
ArrowSmallUp(unit: Unit, props: Object): void;
|
|
396
|
+
ArrowTopRightOnSquare(unit: Unit, props: Object): void;
|
|
397
|
+
ArrowTrendingDown(unit: Unit, props: Object): void;
|
|
398
|
+
ArrowTrendingUp(unit: Unit, props: Object): void;
|
|
399
|
+
ArrowTurnDownLeft(unit: Unit, props: Object): void;
|
|
400
|
+
ArrowTurnDownRight(unit: Unit, props: Object): void;
|
|
401
|
+
ArrowTurnLeftDown(unit: Unit, props: Object): void;
|
|
402
|
+
ArrowTurnLeftUp(unit: Unit, props: Object): void;
|
|
403
|
+
ArrowTurnRightDown(unit: Unit, props: Object): void;
|
|
404
|
+
ArrowTurnRightUp(unit: Unit, props: Object): void;
|
|
405
|
+
ArrowTurnUpLeft(unit: Unit, props: Object): void;
|
|
406
|
+
ArrowTurnUpRight(unit: Unit, props: Object): void;
|
|
407
|
+
ArrowUp(unit: Unit, props: Object): void;
|
|
408
|
+
ArrowUpCircle(unit: Unit, props: Object): void;
|
|
409
|
+
ArrowUpLeft(unit: Unit, props: Object): void;
|
|
410
|
+
ArrowUpOnSquare(unit: Unit, props: Object): void;
|
|
411
|
+
ArrowUpOnSquareStack(unit: Unit, props: Object): void;
|
|
412
|
+
ArrowUpRight(unit: Unit, props: Object): void;
|
|
413
|
+
ArrowUpTray(unit: Unit, props: Object): void;
|
|
414
|
+
ArrowUturnDown(unit: Unit, props: Object): void;
|
|
415
|
+
ArrowUturnLeft(unit: Unit, props: Object): void;
|
|
416
|
+
ArrowUturnRight(unit: Unit, props: Object): void;
|
|
417
|
+
ArrowUturnUp(unit: Unit, props: Object): void;
|
|
418
|
+
ArrowsPointingIn(unit: Unit, props: Object): void;
|
|
419
|
+
ArrowsPointingOut(unit: Unit, props: Object): void;
|
|
420
|
+
ArrowsRightLeft(unit: Unit, props: Object): void;
|
|
421
|
+
ArrowsUpDown(unit: Unit, props: Object): void;
|
|
422
|
+
AtSymbol(unit: Unit, props: Object): void;
|
|
423
|
+
Backspace(unit: Unit, props: Object): void;
|
|
424
|
+
Backward(unit: Unit, props: Object): void;
|
|
425
|
+
Banknotes(unit: Unit, props: Object): void;
|
|
426
|
+
Bars2(unit: Unit, props: Object): void;
|
|
427
|
+
Bars3(unit: Unit, props: Object): void;
|
|
428
|
+
Bars3BottomLeft(unit: Unit, props: Object): void;
|
|
429
|
+
Bars3BottomRight(unit: Unit, props: Object): void;
|
|
430
|
+
Bars3CenterLeft(unit: Unit, props: Object): void;
|
|
431
|
+
Bars4(unit: Unit, props: Object): void;
|
|
432
|
+
BarsArrowDown(unit: Unit, props: Object): void;
|
|
433
|
+
BarsArrowUp(unit: Unit, props: Object): void;
|
|
434
|
+
Battery0(unit: Unit, props: Object): void;
|
|
435
|
+
Battery100(unit: Unit, props: Object): void;
|
|
436
|
+
Battery50(unit: Unit, props: Object): void;
|
|
437
|
+
Beaker(unit: Unit, props: Object): void;
|
|
438
|
+
Bell(unit: Unit, props: Object): void;
|
|
439
|
+
BellAlert(unit: Unit, props: Object): void;
|
|
440
|
+
BellSlash(unit: Unit, props: Object): void;
|
|
441
|
+
BellSnooze(unit: Unit, props: Object): void;
|
|
442
|
+
Bold(unit: Unit, props: Object): void;
|
|
443
|
+
Bolt(unit: Unit, props: Object): void;
|
|
444
|
+
BoltSlash(unit: Unit, props: Object): void;
|
|
445
|
+
BookOpen(unit: Unit, props: Object): void;
|
|
446
|
+
Bookmark(unit: Unit, props: Object): void;
|
|
447
|
+
BookmarkSlash(unit: Unit, props: Object): void;
|
|
448
|
+
BookmarkSquare(unit: Unit, props: Object): void;
|
|
449
|
+
Briefcase(unit: Unit, props: Object): void;
|
|
450
|
+
BugAnt(unit: Unit, props: Object): void;
|
|
451
|
+
BuildingLibrary(unit: Unit, props: Object): void;
|
|
452
|
+
BuildingOffice(unit: Unit, props: Object): void;
|
|
453
|
+
BuildingOffice2(unit: Unit, props: Object): void;
|
|
454
|
+
BuildingStorefront(unit: Unit, props: Object): void;
|
|
455
|
+
Cake(unit: Unit, props: Object): void;
|
|
456
|
+
Calculator(unit: Unit, props: Object): void;
|
|
457
|
+
Calendar(unit: Unit, props: Object): void;
|
|
458
|
+
CalendarDateRange(unit: Unit, props: Object): void;
|
|
459
|
+
CalendarDays(unit: Unit, props: Object): void;
|
|
460
|
+
Camera(unit: Unit, props: Object): void;
|
|
461
|
+
ChartBar(unit: Unit, props: Object): void;
|
|
462
|
+
ChartBarSquare(unit: Unit, props: Object): void;
|
|
463
|
+
ChartPie(unit: Unit, props: Object): void;
|
|
464
|
+
ChatBubbleBottomCenter(unit: Unit, props: Object): void;
|
|
465
|
+
ChatBubbleBottomCenterText(unit: Unit, props: Object): void;
|
|
466
|
+
ChatBubbleLeft(unit: Unit, props: Object): void;
|
|
467
|
+
ChatBubbleLeftEllipsis(unit: Unit, props: Object): void;
|
|
468
|
+
ChatBubbleLeftRight(unit: Unit, props: Object): void;
|
|
469
|
+
ChatBubbleOvalLeft(unit: Unit, props: Object): void;
|
|
470
|
+
ChatBubbleOvalLeftEllipsis(unit: Unit, props: Object): void;
|
|
471
|
+
Check(unit: Unit, props: Object): void;
|
|
472
|
+
CheckBadge(unit: Unit, props: Object): void;
|
|
473
|
+
CheckCircle(unit: Unit, props: Object): void;
|
|
474
|
+
ChevronDoubleDown(unit: Unit, props: Object): void;
|
|
475
|
+
ChevronDoubleLeft(unit: Unit, props: Object): void;
|
|
476
|
+
ChevronDoubleRight(unit: Unit, props: Object): void;
|
|
477
|
+
ChevronDoubleUp(unit: Unit, props: Object): void;
|
|
478
|
+
ChevronDown(unit: Unit, props: Object): void;
|
|
479
|
+
ChevronLeft(unit: Unit, props: Object): void;
|
|
480
|
+
ChevronRight(unit: Unit, props: Object): void;
|
|
481
|
+
ChevronUp(unit: Unit, props: Object): void;
|
|
482
|
+
ChevronUpDown(unit: Unit, props: Object): void;
|
|
483
|
+
CircleStack(unit: Unit, props: Object): void;
|
|
484
|
+
Clipboard(unit: Unit, props: Object): void;
|
|
485
|
+
ClipboardDocument(unit: Unit, props: Object): void;
|
|
486
|
+
ClipboardDocumentCheck(unit: Unit, props: Object): void;
|
|
487
|
+
ClipboardDocumentList(unit: Unit, props: Object): void;
|
|
488
|
+
Clock(unit: Unit, props: Object): void;
|
|
489
|
+
Cloud(unit: Unit, props: Object): void;
|
|
490
|
+
CloudArrowDown(unit: Unit, props: Object): void;
|
|
491
|
+
CloudArrowUp(unit: Unit, props: Object): void;
|
|
492
|
+
CodeBracket(unit: Unit, props: Object): void;
|
|
493
|
+
CodeBracketSquare(unit: Unit, props: Object): void;
|
|
494
|
+
Cog(unit: Unit, props: Object): void;
|
|
495
|
+
Cog6Tooth(unit: Unit, props: Object): void;
|
|
496
|
+
Cog8Tooth(unit: Unit, props: Object): void;
|
|
497
|
+
CommandLine(unit: Unit, props: Object): void;
|
|
498
|
+
ComputerDesktop(unit: Unit, props: Object): void;
|
|
499
|
+
CpuChip(unit: Unit, props: Object): void;
|
|
500
|
+
CreditCard(unit: Unit, props: Object): void;
|
|
501
|
+
Cube(unit: Unit, props: Object): void;
|
|
502
|
+
CubeTransparent(unit: Unit, props: Object): void;
|
|
503
|
+
CurrencyBangladeshi(unit: Unit, props: Object): void;
|
|
504
|
+
CurrencyDollar(unit: Unit, props: Object): void;
|
|
505
|
+
CurrencyEuro(unit: Unit, props: Object): void;
|
|
506
|
+
CurrencyPound(unit: Unit, props: Object): void;
|
|
507
|
+
CurrencyRupee(unit: Unit, props: Object): void;
|
|
508
|
+
CurrencyYen(unit: Unit, props: Object): void;
|
|
509
|
+
CursorArrowRays(unit: Unit, props: Object): void;
|
|
510
|
+
CursorArrowRipple(unit: Unit, props: Object): void;
|
|
511
|
+
DevicePhoneMobile(unit: Unit, props: Object): void;
|
|
512
|
+
DeviceTablet(unit: Unit, props: Object): void;
|
|
513
|
+
Divide(unit: Unit, props: Object): void;
|
|
514
|
+
Document(unit: Unit, props: Object): void;
|
|
515
|
+
DocumentArrowDown(unit: Unit, props: Object): void;
|
|
516
|
+
DocumentArrowUp(unit: Unit, props: Object): void;
|
|
517
|
+
DocumentChartBar(unit: Unit, props: Object): void;
|
|
518
|
+
DocumentCheck(unit: Unit, props: Object): void;
|
|
519
|
+
DocumentCurrencyBangladeshi(unit: Unit, props: Object): void;
|
|
520
|
+
DocumentCurrencyDollar(unit: Unit, props: Object): void;
|
|
521
|
+
DocumentCurrencyEuro(unit: Unit, props: Object): void;
|
|
522
|
+
DocumentCurrencyPound(unit: Unit, props: Object): void;
|
|
523
|
+
DocumentCurrencyRupee(unit: Unit, props: Object): void;
|
|
524
|
+
DocumentCurrencyYen(unit: Unit, props: Object): void;
|
|
525
|
+
DocumentDuplicate(unit: Unit, props: Object): void;
|
|
526
|
+
DocumentMagnifyingGlass(unit: Unit, props: Object): void;
|
|
527
|
+
DocumentMinus(unit: Unit, props: Object): void;
|
|
528
|
+
DocumentPlus(unit: Unit, props: Object): void;
|
|
529
|
+
DocumentText(unit: Unit, props: Object): void;
|
|
530
|
+
EllipsisHorizontal(unit: Unit, props: Object): void;
|
|
531
|
+
EllipsisHorizontalCircle(unit: Unit, props: Object): void;
|
|
532
|
+
EllipsisVertical(unit: Unit, props: Object): void;
|
|
533
|
+
Envelope(unit: Unit, props: Object): void;
|
|
534
|
+
EnvelopeOpen(unit: Unit, props: Object): void;
|
|
535
|
+
Equals(unit: Unit, props: Object): void;
|
|
536
|
+
ExclamationCircle(unit: Unit, props: Object): void;
|
|
537
|
+
ExclamationTriangle(unit: Unit, props: Object): void;
|
|
538
|
+
Eye(unit: Unit, props: Object): void;
|
|
539
|
+
EyeDropper(unit: Unit, props: Object): void;
|
|
540
|
+
EyeSlash(unit: Unit, props: Object): void;
|
|
541
|
+
FaceFrown(unit: Unit, props: Object): void;
|
|
542
|
+
FaceSmile(unit: Unit, props: Object): void;
|
|
543
|
+
Film(unit: Unit, props: Object): void;
|
|
544
|
+
FingerPrint(unit: Unit, props: Object): void;
|
|
545
|
+
Fire(unit: Unit, props: Object): void;
|
|
546
|
+
Flag(unit: Unit, props: Object): void;
|
|
547
|
+
Folder(unit: Unit, props: Object): void;
|
|
548
|
+
FolderArrowDown(unit: Unit, props: Object): void;
|
|
549
|
+
FolderMinus(unit: Unit, props: Object): void;
|
|
550
|
+
FolderOpen(unit: Unit, props: Object): void;
|
|
551
|
+
FolderPlus(unit: Unit, props: Object): void;
|
|
552
|
+
Forward(unit: Unit, props: Object): void;
|
|
553
|
+
Funnel(unit: Unit, props: Object): void;
|
|
554
|
+
Gif(unit: Unit, props: Object): void;
|
|
555
|
+
Gift(unit: Unit, props: Object): void;
|
|
556
|
+
GiftTop(unit: Unit, props: Object): void;
|
|
557
|
+
GlobeAlt(unit: Unit, props: Object): void;
|
|
558
|
+
GlobeAmericas(unit: Unit, props: Object): void;
|
|
559
|
+
GlobeAsiaAustralia(unit: Unit, props: Object): void;
|
|
560
|
+
GlobeEuropeAfrica(unit: Unit, props: Object): void;
|
|
561
|
+
H1(unit: Unit, props: Object): void;
|
|
562
|
+
H2(unit: Unit, props: Object): void;
|
|
563
|
+
H3(unit: Unit, props: Object): void;
|
|
564
|
+
HandRaised(unit: Unit, props: Object): void;
|
|
565
|
+
HandThumbDown(unit: Unit, props: Object): void;
|
|
566
|
+
HandThumbUp(unit: Unit, props: Object): void;
|
|
567
|
+
Hashtag(unit: Unit, props: Object): void;
|
|
568
|
+
Heart(unit: Unit, props: Object): void;
|
|
569
|
+
Home(unit: Unit, props: Object): void;
|
|
570
|
+
HomeModern(unit: Unit, props: Object): void;
|
|
571
|
+
Identification(unit: Unit, props: Object): void;
|
|
572
|
+
Inbox(unit: Unit, props: Object): void;
|
|
573
|
+
InboxArrowDown(unit: Unit, props: Object): void;
|
|
574
|
+
InboxStack(unit: Unit, props: Object): void;
|
|
575
|
+
InformationCircle(unit: Unit, props: Object): void;
|
|
576
|
+
Italic(unit: Unit, props: Object): void;
|
|
577
|
+
Key(unit: Unit, props: Object): void;
|
|
578
|
+
Language(unit: Unit, props: Object): void;
|
|
579
|
+
Lifebuoy(unit: Unit, props: Object): void;
|
|
580
|
+
LightBulb(unit: Unit, props: Object): void;
|
|
581
|
+
Link(unit: Unit, props: Object): void;
|
|
582
|
+
LinkSlash(unit: Unit, props: Object): void;
|
|
583
|
+
ListBullet(unit: Unit, props: Object): void;
|
|
584
|
+
LockClosed(unit: Unit, props: Object): void;
|
|
585
|
+
LockOpen(unit: Unit, props: Object): void;
|
|
586
|
+
MagnifyingGlass(unit: Unit, props: Object): void;
|
|
587
|
+
MagnifyingGlassCircle(unit: Unit, props: Object): void;
|
|
588
|
+
MagnifyingGlassMinus(unit: Unit, props: Object): void;
|
|
589
|
+
MagnifyingGlassPlus(unit: Unit, props: Object): void;
|
|
590
|
+
Map(unit: Unit, props: Object): void;
|
|
591
|
+
MapPin(unit: Unit, props: Object): void;
|
|
592
|
+
Megaphone(unit: Unit, props: Object): void;
|
|
593
|
+
Microphone(unit: Unit, props: Object): void;
|
|
594
|
+
Minus(unit: Unit, props: Object): void;
|
|
595
|
+
MinusCircle(unit: Unit, props: Object): void;
|
|
596
|
+
MinusSmall(unit: Unit, props: Object): void;
|
|
597
|
+
Moon(unit: Unit, props: Object): void;
|
|
598
|
+
MusicalNote(unit: Unit, props: Object): void;
|
|
599
|
+
Newspaper(unit: Unit, props: Object): void;
|
|
600
|
+
NoSymbol(unit: Unit, props: Object): void;
|
|
601
|
+
NumberedList(unit: Unit, props: Object): void;
|
|
602
|
+
PaintBrush(unit: Unit, props: Object): void;
|
|
603
|
+
PaperAirplane(unit: Unit, props: Object): void;
|
|
604
|
+
PaperClip(unit: Unit, props: Object): void;
|
|
605
|
+
Pause(unit: Unit, props: Object): void;
|
|
606
|
+
PauseCircle(unit: Unit, props: Object): void;
|
|
607
|
+
Pencil(unit: Unit, props: Object): void;
|
|
608
|
+
PencilSquare(unit: Unit, props: Object): void;
|
|
609
|
+
PercentBadge(unit: Unit, props: Object): void;
|
|
610
|
+
Phone(unit: Unit, props: Object): void;
|
|
611
|
+
PhoneArrowDownLeft(unit: Unit, props: Object): void;
|
|
612
|
+
PhoneArrowUpRight(unit: Unit, props: Object): void;
|
|
613
|
+
PhoneXMark(unit: Unit, props: Object): void;
|
|
614
|
+
Photo(unit: Unit, props: Object): void;
|
|
615
|
+
Play(unit: Unit, props: Object): void;
|
|
616
|
+
PlayCircle(unit: Unit, props: Object): void;
|
|
617
|
+
PlayPause(unit: Unit, props: Object): void;
|
|
618
|
+
Plus(unit: Unit, props: Object): void;
|
|
619
|
+
PlusCircle(unit: Unit, props: Object): void;
|
|
620
|
+
PlusSmall(unit: Unit, props: Object): void;
|
|
621
|
+
Power(unit: Unit, props: Object): void;
|
|
622
|
+
PresentationChartBar(unit: Unit, props: Object): void;
|
|
623
|
+
PresentationChartLine(unit: Unit, props: Object): void;
|
|
624
|
+
Printer(unit: Unit, props: Object): void;
|
|
625
|
+
PuzzlePiece(unit: Unit, props: Object): void;
|
|
626
|
+
QrCode(unit: Unit, props: Object): void;
|
|
627
|
+
QuestionMarkCircle(unit: Unit, props: Object): void;
|
|
628
|
+
QueueList(unit: Unit, props: Object): void;
|
|
629
|
+
Radio(unit: Unit, props: Object): void;
|
|
630
|
+
ReceiptPercent(unit: Unit, props: Object): void;
|
|
631
|
+
ReceiptRefund(unit: Unit, props: Object): void;
|
|
632
|
+
RectangleGroup(unit: Unit, props: Object): void;
|
|
633
|
+
RectangleStack(unit: Unit, props: Object): void;
|
|
634
|
+
RocketLaunch(unit: Unit, props: Object): void;
|
|
635
|
+
Rss(unit: Unit, props: Object): void;
|
|
636
|
+
Scale(unit: Unit, props: Object): void;
|
|
637
|
+
Scissors(unit: Unit, props: Object): void;
|
|
638
|
+
Server(unit: Unit, props: Object): void;
|
|
639
|
+
ServerStack(unit: Unit, props: Object): void;
|
|
640
|
+
Share(unit: Unit, props: Object): void;
|
|
641
|
+
ShieldCheck(unit: Unit, props: Object): void;
|
|
642
|
+
ShieldExclamation(unit: Unit, props: Object): void;
|
|
643
|
+
ShoppingBag(unit: Unit, props: Object): void;
|
|
644
|
+
ShoppingCart(unit: Unit, props: Object): void;
|
|
645
|
+
Signal(unit: Unit, props: Object): void;
|
|
646
|
+
SignalSlash(unit: Unit, props: Object): void;
|
|
647
|
+
Slash(unit: Unit, props: Object): void;
|
|
648
|
+
Sparkles(unit: Unit, props: Object): void;
|
|
649
|
+
SpeakerWave(unit: Unit, props: Object): void;
|
|
650
|
+
SpeakerXMark(unit: Unit, props: Object): void;
|
|
651
|
+
Square2Stack(unit: Unit, props: Object): void;
|
|
652
|
+
Square3Stack3d(unit: Unit, props: Object): void;
|
|
653
|
+
Squares2x2(unit: Unit, props: Object): void;
|
|
654
|
+
SquaresPlus(unit: Unit, props: Object): void;
|
|
655
|
+
Star(unit: Unit, props: Object): void;
|
|
656
|
+
Stop(unit: Unit, props: Object): void;
|
|
657
|
+
StopCircle(unit: Unit, props: Object): void;
|
|
658
|
+
Strikethrough(unit: Unit, props: Object): void;
|
|
659
|
+
Sun(unit: Unit, props: Object): void;
|
|
660
|
+
Swatch(unit: Unit, props: Object): void;
|
|
661
|
+
TableCells(unit: Unit, props: Object): void;
|
|
662
|
+
Tag(unit: Unit, props: Object): void;
|
|
663
|
+
Ticket(unit: Unit, props: Object): void;
|
|
664
|
+
Trash(unit: Unit, props: Object): void;
|
|
665
|
+
Trophy(unit: Unit, props: Object): void;
|
|
666
|
+
Truck(unit: Unit, props: Object): void;
|
|
667
|
+
Tv(unit: Unit, props: Object): void;
|
|
668
|
+
Underline(unit: Unit, props: Object): void;
|
|
669
|
+
User(unit: Unit, props: Object): void;
|
|
670
|
+
UserCircle(unit: Unit, props: Object): void;
|
|
671
|
+
UserGroup(unit: Unit, props: Object): void;
|
|
672
|
+
UserMinus(unit: Unit, props: Object): void;
|
|
673
|
+
UserPlus(unit: Unit, props: Object): void;
|
|
674
|
+
Users(unit: Unit, props: Object): void;
|
|
675
|
+
Variable(unit: Unit, props: Object): void;
|
|
676
|
+
VideoCamera(unit: Unit, props: Object): void;
|
|
677
|
+
VideoCameraSlash(unit: Unit, props: Object): void;
|
|
678
|
+
ViewColumns(unit: Unit, props: Object): void;
|
|
679
|
+
ViewfinderCircle(unit: Unit, props: Object): void;
|
|
680
|
+
Wallet(unit: Unit, props: Object): void;
|
|
681
|
+
Wifi(unit: Unit, props: Object): void;
|
|
682
|
+
Window(unit: Unit, props: Object): void;
|
|
683
|
+
Wrench(unit: Unit, props: Object): void;
|
|
684
|
+
WrenchScrewdriver(unit: Unit, props: Object): void;
|
|
685
|
+
XCircle(unit: Unit, props: Object): void;
|
|
686
|
+
XMark(unit: Unit, props: Object): void;
|
|
365
687
|
};
|
|
366
|
-
|
|
688
|
+
|
|
689
|
+
type SynthesizerOptions = {
|
|
367
690
|
oscillator: OscillatorOptions;
|
|
368
691
|
amp: AmpOptions;
|
|
369
692
|
filter?: FilterOptions;
|
|
@@ -396,8 +719,8 @@ type LFO = {
|
|
|
396
719
|
rate: number;
|
|
397
720
|
};
|
|
398
721
|
declare class Synthesizer {
|
|
399
|
-
props:
|
|
400
|
-
constructor(props:
|
|
722
|
+
props: SynthesizerOptions;
|
|
723
|
+
constructor(props: SynthesizerOptions);
|
|
401
724
|
press(frequency: number | string, duration?: number | string, wait?: number): {
|
|
402
725
|
release: () => void;
|
|
403
726
|
} | undefined;
|
|
@@ -421,6 +744,13 @@ declare const basics: {
|
|
|
421
744
|
DragTarget: typeof DragTarget;
|
|
422
745
|
AnalogStick: typeof AnalogStick;
|
|
423
746
|
DirectionalPad: typeof DirectionalPad;
|
|
747
|
+
VolumeController: typeof VolumeController;
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
declare const audio: {
|
|
751
|
+
load(path: string): UnitPromise;
|
|
752
|
+
synthesizer(props: SynthesizerOptions): Synthesizer;
|
|
753
|
+
volume: number;
|
|
424
754
|
};
|
|
425
755
|
declare namespace xnew {
|
|
426
756
|
type Unit = InstanceType<typeof Unit>;
|
|
@@ -428,6 +758,7 @@ declare namespace xnew {
|
|
|
428
758
|
declare const xnew: (typeof xnew$1) & {
|
|
429
759
|
basics: typeof basics;
|
|
430
760
|
audio: typeof audio;
|
|
761
|
+
icons: typeof icons;
|
|
431
762
|
};
|
|
432
763
|
|
|
433
764
|
export { xnew as default };
|