@cuvp1225/antd 0.3.2 → 0.3.5

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.
@@ -1,5 +1,4 @@
1
1
  export * from 'antd';
2
- export { Each, Link, Text, When } from '@cuvp1225/foundation';
3
2
  export { Box } from './box';
4
3
  export { Button, ButtonGroup } from './button';
5
4
  export * from './formily';
@@ -13,4 +12,3 @@ export { Select } from './select';
13
12
  export { Space } from './space';
14
13
  export { Typography, Title, Paragraph } from './typography';
15
14
  export { Columns, Column } from './columns';
16
- export { Form, Fieldset, FormItem, FormFooter } from './form';
@@ -1,13 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FormFooter = exports.FormItem = exports.Fieldset = exports.Form = 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 = exports.When = exports.Text = exports.Link = exports.Each = void 0;
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
4
  const tslib_1 = require("tslib");
5
5
  tslib_1.__exportStar(require("antd"), exports);
6
- var foundation_1 = require("@cuvp1225/foundation");
7
- Object.defineProperty(exports, "Each", { enumerable: true, get: function () { return foundation_1.Each; } });
8
- Object.defineProperty(exports, "Link", { enumerable: true, get: function () { return foundation_1.Link; } });
9
- Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return foundation_1.Text; } });
10
- Object.defineProperty(exports, "When", { enumerable: true, get: function () { return foundation_1.When; } });
6
+ // export { Each, Link, Text, When } from '@cuvp1225/foundation';
11
7
  var box_1 = require("./box");
12
8
  Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return box_1.Box; } });
13
9
  var button_1 = require("./button");
@@ -38,8 +34,4 @@ Object.defineProperty(exports, "Column", { enumerable: true, get: function () {
38
34
  //export { MultiColumns } from './multiColumns'
39
35
  //export { Row,Col } from './grid'
40
36
  //export { RowCombination,ColCombination } from './gridCombination'
41
- var form_1 = require("./form");
42
- Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return form_1.Form; } });
43
- Object.defineProperty(exports, "Fieldset", { enumerable: true, get: function () { return form_1.Fieldset; } });
44
- Object.defineProperty(exports, "FormItem", { enumerable: true, get: function () { return form_1.FormItem; } });
45
- Object.defineProperty(exports, "FormFooter", { enumerable: true, get: function () { return form_1.FormFooter; } });
37
+ //export { Form,Fieldset,FormItem,FormFooter } from './form'
@@ -6,7 +6,7 @@ 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
10
  const tango_boot_1 = require("@music163/tango-boot");
11
11
  const placeholder_1 = require("./placeholder");
12
12
  const shadow_container_1 = require("./shadow-container");
@@ -59,8 +59,7 @@ function ModalDesigner(_a) {
59
59
  return (react_1.default.createElement(shadow_container_1.ShadowContainer, Object.assign({ type: "modal", label: "Modal", bg: "rgba(0, 0, 0, 0.45)", px: "100px", py: "24px" }, rest),
60
60
  react_1.default.createElement(BaseModalWrapper, { style: style },
61
61
  react_1.default.createElement("div", { className: "ModalPanelHead" }, title),
62
- react_1.default.createElement("div", { className: "ModalPanelClose" },
63
- react_1.default.createElement(icons_1.CloseOutlined, null)),
62
+ react_1.default.createElement("div", { className: "ModalPanelClose" }),
64
63
  react_1.default.createElement("div", { className: "ModalPanelBody" }, children || react_1.default.createElement(placeholder_1.Placeholder, null)),
65
64
  renderFooter())));
66
65
  }
@@ -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';
@@ -1,5 +1,4 @@
1
1
  export * from 'antd';
2
- export { Each, Link, Text, When } from '@cuvp1225/foundation';
3
2
  export { Box } from './box';
4
3
  export { Button, ButtonGroup } from './button';
5
4
  export * from './formily';
@@ -13,4 +12,3 @@ export { Select } from './select';
13
12
  export { Space } from './space';
14
13
  export { Typography, Title, Paragraph } from './typography';
15
14
  export { Columns, Column } from './columns';
16
- export { Form, Fieldset, FormItem, FormFooter } from './form';
@@ -1,5 +1,5 @@
1
1
  export * from 'antd';
2
- export { Each, Link, Text, When } from '@cuvp1225/foundation';
2
+ // export { Each, Link, Text, When } from '@cuvp1225/foundation';
3
3
  export { Box } from './box';
4
4
  export { Button, ButtonGroup } from './button';
5
5
  export * from './formily';
@@ -16,4 +16,4 @@ 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'
19
- export { Form, Fieldset, FormItem, FormFooter } from './form';
19
+ //export { Form,Fieldset,FormItem,FormFooter } from './form'
@@ -3,7 +3,7 @@ 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
7
  import { defineComponent } from '@music163/tango-boot';
8
8
  import { Placeholder } from './placeholder';
9
9
  import { ShadowContainer } from './shadow-container';
@@ -56,8 +56,7 @@ function ModalDesigner(_a) {
56
56
  return (React.createElement(ShadowContainer, Object.assign({ type: "modal", label: "Modal", bg: "rgba(0, 0, 0, 0.45)", px: "100px", py: "24px" }, rest),
57
57
  React.createElement(BaseModalWrapper, { style: style },
58
58
  React.createElement("div", { className: "ModalPanelHead" }, title),
59
- React.createElement("div", { className: "ModalPanelClose" },
60
- React.createElement(CloseOutlined, null)),
59
+ React.createElement("div", { className: "ModalPanelClose" }),
61
60
  React.createElement("div", { className: "ModalPanelBody" }, children || React.createElement(Placeholder, null)),
62
61
  renderFooter())));
63
62
  }
@@ -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.2",
3
+ "version": "0.3.5",
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",