@fle-ui/next 2.0.0-alpha.1 → 2.0.0-alpha.11
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.
- package/README.md +1 -1
- package/dist/components.min.js +1 -0
- package/es/index.d.ts +0 -1
- package/es/index.js +1 -2
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -18
- package/package.json +34 -42
- package/dist/fui.min.css +0 -2
- package/dist/fui.min.js +0 -1
- package/es/config-provider/index.d.ts +0 -5
- package/es/config-provider/index.js +0 -14
- package/lib/config-provider/index.d.ts +0 -5
- package/lib/config-provider/index.js +0 -43
    
        package/es/index.d.ts
    CHANGED
    
    
    
        package/es/index.js
    CHANGED
    
    | @@ -1,2 +1 @@ | |
| 1 | 
            -
            export * from 'antd';
         | 
| 2 | 
            -
            export { default as ConfigProvider } from "./config-provider";
         | 
| 1 | 
            +
            export * from 'antd';
         | 
    
        package/lib/index.d.ts
    CHANGED
    
    
    
        package/lib/index.js
    CHANGED
    
    | @@ -1,13 +1,7 @@ | |
| 1 | 
            -
            var __create = Object.create;
         | 
| 2 1 | 
             
            var __defProp = Object.defineProperty;
         | 
| 3 2 | 
             
            var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
         | 
| 4 3 | 
             
            var __getOwnPropNames = Object.getOwnPropertyNames;
         | 
| 5 | 
            -
            var __getProtoOf = Object.getPrototypeOf;
         | 
| 6 4 | 
             
            var __hasOwnProp = Object.prototype.hasOwnProperty;
         | 
| 7 | 
            -
            var __export = (target, all) => {
         | 
| 8 | 
            -
              for (var name in all)
         | 
| 9 | 
            -
                __defProp(target, name, { get: all[name], enumerable: true });
         | 
| 10 | 
            -
            };
         | 
| 11 5 | 
             
            var __copyProps = (to, from, except, desc) => {
         | 
| 12 6 | 
             
              if (from && typeof from === "object" || typeof from === "function") {
         | 
| 13 7 | 
             
                for (let key of __getOwnPropNames(from))
         | 
| @@ -17,21 +11,9 @@ var __copyProps = (to, from, except, desc) => { | |
| 17 11 | 
             
              return to;
         | 
| 18 12 | 
             
            };
         | 
| 19 13 | 
             
            var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
         | 
| 20 | 
            -
            var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
         | 
| 21 | 
            -
              isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
         | 
| 22 | 
            -
              mod
         | 
| 23 | 
            -
            ));
         | 
| 24 14 | 
             
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         | 
| 25 15 |  | 
| 26 16 | 
             
            // src/components/index.ts
         | 
| 27 17 | 
             
            var components_exports = {};
         | 
| 28 | 
            -
            __export(components_exports, {
         | 
| 29 | 
            -
              ConfigProvider: () => import_config_provider.default
         | 
| 30 | 
            -
            });
         | 
| 31 18 | 
             
            module.exports = __toCommonJS(components_exports);
         | 
| 32 19 | 
             
            __reExport(components_exports, require("antd"), module.exports);
         | 
| 33 | 
            -
            var import_config_provider = __toESM(require("./config-provider"));
         | 
| 34 | 
            -
            // Annotate the CommonJS export names for ESM import in node:
         | 
| 35 | 
            -
            0 && (module.exports = {
         | 
| 36 | 
            -
              ConfigProvider
         | 
| 37 | 
            -
            });
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,35 +1,32 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
              "name": "@fle-ui/next",
         | 
| 3 | 
            -
              "version": "2.0.0-alpha. | 
| 3 | 
            +
              "version": "2.0.0-alpha.11",
         | 
| 4 4 | 
             
              "description": "fle-ui组件库",
         | 
| 5 | 
            +
              "license": "MIT",
         | 
| 5 6 | 
             
              "main": "lib/index.js",
         | 
| 6 | 
            -
              "module": "es/index.js",
         | 
| 7 7 | 
             
              "unpkg": "dist/fui.min.js",
         | 
| 8 | 
            -
              " | 
| 8 | 
            +
              "module": "es/index.js",
         | 
| 9 | 
            +
              "typings": "es/index.d.ts",
         | 
| 10 | 
            +
              "files": [
         | 
| 11 | 
            +
                "dist",
         | 
| 12 | 
            +
                "es",
         | 
| 13 | 
            +
                "lib",
         | 
| 14 | 
            +
                "locale"
         | 
| 15 | 
            +
              ],
         | 
| 9 16 | 
             
              "scripts": {
         | 
| 10 | 
            -
                "start": "npm run dev",
         | 
| 11 | 
            -
                "test": "node config/build.ts",
         | 
| 12 | 
            -
                "dev": "dumi dev",
         | 
| 13 17 | 
             
                "build": "father build",
         | 
| 14 18 | 
             
                "build:watch": "father dev",
         | 
| 19 | 
            +
                "dev": "dumi dev",
         | 
| 15 20 | 
             
                "docs:build": "dumi build",
         | 
| 16 | 
            -
                "prepare": "husky install && dumi setup",
         | 
| 17 21 | 
             
                "doctor": "father doctor",
         | 
| 18 22 | 
             
                "lint": "npm run lint:es && npm run lint:css",
         | 
| 19 23 | 
             
                "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
         | 
| 20 24 | 
             
                "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
         | 
| 21 | 
            -
                " | 
| 25 | 
            +
                "prepare": "husky install && dumi setup",
         | 
| 26 | 
            +
                "prepublishOnly": "father doctor && npm run build",
         | 
| 27 | 
            +
                "start": "npm run dev",
         | 
| 28 | 
            +
                "test": "node script/build.js build"
         | 
| 22 29 | 
             
              },
         | 
| 23 | 
            -
              "authors": [
         | 
| 24 | 
            -
                "wuzh@fxqifu.com"
         | 
| 25 | 
            -
              ],
         | 
| 26 | 
            -
              "license": "MIT",
         | 
| 27 | 
            -
              "files": [
         | 
| 28 | 
            -
                "dist",
         | 
| 29 | 
            -
                "es",
         | 
| 30 | 
            -
                "lib",
         | 
| 31 | 
            -
                "locale"
         | 
| 32 | 
            -
              ],
         | 
| 33 30 | 
             
              "commitlint": {
         | 
| 34 31 | 
             
                "extends": [
         | 
| 35 32 | 
             
                  "@commitlint/config-conventional"
         | 
| @@ -38,34 +35,19 @@ | |
| 38 35 | 
             
              "lint-staged": {
         | 
| 39 36 | 
             
                "*.{md,json}": [
         | 
| 40 37 | 
             
                  "prettier --write --no-error-on-unmatched-pattern"
         | 
| 41 | 
            -
                ],
         | 
| 42 | 
            -
                "*.{css,less}": [
         | 
| 43 | 
            -
                  "stylelint --fix",
         | 
| 44 | 
            -
                  "prettier --write"
         | 
| 45 | 
            -
                ],
         | 
| 46 | 
            -
                "*.{js,jsx}": [
         | 
| 47 | 
            -
                  "eslint --fix",
         | 
| 48 | 
            -
                  "prettier --write"
         | 
| 49 | 
            -
                ],
         | 
| 50 | 
            -
                "*.{ts,tsx}": [
         | 
| 51 | 
            -
                  "eslint --fix",
         | 
| 52 | 
            -
                  "prettier --parser=typescript --write"
         | 
| 53 38 | 
             
                ]
         | 
| 54 39 | 
             
              },
         | 
| 55 | 
            -
              " | 
| 56 | 
            -
                " | 
| 57 | 
            -
              },
         | 
| 58 | 
            -
              "peerDependencies": {
         | 
| 59 | 
            -
                "antd": "4.24.4",
         | 
| 60 | 
            -
                "moment": "^2.29.4",
         | 
| 61 | 
            -
                "react": ">=16.9.0",
         | 
| 62 | 
            -
                "react-dom": ">=16.9.0"
         | 
| 40 | 
            +
              "dependencies": {
         | 
| 41 | 
            +
                "antd": "4.24.4"
         | 
| 63 42 | 
             
              },
         | 
| 64 43 | 
             
              "devDependencies": {
         | 
| 65 44 | 
             
                "@commitlint/cli": "^17.1.2",
         | 
| 66 45 | 
             
                "@commitlint/config-conventional": "^17.1.0",
         | 
| 46 | 
            +
                "@rollup/plugin-json": "^5.0.2",
         | 
| 47 | 
            +
                "@rollup/plugin-node-resolve": "^15.0.1",
         | 
| 67 48 | 
             
                "@umijs/lint": "^4.0.0",
         | 
| 68 49 | 
             
                "babel-plugin-import": "^1.13.5",
         | 
| 50 | 
            +
                "cross-spawn": "^7.0.3",
         | 
| 69 51 | 
             
                "dumi": "^2.0.0-rc.0",
         | 
| 70 52 | 
             
                "eslint": "^8.23.0",
         | 
| 71 53 | 
             
                "father": "^4.1.0",
         | 
| @@ -79,10 +61,20 @@ | |
| 79 61 | 
             
                "react": "^18.0.0",
         | 
| 80 62 | 
             
                "react-dom": "^18.0.0",
         | 
| 81 63 | 
             
                "rollup": "^3.5.1",
         | 
| 64 | 
            +
                "rollup-plugin-commonjs": "^10.1.0",
         | 
| 65 | 
            +
                "rollup-plugin-sourcemaps": "^0.6.3",
         | 
| 66 | 
            +
                "rollup-plugin-typescript2": "^0.34.1",
         | 
| 82 67 | 
             
                "stylelint": "^14.9.1"
         | 
| 83 68 | 
             
              },
         | 
| 84 | 
            -
              " | 
| 85 | 
            -
                " | 
| 86 | 
            -
                " | 
| 87 | 
            -
             | 
| 69 | 
            +
              "peerDependencies": {
         | 
| 70 | 
            +
                "moment": "^2.29.4",
         | 
| 71 | 
            +
                "react": ">=16.9.0",
         | 
| 72 | 
            +
                "react-dom": ">=16.9.0"
         | 
| 73 | 
            +
              },
         | 
| 74 | 
            +
              "publishConfig": {
         | 
| 75 | 
            +
                "access": "public"
         | 
| 76 | 
            +
              },
         | 
| 77 | 
            +
              "authors": [
         | 
| 78 | 
            +
                "wuzh@fxqifu.com"
         | 
| 79 | 
            +
              ]
         | 
| 88 80 | 
             
            }
         |