@expo/styleguide-icons 2.2.2 → 2.2.3

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/README.md CHANGED
@@ -6,8 +6,8 @@ Expo's icons for use on the web.
6
6
 
7
7
  1. Install dependencies with `yarn`.
8
8
  2. Set up a .env file. To do this, you'll need to:
9
- a. Duplicate the **.env.example** file, and name the copy: **.env**.
10
- b. Inside it, define a `FIGMA_TOKEN` with a personal access token from Figma. Click on your avatar in Figma in the top right > Settings > Account tab. The personal access token settings are near the bottom.
9
+ a. Duplicate the **.env.example** file, and name the copy: **.env**.
10
+ b. Inside it, define a `FIGMA_TOKEN` with a personal access token from Figma. Click on your avatar in Figma in the top right > Settings > Security tab > Personal Access tokens.
11
11
  3. Build everything with `yarn build`.
12
12
 
13
13
  ### Icon generation
@@ -18,4 +18,3 @@ We generate all icon files based on our Figma icons. The process is:
18
18
  2. Once we get every component from the icons pages specified in **figma.config.js**, we optimize them all with SVGO.
19
19
  3. After that, we use SVGR to create React components of each icon. The outputter is defined in **figma.config.js**, and we use a custom template in **svgr-icon-template.js**. These components are stored in **tmp**.
20
20
  4. Finally, we use `rollup` to build our final package. These files are saved in **dist**.
21
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/styleguide-icons",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Expo's icons for use on the web.",
5
5
  "main": "index",
6
6
  "types": "index.d.ts",
@@ -63,5 +63,5 @@
63
63
  "solid"
64
64
  ]
65
65
  },
66
- "gitHead": "fd85f92dfd9faa2dbf2d0880ffc023dde7fd2312"
66
+ "gitHead": "29a823aa2b5b8ce1a6b1b7ea3911af4e4f8192d0"
67
67
  }
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export declare function AssetRequestIcon({ className, ...props }: React.SVGProps<SVGSVGElement> & React.HTMLAttributes<SVGSVGElement>): React.JSX.Element;
3
- export declare namespace AssetRequestIcon {
4
- var displayName: string;
5
- }
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export declare function FailedRequestIcon({ className, ...props }: React.SVGProps<SVGSVGElement> & React.HTMLAttributes<SVGSVGElement>): React.JSX.Element;
3
- export declare namespace FailedRequestIcon {
4
- var displayName: string;
5
- }
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export declare function LogAssetIcon({ className, ...props }: React.SVGProps<SVGSVGElement> & React.HTMLAttributes<SVGSVGElement>): React.JSX.Element;
3
- export declare namespace LogAssetIcon {
4
- var displayName: string;
5
- }
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export declare function LogFailedIcon({ className, ...props }: React.SVGProps<SVGSVGElement> & React.HTMLAttributes<SVGSVGElement>): React.JSX.Element;
3
- export declare namespace LogFailedIcon {
4
- var displayName: string;
5
- }
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export declare function LogRouteIcon({ className, ...props }: React.SVGProps<SVGSVGElement> & React.HTMLAttributes<SVGSVGElement>): React.JSX.Element;
3
- export declare namespace LogRouteIcon {
4
- var displayName: string;
5
- }
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export declare function LogUnhandledIcon({ className, ...props }: React.SVGProps<SVGSVGElement> & React.HTMLAttributes<SVGSVGElement>): React.JSX.Element;
3
- export declare namespace LogUnhandledIcon {
4
- var displayName: string;
5
- }
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export declare function RouteRequestIcon({ className, ...props }: React.SVGProps<SVGSVGElement> & React.HTMLAttributes<SVGSVGElement>): React.JSX.Element;
3
- export declare namespace RouteRequestIcon {
4
- var displayName: string;
5
- }
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export declare function UnhandledRequestIcon({ className, ...props }: React.SVGProps<SVGSVGElement> & React.HTMLAttributes<SVGSVGElement>): React.JSX.Element;
3
- export declare namespace UnhandledRequestIcon {
4
- var displayName: string;
5
- }