gitalk-react 1.0.0-beta.8 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,9 +46,9 @@ $gt-breakpoint-mobile: 480px;
46
46
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
47
47
  font-size: $gt-size-base;
48
48
  font-weight: 400;
49
+ font-synthesis: none;
49
50
  line-height: 1.5;
50
51
  color: var(--gt-color-text);
51
- font-synthesis: none;
52
52
  text-rendering: optimizelegibility;
53
53
  -webkit-font-smoothing: antialiased;
54
54
  -moz-osx-font-smoothing: grayscale;
@@ -388,7 +388,7 @@ $gt-breakpoint-mobile: 480px;
388
388
  padding: em(12px);
389
389
  font-size: em(14px);
390
390
  color: inherit;
391
- word-wrap: break-word;
391
+ overflow-wrap: break-word;
392
392
  resize: none;
393
393
  outline: none;
394
394
  background-color: var(--gt-color-input-bg);
@@ -592,12 +592,14 @@ $gt-breakpoint-mobile: 480px;
592
592
  }
593
593
 
594
594
  &-admin {
595
- .gt-comment-content {
596
- box-shadow: 0 em(2px) em(12px) 0 var(--gt-color-comment-shadow);
595
+ &--highlight {
596
+ .gt-comment-content {
597
+ box-shadow: 0 em(2px) em(12px) 0 var(--gt-color-comment-shadow);
597
598
 
598
- &:hover {
599
- box-shadow: 0 em(2px) em(24px) 0
600
- var(--gt-color-comment-shadow-admin);
599
+ &:hover {
600
+ box-shadow: 0 em(2px) em(24px) 0
601
+ var(--gt-color-comment-shadow-admin);
602
+ }
601
603
  }
602
604
  }
603
605
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitalk-react",
3
- "version": "1.0.0-beta.8",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "LolipopJ",
@@ -49,9 +49,10 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "ahooks": "^3.0.0",
52
+ "classnames": "^2.0.0",
52
53
  "date-fns": "^4.0.0",
53
54
  "node-polyglot": "^2.0.0",
54
- "octokit": "^4.0.0",
55
+ "octokit": "^5.0.0",
55
56
  "react-flip-move": "^3.0.0"
56
57
  },
57
58
  "peerDependencies": {
@@ -59,33 +60,35 @@
59
60
  "react-dom": ">=16.8.0"
60
61
  },
61
62
  "devDependencies": {
62
- "@eslint/js": "^9.24.0",
63
- "@octokit/types": "^14.0.0",
64
- "@types/node": "^22.14.1",
63
+ "@eslint/js": "^9.39.4",
64
+ "@octokit/types": "^16.0.0",
65
+ "@types/node": "^24.0.0",
65
66
  "@types/node-polyglot": "^2.5.0",
66
- "@types/react": "^16.8.0",
67
- "@types/react-dom": "^16.8.0",
68
- "@vitejs/plugin-react": "^4.4.0",
69
- "eslint": "^9.24.0",
70
- "eslint-config-prettier": "^10.1.2",
71
- "eslint-plugin-prettier": "^5.2.6",
67
+ "@types/react": "^16.14.69",
68
+ "@types/react-dom": "^16.9.25",
69
+ "@vitejs/plugin-react": "^6.0.1",
70
+ "eslint": "^9.39.4",
71
+ "eslint-config-prettier": "^10.1.8",
72
+ "eslint-plugin-prettier": "^5.5.5",
72
73
  "eslint-plugin-react": "^7.37.5",
73
- "eslint-plugin-react-hooks": "^5.2.0",
74
- "eslint-plugin-react-refresh": "^0.4.19",
74
+ "eslint-plugin-react-hooks": "^7.0.1",
75
+ "eslint-plugin-react-refresh": "^0.5.2",
75
76
  "eslint-plugin-simple-import-sort": "^12.1.1",
76
- "github-markdown-css": "^5.8.1",
77
- "globals": "^16.0.0",
78
- "prettier": "^3.5.3",
79
- "react": "^16.8.0",
80
- "react-dom": "^16.8.0",
81
- "rollup-plugin-visualizer": "^5.14.0",
82
- "sass-embedded": "^1.86.3",
83
- "stylelint": "^16.18.0",
84
- "stylelint-config-recess-order": "^6.0.0",
85
- "stylelint-config-standard-scss": "^14.0.0",
86
- "typescript": "~5.8.3",
87
- "typescript-eslint": "^8.30.1",
88
- "vite": "^6.3.1",
89
- "vite-plugin-dts": "^4.5.3"
77
+ "github-markdown-css": "^5.9.0",
78
+ "globals": "^17.4.0",
79
+ "postcss": "^8.5.8",
80
+ "prettier": "^3.8.1",
81
+ "react": "^16.14.0",
82
+ "react-dom": "^16.14.0",
83
+ "rollup-plugin-visualizer": "^7.0.1",
84
+ "sass-embedded": "^1.98.0",
85
+ "stylelint": "^17.5.0",
86
+ "stylelint-config-recess-order": "^7.7.0",
87
+ "stylelint-config-standard-scss": "^17.0.0",
88
+ "stylelint-order": "^8.1.1",
89
+ "typescript": "~5.9.3",
90
+ "typescript-eslint": "^8.57.1",
91
+ "vite": "^8.0.1",
92
+ "vite-plugin-dts": "^4.5.4"
90
93
  }
91
94
  }
File without changes