@tamagui/dom 3.0.0-beta.669.1 → 3.0.0-beta.719.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/events.cjs +0 -1
- package/dist/cjs/events.native.cjs +0 -1
- package/dist/cjs/events.native.js +0 -1
- package/dist/cjs/events.native.js.map +1 -1
- package/dist/cjs/index.cjs +0 -1
- package/dist/cjs/index.native.cjs +0 -1
- package/dist/cjs/index.native.js +0 -1
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/props.cjs +0 -1
- package/dist/cjs/props.native.cjs +0 -1
- package/dist/cjs/props.native.js +0 -1
- package/dist/cjs/props.native.js.map +1 -1
- package/dist/cjs/tables/attributes.cjs +0 -1
- package/dist/cjs/tables/attributes.native.cjs +0 -1
- package/dist/cjs/tables/attributes.native.js +0 -1
- package/dist/cjs/tables/attributes.native.js.map +1 -1
- package/dist/cjs/tables/compatibility.cjs +0 -1
- package/dist/cjs/tables/compatibility.native.cjs +0 -1
- package/dist/cjs/tables/compatibility.native.js +0 -1
- package/dist/cjs/tables/compatibility.native.js.map +1 -1
- package/dist/cjs/tables/events.cjs +0 -1
- package/dist/cjs/tables/events.native.cjs +0 -1
- package/dist/cjs/tables/events.native.js +0 -1
- package/dist/cjs/tables/events.native.js.map +1 -1
- package/dist/cjs/tables/nativeBacking.cjs +0 -1
- package/dist/cjs/tables/nativeBacking.native.cjs +0 -1
- package/dist/cjs/tables/nativeBacking.native.js +0 -1
- package/dist/cjs/tables/nativeBacking.native.js.map +1 -1
- package/dist/cjs/tables/tags.cjs +0 -1
- package/dist/cjs/tables/tags.native.cjs +0 -1
- package/dist/cjs/tables/tags.native.js +0 -1
- package/dist/cjs/tables/tags.native.js.map +1 -1
- package/dist/cjs/tables/types.cjs +0 -1
- package/dist/cjs/tables/types.native.cjs +0 -1
- package/dist/cjs/tables/types.native.js +0 -1
- package/dist/cjs/tables/types.native.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/events.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.native.js","names":[],"sources":["cjs/events.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 = {};\nmodule.exports = __toCommonJS(events_exports);\n//# sourceMappingURL=events.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.native.js","names":[],"sources":["cjs/events.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 = {};\nmodule.exports = __toCommonJS(events_exports);\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,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,OAAO,UAAU,aAAa,cAAc"}
|
package/dist/cjs/index.cjs
CHANGED
package/dist/cjs/index.native.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./events\"), module.exports);\n__reExport(index_exports, require(\"./props\"), module.exports);\n__reExport(index_exports, require(\"./tables/attributes\"), module.exports);\n__reExport(index_exports, require(\"./tables/compatibility\"), module.exports);\n__reExport(index_exports, require(\"./tables/events\"), module.exports);\n__reExport(index_exports, require(\"./tables/nativeBacking\"), module.exports);\n__reExport(index_exports, require(\"./tables/tags\"), module.exports);\n__reExport(index_exports, require(\"./tables/types\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./events\"), module.exports);\n__reExport(index_exports, require(\"./props\"), module.exports);\n__reExport(index_exports, require(\"./tables/attributes\"), module.exports);\n__reExport(index_exports, require(\"./tables/compatibility\"), module.exports);\n__reExport(index_exports, require(\"./tables/events\"), module.exports);\n__reExport(index_exports, require(\"./tables/nativeBacking\"), module.exports);\n__reExport(index_exports, require(\"./tables/tags\"), module.exports);\n__reExport(index_exports, require(\"./tables/types\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,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,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,oBAAU,GAAG,OAAO,OAAO;AAC7D,WAAW,eAAe,QAAQ,mBAAS,GAAG,OAAO,OAAO;AAC5D,WAAW,eAAe,QAAQ,+BAAqB,GAAG,OAAO,OAAO;AACxE,WAAW,eAAe,QAAQ,kCAAwB,GAAG,OAAO,OAAO;AAC3E,WAAW,eAAe,QAAQ,2BAAiB,GAAG,OAAO,OAAO;AACpE,WAAW,eAAe,QAAQ,kCAAwB,GAAG,OAAO,OAAO;AAC3E,WAAW,eAAe,QAAQ,yBAAe,GAAG,OAAO,OAAO;AAClE,WAAW,eAAe,QAAQ,0BAAgB,GAAG,OAAO,OAAO"}
|
package/dist/cjs/props.cjs
CHANGED
package/dist/cjs/props.native.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.native.js","names":[],"sources":["cjs/props.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 props_exports = {};\nmodule.exports = __toCommonJS(props_exports);\n//# sourceMappingURL=props.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"props.native.js","names":[],"sources":["cjs/props.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 props_exports = {};\nmodule.exports = __toCommonJS(props_exports);\n//# sourceMappingURL=props.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,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,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa"}
|
|
@@ -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=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ACA;CACA;CACA;CACA;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;C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SACA,QACF;EACA,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;CACV;CACA,MAAM;EACJ,OAAO;EACP,MAAM;GACJ;GACA;GACA;EACF;EACA,MAAM;EACN,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,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":["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;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;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibility.native.js","names":[],"sources":["cjs/tables/compatibility.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 compatibility_exports = {};\n__export(compatibility_exports, {\n COMPATIBILITY: () => COMPATIBILITY,\n RSD_REFERENCE: () => RSD_REFERENCE\n});\nmodule.exports = __toCommonJS(compatibility_exports);\nvar RSD_REFERENCE = {\n version: \"0.0.55\",\n commit: \"c877f5c19b141e25c089d993b4cc584e669b6e39\",\n date: \"2026-06-23\"\n};\nvar COMPATIBILITY = [\n {\n area: \"tag\",\n subject: \"html.select, html.option, html.optgroup\",\n keys: [],\n rsd: \"renders a view and text elements on native with no menu behaviour, and documents the tags as unsupported there\",\n tamagui: \"native build error naming the tag\",\n reason: \"an element that renders but cannot open, select or report a value is a silent approximation, which the DOM contract rules out\"\n },\n {\n area: \"tag\",\n subject: \"html.form, html.fieldset\",\n keys: [],\n rsd: \"documents form as unsupported on native\",\n tamagui: \"renders as a native container, with no submission, validation or reset\",\n reason: \"the layout and accessibility of the container are correct on native; only submission is missing, and that is documented per prop\"\n },\n {\n area: \"prop\",\n subject: \"autoCapitalize, enterKeyHint, inputMode, spellCheck\",\n keys: [\n \"autoCapitalize\",\n \"enterKeyHint\",\n \"inputMode\",\n \"spellCheck\"\n ],\n rsd: \"declared on every element, forwarded only by the text-entry factory\",\n tamagui: \"declared on input and textarea only\",\n reason: \"they have no effect anywhere else on either platform, so the narrower type is the honest one\"\n },\n {\n area: \"prop\",\n subject: \"spellCheck on native\",\n keys: [],\n rsd: \"documented as unsupported\",\n tamagui: \"forwarded to the text-entry control, ios only\",\n reason: \"react native implements spellCheck on TextInput for ios; the RSD table predates it and its own runtime forwards the prop\"\n },\n {\n area: \"prop\",\n subject: \"aria-describedby\",\n keys: [],\n rsd: \"documented as polyfilled on native, but its runtime does not map it\",\n tamagui: \"web only, with a note pointing at aria-label\",\n reason: \"react native has no described-by relationship, so the table follows the runtime rather than the documentation\"\n },\n {\n area: \"prop\",\n subject: \"data-*\",\n keys: [\n \"data-*\"\n ],\n rsd: \"allows any data- prefixed prop at runtime but types none of them\",\n tamagui: \"one data-* row, so the generated interfaces admit the whole prefix\",\n reason: \"the runtime already accepts them; leaving them untyped only means authors reach for a cast\"\n },\n {\n area: \"prop\",\n subject: \"data-layoutconformance\",\n keys: [\n \"data-layoutconformance\"\n ],\n rsd: \"opts an element subtree into W3C layout conformance on native\",\n tamagui: \"not part of the contract\",\n reason: \"it is an escape hatch for a specific react native migration, not a DOM prop, and DOM mode targets one layout model\"\n },\n {\n area: \"prop\",\n subject: \"selected on html.option\",\n keys: [\n \"selected\"\n ],\n rsd: \"allowlisted, but not declared by its option props type\",\n tamagui: \"not part of the contract\",\n reason: \"react warns on it and steers to value or defaultValue on the select, and select has no native rendering anyway\"\n },\n {\n area: \"prop\",\n subject: \"children on a void or text-only element\",\n keys: [],\n rsd: \"types children as a react node on every element, including br, hr, img, input, textarea and option\",\n tamagui: \"types it as never on the five void elements and as string or number inside an option, from the content model in the tag table\",\n reason: \"the compiler already reports this nesting as a build error, and the same rule stated in the types reports it in the editor instead of at build time\"\n },\n {\n area: \"event\",\n subject: \"onSelectionChange\",\n keys: [\n \"onSelectionChange\"\n ],\n rsd: \"allowlisted and typed on input and textarea, then warned about as unsupported\",\n tamagui: \"not part of the contract; the selection cache behind the ref polyfill stays internal\",\n reason: \"it is not a React DOM prop, so it does nothing on web and warns on native: no platform supports it\"\n },\n {\n area: \"event\",\n subject: \"onMouseMove\",\n keys: [],\n rsd: \"allowed on the strict surface but omitted from the native prop forwarding path\",\n tamagui: \"native diagnostic pointing at onPointerMove\",\n reason: \"a handler that is silently dropped is worse than a build error naming the supported cross-platform spelling; the other mouse events and onScroll match the upstream native host passthrough\"\n },\n {\n area: \"event\",\n subject: \"onClick on native\",\n keys: [],\n rsd: \"documented as unsupported, polyfilled in its runtime through the press event\",\n tamagui: \"polyfilled through the press event, documented as a polyfill\",\n reason: \"the polyfill is real and useful; the payload subset it can fill in is documented instead of denied\"\n },\n {\n area: \"style\",\n subject: \"inline reset spelling\",\n keys: [\n // the thirteen tags RSD gives its inline reset on web\n \"web.a.textAlign\",\n \"web.a.textDecoration\",\n \"web.a.textDecorationLine\",\n \"web.b.textAlign\",\n \"web.b.textDecoration\",\n \"web.b.textDecorationLine\",\n \"web.bdi.textAlign\",\n \"web.bdi.textDecoration\",\n \"web.bdi.textDecorationLine\",\n \"web.bdo.textAlign\",\n \"web.bdo.textDecoration\",\n \"web.bdo.textDecorationLine\",\n \"web.code.textAlign\",\n \"web.code.textDecoration\",\n \"web.code.textDecorationLine\",\n \"web.em.textAlign\",\n \"web.em.textDecoration\",\n \"web.em.textDecorationLine\",\n \"web.i.textAlign\",\n \"web.i.textDecoration\",\n \"web.i.textDecorationLine\",\n \"web.label.textAlign\",\n \"web.label.textDecoration\",\n \"web.label.textDecorationLine\",\n \"web.mark.textAlign\",\n \"web.mark.textDecoration\",\n \"web.mark.textDecorationLine\",\n \"web.span.textAlign\",\n \"web.span.textDecoration\",\n \"web.span.textDecorationLine\",\n \"web.strong.textAlign\",\n \"web.strong.textDecoration\",\n \"web.strong.textDecorationLine\",\n \"web.sub.textAlign\",\n \"web.sub.textDecoration\",\n \"web.sub.textDecorationLine\",\n \"web.sup.textAlign\",\n \"web.sup.textDecoration\",\n \"web.sup.textDecorationLine\"\n ],\n rsd: \"resets inline elements with textDecoration: none and textAlign: inherit\",\n tamagui: \"resets with textDecorationLine: none and leaves textAlign alone\",\n reason: \"textDecorationLine is the one spelling that means the same thing on both platforms, and textAlign already inherits, so declaring it changes nothing\"\n },\n {\n area: \"style\",\n subject: \"element defaults RSD leaves to the browser on web\",\n keys: [\n // br, del, ins, kbd, optgroup, option, s and u get no RSD web styles at all\n \"web.br.margin\",\n \"web.br.padding\",\n \"web.br.textDecorationLine\",\n \"web.del.margin\",\n \"web.del.padding\",\n \"web.del.textDecorationLine\",\n \"web.ins.margin\",\n \"web.ins.padding\",\n \"web.ins.textDecorationLine\",\n \"web.kbd.fontFamily\",\n \"web.kbd.fontSize\",\n \"web.kbd.margin\",\n \"web.kbd.padding\",\n \"web.kbd.textDecorationLine\",\n \"web.optgroup.margin\",\n \"web.optgroup.padding\",\n \"web.option.margin\",\n \"web.option.padding\",\n \"web.s.margin\",\n \"web.s.padding\",\n \"web.s.textDecorationLine\",\n \"web.u.margin\",\n \"web.u.padding\",\n \"web.u.textDecorationLine\",\n // and the rest lean on the browser stylesheet for their one decoration\n \"web.b.fontWeight\",\n \"web.em.fontStyle\",\n \"web.h1.fontWeight\",\n \"web.h2.fontWeight\",\n \"web.h3.fontWeight\",\n \"web.h4.fontWeight\",\n \"web.h5.fontWeight\",\n \"web.h6.fontWeight\",\n \"web.i.fontStyle\",\n \"web.mark.backgroundColor\",\n \"web.mark.color\"\n ],\n rsd: \"applies no default styles at all to br, del, ins, kbd, optgroup, option, s and u on web, and relies on the browser stylesheet for the bold, italic, monospace, strike, underline and highlight of every other tag\",\n tamagui: \"applies the same element defaults on both platforms\",\n reason: \"one source has to render the same on web and native, which it cannot if half the defaults come from a browser stylesheet a css reset is free to remove\"\n },\n {\n area: \"style\",\n subject: \"html.a default styles\",\n keys: [\n \"native.a.color\",\n \"native.a.textDecorationLine\"\n ],\n rsd: \"strips the underline on web and adds blue plus underline on native, so one source renders differently per platform\",\n tamagui: \"applies the same inline reset on both platforms and adds no link colour\",\n reason: \"cross-platform parity is the point of the shared fixture, and a hardcoded link colour cannot follow a theme\"\n },\n {\n area: \"style\",\n subject: \"monospace font family\",\n keys: [\n \"web.code.fontFamily\",\n \"web.pre.fontFamily\",\n \"native.code.fontFamily\",\n \"native.kbd.fontFamily\",\n \"native.pre.fontFamily\"\n ],\n rsd: 'writes monospace, \"monospace\" on web to cancel the browser size quirk, and picks Menlo on ios',\n tamagui: \"writes monospace on both platforms and cancels the size quirk with fontSize: 1em instead\",\n reason: \"the duplicated family name only exists to defeat the size quirk, which 1em does directly; the font family itself belongs to the theme, not to the tag\"\n },\n {\n area: \"style\",\n subject: \"overflow on html.code\",\n keys: [\n \"web.code.overflow\"\n ],\n rsd: \"shares one rule between code and pre, so inline code gets overflow: auto too\",\n tamagui: \"scrolls pre only\",\n reason: \"overflow does nothing on an inline element\"\n },\n {\n area: \"style\",\n subject: \"web css properties a Tamagui style prop cannot express\",\n keys: [\n \"web.a.wordWrap\",\n \"web.b.wordWrap\",\n \"web.bdi.wordWrap\",\n \"web.bdo.wordWrap\",\n \"web.code.wordWrap\",\n \"web.em.wordWrap\",\n \"web.h1.wordWrap\",\n \"web.h2.wordWrap\",\n \"web.h3.wordWrap\",\n \"web.h4.wordWrap\",\n \"web.h5.wordWrap\",\n \"web.h6.wordWrap\",\n \"web.i.wordWrap\",\n \"web.label.wordWrap\",\n \"web.mark.wordWrap\",\n \"web.span.wordWrap\",\n \"web.strong.wordWrap\",\n \"web.sub.wordWrap\",\n \"web.sup.wordWrap\",\n \"web.ol.listStyle\",\n \"web.ul.listStyle\",\n \"web.textarea.resize\"\n ],\n rsd: \"sets overflow-wrap on inline text and headings, list-style: none on ol and ul, and resize: vertical on a textarea, all as plain stylex rules\",\n tamagui: \"sets none of the three\",\n reason: \"Tamagui resolves none of these three property names, and an unresolved style prop does not quietly do nothing \\u2014 it reaches the element as an attribute, which is a react warning and still no styling. list-style has no visible consequence anyway, because every view-backed element carries `.is_View { display: flex }`, so an li is never display: list-item and no marker is generated. The other two are cosmetic and web-only. Closing this means teaching the style pipeline the three properties, not working around it here\"\n },\n {\n area: \"style\",\n subject: \"html.img sizing\",\n keys: [\n \"web.img.aspectRatio\",\n \"web.img.objectFit\",\n \"web.img.margin\",\n \"web.img.padding\",\n \"web.img.textDecorationLine\"\n ],\n rsd: \"derives the aspect ratio from the width and height attributes with attr(), which only lands in recent chromium, and gives img no inline reset\",\n tamagui: \"sets objectFit, resets img like any other inline element, and lets the compiler turn the width and height props into an aspect ratio on native\",\n reason: \"a css feature one engine supports cannot be the cross-platform contract, and the props are known at build time anyway; the inline reset still matters because an img inside an anchor otherwise inherits its underline\"\n },\n {\n area: \"style\",\n subject: \"universal native element defaults\",\n keys: [\n \"native.br.boxSizing\",\n \"native.br.position\",\n \"native.hr.boxSizing\"\n ],\n rsd: \"skips the shared native reset on br, and overrides boxSizing to border-box on hr\",\n tamagui: \"applies the same native element defaults to every tag\",\n reason: \"br is not special, and neither override changes what renders: hr has no border or padding for border-box to measure differently\"\n },\n {\n area: \"behavior\",\n subject: \"invalid nesting\",\n keys: [],\n rsd: \"reports nothing at build time; an invalid tree fails at runtime on native\",\n tamagui: \"compile diagnostic for statically knowable invalid nesting, from the content model in the tag table\",\n reason: \"the compiler already classifies every tag, so the error belongs at build time where the source is\"\n },\n {\n area: \"behavior\",\n subject: \"children as a render function\",\n keys: [],\n rsd: \"supports a function child that receives the resolved native props\",\n tamagui: \"not part of the contract\",\n reason: \"it exposes the native prop shape as public api and blocks compile-time literal-text wrapping\"\n },\n {\n area: \"ref\",\n subject: \"native element ref\",\n keys: [],\n rsd: \"wraps every ref-ed host node in an Object.create view adding nodeName, viewport-scaled metrics and the tag polyfills\",\n tamagui: \"wraps only ref-ed hosts in a stable Object.create facade adding nodeName, tagName, image complete, text-entry selection APIs, bound host methods and viewport-scaled geometry\",\n reason: \"the compiler supplies the semantic tag only on the ref path, preserving the zero-allocation common path; the viewport provider scales synchronous DOM-shaped lengths and getBoundingClientRect while native measure methods remain bound to the host instance\"\n }\n];\n//# sourceMappingURL=compatibility.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,wBAAwB,CAAC;AAC7B,SAAS,uBAAuB;CAC9B,qBAAqB;CACrB,qBAAqB;AACvB,CAAC;AACD,OAAO,UAAU,aAAa,qBAAqB;AACnD,IAAI,gBAAgB;CAClB,SAAS;CACT,QAAQ;CACR,MAAM;AACR;AACA,IAAI,gBAAgB;CAClB;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,QACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,wBACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,UACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,mBACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GAEJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GAEJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,kBACA,6BACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,mBACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;AACF"}
|
|
1
|
+
{"version":3,"file":"compatibility.native.js","names":[],"sources":["cjs/tables/compatibility.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 compatibility_exports = {};\n__export(compatibility_exports, {\n COMPATIBILITY: () => COMPATIBILITY,\n RSD_REFERENCE: () => RSD_REFERENCE\n});\nmodule.exports = __toCommonJS(compatibility_exports);\nvar RSD_REFERENCE = {\n version: \"0.0.55\",\n commit: \"c877f5c19b141e25c089d993b4cc584e669b6e39\",\n date: \"2026-06-23\"\n};\nvar COMPATIBILITY = [\n {\n area: \"tag\",\n subject: \"html.select, html.option, html.optgroup\",\n keys: [],\n rsd: \"renders a view and text elements on native with no menu behaviour, and documents the tags as unsupported there\",\n tamagui: \"native build error naming the tag\",\n reason: \"an element that renders but cannot open, select or report a value is a silent approximation, which the DOM contract rules out\"\n },\n {\n area: \"tag\",\n subject: \"html.form, html.fieldset\",\n keys: [],\n rsd: \"documents form as unsupported on native\",\n tamagui: \"renders as a native container, with no submission, validation or reset\",\n reason: \"the layout and accessibility of the container are correct on native; only submission is missing, and that is documented per prop\"\n },\n {\n area: \"prop\",\n subject: \"autoCapitalize, enterKeyHint, inputMode, spellCheck\",\n keys: [\n \"autoCapitalize\",\n \"enterKeyHint\",\n \"inputMode\",\n \"spellCheck\"\n ],\n rsd: \"declared on every element, forwarded only by the text-entry factory\",\n tamagui: \"declared on input and textarea only\",\n reason: \"they have no effect anywhere else on either platform, so the narrower type is the honest one\"\n },\n {\n area: \"prop\",\n subject: \"spellCheck on native\",\n keys: [],\n rsd: \"documented as unsupported\",\n tamagui: \"forwarded to the text-entry control, ios only\",\n reason: \"react native implements spellCheck on TextInput for ios; the RSD table predates it and its own runtime forwards the prop\"\n },\n {\n area: \"prop\",\n subject: \"aria-describedby\",\n keys: [],\n rsd: \"documented as polyfilled on native, but its runtime does not map it\",\n tamagui: \"web only, with a note pointing at aria-label\",\n reason: \"react native has no described-by relationship, so the table follows the runtime rather than the documentation\"\n },\n {\n area: \"prop\",\n subject: \"data-*\",\n keys: [\n \"data-*\"\n ],\n rsd: \"allows any data- prefixed prop at runtime but types none of them\",\n tamagui: \"one data-* row, so the generated interfaces admit the whole prefix\",\n reason: \"the runtime already accepts them; leaving them untyped only means authors reach for a cast\"\n },\n {\n area: \"prop\",\n subject: \"data-layoutconformance\",\n keys: [\n \"data-layoutconformance\"\n ],\n rsd: \"opts an element subtree into W3C layout conformance on native\",\n tamagui: \"not part of the contract\",\n reason: \"it is an escape hatch for a specific react native migration, not a DOM prop, and DOM mode targets one layout model\"\n },\n {\n area: \"prop\",\n subject: \"selected on html.option\",\n keys: [\n \"selected\"\n ],\n rsd: \"allowlisted, but not declared by its option props type\",\n tamagui: \"not part of the contract\",\n reason: \"react warns on it and steers to value or defaultValue on the select, and select has no native rendering anyway\"\n },\n {\n area: \"prop\",\n subject: \"children on a void or text-only element\",\n keys: [],\n rsd: \"types children as a react node on every element, including br, hr, img, input, textarea and option\",\n tamagui: \"types it as never on the five void elements and as string or number inside an option, from the content model in the tag table\",\n reason: \"the compiler already reports this nesting as a build error, and the same rule stated in the types reports it in the editor instead of at build time\"\n },\n {\n area: \"event\",\n subject: \"onSelectionChange\",\n keys: [\n \"onSelectionChange\"\n ],\n rsd: \"allowlisted and typed on input and textarea, then warned about as unsupported\",\n tamagui: \"not part of the contract; the selection cache behind the ref polyfill stays internal\",\n reason: \"it is not a React DOM prop, so it does nothing on web and warns on native: no platform supports it\"\n },\n {\n area: \"event\",\n subject: \"onMouseMove\",\n keys: [],\n rsd: \"allowed on the strict surface but omitted from the native prop forwarding path\",\n tamagui: \"native diagnostic pointing at onPointerMove\",\n reason: \"a handler that is silently dropped is worse than a build error naming the supported cross-platform spelling; the other mouse events and onScroll match the upstream native host passthrough\"\n },\n {\n area: \"event\",\n subject: \"onClick on native\",\n keys: [],\n rsd: \"documented as unsupported, polyfilled in its runtime through the press event\",\n tamagui: \"polyfilled through the press event, documented as a polyfill\",\n reason: \"the polyfill is real and useful; the payload subset it can fill in is documented instead of denied\"\n },\n {\n area: \"style\",\n subject: \"inline reset spelling\",\n keys: [\n // the thirteen tags RSD gives its inline reset on web\n \"web.a.textAlign\",\n \"web.a.textDecoration\",\n \"web.a.textDecorationLine\",\n \"web.b.textAlign\",\n \"web.b.textDecoration\",\n \"web.b.textDecorationLine\",\n \"web.bdi.textAlign\",\n \"web.bdi.textDecoration\",\n \"web.bdi.textDecorationLine\",\n \"web.bdo.textAlign\",\n \"web.bdo.textDecoration\",\n \"web.bdo.textDecorationLine\",\n \"web.code.textAlign\",\n \"web.code.textDecoration\",\n \"web.code.textDecorationLine\",\n \"web.em.textAlign\",\n \"web.em.textDecoration\",\n \"web.em.textDecorationLine\",\n \"web.i.textAlign\",\n \"web.i.textDecoration\",\n \"web.i.textDecorationLine\",\n \"web.label.textAlign\",\n \"web.label.textDecoration\",\n \"web.label.textDecorationLine\",\n \"web.mark.textAlign\",\n \"web.mark.textDecoration\",\n \"web.mark.textDecorationLine\",\n \"web.span.textAlign\",\n \"web.span.textDecoration\",\n \"web.span.textDecorationLine\",\n \"web.strong.textAlign\",\n \"web.strong.textDecoration\",\n \"web.strong.textDecorationLine\",\n \"web.sub.textAlign\",\n \"web.sub.textDecoration\",\n \"web.sub.textDecorationLine\",\n \"web.sup.textAlign\",\n \"web.sup.textDecoration\",\n \"web.sup.textDecorationLine\"\n ],\n rsd: \"resets inline elements with textDecoration: none and textAlign: inherit\",\n tamagui: \"resets with textDecorationLine: none and leaves textAlign alone\",\n reason: \"textDecorationLine is the one spelling that means the same thing on both platforms, and textAlign already inherits, so declaring it changes nothing\"\n },\n {\n area: \"style\",\n subject: \"element defaults RSD leaves to the browser on web\",\n keys: [\n // br, del, ins, kbd, optgroup, option, s and u get no RSD web styles at all\n \"web.br.margin\",\n \"web.br.padding\",\n \"web.br.textDecorationLine\",\n \"web.del.margin\",\n \"web.del.padding\",\n \"web.del.textDecorationLine\",\n \"web.ins.margin\",\n \"web.ins.padding\",\n \"web.ins.textDecorationLine\",\n \"web.kbd.fontFamily\",\n \"web.kbd.fontSize\",\n \"web.kbd.margin\",\n \"web.kbd.padding\",\n \"web.kbd.textDecorationLine\",\n \"web.optgroup.margin\",\n \"web.optgroup.padding\",\n \"web.option.margin\",\n \"web.option.padding\",\n \"web.s.margin\",\n \"web.s.padding\",\n \"web.s.textDecorationLine\",\n \"web.u.margin\",\n \"web.u.padding\",\n \"web.u.textDecorationLine\",\n // and the rest lean on the browser stylesheet for their one decoration\n \"web.b.fontWeight\",\n \"web.em.fontStyle\",\n \"web.h1.fontWeight\",\n \"web.h2.fontWeight\",\n \"web.h3.fontWeight\",\n \"web.h4.fontWeight\",\n \"web.h5.fontWeight\",\n \"web.h6.fontWeight\",\n \"web.i.fontStyle\",\n \"web.mark.backgroundColor\",\n \"web.mark.color\"\n ],\n rsd: \"applies no default styles at all to br, del, ins, kbd, optgroup, option, s and u on web, and relies on the browser stylesheet for the bold, italic, monospace, strike, underline and highlight of every other tag\",\n tamagui: \"applies the same element defaults on both platforms\",\n reason: \"one source has to render the same on web and native, which it cannot if half the defaults come from a browser stylesheet a css reset is free to remove\"\n },\n {\n area: \"style\",\n subject: \"html.a default styles\",\n keys: [\n \"native.a.color\",\n \"native.a.textDecorationLine\"\n ],\n rsd: \"strips the underline on web and adds blue plus underline on native, so one source renders differently per platform\",\n tamagui: \"applies the same inline reset on both platforms and adds no link colour\",\n reason: \"cross-platform parity is the point of the shared fixture, and a hardcoded link colour cannot follow a theme\"\n },\n {\n area: \"style\",\n subject: \"monospace font family\",\n keys: [\n \"web.code.fontFamily\",\n \"web.pre.fontFamily\",\n \"native.code.fontFamily\",\n \"native.kbd.fontFamily\",\n \"native.pre.fontFamily\"\n ],\n rsd: 'writes monospace, \"monospace\" on web to cancel the browser size quirk, and picks Menlo on ios',\n tamagui: \"writes monospace on both platforms and cancels the size quirk with fontSize: 1em instead\",\n reason: \"the duplicated family name only exists to defeat the size quirk, which 1em does directly; the font family itself belongs to the theme, not to the tag\"\n },\n {\n area: \"style\",\n subject: \"overflow on html.code\",\n keys: [\n \"web.code.overflow\"\n ],\n rsd: \"shares one rule between code and pre, so inline code gets overflow: auto too\",\n tamagui: \"scrolls pre only\",\n reason: \"overflow does nothing on an inline element\"\n },\n {\n area: \"style\",\n subject: \"web css properties a Tamagui style prop cannot express\",\n keys: [\n \"web.a.wordWrap\",\n \"web.b.wordWrap\",\n \"web.bdi.wordWrap\",\n \"web.bdo.wordWrap\",\n \"web.code.wordWrap\",\n \"web.em.wordWrap\",\n \"web.h1.wordWrap\",\n \"web.h2.wordWrap\",\n \"web.h3.wordWrap\",\n \"web.h4.wordWrap\",\n \"web.h5.wordWrap\",\n \"web.h6.wordWrap\",\n \"web.i.wordWrap\",\n \"web.label.wordWrap\",\n \"web.mark.wordWrap\",\n \"web.span.wordWrap\",\n \"web.strong.wordWrap\",\n \"web.sub.wordWrap\",\n \"web.sup.wordWrap\",\n \"web.ol.listStyle\",\n \"web.ul.listStyle\",\n \"web.textarea.resize\"\n ],\n rsd: \"sets overflow-wrap on inline text and headings, list-style: none on ol and ul, and resize: vertical on a textarea, all as plain stylex rules\",\n tamagui: \"sets none of the three\",\n reason: \"Tamagui resolves none of these three property names, and an unresolved style prop does not quietly do nothing \\u2014 it reaches the element as an attribute, which is a react warning and still no styling. list-style has no visible consequence anyway, because every view-backed element carries `.is_View { display: flex }`, so an li is never display: list-item and no marker is generated. The other two are cosmetic and web-only. Closing this means teaching the style pipeline the three properties, not working around it here\"\n },\n {\n area: \"style\",\n subject: \"html.img sizing\",\n keys: [\n \"web.img.aspectRatio\",\n \"web.img.objectFit\",\n \"web.img.margin\",\n \"web.img.padding\",\n \"web.img.textDecorationLine\"\n ],\n rsd: \"derives the aspect ratio from the width and height attributes with attr(), which only lands in recent chromium, and gives img no inline reset\",\n tamagui: \"sets objectFit, resets img like any other inline element, and lets the compiler turn the width and height props into an aspect ratio on native\",\n reason: \"a css feature one engine supports cannot be the cross-platform contract, and the props are known at build time anyway; the inline reset still matters because an img inside an anchor otherwise inherits its underline\"\n },\n {\n area: \"style\",\n subject: \"universal native element defaults\",\n keys: [\n \"native.br.boxSizing\",\n \"native.br.position\",\n \"native.hr.boxSizing\"\n ],\n rsd: \"skips the shared native reset on br, and overrides boxSizing to border-box on hr\",\n tamagui: \"applies the same native element defaults to every tag\",\n reason: \"br is not special, and neither override changes what renders: hr has no border or padding for border-box to measure differently\"\n },\n {\n area: \"behavior\",\n subject: \"invalid nesting\",\n keys: [],\n rsd: \"reports nothing at build time; an invalid tree fails at runtime on native\",\n tamagui: \"compile diagnostic for statically knowable invalid nesting, from the content model in the tag table\",\n reason: \"the compiler already classifies every tag, so the error belongs at build time where the source is\"\n },\n {\n area: \"behavior\",\n subject: \"children as a render function\",\n keys: [],\n rsd: \"supports a function child that receives the resolved native props\",\n tamagui: \"not part of the contract\",\n reason: \"it exposes the native prop shape as public api and blocks compile-time literal-text wrapping\"\n },\n {\n area: \"ref\",\n subject: \"native element ref\",\n keys: [],\n rsd: \"wraps every ref-ed host node in an Object.create view adding nodeName, viewport-scaled metrics and the tag polyfills\",\n tamagui: \"wraps only ref-ed hosts in a stable Object.create facade adding nodeName, tagName, image complete, text-entry selection APIs, bound host methods and viewport-scaled geometry\",\n reason: \"the compiler supplies the semantic tag only on the ref path, preserving the zero-allocation common path; the viewport provider scales synchronous DOM-shaped lengths and getBoundingClientRect while native measure methods remain bound to the host instance\"\n }\n];\n//# sourceMappingURL=compatibility.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,wBAAwB,CAAC;AAC7B,SAAS,uBAAuB;CAC9B,qBAAqB;CACrB,qBAAqB;AACvB,CAAC;AACD,OAAO,UAAU,aAAa,qBAAqB;AACnD,IAAI,gBAAgB;CAClB,SAAS;CACT,QAAQ;CACR,MAAM;AACR;AACA,IAAI,gBAAgB;CAClB;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,QACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,wBACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,UACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,mBACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GAEJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GAEJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,kBACA,6BACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CACJ,mBACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM;GACJ;GACA;GACA;EACF;EACA,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;CACA;EACE,MAAM;EACN,SAAS;EACT,MAAM,CAAC;EACP,KAAK;EACL,SAAS;EACT,QAAQ;CACV;AACF"}
|
|
@@ -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":"
|
|
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,g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T,YAAY;EACZ,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,SAAS,QAAQ,oDAAoD;CAErE,QAAQ,QAAQ,gCAAgC;CAChD,OAAO,QAAQ,gCAAgC;CAC/C,SAAS,QAAQ,gCAAgC;CAEjD,oBAAoB,QAAQ,6BAA6B;CACzD,mBAAmB,QAAQ,6BAA6B;CACxD,UAAU,WAAW,UAAU;CAC/B,SAAS,QAAQ,2BAA2B;CAE5C,aAAa,WAAW,aAAa;CACrC,cAAc,WAAW,cAAc;CACvC,cAAc,WAAW,cAAc;CACvC,aAAa,QAAQ,oDAAoD;CACzE,YAAY,WAAW,YAAY;CACnC,aAAa,WAAW,aAAa;CACrC,WAAW,WAAW,WAAW;CAEjC,SAAS;EACP,MAAM,CACJ,KACF;EACA,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nativeBacking.native.js","names":[],"sources":["cjs/tables/nativeBacking.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 nativeBacking_exports = {};\n__export(nativeBacking_exports, {\n NATIVE_BACKING: () => NATIVE_BACKING,\n NATIVE_BLOCK_DEFAULTS: () => NATIVE_BLOCK_DEFAULTS,\n NATIVE_ELEMENT_DEFAULTS: () => NATIVE_ELEMENT_DEFAULTS,\n NATIVE_FLEX_DEFAULTS: () => NATIVE_FLEX_DEFAULTS,\n NATIVE_PRIMITIVE_MODULE: () => NATIVE_PRIMITIVE_MODULE\n});\nmodule.exports = __toCommonJS(nativeBacking_exports);\nvar NATIVE_PRIMITIVE_MODULE = \"@tamagui/core/dom\";\nvar VIEW_TAGS = [\n \"article\",\n \"aside\",\n \"blockquote\",\n \"button\",\n \"div\",\n \"fieldset\",\n \"footer\",\n \"form\",\n \"header\",\n \"hr\",\n \"li\",\n \"main\",\n \"nav\",\n \"ol\",\n \"optgroup\",\n \"section\",\n \"select\",\n \"ul\"\n];\nvar TEXT_TAGS = [\n \"a\",\n \"b\",\n \"bdi\",\n \"bdo\",\n \"br\",\n \"code\",\n \"del\",\n \"em\",\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\",\n \"i\",\n \"ins\",\n \"kbd\",\n \"label\",\n \"mark\",\n \"option\",\n \"p\",\n \"pre\",\n \"s\",\n \"span\",\n \"strong\",\n \"sub\",\n \"sup\",\n \"u\"\n];\nvar NATIVE_BACKING = {\n view: {\n primitive: \"DOMView\",\n host: \"View\",\n tags: VIEW_TAGS,\n wrapsLiteralText: true,\n note: \"a direct literal string or number child is wrapped in DOMText at compile time, because a native view cannot render raw text\"\n },\n text: {\n primitive: \"DOMText\",\n host: \"Text\",\n tags: TEXT_TAGS,\n wrapsLiteralText: false,\n note: \"inherits text styles from the nearest DOMText ancestor, and renders raw text directly\"\n },\n image: {\n primitive: \"DOMImage\",\n host: \"Image\",\n tags: [\n \"img\"\n ],\n wrapsLiteralText: false,\n note: \"width and height props become an aspect ratio so layout matches the browser before the image loads\"\n },\n textinput: {\n primitive: \"DOMTextInput\",\n host: \"TextInput\",\n tags: [\n \"input\",\n \"textarea\"\n ],\n wrapsLiteralText: false,\n note: \"textarea sets multiline, and rows becomes numberOfLines\"\n }\n};\nvar NATIVE_ELEMENT_DEFAULTS = {\n boxSizing: \"content-box\",\n position: \"static\"\n};\nvar NATIVE_BLOCK_DEFAULTS = {\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n};\nvar NATIVE_FLEX_DEFAULTS = {\n alignContent: \"stretch\",\n alignItems: \"stretch\",\n flexBasis: \"auto\",\n flexDirection: \"row\",\n flexShrink: 1,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n};\n//# sourceMappingURL=nativeBacking.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"nativeBacking.native.js","names":[],"sources":["cjs/tables/nativeBacking.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 nativeBacking_exports = {};\n__export(nativeBacking_exports, {\n NATIVE_BACKING: () => NATIVE_BACKING,\n NATIVE_BLOCK_DEFAULTS: () => NATIVE_BLOCK_DEFAULTS,\n NATIVE_ELEMENT_DEFAULTS: () => NATIVE_ELEMENT_DEFAULTS,\n NATIVE_FLEX_DEFAULTS: () => NATIVE_FLEX_DEFAULTS,\n NATIVE_PRIMITIVE_MODULE: () => NATIVE_PRIMITIVE_MODULE\n});\nmodule.exports = __toCommonJS(nativeBacking_exports);\nvar NATIVE_PRIMITIVE_MODULE = \"@tamagui/core/dom\";\nvar VIEW_TAGS = [\n \"article\",\n \"aside\",\n \"blockquote\",\n \"button\",\n \"div\",\n \"fieldset\",\n \"footer\",\n \"form\",\n \"header\",\n \"hr\",\n \"li\",\n \"main\",\n \"nav\",\n \"ol\",\n \"optgroup\",\n \"section\",\n \"select\",\n \"ul\"\n];\nvar TEXT_TAGS = [\n \"a\",\n \"b\",\n \"bdi\",\n \"bdo\",\n \"br\",\n \"code\",\n \"del\",\n \"em\",\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\",\n \"i\",\n \"ins\",\n \"kbd\",\n \"label\",\n \"mark\",\n \"option\",\n \"p\",\n \"pre\",\n \"s\",\n \"span\",\n \"strong\",\n \"sub\",\n \"sup\",\n \"u\"\n];\nvar NATIVE_BACKING = {\n view: {\n primitive: \"DOMView\",\n host: \"View\",\n tags: VIEW_TAGS,\n wrapsLiteralText: true,\n note: \"a direct literal string or number child is wrapped in DOMText at compile time, because a native view cannot render raw text\"\n },\n text: {\n primitive: \"DOMText\",\n host: \"Text\",\n tags: TEXT_TAGS,\n wrapsLiteralText: false,\n note: \"inherits text styles from the nearest DOMText ancestor, and renders raw text directly\"\n },\n image: {\n primitive: \"DOMImage\",\n host: \"Image\",\n tags: [\n \"img\"\n ],\n wrapsLiteralText: false,\n note: \"width and height props become an aspect ratio so layout matches the browser before the image loads\"\n },\n textinput: {\n primitive: \"DOMTextInput\",\n host: \"TextInput\",\n tags: [\n \"input\",\n \"textarea\"\n ],\n wrapsLiteralText: false,\n note: \"textarea sets multiline, and rows becomes numberOfLines\"\n }\n};\nvar NATIVE_ELEMENT_DEFAULTS = {\n boxSizing: \"content-box\",\n position: \"static\"\n};\nvar NATIVE_BLOCK_DEFAULTS = {\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n};\nvar NATIVE_FLEX_DEFAULTS = {\n alignContent: \"stretch\",\n alignItems: \"stretch\",\n flexBasis: \"auto\",\n flexDirection: \"row\",\n flexShrink: 1,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n};\n//# sourceMappingURL=nativeBacking.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,wBAAwB,CAAC;AAC7B,SAAS,uBAAuB;CAC9B,sBAAsB;CACtB,6BAA6B;CAC7B,+BAA+B;CAC/B,4BAA4B;CAC5B,+BAA+B;AACjC,CAAC;AACD,OAAO,UAAU,aAAa,qBAAqB;AACnD,IAAI,0BAA0B;AAC9B,IAAI,YAAY;CACd;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,IAAI,YAAY;CACd;CACA;CACA;CACA;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,iBAAiB;CACnB,MAAM;EACJ,WAAW;EACX,MAAM;EACN,MAAM;EACN,kBAAkB;EAClB,MAAM;CACR;CACA,MAAM;EACJ,WAAW;EACX,MAAM;EACN,MAAM;EACN,kBAAkB;EAClB,MAAM;CACR;CACA,OAAO;EACL,WAAW;EACX,MAAM;EACN,MAAM,CACJ,KACF;EACA,kBAAkB;EAClB,MAAM;CACR;CACA,WAAW;EACT,WAAW;EACX,MAAM;EACN,MAAM,CACJ,SACA,UACF;EACA,kBAAkB;EAClB,MAAM;CACR;AACF;AACA,IAAI,0BAA0B;CAC5B,WAAW;CACX,UAAU;AACZ;AACA,IAAI,wBAAwB;CAC1B,YAAY;CACZ,SAAS;CACT,WAAW;CACX,eAAe;CACf,YAAY;CACZ,UAAU;CACV,gBAAgB;AAClB;AACA,IAAI,uBAAuB;CACzB,cAAc;CACd,YAAY;CACZ,WAAW;CACX,eAAe;CACf,YAAY;CACZ,UAAU;CACV,gBAAgB;AAClB"}
|
package/dist/cjs/tables/tags.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.native.js","names":[],"sources":["cjs/tables/tags.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 tags_exports = {};\n__export(tags_exports, {\n DISPLAY_WEB_RESET: () => DISPLAY_WEB_RESET,\n TAGS: () => TAGS,\n TAG_NAMES: () => TAG_NAMES,\n TAG_WEB_DEFAULTS: () => TAG_WEB_DEFAULTS\n});\nmodule.exports = __toCommonJS(tags_exports);\nvar DISPLAY_WEB_RESET = {\n block: {\n margin: 0,\n padding: 0\n },\n inline: {\n margin: 0,\n padding: 0,\n textDecorationLine: \"none\"\n },\n \"inline-block\": {\n margin: 0,\n padding: 0,\n borderStyle: \"solid\"\n }\n};\nvar MONOSPACE = {\n fontFamily: \"monospace\"\n};\nvar HEADING = {\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n};\nvar NO_FORM_SUBMISSION = \"renders as a container on native; there is no form submission, validation or reset\";\nvar NO_NATIVE_PICKER = \"native has no menu-based select control, so this tag is a native build error\";\nvar TAGS = {\n a: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"link\",\n element: \"HTMLAnchorElement\",\n props: \"anchor\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no navigation for href, target, rel, download or referrerPolicy\"\n },\n article: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n aside: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n b: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n fontWeight: \"bold\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n bdi: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no bidirectional isolation; the text renders in the inherited direction\"\n },\n bdo: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native honours dir as a writing direction but does not override embedded bidi runs\"\n },\n blockquote: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLQuoteElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n br: {\n display: \"inline\",\n content: \"void\",\n backing: \"text\",\n element: \"HTMLBRElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n button: {\n display: \"inline-block\",\n content: \"flow\",\n backing: \"view\",\n role: \"button\",\n element: \"HTMLButtonElement\",\n props: \"button\",\n defaults: {\n borderWidth: 1\n },\n web: \"host\",\n native: \"polyfill\",\n note: \"html restricts button content to phrasing; the native backing is a view, so block children are allowed\"\n },\n code: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: MONOSPACE,\n web: \"host\",\n native: \"polyfill\"\n },\n del: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLModElement\",\n props: \"common\",\n defaults: {\n textDecorationLine: \"line-through\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n div: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLDivElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n em: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n fontStyle: \"italic\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n fieldset: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLFieldSetElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: NO_FORM_SUBMISSION\n },\n footer: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n form: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLFormElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: NO_FORM_SUBMISSION\n },\n h1: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h2: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h3: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h4: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h5: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h6: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n header: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n role: \"header\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n hr: {\n display: \"block\",\n content: \"void\",\n backing: \"view\",\n element: \"HTMLHRElement\",\n props: \"common\",\n defaults: {\n backgroundColor: \"black\",\n height: 1\n },\n web: \"host\",\n native: \"polyfill\"\n },\n i: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n fontStyle: \"italic\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n img: {\n display: \"inline\",\n content: \"void\",\n backing: \"image\",\n element: \"HTMLImageElement\",\n props: \"image\",\n defaults: {\n objectFit: \"fill\"\n },\n web: \"host\",\n native: \"polyfill\",\n note: \"width and height props set an aspect ratio on native, where images have no intrinsic layout size until they load\"\n },\n input: {\n display: \"inline-block\",\n content: \"void\",\n backing: \"textinput\",\n element: \"HTMLInputElement\",\n props: \"input\",\n defaults: {\n borderWidth: 1\n },\n web: \"host\",\n native: \"polyfill\",\n note: \"native supports the text-like input types only; checkbox, color, date, datetime-local, file, month, radio, range, time and week are a native build error\"\n },\n ins: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLModElement\",\n props: \"common\",\n defaults: {\n textDecorationLine: \"underline\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n kbd: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: MONOSPACE,\n web: \"host\",\n native: \"polyfill\"\n },\n label: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLLabelElement\",\n props: \"label\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no label association, so `for` does not focus or activate its control\"\n },\n li: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n role: \"listitem\",\n element: \"HTMLLIElement\",\n props: \"listitem\",\n web: \"host\",\n native: \"polyfill\",\n note: \"list markers and the `value` counter are not rendered on either platform, matching the list-style reset\"\n },\n main: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n mark: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n backgroundColor: \"yellow\",\n color: \"black\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n nav: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n ol: {\n display: \"block\",\n content: \"tags\",\n childTags: [\n \"li\"\n ],\n backing: \"view\",\n role: \"list\",\n element: \"HTMLOListElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n optgroup: {\n display: \"block\",\n content: \"tags\",\n childTags: [\n \"option\"\n ],\n backing: \"view\",\n element: \"HTMLOptGroupElement\",\n props: \"optgroup\",\n web: \"host\",\n native: \"none\",\n note: NO_NATIVE_PICKER\n },\n option: {\n display: \"block\",\n content: \"text\",\n backing: \"text\",\n element: \"HTMLOptionElement\",\n props: \"option\",\n web: \"host\",\n native: \"none\",\n note: NO_NATIVE_PICKER\n },\n p: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLParagraphElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n pre: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLPreElement\",\n props: \"common\",\n defaults: MONOSPACE,\n web: \"host\",\n native: \"polyfill\",\n note: \"native preserves whitespace in text but has no scroll container, so long lines wrap instead of scrolling\"\n },\n s: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n textDecorationLine: \"line-through\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n section: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n select: {\n display: \"inline-block\",\n content: \"tags\",\n childTags: [\n \"optgroup\",\n \"option\"\n ],\n backing: \"view\",\n element: \"HTMLSelectElement\",\n props: \"select\",\n web: \"host\",\n native: \"none\",\n note: NO_NATIVE_PICKER\n },\n span: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLSpanElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n strong: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n fontWeight: \"bold\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n sub: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no vertical-align, so subscript text sits on the baseline\"\n },\n sup: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no vertical-align, so superscript text sits on the baseline\"\n },\n textarea: {\n display: \"inline-block\",\n content: \"void\",\n backing: \"textinput\",\n element: \"HTMLTextAreaElement\",\n props: \"textarea\",\n defaults: {\n borderWidth: 1\n },\n nativeDefaults: {\n verticalAlign: \"top\"\n },\n web: \"host\",\n native: \"polyfill\",\n note: \"the value comes from value or defaultValue; children are a build error on both platforms\"\n },\n u: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n textDecorationLine: \"underline\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n ul: {\n display: \"block\",\n content: \"tags\",\n childTags: [\n \"li\"\n ],\n backing: \"view\",\n role: \"list\",\n element: \"HTMLUListElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n }\n};\nvar TAG_WEB_DEFAULTS = {\n code: {\n fontSize: \"1em\"\n },\n hr: {\n borderStyle: \"none\",\n borderWidth: 0,\n boxSizing: \"border-box\"\n },\n img: {\n height: \"auto\",\n maxWidth: \"100%\"\n },\n kbd: {\n fontSize: \"1em\"\n },\n pre: {\n fontSize: \"1em\",\n overflow: \"auto\"\n }\n};\nvar TAG_NAMES = Object.keys(TAGS);\n//# sourceMappingURL=tags.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,eAAe,CAAC;AACpB,SAAS,cAAc;CACrB,yBAAyB;CACzB,YAAY;CACZ,iBAAiB;CACjB,wBAAwB;AAC1B,CAAC;AACD,OAAO,UAAU,aAAa,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KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,oBAAoB,eACtB;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,WAAW,SACb;EACA,KAAK;EACL,QAAQ;CACV;CACA,UAAU;EACR,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;GACR,iBAAiB;GACjB,QAAQ;EACV;EACA,KAAK;EACL,QAAQ;CACV;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,WAAW,SACb;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,WAAW,OACb;EACA,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,OAAO;EACL,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,aAAa,EACf;EACA,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,oBAAoB,YACtB;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,OAAO;EACL,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;GACR,iBAAiB;GACjB,OAAO;EACT;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,WAAW,CACT,IACF;EACA,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,UAAU;EACR,SAAS;EACT,SAAS;EACT,WAAW,CACT,QACF;EACA,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,oBAAoB,eACtB;EACA,KAAK;EACL,QAAQ;CACV;CACA,SAAS;EACP,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,WAAW,CACT,YACA,QACF;EACA,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,YAAY,OACd;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,UAAU;EACR,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,aAAa,EACf;EACA,gBAAgB,EACd,eAAe,MACjB;EACA,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,oBAAoB,YACtB;EACA,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,WAAW,CACT,IACF;EACA,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,mBAAmB;CACrB,MAAM,EACJ,UAAU,MACZ;CACA,IAAI;EACF,aAAa;EACb,aAAa;EACb,WAAW;CACb;CACA,KAAK;EACH,QAAQ;EACR,UAAU;CACZ;CACA,KAAK,EACH,UAAU,MACZ;CACA,KAAK;EACH,UAAU;EACV,UAAU;CACZ;AACF;AACA,IAAI,YAAY,OAAO,KAAK,IAAI"}
|
|
1
|
+
{"version":3,"file":"tags.native.js","names":[],"sources":["cjs/tables/tags.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 tags_exports = {};\n__export(tags_exports, {\n DISPLAY_WEB_RESET: () => DISPLAY_WEB_RESET,\n TAGS: () => TAGS,\n TAG_NAMES: () => TAG_NAMES,\n TAG_WEB_DEFAULTS: () => TAG_WEB_DEFAULTS\n});\nmodule.exports = __toCommonJS(tags_exports);\nvar DISPLAY_WEB_RESET = {\n block: {\n margin: 0,\n padding: 0\n },\n inline: {\n margin: 0,\n padding: 0,\n textDecorationLine: \"none\"\n },\n \"inline-block\": {\n margin: 0,\n padding: 0,\n borderStyle: \"solid\"\n }\n};\nvar MONOSPACE = {\n fontFamily: \"monospace\"\n};\nvar HEADING = {\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n};\nvar NO_FORM_SUBMISSION = \"renders as a container on native; there is no form submission, validation or reset\";\nvar NO_NATIVE_PICKER = \"native has no menu-based select control, so this tag is a native build error\";\nvar TAGS = {\n a: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"link\",\n element: \"HTMLAnchorElement\",\n props: \"anchor\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no navigation for href, target, rel, download or referrerPolicy\"\n },\n article: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n aside: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n b: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n fontWeight: \"bold\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n bdi: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no bidirectional isolation; the text renders in the inherited direction\"\n },\n bdo: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native honours dir as a writing direction but does not override embedded bidi runs\"\n },\n blockquote: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLQuoteElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n br: {\n display: \"inline\",\n content: \"void\",\n backing: \"text\",\n element: \"HTMLBRElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n button: {\n display: \"inline-block\",\n content: \"flow\",\n backing: \"view\",\n role: \"button\",\n element: \"HTMLButtonElement\",\n props: \"button\",\n defaults: {\n borderWidth: 1\n },\n web: \"host\",\n native: \"polyfill\",\n note: \"html restricts button content to phrasing; the native backing is a view, so block children are allowed\"\n },\n code: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: MONOSPACE,\n web: \"host\",\n native: \"polyfill\"\n },\n del: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLModElement\",\n props: \"common\",\n defaults: {\n textDecorationLine: \"line-through\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n div: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLDivElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n em: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n fontStyle: \"italic\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n fieldset: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLFieldSetElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: NO_FORM_SUBMISSION\n },\n footer: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n form: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLFormElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: NO_FORM_SUBMISSION\n },\n h1: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h2: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h3: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h4: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h5: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n h6: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n role: \"heading\",\n element: \"HTMLHeadingElement\",\n props: \"common\",\n defaults: HEADING,\n web: \"host\",\n native: \"polyfill\"\n },\n header: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n role: \"header\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n hr: {\n display: \"block\",\n content: \"void\",\n backing: \"view\",\n element: \"HTMLHRElement\",\n props: \"common\",\n defaults: {\n backgroundColor: \"black\",\n height: 1\n },\n web: \"host\",\n native: \"polyfill\"\n },\n i: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n fontStyle: \"italic\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n img: {\n display: \"inline\",\n content: \"void\",\n backing: \"image\",\n element: \"HTMLImageElement\",\n props: \"image\",\n defaults: {\n objectFit: \"fill\"\n },\n web: \"host\",\n native: \"polyfill\",\n note: \"width and height props set an aspect ratio on native, where images have no intrinsic layout size until they load\"\n },\n input: {\n display: \"inline-block\",\n content: \"void\",\n backing: \"textinput\",\n element: \"HTMLInputElement\",\n props: \"input\",\n defaults: {\n borderWidth: 1\n },\n web: \"host\",\n native: \"polyfill\",\n note: \"native supports the text-like input types only; checkbox, color, date, datetime-local, file, month, radio, range, time and week are a native build error\"\n },\n ins: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLModElement\",\n props: \"common\",\n defaults: {\n textDecorationLine: \"underline\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n kbd: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: MONOSPACE,\n web: \"host\",\n native: \"polyfill\"\n },\n label: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLLabelElement\",\n props: \"label\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no label association, so `for` does not focus or activate its control\"\n },\n li: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n role: \"listitem\",\n element: \"HTMLLIElement\",\n props: \"listitem\",\n web: \"host\",\n native: \"polyfill\",\n note: \"list markers and the `value` counter are not rendered on either platform, matching the list-style reset\"\n },\n main: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n mark: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n backgroundColor: \"yellow\",\n color: \"black\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n nav: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n ol: {\n display: \"block\",\n content: \"tags\",\n childTags: [\n \"li\"\n ],\n backing: \"view\",\n role: \"list\",\n element: \"HTMLOListElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n optgroup: {\n display: \"block\",\n content: \"tags\",\n childTags: [\n \"option\"\n ],\n backing: \"view\",\n element: \"HTMLOptGroupElement\",\n props: \"optgroup\",\n web: \"host\",\n native: \"none\",\n note: NO_NATIVE_PICKER\n },\n option: {\n display: \"block\",\n content: \"text\",\n backing: \"text\",\n element: \"HTMLOptionElement\",\n props: \"option\",\n web: \"host\",\n native: \"none\",\n note: NO_NATIVE_PICKER\n },\n p: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLParagraphElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n pre: {\n display: \"block\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLPreElement\",\n props: \"common\",\n defaults: MONOSPACE,\n web: \"host\",\n native: \"polyfill\",\n note: \"native preserves whitespace in text but has no scroll container, so long lines wrap instead of scrolling\"\n },\n s: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n textDecorationLine: \"line-through\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n section: {\n display: \"block\",\n content: \"flow\",\n backing: \"view\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n select: {\n display: \"inline-block\",\n content: \"tags\",\n childTags: [\n \"optgroup\",\n \"option\"\n ],\n backing: \"view\",\n element: \"HTMLSelectElement\",\n props: \"select\",\n web: \"host\",\n native: \"none\",\n note: NO_NATIVE_PICKER\n },\n span: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLSpanElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n },\n strong: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n fontWeight: \"bold\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n sub: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no vertical-align, so subscript text sits on the baseline\"\n },\n sup: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\",\n note: \"native has no vertical-align, so superscript text sits on the baseline\"\n },\n textarea: {\n display: \"inline-block\",\n content: \"void\",\n backing: \"textinput\",\n element: \"HTMLTextAreaElement\",\n props: \"textarea\",\n defaults: {\n borderWidth: 1\n },\n nativeDefaults: {\n verticalAlign: \"top\"\n },\n web: \"host\",\n native: \"polyfill\",\n note: \"the value comes from value or defaultValue; children are a build error on both platforms\"\n },\n u: {\n display: \"inline\",\n content: \"phrasing\",\n backing: \"text\",\n element: \"HTMLElement\",\n props: \"common\",\n defaults: {\n textDecorationLine: \"underline\"\n },\n web: \"host\",\n native: \"polyfill\"\n },\n ul: {\n display: \"block\",\n content: \"tags\",\n childTags: [\n \"li\"\n ],\n backing: \"view\",\n role: \"list\",\n element: \"HTMLUListElement\",\n props: \"common\",\n web: \"host\",\n native: \"polyfill\"\n }\n};\nvar TAG_WEB_DEFAULTS = {\n code: {\n fontSize: \"1em\"\n },\n hr: {\n borderStyle: \"none\",\n borderWidth: 0,\n boxSizing: \"border-box\"\n },\n img: {\n height: \"auto\",\n maxWidth: \"100%\"\n },\n kbd: {\n fontSize: \"1em\"\n },\n pre: {\n fontSize: \"1em\",\n overflow: \"auto\"\n }\n};\nvar TAG_NAMES = Object.keys(TAGS);\n//# sourceMappingURL=tags.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,eAAe,CAAC;AACpB,SAAS,cAAc;CACrB,yBAAyB;CACzB,YAAY;CACZ,iBAAiB;CACjB,wBAAwB;AAC1B,CAAC;AACD,OAAO,UAAU,aAAa,YAAY;AAC1C,IAAI,oBAAoB;CACtB,OAAO;EACL,QAAQ;EACR,SAAS;CACX;CACA,QAAQ;EACN,QAAQ;EACR,SAAS;EACT,oBAAoB;CACtB;CACA,gBAAgB;EACd,QAAQ;EACR,SAAS;EACT,aAAa;CACf;AACF;AACA,IAAI,YAAY,EACd,YAAY,YACd;AACA,IAAI,UAAU;CACZ,UAAU;CACV,YAAY;AACd;AACA,IAAI,qBAAqB;AACzB,IAAI,mBAAmB;AACvB,IAAI,OAAO;CACT,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,SAAS;EACP,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,OAAO;EACL,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,YAAY,OACd;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,YAAY;EACV,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU,EACR,aAAa,EACf;EACA,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,oBAAoB,eACtB;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,WAAW,SACb;EACA,KAAK;EACL,QAAQ;CACV;CACA,UAAU;EACR,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;GACR,iBAAiB;GACjB,QAAQ;EACV;EACA,KAAK;EACL,QAAQ;CACV;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,WAAW,SACb;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,WAAW,OACb;EACA,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,OAAO;EACL,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,aAAa,EACf;EACA,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,oBAAoB,YACtB;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;CACV;CACA,OAAO;EACL,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;GACR,iBAAiB;GACjB,OAAO;EACT;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,WAAW,CACT,IACF;EACA,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,UAAU;EACR,SAAS;EACT,SAAS;EACT,WAAW,CACT,QACF;EACA,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU;EACV,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,oBAAoB,eACtB;EACA,KAAK;EACL,QAAQ;CACV;CACA,SAAS;EACP,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,WAAW,CACT,YACA,QACF;EACA,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;CACA,QAAQ;EACN,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,YAAY,OACd;EACA,KAAK;EACL,QAAQ;CACV;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,KAAK;EACH,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,UAAU;EACR,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,aAAa,EACf;EACA,gBAAgB,EACd,eAAe,MACjB;EACA,KAAK;EACL,QAAQ;EACR,MAAM;CACR;CACA,GAAG;EACD,SAAS;EACT,SAAS;EACT,SAAS;EACT,SAAS;EACT,OAAO;EACP,UAAU,EACR,oBAAoB,YACtB;EACA,KAAK;EACL,QAAQ;CACV;CACA,IAAI;EACF,SAAS;EACT,SAAS;EACT,WAAW,CACT,IACF;EACA,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,KAAK;EACL,QAAQ;CACV;AACF;AACA,IAAI,mBAAmB;CACrB,MAAM,EACJ,UAAU,MACZ;CACA,IAAI;EACF,aAAa;EACb,aAAa;EACb,WAAW;CACb;CACA,KAAK;EACH,QAAQ;EACR,UAAU;CACZ;CACA,KAAK,EACH,UAAU,MACZ;CACA,KAAK;EACH,UAAU;EACV,UAAU;CACZ;AACF;AACA,IAAI,YAAY,OAAO,KAAK,IAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.native.js","names":[],"sources":["cjs/tables/types.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 types_exports = {};\nmodule.exports = __toCommonJS(types_exports);\n//# sourceMappingURL=types.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.native.js","names":[],"sources":["cjs/tables/types.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 types_exports = {};\nmodule.exports = __toCommonJS(types_exports);\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,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,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/dom",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.719.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"react": ">=19"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@tamagui/build": "3.0.0-beta.
|
|
58
|
-
"react": "
|
|
57
|
+
"@tamagui/build": "3.0.0-beta.719.1",
|
|
58
|
+
"react": "19.2.3",
|
|
59
59
|
"vitest": "4.0.4"
|
|
60
60
|
},
|
|
61
61
|
"repository": {
|