@moises.ai/design-system 4.16.10 → 4.17.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.
- package/dist/{ChordDiagramGridIcon-CxpGQmg4.js → DynamicMicrophone2Icon-BBVZw0ZO.js} +794 -782
- package/dist/icons.js +484 -483
- package/dist/index.js +5454 -5762
- package/package.json +1 -1
- package/src/components/DropdownButton/DropdownButton.jsx +7 -0
- package/src/components/DropdownButton/DropdownButton.stories.jsx +4 -1
- package/src/components/InstrumentSelector/InstrumentSelector.stories.jsx +9 -1
- package/src/components/MessageWithAction/MessageWithAction.jsx +7 -0
- package/src/components/MessageWithAction/MessageWithAction.stories.jsx +4 -1
- package/src/components/Tooltip/Tooltip.jsx +35 -9
- package/src/components/Tooltip/Tooltip.module.css +48 -0
- package/src/components/Tooltip/Tooltip.stories.jsx +42 -0
- package/src/components/TrackControlsToggle/TrackControlsToggle.stories.jsx +7 -3
- package/src/icons/DynamicMicrophone2Icon.jsx +13 -0
- package/src/icons.jsx +1 -0
- package/src/index.jsx +2 -2
- package/src/lib/menu/renderItem.jsx +1 -3
- package/src/components/PlayerBar/PlayerBar.jsx +0 -250
- package/src/components/PlayerBar/PlayerBar.module.css +0 -135
- package/src/components/PlayerBar/PlayerBar.stories.jsx +0 -519
- package/src/components/PlayerMasterVolume/PlayerMasterVolume.jsx +0 -54
- package/src/components/PlayerMasterVolume/PlayerMasterVolume.module.css +0 -31
- package/src/components/PlayerMasterVolume/PlayerMasterVolume.stories.jsx +0 -182
- package/src/components/PlayerSlider/PlayerSlider.jsx +0 -80
- package/src/components/PlayerSlider/PlayerSlider.module.css +0 -180
- package/src/components/PlayerSlider/PlayerSlider.stories.jsx +0 -97
- package/src/components/PlayerSlider/PlayerSliderWaveform.jsx +0 -70
- package/src/components/PlayerSmartMetronome/PlayerSmartMetronome.jsx +0 -79
- package/src/components/PlayerSmartMetronome/PlayerSmartMetronome.module.css +0 -23
- package/src/components/PlayerSmartMetronome/PlayerSmartMetronome.stories.jsx +0 -225
- package/src/components/PlayerSmartMetronome/SegmentedField.jsx +0 -19
- package/src/components/PlayerTempoPitch/PlayerTempoPitch.jsx +0 -123
- package/src/components/PlayerTempoPitch/PlayerTempoPitch.module.css +0 -25
- package/src/components/PlayerTempoPitch/PlayerTempoPitch.stories.jsx +0 -215
- package/src/components/PlayerTempoPitch/StepperField.jsx +0 -57
- package/src/components/PlayerTempoPitch/constants.js +0 -40
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// TODO: remove this file when we have the right constants
|
|
2
|
-
export const MIN_VALUE_BPM = 30
|
|
3
|
-
export const MAX_VALUE_BPM = 200
|
|
4
|
-
|
|
5
|
-
export const TEMPO_RANGES = [
|
|
6
|
-
{ maxBpm: 19, marking: 'Larghissimo' },
|
|
7
|
-
{ maxBpm: 40, marking: 'Grave' },
|
|
8
|
-
{ maxBpm: 45, marking: 'Lento' },
|
|
9
|
-
{ maxBpm: 50, marking: 'Largo' },
|
|
10
|
-
{ maxBpm: 55, marking: 'Larghetto' },
|
|
11
|
-
{ maxBpm: 65, marking: 'Adagio' },
|
|
12
|
-
{ maxBpm: 69, marking: 'Adagietto' },
|
|
13
|
-
{ maxBpm: 72, marking: 'Andante Moderato' },
|
|
14
|
-
{ maxBpm: 77, marking: 'Andante' },
|
|
15
|
-
{ maxBpm: 83, marking: 'Andantino' },
|
|
16
|
-
{ maxBpm: 85, marking: 'Marcia Moderato' },
|
|
17
|
-
{ maxBpm: 97, marking: 'Moderato' },
|
|
18
|
-
{ maxBpm: 109, marking: 'Allegretto' },
|
|
19
|
-
{ maxBpm: 132, marking: 'Allegro' },
|
|
20
|
-
{ maxBpm: 140, marking: 'Vivace' },
|
|
21
|
-
{ maxBpm: 150, marking: 'Vivacissimo' },
|
|
22
|
-
{ maxBpm: 167, marking: 'Allegrissimo' },
|
|
23
|
-
{ maxBpm: 177, marking: 'Presto' },
|
|
24
|
-
{ maxBpm: Number.POSITIVE_INFINITY, marking: 'Prestissimo' },
|
|
25
|
-
]
|
|
26
|
-
|
|
27
|
-
export const PITCH_ITEMS = [
|
|
28
|
-
{ value: 'C', label: 'C' },
|
|
29
|
-
{ value: 'C#', label: 'C#' },
|
|
30
|
-
{ value: 'D', label: 'D' },
|
|
31
|
-
{ value: 'D#', label: 'D#' },
|
|
32
|
-
{ value: 'E', label: 'E' },
|
|
33
|
-
]
|
|
34
|
-
|
|
35
|
-
export const TUNING_ITEMS = [
|
|
36
|
-
{ value: 440, label: '440 Hz', aiDetected: true, extra: '(AI detected)' },
|
|
37
|
-
{ value: 442, label: '442 Hz' },
|
|
38
|
-
{ value: 444, label: '444 Hz' },
|
|
39
|
-
{ value: 446, label: '446 Hz' },
|
|
40
|
-
]
|