Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

upgrade antd to v5.13.2#655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionclient/packages/lowcoder/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -38,7 +38,7 @@
"agora-access-token": "^2.0.4",
"agora-rtc-sdk-ng": "^4.19.0",
"agora-rtm-sdk": "^1.5.1",
"antd": "^5.12.5",
"antd": "^5.13.2",
"axios": "^1.6.2",
"buffer": "^6.0.3",
"clsx": "^2.0.0",
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -369,10 +369,10 @@ const PermissionSelector = (props: {
width: "fit-content",
}}
$isVisible={roleSelectVisible}
bordered={false}
variant="borderless"
defaultValue={props.supportRoles[0]}
optionLabelProp="label"
onChange={(value) => setSelectRole(value)}
onChange={(value: string) => setSelectRole(value as ApplicationRoleType)}
>
{props.supportRoles.map((role) => (
<CustomSelect.Option key={role.value} value={role.value} label={role.label}>
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -119,7 +119,7 @@ function PermissionLiItem(props: {
width: "100px",
}}
defaultValue={permissionItem.role}
bordered={false}
variant="borderless"
optionLabelProp="label"
onSelect={(value: any, option: any) => {
if (option.key === "delete") {
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,7 @@ import { omit } from "lodash";

const{ RangePicker}=DatePicker;

constRangePickerStyled=styled((props:any)=><RangePicker{...props}/>)<{$style:DateTimeStyleType}>`
constRangePickerStyled=styled(RangePicker)<{$style:DateTimeStyleType}>`
width: 100%;
${(props)=>props.$style&&getStyle(props.$style)}
`;
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -509,8 +509,11 @@ let MTComp = (function () {
? { overflow: "auto", pointerEvents: "auto" }
: {}
}
contentWrapperStyle={{ maxHeight: "100%", maxWidth: "100%" }}
styles={{
wrapper: {
maxHeight: "100%",
maxWidth: "100%"
},
body: {
padding: 0,
backgroundColor: props.style.background,
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -65,7 +65,7 @@ export const ColumnNumberComp = (function () {
step={step}
defaultValue={props.value}
autoFocus
bordered={false}
variant="borderless"
onChange={(value)=>{
value=value??0;
props.onChange(!float ?Math.floor(value) :value);
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -170,7 +170,7 @@ export const DateEdit = (props: DateEditProps) => {
superNextIcon={<IconSuperNext/>}
superPrevIcon={<SuperPrevIcon/>}
allowClear={false}
bordered={false}
variant="borderless"
autoFocus
defaultValue={value}
showTime={props.showTime}
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -31,7 +31,7 @@ export const ImageComp = (function () {
<Input
defaultValue={props.value}
autoFocus
bordered={false}
variant="borderless"
onChange={(e) => {
const value = e.target.value;
props.onChange(value);
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -59,7 +59,7 @@ export const LinkComp = (function () {
<Input
defaultValue={props.value}
autoFocus
bordered={false}
variant="borderless"
onChange={(e) => {
const value = e.target.value;
props.onChange(value);
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -45,7 +45,7 @@ export const ColumnMarkdownComp = (function () {
<Input
defaultValue={props.value}
autoFocus
bordered={false}
variant="borderless"
onChange={(e) => {
const value = e.target.value;
props.onChange(value);
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -94,7 +94,7 @@ export const ProgressComp = (function () {
max={100}
defaultValue={props.value}
autoFocus
bordered={false}
variant="borderless"
controls={{ upIcon: <TablePlusIcon />, downIcon: <TableMinusIcon /> }}
onChange={(value) => {
props.onChange(Number(value));
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -53,14 +53,14 @@ const StatusEdit = (props: StatusEditPropsType) => {
<CustomSelect
autoFocus
defaultOpen
bordered={false}
variant="borderless"
optionLabelProp="children"
open={open}
defaultValue={props.value.value}
style={{ width: "100%" }}
suffixIcon={<PackUpIcon />}
showSearch
onSearch={(value) => {
onSearch={(value: string) => {
if (defaultStatus.findIndex((item) => item.text.includes(value)) < 0) {
setStatus([
...defaultStatus,
Expand All@@ -77,7 +77,7 @@ const StatusEdit = (props: StatusEditPropsType) => {
status: status.find((item) => item.text === value)?.status || "none",
});
}}
onChange={(value) => {
onChange={(value: string) => {
props.onChange({
value,
status: status.find((item) => item.text === value)?.status || "none",
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -170,22 +170,22 @@ const TagEdit = (props: TagEditPropsType) => {
<CustomSelect
autoFocus
defaultOpen
bordered={false}
variant="borderless"
optionLabelProp="children"
showSearch
defaultValue={props.value}
style={{ width: "100%" }}
open={open}
suffixIcon={<PackUpIcon />}
onSearch={(value) => {
onSearch={(value: string) => {
if (defaultTags.findIndex((item) => item.includes(value)) < 0) {
setTags([...defaultTags, value]);
} else {
setTags(defaultTags);
}
props.onChange(value);
}}
onChange={(value) => {
onChange={(value: string | string[]) => {
props.onChange(value);
}}
dropdownRender={(originNode: ReactNode) => (
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,7 +26,7 @@ export const SimpleTextComp = (function () {
<Input
defaultValue={props.value}
autoFocus
bordered={false}
variant="borderless"
onChange={(e) => {
const value = e.target.value;
props.onChange(value);
Expand Down
5 changes: 4 additions & 1 deletionclient/packages/lowcoder/src/comps/hooks/drawerComp.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -126,8 +126,11 @@ let TmpDrawerComp = (function () {
resizable={resizable}
onResizeStop={onResizeStop}
rootStyle={props.visible.value ? { overflow: "auto", pointerEvents: "auto" } : {}}
contentWrapperStyle={{ maxHeight: "100%", maxWidth: "100%" }}
styles={{
wrapper: {
maxHeight: "100%",
maxWidth: "100%",
},
body: {
padding: 0,
backgroundColor: props.style.background
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -365,17 +365,17 @@ export function HomeLayout(props: HomeLayoutProps) {
<OperationWrapper>
{mode !== "folders" && mode !== "module" && (
<FilterDropdown
bordered={false}
variant="borderless"
value={filterBy}
onChange={(value) => setFilterBy(value as HomeResKey)}
onChange={(value: any) => setFilterBy(value as HomeResKey)}
options={[
getFilterMenuItem(HomeResTypeEnum.All),
getFilterMenuItem(HomeResTypeEnum.Application),
getFilterMenuItem(HomeResTypeEnum.Module),
getFilterMenuItem(HomeResTypeEnum.Navigation),
...(mode !== "trash" ? [getFilterMenuItem(HomeResTypeEnum.Folder)] : []),
]}
getPopupContainer={(node) => node}
getPopupContainer={(node: any) => node}
suffixIcon={<ArrowSolidIcon />}
/>
)}
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -280,11 +280,6 @@ export default function BottomMetaDrawer(props: BottomMetaDrawerProps) {
<Drawer
$vis={visible}
mask={false}
contentWrapperStyle={{
height: "100%",
boxShadow: "none",
borderRadius: "0",
}}
rootStyle={{
position: "absolute",
height: "100%",
Expand All@@ -294,6 +289,11 @@ export default function BottomMetaDrawer(props: BottomMetaDrawerProps) {
title={<DrawerTitleView />}
styles={{
header: headerWrapperStyle,
wrapper: {
height: "100%",
boxShadow: "none",
borderRadius: "0",
},
body: {
padding: "0 0 0 8px",
overflowX: "hidden",
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp