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
|
render?: (obj: any) => any
|
||||||
|
|
||||||
// layout-related
|
// layout-related
|
||||||
alignContent?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 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' | string
|
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' | string
|
alignSelf?: 'auto' | 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end'
|
||||||
aspectRatio?: number | string
|
aspectRatio?: number | string
|
||||||
bottom?: number | string
|
bottom?: number | string
|
||||||
boxSizing?: 'content-box' | 'border-box'
|
boxSizing?: 'content-box' | 'border-box'
|
||||||
columnGap?: number | string
|
columnGap?: number | string
|
||||||
contain?: 'none' | 'strict' | 'content' | 'size' | 'layout' | 'style' | 'paint' | 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' | string
|
display?: 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'grid' | 'inline-grid' | 'flow-root' | 'none' | 'contents' | 'table' | 'table-row' | 'table-cell'
|
||||||
flex?: number | string
|
flex?: number | string
|
||||||
flexBasis?: number | string
|
flexBasis?: number | string
|
||||||
flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse'
|
flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse'
|
||||||
|
|
@ -31,9 +31,9 @@ export type TagDef = {
|
||||||
gridTemplateRows?: string
|
gridTemplateRows?: string
|
||||||
height?: number | string
|
height?: number | string
|
||||||
inset?: number | string
|
inset?: number | string
|
||||||
justifyContent?: 'normal' | 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'left' | 'right' | 'stretch' | 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' | string
|
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' | string
|
justifySelf?: 'auto' | 'normal' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end' | 'left' | 'right'
|
||||||
left?: number | string
|
left?: number | string
|
||||||
margin?: number | string
|
margin?: number | string
|
||||||
marginBottom?: number | string
|
marginBottom?: number | string
|
||||||
|
|
@ -60,13 +60,13 @@ export type TagDef = {
|
||||||
right?: number | string
|
right?: number | string
|
||||||
rowGap?: number | string
|
rowGap?: number | string
|
||||||
top?: 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
|
width?: number | string
|
||||||
zIndex?: number
|
zIndex?: number
|
||||||
|
|
||||||
// visual/theme-related
|
// visual/theme-related
|
||||||
animation?: string
|
animation?: string
|
||||||
appearance?: 'none' | 'auto' | 'button' | 'textfield' | 'searchfield' | 'textarea' | 'checkbox' | 'radio' | string
|
appearance?: 'none' | 'auto' | 'button' | 'textfield' | 'searchfield' | 'textarea' | 'checkbox' | 'radio'
|
||||||
backdropFilter?: string
|
backdropFilter?: string
|
||||||
background?: string
|
background?: string
|
||||||
backgroundAttachment?: 'scroll' | 'fixed' | 'local'
|
backgroundAttachment?: 'scroll' | 'fixed' | 'local'
|
||||||
|
|
@ -75,7 +75,7 @@ export type TagDef = {
|
||||||
backgroundImage?: string
|
backgroundImage?: string
|
||||||
backgroundPosition?: string
|
backgroundPosition?: string
|
||||||
backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'space' | 'round'
|
backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'space' | 'round'
|
||||||
backgroundSize?: 'auto' | 'cover' | 'contain' | string
|
backgroundSize?: 'auto' | 'cover' | 'contain'
|
||||||
border?: string
|
border?: string
|
||||||
borderBottom?: string
|
borderBottom?: string
|
||||||
borderBottomColor?: string
|
borderBottomColor?: string
|
||||||
|
|
@ -105,7 +105,7 @@ export type TagDef = {
|
||||||
clipPath?: string
|
clipPath?: string
|
||||||
color?: string
|
color?: string
|
||||||
content?: 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
|
filter?: string
|
||||||
fontFamily?: string
|
fontFamily?: string
|
||||||
fontSize?: number | string
|
fontSize?: number | string
|
||||||
|
|
@ -117,7 +117,7 @@ export type TagDef = {
|
||||||
listStyle?: string
|
listStyle?: string
|
||||||
listStyleImage?: string
|
listStyleImage?: string
|
||||||
listStylePosition?: 'inside' | 'outside'
|
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'
|
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'
|
objectFit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'
|
||||||
opacity?: number
|
opacity?: number
|
||||||
|
|
@ -132,7 +132,7 @@ export type TagDef = {
|
||||||
textAlign?: 'left' | 'right' | 'center' | 'justify' | 'start' | 'end'
|
textAlign?: 'left' | 'right' | 'center' | 'justify' | 'start' | 'end'
|
||||||
textDecoration?: string
|
textDecoration?: string
|
||||||
textDecorationColor?: string
|
textDecorationColor?: string
|
||||||
textDecorationLine?: 'none' | 'underline' | 'overline' | 'line-through' | 'blink' | string
|
textDecorationLine?: 'none' | 'underline' | 'overline' | 'line-through' | 'blink'
|
||||||
textDecorationStyle?: 'solid' | 'double' | 'dotted' | 'dashed' | 'wavy'
|
textDecorationStyle?: 'solid' | 'double' | 'dotted' | 'dashed' | 'wavy'
|
||||||
textDecorationThickness?: number | string
|
textDecorationThickness?: number | string
|
||||||
textIndent?: number | string
|
textIndent?: number | string
|
||||||
|
|
@ -144,7 +144,7 @@ export type TagDef = {
|
||||||
userSelect?: 'auto' | 'none' | 'text' | 'contain' | 'all'
|
userSelect?: 'auto' | 'none' | 'text' | 'contain' | 'all'
|
||||||
visibility?: 'visible' | 'hidden' | 'collapse'
|
visibility?: 'visible' | 'hidden' | 'collapse'
|
||||||
whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line' | 'break-spaces'
|
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'
|
wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word'
|
||||||
wordSpacing?: number | string
|
wordSpacing?: number | string
|
||||||
wordWrap?: 'normal' | 'break-word' | 'anywhere'
|
wordWrap?: 'normal' | 'break-word' | 'anywhere'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user