More properties, cleanup
This commit is contained in:
@@ -44,13 +44,37 @@ open class Style(
|
||||
var borderColor: List<Color>? = null,
|
||||
var borderImage: TextProperty? = null,
|
||||
var borderImageOutset: Length? = null,
|
||||
var borderImageRepeat: List<ImageRepeat>? = null,
|
||||
var borderImageSlice: List<ImageSlice>? = null,
|
||||
var borderImageSource: List<ImageSource>? = null,
|
||||
var borderImageWidth: List<BorderImageWidth>? = null,
|
||||
var borderLeft: TextProperty? = null,
|
||||
var borderLeftColor: Color? = null,
|
||||
var borderLeftStyle: BorderStyle? = null,
|
||||
var borderLeftWidth: BorderWidth? = null,
|
||||
var borderRadius: List<BorderRadius>? = null,
|
||||
var borderRight: TextProperty? = null,
|
||||
var borderRightColor: Color? = null,
|
||||
var borderRightStyle: BorderStyle? = null,
|
||||
var borderRightWidth: BorderWidth? = null,
|
||||
var borderSpacing: List<BorderSpacing>? = null,
|
||||
var borderStyle: List<BorderStyle>? = null,
|
||||
var borderTop: TextProperty? = null,
|
||||
var borderTopColor: Color? = null,
|
||||
var borderTopLeftRadius: BorderRadius? = null,
|
||||
var borderTopRightRadius: BorderRadius? = null,
|
||||
var borderTopStyle: BorderStyle? = null,
|
||||
var borderTopWidth: BorderWidth? = null,
|
||||
var bottom: Measurement? = null,
|
||||
var boxDecorationBreak: BoxDecorationBreak? = null,
|
||||
var boxShadow: BoxShadow? = null,
|
||||
var boxSizing: BoxSizing? = null,
|
||||
var breakAfter: Break? = null,
|
||||
var breakBefore: Break? = null,
|
||||
var breakInside: Break? = null,
|
||||
var captionSide: CaptionSide? = null,
|
||||
var caretColor: Color? = null,
|
||||
//var charset: TextProperty? = null,
|
||||
var color: Color? = null,
|
||||
var fontFamily: TextProperty? = null,
|
||||
var fontSize: FontSize? = null,
|
||||
@@ -68,7 +92,11 @@ open class Style(
|
||||
MaxCountValidator(4),
|
||||
InitialInheritSingleValue()
|
||||
),
|
||||
"animation-timing-function" to listOf(MaxCountValidator(4))
|
||||
"animation-timing-function" to listOf(MaxCountValidator(4)),
|
||||
"border-image-repeat" to listOf(MaxCountValidator(2)),
|
||||
"border-image-slice" to listOf(MaxCountValidator(4)),
|
||||
"border-spacing" to listOf(MaxCountValidator(4)),
|
||||
"border-style" to listOf(MaxCountValidator(4))
|
||||
)
|
||||
|
||||
fun getMapping(): Map<String, Any?> = mapOf(
|
||||
@@ -108,13 +136,37 @@ open class Style(
|
||||
"border-color" to borderColor,
|
||||
"border-image" to borderImage,
|
||||
"border-image-outset" to borderImageOutset,
|
||||
"border-image-repeat" to borderImageRepeat,
|
||||
"border-image-slice" to borderImageSlice,
|
||||
"border-image-source" to borderImageSource,
|
||||
"border-image-width" to borderImageWidth,
|
||||
"border-left" to borderLeft,
|
||||
"border-left-color" to borderLeftColor,
|
||||
"border-left-style" to borderLeftStyle,
|
||||
"border-left-width" to borderLeftWidth,
|
||||
"border-radius" to borderRadius,
|
||||
"border-right" to borderRight,
|
||||
"border-right-color" to borderRightColor,
|
||||
"border-right-style" to borderRightStyle,
|
||||
"border-right-width" to borderRightWidth,
|
||||
"border-spacing" to borderSpacing,
|
||||
"border-style" to borderStyle,
|
||||
"border-top" to borderTop,
|
||||
"border-top-color" to borderTopColor,
|
||||
"border-top-left-radius" to borderTopLeftRadius,
|
||||
"border-top-right-radius" to borderTopRightRadius,
|
||||
"border-top-style" to borderTopStyle,
|
||||
"border-top-width" to borderTopWidth,
|
||||
"bottom" to bottom,
|
||||
"box-decoration-break" to boxDecorationBreak,
|
||||
"box-shadow" to boxShadow,
|
||||
"box-sizing" to boxSizing,
|
||||
"break-after" to breakAfter,
|
||||
"break-before" to breakBefore,
|
||||
"break-inside" to breakInside,
|
||||
"caption-side" to captionSide,
|
||||
"caret-color" to caretColor,
|
||||
//"@charset" to charset,
|
||||
"color" to color,
|
||||
"font-family" to fontFamily,
|
||||
"font-size" to fontSize,
|
||||
|
||||
Reference in New Issue
Block a user