@@ -999,16 +999,7 @@ const LineHeightPropIcon = styled(LineHeightIcon)`
999
999
` ;
1000
1000
1001
1001
const MarginIcon = styled ( ExpandIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1002
- const DirectionIcon = styled ( ExpandIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1003
- const ChartOpacity = styled ( OpacityIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1004
- const ChartBoxShadow = styled ( ShadowIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1005
- const ChartBorderStyle = styled ( BorderStyleIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1006
- const ChartBorderRadius = styled ( BorderRadiusIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1007
- const ChartBorderWidth = styled ( BorderWidthIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1008
- const ChartTextSize = styled ( TextSizeIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1009
- const ChartTextWeight = styled ( TextWeightIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1010
- const ChartFontFamily = styled ( FontFamilyIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1011
- const ChartFontStyle = styled ( TextStyleIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1002
+ const DirectionIcon = styled ( ExpandIcon ) ` margin: 0 13px 0 2px; color: #888` ;
1012
1003
const PaddingIcon = styled ( CompressIcon ) ` margin: 0 8px 0 2px; color: #888` ;
1013
1004
const RadiusPropIcon = styled ( BorderRadiusIcon ) ` width: 24px; margin: 0 11px 0 0px; color: #888` ;
1014
1005
const BorderPropIcon = styled ( BorderWidthIcon ) ` margin: 0 8px 0 -3px; padding: 3px; color: #888` ;
@@ -1035,7 +1026,7 @@ const BoxShadowColorPropIcon = styled(BorderWidthIcon)`
1035
1026
1036
1027
const ChartBackgroundColorPropIcon = styled ( BorderWidthIcon ) `
1037
1028
margin: 0 8px 0 -3px;
1038
- padding: 3px ;
1029
+ padding: 13px ;
1039
1030
color: #888;
1040
1031
` ;
1041
1032
const ChartGradientColorPropIcon = styled ( BorderWidthIcon ) `
@@ -1406,7 +1397,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1406
1397
>
1407
1398
) . propertyView ( {
1408
1399
label : config . label ,
1409
- preInputNode : < ChartOpacity title = "chartOpacity" /> ,
1400
+ preInputNode : < OpacityPropIcon title = "chartOpacity" /> ,
1410
1401
placeholder : props [ name ] ,
1411
1402
} )
1412
1403
: name === 'chartBoxShadow'
@@ -1416,7 +1407,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1416
1407
>
1417
1408
) . propertyView ( {
1418
1409
label : config . label ,
1419
- preInputNode : < ChartBoxShadow title = "chartBoxShadow" /> ,
1410
+ preInputNode : < BoxShadowPropIcon title = "chartBoxShadow" /> ,
1420
1411
placeholder : props [ name ] ,
1421
1412
} )
1422
1413
: name === 'chartBorderStyle'
@@ -1426,7 +1417,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1426
1417
>
1427
1418
) . propertyView ( {
1428
1419
label : config . label ,
1429
- preInputNode : < ChartBorderStyle title = "chartBorderStyle" /> ,
1420
+ preInputNode : < BorderStylePropIcon title = "chartBorderStyle" /> ,
1430
1421
placeholder : props [ name ] ,
1431
1422
} )
1432
1423
: name === 'chartBorderRadius'
@@ -1436,7 +1427,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1436
1427
>
1437
1428
) . propertyView ( {
1438
1429
label : config . label ,
1439
- preInputNode : < ChartBorderRadius title = "chartBorderRadius" /> ,
1430
+ preInputNode : < RadiusPropIcon title = "chartBorderRadius" /> ,
1440
1431
placeholder : props [ name ] ,
1441
1432
} )
1442
1433
: name === 'chartBorderWidth'
@@ -1446,7 +1437,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1446
1437
>
1447
1438
) . propertyView ( {
1448
1439
label : config . label ,
1449
- preInputNode : < ChartBorderWidth title = "chartBorderWidth" /> ,
1440
+ preInputNode : < BorderPropIcon title = "chartBorderWidth" /> ,
1450
1441
placeholder : props [ name ] ,
1451
1442
} )
1452
1443
: name === 'chartTextSize'
@@ -1456,7 +1447,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1456
1447
>
1457
1448
) . propertyView ( {
1458
1449
label : config . label ,
1459
- preInputNode : < ChartTextSize title = "chartTextSize" /> ,
1450
+ preInputNode : < StyledTextSizeIcon title = "chartTextSize" /> ,
1460
1451
placeholder : props [ name ] ,
1461
1452
} )
1462
1453
: name === 'chartTextWeight'
@@ -1466,7 +1457,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1466
1457
>
1467
1458
) . propertyView ( {
1468
1459
label : config . label ,
1469
- preInputNode : < ChartTextWeight title = "chartTextWeight" /> ,
1460
+ preInputNode : < StyledTextWeightIcon title = "chartTextWeight" /> ,
1470
1461
placeholder : props [ name ] ,
1471
1462
} )
1472
1463
: name === 'chartFontFamily'
@@ -1476,7 +1467,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1476
1467
>
1477
1468
) . propertyView ( {
1478
1469
label : config . label ,
1479
- preInputNode : < ChartFontFamily title = "chartFontFamily" /> ,
1470
+ preInputNode : < StyledFontFamilyIcon title = "chartFontFamily" /> ,
1480
1471
placeholder : props [ name ] ,
1481
1472
} )
1482
1473
: name === 'chartFontStyle'
@@ -1486,7 +1477,7 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
1486
1477
>
1487
1478
) . propertyView ( {
1488
1479
label : config . label ,
1489
- preInputNode : < ChartFontStyle title = "chartFontStyle" /> ,
1480
+ preInputNode : < StyledFontFamilyIcon title = "chartFontStyle" /> ,
1490
1481
placeholder : props [ name ] ,
1491
1482
} )
1492
1483
: name === 'animationIterationCount'
0 commit comments