jsx-dom-runtime
Advanced tools
Comparing version 0.57.0 to 0.57.1
125
index.d.ts
@@ -207,2 +207,70 @@ /// <reference lib="dom" /> | ||
export type Autocomplete = | ||
| 'on' | ||
| 'off' | ||
| 'shipping' | ||
| 'billing' | ||
| 'name' | ||
| 'honorific-prefix' | ||
| 'given-name' | ||
| 'additional-name' | ||
| 'family-name' | ||
| 'honorific-suffix' | ||
| 'nickname' | ||
| 'username' | ||
| 'new-password' | ||
| 'current-password' | ||
| 'one-time-code' | ||
| 'organization-title' | ||
| 'organization' | ||
| 'street-address' | ||
| 'address-line1' | ||
| 'address-line2' | ||
| 'address-line3' | ||
| 'address-level4' | ||
| 'address-level3' | ||
| 'address-level2' | ||
| 'address-level1' | ||
| 'country' | ||
| 'country-name' | ||
| 'postal-code' | ||
| 'cc-name' | ||
| 'cc-given-name' | ||
| 'cc-additional-name' | ||
| 'cc-family-name' | ||
| 'cc-number' | ||
| 'cc-exp' | ||
| 'cc-exp-month' | ||
| 'cc-exp-year' | ||
| 'cc-csc' | ||
| 'cc-type' | ||
| 'transaction-currency' | ||
| 'transaction-amount' | ||
| 'language' | ||
| 'bday' | ||
| 'bday-day' | ||
| 'bday-month' | ||
| 'bday-year' | ||
| 'sex' | ||
| 'url' | ||
| 'photo' | ||
| 'home' | ||
| 'work' | ||
| 'mobile' | ||
| 'fax' | ||
| 'pager' | ||
| 'tel' | ||
| 'tel-country-code' | ||
| 'tel-national' | ||
| 'tel-area-code' | ||
| 'tel-local' | ||
| 'tel-local-prefix' | ||
| 'tel-local-suffix' | ||
| 'tel-extension' | ||
| 'email' | ||
| 'impp' | ||
| 'webauthn' | ||
| `section-${string}` | ||
| (string & {}); | ||
export interface AriaAttributes { | ||
@@ -432,4 +500,4 @@ /** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */ | ||
/** | ||
* All the WAI-ARIA 1.1 role attribute values | ||
* @see https://www.w3.org/TR/wai-aria-1.1/#role_definitions | ||
* All the WAI-ARIA 1.2 role attribute values | ||
* @see https://www.w3.org/TR/wai-aria-1.2/#role_definitions | ||
*/ | ||
@@ -442,16 +510,24 @@ role?: | ||
| 'banner' | ||
| 'blockquote' | ||
| 'button' | ||
| 'caption' | ||
| 'cell' | ||
| 'checkbox' | ||
| 'code' | ||
| 'columnheader' | ||
| 'combobox' | ||
| 'command' | ||
| 'complementary' | ||
| 'composite' | ||
| 'contentinfo' | ||
| 'definition' | ||
| 'deletion' | ||
| 'dialog' | ||
| 'directory' | ||
| 'document' | ||
| 'emphasis' | ||
| 'feed' | ||
| 'figure' | ||
| 'form' | ||
| 'generic' | ||
| 'grid' | ||
@@ -462,2 +538,5 @@ | 'gridcell' | ||
| 'img' | ||
| 'input' | ||
| 'insertion' | ||
| 'landmark' | ||
| 'link' | ||
@@ -471,2 +550,3 @@ | 'list' | ||
| 'math' | ||
| 'meter' | ||
| 'menu' | ||
@@ -481,2 +561,3 @@ | 'menubar' | ||
| 'option' | ||
| 'paragraph' | ||
| 'presentation' | ||
@@ -486,3 +567,5 @@ | 'progressbar' | ||
| 'radiogroup' | ||
| 'range' | ||
| 'region' | ||
| 'roletype' | ||
| 'row' | ||
@@ -494,2 +577,5 @@ | 'rowgroup' | ||
| 'searchbox' | ||
| 'section' | ||
| 'sectionhead' | ||
| 'select' | ||
| 'separator' | ||
@@ -499,2 +585,6 @@ | 'slider' | ||
| 'status' | ||
| 'strong' | ||
| 'structure' | ||
| 'subscript' | ||
| 'superscript' | ||
| 'switch' | ||
@@ -507,2 +597,3 @@ | 'tab' | ||
| 'textbox' | ||
| 'time' | ||
| 'timer' | ||
@@ -514,2 +605,4 @@ | 'toolbar' | ||
| 'treeitem' | ||
| 'widget' | ||
| 'window' | ||
| 'none presentation' | ||
@@ -742,6 +835,6 @@ } | ||
order?: number | string | ||
orient?: 'auto' | 'auto-start-reverse' | number | string | ||
orient?: 'auto' | 'auto-start-reverse' | number | (string & {}) | ||
/** @deprecated */ | ||
orientation?: 'h' | 'v' | ||
origin?: 'default' | string | ||
origin?: 'default' | (string & {}) | ||
overflow?: SVGProperties['overflow'] | ||
@@ -768,7 +861,7 @@ 'overline-position'?: number | `${number}` | ||
radius?: number | string | ||
refX?: number | string | 'left' | 'center' | 'right' | ||
refY?: number | string | 'top' | 'center' | 'bottom' | ||
refX?: 'left' | 'center' | 'right' | number | (string & {}) | ||
refY?: 'top' | 'center' | 'bottom' | number | (string & {}) | ||
renderingIntent?: number | string | ||
repeatCount?: number | `${number}` | 'indefinite' | ||
repeatDur?: number | string | 'indefinite' | ||
repeatCount?: 'indefinite' | number | `${number}` | ||
repeatDur?: 'indefinite' | number | (string & {}) | ||
requiredExtensions?: number | string | ||
@@ -780,4 +873,4 @@ /** @deprecated */ | ||
rotate?: number | `${number}` | 'auto' | 'auto-reverse' | ||
rx?: number | string | 'auto' | ||
ry?: number | string | 'auto' | ||
rx?: 'auto' | number | (string & {}) | ||
ry?: 'auto' | number | (string & {}) | ||
scale?: number | `${number}` | ||
@@ -819,3 +912,3 @@ seed?: number | `${number}` | ||
tableValues?: number | string | ||
target?: string | '_self' | '_parent' | '_top' | '_blank' | ||
target?: '_self' | '_parent' | '_top' | '_blank' | (string & {}) | ||
targetX?: number | string | ||
@@ -830,3 +923,3 @@ targetY?: number | string | ||
'transform-origin'?: string | ||
type?: string | 'translate' | 'scale' | 'rotate' | 'skewX' | 'skewY' | ||
type?: 'translate' | 'scale' | 'rotate' | 'skewX' | 'skewY' | (string & {}) | ||
/** @deprecated */ | ||
@@ -1075,3 +1168,3 @@ u1?: string | ||
action?: string; | ||
autocomplete?: string; | ||
autocomplete?: Autocomplete; | ||
enctype?: string; | ||
@@ -1143,3 +1236,3 @@ method?: string; | ||
alt?: string | ||
autocomplete?: string; | ||
autocomplete?: Autocomplete | ||
autofocus?: boolean | ''; | ||
@@ -1335,3 +1428,3 @@ capture?: boolean | 'user' | 'environment' | '' | ||
interface HTMLSelectElementAttributes extends HTMLAttributes<HTMLSelectElement> { | ||
autocomplete?: string; | ||
autocomplete?: Autocomplete; | ||
autofocus?: boolean | ''; | ||
@@ -1419,3 +1512,3 @@ disabled?: boolean | ''; | ||
interface HTMLTextAreaElementAttributes extends HTMLAttributes<HTMLTextAreaElement> { | ||
autocomplete?: string; | ||
autocomplete?: Autocomplete; | ||
autofocus?: boolean | ''; | ||
@@ -1422,0 +1515,0 @@ cols?: number | `${number}`; |
{ | ||
"name": "jsx-dom-runtime", | ||
"version": "0.57.0", | ||
"version": "0.57.1", | ||
"description": "A tiny in 500 bytes library to JSX syntax templates for DOM. Support HTML, SVG and MathML tags", | ||
@@ -34,5 +34,5 @@ "type": "module", | ||
"@babel/helper-plugin-utils": "^7.22.5", | ||
"@babel/helper-validator-identifier": "^7.22.5", | ||
"@babel/helper-validator-identifier": "^7.22.20", | ||
"@babel/plugin-syntax-jsx": "^7.22.5", | ||
"@babel/types": "^7.22.10", | ||
"@babel/types": "^7.23.0", | ||
"csstype": "^3.1.2", | ||
@@ -46,24 +46,24 @@ "html-tags": "^3.3.1", | ||
"devDependencies": { | ||
"@babel/core": "^7.22.10", | ||
"@babel/preset-typescript": "^7.22.5", | ||
"@evilmartians/lefthook": "^1.4.9", | ||
"@jest/globals": "^29.6.2", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@rollup/plugin-node-resolve": "^15.2.0", | ||
"@size-limit/preset-small-lib": "^8.2.6", | ||
"@testing-library/dom": "^9.3.1", | ||
"@testing-library/jest-dom": "^6.0.1", | ||
"@types/babel__helper-validator-identifier": "^7.15.0", | ||
"@types/svg-tags": "^1.0.0", | ||
"@types/testing-library__jest-dom": "^5.14.9", | ||
"@typescript-eslint/eslint-plugin": "^6.4.0", | ||
"@typescript-eslint/parser": "^6.4.0", | ||
"babel-jest": "^29.6.2", | ||
"eslint": "^8.47.0", | ||
"@babel/core": "^7.23.2", | ||
"@babel/preset-typescript": "^7.23.2", | ||
"@evilmartians/lefthook": "^1.5.2", | ||
"@jest/globals": "^29.7.0", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
"@size-limit/preset-small-lib": "^9.0.0", | ||
"@testing-library/dom": "^9.3.3", | ||
"@testing-library/jest-dom": "^6.1.4", | ||
"@types/babel__helper-validator-identifier": "^7.15.1", | ||
"@types/jest": "^29.5.6", | ||
"@types/svg-tags": "^1.0.1", | ||
"@typescript-eslint/eslint-plugin": "^6.8.0", | ||
"@typescript-eslint/parser": "^6.8.0", | ||
"babel-jest": "^29.7.0", | ||
"eslint": "^8.51.0", | ||
"fs-extra": "^11.1.1", | ||
"jest": "^29.6.2", | ||
"jest-environment-jsdom": "^29.6.2", | ||
"rollup": "^3.28.0", | ||
"size-limit": "^8.2.6", | ||
"typescript": "^5.1.6" | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"rollup": "^4.1.4", | ||
"size-limit": "^9.0.0", | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -70,0 +70,0 @@ "files": [ |
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
87049
2336