@chaoswise/ui 3.0.0 → 3.0.2

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 (58) hide show
  1. package/config/babel/antdComs-nouse.js +51 -0
  2. package/config/babel/formily.js +22 -0
  3. package/config/babel/index.js +9 -0
  4. package/config/city/citys.js +1964 -0
  5. package/config/swc.js +5 -0
  6. package/config/theme/CWTheme.js +427 -0
  7. package/config/theme/chart.dark.js +394 -0
  8. package/config/theme/chart.light.js +3 -0
  9. package/config/theme/common.less +161 -0
  10. package/config/theme/dark.js +784 -0
  11. package/config/theme/dark.less +80 -0
  12. package/config/theme/default.js +717 -0
  13. package/config/theme/default.less +144 -0
  14. package/config/theme/style/color/bezierEasing.less +110 -0
  15. package/config/theme/style/color/colorPalette.less +85 -0
  16. package/config/theme/style/color/colors.less +162 -0
  17. package/config/theme/style/color/tinyColor.less +1184 -0
  18. package/config/theme/style/compact.less +4 -0
  19. package/config/theme/style/components.less +65 -0
  20. package/config/theme/style/core/base.less +10 -0
  21. package/config/theme/style/core/global.less +491 -0
  22. package/config/theme/style/core/iconfont.less +22 -0
  23. package/config/theme/style/core/index.less +5 -0
  24. package/config/theme/style/core/motion/fade.less +34 -0
  25. package/config/theme/style/core/motion/move.less +129 -0
  26. package/config/theme/style/core/motion/other.less +51 -0
  27. package/config/theme/style/core/motion/slide.less +129 -0
  28. package/config/theme/style/core/motion/zoom.less +179 -0
  29. package/config/theme/style/core/motion.less +22 -0
  30. package/config/theme/style/css.js +3 -0
  31. package/config/theme/style/dark.less +4 -0
  32. package/config/theme/style/default.css +1784 -0
  33. package/config/theme/style/default.less +4 -0
  34. package/config/theme/style/index-pure.less +2 -0
  35. package/config/theme/style/index.css +1784 -0
  36. package/config/theme/style/index.d.ts +1 -0
  37. package/config/theme/style/index.js +3 -0
  38. package/config/theme/style/index.less +3 -0
  39. package/config/theme/style/mixins/box.less +7 -0
  40. package/config/theme/style/mixins/clearfix.less +16 -0
  41. package/config/theme/style/mixins/compatibility.less +13 -0
  42. package/config/theme/style/mixins/customize.less +181 -0
  43. package/config/theme/style/mixins/iconfont.less +28 -0
  44. package/config/theme/style/mixins/index.less +14 -0
  45. package/config/theme/style/mixins/modal-mask.less +30 -0
  46. package/config/theme/style/mixins/motion.less +33 -0
  47. package/config/theme/style/mixins/operation-unit.less +16 -0
  48. package/config/theme/style/mixins/reset.less +11 -0
  49. package/config/theme/style/mixins/rounded-arrow.less +44 -0
  50. package/config/theme/style/mixins/size.less +10 -0
  51. package/config/theme/style/mixins/typography.less +58 -0
  52. package/config/theme/style/themes/compact.less +295 -0
  53. package/config/theme/style/themes/dark.less +457 -0
  54. package/config/theme/style/themes/default.less +1080 -0
  55. package/config/theme/style/themes/index.less +7 -0
  56. package/config/theme/style/themes/variable.less +1135 -0
  57. package/config/theme/style/variable.less +4 -0
  58. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ /*
2
+ * @Author: your name
3
+ * @Date: 2022-02-21 16:23:43
4
+ * @LastEditTime: 2023-05-11 17:35:05
5
+ * @LastEditors: andrew.qiao andrew.qiao@cloudwise.com
6
+ * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
7
+ * @FilePath: /change_02/aops_web_commons/packages/ui/config/babel/antdComs.js
8
+ */
9
+
10
+ module.exports = [
11
+ 'Affix', 'Anchor', 'AutoComplete',
12
+ 'Avatar', 'BackTop', 'Breadcrumb',
13
+ 'Calendar', 'Card', 'Carousel', 'Col',
14
+ 'Comment', 'Descriptions',
15
+ 'Divider', 'Drawer', 'Dropdown',
16
+ 'Icon',
17
+ 'List', 'LocaleProvider', 'Layout', 'Mention',
18
+ 'Mentions', 'PageHeader', 'Transfer',
19
+ 'Popover',
20
+ 'Rate', 'Result', 'Row',
21
+ 'Skeleton', 'Spin',
22
+ 'Statistic', 'Steps', 'Switch', 'TimePicker','TreeSelect',
23
+ 'Select',
24
+ 'Typography',
25
+ 'version', 'Table', 'Tree',
26
+ ];
27
+ // 已经被覆盖的组件
28
+ /**
29
+ * Button
30
+ * ConfigProvider
31
+ * Modal
32
+ * Pagination
33
+ * Upload
34
+ * Tree
35
+ * Table
36
+ * Tabs
37
+ * Tooltip
38
+ * Popconfirm
39
+ * Radio
40
+ * Checkbox
41
+ * message
42
+ * Slider
43
+ * Input
44
+ * Progress
45
+ * Badge
46
+ * Alert
47
+ * Menu
48
+ * InputNumber
49
+ * Cascader
50
+ * notification
51
+ */
@@ -0,0 +1,22 @@
1
+ const fse = require('fs-extra');
2
+ // 项目的根目录
3
+ const projectPath = process.cwd();
4
+
5
+ const babelConfig = {
6
+ "libraryName": "@chaoswise/ui/formily",
7
+ "camel2DashComponentName": false,
8
+ "customName": name => {
9
+ return `@chaoswise/ui/lib/Formily/${name}`
10
+ },
11
+ "style": name => {
12
+ // 判断是否有样式文件
13
+ const fileTargetPath = `${projectPath}/node_modules/${name}/index.less`;
14
+ const isExist = fse.pathExistsSync(fileTargetPath);
15
+ if(!isExist) {
16
+ return false
17
+ }
18
+ return `${name}/index.less`
19
+ }
20
+ }
21
+
22
+ module.exports = babelConfig;
@@ -0,0 +1,9 @@
1
+ const babelConfig = {
2
+ "libraryName": "@chaoswise/ui",
3
+ "camel2DashComponentName": false,
4
+ "customName": name => {
5
+ return `@chaoswise/ui/lib/${name}`
6
+ }
7
+ }
8
+
9
+ module.exports = babelConfig;