react-props-check 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- export declare const reactAcceptedProperties: readonly ["abbr", "about", "accentHeight", "accept", "acceptCharset", "accessKey", "accumulate", "action", "additive", "alignmentBaseline", "allow", "allowFullScreen", "allowPaymentRequest", "allowReorder", "allowTransparency", "allowUserMedia", "alphabetic", "alt", "amplitude", "arabicForm", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-braillelabel", "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "as", "ascent", "async", "attributeName", "attributeType", "autoCapitalize", "autoComplete", "autoCorrect", "autofocus", "autoFocus", "autoPlay", "autoReverse", "autoSave", "azimuth", "baseFrequency", "baselineShift", "baseProfile", "bbox", "begin", "bias", "by", "calcMode", "capHeight", "capture", "cellPadding", "cellSpacing", "challenge", "charSet", "checked", "children", "cite", "class", "classID", "className", "clip", "clipPath", "clipPathUnits", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorProfile", "colorRendering", "cols", "colSpan", "content", "contentEditable", "contentScriptType", "contentStyleType", "contextMenu", "controls", "controlsList", "coords", "crossOrigin", "cursor", "cx", "cy", "d", "dangerouslySetInnerHTML", "data", "datatype", "dateTime", "decelerate", "decoding", "default", "defaultChecked", "defaultValue", "defer", "descent", "diffuseConstant", "dir", "direction", "disabled", "disablePictureInPicture", "display", "divisor", "dominantBaseline", "download", "draggable", "dur", "dx", "dy", "edgeMode", "elevation", "enableBackground", "encType", "end", "enterKeyHint", "exponent", "externalResourcesRequired", "fallback", "fill", "fillOpacity", "fillRule", "filter", "filterRes", "filterUnits", "floodColor", "floodOpacity", "focusable", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "for", "form", "formAction", "format", "formEncType", "formMethod", "formNoValidate", "formTarget", "fr", "frameBorder", "from", "fx", "fy", "g1", "g2", "glyphName", "glyphOrientationHorizontal", "glyphOrientationVertical", "glyphRef", "gradientTransform", "gradientUnits", "hanging", "headers", "height", "hidden", "high", "horizAdvX", "horizOriginX", "href", "hrefLang", "htmlFor", "httpEquiv", "id", "ideographic", "imageRendering", "in", "in2", "incremental", "inert", "inlist", "innerHTML", "inputMode", "integrity", "intercept", "is", "itemID", "itemProp", "itemRef", "itemScope", "itemType", "k", "k1", "k2", "k3", "k4", "kernelMatrix", "kernelUnitLength", "kerning", "key", "keyParams", "keyPoints", "keySplines", "keyTimes", "keyType", "kind", "label", "lang", "lengthAdjust", "letterSpacing", "lightingColor", "limitingConeAngle", "list", "loading", "local", "loop", "low", "manifest", "marginHeight", "marginWidth", "markerEnd", "markerHeight", "markerMid", "markerStart", "markerUnits", "markerWidth", "mask", "maskContentUnits", "maskUnits", "mathematical", "max", "maxLength", "media", "mediaGroup", "method", "min", "minLength", "mode", "multiple", "muted", "name", "nonce", "noValidate", "numOctaves", "offset", "on", "onAbort", "onAbortCapture", "onAnimationEnd", "onAnimationEndCapture", "onAnimationIteration", "onAnimationIterationCapture", "onAnimationStart", "onAnimationStartCapture", "onAuxClick", "onAuxClickCapture", "onBeforeInput", "onBeforeInputCapture", "onBlur", "onBlurCapture", "onCanPlay", "onCanPlayCapture", "onCanPlayThrough", "onCanPlayThroughCapture", "onChange", "onChangeCapture", "onClick", "onClickCapture", "onCompositionEnd", "onCompositionEndCapture", "onCompositionStart", "onCompositionStartCapture", "onCompositionUpdate", "onCompositionUpdateCapture", "onContextMenu", "onContextMenuCapture", "onCopy", "onCopyCapture", "onCut", "onCutCapture", "onDoubleClick", "onDoubleClickCapture", "onDrag", "onDragCapture", "onDragEnd", "onDragEndCapture", "onDragEnter", "onDragEnterCapture", "onDragExit", "onDragExitCapture", "onDragLeave", "onDragLeaveCapture", "onDragOver", "onDragOverCapture", "onDragStart", "onDragStartCapture", "onDrop", "onDropCapture", "onDurationChange", "onDurationChangeCapture", "onEmptied", "onEmptiedCapture", "onEncrypted", "onEncryptedCapture", "onEnded", "onEndedCapture", "onError", "onErrorCapture", "onFocus", "onFocusCapture", "onGotPointerCapture", "onGotPointerCaptureCapture", "onInput", "onInputCapture", "onInvalid", "onInvalidCapture", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyPressCapture", "onKeyUp", "onKeyUpCapture", "onLoad", "onLoadCapture", "onLoadedData", "onLoadedDataCapture", "onLoadedMetadata", "onLoadedMetadataCapture", "onLoadStart", "onLoadStartCapture", "onLostPointerCapture", "onLostPointerCaptureCapture", "onMouseDown", "onMouseDownCapture", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseMoveCapture", "onMouseOut", "onMouseOutCapture", "onMouseOver", "onMouseOverCapture", "onMouseUp", "onMouseUpCapture", "onPaste", "onPasteCapture", "onPause", "onPauseCapture", "onPlay", "onPlayCapture", "onPlaying", "onPlayingCapture", "onPointerCancel", "onPointerCancelCapture", "onPointerDown", "onPointerDownCapture", "onPointerEnter", "onPointerEnterCapture", "onPointerLeave", "onPointerLeaveCapture", "onPointerMove", "onPointerMoveCapture", "onPointerOut", "onPointerOutCapture", "onPointerOver", "onPointerOverCapture", "onPointerUp", "onPointerUpCapture", "onProgress", "onProgressCapture", "onRateChange", "onRateChangeCapture", "onReset", "onResetCapture", "onResize", "onResizeCapture", "onScroll", "onScrollCapture", "onSeeked", "onSeekedCapture", "onSeeking", "onSeekingCapture", "onSelect", "onSelectCapture", "onStalled", "onStalledCapture", "onSubmit", "onSubmitCapture", "onSuspend", "onSuspendCapture", "onTimeUpdate", "onTimeUpdateCapture", "onTouchCancel", "onTouchCancelCapture", "onTouchEnd", "onTouchEndCapture", "onTouchMove", "onTouchMoveCapture", "onTouchStart", "onTouchStartCapture", "onTransitionEnd", "onTransitionEndCapture", "onVolumeChange", "onVolumeChangeCapture", "onWaiting", "onWaitingCapture", "onWheel", "onWheelCapture", "opacity", "open", "operator", "optimum", "option", "order", "orient", "orientation", "origin", "overflow", "overlinePosition", "overlineThickness", "paintOrder", "panose1", "pathLength", "pattern", "patternContentUnits", "patternTransform", "patternUnits", "placeholder", "playsInline", "pointerEvents", "points", "pointsAtX", "pointsAtY", "pointsAtZ", "poster", "prefix", "preload", "preserveAlpha", "preserveAspectRatio", "primitiveUnits", "profile", "property", "r", "radioGroup", "radius", "readOnly", "ref", "referrerPolicy", "refX", "refY", "rel", "renderingIntent", "repeatCount", "repeatDur", "required", "requiredExtensions", "requiredFeatures", "resource", "restart", "result", "results", "rev", "reversed", "role", "rotate", "rows", "rowSpan", "rx", "ry", "sandbox", "scale", "scope", "scoped", "scrolling", "seamless", "security", "seed", "selected", "shape", "shapeRendering", "size", "sizes", "slope", "slot", "spacing", "span", "specularConstant", "specularExponent", "speed", "spellCheck", "spreadMethod", "src", "srcDoc", "srcLang", "srcSet", "start", "startOffset", "stdDeviation", "stemh", "stemv", "step", "stitchTiles", "stopColor", "stopOpacity", "strikethroughPosition", "strikethroughThickness", "string", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "style", "summary", "suppressContentEditableWarning", "suppressHydrationWarning", "surfaceScale", "systemLanguage", "tabIndex", "tableValues", "target", "targetX", "targetY", "textAnchor", "textDecoration", "textLength", "textRendering", "title", "to", "transform", "translate", "type", "typeof", "u1", "u2", "underlinePosition", "underlineThickness", "unicode", "unicodeBidi", "unicodeRange", "unitsPerEm", "unselectable", "useMap", "vAlphabetic", "value", "valueLink", "values", "vectorEffect", "version", "vertAdvY", "vertOriginX", "vertOriginY", "vHanging", "vIdeographic", "viewBox", "viewTarget", "visibility", "vMathematical", "vocab", "width", "widths", "wmode", "wordSpacing", "wrap", "writingMode", "x", "x1", "x2", "xChannelSelector", "xHeight", "xlinkActuate", "xlinkArcrole", "xlinkHref", "xlinkRole", "xlinkShow", "xlinkTitle", "xlinkType", "xmlBase", "xmlLang", "xmlns", "xmlnsXlink", "xmlSpace", "y", "y1", "y2", "yChannelSelector", "z", "zoomAndPan"];
1
+ export declare const reactAcceptedProperties: readonly ["abbr", "about", "accentHeight", "accept", "acceptCharset", "accessKey", "accumulate", "action", "additive", "alignmentBaseline", "allow", "allowFullScreen", "allowReorder", "allowTransparency", "alphabetic", "alt", "amplitude", "arabicForm", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-braillelabel", "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "as", "ascent", "async", "attributeName", "attributeType", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "autoPlay", "autoReverse", "autoSave", "azimuth", "baseFrequency", "baseProfile", "baselineShift", "bbox", "begin", "bias", "blocking", "by", "calcMode", "capHeight", "capture", "cellPadding", "cellSpacing", "challenge", "charSet", "checked", "children", "cite", "class", "classID", "className", "clip", "clipPath", "clipPathUnits", "clipRule", "colSpan", "color", "colorInterpolation", "colorInterpolationFilters", "colorProfile", "colorRendering", "cols", "content", "contentEditable", "contentScriptType", "contentStyleType", "contextMenu", "controls", "controlsList", "coords", "crossOrigin", "cursor", "cx", "cy", "d", "dangerouslySetInnerHTML", "data", "datatype", "dateTime", "decelerate", "decoding", "default", "defaultChecked", "defaultValue", "defer", "descent", "diffuseConstant", "dir", "direction", "disablePictureInPicture", "disabled", "display", "divisor", "dominantBaseline", "download", "draggable", "dur", "dx", "dy", "edgeMode", "elevation", "enableBackground", "encType", "end", "enterKeyHint", "exponent", "exportparts", "externalResourcesRequired", "fetchPriority", "fill", "fillOpacity", "fillRule", "filter", "filterRes", "filterUnits", "floodColor", "floodOpacity", "focusable", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "form", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "format", "fr", "frameBorder", "from", "fx", "fy", "g1", "g2", "glyphName", "glyphOrientationHorizontal", "glyphOrientationVertical", "glyphRef", "gradientTransform", "gradientUnits", "hanging", "headers", "height", "hidden", "high", "horizAdvX", "horizOriginX", "href", "hrefLang", "htmlFor", "httpEquiv", "id", "ideographic", "imageRendering", "imageSizes", "imageSrcSet", "in", "in2", "inert", "inlist", "inputMode", "integrity", "intercept", "is", "itemID", "itemProp", "itemRef", "itemScope", "itemType", "k", "k1", "k2", "k3", "k4", "kernelMatrix", "kernelUnitLength", "kerning", "key", "keyParams", "keyPoints", "keySplines", "keyTimes", "keyType", "kind", "label", "lang", "lengthAdjust", "letterSpacing", "lightingColor", "limitingConeAngle", "list", "loading", "local", "loop", "low", "manifest", "marginHeight", "marginWidth", "markerEnd", "markerHeight", "markerMid", "markerStart", "markerUnits", "markerWidth", "mask", "maskContentUnits", "maskUnits", "mathematical", "max", "maxLength", "media", "mediaGroup", "method", "min", "minLength", "mode", "multiple", "muted", "name", "noModule", "noValidate", "nonce", "numOctaves", "offset", "onAbort", "onAbortCapture", "onAnimationEnd", "onAnimationEndCapture", "onAnimationIteration", "onAnimationIterationCapture", "onAnimationStart", "onAnimationStartCapture", "onAuxClick", "onAuxClickCapture", "onBeforeInput", "onBeforeInputCapture", "onBeforeToggle", "onBlur", "onBlurCapture", "onCanPlay", "onCanPlayCapture", "onCanPlayThrough", "onCanPlayThroughCapture", "onCancel", "onChange", "onChangeCapture", "onClick", "onClickCapture", "onClose", "onCompositionEnd", "onCompositionEndCapture", "onCompositionStart", "onCompositionStartCapture", "onCompositionUpdate", "onCompositionUpdateCapture", "onContextMenu", "onContextMenuCapture", "onCopy", "onCopyCapture", "onCut", "onCutCapture", "onDoubleClick", "onDoubleClickCapture", "onDrag", "onDragCapture", "onDragEnd", "onDragEndCapture", "onDragEnter", "onDragEnterCapture", "onDragExit", "onDragExitCapture", "onDragLeave", "onDragLeaveCapture", "onDragOver", "onDragOverCapture", "onDragStart", "onDragStartCapture", "onDrop", "onDropCapture", "onDurationChange", "onDurationChangeCapture", "onEmptied", "onEmptiedCapture", "onEncrypted", "onEncryptedCapture", "onEnded", "onEndedCapture", "onError", "onErrorCapture", "onFocus", "onFocusCapture", "onGotPointerCapture", "onGotPointerCaptureCapture", "onInput", "onInputCapture", "onInvalid", "onInvalidCapture", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyPressCapture", "onKeyUp", "onKeyUpCapture", "onLoad", "onLoadCapture", "onLoadStart", "onLoadStartCapture", "onLoadedData", "onLoadedDataCapture", "onLoadedMetadata", "onLoadedMetadataCapture", "onLostPointerCapture", "onLostPointerCaptureCapture", "onMouseDown", "onMouseDownCapture", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseMoveCapture", "onMouseOut", "onMouseOutCapture", "onMouseOver", "onMouseOverCapture", "onMouseUp", "onMouseUpCapture", "onPaste", "onPasteCapture", "onPause", "onPauseCapture", "onPlay", "onPlayCapture", "onPlaying", "onPlayingCapture", "onPointerCancel", "onPointerCancelCapture", "onPointerDown", "onPointerDownCapture", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerMoveCapture", "onPointerOut", "onPointerOutCapture", "onPointerOver", "onPointerOverCapture", "onPointerUp", "onPointerUpCapture", "onProgress", "onProgressCapture", "onRateChange", "onRateChangeCapture", "onReset", "onResetCapture", "onResize", "onResizeCapture", "onScroll", "onScrollCapture", "onScrollEnd", "onScrollEndCapture", "onSeeked", "onSeekedCapture", "onSeeking", "onSeekingCapture", "onSelect", "onSelectCapture", "onStalled", "onStalledCapture", "onSubmit", "onSubmitCapture", "onSuspend", "onSuspendCapture", "onTimeUpdate", "onTimeUpdateCapture", "onToggle", "onTouchCancel", "onTouchCancelCapture", "onTouchEnd", "onTouchEndCapture", "onTouchMove", "onTouchMoveCapture", "onTouchStart", "onTouchStartCapture", "onTransitionCancel", "onTransitionCancelCapture", "onTransitionEnd", "onTransitionEndCapture", "onTransitionRun", "onTransitionRunCapture", "onTransitionStart", "onTransitionStartCapture", "onVolumeChange", "onVolumeChangeCapture", "onWaiting", "onWaitingCapture", "onWheel", "onWheelCapture", "opacity", "open", "operator", "optimum", "order", "orient", "orientation", "origin", "overflow", "overlinePosition", "overlineThickness", "paintOrder", "panose1", "part", "pathLength", "pattern", "patternContentUnits", "patternTransform", "patternUnits", "ping", "placeholder", "playsInline", "pointerEvents", "points", "pointsAtX", "pointsAtY", "pointsAtZ", "popover", "popoverTarget", "popoverTargetAction", "poster", "precedence", "prefix", "preload", "preserveAlpha", "preserveAspectRatio", "primitiveUnits", "property", "r", "radioGroup", "radius", "readOnly", "ref", "refX", "refY", "referrerPolicy", "rel", "renderingIntent", "repeatCount", "repeatDur", "required", "requiredExtensions", "requiredFeatures", "resource", "restart", "result", "results", "rev", "reversed", "role", "rotate", "rowSpan", "rows", "rx", "ry", "sandbox", "scale", "scope", "scoped", "scrolling", "seamless", "security", "seed", "selected", "shape", "shapeRendering", "size", "sizes", "slope", "slot", "spacing", "span", "specularConstant", "specularExponent", "speed", "spellCheck", "spreadMethod", "src", "srcDoc", "srcLang", "srcSet", "start", "startOffset", "stdDeviation", "stemh", "stemv", "step", "stitchTiles", "stopColor", "stopOpacity", "strikethroughPosition", "strikethroughThickness", "string", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "style", "summary", "suppressContentEditableWarning", "suppressHydrationWarning", "surfaceScale", "systemLanguage", "tabIndex", "tableValues", "target", "targetX", "targetY", "textAnchor", "textDecoration", "textLength", "textRendering", "title", "to", "transform", "translate", "type", "typeof", "u1", "u2", "underlinePosition", "underlineThickness", "unicode", "unicodeBidi", "unicodeRange", "unitsPerEm", "unselectable", "useMap", "vAlphabetic", "vHanging", "vIdeographic", "vMathematical", "value", "values", "vectorEffect", "version", "vertAdvY", "vertOriginX", "vertOriginY", "viewBox", "viewTarget", "visibility", "vocab", "webkitdirectory", "width", "widths", "wmode", "wordSpacing", "wrap", "writingMode", "x", "x1", "x2", "xChannelSelector", "xHeight", "xlinkActuate", "xlinkArcrole", "xlinkHref", "xlinkRole", "xlinkShow", "xlinkTitle", "xlinkType", "xmlBase", "xmlLang", "xmlSpace", "xmlns", "xmlnsXlink", "y", "y1", "y2", "yChannelSelector", "z", "zoomAndPan"];
2
2
  export type ReactAcceptedProp = (typeof reactAcceptedProperties)[number];
3
3
  export declare const reactAcceptedPropertiesSet: Set<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-props-check",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Validate React properties to keep the DOM semantic.",
5
5
  "keywords": [
6
6
  "attributes",
@@ -11,7 +11,10 @@
11
11
  "typescript"
12
12
  ],
13
13
  "homepage": "https://github.com/tonyghiani/mnt/tree/main/packages/react-props-check#readme",
14
- "repository": "https://github.com/tonyghiani/mnt",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/tonyghiani/mnt"
17
+ },
15
18
  "license": "MIT",
16
19
  "author": "Marco Antonio Ghiani <marcoantonio.ghiani01@gmail.com>",
17
20
  "sideEffects": false,
@@ -28,18 +31,6 @@
28
31
  "files": [
29
32
  "dist"
30
33
  ],
31
- "scripts": {
32
- "build": "yarn clean:build && yarn build:vite && yarn build:types",
33
- "build:types": "tsc --project ./tsconfig.types.json",
34
- "build:vite": "vite build",
35
- "clean:build": "rimraf dist *.tsbuildinfo",
36
- "commit": "git cz",
37
- "lint": "eslint",
38
- "lint:package": "sort-package-json",
39
- "release": "semantic-release",
40
- "test": "NODE_ENV=testing jest --passWithNoTests",
41
- "update:deps": "ncu -u"
42
- },
43
34
  "config": {
44
35
  "commitizen": {
45
36
  "path": "git-cz"
@@ -48,5 +39,15 @@
48
39
  "publishConfig": {
49
40
  "access": "public"
50
41
  },
51
- "gitHead": "21052bab2d2ecc692df47fe1a5032a9ade7424b5"
52
- }
42
+ "scripts": {
43
+ "build": "pnpm clean:build && pnpm build:vite && pnpm build:types",
44
+ "build:types": "tsc --project ./tsconfig.types.json",
45
+ "build:vite": "vite build",
46
+ "clean:build": "rimraf dist *.tsbuildinfo",
47
+ "commit": "git cz",
48
+ "lint": "eslint .",
49
+ "lint:package": "sort-package-json",
50
+ "test": "vitest run --passWithNoTests",
51
+ "update:deps": "ncu -u"
52
+ }
53
+ }