@moises.ai/design-system 3.9.1 → 3.9.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
|
@@ -41,7 +41,7 @@ function SetlistExpandButton({ onExpand, className, style, collapsed = false })
|
|
|
41
41
|
)
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
function NewSetlistButton({ onClick, className, collapsed = false }) {
|
|
44
|
+
function NewSetlistButton({ onClick, className, collapsed = false, text = 'New Setlist' }) {
|
|
45
45
|
return (
|
|
46
46
|
<SetlistItem
|
|
47
47
|
isSelected={false}
|
|
@@ -55,7 +55,7 @@ function NewSetlistButton({ onClick, className, collapsed = false }) {
|
|
|
55
55
|
/>
|
|
56
56
|
</div>
|
|
57
57
|
}
|
|
58
|
-
text=
|
|
58
|
+
text={text}
|
|
59
59
|
className={classNames(styles.newSetlistItemButton, styles.collapsedTransition, className)}
|
|
60
60
|
collapsed={collapsed}
|
|
61
61
|
/>
|
|
@@ -238,6 +238,7 @@ export const SetlistList = ({
|
|
|
238
238
|
selectedSetlistId,
|
|
239
239
|
onSetlistClick,
|
|
240
240
|
onNewSetlistClick,
|
|
241
|
+
newSetlistButtonText = 'New Setlist',
|
|
241
242
|
collapsed = false,
|
|
242
243
|
isMobile = false,
|
|
243
244
|
}) => {
|
|
@@ -405,6 +406,7 @@ export const SetlistList = ({
|
|
|
405
406
|
onClick={handleNewSetlistClick}
|
|
406
407
|
className={styles.collapsedTransition}
|
|
407
408
|
collapsed={collapsed}
|
|
409
|
+
text={newSetlistButtonText}
|
|
408
410
|
/>
|
|
409
411
|
))}
|
|
410
412
|
{visibleSetlists.map((setlist, index) => {
|