jsx-dom-runtime
Advanced tools
Comparing version 0.36.0 to 0.36.1
@@ -184,8 +184,8 @@ /// <reference lib="dom" /> | ||
export interface CSSProperties extends Properties<string | number> { | ||
export interface CSSProperties extends Properties<number | string> { | ||
cssText?: string | null; | ||
[key: `--${string}`]: string | number; | ||
[key: `--${string}`]: number | string; | ||
} | ||
export interface SVGProperties extends SvgProperties<string | number> { } | ||
export interface SVGProperties extends SvgProperties<number | string> { } | ||
@@ -213,3 +213,3 @@ export interface AriaAttributes { | ||
*/ | ||
'aria-colcount'?: number | ||
'aria-colcount'?: Numeric | ||
/** | ||
@@ -219,3 +219,3 @@ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. | ||
*/ | ||
'aria-colindex'?: number | ||
'aria-colindex'?: Numeric | ||
/** | ||
@@ -225,3 +225,3 @@ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. | ||
*/ | ||
'aria-colspan'?: number | ||
'aria-colspan'?: Numeric | ||
/** | ||
@@ -297,3 +297,3 @@ * Identifies the element (or elements) whose contents or presence are controlled by the current element. | ||
/** Defines the hierarchical level of an element within a structure. */ | ||
'aria-level'?: number | ||
'aria-level'?: Numeric | ||
/** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */ | ||
@@ -324,3 +324,3 @@ 'aria-live'?: 'off' | 'assertive' | 'polite' | ||
*/ | ||
'aria-posinset'?: number | ||
'aria-posinset'?: Numeric | ||
/** | ||
@@ -361,3 +361,3 @@ * Indicates the current "pressed" state of toggle buttons. | ||
*/ | ||
'aria-rowcount'?: number | ||
'aria-rowcount'?: Numeric | ||
/** | ||
@@ -367,3 +367,3 @@ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. | ||
*/ | ||
'aria-rowindex'?: number | ||
'aria-rowindex'?: Numeric | ||
/** | ||
@@ -373,3 +373,3 @@ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. | ||
*/ | ||
'aria-rowspan'?: number | ||
'aria-rowspan'?: Numeric | ||
/** | ||
@@ -384,9 +384,9 @@ * Indicates the current "selected" state of various widgets. | ||
*/ | ||
'aria-setsize'?: number | ||
'aria-setsize'?: Numeric | ||
/** Indicates if items in a table or grid are sorted in ascending or descending order. */ | ||
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | ||
/** Defines the maximum allowed value for a range widget. */ | ||
'aria-valuemax'?: number | ||
'aria-valuemax'?: Numeric | ||
/** Defines the minimum allowed value for a range widget. */ | ||
'aria-valuemin'?: number | ||
'aria-valuemin'?: Numeric | ||
/** | ||
@@ -396,3 +396,3 @@ * Defines the current value for a range widget. | ||
*/ | ||
'aria-valuenow'?: number | ||
'aria-valuenow'?: Numeric | ||
/** Defines the human readable text alternative of aria-valuenow for a range widget. */ | ||
@@ -516,3 +516,3 @@ 'aria-valuetext'?: string | ||
itemRef?: string | ||
results?: number | ||
results?: Numeric | ||
security?: string | ||
@@ -917,3 +917,3 @@ unselectable?: 'on' | 'off' | ||
type?: 'submit' | 'reset' | 'button'; | ||
value?: string | number; | ||
value?: number | string; | ||
} | ||
@@ -927,3 +927,3 @@ | ||
interface ColHTMLAttributes extends HTMLAttributes<HTMLTableColElement> { | ||
span?: number | ||
span?: Numeric | ||
width?: number | string | ||
@@ -933,7 +933,7 @@ } | ||
interface ColgroupHTMLAttributes extends HTMLAttributes<HTMLTableColElement> { | ||
span?: number | ||
span?: Numeric | ||
} | ||
interface DataHTMLAttributes extends HTMLAttributes<HTMLDataElement> { | ||
value?: string | number; | ||
value?: number | string; | ||
} | ||
@@ -993,5 +993,5 @@ | ||
/** @deprecated */ | ||
marginHeight?: number; | ||
marginHeight?: Numeric; | ||
/** @deprecated */ | ||
marginWidth?: number; | ||
marginWidth?: Numeric; | ||
name?: string; | ||
@@ -1049,5 +1049,5 @@ referrerPolicy?: ReferrerPolicy; | ||
max?: number | string | ||
maxLength?: number; | ||
maxLength?: Numeric; | ||
min?: number | string | ||
minLength?: number; | ||
minLength?: Numeric; | ||
multiple?: boolean | 'multiple' | ''; | ||
@@ -1059,7 +1059,7 @@ name?: string; | ||
required?: boolean | 'required' | ''; | ||
size?: number; | ||
size?: Numeric; | ||
src?: string | ||
step?: number | string; | ||
type?: HTMLInputTypeAttribute; | ||
value?: string | number; | ||
value?: number | string; | ||
width?: number | string | ||
@@ -1074,3 +1074,3 @@ onchange?: ChangeEventHandler<HTMLInputElement> | ||
interface LiHTMLAttributes extends HTMLAttributes<HTMLLIElement> { | ||
value?: `${number}` | number; | ||
value?: Numeric; | ||
} | ||
@@ -1127,8 +1127,8 @@ | ||
form?: string | ||
high?: number; | ||
low?: number; | ||
high?: Numeric; | ||
low?: Numeric; | ||
max?: number | string; | ||
min?: number | string; | ||
optimum?: number; | ||
value?: string | number; | ||
optimum?: Numeric; | ||
value?: number | string; | ||
} | ||
@@ -1154,3 +1154,3 @@ | ||
reversed?: boolean | 'reversed' | ''; | ||
start?: number; | ||
start?: Numeric; | ||
type?: '1' | 'a' | 'A' | 'i' | 'I'; | ||
@@ -1168,3 +1168,3 @@ } | ||
selected?: boolean | 'selected' | ''; | ||
value?: string | number; | ||
value?: number | string; | ||
} | ||
@@ -1176,3 +1176,3 @@ | ||
name?: string; | ||
value?: string | number; | ||
value?: number | string; | ||
} | ||
@@ -1182,3 +1182,3 @@ | ||
name?: string | ||
value?: string | number | ||
value?: number | string | ||
} | ||
@@ -1188,3 +1188,3 @@ | ||
max?: number | string; | ||
value?: string | number; | ||
value?: number | string; | ||
} | ||
@@ -1215,4 +1215,4 @@ | ||
required?: boolean | 'required' | ''; | ||
size?: number; | ||
value?: string | number; | ||
size?: Numeric; | ||
value?: number | string; | ||
onchange?: ChangeEventHandler<HTMLSelectElement>; | ||
@@ -1252,8 +1252,8 @@ } | ||
autofocus?: boolean | 'autofocus' | ''; | ||
cols?: number; | ||
cols?: Numeric; | ||
dirName?: string; | ||
disabled?: boolean | 'disabled' | ''; | ||
form?: string | ||
maxLength?: number; | ||
minLength?: number; | ||
maxLength?: Numeric; | ||
minLength?: Numeric; | ||
name?: string; | ||
@@ -1263,4 +1263,4 @@ placeholder?: string; | ||
required?: boolean | 'required' | ''; | ||
rows?: number; | ||
value?: string | number; | ||
rows?: Numeric; | ||
value?: number | string; | ||
wrap?: 'hard' | 'soft' | 'off'; | ||
@@ -1272,5 +1272,5 @@ onchange?: ChangeEventHandler<HTMLTextAreaElement>; | ||
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | ||
colSpan?: number | ||
colSpan?: Numeric | ||
headers?: string | ||
rowSpan?: number | ||
rowSpan?: Numeric | ||
scope?: string | ||
@@ -1285,5 +1285,5 @@ abbr?: string | ||
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | ||
colSpan?: number | ||
colSpan?: Numeric | ||
headers?: string | ||
rowSpan?: number | ||
rowSpan?: Numeric | ||
scope?: string | ||
@@ -1290,0 +1290,0 @@ abbr?: string |
{ | ||
"name": "jsx-dom-runtime", | ||
"version": "0.36.0", | ||
"version": "0.36.1", | ||
"description": "A tiny in 500 bytes library to JSX syntax templates for DOM", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66999