@alifd/chat 0.1.16 → 0.2.0-beta.0

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 (65) hide show
  1. package/es/card/view/collapsable.d.ts +1 -1
  2. package/es/card-loading/index.d.ts +11 -0
  3. package/es/card-loading/index.js +18 -0
  4. package/es/card-loading/main.scss +5 -0
  5. package/es/card-loading/style.d.ts +2 -0
  6. package/es/card-loading/style.js +2 -0
  7. package/es/card-loading/types.d.ts +10 -0
  8. package/es/card-loading/types.js +1 -0
  9. package/es/feedback/types.d.ts +8 -0
  10. package/es/float-button/hooks/useAutoHide.d.ts +0 -1
  11. package/es/float-button/hooks/useDragable.d.ts +0 -1
  12. package/es/float-button/index.d.ts +0 -1
  13. package/es/index.d.ts +2 -0
  14. package/es/index.js +3 -1
  15. package/es/list/index.d.ts +8 -0
  16. package/es/list/index.js +8 -0
  17. package/es/list/style.d.ts +1 -0
  18. package/es/list/style.js +1 -0
  19. package/es/list/types.d.ts +93 -0
  20. package/es/list/types.js +1 -0
  21. package/es/message/index.d.ts +8 -8
  22. package/es/person-picker/index.d.ts +90 -90
  23. package/es/person-picker/index.js +2 -2
  24. package/es/tag/index.d.ts +18 -18
  25. package/lib/card/view/card.js +2 -3
  26. package/lib/card/view/collapsable.d.ts +1 -1
  27. package/lib/card-loading/index.d.ts +11 -0
  28. package/lib/card-loading/index.js +21 -0
  29. package/lib/card-loading/main.scss +5 -0
  30. package/lib/card-loading/style.d.ts +2 -0
  31. package/lib/card-loading/style.js +4 -0
  32. package/lib/card-loading/types.d.ts +10 -0
  33. package/lib/card-loading/types.js +2 -0
  34. package/lib/feedback/types.d.ts +8 -0
  35. package/lib/float-button/hooks/useAutoAlign.js +1 -2
  36. package/lib/float-button/hooks/useAutoHide.d.ts +0 -1
  37. package/lib/float-button/hooks/useAutoHide.js +1 -2
  38. package/lib/float-button/hooks/useDragable.d.ts +0 -1
  39. package/lib/float-button/hooks/useDragable.js +1 -2
  40. package/lib/float-button/hooks/useNestleEdge.js +1 -2
  41. package/lib/float-button/hooks/useTriggerType.js +1 -2
  42. package/lib/float-button/index.d.ts +0 -1
  43. package/lib/float-button/util.js +4 -5
  44. package/lib/float-button/view/balloon.js +1 -2
  45. package/lib/float-button/view/drawer.js +1 -2
  46. package/lib/float-button/view/inner-drawer.js +1 -2
  47. package/lib/index.d.ts +2 -0
  48. package/lib/index.js +21 -19
  49. package/lib/list/index.d.ts +8 -0
  50. package/lib/list/index.js +12 -0
  51. package/lib/list/style.d.ts +1 -0
  52. package/lib/list/style.js +3 -0
  53. package/lib/list/types.d.ts +93 -0
  54. package/lib/list/types.js +2 -0
  55. package/lib/message/index.d.ts +8 -8
  56. package/lib/person-picker/index.d.ts +90 -90
  57. package/lib/person-picker/index.js +2 -2
  58. package/lib/tag/index.d.ts +18 -18
  59. package/lib/utils/common.js +1 -2
  60. package/lib/utils/dingtalk.js +3 -4
  61. package/lib/utils/func.js +2 -3
  62. package/lib/utils/hooks/useControlable.js +1 -2
  63. package/lib/utils/hooks/useDebounce.js +1 -2
  64. package/lib/utils/hooks/useThrottle.js +1 -2
  65. package/package.json +25 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alifd/chat",
3
- "version": "0.1.16",
3
+ "version": "0.2.0-beta.0",
4
4
  "description": "A configurable component library for chat built on React.",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -205,6 +205,30 @@
205
205
  "./balloon/style.js": {
206
206
  "import": "./es/balloon/style.js",
207
207
  "require": "./lib/balloon/style.js"
208
+ },
209
+ "./list": {
210
+ "import": "./es/list/index.js",
211
+ "require": "./lib/list/index.js"
212
+ },
213
+ "./list/style": {
214
+ "import": "./es/list/style.js",
215
+ "require": "./lib/list/style.js"
216
+ },
217
+ "./list/style.js": {
218
+ "import": "./es/list/style.js",
219
+ "require": "./lib/list/style.js"
220
+ },
221
+ "./card-loading": {
222
+ "import": "./es/card-loading/index.js",
223
+ "require": "./lib/card-loading/index.js"
224
+ },
225
+ "./card-loading/style": {
226
+ "import": "./es/card-loading/style.js",
227
+ "require": "./lib/card-loading/style.js"
228
+ },
229
+ "./card-loading/style.js": {
230
+ "import": "./es/card-loading/style.js",
231
+ "require": "./lib/card-loading/style.js"
208
232
  }
209
233
  },
210
234
  "files": [