@central-icons-react-native/round-filled-radius-3-stroke-2 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.
- package/IconBank2/index.d.ts +4 -0
- package/IconBank2/index.js +2 -0
- package/IconBank2/index.js.map +1 -0
- package/IconBank2/index.mjs +2 -0
- package/IconBank2/index.mjs.map +1 -0
- package/README.md +23 -18
- package/filtered-icons.json +14 -0
- package/icons/index.d.ts +1 -0
- package/icons-index.json +5 -3
- package/index.d.ts +1529 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/index.mjs +2 -0
- package/index.mjs.map +1 -0
- package/license-check.js +1 -1
- package/package.json +9 -1
- package/tsx-icons.json +7 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var s=Object.create;var C=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var B=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var x=(o,r)=>{for(var e in r)C(o,e,{get:r[e],enumerable:!0})},a=(o,r,e,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of v(r))!I.call(o,n)&&n!==e&&C(o,n,{get:()=>r[n],enumerable:!(p=u(r,n))||p.enumerable});return o};var f=(o,r,e)=>(e=o!=null?s(B(o)):{},a(r||!o||!o.__esModule?C(e,"default",{value:o,enumerable:!0}):e,o)),P=o=>a(C({},"__esModule",{value:!0}),o);var V={};x(V,{IconBank2:()=>i,default:()=>g});module.exports=P(V);var t=f(require("react"));var m=f(require("react")),c=require("react-native-svg"),d=({children:o,size:r=24,...e})=>m.default.createElement(c.Svg,{...e,width:typeof r=="number"?`${r}px`:r,height:typeof r=="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none"},o);var l=require("react-native-svg"),i=o=>t.default.createElement(d,{...o},t.default.createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M21 19C21.5523 19 22 19.4478 22 20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20C2.00001 19.4478 2.44772 19 3 19V11H21V19ZM9.5 13.5C8.94772 13.5 8.50001 13.9478 8.5 14.5V19H10.5V14.5C10.5 13.9478 10.0523 13.5 9.5 13.5ZM14.5 13.5C13.9477 13.5 13.5 13.9478 13.5 14.5V19H15.5V14.5C15.5 13.9478 15.0523 13.5 14.5 13.5Z",fill:"currentColor"}),t.default.createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10.375 2.62796C11.4093 2.16829 12.5907 2.16829 13.625 2.62796L20.8662 5.84671C21.5556 6.15315 22 6.83644 22 7.59085C22 8.64522 21.1452 9.50003 20.0908 9.50003H3.90918C2.85481 9.50003 2 8.64522 2 7.59085C2.00001 6.83644 2.44443 6.15315 3.13379 5.84671L10.375 2.62796ZM12 5.50003C11.4477 5.50003 11 5.94774 11 6.50003C11 7.05229 11.4477 7.50003 12 7.50003C12.5523 7.50003 13 7.05229 13 6.50003C13 5.94774 12.5523 5.50003 12 5.50003Z",fill:"currentColor"})),g=i;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 { Path } from \"react-native-svg\";\n\nexport const IconBank2: FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props}>\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M21 19C21.5523 19 22 19.4478 22 20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20C2.00001 19.4478 2.44772 19 3 19V11H21V19ZM9.5 13.5C8.94772 13.5 8.50001 13.9478 8.5 14.5V19H10.5V14.5C10.5 13.9478 10.0523 13.5 9.5 13.5ZM14.5 13.5C13.9477 13.5 13.5 13.9478 13.5 14.5V19H15.5V14.5C15.5 13.9478 15.0523 13.5 14.5 13.5Z\"\n fill=\"currentColor\"\n />\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10.375 2.62796C11.4093 2.16829 12.5907 2.16829 13.625 2.62796L20.8662 5.84671C21.5556 6.15315 22 6.83644 22 7.59085C22 8.64522 21.1452 9.50003 20.0908 9.50003H3.90918C2.85481 9.50003 2 8.64522 2 7.59085C2.00001 6.83644 2.44443 6.15315 3.13379 5.84671L10.375 2.62796ZM12 5.50003C11.4477 5.50003 11 5.94774 11 6.50003C11 7.05229 11.4477 7.50003 12 7.50003C12.5523 7.50003 13 7.05229 13 6.50003C13 5.94774 12.5523 5.50003 12 5.50003Z\"\n fill=\"currentColor\"\n />\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,EAAqB,4BAERC,EAAuCC,GAEhD,EAAAC,QAAA,cAACC,EAAA,CAAiB,GAAGF,GACnB,EAAAC,QAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,uUACF,KAAK,eACP,EACA,EAAAA,QAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,kbACF,KAAK,eACP,CACF,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 e from"react";import l from"react";import{Svg as p}from"react-native-svg";var n=({children:r,size:o=24,...t})=>l.createElement(p,{...t,width:typeof o=="number"?`${o}px`:o,height:typeof o=="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none"},r);import{Path as C}from"react-native-svg";var a=r=>e.createElement(n,{...r},e.createElement(C,{fillRule:"evenodd",clipRule:"evenodd",d:"M21 19C21.5523 19 22 19.4478 22 20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20C2.00001 19.4478 2.44772 19 3 19V11H21V19ZM9.5 13.5C8.94772 13.5 8.50001 13.9478 8.5 14.5V19H10.5V14.5C10.5 13.9478 10.0523 13.5 9.5 13.5ZM14.5 13.5C13.9477 13.5 13.5 13.9478 13.5 14.5V19H15.5V14.5C15.5 13.9478 15.0523 13.5 14.5 13.5Z",fill:"currentColor"}),e.createElement(C,{fillRule:"evenodd",clipRule:"evenodd",d:"M10.375 2.62796C11.4093 2.16829 12.5907 2.16829 13.625 2.62796L20.8662 5.84671C21.5556 6.15315 22 6.83644 22 7.59085C22 8.64522 21.1452 9.50003 20.0908 9.50003H3.90918C2.85481 9.50003 2 8.64522 2 7.59085C2.00001 6.83644 2.44443 6.15315 3.13379 5.84671L10.375 2.62796ZM12 5.50003C11.4477 5.50003 11 5.94774 11 6.50003C11 7.05229 11.4477 7.50003 12 7.50003C12.5523 7.50003 13 7.05229 13 6.50003C13 5.94774 12.5523 5.50003 12 5.50003Z",fill:"currentColor"})),I=a;export{a as IconBank2,I 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 { Path } from \"react-native-svg\";\n\nexport const IconBank2: FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props}>\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M21 19C21.5523 19 22 19.4478 22 20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20C2.00001 19.4478 2.44772 19 3 19V11H21V19ZM9.5 13.5C8.94772 13.5 8.50001 13.9478 8.5 14.5V19H10.5V14.5C10.5 13.9478 10.0523 13.5 9.5 13.5ZM14.5 13.5C13.9477 13.5 13.5 13.9478 13.5 14.5V19H15.5V14.5C15.5 13.9478 15.0523 13.5 14.5 13.5Z\"\n fill=\"currentColor\"\n />\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10.375 2.62796C11.4093 2.16829 12.5907 2.16829 13.625 2.62796L20.8662 5.84671C21.5556 6.15315 22 6.83644 22 7.59085C22 8.64522 21.1452 9.50003 20.0908 9.50003H3.90918C2.85481 9.50003 2 8.64522 2 7.59085C2.00001 6.83644 2.44443 6.15315 3.13379 5.84671L10.375 2.62796ZM12 5.50003C11.4477 5.50003 11 5.94774 11 6.50003C11 7.05229 11.4477 7.50003 12 7.50003C12.5523 7.50003 13 7.05229 13 6.50003C13 5.94774 12.5523 5.50003 12 5.50003Z\"\n fill=\"currentColor\"\n />\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,QAAAG,MAAY,mBAEd,IAAMC,EAAuCC,GAEhDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,GACnBC,EAAA,cAACH,EAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,uUACF,KAAK,eACP,EACAG,EAAA,cAACH,EAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,kbACF,KAAK,eACP,CACF,EAIGK,EAAQJ","names":["React","React","Svg","CentralIconBase","children","size","props","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-filled-radius-3-
|
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
```jsx
|
|
29
|
-
import { IconHome } from "central-icons
|
|
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-filled-radius-3-stroke-2
|
|
|
56
56
|
|
|
57
57
|
## Usage
|
|
58
58
|
|
|
59
|
-
###
|
|
59
|
+
### Direct Import (Recommended)
|
|
60
60
|
|
|
61
|
-
Icons can be imported
|
|
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-filled-radius-3-stroke-2
|
|
64
|
+
import { IconHome } from "@central-icons-react-native/round-filled-radius-3-stroke-2";
|
|
65
65
|
|
|
66
66
|
function MyComponent() {
|
|
67
67
|
return <IconHome />;
|
|
68
68
|
}
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
|
|
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-filled-radius-3-stroke-2
|
|
78
75
|
```
|
|
79
76
|
|
|
80
77
|
```jsx
|
|
81
|
-
import { IconHome } from "central-icons
|
|
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-filled-radius-3-stroke-2/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
|
|
93
|
-
|
|
|
94
|
-
| `size`
|
|
95
|
-
| `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
|
package/filtered-icons.json
CHANGED
|
@@ -2254,6 +2254,20 @@
|
|
|
2254
2254
|
"packageName": "round-filled-radius-3-stroke-2",
|
|
2255
2255
|
"componentName": "IconBank"
|
|
2256
2256
|
},
|
|
2257
|
+
{
|
|
2258
|
+
"category": "Building",
|
|
2259
|
+
"svg": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M21 19C21.5523 19 22 19.4478 22 20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20C2.00001 19.4478 2.44772 19 3 19V11H21V19ZM9.5 13.5C8.94772 13.5 8.50001 13.9478 8.5 14.5V19H10.5V14.5C10.5 13.9478 10.0523 13.5 9.5 13.5ZM14.5 13.5C13.9477 13.5 13.5 13.9478 13.5 14.5V19H15.5V14.5C15.5 13.9478 15.0523 13.5 14.5 13.5Z\" fill=\"currentColor\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10.375 2.62796C11.4093 2.16829 12.5907 2.16829 13.625 2.62796L20.8662 5.84671C21.5556 6.15315 22 6.83644 22 7.59085C22 8.64522 21.1452 9.50003 20.0908 9.50003H3.90918C2.85481 9.50003 2 8.64522 2 7.59085C2.00001 6.83644 2.44443 6.15315 3.13379 5.84671L10.375 2.62796ZM12 5.50003C11.4477 5.50003 11 5.94774 11 6.50003C11 7.05229 11.4477 7.50003 12 7.50003C12.5523 7.50003 13 7.05229 13 6.50003C13 5.94774 12.5523 5.50003 12 5.50003Z\" fill=\"currentColor\"/>",
|
|
2260
|
+
"iconName": "bank-2, library, gov",
|
|
2261
|
+
"variant": {
|
|
2262
|
+
"join": "round",
|
|
2263
|
+
"filled": "on",
|
|
2264
|
+
"radius": "3",
|
|
2265
|
+
"stroke": "2"
|
|
2266
|
+
},
|
|
2267
|
+
"createdAt": "2025-09-11T14:00:28.984037+00:00",
|
|
2268
|
+
"packageName": "round-filled-radius-3-stroke-2",
|
|
2269
|
+
"componentName": "IconBank2"
|
|
2270
|
+
},
|
|
2257
2271
|
{
|
|
2258
2272
|
"category": "Shopping & Payment",
|
|
2259
2273
|
"svg": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1 8C1 5.79086 2.79086 4 5 4H19C21.2091 4 23 5.79086 23 8V16C23 18.2091 21.2091 20 19 20H5C2.79086 20 1 18.2091 1 16V8ZM4 6C3.44772 6 3 6.44772 3 7C3 7.55228 3.44772 8 4 8H5C5.55228 8 6 7.55228 6 7C6 6.44772 5.55228 6 5 6H4ZM12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5ZM19 16C18.4477 16 18 16.4477 18 17C18 17.5523 18.4477 18 19 18H20C20.5523 18 21 17.5523 21 17C21 16.4477 20.5523 16 20 16H19Z\" fill=\"currentColor\"/>",
|
package/icons/index.d.ts
CHANGED
package/icons-index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@central-icons-react-native/round-filled-radius-3-stroke-2",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"style": "round-filled-radius-3-stroke-2",
|
|
5
5
|
"importExamples": {
|
|
6
6
|
"individual": "import { IconHome } from '@central-icons-react-native/round-filled-radius-3-stroke-2/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":
|
|
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":
|
|
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",
|