@squirrel-cloud/ui-vue 0.2.8 → 0.2.11

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
@@ -2,7 +2,7 @@
2
2
  "name": "@squirrel-cloud/ui-vue",
3
3
  "description": "松鼠的坚果屋前端VUE框架",
4
4
  "license": "GPL-3.0",
5
- "version": "0.2.8",
5
+ "version": "0.2.11",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "files": [
@@ -39,13 +39,26 @@
39
39
  "format": "prettier --write src/",
40
40
  "prepublishOnly": "npm run build"
41
41
  },
42
- "dependencies": {
42
+ "peerDependencies": {
43
43
  "@floating-ui/vue": "^1.1.9",
44
- "@squirrel-cloud/icons-vue": "^0.0.5",
44
+ "markdown-it": "^14.1.0"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "@floating-ui/vue": {
48
+ "optional": true
49
+ },
50
+ "markdown-it": {
51
+ "optional": true
52
+ }
53
+ },
54
+ "dependencies": {
55
+ "@squirrel-cloud/icons-vue": "^0.0.13",
45
56
  "vue": "^3.5.13"
46
57
  },
47
58
  "devDependencies": {
59
+ "@floating-ui/vue": "^1.1.9",
48
60
  "@tsconfig/node22": "^22.0.0",
61
+ "@types/markdown-it": "^14.1.2",
49
62
  "@types/node": "^22.13.4",
50
63
  "@vitejs/plugin-vue": "^5.2.1",
51
64
  "@vitejs/plugin-vue-jsx": "^4.1.1",
@@ -55,6 +68,7 @@
55
68
  "eslint": "^9.20.1",
56
69
  "eslint-plugin-vue": "^9.32.0",
57
70
  "jiti": "^2.4.2",
71
+ "markdown-it": "^14.1.0",
58
72
  "npm-run-all2": "^7.0.2",
59
73
  "prettier": "^3.5.1",
60
74
  "typescript": "~5.7.3",
@@ -0,0 +1,13 @@
1
+ import type {
2
+ PluginSimple,
3
+ PluginWithOptions,
4
+ PluginWithParams,
5
+ } from 'markdown-it'
6
+
7
+ /**
8
+ * MarkdownIt 插件
9
+ */
10
+ export declare type MarkdownItPlugin =
11
+ | PluginSimple
12
+ | PluginWithOptions
13
+ | PluginWithParams
@@ -7,5 +7,6 @@ export type { ComponentSize } from './ComponentSize'
7
7
  export type { ComponentType } from './ComponentType'
8
8
  export type { PopoverTrigger } from './PopoverTrigger'
9
9
  export type { PopoverPlacement } from './PopoverPlacement'
10
+ export type { MarkdownItPlugin } from './MarkdownItPlugin'
10
11
  export type { ComponentTypeBase } from './ComponentTypeBase'
11
12
  export type { ButtonGroupContext } from './ButtonGroupContext'