Skip to content

Commit

Permalink
Merge pull request #20 from LHRUN/feature/1.0.0
Browse files Browse the repository at this point in the history
Feature/1.0.0
  • Loading branch information
LHRUN authored Jan 7, 2024
2 parents ecc398d + 2177fbb commit b325e03
Show file tree
Hide file tree
Showing 154 changed files with 7,543 additions and 4,995 deletions.
9 changes: 6 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module.exports = {
env: {
browser: true,
es2021: true
es2021: true,
node: true
},
extends: [
'eslint:recommended',
Expand All @@ -10,18 +11,20 @@ module.exports = {
'plugin:prettier/recommended',
'plugin:react/jsx-runtime'
],
ignorePatterns: ['node_modules'],
overrides: [],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
ecmaVersion: 2022,
sourceType: 'module'
},
plugins: ['react', '@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': ['error', { endOfLine: 'auto' }],
'arrow-body-style': 'off',
'prefer-arrow-callback': 'off',
'react/no-unknown-property': ['error', { ignore: ['t', 'p-id'] }]
'react/no-unknown-property': ['error', { ignore: ['t', 'p-id'] }],
'@typescript-eslint/no-explicit-any': 'off'
},
settings: {
react: {
Expand Down
9 changes: 2 additions & 7 deletions .stylelintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
module.exports = {
// 注册 stylelint 的 prettier 插件
plugins: ['stylelint-prettier'],
// 继承一系列规则集合
extends: [
// standard 规则集合
'stylelint-config-standard',
// 样式属性顺序规则
'stylelint-config-recess-order',
// 接入 Prettier 规则
'stylelint-config-prettier',
'stylelint-prettier/recommended'
],
Expand All @@ -17,9 +12,9 @@ module.exports = {
customSyntax: '@stylelint/postcss-css-in-js',
},
],
// 配置 rules

rules: {
// 开启 Prettier 自动格式化功能
// Enable Prettier auto-formatting
'prettier/prettier': true,
"at-rule-no-unknown": [
true,
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# 1.0.0

### Feat

- Refactoring with Fabric.js
- Adjust the operation panel style layout, add multi-functional menus to improve the user experience
- Increased number of brush styles to 12 and introduced multiple customizations
- Optimized layer settings from layer list to single element layer settings. Includes moving layers up, moving layers down, moving to top layer and moving to bottom layer
- Add new image upload function, also support layer filter configuration, add more effects to the painting content
- Introduced text drawing function, user can freely configure fonts
- Add rotation operation and transparency configuration in selection mode
- Introduces multi-file configuration, allowing users to easily switch between multiple canvases, each with customizable titles, additions, deletions, and upload and download features
- Supports multi-end operation, mobile users can zoom and drag the canvas by two-finger
- Add canvas zoom feature, users can freely adjust the canvas size as needed. And add background color and transparency configuration

# 0.2.8 (2023-12-03)

### Feat
Expand Down
137 changes: 0 additions & 137 deletions README.en-US.md

This file was deleted.

Loading

0 comments on commit b325e03

Please # to comment.