@moises.ai/design-system 3.5.0 → 3.5.2

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.5.0",
3
+ "version": "3.5.2",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",
@@ -81,7 +81,7 @@ export const ProjectsList = ({
81
81
  className={styles.itemTrack}
82
82
  onClick={(e) => {
83
83
  e.stopPropagation()
84
- onClickTrack?.([track])
84
+ onClickTrack?.(track)
85
85
  }}
86
86
  >
87
87
  <div className={styles.icon}>
@@ -103,7 +103,7 @@ export const ProjectsList = ({
103
103
  <Button variant="ghost" color="gray" style={{ flex: '1' }}
104
104
  onClick={(e) => {
105
105
  e.stopPropagation()
106
- onInsertAllTracks?.([track])
106
+ onInsertAllTracks?.(project.tracks)
107
107
  }}
108
108
  >
109
109
  <ArrowLeftIcon width={16} height={16} /> Insert all
@@ -9,6 +9,7 @@
9
9
  .projectCover {
10
10
  width: 48px;
11
11
  height: 48px;
12
+ flex: 0 0 48px;
12
13
  border-radius: var(--radius-3);
13
14
  overflow: hidden;
14
15
  }
@@ -141,7 +141,7 @@ export const projects = [
141
141
  "id": "2244f646-dd1c-4986-b885-1e1929593b46",
142
142
  "title": "Empty Project",
143
143
  "artist": null,
144
- "cover": "https://d1-stage.moises.ai/v3/download/moises-stage--tasks2/operations/FILEMETADATA_A/306fc1a9-f157-4bce-a66d-fa2f48208f3d/cover.jpeg",
144
+ "cover": null,
145
145
  "duration": 1062.0343,
146
146
  "tracks": []
147
147
  },