@antimatter-audio/antimatter-ui 16.2.4 → 16.2.6

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 (167) hide show
  1. package/dist/index.js +5316 -8098
  2. package/dist/index.js.map +1 -1
  3. package/dist/types/advanced/BevelContainer/BevelContainer.d.ts +32 -0
  4. package/dist/types/advanced/BevelContainer/BevelContainer.d.ts.map +1 -0
  5. package/dist/types/advanced/CircularDiagramStyleVisualization/CircularDiagramStyleVisualization.d.ts +21 -0
  6. package/dist/types/advanced/CircularDiagramStyleVisualization/CircularDiagramStyleVisualization.d.ts.map +1 -0
  7. package/dist/types/advanced/CircularDiagramStyleVisualization/CircularDiagramStyleVisualizationSVG.d.ts +16 -0
  8. package/dist/types/advanced/CircularDiagramStyleVisualization/CircularDiagramStyleVisualizationSVG.d.ts.map +1 -0
  9. package/dist/types/advanced/ControlGroup/ControlGroup.d.ts +11 -0
  10. package/dist/types/advanced/ControlGroup/ControlGroup.d.ts.map +1 -0
  11. package/dist/types/advanced/IconButton/IconButton.d.ts +31 -0
  12. package/dist/types/advanced/IconButton/IconButton.d.ts.map +1 -0
  13. package/dist/types/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts +12 -0
  14. package/dist/types/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts.map +1 -0
  15. package/dist/types/advanced/LFOIntensityMeter/LFOIntensityMeter.d.ts +14 -0
  16. package/dist/types/advanced/LFOIntensityMeter/LFOIntensityMeter.d.ts.map +1 -0
  17. package/dist/types/advanced/LFOIntensityMeter/worker.d.ts +15 -0
  18. package/dist/types/advanced/LFOIntensityMeter/worker.d.ts.map +1 -0
  19. package/dist/types/advanced/LFOVisualizer/LFOVisualizer.d.ts +8 -0
  20. package/dist/types/advanced/LFOVisualizer/LFOVisualizer.d.ts.map +1 -0
  21. package/dist/types/advanced/LFOVisualizer/constants.d.ts +12 -0
  22. package/dist/types/advanced/LFOVisualizer/constants.d.ts.map +1 -0
  23. package/dist/types/advanced/LFOVisualizer/utils.d.ts +25 -0
  24. package/dist/types/advanced/LFOVisualizer/utils.d.ts.map +1 -0
  25. package/dist/types/advanced/LFOVisualizer/worker.d.ts +22 -0
  26. package/dist/types/advanced/LFOVisualizer/worker.d.ts.map +1 -0
  27. package/dist/types/advanced/ModMatrix/ModMatrix.d.ts +8 -0
  28. package/dist/types/advanced/ModMatrix/ModMatrix.d.ts.map +1 -0
  29. package/dist/types/advanced/ModMatrix/ModMatrixCell.d.ts +9 -0
  30. package/dist/types/advanced/ModMatrix/ModMatrixCell.d.ts.map +1 -0
  31. package/dist/types/advanced/ModMatrix/ModMatrixComboboxCell.d.ts +13 -0
  32. package/dist/types/advanced/ModMatrix/ModMatrixComboboxCell.d.ts.map +1 -0
  33. package/dist/types/advanced/ModMatrix/ModMatrixRow.d.ts +7 -0
  34. package/dist/types/advanced/ModMatrix/ModMatrixRow.d.ts.map +1 -0
  35. package/dist/types/advanced/ModMatrix/ModMatrixToggleCell.d.ts +10 -0
  36. package/dist/types/advanced/ModMatrix/ModMatrixToggleCell.d.ts.map +1 -0
  37. package/dist/types/advanced/ModMatrix/constants.d.ts +4 -0
  38. package/dist/types/advanced/ModMatrix/constants.d.ts.map +1 -0
  39. package/dist/types/advanced/ModuleFooter/InputModTab.d.ts +3 -0
  40. package/dist/types/advanced/ModuleFooter/InputModTab.d.ts.map +1 -0
  41. package/dist/types/advanced/ModuleFooter/LFOBox.d.ts +5 -0
  42. package/dist/types/advanced/ModuleFooter/LFOBox.d.ts.map +1 -0
  43. package/dist/types/advanced/ModuleFooter/LFOTab.d.ts +3 -0
  44. package/dist/types/advanced/ModuleFooter/LFOTab.d.ts.map +1 -0
  45. package/dist/types/advanced/ModuleFooter/ModuleFooter.d.ts +17 -0
  46. package/dist/types/advanced/ModuleFooter/ModuleFooter.d.ts.map +1 -0
  47. package/dist/types/advanced/ModuleFooter/SeqPanel.d.ts +5 -0
  48. package/dist/types/advanced/ModuleFooter/SeqPanel.d.ts.map +1 -0
  49. package/dist/types/advanced/ModuleFooter/SeqTab.d.ts +3 -0
  50. package/dist/types/advanced/ModuleFooter/SeqTab.d.ts.map +1 -0
  51. package/dist/types/advanced/ModuleHeader/ModuleHeader.d.ts +10 -0
  52. package/dist/types/advanced/ModuleHeader/ModuleHeader.d.ts.map +1 -0
  53. package/dist/types/advanced/Oscilloscope/LinePlot.d.ts +12 -0
  54. package/dist/types/advanced/Oscilloscope/LinePlot.d.ts.map +1 -0
  55. package/dist/types/advanced/Oscilloscope/Oscilloscope.d.ts +12 -0
  56. package/dist/types/advanced/Oscilloscope/Oscilloscope.d.ts.map +1 -0
  57. package/dist/types/advanced/Oscilloscope/worker.d.ts +2 -0
  58. package/dist/types/advanced/Oscilloscope/worker.d.ts.map +1 -0
  59. package/dist/types/advanced/OuterGlowFilter.d.ts +7 -0
  60. package/dist/types/advanced/OuterGlowFilter.d.ts.map +1 -0
  61. package/dist/types/advanced/PresetManager/PresetManager.d.ts +4 -0
  62. package/dist/types/advanced/PresetManager/PresetManager.d.ts.map +1 -0
  63. package/dist/types/advanced/StepSequencer/StepSequencer.d.ts +9 -0
  64. package/dist/types/advanced/StepSequencer/StepSequencer.d.ts.map +1 -0
  65. package/dist/types/advanced/ThemeWrapper/ThemeWrapper.d.ts +10 -0
  66. package/dist/types/advanced/ThemeWrapper/ThemeWrapper.d.ts.map +1 -0
  67. package/dist/types/advanced/VUMeter/VUMeter.d.ts +11 -0
  68. package/dist/types/advanced/VUMeter/VUMeter.d.ts.map +1 -0
  69. package/dist/types/advanced/VUMeter/worker.d.ts +2 -0
  70. package/dist/types/advanced/VUMeter/worker.d.ts.map +1 -0
  71. package/dist/types/common/constants.d.ts +15 -0
  72. package/dist/types/common/constants.d.ts.map +1 -0
  73. package/dist/types/common/types.d.ts +145 -0
  74. package/dist/types/common/types.d.ts.map +1 -0
  75. package/dist/types/common/utils.d.ts +65 -0
  76. package/dist/types/common/utils.d.ts.map +1 -0
  77. package/dist/types/context/GlobalContextProvider.d.ts +69 -0
  78. package/dist/types/context/GlobalContextProvider.d.ts.map +1 -0
  79. package/dist/types/core/Box/Box.d.ts +67 -0
  80. package/dist/types/core/Box/Box.d.ts.map +1 -0
  81. package/dist/types/core/Box/types.d.ts +39 -0
  82. package/dist/types/core/Box/types.d.ts.map +1 -0
  83. package/dist/types/core/Button/Button.d.ts +39 -0
  84. package/dist/types/core/Button/Button.d.ts.map +1 -0
  85. package/dist/types/core/Button/types.d.ts +5 -0
  86. package/dist/types/core/Button/types.d.ts.map +1 -0
  87. package/dist/types/core/Chart/AnimationDataWrapper.d.ts +16 -0
  88. package/dist/types/core/Chart/AnimationDataWrapper.d.ts.map +1 -0
  89. package/dist/types/core/Chart/Area.d.ts +11 -0
  90. package/dist/types/core/Chart/Area.d.ts.map +1 -0
  91. package/dist/types/core/Chart/Bar.d.ts +18 -0
  92. package/dist/types/core/Chart/Bar.d.ts.map +1 -0
  93. package/dist/types/core/Chart/Chart.d.ts +72 -0
  94. package/dist/types/core/Chart/Chart.d.ts.map +1 -0
  95. package/dist/types/core/Chart/Line.d.ts +10 -0
  96. package/dist/types/core/Chart/Line.d.ts.map +1 -0
  97. package/dist/types/core/Chart/LineChart/LineChart.d.ts +27 -0
  98. package/dist/types/core/Chart/LineChart/LineChart.d.ts.map +1 -0
  99. package/dist/types/core/Chart/LineChart/LineChartCanvas.d.ts +22 -0
  100. package/dist/types/core/Chart/LineChart/LineChartCanvas.d.ts.map +1 -0
  101. package/dist/types/core/Chart/LineChart/LineChartSvg.d.ts +22 -0
  102. package/dist/types/core/Chart/LineChart/LineChartSvg.d.ts.map +1 -0
  103. package/dist/types/core/Chart/StackedChart.d.ts +9 -0
  104. package/dist/types/core/Chart/StackedChart.d.ts.map +1 -0
  105. package/dist/types/core/Chart/Ticks.d.ts +16 -0
  106. package/dist/types/core/Chart/Ticks.d.ts.map +1 -0
  107. package/dist/types/core/Combobox/Combobox.d.ts +65 -0
  108. package/dist/types/core/Combobox/Combobox.d.ts.map +1 -0
  109. package/dist/types/core/Combobox/ComboboxComponent.d.ts +39 -0
  110. package/dist/types/core/Combobox/ComboboxComponent.d.ts.map +1 -0
  111. package/dist/types/core/Combobox/ListboxComponent.d.ts +40 -0
  112. package/dist/types/core/Combobox/ListboxComponent.d.ts.map +1 -0
  113. package/dist/types/core/DataViz/SingleBarViz.d.ts +18 -0
  114. package/dist/types/core/DataViz/SingleBarViz.d.ts.map +1 -0
  115. package/dist/types/core/Heading/Heading.d.ts +22 -0
  116. package/dist/types/core/Heading/Heading.d.ts.map +1 -0
  117. package/dist/types/core/Heading/types.d.ts +7 -0
  118. package/dist/types/core/Heading/types.d.ts.map +1 -0
  119. package/dist/types/core/Icon/Icon.d.ts +73 -0
  120. package/dist/types/core/Icon/Icon.d.ts.map +1 -0
  121. package/dist/types/core/Indicators/IndicatorLight.d.ts +20 -0
  122. package/dist/types/core/Indicators/IndicatorLight.d.ts.map +1 -0
  123. package/dist/types/core/Input/Input.d.ts +34 -0
  124. package/dist/types/core/Input/Input.d.ts.map +1 -0
  125. package/dist/types/core/Label/Label.d.ts +25 -0
  126. package/dist/types/core/Label/Label.d.ts.map +1 -0
  127. package/dist/types/core/PositioningWrapper/PositioningWrapper.d.ts +16 -0
  128. package/dist/types/core/PositioningWrapper/PositioningWrapper.d.ts.map +1 -0
  129. package/dist/types/core/Slider/BarSlider.d.ts +60 -0
  130. package/dist/types/core/Slider/BarSlider.d.ts.map +1 -0
  131. package/dist/types/core/Slider/RotaryCircle.d.ts +34 -0
  132. package/dist/types/core/Slider/RotaryCircle.d.ts.map +1 -0
  133. package/dist/types/core/Slider/RotaryCombobox.d.ts +44 -0
  134. package/dist/types/core/Slider/RotaryCombobox.d.ts.map +1 -0
  135. package/dist/types/core/Slider/RotarySlider.d.ts +47 -0
  136. package/dist/types/core/Slider/RotarySlider.d.ts.map +1 -0
  137. package/dist/types/core/Slider/Slider.d.ts +88 -0
  138. package/dist/types/core/Slider/Slider.d.ts.map +1 -0
  139. package/dist/types/core/Slider/SliderSVG.d.ts +44 -0
  140. package/dist/types/core/Slider/SliderSVG.d.ts.map +1 -0
  141. package/dist/types/core/Slider/types.d.ts +56 -0
  142. package/dist/types/core/Slider/types.d.ts.map +1 -0
  143. package/dist/types/core/Spinner.d.ts +4 -0
  144. package/dist/types/core/Spinner.d.ts.map +1 -0
  145. package/dist/types/core/Tabs/Tabs.d.ts +60 -0
  146. package/dist/types/core/Tabs/Tabs.d.ts.map +1 -0
  147. package/dist/types/core/Toggle/Toggle.d.ts +32 -0
  148. package/dist/types/core/Toggle/Toggle.d.ts.map +1 -0
  149. package/dist/types/hooks/useCombobox.d.ts +35 -0
  150. package/dist/types/hooks/useCombobox.d.ts.map +1 -0
  151. package/dist/types/hooks/useD3Transition.d.ts +13 -0
  152. package/dist/types/hooks/useD3Transition.d.ts.map +1 -0
  153. package/dist/types/hooks/useIndicator.d.ts +14 -0
  154. package/dist/types/hooks/useIndicator.d.ts.map +1 -0
  155. package/dist/types/hooks/useObservable.d.ts +6 -0
  156. package/dist/types/hooks/useObservable.d.ts.map +1 -0
  157. package/dist/types/hooks/useRandom.d.ts +3 -0
  158. package/dist/types/hooks/useRandom.d.ts.map +1 -0
  159. package/dist/types/hooks/useReset.d.ts +3 -0
  160. package/dist/types/hooks/useReset.d.ts.map +1 -0
  161. package/dist/types/hooks/useSlider.d.ts +35 -0
  162. package/dist/types/hooks/useSlider.d.ts.map +1 -0
  163. package/dist/types/hooks/useTabs.d.ts +12 -0
  164. package/dist/types/hooks/useTabs.d.ts.map +1 -0
  165. package/dist/types/index.d.ts +28 -0
  166. package/dist/types/index.d.ts.map +1 -0
  167. package/package.json +7 -6
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './ThemeWrapper.css';
3
+ export declare enum Themes {
4
+ CRT = "CRT"
5
+ }
6
+ declare function ThemeWrapper({ theme, children, }: React.PropsWithChildren<{
7
+ theme?: Themes;
8
+ }>): import("react/jsx-runtime").JSX.Element;
9
+ export default ThemeWrapper;
10
+ //# sourceMappingURL=ThemeWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeWrapper.d.ts","sourceRoot":"","sources":["../../../../src/advanced/ThemeWrapper/ThemeWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,oBAAoB,CAAC;AAE5B,oBAAY,MAAM;IAChB,GAAG,QAAQ;CACZ;AAED,iBAAS,YAAY,CAAC,EACpB,KAAkB,EAClB,QAAQ,GACT,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,2CAS7C;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface VUMeterProps {
3
+ id: string;
4
+ width?: number;
5
+ height?: number;
6
+ className?: string;
7
+ style?: React.CSSProperties;
8
+ }
9
+ declare function VUMeter({ width, height, className, style, id, }: VUMeterProps): import("react/jsx-runtime").JSX.Element;
10
+ export default VUMeter;
11
+ //# sourceMappingURL=VUMeter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VUMeter.d.ts","sourceRoot":"","sources":["../../../../src/advanced/VUMeter/VUMeter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAcjD,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,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,OAAO,CAAC,EACf,KAAU,EACV,MAAY,EACZ,SAAS,EACT,KAAK,EACL,EAAE,GACH,EAAE,YAAY,2CA8Ed;AAED,eAAe,OAAO,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare let vuMeterCanvas: any;
2
+ //# sourceMappingURL=worker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../../src/advanced/VUMeter/worker.ts"],"names":[],"mappings":"AAEA,QAAA,IAAI,aAAa,EAAE,GAAG,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare const buttonWidthMap: {
2
+ small: string;
3
+ medium: string;
4
+ large: string;
5
+ auto: string;
6
+ full: string;
7
+ };
8
+ export declare const buttonHeightMap: {
9
+ small: string;
10
+ medium: string;
11
+ large: string;
12
+ auto: string;
13
+ full: string;
14
+ };
15
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;CAM1B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;CAM3B,CAAC"}
@@ -0,0 +1,145 @@
1
+ export declare enum Spacing {
2
+ none = "none",
3
+ xSmall = "xs",
4
+ small = "sm",
5
+ mediumSmall = "ms",
6
+ medium = "md",
7
+ mediumLarge = "ml",
8
+ large = "lg",
9
+ xLarge = "xl"
10
+ }
11
+ export declare enum ButtonSize {
12
+ small = "small",
13
+ medium = "medium",
14
+ large = "large",
15
+ auto = "auto",
16
+ full = "full"
17
+ }
18
+ export declare enum FlexDirection {
19
+ row = "row",
20
+ column = "column"
21
+ }
22
+ export declare enum FlexAlign {
23
+ flexStart = "flex-start",
24
+ flexEnd = "flex-end",
25
+ center = "center"
26
+ }
27
+ export declare enum TextAlign {
28
+ left = "left",
29
+ center = "center",
30
+ right = "right"
31
+ }
32
+ export declare enum FlexWrap {
33
+ wrap = "wrap",
34
+ noWrap = "nowrap"
35
+ }
36
+ export declare enum JustifyContent {
37
+ flexStart = "flex-start",
38
+ flexEnd = "flex-end",
39
+ center = "center",
40
+ spaceBetween = "space-between",
41
+ spaceAround = "space-around",
42
+ spaceEvenly = "space-evenly",
43
+ stretch = "stretch"
44
+ }
45
+ export declare enum AlignItems {
46
+ flexStart = "flex-start",
47
+ flexEnd = "flex-end",
48
+ center = "center",
49
+ stretch = "stretch",
50
+ baseline = "baseline"
51
+ }
52
+ export declare enum Height {
53
+ full = "100%",
54
+ auto = "auto"
55
+ }
56
+ export declare enum Width {
57
+ full = "100%",
58
+ auto = "auto"
59
+ }
60
+ export declare enum FontSizes {
61
+ xXSmall = "xxs",
62
+ xSmall = "xs",
63
+ small = "sm",
64
+ medium = "md",
65
+ mediumSmall = "ms",
66
+ large = "lg",
67
+ xLarge = "xl",
68
+ title = "title"
69
+ }
70
+ export declare enum Polarity {
71
+ unipolar = "unipolar",
72
+ bipolar = "bipolar"
73
+ }
74
+ export declare enum Orientation {
75
+ vertical = "vertical",
76
+ horizontal = "horizontal"
77
+ }
78
+ export declare enum xPositions {
79
+ right = "right",
80
+ left = "left",
81
+ center = "center"
82
+ }
83
+ export declare enum yPositions {
84
+ top = "top",
85
+ bottom = "bottom",
86
+ center = "center"
87
+ }
88
+ export declare enum BorderDirections {
89
+ top = "top",
90
+ right = "right",
91
+ bottom = "bottom",
92
+ left = "left"
93
+ }
94
+ export declare enum CornerDirections {
95
+ topLeft = "topLeft",
96
+ topRight = "topRight",
97
+ bottomRight = "bottomRight",
98
+ bottomLeft = "bottomLeft"
99
+ }
100
+ export declare enum AnchorTo {
101
+ top = "top",
102
+ bottom = "bottom",
103
+ bottomLeft = "left"
104
+ }
105
+ export declare enum BorderStyles {
106
+ none = "none",
107
+ solid = "solid",
108
+ dashed = "dashed",
109
+ dotted = "dotted"
110
+ }
111
+ export declare enum GradientStyles {
112
+ unicolor = "unicolor",
113
+ multicolor = "multicolor"
114
+ }
115
+ export declare enum GraphicRenderOptions {
116
+ svg = "svg",
117
+ canvas = "canvas"
118
+ }
119
+ export declare enum StrokeStyle {
120
+ solid = "solid",
121
+ dashed = "dashed",
122
+ dotted = "dotted"
123
+ }
124
+ export interface XYValue {
125
+ x: number;
126
+ y: number;
127
+ }
128
+ export interface ModSlotTargets {
129
+ [key: string]: ModSlotTarget;
130
+ }
131
+ export interface ModSlotTarget {
132
+ rowId: string;
133
+ targetIndex: number;
134
+ isSaved: boolean;
135
+ }
136
+ export interface Observable {
137
+ subscribe: (observer: (argument?: any) => any, id: string) => any;
138
+ unsubscribe: (id: string) => void;
139
+ fire: () => any;
140
+ }
141
+ export interface Mark {
142
+ value: number;
143
+ label?: string;
144
+ }
145
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/common/types.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IACjB,IAAI,SAAS;IACb,MAAM,OAAO;IACb,KAAK,OAAO;IACZ,WAAW,OAAO;IAClB,MAAM,OAAO;IACb,WAAW,OAAO;IAClB,KAAK,OAAO;IACZ,MAAM,OAAO;CACd;AAED,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,oBAAY,SAAS;IACnB,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,MAAM,WAAW;CAClB;AAED,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,oBAAY,cAAc;IACxB,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,MAAM,WAAW;IACjB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;IAC5B,OAAO,YAAY;CACpB;AAED,oBAAY,UAAU;IACpB,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAED,oBAAY,MAAM;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C7B,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;CAC9B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,GAAG,EAAE,EAAE,EAAE,MAAM,KAAK,GAAG,CAAC;IAClE,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,IAAI,EAAE,MAAM,GAAG,CAAC;CACjB;AAED,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,65 @@
1
+ import { JuceSliderProperties } from '../core/Slider/types';
2
+ import { Polarity, Orientation, BorderDirections } from './types';
3
+ export declare function normalisedToScaled({ normalisedValue, properties, }: {
4
+ normalisedValue: number;
5
+ properties: JuceSliderProperties;
6
+ }): number;
7
+ export declare function scaledToNormalised({ scaledValue, start, end, skew, }: {
8
+ scaledValue: number;
9
+ start: number;
10
+ end: number;
11
+ skew?: number;
12
+ }): number;
13
+ export declare const decimalToPercent: (decimal: number | string) => number;
14
+ export declare const percentToDecimal: (percent: number | string) => number;
15
+ export declare const inputCharacterIsValid: (char: number | string) => boolean;
16
+ export declare const clamp: (val: number, min?: number, max?: number) => number;
17
+ export declare function snapToLegalValue({ value, properties, }: {
18
+ value: number;
19
+ properties: JuceSliderProperties;
20
+ }): number;
21
+ export declare const validateInputChange: (e: any) => boolean;
22
+ export declare const getValidValueForInput: ({ value, oldValue, properties, }: {
23
+ value: number | string;
24
+ oldValue: number;
25
+ properties: JuceSliderProperties;
26
+ }) => number;
27
+ export declare const getBarTransformStyles: ({ polarity, orientation, normalisedValue, isDisabled, }: {
28
+ polarity: Polarity;
29
+ orientation: Orientation;
30
+ normalisedValue: number;
31
+ isDisabled?: boolean;
32
+ }) => {
33
+ width: string;
34
+ height: string;
35
+ transform: string;
36
+ transformOrigin: string;
37
+ top: string;
38
+ bottom: string;
39
+ left: string;
40
+ right?: undefined;
41
+ } | {
42
+ width: string;
43
+ height: string;
44
+ transform: string;
45
+ transformOrigin: string;
46
+ bottom: string;
47
+ left: string;
48
+ right: string;
49
+ top?: undefined;
50
+ } | undefined;
51
+ export declare const randomizeValue: (min: number, max: number) => number;
52
+ export declare const incrementValue: ({ incomingVal, prevVal, interval, }: {
53
+ incomingVal: number;
54
+ prevVal: number;
55
+ interval?: number;
56
+ }) => number;
57
+ export declare function throttle(mainFunction: any, delay: number): (...args: any) => void;
58
+ export declare const stringToInt: (value: string) => number;
59
+ export declare const generateDropShadowFilterString: (colors?: Array<string>, radius?: number) => string;
60
+ export declare const getTextOuterGlowString: (outerGlowColor: string, outerGlowRadius: number) => string;
61
+ export declare const getNumericValue: (value: string | number) => number;
62
+ export declare const getIncrementValue: (value: string | number) => string | undefined;
63
+ export declare const getStringSizeValue: (value: string | number, increment?: string) => string;
64
+ export declare const getBorderValue: (borderArray: Array<number | string>, borderDirection: BorderDirections, returnNumericValue?: boolean) => string | number;
65
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAOlE,wBAAgB,kBAAkB,CAAC,EACjC,eAAe,EACf,UAAU,GACX,EAAE;IACD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,oBAAoB,CAAC;CAClC,UAGA;AAGD,wBAAgB,kBAAkB,CAAC,EACjC,WAAW,EACX,KAAK,EACL,GAAG,EACH,IAAI,GACL,EAAE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QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAC/C,GAAG,MAAM,GAAG,UAQrB;AAED,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,WACW,CAAC;AAErD,eAAO,MAAM,8BAA8B,GACzC,SAAS,KAAK,CAAC,MAAM,CAAC,EACtB,SAAS,MAAM,KACd,MAcF,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,gBAAgB,MAAM,EACtB,iBAAiB,MAAM,WAE6E,CAAC;AAEvG,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,GAAG,MAAM,WACiB,CAAC;AAExE,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,GAAG,MAAM,uBACO,CAAC;AAEhE,eAAO,MAAM,kBAAkB,GAC7B,OAAO,MAAM,GAAG,MAAM,EACtB,YAAW,MAAa,WACuC,CAAC;AAElE,eAAO,MAAM,cAAc,GACzB,aAAa,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,EACnC,iBAAiB,gBAAgB,EACjC,qBAAqB,OAAO,oBAc7B,CAAC"}
@@ -0,0 +1,69 @@
1
+ import React from 'react';
2
+ import { ModSlotTargets, ModSlotTarget, Observable } from '../common/types';
3
+ export interface GlobalState {
4
+ highlightedItem: HighlightedItem;
5
+ automatableParamsList: Array<string>;
6
+ allParameters: Array<string>;
7
+ parameterTypes: Array<string>;
8
+ automatableParamLabels: Array<string>;
9
+ modSlotTargets: ModSlotTargets;
10
+ modSlotDisplayOrder: Array<string>;
11
+ modSlotIds: Array<string>;
12
+ modSlotParams: Array<string>;
13
+ modSlotParamLabels: Array<string>;
14
+ defaultParamValues: Array<number>;
15
+ advancedView: any;
16
+ }
17
+ interface HighlightedItem {
18
+ label: string;
19
+ value?: number;
20
+ }
21
+ export interface Value {
22
+ globalState: GlobalState;
23
+ highlightedItemChanged: (highlightedItem: HighlightedItem) => void;
24
+ setDefaultParameter: (parameterID: string) => void;
25
+ getDefaultParameter: (parameterID: string) => void;
26
+ advancedViewToggled: (advancedView: boolean) => void;
27
+ allParametersReceived: (allParameters: Array<string>) => void;
28
+ automatableParamsListReceived: (automatableParamsList: Array<string>) => void;
29
+ parameterTypesReceived: (parameterTypes: Array<string>) => void;
30
+ automatableParamLabelsReceived: (automatableParamLabels: Array<string>) => void;
31
+ sortAndUpdateModSlotDisplayOrder: () => void;
32
+ setInitialModSlotDisplayOrder: (modSlots: Array<any>) => void;
33
+ modSlotsReceived: (modSlots: Array<any>) => void;
34
+ fetchModSlots: (modSlots: Array<any>) => void;
35
+ modSlotRowTargetsReceived: (modSlots: Array<string | number>) => void;
36
+ modSlotParamsListReceived: (modSlotParams: Array<string>) => void;
37
+ modSlotParamLabelsReceived: (modSlotParamLabels: Array<string>) => void;
38
+ defaultParamValuesReceived: (defaultParamValues: Array<number>) => void;
39
+ getModSlotPreview: () => ModSlotTarget | unknown;
40
+ updateModSlotRowTarget: ({ value, rowId, saveToBackend, }: {
41
+ value: number | string;
42
+ rowId: string;
43
+ saveToBackend: boolean;
44
+ }) => void;
45
+ deleteModSlotRowTarget: (rowId: string) => void;
46
+ mainPanelrandomizerObject: Observable;
47
+ }
48
+ export declare const defaultGlobalStateValue: {
49
+ highlightedItem: {
50
+ label: string;
51
+ };
52
+ allParameters: Array<string>;
53
+ automatableParamsList: Array<string>;
54
+ automatableParamLabels: Array<string>;
55
+ parameterTypes: Array<string>;
56
+ modSlotTargets: ModSlotTargets;
57
+ modSlotDisplayOrder: Array<string>;
58
+ modSlotIds: Array<string>;
59
+ modSlotParams: Array<string>;
60
+ modSlotParamLabels: Array<string>;
61
+ defaultParamValues: Array<number>;
62
+ advancedView: boolean;
63
+ };
64
+ export declare function useGlobalContext(selector?: any): any;
65
+ declare function GlobalContextProvider({ children }: {
66
+ children: React.ReactNode;
67
+ }): import("react/jsx-runtime").JSX.Element;
68
+ export default GlobalContextProvider;
69
+ //# sourceMappingURL=GlobalContextProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Global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M,uBAAuB;;;;mBAGb,KAAK,CAAC,MAAM,CAAC;2BACL,KAAK,CAAC,MAAM,CAAC;4BACZ,KAAK,CAAC,MAAM,CAAC;oBACrB,KAAK,CAAC,MAAM,CAAC;oBACb,cAAc;yBACT,KAAK,CAAC,MAAM,CAAC;gBACtB,KAAK,CAAC,MAAM,CAAC;mBACV,KAAK,CAAC,MAAM,CAAC;wBACR,KAAK,CAAC,MAAM,CAAC;wBACb,KAAK,CAAC,MAAM,CAAC;;CAExC,CAAC;AA8HF,wBAAgB,gBAAgB,CAAC,QAAQ,CAAC,EAAE,GAAG,OAG9C;AAGD,iBAAS,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAiVzE;AAED,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,67 @@
1
+ import React from 'react';
2
+ import '../../styles.css';
3
+ import { FlexDirection, Spacing, Width, Height, FlexWrap, BorderStyles } from '../../common/types';
4
+ import { AlignContent, AlignItems, JustifyContent, LayoutTags } from './types';
5
+ import './Box.css';
6
+ declare enum BoxDisplay {
7
+ flex = "flex",
8
+ block = "block"
9
+ }
10
+ export interface CommonProps {
11
+ className?: string;
12
+ onClick?: (e: any) => void;
13
+ style?: React.CSSProperties;
14
+ width?: Width | string;
15
+ height?: string;
16
+ fullHeight?: boolean;
17
+ borderWidth?: Array<string>;
18
+ borderStyle?: BorderStyles;
19
+ borderColor?: string;
20
+ dividerRight?: boolean;
21
+ dividerLeft?: boolean;
22
+ padding?: Array<Spacing>;
23
+ tag?: LayoutTags;
24
+ outerGlowRadius?: number;
25
+ outerGlowColors?: Array<string>;
26
+ cornerBevel?: Array<number>;
27
+ borderRadius?: number;
28
+ highlightColor?: string;
29
+ backgroundColor?: string;
30
+ key?: string | number;
31
+ [x: string]: any;
32
+ }
33
+ export type ConditionalProps = {
34
+ display?: BoxDisplay.flex;
35
+ alignItems?: AlignItems;
36
+ justifyContent?: JustifyContent;
37
+ alignContent?: AlignContent;
38
+ gap?: Spacing;
39
+ flexWrap?: FlexWrap;
40
+ flexDirection?: FlexDirection;
41
+ flex?: string;
42
+ } | {
43
+ display?: BoxDisplay.block;
44
+ alignItems?: never;
45
+ justifyContent?: never;
46
+ gap?: never;
47
+ flexWrap?: never;
48
+ flexDirection?: never;
49
+ flex?: never;
50
+ };
51
+ type BoxProps = CommonProps & ConditionalProps;
52
+ declare function Box({ className, style, children, flex, key, onClick, alignItems, justifyContent, alignContent, display, width, flexWrap, height, borderWidth, borderStyle, borderColor, borderRadius, dividerRight, dividerLeft, dividerColor, flexDirection, backgroundColor, fullHeight, padding, outerGlowRadius, outerGlowColors, cornerBevel, gap, tag, ...rest }: React.PropsWithChildren<BoxProps>): import("react/jsx-runtime").JSX.Element;
53
+ declare namespace Box {
54
+ var display: typeof BoxDisplay;
55
+ var alignItems: typeof AlignItems;
56
+ var justifyContent: typeof JustifyContent;
57
+ var alignContent: typeof AlignContent;
58
+ var gap: typeof Spacing;
59
+ var flexDirection: typeof FlexDirection;
60
+ var width: typeof Width;
61
+ var height: typeof Height;
62
+ var padding: typeof Spacing;
63
+ var flexWrap: typeof FlexWrap;
64
+ var tag: typeof LayoutTags;
65
+ }
66
+ export default Box;
67
+ //# 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,EACR,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAI/E,OAAO,WAAW,CAAC;AAEnB,aAAK,UAAU;IACb,IAAI,SAAS;IACb,KAAK,U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AC,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,YAAkC,EAClC,OAAyB,EACzB,KAAkB,EAClB,QAA0B,EAC1B,MAAM,EACN,WAA0C,EAC1C,WAAgC,EAChC,WAA6B,EAC7B,YAAY,EACZ,YAAoB,EACpB,WAAmB,EACnB,YAA8B,EAE9B,aAAiC,EACjC,eAAe,EACf,UAAkB,EAClB,OAAkE,EAClE,eAAe,EACf,eAAe,EACf,WAA0B,EAC1B,GAAmB,EACnB,GAAoB,EACpB,GAAG,IAAI,EACR,EAAE,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAAC,2CAiEnC;kBAjGQ,GAAG;;;;;;;;;;;;;AAiHZ,eAAe,GAAG,CAAC"}
@@ -0,0 +1,39 @@
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
+ stretch = "stretch"
13
+ }
14
+ export declare enum AlignContent {
15
+ flexStart = "flex-start",
16
+ flexEnd = "flex-end",
17
+ center = "center",
18
+ stretch = "stretch",
19
+ spaceBetween = "space-between",
20
+ spaceAround = "space-around",
21
+ normal = "normal"
22
+ }
23
+ export declare enum AlignItems {
24
+ flexStart = "flex-start",
25
+ flexEnd = "flex-end",
26
+ center = "center",
27
+ stretch = "stretch",
28
+ baseline = "baseline"
29
+ }
30
+ export declare enum LayoutTags {
31
+ header = "header",
32
+ main = "main",
33
+ section = "section",
34
+ div = "div",
35
+ footer = "footer",
36
+ ul = "ul",
37
+ li = "li"
38
+ }
39
+ //# 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;IAC5B,OAAO,YAAY;CACpB;AAED,oBAAY,YAAY;IACtB,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,MAAM,WAAW;CAClB;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,39 @@
1
+ import React from 'react';
2
+ import './Button.css';
3
+ import { ButtonType } from './types';
4
+ import { Spacing, ButtonSize } from '../../common/types';
5
+ export interface TextButtonProps {
6
+ id: any;
7
+ disabled?: boolean;
8
+ width?: ButtonSize | string;
9
+ height?: ButtonSize | string;
10
+ onClick?: any;
11
+ type?: ButtonType;
12
+ color?: string;
13
+ borderWidth?: number;
14
+ backgroundColor?: string;
15
+ outerGlowRadius?: number;
16
+ outerGlowColors?: Array<string>;
17
+ cornerBevel?: Array<number>;
18
+ borderColor?: string;
19
+ highlightBackground?: string;
20
+ highlightBorderColor?: string;
21
+ highlightColor?: string;
22
+ text?: string;
23
+ padding?: Spacing[];
24
+ margin?: Spacing[];
25
+ className?: string;
26
+ [key: string]: any;
27
+ style?: object;
28
+ children?: React.ReactNode;
29
+ }
30
+ declare function Button({ disabled, text, id, className, style, onClick, children, outerGlowRadius, outerGlowColors, color, highlightBackground, backgroundColor, highlightBorderColor, highlightColor, borderWidth, borderColor, cornerBevel, padding, margin, type, width, height, ...rest }: React.PropsWithChildren<TextButtonProps>): import("react/jsx-runtime").JSX.Element;
31
+ declare namespace Button {
32
+ var padding: typeof Spacing;
33
+ var margin: typeof Spacing;
34
+ var type: typeof ButtonType;
35
+ var width: typeof ButtonSize;
36
+ var height: typeof ButtonSize;
37
+ }
38
+ export default Button;
39
+ //# 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,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAUzD,MAAM,WAAW,eAAe;IAI9B,EAAE,EAAE,GAAG,CAAC;IAER,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,GAAG,CAAC;IAEd,IAAI,CAAC,EAAE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L=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/core/Button/types.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,SAAS,cAAc;IACvB,KAAK,UAAU;CAChB"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ export interface CommonProps {
3
+ children: React.ReactNode;
4
+ renderFunction: (data: any) => any;
5
+ }
6
+ export type ConditionalProps = {
7
+ eventId?: string;
8
+ paramId?: never;
9
+ } | {
10
+ eventId?: never;
11
+ paramId?: string;
12
+ };
13
+ type AnimationDataWrapperProps = CommonProps & ConditionalProps;
14
+ declare function AnimationDataWrapper({ renderFunction, eventId, children, }: AnimationDataWrapperProps): import("react/jsx-runtime").JSX.Element;
15
+ export default AnimationDataWrapper;
16
+ //# sourceMappingURL=AnimationDataWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimationDataWrapper.d.ts","sourceRoot":"","sources":["../../../../src/core/Chart/AnimationDataWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,cAAc,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CACpC;AAED,MAAM,MAAM,gBAAgB,GACxB;IACE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,GACD;IACE,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEN,KAAK,yBAAyB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAEhE,iBAAS,oBAAoB,CAAC,EAC5B,cAAc,EACd,OAAO,EACP,QAAQ,GACT,EAAE,yBAAyB,2CAkC3B;AAED,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { GradientStyles } from '../../common/types';
2
+ declare function Area({ data, xScale, yScale, fillColor, fillGradient, }: {
3
+ data: Array<any>;
4
+ xScale: any;
5
+ yScale: any;
6
+ strokeColor?: string;
7
+ fillColor?: string;
8
+ fillGradient?: GradientStyles;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export default Area;
11
+ //# sourceMappingURL=Area.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Area.d.ts","sourceRoot":"","sources":["../../../../src/core/Chart/Area.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,iBAAS,IAAI,CAAC,EACZ,IAAI,EACJ,MAAM,EACN,MAAM,EACN,SAAgC,EAChC,YAAY,GACb,EAAE;IACD,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,GAAG,CAAC;IAEZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B,2CA6DA;AAED,eAAe,IAAI,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { GradientStyles, StrokeStyle } from '../../common/types';
2
+ declare function BarChart({ id, width, height, xScale, yScale, margin, fillColor, fillGradient, displayTicks, displayCenterLine, gridColor, gridStroke, numberOfTicks, }: {
3
+ id?: string;
4
+ width?: number;
5
+ height?: number;
6
+ margin?: number;
7
+ xScale?: any;
8
+ yScale?: any;
9
+ fillColor?: string;
10
+ fillGradient?: GradientStyles;
11
+ displayTicks?: boolean;
12
+ displayCenterLine?: boolean;
13
+ gridColor?: string;
14
+ gridStroke?: StrokeStyle;
15
+ numberOfTicks?: number;
16
+ }): import("react/jsx-runtime").JSX.Element;
17
+ export default BarChart;
18
+ //# sourceMappingURL=Bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bar.d.ts","sourceRoot":"","sources":["../../../../src/core/Chart/Bar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjE,iBAAS,QAAQ,CAAC,EAEhB,EAAE,EACF,KAAU,EACV,MAAY,EACZ,MAAM,EACN,MAAM,EACN,MAAW,EACX,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,aAAa,GACd,EAAE;IAED,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,2CAiDA;AAED,eAAe,QAAQ,CAAC"}