@soul-refiner/design-system 1.1.2 → 1.1.4
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.
|
@@ -9,6 +9,7 @@ type ButtonShape = 'none' | 'small' | 'medium-small' | 'large';
|
|
|
9
9
|
export interface ButtonProps extends NativeProps, React.PropsWithChildren {
|
|
10
10
|
as?: React.ElementType;
|
|
11
11
|
disabled?: boolean;
|
|
12
|
+
download?: boolean;
|
|
12
13
|
fluid?: boolean;
|
|
13
14
|
href?: string;
|
|
14
15
|
icon?: React.ReactElement | undefined;
|
|
@@ -62,7 +62,7 @@ export const VideoPlayer = ({ activeIndex, pip, playable, playlist, onPipChange,
|
|
|
62
62
|
React.createElement(P, { as: "h3", "$bold": true, "$color": "grey-8" }, subtitle)),
|
|
63
63
|
React.createElement(Box, { "$align": "center", "$justify": "space-between", sx: "padding: 8px 0px 8px 14px;" },
|
|
64
64
|
React.createElement(P, { "$color": "grey-8", "$fontSize": 14, "$lineHeight": 20, "$semiBold": true }, "All lessons")),
|
|
65
|
-
React.createElement(HorizontalPlaylistWrapper, null, playlist.map((playlistItem, index) => (React.createElement(PlaylistItem, { key: playlistItem.id, duration: playlistItem.duration, onClick: () => setMediaItem(index), progress: playlistItem.progress, shortDescription: playlistItem.shortDescription, thumbnail: playlistItem.thumbnail, title: playlistItem.title })))))),
|
|
65
|
+
React.createElement(HorizontalPlaylistWrapper, null, playlist.map((playlistItem, index) => (React.createElement(PlaylistItem, { key: playlistItem.id, duration: playlistItem.duration, onClick: () => setMediaItem(index), playable: playable, progress: playlistItem.progress, shortDescription: playlistItem.shortDescription, thumbnail: playlistItem.thumbnail, title: playlistItem.title })))))),
|
|
66
66
|
orientation === 'vertical' && (React.createElement(Box, { "$dir": "column", "$gap": 24 },
|
|
67
67
|
React.createElement(Box, { "$align": "center", "$justify": "space-between", sx: "padding: 8px 0px; margin: 0px 24px; border-bottom: 1px solid var(--color-grey-3);" },
|
|
68
68
|
React.createElement(P, { "$color": "grey-8", "$fontSize": 14, "$lineHeight": 20, "$semiBold": true }, "All lessons"),
|