ostbay-player 1.0.4 → 1.1.0
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/README.md +3 -0
- package/dist/index.css +1 -1
- package/dist/ostbay-player.cjs.js +90 -74
- package/dist/ostbay-player.es.js +1800 -1691
- package/dist/types/components/OstbayIcon/Icons/DarkThemeLogo.d.ts +1 -0
- package/dist/types/components/OstbayIcon/Icons/DarkThemeOstbay.d.ts +1 -0
- package/dist/types/components/OstbayIcon/Icons/LightThemeLogo.d.ts +1 -0
- package/dist/types/components/OstbayIcon/Icons/LightThemeOstbay.d.ts +1 -0
- package/dist/types/components/OstbayIcon/Icons/index.d.ts +5 -3
- package/dist/types/components/OstbayIcon/OstbayIcon.types.d.ts +1 -1
- package/dist/types/components/OstbayPlayer/OstbayPlayer.types.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/components/OstbayIcon/Icons/Logo.d.ts +0 -1
- package/dist/types/components/OstbayIcon/Icons/Ostbay.d.ts +0 -1
package/README.md
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
- Полнофункциональный аудиоплеер с плейлистом
|
|
16
16
|
- Кастомные иконки Ostbay
|
|
17
17
|
- Адаптивный дизайн
|
|
18
|
+
- Две темы: светлая и темная
|
|
18
19
|
|
|
19
20
|
## Установка
|
|
20
21
|
|
|
@@ -93,6 +94,7 @@ const App = () => {
|
|
|
93
94
|
width: '100%',
|
|
94
95
|
maxWidth: '600px'
|
|
95
96
|
}}
|
|
97
|
+
theme="light"
|
|
96
98
|
/>
|
|
97
99
|
);
|
|
98
100
|
};
|
|
@@ -109,6 +111,7 @@ const App = () => {
|
|
|
109
111
|
| `className` | `string` | ❌ | CSS класс для контейнера |
|
|
110
112
|
| `ref` | `RefObject<HTMLDivElement>` | ❌ | Ссылка на HTML div элемент для контейнера |
|
|
111
113
|
| `style` | `CSSProperties` | ❌ | Инлайн стили для контейнера |
|
|
114
|
+
| `theme` | `'dark' \| 'light'` | ❌ | Тема плеера. По умолчанию `'dark'` |
|
|
112
115
|
|
|
113
116
|
### IPlayListItem
|
|
114
117
|
|