jeawin-astro 3.0.75 → 3.0.77

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jeawin-astro",
3
- "version": "3.0.75",
3
+ "version": "3.0.77",
4
4
  "author": "chaegumi <chaegumi@qq.com>",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -35,13 +35,13 @@
35
35
  "@rollup/plugin-strip": "^3.0.4",
36
36
  "@rollup/plugin-terser": "^0.4.4",
37
37
  "@rollup/plugin-typescript": "^12.1.2",
38
- "@types/lodash": "^4.17.16",
38
+ "@types/lodash": "^4.17.17",
39
39
  "@types/sprintf-js": "^1.1.4",
40
40
  "autoprefixer": "^10.4.21",
41
41
  "chai": "^5.2.0",
42
42
  "mocha": "^10.8.2",
43
43
  "postcss": "^8.5.3",
44
- "rollup": "^4.40.2",
44
+ "rollup": "^4.41.0",
45
45
  "rollup-plugin-node-externals": "^7.1.3",
46
46
  "rollup-plugin-postcss": "^4.0.2",
47
47
  "typescript": "^5.8.3"
@@ -49,11 +49,11 @@
49
49
  "dependencies": {
50
50
  "@astrojs/alpinejs": "^0.4.8",
51
51
  "@astrojs/check": "^0.9.4",
52
- "@astrojs/cloudflare": "^12.5.2",
52
+ "@astrojs/cloudflare": "^12.5.3",
53
53
  "@astrojs/rss": "^4.0.11",
54
54
  "@astrojs/sitemap": "3.2.1",
55
55
  "@astrojs/ts-plugin": "^1.10.4",
56
- "@astrojs/vue": "^5.0.13",
56
+ "@astrojs/vue": "^5.1.0",
57
57
  "@iconify-json/fa6-brands": "^1.2.5",
58
58
  "@iconify-json/fa6-solid": "^1.2.3",
59
59
  "@iconify/tools": "^4.1.2",
@@ -61,11 +61,11 @@
61
61
  "@pagefind/default-ui": "^1.3.0",
62
62
  "@tailwindcss/forms": "^0.5.10",
63
63
  "@tailwindcss/typography": "^0.5.16",
64
- "@tailwindcss/vite": "^4.1.5",
64
+ "@tailwindcss/vite": "^4.1.7",
65
65
  "@types/alpinejs": "^3.13.11",
66
66
  "alpinejs": "^3.14.9",
67
67
  "aos": "3.0.0-beta.6",
68
- "astro": "^5.7.11",
68
+ "astro": "^5.8.0",
69
69
  "astro-color-scheme": "^1.1.5",
70
70
  "astro-embed": "^0.9.0",
71
71
  "astro-icon": "^1.1.5",
@@ -84,10 +84,10 @@
84
84
  "smartmenus": "2.0.0-alpha.1",
85
85
  "sprintf-js": "^1.1.3",
86
86
  "string-strip-html": "^13.4.12",
87
- "swiper": "^11.2.6",
87
+ "swiper": "^11.2.7",
88
88
  "tailwind-scrollbar": "^4.0.2",
89
- "tailwindcss": "^4.1.5",
89
+ "tailwindcss": "^4.1.7",
90
90
  "tslib": "^2.8.1",
91
- "zod": "^3.24.4"
91
+ "zod": "^3.25.23"
92
92
  }
93
93
  }
@@ -11,7 +11,7 @@
11
11
  import { render_url, get_children_categories } from "../scripts/util.js";
12
12
  import SidebarSub from "./sidebar_sub.astro";
13
13
 
14
- import "smartmenus/dist/css/smartmenus.css";
14
+ import "smartmenus/dist/css/smartmenus.min.css";
15
15
 
16
16
  interface Props {
17
17
  sidebar_title?: any; // 标题
@@ -14,7 +14,7 @@ import DropdownMenu from "../smartmenus_submenu.astro";
14
14
  import MegaMenu from "../smartmenus_megamenu.astro";
15
15
 
16
16
  import Logo from "../logo.astro";
17
- import "smartmenus/dist/css/smartmenus.css";
17
+ import "smartmenus/dist/css/smartmenus.min.css";
18
18
  import { render_url, render_value } from "../../scripts/util.js";
19
19
 
20
20
  import JeawinApi from "../../scripts/cms.js";
@@ -270,13 +270,6 @@ if (page_type == "category") {
270
270
  color: #ff0000;
271
271
  }
272
272
  </style>
273
- <script>
274
- import { aosInit } from "../scripts/aos.js";
275
-
276
- aosInit();
277
-
278
- document.addEventListener("astro:after-swap", aosInit);
279
- </script>
280
273
  <script
281
274
  is:inline
282
275
  src="https://img.jeawincdn.com/resource/simple-scrollspy/tocbot.min.js"
@@ -11,7 +11,7 @@ export const ICONS_INCLUDE = {
11
11
  'house', 'message', 'circle-question', 'xmark', 'video', 'download',
12
12
  'file-pdf', 'file-csv', 'file-image', 'file-word', 'file-video', 'file-powerpoint', 'file-excel',
13
13
  'file-code', 'file-audio', 'file', 'file-zipper', 'sun', 'moon', 'up-right-from-square',
14
- 'user', 'user-tag', 'tag', 'tags', 'lock', 'lock-open', 'unlock', 'rotate'],
14
+ 'user', 'user-tag', 'tag', 'tags', 'lock', 'lock-open', 'unlock', 'rotate', 'plus', 'minus'],
15
15
  'fa6-brands': ['x-twitter', 'facebook', 'youtube', 'tiktok', 'linkedin',
16
16
  'google-plus', 'flickr', 'pinterest', 'whatsapp', 'instagram', 'qq', 'weixin', 'weibo', 'bilibili', 'zhihu']
17
17
  };
@@ -1,5 +1,3 @@
1
- export {aosInit} from "./aos.js";
2
-
3
1
  export {default as JeawinApi} from "./cms.js";
4
2
 
5
3
  export * from "./consts.js";
@@ -2,4 +2,19 @@
2
2
  @source "../../src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}";
3
3
  @plugin "@tailwindcss/forms";
4
4
  @plugin "@tailwindcss/typography";
5
- @plugin "tailwind-scrollbar";
5
+ @plugin "tailwind-scrollbar";
6
+
7
+ .prose{
8
+ width:auto;
9
+ max-width:100%;
10
+ overflow:auto;
11
+ }
12
+ thead tr th{
13
+ background: var(--color-blue-50);
14
+ padding: calc(var(--spacing) * 2);
15
+ white-space: nowrap;
16
+ min-width:calc(var(--spacing) * 30);
17
+ }
18
+ tbody tr td{
19
+ padding: calc(var(--spacing) * 2);
20
+ }