@yoka-ui/ui 1.0.6 → 1.0.7

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.
Files changed (123) hide show
  1. package/@Docs-yoka/exports.generated.md +3 -3
  2. package/README.md +6 -6
  3. package/dist/es/assets/image/skills.zip +0 -0
  4. package/dist/es/business/Empty/index.js.map +1 -1
  5. package/dist/es/business/YkCharts/Area.d.ts +18 -0
  6. package/dist/es/business/YkCharts/Area.js +336 -0
  7. package/dist/es/business/YkCharts/Area.js.map +7 -0
  8. package/dist/es/business/YkCharts/Bar.d.ts +21 -0
  9. package/dist/es/business/YkCharts/Bar.js +316 -0
  10. package/dist/es/business/YkCharts/Bar.js.map +7 -0
  11. package/dist/es/business/YkCharts/BarProperty.d.ts +21 -0
  12. package/dist/es/business/YkCharts/BarProperty.js +357 -0
  13. package/dist/es/business/YkCharts/BarProperty.js.map +7 -0
  14. package/dist/es/business/YkCharts/BarTotal.d.ts +21 -0
  15. package/dist/es/business/YkCharts/BarTotal.js +288 -0
  16. package/dist/es/business/YkCharts/BarTotal.js.map +7 -0
  17. package/dist/es/business/YkCharts/Line.d.ts +21 -0
  18. package/dist/es/business/YkCharts/Line.js +342 -0
  19. package/dist/es/business/YkCharts/Line.js.map +7 -0
  20. package/dist/es/business/YkCharts/Pie.d.ts +19 -0
  21. package/dist/es/business/YkCharts/Pie.js +107 -0
  22. package/dist/es/business/YkCharts/Pie.js.map +7 -0
  23. package/dist/es/business/YkCharts/PieProperty.d.ts +18 -0
  24. package/dist/es/business/YkCharts/PieProperty.js +180 -0
  25. package/dist/es/business/YkCharts/PieProperty.js.map +7 -0
  26. package/dist/es/business/YkCharts/Pies.d.ts +26 -0
  27. package/dist/es/business/YkCharts/Pies.js +348 -0
  28. package/dist/es/business/YkCharts/Pies.js.map +7 -0
  29. package/dist/es/business/YkCharts/constants.d.ts +1 -0
  30. package/dist/es/business/YkCharts/constants.js +47 -0
  31. package/dist/es/business/YkCharts/constants.js.map +7 -0
  32. package/dist/es/business/YkCharts/hooks.d.ts +4 -0
  33. package/dist/es/business/YkCharts/hooks.js +37 -0
  34. package/dist/es/business/YkCharts/hooks.js.map +7 -0
  35. package/dist/es/business/YkCharts/index.d.ts +9 -0
  36. package/dist/es/business/YkCharts/index.js +20 -0
  37. package/dist/es/business/YkCharts/index.js.map +7 -0
  38. package/dist/es/business/YkCharts/index.module.less +164 -0
  39. package/dist/es/business/YkCharts/tooltip.less +92 -0
  40. package/dist/es/business/YkCharts/transformData.js +16 -0
  41. package/dist/es/business/YkCharts/transformData.js.map +7 -0
  42. package/dist/es/business/YkCharts/typing.d.ts +74 -0
  43. package/dist/es/business/YkCharts/typing.js +1 -0
  44. package/dist/es/business/YkCharts/typing.js.map +7 -0
  45. package/dist/es/business/YkCharts/utils.d.ts +4 -0
  46. package/dist/es/business/YkCharts/utils.js +109 -0
  47. package/dist/es/business/YkCharts/utils.js.map +7 -0
  48. package/dist/es/business/YkCharts/variables.less +13 -0
  49. package/dist/es/components/YKMarkdown/index.d.ts +11 -0
  50. package/dist/es/components/YKMarkdown/index.js +236 -0
  51. package/dist/es/components/YKMarkdown/index.js.map +7 -0
  52. package/dist/es/components/YKMarkdown/index.module.less +83 -0
  53. package/dist/es/components/YkDateRangePicker/YkDateRangePicker.mdx +3 -3
  54. package/dist/es/creative/GlassSegmentedRadio/index.d.ts +1 -1
  55. package/dist/es/creative/SkillsWriter/index.d.ts +3 -0
  56. package/dist/es/creative/SkillsWriter/index.js +191 -0
  57. package/dist/es/creative/SkillsWriter/index.js.map +7 -0
  58. package/dist/es/creative/SkillsWriter/index.module.less +21 -0
  59. package/dist/es/index.less +6 -1
  60. package/dist/es/utils/ykStorybookDoc.d.ts +15 -0
  61. package/dist/es/utils/ykStorybookDoc.js +24 -2
  62. package/dist/es/utils/ykStorybookDoc.js.map +2 -2
  63. package/dist/lib/assets/image/skills.zip +0 -0
  64. package/dist/lib/business/Empty/index.js.map +1 -1
  65. package/dist/lib/business/YkCharts/Area.d.ts +18 -0
  66. package/dist/lib/business/YkCharts/Area.js +346 -0
  67. package/dist/lib/business/YkCharts/Area.js.map +7 -0
  68. package/dist/lib/business/YkCharts/Bar.d.ts +21 -0
  69. package/dist/lib/business/YkCharts/Bar.js +323 -0
  70. package/dist/lib/business/YkCharts/Bar.js.map +7 -0
  71. package/dist/lib/business/YkCharts/BarProperty.d.ts +21 -0
  72. package/dist/lib/business/YkCharts/BarProperty.js +370 -0
  73. package/dist/lib/business/YkCharts/BarProperty.js.map +7 -0
  74. package/dist/lib/business/YkCharts/BarTotal.d.ts +21 -0
  75. package/dist/lib/business/YkCharts/BarTotal.js +295 -0
  76. package/dist/lib/business/YkCharts/BarTotal.js.map +7 -0
  77. package/dist/lib/business/YkCharts/Line.d.ts +21 -0
  78. package/dist/lib/business/YkCharts/Line.js +349 -0
  79. package/dist/lib/business/YkCharts/Line.js.map +7 -0
  80. package/dist/lib/business/YkCharts/Pie.d.ts +19 -0
  81. package/dist/lib/business/YkCharts/Pie.js +117 -0
  82. package/dist/lib/business/YkCharts/Pie.js.map +7 -0
  83. package/dist/lib/business/YkCharts/PieProperty.d.ts +18 -0
  84. package/dist/lib/business/YkCharts/PieProperty.js +193 -0
  85. package/dist/lib/business/YkCharts/PieProperty.js.map +7 -0
  86. package/dist/lib/business/YkCharts/Pies.d.ts +26 -0
  87. package/dist/lib/business/YkCharts/Pies.js +337 -0
  88. package/dist/lib/business/YkCharts/Pies.js.map +7 -0
  89. package/dist/lib/business/YkCharts/constants.d.ts +1 -0
  90. package/dist/lib/business/YkCharts/constants.js +71 -0
  91. package/dist/lib/business/YkCharts/constants.js.map +7 -0
  92. package/dist/lib/business/YkCharts/hooks.d.ts +4 -0
  93. package/dist/lib/business/YkCharts/hooks.js +62 -0
  94. package/dist/lib/business/YkCharts/hooks.js.map +7 -0
  95. package/dist/lib/business/YkCharts/index.d.ts +9 -0
  96. package/dist/lib/business/YkCharts/index.js +61 -0
  97. package/dist/lib/business/YkCharts/index.js.map +7 -0
  98. package/dist/lib/business/YkCharts/index.module.less +164 -0
  99. package/dist/lib/business/YkCharts/tooltip.less +92 -0
  100. package/dist/lib/business/YkCharts/transformData.js +40 -0
  101. package/dist/lib/business/YkCharts/transformData.js.map +7 -0
  102. package/dist/lib/business/YkCharts/typing.d.ts +74 -0
  103. package/dist/lib/business/YkCharts/typing.js +18 -0
  104. package/dist/lib/business/YkCharts/typing.js.map +7 -0
  105. package/dist/lib/business/YkCharts/utils.d.ts +4 -0
  106. package/dist/lib/business/YkCharts/utils.js +143 -0
  107. package/dist/lib/business/YkCharts/utils.js.map +7 -0
  108. package/dist/lib/business/YkCharts/variables.less +13 -0
  109. package/dist/lib/components/YKMarkdown/index.d.ts +11 -0
  110. package/dist/lib/components/YKMarkdown/index.js +188 -0
  111. package/dist/lib/components/YKMarkdown/index.js.map +7 -0
  112. package/dist/lib/components/YKMarkdown/index.module.less +83 -0
  113. package/dist/lib/components/YkDateRangePicker/YkDateRangePicker.mdx +3 -3
  114. package/dist/lib/creative/GlassSegmentedRadio/index.d.ts +1 -1
  115. package/dist/lib/creative/SkillsWriter/index.d.ts +3 -0
  116. package/dist/lib/creative/SkillsWriter/index.js +200 -0
  117. package/dist/lib/creative/SkillsWriter/index.js.map +7 -0
  118. package/dist/lib/creative/SkillsWriter/index.module.less +21 -0
  119. package/dist/lib/index.less +6 -1
  120. package/dist/lib/utils/ykStorybookDoc.d.ts +15 -0
  121. package/dist/lib/utils/ykStorybookDoc.js +23 -1
  122. package/dist/lib/utils/ykStorybookDoc.js.map +2 -2
  123. package/package.json +152 -143
package/package.json CHANGED
@@ -1,146 +1,155 @@
1
1
  {
2
- "name": "@yoka-ui/ui",
3
- "version": "1.0.6",
4
- "private": false,
5
- "description": "",
6
- "homepage": "",
7
- "bugs": {
8
- "url": ""
9
- },
10
- "license": "MIT",
11
- "author": "",
12
- "sideEffects": [
13
- "*.css",
14
- "*.less"
15
- ],
16
- "exports": {
17
- ".": {
18
- "types": "./dist/es/index.d.ts",
19
- "import": "./dist/es/index.js",
20
- "require": "./dist/lib/index.js"
2
+ "name": "@yoka-ui/ui",
3
+ "version": "1.0.7",
4
+ "private": false,
5
+ "description": "",
6
+ "homepage": "",
7
+ "bugs": {
8
+ "url": ""
21
9
  },
22
- "./dist/index.less": "./dist/es/index.less"
23
- },
24
- "main": "dist/lib/index.js",
25
- "module": "dist/es/index.js",
26
- "types": "dist/es/index.d.ts",
27
- "files": [
28
- "dist",
29
- "README.md",
30
- "package.json",
31
- "@Docs-yoka"
32
- ],
33
- "config": {
34
- "commitizen": {
35
- "path": "./node_modules/cz-conventional-changelog"
10
+ "license": "MIT",
11
+ "author": "",
12
+ "sideEffects": [
13
+ "*.css",
14
+ "*.less"
15
+ ],
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/es/index.d.ts",
19
+ "import": "./dist/es/index.js",
20
+ "require": "./dist/lib/index.js"
21
+ },
22
+ "./dist/index.less": "./dist/es/index.less"
23
+ },
24
+ "main": "dist/lib/index.js",
25
+ "module": "dist/es/index.js",
26
+ "types": "dist/es/index.d.ts",
27
+ "files": [
28
+ "dist",
29
+ "README.md",
30
+ "package.json",
31
+ "@Docs-yoka"
32
+ ],
33
+ "scripts": {
34
+ "build": "pnpm run clean && pnpm run build:lib",
35
+ "build:lib": "father build && node scripts/generate-index-less.cjs",
36
+ "build:storybook": "storybook build",
37
+ "clean": "rimraf dist",
38
+ "commit": "cz",
39
+ "dev": "pnpm storybook",
40
+ "generate:yoka-llms": "node scripts/generate-yoka-llms.cjs",
41
+ "prepublishOnly": "npm run clean && npm run build:lib",
42
+ "lint:ts": "tsc --noEmit",
43
+ "lint": "pnpm run lint:ts && pnpm run biome:lint",
44
+ "lint:fix": "biome format --write .",
45
+ "biome:lint": "biome lint src",
46
+ "biome": "biome check src",
47
+ "prepack": "node scripts/generate-yoka-llms.cjs",
48
+ "prepare": "husky install",
49
+ "release": "changeset version && pnpm build",
50
+ "security:audit": "node scripts/security-audit-fix.cjs",
51
+ "security:audit:fix": "pnpm update && echo '请手动检查并添加 resolutions 到 package.json'",
52
+ "security:audit:full": "pnpm audit --audit-level high",
53
+ "storybook": "storybook dev -p 6006",
54
+ "test": "jest",
55
+ "test:coverage": "jest --coverage",
56
+ "test:watch": "jest --watch"
57
+ },
58
+ "config": {
59
+ "commitizen": {
60
+ "path": "./node_modules/cz-conventional-changelog"
61
+ }
62
+ },
63
+ "browserslist": [
64
+ "> 1%",
65
+ "last 2 versions",
66
+ "not ie <= 10"
67
+ ],
68
+ "resolutions": {
69
+ "commander": "11.1.0"
70
+ },
71
+ "dependencies": {
72
+ "@ant-design/cssinjs": "1.24.0",
73
+ "@ant-design/icons": "^5.6.1",
74
+ "@ant-design/pro-form": "^2.32.0",
75
+ "@babel/runtime": "^7.29.2",
76
+ "@codemirror/autocomplete": "^6.20.1",
77
+ "@codemirror/lang-sql": "^6.10.0",
78
+ "@codemirror/state": "^6.6.0",
79
+ "@codemirror/view": "^6.41.1",
80
+ "@uiw/react-codemirror": "^4.25.9",
81
+ "@uiw/react-markdown-preview": "^5.2.0",
82
+ "@wangeditor/editor": "^5.1.23",
83
+ "@wangeditor/editor-for-react": "^1.0.6",
84
+ "ahooks": "^3.9.6",
85
+ "antd": "5.29.2",
86
+ "codemirror": "^6.0.2",
87
+ "dayjs": "^1.11.13",
88
+ "decimal.js": "^10.6.0",
89
+ "echarts": "^6.0.0",
90
+ "jszip": "^3.10.1",
91
+ "lodash": "^4.17.21",
92
+ "mermaid": "^11.14.0",
93
+ "react": "^18.3.1",
94
+ "react-custom-scrollbars-2": "^4.5.0",
95
+ "react-dom": "^18.3.1",
96
+ "react-virtualized": "^9.22.5",
97
+ "swiper": "^12.1.3",
98
+ "tslib": "^2.8.1"
99
+ },
100
+ "devDependencies": {
101
+ "@biomejs/biome": "^2.4.11",
102
+ "@changesets/cli": "^2.27.1",
103
+ "@commitlint/cli": "^20.5.0",
104
+ "@commitlint/config-conventional": "^20.5.0",
105
+ "@storybook/addon-a11y": "10.3.5",
106
+ "@storybook/addon-docs": "10.3.5",
107
+ "@storybook/addon-webpack5-compiler-swc": "4.0.3",
108
+ "@storybook/react": "10.3.5",
109
+ "@storybook/react-webpack5": "10.3.5",
110
+ "@storybook/test-runner": "0.24.3",
111
+ "@testing-library/jest-dom": "^6.9.1",
112
+ "@testing-library/react": "^13.4.0",
113
+ "@types/jest": "^29.4.0",
114
+ "@types/lodash": "^4.14.191",
115
+ "@types/react": "^18.0.28",
116
+ "@types/react-dom": "^18.0.11",
117
+ "@types/react-virtualized": "^9.21.27",
118
+ "classnames": "^2.5.1",
119
+ "commitizen": "^4.3.1",
120
+ "css-loader": "^7.1.4",
121
+ "cz-conventional-changelog": "^3.3.0",
122
+ "esbuild": "0.27.3",
123
+ "father": "4.6.15",
124
+ "husky": "^9.1.7",
125
+ "jest": "^29.4.3",
126
+ "jest-environment-jsdom": "^29.4.3",
127
+ "jsdom": "^27.4.0",
128
+ "less": "^4.2.0",
129
+ "less-loader": "^12.3.2",
130
+ "lint-staged": "^16.2.7",
131
+ "rimraf": "^6.1.2",
132
+ "storybook": "^10.3.5",
133
+ "style-loader": "^4.0.0",
134
+ "stylelint": "^14",
135
+ "ts-node": "^10.9.1",
136
+ "typescript": "^5.9.3"
137
+ },
138
+ "peerDependencies": {
139
+ "antd": "^5.29.2",
140
+ "react": "^18.3.1",
141
+ "react-dom": "^18.3.1"
142
+ },
143
+ "engines": {
144
+ "node": ">=18",
145
+ "pnpm": ">=9"
146
+ },
147
+ "lint-staged": {
148
+ "**/*.{js,jsx,ts,tsx,md,css,less,json}": [
149
+ "npx @biomejs/biome check --write"
150
+ ]
151
+ },
152
+ "publishConfig": {
153
+ "access": "public"
36
154
  }
37
- },
38
- "browserslist": [
39
- "> 1%",
40
- "last 2 versions",
41
- "not ie <= 10"
42
- ],
43
- "resolutions": {
44
- "commander": "11.1.0"
45
- },
46
- "dependencies": {
47
- "@ant-design/cssinjs": "1.24.0",
48
- "@ant-design/icons": "^5.6.1",
49
- "@ant-design/pro-form": "^2.32.0",
50
- "@babel/runtime": "^7.29.2",
51
- "@codemirror/autocomplete": "^6.20.1",
52
- "@codemirror/lang-sql": "^6.10.0",
53
- "@codemirror/state": "^6.6.0",
54
- "@codemirror/view": "^6.41.1",
55
- "@uiw/react-codemirror": "^4.25.9",
56
- "@wangeditor/editor": "^5.1.23",
57
- "@wangeditor/editor-for-react": "^1.0.6",
58
- "ahooks": "^3.9.6",
59
- "antd": "5.29.2",
60
- "codemirror": "^6.0.2",
61
- "dayjs": "^1.11.13",
62
- "lodash": "^4.17.21",
63
- "react": "^18.3.1",
64
- "react-custom-scrollbars-2": "^4.5.0",
65
- "react-dom": "^18.3.1",
66
- "react-virtualized": "^9.22.5",
67
- "tslib": "^2.8.1"
68
- },
69
- "devDependencies": {
70
- "@biomejs/biome": "^2.4.11",
71
- "@changesets/cli": "^2.27.1",
72
- "@commitlint/cli": "^20.5.0",
73
- "@commitlint/config-conventional": "^20.5.0",
74
- "@storybook/addon-a11y": "10.3.5",
75
- "@storybook/addon-docs": "10.3.5",
76
- "@storybook/addon-webpack5-compiler-swc": "4.0.3",
77
- "@storybook/react": "10.3.5",
78
- "@storybook/react-webpack5": "10.3.5",
79
- "@storybook/test-runner": "0.24.3",
80
- "@testing-library/jest-dom": "^6.9.1",
81
- "@testing-library/react": "^13.4.0",
82
- "@types/jest": "^29.4.0",
83
- "@types/lodash": "^4.14.191",
84
- "@types/react": "^18.0.28",
85
- "@types/react-dom": "^18.0.11",
86
- "@types/react-virtualized": "^9.21.27",
87
- "classnames": "^2.5.1",
88
- "commitizen": "^4.3.1",
89
- "css-loader": "^7.1.4",
90
- "cz-conventional-changelog": "^3.3.0",
91
- "esbuild": "0.27.3",
92
- "father": "4.6.15",
93
- "husky": "^9.1.7",
94
- "jest": "^29.4.3",
95
- "jest-environment-jsdom": "^29.4.3",
96
- "jsdom": "^27.4.0",
97
- "less": "^4.2.0",
98
- "less-loader": "^12.3.2",
99
- "lint-staged": "^16.2.7",
100
- "rimraf": "^6.1.2",
101
- "storybook": "^10.3.5",
102
- "style-loader": "^4.0.0",
103
- "stylelint": "^14",
104
- "ts-node": "^10.9.1",
105
- "typescript": "^5.9.3"
106
- },
107
- "peerDependencies": {
108
- "antd": "^5.29.2",
109
- "react": "^18.3.1",
110
- "react-dom": "^18.3.1"
111
- },
112
- "engines": {
113
- "node": ">=18",
114
- "pnpm": ">=9"
115
- },
116
- "lint-staged": {
117
- "**/*.{js,jsx,ts,tsx,md,css,less,json}": [
118
- "npx @biomejs/biome check --write"
119
- ]
120
- },
121
- "publishConfig": {
122
- "access": "public"
123
- },
124
- "scripts": {
125
- "build": "pnpm run clean && pnpm run build:lib",
126
- "build:lib": "father build && node scripts/generate-index-less.cjs",
127
- "build:storybook": "storybook build",
128
- "clean": "rimraf dist",
129
- "commit": "cz",
130
- "dev": "pnpm storybook",
131
- "generate:yoka-llms": "node scripts/generate-yoka-llms.cjs",
132
- "lint:ts": "tsc --noEmit",
133
- "lint": "pnpm run lint:ts && pnpm run biome:lint",
134
- "lint:fix": "biome format --write .",
135
- "biome:lint": "biome lint src",
136
- "biome": "biome check src",
137
- "release": "changeset version && pnpm build",
138
- "security:audit": "node scripts/security-audit-fix.cjs",
139
- "security:audit:fix": "pnpm update && echo '请手动检查并添加 resolutions 到 package.json'",
140
- "security:audit:full": "pnpm audit --audit-level high",
141
- "storybook": "storybook dev -p 6006",
142
- "test": "jest",
143
- "test:coverage": "jest --coverage",
144
- "test:watch": "jest --watch"
145
- }
146
- }
155
+ }