@expo/styleguide-native 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/dist/icons/ActivityIcon.d.ts +1 -2
  2. package/dist/icons/ActivityIcon.js +6 -3
  3. package/dist/icons/AddPhotoIcon.d.ts +1 -2
  4. package/dist/icons/AddPhotoIcon.js +6 -3
  5. package/dist/icons/AndroidIcon.d.ts +1 -2
  6. package/dist/icons/AndroidIcon.js +6 -3
  7. package/dist/icons/AppleAppStoreIcon.d.ts +1 -2
  8. package/dist/icons/AppleAppStoreIcon.js +8 -5
  9. package/dist/icons/AppleIcon.d.ts +1 -2
  10. package/dist/icons/AppleIcon.js +6 -3
  11. package/dist/icons/AppleSimulatorIcon.d.ts +1 -2
  12. package/dist/icons/AppleSimulatorIcon.js +10 -7
  13. package/dist/icons/ArrowDownIcon.d.ts +1 -2
  14. package/dist/icons/ArrowDownIcon.js +6 -3
  15. package/dist/icons/ArrowLeftIcon.d.ts +1 -2
  16. package/dist/icons/ArrowLeftIcon.js +6 -3
  17. package/dist/icons/ArrowRightIcon.d.ts +1 -2
  18. package/dist/icons/ArrowRightIcon.js +6 -3
  19. package/dist/icons/ArrowUpIcon.d.ts +1 -2
  20. package/dist/icons/ArrowUpIcon.js +6 -3
  21. package/dist/icons/ArrowUpRightIcon.d.ts +1 -2
  22. package/dist/icons/ArrowUpRightIcon.js +6 -3
  23. package/dist/icons/AtSignIcon.d.ts +1 -2
  24. package/dist/icons/AtSignIcon.js +6 -3
  25. package/dist/icons/BadgeIcon.d.ts +1 -2
  26. package/dist/icons/BadgeIcon.js +7 -4
  27. package/dist/icons/BellIcon.d.ts +1 -2
  28. package/dist/icons/BellIcon.js +6 -3
  29. package/dist/icons/BranchIcon.d.ts +1 -2
  30. package/dist/icons/BranchIcon.js +6 -3
  31. package/dist/icons/BugInspectIcon.d.ts +1 -2
  32. package/dist/icons/BugInspectIcon.js +8 -5
  33. package/dist/icons/BuildIcon.d.ts +1 -2
  34. package/dist/icons/BuildIcon.js +6 -3
  35. package/dist/icons/BuildNumberIcon.d.ts +1 -2
  36. package/dist/icons/BuildNumberIcon.js +6 -3
  37. package/dist/icons/BuildProfileIcon.d.ts +1 -2
  38. package/dist/icons/BuildProfileIcon.js +6 -3
  39. package/dist/icons/ChannelIcon.d.ts +1 -2
  40. package/dist/icons/ChannelIcon.js +7 -4
  41. package/dist/icons/ChartIcon.d.ts +1 -2
  42. package/dist/icons/ChartIcon.js +7 -4
  43. package/dist/icons/CheckIcon.d.ts +1 -2
  44. package/dist/icons/CheckIcon.js +6 -3
  45. package/dist/icons/ChevronDownIcon.d.ts +1 -2
  46. package/dist/icons/ChevronDownIcon.js +6 -3
  47. package/dist/icons/ChevronLeftIcon.d.ts +1 -2
  48. package/dist/icons/ChevronLeftIcon.js +6 -3
  49. package/dist/icons/ChevronRightIcon.d.ts +1 -2
  50. package/dist/icons/ChevronRightIcon.js +6 -3
  51. package/dist/icons/ChevronUpIcon.d.ts +1 -2
  52. package/dist/icons/ChevronUpIcon.js +6 -3
  53. package/dist/icons/ClipboardIcon.d.ts +1 -2
  54. package/dist/icons/ClipboardIcon.js +7 -4
  55. package/dist/icons/CloudSlashIcon.d.ts +1 -2
  56. package/dist/icons/CloudSlashIcon.js +6 -3
  57. package/dist/icons/CodeIcon.d.ts +1 -2
  58. package/dist/icons/CodeIcon.js +6 -3
  59. package/dist/icons/CommitIcon.d.ts +1 -2
  60. package/dist/icons/CommitIcon.js +6 -3
  61. package/dist/icons/CredentialIcon.d.ts +1 -2
  62. package/dist/icons/CredentialIcon.js +8 -5
  63. package/dist/icons/CreditCardIcon.d.ts +1 -2
  64. package/dist/icons/CreditCardIcon.js +7 -4
  65. package/dist/icons/DebugIcon.d.ts +1 -2
  66. package/dist/icons/DebugIcon.js +7 -4
  67. package/dist/icons/DeploymentIcon.d.ts +1 -2
  68. package/dist/icons/DeploymentIcon.js +6 -3
  69. package/dist/icons/DeploymentsIcon.d.ts +1 -2
  70. package/dist/icons/DeploymentsIcon.js +9 -6
  71. package/dist/icons/DiscordIcon.d.ts +1 -2
  72. package/dist/icons/DiscordIcon.js +7 -4
  73. package/dist/icons/DiscourseIcon.d.ts +1 -2
  74. package/dist/icons/DiscourseIcon.js +6 -3
  75. package/dist/icons/DownloadIcon.d.ts +1 -2
  76. package/dist/icons/DownloadIcon.js +7 -4
  77. package/dist/icons/ErrorIcon.d.ts +1 -2
  78. package/dist/icons/ErrorIcon.js +6 -3
  79. package/dist/icons/FacebookIcon.d.ts +1 -2
  80. package/dist/icons/FacebookIcon.js +6 -3
  81. package/dist/icons/GeneralIcon.d.ts +1 -2
  82. package/dist/icons/GeneralIcon.js +17 -14
  83. package/dist/icons/GithubIcon.d.ts +1 -2
  84. package/dist/icons/GithubIcon.js +6 -3
  85. package/dist/icons/GoogleAppStoreIcon.d.ts +1 -2
  86. package/dist/icons/GoogleAppStoreIcon.js +6 -3
  87. package/dist/icons/HamburgerIcon.d.ts +1 -2
  88. package/dist/icons/HamburgerIcon.js +6 -3
  89. package/dist/icons/HeadsetIcon.d.ts +1 -2
  90. package/dist/icons/HeadsetIcon.js +10 -7
  91. package/dist/icons/HomeFilledIcon.d.ts +1 -2
  92. package/dist/icons/HomeFilledIcon.js +6 -3
  93. package/dist/icons/HomeIcon.d.ts +1 -2
  94. package/dist/icons/HomeIcon.js +6 -3
  95. package/dist/icons/InfoIcon.d.ts +1 -2
  96. package/dist/icons/InfoIcon.js +6 -3
  97. package/dist/icons/InspectElementIcon.d.ts +1 -2
  98. package/dist/icons/InspectElementIcon.js +7 -4
  99. package/dist/icons/InstagramIcon.d.ts +1 -2
  100. package/dist/icons/InstagramIcon.js +6 -3
  101. package/dist/icons/InvoicesIcon.d.ts +1 -2
  102. package/dist/icons/InvoicesIcon.js +7 -4
  103. package/dist/icons/LifebuoyIcon.d.ts +1 -2
  104. package/dist/icons/LifebuoyIcon.js +6 -3
  105. package/dist/icons/LockIcon.d.ts +1 -2
  106. package/dist/icons/LockIcon.js +6 -3
  107. package/dist/icons/LogoutMobileIcon.d.ts +1 -2
  108. package/dist/icons/LogoutMobileIcon.js +7 -4
  109. package/dist/icons/LogsIcon.d.ts +1 -2
  110. package/dist/icons/LogsIcon.js +8 -5
  111. package/dist/icons/MailIcon.d.ts +1 -2
  112. package/dist/icons/MailIcon.js +6 -3
  113. package/dist/icons/MegaphoneIcon.d.ts +1 -2
  114. package/dist/icons/MegaphoneIcon.js +7 -4
  115. package/dist/icons/MessageIcon.d.ts +1 -2
  116. package/dist/icons/MessageIcon.js +6 -3
  117. package/dist/icons/OneTimePasswordIcon.d.ts +1 -2
  118. package/dist/icons/OneTimePasswordIcon.js +8 -5
  119. package/dist/icons/OpenInternalIcon.d.ts +1 -2
  120. package/dist/icons/OpenInternalIcon.js +7 -4
  121. package/dist/icons/OverviewIcon.d.ts +1 -2
  122. package/dist/icons/OverviewIcon.js +6 -3
  123. package/dist/icons/PerformanceIcon.d.ts +1 -2
  124. package/dist/icons/PerformanceIcon.js +7 -4
  125. package/dist/icons/PersonalTrainerIcon.d.ts +1 -2
  126. package/dist/icons/PersonalTrainerIcon.js +6 -3
  127. package/dist/icons/PinIcon.d.ts +1 -2
  128. package/dist/icons/PinIcon.js +6 -3
  129. package/dist/icons/PlanEnterpriseIcon.d.ts +1 -2
  130. package/dist/icons/PlanEnterpriseIcon.js +6 -3
  131. package/dist/icons/PlanFreeIcon.d.ts +1 -2
  132. package/dist/icons/PlanFreeIcon.js +6 -3
  133. package/dist/icons/PlanProductionIcon.d.ts +1 -2
  134. package/dist/icons/PlanProductionIcon.js +7 -4
  135. package/dist/icons/PlansIcon.d.ts +1 -2
  136. package/dist/icons/PlansIcon.js +7 -4
  137. package/dist/icons/PlusIcon.d.ts +1 -2
  138. package/dist/icons/PlusIcon.js +6 -3
  139. package/dist/icons/PrivacyIcon.d.ts +1 -2
  140. package/dist/icons/PrivacyIcon.js +6 -3
  141. package/dist/icons/ProjectTransferIcon.d.ts +1 -2
  142. package/dist/icons/ProjectTransferIcon.js +7 -4
  143. package/dist/icons/PushToDeviceIcon.d.ts +1 -2
  144. package/dist/icons/PushToDeviceIcon.js +9 -6
  145. package/dist/icons/QrCodeIcon.d.ts +1 -2
  146. package/dist/icons/QrCodeIcon.js +10 -7
  147. package/dist/icons/QuestionIcon.d.ts +1 -2
  148. package/dist/icons/QuestionIcon.js +6 -3
  149. package/dist/icons/QuestionMarkIcon.d.ts +1 -2
  150. package/dist/icons/QuestionMarkIcon.js +6 -3
  151. package/dist/icons/RedditIcon.d.ts +1 -2
  152. package/dist/icons/RedditIcon.js +6 -3
  153. package/dist/icons/RefreshIcon.d.ts +1 -2
  154. package/dist/icons/RefreshIcon.js +9 -6
  155. package/dist/icons/RolloutIcon.d.ts +1 -2
  156. package/dist/icons/RolloutIcon.js +7 -4
  157. package/dist/icons/RunIcon.d.ts +1 -2
  158. package/dist/icons/RunIcon.js +7 -4
  159. package/dist/icons/RuntimeVersionIcon.d.ts +1 -2
  160. package/dist/icons/RuntimeVersionIcon.js +6 -3
  161. package/dist/icons/ScanIcon.d.ts +1 -2
  162. package/dist/icons/ScanIcon.js +7 -4
  163. package/dist/icons/SearchIcon.d.ts +1 -2
  164. package/dist/icons/SearchIcon.js +7 -4
  165. package/dist/icons/SecretsIcon.d.ts +1 -2
  166. package/dist/icons/SecretsIcon.js +6 -3
  167. package/dist/icons/SettingsFilledIcon.d.ts +1 -2
  168. package/dist/icons/SettingsFilledIcon.js +6 -3
  169. package/dist/icons/SettingsIcon.d.ts +1 -2
  170. package/dist/icons/SettingsIcon.js +6 -3
  171. package/dist/icons/SlashShortcutIcon.d.ts +1 -2
  172. package/dist/icons/SlashShortcutIcon.js +6 -3
  173. package/dist/icons/SparklesIcon.d.ts +1 -2
  174. package/dist/icons/SparklesIcon.js +6 -3
  175. package/dist/icons/StatusCanceledIcon.d.ts +1 -2
  176. package/dist/icons/StatusCanceledIcon.js +6 -3
  177. package/dist/icons/StatusFailedIcon.d.ts +1 -2
  178. package/dist/icons/StatusFailedIcon.js +6 -3
  179. package/dist/icons/StatusNewIcon.d.ts +1 -2
  180. package/dist/icons/StatusNewIcon.js +7 -4
  181. package/dist/icons/StatusSuccessIcon.d.ts +1 -2
  182. package/dist/icons/StatusSuccessIcon.js +6 -3
  183. package/dist/icons/StatusWaitingIcon.d.ts +1 -2
  184. package/dist/icons/StatusWaitingIcon.js +6 -3
  185. package/dist/icons/StoreIcon.d.ts +1 -2
  186. package/dist/icons/StoreIcon.js +9 -6
  187. package/dist/icons/ThemeAutoIcon.d.ts +1 -2
  188. package/dist/icons/ThemeAutoIcon.js +7 -4
  189. package/dist/icons/ThemeDarkIcon.d.ts +1 -2
  190. package/dist/icons/ThemeDarkIcon.js +6 -3
  191. package/dist/icons/ThemeIcon.d.ts +1 -2
  192. package/dist/icons/ThemeIcon.js +6 -3
  193. package/dist/icons/ThemeLightIcon.d.ts +1 -2
  194. package/dist/icons/ThemeLightIcon.js +7 -4
  195. package/dist/icons/ThumbsDownIcon.d.ts +1 -2
  196. package/dist/icons/ThumbsDownIcon.js +6 -3
  197. package/dist/icons/ThumbsUpIcon.d.ts +1 -2
  198. package/dist/icons/ThumbsUpIcon.js +6 -3
  199. package/dist/icons/TokensIcon.d.ts +1 -2
  200. package/dist/icons/TokensIcon.js +8 -5
  201. package/dist/icons/TrashIcon.d.ts +1 -2
  202. package/dist/icons/TrashIcon.js +6 -3
  203. package/dist/icons/TriangleDownIcon.d.ts +1 -2
  204. package/dist/icons/TriangleDownIcon.js +6 -3
  205. package/dist/icons/TriangleLeftIcon.d.ts +1 -2
  206. package/dist/icons/TriangleLeftIcon.js +6 -3
  207. package/dist/icons/TriangleRightIcon.d.ts +1 -2
  208. package/dist/icons/TriangleRightIcon.js +6 -3
  209. package/dist/icons/TriangleUpIcon.d.ts +1 -2
  210. package/dist/icons/TriangleUpIcon.js +6 -3
  211. package/dist/icons/TwitchIcon.d.ts +1 -2
  212. package/dist/icons/TwitchIcon.js +7 -4
  213. package/dist/icons/TwitterIcon.d.ts +1 -2
  214. package/dist/icons/TwitterIcon.js +6 -3
  215. package/dist/icons/UndoIcon.d.ts +1 -2
  216. package/dist/icons/UndoIcon.js +6 -3
  217. package/dist/icons/UpdateIcon.d.ts +1 -2
  218. package/dist/icons/UpdateIcon.js +7 -4
  219. package/dist/icons/UpgradeIcon.d.ts +1 -2
  220. package/dist/icons/UpgradeIcon.js +6 -3
  221. package/dist/icons/UploadIcon.d.ts +1 -2
  222. package/dist/icons/UploadIcon.js +7 -4
  223. package/dist/icons/UserFilledIcon.d.ts +1 -2
  224. package/dist/icons/UserFilledIcon.js +6 -3
  225. package/dist/icons/UserIcon.d.ts +1 -2
  226. package/dist/icons/UserIcon.js +6 -3
  227. package/dist/icons/UsersFilledIcon.d.ts +1 -2
  228. package/dist/icons/UsersFilledIcon.js +7 -4
  229. package/dist/icons/UsersIcon.d.ts +1 -2
  230. package/dist/icons/UsersIcon.js +7 -4
  231. package/dist/icons/VersionIcon.d.ts +1 -2
  232. package/dist/icons/VersionIcon.js +7 -4
  233. package/dist/icons/WarningIcon.d.ts +1 -2
  234. package/dist/icons/WarningIcon.js +6 -3
  235. package/dist/icons/XIcon.d.ts +1 -2
  236. package/dist/icons/XIcon.js +6 -3
  237. package/dist/icons/YoutubeIcon.d.ts +1 -2
  238. package/dist/icons/YoutubeIcon.js +6 -3
  239. package/dist/index.d.ts +2 -1
  240. package/dist/logos/DocsLogo.d.ts +1 -2
  241. package/dist/logos/DocsLogo.js +7 -4
  242. package/dist/logos/ExpoGoLogo.d.ts +1 -2
  243. package/dist/logos/ExpoGoLogo.js +6 -3
  244. package/dist/logos/Logo.d.ts +1 -2
  245. package/dist/logos/Logo.js +6 -3
  246. package/dist/logos/SnackLogo.d.ts +1 -2
  247. package/dist/logos/SnackLogo.js +7 -4
  248. package/dist/logos/WordMarkLogo.d.ts +1 -2
  249. package/dist/logos/WordMarkLogo.js +6 -3
  250. package/dist/styles/themes.d.ts +6 -0
  251. package/dist/styles/themes.js +7 -1
  252. package/dist/types/index.d.ts +2 -1
  253. package/package.json +1 -1
@@ -18,13 +18,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function VersionIcon(props) {
25
28
  const { size, color, width, height } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 21 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
27
- React.createElement(react_native_svg_1.Path, { d: "M11.893 8.959l-.232 2.083H9.588l.232-2.083h2.073z", fill: color || "#000" }),
28
- React.createElement(react_native_svg_1.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M4.074 0A3.333 3.333 0 00.74 3.333v13.334A3.333 3.333 0 004.074 20h13.333a3.333 3.333 0 003.334-3.333V3.333A3.333 3.333 0 0017.407 0H4.074zm6.245 4.467a.833.833 0 00-1.657-.184l-.334 3.009H5.741a.833.833 0 000 1.667h2.402l-.232 2.083h-2.17a.833.833 0 000 1.667h1.985l-.314 2.824a.833.833 0 001.657.184l.334-3.008h2.073l-.314 2.824a.833.833 0 001.657.184l.334-3.008h2.588a.833.833 0 000-1.667h-2.403l.232-2.083h2.17a.833.833 0 000-1.667h-1.985l.314-2.825a.833.833 0 00-1.657-.184l-.334 3.009h-2.073l.314-2.825z", fill: color || "#000" })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 21 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { d: "M11.893 8.959l-.232 2.083H9.588l.232-2.083h2.073z", fill: color || "#000" }),
31
+ react_1.default.createElement(react_native_svg_1.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M4.074 0A3.333 3.333 0 00.74 3.333v13.334A3.333 3.333 0 004.074 20h13.333a3.333 3.333 0 003.334-3.333V3.333A3.333 3.333 0 0017.407 0H4.074zm6.245 4.467a.833.833 0 00-1.657-.184l-.334 3.009H5.741a.833.833 0 000 1.667h2.402l-.232 2.083h-2.17a.833.833 0 000 1.667h1.985l-.314 2.824a.833.833 0 001.657.184l.334-3.008h2.073l-.314 2.824a.833.833 0 001.657.184l.334-3.008h2.588a.833.833 0 000-1.667h-2.403l.232-2.083h2.17a.833.833 0 000-1.667h-1.985l.314-2.825a.833.833 0 00-1.657-.184l-.334 3.009h-2.073l.314-2.825z", fill: color || "#000" })));
29
32
  }
30
33
  exports.default = VersionIcon;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { SvgProps } from "react-native-svg";
3
2
  import { IconProps } from "../types";
4
- export default function WarningIcon(props: SvgProps & IconProps): JSX.Element;
3
+ export default function WarningIcon(props: IconProps): JSX.Element;
@@ -18,12 +18,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function WarningIcon(props) {
25
28
  const { size, color, width, height } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
27
- React.createElement(react_native_svg_1.Path, { d: "M8.102 1.477c.778-1.561 3.005-1.562 3.784-.001l7.564 15.16c.7 1.406-.322 3.059-1.892 3.059H2.442c-1.57 0-2.592-1.652-1.892-3.057l7.552-15.16zm3.784 4.475c0-.408-.218-.846-.534-1.172-.323-.333-.788-.594-1.331-.594-.542 0-1.016.26-1.348.59-.325.323-.56.761-.56 1.176 0 .318.125 1.963.247 3.5a809.363 809.363 0 00.225 2.77l.015.188.004.05v.004a1.416 1.416 0 002.833-.001v-.006l.004-.05.014-.187.05-.677c.043-.562.1-1.318.155-2.093.112-1.538.226-3.181.226-3.498zm-1.885 12.199a1.961 1.961 0 100-3.923 1.961 1.961 0 000 3.923z", fill: color || "#000", stroke: color || "#000", strokeWidth: 0.65 })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { d: "M8.102 1.477c.778-1.561 3.005-1.562 3.784-.001l7.564 15.16c.7 1.406-.322 3.059-1.892 3.059H2.442c-1.57 0-2.592-1.652-1.892-3.057l7.552-15.16zm3.784 4.475c0-.408-.218-.846-.534-1.172-.323-.333-.788-.594-1.331-.594-.542 0-1.016.26-1.348.59-.325.323-.56.761-.56 1.176 0 .318.125 1.963.247 3.5a809.363 809.363 0 00.225 2.77l.015.188.004.05v.004a1.416 1.416 0 002.833-.001v-.006l.004-.05.014-.187.05-.677c.043-.562.1-1.318.155-2.093.112-1.538.226-3.181.226-3.498zm-1.885 12.199a1.961 1.961 0 100-3.923 1.961 1.961 0 000 3.923z", fill: color || "#000", stroke: color || "#000", strokeWidth: 0.65 })));
28
31
  }
29
32
  exports.default = WarningIcon;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { SvgProps } from "react-native-svg";
3
2
  import { IconProps } from "../types";
4
- export default function XIcon(props: SvgProps & IconProps): JSX.Element;
3
+ export default function XIcon(props: IconProps): JSX.Element;
@@ -18,12 +18,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function XIcon(props) {
25
28
  const { size, color, width, height } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
27
- React.createElement(react_native_svg_1.Path, { d: "M15 5L5 15M5 5l10 10", stroke: color || "#000", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { d: "M15 5L5 15M5 5l10 10", stroke: color || "#000", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })));
28
31
  }
29
32
  exports.default = XIcon;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { SvgProps } from "react-native-svg";
3
2
  import { IconProps } from "../types";
4
- export default function YoutubeIcon(props: SvgProps & IconProps): JSX.Element;
3
+ export default function YoutubeIcon(props: IconProps): JSX.Element;
@@ -18,12 +18,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function YoutubeIcon(props) {
25
28
  const { size, color, width, height } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 21 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
27
- React.createElement(react_native_svg_1.Path, { d: "M11.064 2.498h.111c1.028.004 6.234.042 7.638.42a2.51 2.51 0 011.768 1.774c.127.474.215 1.105.276 1.753l.012.13.027.325.01.13c.082 1.143.091 2.212.093 2.446v.094a39.206 39.206 0 01-.103 2.576l-.01.13-.011.13c-.062.716-.155 1.426-.294 1.948a2.509 2.509 0 01-1.768 1.774c-1.45.39-6.962.418-7.726.42h-.176c-.387-.001-1.985-.009-3.66-.066l-.213-.008-.108-.004-.214-.008-.214-.01c-1.387-.06-2.709-.16-3.317-.324a2.509 2.509 0 01-1.768-1.774c-.14-.522-.232-1.232-.294-1.948l-.011-.13-.01-.13A39.25 39.25 0 01.998 9.6v-.153c.002-.268.012-1.198.08-2.223l.008-.128.005-.065.01-.13.026-.325.012-.13c.062-.648.15-1.279.277-1.753a2.51 2.51 0 011.768-1.774c.608-.164 1.93-.264 3.317-.325l.214-.009.214-.008.108-.004.214-.008c1.567-.054 3.068-.064 3.57-.065h.242zM8.999 6.512v6.022l5.196-3.01-5.196-3.012z", fill: color || "#000" })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 21 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { d: "M11.064 2.498h.111c1.028.004 6.234.042 7.638.42a2.51 2.51 0 011.768 1.774c.127.474.215 1.105.276 1.753l.012.13.027.325.01.13c.082 1.143.091 2.212.093 2.446v.094a39.206 39.206 0 01-.103 2.576l-.01.13-.011.13c-.062.716-.155 1.426-.294 1.948a2.509 2.509 0 01-1.768 1.774c-1.45.39-6.962.418-7.726.42h-.176c-.387-.001-1.985-.009-3.66-.066l-.213-.008-.108-.004-.214-.008-.214-.01c-1.387-.06-2.709-.16-3.317-.324a2.509 2.509 0 01-1.768-1.774c-.14-.522-.232-1.232-.294-1.948l-.011-.13-.01-.13A39.25 39.25 0 01.998 9.6v-.153c.002-.268.012-1.198.08-2.223l.008-.128.005-.065.01-.13.026-.325.012-.13c.062-.648.15-1.279.277-1.753a2.51 2.51 0 011.768-1.774c.608-.164 1.93-.264 3.317-.325l.214-.009.214-.008.108-.004.214-.008c1.567-.054 3.068-.064 3.57-.065h.242zM8.999 6.512v6.022l5.196-3.01-5.196-3.012z", fill: color || "#000" })));
28
31
  }
29
32
  exports.default = YoutubeIcon;
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import { iconSize, borderRadius } from './styles/sizing';
5
5
  import { spacing } from './styles/spacing';
6
6
  import { breakpoints } from './styles/breakpoints';
7
7
  import { typography } from './styles/typography';
8
+ import { IconProps } from 'types';
8
9
  export * from './icons';
9
10
  export * from './logos';
10
- export { borderRadius, breakpoints, darkTheme, iconSize, lightTheme, palette, shadows, spacing, typography, };
11
+ export { borderRadius, breakpoints, darkTheme, iconSize, lightTheme, palette, shadows, spacing, typography, IconProps, };
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { SvgProps } from "react-native-svg";
3
2
  import { IconProps } from "../types";
4
- export default function DocsLogo(props: SvgProps & IconProps): JSX.Element;
3
+ export default function DocsLogo(props: IconProps): JSX.Element;
@@ -18,13 +18,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function DocsLogo(props) {
25
28
  const { color } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none" }, props),
27
- React.createElement(react_native_svg_1.Path, { 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: color || "#000" }),
28
- React.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none" }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { 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: color || "#000" }),
31
+ react_1.default.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
29
32
  }
30
33
  exports.default = DocsLogo;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { SvgProps } from "react-native-svg";
3
2
  import { IconProps } from "../types";
4
- export default function ExpoGoLogo(props: SvgProps & IconProps): JSX.Element;
3
+ export default function ExpoGoLogo(props: IconProps): JSX.Element;
@@ -18,12 +18,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function ExpoGoLogo(props) {
25
28
  const { color } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none" }, props),
27
- React.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none" }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
28
31
  }
29
32
  exports.default = ExpoGoLogo;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { SvgProps } from "react-native-svg";
3
2
  import { IconProps } from "../types";
4
- export default function Logo(props: SvgProps & IconProps): JSX.Element;
3
+ export default function Logo(props: IconProps): JSX.Element;
@@ -18,12 +18,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function Logo(props) {
25
28
  const { color } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none" }, props),
27
- React.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none" }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
28
31
  }
29
32
  exports.default = Logo;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { SvgProps } from "react-native-svg";
3
2
  import { IconProps } from "../types";
4
- export default function SnackLogo(props: SvgProps & IconProps): JSX.Element;
3
+ export default function SnackLogo(props: IconProps): JSX.Element;
@@ -18,13 +18,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function SnackLogo(props) {
25
28
  const { color } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none" }, props),
27
- React.createElement(react_native_svg_1.Path, { 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: color || "#000" }),
28
- React.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none" }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { 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: color || "#000" }),
31
+ react_1.default.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
29
32
  }
30
33
  exports.default = SnackLogo;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { SvgProps } from "react-native-svg";
3
2
  import { IconProps } from "../types";
4
- export default function WordMarkLogo(props: SvgProps & IconProps): JSX.Element;
3
+ export default function WordMarkLogo(props: IconProps): JSX.Element;
@@ -18,12 +18,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
21
24
  Object.defineProperty(exports, "__esModule", { value: true });
22
- const React = __importStar(require("react"));
25
+ const react_1 = __importDefault(require("react"));
23
26
  const react_native_svg_1 = __importStar(require("react-native-svg"));
24
27
  function WordMarkLogo(props) {
25
28
  const { color } = props;
26
- return (React.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 71 20", fill: "none" }, props),
27
- React.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
29
+ return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 71 20", fill: "none" }, props),
30
+ react_1.default.createElement(react_native_svg_1.Path, { 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: color || "#000" })));
28
31
  }
29
32
  exports.default = WordMarkLogo;
@@ -8,6 +8,7 @@ export declare const lightTheme: {
8
8
  error: string;
9
9
  warning: string;
10
10
  success: string;
11
+ info: string;
11
12
  overlay: string;
12
13
  };
13
14
  border: {
@@ -15,6 +16,7 @@ export declare const lightTheme: {
15
16
  error: string;
16
17
  success: string;
17
18
  warning: string;
19
+ info: string;
18
20
  };
19
21
  button: {
20
22
  primary: {
@@ -59,6 +61,7 @@ export declare const lightTheme: {
59
61
  error: string;
60
62
  warning: string;
61
63
  success: string;
64
+ info: string;
62
65
  };
63
66
  code: {
64
67
  keyword: string;
@@ -95,6 +98,7 @@ export declare const darkTheme: {
95
98
  error: string;
96
99
  warning: string;
97
100
  success: string;
101
+ info: string;
98
102
  overlay: string;
99
103
  };
100
104
  border: {
@@ -102,6 +106,7 @@ export declare const darkTheme: {
102
106
  error: string;
103
107
  success: string;
104
108
  warning: string;
109
+ info: string;
105
110
  };
106
111
  button: {
107
112
  primary: {
@@ -146,6 +151,7 @@ export declare const darkTheme: {
146
151
  error: string;
147
152
  warning: string;
148
153
  success: string;
154
+ info: string;
149
155
  };
150
156
  code: {
151
157
  keyword: string;
@@ -12,6 +12,7 @@ exports.lightTheme = {
12
12
  error: palette_1.palette.light.red[100],
13
13
  warning: palette_1.palette.light.yellow[100],
14
14
  success: palette_1.palette.light.green[100],
15
+ info: palette_1.palette.light.blue[100],
15
16
  overlay: palette_1.palette.light.white,
16
17
  },
17
18
  border: {
@@ -19,6 +20,7 @@ exports.lightTheme = {
19
20
  error: palette_1.palette.light.red[300],
20
21
  success: palette_1.palette.light.green[300],
21
22
  warning: palette_1.palette.light.yellow[300],
23
+ info: palette_1.palette.light.blue[300],
22
24
  },
23
25
  button: {
24
26
  primary: {
@@ -63,6 +65,7 @@ exports.lightTheme = {
63
65
  error: palette_1.palette.light.red[600],
64
66
  warning: palette_1.palette.light.yellow[900],
65
67
  success: palette_1.palette.light.green[600],
68
+ info: palette_1.palette.light.blue[600],
66
69
  },
67
70
  code: {
68
71
  keyword: palette_1.palette.light.blue[500],
@@ -91,7 +94,7 @@ exports.lightTheme = {
91
94
  };
92
95
  exports.darkTheme = {
93
96
  background: {
94
- default: palette_1.palette.dark.gray['100'],
97
+ default: palette_1.palette.dark.gray[100],
95
98
  screen: palette_1.palette.dark.gray['000'],
96
99
  secondary: palette_1.palette.dark.gray[200],
97
100
  tertiary: palette_1.palette.dark.gray[300],
@@ -99,6 +102,7 @@ exports.darkTheme = {
99
102
  error: palette_1.palette.dark.red['000'],
100
103
  warning: palette_1.palette.dark.yellow['000'],
101
104
  success: palette_1.palette.dark.green['000'],
105
+ info: palette_1.palette.dark.blue['000'],
102
106
  overlay: palette_1.palette.dark.gray[200],
103
107
  },
104
108
  border: {
@@ -106,6 +110,7 @@ exports.darkTheme = {
106
110
  error: palette_1.palette.dark.red[200],
107
111
  success: palette_1.palette.dark.green[200],
108
112
  warning: palette_1.palette.dark.yellow[200],
113
+ info: palette_1.palette.dark.blue[200],
109
114
  },
110
115
  button: {
111
116
  primary: {
@@ -150,6 +155,7 @@ exports.darkTheme = {
150
155
  error: palette_1.palette.dark.red[600],
151
156
  warning: palette_1.palette.dark.yellow[900],
152
157
  success: palette_1.palette.dark.green[600],
158
+ info: palette_1.palette.dark.blue[700],
153
159
  },
154
160
  code: {
155
161
  keyword: palette_1.palette.dark.blue[600],
@@ -1,3 +1,4 @@
1
- export declare type IconProps = {
1
+ import { SvgProps } from "react-native-svg";
2
+ export declare type IconProps = SvgProps & {
2
3
  size?: number;
3
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/styleguide-native",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "Foundational styles for Expo interfaces.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",