Skip to content

Commit ec16fd9

Browse files
use antd/es
1 parent 1324768 commit ec16fd9

File tree

90 files changed

+108
-11858
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+108
-11858
lines changed

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@testing-library/react": "^14.1.2",
7777
"@testing-library/user-event": "^14.5.1",
7878
"@types/styled-components": "^5.1.34",
79-
"antd-mobile": "^5.28.0",
79+
"antd-mobile": "^5.34.0",
8080
"chalk": "4",
8181
"number-precision": "^1.6.0",
8282
"react-player": "^2.11.0",

client/packages/lowcoder-design/src/components/GlobalInstances.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { App } from 'antd';
2-
import type { MessageInstance } from 'antd/es/message/interface';
3-
import type { ModalStaticFunctions } from 'antd/es/modal/confirm';
4-
import type { NotificationInstance } from 'antd/es/notification/interface';
1+
import { default as App } from "antd/es/app";
2+
import type { MessageInstance } from "antd/es/message/interface";
3+
import type { ModalStaticFunctions } from "antd/es/modal/confirm";
4+
import type { NotificationInstance } from "antd/es/notification/interface";
55

66
let messageInstance: MessageInstance;
77
let notificationInstance: NotificationInstance;

client/packages/lowcoder-design/src/components/Trees.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import styled, { css } from "styled-components";
22
import { ReactComponent as Folded } from "icons/icon-folded.svg";
3-
import { DataNode, TreeProps } from "antd/lib/tree";
4-
import DirectoryTree from "antd/lib/tree/DirectoryTree";
3+
import { DataNode, TreeProps } from "antd/es/tree";
4+
import DirectoryTree from "antd/es/tree/DirectoryTree";
55

66
export const Treediv = styled.div<{ $height?: number }>`
77
padding-left: 24px;

client/packages/lowcoder-design/src/components/colorSelect/colorUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { colord, extend } from "colord";
22
import namesPlugin from "colord/plugins/names";
3-
import { generate } from "@ant-design/colors";
3+
import { generate } from "@ant-design/colors/es";
44

55
extend([namesPlugin]);
66

client/packages/lowcoder-design/src/components/iconSelect/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
22
import type { IconDefinition } from "@fortawesome/free-regular-svg-icons";
33
// import type { IconDefinition as IconDefinitionBrands } from "@fortawesome/free-brands-svg-icons";
4-
import { Popover } from "antd";
4+
import { Popover } from "antd/es/popover";
55
import { ActionType } from "@rc-component/trigger/lib/interface";
66
import { TacoInput } from "components/tacoInput";
77
import { Tooltip } from "components/toolTip";
@@ -20,7 +20,6 @@ import { default as List, ListRowProps } from "react-virtualized/dist/es/List";
2020
import styled from "styled-components";
2121
import { CloseIcon, SearchIcon } from "icons";
2222
import { ANTDICON } from "icons/antIcon";
23-
import { Divider } from "antd-mobile";
2423

2524
const PopupContainer = styled.div`
2625
width: 580px;

client/packages/lowcoder-design/src/components/query.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import styled, { css } from "styled-components";
22
import { default as Alert } from "antd/es/alert";
33
import { ReactNode } from "react";
4-
import { AlertProps } from "antd/lib/alert";
4+
import { AlertProps } from "antd/es/alert";
55
import { ToolTipLabel } from "./toolTip";
66
import { DocLink } from "components/ExternalLink";
77

client/packages/lowcoder-design/src/icons/antIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ import {
788788
ZhihuSquareFilled,
789789
ZoomInOutlined,
790790
ZoomOutOutlined,
791-
} from "@ant-design/icons";
791+
} from "@ant-design/icons/es";
792792

793793
export const ANTDICON = {
794794
accountbookfilled: <AccountBookFilled />,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules
22
/dist
3+
/bundle
34
/types

client/packages/lowcoder-sdk/bundle/139.bundle.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

client/packages/lowcoder-sdk/bundle/139.bundle.js.LICENSE.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

client/packages/lowcoder-sdk/bundle/164.bundle.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

client/packages/lowcoder-sdk/bundle/164.bundle.js.LICENSE.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

client/packages/lowcoder-sdk/bundle/240.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/packages/lowcoder-sdk/bundle/475.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/packages/lowcoder-sdk/bundle/556.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/packages/lowcoder-sdk/bundle/567.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/packages/lowcoder-sdk/bundle/610.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)