@baishuyun/ui-base 2.0.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 (50) hide show
  1. package/dist/Card/Card-DMXtN2pu.js +74 -0
  2. package/dist/Card/index.js +4 -0
  3. package/dist/ColorPicker/ColorPicker-CpPLwHR2.js +253 -0
  4. package/dist/ColorPicker/index.js +5 -0
  5. package/dist/Icon/Icon-C0bjP9U6.js +24 -0
  6. package/dist/Icon/index.js +4 -0
  7. package/dist/InputTag/index.js +137 -0
  8. package/dist/Modal/Modal-C1LEJ6Y0.js +80 -0
  9. package/dist/Modal/index.js +4 -0
  10. package/dist/animations/index.d.ts +118 -0
  11. package/dist/components/Card/Card.d.ts +4 -0
  12. package/dist/components/Card/Card.type.d.ts +42 -0
  13. package/dist/components/Card/index.d.ts +2 -0
  14. package/dist/components/ColorPicker/ColorPalettes.d.ts +15 -0
  15. package/dist/components/ColorPicker/ColorPicker.d.ts +3 -0
  16. package/dist/components/ColorPicker/ColorPicker.type.d.ts +25 -0
  17. package/dist/components/ColorPicker/constants.d.ts +2 -0
  18. package/dist/components/ColorPicker/index.d.ts +3 -0
  19. package/dist/components/ColorPicker/useFloatingColorPicker.d.ts +25 -0
  20. package/dist/components/DropDown/interface.d.ts +121 -0
  21. package/dist/components/Icon/Icon.d.ts +24 -0
  22. package/dist/components/Icon/index.d.ts +1 -0
  23. package/dist/components/InputTag/InputTag.d.ts +3 -0
  24. package/dist/components/InputTag/constants.d.ts +7 -0
  25. package/dist/components/InputTag/index.d.ts +2 -0
  26. package/dist/components/InputTag/interface.d.ts +32 -0
  27. package/dist/components/Modal/Modal.d.ts +4 -0
  28. package/dist/components/Modal/Modal.type.d.ts +22 -0
  29. package/dist/components/Modal/index.d.ts +1 -0
  30. package/dist/components/index.d.ts +5 -0
  31. package/dist/hooks/useDropdownSearch.d.ts +17 -0
  32. package/dist/hooks/useFloatingPortal.d.ts +20 -0
  33. package/dist/hooks/useLocale.d.ts +12 -0
  34. package/dist/hooks/useTagScrollWidth.d.ts +3 -0
  35. package/dist/index.js +61 -0
  36. package/dist/locale/LocaleContext.d.ts +9 -0
  37. package/dist/locale/LocaleProvider.d.ts +6 -0
  38. package/dist/locale/index.d.ts +1 -0
  39. package/dist/locale/lang/en-US.json.d.ts +64 -0
  40. package/dist/locale/lang/zh-CN.json.d.ts +64 -0
  41. package/dist/style.css +1 -0
  42. package/dist/utils/color.d.ts +9 -0
  43. package/dist/vendors/clsx-OuTLNxxd.js +16 -0
  44. package/dist/vendors/fuse.js-l0sNRNKZ.js +1 -0
  45. package/dist/vendors/lexical-Bz4mqKs6.js +3 -0
  46. package/dist/vendors/lodash-es-DP1ViCXF.js +262 -0
  47. package/dist/vendors/simplebar-react-svBEsTVC.js +408 -0
  48. package/dist/vendors/tinycolor2-Begv3Jc8.js +711 -0
  49. package/dist/vite-env.d.ts +3 -0
  50. package/package.json +102 -0
package/package.json ADDED
@@ -0,0 +1,102 @@
1
+ {
2
+ "name": "@baishuyun/ui-base",
3
+ "version": "2.0.0",
4
+ "type": "module",
5
+ "description": "百数云低代码平台通用组件库",
6
+ "author": "bsy-fe team",
7
+ "license": "ISC",
8
+ "main": "dist/index.js",
9
+ "module": "dist/index.js",
10
+ "types": "dist/index.d.ts",
11
+ "style": "dist/style.css",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://gitlab.baishuyun.com/bsy/bsy-ui-monorepo"
15
+ },
16
+ "homepage": "https://gitlab.baishuyun.com/bsy/bsy-ui-monorepo",
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "exports": {
21
+ ".": {
22
+ "import": "./dist/index.js",
23
+ "types": "./dist/components/index.d.ts"
24
+ },
25
+ "./style.css": "./dist/style.css",
26
+ "./locale": {
27
+ "import": "./dist/locale/index.js",
28
+ "types": "./dist/locale/index.d.ts"
29
+ },
30
+ "./*": {
31
+ "import": "./dist/*/index.js",
32
+ "types": "./dist/components/*/index.d.ts"
33
+ }
34
+ },
35
+ "files": [
36
+ "dist",
37
+ "README.md"
38
+ ],
39
+ "keywords": [],
40
+ "peerDependencies": {
41
+ "@ant-design/icons": ">=6.0.0",
42
+ "@floating-ui/react": ">=0.27.0",
43
+ "ahooks": ">=3.0.0",
44
+ "antd": ">=5.1.2",
45
+ "motion": "^11.18.2",
46
+ "react": ">=18.3.0",
47
+ "react-dom": ">=18.3.0",
48
+ "zustand": ">=4.5.6"
49
+ },
50
+ "dependencies": {
51
+ "@lexical/html": "^0.33.1",
52
+ "@lexical/link": "^0.33.1",
53
+ "@lexical/react": "^0.33.1",
54
+ "@lexical/rich-text": "^0.33.1",
55
+ "clsx": "^2.1.1",
56
+ "fuse.js": "^7.1.0",
57
+ "lexical": "^0.33.1",
58
+ "lodash-es": "^4.17.21",
59
+ "simplebar-react": "^3.3.2",
60
+ "tinycolor2": "^1.6.0"
61
+ },
62
+ "devDependencies": {
63
+ "@ant-design/icons": "^6.0.0",
64
+ "@tailwindcss/typography": "^0.5.16",
65
+ "@types/lodash-es": "^4.17.12",
66
+ "@types/node": "^24.3.0",
67
+ "@types/react": "^18.3.1",
68
+ "@types/react-dom": "^18.3.0",
69
+ "@types/tinycolor2": "^1.4.6",
70
+ "@vitejs/plugin-react": "^4.4.1",
71
+ "ahooks": "^3.8.5",
72
+ "antd": "^5.26.2",
73
+ "glob": "^11.0.3",
74
+ "immer": "^10.1.1",
75
+ "motion": "^11.18.2",
76
+ "postcss": "^8.5.3",
77
+ "react": "^19.1.0",
78
+ "react-dom": "^19.1.0",
79
+ "react-router-dom": "^7.6.2",
80
+ "sass": "^1.89.2",
81
+ "tailwindcss": "^3.0.0",
82
+ "tailwindcss-motion": "^1.1.0",
83
+ "vite": "^6.3.5",
84
+ "vite-plugin-dts": "^4.5.3",
85
+ "zustand": "4.5.6"
86
+ },
87
+ "project": {
88
+ "iconfont": {
89
+ "scriptUrl": "https://at.alicdn.com/t/c/font_4786625_jgu2jvbpehp.js"
90
+ }
91
+ },
92
+ "scripts": {
93
+ "build": "vite build",
94
+ "build:debug": "vite build --mode debug",
95
+ "build:watch": "vite build --watch",
96
+ "dev": "vite build --watch",
97
+ "type-check": "tsc --noEmit",
98
+ "lint": "eslint . --ext .ts,.tsx",
99
+ "lint:fix": "eslint . --ext .ts,.tsx --fix",
100
+ "clean": "rimraf dist"
101
+ }
102
+ }