@antimatter-audio/antimatter-ui 10.0.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/ModuleHeader/ModuleHeader.d.ts.map +1 -1
  2. package/dist/advanced/PresetManager/PresetManager.d.ts +5 -0
  3. package/dist/advanced/PresetManager/PresetManager.d.ts.map +1 -0
  4. package/dist/index.js +748 -196
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/advanced/IconButton/IconButton.d.ts +31 -7
  7. package/dist/src/advanced/IconButton/IconButton.d.ts.map +1 -1
  8. package/dist/src/advanced/ModuleHeader/ModuleHeader.d.ts.map +1 -1
  9. package/dist/src/advanced/PresetManager/PresetManager.d.ts +5 -0
  10. package/dist/src/advanced/PresetManager/PresetManager.d.ts.map +1 -0
  11. package/dist/src/core/Box/Box.d.ts +2 -1
  12. package/dist/src/core/Box/Box.d.ts.map +1 -1
  13. package/dist/src/core/Box/types.d.ts +3 -1
  14. package/dist/src/core/Box/types.d.ts.map +1 -1
  15. package/dist/src/core/Button/Button.d.ts +3 -1
  16. package/dist/src/core/Button/Button.d.ts.map +1 -1
  17. package/dist/src/hooks/useCombobox.d.ts.map +1 -1
  18. package/dist/src/hooks/useSlider.d.ts.map +1 -1
  19. package/package.json +1 -1
  20. package/dist/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts +0 -12
  21. package/dist/advanced/KeyValueDisplayScreen/KeyValueDisplayScreen.d.ts.map +0 -1
  22. package/dist/advanced/Oscilloscope/Oscilloscope.d.ts +0 -12
  23. package/dist/advanced/Oscilloscope/Oscilloscope.d.ts.map +0 -1
  24. package/dist/assets/bundle-WiH_IP0c.css +0 -192
  25. package/dist/assets/bundle-pfepV2k0.css +0 -206
  26. package/dist/context/GlobalContextProvider.d.ts +0 -20
  27. package/dist/context/GlobalContextProvider.d.ts.map +0 -1
  28. package/dist/core/Button/Button.d.ts +0 -24
  29. package/dist/core/Button/Button.d.ts.map +0 -1
  30. package/dist/core/Indicators/hooks/useIndicator.d.ts +0 -8
  31. package/dist/core/Indicators/hooks/useIndicator.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,24 +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
- className?: string;
14
- style?: object;
15
- children?: React.ReactNode;
16
- }
17
- declare function Button({ disabled, text, id, className, style, onClick, children, padding, type, size, }: React.PropsWithChildren<TextButtonProps>): React.JSX.Element;
18
- declare namespace Button {
19
- var padding: typeof Spacing;
20
- var type: typeof ButtonType;
21
- var size: typeof ButtonSize;
22
- }
23
- export default Button;
24
- //# 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;IAEpB,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,IAAuB,EACvB,IAAuB,GACxB,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,qBAgF1C;kBA3FQ,MAAM;;;;;AAiGf,eAAe,MAAM,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,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"}
package/dist/index.css DELETED
@@ -1,262 +0,0 @@
1
- @import 'tailwindcss';
2
- @import 'tailwindcss/preflight';
3
- @import 'tailwindcss/utilities';
4
-
5
- @theme static {
6
- --color-brand: #bb68d9;
7
- --color-alert: #8a0101;
8
- --color-text: #bab6cf;
9
- --color-gray-100: #c7c3de;
10
- --color-gray-200: #9a96ab;
11
- --color-gray-300: #838091;
12
- --color-gray-400: #595763;
13
- --color-gray-500: #4c4a54;
14
- --color-gray-600: #2e2c33;
15
- --color-gray-700: #1e1d21;
16
- --color-gray-800: #101012;
17
-
18
- --color-VFDBlue-100: #0d3814;
19
- --color-VFDBlue-200: #234e4a;
20
- --color-VFDBlue-300: #128073;
21
- --color-VFDBlue-400: #138c6e;
22
- --color-VFDBlue-500: #1abe95;
23
- --color-VFDBlue-600: #23d8a4;
24
- --color-VFDBlue-700: #4aeea4;
25
- --color-VFDBlue-1000: #35edb4;
26
- --m-none: 0px;
27
- --m-xs: 2px;
28
- --m-sm: 4px;
29
- --m-ms: 6px;
30
- --m-md: 8px;
31
- --m-ml: 12px;
32
- --m-lg: 16px;
33
- --m-xl: 20px;
34
- --p-none: 0px;
35
- --p-xs: 2px;
36
- --p-sm: 4px;
37
- --p-ms: 6px;
38
- --p-md: 8px;
39
- --p-ml: 12px;
40
- --p-lg: 16px;
41
- --p-xl: 20px;
42
- --bg-page: #1e1d21;
43
- --bg-section: #1e1d21;
44
- --bg-popover: #101012;
45
- --bg-highlighted: #838091;
46
- --bg-muted: #595763;
47
- --bg-selected: #999999;
48
- --bg-input: #1e1d21;
49
- --font-leagueSpartan: 'LeagueSpartan';
50
- }
51
-
52
- @font-face {
53
- font-family: LeagueSpartan;
54
- src: url('./common/assets/fonts/LeagueSpartan-Regular.ttf');
55
- }
56
-
57
- @font-face {
58
- font-family: LeagueSpartan;
59
- src: url('./common/assets/fonts/LeagueSpartan-Thin.ttf');
60
- font-weight: lighter;
61
- }
62
-
63
- .FOOOOO {
64
- background: red;
65
- }
66
-
67
- .Tabs {
68
- display: flex;
69
- font-size: 1rem;
70
- align-items: center;
71
- justify-content: center;
72
- vertical-align: middle;
73
- white-space: nowrap;
74
- text-decoration: none;
75
- text-transform: uppercase;
76
- text-align: center;
77
- border: 0;
78
- appearance: none;
79
- user-select: none;
80
- };
81
-
82
- .Tabs-Item {
83
- font-size: 1rem;
84
- display: flex;
85
- align-items: center;
86
- justify-content: center;
87
- margin-right: 1px;
88
- cursor: pointer;
89
- vertical-align: middle;
90
- white-space: nowrap;
91
- text-decoration: none;
92
- text-transform: uppercase;
93
- text-align: center;
94
- border: 0;
95
- appearance: none;
96
- user-select: none;
97
- &:hover, &:focus-visible {
98
- outline: none;
99
- }
100
- &:disabled {
101
- cursor: not-allowed;
102
- }
103
- }
104
- .Button {
105
- font-size: var(--text-xs);
106
- display: flex;
107
- align-items: center;
108
- justify-content: center;
109
- padding-right: var(--spacing-ms);
110
- padding-left: var(--spacing-ms);
111
- cursor: pointer;
112
- vertical-align: middle;
113
- white-space: nowrap;
114
- text-decoration: none;
115
- text-align: enter;
116
- border: 0;
117
- appearance: none;
118
- user-select: none;
119
- &.xSmall {
120
- width: var(--spacing-ml);
121
- height: var(--spacing-ml);
122
- };
123
- &.small {
124
- height: var(--spacing-l);
125
- font-size: var(--text-xs);
126
- min-width: '1rem';
127
- min-height: '1rem';
128
- border-radius: var(--radius-sm);
129
- };
130
- &.large {
131
- border-radius: var(--radius-sm);
132
- height: var(--spacing-xl);
133
- min-width: '1rem';
134
- min-height: '1rem';
135
- }
136
- };
137
-
138
- .Dropdown {
139
- font-size: var(--text-xs);
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- padding: var(--spacing-l);
144
- cursor: pointer;
145
- vertical-align: middle;
146
- white-space: nowrap;
147
- text-decoration: none;
148
- text-transform: uppercase;
149
- text-align: center;
150
- border: 0;
151
- border-radius: var(--radius-sm);
152
- appearance: none;
153
- user-select: none;
154
- height: var(--spacing-xl);
155
- background: var(--bg-input);
156
- color: var(--color-text);
157
- &:hover, &:focus, &:active {
158
- outline: none;
159
- background-color: var(--bg-highlighted);
160
- }
161
- &:disabled {
162
- cursor: not-allowed;
163
- background-color: var(--bg-muted);
164
- };
165
- &[data-selected] {
166
- background-color: var(--bg-selected);
167
- };
168
- };
169
-
170
-
171
- .Dropdown-item {
172
- background-color: var(--bg-popover);
173
- padding: var(--spacing-l);
174
- cursor: pointer;
175
- &:hover {
176
- background-color: var(--bg-highlighted);
177
- };
178
- &[data-selected] {
179
- background-color: var(--bg-selected);
180
- }
181
- }
182
-
183
- .TextInput {
184
- &::-moz-selection {
185
- background: 'transparent',
186
- }
187
- &::selection {
188
- background: 'transparent',
189
- }
190
- }
191
-
192
- .RotarySlider {
193
- position: relative;
194
- height: 50px;
195
- width: 50px;
196
- border-radius: 50%;
197
- aspect-ratio: 1 / 1;
198
- background-color: var(--bg-input);
199
- };
200
-
201
- .RotarySlider-Inner {
202
- background-color: var(--bg-input);
203
- height: '100%';
204
- width: '100%';
205
- right: 0;
206
- top: 0;
207
- bottom: 0;
208
- left: 0;
209
- border-radius: '50%';
210
- };
211
-
212
-
213
- .RotarySlider-Indicator {
214
- background-color: var(--bg-popover);
215
- position: absolute;
216
- top: 0;
217
- right: 0;
218
- left: 50%;
219
- width: var(--spacing-xs);
220
- height: 50%;
221
- transform: translate(-50%, 0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1),
222
- };
223
-
224
- .RotarySlider-center-marker {
225
- border-color: var(--bg-popover) transparent var(--bg-popover) transparent;
226
- width: 0;
227
- height: 0;
228
- border-style: solid;
229
- border-width: 0 7px 10px 7px;
230
- transform: rotate(180deg);
231
- padding-bottom: var(--spacing-sm);
232
- };
233
- .Oscilloscope {
234
- background: #0EAC8B;
235
- box-shadow: inset 0 0 20px #086350;
236
- height: 200px;
237
- };
238
- .ModuleHeader {
239
- background-color: var(--bg-section);
240
- font-weight: normal;
241
- }
242
-
243
- .FOOOOO {
244
- background: red;
245
- }
246
-
247
- .ModuleHeader-Name {
248
- font-size: var(--text-lg);
249
- letter-spacing: 4px;
250
- text-transform: uppercase;
251
- font-weight: lighter;
252
- height: 1.75rem;
253
- color: var(--color-brand);
254
- }
255
-
256
- .ModuleHeader-Subheading {
257
- font-size: var(--text-xs);
258
- font-weight: lighter;
259
- letter-spacing: 2.25px;
260
- text-transform: uppercase;
261
- color: var(--color-brand);
262
- }
@@ -1,3 +0,0 @@
1
- declare const useRandomise: (min: number, max: number) => number;
2
- export default useRandomise;
3
- //# sourceMappingURL=useRandomise.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRandomise.d.ts","sourceRoot":"","sources":["../../../src/hooks/useRandomise.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,KAAK,MAAM,WAE7C,CAAC;AAEF,eAAe,YAAY,CAAC"}