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