Skip to content

Commit 76b775d

Browse files
committed
box shadow updated
1 parent 25e94d0 commit 76b775d

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

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

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

1414
const { RangePicker } = DatePicker;
1515

16-
const RangePickerStyled = styled(RangePicker)<{ $style: DateTimeStyleType }>`
16+
const RangePickerStyled = styled(RangePicker)<{$style: DateTimeStyleType}>`
1717
width: 100%;
18+
box-shadow: ${(props) =>
19+
`${props.$style.boxShadow} ${props.$style.boxShadowColor}`};
1820
${(props) => props.$style && getStyle(props.$style)}
1921
`;
2022

client/packages/lowcoder/src/comps/comps/selectInputComp/multiSelectComp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ import { SelectInputInvalidConfig, useSelectInputValidate } from "./selectInputC
1414

1515
import { PaddingControl } from "../../controls/paddingControl";
1616
import { MarginControl } from "../../controls/marginControl";
17-
import { migrateOldData } from "comps/generators/simpleGenerators";
17+
import { migrateOldData, withDefault } from "comps/generators/simpleGenerators";
1818
import { fixOldInputCompData } from "../textInputComp/textInputConstants";
1919

2020
let MultiSelectBasicComp = (function () {
2121
const childrenMap = {
2222
...SelectChildrenMap,
2323
defaultValue: arrayStringExposingStateControl("defaultValue", ["1", "2"]),
2424
value: arrayStringExposingStateControl("value"),
25-
style: styleControl(InputFieldStyle),
25+
style: withDefault(styleControl(InputFieldStyle),{background:'transparent'}),
2626
labelStyle:styleControl(LabelStyle),
27-
inputFieldStyle:styleControl(MultiSelectStyle),
27+
inputFieldStyle:withDefault(styleControl(MultiSelectStyle),{borderWidth:'1px'}),
2828
childrenInputFieldStyle:styleControl(ChildrenMultiSelectStyle),
2929
margin: MarginControl,
3030
padding: PaddingControl,

client/packages/lowcoder/src/comps/controls/styleControlConstants.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,8 @@ export const MultiSelectStyle = [
12271227
transformer: toSelf,
12281228
platform: "pc",
12291229
},
1230+
BOXSHADOW,
1231+
BOXSHADOWCOLOR,
12301232
...ACCENT_VALIDATE,
12311233
] as const;
12321234

0 commit comments

Comments
 (0)