@mxmweb/zui 1.0.3 → 1.1.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 (132) hide show
  1. package/.editorconfig +38 -0
  2. package/.prettierignore +16 -0
  3. package/.prettierrc +17 -0
  4. package/.releaserc.json +36 -0
  5. package/CHANGELOG.md +58 -0
  6. package/CONTRIBUTING.md +111 -0
  7. package/NPMREADME.md +0 -0
  8. package/README.md +4 -1
  9. package/bash.exe.stackdump +40 -0
  10. package/components.json +21 -0
  11. package/dist/README.md +0 -0
  12. package/dist/assets/style.css +1 -0
  13. package/{containers → dist/containers}/DashboardContainer.d.ts +8 -0
  14. package/dist/containers/DockContainer.d.ts +24 -0
  15. package/{elements → dist/elements}/Button.d.ts +3 -4
  16. package/dist/elements/CustomDock.d.ts +25 -0
  17. package/dist/elements/DropDownButton.d.ts +24 -0
  18. package/{elements → dist/elements}/DropdownMenu.d.ts +2 -4
  19. package/dist/elements/GoggleNavbar.d.ts +31 -0
  20. package/{elements → dist/elements}/Uploader/UploadItem.d.ts +17 -0
  21. package/{elements → dist/elements}/Uploader/styles.d.ts +10 -1
  22. package/dist/elements/Uploader/types.d.ts +87 -0
  23. package/dist/examples/DockContainerExample.d.ts +3 -0
  24. package/dist/icons/Icon.d.ts +7 -0
  25. package/dist/icons/Icon.tsx +82 -0
  26. package/dist/icons/index.d.ts +13 -0
  27. package/dist/icons/index.tsx +92 -0
  28. package/dist/icons/lazyIndex.d.ts +7 -0
  29. package/dist/icons/lazyIndex.tsx +49 -0
  30. package/dist/icons/rag/csv.svg +3 -0
  31. package/dist/icons/rag/document.svg +3 -0
  32. package/dist/icons/rag/excel.svg +3 -0
  33. package/dist/icons/rag/file.svg +3 -0
  34. package/dist/icons/rag/folder.svg +5 -0
  35. package/dist/icons/rag/json.svg +3 -0
  36. package/dist/icons/rag/knowledgebase.svg +3 -0
  37. package/dist/icons/rag/netretrive.svg +3 -0
  38. package/dist/icons/rag/odf.svg +7 -0
  39. package/dist/icons/rag/pdf.svg +3 -0
  40. package/dist/icons/rag/pic.svg +3 -0
  41. package/dist/icons/rag/ppt.svg +3 -0
  42. package/dist/icons/rag/think.svg +6 -0
  43. package/dist/icons/rag/txt.svg +3 -0
  44. package/dist/icons/rag/url.svg +3 -0
  45. package/dist/icons/rag/word.svg +3 -0
  46. package/dist/icons/rag/wps.svg +3 -0
  47. package/dist/icons/rag/zip.svg +7 -0
  48. package/dist/index.js +2299 -0
  49. package/dist/lib_enter.d.ts +13 -0
  50. package/dist/package.json +26 -0
  51. package/{theme → dist/theme}/styledTheme.d.ts +40 -54
  52. package/eslint.config.js +92 -0
  53. package/index.html +13 -0
  54. package/package.json +42 -14
  55. package/postcss.config.cjs +19 -0
  56. package/public/mock.csv +16 -0
  57. package/public/mock_/345/211/257/346/234/254.csv +16 -0
  58. package/public/vite.svg +1 -0
  59. package/src/Preview.tsx +15 -0
  60. package/src/assets/img/excel.png +0 -0
  61. package/src/assets/img/img.png +0 -0
  62. package/src/assets/img/pdf.png +0 -0
  63. package/src/assets/img/ppt.png +0 -0
  64. package/src/assets/img/txt.png +0 -0
  65. package/src/assets/img/word.png +0 -0
  66. package/src/containers/DashboardContainer.tsx +507 -0
  67. package/src/containers/DockContainer.tsx +186 -0
  68. package/src/containers/style.css +37 -0
  69. package/src/elements/Button.tsx +118 -0
  70. package/src/elements/CustomDock.tsx +287 -0
  71. package/src/elements/DropDownButton.tsx +249 -0
  72. package/src/elements/DropdownMenu.tsx +184 -0
  73. package/src/elements/GoggleNavbar.tsx +184 -0
  74. package/src/elements/Uploader/README.md +249 -0
  75. package/src/elements/Uploader/UploadItem.tsx +298 -0
  76. package/src/elements/Uploader/example.tsx +95 -0
  77. package/src/elements/Uploader/index.tsx +702 -0
  78. package/src/elements/Uploader/styles.tsx +291 -0
  79. package/src/elements/Uploader/types.ts +119 -0
  80. package/src/elements/Uploader/utils.ts +200 -0
  81. package/src/elements/Uploader.tsx +3 -0
  82. package/src/examples/DockContainerExample.tsx +237 -0
  83. package/src/icons/Icon.tsx +82 -0
  84. package/src/icons/index.tsx +92 -0
  85. package/src/icons/lazyIndex.tsx +49 -0
  86. package/src/icons/rag/csv.svg +3 -0
  87. package/src/icons/rag/document.svg +3 -0
  88. package/src/icons/rag/excel.svg +3 -0
  89. package/src/icons/rag/file.svg +3 -0
  90. package/src/icons/rag/folder.svg +5 -0
  91. package/src/icons/rag/json.svg +3 -0
  92. package/src/icons/rag/knowledgebase.svg +3 -0
  93. package/src/icons/rag/netretrive.svg +3 -0
  94. package/src/icons/rag/odf.svg +7 -0
  95. package/src/icons/rag/pdf.svg +3 -0
  96. package/src/icons/rag/pic.svg +3 -0
  97. package/src/icons/rag/ppt.svg +3 -0
  98. package/src/icons/rag/think.svg +6 -0
  99. package/src/icons/rag/txt.svg +3 -0
  100. package/src/icons/rag/url.svg +3 -0
  101. package/src/icons/rag/word.svg +3 -0
  102. package/src/icons/rag/wps.svg +3 -0
  103. package/src/icons/rag/zip.svg +7 -0
  104. package/src/lib_enter.ts +27 -0
  105. package/src/main.tsx +11 -0
  106. package/src/style.css +9 -0
  107. package/src/theme/styledTheme.tsx +253 -0
  108. package/src/type.d.ts +0 -0
  109. package/src/types/images.d.ts +12 -0
  110. package/src/types/svg-modules.d.ts +24 -0
  111. package/src/vite-env.d.ts +11 -0
  112. package/tailwind.config.js +170 -0
  113. package/tsconfig.app.json +29 -0
  114. package/tsconfig.app.tsbuildinfo +11 -0
  115. package/tsconfig.json +13 -0
  116. package/tsconfig.node.json +22 -0
  117. package/tsconfig.node.tsbuildinfo +1 -0
  118. package/vite.config.ts +180 -0
  119. package/assets/zui.css +0 -1
  120. package/elements/Uploader/types.d.ts +0 -50
  121. package/index-CgFHm4CL-O5tUkbrp.js +0 -48009
  122. package/index.js +0 -49394
  123. package/lib_enter.d.ts +0 -6
  124. /package/{Preview.d.ts → dist/Preview.d.ts} +0 -0
  125. /package/{elements → dist/elements}/Uploader/example.d.ts +0 -0
  126. /package/{elements → dist/elements}/Uploader/index.d.ts +0 -0
  127. /package/{elements → dist/elements}/Uploader/utils.d.ts +0 -0
  128. /package/{elements → dist/elements}/Uploader.d.ts +0 -0
  129. /package/{main.d.ts → dist/main.d.ts} +0 -0
  130. /package/{mock.csv → dist/mock.csv} +0 -0
  131. /package/{mock_ → dist/mock_}/345/211/257/346/234/254.csv" +0 -0
  132. /package/{vite.svg → dist/vite.svg} +0 -0
@@ -0,0 +1,13 @@
1
+ import { default as Button } from './elements/Button';
2
+ import { default as GoggleNavbar } from './elements/GoggleNavbar';
3
+ import { default as MoreDropdown } from './elements/DropdownMenu';
4
+ import { default as Uploader } from './elements/Uploader';
5
+ import { default as DropDownButton } from './elements/DropDownButton';
6
+ import { default as CustomDock } from './elements/CustomDock';
7
+ import { default as DashboardContainer } from './containers/DashboardContainer';
8
+ import { default as DockContainer } from './containers/DockContainer';
9
+ import { defaultTheme, deepMergeTheme, Styles } from './theme/styledTheme';
10
+ export { Button, MoreDropdown, Uploader, DropDownButton, GoggleNavbar, CustomDock };
11
+ export { DashboardContainer, DockContainer };
12
+ export { defaultTheme, deepMergeTheme, type Styles };
13
+ export { default as Icon } from './icons/Icon';
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@mxmweb/zui",
3
+ "main": "index.js",
4
+ "license": "MIT",
5
+ "style": "assets/style.css",
6
+ "types": "lib_enter.d.ts",
7
+ "private": false,
8
+ "version": "1.1.0",
9
+ "author": "hanfeng_Zhang",
10
+ "type": "module",
11
+ "scripts": {
12
+ "test": "yarn link",
13
+ "disconnect": "yarn unlink"
14
+ },
15
+ "exports": {
16
+ ".": {
17
+ "types": "./lib_enter.d.ts",
18
+ "import": "./index.js",
19
+ "default": "./index.js"
20
+ },
21
+ "./style.css": "./assets/style.css"
22
+ },
23
+ "dependencies": {
24
+ "@mxmweb/xviewer": "workspace:*"
25
+ }
26
+ }
@@ -2,11 +2,6 @@ import { default as React } from 'react';
2
2
  export type SizeType = 'sm' | 'md' | 'lg';
3
3
  export type FontWeightType = 'normal' | 'bold' | 'thin';
4
4
  export type FontFamilyType = 'default' | 'serif' | 'mono';
5
- export interface AiChatStyles {
6
- theme?: AppTheme;
7
- mode?: 'light' | 'dark';
8
- [key: string]: any;
9
- }
10
5
  export interface ThemeColors {
11
6
  primary: string;
12
7
  secondary: string;
@@ -21,10 +16,39 @@ export interface ThemeColors {
21
16
  disabledBackground: string;
22
17
  disabledText: string;
23
18
  textSecondary?: string;
19
+ textTertiary?: string;
20
+ textInverse?: string;
24
21
  shadow?: string;
25
22
  appBackground?: string;
26
23
  listBackground?: string;
27
24
  dashboardBackground?: string;
25
+ primaryHover?: string;
26
+ primaryActive?: string;
27
+ borderWeak?: string;
28
+ surfaceSubtle?: string;
29
+ surfaceSelected?: string;
30
+ btnPrimaryBg?: string;
31
+ btnPrimaryBgHover?: string;
32
+ btnPrimaryBgActive?: string;
33
+ btnPrimaryBgDisabled?: string;
34
+ btnPrimaryText?: string;
35
+ btnPrimaryTextDisabled?: string;
36
+ btnSecondaryText?: string;
37
+ btnSecondaryTextHover?: string;
38
+ btnSecondaryTextActive?: string;
39
+ btnSecondaryTextDisabled?: string;
40
+ btnSecondaryBg?: string;
41
+ btnSecondaryBgHover?: string;
42
+ btnSecondaryBgActive?: string;
43
+ btnSecondaryBgDisabled?: string;
44
+ btnSecondaryBorder?: string;
45
+ btnSecondaryBorderHover?: string;
46
+ btnSecondaryBorderActive?: string;
47
+ btnSecondaryBorderDisabled?: string;
48
+ btnTextText?: string;
49
+ btnTextTextHover?: string;
50
+ btnTextTextActive?: string;
51
+ btnTextTextDisabled?: string;
28
52
  [key: string]: any;
29
53
  }
30
54
  export interface ThemeOthers {
@@ -62,54 +86,16 @@ export interface AppTheme {
62
86
  others?: ThemeOthers;
63
87
  }
64
88
  export declare const defaultTheme: AppTheme;
65
- export declare const sidebarMap: {
66
- sm: string;
67
- md: string;
68
- lg: string;
69
- };
70
- export declare const sizeMap: {
71
- sm: string;
72
- md: string;
73
- lg: string;
74
- };
75
- export declare const radiusMap: {
76
- sm: string;
77
- md: string;
78
- lg: string;
79
- };
80
- export declare const paddingMap: {
81
- sm: string;
82
- md: string;
83
- lg: string;
84
- };
85
- export declare const marginMap: {
86
- sm: string;
87
- md: string;
88
- lg: string;
89
- };
90
- export declare const shadowMap: {
91
- sm: string;
92
- md: string;
93
- lg: string;
94
- };
95
- export declare const lineHeightMap: {
96
- sm: string;
97
- md: string;
98
- lg: string;
99
- };
100
- export declare function deepMergeTheme(defaultTheme: AppTheme, customTheme?: Partial<AppTheme>): AppTheme;
101
- export declare function mapSpaceToCssValue(space: Record<string, string>): {
102
- size: string;
103
- radius: string;
104
- padding: string;
105
- margin: string;
106
- shadow: string;
107
- lineHeight: string;
108
- sidebar: string;
109
- };
110
- export declare const ThemeContext: React.Context<AppTheme>;
111
- export declare const useTheme: () => AppTheme;
112
- export declare const ThemeProvider: ({ theme, children }: {
113
- theme: AppTheme;
89
+ export declare const defaultStyles: Styles;
90
+ export interface Styles {
91
+ theme?: AppTheme;
92
+ mode?: 'light' | 'dark';
93
+ [key: string]: any;
94
+ }
95
+ export declare function deepMergeTheme(baseStyles: Styles, customStyles?: Partial<Styles>): Styles;
96
+ export declare const ThemeContext: React.Context<Styles>;
97
+ export declare const useTheme: () => Styles;
98
+ export declare const ThemeProvider: ({ styles, children }: {
99
+ styles: Styles;
114
100
  children: React.ReactNode;
115
101
  }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,92 @@
1
+ import js from "@eslint/js";
2
+ import globals from "globals";
3
+ import reactHooks from "eslint-plugin-react-hooks";
4
+ import reactRefresh from "eslint-plugin-react-refresh";
5
+ import tseslint from "typescript-eslint";
6
+ import reactPlugin from "eslint-plugin-react";
7
+ import importPlugin from "eslint-plugin-import";
8
+ import jsxA11yPlugin from "eslint-plugin-jsx-a11y";
9
+ import prettierPlugin from "eslint-plugin-prettier";
10
+
11
+ export default tseslint.config(
12
+ { ignores: ["dist", "node_modules", "coverage"] },
13
+ {
14
+ extends: [
15
+ js.configs.recommended,
16
+ ...tseslint.configs.recommended,
17
+ "plugin:react/recommended",
18
+ "plugin:react-hooks/recommended",
19
+ "plugin:react-refresh/recommended",
20
+ "plugin:prettier/recommended",
21
+ "plugin:import/recommended",
22
+ "plugin:import/typescript",
23
+ "plugin:jsx-a11y/recommended",
24
+ ],
25
+ files: ["**/*.{ts,tsx}"],
26
+ languageOptions: {
27
+ ecmaVersion: 2020,
28
+ globals: {
29
+ ...globals.browser,
30
+ ...globals.node,
31
+ },
32
+ parserOptions: {
33
+ ecmaFeatures: {
34
+ jsx: true,
35
+ },
36
+ sourceType: "module",
37
+ },
38
+ },
39
+ plugins: {
40
+ "react": reactPlugin,
41
+ "react-hooks": reactHooks,
42
+ "react-refresh": reactRefresh,
43
+ "@typescript-eslint": tseslint.plugin,
44
+ "import": importPlugin,
45
+ "jsx-a11y": jsxA11yPlugin,
46
+ "prettier": prettierPlugin,
47
+ },
48
+ settings: {
49
+ react: {
50
+ version: "detect",
51
+ },
52
+ "import/resolver": {
53
+ typescript: {},
54
+ node: {
55
+ extensions: [".js", ".jsx", ".ts", ".tsx"],
56
+ },
57
+ },
58
+ },
59
+ rules: {
60
+ // React 相关规则
61
+ "react/react-in-jsx-scope": "off",
62
+ "react/prop-types": "off",
63
+ "react/jsx-uses-react": "off",
64
+ "react-hooks/rules-of-hooks": "error",
65
+ "react-hooks/exhaustive-deps": "warn",
66
+ "react-refresh/only-export-components": [
67
+ "warn",
68
+ { allowConstantExports: true },
69
+ ],
70
+
71
+ // TypeScript 相关规则
72
+ "@typescript-eslint/explicit-module-boundary-types": "off",
73
+ "@typescript-eslint/no-explicit-any": "warn",
74
+ "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
75
+
76
+ // 导入相关规则
77
+ "import/order": [
78
+ "error",
79
+ {
80
+ groups: ["builtin", "external", "internal", "parent", "sibling", "index"],
81
+ "newlines-between": "always",
82
+ alphabetize: { order: "asc", caseInsensitive: true },
83
+ },
84
+ ],
85
+
86
+ // 通用规则
87
+ "no-console": ["warn", { allow: ["warn", "error"] }],
88
+ "prettier/prettier": "error",
89
+ "no-unused-vars": "off", // 使用 @typescript-eslint/no-unused-vars 替代
90
+ },
91
+ }
92
+ );
package/index.html ADDED
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>UI 组件库预览</title>
8
+ </head>
9
+ <body>
10
+ <div id="root"></div>
11
+ <script type="module" src="/src/main.tsx"></script>
12
+ </body>
13
+ </html>
package/package.json CHANGED
@@ -1,23 +1,51 @@
1
1
  {
2
2
  "name": "@mxmweb/zui",
3
- "main": "index.js",
4
- "license": "MIT",
5
- "style": "assets/style.css",
6
- "types": "lib_enter.d.ts",
7
- "private": false,
8
- "version": "1.0.3",
9
3
  "author": "hanfeng_Zhang",
4
+ "version": "1.1.0",
10
5
  "type": "module",
11
- "scripts": {
12
- "test": "yarn link",
13
- "disconnect": "yarn unlink"
14
- },
6
+ "main": "dist/index.js",
7
+ "types": "dist/lib_enter.d.ts",
15
8
  "exports": {
16
9
  ".": {
17
- "types": "./lib_enter.d.ts",
18
- "import": "./index.js",
19
- "default": "./index.js"
10
+ "types": "./dist/lib_enter.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
20
13
  },
21
- "./style.css": "./assets/style.css"
14
+ "./style.css": "./dist/assets/style.css",
15
+ "./icons/*": "./dist/icons/*"
16
+ },
17
+ "scripts": {
18
+ "dev": "vite",
19
+ "build": "vite build --mode production",
20
+ "publish": "npm publish --access public",
21
+ "preview": "vite preview",
22
+ "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
23
+ "lint:fix": "eslint src --ext ts,tsx --fix",
24
+ "format": "prettier --write \"src/**/*.{ts,tsx,css,md}\"",
25
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,css,md}\"",
26
+ "release": "semantic-release",
27
+ "release:dry": "semantic-release --dry-run"
28
+ },
29
+ "dependencies": {
30
+ "@mxmweb/xviewer": "workspace:*"
31
+ },
32
+ "peerDependencies": {
33
+ "react": "*",
34
+ "react-dom": "*",
35
+ "styled-components": "*",
36
+ "animejs": "*"
37
+ },
38
+ "include": [
39
+ "src/application/**/*"
40
+ ],
41
+ "exclude": [
42
+ "node_modules",
43
+ "src/main.tsx",
44
+ "src/Preview.tsx",
45
+ "type.d.ts",
46
+ "vite-env.d.ts"
47
+ ],
48
+ "devDependencies": {
49
+ "@types/validator": "^13.15.3"
22
50
  }
23
51
  }
@@ -0,0 +1,19 @@
1
+ module.exports = {
2
+ plugins: [
3
+ require('@tailwindcss/postcss')(),
4
+ // 自定义插件:去除所有@layer指令,展开为普通CSS
5
+ function discardLayerPlugin() {
6
+ return {
7
+ postcssPlugin: 'discard-layer',
8
+ AtRule: {
9
+ layer: (atRule) => {
10
+ atRule.replaceWith(atRule.nodes || []);
11
+ }
12
+ }
13
+ }
14
+ },
15
+ require('autoprefixer')(),
16
+ ]
17
+ };
18
+ // 标记自定义插件为postcss插件
19
+ module.exports.plugins[1].postcss = true;
@@ -0,0 +1,16 @@
1
+ id,name,age,gender,email,phone,address,company,position,salary
2
+ 1,张三,28,男,zhangsan@example.com,13800000001,北京市朝阳区,字节跳动,前端工程师,18000
3
+ 2,李四,32,女,lis4@example.com,13800000002,上海市浦东新区,阿里巴巴,产品经理,22000
4
+ 3,王五,25,男,wangwu@example.com,13800000003,深圳市南山区,腾讯,后端工程师,17000
5
+ 4,赵六,29,女,zhaoliu@example.com,13800000004,杭州市西湖区,网易,UI设计师,16000
6
+ 5,钱七,35,男,qianqi@example.com,13800000005,广州市天河区,美团,测试工程师,15000
7
+ 6,孙八,27,女,sunba@example.com,13800000006,成都市高新区,京东,数据分析师,20000
8
+ 7,周九,31,男,zhoujiu@example.com,13800000007,南京市鼓楼区,小米,运维工程师,15500
9
+ 8,吴十,26,女,wushi@example.com,13800000008,武汉市武昌区,拼多多,市场专员,14000
10
+ 9,郑十一,30,男,zheng11@example.com,13800000009,重庆市渝中区,百度,算法工程师,23000
11
+ 10,冯十二,33,女,feng12@example.com,13800000010,苏州市工业园区,携程,HR,13500
12
+ 11,陈十三,24,男,chen13@example.com,13800000011,天津市和平区,滴滴,前端工程师,17500
13
+ 12,褚十四,28,女,chu14@example.com,13800000012,青岛市市南区,快手,产品经理,21000
14
+ 13,卫十五,29,男,wei15@example.com,13800000013,厦门市思明区,知乎,后端工程师,16500
15
+ 14,蒋十六,27,女,jiang16@example.com,13800000014,合肥市包河区,B站,UI设计师,15800
16
+ 15,沈十七,34,男,shen17@example.com,13800000015,福州市鼓楼区,字节跳动,测试工程师,15200
@@ -0,0 +1,16 @@
1
+ id,name,age,gender,email,phone,address,company,position,salary
2
+ 1,张三,28,男,zhangsan@example.com,13800000001,北京市朝阳区,字节跳动,前端工程师,18000
3
+ 2,李四,32,女,lis4@example.com,13800000002,上海市浦东新区,阿里巴巴,产品经理,22000
4
+ 3,王五,25,男,wangwu@example.com,13800000003,深圳市南山区,腾讯,后端工程师,17000
5
+ 4,赵六,29,女,zhaoliu@example.com,13800000004,杭州市西湖区,网易,UI设计师,16000
6
+ 5,钱七,35,男,qianqi@example.com,13800000005,广州市天河区,美团,测试工程师,15000
7
+ 6,孙八,27,女,sunba@example.com,13800000006,成都市高新区,京东,数据分析师,20000
8
+ 7,周九,31,男,zhoujiu@example.com,13800000007,南京市鼓楼区,小米,运维工程师,15500
9
+ 8,吴十,26,女,wushi@example.com,13800000008,武汉市武昌区,拼多多,市场专员,14000
10
+ 9,郑十一,30,男,zheng11@example.com,13800000009,重庆市渝中区,百度,算法工程师,23000
11
+ 10,冯十二,33,女,feng12@example.com,13800000010,苏州市工业园区,携程,HR,13500
12
+ 11,陈十三,24,男,chen13@example.com,13800000011,天津市和平区,滴滴,前端工程师,17500
13
+ 12,褚十四,28,女,chu14@example.com,13800000012,青岛市市南区,快手,产品经理,21000
14
+ 13,卫十五,29,男,wei15@example.com,13800000013,厦门市思明区,知乎,后端工程师,16500
15
+ 14,蒋十六,27,女,jiang16@example.com,13800000014,合肥市包河区,B站,UI设计师,15800
16
+ 15,沈十七,34,男,shen17@example.com,13800000015,福州市鼓楼区,字节跳动,测试工程师,15200
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import './style.css';
3
+ import DockContainerExample from './examples/DockContainerExample';
4
+
5
+ const Preview: React.FC = () => {
6
+
7
+ return(
8
+ <div className='w-screen h-screen relative'>
9
+ <DockContainerExample />
10
+ </div>
11
+ )
12
+
13
+ };
14
+
15
+ export default Preview;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file