Skip to content

Commit 26cd6b9

Browse files
committed
constants added
1 parent 79555b0 commit 26cd6b9

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,18 @@ export function styleControl<T extends readonly SingleColorConfig[]>(colorConfig
10131013
),
10141014
placeholder: props[name],
10151015
})
1016+
: name === 'boxShadow'
1017+
? (
1018+
children[name] as InstanceType<
1019+
typeof StringControl
1020+
>
1021+
).propertyView({
1022+
label: config.label,
1023+
preInputNode: (
1024+
<BoxShadowPropIcon title="BoxShadow-Type" />
1025+
),
1026+
placeholder: props[name],
1027+
})
10161028
: name === 'animation'
10171029
? (
10181030
children[name] as InstanceType<

client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,13 @@ export const en = {
474474
// fourth part
475475

476476
"style": {
477+
"boxShadowColor": 'Box Shadow Color',
478+
"boxShadow": 'Box Shadow',
479+
"opacity": 'Opacity',
480+
"animation": 'Animation',
481+
"animationIterationCount": 'Animation Iteration Count',
482+
"animationDelay": 'Animation Delay',
483+
"animationDuration": 'Animation Duration',
477484
"resetTooltip": "Reset styles. Clear the input field to reset an individual style.",
478485
"textColor": "Text Color",
479486
"contrastText": "Contrast Text Color",

0 commit comments

Comments
 (0)