@fle-ui/next 2.0.0-alpha.0 → 2.0.0-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
package/es/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from 'antd';
2
2
  export { default as ConfigProvider } from './config-provider';
3
- import './styles';
package/es/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from 'antd';
2
- export { default as ConfigProvider } from "./config-provider";
3
- import "./styles";
2
+ export { default as ConfigProvider } from "./config-provider";
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  ));
23
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
24
 
25
- // src/config-provider/index.tsx
25
+ // src/components/config-provider/index.tsx
26
26
  var config_provider_exports = {};
27
27
  __export(config_provider_exports, {
28
28
  default: () => config_provider_default
package/lib/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from 'antd';
2
2
  export { default as ConfigProvider } from './config-provider';
3
- import './styles';
package/lib/index.js CHANGED
@@ -23,15 +23,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
23
  ));
24
24
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
25
 
26
- // src/index.ts
27
- var src_exports = {};
28
- __export(src_exports, {
26
+ // src/components/index.ts
27
+ var components_exports = {};
28
+ __export(components_exports, {
29
29
  ConfigProvider: () => import_config_provider.default
30
30
  });
31
- module.exports = __toCommonJS(src_exports);
32
- __reExport(src_exports, require("antd"), module.exports);
31
+ module.exports = __toCommonJS(components_exports);
32
+ __reExport(components_exports, require("antd"), module.exports);
33
33
  var import_config_provider = __toESM(require("./config-provider"));
34
- var import_styles = require("./styles");
35
34
  // Annotate the CommonJS export names for ESM import in node:
36
35
  0 && (module.exports = {
37
36
  ConfigProvider
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fle-ui/next",
3
- "version": "2.0.0-alpha.0",
3
+ "version": "2.0.0-alpha.2",
4
4
  "description": "fle-ui组件库",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -8,6 +8,7 @@
8
8
  "types": "es/idnex.d.ts",
9
9
  "scripts": {
10
10
  "start": "npm run dev",
11
+ "test": "node config/build.ts",
11
12
  "dev": "dumi dev",
12
13
  "build": "father build",
13
14
  "build:watch": "father dev",
@@ -55,7 +56,6 @@
55
56
  "access": "public"
56
57
  },
57
58
  "peerDependencies": {
58
- "antd": "4.24.4",
59
59
  "moment": "^2.29.4",
60
60
  "react": ">=16.9.0",
61
61
  "react-dom": ">=16.9.0"
@@ -64,17 +64,24 @@
64
64
  "@commitlint/cli": "^17.1.2",
65
65
  "@commitlint/config-conventional": "^17.1.0",
66
66
  "@umijs/lint": "^4.0.0",
67
+ "babel-plugin-import": "^1.13.5",
67
68
  "dumi": "^2.0.0-rc.0",
68
69
  "eslint": "^8.23.0",
69
70
  "father": "^4.1.0",
71
+ "fs-extra": "^11.1.0",
70
72
  "husky": "^8.0.1",
73
+ "less-vars-to-js": "^1.3.0",
71
74
  "lint-staged": "^13.0.3",
72
75
  "prettier": "^2.7.1",
73
76
  "prettier-plugin-organize-imports": "^3.0.0",
74
77
  "prettier-plugin-packagejson": "^2.2.18",
75
78
  "react": "^18.0.0",
76
79
  "react-dom": "^18.0.0",
80
+ "rollup": "^3.5.1",
77
81
  "stylelint": "^14.9.1"
78
82
  },
79
- "dependencies": {}
83
+ "dependencies": {
84
+ "@alifd/theme-22858": "2.0.0",
85
+ "antd": "4.24.4"
86
+ }
80
87
  }
@@ -1 +0,0 @@
1
- import './theme.less';
@@ -1 +0,0 @@
1
- import "./theme.less";
@@ -1,33 +0,0 @@
1
- @primary-color: #2c68ff;
2
- @info-color: @primary-color;
3
- @success-color: #36c626;
4
- @warning-color: #ffab00;
5
- @error-color: #f42d2d;
6
-
7
- @heading-color: #262626;
8
- @text-color: #4c4c4c;
9
- @text-color-secondary: #a9a9a9;
10
-
11
- @border-color-split: #eeeeee;
12
-
13
- @border-radius-base: 4px;
14
- @border-color-base: #d2d2d2;
15
- @disabled-color: @text-color-secondary;
16
- @disabled-bg: #f1f1f1;
17
-
18
- @modal-header-padding: 20px 20px;
19
- // @modal-body-padding: 20px;
20
- // @modal-confirm-body-padding: 28px 28px 20px;
21
- @modal-header-close-size: 63px;
22
- @modal-footer-padding: 20px 20px;
23
- @modal-footer-padding-vertical: 16px;
24
- @modal-footer-padding-horizontal: 24px;
25
-
26
- @pagination-item-bg-active: @primary-color;
27
- @pagination-item-color-active: #ffffff;
28
- @pagination-font-weight-active: 400;
29
- @pagination-ellipsis-color: #d2d2d2;
30
-
31
- @table-header-cell-split-color: @border-color-split;
32
-
33
- @divider-color: @border-color-split;
@@ -1 +0,0 @@
1
- import './theme.less';
@@ -1,2 +0,0 @@
1
- // src/styles/index.ts
2
- var import_theme = require("./theme.less");
@@ -1,33 +0,0 @@
1
- @primary-color: #2c68ff;
2
- @info-color: @primary-color;
3
- @success-color: #36c626;
4
- @warning-color: #ffab00;
5
- @error-color: #f42d2d;
6
-
7
- @heading-color: #262626;
8
- @text-color: #4c4c4c;
9
- @text-color-secondary: #a9a9a9;
10
-
11
- @border-color-split: #eeeeee;
12
-
13
- @border-radius-base: 4px;
14
- @border-color-base: #d2d2d2;
15
- @disabled-color: @text-color-secondary;
16
- @disabled-bg: #f1f1f1;
17
-
18
- @modal-header-padding: 20px 20px;
19
- // @modal-body-padding: 20px;
20
- // @modal-confirm-body-padding: 28px 28px 20px;
21
- @modal-header-close-size: 63px;
22
- @modal-footer-padding: 20px 20px;
23
- @modal-footer-padding-vertical: 16px;
24
- @modal-footer-padding-horizontal: 24px;
25
-
26
- @pagination-item-bg-active: @primary-color;
27
- @pagination-item-color-active: #ffffff;
28
- @pagination-font-weight-active: 400;
29
- @pagination-ellipsis-color: #d2d2d2;
30
-
31
- @table-header-cell-split-color: @border-color-split;
32
-
33
- @divider-color: @border-color-split;