@types/gorilla-engine 1.1.2 → 1.1.4

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.
Files changed (44) hide show
  1. gorilla-engine/LICENSE +0 -0
  2. gorilla-engine/README.md +1 -1
  3. gorilla-engine/components/AmpEnv.d.ts +1 -1
  4. gorilla-engine/components/BarStepEditor.d.ts +0 -0
  5. gorilla-engine/components/ComboBox.d.ts +2 -2
  6. gorilla-engine/components/DragContainer.d.ts +0 -0
  7. gorilla-engine/components/DragTarget.d.ts +0 -0
  8. gorilla-engine/components/DropZone.d.ts +0 -0
  9. gorilla-engine/components/Knob.d.ts +14 -1
  10. gorilla-engine/components/Label.d.ts +3 -1
  11. gorilla-engine/components/LevelMeter.d.ts +0 -0
  12. gorilla-engine/components/ListBox.d.ts +1 -1
  13. gorilla-engine/components/LottieAnimation.d.ts +1 -0
  14. gorilla-engine/components/MidiKeyboard.d.ts +0 -0
  15. gorilla-engine/components/Pad.d.ts +1 -1
  16. gorilla-engine/components/Rubberband.d.ts +9 -0
  17. gorilla-engine/components/ScrollView.d.ts +2 -0
  18. gorilla-engine/components/SliceEditor.d.ts +103 -96
  19. gorilla-engine/components/Slider.d.ts +1 -1
  20. gorilla-engine/components/StepEditor.d.ts +3 -1
  21. gorilla-engine/components/TagBrowser.d.ts +17 -0
  22. gorilla-engine/components/TagEditor.d.ts +15 -0
  23. gorilla-engine/components/TextBox.d.ts +8 -3
  24. gorilla-engine/components/Toggle.d.ts +1 -1
  25. gorilla-engine/components/Trigger.d.ts +2 -1
  26. gorilla-engine/components/Waveform.d.ts +54 -53
  27. gorilla-engine/components/Window.d.ts +0 -0
  28. gorilla-engine/components/XYPad.d.ts +19 -0
  29. gorilla-engine/index.d.ts +305 -252
  30. gorilla-engine/interfaces/Background.d.ts +0 -0
  31. gorilla-engine/interfaces/Bounds.d.ts +0 -0
  32. gorilla-engine/interfaces/Clickable.d.ts +19 -19
  33. gorilla-engine/interfaces/Common.d.ts +0 -0
  34. gorilla-engine/interfaces/Component.d.ts +0 -0
  35. gorilla-engine/interfaces/Font.d.ts +11 -11
  36. gorilla-engine/interfaces/Highlight.d.ts +12 -0
  37. gorilla-engine/interfaces/Keyable.d.ts +6 -0
  38. gorilla-engine/interfaces/KeyboardFocus.d.ts +2 -0
  39. gorilla-engine/interfaces/MIDILearn.d.ts +7 -0
  40. gorilla-engine/interfaces/Margin.d.ts +11 -0
  41. gorilla-engine/interfaces/Scrollable.d.ts +0 -0
  42. gorilla-engine/interfaces/Skinnable.d.ts +0 -0
  43. gorilla-engine/interfaces/Tag.d.ts +10 -0
  44. gorilla-engine/package.json +3 -3
File without changes
@@ -5,16 +5,16 @@ declare namespace GorillaEngine.UI {
5
5
  fontKerning: number;
6
6
  textColor: string;
7
7
  textAlign:
8
- | 'centered left'
9
- | 'centered right'
10
- | 'left'
11
- | 'right'
12
- | 'center'
13
- | 'top left'
14
- | 'top right'
15
- | 'top center'
16
- | 'bottom left'
17
- | 'bottom right'
18
- | 'bottom center';
8
+ | "centered left"
9
+ | "centered right"
10
+ | "left"
11
+ | "right"
12
+ | "center"
13
+ | "top left"
14
+ | "top right"
15
+ | "top center"
16
+ | "bottom left"
17
+ | "bottom right"
18
+ | "bottom center";
19
19
  }
20
20
  }
@@ -0,0 +1,12 @@
1
+ declare namespace GorillaEngine.UI {
2
+ interface Highlight {
3
+ highlight: {
4
+ drawFilledCircle: boolean;
5
+ lineWidth: number;
6
+ x: number;
7
+ y: number;
8
+ width: number;
9
+ height: number;
10
+ };
11
+ }
12
+ }
@@ -0,0 +1,6 @@
1
+ declare namespace GorillaEngine.UI {
2
+ interface Keyable {
3
+ keyPressAction: string;
4
+ consumeEvent: boolean;
5
+ }
6
+ }
@@ -2,6 +2,8 @@ declare namespace GorillaEngine.UI {
2
2
  interface KeyboardFocus {
3
3
  keyboardFocus: {
4
4
  color?: string;
5
+ lineWidth?: number;
6
+ cornerRadius?: number;
5
7
  };
6
8
  }
7
9
  }
@@ -0,0 +1,7 @@
1
+ declare namespace GorillaEngine.UI {
2
+ interface MIDILearn {
3
+ midiLearn: {
4
+ enabled: boolean;
5
+ };
6
+ }
7
+ }
@@ -0,0 +1,11 @@
1
+ declare namespace GorillaEngine.UI {
2
+ interface Margin {
3
+ margin: {
4
+ other: number;
5
+ left: number;
6
+ top: number;
7
+ right: number;
8
+ bottom: number;
9
+ };
10
+ }
11
+ }
File without changes
File without changes
@@ -0,0 +1,10 @@
1
+ declare namespace GorillaEngine.UI {
2
+ interface Tag {
3
+ height: number;
4
+ borderSize: number;
5
+ cornerRadius: number;
6
+ textColor: { normal: string; active: string; header: string };
7
+ backgroundColor: { normal: string; active: string; header: string };
8
+ cancel: { x: number; width: number };
9
+ }
10
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/gorilla-engine",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "TypeScript definitions for Gorilla Engine",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "ba56d519131b7a0ddc0601a8f367a2ca2e589f68ce46129c1377e7c7b74fec30",
49
- "typeScriptVersion": "4.3"
48
+ "typesPublisherContentHash": "ecf023dc8e7796d608d0a7c933e520b488c9dc7e647a9ac2d035560d74e17b3d",
49
+ "typeScriptVersion": "4.5"
50
50
  }