autocomplete
This commit is contained in:
parent
6af62ae37e
commit
54f666d25f
30
src/types.ts
30
src/types.ts
|
|
@ -7,15 +7,15 @@ export type TagDef = {
|
|||
render?: (obj: any) => any
|
||||
|
||||
// layout-related
|
||||
alignContent?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | string
|
||||
alignItems?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end' | string
|
||||
alignSelf?: 'auto' | 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end' | string
|
||||
alignContent?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline'
|
||||
alignItems?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end'
|
||||
alignSelf?: 'auto' | 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end'
|
||||
aspectRatio?: number | string
|
||||
bottom?: number | string
|
||||
boxSizing?: 'content-box' | 'border-box'
|
||||
columnGap?: number | string
|
||||
contain?: 'none' | 'strict' | 'content' | 'size' | 'layout' | 'style' | 'paint' | string
|
||||
display?: 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'grid' | 'inline-grid' | 'flow-root' | 'none' | 'contents' | 'table' | 'table-row' | 'table-cell' | string
|
||||
contain?: 'none' | 'strict' | 'content' | 'size' | 'layout' | 'style' | 'paint'
|
||||
display?: 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'grid' | 'inline-grid' | 'flow-root' | 'none' | 'contents' | 'table' | 'table-row' | 'table-cell'
|
||||
flex?: number | string
|
||||
flexBasis?: number | string
|
||||
flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse'
|
||||
|
|
@ -31,9 +31,9 @@ export type TagDef = {
|
|||
gridTemplateRows?: string
|
||||
height?: number | string
|
||||
inset?: number | string
|
||||
justifyContent?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'left' | 'right' | 'stretch' | string
|
||||
justifyItems?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end' | 'left' | 'right' | string
|
||||
justifySelf?: 'auto' | 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end' | 'left' | 'right' | string
|
||||
justifyContent?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'left' | 'right' | 'stretch'
|
||||
justifyItems?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end' | 'left' | 'right'
|
||||
justifySelf?: 'auto' | 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end' | 'left' | 'right'
|
||||
left?: number | string
|
||||
margin?: number | string
|
||||
marginBottom?: number | string
|
||||
|
|
@ -60,13 +60,13 @@ export type TagDef = {
|
|||
right?: number | string
|
||||
rowGap?: number | string
|
||||
top?: number | string
|
||||
verticalAlign?: 'baseline' | 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom' | 'sub' | 'super' | string
|
||||
verticalAlign?: 'baseline' | 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom' | 'sub' | 'super'
|
||||
width?: number | string
|
||||
zIndex?: number
|
||||
|
||||
// visual/theme-related
|
||||
animation?: string
|
||||
appearance?: 'none' | 'auto' | 'button' | 'textfield' | 'searchfield' | 'textarea' | 'checkbox' | 'radio' | string
|
||||
appearance?: 'none' | 'auto' | 'button' | 'textfield' | 'searchfield' | 'textarea' | 'checkbox' | 'radio'
|
||||
backdropFilter?: string
|
||||
background?: string
|
||||
backgroundAttachment?: 'scroll' | 'fixed' | 'local'
|
||||
|
|
@ -75,7 +75,7 @@ export type TagDef = {
|
|||
backgroundImage?: string
|
||||
backgroundPosition?: string
|
||||
backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'space' | 'round'
|
||||
backgroundSize?: 'auto' | 'cover' | 'contain' | string
|
||||
backgroundSize?: 'auto' | 'cover' | 'contain'
|
||||
border?: string
|
||||
borderBottom?: string
|
||||
borderBottomColor?: string
|
||||
|
|
@ -105,7 +105,7 @@ export type TagDef = {
|
|||
clipPath?: string
|
||||
color?: string
|
||||
content?: string
|
||||
cursor?: 'auto' | 'default' | 'none' | 'context-menu' | 'help' | 'pointer' | 'progress' | 'wait' | 'cell' | 'crosshair' | 'text' | 'vertical-text' | 'alias' | 'copy' | 'move' | 'no-drop' | 'not-allowed' | 'grab' | 'grabbing' | 'e-resize' | 'n-resize' | 'ne-resize' | 'nw-resize' | 's-resize' | 'se-resize' | 'sw-resize' | 'w-resize' | 'ew-resize' | 'ns-resize' | 'nesw-resize' | 'nwse-resize' | 'col-resize' | 'row-resize' | 'all-scroll' | 'zoom-in' | 'zoom-out' | string
|
||||
cursor?: 'auto' | 'default' | 'none' | 'context-menu' | 'help' | 'pointer' | 'progress' | 'wait' | 'cell' | 'crosshair' | 'text' | 'vertical-text' | 'alias' | 'copy' | 'move' | 'no-drop' | 'not-allowed' | 'grab' | 'grabbing' | 'e-resize' | 'n-resize' | 'ne-resize' | 'nw-resize' | 's-resize' | 'se-resize' | 'sw-resize' | 'w-resize' | 'ew-resize' | 'ns-resize' | 'nesw-resize' | 'nwse-resize' | 'col-resize' | 'row-resize' | 'all-scroll' | 'zoom-in' | 'zoom-out'
|
||||
filter?: string
|
||||
fontFamily?: string
|
||||
fontSize?: number | string
|
||||
|
|
@ -117,7 +117,7 @@ export type TagDef = {
|
|||
listStyle?: string
|
||||
listStyleImage?: string
|
||||
listStylePosition?: 'inside' | 'outside'
|
||||
listStyleType?: 'none' | 'disc' | 'circle' | 'square' | 'decimal' | 'decimal-leading-zero' | 'lower-roman' | 'upper-roman' | 'lower-alpha' | 'upper-alpha' | 'lower-greek' | 'lower-latin' | 'upper-latin' | string
|
||||
listStyleType?: 'none' | 'disc' | 'circle' | 'square' | 'decimal' | 'decimal-leading-zero' | 'lower-roman' | 'upper-roman' | 'lower-alpha' | 'upper-alpha' | 'lower-greek' | 'lower-latin' | 'upper-latin'
|
||||
mixBlendMode?: 'normal' | 'multiply' | 'screen' | 'overlay' | 'darken' | 'lighten' | 'color-dodge' | 'color-burn' | 'hard-light' | 'soft-light' | 'difference' | 'exclusion' | 'hue' | 'saturation' | 'color' | 'luminosity'
|
||||
objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'
|
||||
opacity?: number
|
||||
|
|
@ -132,7 +132,7 @@ export type TagDef = {
|
|||
textAlign?: 'left' | 'right' | 'center' | 'justify' | 'start' | 'end'
|
||||
textDecoration?: string
|
||||
textDecorationColor?: string
|
||||
textDecorationLine?: 'none' | 'underline' | 'overline' | 'line-through' | 'blink' | string
|
||||
textDecorationLine?: 'none' | 'underline' | 'overline' | 'line-through' | 'blink'
|
||||
textDecorationStyle?: 'solid' | 'double' | 'dotted' | 'dashed' | 'wavy'
|
||||
textDecorationThickness?: number | string
|
||||
textIndent?: number | string
|
||||
|
|
@ -144,7 +144,7 @@ export type TagDef = {
|
|||
userSelect?: 'auto' | 'none' | 'text' | 'contain' | 'all'
|
||||
visibility?: 'visible' | 'hidden' | 'collapse'
|
||||
whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line' | 'break-spaces'
|
||||
willChange?: 'auto' | 'scroll-position' | 'contents' | string
|
||||
willChange?: 'auto' | 'scroll-position' | 'contents'
|
||||
wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word'
|
||||
wordSpacing?: number | string
|
||||
wordWrap?: 'normal' | 'break-word' | 'anywhere'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user