@antimatter-audio/antimatter-ui 10.1.0 → 10.1.1

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 (48) hide show
  1. package/dist/advanced/PresetManager/PresetManager.d.ts.map +1 -1
  2. package/dist/index.js +57 -62
  3. package/dist/index.js.map +1 -1
  4. package/dist/src/advanced/PresetManager/PresetManager.d.ts.map +1 -1
  5. package/dist/src/hooks/useCombobox.d.ts.map +1 -1
  6. package/dist/src/hooks/useSlider.d.ts.map +1 -1
  7. package/package.json +1 -1
  8. package/dist/advanced/IconButton/IconButton.d.ts +0 -55
  9. package/dist/advanced/IconButton/IconButton.d.ts.map +0 -1
  10. package/dist/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts +0 -12
  11. package/dist/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts.map +0 -1
  12. package/dist/advanced/ModuleFooter/ModuleFooter.d.ts +0 -7
  13. package/dist/advanced/ModuleFooter/ModuleFooter.d.ts.map +0 -1
  14. package/dist/advanced/Oscilloscope/Oscilloscope.d.ts +0 -12
  15. package/dist/advanced/Oscilloscope/Oscilloscope.d.ts.map +0 -1
  16. package/dist/assets/bundle-WiH_IP0c.css +0 -192
  17. package/dist/assets/bundle-pfepV2k0.css +0 -206
  18. package/dist/context/GlobalContextProvider.d.ts +0 -20
  19. package/dist/context/GlobalContextProvider.d.ts.map +0 -1
  20. package/dist/core/Box/Box.d.ts +0 -52
  21. package/dist/core/Box/Box.d.ts.map +0 -1
  22. package/dist/core/Box/types.d.ts +0 -29
  23. package/dist/core/Box/types.d.ts.map +0 -1
  24. package/dist/core/Button/Button.d.ts +0 -26
  25. package/dist/core/Button/Button.d.ts.map +0 -1
  26. package/dist/core/Indicators/IndicatorLight.d.ts +0 -12
  27. package/dist/core/Indicators/IndicatorLight.d.ts.map +0 -1
  28. package/dist/core/Indicators/hooks/useIndicator.d.ts +0 -8
  29. package/dist/core/Indicators/hooks/useIndicator.d.ts.map +0 -1
  30. package/dist/core/Matrix/Matrix.d.ts +0 -13
  31. package/dist/core/Matrix/Matrix.d.ts.map +0 -1
  32. package/dist/core/Slider/BarSlider.d.ts +0 -30
  33. package/dist/core/Slider/BarSlider.d.ts.map +0 -1
  34. package/dist/core/Slider/RotarySlider.d.ts +0 -29
  35. package/dist/core/Slider/RotarySlider.d.ts.map +0 -1
  36. package/dist/core/Tabs/Tabs.d.ts +0 -19
  37. package/dist/core/Tabs/Tabs.d.ts.map +0 -1
  38. package/dist/hooks/useCombobox.d.ts +0 -15
  39. package/dist/hooks/useCombobox.d.ts.map +0 -1
  40. package/dist/hooks/useObservable.d.ts +0 -9
  41. package/dist/hooks/useObservable.d.ts.map +0 -1
  42. package/dist/hooks/useRandom.d.ts +0 -1
  43. package/dist/hooks/useRandom.d.ts.map +0 -1
  44. package/dist/hooks/useSlider.d.ts +0 -21
  45. package/dist/hooks/useSlider.d.ts.map +0 -1
  46. package/dist/index.css +0 -262
  47. package/dist/src/hooks/useRandomise.d.ts +0 -3
  48. package/dist/src/hooks/useRandomise.d.ts.map +0 -1
@@ -1,206 +0,0 @@
1
- @import "tailwindcss";
2
- @import "tailwindcss/preflight";
3
- @import "tailwindcss/utilities";
4
-
5
- @font-face {
6
- font-family: LeagueSpartan;
7
- src: url('./common/assets/fonts/LeagueSpartan-Regular.ttf');
8
- }
9
-
10
- @font-face {
11
- font-family: LeagueSpartan;
12
- src: url('./common/assets/fonts/LeagueSpartan-Thin.ttf');
13
- font-weight: lighter;
14
- }
15
- .Tabs {
16
- display: flex;
17
- font-size: 1rem;
18
- align-items: center;
19
- justify-content: center;
20
- vertical-align: middle;
21
- white-space: nowrap;
22
- text-decoration: none;
23
- text-transform: uppercase;
24
- text-align: center;
25
- border: 0;
26
- appearance: none;
27
- user-select: none;
28
- };
29
-
30
- .Tabs-Item {
31
- font-size: 1rem;
32
- display: flex;
33
- align-items: center;
34
- justify-content: center;
35
- margin-right: 1px;
36
- cursor: pointer;
37
- vertical-align: middle;
38
- white-space: nowrap;
39
- text-decoration: none;
40
- text-transform: uppercase;
41
- text-align: center;
42
- border: 0;
43
- appearance: none;
44
- user-select: none;
45
- &:hover, &:focus-visible {
46
- outline: none;
47
- }
48
- &:disabled {
49
- cursor: not-allowed;
50
- }
51
- }
52
- .Button {
53
- font-size: var(--text-xs);
54
- display: flex;
55
- align-items: center;
56
- justify-content: center;
57
- padding-right: var(--spacing-ms);
58
- padding-left: var(--spacing-ms);
59
- cursor: pointer;
60
- vertical-align: middle;
61
- white-space: nowrap;
62
- text-decoration: none;
63
- text-align: enter;
64
- border: 0;
65
- appearance: none;
66
- user-select: none;
67
- &.xSmall {
68
- width: var(--spacing-ml);
69
- height: var(--spacing-ml);
70
- };
71
- &.small {
72
- height: var(--spacing-l);
73
- font-size: var(--text-xs);
74
- min-width: '1rem';
75
- min-height: '1rem';
76
- border-radius: var(--radius-sm);
77
- };
78
- &.large {
79
- border-radius: var(--radius-sm);
80
- height: var(--spacing-xl);
81
- min-width: '1rem';
82
- min-height: '1rem';
83
- }
84
- };
85
-
86
- .Dropdown {
87
- font-size: var(--text-xs);
88
- display: flex;
89
- align-items: center;
90
- justify-content: center;
91
- padding: var(--spacing-l);
92
- cursor: pointer;
93
- vertical-align: middle;
94
- white-space: nowrap;
95
- text-decoration: none;
96
- text-transform: uppercase;
97
- text-align: center;
98
- border: 0;
99
- border-radius: var(--radius-sm);
100
- appearance: none;
101
- user-select: none;
102
- height: var(--spacing-xl);
103
- background: var(--bg-input);
104
- color: var(--color-text);
105
- &:hover, &:focus, &:active {
106
- outline: none;
107
- background-color: var(--bg-highlighted);
108
- }
109
- &:disabled {
110
- cursor: not-allowed;
111
- background-color: var(--bg-muted);
112
- };
113
- &[data-selected] {
114
- background-color: var(--bg-selected);
115
- };
116
- };
117
-
118
-
119
- .Dropdown-item {
120
- background-color: var(--bg-popover);
121
- padding: var(--spacing-l);
122
- cursor: pointer;
123
- &:hover {
124
- background-color: var(--bg-highlighted);
125
- };
126
- &[data-selected] {
127
- background-color: var(--bg-selected);
128
- }
129
- }
130
-
131
- .TextInput {
132
- &::-moz-selection {
133
- background: 'transparent',
134
- }
135
- &::selection {
136
- background: 'transparent',
137
- }
138
- }
139
-
140
- .RotarySlider {
141
- position: relative;
142
- height: 50px;
143
- width: 50px;
144
- border-radius: 50%;
145
- aspect-ratio: 1 / 1;
146
- background-color: var(--bg-input);
147
- };
148
-
149
- .RotarySlider-Inner {
150
- background-color: var(--bg-input);
151
- height: '100%';
152
- width: '100%';
153
- right: 0;
154
- top: 0;
155
- bottom: 0;
156
- left: 0;
157
- border-radius: '50%';
158
- };
159
-
160
-
161
- .RotarySlider-Indicator {
162
- background-color: var(--bg-popover);
163
- position: absolute;
164
- top: 0;
165
- right: 0;
166
- left: 50%;
167
- width: var(--spacing-xs);
168
- height: 50%;
169
- transform: translate(-50%, 0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1),
170
- };
171
-
172
- .RotarySlider-center-marker {
173
- border-color: var(--bg-popover) transparent var(--bg-popover) transparent;
174
- width: 0;
175
- height: 0;
176
- border-style: solid;
177
- border-width: 0 7px 10px 7px;
178
- transform: rotate(180deg);
179
- padding-bottom: var(--spacing-sm);
180
- };
181
- .Oscilloscope {
182
- background: #0EAC8B;
183
- box-shadow: inset 0 0 20px #086350;
184
- height: 200px;
185
- };
186
- .ModuleHeader {
187
- background-color: var(--bg-section);
188
- font-weight: normal;
189
- };
190
-
191
- .ModuleHeader-Name {
192
- font-size: var(--text-lg);
193
- letter-spacing: 4px;
194
- text-transform: uppercase;
195
- font-weight: lighter;
196
- height: 1.75rem;
197
- color: var(--color-brand);
198
- };
199
-
200
- .ModuleHeader-Subheading {
201
- font-Size: var(--text-xs);
202
- font-weight: lighter;
203
- letter-spacing: 2.25px;
204
- text-transform: uppercase;
205
- color: var(--color-brand);
206
- };
@@ -1,20 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,52 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,29 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,26 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,8 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,30 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,29 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,19 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=useRandom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRandom.d.ts","sourceRoot":"","sources":["../../src/hooks/useRandom.ts"],"names":[],"mappings":""}
@@ -1,21 +0,0 @@
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
@@ -1 +0,0 @@
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"}