@moises.ai/design-system 4.17.11 → 4.17.13

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": "4.17.11",
3
+ "version": "4.17.13",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",
@@ -103,14 +103,14 @@ const ProjectItem = ({
103
103
  {allTracks.length === 0 && !loading && (
104
104
  <Flex direction="row" gap="3" p="5" pt="2" align="center" justify="center">
105
105
  <NoMusicIcon width={16} height={16} style={{ color: 'var(--neutral-alpha-10)' }} />
106
- <Text size="2" style={{ color: 'var(--neutral-alpha-10)' }}>This file has no tracks</Text>
106
+ <Text size="2" style={{ color: 'var(--neutral-alpha-10)' }}>{labels.noTracks || 'This file has no tracks'}</Text>
107
107
  </Flex>
108
108
  )}
109
109
 
110
110
  {loading && (
111
111
  <Flex direction="row" gap="3" p="5" align="center" justify="center">
112
112
  <Spinner width={16} height={16} style={{ color: 'var(--neutral-alpha-10)' }} />
113
- <Text size="2" style={{ color: 'var(--neutral-alpha-10)' }}>Loading tracks...</Text>
113
+ <Text size="2" style={{ color: 'var(--neutral-alpha-10)' }}>{labels.loading || 'Loading tracks...'}</Text>
114
114
  </Flex>
115
115
  )}
116
116
 
@@ -4,23 +4,9 @@ export const MaximizeIcon = ({
4
4
  className,
5
5
  ...props
6
6
  }) => (
7
- <svg
8
- xmlns="http://www.w3.org/2000/svg"
9
- width={width}
10
- height={height}
11
- viewBox="0 0 24 24"
12
- fill="none"
13
- className={className}
14
- {...props}
15
- >
16
- <path
17
- d="M16 2H22M22 2V8M22 2L14 10M8 22H2M2 22V16M2 22L10 14"
18
- stroke="currentColor"
19
- strokeWidth="1.5"
20
- strokeLinecap="round"
21
- strokeLinejoin="round"
22
- />
23
- </svg>
7
+ <svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 13 13" fill="none" className={className} {...props}>
8
+ <path d="M12.5 5.5V0.5H7.5M12.5 0.5L7.83333 5.16667M0.5 7.5V12.5H5.5M0.5 12.5L5.16667 7.83333" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
9
+ </svg>
24
10
  )
25
11
 
26
12
  MaximizeIcon.displayName = 'MaximizeIcon'
@@ -4,23 +4,9 @@ export const MinimizeIcon = ({
4
4
  className,
5
5
  ...props
6
6
  }) => (
7
- <svg
8
- xmlns="http://www.w3.org/2000/svg"
9
- width={width}
10
- height={height}
11
- viewBox="0 0 24 24"
12
- fill="none"
13
- className={className}
14
- {...props}
15
- >
16
- <path
17
- d="M4 14H10M10 14V20M10 14L2 22M20 10H14M14 10V4M14 10L22 2"
18
- stroke="currentColor"
19
- strokeWidth="1.5"
20
- strokeLinecap="round"
21
- strokeLinejoin="round"
22
- />
23
- </svg>
7
+ <svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 16 16" fill="none" className={className} {...props}>
8
+ <path d="M9.33333 2V6.66667H14M9.33333 6.66667L14 2M6.66667 14V9.33333H2M6.66667 9.33333L2 14" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
9
+ </svg>
24
10
  )
25
11
 
26
12
  MinimizeIcon.displayName = 'MinimizeIcon'