@central-icons-react-native/round-outlined-radius-2-stroke-1 1.0.7 → 1.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.
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { type CentralIconBaseProps } from "../CentralIconBase";
3
+ export declare const IconBank2: FC<CentralIconBaseProps>;
4
+ export default IconBank2;
@@ -0,0 +1,2 @@
1
+ "use strict";var a=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var f=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty;var x=(r,o)=>{for(var n in o)s(r,n,{get:o[n],enumerable:!0})},i=(r,o,n,p)=>{if(o&&typeof o=="object"||typeof o=="function")for(let C of L(o))!B.call(r,C)&&C!==n&&s(r,C,{get:()=>o[C],enumerable:!(p=m(o,C))||p.enumerable});return r};var u=(r,o,n)=>(n=r!=null?a(f(r)):{},i(o||!r||!r.__esModule?s(n,"default",{value:r,enumerable:!0}):n,r)),I=r=>i(s({},"__esModule",{value:!0}),r);var g={};x(g,{IconBank2:()=>k,default:()=>P});module.exports=I(g);var e=u(require("react"));var l=u(require("react")),c=require("react-native-svg"),d=({children:r,size:o=24,...n})=>l.default.createElement(c.Svg,{...n,width:typeof o=="number"?`${o}px`:o,height:typeof o=="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none"},r);var t=require("react-native-svg"),k=r=>e.default.createElement(d,{...r},e.default.createElement(t.Path,{d:"M21.5 20C21.7761 20 22 20.2239 22 20.5C22 20.7761 21.7761 21 21.5 21H2.5C2.22386 21 2 20.7761 2 20.5C2 20.2239 2.22386 20 2.5 20H21.5Z",fill:"currentColor"}),e.default.createElement(t.Path,{d:"M3.5 20.5V10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.default.createElement(t.Path,{d:"M20.5 20.5V10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.default.createElement(t.Path,{d:"M3.64383 6.45819L11.1438 2.90556C11.6857 2.64886 12.3143 2.64886 12.8562 2.90556L20.3562 6.45819C21.0547 6.78905 21.5 7.49277 21.5 8.26566V8.5C21.5 9.60457 20.6046 10.5 19.5 10.5H4.5C3.39543 10.5 2.5 9.60457 2.5 8.5V8.26566C2.5 7.49277 2.94533 6.78905 3.64383 6.45819Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.default.createElement(t.Path,{d:"M9.5 20.5V13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.default.createElement(t.Path,{d:"M14.5 20.5V13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.default.createElement(t.Circle,{cx:"12",cy:"7",r:"1",fill:"currentColor"})),P=k;0&&(module.exports={IconBank2});
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/IconBank2/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React, { FC } from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\nimport { Circle, Path } from \"react-native-svg\";\n\nexport const IconBank2: FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props}>\n <Path\n d=\"M21.5 20C21.7761 20 22 20.2239 22 20.5C22 20.7761 21.7761 21 21.5 21H2.5C2.22386 21 2 20.7761 2 20.5C2 20.2239 2.22386 20 2.5 20H21.5Z\"\n fill=\"currentColor\"\n />\n <Path\n d=\"M3.5 20.5V10.5\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Path\n d=\"M20.5 20.5V10.5\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Path\n d=\"M3.64383 6.45819L11.1438 2.90556C11.6857 2.64886 12.3143 2.64886 12.8562 2.90556L20.3562 6.45819C21.0547 6.78905 21.5 7.49277 21.5 8.26566V8.5C21.5 9.60457 20.6046 10.5 19.5 10.5H4.5C3.39543 10.5 2.5 9.60457 2.5 8.5V8.26566C2.5 7.49277 2.94533 6.78905 3.64383 6.45819Z\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Path\n d=\"M9.5 20.5V13.5\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Path\n d=\"M14.5 20.5V13.5\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Circle cx=\"12\" cy=\"7\" r=\"1\" fill=\"currentColor\" />\n </CentralIconBase>\n );\n};\n\nexport default IconBank2;\n","import React, { FC } from \"react\";\nimport { Svg, SvgProps } from \"react-native-svg\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n} & SvgProps;\n\nexport const CentralIconBase: FC<CentralIconBaseProps> = ({\n children,\n size = 24,\n ...props\n}) => {\n return (\n <Svg\n {...props}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n {children}\n </Svg>\n );\n};\n"],"mappings":"0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,eAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAA0B,oBCA1B,IAAAC,EAA0B,oBAC1BC,EAA8B,4BAMjBC,EAA4C,CAAC,CACxD,SAAAC,EACA,KAAAC,EAAO,GACP,GAAGC,CACL,IAEI,EAAAC,QAAA,cAAC,OACE,GAAGD,EACJ,MAAO,OAAOD,GAAS,SAAW,GAAGA,CAAI,KAAOA,EAChD,OAAQ,OAAOA,GAAS,SAAW,GAAGA,CAAI,KAAOA,EACjD,QAAQ,YACR,KAAK,QAEJD,CACH,EDnBJ,IAAAI,EAA6B,4BAEhBC,EAAuCC,GAEhD,EAAAC,QAAA,cAACC,EAAA,CAAiB,GAAGF,GACnB,EAAAC,QAAA,cAAC,QACC,EAAE,yIACF,KAAK,eACP,EACA,EAAAA,QAAA,cAAC,QACC,EAAE,iBACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACA,EAAAA,QAAA,cAAC,QACC,EAAE,kBACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACA,EAAAA,QAAA,cAAC,QACC,EAAE,+QACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACA,EAAAA,QAAA,cAAC,QACC,EAAE,iBACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACA,EAAAA,QAAA,cAAC,QACC,EAAE,kBACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACA,EAAAA,QAAA,cAAC,UAAO,GAAG,KAAK,GAAG,IAAI,EAAE,IAAI,KAAK,eAAe,CACnD,EAIGE,EAAQJ","names":["IconBank2_exports","__export","IconBank2","IconBank2_default","__toCommonJS","import_react","import_react","import_react_native_svg","CentralIconBase","children","size","props","React","import_react_native_svg","IconBank2","props","React","CentralIconBase","IconBank2_default"]}
@@ -0,0 +1,2 @@
1
+ import r from"react";import s from"react";import{Svg as p}from"react-native-svg";var t=({children:e,size:o=24,...C})=>s.createElement(p,{...C,width:typeof o=="number"?`${o}px`:o,height:typeof o=="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none"},e);import{Circle as i,Path as n}from"react-native-svg";var u=e=>r.createElement(t,{...e},r.createElement(n,{d:"M21.5 20C21.7761 20 22 20.2239 22 20.5C22 20.7761 21.7761 21 21.5 21H2.5C2.22386 21 2 20.7761 2 20.5C2 20.2239 2.22386 20 2.5 20H21.5Z",fill:"currentColor"}),r.createElement(n,{d:"M3.5 20.5V10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement(n,{d:"M20.5 20.5V10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement(n,{d:"M3.64383 6.45819L11.1438 2.90556C11.6857 2.64886 12.3143 2.64886 12.8562 2.90556L20.3562 6.45819C21.0547 6.78905 21.5 7.49277 21.5 8.26566V8.5C21.5 9.60457 20.6046 10.5 19.5 10.5H4.5C3.39543 10.5 2.5 9.60457 2.5 8.5V8.26566C2.5 7.49277 2.94533 6.78905 3.64383 6.45819Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement(n,{d:"M9.5 20.5V13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement(n,{d:"M14.5 20.5V13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement(i,{cx:"12",cy:"7",r:"1",fill:"currentColor"})),x=u;export{u as IconBank2,x as default};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/IconBank2/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React, { FC } from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\nimport { Circle, Path } from \"react-native-svg\";\n\nexport const IconBank2: FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props}>\n <Path\n d=\"M21.5 20C21.7761 20 22 20.2239 22 20.5C22 20.7761 21.7761 21 21.5 21H2.5C2.22386 21 2 20.7761 2 20.5C2 20.2239 2.22386 20 2.5 20H21.5Z\"\n fill=\"currentColor\"\n />\n <Path\n d=\"M3.5 20.5V10.5\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Path\n d=\"M20.5 20.5V10.5\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Path\n d=\"M3.64383 6.45819L11.1438 2.90556C11.6857 2.64886 12.3143 2.64886 12.8562 2.90556L20.3562 6.45819C21.0547 6.78905 21.5 7.49277 21.5 8.26566V8.5C21.5 9.60457 20.6046 10.5 19.5 10.5H4.5C3.39543 10.5 2.5 9.60457 2.5 8.5V8.26566C2.5 7.49277 2.94533 6.78905 3.64383 6.45819Z\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Path\n d=\"M9.5 20.5V13.5\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Path\n d=\"M14.5 20.5V13.5\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <Circle cx=\"12\" cy=\"7\" r=\"1\" fill=\"currentColor\" />\n </CentralIconBase>\n );\n};\n\nexport default IconBank2;\n","import React, { FC } from \"react\";\nimport { Svg, SvgProps } from \"react-native-svg\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n} & SvgProps;\n\nexport const CentralIconBase: FC<CentralIconBaseProps> = ({\n children,\n size = 24,\n ...props\n}) => {\n return (\n <Svg\n {...props}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n {children}\n </Svg>\n );\n};\n"],"mappings":"AAAA,OAAOA,MAAmB,QCA1B,OAAOC,MAAmB,QAC1B,OAAS,OAAAC,MAAqB,mBAMvB,IAAMC,EAA4C,CAAC,CACxD,SAAAC,EACA,KAAAC,EAAO,GACP,GAAGC,CACL,IAEIL,EAAA,cAACC,EAAA,CACE,GAAGI,EACJ,MAAO,OAAOD,GAAS,SAAW,GAAGA,CAAI,KAAOA,EAChD,OAAQ,OAAOA,GAAS,SAAW,GAAGA,CAAI,KAAOA,EACjD,QAAQ,YACR,KAAK,QAEJD,CACH,EDnBJ,OAAS,UAAAG,EAAQ,QAAAC,MAAY,mBAEtB,IAAMC,EAAuCC,GAEhDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,GACnBC,EAAA,cAACH,EAAA,CACC,EAAE,yIACF,KAAK,eACP,EACAG,EAAA,cAACH,EAAA,CACC,EAAE,iBACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACAG,EAAA,cAACH,EAAA,CACC,EAAE,kBACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACAG,EAAA,cAACH,EAAA,CACC,EAAE,+QACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACAG,EAAA,cAACH,EAAA,CACC,EAAE,iBACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACAG,EAAA,cAACH,EAAA,CACC,EAAE,kBACF,OAAO,eACP,cAAc,QACd,eAAe,QACjB,EACAG,EAAA,cAACJ,EAAA,CAAO,GAAG,KAAK,GAAG,IAAI,EAAE,IAAI,KAAK,eAAe,CACnD,EAIGM,EAAQJ","names":["React","React","Svg","CentralIconBase","children","size","props","Circle","Path","IconBank2","props","React","CentralIconBase","IconBank2_default"]}
package/README.md CHANGED
@@ -26,7 +26,7 @@ npm install central-icons@npm:@central-icons-react-native/round-outlined-radius-
26
26
  ```
27
27
 
28
28
  ```jsx
29
- import { IconHome } from "central-icons/IconHome";
29
+ import { IconHome } from "central-icons";
30
30
 
31
31
  function MyComponent() {
32
32
  return <IconHome />;
@@ -56,29 +56,38 @@ pnpm add @central-icons-react-native/round-outlined-radius-2-stroke-1
56
56
 
57
57
  ## Usage
58
58
 
59
- ### Individual Imports
59
+ ### Direct Import (Recommended)
60
60
 
61
- Icons can be imported individually to keep your bundle size minimal:
61
+ Icons can be imported directly from the package root for convenience:
62
62
 
63
63
  ```jsx
64
- import { IconHome } from "@central-icons-react-native/round-outlined-radius-2-stroke-1/IconHome";
64
+ import { IconHome } from "@central-icons-react-native/round-outlined-radius-2-stroke-1";
65
65
 
66
66
  function MyComponent() {
67
67
  return <IconHome />;
68
68
  }
69
69
  ```
70
70
 
71
- ### Import alias
72
-
73
- If you want to have a bit cleaner imports (and you are just using one icon type), you can use import aliases
74
- (Requires npm at least v6.9.0 or yarn)
71
+ Or with an alias for cleaner imports:
75
72
 
76
73
  ```bash
77
74
  npm install central-icons@npm:@central-icons-react-native/round-outlined-radius-2-stroke-1
78
75
  ```
79
76
 
80
77
  ```jsx
81
- import { IconHome } from "central-icons/IconHome";
78
+ import { IconHome } from "central-icons";
79
+
80
+ function MyComponent() {
81
+ return <IconHome />;
82
+ }
83
+ ```
84
+
85
+ ### Individual Path Imports
86
+
87
+ For advanced tree-shaking or when you prefer explicit paths:
88
+
89
+ ```jsx
90
+ import { IconHome } from "@central-icons-react-native/round-outlined-radius-2-stroke-1/IconHome";
82
91
 
83
92
  function MyComponent() {
84
93
  return <IconHome />;
@@ -89,15 +98,10 @@ function MyComponent() {
89
98
 
90
99
  All icons accept the following properties:
91
100
 
92
- | Prop | Type | Default | Description |
93
- | ------------ | -------------------------- | -------------- | ------------------------------------------------------------ |
94
- | `size` | `number \| string` | `24` | Sets both width and height of the icon |
95
- | `color` | `string` | `currentColor` | Sets the icon color |
96
- | `iconJoin` | `"round" \| "square"` | `"round"` | Controls the icon's corner style |
97
- | `iconFill` | `"filled" \| "outlined"` | `"filled"` | Sets the icon's fill style |
98
- | `iconStroke` | `"1" \| "1.5" \| "2"` | `"1"` | Controls the stroke width |
99
- | `iconRadius` | `"0" \| "1" \| "2" \| "3"` | `"1"` | Sets the corner radius |
100
- | `name` | `string` | none | Defines which icon should be used - see [Icons List](#icons) |
101
+ | Prop | Type | Default | Description |
102
+ | ------- | ------------------ | -------------- | -------------------------------------- |
103
+ | `size` | `number \| string` | `24` | Sets both width and height of the icon |
104
+ | `color` | `string` | `currentColor` | Sets the icon color |
101
105
 
102
106
  Additionally, all standard SVG and HTML attributes are supported.
103
107
 
@@ -322,6 +326,7 @@ Below is a complete list of available icons:
322
326
  ### Building
323
327
 
324
328
  - IconBank
329
+ - IconBank2
325
330
  - IconBlock
326
331
  - IconBuildings
327
332
  - IconCourt
@@ -2254,6 +2254,20 @@
2254
2254
  "packageName": "round-outlined-radius-2-stroke-1",
2255
2255
  "componentName": "IconBank"
2256
2256
  },
2257
+ {
2258
+ "category": "Building",
2259
+ "svg": "<path d=\"M21.5 20C21.7761 20 22 20.2239 22 20.5C22 20.7761 21.7761 21 21.5 21H2.5C2.22386 21 2 20.7761 2 20.5C2 20.2239 2.22386 20 2.5 20H21.5Z\" fill=\"currentColor\"/><path d=\"M3.5 20.5V10.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M20.5 20.5V10.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M3.64383 6.45819L11.1438 2.90556C11.6857 2.64886 12.3143 2.64886 12.8562 2.90556L20.3562 6.45819C21.0547 6.78905 21.5 7.49277 21.5 8.26566V8.5C21.5 9.60457 20.6046 10.5 19.5 10.5H4.5C3.39543 10.5 2.5 9.60457 2.5 8.5V8.26566C2.5 7.49277 2.94533 6.78905 3.64383 6.45819Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M9.5 20.5V13.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M14.5 20.5V13.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"12\" cy=\"7\" r=\"1\" fill=\"currentColor\"/>",
2260
+ "iconName": "bank-2, library, gov",
2261
+ "variant": {
2262
+ "join": "round",
2263
+ "filled": "off",
2264
+ "radius": "2",
2265
+ "stroke": "1"
2266
+ },
2267
+ "createdAt": "2025-09-11T14:00:28.984037+00:00",
2268
+ "packageName": "round-outlined-radius-2-stroke-1",
2269
+ "componentName": "IconBank2"
2270
+ },
2257
2271
  {
2258
2272
  "category": "Shopping & Payment",
2259
2273
  "svg": "<path d=\"M4.5 7.5H5.5M18.5 16.5H19.5M1.5 17.5V6.5C1.5 5.39543 2.39543 4.5 3.5 4.5H20.5C21.6046 4.5 22.5 5.39543 22.5 6.5V17.5C22.5 18.6046 21.6046 19.5 20.5 19.5H3.5C2.39543 19.5 1.5 18.6046 1.5 17.5ZM15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>",
package/icons/index.d.ts CHANGED
@@ -160,6 +160,7 @@ export type CentralIconName =
160
160
  | "IconBalloon"
161
161
  | "IconBanana"
162
162
  | "IconBank"
163
+ | "IconBank2"
163
164
  | "IconBanknote1"
164
165
  | "IconBanknote2"
165
166
  | "IconBarcode"
package/icons-index.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@central-icons-react-native/round-outlined-radius-2-stroke-1",
3
- "version": "1.0.7",
3
+ "version": "1.1.0",
4
4
  "style": "round-outlined-radius-2-stroke-1",
5
5
  "importExamples": {
6
6
  "individual": "import { IconHome } from '@central-icons-react-native/round-outlined-radius-2-stroke-1/IconHome';",
@@ -11,7 +11,7 @@
11
11
  "withProps": "<IconHome size={32} color=\"#007AFF\" />",
12
12
  "central": "<CentralIcon name=\"IconHome\" size={24} color=\"currentColor\" />"
13
13
  },
14
- "totalIcons": 1526,
14
+ "totalIcons": 1527,
15
15
  "categories": {
16
16
  "AI & Magic": {
17
17
  "count": 33,
@@ -201,9 +201,10 @@
201
201
  ]
202
202
  },
203
203
  "Building": {
204
- "count": 22,
204
+ "count": 23,
205
205
  "icons": [
206
206
  "IconBank",
207
+ "IconBank2",
207
208
  "IconBlock",
208
209
  "IconBuildings",
209
210
  "IconCourt",
@@ -1877,6 +1878,7 @@
1877
1878
  "IconBalloon": "balloon, birthday",
1878
1879
  "IconBanana": "banana, fruit",
1879
1880
  "IconBank": "bank",
1881
+ "IconBank2": "bank-2, library, gov",
1880
1882
  "IconBanknote1": "banknote-1, money, bill",
1881
1883
  "IconBanknote2": "banknote-2, money, bill",
1882
1884
  "IconBarcode": "barcode, qr code, scan",