@expo/styleguide 15.0.3 → 15.0.4

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.
@@ -6,8 +6,14 @@ var Link = require('next/link');
6
6
  var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
 
9
- const LinkBase = /*#__PURE__*/react.forwardRef((t0, ref) => {
10
- const $ = compilerRuntime.c(36);
9
+ const LinkBase = /*#__PURE__*/react.forwardRef(function (t0, ref) {
10
+ const $ = compilerRuntime.c(37);
11
+ if ($[0] !== "da7cdbf9fb8cc6375e7961824be6927dc226b97e35c3b4c12e7a1377104687c3") {
12
+ for (let $i = 0; $i < 37; $i += 1) {
13
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
14
+ }
15
+ $[0] = "da7cdbf9fb8cc6375e7961824be6927dc226b97e35c3b4c12e7a1377104687c3";
16
+ }
11
17
  let children;
12
18
  let disabled;
13
19
  let href;
@@ -18,7 +24,7 @@ const LinkBase = /*#__PURE__*/react.forwardRef((t0, ref) => {
18
24
  let skipNextLink;
19
25
  let target;
20
26
  let testID;
21
- if ($[0] !== t0) {
27
+ if ($[1] !== t0) {
22
28
  ({
23
29
  children,
24
30
  testID,
@@ -31,51 +37,51 @@ const LinkBase = /*#__PURE__*/react.forwardRef((t0, ref) => {
31
37
  rel,
32
38
  ...rest
33
39
  } = t0);
34
- $[0] = t0;
35
- $[1] = children;
36
- $[2] = disabled;
37
- $[3] = href;
38
- $[4] = onClick;
39
- $[5] = openInNewTab;
40
- $[6] = rel;
41
- $[7] = rest;
42
- $[8] = skipNextLink;
43
- $[9] = target;
44
- $[10] = testID;
40
+ $[1] = t0;
41
+ $[2] = children;
42
+ $[3] = disabled;
43
+ $[4] = href;
44
+ $[5] = onClick;
45
+ $[6] = openInNewTab;
46
+ $[7] = rel;
47
+ $[8] = rest;
48
+ $[9] = skipNextLink;
49
+ $[10] = target;
50
+ $[11] = testID;
45
51
  } else {
46
- children = $[1];
47
- disabled = $[2];
48
- href = $[3];
49
- onClick = $[4];
50
- openInNewTab = $[5];
51
- rel = $[6];
52
- rest = $[7];
53
- skipNextLink = $[8];
54
- target = $[9];
55
- testID = $[10];
52
+ children = $[2];
53
+ disabled = $[3];
54
+ href = $[4];
55
+ onClick = $[5];
56
+ openInNewTab = $[6];
57
+ rel = $[7];
58
+ rest = $[8];
59
+ skipNextLink = $[9];
60
+ target = $[10];
61
+ testID = $[11];
56
62
  }
57
63
  if (disabled) {
58
64
  let t1;
59
- if ($[11] !== children || $[12] !== ref || $[13] !== rest || $[14] !== testID) {
65
+ if ($[12] !== children || $[13] !== ref || $[14] !== rest || $[15] !== testID) {
60
66
  t1 = /*#__PURE__*/jsxRuntime.jsx("a", {
61
67
  ref: ref,
62
68
  "data-testid": testID,
63
69
  ...rest,
64
70
  children: children
65
71
  });
66
- $[11] = children;
67
- $[12] = ref;
68
- $[13] = rest;
69
- $[14] = testID;
70
- $[15] = t1;
72
+ $[12] = children;
73
+ $[13] = ref;
74
+ $[14] = rest;
75
+ $[15] = testID;
76
+ $[16] = t1;
71
77
  } else {
72
- t1 = $[15];
78
+ t1 = $[16];
73
79
  }
74
80
  return t1;
75
81
  }
76
82
  if (!href) {
77
83
  let t1;
78
- if ($[16] !== children || $[17] !== onClick || $[18] !== ref || $[19] !== rest || $[20] !== testID) {
84
+ if ($[17] !== children || $[18] !== onClick || $[19] !== ref || $[20] !== rest || $[21] !== testID) {
79
85
  t1 = /*#__PURE__*/jsxRuntime.jsx("a", {
80
86
  ref: ref,
81
87
  onClick: onClick,
@@ -83,14 +89,14 @@ const LinkBase = /*#__PURE__*/react.forwardRef((t0, ref) => {
83
89
  ...rest,
84
90
  children: children
85
91
  });
86
- $[16] = children;
87
- $[17] = onClick;
88
- $[18] = ref;
89
- $[19] = rest;
90
- $[20] = testID;
91
- $[21] = t1;
92
+ $[17] = children;
93
+ $[18] = onClick;
94
+ $[19] = ref;
95
+ $[20] = rest;
96
+ $[21] = testID;
97
+ $[22] = t1;
92
98
  } else {
93
- t1 = $[21];
99
+ t1 = $[22];
94
100
  }
95
101
  return t1;
96
102
  }
@@ -98,18 +104,18 @@ const LinkBase = /*#__PURE__*/react.forwardRef((t0, ref) => {
98
104
  const t1 = openInNewTab ? "_blank" : target;
99
105
  const t2 = openInNewTab ? "noopener noreferrer" : rel;
100
106
  let t3;
101
- if ($[22] !== Tag || $[23] !== href) {
107
+ if ($[23] !== Tag || $[24] !== href) {
102
108
  t3 = Tag === Link && href.startsWith("#") ? {
103
109
  prefetch: false
104
110
  } : undefined;
105
- $[22] = Tag;
106
- $[23] = href;
107
- $[24] = t3;
111
+ $[23] = Tag;
112
+ $[24] = href;
113
+ $[25] = t3;
108
114
  } else {
109
- t3 = $[24];
115
+ t3 = $[25];
110
116
  }
111
117
  let t4;
112
- if ($[25] !== Tag || $[26] !== children || $[27] !== href || $[28] !== onClick || $[29] !== ref || $[30] !== rest || $[31] !== t1 || $[32] !== t2 || $[33] !== t3 || $[34] !== testID) {
118
+ if ($[26] !== Tag || $[27] !== children || $[28] !== href || $[29] !== onClick || $[30] !== ref || $[31] !== rest || $[32] !== t1 || $[33] !== t2 || $[34] !== t3 || $[35] !== testID) {
113
119
  t4 = /*#__PURE__*/jsxRuntime.jsx(Tag, {
114
120
  href: href,
115
121
  ref: ref,
@@ -121,19 +127,19 @@ const LinkBase = /*#__PURE__*/react.forwardRef((t0, ref) => {
121
127
  ...rest,
122
128
  children: children
123
129
  });
124
- $[25] = Tag;
125
- $[26] = children;
126
- $[27] = href;
127
- $[28] = onClick;
128
- $[29] = ref;
129
- $[30] = rest;
130
- $[31] = t1;
131
- $[32] = t2;
132
- $[33] = t3;
133
- $[34] = testID;
134
- $[35] = t4;
130
+ $[26] = Tag;
131
+ $[27] = children;
132
+ $[28] = href;
133
+ $[29] = onClick;
134
+ $[30] = ref;
135
+ $[31] = rest;
136
+ $[32] = t1;
137
+ $[33] = t2;
138
+ $[34] = t3;
139
+ $[35] = testID;
140
+ $[36] = t4;
135
141
  } else {
136
- t4 = $[35];
142
+ t4 = $[36];
137
143
  }
138
144
  return t4;
139
145
  });
@@ -18,7 +18,7 @@ type ThemeProviderProps = {
18
18
  */
19
19
  initialThemeName?: Themes;
20
20
  };
21
- export declare function ThemeProvider({ children, disabled, initialThemeName, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function ThemeProvider({ children, disabled, initialThemeName, }: ThemeProviderProps): import("react").JSX.Element;
22
22
  export declare function useTheme(): {
23
23
  activeTheme: ActiveTheme;
24
24
  setDarkMode: () => void;
@@ -86,182 +86,106 @@ function getInitialActiveTheme(disabled, initialThemeName) {
86
86
  }
87
87
  return window.matchMedia?.('(prefers-color-scheme: dark)').matches ? types.Themes.DARK : types.Themes.LIGHT;
88
88
  }
89
- function ThemeProvider(t0) {
90
- const $ = compilerRuntime.c(24);
91
- const {
92
- children,
93
- disabled: t1,
94
- initialThemeName
95
- } = t0;
96
- const disabled = t1 === undefined ? false : t1;
97
- let t2;
98
- if ($[0] !== disabled || $[1] !== initialThemeName) {
99
- t2 = () => getInitialThemeName(disabled, initialThemeName);
100
- $[0] = disabled;
101
- $[1] = initialThemeName;
102
- $[2] = t2;
103
- } else {
104
- t2 = $[2];
105
- }
106
- const [themeName, setThemeName] = react.useState(t2);
107
- let t3;
108
- if ($[3] !== disabled || $[4] !== initialThemeName) {
109
- t3 = () => getInitialActiveTheme(disabled, initialThemeName);
110
- $[3] = disabled;
111
- $[4] = initialThemeName;
112
- $[5] = t3;
113
- } else {
114
- t3 = $[5];
115
- }
116
- const [activeTheme, setActiveTheme] = react.useState(t3);
117
- let t4;
118
- if ($[6] !== themeName) {
119
- t4 = event => {
120
- if (themeName !== types.Themes.AUTO) {
121
- return;
122
- }
123
- const resolved = event.matches ? types.Themes.DARK : types.Themes.LIGHT;
124
- applyDarkThemeClass(resolved === types.Themes.DARK);
125
- setActiveTheme(resolved);
126
- };
127
- $[6] = themeName;
128
- $[7] = t4;
129
- } else {
130
- t4 = $[7];
131
- }
132
- const onMediaChange = react.useEffectEvent(t4);
133
- let t5;
134
- if ($[8] !== disabled || $[9] !== initialThemeName || $[10] !== onMediaChange) {
135
- t5 = function syncToResolvedTheme() {
136
- if (disabled) {
137
- const lockedActive = initialThemeName === types.Themes.DARK ? types.Themes.DARK : initialThemeName === types.Themes.LIGHT ? types.Themes.LIGHT : types.Themes.LIGHT;
138
- applyDarkThemeClass(lockedActive === types.Themes.DARK);
139
- setThemeName(initialThemeName ?? types.Themes.LIGHT);
140
- setActiveTheme(lockedActive);
141
- return;
142
- }
143
- const mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
89
+ function ThemeProvider({
90
+ children,
91
+ disabled = false,
92
+ initialThemeName
93
+ }) {
94
+ const [themeName, setThemeName] = react.useState(() => getInitialThemeName(disabled, initialThemeName));
95
+ const [activeTheme, setActiveTheme] = react.useState(() => getInitialActiveTheme(disabled, initialThemeName));
96
+ const onMediaChange = react.useEffectEvent(event => {
97
+ // Only follow OS changes when the user hasn't set an explicit preference.
98
+ if (themeName !== types.Themes.AUTO) {
99
+ return;
100
+ }
101
+ const resolved = event.matches ? types.Themes.DARK : types.Themes.LIGHT;
102
+ applyDarkThemeClass(resolved === types.Themes.DARK);
103
+ setActiveTheme(resolved);
104
+ });
105
+ react.useLayoutEffect(function syncToResolvedTheme() {
106
+ // Disabled + initialThemeName locks to that theme; no cookie or system
107
+ // preference should override it.
108
+ if (disabled) {
109
+ const lockedActive = initialThemeName === types.Themes.DARK ? types.Themes.DARK : initialThemeName === types.Themes.LIGHT ? types.Themes.LIGHT : types.Themes.LIGHT;
110
+ applyDarkThemeClass(lockedActive === types.Themes.DARK);
111
+ // oxlint-disable-next-line react/set-state-in-effect -- the first render must match the server; useSyncExternalStore fix tracked in ENG-28840
112
+ setThemeName(initialThemeName ?? types.Themes.LIGHT);
113
+ setActiveTheme(lockedActive);
114
+ return;
115
+ }
116
+ const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');
117
+ try {
118
+ mediaQuery.addEventListener('change', onMediaChange);
119
+ } catch {
120
+ mediaQuery.addListener(onMediaChange);
121
+ }
122
+ const preference = themeCookie.getThemeCookie();
123
+ let resolvedName;
124
+ if (preference === 'dark') {
125
+ resolvedName = types.Themes.DARK;
126
+ } else if (preference === 'light') {
127
+ resolvedName = types.Themes.LIGHT;
128
+ } else if (initialThemeName) {
129
+ // No cookie but the server gave us a seed value - keep it so we don't
130
+ // flip to AUTO after mount (React bails on the equal setState).
131
+ resolvedName = initialThemeName;
132
+ } else {
133
+ resolvedName = types.Themes.AUTO;
134
+ }
135
+ setThemeName(resolvedName);
136
+ const resolvedActive = resolvedActiveThemeFromName(resolvedName, mediaQuery.matches);
137
+ setActiveTheme(resolvedActive);
138
+ applyDarkThemeClass(resolvedActive === types.Themes.DARK);
139
+ return function cleanup() {
144
140
  try {
145
- mediaQuery.addEventListener("change", onMediaChange);
141
+ mediaQuery.removeEventListener('change', onMediaChange);
146
142
  } catch {
147
- mediaQuery.addListener(onMediaChange);
148
- }
149
- const preference = themeCookie.getThemeCookie();
150
- let resolvedName;
151
- if (preference === "dark") {
152
- resolvedName = types.Themes.DARK;
153
- } else {
154
- if (preference === "light") {
155
- resolvedName = types.Themes.LIGHT;
156
- } else {
157
- if (initialThemeName) {
158
- resolvedName = initialThemeName;
159
- } else {
160
- resolvedName = types.Themes.AUTO;
161
- }
162
- }
143
+ mediaQuery.removeListener(onMediaChange);
163
144
  }
164
- setThemeName(resolvedName);
165
- const resolvedActive = resolvedActiveThemeFromName(resolvedName, mediaQuery.matches);
166
- setActiveTheme(resolvedActive);
167
- applyDarkThemeClass(resolvedActive === types.Themes.DARK);
168
- return function cleanup() {
169
- try {
170
- mediaQuery.removeEventListener("change", onMediaChange);
171
- } catch {
172
- mediaQuery.removeListener(onMediaChange);
173
- }
174
- };
175
- };
176
- $[8] = disabled;
177
- $[9] = initialThemeName;
178
- $[10] = onMediaChange;
179
- $[11] = t5;
180
- } else {
181
- t5 = $[11];
182
- }
183
- let t6;
184
- if ($[12] !== disabled || $[13] !== initialThemeName) {
185
- t6 = [disabled, initialThemeName];
186
- $[12] = disabled;
187
- $[13] = initialThemeName;
188
- $[14] = t6;
189
- } else {
190
- t6 = $[14];
191
- }
192
- react.useLayoutEffect(t5, t6);
193
- let t7;
194
- if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
195
- t7 = () => {
196
- themeCookie.setThemeCookie("dark");
197
- applyDarkThemeClass(true);
198
- setThemeName(types.Themes.DARK);
199
- setActiveTheme(types.Themes.DARK);
200
145
  };
201
- $[15] = t7;
202
- } else {
203
- t7 = $[15];
204
- }
205
- const setDarkMode = t7;
206
- let t8;
207
- if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
208
- t8 = () => {
209
- themeCookie.setThemeCookie("light");
210
- applyDarkThemeClass(false);
211
- setThemeName(types.Themes.LIGHT);
212
- setActiveTheme(types.Themes.LIGHT);
213
- };
214
- $[16] = t8;
215
- } else {
216
- t8 = $[16];
217
- }
218
- const setLightMode = t8;
219
- let t9;
220
- if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
221
- t9 = () => {
222
- themeCookie.removeThemeCookie();
223
- const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
224
- const resolved_0 = prefersDark ? types.Themes.DARK : types.Themes.LIGHT;
225
- applyDarkThemeClass(resolved_0 === types.Themes.DARK);
226
- setThemeName(types.Themes.AUTO);
227
- setActiveTheme(resolved_0);
228
- };
229
- $[17] = t9;
230
- } else {
231
- t9 = $[17];
232
- }
233
- const setAutoMode = t9;
234
- let t10;
235
- if ($[18] !== activeTheme || $[19] !== themeName) {
236
- t10 = {
237
- activeTheme,
238
- setDarkMode,
239
- setLightMode,
240
- setAutoMode,
241
- themeName
242
- };
243
- $[18] = activeTheme;
244
- $[19] = themeName;
245
- $[20] = t10;
246
- } else {
247
- t10 = $[20];
248
- }
249
- const value = t10;
250
- let t11;
251
- if ($[21] !== children || $[22] !== value) {
252
- t11 = /*#__PURE__*/jsxRuntime.jsx(ThemeContext.Provider, {
253
- value: value,
254
- children: children
255
- });
256
- $[21] = children;
257
- $[22] = value;
258
- $[23] = t11;
259
- } else {
260
- t11 = $[23];
261
- }
262
- return t11;
146
+ }, [disabled, initialThemeName]);
147
+
148
+ // React Compiler auto-memoizes these; no need for useCallback / useMemo.
149
+ const setDarkMode = () => {
150
+ themeCookie.setThemeCookie('dark');
151
+ applyDarkThemeClass(true);
152
+ setThemeName(types.Themes.DARK);
153
+ setActiveTheme(types.Themes.DARK);
154
+ };
155
+ const setLightMode = () => {
156
+ themeCookie.setThemeCookie('light');
157
+ applyDarkThemeClass(false);
158
+ setThemeName(types.Themes.LIGHT);
159
+ setActiveTheme(types.Themes.LIGHT);
160
+ };
161
+ const setAutoMode = () => {
162
+ themeCookie.removeThemeCookie();
163
+ const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
164
+ const resolved_0 = prefersDark ? types.Themes.DARK : types.Themes.LIGHT;
165
+ applyDarkThemeClass(resolved_0 === types.Themes.DARK);
166
+ setThemeName(types.Themes.AUTO);
167
+ setActiveTheme(resolved_0);
168
+ };
169
+ const value = {
170
+ activeTheme,
171
+ setDarkMode,
172
+ setLightMode,
173
+ setAutoMode,
174
+ themeName
175
+ };
176
+ return /*#__PURE__*/jsxRuntime.jsx(ThemeContext.Provider, {
177
+ value: value,
178
+ children: children
179
+ });
263
180
  }
264
181
  function useTheme() {
182
+ const $ = compilerRuntime.c(1);
183
+ if ($[0] !== "7c695916d67ee3470e99d45816baac50c41fecc012db1d584681d90b31e77966") {
184
+ for (let $i = 0; $i < 1; $i += 1) {
185
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
186
+ }
187
+ $[0] = "7c695916d67ee3470e99d45816baac50c41fecc012db1d584681d90b31e77966";
188
+ }
265
189
  const context = react.useContext(ThemeContext);
266
190
  if (context === undefined) {
267
191
  throw new Error("useTheme must be used within a ThemeProvider");
@@ -1,2 +1,2 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export declare function DocsLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DocsLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): import("react").JSX.Element;
@@ -2,37 +2,44 @@
2
2
  'use strict';
3
3
 
4
4
  var compilerRuntime = require('react/compiler-runtime');
5
+ require('react');
5
6
  var jsxRuntime = require('react/jsx-runtime');
6
7
  var mergeClasses = require('@expo/styleguide-base/mergeClasses');
7
8
 
8
9
  function DocsLogo(t0) {
9
- const $ = compilerRuntime.c(10);
10
+ const $ = compilerRuntime.c(11);
11
+ if ($[0] !== "8b24cf251faeda0239e221b3a4a3c3cc39755dd7a8c2b766c50de5b1dcacef96") {
12
+ for (let $i = 0; $i < 11; $i += 1) {
13
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
14
+ }
15
+ $[0] = "8b24cf251faeda0239e221b3a4a3c3cc39755dd7a8c2b766c50de5b1dcacef96";
16
+ }
10
17
  let className;
11
18
  let rest;
12
- if ($[0] !== t0) {
19
+ if ($[1] !== t0) {
13
20
  ({
14
21
  className,
15
22
  ...rest
16
23
  } = t0);
17
- $[0] = t0;
18
- $[1] = className;
19
- $[2] = rest;
24
+ $[1] = t0;
25
+ $[2] = className;
26
+ $[3] = rest;
20
27
  } else {
21
- className = $[1];
22
- rest = $[2];
28
+ className = $[2];
29
+ rest = $[3];
23
30
  }
24
31
  let t1;
25
- if ($[3] !== className) {
32
+ if ($[4] !== className) {
26
33
  t1 = mergeClasses.mergeClasses("icon-md text-icon-default", className);
27
- $[3] = className;
28
- $[4] = t1;
34
+ $[4] = className;
35
+ $[5] = t1;
29
36
  } else {
30
- t1 = $[4];
37
+ t1 = $[5];
31
38
  }
32
39
  const _className = t1;
33
40
  let t2;
34
41
  let t3;
35
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
42
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
36
43
  t2 = /*#__PURE__*/jsxRuntime.jsx("path", {
37
44
  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",
38
45
  fill: "currentColor"
@@ -43,14 +50,14 @@ function DocsLogo(t0) {
43
50
  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",
44
51
  fill: "currentColor"
45
52
  });
46
- $[5] = t2;
47
- $[6] = t3;
53
+ $[6] = t2;
54
+ $[7] = t3;
48
55
  } else {
49
- t2 = $[5];
50
- t3 = $[6];
56
+ t2 = $[6];
57
+ t3 = $[7];
51
58
  }
52
59
  let t4;
53
- if ($[7] !== _className || $[8] !== rest) {
60
+ if ($[8] !== _className || $[9] !== rest) {
54
61
  t4 = /*#__PURE__*/jsxRuntime.jsxs("svg", {
55
62
  viewBox: "0 0 20 20",
56
63
  fill: "none",
@@ -59,11 +66,11 @@ function DocsLogo(t0) {
59
66
  ...rest,
60
67
  children: [t2, t3]
61
68
  });
62
- $[7] = _className;
63
- $[8] = rest;
64
- $[9] = t4;
69
+ $[8] = _className;
70
+ $[9] = rest;
71
+ $[10] = t4;
65
72
  } else {
66
- t4 = $[9];
73
+ t4 = $[10];
67
74
  }
68
75
  return t4;
69
76
  }
@@ -1,2 +1,2 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export declare function ExpoGoLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function ExpoGoLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): import("react").JSX.Element;
@@ -2,46 +2,53 @@
2
2
  'use strict';
3
3
 
4
4
  var compilerRuntime = require('react/compiler-runtime');
5
+ require('react');
5
6
  var jsxRuntime = require('react/jsx-runtime');
6
7
  var mergeClasses = require('@expo/styleguide-base/mergeClasses');
7
8
 
8
9
  function ExpoGoLogo(t0) {
9
- const $ = compilerRuntime.c(9);
10
+ const $ = compilerRuntime.c(10);
11
+ if ($[0] !== "0b577ac4c6059436d476dc74af8944b5478f966739a1fa5cef5fdf94fc0f3d0c") {
12
+ for (let $i = 0; $i < 10; $i += 1) {
13
+ $[$i] = Symbol.for("react.memo_cache_sentinel");
14
+ }
15
+ $[0] = "0b577ac4c6059436d476dc74af8944b5478f966739a1fa5cef5fdf94fc0f3d0c";
16
+ }
10
17
  let className;
11
18
  let rest;
12
- if ($[0] !== t0) {
19
+ if ($[1] !== t0) {
13
20
  ({
14
21
  className,
15
22
  ...rest
16
23
  } = t0);
17
- $[0] = t0;
18
- $[1] = className;
19
- $[2] = rest;
24
+ $[1] = t0;
25
+ $[2] = className;
26
+ $[3] = rest;
20
27
  } else {
21
- className = $[1];
22
- rest = $[2];
28
+ className = $[2];
29
+ rest = $[3];
23
30
  }
24
31
  let t1;
25
- if ($[3] !== className) {
32
+ if ($[4] !== className) {
26
33
  t1 = mergeClasses.mergeClasses("icon-md text-icon-default", className);
27
- $[3] = className;
28
- $[4] = t1;
34
+ $[4] = className;
35
+ $[5] = t1;
29
36
  } else {
30
- t1 = $[4];
37
+ t1 = $[5];
31
38
  }
32
39
  const _className = t1;
33
40
  let t2;
34
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
41
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
35
42
  t2 = /*#__PURE__*/jsxRuntime.jsx("path", {
36
43
  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",
37
44
  fill: "currentColor"
38
45
  });
39
- $[5] = t2;
46
+ $[6] = t2;
40
47
  } else {
41
- t2 = $[5];
48
+ t2 = $[6];
42
49
  }
43
50
  let t3;
44
- if ($[6] !== _className || $[7] !== rest) {
51
+ if ($[7] !== _className || $[8] !== rest) {
45
52
  t3 = /*#__PURE__*/jsxRuntime.jsx("svg", {
46
53
  viewBox: "0 0 20 20",
47
54
  fill: "none",
@@ -50,11 +57,11 @@ function ExpoGoLogo(t0) {
50
57
  ...rest,
51
58
  children: t2
52
59
  });
53
- $[6] = _className;
54
- $[7] = rest;
55
- $[8] = t3;
60
+ $[7] = _className;
61
+ $[8] = rest;
62
+ $[9] = t3;
56
63
  } else {
57
- t3 = $[8];
64
+ t3 = $[9];
58
65
  }
59
66
  return t3;
60
67
  }
@@ -1,2 +1,2 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export declare function Logo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Logo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): import("react").JSX.Element;