@moises.ai/design-system 3.9.7 → 3.9.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moises.ai/design-system",
3
- "version": "3.9.7",
3
+ "version": "3.9.9",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",
@@ -70,23 +70,24 @@
70
70
  margin: 0;
71
71
  }
72
72
 
73
- .action {
73
+ .floatingBanner .action {
74
74
  width: fit-content;
75
75
  padding: 3px 8px !important;
76
76
  color: #1C2024 !important;
77
- border-color: #1C2024 !important;
77
+ border: 1px solid #1C2024 !important;
78
78
  }
79
79
 
80
- .action:hover {
80
+ .floatingBanner .action:hover {
81
81
  background-color: rgba(0, 0, 0, 0.1) !important;
82
82
  }
83
83
 
84
- .close {
84
+ .floatingBanner .close.close {
85
85
  margin-left: 8px;
86
86
  color: #1C2024 !important;
87
87
  opacity: 1 !important;
88
88
  }
89
89
 
90
- .close:hover {
91
- background-color: rgba(0, 0, 0, 0.1) !important;
90
+ .floatingBanner .close.close:hover {
91
+ background-color: transparent !important;
92
+ color: #000000 !important;
92
93
  }
@@ -26,7 +26,9 @@ export const Default = {
26
26
  type: 'white',
27
27
  title: 'Information',
28
28
  description: 'This is a default notification message.',
29
+ buttonText: 'Got it',
29
30
  closable: true,
31
+ onConfirm: () => alert('Got it'),
30
32
  },
31
33
  }
32
34
 
@@ -72,14 +72,12 @@ const ProjectTrackVoice = ({
72
72
  </Text>
73
73
  </Flex>
74
74
 
75
- {hasTransfers && transfers.length > 1 && (
76
- <NumberPicker
77
- min={min}
78
- max={max}
79
- value={pitchShiftSelected}
80
- onChange={handleChangeTransfer}
81
- />
82
- )}
75
+ <NumberPicker
76
+ min={min}
77
+ max={max}
78
+ value={pitchShiftSelected}
79
+ onChange={handleChangeTransfer}
80
+ />
83
81
  </Flex>
84
82
  </Flex>
85
83
  )