@expo/styleguide-native 7.0.2 → 8.0.0
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/index.js +2 -1
- package/dist/index.js.map +1 -0
- package/dist/src/styles/typography.d.ts +50 -49
- package/package.json +10 -4
package/dist/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import e from"react";import t,{Path as i}from"react-native-svg";var l=function(){return l=Object.assign||function(e){for(var t,i=1,l=arguments.length;i<l;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},l.apply(this,arguments)};function n(n){var h=n.color;return e.createElement(t,l({viewBox:"0 0 20 20",fill:"none"},n),e.createElement(i,{d:"M12.07 8a.157.157 0 01.166.015l5.374 4.141a.16.16 0 01.055.168l-.37 1.298a.157.157 0 01-.234.09l-4.416-2.768-.846 5.47a.157.157 0 01-.219.12l-1.158-.518a.157.157 0 01-.093-.154l.477-7.132a.157.157 0 01.085-.129L12.069 8z",fill:h||"#000"}),e.createElement(i,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.584.02a.157.157 0 00-.157.001L.708 5.071l-.003.001a.157.157 0 00-.079.135V15.31c0 .056.03.108.079.136l1.71.984.004.003a.157.157 0 00.157 0l1.054-.61v1.183c0 .056.03.108.078.136l1.715.987a.157.157 0 00.156 0l.003-.002 2.024-1.172.91 2.934a.157.157 0 00.198.102l1.815-.594a.156.156 0 00.03-.013l8.732-4.666a.157.157 0 00.075-.186L16.06 4.258a.157.157 0 00-.205-.098l-1.473.529v-1.85a.157.157 0 00-.079-.135l-.002-.001-1.713-.986a.157.157 0 00-.156 0l-1.054.61V1.144a.157.157 0 00-.078-.136L9.584.02zM5.33 9.56l-.003-1.578-1.383-.805v9.74l1.4.806-.014-8.119a.156.156 0 010-.045zM.94 5.48l1.384.805.017 9.741-1.4-.806V5.48zm9.968-4.336l-1.4-.806-8.412 4.87 1.385.806 8.427-4.87zM5.483 7.71l8.427-4.87-1.4-.806-8.411 4.87 1.384.806zm5.09 11.313l-3.21-9.971 8.455-4.519 3.21 9.97-8.456 4.52zM5.678 9.678l3.09 9.967 1.514-.496-3.21-9.972-1.394.501z",fill:h||"#000"}))}function h(n){var h=n.color;return e.createElement(t,l({viewBox:"0 0 20 20",fill:"none"},n),e.createElement(i,{d:"M18.072 7.75a1.749 1.749 0 00-1.56-.732 1.763 1.763 0 00-1.436.946 1.55 1.55 0 00.302 1.75 2.57 2.57 0 001.716-.484 2.53 2.53 0 00.978-1.48zM12.866 1L11.751.394 6.897 3.072l.387.207.736.383 1.332-.733L12.867.987 12.866 1zm.449-.184a.173.173 0 01.124.115l1.626 4.755a.158.158 0 01-.077.207 3.126 3.126 0 00-1.384 1.519 3.09 3.09 0 00-.134 2.042 3.29 3.29 0 001.35 1.793 3.343 3.343 0 002.195.524.208.208 0 01.202.123l1.68 4.88a.196.196 0 01-.078.215l-5.163 2.992a.195.195 0 01-.078.015.208.208 0 01-.14-.022l-1.81-1.129a.18.18 0 01-.078-.076l-3.538-8.065-5.388 3.039a.25.25 0 01-.21.008l-1.224-.69a.177.177 0 01-.077-.23l5.234-9.847c.02-.033.05-.06.085-.076L11.65.023a.2.2 0 01.186 0l1.479.793zM6.843 3.46l-.256-.13-5.044 9.523.92.514 4.352-5.643a.212.212 0 01.178-.077.217.217 0 01.155.115l4.738 10.82 1.266.775L8.066 4.62l-.216-.614-1.014-.552.007.007zm7.804 5.679a1.932 1.932 0 01.092-1.28c.176-.404.484-.737.875-.945a2.152 2.152 0 012.509.307 1.934 1.934 0 01.056 2.745l-.056.056a2.118 2.118 0 01-1.986.516 2.118 2.118 0 01-.928-.508 2.091 2.091 0 01-.562-.891z",fill:h||"#000"}))}function o(n){var h=n.color;return e.createElement(t,l({viewBox:"0 0 20 20",fill:"none"},n),e.createElement(i,{d:"M9.477 7.638c.164-.24.343-.27.488-.27.145 0 .387.03.551.27 2.13 2.901 6.55 10.56 6.959 10.976.605.618 1.436.233 1.918-.468.475-.69.607-1.174.607-1.69 0-.352-6.883-13.05-7.576-14.106-.667-1.017-.884-1.274-2.025-1.274h-.854c-1.138 0-1.302.257-1.969 1.274C6.883 3.406 0 16.104 0 16.456c0 .517.132 1 .607 1.69.482.7 1.313 1.086 1.918.468.41-.417 4.822-8.075 6.952-10.977z",fill:h||"#000"}))}function a(n){var h=n.color;return e.createElement(t,l({viewBox:"0 0 20 20",fill:"none"},n),e.createElement(i,{fillRule:"evenodd",clipRule:"evenodd",d:"M17.168 1.152a2.752 2.752 0 100 5.504 2.752 2.752 0 000-5.504zm-2.43 2.752a2.429 2.429 0 014.608-1.075 3.805 3.805 0 01-3.701 2.925h-.051a2.423 2.423 0 01-.855-1.85zm-1.755-1.422a.16.16 0 01.081.14v4.825L17.23 9.86c.05.029.081.082.082.14l.026 4.92a.16.16 0 01-.081.14l-8.52 4.92a.161.161 0 01-.242-.14V10c0-.057.03-.11.08-.14l4.006-2.319-4.005-2.32a.161.161 0 010-.28l4.246-2.458a.161.161 0 01.162 0zm3.845 7.517L13.064 7.82v4.36L16.828 10zM8.978 5.08l3.764 2.18V2.901l-3.763 2.18z",fill:h||"#000"}),e.createElement(i,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.75.022a.161.161 0 00-.162 0l-4.242 2.46a.16.16 0 00-.019.01L.11 4.94l-.003.001a.161.161 0 00-.081.136v.004l-.013 4.994a.161.161 0 000 .125L0 14.92c0 .058.03.111.08.14l4.24 2.455.03.018 4.226 2.446a.161.161 0 00.242-.14v-9.746l4.166-2.412a.162.162 0 000-.28l-.081-.046V2.808l.08-.047a.162.162 0 000-.28L8.75.022zm3.828 2.597L8.67.35 4.74 2.626l3.917 2.267 3.922-2.275zM8.656 5.268L4.74 7.538l3.916 2.275L12.58 7.54 8.656 5.268zM4.419 7.352l3.915-2.27-3.916-2.268L.508 5.08 4.42 7.35zm-.165.277v4.692L.336 10.05l.012-4.69 3.906 2.268zm.323 4.879V7.817l3.918 2.275v4.685l-3.918-2.27zm-.323.186l-3.92-2.27-.01 4.403 3.93 2.276v-4.41zm.323 4.596v-4.41l3.918 2.27v4.408L4.577 17.29z",fill:h||"#000"}))}function f(n){var h=n.color;return e.createElement(t,l({viewBox:"0 0 71 20",fill:"none"},n),e.createElement(i,{d:"M9.258 6.342c.158-.23.331-.26.472-.26.14 0 .374.03.532.26 2.06 2.806 6.332 10.208 6.727 10.611.585.597 1.388.225 1.854-.452.46-.667.587-1.135.587-1.634 0-.34-6.653-12.614-7.324-13.636C11.462.248 11.252 0 10.15 0h-.825c-1.1 0-1.259.248-1.903 1.23C6.75 2.254.097 14.528.097 14.868c0 .5.127.967.587 1.634.466.677 1.269 1.05 1.854.452.395-.403 4.661-7.805 6.72-10.61zm14.941-5.237v15.344h9.35v-3.113h-6.125v-3.244h5.45V6.98h-5.45V4.218h6.125V1.105h-9.35zM46.25 16.449l-3.88-5.568 3.619-5.195h-3.662L40.54 8.23l-1.765-2.543h-3.706l3.618 5.217-3.857 5.546h3.661l2.027-2.915 2.027 2.915h3.705zm7.572-10.982c-1.482 0-2.637.614-3.378 1.732V5.686H47.37V20h3.073v-5.063c.74 1.117 1.896 1.731 3.378 1.731 2.768 0 4.97-2.52 4.97-5.611 0-3.091-2.202-5.59-4.97-5.59zm-.697 8.242c-1.504 0-2.681-1.14-2.681-2.652 0-1.49 1.177-2.653 2.68-2.653 1.483 0 2.681 1.184 2.681 2.653 0 1.49-1.198 2.652-2.68 2.652zm12.188-8.242c-3.16 0-5.558 2.411-5.558 5.612 0 3.2 2.397 5.59 5.557 5.59 3.139 0 5.558-2.39 5.558-5.59 0-3.2-2.42-5.612-5.558-5.612zm0 2.96c1.438 0 2.55 1.117 2.55 2.652 0 1.49-1.112 2.63-2.55 2.63-1.46 0-2.55-1.14-2.55-2.63 0-1.535 1.09-2.653 2.55-2.653z",fill:h||"#000"}))}"function"==typeof SuppressedError&&SuppressedError;var g={xs:{elevation:1,shadowColor:"#000",shadowRadius:1,shadowOffset:{height:1,width:0},shadowOpacity:.075},sm:{elevation:4,shadowColor:"#000",shadowRadius:3,shadowOffset:{height:3,width:0},shadowOpacity:.15},md:{elevation:8,shadowColor:"#000",shadowRadius:8,shadowOffset:{height:6,width:0},shadowOpacity:.15},lg:{elevation:16,shadowColor:"#000",shadowRadius:10,shadowOffset:{height:10,width:0},shadowOpacity:.17},xl:{elevation:28,shadowColor:"#000",shadowRadius:25,shadowOffset:{height:16,width:0},shadowOpacity:.2}},r=16,c={61:{fontSize:61,lineHeight:73,letterSpacing:-.352},53:{fontSize:53,lineHeight:64,letterSpacing:-.352},49:{fontSize:49,lineHeight:59,letterSpacing:-.352},46:{fontSize:46,lineHeight:55,letterSpacing:-.352},43:{fontSize:43,lineHeight:52,letterSpacing:-.352},39:{fontSize:39,lineHeight:51,letterSpacing:-.352},37:{fontSize:37,lineHeight:48,letterSpacing:-.352},34:{fontSize:34,lineHeight:44,letterSpacing:-.352},31:{fontSize:31,lineHeight:40,letterSpacing:-.336},29:{fontSize:29,lineHeight:38,letterSpacing:-.336},27:{fontSize:27,lineHeight:36,letterSpacing:-.336},25:{fontSize:25,lineHeight:35,letterSpacing:-.336},23:{fontSize:23,lineHeight:32,letterSpacing:-.304},22:{fontSize:22,lineHeight:31,letterSpacing:-.288},20:{fontSize:20,lineHeight:30,letterSpacing:-.272},19:{fontSize:19,lineHeight:29,letterSpacing:-.24},18:{fontSize:18,lineHeight:28,letterSpacing:-.224},16:{fontSize:16,lineHeight:26,letterSpacing:-.176},15:{fontSize:15,lineHeight:24,letterSpacing:-.144},14:{fontSize:14,lineHeight:22,letterSpacing:-.096},13:{fontSize:13,lineHeight:21,letterSpacing:-.048},12:{fontSize:12,lineHeight:19}},d={xl:{large:{huge:l({fontWeight:"900"},c[61]),h1:l({fontWeight:"600"},c[49]),h2:l({fontWeight:"600"},c[39]),h3:l({fontWeight:"600"},c[31]),h4:l({fontWeight:"600"},c[25]),h5:l({fontWeight:"600"},c[20]),h6:l({fontWeight:"600"},c[16])},medium:{huge:l({fontWeight:"900"},c[53]),h1:l({fontWeight:"600"},c[43]),h2:l({fontWeight:"600"},c[34]),h3:l({fontWeight:"600"},c[27]),h4:l({fontWeight:"600"},c[22]),h5:l({fontWeight:"600"},c[18]),h6:l({fontWeight:"600"},c[16])},small:{huge:l({fontWeight:"900"},c[46]),h1:l({fontWeight:"600"},c[37]),h2:l({fontWeight:"600"},c[29]),h3:l({fontWeight:"600"},c[23]),h4:l({fontWeight:"600"},c[19]),h5:l({fontWeight:"600"},c[16]),h6:l({fontWeight:"600"},c[16])}},default:{large:{huge:l({fontWeight:"900"},c[39]),h1:l({fontWeight:"600"},c[31]),h2:l({fontWeight:"600"},c[25]),h3:l({fontWeight:"600"},c[20]),h4:l({fontWeight:"600"},c[16]),h5:l({fontWeight:"600"},c[13]),h6:l({fontWeight:"600"},c[12])},medium:{huge:l({fontWeight:"900"},c[34]),h1:l({fontWeight:"600"},c[27]),h2:l({fontWeight:"600"},c[22]),h3:l({fontWeight:"600"},c[18]),h4:l({fontWeight:"600"},c[16]),h5:l({fontWeight:"600"},c[13]),h6:l({fontWeight:"600"},c[12])},small:{huge:l({fontWeight:"900"},c[29]),h1:l({fontWeight:"600"},c[23]),h2:l({fontWeight:"600"},c[19]),h3:l({fontWeight:"600"},c[16]),h4:l({fontWeight:"600"},c[16]),h5:l({fontWeight:"600"},c[13]),h6:l({fontWeight:"600"},c[12])}}},z=l({fontWeight:"400"},c[16]),W={baseFontSize:r,headers:d,body:{headline:l({fontWeight:"500"},c[16]),paragraph:z,label:l({fontWeight:"500"},c[15]),callout:l({fontWeight:"400"},c[14]),footnote:l({fontWeight:"400"},c[13]),caption:l({fontWeight:"400"},c[12]),code:l({fontWeight:"400"},c[13])},fontSizes:c};export{n as DocsLogo,h as ExpoGoLogo,o as Logo,a as SnackLogo,f as WordMarkLogo,g as shadows,W as typography};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../src/logos/DocsLogo.tsx","../../src/logos/ExpoGoLogo.tsx","../../src/logos/Logo.tsx","../../src/logos/SnackLogo.tsx","../../src/logos/WordMarkLogo.tsx","../../src/styles/shadows.ts","../../src/styles/typography.ts"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nvar ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n","import React from 'react';\nimport Svg, { Path } from 'react-native-svg';\n\nimport { IconProps } from '../types';\nexport default function DocsLogo(props: IconProps) {\n const { color } = props;\n return (\n <Svg viewBox=\"0 0 20 20\" fill=\"none\" {...props}>\n <Path\n d=\"M12.07 8a.157.157 0 01.166.015l5.374 4.141a.16.16 0 01.055.168l-.37 1.298a.157.157 0 01-.234.09l-4.416-2.768-.846 5.47a.157.157 0 01-.219.12l-1.158-.518a.157.157 0 01-.093-.154l.477-7.132a.157.157 0 01.085-.129L12.069 8z\"\n fill={color || '#000'}\n />\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.584.02a.157.157 0 00-.157.001L.708 5.071l-.003.001a.157.157 0 00-.079.135V15.31c0 .056.03.108.079.136l1.71.984.004.003a.157.157 0 00.157 0l1.054-.61v1.183c0 .056.03.108.078.136l1.715.987a.157.157 0 00.156 0l.003-.002 2.024-1.172.91 2.934a.157.157 0 00.198.102l1.815-.594a.156.156 0 00.03-.013l8.732-4.666a.157.157 0 00.075-.186L16.06 4.258a.157.157 0 00-.205-.098l-1.473.529v-1.85a.157.157 0 00-.079-.135l-.002-.001-1.713-.986a.157.157 0 00-.156 0l-1.054.61V1.144a.157.157 0 00-.078-.136L9.584.02zM5.33 9.56l-.003-1.578-1.383-.805v9.74l1.4.806-.014-8.119a.156.156 0 010-.045zM.94 5.48l1.384.805.017 9.741-1.4-.806V5.48zm9.968-4.336l-1.4-.806-8.412 4.87 1.385.806 8.427-4.87zM5.483 7.71l8.427-4.87-1.4-.806-8.411 4.87 1.384.806zm5.09 11.313l-3.21-9.971 8.455-4.519 3.21 9.97-8.456 4.52zM5.678 9.678l3.09 9.967 1.514-.496-3.21-9.972-1.394.501z\"\n fill={color || '#000'}\n />\n </Svg>\n );\n}\n","import React from 'react';\nimport Svg, { Path } from 'react-native-svg';\n\nimport { IconProps } from '../types';\nexport default function ExpoGoLogo(props: IconProps) {\n const { color } = props;\n return (\n <Svg viewBox=\"0 0 20 20\" fill=\"none\" {...props}>\n <Path\n d=\"M18.072 7.75a1.749 1.749 0 00-1.56-.732 1.763 1.763 0 00-1.436.946 1.55 1.55 0 00.302 1.75 2.57 2.57 0 001.716-.484 2.53 2.53 0 00.978-1.48zM12.866 1L11.751.394 6.897 3.072l.387.207.736.383 1.332-.733L12.867.987 12.866 1zm.449-.184a.173.173 0 01.124.115l1.626 4.755a.158.158 0 01-.077.207 3.126 3.126 0 00-1.384 1.519 3.09 3.09 0 00-.134 2.042 3.29 3.29 0 001.35 1.793 3.343 3.343 0 002.195.524.208.208 0 01.202.123l1.68 4.88a.196.196 0 01-.078.215l-5.163 2.992a.195.195 0 01-.078.015.208.208 0 01-.14-.022l-1.81-1.129a.18.18 0 01-.078-.076l-3.538-8.065-5.388 3.039a.25.25 0 01-.21.008l-1.224-.69a.177.177 0 01-.077-.23l5.234-9.847c.02-.033.05-.06.085-.076L11.65.023a.2.2 0 01.186 0l1.479.793zM6.843 3.46l-.256-.13-5.044 9.523.92.514 4.352-5.643a.212.212 0 01.178-.077.217.217 0 01.155.115l4.738 10.82 1.266.775L8.066 4.62l-.216-.614-1.014-.552.007.007zm7.804 5.679a1.932 1.932 0 01.092-1.28c.176-.404.484-.737.875-.945a2.152 2.152 0 012.509.307 1.934 1.934 0 01.056 2.745l-.056.056a2.118 2.118 0 01-1.986.516 2.118 2.118 0 01-.928-.508 2.091 2.091 0 01-.562-.891z\"\n fill={color || '#000'}\n />\n </Svg>\n );\n}\n","import React from 'react';\nimport Svg, { Path } from 'react-native-svg';\n\nimport { IconProps } from '../types';\nexport default function Logo(props: IconProps) {\n const { color } = props;\n return (\n <Svg viewBox=\"0 0 20 20\" fill=\"none\" {...props}>\n <Path\n d=\"M9.477 7.638c.164-.24.343-.27.488-.27.145 0 .387.03.551.27 2.13 2.901 6.55 10.56 6.959 10.976.605.618 1.436.233 1.918-.468.475-.69.607-1.174.607-1.69 0-.352-6.883-13.05-7.576-14.106-.667-1.017-.884-1.274-2.025-1.274h-.854c-1.138 0-1.302.257-1.969 1.274C6.883 3.406 0 16.104 0 16.456c0 .517.132 1 .607 1.69.482.7 1.313 1.086 1.918.468.41-.417 4.822-8.075 6.952-10.977z\"\n fill={color || '#000'}\n />\n </Svg>\n );\n}\n","import React from 'react';\nimport Svg, { Path } from 'react-native-svg';\n\nimport { IconProps } from '../types';\nexport default function SnackLogo(props: IconProps) {\n const { color } = props;\n return (\n <Svg viewBox=\"0 0 20 20\" fill=\"none\" {...props}>\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M17.168 1.152a2.752 2.752 0 100 5.504 2.752 2.752 0 000-5.504zm-2.43 2.752a2.429 2.429 0 014.608-1.075 3.805 3.805 0 01-3.701 2.925h-.051a2.423 2.423 0 01-.855-1.85zm-1.755-1.422a.16.16 0 01.081.14v4.825L17.23 9.86c.05.029.081.082.082.14l.026 4.92a.16.16 0 01-.081.14l-8.52 4.92a.161.161 0 01-.242-.14V10c0-.057.03-.11.08-.14l4.006-2.319-4.005-2.32a.161.161 0 010-.28l4.246-2.458a.161.161 0 01.162 0zm3.845 7.517L13.064 7.82v4.36L16.828 10zM8.978 5.08l3.764 2.18V2.901l-3.763 2.18z\"\n fill={color || '#000'}\n />\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.75.022a.161.161 0 00-.162 0l-4.242 2.46a.16.16 0 00-.019.01L.11 4.94l-.003.001a.161.161 0 00-.081.136v.004l-.013 4.994a.161.161 0 000 .125L0 14.92c0 .058.03.111.08.14l4.24 2.455.03.018 4.226 2.446a.161.161 0 00.242-.14v-9.746l4.166-2.412a.162.162 0 000-.28l-.081-.046V2.808l.08-.047a.162.162 0 000-.28L8.75.022zm3.828 2.597L8.67.35 4.74 2.626l3.917 2.267 3.922-2.275zM8.656 5.268L4.74 7.538l3.916 2.275L12.58 7.54 8.656 5.268zM4.419 7.352l3.915-2.27-3.916-2.268L.508 5.08 4.42 7.35zm-.165.277v4.692L.336 10.05l.012-4.69 3.906 2.268zm.323 4.879V7.817l3.918 2.275v4.685l-3.918-2.27zm-.323.186l-3.92-2.27-.01 4.403 3.93 2.276v-4.41zm.323 4.596v-4.41l3.918 2.27v4.408L4.577 17.29z\"\n fill={color || '#000'}\n />\n </Svg>\n );\n}\n","import React from 'react';\nimport Svg, { Path } from 'react-native-svg';\n\nimport { IconProps } from '../types';\nexport default function WordMarkLogo(props: IconProps) {\n const { color } = props;\n return (\n <Svg viewBox=\"0 0 71 20\" fill=\"none\" {...props}>\n <Path\n d=\"M9.258 6.342c.158-.23.331-.26.472-.26.14 0 .374.03.532.26 2.06 2.806 6.332 10.208 6.727 10.611.585.597 1.388.225 1.854-.452.46-.667.587-1.135.587-1.634 0-.34-6.653-12.614-7.324-13.636C11.462.248 11.252 0 10.15 0h-.825c-1.1 0-1.259.248-1.903 1.23C6.75 2.254.097 14.528.097 14.868c0 .5.127.967.587 1.634.466.677 1.269 1.05 1.854.452.395-.403 4.661-7.805 6.72-10.61zm14.941-5.237v15.344h9.35v-3.113h-6.125v-3.244h5.45V6.98h-5.45V4.218h6.125V1.105h-9.35zM46.25 16.449l-3.88-5.568 3.619-5.195h-3.662L40.54 8.23l-1.765-2.543h-3.706l3.618 5.217-3.857 5.546h3.661l2.027-2.915 2.027 2.915h3.705zm7.572-10.982c-1.482 0-2.637.614-3.378 1.732V5.686H47.37V20h3.073v-5.063c.74 1.117 1.896 1.731 3.378 1.731 2.768 0 4.97-2.52 4.97-5.611 0-3.091-2.202-5.59-4.97-5.59zm-.697 8.242c-1.504 0-2.681-1.14-2.681-2.652 0-1.49 1.177-2.653 2.68-2.653 1.483 0 2.681 1.184 2.681 2.653 0 1.49-1.198 2.652-2.68 2.652zm12.188-8.242c-3.16 0-5.558 2.411-5.558 5.612 0 3.2 2.397 5.59 5.557 5.59 3.139 0 5.558-2.39 5.558-5.59 0-3.2-2.42-5.612-5.558-5.612zm0 2.96c1.438 0 2.55 1.117 2.55 2.652 0 1.49-1.112 2.63-2.55 2.63-1.46 0-2.55-1.14-2.55-2.63 0-1.535 1.09-2.653 2.55-2.653z\"\n fill={color || '#000'}\n />\n </Svg>\n );\n}\n","export const shadows = {\n xs: {\n elevation: 1,\n shadowColor: '#000',\n shadowRadius: 1,\n shadowOffset: { height: 1, width: 0 },\n shadowOpacity: 0.075,\n },\n sm: {\n elevation: 4,\n shadowColor: '#000',\n shadowRadius: 3,\n shadowOffset: { height: 3, width: 0 },\n shadowOpacity: 0.15,\n },\n md: {\n elevation: 8,\n shadowColor: '#000',\n shadowRadius: 8,\n shadowOffset: { height: 6, width: 0 },\n shadowOpacity: 0.15,\n },\n lg: {\n elevation: 16,\n shadowColor: '#000',\n shadowRadius: 10,\n shadowOffset: { height: 10, width: 0 },\n shadowOpacity: 0.17,\n },\n xl: {\n elevation: 28,\n shadowColor: '#000',\n shadowRadius: 25,\n shadowOffset: { height: 16, width: 0 },\n shadowOpacity: 0.2,\n },\n};\n","import { type TextStyle } from 'react-native/Libraries/StyleSheet/StyleSheetTypes';\n\nconst baseFontSize = 16;\n\nconst fontSizes = {\n 61: {\n fontSize: 61,\n lineHeight: 73,\n letterSpacing: -0.022 * baseFontSize,\n },\n 53: {\n fontSize: 53,\n lineHeight: 64,\n letterSpacing: -0.022 * baseFontSize,\n },\n 49: {\n fontSize: 49,\n lineHeight: 59,\n letterSpacing: -0.022 * baseFontSize,\n },\n 46: {\n fontSize: 46,\n lineHeight: 55,\n letterSpacing: -0.022 * baseFontSize,\n },\n 43: {\n fontSize: 43,\n lineHeight: 52,\n letterSpacing: -0.022 * baseFontSize,\n },\n 39: {\n fontSize: 39,\n lineHeight: 51,\n letterSpacing: -0.022 * baseFontSize,\n },\n 37: {\n fontSize: 37,\n lineHeight: 48,\n letterSpacing: -0.022 * baseFontSize,\n },\n 34: {\n fontSize: 34,\n lineHeight: 44,\n letterSpacing: -0.022 * baseFontSize,\n },\n 31: {\n fontSize: 31,\n lineHeight: 40,\n letterSpacing: -0.021 * baseFontSize,\n },\n 29: {\n fontSize: 29,\n lineHeight: 38,\n letterSpacing: -0.021 * baseFontSize,\n },\n 27: {\n fontSize: 27,\n lineHeight: 36,\n letterSpacing: -0.021 * baseFontSize,\n },\n 25: {\n fontSize: 25,\n lineHeight: 35,\n letterSpacing: -0.021 * baseFontSize,\n },\n 23: {\n fontSize: 23,\n lineHeight: 32,\n letterSpacing: -0.019 * baseFontSize,\n },\n 22: {\n fontSize: 22,\n lineHeight: 31,\n letterSpacing: -0.018 * baseFontSize,\n },\n 20: {\n fontSize: 20,\n lineHeight: 30,\n letterSpacing: -0.017 * baseFontSize,\n },\n 19: {\n fontSize: 19,\n lineHeight: 29,\n letterSpacing: -0.015 * baseFontSize,\n },\n 18: {\n fontSize: 18,\n lineHeight: 28,\n letterSpacing: -0.014 * baseFontSize,\n },\n 16: {\n fontSize: 16,\n lineHeight: 26,\n letterSpacing: -0.011 * baseFontSize,\n },\n 15: {\n fontSize: 15,\n lineHeight: 24,\n letterSpacing: -0.009 * baseFontSize,\n },\n 14: {\n fontSize: 14,\n lineHeight: 22,\n letterSpacing: -0.006 * baseFontSize,\n },\n 13: {\n fontSize: 13,\n lineHeight: 21,\n letterSpacing: -0.003 * baseFontSize,\n },\n 12: {\n fontSize: 12,\n lineHeight: 19,\n },\n};\n\nconst headers = {\n xl: {\n large: {\n huge: {\n fontWeight: '900' as TextStyle['fontWeight'],\n ...fontSizes[61],\n },\n h1: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[49],\n },\n h2: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[39],\n },\n h3: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[31],\n },\n h4: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[25],\n },\n h5: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[20],\n },\n h6: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n },\n medium: {\n huge: {\n fontWeight: '900' as TextStyle['fontWeight'],\n ...fontSizes[53],\n },\n h1: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[43],\n },\n h2: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[34],\n },\n h3: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[27],\n },\n h4: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[22],\n },\n h5: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[18],\n },\n h6: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n },\n small: {\n huge: {\n fontWeight: '900' as TextStyle['fontWeight'],\n ...fontSizes[46],\n },\n h1: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[37],\n },\n h2: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[29],\n },\n h3: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[23],\n },\n h4: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[19],\n },\n h5: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n h6: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n },\n },\n default: {\n large: {\n huge: {\n fontWeight: '900' as TextStyle['fontWeight'],\n ...fontSizes[39],\n },\n h1: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[31],\n },\n h2: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[25],\n },\n h3: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[20],\n },\n h4: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n h5: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[13],\n },\n h6: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[12],\n },\n },\n medium: {\n huge: {\n fontWeight: '900' as TextStyle['fontWeight'],\n ...fontSizes[34],\n },\n h1: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[27],\n },\n h2: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[22],\n },\n h3: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[18],\n },\n h4: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n h5: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[13],\n },\n h6: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[12],\n },\n },\n small: {\n huge: {\n fontWeight: '900' as TextStyle['fontWeight'],\n ...fontSizes[29],\n },\n h1: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[23],\n },\n h2: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[19],\n },\n h3: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n h4: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n h5: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[13],\n },\n h6: {\n fontWeight: '600' as TextStyle['fontWeight'],\n ...fontSizes[12],\n },\n },\n },\n};\n\nconst baseStyle = {\n fontWeight: '400' as TextStyle['fontWeight'],\n ...fontSizes[16],\n};\n\nconst body = {\n headline: {\n fontWeight: '500' as TextStyle['fontWeight'],\n ...fontSizes[16],\n },\n paragraph: baseStyle,\n label: {\n fontWeight: '500' as TextStyle['fontWeight'],\n ...fontSizes[15],\n },\n callout: {\n fontWeight: '400' as TextStyle['fontWeight'],\n ...fontSizes[14],\n },\n footnote: {\n fontWeight: '400' as TextStyle['fontWeight'],\n ...fontSizes[13],\n },\n caption: {\n fontWeight: '400' as TextStyle['fontWeight'],\n ...fontSizes[12],\n },\n code: {\n fontWeight: '400' as TextStyle['fontWeight'],\n ...fontSizes[13],\n },\n};\n\nexport const typography = {\n baseFontSize,\n headers,\n body,\n fontSizes,\n};\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","DocsLogo","props","color","React","createElement","Svg","viewBox","fill","Path","d","fillRule","clipRule","ExpoGoLogo","Logo","SnackLogo","WordMarkLogo","SuppressedError","shadows","xs","elevation","shadowColor","shadowRadius","shadowOffset","height","width","shadowOpacity","sm","md","lg","xl","baseFontSize","fontSizes","fontSize","lineHeight","letterSpacing","headers","large","huge","fontWeight","h1","h2","h3","h4","h5","h6","medium","small","default","baseStyle","typography","body","headline","paragraph","label","callout","footnote","caption","code"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type TextStyle } from 'react-native/Libraries/StyleSheet/StyleSheetTypes';
|
|
1
2
|
export declare const typography: {
|
|
2
3
|
baseFontSize: number;
|
|
3
4
|
headers: {
|
|
@@ -7,43 +8,43 @@ export declare const typography: {
|
|
|
7
8
|
fontSize: number;
|
|
8
9
|
lineHeight: number;
|
|
9
10
|
letterSpacing: number;
|
|
10
|
-
fontWeight:
|
|
11
|
+
fontWeight: TextStyle["fontWeight"];
|
|
11
12
|
};
|
|
12
13
|
h1: {
|
|
13
14
|
fontSize: number;
|
|
14
15
|
lineHeight: number;
|
|
15
16
|
letterSpacing: number;
|
|
16
|
-
fontWeight:
|
|
17
|
+
fontWeight: TextStyle["fontWeight"];
|
|
17
18
|
};
|
|
18
19
|
h2: {
|
|
19
20
|
fontSize: number;
|
|
20
21
|
lineHeight: number;
|
|
21
22
|
letterSpacing: number;
|
|
22
|
-
fontWeight:
|
|
23
|
+
fontWeight: TextStyle["fontWeight"];
|
|
23
24
|
};
|
|
24
25
|
h3: {
|
|
25
26
|
fontSize: number;
|
|
26
27
|
lineHeight: number;
|
|
27
28
|
letterSpacing: number;
|
|
28
|
-
fontWeight:
|
|
29
|
+
fontWeight: TextStyle["fontWeight"];
|
|
29
30
|
};
|
|
30
31
|
h4: {
|
|
31
32
|
fontSize: number;
|
|
32
33
|
lineHeight: number;
|
|
33
34
|
letterSpacing: number;
|
|
34
|
-
fontWeight:
|
|
35
|
+
fontWeight: TextStyle["fontWeight"];
|
|
35
36
|
};
|
|
36
37
|
h5: {
|
|
37
38
|
fontSize: number;
|
|
38
39
|
lineHeight: number;
|
|
39
40
|
letterSpacing: number;
|
|
40
|
-
fontWeight:
|
|
41
|
+
fontWeight: TextStyle["fontWeight"];
|
|
41
42
|
};
|
|
42
43
|
h6: {
|
|
43
44
|
fontSize: number;
|
|
44
45
|
lineHeight: number;
|
|
45
46
|
letterSpacing: number;
|
|
46
|
-
fontWeight:
|
|
47
|
+
fontWeight: TextStyle["fontWeight"];
|
|
47
48
|
};
|
|
48
49
|
};
|
|
49
50
|
medium: {
|
|
@@ -51,43 +52,43 @@ export declare const typography: {
|
|
|
51
52
|
fontSize: number;
|
|
52
53
|
lineHeight: number;
|
|
53
54
|
letterSpacing: number;
|
|
54
|
-
fontWeight:
|
|
55
|
+
fontWeight: TextStyle["fontWeight"];
|
|
55
56
|
};
|
|
56
57
|
h1: {
|
|
57
58
|
fontSize: number;
|
|
58
59
|
lineHeight: number;
|
|
59
60
|
letterSpacing: number;
|
|
60
|
-
fontWeight:
|
|
61
|
+
fontWeight: TextStyle["fontWeight"];
|
|
61
62
|
};
|
|
62
63
|
h2: {
|
|
63
64
|
fontSize: number;
|
|
64
65
|
lineHeight: number;
|
|
65
66
|
letterSpacing: number;
|
|
66
|
-
fontWeight:
|
|
67
|
+
fontWeight: TextStyle["fontWeight"];
|
|
67
68
|
};
|
|
68
69
|
h3: {
|
|
69
70
|
fontSize: number;
|
|
70
71
|
lineHeight: number;
|
|
71
72
|
letterSpacing: number;
|
|
72
|
-
fontWeight:
|
|
73
|
+
fontWeight: TextStyle["fontWeight"];
|
|
73
74
|
};
|
|
74
75
|
h4: {
|
|
75
76
|
fontSize: number;
|
|
76
77
|
lineHeight: number;
|
|
77
78
|
letterSpacing: number;
|
|
78
|
-
fontWeight:
|
|
79
|
+
fontWeight: TextStyle["fontWeight"];
|
|
79
80
|
};
|
|
80
81
|
h5: {
|
|
81
82
|
fontSize: number;
|
|
82
83
|
lineHeight: number;
|
|
83
84
|
letterSpacing: number;
|
|
84
|
-
fontWeight:
|
|
85
|
+
fontWeight: TextStyle["fontWeight"];
|
|
85
86
|
};
|
|
86
87
|
h6: {
|
|
87
88
|
fontSize: number;
|
|
88
89
|
lineHeight: number;
|
|
89
90
|
letterSpacing: number;
|
|
90
|
-
fontWeight:
|
|
91
|
+
fontWeight: TextStyle["fontWeight"];
|
|
91
92
|
};
|
|
92
93
|
};
|
|
93
94
|
small: {
|
|
@@ -95,43 +96,43 @@ export declare const typography: {
|
|
|
95
96
|
fontSize: number;
|
|
96
97
|
lineHeight: number;
|
|
97
98
|
letterSpacing: number;
|
|
98
|
-
fontWeight:
|
|
99
|
+
fontWeight: TextStyle["fontWeight"];
|
|
99
100
|
};
|
|
100
101
|
h1: {
|
|
101
102
|
fontSize: number;
|
|
102
103
|
lineHeight: number;
|
|
103
104
|
letterSpacing: number;
|
|
104
|
-
fontWeight:
|
|
105
|
+
fontWeight: TextStyle["fontWeight"];
|
|
105
106
|
};
|
|
106
107
|
h2: {
|
|
107
108
|
fontSize: number;
|
|
108
109
|
lineHeight: number;
|
|
109
110
|
letterSpacing: number;
|
|
110
|
-
fontWeight:
|
|
111
|
+
fontWeight: TextStyle["fontWeight"];
|
|
111
112
|
};
|
|
112
113
|
h3: {
|
|
113
114
|
fontSize: number;
|
|
114
115
|
lineHeight: number;
|
|
115
116
|
letterSpacing: number;
|
|
116
|
-
fontWeight:
|
|
117
|
+
fontWeight: TextStyle["fontWeight"];
|
|
117
118
|
};
|
|
118
119
|
h4: {
|
|
119
120
|
fontSize: number;
|
|
120
121
|
lineHeight: number;
|
|
121
122
|
letterSpacing: number;
|
|
122
|
-
fontWeight:
|
|
123
|
+
fontWeight: TextStyle["fontWeight"];
|
|
123
124
|
};
|
|
124
125
|
h5: {
|
|
125
126
|
fontSize: number;
|
|
126
127
|
lineHeight: number;
|
|
127
128
|
letterSpacing: number;
|
|
128
|
-
fontWeight:
|
|
129
|
+
fontWeight: TextStyle["fontWeight"];
|
|
129
130
|
};
|
|
130
131
|
h6: {
|
|
131
132
|
fontSize: number;
|
|
132
133
|
lineHeight: number;
|
|
133
134
|
letterSpacing: number;
|
|
134
|
-
fontWeight:
|
|
135
|
+
fontWeight: TextStyle["fontWeight"];
|
|
135
136
|
};
|
|
136
137
|
};
|
|
137
138
|
};
|
|
@@ -141,42 +142,42 @@ export declare const typography: {
|
|
|
141
142
|
fontSize: number;
|
|
142
143
|
lineHeight: number;
|
|
143
144
|
letterSpacing: number;
|
|
144
|
-
fontWeight:
|
|
145
|
+
fontWeight: TextStyle["fontWeight"];
|
|
145
146
|
};
|
|
146
147
|
h1: {
|
|
147
148
|
fontSize: number;
|
|
148
149
|
lineHeight: number;
|
|
149
150
|
letterSpacing: number;
|
|
150
|
-
fontWeight:
|
|
151
|
+
fontWeight: TextStyle["fontWeight"];
|
|
151
152
|
};
|
|
152
153
|
h2: {
|
|
153
154
|
fontSize: number;
|
|
154
155
|
lineHeight: number;
|
|
155
156
|
letterSpacing: number;
|
|
156
|
-
fontWeight:
|
|
157
|
+
fontWeight: TextStyle["fontWeight"];
|
|
157
158
|
};
|
|
158
159
|
h3: {
|
|
159
160
|
fontSize: number;
|
|
160
161
|
lineHeight: number;
|
|
161
162
|
letterSpacing: number;
|
|
162
|
-
fontWeight:
|
|
163
|
+
fontWeight: TextStyle["fontWeight"];
|
|
163
164
|
};
|
|
164
165
|
h4: {
|
|
165
166
|
fontSize: number;
|
|
166
167
|
lineHeight: number;
|
|
167
168
|
letterSpacing: number;
|
|
168
|
-
fontWeight:
|
|
169
|
+
fontWeight: TextStyle["fontWeight"];
|
|
169
170
|
};
|
|
170
171
|
h5: {
|
|
171
172
|
fontSize: number;
|
|
172
173
|
lineHeight: number;
|
|
173
174
|
letterSpacing: number;
|
|
174
|
-
fontWeight:
|
|
175
|
+
fontWeight: TextStyle["fontWeight"];
|
|
175
176
|
};
|
|
176
177
|
h6: {
|
|
177
178
|
fontSize: number;
|
|
178
179
|
lineHeight: number;
|
|
179
|
-
fontWeight:
|
|
180
|
+
fontWeight: TextStyle["fontWeight"];
|
|
180
181
|
};
|
|
181
182
|
};
|
|
182
183
|
medium: {
|
|
@@ -184,42 +185,42 @@ export declare const typography: {
|
|
|
184
185
|
fontSize: number;
|
|
185
186
|
lineHeight: number;
|
|
186
187
|
letterSpacing: number;
|
|
187
|
-
fontWeight:
|
|
188
|
+
fontWeight: TextStyle["fontWeight"];
|
|
188
189
|
};
|
|
189
190
|
h1: {
|
|
190
191
|
fontSize: number;
|
|
191
192
|
lineHeight: number;
|
|
192
193
|
letterSpacing: number;
|
|
193
|
-
fontWeight:
|
|
194
|
+
fontWeight: TextStyle["fontWeight"];
|
|
194
195
|
};
|
|
195
196
|
h2: {
|
|
196
197
|
fontSize: number;
|
|
197
198
|
lineHeight: number;
|
|
198
199
|
letterSpacing: number;
|
|
199
|
-
fontWeight:
|
|
200
|
+
fontWeight: TextStyle["fontWeight"];
|
|
200
201
|
};
|
|
201
202
|
h3: {
|
|
202
203
|
fontSize: number;
|
|
203
204
|
lineHeight: number;
|
|
204
205
|
letterSpacing: number;
|
|
205
|
-
fontWeight:
|
|
206
|
+
fontWeight: TextStyle["fontWeight"];
|
|
206
207
|
};
|
|
207
208
|
h4: {
|
|
208
209
|
fontSize: number;
|
|
209
210
|
lineHeight: number;
|
|
210
211
|
letterSpacing: number;
|
|
211
|
-
fontWeight:
|
|
212
|
+
fontWeight: TextStyle["fontWeight"];
|
|
212
213
|
};
|
|
213
214
|
h5: {
|
|
214
215
|
fontSize: number;
|
|
215
216
|
lineHeight: number;
|
|
216
217
|
letterSpacing: number;
|
|
217
|
-
fontWeight:
|
|
218
|
+
fontWeight: TextStyle["fontWeight"];
|
|
218
219
|
};
|
|
219
220
|
h6: {
|
|
220
221
|
fontSize: number;
|
|
221
222
|
lineHeight: number;
|
|
222
|
-
fontWeight:
|
|
223
|
+
fontWeight: TextStyle["fontWeight"];
|
|
223
224
|
};
|
|
224
225
|
};
|
|
225
226
|
small: {
|
|
@@ -227,42 +228,42 @@ export declare const typography: {
|
|
|
227
228
|
fontSize: number;
|
|
228
229
|
lineHeight: number;
|
|
229
230
|
letterSpacing: number;
|
|
230
|
-
fontWeight:
|
|
231
|
+
fontWeight: TextStyle["fontWeight"];
|
|
231
232
|
};
|
|
232
233
|
h1: {
|
|
233
234
|
fontSize: number;
|
|
234
235
|
lineHeight: number;
|
|
235
236
|
letterSpacing: number;
|
|
236
|
-
fontWeight:
|
|
237
|
+
fontWeight: TextStyle["fontWeight"];
|
|
237
238
|
};
|
|
238
239
|
h2: {
|
|
239
240
|
fontSize: number;
|
|
240
241
|
lineHeight: number;
|
|
241
242
|
letterSpacing: number;
|
|
242
|
-
fontWeight:
|
|
243
|
+
fontWeight: TextStyle["fontWeight"];
|
|
243
244
|
};
|
|
244
245
|
h3: {
|
|
245
246
|
fontSize: number;
|
|
246
247
|
lineHeight: number;
|
|
247
248
|
letterSpacing: number;
|
|
248
|
-
fontWeight:
|
|
249
|
+
fontWeight: TextStyle["fontWeight"];
|
|
249
250
|
};
|
|
250
251
|
h4: {
|
|
251
252
|
fontSize: number;
|
|
252
253
|
lineHeight: number;
|
|
253
254
|
letterSpacing: number;
|
|
254
|
-
fontWeight:
|
|
255
|
+
fontWeight: TextStyle["fontWeight"];
|
|
255
256
|
};
|
|
256
257
|
h5: {
|
|
257
258
|
fontSize: number;
|
|
258
259
|
lineHeight: number;
|
|
259
260
|
letterSpacing: number;
|
|
260
|
-
fontWeight:
|
|
261
|
+
fontWeight: TextStyle["fontWeight"];
|
|
261
262
|
};
|
|
262
263
|
h6: {
|
|
263
264
|
fontSize: number;
|
|
264
265
|
lineHeight: number;
|
|
265
|
-
fontWeight:
|
|
266
|
+
fontWeight: TextStyle["fontWeight"];
|
|
266
267
|
};
|
|
267
268
|
};
|
|
268
269
|
};
|
|
@@ -272,42 +273,42 @@ export declare const typography: {
|
|
|
272
273
|
fontSize: number;
|
|
273
274
|
lineHeight: number;
|
|
274
275
|
letterSpacing: number;
|
|
275
|
-
fontWeight:
|
|
276
|
+
fontWeight: TextStyle["fontWeight"];
|
|
276
277
|
};
|
|
277
278
|
paragraph: {
|
|
278
279
|
fontSize: number;
|
|
279
280
|
lineHeight: number;
|
|
280
281
|
letterSpacing: number;
|
|
281
|
-
fontWeight:
|
|
282
|
+
fontWeight: TextStyle["fontWeight"];
|
|
282
283
|
};
|
|
283
284
|
label: {
|
|
284
285
|
fontSize: number;
|
|
285
286
|
lineHeight: number;
|
|
286
287
|
letterSpacing: number;
|
|
287
|
-
fontWeight:
|
|
288
|
+
fontWeight: TextStyle["fontWeight"];
|
|
288
289
|
};
|
|
289
290
|
callout: {
|
|
290
291
|
fontSize: number;
|
|
291
292
|
lineHeight: number;
|
|
292
293
|
letterSpacing: number;
|
|
293
|
-
fontWeight:
|
|
294
|
+
fontWeight: TextStyle["fontWeight"];
|
|
294
295
|
};
|
|
295
296
|
footnote: {
|
|
296
297
|
fontSize: number;
|
|
297
298
|
lineHeight: number;
|
|
298
299
|
letterSpacing: number;
|
|
299
|
-
fontWeight:
|
|
300
|
+
fontWeight: TextStyle["fontWeight"];
|
|
300
301
|
};
|
|
301
302
|
caption: {
|
|
302
303
|
fontSize: number;
|
|
303
304
|
lineHeight: number;
|
|
304
|
-
fontWeight:
|
|
305
|
+
fontWeight: TextStyle["fontWeight"];
|
|
305
306
|
};
|
|
306
307
|
code: {
|
|
307
308
|
fontSize: number;
|
|
308
309
|
lineHeight: number;
|
|
309
310
|
letterSpacing: number;
|
|
310
|
-
fontWeight:
|
|
311
|
+
fontWeight: TextStyle["fontWeight"];
|
|
311
312
|
};
|
|
312
313
|
};
|
|
313
314
|
fontSizes: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/styleguide-native",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Expo's React Native styleguide components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
|
-
"author": "
|
|
16
|
+
"author": "Expo",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"homepage": "https://github.com/expo/styleguide",
|
|
19
19
|
"repository": {
|
|
@@ -22,9 +22,15 @@
|
|
|
22
22
|
"directory": "packages/styleguide-native"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
+
"@babel/preset-env": "^7.26.9",
|
|
26
|
+
"@babel/preset-react": "^7.26.3",
|
|
27
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
28
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
29
|
+
"@rollup/plugin-commonjs": "^28.0.3",
|
|
30
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
25
31
|
"@svgr/cli": "^6.5.1",
|
|
26
32
|
"npm-run-all": "*",
|
|
27
|
-
"react-native-svg": "^
|
|
33
|
+
"react-native-svg": "^15.8.0",
|
|
28
34
|
"rimraf": "*",
|
|
29
35
|
"rollup": "*"
|
|
30
36
|
},
|
|
@@ -35,5 +41,5 @@
|
|
|
35
41
|
"eslintConfig": {
|
|
36
42
|
"extends": "universe/native"
|
|
37
43
|
},
|
|
38
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a71a328ce18a99537f9766709060bb7b6ebb71c8"
|
|
39
45
|
}
|