@react-native-vector-icons/feather 12.0.1 → 12.2.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/README.md CHANGED
@@ -29,7 +29,7 @@ The table below tracks which font version is included in each package version.
29
29
 
30
30
  | RNVI version | Upstream version |
31
31
  | ------------ | ---------------- |
32
- | <= 12.0.0 | 4.29.2 |
32
+ | > 12.0.0 | 4.29.2 |
33
33
 
34
34
  ## Contributing
35
35
 
@@ -1,27 +1,26 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _common = require("@react-native-vector-icons/common");
8
- var _Feather = _interopRequireDefault(require("../../glyphmaps/Feather.json"));
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- // NOTE:This file was generated from packages/generator-react-native-vector-icons/src/app/templates
11
- // If you're contributing to react-native-vector-icons, make the change there, otherwise it'll be lost
2
+ 'use client';
12
3
 
13
4
  /**
14
5
  * This is a generated file. If you modify it manually, your changes will be lost!
15
- * Instead, modify the template in `generator-react-native-vector-icons`.
6
+ * This file was generated from packages/generator-react-native-vector-icons/src/app/templates
7
+ * If you're contributing to react-native-vector-icons, make the change there; otherwise it'll be lost
16
8
  *
17
9
  * Feather icon set component.
18
10
  * Usage: <Feather name="icon-name" size={20} color="#4F8EF7" />
19
11
  */
20
-
21
- const Icon = (0, _common.createIconSet)(_Feather.default, {
12
+ Object.defineProperty(exports, "__esModule", {
13
+ value: true
14
+ });
15
+ exports.default = exports.Feather = void 0;
16
+ var _common = require("@react-native-vector-icons/common");
17
+ var _Feather = _interopRequireDefault(require("../../glyphmaps/Feather.json"));
18
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
19
+ const Feather = exports.Feather = (0, _common.createIconSet)(_Feather.default, {
22
20
  postScriptName: 'Feather',
23
21
  fontFileName: 'Feather.ttf',
24
22
  fontSource: require('../../fonts/Feather.ttf') // eslint-disable-line @typescript-eslint/no-require-imports, global-require
25
23
  });
26
- var _default = exports.default = Icon;
24
+ /** @alias */
25
+ var _default = exports.default = Feather;
27
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_common","require","_Feather","_interopRequireDefault","e","__esModule","default","Icon","createIconSet","glyphMap","postScriptName","fontFileName","fontSource","_default","exports"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;AAWA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAiD,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAZjD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAKA,MAAMG,IAAI,GAAG,IAAAC,qBAAa,EAACC,gBAAQ,EAAE;EACnCC,cAAc,EAAE,SAAS;EACzBC,YAAY,EAAE,aAAa;EAC3BC,UAAU,EAAEX,OAAO,CAAC,sBAAsB,CAAC,CAAE;AAC/C,CAAC,CAAC;AAAC,IAAAY,QAAA,GAAAC,OAAA,CAAAR,OAAA,GAEYC,IAAI","ignoreList":[]}
1
+ {"version":3,"names":["Object","defineProperty","exports","value","default","Feather","_common","require","_Feather","_interopRequireDefault","e","__esModule","createIconSet","glyphMap","postScriptName","fontFileName","fontSource","_default"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";AAAA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAPAA,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,KAAA;AAAA;AAAAD,OAAA,CAAAE,OAAA,GAAAF,OAAA,CAAAG,OAAA;AASA,IAAAC,OAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAiD,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAN,OAAA,EAAAM,CAAA;AAE1C,MAAML,OAAO,GAAAH,OAAA,CAAAG,OAAA,GAAG,IAAAO,qBAAa,EAACC,gBAAQ,EAAE;EAC7CC,cAAc,EAAE,SAAS;EACzBC,YAAY,EAAE,aAAa;EAC3BC,UAAU,EAAET,OAAO,CAAC,sBAAsB,CAAC,CAAE;AAC/C,CAAC,CAAC;AAIF;AAAA,IAAAU,QAAA,GAAAf,OAAA,CAAAE,OAAA,GACeC,OAAO","ignoreList":[]}
@@ -1,22 +1,21 @@
1
1
  "use strict";
2
-
3
- // NOTE:This file was generated from packages/generator-react-native-vector-icons/src/app/templates
4
- // If you're contributing to react-native-vector-icons, make the change there, otherwise it'll be lost
2
+ 'use client';
5
3
 
6
4
  /**
7
5
  * This is a generated file. If you modify it manually, your changes will be lost!
8
- * Instead, modify the template in `generator-react-native-vector-icons`.
6
+ * This file was generated from packages/generator-react-native-vector-icons/src/app/templates
7
+ * If you're contributing to react-native-vector-icons, make the change there; otherwise it'll be lost
9
8
  *
10
9
  * Feather icon set component.
11
10
  * Usage: <Feather name="icon-name" size={20} color="#4F8EF7" />
12
11
  */
13
-
14
12
  import { createIconSet } from '@react-native-vector-icons/common';
15
13
  import glyphMap from '../../glyphmaps/Feather.json';
16
- const Icon = createIconSet(glyphMap, {
14
+ export const Feather = createIconSet(glyphMap, {
17
15
  postScriptName: 'Feather',
18
16
  fontFileName: 'Feather.ttf',
19
17
  fontSource: require('../../fonts/Feather.ttf') // eslint-disable-line @typescript-eslint/no-require-imports, global-require
20
18
  });
21
- export default Icon;
19
+ /** @alias */
20
+ export default Feather;
22
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createIconSet","glyphMap","Icon","postScriptName","fontFileName","fontSource","require"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,aAAa,QAAQ,mCAAmC;AACjE,OAAOC,QAAQ,MAAM,2BAA2B;AAEhD,MAAMC,IAAI,GAAGF,aAAa,CAACC,QAAQ,EAAE;EACnCE,cAAc,EAAE,SAAS;EACzBC,YAAY,EAAE,aAAa;EAC3BC,UAAU,EAAEC,OAAO,CAAC,sBAAsB,CAAC,CAAE;AAC/C,CAAC,CAAC;AAEF,eAAeJ,IAAI","ignoreList":[]}
1
+ {"version":3,"names":["createIconSet","glyphMap","Feather","postScriptName","fontFileName","fontSource","require"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";AAAA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,aAAa,QAAQ,mCAAmC;AAEjE,OAAOC,QAAQ,MAAM,2BAA2B;AAEhD,OAAO,MAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE;EAC7CE,cAAc,EAAE,SAAS;EACzBC,YAAY,EAAE,aAAa;EAC3BC,UAAU,EAAEC,OAAO,CAAC,sBAAsB,CAAC,CAAE;AAC/C,CAAC,CAAC;AAIF;AACA,eAAeJ,OAAO","ignoreList":[]}
@@ -1,4 +1,5 @@
1
- declare const Icon: import("react").FC<import("react-native").TextProps & {
1
+ import glyphMap from '../glyphmaps/Feather.json';
2
+ export declare const Feather: import("react").FC<import("react-native").TextProps & {
2
3
  name: "activity" | "airplay" | "alert-circle" | "alert-octagon" | "alert-triangle" | "align-center" | "align-justify" | "align-left" | "align-right" | "anchor" | "aperture" | "archive" | "arrow-down" | "arrow-down-circle" | "arrow-down-left" | "arrow-down-right" | "arrow-left" | "arrow-left-circle" | "arrow-right" | "arrow-right-circle" | "arrow-up" | "arrow-up-circle" | "arrow-up-left" | "arrow-up-right" | "at-sign" | "award" | "bar-chart" | "bar-chart-2" | "battery" | "battery-charging" | "bell" | "bell-off" | "bluetooth" | "bold" | "book" | "book-open" | "bookmark" | "box" | "briefcase" | "calendar" | "camera" | "camera-off" | "cast" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-down" | "chevrons-left" | "chevrons-right" | "chevrons-up" | "chrome" | "circle" | "clipboard" | "clock" | "cloud" | "cloud-drizzle" | "cloud-lightning" | "cloud-off" | "cloud-rain" | "cloud-snow" | "code" | "codepen" | "codesandbox" | "coffee" | "columns" | "command" | "compass" | "copy" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "credit-card" | "crop" | "crosshair" | "database" | "delete" | "disc" | "divide" | "divide-circle" | "divide-square" | "dollar-sign" | "download" | "download-cloud" | "dribbble" | "droplet" | "edit" | "edit-2" | "edit-3" | "external-link" | "eye" | "eye-off" | "facebook" | "fast-forward" | "feather" | "figma" | "file" | "file-minus" | "file-plus" | "file-text" | "film" | "filter" | "flag" | "folder" | "folder-minus" | "folder-plus" | "framer" | "frown" | "gift" | "git-branch" | "git-commit" | "git-merge" | "git-pull-request" | "github" | "gitlab" | "globe" | "grid" | "hard-drive" | "hash" | "headphones" | "heart" | "help-circle" | "hexagon" | "home" | "image" | "inbox" | "info" | "instagram" | "italic" | "key" | "layers" | "layout" | "life-buoy" | "link" | "link-2" | "linkedin" | "list" | "loader" | "lock" | "log-in" | "log-out" | "mail" | "map" | "map-pin" | "maximize" | "maximize-2" | "meh" | "menu" | "message-circle" | "message-square" | "mic" | "mic-off" | "minimize" | "minimize-2" | "minus" | "minus-circle" | "minus-square" | "monitor" | "moon" | "more-horizontal" | "more-vertical" | "mouse-pointer" | "move" | "music" | "navigation" | "navigation-2" | "octagon" | "package" | "paperclip" | "pause" | "pause-circle" | "pen-tool" | "percent" | "phone" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "pie-chart" | "play" | "play-circle" | "plus" | "plus-circle" | "plus-square" | "pocket" | "power" | "printer" | "radio" | "refresh-ccw" | "refresh-cw" | "repeat" | "rewind" | "rotate-ccw" | "rotate-cw" | "rss" | "save" | "scissors" | "search" | "send" | "server" | "settings" | "share" | "share-2" | "shield" | "shield-off" | "shopping-bag" | "shopping-cart" | "shuffle" | "sidebar" | "skip-back" | "skip-forward" | "slack" | "slash" | "sliders" | "smartphone" | "smile" | "speaker" | "square" | "star" | "stop-circle" | "sun" | "sunrise" | "sunset" | "table" | "tablet" | "tag" | "target" | "terminal" | "thermometer" | "thumbs-down" | "thumbs-up" | "toggle-left" | "toggle-right" | "tool" | "trash" | "trash-2" | "trello" | "trending-down" | "trending-up" | "triangle" | "truck" | "tv" | "twitch" | "twitter" | "type" | "umbrella" | "underline" | "unlock" | "upload" | "upload-cloud" | "user" | "user-check" | "user-minus" | "user-plus" | "user-x" | "users" | "video" | "video-off" | "voicemail" | "volume" | "volume-1" | "volume-2" | "volume-x" | "watch" | "wifi" | "wifi-off" | "wind" | "x" | "x-circle" | "x-octagon" | "x-square" | "youtube" | "zap" | "zap-off" | "zoom-in" | "zoom-out";
3
4
  size?: number;
4
5
  color?: import("react-native").TextStyle["color"];
@@ -13,5 +14,7 @@ declare const Icon: import("react").FC<import("react-native").TextProps & {
13
14
  scale: number;
14
15
  } | undefined;
15
16
  };
16
- export default Icon;
17
+ export type FeatherIconName = keyof typeof glyphMap;
18
+ /** @alias */
19
+ export default Feather;
17
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;CAIR,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AAEjD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;CAIlB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,QAAQ,CAAC;AAEpD,aAAa;AACb,eAAe,OAAO,CAAC"}
@@ -1,4 +1,5 @@
1
- declare const Icon: import("react").FC<import("react-native").TextProps & {
1
+ import glyphMap from '../glyphmaps/Feather.json';
2
+ export declare const Feather: import("react").FC<import("react-native").TextProps & {
2
3
  name: "activity" | "airplay" | "alert-circle" | "alert-octagon" | "alert-triangle" | "align-center" | "align-justify" | "align-left" | "align-right" | "anchor" | "aperture" | "archive" | "arrow-down" | "arrow-down-circle" | "arrow-down-left" | "arrow-down-right" | "arrow-left" | "arrow-left-circle" | "arrow-right" | "arrow-right-circle" | "arrow-up" | "arrow-up-circle" | "arrow-up-left" | "arrow-up-right" | "at-sign" | "award" | "bar-chart" | "bar-chart-2" | "battery" | "battery-charging" | "bell" | "bell-off" | "bluetooth" | "bold" | "book" | "book-open" | "bookmark" | "box" | "briefcase" | "calendar" | "camera" | "camera-off" | "cast" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-down" | "chevrons-left" | "chevrons-right" | "chevrons-up" | "chrome" | "circle" | "clipboard" | "clock" | "cloud" | "cloud-drizzle" | "cloud-lightning" | "cloud-off" | "cloud-rain" | "cloud-snow" | "code" | "codepen" | "codesandbox" | "coffee" | "columns" | "command" | "compass" | "copy" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "credit-card" | "crop" | "crosshair" | "database" | "delete" | "disc" | "divide" | "divide-circle" | "divide-square" | "dollar-sign" | "download" | "download-cloud" | "dribbble" | "droplet" | "edit" | "edit-2" | "edit-3" | "external-link" | "eye" | "eye-off" | "facebook" | "fast-forward" | "feather" | "figma" | "file" | "file-minus" | "file-plus" | "file-text" | "film" | "filter" | "flag" | "folder" | "folder-minus" | "folder-plus" | "framer" | "frown" | "gift" | "git-branch" | "git-commit" | "git-merge" | "git-pull-request" | "github" | "gitlab" | "globe" | "grid" | "hard-drive" | "hash" | "headphones" | "heart" | "help-circle" | "hexagon" | "home" | "image" | "inbox" | "info" | "instagram" | "italic" | "key" | "layers" | "layout" | "life-buoy" | "link" | "link-2" | "linkedin" | "list" | "loader" | "lock" | "log-in" | "log-out" | "mail" | "map" | "map-pin" | "maximize" | "maximize-2" | "meh" | "menu" | "message-circle" | "message-square" | "mic" | "mic-off" | "minimize" | "minimize-2" | "minus" | "minus-circle" | "minus-square" | "monitor" | "moon" | "more-horizontal" | "more-vertical" | "mouse-pointer" | "move" | "music" | "navigation" | "navigation-2" | "octagon" | "package" | "paperclip" | "pause" | "pause-circle" | "pen-tool" | "percent" | "phone" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "pie-chart" | "play" | "play-circle" | "plus" | "plus-circle" | "plus-square" | "pocket" | "power" | "printer" | "radio" | "refresh-ccw" | "refresh-cw" | "repeat" | "rewind" | "rotate-ccw" | "rotate-cw" | "rss" | "save" | "scissors" | "search" | "send" | "server" | "settings" | "share" | "share-2" | "shield" | "shield-off" | "shopping-bag" | "shopping-cart" | "shuffle" | "sidebar" | "skip-back" | "skip-forward" | "slack" | "slash" | "sliders" | "smartphone" | "smile" | "speaker" | "square" | "star" | "stop-circle" | "sun" | "sunrise" | "sunset" | "table" | "tablet" | "tag" | "target" | "terminal" | "thermometer" | "thumbs-down" | "thumbs-up" | "toggle-left" | "toggle-right" | "tool" | "trash" | "trash-2" | "trello" | "trending-down" | "trending-up" | "triangle" | "truck" | "tv" | "twitch" | "twitter" | "type" | "umbrella" | "underline" | "unlock" | "upload" | "upload-cloud" | "user" | "user-check" | "user-minus" | "user-plus" | "user-x" | "users" | "video" | "video-off" | "voicemail" | "volume" | "volume-1" | "volume-2" | "volume-x" | "watch" | "wifi" | "wifi-off" | "wind" | "x" | "x-circle" | "x-octagon" | "x-square" | "youtube" | "zap" | "zap-off" | "zoom-in" | "zoom-out";
3
4
  size?: number;
4
5
  color?: import("react-native").TextStyle["color"];
@@ -13,5 +14,7 @@ declare const Icon: import("react").FC<import("react-native").TextProps & {
13
14
  scale: number;
14
15
  } | undefined;
15
16
  };
16
- export default Icon;
17
+ export type FeatherIconName = keyof typeof glyphMap;
18
+ /** @alias */
19
+ export default Feather;
17
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;CAIR,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AAEjD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;CAIlB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,QAAQ,CAAC;AAEpD,aAAa;AACb,eAAe,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-vector-icons/feather",
3
- "version": "12.0.1",
3
+ "version": "12.2.0",
4
4
  "description": "Feather font for react native vector icons",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",
@@ -76,10 +76,10 @@
76
76
  "registry": "https://registry.npmjs.org/"
77
77
  },
78
78
  "dependencies": {
79
- "@react-native-vector-icons/common": "^12.0.1"
79
+ "@react-native-vector-icons/common": "^12.2.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@types/react": "^18.3.18",
82
+ "@types/react": "^19.1.0",
83
83
  "del-cli": "^6.0.0",
84
84
  "onchange": "^7.1.0",
85
85
  "react-native-builder-bob": "^0.35.2",
package/src/index.ts CHANGED
@@ -1,21 +1,25 @@
1
- // NOTE:This file was generated from packages/generator-react-native-vector-icons/src/app/templates
2
- // If you're contributing to react-native-vector-icons, make the change there, otherwise it'll be lost
1
+ 'use client';
3
2
 
4
3
  /**
5
4
  * This is a generated file. If you modify it manually, your changes will be lost!
6
- * Instead, modify the template in `generator-react-native-vector-icons`.
5
+ * This file was generated from packages/generator-react-native-vector-icons/src/app/templates
6
+ * If you're contributing to react-native-vector-icons, make the change there; otherwise it'll be lost
7
7
  *
8
8
  * Feather icon set component.
9
9
  * Usage: <Feather name="icon-name" size={20} color="#4F8EF7" />
10
10
  */
11
11
 
12
12
  import { createIconSet } from '@react-native-vector-icons/common';
13
+
13
14
  import glyphMap from '../glyphmaps/Feather.json';
14
15
 
15
- const Icon = createIconSet(glyphMap, {
16
+ export const Feather = createIconSet(glyphMap, {
16
17
  postScriptName: 'Feather',
17
18
  fontFileName: 'Feather.ttf',
18
19
  fontSource: require('../fonts/Feather.ttf'), // eslint-disable-line @typescript-eslint/no-require-imports, global-require
19
20
  });
20
21
 
21
- export default Icon;
22
+ export type FeatherIconName = keyof typeof glyphMap;
23
+
24
+ /** @alias */
25
+ export default Feather;