@tamagui/dom 3.0.7 → 3.0.8
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/tables/attributes.native.cjs +4 -4
- package/dist/cjs/tables/attributes.native.js +4 -4
- package/dist/cjs/tables/attributes.native.js.map +1 -1
- package/dist/cjs/tables/events.native.cjs +2 -2
- package/dist/cjs/tables/events.native.js +2 -2
- package/dist/cjs/tables/events.native.js.map +1 -1
- package/dist/esm/tables/attributes.native.js +4 -4
- package/dist/esm/tables/attributes.native.js.map +1 -1
- package/dist/esm/tables/events.native.js +2 -2
- package/dist/esm/tables/events.native.js.map +1 -1
- package/package.json +3 -3
|
@@ -206,7 +206,7 @@ var NATIVE_INPUT_TYPES = [
|
|
|
206
206
|
"text",
|
|
207
207
|
"url"
|
|
208
208
|
];
|
|
209
|
-
var ariaState = function(name, nativeProp) {
|
|
209
|
+
var ariaState = function ariaState2(name, nativeProp) {
|
|
210
210
|
return {
|
|
211
211
|
group: "aria",
|
|
212
212
|
tags: "*",
|
|
@@ -216,7 +216,7 @@ var ariaState = function(name, nativeProp) {
|
|
|
216
216
|
native: nativeProp ? "polyfill" : "none"
|
|
217
217
|
};
|
|
218
218
|
};
|
|
219
|
-
var ariaRef = function() {
|
|
219
|
+
var ariaRef = function ariaRef2() {
|
|
220
220
|
return {
|
|
221
221
|
group: "aria",
|
|
222
222
|
tags: "*",
|
|
@@ -226,7 +226,7 @@ var ariaRef = function() {
|
|
|
226
226
|
native: "none"
|
|
227
227
|
};
|
|
228
228
|
};
|
|
229
|
-
var ariaNumber = function() {
|
|
229
|
+
var ariaNumber = function ariaNumber2() {
|
|
230
230
|
var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
|
|
231
231
|
return {
|
|
232
232
|
group: "aria",
|
|
@@ -237,7 +237,7 @@ var ariaNumber = function() {
|
|
|
237
237
|
native: nativeProp ? "polyfill" : "none"
|
|
238
238
|
};
|
|
239
239
|
};
|
|
240
|
-
var ariaText = function() {
|
|
240
|
+
var ariaText = function ariaText2() {
|
|
241
241
|
var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
|
|
242
242
|
return {
|
|
243
243
|
group: "aria",
|
|
@@ -206,7 +206,7 @@ var NATIVE_INPUT_TYPES = [
|
|
|
206
206
|
"text",
|
|
207
207
|
"url"
|
|
208
208
|
];
|
|
209
|
-
var ariaState = function(name, nativeProp) {
|
|
209
|
+
var ariaState = function ariaState2(name, nativeProp) {
|
|
210
210
|
return {
|
|
211
211
|
group: "aria",
|
|
212
212
|
tags: "*",
|
|
@@ -216,7 +216,7 @@ var ariaState = function(name, nativeProp) {
|
|
|
216
216
|
native: nativeProp ? "polyfill" : "none"
|
|
217
217
|
};
|
|
218
218
|
};
|
|
219
|
-
var ariaRef = function() {
|
|
219
|
+
var ariaRef = function ariaRef2() {
|
|
220
220
|
return {
|
|
221
221
|
group: "aria",
|
|
222
222
|
tags: "*",
|
|
@@ -226,7 +226,7 @@ var ariaRef = function() {
|
|
|
226
226
|
native: "none"
|
|
227
227
|
};
|
|
228
228
|
};
|
|
229
|
-
var ariaNumber = function() {
|
|
229
|
+
var ariaNumber = function ariaNumber2() {
|
|
230
230
|
var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
|
|
231
231
|
return {
|
|
232
232
|
group: "aria",
|
|
@@ -237,7 +237,7 @@ var ariaNumber = function() {
|
|
|
237
237
|
native: nativeProp ? "polyfill" : "none"
|
|
238
238
|
};
|
|
239
239
|
};
|
|
240
|
-
var ariaText = function() {
|
|
240
|
+
var ariaText = function ariaText2() {
|
|
241
241
|
var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
|
|
242
242
|
return {
|
|
243
243
|
group: "aria",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributes.native.js","names":[],"sources":["cjs/tables/attributes.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar attributes_exports = {};\n__export(attributes_exports, {\n ARIA_ROLES: () => ARIA_ROLES,\n ATTRIBUTES: () => ATTRIBUTES,\n ATTRIBUTE_NAMES: () => ATTRIBUTE_NAMES,\n AUTO_COMPLETE_VALUES: () => AUTO_COMPLETE_VALUES,\n FRONTEND_PROPS: () => FRONTEND_PROPS,\n HTML_INPUT_TYPES: () => HTML_INPUT_TYPES,\n NATIVE_INPUT_TYPES: () => NATIVE_INPUT_TYPES\n});\nmodule.exports = __toCommonJS(attributes_exports);\nvar TEXT_ENTRY = [\n \"input\",\n \"textarea\"\n];\nvar ANCHOR = [\n \"a\"\n];\nvar IMAGE = [\n \"img\"\n];\nvar ARIA_ROLES = [\n \"alert\",\n \"alertdialog\",\n \"application\",\n \"article\",\n \"banner\",\n \"blockquote\",\n \"button\",\n \"caption\",\n \"cell\",\n \"checkbox\",\n \"code\",\n \"columnheader\",\n \"combobox\",\n \"complementary\",\n \"contentinfo\",\n \"definition\",\n \"deletion\",\n \"dialog\",\n \"document\",\n \"emphasis\",\n \"feed\",\n \"figure\",\n \"form\",\n \"grid\",\n \"gridcell\",\n \"group\",\n \"heading\",\n \"img\",\n \"input\",\n \"insertion\",\n \"link\",\n \"list\",\n \"listbox\",\n \"listitem\",\n \"log\",\n \"main\",\n \"marquee\",\n \"math\",\n \"menu\",\n \"menubar\",\n \"menuitem\",\n \"menuitemcheckbox\",\n \"menuitemradio\",\n \"meter\",\n \"navigation\",\n \"none\",\n \"note\",\n \"option\",\n \"paragraph\",\n \"progressbar\",\n \"radio\",\n \"radiogroup\",\n \"region\",\n \"row\",\n \"rowgroup\",\n \"rowheader\",\n \"scrollbar\",\n \"search\",\n \"searchbox\",\n \"separator\",\n \"slider\",\n \"spinbutton\",\n \"status\",\n \"strong\",\n \"subscript\",\n \"superscript\",\n \"switch\",\n \"tab\",\n \"table\",\n \"tablist\",\n \"tabpanel\",\n \"term\",\n \"textbox\",\n \"time\",\n \"timer\",\n \"toolbar\",\n \"tooltip\",\n \"tree\",\n \"treegrid\",\n \"treeitem\"\n];\nvar AUTO_COMPLETE_VALUES = [\n \"additional-name\",\n \"address-line1\",\n \"address-line2\",\n \"birthdate-day\",\n \"birthdate-full\",\n \"birthdate-month\",\n \"birthdate-year\",\n \"cc-csc\",\n \"cc-exp\",\n \"cc-exp-day\",\n \"cc-exp-month\",\n \"cc-exp-year\",\n \"cc-number\",\n \"cc-name\",\n \"cc-given-name\",\n \"cc-middle-name\",\n \"cc-family-name\",\n \"cc-type\",\n \"country\",\n \"current-password\",\n \"email\",\n \"family-name\",\n \"gender\",\n \"given-name\",\n \"honorific-prefix\",\n \"honorific-suffix\",\n \"name\",\n \"name-family\",\n \"name-given\",\n \"name-middle\",\n \"name-middle-initial\",\n \"name-prefix\",\n \"name-suffix\",\n \"new-password\",\n \"nickname\",\n \"on\",\n \"one-time-code\",\n \"organization\",\n \"organization-title\",\n \"password\",\n \"password-new\",\n \"postal-address\",\n \"postal-address-country\",\n \"postal-address-extended\",\n \"postal-address-extended-postal-code\",\n \"postal-address-locality\",\n \"postal-address-region\",\n \"postal-code\",\n \"street-address\",\n \"sms-otp\",\n \"tel\",\n \"tel-country-code\",\n \"tel-national\",\n \"tel-device\",\n \"url\",\n \"username\",\n \"username-new\",\n \"off\"\n];\nvar HTML_INPUT_TYPES = [\n \"checkbox\",\n \"color\",\n \"date\",\n \"datetime-local\",\n \"email\",\n \"file\",\n \"hidden\",\n \"month\",\n \"number\",\n \"password\",\n \"radio\",\n \"range\",\n \"search\",\n \"submit\",\n \"tel\",\n \"text\",\n \"time\",\n \"url\",\n \"week\"\n];\nvar NATIVE_INPUT_TYPES = [\n \"email\",\n \"number\",\n \"password\",\n \"search\",\n \"tel\",\n \"text\",\n \"url\"\n];\nvar ariaState = function(name, nativeProp) {\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ariaRef = function() {\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n };\n};\nvar ariaNumber = function() {\n var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"number\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ariaText = function() {\n var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ATTRIBUTES = {\n // accessibility\n \"aria-activedescendant\": ariaRef(),\n \"aria-atomic\": ariaState(\"aria-atomic\", null),\n \"aria-autocomplete\": {\n group: \"aria\",\n tags: \"*\",\n type: `'none' | 'inline' | 'list' | 'both'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-busy\": ariaState(\"aria-busy\", \"accessibilityState.busy\"),\n \"aria-checked\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'mixed'`,\n nativeProp: \"accessibilityState.checked\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-colcount\": ariaNumber(),\n \"aria-colindex\": ariaNumber(),\n \"aria-colindextext\": ariaText(),\n \"aria-colspan\": ariaNumber(),\n \"aria-controls\": ariaRef(),\n \"aria-current\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'page' | 'step' | 'location' | 'date' | 'time'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-describedby\": {\n ...ariaRef(),\n note: \"react native has no described-by relationship; put the description in aria-label instead\"\n },\n \"aria-details\": ariaRef(),\n \"aria-disabled\": ariaState(\"aria-disabled\", \"accessibilityState.disabled\"),\n \"aria-errormessage\": ariaRef(),\n \"aria-expanded\": ariaState(\"aria-expanded\", \"accessibilityState.expanded\"),\n \"aria-flowto\": ariaRef(),\n \"aria-haspopup\": {\n group: \"aria\",\n tags: \"*\",\n type: `'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-hidden\": {\n group: \"aria\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: \"accessibilityElementsHidden\",\n web: \"host\",\n native: \"polyfill\",\n note: \"also sets importantForAccessibility on android so descendants are hidden\"\n },\n \"aria-invalid\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'grammar' | 'spelling'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-keyshortcuts\": ariaText(),\n \"aria-label\": ariaText(\"accessibilityLabel\"),\n \"aria-labelledby\": {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp: \"accessibilityLabelledBy\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-level\": ariaNumber(),\n \"aria-live\": {\n group: \"aria\",\n tags: \"*\",\n type: `'off' | 'assertive' | 'polite'`,\n nativeProp: \"accessibilityLiveRegion\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-modal\": ariaState(\"aria-modal\", \"accessibilityViewIsModal\"),\n \"aria-multiline\": ariaState(\"aria-multiline\", null),\n \"aria-multiselectable\": ariaState(\"aria-multiselectable\", null),\n \"aria-orientation\": {\n group: \"aria\",\n tags: \"*\",\n type: `'horizontal' | 'vertical'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-owns\": ariaRef(),\n \"aria-placeholder\": ariaText(),\n // react-native 0.86.2 has no accessibilityPosInSet — checked View.js and\n // ViewAccessibility.d.ts, it exists in neither. Mapping to it would have the\n // prop silently dropped at the host, which is worse than declaring it web-only\n \"aria-posinset\": ariaNumber(),\n \"aria-pressed\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'mixed'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-readonly\": ariaState(\"aria-readonly\", null),\n \"aria-required\": ariaState(\"aria-required\", null),\n \"aria-roledescription\": ariaText(),\n \"aria-rowcount\": ariaNumber(),\n \"aria-rowindex\": ariaNumber(),\n \"aria-rowindextext\": ariaText(),\n \"aria-rowspan\": ariaNumber(),\n \"aria-selected\": ariaState(\"aria-selected\", \"accessibilityState.selected\"),\n // same: no accessibilitySetSize anywhere in react-native 0.86.2\n \"aria-setsize\": ariaNumber(),\n \"aria-sort\": {\n group: \"aria\",\n tags: \"*\",\n type: `'none' | 'ascending' | 'descending' | 'other'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-valuemax\": ariaNumber(\"accessibilityValue.max\"),\n \"aria-valuemin\": ariaNumber(\"accessibilityValue.min\"),\n \"aria-valuenow\": ariaNumber(\"accessibilityValue.now\"),\n \"aria-valuetext\": ariaText(\"accessibilityValue.text\"),\n // global\n autoFocus: {\n group: \"global\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"focus a native element through a ref in an effect instead\"\n },\n dir: {\n group: \"global\",\n tags: \"*\",\n type: `'auto' | 'ltr' | 'rtl'`,\n nativeProp: \"writingDirection\",\n web: \"host\",\n native: \"polyfill\"\n },\n elementTiming: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"element timing is a browser performance api\"\n },\n hidden: {\n group: \"global\",\n tags: \"*\",\n type: `true | 'hidden' | 'until-found'`,\n nativeProp: \"style.display\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native applies display none and has no until-found reveal\"\n },\n id: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n // react native takes `id` itself on View, Text and TextInput and assigns it\n // to nativeID, so there is nothing to rename\n nativeProp: \"id\",\n web: \"host\",\n native: \"polyfill\"\n },\n inert: {\n group: \"global\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n lang: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n role: {\n group: \"global\",\n tags: \"*\",\n type: \"AriaRole\",\n nativeProp: \"role\",\n web: \"host\",\n native: \"polyfill\"\n },\n tabIndex: {\n group: \"global\",\n tags: \"*\",\n type: \"0 | -1\",\n nativeProp: \"focusable\",\n web: \"host\",\n native: \"polyfill\"\n },\n // react\n suppressHydrationWarning: {\n group: \"react\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n children: {\n group: \"react\",\n tags: \"*\",\n nativeProp: \"children\",\n web: \"host\",\n native: \"host\",\n note: \"the content model in the tag table decides the type: no children on a void tag, text only inside an option\"\n },\n // supplied by the styling frontend, never generated as a prop here\n style: {\n group: \"frontend\",\n tags: \"*\",\n nativeProp: \"style\",\n web: \"host\",\n native: \"host\",\n note: \"each frontend supplies its own style contract: tamagui style props, className, or style() handles\"\n },\n \"data-*\": {\n group: \"data\",\n tags: \"*\",\n type: \"string | number | boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"data-testid is the one exception and reaches testID on native\"\n },\n \"data-testid\": {\n group: \"data\",\n tags: \"*\",\n type: \"string\",\n nativeProp: \"testID\",\n web: \"host\",\n native: \"polyfill\"\n },\n // text entry\n autoCapitalize: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'none' | 'sentences' | 'words' | 'characters'`,\n nativeProp: \"autoCapitalize\",\n web: \"host\",\n native: \"host\"\n },\n autoComplete: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"AutoComplete\",\n nativeProp: \"autoComplete\",\n web: \"host\",\n native: \"host\"\n },\n enterKeyHint: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'`,\n nativeProp: \"enterKeyHint\",\n web: \"host\",\n native: \"host\"\n },\n inputMode: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'`,\n nativeProp: \"inputMode\",\n web: \"host\",\n native: \"host\"\n },\n spellCheck: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"boolean\",\n nativeProp: \"spellCheck\",\n web: \"host\",\n native: \"host\",\n note: \"ios only on native\"\n },\n // anchor\n download: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n href: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no navigation; handle onClick and call your router or Linking\"\n },\n referrerPolicy: {\n group: \"element\",\n tags: [\n \"a\",\n \"img\"\n ],\n type: `'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'`,\n nativeProp: \"referrerPolicy\",\n web: \"host\",\n native: \"host\",\n note: \"native honours it for image requests only\"\n },\n rel: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n target: {\n group: \"element\",\n tags: ANCHOR,\n type: `'_self' | '_blank' | '_parent' | '_top'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n // button, input, option, optgroup, textarea\n disabled: {\n group: \"element\",\n tags: [\n \"button\",\n \"input\",\n \"optgroup\",\n \"option\",\n \"textarea\"\n ],\n type: \"boolean\",\n nativeProp: \"disabled\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native also clears focusable, and editable on a text-entry control\"\n },\n type: {\n group: \"element\",\n tags: [\n \"button\",\n \"input\"\n ],\n perTag: {\n button: {\n type: `'button' | 'submit'`\n },\n input: {\n type: \"InputType\",\n 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\"\n }\n },\n nativeProp: null,\n web: \"host\",\n native: \"polyfill\"\n },\n // image\n alt: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"alt\",\n web: \"host\",\n native: \"host\"\n },\n crossOrigin: {\n group: \"element\",\n tags: IMAGE,\n type: `'anonymous' | 'use-credentials'`,\n nativeProp: \"crossOrigin\",\n web: \"host\",\n native: \"host\"\n },\n decoding: {\n group: \"element\",\n tags: IMAGE,\n type: `'async' | 'auto' | 'sync'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n draggable: {\n group: \"element\",\n tags: IMAGE,\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n fetchPriority: {\n group: \"element\",\n tags: IMAGE,\n type: `'high' | 'low' | 'auto'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n height: {\n group: \"element\",\n tags: IMAGE,\n type: \"number\",\n nativeProp: \"height\",\n web: \"host\",\n native: \"host\"\n },\n loading: {\n group: \"element\",\n tags: IMAGE,\n type: `'eager' | 'lazy'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n src: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"src\",\n web: \"host\",\n native: \"host\"\n },\n srcSet: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"srcSet\",\n web: \"host\",\n native: \"host\"\n },\n width: {\n group: \"element\",\n tags: IMAGE,\n type: \"number\",\n nativeProp: \"width\",\n web: \"host\",\n native: \"host\"\n },\n // form controls\n checked: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: `boolean | 'mixed'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"checkbox and radio inputs have no native rendering\"\n },\n defaultChecked: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"checkbox and radio inputs have no native rendering\"\n },\n defaultValue: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n perTag: {\n select: {\n type: \"string | readonly string[]\"\n }\n },\n nativeProp: \"defaultValue\",\n web: \"host\",\n native: \"host\"\n },\n for: {\n group: \"element\",\n tags: [\n \"label\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no label association; wrap the control or drive it from your own state\"\n },\n label: {\n group: \"element\",\n tags: [\n \"optgroup\",\n \"option\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n max: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"string | number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n maxLength: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"number\",\n nativeProp: \"maxLength\",\n web: \"host\",\n native: \"host\"\n },\n min: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"string | number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n minLength: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n multiple: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n name: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"form field names only matter to a form submission, which native does not have\"\n },\n placeholder: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"string\",\n nativeProp: \"placeholder\",\n web: \"host\",\n native: \"host\"\n },\n readOnly: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"boolean\",\n nativeProp: \"editable\",\n web: \"host\",\n native: \"polyfill\"\n },\n required: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no form validation\"\n },\n rows: {\n group: \"element\",\n tags: [\n \"textarea\"\n ],\n type: \"number\",\n nativeProp: \"numberOfLines\",\n web: \"host\",\n native: \"polyfill\"\n },\n step: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: `number | 'any'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n value: {\n group: \"element\",\n tags: [\n \"input\",\n \"li\",\n \"option\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n perTag: {\n li: {\n type: \"number\",\n note: \"the list counter is not rendered on either platform, matching the list-style reset\"\n },\n select: {\n type: \"string | readonly string[]\"\n }\n },\n nativeProp: \"value\",\n web: \"host\",\n native: \"polyfill\"\n }\n};\nvar ATTRIBUTE_NAMES = Object.keys(ATTRIBUTES);\nvar FRONTEND_PROPS = [\n \"style\"\n];\n//# sourceMappingURL=attributes.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,qBAAqB,CAAC;AAC1B,SAAS,oBAAoB;CAC3B,kBAAkB;CAClB,kBAAkB;CAClB,uBAAuB;CACvB,4BAA4B;CAC5B,sBAAsB;CACtB,wBAAwB;CACxB,0BAA0B;AAC5B,CAAC;AACD,OAAO,UAAU,aAAa,kBAAkB;AAChD,IAAI,aAAa,CACf,SACA,UACF;AACA,IAAI,SAAS,CACX,GACF;AACA,IAAI,QAAQ,CACV,KACF;AACA,IAAI,aAAa;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,uBAAuB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,mBAAmB;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,qBAAqB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,YAAY,SAAS,MAAM,YAAY;CACzC,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN;EACA,KAAK;EACL,QAAQ,aAAa,aAAa;CACpC;AACF;AACA,IAAI,UAAU,WAAW;CACvB,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,aAAa,WAAW;CAC1B,IAAI,aAAa,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CAClF,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN;EACA,KAAK;EACL,QAAQ,aAAa,aAAa;CACpC;AACF;AACA,IAAI,WAAW,WAAW;CACxB,IAAI,aAAa,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CAClF,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN;EACA,KAAK;EACL,QAAQ,aAAa,aAAa;CACpC;AACF;AACA,IAAI,aAAa;CAEf,yBAAyB,QAAQ;CACjC,eAAe,UAAU,eAAe,IAAI;CAC5C,qBAAqB;EACnB,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,aAAa,UAAU,aAAa,yBAAyB;CAC7D,gBAAgB;EACd,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,iBAAiB,WAAW;CAC5B,iBAAiB,WAAW;C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,QAAQ;CACV;CACA,UAAU;EACR,OAAO;EACP,MAAM;GACJ;GACA;GACA;EACF;EACA,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,MAAM;EACJ,OAAO;EACP,MAAM,CACJ,UACF;EACA,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,MAAM;EACJ,OAAO;EACP,MAAM,CACJ,OACF;EACA,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,OAAO;EACL,OAAO;EACP,MAAM;GACJ;GACA;GACA;GACA;GACA;EACF;EACA,MAAM;EACN,QAAQ;GACN,IAAI;IACF,MAAM;IACN,MAAM;GACR;GACA,QAAQ,EACN,MAAM,6BACR;EACF;EACA,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,kBAAkB,OAAO,KAAK,UAAU;AAC5C,IAAI,iBAAiB,CACnB,OACF"}
|
|
1
|
+
{"version":3,"file":"attributes.native.js","names":[],"sources":["cjs/tables/attributes.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar attributes_exports = {};\n__export(attributes_exports, {\n ARIA_ROLES: () => ARIA_ROLES,\n ATTRIBUTES: () => ATTRIBUTES,\n ATTRIBUTE_NAMES: () => ATTRIBUTE_NAMES,\n AUTO_COMPLETE_VALUES: () => AUTO_COMPLETE_VALUES,\n FRONTEND_PROPS: () => FRONTEND_PROPS,\n HTML_INPUT_TYPES: () => HTML_INPUT_TYPES,\n NATIVE_INPUT_TYPES: () => NATIVE_INPUT_TYPES\n});\nmodule.exports = __toCommonJS(attributes_exports);\nvar TEXT_ENTRY = [\n \"input\",\n \"textarea\"\n];\nvar ANCHOR = [\n \"a\"\n];\nvar IMAGE = [\n \"img\"\n];\nvar ARIA_ROLES = [\n \"alert\",\n \"alertdialog\",\n \"application\",\n \"article\",\n \"banner\",\n \"blockquote\",\n \"button\",\n \"caption\",\n \"cell\",\n \"checkbox\",\n \"code\",\n \"columnheader\",\n \"combobox\",\n \"complementary\",\n \"contentinfo\",\n \"definition\",\n \"deletion\",\n \"dialog\",\n \"document\",\n \"emphasis\",\n \"feed\",\n \"figure\",\n \"form\",\n \"grid\",\n \"gridcell\",\n \"group\",\n \"heading\",\n \"img\",\n \"input\",\n \"insertion\",\n \"link\",\n \"list\",\n \"listbox\",\n \"listitem\",\n \"log\",\n \"main\",\n \"marquee\",\n \"math\",\n \"menu\",\n \"menubar\",\n \"menuitem\",\n \"menuitemcheckbox\",\n \"menuitemradio\",\n \"meter\",\n \"navigation\",\n \"none\",\n \"note\",\n \"option\",\n \"paragraph\",\n \"progressbar\",\n \"radio\",\n \"radiogroup\",\n \"region\",\n \"row\",\n \"rowgroup\",\n \"rowheader\",\n \"scrollbar\",\n \"search\",\n \"searchbox\",\n \"separator\",\n \"slider\",\n \"spinbutton\",\n \"status\",\n \"strong\",\n \"subscript\",\n \"superscript\",\n \"switch\",\n \"tab\",\n \"table\",\n \"tablist\",\n \"tabpanel\",\n \"term\",\n \"textbox\",\n \"time\",\n \"timer\",\n \"toolbar\",\n \"tooltip\",\n \"tree\",\n \"treegrid\",\n \"treeitem\"\n];\nvar AUTO_COMPLETE_VALUES = [\n \"additional-name\",\n \"address-line1\",\n \"address-line2\",\n \"birthdate-day\",\n \"birthdate-full\",\n \"birthdate-month\",\n \"birthdate-year\",\n \"cc-csc\",\n \"cc-exp\",\n \"cc-exp-day\",\n \"cc-exp-month\",\n \"cc-exp-year\",\n \"cc-number\",\n \"cc-name\",\n \"cc-given-name\",\n \"cc-middle-name\",\n \"cc-family-name\",\n \"cc-type\",\n \"country\",\n \"current-password\",\n \"email\",\n \"family-name\",\n \"gender\",\n \"given-name\",\n \"honorific-prefix\",\n \"honorific-suffix\",\n \"name\",\n \"name-family\",\n \"name-given\",\n \"name-middle\",\n \"name-middle-initial\",\n \"name-prefix\",\n \"name-suffix\",\n \"new-password\",\n \"nickname\",\n \"on\",\n \"one-time-code\",\n \"organization\",\n \"organization-title\",\n \"password\",\n \"password-new\",\n \"postal-address\",\n \"postal-address-country\",\n \"postal-address-extended\",\n \"postal-address-extended-postal-code\",\n \"postal-address-locality\",\n \"postal-address-region\",\n \"postal-code\",\n \"street-address\",\n \"sms-otp\",\n \"tel\",\n \"tel-country-code\",\n \"tel-national\",\n \"tel-device\",\n \"url\",\n \"username\",\n \"username-new\",\n \"off\"\n];\nvar HTML_INPUT_TYPES = [\n \"checkbox\",\n \"color\",\n \"date\",\n \"datetime-local\",\n \"email\",\n \"file\",\n \"hidden\",\n \"month\",\n \"number\",\n \"password\",\n \"radio\",\n \"range\",\n \"search\",\n \"submit\",\n \"tel\",\n \"text\",\n \"time\",\n \"url\",\n \"week\"\n];\nvar NATIVE_INPUT_TYPES = [\n \"email\",\n \"number\",\n \"password\",\n \"search\",\n \"tel\",\n \"text\",\n \"url\"\n];\nvar ariaState = function ariaState2(name, nativeProp) {\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ariaRef = function ariaRef2() {\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n };\n};\nvar ariaNumber = function ariaNumber2() {\n var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"number\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ariaText = function ariaText2() {\n var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ATTRIBUTES = {\n // accessibility\n \"aria-activedescendant\": ariaRef(),\n \"aria-atomic\": ariaState(\"aria-atomic\", null),\n \"aria-autocomplete\": {\n group: \"aria\",\n tags: \"*\",\n type: `'none' | 'inline' | 'list' | 'both'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-busy\": ariaState(\"aria-busy\", \"accessibilityState.busy\"),\n \"aria-checked\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'mixed'`,\n nativeProp: \"accessibilityState.checked\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-colcount\": ariaNumber(),\n \"aria-colindex\": ariaNumber(),\n \"aria-colindextext\": ariaText(),\n \"aria-colspan\": ariaNumber(),\n \"aria-controls\": ariaRef(),\n \"aria-current\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'page' | 'step' | 'location' | 'date' | 'time'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-describedby\": {\n ...ariaRef(),\n note: \"react native has no described-by relationship; put the description in aria-label instead\"\n },\n \"aria-details\": ariaRef(),\n \"aria-disabled\": ariaState(\"aria-disabled\", \"accessibilityState.disabled\"),\n \"aria-errormessage\": ariaRef(),\n \"aria-expanded\": ariaState(\"aria-expanded\", \"accessibilityState.expanded\"),\n \"aria-flowto\": ariaRef(),\n \"aria-haspopup\": {\n group: \"aria\",\n tags: \"*\",\n type: `'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-hidden\": {\n group: \"aria\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: \"accessibilityElementsHidden\",\n web: \"host\",\n native: \"polyfill\",\n note: \"also sets importantForAccessibility on android so descendants are hidden\"\n },\n \"aria-invalid\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'grammar' | 'spelling'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-keyshortcuts\": ariaText(),\n \"aria-label\": ariaText(\"accessibilityLabel\"),\n \"aria-labelledby\": {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp: \"accessibilityLabelledBy\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-level\": ariaNumber(),\n \"aria-live\": {\n group: \"aria\",\n tags: \"*\",\n type: `'off' | 'assertive' | 'polite'`,\n nativeProp: \"accessibilityLiveRegion\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-modal\": ariaState(\"aria-modal\", \"accessibilityViewIsModal\"),\n \"aria-multiline\": ariaState(\"aria-multiline\", null),\n \"aria-multiselectable\": ariaState(\"aria-multiselectable\", null),\n \"aria-orientation\": {\n group: \"aria\",\n tags: \"*\",\n type: `'horizontal' | 'vertical'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-owns\": ariaRef(),\n \"aria-placeholder\": ariaText(),\n // react-native 0.86.2 has no accessibilityPosInSet — checked View.js and\n // ViewAccessibility.d.ts, it exists in neither. Mapping to it would have the\n // prop silently dropped at the host, which is worse than declaring it web-only\n \"aria-posinset\": ariaNumber(),\n \"aria-pressed\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'mixed'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-readonly\": ariaState(\"aria-readonly\", null),\n \"aria-required\": ariaState(\"aria-required\", null),\n \"aria-roledescription\": ariaText(),\n \"aria-rowcount\": ariaNumber(),\n \"aria-rowindex\": ariaNumber(),\n \"aria-rowindextext\": ariaText(),\n \"aria-rowspan\": ariaNumber(),\n \"aria-selected\": ariaState(\"aria-selected\", \"accessibilityState.selected\"),\n // same: no accessibilitySetSize anywhere in react-native 0.86.2\n \"aria-setsize\": ariaNumber(),\n \"aria-sort\": {\n group: \"aria\",\n tags: \"*\",\n type: `'none' | 'ascending' | 'descending' | 'other'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-valuemax\": ariaNumber(\"accessibilityValue.max\"),\n \"aria-valuemin\": ariaNumber(\"accessibilityValue.min\"),\n \"aria-valuenow\": ariaNumber(\"accessibilityValue.now\"),\n \"aria-valuetext\": ariaText(\"accessibilityValue.text\"),\n // global\n autoFocus: {\n group: \"global\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"focus a native element through a ref in an effect instead\"\n },\n dir: {\n group: \"global\",\n tags: \"*\",\n type: `'auto' | 'ltr' | 'rtl'`,\n nativeProp: \"writingDirection\",\n web: \"host\",\n native: \"polyfill\"\n },\n elementTiming: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"element timing is a browser performance api\"\n },\n hidden: {\n group: \"global\",\n tags: \"*\",\n type: `true | 'hidden' | 'until-found'`,\n nativeProp: \"style.display\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native applies display none and has no until-found reveal\"\n },\n id: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n // react native takes `id` itself on View, Text and TextInput and assigns it\n // to nativeID, so there is nothing to rename\n nativeProp: \"id\",\n web: \"host\",\n native: \"polyfill\"\n },\n inert: {\n group: \"global\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n lang: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n role: {\n group: \"global\",\n tags: \"*\",\n type: \"AriaRole\",\n nativeProp: \"role\",\n web: \"host\",\n native: \"polyfill\"\n },\n tabIndex: {\n group: \"global\",\n tags: \"*\",\n type: \"0 | -1\",\n nativeProp: \"focusable\",\n web: \"host\",\n native: \"polyfill\"\n },\n // react\n suppressHydrationWarning: {\n group: \"react\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n children: {\n group: \"react\",\n tags: \"*\",\n nativeProp: \"children\",\n web: \"host\",\n native: \"host\",\n note: \"the content model in the tag table decides the type: no children on a void tag, text only inside an option\"\n },\n // supplied by the styling frontend, never generated as a prop here\n style: {\n group: \"frontend\",\n tags: \"*\",\n nativeProp: \"style\",\n web: \"host\",\n native: \"host\",\n note: \"each frontend supplies its own style contract: tamagui style props, className, or style() handles\"\n },\n \"data-*\": {\n group: \"data\",\n tags: \"*\",\n type: \"string | number | boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"data-testid is the one exception and reaches testID on native\"\n },\n \"data-testid\": {\n group: \"data\",\n tags: \"*\",\n type: \"string\",\n nativeProp: \"testID\",\n web: \"host\",\n native: \"polyfill\"\n },\n // text entry\n autoCapitalize: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'none' | 'sentences' | 'words' | 'characters'`,\n nativeProp: \"autoCapitalize\",\n web: \"host\",\n native: \"host\"\n },\n autoComplete: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"AutoComplete\",\n nativeProp: \"autoComplete\",\n web: \"host\",\n native: \"host\"\n },\n enterKeyHint: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'`,\n nativeProp: \"enterKeyHint\",\n web: \"host\",\n native: \"host\"\n },\n inputMode: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'`,\n nativeProp: \"inputMode\",\n web: \"host\",\n native: \"host\"\n },\n spellCheck: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"boolean\",\n nativeProp: \"spellCheck\",\n web: \"host\",\n native: \"host\",\n note: \"ios only on native\"\n },\n // anchor\n download: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n href: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no navigation; handle onClick and call your router or Linking\"\n },\n referrerPolicy: {\n group: \"element\",\n tags: [\n \"a\",\n \"img\"\n ],\n type: `'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'`,\n nativeProp: \"referrerPolicy\",\n web: \"host\",\n native: \"host\",\n note: \"native honours it for image requests only\"\n },\n rel: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n target: {\n group: \"element\",\n tags: ANCHOR,\n type: `'_self' | '_blank' | '_parent' | '_top'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n // button, input, option, optgroup, textarea\n disabled: {\n group: \"element\",\n tags: [\n \"button\",\n \"input\",\n \"optgroup\",\n \"option\",\n \"textarea\"\n ],\n type: \"boolean\",\n nativeProp: \"disabled\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native also clears focusable, and editable on a text-entry control\"\n },\n type: {\n group: \"element\",\n tags: [\n \"button\",\n \"input\"\n ],\n perTag: {\n button: {\n type: `'button' | 'submit'`\n },\n input: {\n type: \"InputType\",\n 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\"\n }\n },\n nativeProp: null,\n web: \"host\",\n native: \"polyfill\"\n },\n // image\n alt: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"alt\",\n web: \"host\",\n native: \"host\"\n },\n crossOrigin: {\n group: \"element\",\n tags: IMAGE,\n type: `'anonymous' | 'use-credentials'`,\n nativeProp: \"crossOrigin\",\n web: \"host\",\n native: \"host\"\n },\n decoding: {\n group: \"element\",\n tags: IMAGE,\n type: `'async' | 'auto' | 'sync'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n draggable: {\n group: \"element\",\n tags: IMAGE,\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n fetchPriority: {\n group: \"element\",\n tags: IMAGE,\n type: `'high' | 'low' | 'auto'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n height: {\n group: \"element\",\n tags: IMAGE,\n type: \"number\",\n nativeProp: \"height\",\n web: \"host\",\n native: \"host\"\n },\n loading: {\n group: \"element\",\n tags: IMAGE,\n type: `'eager' | 'lazy'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n src: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"src\",\n web: \"host\",\n native: \"host\"\n },\n srcSet: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"srcSet\",\n web: \"host\",\n native: \"host\"\n },\n width: {\n group: \"element\",\n tags: IMAGE,\n type: \"number\",\n nativeProp: \"width\",\n web: \"host\",\n native: \"host\"\n },\n // form controls\n checked: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: `boolean | 'mixed'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"checkbox and radio inputs have no native rendering\"\n },\n defaultChecked: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"checkbox and radio inputs have no native rendering\"\n },\n defaultValue: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n perTag: {\n select: {\n type: \"string | readonly string[]\"\n }\n },\n nativeProp: \"defaultValue\",\n web: \"host\",\n native: \"host\"\n },\n for: {\n group: \"element\",\n tags: [\n \"label\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no label association; wrap the control or drive it from your own state\"\n },\n label: {\n group: \"element\",\n tags: [\n \"optgroup\",\n \"option\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n max: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"string | number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n maxLength: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"number\",\n nativeProp: \"maxLength\",\n web: \"host\",\n native: \"host\"\n },\n min: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"string | number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n minLength: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n multiple: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n name: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"form field names only matter to a form submission, which native does not have\"\n },\n placeholder: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"string\",\n nativeProp: \"placeholder\",\n web: \"host\",\n native: \"host\"\n },\n readOnly: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"boolean\",\n nativeProp: \"editable\",\n web: \"host\",\n native: \"polyfill\"\n },\n required: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no form validation\"\n },\n rows: {\n group: \"element\",\n tags: [\n \"textarea\"\n ],\n type: \"number\",\n nativeProp: \"numberOfLines\",\n web: \"host\",\n native: \"polyfill\"\n },\n step: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: `number | 'any'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n value: {\n group: \"element\",\n tags: [\n \"input\",\n \"li\",\n \"option\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n perTag: {\n li: {\n type: \"number\",\n note: \"the list counter is not rendered on either platform, matching the list-style reset\"\n },\n select: {\n type: \"string | readonly string[]\"\n }\n },\n nativeProp: \"value\",\n web: \"host\",\n native: \"polyfill\"\n }\n};\nvar ATTRIBUTE_NAMES = Object.keys(ATTRIBUTES);\nvar FRONTEND_PROPS = [\n \"style\"\n];\n//# sourceMappingURL=attributes.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,qBAAqB,CAAC;AAC1B,SAAS,oBAAoB;CAC3B,kBAAkB;CAClB,kBAAkB;CAClB,uBAAuB;CACvB,4BAA4B;CAC5B,sBAAsB;CACtB,wBAAwB;CACxB,0BAA0B;AAC5B,CAAC;AACD,OAAO,UAAU,aAAa,kBAAkB;AAChD,IAAI,aAAa,CACf,SACA,UACF;AACA,IAAI,SAAS,CACX,GACF;AACA,IAAI,QAAQ,CACV,KACF;AACA,IAAI,aAAa;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,uBAAuB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,mBAAmB;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,qBAAqB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,YAAY,SAAS,WAAW,MAAM,YAAY;CACpD,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN;EACA,KAAK;EACL,QAAQ,aAAa,aAAa;CACpC;AACF;AACA,IAAI,UAAU,SAAS,WAAW;CAChC,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;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L,QAAQ;CACV;AACF;AACA,IAAI,kBAAkB,OAAO,KAAK,UAAU;AAC5C,IAAI,iBAAiB,CACnB,OACF"}
|
|
@@ -31,7 +31,7 @@ var FORM_CONTROLS = [
|
|
|
31
31
|
"select",
|
|
32
32
|
"textarea"
|
|
33
33
|
];
|
|
34
|
-
var nativeHost = function(nativeProp) {
|
|
34
|
+
var nativeHost = function nativeHost2(nativeProp) {
|
|
35
35
|
return {
|
|
36
36
|
tags: "*",
|
|
37
37
|
payload: "unknown",
|
|
@@ -40,7 +40,7 @@ var nativeHost = function(nativeProp) {
|
|
|
40
40
|
native: "host"
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
var webOnly = function(note) {
|
|
43
|
+
var webOnly = function webOnly2(note) {
|
|
44
44
|
return {
|
|
45
45
|
tags: "*",
|
|
46
46
|
payload: "unknown",
|
|
@@ -31,7 +31,7 @@ var FORM_CONTROLS = [
|
|
|
31
31
|
"select",
|
|
32
32
|
"textarea"
|
|
33
33
|
];
|
|
34
|
-
var nativeHost = function(nativeProp) {
|
|
34
|
+
var nativeHost = function nativeHost2(nativeProp) {
|
|
35
35
|
return {
|
|
36
36
|
tags: "*",
|
|
37
37
|
payload: "unknown",
|
|
@@ -40,7 +40,7 @@ var nativeHost = function(nativeProp) {
|
|
|
40
40
|
native: "host"
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
var webOnly = function(note) {
|
|
43
|
+
var webOnly = function webOnly2(note) {
|
|
44
44
|
return {
|
|
45
45
|
tags: "*",
|
|
46
46
|
payload: "unknown",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.native.js","names":[],"sources":["cjs/tables/events.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar events_exports = {};\n__export(events_exports, {\n EVENTS: () => EVENTS,\n EVENT_NAMES: () => EVENT_NAMES\n});\nmodule.exports = __toCommonJS(events_exports);\nvar FORM_CONTROLS = [\n \"input\",\n \"select\",\n \"textarea\"\n];\nvar nativeHost = function(nativeProp) {\n return {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp,\n web: \"host\",\n native: \"host\"\n };\n};\nvar webOnly = function(note) {\n return {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note\n };\n};\nvar EVENTS = {\n // pointer and touch\n onPointerCancel: nativeHost(\"onPointerCancel\"),\n onPointerDown: nativeHost(\"onPointerDown\"),\n onPointerEnter: nativeHost(\"onPointerEnter\"),\n onPointerLeave: nativeHost(\"onPointerLeave\"),\n onPointerMove: nativeHost(\"onPointerMove\"),\n onPointerOut: nativeHost(\"onPointerOut\"),\n onPointerOver: nativeHost(\"onPointerOver\"),\n onPointerUp: nativeHost(\"onPointerUp\"),\n onGotPointerCapture: nativeHost(\"onGotPointerCapture\"),\n onLostPointerCapture: nativeHost(\"onLostPointerCapture\"),\n onTouchCancel: nativeHost(\"onTouchCancel\"),\n onTouchEnd: nativeHost(\"onTouchEnd\"),\n onTouchMove: nativeHost(\"onTouchMove\"),\n onTouchStart: nativeHost(\"onTouchStart\"),\n // press\n onClick: {\n tags: \"*\",\n payload: \"DOMClickEvent\",\n nativeProp: \"onPress\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native builds the click payload from the press event; preventDefault and stopPropagation are no-ops because there is nothing to cancel\"\n },\n onAuxClick: webOnly(\"native has no secondary pointer button\"),\n onContextMenu: webOnly(\"native has no context menu event; use a long press\"),\n // focus\n onBlur: {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: \"onBlur\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native focus events only fire on elements that can hold focus, which is text entry and pressable elements\"\n },\n onFocus: {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: \"onFocus\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native focus events only fire on elements that can hold focus, which is text entry and pressable elements\"\n },\n onFocusIn: webOnly(\"native has no bubbling focus event; use onFocus\"),\n onFocusOut: webOnly(\"native has no bubbling blur event; use onBlur\"),\n // keyboard\n onKeyDown: {\n tags: \"*\",\n payload: \"DOMKeyEvent\",\n nativeProp: \"onKeyPress\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native only reports key presses inside a text-entry control, and reports the submit key as Enter\"\n },\n onKeyUp: webOnly(\"react native reports key presses, not key releases\"),\n // clipboard\n onCopy: webOnly(\"native has no clipboard events\"),\n onCut: webOnly(\"native has no clipboard events\"),\n onPaste: webOnly(\"native has no clipboard events\"),\n // document and viewport\n onFullscreenChange: webOnly(\"fullscreen is a browser api\"),\n onFullscreenError: webOnly(\"fullscreen is a browser api\"),\n onScroll: nativeHost(\"onScroll\"),\n onWheel: webOnly(\"native has no wheel input\"),\n // React Native desktop carries the mouse subset that React Strict DOM forwards.\n onMouseDown: nativeHost(\"onMouseDown\"),\n onMouseEnter: nativeHost(\"onMouseEnter\"),\n onMouseLeave: nativeHost(\"onMouseLeave\"),\n onMouseMove: webOnly(\"use onPointerMove for cross-platform pointer input\"),\n onMouseOut: nativeHost(\"onMouseOut\"),\n onMouseOver: nativeHost(\"onMouseOver\"),\n onMouseUp: nativeHost(\"onMouseUp\"),\n // image\n onError: {\n tags: [\n \"img\"\n ],\n payload: \"DOMImageErrorEvent\",\n nativeProp: \"onError\",\n web: \"host\",\n native: \"polyfill\"\n },\n onLoad: {\n tags: [\n \"img\"\n ],\n payload: \"DOMImageLoadEvent\",\n nativeProp: \"onLoad\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native reports naturalWidth and naturalHeight from the decoded source\"\n },\n // form controls\n onChange: {\n tags: FORM_CONTROLS,\n payload: \"DOMChangeEvent\",\n nativeProp: \"onChange\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native fires on every keystroke like onInput, because there is no commit-on-blur change event\"\n },\n onInput: {\n tags: FORM_CONTROLS,\n payload: \"DOMInputEvent\",\n nativeProp: \"onChange\",\n web: \"host\",\n native: \"polyfill\"\n },\n onBeforeInput: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native text entry reports changes only after they are applied\"\n },\n onInvalid: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no form validation\"\n },\n onSelect: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"read the selection through the element ref instead\"\n }\n};\nvar EVENT_NAMES = Object.keys(EVENTS);\n//# sourceMappingURL=events.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,iBAAiB,CAAC;AACtB,SAAS,gBAAgB;CACvB,cAAc;CACd,mBAAmB;AACrB,CAAC;AACD,OAAO,UAAU,aAAa,cAAc;AAC5C,IAAI,gBAAgB;CAClB;CACA;CACA;AACF;AACA,IAAI,aAAa,SAAS,YAAY;
|
|
1
|
+
{"version":3,"file":"events.native.js","names":[],"sources":["cjs/tables/events.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar events_exports = {};\n__export(events_exports, {\n EVENTS: () => EVENTS,\n EVENT_NAMES: () => EVENT_NAMES\n});\nmodule.exports = __toCommonJS(events_exports);\nvar FORM_CONTROLS = [\n \"input\",\n \"select\",\n \"textarea\"\n];\nvar nativeHost = function nativeHost2(nativeProp) {\n return {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp,\n web: \"host\",\n native: \"host\"\n };\n};\nvar webOnly = function webOnly2(note) {\n return {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note\n };\n};\nvar EVENTS = {\n // pointer and touch\n onPointerCancel: nativeHost(\"onPointerCancel\"),\n onPointerDown: nativeHost(\"onPointerDown\"),\n onPointerEnter: nativeHost(\"onPointerEnter\"),\n onPointerLeave: nativeHost(\"onPointerLeave\"),\n onPointerMove: nativeHost(\"onPointerMove\"),\n onPointerOut: nativeHost(\"onPointerOut\"),\n onPointerOver: nativeHost(\"onPointerOver\"),\n onPointerUp: nativeHost(\"onPointerUp\"),\n onGotPointerCapture: nativeHost(\"onGotPointerCapture\"),\n onLostPointerCapture: nativeHost(\"onLostPointerCapture\"),\n onTouchCancel: nativeHost(\"onTouchCancel\"),\n onTouchEnd: nativeHost(\"onTouchEnd\"),\n onTouchMove: nativeHost(\"onTouchMove\"),\n onTouchStart: nativeHost(\"onTouchStart\"),\n // press\n onClick: {\n tags: \"*\",\n payload: \"DOMClickEvent\",\n nativeProp: \"onPress\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native builds the click payload from the press event; preventDefault and stopPropagation are no-ops because there is nothing to cancel\"\n },\n onAuxClick: webOnly(\"native has no secondary pointer button\"),\n onContextMenu: webOnly(\"native has no context menu event; use a long press\"),\n // focus\n onBlur: {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: \"onBlur\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native focus events only fire on elements that can hold focus, which is text entry and pressable elements\"\n },\n onFocus: {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: \"onFocus\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native focus events only fire on elements that can hold focus, which is text entry and pressable elements\"\n },\n onFocusIn: webOnly(\"native has no bubbling focus event; use onFocus\"),\n onFocusOut: webOnly(\"native has no bubbling blur event; use onBlur\"),\n // keyboard\n onKeyDown: {\n tags: \"*\",\n payload: \"DOMKeyEvent\",\n nativeProp: \"onKeyPress\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native only reports key presses inside a text-entry control, and reports the submit key as Enter\"\n },\n onKeyUp: webOnly(\"react native reports key presses, not key releases\"),\n // clipboard\n onCopy: webOnly(\"native has no clipboard events\"),\n onCut: webOnly(\"native has no clipboard events\"),\n onPaste: webOnly(\"native has no clipboard events\"),\n // document and viewport\n onFullscreenChange: webOnly(\"fullscreen is a browser api\"),\n onFullscreenError: webOnly(\"fullscreen is a browser api\"),\n onScroll: nativeHost(\"onScroll\"),\n onWheel: webOnly(\"native has no wheel input\"),\n // React Native desktop carries the mouse subset that React Strict DOM forwards.\n onMouseDown: nativeHost(\"onMouseDown\"),\n onMouseEnter: nativeHost(\"onMouseEnter\"),\n onMouseLeave: nativeHost(\"onMouseLeave\"),\n onMouseMove: webOnly(\"use onPointerMove for cross-platform pointer input\"),\n onMouseOut: nativeHost(\"onMouseOut\"),\n onMouseOver: nativeHost(\"onMouseOver\"),\n onMouseUp: nativeHost(\"onMouseUp\"),\n // image\n onError: {\n tags: [\n \"img\"\n ],\n payload: \"DOMImageErrorEvent\",\n nativeProp: \"onError\",\n web: \"host\",\n native: \"polyfill\"\n },\n onLoad: {\n tags: [\n \"img\"\n ],\n payload: \"DOMImageLoadEvent\",\n nativeProp: \"onLoad\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native reports naturalWidth and naturalHeight from the decoded source\"\n },\n // form controls\n onChange: {\n tags: FORM_CONTROLS,\n payload: \"DOMChangeEvent\",\n nativeProp: \"onChange\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native fires on every keystroke like onInput, because there is no commit-on-blur change event\"\n },\n onInput: {\n tags: FORM_CONTROLS,\n payload: \"DOMInputEvent\",\n nativeProp: \"onChange\",\n web: \"host\",\n native: \"polyfill\"\n },\n onBeforeInput: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native text entry reports changes only after they are applied\"\n },\n onInvalid: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no form validation\"\n },\n onSelect: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"read the selection through the element ref instead\"\n }\n};\nvar EVENT_NAMES = Object.keys(EVENTS);\n//# sourceMappingURL=events.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,iBAAiB,CAAC;AACtB,SAAS,gBAAgB;CACvB,cAAc;CACd,mBAAmB;AACrB,CAAC;AACD,OAAO,UAAU,aAAa,cAAc;AAC5C,IAAI,gBAAgB;CAClB;CACA;CACA;AACF;AACA,IAAI,aAAa,SAAS,YAAY,YAAY;CAChD,OAAO;EACL,MAAM;EACN,SAAS;EACT;EACA,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,UAAU,SAAS,SAAS,MAAM;CACpC,OAAO;EACL,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR;CACF;AACF;AACA,IAAI,SAAS;CAEX,iBAAiB,WAAW,i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SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,QAAQ;EACN,MAAM,CACJ,KACF;EACA,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CAEA,UAAU;EACR,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,SAAS;EACP,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,eAAe;EACb,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,WAAW;EACT,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,UAAU;EACR,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;AACF;AACA,IAAI,cAAc,OAAO,KAAK,MAAM"}
|
|
@@ -173,7 +173,7 @@ var NATIVE_INPUT_TYPES = [
|
|
|
173
173
|
"text",
|
|
174
174
|
"url"
|
|
175
175
|
];
|
|
176
|
-
var ariaState = function(name, nativeProp) {
|
|
176
|
+
var ariaState = function ariaState2(name, nativeProp) {
|
|
177
177
|
return {
|
|
178
178
|
group: "aria",
|
|
179
179
|
tags: "*",
|
|
@@ -183,7 +183,7 @@ var ariaState = function(name, nativeProp) {
|
|
|
183
183
|
native: nativeProp ? "polyfill" : "none"
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
var ariaRef = function() {
|
|
186
|
+
var ariaRef = function ariaRef2() {
|
|
187
187
|
return {
|
|
188
188
|
group: "aria",
|
|
189
189
|
tags: "*",
|
|
@@ -193,7 +193,7 @@ var ariaRef = function() {
|
|
|
193
193
|
native: "none"
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
|
-
var ariaNumber = function() {
|
|
196
|
+
var ariaNumber = function ariaNumber2() {
|
|
197
197
|
var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
|
|
198
198
|
return {
|
|
199
199
|
group: "aria",
|
|
@@ -204,7 +204,7 @@ var ariaNumber = function() {
|
|
|
204
204
|
native: nativeProp ? "polyfill" : "none"
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
|
-
var ariaText = function() {
|
|
207
|
+
var ariaText = function ariaText2() {
|
|
208
208
|
var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
|
|
209
209
|
return {
|
|
210
210
|
group: "aria",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributes.native.js","names":[],"sources":["esm/tables/attributes.native.js"],"sourcesContent":["var TEXT_ENTRY = [\n \"input\",\n \"textarea\"\n];\nvar ANCHOR = [\n \"a\"\n];\nvar IMAGE = [\n \"img\"\n];\nvar ARIA_ROLES = [\n \"alert\",\n \"alertdialog\",\n \"application\",\n \"article\",\n \"banner\",\n \"blockquote\",\n \"button\",\n \"caption\",\n \"cell\",\n \"checkbox\",\n \"code\",\n \"columnheader\",\n \"combobox\",\n \"complementary\",\n \"contentinfo\",\n \"definition\",\n \"deletion\",\n \"dialog\",\n \"document\",\n \"emphasis\",\n \"feed\",\n \"figure\",\n \"form\",\n \"grid\",\n \"gridcell\",\n \"group\",\n \"heading\",\n \"img\",\n \"input\",\n \"insertion\",\n \"link\",\n \"list\",\n \"listbox\",\n \"listitem\",\n \"log\",\n \"main\",\n \"marquee\",\n \"math\",\n \"menu\",\n \"menubar\",\n \"menuitem\",\n \"menuitemcheckbox\",\n \"menuitemradio\",\n \"meter\",\n \"navigation\",\n \"none\",\n \"note\",\n \"option\",\n \"paragraph\",\n \"progressbar\",\n \"radio\",\n \"radiogroup\",\n \"region\",\n \"row\",\n \"rowgroup\",\n \"rowheader\",\n \"scrollbar\",\n \"search\",\n \"searchbox\",\n \"separator\",\n \"slider\",\n \"spinbutton\",\n \"status\",\n \"strong\",\n \"subscript\",\n \"superscript\",\n \"switch\",\n \"tab\",\n \"table\",\n \"tablist\",\n \"tabpanel\",\n \"term\",\n \"textbox\",\n \"time\",\n \"timer\",\n \"toolbar\",\n \"tooltip\",\n \"tree\",\n \"treegrid\",\n \"treeitem\"\n];\nvar AUTO_COMPLETE_VALUES = [\n \"additional-name\",\n \"address-line1\",\n \"address-line2\",\n \"birthdate-day\",\n \"birthdate-full\",\n \"birthdate-month\",\n \"birthdate-year\",\n \"cc-csc\",\n \"cc-exp\",\n \"cc-exp-day\",\n \"cc-exp-month\",\n \"cc-exp-year\",\n \"cc-number\",\n \"cc-name\",\n \"cc-given-name\",\n \"cc-middle-name\",\n \"cc-family-name\",\n \"cc-type\",\n \"country\",\n \"current-password\",\n \"email\",\n \"family-name\",\n \"gender\",\n \"given-name\",\n \"honorific-prefix\",\n \"honorific-suffix\",\n \"name\",\n \"name-family\",\n \"name-given\",\n \"name-middle\",\n \"name-middle-initial\",\n \"name-prefix\",\n \"name-suffix\",\n \"new-password\",\n \"nickname\",\n \"on\",\n \"one-time-code\",\n \"organization\",\n \"organization-title\",\n \"password\",\n \"password-new\",\n \"postal-address\",\n \"postal-address-country\",\n \"postal-address-extended\",\n \"postal-address-extended-postal-code\",\n \"postal-address-locality\",\n \"postal-address-region\",\n \"postal-code\",\n \"street-address\",\n \"sms-otp\",\n \"tel\",\n \"tel-country-code\",\n \"tel-national\",\n \"tel-device\",\n \"url\",\n \"username\",\n \"username-new\",\n \"off\"\n];\nvar HTML_INPUT_TYPES = [\n \"checkbox\",\n \"color\",\n \"date\",\n \"datetime-local\",\n \"email\",\n \"file\",\n \"hidden\",\n \"month\",\n \"number\",\n \"password\",\n \"radio\",\n \"range\",\n \"search\",\n \"submit\",\n \"tel\",\n \"text\",\n \"time\",\n \"url\",\n \"week\"\n];\nvar NATIVE_INPUT_TYPES = [\n \"email\",\n \"number\",\n \"password\",\n \"search\",\n \"tel\",\n \"text\",\n \"url\"\n];\nvar ariaState = function(name, nativeProp) {\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ariaRef = function() {\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n };\n};\nvar ariaNumber = function() {\n var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"number\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ariaText = function() {\n var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ATTRIBUTES = {\n // accessibility\n \"aria-activedescendant\": ariaRef(),\n \"aria-atomic\": ariaState(\"aria-atomic\", null),\n \"aria-autocomplete\": {\n group: \"aria\",\n tags: \"*\",\n type: `'none' | 'inline' | 'list' | 'both'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-busy\": ariaState(\"aria-busy\", \"accessibilityState.busy\"),\n \"aria-checked\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'mixed'`,\n nativeProp: \"accessibilityState.checked\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-colcount\": ariaNumber(),\n \"aria-colindex\": ariaNumber(),\n \"aria-colindextext\": ariaText(),\n \"aria-colspan\": ariaNumber(),\n \"aria-controls\": ariaRef(),\n \"aria-current\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'page' | 'step' | 'location' | 'date' | 'time'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-describedby\": {\n ...ariaRef(),\n note: \"react native has no described-by relationship; put the description in aria-label instead\"\n },\n \"aria-details\": ariaRef(),\n \"aria-disabled\": ariaState(\"aria-disabled\", \"accessibilityState.disabled\"),\n \"aria-errormessage\": ariaRef(),\n \"aria-expanded\": ariaState(\"aria-expanded\", \"accessibilityState.expanded\"),\n \"aria-flowto\": ariaRef(),\n \"aria-haspopup\": {\n group: \"aria\",\n tags: \"*\",\n type: `'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-hidden\": {\n group: \"aria\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: \"accessibilityElementsHidden\",\n web: \"host\",\n native: \"polyfill\",\n note: \"also sets importantForAccessibility on android so descendants are hidden\"\n },\n \"aria-invalid\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'grammar' | 'spelling'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-keyshortcuts\": ariaText(),\n \"aria-label\": ariaText(\"accessibilityLabel\"),\n \"aria-labelledby\": {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp: \"accessibilityLabelledBy\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-level\": ariaNumber(),\n \"aria-live\": {\n group: \"aria\",\n tags: \"*\",\n type: `'off' | 'assertive' | 'polite'`,\n nativeProp: \"accessibilityLiveRegion\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-modal\": ariaState(\"aria-modal\", \"accessibilityViewIsModal\"),\n \"aria-multiline\": ariaState(\"aria-multiline\", null),\n \"aria-multiselectable\": ariaState(\"aria-multiselectable\", null),\n \"aria-orientation\": {\n group: \"aria\",\n tags: \"*\",\n type: `'horizontal' | 'vertical'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-owns\": ariaRef(),\n \"aria-placeholder\": ariaText(),\n // react-native 0.86.2 has no accessibilityPosInSet — checked View.js and\n // ViewAccessibility.d.ts, it exists in neither. Mapping to it would have the\n // prop silently dropped at the host, which is worse than declaring it web-only\n \"aria-posinset\": ariaNumber(),\n \"aria-pressed\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'mixed'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-readonly\": ariaState(\"aria-readonly\", null),\n \"aria-required\": ariaState(\"aria-required\", null),\n \"aria-roledescription\": ariaText(),\n \"aria-rowcount\": ariaNumber(),\n \"aria-rowindex\": ariaNumber(),\n \"aria-rowindextext\": ariaText(),\n \"aria-rowspan\": ariaNumber(),\n \"aria-selected\": ariaState(\"aria-selected\", \"accessibilityState.selected\"),\n // same: no accessibilitySetSize anywhere in react-native 0.86.2\n \"aria-setsize\": ariaNumber(),\n \"aria-sort\": {\n group: \"aria\",\n tags: \"*\",\n type: `'none' | 'ascending' | 'descending' | 'other'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-valuemax\": ariaNumber(\"accessibilityValue.max\"),\n \"aria-valuemin\": ariaNumber(\"accessibilityValue.min\"),\n \"aria-valuenow\": ariaNumber(\"accessibilityValue.now\"),\n \"aria-valuetext\": ariaText(\"accessibilityValue.text\"),\n // global\n autoFocus: {\n group: \"global\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"focus a native element through a ref in an effect instead\"\n },\n dir: {\n group: \"global\",\n tags: \"*\",\n type: `'auto' | 'ltr' | 'rtl'`,\n nativeProp: \"writingDirection\",\n web: \"host\",\n native: \"polyfill\"\n },\n elementTiming: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"element timing is a browser performance api\"\n },\n hidden: {\n group: \"global\",\n tags: \"*\",\n type: `true | 'hidden' | 'until-found'`,\n nativeProp: \"style.display\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native applies display none and has no until-found reveal\"\n },\n id: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n // react native takes `id` itself on View, Text and TextInput and assigns it\n // to nativeID, so there is nothing to rename\n nativeProp: \"id\",\n web: \"host\",\n native: \"polyfill\"\n },\n inert: {\n group: \"global\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n lang: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n role: {\n group: \"global\",\n tags: \"*\",\n type: \"AriaRole\",\n nativeProp: \"role\",\n web: \"host\",\n native: \"polyfill\"\n },\n tabIndex: {\n group: \"global\",\n tags: \"*\",\n type: \"0 | -1\",\n nativeProp: \"focusable\",\n web: \"host\",\n native: \"polyfill\"\n },\n // react\n suppressHydrationWarning: {\n group: \"react\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n children: {\n group: \"react\",\n tags: \"*\",\n nativeProp: \"children\",\n web: \"host\",\n native: \"host\",\n note: \"the content model in the tag table decides the type: no children on a void tag, text only inside an option\"\n },\n // supplied by the styling frontend, never generated as a prop here\n style: {\n group: \"frontend\",\n tags: \"*\",\n nativeProp: \"style\",\n web: \"host\",\n native: \"host\",\n note: \"each frontend supplies its own style contract: tamagui style props, className, or style() handles\"\n },\n \"data-*\": {\n group: \"data\",\n tags: \"*\",\n type: \"string | number | boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"data-testid is the one exception and reaches testID on native\"\n },\n \"data-testid\": {\n group: \"data\",\n tags: \"*\",\n type: \"string\",\n nativeProp: \"testID\",\n web: \"host\",\n native: \"polyfill\"\n },\n // text entry\n autoCapitalize: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'none' | 'sentences' | 'words' | 'characters'`,\n nativeProp: \"autoCapitalize\",\n web: \"host\",\n native: \"host\"\n },\n autoComplete: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"AutoComplete\",\n nativeProp: \"autoComplete\",\n web: \"host\",\n native: \"host\"\n },\n enterKeyHint: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'`,\n nativeProp: \"enterKeyHint\",\n web: \"host\",\n native: \"host\"\n },\n inputMode: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'`,\n nativeProp: \"inputMode\",\n web: \"host\",\n native: \"host\"\n },\n spellCheck: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"boolean\",\n nativeProp: \"spellCheck\",\n web: \"host\",\n native: \"host\",\n note: \"ios only on native\"\n },\n // anchor\n download: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n href: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no navigation; handle onClick and call your router or Linking\"\n },\n referrerPolicy: {\n group: \"element\",\n tags: [\n \"a\",\n \"img\"\n ],\n type: `'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'`,\n nativeProp: \"referrerPolicy\",\n web: \"host\",\n native: \"host\",\n note: \"native honours it for image requests only\"\n },\n rel: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n target: {\n group: \"element\",\n tags: ANCHOR,\n type: `'_self' | '_blank' | '_parent' | '_top'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n // button, input, option, optgroup, textarea\n disabled: {\n group: \"element\",\n tags: [\n \"button\",\n \"input\",\n \"optgroup\",\n \"option\",\n \"textarea\"\n ],\n type: \"boolean\",\n nativeProp: \"disabled\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native also clears focusable, and editable on a text-entry control\"\n },\n type: {\n group: \"element\",\n tags: [\n \"button\",\n \"input\"\n ],\n perTag: {\n button: {\n type: `'button' | 'submit'`\n },\n input: {\n type: \"InputType\",\n 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\"\n }\n },\n nativeProp: null,\n web: \"host\",\n native: \"polyfill\"\n },\n // image\n alt: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"alt\",\n web: \"host\",\n native: \"host\"\n },\n crossOrigin: {\n group: \"element\",\n tags: IMAGE,\n type: `'anonymous' | 'use-credentials'`,\n nativeProp: \"crossOrigin\",\n web: \"host\",\n native: \"host\"\n },\n decoding: {\n group: \"element\",\n tags: IMAGE,\n type: `'async' | 'auto' | 'sync'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n draggable: {\n group: \"element\",\n tags: IMAGE,\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n fetchPriority: {\n group: \"element\",\n tags: IMAGE,\n type: `'high' | 'low' | 'auto'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n height: {\n group: \"element\",\n tags: IMAGE,\n type: \"number\",\n nativeProp: \"height\",\n web: \"host\",\n native: \"host\"\n },\n loading: {\n group: \"element\",\n tags: IMAGE,\n type: `'eager' | 'lazy'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n src: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"src\",\n web: \"host\",\n native: \"host\"\n },\n srcSet: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"srcSet\",\n web: \"host\",\n native: \"host\"\n },\n width: {\n group: \"element\",\n tags: IMAGE,\n type: \"number\",\n nativeProp: \"width\",\n web: \"host\",\n native: \"host\"\n },\n // form controls\n checked: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: `boolean | 'mixed'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"checkbox and radio inputs have no native rendering\"\n },\n defaultChecked: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"checkbox and radio inputs have no native rendering\"\n },\n defaultValue: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n perTag: {\n select: {\n type: \"string | readonly string[]\"\n }\n },\n nativeProp: \"defaultValue\",\n web: \"host\",\n native: \"host\"\n },\n for: {\n group: \"element\",\n tags: [\n \"label\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no label association; wrap the control or drive it from your own state\"\n },\n label: {\n group: \"element\",\n tags: [\n \"optgroup\",\n \"option\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n max: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"string | number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n maxLength: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"number\",\n nativeProp: \"maxLength\",\n web: \"host\",\n native: \"host\"\n },\n min: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"string | number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n minLength: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n multiple: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n name: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"form field names only matter to a form submission, which native does not have\"\n },\n placeholder: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"string\",\n nativeProp: \"placeholder\",\n web: \"host\",\n native: \"host\"\n },\n readOnly: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"boolean\",\n nativeProp: \"editable\",\n web: \"host\",\n native: \"polyfill\"\n },\n required: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no form validation\"\n },\n rows: {\n group: \"element\",\n tags: [\n \"textarea\"\n ],\n type: \"number\",\n nativeProp: \"numberOfLines\",\n web: \"host\",\n native: \"polyfill\"\n },\n step: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: `number | 'any'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n value: {\n group: \"element\",\n tags: [\n \"input\",\n \"li\",\n \"option\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n perTag: {\n li: {\n type: \"number\",\n note: \"the list counter is not rendered on either platform, matching the list-style reset\"\n },\n select: {\n type: \"string | readonly string[]\"\n }\n },\n nativeProp: \"value\",\n web: \"host\",\n native: \"polyfill\"\n }\n};\nvar ATTRIBUTE_NAMES = Object.keys(ATTRIBUTES);\nvar FRONTEND_PROPS = [\n \"style\"\n];\nexport {\n ARIA_ROLES,\n ATTRIBUTES,\n ATTRIBUTE_NAMES,\n AUTO_COMPLETE_VALUES,\n FRONTEND_PROPS,\n HTML_INPUT_TYPES,\n NATIVE_INPUT_TYPES\n};\n//# sourceMappingURL=attributes.js.map\n"],"mappings":";AAAA,IAAI,aAAa,CACf,SACA,UACF;AACA,IAAI,SAAS,CACX,GACF;AACA,IAAI,QAAQ,CACV,KACF;AACA,IAAI,aAAa;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,uBAAuB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,mBAAmB;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,qBAAqB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,YAAY,SAAS,MAAM,YAAY;CACzC,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN;EACA,KAAK;EACL,QAAQ,aAAa,aAAa;CACpC;AACF;AACA,IAAI,UAAU,WAAW;CACvB,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,aAAa,WAAW;CAC1B,IAAI,aAAa,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CAClF,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN;EACA,KAAK;EACL,QAAQ,aAAa,aAAa;CACpC;AACF;AACA,IAAI,WAAW,WAAW;CACxB,IAAI,aAAa,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CAClF,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN;EACA,KAAK;EACL,QAAQ,aAAa,aAAa;CACpC;AACF;AACA,IAAI,aAAa;CAEf,yBAAyB,QAAQ;CACjC,eAAe,UAAU,eAAe,IAAI;CAC5C,qBAAqB;EACnB,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ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ACR,MAAM;CACR;CACA,aAAa;EACX,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,UAAU;EACR,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,UAAU;EACR,OAAO;EACP,MAAM;GACJ;GACA;GACA;EACF;EACA,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,MAAM;EACJ,OAAO;EACP,MAAM,CACJ,UACF;EACA,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,MAAM;EACJ,OAAO;EACP,MAAM,CACJ,OACF;EACA,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,OAAO;EACL,OAAO;EACP,MAAM;GACJ;GACA;GACA;GACA;GACA;EACF;EACA,MAAM;EACN,QAAQ;GACN,IAAI;IACF,MAAM;IACN,MAAM;GACR;GACA,QAAQ,EACN,MAAM,6BACR;EACF;EACA,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,kBAAkB,OAAO,KAAK,UAAU;AAC5C,IAAI,iBAAiB,CACnB,OACF"}
|
|
1
|
+
{"version":3,"file":"attributes.native.js","names":[],"sources":["esm/tables/attributes.native.js"],"sourcesContent":["var TEXT_ENTRY = [\n \"input\",\n \"textarea\"\n];\nvar ANCHOR = [\n \"a\"\n];\nvar IMAGE = [\n \"img\"\n];\nvar ARIA_ROLES = [\n \"alert\",\n \"alertdialog\",\n \"application\",\n \"article\",\n \"banner\",\n \"blockquote\",\n \"button\",\n \"caption\",\n \"cell\",\n \"checkbox\",\n \"code\",\n \"columnheader\",\n \"combobox\",\n \"complementary\",\n \"contentinfo\",\n \"definition\",\n \"deletion\",\n \"dialog\",\n \"document\",\n \"emphasis\",\n \"feed\",\n \"figure\",\n \"form\",\n \"grid\",\n \"gridcell\",\n \"group\",\n \"heading\",\n \"img\",\n \"input\",\n \"insertion\",\n \"link\",\n \"list\",\n \"listbox\",\n \"listitem\",\n \"log\",\n \"main\",\n \"marquee\",\n \"math\",\n \"menu\",\n \"menubar\",\n \"menuitem\",\n \"menuitemcheckbox\",\n \"menuitemradio\",\n \"meter\",\n \"navigation\",\n \"none\",\n \"note\",\n \"option\",\n \"paragraph\",\n \"progressbar\",\n \"radio\",\n \"radiogroup\",\n \"region\",\n \"row\",\n \"rowgroup\",\n \"rowheader\",\n \"scrollbar\",\n \"search\",\n \"searchbox\",\n \"separator\",\n \"slider\",\n \"spinbutton\",\n \"status\",\n \"strong\",\n \"subscript\",\n \"superscript\",\n \"switch\",\n \"tab\",\n \"table\",\n \"tablist\",\n \"tabpanel\",\n \"term\",\n \"textbox\",\n \"time\",\n \"timer\",\n \"toolbar\",\n \"tooltip\",\n \"tree\",\n \"treegrid\",\n \"treeitem\"\n];\nvar AUTO_COMPLETE_VALUES = [\n \"additional-name\",\n \"address-line1\",\n \"address-line2\",\n \"birthdate-day\",\n \"birthdate-full\",\n \"birthdate-month\",\n \"birthdate-year\",\n \"cc-csc\",\n \"cc-exp\",\n \"cc-exp-day\",\n \"cc-exp-month\",\n \"cc-exp-year\",\n \"cc-number\",\n \"cc-name\",\n \"cc-given-name\",\n \"cc-middle-name\",\n \"cc-family-name\",\n \"cc-type\",\n \"country\",\n \"current-password\",\n \"email\",\n \"family-name\",\n \"gender\",\n \"given-name\",\n \"honorific-prefix\",\n \"honorific-suffix\",\n \"name\",\n \"name-family\",\n \"name-given\",\n \"name-middle\",\n \"name-middle-initial\",\n \"name-prefix\",\n \"name-suffix\",\n \"new-password\",\n \"nickname\",\n \"on\",\n \"one-time-code\",\n \"organization\",\n \"organization-title\",\n \"password\",\n \"password-new\",\n \"postal-address\",\n \"postal-address-country\",\n \"postal-address-extended\",\n \"postal-address-extended-postal-code\",\n \"postal-address-locality\",\n \"postal-address-region\",\n \"postal-code\",\n \"street-address\",\n \"sms-otp\",\n \"tel\",\n \"tel-country-code\",\n \"tel-national\",\n \"tel-device\",\n \"url\",\n \"username\",\n \"username-new\",\n \"off\"\n];\nvar HTML_INPUT_TYPES = [\n \"checkbox\",\n \"color\",\n \"date\",\n \"datetime-local\",\n \"email\",\n \"file\",\n \"hidden\",\n \"month\",\n \"number\",\n \"password\",\n \"radio\",\n \"range\",\n \"search\",\n \"submit\",\n \"tel\",\n \"text\",\n \"time\",\n \"url\",\n \"week\"\n];\nvar NATIVE_INPUT_TYPES = [\n \"email\",\n \"number\",\n \"password\",\n \"search\",\n \"tel\",\n \"text\",\n \"url\"\n];\nvar ariaState = function ariaState2(name, nativeProp) {\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ariaRef = function ariaRef2() {\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n };\n};\nvar ariaNumber = function ariaNumber2() {\n var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"number\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ariaText = function ariaText2() {\n var nativeProp = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;\n return {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp,\n web: \"host\",\n native: nativeProp ? \"polyfill\" : \"none\"\n };\n};\nvar ATTRIBUTES = {\n // accessibility\n \"aria-activedescendant\": ariaRef(),\n \"aria-atomic\": ariaState(\"aria-atomic\", null),\n \"aria-autocomplete\": {\n group: \"aria\",\n tags: \"*\",\n type: `'none' | 'inline' | 'list' | 'both'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-busy\": ariaState(\"aria-busy\", \"accessibilityState.busy\"),\n \"aria-checked\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'mixed'`,\n nativeProp: \"accessibilityState.checked\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-colcount\": ariaNumber(),\n \"aria-colindex\": ariaNumber(),\n \"aria-colindextext\": ariaText(),\n \"aria-colspan\": ariaNumber(),\n \"aria-controls\": ariaRef(),\n \"aria-current\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'page' | 'step' | 'location' | 'date' | 'time'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-describedby\": {\n ...ariaRef(),\n note: \"react native has no described-by relationship; put the description in aria-label instead\"\n },\n \"aria-details\": ariaRef(),\n \"aria-disabled\": ariaState(\"aria-disabled\", \"accessibilityState.disabled\"),\n \"aria-errormessage\": ariaRef(),\n \"aria-expanded\": ariaState(\"aria-expanded\", \"accessibilityState.expanded\"),\n \"aria-flowto\": ariaRef(),\n \"aria-haspopup\": {\n group: \"aria\",\n tags: \"*\",\n type: `'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-hidden\": {\n group: \"aria\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: \"accessibilityElementsHidden\",\n web: \"host\",\n native: \"polyfill\",\n note: \"also sets importantForAccessibility on android so descendants are hidden\"\n },\n \"aria-invalid\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'grammar' | 'spelling'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-keyshortcuts\": ariaText(),\n \"aria-label\": ariaText(\"accessibilityLabel\"),\n \"aria-labelledby\": {\n group: \"aria\",\n tags: \"*\",\n type: \"string\",\n nativeProp: \"accessibilityLabelledBy\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-level\": ariaNumber(),\n \"aria-live\": {\n group: \"aria\",\n tags: \"*\",\n type: `'off' | 'assertive' | 'polite'`,\n nativeProp: \"accessibilityLiveRegion\",\n web: \"host\",\n native: \"polyfill\"\n },\n \"aria-modal\": ariaState(\"aria-modal\", \"accessibilityViewIsModal\"),\n \"aria-multiline\": ariaState(\"aria-multiline\", null),\n \"aria-multiselectable\": ariaState(\"aria-multiselectable\", null),\n \"aria-orientation\": {\n group: \"aria\",\n tags: \"*\",\n type: `'horizontal' | 'vertical'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-owns\": ariaRef(),\n \"aria-placeholder\": ariaText(),\n // react-native 0.86.2 has no accessibilityPosInSet — checked View.js and\n // ViewAccessibility.d.ts, it exists in neither. Mapping to it would have the\n // prop silently dropped at the host, which is worse than declaring it web-only\n \"aria-posinset\": ariaNumber(),\n \"aria-pressed\": {\n group: \"aria\",\n tags: \"*\",\n type: `boolean | 'mixed'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-readonly\": ariaState(\"aria-readonly\", null),\n \"aria-required\": ariaState(\"aria-required\", null),\n \"aria-roledescription\": ariaText(),\n \"aria-rowcount\": ariaNumber(),\n \"aria-rowindex\": ariaNumber(),\n \"aria-rowindextext\": ariaText(),\n \"aria-rowspan\": ariaNumber(),\n \"aria-selected\": ariaState(\"aria-selected\", \"accessibilityState.selected\"),\n // same: no accessibilitySetSize anywhere in react-native 0.86.2\n \"aria-setsize\": ariaNumber(),\n \"aria-sort\": {\n group: \"aria\",\n tags: \"*\",\n type: `'none' | 'ascending' | 'descending' | 'other'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n \"aria-valuemax\": ariaNumber(\"accessibilityValue.max\"),\n \"aria-valuemin\": ariaNumber(\"accessibilityValue.min\"),\n \"aria-valuenow\": ariaNumber(\"accessibilityValue.now\"),\n \"aria-valuetext\": ariaText(\"accessibilityValue.text\"),\n // global\n autoFocus: {\n group: \"global\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"focus a native element through a ref in an effect instead\"\n },\n dir: {\n group: \"global\",\n tags: \"*\",\n type: `'auto' | 'ltr' | 'rtl'`,\n nativeProp: \"writingDirection\",\n web: \"host\",\n native: \"polyfill\"\n },\n elementTiming: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"element timing is a browser performance api\"\n },\n hidden: {\n group: \"global\",\n tags: \"*\",\n type: `true | 'hidden' | 'until-found'`,\n nativeProp: \"style.display\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native applies display none and has no until-found reveal\"\n },\n id: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n // react native takes `id` itself on View, Text and TextInput and assigns it\n // to nativeID, so there is nothing to rename\n nativeProp: \"id\",\n web: \"host\",\n native: \"polyfill\"\n },\n inert: {\n group: \"global\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n lang: {\n group: \"global\",\n tags: \"*\",\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n role: {\n group: \"global\",\n tags: \"*\",\n type: \"AriaRole\",\n nativeProp: \"role\",\n web: \"host\",\n native: \"polyfill\"\n },\n tabIndex: {\n group: \"global\",\n tags: \"*\",\n type: \"0 | -1\",\n nativeProp: \"focusable\",\n web: \"host\",\n native: \"polyfill\"\n },\n // react\n suppressHydrationWarning: {\n group: \"react\",\n tags: \"*\",\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n children: {\n group: \"react\",\n tags: \"*\",\n nativeProp: \"children\",\n web: \"host\",\n native: \"host\",\n note: \"the content model in the tag table decides the type: no children on a void tag, text only inside an option\"\n },\n // supplied by the styling frontend, never generated as a prop here\n style: {\n group: \"frontend\",\n tags: \"*\",\n nativeProp: \"style\",\n web: \"host\",\n native: \"host\",\n note: \"each frontend supplies its own style contract: tamagui style props, className, or style() handles\"\n },\n \"data-*\": {\n group: \"data\",\n tags: \"*\",\n type: \"string | number | boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"data-testid is the one exception and reaches testID on native\"\n },\n \"data-testid\": {\n group: \"data\",\n tags: \"*\",\n type: \"string\",\n nativeProp: \"testID\",\n web: \"host\",\n native: \"polyfill\"\n },\n // text entry\n autoCapitalize: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'none' | 'sentences' | 'words' | 'characters'`,\n nativeProp: \"autoCapitalize\",\n web: \"host\",\n native: \"host\"\n },\n autoComplete: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"AutoComplete\",\n nativeProp: \"autoComplete\",\n web: \"host\",\n native: \"host\"\n },\n enterKeyHint: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'`,\n nativeProp: \"enterKeyHint\",\n web: \"host\",\n native: \"host\"\n },\n inputMode: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: `'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'`,\n nativeProp: \"inputMode\",\n web: \"host\",\n native: \"host\"\n },\n spellCheck: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"boolean\",\n nativeProp: \"spellCheck\",\n web: \"host\",\n native: \"host\",\n note: \"ios only on native\"\n },\n // anchor\n download: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n href: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no navigation; handle onClick and call your router or Linking\"\n },\n referrerPolicy: {\n group: \"element\",\n tags: [\n \"a\",\n \"img\"\n ],\n type: `'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'`,\n nativeProp: \"referrerPolicy\",\n web: \"host\",\n native: \"host\",\n note: \"native honours it for image requests only\"\n },\n rel: {\n group: \"element\",\n tags: ANCHOR,\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n target: {\n group: \"element\",\n tags: ANCHOR,\n type: `'_self' | '_blank' | '_parent' | '_top'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n // button, input, option, optgroup, textarea\n disabled: {\n group: \"element\",\n tags: [\n \"button\",\n \"input\",\n \"optgroup\",\n \"option\",\n \"textarea\"\n ],\n type: \"boolean\",\n nativeProp: \"disabled\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native also clears focusable, and editable on a text-entry control\"\n },\n type: {\n group: \"element\",\n tags: [\n \"button\",\n \"input\"\n ],\n perTag: {\n button: {\n type: `'button' | 'submit'`\n },\n input: {\n type: \"InputType\",\n 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\"\n }\n },\n nativeProp: null,\n web: \"host\",\n native: \"polyfill\"\n },\n // image\n alt: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"alt\",\n web: \"host\",\n native: \"host\"\n },\n crossOrigin: {\n group: \"element\",\n tags: IMAGE,\n type: `'anonymous' | 'use-credentials'`,\n nativeProp: \"crossOrigin\",\n web: \"host\",\n native: \"host\"\n },\n decoding: {\n group: \"element\",\n tags: IMAGE,\n type: `'async' | 'auto' | 'sync'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n draggable: {\n group: \"element\",\n tags: IMAGE,\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n fetchPriority: {\n group: \"element\",\n tags: IMAGE,\n type: `'high' | 'low' | 'auto'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n height: {\n group: \"element\",\n tags: IMAGE,\n type: \"number\",\n nativeProp: \"height\",\n web: \"host\",\n native: \"host\"\n },\n loading: {\n group: \"element\",\n tags: IMAGE,\n type: `'eager' | 'lazy'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n src: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"src\",\n web: \"host\",\n native: \"host\"\n },\n srcSet: {\n group: \"element\",\n tags: IMAGE,\n type: \"string\",\n nativeProp: \"srcSet\",\n web: \"host\",\n native: \"host\"\n },\n width: {\n group: \"element\",\n tags: IMAGE,\n type: \"number\",\n nativeProp: \"width\",\n web: \"host\",\n native: \"host\"\n },\n // form controls\n checked: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: `boolean | 'mixed'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"checkbox and radio inputs have no native rendering\"\n },\n defaultChecked: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"checkbox and radio inputs have no native rendering\"\n },\n defaultValue: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n perTag: {\n select: {\n type: \"string | readonly string[]\"\n }\n },\n nativeProp: \"defaultValue\",\n web: \"host\",\n native: \"host\"\n },\n for: {\n group: \"element\",\n tags: [\n \"label\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no label association; wrap the control or drive it from your own state\"\n },\n label: {\n group: \"element\",\n tags: [\n \"optgroup\",\n \"option\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n max: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"string | number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n maxLength: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"number\",\n nativeProp: \"maxLength\",\n web: \"host\",\n native: \"host\"\n },\n min: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: \"string | number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n minLength: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"number\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n multiple: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n name: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"form field names only matter to a form submission, which native does not have\"\n },\n placeholder: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"string\",\n nativeProp: \"placeholder\",\n web: \"host\",\n native: \"host\"\n },\n readOnly: {\n group: \"element\",\n tags: TEXT_ENTRY,\n type: \"boolean\",\n nativeProp: \"editable\",\n web: \"host\",\n native: \"polyfill\"\n },\n required: {\n group: \"element\",\n tags: [\n \"input\",\n \"select\",\n \"textarea\"\n ],\n type: \"boolean\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no form validation\"\n },\n rows: {\n group: \"element\",\n tags: [\n \"textarea\"\n ],\n type: \"number\",\n nativeProp: \"numberOfLines\",\n web: \"host\",\n native: \"polyfill\"\n },\n step: {\n group: \"element\",\n tags: [\n \"input\"\n ],\n type: `number | 'any'`,\n nativeProp: null,\n web: \"host\",\n native: \"none\"\n },\n value: {\n group: \"element\",\n tags: [\n \"input\",\n \"li\",\n \"option\",\n \"select\",\n \"textarea\"\n ],\n type: \"string\",\n perTag: {\n li: {\n type: \"number\",\n note: \"the list counter is not rendered on either platform, matching the list-style reset\"\n },\n select: {\n type: \"string | readonly string[]\"\n }\n },\n nativeProp: \"value\",\n web: \"host\",\n native: \"polyfill\"\n }\n};\nvar ATTRIBUTE_NAMES = Object.keys(ATTRIBUTES);\nvar FRONTEND_PROPS = [\n \"style\"\n];\nexport {\n ARIA_ROLES,\n ATTRIBUTES,\n ATTRIBUTE_NAMES,\n AUTO_COMPLETE_VALUES,\n FRONTEND_PROPS,\n HTML_INPUT_TYPES,\n NATIVE_INPUT_TYPES\n};\n//# sourceMappingURL=attributes.js.map\n"],"mappings":";AAAA,IAAI,aAAa,CACf,SACA,UACF;AACA,IAAI,SAAS,CACX,GACF;AACA,IAAI,QAAQ,CACV,KACF;AACA,IAAI,aAAa;CACf;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,uBAAuB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,mBAAmB;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,qBAAqB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,YAAY,SAAS,WAAW,MAAM,YAAY;CACpD,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN;EACA,KAAK;EACL,QAAQ,aAAa,aAAa;CACpC;AACF;AACA,IAAI,UAAU,SAAS,WAAW;CAChC,OAAO;EACL,OAAO;EACP,MAAM;EACN,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,aAAa,SAAS,cAAc;CACtC,IAAI,aAAa,UAAU,SAAS,KAAK,UAAU,O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|
@@ -3,7 +3,7 @@ var FORM_CONTROLS = [
|
|
|
3
3
|
"select",
|
|
4
4
|
"textarea"
|
|
5
5
|
];
|
|
6
|
-
var nativeHost = function(nativeProp) {
|
|
6
|
+
var nativeHost = function nativeHost2(nativeProp) {
|
|
7
7
|
return {
|
|
8
8
|
tags: "*",
|
|
9
9
|
payload: "unknown",
|
|
@@ -12,7 +12,7 @@ var nativeHost = function(nativeProp) {
|
|
|
12
12
|
native: "host"
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
var webOnly = function(note) {
|
|
15
|
+
var webOnly = function webOnly2(note) {
|
|
16
16
|
return {
|
|
17
17
|
tags: "*",
|
|
18
18
|
payload: "unknown",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.native.js","names":[],"sources":["esm/tables/events.native.js"],"sourcesContent":["var FORM_CONTROLS = [\n \"input\",\n \"select\",\n \"textarea\"\n];\nvar nativeHost = function(nativeProp) {\n return {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp,\n web: \"host\",\n native: \"host\"\n };\n};\nvar webOnly = function(note) {\n return {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note\n };\n};\nvar EVENTS = {\n // pointer and touch\n onPointerCancel: nativeHost(\"onPointerCancel\"),\n onPointerDown: nativeHost(\"onPointerDown\"),\n onPointerEnter: nativeHost(\"onPointerEnter\"),\n onPointerLeave: nativeHost(\"onPointerLeave\"),\n onPointerMove: nativeHost(\"onPointerMove\"),\n onPointerOut: nativeHost(\"onPointerOut\"),\n onPointerOver: nativeHost(\"onPointerOver\"),\n onPointerUp: nativeHost(\"onPointerUp\"),\n onGotPointerCapture: nativeHost(\"onGotPointerCapture\"),\n onLostPointerCapture: nativeHost(\"onLostPointerCapture\"),\n onTouchCancel: nativeHost(\"onTouchCancel\"),\n onTouchEnd: nativeHost(\"onTouchEnd\"),\n onTouchMove: nativeHost(\"onTouchMove\"),\n onTouchStart: nativeHost(\"onTouchStart\"),\n // press\n onClick: {\n tags: \"*\",\n payload: \"DOMClickEvent\",\n nativeProp: \"onPress\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native builds the click payload from the press event; preventDefault and stopPropagation are no-ops because there is nothing to cancel\"\n },\n onAuxClick: webOnly(\"native has no secondary pointer button\"),\n onContextMenu: webOnly(\"native has no context menu event; use a long press\"),\n // focus\n onBlur: {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: \"onBlur\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native focus events only fire on elements that can hold focus, which is text entry and pressable elements\"\n },\n onFocus: {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: \"onFocus\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native focus events only fire on elements that can hold focus, which is text entry and pressable elements\"\n },\n onFocusIn: webOnly(\"native has no bubbling focus event; use onFocus\"),\n onFocusOut: webOnly(\"native has no bubbling blur event; use onBlur\"),\n // keyboard\n onKeyDown: {\n tags: \"*\",\n payload: \"DOMKeyEvent\",\n nativeProp: \"onKeyPress\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native only reports key presses inside a text-entry control, and reports the submit key as Enter\"\n },\n onKeyUp: webOnly(\"react native reports key presses, not key releases\"),\n // clipboard\n onCopy: webOnly(\"native has no clipboard events\"),\n onCut: webOnly(\"native has no clipboard events\"),\n onPaste: webOnly(\"native has no clipboard events\"),\n // document and viewport\n onFullscreenChange: webOnly(\"fullscreen is a browser api\"),\n onFullscreenError: webOnly(\"fullscreen is a browser api\"),\n onScroll: nativeHost(\"onScroll\"),\n onWheel: webOnly(\"native has no wheel input\"),\n // React Native desktop carries the mouse subset that React Strict DOM forwards.\n onMouseDown: nativeHost(\"onMouseDown\"),\n onMouseEnter: nativeHost(\"onMouseEnter\"),\n onMouseLeave: nativeHost(\"onMouseLeave\"),\n onMouseMove: webOnly(\"use onPointerMove for cross-platform pointer input\"),\n onMouseOut: nativeHost(\"onMouseOut\"),\n onMouseOver: nativeHost(\"onMouseOver\"),\n onMouseUp: nativeHost(\"onMouseUp\"),\n // image\n onError: {\n tags: [\n \"img\"\n ],\n payload: \"DOMImageErrorEvent\",\n nativeProp: \"onError\",\n web: \"host\",\n native: \"polyfill\"\n },\n onLoad: {\n tags: [\n \"img\"\n ],\n payload: \"DOMImageLoadEvent\",\n nativeProp: \"onLoad\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native reports naturalWidth and naturalHeight from the decoded source\"\n },\n // form controls\n onChange: {\n tags: FORM_CONTROLS,\n payload: \"DOMChangeEvent\",\n nativeProp: \"onChange\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native fires on every keystroke like onInput, because there is no commit-on-blur change event\"\n },\n onInput: {\n tags: FORM_CONTROLS,\n payload: \"DOMInputEvent\",\n nativeProp: \"onChange\",\n web: \"host\",\n native: \"polyfill\"\n },\n onBeforeInput: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native text entry reports changes only after they are applied\"\n },\n onInvalid: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no form validation\"\n },\n onSelect: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"read the selection through the element ref instead\"\n }\n};\nvar EVENT_NAMES = Object.keys(EVENTS);\nexport {\n EVENTS,\n EVENT_NAMES\n};\n//# sourceMappingURL=events.js.map\n"],"mappings":";AAAA,IAAI,gBAAgB;CAClB;CACA;CACA;AACF;AACA,IAAI,aAAa,SAAS,YAAY;
|
|
1
|
+
{"version":3,"file":"events.native.js","names":[],"sources":["esm/tables/events.native.js"],"sourcesContent":["var FORM_CONTROLS = [\n \"input\",\n \"select\",\n \"textarea\"\n];\nvar nativeHost = function nativeHost2(nativeProp) {\n return {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp,\n web: \"host\",\n native: \"host\"\n };\n};\nvar webOnly = function webOnly2(note) {\n return {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note\n };\n};\nvar EVENTS = {\n // pointer and touch\n onPointerCancel: nativeHost(\"onPointerCancel\"),\n onPointerDown: nativeHost(\"onPointerDown\"),\n onPointerEnter: nativeHost(\"onPointerEnter\"),\n onPointerLeave: nativeHost(\"onPointerLeave\"),\n onPointerMove: nativeHost(\"onPointerMove\"),\n onPointerOut: nativeHost(\"onPointerOut\"),\n onPointerOver: nativeHost(\"onPointerOver\"),\n onPointerUp: nativeHost(\"onPointerUp\"),\n onGotPointerCapture: nativeHost(\"onGotPointerCapture\"),\n onLostPointerCapture: nativeHost(\"onLostPointerCapture\"),\n onTouchCancel: nativeHost(\"onTouchCancel\"),\n onTouchEnd: nativeHost(\"onTouchEnd\"),\n onTouchMove: nativeHost(\"onTouchMove\"),\n onTouchStart: nativeHost(\"onTouchStart\"),\n // press\n onClick: {\n tags: \"*\",\n payload: \"DOMClickEvent\",\n nativeProp: \"onPress\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native builds the click payload from the press event; preventDefault and stopPropagation are no-ops because there is nothing to cancel\"\n },\n onAuxClick: webOnly(\"native has no secondary pointer button\"),\n onContextMenu: webOnly(\"native has no context menu event; use a long press\"),\n // focus\n onBlur: {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: \"onBlur\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native focus events only fire on elements that can hold focus, which is text entry and pressable elements\"\n },\n onFocus: {\n tags: \"*\",\n payload: \"unknown\",\n nativeProp: \"onFocus\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native focus events only fire on elements that can hold focus, which is text entry and pressable elements\"\n },\n onFocusIn: webOnly(\"native has no bubbling focus event; use onFocus\"),\n onFocusOut: webOnly(\"native has no bubbling blur event; use onBlur\"),\n // keyboard\n onKeyDown: {\n tags: \"*\",\n payload: \"DOMKeyEvent\",\n nativeProp: \"onKeyPress\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native only reports key presses inside a text-entry control, and reports the submit key as Enter\"\n },\n onKeyUp: webOnly(\"react native reports key presses, not key releases\"),\n // clipboard\n onCopy: webOnly(\"native has no clipboard events\"),\n onCut: webOnly(\"native has no clipboard events\"),\n onPaste: webOnly(\"native has no clipboard events\"),\n // document and viewport\n onFullscreenChange: webOnly(\"fullscreen is a browser api\"),\n onFullscreenError: webOnly(\"fullscreen is a browser api\"),\n onScroll: nativeHost(\"onScroll\"),\n onWheel: webOnly(\"native has no wheel input\"),\n // React Native desktop carries the mouse subset that React Strict DOM forwards.\n onMouseDown: nativeHost(\"onMouseDown\"),\n onMouseEnter: nativeHost(\"onMouseEnter\"),\n onMouseLeave: nativeHost(\"onMouseLeave\"),\n onMouseMove: webOnly(\"use onPointerMove for cross-platform pointer input\"),\n onMouseOut: nativeHost(\"onMouseOut\"),\n onMouseOver: nativeHost(\"onMouseOver\"),\n onMouseUp: nativeHost(\"onMouseUp\"),\n // image\n onError: {\n tags: [\n \"img\"\n ],\n payload: \"DOMImageErrorEvent\",\n nativeProp: \"onError\",\n web: \"host\",\n native: \"polyfill\"\n },\n onLoad: {\n tags: [\n \"img\"\n ],\n payload: \"DOMImageLoadEvent\",\n nativeProp: \"onLoad\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native reports naturalWidth and naturalHeight from the decoded source\"\n },\n // form controls\n onChange: {\n tags: FORM_CONTROLS,\n payload: \"DOMChangeEvent\",\n nativeProp: \"onChange\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native fires on every keystroke like onInput, because there is no commit-on-blur change event\"\n },\n onInput: {\n tags: FORM_CONTROLS,\n payload: \"DOMInputEvent\",\n nativeProp: \"onChange\",\n web: \"host\",\n native: \"polyfill\"\n },\n onBeforeInput: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native text entry reports changes only after they are applied\"\n },\n onInvalid: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"native has no form validation\"\n },\n onSelect: {\n tags: FORM_CONTROLS,\n payload: \"unknown\",\n nativeProp: null,\n web: \"host\",\n native: \"none\",\n note: \"read the selection through the element ref instead\"\n }\n};\nvar EVENT_NAMES = Object.keys(EVENTS);\nexport {\n EVENTS,\n EVENT_NAMES\n};\n//# sourceMappingURL=events.js.map\n"],"mappings":";AAAA,IAAI,gBAAgB;CAClB;CACA;CACA;AACF;AACA,IAAI,aAAa,SAAS,YAAY,YAAY;CAChD,OAAO;EACL,MAAM;EACN,SAAS;EACT;EACA,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,UAAU,SAAS,SAAS,MAAM;CACpC,OAAO;EACL,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR;CACF;AACF;AACA,IAAI,SAAS;CAEX,iBAAiB,WAAW,iBAAiB;CAC7C,eAAe,WAAW,eAAe;CACzC,gBAAgB,WAAW,gBAAgB;CAC3C,gBAAgB,WAAW,gBAAgB;CAC3C,eAAe,WAAW,eAAe;CACzC,cAAc,WAAW,cAAc;CACvC,eAAe,WAAW,eAAe;CACzC,aAAa,WAAW,aAAa;CACrC,qBAAqB,WAAW,qBAAqB;CACrD,sBAAsB,WAAW,sBAAsB;CACvD,eAAe,WAAW,eAAe;CACzC,YAAY,WAAW,YAAY;CACnC,aAAa,WAAW,aAAa;CACrC,cAAc,WAAW,cAAc;CAEvC,SAAS;EACP,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,YAAY,QAAQ,wCAAwC;CAC5D,eAAe,QAAQ,oDAAoD;CAE3E,QAAQ;EACN,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,SAAS;EACP,MAAM;EACN,SAAS;EACT,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,WAAW,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agui/dom",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"react": ">=19"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@tamagui/build": "3.0.
|
|
57
|
+
"@tamagui/build": "3.0.8",
|
|
58
58
|
"react": "19.2.3",
|
|
59
59
|
"vitest": "4.1.0"
|
|
60
60
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"url": "git+https://github.com/tamagui/tamagui.git",
|
|
64
64
|
"directory": "code/core/dom"
|
|
65
65
|
},
|
|
66
|
-
"releaseSourceCommit": "
|
|
66
|
+
"releaseSourceCommit": "b723356193510591d9ad15877b8937e8e6a31910"
|
|
67
67
|
}
|