@antimatter-audio/antimatter-ui 9.6.0 → 10.1.0

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 (119) hide show
  1. package/dist/advanced/IconButton/IconButton.d.ts +55 -0
  2. package/dist/advanced/IconButton/IconButton.d.ts.map +1 -0
  3. package/dist/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts +12 -0
  4. package/dist/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts.map +1 -0
  5. package/dist/advanced/ModuleFooter/ModuleFooter.d.ts +7 -0
  6. package/dist/advanced/ModuleFooter/ModuleFooter.d.ts.map +1 -0
  7. package/dist/advanced/ModuleHeader/ModuleHeader.d.ts +11 -0
  8. package/dist/advanced/ModuleHeader/ModuleHeader.d.ts.map +1 -0
  9. package/dist/advanced/Oscilloscope/Oscilloscope.d.ts +12 -0
  10. package/dist/advanced/Oscilloscope/Oscilloscope.d.ts.map +1 -0
  11. package/dist/advanced/PresetManager/PresetManager.d.ts +5 -0
  12. package/dist/advanced/PresetManager/PresetManager.d.ts.map +1 -0
  13. package/dist/context/GlobalContextProvider.d.ts +20 -0
  14. package/dist/context/GlobalContextProvider.d.ts.map +1 -0
  15. package/dist/core/Box/Box.d.ts +52 -0
  16. package/dist/core/Box/Box.d.ts.map +1 -0
  17. package/dist/core/Box/types.d.ts +29 -0
  18. package/dist/core/Box/types.d.ts.map +1 -0
  19. package/dist/core/Button/Button.d.ts +26 -0
  20. package/dist/core/Button/Button.d.ts.map +1 -0
  21. package/dist/core/Dropdown/Dropdown.d.ts +14 -0
  22. package/dist/core/Dropdown/Dropdown.d.ts.map +1 -0
  23. package/dist/core/Indicators/IndicatorLight.d.ts +12 -0
  24. package/dist/core/Indicators/IndicatorLight.d.ts.map +1 -0
  25. package/dist/core/Indicators/hooks/useIndicator.d.ts +8 -0
  26. package/dist/core/Indicators/hooks/useIndicator.d.ts.map +1 -0
  27. package/dist/core/Matrix/Matrix.d.ts +13 -0
  28. package/dist/core/Matrix/Matrix.d.ts.map +1 -0
  29. package/dist/core/Slider/BarSlider.d.ts +30 -0
  30. package/dist/core/Slider/BarSlider.d.ts.map +1 -0
  31. package/dist/core/Slider/RotarySlider.d.ts +29 -0
  32. package/dist/core/Slider/RotarySlider.d.ts.map +1 -0
  33. package/dist/core/Tabs/Tabs.d.ts +19 -0
  34. package/dist/core/Tabs/Tabs.d.ts.map +1 -0
  35. package/dist/hooks/useCombobox.d.ts +15 -0
  36. package/dist/hooks/useCombobox.d.ts.map +1 -0
  37. package/dist/hooks/useObservable.d.ts +9 -0
  38. package/dist/hooks/useObservable.d.ts.map +1 -0
  39. package/dist/hooks/useRandom.d.ts +1 -0
  40. package/dist/hooks/useRandom.d.ts.map +1 -0
  41. package/dist/hooks/useSlider.d.ts +21 -0
  42. package/dist/hooks/useSlider.d.ts.map +1 -0
  43. package/dist/index.d.ts +3 -0
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/index.js +1497 -502
  46. package/dist/index.js.map +1 -1
  47. package/dist/src/advanced/IconButton/IconButton.d.ts +55 -0
  48. package/dist/src/advanced/IconButton/IconButton.d.ts.map +1 -0
  49. package/dist/src/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts +12 -0
  50. package/dist/src/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts.map +1 -0
  51. package/dist/src/advanced/ModuleFooter/ModuleFooter.d.ts +7 -0
  52. package/dist/src/advanced/ModuleFooter/ModuleFooter.d.ts.map +1 -0
  53. package/dist/src/advanced/ModuleHeader/ModuleHeader.d.ts +11 -0
  54. package/dist/src/advanced/ModuleHeader/ModuleHeader.d.ts.map +1 -0
  55. package/dist/src/advanced/Oscilloscope/LinePlot.d.ts +12 -0
  56. package/dist/src/advanced/Oscilloscope/LinePlot.d.ts.map +1 -0
  57. package/dist/src/advanced/Oscilloscope/Oscilloscope.d.ts +12 -0
  58. package/dist/src/advanced/Oscilloscope/Oscilloscope.d.ts.map +1 -0
  59. package/dist/src/advanced/PresetManager/PresetManager.d.ts +5 -0
  60. package/dist/src/advanced/PresetManager/PresetManager.d.ts.map +1 -0
  61. package/dist/src/common/types.d.ts +53 -0
  62. package/dist/src/common/types.d.ts.map +1 -0
  63. package/dist/src/common/utils.d.ts +16 -0
  64. package/dist/src/common/utils.d.ts.map +1 -0
  65. package/dist/src/context/GlobalContextProvider.d.ts +20 -0
  66. package/dist/src/context/GlobalContextProvider.d.ts.map +1 -0
  67. package/dist/src/core/Box/Box.d.ts +52 -0
  68. package/dist/src/core/Box/Box.d.ts.map +1 -0
  69. package/dist/src/core/Box/types.d.ts +29 -0
  70. package/dist/src/core/Box/types.d.ts.map +1 -0
  71. package/dist/src/core/Button/Button.d.ts +26 -0
  72. package/dist/src/core/Button/Button.d.ts.map +1 -0
  73. package/dist/src/core/Button/types.d.ts +10 -0
  74. package/dist/src/core/Button/types.d.ts.map +1 -0
  75. package/dist/src/core/Dropdown/Dropdown.d.ts +14 -0
  76. package/dist/src/core/Dropdown/Dropdown.d.ts.map +1 -0
  77. package/dist/src/core/Heading/Heading.d.ts +20 -0
  78. package/dist/src/core/Heading/Heading.d.ts.map +1 -0
  79. package/dist/src/core/Heading/types.d.ts +7 -0
  80. package/dist/src/core/Heading/types.d.ts.map +1 -0
  81. package/dist/src/core/Indicators/IndicatorLight.d.ts +12 -0
  82. package/dist/src/core/Indicators/IndicatorLight.d.ts.map +1 -0
  83. package/dist/src/core/Indicators/hooks/useIndicator.d.ts +8 -0
  84. package/dist/src/core/Indicators/hooks/useIndicator.d.ts.map +1 -0
  85. package/dist/src/core/Input/Input.d.ts +26 -0
  86. package/dist/src/core/Input/Input.d.ts.map +1 -0
  87. package/dist/src/core/Label/Label.d.ts +18 -0
  88. package/dist/src/core/Label/Label.d.ts.map +1 -0
  89. package/dist/src/core/Matrix/Matrix.d.ts +13 -0
  90. package/dist/src/core/Matrix/Matrix.d.ts.map +1 -0
  91. package/dist/src/core/Slider/BarSlider.d.ts +30 -0
  92. package/dist/src/core/Slider/BarSlider.d.ts.map +1 -0
  93. package/dist/src/core/Slider/RotarySlider.d.ts +29 -0
  94. package/dist/src/core/Slider/RotarySlider.d.ts.map +1 -0
  95. package/dist/src/core/Slider/SliderValue.d.ts +14 -0
  96. package/dist/src/core/Slider/SliderValue.d.ts.map +1 -0
  97. package/dist/src/core/Slider/types.d.ts +41 -0
  98. package/dist/src/core/Slider/types.d.ts.map +1 -0
  99. package/dist/src/core/Slider/utils.d.ts +50 -0
  100. package/dist/src/core/Slider/utils.d.ts.map +1 -0
  101. package/dist/src/core/Spinner.d.ts +4 -0
  102. package/dist/src/core/Spinner.d.ts.map +1 -0
  103. package/dist/src/core/Tabs/Tabs.d.ts +19 -0
  104. package/dist/src/core/Tabs/Tabs.d.ts.map +1 -0
  105. package/dist/src/hooks/useCombobox.d.ts +15 -0
  106. package/dist/src/hooks/useCombobox.d.ts.map +1 -0
  107. package/dist/src/hooks/useObservable.d.ts +9 -0
  108. package/dist/src/hooks/useObservable.d.ts.map +1 -0
  109. package/dist/src/hooks/useRandom.d.ts +1 -0
  110. package/dist/src/hooks/useRandom.d.ts.map +1 -0
  111. package/dist/src/hooks/useRandomise.d.ts +3 -0
  112. package/dist/src/hooks/useRandomise.d.ts.map +1 -0
  113. package/dist/src/hooks/useSlider.d.ts +21 -0
  114. package/dist/src/hooks/useSlider.d.ts.map +1 -0
  115. package/dist/src/hooks/useTabs.d.ts +15 -0
  116. package/dist/src/hooks/useTabs.d.ts.map +1 -0
  117. package/dist/src/index.d.ts +27 -0
  118. package/dist/src/index.d.ts.map +1 -0
  119. package/package.json +1 -1
@@ -0,0 +1,55 @@
1
+ import React from 'react';
2
+ import './IconButton.css';
3
+ import { Spacing } from '../../common/types';
4
+ declare enum ButtonIcon {
5
+ undo = "Undo",
6
+ redo = "Redo",
7
+ random = "Random",
8
+ favorite = "Favorite",
9
+ up = "Up",
10
+ down = "Down",
11
+ save = "Save"
12
+ }
13
+ export declare const Undo: ({ color }: {
14
+ color: string;
15
+ }) => React.JSX.Element;
16
+ export declare const Redo: ({ color }: {
17
+ color: string;
18
+ }) => React.JSX.Element;
19
+ export declare const Favorite: ({ color }: {
20
+ color: string;
21
+ width: string;
22
+ }) => React.JSX.Element;
23
+ export declare const Up: ({ color }: {
24
+ color: string;
25
+ }) => React.JSX.Element;
26
+ export declare const Down: ({ color }: {
27
+ color: string;
28
+ }) => React.JSX.Element;
29
+ export declare const Save: ({ color }: {
30
+ color: string;
31
+ }) => React.JSX.Element;
32
+ export declare const Random: ({ color }: {
33
+ color: string;
34
+ }) => React.JSX.Element;
35
+ declare function IconButton({ id, icon, onClick, disabled, color, backgroundColor, padding, margin, width, height, className, style, }: {
36
+ id: string;
37
+ icon: ButtonIcon;
38
+ onClick?: any;
39
+ disabled?: boolean;
40
+ padding?: Array<Spacing>;
41
+ margin?: Array<Spacing>;
42
+ className?: string;
43
+ color?: string;
44
+ width?: string;
45
+ height?: string;
46
+ backgroundColor?: string;
47
+ style?: React.CSSProperties;
48
+ }): React.JSX.Element;
49
+ declare namespace IconButton {
50
+ var icon: typeof ButtonIcon;
51
+ var padding: typeof Spacing;
52
+ var margin: typeof Spacing;
53
+ }
54
+ export default IconButton;
55
+ //# sourceMappingURL=IconButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/advanced/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,aAAK,UAAU;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,eAAO,MAAM,IAAI,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,sBAuBhD,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,sBAuBhD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,sBAenE,CAAC;AAEF,eAAO,MAAM,EAAE,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,sBAe9C,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,sBAehD,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,sBAwBhD,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,sBAiElD,CAAC;AAiBF,iBAAS,UAAU,CAAC,EAClB,EAAE,EACF,IAAI,EACJ,OAAO,EACP,QAAgB,EAChB,KAA2B,EAC3B,eAAkC,EAClC,OAA+B,EAC/B,MAA6B,EAC7B,KAAc,EACd,MAAe,EACf,SAAS,EACT,KAAK,GACN,EAAE;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,qBAqBA;kBA/CQ,UAAU;;;;;AAqDnB,eAAe,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export interface KeyValueDisplayScreenProps {
3
+ data?: {
4
+ key?: string;
5
+ value?: string | number;
6
+ };
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }
10
+ declare function KeyValueDisplayScreen({ className, style, data, }: KeyValueDisplayScreenProps): React.JSX.Element;
11
+ export default KeyValueDisplayScreen;
12
+ //# sourceMappingURL=KeyValueDisplayScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueDisplayScreen.d.ts","sourceRoot":"","sources":["../../../src/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE;QACL,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,KAAK,EACL,IAAI,GACL,EAAE,0BAA0B,qBAyE5B;AAED,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare function ModuleFooter({ className, style, }: {
3
+ className?: string;
4
+ style?: React.CSSProperties;
5
+ }): React.JSX.Element;
6
+ export default ModuleFooter;
7
+ //# sourceMappingURL=ModuleFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModuleFooter.d.ts","sourceRoot":"","sources":["../../../src/advanced/ModuleFooter/ModuleFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,KAAK,GACN,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,qBAUA;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import '../../styles.css';
3
+ import './ModuleHeader.css';
4
+ declare function ModuleHeader({ title, subtitle, className, style, }: {
5
+ title: string;
6
+ subtitle: string;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }): React.JSX.Element;
10
+ export default ModuleHeader;
11
+ //# sourceMappingURL=ModuleHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModuleHeader.d.ts","sourceRoot":"","sources":["../../../src/advanced/ModuleHeader/ModuleHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,kBAAkB,CAAC;AAC1B,OAAO,oBAAoB,CAAC;AAS5B,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE;IAED,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,qBAsIA;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './Oscilloscope.css';
3
+ export interface OscilloscopeProps {
4
+ id?: string;
5
+ width?: number;
6
+ height?: number;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }
10
+ declare function Oscilloscope({ width, height, className, style, id, }: OscilloscopeProps): React.JSX.Element;
11
+ export default Oscilloscope;
12
+ //# sourceMappingURL=Oscilloscope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Oscilloscope.d.ts","sourceRoot":"","sources":["../../../src/advanced/Oscilloscope/Oscilloscope.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,oBAAoB,CAAC;AAI5B,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,MAAM,EACN,SAAS,EACT,KAAK,EACL,EAAE,GACH,EAAE,iBAAiB,qBA8BnB;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './PresetManager.css';
3
+ declare function PresetManager({}: {}): React.JSX.Element;
4
+ export default PresetManager;
5
+ //# sourceMappingURL=PresetManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PresetManager.d.ts","sourceRoot":"","sources":["../../../src/advanced/PresetManager/PresetManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,qBAAqB,CAAC;AAI7B,iBAAS,aAAa,CAAC,EAAE,IAAA,qBAoOxB;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ export interface GlobalState {
3
+ highlightedItem: HighlightedItem;
4
+ }
5
+ interface HighlightedItem {
6
+ label: string;
7
+ value?: number;
8
+ }
9
+ export declare const defaultGlobalStateValue: {
10
+ highlightedItem: {
11
+ label: string;
12
+ value: undefined;
13
+ };
14
+ };
15
+ export declare function useGlobalContext(selector?: any): any;
16
+ declare function GlobalContextProvider({ children }: {
17
+ children: React.ReactNode;
18
+ }): React.JSX.Element;
19
+ export default GlobalContextProvider;
20
+ //# sourceMappingURL=GlobalContextProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GlobalContextProvider.d.ts","sourceRoot":"","sources":["../../src/context/GlobalContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,WAAW;IAC1B,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAC;AAqBF,wBAAgB,gBAAgB,CAAC,QAAQ,CAAC,EAAE,GAAG,OAG9C;AAGD,iBAAS,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAsBzE;AAED,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,52 @@
1
+ import React from 'react';
2
+ import '../../styles.css';
3
+ import { FlexDirection, Spacing, Width, Height, FlexWrap } from '../../common/types';
4
+ import { AlignItems, JustifyContent, LayoutTags } from './types';
5
+ declare enum BoxDisplay {
6
+ flex = "flex",
7
+ block = "block"
8
+ }
9
+ export interface CommonProps {
10
+ className?: string;
11
+ onClick?: (e: any) => void;
12
+ style?: React.CSSProperties;
13
+ width?: Width | string;
14
+ height?: Height | string;
15
+ border?: boolean;
16
+ padding?: Array<Spacing>;
17
+ tag?: LayoutTags;
18
+ key?: string | number;
19
+ }
20
+ export type ConditionalProps = {
21
+ display?: BoxDisplay.flex;
22
+ alignItems?: AlignItems;
23
+ justifyContent?: JustifyContent;
24
+ gap?: Spacing;
25
+ flexWrap?: FlexWrap;
26
+ flexDirection?: FlexDirection;
27
+ flex?: string;
28
+ } | {
29
+ display?: BoxDisplay.block;
30
+ alignItems?: never;
31
+ justifyContent?: never;
32
+ gap?: never;
33
+ flexWrap?: never;
34
+ flexDirection?: never;
35
+ flex?: never;
36
+ };
37
+ type BoxProps = CommonProps & ConditionalProps;
38
+ declare function Box({ className, style, children, flex, key, onClick, alignItems, justifyContent, display, width, flexWrap, height, border, flexDirection, padding, gap, tag, }: React.PropsWithChildren<BoxProps>): React.JSX.Element;
39
+ declare namespace Box {
40
+ var display: typeof BoxDisplay;
41
+ var alignItems: typeof AlignItems;
42
+ var justifyContent: typeof JustifyContent;
43
+ var gap: typeof Spacing;
44
+ var flexDirection: typeof FlexDirection;
45
+ var width: typeof Width;
46
+ var height: typeof Height;
47
+ var padding: typeof Spacing;
48
+ var flexWrap: typeof FlexWrap;
49
+ var tag: typeof LayoutTags;
50
+ }
51
+ export default Box;
52
+ //# sourceMappingURL=Box.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/core/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EACL,aAAa,EACb,OAAO,EACP,KAAK,EACL,MAAM,EACN,QAAQ,EACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEjE,aAAK,UAAU;IACb,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACzB,GAAG,CAAC,EAAE,UAAU,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,gBAAgB,GACxB;IACE,OAAO,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GACD;IACE,OAAO,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC;IAC3B,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,GAAG,CAAC,EAAE,KAAK,CAAC;IACZ,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,CAAC;AAEN,KAAK,QAAQ,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAE/C,iBAAS,GAAG,CAAC,EACX,SAAS,EACT,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,GAAG,EACH,OAAO,EACP,UAA8B,EAC9B,cAAsC,EACtC,OAAyB,EACzB,KAAkB,EAClB,QAA0B,EAC1B,MAAoB,EACpB,MAAc,EACd,aAAiC,EACjC,OAAkE,EAClE,GAAoB,EACpB,GAAoB,GACrB,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAAC,qBAiCnC;kBAnDQ,GAAG;;;;;;;;;;;;AAkEZ,eAAe,GAAG,CAAC"}
@@ -0,0 +1,29 @@
1
+ export declare enum FlexDirection {
2
+ row = "row",
3
+ column = "column"
4
+ }
5
+ export declare enum JustifyContent {
6
+ flexStart = "flex-start",
7
+ flexEnd = "flex-end",
8
+ center = "center",
9
+ spaceBetween = "space-between",
10
+ spaceAround = "space-around",
11
+ spaceEvenly = "space-evenly"
12
+ }
13
+ export declare enum AlignItems {
14
+ flexStart = "flex-start",
15
+ flexEnd = "flex-end",
16
+ center = "center",
17
+ stretch = "stretch",
18
+ baseline = "baseline"
19
+ }
20
+ export declare enum LayoutTags {
21
+ header = "header",
22
+ main = "main",
23
+ section = "section",
24
+ div = "div",
25
+ footer = "footer",
26
+ ul = "ul",
27
+ li = "li"
28
+ }
29
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/Box/types.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,oBAAY,cAAc;IACxB,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,MAAM,WAAW;IACjB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;CAC7B;AAED,oBAAY,UAAU;IACpB,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,EAAE,OAAO;IACT,EAAE,OAAO;CACV"}
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import './Button.css';
3
+ import { ButtonSize, ButtonType } from './types';
4
+ import { Spacing } from 'common/types';
5
+ export interface TextButtonProps {
6
+ id: any;
7
+ disabled?: boolean;
8
+ size?: ButtonSize;
9
+ onClick?: any;
10
+ type?: ButtonType;
11
+ text?: string;
12
+ padding?: Spacing[];
13
+ margin?: Spacing[];
14
+ className?: string;
15
+ style?: object;
16
+ children?: React.ReactNode;
17
+ }
18
+ declare function Button({ disabled, text, id, className, style, onClick, children, padding, margin, type, size, }: React.PropsWithChildren<TextButtonProps>): React.JSX.Element;
19
+ declare namespace Button {
20
+ var padding: typeof Spacing;
21
+ var margin: typeof Spacing;
22
+ var type: typeof ButtonType;
23
+ var size: typeof ButtonSize;
24
+ }
25
+ export default Button;
26
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/core/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAKvC,MAAM,WAAW,eAAe;IAI9B,EAAE,EAAE,GAAG,CAAC;IAER,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,GAAG,CAAC;IAEd,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,iBAAS,MAAM,CAAC,EACd,QAAQ,EACR,IAAI,EACJ,EAAE,EACF,SAAS,EACT,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAyB,EACzB,MAAuB,EACvB,IAAuB,EACvB,IAAuB,GACxB,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,qBAoF1C;kBAhGQ,MAAM;;;;;;AAuGf,eAAe,MAAM,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import './Dropdown.css';
3
+ export interface DropdownProps {
4
+ id: string;
5
+ items?: Array<string>;
6
+ label: string;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ onMouseOver?: (label: string, value: number) => void;
10
+ onChange?: (event: any) => any;
11
+ }
12
+ declare function Dropdown({ items, label, className, onChange, id, style, }: DropdownProps): React.JSX.Element;
13
+ export default Dropdown;
14
+ //# sourceMappingURL=Dropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/core/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,gBAAgB,CAAC;AAExB,MAAM,WAAW,aAAa;IAG5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC;CAChC;AAED,iBAAS,QAAQ,CAAC,EAChB,KAAqD,EACrD,KAAK,EACL,SAAS,EACT,QAAQ,EACR,EAAE,EACF,KAAK,GACN,EAAE,aAAa,qBAqCf;AAED,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export interface IndicatorLightProps {
3
+ id: string;
4
+ isActive?: boolean;
5
+ label?: string;
6
+ color?: string;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }
10
+ declare function IndicatorLight({ className, label, color, style, id, }: IndicatorLightProps): React.JSX.Element;
11
+ export default IndicatorLight;
12
+ //# sourceMappingURL=IndicatorLight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndicatorLight.d.ts","sourceRoot":"","sources":["../../../src/core/Indicators/IndicatorLight.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAK,EACL,KAAK,EACL,KAAK,EACL,EAAE,GACH,EAAE,mBAAmB,qBAqBrB;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ declare const useIndicator: ({ id, }: {
2
+ id: string;
3
+ onChange?: (newValue: any) => any;
4
+ }) => {
5
+ isActive: number;
6
+ };
7
+ export default useIndicator;
8
+ //# sourceMappingURL=useIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIndicator.d.ts","sourceRoot":"","sources":["../../../../src/core/Indicators/hooks/useIndicator.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,GAAI,SAEnB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC;CACnC;;CAiCA,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export interface MatrixProps {
3
+ rows: Array<{
4
+ [key: string]: string | number;
5
+ }>;
6
+ columns: Array<{
7
+ key: string;
8
+ label: string;
9
+ }>;
10
+ }
11
+ declare const Matrix: React.FC<React.PropsWithChildren<MatrixProps>>;
12
+ export default Matrix;
13
+ //# sourceMappingURL=Matrix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Matrix.d.ts","sourceRoot":"","sources":["../../../src/core/Matrix/Matrix.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,CAAC;IAChD,OAAO,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAChD;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CA+C1D,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import '../Input/Input';
3
+ import { SliderOrientation, SliderPolarity, SliderType, JuceSliderProperties } from './types';
4
+ export interface SliderProps {
5
+ id: any;
6
+ polarity?: SliderPolarity;
7
+ sliderOrientation?: SliderOrientation;
8
+ isRandomizable?: boolean;
9
+ onMouseEnter?: (label: string, scaledValue: number) => void;
10
+ color?: string;
11
+ onChange?: (newValue: any) => any;
12
+ className?: string;
13
+ style?: object;
14
+ label: string;
15
+ /**
16
+ * Returns the scaled value of the parameter. This corresponds to the return value of
17
+ * NormalisableRange::convertFrom0to1() (C++). This value will differ from a linear
18
+ * [0, 1] range if a non-default NormalisableRange was set for the parameter.
19
+ */
20
+ mockInitialNormalisedValue?: number;
21
+ mockProperties?: JuceSliderProperties;
22
+ }
23
+ declare function Slider({ polarity, sliderOrientation, isRandomizable, className, id, onChange, style, color, label, mockInitialNormalisedValue, mockProperties, }: React.PropsWithChildren<SliderProps>): React.JSX.Element;
24
+ declare namespace Slider {
25
+ var sliderType: typeof SliderType;
26
+ var sliderPolarity: typeof SliderPolarity;
27
+ var sliderOrientation: typeof SliderOrientation;
28
+ }
29
+ export default Slider;
30
+ //# sourceMappingURL=BarSlider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarSlider.d.ts","sourceRoot":"","sources":["../../../src/core/Slider/BarSlider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,CAAC;AAExB,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAQjB,MAAM,WAAW,WAAW;IAG1B,EAAE,EAAE,GAAG,CAAC;IAER,QAAQ,CAAC,EAAE,cAAc,CAAC;IAG1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAE5D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC;IAElC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IAKH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAoCpC,cAAc,CAAC,EAAE,oBAAoB,CAAC;CACvC;AAED,iBAAS,MAAM,CAAC,EACd,QAAgC,EAChC,iBAA8C,EAC9C,cAAsB,EACtB,SAAS,EACT,EAAE,EACF,QAAQ,EACR,KAAK,EACL,KAAK,EACL,KAAK,EAEL,0BAA8B,EAC9B,cAKC,GACF,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,qBA6EtC;kBA/FQ,MAAM;;;;;AAqGf,eAAe,MAAM,CAAC"}
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import '../Input/Input';
3
+ import { JuceSliderProperties } from './types';
4
+ import { SliderRotationBehavior, SliderPolarity } from './types';
5
+ import './RotarySlider.css';
6
+ export interface RotarySliderProps {
7
+ id: any;
8
+ polarity?: SliderPolarity;
9
+ rotationBehavior?: SliderRotationBehavior;
10
+ isRandomizable?: boolean;
11
+ onChange?: (newValue: any) => void;
12
+ className?: string;
13
+ color?: string;
14
+ style?: object;
15
+ label: string;
16
+ /**
17
+ * Returns the scaled value of the parameter. This corresponds to the return value of
18
+ * NormalisableRange::convertFrom0to1() (C++). This value will differ from a linear
19
+ * [0, 1] range if a non-default NormalisableRange was set for the parameter.
20
+ */
21
+ mockInitialNormalisedValue?: number;
22
+ mockProperties?: JuceSliderProperties;
23
+ }
24
+ declare function RotarySlider({ polarity, label, className, id, onChange, rotationBehavior, mockInitialNormalisedValue, isRandomizable, mockProperties, color, style, }: React.PropsWithChildren<RotarySliderProps>): React.JSX.Element;
25
+ declare namespace RotarySlider {
26
+ var sliderPolarity: typeof SliderPolarity;
27
+ }
28
+ export default RotarySlider;
29
+ //# sourceMappingURL=RotarySlider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RotarySlider.d.ts","sourceRoot":"","sources":["../../../src/core/Slider/RotarySlider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAc,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAKjE,OAAO,oBAAoB,CAAC;AAK5B,MAAM,WAAW,iBAAiB;IAGhC,EAAE,EAAE,GAAG,CAAC;IAER,QAAQ,CAAC,EAAE,cAAc,CAAC;IAI1B,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAC;IAEnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IAKH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAoCpC,cAAc,CAAC,EAAE,oBAAoB,CAAC;CACvC;AAED,iBAAS,YAAY,CAAC,EACpB,QAAgC,EAChC,KAAK,EACL,SAAS,EACT,EAAE,EACF,QAAQ,EACR,gBAAyD,EAEzD,0BAA8B,EAC9B,cAAsB,EACtB,cAKC,EACD,KAA+B,EAC/B,KAAK,GACN,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,qBA+D5C;kBAjFQ,YAAY;;;AAoFrB,eAAe,YAAY,CAAC"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { Spacing } from '../../common/types';
3
+ import './Tabs.css';
4
+ export interface TabsProps {
5
+ items: Array<string>;
6
+ onChange: (index: number) => void;
7
+ selectedIndex?: number;
8
+ padding?: Array<Spacing>;
9
+ margin?: Array<Spacing>;
10
+ className?: string;
11
+ style?: object;
12
+ }
13
+ declare function Tabs({ items, className, padding, margin, onChange, selectedIndex, }: React.PropsWithChildren<TabsProps>): React.JSX.Element;
14
+ declare namespace Tabs {
15
+ var padding: typeof Spacing;
16
+ var margin: typeof Spacing;
17
+ }
18
+ export default Tabs;
19
+ //# sourceMappingURL=Tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/core/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,YAAY,CAAC;AAEpB,MAAM,WAAW,SAAS;IAExB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAErB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAExB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,iBAAS,IAAI,CAAC,EACZ,KAAK,EACL,SAAS,EACT,OAA+B,EAC/B,MAAuB,EACvB,QAAQ,EACR,aAAa,GACd,EAAE,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,qBAgDpC;kBAvDQ,IAAI;;;;AA4Db,eAAe,IAAI,CAAC"}
@@ -0,0 +1,15 @@
1
+ declare const useCombobox: ({ id, label, items, onChange, displayValInHeader, }: {
2
+ id: string;
3
+ label: string;
4
+ items?: Array<string>;
5
+ onChange?: (value: number) => unknown | void;
6
+ displayValInHeader?: boolean;
7
+ }) => {
8
+ value: number;
9
+ setValue: (value: number) => void;
10
+ choices: Array<string>;
11
+ onMouseEnter: () => void;
12
+ handleChange: (value: number) => void;
13
+ };
14
+ export default useCombobox;
15
+ //# sourceMappingURL=useCombobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../src/hooks/useCombobox.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,WAAW,GAAI,qDAMlB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC;IAC7C,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,KAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CA2DvC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare function useObservable({ onFire }: {
2
+ onFire: () => any;
3
+ }): {
4
+ subscribe: (observer: () => any, id: string) => void;
5
+ unsubscribe: (observer: () => any, id: string) => void;
6
+ fire: () => void;
7
+ };
8
+ export default useObservable;
9
+ //# sourceMappingURL=useObservable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useObservable.d.ts","sourceRoot":"","sources":["../../src/hooks/useObservable.ts"],"names":[],"mappings":"AAEA,iBAAS,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,GAAG,CAAA;CAAE;0BAGzB,MAAM,GAAG,MAAM,MAAM;4BAKnB,MAAM,GAAG,MAAM,MAAM;;EAqBrD;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=useRandom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRandom.d.ts","sourceRoot":"","sources":["../../src/hooks/useRandom.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import { JuceSliderProperties, SliderOrientation } from '../core/Slider/types';
2
+ declare const useSlider: ({ id, label, mockProperties, isRandomizable, mockInitialNormalisedValue, sliderOrientation, onChange, }: {
3
+ id: string;
4
+ label: string;
5
+ sliderOrientation?: SliderOrientation;
6
+ mockProperties?: JuceSliderProperties;
7
+ isRandomizable?: boolean;
8
+ mockInitialNormalisedValue?: number;
9
+ onChange?: (newValue: any) => any;
10
+ }) => {
11
+ setNormalisedState: (newValue: number) => void;
12
+ setScaledState: (newValue: number) => void;
13
+ onMouseEnter: () => void;
14
+ bindBarSliderDrag: (...args: any[]) => import("@use-gesture/react/dist/declarations/src/types").ReactDOMAttributes;
15
+ bindDrag: (...args: any[]) => import("@use-gesture/react/dist/declarations/src/types").ReactDOMAttributes;
16
+ normalisedValue: number;
17
+ scaledValue: number;
18
+ properties: JuceSliderProperties | undefined;
19
+ };
20
+ export default useSlider;
21
+ //# sourceMappingURL=useSlider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSlider.d.ts","sourceRoot":"","sources":["../../src/hooks/useSlider.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,oBAAoB,EAEpB,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAI9B,QAAA,MAAM,SAAS,GAAI,yGAahB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC;CACnC;mCAuGuC,MAAM;+BAQV,MAAM;;kDArImB,gDAAY;yCAAZ,gDAAY;;;;CAgPxE,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import './src/styles.css';
2
+ export * from './src';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,cAAc,OAAO,CAAC"}