From ddbb580fca8484d44f1aa3a806b43ea5911c781c Mon Sep 17 00:00:00 2001 From: Harvey Zack Date: Sun, 15 May 2022 13:10:20 +0800 Subject: [PATCH] add CHANGELOG --- CHANGELOG_CN.md | 22 ++++++++++++++++++++++ CONTRIBUTING.md | 19 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 CHANGELOG_CN.md create mode 100644 CONTRIBUTING.md diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md new file mode 100644 index 000000000..345c9ea26 --- /dev/null +++ b/CHANGELOG_CN.md @@ -0,0 +1,22 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added +- 添加 art.isInput 属性,当为 true 的时候不自动隐藏控制栏,如弹幕正在输入时 +- 弹幕库监听 resize 事件,当输入框少于 150px 时,自动隐藏弹幕输入框 +- 修复弹幕输入框的固定宽度 bug + +## [4.4.0] - 2022-05-15 + +### Added +- 设置面板支持 switch 和 onSwitch 选项 +- 弹幕库插件添加设置面板和弹幕发送 +- 弹幕库的选项添加默认模式和默认字号 +- 弹幕库字号支持按播放器的百分百 +- 修复翻转设置的图标缺失 +- 默认播放器获取了焦点后,不会自动隐藏控制栏 +- 删除字幕开关按钮,需要自行配置字幕开关 \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..a6f2e5a92 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,19 @@ +This project uses `parcel` as a development and packaging tool, so there are few overall configuration options + +## 1. Install dependencies + +```base +npm install && npm run bootstrap +``` + +## 2. Develop the project and open the demo page + +```base +npm run dev +``` + +## 3. Package the project + +```base +npm run build +``` \ No newline at end of file