@react-native-vector-icons/feather 12.0.1 → 12.1.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
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = void 0;
6
+ exports.default = exports.Feather = void 0;
7
7
  var _common = require("@react-native-vector-icons/common");
8
8
  var _Feather = _interopRequireDefault(require("../../glyphmaps/Feather.json"));
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -18,10 +18,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
18
18
  * Usage: <Feather name="icon-name" size={20} color="#4F8EF7" />
19
19
  */
20
20
 
21
- const Icon = (0, _common.createIconSet)(_Feather.default, {
21
+ const Feather = exports.Feather = (0, _common.createIconSet)(_Feather.default, {
22
22
  postScriptName: 'Feather',
23
23
  fontFileName: 'Feather.ttf',
24
24
  fontSource: require('../../fonts/Feather.ttf') // eslint-disable-line @typescript-eslint/no-require-imports, global-require
25
25
  });
26
- var _default = exports.default = Icon;
26
+ /** @alias */
27
+ var _default = exports.default = Feather;
27
28
  //# 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":["_common","require","_Feather","_interopRequireDefault","e","__esModule","default","Feather","exports","createIconSet","glyphMap","postScriptName","fontFileName","fontSource","_default"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;AAWA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAiD,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAbjD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMO,MAAMG,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,IAAAE,qBAAa,EAACC,gBAAQ,EAAE;EAC7CC,cAAc,EAAE,SAAS;EACzBC,YAAY,EAAE,aAAa;EAC3BC,UAAU,EAAEZ,OAAO,CAAC,sBAAsB,CAAC,CAAE;AAC/C,CAAC,CAAC;AAIF;AAAA,IAAAa,QAAA,GAAAN,OAAA,CAAAF,OAAA,GACeC,OAAO","ignoreList":[]}
@@ -13,10 +13,11 @@
13
13
 
14
14
  import { createIconSet } from '@react-native-vector-icons/common';
15
15
  import glyphMap from '../../glyphmaps/Feather.json';
16
- const Icon = createIconSet(glyphMap, {
16
+ export const Feather = createIconSet(glyphMap, {
17
17
  postScriptName: 'Feather',
18
18
  fontFileName: 'Feather.ttf',
19
19
  fontSource: require('../../fonts/Feather.ttf') // eslint-disable-line @typescript-eslint/no-require-imports, global-require
20
20
  });
21
- export default Icon;
21
+ /** @alias */
22
+ export default Feather;
22
23
  //# 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;AACA;;AAEA;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.1.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.1.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@types/react": "^18.3.18",
82
+ "@types/react": "^19.0.12",
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
@@ -10,12 +10,16 @@
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;