@aloudata/aloudata-design 0.1.0-beta.3 → 0.2.0-beta.1

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 (154) hide show
  1. package/README.md +7 -0
  2. package/es/Button/demo/Icon/index.js +0 -3
  3. package/es/Button/demo/basic/index.js +1 -4
  4. package/es/Dropdown/demo/button/index.js +1 -1
  5. package/es/Empty/index.d.ts +8 -0
  6. package/es/Empty/index.js +57 -0
  7. package/es/Empty/style/index.d.ts +1 -0
  8. package/es/Empty/style/index.js +1 -0
  9. package/es/Empty/style/index.less +23 -0
  10. package/es/Icon/iconfont/demo_index.html +26 -3
  11. package/es/Icon/iconfont/iconfont.css +7 -3
  12. package/es/Icon/iconfont/iconfont.js +1 -1
  13. package/es/Icon/iconfont/iconfont.json +7 -0
  14. package/es/Icon/iconfont/iconfont.ttf +0 -0
  15. package/es/Icon/iconfont/iconfont.woff +0 -0
  16. package/es/Icon/iconfont/iconfont.woff2 +0 -0
  17. package/es/Icon/index.less +2 -2
  18. package/es/Input/components/Group/index.d.ts +0 -1
  19. package/es/Input/components/Password/index.d.ts +0 -1
  20. package/es/Menu/Divider.d.ts +0 -1
  21. package/es/Menu/style/index.less +4 -0
  22. package/es/Navigator/components/Menu/index.d.ts +19 -0
  23. package/es/Navigator/components/Menu/index.js +187 -0
  24. package/es/Navigator/demo/basic/index.d.ts +4 -0
  25. package/es/Navigator/demo/basic/index.js +45 -0
  26. package/es/Navigator/demo/basic/index.less +3 -0
  27. package/es/Navigator/demo/example/index.d.ts +4 -0
  28. package/es/Navigator/demo/example/index.js +153 -0
  29. package/es/Navigator/demo/example/index.less +10 -0
  30. package/es/Navigator/demo/logo.png +0 -0
  31. package/es/Navigator/demo/menuWithFooter/index.d.ts +4 -0
  32. package/es/Navigator/demo/menuWithFooter/index.js +73 -0
  33. package/es/Navigator/demo/menuWithFooter/index.less +3 -0
  34. package/es/Navigator/demo/subMenu/index.d.ts +4 -0
  35. package/es/Navigator/demo/subMenu/index.js +71 -0
  36. package/es/Navigator/demo/subMenu/index.less +3 -0
  37. package/es/Navigator/index.d.ts +41 -0
  38. package/es/Navigator/index.js +45 -0
  39. package/es/Navigator/style/index.d.ts +2 -0
  40. package/es/Navigator/style/index.js +2 -0
  41. package/es/Navigator/style/index.less +224 -0
  42. package/es/Select/OptionsList/OptionItem/RenderTooltip.js +2 -3
  43. package/es/Select/OptionsList/Options.d.ts +2 -2
  44. package/es/Select/OptionsList/index.js +1 -1
  45. package/es/Select/Selector/index.d.ts +2 -2
  46. package/es/Select/Selector/index.js +9 -6
  47. package/es/Select/demo/single/index.d.ts +1 -0
  48. package/es/Select/demo/single/index.js +4 -1
  49. package/es/Select/demo/single/index.less +5 -0
  50. package/es/Select/interface.d.ts +1 -2
  51. package/es/Select/style/index.less +2 -10
  52. package/es/Table/demo/basic/createData.d.ts +9 -0
  53. package/es/Table/demo/basic/createData.js +18 -0
  54. package/es/Table/demo/basic/index.d.ts +2 -0
  55. package/es/Table/demo/basic/index.js +64 -0
  56. package/es/Table/demo/editCell/index.d.ts +2 -0
  57. package/es/Table/demo/editCell/index.js +39 -0
  58. package/es/Table/demo/renderHeaderRight/index.d.ts +2 -0
  59. package/es/Table/demo/renderHeaderRight/index.js +37 -0
  60. package/es/Table/demo/rowSelect/index.d.ts +2 -0
  61. package/es/Table/demo/rowSelect/index.js +40 -0
  62. package/es/Table/demo/virtualList/index.d.ts +2 -0
  63. package/es/Table/demo/virtualList/index.js +88 -0
  64. package/es/Table/index.d.ts +5 -0
  65. package/es/Table/index.js +201 -0
  66. package/es/Table/interface.d.ts +14 -0
  67. package/es/Table/interface.js +1 -0
  68. package/es/Table/style/index.d.ts +2 -0
  69. package/es/Table/style/index.js +2 -0
  70. package/es/Table/style/index.less +111 -0
  71. package/es/Tooltip/index.d.ts +1 -0
  72. package/es/Tooltip/index.js +3 -1
  73. package/es/index.d.ts +2 -0
  74. package/es/index.js +3 -1
  75. package/es/style/themes/default/index.less +1 -1
  76. package/es/style/themes/default/{themeColor.less → themeColor.module.less} +0 -0
  77. package/es/style/themes/default/themeColor.module.less.d.ts +108 -0
  78. package/lib/Button/demo/Icon/index.js +0 -3
  79. package/lib/Button/demo/basic/index.js +1 -4
  80. package/lib/Dropdown/demo/button/index.js +1 -1
  81. package/lib/Empty/index.d.ts +8 -0
  82. package/lib/Empty/index.js +71 -0
  83. package/lib/Empty/style/index.d.ts +1 -0
  84. package/lib/Empty/style/index.js +3 -0
  85. package/lib/Empty/style/index.less +23 -0
  86. package/lib/Icon/iconfont/demo_index.html +26 -3
  87. package/lib/Icon/iconfont/iconfont.css +7 -3
  88. package/lib/Icon/iconfont/iconfont.js +1 -1
  89. package/lib/Icon/iconfont/iconfont.json +7 -0
  90. package/lib/Icon/iconfont/iconfont.ttf +0 -0
  91. package/lib/Icon/iconfont/iconfont.woff +0 -0
  92. package/lib/Icon/iconfont/iconfont.woff2 +0 -0
  93. package/lib/Icon/index.less +2 -2
  94. package/lib/Input/components/Group/index.d.ts +0 -1
  95. package/lib/Input/components/Password/index.d.ts +0 -1
  96. package/lib/Menu/Divider.d.ts +0 -1
  97. package/lib/Menu/style/index.less +4 -0
  98. package/lib/Navigator/components/Menu/index.d.ts +19 -0
  99. package/lib/Navigator/components/Menu/index.js +205 -0
  100. package/lib/Navigator/demo/basic/index.d.ts +4 -0
  101. package/lib/Navigator/demo/basic/index.js +62 -0
  102. package/lib/Navigator/demo/basic/index.less +3 -0
  103. package/lib/Navigator/demo/example/index.d.ts +4 -0
  104. package/lib/Navigator/demo/example/index.js +179 -0
  105. package/lib/Navigator/demo/example/index.less +10 -0
  106. package/lib/Navigator/demo/logo.png +0 -0
  107. package/lib/Navigator/demo/menuWithFooter/index.d.ts +4 -0
  108. package/lib/Navigator/demo/menuWithFooter/index.js +92 -0
  109. package/lib/Navigator/demo/menuWithFooter/index.less +3 -0
  110. package/lib/Navigator/demo/subMenu/index.d.ts +4 -0
  111. package/lib/Navigator/demo/subMenu/index.js +88 -0
  112. package/lib/Navigator/demo/subMenu/index.less +3 -0
  113. package/lib/Navigator/index.d.ts +41 -0
  114. package/lib/Navigator/index.js +64 -0
  115. package/lib/Navigator/style/index.d.ts +2 -0
  116. package/lib/Navigator/style/index.js +5 -0
  117. package/lib/Navigator/style/index.less +224 -0
  118. package/lib/Select/OptionsList/OptionItem/RenderTooltip.js +3 -5
  119. package/lib/Select/OptionsList/Options.d.ts +2 -2
  120. package/lib/Select/OptionsList/index.js +1 -1
  121. package/lib/Select/Selector/index.d.ts +2 -2
  122. package/lib/Select/Selector/index.js +11 -8
  123. package/lib/Select/demo/single/index.d.ts +1 -0
  124. package/lib/Select/demo/single/index.js +5 -1
  125. package/lib/Select/demo/single/index.less +5 -0
  126. package/lib/Select/interface.d.ts +1 -2
  127. package/lib/Select/style/index.less +2 -10
  128. package/lib/Table/demo/basic/createData.d.ts +9 -0
  129. package/lib/Table/demo/basic/createData.js +23 -0
  130. package/lib/Table/demo/basic/index.d.ts +2 -0
  131. package/lib/Table/demo/basic/index.js +80 -0
  132. package/lib/Table/demo/editCell/index.d.ts +2 -0
  133. package/lib/Table/demo/editCell/index.js +54 -0
  134. package/lib/Table/demo/renderHeaderRight/index.d.ts +2 -0
  135. package/lib/Table/demo/renderHeaderRight/index.js +52 -0
  136. package/lib/Table/demo/rowSelect/index.d.ts +2 -0
  137. package/lib/Table/demo/rowSelect/index.js +55 -0
  138. package/lib/Table/demo/virtualList/index.d.ts +2 -0
  139. package/lib/Table/demo/virtualList/index.js +103 -0
  140. package/lib/Table/index.d.ts +5 -0
  141. package/lib/Table/index.js +225 -0
  142. package/lib/Table/interface.d.ts +14 -0
  143. package/lib/Table/interface.js +5 -0
  144. package/lib/Table/style/index.d.ts +2 -0
  145. package/lib/Table/style/index.js +5 -0
  146. package/lib/Table/style/index.less +111 -0
  147. package/lib/Tooltip/index.d.ts +1 -0
  148. package/lib/Tooltip/index.js +3 -1
  149. package/lib/index.d.ts +2 -0
  150. package/lib/index.js +16 -0
  151. package/lib/style/themes/default/index.less +1 -1
  152. package/lib/style/themes/default/{themeColor.less → themeColor.module.less} +0 -0
  153. package/lib/style/themes/default/themeColor.module.less.d.ts +108 -0
  154. package/package.json +13 -5
@@ -0,0 +1,108 @@
1
+ // This file is automatically generated.
2
+ // Please do not change this file!
3
+ interface CssExports {
4
+ 'B10': string;
5
+ 'B20': string;
6
+ 'B30': string;
7
+ 'B40': string;
8
+ 'B50': string;
9
+ 'B60': string;
10
+ 'B70': string;
11
+ 'B80': string;
12
+ 'B90': string;
13
+ 'B95': string;
14
+ 'B98': string;
15
+ 'BBG10': string;
16
+ 'BBG15': string;
17
+ 'BBG20': string;
18
+ 'BBG30': string;
19
+ 'BBG40': string;
20
+ 'BBG50': string;
21
+ 'BBG60': string;
22
+ 'BBG70': string;
23
+ 'BBG80': string;
24
+ 'BBG90': string;
25
+ 'BBG95': string;
26
+ 'BBG97': string;
27
+ 'BBG98': string;
28
+ 'BG0': string;
29
+ 'BG10': string;
30
+ 'BG100': string;
31
+ 'BG20': string;
32
+ 'BG30': string;
33
+ 'BG40': string;
34
+ 'BG50': string;
35
+ 'BG60': string;
36
+ 'BG70': string;
37
+ 'BG80': string;
38
+ 'BG90': string;
39
+ 'BG95': string;
40
+ 'BG97': string;
41
+ 'BLACK': string;
42
+ 'IMAGE_HOLDER': string;
43
+ 'MATE': string;
44
+ 'ND0': string;
45
+ 'ND10': string;
46
+ 'ND20': string;
47
+ 'ND30': string;
48
+ 'ND40': string;
49
+ 'ND50': string;
50
+ 'ND60': string;
51
+ 'ND70': string;
52
+ 'ND80': string;
53
+ 'ND90': string;
54
+ 'ND95': string;
55
+ 'ND97': string;
56
+ 'NL0': string;
57
+ 'NL10': string;
58
+ 'NL20': string;
59
+ 'NL30': string;
60
+ 'NL40': string;
61
+ 'NL50': string;
62
+ 'NL60': string;
63
+ 'NL70': string;
64
+ 'NL80': string;
65
+ 'NL90': string;
66
+ 'NL95': string;
67
+ 'NL97': string;
68
+ 'SA10': string;
69
+ 'SA20': string;
70
+ 'SA30': string;
71
+ 'SA40': string;
72
+ 'SA50': string;
73
+ 'SA60': string;
74
+ 'SA70': string;
75
+ 'SA80': string;
76
+ 'SA90': string;
77
+ 'SA95': string;
78
+ 'SA98': string;
79
+ 'SB10': string;
80
+ 'SB20': string;
81
+ 'SB30': string;
82
+ 'SB40': string;
83
+ 'SB50': string;
84
+ 'SB60': string;
85
+ 'SB70': string;
86
+ 'SB80': string;
87
+ 'SB90': string;
88
+ 'SB95': string;
89
+ 'SB98': string;
90
+ 'SC10': string;
91
+ 'SC20': string;
92
+ 'SC30': string;
93
+ 'SC40': string;
94
+ 'SC50': string;
95
+ 'SC60': string;
96
+ 'SC70': string;
97
+ 'SC80': string;
98
+ 'SC90': string;
99
+ 'SC95': string;
100
+ 'SC98': string;
101
+ 'SHADOW_ACTIONSHEET': string;
102
+ 'SHADOW_CARD': string;
103
+ 'SHADOW_NOTIFICATION': string;
104
+ 'SHADOW_OPTION': string;
105
+ 'WHITE': string;
106
+ }
107
+ export const cssExports: CssExports;
108
+ export default cssExports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "0.1.0-beta.3",
3
+ "version": "0.2.0-beta.1",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -42,7 +42,6 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@ant-design/icons": "^4.7.0",
45
- "@types/react-truncate": "^2.3.4",
46
45
  "antd": "^4.18.6",
47
46
  "classnames": "^2.3.1",
48
47
  "lodash": "^4.17.21",
@@ -50,8 +49,9 @@
50
49
  "rc-overflow": "^1.2.3",
51
50
  "rc-trigger": "^5.2.10",
52
51
  "rc-virtual-list": "^3.4.2",
53
- "react": "^16.12.0 || ^17.0.0",
54
- "react-dom": "^16.12.0 || ^17.0.0"
52
+ "react-table": "^7.7.0",
53
+ "react-window": "^1.8.6",
54
+ "react-window-infinite-loader": "^1.0.7"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@aloudata/eslint-config-base": "^0.0.6",
@@ -61,6 +61,10 @@
61
61
  "@testing-library/react": "^12.1.2",
62
62
  "@types/jest": "^27.0.3",
63
63
  "@types/lodash": "^4.14.178",
64
+ "@types/react-table": "^7.7.9",
65
+ "@types/react-window": "^1.8.5",
66
+ "@types/react-truncate": "^2.3.4",
67
+ "@types/react-window-infinite-loader": "^1.0.6",
64
68
  "@umijs/fabric": "^2.8.1",
65
69
  "@umijs/test": "^3.0.5",
66
70
  "babel-plugin-import": "^1.13.3",
@@ -71,7 +75,7 @@
71
75
  "eslint-plugin-jsx-a11y": "^6.4.1",
72
76
  "eslint-plugin-react": "^7.24.0",
73
77
  "eslint-plugin-react-hooks": "^4.2.0",
74
- "father-build": "^1.17.2",
78
+ "father-build": "^1.21.2",
75
79
  "gh-pages": "^3.0.0",
76
80
  "husky": "^3.0.9",
77
81
  "lint-staged": "^10.0.7",
@@ -83,6 +87,10 @@
83
87
  "typescript": "4.1.2",
84
88
  "yorkie": "^2.0.0"
85
89
  },
90
+ "peerDependencies": {
91
+ "react": "^16.12.0 || ^17.0.0",
92
+ "react-dom": "^16.12.0 || ^17.0.0"
93
+ },
86
94
  "jest": {
87
95
  "setupFiles": [
88
96
  "./jest/setupTests.js"