@tamagui/dom 0.0.0-bootstrap.0 → 3.0.0-beta.643.1

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.
Files changed (93) hide show
  1. package/dist/cjs/events.cjs +17 -0
  2. package/dist/cjs/events.native.cjs +19 -0
  3. package/dist/cjs/events.native.js +21 -0
  4. package/dist/cjs/events.native.js.map +1 -0
  5. package/dist/cjs/index.cjs +26 -0
  6. package/dist/cjs/index.native.cjs +28 -0
  7. package/dist/cjs/index.native.js +30 -0
  8. package/dist/cjs/index.native.js.map +1 -0
  9. package/dist/cjs/props.cjs +17 -0
  10. package/dist/cjs/props.native.cjs +19 -0
  11. package/dist/cjs/props.native.js +21 -0
  12. package/dist/cjs/props.native.js.map +1 -0
  13. package/dist/cjs/tables/attributes.cjs +850 -0
  14. package/dist/cjs/tables/attributes.native.cjs +862 -0
  15. package/dist/cjs/tables/attributes.native.js +864 -0
  16. package/dist/cjs/tables/attributes.native.js.map +1 -0
  17. package/dist/cjs/tables/compatibility.cjs +338 -0
  18. package/dist/cjs/tables/compatibility.native.cjs +340 -0
  19. package/dist/cjs/tables/compatibility.native.js +342 -0
  20. package/dist/cjs/tables/compatibility.native.js.map +1 -0
  21. package/dist/cjs/tables/events.cjs +169 -0
  22. package/dist/cjs/tables/events.native.cjs +175 -0
  23. package/dist/cjs/tables/events.native.js +177 -0
  24. package/dist/cjs/tables/events.native.js.map +1 -0
  25. package/dist/cjs/tables/nativeBacking.cjs +133 -0
  26. package/dist/cjs/tables/nativeBacking.native.cjs +135 -0
  27. package/dist/cjs/tables/nativeBacking.native.js +137 -0
  28. package/dist/cjs/tables/nativeBacking.native.js.map +1 -0
  29. package/dist/cjs/tables/tags.cjs +576 -0
  30. package/dist/cjs/tables/tags.native.cjs +578 -0
  31. package/dist/cjs/tables/tags.native.js +580 -0
  32. package/dist/cjs/tables/tags.native.js.map +1 -0
  33. package/dist/cjs/tables/types.cjs +17 -0
  34. package/dist/cjs/tables/types.native.cjs +19 -0
  35. package/dist/cjs/tables/types.native.js +21 -0
  36. package/dist/cjs/tables/types.native.js.map +1 -0
  37. package/dist/esm/events.mjs +0 -0
  38. package/dist/esm/events.native.js +0 -0
  39. package/dist/esm/index.mjs +15 -0
  40. package/dist/esm/index.native.js +15 -0
  41. package/dist/esm/props.mjs +0 -0
  42. package/dist/esm/props.native.js +0 -0
  43. package/dist/esm/tables/attributes.mjs +821 -0
  44. package/dist/esm/tables/attributes.mjs.map +1 -0
  45. package/dist/esm/tables/attributes.native.js +831 -0
  46. package/dist/esm/tables/attributes.native.js.map +1 -0
  47. package/dist/esm/tables/compatibility.mjs +314 -0
  48. package/dist/esm/tables/compatibility.mjs.map +1 -0
  49. package/dist/esm/tables/compatibility.native.js +314 -0
  50. package/dist/esm/tables/compatibility.native.js.map +1 -0
  51. package/dist/esm/tables/events.mjs +145 -0
  52. package/dist/esm/tables/events.mjs.map +1 -0
  53. package/dist/esm/tables/events.native.js +149 -0
  54. package/dist/esm/tables/events.native.js.map +1 -0
  55. package/dist/esm/tables/nativeBacking.mjs +106 -0
  56. package/dist/esm/tables/nativeBacking.mjs.map +1 -0
  57. package/dist/esm/tables/nativeBacking.native.js +106 -0
  58. package/dist/esm/tables/nativeBacking.native.js.map +1 -0
  59. package/dist/esm/tables/tags.mjs +550 -0
  60. package/dist/esm/tables/tags.mjs.map +1 -0
  61. package/dist/esm/tables/tags.native.js +550 -0
  62. package/dist/esm/tables/tags.native.js.map +1 -0
  63. package/dist/esm/tables/types.mjs +0 -0
  64. package/dist/esm/tables/types.native.js +0 -0
  65. package/package.json +57 -7
  66. package/src/events.ts +58 -0
  67. package/src/index.ts +19 -0
  68. package/src/props.ts +699 -0
  69. package/src/tables/attributes.ts +863 -0
  70. package/src/tables/compatibility.ts +360 -0
  71. package/src/tables/events.ts +176 -0
  72. package/src/tables/nativeBacking.ts +132 -0
  73. package/src/tables/tags.ts +557 -0
  74. package/src/tables/types.ts +202 -0
  75. package/types/events.d.ts +58 -0
  76. package/types/events.d.ts.map +11 -0
  77. package/types/index.d.ts +20 -0
  78. package/types/index.d.ts.map +11 -0
  79. package/types/props.d.ts +499 -0
  80. package/types/props.d.ts.map +11 -0
  81. package/types/tables/attributes.d.ts +21 -0
  82. package/types/tables/attributes.d.ts.map +11 -0
  83. package/types/tables/compatibility.d.ts +28 -0
  84. package/types/tables/compatibility.d.ts.map +11 -0
  85. package/types/tables/events.d.ts +5 -0
  86. package/types/tables/events.d.ts.map +11 -0
  87. package/types/tables/nativeBacking.d.ts +28 -0
  88. package/types/tables/nativeBacking.d.ts.map +11 -0
  89. package/types/tables/tags.d.ts +36 -0
  90. package/types/tables/tags.d.ts.map +11 -0
  91. package/types/tables/types.d.ts +135 -0
  92. package/types/tables/types.d.ts.map +11 -0
  93. package/README.md +0 -1
@@ -0,0 +1,831 @@
1
+ var TEXT_ENTRY = ["input", "textarea"];
2
+ var ANCHOR = ["a"];
3
+ var IMAGE = ["img"];
4
+ var ARIA_ROLES = [
5
+ "alert",
6
+ "alertdialog",
7
+ "application",
8
+ "article",
9
+ "banner",
10
+ "blockquote",
11
+ "button",
12
+ "caption",
13
+ "cell",
14
+ "checkbox",
15
+ "code",
16
+ "columnheader",
17
+ "combobox",
18
+ "complementary",
19
+ "contentinfo",
20
+ "definition",
21
+ "deletion",
22
+ "dialog",
23
+ "document",
24
+ "emphasis",
25
+ "feed",
26
+ "figure",
27
+ "form",
28
+ "grid",
29
+ "gridcell",
30
+ "group",
31
+ "heading",
32
+ "img",
33
+ "input",
34
+ "insertion",
35
+ "link",
36
+ "list",
37
+ "listbox",
38
+ "listitem",
39
+ "log",
40
+ "main",
41
+ "marquee",
42
+ "math",
43
+ "menu",
44
+ "menubar",
45
+ "menuitem",
46
+ "menuitemcheckbox",
47
+ "menuitemradio",
48
+ "meter",
49
+ "navigation",
50
+ "none",
51
+ "note",
52
+ "option",
53
+ "paragraph",
54
+ "progressbar",
55
+ "radio",
56
+ "radiogroup",
57
+ "region",
58
+ "row",
59
+ "rowgroup",
60
+ "rowheader",
61
+ "scrollbar",
62
+ "search",
63
+ "searchbox",
64
+ "separator",
65
+ "slider",
66
+ "spinbutton",
67
+ "status",
68
+ "strong",
69
+ "subscript",
70
+ "superscript",
71
+ "switch",
72
+ "tab",
73
+ "table",
74
+ "tablist",
75
+ "tabpanel",
76
+ "term",
77
+ "textbox",
78
+ "time",
79
+ "timer",
80
+ "toolbar",
81
+ "tooltip",
82
+ "tree",
83
+ "treegrid",
84
+ "treeitem"
85
+ ];
86
+ var AUTO_COMPLETE_VALUES = [
87
+ "additional-name",
88
+ "address-line1",
89
+ "address-line2",
90
+ "birthdate-day",
91
+ "birthdate-full",
92
+ "birthdate-month",
93
+ "birthdate-year",
94
+ "cc-csc",
95
+ "cc-exp",
96
+ "cc-exp-day",
97
+ "cc-exp-month",
98
+ "cc-exp-year",
99
+ "cc-number",
100
+ "cc-name",
101
+ "cc-given-name",
102
+ "cc-middle-name",
103
+ "cc-family-name",
104
+ "cc-type",
105
+ "country",
106
+ "current-password",
107
+ "email",
108
+ "family-name",
109
+ "gender",
110
+ "given-name",
111
+ "honorific-prefix",
112
+ "honorific-suffix",
113
+ "name",
114
+ "name-family",
115
+ "name-given",
116
+ "name-middle",
117
+ "name-middle-initial",
118
+ "name-prefix",
119
+ "name-suffix",
120
+ "new-password",
121
+ "nickname",
122
+ "on",
123
+ "one-time-code",
124
+ "organization",
125
+ "organization-title",
126
+ "password",
127
+ "password-new",
128
+ "postal-address",
129
+ "postal-address-country",
130
+ "postal-address-extended",
131
+ "postal-address-extended-postal-code",
132
+ "postal-address-locality",
133
+ "postal-address-region",
134
+ "postal-code",
135
+ "street-address",
136
+ "sms-otp",
137
+ "tel",
138
+ "tel-country-code",
139
+ "tel-national",
140
+ "tel-device",
141
+ "url",
142
+ "username",
143
+ "username-new",
144
+ "off"
145
+ ];
146
+ var HTML_INPUT_TYPES = [
147
+ "checkbox",
148
+ "color",
149
+ "date",
150
+ "datetime-local",
151
+ "email",
152
+ "file",
153
+ "hidden",
154
+ "month",
155
+ "number",
156
+ "password",
157
+ "radio",
158
+ "range",
159
+ "search",
160
+ "submit",
161
+ "tel",
162
+ "text",
163
+ "time",
164
+ "url",
165
+ "week"
166
+ ];
167
+ var NATIVE_INPUT_TYPES = [
168
+ "email",
169
+ "number",
170
+ "password",
171
+ "search",
172
+ "tel",
173
+ "text",
174
+ "url"
175
+ ];
176
+ var ariaState = function(name, nativeProp) {
177
+ return {
178
+ group: "aria",
179
+ tags: "*",
180
+ type: "boolean",
181
+ nativeProp,
182
+ web: "host",
183
+ native: nativeProp ? "polyfill" : "none"
184
+ };
185
+ };
186
+ var ariaRef = function() {
187
+ return {
188
+ group: "aria",
189
+ tags: "*",
190
+ type: "string",
191
+ nativeProp: null,
192
+ web: "host",
193
+ native: "none"
194
+ };
195
+ };
196
+ var ariaNumber = function() {
197
+ var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
198
+ return {
199
+ group: "aria",
200
+ tags: "*",
201
+ type: "number",
202
+ nativeProp,
203
+ web: "host",
204
+ native: nativeProp ? "polyfill" : "none"
205
+ };
206
+ };
207
+ var ariaText = function() {
208
+ var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
209
+ return {
210
+ group: "aria",
211
+ tags: "*",
212
+ type: "string",
213
+ nativeProp,
214
+ web: "host",
215
+ native: nativeProp ? "polyfill" : "none"
216
+ };
217
+ };
218
+ var ATTRIBUTES = {
219
+ "aria-activedescendant": ariaRef(),
220
+ "aria-atomic": ariaState("aria-atomic", null),
221
+ "aria-autocomplete": {
222
+ group: "aria",
223
+ tags: "*",
224
+ type: `'none' | 'inline' | 'list' | 'both'`,
225
+ nativeProp: null,
226
+ web: "host",
227
+ native: "none"
228
+ },
229
+ "aria-busy": ariaState("aria-busy", "accessibilityState.busy"),
230
+ "aria-checked": {
231
+ group: "aria",
232
+ tags: "*",
233
+ type: `boolean | 'mixed'`,
234
+ nativeProp: "accessibilityState.checked",
235
+ web: "host",
236
+ native: "polyfill"
237
+ },
238
+ "aria-colcount": ariaNumber(),
239
+ "aria-colindex": ariaNumber(),
240
+ "aria-colindextext": ariaText(),
241
+ "aria-colspan": ariaNumber(),
242
+ "aria-controls": ariaRef(),
243
+ "aria-current": {
244
+ group: "aria",
245
+ tags: "*",
246
+ type: `boolean | 'page' | 'step' | 'location' | 'date' | 'time'`,
247
+ nativeProp: null,
248
+ web: "host",
249
+ native: "none"
250
+ },
251
+ "aria-describedby": {
252
+ ...ariaRef(),
253
+ note: "react native has no described-by relationship; put the description in aria-label instead"
254
+ },
255
+ "aria-details": ariaRef(),
256
+ "aria-disabled": ariaState("aria-disabled", "accessibilityState.disabled"),
257
+ "aria-errormessage": ariaRef(),
258
+ "aria-expanded": ariaState("aria-expanded", "accessibilityState.expanded"),
259
+ "aria-flowto": ariaRef(),
260
+ "aria-haspopup": {
261
+ group: "aria",
262
+ tags: "*",
263
+ type: `'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'`,
264
+ nativeProp: null,
265
+ web: "host",
266
+ native: "none"
267
+ },
268
+ "aria-hidden": {
269
+ group: "aria",
270
+ tags: "*",
271
+ type: "boolean",
272
+ nativeProp: "accessibilityElementsHidden",
273
+ web: "host",
274
+ native: "polyfill",
275
+ note: "also sets importantForAccessibility on android so descendants are hidden"
276
+ },
277
+ "aria-invalid": {
278
+ group: "aria",
279
+ tags: "*",
280
+ type: `boolean | 'grammar' | 'spelling'`,
281
+ nativeProp: null,
282
+ web: "host",
283
+ native: "none"
284
+ },
285
+ "aria-keyshortcuts": ariaText(),
286
+ "aria-label": ariaText("accessibilityLabel"),
287
+ "aria-labelledby": {
288
+ group: "aria",
289
+ tags: "*",
290
+ type: "string",
291
+ nativeProp: "accessibilityLabelledBy",
292
+ web: "host",
293
+ native: "polyfill"
294
+ },
295
+ "aria-level": ariaNumber(),
296
+ "aria-live": {
297
+ group: "aria",
298
+ tags: "*",
299
+ type: `'off' | 'assertive' | 'polite'`,
300
+ nativeProp: "accessibilityLiveRegion",
301
+ web: "host",
302
+ native: "polyfill"
303
+ },
304
+ "aria-modal": ariaState("aria-modal", "accessibilityViewIsModal"),
305
+ "aria-multiline": ariaState("aria-multiline", null),
306
+ "aria-multiselectable": ariaState("aria-multiselectable", null),
307
+ "aria-orientation": {
308
+ group: "aria",
309
+ tags: "*",
310
+ type: `'horizontal' | 'vertical'`,
311
+ nativeProp: null,
312
+ web: "host",
313
+ native: "none"
314
+ },
315
+ "aria-owns": ariaRef(),
316
+ "aria-placeholder": ariaText(),
317
+ "aria-posinset": ariaNumber(),
318
+ "aria-pressed": {
319
+ group: "aria",
320
+ tags: "*",
321
+ type: `boolean | 'mixed'`,
322
+ nativeProp: null,
323
+ web: "host",
324
+ native: "none"
325
+ },
326
+ "aria-readonly": ariaState("aria-readonly", null),
327
+ "aria-required": ariaState("aria-required", null),
328
+ "aria-roledescription": ariaText(),
329
+ "aria-rowcount": ariaNumber(),
330
+ "aria-rowindex": ariaNumber(),
331
+ "aria-rowindextext": ariaText(),
332
+ "aria-rowspan": ariaNumber(),
333
+ "aria-selected": ariaState("aria-selected", "accessibilityState.selected"),
334
+ "aria-setsize": ariaNumber(),
335
+ "aria-sort": {
336
+ group: "aria",
337
+ tags: "*",
338
+ type: `'none' | 'ascending' | 'descending' | 'other'`,
339
+ nativeProp: null,
340
+ web: "host",
341
+ native: "none"
342
+ },
343
+ "aria-valuemax": ariaNumber("accessibilityValue.max"),
344
+ "aria-valuemin": ariaNumber("accessibilityValue.min"),
345
+ "aria-valuenow": ariaNumber("accessibilityValue.now"),
346
+ "aria-valuetext": ariaText("accessibilityValue.text"),
347
+ autoFocus: {
348
+ group: "global",
349
+ tags: "*",
350
+ type: "boolean",
351
+ nativeProp: null,
352
+ web: "host",
353
+ native: "none",
354
+ note: "focus a native element through a ref in an effect instead"
355
+ },
356
+ dir: {
357
+ group: "global",
358
+ tags: "*",
359
+ type: `'auto' | 'ltr' | 'rtl'`,
360
+ nativeProp: "writingDirection",
361
+ web: "host",
362
+ native: "polyfill"
363
+ },
364
+ elementTiming: {
365
+ group: "global",
366
+ tags: "*",
367
+ type: "string",
368
+ nativeProp: null,
369
+ web: "host",
370
+ native: "none",
371
+ note: "element timing is a browser performance api"
372
+ },
373
+ hidden: {
374
+ group: "global",
375
+ tags: "*",
376
+ type: `true | 'hidden' | 'until-found'`,
377
+ nativeProp: "style.display",
378
+ web: "host",
379
+ native: "polyfill",
380
+ note: "native applies display none and has no until-found reveal"
381
+ },
382
+ id: {
383
+ group: "global",
384
+ tags: "*",
385
+ type: "string",
386
+ nativeProp: "id",
387
+ web: "host",
388
+ native: "polyfill"
389
+ },
390
+ inert: {
391
+ group: "global",
392
+ tags: "*",
393
+ type: "boolean",
394
+ nativeProp: null,
395
+ web: "host",
396
+ native: "none"
397
+ },
398
+ lang: {
399
+ group: "global",
400
+ tags: "*",
401
+ type: "string",
402
+ nativeProp: null,
403
+ web: "host",
404
+ native: "none"
405
+ },
406
+ role: {
407
+ group: "global",
408
+ tags: "*",
409
+ type: "AriaRole",
410
+ nativeProp: "role",
411
+ web: "host",
412
+ native: "polyfill"
413
+ },
414
+ tabIndex: {
415
+ group: "global",
416
+ tags: "*",
417
+ type: "0 | -1",
418
+ nativeProp: "focusable",
419
+ web: "host",
420
+ native: "polyfill"
421
+ },
422
+ suppressHydrationWarning: {
423
+ group: "react",
424
+ tags: "*",
425
+ type: "boolean",
426
+ nativeProp: null,
427
+ web: "host",
428
+ native: "none"
429
+ },
430
+ children: {
431
+ group: "react",
432
+ tags: "*",
433
+ nativeProp: "children",
434
+ web: "host",
435
+ native: "host",
436
+ note: "the content model in the tag table decides the type: no children on a void tag, text only inside an option"
437
+ },
438
+ style: {
439
+ group: "frontend",
440
+ tags: "*",
441
+ nativeProp: "style",
442
+ web: "host",
443
+ native: "host",
444
+ note: "each frontend supplies its own style contract: tamagui style props, className, or style() handles"
445
+ },
446
+ "data-*": {
447
+ group: "data",
448
+ tags: "*",
449
+ type: "string | number | boolean",
450
+ nativeProp: null,
451
+ web: "host",
452
+ native: "none",
453
+ note: "data-testid is the one exception and reaches testID on native"
454
+ },
455
+ "data-testid": {
456
+ group: "data",
457
+ tags: "*",
458
+ type: "string",
459
+ nativeProp: "testID",
460
+ web: "host",
461
+ native: "polyfill"
462
+ },
463
+ autoCapitalize: {
464
+ group: "element",
465
+ tags: TEXT_ENTRY,
466
+ type: `'none' | 'sentences' | 'words' | 'characters'`,
467
+ nativeProp: "autoCapitalize",
468
+ web: "host",
469
+ native: "host"
470
+ },
471
+ autoComplete: {
472
+ group: "element",
473
+ tags: [
474
+ "input",
475
+ "select",
476
+ "textarea"
477
+ ],
478
+ type: "AutoComplete",
479
+ nativeProp: "autoComplete",
480
+ web: "host",
481
+ native: "host"
482
+ },
483
+ enterKeyHint: {
484
+ group: "element",
485
+ tags: TEXT_ENTRY,
486
+ type: `'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'`,
487
+ nativeProp: "enterKeyHint",
488
+ web: "host",
489
+ native: "host"
490
+ },
491
+ inputMode: {
492
+ group: "element",
493
+ tags: TEXT_ENTRY,
494
+ type: `'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'`,
495
+ nativeProp: "inputMode",
496
+ web: "host",
497
+ native: "host"
498
+ },
499
+ spellCheck: {
500
+ group: "element",
501
+ tags: TEXT_ENTRY,
502
+ type: "boolean",
503
+ nativeProp: "spellCheck",
504
+ web: "host",
505
+ native: "host",
506
+ note: "ios only on native"
507
+ },
508
+ download: {
509
+ group: "element",
510
+ tags: ANCHOR,
511
+ type: "string",
512
+ nativeProp: null,
513
+ web: "host",
514
+ native: "none"
515
+ },
516
+ href: {
517
+ group: "element",
518
+ tags: ANCHOR,
519
+ type: "string",
520
+ nativeProp: null,
521
+ web: "host",
522
+ native: "none",
523
+ note: "native has no navigation; handle onClick and call your router or Linking"
524
+ },
525
+ referrerPolicy: {
526
+ group: "element",
527
+ tags: ["a", "img"],
528
+ type: `'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'`,
529
+ nativeProp: "referrerPolicy",
530
+ web: "host",
531
+ native: "host",
532
+ note: "native honours it for image requests only"
533
+ },
534
+ rel: {
535
+ group: "element",
536
+ tags: ANCHOR,
537
+ type: "string",
538
+ nativeProp: null,
539
+ web: "host",
540
+ native: "none"
541
+ },
542
+ target: {
543
+ group: "element",
544
+ tags: ANCHOR,
545
+ type: `'_self' | '_blank' | '_parent' | '_top'`,
546
+ nativeProp: null,
547
+ web: "host",
548
+ native: "none"
549
+ },
550
+ disabled: {
551
+ group: "element",
552
+ tags: [
553
+ "button",
554
+ "input",
555
+ "optgroup",
556
+ "option",
557
+ "textarea"
558
+ ],
559
+ type: "boolean",
560
+ nativeProp: "disabled",
561
+ web: "host",
562
+ native: "polyfill",
563
+ note: "native also clears focusable, and editable on a text-entry control"
564
+ },
565
+ type: {
566
+ group: "element",
567
+ tags: ["button", "input"],
568
+ perTag: {
569
+ button: { type: `'button' | 'submit'` },
570
+ input: {
571
+ type: "InputType",
572
+ note: "on native the type selects the keyboard and secure entry rather than reaching one prop, and the types with no text-entry control are a build error"
573
+ }
574
+ },
575
+ nativeProp: null,
576
+ web: "host",
577
+ native: "polyfill"
578
+ },
579
+ alt: {
580
+ group: "element",
581
+ tags: IMAGE,
582
+ type: "string",
583
+ nativeProp: "alt",
584
+ web: "host",
585
+ native: "host"
586
+ },
587
+ crossOrigin: {
588
+ group: "element",
589
+ tags: IMAGE,
590
+ type: `'anonymous' | 'use-credentials'`,
591
+ nativeProp: "crossOrigin",
592
+ web: "host",
593
+ native: "host"
594
+ },
595
+ decoding: {
596
+ group: "element",
597
+ tags: IMAGE,
598
+ type: `'async' | 'auto' | 'sync'`,
599
+ nativeProp: null,
600
+ web: "host",
601
+ native: "none"
602
+ },
603
+ draggable: {
604
+ group: "element",
605
+ tags: IMAGE,
606
+ type: "boolean",
607
+ nativeProp: null,
608
+ web: "host",
609
+ native: "none"
610
+ },
611
+ fetchPriority: {
612
+ group: "element",
613
+ tags: IMAGE,
614
+ type: `'high' | 'low' | 'auto'`,
615
+ nativeProp: null,
616
+ web: "host",
617
+ native: "none"
618
+ },
619
+ height: {
620
+ group: "element",
621
+ tags: IMAGE,
622
+ type: "number",
623
+ nativeProp: "height",
624
+ web: "host",
625
+ native: "host"
626
+ },
627
+ loading: {
628
+ group: "element",
629
+ tags: IMAGE,
630
+ type: `'eager' | 'lazy'`,
631
+ nativeProp: null,
632
+ web: "host",
633
+ native: "none"
634
+ },
635
+ src: {
636
+ group: "element",
637
+ tags: IMAGE,
638
+ type: "string",
639
+ nativeProp: "src",
640
+ web: "host",
641
+ native: "host"
642
+ },
643
+ srcSet: {
644
+ group: "element",
645
+ tags: IMAGE,
646
+ type: "string",
647
+ nativeProp: "srcSet",
648
+ web: "host",
649
+ native: "host"
650
+ },
651
+ width: {
652
+ group: "element",
653
+ tags: IMAGE,
654
+ type: "number",
655
+ nativeProp: "width",
656
+ web: "host",
657
+ native: "host"
658
+ },
659
+ checked: {
660
+ group: "element",
661
+ tags: ["input"],
662
+ type: `boolean | 'mixed'`,
663
+ nativeProp: null,
664
+ web: "host",
665
+ native: "none",
666
+ note: "checkbox and radio inputs have no native rendering"
667
+ },
668
+ defaultChecked: {
669
+ group: "element",
670
+ tags: ["input"],
671
+ type: "boolean",
672
+ nativeProp: null,
673
+ web: "host",
674
+ native: "none",
675
+ note: "checkbox and radio inputs have no native rendering"
676
+ },
677
+ defaultValue: {
678
+ group: "element",
679
+ tags: [
680
+ "input",
681
+ "select",
682
+ "textarea"
683
+ ],
684
+ type: "string",
685
+ perTag: { select: { type: "string | readonly string[]" } },
686
+ nativeProp: "defaultValue",
687
+ web: "host",
688
+ native: "host"
689
+ },
690
+ for: {
691
+ group: "element",
692
+ tags: ["label"],
693
+ type: "string",
694
+ nativeProp: null,
695
+ web: "host",
696
+ native: "none",
697
+ note: "native has no label association; wrap the control or drive it from your own state"
698
+ },
699
+ label: {
700
+ group: "element",
701
+ tags: ["optgroup", "option"],
702
+ type: "string",
703
+ nativeProp: null,
704
+ web: "host",
705
+ native: "none"
706
+ },
707
+ max: {
708
+ group: "element",
709
+ tags: ["input"],
710
+ type: "string | number",
711
+ nativeProp: null,
712
+ web: "host",
713
+ native: "none"
714
+ },
715
+ maxLength: {
716
+ group: "element",
717
+ tags: TEXT_ENTRY,
718
+ type: "number",
719
+ nativeProp: "maxLength",
720
+ web: "host",
721
+ native: "host"
722
+ },
723
+ min: {
724
+ group: "element",
725
+ tags: ["input"],
726
+ type: "string | number",
727
+ nativeProp: null,
728
+ web: "host",
729
+ native: "none"
730
+ },
731
+ minLength: {
732
+ group: "element",
733
+ tags: TEXT_ENTRY,
734
+ type: "number",
735
+ nativeProp: null,
736
+ web: "host",
737
+ native: "none"
738
+ },
739
+ multiple: {
740
+ group: "element",
741
+ tags: ["input", "select"],
742
+ type: "boolean",
743
+ nativeProp: null,
744
+ web: "host",
745
+ native: "none"
746
+ },
747
+ name: {
748
+ group: "element",
749
+ tags: [
750
+ "input",
751
+ "select",
752
+ "textarea"
753
+ ],
754
+ type: "string",
755
+ nativeProp: null,
756
+ web: "host",
757
+ native: "none",
758
+ note: "form field names only matter to a form submission, which native does not have"
759
+ },
760
+ placeholder: {
761
+ group: "element",
762
+ tags: TEXT_ENTRY,
763
+ type: "string",
764
+ nativeProp: "placeholder",
765
+ web: "host",
766
+ native: "host"
767
+ },
768
+ readOnly: {
769
+ group: "element",
770
+ tags: TEXT_ENTRY,
771
+ type: "boolean",
772
+ nativeProp: "editable",
773
+ web: "host",
774
+ native: "polyfill"
775
+ },
776
+ required: {
777
+ group: "element",
778
+ tags: [
779
+ "input",
780
+ "select",
781
+ "textarea"
782
+ ],
783
+ type: "boolean",
784
+ nativeProp: null,
785
+ web: "host",
786
+ native: "none",
787
+ note: "native has no form validation"
788
+ },
789
+ rows: {
790
+ group: "element",
791
+ tags: ["textarea"],
792
+ type: "number",
793
+ nativeProp: "numberOfLines",
794
+ web: "host",
795
+ native: "polyfill"
796
+ },
797
+ step: {
798
+ group: "element",
799
+ tags: ["input"],
800
+ type: `number | 'any'`,
801
+ nativeProp: null,
802
+ web: "host",
803
+ native: "none"
804
+ },
805
+ value: {
806
+ group: "element",
807
+ tags: [
808
+ "input",
809
+ "li",
810
+ "option",
811
+ "select",
812
+ "textarea"
813
+ ],
814
+ type: "string",
815
+ perTag: {
816
+ li: {
817
+ type: "number",
818
+ note: "the list counter is not rendered on either platform, matching the list-style reset"
819
+ },
820
+ select: { type: "string | readonly string[]" }
821
+ },
822
+ nativeProp: "value",
823
+ web: "host",
824
+ native: "polyfill"
825
+ }
826
+ };
827
+ var ATTRIBUTE_NAMES = Object.keys(ATTRIBUTES);
828
+ var FRONTEND_PROPS = ["style"];
829
+
830
+ export { ARIA_ROLES, ATTRIBUTES, ATTRIBUTE_NAMES, AUTO_COMPLETE_VALUES, FRONTEND_PROPS, HTML_INPUT_TYPES, NATIVE_INPUT_TYPES };
831
+ //# sourceMappingURL=attributes.native.js.map