@expo/styleguide 8.0.0-alpha.8 → 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/expo-theme.css +0 -18
- package/dist/index.js +22 -14
- package/dist/src/components/Button/Button.d.ts +1 -1
- package/dist/src/components/Link/Link.d.ts +6 -3
- package/dist/src/components/Theme/BlockingSetInitialColorMode.d.ts +2 -2
- package/dist/src/components/Theme/ThemeProvider.d.ts +2 -2
- package/dist/src/logos/DocsLogo.d.ts +2 -2
- package/dist/src/logos/ExpoGoLogo.d.ts +2 -2
- package/dist/src/logos/Logo.d.ts +2 -2
- package/dist/src/logos/RouterLogo.d.ts +2 -0
- package/dist/src/logos/SnackLogo.d.ts +2 -2
- package/dist/src/logos/WordMarkLogo.d.ts +2 -2
- package/dist/src/logos/index.d.ts +1 -0
- package/dist/src/styles/themes.d.ts +0 -9
- package/package.json +6 -6
- package/tailwind.js +0 -9
package/dist/expo-theme.css
CHANGED
|
@@ -116,15 +116,6 @@
|
|
|
116
116
|
--expo-theme-button-secondary-destructive-disabled-border: var(--red5);
|
|
117
117
|
--expo-theme-button-secondary-destructive-disabled-text: var(--red8);
|
|
118
118
|
|
|
119
|
-
/* Project icon backgrounds */
|
|
120
|
-
--expo-theme-project-blue: linear-gradient(#81b2eb, #6299d9);
|
|
121
|
-
--expo-theme-project-green: linear-gradient(#6eb87f, #54a767);
|
|
122
|
-
--expo-theme-project-yellow: linear-gradient(#edcd5f, #e5c145);
|
|
123
|
-
--expo-theme-project-orange: linear-gradient(#eb9f6a, #d9864c);
|
|
124
|
-
--expo-theme-project-red: linear-gradient(#eb7171, #d95757);
|
|
125
|
-
--expo-theme-project-pink: linear-gradient(#eb8dc5, #d977b2);
|
|
126
|
-
--expo-theme-project-purple: linear-gradient(#a687e0, #8a66cc);
|
|
127
|
-
|
|
128
119
|
/* Light shadows */
|
|
129
120
|
--expo-theme-shadows-none: 0 0 transparent;
|
|
130
121
|
--expo-theme-shadows-xs: 0 1px 3px rgba(0, 0, 0, 0.025),
|
|
@@ -239,15 +230,6 @@
|
|
|
239
230
|
--expo-theme-button-secondary-destructive-disabled-border: var(--red6);
|
|
240
231
|
--expo-theme-button-secondary-destructive-disabled-text: var(--red10);
|
|
241
232
|
|
|
242
|
-
/* Project icon backgrounds */
|
|
243
|
-
--expo-theme-project-blue: linear-gradient(#537296, #395a80);
|
|
244
|
-
--expo-theme-project-green: linear-gradient(#4b7d56, #32633d);
|
|
245
|
-
--expo-theme-project-yellow: linear-gradient(#a67f35, #8a6319);
|
|
246
|
-
--expo-theme-project-orange: linear-gradient(#ab744d, #8c5731);
|
|
247
|
-
--expo-theme-project-red: linear-gradient(#b25656, #8c3838);
|
|
248
|
-
--expo-theme-project-pink: linear-gradient(#995c81, #8a4c71);
|
|
249
|
-
--expo-theme-project-purple: linear-gradient(#715c99, #4e3973);
|
|
250
|
-
|
|
251
233
|
/* Dark shadows */
|
|
252
234
|
--expo-theme-shadows-none: 0 0 transparent;
|
|
253
235
|
--expo-theme-shadows-xs: 0 1px 3px rgba(0, 0, 0, 0.3),
|
package/dist/index.js
CHANGED
|
@@ -180,6 +180,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
180
180
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
181
181
|
PERFORMANCE OF THIS SOFTWARE.
|
|
182
182
|
***************************************************************************** */
|
|
183
|
+
/* global Reflect, Promise */
|
|
184
|
+
|
|
183
185
|
|
|
184
186
|
var __assign = function() {
|
|
185
187
|
__assign = Object.assign || function __assign(t) {
|
|
@@ -257,10 +259,10 @@ var LinkBase = React.forwardRef(function (_a, ref) {
|
|
|
257
259
|
});
|
|
258
260
|
LinkBase.displayName = 'LinkBase';
|
|
259
261
|
|
|
260
|
-
|
|
262
|
+
var Link = React.forwardRef(function (_a, ref) {
|
|
261
263
|
var className = _a.className, disabled = _a.disabled, rest = __rest(_a, ["className", "disabled"]);
|
|
262
|
-
return (React.createElement(LinkBase, __assign({ className: mergeClasses('text-link transition-opacity', !disabled && 'hocus:opacity-80', className) }, rest)));
|
|
263
|
-
}
|
|
264
|
+
return (React.createElement(LinkBase, __assign({ className: mergeClasses('text-link transition-opacity', !disabled && 'hocus:opacity-80', className), ref: ref }, rest)));
|
|
265
|
+
});
|
|
264
266
|
|
|
265
267
|
function getSizeClasses(size) {
|
|
266
268
|
switch (size) {
|
|
@@ -358,16 +360,22 @@ function getIconProps(element, classNames) {
|
|
|
358
360
|
}
|
|
359
361
|
var Button = React.forwardRef(function (_a, ref) {
|
|
360
362
|
var children = _a.children, _b = _a.size, size = _b === void 0 ? 'sm' : _b, _c = _a.theme, theme = _c === void 0 ? 'primary' : _c, _d = _a.skipCapitalization, skipCapitalization = _d === void 0 ? false : _d, href = _a.href, disabled = _a.disabled, className = _a.className, leftSlot = _a.leftSlot, rightSlot = _a.rightSlot, openInNewTab = _a.openInNewTab, rest = __rest(_a, ["children", "size", "theme", "skipCapitalization", "href", "disabled", "className", "leftSlot", "rightSlot", "openInNewTab"]);
|
|
361
|
-
var Element = href ? LinkBase : ButtonBase;
|
|
362
363
|
var isLeftSlotIcon = leftSlot && isIconElement(leftSlot);
|
|
363
364
|
var isRightSlotIcon = rightSlot && isIconElement(rightSlot);
|
|
364
365
|
var iconClasses = (isLeftSlotIcon || isRightSlotIcon) &&
|
|
365
366
|
mergeClasses("".concat(getIconSizeClasses(size)), getThemedIconClasses(theme), disabled && 'opacity-60');
|
|
366
367
|
var isSingleIconButton = (leftSlot || rightSlot) && !children;
|
|
367
|
-
|
|
368
|
+
var twClasses = mergeClasses("inline-flex border border-solid rounded-md font-medium gap-2 items-center whitespace-nowrap transition", getSizeClasses(size), getThemeClasses(theme, disabled), isSingleIconButton && getButtonIconClasses(size), disabled && 'cursor-default opacity-80 pointer-event-none', className);
|
|
369
|
+
var content = (React.createElement(React.Fragment, null,
|
|
368
370
|
isLeftSlotIcon ? React.cloneElement(leftSlot, getIconProps(leftSlot, iconClasses)) : leftSlot,
|
|
369
371
|
children && (React.createElement("span", { className: mergeClasses('flex self-center text-inherit leading-none', href && 'select-none') }, typeof children === 'string' && !skipCapitalization ? titleCase(children) : children)),
|
|
370
372
|
isRightSlotIcon ? React.cloneElement(rightSlot, getIconProps(rightSlot, iconClasses)) : rightSlot));
|
|
373
|
+
if (href) {
|
|
374
|
+
return (React.createElement(LinkBase, __assign({ href: href, className: twClasses, disabled: disabled, ref: ref, openInNewTab: openInNewTab }, rest), content));
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
return (React.createElement(ButtonBase, __assign({ className: twClasses, disabled: disabled, ref: ref }, rest), content));
|
|
378
|
+
}
|
|
371
379
|
});
|
|
372
380
|
Button.displayName = 'Button';
|
|
373
381
|
|
|
@@ -393,6 +401,14 @@ function Logo(_a) {
|
|
|
393
401
|
React.createElement("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: "currentColor" })));
|
|
394
402
|
}
|
|
395
403
|
|
|
404
|
+
function RouterLogo(_a) {
|
|
405
|
+
var className = _a.className, rest = __rest(_a, ["className"]);
|
|
406
|
+
var _className = mergeClasses('icon-md text-icon-default', className);
|
|
407
|
+
return (React.createElement("svg", __assign({ viewBox: "0 0 20 20", fill: "none", role: "img", className: _className }, rest),
|
|
408
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.51006 18.8434L9.53354 18.4134L9.56067 17.9149C9.70602 17.9228 9.85252 17.9268 10 17.9268C10.1475 17.9268 10.294 17.9228 10.4393 17.9149L10.4665 18.4134L10.4899 18.8434C12.5668 18.7302 14.4532 17.9014 15.9069 16.5994L15.6195 16.2786L15.2864 15.9067C15.5044 15.7115 15.7115 15.5044 15.9067 15.2864L16.2786 15.6195L16.5994 15.9069C17.9014 14.4532 18.7302 12.5668 18.8434 10.4899L18.4134 10.4665L17.9149 10.4393C17.9228 10.294 17.9268 10.1475 17.9268 10C17.9268 9.85252 17.9228 9.70602 17.9149 9.56067L18.4134 9.53354L18.8434 9.51006C18.7302 7.43323 17.9014 5.54683 16.5994 4.09314L16.2786 4.38046L15.9067 4.71354C15.7115 4.49559 15.5044 4.2885 15.2864 4.09328L15.6195 3.7214L15.9069 3.40062C14.4532 2.0986 12.5668 1.26984 10.4899 1.15662L10.4665 1.58662L10.4393 2.08511C10.294 2.07719 10.1475 2.07317 10 2.07317C9.85252 2.07317 9.70602 2.07719 9.56067 2.08511L9.53354 1.58662L9.51006 1.15662C7.43323 1.26984 5.54683 2.0986 4.09315 3.40062L4.38046 3.7214L4.71354 4.09328C4.49559 4.2885 4.2885 4.49559 4.09328 4.71354L3.7214 4.38046L3.40062 4.09315C2.0986 5.54683 1.26984 7.43323 1.15662 9.51006L1.58662 9.53354L2.08511 9.56067C2.07719 9.70602 2.07317 9.85252 2.07317 10C2.07317 10.1475 2.07719 10.294 2.08511 10.4393L1.58662 10.4665L1.15662 10.4899C1.26984 12.5668 2.0986 14.4532 3.40062 15.9069L3.7214 15.6195L4.09328 15.2864C4.2885 15.5044 4.49559 15.7115 4.71354 15.9067L4.38046 16.2786L4.09315 16.5994C5.54683 17.9014 7.43323 18.7302 9.51006 18.8434ZM20 10C20 15.5229 15.5229 20 10 20C4.47715 20 0 15.5229 0 10C0 4.47715 4.47715 0 10 0C15.5229 0 20 4.47715 20 10Z", fill: "currentColor" }),
|
|
409
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.14777 10.3622L4.25351 10.0373L4.36101 9.89014C4.4513 9.76651 4.61944 9.59563 4.73245 9.48084C4.8812 9.3297 5.07742 9.13496 5.30312 8.91362C5.75546 8.46994 6.33928 7.9063 6.92723 7.3437C8.07319 6.24703 9.31976 5.07196 9.57814 4.86363L9.57852 4.86336L9.57883 4.8631C9.58828 4.85547 9.59834 4.84736 9.60886 4.83883C9.77654 4.70296 10.0755 4.46077 10.4509 4.35111C10.9203 4.21397 11.3363 4.31708 11.6086 4.39604L11.6264 4.4012L12.0156 4.52791L12.0331 4.53422C12.3001 4.63079 12.697 4.79248 12.9957 5.17984C13.2343 5.48938 13.3333 5.86098 13.3888 6.06927C13.3923 6.0824 13.3956 6.09487 13.3988 6.10665L13.3989 6.10696C13.4868 6.43352 13.8146 8.18115 14.1008 9.77459C14.2475 10.5917 14.3889 11.4 14.4909 12.0152C14.5417 12.3218 14.5838 12.5867 14.6121 12.783C14.6259 12.8795 14.638 12.9701 14.6459 13.0447C14.6496 13.0803 14.6541 13.1276 14.6564 13.1766C14.6575 13.2001 14.6589 13.2404 14.6573 13.2883C14.6572 13.289 14.6572 13.2898 14.6572 13.2909C14.6564 13.3158 14.6525 13.4542 14.6004 13.6142C14.4473 14.0847 14.1704 14.4484 13.7328 14.785L13.7326 14.7851L13.7324 14.7852C13.4428 15.0078 13.0273 15.2071 12.5475 15.2013C11.9922 15.1946 11.4437 14.9025 11.157 14.3211L11.1566 14.3202C11.1032 14.2117 11.0698 14.0985 11.0594 14.0635C11.0589 14.0619 11.0585 14.0604 11.058 14.0591C11.0406 14.0002 11.0223 13.9329 11.0043 13.8638C10.9679 13.7241 10.9239 13.5431 10.8749 13.3377C10.8185 13.1007 10.7521 12.8164 10.6802 12.5083C10.6282 12.2853 10.5733 12.0498 10.517 11.8108C10.3651 11.1648 10.2034 10.4912 10.0513 9.90165C9.58127 10.2887 9.05413 10.7382 8.55108 11.1709C8.36495 11.3311 8.18195 11.4891 8.00855 11.6388C7.76915 11.8454 7.54816 12.0362 7.363 12.1946C7.20255 12.3318 7.06034 12.4523 6.94877 12.5437C6.89353 12.589 6.83913 12.6327 6.79033 12.67C6.78925 12.6709 6.78803 12.6718 6.78665 12.6728C6.75768 12.695 6.66397 12.7668 6.55695 12.8231L6.5561 12.8235C5.98215 13.1248 5.36684 13.0381 4.91395 12.7167C4.52261 12.4389 4.30403 12.0333 4.20092 11.6828L4.20078 11.6824C4.07271 11.2463 4.03529 10.8352 4.13703 10.4074L4.14777 10.3622ZM9.71351 8.70279C9.71358 8.70272 9.71366 8.70272 9.71366 8.70264C9.72136 8.69647 9.72905 8.69037 9.73668 8.68427C9.75207 8.67192 9.76747 8.65965 9.78271 8.64753C9.99986 8.47452 10.1986 8.32154 10.3689 8.19852C10.4041 8.172 10.4453 8.15432 10.4889 8.14708C10.5325 8.13984 10.5771 8.14327 10.6192 8.15691C10.6612 8.17063 10.6993 8.19418 10.7304 8.22566C10.7613 8.25721 10.7842 8.2957 10.797 8.33785C10.8623 8.53755 10.9329 8.77825 11.0067 9.04593C11.0119 9.06468 11.0171 9.08366 11.0223 9.10272C11.0249 9.11209 11.0275 9.12162 11.03 9.13107C11.03 9.13115 11.03 9.13122 11.03 9.1313C11.2833 10.0616 11.5694 11.2874 11.7947 12.2532C11.9891 13.0862 12.1384 13.7258 12.1825 13.8154C12.3486 14.1525 12.7422 14.1043 13.0357 13.8787C13.3243 13.6568 13.4435 13.4744 13.5132 13.2603C13.5607 13.1146 12.4379 6.93503 12.2949 6.40437C12.1574 5.89438 12.1035 5.77547 11.6442 5.60933L11.2901 5.49409C10.8211 5.35805 10.7076 5.42211 10.2957 5.75366C9.877 6.09129 5.51013 10.2552 5.28426 10.5645L5.24931 10.6718C5.20506 10.8579 5.20989 11.0611 5.29773 11.3601C5.40221 11.7152 5.69205 11.9859 6.02474 11.8112C6.11321 11.7647 6.61032 11.3355 7.25778 10.7765C8.00848 10.1284 8.96122 9.30577 9.71351 8.70279Z", fill: "currentColor" })));
|
|
410
|
+
}
|
|
411
|
+
|
|
396
412
|
function SnackLogo(_a) {
|
|
397
413
|
var className = _a.className, rest = __rest(_a, ["className"]);
|
|
398
414
|
var _className = mergeClasses('icon-md text-icon-default', className);
|
|
@@ -534,15 +550,6 @@ var theme = {
|
|
|
534
550
|
}
|
|
535
551
|
}
|
|
536
552
|
},
|
|
537
|
-
project: {
|
|
538
|
-
blue: 'var(--expo-theme-project-blue)',
|
|
539
|
-
green: 'var(--expo-theme-project-green)',
|
|
540
|
-
yellow: 'var(--expo-theme-project-yellow)',
|
|
541
|
-
orange: 'var(--expo-theme-project-orange)',
|
|
542
|
-
red: 'var(--expo-theme-project-red)',
|
|
543
|
-
pink: 'var(--expo-theme-project-pink)',
|
|
544
|
-
purple: 'var(--expo-theme-project-purple)'
|
|
545
|
-
},
|
|
546
553
|
palette: {
|
|
547
554
|
white: 'var(--expo-color-white)',
|
|
548
555
|
black: 'var(--expo-color-black)',
|
|
@@ -870,6 +877,7 @@ exports.ExpoGoLogo = ExpoGoLogo;
|
|
|
870
877
|
exports.Link = Link;
|
|
871
878
|
exports.LinkBase = LinkBase;
|
|
872
879
|
exports.Logo = Logo;
|
|
880
|
+
exports.RouterLogo = RouterLogo;
|
|
873
881
|
exports.SnackLogo = SnackLogo;
|
|
874
882
|
exports.ThemeProvider = ThemeProvider;
|
|
875
883
|
exports.WordMarkLogo = WordMarkLogo;
|
|
@@ -23,4 +23,4 @@ export declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAtt
|
|
|
23
23
|
leftSlot?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
24
24
|
rightSlot?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
25
25
|
skipCapitalization?: boolean | undefined;
|
|
26
|
-
} & React.RefAttributes<HTMLButtonElement |
|
|
26
|
+
} & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Link: React.ForwardRefExoticComponent<React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3
|
+
testID?: string | undefined;
|
|
4
|
+
openInNewTab?: boolean | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare function isLocalStorageAvailable(): boolean;
|
|
3
3
|
export declare function getInitialColorMode(): string | null;
|
|
4
|
-
export declare function BlockingSetInitialColorMode(): JSX.Element;
|
|
4
|
+
export declare function BlockingSetInitialColorMode(): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
export declare enum Themes {
|
|
3
3
|
AUTO = "auto",
|
|
4
4
|
DARK = "dark",
|
|
@@ -8,7 +8,7 @@ type ThemeProviderProps = {
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare function ThemeProvider(props: ThemeProviderProps): JSX.Element;
|
|
11
|
+
export declare function ThemeProvider(props: ThemeProviderProps): React.JSX.Element;
|
|
12
12
|
export declare function useTheme(): {
|
|
13
13
|
setDarkMode: () => void;
|
|
14
14
|
setLightMode: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export declare function DocsLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
export declare function DocsLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export declare function ExpoGoLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
export declare function ExpoGoLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
|
package/dist/src/logos/Logo.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export declare function Logo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
export declare function Logo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export declare function SnackLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
export declare function SnackLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export declare function WordMarkLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
export declare function WordMarkLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
|
|
@@ -115,15 +115,6 @@ export declare const theme: {
|
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
project: {
|
|
119
|
-
blue: string;
|
|
120
|
-
green: string;
|
|
121
|
-
yellow: string;
|
|
122
|
-
orange: string;
|
|
123
|
-
red: string;
|
|
124
|
-
pink: string;
|
|
125
|
-
purple: string;
|
|
126
|
-
};
|
|
127
118
|
palette: {
|
|
128
119
|
white: string;
|
|
129
120
|
black: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/styleguide",
|
|
3
|
-
"version": "8.0.0
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Expo's styleguide components for use on the web.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@rollup/plugin-typescript": "^11.0.0",
|
|
33
33
|
"@tailwindcss/typography": "^0.5.9",
|
|
34
|
-
"@types/react": "^18.
|
|
34
|
+
"@types/react": "^18.2.6",
|
|
35
35
|
"npm-run-all": "^4.1.5",
|
|
36
36
|
"rimraf": "^4.1.2",
|
|
37
|
-
"rollup": "^3.
|
|
37
|
+
"rollup": "^3.21.5",
|
|
38
38
|
"rollup-plugin-copy": "^3.4.0",
|
|
39
|
-
"tailwindcss": "^3.2
|
|
39
|
+
"tailwindcss": "^3.3.2",
|
|
40
40
|
"typescript": "^4.9.5"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"react": ">= 16"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@expo/styleguide-base": "^1.0.0
|
|
47
|
+
"@expo/styleguide-base": "^1.0.0",
|
|
48
48
|
"tailwind-merge": "^1.12.0"
|
|
49
49
|
},
|
|
50
50
|
"eslintConfig": {
|
|
51
51
|
"extends": "universe/web"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "6cb78911f90336e1170cc7cc349d4f7e534e1322"
|
|
54
54
|
}
|
package/tailwind.js
CHANGED
|
@@ -151,15 +151,6 @@ const expoTailwindConfig = {
|
|
|
151
151
|
|
|
152
152
|
...palette,
|
|
153
153
|
},
|
|
154
|
-
backgroundImage: {
|
|
155
|
-
'project-blue': 'var(--expo-theme-project-blue)',
|
|
156
|
-
'project-green': 'var(--expo-theme-project-green)',
|
|
157
|
-
'project-yellow': 'var(--expo-theme-project-yellow)',
|
|
158
|
-
'project-orange': 'var(--expo-theme-project-orange)',
|
|
159
|
-
'project-red': 'var(--expo-theme-project-red)',
|
|
160
|
-
'project-pink': 'var(--expo-theme-project-pink)',
|
|
161
|
-
'project-purple': 'var(--expo-theme-project-purple)',
|
|
162
|
-
},
|
|
163
154
|
borderColor: {
|
|
164
155
|
default: 'var(--expo-theme-border-default)',
|
|
165
156
|
secondary: 'var(--expo-theme-border-secondary)',
|