diff --git a/.stylelintrc.json b/.stylelintrc.json index fc13954d..ff4f14af 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,6 +1,7 @@ { - "plugins": ["stylelint-selector-bem-pattern", "stylelint-scss"], - "extends": ["stylelint-config-recommended", "stylelint-config-sass-guidelines", "stylelint-config-prettier"], + "plugins": ["stylelint-selector-bem-pattern"], + "extends": ["stylelint-config-sass-guidelines", "stylelint-config-prettier"], + "customSyntax": "postcss-scss", "rules": { "selector-class-pattern": null, "selector-no-qualifying-type": [ @@ -9,10 +10,7 @@ "ignore": ["attribute", "class"] } ], - "string-no-newline": null, - "indentation": 2, - "string-quotes": "single", - "max-nesting-depth": 2, + "max-nesting-depth": 4, "plugin/selector-bem-pattern": { "preset": "bem", "componentName": "(([a-z0-9]+(?!-$)-?)+)", diff --git a/CHANGELOG.md b/CHANGELOG.md index 5635915e..23eceb47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ +### v3.6.12 + +- Fix: remove division logic from ads.scss (fixes #2370) + +### v3.6.11 + +- Fix: Replace `list.slash` added in 3.6.10 with `calc` +- Chore: Package upgrades +- Chore: Sass clean up +- Chore: Improvements to style linting + +### v3.6.10 + +- Fix: Use `list.slash` instead of deprecated syntax +- Chore: Clean up demo + ### v3.6.9 -- Fix: SASS issue with division (thanks @ROL4ND909 and @le0pard) +- Fix: Sass issue with division (thanks @ROL4ND909 and @le0pard) - Fix: Captions when switching sources (thanks @zexingguo) - Fix: Icons loading within iframes (thanks @ajgagnon) - Chore: Update TypeScript types (thanks @Jackie1210 and @AntLevin) @@ -61,7 +77,7 @@ - Fix "A `ReferenceError: _classCallCheck is not defined` error has occurred." error (thanks @hex-ci) - Fix issue with CSS custom property check (thanks @syedhusain-appspace) - Fix for slow loading videos not autoplaying (thanks @DanielHuntleySBG) -- Fix for betwork requests are not cancelled after the player is destroyed (thanks @DanielHuntleySBG) +- Fix for network requests are not cancelled after the player is destroyed (thanks @DanielHuntleySBG) - Added option to disable custom controls for YouTube and Vimeo ### v3.6.2 @@ -106,7 +122,7 @@ ### v3.5.8 - Added `flex-direction` property to fix some issues introduced in v3.5.7 when using custom CSS -- Cleaned up the organisation of some of the SCSS files (should not effect CSS output) +- Cleaned up the organization of some of the SCSS files (should not effect CSS output) - Added `referrerPolicy` option for Vimeo to prevent an issue present in the demo site - Remove all Vimeo controls for Pro & Premium accounts - Improve thumbnail size calculations when size is set per css (thanks @ydylla) @@ -121,7 +137,7 @@ - Accessibility tweak for the play button (thanks @lunika) - Fix for ads configuration (thanks @SoftCreatR) - Fix handling listener return value (thanks @taion) -- Added localisation key for PIP (picture-in-picture) (thanks @lmislm) +- Added localization key for PIP (picture-in-picture) (thanks @lmislm) - Preserve viewBox attribute in SVG sprite symbols (thanks @bseib) - Fix being unable to unmute autoplayed video on iOS (thanks @sumanbh) - Fixed Plyr container not resizing responsively (thanks @shravan2x) @@ -155,7 +171,7 @@ _Note:_ This update contains CSS changes. ### v3.5.4 - Added: Set download URL via new setter -- Improvement: The order of the `controls` option now effects the order in the DOM - i.e. you can re-order the controls - Note: this may break any custom CSS you have setup. Please see the changes in the PR to the default SASS +- Improvement: The order of the `controls` option now effects the order in the DOM - i.e. you can re-order the controls - Note: this may break any custom CSS you have setup. Please see the changes in the PR to the default Sass - Fixed issue with empty controls and preview thumbs - Fixed issue with setGutter call (from Sentry) - Fixed issue with initial selected speed not working @@ -518,7 +534,7 @@ This is a massive release. A _mostly_ complete rewrite in ES6. What started out ### Other stuff -- Now using SASS exclusively. Sorry, LESS folk it just made sense to maintain one method as SASS is what the cool kids use. It may come back if we work out an automated way to convert the SASS +- Now using Sass exclusively. Sorry, LESS folk it just made sense to maintain one method as Sass is what the cool kids use. It may come back if we work out an automated way to convert the Sass - Moved to ES6. All the rage these days. You'll need to look at polyfills. The demo uses [polyfill.io](https://polyfill.io) - Added basic looping support - Added an aspect ratio option for those that can't leave the 90s and want 4:3 @@ -751,7 +767,7 @@ And some other changes and bug fixes: ## v1.7.0 -- SASS cleanup (fixes #265) +- Sass cleanup (fixes #265) - Docs tidy up to help quick start (fixes #253) - Fix for issues with data attribute options passing (fixes #257) - **_(Important)_** Removed the requirement for a wrapper div to setup Plyr and removed the dependency on the `plyr` classname as a JS hook. By default it will now look for `