Skip to content

Commit b8cd0d9

Browse files
committed
borders adjusted
1 parent 5f6b3b9 commit b8cd0d9

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

client/packages/lowcoder/src/comps/comps/numberInputComp/numberInputComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const childrenMap = {
257257
allowNull: BoolControl,
258258
onEvent: InputEventHandlerControl,
259259
viewRef: RefControl<HTMLInputElement>,
260-
style: withDefault(styleControl(InputFieldStyle), {borderWidth: '1px'}),
260+
style: styleControl(InputFieldStyle),
261261
labelStyle:styleControl(LabelStyle),
262262
prefixText : stringExposingStateControl("defaultValue"),
263263
prefixIcon: IconControl,

client/packages/lowcoder/src/comps/comps/numberInputComp/sliderCompConstants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const SliderChildren = {
7171
label: LabelControl,
7272
disabled: BoolCodeControl,
7373
onEvent: ChangeEventHandlerControl,
74-
style: withDefault(styleControl(InputFieldStyle), {borderWidth: '1px'}),
74+
style:styleControl(InputFieldStyle),
7575
labelStyle:styleControl(LabelStyle.filter((style)=> ['accent','validate'].includes(style.name) === false)),
7676
prefixIcon: IconControl,
7777
suffixIcon: IconControl,

client/packages/lowcoder/src/comps/comps/ratingComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const RatingBasicComp = (function () {
4343
allowHalf: BoolControl,
4444
disabled: BoolCodeControl,
4545
onEvent: eventHandlerControl(EventOptions),
46-
style: withDefault(styleControl(InputFieldStyle), {borderWidth: '1px'}),
46+
style:styleControl(InputFieldStyle),
4747
labelStyle: styleControl(LabelStyle.filter((style) => ['accent', 'validate'].includes(style.name) === false)),
4848
inputFieldStyle:migrateOldData(styleControl(RatingStyle), fixOldData),
4949
...formDataChildren,

client/packages/lowcoder/src/comps/comps/textInputComp/inputComp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ const childrenMap = {
4949
viewRef: RefControl<InputRef>,
5050
showCount: BoolControl,
5151
allowClear: BoolControl,
52-
style: withDefault(styleControl(InputFieldStyle), {borderWidth: '1px'}),
53-
labelStyle: styleControl(LabelStyle),
52+
style: styleControl(InputFieldStyle),
53+
labelStyle:styleControl(LabelStyle),
5454
prefixIcon: IconControl,
5555
suffixIcon: IconControl,
56-
inputFieldStyle: styleControl(InputLikeStyle),
56+
inputFieldStyle:withDefault(styleControl(InputLikeStyle),{borderWidth: '1px'}) ,
5757
};
5858

5959
let InputBasicComp = new UICompBuilder(childrenMap, (props) => {

client/packages/lowcoder/src/comps/comps/textInputComp/passwordComp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ let PasswordTmpComp = (function () {
5757
validationType: dropdownControl(TextInputValidationOptions, "Regex"),
5858
visibilityToggle: BoolControl.DEFAULT_TRUE,
5959
prefixIcon: IconControl,
60-
style: withDefault(styleControl(InputFieldStyle), {borderWidth: '1px'}),
60+
style:styleControl(InputFieldStyle),
6161
labelStyle: styleControl(LabelStyle),
62-
inputFieldStyle: styleControl(InputLikeStyle)
62+
inputFieldStyle: withDefault(styleControl(InputLikeStyle),{borderWidth: '1px'}),
6363
};
6464
return new UICompBuilder(childrenMap, (props) => {
6565
const [inputProps, validateState] = useTextInputProps(props);

client/packages/lowcoder/src/comps/comps/textInputComp/textAreaComp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ let TextAreaTmpComp = (function () {
7171
viewRef: RefControl<TextAreaRef>,
7272
allowClear: BoolControl,
7373
autoHeight: withDefault(AutoHeightControl, "fixed"),
74-
style: withDefault(styleControl(InputFieldStyle), {borderWidth: '1px'}),
74+
style: styleControl(InputFieldStyle),
7575
labelStyle: styleControl(LabelStyle),
76-
inputFieldStyle: styleControl(InputLikeStyle)
76+
inputFieldStyle: withDefault(styleControl(InputLikeStyle), {borderWidth: '1px'}),
7777
};
7878
return new UICompBuilder(childrenMap, (props) => {
7979
const [inputProps, validateState] = useTextInputProps(props);

client/packages/lowcoder/src/comps/comps/treeComp/treeSelectComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const childrenMap = {
6565
allowClear: BoolControl,
6666
showSearch: BoolControl.DEFAULT_TRUE,
6767
inputValue: stateComp<string>(""), // search value
68-
style: withDefault(styleControl(InputFieldStyle), {borderWidth: '1px'}),
68+
style:styleControl(InputFieldStyle),
6969
labelStyle:styleControl(LabelStyle),
7070
inputFieldStyle: withDefault(styleControl(TreeSelectStyle), {borderWidth: '1px'}),
7171
viewRef: RefControl<BaseSelectRef>,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy