Skip to content

Commit

Permalink
Merge branch 'develop' into feature/modern-ui-base
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/scss/skin-modern/components/_seekbarlabel.scss
#	src/scss/skin-modern/components/_subtitleoverlay-cea608.scss
  • Loading branch information
stonko1994 committed Jan 10, 2025
2 parents 0357593 + 7be75f3 commit 712bd96
Show file tree
Hide file tree
Showing 28 changed files with 4,404 additions and 1,005 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.15.1
v22.12
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,45 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [3.80.0] - 2025-01-08

### Fixed
- Unexpected styling for the initially displayed cue when enabling CEA-608 captions
- Vertical alignment of CEA-608 captions on small player sizes

## [3.79.0] - 2025-01-08

### Fixed
- CEA-608 caption window covering almost the entire video area

### Changed
- Create separate region components for each CEA-608 row

## [3.78.0] - 2025-01-08

### Changed
- Chore: Switch from `tslint` to `eslint` for linting

## [3.77.0] - 2025-01-03

### Changed
- Chore: Update to Node v22

## [3.76.0] - 2024-12-20

### Fixed
- Seek preview thumbnails exceeding the UI dimensions when default size is increased

## [3.75.0] - 2024-11-19

### Fixed
- Potential performance impact caused by forced layout reflows

## [3.74.0] - 2024-10-24

### Changed
- Dpad keymap for Android devices

## [3.73.0] - 2024-09-06

### Added
Expand Down Expand Up @@ -1008,6 +1047,13 @@ Version 2.0 of the UI framework is built for player 7.1. If absolutely necessary
## 1.0.0 (2017-02-03)
- First release

[3.80.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.79.0...v3.80.0
[3.79.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.78.0...v3.79.0
[3.78.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.77.0...v3.78.0
[3.77.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.76.0...v3.77.0
[3.76.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.75.0...v3.76.0
[3.75.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.74.0...v3.75.0
[3.74.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.73.0...v3.74.0
[3.73.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.72.0...v3.73.0
[3.72.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.71.0...v3.72.0
[3.71.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.70.0...v3.71.0
Expand Down
49 changes: 49 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// @ts-check

import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

const __dirname = dirname(fileURLToPath(import.meta.url));

export default tseslint.config({
files: [
'src/**/*.ts',
'spec/**/*.ts',
],
extends: [
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: __dirname,
},
},
},
],
rules: {
'no-prototype-builtins': 'off',
'prefer-const': 'off', // TODO: enable rule and run autofix
'prefer-rest-params': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-wrapper-object-types': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unused-expressions': ['error', {
allowTernary: true,
}]
},
});
17 changes: 4 additions & 13 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var cssBase64 = require('gulp-css-base64');
var postcss = require('gulp-postcss');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var tslint = require('gulp-tslint');
var gulpESLintNew = require('gulp-eslint-new');
var sassLint = require('gulp-sass-lint');
var ts = require('gulp-typescript');
var replace = require('gulp-replace');
Expand All @@ -29,7 +29,6 @@ var buffer = require('vinyl-buffer');
var del = require('del');
var browserSync = require('browser-sync');
var merge = require('merge2');
var nativeTslint = require('tslint');
var npmPackage = require('./package.json');
var path = require('path');
var combine = require('stream-combiner2');
Expand Down Expand Up @@ -93,18 +92,10 @@ gulp.task('copy-json', function() {

// TypeScript linting
gulp.task('lint-ts', function() {
// The program is required for type checking rules to work: https://palantir.github.io/tslint/usage/type-checking/
var program = nativeTslint.Linter.createProgram("./tsconfig.json");

return gulp.src(paths.source.ts)
.pipe(tslint({
formatter: 'verbose',
program: program,
}))
.pipe(tslint.report({
// Print just the number of errors (instead of printing all errors again)
summarizeFailureOutput: true
}))
.pipe(gulpESLintNew())
.pipe(gulpESLintNew.format()) // Output lint results to the console.
.pipe(gulpESLintNew.failAfterError());
});

// Sass/SCSS linting
Expand Down
Loading

0 comments on commit 712bd96

Please sign in to comment.