@moises.ai/design-system 3.5.0 → 3.5.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.
package/dist/index.js CHANGED
@@ -10092,7 +10092,7 @@ const tb = "_projectTitle_u8uyq_1", nb = "_projectArtist_u8uyq_5", sb = "_projec
10092
10092
  gap: "3",
10093
10093
  className: Ue.itemTrack,
10094
10094
  onClick: (p) => {
10095
- p.stopPropagation(), e == null || e([A]);
10095
+ p.stopPropagation(), e == null || e(A);
10096
10096
  },
10097
10097
  children: [
10098
10098
  /* @__PURE__ */ g("div", { className: Ue.icon, children: [
@@ -10112,7 +10112,7 @@ const tb = "_projectTitle_u8uyq_1", nb = "_projectArtist_u8uyq_5", sb = "_projec
10112
10112
  color: "gray",
10113
10113
  style: { flex: "1" },
10114
10114
  onClick: (A) => {
10115
- A.stopPropagation(), t == null || t([track]);
10115
+ A.stopPropagation(), t == null || t(u.tracks);
10116
10116
  },
10117
10117
  children: [
10118
10118
  /* @__PURE__ */ a(yr, { width: 16, height: 16 }),
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.1",
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