From 50bfeabc9c094fc78b18e5dfecc59e0e3629c815 Mon Sep 17 00:00:00 2001 From: ovp-github-actions Date: Thu, 2 May 2024 13:55:39 +0000 Subject: [PATCH 1/2] chore(release): 0.79.0 --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 265f9a151..6cbf21f71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## 0.79.0 (2024-05-02) + + +### Features + +* **FEC-13728:** Add 'MiniAudioPreset handling ([#877](https://github.com/kaltura/playkit-js-ui/issues/877)) ([da9bbc3](https://github.com/kaltura/playkit-js-ui/commit/da9bbc3)) + + + ### 0.78.4 (2024-04-09) diff --git a/package.json b/package.json index aa7f5b524..add548587 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@playkit-js/playkit-js-ui", - "version": "0.78.4", + "version": "0.79.0", "description": "", "keywords": [ "kaltura", From a00d75167513ee43bba37ea40157b0ea10880b33 Mon Sep 17 00:00:00 2001 From: JonathanTGold <62672270+JonathanTGold@users.noreply.github.com> Date: Mon, 6 May 2024 18:16:56 +0300 Subject: [PATCH 2/2] fix(FEC-13897): Close captions order alphabetically works only for labels that starts with capital letter. (#882) ### Description of the Changes Close captions order alphabetically works only for labels that starts with capital letter. #### Resolves FEC-13897 Co-authored-by: JonathanTGold --- src/components/captions-menu/captions-menu.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/captions-menu/captions-menu.tsx b/src/components/captions-menu/captions-menu.tsx index d1cb65abe..bba9d9a83 100644 --- a/src/components/captions-menu/captions-menu.tsx +++ b/src/components/captions-menu/captions-menu.tsx @@ -118,7 +118,11 @@ class CaptionsMenu extends Component { active: t.active, value: t })) - .sort((a, b) => a.label > b.label || a.label === 'Off' ? 1 : -1); + .map(t => ({ + ...t, + label: t.label.charAt(0).toUpperCase() + t.label.slice(1) + })) + .sort((a, b) => (a.label > b.label || a.label === 'Off' ? 1 : -1)); if (props.showAdvancedCaptionsMenu) { textOptions.push({label: props.advancedCaptionsSettingsText, value: props.advancedCaptionsSettingsText, active: false});