react-props-check 1.1.4 → 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.
package/dist/cjs/index.js CHANGED
@@ -1,9 +1,9 @@
1
- "use strict";
2
- const react_props = require("./react_props.js");
1
+ const require_react_props = require("./react_props.js");
2
+ // src/index.ts
3
3
  function isValidProp(property) {
4
- return react_props.reactAcceptedPropertiesSet.has(property) || isDataAttribute(property);
4
+ return require_react_props.reactAcceptedPropertiesSet.has(property) || isDataAttribute(property);
5
5
  }
6
6
  function isDataAttribute(property) {
7
- return property.startsWith("data-");
7
+ return property.startsWith("data-");
8
8
  }
9
9
  module.exports = isValidProp;
@@ -1,6 +1,648 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const reactAcceptedProperties = ["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"];
4
- const reactAcceptedPropertiesSet = new Set(reactAcceptedProperties);
1
+ // src/react_props.ts
2
+ var reactAcceptedProperties = [
3
+ "abbr",
4
+ "about",
5
+ "accentHeight",
6
+ "accept",
7
+ "acceptCharset",
8
+ "accessKey",
9
+ "accumulate",
10
+ "action",
11
+ "additive",
12
+ "alignmentBaseline",
13
+ "allow",
14
+ "allowFullScreen",
15
+ "allowReorder",
16
+ "allowTransparency",
17
+ "alphabetic",
18
+ "alt",
19
+ "amplitude",
20
+ "arabicForm",
21
+ "aria-activedescendant",
22
+ "aria-atomic",
23
+ "aria-autocomplete",
24
+ "aria-braillelabel",
25
+ "aria-brailleroledescription",
26
+ "aria-busy",
27
+ "aria-checked",
28
+ "aria-colcount",
29
+ "aria-colindex",
30
+ "aria-colindextext",
31
+ "aria-colspan",
32
+ "aria-controls",
33
+ "aria-current",
34
+ "aria-describedby",
35
+ "aria-description",
36
+ "aria-details",
37
+ "aria-disabled",
38
+ "aria-dropeffect",
39
+ "aria-errormessage",
40
+ "aria-expanded",
41
+ "aria-flowto",
42
+ "aria-grabbed",
43
+ "aria-haspopup",
44
+ "aria-hidden",
45
+ "aria-invalid",
46
+ "aria-keyshortcuts",
47
+ "aria-label",
48
+ "aria-labelledby",
49
+ "aria-level",
50
+ "aria-live",
51
+ "aria-modal",
52
+ "aria-multiline",
53
+ "aria-multiselectable",
54
+ "aria-orientation",
55
+ "aria-owns",
56
+ "aria-placeholder",
57
+ "aria-posinset",
58
+ "aria-pressed",
59
+ "aria-readonly",
60
+ "aria-relevant",
61
+ "aria-required",
62
+ "aria-roledescription",
63
+ "aria-rowcount",
64
+ "aria-rowindex",
65
+ "aria-rowindextext",
66
+ "aria-rowspan",
67
+ "aria-selected",
68
+ "aria-setsize",
69
+ "aria-sort",
70
+ "aria-valuemax",
71
+ "aria-valuemin",
72
+ "aria-valuenow",
73
+ "aria-valuetext",
74
+ "as",
75
+ "ascent",
76
+ "async",
77
+ "attributeName",
78
+ "attributeType",
79
+ "autoCapitalize",
80
+ "autoComplete",
81
+ "autoCorrect",
82
+ "autoFocus",
83
+ "autoPlay",
84
+ "autoReverse",
85
+ "autoSave",
86
+ "azimuth",
87
+ "baseFrequency",
88
+ "baseProfile",
89
+ "baselineShift",
90
+ "bbox",
91
+ "begin",
92
+ "bias",
93
+ "blocking",
94
+ "by",
95
+ "calcMode",
96
+ "capHeight",
97
+ "capture",
98
+ "cellPadding",
99
+ "cellSpacing",
100
+ "challenge",
101
+ "charSet",
102
+ "checked",
103
+ "children",
104
+ "cite",
105
+ "class",
106
+ "classID",
107
+ "className",
108
+ "clip",
109
+ "clipPath",
110
+ "clipPathUnits",
111
+ "clipRule",
112
+ "colSpan",
113
+ "color",
114
+ "colorInterpolation",
115
+ "colorInterpolationFilters",
116
+ "colorProfile",
117
+ "colorRendering",
118
+ "cols",
119
+ "content",
120
+ "contentEditable",
121
+ "contentScriptType",
122
+ "contentStyleType",
123
+ "contextMenu",
124
+ "controls",
125
+ "controlsList",
126
+ "coords",
127
+ "crossOrigin",
128
+ "cursor",
129
+ "cx",
130
+ "cy",
131
+ "d",
132
+ "dangerouslySetInnerHTML",
133
+ "data",
134
+ "datatype",
135
+ "dateTime",
136
+ "decelerate",
137
+ "decoding",
138
+ "default",
139
+ "defaultChecked",
140
+ "defaultValue",
141
+ "defer",
142
+ "descent",
143
+ "diffuseConstant",
144
+ "dir",
145
+ "direction",
146
+ "disablePictureInPicture",
147
+ "disabled",
148
+ "display",
149
+ "divisor",
150
+ "dominantBaseline",
151
+ "download",
152
+ "draggable",
153
+ "dur",
154
+ "dx",
155
+ "dy",
156
+ "edgeMode",
157
+ "elevation",
158
+ "enableBackground",
159
+ "encType",
160
+ "end",
161
+ "enterKeyHint",
162
+ "exponent",
163
+ "exportparts",
164
+ "externalResourcesRequired",
165
+ "fetchPriority",
166
+ "fill",
167
+ "fillOpacity",
168
+ "fillRule",
169
+ "filter",
170
+ "filterRes",
171
+ "filterUnits",
172
+ "floodColor",
173
+ "floodOpacity",
174
+ "focusable",
175
+ "fontFamily",
176
+ "fontSize",
177
+ "fontSizeAdjust",
178
+ "fontStretch",
179
+ "fontStyle",
180
+ "fontVariant",
181
+ "fontWeight",
182
+ "form",
183
+ "formAction",
184
+ "formEncType",
185
+ "formMethod",
186
+ "formNoValidate",
187
+ "formTarget",
188
+ "format",
189
+ "fr",
190
+ "frameBorder",
191
+ "from",
192
+ "fx",
193
+ "fy",
194
+ "g1",
195
+ "g2",
196
+ "glyphName",
197
+ "glyphOrientationHorizontal",
198
+ "glyphOrientationVertical",
199
+ "glyphRef",
200
+ "gradientTransform",
201
+ "gradientUnits",
202
+ "hanging",
203
+ "headers",
204
+ "height",
205
+ "hidden",
206
+ "high",
207
+ "horizAdvX",
208
+ "horizOriginX",
209
+ "href",
210
+ "hrefLang",
211
+ "htmlFor",
212
+ "httpEquiv",
213
+ "id",
214
+ "ideographic",
215
+ "imageRendering",
216
+ "imageSizes",
217
+ "imageSrcSet",
218
+ "in",
219
+ "in2",
220
+ "inert",
221
+ "inlist",
222
+ "inputMode",
223
+ "integrity",
224
+ "intercept",
225
+ "is",
226
+ "itemID",
227
+ "itemProp",
228
+ "itemRef",
229
+ "itemScope",
230
+ "itemType",
231
+ "k",
232
+ "k1",
233
+ "k2",
234
+ "k3",
235
+ "k4",
236
+ "kernelMatrix",
237
+ "kernelUnitLength",
238
+ "kerning",
239
+ "key",
240
+ "keyParams",
241
+ "keyPoints",
242
+ "keySplines",
243
+ "keyTimes",
244
+ "keyType",
245
+ "kind",
246
+ "label",
247
+ "lang",
248
+ "lengthAdjust",
249
+ "letterSpacing",
250
+ "lightingColor",
251
+ "limitingConeAngle",
252
+ "list",
253
+ "loading",
254
+ "local",
255
+ "loop",
256
+ "low",
257
+ "manifest",
258
+ "marginHeight",
259
+ "marginWidth",
260
+ "markerEnd",
261
+ "markerHeight",
262
+ "markerMid",
263
+ "markerStart",
264
+ "markerUnits",
265
+ "markerWidth",
266
+ "mask",
267
+ "maskContentUnits",
268
+ "maskUnits",
269
+ "mathematical",
270
+ "max",
271
+ "maxLength",
272
+ "media",
273
+ "mediaGroup",
274
+ "method",
275
+ "min",
276
+ "minLength",
277
+ "mode",
278
+ "multiple",
279
+ "muted",
280
+ "name",
281
+ "noModule",
282
+ "noValidate",
283
+ "nonce",
284
+ "numOctaves",
285
+ "offset",
286
+ "onAbort",
287
+ "onAbortCapture",
288
+ "onAnimationEnd",
289
+ "onAnimationEndCapture",
290
+ "onAnimationIteration",
291
+ "onAnimationIterationCapture",
292
+ "onAnimationStart",
293
+ "onAnimationStartCapture",
294
+ "onAuxClick",
295
+ "onAuxClickCapture",
296
+ "onBeforeInput",
297
+ "onBeforeInputCapture",
298
+ "onBeforeToggle",
299
+ "onBlur",
300
+ "onBlurCapture",
301
+ "onCanPlay",
302
+ "onCanPlayCapture",
303
+ "onCanPlayThrough",
304
+ "onCanPlayThroughCapture",
305
+ "onCancel",
306
+ "onChange",
307
+ "onChangeCapture",
308
+ "onClick",
309
+ "onClickCapture",
310
+ "onClose",
311
+ "onCompositionEnd",
312
+ "onCompositionEndCapture",
313
+ "onCompositionStart",
314
+ "onCompositionStartCapture",
315
+ "onCompositionUpdate",
316
+ "onCompositionUpdateCapture",
317
+ "onContextMenu",
318
+ "onContextMenuCapture",
319
+ "onCopy",
320
+ "onCopyCapture",
321
+ "onCut",
322
+ "onCutCapture",
323
+ "onDoubleClick",
324
+ "onDoubleClickCapture",
325
+ "onDrag",
326
+ "onDragCapture",
327
+ "onDragEnd",
328
+ "onDragEndCapture",
329
+ "onDragEnter",
330
+ "onDragEnterCapture",
331
+ "onDragExit",
332
+ "onDragExitCapture",
333
+ "onDragLeave",
334
+ "onDragLeaveCapture",
335
+ "onDragOver",
336
+ "onDragOverCapture",
337
+ "onDragStart",
338
+ "onDragStartCapture",
339
+ "onDrop",
340
+ "onDropCapture",
341
+ "onDurationChange",
342
+ "onDurationChangeCapture",
343
+ "onEmptied",
344
+ "onEmptiedCapture",
345
+ "onEncrypted",
346
+ "onEncryptedCapture",
347
+ "onEnded",
348
+ "onEndedCapture",
349
+ "onError",
350
+ "onErrorCapture",
351
+ "onFocus",
352
+ "onFocusCapture",
353
+ "onGotPointerCapture",
354
+ "onGotPointerCaptureCapture",
355
+ "onInput",
356
+ "onInputCapture",
357
+ "onInvalid",
358
+ "onInvalidCapture",
359
+ "onKeyDown",
360
+ "onKeyDownCapture",
361
+ "onKeyPress",
362
+ "onKeyPressCapture",
363
+ "onKeyUp",
364
+ "onKeyUpCapture",
365
+ "onLoad",
366
+ "onLoadCapture",
367
+ "onLoadStart",
368
+ "onLoadStartCapture",
369
+ "onLoadedData",
370
+ "onLoadedDataCapture",
371
+ "onLoadedMetadata",
372
+ "onLoadedMetadataCapture",
373
+ "onLostPointerCapture",
374
+ "onLostPointerCaptureCapture",
375
+ "onMouseDown",
376
+ "onMouseDownCapture",
377
+ "onMouseEnter",
378
+ "onMouseLeave",
379
+ "onMouseMove",
380
+ "onMouseMoveCapture",
381
+ "onMouseOut",
382
+ "onMouseOutCapture",
383
+ "onMouseOver",
384
+ "onMouseOverCapture",
385
+ "onMouseUp",
386
+ "onMouseUpCapture",
387
+ "onPaste",
388
+ "onPasteCapture",
389
+ "onPause",
390
+ "onPauseCapture",
391
+ "onPlay",
392
+ "onPlayCapture",
393
+ "onPlaying",
394
+ "onPlayingCapture",
395
+ "onPointerCancel",
396
+ "onPointerCancelCapture",
397
+ "onPointerDown",
398
+ "onPointerDownCapture",
399
+ "onPointerEnter",
400
+ "onPointerLeave",
401
+ "onPointerMove",
402
+ "onPointerMoveCapture",
403
+ "onPointerOut",
404
+ "onPointerOutCapture",
405
+ "onPointerOver",
406
+ "onPointerOverCapture",
407
+ "onPointerUp",
408
+ "onPointerUpCapture",
409
+ "onProgress",
410
+ "onProgressCapture",
411
+ "onRateChange",
412
+ "onRateChangeCapture",
413
+ "onReset",
414
+ "onResetCapture",
415
+ "onResize",
416
+ "onResizeCapture",
417
+ "onScroll",
418
+ "onScrollCapture",
419
+ "onScrollEnd",
420
+ "onScrollEndCapture",
421
+ "onSeeked",
422
+ "onSeekedCapture",
423
+ "onSeeking",
424
+ "onSeekingCapture",
425
+ "onSelect",
426
+ "onSelectCapture",
427
+ "onStalled",
428
+ "onStalledCapture",
429
+ "onSubmit",
430
+ "onSubmitCapture",
431
+ "onSuspend",
432
+ "onSuspendCapture",
433
+ "onTimeUpdate",
434
+ "onTimeUpdateCapture",
435
+ "onToggle",
436
+ "onTouchCancel",
437
+ "onTouchCancelCapture",
438
+ "onTouchEnd",
439
+ "onTouchEndCapture",
440
+ "onTouchMove",
441
+ "onTouchMoveCapture",
442
+ "onTouchStart",
443
+ "onTouchStartCapture",
444
+ "onTransitionCancel",
445
+ "onTransitionCancelCapture",
446
+ "onTransitionEnd",
447
+ "onTransitionEndCapture",
448
+ "onTransitionRun",
449
+ "onTransitionRunCapture",
450
+ "onTransitionStart",
451
+ "onTransitionStartCapture",
452
+ "onVolumeChange",
453
+ "onVolumeChangeCapture",
454
+ "onWaiting",
455
+ "onWaitingCapture",
456
+ "onWheel",
457
+ "onWheelCapture",
458
+ "opacity",
459
+ "open",
460
+ "operator",
461
+ "optimum",
462
+ "order",
463
+ "orient",
464
+ "orientation",
465
+ "origin",
466
+ "overflow",
467
+ "overlinePosition",
468
+ "overlineThickness",
469
+ "paintOrder",
470
+ "panose1",
471
+ "part",
472
+ "pathLength",
473
+ "pattern",
474
+ "patternContentUnits",
475
+ "patternTransform",
476
+ "patternUnits",
477
+ "ping",
478
+ "placeholder",
479
+ "playsInline",
480
+ "pointerEvents",
481
+ "points",
482
+ "pointsAtX",
483
+ "pointsAtY",
484
+ "pointsAtZ",
485
+ "popover",
486
+ "popoverTarget",
487
+ "popoverTargetAction",
488
+ "poster",
489
+ "precedence",
490
+ "prefix",
491
+ "preload",
492
+ "preserveAlpha",
493
+ "preserveAspectRatio",
494
+ "primitiveUnits",
495
+ "property",
496
+ "r",
497
+ "radioGroup",
498
+ "radius",
499
+ "readOnly",
500
+ "ref",
501
+ "refX",
502
+ "refY",
503
+ "referrerPolicy",
504
+ "rel",
505
+ "renderingIntent",
506
+ "repeatCount",
507
+ "repeatDur",
508
+ "required",
509
+ "requiredExtensions",
510
+ "requiredFeatures",
511
+ "resource",
512
+ "restart",
513
+ "result",
514
+ "results",
515
+ "rev",
516
+ "reversed",
517
+ "role",
518
+ "rotate",
519
+ "rowSpan",
520
+ "rows",
521
+ "rx",
522
+ "ry",
523
+ "sandbox",
524
+ "scale",
525
+ "scope",
526
+ "scoped",
527
+ "scrolling",
528
+ "seamless",
529
+ "security",
530
+ "seed",
531
+ "selected",
532
+ "shape",
533
+ "shapeRendering",
534
+ "size",
535
+ "sizes",
536
+ "slope",
537
+ "slot",
538
+ "spacing",
539
+ "span",
540
+ "specularConstant",
541
+ "specularExponent",
542
+ "speed",
543
+ "spellCheck",
544
+ "spreadMethod",
545
+ "src",
546
+ "srcDoc",
547
+ "srcLang",
548
+ "srcSet",
549
+ "start",
550
+ "startOffset",
551
+ "stdDeviation",
552
+ "stemh",
553
+ "stemv",
554
+ "step",
555
+ "stitchTiles",
556
+ "stopColor",
557
+ "stopOpacity",
558
+ "strikethroughPosition",
559
+ "strikethroughThickness",
560
+ "string",
561
+ "stroke",
562
+ "strokeDasharray",
563
+ "strokeDashoffset",
564
+ "strokeLinecap",
565
+ "strokeLinejoin",
566
+ "strokeMiterlimit",
567
+ "strokeOpacity",
568
+ "strokeWidth",
569
+ "style",
570
+ "summary",
571
+ "suppressContentEditableWarning",
572
+ "suppressHydrationWarning",
573
+ "surfaceScale",
574
+ "systemLanguage",
575
+ "tabIndex",
576
+ "tableValues",
577
+ "target",
578
+ "targetX",
579
+ "targetY",
580
+ "textAnchor",
581
+ "textDecoration",
582
+ "textLength",
583
+ "textRendering",
584
+ "title",
585
+ "to",
586
+ "transform",
587
+ "translate",
588
+ "type",
589
+ "typeof",
590
+ "u1",
591
+ "u2",
592
+ "underlinePosition",
593
+ "underlineThickness",
594
+ "unicode",
595
+ "unicodeBidi",
596
+ "unicodeRange",
597
+ "unitsPerEm",
598
+ "unselectable",
599
+ "useMap",
600
+ "vAlphabetic",
601
+ "vHanging",
602
+ "vIdeographic",
603
+ "vMathematical",
604
+ "value",
605
+ "values",
606
+ "vectorEffect",
607
+ "version",
608
+ "vertAdvY",
609
+ "vertOriginX",
610
+ "vertOriginY",
611
+ "viewBox",
612
+ "viewTarget",
613
+ "visibility",
614
+ "vocab",
615
+ "webkitdirectory",
616
+ "width",
617
+ "widths",
618
+ "wmode",
619
+ "wordSpacing",
620
+ "wrap",
621
+ "writingMode",
622
+ "x",
623
+ "x1",
624
+ "x2",
625
+ "xChannelSelector",
626
+ "xHeight",
627
+ "xlinkActuate",
628
+ "xlinkArcrole",
629
+ "xlinkHref",
630
+ "xlinkRole",
631
+ "xlinkShow",
632
+ "xlinkTitle",
633
+ "xlinkType",
634
+ "xmlBase",
635
+ "xmlLang",
636
+ "xmlSpace",
637
+ "xmlns",
638
+ "xmlnsXlink",
639
+ "y",
640
+ "y1",
641
+ "y2",
642
+ "yChannelSelector",
643
+ "z",
644
+ "zoomAndPan"
645
+ ];
646
+ var reactAcceptedPropertiesSet = new Set(reactAcceptedProperties);
5
647
  exports.reactAcceptedProperties = reactAcceptedProperties;
6
648
  exports.reactAcceptedPropertiesSet = reactAcceptedPropertiesSet;
package/dist/esm/index.js CHANGED
@@ -1,10 +1,9 @@
1
1
  import { reactAcceptedPropertiesSet } from "./react_props.js";
2
+ // src/index.ts
2
3
  function isValidProp(property) {
3
- return reactAcceptedPropertiesSet.has(property) || isDataAttribute(property);
4
+ return reactAcceptedPropertiesSet.has(property) || isDataAttribute(property);
4
5
  }
5
6
  function isDataAttribute(property) {
6
- return property.startsWith("data-");
7
+ return property.startsWith("data-");
7
8
  }
8
- export {
9
- isValidProp as default
10
- };
9
+ export { isValidProp as default };