@bbki.ng/site 1.5.4 → 1.5.6

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 1.5.6
4
+
5
+ ## 1.5.5
6
+
3
7
  ## 1.5.4
4
8
 
5
9
  ## 1.5.3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  "url": "git+https://github.com/bbbottle/bbki.ng.git"
17
17
  },
18
18
  "dependencies": {
19
- "@bbki.ng/components": "workspace:2.4.3",
19
+ "@bbki.ng/components": "workspace:2.4.5",
20
20
  "@supabase/supabase-js": "^1.35.4",
21
21
  "classnames": "2.3.1",
22
22
  "react": "^18.0.0",
@@ -28,7 +28,7 @@
28
28
  "swr": "^2.2.5"
29
29
  },
30
30
  "devDependencies": {
31
- "@bbki.ng/stylebase": "workspace:0.3.3",
31
+ "@bbki.ng/stylebase": "workspace:0.3.5",
32
32
  "@mdx-js/mdx": "2.0.0-next.9",
33
33
  "@mdx-js/react": "^1.6.22",
34
34
  "@mdx-js/rollup": "3.0.0",
@@ -23,7 +23,9 @@ export const LoginMenuItem = () => {
23
23
  inset
24
24
  onClick={() => {
25
25
  supabase.auth.signOut().then(() => {
26
- toast.success("已退出登录");
26
+ toast.success("已退出登录", {
27
+ position: "top-center",
28
+ });
27
29
  });
28
30
  }}
29
31
  >
@@ -29,7 +29,9 @@ export const ArticleCtxMenu = (props: { children: ReactElement }) => {
29
29
  const doDel = useCallback(() => {
30
30
  del(title)
31
31
  .then(() => {
32
- toast.success("删除成功");
32
+ toast.success("删除成功", {
33
+ position: "top-center",
34
+ });
33
35
  nav("/blog");
34
36
  })
35
37
  .catch(console.log);
package/src/main.css CHANGED
@@ -1,3 +1,7 @@
1
1
  @tailwind base;
2
2
  @tailwind components;
3
3
  @tailwind utilities;
4
+
5
+ * {
6
+ -webkit-user-drag: none;
7
+ }
@@ -162,6 +162,7 @@ export const confirm = (message: string, exec: () => void) => {
162
162
  backgroundColor: "#fff",
163
163
  color: "rgb(37,99,235)",
164
164
  },
165
+ position: "top-center",
165
166
  action: {
166
167
  label: "是",
167
168
  onClick: () => {