@expo/styleguide 8.0.0-alpha.0 → 8.0.0-alpha.10

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.
@@ -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;
@@ -0,0 +1,2 @@
1
+ export * from './BlockingSetInitialColorMode';
2
+ export * from './ThemeProvider';
@@ -1,3 +1,3 @@
1
- export { BlockingSetInitialColorMode } from './BlockingSetInitialColorMode';
2
- export { ThemeProvider, useTheme } from './ThemeProvider';
3
- export { ButtonBase } from './ButtonBase';
1
+ export * from './Theme';
2
+ export * from './Button';
3
+ export * from './Link';
@@ -0,0 +1 @@
1
+ export declare const mergeClasses: (...classLists: import("tailwind-merge/dist/lib/tw-join").ClassNameValue[]) => string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { IconProps } from "../types";
3
- export declare function DocsLogo(props: IconProps): JSX.Element;
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare function DocsLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { IconProps } from "../types";
3
- export declare function ExpoGoLogo(props: IconProps): JSX.Element;
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare function ExpoGoLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { IconProps } from "../types";
3
- export declare function Logo(props: IconProps): JSX.Element;
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare function Logo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare function RouterLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { IconProps } from "../types";
3
- export declare function SnackLogo(props: IconProps): JSX.Element;
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare function SnackLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { IconProps } from "../types";
3
- export declare function WordMarkLogo(props: IconProps): JSX.Element;
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare function WordMarkLogo({ className, ...rest }: HTMLAttributes<SVGSVGElement>): React.JSX.Element;
@@ -1,5 +1,6 @@
1
1
  export { DocsLogo } from './DocsLogo';
2
2
  export { ExpoGoLogo } from './ExpoGoLogo';
3
3
  export { Logo } from './Logo';
4
+ export { RouterLogo } from './RouterLogo';
4
5
  export { SnackLogo } from './SnackLogo';
5
6
  export { WordMarkLogo } from './WordMarkLogo';
@@ -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-alpha.0",
3
+ "version": "8.0.0-alpha.10",
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",
@@ -29,23 +29,26 @@
29
29
  "url": "https://github.com/expo/styleguide/issues"
30
30
  },
31
31
  "devDependencies": {
32
- "@rollup/plugin-commonjs": "^24.0.1",
33
32
  "@rollup/plugin-typescript": "^11.0.0",
34
- "@types/react": "^18.0.28",
33
+ "@tailwindcss/typography": "^0.5.9",
34
+ "@types/react": "^18.2.6",
35
35
  "npm-run-all": "^4.1.5",
36
36
  "rimraf": "^4.1.2",
37
- "rollup": "^3.15.0",
37
+ "rollup": "^3.21.5",
38
38
  "rollup-plugin-copy": "^3.4.0",
39
- "tailwindcss": "^3.1.8",
40
- "typescript": "^4.2.4"
39
+ "tailwindcss": "^3.3.2",
40
+ "typescript": "^4.9.5"
41
41
  },
42
42
  "peerDependencies": {
43
+ "next": ">= 13",
43
44
  "react": ">= 16"
44
45
  },
45
46
  "dependencies": {
46
- "@expo/styleguide-base": "^1.0.0-alpha.0",
47
- "@radix-ui/colors": "^0.1.8",
48
- "tailwind-merge": "^1.9.1"
47
+ "@expo/styleguide-base": "^1.0.0-alpha.3",
48
+ "tailwind-merge": "^1.12.0"
49
49
  },
50
- "gitHead": "8d0008658bbe60cde729660ca15cfc7aa6fd1373"
50
+ "eslintConfig": {
51
+ "extends": "universe/web"
52
+ },
53
+ "gitHead": "74800b3861a568c7909d877c445aa56956925dfe"
51
54
  }