@cuvp1225/antd 0.3.3 → 0.3.6

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.
@@ -3,7 +3,7 @@ export declare const FormilyFormItem: React.ForwardRefExoticComponent<Omit<any,
3
3
  export declare const FormilyForm: React.ForwardRefExoticComponent<import("@cuvp1225/formily/lib/esm/form").FormProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
4
4
  export declare const FormilyFormFooter: React.ForwardRefExoticComponent<Omit<{
5
5
  children?: React.ReactNode | undefined;
6
- }, "gutter" | keyof import("@cuvp1225/formily").IFormItemProps> & import("@cuvp1225/formily").IFormItemProps & {
6
+ }, keyof import("@cuvp1225/formily").IFormItemProps | "gutter"> & import("@cuvp1225/formily").IFormItemProps & {
7
7
  gutter?: number;
8
8
  } & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
9
9
  export declare const FormilySubmit: React.ForwardRefExoticComponent<import("@cuvp1225/formily").ISubmitProps & {
@@ -1 +1,13 @@
1
- export { Button } from 'antd';
1
+ export * from 'antd';
2
+ export { Box } from './box';
3
+ export { Button, ButtonGroup } from './button';
4
+ export { InputNumber } from './input-number';
5
+ export { Input, TextArea } from './input';
6
+ export { Modal } from './modal';
7
+ export * from './page';
8
+ export * from './placeholder';
9
+ export * from './section';
10
+ export { Select } from './select';
11
+ export { Space } from './space';
12
+ export { Typography, Title, Paragraph } from './typography';
13
+ export { Columns, Column } from './columns';
@@ -1,22 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Button = void 0;
4
- var antd_1 = require("antd");
5
- Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return antd_1.Button; } });
3
+ exports.Column = exports.Columns = exports.Paragraph = exports.Title = exports.Typography = exports.Space = exports.Select = exports.Modal = exports.TextArea = exports.Input = exports.InputNumber = exports.ButtonGroup = exports.Button = exports.Box = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("antd"), exports);
6
6
  // export { Each, Link, Text, When } from '@cuvp1225/foundation';
7
- // export { Box } from './box';
8
- // export { Button, ButtonGroup } from './button';
9
- // export * from './formily';
10
- // export { InputNumber } from './input-number';
11
- // export { Input, TextArea } from './input';
12
- // export { Modal } from './modal';
13
- // export * from './page';
14
- // export * from './placeholder';
15
- // export * from './section';
16
- // export { Select } from './select';
17
- // export { Space } from './space';
18
- // export { Typography, Title, Paragraph } from './typography';
19
- // export { Columns, Column } from './columns'
7
+ var box_1 = require("./box");
8
+ Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return box_1.Box; } });
9
+ var button_1 = require("./button");
10
+ Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return button_1.Button; } });
11
+ Object.defineProperty(exports, "ButtonGroup", { enumerable: true, get: function () { return button_1.ButtonGroup; } });
12
+ //export * from './formily';
13
+ var input_number_1 = require("./input-number");
14
+ Object.defineProperty(exports, "InputNumber", { enumerable: true, get: function () { return input_number_1.InputNumber; } });
15
+ var input_1 = require("./input");
16
+ Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return input_1.Input; } });
17
+ Object.defineProperty(exports, "TextArea", { enumerable: true, get: function () { return input_1.TextArea; } });
18
+ var modal_1 = require("./modal");
19
+ Object.defineProperty(exports, "Modal", { enumerable: true, get: function () { return modal_1.Modal; } });
20
+ tslib_1.__exportStar(require("./page"), exports);
21
+ tslib_1.__exportStar(require("./placeholder"), exports);
22
+ tslib_1.__exportStar(require("./section"), exports);
23
+ var select_1 = require("./select");
24
+ Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return select_1.Select; } });
25
+ var space_1 = require("./space");
26
+ Object.defineProperty(exports, "Space", { enumerable: true, get: function () { return space_1.Space; } });
27
+ var typography_1 = require("./typography");
28
+ Object.defineProperty(exports, "Typography", { enumerable: true, get: function () { return typography_1.Typography; } });
29
+ Object.defineProperty(exports, "Title", { enumerable: true, get: function () { return typography_1.Title; } });
30
+ Object.defineProperty(exports, "Paragraph", { enumerable: true, get: function () { return typography_1.Paragraph; } });
31
+ var columns_1 = require("./columns");
32
+ Object.defineProperty(exports, "Columns", { enumerable: true, get: function () { return columns_1.Columns; } });
33
+ Object.defineProperty(exports, "Column", { enumerable: true, get: function () { return columns_1.Column; } });
20
34
  //export { MultiColumns } from './multiColumns'
21
35
  //export { Row,Col } from './grid'
22
36
  //export { RowCombination,ColCombination } from './gridCombination'
@@ -6,7 +6,8 @@ const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const styled_components_1 = require("styled-components");
7
7
  const coral_system_1 = require("coral-system");
8
8
  const antd_1 = require("antd");
9
- const icons_1 = require("@ant-design/icons");
9
+ //import { CloseOutlined } from '@ant-design/icons';
10
+ const CloseOutlined_1 = tslib_1.__importDefault(require("@ant-design/icons/CloseOutlined"));
10
11
  const tango_boot_1 = require("@music163/tango-boot");
11
12
  const placeholder_1 = require("./placeholder");
12
13
  const shadow_container_1 = require("./shadow-container");
@@ -60,7 +61,7 @@ function ModalDesigner(_a) {
60
61
  react_1.default.createElement(BaseModalWrapper, { style: style },
61
62
  react_1.default.createElement("div", { className: "ModalPanelHead" }, title),
62
63
  react_1.default.createElement("div", { className: "ModalPanelClose" },
63
- react_1.default.createElement(icons_1.CloseOutlined, null)),
64
+ react_1.default.createElement(CloseOutlined_1.default, null)),
64
65
  react_1.default.createElement("div", { className: "ModalPanelBody" }, children || react_1.default.createElement(placeholder_1.Placeholder, null)),
65
66
  renderFooter())));
66
67
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BoxProps } from '@cuvp1225/foundation';
2
+ import { BoxProps } from '@music163/foundation';
3
3
  export interface PlaceholderProps extends BoxProps {
4
4
  /**
5
5
  * 尺寸
@@ -4,7 +4,7 @@ exports.Placeholder = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const coral_system_1 = require("coral-system");
7
- const foundation_1 = require("@cuvp1225/foundation");
7
+ const foundation_1 = require("@music163/foundation");
8
8
  const tango_boot_1 = require("@music163/tango-boot");
9
9
  const placeholderStyle = (0, coral_system_1.css) `
10
10
  display: flex;
@@ -8,7 +8,7 @@ exports.Button = {
8
8
  exportType: 'namedExport',
9
9
  icon: 'icon-anniu',
10
10
  type: 'element',
11
- package: '@cuvp1225/antd',
11
+ package: '@music163/antd',
12
12
  help: '按钮用于开始一个即时操作。',
13
13
  hasChildren: false,
14
14
  props: [
@@ -65,4 +65,3 @@ export * from './tree-select';
65
65
  export * from './tree';
66
66
  export * from './typography';
67
67
  export * from './upload';
68
- export * from './grid';
@@ -68,4 +68,4 @@ tslib_1.__exportStar(require("./tree-select"), exports);
68
68
  tslib_1.__exportStar(require("./tree"), exports);
69
69
  tslib_1.__exportStar(require("./typography"), exports);
70
70
  tslib_1.__exportStar(require("./upload"), exports);
71
- tslib_1.__exportStar(require("./grid"), exports);
71
+ //export * from './grid';
@@ -3,7 +3,7 @@ export declare const FormilyFormItem: React.ForwardRefExoticComponent<Omit<any,
3
3
  export declare const FormilyForm: React.ForwardRefExoticComponent<import("@cuvp1225/formily/lib/esm/form").FormProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
4
4
  export declare const FormilyFormFooter: React.ForwardRefExoticComponent<Omit<{
5
5
  children?: React.ReactNode | undefined;
6
- }, "gutter" | keyof import("@cuvp1225/formily").IFormItemProps> & import("@cuvp1225/formily").IFormItemProps & {
6
+ }, keyof import("@cuvp1225/formily").IFormItemProps | "gutter"> & import("@cuvp1225/formily").IFormItemProps & {
7
7
  gutter?: number;
8
8
  } & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
9
9
  export declare const FormilySubmit: React.ForwardRefExoticComponent<import("@cuvp1225/formily").ISubmitProps & {
@@ -1 +1,13 @@
1
- export { Button } from 'antd';
1
+ export * from 'antd';
2
+ export { Box } from './box';
3
+ export { Button, ButtonGroup } from './button';
4
+ export { InputNumber } from './input-number';
5
+ export { Input, TextArea } from './input';
6
+ export { Modal } from './modal';
7
+ export * from './page';
8
+ export * from './placeholder';
9
+ export * from './section';
10
+ export { Select } from './select';
11
+ export { Space } from './space';
12
+ export { Typography, Title, Paragraph } from './typography';
13
+ export { Columns, Column } from './columns';
@@ -1,18 +1,18 @@
1
- export { Button } from 'antd';
1
+ export * from 'antd';
2
2
  // export { Each, Link, Text, When } from '@cuvp1225/foundation';
3
- // export { Box } from './box';
4
- // export { Button, ButtonGroup } from './button';
5
- // export * from './formily';
6
- // export { InputNumber } from './input-number';
7
- // export { Input, TextArea } from './input';
8
- // export { Modal } from './modal';
9
- // export * from './page';
10
- // export * from './placeholder';
11
- // export * from './section';
12
- // export { Select } from './select';
13
- // export { Space } from './space';
14
- // export { Typography, Title, Paragraph } from './typography';
15
- // export { Columns, Column } from './columns'
3
+ export { Box } from './box';
4
+ export { Button, ButtonGroup } from './button';
5
+ //export * from './formily';
6
+ export { InputNumber } from './input-number';
7
+ export { Input, TextArea } from './input';
8
+ export { Modal } from './modal';
9
+ export * from './page';
10
+ export * from './placeholder';
11
+ export * from './section';
12
+ export { Select } from './select';
13
+ export { Space } from './space';
14
+ export { Typography, Title, Paragraph } from './typography';
15
+ export { Columns, Column } from './columns';
16
16
  //export { MultiColumns } from './multiColumns'
17
17
  //export { Row,Col } from './grid'
18
18
  //export { RowCombination,ColCombination } from './gridCombination'
@@ -3,7 +3,8 @@ import React from 'react';
3
3
  import { css } from 'styled-components';
4
4
  import { coral } from 'coral-system';
5
5
  import { Button, Modal as AntModal } from 'antd';
6
- import { CloseOutlined } from '@ant-design/icons';
6
+ //import { CloseOutlined } from '@ant-design/icons';
7
+ import CloseOutlined from '@ant-design/icons/CloseOutlined';
7
8
  import { defineComponent } from '@music163/tango-boot';
8
9
  import { Placeholder } from './placeholder';
9
10
  import { ShadowContainer } from './shadow-container';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BoxProps } from '@cuvp1225/foundation';
2
+ import { BoxProps } from '@music163/foundation';
3
3
  export interface PlaceholderProps extends BoxProps {
4
4
  /**
5
5
  * 尺寸
@@ -1,7 +1,7 @@
1
1
  import { __rest } from "tslib";
2
2
  import React from 'react';
3
3
  import { css } from 'coral-system';
4
- import { Box } from '@cuvp1225/foundation';
4
+ import { Box } from '@music163/foundation';
5
5
  import { defineComponent } from '@music163/tango-boot';
6
6
  const placeholderStyle = css `
7
7
  display: flex;
@@ -5,7 +5,7 @@ export const Button = {
5
5
  exportType: 'namedExport',
6
6
  icon: 'icon-anniu',
7
7
  type: 'element',
8
- package: '@cuvp1225/antd',
8
+ package: '@music163/antd',
9
9
  help: '按钮用于开始一个即时操作。',
10
10
  hasChildren: false,
11
11
  props: [
@@ -65,4 +65,3 @@ export * from './tree-select';
65
65
  export * from './tree';
66
66
  export * from './typography';
67
67
  export * from './upload';
68
- export * from './grid';
@@ -65,4 +65,4 @@ export * from './tree-select';
65
65
  export * from './tree';
66
66
  export * from './typography';
67
67
  export * from './upload';
68
- export * from './grid';
68
+ //export * from './grid';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuvp1225/antd",
3
- "version": "0.3.3",
3
+ "version": "0.3.6",
4
4
  "description": "antd components for tango app",
5
5
  "author": "wwsun <ww.sww@outlook.com>",
6
6
  "homepage": "https://github.com/netease/tango-components#readme",
@@ -12,7 +12,6 @@
12
12
  "./prototypes": "./lib/esm/prototypes/index.js"
13
13
  },
14
14
  "module": "lib/esm/index.js",
15
- "main": "lib/cjs/index.js",
16
15
  "types": "lib/esm/index.d.ts",
17
16
  "sandpackEntries": [
18
17
  "dist/designer.js"