@@ -27,6 +27,8 @@ import {
2727 TimerFlashIcon ,
2828 Timer2Icon ,
2929 RefreshLineIcon ,
30+ ShadowIcon ,
31+ OpacityIcon ,
3032} from 'lowcoder-design' ;
3133import { useContext } from "react" ;
3234import styled from "styled-components" ;
@@ -729,7 +731,7 @@ const AnimationIterationCountPropIcon = styled(RefreshLineIcon)`
729731 color: #888;
730732` ;
731733
732- const OpacityPropIcon = styled ( BorderWidthIcon ) `
734+ const OpacityPropIcon = styled ( OpacityIcon ) `
733735 margin: 0 8px 0 -3px;
734736 padding: 3px;
735737 color: #888;
@@ -741,7 +743,7 @@ const BoxShadowColorPropIcon = styled(BorderWidthIcon)`
741743 color: #888;
742744` ;
743745
744- const BoxShadowPropIcon = styled ( BorderWidthIcon ) `
746+ const BoxShadowPropIcon = styled ( ShadowIcon ) `
745747 margin: 0 8px 0 -3px;
746748 padding: 3px;
747749 color: #888;
@@ -788,7 +790,6 @@ export function styleControl<T extends readonly SingleColorConfig[]>(colorConfig
788790 name === 'radius' ||
789791 name === 'borderWidth' ||
790792 name === 'boxShadow' ||
791- name === 'boxShadowColor' ||
792793 name === 'animationIterationCount' ||
793794 name === 'opacity' ||
794795 name === 'animation' ||
@@ -1061,18 +1062,6 @@ export function styleControl<T extends readonly SingleColorConfig[]>(colorConfig
10611062 ) ,
10621063 placeholder : props [ name ] ,
10631064 } )
1064- : name === 'boxShadowColor'
1065- ? (
1066- children [ name ] as InstanceType <
1067- typeof StringControl
1068- >
1069- ) . propertyView ( {
1070- label : config . label ,
1071- preInputNode : (
1072- < BoxShadowColorPropIcon title = "BoxShadowColor-Type" />
1073- ) ,
1074- placeholder : props [ name ] ,
1075- } )
10761065 : name === 'padding' ||
10771066 name ===
10781067 'containerHeaderPadding' ||
0 commit comments