Skip to content

Commit 16e8b29

Browse files
authored
Merge pull request #655 from raheeliftikhar5/antd-upgrade-5.13.2
upgrade antd to v5.13.2
2 parents a0fd241 + 964fadf commit 16e8b29

File tree

18 files changed

+113
-98
lines changed

18 files changed

+113
-98
lines changed

client/packages/lowcoder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"agora-access-token": "^2.0.4",
3939
"agora-rtc-sdk-ng": "^4.19.0",
4040
"agora-rtm-sdk": "^1.5.1",
41-
"antd": "^5.12.5",
41+
"antd": "^5.13.2",
4242
"axios": "^1.6.2",
4343
"buffer": "^6.0.3",
4444
"clsx": "^2.0.0",

client/packages/lowcoder/src/components/PermissionDialog/Permission.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,10 @@ const PermissionSelector = (props: {
369369
width: "fit-content",
370370
}}
371371
$isVisible={roleSelectVisible}
372-
bordered={false}
372+
variant="borderless"
373373
defaultValue={props.supportRoles[0]}
374374
optionLabelProp="label"
375-
onChange={(value) => setSelectRole(value)}
375+
onChange={(value: string) => setSelectRole(value as ApplicationRoleType)}
376376
>
377377
{props.supportRoles.map((role) => (
378378
<CustomSelect.Option key={role.value} value={role.value} label={role.label}>

client/packages/lowcoder/src/components/PermissionDialog/PermissionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function PermissionLiItem(props: {
119119
width: "100px",
120120
}}
121121
defaultValue={permissionItem.role}
122-
bordered={false}
122+
variant="borderless"
123123
optionLabelProp="label"
124124
onSelect={(value: any, option: any) => {
125125
if (option.key === "delete") {

client/packages/lowcoder/src/comps/comps/dateComp/dateRangeUIView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { omit } from "lodash";
1313

1414
const { RangePicker } = DatePicker;
1515

16-
const RangePickerStyled = styled((props: any) => <RangePicker {...props} />)<{ $style: DateTimeStyleType }>`
16+
const RangePickerStyled = styled(RangePicker)<{ $style: DateTimeStyleType }>`
1717
width: 100%;
1818
${(props) => props.$style && getStyle(props.$style)}
1919
`;

client/packages/lowcoder/src/comps/comps/meetingComp/videoMeetingControllerComp.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,11 @@ let MTComp = (function () {
509509
? { overflow: "auto", pointerEvents: "auto" }
510510
: {}
511511
}
512-
contentWrapperStyle={{ maxHeight: "100%", maxWidth: "100%" }}
513512
styles={{
513+
wrapper: {
514+
maxHeight: "100%",
515+
maxWidth: "100%"
516+
},
514517
body: {
515518
padding: 0,
516519
backgroundColor: props.style.background,

client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/ColumnNumberComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const ColumnNumberComp = (function () {
6565
step={step}
6666
defaultValue={props.value}
6767
autoFocus
68-
bordered={false}
68+
variant="borderless"
6969
onChange={(value) => {
7070
value = value ?? 0;
7171
props.onChange(!float ? Math.floor(value) : value);

client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnDateComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const DateEdit = (props: DateEditProps) => {
170170
superNextIcon={<IconSuperNext />}
171171
superPrevIcon={<SuperPrevIcon />}
172172
allowClear={false}
173-
bordered={false}
173+
variant="borderless"
174174
autoFocus
175175
defaultValue={value}
176176
showTime={props.showTime}

client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnImgComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const ImageComp = (function () {
3131
<Input
3232
defaultValue={props.value}
3333
autoFocus
34-
bordered={false}
34+
variant="borderless"
3535
onChange={(e) => {
3636
const value = e.target.value;
3737
props.onChange(value);

client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnLinkComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const LinkComp = (function () {
5959
<Input
6060
defaultValue={props.value}
6161
autoFocus
62-
bordered={false}
62+
variant="borderless"
6363
onChange={(e) => {
6464
const value = e.target.value;
6565
props.onChange(value);

client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnMarkdownComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const ColumnMarkdownComp = (function () {
4545
<Input
4646
defaultValue={props.value}
4747
autoFocus
48-
bordered={false}
48+
variant="borderless"
4949
onChange={(e) => {
5050
const value = e.target.value;
5151
props.onChange(value);

0 commit comments

Comments
 (0)